@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.
Files changed (467) hide show
  1. package/README.md +12 -4
  2. package/dist/commonjs/funcs/filesUpload.js +3 -0
  3. package/dist/commonjs/funcs/filesUpload.js.map +1 -1
  4. package/dist/commonjs/funcs/networkLedgerGetBusiness.d.ts +1 -1
  5. package/dist/commonjs/funcs/networkLedgerGetBusiness.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/networkLedgerGetBusiness.js +1 -1
  7. package/dist/commonjs/funcs/networkLedgerGetBusiness.js.map +1 -1
  8. package/dist/{esm/funcs/networkLedgerUpdateHold.d.ts → commonjs/funcs/transactionsCreateBatch.d.ts} +8 -3
  9. package/dist/commonjs/funcs/transactionsCreateBatch.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/{networkLedgerUpdateHold.js → transactionsCreateBatch.js} +21 -31
  11. package/dist/commonjs/funcs/transactionsCreateBatch.js.map +1 -0
  12. package/dist/commonjs/funcs/{networkLedgerRecordAdjustment.d.ts → transactionsGetById.d.ts} +8 -3
  13. package/dist/commonjs/funcs/transactionsGetById.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/transactionsGetById.js +134 -0
  15. package/dist/commonjs/funcs/transactionsGetById.js.map +1 -0
  16. package/dist/commonjs/funcs/transactionsList.d.ts +22 -0
  17. package/dist/commonjs/funcs/transactionsList.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/transactionsList.js +163 -0
  19. package/dist/commonjs/funcs/transactionsList.js.map +1 -0
  20. package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.d.ts +20 -0
  21. package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/{networkLedgerRecordAdjustment.js → transactionsTransactionsControllerUpdate.js} +25 -27
  23. package/dist/commonjs/funcs/transactionsTransactionsControllerUpdate.js.map +1 -0
  24. package/dist/commonjs/lib/config.d.ts +3 -3
  25. package/dist/commonjs/lib/config.js +3 -3
  26. package/dist/commonjs/models/adjustmentresponsedto.d.ts +0 -6
  27. package/dist/commonjs/models/adjustmentresponsedto.d.ts.map +1 -1
  28. package/dist/commonjs/models/adjustmentresponsedto.js +0 -3
  29. package/dist/commonjs/models/adjustmentresponsedto.js.map +1 -1
  30. package/dist/commonjs/models/businessdataresponsedto.d.ts +51 -0
  31. package/dist/commonjs/models/businessdataresponsedto.d.ts.map +1 -0
  32. package/dist/commonjs/models/businessdataresponsedto.js +75 -0
  33. package/dist/commonjs/models/businessdataresponsedto.js.map +1 -0
  34. package/dist/commonjs/models/businessrefdto.d.ts +5 -0
  35. package/dist/commonjs/models/businessrefdto.d.ts.map +1 -1
  36. package/dist/commonjs/models/businessrefdto.js +2 -0
  37. package/dist/commonjs/models/businessrefdto.js.map +1 -1
  38. package/dist/commonjs/models/businessresponsedto.d.ts +142 -21
  39. package/dist/commonjs/models/businessresponsedto.d.ts.map +1 -1
  40. package/dist/commonjs/models/businessresponsedto.js +76 -13
  41. package/dist/commonjs/models/businessresponsedto.js.map +1 -1
  42. package/dist/commonjs/models/createadjustmentdto.d.ts +0 -6
  43. package/dist/commonjs/models/createadjustmentdto.d.ts.map +1 -1
  44. package/dist/commonjs/models/createadjustmentdto.js +0 -3
  45. package/dist/commonjs/models/createadjustmentdto.js.map +1 -1
  46. package/dist/commonjs/models/createfinancialaccountdto.d.ts +0 -1
  47. package/dist/commonjs/models/createfinancialaccountdto.d.ts.map +1 -1
  48. package/dist/commonjs/models/createfinancialaccountdto.js +0 -1
  49. package/dist/commonjs/models/createfinancialaccountdto.js.map +1 -1
  50. package/dist/commonjs/models/createplatformfinancialaccountdto.d.ts +0 -1
  51. package/dist/commonjs/models/createplatformfinancialaccountdto.d.ts.map +1 -1
  52. package/dist/commonjs/models/createplatformfinancialaccountdto.js +0 -1
  53. package/dist/commonjs/models/createplatformfinancialaccountdto.js.map +1 -1
  54. package/dist/commonjs/models/createplatformsettingsdto.d.ts +0 -20
  55. package/dist/commonjs/models/createplatformsettingsdto.d.ts.map +1 -1
  56. package/dist/commonjs/models/createplatformsettingsdto.js +0 -8
  57. package/dist/commonjs/models/createplatformsettingsdto.js.map +1 -1
  58. package/dist/commonjs/models/createtransactionsdto.d.ts +26 -0
  59. package/dist/commonjs/models/createtransactionsdto.d.ts.map +1 -0
  60. package/dist/commonjs/models/createtransactionsdto.js +52 -0
  61. package/dist/commonjs/models/createtransactionsdto.js.map +1 -0
  62. package/dist/commonjs/models/fileresponsedto.d.ts +7 -0
  63. package/dist/commonjs/models/fileresponsedto.d.ts.map +1 -1
  64. package/dist/commonjs/models/fileresponsedto.js +5 -0
  65. package/dist/commonjs/models/fileresponsedto.js.map +1 -1
  66. package/dist/commonjs/models/filetype.d.ts +3 -0
  67. package/dist/commonjs/models/filetype.d.ts.map +1 -1
  68. package/dist/commonjs/models/filetype.js +3 -0
  69. package/dist/commonjs/models/filetype.js.map +1 -1
  70. package/dist/commonjs/models/financialaccountdatadto.d.ts +0 -5
  71. package/dist/commonjs/models/financialaccountdatadto.d.ts.map +1 -1
  72. package/dist/commonjs/models/financialaccountdatadto.js +0 -4
  73. package/dist/commonjs/models/financialaccountdatadto.js.map +1 -1
  74. package/dist/commonjs/models/financialaccountresponsedto.d.ts +0 -1
  75. package/dist/commonjs/models/financialaccountresponsedto.d.ts.map +1 -1
  76. package/dist/commonjs/models/financialaccountresponsedto.js +0 -1
  77. package/dist/commonjs/models/financialaccountresponsedto.js.map +1 -1
  78. package/dist/commonjs/models/increasedatadto.d.ts +21 -0
  79. package/dist/commonjs/models/increasedatadto.d.ts.map +1 -0
  80. package/dist/commonjs/models/increasedatadto.js +60 -0
  81. package/dist/commonjs/models/increasedatadto.js.map +1 -0
  82. package/dist/commonjs/models/index.d.ts +13 -2
  83. package/dist/commonjs/models/index.d.ts.map +1 -1
  84. package/dist/commonjs/models/index.js +13 -2
  85. package/dist/commonjs/models/index.js.map +1 -1
  86. package/dist/commonjs/models/ledgerentrysnapshotdto.d.ts +0 -5
  87. package/dist/commonjs/models/ledgerentrysnapshotdto.d.ts.map +1 -1
  88. package/dist/commonjs/models/ledgerentrysnapshotdto.js +0 -2
  89. package/dist/commonjs/models/ledgerentrysnapshotdto.js.map +1 -1
  90. package/dist/commonjs/models/lmsloantransactiontype.d.ts +34 -0
  91. package/dist/commonjs/models/lmsloantransactiontype.d.ts.map +1 -0
  92. package/dist/commonjs/models/lmsloantransactiontype.js +68 -0
  93. package/dist/commonjs/models/lmsloantransactiontype.js.map +1 -0
  94. package/dist/commonjs/models/operations/index.d.ts +4 -2
  95. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/index.js +4 -2
  97. package/dist/commonjs/models/operations/index.js.map +1 -1
  98. package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.d.ts +1 -1
  99. package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.d.ts.map +1 -1
  100. package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.js +1 -0
  101. package/dist/commonjs/models/operations/networkcontrollerexecutepurchase.js.map +1 -1
  102. package/dist/commonjs/models/operations/transactionscontrollercreate.d.ts +18 -0
  103. package/dist/commonjs/models/operations/transactionscontrollercreate.d.ts.map +1 -0
  104. package/dist/commonjs/models/operations/{networkcontrollerpatchhold.js → transactionscontrollercreate.js} +8 -25
  105. package/dist/commonjs/models/operations/transactionscontrollercreate.js.map +1 -0
  106. package/dist/commonjs/models/operations/transactionscontrollerfindall.d.ts +44 -0
  107. package/dist/commonjs/models/operations/transactionscontrollerfindall.d.ts.map +1 -0
  108. package/dist/commonjs/models/operations/{networkcontrollerrecordadjustment.js → transactionscontrollerfindall.js} +23 -24
  109. package/dist/commonjs/models/operations/transactionscontrollerfindall.js.map +1 -0
  110. package/dist/commonjs/models/operations/transactionscontrollerfindone.d.ts +15 -0
  111. package/dist/commonjs/models/operations/transactionscontrollerfindone.d.ts.map +1 -0
  112. package/dist/commonjs/models/operations/transactionscontrollerfindone.js +49 -0
  113. package/dist/commonjs/models/operations/transactionscontrollerfindone.js.map +1 -0
  114. package/dist/commonjs/models/operations/transactionscontrollerupdate.d.ts +18 -0
  115. package/dist/commonjs/models/operations/transactionscontrollerupdate.d.ts.map +1 -0
  116. package/dist/commonjs/models/operations/transactionscontrollerupdate.js +56 -0
  117. package/dist/commonjs/models/operations/transactionscontrollerupdate.js.map +1 -0
  118. package/dist/commonjs/models/paymentraildatadto.d.ts +0 -5
  119. package/dist/commonjs/models/paymentraildatadto.d.ts.map +1 -1
  120. package/dist/commonjs/models/paymentraildatadto.js +0 -4
  121. package/dist/commonjs/models/paymentraildatadto.js.map +1 -1
  122. package/dist/commonjs/models/paymentstatus.d.ts +22 -0
  123. package/dist/commonjs/models/paymentstatus.d.ts.map +1 -0
  124. package/dist/commonjs/models/paymentstatus.js +56 -0
  125. package/dist/commonjs/models/paymentstatus.js.map +1 -0
  126. package/dist/commonjs/models/platformsettingsdto.d.ts +0 -16
  127. package/dist/commonjs/models/platformsettingsdto.d.ts.map +1 -1
  128. package/dist/commonjs/models/platformsettingsdto.js +0 -8
  129. package/dist/commonjs/models/platformsettingsdto.js.map +1 -1
  130. package/dist/commonjs/models/purchasenotconfirmeddto.d.ts +13 -0
  131. package/dist/commonjs/models/purchasenotconfirmeddto.d.ts.map +1 -0
  132. package/dist/commonjs/models/purchasenotconfirmeddto.js +51 -0
  133. package/dist/commonjs/models/purchasenotconfirmeddto.js.map +1 -0
  134. package/dist/commonjs/models/storedtransactionlistresponsedto.d.ts +26 -0
  135. package/dist/commonjs/models/storedtransactionlistresponsedto.d.ts.map +1 -0
  136. package/dist/commonjs/models/{recordadjustmentrequestdto.js → storedtransactionlistresponsedto.js} +14 -33
  137. package/dist/commonjs/models/storedtransactionlistresponsedto.js.map +1 -0
  138. package/dist/commonjs/models/storedtransactionresponsedto.d.ts +48 -0
  139. package/dist/commonjs/models/storedtransactionresponsedto.d.ts.map +1 -0
  140. package/dist/commonjs/models/storedtransactionresponsedto.js +68 -0
  141. package/dist/commonjs/models/storedtransactionresponsedto.js.map +1 -0
  142. package/dist/commonjs/models/transactiondirection.d.ts +12 -0
  143. package/dist/commonjs/models/transactiondirection.d.ts.map +1 -0
  144. package/dist/commonjs/models/transactiondirection.js +49 -0
  145. package/dist/commonjs/models/transactiondirection.js.map +1 -0
  146. package/dist/commonjs/models/transactionitemdto.d.ts +36 -0
  147. package/dist/commonjs/models/transactionitemdto.d.ts.map +1 -0
  148. package/dist/commonjs/models/transactionitemdto.js +54 -0
  149. package/dist/commonjs/models/transactionitemdto.js.map +1 -0
  150. package/dist/commonjs/models/transactionloandto.d.ts +25 -0
  151. package/dist/commonjs/models/transactionloandto.d.ts.map +1 -0
  152. package/dist/commonjs/models/{patchholdrequestdto.js → transactionloandto.js} +13 -12
  153. package/dist/commonjs/models/transactionloandto.js.map +1 -0
  154. package/dist/commonjs/models/transactionresponsedto.d.ts +56 -0
  155. package/dist/commonjs/models/transactionresponsedto.d.ts.map +1 -0
  156. package/dist/commonjs/models/transactionresponsedto.js +74 -0
  157. package/dist/commonjs/models/transactionresponsedto.js.map +1 -0
  158. package/dist/commonjs/models/transfermethodenum.d.ts +0 -1
  159. package/dist/commonjs/models/transfermethodenum.d.ts.map +1 -1
  160. package/dist/commonjs/models/transfermethodenum.js +0 -1
  161. package/dist/commonjs/models/transfermethodenum.js.map +1 -1
  162. package/dist/commonjs/models/updatefiledto.d.ts +8 -0
  163. package/dist/commonjs/models/updatefiledto.d.ts.map +1 -1
  164. package/dist/commonjs/models/updatefiledto.js +5 -0
  165. package/dist/commonjs/models/updatefiledto.js.map +1 -1
  166. package/dist/commonjs/models/updatetransactiondto.d.ts +36 -0
  167. package/dist/commonjs/models/updatetransactiondto.d.ts.map +1 -0
  168. package/dist/commonjs/models/updatetransactiondto.js +54 -0
  169. package/dist/commonjs/models/updatetransactiondto.js.map +1 -0
  170. package/dist/commonjs/models/uploadfilesdto.d.ts +8 -0
  171. package/dist/commonjs/models/uploadfilesdto.d.ts.map +1 -1
  172. package/dist/commonjs/models/uploadfilesdto.js +5 -0
  173. package/dist/commonjs/models/uploadfilesdto.js.map +1 -1
  174. package/dist/commonjs/models/uploadfilesmultipartdto.d.ts +3 -0
  175. package/dist/commonjs/models/uploadfilesmultipartdto.d.ts.map +1 -1
  176. package/dist/commonjs/models/uploadfilesmultipartdto.js +3 -0
  177. package/dist/commonjs/models/uploadfilesmultipartdto.js.map +1 -1
  178. package/dist/commonjs/sdk/networkledger.d.ts +1 -9
  179. package/dist/commonjs/sdk/networkledger.d.ts.map +1 -1
  180. package/dist/commonjs/sdk/networkledger.js +0 -14
  181. package/dist/commonjs/sdk/networkledger.js.map +1 -1
  182. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  183. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  184. package/dist/commonjs/sdk/sdk.js +4 -0
  185. package/dist/commonjs/sdk/sdk.js.map +1 -1
  186. package/dist/commonjs/sdk/transactions.d.ts +37 -0
  187. package/dist/commonjs/sdk/transactions.d.ts.map +1 -0
  188. package/dist/commonjs/sdk/transactions.js +53 -0
  189. package/dist/commonjs/sdk/transactions.js.map +1 -0
  190. package/dist/esm/funcs/filesUpload.js +3 -0
  191. package/dist/esm/funcs/filesUpload.js.map +1 -1
  192. package/dist/esm/funcs/networkLedgerGetBusiness.d.ts +1 -1
  193. package/dist/esm/funcs/networkLedgerGetBusiness.d.ts.map +1 -1
  194. package/dist/esm/funcs/networkLedgerGetBusiness.js +1 -1
  195. package/dist/esm/funcs/networkLedgerGetBusiness.js.map +1 -1
  196. package/dist/esm/funcs/{networkLedgerRecordAdjustment.d.ts → transactionsCreateBatch.d.ts} +8 -3
  197. package/dist/esm/funcs/transactionsCreateBatch.d.ts.map +1 -0
  198. package/dist/esm/funcs/{networkLedgerRecordAdjustment.js → transactionsCreateBatch.js} +20 -27
  199. package/dist/esm/funcs/transactionsCreateBatch.js.map +1 -0
  200. package/dist/{commonjs/funcs/networkLedgerUpdateHold.d.ts → esm/funcs/transactionsGetById.d.ts} +8 -3
  201. package/dist/esm/funcs/transactionsGetById.d.ts.map +1 -0
  202. package/dist/esm/funcs/transactionsGetById.js +98 -0
  203. package/dist/esm/funcs/transactionsGetById.js.map +1 -0
  204. package/dist/esm/funcs/transactionsList.d.ts +22 -0
  205. package/dist/esm/funcs/transactionsList.d.ts.map +1 -0
  206. package/dist/esm/funcs/transactionsList.js +127 -0
  207. package/dist/esm/funcs/transactionsList.js.map +1 -0
  208. package/dist/esm/funcs/transactionsTransactionsControllerUpdate.d.ts +20 -0
  209. package/dist/esm/funcs/transactionsTransactionsControllerUpdate.d.ts.map +1 -0
  210. package/dist/esm/funcs/{networkLedgerUpdateHold.js → transactionsTransactionsControllerUpdate.js} +21 -26
  211. package/dist/esm/funcs/transactionsTransactionsControllerUpdate.js.map +1 -0
  212. package/dist/esm/lib/config.d.ts +3 -3
  213. package/dist/esm/lib/config.js +3 -3
  214. package/dist/esm/models/adjustmentresponsedto.d.ts +0 -6
  215. package/dist/esm/models/adjustmentresponsedto.d.ts.map +1 -1
  216. package/dist/esm/models/adjustmentresponsedto.js +0 -3
  217. package/dist/esm/models/adjustmentresponsedto.js.map +1 -1
  218. package/dist/esm/models/businessdataresponsedto.d.ts +51 -0
  219. package/dist/esm/models/businessdataresponsedto.d.ts.map +1 -0
  220. package/dist/esm/models/businessdataresponsedto.js +38 -0
  221. package/dist/esm/models/businessdataresponsedto.js.map +1 -0
  222. package/dist/esm/models/businessrefdto.d.ts +5 -0
  223. package/dist/esm/models/businessrefdto.d.ts.map +1 -1
  224. package/dist/esm/models/businessrefdto.js +2 -0
  225. package/dist/esm/models/businessrefdto.js.map +1 -1
  226. package/dist/esm/models/businessresponsedto.d.ts +142 -21
  227. package/dist/esm/models/businessresponsedto.d.ts.map +1 -1
  228. package/dist/esm/models/businessresponsedto.js +75 -12
  229. package/dist/esm/models/businessresponsedto.js.map +1 -1
  230. package/dist/esm/models/createadjustmentdto.d.ts +0 -6
  231. package/dist/esm/models/createadjustmentdto.d.ts.map +1 -1
  232. package/dist/esm/models/createadjustmentdto.js +0 -3
  233. package/dist/esm/models/createadjustmentdto.js.map +1 -1
  234. package/dist/esm/models/createfinancialaccountdto.d.ts +0 -1
  235. package/dist/esm/models/createfinancialaccountdto.d.ts.map +1 -1
  236. package/dist/esm/models/createfinancialaccountdto.js +0 -1
  237. package/dist/esm/models/createfinancialaccountdto.js.map +1 -1
  238. package/dist/esm/models/createplatformfinancialaccountdto.d.ts +0 -1
  239. package/dist/esm/models/createplatformfinancialaccountdto.d.ts.map +1 -1
  240. package/dist/esm/models/createplatformfinancialaccountdto.js +0 -1
  241. package/dist/esm/models/createplatformfinancialaccountdto.js.map +1 -1
  242. package/dist/esm/models/createplatformsettingsdto.d.ts +0 -20
  243. package/dist/esm/models/createplatformsettingsdto.d.ts.map +1 -1
  244. package/dist/esm/models/createplatformsettingsdto.js +0 -8
  245. package/dist/esm/models/createplatformsettingsdto.js.map +1 -1
  246. package/dist/esm/models/createtransactionsdto.d.ts +26 -0
  247. package/dist/esm/models/createtransactionsdto.d.ts.map +1 -0
  248. package/dist/esm/models/createtransactionsdto.js +15 -0
  249. package/dist/esm/models/createtransactionsdto.js.map +1 -0
  250. package/dist/esm/models/fileresponsedto.d.ts +7 -0
  251. package/dist/esm/models/fileresponsedto.d.ts.map +1 -1
  252. package/dist/esm/models/fileresponsedto.js +5 -0
  253. package/dist/esm/models/fileresponsedto.js.map +1 -1
  254. package/dist/esm/models/filetype.d.ts +3 -0
  255. package/dist/esm/models/filetype.d.ts.map +1 -1
  256. package/dist/esm/models/filetype.js +3 -0
  257. package/dist/esm/models/filetype.js.map +1 -1
  258. package/dist/esm/models/financialaccountdatadto.d.ts +0 -5
  259. package/dist/esm/models/financialaccountdatadto.d.ts.map +1 -1
  260. package/dist/esm/models/financialaccountdatadto.js +0 -4
  261. package/dist/esm/models/financialaccountdatadto.js.map +1 -1
  262. package/dist/esm/models/financialaccountresponsedto.d.ts +0 -1
  263. package/dist/esm/models/financialaccountresponsedto.d.ts.map +1 -1
  264. package/dist/esm/models/financialaccountresponsedto.js +0 -1
  265. package/dist/esm/models/financialaccountresponsedto.js.map +1 -1
  266. package/dist/esm/models/increasedatadto.d.ts +21 -0
  267. package/dist/esm/models/increasedatadto.d.ts.map +1 -0
  268. package/dist/esm/models/increasedatadto.js +23 -0
  269. package/dist/esm/models/increasedatadto.js.map +1 -0
  270. package/dist/esm/models/index.d.ts +13 -2
  271. package/dist/esm/models/index.d.ts.map +1 -1
  272. package/dist/esm/models/index.js +13 -2
  273. package/dist/esm/models/index.js.map +1 -1
  274. package/dist/esm/models/ledgerentrysnapshotdto.d.ts +0 -5
  275. package/dist/esm/models/ledgerentrysnapshotdto.d.ts.map +1 -1
  276. package/dist/esm/models/ledgerentrysnapshotdto.js +0 -2
  277. package/dist/esm/models/ledgerentrysnapshotdto.js.map +1 -1
  278. package/dist/esm/models/lmsloantransactiontype.d.ts +34 -0
  279. package/dist/esm/models/lmsloantransactiontype.d.ts.map +1 -0
  280. package/dist/esm/models/lmsloantransactiontype.js +32 -0
  281. package/dist/esm/models/lmsloantransactiontype.js.map +1 -0
  282. package/dist/esm/models/operations/index.d.ts +4 -2
  283. package/dist/esm/models/operations/index.d.ts.map +1 -1
  284. package/dist/esm/models/operations/index.js +4 -2
  285. package/dist/esm/models/operations/index.js.map +1 -1
  286. package/dist/esm/models/operations/networkcontrollerexecutepurchase.d.ts +1 -1
  287. package/dist/esm/models/operations/networkcontrollerexecutepurchase.d.ts.map +1 -1
  288. package/dist/esm/models/operations/networkcontrollerexecutepurchase.js +1 -0
  289. package/dist/esm/models/operations/networkcontrollerexecutepurchase.js.map +1 -1
  290. package/dist/esm/models/operations/transactionscontrollercreate.d.ts +18 -0
  291. package/dist/esm/models/operations/transactionscontrollercreate.d.ts.map +1 -0
  292. package/dist/esm/models/operations/transactionscontrollercreate.js +20 -0
  293. package/dist/esm/models/operations/transactionscontrollercreate.js.map +1 -0
  294. package/dist/esm/models/operations/transactionscontrollerfindall.d.ts +44 -0
  295. package/dist/esm/models/operations/transactionscontrollerfindall.d.ts.map +1 -0
  296. package/dist/esm/models/operations/transactionscontrollerfindall.js +35 -0
  297. package/dist/esm/models/operations/transactionscontrollerfindall.js.map +1 -0
  298. package/dist/esm/models/operations/transactionscontrollerfindone.d.ts +15 -0
  299. package/dist/esm/models/operations/transactionscontrollerfindone.d.ts.map +1 -0
  300. package/dist/esm/models/operations/transactionscontrollerfindone.js +12 -0
  301. package/dist/esm/models/operations/transactionscontrollerfindone.js.map +1 -0
  302. package/dist/esm/models/operations/transactionscontrollerupdate.d.ts +18 -0
  303. package/dist/esm/models/operations/transactionscontrollerupdate.d.ts.map +1 -0
  304. package/dist/esm/models/operations/transactionscontrollerupdate.js +19 -0
  305. package/dist/esm/models/operations/transactionscontrollerupdate.js.map +1 -0
  306. package/dist/esm/models/paymentraildatadto.d.ts +0 -5
  307. package/dist/esm/models/paymentraildatadto.d.ts.map +1 -1
  308. package/dist/esm/models/paymentraildatadto.js +0 -4
  309. package/dist/esm/models/paymentraildatadto.js.map +1 -1
  310. package/dist/esm/models/paymentstatus.d.ts +22 -0
  311. package/dist/esm/models/paymentstatus.d.ts.map +1 -0
  312. package/dist/esm/models/paymentstatus.js +20 -0
  313. package/dist/esm/models/paymentstatus.js.map +1 -0
  314. package/dist/esm/models/platformsettingsdto.d.ts +0 -16
  315. package/dist/esm/models/platformsettingsdto.d.ts.map +1 -1
  316. package/dist/esm/models/platformsettingsdto.js +0 -8
  317. package/dist/esm/models/platformsettingsdto.js.map +1 -1
  318. package/dist/esm/models/purchasenotconfirmeddto.d.ts +13 -0
  319. package/dist/esm/models/purchasenotconfirmeddto.d.ts.map +1 -0
  320. package/dist/esm/models/purchasenotconfirmeddto.js +14 -0
  321. package/dist/esm/models/purchasenotconfirmeddto.js.map +1 -0
  322. package/dist/esm/models/storedtransactionlistresponsedto.d.ts +26 -0
  323. package/dist/esm/models/storedtransactionlistresponsedto.d.ts.map +1 -0
  324. package/dist/esm/models/storedtransactionlistresponsedto.js +23 -0
  325. package/dist/esm/models/storedtransactionlistresponsedto.js.map +1 -0
  326. package/dist/esm/models/storedtransactionresponsedto.d.ts +48 -0
  327. package/dist/esm/models/storedtransactionresponsedto.d.ts.map +1 -0
  328. package/dist/esm/models/storedtransactionresponsedto.js +31 -0
  329. package/dist/esm/models/storedtransactionresponsedto.js.map +1 -0
  330. package/dist/esm/models/transactiondirection.d.ts +12 -0
  331. package/dist/esm/models/transactiondirection.d.ts.map +1 -0
  332. package/dist/esm/models/transactiondirection.js +13 -0
  333. package/dist/esm/models/transactiondirection.js.map +1 -0
  334. package/dist/esm/models/transactionitemdto.d.ts +36 -0
  335. package/dist/esm/models/transactionitemdto.d.ts.map +1 -0
  336. package/dist/esm/models/transactionitemdto.js +17 -0
  337. package/dist/esm/models/transactionitemdto.js.map +1 -0
  338. package/dist/esm/models/transactionloandto.d.ts +25 -0
  339. package/dist/esm/models/transactionloandto.d.ts.map +1 -0
  340. package/dist/esm/models/transactionloandto.js +22 -0
  341. package/dist/esm/models/transactionloandto.js.map +1 -0
  342. package/dist/esm/models/transactionresponsedto.d.ts +56 -0
  343. package/dist/esm/models/transactionresponsedto.d.ts.map +1 -0
  344. package/dist/esm/models/transactionresponsedto.js +37 -0
  345. package/dist/esm/models/transactionresponsedto.js.map +1 -0
  346. package/dist/esm/models/transfermethodenum.d.ts +0 -1
  347. package/dist/esm/models/transfermethodenum.d.ts.map +1 -1
  348. package/dist/esm/models/transfermethodenum.js +0 -1
  349. package/dist/esm/models/transfermethodenum.js.map +1 -1
  350. package/dist/esm/models/updatefiledto.d.ts +8 -0
  351. package/dist/esm/models/updatefiledto.d.ts.map +1 -1
  352. package/dist/esm/models/updatefiledto.js +5 -0
  353. package/dist/esm/models/updatefiledto.js.map +1 -1
  354. package/dist/esm/models/updatetransactiondto.d.ts +36 -0
  355. package/dist/esm/models/updatetransactiondto.d.ts.map +1 -0
  356. package/dist/esm/models/updatetransactiondto.js +17 -0
  357. package/dist/esm/models/updatetransactiondto.js.map +1 -0
  358. package/dist/esm/models/uploadfilesdto.d.ts +8 -0
  359. package/dist/esm/models/uploadfilesdto.d.ts.map +1 -1
  360. package/dist/esm/models/uploadfilesdto.js +5 -0
  361. package/dist/esm/models/uploadfilesdto.js.map +1 -1
  362. package/dist/esm/models/uploadfilesmultipartdto.d.ts +3 -0
  363. package/dist/esm/models/uploadfilesmultipartdto.d.ts.map +1 -1
  364. package/dist/esm/models/uploadfilesmultipartdto.js +3 -0
  365. package/dist/esm/models/uploadfilesmultipartdto.js.map +1 -1
  366. package/dist/esm/sdk/networkledger.d.ts +1 -9
  367. package/dist/esm/sdk/networkledger.d.ts.map +1 -1
  368. package/dist/esm/sdk/networkledger.js +0 -14
  369. package/dist/esm/sdk/networkledger.js.map +1 -1
  370. package/dist/esm/sdk/sdk.d.ts +3 -0
  371. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  372. package/dist/esm/sdk/sdk.js +4 -0
  373. package/dist/esm/sdk/sdk.js.map +1 -1
  374. package/dist/esm/sdk/transactions.d.ts +37 -0
  375. package/dist/esm/sdk/transactions.d.ts.map +1 -0
  376. package/dist/esm/sdk/transactions.js +49 -0
  377. package/dist/esm/sdk/transactions.js.map +1 -0
  378. package/jsr.json +1 -1
  379. package/package.json +1 -1
  380. package/src/funcs/filesUpload.ts +3 -0
  381. package/src/funcs/networkLedgerGetBusiness.ts +4 -4
  382. package/src/funcs/{networkLedgerUpdateHold.ts → transactionsCreateBatch.ts} +26 -47
  383. package/src/funcs/transactionsGetById.ts +184 -0
  384. package/src/funcs/transactionsList.ts +255 -0
  385. package/src/funcs/{networkLedgerRecordAdjustment.ts → transactionsTransactionsControllerUpdate.ts} +28 -53
  386. package/src/lib/config.ts +3 -3
  387. package/src/models/adjustmentresponsedto.ts +0 -6
  388. package/src/models/businessdataresponsedto.ts +94 -0
  389. package/src/models/businessrefdto.ts +7 -0
  390. package/src/models/businessresponsedto.ts +198 -31
  391. package/src/models/createadjustmentdto.ts +0 -6
  392. package/src/models/createfinancialaccountdto.ts +0 -1
  393. package/src/models/createplatformfinancialaccountdto.ts +0 -1
  394. package/src/models/createplatformsettingsdto.ts +0 -28
  395. package/src/models/createtransactionsdto.ts +51 -0
  396. package/src/models/fileresponsedto.ts +9 -0
  397. package/src/models/filetype.ts +3 -0
  398. package/src/models/financialaccountdatadto.ts +0 -9
  399. package/src/models/financialaccountresponsedto.ts +0 -1
  400. package/src/models/increasedatadto.ts +52 -0
  401. package/src/models/index.ts +13 -2
  402. package/src/models/ledgerentrysnapshotdto.ts +0 -7
  403. package/src/models/lmsloantransactiontype.ts +41 -0
  404. package/src/models/operations/index.ts +4 -2
  405. package/src/models/operations/networkcontrollerexecutepurchase.ts +3 -1
  406. package/src/models/operations/transactionscontrollercreate.ts +46 -0
  407. package/src/models/operations/transactionscontrollerfindall.ts +98 -0
  408. package/src/models/operations/transactionscontrollerfindone.ts +36 -0
  409. package/src/models/operations/transactionscontrollerupdate.ts +45 -0
  410. package/src/models/paymentraildatadto.ts +0 -9
  411. package/src/models/paymentstatus.ts +29 -0
  412. package/src/models/platformsettingsdto.ts +0 -24
  413. package/src/models/purchasenotconfirmeddto.ts +35 -0
  414. package/src/models/storedtransactionlistresponsedto.ts +59 -0
  415. package/src/models/storedtransactionresponsedto.ts +89 -0
  416. package/src/models/transactiondirection.ts +21 -0
  417. package/src/models/transactionitemdto.ts +62 -0
  418. package/src/models/transactionloandto.ts +55 -0
  419. package/src/models/transactionresponsedto.ts +104 -0
  420. package/src/models/transfermethodenum.ts +0 -1
  421. package/src/models/updatefiledto.ts +10 -0
  422. package/src/models/updatetransactiondto.ts +62 -0
  423. package/src/models/uploadfilesdto.ts +10 -0
  424. package/src/models/uploadfilesmultipartdto.ts +3 -0
  425. package/src/sdk/networkledger.ts +1 -35
  426. package/src/sdk/sdk.ts +6 -0
  427. package/src/sdk/transactions.ts +88 -0
  428. package/dist/commonjs/funcs/networkLedgerRecordAdjustment.d.ts.map +0 -1
  429. package/dist/commonjs/funcs/networkLedgerRecordAdjustment.js.map +0 -1
  430. package/dist/commonjs/funcs/networkLedgerUpdateHold.d.ts.map +0 -1
  431. package/dist/commonjs/funcs/networkLedgerUpdateHold.js.map +0 -1
  432. package/dist/commonjs/models/operations/networkcontrollerpatchhold.d.ts +0 -50
  433. package/dist/commonjs/models/operations/networkcontrollerpatchhold.d.ts.map +0 -1
  434. package/dist/commonjs/models/operations/networkcontrollerpatchhold.js.map +0 -1
  435. package/dist/commonjs/models/operations/networkcontrollerrecordadjustment.d.ts +0 -50
  436. package/dist/commonjs/models/operations/networkcontrollerrecordadjustment.d.ts.map +0 -1
  437. package/dist/commonjs/models/operations/networkcontrollerrecordadjustment.js.map +0 -1
  438. package/dist/commonjs/models/patchholdrequestdto.d.ts +0 -25
  439. package/dist/commonjs/models/patchholdrequestdto.d.ts.map +0 -1
  440. package/dist/commonjs/models/patchholdrequestdto.js.map +0 -1
  441. package/dist/commonjs/models/recordadjustmentrequestdto.d.ts +0 -71
  442. package/dist/commonjs/models/recordadjustmentrequestdto.d.ts.map +0 -1
  443. package/dist/commonjs/models/recordadjustmentrequestdto.js.map +0 -1
  444. package/dist/esm/funcs/networkLedgerRecordAdjustment.d.ts.map +0 -1
  445. package/dist/esm/funcs/networkLedgerRecordAdjustment.js.map +0 -1
  446. package/dist/esm/funcs/networkLedgerUpdateHold.d.ts.map +0 -1
  447. package/dist/esm/funcs/networkLedgerUpdateHold.js.map +0 -1
  448. package/dist/esm/models/operations/networkcontrollerpatchhold.d.ts +0 -50
  449. package/dist/esm/models/operations/networkcontrollerpatchhold.d.ts.map +0 -1
  450. package/dist/esm/models/operations/networkcontrollerpatchhold.js +0 -36
  451. package/dist/esm/models/operations/networkcontrollerpatchhold.js.map +0 -1
  452. package/dist/esm/models/operations/networkcontrollerrecordadjustment.d.ts +0 -50
  453. package/dist/esm/models/operations/networkcontrollerrecordadjustment.d.ts.map +0 -1
  454. package/dist/esm/models/operations/networkcontrollerrecordadjustment.js +0 -36
  455. package/dist/esm/models/operations/networkcontrollerrecordadjustment.js.map +0 -1
  456. package/dist/esm/models/patchholdrequestdto.d.ts +0 -25
  457. package/dist/esm/models/patchholdrequestdto.d.ts.map +0 -1
  458. package/dist/esm/models/patchholdrequestdto.js +0 -21
  459. package/dist/esm/models/patchholdrequestdto.js.map +0 -1
  460. package/dist/esm/models/recordadjustmentrequestdto.d.ts +0 -71
  461. package/dist/esm/models/recordadjustmentrequestdto.d.ts.map +0 -1
  462. package/dist/esm/models/recordadjustmentrequestdto.js +0 -42
  463. package/dist/esm/models/recordadjustmentrequestdto.js.map +0 -1
  464. package/src/models/operations/networkcontrollerpatchhold.ts +0 -105
  465. package/src/models/operations/networkcontrollerrecordadjustment.ts +0 -108
  466. package/src/models/patchholdrequestdto.ts +0 -53
  467. 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
+ }
@@ -10,7 +10,6 @@ import { ClosedEnum } from "../types/enums.js";
10
10
  */
11
11
  export const TransferMethodEnum = {
12
12
  Ach: "ACH",
13
- Dwolla: "DWOLLA",
14
13
  Stripe: "STRIPE",
15
14
  Moov: "MOOV",
16
15
  Unit: "UNIT",
@@ -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