@oatfi/oatfi-sdk-ts 0.11.65 → 0.11.66

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 (379) hide show
  1. package/README.md +27 -0
  2. package/dist/commonjs/funcs/billingCycleConfigsCreate.d.ts +15 -0
  3. package/dist/commonjs/funcs/billingCycleConfigsCreate.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/billingCycleConfigsCreate.js +133 -0
  5. package/dist/commonjs/funcs/billingCycleConfigsCreate.js.map +1 -0
  6. package/dist/commonjs/funcs/billingCycleConfigsGet.d.ts +15 -0
  7. package/dist/commonjs/funcs/billingCycleConfigsGet.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/billingCycleConfigsGet.js +133 -0
  9. package/dist/commonjs/funcs/billingCycleConfigsGet.js.map +1 -0
  10. package/dist/commonjs/funcs/billingCycleConfigsUpdate.d.ts +15 -0
  11. package/dist/commonjs/funcs/billingCycleConfigsUpdate.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/billingCycleConfigsUpdate.js +136 -0
  13. package/dist/commonjs/funcs/billingCycleConfigsUpdate.js.map +1 -0
  14. package/dist/commonjs/funcs/billingCyclesGet.d.ts +15 -0
  15. package/dist/commonjs/funcs/billingCyclesGet.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/billingCyclesGet.js +132 -0
  17. package/dist/commonjs/funcs/billingCyclesGet.js.map +1 -0
  18. package/dist/commonjs/funcs/billingCyclesList.d.ts +17 -0
  19. package/dist/commonjs/funcs/billingCyclesList.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/billingCyclesList.js +164 -0
  21. package/dist/commonjs/funcs/billingCyclesList.js.map +1 -0
  22. package/dist/commonjs/funcs/dailyReportsCreate.d.ts +15 -0
  23. package/dist/commonjs/funcs/dailyReportsCreate.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/dailyReportsCreate.js +125 -0
  25. package/dist/commonjs/funcs/dailyReportsCreate.js.map +1 -0
  26. package/dist/commonjs/funcs/dailyReportsGet.d.ts +15 -0
  27. package/dist/commonjs/funcs/dailyReportsGet.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/dailyReportsGet.js +127 -0
  29. package/dist/commonjs/funcs/dailyReportsGet.js.map +1 -0
  30. package/dist/commonjs/funcs/dailyReportsList.d.ts +17 -0
  31. package/dist/commonjs/funcs/dailyReportsList.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/dailyReportsList.js +158 -0
  33. package/dist/commonjs/funcs/dailyReportsList.js.map +1 -0
  34. package/dist/commonjs/funcs/dailyReportsUpdate.d.ts +15 -0
  35. package/dist/commonjs/funcs/dailyReportsUpdate.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/dailyReportsUpdate.js +131 -0
  37. package/dist/commonjs/funcs/dailyReportsUpdate.js.map +1 -0
  38. package/dist/commonjs/funcs/embedExchangeToken.d.ts +2 -0
  39. package/dist/commonjs/funcs/embedExchangeToken.d.ts.map +1 -1
  40. package/dist/commonjs/funcs/embedExchangeToken.js +3 -1
  41. package/dist/commonjs/funcs/embedExchangeToken.js.map +1 -1
  42. package/dist/commonjs/funcs/embedRefreshToken.d.ts +2 -0
  43. package/dist/commonjs/funcs/embedRefreshToken.d.ts.map +1 -1
  44. package/dist/commonjs/funcs/embedRefreshToken.js +3 -1
  45. package/dist/commonjs/funcs/embedRefreshToken.js.map +1 -1
  46. package/dist/commonjs/lib/config.d.ts +3 -3
  47. package/dist/commonjs/lib/config.js +3 -3
  48. package/dist/commonjs/lib/config.js.map +1 -1
  49. package/dist/commonjs/lib/security.d.ts +1 -1
  50. package/dist/commonjs/lib/security.d.ts.map +1 -1
  51. package/dist/commonjs/lib/security.js +19 -8
  52. package/dist/commonjs/lib/security.js.map +1 -1
  53. package/dist/commonjs/models/billingcycleconfigsresponsedto.d.ts +67 -0
  54. package/dist/commonjs/models/billingcycleconfigsresponsedto.d.ts.map +1 -0
  55. package/dist/commonjs/models/billingcycleconfigsresponsedto.js +77 -0
  56. package/dist/commonjs/models/billingcycleconfigsresponsedto.js.map +1 -0
  57. package/dist/commonjs/models/billingcyclesresponsedto.d.ts +87 -0
  58. package/dist/commonjs/models/billingcyclesresponsedto.d.ts.map +1 -0
  59. package/dist/commonjs/models/billingcyclesresponsedto.js +91 -0
  60. package/dist/commonjs/models/billingcyclesresponsedto.js.map +1 -0
  61. package/dist/commonjs/models/createbillingcycleconfigsdto.d.ts +30 -0
  62. package/dist/commonjs/models/createbillingcycleconfigsdto.d.ts.map +1 -0
  63. package/dist/commonjs/models/createbillingcycleconfigsdto.js +59 -0
  64. package/dist/commonjs/models/createbillingcycleconfigsdto.js.map +1 -0
  65. package/dist/commonjs/models/createdailyreportdto.d.ts +45 -0
  66. package/dist/commonjs/models/createdailyreportdto.d.ts.map +1 -0
  67. package/dist/commonjs/models/createdailyreportdto.js +63 -0
  68. package/dist/commonjs/models/createdailyreportdto.js.map +1 -0
  69. package/dist/commonjs/models/createpaymentdto.d.ts +5 -0
  70. package/dist/commonjs/models/createpaymentdto.d.ts.map +1 -1
  71. package/dist/commonjs/models/createpaymentdto.js +2 -0
  72. package/dist/commonjs/models/createpaymentdto.js.map +1 -1
  73. package/dist/commonjs/models/createprogramdto.d.ts +6 -0
  74. package/dist/commonjs/models/createprogramdto.d.ts.map +1 -1
  75. package/dist/commonjs/models/createprogramdto.js +3 -0
  76. package/dist/commonjs/models/createprogramdto.js.map +1 -1
  77. package/dist/commonjs/models/dailyreportdto.d.ts +61 -0
  78. package/dist/commonjs/models/dailyreportdto.d.ts.map +1 -0
  79. package/dist/commonjs/models/dailyreportdto.js +74 -0
  80. package/dist/commonjs/models/dailyreportdto.js.map +1 -0
  81. package/dist/commonjs/models/index.d.ts +8 -0
  82. package/dist/commonjs/models/index.d.ts.map +1 -1
  83. package/dist/commonjs/models/index.js +8 -0
  84. package/dist/commonjs/models/index.js.map +1 -1
  85. package/dist/commonjs/models/onboardingsettingsdto.d.ts +55 -0
  86. package/dist/commonjs/models/onboardingsettingsdto.d.ts.map +1 -0
  87. package/dist/commonjs/models/onboardingsettingsdto.js +94 -0
  88. package/dist/commonjs/models/onboardingsettingsdto.js.map +1 -0
  89. package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts +23 -0
  90. package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts.map +1 -0
  91. package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js +59 -0
  92. package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js.map +1 -0
  93. package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts +20 -0
  94. package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts.map +1 -0
  95. package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js +51 -0
  96. package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js.map +1 -0
  97. package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts +23 -0
  98. package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts.map +1 -0
  99. package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js +58 -0
  100. package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js.map +1 -0
  101. package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.d.ts +20 -0
  102. package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.d.ts.map +1 -0
  103. package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.js +55 -0
  104. package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.js.map +1 -0
  105. package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.d.ts +54 -0
  106. package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.d.ts.map +1 -0
  107. package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.js +70 -0
  108. package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.js.map +1 -0
  109. package/dist/commonjs/models/operations/dailyreportscontrollercreate.d.ts +21 -0
  110. package/dist/commonjs/models/operations/dailyreportscontrollercreate.d.ts.map +1 -0
  111. package/dist/commonjs/models/operations/dailyreportscontrollercreate.js +57 -0
  112. package/dist/commonjs/models/operations/dailyreportscontrollercreate.js.map +1 -0
  113. package/dist/commonjs/models/operations/dailyreportscontrollerfindall.d.ts +35 -0
  114. package/dist/commonjs/models/operations/dailyreportscontrollerfindall.d.ts.map +1 -0
  115. package/dist/commonjs/models/operations/dailyreportscontrollerfindall.js +59 -0
  116. package/dist/commonjs/models/operations/dailyreportscontrollerfindall.js.map +1 -0
  117. package/dist/commonjs/models/operations/dailyreportscontrollerfindone.d.ts +15 -0
  118. package/dist/commonjs/models/operations/dailyreportscontrollerfindone.d.ts.map +1 -0
  119. package/dist/commonjs/models/operations/dailyreportscontrollerfindone.js +49 -0
  120. package/dist/commonjs/models/operations/dailyreportscontrollerfindone.js.map +1 -0
  121. package/dist/commonjs/models/operations/dailyreportscontrollerupdate.d.ts +26 -0
  122. package/dist/commonjs/models/operations/dailyreportscontrollerupdate.d.ts.map +1 -0
  123. package/dist/commonjs/models/operations/dailyreportscontrollerupdate.js +58 -0
  124. package/dist/commonjs/models/operations/dailyreportscontrollerupdate.js.map +1 -0
  125. package/dist/commonjs/models/operations/index.d.ts +9 -0
  126. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  127. package/dist/commonjs/models/operations/index.js +9 -0
  128. package/dist/commonjs/models/operations/index.js.map +1 -1
  129. package/dist/commonjs/models/paymentdto.d.ts +4 -0
  130. package/dist/commonjs/models/paymentdto.d.ts.map +1 -1
  131. package/dist/commonjs/models/paymentdto.js +2 -0
  132. package/dist/commonjs/models/paymentdto.js.map +1 -1
  133. package/dist/commonjs/models/paymentinformationdto.d.ts +4 -0
  134. package/dist/commonjs/models/paymentinformationdto.d.ts.map +1 -1
  135. package/dist/commonjs/models/paymentinformationdto.js +2 -0
  136. package/dist/commonjs/models/paymentinformationdto.js.map +1 -1
  137. package/dist/commonjs/models/programresponsedto.d.ts +5 -0
  138. package/dist/commonjs/models/programresponsedto.d.ts.map +1 -1
  139. package/dist/commonjs/models/programresponsedto.js +3 -0
  140. package/dist/commonjs/models/programresponsedto.js.map +1 -1
  141. package/dist/commonjs/models/updatebillingcycleconfigsdto.d.ts +25 -0
  142. package/dist/commonjs/models/updatebillingcycleconfigsdto.d.ts.map +1 -0
  143. package/dist/commonjs/models/updatebillingcycleconfigsdto.js +57 -0
  144. package/dist/commonjs/models/updatebillingcycleconfigsdto.js.map +1 -0
  145. package/dist/commonjs/models/updatedailyreportdto.d.ts +40 -0
  146. package/dist/commonjs/models/updatedailyreportdto.d.ts.map +1 -0
  147. package/dist/commonjs/models/updatedailyreportdto.js +62 -0
  148. package/dist/commonjs/models/updatedailyreportdto.js.map +1 -0
  149. package/dist/commonjs/models/updateprogramdto.d.ts +6 -0
  150. package/dist/commonjs/models/updateprogramdto.d.ts.map +1 -1
  151. package/dist/commonjs/models/updateprogramdto.js +3 -0
  152. package/dist/commonjs/models/updateprogramdto.js.map +1 -1
  153. package/dist/commonjs/sdk/billingcycleconfigs.d.ts +18 -0
  154. package/dist/commonjs/sdk/billingcycleconfigs.d.ts.map +1 -0
  155. package/dist/commonjs/sdk/billingcycleconfigs.js +33 -0
  156. package/dist/commonjs/sdk/billingcycleconfigs.js.map +1 -0
  157. package/dist/commonjs/sdk/billingcycles.d.ts +17 -0
  158. package/dist/commonjs/sdk/billingcycles.d.ts.map +1 -0
  159. package/dist/commonjs/sdk/billingcycles.js +27 -0
  160. package/dist/commonjs/sdk/billingcycles.js.map +1 -0
  161. package/dist/commonjs/sdk/dailyreports.d.ts +25 -0
  162. package/dist/commonjs/sdk/dailyreports.d.ts.map +1 -0
  163. package/dist/commonjs/sdk/dailyreports.js +41 -0
  164. package/dist/commonjs/sdk/dailyreports.js.map +1 -0
  165. package/dist/commonjs/sdk/sdk.d.ts +9 -0
  166. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  167. package/dist/commonjs/sdk/sdk.js +12 -0
  168. package/dist/commonjs/sdk/sdk.js.map +1 -1
  169. package/dist/esm/funcs/billingCycleConfigsCreate.d.ts +15 -0
  170. package/dist/esm/funcs/billingCycleConfigsCreate.d.ts.map +1 -0
  171. package/dist/esm/funcs/billingCycleConfigsCreate.js +97 -0
  172. package/dist/esm/funcs/billingCycleConfigsCreate.js.map +1 -0
  173. package/dist/esm/funcs/billingCycleConfigsGet.d.ts +15 -0
  174. package/dist/esm/funcs/billingCycleConfigsGet.d.ts.map +1 -0
  175. package/dist/esm/funcs/billingCycleConfigsGet.js +97 -0
  176. package/dist/esm/funcs/billingCycleConfigsGet.js.map +1 -0
  177. package/dist/esm/funcs/billingCycleConfigsUpdate.d.ts +15 -0
  178. package/dist/esm/funcs/billingCycleConfigsUpdate.d.ts.map +1 -0
  179. package/dist/esm/funcs/billingCycleConfigsUpdate.js +100 -0
  180. package/dist/esm/funcs/billingCycleConfigsUpdate.js.map +1 -0
  181. package/dist/esm/funcs/billingCyclesGet.d.ts +15 -0
  182. package/dist/esm/funcs/billingCyclesGet.d.ts.map +1 -0
  183. package/dist/esm/funcs/billingCyclesGet.js +96 -0
  184. package/dist/esm/funcs/billingCyclesGet.js.map +1 -0
  185. package/dist/esm/funcs/billingCyclesList.d.ts +17 -0
  186. package/dist/esm/funcs/billingCyclesList.d.ts.map +1 -0
  187. package/dist/esm/funcs/billingCyclesList.js +128 -0
  188. package/dist/esm/funcs/billingCyclesList.js.map +1 -0
  189. package/dist/esm/funcs/dailyReportsCreate.d.ts +15 -0
  190. package/dist/esm/funcs/dailyReportsCreate.d.ts.map +1 -0
  191. package/dist/esm/funcs/dailyReportsCreate.js +89 -0
  192. package/dist/esm/funcs/dailyReportsCreate.js.map +1 -0
  193. package/dist/esm/funcs/dailyReportsGet.d.ts +15 -0
  194. package/dist/esm/funcs/dailyReportsGet.d.ts.map +1 -0
  195. package/dist/esm/funcs/dailyReportsGet.js +91 -0
  196. package/dist/esm/funcs/dailyReportsGet.js.map +1 -0
  197. package/dist/esm/funcs/dailyReportsList.d.ts +17 -0
  198. package/dist/esm/funcs/dailyReportsList.d.ts.map +1 -0
  199. package/dist/esm/funcs/dailyReportsList.js +122 -0
  200. package/dist/esm/funcs/dailyReportsList.js.map +1 -0
  201. package/dist/esm/funcs/dailyReportsUpdate.d.ts +15 -0
  202. package/dist/esm/funcs/dailyReportsUpdate.d.ts.map +1 -0
  203. package/dist/esm/funcs/dailyReportsUpdate.js +95 -0
  204. package/dist/esm/funcs/dailyReportsUpdate.js.map +1 -0
  205. package/dist/esm/funcs/embedExchangeToken.d.ts +2 -0
  206. package/dist/esm/funcs/embedExchangeToken.d.ts.map +1 -1
  207. package/dist/esm/funcs/embedExchangeToken.js +3 -1
  208. package/dist/esm/funcs/embedExchangeToken.js.map +1 -1
  209. package/dist/esm/funcs/embedRefreshToken.d.ts +2 -0
  210. package/dist/esm/funcs/embedRefreshToken.d.ts.map +1 -1
  211. package/dist/esm/funcs/embedRefreshToken.js +3 -1
  212. package/dist/esm/funcs/embedRefreshToken.js.map +1 -1
  213. package/dist/esm/lib/config.d.ts +3 -3
  214. package/dist/esm/lib/config.js +3 -3
  215. package/dist/esm/lib/config.js.map +1 -1
  216. package/dist/esm/lib/security.d.ts +1 -1
  217. package/dist/esm/lib/security.d.ts.map +1 -1
  218. package/dist/esm/lib/security.js +19 -8
  219. package/dist/esm/lib/security.js.map +1 -1
  220. package/dist/esm/models/billingcycleconfigsresponsedto.d.ts +67 -0
  221. package/dist/esm/models/billingcycleconfigsresponsedto.d.ts.map +1 -0
  222. package/dist/esm/models/billingcycleconfigsresponsedto.js +40 -0
  223. package/dist/esm/models/billingcycleconfigsresponsedto.js.map +1 -0
  224. package/dist/esm/models/billingcyclesresponsedto.d.ts +87 -0
  225. package/dist/esm/models/billingcyclesresponsedto.d.ts.map +1 -0
  226. package/dist/esm/models/billingcyclesresponsedto.js +54 -0
  227. package/dist/esm/models/billingcyclesresponsedto.js.map +1 -0
  228. package/dist/esm/models/createbillingcycleconfigsdto.d.ts +30 -0
  229. package/dist/esm/models/createbillingcycleconfigsdto.d.ts.map +1 -0
  230. package/dist/esm/models/createbillingcycleconfigsdto.js +22 -0
  231. package/dist/esm/models/createbillingcycleconfigsdto.js.map +1 -0
  232. package/dist/esm/models/createdailyreportdto.d.ts +45 -0
  233. package/dist/esm/models/createdailyreportdto.d.ts.map +1 -0
  234. package/dist/esm/models/createdailyreportdto.js +26 -0
  235. package/dist/esm/models/createdailyreportdto.js.map +1 -0
  236. package/dist/esm/models/createpaymentdto.d.ts +5 -0
  237. package/dist/esm/models/createpaymentdto.d.ts.map +1 -1
  238. package/dist/esm/models/createpaymentdto.js +2 -0
  239. package/dist/esm/models/createpaymentdto.js.map +1 -1
  240. package/dist/esm/models/createprogramdto.d.ts +6 -0
  241. package/dist/esm/models/createprogramdto.d.ts.map +1 -1
  242. package/dist/esm/models/createprogramdto.js +3 -0
  243. package/dist/esm/models/createprogramdto.js.map +1 -1
  244. package/dist/esm/models/dailyreportdto.d.ts +61 -0
  245. package/dist/esm/models/dailyreportdto.d.ts.map +1 -0
  246. package/dist/esm/models/dailyreportdto.js +37 -0
  247. package/dist/esm/models/dailyreportdto.js.map +1 -0
  248. package/dist/esm/models/index.d.ts +8 -0
  249. package/dist/esm/models/index.d.ts.map +1 -1
  250. package/dist/esm/models/index.js +8 -0
  251. package/dist/esm/models/index.js.map +1 -1
  252. package/dist/esm/models/onboardingsettingsdto.d.ts +55 -0
  253. package/dist/esm/models/onboardingsettingsdto.d.ts.map +1 -0
  254. package/dist/esm/models/onboardingsettingsdto.js +56 -0
  255. package/dist/esm/models/onboardingsettingsdto.js.map +1 -0
  256. package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts +23 -0
  257. package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts.map +1 -0
  258. package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js +22 -0
  259. package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js.map +1 -0
  260. package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts +20 -0
  261. package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts.map +1 -0
  262. package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js +14 -0
  263. package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js.map +1 -0
  264. package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts +23 -0
  265. package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts.map +1 -0
  266. package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js +21 -0
  267. package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js.map +1 -0
  268. package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.d.ts +20 -0
  269. package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.d.ts.map +1 -0
  270. package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.js +18 -0
  271. package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.js.map +1 -0
  272. package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.d.ts +54 -0
  273. package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.d.ts.map +1 -0
  274. package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.js +33 -0
  275. package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.js.map +1 -0
  276. package/dist/esm/models/operations/dailyreportscontrollercreate.d.ts +21 -0
  277. package/dist/esm/models/operations/dailyreportscontrollercreate.d.ts.map +1 -0
  278. package/dist/esm/models/operations/dailyreportscontrollercreate.js +20 -0
  279. package/dist/esm/models/operations/dailyreportscontrollercreate.js.map +1 -0
  280. package/dist/esm/models/operations/dailyreportscontrollerfindall.d.ts +35 -0
  281. package/dist/esm/models/operations/dailyreportscontrollerfindall.d.ts.map +1 -0
  282. package/dist/esm/models/operations/dailyreportscontrollerfindall.js +22 -0
  283. package/dist/esm/models/operations/dailyreportscontrollerfindall.js.map +1 -0
  284. package/dist/esm/models/operations/dailyreportscontrollerfindone.d.ts +15 -0
  285. package/dist/esm/models/operations/dailyreportscontrollerfindone.d.ts.map +1 -0
  286. package/dist/esm/models/operations/dailyreportscontrollerfindone.js +12 -0
  287. package/dist/esm/models/operations/dailyreportscontrollerfindone.js.map +1 -0
  288. package/dist/esm/models/operations/dailyreportscontrollerupdate.d.ts +26 -0
  289. package/dist/esm/models/operations/dailyreportscontrollerupdate.d.ts.map +1 -0
  290. package/dist/esm/models/operations/dailyreportscontrollerupdate.js +21 -0
  291. package/dist/esm/models/operations/dailyreportscontrollerupdate.js.map +1 -0
  292. package/dist/esm/models/operations/index.d.ts +9 -0
  293. package/dist/esm/models/operations/index.d.ts.map +1 -1
  294. package/dist/esm/models/operations/index.js +9 -0
  295. package/dist/esm/models/operations/index.js.map +1 -1
  296. package/dist/esm/models/paymentdto.d.ts +4 -0
  297. package/dist/esm/models/paymentdto.d.ts.map +1 -1
  298. package/dist/esm/models/paymentdto.js +2 -0
  299. package/dist/esm/models/paymentdto.js.map +1 -1
  300. package/dist/esm/models/paymentinformationdto.d.ts +4 -0
  301. package/dist/esm/models/paymentinformationdto.d.ts.map +1 -1
  302. package/dist/esm/models/paymentinformationdto.js +2 -0
  303. package/dist/esm/models/paymentinformationdto.js.map +1 -1
  304. package/dist/esm/models/programresponsedto.d.ts +5 -0
  305. package/dist/esm/models/programresponsedto.d.ts.map +1 -1
  306. package/dist/esm/models/programresponsedto.js +3 -0
  307. package/dist/esm/models/programresponsedto.js.map +1 -1
  308. package/dist/esm/models/updatebillingcycleconfigsdto.d.ts +25 -0
  309. package/dist/esm/models/updatebillingcycleconfigsdto.d.ts.map +1 -0
  310. package/dist/esm/models/updatebillingcycleconfigsdto.js +20 -0
  311. package/dist/esm/models/updatebillingcycleconfigsdto.js.map +1 -0
  312. package/dist/esm/models/updatedailyreportdto.d.ts +40 -0
  313. package/dist/esm/models/updatedailyreportdto.d.ts.map +1 -0
  314. package/dist/esm/models/updatedailyreportdto.js +25 -0
  315. package/dist/esm/models/updatedailyreportdto.js.map +1 -0
  316. package/dist/esm/models/updateprogramdto.d.ts +6 -0
  317. package/dist/esm/models/updateprogramdto.d.ts.map +1 -1
  318. package/dist/esm/models/updateprogramdto.js +3 -0
  319. package/dist/esm/models/updateprogramdto.js.map +1 -1
  320. package/dist/esm/sdk/billingcycleconfigs.d.ts +18 -0
  321. package/dist/esm/sdk/billingcycleconfigs.d.ts.map +1 -0
  322. package/dist/esm/sdk/billingcycleconfigs.js +29 -0
  323. package/dist/esm/sdk/billingcycleconfigs.js.map +1 -0
  324. package/dist/esm/sdk/billingcycles.d.ts +17 -0
  325. package/dist/esm/sdk/billingcycles.d.ts.map +1 -0
  326. package/dist/esm/sdk/billingcycles.js +23 -0
  327. package/dist/esm/sdk/billingcycles.js.map +1 -0
  328. package/dist/esm/sdk/dailyreports.d.ts +25 -0
  329. package/dist/esm/sdk/dailyreports.d.ts.map +1 -0
  330. package/dist/esm/sdk/dailyreports.js +37 -0
  331. package/dist/esm/sdk/dailyreports.js.map +1 -0
  332. package/dist/esm/sdk/sdk.d.ts +9 -0
  333. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  334. package/dist/esm/sdk/sdk.js +12 -0
  335. package/dist/esm/sdk/sdk.js.map +1 -1
  336. package/jsr.json +1 -1
  337. package/package.json +1 -1
  338. package/src/funcs/billingCycleConfigsCreate.ts +188 -0
  339. package/src/funcs/billingCycleConfigsGet.ts +182 -0
  340. package/src/funcs/billingCycleConfigsUpdate.ts +187 -0
  341. package/src/funcs/billingCyclesGet.ts +181 -0
  342. package/src/funcs/billingCyclesList.ts +251 -0
  343. package/src/funcs/dailyReportsCreate.ts +178 -0
  344. package/src/funcs/dailyReportsGet.ts +176 -0
  345. package/src/funcs/dailyReportsList.ts +243 -0
  346. package/src/funcs/dailyReportsUpdate.ts +184 -0
  347. package/src/funcs/embedExchangeToken.ts +3 -1
  348. package/src/funcs/embedRefreshToken.ts +3 -1
  349. package/src/lib/config.ts +3 -3
  350. package/src/lib/security.ts +14 -2
  351. package/src/models/billingcycleconfigsresponsedto.ts +112 -0
  352. package/src/models/billingcyclesresponsedto.ts +146 -0
  353. package/src/models/createbillingcycleconfigsdto.ts +61 -0
  354. package/src/models/createdailyreportdto.ts +78 -0
  355. package/src/models/createpaymentdto.ts +7 -0
  356. package/src/models/createprogramdto.ts +12 -0
  357. package/src/models/dailyreportdto.ts +106 -0
  358. package/src/models/index.ts +8 -0
  359. package/src/models/onboardingsettingsdto.ts +125 -0
  360. package/src/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.ts +55 -0
  361. package/src/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.ts +44 -0
  362. package/src/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.ts +54 -0
  363. package/src/models/operations/billingcyclescontrollergetbillingcycle.ts +49 -0
  364. package/src/models/operations/billingcyclescontrollerlistbillingcycles.ts +91 -0
  365. package/src/models/operations/dailyreportscontrollercreate.ts +49 -0
  366. package/src/models/operations/dailyreportscontrollerfindall.ts +66 -0
  367. package/src/models/operations/dailyreportscontrollerfindone.ts +36 -0
  368. package/src/models/operations/dailyreportscontrollerupdate.ts +55 -0
  369. package/src/models/operations/index.ts +9 -0
  370. package/src/models/paymentdto.ts +6 -0
  371. package/src/models/paymentinformationdto.ts +6 -0
  372. package/src/models/programresponsedto.ts +10 -0
  373. package/src/models/updatebillingcycleconfigsdto.ts +54 -0
  374. package/src/models/updatedailyreportdto.ts +72 -0
  375. package/src/models/updateprogramdto.ts +12 -0
  376. package/src/sdk/billingcycleconfigs.ts +58 -0
  377. package/src/sdk/billingcycles.ts +41 -0
  378. package/src/sdk/dailyreports.ts +71 -0
  379. package/src/sdk/sdk.ts +20 -0
