@apideck/unify 0.23.4 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.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/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 +12 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +12 -1
- package/models/components/index.js.map +1 -1
- package/models/components/journalentry.d.ts +161 -1
- package/models/components/journalentry.d.ts.map +1 -1
- package/models/components/journalentry.js +121 -1
- package/models/components/journalentry.js.map +1 -1
- package/models/components/profitandloss.d.ts +4 -4
- package/models/components/profitandloss.d.ts.map +1 -1
- package/models/components/profitandloss.js +4 -4
- package/models/components/profitandloss.js.map +1 -1
- package/models/components/profitandlossindicator.d.ts +2 -2
- package/models/components/profitandlossindicator.d.ts.map +1 -1
- package/models/components/profitandlossindicator.js +2 -2
- package/models/components/profitandlossindicator.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 +1 -1
- 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/index.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/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 +12 -1
- package/src/models/components/journalentry.ts +259 -0
- package/src/models/components/profitandloss.ts +8 -8
- package/src/models/components/profitandlossindicator.ts +4 -4
- 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,133 @@
|
|
|
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 schema deleted
|
|
19
|
+
*/
|
|
20
|
+
export type DeleteCustomObjectSchemaResponse = {
|
|
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 DeleteCustomObjectSchemaResponse$inboundSchema: z.ZodType<
|
|
53
|
+
DeleteCustomObjectSchemaResponse,
|
|
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 DeleteCustomObjectSchemaResponse$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 DeleteCustomObjectSchemaResponse$outboundSchema: z.ZodType<
|
|
84
|
+
DeleteCustomObjectSchemaResponse$Outbound,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
DeleteCustomObjectSchemaResponse
|
|
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 DeleteCustomObjectSchemaResponse$ {
|
|
107
|
+
/** @deprecated use `DeleteCustomObjectSchemaResponse$inboundSchema` instead. */
|
|
108
|
+
export const inboundSchema = DeleteCustomObjectSchemaResponse$inboundSchema;
|
|
109
|
+
/** @deprecated use `DeleteCustomObjectSchemaResponse$outboundSchema` instead. */
|
|
110
|
+
export const outboundSchema = DeleteCustomObjectSchemaResponse$outboundSchema;
|
|
111
|
+
/** @deprecated use `DeleteCustomObjectSchemaResponse$Outbound` instead. */
|
|
112
|
+
export type Outbound = DeleteCustomObjectSchemaResponse$Outbound;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function deleteCustomObjectSchemaResponseToJSON(
|
|
116
|
+
deleteCustomObjectSchemaResponse: DeleteCustomObjectSchemaResponse,
|
|
117
|
+
): string {
|
|
118
|
+
return JSON.stringify(
|
|
119
|
+
DeleteCustomObjectSchemaResponse$outboundSchema.parse(
|
|
120
|
+
deleteCustomObjectSchemaResponse,
|
|
121
|
+
),
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function deleteCustomObjectSchemaResponseFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<DeleteCustomObjectSchemaResponse, SDKValidationError> {
|
|
128
|
+
return safeParse(
|
|
129
|
+
jsonString,
|
|
130
|
+
(x) => DeleteCustomObjectSchemaResponse$inboundSchema.parse(JSON.parse(x)),
|
|
131
|
+
`Failed to parse 'DeleteCustomObjectSchemaResponse' from JSON`,
|
|
132
|
+
);
|
|
133
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
CustomObject,
|
|
12
|
+
CustomObject$inboundSchema,
|
|
13
|
+
CustomObject$Outbound,
|
|
14
|
+
CustomObject$outboundSchema,
|
|
15
|
+
} from "./customobject.js";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Custom object
|
|
19
|
+
*/
|
|
20
|
+
export type GetCustomObjectResponse = {
|
|
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
|
+
data: CustomObject;
|
|
42
|
+
/**
|
|
43
|
+
* Raw response from the integration when raw=true query param is provided
|
|
44
|
+
*/
|
|
45
|
+
raw?: { [k: string]: any } | null | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const GetCustomObjectResponse$inboundSchema: z.ZodType<
|
|
50
|
+
GetCustomObjectResponse,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
unknown
|
|
53
|
+
> = z.object({
|
|
54
|
+
status_code: z.number().int(),
|
|
55
|
+
status: z.string(),
|
|
56
|
+
service: z.string(),
|
|
57
|
+
resource: z.string(),
|
|
58
|
+
operation: z.string(),
|
|
59
|
+
data: CustomObject$inboundSchema,
|
|
60
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return remap$(v, {
|
|
63
|
+
"status_code": "statusCode",
|
|
64
|
+
"_raw": "raw",
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type GetCustomObjectResponse$Outbound = {
|
|
70
|
+
status_code: number;
|
|
71
|
+
status: string;
|
|
72
|
+
service: string;
|
|
73
|
+
resource: string;
|
|
74
|
+
operation: string;
|
|
75
|
+
data: CustomObject$Outbound;
|
|
76
|
+
_raw?: { [k: string]: any } | null | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const GetCustomObjectResponse$outboundSchema: z.ZodType<
|
|
81
|
+
GetCustomObjectResponse$Outbound,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
GetCustomObjectResponse
|
|
84
|
+
> = z.object({
|
|
85
|
+
statusCode: z.number().int(),
|
|
86
|
+
status: z.string(),
|
|
87
|
+
service: z.string(),
|
|
88
|
+
resource: z.string(),
|
|
89
|
+
operation: z.string(),
|
|
90
|
+
data: CustomObject$outboundSchema,
|
|
91
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
92
|
+
}).transform((v) => {
|
|
93
|
+
return remap$(v, {
|
|
94
|
+
statusCode: "status_code",
|
|
95
|
+
raw: "_raw",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
+
*/
|
|
103
|
+
export namespace GetCustomObjectResponse$ {
|
|
104
|
+
/** @deprecated use `GetCustomObjectResponse$inboundSchema` instead. */
|
|
105
|
+
export const inboundSchema = GetCustomObjectResponse$inboundSchema;
|
|
106
|
+
/** @deprecated use `GetCustomObjectResponse$outboundSchema` instead. */
|
|
107
|
+
export const outboundSchema = GetCustomObjectResponse$outboundSchema;
|
|
108
|
+
/** @deprecated use `GetCustomObjectResponse$Outbound` instead. */
|
|
109
|
+
export type Outbound = GetCustomObjectResponse$Outbound;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function getCustomObjectResponseToJSON(
|
|
113
|
+
getCustomObjectResponse: GetCustomObjectResponse,
|
|
114
|
+
): string {
|
|
115
|
+
return JSON.stringify(
|
|
116
|
+
GetCustomObjectResponse$outboundSchema.parse(getCustomObjectResponse),
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function getCustomObjectResponseFromJSON(
|
|
121
|
+
jsonString: string,
|
|
122
|
+
): SafeParseResult<GetCustomObjectResponse, SDKValidationError> {
|
|
123
|
+
return safeParse(
|
|
124
|
+
jsonString,
|
|
125
|
+
(x) => GetCustomObjectResponse$inboundSchema.parse(JSON.parse(x)),
|
|
126
|
+
`Failed to parse 'GetCustomObjectResponse' from JSON`,
|
|
127
|
+
);
|
|
128
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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
|
+
CustomObjectSchema,
|
|
12
|
+
CustomObjectSchema$inboundSchema,
|
|
13
|
+
CustomObjectSchema$Outbound,
|
|
14
|
+
CustomObjectSchema$outboundSchema,
|
|
15
|
+
} from "./customobjectschema.js";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Custom object schema
|
|
19
|
+
*/
|
|
20
|
+
export type GetCustomObjectSchemaResponse = {
|
|
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
|
+
data: CustomObjectSchema;
|
|
42
|
+
/**
|
|
43
|
+
* Raw response from the integration when raw=true query param is provided
|
|
44
|
+
*/
|
|
45
|
+
raw?: { [k: string]: any } | null | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const GetCustomObjectSchemaResponse$inboundSchema: z.ZodType<
|
|
50
|
+
GetCustomObjectSchemaResponse,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
unknown
|
|
53
|
+
> = z.object({
|
|
54
|
+
status_code: z.number().int(),
|
|
55
|
+
status: z.string(),
|
|
56
|
+
service: z.string(),
|
|
57
|
+
resource: z.string(),
|
|
58
|
+
operation: z.string(),
|
|
59
|
+
data: CustomObjectSchema$inboundSchema,
|
|
60
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return remap$(v, {
|
|
63
|
+
"status_code": "statusCode",
|
|
64
|
+
"_raw": "raw",
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type GetCustomObjectSchemaResponse$Outbound = {
|
|
70
|
+
status_code: number;
|
|
71
|
+
status: string;
|
|
72
|
+
service: string;
|
|
73
|
+
resource: string;
|
|
74
|
+
operation: string;
|
|
75
|
+
data: CustomObjectSchema$Outbound;
|
|
76
|
+
_raw?: { [k: string]: any } | null | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const GetCustomObjectSchemaResponse$outboundSchema: z.ZodType<
|
|
81
|
+
GetCustomObjectSchemaResponse$Outbound,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
GetCustomObjectSchemaResponse
|
|
84
|
+
> = z.object({
|
|
85
|
+
statusCode: z.number().int(),
|
|
86
|
+
status: z.string(),
|
|
87
|
+
service: z.string(),
|
|
88
|
+
resource: z.string(),
|
|
89
|
+
operation: z.string(),
|
|
90
|
+
data: CustomObjectSchema$outboundSchema,
|
|
91
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
92
|
+
}).transform((v) => {
|
|
93
|
+
return remap$(v, {
|
|
94
|
+
statusCode: "status_code",
|
|
95
|
+
raw: "_raw",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
+
*/
|
|
103
|
+
export namespace GetCustomObjectSchemaResponse$ {
|
|
104
|
+
/** @deprecated use `GetCustomObjectSchemaResponse$inboundSchema` instead. */
|
|
105
|
+
export const inboundSchema = GetCustomObjectSchemaResponse$inboundSchema;
|
|
106
|
+
/** @deprecated use `GetCustomObjectSchemaResponse$outboundSchema` instead. */
|
|
107
|
+
export const outboundSchema = GetCustomObjectSchemaResponse$outboundSchema;
|
|
108
|
+
/** @deprecated use `GetCustomObjectSchemaResponse$Outbound` instead. */
|
|
109
|
+
export type Outbound = GetCustomObjectSchemaResponse$Outbound;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function getCustomObjectSchemaResponseToJSON(
|
|
113
|
+
getCustomObjectSchemaResponse: GetCustomObjectSchemaResponse,
|
|
114
|
+
): string {
|
|
115
|
+
return JSON.stringify(
|
|
116
|
+
GetCustomObjectSchemaResponse$outboundSchema.parse(
|
|
117
|
+
getCustomObjectSchemaResponse,
|
|
118
|
+
),
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function getCustomObjectSchemaResponseFromJSON(
|
|
123
|
+
jsonString: string,
|
|
124
|
+
): SafeParseResult<GetCustomObjectSchemaResponse, SDKValidationError> {
|
|
125
|
+
return safeParse(
|
|
126
|
+
jsonString,
|
|
127
|
+
(x) => GetCustomObjectSchemaResponse$inboundSchema.parse(JSON.parse(x)),
|
|
128
|
+
`Failed to parse 'GetCustomObjectSchemaResponse' from JSON`,
|
|
129
|
+
);
|
|
130
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
CustomObjectSchema,
|
|
12
|
+
CustomObjectSchema$inboundSchema,
|
|
13
|
+
CustomObjectSchema$Outbound,
|
|
14
|
+
CustomObjectSchema$outboundSchema,
|
|
15
|
+
} from "./customobjectschema.js";
|
|
16
|
+
import {
|
|
17
|
+
Links,
|
|
18
|
+
Links$inboundSchema,
|
|
19
|
+
Links$Outbound,
|
|
20
|
+
Links$outboundSchema,
|
|
21
|
+
} from "./links.js";
|
|
22
|
+
import {
|
|
23
|
+
Meta,
|
|
24
|
+
Meta$inboundSchema,
|
|
25
|
+
Meta$Outbound,
|
|
26
|
+
Meta$outboundSchema,
|
|
27
|
+
} from "./meta.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Custom object schemas
|
|
31
|
+
*/
|
|
32
|
+
export type GetCustomObjectSchemasResponse = {
|
|
33
|
+
/**
|
|
34
|
+
* HTTP Response Status Code
|
|
35
|
+
*/
|
|
36
|
+
statusCode: number;
|
|
37
|
+
/**
|
|
38
|
+
* HTTP Response Status
|
|
39
|
+
*/
|
|
40
|
+
status: string;
|
|
41
|
+
/**
|
|
42
|
+
* Apideck ID of service provider
|
|
43
|
+
*/
|
|
44
|
+
service: string;
|
|
45
|
+
/**
|
|
46
|
+
* Unified API resource name
|
|
47
|
+
*/
|
|
48
|
+
resource: string;
|
|
49
|
+
/**
|
|
50
|
+
* Operation performed
|
|
51
|
+
*/
|
|
52
|
+
operation: string;
|
|
53
|
+
data: Array<CustomObjectSchema>;
|
|
54
|
+
/**
|
|
55
|
+
* Raw response from the integration when raw=true query param is provided
|
|
56
|
+
*/
|
|
57
|
+
raw?: { [k: string]: any } | null | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Response metadata
|
|
60
|
+
*/
|
|
61
|
+
meta?: Meta | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Links to navigate to previous or next pages through the API
|
|
64
|
+
*/
|
|
65
|
+
links?: Links | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const GetCustomObjectSchemasResponse$inboundSchema: z.ZodType<
|
|
70
|
+
GetCustomObjectSchemasResponse,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
unknown
|
|
73
|
+
> = z.object({
|
|
74
|
+
status_code: z.number().int(),
|
|
75
|
+
status: z.string(),
|
|
76
|
+
service: z.string(),
|
|
77
|
+
resource: z.string(),
|
|
78
|
+
operation: z.string(),
|
|
79
|
+
data: z.array(CustomObjectSchema$inboundSchema),
|
|
80
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
81
|
+
meta: Meta$inboundSchema.optional(),
|
|
82
|
+
links: Links$inboundSchema.optional(),
|
|
83
|
+
}).transform((v) => {
|
|
84
|
+
return remap$(v, {
|
|
85
|
+
"status_code": "statusCode",
|
|
86
|
+
"_raw": "raw",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export type GetCustomObjectSchemasResponse$Outbound = {
|
|
92
|
+
status_code: number;
|
|
93
|
+
status: string;
|
|
94
|
+
service: string;
|
|
95
|
+
resource: string;
|
|
96
|
+
operation: string;
|
|
97
|
+
data: Array<CustomObjectSchema$Outbound>;
|
|
98
|
+
_raw?: { [k: string]: any } | null | undefined;
|
|
99
|
+
meta?: Meta$Outbound | undefined;
|
|
100
|
+
links?: Links$Outbound | undefined;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const GetCustomObjectSchemasResponse$outboundSchema: z.ZodType<
|
|
105
|
+
GetCustomObjectSchemasResponse$Outbound,
|
|
106
|
+
z.ZodTypeDef,
|
|
107
|
+
GetCustomObjectSchemasResponse
|
|
108
|
+
> = z.object({
|
|
109
|
+
statusCode: z.number().int(),
|
|
110
|
+
status: z.string(),
|
|
111
|
+
service: z.string(),
|
|
112
|
+
resource: z.string(),
|
|
113
|
+
operation: z.string(),
|
|
114
|
+
data: z.array(CustomObjectSchema$outboundSchema),
|
|
115
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
116
|
+
meta: Meta$outboundSchema.optional(),
|
|
117
|
+
links: Links$outboundSchema.optional(),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return remap$(v, {
|
|
120
|
+
statusCode: "status_code",
|
|
121
|
+
raw: "_raw",
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
|
+
*/
|
|
129
|
+
export namespace GetCustomObjectSchemasResponse$ {
|
|
130
|
+
/** @deprecated use `GetCustomObjectSchemasResponse$inboundSchema` instead. */
|
|
131
|
+
export const inboundSchema = GetCustomObjectSchemasResponse$inboundSchema;
|
|
132
|
+
/** @deprecated use `GetCustomObjectSchemasResponse$outboundSchema` instead. */
|
|
133
|
+
export const outboundSchema = GetCustomObjectSchemasResponse$outboundSchema;
|
|
134
|
+
/** @deprecated use `GetCustomObjectSchemasResponse$Outbound` instead. */
|
|
135
|
+
export type Outbound = GetCustomObjectSchemasResponse$Outbound;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function getCustomObjectSchemasResponseToJSON(
|
|
139
|
+
getCustomObjectSchemasResponse: GetCustomObjectSchemasResponse,
|
|
140
|
+
): string {
|
|
141
|
+
return JSON.stringify(
|
|
142
|
+
GetCustomObjectSchemasResponse$outboundSchema.parse(
|
|
143
|
+
getCustomObjectSchemasResponse,
|
|
144
|
+
),
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export function getCustomObjectSchemasResponseFromJSON(
|
|
149
|
+
jsonString: string,
|
|
150
|
+
): SafeParseResult<GetCustomObjectSchemasResponse, SDKValidationError> {
|
|
151
|
+
return safeParse(
|
|
152
|
+
jsonString,
|
|
153
|
+
(x) => GetCustomObjectSchemasResponse$inboundSchema.parse(JSON.parse(x)),
|
|
154
|
+
`Failed to parse 'GetCustomObjectSchemasResponse' from JSON`,
|
|
155
|
+
);
|
|
156
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
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
|
+
CustomObject,
|
|
12
|
+
CustomObject$inboundSchema,
|
|
13
|
+
CustomObject$Outbound,
|
|
14
|
+
CustomObject$outboundSchema,
|
|
15
|
+
} from "./customobject.js";
|
|
16
|
+
import {
|
|
17
|
+
Links,
|
|
18
|
+
Links$inboundSchema,
|
|
19
|
+
Links$Outbound,
|
|
20
|
+
Links$outboundSchema,
|
|
21
|
+
} from "./links.js";
|
|
22
|
+
import {
|
|
23
|
+
Meta,
|
|
24
|
+
Meta$inboundSchema,
|
|
25
|
+
Meta$Outbound,
|
|
26
|
+
Meta$outboundSchema,
|
|
27
|
+
} from "./meta.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Custom objects
|
|
31
|
+
*/
|
|
32
|
+
export type GetCustomObjectsResponse = {
|
|
33
|
+
/**
|
|
34
|
+
* HTTP Response Status Code
|
|
35
|
+
*/
|
|
36
|
+
statusCode: number;
|
|
37
|
+
/**
|
|
38
|
+
* HTTP Response Status
|
|
39
|
+
*/
|
|
40
|
+
status: string;
|
|
41
|
+
/**
|
|
42
|
+
* Apideck ID of service provider
|
|
43
|
+
*/
|
|
44
|
+
service: string;
|
|
45
|
+
/**
|
|
46
|
+
* Unified API resource name
|
|
47
|
+
*/
|
|
48
|
+
resource: string;
|
|
49
|
+
/**
|
|
50
|
+
* Operation performed
|
|
51
|
+
*/
|
|
52
|
+
operation: string;
|
|
53
|
+
data: Array<CustomObject>;
|
|
54
|
+
/**
|
|
55
|
+
* Raw response from the integration when raw=true query param is provided
|
|
56
|
+
*/
|
|
57
|
+
raw?: { [k: string]: any } | null | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Response metadata
|
|
60
|
+
*/
|
|
61
|
+
meta?: Meta | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Links to navigate to previous or next pages through the API
|
|
64
|
+
*/
|
|
65
|
+
links?: Links | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const GetCustomObjectsResponse$inboundSchema: z.ZodType<
|
|
70
|
+
GetCustomObjectsResponse,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
unknown
|
|
73
|
+
> = z.object({
|
|
74
|
+
status_code: z.number().int(),
|
|
75
|
+
status: z.string(),
|
|
76
|
+
service: z.string(),
|
|
77
|
+
resource: z.string(),
|
|
78
|
+
operation: z.string(),
|
|
79
|
+
data: z.array(CustomObject$inboundSchema),
|
|
80
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
81
|
+
meta: Meta$inboundSchema.optional(),
|
|
82
|
+
links: Links$inboundSchema.optional(),
|
|
83
|
+
}).transform((v) => {
|
|
84
|
+
return remap$(v, {
|
|
85
|
+
"status_code": "statusCode",
|
|
86
|
+
"_raw": "raw",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export type GetCustomObjectsResponse$Outbound = {
|
|
92
|
+
status_code: number;
|
|
93
|
+
status: string;
|
|
94
|
+
service: string;
|
|
95
|
+
resource: string;
|
|
96
|
+
operation: string;
|
|
97
|
+
data: Array<CustomObject$Outbound>;
|
|
98
|
+
_raw?: { [k: string]: any } | null | undefined;
|
|
99
|
+
meta?: Meta$Outbound | undefined;
|
|
100
|
+
links?: Links$Outbound | undefined;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const GetCustomObjectsResponse$outboundSchema: z.ZodType<
|
|
105
|
+
GetCustomObjectsResponse$Outbound,
|
|
106
|
+
z.ZodTypeDef,
|
|
107
|
+
GetCustomObjectsResponse
|
|
108
|
+
> = z.object({
|
|
109
|
+
statusCode: z.number().int(),
|
|
110
|
+
status: z.string(),
|
|
111
|
+
service: z.string(),
|
|
112
|
+
resource: z.string(),
|
|
113
|
+
operation: z.string(),
|
|
114
|
+
data: z.array(CustomObject$outboundSchema),
|
|
115
|
+
raw: z.nullable(z.record(z.any())).optional(),
|
|
116
|
+
meta: Meta$outboundSchema.optional(),
|
|
117
|
+
links: Links$outboundSchema.optional(),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return remap$(v, {
|
|
120
|
+
statusCode: "status_code",
|
|
121
|
+
raw: "_raw",
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
|
+
*/
|
|
129
|
+
export namespace GetCustomObjectsResponse$ {
|
|
130
|
+
/** @deprecated use `GetCustomObjectsResponse$inboundSchema` instead. */
|
|
131
|
+
export const inboundSchema = GetCustomObjectsResponse$inboundSchema;
|
|
132
|
+
/** @deprecated use `GetCustomObjectsResponse$outboundSchema` instead. */
|
|
133
|
+
export const outboundSchema = GetCustomObjectsResponse$outboundSchema;
|
|
134
|
+
/** @deprecated use `GetCustomObjectsResponse$Outbound` instead. */
|
|
135
|
+
export type Outbound = GetCustomObjectsResponse$Outbound;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function getCustomObjectsResponseToJSON(
|
|
139
|
+
getCustomObjectsResponse: GetCustomObjectsResponse,
|
|
140
|
+
): string {
|
|
141
|
+
return JSON.stringify(
|
|
142
|
+
GetCustomObjectsResponse$outboundSchema.parse(getCustomObjectsResponse),
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function getCustomObjectsResponseFromJSON(
|
|
147
|
+
jsonString: string,
|
|
148
|
+
): SafeParseResult<GetCustomObjectsResponse, SDKValidationError> {
|
|
149
|
+
return safeParse(
|
|
150
|
+
jsonString,
|
|
151
|
+
(x) => GetCustomObjectsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
152
|
+
`Failed to parse 'GetCustomObjectsResponse' from JSON`,
|
|
153
|
+
);
|
|
154
|
+
}
|