@mergeapi/merge-node-client 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +6 -6
- package/api/resources/accounting/client/Client.d.ts +6 -0
- package/api/resources/accounting/client/Client.js +32 -22
- package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
- package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/accounts/client/Client.js +12 -6
- package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/addresses/client/Client.js +5 -2
- package/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
- package/api/resources/accounting/resources/attachments/client/Client.js +8 -5
- package/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
- package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +8 -5
- package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +8 -5
- package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
- package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
- package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/contacts/client/Client.js +9 -6
- package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +8 -5
- package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/accounting/resources/employees/client/Client.js +6 -3
- package/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/expenses/client/Client.js +10 -7
- package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +6 -3
- package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
- package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/index.d.ts +4 -0
- package/api/resources/accounting/resources/index.js +5 -1
- package/api/resources/accounting/resources/invoices/client/Client.js +12 -9
- package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +2049 -1
- package/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
- package/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +2049 -1
- package/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
- package/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/api/resources/accounting/resources/items/client/Client.js +6 -3
- package/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.js +10 -7
- package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +53 -0
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +193 -0
- package/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/paymentMethods/client/index.js +17 -0
- package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +29 -0
- package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +17 -0
- package/api/resources/accounting/resources/paymentMethods/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/paymentMethods/client/requests/index.js +2 -0
- package/api/resources/accounting/resources/paymentMethods/index.d.ts +1 -0
- package/api/resources/accounting/resources/paymentMethods/index.js +17 -0
- package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +53 -0
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +199 -0
- package/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/paymentTerms/client/index.js +17 -0
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +33 -0
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.js +5 -0
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +21 -0
- package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.js +5 -0
- package/api/resources/accounting/resources/paymentTerms/client/requests/index.d.ts +2 -0
- package/api/resources/accounting/resources/paymentTerms/client/requests/index.js +2 -0
- package/api/resources/accounting/resources/paymentTerms/index.d.ts +1 -0
- package/api/resources/accounting/resources/paymentTerms/index.js +17 -0
- package/api/resources/accounting/resources/payments/client/Client.js +12 -9
- package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +65 -1
- package/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
- package/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +65 -1
- package/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +5 -2
- package/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +10 -7
- package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +65 -1
- package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
- package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +65 -1
- package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/accounting/resources/scopes/client/Client.js +3 -3
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/accounting/resources/taxRates/client/Client.js +10 -4
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +10 -4
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +4 -0
- package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/transactions/client/Client.js +6 -3
- package/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -5
- package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +4 -0
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/accounting/types/AccountToken.d.ts +1 -0
- package/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/accounting/types/EventTypeEnum.js +1 -0
- package/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
- package/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -1
- package/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +5 -0
- package/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +5 -0
- package/api/resources/accounting/types/Invoice.d.ts +2 -0
- package/api/resources/accounting/types/InvoicePaymentTerm.d.ts +8 -0
- package/api/resources/accounting/types/InvoicePaymentTerm.js +5 -0
- package/api/resources/accounting/types/InvoiceRequest.d.ts +2 -0
- package/api/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +8 -0
- package/api/resources/accounting/types/InvoiceRequestPaymentTerm.js +5 -0
- package/api/resources/accounting/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
- package/api/resources/{crm/types/SyncStatusStatusEnum.js → accounting/types/LastSyncResultEnum.js} +2 -2
- package/api/resources/accounting/types/MethodTypeEnum.d.ts +18 -0
- package/api/resources/accounting/types/MethodTypeEnum.js +13 -0
- package/api/resources/accounting/types/PaginatedPaymentMethodList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedPaymentMethodList.js +5 -0
- package/api/resources/accounting/types/PaginatedPaymentTermList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedPaymentTermList.js +5 -0
- package/api/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
- package/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +8 -0
- package/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +5 -0
- package/api/resources/accounting/types/Payment.d.ts +2 -0
- package/api/resources/accounting/types/PaymentMethod.d.ts +42 -0
- package/api/resources/accounting/types/PaymentMethod.js +5 -0
- package/api/resources/accounting/types/PaymentMethodMethodType.d.ts +14 -0
- package/api/resources/accounting/types/PaymentMethodMethodType.js +5 -0
- package/api/resources/accounting/types/PaymentPaymentMethod.d.ts +8 -0
- package/api/resources/accounting/types/PaymentPaymentMethod.js +5 -0
- package/api/resources/accounting/types/PaymentRequest.d.ts +2 -0
- package/api/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +8 -0
- package/api/resources/accounting/types/PaymentRequestPaymentMethod.js +5 -0
- package/api/resources/accounting/types/PaymentTerm.d.ts +39 -0
- package/api/resources/accounting/types/PaymentTerm.js +5 -0
- package/api/resources/accounting/types/PaymentTermCompany.d.ts +8 -0
- package/api/resources/accounting/types/PaymentTermCompany.js +5 -0
- package/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/api/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +8 -0
- package/api/resources/accounting/types/PurchaseOrderPaymentTerm.js +5 -0
- package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
- package/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +8 -0
- package/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +5 -0
- package/api/resources/accounting/types/RemoteField.d.ts +1 -1
- package/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
- package/api/resources/{crm/types/SyncStatusStatusEnum.d.ts → accounting/types/StatusFd5Enum.d.ts} +2 -2
- package/api/resources/accounting/types/{SyncStatusStatusEnum.js → StatusFd5Enum.js} +2 -2
- package/api/resources/accounting/types/SyncStatus.d.ts +3 -1
- package/api/resources/accounting/types/index.d.ts +17 -1
- package/api/resources/accounting/types/index.js +17 -1
- package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ats/resources/activities/client/Client.js +8 -5
- package/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/applications/client/Client.js +9 -6
- package/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ats/resources/attachments/client/Client.js +8 -5
- package/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ats/resources/candidates/client/Client.js +11 -8
- package/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ats/resources/departments/client/Client.js +6 -3
- package/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/eeocs/client/Client.js +6 -3
- package/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/ats/resources/forceResync/client/Client.js +2 -2
- package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/interviews/client/Client.js +8 -5
- package/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +6 -3
- package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/jobPostings/client/Client.js +6 -3
- package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/jobs/client/Client.js +7 -4
- package/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ats/resources/offers/client/Client.js +6 -3
- package/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/offices/client/Client.js +6 -3
- package/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ats/resources/rejectReasons/client/Client.js +6 -3
- package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/scopes/client/Client.js +3 -3
- package/api/resources/ats/resources/scorecards/client/Client.js +6 -3
- package/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/api/resources/ats/resources/users/client/Client.js +6 -3
- package/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/ats/types/AccountToken.d.ts +1 -0
- package/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/ats/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/ats/types/EventTypeEnum.js +1 -0
- package/api/resources/ats/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
- package/api/resources/{filestorage/types/SyncStatusStatusEnum.js → ats/types/LastSyncResultEnum.js} +2 -2
- package/api/resources/{filestorage/types/SyncStatusStatusEnum.d.ts → ats/types/StatusFd5Enum.d.ts} +2 -2
- package/api/resources/ats/types/{SyncStatusStatusEnum.js → StatusFd5Enum.js} +2 -2
- package/api/resources/ats/types/SyncStatus.d.ts +3 -1
- package/api/resources/ats/types/index.d.ts +2 -1
- package/api/resources/ats/types/index.js +2 -1
- package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/api/resources/crm/resources/accounts/client/Client.js +11 -8
- package/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/associationTypes/client/Client.js +8 -5
- package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/api/resources/crm/resources/contacts/client/Client.js +12 -9
- package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +6 -3
- package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/customObjects/client/Client.js +9 -6
- package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/crm/resources/engagementTypes/client/Client.js +7 -4
- package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/engagements/client/Client.js +11 -8
- package/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/crm/resources/forceResync/client/Client.js +2 -2
- package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/api/resources/crm/resources/leads/client/Client.js +9 -6
- package/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/crm/resources/notes/client/Client.js +9 -6
- package/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/opportunities/client/Client.js +11 -8
- package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/crm/resources/scopes/client/Client.js +3 -3
- package/api/resources/crm/resources/stages/client/Client.js +7 -4
- package/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/crm/resources/tasks/client/Client.js +11 -8
- package/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/users/client/Client.js +8 -5
- package/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/crm/types/AccountToken.d.ts +1 -0
- package/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/crm/types/EventTypeEnum.js +1 -0
- package/api/resources/crm/types/LastSyncResultEnum.d.ts +20 -0
- package/api/resources/crm/types/LastSyncResultEnum.js +14 -0
- package/api/resources/crm/types/RemoteField.d.ts +1 -1
- package/api/resources/crm/types/StatusFd5Enum.d.ts +20 -0
- package/api/resources/crm/types/StatusFd5Enum.js +14 -0
- package/api/resources/crm/types/SyncStatus.d.ts +3 -1
- package/{dist/api/resources/ticketing/types/CollectionTeamsItem.d.ts → api/resources/crm/types/SyncStatusLastSyncResult.d.ts} +1 -1
- package/api/resources/crm/types/SyncStatusLastSyncResult.js +5 -0
- package/api/resources/crm/types/index.d.ts +3 -1
- package/api/resources/crm/types/index.js +3 -1
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/filestorage/resources/drives/client/Client.js +6 -3
- package/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/filestorage/resources/files/client/Client.d.ts +21 -0
- package/api/resources/filestorage/resources/files/client/Client.js +143 -7
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +25 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.js +5 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +13 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.js +5 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +5 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/files/client/requests/index.d.ts +2 -0
- package/api/resources/filestorage/resources/folders/client/Client.js +8 -5
- package/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/filestorage/resources/forceResync/client/Client.js +2 -2
- package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/groups/client/Client.js +6 -3
- package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
- package/api/resources/filestorage/resources/users/client/Client.js +6 -3
- package/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/filestorage/types/AccountToken.d.ts +1 -0
- package/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/filestorage/types/DownloadRequestMeta.d.ts +10 -0
- package/api/resources/filestorage/types/DownloadRequestMeta.js +5 -0
- package/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/api/resources/filestorage/types/LastSyncResultEnum.d.ts +20 -0
- package/api/resources/filestorage/types/LastSyncResultEnum.js +14 -0
- package/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +9 -0
- package/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +5 -0
- package/api/resources/filestorage/types/StatusFd5Enum.d.ts +20 -0
- package/api/resources/filestorage/types/StatusFd5Enum.js +14 -0
- package/api/resources/filestorage/types/SyncStatus.d.ts +3 -1
- package/api/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/api/resources/filestorage/types/SyncStatusLastSyncResult.js +5 -0
- package/api/resources/filestorage/types/index.d.ts +5 -1
- package/api/resources/filestorage/types/index.js +5 -1
- package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/api/resources/hris/resources/bankInfo/client/Client.js +6 -3
- package/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/benefits/client/Client.js +6 -3
- package/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/companies/client/Client.js +6 -3
- package/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/hris/resources/dependents/client/Client.js +6 -3
- package/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +6 -3
- package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/employees/client/Client.js +9 -6
- package/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.js +6 -3
- package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/employments/client/Client.js +6 -3
- package/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/hris/resources/forceResync/client/Client.js +2 -2
- package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/groups/client/Client.js +6 -3
- package/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/hris/resources/locations/client/Client.js +6 -3
- package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/api/resources/hris/resources/payGroups/client/Client.js +6 -3
- package/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/payrollRuns/client/Client.js +6 -3
- package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/hris/resources/scopes/client/Client.js +3 -3
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/hris/resources/teams/client/Client.js +6 -3
- package/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/timeOff/client/Client.js +8 -5
- package/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +6 -3
- package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +8 -5
- package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/hris/types/AccountToken.d.ts +1 -0
- package/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/hris/types/EventTypeEnum.js +1 -0
- package/api/resources/hris/types/Group.d.ts +2 -2
- package/api/resources/hris/types/LastSyncResultEnum.d.ts +20 -0
- package/api/resources/hris/types/LastSyncResultEnum.js +14 -0
- package/api/resources/hris/types/StatusFd5Enum.d.ts +20 -0
- package/api/resources/hris/types/StatusFd5Enum.js +14 -0
- package/api/resources/hris/types/SyncStatus.d.ts +3 -1
- package/api/resources/hris/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/api/resources/hris/types/SyncStatusLastSyncResult.js +5 -0
- package/api/resources/hris/types/index.d.ts +3 -1
- package/api/resources/hris/types/index.js +3 -1
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/accounts/client/Client.js +6 -3
- package/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/api/resources/ticketing/resources/attachments/client/Client.js +13 -7
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +5 -0
- package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +11 -0
- package/api/resources/ticketing/resources/collections/client/Client.js +82 -3
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +1 -2
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -2
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +34 -0
- package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.js +5 -0
- package/api/resources/ticketing/resources/collections/client/requests/index.d.ts +1 -0
- package/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +9 -0
- package/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.js +11 -0
- package/api/resources/ticketing/resources/collections/types/index.d.ts +1 -2
- package/api/resources/ticketing/resources/collections/types/index.js +1 -2
- package/api/resources/ticketing/resources/comments/client/Client.js +8 -5
- package/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/contacts/client/Client.js +8 -5
- package/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
- package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -1
- package/api/resources/ticketing/resources/forceResync/client/Client.js +2 -2
- package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/api/resources/ticketing/resources/projects/client/Client.js +7 -4
- package/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/api/resources/ticketing/resources/roles/client/Client.js +6 -3
- package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
- package/api/resources/ticketing/resources/tags/client/Client.js +6 -3
- package/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/teams/client/Client.js +6 -3
- package/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -1
- package/api/resources/ticketing/resources/tickets/client/Client.js +13 -10
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/users/client/Client.js +10 -4
- package/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/api/resources/ticketing/types/AccountToken.d.ts +1 -0
- package/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
- package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
- package/api/resources/ticketing/types/Collection.d.ts +0 -1
- package/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
- package/api/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/api/resources/ticketing/types/LastSyncResultEnum.d.ts +20 -0
- package/api/resources/ticketing/types/LastSyncResultEnum.js +14 -0
- package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
- package/api/resources/ticketing/types/RemoteField.d.ts +1 -1
- package/api/resources/ticketing/types/StatusFd5Enum.d.ts +20 -0
- package/api/resources/ticketing/types/StatusFd5Enum.js +14 -0
- package/api/resources/ticketing/types/SyncStatus.d.ts +3 -1
- package/api/resources/ticketing/types/Ticket.d.ts +2 -2
- package/api/resources/ticketing/types/TicketRequest.d.ts +2 -2
- package/api/resources/ticketing/types/index.d.ts +2 -2
- package/api/resources/ticketing/types/index.js +2 -2
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +6 -6
- package/dist/api/resources/accounting/client/Client.d.ts +6 -0
- package/dist/api/resources/accounting/client/Client.js +32 -22
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +12 -6
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +5 -2
- package/dist/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +9 -6
- package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/employees/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +10 -7
- package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/index.d.ts +4 -0
- package/dist/api/resources/accounting/resources/index.js +5 -1
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +12 -9
- package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +2049 -1
- package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
- package/dist/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +2049 -1
- package/dist/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/items/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +10 -7
- package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +53 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +193 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/index.js +17 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +29 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +17 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.js +5 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/requests/index.js +2 -0
- package/dist/api/resources/accounting/resources/paymentMethods/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/paymentMethods/index.js +17 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +53 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +199 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/index.js +17 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +33 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +21 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.js +5 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/requests/index.js +2 -0
- package/dist/api/resources/accounting/resources/paymentTerms/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/paymentTerms/index.js +17 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.js +12 -9
- package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +65 -1
- package/dist/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
- package/dist/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +65 -1
- package/dist/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +5 -2
- package/dist/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +10 -7
- package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +65 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +65 -1
- package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +10 -4
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +10 -4
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +6 -3
- package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -5
- package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/accounting/types/AccountToken.d.ts +1 -0
- package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/accounting/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
- package/dist/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -1
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +5 -0
- package/dist/api/resources/accounting/types/Invoice.d.ts +2 -0
- package/dist/api/resources/accounting/types/InvoicePaymentTerm.d.ts +8 -0
- package/dist/api/resources/accounting/types/InvoicePaymentTerm.js +5 -0
- package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +2 -0
- package/dist/api/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +8 -0
- package/dist/api/resources/accounting/types/InvoiceRequestPaymentTerm.js +5 -0
- package/dist/api/resources/accounting/types/LastSyncResultEnum.d.ts +20 -0
- package/dist/api/resources/accounting/types/LastSyncResultEnum.js +14 -0
- package/dist/api/resources/accounting/types/MethodTypeEnum.d.ts +18 -0
- package/dist/api/resources/accounting/types/MethodTypeEnum.js +13 -0
- package/dist/api/resources/accounting/types/PaginatedPaymentMethodList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedPaymentMethodList.js +5 -0
- package/dist/api/resources/accounting/types/PaginatedPaymentTermList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedPaymentTermList.js +5 -0
- package/dist/api/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
- package/dist/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +8 -0
- package/dist/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +5 -0
- package/dist/api/resources/accounting/types/Payment.d.ts +2 -0
- package/dist/api/resources/accounting/types/PaymentMethod.d.ts +42 -0
- package/dist/api/resources/accounting/types/PaymentMethod.js +5 -0
- package/dist/api/resources/accounting/types/PaymentMethodMethodType.d.ts +14 -0
- package/dist/api/resources/accounting/types/PaymentMethodMethodType.js +5 -0
- package/dist/api/resources/accounting/types/PaymentPaymentMethod.d.ts +8 -0
- package/dist/api/resources/accounting/types/PaymentPaymentMethod.js +5 -0
- package/dist/api/resources/accounting/types/PaymentRequest.d.ts +2 -0
- package/dist/api/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +8 -0
- package/dist/api/resources/accounting/types/PaymentRequestPaymentMethod.js +5 -0
- package/dist/api/resources/accounting/types/PaymentTerm.d.ts +39 -0
- package/dist/api/resources/accounting/types/PaymentTerm.js +5 -0
- package/dist/api/resources/accounting/types/PaymentTermCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/PaymentTermCompany.js +5 -0
- package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/dist/api/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +8 -0
- package/dist/api/resources/accounting/types/PurchaseOrderPaymentTerm.js +5 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +8 -0
- package/dist/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +5 -0
- package/dist/api/resources/accounting/types/RemoteField.d.ts +1 -1
- package/dist/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
- package/dist/api/resources/accounting/types/StatusFd5Enum.d.ts +20 -0
- package/dist/api/resources/accounting/types/StatusFd5Enum.js +14 -0
- package/dist/api/resources/accounting/types/SyncStatus.d.ts +3 -1
- package/dist/api/resources/accounting/types/index.d.ts +17 -1
- package/dist/api/resources/accounting/types/index.js +17 -1
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/activities/client/Client.js +8 -5
- package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/applications/client/Client.js +9 -6
- package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/attachments/client/Client.js +8 -5
- package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/candidates/client/Client.js +11 -8
- package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/departments/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/interviews/client/Client.js +8 -5
- package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/jobs/client/Client.js +7 -4
- package/dist/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/offers/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/offices/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/ats/resources/users/client/Client.js +6 -3
- package/dist/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/ats/types/AccountToken.d.ts +1 -0
- package/dist/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/ats/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/ats/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/ats/types/LastSyncResultEnum.d.ts +20 -0
- package/dist/api/resources/ats/types/LastSyncResultEnum.js +14 -0
- package/dist/api/resources/ats/types/StatusFd5Enum.d.ts +20 -0
- package/dist/api/resources/ats/types/StatusFd5Enum.js +14 -0
- package/dist/api/resources/ats/types/SyncStatus.d.ts +3 -1
- package/dist/api/resources/ats/types/index.d.ts +2 -1
- package/dist/api/resources/ats/types/index.js +2 -1
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/accounts/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +8 -5
- package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/contacts/client/Client.js +12 -9
- package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +6 -3
- package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +7 -4
- package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/crm/resources/leads/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/notes/client/Client.js +9 -6
- package/dist/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/crm/resources/stages/client/Client.js +7 -4
- package/dist/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/crm/resources/tasks/client/Client.js +11 -8
- package/dist/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/users/client/Client.js +8 -5
- package/dist/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/crm/types/AccountToken.d.ts +1 -0
- package/dist/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/crm/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/crm/types/LastSyncResultEnum.d.ts +20 -0
- package/dist/api/resources/crm/types/LastSyncResultEnum.js +14 -0
- package/dist/api/resources/crm/types/RemoteField.d.ts +1 -1
- package/dist/api/resources/crm/types/StatusFd5Enum.d.ts +20 -0
- package/dist/api/resources/crm/types/StatusFd5Enum.js +14 -0
- package/dist/api/resources/crm/types/SyncStatus.d.ts +3 -1
- package/{api/resources/ticketing/types/CollectionTeamsItem.d.ts → dist/api/resources/crm/types/SyncStatusLastSyncResult.d.ts} +1 -1
- package/dist/api/resources/crm/types/SyncStatusLastSyncResult.js +5 -0
- package/dist/api/resources/crm/types/index.d.ts +3 -1
- package/dist/api/resources/crm/types/index.js +3 -1
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +6 -3
- package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +21 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.js +143 -7
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +25 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.js +5 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +13 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.js +5 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +5 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/index.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +8 -5
- package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +6 -3
- package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
- package/dist/api/resources/filestorage/resources/users/client/Client.js +6 -3
- package/dist/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/filestorage/types/AccountToken.d.ts +1 -0
- package/dist/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/filestorage/types/DownloadRequestMeta.d.ts +10 -0
- package/dist/api/resources/filestorage/types/DownloadRequestMeta.js +5 -0
- package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/filestorage/types/LastSyncResultEnum.d.ts +20 -0
- package/dist/api/resources/filestorage/types/LastSyncResultEnum.js +14 -0
- package/dist/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +9 -0
- package/dist/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +5 -0
- package/dist/api/resources/filestorage/types/StatusFd5Enum.d.ts +20 -0
- package/dist/api/resources/filestorage/types/StatusFd5Enum.js +14 -0
- package/dist/api/resources/filestorage/types/SyncStatus.d.ts +3 -1
- package/dist/api/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/dist/api/resources/filestorage/types/SyncStatusLastSyncResult.js +5 -0
- package/dist/api/resources/filestorage/types/index.d.ts +5 -1
- package/dist/api/resources/filestorage/types/index.js +5 -1
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/benefits/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/companies/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/dependents/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/employees/client/Client.js +9 -6
- package/dist/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/employments/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/groups/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/locations/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/hris/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/hris/resources/teams/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +8 -5
- package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +6 -3
- package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +8 -5
- package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/hris/types/AccountToken.d.ts +1 -0
- package/dist/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/hris/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/hris/types/Group.d.ts +2 -2
- package/dist/api/resources/hris/types/LastSyncResultEnum.d.ts +20 -0
- package/dist/api/resources/hris/types/LastSyncResultEnum.js +14 -0
- package/dist/api/resources/hris/types/StatusFd5Enum.d.ts +20 -0
- package/dist/api/resources/hris/types/StatusFd5Enum.js +14 -0
- package/dist/api/resources/hris/types/SyncStatus.d.ts +3 -1
- package/dist/api/resources/hris/types/SyncStatusLastSyncResult.d.ts +5 -0
- package/dist/api/resources/hris/types/SyncStatusLastSyncResult.js +5 -0
- package/dist/api/resources/hris/types/index.d.ts +3 -1
- package/dist/api/resources/hris/types/index.js +3 -1
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +6 -3
- package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +13 -7
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +5 -0
- package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +11 -0
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +82 -3
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +1 -2
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -2
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +34 -0
- package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.js +5 -0
- package/dist/api/resources/ticketing/resources/collections/client/requests/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +9 -0
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.js +11 -0
- package/dist/api/resources/ticketing/resources/collections/types/index.d.ts +1 -2
- package/dist/api/resources/ticketing/resources/collections/types/index.js +1 -2
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +8 -5
- package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +8 -5
- package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +7 -4
- package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +6 -3
- package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +6 -3
- package/dist/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +6 -3
- package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -1
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +13 -10
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.js +10 -4
- package/dist/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
- package/dist/api/resources/ticketing/types/AccountToken.d.ts +1 -0
- package/dist/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
- package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
- package/dist/api/resources/ticketing/types/Collection.d.ts +0 -1
- package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
- package/dist/api/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/ticketing/types/LastSyncResultEnum.d.ts +20 -0
- package/dist/api/resources/ticketing/types/LastSyncResultEnum.js +14 -0
- package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
- package/dist/api/resources/ticketing/types/RemoteField.d.ts +1 -1
- package/dist/api/resources/ticketing/types/StatusFd5Enum.d.ts +20 -0
- package/dist/api/resources/ticketing/types/StatusFd5Enum.js +14 -0
- package/dist/api/resources/ticketing/types/SyncStatus.d.ts +3 -1
- package/dist/api/resources/ticketing/types/Ticket.d.ts +2 -2
- package/dist/api/resources/ticketing/types/TicketRequest.d.ts +2 -2
- package/dist/api/resources/ticketing/types/index.d.ts +2 -2
- package/dist/api/resources/ticketing/types/index.js +2 -2
- package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
- package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
- package/dist/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
- package/dist/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
- package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
- package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
- package/dist/serialization/resources/accounting/types/AccountToken.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/AccountToken.js +1 -0
- package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +2 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +2 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -2
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -2
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +32 -0
- package/dist/serialization/resources/accounting/types/Invoice.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Invoice.js +2 -0
- package/dist/serialization/resources/accounting/types/InvoicePaymentTerm.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/InvoicePaymentTerm.js +32 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.js +32 -0
- package/dist/serialization/resources/accounting/types/LastSyncResultEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/{SyncStatusStatusEnum.js → LastSyncResultEnum.js} +2 -2
- package/dist/serialization/resources/accounting/types/MethodTypeEnum.d.ts +10 -0
- package/dist/serialization/resources/{ats/types/SyncStatusStatusEnum.js → accounting/types/MethodTypeEnum.js} +2 -2
- package/dist/serialization/resources/accounting/types/PaginatedPaymentMethodList.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/PaginatedPaymentMethodList.js +36 -0
- package/dist/serialization/resources/accounting/types/PaginatedPaymentTermList.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/PaginatedPaymentTermList.js +36 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +32 -0
- package/dist/serialization/resources/accounting/types/Payment.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Payment.js +2 -0
- package/dist/serialization/resources/accounting/types/PaymentMethod.d.ts +23 -0
- package/dist/serialization/resources/accounting/types/PaymentMethod.js +44 -0
- package/dist/serialization/resources/accounting/types/PaymentMethodMethodType.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PaymentMethodMethodType.js +32 -0
- package/dist/serialization/resources/accounting/types/PaymentPaymentMethod.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PaymentPaymentMethod.js +32 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/PaymentRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PaymentRequestPaymentMethod.js +32 -0
- package/dist/serialization/resources/accounting/types/PaymentTerm.d.ts +25 -0
- package/dist/serialization/resources/accounting/types/PaymentTerm.js +46 -0
- package/dist/serialization/resources/accounting/types/PaymentTermCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PaymentTermCompany.js +32 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrder.js +2 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.js +32 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +2 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +32 -0
- package/dist/serialization/resources/accounting/types/RemoteField.d.ts +1 -1
- package/dist/serialization/resources/accounting/types/RemoteField.js +1 -1
- package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.js +2 -0
- package/{serialization/resources/ats/types/SyncStatusStatusEnum.d.ts → dist/serialization/resources/accounting/types/StatusFd5Enum.d.ts} +2 -2
- package/dist/serialization/resources/{crm/types/SyncStatusStatusEnum.js → accounting/types/StatusFd5Enum.js} +2 -2
- package/dist/serialization/resources/accounting/types/SyncStatus.d.ts +5 -2
- package/dist/serialization/resources/accounting/types/SyncStatus.js +5 -2
- package/dist/serialization/resources/accounting/types/index.d.ts +17 -1
- package/dist/serialization/resources/accounting/types/index.js +17 -1
- package/dist/serialization/resources/ats/types/AccountToken.d.ts +1 -0
- package/dist/serialization/resources/ats/types/AccountToken.js +1 -0
- package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ats/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/ats/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
- package/dist/serialization/resources/{filestorage/types/SyncStatusStatusEnum.js → ats/types/LastSyncResultEnum.js} +2 -2
- package/dist/serialization/resources/{crm/types/SyncStatusStatusEnum.d.ts → ats/types/StatusFd5Enum.d.ts} +2 -2
- package/dist/serialization/resources/ats/types/StatusFd5Enum.js +31 -0
- package/dist/serialization/resources/ats/types/SyncStatus.d.ts +5 -2
- package/dist/serialization/resources/ats/types/SyncStatus.js +5 -2
- package/dist/serialization/resources/ats/types/index.d.ts +2 -1
- package/dist/serialization/resources/ats/types/index.js +2 -1
- package/dist/serialization/resources/crm/types/AccountToken.d.ts +1 -0
- package/dist/serialization/resources/crm/types/AccountToken.js +1 -0
- package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/crm/types/EventTypeEnum.js +1 -0
- package/{serialization/resources/crm/types/SyncStatusStatusEnum.d.ts → dist/serialization/resources/crm/types/LastSyncResultEnum.d.ts} +2 -2
- package/dist/serialization/resources/crm/types/LastSyncResultEnum.js +31 -0
- package/dist/serialization/resources/crm/types/RemoteField.d.ts +1 -1
- package/dist/serialization/resources/crm/types/RemoteField.js +1 -1
- package/dist/serialization/resources/crm/types/StatusFd5Enum.d.ts +10 -0
- package/dist/serialization/resources/crm/types/StatusFd5Enum.js +31 -0
- package/dist/serialization/resources/crm/types/SyncStatus.d.ts +5 -2
- package/dist/serialization/resources/crm/types/SyncStatus.js +5 -2
- package/dist/serialization/resources/crm/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/dist/serialization/resources/crm/types/SyncStatusLastSyncResult.js +32 -0
- package/dist/serialization/resources/crm/types/index.d.ts +3 -1
- package/dist/serialization/resources/crm/types/index.js +3 -1
- package/dist/serialization/resources/filestorage/types/AccountToken.d.ts +1 -0
- package/dist/serialization/resources/filestorage/types/AccountToken.js +1 -0
- package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +16 -0
- package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.js +37 -0
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/filestorage/types/LastSyncResultEnum.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/LastSyncResultEnum.js +31 -0
- package/dist/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +15 -0
- package/dist/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +36 -0
- package/dist/serialization/resources/filestorage/types/StatusFd5Enum.d.ts +10 -0
- package/dist/serialization/resources/filestorage/types/StatusFd5Enum.js +31 -0
- package/dist/serialization/resources/filestorage/types/SyncStatus.d.ts +5 -2
- package/dist/serialization/resources/filestorage/types/SyncStatus.js +5 -2
- package/dist/serialization/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/dist/serialization/resources/filestorage/types/SyncStatusLastSyncResult.js +32 -0
- package/dist/serialization/resources/filestorage/types/index.d.ts +5 -1
- package/dist/serialization/resources/filestorage/types/index.js +5 -1
- package/dist/serialization/resources/hris/types/AccountToken.d.ts +1 -0
- package/dist/serialization/resources/hris/types/AccountToken.js +1 -0
- package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/hris/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/hris/types/Group.d.ts +1 -1
- package/dist/serialization/resources/hris/types/Group.js +1 -1
- package/dist/serialization/resources/hris/types/LastSyncResultEnum.d.ts +10 -0
- package/dist/serialization/resources/hris/types/LastSyncResultEnum.js +31 -0
- package/dist/serialization/resources/hris/types/StatusFd5Enum.d.ts +10 -0
- package/dist/serialization/resources/hris/types/StatusFd5Enum.js +31 -0
- package/dist/serialization/resources/hris/types/SyncStatus.d.ts +5 -2
- package/dist/serialization/resources/hris/types/SyncStatus.js +5 -2
- package/dist/serialization/resources/hris/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/dist/serialization/resources/hris/types/SyncStatusLastSyncResult.js +32 -0
- package/dist/serialization/resources/hris/types/index.d.ts +3 -1
- package/dist/serialization/resources/hris/types/index.js +3 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/ticketing/resources/collections/types/{CollectionsListRequestExpand.js → CollectionsViewersListRequestExpand.js} +2 -2
- package/dist/serialization/resources/ticketing/resources/collections/types/index.d.ts +1 -2
- package/dist/serialization/resources/ticketing/resources/collections/types/index.js +1 -2
- package/dist/serialization/resources/ticketing/types/AccountToken.d.ts +1 -0
- package/dist/serialization/resources/ticketing/types/AccountToken.js +1 -0
- package/dist/serialization/resources/ticketing/types/Collection.d.ts +0 -2
- package/dist/serialization/resources/ticketing/types/Collection.js +0 -2
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/{hris/types/SyncStatusStatusEnum.d.ts → ticketing/types/LastSyncResultEnum.d.ts} +2 -2
- package/dist/serialization/resources/ticketing/types/LastSyncResultEnum.js +31 -0
- package/dist/serialization/resources/ticketing/types/RemoteField.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/RemoteField.js +1 -1
- package/dist/serialization/resources/ticketing/types/StatusFd5Enum.d.ts +10 -0
- package/dist/serialization/resources/ticketing/types/StatusFd5Enum.js +31 -0
- package/dist/serialization/resources/ticketing/types/SyncStatus.d.ts +5 -2
- package/dist/serialization/resources/ticketing/types/SyncStatus.js +5 -2
- package/dist/serialization/resources/ticketing/types/index.d.ts +2 -2
- package/dist/serialization/resources/ticketing/types/index.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +2078 -1599
- package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
- package/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
- package/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
- package/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
- package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
- package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
- package/serialization/resources/accounting/types/AccountToken.d.ts +1 -0
- package/serialization/resources/accounting/types/AccountToken.js +1 -0
- package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +2 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +2 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -2
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -2
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +11 -0
- package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +32 -0
- package/serialization/resources/accounting/types/Invoice.d.ts +2 -0
- package/serialization/resources/accounting/types/Invoice.js +2 -0
- package/serialization/resources/accounting/types/InvoicePaymentTerm.d.ts +11 -0
- package/serialization/resources/accounting/types/InvoicePaymentTerm.js +32 -0
- package/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/InvoiceRequest.js +2 -0
- package/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +11 -0
- package/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.js +32 -0
- package/serialization/resources/accounting/types/LastSyncResultEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/LastSyncResultEnum.js +31 -0
- package/serialization/resources/accounting/types/MethodTypeEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/MethodTypeEnum.js +31 -0
- package/serialization/resources/accounting/types/PaginatedPaymentMethodList.d.ts +15 -0
- package/serialization/resources/accounting/types/PaginatedPaymentMethodList.js +36 -0
- package/serialization/resources/accounting/types/PaginatedPaymentTermList.d.ts +15 -0
- package/serialization/resources/accounting/types/PaginatedPaymentTermList.js +36 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequest.js +2 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +11 -0
- package/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +32 -0
- package/serialization/resources/accounting/types/Payment.d.ts +2 -0
- package/serialization/resources/accounting/types/Payment.js +2 -0
- package/serialization/resources/accounting/types/PaymentMethod.d.ts +23 -0
- package/serialization/resources/accounting/types/PaymentMethod.js +44 -0
- package/serialization/resources/accounting/types/PaymentMethodMethodType.d.ts +11 -0
- package/serialization/resources/accounting/types/PaymentMethodMethodType.js +32 -0
- package/serialization/resources/accounting/types/PaymentPaymentMethod.d.ts +11 -0
- package/serialization/resources/accounting/types/PaymentPaymentMethod.js +32 -0
- package/serialization/resources/accounting/types/PaymentRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/PaymentRequest.js +2 -0
- package/serialization/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +11 -0
- package/serialization/resources/accounting/types/PaymentRequestPaymentMethod.js +32 -0
- package/serialization/resources/accounting/types/PaymentTerm.d.ts +25 -0
- package/serialization/resources/accounting/types/PaymentTerm.js +46 -0
- package/serialization/resources/accounting/types/PaymentTermCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/PaymentTermCompany.js +32 -0
- package/serialization/resources/accounting/types/PurchaseOrder.d.ts +2 -0
- package/serialization/resources/accounting/types/PurchaseOrder.js +2 -0
- package/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +11 -0
- package/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.js +32 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequest.js +2 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +11 -0
- package/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +32 -0
- package/serialization/resources/accounting/types/RemoteField.d.ts +1 -1
- package/serialization/resources/accounting/types/RemoteField.js +1 -1
- package/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
- package/serialization/resources/accounting/types/RemoteFieldApiResponse.js +2 -0
- package/serialization/resources/accounting/types/StatusFd5Enum.d.ts +10 -0
- package/serialization/resources/accounting/types/StatusFd5Enum.js +31 -0
- package/serialization/resources/accounting/types/SyncStatus.d.ts +5 -2
- package/serialization/resources/accounting/types/SyncStatus.js +5 -2
- package/serialization/resources/accounting/types/index.d.ts +17 -1
- package/serialization/resources/accounting/types/index.js +17 -1
- package/serialization/resources/ats/types/AccountToken.d.ts +1 -0
- package/serialization/resources/ats/types/AccountToken.js +1 -0
- package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ats/types/EventTypeEnum.js +1 -0
- package/serialization/resources/ats/types/LastSyncResultEnum.d.ts +10 -0
- package/serialization/resources/ats/types/LastSyncResultEnum.js +31 -0
- package/serialization/resources/ats/types/StatusFd5Enum.d.ts +10 -0
- package/serialization/resources/ats/types/StatusFd5Enum.js +31 -0
- package/serialization/resources/ats/types/SyncStatus.d.ts +5 -2
- package/serialization/resources/ats/types/SyncStatus.js +5 -2
- package/serialization/resources/ats/types/index.d.ts +2 -1
- package/serialization/resources/ats/types/index.js +2 -1
- package/serialization/resources/crm/types/AccountToken.d.ts +1 -0
- package/serialization/resources/crm/types/AccountToken.js +1 -0
- package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/crm/types/EventTypeEnum.js +1 -0
- package/serialization/resources/crm/types/LastSyncResultEnum.d.ts +10 -0
- package/serialization/resources/crm/types/LastSyncResultEnum.js +31 -0
- package/serialization/resources/crm/types/RemoteField.d.ts +1 -1
- package/serialization/resources/crm/types/RemoteField.js +1 -1
- package/serialization/resources/crm/types/StatusFd5Enum.d.ts +10 -0
- package/serialization/resources/crm/types/StatusFd5Enum.js +31 -0
- package/serialization/resources/crm/types/SyncStatus.d.ts +5 -2
- package/serialization/resources/crm/types/SyncStatus.js +5 -2
- package/serialization/resources/crm/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/serialization/resources/crm/types/SyncStatusLastSyncResult.js +32 -0
- package/serialization/resources/crm/types/index.d.ts +3 -1
- package/serialization/resources/crm/types/index.js +3 -1
- package/serialization/resources/filestorage/types/AccountToken.d.ts +1 -0
- package/serialization/resources/filestorage/types/AccountToken.js +1 -0
- package/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +16 -0
- package/serialization/resources/filestorage/types/DownloadRequestMeta.js +37 -0
- package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
- package/serialization/resources/filestorage/types/LastSyncResultEnum.d.ts +10 -0
- package/serialization/resources/filestorage/types/LastSyncResultEnum.js +31 -0
- package/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +15 -0
- package/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +36 -0
- package/serialization/resources/filestorage/types/StatusFd5Enum.d.ts +10 -0
- package/serialization/resources/filestorage/types/StatusFd5Enum.js +31 -0
- package/serialization/resources/filestorage/types/SyncStatus.d.ts +5 -2
- package/serialization/resources/filestorage/types/SyncStatus.js +5 -2
- package/serialization/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/serialization/resources/filestorage/types/SyncStatusLastSyncResult.js +32 -0
- package/serialization/resources/filestorage/types/index.d.ts +5 -1
- package/serialization/resources/filestorage/types/index.js +5 -1
- package/serialization/resources/hris/types/AccountToken.d.ts +1 -0
- package/serialization/resources/hris/types/AccountToken.js +1 -0
- package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/hris/types/EventTypeEnum.js +1 -0
- package/serialization/resources/hris/types/Group.d.ts +1 -1
- package/serialization/resources/hris/types/Group.js +1 -1
- package/serialization/resources/hris/types/LastSyncResultEnum.d.ts +10 -0
- package/serialization/resources/hris/types/LastSyncResultEnum.js +31 -0
- package/serialization/resources/hris/types/StatusFd5Enum.d.ts +10 -0
- package/serialization/resources/hris/types/StatusFd5Enum.js +31 -0
- package/serialization/resources/hris/types/SyncStatus.d.ts +5 -2
- package/serialization/resources/hris/types/SyncStatus.js +5 -2
- package/serialization/resources/hris/types/SyncStatusLastSyncResult.d.ts +11 -0
- package/serialization/resources/hris/types/SyncStatusLastSyncResult.js +32 -0
- package/serialization/resources/hris/types/index.d.ts +3 -1
- package/serialization/resources/hris/types/index.js +3 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +10 -0
- package/serialization/resources/ticketing/resources/collections/types/{CollectionsListRequestExpand.js → CollectionsViewersListRequestExpand.js} +2 -2
- package/serialization/resources/ticketing/resources/collections/types/index.d.ts +1 -2
- package/serialization/resources/ticketing/resources/collections/types/index.js +1 -2
- package/serialization/resources/ticketing/types/AccountToken.d.ts +1 -0
- package/serialization/resources/ticketing/types/AccountToken.js +1 -0
- package/serialization/resources/ticketing/types/Collection.d.ts +0 -2
- package/serialization/resources/ticketing/types/Collection.js +0 -2
- package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
- package/serialization/resources/ticketing/types/LastSyncResultEnum.d.ts +10 -0
- package/serialization/resources/ticketing/types/LastSyncResultEnum.js +31 -0
- package/serialization/resources/ticketing/types/RemoteField.d.ts +1 -1
- package/serialization/resources/ticketing/types/RemoteField.js +1 -1
- package/serialization/resources/ticketing/types/StatusFd5Enum.d.ts +10 -0
- package/serialization/resources/ticketing/types/StatusFd5Enum.js +31 -0
- package/serialization/resources/ticketing/types/SyncStatus.d.ts +5 -2
- package/serialization/resources/ticketing/types/SyncStatus.js +5 -2
- package/serialization/resources/ticketing/types/index.d.ts +2 -2
- package/serialization/resources/ticketing/types/index.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -20
- package/api/resources/hris/types/SyncStatusStatusEnum.js +0 -14
- package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -9
- package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +0 -11
- package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -9
- package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -11
- package/api/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -20
- package/api/resources/ticketing/types/SyncStatusStatusEnum.js +0 -14
- package/dist/api/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -20
- package/dist/api/resources/accounting/types/SyncStatusStatusEnum.js +0 -14
- package/dist/api/resources/ats/types/SyncStatusStatusEnum.d.ts +0 -20
- package/dist/api/resources/ats/types/SyncStatusStatusEnum.js +0 -14
- package/dist/api/resources/crm/types/SyncStatusStatusEnum.d.ts +0 -20
- package/dist/api/resources/crm/types/SyncStatusStatusEnum.js +0 -14
- package/dist/api/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -20
- package/dist/api/resources/filestorage/types/SyncStatusStatusEnum.js +0 -14
- package/dist/api/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -20
- package/dist/api/resources/hris/types/SyncStatusStatusEnum.js +0 -14
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -9
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +0 -11
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -9
- package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -11
- package/dist/api/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -20
- package/dist/api/resources/ticketing/types/SyncStatusStatusEnum.js +0 -14
- package/dist/serialization/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -10
- package/dist/serialization/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -10
- package/dist/serialization/resources/hris/types/SyncStatusStatusEnum.js +0 -31
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -10
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -10
- package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -31
- package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +0 -11
- package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.js +0 -32
- package/dist/serialization/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -10
- package/dist/serialization/resources/ticketing/types/SyncStatusStatusEnum.js +0 -31
- package/serialization/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -10
- package/serialization/resources/accounting/types/SyncStatusStatusEnum.js +0 -31
- package/serialization/resources/ats/types/SyncStatusStatusEnum.js +0 -31
- package/serialization/resources/crm/types/SyncStatusStatusEnum.js +0 -31
- package/serialization/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -10
- package/serialization/resources/filestorage/types/SyncStatusStatusEnum.js +0 -31
- package/serialization/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -10
- package/serialization/resources/hris/types/SyncStatusStatusEnum.js +0 -31
- package/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -10
- package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -10
- package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -31
- package/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +0 -11
- package/serialization/resources/ticketing/types/CollectionTeamsItem.js +0 -32
- package/serialization/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -10
- package/serialization/resources/ticketing/types/SyncStatusStatusEnum.js +0 -31
- /package/api/resources/{ticketing/types/CollectionTeamsItem.js → accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.js} +0 -0
- /package/{dist/api/resources/ticketing/types/CollectionTeamsItem.js → api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.js} +0 -0
|
@@ -109,7 +109,7 @@ class Issues {
|
|
|
109
109
|
method: "GET",
|
|
110
110
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
111
111
|
? yield core.Supplier.get(this._options.accountToken)
|
|
112
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
112
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
queryParameters: _queryParams,
|
|
115
115
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class Issues {
|
|
|
164
164
|
method: "GET",
|
|
165
165
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
166
166
|
? yield core.Supplier.get(this._options.accountToken)
|
|
167
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
167
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -109,7 +109,7 @@ class Items {
|
|
|
109
109
|
method: "GET",
|
|
110
110
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
111
111
|
? yield core.Supplier.get(this._options.accountToken)
|
|
112
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
112
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
queryParameters: _queryParams,
|
|
115
115
|
requestType: "json",
|
|
@@ -160,7 +160,7 @@ class Items {
|
|
|
160
160
|
retrieve(id, request = {}, requestOptions) {
|
|
161
161
|
var _a, _b;
|
|
162
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
-
const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request;
|
|
163
|
+
const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request;
|
|
164
164
|
const _queryParams = {};
|
|
165
165
|
if (expand != null) {
|
|
166
166
|
_queryParams["expand"] = expand;
|
|
@@ -168,6 +168,9 @@ class Items {
|
|
|
168
168
|
if (includeRemoteData != null) {
|
|
169
169
|
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
170
170
|
}
|
|
171
|
+
if (includeShellData != null) {
|
|
172
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
173
|
+
}
|
|
171
174
|
if (remoteFields != null) {
|
|
172
175
|
_queryParams["remote_fields"] = remoteFields;
|
|
173
176
|
}
|
|
@@ -179,7 +182,7 @@ class Items {
|
|
|
179
182
|
method: "GET",
|
|
180
183
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
181
184
|
? yield core.Supplier.get(this._options.accountToken)
|
|
182
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
185
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
183
186
|
contentType: "application/json",
|
|
184
187
|
queryParameters: _queryParams,
|
|
185
188
|
requestType: "json",
|
package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export interface ItemsRetrieveRequest {
|
|
|
15
15
|
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
16
16
|
*/
|
|
17
17
|
includeRemoteData?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
20
|
+
*/
|
|
21
|
+
includeShellData?: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* Deprecated. Use show_enum_origins.
|
|
20
24
|
*/
|
|
@@ -123,7 +123,7 @@ class JournalEntries {
|
|
|
123
123
|
method: "GET",
|
|
124
124
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
125
125
|
? yield core.Supplier.get(this._options.accountToken)
|
|
126
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
126
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
127
127
|
contentType: "application/json",
|
|
128
128
|
queryParameters: _queryParams,
|
|
129
129
|
requestType: "json",
|
|
@@ -188,7 +188,7 @@ class JournalEntries {
|
|
|
188
188
|
method: "POST",
|
|
189
189
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
190
190
|
? yield core.Supplier.get(this._options.accountToken)
|
|
191
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
191
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
queryParameters: _queryParams,
|
|
194
194
|
requestType: "json",
|
|
@@ -242,7 +242,7 @@ class JournalEntries {
|
|
|
242
242
|
retrieve(id, request = {}, requestOptions) {
|
|
243
243
|
var _a, _b;
|
|
244
244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
245
|
-
const { expand, includeRemoteData, includeRemoteFields } = request;
|
|
245
|
+
const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request;
|
|
246
246
|
const _queryParams = {};
|
|
247
247
|
if (expand != null) {
|
|
248
248
|
_queryParams["expand"] = expand;
|
|
@@ -253,12 +253,15 @@ class JournalEntries {
|
|
|
253
253
|
if (includeRemoteFields != null) {
|
|
254
254
|
_queryParams["include_remote_fields"] = includeRemoteFields.toString();
|
|
255
255
|
}
|
|
256
|
+
if (includeShellData != null) {
|
|
257
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
258
|
+
}
|
|
256
259
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
257
260
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `accounting/v1/journal-entries/${encodeURIComponent(id)}`),
|
|
258
261
|
method: "GET",
|
|
259
262
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
260
263
|
? yield core.Supplier.get(this._options.accountToken)
|
|
261
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
264
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
262
265
|
contentType: "application/json",
|
|
263
266
|
queryParameters: _queryParams,
|
|
264
267
|
requestType: "json",
|
|
@@ -333,7 +336,7 @@ class JournalEntries {
|
|
|
333
336
|
method: "GET",
|
|
334
337
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
335
338
|
? yield core.Supplier.get(this._options.accountToken)
|
|
336
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
339
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
337
340
|
contentType: "application/json",
|
|
338
341
|
queryParameters: _queryParams,
|
|
339
342
|
requestType: "json",
|
|
@@ -387,7 +390,7 @@ class JournalEntries {
|
|
|
387
390
|
method: "GET",
|
|
388
391
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
389
392
|
? yield core.Supplier.get(this._options.accountToken)
|
|
390
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
393
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
391
394
|
contentType: "application/json",
|
|
392
395
|
requestType: "json",
|
|
393
396
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -461,7 +464,7 @@ class JournalEntries {
|
|
|
461
464
|
method: "GET",
|
|
462
465
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
463
466
|
? yield core.Supplier.get(this._options.accountToken)
|
|
464
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
467
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
465
468
|
contentType: "application/json",
|
|
466
469
|
queryParameters: _queryParams,
|
|
467
470
|
requestType: "json",
|
|
@@ -19,4 +19,8 @@ export interface JournalEntriesRetrieveRequest {
|
|
|
19
19
|
* Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
|
20
20
|
*/
|
|
21
21
|
includeRemoteFields?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
24
|
+
*/
|
|
25
|
+
includeShellData?: boolean;
|
|
22
26
|
}
|
|
@@ -70,7 +70,7 @@ class LinkToken {
|
|
|
70
70
|
method: "POST",
|
|
71
71
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
72
72
|
? yield core.Supplier.get(this._options.accountToken)
|
|
73
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
73
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
requestType: "json",
|
|
76
76
|
body: serializers.accounting.EndUserDetailsRequest.jsonOrThrow(request, {
|
|
@@ -106,7 +106,7 @@ class LinkedAccounts {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
108
108
|
? yield core.Supplier.get(this._options.accountToken)
|
|
109
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
109
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -68,7 +68,7 @@ class Passthrough {
|
|
|
68
68
|
method: "POST",
|
|
69
69
|
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
70
70
|
? yield core.Supplier.get(this._options.accountToken)
|
|
71
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.
|
|
71
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
72
72
|
contentType: "application/json",
|
|
73
73
|
requestType: "json",
|
|
74
74
|
body: serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as Merge from "../../../../../index";
|
|
7
|
+
export declare namespace PaymentMethods {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
|
+
apiKey: core.Supplier<core.BearerToken>;
|
|
11
|
+
/** Override the X-Account-Token header */
|
|
12
|
+
accountToken?: core.Supplier<string | undefined>;
|
|
13
|
+
fetcher?: core.FetchFunction;
|
|
14
|
+
}
|
|
15
|
+
interface RequestOptions {
|
|
16
|
+
/** The maximum time to wait for a response in seconds. */
|
|
17
|
+
timeoutInSeconds?: number;
|
|
18
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
19
|
+
maxRetries?: number;
|
|
20
|
+
/** A hook to abort the request. */
|
|
21
|
+
abortSignal?: AbortSignal;
|
|
22
|
+
/** Override the X-Account-Token header */
|
|
23
|
+
accountToken?: string | undefined;
|
|
24
|
+
/** Additional headers to include in the request. */
|
|
25
|
+
headers?: Record<string, string>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export declare class PaymentMethods {
|
|
29
|
+
protected readonly _options: PaymentMethods.Options;
|
|
30
|
+
constructor(_options: PaymentMethods.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Returns a list of `PaymentMethod` objects.
|
|
33
|
+
*
|
|
34
|
+
* @param {Merge.accounting.PaymentMethodsListRequest} request
|
|
35
|
+
* @param {PaymentMethods.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* await client.accounting.paymentMethods.list()
|
|
39
|
+
*/
|
|
40
|
+
list(request?: Merge.accounting.PaymentMethodsListRequest, requestOptions?: PaymentMethods.RequestOptions): Promise<Merge.accounting.PaginatedPaymentMethodList>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a `PaymentMethod` object with the given `id`.
|
|
43
|
+
*
|
|
44
|
+
* @param {string} id
|
|
45
|
+
* @param {Merge.accounting.PaymentMethodsRetrieveRequest} request
|
|
46
|
+
* @param {PaymentMethods.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* await client.accounting.paymentMethods.retrieve("id")
|
|
50
|
+
*/
|
|
51
|
+
retrieve(id: string, request?: Merge.accounting.PaymentMethodsRetrieveRequest, requestOptions?: PaymentMethods.RequestOptions): Promise<Merge.accounting.PaymentMethod>;
|
|
52
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.PaymentMethods = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../../../core"));
|
|
44
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
45
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
46
|
+
const errors = __importStar(require("../../../../../../errors/index"));
|
|
47
|
+
class PaymentMethods {
|
|
48
|
+
constructor(_options) {
|
|
49
|
+
this._options = _options;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns a list of `PaymentMethod` objects.
|
|
53
|
+
*
|
|
54
|
+
* @param {Merge.accounting.PaymentMethodsListRequest} request
|
|
55
|
+
* @param {PaymentMethods.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.accounting.paymentMethods.list()
|
|
59
|
+
*/
|
|
60
|
+
list(request = {}, requestOptions) {
|
|
61
|
+
var _a, _b;
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const { cursor, includeDeletedData, includeRemoteData, includeShellData, pageSize } = request;
|
|
64
|
+
const _queryParams = {};
|
|
65
|
+
if (cursor != null) {
|
|
66
|
+
_queryParams["cursor"] = cursor;
|
|
67
|
+
}
|
|
68
|
+
if (includeDeletedData != null) {
|
|
69
|
+
_queryParams["include_deleted_data"] = includeDeletedData.toString();
|
|
70
|
+
}
|
|
71
|
+
if (includeRemoteData != null) {
|
|
72
|
+
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
73
|
+
}
|
|
74
|
+
if (includeShellData != null) {
|
|
75
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
76
|
+
}
|
|
77
|
+
if (pageSize != null) {
|
|
78
|
+
_queryParams["page_size"] = pageSize.toString();
|
|
79
|
+
}
|
|
80
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
81
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "accounting/v1/payment-methods"),
|
|
82
|
+
method: "GET",
|
|
83
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
84
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
85
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
|
+
contentType: "application/json",
|
|
87
|
+
queryParameters: _queryParams,
|
|
88
|
+
requestType: "json",
|
|
89
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
90
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
91
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
92
|
+
});
|
|
93
|
+
if (_response.ok) {
|
|
94
|
+
return serializers.accounting.PaginatedPaymentMethodList.parseOrThrow(_response.body, {
|
|
95
|
+
unrecognizedObjectKeys: "passthrough",
|
|
96
|
+
allowUnrecognizedUnionMembers: true,
|
|
97
|
+
allowUnrecognizedEnumValues: true,
|
|
98
|
+
skipValidation: true,
|
|
99
|
+
breadcrumbsPrefix: ["response"],
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
if (_response.error.reason === "status-code") {
|
|
103
|
+
throw new errors.MergeError({
|
|
104
|
+
statusCode: _response.error.statusCode,
|
|
105
|
+
body: _response.error.body,
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
switch (_response.error.reason) {
|
|
109
|
+
case "non-json":
|
|
110
|
+
throw new errors.MergeError({
|
|
111
|
+
statusCode: _response.error.statusCode,
|
|
112
|
+
body: _response.error.rawBody,
|
|
113
|
+
});
|
|
114
|
+
case "timeout":
|
|
115
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/payment-methods.");
|
|
116
|
+
case "unknown":
|
|
117
|
+
throw new errors.MergeError({
|
|
118
|
+
message: _response.error.errorMessage,
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Returns a `PaymentMethod` object with the given `id`.
|
|
125
|
+
*
|
|
126
|
+
* @param {string} id
|
|
127
|
+
* @param {Merge.accounting.PaymentMethodsRetrieveRequest} request
|
|
128
|
+
* @param {PaymentMethods.RequestOptions} requestOptions - Request-specific configuration.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* await client.accounting.paymentMethods.retrieve("id")
|
|
132
|
+
*/
|
|
133
|
+
retrieve(id, request = {}, requestOptions) {
|
|
134
|
+
var _a, _b;
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
const { includeRemoteData, includeShellData } = request;
|
|
137
|
+
const _queryParams = {};
|
|
138
|
+
if (includeRemoteData != null) {
|
|
139
|
+
_queryParams["include_remote_data"] = includeRemoteData.toString();
|
|
140
|
+
}
|
|
141
|
+
if (includeShellData != null) {
|
|
142
|
+
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
143
|
+
}
|
|
144
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
145
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `accounting/v1/payment-methods/${encodeURIComponent(id)}`),
|
|
146
|
+
method: "GET",
|
|
147
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
|
|
148
|
+
? yield core.Supplier.get(this._options.accountToken)
|
|
149
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
150
|
+
contentType: "application/json",
|
|
151
|
+
queryParameters: _queryParams,
|
|
152
|
+
requestType: "json",
|
|
153
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
154
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
155
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
156
|
+
});
|
|
157
|
+
if (_response.ok) {
|
|
158
|
+
return serializers.accounting.PaymentMethod.parseOrThrow(_response.body, {
|
|
159
|
+
unrecognizedObjectKeys: "passthrough",
|
|
160
|
+
allowUnrecognizedUnionMembers: true,
|
|
161
|
+
allowUnrecognizedEnumValues: true,
|
|
162
|
+
skipValidation: true,
|
|
163
|
+
breadcrumbsPrefix: ["response"],
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
if (_response.error.reason === "status-code") {
|
|
167
|
+
throw new errors.MergeError({
|
|
168
|
+
statusCode: _response.error.statusCode,
|
|
169
|
+
body: _response.error.body,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
switch (_response.error.reason) {
|
|
173
|
+
case "non-json":
|
|
174
|
+
throw new errors.MergeError({
|
|
175
|
+
statusCode: _response.error.statusCode,
|
|
176
|
+
body: _response.error.rawBody,
|
|
177
|
+
});
|
|
178
|
+
case "timeout":
|
|
179
|
+
throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /accounting/v1/payment-methods/{id}.");
|
|
180
|
+
case "unknown":
|
|
181
|
+
throw new errors.MergeError({
|
|
182
|
+
message: _response.error.errorMessage,
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
_getAuthorizationHeader() {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.PaymentMethods = PaymentMethods;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface PaymentMethodsListRequest {
|
|
9
|
+
/**
|
|
10
|
+
* The pagination cursor value.
|
|
11
|
+
*/
|
|
12
|
+
cursor?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 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/).
|
|
15
|
+
*/
|
|
16
|
+
includeDeletedData?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
19
|
+
*/
|
|
20
|
+
includeRemoteData?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
23
|
+
*/
|
|
24
|
+
includeShellData?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Number of results to return per page.
|
|
27
|
+
*/
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface PaymentMethodsRetrieveRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
11
|
+
*/
|
|
12
|
+
includeRemoteData?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
|
|
15
|
+
*/
|
|
16
|
+
includeShellData?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as Merge from "../../../../../index";
|
|
7
|
+
export declare namespace PaymentTerms {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
|
+
apiKey: core.Supplier<core.BearerToken>;
|
|
11
|
+
/** Override the X-Account-Token header */
|
|
12
|
+
accountToken?: core.Supplier<string | undefined>;
|
|
13
|
+
fetcher?: core.FetchFunction;
|
|
14
|
+
}
|
|
15
|
+
interface RequestOptions {
|
|
16
|
+
/** The maximum time to wait for a response in seconds. */
|
|
17
|
+
timeoutInSeconds?: number;
|
|
18
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
19
|
+
maxRetries?: number;
|
|
20
|
+
/** A hook to abort the request. */
|
|
21
|
+
abortSignal?: AbortSignal;
|
|
22
|
+
/** Override the X-Account-Token header */
|
|
23
|
+
accountToken?: string | undefined;
|
|
24
|
+
/** Additional headers to include in the request. */
|
|
25
|
+
headers?: Record<string, string>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export declare class PaymentTerms {
|
|
29
|
+
protected readonly _options: PaymentTerms.Options;
|
|
30
|
+
constructor(_options: PaymentTerms.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Returns a list of `PaymentTerm` objects.
|
|
33
|
+
*
|
|
34
|
+
* @param {Merge.accounting.PaymentTermsListRequest} request
|
|
35
|
+
* @param {PaymentTerms.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* await client.accounting.paymentTerms.list()
|
|
39
|
+
*/
|
|
40
|
+
list(request?: Merge.accounting.PaymentTermsListRequest, requestOptions?: PaymentTerms.RequestOptions): Promise<Merge.accounting.PaginatedPaymentTermList>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a `PaymentTerm` object with the given `id`.
|
|
43
|
+
*
|
|
44
|
+
* @param {string} id
|
|
45
|
+
* @param {Merge.accounting.PaymentTermsRetrieveRequest} request
|
|
46
|
+
* @param {PaymentTerms.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* await client.accounting.paymentTerms.retrieve("id")
|
|
50
|
+
*/
|
|
51
|
+
retrieve(id: string, request?: Merge.accounting.PaymentTermsRetrieveRequest, requestOptions?: PaymentTerms.RequestOptions): Promise<Merge.accounting.PaymentTerm>;
|
|
52
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
53
|
+
}
|