@apideck/unify 0.29.9 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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/ledgeraccount.d.ts +33 -33
- package/models/components/ledgeraccount.js +11 -11
- package/models/components/ledgeraccount.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/ledgeraccount.ts +11 -11
- 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,1189 @@
|
|
|
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 { RFCDate } from "../../types/rfcdate.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
import {
|
|
13
|
+
Address,
|
|
14
|
+
Address$inboundSchema,
|
|
15
|
+
Address$Outbound,
|
|
16
|
+
Address$outboundSchema,
|
|
17
|
+
} from "./address.js";
|
|
18
|
+
import {
|
|
19
|
+
Currency,
|
|
20
|
+
Currency$inboundSchema,
|
|
21
|
+
Currency$outboundSchema,
|
|
22
|
+
} from "./currency.js";
|
|
23
|
+
import {
|
|
24
|
+
CustomField,
|
|
25
|
+
CustomField$inboundSchema,
|
|
26
|
+
CustomField$Outbound,
|
|
27
|
+
CustomField$outboundSchema,
|
|
28
|
+
} from "./customfield.js";
|
|
29
|
+
import {
|
|
30
|
+
LinkedCustomer,
|
|
31
|
+
LinkedCustomer$inboundSchema,
|
|
32
|
+
LinkedCustomer$Outbound,
|
|
33
|
+
LinkedCustomer$outboundSchema,
|
|
34
|
+
} from "./linkedcustomer.js";
|
|
35
|
+
import {
|
|
36
|
+
LinkedCustomerInput,
|
|
37
|
+
LinkedCustomerInput$inboundSchema,
|
|
38
|
+
LinkedCustomerInput$Outbound,
|
|
39
|
+
LinkedCustomerInput$outboundSchema,
|
|
40
|
+
} from "./linkedcustomerinput.js";
|
|
41
|
+
import {
|
|
42
|
+
LinkedTaxRate,
|
|
43
|
+
LinkedTaxRate$inboundSchema,
|
|
44
|
+
LinkedTaxRate$Outbound,
|
|
45
|
+
LinkedTaxRate$outboundSchema,
|
|
46
|
+
} from "./linkedtaxrate.js";
|
|
47
|
+
import {
|
|
48
|
+
LinkedTaxRateInput,
|
|
49
|
+
LinkedTaxRateInput$inboundSchema,
|
|
50
|
+
LinkedTaxRateInput$Outbound,
|
|
51
|
+
LinkedTaxRateInput$outboundSchema,
|
|
52
|
+
} from "./linkedtaxrateinput.js";
|
|
53
|
+
import {
|
|
54
|
+
LinkedTrackingCategory,
|
|
55
|
+
LinkedTrackingCategory$inboundSchema,
|
|
56
|
+
LinkedTrackingCategory$Outbound,
|
|
57
|
+
LinkedTrackingCategory$outboundSchema,
|
|
58
|
+
} from "./linkedtrackingcategory.js";
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Current status of the project
|
|
62
|
+
*/
|
|
63
|
+
export const ProjectProjectStatus = {
|
|
64
|
+
Active: "active",
|
|
65
|
+
Completed: "completed",
|
|
66
|
+
OnHold: "on_hold",
|
|
67
|
+
Cancelled: "cancelled",
|
|
68
|
+
Draft: "draft",
|
|
69
|
+
InProgress: "in_progress",
|
|
70
|
+
Approved: "approved",
|
|
71
|
+
Other: "other",
|
|
72
|
+
} as const;
|
|
73
|
+
/**
|
|
74
|
+
* Current status of the project
|
|
75
|
+
*/
|
|
76
|
+
export type ProjectProjectStatus = ClosedEnum<typeof ProjectProjectStatus>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Type or category of the project
|
|
80
|
+
*/
|
|
81
|
+
export const ProjectType = {
|
|
82
|
+
ClientProject: "client_project",
|
|
83
|
+
InternalProject: "internal_project",
|
|
84
|
+
Maintenance: "maintenance",
|
|
85
|
+
ResearchDevelopment: "research_development",
|
|
86
|
+
Training: "training",
|
|
87
|
+
Other: "other",
|
|
88
|
+
} as const;
|
|
89
|
+
/**
|
|
90
|
+
* Type or category of the project
|
|
91
|
+
*/
|
|
92
|
+
export type ProjectType = ClosedEnum<typeof ProjectType>;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Priority level of the project
|
|
96
|
+
*/
|
|
97
|
+
export const Priority = {
|
|
98
|
+
Low: "low",
|
|
99
|
+
Medium: "medium",
|
|
100
|
+
High: "high",
|
|
101
|
+
Critical: "critical",
|
|
102
|
+
} as const;
|
|
103
|
+
/**
|
|
104
|
+
* Priority level of the project
|
|
105
|
+
*/
|
|
106
|
+
export type Priority = ClosedEnum<typeof Priority>;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Department or organizational unit associated with the project
|
|
110
|
+
*/
|
|
111
|
+
export type ProjectDepartment = {
|
|
112
|
+
/**
|
|
113
|
+
* Unique identifier for the department
|
|
114
|
+
*/
|
|
115
|
+
id?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* Name of the department
|
|
118
|
+
*/
|
|
119
|
+
name?: string | undefined;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Parent project if this is a subproject
|
|
124
|
+
*/
|
|
125
|
+
export type ParentProject = {
|
|
126
|
+
/**
|
|
127
|
+
* Unique identifier for the parent project
|
|
128
|
+
*/
|
|
129
|
+
id?: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Name of the parent project
|
|
132
|
+
*/
|
|
133
|
+
name?: string | undefined;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Method used for billing this project
|
|
138
|
+
*/
|
|
139
|
+
export const BillingMethod = {
|
|
140
|
+
FixedPrice: "fixed_price",
|
|
141
|
+
TimeAndMaterials: "time_and_materials",
|
|
142
|
+
MilestoneBased: "milestone_based",
|
|
143
|
+
Retainer: "retainer",
|
|
144
|
+
NonBillable: "non_billable",
|
|
145
|
+
} as const;
|
|
146
|
+
/**
|
|
147
|
+
* Method used for billing this project
|
|
148
|
+
*/
|
|
149
|
+
export type BillingMethod = ClosedEnum<typeof BillingMethod>;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Current phase of the project lifecycle
|
|
153
|
+
*/
|
|
154
|
+
export const ProjectPhase = {
|
|
155
|
+
Initiation: "initiation",
|
|
156
|
+
Planning: "planning",
|
|
157
|
+
Execution: "execution",
|
|
158
|
+
Monitoring: "monitoring",
|
|
159
|
+
Closure: "closure",
|
|
160
|
+
Other: "other",
|
|
161
|
+
} as const;
|
|
162
|
+
/**
|
|
163
|
+
* Current phase of the project lifecycle
|
|
164
|
+
*/
|
|
165
|
+
export type ProjectPhase = ClosedEnum<typeof ProjectPhase>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Current status of project schedule compared to plan
|
|
169
|
+
*/
|
|
170
|
+
export const ScheduleStatus = {
|
|
171
|
+
AheadOfSchedule: "ahead_of_schedule",
|
|
172
|
+
OnSchedule: "on_schedule",
|
|
173
|
+
BehindSchedule: "behind_schedule",
|
|
174
|
+
CriticalDelay: "critical_delay",
|
|
175
|
+
} as const;
|
|
176
|
+
/**
|
|
177
|
+
* Current status of project schedule compared to plan
|
|
178
|
+
*/
|
|
179
|
+
export type ScheduleStatus = ClosedEnum<typeof ScheduleStatus>;
|
|
180
|
+
|
|
181
|
+
export type Project = {
|
|
182
|
+
/**
|
|
183
|
+
* A unique identifier for an object.
|
|
184
|
+
*/
|
|
185
|
+
id?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* The third-party API ID of original entity
|
|
188
|
+
*/
|
|
189
|
+
downstreamId?: string | null | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Name of the project
|
|
192
|
+
*/
|
|
193
|
+
name: string;
|
|
194
|
+
/**
|
|
195
|
+
* User-friendly project identifier
|
|
196
|
+
*/
|
|
197
|
+
displayId?: string | null | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* External reference identifier for the project
|
|
200
|
+
*/
|
|
201
|
+
referenceId?: string | null | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* Detailed description of the project
|
|
204
|
+
*/
|
|
205
|
+
description?: string | null | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* Current status of the project
|
|
208
|
+
*/
|
|
209
|
+
status?: ProjectProjectStatus | null | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* Indicates whether the project is currently active or inactive
|
|
212
|
+
*/
|
|
213
|
+
active?: boolean | null | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* Type or category of the project
|
|
216
|
+
*/
|
|
217
|
+
projectType?: ProjectType | null | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* Priority level of the project
|
|
220
|
+
*/
|
|
221
|
+
priority?: Priority | null | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* Percentage of project completion (0-100)
|
|
224
|
+
*/
|
|
225
|
+
completionPercentage?: number | null | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* Start date of the project
|
|
228
|
+
*/
|
|
229
|
+
startDate?: RFCDate | null | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* Expected or actual end date of the project
|
|
232
|
+
*/
|
|
233
|
+
endDate?: RFCDate | null | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* The customer this entity is linked to.
|
|
236
|
+
*/
|
|
237
|
+
customer?: LinkedCustomer | null | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* Department or organizational unit associated with the project
|
|
240
|
+
*/
|
|
241
|
+
department?: ProjectDepartment | null | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* The company ID the transaction belongs to
|
|
244
|
+
*/
|
|
245
|
+
companyId?: string | null | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* ID of the user who owns/manages this project
|
|
248
|
+
*/
|
|
249
|
+
ownerId?: string | null | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Parent project if this is a subproject
|
|
252
|
+
*/
|
|
253
|
+
parentProject?: ParentProject | null | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
|
|
256
|
+
*/
|
|
257
|
+
currency?: Currency | null | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* Total budgeted amount for the project
|
|
260
|
+
*/
|
|
261
|
+
budgetAmount?: number | null | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Approved budget amount for the project
|
|
264
|
+
*/
|
|
265
|
+
approvedAmount?: number | null | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* Total actual amount spent on the project
|
|
268
|
+
*/
|
|
269
|
+
actualAmount?: number | null | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* Total budgeted hours for the project
|
|
272
|
+
*/
|
|
273
|
+
budgetHours?: number | null | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Total actual hours worked on the project
|
|
276
|
+
*/
|
|
277
|
+
actualHours?: number | null | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* Default hourly rate for project work
|
|
280
|
+
*/
|
|
281
|
+
hourlyRate?: number | null | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* Method used for billing this project
|
|
284
|
+
*/
|
|
285
|
+
billingMethod?: BillingMethod | null | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Indicates if the project is billable to the customer
|
|
288
|
+
*/
|
|
289
|
+
isBillable?: boolean | null | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* Current phase of the project lifecycle
|
|
292
|
+
*/
|
|
293
|
+
phase?: ProjectPhase | null | undefined;
|
|
294
|
+
taxRate?: LinkedTaxRate | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* A list of linked tracking categories.
|
|
297
|
+
*/
|
|
298
|
+
trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* Tags associated with the project
|
|
301
|
+
*/
|
|
302
|
+
tags?: Array<string> | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* Additional notes about the project
|
|
305
|
+
*/
|
|
306
|
+
notes?: string | null | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* Contract or agreement number associated with the project
|
|
309
|
+
*/
|
|
310
|
+
contractNumber?: string | null | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* Expected profit margin percentage for the project
|
|
313
|
+
*/
|
|
314
|
+
profitMargin?: number | null | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* Current status of project schedule compared to plan
|
|
317
|
+
*/
|
|
318
|
+
scheduleStatus?: ScheduleStatus | null | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* An array of addresses associated with the project (billing, job site, etc.)
|
|
321
|
+
*/
|
|
322
|
+
addresses?: Array<Address> | undefined;
|
|
323
|
+
/**
|
|
324
|
+
* Number of team members assigned to the project
|
|
325
|
+
*/
|
|
326
|
+
teamSize?: number | null | undefined;
|
|
327
|
+
customFields?: Array<CustomField> | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
|
|
330
|
+
*/
|
|
331
|
+
rowVersion?: string | null | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* The user who last updated the object.
|
|
334
|
+
*/
|
|
335
|
+
updatedBy?: string | null | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* The user who created the object.
|
|
338
|
+
*/
|
|
339
|
+
createdBy?: string | null | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* The date and time when the object was created.
|
|
342
|
+
*/
|
|
343
|
+
createdAt?: Date | null | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* The date and time when the object was last updated.
|
|
346
|
+
*/
|
|
347
|
+
updatedAt?: Date | null | undefined;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export type ProjectInput = {
|
|
351
|
+
/**
|
|
352
|
+
* Name of the project
|
|
353
|
+
*/
|
|
354
|
+
name: string;
|
|
355
|
+
/**
|
|
356
|
+
* User-friendly project identifier
|
|
357
|
+
*/
|
|
358
|
+
displayId?: string | null | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* External reference identifier for the project
|
|
361
|
+
*/
|
|
362
|
+
referenceId?: string | null | undefined;
|
|
363
|
+
/**
|
|
364
|
+
* Detailed description of the project
|
|
365
|
+
*/
|
|
366
|
+
description?: string | null | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* Current status of the project
|
|
369
|
+
*/
|
|
370
|
+
status?: ProjectProjectStatus | null | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* Indicates whether the project is currently active or inactive
|
|
373
|
+
*/
|
|
374
|
+
active?: boolean | null | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* Type or category of the project
|
|
377
|
+
*/
|
|
378
|
+
projectType?: ProjectType | null | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* Priority level of the project
|
|
381
|
+
*/
|
|
382
|
+
priority?: Priority | null | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* Percentage of project completion (0-100)
|
|
385
|
+
*/
|
|
386
|
+
completionPercentage?: number | null | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* Start date of the project
|
|
389
|
+
*/
|
|
390
|
+
startDate?: RFCDate | null | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* Expected or actual end date of the project
|
|
393
|
+
*/
|
|
394
|
+
endDate?: RFCDate | null | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* The customer this entity is linked to.
|
|
397
|
+
*/
|
|
398
|
+
customer?: LinkedCustomerInput | null | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* Department or organizational unit associated with the project
|
|
401
|
+
*/
|
|
402
|
+
department?: ProjectDepartment | null | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* The company ID the transaction belongs to
|
|
405
|
+
*/
|
|
406
|
+
companyId?: string | null | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* ID of the user who owns/manages this project
|
|
409
|
+
*/
|
|
410
|
+
ownerId?: string | null | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* Parent project if this is a subproject
|
|
413
|
+
*/
|
|
414
|
+
parentProject?: ParentProject | null | undefined;
|
|
415
|
+
/**
|
|
416
|
+
* Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
|
|
417
|
+
*/
|
|
418
|
+
currency?: Currency | null | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* Total budgeted amount for the project
|
|
421
|
+
*/
|
|
422
|
+
budgetAmount?: number | null | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* Approved budget amount for the project
|
|
425
|
+
*/
|
|
426
|
+
approvedAmount?: number | null | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* Total budgeted hours for the project
|
|
429
|
+
*/
|
|
430
|
+
budgetHours?: number | null | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* Default hourly rate for project work
|
|
433
|
+
*/
|
|
434
|
+
hourlyRate?: number | null | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* Method used for billing this project
|
|
437
|
+
*/
|
|
438
|
+
billingMethod?: BillingMethod | null | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* Indicates if the project is billable to the customer
|
|
441
|
+
*/
|
|
442
|
+
isBillable?: boolean | null | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* Current phase of the project lifecycle
|
|
445
|
+
*/
|
|
446
|
+
phase?: ProjectPhase | null | undefined;
|
|
447
|
+
taxRate?: LinkedTaxRateInput | undefined;
|
|
448
|
+
/**
|
|
449
|
+
* A list of linked tracking categories.
|
|
450
|
+
*/
|
|
451
|
+
trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* Tags associated with the project
|
|
454
|
+
*/
|
|
455
|
+
tags?: Array<string> | undefined;
|
|
456
|
+
/**
|
|
457
|
+
* Additional notes about the project
|
|
458
|
+
*/
|
|
459
|
+
notes?: string | null | undefined;
|
|
460
|
+
/**
|
|
461
|
+
* Contract or agreement number associated with the project
|
|
462
|
+
*/
|
|
463
|
+
contractNumber?: string | null | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* Expected profit margin percentage for the project
|
|
466
|
+
*/
|
|
467
|
+
profitMargin?: number | null | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* Current status of project schedule compared to plan
|
|
470
|
+
*/
|
|
471
|
+
scheduleStatus?: ScheduleStatus | null | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* An array of addresses associated with the project (billing, job site, etc.)
|
|
474
|
+
*/
|
|
475
|
+
addresses?: Array<Address> | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* Number of team members assigned to the project
|
|
478
|
+
*/
|
|
479
|
+
teamSize?: number | null | undefined;
|
|
480
|
+
customFields?: Array<CustomField> | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
|
|
483
|
+
*/
|
|
484
|
+
rowVersion?: string | null | undefined;
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
/** @internal */
|
|
488
|
+
export const ProjectProjectStatus$inboundSchema: z.ZodNativeEnum<
|
|
489
|
+
typeof ProjectProjectStatus
|
|
490
|
+
> = z.nativeEnum(ProjectProjectStatus);
|
|
491
|
+
|
|
492
|
+
/** @internal */
|
|
493
|
+
export const ProjectProjectStatus$outboundSchema: z.ZodNativeEnum<
|
|
494
|
+
typeof ProjectProjectStatus
|
|
495
|
+
> = ProjectProjectStatus$inboundSchema;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
500
|
+
*/
|
|
501
|
+
export namespace ProjectProjectStatus$ {
|
|
502
|
+
/** @deprecated use `ProjectProjectStatus$inboundSchema` instead. */
|
|
503
|
+
export const inboundSchema = ProjectProjectStatus$inboundSchema;
|
|
504
|
+
/** @deprecated use `ProjectProjectStatus$outboundSchema` instead. */
|
|
505
|
+
export const outboundSchema = ProjectProjectStatus$outboundSchema;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/** @internal */
|
|
509
|
+
export const ProjectType$inboundSchema: z.ZodNativeEnum<typeof ProjectType> = z
|
|
510
|
+
.nativeEnum(ProjectType);
|
|
511
|
+
|
|
512
|
+
/** @internal */
|
|
513
|
+
export const ProjectType$outboundSchema: z.ZodNativeEnum<typeof ProjectType> =
|
|
514
|
+
ProjectType$inboundSchema;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @internal
|
|
518
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
519
|
+
*/
|
|
520
|
+
export namespace ProjectType$ {
|
|
521
|
+
/** @deprecated use `ProjectType$inboundSchema` instead. */
|
|
522
|
+
export const inboundSchema = ProjectType$inboundSchema;
|
|
523
|
+
/** @deprecated use `ProjectType$outboundSchema` instead. */
|
|
524
|
+
export const outboundSchema = ProjectType$outboundSchema;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/** @internal */
|
|
528
|
+
export const Priority$inboundSchema: z.ZodNativeEnum<typeof Priority> = z
|
|
529
|
+
.nativeEnum(Priority);
|
|
530
|
+
|
|
531
|
+
/** @internal */
|
|
532
|
+
export const Priority$outboundSchema: z.ZodNativeEnum<typeof Priority> =
|
|
533
|
+
Priority$inboundSchema;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @internal
|
|
537
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
538
|
+
*/
|
|
539
|
+
export namespace Priority$ {
|
|
540
|
+
/** @deprecated use `Priority$inboundSchema` instead. */
|
|
541
|
+
export const inboundSchema = Priority$inboundSchema;
|
|
542
|
+
/** @deprecated use `Priority$outboundSchema` instead. */
|
|
543
|
+
export const outboundSchema = Priority$outboundSchema;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/** @internal */
|
|
547
|
+
export const ProjectDepartment$inboundSchema: z.ZodType<
|
|
548
|
+
ProjectDepartment,
|
|
549
|
+
z.ZodTypeDef,
|
|
550
|
+
unknown
|
|
551
|
+
> = z.object({
|
|
552
|
+
id: z.string().optional(),
|
|
553
|
+
name: z.string().optional(),
|
|
554
|
+
});
|
|
555
|
+
|
|
556
|
+
/** @internal */
|
|
557
|
+
export type ProjectDepartment$Outbound = {
|
|
558
|
+
id?: string | undefined;
|
|
559
|
+
name?: string | undefined;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
/** @internal */
|
|
563
|
+
export const ProjectDepartment$outboundSchema: z.ZodType<
|
|
564
|
+
ProjectDepartment$Outbound,
|
|
565
|
+
z.ZodTypeDef,
|
|
566
|
+
ProjectDepartment
|
|
567
|
+
> = z.object({
|
|
568
|
+
id: z.string().optional(),
|
|
569
|
+
name: z.string().optional(),
|
|
570
|
+
});
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @internal
|
|
574
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
575
|
+
*/
|
|
576
|
+
export namespace ProjectDepartment$ {
|
|
577
|
+
/** @deprecated use `ProjectDepartment$inboundSchema` instead. */
|
|
578
|
+
export const inboundSchema = ProjectDepartment$inboundSchema;
|
|
579
|
+
/** @deprecated use `ProjectDepartment$outboundSchema` instead. */
|
|
580
|
+
export const outboundSchema = ProjectDepartment$outboundSchema;
|
|
581
|
+
/** @deprecated use `ProjectDepartment$Outbound` instead. */
|
|
582
|
+
export type Outbound = ProjectDepartment$Outbound;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export function projectDepartmentToJSON(
|
|
586
|
+
projectDepartment: ProjectDepartment,
|
|
587
|
+
): string {
|
|
588
|
+
return JSON.stringify(
|
|
589
|
+
ProjectDepartment$outboundSchema.parse(projectDepartment),
|
|
590
|
+
);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export function projectDepartmentFromJSON(
|
|
594
|
+
jsonString: string,
|
|
595
|
+
): SafeParseResult<ProjectDepartment, SDKValidationError> {
|
|
596
|
+
return safeParse(
|
|
597
|
+
jsonString,
|
|
598
|
+
(x) => ProjectDepartment$inboundSchema.parse(JSON.parse(x)),
|
|
599
|
+
`Failed to parse 'ProjectDepartment' from JSON`,
|
|
600
|
+
);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/** @internal */
|
|
604
|
+
export const ParentProject$inboundSchema: z.ZodType<
|
|
605
|
+
ParentProject,
|
|
606
|
+
z.ZodTypeDef,
|
|
607
|
+
unknown
|
|
608
|
+
> = z.object({
|
|
609
|
+
id: z.string().optional(),
|
|
610
|
+
name: z.string().optional(),
|
|
611
|
+
});
|
|
612
|
+
|
|
613
|
+
/** @internal */
|
|
614
|
+
export type ParentProject$Outbound = {
|
|
615
|
+
id?: string | undefined;
|
|
616
|
+
name?: string | undefined;
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
/** @internal */
|
|
620
|
+
export const ParentProject$outboundSchema: z.ZodType<
|
|
621
|
+
ParentProject$Outbound,
|
|
622
|
+
z.ZodTypeDef,
|
|
623
|
+
ParentProject
|
|
624
|
+
> = z.object({
|
|
625
|
+
id: z.string().optional(),
|
|
626
|
+
name: z.string().optional(),
|
|
627
|
+
});
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @internal
|
|
631
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
632
|
+
*/
|
|
633
|
+
export namespace ParentProject$ {
|
|
634
|
+
/** @deprecated use `ParentProject$inboundSchema` instead. */
|
|
635
|
+
export const inboundSchema = ParentProject$inboundSchema;
|
|
636
|
+
/** @deprecated use `ParentProject$outboundSchema` instead. */
|
|
637
|
+
export const outboundSchema = ParentProject$outboundSchema;
|
|
638
|
+
/** @deprecated use `ParentProject$Outbound` instead. */
|
|
639
|
+
export type Outbound = ParentProject$Outbound;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export function parentProjectToJSON(parentProject: ParentProject): string {
|
|
643
|
+
return JSON.stringify(ParentProject$outboundSchema.parse(parentProject));
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export function parentProjectFromJSON(
|
|
647
|
+
jsonString: string,
|
|
648
|
+
): SafeParseResult<ParentProject, SDKValidationError> {
|
|
649
|
+
return safeParse(
|
|
650
|
+
jsonString,
|
|
651
|
+
(x) => ParentProject$inboundSchema.parse(JSON.parse(x)),
|
|
652
|
+
`Failed to parse 'ParentProject' from JSON`,
|
|
653
|
+
);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/** @internal */
|
|
657
|
+
export const BillingMethod$inboundSchema: z.ZodNativeEnum<
|
|
658
|
+
typeof BillingMethod
|
|
659
|
+
> = z.nativeEnum(BillingMethod);
|
|
660
|
+
|
|
661
|
+
/** @internal */
|
|
662
|
+
export const BillingMethod$outboundSchema: z.ZodNativeEnum<
|
|
663
|
+
typeof BillingMethod
|
|
664
|
+
> = BillingMethod$inboundSchema;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @internal
|
|
668
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
669
|
+
*/
|
|
670
|
+
export namespace BillingMethod$ {
|
|
671
|
+
/** @deprecated use `BillingMethod$inboundSchema` instead. */
|
|
672
|
+
export const inboundSchema = BillingMethod$inboundSchema;
|
|
673
|
+
/** @deprecated use `BillingMethod$outboundSchema` instead. */
|
|
674
|
+
export const outboundSchema = BillingMethod$outboundSchema;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/** @internal */
|
|
678
|
+
export const ProjectPhase$inboundSchema: z.ZodNativeEnum<typeof ProjectPhase> =
|
|
679
|
+
z.nativeEnum(ProjectPhase);
|
|
680
|
+
|
|
681
|
+
/** @internal */
|
|
682
|
+
export const ProjectPhase$outboundSchema: z.ZodNativeEnum<typeof ProjectPhase> =
|
|
683
|
+
ProjectPhase$inboundSchema;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @internal
|
|
687
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
688
|
+
*/
|
|
689
|
+
export namespace ProjectPhase$ {
|
|
690
|
+
/** @deprecated use `ProjectPhase$inboundSchema` instead. */
|
|
691
|
+
export const inboundSchema = ProjectPhase$inboundSchema;
|
|
692
|
+
/** @deprecated use `ProjectPhase$outboundSchema` instead. */
|
|
693
|
+
export const outboundSchema = ProjectPhase$outboundSchema;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/** @internal */
|
|
697
|
+
export const ScheduleStatus$inboundSchema: z.ZodNativeEnum<
|
|
698
|
+
typeof ScheduleStatus
|
|
699
|
+
> = z.nativeEnum(ScheduleStatus);
|
|
700
|
+
|
|
701
|
+
/** @internal */
|
|
702
|
+
export const ScheduleStatus$outboundSchema: z.ZodNativeEnum<
|
|
703
|
+
typeof ScheduleStatus
|
|
704
|
+
> = ScheduleStatus$inboundSchema;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* @internal
|
|
708
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
709
|
+
*/
|
|
710
|
+
export namespace ScheduleStatus$ {
|
|
711
|
+
/** @deprecated use `ScheduleStatus$inboundSchema` instead. */
|
|
712
|
+
export const inboundSchema = ScheduleStatus$inboundSchema;
|
|
713
|
+
/** @deprecated use `ScheduleStatus$outboundSchema` instead. */
|
|
714
|
+
export const outboundSchema = ScheduleStatus$outboundSchema;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/** @internal */
|
|
718
|
+
export const Project$inboundSchema: z.ZodType<Project, z.ZodTypeDef, unknown> =
|
|
719
|
+
z.object({
|
|
720
|
+
id: z.string().optional(),
|
|
721
|
+
downstream_id: z.nullable(z.string()).optional(),
|
|
722
|
+
name: z.string(),
|
|
723
|
+
display_id: z.nullable(z.string()).optional(),
|
|
724
|
+
reference_id: z.nullable(z.string()).optional(),
|
|
725
|
+
description: z.nullable(z.string()).optional(),
|
|
726
|
+
status: z.nullable(ProjectProjectStatus$inboundSchema).optional(),
|
|
727
|
+
active: z.nullable(z.boolean()).optional(),
|
|
728
|
+
project_type: z.nullable(ProjectType$inboundSchema).optional(),
|
|
729
|
+
priority: z.nullable(Priority$inboundSchema).optional(),
|
|
730
|
+
completion_percentage: z.nullable(z.number()).optional(),
|
|
731
|
+
start_date: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
732
|
+
.optional(),
|
|
733
|
+
end_date: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
734
|
+
customer: z.nullable(LinkedCustomer$inboundSchema).optional(),
|
|
735
|
+
department: z.nullable(z.lazy(() => ProjectDepartment$inboundSchema))
|
|
736
|
+
.optional(),
|
|
737
|
+
company_id: z.nullable(z.string()).optional(),
|
|
738
|
+
owner_id: z.nullable(z.string()).optional(),
|
|
739
|
+
parent_project: z.nullable(z.lazy(() => ParentProject$inboundSchema))
|
|
740
|
+
.optional(),
|
|
741
|
+
currency: z.nullable(Currency$inboundSchema).optional(),
|
|
742
|
+
budget_amount: z.nullable(z.number()).optional(),
|
|
743
|
+
approved_amount: z.nullable(z.number()).optional(),
|
|
744
|
+
actual_amount: z.nullable(z.number()).optional(),
|
|
745
|
+
budget_hours: z.nullable(z.number()).optional(),
|
|
746
|
+
actual_hours: z.nullable(z.number()).optional(),
|
|
747
|
+
hourly_rate: z.nullable(z.number()).optional(),
|
|
748
|
+
billing_method: z.nullable(BillingMethod$inboundSchema).optional(),
|
|
749
|
+
is_billable: z.nullable(z.boolean().default(true)),
|
|
750
|
+
phase: z.nullable(ProjectPhase$inboundSchema).optional(),
|
|
751
|
+
tax_rate: LinkedTaxRate$inboundSchema.optional(),
|
|
752
|
+
tracking_categories: z.nullable(
|
|
753
|
+
z.array(z.nullable(LinkedTrackingCategory$inboundSchema)),
|
|
754
|
+
).optional(),
|
|
755
|
+
tags: z.array(z.string()).optional(),
|
|
756
|
+
notes: z.nullable(z.string()).optional(),
|
|
757
|
+
contract_number: z.nullable(z.string()).optional(),
|
|
758
|
+
profit_margin: z.nullable(z.number()).optional(),
|
|
759
|
+
schedule_status: z.nullable(ScheduleStatus$inboundSchema).optional(),
|
|
760
|
+
addresses: z.array(Address$inboundSchema).optional(),
|
|
761
|
+
team_size: z.nullable(z.number().int()).optional(),
|
|
762
|
+
custom_fields: z.array(CustomField$inboundSchema).optional(),
|
|
763
|
+
row_version: z.nullable(z.string()).optional(),
|
|
764
|
+
updated_by: z.nullable(z.string()).optional(),
|
|
765
|
+
created_by: z.nullable(z.string()).optional(),
|
|
766
|
+
created_at: z.nullable(
|
|
767
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
768
|
+
).optional(),
|
|
769
|
+
updated_at: z.nullable(
|
|
770
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
771
|
+
).optional(),
|
|
772
|
+
}).transform((v) => {
|
|
773
|
+
return remap$(v, {
|
|
774
|
+
"downstream_id": "downstreamId",
|
|
775
|
+
"display_id": "displayId",
|
|
776
|
+
"reference_id": "referenceId",
|
|
777
|
+
"project_type": "projectType",
|
|
778
|
+
"completion_percentage": "completionPercentage",
|
|
779
|
+
"start_date": "startDate",
|
|
780
|
+
"end_date": "endDate",
|
|
781
|
+
"company_id": "companyId",
|
|
782
|
+
"owner_id": "ownerId",
|
|
783
|
+
"parent_project": "parentProject",
|
|
784
|
+
"budget_amount": "budgetAmount",
|
|
785
|
+
"approved_amount": "approvedAmount",
|
|
786
|
+
"actual_amount": "actualAmount",
|
|
787
|
+
"budget_hours": "budgetHours",
|
|
788
|
+
"actual_hours": "actualHours",
|
|
789
|
+
"hourly_rate": "hourlyRate",
|
|
790
|
+
"billing_method": "billingMethod",
|
|
791
|
+
"is_billable": "isBillable",
|
|
792
|
+
"tax_rate": "taxRate",
|
|
793
|
+
"tracking_categories": "trackingCategories",
|
|
794
|
+
"contract_number": "contractNumber",
|
|
795
|
+
"profit_margin": "profitMargin",
|
|
796
|
+
"schedule_status": "scheduleStatus",
|
|
797
|
+
"team_size": "teamSize",
|
|
798
|
+
"custom_fields": "customFields",
|
|
799
|
+
"row_version": "rowVersion",
|
|
800
|
+
"updated_by": "updatedBy",
|
|
801
|
+
"created_by": "createdBy",
|
|
802
|
+
"created_at": "createdAt",
|
|
803
|
+
"updated_at": "updatedAt",
|
|
804
|
+
});
|
|
805
|
+
});
|
|
806
|
+
|
|
807
|
+
/** @internal */
|
|
808
|
+
export type Project$Outbound = {
|
|
809
|
+
id?: string | undefined;
|
|
810
|
+
downstream_id?: string | null | undefined;
|
|
811
|
+
name: string;
|
|
812
|
+
display_id?: string | null | undefined;
|
|
813
|
+
reference_id?: string | null | undefined;
|
|
814
|
+
description?: string | null | undefined;
|
|
815
|
+
status?: string | null | undefined;
|
|
816
|
+
active?: boolean | null | undefined;
|
|
817
|
+
project_type?: string | null | undefined;
|
|
818
|
+
priority?: string | null | undefined;
|
|
819
|
+
completion_percentage?: number | null | undefined;
|
|
820
|
+
start_date?: string | null | undefined;
|
|
821
|
+
end_date?: string | null | undefined;
|
|
822
|
+
customer?: LinkedCustomer$Outbound | null | undefined;
|
|
823
|
+
department?: ProjectDepartment$Outbound | null | undefined;
|
|
824
|
+
company_id?: string | null | undefined;
|
|
825
|
+
owner_id?: string | null | undefined;
|
|
826
|
+
parent_project?: ParentProject$Outbound | null | undefined;
|
|
827
|
+
currency?: string | null | undefined;
|
|
828
|
+
budget_amount?: number | null | undefined;
|
|
829
|
+
approved_amount?: number | null | undefined;
|
|
830
|
+
actual_amount?: number | null | undefined;
|
|
831
|
+
budget_hours?: number | null | undefined;
|
|
832
|
+
actual_hours?: number | null | undefined;
|
|
833
|
+
hourly_rate?: number | null | undefined;
|
|
834
|
+
billing_method?: string | null | undefined;
|
|
835
|
+
is_billable: boolean | null;
|
|
836
|
+
phase?: string | null | undefined;
|
|
837
|
+
tax_rate?: LinkedTaxRate$Outbound | undefined;
|
|
838
|
+
tracking_categories?:
|
|
839
|
+
| Array<LinkedTrackingCategory$Outbound | null>
|
|
840
|
+
| null
|
|
841
|
+
| undefined;
|
|
842
|
+
tags?: Array<string> | undefined;
|
|
843
|
+
notes?: string | null | undefined;
|
|
844
|
+
contract_number?: string | null | undefined;
|
|
845
|
+
profit_margin?: number | null | undefined;
|
|
846
|
+
schedule_status?: string | null | undefined;
|
|
847
|
+
addresses?: Array<Address$Outbound> | undefined;
|
|
848
|
+
team_size?: number | null | undefined;
|
|
849
|
+
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
850
|
+
row_version?: string | null | undefined;
|
|
851
|
+
updated_by?: string | null | undefined;
|
|
852
|
+
created_by?: string | null | undefined;
|
|
853
|
+
created_at?: string | null | undefined;
|
|
854
|
+
updated_at?: string | null | undefined;
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
/** @internal */
|
|
858
|
+
export const Project$outboundSchema: z.ZodType<
|
|
859
|
+
Project$Outbound,
|
|
860
|
+
z.ZodTypeDef,
|
|
861
|
+
Project
|
|
862
|
+
> = z.object({
|
|
863
|
+
id: z.string().optional(),
|
|
864
|
+
downstreamId: z.nullable(z.string()).optional(),
|
|
865
|
+
name: z.string(),
|
|
866
|
+
displayId: z.nullable(z.string()).optional(),
|
|
867
|
+
referenceId: z.nullable(z.string()).optional(),
|
|
868
|
+
description: z.nullable(z.string()).optional(),
|
|
869
|
+
status: z.nullable(ProjectProjectStatus$outboundSchema).optional(),
|
|
870
|
+
active: z.nullable(z.boolean()).optional(),
|
|
871
|
+
projectType: z.nullable(ProjectType$outboundSchema).optional(),
|
|
872
|
+
priority: z.nullable(Priority$outboundSchema).optional(),
|
|
873
|
+
completionPercentage: z.nullable(z.number()).optional(),
|
|
874
|
+
startDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
875
|
+
.optional(),
|
|
876
|
+
endDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
877
|
+
.optional(),
|
|
878
|
+
customer: z.nullable(LinkedCustomer$outboundSchema).optional(),
|
|
879
|
+
department: z.nullable(z.lazy(() => ProjectDepartment$outboundSchema))
|
|
880
|
+
.optional(),
|
|
881
|
+
companyId: z.nullable(z.string()).optional(),
|
|
882
|
+
ownerId: z.nullable(z.string()).optional(),
|
|
883
|
+
parentProject: z.nullable(z.lazy(() => ParentProject$outboundSchema))
|
|
884
|
+
.optional(),
|
|
885
|
+
currency: z.nullable(Currency$outboundSchema).optional(),
|
|
886
|
+
budgetAmount: z.nullable(z.number()).optional(),
|
|
887
|
+
approvedAmount: z.nullable(z.number()).optional(),
|
|
888
|
+
actualAmount: z.nullable(z.number()).optional(),
|
|
889
|
+
budgetHours: z.nullable(z.number()).optional(),
|
|
890
|
+
actualHours: z.nullable(z.number()).optional(),
|
|
891
|
+
hourlyRate: z.nullable(z.number()).optional(),
|
|
892
|
+
billingMethod: z.nullable(BillingMethod$outboundSchema).optional(),
|
|
893
|
+
isBillable: z.nullable(z.boolean().default(true)),
|
|
894
|
+
phase: z.nullable(ProjectPhase$outboundSchema).optional(),
|
|
895
|
+
taxRate: LinkedTaxRate$outboundSchema.optional(),
|
|
896
|
+
trackingCategories: z.nullable(
|
|
897
|
+
z.array(z.nullable(LinkedTrackingCategory$outboundSchema)),
|
|
898
|
+
).optional(),
|
|
899
|
+
tags: z.array(z.string()).optional(),
|
|
900
|
+
notes: z.nullable(z.string()).optional(),
|
|
901
|
+
contractNumber: z.nullable(z.string()).optional(),
|
|
902
|
+
profitMargin: z.nullable(z.number()).optional(),
|
|
903
|
+
scheduleStatus: z.nullable(ScheduleStatus$outboundSchema).optional(),
|
|
904
|
+
addresses: z.array(Address$outboundSchema).optional(),
|
|
905
|
+
teamSize: z.nullable(z.number().int()).optional(),
|
|
906
|
+
customFields: z.array(CustomField$outboundSchema).optional(),
|
|
907
|
+
rowVersion: z.nullable(z.string()).optional(),
|
|
908
|
+
updatedBy: z.nullable(z.string()).optional(),
|
|
909
|
+
createdBy: z.nullable(z.string()).optional(),
|
|
910
|
+
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
911
|
+
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
912
|
+
}).transform((v) => {
|
|
913
|
+
return remap$(v, {
|
|
914
|
+
downstreamId: "downstream_id",
|
|
915
|
+
displayId: "display_id",
|
|
916
|
+
referenceId: "reference_id",
|
|
917
|
+
projectType: "project_type",
|
|
918
|
+
completionPercentage: "completion_percentage",
|
|
919
|
+
startDate: "start_date",
|
|
920
|
+
endDate: "end_date",
|
|
921
|
+
companyId: "company_id",
|
|
922
|
+
ownerId: "owner_id",
|
|
923
|
+
parentProject: "parent_project",
|
|
924
|
+
budgetAmount: "budget_amount",
|
|
925
|
+
approvedAmount: "approved_amount",
|
|
926
|
+
actualAmount: "actual_amount",
|
|
927
|
+
budgetHours: "budget_hours",
|
|
928
|
+
actualHours: "actual_hours",
|
|
929
|
+
hourlyRate: "hourly_rate",
|
|
930
|
+
billingMethod: "billing_method",
|
|
931
|
+
isBillable: "is_billable",
|
|
932
|
+
taxRate: "tax_rate",
|
|
933
|
+
trackingCategories: "tracking_categories",
|
|
934
|
+
contractNumber: "contract_number",
|
|
935
|
+
profitMargin: "profit_margin",
|
|
936
|
+
scheduleStatus: "schedule_status",
|
|
937
|
+
teamSize: "team_size",
|
|
938
|
+
customFields: "custom_fields",
|
|
939
|
+
rowVersion: "row_version",
|
|
940
|
+
updatedBy: "updated_by",
|
|
941
|
+
createdBy: "created_by",
|
|
942
|
+
createdAt: "created_at",
|
|
943
|
+
updatedAt: "updated_at",
|
|
944
|
+
});
|
|
945
|
+
});
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* @internal
|
|
949
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
950
|
+
*/
|
|
951
|
+
export namespace Project$ {
|
|
952
|
+
/** @deprecated use `Project$inboundSchema` instead. */
|
|
953
|
+
export const inboundSchema = Project$inboundSchema;
|
|
954
|
+
/** @deprecated use `Project$outboundSchema` instead. */
|
|
955
|
+
export const outboundSchema = Project$outboundSchema;
|
|
956
|
+
/** @deprecated use `Project$Outbound` instead. */
|
|
957
|
+
export type Outbound = Project$Outbound;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
export function projectToJSON(project: Project): string {
|
|
961
|
+
return JSON.stringify(Project$outboundSchema.parse(project));
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export function projectFromJSON(
|
|
965
|
+
jsonString: string,
|
|
966
|
+
): SafeParseResult<Project, SDKValidationError> {
|
|
967
|
+
return safeParse(
|
|
968
|
+
jsonString,
|
|
969
|
+
(x) => Project$inboundSchema.parse(JSON.parse(x)),
|
|
970
|
+
`Failed to parse 'Project' from JSON`,
|
|
971
|
+
);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/** @internal */
|
|
975
|
+
export const ProjectInput$inboundSchema: z.ZodType<
|
|
976
|
+
ProjectInput,
|
|
977
|
+
z.ZodTypeDef,
|
|
978
|
+
unknown
|
|
979
|
+
> = z.object({
|
|
980
|
+
name: z.string(),
|
|
981
|
+
display_id: z.nullable(z.string()).optional(),
|
|
982
|
+
reference_id: z.nullable(z.string()).optional(),
|
|
983
|
+
description: z.nullable(z.string()).optional(),
|
|
984
|
+
status: z.nullable(ProjectProjectStatus$inboundSchema).optional(),
|
|
985
|
+
active: z.nullable(z.boolean()).optional(),
|
|
986
|
+
project_type: z.nullable(ProjectType$inboundSchema).optional(),
|
|
987
|
+
priority: z.nullable(Priority$inboundSchema).optional(),
|
|
988
|
+
completion_percentage: z.nullable(z.number()).optional(),
|
|
989
|
+
start_date: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
990
|
+
end_date: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
991
|
+
customer: z.nullable(LinkedCustomerInput$inboundSchema).optional(),
|
|
992
|
+
department: z.nullable(z.lazy(() => ProjectDepartment$inboundSchema))
|
|
993
|
+
.optional(),
|
|
994
|
+
company_id: z.nullable(z.string()).optional(),
|
|
995
|
+
owner_id: z.nullable(z.string()).optional(),
|
|
996
|
+
parent_project: z.nullable(z.lazy(() => ParentProject$inboundSchema))
|
|
997
|
+
.optional(),
|
|
998
|
+
currency: z.nullable(Currency$inboundSchema).optional(),
|
|
999
|
+
budget_amount: z.nullable(z.number()).optional(),
|
|
1000
|
+
approved_amount: z.nullable(z.number()).optional(),
|
|
1001
|
+
budget_hours: z.nullable(z.number()).optional(),
|
|
1002
|
+
hourly_rate: z.nullable(z.number()).optional(),
|
|
1003
|
+
billing_method: z.nullable(BillingMethod$inboundSchema).optional(),
|
|
1004
|
+
is_billable: z.nullable(z.boolean().default(true)),
|
|
1005
|
+
phase: z.nullable(ProjectPhase$inboundSchema).optional(),
|
|
1006
|
+
tax_rate: LinkedTaxRateInput$inboundSchema.optional(),
|
|
1007
|
+
tracking_categories: z.nullable(
|
|
1008
|
+
z.array(z.nullable(LinkedTrackingCategory$inboundSchema)),
|
|
1009
|
+
).optional(),
|
|
1010
|
+
tags: z.array(z.string()).optional(),
|
|
1011
|
+
notes: z.nullable(z.string()).optional(),
|
|
1012
|
+
contract_number: z.nullable(z.string()).optional(),
|
|
1013
|
+
profit_margin: z.nullable(z.number()).optional(),
|
|
1014
|
+
schedule_status: z.nullable(ScheduleStatus$inboundSchema).optional(),
|
|
1015
|
+
addresses: z.array(Address$inboundSchema).optional(),
|
|
1016
|
+
team_size: z.nullable(z.number().int()).optional(),
|
|
1017
|
+
custom_fields: z.array(CustomField$inboundSchema).optional(),
|
|
1018
|
+
row_version: z.nullable(z.string()).optional(),
|
|
1019
|
+
}).transform((v) => {
|
|
1020
|
+
return remap$(v, {
|
|
1021
|
+
"display_id": "displayId",
|
|
1022
|
+
"reference_id": "referenceId",
|
|
1023
|
+
"project_type": "projectType",
|
|
1024
|
+
"completion_percentage": "completionPercentage",
|
|
1025
|
+
"start_date": "startDate",
|
|
1026
|
+
"end_date": "endDate",
|
|
1027
|
+
"company_id": "companyId",
|
|
1028
|
+
"owner_id": "ownerId",
|
|
1029
|
+
"parent_project": "parentProject",
|
|
1030
|
+
"budget_amount": "budgetAmount",
|
|
1031
|
+
"approved_amount": "approvedAmount",
|
|
1032
|
+
"budget_hours": "budgetHours",
|
|
1033
|
+
"hourly_rate": "hourlyRate",
|
|
1034
|
+
"billing_method": "billingMethod",
|
|
1035
|
+
"is_billable": "isBillable",
|
|
1036
|
+
"tax_rate": "taxRate",
|
|
1037
|
+
"tracking_categories": "trackingCategories",
|
|
1038
|
+
"contract_number": "contractNumber",
|
|
1039
|
+
"profit_margin": "profitMargin",
|
|
1040
|
+
"schedule_status": "scheduleStatus",
|
|
1041
|
+
"team_size": "teamSize",
|
|
1042
|
+
"custom_fields": "customFields",
|
|
1043
|
+
"row_version": "rowVersion",
|
|
1044
|
+
});
|
|
1045
|
+
});
|
|
1046
|
+
|
|
1047
|
+
/** @internal */
|
|
1048
|
+
export type ProjectInput$Outbound = {
|
|
1049
|
+
name: string;
|
|
1050
|
+
display_id?: string | null | undefined;
|
|
1051
|
+
reference_id?: string | null | undefined;
|
|
1052
|
+
description?: string | null | undefined;
|
|
1053
|
+
status?: string | null | undefined;
|
|
1054
|
+
active?: boolean | null | undefined;
|
|
1055
|
+
project_type?: string | null | undefined;
|
|
1056
|
+
priority?: string | null | undefined;
|
|
1057
|
+
completion_percentage?: number | null | undefined;
|
|
1058
|
+
start_date?: string | null | undefined;
|
|
1059
|
+
end_date?: string | null | undefined;
|
|
1060
|
+
customer?: LinkedCustomerInput$Outbound | null | undefined;
|
|
1061
|
+
department?: ProjectDepartment$Outbound | null | undefined;
|
|
1062
|
+
company_id?: string | null | undefined;
|
|
1063
|
+
owner_id?: string | null | undefined;
|
|
1064
|
+
parent_project?: ParentProject$Outbound | null | undefined;
|
|
1065
|
+
currency?: string | null | undefined;
|
|
1066
|
+
budget_amount?: number | null | undefined;
|
|
1067
|
+
approved_amount?: number | null | undefined;
|
|
1068
|
+
budget_hours?: number | null | undefined;
|
|
1069
|
+
hourly_rate?: number | null | undefined;
|
|
1070
|
+
billing_method?: string | null | undefined;
|
|
1071
|
+
is_billable: boolean | null;
|
|
1072
|
+
phase?: string | null | undefined;
|
|
1073
|
+
tax_rate?: LinkedTaxRateInput$Outbound | undefined;
|
|
1074
|
+
tracking_categories?:
|
|
1075
|
+
| Array<LinkedTrackingCategory$Outbound | null>
|
|
1076
|
+
| null
|
|
1077
|
+
| undefined;
|
|
1078
|
+
tags?: Array<string> | undefined;
|
|
1079
|
+
notes?: string | null | undefined;
|
|
1080
|
+
contract_number?: string | null | undefined;
|
|
1081
|
+
profit_margin?: number | null | undefined;
|
|
1082
|
+
schedule_status?: string | null | undefined;
|
|
1083
|
+
addresses?: Array<Address$Outbound> | undefined;
|
|
1084
|
+
team_size?: number | null | undefined;
|
|
1085
|
+
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
1086
|
+
row_version?: string | null | undefined;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
/** @internal */
|
|
1090
|
+
export const ProjectInput$outboundSchema: z.ZodType<
|
|
1091
|
+
ProjectInput$Outbound,
|
|
1092
|
+
z.ZodTypeDef,
|
|
1093
|
+
ProjectInput
|
|
1094
|
+
> = z.object({
|
|
1095
|
+
name: z.string(),
|
|
1096
|
+
displayId: z.nullable(z.string()).optional(),
|
|
1097
|
+
referenceId: z.nullable(z.string()).optional(),
|
|
1098
|
+
description: z.nullable(z.string()).optional(),
|
|
1099
|
+
status: z.nullable(ProjectProjectStatus$outboundSchema).optional(),
|
|
1100
|
+
active: z.nullable(z.boolean()).optional(),
|
|
1101
|
+
projectType: z.nullable(ProjectType$outboundSchema).optional(),
|
|
1102
|
+
priority: z.nullable(Priority$outboundSchema).optional(),
|
|
1103
|
+
completionPercentage: z.nullable(z.number()).optional(),
|
|
1104
|
+
startDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
1105
|
+
.optional(),
|
|
1106
|
+
endDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
1107
|
+
.optional(),
|
|
1108
|
+
customer: z.nullable(LinkedCustomerInput$outboundSchema).optional(),
|
|
1109
|
+
department: z.nullable(z.lazy(() => ProjectDepartment$outboundSchema))
|
|
1110
|
+
.optional(),
|
|
1111
|
+
companyId: z.nullable(z.string()).optional(),
|
|
1112
|
+
ownerId: z.nullable(z.string()).optional(),
|
|
1113
|
+
parentProject: z.nullable(z.lazy(() => ParentProject$outboundSchema))
|
|
1114
|
+
.optional(),
|
|
1115
|
+
currency: z.nullable(Currency$outboundSchema).optional(),
|
|
1116
|
+
budgetAmount: z.nullable(z.number()).optional(),
|
|
1117
|
+
approvedAmount: z.nullable(z.number()).optional(),
|
|
1118
|
+
budgetHours: z.nullable(z.number()).optional(),
|
|
1119
|
+
hourlyRate: z.nullable(z.number()).optional(),
|
|
1120
|
+
billingMethod: z.nullable(BillingMethod$outboundSchema).optional(),
|
|
1121
|
+
isBillable: z.nullable(z.boolean().default(true)),
|
|
1122
|
+
phase: z.nullable(ProjectPhase$outboundSchema).optional(),
|
|
1123
|
+
taxRate: LinkedTaxRateInput$outboundSchema.optional(),
|
|
1124
|
+
trackingCategories: z.nullable(
|
|
1125
|
+
z.array(z.nullable(LinkedTrackingCategory$outboundSchema)),
|
|
1126
|
+
).optional(),
|
|
1127
|
+
tags: z.array(z.string()).optional(),
|
|
1128
|
+
notes: z.nullable(z.string()).optional(),
|
|
1129
|
+
contractNumber: z.nullable(z.string()).optional(),
|
|
1130
|
+
profitMargin: z.nullable(z.number()).optional(),
|
|
1131
|
+
scheduleStatus: z.nullable(ScheduleStatus$outboundSchema).optional(),
|
|
1132
|
+
addresses: z.array(Address$outboundSchema).optional(),
|
|
1133
|
+
teamSize: z.nullable(z.number().int()).optional(),
|
|
1134
|
+
customFields: z.array(CustomField$outboundSchema).optional(),
|
|
1135
|
+
rowVersion: z.nullable(z.string()).optional(),
|
|
1136
|
+
}).transform((v) => {
|
|
1137
|
+
return remap$(v, {
|
|
1138
|
+
displayId: "display_id",
|
|
1139
|
+
referenceId: "reference_id",
|
|
1140
|
+
projectType: "project_type",
|
|
1141
|
+
completionPercentage: "completion_percentage",
|
|
1142
|
+
startDate: "start_date",
|
|
1143
|
+
endDate: "end_date",
|
|
1144
|
+
companyId: "company_id",
|
|
1145
|
+
ownerId: "owner_id",
|
|
1146
|
+
parentProject: "parent_project",
|
|
1147
|
+
budgetAmount: "budget_amount",
|
|
1148
|
+
approvedAmount: "approved_amount",
|
|
1149
|
+
budgetHours: "budget_hours",
|
|
1150
|
+
hourlyRate: "hourly_rate",
|
|
1151
|
+
billingMethod: "billing_method",
|
|
1152
|
+
isBillable: "is_billable",
|
|
1153
|
+
taxRate: "tax_rate",
|
|
1154
|
+
trackingCategories: "tracking_categories",
|
|
1155
|
+
contractNumber: "contract_number",
|
|
1156
|
+
profitMargin: "profit_margin",
|
|
1157
|
+
scheduleStatus: "schedule_status",
|
|
1158
|
+
teamSize: "team_size",
|
|
1159
|
+
customFields: "custom_fields",
|
|
1160
|
+
rowVersion: "row_version",
|
|
1161
|
+
});
|
|
1162
|
+
});
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* @internal
|
|
1166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1167
|
+
*/
|
|
1168
|
+
export namespace ProjectInput$ {
|
|
1169
|
+
/** @deprecated use `ProjectInput$inboundSchema` instead. */
|
|
1170
|
+
export const inboundSchema = ProjectInput$inboundSchema;
|
|
1171
|
+
/** @deprecated use `ProjectInput$outboundSchema` instead. */
|
|
1172
|
+
export const outboundSchema = ProjectInput$outboundSchema;
|
|
1173
|
+
/** @deprecated use `ProjectInput$Outbound` instead. */
|
|
1174
|
+
export type Outbound = ProjectInput$Outbound;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
export function projectInputToJSON(projectInput: ProjectInput): string {
|
|
1178
|
+
return JSON.stringify(ProjectInput$outboundSchema.parse(projectInput));
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export function projectInputFromJSON(
|
|
1182
|
+
jsonString: string,
|
|
1183
|
+
): SafeParseResult<ProjectInput, SDKValidationError> {
|
|
1184
|
+
return safeParse(
|
|
1185
|
+
jsonString,
|
|
1186
|
+
(x) => ProjectInput$inboundSchema.parse(JSON.parse(x)),
|
|
1187
|
+
`Failed to parse 'ProjectInput' from JSON`,
|
|
1188
|
+
);
|
|
1189
|
+
}
|