@oatfi/oatfi-sdk-ts 0.12.5 → 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 +3 -4
- package/dist/commonjs/funcs/filesUpload.js +3 -0
- package/dist/commonjs/funcs/filesUpload.js.map +1 -1
- package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.d.ts +20 -0
- package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/{networkLedgerUpdateHold.js → transactionsTransactionsControllerUpdate.js} +21 -26
- 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/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/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/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/index.d.ts +2 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -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 +1 -0
- package/dist/commonjs/models/lmsloantransactiontype.d.ts.map +1 -1
- package/dist/commonjs/models/lmsloantransactiontype.js +1 -0
- package/dist/commonjs/models/lmsloantransactiontype.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -2
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -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/transactionscontrollerupdate.d.ts +18 -0
- package/dist/commonjs/models/operations/transactionscontrollerupdate.d.ts.map +1 -0
- package/dist/commonjs/models/{patchholdrequestdto.js → operations/transactionscontrollerupdate.js} +11 -13
- 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/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/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/{recordadjustmentrequestdto.js → updatetransactiondto.js} +11 -36
- 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 +0 -8
- 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/transactions.d.ts +7 -0
- package/dist/commonjs/sdk/transactions.d.ts.map +1 -1
- package/dist/commonjs/sdk/transactions.js +10 -0
- package/dist/commonjs/sdk/transactions.js.map +1 -1
- package/dist/esm/funcs/filesUpload.js +3 -0
- package/dist/esm/funcs/filesUpload.js.map +1 -1
- 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/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/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/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/index.d.ts +2 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -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 +1 -0
- package/dist/esm/models/lmsloantransactiontype.d.ts.map +1 -1
- package/dist/esm/models/lmsloantransactiontype.js +1 -0
- package/dist/esm/models/lmsloantransactiontype.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -2
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -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/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/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/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 +0 -8
- 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/transactions.d.ts +7 -0
- package/dist/esm/sdk/transactions.d.ts.map +1 -1
- package/dist/esm/sdk/transactions.js +10 -0
- package/dist/esm/sdk/transactions.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/filesUpload.ts +3 -0
- package/src/funcs/{networkLedgerUpdateHold.ts → transactionsTransactionsControllerUpdate.ts} +26 -46
- package/src/lib/config.ts +3 -3
- package/src/models/adjustmentresponsedto.ts +0 -6
- package/src/models/businessrefdto.ts +7 -0
- 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/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/index.ts +2 -2
- package/src/models/ledgerentrysnapshotdto.ts +0 -7
- package/src/models/lmsloantransactiontype.ts +1 -0
- package/src/models/operations/index.ts +1 -2
- package/src/models/operations/networkcontrollerexecutepurchase.ts +3 -1
- package/src/models/operations/transactionscontrollerupdate.ts +45 -0
- package/src/models/paymentraildatadto.ts +0 -9
- package/src/models/platformsettingsdto.ts +0 -24
- package/src/models/purchasenotconfirmeddto.ts +35 -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 +0 -34
- package/src/sdk/transactions.ts +18 -0
- package/dist/commonjs/funcs/networkLedgerRecordAdjustment.d.ts +0 -15
- package/dist/commonjs/funcs/networkLedgerRecordAdjustment.d.ts.map +0 -1
- package/dist/commonjs/funcs/networkLedgerRecordAdjustment.js +0 -139
- package/dist/commonjs/funcs/networkLedgerRecordAdjustment.js.map +0 -1
- package/dist/commonjs/funcs/networkLedgerUpdateHold.d.ts +0 -15
- 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 +0 -74
- 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 +0 -74
- 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 +0 -15
- package/dist/esm/funcs/networkLedgerRecordAdjustment.d.ts.map +0 -1
- package/dist/esm/funcs/networkLedgerRecordAdjustment.js +0 -103
- package/dist/esm/funcs/networkLedgerRecordAdjustment.js.map +0 -1
- package/dist/esm/funcs/networkLedgerUpdateHold.d.ts +0 -15
- 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/funcs/networkLedgerRecordAdjustment.ts +0 -212
- 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
|
@@ -41,6 +41,9 @@ export const FileResponseDtoFileType = {
|
|
|
41
41
|
EinLetter: "ein_letter",
|
|
42
42
|
AccountingData: "accounting_data",
|
|
43
43
|
FinancialStatements: "financial_statements",
|
|
44
|
+
BalanceSheet: "balance_sheet",
|
|
45
|
+
ProfitLoss: "profit_loss",
|
|
46
|
+
TermsDoc: "terms_doc",
|
|
44
47
|
CorporateFormationDocument: "corporate_formation_document",
|
|
45
48
|
CertificateOfGoodStanding: "certificate_of_good_standing",
|
|
46
49
|
DriversLicense: "drivers_license",
|
|
@@ -124,6 +127,10 @@ export type FileResponseDto = {
|
|
|
124
127
|
* Additional metadata about the file
|
|
125
128
|
*/
|
|
126
129
|
metadata?: FileResponseDtoMetadata | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Optional calendar date associated with the document (e.g. the statement or invoice date). Format: YYYY-MM-DD.
|
|
132
|
+
*/
|
|
133
|
+
documentDate?: string | undefined;
|
|
127
134
|
/**
|
|
128
135
|
* When the file was created
|
|
129
136
|
*/
|
|
@@ -179,6 +186,7 @@ export const FileResponseDto$inboundSchema: z.ZodType<
|
|
|
179
186
|
file_url: types.optional(types.string()),
|
|
180
187
|
description: types.optional(types.string()),
|
|
181
188
|
metadata: types.optional(z.lazy(() => FileResponseDtoMetadata$inboundSchema)),
|
|
189
|
+
document_date: types.optional(types.string()),
|
|
182
190
|
created_at: types.optional(types.string()),
|
|
183
191
|
updated_at: types.optional(types.string()),
|
|
184
192
|
}).transform((v) => {
|
|
@@ -190,6 +198,7 @@ export const FileResponseDto$inboundSchema: z.ZodType<
|
|
|
190
198
|
"file_size": "fileSize",
|
|
191
199
|
"mime_type": "mimeType",
|
|
192
200
|
"file_url": "fileUrl",
|
|
201
|
+
"document_date": "documentDate",
|
|
193
202
|
"created_at": "createdAt",
|
|
194
203
|
"updated_at": "updatedAt",
|
|
195
204
|
});
|
package/src/models/filetype.ts
CHANGED
|
@@ -16,6 +16,9 @@ export const FileType = {
|
|
|
16
16
|
EinLetter: "ein_letter",
|
|
17
17
|
AccountingData: "accounting_data",
|
|
18
18
|
FinancialStatements: "financial_statements",
|
|
19
|
+
BalanceSheet: "balance_sheet",
|
|
20
|
+
ProfitLoss: "profit_loss",
|
|
21
|
+
TermsDoc: "terms_doc",
|
|
19
22
|
CorporateFormationDocument: "corporate_formation_document",
|
|
20
23
|
CertificateOfGoodStanding: "certificate_of_good_standing",
|
|
21
24
|
DriversLicense: "drivers_license",
|
|
@@ -98,10 +98,6 @@ export type FinancialAccountDataDto = {
|
|
|
98
98
|
* Direct Debit Authorization
|
|
99
99
|
*/
|
|
100
100
|
directDebitAuthorization?: DirectDebitAuthorization | undefined;
|
|
101
|
-
/**
|
|
102
|
-
* Dwolla Funding Source Id
|
|
103
|
-
*/
|
|
104
|
-
fundingSourceId?: string | undefined;
|
|
105
101
|
/**
|
|
106
102
|
* Moov Payment Method Id
|
|
107
103
|
*/
|
|
@@ -283,7 +279,6 @@ export const FinancialAccountDataDto$inboundSchema: z.ZodType<
|
|
|
283
279
|
direct_debit_authorization: types.optional(
|
|
284
280
|
z.lazy(() => DirectDebitAuthorization$inboundSchema),
|
|
285
281
|
),
|
|
286
|
-
funding_source_id: types.optional(types.string()),
|
|
287
282
|
moov_payment_method_id: types.optional(types.string()),
|
|
288
283
|
unit_account_id: types.optional(types.string()),
|
|
289
284
|
swift_code: types.optional(types.string()),
|
|
@@ -302,7 +297,6 @@ export const FinancialAccountDataDto$inboundSchema: z.ZodType<
|
|
|
302
297
|
"account_number": "accountNumber",
|
|
303
298
|
"routing_number": "routingNumber",
|
|
304
299
|
"direct_debit_authorization": "directDebitAuthorization",
|
|
305
|
-
"funding_source_id": "fundingSourceId",
|
|
306
300
|
"moov_payment_method_id": "moovPaymentMethodId",
|
|
307
301
|
"unit_account_id": "unitAccountId",
|
|
308
302
|
"swift_code": "swiftCode",
|
|
@@ -322,7 +316,6 @@ export type FinancialAccountDataDto$Outbound = {
|
|
|
322
316
|
account_number?: string | undefined;
|
|
323
317
|
routing_number?: string | undefined;
|
|
324
318
|
direct_debit_authorization?: DirectDebitAuthorization$Outbound | undefined;
|
|
325
|
-
funding_source_id?: string | undefined;
|
|
326
319
|
moov_payment_method_id?: string | undefined;
|
|
327
320
|
unit_account_id?: string | undefined;
|
|
328
321
|
swift_code?: string | undefined;
|
|
@@ -349,7 +342,6 @@ export const FinancialAccountDataDto$outboundSchema: z.ZodType<
|
|
|
349
342
|
directDebitAuthorization: z.lazy(() =>
|
|
350
343
|
DirectDebitAuthorization$outboundSchema
|
|
351
344
|
).optional(),
|
|
352
|
-
fundingSourceId: z.string().optional(),
|
|
353
345
|
moovPaymentMethodId: z.string().optional(),
|
|
354
346
|
unitAccountId: z.string().optional(),
|
|
355
347
|
swiftCode: z.string().optional(),
|
|
@@ -368,7 +360,6 @@ export const FinancialAccountDataDto$outboundSchema: z.ZodType<
|
|
|
368
360
|
accountNumber: "account_number",
|
|
369
361
|
routingNumber: "routing_number",
|
|
370
362
|
directDebitAuthorization: "direct_debit_authorization",
|
|
371
|
-
fundingSourceId: "funding_source_id",
|
|
372
363
|
moovPaymentMethodId: "moov_payment_method_id",
|
|
373
364
|
unitAccountId: "unit_account_id",
|
|
374
365
|
swiftCode: "swift_code",
|
package/src/models/index.ts
CHANGED
|
@@ -162,7 +162,6 @@ export * from "./originationsimulationresponsedto.js";
|
|
|
162
162
|
export * from "./outstandingbalancedto.js";
|
|
163
163
|
export * from "./partneragreementassignmentlistresponsedto.js";
|
|
164
164
|
export * from "./partneragreementassignmentresponsedto.js";
|
|
165
|
-
export * from "./patchholdrequestdto.js";
|
|
166
165
|
export * from "./paymentdto.js";
|
|
167
166
|
export * from "./paymentinformationdto.js";
|
|
168
167
|
export * from "./paymentintentbalancebyproductdto.js";
|
|
@@ -192,7 +191,7 @@ export * from "./programsettingsfeerangedto.js";
|
|
|
192
191
|
export * from "./programsettingsresponsedto.js";
|
|
193
192
|
export * from "./programunderwritingsettingsdto.js";
|
|
194
193
|
export * from "./purchaseexecutionrequestdto.js";
|
|
195
|
-
export * from "./
|
|
194
|
+
export * from "./purchasenotconfirmeddto.js";
|
|
196
195
|
export * from "./refreshtokendto.js";
|
|
197
196
|
export * from "./regenerateapikeydto.js";
|
|
198
197
|
export * from "./releaseippholdrequestdto.js";
|
|
@@ -251,6 +250,7 @@ export * from "./updateplatformscopesdto.js";
|
|
|
251
250
|
export * from "./updateprogrambillingcycledto.js";
|
|
252
251
|
export * from "./updateprogramdto.js";
|
|
253
252
|
export * from "./updateprogramsettingdto.js";
|
|
253
|
+
export * from "./updatetransactiondto.js";
|
|
254
254
|
export * from "./uploadfilesdto.js";
|
|
255
255
|
export * from "./uploadfilesmultipartdto.js";
|
|
256
256
|
export * from "./upsertusersdto.js";
|
|
@@ -15,10 +15,6 @@ export type LedgerEntrySnapshotDto = {
|
|
|
15
15
|
* Partner-assigned identifier (e.g. partner invoice id).
|
|
16
16
|
*/
|
|
17
17
|
externalId: string;
|
|
18
|
-
/**
|
|
19
|
-
* The program's external_program_id (the LMS/IPP-owned identifier) — never the Network-internal programs.id.
|
|
20
|
-
*/
|
|
21
|
-
programId: string;
|
|
22
18
|
buyer: BusinessRefDto;
|
|
23
19
|
vendor: BusinessRefDto;
|
|
24
20
|
/**
|
|
@@ -54,7 +50,6 @@ export type LedgerEntrySnapshotDto = {
|
|
|
54
50
|
/** @internal */
|
|
55
51
|
export type LedgerEntrySnapshotDto$Outbound = {
|
|
56
52
|
external_id: string;
|
|
57
|
-
program_id: string;
|
|
58
53
|
buyer: BusinessRefDto$Outbound;
|
|
59
54
|
vendor: BusinessRefDto$Outbound;
|
|
60
55
|
original_amount: number;
|
|
@@ -73,7 +68,6 @@ export const LedgerEntrySnapshotDto$outboundSchema: z.ZodType<
|
|
|
73
68
|
LedgerEntrySnapshotDto
|
|
74
69
|
> = z.object({
|
|
75
70
|
externalId: z.string(),
|
|
76
|
-
programId: z.string(),
|
|
77
71
|
buyer: BusinessRefDto$outboundSchema,
|
|
78
72
|
vendor: BusinessRefDto$outboundSchema,
|
|
79
73
|
originalAmount: z.number(),
|
|
@@ -86,7 +80,6 @@ export const LedgerEntrySnapshotDto$outboundSchema: z.ZodType<
|
|
|
86
80
|
}).transform((v) => {
|
|
87
81
|
return remap$(v, {
|
|
88
82
|
externalId: "external_id",
|
|
89
|
-
programId: "program_id",
|
|
90
83
|
originalAmount: "original_amount",
|
|
91
84
|
outstandingAmount: "outstanding_amount",
|
|
92
85
|
dueDate: "due_date",
|
|
@@ -16,6 +16,7 @@ export const LmsLoanTransactionType = {
|
|
|
16
16
|
DownPayment: "DOWN_PAYMENT",
|
|
17
17
|
FeeAdjustment: "FEE_ADJUSTMENT",
|
|
18
18
|
Funding: "FUNDING",
|
|
19
|
+
Refund: "REFUND",
|
|
19
20
|
InterestAdjustment: "INTEREST_ADJUSTMENT",
|
|
20
21
|
LateFeeAdjustment: "LATE_FEE_ADJUSTMENT",
|
|
21
22
|
PrincipalAdjustment: "PRINCIPAL_ADJUSTMENT",
|
|
@@ -99,9 +99,7 @@ export * from "./networkcontrollerauthorizeledgerentry.js";
|
|
|
99
99
|
export * from "./networkcontrollercreateinvoice.js";
|
|
100
100
|
export * from "./networkcontrollerexecutepurchase.js";
|
|
101
101
|
export * from "./networkcontrollergetbusiness.js";
|
|
102
|
-
export * from "./networkcontrollerpatchhold.js";
|
|
103
102
|
export * from "./networkcontrollerpushfilereference.js";
|
|
104
|
-
export * from "./networkcontrollerrecordadjustment.js";
|
|
105
103
|
export * from "./networkcontrollerremoveobligation.js";
|
|
106
104
|
export * from "./networkcontrollerupdateinvoice.js";
|
|
107
105
|
export * from "./originationscontrolleracceptorigination.js";
|
|
@@ -183,6 +181,7 @@ export * from "./tradingrelationshipscontrollerfind.js";
|
|
|
183
181
|
export * from "./transactionscontrollercreate.js";
|
|
184
182
|
export * from "./transactionscontrollerfindall.js";
|
|
185
183
|
export * from "./transactionscontrollerfindone.js";
|
|
184
|
+
export * from "./transactionscontrollerupdate.js";
|
|
186
185
|
export * from "./underwritingtermscontrollergetstatedisclosuretermshtml.js";
|
|
187
186
|
export * from "./underwritingtermscontrollergetunderwritingtermshtml.js";
|
|
188
187
|
export * from "./userscontrollerfindone.js";
|
|
@@ -50,7 +50,8 @@ export type NetworkControllerExecutePurchaseRequest = {
|
|
|
50
50
|
*/
|
|
51
51
|
export type NetworkControllerExecutePurchaseResponse =
|
|
52
52
|
| models.IppPurchaseConfirmationDto
|
|
53
|
-
| models.LmsPurchaseConfirmationDto
|
|
53
|
+
| models.LmsPurchaseConfirmationDto
|
|
54
|
+
| models.PurchaseNotConfirmedDto;
|
|
54
55
|
|
|
55
56
|
/** @internal */
|
|
56
57
|
export type NetworkControllerExecutePurchaseSecurity$Outbound = {
|
|
@@ -163,6 +164,7 @@ export const NetworkControllerExecutePurchaseResponse$inboundSchema: z.ZodType<
|
|
|
163
164
|
> = smartUnion([
|
|
164
165
|
models.IppPurchaseConfirmationDto$inboundSchema,
|
|
165
166
|
models.LmsPurchaseConfirmationDto$inboundSchema,
|
|
167
|
+
models.PurchaseNotConfirmedDto$inboundSchema,
|
|
166
168
|
]);
|
|
167
169
|
|
|
168
170
|
export function networkControllerExecutePurchaseResponseFromJSON(
|
|
@@ -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",
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|
|
@@ -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 UpdateTransactionDto = {
|
|
12
|
+
/**
|
|
13
|
+
* Transaction amount in cents
|
|
14
|
+
*/
|
|
15
|
+
amount?: number | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Human-readable description of the transaction
|
|
18
|
+
*/
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Partner-defined transaction type (free-form)
|
|
22
|
+
*/
|
|
23
|
+
type?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* credit (refund/return) or debit (purchase/spend)
|
|
26
|
+
*/
|
|
27
|
+
direction?: TransactionDirection | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Transaction date (ISO 8601)
|
|
30
|
+
*/
|
|
31
|
+
date?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type UpdateTransactionDto$Outbound = {
|
|
36
|
+
amount?: number | undefined;
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
type?: string | undefined;
|
|
39
|
+
direction?: string | undefined;
|
|
40
|
+
date?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const UpdateTransactionDto$outboundSchema: z.ZodType<
|
|
45
|
+
UpdateTransactionDto$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
UpdateTransactionDto
|
|
48
|
+
> = z.object({
|
|
49
|
+
amount: z.number().optional(),
|
|
50
|
+
description: z.string().optional(),
|
|
51
|
+
type: z.string().optional(),
|
|
52
|
+
direction: TransactionDirection$outboundSchema.optional(),
|
|
53
|
+
date: z.string().optional(),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function updateTransactionDtoToJSON(
|
|
57
|
+
updateTransactionDto: UpdateTransactionDto,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
UpdateTransactionDto$outboundSchema.parse(updateTransactionDto),
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -43,6 +43,9 @@ export const UploadFilesDtoFileType = {
|
|
|
43
43
|
EinLetter: "ein_letter",
|
|
44
44
|
AccountingData: "accounting_data",
|
|
45
45
|
FinancialStatements: "financial_statements",
|
|
46
|
+
BalanceSheet: "balance_sheet",
|
|
47
|
+
ProfitLoss: "profit_loss",
|
|
48
|
+
TermsDoc: "terms_doc",
|
|
46
49
|
CorporateFormationDocument: "corporate_formation_document",
|
|
47
50
|
CertificateOfGoodStanding: "certificate_of_good_standing",
|
|
48
51
|
DriversLicense: "drivers_license",
|
|
@@ -96,6 +99,10 @@ export type UploadFilesDto = {
|
|
|
96
99
|
* Optional description of the file
|
|
97
100
|
*/
|
|
98
101
|
description?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Optional calendar date associated with the document (e.g. the statement or invoice date). Format: YYYY-MM-DD.
|
|
104
|
+
*/
|
|
105
|
+
documentDate?: string | undefined;
|
|
99
106
|
/**
|
|
100
107
|
* Additional metadata about the file. Can be a JSON string or object.
|
|
101
108
|
*/
|
|
@@ -166,6 +173,7 @@ export type UploadFilesDto$Outbound = {
|
|
|
166
173
|
resource_id: string;
|
|
167
174
|
file_type: string;
|
|
168
175
|
description?: string | undefined;
|
|
176
|
+
document_date?: string | undefined;
|
|
169
177
|
metadata?: string | { [k: string]: any } | undefined;
|
|
170
178
|
};
|
|
171
179
|
|
|
@@ -180,12 +188,14 @@ export const UploadFilesDto$outboundSchema: z.ZodType<
|
|
|
180
188
|
resourceId: z.string(),
|
|
181
189
|
fileType: UploadFilesDtoFileType$outboundSchema,
|
|
182
190
|
description: z.string().optional(),
|
|
191
|
+
documentDate: z.string().optional(),
|
|
183
192
|
metadata: smartUnion([z.string(), z.record(z.any())]).optional(),
|
|
184
193
|
}).transform((v) => {
|
|
185
194
|
return remap$(v, {
|
|
186
195
|
resourceType: "resource_type",
|
|
187
196
|
resourceId: "resource_id",
|
|
188
197
|
fileType: "file_type",
|
|
198
|
+
documentDate: "document_date",
|
|
189
199
|
});
|
|
190
200
|
});
|
|
191
201
|
|
|
@@ -23,6 +23,9 @@ export const UploadFilesMultipartDtoFileType = {
|
|
|
23
23
|
EinLetter: "ein_letter",
|
|
24
24
|
AccountingData: "accounting_data",
|
|
25
25
|
FinancialStatements: "financial_statements",
|
|
26
|
+
BalanceSheet: "balance_sheet",
|
|
27
|
+
ProfitLoss: "profit_loss",
|
|
28
|
+
TermsDoc: "terms_doc",
|
|
26
29
|
CorporateFormationDocument: "corporate_formation_document",
|
|
27
30
|
CertificateOfGoodStanding: "certificate_of_good_standing",
|
|
28
31
|
DriversLicense: "drivers_license",
|
package/src/sdk/networkledger.ts
CHANGED
|
@@ -7,10 +7,8 @@ import { networkLedgerAuthorize } from "../funcs/networkLedgerAuthorize.js";
|
|
|
7
7
|
import { networkLedgerCreateInvoice } from "../funcs/networkLedgerCreateInvoice.js";
|
|
8
8
|
import { networkLedgerExecutePurchase } from "../funcs/networkLedgerExecutePurchase.js";
|
|
9
9
|
import { networkLedgerGetBusiness } from "../funcs/networkLedgerGetBusiness.js";
|
|
10
|
-
import { networkLedgerRecordAdjustment } from "../funcs/networkLedgerRecordAdjustment.js";
|
|
11
10
|
import { networkLedgerReleaseHold } from "../funcs/networkLedgerReleaseHold.js";
|
|
12
11
|
import { networkLedgerRemoveObligation } from "../funcs/networkLedgerRemoveObligation.js";
|
|
13
|
-
import { networkLedgerUpdateHold } from "../funcs/networkLedgerUpdateHold.js";
|
|
14
12
|
import { networkLedgerUpdateInvoice } from "../funcs/networkLedgerUpdateInvoice.js";
|
|
15
13
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
16
14
|
import * as models from "../models/index.js";
|
|
@@ -151,36 +149,4 @@ export class NetworkLedger extends ClientSDK {
|
|
|
151
149
|
options,
|
|
152
150
|
));
|
|
153
151
|
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Patch hold — amend outstanding_amount down (patchHold).
|
|
157
|
-
*/
|
|
158
|
-
async updateHold(
|
|
159
|
-
security: operations.NetworkControllerPatchHoldSecurity,
|
|
160
|
-
request: operations.NetworkControllerPatchHoldRequest,
|
|
161
|
-
options?: RequestOptions,
|
|
162
|
-
): Promise<models.OkEnvelopeDto> {
|
|
163
|
-
return unwrapAsync(networkLedgerUpdateHold(
|
|
164
|
-
this,
|
|
165
|
-
security,
|
|
166
|
-
request,
|
|
167
|
-
options,
|
|
168
|
-
));
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Record adjustment on the lender (recordAdjustment).
|
|
173
|
-
*/
|
|
174
|
-
async recordAdjustment(
|
|
175
|
-
security: operations.NetworkControllerRecordAdjustmentSecurity,
|
|
176
|
-
request: operations.NetworkControllerRecordAdjustmentRequest,
|
|
177
|
-
options?: RequestOptions,
|
|
178
|
-
): Promise<models.ConfirmedEnvelopeDto> {
|
|
179
|
-
return unwrapAsync(networkLedgerRecordAdjustment(
|
|
180
|
-
this,
|
|
181
|
-
security,
|
|
182
|
-
request,
|
|
183
|
-
options,
|
|
184
|
-
));
|
|
185
|
-
}
|
|
186
152
|
}
|
package/src/sdk/transactions.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { transactionsCreateBatch } from "../funcs/transactionsCreateBatch.js";
|
|
6
6
|
import { transactionsGetById } from "../funcs/transactionsGetById.js";
|
|
7
7
|
import { transactionsList } from "../funcs/transactionsList.js";
|
|
8
|
+
import { transactionsTransactionsControllerUpdate } from "../funcs/transactionsTransactionsControllerUpdate.js";
|
|
8
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
10
|
import * as models from "../models/index.js";
|
|
10
11
|
import * as operations from "../models/operations/index.js";
|
|
@@ -67,4 +68,21 @@ export class Transactions extends ClientSDK {
|
|
|
67
68
|
options,
|
|
68
69
|
));
|
|
69
70
|
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Update a stored transaction
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Corrects one or more fields of a previously uploaded transaction owned by the partner.
|
|
77
|
+
*/
|
|
78
|
+
async transactionsControllerUpdate(
|
|
79
|
+
request: operations.TransactionsControllerUpdateRequest,
|
|
80
|
+
options?: RequestOptions,
|
|
81
|
+
): Promise<models.StoredTransactionResponseDto> {
|
|
82
|
+
return unwrapAsync(transactionsTransactionsControllerUpdate(
|
|
83
|
+
this,
|
|
84
|
+
request,
|
|
85
|
+
options,
|
|
86
|
+
));
|
|
87
|
+
}
|
|
70
88
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OatFiSDKCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import { OatFiSDKError } from "../models/errors/oatfisdkerror.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
-
import * as models from "../models/index.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Record adjustment on the lender (recordAdjustment).
|
|
13
|
-
*/
|
|
14
|
-
export declare function networkLedgerRecordAdjustment(client: OatFiSDKCore, security: operations.NetworkControllerRecordAdjustmentSecurity, request: operations.NetworkControllerRecordAdjustmentRequest, options?: RequestOptions): APIPromise<Result<models.ConfirmedEnvelopeDto, OatFiSDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
15
|
-
//# sourceMappingURL=networkLedgerRecordAdjustment.d.ts.map
|