@apideck/unify 0.42.1 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/funcs/accountingAttachmentsList.d.ts.map +1 -1
- package/funcs/accountingAttachmentsList.js +1 -2
- package/funcs/accountingAttachmentsList.js.map +1 -1
- package/funcs/accountingBankAccountsList.d.ts.map +1 -1
- package/funcs/accountingBankAccountsList.js +1 -2
- package/funcs/accountingBankAccountsList.js.map +1 -1
- package/funcs/accountingBankFeedAccountsList.d.ts.map +1 -1
- package/funcs/accountingBankFeedAccountsList.js +1 -2
- package/funcs/accountingBankFeedAccountsList.js.map +1 -1
- package/funcs/accountingBankFeedStatementsList.d.ts.map +1 -1
- package/funcs/accountingBankFeedStatementsList.js +1 -2
- package/funcs/accountingBankFeedStatementsList.js.map +1 -1
- package/funcs/accountingBillPaymentsList.d.ts.map +1 -1
- package/funcs/accountingBillPaymentsList.js +1 -2
- package/funcs/accountingBillPaymentsList.js.map +1 -1
- package/funcs/accountingBillsList.d.ts.map +1 -1
- package/funcs/accountingBillsList.js +1 -2
- package/funcs/accountingBillsList.js.map +1 -1
- package/funcs/accountingCategoriesList.d.ts.map +1 -1
- package/funcs/accountingCategoriesList.js +1 -2
- package/funcs/accountingCategoriesList.js.map +1 -1
- package/funcs/accountingCompaniesList.d.ts.map +1 -1
- package/funcs/accountingCompaniesList.js +1 -2
- package/funcs/accountingCompaniesList.js.map +1 -1
- package/funcs/accountingCreditNotesList.d.ts.map +1 -1
- package/funcs/accountingCreditNotesList.js +1 -2
- package/funcs/accountingCreditNotesList.js.map +1 -1
- package/funcs/accountingCustomersList.d.ts.map +1 -1
- package/funcs/accountingCustomersList.js +1 -2
- package/funcs/accountingCustomersList.js.map +1 -1
- package/funcs/accountingDepartmentsList.d.ts.map +1 -1
- package/funcs/accountingDepartmentsList.js +1 -2
- package/funcs/accountingDepartmentsList.js.map +1 -1
- package/funcs/accountingEmployeesList.d.ts.map +1 -1
- package/funcs/accountingEmployeesList.js +1 -2
- package/funcs/accountingEmployeesList.js.map +1 -1
- package/funcs/accountingExpenseCategoriesList.d.ts.map +1 -1
- package/funcs/accountingExpenseCategoriesList.js +1 -2
- package/funcs/accountingExpenseCategoriesList.js.map +1 -1
- package/funcs/accountingExpenseReportsList.d.ts.map +1 -1
- package/funcs/accountingExpenseReportsList.js +1 -2
- package/funcs/accountingExpenseReportsList.js.map +1 -1
- package/funcs/accountingExpensesList.d.ts.map +1 -1
- package/funcs/accountingExpensesList.js +1 -2
- package/funcs/accountingExpensesList.js.map +1 -1
- package/funcs/accountingGeneralLedgerTransactionsGet.d.ts +18 -0
- package/funcs/accountingGeneralLedgerTransactionsGet.d.ts.map +1 -0
- package/funcs/accountingGeneralLedgerTransactionsGet.js +144 -0
- package/funcs/accountingGeneralLedgerTransactionsGet.js.map +1 -0
- package/funcs/accountingGeneralLedgerTransactionsList.d.ts +21 -0
- package/funcs/accountingGeneralLedgerTransactionsList.d.ts.map +1 -0
- package/funcs/accountingGeneralLedgerTransactionsList.js +168 -0
- package/funcs/accountingGeneralLedgerTransactionsList.js.map +1 -0
- package/funcs/accountingInvoiceItemsList.d.ts.map +1 -1
- package/funcs/accountingInvoiceItemsList.js +1 -2
- package/funcs/accountingInvoiceItemsList.js.map +1 -1
- package/funcs/accountingInvoicesList.d.ts.map +1 -1
- package/funcs/accountingInvoicesList.js +1 -2
- package/funcs/accountingInvoicesList.js.map +1 -1
- package/funcs/accountingJournalEntriesList.d.ts.map +1 -1
- package/funcs/accountingJournalEntriesList.js +1 -2
- package/funcs/accountingJournalEntriesList.js.map +1 -1
- package/funcs/accountingLedgerAccountsList.d.ts.map +1 -1
- package/funcs/accountingLedgerAccountsList.js +1 -2
- package/funcs/accountingLedgerAccountsList.js.map +1 -1
- package/funcs/accountingLocationsList.d.ts.map +1 -1
- package/funcs/accountingLocationsList.js +1 -2
- package/funcs/accountingLocationsList.js.map +1 -1
- package/funcs/accountingPaymentsList.d.ts.map +1 -1
- package/funcs/accountingPaymentsList.js +1 -2
- package/funcs/accountingPaymentsList.js.map +1 -1
- package/funcs/accountingProjectsList.d.ts.map +1 -1
- package/funcs/accountingProjectsList.js +1 -2
- package/funcs/accountingProjectsList.js.map +1 -1
- package/funcs/accountingPurchaseOrdersList.d.ts.map +1 -1
- package/funcs/accountingPurchaseOrdersList.js +1 -2
- package/funcs/accountingPurchaseOrdersList.js.map +1 -1
- package/funcs/accountingQuotesList.d.ts.map +1 -1
- package/funcs/accountingQuotesList.js +5 -4
- package/funcs/accountingQuotesList.js.map +1 -1
- package/funcs/accountingRefundsList.d.ts.map +1 -1
- package/funcs/accountingRefundsList.js +1 -2
- package/funcs/accountingRefundsList.js.map +1 -1
- package/funcs/accountingSubsidiariesList.d.ts.map +1 -1
- package/funcs/accountingSubsidiariesList.js +1 -2
- package/funcs/accountingSubsidiariesList.js.map +1 -1
- package/funcs/accountingSuppliersList.d.ts.map +1 -1
- package/funcs/accountingSuppliersList.js +1 -2
- package/funcs/accountingSuppliersList.js.map +1 -1
- package/funcs/accountingTaxRatesList.d.ts.map +1 -1
- package/funcs/accountingTaxRatesList.js +1 -2
- package/funcs/accountingTaxRatesList.js.map +1 -1
- package/funcs/accountingTrackingCategoriesList.d.ts.map +1 -1
- package/funcs/accountingTrackingCategoriesList.js +1 -2
- package/funcs/accountingTrackingCategoriesList.js.map +1 -1
- package/funcs/atsApplicantsList.d.ts.map +1 -1
- package/funcs/atsApplicantsList.js +1 -2
- package/funcs/atsApplicantsList.js.map +1 -1
- package/funcs/atsApplicationsList.d.ts.map +1 -1
- package/funcs/atsApplicationsList.js +1 -2
- package/funcs/atsApplicationsList.js.map +1 -1
- package/funcs/atsJobsList.d.ts.map +1 -1
- package/funcs/atsJobsList.js +1 -2
- package/funcs/atsJobsList.js.map +1 -1
- package/funcs/connectorApisList.d.ts.map +1 -1
- package/funcs/connectorApisList.js +1 -2
- package/funcs/connectorApisList.js.map +1 -1
- package/funcs/connectorConnectorsList.d.ts.map +1 -1
- package/funcs/connectorConnectorsList.js +1 -2
- package/funcs/connectorConnectorsList.js.map +1 -1
- package/funcs/crmActivitiesList.d.ts.map +1 -1
- package/funcs/crmActivitiesList.js +1 -2
- package/funcs/crmActivitiesList.js.map +1 -1
- package/funcs/crmCompaniesList.d.ts.map +1 -1
- package/funcs/crmCompaniesList.js +1 -2
- package/funcs/crmCompaniesList.js.map +1 -1
- package/funcs/crmContactsList.d.ts.map +1 -1
- package/funcs/crmContactsList.js +1 -2
- package/funcs/crmContactsList.js.map +1 -1
- package/funcs/crmCustomObjectSchemasList.d.ts.map +1 -1
- package/funcs/crmCustomObjectSchemasList.js +1 -2
- package/funcs/crmCustomObjectSchemasList.js.map +1 -1
- package/funcs/crmCustomObjectsList.d.ts.map +1 -1
- package/funcs/crmCustomObjectsList.js +1 -2
- package/funcs/crmCustomObjectsList.js.map +1 -1
- package/funcs/crmLeadsList.d.ts.map +1 -1
- package/funcs/crmLeadsList.js +1 -2
- package/funcs/crmLeadsList.js.map +1 -1
- package/funcs/crmNotesList.d.ts.map +1 -1
- package/funcs/crmNotesList.js +2 -2
- package/funcs/crmNotesList.js.map +1 -1
- package/funcs/crmOpportunitiesList.d.ts.map +1 -1
- package/funcs/crmOpportunitiesList.js +1 -2
- package/funcs/crmOpportunitiesList.js.map +1 -1
- package/funcs/crmPipelinesList.d.ts.map +1 -1
- package/funcs/crmPipelinesList.js +1 -2
- package/funcs/crmPipelinesList.js.map +1 -1
- package/funcs/crmUsersList.d.ts.map +1 -1
- package/funcs/crmUsersList.js +2 -2
- package/funcs/crmUsersList.js.map +1 -1
- package/funcs/ecommerceCustomersList.d.ts.map +1 -1
- package/funcs/ecommerceCustomersList.js +1 -2
- package/funcs/ecommerceCustomersList.js.map +1 -1
- package/funcs/ecommerceOrdersList.d.ts.map +1 -1
- package/funcs/ecommerceOrdersList.js +1 -2
- package/funcs/ecommerceOrdersList.js.map +1 -1
- package/funcs/ecommerceProductsList.d.ts.map +1 -1
- package/funcs/ecommerceProductsList.js +1 -2
- package/funcs/ecommerceProductsList.js.map +1 -1
- package/funcs/fileStorageDriveGroupsList.d.ts.map +1 -1
- package/funcs/fileStorageDriveGroupsList.js +1 -2
- package/funcs/fileStorageDriveGroupsList.js.map +1 -1
- package/funcs/fileStorageDrivesList.d.ts.map +1 -1
- package/funcs/fileStorageDrivesList.js +1 -2
- package/funcs/fileStorageDrivesList.js.map +1 -1
- package/funcs/fileStorageFilesList.d.ts.map +1 -1
- package/funcs/fileStorageFilesList.js +1 -2
- package/funcs/fileStorageFilesList.js.map +1 -1
- package/funcs/fileStorageSharedLinksList.d.ts.map +1 -1
- package/funcs/fileStorageSharedLinksList.js +1 -2
- package/funcs/fileStorageSharedLinksList.js.map +1 -1
- package/funcs/hrisCompaniesList.d.ts.map +1 -1
- package/funcs/hrisCompaniesList.js +1 -2
- package/funcs/hrisCompaniesList.js.map +1 -1
- package/funcs/hrisDepartmentsList.d.ts.map +1 -1
- package/funcs/hrisDepartmentsList.js +1 -2
- package/funcs/hrisDepartmentsList.js.map +1 -1
- package/funcs/hrisEmployeesList.d.ts.map +1 -1
- package/funcs/hrisEmployeesList.js +1 -2
- package/funcs/hrisEmployeesList.js.map +1 -1
- package/funcs/hrisTimeOffRequestsList.d.ts.map +1 -1
- package/funcs/hrisTimeOffRequestsList.js +1 -2
- package/funcs/hrisTimeOffRequestsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTagsList.d.ts.map +1 -1
- package/funcs/issueTrackingCollectionTagsList.js +1 -2
- package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsGet.d.ts.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsGet.js +1 -2
- package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsList.d.ts.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsList.js +1 -2
- package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsList.d.ts.map +1 -1
- package/funcs/issueTrackingCollectionTicketsList.js +1 -2
- package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
- package/funcs/issueTrackingCollectionUsersList.d.ts.map +1 -1
- package/funcs/issueTrackingCollectionUsersList.js +1 -2
- package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
- package/funcs/issueTrackingCollectionsList.d.ts.map +1 -1
- package/funcs/issueTrackingCollectionsList.js +1 -2
- package/funcs/issueTrackingCollectionsList.js.map +1 -1
- package/funcs/smsMessagesList.d.ts.map +1 -1
- package/funcs/smsMessagesList.js +1 -2
- package/funcs/smsMessagesList.js.map +1 -1
- package/funcs/vaultConsumersList.d.ts.map +1 -1
- package/funcs/vaultConsumersList.js +1 -2
- package/funcs/vaultConsumersList.js.map +1 -1
- package/funcs/vaultLogsList.d.ts.map +1 -1
- package/funcs/vaultLogsList.js +1 -2
- package/funcs/vaultLogsList.js.map +1 -1
- package/funcs/webhookEventLogsList.d.ts.map +1 -1
- package/funcs/webhookEventLogsList.js +1 -2
- package/funcs/webhookEventLogsList.js.map +1 -1
- package/funcs/webhookWebhooksList.d.ts.map +1 -1
- package/funcs/webhookWebhooksList.js +1 -2
- package/funcs/webhookWebhooksList.js.map +1 -1
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/encodings.js +12 -12
- package/lib/encodings.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +3 -3
- package/lib/env.js.map +1 -1
- package/lib/matchers.js +2 -2
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +50 -16
- package/lib/sdks.js.map +1 -1
- package/models/components/attachmentreferencetype.d.ts +1 -0
- package/models/components/attachmentreferencetype.d.ts.map +1 -1
- package/models/components/attachmentreferencetype.js +1 -0
- package/models/components/attachmentreferencetype.js.map +1 -1
- package/models/components/billsfilter.d.ts +5 -0
- package/models/components/billsfilter.d.ts.map +1 -1
- package/models/components/billsfilter.js +2 -0
- package/models/components/billsfilter.js.map +1 -1
- package/models/components/connection.d.ts +5 -0
- package/models/components/connection.d.ts.map +1 -1
- package/models/components/connection.js +3 -0
- package/models/components/connection.js.map +1 -1
- package/models/components/connectionhealth.d.ts +1 -0
- package/models/components/connectionhealth.d.ts.map +1 -1
- package/models/components/connectionhealth.js +1 -0
- package/models/components/connectionhealth.js.map +1 -1
- package/models/components/creditnotesfilter.d.ts +5 -0
- package/models/components/creditnotesfilter.d.ts.map +1 -1
- package/models/components/creditnotesfilter.js +2 -0
- package/models/components/creditnotesfilter.js.map +1 -1
- package/models/components/customersfilter.d.ts +5 -0
- package/models/components/customersfilter.d.ts.map +1 -1
- package/models/components/customersfilter.js +2 -0
- package/models/components/customersfilter.js.map +1 -1
- package/models/components/expensereportsfilter.d.ts +5 -0
- package/models/components/expensereportsfilter.d.ts.map +1 -1
- package/models/components/expensereportsfilter.js +2 -0
- package/models/components/expensereportsfilter.js.map +1 -1
- package/models/components/generalledgertransaction.d.ts +101 -0
- package/models/components/generalledgertransaction.d.ts.map +1 -0
- package/models/components/generalledgertransaction.js +104 -0
- package/models/components/generalledgertransaction.js.map +1 -0
- package/models/components/generalledgertransactionlineitem.d.ts +56 -0
- package/models/components/generalledgertransactionlineitem.d.ts.map +1 -0
- package/models/components/generalledgertransactionlineitem.js +82 -0
- package/models/components/generalledgertransactionlineitem.js.map +1 -0
- package/models/components/generalledgertransactionsfilter.d.ts +46 -0
- package/models/components/generalledgertransactionsfilter.d.ts.map +1 -0
- package/models/components/generalledgertransactionsfilter.js +75 -0
- package/models/components/generalledgertransactionsfilter.js.map +1 -0
- package/models/components/generalledgertransactionssort.d.ts +36 -0
- package/models/components/generalledgertransactionssort.d.ts.map +1 -0
- package/models/components/generalledgertransactionssort.js +62 -0
- package/models/components/generalledgertransactionssort.js.map +1 -0
- package/models/components/getgeneralledgertransactionresponse.d.ts +40 -0
- package/models/components/getgeneralledgertransactionresponse.d.ts.map +1 -0
- package/models/components/getgeneralledgertransactionresponse.js +64 -0
- package/models/components/getgeneralledgertransactionresponse.js.map +1 -0
- package/models/components/getgeneralledgertransactionsresponse.d.ts +50 -0
- package/models/components/getgeneralledgertransactionsresponse.d.ts.map +1 -0
- package/models/components/getgeneralledgertransactionsresponse.js +68 -0
- package/models/components/getgeneralledgertransactionsresponse.js.map +1 -0
- package/models/components/index.d.ts +9 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invoiceitemsfilter.d.ts +5 -0
- package/models/components/invoiceitemsfilter.d.ts.map +1 -1
- package/models/components/invoiceitemsfilter.js +2 -0
- package/models/components/invoiceitemsfilter.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 +2 -0
- package/models/components/invoicesfilter.js.map +1 -1
- package/models/components/journalentriesfilter.d.ts +23 -0
- package/models/components/journalentriesfilter.d.ts.map +1 -1
- package/models/components/journalentriesfilter.js +13 -1
- package/models/components/journalentriesfilter.js.map +1 -1
- package/models/components/ledgeraccountsfilter.d.ts +5 -0
- package/models/components/ledgeraccountsfilter.d.ts.map +1 -1
- package/models/components/ledgeraccountsfilter.js +2 -0
- package/models/components/ledgeraccountsfilter.js.map +1 -1
- package/models/components/meta.d.ts +4 -0
- package/models/components/meta.d.ts.map +1 -1
- package/models/components/meta.js +2 -0
- package/models/components/meta.js.map +1 -1
- package/models/components/notesfilter.d.ts +24 -0
- package/models/components/notesfilter.d.ts.map +1 -0
- package/models/components/notesfilter.js +59 -0
- package/models/components/notesfilter.js.map +1 -0
- package/models/components/paymentsfilter.d.ts +5 -0
- package/models/components/paymentsfilter.d.ts.map +1 -1
- package/models/components/paymentsfilter.js +2 -0
- package/models/components/paymentsfilter.js.map +1 -1
- package/models/components/projectsfilter.d.ts +5 -0
- package/models/components/projectsfilter.d.ts.map +1 -1
- package/models/components/projectsfilter.js +2 -0
- package/models/components/projectsfilter.js.map +1 -1
- package/models/components/purchaseordersfilter.d.ts +5 -0
- package/models/components/purchaseordersfilter.d.ts.map +1 -1
- package/models/components/purchaseordersfilter.js +2 -0
- package/models/components/purchaseordersfilter.js.map +1 -1
- package/models/components/quotesfilter.d.ts +19 -0
- package/models/components/quotesfilter.d.ts.map +1 -0
- package/models/components/quotesfilter.js +57 -0
- package/models/components/quotesfilter.js.map +1 -0
- package/models/components/suppliersfilter.d.ts +5 -0
- package/models/components/suppliersfilter.d.ts.map +1 -1
- package/models/components/suppliersfilter.js +2 -0
- package/models/components/suppliersfilter.js.map +1 -1
- package/models/components/user.d.ts +4 -0
- package/models/components/user.d.ts.map +1 -1
- package/models/components/user.js +1 -0
- package/models/components/user.js.map +1 -1
- package/models/components/userinput.d.ts +5 -0
- package/models/components/userinput.d.ts.map +1 -1
- package/models/components/userinput.js +1 -0
- package/models/components/userinput.js.map +1 -1
- package/models/components/usersfilter.d.ts +20 -0
- package/models/components/usersfilter.d.ts.map +1 -0
- package/models/components/usersfilter.js +50 -0
- package/models/components/usersfilter.js.map +1 -0
- package/models/components/webhookeventtype.d.ts +2 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +2 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/operations/accountinggeneralledgertransactionsall.d.ts +96 -0
- package/models/operations/accountinggeneralledgertransactionsall.d.ts.map +1 -0
- package/models/operations/accountinggeneralledgertransactionsall.js +84 -0
- package/models/operations/accountinggeneralledgertransactionsall.js.map +1 -0
- package/models/operations/accountinggeneralledgertransactionsone.d.ts +72 -0
- package/models/operations/accountinggeneralledgertransactionsone.d.ts.map +1 -0
- package/models/operations/accountinggeneralledgertransactionsone.js +75 -0
- package/models/operations/accountinggeneralledgertransactionsone.js.map +1 -0
- package/models/operations/accountingquotesall.d.ts +5 -0
- package/models/operations/accountingquotesall.d.ts.map +1 -1
- package/models/operations/accountingquotesall.js +1 -0
- package/models/operations/accountingquotesall.js.map +1 -1
- package/models/operations/crmnotesall.d.ts +5 -0
- package/models/operations/crmnotesall.d.ts.map +1 -1
- package/models/operations/crmnotesall.js +1 -0
- package/models/operations/crmnotesall.js.map +1 -1
- package/models/operations/crmusersall.d.ts +5 -0
- package/models/operations/crmusersall.d.ts.map +1 -1
- package/models/operations/crmusersall.js +1 -0
- package/models/operations/crmusersall.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -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/generalledgertransactions.d.ts +22 -0
- package/sdk/generalledgertransactions.d.ts.map +1 -0
- package/sdk/generalledgertransactions.js +33 -0
- package/sdk/generalledgertransactions.js.map +1 -0
- package/src/__tests__/bankaccounts.test.ts +1 -0
- package/src/__tests__/companies.test.ts +1 -0
- package/src/__tests__/employees.test.ts +1 -0
- package/src/__tests__/expensecategories.test.ts +1 -0
- package/src/__tests__/expensereports.test.ts +1 -0
- package/src/__tests__/projects.test.ts +1 -0
- package/src/__tests__/quotes.test.ts +6 -0
- package/src/__tests__/refunds.test.ts +1 -0
- package/src/funcs/accountingAttachmentsList.ts +5 -2
- package/src/funcs/accountingBankAccountsList.ts +5 -2
- package/src/funcs/accountingBankFeedAccountsList.ts +5 -2
- package/src/funcs/accountingBankFeedStatementsList.ts +5 -2
- package/src/funcs/accountingBillPaymentsList.ts +5 -2
- package/src/funcs/accountingBillsList.ts +5 -2
- package/src/funcs/accountingCategoriesList.ts +5 -2
- package/src/funcs/accountingCompaniesList.ts +5 -2
- package/src/funcs/accountingCreditNotesList.ts +5 -2
- package/src/funcs/accountingCustomersList.ts +5 -2
- package/src/funcs/accountingDepartmentsList.ts +5 -2
- package/src/funcs/accountingEmployeesList.ts +5 -2
- package/src/funcs/accountingExpenseCategoriesList.ts +5 -2
- package/src/funcs/accountingExpenseReportsList.ts +5 -2
- package/src/funcs/accountingExpensesList.ts +5 -2
- package/src/funcs/accountingGeneralLedgerTransactionsGet.ts +241 -0
- package/src/funcs/accountingGeneralLedgerTransactionsList.ts +316 -0
- package/src/funcs/accountingInvoiceItemsList.ts +5 -2
- package/src/funcs/accountingInvoicesList.ts +5 -2
- package/src/funcs/accountingJournalEntriesList.ts +5 -2
- package/src/funcs/accountingLedgerAccountsList.ts +5 -2
- package/src/funcs/accountingLocationsList.ts +5 -2
- package/src/funcs/accountingPaymentsList.ts +5 -2
- package/src/funcs/accountingProjectsList.ts +5 -2
- package/src/funcs/accountingPurchaseOrdersList.ts +5 -2
- package/src/funcs/accountingQuotesList.ts +21 -8
- package/src/funcs/accountingRefundsList.ts +5 -2
- package/src/funcs/accountingSubsidiariesList.ts +5 -2
- package/src/funcs/accountingSuppliersList.ts +5 -2
- package/src/funcs/accountingTaxRatesList.ts +5 -2
- package/src/funcs/accountingTrackingCategoriesList.ts +5 -2
- package/src/funcs/atsApplicantsList.ts +5 -2
- package/src/funcs/atsApplicationsList.ts +5 -2
- package/src/funcs/atsJobsList.ts +5 -2
- package/src/funcs/connectorApisList.ts +5 -2
- package/src/funcs/connectorConnectorsList.ts +5 -2
- package/src/funcs/crmActivitiesList.ts +5 -2
- package/src/funcs/crmCompaniesList.ts +5 -2
- package/src/funcs/crmContactsList.ts +5 -2
- package/src/funcs/crmCustomObjectSchemasList.ts +5 -2
- package/src/funcs/crmCustomObjectsList.ts +5 -2
- package/src/funcs/crmLeadsList.ts +5 -2
- package/src/funcs/crmNotesList.ts +6 -2
- package/src/funcs/crmOpportunitiesList.ts +5 -2
- package/src/funcs/crmPipelinesList.ts +5 -2
- package/src/funcs/crmUsersList.ts +6 -2
- package/src/funcs/ecommerceCustomersList.ts +5 -2
- package/src/funcs/ecommerceOrdersList.ts +5 -2
- package/src/funcs/ecommerceProductsList.ts +5 -2
- package/src/funcs/fileStorageDriveGroupsList.ts +5 -2
- package/src/funcs/fileStorageDrivesList.ts +5 -2
- package/src/funcs/fileStorageFilesList.ts +5 -2
- package/src/funcs/fileStorageSharedLinksList.ts +5 -2
- package/src/funcs/hrisCompaniesList.ts +5 -2
- package/src/funcs/hrisDepartmentsList.ts +5 -2
- package/src/funcs/hrisEmployeesList.ts +5 -2
- package/src/funcs/hrisTimeOffRequestsList.ts +5 -2
- package/src/funcs/issueTrackingCollectionTagsList.ts +5 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +5 -2
- package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +5 -2
- package/src/funcs/issueTrackingCollectionTicketsList.ts +5 -2
- package/src/funcs/issueTrackingCollectionUsersList.ts +5 -2
- package/src/funcs/issueTrackingCollectionsList.ts +5 -2
- package/src/funcs/smsMessagesList.ts +5 -2
- package/src/funcs/vaultConsumersList.ts +5 -2
- package/src/funcs/vaultLogsList.ts +5 -2
- package/src/funcs/webhookEventLogsList.ts +5 -2
- package/src/funcs/webhookWebhooksList.ts +5 -2
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +4 -4
- package/src/lib/encodings.ts +1 -1
- package/src/lib/env.ts +7 -3
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/lib/sdks.ts +54 -17
- package/src/models/components/attachmentreferencetype.ts +1 -0
- package/src/models/components/billsfilter.ts +7 -0
- package/src/models/components/connection.ts +7 -0
- package/src/models/components/connectionhealth.ts +1 -0
- package/src/models/components/creditnotesfilter.ts +7 -0
- package/src/models/components/customersfilter.ts +7 -0
- package/src/models/components/expensereportsfilter.ts +7 -0
- package/src/models/components/generalledgertransaction.ts +168 -0
- package/src/models/components/generalledgertransactionlineitem.ts +113 -0
- package/src/models/components/generalledgertransactionsfilter.ts +83 -0
- package/src/models/components/generalledgertransactionssort.ts +70 -0
- package/src/models/components/getgeneralledgertransactionresponse.ts +76 -0
- package/src/models/components/getgeneralledgertransactionsresponse.ts +88 -0
- package/src/models/components/index.ts +9 -0
- package/src/models/components/invoiceitemsfilter.ts +7 -0
- package/src/models/components/invoicesfilter.ts +7 -0
- package/src/models/components/journalentriesfilter.ts +34 -0
- package/src/models/components/ledgeraccountsfilter.ts +7 -0
- package/src/models/components/meta.ts +6 -0
- package/src/models/components/notesfilter.ts +49 -0
- package/src/models/components/paymentsfilter.ts +7 -0
- package/src/models/components/projectsfilter.ts +7 -0
- package/src/models/components/purchaseordersfilter.ts +7 -0
- package/src/models/components/quotesfilter.ts +42 -0
- package/src/models/components/suppliersfilter.ts +7 -0
- package/src/models/components/user.ts +5 -0
- package/src/models/components/userinput.ts +6 -0
- package/src/models/components/usersfilter.ts +36 -0
- package/src/models/components/webhookeventtype.ts +2 -0
- package/src/models/operations/accountinggeneralledgertransactionsall.ts +173 -0
- package/src/models/operations/accountinggeneralledgertransactionsone.ts +144 -0
- package/src/models/operations/accountingquotesall.ts +6 -0
- package/src/models/operations/crmnotesall.ts +6 -0
- package/src/models/operations/crmusersall.ts +6 -0
- package/src/models/operations/index.ts +2 -0
- package/src/sdk/accounting.ts +8 -0
- package/src/sdk/generalledgertransactions.ts +51 -0
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
GeneralLedgerTransaction,
|
|
13
|
+
GeneralLedgerTransaction$inboundSchema,
|
|
14
|
+
} from "./generalledgertransaction.js";
|
|
15
|
+
import { Links, Links$inboundSchema } from "./links.js";
|
|
16
|
+
import { Meta, Meta$inboundSchema } from "./meta.js";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* GeneralLedgerTransactions
|
|
20
|
+
*/
|
|
21
|
+
export type GetGeneralLedgerTransactionsResponse = {
|
|
22
|
+
/**
|
|
23
|
+
* HTTP Response Status Code
|
|
24
|
+
*/
|
|
25
|
+
statusCode: number;
|
|
26
|
+
/**
|
|
27
|
+
* HTTP Response Status
|
|
28
|
+
*/
|
|
29
|
+
status: string;
|
|
30
|
+
/**
|
|
31
|
+
* Apideck ID of service provider
|
|
32
|
+
*/
|
|
33
|
+
service: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unified API resource name
|
|
36
|
+
*/
|
|
37
|
+
resource: string;
|
|
38
|
+
/**
|
|
39
|
+
* Operation performed
|
|
40
|
+
*/
|
|
41
|
+
operation: string;
|
|
42
|
+
data: Array<GeneralLedgerTransaction>;
|
|
43
|
+
/**
|
|
44
|
+
* Response metadata
|
|
45
|
+
*/
|
|
46
|
+
meta?: Meta | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Links to navigate to previous or next pages through the API
|
|
49
|
+
*/
|
|
50
|
+
links?: Links | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Raw response from the integration when raw=true query param is provided
|
|
53
|
+
*/
|
|
54
|
+
raw?: { [k: string]: any } | null | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const GetGeneralLedgerTransactionsResponse$inboundSchema: z.ZodType<
|
|
59
|
+
GetGeneralLedgerTransactionsResponse,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
unknown
|
|
62
|
+
> = z.object({
|
|
63
|
+
status_code: types.number(),
|
|
64
|
+
status: types.string(),
|
|
65
|
+
service: types.string(),
|
|
66
|
+
resource: types.string(),
|
|
67
|
+
operation: types.string(),
|
|
68
|
+
data: z.array(GeneralLedgerTransaction$inboundSchema),
|
|
69
|
+
meta: types.optional(Meta$inboundSchema),
|
|
70
|
+
links: types.optional(Links$inboundSchema),
|
|
71
|
+
_raw: z.nullable(z.record(z.any())).optional(),
|
|
72
|
+
}).transform((v) => {
|
|
73
|
+
return remap$(v, {
|
|
74
|
+
"status_code": "statusCode",
|
|
75
|
+
"_raw": "raw",
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export function getGeneralLedgerTransactionsResponseFromJSON(
|
|
80
|
+
jsonString: string,
|
|
81
|
+
): SafeParseResult<GetGeneralLedgerTransactionsResponse, SDKValidationError> {
|
|
82
|
+
return safeParse(
|
|
83
|
+
jsonString,
|
|
84
|
+
(x) =>
|
|
85
|
+
GetGeneralLedgerTransactionsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
+
`Failed to parse 'GetGeneralLedgerTransactionsResponse' from JSON`,
|
|
87
|
+
);
|
|
88
|
+
}
|
|
@@ -276,6 +276,10 @@ export * from "./formfield.js";
|
|
|
276
276
|
export * from "./formfieldoption.js";
|
|
277
277
|
export * from "./formfieldoptiongroup.js";
|
|
278
278
|
export * from "./gender.js";
|
|
279
|
+
export * from "./generalledgertransaction.js";
|
|
280
|
+
export * from "./generalledgertransactionlineitem.js";
|
|
281
|
+
export * from "./generalledgertransactionsfilter.js";
|
|
282
|
+
export * from "./generalledgertransactionssort.js";
|
|
279
283
|
export * from "./getaccountingdepartmentresponse.js";
|
|
280
284
|
export * from "./getaccountingdepartmentsresponse.js";
|
|
281
285
|
export * from "./getaccountingemployeeresponse.js";
|
|
@@ -364,6 +368,8 @@ export * from "./getexpensesresponse.js";
|
|
|
364
368
|
export * from "./getfileresponse.js";
|
|
365
369
|
export * from "./getfilesresponse.js";
|
|
366
370
|
export * from "./getfolderresponse.js";
|
|
371
|
+
export * from "./getgeneralledgertransactionresponse.js";
|
|
372
|
+
export * from "./getgeneralledgertransactionsresponse.js";
|
|
367
373
|
export * from "./gethriscompaniesresponse.js";
|
|
368
374
|
export * from "./gethriscompanyresponse.js";
|
|
369
375
|
export * from "./getinvoiceitemresponse.js";
|
|
@@ -486,6 +492,7 @@ export * from "./message.js";
|
|
|
486
492
|
export * from "./meta.js";
|
|
487
493
|
export * from "./note.js";
|
|
488
494
|
export * from "./noteinput.js";
|
|
495
|
+
export * from "./notesfilter.js";
|
|
489
496
|
export * from "./oauthgranttype.js";
|
|
490
497
|
export * from "./opportunitiesfilter.js";
|
|
491
498
|
export * from "./opportunitiessort.js";
|
|
@@ -526,6 +533,7 @@ export * from "./purchaseordersfilter.js";
|
|
|
526
533
|
export * from "./purchaseorderssort.js";
|
|
527
534
|
export * from "./quote.js";
|
|
528
535
|
export * from "./quotelineitem.js";
|
|
536
|
+
export * from "./quotesfilter.js";
|
|
529
537
|
export * from "./rebilling.js";
|
|
530
538
|
export * from "./refund.js";
|
|
531
539
|
export * from "./refundinput.js";
|
|
@@ -630,6 +638,7 @@ export * from "./updatewebhookresponse.js";
|
|
|
630
638
|
export * from "./uploadsession.js";
|
|
631
639
|
export * from "./user.js";
|
|
632
640
|
export * from "./userinput.js";
|
|
641
|
+
export * from "./usersfilter.js";
|
|
633
642
|
export * from "./validateconnectionstateresponse.js";
|
|
634
643
|
export * from "./webhook.js";
|
|
635
644
|
export * from "./webhookeventlog.js";
|
|
@@ -50,6 +50,10 @@ export type InvoiceItemsFilter = {
|
|
|
50
50
|
* The kind of transaction, indicating whether it is a sales transaction or a purchase transaction.
|
|
51
51
|
*/
|
|
52
52
|
transactionType?: TransactionType | null | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
55
|
+
*/
|
|
56
|
+
subsidiaryId?: string | undefined;
|
|
53
57
|
};
|
|
54
58
|
|
|
55
59
|
/** @internal */
|
|
@@ -73,6 +77,7 @@ export type InvoiceItemsFilter$Outbound = {
|
|
|
73
77
|
name?: string | undefined;
|
|
74
78
|
type?: string | null | undefined;
|
|
75
79
|
transaction_type?: string | null | undefined;
|
|
80
|
+
subsidiary_id?: string | undefined;
|
|
76
81
|
};
|
|
77
82
|
|
|
78
83
|
/** @internal */
|
|
@@ -86,10 +91,12 @@ export const InvoiceItemsFilter$outboundSchema: z.ZodType<
|
|
|
86
91
|
name: z.string().optional(),
|
|
87
92
|
type: z.nullable(InvoiceItemType$outboundSchema).optional(),
|
|
88
93
|
transactionType: z.nullable(TransactionType$outboundSchema).optional(),
|
|
94
|
+
subsidiaryId: z.string().optional(),
|
|
89
95
|
}).transform((v) => {
|
|
90
96
|
return remap$(v, {
|
|
91
97
|
updatedSince: "updated_since",
|
|
92
98
|
transactionType: "transaction_type",
|
|
99
|
+
subsidiaryId: "subsidiary_id",
|
|
93
100
|
});
|
|
94
101
|
});
|
|
95
102
|
|
|
@@ -20,6 +20,10 @@ export type InvoicesFilter = {
|
|
|
20
20
|
* Supplier ID to filter invoices by
|
|
21
21
|
*/
|
|
22
22
|
supplierId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
25
|
+
*/
|
|
26
|
+
subsidiaryId?: string | undefined;
|
|
23
27
|
};
|
|
24
28
|
|
|
25
29
|
/** @internal */
|
|
@@ -29,6 +33,7 @@ export type InvoicesFilter$Outbound = {
|
|
|
29
33
|
created_since?: string | undefined;
|
|
30
34
|
number?: string | undefined;
|
|
31
35
|
supplier_id?: string | undefined;
|
|
36
|
+
subsidiary_id?: string | undefined;
|
|
32
37
|
};
|
|
33
38
|
|
|
34
39
|
/** @internal */
|
|
@@ -42,12 +47,14 @@ export const InvoicesFilter$outboundSchema: z.ZodType<
|
|
|
42
47
|
createdSince: z.date().transform(v => v.toISOString()).optional(),
|
|
43
48
|
number: z.string().optional(),
|
|
44
49
|
supplierId: z.string().optional(),
|
|
50
|
+
subsidiaryId: z.string().optional(),
|
|
45
51
|
}).transform((v) => {
|
|
46
52
|
return remap$(v, {
|
|
47
53
|
idSince: "id_since",
|
|
48
54
|
updatedSince: "updated_since",
|
|
49
55
|
createdSince: "created_since",
|
|
50
56
|
supplierId: "supplier_id",
|
|
57
|
+
subsidiaryId: "subsidiary_id",
|
|
51
58
|
});
|
|
52
59
|
});
|
|
53
60
|
|
|
@@ -21,9 +21,31 @@ export type JournalEntriesFilterStatus = OpenEnum<
|
|
|
21
21
|
typeof JournalEntriesFilterStatus
|
|
22
22
|
>;
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Connector-specific scope hint that controls which downstream source backs the read. On Xero, `manual` reads from `ManualJournals` (free in every tier), while `system` reads from `Journals` (the full general ledger view including manual journal postings, paid post 2026-03-02). Omitting the filter is equivalent to `system` and preserves the legacy default. Only honored on connectors where the distinction is exposed; ignored elsewhere.
|
|
26
|
+
*/
|
|
27
|
+
export const JournalEntriesFilterScope = {
|
|
28
|
+
Manual: "manual",
|
|
29
|
+
System: "system",
|
|
30
|
+
} as const;
|
|
31
|
+
/**
|
|
32
|
+
* Connector-specific scope hint that controls which downstream source backs the read. On Xero, `manual` reads from `ManualJournals` (free in every tier), while `system` reads from `Journals` (the full general ledger view including manual journal postings, paid post 2026-03-02). Omitting the filter is equivalent to `system` and preserves the legacy default. Only honored on connectors where the distinction is exposed; ignored elsewhere.
|
|
33
|
+
*/
|
|
34
|
+
export type JournalEntriesFilterScope = OpenEnum<
|
|
35
|
+
typeof JournalEntriesFilterScope
|
|
36
|
+
>;
|
|
37
|
+
|
|
24
38
|
export type JournalEntriesFilter = {
|
|
25
39
|
updatedSince?: Date | undefined;
|
|
26
40
|
status?: JournalEntriesFilterStatus | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Connector-specific scope hint that controls which downstream source backs the read. On Xero, `manual` reads from `ManualJournals` (free in every tier), while `system` reads from `Journals` (the full general ledger view including manual journal postings, paid post 2026-03-02). Omitting the filter is equivalent to `system` and preserves the legacy default. Only honored on connectors where the distinction is exposed; ignored elsewhere.
|
|
43
|
+
*/
|
|
44
|
+
scope?: JournalEntriesFilterScope | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
47
|
+
*/
|
|
48
|
+
subsidiaryId?: string | undefined;
|
|
27
49
|
};
|
|
28
50
|
|
|
29
51
|
/** @internal */
|
|
@@ -33,10 +55,19 @@ export const JournalEntriesFilterStatus$outboundSchema: z.ZodType<
|
|
|
33
55
|
JournalEntriesFilterStatus
|
|
34
56
|
> = openEnums.outboundSchema(JournalEntriesFilterStatus);
|
|
35
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const JournalEntriesFilterScope$outboundSchema: z.ZodType<
|
|
60
|
+
string,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
JournalEntriesFilterScope
|
|
63
|
+
> = openEnums.outboundSchema(JournalEntriesFilterScope);
|
|
64
|
+
|
|
36
65
|
/** @internal */
|
|
37
66
|
export type JournalEntriesFilter$Outbound = {
|
|
38
67
|
updated_since?: string | undefined;
|
|
39
68
|
status?: string | undefined;
|
|
69
|
+
scope?: string | undefined;
|
|
70
|
+
subsidiary_id?: string | undefined;
|
|
40
71
|
};
|
|
41
72
|
|
|
42
73
|
/** @internal */
|
|
@@ -47,9 +78,12 @@ export const JournalEntriesFilter$outboundSchema: z.ZodType<
|
|
|
47
78
|
> = z.object({
|
|
48
79
|
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
49
80
|
status: JournalEntriesFilterStatus$outboundSchema.optional(),
|
|
81
|
+
scope: JournalEntriesFilterScope$outboundSchema.optional(),
|
|
82
|
+
subsidiaryId: z.string().optional(),
|
|
50
83
|
}).transform((v) => {
|
|
51
84
|
return remap$(v, {
|
|
52
85
|
updatedSince: "updated_since",
|
|
86
|
+
subsidiaryId: "subsidiary_id",
|
|
53
87
|
});
|
|
54
88
|
});
|
|
55
89
|
|
|
@@ -55,6 +55,10 @@ export type LedgerAccountsFilter = {
|
|
|
55
55
|
* Filter by account status.
|
|
56
56
|
*/
|
|
57
57
|
status?: LedgerAccountsFilterStatus | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
60
|
+
*/
|
|
61
|
+
subsidiaryId?: string | undefined;
|
|
58
62
|
};
|
|
59
63
|
|
|
60
64
|
/** @internal */
|
|
@@ -77,6 +81,7 @@ export type LedgerAccountsFilter$Outbound = {
|
|
|
77
81
|
updated_since?: string | undefined;
|
|
78
82
|
classification?: string | undefined;
|
|
79
83
|
status?: string | undefined;
|
|
84
|
+
subsidiary_id?: string | undefined;
|
|
80
85
|
};
|
|
81
86
|
|
|
82
87
|
/** @internal */
|
|
@@ -89,9 +94,11 @@ export const LedgerAccountsFilter$outboundSchema: z.ZodType<
|
|
|
89
94
|
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
90
95
|
classification: Classification$outboundSchema.optional(),
|
|
91
96
|
status: LedgerAccountsFilterStatus$outboundSchema.optional(),
|
|
97
|
+
subsidiaryId: z.string().optional(),
|
|
92
98
|
}).transform((v) => {
|
|
93
99
|
return remap$(v, {
|
|
94
100
|
updatedSince: "updated_since",
|
|
101
|
+
subsidiaryId: "subsidiary_id",
|
|
95
102
|
});
|
|
96
103
|
});
|
|
97
104
|
|
|
@@ -39,6 +39,10 @@ export type Meta = {
|
|
|
39
39
|
* Cursors to navigate to previous or next pages through the API
|
|
40
40
|
*/
|
|
41
41
|
cursors?: Cursors | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Number of records available in total for this resource
|
|
44
|
+
*/
|
|
45
|
+
totalCount?: number | undefined;
|
|
42
46
|
};
|
|
43
47
|
|
|
44
48
|
/** @internal */
|
|
@@ -64,9 +68,11 @@ export const Meta$inboundSchema: z.ZodType<Meta, z.ZodTypeDef, unknown> = z
|
|
|
64
68
|
.object({
|
|
65
69
|
items_on_page: types.optional(types.number()),
|
|
66
70
|
cursors: types.optional(z.lazy(() => Cursors$inboundSchema)),
|
|
71
|
+
total_count: types.optional(types.number()),
|
|
67
72
|
}).transform((v) => {
|
|
68
73
|
return remap$(v, {
|
|
69
74
|
"items_on_page": "itemsOnPage",
|
|
75
|
+
"total_count": "totalCount",
|
|
70
76
|
});
|
|
71
77
|
});
|
|
72
78
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type NotesFilter = {
|
|
9
|
+
/**
|
|
10
|
+
* Title of the note to filter on
|
|
11
|
+
*/
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Owner ID to filter on
|
|
15
|
+
*/
|
|
16
|
+
ownerId?: string | undefined;
|
|
17
|
+
updatedSince?: Date | undefined;
|
|
18
|
+
createdSince?: Date | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type NotesFilter$Outbound = {
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
owner_id?: string | undefined;
|
|
25
|
+
updated_since?: string | undefined;
|
|
26
|
+
created_since?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const NotesFilter$outboundSchema: z.ZodType<
|
|
31
|
+
NotesFilter$Outbound,
|
|
32
|
+
z.ZodTypeDef,
|
|
33
|
+
NotesFilter
|
|
34
|
+
> = z.object({
|
|
35
|
+
title: z.string().optional(),
|
|
36
|
+
ownerId: z.string().optional(),
|
|
37
|
+
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
38
|
+
createdSince: z.date().transform(v => v.toISOString()).optional(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
ownerId: "owner_id",
|
|
42
|
+
updatedSince: "updated_since",
|
|
43
|
+
createdSince: "created_since",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function notesFilterToJSON(notesFilter: NotesFilter): string {
|
|
48
|
+
return JSON.stringify(NotesFilter$outboundSchema.parse(notesFilter));
|
|
49
|
+
}
|
|
@@ -51,6 +51,10 @@ export type PaymentsFilter = {
|
|
|
51
51
|
* Filter by payment status
|
|
52
52
|
*/
|
|
53
53
|
status?: PaymentsFilterPaymentStatus | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
56
|
+
*/
|
|
57
|
+
subsidiaryId?: string | undefined;
|
|
54
58
|
};
|
|
55
59
|
|
|
56
60
|
/** @internal */
|
|
@@ -76,6 +80,7 @@ export type PaymentsFilter$Outbound = {
|
|
|
76
80
|
customer_id?: string | undefined;
|
|
77
81
|
type?: string | undefined;
|
|
78
82
|
status?: string | undefined;
|
|
83
|
+
subsidiary_id?: string | undefined;
|
|
79
84
|
};
|
|
80
85
|
|
|
81
86
|
/** @internal */
|
|
@@ -91,6 +96,7 @@ export const PaymentsFilter$outboundSchema: z.ZodType<
|
|
|
91
96
|
customerId: z.string().optional(),
|
|
92
97
|
type: PaymentsFilterType$outboundSchema.optional(),
|
|
93
98
|
status: PaymentsFilterPaymentStatus$outboundSchema.optional(),
|
|
99
|
+
subsidiaryId: z.string().optional(),
|
|
94
100
|
}).transform((v) => {
|
|
95
101
|
return remap$(v, {
|
|
96
102
|
updatedSince: "updated_since",
|
|
@@ -98,6 +104,7 @@ export const PaymentsFilter$outboundSchema: z.ZodType<
|
|
|
98
104
|
billId: "bill_id",
|
|
99
105
|
supplierId: "supplier_id",
|
|
100
106
|
customerId: "customer_id",
|
|
107
|
+
subsidiaryId: "subsidiary_id",
|
|
101
108
|
});
|
|
102
109
|
});
|
|
103
110
|
|
|
@@ -42,6 +42,10 @@ export type ProjectsFilter = {
|
|
|
42
42
|
* Return projects modified after this date
|
|
43
43
|
*/
|
|
44
44
|
updatedSince?: Date | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
47
|
+
*/
|
|
48
|
+
subsidiaryId?: string | undefined;
|
|
45
49
|
};
|
|
46
50
|
|
|
47
51
|
/** @internal */
|
|
@@ -57,6 +61,7 @@ export type ProjectsFilter$Outbound = {
|
|
|
57
61
|
status?: string | undefined;
|
|
58
62
|
customer_id?: string | undefined;
|
|
59
63
|
updated_since?: string | undefined;
|
|
64
|
+
subsidiary_id?: string | undefined;
|
|
60
65
|
};
|
|
61
66
|
|
|
62
67
|
/** @internal */
|
|
@@ -69,10 +74,12 @@ export const ProjectsFilter$outboundSchema: z.ZodType<
|
|
|
69
74
|
status: ProjectStatus$outboundSchema.optional(),
|
|
70
75
|
customerId: z.string().optional(),
|
|
71
76
|
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
77
|
+
subsidiaryId: z.string().optional(),
|
|
72
78
|
}).transform((v) => {
|
|
73
79
|
return remap$(v, {
|
|
74
80
|
customerId: "customer_id",
|
|
75
81
|
updatedSince: "updated_since",
|
|
82
|
+
subsidiaryId: "subsidiary_id",
|
|
76
83
|
});
|
|
77
84
|
});
|
|
78
85
|
|
|
@@ -8,12 +8,17 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
8
8
|
export type PurchaseOrdersFilter = {
|
|
9
9
|
updatedSince?: Date | undefined;
|
|
10
10
|
supplierId?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
13
|
+
*/
|
|
14
|
+
subsidiaryId?: string | undefined;
|
|
11
15
|
};
|
|
12
16
|
|
|
13
17
|
/** @internal */
|
|
14
18
|
export type PurchaseOrdersFilter$Outbound = {
|
|
15
19
|
updated_since?: string | undefined;
|
|
16
20
|
supplier_id?: string | undefined;
|
|
21
|
+
subsidiary_id?: string | undefined;
|
|
17
22
|
};
|
|
18
23
|
|
|
19
24
|
/** @internal */
|
|
@@ -24,10 +29,12 @@ export const PurchaseOrdersFilter$outboundSchema: z.ZodType<
|
|
|
24
29
|
> = z.object({
|
|
25
30
|
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
26
31
|
supplierId: z.string().optional(),
|
|
32
|
+
subsidiaryId: z.string().optional(),
|
|
27
33
|
}).transform((v) => {
|
|
28
34
|
return remap$(v, {
|
|
29
35
|
updatedSince: "updated_since",
|
|
30
36
|
supplierId: "supplier_id",
|
|
37
|
+
subsidiaryId: "subsidiary_id",
|
|
31
38
|
});
|
|
32
39
|
});
|
|
33
40
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type QuotesFilter = {
|
|
9
|
+
updatedSince?: Date | undefined;
|
|
10
|
+
createdSince?: Date | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Quote number to search for
|
|
13
|
+
*/
|
|
14
|
+
number?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type QuotesFilter$Outbound = {
|
|
19
|
+
updated_since?: string | undefined;
|
|
20
|
+
created_since?: string | undefined;
|
|
21
|
+
number?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const QuotesFilter$outboundSchema: z.ZodType<
|
|
26
|
+
QuotesFilter$Outbound,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
QuotesFilter
|
|
29
|
+
> = z.object({
|
|
30
|
+
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
31
|
+
createdSince: z.date().transform(v => v.toISOString()).optional(),
|
|
32
|
+
number: z.string().optional(),
|
|
33
|
+
}).transform((v) => {
|
|
34
|
+
return remap$(v, {
|
|
35
|
+
updatedSince: "updated_since",
|
|
36
|
+
createdSince: "created_since",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function quotesFilterToJSON(quotesFilter: QuotesFilter): string {
|
|
41
|
+
return JSON.stringify(QuotesFilter$outboundSchema.parse(quotesFilter));
|
|
42
|
+
}
|
|
@@ -27,6 +27,10 @@ export type SuppliersFilter = {
|
|
|
27
27
|
*/
|
|
28
28
|
email?: string | undefined;
|
|
29
29
|
updatedSince?: Date | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Filter by the subsidiary (legal entity) the supplier's primary subsidiary belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere.
|
|
32
|
+
*/
|
|
33
|
+
subsidiaryId?: string | undefined;
|
|
30
34
|
};
|
|
31
35
|
|
|
32
36
|
/** @internal */
|
|
@@ -37,6 +41,7 @@ export type SuppliersFilter$Outbound = {
|
|
|
37
41
|
last_name?: string | undefined;
|
|
38
42
|
email?: string | undefined;
|
|
39
43
|
updated_since?: string | undefined;
|
|
44
|
+
subsidiary_id?: string | undefined;
|
|
40
45
|
};
|
|
41
46
|
|
|
42
47
|
/** @internal */
|
|
@@ -51,6 +56,7 @@ export const SuppliersFilter$outboundSchema: z.ZodType<
|
|
|
51
56
|
lastName: z.string().optional(),
|
|
52
57
|
email: z.string().optional(),
|
|
53
58
|
updatedSince: z.date().transform(v => v.toISOString()).optional(),
|
|
59
|
+
subsidiaryId: z.string().optional(),
|
|
54
60
|
}).transform((v) => {
|
|
55
61
|
return remap$(v, {
|
|
56
62
|
companyName: "company_name",
|
|
@@ -58,6 +64,7 @@ export const SuppliersFilter$outboundSchema: z.ZodType<
|
|
|
58
64
|
firstName: "first_name",
|
|
59
65
|
lastName: "last_name",
|
|
60
66
|
updatedSince: "updated_since",
|
|
67
|
+
subsidiaryId: "subsidiary_id",
|
|
61
68
|
});
|
|
62
69
|
});
|
|
63
70
|
|
|
@@ -29,6 +29,10 @@ export type User = {
|
|
|
29
29
|
* The username of the user
|
|
30
30
|
*/
|
|
31
31
|
username?: string | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The name of the resource.
|
|
34
|
+
*/
|
|
35
|
+
name?: string | null | undefined;
|
|
32
36
|
/**
|
|
33
37
|
* The first name of the person.
|
|
34
38
|
*/
|
|
@@ -102,6 +106,7 @@ export const User$inboundSchema: z.ZodType<User, z.ZodTypeDef, unknown> = z
|
|
|
102
106
|
id: types.optional(types.string()),
|
|
103
107
|
parent_id: z.nullable(types.string()).optional(),
|
|
104
108
|
username: z.nullable(types.string()).optional(),
|
|
109
|
+
name: z.nullable(types.string()).optional(),
|
|
105
110
|
first_name: z.nullable(types.string()).optional(),
|
|
106
111
|
last_name: z.nullable(types.string()).optional(),
|
|
107
112
|
title: z.nullable(types.string()).optional(),
|
|
@@ -30,6 +30,10 @@ export type UserInput = {
|
|
|
30
30
|
* The username of the user
|
|
31
31
|
*/
|
|
32
32
|
username?: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the resource.
|
|
35
|
+
*/
|
|
36
|
+
name?: string | null | undefined;
|
|
33
37
|
/**
|
|
34
38
|
* The first name of the person.
|
|
35
39
|
*/
|
|
@@ -93,6 +97,7 @@ export type UserInput = {
|
|
|
93
97
|
export type UserInput$Outbound = {
|
|
94
98
|
parent_id?: string | null | undefined;
|
|
95
99
|
username?: string | null | undefined;
|
|
100
|
+
name?: string | null | undefined;
|
|
96
101
|
first_name?: string | null | undefined;
|
|
97
102
|
last_name?: string | null | undefined;
|
|
98
103
|
title?: string | null | undefined;
|
|
@@ -119,6 +124,7 @@ export const UserInput$outboundSchema: z.ZodType<
|
|
|
119
124
|
> = z.object({
|
|
120
125
|
parentId: z.nullable(z.string()).optional(),
|
|
121
126
|
username: z.nullable(z.string()).optional(),
|
|
127
|
+
name: z.nullable(z.string()).optional(),
|
|
122
128
|
firstName: z.nullable(z.string()).optional(),
|
|
123
129
|
lastName: z.nullable(z.string()).optional(),
|
|
124
130
|
title: z.nullable(z.string()).optional(),
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type UsersFilter = {
|
|
8
|
+
/**
|
|
9
|
+
* E-mail of the user to filter on
|
|
10
|
+
*/
|
|
11
|
+
email?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Full name of the user to filter on
|
|
14
|
+
*/
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type UsersFilter$Outbound = {
|
|
20
|
+
email?: string | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const UsersFilter$outboundSchema: z.ZodType<
|
|
26
|
+
UsersFilter$Outbound,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
UsersFilter
|
|
29
|
+
> = z.object({
|
|
30
|
+
email: z.string().optional(),
|
|
31
|
+
name: z.string().optional(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function usersFilterToJSON(usersFilter: UsersFilter): string {
|
|
35
|
+
return JSON.stringify(UsersFilter$outboundSchema.parse(usersFilter));
|
|
36
|
+
}
|
|
@@ -39,6 +39,8 @@ export const WebhookEventType = {
|
|
|
39
39
|
VaultConnectionTokenRefreshPending: "vault.connection.token_refresh.pending",
|
|
40
40
|
VaultConnectionTokenRefreshRecovered:
|
|
41
41
|
"vault.connection.token_refresh.recovered",
|
|
42
|
+
VaultConnectionDownstreamDegraded: "vault.connection.downstream.degraded",
|
|
43
|
+
VaultConnectionDownstreamRecovered: "vault.connection.downstream.recovered",
|
|
42
44
|
AtsJobCreated: "ats.job.created",
|
|
43
45
|
AtsJobUpdated: "ats.job.updated",
|
|
44
46
|
AtsJobDeleted: "ats.job.deleted",
|