@oatfi/oatfi-sdk-ts 0.12.4 → 0.12.6
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 +12 -4
- package/dist/commonjs/funcs/filesUpload.js +3 -0
- package/dist/commonjs/funcs/filesUpload.js.map +1 -1
- package/dist/commonjs/funcs/networkLedgerGetBusiness.d.ts +1 -1
- package/dist/commonjs/funcs/networkLedgerGetBusiness.d.ts.map +1 -1
- package/dist/commonjs/funcs/networkLedgerGetBusiness.js +1 -1
- package/dist/commonjs/funcs/networkLedgerGetBusiness.js.map +1 -1
- package/dist/{esm/funcs/networkLedgerUpdateHold.d.ts → commonjs/funcs/transactionsCreateBatch.d.ts} +8 -3
- package/dist/commonjs/funcs/transactionsCreateBatch.d.ts.map +1 -0
- package/dist/commonjs/funcs/{networkLedgerUpdateHold.js → transactionsCreateBatch.js} +21 -31
- package/dist/commonjs/funcs/transactionsCreateBatch.js.map +1 -0
- package/dist/commonjs/funcs/{networkLedgerRecordAdjustment.d.ts → transactionsGetById.d.ts} +8 -3
- package/dist/commonjs/funcs/transactionsGetById.d.ts.map +1 -0
- package/dist/commonjs/funcs/transactionsGetById.js +134 -0
- package/dist/commonjs/funcs/transactionsGetById.js.map +1 -0
- package/dist/commonjs/funcs/transactionsList.d.ts +22 -0
- package/dist/commonjs/funcs/transactionsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/transactionsList.js +163 -0
- package/dist/commonjs/funcs/transactionsList.js.map +1 -0
- package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.d.ts +20 -0
- package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/{networkLedgerRecordAdjustment.js → transactionsTransactionsControllerUpdate.js} +25 -27
- package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/adjustmentresponsedto.d.ts +0 -6
- package/dist/commonjs/models/adjustmentresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/adjustmentresponsedto.js +0 -3
- package/dist/commonjs/models/adjustmentresponsedto.js.map +1 -1
- package/dist/commonjs/models/businessdataresponsedto.d.ts +51 -0
- package/dist/commonjs/models/businessdataresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/businessdataresponsedto.js +75 -0
- package/dist/commonjs/models/businessdataresponsedto.js.map +1 -0
- package/dist/commonjs/models/businessrefdto.d.ts +5 -0
- package/dist/commonjs/models/businessrefdto.d.ts.map +1 -1
- package/dist/commonjs/models/businessrefdto.js +2 -0
- package/dist/commonjs/models/businessrefdto.js.map +1 -1
- package/dist/commonjs/models/businessresponsedto.d.ts +142 -21
- package/dist/commonjs/models/businessresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/businessresponsedto.js +76 -13
- package/dist/commonjs/models/businessresponsedto.js.map +1 -1
- package/dist/commonjs/models/createadjustmentdto.d.ts +0 -6
- package/dist/commonjs/models/createadjustmentdto.d.ts.map +1 -1
- package/dist/commonjs/models/createadjustmentdto.js +0 -3
- package/dist/commonjs/models/createadjustmentdto.js.map +1 -1
- package/dist/commonjs/models/createfinancialaccountdto.d.ts +0 -1
- package/dist/commonjs/models/createfinancialaccountdto.d.ts.map +1 -1
- package/dist/commonjs/models/createfinancialaccountdto.js +0 -1
- package/dist/commonjs/models/createfinancialaccountdto.js.map +1 -1
- package/dist/commonjs/models/createplatformfinancialaccountdto.d.ts +0 -1
- package/dist/commonjs/models/createplatformfinancialaccountdto.d.ts.map +1 -1
- package/dist/commonjs/models/createplatformfinancialaccountdto.js +0 -1
- package/dist/commonjs/models/createplatformfinancialaccountdto.js.map +1 -1
- package/dist/commonjs/models/createplatformsettingsdto.d.ts +0 -20
- package/dist/commonjs/models/createplatformsettingsdto.d.ts.map +1 -1
- package/dist/commonjs/models/createplatformsettingsdto.js +0 -8
- package/dist/commonjs/models/createplatformsettingsdto.js.map +1 -1
- package/dist/commonjs/models/createtransactionsdto.d.ts +26 -0
- package/dist/commonjs/models/createtransactionsdto.d.ts.map +1 -0
- package/dist/commonjs/models/createtransactionsdto.js +52 -0
- package/dist/commonjs/models/createtransactionsdto.js.map +1 -0
- package/dist/commonjs/models/fileresponsedto.d.ts +7 -0
- package/dist/commonjs/models/fileresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/fileresponsedto.js +5 -0
- package/dist/commonjs/models/fileresponsedto.js.map +1 -1
- package/dist/commonjs/models/filetype.d.ts +3 -0
- package/dist/commonjs/models/filetype.d.ts.map +1 -1
- package/dist/commonjs/models/filetype.js +3 -0
- package/dist/commonjs/models/filetype.js.map +1 -1
- package/dist/commonjs/models/financialaccountdatadto.d.ts +0 -5
- package/dist/commonjs/models/financialaccountdatadto.d.ts.map +1 -1
- package/dist/commonjs/models/financialaccountdatadto.js +0 -4
- package/dist/commonjs/models/financialaccountdatadto.js.map +1 -1
- package/dist/commonjs/models/financialaccountresponsedto.d.ts +0 -1
- package/dist/commonjs/models/financialaccountresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/financialaccountresponsedto.js +0 -1
- package/dist/commonjs/models/financialaccountresponsedto.js.map +1 -1
- package/dist/commonjs/models/increasedatadto.d.ts +21 -0
- package/dist/commonjs/models/increasedatadto.d.ts.map +1 -0
- package/dist/commonjs/models/increasedatadto.js +60 -0
- package/dist/commonjs/models/increasedatadto.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +13 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +13 -2
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/ledgerentrysnapshotdto.d.ts +0 -5
- package/dist/commonjs/models/ledgerentrysnapshotdto.d.ts.map +1 -1
- package/dist/commonjs/models/ledgerentrysnapshotdto.js +0 -2
- package/dist/commonjs/models/ledgerentrysnapshotdto.js.map +1 -1
- package/dist/commonjs/models/lmsloantransactiontype.d.ts +34 -0
- package/dist/commonjs/models/lmsloantransactiontype.d.ts.map +1 -0
- package/dist/commonjs/models/lmsloantransactiontype.js +68 -0
- package/dist/commonjs/models/lmsloantransactiontype.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +4 -2
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -2
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.d.ts +1 -1
- package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.d.ts.map +1 -1
- package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.js +1 -0
- package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.js.map +1 -1
- package/dist/commonjs/models/operations/transactionscontrollercreate.d.ts +18 -0
- package/dist/commonjs/models/operations/transactionscontrollercreate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{networkcontrollerpatchhold.js → transactionscontrollercreate.js} +8 -25
- package/dist/commonjs/models/operations/transactionscontrollercreate.js.map +1 -0
- package/dist/commonjs/models/operations/transactionscontrollerfindall.d.ts +44 -0
- package/dist/commonjs/models/operations/transactionscontrollerfindall.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{networkcontrollerrecordadjustment.js → transactionscontrollerfindall.js} +23 -24
- package/dist/commonjs/models/operations/transactionscontrollerfindall.js.map +1 -0
- package/dist/commonjs/models/operations/transactionscontrollerfindone.d.ts +15 -0
- package/dist/commonjs/models/operations/transactionscontrollerfindone.d.ts.map +1 -0
- package/dist/commonjs/models/operations/transactionscontrollerfindone.js +49 -0
- package/dist/commonjs/models/operations/transactionscontrollerfindone.js.map +1 -0
- package/dist/commonjs/models/operations/transactionscontrollerupdate.d.ts +18 -0
- package/dist/commonjs/models/operations/transactionscontrollerupdate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/transactionscontrollerupdate.js +56 -0
- package/dist/commonjs/models/operations/transactionscontrollerupdate.js.map +1 -0
- package/dist/commonjs/models/paymentraildatadto.d.ts +0 -5
- package/dist/commonjs/models/paymentraildatadto.d.ts.map +1 -1
- package/dist/commonjs/models/paymentraildatadto.js +0 -4
- package/dist/commonjs/models/paymentraildatadto.js.map +1 -1
- package/dist/commonjs/models/paymentstatus.d.ts +22 -0
- package/dist/commonjs/models/paymentstatus.d.ts.map +1 -0
- package/dist/commonjs/models/paymentstatus.js +56 -0
- package/dist/commonjs/models/paymentstatus.js.map +1 -0
- package/dist/commonjs/models/platformsettingsdto.d.ts +0 -16
- package/dist/commonjs/models/platformsettingsdto.d.ts.map +1 -1
- package/dist/commonjs/models/platformsettingsdto.js +0 -8
- package/dist/commonjs/models/platformsettingsdto.js.map +1 -1
- package/dist/commonjs/models/purchasenotconfirmeddto.d.ts +13 -0
- package/dist/commonjs/models/purchasenotconfirmeddto.d.ts.map +1 -0
- package/dist/commonjs/models/purchasenotconfirmeddto.js +51 -0
- package/dist/commonjs/models/purchasenotconfirmeddto.js.map +1 -0
- package/dist/commonjs/models/storedtransactionlistresponsedto.d.ts +26 -0
- package/dist/commonjs/models/storedtransactionlistresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/{recordadjustmentrequestdto.js → storedtransactionlistresponsedto.js} +14 -33
- package/dist/commonjs/models/storedtransactionlistresponsedto.js.map +1 -0
- package/dist/commonjs/models/storedtransactionresponsedto.d.ts +48 -0
- package/dist/commonjs/models/storedtransactionresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/storedtransactionresponsedto.js +68 -0
- package/dist/commonjs/models/storedtransactionresponsedto.js.map +1 -0
- package/dist/commonjs/models/transactiondirection.d.ts +12 -0
- package/dist/commonjs/models/transactiondirection.d.ts.map +1 -0
- package/dist/commonjs/models/transactiondirection.js +49 -0
- package/dist/commonjs/models/transactiondirection.js.map +1 -0
- package/dist/commonjs/models/transactionitemdto.d.ts +36 -0
- package/dist/commonjs/models/transactionitemdto.d.ts.map +1 -0
- package/dist/commonjs/models/transactionitemdto.js +54 -0
- package/dist/commonjs/models/transactionitemdto.js.map +1 -0
- package/dist/commonjs/models/transactionloandto.d.ts +25 -0
- package/dist/commonjs/models/transactionloandto.d.ts.map +1 -0
- package/dist/commonjs/models/{patchholdrequestdto.js → transactionloandto.js} +13 -12
- package/dist/commonjs/models/transactionloandto.js.map +1 -0
- package/dist/commonjs/models/transactionresponsedto.d.ts +56 -0
- package/dist/commonjs/models/transactionresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/transactionresponsedto.js +74 -0
- package/dist/commonjs/models/transactionresponsedto.js.map +1 -0
- package/dist/commonjs/models/transfermethodenum.d.ts +0 -1
- package/dist/commonjs/models/transfermethodenum.d.ts.map +1 -1
- package/dist/commonjs/models/transfermethodenum.js +0 -1
- package/dist/commonjs/models/transfermethodenum.js.map +1 -1
- package/dist/commonjs/models/updatefiledto.d.ts +8 -0
- package/dist/commonjs/models/updatefiledto.d.ts.map +1 -1
- package/dist/commonjs/models/updatefiledto.js +5 -0
- package/dist/commonjs/models/updatefiledto.js.map +1 -1
- package/dist/commonjs/models/updatetransactiondto.d.ts +36 -0
- package/dist/commonjs/models/updatetransactiondto.d.ts.map +1 -0
- package/dist/commonjs/models/updatetransactiondto.js +54 -0
- package/dist/commonjs/models/updatetransactiondto.js.map +1 -0
- package/dist/commonjs/models/uploadfilesdto.d.ts +8 -0
- package/dist/commonjs/models/uploadfilesdto.d.ts.map +1 -1
- package/dist/commonjs/models/uploadfilesdto.js +5 -0
- package/dist/commonjs/models/uploadfilesdto.js.map +1 -1
- package/dist/commonjs/models/uploadfilesmultipartdto.d.ts +3 -0
- package/dist/commonjs/models/uploadfilesmultipartdto.d.ts.map +1 -1
- package/dist/commonjs/models/uploadfilesmultipartdto.js +3 -0
- package/dist/commonjs/models/uploadfilesmultipartdto.js.map +1 -1
- package/dist/commonjs/sdk/networkledger.d.ts +1 -9
- package/dist/commonjs/sdk/networkledger.d.ts.map +1 -1
- package/dist/commonjs/sdk/networkledger.js +0 -14
- package/dist/commonjs/sdk/networkledger.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/transactions.d.ts +37 -0
- package/dist/commonjs/sdk/transactions.d.ts.map +1 -0
- package/dist/commonjs/sdk/transactions.js +53 -0
- package/dist/commonjs/sdk/transactions.js.map +1 -0
- package/dist/esm/funcs/filesUpload.js +3 -0
- package/dist/esm/funcs/filesUpload.js.map +1 -1
- package/dist/esm/funcs/networkLedgerGetBusiness.d.ts +1 -1
- package/dist/esm/funcs/networkLedgerGetBusiness.d.ts.map +1 -1
- package/dist/esm/funcs/networkLedgerGetBusiness.js +1 -1
- package/dist/esm/funcs/networkLedgerGetBusiness.js.map +1 -1
- package/dist/esm/funcs/{networkLedgerRecordAdjustment.d.ts → transactionsCreateBatch.d.ts} +8 -3
- package/dist/esm/funcs/transactionsCreateBatch.d.ts.map +1 -0
- package/dist/esm/funcs/{networkLedgerRecordAdjustment.js → transactionsCreateBatch.js} +20 -27
- package/dist/esm/funcs/transactionsCreateBatch.js.map +1 -0
- package/dist/{commonjs/funcs/networkLedgerUpdateHold.d.ts → esm/funcs/transactionsGetById.d.ts} +8 -3
- package/dist/esm/funcs/transactionsGetById.d.ts.map +1 -0
- package/dist/esm/funcs/transactionsGetById.js +98 -0
- package/dist/esm/funcs/transactionsGetById.js.map +1 -0
- package/dist/esm/funcs/transactionsList.d.ts +22 -0
- package/dist/esm/funcs/transactionsList.d.ts.map +1 -0
- package/dist/esm/funcs/transactionsList.js +127 -0
- package/dist/esm/funcs/transactionsList.js.map +1 -0
- package/dist/esm/funcs/transactionsTransactionsControllerUpdate.d.ts +20 -0
- package/dist/esm/funcs/transactionsTransactionsControllerUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/{networkLedgerUpdateHold.js → transactionsTransactionsControllerUpdate.js} +21 -26
- package/dist/esm/funcs/transactionsTransactionsControllerUpdate.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/adjustmentresponsedto.d.ts +0 -6
- package/dist/esm/models/adjustmentresponsedto.d.ts.map +1 -1
- package/dist/esm/models/adjustmentresponsedto.js +0 -3
- package/dist/esm/models/adjustmentresponsedto.js.map +1 -1
- package/dist/esm/models/businessdataresponsedto.d.ts +51 -0
- package/dist/esm/models/businessdataresponsedto.d.ts.map +1 -0
- package/dist/esm/models/businessdataresponsedto.js +38 -0
- package/dist/esm/models/businessdataresponsedto.js.map +1 -0
- package/dist/esm/models/businessrefdto.d.ts +5 -0
- package/dist/esm/models/businessrefdto.d.ts.map +1 -1
- package/dist/esm/models/businessrefdto.js +2 -0
- package/dist/esm/models/businessrefdto.js.map +1 -1
- package/dist/esm/models/businessresponsedto.d.ts +142 -21
- package/dist/esm/models/businessresponsedto.d.ts.map +1 -1
- package/dist/esm/models/businessresponsedto.js +75 -12
- package/dist/esm/models/businessresponsedto.js.map +1 -1
- package/dist/esm/models/createadjustmentdto.d.ts +0 -6
- package/dist/esm/models/createadjustmentdto.d.ts.map +1 -1
- package/dist/esm/models/createadjustmentdto.js +0 -3
- package/dist/esm/models/createadjustmentdto.js.map +1 -1
- package/dist/esm/models/createfinancialaccountdto.d.ts +0 -1
- package/dist/esm/models/createfinancialaccountdto.d.ts.map +1 -1
- package/dist/esm/models/createfinancialaccountdto.js +0 -1
- package/dist/esm/models/createfinancialaccountdto.js.map +1 -1
- package/dist/esm/models/createplatformfinancialaccountdto.d.ts +0 -1
- package/dist/esm/models/createplatformfinancialaccountdto.d.ts.map +1 -1
- package/dist/esm/models/createplatformfinancialaccountdto.js +0 -1
- package/dist/esm/models/createplatformfinancialaccountdto.js.map +1 -1
- package/dist/esm/models/createplatformsettingsdto.d.ts +0 -20
- package/dist/esm/models/createplatformsettingsdto.d.ts.map +1 -1
- package/dist/esm/models/createplatformsettingsdto.js +0 -8
- package/dist/esm/models/createplatformsettingsdto.js.map +1 -1
- package/dist/esm/models/createtransactionsdto.d.ts +26 -0
- package/dist/esm/models/createtransactionsdto.d.ts.map +1 -0
- package/dist/esm/models/createtransactionsdto.js +15 -0
- package/dist/esm/models/createtransactionsdto.js.map +1 -0
- package/dist/esm/models/fileresponsedto.d.ts +7 -0
- package/dist/esm/models/fileresponsedto.d.ts.map +1 -1
- package/dist/esm/models/fileresponsedto.js +5 -0
- package/dist/esm/models/fileresponsedto.js.map +1 -1
- package/dist/esm/models/filetype.d.ts +3 -0
- package/dist/esm/models/filetype.d.ts.map +1 -1
- package/dist/esm/models/filetype.js +3 -0
- package/dist/esm/models/filetype.js.map +1 -1
- package/dist/esm/models/financialaccountdatadto.d.ts +0 -5
- package/dist/esm/models/financialaccountdatadto.d.ts.map +1 -1
- package/dist/esm/models/financialaccountdatadto.js +0 -4
- package/dist/esm/models/financialaccountdatadto.js.map +1 -1
- package/dist/esm/models/financialaccountresponsedto.d.ts +0 -1
- package/dist/esm/models/financialaccountresponsedto.d.ts.map +1 -1
- package/dist/esm/models/financialaccountresponsedto.js +0 -1
- package/dist/esm/models/financialaccountresponsedto.js.map +1 -1
- package/dist/esm/models/increasedatadto.d.ts +21 -0
- package/dist/esm/models/increasedatadto.d.ts.map +1 -0
- package/dist/esm/models/increasedatadto.js +23 -0
- package/dist/esm/models/increasedatadto.js.map +1 -0
- package/dist/esm/models/index.d.ts +13 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +13 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/ledgerentrysnapshotdto.d.ts +0 -5
- package/dist/esm/models/ledgerentrysnapshotdto.d.ts.map +1 -1
- package/dist/esm/models/ledgerentrysnapshotdto.js +0 -2
- package/dist/esm/models/ledgerentrysnapshotdto.js.map +1 -1
- package/dist/esm/models/lmsloantransactiontype.d.ts +34 -0
- package/dist/esm/models/lmsloantransactiontype.d.ts.map +1 -0
- package/dist/esm/models/lmsloantransactiontype.js +32 -0
- package/dist/esm/models/lmsloantransactiontype.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +4 -2
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -2
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/networkcontrollerexecutepurchase.d.ts +1 -1
- package/dist/esm/models/operations/networkcontrollerexecutepurchase.d.ts.map +1 -1
- package/dist/esm/models/operations/networkcontrollerexecutepurchase.js +1 -0
- package/dist/esm/models/operations/networkcontrollerexecutepurchase.js.map +1 -1
- package/dist/esm/models/operations/transactionscontrollercreate.d.ts +18 -0
- package/dist/esm/models/operations/transactionscontrollercreate.d.ts.map +1 -0
- package/dist/esm/models/operations/transactionscontrollercreate.js +20 -0
- package/dist/esm/models/operations/transactionscontrollercreate.js.map +1 -0
- package/dist/esm/models/operations/transactionscontrollerfindall.d.ts +44 -0
- package/dist/esm/models/operations/transactionscontrollerfindall.d.ts.map +1 -0
- package/dist/esm/models/operations/transactionscontrollerfindall.js +35 -0
- package/dist/esm/models/operations/transactionscontrollerfindall.js.map +1 -0
- package/dist/esm/models/operations/transactionscontrollerfindone.d.ts +15 -0
- package/dist/esm/models/operations/transactionscontrollerfindone.d.ts.map +1 -0
- package/dist/esm/models/operations/transactionscontrollerfindone.js +12 -0
- package/dist/esm/models/operations/transactionscontrollerfindone.js.map +1 -0
- package/dist/esm/models/operations/transactionscontrollerupdate.d.ts +18 -0
- package/dist/esm/models/operations/transactionscontrollerupdate.d.ts.map +1 -0
- package/dist/esm/models/operations/transactionscontrollerupdate.js +19 -0
- package/dist/esm/models/operations/transactionscontrollerupdate.js.map +1 -0
- package/dist/esm/models/paymentraildatadto.d.ts +0 -5
- package/dist/esm/models/paymentraildatadto.d.ts.map +1 -1
- package/dist/esm/models/paymentraildatadto.js +0 -4
- package/dist/esm/models/paymentraildatadto.js.map +1 -1
- package/dist/esm/models/paymentstatus.d.ts +22 -0
- package/dist/esm/models/paymentstatus.d.ts.map +1 -0
- package/dist/esm/models/paymentstatus.js +20 -0
- package/dist/esm/models/paymentstatus.js.map +1 -0
- package/dist/esm/models/platformsettingsdto.d.ts +0 -16
- package/dist/esm/models/platformsettingsdto.d.ts.map +1 -1
- package/dist/esm/models/platformsettingsdto.js +0 -8
- package/dist/esm/models/platformsettingsdto.js.map +1 -1
- package/dist/esm/models/purchasenotconfirmeddto.d.ts +13 -0
- package/dist/esm/models/purchasenotconfirmeddto.d.ts.map +1 -0
- package/dist/esm/models/purchasenotconfirmeddto.js +14 -0
- package/dist/esm/models/purchasenotconfirmeddto.js.map +1 -0
- package/dist/esm/models/storedtransactionlistresponsedto.d.ts +26 -0
- package/dist/esm/models/storedtransactionlistresponsedto.d.ts.map +1 -0
- package/dist/esm/models/storedtransactionlistresponsedto.js +23 -0
- package/dist/esm/models/storedtransactionlistresponsedto.js.map +1 -0
- package/dist/esm/models/storedtransactionresponsedto.d.ts +48 -0
- package/dist/esm/models/storedtransactionresponsedto.d.ts.map +1 -0
- package/dist/esm/models/storedtransactionresponsedto.js +31 -0
- package/dist/esm/models/storedtransactionresponsedto.js.map +1 -0
- package/dist/esm/models/transactiondirection.d.ts +12 -0
- package/dist/esm/models/transactiondirection.d.ts.map +1 -0
- package/dist/esm/models/transactiondirection.js +13 -0
- package/dist/esm/models/transactiondirection.js.map +1 -0
- package/dist/esm/models/transactionitemdto.d.ts +36 -0
- package/dist/esm/models/transactionitemdto.d.ts.map +1 -0
- package/dist/esm/models/transactionitemdto.js +17 -0
- package/dist/esm/models/transactionitemdto.js.map +1 -0
- package/dist/esm/models/transactionloandto.d.ts +25 -0
- package/dist/esm/models/transactionloandto.d.ts.map +1 -0
- package/dist/esm/models/transactionloandto.js +22 -0
- package/dist/esm/models/transactionloandto.js.map +1 -0
- package/dist/esm/models/transactionresponsedto.d.ts +56 -0
- package/dist/esm/models/transactionresponsedto.d.ts.map +1 -0
- package/dist/esm/models/transactionresponsedto.js +37 -0
- package/dist/esm/models/transactionresponsedto.js.map +1 -0
- package/dist/esm/models/transfermethodenum.d.ts +0 -1
- package/dist/esm/models/transfermethodenum.d.ts.map +1 -1
- package/dist/esm/models/transfermethodenum.js +0 -1
- package/dist/esm/models/transfermethodenum.js.map +1 -1
- package/dist/esm/models/updatefiledto.d.ts +8 -0
- package/dist/esm/models/updatefiledto.d.ts.map +1 -1
- package/dist/esm/models/updatefiledto.js +5 -0
- package/dist/esm/models/updatefiledto.js.map +1 -1
- package/dist/esm/models/updatetransactiondto.d.ts +36 -0
- package/dist/esm/models/updatetransactiondto.d.ts.map +1 -0
- package/dist/esm/models/updatetransactiondto.js +17 -0
- package/dist/esm/models/updatetransactiondto.js.map +1 -0
- package/dist/esm/models/uploadfilesdto.d.ts +8 -0
- package/dist/esm/models/uploadfilesdto.d.ts.map +1 -1
- package/dist/esm/models/uploadfilesdto.js +5 -0
- package/dist/esm/models/uploadfilesdto.js.map +1 -1
- package/dist/esm/models/uploadfilesmultipartdto.d.ts +3 -0
- package/dist/esm/models/uploadfilesmultipartdto.d.ts.map +1 -1
- package/dist/esm/models/uploadfilesmultipartdto.js +3 -0
- package/dist/esm/models/uploadfilesmultipartdto.js.map +1 -1
- package/dist/esm/sdk/networkledger.d.ts +1 -9
- package/dist/esm/sdk/networkledger.d.ts.map +1 -1
- package/dist/esm/sdk/networkledger.js +0 -14
- package/dist/esm/sdk/networkledger.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/transactions.d.ts +37 -0
- package/dist/esm/sdk/transactions.d.ts.map +1 -0
- package/dist/esm/sdk/transactions.js +49 -0
- package/dist/esm/sdk/transactions.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/filesUpload.ts +3 -0
- package/src/funcs/networkLedgerGetBusiness.ts +4 -4
- package/src/funcs/{networkLedgerUpdateHold.ts → transactionsCreateBatch.ts} +26 -47
- package/src/funcs/transactionsGetById.ts +184 -0
- package/src/funcs/transactionsList.ts +255 -0
- package/src/funcs/{networkLedgerRecordAdjustment.ts → transactionsTransactionsControllerUpdate.ts} +28 -53
- package/src/lib/config.ts +3 -3
- package/src/models/adjustmentresponsedto.ts +0 -6
- package/src/models/businessdataresponsedto.ts +94 -0
- package/src/models/businessrefdto.ts +7 -0
- package/src/models/businessresponsedto.ts +198 -31
- package/src/models/createadjustmentdto.ts +0 -6
- package/src/models/createfinancialaccountdto.ts +0 -1
- package/src/models/createplatformfinancialaccountdto.ts +0 -1
- package/src/models/createplatformsettingsdto.ts +0 -28
- package/src/models/createtransactionsdto.ts +51 -0
- package/src/models/fileresponsedto.ts +9 -0
- package/src/models/filetype.ts +3 -0
- package/src/models/financialaccountdatadto.ts +0 -9
- package/src/models/financialaccountresponsedto.ts +0 -1
- package/src/models/increasedatadto.ts +52 -0
- package/src/models/index.ts +13 -2
- package/src/models/ledgerentrysnapshotdto.ts +0 -7
- package/src/models/lmsloantransactiontype.ts +41 -0
- package/src/models/operations/index.ts +4 -2
- package/src/models/operations/networkcontrollerexecutepurchase.ts +3 -1
- package/src/models/operations/transactionscontrollercreate.ts +46 -0
- package/src/models/operations/transactionscontrollerfindall.ts +98 -0
- package/src/models/operations/transactionscontrollerfindone.ts +36 -0
- package/src/models/operations/transactionscontrollerupdate.ts +45 -0
- package/src/models/paymentraildatadto.ts +0 -9
- package/src/models/paymentstatus.ts +29 -0
- package/src/models/platformsettingsdto.ts +0 -24
- package/src/models/purchasenotconfirmeddto.ts +35 -0
- package/src/models/storedtransactionlistresponsedto.ts +59 -0
- package/src/models/storedtransactionresponsedto.ts +89 -0
- package/src/models/transactiondirection.ts +21 -0
- package/src/models/transactionitemdto.ts +62 -0
- package/src/models/transactionloandto.ts +55 -0
- package/src/models/transactionresponsedto.ts +104 -0
- package/src/models/transfermethodenum.ts +0 -1
- package/src/models/updatefiledto.ts +10 -0
- package/src/models/updatetransactiondto.ts +62 -0
- package/src/models/uploadfilesdto.ts +10 -0
- package/src/models/uploadfilesmultipartdto.ts +3 -0
- package/src/sdk/networkledger.ts +1 -35
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/transactions.ts +88 -0
- package/dist/commonjs/funcs/networkLedgerRecordAdjustment.d.ts.map +0 -1
- package/dist/commonjs/funcs/networkLedgerRecordAdjustment.js.map +0 -1
- package/dist/commonjs/funcs/networkLedgerUpdateHold.d.ts.map +0 -1
- package/dist/commonjs/funcs/networkLedgerUpdateHold.js.map +0 -1
- package/dist/commonjs/models/operations/networkcontrollerpatchhold.d.ts +0 -50
- package/dist/commonjs/models/operations/networkcontrollerpatchhold.d.ts.map +0 -1
- package/dist/commonjs/models/operations/networkcontrollerpatchhold.js.map +0 -1
- package/dist/commonjs/models/operations/networkcontrollerrecordadjustment.d.ts +0 -50
- package/dist/commonjs/models/operations/networkcontrollerrecordadjustment.d.ts.map +0 -1
- package/dist/commonjs/models/operations/networkcontrollerrecordadjustment.js.map +0 -1
- package/dist/commonjs/models/patchholdrequestdto.d.ts +0 -25
- package/dist/commonjs/models/patchholdrequestdto.d.ts.map +0 -1
- package/dist/commonjs/models/patchholdrequestdto.js.map +0 -1
- package/dist/commonjs/models/recordadjustmentrequestdto.d.ts +0 -71
- package/dist/commonjs/models/recordadjustmentrequestdto.d.ts.map +0 -1
- package/dist/commonjs/models/recordadjustmentrequestdto.js.map +0 -1
- package/dist/esm/funcs/networkLedgerRecordAdjustment.d.ts.map +0 -1
- package/dist/esm/funcs/networkLedgerRecordAdjustment.js.map +0 -1
- package/dist/esm/funcs/networkLedgerUpdateHold.d.ts.map +0 -1
- package/dist/esm/funcs/networkLedgerUpdateHold.js.map +0 -1
- package/dist/esm/models/operations/networkcontrollerpatchhold.d.ts +0 -50
- package/dist/esm/models/operations/networkcontrollerpatchhold.d.ts.map +0 -1
- package/dist/esm/models/operations/networkcontrollerpatchhold.js +0 -36
- package/dist/esm/models/operations/networkcontrollerpatchhold.js.map +0 -1
- package/dist/esm/models/operations/networkcontrollerrecordadjustment.d.ts +0 -50
- package/dist/esm/models/operations/networkcontrollerrecordadjustment.d.ts.map +0 -1
- package/dist/esm/models/operations/networkcontrollerrecordadjustment.js +0 -36
- package/dist/esm/models/operations/networkcontrollerrecordadjustment.js.map +0 -1
- package/dist/esm/models/patchholdrequestdto.d.ts +0 -25
- package/dist/esm/models/patchholdrequestdto.d.ts.map +0 -1
- package/dist/esm/models/patchholdrequestdto.js +0 -21
- package/dist/esm/models/patchholdrequestdto.js.map +0 -1
- package/dist/esm/models/recordadjustmentrequestdto.d.ts +0 -71
- package/dist/esm/models/recordadjustmentrequestdto.d.ts.map +0 -1
- package/dist/esm/models/recordadjustmentrequestdto.js +0 -42
- package/dist/esm/models/recordadjustmentrequestdto.js.map +0 -1
- package/src/models/operations/networkcontrollerpatchhold.ts +0 -105
- package/src/models/operations/networkcontrollerrecordadjustment.ts +0 -108
- package/src/models/patchholdrequestdto.ts +0 -53
- package/src/models/recordadjustmentrequestdto.ts +0 -105
|
@@ -0,0 +1,45 @@
|
|
|
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 * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type TransactionsControllerUpdateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* The stored transaction id
|
|
12
|
+
*/
|
|
13
|
+
transactionId: string;
|
|
14
|
+
updateTransactionDto: models.UpdateTransactionDto;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type TransactionsControllerUpdateRequest$Outbound = {
|
|
19
|
+
transactionId: string;
|
|
20
|
+
UpdateTransactionDto: models.UpdateTransactionDto$Outbound;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const TransactionsControllerUpdateRequest$outboundSchema: z.ZodType<
|
|
25
|
+
TransactionsControllerUpdateRequest$Outbound,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
TransactionsControllerUpdateRequest
|
|
28
|
+
> = z.object({
|
|
29
|
+
transactionId: z.string(),
|
|
30
|
+
updateTransactionDto: models.UpdateTransactionDto$outboundSchema,
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
updateTransactionDto: "UpdateTransactionDto",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function transactionsControllerUpdateRequestToJSON(
|
|
38
|
+
transactionsControllerUpdateRequest: TransactionsControllerUpdateRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
TransactionsControllerUpdateRequest$outboundSchema.parse(
|
|
42
|
+
transactionsControllerUpdateRequest,
|
|
43
|
+
),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
@@ -34,10 +34,6 @@ export type PaymentRailDataDto = {
|
|
|
34
34
|
* Direct Debit Authorization
|
|
35
35
|
*/
|
|
36
36
|
directDebitAuthorization?: string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Dwolla Funding Source Id
|
|
39
|
-
*/
|
|
40
|
-
fundingSourceId?: string | undefined;
|
|
41
37
|
/**
|
|
42
38
|
* Moov Payment Method Id
|
|
43
39
|
*/
|
|
@@ -92,7 +88,6 @@ export const PaymentRailDataDto$inboundSchema: z.ZodType<
|
|
|
92
88
|
account_number: types.optional(types.string()),
|
|
93
89
|
routing_number: types.optional(types.string()),
|
|
94
90
|
direct_debit_authorization: types.optional(types.string()),
|
|
95
|
-
funding_source_id: types.optional(types.string()),
|
|
96
91
|
moov_payment_method_id: types.optional(types.string()),
|
|
97
92
|
unit_account_id: types.optional(types.string()),
|
|
98
93
|
swift_code: types.optional(types.string()),
|
|
@@ -111,7 +106,6 @@ export const PaymentRailDataDto$inboundSchema: z.ZodType<
|
|
|
111
106
|
"account_number": "accountNumber",
|
|
112
107
|
"routing_number": "routingNumber",
|
|
113
108
|
"direct_debit_authorization": "directDebitAuthorization",
|
|
114
|
-
"funding_source_id": "fundingSourceId",
|
|
115
109
|
"moov_payment_method_id": "moovPaymentMethodId",
|
|
116
110
|
"unit_account_id": "unitAccountId",
|
|
117
111
|
"swift_code": "swiftCode",
|
|
@@ -131,7 +125,6 @@ export type PaymentRailDataDto$Outbound = {
|
|
|
131
125
|
account_number?: string | undefined;
|
|
132
126
|
routing_number?: string | undefined;
|
|
133
127
|
direct_debit_authorization?: string | undefined;
|
|
134
|
-
funding_source_id?: string | undefined;
|
|
135
128
|
moov_payment_method_id?: string | undefined;
|
|
136
129
|
unit_account_id?: string | undefined;
|
|
137
130
|
swift_code?: string | undefined;
|
|
@@ -156,7 +149,6 @@ export const PaymentRailDataDto$outboundSchema: z.ZodType<
|
|
|
156
149
|
accountNumber: z.string().optional(),
|
|
157
150
|
routingNumber: z.string().optional(),
|
|
158
151
|
directDebitAuthorization: z.string().optional(),
|
|
159
|
-
fundingSourceId: z.string().optional(),
|
|
160
152
|
moovPaymentMethodId: z.string().optional(),
|
|
161
153
|
unitAccountId: z.string().optional(),
|
|
162
154
|
swiftCode: z.string().optional(),
|
|
@@ -175,7 +167,6 @@ export const PaymentRailDataDto$outboundSchema: z.ZodType<
|
|
|
175
167
|
accountNumber: "account_number",
|
|
176
168
|
routingNumber: "routing_number",
|
|
177
169
|
directDebitAuthorization: "direct_debit_authorization",
|
|
178
|
-
fundingSourceId: "funding_source_id",
|
|
179
170
|
moovPaymentMethodId: "moov_payment_method_id",
|
|
180
171
|
unitAccountId: "unit_account_id",
|
|
181
172
|
swiftCode: "swift_code",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The status of the transaction (derived from the payment rail status).
|
|
10
|
+
*/
|
|
11
|
+
export const PaymentStatus = {
|
|
12
|
+
Pending: "PENDING",
|
|
13
|
+
Processing: "PROCESSING",
|
|
14
|
+
Processed: "PROCESSED",
|
|
15
|
+
Succeeded: "SUCCEEDED",
|
|
16
|
+
Failed: "FAILED",
|
|
17
|
+
Corrected: "CORRECTED",
|
|
18
|
+
Canceled: "CANCELED",
|
|
19
|
+
Error: "ERROR",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* The status of the transaction (derived from the payment rail status).
|
|
23
|
+
*/
|
|
24
|
+
export type PaymentStatus = ClosedEnum<typeof PaymentStatus>;
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const PaymentStatus$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof PaymentStatus
|
|
29
|
+
> = z.nativeEnum(PaymentStatus);
|
|
@@ -70,14 +70,6 @@ export type PlatformSettingsDto = {
|
|
|
70
70
|
* Plaid client ID
|
|
71
71
|
*/
|
|
72
72
|
plaidClientId?: string | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* Dwolla client ID
|
|
75
|
-
*/
|
|
76
|
-
dwollaClientId?: string | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* Dwolla client secret
|
|
79
|
-
*/
|
|
80
|
-
dwollaClientSecret?: string | undefined;
|
|
81
73
|
/**
|
|
82
74
|
* MOOV payment method ID
|
|
83
75
|
*/
|
|
@@ -166,14 +158,6 @@ export type PlatformSettingsDto = {
|
|
|
166
158
|
* Codat API key for accounting integration
|
|
167
159
|
*/
|
|
168
160
|
codatApiKey?: string | undefined;
|
|
169
|
-
/**
|
|
170
|
-
* OatFi Dwolla funding source
|
|
171
|
-
*/
|
|
172
|
-
oatfiDwollaFundingSource?: string | undefined;
|
|
173
|
-
/**
|
|
174
|
-
* OatFi SPV Dwolla funding source
|
|
175
|
-
*/
|
|
176
|
-
oatfiSpvDwollaFundingSource?: string | undefined;
|
|
177
161
|
/**
|
|
178
162
|
* Enable AAN (Account and Network)
|
|
179
163
|
*/
|
|
@@ -235,8 +219,6 @@ export const PlatformSettingsDto$inboundSchema: z.ZodType<
|
|
|
235
219
|
stripe_repayment_enabled: types.optional(types.boolean()),
|
|
236
220
|
plaid_api_key: types.optional(types.string()),
|
|
237
221
|
plaid_client_id: types.optional(types.string()),
|
|
238
|
-
dwolla_client_id: types.optional(types.string()),
|
|
239
|
-
dwolla_client_secret: types.optional(types.string()),
|
|
240
222
|
moov_payment_method_id: types.optional(types.string()),
|
|
241
223
|
account_number: types.optional(types.string()),
|
|
242
224
|
routing_number: types.optional(types.string()),
|
|
@@ -263,8 +245,6 @@ export const PlatformSettingsDto$inboundSchema: z.ZodType<
|
|
|
263
245
|
credit_facility: types.optional(types.string()),
|
|
264
246
|
portfolio: types.optional(types.string()),
|
|
265
247
|
codat_api_key: types.optional(types.string()),
|
|
266
|
-
oatfi_dwolla_funding_source: types.optional(types.string()),
|
|
267
|
-
oatfi_spv_dwolla_funding_source: types.optional(types.string()),
|
|
268
248
|
aan_enable: types.optional(types.boolean()),
|
|
269
249
|
aan_configuration: types.optional(AANConfigPartnerSettingsDto$inboundSchema),
|
|
270
250
|
branding_configuration: types.optional(
|
|
@@ -290,8 +270,6 @@ export const PlatformSettingsDto$inboundSchema: z.ZodType<
|
|
|
290
270
|
"stripe_repayment_enabled": "stripeRepaymentEnabled",
|
|
291
271
|
"plaid_api_key": "plaidApiKey",
|
|
292
272
|
"plaid_client_id": "plaidClientId",
|
|
293
|
-
"dwolla_client_id": "dwollaClientId",
|
|
294
|
-
"dwolla_client_secret": "dwollaClientSecret",
|
|
295
273
|
"moov_payment_method_id": "moovPaymentMethodId",
|
|
296
274
|
"account_number": "accountNumber",
|
|
297
275
|
"routing_number": "routingNumber",
|
|
@@ -313,8 +291,6 @@ export const PlatformSettingsDto$inboundSchema: z.ZodType<
|
|
|
313
291
|
"operating_account": "operatingAccount",
|
|
314
292
|
"credit_facility": "creditFacility",
|
|
315
293
|
"codat_api_key": "codatApiKey",
|
|
316
|
-
"oatfi_dwolla_funding_source": "oatfiDwollaFundingSource",
|
|
317
|
-
"oatfi_spv_dwolla_funding_source": "oatfiSpvDwollaFundingSource",
|
|
318
294
|
"aan_enable": "aanEnable",
|
|
319
295
|
"aan_configuration": "aanConfiguration",
|
|
320
296
|
"branding_configuration": "brandingConfiguration",
|
|
@@ -0,0 +1,35 @@
|
|
|
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 * as types from "../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type PurchaseNotConfirmedDto = {
|
|
12
|
+
/**
|
|
13
|
+
* Not confirmed.
|
|
14
|
+
*/
|
|
15
|
+
confirmed: boolean;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const PurchaseNotConfirmedDto$inboundSchema: z.ZodType<
|
|
20
|
+
PurchaseNotConfirmedDto,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
confirmed: types.boolean(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function purchaseNotConfirmedDtoFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<PurchaseNotConfirmedDto, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => PurchaseNotConfirmedDto$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'PurchaseNotConfirmedDto' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import * as types from "../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
StoredTransactionResponseDto,
|
|
13
|
+
StoredTransactionResponseDto$inboundSchema,
|
|
14
|
+
} from "./storedtransactionresponsedto.js";
|
|
15
|
+
|
|
16
|
+
export type StoredTransactionListResponseDto = {
|
|
17
|
+
/**
|
|
18
|
+
* Type of the response
|
|
19
|
+
*/
|
|
20
|
+
object: string;
|
|
21
|
+
/**
|
|
22
|
+
* Array of stored transaction objects
|
|
23
|
+
*/
|
|
24
|
+
data: Array<StoredTransactionResponseDto>;
|
|
25
|
+
/**
|
|
26
|
+
* Whether there are more items to fetch
|
|
27
|
+
*/
|
|
28
|
+
hasMore: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Total number of items
|
|
31
|
+
*/
|
|
32
|
+
total: number;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const StoredTransactionListResponseDto$inboundSchema: z.ZodType<
|
|
37
|
+
StoredTransactionListResponseDto,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
object: types.string().default("list"),
|
|
42
|
+
data: z.array(StoredTransactionResponseDto$inboundSchema),
|
|
43
|
+
has_more: types.boolean(),
|
|
44
|
+
total: types.number(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
"has_more": "hasMore",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export function storedTransactionListResponseDtoFromJSON(
|
|
52
|
+
jsonString: string,
|
|
53
|
+
): SafeParseResult<StoredTransactionListResponseDto, SDKValidationError> {
|
|
54
|
+
return safeParse(
|
|
55
|
+
jsonString,
|
|
56
|
+
(x) => StoredTransactionListResponseDto$inboundSchema.parse(JSON.parse(x)),
|
|
57
|
+
`Failed to parse 'StoredTransactionListResponseDto' from JSON`,
|
|
58
|
+
);
|
|
59
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import * as types from "../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
TransactionDirection,
|
|
13
|
+
TransactionDirection$inboundSchema,
|
|
14
|
+
} from "./transactiondirection.js";
|
|
15
|
+
|
|
16
|
+
export type StoredTransactionResponseDto = {
|
|
17
|
+
object: string;
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the transaction
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* Transaction amount in cents
|
|
24
|
+
*/
|
|
25
|
+
amount: number;
|
|
26
|
+
/**
|
|
27
|
+
* Human-readable description of the transaction
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
* Partner-defined transaction type
|
|
32
|
+
*/
|
|
33
|
+
type: string;
|
|
34
|
+
direction: TransactionDirection;
|
|
35
|
+
/**
|
|
36
|
+
* Business the transaction belongs to
|
|
37
|
+
*/
|
|
38
|
+
business: string;
|
|
39
|
+
/**
|
|
40
|
+
* Loan program the transaction belongs to
|
|
41
|
+
*/
|
|
42
|
+
program: string;
|
|
43
|
+
/**
|
|
44
|
+
* Transaction date (ISO 8601)
|
|
45
|
+
*/
|
|
46
|
+
date: string;
|
|
47
|
+
/**
|
|
48
|
+
* Creation timestamp (ISO 8601)
|
|
49
|
+
*/
|
|
50
|
+
createdAt: string;
|
|
51
|
+
/**
|
|
52
|
+
* Last update timestamp (ISO 8601)
|
|
53
|
+
*/
|
|
54
|
+
updatedAt: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const StoredTransactionResponseDto$inboundSchema: z.ZodType<
|
|
59
|
+
StoredTransactionResponseDto,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
unknown
|
|
62
|
+
> = z.object({
|
|
63
|
+
object: types.string().default("transaction"),
|
|
64
|
+
id: types.string(),
|
|
65
|
+
amount: types.number(),
|
|
66
|
+
description: types.string(),
|
|
67
|
+
type: types.string(),
|
|
68
|
+
direction: TransactionDirection$inboundSchema,
|
|
69
|
+
business: types.string(),
|
|
70
|
+
program: types.string(),
|
|
71
|
+
date: types.string(),
|
|
72
|
+
created_at: types.string(),
|
|
73
|
+
updated_at: types.string(),
|
|
74
|
+
}).transform((v) => {
|
|
75
|
+
return remap$(v, {
|
|
76
|
+
"created_at": "createdAt",
|
|
77
|
+
"updated_at": "updatedAt",
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export function storedTransactionResponseDtoFromJSON(
|
|
82
|
+
jsonString: string,
|
|
83
|
+
): SafeParseResult<StoredTransactionResponseDto, SDKValidationError> {
|
|
84
|
+
return safeParse(
|
|
85
|
+
jsonString,
|
|
86
|
+
(x) => StoredTransactionResponseDto$inboundSchema.parse(JSON.parse(x)),
|
|
87
|
+
`Failed to parse 'StoredTransactionResponseDto' from JSON`,
|
|
88
|
+
);
|
|
89
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const TransactionDirection = {
|
|
9
|
+
Credit: "credit",
|
|
10
|
+
Debit: "debit",
|
|
11
|
+
} as const;
|
|
12
|
+
export type TransactionDirection = ClosedEnum<typeof TransactionDirection>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const TransactionDirection$inboundSchema: z.ZodNativeEnum<
|
|
16
|
+
typeof TransactionDirection
|
|
17
|
+
> = z.nativeEnum(TransactionDirection);
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const TransactionDirection$outboundSchema: z.ZodNativeEnum<
|
|
20
|
+
typeof TransactionDirection
|
|
21
|
+
> = TransactionDirection$inboundSchema;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import {
|
|
7
|
+
TransactionDirection,
|
|
8
|
+
TransactionDirection$outboundSchema,
|
|
9
|
+
} from "./transactiondirection.js";
|
|
10
|
+
|
|
11
|
+
export type TransactionItemDto = {
|
|
12
|
+
/**
|
|
13
|
+
* Transaction amount in cents
|
|
14
|
+
*/
|
|
15
|
+
amount: number;
|
|
16
|
+
/**
|
|
17
|
+
* Human-readable description of the transaction
|
|
18
|
+
*/
|
|
19
|
+
description: string;
|
|
20
|
+
/**
|
|
21
|
+
* Partner-defined transaction type (free-form)
|
|
22
|
+
*/
|
|
23
|
+
type: string;
|
|
24
|
+
/**
|
|
25
|
+
* credit (refund/return) or debit (purchase/spend)
|
|
26
|
+
*/
|
|
27
|
+
direction: TransactionDirection;
|
|
28
|
+
/**
|
|
29
|
+
* Transaction date (ISO 8601)
|
|
30
|
+
*/
|
|
31
|
+
date: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type TransactionItemDto$Outbound = {
|
|
36
|
+
amount: number;
|
|
37
|
+
description: string;
|
|
38
|
+
type: string;
|
|
39
|
+
direction: string;
|
|
40
|
+
date: string;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const TransactionItemDto$outboundSchema: z.ZodType<
|
|
45
|
+
TransactionItemDto$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
TransactionItemDto
|
|
48
|
+
> = z.object({
|
|
49
|
+
amount: z.number(),
|
|
50
|
+
description: z.string(),
|
|
51
|
+
type: z.string(),
|
|
52
|
+
direction: TransactionDirection$outboundSchema,
|
|
53
|
+
date: z.string(),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function transactionItemDtoToJSON(
|
|
57
|
+
transactionItemDto: TransactionItemDto,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
TransactionItemDto$outboundSchema.parse(transactionItemDto),
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import * as types from "../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type TransactionLoanDto = {
|
|
13
|
+
/**
|
|
14
|
+
* The origination (loan) id the transaction line belongs to.
|
|
15
|
+
*/
|
|
16
|
+
origination?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The original amount of the loan in cents.
|
|
19
|
+
*/
|
|
20
|
+
amount?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The payment intent (invoice) id linked to the loan.
|
|
23
|
+
*/
|
|
24
|
+
paymentIntent?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The business id the loan belongs to.
|
|
27
|
+
*/
|
|
28
|
+
business?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const TransactionLoanDto$inboundSchema: z.ZodType<
|
|
33
|
+
TransactionLoanDto,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
origination: types.optional(types.string()),
|
|
38
|
+
amount: types.optional(types.number()),
|
|
39
|
+
payment_intent: types.optional(types.string()),
|
|
40
|
+
business: types.optional(types.string()),
|
|
41
|
+
}).transform((v) => {
|
|
42
|
+
return remap$(v, {
|
|
43
|
+
"payment_intent": "paymentIntent",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function transactionLoanDtoFromJSON(
|
|
48
|
+
jsonString: string,
|
|
49
|
+
): SafeParseResult<TransactionLoanDto, SDKValidationError> {
|
|
50
|
+
return safeParse(
|
|
51
|
+
jsonString,
|
|
52
|
+
(x) => TransactionLoanDto$inboundSchema.parse(JSON.parse(x)),
|
|
53
|
+
`Failed to parse 'TransactionLoanDto' from JSON`,
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import * as types from "../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
LmsLoanTransactionType,
|
|
13
|
+
LmsLoanTransactionType$inboundSchema,
|
|
14
|
+
} from "./lmsloantransactiontype.js";
|
|
15
|
+
import { PaymentStatus, PaymentStatus$inboundSchema } from "./paymentstatus.js";
|
|
16
|
+
import {
|
|
17
|
+
TransactionLoanDto,
|
|
18
|
+
TransactionLoanDto$inboundSchema,
|
|
19
|
+
} from "./transactionloandto.js";
|
|
20
|
+
|
|
21
|
+
export type TransactionResponseDto = {
|
|
22
|
+
/**
|
|
23
|
+
* The transaction id (the transfer id that comes from the payment rail).
|
|
24
|
+
*/
|
|
25
|
+
transaction: string;
|
|
26
|
+
/**
|
|
27
|
+
* String identifier of the object.
|
|
28
|
+
*/
|
|
29
|
+
object: string;
|
|
30
|
+
/**
|
|
31
|
+
* The total amount of the transaction in cents.
|
|
32
|
+
*/
|
|
33
|
+
amount?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* The fed trace number of the transfer.
|
|
36
|
+
*/
|
|
37
|
+
fedTraceNumber?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Unique payment reference number to track the transfer from the initiating bank to the receiving bank.
|
|
40
|
+
*/
|
|
41
|
+
clearingReference?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The status of the transaction (derived from the payment rail status).
|
|
44
|
+
*/
|
|
45
|
+
status?: PaymentStatus | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The date of the transaction as an epoch timestamp in milliseconds.
|
|
48
|
+
*/
|
|
49
|
+
transactionDate?: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The financial account (payment method) id used for the transfer.
|
|
52
|
+
*/
|
|
53
|
+
financialAccount?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* The type of the transaction.
|
|
56
|
+
*/
|
|
57
|
+
transactionType?: LmsLoanTransactionType | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The total number of originations in the transaction (full count, not the size of the returned page).
|
|
60
|
+
*/
|
|
61
|
+
totalOriginations: number;
|
|
62
|
+
/**
|
|
63
|
+
* The originations included in the transaction. This is a paginated subset controlled by pageNumber/pageSize; it may contain fewer items than total_originations.
|
|
64
|
+
*/
|
|
65
|
+
originations: Array<TransactionLoanDto>;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const TransactionResponseDto$inboundSchema: z.ZodType<
|
|
70
|
+
TransactionResponseDto,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
unknown
|
|
73
|
+
> = z.object({
|
|
74
|
+
transaction: types.string(),
|
|
75
|
+
object: types.string(),
|
|
76
|
+
amount: types.optional(types.number()),
|
|
77
|
+
fed_trace_number: types.optional(types.string()),
|
|
78
|
+
clearing_reference: types.optional(types.string()),
|
|
79
|
+
status: types.optional(PaymentStatus$inboundSchema),
|
|
80
|
+
transaction_date: types.optional(types.number()),
|
|
81
|
+
financial_account: types.optional(types.string()),
|
|
82
|
+
transaction_type: types.optional(LmsLoanTransactionType$inboundSchema),
|
|
83
|
+
total_originations: types.number(),
|
|
84
|
+
originations: z.array(TransactionLoanDto$inboundSchema),
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
"fed_trace_number": "fedTraceNumber",
|
|
88
|
+
"clearing_reference": "clearingReference",
|
|
89
|
+
"transaction_date": "transactionDate",
|
|
90
|
+
"financial_account": "financialAccount",
|
|
91
|
+
"transaction_type": "transactionType",
|
|
92
|
+
"total_originations": "totalOriginations",
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export function transactionResponseDtoFromJSON(
|
|
97
|
+
jsonString: string,
|
|
98
|
+
): SafeParseResult<TransactionResponseDto, SDKValidationError> {
|
|
99
|
+
return safeParse(
|
|
100
|
+
jsonString,
|
|
101
|
+
(x) => TransactionResponseDto$inboundSchema.parse(JSON.parse(x)),
|
|
102
|
+
`Failed to parse 'TransactionResponseDto' from JSON`,
|
|
103
|
+
);
|
|
104
|
+
}
|
|
@@ -17,6 +17,9 @@ export const UpdateFileDtoFileType = {
|
|
|
17
17
|
EinLetter: "ein_letter",
|
|
18
18
|
AccountingData: "accounting_data",
|
|
19
19
|
FinancialStatements: "financial_statements",
|
|
20
|
+
BalanceSheet: "balance_sheet",
|
|
21
|
+
ProfitLoss: "profit_loss",
|
|
22
|
+
TermsDoc: "terms_doc",
|
|
20
23
|
CorporateFormationDocument: "corporate_formation_document",
|
|
21
24
|
CertificateOfGoodStanding: "certificate_of_good_standing",
|
|
22
25
|
DriversLicense: "drivers_license",
|
|
@@ -53,6 +56,10 @@ export type UpdateFileDto = {
|
|
|
53
56
|
* Optional description of the file
|
|
54
57
|
*/
|
|
55
58
|
description: string;
|
|
59
|
+
/**
|
|
60
|
+
* Optional calendar date associated with the document (e.g. the statement or invoice date). Format: YYYY-MM-DD.
|
|
61
|
+
*/
|
|
62
|
+
documentDate?: string | undefined;
|
|
56
63
|
/**
|
|
57
64
|
* Additional metadata about the file
|
|
58
65
|
*/
|
|
@@ -68,6 +75,7 @@ export const UpdateFileDtoFileType$outboundSchema: z.ZodNativeEnum<
|
|
|
68
75
|
export type UpdateFileDto$Outbound = {
|
|
69
76
|
file_type: string;
|
|
70
77
|
description: string;
|
|
78
|
+
document_date?: string | undefined;
|
|
71
79
|
metadata: { [k: string]: any };
|
|
72
80
|
};
|
|
73
81
|
|
|
@@ -79,10 +87,12 @@ export const UpdateFileDto$outboundSchema: z.ZodType<
|
|
|
79
87
|
> = z.object({
|
|
80
88
|
fileType: UpdateFileDtoFileType$outboundSchema,
|
|
81
89
|
description: z.string(),
|
|
90
|
+
documentDate: z.string().optional(),
|
|
82
91
|
metadata: z.record(z.any()),
|
|
83
92
|
}).transform((v) => {
|
|
84
93
|
return remap$(v, {
|
|
85
94
|
fileType: "file_type",
|
|
95
|
+
documentDate: "document_date",
|
|
86
96
|
});
|
|
87
97
|
});
|
|
88
98
|
|