@@ -0,0 +1,112 @@
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 { ClosedEnum } from "../types/enums.js";
9
+ import { Result as SafeParseResult } from "../types/fp.js";
10
+ import * as types from "../types/primitives.js";
11
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
12
+
13
+ /**
14
+ * The billing cycle type.
15
+ */
16
+ export const BillingCycleConfigsResponseDtoType = {
17
+ Duration: "DURATION",
18
+ Monthly: "MONTHLY",
19
+ } as const;
20
+ /**
21
+ * The billing cycle type.
22
+ */
23
+ export type BillingCycleConfigsResponseDtoType = ClosedEnum<
24
+ typeof BillingCycleConfigsResponseDtoType
25
+ >;
26
+
27
+ export type BillingCycleConfigsResponseDto = {
28
+ /**
29
+ * The ID of the business billing cycle.
30
+ */
31
+ id: string;
32
+ /**
33
+ * The object type.
34
+ */
35
+ object: string;
36
+ /**
37
+ * The ID of the platform.
38
+ */
39
+ platform: string;
40
+ /**
41
+ * The ID of the business.
42
+ */
43
+ business: string;
44
+ /**
45
+ * The ID of the program.
46
+ */
47
+ program: string;
48
+ /**
49
+ * The billing cycle type.
50
+ */
51
+ type: BillingCycleConfigsResponseDtoType;
52
+ /**
53
+ * The start day of the billing cycle.
54
+ */
55
+ startDay: number;
56
+ /**
57
+ * Whether the billing cycle is active.
58
+ */
59
+ active: boolean;
60
+ /**
61
+ * The APR of the billing cycle.
62
+ */
63
+ apr: number;
64
+ /**
65
+ * The repayment duration in days.
66
+ */
67
+ repaymentDuration: number;
68
+ /**
69
+ * The ID of the billing cycle settings.
70
+ */
71
+ billingCycleSettings: string;
72
+ };
73
+
74
+ /** @internal */
75
+ export const BillingCycleConfigsResponseDtoType$inboundSchema: z.ZodNativeEnum<
76
+ typeof BillingCycleConfigsResponseDtoType
77
+ > = z.nativeEnum(BillingCycleConfigsResponseDtoType);
78
+
79
+ /** @internal */
80
+ export const BillingCycleConfigsResponseDto$inboundSchema: z.ZodType<
81
+ BillingCycleConfigsResponseDto,
82
+ z.ZodTypeDef,
83
+ unknown
84
+ > = z.object({
85
+ id: types.string(),
86
+ object: types.string(),
87
+ platform: types.string(),
88
+ business: types.string(),
89
+ program: types.string(),
90
+ type: BillingCycleConfigsResponseDtoType$inboundSchema,
91
+ start_day: types.number(),
92
+ active: types.boolean(),
93
+ apr: types.number(),
94
+ repayment_duration: types.number(),
95
+ billing_cycle_settings: types.string(),
96
+ }).transform((v) => {
97
+ return remap$(v, {
98
+ "start_day": "startDay",
99
+ "repayment_duration": "repaymentDuration",
100
+ "billing_cycle_settings": "billingCycleSettings",
101
+ });
102
+ });
103
+
104
+ export function billingCycleConfigsResponseDtoFromJSON(
105
+ jsonString: string,
106
+ ): SafeParseResult<BillingCycleConfigsResponseDto, SDKValidationError> {
107
+ return safeParse(
108
+ jsonString,
109
+ (x) => BillingCycleConfigsResponseDto$inboundSchema.parse(JSON.parse(x)),
110
+ `Failed to parse 'BillingCycleConfigsResponseDto' from JSON`,
111
+ );
112
+ }
@@ -0,0 +1,146 @@
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 { ClosedEnum } from "../types/enums.js";
9
+ import { Result as SafeParseResult } from "../types/fp.js";
10
+ import * as types from "../types/primitives.js";
11
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
12
+
13
+ /**
14
+ * The status of the billing cycle.
15
+ */
16
+ export const BillingCyclesResponseDtoStatus = {
17
+ Open: "OPEN",
18
+ Closed: "CLOSED",
19
+ } as const;
20
+ /**
21
+ * The status of the billing cycle.
22
+ */
23
+ export type BillingCyclesResponseDtoStatus = ClosedEnum<
24
+ typeof BillingCyclesResponseDtoStatus
25
+ >;
26
+
27
+ export type BillingCyclesResponseDto = {
28
+ /**
29
+ * The ID of the billing cycle.
30
+ */
31
+ id: string;
32
+ /**
33
+ * The object type.
34
+ */
35
+ object: string;
36
+ /**
37
+ * The start date of the billing cycle.
38
+ */
39
+ startDate: Date;
40
+ /**
41
+ * The end date of the billing cycle.
42
+ */
43
+ endDate: Date;
44
+ /**
45
+ * The due date of the billing cycle.
46
+ */
47
+ dueDate: Date;
48
+ /**
49
+ * The outstanding balance of the billing cycle.
50
+ */
51
+ outstandingBalance: number;
52
+ /**
53
+ * The opening balance of the billing cycle.
54
+ */
55
+ openingBalance: number;
56
+ /**
57
+ * The status of the billing cycle.
58
+ */
59
+ status: BillingCyclesResponseDtoStatus;
60
+ /**
61
+ * The total late fees of the billing cycle.
62
+ */
63
+ totalLateFees: number;
64
+ /**
65
+ * The cycle number of the billing cycle.
66
+ */
67
+ cycleNumber: number;
68
+ /**
69
+ * The ID of the business.
70
+ */
71
+ business: string;
72
+ /**
73
+ * The ID of the billing cycle config.
74
+ */
75
+ billingCycleConfig: string;
76
+ /**
77
+ * The fee amount of the billing cycle.
78
+ */
79
+ feeAmount: number;
80
+ /**
81
+ * The principal balance of the billing cycle.
82
+ */
83
+ principalBalance: number;
84
+ /**
85
+ * The due interest of the billing cycle.
86
+ */
87
+ dueInterest: number;
88
+ /**
89
+ * The unreported total late fees of the billing cycle.
90
+ */
91
+ unreportedTotalLateFees: number;
92
+ };
93
+
94
+ /** @internal */
95
+ export const BillingCyclesResponseDtoStatus$inboundSchema: z.ZodNativeEnum<
96
+ typeof BillingCyclesResponseDtoStatus
97
+ > = z.nativeEnum(BillingCyclesResponseDtoStatus);
98
+
99
+ /** @internal */
100
+ export const BillingCyclesResponseDto$inboundSchema: z.ZodType<
101
+ BillingCyclesResponseDto,
102
+ z.ZodTypeDef,
103
+ unknown
104
+ > = z.object({
105
+ id: types.string(),
106
+ object: types.string(),
107
+ start_date: types.date(),
108
+ end_date: types.date(),
109
+ due_date: types.date(),
110
+ outstanding_balance: types.number(),
111
+ opening_balance: types.number(),
112
+ status: BillingCyclesResponseDtoStatus$inboundSchema,
113
+ total_late_fees: types.number(),
114
+ cycle_number: types.number(),
115
+ business: types.string(),
116
+ billing_cycle_config: types.string(),
117
+ fee_amount: types.number(),
118
+ principal_balance: types.number(),
119
+ due_interest: types.number(),
120
+ unreported_total_late_fees: types.number(),
121
+ }).transform((v) => {
122
+ return remap$(v, {
123
+ "start_date": "startDate",
124
+ "end_date": "endDate",
125
+ "due_date": "dueDate",
126
+ "outstanding_balance": "outstandingBalance",
127
+ "opening_balance": "openingBalance",
128
+ "total_late_fees": "totalLateFees",
129
+ "cycle_number": "cycleNumber",
130
+ "billing_cycle_config": "billingCycleConfig",
131
+ "fee_amount": "feeAmount",
132
+ "principal_balance": "principalBalance",
133
+ "due_interest": "dueInterest",
134
+ "unreported_total_late_fees": "unreportedTotalLateFees",
135
+ });
136
+ });
137
+
138
+ export function billingCyclesResponseDtoFromJSON(
139
+ jsonString: string,
140
+ ): SafeParseResult<BillingCyclesResponseDto, SDKValidationError> {
141
+ return safeParse(
142
+ jsonString,
143
+ (x) => BillingCyclesResponseDto$inboundSchema.parse(JSON.parse(x)),
144
+ `Failed to parse 'BillingCyclesResponseDto' from JSON`,
145
+ );
146
+ }
@@ -0,0 +1,61 @@
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
+
8
+ export type CreateBillingCycleConfigsDto = {
9
+ /**
10
+ * The repayment duration of the billing cycle.
11
+ */
12
+ repaymentDuration?: number | undefined;
13
+ /**
14
+ * The start day of the billing cycle.
15
+ */
16
+ startDay?: number | undefined;
17
+ /**
18
+ * The ID of the billing cycle configuration.
19
+ */
20
+ billingCycleConfig?: string | undefined;
21
+ /**
22
+ * The ID of the loan program.
23
+ */
24
+ program?: string | undefined;
25
+ };
26
+
27
+ /** @internal */
28
+ export type CreateBillingCycleConfigsDto$Outbound = {
29
+ repayment_duration?: number | undefined;
30
+ start_day?: number | undefined;
31
+ billing_cycle_config?: string | undefined;
32
+ program?: string | undefined;
33
+ };
34
+
35
+ /** @internal */
36
+ export const CreateBillingCycleConfigsDto$outboundSchema: z.ZodType<
37
+ CreateBillingCycleConfigsDto$Outbound,
38
+ z.ZodTypeDef,
39
+ CreateBillingCycleConfigsDto
40
+ > = z.object({
41
+ repaymentDuration: z.number().optional(),
42
+ startDay: z.number().optional(),
43
+ billingCycleConfig: z.string().optional(),
44
+ program: z.string().optional(),
45
+ }).transform((v) => {
46
+ return remap$(v, {
47
+ repaymentDuration: "repayment_duration",
48
+ startDay: "start_day",
49
+ billingCycleConfig: "billing_cycle_config",
50
+ });
51
+ });
52
+
53
+ export function createBillingCycleConfigsDtoToJSON(
54
+ createBillingCycleConfigsDto: CreateBillingCycleConfigsDto,
55
+ ): string {
56
+ return JSON.stringify(
57
+ CreateBillingCycleConfigsDto$outboundSchema.parse(
58
+ createBillingCycleConfigsDto,
59
+ ),
60
+ );
61
+ }
@@ -0,0 +1,78 @@
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
+
8
+ export type CreateDailyReportDto = {
9
+ /**
10
+ * The program ID.
11
+ */
12
+ program: string;
13
+ /**
14
+ * The business ID.
15
+ */
16
+ business: string;
17
+ /**
18
+ * The daily spend amount in cents. Must be >= 0.
19
+ */
20
+ dailySpend: number;
21
+ /**
22
+ * The billing cycle outstanding balance in cents. Must be >= 0.
23
+ */
24
+ billingCycleOutstandingBalance?: number | undefined;
25
+ /**
26
+ * The late fees amount in cents. Must be >= 0.
27
+ */
28
+ lateFees?: number | undefined;
29
+ /**
30
+ * The repayment amount in cents. Must be >= 0.
31
+ */
32
+ repaymentAmount: number;
33
+ /**
34
+ * The date of the daily report in YYYY-MM-DD format.
35
+ */
36
+ date: string;
37
+ };
38
+
39
+ /** @internal */
40
+ export type CreateDailyReportDto$Outbound = {
41
+ program: string;
42
+ business: string;
43
+ daily_spend: number;
44
+ billing_cycle_outstanding_balance?: number | undefined;
45
+ late_fees?: number | undefined;
46
+ repayment_amount: number;
47
+ date: string;
48
+ };
49
+
50
+ /** @internal */
51
+ export const CreateDailyReportDto$outboundSchema: z.ZodType<
52
+ CreateDailyReportDto$Outbound,
53
+ z.ZodTypeDef,
54
+ CreateDailyReportDto
55
+ > = z.object({
56
+ program: z.string(),
57
+ business: z.string(),
58
+ dailySpend: z.number(),
59
+ billingCycleOutstandingBalance: z.number().optional(),
60
+ lateFees: z.number().optional(),
61
+ repaymentAmount: z.number(),
62
+ date: z.string(),
63
+ }).transform((v) => {
64
+ return remap$(v, {
65
+ dailySpend: "daily_spend",
66
+ billingCycleOutstandingBalance: "billing_cycle_outstanding_balance",
67
+ lateFees: "late_fees",
68
+ repaymentAmount: "repayment_amount",
69
+ });
70
+ });
71
+
72
+ export function createDailyReportDtoToJSON(
73
+ createDailyReportDto: CreateDailyReportDto,
74
+ ): string {
75
+ return JSON.stringify(
76
+ CreateDailyReportDto$outboundSchema.parse(createDailyReportDto),
77
+ );
78
+ }
@@ -50,6 +50,10 @@ export type CreatePaymentDto = {
50
50
  * External Transfer Id
51
51
  */
52
52
  thirdPartyTransferId?: string | undefined;
53
+ /**
54
+ * Indicates this is a non-cash repayment where the payment was collected outside OatFi. The transaction is recorded in the LMS but no money movement occurs.
55
+ */
56
+ nonCash?: boolean | undefined;
53
57
  };
