@mergeapi/merge-node-client 2.0.1 → 2.1.1
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/.mock/definition/accounting/__package__.yml +3089 -0
- package/.mock/definition/accounting/expenseReports.yml +938 -0
- package/.mock/definition/accounting/fieldMapping.yml +20 -0
- package/.mock/definition/accounting/items.yml +4 -0
- package/.mock/definition/accounting/payments.yml +8 -8
- package/Client.d.ts +8 -6
- package/Client.js +19 -19
- package/api/resources/accounting/client/Client.d.ts +3 -0
- package/api/resources/accounting/client/Client.js +57 -52
- package/api/resources/accounting/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/accounting/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountToken/client/Client.js +4 -7
- package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +7 -11
- package/api/resources/accounting/resources/accountingPeriods/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/accounts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/accounts/client/Client.js +13 -16
- package/api/resources/accounting/resources/accounts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/addresses/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/addresses/client/Client.js +4 -8
- package/api/resources/accounting/resources/addresses/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/accounting/resources/asyncTasks/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/asyncTasks/client/Client.js +4 -7
- package/api/resources/accounting/resources/attachments/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/attachments/client/Client.js +13 -16
- package/api/resources/accounting/resources/attachments/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/accounting/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/availableActions/client/Client.js +4 -7
- package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +7 -11
- package/api/resources/accounting/resources/balanceSheets/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +13 -16
- package/api/resources/accounting/resources/bankFeedAccounts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +13 -16
- package/api/resources/accounting/resources/bankFeedTransactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +7 -11
- package/api/resources/accounting/resources/cashFlowStatements/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/companyInfo/client/Client.js +7 -11
- package/api/resources/accounting/resources/companyInfo/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/contacts/client/Client.js +16 -19
- package/api/resources/accounting/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +13 -16
- package/api/resources/accounting/resources/creditNotes/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/accounting/resources/employees/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/employees/client/Client.js +7 -11
- package/api/resources/accounting/resources/employees/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/expenseReports/client/Client.d.ts +120 -0
- package/api/resources/accounting/resources/expenseReports/client/Client.js +664 -0
- package/api/resources/accounting/resources/expenseReports/client/index.d.ts +2 -0
- package/api/resources/accounting/resources/expenseReports/client/index.js +17 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +23 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.js +5 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +38 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.js +5 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +37 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +62 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.js +5 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +37 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.js +5 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +26 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.js +5 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/index.d.ts +6 -0
- package/api/resources/accounting/resources/expenseReports/client/requests/index.js +2 -0
- package/api/resources/accounting/resources/expenseReports/index.d.ts +2 -0
- package/api/resources/accounting/resources/expenseReports/index.js +18 -0
- package/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.d.ts +69 -0
- package/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.js +71 -0
- package/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.d.ts +21 -0
- package/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.js +23 -0
- package/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.d.ts +21 -0
- package/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.js +23 -0
- package/api/resources/accounting/resources/expenseReports/types/index.d.ts +3 -0
- package/api/resources/accounting/resources/expenseReports/types/index.js +19 -0
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/expenses/client/Client.js +19 -22
- package/api/resources/accounting/resources/expenses/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/accounting/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/forceResync/client/Client.js +4 -7
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +7 -11
- package/api/resources/accounting/resources/generalLedgerTransactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/generateKey/client/Client.js +4 -7
- package/api/resources/accounting/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +7 -11
- package/api/resources/accounting/resources/incomeStatements/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/index.d.ts +3 -0
- package/api/resources/accounting/resources/index.js +4 -1
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/invoices/client/Client.js +25 -27
- package/api/resources/accounting/resources/invoices/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/issues/client/Client.js +7 -10
- package/api/resources/accounting/resources/issues/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/items/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/items/client/Client.js +19 -21
- package/api/resources/accounting/resources/items/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.js +19 -22
- package/api/resources/accounting/resources/journalEntries/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/linkToken/client/Client.js +4 -7
- package/api/resources/accounting/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/accounting/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/passthrough/client/Client.js +4 -7
- package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/paymentMethods/client/Client.js +7 -11
- package/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/paymentTerms/client/Client.js +7 -11
- package/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/payments/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/payments/client/Client.js +25 -27
- package/api/resources/accounting/resources/payments/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +4 -8
- package/api/resources/accounting/resources/phoneNumbers/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/projects/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/projects/client/Client.js +7 -11
- package/api/resources/accounting/resources/projects/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +19 -22
- package/api/resources/accounting/resources/purchaseOrders/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/accounting/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/scopes/client/Client.js +10 -11
- package/api/resources/accounting/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/accounting/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/taxRates/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/taxRates/client/Client.js +7 -11
- package/api/resources/accounting/resources/taxRates/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +7 -11
- package/api/resources/accounting/resources/trackingCategories/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/transactions/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/transactions/client/Client.js +7 -11
- package/api/resources/accounting/resources/transactions/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +13 -16
- package/api/resources/accounting/resources/vendorCredits/client/index.d.ts +1 -0
- package/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/accounting/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/accounting/types/ExpenseReport.d.ts +364 -0
- package/api/resources/accounting/types/ExpenseReport.js +5 -0
- package/api/resources/accounting/types/ExpenseReportCompany.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportCompany.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLine.d.ts +366 -0
- package/api/resources/accounting/types/ExpenseReportLine.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineAccount.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineAccount.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineCompany.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportLineCompany.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineContact.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineContact.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineEmployee.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportLineEmployee.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineProject.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineProject.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequest.d.ts +361 -0
- package/api/resources/accounting/types/ExpenseReportLineRequest.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestAccount.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestAccount.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestCompany.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestCompany.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestContact.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestContact.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestEmployee.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestEmployee.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestProject.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestProject.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.js +5 -0
- package/api/resources/accounting/types/ExpenseReportLineTaxRate.d.ts +5 -0
- package/api/resources/accounting/types/ExpenseReportLineTaxRate.js +5 -0
- package/api/resources/accounting/types/ExpenseReportRequest.d.ts +354 -0
- package/api/resources/accounting/types/ExpenseReportRequest.js +5 -0
- package/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.js +5 -0
- package/api/resources/accounting/types/ExpenseReportRequestCompany.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportRequestCompany.js +5 -0
- package/api/resources/accounting/types/ExpenseReportRequestEmployee.d.ts +8 -0
- package/api/resources/accounting/types/ExpenseReportRequestEmployee.js +5 -0
- package/api/resources/accounting/types/ExpenseReportResponse.d.ts +10 -0
- package/api/resources/accounting/types/ExpenseReportResponse.js +5 -0
- package/api/resources/accounting/types/ExpenseReportStatus.d.ts +13 -0
- package/api/resources/accounting/types/ExpenseReportStatus.js +5 -0
- package/api/resources/accounting/types/ExpenseReportStatusEnum.d.ts +16 -0
- package/api/resources/accounting/types/ExpenseReportStatusEnum.js +12 -0
- package/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/api/resources/accounting/types/Item.d.ts +9 -0
- package/api/resources/accounting/types/ItemType.d.ts +13 -0
- package/api/resources/accounting/types/ItemType.js +5 -0
- package/api/resources/accounting/types/PaginatedExpenseReportLineList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedExpenseReportLineList.js +5 -0
- package/api/resources/accounting/types/PaginatedExpenseReportList.d.ts +9 -0
- package/api/resources/accounting/types/PaginatedExpenseReportList.js +5 -0
- package/api/resources/accounting/types/index.d.ts +26 -0
- package/api/resources/accounting/types/index.js +26 -0
- package/api/resources/ats/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/ats/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/accountToken/client/Client.js +4 -7
- package/api/resources/ats/resources/activities/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/activities/client/Client.js +13 -16
- package/api/resources/ats/resources/activities/client/index.d.ts +1 -0
- package/api/resources/ats/resources/applications/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/applications/client/Client.js +16 -20
- package/api/resources/ats/resources/applications/client/index.d.ts +1 -0
- package/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/ats/resources/attachments/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/attachments/client/Client.js +13 -16
- package/api/resources/ats/resources/attachments/client/index.d.ts +1 -0
- package/api/resources/ats/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/ats/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/ats/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/availableActions/client/Client.js +4 -7
- package/api/resources/ats/resources/candidates/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/candidates/client/Client.js +22 -23
- package/api/resources/ats/resources/candidates/client/index.d.ts +1 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/ats/resources/departments/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/departments/client/Client.js +7 -11
- package/api/resources/ats/resources/departments/client/index.d.ts +1 -0
- package/api/resources/ats/resources/eeocs/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/eeocs/client/Client.js +7 -11
- package/api/resources/ats/resources/eeocs/client/index.d.ts +1 -0
- package/api/resources/ats/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/ats/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/ats/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/forceResync/client/Client.js +4 -7
- package/api/resources/ats/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/generateKey/client/Client.js +4 -7
- package/api/resources/ats/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/ats/resources/interviews/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/interviews/client/Client.js +13 -16
- package/api/resources/ats/resources/interviews/client/index.d.ts +1 -0
- package/api/resources/ats/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/issues/client/Client.js +7 -10
- package/api/resources/ats/resources/issues/client/index.d.ts +1 -0
- package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +7 -11
- package/api/resources/ats/resources/jobInterviewStages/client/index.d.ts +1 -0
- package/api/resources/ats/resources/jobPostings/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/jobPostings/client/Client.js +7 -11
- package/api/resources/ats/resources/jobPostings/client/index.d.ts +1 -0
- package/api/resources/ats/resources/jobs/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/jobs/client/Client.js +10 -14
- package/api/resources/ats/resources/jobs/client/index.d.ts +1 -0
- package/api/resources/ats/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/linkToken/client/Client.js +4 -7
- package/api/resources/ats/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/ats/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/ats/resources/offers/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/offers/client/Client.js +7 -11
- package/api/resources/ats/resources/offers/client/index.d.ts +1 -0
- package/api/resources/ats/resources/offices/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/offices/client/Client.js +7 -11
- package/api/resources/ats/resources/offices/client/index.d.ts +1 -0
- package/api/resources/ats/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/passthrough/client/Client.js +4 -7
- package/api/resources/ats/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/ats/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/rejectReasons/client/Client.js +7 -11
- package/api/resources/ats/resources/rejectReasons/client/index.d.ts +1 -0
- package/api/resources/ats/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/scopes/client/Client.js +10 -11
- package/api/resources/ats/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/ats/resources/scorecards/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/scorecards/client/Client.js +7 -11
- package/api/resources/ats/resources/scorecards/client/index.d.ts +1 -0
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/ats/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/ats/resources/tags/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/tags/client/Client.js +4 -8
- package/api/resources/ats/resources/tags/client/index.d.ts +1 -0
- package/api/resources/ats/resources/users/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/users/client/Client.js +7 -11
- package/api/resources/ats/resources/users/client/index.d.ts +1 -0
- package/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/ats/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/crm/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/crm/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accountToken/client/Client.js +4 -7
- package/api/resources/crm/resources/accounts/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/accounts/client/Client.js +22 -24
- package/api/resources/crm/resources/accounts/client/index.d.ts +1 -0
- package/api/resources/crm/resources/associationTypes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/associationTypes/client/Client.js +13 -16
- package/api/resources/crm/resources/associationTypes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/associations/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/associations/client/Client.js +7 -11
- package/api/resources/crm/resources/associations/client/index.d.ts +1 -0
- package/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/crm/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/crm/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/crm/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/availableActions/client/Client.js +4 -7
- package/api/resources/crm/resources/contacts/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/contacts/client/Client.js +25 -26
- package/api/resources/crm/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +7 -11
- package/api/resources/crm/resources/customObjectClasses/client/index.d.ts +1 -0
- package/api/resources/crm/resources/customObjects/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/customObjects/client/Client.js +16 -19
- package/api/resources/crm/resources/customObjects/client/index.d.ts +1 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/engagementTypes/client/Client.js +10 -14
- package/api/resources/crm/resources/engagementTypes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/engagements/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/engagements/client/Client.js +22 -24
- package/api/resources/crm/resources/engagements/client/index.d.ts +1 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/crm/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/crm/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/forceResync/client/Client.js +4 -7
- package/api/resources/crm/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/generateKey/client/Client.js +4 -7
- package/api/resources/crm/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/crm/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/issues/client/Client.js +7 -10
- package/api/resources/crm/resources/issues/client/index.d.ts +1 -0
- package/api/resources/crm/resources/leads/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/leads/client/Client.js +16 -19
- package/api/resources/crm/resources/leads/client/index.d.ts +1 -0
- package/api/resources/crm/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/linkToken/client/Client.js +4 -7
- package/api/resources/crm/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/crm/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/crm/resources/notes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/notes/client/Client.js +16 -19
- package/api/resources/crm/resources/notes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/opportunities/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/opportunities/client/Client.js +22 -24
- package/api/resources/crm/resources/opportunities/client/index.d.ts +1 -0
- package/api/resources/crm/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/passthrough/client/Client.js +4 -7
- package/api/resources/crm/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/crm/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/crm/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/scopes/client/Client.js +10 -11
- package/api/resources/crm/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/crm/resources/stages/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/stages/client/Client.js +10 -14
- package/api/resources/crm/resources/stages/client/index.d.ts +1 -0
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/crm/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/crm/resources/tasks/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/tasks/client/Client.js +22 -24
- package/api/resources/crm/resources/tasks/client/index.d.ts +1 -0
- package/api/resources/crm/resources/users/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/users/client/Client.js +13 -16
- package/api/resources/crm/resources/users/client/index.d.ts +1 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/crm/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/filestorage/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/accountToken/client/Client.js +4 -7
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/filestorage/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/availableActions/client/Client.js +4 -7
- package/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/filestorage/resources/drives/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/drives/client/Client.js +7 -11
- package/api/resources/filestorage/resources/drives/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/filestorage/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/files/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/files/client/Client.js +22 -25
- package/api/resources/filestorage/resources/files/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/folders/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/folders/client/Client.js +13 -16
- package/api/resources/filestorage/resources/folders/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/forceResync/client/Client.js +4 -7
- package/api/resources/filestorage/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/generateKey/client/Client.js +4 -7
- package/api/resources/filestorage/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/groups/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/groups/client/Client.js +7 -11
- package/api/resources/filestorage/resources/groups/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/issues/client/Client.js +7 -10
- package/api/resources/filestorage/resources/issues/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/linkToken/client/Client.js +4 -7
- package/api/resources/filestorage/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/filestorage/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/passthrough/client/Client.js +4 -7
- package/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/filestorage/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/scopes/client/Client.js +10 -11
- package/api/resources/filestorage/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/filestorage/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/users/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/users/client/Client.js +7 -11
- package/api/resources/filestorage/resources/users/client/index.d.ts +1 -0
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/filestorage/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/hris/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/hris/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/accountToken/client/Client.js +4 -7
- package/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/hris/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/hris/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/hris/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/availableActions/client/Client.js +4 -7
- package/api/resources/hris/resources/bankInfo/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/bankInfo/client/Client.js +7 -11
- package/api/resources/hris/resources/bankInfo/client/index.d.ts +1 -0
- package/api/resources/hris/resources/benefits/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/benefits/client/Client.js +7 -11
- package/api/resources/hris/resources/benefits/client/index.d.ts +1 -0
- package/api/resources/hris/resources/companies/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/companies/client/Client.js +7 -11
- package/api/resources/hris/resources/companies/client/index.d.ts +1 -0
- package/api/resources/hris/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/hris/resources/dependents/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/dependents/client/Client.js +7 -11
- package/api/resources/hris/resources/dependents/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +7 -11
- package/api/resources/hris/resources/employeePayrollRuns/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employees/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employees/client/Client.js +16 -18
- package/api/resources/hris/resources/employees/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.js +7 -11
- package/api/resources/hris/resources/employerBenefits/client/index.d.ts +1 -0
- package/api/resources/hris/resources/employments/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/employments/client/Client.js +7 -11
- package/api/resources/hris/resources/employments/client/index.d.ts +1 -0
- package/api/resources/hris/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/hris/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/hris/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/forceResync/client/Client.js +4 -7
- package/api/resources/hris/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/generateKey/client/Client.js +4 -7
- package/api/resources/hris/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/hris/resources/groups/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/groups/client/Client.js +7 -11
- package/api/resources/hris/resources/groups/client/index.d.ts +1 -0
- package/api/resources/hris/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/issues/client/Client.js +7 -10
- package/api/resources/hris/resources/issues/client/index.d.ts +1 -0
- package/api/resources/hris/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/linkToken/client/Client.js +4 -7
- package/api/resources/hris/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/hris/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/hris/resources/locations/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/locations/client/Client.js +7 -11
- package/api/resources/hris/resources/locations/client/index.d.ts +1 -0
- package/api/resources/hris/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/passthrough/client/Client.js +4 -7
- package/api/resources/hris/resources/payGroups/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/payGroups/client/Client.js +7 -11
- package/api/resources/hris/resources/payGroups/client/index.d.ts +1 -0
- package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/payrollRuns/client/Client.js +7 -11
- package/api/resources/hris/resources/payrollRuns/client/index.d.ts +1 -0
- package/api/resources/hris/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/hris/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/hris/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/scopes/client/Client.js +10 -11
- package/api/resources/hris/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/hris/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/hris/resources/teams/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/teams/client/Client.js +7 -11
- package/api/resources/hris/resources/teams/client/index.d.ts +1 -0
- package/api/resources/hris/resources/timeOff/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/timeOff/client/Client.js +13 -16
- package/api/resources/hris/resources/timeOff/client/index.d.ts +1 -0
- package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +7 -11
- package/api/resources/hris/resources/timeOffBalances/client/index.d.ts +1 -0
- package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +13 -16
- package/api/resources/hris/resources/timesheetEntries/client/index.d.ts +1 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/hris/resources/webhookReceivers/client/index.d.ts +1 -0
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- package/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +4 -7
- package/api/resources/ticketing/resources/accountToken/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accountToken/client/Client.js +4 -7
- package/api/resources/ticketing/resources/accounts/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/accounts/client/Client.js +7 -11
- package/api/resources/ticketing/resources/accounts/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +7 -9
- package/api/resources/ticketing/resources/attachments/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/attachments/client/Client.js +16 -19
- package/api/resources/ticketing/resources/attachments/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +4 -8
- package/api/resources/ticketing/resources/auditTrail/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/availableActions/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/availableActions/client/Client.js +4 -7
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/collections/client/Client.js +10 -14
- package/api/resources/ticketing/resources/collections/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/comments/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/comments/client/Client.js +13 -16
- package/api/resources/ticketing/resources/comments/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/contacts/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/contacts/client/Client.js +13 -16
- package/api/resources/ticketing/resources/contacts/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +4 -7
- package/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +19 -20
- package/api/resources/ticketing/resources/fieldMapping/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/forceResync/client/Client.js +4 -7
- package/api/resources/ticketing/resources/generateKey/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/generateKey/client/Client.js +4 -7
- package/api/resources/ticketing/resources/generateKey/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/issues/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/issues/client/Client.js +7 -10
- package/api/resources/ticketing/resources/issues/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/linkToken/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/linkToken/client/Client.js +4 -7
- package/api/resources/ticketing/resources/linkToken/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +4 -8
- package/api/resources/ticketing/resources/linkedAccounts/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/passthrough/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/passthrough/client/Client.js +4 -7
- package/api/resources/ticketing/resources/projects/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/projects/client/Client.js +10 -14
- package/api/resources/ticketing/resources/projects/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +4 -7
- package/api/resources/ticketing/resources/regenerateKey/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/roles/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/roles/client/Client.js +7 -11
- package/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/scopes/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/scopes/client/Client.js +10 -11
- package/api/resources/ticketing/resources/scopes/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +4 -8
- package/api/resources/ticketing/resources/syncStatus/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/tags/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/tags/client/Client.js +7 -11
- package/api/resources/ticketing/resources/tags/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/teams/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/teams/client/Client.js +7 -11
- package/api/resources/ticketing/resources/teams/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/tickets/client/Client.js +25 -28
- package/api/resources/ticketing/resources/tickets/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/users/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/users/client/Client.js +7 -11
- package/api/resources/ticketing/resources/users/client/index.d.ts +1 -0
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +7 -9
- package/api/resources/ticketing/resources/webhookReceivers/client/index.d.ts +1 -0
- package/core/auth/BasicAuth.js +3 -3
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/Fetcher.d.ts +2 -2
- package/core/fetcher/Fetcher.js +3 -3
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +44 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +34 -32
- package/core/fetcher/index.d.ts +1 -0
- package/core/headers.d.ts +1 -1
- package/core/index.d.ts +2 -0
- package/core/index.js +3 -1
- package/core/runtime/runtime.js +0 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/url/index.d.ts +2 -0
- package/core/url/index.js +7 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +69 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/Client.d.ts +8 -6
- package/dist/Client.js +19 -19
- package/dist/api/resources/accounting/client/Client.d.ts +3 -0
- package/dist/api/resources/accounting/client/Client.js +57 -52
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/accountingPeriods/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/accounts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/addresses/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/addresses/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/attachments/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/balanceSheets/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/bankFeedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/bankFeedTransactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/companyInfo/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +16 -19
- package/dist/api/resources/accounting/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/creditNotes/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/employees/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/employees/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/employees/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.d.ts +120 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/Client.js +664 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/index.js +17 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +23 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +38 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +37 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +62 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +37 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +26 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.js +5 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/index.d.ts +6 -0
- package/dist/api/resources/accounting/resources/expenseReports/client/requests/index.js +2 -0
- package/dist/api/resources/accounting/resources/expenseReports/index.d.ts +2 -0
- package/dist/api/resources/accounting/resources/expenseReports/index.js +18 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.d.ts +69 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.js +71 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.d.ts +21 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.js +23 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.d.ts +21 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.js +23 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/index.d.ts +3 -0
- package/dist/api/resources/accounting/resources/expenseReports/types/index.js +19 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +19 -22
- package/dist/api/resources/accounting/resources/expenses/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/accounting/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/incomeStatements/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/index.d.ts +3 -0
- package/dist/api/resources/accounting/resources/index.js +4 -1
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +25 -27
- package/dist/api/resources/accounting/resources/invoices/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/accounting/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/items/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/items/client/Client.js +19 -21
- package/dist/api/resources/accounting/resources/items/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +19 -22
- package/dist/api/resources/accounting/resources/journalEntries/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.js +25 -27
- package/dist/api/resources/accounting/resources/payments/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/projects/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +19 -22
- package/dist/api/resources/accounting/resources/purchaseOrders/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/accounting/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/accounting/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/accounting/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/taxRates/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/trackingCategories/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +7 -11
- package/dist/api/resources/accounting/resources/transactions/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +13 -16
- package/dist/api/resources/accounting/resources/vendorCredits/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/accounting/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/accounting/types/ExpenseReport.d.ts +364 -0
- package/dist/api/resources/accounting/types/ExpenseReport.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportCompany.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLine.d.ts +366 -0
- package/dist/api/resources/accounting/types/ExpenseReportLine.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineAccount.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineAccount.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineCompany.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineContact.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineContact.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineEmployee.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineEmployee.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineProject.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequest.d.ts +361 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequest.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestAccount.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestAccount.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestCompany.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestContact.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestContact.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestEmployee.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestEmployee.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestProject.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestProject.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineRequestTaxRate.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineTaxRate.d.ts +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportLineTaxRate.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequest.d.ts +354 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequest.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequestAccountingPeriod.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequestCompany.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequestCompany.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequestEmployee.d.ts +8 -0
- package/dist/api/resources/accounting/types/ExpenseReportRequestEmployee.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportResponse.d.ts +10 -0
- package/dist/api/resources/accounting/types/ExpenseReportResponse.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportStatus.d.ts +13 -0
- package/dist/api/resources/accounting/types/ExpenseReportStatus.js +5 -0
- package/dist/api/resources/accounting/types/ExpenseReportStatusEnum.d.ts +16 -0
- package/dist/api/resources/accounting/types/ExpenseReportStatusEnum.js +12 -0
- package/dist/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/dist/api/resources/accounting/types/Item.d.ts +9 -0
- package/dist/api/resources/accounting/types/ItemType.d.ts +13 -0
- package/dist/api/resources/accounting/types/ItemType.js +5 -0
- package/dist/api/resources/accounting/types/PaginatedExpenseReportLineList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedExpenseReportLineList.js +5 -0
- package/dist/api/resources/accounting/types/PaginatedExpenseReportList.d.ts +9 -0
- package/dist/api/resources/accounting/types/PaginatedExpenseReportList.js +5 -0
- package/dist/api/resources/accounting/types/index.d.ts +26 -0
- package/dist/api/resources/accounting/types/index.js +26 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/activities/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/activities/client/Client.js +13 -16
- package/dist/api/resources/ats/resources/activities/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/applications/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/applications/client/Client.js +16 -20
- package/dist/api/resources/ats/resources/applications/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/attachments/client/Client.js +13 -16
- package/dist/api/resources/ats/resources/attachments/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/candidates/client/Client.js +22 -23
- package/dist/api/resources/ats/resources/candidates/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/departments/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/departments/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/departments/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/eeocs/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/ats/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/interviews/client/Client.js +13 -16
- package/dist/api/resources/ats/resources/interviews/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/ats/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/jobInterviewStages/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/jobPostings/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/jobs/client/Client.js +10 -14
- package/dist/api/resources/ats/resources/jobs/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/offers/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/offers/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/offers/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/offices/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/offices/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/offices/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/ats/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/rejectReasons/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/ats/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/scorecards/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/tags/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/tags/client/Client.js +4 -8
- package/dist/api/resources/ats/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/users/client/Client.js +7 -11
- package/dist/api/resources/ats/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/ats/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/accounts/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/accounts/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +13 -16
- package/dist/api/resources/crm/resources/associationTypes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/associations/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/associations/client/Client.js +7 -11
- package/dist/api/resources/crm/resources/associations/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/crm/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/contacts/client/Client.js +25 -26
- package/dist/api/resources/crm/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +7 -11
- package/dist/api/resources/crm/resources/customObjectClasses/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +16 -19
- package/dist/api/resources/crm/resources/customObjects/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +10 -14
- package/dist/api/resources/crm/resources/engagementTypes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/engagements/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/crm/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/crm/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/leads/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/leads/client/Client.js +16 -19
- package/dist/api/resources/crm/resources/leads/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/crm/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/notes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/notes/client/Client.js +16 -19
- package/dist/api/resources/crm/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/opportunities/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/crm/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/crm/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/stages/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/stages/client/Client.js +10 -14
- package/dist/api/resources/crm/resources/stages/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/crm/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/tasks/client/Client.js +22 -24
- package/dist/api/resources/crm/resources/tasks/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/users/client/Client.js +13 -16
- package/dist/api/resources/crm/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/crm/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/filestorage/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +7 -11
- package/dist/api/resources/filestorage/resources/drives/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/filestorage/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.js +22 -25
- package/dist/api/resources/filestorage/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +13 -16
- package/dist/api/resources/filestorage/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +7 -11
- package/dist/api/resources/filestorage/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/filestorage/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/filestorage/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/filestorage/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/filestorage/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/users/client/Client.js +7 -11
- package/dist/api/resources/filestorage/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/hris/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/bankInfo/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/benefits/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/benefits/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/companies/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/companies/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/companies/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/dependents/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/dependents/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employees/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employees/client/Client.js +16 -18
- package/dist/api/resources/hris/resources/employees/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/employerBenefits/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/employments/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/employments/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/employments/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/hris/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/groups/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/groups/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/hris/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/hris/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/locations/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/locations/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/locations/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/payGroups/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/payrollRuns/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/hris/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/hris/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/hris/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/teams/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/teams/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/teams/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +13 -16
- package/dist/api/resources/hris/resources/timeOff/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +7 -11
- package/dist/api/resources/hris/resources/timeOffBalances/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +13 -16
- package/dist/api/resources/hris/resources/timesheetEntries/client/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/hris/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/accounts/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +7 -9
- package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +16 -19
- package/dist/api/resources/ticketing/resources/attachments/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +4 -8
- package/dist/api/resources/ticketing/resources/auditTrail/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +10 -14
- package/dist/api/resources/ticketing/resources/collections/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +13 -16
- package/dist/api/resources/ticketing/resources/comments/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +13 -16
- package/dist/api/resources/ticketing/resources/contacts/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +19 -20
- package/dist/api/resources/ticketing/resources/fieldMapping/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/generateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +7 -10
- package/dist/api/resources/ticketing/resources/issues/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/linkToken/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +4 -8
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +10 -14
- package/dist/api/resources/ticketing/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +4 -7
- package/dist/api/resources/ticketing/resources/regenerateKey/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/roles/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +10 -11
- package/dist/api/resources/ticketing/resources/scopes/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +4 -8
- package/dist/api/resources/ticketing/resources/syncStatus/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/teams/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +25 -28
- package/dist/api/resources/ticketing/resources/tickets/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.js +7 -11
- package/dist/api/resources/ticketing/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +2 -0
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +7 -9
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/index.d.ts +1 -0
- package/dist/core/auth/BasicAuth.js +3 -3
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.js +3 -3
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +34 -32
- package/dist/core/fetcher/index.d.ts +1 -0
- package/dist/core/headers.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/dist/core/url/index.d.ts +2 -0
- package/dist/core/url/index.js +7 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +69 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/serialization/resources/accounting/resources/expenseReports/client/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/client/index.js +17 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +13 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.js +44 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/client/requests/index.js +5 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/index.js +18 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.js +105 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.js +57 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.js +57 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/index.d.ts +3 -0
- package/dist/serialization/resources/accounting/resources/expenseReports/types/index.js +19 -0
- package/dist/serialization/resources/accounting/resources/index.d.ts +3 -0
- package/dist/serialization/resources/accounting/resources/index.js +4 -1
- package/dist/serialization/resources/accounting/types/ExpenseReport.d.ts +36 -0
- package/dist/serialization/resources/accounting/types/ExpenseReport.js +67 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportCompany.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLine.d.ts +43 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLine.js +74 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineAccount.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineAccount.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineCompany.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineContact.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineEmployee.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineEmployee.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineProject.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequest.d.ts +41 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequest.js +72 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestContact.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestContact.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestProject.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestProject.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineTaxRate.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportLineTaxRate.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequest.d.ts +30 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequest.js +61 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequestCompany.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequestCompany.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequestEmployee.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportRequestEmployee.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportResponse.d.ts +19 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportResponse.js +50 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportStatus.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportStatus.js +42 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportStatusEnum.d.ts +10 -0
- package/dist/serialization/resources/accounting/types/ExpenseReportStatusEnum.js +41 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +1 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +1 -0
- package/dist/serialization/resources/accounting/types/Item.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/Item.js +2 -0
- package/dist/serialization/resources/accounting/types/ItemType.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/ItemType.js +42 -0
- package/dist/serialization/resources/accounting/types/PaginatedExpenseReportLineList.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/PaginatedExpenseReportLineList.js +46 -0
- package/dist/serialization/resources/accounting/types/PaginatedExpenseReportList.d.ts +15 -0
- package/dist/serialization/resources/accounting/types/PaginatedExpenseReportList.js +46 -0
- package/dist/serialization/resources/accounting/types/index.d.ts +26 -0
- package/dist/serialization/resources/accounting/types/index.js +26 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/index.d.ts +2 -2
- package/index.js +5 -5
- package/jest.config.mjs +37 -4
- package/package.json +15 -14
- package/reference.md +3917 -3462
- package/serialization/resources/accounting/resources/expenseReports/client/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/expenseReports/client/index.js +17 -0
- package/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +13 -0
- package/serialization/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.js +44 -0
- package/serialization/resources/accounting/resources/expenseReports/client/requests/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/expenseReports/client/requests/index.js +5 -0
- package/serialization/resources/accounting/resources/expenseReports/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/expenseReports/index.js +18 -0
- package/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsLinesListRequestExpand.js +105 -0
- package/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsListRequestExpand.js +57 -0
- package/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.d.ts +10 -0
- package/serialization/resources/accounting/resources/expenseReports/types/ExpenseReportsRetrieveRequestExpand.js +57 -0
- package/serialization/resources/accounting/resources/expenseReports/types/index.d.ts +3 -0
- package/serialization/resources/accounting/resources/expenseReports/types/index.js +19 -0
- package/serialization/resources/accounting/resources/index.d.ts +3 -0
- package/serialization/resources/accounting/resources/index.js +4 -1
- package/serialization/resources/accounting/types/ExpenseReport.d.ts +36 -0
- package/serialization/resources/accounting/types/ExpenseReport.js +67 -0
- package/serialization/resources/accounting/types/ExpenseReportCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportCompany.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLine.d.ts +43 -0
- package/serialization/resources/accounting/types/ExpenseReportLine.js +74 -0
- package/serialization/resources/accounting/types/ExpenseReportLineAccount.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineAccount.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineCompany.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineContact.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineContact.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineEmployee.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineEmployee.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineProject.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineProject.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequest.d.ts +41 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequest.js +72 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestAccount.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestCompany.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestContact.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestContact.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestEmployee.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestProject.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestProject.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineRequestTaxRate.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportLineTaxRate.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportLineTaxRate.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportRequest.d.ts +30 -0
- package/serialization/resources/accounting/types/ExpenseReportRequest.js +61 -0
- package/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportRequestAccountingPeriod.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportRequestCompany.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportRequestCompany.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportRequestEmployee.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportRequestEmployee.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportResponse.d.ts +19 -0
- package/serialization/resources/accounting/types/ExpenseReportResponse.js +50 -0
- package/serialization/resources/accounting/types/ExpenseReportStatus.d.ts +11 -0
- package/serialization/resources/accounting/types/ExpenseReportStatus.js +42 -0
- package/serialization/resources/accounting/types/ExpenseReportStatusEnum.d.ts +10 -0
- package/serialization/resources/accounting/types/ExpenseReportStatusEnum.js +41 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +1 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +1 -0
- package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +1 -0
- package/serialization/resources/accounting/types/Item.d.ts +2 -0
- package/serialization/resources/accounting/types/Item.js +2 -0
- package/serialization/resources/accounting/types/ItemType.d.ts +11 -0
- package/serialization/resources/accounting/types/ItemType.js +42 -0
- package/serialization/resources/accounting/types/PaginatedExpenseReportLineList.d.ts +15 -0
- package/serialization/resources/accounting/types/PaginatedExpenseReportLineList.js +46 -0
- package/serialization/resources/accounting/types/PaginatedExpenseReportList.d.ts +15 -0
- package/serialization/resources/accounting/types/PaginatedExpenseReportList.js +46 -0
- package/serialization/resources/accounting/types/index.d.ts +26 -0
- package/serialization/resources/accounting/types/index.js +26 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -24,32 +24,33 @@ const Client_17 = require("../resources/creditNotes/client/Client");
|
|
|
24
24
|
const Client_18 = require("../resources/scopes/client/Client");
|
|
25
25
|
const Client_19 = require("../resources/deleteAccount/client/Client");
|
|
26
26
|
const Client_20 = require("../resources/employees/client/Client");
|
|
27
|
-
const Client_21 = require("../resources/
|
|
28
|
-
const Client_22 = require("../resources/
|
|
29
|
-
const Client_23 = require("../resources/
|
|
30
|
-
const Client_24 = require("../resources/
|
|
31
|
-
const Client_25 = require("../resources/
|
|
32
|
-
const Client_26 = require("../resources/
|
|
33
|
-
const Client_27 = require("../resources/
|
|
34
|
-
const Client_28 = require("../resources/
|
|
35
|
-
const Client_29 = require("../resources/
|
|
36
|
-
const Client_30 = require("../resources/
|
|
37
|
-
const Client_31 = require("../resources/
|
|
38
|
-
const Client_32 = require("../resources/
|
|
39
|
-
const Client_33 = require("../resources/
|
|
40
|
-
const Client_34 = require("../resources/
|
|
41
|
-
const Client_35 = require("../resources/
|
|
42
|
-
const Client_36 = require("../resources/
|
|
43
|
-
const Client_37 = require("../resources/
|
|
44
|
-
const Client_38 = require("../resources/
|
|
45
|
-
const Client_39 = require("../resources/
|
|
46
|
-
const Client_40 = require("../resources/
|
|
47
|
-
const Client_41 = require("../resources/
|
|
48
|
-
const Client_42 = require("../resources/
|
|
49
|
-
const Client_43 = require("../resources/
|
|
50
|
-
const Client_44 = require("../resources/
|
|
51
|
-
const Client_45 = require("../resources/
|
|
52
|
-
const Client_46 = require("../resources/
|
|
27
|
+
const Client_21 = require("../resources/expenseReports/client/Client");
|
|
28
|
+
const Client_22 = require("../resources/expenses/client/Client");
|
|
29
|
+
const Client_23 = require("../resources/fieldMapping/client/Client");
|
|
30
|
+
const Client_24 = require("../resources/generalLedgerTransactions/client/Client");
|
|
31
|
+
const Client_25 = require("../resources/generateKey/client/Client");
|
|
32
|
+
const Client_26 = require("../resources/incomeStatements/client/Client");
|
|
33
|
+
const Client_27 = require("../resources/invoices/client/Client");
|
|
34
|
+
const Client_28 = require("../resources/issues/client/Client");
|
|
35
|
+
const Client_29 = require("../resources/items/client/Client");
|
|
36
|
+
const Client_30 = require("../resources/journalEntries/client/Client");
|
|
37
|
+
const Client_31 = require("../resources/linkToken/client/Client");
|
|
38
|
+
const Client_32 = require("../resources/linkedAccounts/client/Client");
|
|
39
|
+
const Client_33 = require("../resources/passthrough/client/Client");
|
|
40
|
+
const Client_34 = require("../resources/paymentMethods/client/Client");
|
|
41
|
+
const Client_35 = require("../resources/paymentTerms/client/Client");
|
|
42
|
+
const Client_36 = require("../resources/payments/client/Client");
|
|
43
|
+
const Client_37 = require("../resources/phoneNumbers/client/Client");
|
|
44
|
+
const Client_38 = require("../resources/projects/client/Client");
|
|
45
|
+
const Client_39 = require("../resources/purchaseOrders/client/Client");
|
|
46
|
+
const Client_40 = require("../resources/regenerateKey/client/Client");
|
|
47
|
+
const Client_41 = require("../resources/syncStatus/client/Client");
|
|
48
|
+
const Client_42 = require("../resources/forceResync/client/Client");
|
|
49
|
+
const Client_43 = require("../resources/taxRates/client/Client");
|
|
50
|
+
const Client_44 = require("../resources/trackingCategories/client/Client");
|
|
51
|
+
const Client_45 = require("../resources/transactions/client/Client");
|
|
52
|
+
const Client_46 = require("../resources/vendorCredits/client/Client");
|
|
53
|
+
const Client_47 = require("../resources/webhookReceivers/client/Client");
|
|
53
54
|
class Accounting {
|
|
54
55
|
constructor(_options) {
|
|
55
56
|
this._options = _options;
|
|
@@ -134,109 +135,113 @@ class Accounting {
|
|
|
134
135
|
var _a;
|
|
135
136
|
return ((_a = this._employees) !== null && _a !== void 0 ? _a : (this._employees = new Client_20.Employees(this._options)));
|
|
136
137
|
}
|
|
138
|
+
get expenseReports() {
|
|
139
|
+
var _a;
|
|
140
|
+
return ((_a = this._expenseReports) !== null && _a !== void 0 ? _a : (this._expenseReports = new Client_21.ExpenseReports(this._options)));
|
|
141
|
+
}
|
|
137
142
|
get expenses() {
|
|
138
143
|
var _a;
|
|
139
|
-
return ((_a = this._expenses) !== null && _a !== void 0 ? _a : (this._expenses = new
|
|
144
|
+
return ((_a = this._expenses) !== null && _a !== void 0 ? _a : (this._expenses = new Client_22.Expenses(this._options)));
|
|
140
145
|
}
|
|
141
146
|
get fieldMapping() {
|
|
142
147
|
var _a;
|
|
143
|
-
return ((_a = this._fieldMapping) !== null && _a !== void 0 ? _a : (this._fieldMapping = new
|
|
148
|
+
return ((_a = this._fieldMapping) !== null && _a !== void 0 ? _a : (this._fieldMapping = new Client_23.FieldMapping(this._options)));
|
|
144
149
|
}
|
|
145
150
|
get generalLedgerTransactions() {
|
|
146
151
|
var _a;
|
|
147
|
-
return ((_a = this._generalLedgerTransactions) !== null && _a !== void 0 ? _a : (this._generalLedgerTransactions = new
|
|
152
|
+
return ((_a = this._generalLedgerTransactions) !== null && _a !== void 0 ? _a : (this._generalLedgerTransactions = new Client_24.GeneralLedgerTransactions(this._options)));
|
|
148
153
|
}
|
|
149
154
|
get generateKey() {
|
|
150
155
|
var _a;
|
|
151
|
-
return ((_a = this._generateKey) !== null && _a !== void 0 ? _a : (this._generateKey = new
|
|
156
|
+
return ((_a = this._generateKey) !== null && _a !== void 0 ? _a : (this._generateKey = new Client_25.GenerateKey(this._options)));
|
|
152
157
|
}
|
|
153
158
|
get incomeStatements() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._incomeStatements) !== null && _a !== void 0 ? _a : (this._incomeStatements = new
|
|
160
|
+
return ((_a = this._incomeStatements) !== null && _a !== void 0 ? _a : (this._incomeStatements = new Client_26.IncomeStatements(this._options)));
|
|
156
161
|
}
|
|
157
162
|
get invoices() {
|
|
158
163
|
var _a;
|
|
159
|
-
return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new
|
|
164
|
+
return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new Client_27.Invoices(this._options)));
|
|
160
165
|
}
|
|
161
166
|
get issues() {
|
|
162
167
|
var _a;
|
|
163
|
-
return ((_a = this._issues) !== null && _a !== void 0 ? _a : (this._issues = new
|
|
168
|
+
return ((_a = this._issues) !== null && _a !== void 0 ? _a : (this._issues = new Client_28.Issues(this._options)));
|
|
164
169
|
}
|
|
165
170
|
get items() {
|
|
166
171
|
var _a;
|
|
167
|
-
return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new
|
|
172
|
+
return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new Client_29.Items(this._options)));
|
|
168
173
|
}
|
|
169
174
|
get journalEntries() {
|
|
170
175
|
var _a;
|
|
171
|
-
return ((_a = this._journalEntries) !== null && _a !== void 0 ? _a : (this._journalEntries = new
|
|
176
|
+
return ((_a = this._journalEntries) !== null && _a !== void 0 ? _a : (this._journalEntries = new Client_30.JournalEntries(this._options)));
|
|
172
177
|
}
|
|
173
178
|
get linkToken() {
|
|
174
179
|
var _a;
|
|
175
|
-
return ((_a = this._linkToken) !== null && _a !== void 0 ? _a : (this._linkToken = new
|
|
180
|
+
return ((_a = this._linkToken) !== null && _a !== void 0 ? _a : (this._linkToken = new Client_31.LinkToken(this._options)));
|
|
176
181
|
}
|
|
177
182
|
get linkedAccounts() {
|
|
178
183
|
var _a;
|
|
179
|
-
return ((_a = this._linkedAccounts) !== null && _a !== void 0 ? _a : (this._linkedAccounts = new
|
|
184
|
+
return ((_a = this._linkedAccounts) !== null && _a !== void 0 ? _a : (this._linkedAccounts = new Client_32.LinkedAccounts(this._options)));
|
|
180
185
|
}
|
|
181
186
|
get passthrough() {
|
|
182
187
|
var _a;
|
|
183
|
-
return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new
|
|
188
|
+
return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new Client_33.Passthrough(this._options)));
|
|
184
189
|
}
|
|
185
190
|
get paymentMethods() {
|
|
186
191
|
var _a;
|
|
187
|
-
return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new
|
|
192
|
+
return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_34.PaymentMethods(this._options)));
|
|
188
193
|
}
|
|
189
194
|
get paymentTerms() {
|
|
190
195
|
var _a;
|
|
191
|
-
return ((_a = this._paymentTerms) !== null && _a !== void 0 ? _a : (this._paymentTerms = new
|
|
196
|
+
return ((_a = this._paymentTerms) !== null && _a !== void 0 ? _a : (this._paymentTerms = new Client_35.PaymentTerms(this._options)));
|
|
192
197
|
}
|
|
193
198
|
get payments() {
|
|
194
199
|
var _a;
|
|
195
|
-
return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new
|
|
200
|
+
return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_36.Payments(this._options)));
|
|
196
201
|
}
|
|
197
202
|
get phoneNumbers() {
|
|
198
203
|
var _a;
|
|
199
|
-
return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new
|
|
204
|
+
return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_37.PhoneNumbers(this._options)));
|
|
200
205
|
}
|
|
201
206
|
get projects() {
|
|
202
207
|
var _a;
|
|
203
|
-
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new
|
|
208
|
+
return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_38.Projects(this._options)));
|
|
204
209
|
}
|
|
205
210
|
get purchaseOrders() {
|
|
206
211
|
var _a;
|
|
207
|
-
return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new
|
|
212
|
+
return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new Client_39.PurchaseOrders(this._options)));
|
|
208
213
|
}
|
|
209
214
|
get regenerateKey() {
|
|
210
215
|
var _a;
|
|
211
|
-
return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new
|
|
216
|
+
return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_40.RegenerateKey(this._options)));
|
|
212
217
|
}
|
|
213
218
|
get syncStatus() {
|
|
214
219
|
var _a;
|
|
215
|
-
return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new
|
|
220
|
+
return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_41.SyncStatus(this._options)));
|
|
216
221
|
}
|
|
217
222
|
get forceResync() {
|
|
218
223
|
var _a;
|
|
219
|
-
return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new
|
|
224
|
+
return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_42.ForceResync(this._options)));
|
|
220
225
|
}
|
|
221
226
|
get taxRates() {
|
|
222
227
|
var _a;
|
|
223
|
-
return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new
|
|
228
|
+
return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new Client_43.TaxRates(this._options)));
|
|
224
229
|
}
|
|
225
230
|
get trackingCategories() {
|
|
226
231
|
var _a;
|
|
227
|
-
return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new
|
|
232
|
+
return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new Client_44.TrackingCategories(this._options)));
|
|
228
233
|
}
|
|
229
234
|
get transactions() {
|
|
230
235
|
var _a;
|
|
231
|
-
return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new
|
|
236
|
+
return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_45.Transactions(this._options)));
|
|
232
237
|
}
|
|
233
238
|
get vendorCredits() {
|
|
234
239
|
var _a;
|
|
235
|
-
return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new
|
|
240
|
+
return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new Client_46.VendorCredits(this._options)));
|
|
236
241
|
}
|
|
237
242
|
get webhookReceivers() {
|
|
238
243
|
var _a;
|
|
239
|
-
return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new
|
|
244
|
+
return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_47.WebhookReceivers(this._options)));
|
|
240
245
|
}
|
|
241
246
|
}
|
|
242
247
|
exports.Accounting = Accounting;
|
|
@@ -25,6 +25,8 @@ export declare namespace AccountDetails {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,15 +44,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.AccountDetails = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
55
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
56
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class AccountDetails {
|
|
@@ -74,12 +70,13 @@ class AccountDetails {
|
|
|
74
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
71
|
var _a, _b, _c, _d;
|
|
76
72
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
77
|
-
url:
|
|
73
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/account-details"),
|
|
78
74
|
method: "GET",
|
|
79
|
-
headers: (0,
|
|
75
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
80
76
|
Authorization: yield this._getAuthorizationHeader(),
|
|
81
77
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
82
78
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
79
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
83
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
84
81
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
85
82
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace AccountToken {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,15 +44,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.AccountToken = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
55
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
56
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class AccountToken {
|
|
@@ -75,12 +71,13 @@ class AccountToken {
|
|
|
75
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
72
|
var _a, _b, _c, _d;
|
|
77
73
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
|
-
url:
|
|
74
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/account-token/${encodeURIComponent(publicToken)}`),
|
|
79
75
|
method: "GET",
|
|
80
|
-
headers: (0,
|
|
76
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
81
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
78
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
83
79
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
84
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
85
82
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
86
83
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace AccountingPeriods {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,15 +44,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.AccountingPeriods = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
55
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
56
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class AccountingPeriods {
|
|
@@ -92,13 +88,13 @@ class AccountingPeriods {
|
|
|
92
88
|
_queryParams["page_size"] = pageSize.toString();
|
|
93
89
|
}
|
|
94
90
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
95
|
-
url:
|
|
91
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/accounting-periods"),
|
|
96
92
|
method: "GET",
|
|
97
|
-
headers: (0,
|
|
93
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
98
94
|
Authorization: yield this._getAuthorizationHeader(),
|
|
99
95
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
100
96
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
101
|
-
queryParameters: _queryParams,
|
|
97
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
102
98
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
103
99
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
104
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -164,13 +160,13 @@ class AccountingPeriods {
|
|
|
164
160
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
165
161
|
}
|
|
166
162
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
167
|
-
url:
|
|
163
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/accounting-periods/${encodeURIComponent(id)}`),
|
|
168
164
|
method: "GET",
|
|
169
|
-
headers: (0,
|
|
165
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
170
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
171
167
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
172
168
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
173
|
-
queryParameters: _queryParams,
|
|
169
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
174
170
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
175
171
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
176
172
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Accounts {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -55,16 +55,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
};
|
|
58
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
-
};
|
|
61
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
59
|
exports.Accounts = void 0;
|
|
63
60
|
const environments = __importStar(require("../../../../../../environments"));
|
|
64
61
|
const core = __importStar(require("../../../../../../core"));
|
|
65
62
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
66
|
-
const
|
|
67
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
63
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
68
64
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
69
65
|
class Accounts {
|
|
70
66
|
constructor(_options) {
|
|
@@ -142,13 +138,13 @@ class Accounts {
|
|
|
142
138
|
_queryParams["status"] = status;
|
|
143
139
|
}
|
|
144
140
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
145
|
-
url:
|
|
141
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/accounts"),
|
|
146
142
|
method: "GET",
|
|
147
|
-
headers: (0,
|
|
143
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
148
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
149
145
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
150
146
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
151
|
-
queryParameters: _queryParams,
|
|
147
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
152
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
153
149
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
154
150
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -215,14 +211,14 @@ class Accounts {
|
|
|
215
211
|
_queryParams["run_async"] = runAsync.toString();
|
|
216
212
|
}
|
|
217
213
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
218
|
-
url:
|
|
214
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/accounts"),
|
|
219
215
|
method: "POST",
|
|
220
|
-
headers: (0,
|
|
216
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
221
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
218
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
223
219
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
224
220
|
contentType: "application/json",
|
|
225
|
-
queryParameters: _queryParams,
|
|
221
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
226
222
|
requestType: "json",
|
|
227
223
|
body: serializers.accounting.AccountEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
228
224
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -302,13 +298,13 @@ class Accounts {
|
|
|
302
298
|
});
|
|
303
299
|
}
|
|
304
300
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
305
|
-
url:
|
|
301
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/accounts/${encodeURIComponent(id)}`),
|
|
306
302
|
method: "GET",
|
|
307
|
-
headers: (0,
|
|
303
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
308
304
|
Authorization: yield this._getAuthorizationHeader(),
|
|
309
305
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
310
306
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
311
|
-
queryParameters: _queryParams,
|
|
307
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
312
308
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
313
309
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
314
310
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -364,12 +360,13 @@ class Accounts {
|
|
|
364
360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
365
361
|
var _a, _b, _c, _d;
|
|
366
362
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
367
|
-
url:
|
|
363
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/accounts/meta/post"),
|
|
368
364
|
method: "GET",
|
|
369
|
-
headers: (0,
|
|
365
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
370
366
|
Authorization: yield this._getAuthorizationHeader(),
|
|
371
367
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
372
368
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
369
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
373
370
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
374
371
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
375
372
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Addresses {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,15 +44,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.Addresses = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
55
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
56
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class Addresses {
|
|
@@ -90,13 +86,13 @@ class Addresses {
|
|
|
90
86
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
91
87
|
}
|
|
92
88
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
93
|
-
url:
|
|
89
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/addresses/${encodeURIComponent(id)}`),
|
|
94
90
|
method: "GET",
|
|
95
|
-
headers: (0,
|
|
91
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
96
92
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
93
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
98
94
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
99
|
-
queryParameters: _queryParams,
|
|
95
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
100
96
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
101
97
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
102
98
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace AsyncPassthrough {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|
|
@@ -44,16 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.AsyncPassthrough = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
51
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
55
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class AsyncPassthrough {
|
|
59
55
|
constructor(_options) {
|
|
@@ -78,13 +74,14 @@ class AsyncPassthrough {
|
|
|
78
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
75
|
var _a, _b, _c, _d;
|
|
80
76
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
81
|
-
url:
|
|
77
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/async-passthrough"),
|
|
82
78
|
method: "POST",
|
|
83
|
-
headers: (0,
|
|
79
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
84
80
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
81
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
86
82
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
83
|
contentType: "application/json",
|
|
84
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
88
85
|
requestType: "json",
|
|
89
86
|
body: serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
|
|
90
87
|
unrecognizedObjectKeys: "strip",
|
|
@@ -145,12 +142,13 @@ class AsyncPassthrough {
|
|
|
145
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
146
143
|
var _a, _b, _c, _d;
|
|
147
144
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
148
|
-
url:
|
|
145
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/async-passthrough/${encodeURIComponent(asyncPassthroughReceiptId)}`),
|
|
149
146
|
method: "GET",
|
|
150
|
-
headers: (0,
|
|
147
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
151
148
|
Authorization: yield this._getAuthorizationHeader(),
|
|
152
149
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
153
150
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
151
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
154
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
155
153
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
156
154
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace AsyncTasks {
|
|
|
25
25
|
abortSignal?: AbortSignal;
|
|
26
26
|
/** Override the X-Account-Token header */
|
|
27
27
|
accountToken?: string | undefined;
|
|
28
|
+
/** Additional query string parameters to include in the request. */
|
|
29
|
+
queryParams?: Record<string, unknown>;
|
|
28
30
|
/** Additional headers to include in the request. */
|
|
29
31
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
32
|
}
|