@apideck/unify 0.29.9 → 0.30.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 +14 -38
- package/RUNTIMES.md +6 -6
- package/docs/sdks/projects/README.md +834 -0
- package/docs/sdks/quotes/README.md +8 -0
- package/examples/package-lock.json +1 -1
- package/funcs/accountingAgedCreditorsGet.js +2 -2
- package/funcs/accountingAgedCreditorsGet.js.map +1 -1
- package/funcs/accountingAgedDebtorsGet.js +2 -2
- package/funcs/accountingAgedDebtorsGet.js.map +1 -1
- package/funcs/accountingAttachmentsDelete.js +2 -2
- package/funcs/accountingAttachmentsDelete.js.map +1 -1
- package/funcs/accountingAttachmentsDownload.js +2 -2
- package/funcs/accountingAttachmentsDownload.js.map +1 -1
- package/funcs/accountingAttachmentsGet.js +2 -2
- package/funcs/accountingAttachmentsGet.js.map +1 -1
- package/funcs/accountingAttachmentsList.js +2 -2
- package/funcs/accountingAttachmentsList.js.map +1 -1
- package/funcs/accountingAttachmentsUpload.js +2 -2
- package/funcs/accountingAttachmentsUpload.js.map +1 -1
- package/funcs/accountingBalanceSheetGet.js +2 -2
- package/funcs/accountingBalanceSheetGet.js.map +1 -1
- package/funcs/accountingBankAccountsCreate.js +2 -2
- package/funcs/accountingBankAccountsCreate.js.map +1 -1
- package/funcs/accountingBankAccountsDelete.js +2 -2
- package/funcs/accountingBankAccountsDelete.js.map +1 -1
- package/funcs/accountingBankAccountsGet.js +2 -2
- package/funcs/accountingBankAccountsGet.js.map +1 -1
- package/funcs/accountingBankAccountsList.js +2 -2
- package/funcs/accountingBankAccountsList.js.map +1 -1
- package/funcs/accountingBankAccountsUpdate.js +2 -2
- package/funcs/accountingBankAccountsUpdate.js.map +1 -1
- package/funcs/accountingBankFeedAccountsCreate.js +2 -2
- package/funcs/accountingBankFeedAccountsCreate.js.map +1 -1
- package/funcs/accountingBankFeedAccountsDelete.js +2 -2
- package/funcs/accountingBankFeedAccountsDelete.js.map +1 -1
- package/funcs/accountingBankFeedAccountsGet.js +2 -2
- package/funcs/accountingBankFeedAccountsGet.js.map +1 -1
- package/funcs/accountingBankFeedAccountsList.js +2 -2
- package/funcs/accountingBankFeedAccountsList.js.map +1 -1
- package/funcs/accountingBankFeedAccountsUpdate.js +2 -2
- package/funcs/accountingBankFeedAccountsUpdate.js.map +1 -1
- package/funcs/accountingBankFeedStatementsCreate.js +2 -2
- package/funcs/accountingBankFeedStatementsCreate.js.map +1 -1
- package/funcs/accountingBankFeedStatementsDelete.js +2 -2
- package/funcs/accountingBankFeedStatementsDelete.js.map +1 -1
- package/funcs/accountingBankFeedStatementsGet.js +2 -2
- package/funcs/accountingBankFeedStatementsGet.js.map +1 -1
- package/funcs/accountingBankFeedStatementsList.js +2 -2
- package/funcs/accountingBankFeedStatementsList.js.map +1 -1
- package/funcs/accountingBankFeedStatementsUpdate.js +2 -2
- package/funcs/accountingBankFeedStatementsUpdate.js.map +1 -1
- package/funcs/accountingBillPaymentsCreate.js +2 -2
- package/funcs/accountingBillPaymentsCreate.js.map +1 -1
- package/funcs/accountingBillPaymentsDelete.js +2 -2
- package/funcs/accountingBillPaymentsDelete.js.map +1 -1
- package/funcs/accountingBillPaymentsGet.js +2 -2
- package/funcs/accountingBillPaymentsGet.js.map +1 -1
- package/funcs/accountingBillPaymentsList.js +2 -2
- package/funcs/accountingBillPaymentsList.js.map +1 -1
- package/funcs/accountingBillPaymentsUpdate.js +2 -2
- package/funcs/accountingBillPaymentsUpdate.js.map +1 -1
- package/funcs/accountingBillsCreate.js +2 -2
- package/funcs/accountingBillsCreate.js.map +1 -1
- package/funcs/accountingBillsDelete.js +2 -2
- package/funcs/accountingBillsDelete.js.map +1 -1
- package/funcs/accountingBillsGet.js +2 -2
- package/funcs/accountingBillsGet.js.map +1 -1
- package/funcs/accountingBillsList.js +2 -2
- package/funcs/accountingBillsList.js.map +1 -1
- package/funcs/accountingBillsUpdate.js +2 -2
- package/funcs/accountingBillsUpdate.js.map +1 -1
- package/funcs/accountingCategoriesGet.js +2 -2
- package/funcs/accountingCategoriesGet.js.map +1 -1
- package/funcs/accountingCategoriesList.js +2 -2
- package/funcs/accountingCategoriesList.js.map +1 -1
- package/funcs/accountingCompanyInfoGet.js +2 -2
- package/funcs/accountingCompanyInfoGet.js.map +1 -1
- package/funcs/accountingCreditNotesCreate.js +2 -2
- package/funcs/accountingCreditNotesCreate.js.map +1 -1
- package/funcs/accountingCreditNotesDelete.js +2 -2
- package/funcs/accountingCreditNotesDelete.js.map +1 -1
- package/funcs/accountingCreditNotesGet.js +2 -2
- package/funcs/accountingCreditNotesGet.js.map +1 -1
- package/funcs/accountingCreditNotesList.js +2 -2
- package/funcs/accountingCreditNotesList.js.map +1 -1
- package/funcs/accountingCreditNotesUpdate.js +2 -2
- package/funcs/accountingCreditNotesUpdate.js.map +1 -1
- package/funcs/accountingCustomersCreate.js +2 -2
- package/funcs/accountingCustomersCreate.js.map +1 -1
- package/funcs/accountingCustomersDelete.js +2 -2
- package/funcs/accountingCustomersDelete.js.map +1 -1
- package/funcs/accountingCustomersGet.js +2 -2
- package/funcs/accountingCustomersGet.js.map +1 -1
- package/funcs/accountingCustomersList.js +2 -2
- package/funcs/accountingCustomersList.js.map +1 -1
- package/funcs/accountingCustomersUpdate.js +2 -2
- package/funcs/accountingCustomersUpdate.js.map +1 -1
- package/funcs/accountingDepartmentsCreate.js +2 -2
- package/funcs/accountingDepartmentsCreate.js.map +1 -1
- package/funcs/accountingDepartmentsDelete.js +2 -2
- package/funcs/accountingDepartmentsDelete.js.map +1 -1
- package/funcs/accountingDepartmentsGet.js +2 -2
- package/funcs/accountingDepartmentsGet.js.map +1 -1
- package/funcs/accountingDepartmentsList.js +2 -2
- package/funcs/accountingDepartmentsList.js.map +1 -1
- package/funcs/accountingDepartmentsUpdate.js +2 -2
- package/funcs/accountingDepartmentsUpdate.js.map +1 -1
- package/funcs/accountingExpensesCreate.js +2 -2
- package/funcs/accountingExpensesCreate.js.map +1 -1
- package/funcs/accountingExpensesDelete.js +2 -2
- package/funcs/accountingExpensesDelete.js.map +1 -1
- package/funcs/accountingExpensesGet.js +2 -2
- package/funcs/accountingExpensesGet.js.map +1 -1
- package/funcs/accountingExpensesList.js +2 -2
- package/funcs/accountingExpensesList.js.map +1 -1
- package/funcs/accountingExpensesUpdate.js +2 -2
- package/funcs/accountingExpensesUpdate.js.map +1 -1
- package/funcs/accountingInvoiceItemsCreate.js +2 -2
- package/funcs/accountingInvoiceItemsCreate.js.map +1 -1
- package/funcs/accountingInvoiceItemsDelete.js +2 -2
- package/funcs/accountingInvoiceItemsDelete.js.map +1 -1
- package/funcs/accountingInvoiceItemsGet.js +2 -2
- package/funcs/accountingInvoiceItemsGet.js.map +1 -1
- package/funcs/accountingInvoiceItemsList.js +2 -2
- package/funcs/accountingInvoiceItemsList.js.map +1 -1
- package/funcs/accountingInvoiceItemsUpdate.js +2 -2
- package/funcs/accountingInvoiceItemsUpdate.js.map +1 -1
- package/funcs/accountingInvoicesCreate.js +2 -2
- package/funcs/accountingInvoicesCreate.js.map +1 -1
- package/funcs/accountingInvoicesDelete.js +2 -2
- package/funcs/accountingInvoicesDelete.js.map +1 -1
- package/funcs/accountingInvoicesGet.js +2 -2
- package/funcs/accountingInvoicesGet.js.map +1 -1
- package/funcs/accountingInvoicesList.js +2 -2
- package/funcs/accountingInvoicesList.js.map +1 -1
- package/funcs/accountingInvoicesUpdate.js +2 -2
- package/funcs/accountingInvoicesUpdate.js.map +1 -1
- package/funcs/accountingJournalEntriesCreate.js +2 -2
- package/funcs/accountingJournalEntriesCreate.js.map +1 -1
- package/funcs/accountingJournalEntriesDelete.js +2 -2
- package/funcs/accountingJournalEntriesDelete.js.map +1 -1
- package/funcs/accountingJournalEntriesGet.js +2 -2
- package/funcs/accountingJournalEntriesGet.js.map +1 -1
- package/funcs/accountingJournalEntriesList.js +2 -2
- package/funcs/accountingJournalEntriesList.js.map +1 -1
- package/funcs/accountingJournalEntriesUpdate.js +2 -2
- package/funcs/accountingJournalEntriesUpdate.js.map +1 -1
- package/funcs/accountingLedgerAccountsCreate.js +2 -2
- package/funcs/accountingLedgerAccountsCreate.js.map +1 -1
- package/funcs/accountingLedgerAccountsDelete.js +2 -2
- package/funcs/accountingLedgerAccountsDelete.js.map +1 -1
- package/funcs/accountingLedgerAccountsGet.js +2 -2
- package/funcs/accountingLedgerAccountsGet.js.map +1 -1
- package/funcs/accountingLedgerAccountsList.js +2 -2
- package/funcs/accountingLedgerAccountsList.js.map +1 -1
- package/funcs/accountingLedgerAccountsUpdate.js +2 -2
- package/funcs/accountingLedgerAccountsUpdate.js.map +1 -1
- package/funcs/accountingLocationsCreate.js +2 -2
- package/funcs/accountingLocationsCreate.js.map +1 -1
- package/funcs/accountingLocationsDelete.js +2 -2
- package/funcs/accountingLocationsDelete.js.map +1 -1
- package/funcs/accountingLocationsGet.js +2 -2
- package/funcs/accountingLocationsGet.js.map +1 -1
- package/funcs/accountingLocationsList.js +2 -2
- package/funcs/accountingLocationsList.js.map +1 -1
- package/funcs/accountingLocationsUpdate.js +2 -2
- package/funcs/accountingLocationsUpdate.js.map +1 -1
- package/funcs/accountingPaymentsCreate.js +2 -2
- package/funcs/accountingPaymentsCreate.js.map +1 -1
- package/funcs/accountingPaymentsDelete.js +2 -2
- package/funcs/accountingPaymentsDelete.js.map +1 -1
- package/funcs/accountingPaymentsGet.js +2 -2
- package/funcs/accountingPaymentsGet.js.map +1 -1
- package/funcs/accountingPaymentsList.js +2 -2
- package/funcs/accountingPaymentsList.js.map +1 -1
- package/funcs/accountingPaymentsUpdate.js +2 -2
- package/funcs/accountingPaymentsUpdate.js.map +1 -1
- package/funcs/accountingProfitAndLossGet.js +2 -2
- package/funcs/accountingProfitAndLossGet.js.map +1 -1
- package/funcs/accountingProjectsCreate.d.ts +18 -0
- package/funcs/accountingProjectsCreate.d.ts.map +1 -0
- package/funcs/accountingProjectsCreate.js +139 -0
- package/funcs/accountingProjectsCreate.js.map +1 -0
- package/funcs/accountingProjectsDelete.d.ts +18 -0
- package/funcs/accountingProjectsDelete.d.ts.map +1 -0
- package/funcs/accountingProjectsDelete.js +142 -0
- package/funcs/accountingProjectsDelete.js.map +1 -0
- package/funcs/accountingProjectsGet.d.ts +18 -0
- package/funcs/accountingProjectsGet.d.ts.map +1 -0
- package/funcs/accountingProjectsGet.js +144 -0
- package/funcs/accountingProjectsGet.js.map +1 -0
- package/funcs/accountingProjectsList.d.ts +21 -0
- package/funcs/accountingProjectsList.d.ts.map +1 -0
- package/funcs/accountingProjectsList.js +170 -0
- package/funcs/accountingProjectsList.js.map +1 -0
- package/funcs/accountingProjectsUpdate.d.ts +18 -0
- package/funcs/accountingProjectsUpdate.d.ts.map +1 -0
- package/funcs/accountingProjectsUpdate.js +143 -0
- package/funcs/accountingProjectsUpdate.js.map +1 -0
- package/funcs/accountingPurchaseOrdersCreate.js +2 -2
- package/funcs/accountingPurchaseOrdersCreate.js.map +1 -1
- package/funcs/accountingPurchaseOrdersDelete.js +2 -2
- package/funcs/accountingPurchaseOrdersDelete.js.map +1 -1
- package/funcs/accountingPurchaseOrdersGet.js +2 -2
- package/funcs/accountingPurchaseOrdersGet.js.map +1 -1
- package/funcs/accountingPurchaseOrdersList.js +2 -2
- package/funcs/accountingPurchaseOrdersList.js.map +1 -1
- package/funcs/accountingPurchaseOrdersUpdate.js +2 -2
- package/funcs/accountingPurchaseOrdersUpdate.js.map +1 -1
- package/funcs/accountingQuotesCreate.js +2 -2
- package/funcs/accountingQuotesCreate.js.map +1 -1
- package/funcs/accountingQuotesDelete.js +2 -2
- package/funcs/accountingQuotesDelete.js.map +1 -1
- package/funcs/accountingQuotesGet.js +2 -2
- package/funcs/accountingQuotesGet.js.map +1 -1
- package/funcs/accountingQuotesList.js +2 -2
- package/funcs/accountingQuotesList.js.map +1 -1
- package/funcs/accountingQuotesUpdate.js +2 -2
- package/funcs/accountingQuotesUpdate.js.map +1 -1
- package/funcs/accountingSubsidiariesCreate.js +2 -2
- package/funcs/accountingSubsidiariesCreate.js.map +1 -1
- package/funcs/accountingSubsidiariesDelete.js +2 -2
- package/funcs/accountingSubsidiariesDelete.js.map +1 -1
- package/funcs/accountingSubsidiariesGet.js +2 -2
- package/funcs/accountingSubsidiariesGet.js.map +1 -1
- package/funcs/accountingSubsidiariesList.js +2 -2
- package/funcs/accountingSubsidiariesList.js.map +1 -1
- package/funcs/accountingSubsidiariesUpdate.js +2 -2
- package/funcs/accountingSubsidiariesUpdate.js.map +1 -1
- package/funcs/accountingSuppliersCreate.js +2 -2
- package/funcs/accountingSuppliersCreate.js.map +1 -1
- package/funcs/accountingSuppliersDelete.js +2 -2
- package/funcs/accountingSuppliersDelete.js.map +1 -1
- package/funcs/accountingSuppliersGet.js +2 -2
- package/funcs/accountingSuppliersGet.js.map +1 -1
- package/funcs/accountingSuppliersList.js +2 -2
- package/funcs/accountingSuppliersList.js.map +1 -1
- package/funcs/accountingSuppliersUpdate.js +2 -2
- package/funcs/accountingSuppliersUpdate.js.map +1 -1
- package/funcs/accountingTaxRatesCreate.js +2 -2
- package/funcs/accountingTaxRatesCreate.js.map +1 -1
- package/funcs/accountingTaxRatesDelete.js +2 -2
- package/funcs/accountingTaxRatesDelete.js.map +1 -1
- package/funcs/accountingTaxRatesGet.js +2 -2
- package/funcs/accountingTaxRatesGet.js.map +1 -1
- package/funcs/accountingTaxRatesList.js +2 -2
- package/funcs/accountingTaxRatesList.js.map +1 -1
- package/funcs/accountingTaxRatesUpdate.js +2 -2
- package/funcs/accountingTaxRatesUpdate.js.map +1 -1
- package/funcs/accountingTrackingCategoriesCreate.js +2 -2
- package/funcs/accountingTrackingCategoriesCreate.js.map +1 -1
- package/funcs/accountingTrackingCategoriesDelete.js +2 -2
- package/funcs/accountingTrackingCategoriesDelete.js.map +1 -1
- package/funcs/accountingTrackingCategoriesGet.js +2 -2
- package/funcs/accountingTrackingCategoriesGet.js.map +1 -1
- package/funcs/accountingTrackingCategoriesList.js +2 -2
- package/funcs/accountingTrackingCategoriesList.js.map +1 -1
- package/funcs/accountingTrackingCategoriesUpdate.js +2 -2
- package/funcs/accountingTrackingCategoriesUpdate.js.map +1 -1
- package/funcs/atsApplicantsCreate.js +2 -2
- package/funcs/atsApplicantsCreate.js.map +1 -1
- package/funcs/atsApplicantsDelete.js +2 -2
- package/funcs/atsApplicantsDelete.js.map +1 -1
- package/funcs/atsApplicantsGet.js +2 -2
- package/funcs/atsApplicantsGet.js.map +1 -1
- package/funcs/atsApplicantsList.js +2 -2
- package/funcs/atsApplicantsList.js.map +1 -1
- package/funcs/atsApplicantsUpdate.js +2 -2
- package/funcs/atsApplicantsUpdate.js.map +1 -1
- package/funcs/atsApplicationsCreate.js +2 -2
- package/funcs/atsApplicationsCreate.js.map +1 -1
- package/funcs/atsApplicationsDelete.js +2 -2
- package/funcs/atsApplicationsDelete.js.map +1 -1
- package/funcs/atsApplicationsGet.js +2 -2
- package/funcs/atsApplicationsGet.js.map +1 -1
- package/funcs/atsApplicationsList.js +2 -2
- package/funcs/atsApplicationsList.js.map +1 -1
- package/funcs/atsApplicationsUpdate.js +2 -2
- package/funcs/atsApplicationsUpdate.js.map +1 -1
- package/funcs/atsJobsGet.js +2 -2
- package/funcs/atsJobsGet.js.map +1 -1
- package/funcs/atsJobsList.js +2 -2
- package/funcs/atsJobsList.js.map +1 -1
- package/funcs/connectorApiResourceCoverageGet.js +2 -2
- package/funcs/connectorApiResourceCoverageGet.js.map +1 -1
- package/funcs/connectorApiResourcesGet.js +2 -2
- package/funcs/connectorApiResourcesGet.js.map +1 -1
- package/funcs/connectorApisGet.js +2 -2
- package/funcs/connectorApisGet.js.map +1 -1
- package/funcs/connectorApisList.js +2 -2
- package/funcs/connectorApisList.js.map +1 -1
- package/funcs/connectorConnectorDocsGet.js +2 -2
- package/funcs/connectorConnectorDocsGet.js.map +1 -1
- package/funcs/connectorConnectorResourcesGet.js +2 -2
- package/funcs/connectorConnectorResourcesGet.js.map +1 -1
- package/funcs/connectorConnectorsGet.js +2 -2
- package/funcs/connectorConnectorsGet.js.map +1 -1
- package/funcs/connectorConnectorsList.js +2 -2
- package/funcs/connectorConnectorsList.js.map +1 -1
- package/funcs/crmActivitiesCreate.js +2 -2
- package/funcs/crmActivitiesCreate.js.map +1 -1
- package/funcs/crmActivitiesDelete.js +2 -2
- package/funcs/crmActivitiesDelete.js.map +1 -1
- package/funcs/crmActivitiesGet.js +2 -2
- package/funcs/crmActivitiesGet.js.map +1 -1
- package/funcs/crmActivitiesList.js +2 -2
- package/funcs/crmActivitiesList.js.map +1 -1
- package/funcs/crmActivitiesUpdate.js +2 -2
- package/funcs/crmActivitiesUpdate.js.map +1 -1
- package/funcs/crmCompaniesCreate.js +2 -2
- package/funcs/crmCompaniesCreate.js.map +1 -1
- package/funcs/crmCompaniesDelete.js +2 -2
- package/funcs/crmCompaniesDelete.js.map +1 -1
- package/funcs/crmCompaniesGet.js +2 -2
- package/funcs/crmCompaniesGet.js.map +1 -1
- package/funcs/crmCompaniesList.js +2 -2
- package/funcs/crmCompaniesList.js.map +1 -1
- package/funcs/crmCompaniesUpdate.js +2 -2
- package/funcs/crmCompaniesUpdate.js.map +1 -1
- package/funcs/crmContactsCreate.js +2 -2
- package/funcs/crmContactsCreate.js.map +1 -1
- package/funcs/crmContactsDelete.js +2 -2
- package/funcs/crmContactsDelete.js.map +1 -1
- package/funcs/crmContactsGet.js +2 -2
- package/funcs/crmContactsGet.js.map +1 -1
- package/funcs/crmContactsList.js +2 -2
- package/funcs/crmContactsList.js.map +1 -1
- package/funcs/crmContactsUpdate.js +2 -2
- package/funcs/crmContactsUpdate.js.map +1 -1
- package/funcs/crmCustomObjectSchemasCreate.js +2 -2
- package/funcs/crmCustomObjectSchemasCreate.js.map +1 -1
- package/funcs/crmCustomObjectSchemasDelete.js +2 -2
- package/funcs/crmCustomObjectSchemasDelete.js.map +1 -1
- package/funcs/crmCustomObjectSchemasGet.js +2 -2
- package/funcs/crmCustomObjectSchemasGet.js.map +1 -1
- package/funcs/crmCustomObjectSchemasList.js +2 -2
- package/funcs/crmCustomObjectSchemasList.js.map +1 -1
- package/funcs/crmCustomObjectSchemasUpdate.js +2 -2
- package/funcs/crmCustomObjectSchemasUpdate.js.map +1 -1
- package/funcs/crmCustomObjectsCreate.js +2 -2
- package/funcs/crmCustomObjectsCreate.js.map +1 -1
- package/funcs/crmCustomObjectsDelete.js +2 -2
- package/funcs/crmCustomObjectsDelete.js.map +1 -1
- package/funcs/crmCustomObjectsGet.js +2 -2
- package/funcs/crmCustomObjectsGet.js.map +1 -1
- package/funcs/crmCustomObjectsList.js +2 -2
- package/funcs/crmCustomObjectsList.js.map +1 -1
- package/funcs/crmCustomObjectsUpdate.js +2 -2
- package/funcs/crmCustomObjectsUpdate.js.map +1 -1
- package/funcs/crmLeadsCreate.js +2 -2
- package/funcs/crmLeadsCreate.js.map +1 -1
- package/funcs/crmLeadsDelete.js +2 -2
- package/funcs/crmLeadsDelete.js.map +1 -1
- package/funcs/crmLeadsGet.js +2 -2
- package/funcs/crmLeadsGet.js.map +1 -1
- package/funcs/crmLeadsList.js +2 -2
- package/funcs/crmLeadsList.js.map +1 -1
- package/funcs/crmLeadsUpdate.js +2 -2
- package/funcs/crmLeadsUpdate.js.map +1 -1
- package/funcs/crmNotesCreate.js +2 -2
- package/funcs/crmNotesCreate.js.map +1 -1
- package/funcs/crmNotesDelete.js +2 -2
- package/funcs/crmNotesDelete.js.map +1 -1
- package/funcs/crmNotesGet.js +2 -2
- package/funcs/crmNotesGet.js.map +1 -1
- package/funcs/crmNotesList.js +2 -2
- package/funcs/crmNotesList.js.map +1 -1
- package/funcs/crmNotesUpdate.js +2 -2
- package/funcs/crmNotesUpdate.js.map +1 -1
- package/funcs/crmOpportunitiesCreate.js +2 -2
- package/funcs/crmOpportunitiesCreate.js.map +1 -1
- package/funcs/crmOpportunitiesDelete.js +2 -2
- package/funcs/crmOpportunitiesDelete.js.map +1 -1
- package/funcs/crmOpportunitiesGet.js +2 -2
- package/funcs/crmOpportunitiesGet.js.map +1 -1
- package/funcs/crmOpportunitiesList.js +2 -2
- package/funcs/crmOpportunitiesList.js.map +1 -1
- package/funcs/crmOpportunitiesUpdate.js +2 -2
- package/funcs/crmOpportunitiesUpdate.js.map +1 -1
- package/funcs/crmPipelinesCreate.js +2 -2
- package/funcs/crmPipelinesCreate.js.map +1 -1
- package/funcs/crmPipelinesDelete.js +2 -2
- package/funcs/crmPipelinesDelete.js.map +1 -1
- package/funcs/crmPipelinesGet.js +2 -2
- package/funcs/crmPipelinesGet.js.map +1 -1
- package/funcs/crmPipelinesList.js +2 -2
- package/funcs/crmPipelinesList.js.map +1 -1
- package/funcs/crmPipelinesUpdate.js +2 -2
- package/funcs/crmPipelinesUpdate.js.map +1 -1
- package/funcs/crmUsersCreate.js +2 -2
- package/funcs/crmUsersCreate.js.map +1 -1
- package/funcs/crmUsersDelete.js +2 -2
- package/funcs/crmUsersDelete.js.map +1 -1
- package/funcs/crmUsersGet.js +2 -2
- package/funcs/crmUsersGet.js.map +1 -1
- package/funcs/crmUsersList.js +2 -2
- package/funcs/crmUsersList.js.map +1 -1
- package/funcs/crmUsersUpdate.js +2 -2
- package/funcs/crmUsersUpdate.js.map +1 -1
- package/funcs/ecommerceCustomersGet.js +2 -2
- package/funcs/ecommerceCustomersGet.js.map +1 -1
- package/funcs/ecommerceCustomersList.js +2 -2
- package/funcs/ecommerceCustomersList.js.map +1 -1
- package/funcs/ecommerceOrdersGet.js +2 -2
- package/funcs/ecommerceOrdersGet.js.map +1 -1
- package/funcs/ecommerceOrdersList.js +2 -2
- package/funcs/ecommerceOrdersList.js.map +1 -1
- package/funcs/ecommerceProductsGet.js +2 -2
- package/funcs/ecommerceProductsGet.js.map +1 -1
- package/funcs/ecommerceProductsList.js +2 -2
- package/funcs/ecommerceProductsList.js.map +1 -1
- package/funcs/ecommerceStoresGet.js +2 -2
- package/funcs/ecommerceStoresGet.js.map +1 -1
- package/funcs/fileStorageDriveGroupsCreate.js +2 -2
- package/funcs/fileStorageDriveGroupsCreate.js.map +1 -1
- package/funcs/fileStorageDriveGroupsDelete.js +2 -2
- package/funcs/fileStorageDriveGroupsDelete.js.map +1 -1
- package/funcs/fileStorageDriveGroupsGet.js +2 -2
- package/funcs/fileStorageDriveGroupsGet.js.map +1 -1
- package/funcs/fileStorageDriveGroupsList.js +2 -2
- package/funcs/fileStorageDriveGroupsList.js.map +1 -1
- package/funcs/fileStorageDriveGroupsUpdate.js +2 -2
- package/funcs/fileStorageDriveGroupsUpdate.js.map +1 -1
- package/funcs/fileStorageDrivesCreate.js +2 -2
- package/funcs/fileStorageDrivesCreate.js.map +1 -1
- package/funcs/fileStorageDrivesDelete.js +2 -2
- package/funcs/fileStorageDrivesDelete.js.map +1 -1
- package/funcs/fileStorageDrivesGet.js +2 -2
- package/funcs/fileStorageDrivesGet.js.map +1 -1
- package/funcs/fileStorageDrivesList.js +2 -2
- package/funcs/fileStorageDrivesList.js.map +1 -1
- package/funcs/fileStorageDrivesUpdate.js +2 -2
- package/funcs/fileStorageDrivesUpdate.js.map +1 -1
- package/funcs/fileStorageFilesDelete.js +2 -2
- package/funcs/fileStorageFilesDelete.js.map +1 -1
- package/funcs/fileStorageFilesDownload.js +2 -2
- package/funcs/fileStorageFilesDownload.js.map +1 -1
- package/funcs/fileStorageFilesExport.js +2 -2
- package/funcs/fileStorageFilesExport.js.map +1 -1
- package/funcs/fileStorageFilesGet.js +2 -2
- package/funcs/fileStorageFilesGet.js.map +1 -1
- package/funcs/fileStorageFilesList.js +2 -2
- package/funcs/fileStorageFilesList.js.map +1 -1
- package/funcs/fileStorageFilesSearch.js +2 -2
- package/funcs/fileStorageFilesSearch.js.map +1 -1
- package/funcs/fileStorageFilesUpdate.js +2 -2
- package/funcs/fileStorageFilesUpdate.js.map +1 -1
- package/funcs/fileStorageFoldersCopy.js +2 -2
- package/funcs/fileStorageFoldersCopy.js.map +1 -1
- package/funcs/fileStorageFoldersCreate.js +2 -2
- package/funcs/fileStorageFoldersCreate.js.map +1 -1
- package/funcs/fileStorageFoldersDelete.js +2 -2
- package/funcs/fileStorageFoldersDelete.js.map +1 -1
- package/funcs/fileStorageFoldersGet.js +2 -2
- package/funcs/fileStorageFoldersGet.js.map +1 -1
- package/funcs/fileStorageFoldersUpdate.js +2 -2
- package/funcs/fileStorageFoldersUpdate.js.map +1 -1
- package/funcs/fileStorageSharedLinksCreate.js +2 -2
- package/funcs/fileStorageSharedLinksCreate.js.map +1 -1
- package/funcs/fileStorageSharedLinksDelete.js +2 -2
- package/funcs/fileStorageSharedLinksDelete.js.map +1 -1
- package/funcs/fileStorageSharedLinksGet.js +2 -2
- package/funcs/fileStorageSharedLinksGet.js.map +1 -1
- package/funcs/fileStorageSharedLinksList.js +2 -2
- package/funcs/fileStorageSharedLinksList.js.map +1 -1
- package/funcs/fileStorageSharedLinksUpdate.js +2 -2
- package/funcs/fileStorageSharedLinksUpdate.js.map +1 -1
- package/funcs/fileStorageUploadSessionsCreate.js +2 -2
- package/funcs/fileStorageUploadSessionsCreate.js.map +1 -1
- package/funcs/fileStorageUploadSessionsDelete.js +2 -2
- package/funcs/fileStorageUploadSessionsDelete.js.map +1 -1
- package/funcs/fileStorageUploadSessionsFinish.js +2 -2
- package/funcs/fileStorageUploadSessionsFinish.js.map +1 -1
- package/funcs/fileStorageUploadSessionsGet.js +2 -2
- package/funcs/fileStorageUploadSessionsGet.js.map +1 -1
- package/funcs/fileStorageUploadSessionsUpload.js +2 -2
- package/funcs/fileStorageUploadSessionsUpload.js.map +1 -1
- package/funcs/hrisCompaniesCreate.js +2 -2
- package/funcs/hrisCompaniesCreate.js.map +1 -1
- package/funcs/hrisCompaniesDelete.js +2 -2
- package/funcs/hrisCompaniesDelete.js.map +1 -1
- package/funcs/hrisCompaniesGet.js +2 -2
- package/funcs/hrisCompaniesGet.js.map +1 -1
- package/funcs/hrisCompaniesList.js +2 -2
- package/funcs/hrisCompaniesList.js.map +1 -1
- package/funcs/hrisCompaniesUpdate.js +2 -2
- package/funcs/hrisCompaniesUpdate.js.map +1 -1
- package/funcs/hrisDepartmentsCreate.js +2 -2
- package/funcs/hrisDepartmentsCreate.js.map +1 -1
- package/funcs/hrisDepartmentsDelete.js +2 -2
- package/funcs/hrisDepartmentsDelete.js.map +1 -1
- package/funcs/hrisDepartmentsGet.js +2 -2
- package/funcs/hrisDepartmentsGet.js.map +1 -1
- package/funcs/hrisDepartmentsList.js +2 -2
- package/funcs/hrisDepartmentsList.js.map +1 -1
- package/funcs/hrisDepartmentsUpdate.js +2 -2
- package/funcs/hrisDepartmentsUpdate.js.map +1 -1
- package/funcs/hrisEmployeePayrollsGet.js +2 -2
- package/funcs/hrisEmployeePayrollsGet.js.map +1 -1
- package/funcs/hrisEmployeePayrollsList.js +2 -2
- package/funcs/hrisEmployeePayrollsList.js.map +1 -1
- package/funcs/hrisEmployeeSchedulesList.js +2 -2
- package/funcs/hrisEmployeeSchedulesList.js.map +1 -1
- package/funcs/hrisEmployeesCreate.js +2 -2
- package/funcs/hrisEmployeesCreate.js.map +1 -1
- package/funcs/hrisEmployeesDelete.js +2 -2
- package/funcs/hrisEmployeesDelete.js.map +1 -1
- package/funcs/hrisEmployeesGet.js +2 -2
- package/funcs/hrisEmployeesGet.js.map +1 -1
- package/funcs/hrisEmployeesList.js +2 -2
- package/funcs/hrisEmployeesList.js.map +1 -1
- package/funcs/hrisEmployeesUpdate.js +2 -2
- package/funcs/hrisEmployeesUpdate.js.map +1 -1
- package/funcs/hrisPayrollsGet.js +2 -2
- package/funcs/hrisPayrollsGet.js.map +1 -1
- package/funcs/hrisPayrollsList.js +2 -2
- package/funcs/hrisPayrollsList.js.map +1 -1
- package/funcs/hrisTimeOffRequestsCreate.js +2 -2
- package/funcs/hrisTimeOffRequestsCreate.js.map +1 -1
- package/funcs/hrisTimeOffRequestsDelete.js +2 -2
- package/funcs/hrisTimeOffRequestsDelete.js.map +1 -1
- package/funcs/hrisTimeOffRequestsGet.js +2 -2
- package/funcs/hrisTimeOffRequestsGet.js.map +1 -1
- package/funcs/hrisTimeOffRequestsList.js +2 -2
- package/funcs/hrisTimeOffRequestsList.js.map +1 -1
- package/funcs/hrisTimeOffRequestsUpdate.js +2 -2
- package/funcs/hrisTimeOffRequestsUpdate.js.map +1 -1
- package/funcs/issueTrackingCollectionTagsList.js +2 -2
- package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsCreate.js +2 -2
- package/funcs/issueTrackingCollectionTicketCommentsCreate.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsDelete.js +2 -2
- package/funcs/issueTrackingCollectionTicketCommentsDelete.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsGet.js +2 -2
- package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsList.js +2 -2
- package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsUpdate.js +2 -2
- package/funcs/issueTrackingCollectionTicketCommentsUpdate.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsCreate.js +2 -2
- package/funcs/issueTrackingCollectionTicketsCreate.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsDelete.js +2 -2
- package/funcs/issueTrackingCollectionTicketsDelete.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsGet.js +2 -2
- package/funcs/issueTrackingCollectionTicketsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsList.js +2 -2
- package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsUpdate.js +2 -2
- package/funcs/issueTrackingCollectionTicketsUpdate.js.map +1 -1
- package/funcs/issueTrackingCollectionUsersGet.js +2 -2
- package/funcs/issueTrackingCollectionUsersGet.js.map +1 -1
- package/funcs/issueTrackingCollectionUsersList.js +2 -2
- package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
- package/funcs/issueTrackingCollectionsGet.js +2 -2
- package/funcs/issueTrackingCollectionsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionsList.js +2 -2
- package/funcs/issueTrackingCollectionsList.js.map +1 -1
- package/funcs/smsMessagesCreate.js +2 -2
- package/funcs/smsMessagesCreate.js.map +1 -1
- package/funcs/smsMessagesDelete.js +2 -2
- package/funcs/smsMessagesDelete.js.map +1 -1
- package/funcs/smsMessagesGet.js +2 -2
- package/funcs/smsMessagesGet.js.map +1 -1
- package/funcs/smsMessagesList.js +2 -2
- package/funcs/smsMessagesList.js.map +1 -1
- package/funcs/smsMessagesUpdate.js +2 -2
- package/funcs/smsMessagesUpdate.js.map +1 -1
- package/funcs/vaultConnectionConsentUpdate.js +2 -2
- package/funcs/vaultConnectionConsentUpdate.js.map +1 -1
- package/funcs/vaultConnectionConsentsList.js +2 -2
- package/funcs/vaultConnectionConsentsList.js.map +1 -1
- package/funcs/vaultConnectionCustomMappingsList.js +2 -2
- package/funcs/vaultConnectionCustomMappingsList.js.map +1 -1
- package/funcs/vaultConnectionSettingsList.js +2 -2
- package/funcs/vaultConnectionSettingsList.js.map +1 -1
- package/funcs/vaultConnectionSettingsUpdate.js +2 -2
- package/funcs/vaultConnectionSettingsUpdate.js.map +1 -1
- package/funcs/vaultConnectionsDelete.js +2 -2
- package/funcs/vaultConnectionsDelete.js.map +1 -1
- package/funcs/vaultConnectionsGet.js +2 -2
- package/funcs/vaultConnectionsGet.js.map +1 -1
- package/funcs/vaultConnectionsImports.js +2 -2
- package/funcs/vaultConnectionsImports.js.map +1 -1
- package/funcs/vaultConnectionsList.js +2 -2
- package/funcs/vaultConnectionsList.js.map +1 -1
- package/funcs/vaultConnectionsToken.js +2 -2
- package/funcs/vaultConnectionsToken.js.map +1 -1
- package/funcs/vaultConnectionsUpdate.js +2 -2
- package/funcs/vaultConnectionsUpdate.js.map +1 -1
- package/funcs/vaultConsumerRequestCountsList.js +2 -2
- package/funcs/vaultConsumerRequestCountsList.js.map +1 -1
- package/funcs/vaultConsumersCreate.js +2 -2
- package/funcs/vaultConsumersCreate.js.map +1 -1
- package/funcs/vaultConsumersDelete.js +2 -2
- package/funcs/vaultConsumersDelete.js.map +1 -1
- package/funcs/vaultConsumersGet.js +2 -2
- package/funcs/vaultConsumersGet.js.map +1 -1
- package/funcs/vaultConsumersList.js +2 -2
- package/funcs/vaultConsumersList.js.map +1 -1
- package/funcs/vaultConsumersUpdate.js +2 -2
- package/funcs/vaultConsumersUpdate.js.map +1 -1
- package/funcs/vaultCreateCallbackState.js +2 -2
- package/funcs/vaultCreateCallbackState.js.map +1 -1
- package/funcs/vaultCustomFieldsList.js +2 -2
- package/funcs/vaultCustomFieldsList.js.map +1 -1
- package/funcs/vaultCustomMappingsList.js +2 -2
- package/funcs/vaultCustomMappingsList.js.map +1 -1
- package/funcs/vaultLogsList.js +2 -2
- package/funcs/vaultLogsList.js.map +1 -1
- package/funcs/vaultSessionsCreate.js +2 -2
- package/funcs/vaultSessionsCreate.js.map +1 -1
- package/funcs/vaultValidateConnectionState.js +2 -2
- package/funcs/vaultValidateConnectionState.js.map +1 -1
- package/funcs/webhookEventLogsList.js +2 -2
- package/funcs/webhookEventLogsList.js.map +1 -1
- package/funcs/webhookWebhooksCreate.js +2 -2
- package/funcs/webhookWebhooksCreate.js.map +1 -1
- package/funcs/webhookWebhooksDelete.js +2 -2
- package/funcs/webhookWebhooksDelete.js.map +1 -1
- package/funcs/webhookWebhooksGet.js +2 -2
- package/funcs/webhookWebhooksGet.js.map +1 -1
- package/funcs/webhookWebhooksList.js +2 -2
- package/funcs/webhookWebhooksList.js.map +1 -1
- package/funcs/webhookWebhooksUpdate.js +2 -2
- package/funcs/webhookWebhooksUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/url.js +1 -1
- package/lib/url.js.map +1 -1
- package/models/components/address.d.ts +5 -0
- package/models/components/address.d.ts.map +1 -1
- package/models/components/address.js +2 -0
- package/models/components/address.js.map +1 -1
- package/models/components/balancebytransaction.d.ts +8 -8
- package/models/components/balancebytransaction.d.ts.map +1 -1
- package/models/components/balancebytransaction.js +15 -13
- package/models/components/balancebytransaction.js.map +1 -1
- package/models/components/categoriesfilter.d.ts +3 -0
- package/models/components/categoriesfilter.d.ts.map +1 -1
- package/models/components/categoriesfilter.js +1 -0
- package/models/components/categoriesfilter.js.map +1 -1
- package/models/components/category.d.ts +3 -0
- package/models/components/category.d.ts.map +1 -1
- package/models/components/category.js +1 -0
- package/models/components/category.js.map +1 -1
- package/models/components/createprojectresponse.d.ts +61 -0
- package/models/components/createprojectresponse.d.ts.map +1 -0
- package/models/components/createprojectresponse.js +89 -0
- package/models/components/createprojectresponse.js.map +1 -0
- package/models/components/customer.d.ts +20 -0
- package/models/components/customer.d.ts.map +1 -1
- package/models/components/customer.js +12 -0
- package/models/components/customer.js.map +1 -1
- package/models/components/deleteprojectresponse.d.ts +61 -0
- package/models/components/deleteprojectresponse.d.ts.map +1 -0
- package/models/components/deleteprojectresponse.js +89 -0
- package/models/components/deleteprojectresponse.js.map +1 -0
- package/models/components/getprojectresponse.d.ts +58 -0
- package/models/components/getprojectresponse.d.ts.map +1 -0
- package/models/components/getprojectresponse.js +89 -0
- package/models/components/getprojectresponse.js.map +1 -0
- package/models/components/getprojectsresponse.d.ts +70 -0
- package/models/components/getprojectsresponse.d.ts.map +1 -0
- package/models/components/getprojectsresponse.js +95 -0
- package/models/components/getprojectsresponse.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invoiceitemfilter.d.ts +36 -0
- package/models/components/invoiceitemfilter.d.ts.map +1 -1
- package/models/components/invoiceitemfilter.js +36 -1
- package/models/components/invoiceitemfilter.js.map +1 -1
- package/models/components/invoiceitemsfilter.d.ts +36 -0
- package/models/components/invoiceitemsfilter.d.ts.map +1 -1
- package/models/components/invoiceitemsfilter.js +34 -1
- package/models/components/invoiceitemsfilter.js.map +1 -1
- package/models/components/invoicelineitem.d.ts +11 -0
- package/models/components/invoicelineitem.d.ts.map +1 -1
- package/models/components/invoicelineitem.js +13 -0
- package/models/components/invoicelineitem.js.map +1 -1
- package/models/components/invoicesfilter.d.ts +5 -0
- package/models/components/invoicesfilter.d.ts.map +1 -1
- package/models/components/invoicesfilter.js +4 -0
- package/models/components/invoicesfilter.js.map +1 -1
- package/models/components/journalentry.d.ts +35 -0
- package/models/components/journalentry.d.ts.map +1 -1
- package/models/components/journalentry.js +28 -0
- package/models/components/journalentry.js.map +1 -1
- package/models/components/journalentrylineitem.d.ts +11 -0
- package/models/components/journalentrylineitem.d.ts.map +1 -1
- package/models/components/journalentrylineitem.js +5 -0
- package/models/components/journalentrylineitem.js.map +1 -1
- package/models/components/ledgeraccount.d.ts +33 -33
- package/models/components/ledgeraccount.js +11 -11
- package/models/components/ledgeraccount.js.map +1 -1
- package/models/components/linkedledgeraccount.d.ts +5 -0
- package/models/components/linkedledgeraccount.d.ts.map +1 -1
- package/models/components/linkedledgeraccount.js +4 -0
- package/models/components/linkedledgeraccount.js.map +1 -1
- package/models/components/linkedledgeraccountinput.d.ts +5 -0
- package/models/components/linkedledgeraccountinput.d.ts.map +1 -1
- package/models/components/linkedledgeraccountinput.js +4 -0
- package/models/components/linkedledgeraccountinput.js.map +1 -1
- package/models/components/project.d.ts +759 -0
- package/models/components/project.d.ts.map +1 -0
- package/models/components/project.js +602 -0
- package/models/components/project.js.map +1 -0
- package/models/components/projectsfilter.d.ts +88 -0
- package/models/components/projectsfilter.d.ts.map +1 -0
- package/models/components/projectsfilter.js +111 -0
- package/models/components/projectsfilter.js.map +1 -0
- package/models/components/projectssort.d.ts +88 -0
- package/models/components/projectssort.d.ts.map +1 -0
- package/models/components/projectssort.js +100 -0
- package/models/components/projectssort.js.map +1 -0
- package/models/components/quotelineitem.d.ts +11 -0
- package/models/components/quotelineitem.d.ts.map +1 -1
- package/models/components/quotelineitem.js +13 -0
- package/models/components/quotelineitem.js.map +1 -1
- package/models/components/ticket.d.ts +9 -9
- package/models/components/ticket.d.ts.map +1 -1
- package/models/components/ticket.js +15 -16
- package/models/components/ticket.js.map +1 -1
- package/models/components/updateprojectresponse.d.ts +61 -0
- package/models/components/updateprojectresponse.d.ts.map +1 -0
- package/models/components/updateprojectresponse.js +89 -0
- package/models/components/updateprojectresponse.js.map +1 -0
- package/models/components/webhookeventtype.d.ts +9 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +3 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/operations/accountingprojectsadd.d.ts +118 -0
- package/models/operations/accountingprojectsadd.d.ts.map +1 -0
- package/models/operations/accountingprojectsadd.js +163 -0
- package/models/operations/accountingprojectsadd.js.map +1 -0
- package/models/operations/accountingprojectsall.d.ts +150 -0
- package/models/operations/accountingprojectsall.d.ts.map +1 -0
- package/models/operations/accountingprojectsall.js +171 -0
- package/models/operations/accountingprojectsall.js.map +1 -0
- package/models/operations/accountingprojectsdelete.d.ts +121 -0
- package/models/operations/accountingprojectsdelete.d.ts.map +1 -0
- package/models/operations/accountingprojectsdelete.js +155 -0
- package/models/operations/accountingprojectsdelete.js.map +1 -0
- package/models/operations/accountingprojectsone.d.ts +121 -0
- package/models/operations/accountingprojectsone.d.ts.map +1 -0
- package/models/operations/accountingprojectsone.js +153 -0
- package/models/operations/accountingprojectsone.js.map +1 -0
- package/models/operations/accountingprojectsupdate.d.ts +123 -0
- package/models/operations/accountingprojectsupdate.d.ts.map +1 -0
- package/models/operations/accountingprojectsupdate.js +165 -0
- package/models/operations/accountingprojectsupdate.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/accounting.d.ts +3 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +4 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/projects.d.ts +43 -0
- package/sdk/projects.d.ts.map +1 -0
- package/sdk/projects.js +63 -0
- package/sdk/projects.js.map +1 -0
- package/src/__tests__/projects.test.ts +471 -0
- package/src/__tests__/quotes.test.ts +6 -0
- package/src/funcs/accountingAgedCreditorsGet.ts +2 -2
- package/src/funcs/accountingAgedDebtorsGet.ts +2 -2
- package/src/funcs/accountingAttachmentsDelete.ts +2 -2
- package/src/funcs/accountingAttachmentsDownload.ts +2 -2
- package/src/funcs/accountingAttachmentsGet.ts +2 -2
- package/src/funcs/accountingAttachmentsList.ts +2 -2
- package/src/funcs/accountingAttachmentsUpload.ts +2 -2
- package/src/funcs/accountingBalanceSheetGet.ts +2 -2
- package/src/funcs/accountingBankAccountsCreate.ts +2 -2
- package/src/funcs/accountingBankAccountsDelete.ts +2 -2
- package/src/funcs/accountingBankAccountsGet.ts +2 -2
- package/src/funcs/accountingBankAccountsList.ts +2 -2
- package/src/funcs/accountingBankAccountsUpdate.ts +2 -2
- package/src/funcs/accountingBankFeedAccountsCreate.ts +2 -2
- package/src/funcs/accountingBankFeedAccountsDelete.ts +2 -2
- package/src/funcs/accountingBankFeedAccountsGet.ts +2 -2
- package/src/funcs/accountingBankFeedAccountsList.ts +2 -2
- package/src/funcs/accountingBankFeedAccountsUpdate.ts +2 -2
- package/src/funcs/accountingBankFeedStatementsCreate.ts +2 -2
- package/src/funcs/accountingBankFeedStatementsDelete.ts +2 -2
- package/src/funcs/accountingBankFeedStatementsGet.ts +2 -2
- package/src/funcs/accountingBankFeedStatementsList.ts +2 -2
- package/src/funcs/accountingBankFeedStatementsUpdate.ts +2 -2
- package/src/funcs/accountingBillPaymentsCreate.ts +2 -2
- package/src/funcs/accountingBillPaymentsDelete.ts +2 -2
- package/src/funcs/accountingBillPaymentsGet.ts +2 -2
- package/src/funcs/accountingBillPaymentsList.ts +2 -2
- package/src/funcs/accountingBillPaymentsUpdate.ts +2 -2
- package/src/funcs/accountingBillsCreate.ts +2 -2
- package/src/funcs/accountingBillsDelete.ts +2 -2
- package/src/funcs/accountingBillsGet.ts +2 -2
- package/src/funcs/accountingBillsList.ts +2 -2
- package/src/funcs/accountingBillsUpdate.ts +2 -2
- package/src/funcs/accountingCategoriesGet.ts +2 -2
- package/src/funcs/accountingCategoriesList.ts +2 -2
- package/src/funcs/accountingCompanyInfoGet.ts +2 -2
- package/src/funcs/accountingCreditNotesCreate.ts +2 -2
- package/src/funcs/accountingCreditNotesDelete.ts +2 -2
- package/src/funcs/accountingCreditNotesGet.ts +2 -2
- package/src/funcs/accountingCreditNotesList.ts +2 -2
- package/src/funcs/accountingCreditNotesUpdate.ts +2 -2
- package/src/funcs/accountingCustomersCreate.ts +2 -2
- package/src/funcs/accountingCustomersDelete.ts +2 -2
- package/src/funcs/accountingCustomersGet.ts +2 -2
- package/src/funcs/accountingCustomersList.ts +2 -2
- package/src/funcs/accountingCustomersUpdate.ts +2 -2
- package/src/funcs/accountingDepartmentsCreate.ts +2 -2
- package/src/funcs/accountingDepartmentsDelete.ts +2 -2
- package/src/funcs/accountingDepartmentsGet.ts +2 -2
- package/src/funcs/accountingDepartmentsList.ts +2 -2
- package/src/funcs/accountingDepartmentsUpdate.ts +2 -2
- package/src/funcs/accountingExpensesCreate.ts +2 -2
- package/src/funcs/accountingExpensesDelete.ts +2 -2
- package/src/funcs/accountingExpensesGet.ts +2 -2
- package/src/funcs/accountingExpensesList.ts +2 -2
- package/src/funcs/accountingExpensesUpdate.ts +2 -2
- package/src/funcs/accountingInvoiceItemsCreate.ts +2 -2
- package/src/funcs/accountingInvoiceItemsDelete.ts +2 -2
- package/src/funcs/accountingInvoiceItemsGet.ts +2 -2
- package/src/funcs/accountingInvoiceItemsList.ts +2 -2
- package/src/funcs/accountingInvoiceItemsUpdate.ts +2 -2
- package/src/funcs/accountingInvoicesCreate.ts +2 -2
- package/src/funcs/accountingInvoicesDelete.ts +2 -2
- package/src/funcs/accountingInvoicesGet.ts +2 -2
- package/src/funcs/accountingInvoicesList.ts +2 -2
- package/src/funcs/accountingInvoicesUpdate.ts +2 -2
- package/src/funcs/accountingJournalEntriesCreate.ts +2 -2
- package/src/funcs/accountingJournalEntriesDelete.ts +2 -2
- package/src/funcs/accountingJournalEntriesGet.ts +2 -2
- package/src/funcs/accountingJournalEntriesList.ts +2 -2
- package/src/funcs/accountingJournalEntriesUpdate.ts +2 -2
- package/src/funcs/accountingLedgerAccountsCreate.ts +2 -2
- package/src/funcs/accountingLedgerAccountsDelete.ts +2 -2
- package/src/funcs/accountingLedgerAccountsGet.ts +2 -2
- package/src/funcs/accountingLedgerAccountsList.ts +2 -2
- package/src/funcs/accountingLedgerAccountsUpdate.ts +2 -2
- package/src/funcs/accountingLocationsCreate.ts +2 -2
- package/src/funcs/accountingLocationsDelete.ts +2 -2
- package/src/funcs/accountingLocationsGet.ts +2 -2
- package/src/funcs/accountingLocationsList.ts +2 -2
- package/src/funcs/accountingLocationsUpdate.ts +2 -2
- package/src/funcs/accountingPaymentsCreate.ts +2 -2
- package/src/funcs/accountingPaymentsDelete.ts +2 -2
- package/src/funcs/accountingPaymentsGet.ts +2 -2
- package/src/funcs/accountingPaymentsList.ts +2 -2
- package/src/funcs/accountingPaymentsUpdate.ts +2 -2
- package/src/funcs/accountingProfitAndLossGet.ts +2 -2
- package/src/funcs/accountingProjectsCreate.ts +221 -0
- package/src/funcs/accountingProjectsDelete.ts +229 -0
- package/src/funcs/accountingProjectsGet.ts +227 -0
- package/src/funcs/accountingProjectsList.ts +301 -0
- package/src/funcs/accountingProjectsUpdate.ts +230 -0
- package/src/funcs/accountingPurchaseOrdersCreate.ts +2 -2
- package/src/funcs/accountingPurchaseOrdersDelete.ts +2 -2
- package/src/funcs/accountingPurchaseOrdersGet.ts +2 -2
- package/src/funcs/accountingPurchaseOrdersList.ts +2 -2
- package/src/funcs/accountingPurchaseOrdersUpdate.ts +2 -2
- package/src/funcs/accountingQuotesCreate.ts +2 -2
- package/src/funcs/accountingQuotesDelete.ts +2 -2
- package/src/funcs/accountingQuotesGet.ts +2 -2
- package/src/funcs/accountingQuotesList.ts +2 -2
- package/src/funcs/accountingQuotesUpdate.ts +2 -2
- package/src/funcs/accountingSubsidiariesCreate.ts +2 -2
- package/src/funcs/accountingSubsidiariesDelete.ts +2 -2
- package/src/funcs/accountingSubsidiariesGet.ts +2 -2
- package/src/funcs/accountingSubsidiariesList.ts +2 -2
- package/src/funcs/accountingSubsidiariesUpdate.ts +2 -2
- package/src/funcs/accountingSuppliersCreate.ts +2 -2
- package/src/funcs/accountingSuppliersDelete.ts +2 -2
- package/src/funcs/accountingSuppliersGet.ts +2 -2
- package/src/funcs/accountingSuppliersList.ts +2 -2
- package/src/funcs/accountingSuppliersUpdate.ts +2 -2
- package/src/funcs/accountingTaxRatesCreate.ts +2 -2
- package/src/funcs/accountingTaxRatesDelete.ts +2 -2
- package/src/funcs/accountingTaxRatesGet.ts +2 -2
- package/src/funcs/accountingTaxRatesList.ts +2 -2
- package/src/funcs/accountingTaxRatesUpdate.ts +2 -2
- package/src/funcs/accountingTrackingCategoriesCreate.ts +2 -2
- package/src/funcs/accountingTrackingCategoriesDelete.ts +2 -2
- package/src/funcs/accountingTrackingCategoriesGet.ts +2 -2
- package/src/funcs/accountingTrackingCategoriesList.ts +2 -2
- package/src/funcs/accountingTrackingCategoriesUpdate.ts +2 -2
- package/src/funcs/atsApplicantsCreate.ts +2 -2
- package/src/funcs/atsApplicantsDelete.ts +2 -2
- package/src/funcs/atsApplicantsGet.ts +2 -2
- package/src/funcs/atsApplicantsList.ts +2 -2
- package/src/funcs/atsApplicantsUpdate.ts +2 -2
- package/src/funcs/atsApplicationsCreate.ts +2 -2
- package/src/funcs/atsApplicationsDelete.ts +2 -2
- package/src/funcs/atsApplicationsGet.ts +2 -2
- package/src/funcs/atsApplicationsList.ts +2 -2
- package/src/funcs/atsApplicationsUpdate.ts +2 -2
- package/src/funcs/atsJobsGet.ts +2 -2
- package/src/funcs/atsJobsList.ts +2 -2
- package/src/funcs/connectorApiResourceCoverageGet.ts +2 -2
- package/src/funcs/connectorApiResourcesGet.ts +2 -2
- package/src/funcs/connectorApisGet.ts +2 -2
- package/src/funcs/connectorApisList.ts +2 -2
- package/src/funcs/connectorConnectorDocsGet.ts +2 -2
- package/src/funcs/connectorConnectorResourcesGet.ts +2 -2
- package/src/funcs/connectorConnectorsGet.ts +2 -2
- package/src/funcs/connectorConnectorsList.ts +2 -2
- package/src/funcs/crmActivitiesCreate.ts +2 -2
- package/src/funcs/crmActivitiesDelete.ts +2 -2
- package/src/funcs/crmActivitiesGet.ts +2 -2
- package/src/funcs/crmActivitiesList.ts +2 -2
- package/src/funcs/crmActivitiesUpdate.ts +2 -2
- package/src/funcs/crmCompaniesCreate.ts +2 -2
- package/src/funcs/crmCompaniesDelete.ts +2 -2
- package/src/funcs/crmCompaniesGet.ts +2 -2
- package/src/funcs/crmCompaniesList.ts +2 -2
- package/src/funcs/crmCompaniesUpdate.ts +2 -2
- package/src/funcs/crmContactsCreate.ts +2 -2
- package/src/funcs/crmContactsDelete.ts +2 -2
- package/src/funcs/crmContactsGet.ts +2 -2
- package/src/funcs/crmContactsList.ts +2 -2
- package/src/funcs/crmContactsUpdate.ts +2 -2
- package/src/funcs/crmCustomObjectSchemasCreate.ts +2 -2
- package/src/funcs/crmCustomObjectSchemasDelete.ts +2 -2
- package/src/funcs/crmCustomObjectSchemasGet.ts +2 -2
- package/src/funcs/crmCustomObjectSchemasList.ts +2 -2
- package/src/funcs/crmCustomObjectSchemasUpdate.ts +2 -2
- package/src/funcs/crmCustomObjectsCreate.ts +2 -2
- package/src/funcs/crmCustomObjectsDelete.ts +2 -2
- package/src/funcs/crmCustomObjectsGet.ts +2 -2
- package/src/funcs/crmCustomObjectsList.ts +2 -2
- package/src/funcs/crmCustomObjectsUpdate.ts +2 -2
- package/src/funcs/crmLeadsCreate.ts +2 -2
- package/src/funcs/crmLeadsDelete.ts +2 -2
- package/src/funcs/crmLeadsGet.ts +2 -2
- package/src/funcs/crmLeadsList.ts +2 -2
- package/src/funcs/crmLeadsUpdate.ts +2 -2
- package/src/funcs/crmNotesCreate.ts +2 -2
- package/src/funcs/crmNotesDelete.ts +2 -2
- package/src/funcs/crmNotesGet.ts +2 -2
- package/src/funcs/crmNotesList.ts +2 -2
- package/src/funcs/crmNotesUpdate.ts +2 -2
- package/src/funcs/crmOpportunitiesCreate.ts +2 -2
- package/src/funcs/crmOpportunitiesDelete.ts +2 -2
- package/src/funcs/crmOpportunitiesGet.ts +2 -2
- package/src/funcs/crmOpportunitiesList.ts +2 -2
- package/src/funcs/crmOpportunitiesUpdate.ts +2 -2
- package/src/funcs/crmPipelinesCreate.ts +2 -2
- package/src/funcs/crmPipelinesDelete.ts +2 -2
- package/src/funcs/crmPipelinesGet.ts +2 -2
- package/src/funcs/crmPipelinesList.ts +2 -2
- package/src/funcs/crmPipelinesUpdate.ts +2 -2
- package/src/funcs/crmUsersCreate.ts +2 -2
- package/src/funcs/crmUsersDelete.ts +2 -2
- package/src/funcs/crmUsersGet.ts +2 -2
- package/src/funcs/crmUsersList.ts +2 -2
- package/src/funcs/crmUsersUpdate.ts +2 -2
- package/src/funcs/ecommerceCustomersGet.ts +2 -2
- package/src/funcs/ecommerceCustomersList.ts +2 -2
- package/src/funcs/ecommerceOrdersGet.ts +2 -2
- package/src/funcs/ecommerceOrdersList.ts +2 -2
- package/src/funcs/ecommerceProductsGet.ts +2 -2
- package/src/funcs/ecommerceProductsList.ts +2 -2
- package/src/funcs/ecommerceStoresGet.ts +2 -2
- package/src/funcs/fileStorageDriveGroupsCreate.ts +2 -2
- package/src/funcs/fileStorageDriveGroupsDelete.ts +2 -2
- package/src/funcs/fileStorageDriveGroupsGet.ts +2 -2
- package/src/funcs/fileStorageDriveGroupsList.ts +2 -2
- package/src/funcs/fileStorageDriveGroupsUpdate.ts +2 -2
- package/src/funcs/fileStorageDrivesCreate.ts +2 -2
- package/src/funcs/fileStorageDrivesDelete.ts +2 -2
- package/src/funcs/fileStorageDrivesGet.ts +2 -2
- package/src/funcs/fileStorageDrivesList.ts +2 -2
- package/src/funcs/fileStorageDrivesUpdate.ts +2 -2
- package/src/funcs/fileStorageFilesDelete.ts +2 -2
- package/src/funcs/fileStorageFilesDownload.ts +2 -2
- package/src/funcs/fileStorageFilesExport.ts +2 -2
- package/src/funcs/fileStorageFilesGet.ts +2 -2
- package/src/funcs/fileStorageFilesList.ts +2 -2
- package/src/funcs/fileStorageFilesSearch.ts +2 -2
- package/src/funcs/fileStorageFilesUpdate.ts +2 -2
- package/src/funcs/fileStorageFoldersCopy.ts +2 -2
- package/src/funcs/fileStorageFoldersCreate.ts +2 -2
- package/src/funcs/fileStorageFoldersDelete.ts +2 -2
- package/src/funcs/fileStorageFoldersGet.ts +2 -2
- package/src/funcs/fileStorageFoldersUpdate.ts +2 -2
- package/src/funcs/fileStorageSharedLinksCreate.ts +2 -2
- package/src/funcs/fileStorageSharedLinksDelete.ts +2 -2
- package/src/funcs/fileStorageSharedLinksGet.ts +2 -2
- package/src/funcs/fileStorageSharedLinksList.ts +2 -2
- package/src/funcs/fileStorageSharedLinksUpdate.ts +2 -2
- package/src/funcs/fileStorageUploadSessionsCreate.ts +2 -2
- package/src/funcs/fileStorageUploadSessionsDelete.ts +2 -2
- package/src/funcs/fileStorageUploadSessionsFinish.ts +2 -2
- package/src/funcs/fileStorageUploadSessionsGet.ts +2 -2
- package/src/funcs/fileStorageUploadSessionsUpload.ts +2 -2
- package/src/funcs/hrisCompaniesCreate.ts +2 -2
- package/src/funcs/hrisCompaniesDelete.ts +2 -2
- package/src/funcs/hrisCompaniesGet.ts +2 -2
- package/src/funcs/hrisCompaniesList.ts +2 -2
- package/src/funcs/hrisCompaniesUpdate.ts +2 -2
- package/src/funcs/hrisDepartmentsCreate.ts +2 -2
- package/src/funcs/hrisDepartmentsDelete.ts +2 -2
- package/src/funcs/hrisDepartmentsGet.ts +2 -2
- package/src/funcs/hrisDepartmentsList.ts +2 -2
- package/src/funcs/hrisDepartmentsUpdate.ts +2 -2
- package/src/funcs/hrisEmployeePayrollsGet.ts +2 -2
- package/src/funcs/hrisEmployeePayrollsList.ts +2 -2
- package/src/funcs/hrisEmployeeSchedulesList.ts +2 -2
- package/src/funcs/hrisEmployeesCreate.ts +2 -2
- package/src/funcs/hrisEmployeesDelete.ts +2 -2
- package/src/funcs/hrisEmployeesGet.ts +2 -2
- package/src/funcs/hrisEmployeesList.ts +2 -2
- package/src/funcs/hrisEmployeesUpdate.ts +2 -2
- package/src/funcs/hrisPayrollsGet.ts +2 -2
- package/src/funcs/hrisPayrollsList.ts +2 -2
- package/src/funcs/hrisTimeOffRequestsCreate.ts +2 -2
- package/src/funcs/hrisTimeOffRequestsDelete.ts +2 -2
- package/src/funcs/hrisTimeOffRequestsGet.ts +2 -2
- package/src/funcs/hrisTimeOffRequestsList.ts +2 -2
- package/src/funcs/hrisTimeOffRequestsUpdate.ts +2 -2
- package/src/funcs/issueTrackingCollectionTagsList.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsCreate.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsDelete.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsUpdate.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketsCreate.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketsDelete.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketsGet.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketsList.ts +2 -2
- package/src/funcs/issueTrackingCollectionTicketsUpdate.ts +2 -2
- package/src/funcs/issueTrackingCollectionUsersGet.ts +2 -2
- package/src/funcs/issueTrackingCollectionUsersList.ts +2 -2
- package/src/funcs/issueTrackingCollectionsGet.ts +2 -2
- package/src/funcs/issueTrackingCollectionsList.ts +2 -2
- package/src/funcs/smsMessagesCreate.ts +2 -2
- package/src/funcs/smsMessagesDelete.ts +2 -2
- package/src/funcs/smsMessagesGet.ts +2 -2
- package/src/funcs/smsMessagesList.ts +2 -2
- package/src/funcs/smsMessagesUpdate.ts +2 -2
- package/src/funcs/vaultConnectionConsentUpdate.ts +2 -2
- package/src/funcs/vaultConnectionConsentsList.ts +2 -2
- package/src/funcs/vaultConnectionCustomMappingsList.ts +2 -2
- package/src/funcs/vaultConnectionSettingsList.ts +2 -2
- package/src/funcs/vaultConnectionSettingsUpdate.ts +2 -2
- package/src/funcs/vaultConnectionsDelete.ts +2 -2
- package/src/funcs/vaultConnectionsGet.ts +2 -2
- package/src/funcs/vaultConnectionsImports.ts +2 -2
- package/src/funcs/vaultConnectionsList.ts +2 -2
- package/src/funcs/vaultConnectionsToken.ts +2 -2
- package/src/funcs/vaultConnectionsUpdate.ts +2 -2
- package/src/funcs/vaultConsumerRequestCountsList.ts +2 -2
- package/src/funcs/vaultConsumersCreate.ts +2 -2
- package/src/funcs/vaultConsumersDelete.ts +2 -2
- package/src/funcs/vaultConsumersGet.ts +2 -2
- package/src/funcs/vaultConsumersList.ts +2 -2
- package/src/funcs/vaultConsumersUpdate.ts +2 -2
- package/src/funcs/vaultCreateCallbackState.ts +2 -2
- package/src/funcs/vaultCustomFieldsList.ts +2 -2
- package/src/funcs/vaultCustomMappingsList.ts +2 -2
- package/src/funcs/vaultLogsList.ts +2 -2
- package/src/funcs/vaultSessionsCreate.ts +2 -2
- package/src/funcs/vaultValidateConnectionState.ts +2 -2
- package/src/funcs/webhookEventLogsList.ts +2 -2
- package/src/funcs/webhookWebhooksCreate.ts +2 -2
- package/src/funcs/webhookWebhooksDelete.ts +2 -2
- package/src/funcs/webhookWebhooksGet.ts +2 -2
- package/src/funcs/webhookWebhooksList.ts +2 -2
- package/src/funcs/webhookWebhooksUpdate.ts +2 -2
- package/src/lib/config.ts +4 -4
- package/src/lib/url.ts +1 -1
- package/src/models/components/address.ts +7 -0
- package/src/models/components/balancebytransaction.ts +22 -16
- package/src/models/components/categoriesfilter.ts +1 -0
- package/src/models/components/category.ts +1 -0
- package/src/models/components/createprojectresponse.ts +122 -0
- package/src/models/components/customer.ts +32 -0
- package/src/models/components/deleteprojectresponse.ts +122 -0
- package/src/models/components/getprojectresponse.ts +119 -0
- package/src/models/components/getprojectsresponse.ts +145 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/invoiceitemfilter.ts +53 -0
- package/src/models/components/invoiceitemsfilter.ts +49 -0
- package/src/models/components/invoicelineitem.ts +23 -0
- package/src/models/components/invoicesfilter.ts +9 -0
- package/src/models/components/journalentry.ts +63 -0
- package/src/models/components/journalentrylineitem.ts +20 -0
- package/src/models/components/ledgeraccount.ts +11 -11
- package/src/models/components/linkedledgeraccount.ts +9 -0
- package/src/models/components/linkedledgeraccountinput.ts +9 -0
- package/src/models/components/project.ts +1189 -0
- package/src/models/components/projectsfilter.ts +136 -0
- package/src/models/components/projectssort.ts +117 -0
- package/src/models/components/quotelineitem.ts +23 -0
- package/src/models/components/ticket.ts +19 -17
- package/src/models/components/updateprojectresponse.ts +122 -0
- package/src/models/components/webhookeventtype.ts +3 -0
- package/src/models/operations/accountingprojectsadd.ts +268 -0
- package/src/models/operations/accountingprojectsall.ts +304 -0
- package/src/models/operations/accountingprojectsdelete.ts +263 -0
- package/src/models/operations/accountingprojectsone.ts +261 -0
- package/src/models/operations/accountingprojectsupdate.ts +275 -0
- package/src/models/operations/index.ts +5 -0
- package/src/sdk/accounting.ts +6 -0
- package/src/sdk/projects.ts +102 -0
- package/docs/sdks/accounting/README.md +0 -6
- package/docs/sdks/apideck/README.md +0 -10
- package/docs/sdks/ats/README.md +0 -6
- package/docs/sdks/connector/README.md +0 -6
- package/docs/sdks/crm/README.md +0 -6
- package/docs/sdks/ecommerce/README.md +0 -6
- package/docs/sdks/filestorage/README.md +0 -6
- package/docs/sdks/hris/README.md +0 -6
- package/docs/sdks/issuetracking/README.md +0 -6
- package/docs/sdks/sms/README.md +0 -6
- package/docs/sdks/vault/README.md +0 -6
- package/docs/sdks/webhook/README.md +0 -6
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Status of projects to filter by
|
|
14
|
+
*/
|
|
15
|
+
export const ProjectStatus = {
|
|
16
|
+
Active: "active",
|
|
17
|
+
Completed: "completed",
|
|
18
|
+
OnHold: "on_hold",
|
|
19
|
+
Cancelled: "cancelled",
|
|
20
|
+
Draft: "draft",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Status of projects to filter by
|
|
24
|
+
*/
|
|
25
|
+
export type ProjectStatus = ClosedEnum<typeof ProjectStatus>;
|
|
26
|
+
|
|
27
|
+
export type ProjectsFilter = {
|
|
28
|
+
/**
|
|
29
|
+
* Name of project to search for
|
|
30
|
+
*/
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Status of projects to filter by
|
|
34
|
+
*/
|
|
35
|
+
status?: ProjectStatus | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Filter projects by customer ID
|
|
38
|
+
*/
|
|
39
|
+
customerId?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Return projects modified after this date
|
|
42
|
+
*/
|
|
43
|
+
updatedSince?: Date | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ProjectStatus$inboundSchema: z.ZodNativeEnum<
|
|
48
|
+
typeof ProjectStatus
|
|
49
|
+
> = z.nativeEnum(ProjectStatus);
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const ProjectStatus$outboundSchema: z.ZodNativeEnum<
|
|
53
|
+
typeof ProjectStatus
|
|
54
|
+
> = ProjectStatus$inboundSchema;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
export namespace ProjectStatus$ {
|
|
61
|
+
/** @deprecated use `ProjectStatus$inboundSchema` instead. */
|
|
62
|
+
export const inboundSchema = ProjectStatus$inboundSchema;
|
|
63
|
+
/** @deprecated use `ProjectStatus$outboundSchema` instead. */
|
|
64
|
+
export const outboundSchema = ProjectStatus$outboundSchema;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const ProjectsFilter$inboundSchema: z.ZodType<
|
|
69
|
+
ProjectsFilter,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
unknown
|
|
72
|
+
> = z.object({
|
|
73
|
+
name: z.string().optional(),
|
|
74
|
+
status: ProjectStatus$inboundSchema.optional(),
|
|
75
|
+
customer_id: z.string().optional(),
|
|
76
|
+
updated_since: z.string().datetime({ offset: true }).transform(v =>
|
|
77
|
+
new Date(v)
|
|
78
|
+
).optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
"customer_id": "customerId",
|
|
82
|
+
"updated_since": "updatedSince",
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type ProjectsFilter$Outbound = {
|
|
88
|
+
name?: string | undefined;
|
|
89
|
+
status?: string | undefined;
|
|
90
|
+
customer_id?: string | undefined;
|
|
91
|
+
updated_since?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export const ProjectsFilter$outboundSchema: z.ZodType<
|
|
96
|
+
ProjectsFilter$Outbound,
|
|
97
|
+
z.ZodTypeDef,
|
|
98
|
+
ProjectsFilter
|
|
99
|
+
> = z.object({
|
|
100
|
+
name: z.string().optional(),
|
|
101
|
+
status: ProjectStatus$outboundSchema.optional(),
|
|
102
|
+
customerId: z.string().optional(),
|
|
103
|
+
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
104
|
+
}).transform((v) => {
|
|
105
|
+
return remap$(v, {
|
|
106
|
+
customerId: "customer_id",
|
|
107
|
+
updatedSince: "updated_since",
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
114
|
+
*/
|
|
115
|
+
export namespace ProjectsFilter$ {
|
|
116
|
+
/** @deprecated use `ProjectsFilter$inboundSchema` instead. */
|
|
117
|
+
export const inboundSchema = ProjectsFilter$inboundSchema;
|
|
118
|
+
/** @deprecated use `ProjectsFilter$outboundSchema` instead. */
|
|
119
|
+
export const outboundSchema = ProjectsFilter$outboundSchema;
|
|
120
|
+
/** @deprecated use `ProjectsFilter$Outbound` instead. */
|
|
121
|
+
export type Outbound = ProjectsFilter$Outbound;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function projectsFilterToJSON(projectsFilter: ProjectsFilter): string {
|
|
125
|
+
return JSON.stringify(ProjectsFilter$outboundSchema.parse(projectsFilter));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function projectsFilterFromJSON(
|
|
129
|
+
jsonString: string,
|
|
130
|
+
): SafeParseResult<ProjectsFilter, SDKValidationError> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) => ProjectsFilter$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'ProjectsFilter' from JSON`,
|
|
135
|
+
);
|
|
136
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
SortDirection,
|
|
12
|
+
SortDirection$inboundSchema,
|
|
13
|
+
SortDirection$outboundSchema,
|
|
14
|
+
} from "./sortdirection.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The field to sort by
|
|
18
|
+
*/
|
|
19
|
+
export const ProjectsSortSortBy = {
|
|
20
|
+
Name: "name",
|
|
21
|
+
Status: "status",
|
|
22
|
+
StartDate: "start_date",
|
|
23
|
+
EndDate: "end_date",
|
|
24
|
+
BudgetAmount: "budget_amount",
|
|
25
|
+
ActualAmount: "actual_amount",
|
|
26
|
+
CreatedAt: "created_at",
|
|
27
|
+
UpdatedAt: "updated_at",
|
|
28
|
+
} as const;
|
|
29
|
+
/**
|
|
30
|
+
* The field to sort by
|
|
31
|
+
*/
|
|
32
|
+
export type ProjectsSortSortBy = ClosedEnum<typeof ProjectsSortSortBy>;
|
|
33
|
+
|
|
34
|
+
export type ProjectsSort = {
|
|
35
|
+
/**
|
|
36
|
+
* The field to sort by
|
|
37
|
+
*/
|
|
38
|
+
by?: ProjectsSortSortBy | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The direction in which to sort the results
|
|
41
|
+
*/
|
|
42
|
+
direction?: SortDirection | undefined;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const ProjectsSortSortBy$inboundSchema: z.ZodNativeEnum<
|
|
47
|
+
typeof ProjectsSortSortBy
|
|
48
|
+
> = z.nativeEnum(ProjectsSortSortBy);
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const ProjectsSortSortBy$outboundSchema: z.ZodNativeEnum<
|
|
52
|
+
typeof ProjectsSortSortBy
|
|
53
|
+
> = ProjectsSortSortBy$inboundSchema;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
export namespace ProjectsSortSortBy$ {
|
|
60
|
+
/** @deprecated use `ProjectsSortSortBy$inboundSchema` instead. */
|
|
61
|
+
export const inboundSchema = ProjectsSortSortBy$inboundSchema;
|
|
62
|
+
/** @deprecated use `ProjectsSortSortBy$outboundSchema` instead. */
|
|
63
|
+
export const outboundSchema = ProjectsSortSortBy$outboundSchema;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const ProjectsSort$inboundSchema: z.ZodType<
|
|
68
|
+
ProjectsSort,
|
|
69
|
+
z.ZodTypeDef,
|
|
70
|
+
unknown
|
|
71
|
+
> = z.object({
|
|
72
|
+
by: ProjectsSortSortBy$inboundSchema.optional(),
|
|
73
|
+
direction: SortDirection$inboundSchema.default("asc"),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export type ProjectsSort$Outbound = {
|
|
78
|
+
by?: string | undefined;
|
|
79
|
+
direction: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const ProjectsSort$outboundSchema: z.ZodType<
|
|
84
|
+
ProjectsSort$Outbound,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
ProjectsSort
|
|
87
|
+
> = z.object({
|
|
88
|
+
by: ProjectsSortSortBy$outboundSchema.optional(),
|
|
89
|
+
direction: SortDirection$outboundSchema.default("asc"),
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
+
*/
|
|
96
|
+
export namespace ProjectsSort$ {
|
|
97
|
+
/** @deprecated use `ProjectsSort$inboundSchema` instead. */
|
|
98
|
+
export const inboundSchema = ProjectsSort$inboundSchema;
|
|
99
|
+
/** @deprecated use `ProjectsSort$outboundSchema` instead. */
|
|
100
|
+
export const outboundSchema = ProjectsSort$outboundSchema;
|
|
101
|
+
/** @deprecated use `ProjectsSort$Outbound` instead. */
|
|
102
|
+
export type Outbound = ProjectsSort$Outbound;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function projectsSortToJSON(projectsSort: ProjectsSort): string {
|
|
106
|
+
return JSON.stringify(ProjectsSort$outboundSchema.parse(projectsSort));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function projectsSortFromJSON(
|
|
110
|
+
jsonString: string,
|
|
111
|
+
): SafeParseResult<ProjectsSort, SDKValidationError> {
|
|
112
|
+
return safeParse(
|
|
113
|
+
jsonString,
|
|
114
|
+
(x) => ProjectsSort$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
+
`Failed to parse 'ProjectsSort' from JSON`,
|
|
116
|
+
);
|
|
117
|
+
}
|
|
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
import {
|
|
12
13
|
CustomField,
|
|
@@ -114,6 +115,10 @@ export type QuoteLineItem = {
|
|
|
114
115
|
* Discount amount applied to the line item when supported downstream.
|
|
115
116
|
*/
|
|
116
117
|
discountAmount?: number | null | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Date on which the service was provided or performed - YYYY-MM-DD.
|
|
120
|
+
*/
|
|
121
|
+
serviceDate?: RFCDate | null | undefined;
|
|
117
122
|
/**
|
|
118
123
|
* ID of the category of the line item
|
|
119
124
|
*/
|
|
@@ -203,6 +208,10 @@ export type QuoteLineItemInput = {
|
|
|
203
208
|
* Discount amount applied to the line item when supported downstream.
|
|
204
209
|
*/
|
|
205
210
|
discountAmount?: number | null | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* Date on which the service was provided or performed - YYYY-MM-DD.
|
|
213
|
+
*/
|
|
214
|
+
serviceDate?: RFCDate | null | undefined;
|
|
206
215
|
/**
|
|
207
216
|
* ID of the category of the line item
|
|
208
217
|
*/
|
|
@@ -269,6 +278,8 @@ export const QuoteLineItem$inboundSchema: z.ZodType<
|
|
|
269
278
|
unit_of_measure: z.nullable(z.string()).optional(),
|
|
270
279
|
discount_percentage: z.nullable(z.number()).optional(),
|
|
271
280
|
discount_amount: z.nullable(z.number()).optional(),
|
|
281
|
+
service_date: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
282
|
+
.optional(),
|
|
272
283
|
category_id: z.nullable(z.string()).optional(),
|
|
273
284
|
location_id: z.nullable(z.string()).optional(),
|
|
274
285
|
department_id: z.nullable(z.string()).optional(),
|
|
@@ -298,6 +309,7 @@ export const QuoteLineItem$inboundSchema: z.ZodType<
|
|
|
298
309
|
"unit_of_measure": "unitOfMeasure",
|
|
299
310
|
"discount_percentage": "discountPercentage",
|
|
300
311
|
"discount_amount": "discountAmount",
|
|
312
|
+
"service_date": "serviceDate",
|
|
301
313
|
"category_id": "categoryId",
|
|
302
314
|
"location_id": "locationId",
|
|
303
315
|
"department_id": "departmentId",
|
|
@@ -328,6 +340,7 @@ export type QuoteLineItem$Outbound = {
|
|
|
328
340
|
unit_of_measure?: string | null | undefined;
|
|
329
341
|
discount_percentage?: number | null | undefined;
|
|
330
342
|
discount_amount?: number | null | undefined;
|
|
343
|
+
service_date?: string | null | undefined;
|
|
331
344
|
category_id?: string | null | undefined;
|
|
332
345
|
location_id?: string | null | undefined;
|
|
333
346
|
department_id?: string | null | undefined;
|
|
@@ -365,6 +378,8 @@ export const QuoteLineItem$outboundSchema: z.ZodType<
|
|
|
365
378
|
unitOfMeasure: z.nullable(z.string()).optional(),
|
|
366
379
|
discountPercentage: z.nullable(z.number()).optional(),
|
|
367
380
|
discountAmount: z.nullable(z.number()).optional(),
|
|
381
|
+
serviceDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
382
|
+
.optional(),
|
|
368
383
|
categoryId: z.nullable(z.string()).optional(),
|
|
369
384
|
locationId: z.nullable(z.string()).optional(),
|
|
370
385
|
departmentId: z.nullable(z.string()).optional(),
|
|
@@ -390,6 +405,7 @@ export const QuoteLineItem$outboundSchema: z.ZodType<
|
|
|
390
405
|
unitOfMeasure: "unit_of_measure",
|
|
391
406
|
discountPercentage: "discount_percentage",
|
|
392
407
|
discountAmount: "discount_amount",
|
|
408
|
+
serviceDate: "service_date",
|
|
393
409
|
categoryId: "category_id",
|
|
394
410
|
locationId: "location_id",
|
|
395
411
|
departmentId: "department_id",
|
|
@@ -451,6 +467,8 @@ export const QuoteLineItemInput$inboundSchema: z.ZodType<
|
|
|
451
467
|
unit_of_measure: z.nullable(z.string()).optional(),
|
|
452
468
|
discount_percentage: z.nullable(z.number()).optional(),
|
|
453
469
|
discount_amount: z.nullable(z.number()).optional(),
|
|
470
|
+
service_date: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
471
|
+
.optional(),
|
|
454
472
|
category_id: z.nullable(z.string()).optional(),
|
|
455
473
|
location_id: z.nullable(z.string()).optional(),
|
|
456
474
|
department_id: z.nullable(z.string()).optional(),
|
|
@@ -472,6 +490,7 @@ export const QuoteLineItemInput$inboundSchema: z.ZodType<
|
|
|
472
490
|
"unit_of_measure": "unitOfMeasure",
|
|
473
491
|
"discount_percentage": "discountPercentage",
|
|
474
492
|
"discount_amount": "discountAmount",
|
|
493
|
+
"service_date": "serviceDate",
|
|
475
494
|
"category_id": "categoryId",
|
|
476
495
|
"location_id": "locationId",
|
|
477
496
|
"department_id": "departmentId",
|
|
@@ -498,6 +517,7 @@ export type QuoteLineItemInput$Outbound = {
|
|
|
498
517
|
unit_of_measure?: string | null | undefined;
|
|
499
518
|
discount_percentage?: number | null | undefined;
|
|
500
519
|
discount_amount?: number | null | undefined;
|
|
520
|
+
service_date?: string | null | undefined;
|
|
501
521
|
category_id?: string | null | undefined;
|
|
502
522
|
location_id?: string | null | undefined;
|
|
503
523
|
department_id?: string | null | undefined;
|
|
@@ -531,6 +551,8 @@ export const QuoteLineItemInput$outboundSchema: z.ZodType<
|
|
|
531
551
|
unitOfMeasure: z.nullable(z.string()).optional(),
|
|
532
552
|
discountPercentage: z.nullable(z.number()).optional(),
|
|
533
553
|
discountAmount: z.nullable(z.number()).optional(),
|
|
554
|
+
serviceDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
555
|
+
.optional(),
|
|
534
556
|
categoryId: z.nullable(z.string()).optional(),
|
|
535
557
|
locationId: z.nullable(z.string()).optional(),
|
|
536
558
|
departmentId: z.nullable(z.string()).optional(),
|
|
@@ -552,6 +574,7 @@ export const QuoteLineItemInput$outboundSchema: z.ZodType<
|
|
|
552
574
|
unitOfMeasure: "unit_of_measure",
|
|
553
575
|
discountPercentage: "discount_percentage",
|
|
554
576
|
discountAmount: "discount_amount",
|
|
577
|
+
serviceDate: "service_date",
|
|
555
578
|
categoryId: "category_id",
|
|
556
579
|
locationId: "location_id",
|
|
557
580
|
departmentId: "department_id",
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
/**
|
|
43
43
|
* Priority of the ticket
|
|
44
44
|
*/
|
|
45
|
-
export const
|
|
45
|
+
export const TicketPriority = {
|
|
46
46
|
Low: "low",
|
|
47
47
|
Normal: "normal",
|
|
48
48
|
High: "high",
|
|
@@ -51,7 +51,7 @@ export const Priority = {
|
|
|
51
51
|
/**
|
|
52
52
|
* Priority of the ticket
|
|
53
53
|
*/
|
|
54
|
-
export type
|
|
54
|
+
export type TicketPriority = ClosedEnum<typeof TicketPriority>;
|
|
55
55
|
|
|
56
56
|
export type Ticket = {
|
|
57
57
|
/**
|
|
@@ -85,7 +85,7 @@ export type Ticket = {
|
|
|
85
85
|
/**
|
|
86
86
|
* Priority of the ticket
|
|
87
87
|
*/
|
|
88
|
-
priority?:
|
|
88
|
+
priority?: TicketPriority | null | undefined;
|
|
89
89
|
assignees?: Array<Assignee> | undefined;
|
|
90
90
|
/**
|
|
91
91
|
* The date and time when the object was last updated.
|
|
@@ -142,7 +142,7 @@ export type TicketInput = {
|
|
|
142
142
|
/**
|
|
143
143
|
* Priority of the ticket
|
|
144
144
|
*/
|
|
145
|
-
priority?:
|
|
145
|
+
priority?: TicketPriority | null | undefined;
|
|
146
146
|
assignees?: Array<AssigneeInput> | undefined;
|
|
147
147
|
/**
|
|
148
148
|
* Due date of the ticket
|
|
@@ -156,22 +156,24 @@ export type TicketInput = {
|
|
|
156
156
|
};
|
|
157
157
|
|
|
158
158
|
/** @internal */
|
|
159
|
-
export const
|
|
160
|
-
|
|
159
|
+
export const TicketPriority$inboundSchema: z.ZodNativeEnum<
|
|
160
|
+
typeof TicketPriority
|
|
161
|
+
> = z.nativeEnum(TicketPriority);
|
|
161
162
|
|
|
162
163
|
/** @internal */
|
|
163
|
-
export const
|
|
164
|
-
|
|
164
|
+
export const TicketPriority$outboundSchema: z.ZodNativeEnum<
|
|
165
|
+
typeof TicketPriority
|
|
166
|
+
> = TicketPriority$inboundSchema;
|
|
165
167
|
|
|
166
168
|
/**
|
|
167
169
|
* @internal
|
|
168
170
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
169
171
|
*/
|
|
170
|
-
export namespace
|
|
171
|
-
/** @deprecated use `
|
|
172
|
-
export const inboundSchema =
|
|
173
|
-
/** @deprecated use `
|
|
174
|
-
export const outboundSchema =
|
|
172
|
+
export namespace TicketPriority$ {
|
|
173
|
+
/** @deprecated use `TicketPriority$inboundSchema` instead. */
|
|
174
|
+
export const inboundSchema = TicketPriority$inboundSchema;
|
|
175
|
+
/** @deprecated use `TicketPriority$outboundSchema` instead. */
|
|
176
|
+
export const outboundSchema = TicketPriority$outboundSchema;
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
/** @internal */
|
|
@@ -184,7 +186,7 @@ export const Ticket$inboundSchema: z.ZodType<Ticket, z.ZodTypeDef, unknown> = z
|
|
|
184
186
|
subject: z.nullable(z.string()).optional(),
|
|
185
187
|
description: z.nullable(z.string()).optional(),
|
|
186
188
|
status: z.nullable(z.string()).optional(),
|
|
187
|
-
priority: z.nullable(
|
|
189
|
+
priority: z.nullable(TicketPriority$inboundSchema).optional(),
|
|
188
190
|
assignees: z.array(Assignee$inboundSchema).optional(),
|
|
189
191
|
updated_at: z.nullable(
|
|
190
192
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -250,7 +252,7 @@ export const Ticket$outboundSchema: z.ZodType<
|
|
|
250
252
|
subject: z.nullable(z.string()).optional(),
|
|
251
253
|
description: z.nullable(z.string()).optional(),
|
|
252
254
|
status: z.nullable(z.string()).optional(),
|
|
253
|
-
priority: z.nullable(
|
|
255
|
+
priority: z.nullable(TicketPriority$outboundSchema).optional(),
|
|
254
256
|
assignees: z.array(Assignee$outboundSchema).optional(),
|
|
255
257
|
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
256
258
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -312,7 +314,7 @@ export const TicketInput$inboundSchema: z.ZodType<
|
|
|
312
314
|
subject: z.nullable(z.string()).optional(),
|
|
313
315
|
description: z.nullable(z.string()).optional(),
|
|
314
316
|
status: z.nullable(z.string()).optional(),
|
|
315
|
-
priority: z.nullable(
|
|
317
|
+
priority: z.nullable(TicketPriority$inboundSchema).optional(),
|
|
316
318
|
assignees: z.array(AssigneeInput$inboundSchema).optional(),
|
|
317
319
|
due_date: z.nullable(
|
|
318
320
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -352,7 +354,7 @@ export const TicketInput$outboundSchema: z.ZodType<
|
|
|
352
354
|
subject: z.nullable(z.string()).optional(),
|
|
353
355
|
description: z.nullable(z.string()).optional(),
|
|
354
356
|
status: z.nullable(z.string()).optional(),
|
|
355
|
-
priority: z.nullable(
|
|
357
|
+
priority: z.nullable(TicketPriority$outboundSchema).optional(),
|
|
356
358
|
assignees: z.array(AssigneeInput$outboundSchema).optional(),
|
|
357
359
|
dueDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
358
360
|
tags: z.array(CollectionTagInput$outboundSchema).optional(),
|
|
@@ -0,0 +1,122 @@
|
|
|
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
|
+
* Projects
|
|
19
|
+
*/
|
|
20
|
+
export type UpdateProjectResponse = {
|
|
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
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const UpdateProjectResponse$inboundSchema: z.ZodType<
|
|
49
|
+
UpdateProjectResponse,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({
|
|
53
|
+
status_code: z.number().int(),
|
|
54
|
+
status: z.string(),
|
|
55
|
+
service: z.string(),
|
|
56
|
+
resource: z.string(),
|
|
57
|
+
operation: z.string(),
|
|
58
|
+
data: UnifiedId$inboundSchema,
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return remap$(v, {
|
|
61
|
+
"status_code": "statusCode",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type UpdateProjectResponse$Outbound = {
|
|
67
|
+
status_code: number;
|
|
68
|
+
status: string;
|
|
69
|
+
service: string;
|
|
70
|
+
resource: string;
|
|
71
|
+
operation: string;
|
|
72
|
+
data: UnifiedId$Outbound;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const UpdateProjectResponse$outboundSchema: z.ZodType<
|
|
77
|
+
UpdateProjectResponse$Outbound,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
UpdateProjectResponse
|
|
80
|
+
> = z.object({
|
|
81
|
+
statusCode: z.number().int(),
|
|
82
|
+
status: z.string(),
|
|
83
|
+
service: z.string(),
|
|
84
|
+
resource: z.string(),
|
|
85
|
+
operation: z.string(),
|
|
86
|
+
data: UnifiedId$outboundSchema,
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return remap$(v, {
|
|
89
|
+
statusCode: "status_code",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
|
+
*/
|
|
97
|
+
export namespace UpdateProjectResponse$ {
|
|
98
|
+
/** @deprecated use `UpdateProjectResponse$inboundSchema` instead. */
|
|
99
|
+
export const inboundSchema = UpdateProjectResponse$inboundSchema;
|
|
100
|
+
/** @deprecated use `UpdateProjectResponse$outboundSchema` instead. */
|
|
101
|
+
export const outboundSchema = UpdateProjectResponse$outboundSchema;
|
|
102
|
+
/** @deprecated use `UpdateProjectResponse$Outbound` instead. */
|
|
103
|
+
export type Outbound = UpdateProjectResponse$Outbound;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function updateProjectResponseToJSON(
|
|
107
|
+
updateProjectResponse: UpdateProjectResponse,
|
|
108
|
+
): string {
|
|
109
|
+
return JSON.stringify(
|
|
110
|
+
UpdateProjectResponse$outboundSchema.parse(updateProjectResponse),
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function updateProjectResponseFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<UpdateProjectResponse, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => UpdateProjectResponse$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'UpdateProjectResponse' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|
|
@@ -127,6 +127,9 @@ export const WebhookEventType = {
|
|
|
127
127
|
AccountingQuoteCreated: "accounting.quote.created",
|
|
128
128
|
AccountingQuoteUpdated: "accounting.quote.updated",
|
|
129
129
|
AccountingQuoteDeleted: "accounting.quote.deleted",
|
|
130
|
+
AccountingProjectCreated: "accounting.project.created",
|
|
131
|
+
AccountingProjectUpdated: "accounting.project.updated",
|
|
132
|
+
AccountingProjectDeleted: "accounting.project.deleted",
|
|
130
133
|
} as const;
|
|
131
134
|
export type WebhookEventType = ClosedEnum<typeof WebhookEventType>;
|
|
132
135
|
|