54
58
 
55
59
  /** @internal */
@@ -65,6 +69,7 @@ export type CreatePaymentDto$Outbound = {
65
69
  payment_request_id?: string | undefined;
66
70
  third_party_payment_status?: string | undefined;
67
71
  third_party_transfer_id?: string | undefined;
72
+ non_cash?: boolean | undefined;
68
73
  };
69
74
 
70
75
  /** @internal */
@@ -84,6 +89,7 @@ export const CreatePaymentDto$outboundSchema: z.ZodType<
84
89
  paymentRequestId: z.string().optional(),
85
90
  thirdPartyPaymentStatus: z.string().optional(),
86
91
  thirdPartyTransferId: z.string().optional(),
92
+ nonCash: z.boolean().optional(),
87
93
  }).transform((v) => {
88
94
  return remap$(v, {
89
95
  paymentIntent: "payment_intent",
@@ -93,6 +99,7 @@ export const CreatePaymentDto$outboundSchema: z.ZodType<
93
99
  paymentRequestId: "payment_request_id",
94
100
  thirdPartyPaymentStatus: "third_party_payment_status",
95
101
  thirdPartyTransferId: "third_party_transfer_id",
102
+ nonCash: "non_cash",
96
103
  });
97
104
  });
98
105
 
@@ -15,6 +15,11 @@ import {
15
15
  HoldSettingsDto$Outbound,
16
16
  HoldSettingsDto$outboundSchema,
17
17
  } from "./holdsettingsdto.js";
