@apideck/unify 0.23.3 → 0.24.0
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/README.md +26 -0
- package/docs/sdks/customobjects/README.md +653 -0
- package/docs/sdks/customobjectschemas/README.md +855 -0
- package/docs/sdks/journalentries/README.md +4 -0
- package/funcs/accountingAgedCreditorsGet.js +2 -0
- package/funcs/accountingAgedCreditorsGet.js.map +1 -1
- package/funcs/accountingAgedDebtorsGet.js +2 -0
- package/funcs/accountingAgedDebtorsGet.js.map +1 -1
- package/funcs/accountingAttachmentsDelete.js +2 -0
- package/funcs/accountingAttachmentsDelete.js.map +1 -1
- package/funcs/accountingAttachmentsDownload.js +2 -0
- package/funcs/accountingAttachmentsDownload.js.map +1 -1
- package/funcs/accountingAttachmentsGet.js +2 -0
- package/funcs/accountingAttachmentsGet.js.map +1 -1
- package/funcs/accountingAttachmentsList.js +2 -0
- package/funcs/accountingAttachmentsList.js.map +1 -1
- package/funcs/accountingAttachmentsUpload.js +2 -0
- package/funcs/accountingAttachmentsUpload.js.map +1 -1
- package/funcs/accountingBalanceSheetGet.js +2 -0
- package/funcs/accountingBalanceSheetGet.js.map +1 -1
- package/funcs/accountingBankFeedAccountsCreate.js +2 -0
- package/funcs/accountingBankFeedAccountsCreate.js.map +1 -1
- package/funcs/accountingBankFeedAccountsDelete.js +2 -0
- package/funcs/accountingBankFeedAccountsDelete.js.map +1 -1
- package/funcs/accountingBankFeedAccountsGet.js +2 -0
- package/funcs/accountingBankFeedAccountsGet.js.map +1 -1
- package/funcs/accountingBankFeedAccountsList.js +2 -0
- package/funcs/accountingBankFeedAccountsList.js.map +1 -1
- package/funcs/accountingBankFeedAccountsUpdate.js +2 -0
- package/funcs/accountingBankFeedAccountsUpdate.js.map +1 -1
- package/funcs/accountingBankFeedStatementsCreate.js +2 -0
- package/funcs/accountingBankFeedStatementsCreate.js.map +1 -1
- package/funcs/accountingBankFeedStatementsDelete.js +2 -0
- package/funcs/accountingBankFeedStatementsDelete.js.map +1 -1
- package/funcs/accountingBankFeedStatementsGet.js +2 -0
- package/funcs/accountingBankFeedStatementsGet.js.map +1 -1
- package/funcs/accountingBankFeedStatementsList.js +2 -0
- package/funcs/accountingBankFeedStatementsList.js.map +1 -1
- package/funcs/accountingBankFeedStatementsUpdate.js +2 -0
- package/funcs/accountingBankFeedStatementsUpdate.js.map +1 -1
- package/funcs/accountingBillPaymentsCreate.js +2 -0
- package/funcs/accountingBillPaymentsCreate.js.map +1 -1
- package/funcs/accountingBillPaymentsDelete.js +2 -0
- package/funcs/accountingBillPaymentsDelete.js.map +1 -1
- package/funcs/accountingBillPaymentsGet.js +2 -0
- package/funcs/accountingBillPaymentsGet.js.map +1 -1
- package/funcs/accountingBillPaymentsList.js +2 -0
- package/funcs/accountingBillPaymentsList.js.map +1 -1
- package/funcs/accountingBillPaymentsUpdate.js +2 -0
- package/funcs/accountingBillPaymentsUpdate.js.map +1 -1
- package/funcs/accountingBillsCreate.js +2 -0
- package/funcs/accountingBillsCreate.js.map +1 -1
- package/funcs/accountingBillsDelete.js +2 -0
- package/funcs/accountingBillsDelete.js.map +1 -1
- package/funcs/accountingBillsGet.js +2 -0
- package/funcs/accountingBillsGet.js.map +1 -1
- package/funcs/accountingBillsList.js +2 -0
- package/funcs/accountingBillsList.js.map +1 -1
- package/funcs/accountingBillsUpdate.js +2 -0
- package/funcs/accountingBillsUpdate.js.map +1 -1
- package/funcs/accountingCompanyInfoGet.js +2 -0
- package/funcs/accountingCompanyInfoGet.js.map +1 -1
- package/funcs/accountingCreditNotesCreate.js +2 -0
- package/funcs/accountingCreditNotesCreate.js.map +1 -1
- package/funcs/accountingCreditNotesDelete.js +2 -0
- package/funcs/accountingCreditNotesDelete.js.map +1 -1
- package/funcs/accountingCreditNotesGet.js +2 -0
- package/funcs/accountingCreditNotesGet.js.map +1 -1
- package/funcs/accountingCreditNotesList.js +2 -0
- package/funcs/accountingCreditNotesList.js.map +1 -1
- package/funcs/accountingCreditNotesUpdate.js +2 -0
- package/funcs/accountingCreditNotesUpdate.js.map +1 -1
- package/funcs/accountingCustomersCreate.js +2 -0
- package/funcs/accountingCustomersCreate.js.map +1 -1
- package/funcs/accountingCustomersDelete.js +2 -0
- package/funcs/accountingCustomersDelete.js.map +1 -1
- package/funcs/accountingCustomersGet.js +2 -0
- package/funcs/accountingCustomersGet.js.map +1 -1
- package/funcs/accountingCustomersList.js +2 -0
- package/funcs/accountingCustomersList.js.map +1 -1
- package/funcs/accountingCustomersUpdate.js +2 -0
- package/funcs/accountingCustomersUpdate.js.map +1 -1
- package/funcs/accountingDepartmentsCreate.js +2 -0
- package/funcs/accountingDepartmentsCreate.js.map +1 -1
- package/funcs/accountingDepartmentsDelete.js +2 -0
- package/funcs/accountingDepartmentsDelete.js.map +1 -1
- package/funcs/accountingDepartmentsGet.js +2 -0
- package/funcs/accountingDepartmentsGet.js.map +1 -1
- package/funcs/accountingDepartmentsList.js +2 -0
- package/funcs/accountingDepartmentsList.js.map +1 -1
- package/funcs/accountingDepartmentsUpdate.js +2 -0
- package/funcs/accountingDepartmentsUpdate.js.map +1 -1
- package/funcs/accountingExpensesCreate.js +2 -0
- package/funcs/accountingExpensesCreate.js.map +1 -1
- package/funcs/accountingExpensesDelete.js +2 -0
- package/funcs/accountingExpensesDelete.js.map +1 -1
- package/funcs/accountingExpensesGet.js +2 -0
- package/funcs/accountingExpensesGet.js.map +1 -1
- package/funcs/accountingExpensesList.js +2 -0
- package/funcs/accountingExpensesList.js.map +1 -1
- package/funcs/accountingExpensesUpdate.js +2 -0
- package/funcs/accountingExpensesUpdate.js.map +1 -1
- package/funcs/accountingInvoiceItemsCreate.js +2 -0
- package/funcs/accountingInvoiceItemsCreate.js.map +1 -1
- package/funcs/accountingInvoiceItemsDelete.js +2 -0
- package/funcs/accountingInvoiceItemsDelete.js.map +1 -1
- package/funcs/accountingInvoiceItemsGet.js +2 -0
- package/funcs/accountingInvoiceItemsGet.js.map +1 -1
- package/funcs/accountingInvoiceItemsList.js +2 -0
- package/funcs/accountingInvoiceItemsList.js.map +1 -1
- package/funcs/accountingInvoiceItemsUpdate.js +2 -0
- package/funcs/accountingInvoiceItemsUpdate.js.map +1 -1
- package/funcs/accountingInvoicesCreate.js +2 -0
- package/funcs/accountingInvoicesCreate.js.map +1 -1
- package/funcs/accountingInvoicesDelete.js +2 -0
- package/funcs/accountingInvoicesDelete.js.map +1 -1
- package/funcs/accountingInvoicesGet.js +2 -0
- package/funcs/accountingInvoicesGet.js.map +1 -1
- package/funcs/accountingInvoicesList.js +2 -0
- package/funcs/accountingInvoicesList.js.map +1 -1
- package/funcs/accountingInvoicesUpdate.js +2 -0
- package/funcs/accountingInvoicesUpdate.js.map +1 -1
- package/funcs/accountingJournalEntriesCreate.js +2 -0
- package/funcs/accountingJournalEntriesCreate.js.map +1 -1
- package/funcs/accountingJournalEntriesDelete.js +2 -0
- package/funcs/accountingJournalEntriesDelete.js.map +1 -1
- package/funcs/accountingJournalEntriesGet.js +2 -0
- package/funcs/accountingJournalEntriesGet.js.map +1 -1
- package/funcs/accountingJournalEntriesList.js +2 -0
- package/funcs/accountingJournalEntriesList.js.map +1 -1
- package/funcs/accountingJournalEntriesUpdate.js +2 -0
- package/funcs/accountingJournalEntriesUpdate.js.map +1 -1
- package/funcs/accountingLedgerAccountsCreate.js +2 -0
- package/funcs/accountingLedgerAccountsCreate.js.map +1 -1
- package/funcs/accountingLedgerAccountsDelete.js +2 -0
- package/funcs/accountingLedgerAccountsDelete.js.map +1 -1
- package/funcs/accountingLedgerAccountsGet.js +2 -0
- package/funcs/accountingLedgerAccountsGet.js.map +1 -1
- package/funcs/accountingLedgerAccountsList.js +2 -0
- package/funcs/accountingLedgerAccountsList.js.map +1 -1
- package/funcs/accountingLedgerAccountsUpdate.js +2 -0
- package/funcs/accountingLedgerAccountsUpdate.js.map +1 -1
- package/funcs/accountingLocationsCreate.js +2 -0
- package/funcs/accountingLocationsCreate.js.map +1 -1
- package/funcs/accountingLocationsDelete.js +2 -0
- package/funcs/accountingLocationsDelete.js.map +1 -1
- package/funcs/accountingLocationsGet.js +2 -0
- package/funcs/accountingLocationsGet.js.map +1 -1
- package/funcs/accountingLocationsList.js +2 -0
- package/funcs/accountingLocationsList.js.map +1 -1
- package/funcs/accountingLocationsUpdate.js +2 -0
- package/funcs/accountingLocationsUpdate.js.map +1 -1
- package/funcs/accountingPaymentsCreate.js +2 -0
- package/funcs/accountingPaymentsCreate.js.map +1 -1
- package/funcs/accountingPaymentsDelete.js +2 -0
- package/funcs/accountingPaymentsDelete.js.map +1 -1
- package/funcs/accountingPaymentsGet.js +2 -0
- package/funcs/accountingPaymentsGet.js.map +1 -1
- package/funcs/accountingPaymentsList.js +2 -0
- package/funcs/accountingPaymentsList.js.map +1 -1
- package/funcs/accountingPaymentsUpdate.js +2 -0
- package/funcs/accountingPaymentsUpdate.js.map +1 -1
- package/funcs/accountingProfitAndLossGet.js +2 -0
- package/funcs/accountingProfitAndLossGet.js.map +1 -1
- package/funcs/accountingPurchaseOrdersCreate.js +2 -0
- package/funcs/accountingPurchaseOrdersCreate.js.map +1 -1
- package/funcs/accountingPurchaseOrdersDelete.js +2 -0
- package/funcs/accountingPurchaseOrdersDelete.js.map +1 -1
- package/funcs/accountingPurchaseOrdersGet.js +2 -0
- package/funcs/accountingPurchaseOrdersGet.js.map +1 -1
- package/funcs/accountingPurchaseOrdersList.js +2 -0
- package/funcs/accountingPurchaseOrdersList.js.map +1 -1
- package/funcs/accountingPurchaseOrdersUpdate.js +2 -0
- package/funcs/accountingPurchaseOrdersUpdate.js.map +1 -1
- package/funcs/accountingSubsidiariesCreate.js +2 -0
- package/funcs/accountingSubsidiariesCreate.js.map +1 -1
- package/funcs/accountingSubsidiariesDelete.js +2 -0
- package/funcs/accountingSubsidiariesDelete.js.map +1 -1
- package/funcs/accountingSubsidiariesGet.js +2 -0
- package/funcs/accountingSubsidiariesGet.js.map +1 -1
- package/funcs/accountingSubsidiariesList.js +2 -0
- package/funcs/accountingSubsidiariesList.js.map +1 -1
- package/funcs/accountingSubsidiariesUpdate.js +2 -0
- package/funcs/accountingSubsidiariesUpdate.js.map +1 -1
- package/funcs/accountingSuppliersCreate.js +2 -0
- package/funcs/accountingSuppliersCreate.js.map +1 -1
- package/funcs/accountingSuppliersDelete.js +2 -0
- package/funcs/accountingSuppliersDelete.js.map +1 -1
- package/funcs/accountingSuppliersGet.js +2 -0
- package/funcs/accountingSuppliersGet.js.map +1 -1
- package/funcs/accountingSuppliersList.js +2 -0
- package/funcs/accountingSuppliersList.js.map +1 -1
- package/funcs/accountingSuppliersUpdate.js +2 -0
- package/funcs/accountingSuppliersUpdate.js.map +1 -1
- package/funcs/accountingTaxRatesCreate.js +2 -0
- package/funcs/accountingTaxRatesCreate.js.map +1 -1
- package/funcs/accountingTaxRatesDelete.js +2 -0
- package/funcs/accountingTaxRatesDelete.js.map +1 -1
- package/funcs/accountingTaxRatesGet.js +2 -0
- package/funcs/accountingTaxRatesGet.js.map +1 -1
- package/funcs/accountingTaxRatesList.js +2 -0
- package/funcs/accountingTaxRatesList.js.map +1 -1
- package/funcs/accountingTaxRatesUpdate.js +2 -0
- package/funcs/accountingTaxRatesUpdate.js.map +1 -1
- package/funcs/accountingTrackingCategoriesCreate.js +2 -0
- package/funcs/accountingTrackingCategoriesCreate.js.map +1 -1
- package/funcs/accountingTrackingCategoriesDelete.js +2 -0
- package/funcs/accountingTrackingCategoriesDelete.js.map +1 -1
- package/funcs/accountingTrackingCategoriesGet.js +2 -0
- package/funcs/accountingTrackingCategoriesGet.js.map +1 -1
- package/funcs/accountingTrackingCategoriesList.js +2 -0
- package/funcs/accountingTrackingCategoriesList.js.map +1 -1
- package/funcs/accountingTrackingCategoriesUpdate.js +2 -0
- package/funcs/accountingTrackingCategoriesUpdate.js.map +1 -1
- package/funcs/atsApplicantsCreate.js +2 -0
- package/funcs/atsApplicantsCreate.js.map +1 -1
- package/funcs/atsApplicantsDelete.js +2 -0
- package/funcs/atsApplicantsDelete.js.map +1 -1
- package/funcs/atsApplicantsGet.js +2 -0
- package/funcs/atsApplicantsGet.js.map +1 -1
- package/funcs/atsApplicantsList.js +2 -0
- package/funcs/atsApplicantsList.js.map +1 -1
- package/funcs/atsApplicantsUpdate.js +2 -0
- package/funcs/atsApplicantsUpdate.js.map +1 -1
- package/funcs/atsApplicationsCreate.js +2 -0
- package/funcs/atsApplicationsCreate.js.map +1 -1
- package/funcs/atsApplicationsDelete.js +2 -0
- package/funcs/atsApplicationsDelete.js.map +1 -1
- package/funcs/atsApplicationsGet.js +2 -0
- package/funcs/atsApplicationsGet.js.map +1 -1
- package/funcs/atsApplicationsList.js +2 -0
- package/funcs/atsApplicationsList.js.map +1 -1
- package/funcs/atsApplicationsUpdate.js +2 -0
- package/funcs/atsApplicationsUpdate.js.map +1 -1
- package/funcs/atsJobsGet.js +2 -0
- package/funcs/atsJobsGet.js.map +1 -1
- package/funcs/atsJobsList.js +2 -0
- package/funcs/atsJobsList.js.map +1 -1
- package/funcs/connectorApiResourceCoverageGet.js +2 -0
- package/funcs/connectorApiResourceCoverageGet.js.map +1 -1
- package/funcs/connectorApiResourcesGet.js +2 -0
- package/funcs/connectorApiResourcesGet.js.map +1 -1
- package/funcs/connectorApisGet.js +2 -0
- package/funcs/connectorApisGet.js.map +1 -1
- package/funcs/connectorApisList.js +2 -0
- package/funcs/connectorApisList.js.map +1 -1
- package/funcs/connectorConnectorDocsGet.js +2 -0
- package/funcs/connectorConnectorDocsGet.js.map +1 -1
- package/funcs/connectorConnectorResourcesGet.js +2 -0
- package/funcs/connectorConnectorResourcesGet.js.map +1 -1
- package/funcs/connectorConnectorsGet.js +2 -0
- package/funcs/connectorConnectorsGet.js.map +1 -1
- package/funcs/connectorConnectorsList.js +2 -0
- package/funcs/connectorConnectorsList.js.map +1 -1
- package/funcs/crmActivitiesCreate.js +2 -0
- package/funcs/crmActivitiesCreate.js.map +1 -1
- package/funcs/crmActivitiesDelete.js +2 -0
- package/funcs/crmActivitiesDelete.js.map +1 -1
- package/funcs/crmActivitiesGet.js +2 -0
- package/funcs/crmActivitiesGet.js.map +1 -1
- package/funcs/crmActivitiesList.js +2 -0
- package/funcs/crmActivitiesList.js.map +1 -1
- package/funcs/crmActivitiesUpdate.js +2 -0
- package/funcs/crmActivitiesUpdate.js.map +1 -1
- package/funcs/crmCompaniesCreate.js +2 -0
- package/funcs/crmCompaniesCreate.js.map +1 -1
- package/funcs/crmCompaniesDelete.js +2 -0
- package/funcs/crmCompaniesDelete.js.map +1 -1
- package/funcs/crmCompaniesGet.js +2 -0
- package/funcs/crmCompaniesGet.js.map +1 -1
- package/funcs/crmCompaniesList.js +2 -0
- package/funcs/crmCompaniesList.js.map +1 -1
- package/funcs/crmCompaniesUpdate.js +2 -0
- package/funcs/crmCompaniesUpdate.js.map +1 -1
- package/funcs/crmContactsCreate.js +2 -0
- package/funcs/crmContactsCreate.js.map +1 -1
- package/funcs/crmContactsDelete.js +2 -0
- package/funcs/crmContactsDelete.js.map +1 -1
- package/funcs/crmContactsGet.js +2 -0
- package/funcs/crmContactsGet.js.map +1 -1
- package/funcs/crmContactsList.js +2 -0
- package/funcs/crmContactsList.js.map +1 -1
- package/funcs/crmContactsUpdate.js +2 -0
- package/funcs/crmContactsUpdate.js.map +1 -1
- package/funcs/crmCustomObjectSchemasCreate.d.ts +17 -0
- package/funcs/crmCustomObjectSchemasCreate.d.ts.map +1 -0
- package/funcs/crmCustomObjectSchemasCreate.js +129 -0
- package/funcs/crmCustomObjectSchemasCreate.js.map +1 -0
- package/funcs/crmCustomObjectSchemasDelete.d.ts +17 -0
- package/funcs/crmCustomObjectSchemasDelete.d.ts.map +1 -0
- package/funcs/crmCustomObjectSchemasDelete.js +132 -0
- package/funcs/crmCustomObjectSchemasDelete.js.map +1 -0
- package/funcs/crmCustomObjectSchemasGet.d.ts +17 -0
- package/funcs/crmCustomObjectSchemasGet.d.ts.map +1 -0
- package/funcs/crmCustomObjectSchemasGet.js +132 -0
- package/funcs/crmCustomObjectSchemasGet.js.map +1 -0
- package/funcs/crmCustomObjectSchemasList.d.ts +20 -0
- package/funcs/crmCustomObjectSchemasList.d.ts.map +1 -0
- package/funcs/crmCustomObjectSchemasList.js +152 -0
- package/funcs/crmCustomObjectSchemasList.js.map +1 -0
- package/funcs/crmCustomObjectSchemasUpdate.d.ts +17 -0
- package/funcs/crmCustomObjectSchemasUpdate.d.ts.map +1 -0
- package/funcs/crmCustomObjectSchemasUpdate.js +135 -0
- package/funcs/crmCustomObjectSchemasUpdate.js.map +1 -0
- package/funcs/crmCustomObjectsCreate.d.ts +17 -0
- package/funcs/crmCustomObjectsCreate.d.ts.map +1 -0
- package/funcs/crmCustomObjectsCreate.js +135 -0
- package/funcs/crmCustomObjectsCreate.js.map +1 -0
- package/funcs/crmCustomObjectsDelete.d.ts +17 -0
- package/funcs/crmCustomObjectsDelete.d.ts.map +1 -0
- package/funcs/crmCustomObjectsDelete.js +138 -0
- package/funcs/crmCustomObjectsDelete.js.map +1 -0
- package/funcs/crmCustomObjectsGet.d.ts +17 -0
- package/funcs/crmCustomObjectsGet.d.ts.map +1 -0
- package/funcs/crmCustomObjectsGet.js +138 -0
- package/funcs/crmCustomObjectsGet.js.map +1 -0
- package/funcs/crmCustomObjectsList.d.ts +20 -0
- package/funcs/crmCustomObjectsList.d.ts.map +1 -0
- package/funcs/crmCustomObjectsList.js +161 -0
- package/funcs/crmCustomObjectsList.js.map +1 -0
- package/funcs/crmCustomObjectsUpdate.d.ts +17 -0
- package/funcs/crmCustomObjectsUpdate.d.ts.map +1 -0
- package/funcs/crmCustomObjectsUpdate.js +139 -0
- package/funcs/crmCustomObjectsUpdate.js.map +1 -0
- package/funcs/crmLeadsCreate.js +2 -0
- package/funcs/crmLeadsCreate.js.map +1 -1
- package/funcs/crmLeadsDelete.js +2 -0
- package/funcs/crmLeadsDelete.js.map +1 -1
- package/funcs/crmLeadsGet.js +2 -0
- package/funcs/crmLeadsGet.js.map +1 -1
- package/funcs/crmLeadsList.js +2 -0
- package/funcs/crmLeadsList.js.map +1 -1
- package/funcs/crmLeadsUpdate.js +2 -0
- package/funcs/crmLeadsUpdate.js.map +1 -1
- package/funcs/crmNotesCreate.js +2 -0
- package/funcs/crmNotesCreate.js.map +1 -1
- package/funcs/crmNotesDelete.js +2 -0
- package/funcs/crmNotesDelete.js.map +1 -1
- package/funcs/crmNotesGet.js +2 -0
- package/funcs/crmNotesGet.js.map +1 -1
- package/funcs/crmNotesList.js +2 -0
- package/funcs/crmNotesList.js.map +1 -1
- package/funcs/crmNotesUpdate.js +2 -0
- package/funcs/crmNotesUpdate.js.map +1 -1
- package/funcs/crmOpportunitiesCreate.js +2 -0
- package/funcs/crmOpportunitiesCreate.js.map +1 -1
- package/funcs/crmOpportunitiesDelete.js +2 -0
- package/funcs/crmOpportunitiesDelete.js.map +1 -1
- package/funcs/crmOpportunitiesGet.js +2 -0
- package/funcs/crmOpportunitiesGet.js.map +1 -1
- package/funcs/crmOpportunitiesList.js +2 -0
- package/funcs/crmOpportunitiesList.js.map +1 -1
- package/funcs/crmOpportunitiesUpdate.js +2 -0
- package/funcs/crmOpportunitiesUpdate.js.map +1 -1
- package/funcs/crmPipelinesCreate.js +2 -0
- package/funcs/crmPipelinesCreate.js.map +1 -1
- package/funcs/crmPipelinesDelete.js +2 -0
- package/funcs/crmPipelinesDelete.js.map +1 -1
- package/funcs/crmPipelinesGet.js +2 -0
- package/funcs/crmPipelinesGet.js.map +1 -1
- package/funcs/crmPipelinesList.js +2 -0
- package/funcs/crmPipelinesList.js.map +1 -1
- package/funcs/crmPipelinesUpdate.js +2 -0
- package/funcs/crmPipelinesUpdate.js.map +1 -1
- package/funcs/crmUsersCreate.js +2 -0
- package/funcs/crmUsersCreate.js.map +1 -1
- package/funcs/crmUsersDelete.js +2 -0
- package/funcs/crmUsersDelete.js.map +1 -1
- package/funcs/crmUsersGet.js +2 -0
- package/funcs/crmUsersGet.js.map +1 -1
- package/funcs/crmUsersList.js +2 -0
- package/funcs/crmUsersList.js.map +1 -1
- package/funcs/crmUsersUpdate.js +2 -0
- package/funcs/crmUsersUpdate.js.map +1 -1
- package/funcs/ecommerceCustomersGet.js +2 -0
- package/funcs/ecommerceCustomersGet.js.map +1 -1
- package/funcs/ecommerceCustomersList.js +2 -0
- package/funcs/ecommerceCustomersList.js.map +1 -1
- package/funcs/ecommerceOrdersGet.js +2 -0
- package/funcs/ecommerceOrdersGet.js.map +1 -1
- package/funcs/ecommerceOrdersList.js +2 -0
- package/funcs/ecommerceOrdersList.js.map +1 -1
- package/funcs/ecommerceProductsGet.js +2 -0
- package/funcs/ecommerceProductsGet.js.map +1 -1
- package/funcs/ecommerceProductsList.js +2 -0
- package/funcs/ecommerceProductsList.js.map +1 -1
- package/funcs/ecommerceStoresGet.js +2 -0
- package/funcs/ecommerceStoresGet.js.map +1 -1
- package/funcs/fileStorageDriveGroupsCreate.js +2 -0
- package/funcs/fileStorageDriveGroupsCreate.js.map +1 -1
- package/funcs/fileStorageDriveGroupsDelete.js +2 -0
- package/funcs/fileStorageDriveGroupsDelete.js.map +1 -1
- package/funcs/fileStorageDriveGroupsGet.js +2 -0
- package/funcs/fileStorageDriveGroupsGet.js.map +1 -1
- package/funcs/fileStorageDriveGroupsList.js +2 -0
- package/funcs/fileStorageDriveGroupsList.js.map +1 -1
- package/funcs/fileStorageDriveGroupsUpdate.js +2 -0
- package/funcs/fileStorageDriveGroupsUpdate.js.map +1 -1
- package/funcs/fileStorageDrivesCreate.js +2 -0
- package/funcs/fileStorageDrivesCreate.js.map +1 -1
- package/funcs/fileStorageDrivesDelete.js +2 -0
- package/funcs/fileStorageDrivesDelete.js.map +1 -1
- package/funcs/fileStorageDrivesGet.js +2 -0
- package/funcs/fileStorageDrivesGet.js.map +1 -1
- package/funcs/fileStorageDrivesList.js +2 -0
- package/funcs/fileStorageDrivesList.js.map +1 -1
- package/funcs/fileStorageDrivesUpdate.js +2 -0
- package/funcs/fileStorageDrivesUpdate.js.map +1 -1
- package/funcs/fileStorageFilesDelete.js +2 -0
- package/funcs/fileStorageFilesDelete.js.map +1 -1
- package/funcs/fileStorageFilesDownload.js +2 -0
- package/funcs/fileStorageFilesDownload.js.map +1 -1
- package/funcs/fileStorageFilesExport.js +2 -0
- package/funcs/fileStorageFilesExport.js.map +1 -1
- package/funcs/fileStorageFilesGet.js +2 -0
- package/funcs/fileStorageFilesGet.js.map +1 -1
- package/funcs/fileStorageFilesList.js +2 -0
- package/funcs/fileStorageFilesList.js.map +1 -1
- package/funcs/fileStorageFilesSearch.js +2 -0
- package/funcs/fileStorageFilesSearch.js.map +1 -1
- package/funcs/fileStorageFilesUpdate.js +2 -0
- package/funcs/fileStorageFilesUpdate.js.map +1 -1
- package/funcs/fileStorageFoldersCopy.js +2 -0
- package/funcs/fileStorageFoldersCopy.js.map +1 -1
- package/funcs/fileStorageFoldersCreate.js +2 -0
- package/funcs/fileStorageFoldersCreate.js.map +1 -1
- package/funcs/fileStorageFoldersDelete.js +2 -0
- package/funcs/fileStorageFoldersDelete.js.map +1 -1
- package/funcs/fileStorageFoldersGet.js +2 -0
- package/funcs/fileStorageFoldersGet.js.map +1 -1
- package/funcs/fileStorageFoldersUpdate.js +2 -0
- package/funcs/fileStorageFoldersUpdate.js.map +1 -1
- package/funcs/fileStorageSharedLinksCreate.js +2 -0
- package/funcs/fileStorageSharedLinksCreate.js.map +1 -1
- package/funcs/fileStorageSharedLinksDelete.js +2 -0
- package/funcs/fileStorageSharedLinksDelete.js.map +1 -1
- package/funcs/fileStorageSharedLinksGet.js +2 -0
- package/funcs/fileStorageSharedLinksGet.js.map +1 -1
- package/funcs/fileStorageSharedLinksList.js +2 -0
- package/funcs/fileStorageSharedLinksList.js.map +1 -1
- package/funcs/fileStorageSharedLinksUpdate.js +2 -0
- package/funcs/fileStorageSharedLinksUpdate.js.map +1 -1
- package/funcs/fileStorageUploadSessionsCreate.js +2 -0
- package/funcs/fileStorageUploadSessionsCreate.js.map +1 -1
- package/funcs/fileStorageUploadSessionsDelete.js +2 -0
- package/funcs/fileStorageUploadSessionsDelete.js.map +1 -1
- package/funcs/fileStorageUploadSessionsFinish.js +2 -0
- package/funcs/fileStorageUploadSessionsFinish.js.map +1 -1
- package/funcs/fileStorageUploadSessionsGet.js +2 -0
- package/funcs/fileStorageUploadSessionsGet.js.map +1 -1
- package/funcs/fileStorageUploadSessionsUpload.js +2 -0
- package/funcs/fileStorageUploadSessionsUpload.js.map +1 -1
- package/funcs/hrisCompaniesCreate.js +2 -0
- package/funcs/hrisCompaniesCreate.js.map +1 -1
- package/funcs/hrisCompaniesDelete.js +2 -0
- package/funcs/hrisCompaniesDelete.js.map +1 -1
- package/funcs/hrisCompaniesGet.js +2 -0
- package/funcs/hrisCompaniesGet.js.map +1 -1
- package/funcs/hrisCompaniesList.js +2 -0
- package/funcs/hrisCompaniesList.js.map +1 -1
- package/funcs/hrisCompaniesUpdate.js +2 -0
- package/funcs/hrisCompaniesUpdate.js.map +1 -1
- package/funcs/hrisDepartmentsCreate.js +2 -0
- package/funcs/hrisDepartmentsCreate.js.map +1 -1
- package/funcs/hrisDepartmentsDelete.js +2 -0
- package/funcs/hrisDepartmentsDelete.js.map +1 -1
- package/funcs/hrisDepartmentsGet.js +2 -0
- package/funcs/hrisDepartmentsGet.js.map +1 -1
- package/funcs/hrisDepartmentsList.js +2 -0
- package/funcs/hrisDepartmentsList.js.map +1 -1
- package/funcs/hrisDepartmentsUpdate.js +2 -0
- package/funcs/hrisDepartmentsUpdate.js.map +1 -1
- package/funcs/hrisEmployeePayrollsGet.js +2 -0
- package/funcs/hrisEmployeePayrollsGet.js.map +1 -1
- package/funcs/hrisEmployeePayrollsList.js +2 -0
- package/funcs/hrisEmployeePayrollsList.js.map +1 -1
- package/funcs/hrisEmployeeSchedulesList.js +2 -0
- package/funcs/hrisEmployeeSchedulesList.js.map +1 -1
- package/funcs/hrisEmployeesCreate.js +2 -0
- package/funcs/hrisEmployeesCreate.js.map +1 -1
- package/funcs/hrisEmployeesDelete.js +2 -0
- package/funcs/hrisEmployeesDelete.js.map +1 -1
- package/funcs/hrisEmployeesGet.js +2 -0
- package/funcs/hrisEmployeesGet.js.map +1 -1
- package/funcs/hrisEmployeesList.js +2 -0
- package/funcs/hrisEmployeesList.js.map +1 -1
- package/funcs/hrisEmployeesUpdate.js +2 -0
- package/funcs/hrisEmployeesUpdate.js.map +1 -1
- package/funcs/hrisPayrollsGet.js +2 -0
- package/funcs/hrisPayrollsGet.js.map +1 -1
- package/funcs/hrisPayrollsList.js +2 -0
- package/funcs/hrisPayrollsList.js.map +1 -1
- package/funcs/hrisTimeOffRequestsCreate.js +2 -0
- package/funcs/hrisTimeOffRequestsCreate.js.map +1 -1
- package/funcs/hrisTimeOffRequestsDelete.js +2 -0
- package/funcs/hrisTimeOffRequestsDelete.js.map +1 -1
- package/funcs/hrisTimeOffRequestsGet.js +2 -0
- package/funcs/hrisTimeOffRequestsGet.js.map +1 -1
- package/funcs/hrisTimeOffRequestsList.js +2 -0
- package/funcs/hrisTimeOffRequestsList.js.map +1 -1
- package/funcs/hrisTimeOffRequestsUpdate.js +2 -0
- package/funcs/hrisTimeOffRequestsUpdate.js.map +1 -1
- package/funcs/issueTrackingCollectionTagsList.js +2 -0
- package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsCreate.js +2 -0
- package/funcs/issueTrackingCollectionTicketCommentsCreate.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsDelete.js +2 -0
- package/funcs/issueTrackingCollectionTicketCommentsDelete.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsGet.js +2 -0
- package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsList.js +2 -0
- package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsUpdate.js +2 -0
- package/funcs/issueTrackingCollectionTicketCommentsUpdate.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsCreate.js +2 -0
- package/funcs/issueTrackingCollectionTicketsCreate.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsDelete.js +2 -0
- package/funcs/issueTrackingCollectionTicketsDelete.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsGet.js +2 -0
- package/funcs/issueTrackingCollectionTicketsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsList.js +2 -0
- package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsUpdate.js +2 -0
- package/funcs/issueTrackingCollectionTicketsUpdate.js.map +1 -1
- package/funcs/issueTrackingCollectionUsersGet.js +2 -0
- package/funcs/issueTrackingCollectionUsersGet.js.map +1 -1
- package/funcs/issueTrackingCollectionUsersList.js +2 -0
- package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
- package/funcs/issueTrackingCollectionsGet.js +2 -0
- package/funcs/issueTrackingCollectionsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionsList.js +2 -0
- package/funcs/issueTrackingCollectionsList.js.map +1 -1
- package/funcs/smsMessagesCreate.js +2 -0
- package/funcs/smsMessagesCreate.js.map +1 -1
- package/funcs/smsMessagesDelete.js +2 -0
- package/funcs/smsMessagesDelete.js.map +1 -1
- package/funcs/smsMessagesGet.js +2 -0
- package/funcs/smsMessagesGet.js.map +1 -1
- package/funcs/smsMessagesList.js +2 -0
- package/funcs/smsMessagesList.js.map +1 -1
- package/funcs/smsMessagesUpdate.js +2 -0
- package/funcs/smsMessagesUpdate.js.map +1 -1
- package/funcs/vaultConnectionCustomMappingsList.js +2 -0
- package/funcs/vaultConnectionCustomMappingsList.js.map +1 -1
- package/funcs/vaultConnectionSettingsList.js +2 -0
- package/funcs/vaultConnectionSettingsList.js.map +1 -1
- package/funcs/vaultConnectionSettingsUpdate.js +2 -0
- package/funcs/vaultConnectionSettingsUpdate.js.map +1 -1
- package/funcs/vaultConnectionsDelete.js +2 -0
- package/funcs/vaultConnectionsDelete.js.map +1 -1
- package/funcs/vaultConnectionsGet.js +2 -0
- package/funcs/vaultConnectionsGet.js.map +1 -1
- package/funcs/vaultConnectionsImports.js +2 -0
- package/funcs/vaultConnectionsImports.js.map +1 -1
- package/funcs/vaultConnectionsList.js +2 -0
- package/funcs/vaultConnectionsList.js.map +1 -1
- package/funcs/vaultConnectionsToken.js +2 -0
- package/funcs/vaultConnectionsToken.js.map +1 -1
- package/funcs/vaultConnectionsUpdate.js +2 -0
- package/funcs/vaultConnectionsUpdate.js.map +1 -1
- package/funcs/vaultConsumerRequestCountsList.js +2 -0
- package/funcs/vaultConsumerRequestCountsList.js.map +1 -1
- package/funcs/vaultConsumersCreate.js +2 -0
- package/funcs/vaultConsumersCreate.js.map +1 -1
- package/funcs/vaultConsumersDelete.js +2 -0
- package/funcs/vaultConsumersDelete.js.map +1 -1
- package/funcs/vaultConsumersGet.js +2 -0
- package/funcs/vaultConsumersGet.js.map +1 -1
- package/funcs/vaultConsumersList.js +2 -0
- package/funcs/vaultConsumersList.js.map +1 -1
- package/funcs/vaultConsumersUpdate.js +2 -0
- package/funcs/vaultConsumersUpdate.js.map +1 -1
- package/funcs/vaultCreateCallbackState.js +2 -0
- package/funcs/vaultCreateCallbackState.js.map +1 -1
- package/funcs/vaultCustomFieldsList.js +2 -0
- package/funcs/vaultCustomFieldsList.js.map +1 -1
- package/funcs/vaultCustomMappingsList.js +2 -0
- package/funcs/vaultCustomMappingsList.js.map +1 -1
- package/funcs/vaultLogsList.js +2 -0
- package/funcs/vaultLogsList.js.map +1 -1
- package/funcs/vaultSessionsCreate.js +2 -0
- package/funcs/vaultSessionsCreate.js.map +1 -1
- package/funcs/vaultValidateConnectionState.js +2 -0
- package/funcs/vaultValidateConnectionState.js.map +1 -1
- package/funcs/webhookEventLogsList.js +2 -0
- package/funcs/webhookEventLogsList.js.map +1 -1
- package/funcs/webhookWebhooksCreate.js +2 -0
- package/funcs/webhookWebhooksCreate.js.map +1 -1
- package/funcs/webhookWebhooksDelete.js +2 -0
- package/funcs/webhookWebhooksDelete.js.map +1 -1
- package/funcs/webhookWebhooksGet.js +2 -0
- package/funcs/webhookWebhooksGet.js.map +1 -1
- package/funcs/webhookWebhooksList.js +2 -0
- package/funcs/webhookWebhooksList.js.map +1 -1
- package/funcs/webhookWebhooksUpdate.js +2 -0
- package/funcs/webhookWebhooksUpdate.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +8 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/models/components/createcustomobjectresponse.d.ts +70 -0
- package/models/components/createcustomobjectresponse.d.ts.map +1 -0
- package/models/components/createcustomobjectresponse.js +83 -0
- package/models/components/createcustomobjectresponse.js.map +1 -0
- package/models/components/createcustomobjectschemaresponse.d.ts +67 -0
- package/models/components/createcustomobjectschemaresponse.d.ts.map +1 -0
- package/models/components/createcustomobjectschemaresponse.js +83 -0
- package/models/components/createcustomobjectschemaresponse.js.map +1 -0
- package/models/components/customobject.d.ts +132 -0
- package/models/components/customobject.d.ts.map +1 -0
- package/models/components/customobject.js +163 -0
- package/models/components/customobject.js.map +1 -0
- package/models/components/customobjectschema.d.ts +262 -0
- package/models/components/customobjectschema.d.ts.map +1 -0
- package/models/components/customobjectschema.js +248 -0
- package/models/components/customobjectschema.js.map +1 -0
- package/models/components/deletecustomobjectresponse.d.ts +70 -0
- package/models/components/deletecustomobjectresponse.d.ts.map +1 -0
- package/models/components/deletecustomobjectresponse.js +83 -0
- package/models/components/deletecustomobjectresponse.js.map +1 -0
- package/models/components/deletecustomobjectschemaresponse.d.ts +70 -0
- package/models/components/deletecustomobjectschemaresponse.d.ts.map +1 -0
- package/models/components/deletecustomobjectschemaresponse.js +83 -0
- package/models/components/deletecustomobjectschemaresponse.js.map +1 -0
- package/models/components/ecommerceorder.d.ts +3 -0
- package/models/components/ecommerceorder.d.ts.map +1 -1
- package/models/components/ecommerceorder.js +3 -0
- package/models/components/ecommerceorder.js.map +1 -1
- package/models/components/ecommerceorderrefund.d.ts +56 -0
- package/models/components/ecommerceorderrefund.d.ts.map +1 -0
- package/models/components/ecommerceorderrefund.js +77 -0
- package/models/components/ecommerceorderrefund.js.map +1 -0
- package/models/components/getcustomobjectresponse.d.ts +67 -0
- package/models/components/getcustomobjectresponse.d.ts.map +1 -0
- package/models/components/getcustomobjectresponse.js +83 -0
- package/models/components/getcustomobjectresponse.js.map +1 -0
- package/models/components/getcustomobjectschemaresponse.d.ts +67 -0
- package/models/components/getcustomobjectschemaresponse.d.ts.map +1 -0
- package/models/components/getcustomobjectschemaresponse.js +83 -0
- package/models/components/getcustomobjectschemaresponse.js.map +1 -0
- package/models/components/getcustomobjectschemasresponse.d.ts +79 -0
- package/models/components/getcustomobjectschemasresponse.d.ts.map +1 -0
- package/models/components/getcustomobjectschemasresponse.js +89 -0
- package/models/components/getcustomobjectschemasresponse.js.map +1 -0
- package/models/components/getcustomobjectsresponse.d.ts +79 -0
- package/models/components/getcustomobjectsresponse.d.ts.map +1 -0
- package/models/components/getcustomobjectsresponse.js +89 -0
- package/models/components/getcustomobjectsresponse.js.map +1 -0
- package/models/components/index.d.ts +13 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -1
- package/models/components/index.js.map +1 -1
- package/models/components/journalentry.d.ts +158 -1
- package/models/components/journalentry.d.ts.map +1 -1
- package/models/components/journalentry.js +120 -1
- package/models/components/journalentry.js.map +1 -1
- package/models/components/updatecustomobjectresponse.d.ts +70 -0
- package/models/components/updatecustomobjectresponse.d.ts.map +1 -0
- package/models/components/updatecustomobjectresponse.js +83 -0
- package/models/components/updatecustomobjectresponse.js.map +1 -0
- package/models/components/updatecustomobjectschemaresponse.d.ts +70 -0
- package/models/components/updatecustomobjectschemaresponse.d.ts.map +1 -0
- package/models/components/updatecustomobjectschemaresponse.js +83 -0
- package/models/components/updatecustomobjectschemaresponse.js.map +1 -0
- package/models/operations/crmcustomobjectsadd.d.ts +123 -0
- package/models/operations/crmcustomobjectsadd.d.ts.map +1 -0
- package/models/operations/crmcustomobjectsadd.js +157 -0
- package/models/operations/crmcustomobjectsadd.js.map +1 -0
- package/models/operations/crmcustomobjectsall.d.ts +145 -0
- package/models/operations/crmcustomobjectsall.d.ts.map +1 -0
- package/models/operations/crmcustomobjectsall.js +163 -0
- package/models/operations/crmcustomobjectsall.js.map +1 -0
- package/models/operations/crmcustomobjectschemasadd.d.ts +118 -0
- package/models/operations/crmcustomobjectschemasadd.d.ts.map +1 -0
- package/models/operations/crmcustomobjectschemasadd.js +153 -0
- package/models/operations/crmcustomobjectschemasadd.js.map +1 -0
- package/models/operations/crmcustomobjectschemasall.d.ts +135 -0
- package/models/operations/crmcustomobjectschemasall.d.ts.map +1 -0
- package/models/operations/crmcustomobjectschemasall.js +157 -0
- package/models/operations/crmcustomobjectschemasall.js.map +1 -0
- package/models/operations/crmcustomobjectschemasdelete.d.ts +121 -0
- package/models/operations/crmcustomobjectschemasdelete.d.ts.map +1 -0
- package/models/operations/crmcustomobjectschemasdelete.js +145 -0
- package/models/operations/crmcustomobjectschemasdelete.js.map +1 -0
- package/models/operations/crmcustomobjectschemasone.d.ts +121 -0
- package/models/operations/crmcustomobjectschemasone.d.ts.map +1 -0
- package/models/operations/crmcustomobjectschemasone.js +145 -0
- package/models/operations/crmcustomobjectschemasone.js.map +1 -0
- package/models/operations/crmcustomobjectschemasupdate.d.ts +123 -0
- package/models/operations/crmcustomobjectschemasupdate.d.ts.map +1 -0
- package/models/operations/crmcustomobjectschemasupdate.js +155 -0
- package/models/operations/crmcustomobjectschemasupdate.js.map +1 -0
- package/models/operations/crmcustomobjectsdelete.d.ts +126 -0
- package/models/operations/crmcustomobjectsdelete.d.ts.map +1 -0
- package/models/operations/crmcustomobjectsdelete.js +155 -0
- package/models/operations/crmcustomobjectsdelete.js.map +1 -0
- package/models/operations/crmcustomobjectsone.d.ts +126 -0
- package/models/operations/crmcustomobjectsone.d.ts.map +1 -0
- package/models/operations/crmcustomobjectsone.js +155 -0
- package/models/operations/crmcustomobjectsone.js.map +1 -0
- package/models/operations/crmcustomobjectsupdate.d.ts +128 -0
- package/models/operations/crmcustomobjectsupdate.d.ts.map +1 -0
- package/models/operations/crmcustomobjectsupdate.js +159 -0
- package/models/operations/crmcustomobjectsupdate.js.map +1 -0
- package/models/operations/index.d.ts +10 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +10 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +2 -2
- package/sdk/crm.d.ts +6 -0
- package/sdk/crm.d.ts.map +1 -1
- package/sdk/crm.js +8 -0
- package/sdk/crm.js.map +1 -1
- package/sdk/customobjects.d.ts +43 -0
- package/sdk/customobjects.d.ts.map +1 -0
- package/sdk/customobjects.js +63 -0
- package/sdk/customobjects.js.map +1 -0
- package/sdk/customobjectschemas.d.ts +43 -0
- package/sdk/customobjectschemas.d.ts.map +1 -0
- package/sdk/customobjectschemas.js +63 -0
- package/sdk/customobjectschemas.js.map +1 -0
- package/src/__tests__/customobjects.test.ts +261 -0
- package/src/__tests__/customobjectschemas.test.ts +416 -0
- package/src/funcs/accountingAgedCreditorsGet.ts +2 -0
- package/src/funcs/accountingAgedDebtorsGet.ts +2 -0
- package/src/funcs/accountingAttachmentsDelete.ts +2 -0
- package/src/funcs/accountingAttachmentsDownload.ts +2 -0
- package/src/funcs/accountingAttachmentsGet.ts +2 -0
- package/src/funcs/accountingAttachmentsList.ts +2 -0
- package/src/funcs/accountingAttachmentsUpload.ts +2 -0
- package/src/funcs/accountingBalanceSheetGet.ts +2 -0
- package/src/funcs/accountingBankFeedAccountsCreate.ts +2 -0
- package/src/funcs/accountingBankFeedAccountsDelete.ts +2 -0
- package/src/funcs/accountingBankFeedAccountsGet.ts +2 -0
- package/src/funcs/accountingBankFeedAccountsList.ts +2 -0
- package/src/funcs/accountingBankFeedAccountsUpdate.ts +2 -0
- package/src/funcs/accountingBankFeedStatementsCreate.ts +2 -0
- package/src/funcs/accountingBankFeedStatementsDelete.ts +2 -0
- package/src/funcs/accountingBankFeedStatementsGet.ts +2 -0
- package/src/funcs/accountingBankFeedStatementsList.ts +2 -0
- package/src/funcs/accountingBankFeedStatementsUpdate.ts +2 -0
- package/src/funcs/accountingBillPaymentsCreate.ts +2 -0
- package/src/funcs/accountingBillPaymentsDelete.ts +2 -0
- package/src/funcs/accountingBillPaymentsGet.ts +2 -0
- package/src/funcs/accountingBillPaymentsList.ts +2 -0
- package/src/funcs/accountingBillPaymentsUpdate.ts +2 -0
- package/src/funcs/accountingBillsCreate.ts +2 -0
- package/src/funcs/accountingBillsDelete.ts +2 -0
- package/src/funcs/accountingBillsGet.ts +2 -0
- package/src/funcs/accountingBillsList.ts +2 -0
- package/src/funcs/accountingBillsUpdate.ts +2 -0
- package/src/funcs/accountingCompanyInfoGet.ts +2 -0
- package/src/funcs/accountingCreditNotesCreate.ts +2 -0
- package/src/funcs/accountingCreditNotesDelete.ts +2 -0
- package/src/funcs/accountingCreditNotesGet.ts +2 -0
- package/src/funcs/accountingCreditNotesList.ts +2 -0
- package/src/funcs/accountingCreditNotesUpdate.ts +2 -0
- package/src/funcs/accountingCustomersCreate.ts +2 -0
- package/src/funcs/accountingCustomersDelete.ts +2 -0
- package/src/funcs/accountingCustomersGet.ts +2 -0
- package/src/funcs/accountingCustomersList.ts +2 -0
- package/src/funcs/accountingCustomersUpdate.ts +2 -0
- package/src/funcs/accountingDepartmentsCreate.ts +2 -0
- package/src/funcs/accountingDepartmentsDelete.ts +2 -0
- package/src/funcs/accountingDepartmentsGet.ts +2 -0
- package/src/funcs/accountingDepartmentsList.ts +2 -0
- package/src/funcs/accountingDepartmentsUpdate.ts +2 -0
- package/src/funcs/accountingExpensesCreate.ts +2 -0
- package/src/funcs/accountingExpensesDelete.ts +2 -0
- package/src/funcs/accountingExpensesGet.ts +2 -0
- package/src/funcs/accountingExpensesList.ts +2 -0
- package/src/funcs/accountingExpensesUpdate.ts +2 -0
- package/src/funcs/accountingInvoiceItemsCreate.ts +2 -0
- package/src/funcs/accountingInvoiceItemsDelete.ts +2 -0
- package/src/funcs/accountingInvoiceItemsGet.ts +2 -0
- package/src/funcs/accountingInvoiceItemsList.ts +2 -0
- package/src/funcs/accountingInvoiceItemsUpdate.ts +2 -0
- package/src/funcs/accountingInvoicesCreate.ts +2 -0
- package/src/funcs/accountingInvoicesDelete.ts +2 -0
- package/src/funcs/accountingInvoicesGet.ts +2 -0
- package/src/funcs/accountingInvoicesList.ts +2 -0
- package/src/funcs/accountingInvoicesUpdate.ts +2 -0
- package/src/funcs/accountingJournalEntriesCreate.ts +2 -0
- package/src/funcs/accountingJournalEntriesDelete.ts +2 -0
- package/src/funcs/accountingJournalEntriesGet.ts +2 -0
- package/src/funcs/accountingJournalEntriesList.ts +2 -0
- package/src/funcs/accountingJournalEntriesUpdate.ts +2 -0
- package/src/funcs/accountingLedgerAccountsCreate.ts +2 -0
- package/src/funcs/accountingLedgerAccountsDelete.ts +2 -0
- package/src/funcs/accountingLedgerAccountsGet.ts +2 -0
- package/src/funcs/accountingLedgerAccountsList.ts +2 -0
- package/src/funcs/accountingLedgerAccountsUpdate.ts +2 -0
- package/src/funcs/accountingLocationsCreate.ts +2 -0
- package/src/funcs/accountingLocationsDelete.ts +2 -0
- package/src/funcs/accountingLocationsGet.ts +2 -0
- package/src/funcs/accountingLocationsList.ts +2 -0
- package/src/funcs/accountingLocationsUpdate.ts +2 -0
- package/src/funcs/accountingPaymentsCreate.ts +2 -0
- package/src/funcs/accountingPaymentsDelete.ts +2 -0
- package/src/funcs/accountingPaymentsGet.ts +2 -0
- package/src/funcs/accountingPaymentsList.ts +2 -0
- package/src/funcs/accountingPaymentsUpdate.ts +2 -0
- package/src/funcs/accountingProfitAndLossGet.ts +2 -0
- package/src/funcs/accountingPurchaseOrdersCreate.ts +2 -0
- package/src/funcs/accountingPurchaseOrdersDelete.ts +2 -0
- package/src/funcs/accountingPurchaseOrdersGet.ts +2 -0
- package/src/funcs/accountingPurchaseOrdersList.ts +2 -0
- package/src/funcs/accountingPurchaseOrdersUpdate.ts +2 -0
- package/src/funcs/accountingSubsidiariesCreate.ts +2 -0
- package/src/funcs/accountingSubsidiariesDelete.ts +2 -0
- package/src/funcs/accountingSubsidiariesGet.ts +2 -0
- package/src/funcs/accountingSubsidiariesList.ts +2 -0
- package/src/funcs/accountingSubsidiariesUpdate.ts +2 -0
- package/src/funcs/accountingSuppliersCreate.ts +2 -0
- package/src/funcs/accountingSuppliersDelete.ts +2 -0
- package/src/funcs/accountingSuppliersGet.ts +2 -0
- package/src/funcs/accountingSuppliersList.ts +2 -0
- package/src/funcs/accountingSuppliersUpdate.ts +2 -0
- package/src/funcs/accountingTaxRatesCreate.ts +2 -0
- package/src/funcs/accountingTaxRatesDelete.ts +2 -0
- package/src/funcs/accountingTaxRatesGet.ts +2 -0
- package/src/funcs/accountingTaxRatesList.ts +2 -0
- package/src/funcs/accountingTaxRatesUpdate.ts +2 -0
- package/src/funcs/accountingTrackingCategoriesCreate.ts +2 -0
- package/src/funcs/accountingTrackingCategoriesDelete.ts +2 -0
- package/src/funcs/accountingTrackingCategoriesGet.ts +2 -0
- package/src/funcs/accountingTrackingCategoriesList.ts +2 -0
- package/src/funcs/accountingTrackingCategoriesUpdate.ts +2 -0
- package/src/funcs/atsApplicantsCreate.ts +2 -0
- package/src/funcs/atsApplicantsDelete.ts +2 -0
- package/src/funcs/atsApplicantsGet.ts +2 -0
- package/src/funcs/atsApplicantsList.ts +2 -0
- package/src/funcs/atsApplicantsUpdate.ts +2 -0
- package/src/funcs/atsApplicationsCreate.ts +2 -0
- package/src/funcs/atsApplicationsDelete.ts +2 -0
- package/src/funcs/atsApplicationsGet.ts +2 -0
- package/src/funcs/atsApplicationsList.ts +2 -0
- package/src/funcs/atsApplicationsUpdate.ts +2 -0
- package/src/funcs/atsJobsGet.ts +2 -0
- package/src/funcs/atsJobsList.ts +2 -0
- package/src/funcs/connectorApiResourceCoverageGet.ts +2 -0
- package/src/funcs/connectorApiResourcesGet.ts +2 -0
- package/src/funcs/connectorApisGet.ts +2 -0
- package/src/funcs/connectorApisList.ts +2 -0
- package/src/funcs/connectorConnectorDocsGet.ts +2 -0
- package/src/funcs/connectorConnectorResourcesGet.ts +2 -0
- package/src/funcs/connectorConnectorsGet.ts +2 -0
- package/src/funcs/connectorConnectorsList.ts +2 -0
- package/src/funcs/crmActivitiesCreate.ts +2 -0
- package/src/funcs/crmActivitiesDelete.ts +2 -0
- package/src/funcs/crmActivitiesGet.ts +2 -0
- package/src/funcs/crmActivitiesList.ts +2 -0
- package/src/funcs/crmActivitiesUpdate.ts +2 -0
- package/src/funcs/crmCompaniesCreate.ts +2 -0
- package/src/funcs/crmCompaniesDelete.ts +2 -0
- package/src/funcs/crmCompaniesGet.ts +2 -0
- package/src/funcs/crmCompaniesList.ts +2 -0
- package/src/funcs/crmCompaniesUpdate.ts +2 -0
- package/src/funcs/crmContactsCreate.ts +2 -0
- package/src/funcs/crmContactsDelete.ts +2 -0
- package/src/funcs/crmContactsGet.ts +2 -0
- package/src/funcs/crmContactsList.ts +2 -0
- package/src/funcs/crmContactsUpdate.ts +2 -0
- package/src/funcs/crmCustomObjectSchemasCreate.ts +221 -0
- package/src/funcs/crmCustomObjectSchemasDelete.ts +227 -0
- package/src/funcs/crmCustomObjectSchemasGet.ts +225 -0
- package/src/funcs/crmCustomObjectSchemasList.ts +292 -0
- package/src/funcs/crmCustomObjectSchemasUpdate.ts +230 -0
- package/src/funcs/crmCustomObjectsCreate.ts +224 -0
- package/src/funcs/crmCustomObjectsDelete.ts +227 -0
- package/src/funcs/crmCustomObjectsGet.ts +227 -0
- package/src/funcs/crmCustomObjectsList.ts +298 -0
- package/src/funcs/crmCustomObjectsUpdate.ts +228 -0
- package/src/funcs/crmLeadsCreate.ts +2 -0
- package/src/funcs/crmLeadsDelete.ts +2 -0
- package/src/funcs/crmLeadsGet.ts +2 -0
- package/src/funcs/crmLeadsList.ts +2 -0
- package/src/funcs/crmLeadsUpdate.ts +2 -0
- package/src/funcs/crmNotesCreate.ts +2 -0
- package/src/funcs/crmNotesDelete.ts +2 -0
- package/src/funcs/crmNotesGet.ts +2 -0
- package/src/funcs/crmNotesList.ts +2 -0
- package/src/funcs/crmNotesUpdate.ts +2 -0
- package/src/funcs/crmOpportunitiesCreate.ts +2 -0
- package/src/funcs/crmOpportunitiesDelete.ts +2 -0
- package/src/funcs/crmOpportunitiesGet.ts +2 -0
- package/src/funcs/crmOpportunitiesList.ts +2 -0
- package/src/funcs/crmOpportunitiesUpdate.ts +2 -0
- package/src/funcs/crmPipelinesCreate.ts +2 -0
- package/src/funcs/crmPipelinesDelete.ts +2 -0
- package/src/funcs/crmPipelinesGet.ts +2 -0
- package/src/funcs/crmPipelinesList.ts +2 -0
- package/src/funcs/crmPipelinesUpdate.ts +2 -0
- package/src/funcs/crmUsersCreate.ts +2 -0
- package/src/funcs/crmUsersDelete.ts +2 -0
- package/src/funcs/crmUsersGet.ts +2 -0
- package/src/funcs/crmUsersList.ts +2 -0
- package/src/funcs/crmUsersUpdate.ts +2 -0
- package/src/funcs/ecommerceCustomersGet.ts +2 -0
- package/src/funcs/ecommerceCustomersList.ts +2 -0
- package/src/funcs/ecommerceOrdersGet.ts +2 -0
- package/src/funcs/ecommerceOrdersList.ts +2 -0
- package/src/funcs/ecommerceProductsGet.ts +2 -0
- package/src/funcs/ecommerceProductsList.ts +2 -0
- package/src/funcs/ecommerceStoresGet.ts +2 -0
- package/src/funcs/fileStorageDriveGroupsCreate.ts +2 -0
- package/src/funcs/fileStorageDriveGroupsDelete.ts +2 -0
- package/src/funcs/fileStorageDriveGroupsGet.ts +2 -0
- package/src/funcs/fileStorageDriveGroupsList.ts +2 -0
- package/src/funcs/fileStorageDriveGroupsUpdate.ts +2 -0
- package/src/funcs/fileStorageDrivesCreate.ts +2 -0
- package/src/funcs/fileStorageDrivesDelete.ts +2 -0
- package/src/funcs/fileStorageDrivesGet.ts +2 -0
- package/src/funcs/fileStorageDrivesList.ts +2 -0
- package/src/funcs/fileStorageDrivesUpdate.ts +2 -0
- package/src/funcs/fileStorageFilesDelete.ts +2 -0
- package/src/funcs/fileStorageFilesDownload.ts +2 -0
- package/src/funcs/fileStorageFilesExport.ts +2 -0
- package/src/funcs/fileStorageFilesGet.ts +2 -0
- package/src/funcs/fileStorageFilesList.ts +2 -0
- package/src/funcs/fileStorageFilesSearch.ts +2 -0
- package/src/funcs/fileStorageFilesUpdate.ts +2 -0
- package/src/funcs/fileStorageFoldersCopy.ts +2 -0
- package/src/funcs/fileStorageFoldersCreate.ts +2 -0
- package/src/funcs/fileStorageFoldersDelete.ts +2 -0
- package/src/funcs/fileStorageFoldersGet.ts +2 -0
- package/src/funcs/fileStorageFoldersUpdate.ts +2 -0
- package/src/funcs/fileStorageSharedLinksCreate.ts +2 -0
- package/src/funcs/fileStorageSharedLinksDelete.ts +2 -0
- package/src/funcs/fileStorageSharedLinksGet.ts +2 -0
- package/src/funcs/fileStorageSharedLinksList.ts +2 -0
- package/src/funcs/fileStorageSharedLinksUpdate.ts +2 -0
- package/src/funcs/fileStorageUploadSessionsCreate.ts +2 -0
- package/src/funcs/fileStorageUploadSessionsDelete.ts +2 -0
- package/src/funcs/fileStorageUploadSessionsFinish.ts +2 -0
- package/src/funcs/fileStorageUploadSessionsGet.ts +2 -0
- package/src/funcs/fileStorageUploadSessionsUpload.ts +2 -0
- package/src/funcs/hrisCompaniesCreate.ts +2 -0
- package/src/funcs/hrisCompaniesDelete.ts +2 -0
- package/src/funcs/hrisCompaniesGet.ts +2 -0
- package/src/funcs/hrisCompaniesList.ts +2 -0
- package/src/funcs/hrisCompaniesUpdate.ts +2 -0
- package/src/funcs/hrisDepartmentsCreate.ts +2 -0
- package/src/funcs/hrisDepartmentsDelete.ts +2 -0
- package/src/funcs/hrisDepartmentsGet.ts +2 -0
- package/src/funcs/hrisDepartmentsList.ts +2 -0
- package/src/funcs/hrisDepartmentsUpdate.ts +2 -0
- package/src/funcs/hrisEmployeePayrollsGet.ts +2 -0
- package/src/funcs/hrisEmployeePayrollsList.ts +2 -0
- package/src/funcs/hrisEmployeeSchedulesList.ts +2 -0
- package/src/funcs/hrisEmployeesCreate.ts +2 -0
- package/src/funcs/hrisEmployeesDelete.ts +2 -0
- package/src/funcs/hrisEmployeesGet.ts +2 -0
- package/src/funcs/hrisEmployeesList.ts +2 -0
- package/src/funcs/hrisEmployeesUpdate.ts +2 -0
- package/src/funcs/hrisPayrollsGet.ts +2 -0
- package/src/funcs/hrisPayrollsList.ts +2 -0
- package/src/funcs/hrisTimeOffRequestsCreate.ts +2 -0
- package/src/funcs/hrisTimeOffRequestsDelete.ts +2 -0
- package/src/funcs/hrisTimeOffRequestsGet.ts +2 -0
- package/src/funcs/hrisTimeOffRequestsList.ts +2 -0
- package/src/funcs/hrisTimeOffRequestsUpdate.ts +2 -0
- package/src/funcs/issueTrackingCollectionTagsList.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsCreate.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsDelete.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsUpdate.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketsCreate.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketsDelete.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketsGet.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketsList.ts +2 -0
- package/src/funcs/issueTrackingCollectionTicketsUpdate.ts +2 -0
- package/src/funcs/issueTrackingCollectionUsersGet.ts +2 -0
- package/src/funcs/issueTrackingCollectionUsersList.ts +2 -0
- package/src/funcs/issueTrackingCollectionsGet.ts +2 -0
- package/src/funcs/issueTrackingCollectionsList.ts +2 -0
- package/src/funcs/smsMessagesCreate.ts +2 -0
- package/src/funcs/smsMessagesDelete.ts +2 -0
- package/src/funcs/smsMessagesGet.ts +2 -0
- package/src/funcs/smsMessagesList.ts +2 -0
- package/src/funcs/smsMessagesUpdate.ts +2 -0
- package/src/funcs/vaultConnectionCustomMappingsList.ts +2 -0
- package/src/funcs/vaultConnectionSettingsList.ts +2 -0
- package/src/funcs/vaultConnectionSettingsUpdate.ts +2 -0
- package/src/funcs/vaultConnectionsDelete.ts +2 -0
- package/src/funcs/vaultConnectionsGet.ts +2 -0
- package/src/funcs/vaultConnectionsImports.ts +2 -0
- package/src/funcs/vaultConnectionsList.ts +2 -0
- package/src/funcs/vaultConnectionsToken.ts +2 -0
- package/src/funcs/vaultConnectionsUpdate.ts +2 -0
- package/src/funcs/vaultConsumerRequestCountsList.ts +2 -0
- package/src/funcs/vaultConsumersCreate.ts +2 -0
- package/src/funcs/vaultConsumersDelete.ts +2 -0
- package/src/funcs/vaultConsumersGet.ts +2 -0
- package/src/funcs/vaultConsumersList.ts +2 -0
- package/src/funcs/vaultConsumersUpdate.ts +2 -0
- package/src/funcs/vaultCreateCallbackState.ts +2 -0
- package/src/funcs/vaultCustomFieldsList.ts +2 -0
- package/src/funcs/vaultCustomMappingsList.ts +2 -0
- package/src/funcs/vaultLogsList.ts +2 -0
- package/src/funcs/vaultSessionsCreate.ts +2 -0
- package/src/funcs/vaultValidateConnectionState.ts +2 -0
- package/src/funcs/webhookEventLogsList.ts +2 -0
- package/src/funcs/webhookWebhooksCreate.ts +2 -0
- package/src/funcs/webhookWebhooksDelete.ts +2 -0
- package/src/funcs/webhookWebhooksGet.ts +2 -0
- package/src/funcs/webhookWebhooksList.ts +2 -0
- package/src/funcs/webhookWebhooksUpdate.ts +2 -0
- package/src/hooks/types.ts +2 -0
- package/src/lib/config.ts +8 -4
- package/src/lib/sdks.ts +10 -4
- package/src/models/components/createcustomobjectresponse.ts +131 -0
- package/src/models/components/createcustomobjectschemaresponse.ts +130 -0
- package/src/models/components/customobject.ts +285 -0
- package/src/models/components/customobjectschema.ts +459 -0
- package/src/models/components/deletecustomobjectresponse.ts +131 -0
- package/src/models/components/deletecustomobjectschemaresponse.ts +133 -0
- package/src/models/components/ecommerceorder.ts +10 -0
- package/src/models/components/ecommerceorderrefund.ts +116 -0
- package/src/models/components/getcustomobjectresponse.ts +128 -0
- package/src/models/components/getcustomobjectschemaresponse.ts +130 -0
- package/src/models/components/getcustomobjectschemasresponse.ts +156 -0
- package/src/models/components/getcustomobjectsresponse.ts +154 -0
- package/src/models/components/index.ts +13 -1
- package/src/models/components/journalentry.ts +258 -0
- package/src/models/components/updatecustomobjectresponse.ts +131 -0
- package/src/models/components/updatecustomobjectschemaresponse.ts +133 -0
- package/src/models/operations/crmcustomobjectsadd.ts +277 -0
- package/src/models/operations/crmcustomobjectsall.ts +299 -0
- package/src/models/operations/crmcustomobjectschemasadd.ts +273 -0
- package/src/models/operations/crmcustomobjectschemasall.ts +290 -0
- package/src/models/operations/crmcustomobjectschemasdelete.ts +276 -0
- package/src/models/operations/crmcustomobjectschemasone.ts +268 -0
- package/src/models/operations/crmcustomobjectschemasupdate.ts +288 -0
- package/src/models/operations/crmcustomobjectsdelete.ts +282 -0
- package/src/models/operations/crmcustomobjectsone.ts +276 -0
- package/src/models/operations/crmcustomobjectsupdate.ts +288 -0
- package/src/models/operations/index.ts +10 -0
- package/src/sdk/crm.ts +14 -0
- package/src/sdk/customobjects.ts +102 -0
- package/src/sdk/customobjectschemas.ts +105 -0
- package/models/components/journalentryinput.d.ts +0 -109
- package/models/components/journalentryinput.d.ts.map +0 -1
- package/models/components/journalentryinput.js +0 -126
- package/models/components/journalentryinput.js.map +0 -1
- package/src/models/components/journalentryinput.ts +0 -239
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type CrmCustomObjectsOneGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* ID of the consumer which you want to get or push data from
|
|
15
|
+
*/
|
|
16
|
+
consumerId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of your Unify application
|
|
19
|
+
*/
|
|
20
|
+
appId?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type CrmCustomObjectsOneRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* ID of the record you are acting upon.
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* ID of the consumer which you want to get or push data from
|
|
30
|
+
*/
|
|
31
|
+
consumerId?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of your Unify application
|
|
34
|
+
*/
|
|
35
|
+
appId?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
|
|
38
|
+
*/
|
|
39
|
+
serviceId?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Include raw response. Mostly used for debugging purposes
|
|
42
|
+
*/
|
|
43
|
+
raw?: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* The id of the custom object to query
|
|
46
|
+
*/
|
|
47
|
+
objectId: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type CrmCustomObjectsOneResponse = {
|
|
51
|
+
httpMeta: components.HTTPMetadata;
|
|
52
|
+
/**
|
|
53
|
+
* Custom object
|
|
54
|
+
*/
|
|
55
|
+
getCustomObjectResponse?: components.GetCustomObjectResponse | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Unexpected error
|
|
58
|
+
*/
|
|
59
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const CrmCustomObjectsOneGlobals$inboundSchema: z.ZodType<
|
|
64
|
+
CrmCustomObjectsOneGlobals,
|
|
65
|
+
z.ZodTypeDef,
|
|
66
|
+
unknown
|
|
67
|
+
> = z.object({
|
|
68
|
+
consumerId: z.string().optional(),
|
|
69
|
+
appId: z.string().optional(),
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export type CrmCustomObjectsOneGlobals$Outbound = {
|
|
74
|
+
consumerId?: string | undefined;
|
|
75
|
+
appId?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
export const CrmCustomObjectsOneGlobals$outboundSchema: z.ZodType<
|
|
80
|
+
CrmCustomObjectsOneGlobals$Outbound,
|
|
81
|
+
z.ZodTypeDef,
|
|
82
|
+
CrmCustomObjectsOneGlobals
|
|
83
|
+
> = z.object({
|
|
84
|
+
consumerId: z.string().optional(),
|
|
85
|
+
appId: z.string().optional(),
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
+
*/
|
|
92
|
+
export namespace CrmCustomObjectsOneGlobals$ {
|
|
93
|
+
/** @deprecated use `CrmCustomObjectsOneGlobals$inboundSchema` instead. */
|
|
94
|
+
export const inboundSchema = CrmCustomObjectsOneGlobals$inboundSchema;
|
|
95
|
+
/** @deprecated use `CrmCustomObjectsOneGlobals$outboundSchema` instead. */
|
|
96
|
+
export const outboundSchema = CrmCustomObjectsOneGlobals$outboundSchema;
|
|
97
|
+
/** @deprecated use `CrmCustomObjectsOneGlobals$Outbound` instead. */
|
|
98
|
+
export type Outbound = CrmCustomObjectsOneGlobals$Outbound;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function crmCustomObjectsOneGlobalsToJSON(
|
|
102
|
+
crmCustomObjectsOneGlobals: CrmCustomObjectsOneGlobals,
|
|
103
|
+
): string {
|
|
104
|
+
return JSON.stringify(
|
|
105
|
+
CrmCustomObjectsOneGlobals$outboundSchema.parse(crmCustomObjectsOneGlobals),
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function crmCustomObjectsOneGlobalsFromJSON(
|
|
110
|
+
jsonString: string,
|
|
111
|
+
): SafeParseResult<CrmCustomObjectsOneGlobals, SDKValidationError> {
|
|
112
|
+
return safeParse(
|
|
113
|
+
jsonString,
|
|
114
|
+
(x) => CrmCustomObjectsOneGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
+
`Failed to parse 'CrmCustomObjectsOneGlobals' from JSON`,
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const CrmCustomObjectsOneRequest$inboundSchema: z.ZodType<
|
|
121
|
+
CrmCustomObjectsOneRequest,
|
|
122
|
+
z.ZodTypeDef,
|
|
123
|
+
unknown
|
|
124
|
+
> = z.object({
|
|
125
|
+
id: z.string(),
|
|
126
|
+
consumerId: z.string().optional(),
|
|
127
|
+
appId: z.string().optional(),
|
|
128
|
+
serviceId: z.string().optional(),
|
|
129
|
+
raw: z.boolean().default(false),
|
|
130
|
+
object_id: z.string(),
|
|
131
|
+
}).transform((v) => {
|
|
132
|
+
return remap$(v, {
|
|
133
|
+
"object_id": "objectId",
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
/** @internal */
|
|
138
|
+
export type CrmCustomObjectsOneRequest$Outbound = {
|
|
139
|
+
id: string;
|
|
140
|
+
consumerId?: string | undefined;
|
|
141
|
+
appId?: string | undefined;
|
|
142
|
+
serviceId?: string | undefined;
|
|
143
|
+
raw: boolean;
|
|
144
|
+
object_id: string;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/** @internal */
|
|
148
|
+
export const CrmCustomObjectsOneRequest$outboundSchema: z.ZodType<
|
|
149
|
+
CrmCustomObjectsOneRequest$Outbound,
|
|
150
|
+
z.ZodTypeDef,
|
|
151
|
+
CrmCustomObjectsOneRequest
|
|
152
|
+
> = z.object({
|
|
153
|
+
id: z.string(),
|
|
154
|
+
consumerId: z.string().optional(),
|
|
155
|
+
appId: z.string().optional(),
|
|
156
|
+
serviceId: z.string().optional(),
|
|
157
|
+
raw: z.boolean().default(false),
|
|
158
|
+
objectId: z.string(),
|
|
159
|
+
}).transform((v) => {
|
|
160
|
+
return remap$(v, {
|
|
161
|
+
objectId: "object_id",
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @internal
|
|
167
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
168
|
+
*/
|
|
169
|
+
export namespace CrmCustomObjectsOneRequest$ {
|
|
170
|
+
/** @deprecated use `CrmCustomObjectsOneRequest$inboundSchema` instead. */
|
|
171
|
+
export const inboundSchema = CrmCustomObjectsOneRequest$inboundSchema;
|
|
172
|
+
/** @deprecated use `CrmCustomObjectsOneRequest$outboundSchema` instead. */
|
|
173
|
+
export const outboundSchema = CrmCustomObjectsOneRequest$outboundSchema;
|
|
174
|
+
/** @deprecated use `CrmCustomObjectsOneRequest$Outbound` instead. */
|
|
175
|
+
export type Outbound = CrmCustomObjectsOneRequest$Outbound;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function crmCustomObjectsOneRequestToJSON(
|
|
179
|
+
crmCustomObjectsOneRequest: CrmCustomObjectsOneRequest,
|
|
180
|
+
): string {
|
|
181
|
+
return JSON.stringify(
|
|
182
|
+
CrmCustomObjectsOneRequest$outboundSchema.parse(crmCustomObjectsOneRequest),
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export function crmCustomObjectsOneRequestFromJSON(
|
|
187
|
+
jsonString: string,
|
|
188
|
+
): SafeParseResult<CrmCustomObjectsOneRequest, SDKValidationError> {
|
|
189
|
+
return safeParse(
|
|
190
|
+
jsonString,
|
|
191
|
+
(x) => CrmCustomObjectsOneRequest$inboundSchema.parse(JSON.parse(x)),
|
|
192
|
+
`Failed to parse 'CrmCustomObjectsOneRequest' from JSON`,
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/** @internal */
|
|
197
|
+
export const CrmCustomObjectsOneResponse$inboundSchema: z.ZodType<
|
|
198
|
+
CrmCustomObjectsOneResponse,
|
|
199
|
+
z.ZodTypeDef,
|
|
200
|
+
unknown
|
|
201
|
+
> = z.object({
|
|
202
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
203
|
+
GetCustomObjectResponse: components.GetCustomObjectResponse$inboundSchema
|
|
204
|
+
.optional(),
|
|
205
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
206
|
+
.optional(),
|
|
207
|
+
}).transform((v) => {
|
|
208
|
+
return remap$(v, {
|
|
209
|
+
"HttpMeta": "httpMeta",
|
|
210
|
+
"GetCustomObjectResponse": "getCustomObjectResponse",
|
|
211
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
/** @internal */
|
|
216
|
+
export type CrmCustomObjectsOneResponse$Outbound = {
|
|
217
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
218
|
+
GetCustomObjectResponse?:
|
|
219
|
+
| components.GetCustomObjectResponse$Outbound
|
|
220
|
+
| undefined;
|
|
221
|
+
UnexpectedErrorResponse?:
|
|
222
|
+
| components.UnexpectedErrorResponse$Outbound
|
|
223
|
+
| undefined;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
/** @internal */
|
|
227
|
+
export const CrmCustomObjectsOneResponse$outboundSchema: z.ZodType<
|
|
228
|
+
CrmCustomObjectsOneResponse$Outbound,
|
|
229
|
+
z.ZodTypeDef,
|
|
230
|
+
CrmCustomObjectsOneResponse
|
|
231
|
+
> = z.object({
|
|
232
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
233
|
+
getCustomObjectResponse: components.GetCustomObjectResponse$outboundSchema
|
|
234
|
+
.optional(),
|
|
235
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
236
|
+
.optional(),
|
|
237
|
+
}).transform((v) => {
|
|
238
|
+
return remap$(v, {
|
|
239
|
+
httpMeta: "HttpMeta",
|
|
240
|
+
getCustomObjectResponse: "GetCustomObjectResponse",
|
|
241
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @internal
|
|
247
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
248
|
+
*/
|
|
249
|
+
export namespace CrmCustomObjectsOneResponse$ {
|
|
250
|
+
/** @deprecated use `CrmCustomObjectsOneResponse$inboundSchema` instead. */
|
|
251
|
+
export const inboundSchema = CrmCustomObjectsOneResponse$inboundSchema;
|
|
252
|
+
/** @deprecated use `CrmCustomObjectsOneResponse$outboundSchema` instead. */
|
|
253
|
+
export const outboundSchema = CrmCustomObjectsOneResponse$outboundSchema;
|
|
254
|
+
/** @deprecated use `CrmCustomObjectsOneResponse$Outbound` instead. */
|
|
255
|
+
export type Outbound = CrmCustomObjectsOneResponse$Outbound;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export function crmCustomObjectsOneResponseToJSON(
|
|
259
|
+
crmCustomObjectsOneResponse: CrmCustomObjectsOneResponse,
|
|
260
|
+
): string {
|
|
261
|
+
return JSON.stringify(
|
|
262
|
+
CrmCustomObjectsOneResponse$outboundSchema.parse(
|
|
263
|
+
crmCustomObjectsOneResponse,
|
|
264
|
+
),
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export function crmCustomObjectsOneResponseFromJSON(
|
|
269
|
+
jsonString: string,
|
|
270
|
+
): SafeParseResult<CrmCustomObjectsOneResponse, SDKValidationError> {
|
|
271
|
+
return safeParse(
|
|
272
|
+
jsonString,
|
|
273
|
+
(x) => CrmCustomObjectsOneResponse$inboundSchema.parse(JSON.parse(x)),
|
|
274
|
+
`Failed to parse 'CrmCustomObjectsOneResponse' from JSON`,
|
|
275
|
+
);
|
|
276
|
+
}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type CrmCustomObjectsUpdateGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* ID of the consumer which you want to get or push data from
|
|
15
|
+
*/
|
|
16
|
+
consumerId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of your Unify application
|
|
19
|
+
*/
|
|
20
|
+
appId?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type CrmCustomObjectsUpdateRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* ID of the record you are acting upon.
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* The id of the custom object to query
|
|
30
|
+
*/
|
|
31
|
+
objectId: string;
|
|
32
|
+
/**
|
|
33
|
+
* ID of the consumer which you want to get or push data from
|
|
34
|
+
*/
|
|
35
|
+
consumerId?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of your Unify application
|
|
38
|
+
*/
|
|
39
|
+
appId?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
|
|
42
|
+
*/
|
|
43
|
+
serviceId?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Include raw response. Mostly used for debugging purposes
|
|
46
|
+
*/
|
|
47
|
+
raw?: boolean | undefined;
|
|
48
|
+
customObject: components.CustomObjectInput;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type CrmCustomObjectsUpdateResponse = {
|
|
52
|
+
httpMeta: components.HTTPMetadata;
|
|
53
|
+
/**
|
|
54
|
+
* Custom object updated
|
|
55
|
+
*/
|
|
56
|
+
updateCustomObjectResponse?:
|
|
57
|
+
| components.UpdateCustomObjectResponse
|
|
58
|
+
| undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Unexpected error
|
|
61
|
+
*/
|
|
62
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const CrmCustomObjectsUpdateGlobals$inboundSchema: z.ZodType<
|
|
67
|
+
CrmCustomObjectsUpdateGlobals,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = z.object({
|
|
71
|
+
consumerId: z.string().optional(),
|
|
72
|
+
appId: z.string().optional(),
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export type CrmCustomObjectsUpdateGlobals$Outbound = {
|
|
77
|
+
consumerId?: string | undefined;
|
|
78
|
+
appId?: string | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const CrmCustomObjectsUpdateGlobals$outboundSchema: z.ZodType<
|
|
83
|
+
CrmCustomObjectsUpdateGlobals$Outbound,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
CrmCustomObjectsUpdateGlobals
|
|
86
|
+
> = z.object({
|
|
87
|
+
consumerId: z.string().optional(),
|
|
88
|
+
appId: z.string().optional(),
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
94
|
+
*/
|
|
95
|
+
export namespace CrmCustomObjectsUpdateGlobals$ {
|
|
96
|
+
/** @deprecated use `CrmCustomObjectsUpdateGlobals$inboundSchema` instead. */
|
|
97
|
+
export const inboundSchema = CrmCustomObjectsUpdateGlobals$inboundSchema;
|
|
98
|
+
/** @deprecated use `CrmCustomObjectsUpdateGlobals$outboundSchema` instead. */
|
|
99
|
+
export const outboundSchema = CrmCustomObjectsUpdateGlobals$outboundSchema;
|
|
100
|
+
/** @deprecated use `CrmCustomObjectsUpdateGlobals$Outbound` instead. */
|
|
101
|
+
export type Outbound = CrmCustomObjectsUpdateGlobals$Outbound;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function crmCustomObjectsUpdateGlobalsToJSON(
|
|
105
|
+
crmCustomObjectsUpdateGlobals: CrmCustomObjectsUpdateGlobals,
|
|
106
|
+
): string {
|
|
107
|
+
return JSON.stringify(
|
|
108
|
+
CrmCustomObjectsUpdateGlobals$outboundSchema.parse(
|
|
109
|
+
crmCustomObjectsUpdateGlobals,
|
|
110
|
+
),
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function crmCustomObjectsUpdateGlobalsFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<CrmCustomObjectsUpdateGlobals, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => CrmCustomObjectsUpdateGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'CrmCustomObjectsUpdateGlobals' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** @internal */
|
|
125
|
+
export const CrmCustomObjectsUpdateRequest$inboundSchema: z.ZodType<
|
|
126
|
+
CrmCustomObjectsUpdateRequest,
|
|
127
|
+
z.ZodTypeDef,
|
|
128
|
+
unknown
|
|
129
|
+
> = z.object({
|
|
130
|
+
id: z.string(),
|
|
131
|
+
object_id: z.string(),
|
|
132
|
+
consumerId: z.string().optional(),
|
|
133
|
+
appId: z.string().optional(),
|
|
134
|
+
serviceId: z.string().optional(),
|
|
135
|
+
raw: z.boolean().default(false),
|
|
136
|
+
CustomObject: components.CustomObjectInput$inboundSchema,
|
|
137
|
+
}).transform((v) => {
|
|
138
|
+
return remap$(v, {
|
|
139
|
+
"object_id": "objectId",
|
|
140
|
+
"CustomObject": "customObject",
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
/** @internal */
|
|
145
|
+
export type CrmCustomObjectsUpdateRequest$Outbound = {
|
|
146
|
+
id: string;
|
|
147
|
+
object_id: string;
|
|
148
|
+
consumerId?: string | undefined;
|
|
149
|
+
appId?: string | undefined;
|
|
150
|
+
serviceId?: string | undefined;
|
|
151
|
+
raw: boolean;
|
|
152
|
+
CustomObject: components.CustomObjectInput$Outbound;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/** @internal */
|
|
156
|
+
export const CrmCustomObjectsUpdateRequest$outboundSchema: z.ZodType<
|
|
157
|
+
CrmCustomObjectsUpdateRequest$Outbound,
|
|
158
|
+
z.ZodTypeDef,
|
|
159
|
+
CrmCustomObjectsUpdateRequest
|
|
160
|
+
> = z.object({
|
|
161
|
+
id: z.string(),
|
|
162
|
+
objectId: z.string(),
|
|
163
|
+
consumerId: z.string().optional(),
|
|
164
|
+
appId: z.string().optional(),
|
|
165
|
+
serviceId: z.string().optional(),
|
|
166
|
+
raw: z.boolean().default(false),
|
|
167
|
+
customObject: components.CustomObjectInput$outboundSchema,
|
|
168
|
+
}).transform((v) => {
|
|
169
|
+
return remap$(v, {
|
|
170
|
+
objectId: "object_id",
|
|
171
|
+
customObject: "CustomObject",
|
|
172
|
+
});
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
178
|
+
*/
|
|
179
|
+
export namespace CrmCustomObjectsUpdateRequest$ {
|
|
180
|
+
/** @deprecated use `CrmCustomObjectsUpdateRequest$inboundSchema` instead. */
|
|
181
|
+
export const inboundSchema = CrmCustomObjectsUpdateRequest$inboundSchema;
|
|
182
|
+
/** @deprecated use `CrmCustomObjectsUpdateRequest$outboundSchema` instead. */
|
|
183
|
+
export const outboundSchema = CrmCustomObjectsUpdateRequest$outboundSchema;
|
|
184
|
+
/** @deprecated use `CrmCustomObjectsUpdateRequest$Outbound` instead. */
|
|
185
|
+
export type Outbound = CrmCustomObjectsUpdateRequest$Outbound;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export function crmCustomObjectsUpdateRequestToJSON(
|
|
189
|
+
crmCustomObjectsUpdateRequest: CrmCustomObjectsUpdateRequest,
|
|
190
|
+
): string {
|
|
191
|
+
return JSON.stringify(
|
|
192
|
+
CrmCustomObjectsUpdateRequest$outboundSchema.parse(
|
|
193
|
+
crmCustomObjectsUpdateRequest,
|
|
194
|
+
),
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export function crmCustomObjectsUpdateRequestFromJSON(
|
|
199
|
+
jsonString: string,
|
|
200
|
+
): SafeParseResult<CrmCustomObjectsUpdateRequest, SDKValidationError> {
|
|
201
|
+
return safeParse(
|
|
202
|
+
jsonString,
|
|
203
|
+
(x) => CrmCustomObjectsUpdateRequest$inboundSchema.parse(JSON.parse(x)),
|
|
204
|
+
`Failed to parse 'CrmCustomObjectsUpdateRequest' from JSON`,
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/** @internal */
|
|
209
|
+
export const CrmCustomObjectsUpdateResponse$inboundSchema: z.ZodType<
|
|
210
|
+
CrmCustomObjectsUpdateResponse,
|
|
211
|
+
z.ZodTypeDef,
|
|
212
|
+
unknown
|
|
213
|
+
> = z.object({
|
|
214
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
215
|
+
UpdateCustomObjectResponse: components
|
|
216
|
+
.UpdateCustomObjectResponse$inboundSchema.optional(),
|
|
217
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
218
|
+
.optional(),
|
|
219
|
+
}).transform((v) => {
|
|
220
|
+
return remap$(v, {
|
|
221
|
+
"HttpMeta": "httpMeta",
|
|
222
|
+
"UpdateCustomObjectResponse": "updateCustomObjectResponse",
|
|
223
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
/** @internal */
|
|
228
|
+
export type CrmCustomObjectsUpdateResponse$Outbound = {
|
|
229
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
230
|
+
UpdateCustomObjectResponse?:
|
|
231
|
+
| components.UpdateCustomObjectResponse$Outbound
|
|
232
|
+
| undefined;
|
|
233
|
+
UnexpectedErrorResponse?:
|
|
234
|
+
| components.UnexpectedErrorResponse$Outbound
|
|
235
|
+
| undefined;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/** @internal */
|
|
239
|
+
export const CrmCustomObjectsUpdateResponse$outboundSchema: z.ZodType<
|
|
240
|
+
CrmCustomObjectsUpdateResponse$Outbound,
|
|
241
|
+
z.ZodTypeDef,
|
|
242
|
+
CrmCustomObjectsUpdateResponse
|
|
243
|
+
> = z.object({
|
|
244
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
245
|
+
updateCustomObjectResponse: components
|
|
246
|
+
.UpdateCustomObjectResponse$outboundSchema.optional(),
|
|
247
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
248
|
+
.optional(),
|
|
249
|
+
}).transform((v) => {
|
|
250
|
+
return remap$(v, {
|
|
251
|
+
httpMeta: "HttpMeta",
|
|
252
|
+
updateCustomObjectResponse: "UpdateCustomObjectResponse",
|
|
253
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @internal
|
|
259
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
260
|
+
*/
|
|
261
|
+
export namespace CrmCustomObjectsUpdateResponse$ {
|
|
262
|
+
/** @deprecated use `CrmCustomObjectsUpdateResponse$inboundSchema` instead. */
|
|
263
|
+
export const inboundSchema = CrmCustomObjectsUpdateResponse$inboundSchema;
|
|
264
|
+
/** @deprecated use `CrmCustomObjectsUpdateResponse$outboundSchema` instead. */
|
|
265
|
+
export const outboundSchema = CrmCustomObjectsUpdateResponse$outboundSchema;
|
|
266
|
+
/** @deprecated use `CrmCustomObjectsUpdateResponse$Outbound` instead. */
|
|
267
|
+
export type Outbound = CrmCustomObjectsUpdateResponse$Outbound;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export function crmCustomObjectsUpdateResponseToJSON(
|
|
271
|
+
crmCustomObjectsUpdateResponse: CrmCustomObjectsUpdateResponse,
|
|
272
|
+
): string {
|
|
273
|
+
return JSON.stringify(
|
|
274
|
+
CrmCustomObjectsUpdateResponse$outboundSchema.parse(
|
|
275
|
+
crmCustomObjectsUpdateResponse,
|
|
276
|
+
),
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export function crmCustomObjectsUpdateResponseFromJSON(
|
|
281
|
+
jsonString: string,
|
|
282
|
+
): SafeParseResult<CrmCustomObjectsUpdateResponse, SDKValidationError> {
|
|
283
|
+
return safeParse(
|
|
284
|
+
jsonString,
|
|
285
|
+
(x) => CrmCustomObjectsUpdateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
286
|
+
`Failed to parse 'CrmCustomObjectsUpdateResponse' from JSON`,
|
|
287
|
+
);
|
|
288
|
+
}
|
|
@@ -142,6 +142,16 @@ export * from "./crmcontactsall.js";
|
|
|
142
142
|
export * from "./crmcontactsdelete.js";
|
|
143
143
|
export * from "./crmcontactsone.js";
|
|
144
144
|
export * from "./crmcontactsupdate.js";
|
|
145
|
+
export * from "./crmcustomobjectsadd.js";
|
|
146
|
+
export * from "./crmcustomobjectsall.js";
|
|
147
|
+
export * from "./crmcustomobjectschemasadd.js";
|
|
148
|
+
export * from "./crmcustomobjectschemasall.js";
|
|
149
|
+
export * from "./crmcustomobjectschemasdelete.js";
|
|
150
|
+
export * from "./crmcustomobjectschemasone.js";
|
|
151
|
+
export * from "./crmcustomobjectschemasupdate.js";
|
|
152
|
+
export * from "./crmcustomobjectsdelete.js";
|
|
153
|
+
export * from "./crmcustomobjectsone.js";
|
|
154
|
+
export * from "./crmcustomobjectsupdate.js";
|
|
145
155
|
export * from "./crmleadsadd.js";
|
|
146
156
|
export * from "./crmleadsall.js";
|
|
147
157
|
export * from "./crmleadsdelete.js";
|
package/src/sdk/crm.ts
CHANGED
|
@@ -6,6 +6,8 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
6
6
|
import { Activities } from "./activities.js";
|
|
7
7
|
import { Companies } from "./companies.js";
|
|
8
8
|
import { Contacts } from "./contacts.js";
|
|
9
|
+
import { CustomObjects } from "./customobjects.js";
|
|
10
|
+
import { CustomObjectSchemas } from "./customobjectschemas.js";
|
|
9
11
|
import { Leads } from "./leads.js";
|
|
10
12
|
import { Notes } from "./notes.js";
|
|
11
13
|
import { Opportunities } from "./opportunities.js";
|
|
@@ -52,4 +54,16 @@ export class Crm extends ClientSDK {
|
|
|
52
54
|
get activities(): Activities {
|
|
53
55
|
return (this._activities ??= new Activities(this._options));
|
|
54
56
|
}
|
|
57
|
+
|
|
58
|
+
private _customObjectSchemas?: CustomObjectSchemas;
|
|
59
|
+
get customObjectSchemas(): CustomObjectSchemas {
|
|
60
|
+
return (this._customObjectSchemas ??= new CustomObjectSchemas(
|
|
61
|
+
this._options,
|
|
62
|
+
));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
private _customObjects?: CustomObjects;
|
|
66
|
+
get customObjects(): CustomObjects {
|
|
67
|
+
return (this._customObjects ??= new CustomObjects(this._options));
|
|
68
|
+
}
|
|
55
69
|
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { crmCustomObjectsCreate } from "../funcs/crmCustomObjectsCreate.js";
|
|
6
|
+
import { crmCustomObjectsDelete } from "../funcs/crmCustomObjectsDelete.js";
|
|
7
|
+
import { crmCustomObjectsGet } from "../funcs/crmCustomObjectsGet.js";
|
|
8
|
+
import { crmCustomObjectsList } from "../funcs/crmCustomObjectsList.js";
|
|
9
|
+
import { crmCustomObjectsUpdate } from "../funcs/crmCustomObjectsUpdate.js";
|
|
10
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as operations from "../models/operations/index.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
|
+
|
|
15
|
+
export class CustomObjects extends ClientSDK {
|
|
16
|
+
/**
|
|
17
|
+
* List custom objects
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* List custom objects
|
|
21
|
+
*/
|
|
22
|
+
async list(
|
|
23
|
+
request: operations.CrmCustomObjectsAllRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<
|
|
26
|
+
PageIterator<operations.CrmCustomObjectsAllResponse, { cursor: string }>
|
|
27
|
+
> {
|
|
28
|
+
return unwrapResultIterator(crmCustomObjectsList(
|
|
29
|
+
this,
|
|
30
|
+
request,
|
|
31
|
+
options,
|
|
32
|
+
));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Create custom object
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Create custom object
|
|
40
|
+
*/
|
|
41
|
+
async create(
|
|
42
|
+
request: operations.CrmCustomObjectsAddRequest,
|
|
43
|
+
options?: RequestOptions,
|
|
44
|
+
): Promise<operations.CrmCustomObjectsAddResponse> {
|
|
45
|
+
return unwrapAsync(crmCustomObjectsCreate(
|
|
46
|
+
this,
|
|
47
|
+
request,
|
|
48
|
+
options,
|
|
49
|
+
));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Get custom object
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Get custom object
|
|
57
|
+
*/
|
|
58
|
+
async get(
|
|
59
|
+
request: operations.CrmCustomObjectsOneRequest,
|
|
60
|
+
options?: RequestOptions,
|
|
61
|
+
): Promise<operations.CrmCustomObjectsOneResponse> {
|
|
62
|
+
return unwrapAsync(crmCustomObjectsGet(
|
|
63
|
+
this,
|
|
64
|
+
request,
|
|
65
|
+
options,
|
|
66
|
+
));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Update custom object
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Update custom object
|
|
74
|
+
*/
|
|
75
|
+
async update(
|
|
76
|
+
request: operations.CrmCustomObjectsUpdateRequest,
|
|
77
|
+
options?: RequestOptions,
|
|
78
|
+
): Promise<operations.CrmCustomObjectsUpdateResponse> {
|
|
79
|
+
return unwrapAsync(crmCustomObjectsUpdate(
|
|
80
|
+
this,
|
|
81
|
+
request,
|
|
82
|
+
options,
|
|
83
|
+
));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Delete custom object
|
|
88
|
+
*
|
|
89
|
+
* @remarks
|
|
90
|
+
* Delete custom object
|
|
91
|
+
*/
|
|
92
|
+
async delete(
|
|
93
|
+
request: operations.CrmCustomObjectsDeleteRequest,
|
|
94
|
+
options?: RequestOptions,
|
|
95
|
+
): Promise<operations.CrmCustomObjectsDeleteResponse> {
|
|
96
|
+
return unwrapAsync(crmCustomObjectsDelete(
|
|
97
|
+
this,
|
|
98
|
+
request,
|
|
99
|
+
options,
|
|
100
|
+
));
|
|
101
|
+
}
|
|
102
|
+
}
|