@unified-api/typescript-sdk 2.85.30 → 2.85.32
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 +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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/adscreative.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/adscreative.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/adscreative.js +1 -0
- package/dist/commonjs/sdk/models/shared/adscreative.js.map +1 -1
- 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/propertyadsreportmetricscreative.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyadsreportmetricscreative.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyadsreportmetricscreative.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyadsreportmetricscreative.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 +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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/adscreative.d.ts +1 -0
- package/dist/esm/sdk/models/shared/adscreative.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/adscreative.js +1 -0
- package/dist/esm/sdk/models/shared/adscreative.js.map +1 -1
- 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/propertyadsreportmetricscreative.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyadsreportmetricscreative.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyadsreportmetricscreative.js +1 -0
- package/dist/esm/sdk/models/shared/propertyadsreportmetricscreative.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 +3 -3
- 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/adscreative.ts +1 -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/propertyadsreportmetricscreative.ts +1 -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,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const ListAccountingBankfeedaccountsQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
OrganizationId: "organization_id",
|
|
14
|
+
Name: "name",
|
|
15
|
+
BankName: "bank_name",
|
|
16
|
+
AccountNumber: "account_number",
|
|
17
|
+
AccountNumberLast4: "account_number_last4",
|
|
18
|
+
RoutingNumber: "routing_number",
|
|
19
|
+
AccountType: "account_type",
|
|
20
|
+
AccountId: "account_id",
|
|
21
|
+
Currency: "currency",
|
|
22
|
+
Balance: "balance",
|
|
23
|
+
FeedStartAt: "feed_start_at",
|
|
24
|
+
Status: "status",
|
|
25
|
+
Raw: "raw",
|
|
26
|
+
} as const;
|
|
27
|
+
export type ListAccountingBankfeedaccountsQueryParamFields = ClosedEnum<
|
|
28
|
+
typeof ListAccountingBankfeedaccountsQueryParamFields
|
|
29
|
+
>;
|
|
30
|
+
|
|
31
|
+
export type ListAccountingBankfeedaccountsRequest = {
|
|
32
|
+
/**
|
|
33
|
+
* ID of the connection
|
|
34
|
+
*/
|
|
35
|
+
connectionId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Fields to return
|
|
38
|
+
*/
|
|
39
|
+
fields?: Array<ListAccountingBankfeedaccountsQueryParamFields> | undefined;
|
|
40
|
+
limit?: number | undefined;
|
|
41
|
+
offset?: number | undefined;
|
|
42
|
+
order?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The org ID to filter by (reference to AccountingOrganization)
|
|
45
|
+
*/
|
|
46
|
+
orgId?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Query string to search. eg. email address or name
|
|
49
|
+
*/
|
|
50
|
+
query?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
53
|
+
*/
|
|
54
|
+
raw?: string | undefined;
|
|
55
|
+
sort?: string | undefined;
|
|
56
|
+
type?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
59
|
+
*/
|
|
60
|
+
updatedGte?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const ListAccountingBankfeedaccountsQueryParamFields$outboundSchema:
|
|
65
|
+
z.ZodNativeEnum<typeof ListAccountingBankfeedaccountsQueryParamFields> = z
|
|
66
|
+
.nativeEnum(ListAccountingBankfeedaccountsQueryParamFields);
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type ListAccountingBankfeedaccountsRequest$Outbound = {
|
|
70
|
+
connection_id: string;
|
|
71
|
+
fields?: Array<string> | undefined;
|
|
72
|
+
limit?: number | undefined;
|
|
73
|
+
offset?: number | undefined;
|
|
74
|
+
order?: string | undefined;
|
|
75
|
+
org_id?: string | undefined;
|
|
76
|
+
query?: string | undefined;
|
|
77
|
+
raw?: string | undefined;
|
|
78
|
+
sort?: string | undefined;
|
|
79
|
+
type?: string | undefined;
|
|
80
|
+
updated_gte?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const ListAccountingBankfeedaccountsRequest$outboundSchema: z.ZodType<
|
|
85
|
+
ListAccountingBankfeedaccountsRequest$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
ListAccountingBankfeedaccountsRequest
|
|
88
|
+
> = z.object({
|
|
89
|
+
connectionId: z.string(),
|
|
90
|
+
fields: z.array(ListAccountingBankfeedaccountsQueryParamFields$outboundSchema)
|
|
91
|
+
.optional(),
|
|
92
|
+
limit: z.number().optional(),
|
|
93
|
+
offset: z.number().optional(),
|
|
94
|
+
order: z.string().optional(),
|
|
95
|
+
orgId: z.string().optional(),
|
|
96
|
+
query: z.string().optional(),
|
|
97
|
+
raw: z.string().optional(),
|
|
98
|
+
sort: z.string().optional(),
|
|
99
|
+
type: z.string().optional(),
|
|
100
|
+
updatedGte: z.string().optional(),
|
|
101
|
+
}).transform((v) => {
|
|
102
|
+
return remap$(v, {
|
|
103
|
+
connectionId: "connection_id",
|
|
104
|
+
orgId: "org_id",
|
|
105
|
+
updatedGte: "updated_gte",
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
export function listAccountingBankfeedaccountsRequestToJSON(
|
|
110
|
+
listAccountingBankfeedaccountsRequest: ListAccountingBankfeedaccountsRequest,
|
|
111
|
+
): string {
|
|
112
|
+
return JSON.stringify(
|
|
113
|
+
ListAccountingBankfeedaccountsRequest$outboundSchema.parse(
|
|
114
|
+
listAccountingBankfeedaccountsRequest,
|
|
115
|
+
),
|
|
116
|
+
);
|
|
117
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const ListAccountingBankfeedtransactionsQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
OrganizationId: "organization_id",
|
|
14
|
+
BankfeedaccountId: "bankfeedaccount_id",
|
|
15
|
+
TransactionAt: "transaction_at",
|
|
16
|
+
PostedAt: "posted_at",
|
|
17
|
+
Amount: "amount",
|
|
18
|
+
Type: "type",
|
|
19
|
+
BankCategory: "bank_category",
|
|
20
|
+
Description: "description",
|
|
21
|
+
MerchantName: "merchant_name",
|
|
22
|
+
IsPending: "is_pending",
|
|
23
|
+
Reference: "reference",
|
|
24
|
+
Currency: "currency",
|
|
25
|
+
ContactId: "contact_id",
|
|
26
|
+
AccountId: "account_id",
|
|
27
|
+
CategoryIds: "category_ids",
|
|
28
|
+
Raw: "raw",
|
|
29
|
+
} as const;
|
|
30
|
+
export type ListAccountingBankfeedtransactionsQueryParamFields = ClosedEnum<
|
|
31
|
+
typeof ListAccountingBankfeedtransactionsQueryParamFields
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export type ListAccountingBankfeedtransactionsRequest = {
|
|
35
|
+
/**
|
|
36
|
+
* The account ID to filter by (reference to AccountingAccount)
|
|
37
|
+
*/
|
|
38
|
+
accountId?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The BankfeedAccount ID to filter by
|
|
41
|
+
*/
|
|
42
|
+
bankfeedaccountId?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* ID of the connection
|
|
45
|
+
*/
|
|
46
|
+
connectionId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The contact ID to filter by (reference to AccountingContact)
|
|
49
|
+
*/
|
|
50
|
+
contactId?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
53
|
+
*/
|
|
54
|
+
endLt?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Fields to return
|
|
57
|
+
*/
|
|
58
|
+
fields?:
|
|
59
|
+
| Array<ListAccountingBankfeedtransactionsQueryParamFields>
|
|
60
|
+
| undefined;
|
|
61
|
+
limit?: number | undefined;
|
|
62
|
+
offset?: number | undefined;
|
|
63
|
+
order?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* The org ID to filter by (reference to AccountingOrganization)
|
|
66
|
+
*/
|
|
67
|
+
orgId?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Query string to search. eg. email address or name
|
|
70
|
+
*/
|
|
71
|
+
query?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
74
|
+
*/
|
|
75
|
+
raw?: string | undefined;
|
|
76
|
+
sort?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
79
|
+
*/
|
|
80
|
+
startGte?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
83
|
+
*/
|
|
84
|
+
updatedGte?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const ListAccountingBankfeedtransactionsQueryParamFields$outboundSchema:
|
|
89
|
+
z.ZodNativeEnum<typeof ListAccountingBankfeedtransactionsQueryParamFields> = z
|
|
90
|
+
.nativeEnum(ListAccountingBankfeedtransactionsQueryParamFields);
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export type ListAccountingBankfeedtransactionsRequest$Outbound = {
|
|
94
|
+
account_id?: string | undefined;
|
|
95
|
+
bankfeedaccount_id?: string | undefined;
|
|
96
|
+
connection_id: string;
|
|
97
|
+
contact_id?: string | undefined;
|
|
98
|
+
end_lt?: string | undefined;
|
|
99
|
+
fields?: Array<string> | undefined;
|
|
100
|
+
limit?: number | undefined;
|
|
101
|
+
offset?: number | undefined;
|
|
102
|
+
order?: string | undefined;
|
|
103
|
+
org_id?: string | undefined;
|
|
104
|
+
query?: string | undefined;
|
|
105
|
+
raw?: string | undefined;
|
|
106
|
+
sort?: string | undefined;
|
|
107
|
+
start_gte?: string | undefined;
|
|
108
|
+
updated_gte?: string | undefined;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const ListAccountingBankfeedtransactionsRequest$outboundSchema:
|
|
113
|
+
z.ZodType<
|
|
114
|
+
ListAccountingBankfeedtransactionsRequest$Outbound,
|
|
115
|
+
z.ZodTypeDef,
|
|
116
|
+
ListAccountingBankfeedtransactionsRequest
|
|
117
|
+
> = z.object({
|
|
118
|
+
accountId: z.string().optional(),
|
|
119
|
+
bankfeedaccountId: z.string().optional(),
|
|
120
|
+
connectionId: z.string(),
|
|
121
|
+
contactId: z.string().optional(),
|
|
122
|
+
endLt: z.string().optional(),
|
|
123
|
+
fields: z.array(
|
|
124
|
+
ListAccountingBankfeedtransactionsQueryParamFields$outboundSchema,
|
|
125
|
+
).optional(),
|
|
126
|
+
limit: z.number().optional(),
|
|
127
|
+
offset: z.number().optional(),
|
|
128
|
+
order: z.string().optional(),
|
|
129
|
+
orgId: z.string().optional(),
|
|
130
|
+
query: z.string().optional(),
|
|
131
|
+
raw: z.string().optional(),
|
|
132
|
+
sort: z.string().optional(),
|
|
133
|
+
startGte: z.string().optional(),
|
|
134
|
+
updatedGte: z.string().optional(),
|
|
135
|
+
}).transform((v) => {
|
|
136
|
+
return remap$(v, {
|
|
137
|
+
accountId: "account_id",
|
|
138
|
+
bankfeedaccountId: "bankfeedaccount_id",
|
|
139
|
+
connectionId: "connection_id",
|
|
140
|
+
contactId: "contact_id",
|
|
141
|
+
endLt: "end_lt",
|
|
142
|
+
orgId: "org_id",
|
|
143
|
+
startGte: "start_gte",
|
|
144
|
+
updatedGte: "updated_gte",
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
export function listAccountingBankfeedtransactionsRequestToJSON(
|
|
149
|
+
listAccountingBankfeedtransactionsRequest:
|
|
150
|
+
ListAccountingBankfeedtransactionsRequest,
|
|
151
|
+
): string {
|
|
152
|
+
return JSON.stringify(
|
|
153
|
+
ListAccountingBankfeedtransactionsRequest$outboundSchema.parse(
|
|
154
|
+
listAccountingBankfeedtransactionsRequest,
|
|
155
|
+
),
|
|
156
|
+
);
|
|
157
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const PatchAccountingBankfeedaccountQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
OrganizationId: "organization_id",
|
|
15
|
+
Name: "name",
|
|
16
|
+
BankName: "bank_name",
|
|
17
|
+
AccountNumber: "account_number",
|
|
18
|
+
AccountNumberLast4: "account_number_last4",
|
|
19
|
+
RoutingNumber: "routing_number",
|
|
20
|
+
AccountType: "account_type",
|
|
21
|
+
AccountId: "account_id",
|
|
22
|
+
Currency: "currency",
|
|
23
|
+
Balance: "balance",
|
|
24
|
+
FeedStartAt: "feed_start_at",
|
|
25
|
+
Status: "status",
|
|
26
|
+
Raw: "raw",
|
|
27
|
+
} as const;
|
|
28
|
+
export type PatchAccountingBankfeedaccountQueryParamFields = ClosedEnum<
|
|
29
|
+
typeof PatchAccountingBankfeedaccountQueryParamFields
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
export type PatchAccountingBankfeedaccountRequest = {
|
|
33
|
+
accountingBankfeedaccount: shared.AccountingBankfeedaccount;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the connection
|
|
36
|
+
*/
|
|
37
|
+
connectionId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Fields to return
|
|
40
|
+
*/
|
|
41
|
+
fields?: Array<PatchAccountingBankfeedaccountQueryParamFields> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the Bankfeedaccount
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
48
|
+
*/
|
|
49
|
+
raw?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const PatchAccountingBankfeedaccountQueryParamFields$outboundSchema:
|
|
54
|
+
z.ZodNativeEnum<typeof PatchAccountingBankfeedaccountQueryParamFields> = z
|
|
55
|
+
.nativeEnum(PatchAccountingBankfeedaccountQueryParamFields);
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type PatchAccountingBankfeedaccountRequest$Outbound = {
|
|
59
|
+
AccountingBankfeedaccount: shared.AccountingBankfeedaccount$Outbound;
|
|
60
|
+
connection_id: string;
|
|
61
|
+
fields?: Array<string> | undefined;
|
|
62
|
+
id: string;
|
|
63
|
+
raw?: string | undefined;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const PatchAccountingBankfeedaccountRequest$outboundSchema: z.ZodType<
|
|
68
|
+
PatchAccountingBankfeedaccountRequest$Outbound,
|
|
69
|
+
z.ZodTypeDef,
|
|
70
|
+
PatchAccountingBankfeedaccountRequest
|
|
71
|
+
> = z.object({
|
|
72
|
+
accountingBankfeedaccount: shared.AccountingBankfeedaccount$outboundSchema,
|
|
73
|
+
connectionId: z.string(),
|
|
74
|
+
fields: z.array(PatchAccountingBankfeedaccountQueryParamFields$outboundSchema)
|
|
75
|
+
.optional(),
|
|
76
|
+
id: z.string(),
|
|
77
|
+
raw: z.string().optional(),
|
|
78
|
+
}).transform((v) => {
|
|
79
|
+
return remap$(v, {
|
|
80
|
+
accountingBankfeedaccount: "AccountingBankfeedaccount",
|
|
81
|
+
connectionId: "connection_id",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export function patchAccountingBankfeedaccountRequestToJSON(
|
|
86
|
+
patchAccountingBankfeedaccountRequest: PatchAccountingBankfeedaccountRequest,
|
|
87
|
+
): string {
|
|
88
|
+
return JSON.stringify(
|
|
89
|
+
PatchAccountingBankfeedaccountRequest$outboundSchema.parse(
|
|
90
|
+
patchAccountingBankfeedaccountRequest,
|
|
91
|
+
),
|
|
92
|
+
);
|
|
93
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const PatchAccountingBankfeedtransactionQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
OrganizationId: "organization_id",
|
|
15
|
+
BankfeedaccountId: "bankfeedaccount_id",
|
|
16
|
+
TransactionAt: "transaction_at",
|
|
17
|
+
PostedAt: "posted_at",
|
|
18
|
+
Amount: "amount",
|
|
19
|
+
Type: "type",
|
|
20
|
+
BankCategory: "bank_category",
|
|
21
|
+
Description: "description",
|
|
22
|
+
MerchantName: "merchant_name",
|
|
23
|
+
IsPending: "is_pending",
|
|
24
|
+
Reference: "reference",
|
|
25
|
+
Currency: "currency",
|
|
26
|
+
ContactId: "contact_id",
|
|
27
|
+
AccountId: "account_id",
|
|
28
|
+
CategoryIds: "category_ids",
|
|
29
|
+
Raw: "raw",
|
|
30
|
+
} as const;
|
|
31
|
+
export type PatchAccountingBankfeedtransactionQueryParamFields = ClosedEnum<
|
|
32
|
+
typeof PatchAccountingBankfeedtransactionQueryParamFields
|
|
33
|
+
>;
|
|
34
|
+
|
|
35
|
+
export type PatchAccountingBankfeedtransactionRequest = {
|
|
36
|
+
accountingBankfeedtransaction: shared.AccountingBankfeedtransaction;
|
|
37
|
+
/**
|
|
38
|
+
* ID of the connection
|
|
39
|
+
*/
|
|
40
|
+
connectionId: string;
|
|
41
|
+
/**
|
|
42
|
+
* Fields to return
|
|
43
|
+
*/
|
|
44
|
+
fields?:
|
|
45
|
+
| Array<PatchAccountingBankfeedtransactionQueryParamFields>
|
|
46
|
+
| undefined;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the Bankfeedtransaction
|
|
49
|
+
*/
|
|
50
|
+
id: string;
|
|
51
|
+
/**
|
|
52
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
53
|
+
*/
|
|
54
|
+
raw?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const PatchAccountingBankfeedtransactionQueryParamFields$outboundSchema:
|
|
59
|
+
z.ZodNativeEnum<typeof PatchAccountingBankfeedtransactionQueryParamFields> = z
|
|
60
|
+
.nativeEnum(PatchAccountingBankfeedtransactionQueryParamFields);
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type PatchAccountingBankfeedtransactionRequest$Outbound = {
|
|
64
|
+
AccountingBankfeedtransaction: shared.AccountingBankfeedtransaction$Outbound;
|
|
65
|
+
connection_id: string;
|
|
66
|
+
fields?: Array<string> | undefined;
|
|
67
|
+
id: string;
|
|
68
|
+
raw?: string | undefined;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const PatchAccountingBankfeedtransactionRequest$outboundSchema:
|
|
73
|
+
z.ZodType<
|
|
74
|
+
PatchAccountingBankfeedtransactionRequest$Outbound,
|
|
75
|
+
z.ZodTypeDef,
|
|
76
|
+
PatchAccountingBankfeedtransactionRequest
|
|
77
|
+
> = z.object({
|
|
78
|
+
accountingBankfeedtransaction:
|
|
79
|
+
shared.AccountingBankfeedtransaction$outboundSchema,
|
|
80
|
+
connectionId: z.string(),
|
|
81
|
+
fields: z.array(
|
|
82
|
+
PatchAccountingBankfeedtransactionQueryParamFields$outboundSchema,
|
|
83
|
+
).optional(),
|
|
84
|
+
id: z.string(),
|
|
85
|
+
raw: z.string().optional(),
|
|
86
|
+
}).transform((v) => {
|
|
87
|
+
return remap$(v, {
|
|
88
|
+
accountingBankfeedtransaction: "AccountingBankfeedtransaction",
|
|
89
|
+
connectionId: "connection_id",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
export function patchAccountingBankfeedtransactionRequestToJSON(
|
|
94
|
+
patchAccountingBankfeedtransactionRequest:
|
|
95
|
+
PatchAccountingBankfeedtransactionRequest,
|
|
96
|
+
): string {
|
|
97
|
+
return JSON.stringify(
|
|
98
|
+
PatchAccountingBankfeedtransactionRequest$outboundSchema.parse(
|
|
99
|
+
patchAccountingBankfeedtransactionRequest,
|
|
100
|
+
),
|
|
101
|
+
);
|
|
102
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemoveAccountingBankfeedaccountRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Bankfeedaccount
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemoveAccountingBankfeedaccountResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type RemoveAccountingBankfeedaccountRequest$Outbound = {
|
|
28
|
+
connection_id: string;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const RemoveAccountingBankfeedaccountRequest$outboundSchema: z.ZodType<
|
|
34
|
+
RemoveAccountingBankfeedaccountRequest$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
RemoveAccountingBankfeedaccountRequest
|
|
37
|
+
> = z.object({
|
|
38
|
+
connectionId: z.string(),
|
|
39
|
+
id: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
connectionId: "connection_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function removeAccountingBankfeedaccountRequestToJSON(
|
|
47
|
+
removeAccountingBankfeedaccountRequest:
|
|
48
|
+
RemoveAccountingBankfeedaccountRequest,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
RemoveAccountingBankfeedaccountRequest$outboundSchema.parse(
|
|
52
|
+
removeAccountingBankfeedaccountRequest,
|
|
53
|
+
),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const RemoveAccountingBankfeedaccountResponse$inboundSchema: z.ZodType<
|
|
59
|
+
RemoveAccountingBankfeedaccountResponse,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
unknown
|
|
62
|
+
> = z.object({
|
|
63
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
64
|
+
}).transform((v) => {
|
|
65
|
+
return remap$(v, {
|
|
66
|
+
"Headers": "headers",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
export function removeAccountingBankfeedaccountResponseFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<
|
|
73
|
+
RemoveAccountingBankfeedaccountResponse,
|
|
74
|
+
SDKValidationError
|
|
75
|
+
> {
|
|
76
|
+
return safeParse(
|
|
77
|
+
jsonString,
|
|
78
|
+
(x) =>
|
|
79
|
+
RemoveAccountingBankfeedaccountResponse$inboundSchema.parse(
|
|
80
|
+
JSON.parse(x),
|
|
81
|
+
),
|
|
82
|
+
`Failed to parse 'RemoveAccountingBankfeedaccountResponse' from JSON`,
|
|
83
|
+
);
|
|
84
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemoveAccountingBankfeedtransactionRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Bankfeedtransaction
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemoveAccountingBankfeedtransactionResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type RemoveAccountingBankfeedtransactionRequest$Outbound = {
|
|
28
|
+
connection_id: string;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const RemoveAccountingBankfeedtransactionRequest$outboundSchema:
|
|
34
|
+
z.ZodType<
|
|
35
|
+
RemoveAccountingBankfeedtransactionRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
RemoveAccountingBankfeedtransactionRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
connectionId: z.string(),
|
|
40
|
+
id: z.string(),
|
|
41
|
+
}).transform((v) => {
|
|
42
|
+
return remap$(v, {
|
|
43
|
+
connectionId: "connection_id",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function removeAccountingBankfeedtransactionRequestToJSON(
|
|
48
|
+
removeAccountingBankfeedtransactionRequest:
|
|
49
|
+
RemoveAccountingBankfeedtransactionRequest,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(
|
|
52
|
+
RemoveAccountingBankfeedtransactionRequest$outboundSchema.parse(
|
|
53
|
+
removeAccountingBankfeedtransactionRequest,
|
|
54
|
+
),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const RemoveAccountingBankfeedtransactionResponse$inboundSchema:
|
|
60
|
+
z.ZodType<
|
|
61
|
+
RemoveAccountingBankfeedtransactionResponse,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
66
|
+
}).transform((v) => {
|
|
67
|
+
return remap$(v, {
|
|
68
|
+
"Headers": "headers",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export function removeAccountingBankfeedtransactionResponseFromJSON(
|
|
73
|
+
jsonString: string,
|
|
74
|
+
): SafeParseResult<
|
|
75
|
+
RemoveAccountingBankfeedtransactionResponse,
|
|
76
|
+
SDKValidationError
|
|
77
|
+
> {
|
|
78
|
+
return safeParse(
|
|
79
|
+
jsonString,
|
|
80
|
+
(x) =>
|
|
81
|
+
RemoveAccountingBankfeedtransactionResponse$inboundSchema.parse(
|
|
82
|
+
JSON.parse(x),
|
|
83
|
+
),
|
|
84
|
+
`Failed to parse 'RemoveAccountingBankfeedtransactionResponse' from JSON`,
|
|
85
|
+
);
|
|
86
|
+
}
|