18
+ import {
19
+ OnboardingSettingsDto,
20
+ OnboardingSettingsDto$Outbound,
21
+ OnboardingSettingsDto$outboundSchema,
22
+ } from "./onboardingsettingsdto.js";
18
23
  import {
19
24
  TermsSettingsDto,
20
25
  TermsSettingsDto$Outbound,
@@ -248,6 +253,10 @@ export type CreateProgramDto = {
248
253
  * Whether to deny funding
249
254
  */
250
255
  denyFunding?: boolean | undefined;
256
+ /**
257
+ * Onboarding configuration
258
+ */
259
+ onboardingSettings?: OnboardingSettingsDto | undefined;
251
260
  };
252
261
 
253
262
  /** @internal */
@@ -344,6 +353,7 @@ export type CreateProgramDto$Outbound = {
344
353
  delay_funding_config?: DelayFundingConfigDto$Outbound | undefined;
345
354
  terms_settings?: TermsSettingsDto$Outbound | undefined;
346
355
  deny_funding?: boolean | undefined;
356
+ onboarding_settings?: OnboardingSettingsDto$Outbound | undefined;
347
357
  };
348
358
 
349
359
  /** @internal */
@@ -386,6 +396,7 @@ export const CreateProgramDto$outboundSchema: z.ZodType<
386
396
  delayFundingConfig: DelayFundingConfigDto$outboundSchema.optional(),
387
397
  termsSettings: TermsSettingsDto$outboundSchema.optional(),
388
398
  denyFunding: z.boolean().optional(),
399
+ onboardingSettings: OnboardingSettingsDto$outboundSchema.optional(),
389
400
  }).transform((v) => {
390
401
  return remap$(v, {
391
402
  platformProductSettings: "platform_product_settings",
@@ -410,6 +421,7 @@ export const CreateProgramDto$outboundSchema: z.ZodType<
410
421
  delayFundingConfig: "delay_funding_config",
411
422
  termsSettings: "terms_settings",
412
423
  denyFunding: "deny_funding",
424
+ onboardingSettings: "onboarding_settings",
413
425
  });
414
426
  });
