@apideck/unify 0.42.1 → 0.43.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 +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/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/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__/quotes.test.ts +5 -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/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/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
|
@@ -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
|
|
|
@@ -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",
|
|
@@ -0,0 +1,173 @@
|
|
|
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 * as components from "../components/index.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export type AccountingGeneralLedgerTransactionsAllGlobals = {
|
|
14
|
+
/**
|
|
15
|
+
* ID of the consumer which you want to get or push data from
|
|
16
|
+
*/
|
|
17
|
+
consumerId?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of your Unify application
|
|
20
|
+
*/
|
|
21
|
+
appId?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type AccountingGeneralLedgerTransactionsAllRequest = {
|
|
25
|
+
/**
|
|
26
|
+
* Include raw response. Mostly used for debugging purposes
|
|
27
|
+
*/
|
|
28
|
+
raw?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* ID of the consumer which you want to get or push data from
|
|
31
|
+
*/
|
|
32
|
+
consumerId?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of your Unify application
|
|
35
|
+
*/
|
|
36
|
+
appId?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
|
|
39
|
+
*/
|
|
40
|
+
serviceId?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings.
|
|
43
|
+
*/
|
|
44
|
+
companyId?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
|
|
47
|
+
*/
|
|
48
|
+
cursor?: string | null | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Number of results to return. Minimum 1, Maximum 200, Default 20
|
|
51
|
+
*/
|
|
52
|
+
limit?: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Apply filters
|
|
55
|
+
*/
|
|
56
|
+
filter?: components.GeneralLedgerTransactionsFilter | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Apply sorting
|
|
59
|
+
*/
|
|
60
|
+
sort?: components.GeneralLedgerTransactionsSort | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
|
|
63
|
+
*/
|
|
64
|
+
passThrough?: { [k: string]: any } | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
|
|
67
|
+
*/
|
|
68
|
+
fields?: string | null | undefined;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export type AccountingGeneralLedgerTransactionsAllResponse = {
|
|
72
|
+
httpMeta: components.HTTPMetadata;
|
|
73
|
+
/**
|
|
74
|
+
* GeneralLedgerTransactions
|
|
75
|
+
*/
|
|
76
|
+
getGeneralLedgerTransactionsResponse?:
|
|
77
|
+
| components.GetGeneralLedgerTransactionsResponse
|
|
78
|
+
| undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Unexpected error
|
|
81
|
+
*/
|
|
82
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type AccountingGeneralLedgerTransactionsAllRequest$Outbound = {
|
|
87
|
+
raw: boolean;
|
|
88
|
+
consumerId?: string | undefined;
|
|
89
|
+
appId?: string | undefined;
|
|
90
|
+
serviceId?: string | undefined;
|
|
91
|
+
companyId?: string | undefined;
|
|
92
|
+
cursor?: string | null | undefined;
|
|
93
|
+
limit: number;
|
|
94
|
+
filter?: components.GeneralLedgerTransactionsFilter$Outbound | undefined;
|
|
95
|
+
sort?: components.GeneralLedgerTransactionsSort$Outbound | undefined;
|
|
96
|
+
pass_through?: { [k: string]: any } | undefined;
|
|
97
|
+
fields?: string | null | undefined;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const AccountingGeneralLedgerTransactionsAllRequest$outboundSchema:
|
|
102
|
+
z.ZodType<
|
|
103
|
+
AccountingGeneralLedgerTransactionsAllRequest$Outbound,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
AccountingGeneralLedgerTransactionsAllRequest
|
|
106
|
+
> = z.object({
|
|
107
|
+
raw: z.boolean().default(false),
|
|
108
|
+
consumerId: z.string().optional(),
|
|
109
|
+
appId: z.string().optional(),
|
|
110
|
+
serviceId: z.string().optional(),
|
|
111
|
+
companyId: z.string().optional(),
|
|
112
|
+
cursor: z.nullable(z.string()).optional(),
|
|
113
|
+
limit: z.number().int().default(20),
|
|
114
|
+
filter: components.GeneralLedgerTransactionsFilter$outboundSchema
|
|
115
|
+
.optional(),
|
|
116
|
+
sort: components.GeneralLedgerTransactionsSort$outboundSchema.optional(),
|
|
117
|
+
passThrough: z.record(z.any()).optional(),
|
|
118
|
+
fields: z.nullable(z.string()).optional(),
|
|
119
|
+
}).transform((v) => {
|
|
120
|
+
return remap$(v, {
|
|
121
|
+
passThrough: "pass_through",
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
export function accountingGeneralLedgerTransactionsAllRequestToJSON(
|
|
126
|
+
accountingGeneralLedgerTransactionsAllRequest:
|
|
127
|
+
AccountingGeneralLedgerTransactionsAllRequest,
|
|
128
|
+
): string {
|
|
129
|
+
return JSON.stringify(
|
|
130
|
+
AccountingGeneralLedgerTransactionsAllRequest$outboundSchema.parse(
|
|
131
|
+
accountingGeneralLedgerTransactionsAllRequest,
|
|
132
|
+
),
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** @internal */
|
|
137
|
+
export const AccountingGeneralLedgerTransactionsAllResponse$inboundSchema:
|
|
138
|
+
z.ZodType<
|
|
139
|
+
AccountingGeneralLedgerTransactionsAllResponse,
|
|
140
|
+
z.ZodTypeDef,
|
|
141
|
+
unknown
|
|
142
|
+
> = z.object({
|
|
143
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
144
|
+
GetGeneralLedgerTransactionsResponse: types.optional(
|
|
145
|
+
components.GetGeneralLedgerTransactionsResponse$inboundSchema,
|
|
146
|
+
),
|
|
147
|
+
UnexpectedErrorResponse: types.optional(
|
|
148
|
+
components.UnexpectedErrorResponse$inboundSchema,
|
|
149
|
+
),
|
|
150
|
+
}).transform((v) => {
|
|
151
|
+
return remap$(v, {
|
|
152
|
+
"HttpMeta": "httpMeta",
|
|
153
|
+
"GetGeneralLedgerTransactionsResponse":
|
|
154
|
+
"getGeneralLedgerTransactionsResponse",
|
|
155
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export function accountingGeneralLedgerTransactionsAllResponseFromJSON(
|
|
160
|
+
jsonString: string,
|
|
161
|
+
): SafeParseResult<
|
|
162
|
+
AccountingGeneralLedgerTransactionsAllResponse,
|
|
163
|
+
SDKValidationError
|
|
164
|
+
> {
|
|
165
|
+
return safeParse(
|
|
166
|
+
jsonString,
|
|
167
|
+
(x) =>
|
|
168
|
+
AccountingGeneralLedgerTransactionsAllResponse$inboundSchema.parse(
|
|
169
|
+
JSON.parse(x),
|
|
170
|
+
),
|
|
171
|
+
`Failed to parse 'AccountingGeneralLedgerTransactionsAllResponse' from JSON`,
|
|
172
|
+
);
|
|
173
|
+
}
|