@apideck/unify 0.29.7 → 0.29.9
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 +24 -1
- package/docs/sdks/bankaccounts/README.md +564 -0
- package/docs/sdks/connectionconsent/README.md +100 -0
- package/docs/sdks/connectionconsents/README.md +92 -0
- package/docs/sdks/expenses/README.md +8 -0
- package/examples/accountingTaxRatesList.example.ts +1 -1
- package/examples/package-lock.json +1 -1
- package/funcs/accountingAttachmentsList.js +3 -0
- package/funcs/accountingAttachmentsList.js.map +1 -1
- package/funcs/accountingBankAccountsCreate.d.ts +18 -0
- package/funcs/accountingBankAccountsCreate.d.ts.map +1 -0
- package/funcs/accountingBankAccountsCreate.js +139 -0
- package/funcs/accountingBankAccountsCreate.js.map +1 -0
- package/funcs/accountingBankAccountsDelete.d.ts +18 -0
- package/funcs/accountingBankAccountsDelete.d.ts.map +1 -0
- package/funcs/accountingBankAccountsDelete.js +142 -0
- package/funcs/accountingBankAccountsDelete.js.map +1 -0
- package/funcs/accountingBankAccountsGet.d.ts +18 -0
- package/funcs/accountingBankAccountsGet.d.ts.map +1 -0
- package/funcs/accountingBankAccountsGet.js +143 -0
- package/funcs/accountingBankAccountsGet.js.map +1 -0
- package/funcs/accountingBankAccountsList.d.ts +21 -0
- package/funcs/accountingBankAccountsList.d.ts.map +1 -0
- package/funcs/accountingBankAccountsList.js +168 -0
- package/funcs/accountingBankAccountsList.js.map +1 -0
- package/funcs/accountingBankAccountsUpdate.d.ts +18 -0
- package/funcs/accountingBankAccountsUpdate.d.ts.map +1 -0
- package/funcs/accountingBankAccountsUpdate.js +145 -0
- package/funcs/accountingBankAccountsUpdate.js.map +1 -0
- package/funcs/accountingBankFeedAccountsList.js +3 -0
- package/funcs/accountingBankFeedAccountsList.js.map +1 -1
- package/funcs/accountingBankFeedStatementsList.js +3 -0
- package/funcs/accountingBankFeedStatementsList.js.map +1 -1
- package/funcs/accountingBillPaymentsList.js +3 -0
- package/funcs/accountingBillPaymentsList.js.map +1 -1
- package/funcs/accountingBillsList.js +3 -0
- package/funcs/accountingBillsList.js.map +1 -1
- package/funcs/accountingCategoriesList.js +3 -0
- package/funcs/accountingCategoriesList.js.map +1 -1
- package/funcs/accountingCreditNotesList.js +3 -0
- package/funcs/accountingCreditNotesList.js.map +1 -1
- package/funcs/accountingCustomersList.js +3 -0
- package/funcs/accountingCustomersList.js.map +1 -1
- package/funcs/accountingDepartmentsList.js +3 -0
- package/funcs/accountingDepartmentsList.js.map +1 -1
- package/funcs/accountingExpensesList.d.ts.map +1 -1
- package/funcs/accountingExpensesList.js +7 -2
- package/funcs/accountingExpensesList.js.map +1 -1
- package/funcs/accountingInvoiceItemsList.js +3 -0
- package/funcs/accountingInvoiceItemsList.js.map +1 -1
- package/funcs/accountingInvoicesList.js +3 -0
- package/funcs/accountingInvoicesList.js.map +1 -1
- package/funcs/accountingJournalEntriesList.js +3 -0
- package/funcs/accountingJournalEntriesList.js.map +1 -1
- package/funcs/accountingLedgerAccountsList.js +3 -0
- package/funcs/accountingLedgerAccountsList.js.map +1 -1
- package/funcs/accountingLocationsList.js +3 -0
- package/funcs/accountingLocationsList.js.map +1 -1
- package/funcs/accountingPaymentsList.js +3 -0
- package/funcs/accountingPaymentsList.js.map +1 -1
- package/funcs/accountingPurchaseOrdersList.js +3 -0
- package/funcs/accountingPurchaseOrdersList.js.map +1 -1
- package/funcs/accountingQuotesList.js +3 -0
- package/funcs/accountingQuotesList.js.map +1 -1
- package/funcs/accountingSubsidiariesList.js +3 -0
- package/funcs/accountingSubsidiariesList.js.map +1 -1
- package/funcs/accountingSuppliersList.js +3 -0
- package/funcs/accountingSuppliersList.js.map +1 -1
- package/funcs/accountingTaxRatesList.js +3 -0
- package/funcs/accountingTaxRatesList.js.map +1 -1
- package/funcs/accountingTrackingCategoriesList.js +3 -0
- package/funcs/accountingTrackingCategoriesList.js.map +1 -1
- package/funcs/atsApplicantsList.js +3 -0
- package/funcs/atsApplicantsList.js.map +1 -1
- package/funcs/atsApplicationsList.js +3 -0
- package/funcs/atsApplicationsList.js.map +1 -1
- package/funcs/atsJobsList.js +3 -0
- package/funcs/atsJobsList.js.map +1 -1
- package/funcs/connectorApisList.js +3 -0
- package/funcs/connectorApisList.js.map +1 -1
- package/funcs/connectorConnectorsList.js +3 -0
- package/funcs/connectorConnectorsList.js.map +1 -1
- package/funcs/crmActivitiesList.js +3 -0
- package/funcs/crmActivitiesList.js.map +1 -1
- package/funcs/crmCompaniesList.js +3 -0
- package/funcs/crmCompaniesList.js.map +1 -1
- package/funcs/crmContactsList.js +3 -0
- package/funcs/crmContactsList.js.map +1 -1
- package/funcs/crmCustomObjectSchemasList.js +3 -0
- package/funcs/crmCustomObjectSchemasList.js.map +1 -1
- package/funcs/crmCustomObjectsList.js +3 -0
- package/funcs/crmCustomObjectsList.js.map +1 -1
- package/funcs/crmLeadsList.js +3 -0
- package/funcs/crmLeadsList.js.map +1 -1
- package/funcs/crmNotesList.js +3 -0
- package/funcs/crmNotesList.js.map +1 -1
- package/funcs/crmOpportunitiesList.js +3 -0
- package/funcs/crmOpportunitiesList.js.map +1 -1
- package/funcs/crmPipelinesList.js +3 -0
- package/funcs/crmPipelinesList.js.map +1 -1
- package/funcs/crmUsersList.js +3 -0
- package/funcs/crmUsersList.js.map +1 -1
- package/funcs/ecommerceCustomersList.js +3 -0
- package/funcs/ecommerceCustomersList.js.map +1 -1
- package/funcs/ecommerceOrdersList.js +3 -0
- package/funcs/ecommerceOrdersList.js.map +1 -1
- package/funcs/ecommerceProductsList.js +3 -0
- package/funcs/ecommerceProductsList.js.map +1 -1
- package/funcs/fileStorageDriveGroupsList.js +3 -0
- package/funcs/fileStorageDriveGroupsList.js.map +1 -1
- package/funcs/fileStorageDrivesList.js +3 -0
- package/funcs/fileStorageDrivesList.js.map +1 -1
- package/funcs/fileStorageFilesList.js +3 -0
- package/funcs/fileStorageFilesList.js.map +1 -1
- package/funcs/fileStorageSharedLinksList.js +3 -0
- package/funcs/fileStorageSharedLinksList.js.map +1 -1
- package/funcs/hrisCompaniesList.js +3 -0
- package/funcs/hrisCompaniesList.js.map +1 -1
- package/funcs/hrisDepartmentsList.js +3 -0
- package/funcs/hrisDepartmentsList.js.map +1 -1
- package/funcs/hrisEmployeesList.js +3 -0
- package/funcs/hrisEmployeesList.js.map +1 -1
- package/funcs/hrisTimeOffRequestsList.js +3 -0
- package/funcs/hrisTimeOffRequestsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTagsList.js +3 -0
- package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsGet.js +3 -0
- package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketCommentsList.js +3 -0
- package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
- package/funcs/issueTrackingCollectionTicketsList.js +3 -0
- package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
- package/funcs/issueTrackingCollectionUsersList.js +3 -0
- package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
- package/funcs/issueTrackingCollectionsList.js +3 -0
- package/funcs/issueTrackingCollectionsList.js.map +1 -1
- package/funcs/smsMessagesList.js +3 -0
- package/funcs/smsMessagesList.js.map +1 -1
- package/funcs/vaultConnectionConsentUpdate.d.ts +18 -0
- package/funcs/vaultConnectionConsentUpdate.d.ts.map +1 -0
- package/funcs/vaultConnectionConsentUpdate.js +144 -0
- package/funcs/vaultConnectionConsentUpdate.js.map +1 -0
- package/funcs/vaultConnectionConsentsList.d.ts +18 -0
- package/funcs/vaultConnectionConsentsList.d.ts.map +1 -0
- package/funcs/vaultConnectionConsentsList.js +141 -0
- package/funcs/vaultConnectionConsentsList.js.map +1 -0
- package/funcs/vaultConsumersList.js +3 -0
- package/funcs/vaultConsumersList.js.map +1 -1
- package/funcs/vaultLogsList.js +3 -0
- package/funcs/vaultLogsList.js.map +1 -1
- package/funcs/webhookEventLogsList.js +3 -0
- package/funcs/webhookEventLogsList.js.map +1 -1
- package/funcs/webhookWebhooksList.js +3 -0
- package/funcs/webhookWebhooksList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/models/components/accountingbankaccount.d.ts +348 -0
- package/models/components/accountingbankaccount.d.ts.map +1 -0
- package/models/components/accountingbankaccount.js +298 -0
- package/models/components/accountingbankaccount.js.map +1 -0
- package/models/components/bankaccountsfilter.d.ts +72 -0
- package/models/components/bankaccountsfilter.d.ts.map +1 -0
- package/models/components/bankaccountsfilter.js +94 -0
- package/models/components/bankaccountsfilter.js.map +1 -0
- package/models/components/bankaccountssort.d.ts +70 -0
- package/models/components/bankaccountssort.d.ts.map +1 -0
- package/models/components/bankaccountssort.js +95 -0
- package/models/components/bankaccountssort.js.map +1 -0
- package/models/components/companyinfo.d.ts +42 -0
- package/models/components/companyinfo.d.ts.map +1 -1
- package/models/components/companyinfo.js +29 -1
- package/models/components/companyinfo.js.map +1 -1
- package/models/components/connection.d.ts +28 -0
- package/models/components/connection.d.ts.map +1 -1
- package/models/components/connection.js +31 -0
- package/models/components/connection.js.map +1 -1
- package/models/components/consentrecord.d.ts +48 -0
- package/models/components/consentrecord.d.ts.map +1 -0
- package/models/components/consentrecord.js +85 -0
- package/models/components/consentrecord.js.map +1 -0
- package/models/components/consentrecordinput.d.ts +38 -0
- package/models/components/consentrecordinput.d.ts.map +1 -0
- package/models/components/consentrecordinput.js +72 -0
- package/models/components/consentrecordinput.js.map +1 -0
- package/models/components/consentstate.d.ts +46 -0
- package/models/components/consentstate.d.ts.map +1 -0
- package/models/components/consentstate.js +67 -0
- package/models/components/consentstate.js.map +1 -0
- package/models/components/createbankaccountresponse.d.ts +61 -0
- package/models/components/createbankaccountresponse.d.ts.map +1 -0
- package/models/components/createbankaccountresponse.js +89 -0
- package/models/components/createbankaccountresponse.js.map +1 -0
- package/models/components/datascopes.d.ts +43 -0
- package/models/components/datascopes.d.ts.map +1 -0
- package/models/components/datascopes.js +83 -0
- package/models/components/datascopes.js.map +1 -0
- package/models/components/datascopesinput.d.ts +38 -0
- package/models/components/datascopesinput.d.ts.map +1 -0
- package/models/components/datascopesinput.js +72 -0
- package/models/components/datascopesinput.js.map +1 -0
- package/models/components/datascopesresources.d.ts +98 -0
- package/models/components/datascopesresources.d.ts.map +1 -0
- package/models/components/datascopesresources.js +121 -0
- package/models/components/datascopesresources.js.map +1 -0
- package/models/components/deletebankaccountresponse.d.ts +61 -0
- package/models/components/deletebankaccountresponse.d.ts.map +1 -0
- package/models/components/deletebankaccountresponse.js +89 -0
- package/models/components/deletebankaccountresponse.js.map +1 -0
- package/models/components/expense.d.ts +41 -0
- package/models/components/expense.d.ts.map +1 -1
- package/models/components/expense.js +27 -1
- package/models/components/expense.js.map +1 -1
- package/models/components/expensesfilter.d.ts +75 -0
- package/models/components/expensesfilter.d.ts.map +1 -0
- package/models/components/expensesfilter.js +105 -0
- package/models/components/expensesfilter.js.map +1 -0
- package/models/components/formfield.d.ts +3 -0
- package/models/components/formfield.d.ts.map +1 -1
- package/models/components/formfield.js +1 -0
- package/models/components/formfield.js.map +1 -1
- package/models/components/getbankaccountresponse.d.ts +58 -0
- package/models/components/getbankaccountresponse.d.ts.map +1 -0
- package/models/components/getbankaccountresponse.js +89 -0
- package/models/components/getbankaccountresponse.js.map +1 -0
- package/models/components/getbankaccountsresponse.d.ts +70 -0
- package/models/components/getbankaccountsresponse.d.ts.map +1 -0
- package/models/components/getbankaccountsresponse.js +95 -0
- package/models/components/getbankaccountsresponse.js.map +1 -0
- package/models/components/getconsentrecordsresponse.d.ts +52 -0
- package/models/components/getconsentrecordsresponse.d.ts.map +1 -0
- package/models/components/getconsentrecordsresponse.js +87 -0
- package/models/components/getconsentrecordsresponse.js.map +1 -0
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/journalentriesfilter.d.ts +46 -0
- package/models/components/journalentriesfilter.d.ts.map +1 -1
- package/models/components/journalentriesfilter.js +28 -1
- package/models/components/journalentriesfilter.js.map +1 -1
- package/models/components/logsfilter.d.ts +8 -0
- package/models/components/logsfilter.d.ts.map +1 -1
- package/models/components/logsfilter.js +4 -0
- package/models/components/logsfilter.js.map +1 -1
- package/models/components/trackingcategory.d.ts +10 -0
- package/models/components/trackingcategory.d.ts.map +1 -1
- package/models/components/trackingcategory.js +8 -0
- package/models/components/trackingcategory.js.map +1 -1
- package/models/components/updatebankaccountresponse.d.ts +61 -0
- package/models/components/updatebankaccountresponse.d.ts.map +1 -0
- package/models/components/updatebankaccountresponse.js +89 -0
- package/models/components/updatebankaccountresponse.js.map +1 -0
- package/models/components/updateconsentrequest.d.ts +133 -0
- package/models/components/updateconsentrequest.d.ts.map +1 -0
- package/models/components/updateconsentrequest.js +158 -0
- package/models/components/updateconsentrequest.js.map +1 -0
- package/models/components/updateconsentresponse.d.ts +52 -0
- package/models/components/updateconsentresponse.d.ts.map +1 -0
- package/models/components/updateconsentresponse.js +87 -0
- package/models/components/updateconsentresponse.js.map +1 -0
- package/models/components/webhookeventtype.d.ts +6 -6
- package/models/components/webhookeventtype.js +2 -2
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/accountingbankaccountsadd.d.ts +118 -0
- package/models/operations/accountingbankaccountsadd.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsadd.js +163 -0
- package/models/operations/accountingbankaccountsadd.js.map +1 -0
- package/models/operations/accountingbankaccountsall.d.ts +150 -0
- package/models/operations/accountingbankaccountsall.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsall.js +173 -0
- package/models/operations/accountingbankaccountsall.js.map +1 -0
- package/models/operations/accountingbankaccountsdelete.d.ts +121 -0
- package/models/operations/accountingbankaccountsdelete.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsdelete.js +155 -0
- package/models/operations/accountingbankaccountsdelete.js.map +1 -0
- package/models/operations/accountingbankaccountsone.d.ts +126 -0
- package/models/operations/accountingbankaccountsone.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsone.js +157 -0
- package/models/operations/accountingbankaccountsone.js.map +1 -0
- package/models/operations/accountingbankaccountsupdate.d.ts +123 -0
- package/models/operations/accountingbankaccountsupdate.d.ts.map +1 -0
- package/models/operations/accountingbankaccountsupdate.js +165 -0
- package/models/operations/accountingbankaccountsupdate.js.map +1 -0
- package/models/operations/accountingexpensesall.d.ts +5 -0
- package/models/operations/accountingexpensesall.d.ts.map +1 -1
- package/models/operations/accountingexpensesall.js +2 -0
- package/models/operations/accountingexpensesall.js.map +1 -1
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/vaultconnectionconsentsall.d.ts +116 -0
- package/models/operations/vaultconnectionconsentsall.d.ts.map +1 -0
- package/models/operations/vaultconnectionconsentsall.js +163 -0
- package/models/operations/vaultconnectionconsentsall.js.map +1 -0
- package/models/operations/vaultconnectionconsentupdate.d.ts +121 -0
- package/models/operations/vaultconnectionconsentupdate.d.ts.map +1 -0
- package/models/operations/vaultconnectionconsentupdate.js +167 -0
- package/models/operations/vaultconnectionconsentupdate.js.map +1 -0
- 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/bankaccounts.d.ts +43 -0
- package/sdk/bankaccounts.d.ts.map +1 -0
- package/sdk/bankaccounts.js +63 -0
- package/sdk/bankaccounts.js.map +1 -0
- package/sdk/connectionconsent.d.ts +12 -0
- package/sdk/connectionconsent.d.ts.map +1 -0
- package/sdk/connectionconsent.js +22 -0
- package/sdk/connectionconsent.js.map +1 -0
- package/sdk/connectionconsents.d.ts +12 -0
- package/sdk/connectionconsents.d.ts.map +1 -0
- package/sdk/connectionconsents.js +22 -0
- package/sdk/connectionconsents.js.map +1 -0
- package/sdk/vault.d.ts +6 -0
- package/sdk/vault.d.ts.map +1 -1
- package/sdk/vault.js +8 -0
- package/sdk/vault.js.map +1 -1
- package/src/__tests__/bankaccounts.test.ts +293 -0
- package/src/__tests__/connectionconsent.test.ts +89 -0
- package/src/__tests__/connectionconsents.test.ts +31 -0
- package/src/funcs/accountingAttachmentsList.ts +3 -0
- package/src/funcs/accountingBankAccountsCreate.ts +225 -0
- package/src/funcs/accountingBankAccountsDelete.ts +231 -0
- package/src/funcs/accountingBankAccountsGet.ts +230 -0
- package/src/funcs/accountingBankAccountsList.ts +303 -0
- package/src/funcs/accountingBankAccountsUpdate.ts +234 -0
- package/src/funcs/accountingBankFeedAccountsList.ts +3 -0
- package/src/funcs/accountingBankFeedStatementsList.ts +3 -0
- package/src/funcs/accountingBillPaymentsList.ts +3 -0
- package/src/funcs/accountingBillsList.ts +3 -0
- package/src/funcs/accountingCategoriesList.ts +3 -0
- package/src/funcs/accountingCreditNotesList.ts +3 -0
- package/src/funcs/accountingCustomersList.ts +3 -0
- package/src/funcs/accountingDepartmentsList.ts +3 -0
- package/src/funcs/accountingExpensesList.ts +19 -6
- package/src/funcs/accountingInvoiceItemsList.ts +3 -0
- package/src/funcs/accountingInvoicesList.ts +3 -0
- package/src/funcs/accountingJournalEntriesList.ts +3 -0
- package/src/funcs/accountingLedgerAccountsList.ts +3 -0
- package/src/funcs/accountingLocationsList.ts +3 -0
- package/src/funcs/accountingPaymentsList.ts +3 -0
- package/src/funcs/accountingPurchaseOrdersList.ts +3 -0
- package/src/funcs/accountingQuotesList.ts +3 -0
- package/src/funcs/accountingSubsidiariesList.ts +3 -0
- package/src/funcs/accountingSuppliersList.ts +3 -0
- package/src/funcs/accountingTaxRatesList.ts +3 -0
- package/src/funcs/accountingTrackingCategoriesList.ts +3 -0
- package/src/funcs/atsApplicantsList.ts +3 -0
- package/src/funcs/atsApplicationsList.ts +3 -0
- package/src/funcs/atsJobsList.ts +3 -0
- package/src/funcs/connectorApisList.ts +3 -0
- package/src/funcs/connectorConnectorsList.ts +3 -0
- package/src/funcs/crmActivitiesList.ts +3 -0
- package/src/funcs/crmCompaniesList.ts +3 -0
- package/src/funcs/crmContactsList.ts +3 -0
- package/src/funcs/crmCustomObjectSchemasList.ts +3 -0
- package/src/funcs/crmCustomObjectsList.ts +3 -0
- package/src/funcs/crmLeadsList.ts +3 -0
- package/src/funcs/crmNotesList.ts +3 -0
- package/src/funcs/crmOpportunitiesList.ts +3 -0
- package/src/funcs/crmPipelinesList.ts +3 -0
- package/src/funcs/crmUsersList.ts +3 -0
- package/src/funcs/ecommerceCustomersList.ts +3 -0
- package/src/funcs/ecommerceOrdersList.ts +3 -0
- package/src/funcs/ecommerceProductsList.ts +3 -0
- package/src/funcs/fileStorageDriveGroupsList.ts +3 -0
- package/src/funcs/fileStorageDrivesList.ts +3 -0
- package/src/funcs/fileStorageFilesList.ts +3 -0
- package/src/funcs/fileStorageSharedLinksList.ts +3 -0
- package/src/funcs/hrisCompaniesList.ts +3 -0
- package/src/funcs/hrisDepartmentsList.ts +3 -0
- package/src/funcs/hrisEmployeesList.ts +3 -0
- package/src/funcs/hrisTimeOffRequestsList.ts +3 -0
- package/src/funcs/issueTrackingCollectionTagsList.ts +3 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +3 -0
- package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +3 -0
- package/src/funcs/issueTrackingCollectionTicketsList.ts +3 -0
- package/src/funcs/issueTrackingCollectionUsersList.ts +3 -0
- package/src/funcs/issueTrackingCollectionsList.ts +3 -0
- package/src/funcs/smsMessagesList.ts +3 -0
- package/src/funcs/vaultConnectionConsentUpdate.ts +230 -0
- package/src/funcs/vaultConnectionConsentsList.ts +225 -0
- package/src/funcs/vaultConsumersList.ts +3 -0
- package/src/funcs/vaultLogsList.ts +3 -0
- package/src/funcs/webhookEventLogsList.ts +3 -0
- package/src/funcs/webhookWebhooksList.ts +3 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/accountingbankaccount.ts +576 -0
- package/src/models/components/bankaccountsfilter.ts +113 -0
- package/src/models/components/bankaccountssort.ts +113 -0
- package/src/models/components/companyinfo.ts +44 -0
- package/src/models/components/connection.ts +78 -0
- package/src/models/components/consentrecord.ts +101 -0
- package/src/models/components/consentrecordinput.ts +82 -0
- package/src/models/components/consentstate.ts +41 -0
- package/src/models/components/createbankaccountresponse.ts +122 -0
- package/src/models/components/datascopes.ts +94 -0
- package/src/models/components/datascopesinput.ts +80 -0
- package/src/models/components/datascopesresources.ts +172 -0
- package/src/models/components/deletebankaccountresponse.ts +122 -0
- package/src/models/components/expense.ts +47 -0
- package/src/models/components/expensesfilter.ts +111 -0
- package/src/models/components/formfield.ts +1 -0
- package/src/models/components/getbankaccountresponse.ts +119 -0
- package/src/models/components/getbankaccountsresponse.ts +145 -0
- package/src/models/components/getconsentrecordsresponse.ts +107 -0
- package/src/models/components/index.ts +18 -0
- package/src/models/components/journalentriesfilter.ts +40 -0
- package/src/models/components/logsfilter.ts +12 -0
- package/src/models/components/trackingcategory.ts +18 -0
- package/src/models/components/updatebankaccountresponse.ts +122 -0
- package/src/models/components/updateconsentrequest.ts +229 -0
- package/src/models/components/updateconsentresponse.ts +107 -0
- package/src/models/components/webhookeventtype.ts +2 -2
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/accountingbankaccountsadd.ts +271 -0
- package/src/models/operations/accountingbankaccountsall.ts +309 -0
- package/src/models/operations/accountingbankaccountsdelete.ts +274 -0
- package/src/models/operations/accountingbankaccountsone.ts +273 -0
- package/src/models/operations/accountingbankaccountsupdate.ts +286 -0
- package/src/models/operations/accountingexpensesall.ts +7 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/vaultconnectionconsentsall.ts +272 -0
- package/src/models/operations/vaultconnectionconsentupdate.ts +284 -0
- package/src/sdk/accounting.ts +6 -0
- package/src/sdk/bankaccounts.ts +105 -0
- package/src/sdk/connectionconsent.ts +27 -0
- package/src/sdk/connectionconsents.ts +27 -0
- package/src/sdk/vault.ts +12 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type VaultConnectionConsentUpdateGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* ID of the consumer which you want to get or push data from
|
|
15
|
+
*/
|
|
16
|
+
consumerId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of your Unify application
|
|
19
|
+
*/
|
|
20
|
+
appId?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type VaultConnectionConsentUpdateRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* ID of the consumer which you want to get or push data from
|
|
26
|
+
*/
|
|
27
|
+
consumerId?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of your Unify application
|
|
30
|
+
*/
|
|
31
|
+
appId?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Service ID of the resource to return
|
|
34
|
+
*/
|
|
35
|
+
serviceId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Unified API
|
|
38
|
+
*/
|
|
39
|
+
unifiedApi: string;
|
|
40
|
+
/**
|
|
41
|
+
* New consent state
|
|
42
|
+
*/
|
|
43
|
+
updateConsentRequest: components.UpdateConsentRequest;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type VaultConnectionConsentUpdateResponse = {
|
|
47
|
+
httpMeta: components.HTTPMetadata;
|
|
48
|
+
/**
|
|
49
|
+
* Consent updated
|
|
50
|
+
*/
|
|
51
|
+
updateConsentResponse?: components.UpdateConsentResponse | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Unexpected error
|
|
54
|
+
*/
|
|
55
|
+
unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const VaultConnectionConsentUpdateGlobals$inboundSchema: z.ZodType<
|
|
60
|
+
VaultConnectionConsentUpdateGlobals,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
unknown
|
|
63
|
+
> = z.object({
|
|
64
|
+
consumerId: z.string().optional(),
|
|
65
|
+
appId: z.string().optional(),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type VaultConnectionConsentUpdateGlobals$Outbound = {
|
|
70
|
+
consumerId?: string | undefined;
|
|
71
|
+
appId?: string | undefined;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const VaultConnectionConsentUpdateGlobals$outboundSchema: z.ZodType<
|
|
76
|
+
VaultConnectionConsentUpdateGlobals$Outbound,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
VaultConnectionConsentUpdateGlobals
|
|
79
|
+
> = z.object({
|
|
80
|
+
consumerId: z.string().optional(),
|
|
81
|
+
appId: z.string().optional(),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
export namespace VaultConnectionConsentUpdateGlobals$ {
|
|
89
|
+
/** @deprecated use `VaultConnectionConsentUpdateGlobals$inboundSchema` instead. */
|
|
90
|
+
export const inboundSchema =
|
|
91
|
+
VaultConnectionConsentUpdateGlobals$inboundSchema;
|
|
92
|
+
/** @deprecated use `VaultConnectionConsentUpdateGlobals$outboundSchema` instead. */
|
|
93
|
+
export const outboundSchema =
|
|
94
|
+
VaultConnectionConsentUpdateGlobals$outboundSchema;
|
|
95
|
+
/** @deprecated use `VaultConnectionConsentUpdateGlobals$Outbound` instead. */
|
|
96
|
+
export type Outbound = VaultConnectionConsentUpdateGlobals$Outbound;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function vaultConnectionConsentUpdateGlobalsToJSON(
|
|
100
|
+
vaultConnectionConsentUpdateGlobals: VaultConnectionConsentUpdateGlobals,
|
|
101
|
+
): string {
|
|
102
|
+
return JSON.stringify(
|
|
103
|
+
VaultConnectionConsentUpdateGlobals$outboundSchema.parse(
|
|
104
|
+
vaultConnectionConsentUpdateGlobals,
|
|
105
|
+
),
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function vaultConnectionConsentUpdateGlobalsFromJSON(
|
|
110
|
+
jsonString: string,
|
|
111
|
+
): SafeParseResult<VaultConnectionConsentUpdateGlobals, SDKValidationError> {
|
|
112
|
+
return safeParse(
|
|
113
|
+
jsonString,
|
|
114
|
+
(x) =>
|
|
115
|
+
VaultConnectionConsentUpdateGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
116
|
+
`Failed to parse 'VaultConnectionConsentUpdateGlobals' from JSON`,
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/** @internal */
|
|
121
|
+
export const VaultConnectionConsentUpdateRequest$inboundSchema: z.ZodType<
|
|
122
|
+
VaultConnectionConsentUpdateRequest,
|
|
123
|
+
z.ZodTypeDef,
|
|
124
|
+
unknown
|
|
125
|
+
> = z.object({
|
|
126
|
+
consumerId: z.string().optional(),
|
|
127
|
+
appId: z.string().optional(),
|
|
128
|
+
service_id: z.string(),
|
|
129
|
+
unified_api: z.string(),
|
|
130
|
+
UpdateConsentRequest: components.UpdateConsentRequest$inboundSchema,
|
|
131
|
+
}).transform((v) => {
|
|
132
|
+
return remap$(v, {
|
|
133
|
+
"service_id": "serviceId",
|
|
134
|
+
"unified_api": "unifiedApi",
|
|
135
|
+
"UpdateConsentRequest": "updateConsentRequest",
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
/** @internal */
|
|
140
|
+
export type VaultConnectionConsentUpdateRequest$Outbound = {
|
|
141
|
+
consumerId?: string | undefined;
|
|
142
|
+
appId?: string | undefined;
|
|
143
|
+
service_id: string;
|
|
144
|
+
unified_api: string;
|
|
145
|
+
UpdateConsentRequest: components.UpdateConsentRequest$Outbound;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const VaultConnectionConsentUpdateRequest$outboundSchema: z.ZodType<
|
|
150
|
+
VaultConnectionConsentUpdateRequest$Outbound,
|
|
151
|
+
z.ZodTypeDef,
|
|
152
|
+
VaultConnectionConsentUpdateRequest
|
|
153
|
+
> = z.object({
|
|
154
|
+
consumerId: z.string().optional(),
|
|
155
|
+
appId: z.string().optional(),
|
|
156
|
+
serviceId: z.string(),
|
|
157
|
+
unifiedApi: z.string(),
|
|
158
|
+
updateConsentRequest: components.UpdateConsentRequest$outboundSchema,
|
|
159
|
+
}).transform((v) => {
|
|
160
|
+
return remap$(v, {
|
|
161
|
+
serviceId: "service_id",
|
|
162
|
+
unifiedApi: "unified_api",
|
|
163
|
+
updateConsentRequest: "UpdateConsentRequest",
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
170
|
+
*/
|
|
171
|
+
export namespace VaultConnectionConsentUpdateRequest$ {
|
|
172
|
+
/** @deprecated use `VaultConnectionConsentUpdateRequest$inboundSchema` instead. */
|
|
173
|
+
export const inboundSchema =
|
|
174
|
+
VaultConnectionConsentUpdateRequest$inboundSchema;
|
|
175
|
+
/** @deprecated use `VaultConnectionConsentUpdateRequest$outboundSchema` instead. */
|
|
176
|
+
export const outboundSchema =
|
|
177
|
+
VaultConnectionConsentUpdateRequest$outboundSchema;
|
|
178
|
+
/** @deprecated use `VaultConnectionConsentUpdateRequest$Outbound` instead. */
|
|
179
|
+
export type Outbound = VaultConnectionConsentUpdateRequest$Outbound;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export function vaultConnectionConsentUpdateRequestToJSON(
|
|
183
|
+
vaultConnectionConsentUpdateRequest: VaultConnectionConsentUpdateRequest,
|
|
184
|
+
): string {
|
|
185
|
+
return JSON.stringify(
|
|
186
|
+
VaultConnectionConsentUpdateRequest$outboundSchema.parse(
|
|
187
|
+
vaultConnectionConsentUpdateRequest,
|
|
188
|
+
),
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export function vaultConnectionConsentUpdateRequestFromJSON(
|
|
193
|
+
jsonString: string,
|
|
194
|
+
): SafeParseResult<VaultConnectionConsentUpdateRequest, SDKValidationError> {
|
|
195
|
+
return safeParse(
|
|
196
|
+
jsonString,
|
|
197
|
+
(x) =>
|
|
198
|
+
VaultConnectionConsentUpdateRequest$inboundSchema.parse(JSON.parse(x)),
|
|
199
|
+
`Failed to parse 'VaultConnectionConsentUpdateRequest' from JSON`,
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/** @internal */
|
|
204
|
+
export const VaultConnectionConsentUpdateResponse$inboundSchema: z.ZodType<
|
|
205
|
+
VaultConnectionConsentUpdateResponse,
|
|
206
|
+
z.ZodTypeDef,
|
|
207
|
+
unknown
|
|
208
|
+
> = z.object({
|
|
209
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
210
|
+
UpdateConsentResponse: components.UpdateConsentResponse$inboundSchema
|
|
211
|
+
.optional(),
|
|
212
|
+
UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
|
|
213
|
+
.optional(),
|
|
214
|
+
}).transform((v) => {
|
|
215
|
+
return remap$(v, {
|
|
216
|
+
"HttpMeta": "httpMeta",
|
|
217
|
+
"UpdateConsentResponse": "updateConsentResponse",
|
|
218
|
+
"UnexpectedErrorResponse": "unexpectedErrorResponse",
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
/** @internal */
|
|
223
|
+
export type VaultConnectionConsentUpdateResponse$Outbound = {
|
|
224
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
225
|
+
UpdateConsentResponse?: components.UpdateConsentResponse$Outbound | undefined;
|
|
226
|
+
UnexpectedErrorResponse?:
|
|
227
|
+
| components.UnexpectedErrorResponse$Outbound
|
|
228
|
+
| undefined;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/** @internal */
|
|
232
|
+
export const VaultConnectionConsentUpdateResponse$outboundSchema: z.ZodType<
|
|
233
|
+
VaultConnectionConsentUpdateResponse$Outbound,
|
|
234
|
+
z.ZodTypeDef,
|
|
235
|
+
VaultConnectionConsentUpdateResponse
|
|
236
|
+
> = z.object({
|
|
237
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
238
|
+
updateConsentResponse: components.UpdateConsentResponse$outboundSchema
|
|
239
|
+
.optional(),
|
|
240
|
+
unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
|
|
241
|
+
.optional(),
|
|
242
|
+
}).transform((v) => {
|
|
243
|
+
return remap$(v, {
|
|
244
|
+
httpMeta: "HttpMeta",
|
|
245
|
+
updateConsentResponse: "UpdateConsentResponse",
|
|
246
|
+
unexpectedErrorResponse: "UnexpectedErrorResponse",
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @internal
|
|
252
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
253
|
+
*/
|
|
254
|
+
export namespace VaultConnectionConsentUpdateResponse$ {
|
|
255
|
+
/** @deprecated use `VaultConnectionConsentUpdateResponse$inboundSchema` instead. */
|
|
256
|
+
export const inboundSchema =
|
|
257
|
+
VaultConnectionConsentUpdateResponse$inboundSchema;
|
|
258
|
+
/** @deprecated use `VaultConnectionConsentUpdateResponse$outboundSchema` instead. */
|
|
259
|
+
export const outboundSchema =
|
|
260
|
+
VaultConnectionConsentUpdateResponse$outboundSchema;
|
|
261
|
+
/** @deprecated use `VaultConnectionConsentUpdateResponse$Outbound` instead. */
|
|
262
|
+
export type Outbound = VaultConnectionConsentUpdateResponse$Outbound;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export function vaultConnectionConsentUpdateResponseToJSON(
|
|
266
|
+
vaultConnectionConsentUpdateResponse: VaultConnectionConsentUpdateResponse,
|
|
267
|
+
): string {
|
|
268
|
+
return JSON.stringify(
|
|
269
|
+
VaultConnectionConsentUpdateResponse$outboundSchema.parse(
|
|
270
|
+
vaultConnectionConsentUpdateResponse,
|
|
271
|
+
),
|
|
272
|
+
);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export function vaultConnectionConsentUpdateResponseFromJSON(
|
|
276
|
+
jsonString: string,
|
|
277
|
+
): SafeParseResult<VaultConnectionConsentUpdateResponse, SDKValidationError> {
|
|
278
|
+
return safeParse(
|
|
279
|
+
jsonString,
|
|
280
|
+
(x) =>
|
|
281
|
+
VaultConnectionConsentUpdateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
282
|
+
`Failed to parse 'VaultConnectionConsentUpdateResponse' from JSON`,
|
|
283
|
+
);
|
|
284
|
+
}
|
package/src/sdk/accounting.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { AgedCreditors } from "./agedcreditors.js";
|
|
|
7
7
|
import { AgedDebtors } from "./ageddebtors.js";
|
|
8
8
|
import { Attachments } from "./attachments.js";
|
|
9
9
|
import { BalanceSheet } from "./balancesheet.js";
|
|
10
|
+
import { BankAccounts } from "./bankaccounts.js";
|
|
10
11
|
import { BankFeedAccounts } from "./bankfeedaccounts.js";
|
|
11
12
|
import { BankFeedStatements } from "./bankfeedstatements.js";
|
|
12
13
|
import { BillPayments } from "./billpayments.js";
|
|
@@ -122,6 +123,11 @@ export class Accounting extends ClientSDK {
|
|
|
122
123
|
return (this._attachments ??= new Attachments(this._options));
|
|
123
124
|
}
|
|
124
125
|
|
|
126
|
+
private _bankAccounts?: BankAccounts;
|
|
127
|
+
get bankAccounts(): BankAccounts {
|
|
128
|
+
return (this._bankAccounts ??= new BankAccounts(this._options));
|
|
129
|
+
}
|
|
130
|
+
|
|
125
131
|
private _trackingCategories?: TrackingCategories;
|
|
126
132
|
get trackingCategories(): TrackingCategories {
|
|
127
133
|
return (this._trackingCategories ??= new TrackingCategories(this._options));
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { accountingBankAccountsCreate } from "../funcs/accountingBankAccountsCreate.js";
|
|
6
|
+
import { accountingBankAccountsDelete } from "../funcs/accountingBankAccountsDelete.js";
|
|
7
|
+
import { accountingBankAccountsGet } from "../funcs/accountingBankAccountsGet.js";
|
|
8
|
+
import { accountingBankAccountsList } from "../funcs/accountingBankAccountsList.js";
|
|
9
|
+
import { accountingBankAccountsUpdate } from "../funcs/accountingBankAccountsUpdate.js";
|
|
10
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as operations from "../models/operations/index.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
import { PageIterator, unwrapResultIterator } from "../types/operations.js";
|
|
14
|
+
|
|
15
|
+
export class BankAccounts extends ClientSDK {
|
|
16
|
+
/**
|
|
17
|
+
* List Bank Accounts
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* List Bank Accounts
|
|
21
|
+
*/
|
|
22
|
+
async list(
|
|
23
|
+
request: operations.AccountingBankAccountsAllRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<
|
|
26
|
+
PageIterator<
|
|
27
|
+
operations.AccountingBankAccountsAllResponse,
|
|
28
|
+
{ cursor: string }
|
|
29
|
+
>
|
|
30
|
+
> {
|
|
31
|
+
return unwrapResultIterator(accountingBankAccountsList(
|
|
32
|
+
this,
|
|
33
|
+
request,
|
|
34
|
+
options,
|
|
35
|
+
));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Create Bank Account
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Create Bank Account
|
|
43
|
+
*/
|
|
44
|
+
async create(
|
|
45
|
+
request: operations.AccountingBankAccountsAddRequest,
|
|
46
|
+
options?: RequestOptions,
|
|
47
|
+
): Promise<operations.AccountingBankAccountsAddResponse> {
|
|
48
|
+
return unwrapAsync(accountingBankAccountsCreate(
|
|
49
|
+
this,
|
|
50
|
+
request,
|
|
51
|
+
options,
|
|
52
|
+
));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Get Bank Account
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* Get Bank Account
|
|
60
|
+
*/
|
|
61
|
+
async get(
|
|
62
|
+
request: operations.AccountingBankAccountsOneRequest,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<operations.AccountingBankAccountsOneResponse> {
|
|
65
|
+
return unwrapAsync(accountingBankAccountsGet(
|
|
66
|
+
this,
|
|
67
|
+
request,
|
|
68
|
+
options,
|
|
69
|
+
));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Update Bank Account
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Update Bank Account
|
|
77
|
+
*/
|
|
78
|
+
async update(
|
|
79
|
+
request: operations.AccountingBankAccountsUpdateRequest,
|
|
80
|
+
options?: RequestOptions,
|
|
81
|
+
): Promise<operations.AccountingBankAccountsUpdateResponse> {
|
|
82
|
+
return unwrapAsync(accountingBankAccountsUpdate(
|
|
83
|
+
this,
|
|
84
|
+
request,
|
|
85
|
+
options,
|
|
86
|
+
));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Delete Bank Account
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* Delete Bank Account
|
|
94
|
+
*/
|
|
95
|
+
async delete(
|
|
96
|
+
request: operations.AccountingBankAccountsDeleteRequest,
|
|
97
|
+
options?: RequestOptions,
|
|
98
|
+
): Promise<operations.AccountingBankAccountsDeleteResponse> {
|
|
99
|
+
return unwrapAsync(accountingBankAccountsDelete(
|
|
100
|
+
this,
|
|
101
|
+
request,
|
|
102
|
+
options,
|
|
103
|
+
));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { vaultConnectionConsentUpdate } from "../funcs/vaultConnectionConsentUpdate.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class ConnectionConsent extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Update consent state
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Update the consent state of a connection
|
|
16
|
+
*/
|
|
17
|
+
async update(
|
|
18
|
+
request: operations.VaultConnectionConsentUpdateRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.VaultConnectionConsentUpdateResponse> {
|
|
21
|
+
return unwrapAsync(vaultConnectionConsentUpdate(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { vaultConnectionConsentsList } from "../funcs/vaultConnectionConsentsList.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class ConnectionConsents extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Get consent records
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Get all consent records for a connection
|
|
16
|
+
*/
|
|
17
|
+
async list(
|
|
18
|
+
request: operations.VaultConnectionConsentsAllRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<operations.VaultConnectionConsentsAllResponse> {
|
|
21
|
+
return unwrapAsync(vaultConnectionConsentsList(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
package/src/sdk/vault.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
|
+
import { ConnectionConsent } from "./connectionconsent.js";
|
|
7
|
+
import { ConnectionConsents } from "./connectionconsents.js";
|
|
6
8
|
import { ConnectionCustomMappings } from "./connectioncustommappings.js";
|
|
7
9
|
import { Connections } from "./connections.js";
|
|
8
10
|
import { ConnectionSettings } from "./connectionsettings.js";
|
|
@@ -38,6 +40,16 @@ export class Vault extends ClientSDK {
|
|
|
38
40
|
return (this._validateConnection ??= new ValidateConnection(this._options));
|
|
39
41
|
}
|
|
40
42
|
|
|
43
|
+
private _connectionConsents?: ConnectionConsents;
|
|
44
|
+
get connectionConsents(): ConnectionConsents {
|
|
45
|
+
return (this._connectionConsents ??= new ConnectionConsents(this._options));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
private _connectionConsent?: ConnectionConsent;
|
|
49
|
+
get connectionConsent(): ConnectionConsent {
|
|
50
|
+
return (this._connectionConsent ??= new ConnectionConsent(this._options));
|
|
51
|
+
}
|
|
52
|
+
|
|
41
53
|
private _createCallback?: CreateCallback;
|
|
42
54
|
get createCallback(): CreateCallback {
|
|
43
55
|
return (this._createCallback ??= new CreateCallback(this._options));
|