415
427
 
@@ -0,0 +1,106 @@
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 DailyReportDto = {
13
+ /**
14
+ * Unique identifier for the daily report.
15
+ */
16
+ id: string;
17
+ /**
18
+ * String representing the object's type.
19
+ */
20
+ object: string;
21
+ /**
22
+ * The program associated with this daily report.
23
+ */
24
+ program: string;
25
+ /**
26
+ * The business associated with this daily report.
27
+ */
28
+ business: string;
29
+ /**
30
+ * The daily spend amount in cents.
31
+ */
32
+ dailySpend: number;
33
+ /**
34
+ * The billing cycle outstanding balance in cents.
35
+ */
36
+ billingCycleOutstandingBalance?: number | undefined;
37
+ /**
38
+ * The late fees amount in cents.
39
+ */
40
+ lateFees?: number | undefined;
41
+ /**
42
+ * The repayment amount in cents.
43
+ */
44
+ repaymentAmount?: number | undefined;
45
+ /**
46
+ * The date of the daily report in YYYY-MM-DD format.
47
+ */
48
+ date: string;
49
+ /**
50
+ * The loan associated with this daily report, if executed.
51
+ */
52
+ origination?: string | undefined;
53
+ /**
54
+ * The payment intent created from this daily report.
55
+ */
56
+ paymentIntent?: string | undefined;
57
+ /**
58
+ * Timestamp of when the daily report was created.
59
+ */
60
+ createdAt: Date;
61
+ /**
62
+ * Timestamp of when the daily report was last updated.
63
+ */
64
+ updatedAt: Date;
65
+ };
66
+
67
+ /** @internal */
68
+ export const DailyReportDto$inboundSchema: z.ZodType<
69
+ DailyReportDto,
70
+ z.ZodTypeDef,
71
+ unknown
72
+ > = z.object({
73
+ id: types.string(),
74
+ object: types.string(),
75
+ program: types.string(),
76
+ business: types.string(),
77
+ daily_spend: types.number(),
78
+ billing_cycle_outstanding_balance: types.optional(types.number()),
79
+ late_fees: types.optional(types.number()),
80
+ repayment_amount: types.optional(types.number()),
81
+ date: types.string(),
82
+ origination: types.optional(types.string()),
83
+ payment_intent: types.optional(types.string()),
84
+ created_at: types.date(),
85
+ updated_at: types.date(),
86
+ }).transform((v) => {
87
+ return remap$(v, {
88
+ "daily_spend": "dailySpend",
89
+ "billing_cycle_outstanding_balance": "billingCycleOutstandingBalance",
90
+ "late_fees": "lateFees",
91
+ "repayment_amount": "repaymentAmount",
92
+ "payment_intent": "paymentIntent",
93
+ "created_at": "createdAt",
94
+ "updated_at": "updatedAt",
95
+ });
96
+ });
97
+
98
+ export function dailyReportDtoFromJSON(
99
+ jsonString: string,
100
+ ): SafeParseResult<DailyReportDto, SDKValidationError> {
101
+ return safeParse(
102
+ jsonString,
103
+ (x) => DailyReportDto$inboundSchema.parse(JSON.parse(x)),
104
+ `Failed to parse 'DailyReportDto' from JSON`,
105
+ );
106
+ }
@@ -20,6 +20,8 @@ export * from "./authresponsedto.js";
20
20
  export * from "./balancebyproductdto.js";
