@apideck/unify 0.42.0 → 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/logsfilter.d.ts +49 -0
- package/models/components/logsfilter.d.ts.map +1 -1
- package/models/components/logsfilter.js +24 -1
- package/models/components/logsfilter.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/logsfilter.ts +67 -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,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
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
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 AccountingGeneralLedgerTransactionsOneGlobals = {
|
|
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 AccountingGeneralLedgerTransactionsOneRequest = {
|
|
25
|
+
/**
|
|
26
|
+
* ID of the record you are acting upon.
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
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
|
+
* Include raw response. Mostly used for debugging purposes
|
|
47
|
+
*/
|
|
48
|
+
raw?: boolean | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* 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.
|
|
51
|
+
*/
|
|
52
|
+
fields?: string | null | undefined;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type AccountingGeneralLedgerTransactionsOneResponse = {
|
|
56
|
+
httpMeta: components.HTTPMetadata;
|
|
57
|
+
/**
|
|
58
|
+
* GeneralLedgerTransaction
|
|
59
|
+
*/
|
|
60
|
+
getGeneralLedgerTransactionResponse?:
|
|
61
|
+
| components.GetGeneralLedgerTransactionResponse
|
|
62
|
+
| undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Unexpected error
|
|
65
|
+
*/
|
|
66
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type AccountingGeneralLedgerTransactionsOneRequest$Outbound = {
|
|
71
|
+
id: string;
|
|
72
|
+
consumerId?: string | undefined;
|
|
73
|
+
appId?: string | undefined;
|
|
74
|
+
serviceId?: string | undefined;
|
|
75
|
+
companyId?: string | undefined;
|
|
76
|
+
raw: boolean;
|
|
77
|
+
fields?: string | null | undefined;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const AccountingGeneralLedgerTransactionsOneRequest$outboundSchema:
|
|
82
|
+
z.ZodType<
|
|
83
|
+
AccountingGeneralLedgerTransactionsOneRequest$Outbound,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
AccountingGeneralLedgerTransactionsOneRequest
|
|
86
|
+
> = z.object({
|
|
87
|
+
id: z.string(),
|
|
88
|
+
consumerId: z.string().optional(),
|
|
89
|
+
appId: z.string().optional(),
|
|
90
|
+
serviceId: z.string().optional(),
|
|
91
|
+
companyId: z.string().optional(),
|
|
92
|
+
raw: z.boolean().default(false),
|
|
93
|
+
fields: z.nullable(z.string()).optional(),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export function accountingGeneralLedgerTransactionsOneRequestToJSON(
|
|
97
|
+
accountingGeneralLedgerTransactionsOneRequest:
|
|
98
|
+
AccountingGeneralLedgerTransactionsOneRequest,
|
|
99
|
+
): string {
|
|
100
|
+
return JSON.stringify(
|
|
101
|
+
AccountingGeneralLedgerTransactionsOneRequest$outboundSchema.parse(
|
|
102
|
+
accountingGeneralLedgerTransactionsOneRequest,
|
|
103
|
+
),
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const AccountingGeneralLedgerTransactionsOneResponse$inboundSchema:
|
|
109
|
+
z.ZodType<
|
|
110
|
+
AccountingGeneralLedgerTransactionsOneResponse,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
unknown
|
|
113
|
+
> = z.object({
|
|
114
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
115
|
+
GetGeneralLedgerTransactionResponse: types.optional(
|
|
116
|
+
components.GetGeneralLedgerTransactionResponse$inboundSchema,
|
|
117
|
+
),
|
|
118
|
+
UnexpectedErrorResponse: types.optional(
|
|
119
|
+
components.UnexpectedErrorResponse$inboundSchema,
|
|
120
|
+
),
|
|
121
|
+
}).transform((v) => {
|
|
122
|
+
return remap$(v, {
|
|
123
|
+
"HttpMeta": "httpMeta",
|
|
124
|
+
"GetGeneralLedgerTransactionResponse":
|
|
125
|
+
"getGeneralLedgerTransactionResponse",
|
|
126
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
export function accountingGeneralLedgerTransactionsOneResponseFromJSON(
|
|
131
|
+
jsonString: string,
|
|
132
|
+
): SafeParseResult<
|
|
133
|
+
AccountingGeneralLedgerTransactionsOneResponse,
|
|
134
|
+
SDKValidationError
|
|
135
|
+
> {
|
|
136
|
+
return safeParse(
|
|
137
|
+
jsonString,
|
|
138
|
+
(x) =>
|
|
139
|
+
AccountingGeneralLedgerTransactionsOneResponse$inboundSchema.parse(
|
|
140
|
+
JSON.parse(x),
|
|
141
|
+
),
|
|
142
|
+
`Failed to parse 'AccountingGeneralLedgerTransactionsOneResponse' from JSON`,
|
|
143
|
+
);
|
|
144
|
+
}
|
|
@@ -50,6 +50,10 @@ export type AccountingQuotesAllRequest = {
|
|
|
50
50
|
* Number of results to return. Minimum 1, Maximum 200, Default 20
|
|
51
51
|
*/
|
|
52
52
|
limit?: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Apply filters
|
|
55
|
+
*/
|
|
56
|
+
filter?: components.QuotesFilter | undefined;
|
|
53
57
|
};
|
|
54
58
|
|
|
55
59
|
export type AccountingQuotesAllResponse = {
|
|
@@ -73,6 +77,7 @@ export type AccountingQuotesAllRequest$Outbound = {
|
|
|
73
77
|
companyId?: string | undefined;
|
|
74
78
|
cursor?: string | null | undefined;
|
|
75
79
|
limit: number;
|
|
80
|
+
filter?: components.QuotesFilter$Outbound | undefined;
|
|
76
81
|
};
|
|
77
82
|
|
|
78
83
|
/** @internal */
|
|
@@ -88,6 +93,7 @@ export const AccountingQuotesAllRequest$outboundSchema: z.ZodType<
|
|
|
88
93
|
companyId: z.string().optional(),
|
|
89
94
|
cursor: z.nullable(z.string()).optional(),
|
|
90
95
|
limit: z.number().int().default(20),
|
|
96
|
+
filter: components.QuotesFilter$outboundSchema.optional(),
|
|
91
97
|
});
|
|
92
98
|
|
|
93
99
|
export function accountingQuotesAllRequestToJSON(
|
|
@@ -46,6 +46,10 @@ export type CrmNotesAllRequest = {
|
|
|
46
46
|
* Number of results to return. Minimum 1, Maximum 200, Default 20
|
|
47
47
|
*/
|
|
48
48
|
limit?: number | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Apply filters
|
|
51
|
+
*/
|
|
52
|
+
filter?: components.NotesFilter | undefined;
|
|
49
53
|
/**
|
|
50
54
|
* Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
|
|
51
55
|
*/
|
|
@@ -76,6 +80,7 @@ export type CrmNotesAllRequest$Outbound = {
|
|
|
76
80
|
serviceId?: string | undefined;
|
|
77
81
|
cursor?: string | null | undefined;
|
|
78
82
|
limit: number;
|
|
83
|
+
filter?: components.NotesFilter$Outbound | undefined;
|
|
79
84
|
pass_through?: { [k: string]: any } | undefined;
|
|
80
85
|
fields?: string | null | undefined;
|
|
81
86
|
};
|
|
@@ -92,6 +97,7 @@ export const CrmNotesAllRequest$outboundSchema: z.ZodType<
|
|
|
92
97
|
serviceId: z.string().optional(),
|
|
93
98
|
cursor: z.nullable(z.string()).optional(),
|
|
94
99
|
limit: z.number().int().default(20),
|
|
100
|
+
filter: components.NotesFilter$outboundSchema.optional(),
|
|
95
101
|
passThrough: z.record(z.any()).optional(),
|
|
96
102
|
fields: z.nullable(z.string()).optional(),
|
|
97
103
|
}).transform((v) => {
|
|
@@ -46,6 +46,10 @@ export type CrmUsersAllRequest = {
|
|
|
46
46
|
* Number of results to return. Minimum 1, Maximum 200, Default 20
|
|
47
47
|
*/
|
|
48
48
|
limit?: number | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Apply filters
|
|
51
|
+
*/
|
|
52
|
+
filter?: components.UsersFilter | undefined;
|
|
49
53
|
/**
|
|
50
54
|
* Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
|
|
51
55
|
*/
|
|
@@ -76,6 +80,7 @@ export type CrmUsersAllRequest$Outbound = {
|
|
|
76
80
|
serviceId?: string | undefined;
|
|
77
81
|
cursor?: string | null | undefined;
|
|
78
82
|
limit: number;
|
|
83
|
+
filter?: components.UsersFilter$Outbound | undefined;
|
|
79
84
|
pass_through?: { [k: string]: any } | undefined;
|
|
80
85
|
fields?: string | null | undefined;
|
|
81
86
|
};
|
|
@@ -92,6 +97,7 @@ export const CrmUsersAllRequest$outboundSchema: z.ZodType<
|
|
|
92
97
|
serviceId: z.string().optional(),
|
|
93
98
|
cursor: z.nullable(z.string()).optional(),
|
|
94
99
|
limit: z.number().int().default(20),
|
|
100
|
+
filter: components.UsersFilter$outboundSchema.optional(),
|
|
95
101
|
passThrough: z.record(z.any()).optional(),
|
|
96
102
|
fields: z.nullable(z.string()).optional(),
|
|
97
103
|
}).transform((v) => {
|
|
@@ -74,6 +74,8 @@ export * from "./accountingexpensesall.js";
|
|
|
74
74
|
export * from "./accountingexpensesdelete.js";
|
|
75
75
|
export * from "./accountingexpensesone.js";
|
|
76
76
|
export * from "./accountingexpensesupdate.js";
|
|
77
|
+
export * from "./accountinggeneralledgertransactionsall.js";
|
|
78
|
+
export * from "./accountinggeneralledgertransactionsone.js";
|
|
77
79
|
export * from "./accountinginvoiceitemsadd.js";
|
|
78
80
|
export * from "./accountinginvoiceitemsall.js";
|
|
79
81
|
export * from "./accountinginvoiceitemsdelete.js";
|
package/src/sdk/accounting.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { Employees } from "./employees.js";
|
|
|
22
22
|
import { ExpenseCategories } from "./expensecategories.js";
|
|
23
23
|
import { ExpenseReports } from "./expensereports.js";
|
|
24
24
|
import { Expenses } from "./expenses.js";
|
|
25
|
+
import { GeneralLedgerTransactions } from "./generalledgertransactions.js";
|
|
25
26
|
import { InvoiceItems } from "./invoiceitems.js";
|
|
26
27
|
import { Invoices } from "./invoices.js";
|
|
27
28
|
import { JournalEntries } from "./journalentries.js";
|
|
@@ -114,6 +115,13 @@ export class Accounting extends ClientSDK {
|
|
|
114
115
|
return (this._journalEntries ??= new JournalEntries(this._options));
|
|
115
116
|
}
|
|
116
117
|
|
|
118
|
+
private _generalLedgerTransactions?: GeneralLedgerTransactions;
|
|
119
|
+
get generalLedgerTransactions(): GeneralLedgerTransactions {
|
|
120
|
+
return (this._generalLedgerTransactions ??= new GeneralLedgerTransactions(
|
|
121
|
+
this._options,
|
|
122
|
+
));
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
private _purchaseOrders?: PurchaseOrders;
|
|
118
126
|
get purchaseOrders(): PurchaseOrders {
|
|
119
127
|
return (this._purchaseOrders ??= new PurchaseOrders(this._options));
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingGeneralLedgerTransactionsGet } from "../funcs/accountingGeneralLedgerTransactionsGet.js";
|
|
6
|
+
import { accountingGeneralLedgerTransactionsList } from "../funcs/accountingGeneralLedgerTransactionsList.js";
|
|
7
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
11
|
+
|
|
12
|
+
export class GeneralLedgerTransactions extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* List General Ledger Transactions
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* List General Ledger Transactions
|
|
18
|
+
*/
|
|
19
|
+
async list(
|
|
20
|
+
request: operations.AccountingGeneralLedgerTransactionsAllRequest,
|
|
21
|
+
options?: RequestOptions,
|
|
22
|
+
): Promise<
|
|
23
|
+
PageIterator<
|
|
24
|
+
operations.AccountingGeneralLedgerTransactionsAllResponse,
|
|
25
|
+
{ cursor: string }
|
|
26
|
+
>
|
|
27
|
+
> {
|
|
28
|
+
return unwrapResultIterator(accountingGeneralLedgerTransactionsList(
|
|
29
|
+
this,
|
|
30
|
+
request,
|
|
31
|
+
options,
|
|
32
|
+
));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Get General Ledger Transaction
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Get General Ledger Transaction
|
|
40
|
+
*/
|
|
41
|
+
async get(
|
|
42
|
+
request: operations.AccountingGeneralLedgerTransactionsOneRequest,
|
|
43
|
+
options?: RequestOptions,
|
|
44
|
+
): Promise<operations.AccountingGeneralLedgerTransactionsOneResponse> {
|
|
45
|
+
return unwrapAsync(accountingGeneralLedgerTransactionsGet(
|
|
46
|
+
this,
|
|
47
|
+
request,
|
|
48
|
+
options,
|
|
49
|
+
));
|
|
50
|
+
}
|
|
51
|
+
}
|
package/lib/dlv.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param obj The object to walk
|
|
3
|
-
* @param key The key path to walk the object with
|
|
4
|
-
* @param def A default value to return if the result is undefined
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* dlv(obj, "a.b.c.d")
|
|
8
|
-
* @example
|
|
9
|
-
* dlv(object, ["a", "b", "c", "d"])
|
|
10
|
-
* @example
|
|
11
|
-
* dlv(object, "foo.bar.baz", "Hello, default value!")
|
|
12
|
-
*/
|
|
13
|
-
export declare function dlv<T = any>(obj: any, key: string | string[], def?: T, p?: number, undef?: never): T | undefined;
|
|
14
|
-
//# sourceMappingURL=dlv.d.ts.map
|
package/lib/dlv.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dlv.d.ts","sourceRoot":"","sources":["../src/lib/dlv.ts"],"names":[],"mappings":"AA2BA;;;;;;;;;;;GAWG;AACH,wBAAgB,GAAG,CAAC,CAAC,GAAG,GAAG,EACzB,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,EACtB,GAAG,CAAC,EAAE,CAAC,EACP,CAAC,CAAC,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,KAAK,GACZ,CAAC,GAAG,SAAS,CAOf"}
|
package/lib/dlv.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.dlv = dlv;
|
|
7
|
-
/*
|
|
8
|
-
MIT License
|
|
9
|
-
|
|
10
|
-
Copyright (c) 2024 Jason Miller <jason@developit.ca> (http://jasonformat.com)
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
13
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
14
|
-
the Software without restriction, including without limitation the rights to
|
|
15
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
16
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
17
|
-
subject to the following conditions:
|
|
18
|
-
|
|
19
|
-
The above copyright notice and this permission notice shall be included in all
|
|
20
|
-
copies or substantial portions of the Software.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
24
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
25
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
26
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
27
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* @param obj The object to walk
|
|
31
|
-
* @param key The key path to walk the object with
|
|
32
|
-
* @param def A default value to return if the result is undefined
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* dlv(obj, "a.b.c.d")
|
|
36
|
-
* @example
|
|
37
|
-
* dlv(object, ["a", "b", "c", "d"])
|
|
38
|
-
* @example
|
|
39
|
-
* dlv(object, "foo.bar.baz", "Hello, default value!")
|
|
40
|
-
*/
|
|
41
|
-
function dlv(obj, key, def, p, undef) {
|
|
42
|
-
key = Array.isArray(key) ? key : key.split(".");
|
|
43
|
-
for (p = 0; p < key.length; p++) {
|
|
44
|
-
const k = key[p];
|
|
45
|
-
obj = k != null && obj ? obj[k] : undef;
|
|
46
|
-
}
|
|
47
|
-
return obj === undef ? def : obj;
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=dlv.js.map
|
package/lib/dlv.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dlv.js","sourceRoot":"","sources":["../src/lib/dlv.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAqCH,kBAaC;AAhDD;;;;;;;;;;;;;;;;;;;;;EAqBE;AAEF;;;;;;;;;;;GAWG;AACH,SAAgB,GAAG,CACjB,GAAQ,EACR,GAAsB,EACtB,GAAO,EACP,CAAU,EACV,KAAa;IAEb,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAChC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;QACjB,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1C,CAAC;IACD,OAAO,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AACnC,CAAC"}
|
package/lib/is-plain-object.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-plain-object.d.ts","sourceRoot":"","sources":["../src/lib/is-plain-object.ts"],"names":[],"mappings":"AA6BA,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAa7D"}
|
package/lib/is-plain-object.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.isPlainObject = isPlainObject;
|
|
7
|
-
/*
|
|
8
|
-
MIT License
|
|
9
|
-
|
|
10
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
13
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
14
|
-
the Software without restriction, including without limitation the rights to
|
|
15
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
16
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
17
|
-
subject to the following conditions:
|
|
18
|
-
|
|
19
|
-
The above copyright notice and this permission notice shall be included in all
|
|
20
|
-
copies or substantial portions of the Software.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
24
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
25
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
26
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
27
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
28
|
-
*/
|
|
29
|
-
// Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js
|
|
30
|
-
function isPlainObject(value) {
|
|
31
|
-
if (typeof value !== "object" || value === null) {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
const prototype = Object.getPrototypeOf(value);
|
|
35
|
-
return ((prototype === null ||
|
|
36
|
-
prototype === Object.prototype ||
|
|
37
|
-
Object.getPrototypeOf(prototype) === null) &&
|
|
38
|
-
!(Symbol.toStringTag in value) &&
|
|
39
|
-
!(Symbol.iterator in value));
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=is-plain-object.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-plain-object.js","sourceRoot":"","sources":["../src/lib/is-plain-object.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA2BH,sCAaC;AAtCD;;;;;;;;;;;;;;;;;;;;;EAqBE;AAEF,iHAAiH;AAEjH,SAAgB,aAAa,CAAC,KAAc;IAC1C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAChD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC/C,OAAO,CACL,CAAC,SAAS,KAAK,IAAI;QACjB,SAAS,KAAK,MAAM,CAAC,SAAS;QAC9B,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;QAC5C,CAAC,CAAC,MAAM,CAAC,WAAW,IAAI,KAAK,CAAC;QAC9B,CAAC,CAAC,MAAM,CAAC,QAAQ,IAAI,KAAK,CAAC,CAC5B,CAAC;AACJ,CAAC"}
|