@unified-api/typescript-sdk 2.85.29 → 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/accountingListAccountingBills.js +2 -0
- package/dist/commonjs/funcs/accountingListAccountingBills.js.map +1 -1
- 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/createlmsclass.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/createlmsclass.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createlmsclass.js +2 -0
- package/dist/commonjs/sdk/models/operations/createlmsclass.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createlmscontent.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/createlmscontent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createlmscontent.js +2 -1
- package/dist/commonjs/sdk/models/operations/createlmscontent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createlmscourse.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/createlmscourse.js +1 -1
- package/dist/commonjs/sdk/models/operations/createlmscourse.js.map +1 -1
- 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/getlmsclass.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/getlmsclass.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlmsclass.js +2 -0
- package/dist/commonjs/sdk/models/operations/getlmsclass.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlmscontent.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/getlmscontent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlmscontent.js +2 -1
- package/dist/commonjs/sdk/models/operations/getlmscontent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlmscourse.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getlmscourse.js +1 -1
- package/dist/commonjs/sdk/models/operations/getlmscourse.js.map +1 -1
- 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/listaccountingbills.d.ts +10 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingbills.js +4 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbills.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listlmsclasses.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/listlmsclasses.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listlmsclasses.js +2 -0
- package/dist/commonjs/sdk/models/operations/listlmsclasses.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listlmscontents.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/listlmscontents.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listlmscontents.js +2 -1
- package/dist/commonjs/sdk/models/operations/listlmscontents.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listlmscourses.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/listlmscourses.js +1 -1
- package/dist/commonjs/sdk/models/operations/listlmscourses.js.map +1 -1
- 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/patchlmsclass.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/patchlmsclass.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchlmsclass.js +2 -0
- package/dist/commonjs/sdk/models/operations/patchlmsclass.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchlmscontent.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/patchlmscontent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchlmscontent.js +2 -1
- package/dist/commonjs/sdk/models/operations/patchlmscontent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchlmscourse.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/patchlmscourse.js +1 -1
- package/dist/commonjs/sdk/models/operations/patchlmscourse.js.map +1 -1
- 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/operations/updatelmsclass.d.ts +2 -0
- package/dist/commonjs/sdk/models/operations/updatelmsclass.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatelmsclass.js +2 -0
- package/dist/commonjs/sdk/models/operations/updatelmsclass.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatelmscontent.d.ts +2 -1
- package/dist/commonjs/sdk/models/operations/updatelmscontent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatelmscontent.js +2 -1
- package/dist/commonjs/sdk/models/operations/updatelmscontent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatelmscourse.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/updatelmscourse.js +1 -1
- package/dist/commonjs/sdk/models/operations/updatelmscourse.js.map +1 -1
- 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 +3 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +3 -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/lmsclass.d.ts +11 -0
- package/dist/commonjs/sdk/models/shared/lmsclass.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/lmsclass.js +5 -0
- package/dist/commonjs/sdk/models/shared/lmsclass.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/lmscontent.d.ts +6 -0
- package/dist/commonjs/sdk/models/shared/lmscontent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/lmscontent.js +3 -0
- package/dist/commonjs/sdk/models/shared/lmscontent.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/lmscourse.d.ts +5 -6
- package/dist/commonjs/sdk/models/shared/lmscourse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/lmscourse.js +5 -6
- package/dist/commonjs/sdk/models/shared/lmscourse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/lmsreference.d.ts +19 -0
- package/dist/commonjs/sdk/models/shared/lmsreference.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/lmsreference.js +60 -0
- package/dist/commonjs/sdk/models/shared/lmsreference.js.map +1 -0
- 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/accountingListAccountingBills.js +2 -0
- package/dist/esm/funcs/accountingListAccountingBills.js.map +1 -1
- 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/createlmsclass.d.ts +2 -0
- package/dist/esm/sdk/models/operations/createlmsclass.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createlmsclass.js +2 -0
- package/dist/esm/sdk/models/operations/createlmsclass.js.map +1 -1
- package/dist/esm/sdk/models/operations/createlmscontent.d.ts +2 -1
- package/dist/esm/sdk/models/operations/createlmscontent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createlmscontent.js +2 -1
- package/dist/esm/sdk/models/operations/createlmscontent.js.map +1 -1
- package/dist/esm/sdk/models/operations/createlmscourse.d.ts +1 -1
- package/dist/esm/sdk/models/operations/createlmscourse.js +1 -1
- package/dist/esm/sdk/models/operations/createlmscourse.js.map +1 -1
- 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/getlmsclass.d.ts +2 -0
- package/dist/esm/sdk/models/operations/getlmsclass.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlmsclass.js +2 -0
- package/dist/esm/sdk/models/operations/getlmsclass.js.map +1 -1
- package/dist/esm/sdk/models/operations/getlmscontent.d.ts +2 -1
- package/dist/esm/sdk/models/operations/getlmscontent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlmscontent.js +2 -1
- package/dist/esm/sdk/models/operations/getlmscontent.js.map +1 -1
- package/dist/esm/sdk/models/operations/getlmscourse.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getlmscourse.js +1 -1
- package/dist/esm/sdk/models/operations/getlmscourse.js.map +1 -1
- 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/listaccountingbills.d.ts +10 -0
- package/dist/esm/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingbills.js +4 -0
- package/dist/esm/sdk/models/operations/listaccountingbills.js.map +1 -1
- package/dist/esm/sdk/models/operations/listlmsclasses.d.ts +2 -0
- package/dist/esm/sdk/models/operations/listlmsclasses.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listlmsclasses.js +2 -0
- package/dist/esm/sdk/models/operations/listlmsclasses.js.map +1 -1
- package/dist/esm/sdk/models/operations/listlmscontents.d.ts +2 -1
- package/dist/esm/sdk/models/operations/listlmscontents.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listlmscontents.js +2 -1
- package/dist/esm/sdk/models/operations/listlmscontents.js.map +1 -1
- package/dist/esm/sdk/models/operations/listlmscourses.d.ts +1 -1
- package/dist/esm/sdk/models/operations/listlmscourses.js +1 -1
- package/dist/esm/sdk/models/operations/listlmscourses.js.map +1 -1
- 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/patchlmsclass.d.ts +2 -0
- package/dist/esm/sdk/models/operations/patchlmsclass.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchlmsclass.js +2 -0
- package/dist/esm/sdk/models/operations/patchlmsclass.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchlmscontent.d.ts +2 -1
- package/dist/esm/sdk/models/operations/patchlmscontent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchlmscontent.js +2 -1
- package/dist/esm/sdk/models/operations/patchlmscontent.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchlmscourse.d.ts +1 -1
- package/dist/esm/sdk/models/operations/patchlmscourse.js +1 -1
- package/dist/esm/sdk/models/operations/patchlmscourse.js.map +1 -1
- 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/operations/updatelmsclass.d.ts +2 -0
- package/dist/esm/sdk/models/operations/updatelmsclass.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatelmsclass.js +2 -0
- package/dist/esm/sdk/models/operations/updatelmsclass.js.map +1 -1
- package/dist/esm/sdk/models/operations/updatelmscontent.d.ts +2 -1
- package/dist/esm/sdk/models/operations/updatelmscontent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatelmscontent.js +2 -1
- package/dist/esm/sdk/models/operations/updatelmscontent.js.map +1 -1
- package/dist/esm/sdk/models/operations/updatelmscourse.d.ts +1 -1
- package/dist/esm/sdk/models/operations/updatelmscourse.js +1 -1
- package/dist/esm/sdk/models/operations/updatelmscourse.js.map +1 -1
- 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 +3 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +3 -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/lmsclass.d.ts +11 -0
- package/dist/esm/sdk/models/shared/lmsclass.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/lmsclass.js +5 -0
- package/dist/esm/sdk/models/shared/lmsclass.js.map +1 -1
- package/dist/esm/sdk/models/shared/lmscontent.d.ts +6 -0
- package/dist/esm/sdk/models/shared/lmscontent.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/lmscontent.js +3 -0
- package/dist/esm/sdk/models/shared/lmscontent.js.map +1 -1
- package/dist/esm/sdk/models/shared/lmscourse.d.ts +5 -6
- package/dist/esm/sdk/models/shared/lmscourse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/lmscourse.js +5 -6
- package/dist/esm/sdk/models/shared/lmscourse.js.map +1 -1
- package/dist/esm/sdk/models/shared/lmsreference.d.ts +19 -0
- package/dist/esm/sdk/models/shared/lmsreference.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/lmsreference.js +22 -0
- package/dist/esm/sdk/models/shared/lmsreference.js.map +1 -0
- 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/accountingListAccountingBills.ts +2 -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/createlmsclass.ts +2 -0
- package/src/sdk/models/operations/createlmscontent.ts +2 -1
- package/src/sdk/models/operations/createlmscourse.ts +1 -1
- package/src/sdk/models/operations/getaccountingbankfeedaccount.ts +88 -0
- package/src/sdk/models/operations/getaccountingbankfeedtransaction.ts +93 -0
- package/src/sdk/models/operations/getlmsclass.ts +2 -0
- package/src/sdk/models/operations/getlmscontent.ts +2 -1
- package/src/sdk/models/operations/getlmscourse.ts +1 -1
- 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/listaccountingbills.ts +14 -0
- package/src/sdk/models/operations/listlmsclasses.ts +2 -0
- package/src/sdk/models/operations/listlmscontents.ts +2 -1
- package/src/sdk/models/operations/listlmscourses.ts +1 -1
- package/src/sdk/models/operations/patchaccountingbankfeedaccount.ts +93 -0
- package/src/sdk/models/operations/patchaccountingbankfeedtransaction.ts +102 -0
- package/src/sdk/models/operations/patchlmsclass.ts +2 -0
- package/src/sdk/models/operations/patchlmscontent.ts +2 -1
- package/src/sdk/models/operations/patchlmscourse.ts +1 -1
- 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/operations/updatelmsclass.ts +2 -0
- package/src/sdk/models/operations/updatelmscontent.ts +2 -1
- package/src/sdk/models/operations/updatelmscourse.ts +1 -1
- 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 +3 -0
- package/src/sdk/models/shared/integrationsupport.ts +37 -0
- package/src/sdk/models/shared/lmsclass.ts +20 -0
- package/src/sdk/models/shared/lmscontent.ts +13 -0
- package/src/sdk/models/shared/lmscourse.ts +13 -19
- package/src/sdk/models/shared/lmsreference.ts +51 -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,187 @@
|
|
|
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 * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export const AccountingBankfeedtransactionType = {
|
|
14
|
+
Debit: "DEBIT",
|
|
15
|
+
Credit: "CREDIT",
|
|
16
|
+
} as const;
|
|
17
|
+
export type AccountingBankfeedtransactionType = OpenEnum<
|
|
18
|
+
typeof AccountingBankfeedtransactionType
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
export type AccountingBankfeedtransaction = {
|
|
22
|
+
accountId?: string | undefined;
|
|
23
|
+
amount?: number | undefined;
|
|
24
|
+
bankCategory?: string | undefined;
|
|
25
|
+
bankfeedaccountId?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* dimension refs -> AccountingCategory (class/department/location)
|
|
28
|
+
*/
|
|
29
|
+
categoryIds?: Array<string> | undefined;
|
|
30
|
+
contactId?: string | undefined;
|
|
31
|
+
createdAt?: Date | undefined;
|
|
32
|
+
currency?: string | undefined;
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
isPending?: boolean | undefined;
|
|
36
|
+
merchantName?: string | undefined;
|
|
37
|
+
organizationId?: string | undefined;
|
|
38
|
+
postedAt?: Date | undefined;
|
|
39
|
+
raw?: { [k: string]: any } | undefined;
|
|
40
|
+
reference?: string | undefined;
|
|
41
|
+
transactionAt?: Date | undefined;
|
|
42
|
+
type?: AccountingBankfeedtransactionType | undefined;
|
|
43
|
+
updatedAt?: Date | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const AccountingBankfeedtransactionType$inboundSchema: z.ZodType<
|
|
48
|
+
AccountingBankfeedtransactionType,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = openEnums.inboundSchema(AccountingBankfeedtransactionType);
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const AccountingBankfeedtransactionType$outboundSchema: z.ZodType<
|
|
54
|
+
string,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
AccountingBankfeedtransactionType
|
|
57
|
+
> = openEnums.outboundSchema(AccountingBankfeedtransactionType);
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const AccountingBankfeedtransaction$inboundSchema: z.ZodType<
|
|
61
|
+
AccountingBankfeedtransaction,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
account_id: z.string().optional(),
|
|
66
|
+
amount: z.number().optional(),
|
|
67
|
+
bank_category: z.string().optional(),
|
|
68
|
+
bankfeedaccount_id: z.string().optional(),
|
|
69
|
+
category_ids: z.array(z.string()).optional(),
|
|
70
|
+
contact_id: z.string().optional(),
|
|
71
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
72
|
+
.optional(),
|
|
73
|
+
currency: z.string().optional(),
|
|
74
|
+
description: z.string().optional(),
|
|
75
|
+
id: z.string().optional(),
|
|
76
|
+
is_pending: z.boolean().optional(),
|
|
77
|
+
merchant_name: z.string().optional(),
|
|
78
|
+
organization_id: z.string().optional(),
|
|
79
|
+
posted_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
80
|
+
.optional(),
|
|
81
|
+
raw: z.record(z.any()).optional(),
|
|
82
|
+
reference: z.string().optional(),
|
|
83
|
+
transaction_at: z.string().datetime({ offset: true }).transform(v =>
|
|
84
|
+
new Date(v)
|
|
85
|
+
).optional(),
|
|
86
|
+
type: AccountingBankfeedtransactionType$inboundSchema.optional(),
|
|
87
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
88
|
+
.optional(),
|
|
89
|
+
}).transform((v) => {
|
|
90
|
+
return remap$(v, {
|
|
91
|
+
"account_id": "accountId",
|
|
92
|
+
"bank_category": "bankCategory",
|
|
93
|
+
"bankfeedaccount_id": "bankfeedaccountId",
|
|
94
|
+
"category_ids": "categoryIds",
|
|
95
|
+
"contact_id": "contactId",
|
|
96
|
+
"created_at": "createdAt",
|
|
97
|
+
"is_pending": "isPending",
|
|
98
|
+
"merchant_name": "merchantName",
|
|
99
|
+
"organization_id": "organizationId",
|
|
100
|
+
"posted_at": "postedAt",
|
|
101
|
+
"transaction_at": "transactionAt",
|
|
102
|
+
"updated_at": "updatedAt",
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
/** @internal */
|
|
106
|
+
export type AccountingBankfeedtransaction$Outbound = {
|
|
107
|
+
account_id?: string | undefined;
|
|
108
|
+
amount?: number | undefined;
|
|
109
|
+
bank_category?: string | undefined;
|
|
110
|
+
bankfeedaccount_id?: string | undefined;
|
|
111
|
+
category_ids?: Array<string> | undefined;
|
|
112
|
+
contact_id?: string | undefined;
|
|
113
|
+
created_at?: string | undefined;
|
|
114
|
+
currency?: string | undefined;
|
|
115
|
+
description?: string | undefined;
|
|
116
|
+
id?: string | undefined;
|
|
117
|
+
is_pending?: boolean | undefined;
|
|
118
|
+
merchant_name?: string | undefined;
|
|
119
|
+
organization_id?: string | undefined;
|
|
120
|
+
posted_at?: string | undefined;
|
|
121
|
+
raw?: { [k: string]: any } | undefined;
|
|
122
|
+
reference?: string | undefined;
|
|
123
|
+
transaction_at?: string | undefined;
|
|
124
|
+
type?: string | undefined;
|
|
125
|
+
updated_at?: string | undefined;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/** @internal */
|
|
129
|
+
export const AccountingBankfeedtransaction$outboundSchema: z.ZodType<
|
|
130
|
+
AccountingBankfeedtransaction$Outbound,
|
|
131
|
+
z.ZodTypeDef,
|
|
132
|
+
AccountingBankfeedtransaction
|
|
133
|
+
> = z.object({
|
|
134
|
+
accountId: z.string().optional(),
|
|
135
|
+
amount: z.number().optional(),
|
|
136
|
+
bankCategory: z.string().optional(),
|
|
137
|
+
bankfeedaccountId: z.string().optional(),
|
|
138
|
+
categoryIds: z.array(z.string()).optional(),
|
|
139
|
+
contactId: z.string().optional(),
|
|
140
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
141
|
+
currency: z.string().optional(),
|
|
142
|
+
description: z.string().optional(),
|
|
143
|
+
id: z.string().optional(),
|
|
144
|
+
isPending: z.boolean().optional(),
|
|
145
|
+
merchantName: z.string().optional(),
|
|
146
|
+
organizationId: z.string().optional(),
|
|
147
|
+
postedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
148
|
+
raw: z.record(z.any()).optional(),
|
|
149
|
+
reference: z.string().optional(),
|
|
150
|
+
transactionAt: z.date().transform(v => v.toISOString()).optional(),
|
|
151
|
+
type: AccountingBankfeedtransactionType$outboundSchema.optional(),
|
|
152
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
153
|
+
}).transform((v) => {
|
|
154
|
+
return remap$(v, {
|
|
155
|
+
accountId: "account_id",
|
|
156
|
+
bankCategory: "bank_category",
|
|
157
|
+
bankfeedaccountId: "bankfeedaccount_id",
|
|
158
|
+
categoryIds: "category_ids",
|
|
159
|
+
contactId: "contact_id",
|
|
160
|
+
createdAt: "created_at",
|
|
161
|
+
isPending: "is_pending",
|
|
162
|
+
merchantName: "merchant_name",
|
|
163
|
+
organizationId: "organization_id",
|
|
164
|
+
postedAt: "posted_at",
|
|
165
|
+
transactionAt: "transaction_at",
|
|
166
|
+
updatedAt: "updated_at",
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
export function accountingBankfeedtransactionToJSON(
|
|
171
|
+
accountingBankfeedtransaction: AccountingBankfeedtransaction,
|
|
172
|
+
): string {
|
|
173
|
+
return JSON.stringify(
|
|
174
|
+
AccountingBankfeedtransaction$outboundSchema.parse(
|
|
175
|
+
accountingBankfeedtransaction,
|
|
176
|
+
),
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
export function accountingBankfeedtransactionFromJSON(
|
|
180
|
+
jsonString: string,
|
|
181
|
+
): SafeParseResult<AccountingBankfeedtransaction, SDKValidationError> {
|
|
182
|
+
return safeParse(
|
|
183
|
+
jsonString,
|
|
184
|
+
(x) => AccountingBankfeedtransaction$inboundSchema.parse(JSON.parse(x)),
|
|
185
|
+
`Failed to parse 'AccountingBankfeedtransaction' from JSON`,
|
|
186
|
+
);
|
|
187
|
+
}
|
|
@@ -10,16 +10,18 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
10
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
12
|
|
|
13
|
-
export const
|
|
13
|
+
export const HrisBankaccountAccountType = {
|
|
14
14
|
Checking: "CHECKING",
|
|
15
15
|
Savings: "SAVINGS",
|
|
16
16
|
} as const;
|
|
17
|
-
export type
|
|
17
|
+
export type HrisBankaccountAccountType = OpenEnum<
|
|
18
|
+
typeof HrisBankaccountAccountType
|
|
19
|
+
>;
|
|
18
20
|
|
|
19
21
|
export type HrisBankaccount = {
|
|
20
22
|
accountNumber?: string | undefined;
|
|
21
23
|
accountNumberLast4?: string | undefined;
|
|
22
|
-
accountType?:
|
|
24
|
+
accountType?: HrisBankaccountAccountType | undefined;
|
|
23
25
|
bankName?: string | undefined;
|
|
24
26
|
companyId?: string | undefined;
|
|
25
27
|
createdAt?: Date | undefined;
|
|
@@ -33,17 +35,17 @@ export type HrisBankaccount = {
|
|
|
33
35
|
};
|
|
34
36
|
|
|
35
37
|
/** @internal */
|
|
36
|
-
export const
|
|
37
|
-
|
|
38
|
+
export const HrisBankaccountAccountType$inboundSchema: z.ZodType<
|
|
39
|
+
HrisBankaccountAccountType,
|
|
38
40
|
z.ZodTypeDef,
|
|
39
41
|
unknown
|
|
40
|
-
> = openEnums.inboundSchema(
|
|
42
|
+
> = openEnums.inboundSchema(HrisBankaccountAccountType);
|
|
41
43
|
/** @internal */
|
|
42
|
-
export const
|
|
44
|
+
export const HrisBankaccountAccountType$outboundSchema: z.ZodType<
|
|
43
45
|
string,
|
|
44
46
|
z.ZodTypeDef,
|
|
45
|
-
|
|
46
|
-
> = openEnums.outboundSchema(
|
|
47
|
+
HrisBankaccountAccountType
|
|
48
|
+
> = openEnums.outboundSchema(HrisBankaccountAccountType);
|
|
47
49
|
|
|
48
50
|
/** @internal */
|
|
49
51
|
export const HrisBankaccount$inboundSchema: z.ZodType<
|
|
@@ -53,7 +55,7 @@ export const HrisBankaccount$inboundSchema: z.ZodType<
|
|
|
53
55
|
> = z.object({
|
|
54
56
|
account_number: z.string().optional(),
|
|
55
57
|
account_number_last4: z.string().optional(),
|
|
56
|
-
account_type:
|
|
58
|
+
account_type: HrisBankaccountAccountType$inboundSchema.optional(),
|
|
57
59
|
bank_name: z.string().optional(),
|
|
58
60
|
company_id: z.string().optional(),
|
|
59
61
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
@@ -105,7 +107,7 @@ export const HrisBankaccount$outboundSchema: z.ZodType<
|
|
|
105
107
|
> = z.object({
|
|
106
108
|
accountNumber: z.string().optional(),
|
|
107
109
|
accountNumberLast4: z.string().optional(),
|
|
108
|
-
accountType:
|
|
110
|
+
accountType: HrisBankaccountAccountType$outboundSchema.optional(),
|
|
109
111
|
bankName: z.string().optional(),
|
|
110
112
|
companyId: z.string().optional(),
|
|
111
113
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
@@ -12,6 +12,8 @@ export * from "./accountingassociatedcontact.js";
|
|
|
12
12
|
export * from "./accountingattachment.js";
|
|
13
13
|
export * from "./accountingbalancesheet.js";
|
|
14
14
|
export * from "./accountingbalancesheetitem.js";
|
|
15
|
+
export * from "./accountingbankfeedaccount.js";
|
|
16
|
+
export * from "./accountingbankfeedtransaction.js";
|
|
15
17
|
export * from "./accountingbill.js";
|
|
16
18
|
export * from "./accountingcashflow.js";
|
|
17
19
|
export * from "./accountingcashflowitem.js";
|
|
@@ -227,6 +229,7 @@ export * from "./lmscourse.js";
|
|
|
227
229
|
export * from "./lmsemail.js";
|
|
228
230
|
export * from "./lmsinstructor.js";
|
|
229
231
|
export * from "./lmsmedia.js";
|
|
232
|
+
export * from "./lmsreference.js";
|
|
230
233
|
export * from "./lmsstudent.js";
|
|
231
234
|
export * from "./lmssubject.js";
|
|
232
235
|
export * from "./lmstelephone.js";
|
|
@@ -49,6 +49,13 @@ export const ListAssignedUserId = {
|
|
|
49
49
|
} as const;
|
|
50
50
|
export type ListAssignedUserId = OpenEnum<typeof ListAssignedUserId>;
|
|
51
51
|
|
|
52
|
+
export const ListBankfeedaccountId = {
|
|
53
|
+
SupportedRequired: "supported-required",
|
|
54
|
+
Supported: "supported",
|
|
55
|
+
NotSupported: "not-supported",
|
|
56
|
+
} as const;
|
|
57
|
+
export type ListBankfeedaccountId = OpenEnum<typeof ListBankfeedaccountId>;
|
|
58
|
+
|
|
52
59
|
export const ListBenefitId = {
|
|
53
60
|
SupportedRequired: "supported-required",
|
|
54
61
|
Supported: "supported",
|
|
@@ -893,6 +900,15 @@ export type VirtualWebhookAssignedUserId = OpenEnum<
|
|
|
893
900
|
typeof VirtualWebhookAssignedUserId
|
|
894
901
|
>;
|
|
895
902
|
|
|
903
|
+
export const VirtualWebhookBankfeedaccountId = {
|
|
904
|
+
SupportedRequired: "supported-required",
|
|
905
|
+
Supported: "supported",
|
|
906
|
+
NotSupported: "not-supported",
|
|
907
|
+
} as const;
|
|
908
|
+
export type VirtualWebhookBankfeedaccountId = OpenEnum<
|
|
909
|
+
typeof VirtualWebhookBankfeedaccountId
|
|
910
|
+
>;
|
|
911
|
+
|
|
896
912
|
export const VirtualWebhookBenefitId = {
|
|
897
913
|
SupportedRequired: "supported-required",
|
|
898
914
|
Supported: "supported",
|
|
@@ -1364,6 +1380,7 @@ export type IntegrationSupport = {
|
|
|
1364
1380
|
listAdId?: ListAdId | undefined;
|
|
1365
1381
|
listApplicationId?: ListApplicationId | undefined;
|
|
1366
1382
|
listAssignedUserId?: ListAssignedUserId | undefined;
|
|
1383
|
+
listBankfeedaccountId?: ListBankfeedaccountId | undefined;
|
|
1367
1384
|
listBenefitId?: ListBenefitId | undefined;
|
|
1368
1385
|
listBillId?: ListBillId | undefined;
|
|
1369
1386
|
listBranchId?: ListBranchId | undefined;
|
|
@@ -1491,6 +1508,7 @@ export type IntegrationSupport = {
|
|
|
1491
1508
|
virtualWebhookAdId?: VirtualWebhookAdId | undefined;
|
|
1492
1509
|
virtualWebhookApplicationId?: VirtualWebhookApplicationId | undefined;
|
|
1493
1510
|
virtualWebhookAssignedUserId?: VirtualWebhookAssignedUserId | undefined;
|
|
1511
|
+
virtualWebhookBankfeedaccountId?: VirtualWebhookBankfeedaccountId | undefined;
|
|
1494
1512
|
virtualWebhookBenefitId?: VirtualWebhookBenefitId | undefined;
|
|
1495
1513
|
virtualWebhookBillId?: VirtualWebhookBillId | undefined;
|
|
1496
1514
|
virtualWebhookBranchId?: VirtualWebhookBranchId | undefined;
|
|
@@ -1591,6 +1609,13 @@ export const ListAssignedUserId$inboundSchema: z.ZodType<
|
|
|
1591
1609
|
unknown
|
|
1592
1610
|
> = openEnums.inboundSchema(ListAssignedUserId);
|
|
1593
1611
|
|
|
1612
|
+
/** @internal */
|
|
1613
|
+
export const ListBankfeedaccountId$inboundSchema: z.ZodType<
|
|
1614
|
+
ListBankfeedaccountId,
|
|
1615
|
+
z.ZodTypeDef,
|
|
1616
|
+
unknown
|
|
1617
|
+
> = openEnums.inboundSchema(ListBankfeedaccountId);
|
|
1618
|
+
|
|
1594
1619
|
/** @internal */
|
|
1595
1620
|
export const ListBenefitId$inboundSchema: z.ZodType<
|
|
1596
1621
|
ListBenefitId,
|
|
@@ -2431,6 +2456,13 @@ export const VirtualWebhookAssignedUserId$inboundSchema: z.ZodType<
|
|
|
2431
2456
|
unknown
|
|
2432
2457
|
> = openEnums.inboundSchema(VirtualWebhookAssignedUserId);
|
|
2433
2458
|
|
|
2459
|
+
/** @internal */
|
|
2460
|
+
export const VirtualWebhookBankfeedaccountId$inboundSchema: z.ZodType<
|
|
2461
|
+
VirtualWebhookBankfeedaccountId,
|
|
2462
|
+
z.ZodTypeDef,
|
|
2463
|
+
unknown
|
|
2464
|
+
> = openEnums.inboundSchema(VirtualWebhookBankfeedaccountId);
|
|
2465
|
+
|
|
2434
2466
|
/** @internal */
|
|
2435
2467
|
export const VirtualWebhookBenefitId$inboundSchema: z.ZodType<
|
|
2436
2468
|
VirtualWebhookBenefitId,
|
|
@@ -2877,6 +2909,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2877
2909
|
list_ad_id: ListAdId$inboundSchema.optional(),
|
|
2878
2910
|
list_application_id: ListApplicationId$inboundSchema.optional(),
|
|
2879
2911
|
list_assigned_user_id: ListAssignedUserId$inboundSchema.optional(),
|
|
2912
|
+
list_bankfeedaccount_id: ListBankfeedaccountId$inboundSchema.optional(),
|
|
2880
2913
|
list_benefit_id: ListBenefitId$inboundSchema.optional(),
|
|
2881
2914
|
list_bill_id: ListBillId$inboundSchema.optional(),
|
|
2882
2915
|
list_branch_id: ListBranchId$inboundSchema.optional(),
|
|
@@ -3003,6 +3036,8 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
3003
3036
|
.optional(),
|
|
3004
3037
|
virtual_webhook_assigned_user_id: VirtualWebhookAssignedUserId$inboundSchema
|
|
3005
3038
|
.optional(),
|
|
3039
|
+
virtual_webhook_bankfeedaccount_id:
|
|
3040
|
+
VirtualWebhookBankfeedaccountId$inboundSchema.optional(),
|
|
3006
3041
|
virtual_webhook_benefit_id: VirtualWebhookBenefitId$inboundSchema.optional(),
|
|
3007
3042
|
virtual_webhook_bill_id: VirtualWebhookBillId$inboundSchema.optional(),
|
|
3008
3043
|
virtual_webhook_branch_id: VirtualWebhookBranchId$inboundSchema.optional(),
|
|
@@ -3090,6 +3125,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
3090
3125
|
"list_ad_id": "listAdId",
|
|
3091
3126
|
"list_application_id": "listApplicationId",
|
|
3092
3127
|
"list_assigned_user_id": "listAssignedUserId",
|
|
3128
|
+
"list_bankfeedaccount_id": "listBankfeedaccountId",
|
|
3093
3129
|
"list_benefit_id": "listBenefitId",
|
|
3094
3130
|
"list_bill_id": "listBillId",
|
|
3095
3131
|
"list_branch_id": "listBranchId",
|
|
@@ -3213,6 +3249,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
3213
3249
|
"virtual_webhook_ad_id": "virtualWebhookAdId",
|
|
3214
3250
|
"virtual_webhook_application_id": "virtualWebhookApplicationId",
|
|
3215
3251
|
"virtual_webhook_assigned_user_id": "virtualWebhookAssignedUserId",
|
|
3252
|
+
"virtual_webhook_bankfeedaccount_id": "virtualWebhookBankfeedaccountId",
|
|
3216
3253
|
"virtual_webhook_benefit_id": "virtualWebhookBenefitId",
|
|
3217
3254
|
"virtual_webhook_bill_id": "virtualWebhookBillId",
|
|
3218
3255
|
"virtual_webhook_branch_id": "virtualWebhookBranchId",
|
|
@@ -13,18 +13,32 @@ import {
|
|
|
13
13
|
LmsMedia$Outbound,
|
|
14
14
|
LmsMedia$outboundSchema,
|
|
15
15
|
} from "./lmsmedia.js";
|
|
16
|
+
import {
|
|
17
|
+
LmsReference,
|
|
18
|
+
LmsReference$inboundSchema,
|
|
19
|
+
LmsReference$Outbound,
|
|
20
|
+
LmsReference$outboundSchema,
|
|
21
|
+
} from "./lmsreference.js";
|
|
16
22
|
|
|
17
23
|
export type LmsClass = {
|
|
18
24
|
courseId?: string | undefined;
|
|
19
25
|
createdAt?: Date | undefined;
|
|
20
26
|
description?: string | undefined;
|
|
21
27
|
id?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated; use instructors
|
|
30
|
+
*/
|
|
22
31
|
instructorIds?: Array<string> | undefined;
|
|
32
|
+
instructors?: Array<LmsReference> | undefined;
|
|
23
33
|
languages?: Array<string> | undefined;
|
|
24
34
|
media?: Array<LmsMedia> | undefined;
|
|
25
35
|
name?: string | undefined;
|
|
26
36
|
raw?: { [k: string]: any } | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated; use students
|
|
39
|
+
*/
|
|
27
40
|
studentIds?: Array<string> | undefined;
|
|
41
|
+
students?: Array<LmsReference> | undefined;
|
|
28
42
|
updatedAt?: Date | undefined;
|
|
29
43
|
};
|
|
30
44
|
|
|
@@ -40,11 +54,13 @@ export const LmsClass$inboundSchema: z.ZodType<
|
|
|
40
54
|
description: z.string().optional(),
|
|
41
55
|
id: z.string().optional(),
|
|
42
56
|
instructor_ids: z.array(z.string()).optional(),
|
|
57
|
+
instructors: z.array(LmsReference$inboundSchema).optional(),
|
|
43
58
|
languages: z.array(z.string()).optional(),
|
|
44
59
|
media: z.array(LmsMedia$inboundSchema).optional(),
|
|
45
60
|
name: z.string().optional(),
|
|
46
61
|
raw: z.record(z.any()).optional(),
|
|
47
62
|
student_ids: z.array(z.string()).optional(),
|
|
63
|
+
students: z.array(LmsReference$inboundSchema).optional(),
|
|
48
64
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
49
65
|
.optional(),
|
|
50
66
|
}).transform((v) => {
|
|
@@ -63,11 +79,13 @@ export type LmsClass$Outbound = {
|
|
|
63
79
|
description?: string | undefined;
|
|
64
80
|
id?: string | undefined;
|
|
65
81
|
instructor_ids?: Array<string> | undefined;
|
|
82
|
+
instructors?: Array<LmsReference$Outbound> | undefined;
|
|
66
83
|
languages?: Array<string> | undefined;
|
|
67
84
|
media?: Array<LmsMedia$Outbound> | undefined;
|
|
68
85
|
name?: string | undefined;
|
|
69
86
|
raw?: { [k: string]: any } | undefined;
|
|
70
87
|
student_ids?: Array<string> | undefined;
|
|
88
|
+
students?: Array<LmsReference$Outbound> | undefined;
|
|
71
89
|
updated_at?: string | undefined;
|
|
72
90
|
};
|
|
73
91
|
|
|
@@ -82,11 +100,13 @@ export const LmsClass$outboundSchema: z.ZodType<
|
|
|
82
100
|
description: z.string().optional(),
|
|
83
101
|
id: z.string().optional(),
|
|
84
102
|
instructorIds: z.array(z.string()).optional(),
|
|
103
|
+
instructors: z.array(LmsReference$outboundSchema).optional(),
|
|
85
104
|
languages: z.array(z.string()).optional(),
|
|
86
105
|
media: z.array(LmsMedia$outboundSchema).optional(),
|
|
87
106
|
name: z.string().optional(),
|
|
88
107
|
raw: z.record(z.any()).optional(),
|
|
89
108
|
studentIds: z.array(z.string()).optional(),
|
|
109
|
+
students: z.array(LmsReference$outboundSchema).optional(),
|
|
90
110
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
91
111
|
}).transform((v) => {
|
|
92
112
|
return remap$(v, {
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
LmsMedia$Outbound,
|
|
20
20
|
LmsMedia$outboundSchema,
|
|
21
21
|
} from "./lmsmedia.js";
|
|
22
|
+
import {
|
|
23
|
+
LmsReference,
|
|
24
|
+
LmsReference$inboundSchema,
|
|
25
|
+
LmsReference$Outbound,
|
|
26
|
+
LmsReference$outboundSchema,
|
|
27
|
+
} from "./lmsreference.js";
|
|
22
28
|
import {
|
|
23
29
|
LmsSubject,
|
|
24
30
|
LmsSubject$inboundSchema,
|
|
@@ -36,7 +42,11 @@ export type LmsContent = {
|
|
|
36
42
|
durationMinutes?: number | undefined;
|
|
37
43
|
externalReference?: string | undefined;
|
|
38
44
|
id?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated; use instructors
|
|
47
|
+
*/
|
|
39
48
|
instructorIds?: Array<string> | undefined;
|
|
49
|
+
instructors?: Array<LmsReference> | undefined;
|
|
40
50
|
isActive?: boolean | undefined;
|
|
41
51
|
languages?: Array<string> | undefined;
|
|
42
52
|
localizations?: Array<LmsContentLocalization> | undefined;
|
|
@@ -73,6 +83,7 @@ export const LmsContent$inboundSchema: z.ZodType<
|
|
|
73
83
|
external_reference: z.string().optional(),
|
|
74
84
|
id: z.string().optional(),
|
|
75
85
|
instructor_ids: z.array(z.string()).optional(),
|
|
86
|
+
instructors: z.array(LmsReference$inboundSchema).optional(),
|
|
76
87
|
is_active: z.boolean().optional(),
|
|
77
88
|
languages: z.array(z.string()).optional(),
|
|
78
89
|
localizations: z.array(LmsContentLocalization$inboundSchema).optional(),
|
|
@@ -118,6 +129,7 @@ export type LmsContent$Outbound = {
|
|
|
118
129
|
external_reference?: string | undefined;
|
|
119
130
|
id?: string | undefined;
|
|
120
131
|
instructor_ids?: Array<string> | undefined;
|
|
132
|
+
instructors?: Array<LmsReference$Outbound> | undefined;
|
|
121
133
|
is_active?: boolean | undefined;
|
|
122
134
|
languages?: Array<string> | undefined;
|
|
123
135
|
localizations?: Array<LmsContentLocalization$Outbound> | undefined;
|
|
@@ -150,6 +162,7 @@ export const LmsContent$outboundSchema: z.ZodType<
|
|
|
150
162
|
externalReference: z.string().optional(),
|
|
151
163
|
id: z.string().optional(),
|
|
152
164
|
instructorIds: z.array(z.string()).optional(),
|
|
165
|
+
instructors: z.array(LmsReference$outboundSchema).optional(),
|
|
153
166
|
isActive: z.boolean().optional(),
|
|
154
167
|
languages: z.array(z.string()).optional(),
|
|
155
168
|
localizations: z.array(LmsContentLocalization$outboundSchema).optional(),
|
|
@@ -7,12 +7,6 @@ import { remap as remap$ } from "../../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
LmsInstructor,
|
|
12
|
-
LmsInstructor$inboundSchema,
|
|
13
|
-
LmsInstructor$Outbound,
|
|
14
|
-
LmsInstructor$outboundSchema,
|
|
15
|
-
} from "./lmsinstructor.js";
|
|
16
10
|
import {
|
|
17
11
|
LmsMedia,
|
|
18
12
|
LmsMedia$inboundSchema,
|
|
@@ -20,11 +14,11 @@ import {
|
|
|
20
14
|
LmsMedia$outboundSchema,
|
|
21
15
|
} from "./lmsmedia.js";
|
|
22
16
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
17
|
+
LmsReference,
|
|
18
|
+
LmsReference$inboundSchema,
|
|
19
|
+
LmsReference$Outbound,
|
|
20
|
+
LmsReference$outboundSchema,
|
|
21
|
+
} from "./lmsreference.js";
|
|
28
22
|
|
|
29
23
|
export type LmsCourse = {
|
|
30
24
|
categories?: Array<string> | undefined;
|
|
@@ -38,7 +32,7 @@ export type LmsCourse = {
|
|
|
38
32
|
* @deprecated; use instructors
|
|
39
33
|
*/
|
|
40
34
|
instructorIds?: Array<string> | undefined;
|
|
41
|
-
instructors?: Array<
|
|
35
|
+
instructors?: Array<LmsReference> | undefined;
|
|
42
36
|
isActive?: boolean | undefined;
|
|
43
37
|
isPrivate?: boolean | undefined;
|
|
44
38
|
languages?: Array<string> | undefined;
|
|
@@ -53,7 +47,7 @@ export type LmsCourse = {
|
|
|
53
47
|
* @deprecated; use students
|
|
54
48
|
*/
|
|
55
49
|
studentIds?: Array<string> | undefined;
|
|
56
|
-
students?: Array<
|
|
50
|
+
students?: Array<LmsReference> | undefined;
|
|
57
51
|
timeEstimateMinutes?: number | undefined;
|
|
58
52
|
updatedAt?: Date | undefined;
|
|
59
53
|
};
|
|
@@ -73,7 +67,7 @@ export const LmsCourse$inboundSchema: z.ZodType<
|
|
|
73
67
|
duration_minutes: z.number().optional(),
|
|
74
68
|
id: z.string().optional(),
|
|
75
69
|
instructor_ids: z.array(z.string()).optional(),
|
|
76
|
-
instructors: z.array(
|
|
70
|
+
instructors: z.array(LmsReference$inboundSchema).optional(),
|
|
77
71
|
is_active: z.boolean().optional(),
|
|
78
72
|
is_private: z.boolean().optional(),
|
|
79
73
|
languages: z.array(z.string()).optional(),
|
|
@@ -87,7 +81,7 @@ export const LmsCourse$inboundSchema: z.ZodType<
|
|
|
87
81
|
raw: z.record(z.any()).optional(),
|
|
88
82
|
skills: z.array(z.string()).optional(),
|
|
89
83
|
student_ids: z.array(z.string()).optional(),
|
|
90
|
-
students: z.array(
|
|
84
|
+
students: z.array(LmsReference$inboundSchema).optional(),
|
|
91
85
|
time_estimate_minutes: z.number().optional(),
|
|
92
86
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
93
87
|
.optional(),
|
|
@@ -117,7 +111,7 @@ export type LmsCourse$Outbound = {
|
|
|
117
111
|
duration_minutes?: number | undefined;
|
|
118
112
|
id?: string | undefined;
|
|
119
113
|
instructor_ids?: Array<string> | undefined;
|
|
120
|
-
instructors?: Array<
|
|
114
|
+
instructors?: Array<LmsReference$Outbound> | undefined;
|
|
121
115
|
is_active?: boolean | undefined;
|
|
122
116
|
is_private?: boolean | undefined;
|
|
123
117
|
languages?: Array<string> | undefined;
|
|
@@ -129,7 +123,7 @@ export type LmsCourse$Outbound = {
|
|
|
129
123
|
raw?: { [k: string]: any } | undefined;
|
|
130
124
|
skills?: Array<string> | undefined;
|
|
131
125
|
student_ids?: Array<string> | undefined;
|
|
132
|
-
students?: Array<
|
|
126
|
+
students?: Array<LmsReference$Outbound> | undefined;
|
|
133
127
|
time_estimate_minutes?: number | undefined;
|
|
134
128
|
updated_at?: string | undefined;
|
|
135
129
|
};
|
|
@@ -148,7 +142,7 @@ export const LmsCourse$outboundSchema: z.ZodType<
|
|
|
148
142
|
durationMinutes: z.number().optional(),
|
|
149
143
|
id: z.string().optional(),
|
|
150
144
|
instructorIds: z.array(z.string()).optional(),
|
|
151
|
-
instructors: z.array(
|
|
145
|
+
instructors: z.array(LmsReference$outboundSchema).optional(),
|
|
152
146
|
isActive: z.boolean().optional(),
|
|
153
147
|
isPrivate: z.boolean().optional(),
|
|
154
148
|
languages: z.array(z.string()).optional(),
|
|
@@ -160,7 +154,7 @@ export const LmsCourse$outboundSchema: z.ZodType<
|
|
|
160
154
|
raw: z.record(z.any()).optional(),
|
|
161
155
|
skills: z.array(z.string()).optional(),
|
|
162
156
|
studentIds: z.array(z.string()).optional(),
|
|
163
|
-
students: z.array(
|
|
157
|
+
students: z.array(LmsReference$outboundSchema).optional(),
|
|
164
158
|
timeEstimateMinutes: z.number().optional(),
|
|
165
159
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
166
160
|
}).transform((v) => {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type LmsReference = {
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const LmsReference$inboundSchema: z.ZodType<
|
|
17
|
+
LmsReference,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
id: z.string().optional(),
|
|
22
|
+
name: z.string().optional(),
|
|
23
|
+
});
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type LmsReference$Outbound = {
|
|
26
|
+
id?: string | undefined;
|
|
27
|
+
name?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const LmsReference$outboundSchema: z.ZodType<
|
|
32
|
+
LmsReference$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
LmsReference
|
|
35
|
+
> = z.object({
|
|
36
|
+
id: z.string().optional(),
|
|
37
|
+
name: z.string().optional(),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function lmsReferenceToJSON(lmsReference: LmsReference): string {
|
|
41
|
+
return JSON.stringify(LmsReference$outboundSchema.parse(lmsReference));
|
|
42
|
+
}
|
|
43
|
+
export function lmsReferenceFromJSON(
|
|
44
|
+
jsonString: string,
|
|
45
|
+
): SafeParseResult<LmsReference, SDKValidationError> {
|
|
46
|
+
return safeParse(
|
|
47
|
+
jsonString,
|
|
48
|
+
(x) => LmsReference$inboundSchema.parse(JSON.parse(x)),
|
|
49
|
+
`Failed to parse 'LmsReference' from JSON`,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
@@ -54,6 +54,10 @@ export const PropertyConnectionPermissions = {
|
|
|
54
54
|
AccountingAgedpayableRead: "accounting_agedpayable_read",
|
|
55
55
|
AccountingProjectRead: "accounting_project_read",
|
|
56
56
|
AccountingProjectWrite: "accounting_project_write",
|
|
57
|
+
AccountingBankfeedaccountRead: "accounting_bankfeedaccount_read",
|
|
58
|
+
AccountingBankfeedaccountWrite: "accounting_bankfeedaccount_write",
|
|
59
|
+
AccountingBankfeedtransactionRead: "accounting_bankfeedtransaction_read",
|
|
60
|
+
AccountingBankfeedtransactionWrite: "accounting_bankfeedtransaction_write",
|
|
57
61
|
PaymentPayoutRead: "payment_payout_read",
|
|
58
62
|
PaymentRefundRead: "payment_refund_read",
|
|
59
63
|
PaymentLinkRead: "payment_link_read",
|
|
@@ -53,6 +53,8 @@ export const WebhookObjectType = {
|
|
|
53
53
|
AccountingAgedreceivable: "accounting_agedreceivable",
|
|
54
54
|
AccountingAgedpayable: "accounting_agedpayable",
|
|
55
55
|
AccountingProject: "accounting_project",
|
|
56
|
+
AccountingBankfeedaccount: "accounting_bankfeedaccount",
|
|
57
|
+
AccountingBankfeedtransaction: "accounting_bankfeedtransaction",
|
|
56
58
|
PaymentPayment: "payment_payment",
|
|
57
59
|
PaymentLink: "payment_link",
|
|
58
60
|
PaymentPayout: "payment_payout",
|