21
21
  export * from "./balancesummaryinvoicedto.js";
22
22
  export * from "./balancesummaryoutstandingdto.js";
23
+ export * from "./billingcycleconfigsresponsedto.js";
24
+ export * from "./billingcyclesresponsedto.js";
23
25
  export * from "./bulkcreatebusinessrequestdto.js";
24
26
  export * from "./businessbalancedto.js";
25
27
  export * from "./businessbalancesummarydto.js";
@@ -34,7 +36,9 @@ export * from "./changepassworddto.js";
34
36
  export * from "./consentsdto.js";
35
37
  export * from "./createapikeydto.js";
36
38
  export * from "./createapplicationdto.js";
39
+ export * from "./createbillingcycleconfigsdto.js";
37
40
  export * from "./createbusinessdto.js";
41
+ export * from "./createdailyreportdto.js";
38
42
  export * from "./createfinancialaccountdto.js";
39
43
  export * from "./createholddto.js";
40
44
  export * from "./createonboardingtermsacceptancedto.js";
@@ -51,6 +55,7 @@ export * from "./createprogramdto.js";
51
55
  export * from "./createprogramsettingdto.js";
52
56
  export * from "./createsupplementaldatadto.js";
53
57
  export * from "./customertype.js";
58
+ export * from "./dailyreportdto.js";
54
59
  export * from "./delaybatchtimeframedto.js";
