@mergeapi/merge-node-client 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +4 -3
- package/Client.js +11 -11
- package/api/resources/accounting/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/accountDetails/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/accountDetails/client/Client.js +4 -4
- package/api/resources/accounting/resources/accountToken/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/accountToken/client/Client.js +4 -4
- package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/accountingPeriods/client/Client.js +8 -8
- package/api/resources/accounting/resources/accounts/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/accounts/client/Client.js +16 -16
- package/api/resources/accounting/resources/addresses/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/addresses/client/Client.js +4 -4
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +9 -12
- package/api/resources/accounting/resources/asyncPassthrough/index.d.ts +1 -0
- package/api/resources/accounting/resources/asyncPassthrough/index.js +1 -0
- package/api/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/api/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/api/resources/accounting/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/api/resources/accounting/resources/asyncPassthrough/types/index.js +17 -0
- package/api/resources/accounting/resources/attachments/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/attachments/client/Client.js +16 -16
- package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/auditTrail/client/Client.js +4 -4
- package/api/resources/accounting/resources/availableActions/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/availableActions/client/Client.js +4 -4
- package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/balanceSheets/client/Client.js +8 -8
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +8 -8
- package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/companyInfo/client/Client.js +8 -8
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/contacts/client/Client.js +20 -20
- package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/creditNotes/client/Client.js +8 -8
- package/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/deleteAccount/client/Client.js +4 -4
- package/api/resources/accounting/resources/expenses/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/expenses/client/Client.js +24 -24
- package/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/fieldMapping/client/Client.js +24 -24
- package/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/forceResync/client/Client.js +4 -4
- package/api/resources/accounting/resources/generateKey/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/generateKey/client/Client.js +4 -4
- package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/incomeStatements/client/Client.js +8 -8
- package/api/resources/accounting/resources/index.d.ts +2 -1
- package/api/resources/accounting/resources/index.js +3 -2
- package/api/resources/accounting/resources/invoices/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/invoices/client/Client.js +32 -32
- package/api/resources/accounting/resources/issues/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/issues/client/Client.js +8 -8
- package/api/resources/accounting/resources/items/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/items/client/Client.js +8 -8
- package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/journalEntries/client/Client.js +24 -24
- package/api/resources/accounting/resources/linkToken/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/linkToken/client/Client.js +4 -4
- package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/linkedAccounts/client/Client.js +4 -4
- package/api/resources/accounting/resources/passthrough/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/passthrough/client/Client.js +4 -4
- package/api/resources/accounting/resources/payments/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/payments/client/Client.js +32 -32
- package/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/phoneNumbers/client/Client.js +4 -4
- package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/purchaseOrders/client/Client.js +24 -24
- package/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/regenerateKey/client/Client.js +4 -4
- package/api/resources/accounting/resources/scopes/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/scopes/client/Client.js +12 -12
- package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/syncStatus/client/Client.js +4 -4
- package/api/resources/accounting/resources/taxRates/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/taxRates/client/Client.js +8 -8
- package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/trackingCategories/client/Client.js +8 -8
- package/api/resources/accounting/resources/transactions/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/transactions/client/Client.js +8 -8
- package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -8
- package/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/api/resources/accounting/resources/webhookReceivers/client/Client.js +8 -8
- package/api/resources/ats/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/accountDetails/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/accountDetails/client/Client.js +4 -4
- package/api/resources/ats/resources/accountToken/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/accountToken/client/Client.js +4 -4
- package/api/resources/ats/resources/activities/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/activities/client/Client.js +16 -16
- package/api/resources/ats/resources/applications/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/applications/client/Client.js +20 -20
- package/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/api/resources/ats/resources/asyncPassthrough/client/Client.js +9 -12
- package/api/resources/ats/resources/asyncPassthrough/index.d.ts +1 -0
- package/api/resources/ats/resources/asyncPassthrough/index.js +1 -0
- package/api/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/api/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/api/resources/ats/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/api/resources/ats/resources/asyncPassthrough/types/index.js +17 -0
- package/api/resources/ats/resources/attachments/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/attachments/client/Client.js +16 -16
- package/api/resources/ats/resources/auditTrail/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/auditTrail/client/Client.js +4 -4
- package/api/resources/ats/resources/availableActions/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/availableActions/client/Client.js +4 -4
- package/api/resources/ats/resources/candidates/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/candidates/client/Client.js +28 -28
- package/api/resources/ats/resources/deleteAccount/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/deleteAccount/client/Client.js +4 -4
- package/api/resources/ats/resources/departments/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/departments/client/Client.js +8 -8
- package/api/resources/ats/resources/eeocs/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/eeocs/client/Client.js +8 -8
- package/api/resources/ats/resources/fieldMapping/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/fieldMapping/client/Client.js +24 -24
- package/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/forceResync/client/Client.js +4 -4
- package/api/resources/ats/resources/generateKey/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/generateKey/client/Client.js +4 -4
- package/api/resources/ats/resources/index.d.ts +2 -1
- package/api/resources/ats/resources/index.js +3 -2
- package/api/resources/ats/resources/interviews/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/interviews/client/Client.js +16 -16
- package/api/resources/ats/resources/issues/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/issues/client/Client.js +8 -8
- package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/jobInterviewStages/client/Client.js +8 -8
- package/api/resources/ats/resources/jobPostings/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/jobPostings/client/Client.js +8 -8
- package/api/resources/ats/resources/jobs/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/jobs/client/Client.js +12 -12
- package/api/resources/ats/resources/linkToken/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/linkToken/client/Client.js +4 -4
- package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/linkedAccounts/client/Client.js +4 -4
- package/api/resources/ats/resources/offers/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/offers/client/Client.js +8 -8
- package/api/resources/ats/resources/offices/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/offices/client/Client.js +8 -8
- package/api/resources/ats/resources/passthrough/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/passthrough/client/Client.js +4 -4
- package/api/resources/ats/resources/regenerateKey/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/regenerateKey/client/Client.js +4 -4
- package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/rejectReasons/client/Client.js +8 -8
- package/api/resources/ats/resources/scopes/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/scopes/client/Client.js +12 -12
- package/api/resources/ats/resources/scorecards/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/scorecards/client/Client.js +8 -8
- package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/syncStatus/client/Client.js +4 -4
- package/api/resources/ats/resources/tags/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/tags/client/Client.js +4 -4
- package/api/resources/ats/resources/users/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/users/client/Client.js +8 -8
- package/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/api/resources/ats/resources/webhookReceivers/client/Client.js +8 -8
- package/api/resources/crm/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/accountDetails/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/accountDetails/client/Client.js +4 -4
- package/api/resources/crm/resources/accountToken/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/accountToken/client/Client.js +4 -4
- package/api/resources/crm/resources/accounts/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/accounts/client/Client.js +28 -28
- package/api/resources/crm/resources/associationTypes/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/associationTypes/client/Client.js +16 -16
- package/api/resources/crm/resources/associations/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/associations/client/Client.js +8 -8
- package/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/api/resources/crm/resources/asyncPassthrough/client/Client.js +9 -12
- package/api/resources/crm/resources/asyncPassthrough/index.d.ts +1 -0
- package/api/resources/crm/resources/asyncPassthrough/index.js +1 -0
- package/api/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/api/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/api/resources/crm/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/api/resources/crm/resources/asyncPassthrough/types/index.js +17 -0
- package/api/resources/crm/resources/auditTrail/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/auditTrail/client/Client.js +4 -4
- package/api/resources/crm/resources/availableActions/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/availableActions/client/Client.js +4 -4
- package/api/resources/crm/resources/contacts/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/contacts/client/Client.js +32 -32
- package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/customObjectClasses/client/Client.js +8 -8
- package/api/resources/crm/resources/customObjects/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/customObjects/client/Client.js +20 -20
- package/api/resources/crm/resources/deleteAccount/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/deleteAccount/client/Client.js +4 -4
- package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/engagementTypes/client/Client.js +12 -12
- package/api/resources/crm/resources/engagements/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/engagements/client/Client.js +28 -28
- package/api/resources/crm/resources/fieldMapping/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/fieldMapping/client/Client.js +24 -24
- package/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/forceResync/client/Client.js +4 -4
- package/api/resources/crm/resources/generateKey/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/generateKey/client/Client.js +4 -4
- package/api/resources/crm/resources/index.d.ts +2 -1
- package/api/resources/crm/resources/index.js +3 -2
- package/api/resources/crm/resources/issues/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/issues/client/Client.js +8 -8
- package/api/resources/crm/resources/leads/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/leads/client/Client.js +20 -20
- package/api/resources/crm/resources/linkToken/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/linkToken/client/Client.js +4 -4
- package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/linkedAccounts/client/Client.js +4 -4
- package/api/resources/crm/resources/notes/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/notes/client/Client.js +20 -20
- package/api/resources/crm/resources/opportunities/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/opportunities/client/Client.js +28 -28
- package/api/resources/crm/resources/passthrough/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/passthrough/client/Client.js +4 -4
- package/api/resources/crm/resources/regenerateKey/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/regenerateKey/client/Client.js +4 -4
- package/api/resources/crm/resources/scopes/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/scopes/client/Client.js +12 -12
- package/api/resources/crm/resources/stages/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/stages/client/Client.js +12 -12
- package/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/syncStatus/client/Client.js +4 -4
- package/api/resources/crm/resources/tasks/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/tasks/client/Client.js +28 -28
- package/api/resources/crm/resources/users/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/users/client/Client.js +16 -16
- package/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/api/resources/crm/resources/webhookReceivers/client/Client.js +8 -8
- package/api/resources/filestorage/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/accountDetails/client/Client.js +4 -4
- package/api/resources/filestorage/resources/accountToken/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/accountToken/client/Client.js +4 -4
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +9 -12
- package/api/resources/filestorage/resources/asyncPassthrough/index.d.ts +1 -0
- package/api/resources/filestorage/resources/asyncPassthrough/index.js +1 -0
- package/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/api/resources/filestorage/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/api/resources/filestorage/resources/asyncPassthrough/types/index.js +17 -0
- package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/auditTrail/client/Client.js +4 -4
- package/api/resources/filestorage/resources/availableActions/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/availableActions/client/Client.js +4 -4
- package/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/deleteAccount/client/Client.js +4 -4
- package/api/resources/filestorage/resources/drives/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/drives/client/Client.js +8 -8
- package/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/fieldMapping/client/Client.js +24 -24
- package/api/resources/filestorage/resources/files/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/files/client/Client.js +20 -20
- package/api/resources/filestorage/resources/folders/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/folders/client/Client.js +16 -16
- package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/forceResync/client/Client.js +4 -4
- package/api/resources/filestorage/resources/generateKey/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/generateKey/client/Client.js +4 -4
- package/api/resources/filestorage/resources/groups/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/groups/client/Client.js +8 -8
- package/api/resources/filestorage/resources/index.d.ts +2 -1
- package/api/resources/filestorage/resources/index.js +3 -2
- package/api/resources/filestorage/resources/issues/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/issues/client/Client.js +8 -8
- package/api/resources/filestorage/resources/linkToken/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/linkToken/client/Client.js +4 -4
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +4 -4
- package/api/resources/filestorage/resources/passthrough/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/passthrough/client/Client.js +4 -4
- package/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/regenerateKey/client/Client.js +4 -4
- package/api/resources/filestorage/resources/scopes/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/scopes/client/Client.js +12 -12
- package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/syncStatus/client/Client.js +4 -4
- package/api/resources/filestorage/resources/users/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/users/client/Client.js +8 -8
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +8 -8
- package/api/resources/hris/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/accountDetails/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/accountDetails/client/Client.js +4 -4
- package/api/resources/hris/resources/accountToken/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/accountToken/client/Client.js +4 -4
- package/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/api/resources/hris/resources/asyncPassthrough/client/Client.js +9 -12
- package/api/resources/hris/resources/asyncPassthrough/index.d.ts +1 -0
- package/api/resources/hris/resources/asyncPassthrough/index.js +1 -0
- package/api/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/api/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/api/resources/hris/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/api/resources/hris/resources/asyncPassthrough/types/index.js +17 -0
- package/api/resources/hris/resources/auditTrail/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/auditTrail/client/Client.js +4 -4
- package/api/resources/hris/resources/availableActions/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/availableActions/client/Client.js +4 -4
- package/api/resources/hris/resources/bankInfo/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/bankInfo/client/Client.js +8 -8
- package/api/resources/hris/resources/benefits/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/benefits/client/Client.js +8 -8
- package/api/resources/hris/resources/companies/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/companies/client/Client.js +8 -8
- package/api/resources/hris/resources/deleteAccount/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/deleteAccount/client/Client.js +4 -4
- package/api/resources/hris/resources/dependents/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/dependents/client/Client.js +8 -8
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +8 -8
- package/api/resources/hris/resources/employees/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/employees/client/Client.js +20 -20
- package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/employerBenefits/client/Client.js +8 -8
- package/api/resources/hris/resources/employments/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/employments/client/Client.js +8 -8
- package/api/resources/hris/resources/fieldMapping/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/fieldMapping/client/Client.js +24 -24
- package/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/forceResync/client/Client.js +4 -4
- package/api/resources/hris/resources/generateKey/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/generateKey/client/Client.js +4 -4
- package/api/resources/hris/resources/groups/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/groups/client/Client.js +8 -8
- package/api/resources/hris/resources/index.d.ts +2 -1
- package/api/resources/hris/resources/index.js +3 -2
- package/api/resources/hris/resources/issues/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/issues/client/Client.js +8 -8
- package/api/resources/hris/resources/linkToken/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/linkToken/client/Client.js +4 -4
- package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/linkedAccounts/client/Client.js +4 -4
- package/api/resources/hris/resources/locations/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/locations/client/Client.js +8 -8
- package/api/resources/hris/resources/passthrough/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/passthrough/client/Client.js +4 -4
- package/api/resources/hris/resources/payGroups/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/payGroups/client/Client.js +8 -8
- package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/payrollRuns/client/Client.js +8 -8
- package/api/resources/hris/resources/regenerateKey/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/regenerateKey/client/Client.js +4 -4
- package/api/resources/hris/resources/scopes/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/scopes/client/Client.js +12 -12
- package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/syncStatus/client/Client.js +4 -4
- package/api/resources/hris/resources/teams/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/teams/client/Client.js +8 -8
- package/api/resources/hris/resources/timeOff/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/timeOff/client/Client.js +16 -16
- package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/timeOffBalances/client/Client.js +8 -8
- package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/timesheetEntries/client/Client.js +16 -16
- package/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/api/resources/hris/resources/webhookReceivers/client/Client.js +8 -8
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/accountDetails/client/Client.js +4 -4
- package/api/resources/ticketing/resources/accountToken/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/accountToken/client/Client.js +4 -4
- package/api/resources/ticketing/resources/accounts/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/accounts/client/Client.js +8 -8
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +9 -12
- package/api/resources/ticketing/resources/asyncPassthrough/index.d.ts +1 -0
- package/api/resources/ticketing/resources/asyncPassthrough/index.js +1 -0
- package/api/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/api/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/api/resources/ticketing/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/api/resources/ticketing/resources/asyncPassthrough/types/index.js +17 -0
- package/api/resources/ticketing/resources/attachments/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/attachments/client/Client.js +20 -20
- package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/auditTrail/client/Client.js +4 -4
- package/api/resources/ticketing/resources/availableActions/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/availableActions/client/Client.js +4 -4
- package/api/resources/ticketing/resources/collections/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/collections/client/Client.js +12 -12
- package/api/resources/ticketing/resources/comments/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/comments/client/Client.js +16 -16
- package/api/resources/ticketing/resources/contacts/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/contacts/client/Client.js +16 -16
- package/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/deleteAccount/client/Client.js +4 -4
- package/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/fieldMapping/client/Client.js +24 -24
- package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/forceResync/client/Client.js +4 -4
- package/api/resources/ticketing/resources/generateKey/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/generateKey/client/Client.js +4 -4
- package/api/resources/ticketing/resources/index.d.ts +2 -1
- package/api/resources/ticketing/resources/index.js +3 -2
- package/api/resources/ticketing/resources/issues/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/issues/client/Client.js +8 -8
- package/api/resources/ticketing/resources/linkToken/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/linkToken/client/Client.js +4 -4
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +4 -4
- package/api/resources/ticketing/resources/passthrough/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/passthrough/client/Client.js +4 -4
- package/api/resources/ticketing/resources/projects/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/projects/client/Client.js +12 -12
- package/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/regenerateKey/client/Client.js +4 -4
- package/api/resources/ticketing/resources/roles/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/roles/client/Client.js +8 -8
- package/api/resources/ticketing/resources/scopes/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/scopes/client/Client.js +12 -12
- package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/syncStatus/client/Client.js +4 -4
- package/api/resources/ticketing/resources/tags/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/tags/client/Client.js +8 -8
- package/api/resources/ticketing/resources/teams/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/teams/client/Client.js +8 -8
- package/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/tickets/client/Client.js +32 -32
- package/api/resources/ticketing/resources/users/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/users/client/Client.js +8 -8
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/Client.d.ts +4 -3
- package/dist/Client.js +11 -11
- package/dist/api/resources/accounting/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/accountToken/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accountToken/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/accounts/client/Client.js +16 -16
- package/dist/api/resources/accounting/resources/addresses/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/addresses/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +9 -12
- package/dist/api/resources/accounting/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/index.js +1 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/attachments/client/Client.js +16 -16
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/availableActions/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/availableActions/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +20 -20
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/expenses/client/Client.js +24 -24
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +24 -24
- package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/forceResync/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/generateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/generateKey/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/index.d.ts +2 -1
- package/dist/api/resources/accounting/resources/index.js +3 -2
- package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/invoices/client/Client.js +32 -32
- package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/issues/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/items/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/items/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +24 -24
- package/dist/api/resources/accounting/resources/linkToken/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkToken/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/passthrough/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/passthrough/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/payments/client/Client.js +32 -32
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +24 -24
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/scopes/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/scopes/client/Client.js +12 -12
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +4 -4
- package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/taxRates/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/transactions/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -8
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/api/resources/ats/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/accountDetails/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/accountToken/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/accountToken/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/activities/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/activities/client/Client.js +16 -16
- package/dist/api/resources/ats/resources/applications/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/applications/client/Client.js +20 -20
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +9 -12
- package/dist/api/resources/ats/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/index.js +1 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/api/resources/ats/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/attachments/client/Client.js +16 -16
- package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/auditTrail/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/availableActions/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/availableActions/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/candidates/client/Client.js +28 -28
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/departments/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/departments/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/eeocs/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +24 -24
- package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/forceResync/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/generateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/generateKey/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/index.d.ts +2 -1
- package/dist/api/resources/ats/resources/index.js +3 -2
- package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/interviews/client/Client.js +16 -16
- package/dist/api/resources/ats/resources/issues/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/issues/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobPostings/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/jobs/client/Client.js +12 -12
- package/dist/api/resources/ats/resources/linkToken/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkToken/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/offers/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/offers/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/offices/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/offices/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/passthrough/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/passthrough/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/scopes/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/scopes/client/Client.js +12 -12
- package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/scorecards/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/syncStatus/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/tags/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/tags/client/Client.js +4 -4
- package/dist/api/resources/ats/resources/users/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/users/client/Client.js +8 -8
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/api/resources/crm/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/accountDetails/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/accountToken/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/accountToken/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/accounts/client/Client.js +28 -28
- package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/associationTypes/client/Client.js +16 -16
- package/dist/api/resources/crm/resources/associations/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/associations/client/Client.js +8 -8
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +9 -12
- package/dist/api/resources/crm/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/index.js +1 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/api/resources/crm/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/auditTrail/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/availableActions/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/availableActions/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/contacts/client/Client.js +32 -32
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +8 -8
- package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/customObjects/client/Client.js +20 -20
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +12 -12
- package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/engagements/client/Client.js +28 -28
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +24 -24
- package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/forceResync/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/generateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/generateKey/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/index.d.ts +2 -1
- package/dist/api/resources/crm/resources/index.js +3 -2
- package/dist/api/resources/crm/resources/issues/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/issues/client/Client.js +8 -8
- package/dist/api/resources/crm/resources/leads/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/leads/client/Client.js +20 -20
- package/dist/api/resources/crm/resources/linkToken/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkToken/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/notes/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/notes/client/Client.js +20 -20
- package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/opportunities/client/Client.js +28 -28
- package/dist/api/resources/crm/resources/passthrough/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/passthrough/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/scopes/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/scopes/client/Client.js +12 -12
- package/dist/api/resources/crm/resources/stages/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/stages/client/Client.js +12 -12
- package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/syncStatus/client/Client.js +4 -4
- package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/tasks/client/Client.js +28 -28
- package/dist/api/resources/crm/resources/users/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/users/client/Client.js +16 -16
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/api/resources/filestorage/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +9 -12
- package/dist/api/resources/filestorage/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/index.js +1 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/drives/client/Client.js +8 -8
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +24 -24
- package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.js +20 -20
- package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/folders/client/Client.js +16 -16
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/groups/client/Client.js +8 -8
- package/dist/api/resources/filestorage/resources/index.d.ts +2 -1
- package/dist/api/resources/filestorage/resources/index.js +3 -2
- package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/issues/client/Client.js +8 -8
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/scopes/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/scopes/client/Client.js +12 -12
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +4 -4
- package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/users/client/Client.js +8 -8
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/api/resources/hris/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/accountDetails/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/accountToken/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/accountToken/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +9 -12
- package/dist/api/resources/hris/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/index.js +1 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/api/resources/hris/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/auditTrail/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/availableActions/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/availableActions/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/bankInfo/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/benefits/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/companies/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/companies/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/dependents/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/employees/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/employees/client/Client.js +20 -20
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/employments/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/employments/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +24 -24
- package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/forceResync/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/generateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/generateKey/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/groups/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/groups/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/index.d.ts +2 -1
- package/dist/api/resources/hris/resources/index.js +3 -2
- package/dist/api/resources/hris/resources/issues/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/issues/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/linkToken/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkToken/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/locations/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/locations/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/passthrough/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/passthrough/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/payGroups/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/scopes/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/scopes/client/Client.js +12 -12
- package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/syncStatus/client/Client.js +4 -4
- package/dist/api/resources/hris/resources/teams/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/teams/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/timeOff/client/Client.js +16 -16
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +8 -8
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +16 -16
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/accounts/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.d.ts +2 -4
- package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +9 -12
- package/dist/api/resources/ticketing/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/index.js +1 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +5 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +5 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/attachments/client/Client.js +20 -20
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/collections/client/Client.js +12 -12
- package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/comments/client/Client.js +16 -16
- package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/contacts/client/Client.js +16 -16
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +24 -24
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/index.d.ts +2 -1
- package/dist/api/resources/ticketing/resources/index.js +3 -2
- package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/issues/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/projects/client/Client.js +12 -12
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/roles/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/scopes/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/scopes/client/Client.js +12 -12
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +4 -4
- package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/tags/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/teams/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +32 -32
- package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/users/client/Client.js +8 -8
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.d.ts +1 -0
- package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +8 -8
- package/dist/serialization/resources/accounting/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/asyncPassthrough/index.js +17 -0
- package/dist/serialization/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/dist/serialization/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/dist/serialization/resources/accounting/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/serialization/resources/accounting/resources/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/resources/index.js +3 -1
- package/dist/serialization/resources/ats/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/serialization/resources/ats/resources/asyncPassthrough/index.js +17 -0
- package/dist/serialization/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/dist/serialization/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/dist/serialization/resources/ats/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/serialization/resources/ats/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/serialization/resources/ats/resources/index.d.ts +2 -0
- package/dist/serialization/resources/ats/resources/index.js +3 -1
- package/dist/serialization/resources/crm/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/serialization/resources/crm/resources/asyncPassthrough/index.js +17 -0
- package/dist/serialization/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/dist/serialization/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/dist/serialization/resources/crm/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/serialization/resources/crm/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/serialization/resources/crm/resources/index.d.ts +2 -0
- package/dist/serialization/resources/crm/resources/index.js +3 -1
- package/dist/serialization/resources/filestorage/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/serialization/resources/filestorage/resources/asyncPassthrough/index.js +17 -0
- package/dist/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/dist/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/dist/serialization/resources/filestorage/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/serialization/resources/filestorage/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/serialization/resources/filestorage/resources/index.d.ts +2 -0
- package/dist/serialization/resources/filestorage/resources/index.js +3 -1
- package/dist/serialization/resources/hris/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/serialization/resources/hris/resources/asyncPassthrough/index.js +17 -0
- package/dist/serialization/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/dist/serialization/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/dist/serialization/resources/hris/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/serialization/resources/hris/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/serialization/resources/hris/resources/index.d.ts +2 -0
- package/dist/serialization/resources/hris/resources/index.js +3 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/resources/asyncPassthrough/index.d.ts +1 -0
- package/dist/serialization/resources/ticketing/resources/asyncPassthrough/index.js +17 -0
- package/dist/serialization/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/dist/serialization/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/dist/serialization/resources/ticketing/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/dist/serialization/resources/ticketing/resources/asyncPassthrough/types/index.js +17 -0
- package/dist/serialization/resources/ticketing/resources/index.d.ts +2 -0
- package/dist/serialization/resources/ticketing/resources/index.js +3 -1
- package/package.json +1 -1
- package/serialization/resources/accounting/resources/asyncPassthrough/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/asyncPassthrough/index.js +17 -0
- package/serialization/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/serialization/resources/accounting/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/serialization/resources/accounting/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/asyncPassthrough/types/index.js +17 -0
- package/serialization/resources/accounting/resources/index.d.ts +2 -0
- package/serialization/resources/accounting/resources/index.js +3 -1
- package/serialization/resources/ats/resources/asyncPassthrough/index.d.ts +1 -0
- package/serialization/resources/ats/resources/asyncPassthrough/index.js +17 -0
- package/serialization/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/serialization/resources/ats/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/serialization/resources/ats/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/serialization/resources/ats/resources/asyncPassthrough/types/index.js +17 -0
- package/serialization/resources/ats/resources/index.d.ts +2 -0
- package/serialization/resources/ats/resources/index.js +3 -1
- package/serialization/resources/crm/resources/asyncPassthrough/index.d.ts +1 -0
- package/serialization/resources/crm/resources/asyncPassthrough/index.js +17 -0
- package/serialization/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/serialization/resources/crm/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/serialization/resources/crm/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/serialization/resources/crm/resources/asyncPassthrough/types/index.js +17 -0
- package/serialization/resources/crm/resources/index.d.ts +2 -0
- package/serialization/resources/crm/resources/index.js +3 -1
- package/serialization/resources/filestorage/resources/asyncPassthrough/index.d.ts +1 -0
- package/serialization/resources/filestorage/resources/asyncPassthrough/index.js +17 -0
- package/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/serialization/resources/filestorage/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/serialization/resources/filestorage/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/serialization/resources/filestorage/resources/asyncPassthrough/types/index.js +17 -0
- package/serialization/resources/filestorage/resources/index.d.ts +2 -0
- package/serialization/resources/filestorage/resources/index.js +3 -1
- package/serialization/resources/hris/resources/asyncPassthrough/index.d.ts +1 -0
- package/serialization/resources/hris/resources/asyncPassthrough/index.js +17 -0
- package/serialization/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/serialization/resources/hris/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/serialization/resources/hris/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/serialization/resources/hris/resources/asyncPassthrough/types/index.js +17 -0
- package/serialization/resources/hris/resources/index.d.ts +2 -0
- package/serialization/resources/hris/resources/index.js +3 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/resources/asyncPassthrough/index.d.ts +1 -0
- package/serialization/resources/ticketing/resources/asyncPassthrough/index.js +17 -0
- package/serialization/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.d.ts +10 -0
- package/serialization/resources/ticketing/resources/asyncPassthrough/types/AsyncPassthroughRetrieveResponse.js +43 -0
- package/serialization/resources/ticketing/resources/asyncPassthrough/types/index.d.ts +1 -0
- package/serialization/resources/ticketing/resources/asyncPassthrough/types/index.js +17 -0
- package/serialization/resources/ticketing/resources/index.d.ts +2 -0
- package/serialization/resources/ticketing/resources/index.js +3 -1
|
@@ -66,7 +66,7 @@ class Leads {
|
|
|
66
66
|
* await merge.crm.leads.list({})
|
|
67
67
|
*/
|
|
68
68
|
list(request = {}, requestOptions) {
|
|
69
|
-
var _a;
|
|
69
|
+
var _a, _b;
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
71
|
const { convertedAccountId, convertedContactId, createdAfter, createdBefore, cursor, emailAddresses, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, modifiedAfter, modifiedBefore, ownerId, pageSize, phoneNumbers, remoteId, } = request;
|
|
72
72
|
const _queryParams = {};
|
|
@@ -121,8 +121,8 @@ class Leads {
|
|
|
121
121
|
if (remoteId != null) {
|
|
122
122
|
_queryParams["remote_id"] = remoteId;
|
|
123
123
|
}
|
|
124
|
-
const _response = yield core.fetcher({
|
|
125
|
-
url: (0, url_join_1.default)((
|
|
124
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
125
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/leads"),
|
|
126
126
|
method: "GET",
|
|
127
127
|
headers: {
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -131,7 +131,7 @@ class Leads {
|
|
|
131
131
|
: undefined,
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
134
|
-
"X-Fern-SDK-Version": "1.0.
|
|
134
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
135
135
|
},
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
queryParameters: _queryParams,
|
|
@@ -177,7 +177,7 @@ class Leads {
|
|
|
177
177
|
* })
|
|
178
178
|
*/
|
|
179
179
|
create(request, requestOptions) {
|
|
180
|
-
var _a;
|
|
180
|
+
var _a, _b;
|
|
181
181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
182
182
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
183
183
|
const _queryParams = {};
|
|
@@ -187,8 +187,8 @@ class Leads {
|
|
|
187
187
|
if (runAsync != null) {
|
|
188
188
|
_queryParams["run_async"] = runAsync.toString();
|
|
189
189
|
}
|
|
190
|
-
const _response = yield core.fetcher({
|
|
191
|
-
url: (0, url_join_1.default)((
|
|
190
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
191
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/leads"),
|
|
192
192
|
method: "POST",
|
|
193
193
|
headers: {
|
|
194
194
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -197,7 +197,7 @@ class Leads {
|
|
|
197
197
|
: undefined,
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
200
|
-
"X-Fern-SDK-Version": "1.0.
|
|
200
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
201
201
|
},
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
queryParameters: _queryParams,
|
|
@@ -242,7 +242,7 @@ class Leads {
|
|
|
242
242
|
* await merge.crm.leads.retrieve("id", {})
|
|
243
243
|
*/
|
|
244
244
|
retrieve(id, request = {}, requestOptions) {
|
|
245
|
-
var _a;
|
|
245
|
+
var _a, _b;
|
|
246
246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
247
247
|
const { expand, includeRemoteData, includeRemoteFields } = request;
|
|
248
248
|
const _queryParams = {};
|
|
@@ -255,8 +255,8 @@ class Leads {
|
|
|
255
255
|
if (includeRemoteFields != null) {
|
|
256
256
|
_queryParams["include_remote_fields"] = includeRemoteFields.toString();
|
|
257
257
|
}
|
|
258
|
-
const _response = yield core.fetcher({
|
|
259
|
-
url: (0, url_join_1.default)((
|
|
258
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
259
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/leads/${id}`),
|
|
260
260
|
method: "GET",
|
|
261
261
|
headers: {
|
|
262
262
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -265,7 +265,7 @@ class Leads {
|
|
|
265
265
|
: undefined,
|
|
266
266
|
"X-Fern-Language": "JavaScript",
|
|
267
267
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
268
|
-
"X-Fern-SDK-Version": "1.0.
|
|
268
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
269
269
|
},
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
queryParameters: _queryParams,
|
|
@@ -309,10 +309,10 @@ class Leads {
|
|
|
309
309
|
* await merge.crm.leads.metaPostRetrieve()
|
|
310
310
|
*/
|
|
311
311
|
metaPostRetrieve(requestOptions) {
|
|
312
|
-
var _a;
|
|
312
|
+
var _a, _b;
|
|
313
313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
-
const _response = yield core.fetcher({
|
|
315
|
-
url: (0, url_join_1.default)((
|
|
314
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
315
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/leads/meta/post"),
|
|
316
316
|
method: "GET",
|
|
317
317
|
headers: {
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -321,7 +321,7 @@ class Leads {
|
|
|
321
321
|
: undefined,
|
|
322
322
|
"X-Fern-Language": "JavaScript",
|
|
323
323
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
324
|
-
"X-Fern-SDK-Version": "1.0.
|
|
324
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
325
325
|
},
|
|
326
326
|
contentType: "application/json",
|
|
327
327
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -364,7 +364,7 @@ class Leads {
|
|
|
364
364
|
* await merge.crm.leads.remoteFieldClassesList({})
|
|
365
365
|
*/
|
|
366
366
|
remoteFieldClassesList(request = {}, requestOptions) {
|
|
367
|
-
var _a;
|
|
367
|
+
var _a, _b;
|
|
368
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
369
369
|
const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, isCommonModelField, pageSize, } = request;
|
|
370
370
|
const _queryParams = {};
|
|
@@ -389,8 +389,8 @@ class Leads {
|
|
|
389
389
|
if (pageSize != null) {
|
|
390
390
|
_queryParams["page_size"] = pageSize.toString();
|
|
391
391
|
}
|
|
392
|
-
const _response = yield core.fetcher({
|
|
393
|
-
url: (0, url_join_1.default)((
|
|
392
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
393
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/leads/remote-field-classes"),
|
|
394
394
|
method: "GET",
|
|
395
395
|
headers: {
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -399,7 +399,7 @@ class Leads {
|
|
|
399
399
|
: undefined,
|
|
400
400
|
"X-Fern-Language": "JavaScript",
|
|
401
401
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
402
|
-
"X-Fern-SDK-Version": "1.0.
|
|
402
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
403
403
|
},
|
|
404
404
|
contentType: "application/json",
|
|
405
405
|
queryParameters: _queryParams,
|
|
@@ -9,6 +9,7 @@ export declare namespace LinkToken {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|
|
@@ -60,10 +60,10 @@ class LinkToken {
|
|
|
60
60
|
* })
|
|
61
61
|
*/
|
|
62
62
|
create(request, requestOptions) {
|
|
63
|
-
var _a;
|
|
63
|
+
var _a, _b;
|
|
64
64
|
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
const _response = yield core.fetcher({
|
|
66
|
-
url: (0, url_join_1.default)((
|
|
65
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
66
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/link-token"),
|
|
67
67
|
method: "POST",
|
|
68
68
|
headers: {
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -72,7 +72,7 @@ class LinkToken {
|
|
|
72
72
|
: undefined,
|
|
73
73
|
"X-Fern-Language": "JavaScript",
|
|
74
74
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
75
|
-
"X-Fern-SDK-Version": "1.0.
|
|
75
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
76
76
|
},
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
body: yield serializers.crm.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -9,6 +9,7 @@ export declare namespace LinkedAccounts {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|
|
@@ -55,7 +55,7 @@ class LinkedAccounts {
|
|
|
55
55
|
* await merge.crm.linkedAccounts.list({})
|
|
56
56
|
*/
|
|
57
57
|
list(request = {}, requestOptions) {
|
|
58
|
-
var _a;
|
|
58
|
+
var _a, _b;
|
|
59
59
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60
60
|
const { category, cursor, endUserEmailAddress, endUserOrganizationName, endUserOriginId, endUserOriginIds, id, ids, includeDuplicates, integrationName, isTestAccount, pageSize, status, } = request;
|
|
61
61
|
const _queryParams = {};
|
|
@@ -98,8 +98,8 @@ class LinkedAccounts {
|
|
|
98
98
|
if (status != null) {
|
|
99
99
|
_queryParams["status"] = status;
|
|
100
100
|
}
|
|
101
|
-
const _response = yield core.fetcher({
|
|
102
|
-
url: (0, url_join_1.default)((
|
|
101
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
102
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/linked-accounts"),
|
|
103
103
|
method: "GET",
|
|
104
104
|
headers: {
|
|
105
105
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -108,7 +108,7 @@ class LinkedAccounts {
|
|
|
108
108
|
: undefined,
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
111
|
-
"X-Fern-SDK-Version": "1.0.
|
|
111
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
queryParameters: _queryParams,
|
|
@@ -9,6 +9,7 @@ export declare namespace Notes {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|
|
@@ -66,7 +66,7 @@ class Notes {
|
|
|
66
66
|
* await merge.crm.notes.list({})
|
|
67
67
|
*/
|
|
68
68
|
list(request = {}, requestOptions) {
|
|
69
|
-
var _a;
|
|
69
|
+
var _a, _b;
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
71
|
const { accountId, contactId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, modifiedAfter, modifiedBefore, opportunityId, ownerId, pageSize, remoteId, } = request;
|
|
72
72
|
const _queryParams = {};
|
|
@@ -118,8 +118,8 @@ class Notes {
|
|
|
118
118
|
if (remoteId != null) {
|
|
119
119
|
_queryParams["remote_id"] = remoteId;
|
|
120
120
|
}
|
|
121
|
-
const _response = yield core.fetcher({
|
|
122
|
-
url: (0, url_join_1.default)((
|
|
121
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
122
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/notes"),
|
|
123
123
|
method: "GET",
|
|
124
124
|
headers: {
|
|
125
125
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -128,7 +128,7 @@ class Notes {
|
|
|
128
128
|
: undefined,
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
131
|
-
"X-Fern-SDK-Version": "1.0.
|
|
131
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
queryParameters: _queryParams,
|
|
@@ -174,7 +174,7 @@ class Notes {
|
|
|
174
174
|
* })
|
|
175
175
|
*/
|
|
176
176
|
create(request, requestOptions) {
|
|
177
|
-
var _a;
|
|
177
|
+
var _a, _b;
|
|
178
178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
179
179
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
180
180
|
const _queryParams = {};
|
|
@@ -184,8 +184,8 @@ class Notes {
|
|
|
184
184
|
if (runAsync != null) {
|
|
185
185
|
_queryParams["run_async"] = runAsync.toString();
|
|
186
186
|
}
|
|
187
|
-
const _response = yield core.fetcher({
|
|
188
|
-
url: (0, url_join_1.default)((
|
|
187
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
188
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/notes"),
|
|
189
189
|
method: "POST",
|
|
190
190
|
headers: {
|
|
191
191
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -194,7 +194,7 @@ class Notes {
|
|
|
194
194
|
: undefined,
|
|
195
195
|
"X-Fern-Language": "JavaScript",
|
|
196
196
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
197
|
-
"X-Fern-SDK-Version": "1.0.
|
|
197
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
198
198
|
},
|
|
199
199
|
contentType: "application/json",
|
|
200
200
|
queryParameters: _queryParams,
|
|
@@ -239,7 +239,7 @@ class Notes {
|
|
|
239
239
|
* await merge.crm.notes.retrieve("id", {})
|
|
240
240
|
*/
|
|
241
241
|
retrieve(id, request = {}, requestOptions) {
|
|
242
|
-
var _a;
|
|
242
|
+
var _a, _b;
|
|
243
243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
244
244
|
const { expand, includeRemoteData, includeRemoteFields } = request;
|
|
245
245
|
const _queryParams = {};
|
|
@@ -252,8 +252,8 @@ class Notes {
|
|
|
252
252
|
if (includeRemoteFields != null) {
|
|
253
253
|
_queryParams["include_remote_fields"] = includeRemoteFields.toString();
|
|
254
254
|
}
|
|
255
|
-
const _response = yield core.fetcher({
|
|
256
|
-
url: (0, url_join_1.default)((
|
|
255
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
256
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/notes/${id}`),
|
|
257
257
|
method: "GET",
|
|
258
258
|
headers: {
|
|
259
259
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -262,7 +262,7 @@ class Notes {
|
|
|
262
262
|
: undefined,
|
|
263
263
|
"X-Fern-Language": "JavaScript",
|
|
264
264
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
265
|
-
"X-Fern-SDK-Version": "1.0.
|
|
265
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
266
266
|
},
|
|
267
267
|
contentType: "application/json",
|
|
268
268
|
queryParameters: _queryParams,
|
|
@@ -306,10 +306,10 @@ class Notes {
|
|
|
306
306
|
* await merge.crm.notes.metaPostRetrieve()
|
|
307
307
|
*/
|
|
308
308
|
metaPostRetrieve(requestOptions) {
|
|
309
|
-
var _a;
|
|
309
|
+
var _a, _b;
|
|
310
310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
-
const _response = yield core.fetcher({
|
|
312
|
-
url: (0, url_join_1.default)((
|
|
311
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
312
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/notes/meta/post"),
|
|
313
313
|
method: "GET",
|
|
314
314
|
headers: {
|
|
315
315
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -318,7 +318,7 @@ class Notes {
|
|
|
318
318
|
: undefined,
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
321
|
-
"X-Fern-SDK-Version": "1.0.
|
|
321
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
322
322
|
},
|
|
323
323
|
contentType: "application/json",
|
|
324
324
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -361,7 +361,7 @@ class Notes {
|
|
|
361
361
|
* await merge.crm.notes.remoteFieldClassesList({})
|
|
362
362
|
*/
|
|
363
363
|
remoteFieldClassesList(request = {}, requestOptions) {
|
|
364
|
-
var _a;
|
|
364
|
+
var _a, _b;
|
|
365
365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
366
366
|
const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, isCommonModelField, pageSize, } = request;
|
|
367
367
|
const _queryParams = {};
|
|
@@ -386,8 +386,8 @@ class Notes {
|
|
|
386
386
|
if (pageSize != null) {
|
|
387
387
|
_queryParams["page_size"] = pageSize.toString();
|
|
388
388
|
}
|
|
389
|
-
const _response = yield core.fetcher({
|
|
390
|
-
url: (0, url_join_1.default)((
|
|
389
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
390
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/notes/remote-field-classes"),
|
|
391
391
|
method: "GET",
|
|
392
392
|
headers: {
|
|
393
393
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -396,7 +396,7 @@ class Notes {
|
|
|
396
396
|
: undefined,
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
399
|
-
"X-Fern-SDK-Version": "1.0.
|
|
399
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
400
400
|
},
|
|
401
401
|
contentType: "application/json",
|
|
402
402
|
queryParameters: _queryParams,
|
|
@@ -9,6 +9,7 @@ export declare namespace Opportunities {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|
|
@@ -66,7 +66,7 @@ class Opportunities {
|
|
|
66
66
|
* await merge.crm.opportunities.list({})
|
|
67
67
|
*/
|
|
68
68
|
list(request = {}, requestOptions) {
|
|
69
|
-
var _a;
|
|
69
|
+
var _a, _b;
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
71
|
const { accountId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, modifiedAfter, modifiedBefore, ownerId, pageSize, remoteCreatedAfter, remoteFields, remoteId, showEnumOrigins, stageId, status, } = request;
|
|
72
72
|
const _queryParams = {};
|
|
@@ -127,8 +127,8 @@ class Opportunities {
|
|
|
127
127
|
if (status != null) {
|
|
128
128
|
_queryParams["status"] = status;
|
|
129
129
|
}
|
|
130
|
-
const _response = yield core.fetcher({
|
|
131
|
-
url: (0, url_join_1.default)((
|
|
130
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
131
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/opportunities"),
|
|
132
132
|
method: "GET",
|
|
133
133
|
headers: {
|
|
134
134
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -137,7 +137,7 @@ class Opportunities {
|
|
|
137
137
|
: undefined,
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
140
|
-
"X-Fern-SDK-Version": "1.0.
|
|
140
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
141
141
|
},
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
queryParameters: _queryParams,
|
|
@@ -183,7 +183,7 @@ class Opportunities {
|
|
|
183
183
|
* })
|
|
184
184
|
*/
|
|
185
185
|
create(request, requestOptions) {
|
|
186
|
-
var _a;
|
|
186
|
+
var _a, _b;
|
|
187
187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
188
188
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
189
189
|
const _queryParams = {};
|
|
@@ -193,8 +193,8 @@ class Opportunities {
|
|
|
193
193
|
if (runAsync != null) {
|
|
194
194
|
_queryParams["run_async"] = runAsync.toString();
|
|
195
195
|
}
|
|
196
|
-
const _response = yield core.fetcher({
|
|
197
|
-
url: (0, url_join_1.default)((
|
|
196
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
197
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/opportunities"),
|
|
198
198
|
method: "POST",
|
|
199
199
|
headers: {
|
|
200
200
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -203,7 +203,7 @@ class Opportunities {
|
|
|
203
203
|
: undefined,
|
|
204
204
|
"X-Fern-Language": "JavaScript",
|
|
205
205
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
206
|
-
"X-Fern-SDK-Version": "1.0.
|
|
206
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
207
207
|
},
|
|
208
208
|
contentType: "application/json",
|
|
209
209
|
queryParameters: _queryParams,
|
|
@@ -250,7 +250,7 @@ class Opportunities {
|
|
|
250
250
|
* await merge.crm.opportunities.retrieve("id", {})
|
|
251
251
|
*/
|
|
252
252
|
retrieve(id, request = {}, requestOptions) {
|
|
253
|
-
var _a;
|
|
253
|
+
var _a, _b;
|
|
254
254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
255
255
|
const { expand, includeRemoteData, includeRemoteFields, remoteFields, showEnumOrigins } = request;
|
|
256
256
|
const _queryParams = {};
|
|
@@ -269,8 +269,8 @@ class Opportunities {
|
|
|
269
269
|
if (showEnumOrigins != null) {
|
|
270
270
|
_queryParams["show_enum_origins"] = showEnumOrigins;
|
|
271
271
|
}
|
|
272
|
-
const _response = yield core.fetcher({
|
|
273
|
-
url: (0, url_join_1.default)((
|
|
272
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
273
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/opportunities/${id}`),
|
|
274
274
|
method: "GET",
|
|
275
275
|
headers: {
|
|
276
276
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -279,7 +279,7 @@ class Opportunities {
|
|
|
279
279
|
: undefined,
|
|
280
280
|
"X-Fern-Language": "JavaScript",
|
|
281
281
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
282
|
-
"X-Fern-SDK-Version": "1.0.
|
|
282
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
283
283
|
},
|
|
284
284
|
contentType: "application/json",
|
|
285
285
|
queryParameters: _queryParams,
|
|
@@ -325,7 +325,7 @@ class Opportunities {
|
|
|
325
325
|
* })
|
|
326
326
|
*/
|
|
327
327
|
partialUpdate(id, request, requestOptions) {
|
|
328
|
-
var _a;
|
|
328
|
+
var _a, _b;
|
|
329
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
330
330
|
const { isDebugMode, runAsync } = request, _body = __rest(request, ["isDebugMode", "runAsync"]);
|
|
331
331
|
const _queryParams = {};
|
|
@@ -335,8 +335,8 @@ class Opportunities {
|
|
|
335
335
|
if (runAsync != null) {
|
|
336
336
|
_queryParams["run_async"] = runAsync.toString();
|
|
337
337
|
}
|
|
338
|
-
const _response = yield core.fetcher({
|
|
339
|
-
url: (0, url_join_1.default)((
|
|
338
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
339
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/opportunities/${id}`),
|
|
340
340
|
method: "PATCH",
|
|
341
341
|
headers: {
|
|
342
342
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -345,7 +345,7 @@ class Opportunities {
|
|
|
345
345
|
: undefined,
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
348
|
-
"X-Fern-SDK-Version": "1.0.
|
|
348
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
349
349
|
},
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
queryParameters: _queryParams,
|
|
@@ -392,10 +392,10 @@ class Opportunities {
|
|
|
392
392
|
* await merge.crm.opportunities.metaPatchRetrieve("id")
|
|
393
393
|
*/
|
|
394
394
|
metaPatchRetrieve(id, requestOptions) {
|
|
395
|
-
var _a;
|
|
395
|
+
var _a, _b;
|
|
396
396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
397
|
-
const _response = yield core.fetcher({
|
|
398
|
-
url: (0, url_join_1.default)((
|
|
397
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
398
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/opportunities/meta/patch/${id}`),
|
|
399
399
|
method: "GET",
|
|
400
400
|
headers: {
|
|
401
401
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -404,7 +404,7 @@ class Opportunities {
|
|
|
404
404
|
: undefined,
|
|
405
405
|
"X-Fern-Language": "JavaScript",
|
|
406
406
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
407
|
-
"X-Fern-SDK-Version": "1.0.
|
|
407
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
408
408
|
},
|
|
409
409
|
contentType: "application/json",
|
|
410
410
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -447,10 +447,10 @@ class Opportunities {
|
|
|
447
447
|
* await merge.crm.opportunities.metaPostRetrieve()
|
|
448
448
|
*/
|
|
449
449
|
metaPostRetrieve(requestOptions) {
|
|
450
|
-
var _a;
|
|
450
|
+
var _a, _b;
|
|
451
451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
452
|
-
const _response = yield core.fetcher({
|
|
453
|
-
url: (0, url_join_1.default)((
|
|
452
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
453
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/opportunities/meta/post"),
|
|
454
454
|
method: "GET",
|
|
455
455
|
headers: {
|
|
456
456
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -459,7 +459,7 @@ class Opportunities {
|
|
|
459
459
|
: undefined,
|
|
460
460
|
"X-Fern-Language": "JavaScript",
|
|
461
461
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
462
|
-
"X-Fern-SDK-Version": "1.0.
|
|
462
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
463
463
|
},
|
|
464
464
|
contentType: "application/json",
|
|
465
465
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -502,7 +502,7 @@ class Opportunities {
|
|
|
502
502
|
* await merge.crm.opportunities.remoteFieldClassesList({})
|
|
503
503
|
*/
|
|
504
504
|
remoteFieldClassesList(request = {}, requestOptions) {
|
|
505
|
-
var _a;
|
|
505
|
+
var _a, _b;
|
|
506
506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
507
507
|
const { cursor, includeDeletedData, includeRemoteData, includeRemoteFields, includeShellData, isCommonModelField, pageSize, } = request;
|
|
508
508
|
const _queryParams = {};
|
|
@@ -527,8 +527,8 @@ class Opportunities {
|
|
|
527
527
|
if (pageSize != null) {
|
|
528
528
|
_queryParams["page_size"] = pageSize.toString();
|
|
529
529
|
}
|
|
530
|
-
const _response = yield core.fetcher({
|
|
531
|
-
url: (0, url_join_1.default)((
|
|
530
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
531
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/opportunities/remote-field-classes"),
|
|
532
532
|
method: "GET",
|
|
533
533
|
headers: {
|
|
534
534
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -537,7 +537,7 @@ class Opportunities {
|
|
|
537
537
|
: undefined,
|
|
538
538
|
"X-Fern-Language": "JavaScript",
|
|
539
539
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
540
|
-
"X-Fern-SDK-Version": "1.0.
|
|
540
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
541
541
|
},
|
|
542
542
|
contentType: "application/json",
|
|
543
543
|
queryParameters: _queryParams,
|
|
@@ -9,6 +9,7 @@ export declare namespace Passthrough {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|
|
@@ -58,10 +58,10 @@ class Passthrough {
|
|
|
58
58
|
* })
|
|
59
59
|
*/
|
|
60
60
|
create(request, requestOptions) {
|
|
61
|
-
var _a;
|
|
61
|
+
var _a, _b;
|
|
62
62
|
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
-
const _response = yield core.fetcher({
|
|
64
|
-
url: (0, url_join_1.default)((
|
|
63
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
64
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/passthrough"),
|
|
65
65
|
method: "POST",
|
|
66
66
|
headers: {
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -70,7 +70,7 @@ class Passthrough {
|
|
|
70
70
|
: undefined,
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
73
|
-
"X-Fern-SDK-Version": "1.0.
|
|
73
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
74
74
|
},
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
body: yield serializers.crm.DataPassthroughRequest.jsonOrThrow(request, {
|
|
@@ -9,6 +9,7 @@ export declare namespace RegenerateKey {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|
|
@@ -57,10 +57,10 @@ class RegenerateKey {
|
|
|
57
57
|
* })
|
|
58
58
|
*/
|
|
59
59
|
create(request, requestOptions) {
|
|
60
|
-
var _a;
|
|
60
|
+
var _a, _b;
|
|
61
61
|
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
const _response = yield core.fetcher({
|
|
63
|
-
url: (0, url_join_1.default)((
|
|
62
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
63
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "crm/v1/regenerate-key"),
|
|
64
64
|
method: "POST",
|
|
65
65
|
headers: {
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
@@ -69,7 +69,7 @@ class RegenerateKey {
|
|
|
69
69
|
: undefined,
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "@mergeapi/merge-node-client",
|
|
72
|
-
"X-Fern-SDK-Version": "1.0.
|
|
72
|
+
"X-Fern-SDK-Version": "1.0.12",
|
|
73
73
|
},
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.crm.RemoteKeyForRegenerationRequest.jsonOrThrow(request, {
|
|
@@ -9,6 +9,7 @@ export declare namespace Scopes {
|
|
|
9
9
|
environment?: core.Supplier<environments.MergeEnvironment | string>;
|
|
10
10
|
apiKey: core.Supplier<core.BearerToken>;
|
|
11
11
|
accountToken?: core.Supplier<string | undefined>;
|
|
12
|
+
fetcher?: core.FetchFunction;
|
|
12
13
|
}
|
|
13
14
|
interface RequestOptions {
|
|
14
15
|
timeoutInSeconds?: number;
|