@unified-api/typescript-sdk 2.85.30 → 2.85.31
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 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedaccount.d.ts +15 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedaccount.js +125 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedaccount.js.map +1 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedtransaction.js +126 -0
- package/dist/commonjs/funcs/accountingCreateAccountingBankfeedtransaction.js.map +1 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedaccount.d.ts +15 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedaccount.js +126 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedaccount.js.map +1 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedtransaction.js +126 -0
- package/dist/commonjs/funcs/accountingGetAccountingBankfeedtransaction.js.map +1 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedaccounts.d.ts +15 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedaccounts.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedaccounts.js +131 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedaccounts.js.map +1 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedtransactions.d.ts +15 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedtransactions.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedtransactions.js +135 -0
- package/dist/commonjs/funcs/accountingListAccountingBankfeedtransactions.js.map +1 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedaccount.d.ts +15 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedaccount.js +129 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedaccount.js.map +1 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedtransaction.js +129 -0
- package/dist/commonjs/funcs/accountingPatchAccountingBankfeedtransaction.js.map +1 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedaccount.d.ts +14 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedaccount.js +125 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedaccount.js.map +1 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedtransaction.d.ts +14 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedtransaction.js +126 -0
- package/dist/commonjs/funcs/accountingRemoveAccountingBankfeedtransaction.js.map +1 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedaccount.d.ts +15 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedaccount.js +129 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedaccount.js.map +1 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedtransaction.js +130 -0
- package/dist/commonjs/funcs/accountingUpdateAccountingBankfeedtransaction.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/accounting.d.ts +48 -0
- package/dist/commonjs/sdk/accounting.d.ts.map +1 -1
- package/dist/commonjs/sdk/accounting.js +84 -0
- package/dist/commonjs/sdk/accounting.js.map +1 -1
- package/dist/commonjs/sdk/bankfeedaccount.d.ts +30 -0
- package/dist/commonjs/sdk/bankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/bankfeedaccount.js +54 -0
- package/dist/commonjs/sdk/bankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/bankfeedtransaction.d.ts +30 -0
- package/dist/commonjs/sdk/bankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/bankfeedtransaction.js +54 -0
- package/dist/commonjs/sdk/bankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedaccount.d.ts +50 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedaccount.js +80 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedtransaction.d.ts +53 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedtransaction.js +82 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedaccount.d.ts +52 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedaccount.js +79 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedtransaction.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedtransaction.js +81 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +12 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +12 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedaccounts.d.ts +72 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedaccounts.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedaccounts.js +88 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedaccounts.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedtransactions.d.ts +98 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedtransactions.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedtransactions.js +99 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbankfeedtransactions.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedaccount.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedaccount.js +82 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedtransaction.d.ts +58 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedtransaction.js +84 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedaccount.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedaccount.js +68 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedtransaction.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedtransaction.js +68 -0
- package/dist/commonjs/sdk/models/operations/removeaccountingbankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedaccount.d.ts +55 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedaccount.js +81 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedtransaction.d.ts +58 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedtransaction.js +83 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedaccount.d.ts +73 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedaccount.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedaccount.js +137 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedaccount.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedtransaction.d.ts +70 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedtransaction.js +137 -0
- package/dist/commonjs/sdk/models/shared/accountingbankfeedtransaction.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.d.ts +5 -5
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.js +6 -6
- package/dist/commonjs/sdk/models/shared/hrisbankaccount.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +2 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.js +26 -8
- package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +2 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/accountingCreateAccountingBankfeedaccount.d.ts +15 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedaccount.js +89 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedaccount.js.map +1 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedtransaction.js +90 -0
- package/dist/esm/funcs/accountingCreateAccountingBankfeedtransaction.js.map +1 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedaccount.d.ts +15 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedaccount.js +90 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedaccount.js.map +1 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedtransaction.js +90 -0
- package/dist/esm/funcs/accountingGetAccountingBankfeedtransaction.js.map +1 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedaccounts.d.ts +15 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedaccounts.d.ts.map +1 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedaccounts.js +95 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedaccounts.js.map +1 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedtransactions.d.ts +15 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedtransactions.d.ts.map +1 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedtransactions.js +99 -0
- package/dist/esm/funcs/accountingListAccountingBankfeedtransactions.js.map +1 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedaccount.d.ts +15 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedaccount.js +93 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedaccount.js.map +1 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedtransaction.js +93 -0
- package/dist/esm/funcs/accountingPatchAccountingBankfeedtransaction.js.map +1 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedaccount.d.ts +14 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedaccount.js +89 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedaccount.js.map +1 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedtransaction.d.ts +14 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedtransaction.js +90 -0
- package/dist/esm/funcs/accountingRemoveAccountingBankfeedtransaction.js.map +1 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedaccount.d.ts +15 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedaccount.d.ts.map +1 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedaccount.js +93 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedaccount.js.map +1 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedtransaction.d.ts +15 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedtransaction.js +94 -0
- package/dist/esm/funcs/accountingUpdateAccountingBankfeedtransaction.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/accounting.d.ts +48 -0
- package/dist/esm/sdk/accounting.d.ts.map +1 -1
- package/dist/esm/sdk/accounting.js +84 -0
- package/dist/esm/sdk/accounting.js.map +1 -1
- package/dist/esm/sdk/bankfeedaccount.d.ts +30 -0
- package/dist/esm/sdk/bankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/bankfeedaccount.js +50 -0
- package/dist/esm/sdk/bankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/bankfeedtransaction.d.ts +30 -0
- package/dist/esm/sdk/bankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/bankfeedtransaction.js +50 -0
- package/dist/esm/sdk/bankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedaccount.d.ts +50 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedaccount.js +43 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedtransaction.d.ts +53 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedtransaction.js +45 -0
- package/dist/esm/sdk/models/operations/createaccountingbankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedaccount.d.ts +52 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedaccount.js +42 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedtransaction.d.ts +55 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedtransaction.js +44 -0
- package/dist/esm/sdk/models/operations/getaccountingbankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +12 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +12 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingbankfeedaccounts.d.ts +72 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedaccounts.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedaccounts.js +51 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedaccounts.js.map +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedtransactions.d.ts +98 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedtransactions.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedtransactions.js +62 -0
- package/dist/esm/sdk/models/operations/listaccountingbankfeedtransactions.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedaccount.d.ts +55 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedaccount.js +45 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedtransaction.d.ts +58 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedtransaction.js +47 -0
- package/dist/esm/sdk/models/operations/patchaccountingbankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedaccount.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedaccount.js +30 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedtransaction.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedtransaction.js +30 -0
- package/dist/esm/sdk/models/operations/removeaccountingbankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedaccount.d.ts +55 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedaccount.js +44 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedtransaction.d.ts +58 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedtransaction.js +46 -0
- package/dist/esm/sdk/models/operations/updateaccountingbankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedaccount.d.ts +73 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedaccount.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedaccount.js +99 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedaccount.js.map +1 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedtransaction.d.ts +70 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedtransaction.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedtransaction.js +99 -0
- package/dist/esm/sdk/models/shared/accountingbankfeedtransaction.js.map +1 -0
- package/dist/esm/sdk/models/shared/hrisbankaccount.d.ts +5 -5
- package/dist/esm/sdk/models/shared/hrisbankaccount.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/hrisbankaccount.js +5 -5
- package/dist/esm/sdk/models/shared/hrisbankaccount.js.map +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +2 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +2 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts +18 -0
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js +18 -0
- package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +4 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +4 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +2 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accountingCreateAccountingBankfeedaccount.ts +178 -0
- package/src/funcs/accountingCreateAccountingBankfeedtransaction.ts +177 -0
- package/src/funcs/accountingGetAccountingBankfeedaccount.ts +179 -0
- package/src/funcs/accountingGetAccountingBankfeedtransaction.ts +179 -0
- package/src/funcs/accountingListAccountingBankfeedaccounts.ts +184 -0
- package/src/funcs/accountingListAccountingBankfeedtransactions.ts +188 -0
- package/src/funcs/accountingPatchAccountingBankfeedaccount.ts +182 -0
- package/src/funcs/accountingPatchAccountingBankfeedtransaction.ts +182 -0
- package/src/funcs/accountingRemoveAccountingBankfeedaccount.ts +186 -0
- package/src/funcs/accountingRemoveAccountingBankfeedtransaction.ts +185 -0
- package/src/funcs/accountingUpdateAccountingBankfeedaccount.ts +182 -0
- package/src/funcs/accountingUpdateAccountingBankfeedtransaction.ts +181 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/accounting.ts +182 -0
- package/src/sdk/bankfeedaccount.ts +100 -0
- package/src/sdk/bankfeedtransaction.ts +102 -0
- package/src/sdk/models/operations/createaccountingbankfeedaccount.ts +89 -0
- package/src/sdk/models/operations/createaccountingbankfeedtransaction.ts +96 -0
- package/src/sdk/models/operations/getaccountingbankfeedaccount.ts +88 -0
- package/src/sdk/models/operations/getaccountingbankfeedtransaction.ts +93 -0
- package/src/sdk/models/operations/index.ts +12 -0
- package/src/sdk/models/operations/listaccountingbankfeedaccounts.ts +117 -0
- package/src/sdk/models/operations/listaccountingbankfeedtransactions.ts +157 -0
- package/src/sdk/models/operations/patchaccountingbankfeedaccount.ts +93 -0
- package/src/sdk/models/operations/patchaccountingbankfeedtransaction.ts +102 -0
- package/src/sdk/models/operations/removeaccountingbankfeedaccount.ts +84 -0
- package/src/sdk/models/operations/removeaccountingbankfeedtransaction.ts +86 -0
- package/src/sdk/models/operations/updateaccountingbankfeedaccount.ts +95 -0
- package/src/sdk/models/operations/updateaccountingbankfeedtransaction.ts +102 -0
- package/src/sdk/models/shared/accountingbankfeedaccount.ts +187 -0
- package/src/sdk/models/shared/accountingbankfeedtransaction.ts +187 -0
- package/src/sdk/models/shared/hrisbankaccount.ts +13 -11
- package/src/sdk/models/shared/index.ts +2 -0
- package/src/sdk/models/shared/integrationsupport.ts +37 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +4 -0
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/sdk.ts +14 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { UnifiedToCore } from "../core.js";
|
|
6
|
+
import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../sdk/models/errors/httpclienterrors.js";
|
|
21
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
22
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
23
|
+
import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
|
|
24
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
25
|
+
import * as shared from "../sdk/models/shared/index.js";
|
|
26
|
+
import { APICall, APIPromise } from "../sdk/types/async.js";
|
|
27
|
+
import { Result } from "../sdk/types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Update a bankfeedaccount
|
|
31
|
+
*/
|
|
32
|
+
export function accountingUpdateAccountingBankfeedaccount(
|
|
33
|
+
client: UnifiedToCore,
|
|
34
|
+
request: operations.UpdateAccountingBankfeedaccountRequest,
|
|
35
|
+
options?: RequestOptions,
|
|
36
|
+
): APIPromise<
|
|
37
|
+
Result<
|
|
38
|
+
shared.AccountingBankfeedaccount,
|
|
39
|
+
| UnifiedToError
|
|
40
|
+
| ResponseValidationError
|
|
41
|
+
| ConnectionError
|
|
42
|
+
| RequestAbortedError
|
|
43
|
+
| RequestTimeoutError
|
|
44
|
+
| InvalidRequestError
|
|
45
|
+
| UnexpectedClientError
|
|
46
|
+
| SDKValidationError
|
|
47
|
+
>
|
|
48
|
+
> {
|
|
49
|
+
return new APIPromise($do(
|
|
50
|
+
client,
|
|
51
|
+
request,
|
|
52
|
+
options,
|
|
53
|
+
));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
async function $do(
|
|
57
|
+
client: UnifiedToCore,
|
|
58
|
+
request: operations.UpdateAccountingBankfeedaccountRequest,
|
|
59
|
+
options?: RequestOptions,
|
|
60
|
+
): Promise<
|
|
61
|
+
[
|
|
62
|
+
Result<
|
|
63
|
+
shared.AccountingBankfeedaccount,
|
|
64
|
+
| UnifiedToError
|
|
65
|
+
| ResponseValidationError
|
|
66
|
+
| ConnectionError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| InvalidRequestError
|
|
70
|
+
| UnexpectedClientError
|
|
71
|
+
| SDKValidationError
|
|
72
|
+
>,
|
|
73
|
+
APICall,
|
|
74
|
+
]
|
|
75
|
+
> {
|
|
76
|
+
const parsed = safeParse(
|
|
77
|
+
request,
|
|
78
|
+
(value) =>
|
|
79
|
+
operations.UpdateAccountingBankfeedaccountRequest$outboundSchema.parse(
|
|
80
|
+
value,
|
|
81
|
+
),
|
|
82
|
+
"Input validation failed",
|
|
83
|
+
);
|
|
84
|
+
if (!parsed.ok) {
|
|
85
|
+
return [parsed, { status: "invalid" }];
|
|
86
|
+
}
|
|
87
|
+
const payload = parsed.value;
|
|
88
|
+
const body = encodeJSON("body", payload.AccountingBankfeedaccount, {
|
|
89
|
+
explode: true,
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
const pathParams = {
|
|
93
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
94
|
+
explode: false,
|
|
95
|
+
charEncoding: "percent",
|
|
96
|
+
}),
|
|
97
|
+
id: encodeSimple("id", payload.id, {
|
|
98
|
+
explode: false,
|
|
99
|
+
charEncoding: "percent",
|
|
100
|
+
}),
|
|
101
|
+
};
|
|
102
|
+
const path = pathToFunc("/accounting/{connection_id}/bankfeedaccount/{id}")(
|
|
103
|
+
pathParams,
|
|
104
|
+
);
|
|
105
|
+
|
|
106
|
+
const query = encodeFormQuery({
|
|
107
|
+
"fields": payload.fields,
|
|
108
|
+
"raw": payload.raw,
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
const headers = new Headers(compactMap({
|
|
112
|
+
"Content-Type": "application/json",
|
|
113
|
+
Accept: "application/json",
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
117
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
118
|
+
|
|
119
|
+
const context = {
|
|
120
|
+
options: client._options,
|
|
121
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
122
|
+
operationID: "updateAccountingBankfeedaccount",
|
|
123
|
+
oAuth2Scopes: null,
|
|
124
|
+
|
|
125
|
+
resolvedSecurity: requestSecurity,
|
|
126
|
+
|
|
127
|
+
securitySource: client._options.security,
|
|
128
|
+
retryConfig: options?.retries
|
|
129
|
+
|| client._options.retryConfig
|
|
130
|
+
|| { strategy: "none" },
|
|
131
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
const requestRes = client._createRequest(context, {
|
|
135
|
+
security: requestSecurity,
|
|
136
|
+
method: "PUT",
|
|
137
|
+
baseURL: options?.serverURL,
|
|
138
|
+
path: path,
|
|
139
|
+
headers: headers,
|
|
140
|
+
query: query,
|
|
141
|
+
body: body,
|
|
142
|
+
userAgent: client._options.userAgent,
|
|
143
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
144
|
+
}, options);
|
|
145
|
+
if (!requestRes.ok) {
|
|
146
|
+
return [requestRes, { status: "invalid" }];
|
|
147
|
+
}
|
|
148
|
+
const req = requestRes.value;
|
|
149
|
+
|
|
150
|
+
const doResult = await client._do(req, {
|
|
151
|
+
context,
|
|
152
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
153
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
154
|
+
retryConfig: context.retryConfig,
|
|
155
|
+
retryCodes: context.retryCodes,
|
|
156
|
+
});
|
|
157
|
+
if (!doResult.ok) {
|
|
158
|
+
return [doResult, { status: "request-error", request: req }];
|
|
159
|
+
}
|
|
160
|
+
const response = doResult.value;
|
|
161
|
+
|
|
162
|
+
const [result] = await M.match<
|
|
163
|
+
shared.AccountingBankfeedaccount,
|
|
164
|
+
| UnifiedToError
|
|
165
|
+
| ResponseValidationError
|
|
166
|
+
| ConnectionError
|
|
167
|
+
| RequestAbortedError
|
|
168
|
+
| RequestTimeoutError
|
|
169
|
+
| InvalidRequestError
|
|
170
|
+
| UnexpectedClientError
|
|
171
|
+
| SDKValidationError
|
|
172
|
+
>(
|
|
173
|
+
M.json(200, shared.AccountingBankfeedaccount$inboundSchema),
|
|
174
|
+
M.fail("4XX"),
|
|
175
|
+
M.fail("5XX"),
|
|
176
|
+
)(response, req);
|
|
177
|
+
if (!result.ok) {
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
return [result, { status: "complete", request: req, response }];
|
|
182
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { UnifiedToCore } from "../core.js";
|
|
6
|
+
import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../sdk/models/errors/httpclienterrors.js";
|
|
21
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
22
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
23
|
+
import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
|
|
24
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
25
|
+
import * as shared from "../sdk/models/shared/index.js";
|
|
26
|
+
import { APICall, APIPromise } from "../sdk/types/async.js";
|
|
27
|
+
import { Result } from "../sdk/types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Update a bankfeedtransaction
|
|
31
|
+
*/
|
|
32
|
+
export function accountingUpdateAccountingBankfeedtransaction(
|
|
33
|
+
client: UnifiedToCore,
|
|
34
|
+
request: operations.UpdateAccountingBankfeedtransactionRequest,
|
|
35
|
+
options?: RequestOptions,
|
|
36
|
+
): APIPromise<
|
|
37
|
+
Result<
|
|
38
|
+
shared.AccountingBankfeedtransaction,
|
|
39
|
+
| UnifiedToError
|
|
40
|
+
| ResponseValidationError
|
|
41
|
+
| ConnectionError
|
|
42
|
+
| RequestAbortedError
|
|
43
|
+
| RequestTimeoutError
|
|
44
|
+
| InvalidRequestError
|
|
45
|
+
| UnexpectedClientError
|
|
46
|
+
| SDKValidationError
|
|
47
|
+
>
|
|
48
|
+
> {
|
|
49
|
+
return new APIPromise($do(
|
|
50
|
+
client,
|
|
51
|
+
request,
|
|
52
|
+
options,
|
|
53
|
+
));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
async function $do(
|
|
57
|
+
client: UnifiedToCore,
|
|
58
|
+
request: operations.UpdateAccountingBankfeedtransactionRequest,
|
|
59
|
+
options?: RequestOptions,
|
|
60
|
+
): Promise<
|
|
61
|
+
[
|
|
62
|
+
Result<
|
|
63
|
+
shared.AccountingBankfeedtransaction,
|
|
64
|
+
| UnifiedToError
|
|
65
|
+
| ResponseValidationError
|
|
66
|
+
| ConnectionError
|
|
67
|
+
| RequestAbortedError
|
|
68
|
+
| RequestTimeoutError
|
|
69
|
+
| InvalidRequestError
|
|
70
|
+
| UnexpectedClientError
|
|
71
|
+
| SDKValidationError
|
|
72
|
+
>,
|
|
73
|
+
APICall,
|
|
74
|
+
]
|
|
75
|
+
> {
|
|
76
|
+
const parsed = safeParse(
|
|
77
|
+
request,
|
|
78
|
+
(value) =>
|
|
79
|
+
operations.UpdateAccountingBankfeedtransactionRequest$outboundSchema
|
|
80
|
+
.parse(value),
|
|
81
|
+
"Input validation failed",
|
|
82
|
+
);
|
|
83
|
+
if (!parsed.ok) {
|
|
84
|
+
return [parsed, { status: "invalid" }];
|
|
85
|
+
}
|
|
86
|
+
const payload = parsed.value;
|
|
87
|
+
const body = encodeJSON("body", payload.AccountingBankfeedtransaction, {
|
|
88
|
+
explode: true,
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
const pathParams = {
|
|
92
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
93
|
+
explode: false,
|
|
94
|
+
charEncoding: "percent",
|
|
95
|
+
}),
|
|
96
|
+
id: encodeSimple("id", payload.id, {
|
|
97
|
+
explode: false,
|
|
98
|
+
charEncoding: "percent",
|
|
99
|
+
}),
|
|
100
|
+
};
|
|
101
|
+
const path = pathToFunc(
|
|
102
|
+
"/accounting/{connection_id}/bankfeedtransaction/{id}",
|
|
103
|
+
)(pathParams);
|
|
104
|
+
|
|
105
|
+
const query = encodeFormQuery({
|
|
106
|
+
"fields": payload.fields,
|
|
107
|
+
"raw": payload.raw,
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
const headers = new Headers(compactMap({
|
|
111
|
+
"Content-Type": "application/json",
|
|
112
|
+
Accept: "application/json",
|
|
113
|
+
}));
|
|
114
|
+
|
|
115
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
116
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
117
|
+
|
|
118
|
+
const context = {
|
|
119
|
+
options: client._options,
|
|
120
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
121
|
+
operationID: "updateAccountingBankfeedtransaction",
|
|
122
|
+
oAuth2Scopes: null,
|
|
123
|
+
|
|
124
|
+
resolvedSecurity: requestSecurity,
|
|
125
|
+
|
|
126
|
+
securitySource: client._options.security,
|
|
127
|
+
retryConfig: options?.retries
|
|
128
|
+
|| client._options.retryConfig
|
|
129
|
+
|| { strategy: "none" },
|
|
130
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
const requestRes = client._createRequest(context, {
|
|
134
|
+
security: requestSecurity,
|
|
135
|
+
method: "PUT",
|
|
136
|
+
baseURL: options?.serverURL,
|
|
137
|
+
path: path,
|
|
138
|
+
headers: headers,
|
|
139
|
+
query: query,
|
|
140
|
+
body: body,
|
|
141
|
+
userAgent: client._options.userAgent,
|
|
142
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
143
|
+
}, options);
|
|
144
|
+
if (!requestRes.ok) {
|
|
145
|
+
return [requestRes, { status: "invalid" }];
|
|
146
|
+
}
|
|
147
|
+
const req = requestRes.value;
|
|
148
|
+
|
|
149
|
+
const doResult = await client._do(req, {
|
|
150
|
+
context,
|
|
151
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
152
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
153
|
+
retryConfig: context.retryConfig,
|
|
154
|
+
retryCodes: context.retryCodes,
|
|
155
|
+
});
|
|
156
|
+
if (!doResult.ok) {
|
|
157
|
+
return [doResult, { status: "request-error", request: req }];
|
|
158
|
+
}
|
|
159
|
+
const response = doResult.value;
|
|
160
|
+
|
|
161
|
+
const [result] = await M.match<
|
|
162
|
+
shared.AccountingBankfeedtransaction,
|
|
163
|
+
| UnifiedToError
|
|
164
|
+
| ResponseValidationError
|
|
165
|
+
| ConnectionError
|
|
166
|
+
| RequestAbortedError
|
|
167
|
+
| RequestTimeoutError
|
|
168
|
+
| InvalidRequestError
|
|
169
|
+
| UnexpectedClientError
|
|
170
|
+
| SDKValidationError
|
|
171
|
+
>(
|
|
172
|
+
M.json(200, shared.AccountingBankfeedtransaction$inboundSchema),
|
|
173
|
+
M.fail("4XX"),
|
|
174
|
+
M.fail("5XX"),
|
|
175
|
+
)(response, req);
|
|
176
|
+
if (!result.ok) {
|
|
177
|
+
return [result, { status: "complete", request: req, response }];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return [result, { status: "complete", request: req, response }];
|
|
181
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "1.0",
|
|
76
|
-
sdkVersion: "2.85.
|
|
76
|
+
sdkVersion: "2.85.31",
|
|
77
77
|
genVersion: "2.928.0",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 2.85.
|
|
79
|
+
"speakeasy-sdk/typescript 2.85.31 2.928.0 1.0 @unified-api/typescript-sdk",
|
|
80
80
|
} as const;
|
package/src/sdk/accounting.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { accountingCreateAccountingAccount } from "../funcs/accountingCreateAccountingAccount.js";
|
|
6
|
+
import { accountingCreateAccountingBankfeedaccount } from "../funcs/accountingCreateAccountingBankfeedaccount.js";
|
|
7
|
+
import { accountingCreateAccountingBankfeedtransaction } from "../funcs/accountingCreateAccountingBankfeedtransaction.js";
|
|
6
8
|
import { accountingCreateAccountingBill } from "../funcs/accountingCreateAccountingBill.js";
|
|
7
9
|
import { accountingCreateAccountingCategory } from "../funcs/accountingCreateAccountingCategory.js";
|
|
8
10
|
import { accountingCreateAccountingContact } from "../funcs/accountingCreateAccountingContact.js";
|
|
@@ -22,6 +24,8 @@ import { accountingGetAccountingAccount } from "../funcs/accountingGetAccounting
|
|
|
22
24
|
import { accountingGetAccountingAgedpayable } from "../funcs/accountingGetAccountingAgedpayable.js";
|
|
23
25
|
import { accountingGetAccountingAgedreceivable } from "../funcs/accountingGetAccountingAgedreceivable.js";
|
|
24
26
|
import { accountingGetAccountingBalancesheet } from "../funcs/accountingGetAccountingBalancesheet.js";
|
|
27
|
+
import { accountingGetAccountingBankfeedaccount } from "../funcs/accountingGetAccountingBankfeedaccount.js";
|
|
28
|
+
import { accountingGetAccountingBankfeedtransaction } from "../funcs/accountingGetAccountingBankfeedtransaction.js";
|
|
25
29
|
import { accountingGetAccountingBill } from "../funcs/accountingGetAccountingBill.js";
|
|
26
30
|
import { accountingGetAccountingCashflow } from "../funcs/accountingGetAccountingCashflow.js";
|
|
27
31
|
import { accountingGetAccountingCategory } from "../funcs/accountingGetAccountingCategory.js";
|
|
@@ -46,6 +50,8 @@ import { accountingListAccountingAccounts } from "../funcs/accountingListAccount
|
|
|
46
50
|
import { accountingListAccountingAgedpayables } from "../funcs/accountingListAccountingAgedpayables.js";
|
|
47
51
|
import { accountingListAccountingAgedreceivables } from "../funcs/accountingListAccountingAgedreceivables.js";
|
|
48
52
|
import { accountingListAccountingBalancesheets } from "../funcs/accountingListAccountingBalancesheets.js";
|
|
53
|
+
import { accountingListAccountingBankfeedaccounts } from "../funcs/accountingListAccountingBankfeedaccounts.js";
|
|
54
|
+
import { accountingListAccountingBankfeedtransactions } from "../funcs/accountingListAccountingBankfeedtransactions.js";
|
|
49
55
|
import { accountingListAccountingBills } from "../funcs/accountingListAccountingBills.js";
|
|
50
56
|
import { accountingListAccountingCashflows } from "../funcs/accountingListAccountingCashflows.js";
|
|
51
57
|
import { accountingListAccountingCategories } from "../funcs/accountingListAccountingCategories.js";
|
|
@@ -67,6 +73,8 @@ import { accountingListAccountingTransactions } from "../funcs/accountingListAcc
|
|
|
67
73
|
import { accountingListAccountingTrialbalances } from "../funcs/accountingListAccountingTrialbalances.js";
|
|
68
74
|
import { accountingListAccountingVendorcredits } from "../funcs/accountingListAccountingVendorcredits.js";
|
|
69
75
|
import { accountingPatchAccountingAccount } from "../funcs/accountingPatchAccountingAccount.js";
|
|
76
|
+
import { accountingPatchAccountingBankfeedaccount } from "../funcs/accountingPatchAccountingBankfeedaccount.js";
|
|
77
|
+
import { accountingPatchAccountingBankfeedtransaction } from "../funcs/accountingPatchAccountingBankfeedtransaction.js";
|
|
70
78
|
import { accountingPatchAccountingBill } from "../funcs/accountingPatchAccountingBill.js";
|
|
71
79
|
import { accountingPatchAccountingCategory } from "../funcs/accountingPatchAccountingCategory.js";
|
|
72
80
|
import { accountingPatchAccountingContact } from "../funcs/accountingPatchAccountingContact.js";
|
|
@@ -83,6 +91,8 @@ import { accountingPatchAccountingTaxrate } from "../funcs/accountingPatchAccoun
|
|
|
83
91
|
import { accountingPatchAccountingTransaction } from "../funcs/accountingPatchAccountingTransaction.js";
|
|
84
92
|
import { accountingPatchAccountingVendorcredit } from "../funcs/accountingPatchAccountingVendorcredit.js";
|
|
85
93
|
import { accountingRemoveAccountingAccount } from "../funcs/accountingRemoveAccountingAccount.js";
|
|
94
|
+
import { accountingRemoveAccountingBankfeedaccount } from "../funcs/accountingRemoveAccountingBankfeedaccount.js";
|
|
95
|
+
import { accountingRemoveAccountingBankfeedtransaction } from "../funcs/accountingRemoveAccountingBankfeedtransaction.js";
|
|
86
96
|
import { accountingRemoveAccountingBill } from "../funcs/accountingRemoveAccountingBill.js";
|
|
87
97
|
import { accountingRemoveAccountingCategory } from "../funcs/accountingRemoveAccountingCategory.js";
|
|
88
98
|
import { accountingRemoveAccountingContact } from "../funcs/accountingRemoveAccountingContact.js";
|
|
@@ -99,6 +109,8 @@ import { accountingRemoveAccountingTaxrate } from "../funcs/accountingRemoveAcco
|
|
|
99
109
|
import { accountingRemoveAccountingTransaction } from "../funcs/accountingRemoveAccountingTransaction.js";
|
|
100
110
|
import { accountingRemoveAccountingVendorcredit } from "../funcs/accountingRemoveAccountingVendorcredit.js";
|
|
101
111
|
import { accountingUpdateAccountingAccount } from "../funcs/accountingUpdateAccountingAccount.js";
|
|
112
|
+
import { accountingUpdateAccountingBankfeedaccount } from "../funcs/accountingUpdateAccountingBankfeedaccount.js";
|
|
113
|
+
import { accountingUpdateAccountingBankfeedtransaction } from "../funcs/accountingUpdateAccountingBankfeedtransaction.js";
|
|
102
114
|
import { accountingUpdateAccountingBill } from "../funcs/accountingUpdateAccountingBill.js";
|
|
103
115
|
import { accountingUpdateAccountingCategory } from "../funcs/accountingUpdateAccountingCategory.js";
|
|
104
116
|
import { accountingUpdateAccountingContact } from "../funcs/accountingUpdateAccountingContact.js";
|
|
@@ -134,6 +146,34 @@ export class Accounting extends ClientSDK {
|
|
|
134
146
|
));
|
|
135
147
|
}
|
|
136
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Create a bankfeedaccount
|
|
151
|
+
*/
|
|
152
|
+
async createAccountingBankfeedaccount(
|
|
153
|
+
request: operations.CreateAccountingBankfeedaccountRequest,
|
|
154
|
+
options?: RequestOptions,
|
|
155
|
+
): Promise<shared.AccountingBankfeedaccount> {
|
|
156
|
+
return unwrapAsync(accountingCreateAccountingBankfeedaccount(
|
|
157
|
+
this,
|
|
158
|
+
request,
|
|
159
|
+
options,
|
|
160
|
+
));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Create a bankfeedtransaction
|
|
165
|
+
*/
|
|
166
|
+
async createAccountingBankfeedtransaction(
|
|
167
|
+
request: operations.CreateAccountingBankfeedtransactionRequest,
|
|
168
|
+
options?: RequestOptions,
|
|
169
|
+
): Promise<shared.AccountingBankfeedtransaction> {
|
|
170
|
+
return unwrapAsync(accountingCreateAccountingBankfeedtransaction(
|
|
171
|
+
this,
|
|
172
|
+
request,
|
|
173
|
+
options,
|
|
174
|
+
));
|
|
175
|
+
}
|
|
176
|
+
|
|
137
177
|
/**
|
|
138
178
|
* Create a bill
|
|
139
179
|
*/
|
|
@@ -400,6 +440,34 @@ export class Accounting extends ClientSDK {
|
|
|
400
440
|
));
|
|
401
441
|
}
|
|
402
442
|
|
|
443
|
+
/**
|
|
444
|
+
* Retrieve a bankfeedaccount
|
|
445
|
+
*/
|
|
446
|
+
async getAccountingBankfeedaccount(
|
|
447
|
+
request: operations.GetAccountingBankfeedaccountRequest,
|
|
448
|
+
options?: RequestOptions,
|
|
449
|
+
): Promise<shared.AccountingBankfeedaccount> {
|
|
450
|
+
return unwrapAsync(accountingGetAccountingBankfeedaccount(
|
|
451
|
+
this,
|
|
452
|
+
request,
|
|
453
|
+
options,
|
|
454
|
+
));
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Retrieve a bankfeedtransaction
|
|
459
|
+
*/
|
|
460
|
+
async getAccountingBankfeedtransaction(
|
|
461
|
+
request: operations.GetAccountingBankfeedtransactionRequest,
|
|
462
|
+
options?: RequestOptions,
|
|
463
|
+
): Promise<shared.AccountingBankfeedtransaction> {
|
|
464
|
+
return unwrapAsync(accountingGetAccountingBankfeedtransaction(
|
|
465
|
+
this,
|
|
466
|
+
request,
|
|
467
|
+
options,
|
|
468
|
+
));
|
|
469
|
+
}
|
|
470
|
+
|
|
403
471
|
/**
|
|
404
472
|
* Retrieve a bill
|
|
405
473
|
*/
|
|
@@ -736,6 +804,34 @@ export class Accounting extends ClientSDK {
|
|
|
736
804
|
));
|
|
737
805
|
}
|
|
738
806
|
|
|
807
|
+
/**
|
|
808
|
+
* List all bankfeedaccounts
|
|
809
|
+
*/
|
|
810
|
+
async listAccountingBankfeedaccounts(
|
|
811
|
+
request: operations.ListAccountingBankfeedaccountsRequest,
|
|
812
|
+
options?: RequestOptions,
|
|
813
|
+
): Promise<Array<shared.AccountingBankfeedaccount>> {
|
|
814
|
+
return unwrapAsync(accountingListAccountingBankfeedaccounts(
|
|
815
|
+
this,
|
|
816
|
+
request,
|
|
817
|
+
options,
|
|
818
|
+
));
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* List all bankfeedtransactions
|
|
823
|
+
*/
|
|
824
|
+
async listAccountingBankfeedtransactions(
|
|
825
|
+
request: operations.ListAccountingBankfeedtransactionsRequest,
|
|
826
|
+
options?: RequestOptions,
|
|
827
|
+
): Promise<Array<shared.AccountingBankfeedtransaction>> {
|
|
828
|
+
return unwrapAsync(accountingListAccountingBankfeedtransactions(
|
|
829
|
+
this,
|
|
830
|
+
request,
|
|
831
|
+
options,
|
|
832
|
+
));
|
|
833
|
+
}
|
|
834
|
+
|
|
739
835
|
/**
|
|
740
836
|
* List all bills
|
|
741
837
|
*/
|
|
@@ -1030,6 +1126,34 @@ export class Accounting extends ClientSDK {
|
|
|
1030
1126
|
));
|
|
1031
1127
|
}
|
|
1032
1128
|
|
|
1129
|
+
/**
|
|
1130
|
+
* Update a bankfeedaccount
|
|
1131
|
+
*/
|
|
1132
|
+
async patchAccountingBankfeedaccount(
|
|
1133
|
+
request: operations.PatchAccountingBankfeedaccountRequest,
|
|
1134
|
+
options?: RequestOptions,
|
|
1135
|
+
): Promise<shared.AccountingBankfeedaccount> {
|
|
1136
|
+
return unwrapAsync(accountingPatchAccountingBankfeedaccount(
|
|
1137
|
+
this,
|
|
1138
|
+
request,
|
|
1139
|
+
options,
|
|
1140
|
+
));
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Update a bankfeedtransaction
|
|
1145
|
+
*/
|
|
1146
|
+
async patchAccountingBankfeedtransaction(
|
|
1147
|
+
request: operations.PatchAccountingBankfeedtransactionRequest,
|
|
1148
|
+
options?: RequestOptions,
|
|
1149
|
+
): Promise<shared.AccountingBankfeedtransaction> {
|
|
1150
|
+
return unwrapAsync(accountingPatchAccountingBankfeedtransaction(
|
|
1151
|
+
this,
|
|
1152
|
+
request,
|
|
1153
|
+
options,
|
|
1154
|
+
));
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1033
1157
|
/**
|
|
1034
1158
|
* Update a bill
|
|
1035
1159
|
*/
|
|
@@ -1254,6 +1378,36 @@ export class Accounting extends ClientSDK {
|
|
|
1254
1378
|
));
|
|
1255
1379
|
}
|
|
1256
1380
|
|
|
1381
|
+
/**
|
|
1382
|
+
* Remove a bankfeedaccount
|
|
1383
|
+
*/
|
|
1384
|
+
async removeAccountingBankfeedaccount(
|
|
1385
|
+
request: operations.RemoveAccountingBankfeedaccountRequest,
|
|
1386
|
+
options?: RequestOptions,
|
|
1387
|
+
): Promise<operations.RemoveAccountingBankfeedaccountResponse | undefined> {
|
|
1388
|
+
return unwrapAsync(accountingRemoveAccountingBankfeedaccount(
|
|
1389
|
+
this,
|
|
1390
|
+
request,
|
|
1391
|
+
options,
|
|
1392
|
+
));
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Remove a bankfeedtransaction
|
|
1397
|
+
*/
|
|
1398
|
+
async removeAccountingBankfeedtransaction(
|
|
1399
|
+
request: operations.RemoveAccountingBankfeedtransactionRequest,
|
|
1400
|
+
options?: RequestOptions,
|
|
1401
|
+
): Promise<
|
|
1402
|
+
operations.RemoveAccountingBankfeedtransactionResponse | undefined
|
|
1403
|
+
> {
|
|
1404
|
+
return unwrapAsync(accountingRemoveAccountingBankfeedtransaction(
|
|
1405
|
+
this,
|
|
1406
|
+
request,
|
|
1407
|
+
options,
|
|
1408
|
+
));
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1257
1411
|
/**
|
|
1258
1412
|
* Remove a bill
|
|
1259
1413
|
*/
|
|
@@ -1478,6 +1632,34 @@ export class Accounting extends ClientSDK {
|
|
|
1478
1632
|
));
|
|
1479
1633
|
}
|
|
1480
1634
|
|
|
1635
|
+
/**
|
|
1636
|
+
* Update a bankfeedaccount
|
|
1637
|
+
*/
|
|
1638
|
+
async updateAccountingBankfeedaccount(
|
|
1639
|
+
request: operations.UpdateAccountingBankfeedaccountRequest,
|
|
1640
|
+
options?: RequestOptions,
|
|
1641
|
+
): Promise<shared.AccountingBankfeedaccount> {
|
|
1642
|
+
return unwrapAsync(accountingUpdateAccountingBankfeedaccount(
|
|
1643
|
+
this,
|
|
1644
|
+
request,
|
|
1645
|
+
options,
|
|
1646
|
+
));
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* Update a bankfeedtransaction
|
|
1651
|
+
*/
|
|
1652
|
+
async updateAccountingBankfeedtransaction(
|
|
1653
|
+
request: operations.UpdateAccountingBankfeedtransactionRequest,
|
|
1654
|
+
options?: RequestOptions,
|
|
1655
|
+
): Promise<shared.AccountingBankfeedtransaction> {
|
|
1656
|
+
return unwrapAsync(accountingUpdateAccountingBankfeedtransaction(
|
|
1657
|
+
this,
|
|
1658
|
+
request,
|
|
1659
|
+
options,
|
|
1660
|
+
));
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1481
1663
|
/**
|
|
1482
1664
|
* Update a bill
|
|
1483
1665
|
*/
|