55
60
  export * from "./delayfundingconfigdto.js";
56
61
  export * from "./directdebitauthorizationsettingdto.js";
@@ -109,6 +114,7 @@ export * from "./notificationchanneldto.js";
109
114
  export * from "./oatfipaymentsdto.js";
110
115
  export * from "./oatfireconciliationbreakdowndto.js";
111
116
  export * from "./oatfireconciliationbreakdownloansdto.js";
117
+ export * from "./onboardingsettingsdto.js";
112
118
  export * from "./onboardingtermsacceptanceresponsedto.js";
113
119
  export * from "./originationbalancedto.js";
114
120
  export * from "./originationbalanceresponsedto.js";
@@ -167,7 +173,9 @@ export * from "./underwritingtermshtmlresponsedto.js";
167
173
  export * from "./updateaddressdto.js";
168
174
  export * from "./updateapikeyviewdatedto.js";
169
175
  export * from "./updateapplicationdto.js";
176
+ export * from "./updatebillingcycleconfigsdto.js";
170
177
  export * from "./updatebusinessdto.js";
178
+ export * from "./updatedailyreportdto.js";
171
179
  export * from "./updatefiledto.js";
172
180
  export * from "./updatefinancialaccountdto.js";
173
181
  export * from "./updateoriginationdto.js";