@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,459 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
PassThroughBody,
|
|
13
|
+
PassThroughBody$inboundSchema,
|
|
14
|
+
PassThroughBody$Outbound,
|
|
15
|
+
PassThroughBody$outboundSchema,
|
|
16
|
+
} from "./passthroughbody.js";
|
|
17
|
+
|
|
18
|
+
export const CustomObjectSchemaType = {
|
|
19
|
+
String: "string",
|
|
20
|
+
Number: "number",
|
|
21
|
+
Integer: "integer",
|
|
22
|
+
Boolean: "boolean",
|
|
23
|
+
Date: "date",
|
|
24
|
+
Datetime: "datetime",
|
|
25
|
+
Currency: "currency",
|
|
26
|
+
Email: "email",
|
|
27
|
+
Phone: "phone",
|
|
28
|
+
Reference: "reference",
|
|
29
|
+
Select: "select",
|
|
30
|
+
Multiselect: "multiselect",
|
|
31
|
+
} as const;
|
|
32
|
+
export type CustomObjectSchemaType = ClosedEnum<typeof CustomObjectSchemaType>;
|
|
33
|
+
|
|
34
|
+
export type CustomObjectSchemaOptions = {
|
|
35
|
+
value?: string | undefined;
|
|
36
|
+
label?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type Fields = {
|
|
40
|
+
id?: string | undefined;
|
|
41
|
+
name?: string | undefined;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
|
+
type?: CustomObjectSchemaType | undefined;
|
|
44
|
+
required?: boolean | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Options for select and multiselect types
|
|
47
|
+
*/
|
|
48
|
+
options?: Array<CustomObjectSchemaOptions> | null | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Default value for the field
|
|
51
|
+
*/
|
|
52
|
+
defaultValue?: string | null | undefined;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type CustomObjectSchema = {
|
|
56
|
+
/**
|
|
57
|
+
* The unique identifier of the custom object schema
|
|
58
|
+
*/
|
|
59
|
+
id?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the custom object schema
|
|
62
|
+
*/
|
|
63
|
+
name?: string | null | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* The description of the custom object schema
|
|
66
|
+
*/
|
|
67
|
+
description?: string | null | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* The fields defined in the schema
|
|
70
|
+
*/
|
|
71
|
+
fields?: Array<Fields> | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the custom object schema is visible in the UI
|
|
74
|
+
*/
|
|
75
|
+
visible?: boolean | null | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the custom object schema is active
|
|
78
|
+
*/
|
|
79
|
+
active?: boolean | null | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the user who created the custom object schema
|
|
82
|
+
*/
|
|
83
|
+
createdBy?: string | null | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the user who last updated the custom object schema
|
|
86
|
+
*/
|
|
87
|
+
updatedBy?: string | null | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* The timestamp when the custom object schema was last updated
|
|
90
|
+
*/
|
|
91
|
+
updatedAt?: string | null | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* The timestamp when the custom object schema was created
|
|
94
|
+
*/
|
|
95
|
+
createdAt?: string | null | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
98
|
+
*/
|
|
99
|
+
passThrough?: Array<PassThroughBody> | undefined;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export type CustomObjectSchemaInput = {
|
|
103
|
+
/**
|
|
104
|
+
* The name of the custom object schema
|
|
105
|
+
*/
|
|
106
|
+
name?: string | null | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* The description of the custom object schema
|
|
109
|
+
*/
|
|
110
|
+
description?: string | null | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* The fields defined in the schema
|
|
113
|
+
*/
|
|
114
|
+
fields?: Array<Fields> | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the custom object schema is visible in the UI
|
|
117
|
+
*/
|
|
118
|
+
visible?: boolean | null | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Whether the custom object schema is active
|
|
121
|
+
*/
|
|
122
|
+
active?: boolean | null | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
125
|
+
*/
|
|
126
|
+
passThrough?: Array<PassThroughBody> | undefined;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/** @internal */
|
|
130
|
+
export const CustomObjectSchemaType$inboundSchema: z.ZodNativeEnum<
|
|
131
|
+
typeof CustomObjectSchemaType
|
|
132
|
+
> = z.nativeEnum(CustomObjectSchemaType);
|
|
133
|
+
|
|
134
|
+
/** @internal */
|
|
135
|
+
export const CustomObjectSchemaType$outboundSchema: z.ZodNativeEnum<
|
|
136
|
+
typeof CustomObjectSchemaType
|
|
137
|
+
> = CustomObjectSchemaType$inboundSchema;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
142
|
+
*/
|
|
143
|
+
export namespace CustomObjectSchemaType$ {
|
|
144
|
+
/** @deprecated use `CustomObjectSchemaType$inboundSchema` instead. */
|
|
145
|
+
export const inboundSchema = CustomObjectSchemaType$inboundSchema;
|
|
146
|
+
/** @deprecated use `CustomObjectSchemaType$outboundSchema` instead. */
|
|
147
|
+
export const outboundSchema = CustomObjectSchemaType$outboundSchema;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** @internal */
|
|
151
|
+
export const CustomObjectSchemaOptions$inboundSchema: z.ZodType<
|
|
152
|
+
CustomObjectSchemaOptions,
|
|
153
|
+
z.ZodTypeDef,
|
|
154
|
+
unknown
|
|
155
|
+
> = z.object({
|
|
156
|
+
value: z.string().optional(),
|
|
157
|
+
label: z.string().optional(),
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
/** @internal */
|
|
161
|
+
export type CustomObjectSchemaOptions$Outbound = {
|
|
162
|
+
value?: string | undefined;
|
|
163
|
+
label?: string | undefined;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/** @internal */
|
|
167
|
+
export const CustomObjectSchemaOptions$outboundSchema: z.ZodType<
|
|
168
|
+
CustomObjectSchemaOptions$Outbound,
|
|
169
|
+
z.ZodTypeDef,
|
|
170
|
+
CustomObjectSchemaOptions
|
|
171
|
+
> = z.object({
|
|
172
|
+
value: z.string().optional(),
|
|
173
|
+
label: z.string().optional(),
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @internal
|
|
178
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
179
|
+
*/
|
|
180
|
+
export namespace CustomObjectSchemaOptions$ {
|
|
181
|
+
/** @deprecated use `CustomObjectSchemaOptions$inboundSchema` instead. */
|
|
182
|
+
export const inboundSchema = CustomObjectSchemaOptions$inboundSchema;
|
|
183
|
+
/** @deprecated use `CustomObjectSchemaOptions$outboundSchema` instead. */
|
|
184
|
+
export const outboundSchema = CustomObjectSchemaOptions$outboundSchema;
|
|
185
|
+
/** @deprecated use `CustomObjectSchemaOptions$Outbound` instead. */
|
|
186
|
+
export type Outbound = CustomObjectSchemaOptions$Outbound;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export function customObjectSchemaOptionsToJSON(
|
|
190
|
+
customObjectSchemaOptions: CustomObjectSchemaOptions,
|
|
191
|
+
): string {
|
|
192
|
+
return JSON.stringify(
|
|
193
|
+
CustomObjectSchemaOptions$outboundSchema.parse(customObjectSchemaOptions),
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export function customObjectSchemaOptionsFromJSON(
|
|
198
|
+
jsonString: string,
|
|
199
|
+
): SafeParseResult<CustomObjectSchemaOptions, SDKValidationError> {
|
|
200
|
+
return safeParse(
|
|
201
|
+
jsonString,
|
|
202
|
+
(x) => CustomObjectSchemaOptions$inboundSchema.parse(JSON.parse(x)),
|
|
203
|
+
`Failed to parse 'CustomObjectSchemaOptions' from JSON`,
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/** @internal */
|
|
208
|
+
export const Fields$inboundSchema: z.ZodType<Fields, z.ZodTypeDef, unknown> = z
|
|
209
|
+
.object({
|
|
210
|
+
id: z.string().optional(),
|
|
211
|
+
name: z.string().optional(),
|
|
212
|
+
description: z.nullable(z.string()).optional(),
|
|
213
|
+
type: CustomObjectSchemaType$inboundSchema.optional(),
|
|
214
|
+
required: z.boolean().optional(),
|
|
215
|
+
options: z.nullable(
|
|
216
|
+
z.array(z.lazy(() => CustomObjectSchemaOptions$inboundSchema)),
|
|
217
|
+
).optional(),
|
|
218
|
+
default_value: z.nullable(z.string()).optional(),
|
|
219
|
+
}).transform((v) => {
|
|
220
|
+
return remap$(v, {
|
|
221
|
+
"default_value": "defaultValue",
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
/** @internal */
|
|
226
|
+
export type Fields$Outbound = {
|
|
227
|
+
id?: string | undefined;
|
|
228
|
+
name?: string | undefined;
|
|
229
|
+
description?: string | null | undefined;
|
|
230
|
+
type?: string | undefined;
|
|
231
|
+
required?: boolean | undefined;
|
|
232
|
+
options?: Array<CustomObjectSchemaOptions$Outbound> | null | undefined;
|
|
233
|
+
default_value?: string | null | undefined;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
/** @internal */
|
|
237
|
+
export const Fields$outboundSchema: z.ZodType<
|
|
238
|
+
Fields$Outbound,
|
|
239
|
+
z.ZodTypeDef,
|
|
240
|
+
Fields
|
|
241
|
+
> = z.object({
|
|
242
|
+
id: z.string().optional(),
|
|
243
|
+
name: z.string().optional(),
|
|
244
|
+
description: z.nullable(z.string()).optional(),
|
|
245
|
+
type: CustomObjectSchemaType$outboundSchema.optional(),
|
|
246
|
+
required: z.boolean().optional(),
|
|
247
|
+
options: z.nullable(
|
|
248
|
+
z.array(z.lazy(() => CustomObjectSchemaOptions$outboundSchema)),
|
|
249
|
+
).optional(),
|
|
250
|
+
defaultValue: z.nullable(z.string()).optional(),
|
|
251
|
+
}).transform((v) => {
|
|
252
|
+
return remap$(v, {
|
|
253
|
+
defaultValue: "default_value",
|
|
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 Fields$ {
|
|
262
|
+
/** @deprecated use `Fields$inboundSchema` instead. */
|
|
263
|
+
export const inboundSchema = Fields$inboundSchema;
|
|
264
|
+
/** @deprecated use `Fields$outboundSchema` instead. */
|
|
265
|
+
export const outboundSchema = Fields$outboundSchema;
|
|
266
|
+
/** @deprecated use `Fields$Outbound` instead. */
|
|
267
|
+
export type Outbound = Fields$Outbound;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export function fieldsToJSON(fields: Fields): string {
|
|
271
|
+
return JSON.stringify(Fields$outboundSchema.parse(fields));
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export function fieldsFromJSON(
|
|
275
|
+
jsonString: string,
|
|
276
|
+
): SafeParseResult<Fields, SDKValidationError> {
|
|
277
|
+
return safeParse(
|
|
278
|
+
jsonString,
|
|
279
|
+
(x) => Fields$inboundSchema.parse(JSON.parse(x)),
|
|
280
|
+
`Failed to parse 'Fields' from JSON`,
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** @internal */
|
|
285
|
+
export const CustomObjectSchema$inboundSchema: z.ZodType<
|
|
286
|
+
CustomObjectSchema,
|
|
287
|
+
z.ZodTypeDef,
|
|
288
|
+
unknown
|
|
289
|
+
> = z.object({
|
|
290
|
+
id: z.string().optional(),
|
|
291
|
+
name: z.nullable(z.string()).optional(),
|
|
292
|
+
description: z.nullable(z.string()).optional(),
|
|
293
|
+
fields: z.array(z.lazy(() => Fields$inboundSchema)).optional(),
|
|
294
|
+
visible: z.nullable(z.boolean()).optional(),
|
|
295
|
+
active: z.nullable(z.boolean()).optional(),
|
|
296
|
+
created_by: z.nullable(z.string()).optional(),
|
|
297
|
+
updated_by: z.nullable(z.string()).optional(),
|
|
298
|
+
updated_at: z.nullable(z.string()).optional(),
|
|
299
|
+
created_at: z.nullable(z.string()).optional(),
|
|
300
|
+
pass_through: z.array(PassThroughBody$inboundSchema).optional(),
|
|
301
|
+
}).transform((v) => {
|
|
302
|
+
return remap$(v, {
|
|
303
|
+
"created_by": "createdBy",
|
|
304
|
+
"updated_by": "updatedBy",
|
|
305
|
+
"updated_at": "updatedAt",
|
|
306
|
+
"created_at": "createdAt",
|
|
307
|
+
"pass_through": "passThrough",
|
|
308
|
+
});
|
|
309
|
+
});
|
|
310
|
+
|
|
311
|
+
/** @internal */
|
|
312
|
+
export type CustomObjectSchema$Outbound = {
|
|
313
|
+
id?: string | undefined;
|
|
314
|
+
name?: string | null | undefined;
|
|
315
|
+
description?: string | null | undefined;
|
|
316
|
+
fields?: Array<Fields$Outbound> | undefined;
|
|
317
|
+
visible?: boolean | null | undefined;
|
|
318
|
+
active?: boolean | null | undefined;
|
|
319
|
+
created_by?: string | null | undefined;
|
|
320
|
+
updated_by?: string | null | undefined;
|
|
321
|
+
updated_at?: string | null | undefined;
|
|
322
|
+
created_at?: string | null | undefined;
|
|
323
|
+
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
/** @internal */
|
|
327
|
+
export const CustomObjectSchema$outboundSchema: z.ZodType<
|
|
328
|
+
CustomObjectSchema$Outbound,
|
|
329
|
+
z.ZodTypeDef,
|
|
330
|
+
CustomObjectSchema
|
|
331
|
+
> = z.object({
|
|
332
|
+
id: z.string().optional(),
|
|
333
|
+
name: z.nullable(z.string()).optional(),
|
|
334
|
+
description: z.nullable(z.string()).optional(),
|
|
335
|
+
fields: z.array(z.lazy(() => Fields$outboundSchema)).optional(),
|
|
336
|
+
visible: z.nullable(z.boolean()).optional(),
|
|
337
|
+
active: z.nullable(z.boolean()).optional(),
|
|
338
|
+
createdBy: z.nullable(z.string()).optional(),
|
|
339
|
+
updatedBy: z.nullable(z.string()).optional(),
|
|
340
|
+
updatedAt: z.nullable(z.string()).optional(),
|
|
341
|
+
createdAt: z.nullable(z.string()).optional(),
|
|
342
|
+
passThrough: z.array(PassThroughBody$outboundSchema).optional(),
|
|
343
|
+
}).transform((v) => {
|
|
344
|
+
return remap$(v, {
|
|
345
|
+
createdBy: "created_by",
|
|
346
|
+
updatedBy: "updated_by",
|
|
347
|
+
updatedAt: "updated_at",
|
|
348
|
+
createdAt: "created_at",
|
|
349
|
+
passThrough: "pass_through",
|
|
350
|
+
});
|
|
351
|
+
});
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @internal
|
|
355
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
356
|
+
*/
|
|
357
|
+
export namespace CustomObjectSchema$ {
|
|
358
|
+
/** @deprecated use `CustomObjectSchema$inboundSchema` instead. */
|
|
359
|
+
export const inboundSchema = CustomObjectSchema$inboundSchema;
|
|
360
|
+
/** @deprecated use `CustomObjectSchema$outboundSchema` instead. */
|
|
361
|
+
export const outboundSchema = CustomObjectSchema$outboundSchema;
|
|
362
|
+
/** @deprecated use `CustomObjectSchema$Outbound` instead. */
|
|
363
|
+
export type Outbound = CustomObjectSchema$Outbound;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export function customObjectSchemaToJSON(
|
|
367
|
+
customObjectSchema: CustomObjectSchema,
|
|
368
|
+
): string {
|
|
369
|
+
return JSON.stringify(
|
|
370
|
+
CustomObjectSchema$outboundSchema.parse(customObjectSchema),
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export function customObjectSchemaFromJSON(
|
|
375
|
+
jsonString: string,
|
|
376
|
+
): SafeParseResult<CustomObjectSchema, SDKValidationError> {
|
|
377
|
+
return safeParse(
|
|
378
|
+
jsonString,
|
|
379
|
+
(x) => CustomObjectSchema$inboundSchema.parse(JSON.parse(x)),
|
|
380
|
+
`Failed to parse 'CustomObjectSchema' from JSON`,
|
|
381
|
+
);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/** @internal */
|
|
385
|
+
export const CustomObjectSchemaInput$inboundSchema: z.ZodType<
|
|
386
|
+
CustomObjectSchemaInput,
|
|
387
|
+
z.ZodTypeDef,
|
|
388
|
+
unknown
|
|
389
|
+
> = z.object({
|
|
390
|
+
name: z.nullable(z.string()).optional(),
|
|
391
|
+
description: z.nullable(z.string()).optional(),
|
|
392
|
+
fields: z.array(z.lazy(() => Fields$inboundSchema)).optional(),
|
|
393
|
+
visible: z.nullable(z.boolean()).optional(),
|
|
394
|
+
active: z.nullable(z.boolean()).optional(),
|
|
395
|
+
pass_through: z.array(PassThroughBody$inboundSchema).optional(),
|
|
396
|
+
}).transform((v) => {
|
|
397
|
+
return remap$(v, {
|
|
398
|
+
"pass_through": "passThrough",
|
|
399
|
+
});
|
|
400
|
+
});
|
|
401
|
+
|
|
402
|
+
/** @internal */
|
|
403
|
+
export type CustomObjectSchemaInput$Outbound = {
|
|
404
|
+
name?: string | null | undefined;
|
|
405
|
+
description?: string | null | undefined;
|
|
406
|
+
fields?: Array<Fields$Outbound> | undefined;
|
|
407
|
+
visible?: boolean | null | undefined;
|
|
408
|
+
active?: boolean | null | undefined;
|
|
409
|
+
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
/** @internal */
|
|
413
|
+
export const CustomObjectSchemaInput$outboundSchema: z.ZodType<
|
|
414
|
+
CustomObjectSchemaInput$Outbound,
|
|
415
|
+
z.ZodTypeDef,
|
|
416
|
+
CustomObjectSchemaInput
|
|
417
|
+
> = z.object({
|
|
418
|
+
name: z.nullable(z.string()).optional(),
|
|
419
|
+
description: z.nullable(z.string()).optional(),
|
|
420
|
+
fields: z.array(z.lazy(() => Fields$outboundSchema)).optional(),
|
|
421
|
+
visible: z.nullable(z.boolean()).optional(),
|
|
422
|
+
active: z.nullable(z.boolean()).optional(),
|
|
423
|
+
passThrough: z.array(PassThroughBody$outboundSchema).optional(),
|
|
424
|
+
}).transform((v) => {
|
|
425
|
+
return remap$(v, {
|
|
426
|
+
passThrough: "pass_through",
|
|
427
|
+
});
|
|
428
|
+
});
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @internal
|
|
432
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
433
|
+
*/
|
|
434
|
+
export namespace CustomObjectSchemaInput$ {
|
|
435
|
+
/** @deprecated use `CustomObjectSchemaInput$inboundSchema` instead. */
|
|
436
|
+
export const inboundSchema = CustomObjectSchemaInput$inboundSchema;
|
|
437
|
+
/** @deprecated use `CustomObjectSchemaInput$outboundSchema` instead. */
|
|
438
|
+
export const outboundSchema = CustomObjectSchemaInput$outboundSchema;
|
|
439
|
+
/** @deprecated use `CustomObjectSchemaInput$Outbound` instead. */
|
|
440
|
+
export type Outbound = CustomObjectSchemaInput$Outbound;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export function customObjectSchemaInputToJSON(
|
|
444
|
+
customObjectSchemaInput: CustomObjectSchemaInput,
|
|
445
|
+
): string {
|
|
446
|
+
return JSON.stringify(
|
|
447
|
+
CustomObjectSchemaInput$outboundSchema.parse(customObjectSchemaInput),
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export function customObjectSchemaInputFromJSON(
|
|
452
|
+
jsonString: string,
|
|
453
|
+
): SafeParseResult<CustomObjectSchemaInput, SDKValidationError> {
|
|
454
|
+
return safeParse(
|
|
455
|
+
jsonString,
|
|
456
|
+
(x) => CustomObjectSchemaInput$inboundSchema.parse(JSON.parse(x)),
|
|
457
|
+
`Failed to parse 'CustomObjectSchemaInput' from JSON`,
|
|
458
|
+
);
|
|
459
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
UnifiedId,
|
|
12
|
+
UnifiedId$inboundSchema,
|
|
13
|
+
UnifiedId$Outbound,
|
|
14
|
+
UnifiedId$outboundSchema,
|
|
15
|
+
} from "./unifiedid.js";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Custom object deleted
|
|
19
|
+
*/
|
|
20
|
+
export type DeleteCustomObjectResponse = {
|
|
21
|
+
/**
|
|
22
|
+
* HTTP Response Status Code
|
|
23
|
+
*/
|
|
24
|
+
statusCode: number;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP Response Status
|
|
27
|
+
*/
|
|
28
|
+
status: string;
|
|
29
|
+
/**
|
|
30
|
+
* Apideck ID of service provider
|
|
31
|
+
*/
|
|
32
|
+
service: string;
|
|
33
|
+
/**
|
|
34
|
+
* Unified API resource name
|
|
35
|
+
*/
|
|
36
|
+
resource: string;
|
|
37
|
+
/**
|
|
38
|
+
* Operation performed
|
|
39
|
+
*/
|
|
40
|
+
operation: string;
|
|
41
|
+
/**
|
|
42
|
+
* A object containing a unique identifier for the resource that was created, updated, or deleted.
|
|
43
|
+
*/
|
|
44
|
+
data: UnifiedId;
|
|
45
|
+
/**
|
|
46
|
+
* Raw response from the integration when raw=true query param is provided
|
|
47
|
+
*/
|
|
48
|
+
raw?: { [k: string]: any } | null | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const DeleteCustomObjectResponse$inboundSchema: z.ZodType<
|
|
53
|
+
DeleteCustomObjectResponse,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
unknown
|
|
56
|
+
> = z.object({
|
|
57
|
+
status_code: z.number().int(),
|
|
58
|
+
status: z.string(),
|
|
59
|
+
service: z.string(),
|
|
60
|
+
resource: z.string(),
|
|
61
|
+
operation: z.string(),
|
|
62
|
+
data: UnifiedId$inboundSchema,
|
|
63
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
64
|
+
}).transform((v) => {
|
|
65
|
+
return remap$(v, {
|
|
66
|
+
"status_code": "statusCode",
|
|
67
|
+
"_raw": "raw",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export type DeleteCustomObjectResponse$Outbound = {
|
|
73
|
+
status_code: number;
|
|
74
|
+
status: string;
|
|
75
|
+
service: string;
|
|
76
|
+
resource: string;
|
|
77
|
+
operation: string;
|
|
78
|
+
data: UnifiedId$Outbound;
|
|
79
|
+
_raw?: { [k: string]: any } | null | undefined;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const DeleteCustomObjectResponse$outboundSchema: z.ZodType<
|
|
84
|
+
DeleteCustomObjectResponse$Outbound,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
DeleteCustomObjectResponse
|
|
87
|
+
> = z.object({
|
|
88
|
+
statusCode: z.number().int(),
|
|
89
|
+
status: z.string(),
|
|
90
|
+
service: z.string(),
|
|
91
|
+
resource: z.string(),
|
|
92
|
+
operation: z.string(),
|
|
93
|
+
data: UnifiedId$outboundSchema,
|
|
94
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return remap$(v, {
|
|
97
|
+
statusCode: "status_code",
|
|
98
|
+
raw: "_raw",
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
105
|
+
*/
|
|
106
|
+
export namespace DeleteCustomObjectResponse$ {
|
|
107
|
+
/** @deprecated use `DeleteCustomObjectResponse$inboundSchema` instead. */
|
|
108
|
+
export const inboundSchema = DeleteCustomObjectResponse$inboundSchema;
|
|
109
|
+
/** @deprecated use `DeleteCustomObjectResponse$outboundSchema` instead. */
|
|
110
|
+
export const outboundSchema = DeleteCustomObjectResponse$outboundSchema;
|
|
111
|
+
/** @deprecated use `DeleteCustomObjectResponse$Outbound` instead. */
|
|
112
|
+
export type Outbound = DeleteCustomObjectResponse$Outbound;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function deleteCustomObjectResponseToJSON(
|
|
116
|
+
deleteCustomObjectResponse: DeleteCustomObjectResponse,
|
|
117
|
+
): string {
|
|
118
|
+
return JSON.stringify(
|
|
119
|
+
DeleteCustomObjectResponse$outboundSchema.parse(deleteCustomObjectResponse),
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function deleteCustomObjectResponseFromJSON(
|
|
124
|
+
jsonString: string,
|
|
125
|
+
): SafeParseResult<DeleteCustomObjectResponse, SDKValidationError> {
|
|
126
|
+
return safeParse(
|
|
127
|
+
jsonString,
|
|
128
|
+
(x) => DeleteCustomObjectResponse$inboundSchema.parse(JSON.parse(x)),
|
|
129
|
+
`Failed to parse 'DeleteCustomObjectResponse' from JSON`,
|
|
130
|
+
);
|
|
131
|
+
}
|