@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
|
@@ -25,6 +25,8 @@ export declare namespace Tags {
|
|
|
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.Tags = 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 Tags {
|
|
@@ -107,13 +103,13 @@ class Tags {
|
|
|
107
103
|
_queryParams["remote_id"] = remoteId;
|
|
108
104
|
}
|
|
109
105
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
110
|
-
url:
|
|
106
|
+
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, "ticketing/v1/tags"),
|
|
111
107
|
method: "GET",
|
|
112
|
-
headers: (0,
|
|
108
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
113
109
|
Authorization: yield this._getAuthorizationHeader(),
|
|
114
110
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
115
111
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
116
|
-
queryParameters: _queryParams,
|
|
112
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
117
113
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
118
114
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
119
115
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -179,13 +175,13 @@ class Tags {
|
|
|
179
175
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
180
176
|
}
|
|
181
177
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
182
|
-
url:
|
|
178
|
+
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, `ticketing/v1/tags/${encodeURIComponent(id)}`),
|
|
183
179
|
method: "GET",
|
|
184
|
-
headers: (0,
|
|
180
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
185
181
|
Authorization: yield this._getAuthorizationHeader(),
|
|
186
182
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
187
183
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
188
|
-
queryParameters: _queryParams,
|
|
184
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
189
185
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
190
186
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
191
187
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Teams {
|
|
|
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.Teams = 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 Teams {
|
|
@@ -107,13 +103,13 @@ class Teams {
|
|
|
107
103
|
_queryParams["remote_id"] = remoteId;
|
|
108
104
|
}
|
|
109
105
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
110
|
-
url:
|
|
106
|
+
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, "ticketing/v1/teams"),
|
|
111
107
|
method: "GET",
|
|
112
|
-
headers: (0,
|
|
108
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
113
109
|
Authorization: yield this._getAuthorizationHeader(),
|
|
114
110
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
115
111
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
116
|
-
queryParameters: _queryParams,
|
|
112
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
117
113
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
118
114
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
119
115
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -179,13 +175,13 @@ class Teams {
|
|
|
179
175
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
180
176
|
}
|
|
181
177
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
182
|
-
url:
|
|
178
|
+
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, `ticketing/v1/teams/${encodeURIComponent(id)}`),
|
|
183
179
|
method: "GET",
|
|
184
|
-
headers: (0,
|
|
180
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
185
181
|
Authorization: yield this._getAuthorizationHeader(),
|
|
186
182
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
187
183
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
188
|
-
queryParameters: _queryParams,
|
|
184
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
189
185
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
190
186
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
191
187
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Tickets {
|
|
|
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.Tickets = 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 Tickets {
|
|
70
66
|
constructor(_options) {
|
|
@@ -188,13 +184,13 @@ class Tickets {
|
|
|
188
184
|
_queryParams["ticket_url"] = ticketUrl;
|
|
189
185
|
}
|
|
190
186
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
191
|
-
url:
|
|
187
|
+
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, "ticketing/v1/tickets"),
|
|
192
188
|
method: "GET",
|
|
193
|
-
headers: (0,
|
|
189
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
194
190
|
Authorization: yield this._getAuthorizationHeader(),
|
|
195
191
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
196
192
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
197
|
-
queryParameters: _queryParams,
|
|
193
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
198
194
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
199
195
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
200
196
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -261,14 +257,14 @@ class Tickets {
|
|
|
261
257
|
_queryParams["run_async"] = runAsync.toString();
|
|
262
258
|
}
|
|
263
259
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
264
|
-
url:
|
|
260
|
+
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, "ticketing/v1/tickets"),
|
|
265
261
|
method: "POST",
|
|
266
|
-
headers: (0,
|
|
262
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
267
263
|
Authorization: yield this._getAuthorizationHeader(),
|
|
268
264
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
269
265
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
270
266
|
contentType: "application/json",
|
|
271
|
-
queryParameters: _queryParams,
|
|
267
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
272
268
|
requestType: "json",
|
|
273
269
|
body: serializers.ticketing.TicketEndpointRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
274
270
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -350,13 +346,13 @@ class Tickets {
|
|
|
350
346
|
_queryParams["show_enum_origins"] = serializers.ticketing.TicketsRetrieveRequestShowEnumOrigins.jsonOrThrow(showEnumOrigins, { unrecognizedObjectKeys: "strip" });
|
|
351
347
|
}
|
|
352
348
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
353
|
-
url:
|
|
349
|
+
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, `ticketing/v1/tickets/${encodeURIComponent(id)}`),
|
|
354
350
|
method: "GET",
|
|
355
|
-
headers: (0,
|
|
351
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
356
352
|
Authorization: yield this._getAuthorizationHeader(),
|
|
357
353
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
358
354
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
359
|
-
queryParameters: _queryParams,
|
|
355
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
360
356
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
361
357
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
362
358
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -424,14 +420,14 @@ class Tickets {
|
|
|
424
420
|
_queryParams["run_async"] = runAsync.toString();
|
|
425
421
|
}
|
|
426
422
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
427
|
-
url:
|
|
423
|
+
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, `ticketing/v1/tickets/${encodeURIComponent(id)}`),
|
|
428
424
|
method: "PATCH",
|
|
429
|
-
headers: (0,
|
|
425
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
430
426
|
Authorization: yield this._getAuthorizationHeader(),
|
|
431
427
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
432
428
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
433
429
|
contentType: "application/json",
|
|
434
|
-
queryParameters: _queryParams,
|
|
430
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
435
431
|
requestType: "json",
|
|
436
432
|
body: serializers.ticketing.PatchedTicketEndpointRequest.jsonOrThrow(_body, {
|
|
437
433
|
unrecognizedObjectKeys: "strip",
|
|
@@ -515,13 +511,13 @@ class Tickets {
|
|
|
515
511
|
_queryParams["page_size"] = pageSize.toString();
|
|
516
512
|
}
|
|
517
513
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
518
|
-
url:
|
|
514
|
+
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, `ticketing/v1/tickets/${encodeURIComponent(ticketId)}/viewers`),
|
|
519
515
|
method: "GET",
|
|
520
|
-
headers: (0,
|
|
516
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
521
517
|
Authorization: yield this._getAuthorizationHeader(),
|
|
522
518
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
523
519
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
524
|
-
queryParameters: _queryParams,
|
|
520
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
525
521
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
526
522
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
527
523
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -578,12 +574,13 @@ class Tickets {
|
|
|
578
574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
579
575
|
var _a, _b, _c, _d;
|
|
580
576
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
581
|
-
url:
|
|
577
|
+
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, `ticketing/v1/tickets/meta/patch/${encodeURIComponent(id)}`),
|
|
582
578
|
method: "GET",
|
|
583
|
-
headers: (0,
|
|
579
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
584
580
|
Authorization: yield this._getAuthorizationHeader(),
|
|
585
581
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
586
582
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
583
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
587
584
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
588
585
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
589
586
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -648,13 +645,13 @@ class Tickets {
|
|
|
648
645
|
_queryParams["ticket_type"] = ticketType;
|
|
649
646
|
}
|
|
650
647
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
651
|
-
url:
|
|
648
|
+
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, "ticketing/v1/tickets/meta/post"),
|
|
652
649
|
method: "GET",
|
|
653
|
-
headers: (0,
|
|
650
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
654
651
|
Authorization: yield this._getAuthorizationHeader(),
|
|
655
652
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
656
653
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
657
|
-
queryParameters: _queryParams,
|
|
654
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
658
655
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
659
656
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
660
657
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -737,13 +734,13 @@ class Tickets {
|
|
|
737
734
|
_queryParams["page_size"] = pageSize.toString();
|
|
738
735
|
}
|
|
739
736
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
740
|
-
url:
|
|
737
|
+
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, "ticketing/v1/tickets/remote-field-classes"),
|
|
741
738
|
method: "GET",
|
|
742
|
-
headers: (0,
|
|
739
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
743
740
|
Authorization: yield this._getAuthorizationHeader(),
|
|
744
741
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
745
742
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
746
|
-
queryParameters: _queryParams,
|
|
743
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
747
744
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
748
745
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
749
746
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace Users {
|
|
|
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.Users = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
51
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
55
|
-
const
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
52
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
57
53
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
58
54
|
class Users {
|
|
59
55
|
constructor(_options) {
|
|
@@ -118,13 +114,13 @@ class Users {
|
|
|
118
114
|
_queryParams["team"] = team;
|
|
119
115
|
}
|
|
120
116
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
121
|
-
url:
|
|
117
|
+
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, "ticketing/v1/users"),
|
|
122
118
|
method: "GET",
|
|
123
|
-
headers: (0,
|
|
119
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
124
120
|
Authorization: yield this._getAuthorizationHeader(),
|
|
125
121
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
126
122
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
127
|
-
queryParameters: _queryParams,
|
|
123
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
128
124
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
129
125
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
130
126
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -195,13 +191,13 @@ class Users {
|
|
|
195
191
|
_queryParams["include_shell_data"] = includeShellData.toString();
|
|
196
192
|
}
|
|
197
193
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
198
|
-
url:
|
|
194
|
+
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, `ticketing/v1/users/${encodeURIComponent(id)}`),
|
|
199
195
|
method: "GET",
|
|
200
|
-
headers: (0,
|
|
196
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
201
197
|
Authorization: yield this._getAuthorizationHeader(),
|
|
202
198
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
203
199
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
204
|
-
queryParameters: _queryParams,
|
|
200
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
205
201
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
206
202
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
207
203
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -25,6 +25,8 @@ export declare namespace WebhookReceivers {
|
|
|
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.WebhookReceivers = 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 WebhookReceivers {
|
|
@@ -74,12 +70,13 @@ class WebhookReceivers {
|
|
|
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, "ticketing/v1/webhook-receivers"),
|
|
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,
|
|
@@ -139,13 +136,14 @@ class WebhookReceivers {
|
|
|
139
136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
140
137
|
var _a, _b, _c, _d;
|
|
141
138
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
142
|
-
url:
|
|
139
|
+
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, "ticketing/v1/webhook-receivers"),
|
|
143
140
|
method: "POST",
|
|
144
|
-
headers: (0,
|
|
141
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
145
142
|
Authorization: yield this._getAuthorizationHeader(),
|
|
146
143
|
"X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
|
|
147
144
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
145
|
contentType: "application/json",
|
|
146
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
149
147
|
requestType: "json",
|
|
150
148
|
body: serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, {
|
|
151
149
|
unrecognizedObjectKeys: "strip",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BasicAuth = void 0;
|
|
4
|
-
const
|
|
4
|
+
const base64_1 = require("../base64");
|
|
5
5
|
const BASIC_AUTH_HEADER_PREFIX = /^Basic /i;
|
|
6
6
|
exports.BasicAuth = {
|
|
7
7
|
toAuthorizationHeader: (basicAuth) => {
|
|
8
8
|
if (basicAuth == null) {
|
|
9
9
|
return undefined;
|
|
10
10
|
}
|
|
11
|
-
const token =
|
|
11
|
+
const token = (0, base64_1.base64Encode)(`${basicAuth.username}:${basicAuth.password}`);
|
|
12
12
|
return `Basic ${token}`;
|
|
13
13
|
},
|
|
14
14
|
fromAuthorizationHeader: (header) => {
|
|
15
15
|
const credentials = header.replace(BASIC_AUTH_HEADER_PREFIX, "");
|
|
16
|
-
const decoded =
|
|
16
|
+
const decoded = (0, base64_1.base64Decode)(credentials);
|
|
17
17
|
const [username, password] = decoded.split(":", 2);
|
|
18
18
|
if (username == null || password == null) {
|
|
19
19
|
throw new Error("Invalid basic auth");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.base64Encode = base64Encode;
|
|
4
|
+
exports.base64Decode = base64Decode;
|
|
5
|
+
function base64ToBytes(base64) {
|
|
6
|
+
const binString = atob(base64);
|
|
7
|
+
return Uint8Array.from(binString, (m) => m.codePointAt(0));
|
|
8
|
+
}
|
|
9
|
+
function bytesToBase64(bytes) {
|
|
10
|
+
const binString = String.fromCodePoint(...bytes);
|
|
11
|
+
return btoa(binString);
|
|
12
|
+
}
|
|
13
|
+
function base64Encode(input) {
|
|
14
|
+
if (typeof Buffer !== "undefined") {
|
|
15
|
+
return Buffer.from(input, "utf8").toString("base64");
|
|
16
|
+
}
|
|
17
|
+
const bytes = new TextEncoder().encode(input);
|
|
18
|
+
return bytesToBase64(bytes);
|
|
19
|
+
}
|
|
20
|
+
function base64Decode(input) {
|
|
21
|
+
if (typeof Buffer !== "undefined") {
|
|
22
|
+
return Buffer.from(input, "base64").toString("utf8");
|
|
23
|
+
}
|
|
24
|
+
const bytes = base64ToBytes(input);
|
|
25
|
+
return new TextDecoder().decode(bytes);
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ResponseWithBody } from "./ResponseWithBody.js";
|
|
2
|
+
export type BinaryResponse = {
|
|
3
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */
|
|
4
|
+
bodyUsed: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Returns a ReadableStream of the response body.
|
|
7
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
8
|
+
*/
|
|
9
|
+
stream: () => ReadableStream<Uint8Array>;
|
|
10
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */
|
|
11
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
12
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
|
|
13
|
+
blob: () => Promise<Blob>;
|
|
14
|
+
/**
|
|
15
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
16
|
+
* Some versions of the Fetch API may not support this method.
|
|
17
|
+
*/
|
|
18
|
+
bytes?(): Promise<Uint8Array>;
|
|
19
|
+
};
|
|
20
|
+
export declare function getBinaryResponse(response: ResponseWithBody): BinaryResponse;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBinaryResponse = getBinaryResponse;
|
|
4
|
+
function getBinaryResponse(response) {
|
|
5
|
+
const binaryResponse = {
|
|
6
|
+
get bodyUsed() {
|
|
7
|
+
return response.bodyUsed;
|
|
8
|
+
},
|
|
9
|
+
stream: () => response.body,
|
|
10
|
+
arrayBuffer: response.arrayBuffer.bind(response),
|
|
11
|
+
blob: response.blob.bind(response),
|
|
12
|
+
};
|
|
13
|
+
if ("bytes" in response && typeof response.bytes === "function") {
|
|
14
|
+
binaryResponse.bytes = response.bytes.bind(response);
|
|
15
|
+
}
|
|
16
|
+
return binaryResponse;
|
|
17
|
+
}
|
|
@@ -7,14 +7,14 @@ export declare namespace Fetcher {
|
|
|
7
7
|
method: string;
|
|
8
8
|
contentType?: string;
|
|
9
9
|
headers?: Record<string, string | Supplier<string | undefined> | undefined>;
|
|
10
|
-
queryParameters?: Record<string,
|
|
10
|
+
queryParameters?: Record<string, unknown>;
|
|
11
11
|
body?: unknown;
|
|
12
12
|
timeoutMs?: number;
|
|
13
13
|
maxRetries?: number;
|
|
14
14
|
withCredentials?: boolean;
|
|
15
15
|
abortSignal?: AbortSignal;
|
|
16
16
|
requestType?: "json" | "file" | "bytes";
|
|
17
|
-
responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer";
|
|
17
|
+
responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer" | "binary-response";
|
|
18
18
|
duplex?: "half";
|
|
19
19
|
}
|
|
20
20
|
type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError;
|
|
@@ -15,6 +15,7 @@ const json_1 = require("../json");
|
|
|
15
15
|
const RawResponse_1 = require("./RawResponse");
|
|
16
16
|
const Supplier_1 = require("./Supplier");
|
|
17
17
|
const createRequestUrl_1 = require("./createRequestUrl");
|
|
18
|
+
const getErrorResponseBody_1 = require("./getErrorResponseBody");
|
|
18
19
|
const getFetchFn_1 = require("./getFetchFn");
|
|
19
20
|
const getRequestBody_1 = require("./getRequestBody");
|
|
20
21
|
const getResponseBody_1 = require("./getResponseBody");
|
|
@@ -55,11 +56,10 @@ function fetcherImpl(args) {
|
|
|
55
56
|
const response = yield (0, requestWithRetries_1.requestWithRetries)(() => __awaiter(this, void 0, void 0, function* () {
|
|
56
57
|
return (0, makeRequest_1.makeRequest)(fetchFn, url, args.method, yield getHeaders(args), requestBody, args.timeoutMs, args.abortSignal, args.withCredentials, args.duplex);
|
|
57
58
|
}), args.maxRetries);
|
|
58
|
-
const responseBody = yield (0, getResponseBody_1.getResponseBody)(response, args.responseType);
|
|
59
59
|
if (response.status >= 200 && response.status < 400) {
|
|
60
60
|
return {
|
|
61
61
|
ok: true,
|
|
62
|
-
body:
|
|
62
|
+
body: (yield (0, getResponseBody_1.getResponseBody)(response, args.responseType)),
|
|
63
63
|
headers: response.headers,
|
|
64
64
|
rawResponse: (0, RawResponse_1.toRawResponse)(response),
|
|
65
65
|
};
|
|
@@ -70,7 +70,7 @@ function fetcherImpl(args) {
|
|
|
70
70
|
error: {
|
|
71
71
|
reason: "status-code",
|
|
72
72
|
statusCode: response.status,
|
|
73
|
-
body:
|
|
73
|
+
body: yield (0, getErrorResponseBody_1.getErrorResponseBody)(response),
|
|
74
74
|
},
|
|
75
75
|
rawResponse: (0, RawResponse_1.toRawResponse)(response),
|
|
76
76
|
};
|