@oatfi/oatfi-sdk-ts 0.11.53 → 0.11.55

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 (282) hide show
  1. package/README.md +7 -2
  2. package/dist/commonjs/funcs/acceptanceTermsCreate.d.ts +17 -0
  3. package/dist/commonjs/funcs/acceptanceTermsCreate.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/{financialAccountsCreate.js → acceptanceTermsCreate.js} +11 -8
  5. package/dist/commonjs/funcs/acceptanceTermsCreate.js.map +1 -0
  6. package/dist/commonjs/funcs/acceptanceTermsGetAll.d.ts +17 -0
  7. package/dist/commonjs/funcs/acceptanceTermsGetAll.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/acceptanceTermsGetAll.js +158 -0
  9. package/dist/commonjs/funcs/acceptanceTermsGetAll.js.map +1 -0
  10. package/dist/commonjs/funcs/applicationFilesUpload.js +1 -1
  11. package/dist/commonjs/funcs/applicationFilesUpload.js.map +1 -1
  12. package/dist/commonjs/funcs/applicationsList.js.map +1 -1
  13. package/dist/commonjs/funcs/businessFilesUpload.js +1 -1
  14. package/dist/commonjs/funcs/businessFilesUpload.js.map +1 -1
  15. package/dist/commonjs/funcs/businessesList.js.map +1 -1
  16. package/dist/commonjs/funcs/filesList.js.map +1 -1
  17. package/dist/commonjs/funcs/filesUpload.js +1 -1
  18. package/dist/commonjs/funcs/filesUpload.js.map +1 -1
  19. package/dist/commonjs/funcs/financialAccountsList.js.map +1 -1
  20. package/dist/commonjs/funcs/originationsList.js.map +1 -1
  21. package/dist/commonjs/funcs/originationsSearch.js.map +1 -1
  22. package/dist/commonjs/funcs/paymentIntentsGetAll.js.map +1 -1
  23. package/dist/commonjs/funcs/personsList.js.map +1 -1
  24. package/dist/commonjs/funcs/platformsList.js.map +1 -1
  25. package/dist/commonjs/funcs/programsList.js.map +1 -1
  26. package/dist/commonjs/funcs/underwritingTermsGetHtml.d.ts +2 -1
  27. package/dist/commonjs/funcs/underwritingTermsGetHtml.d.ts.map +1 -1
  28. package/dist/commonjs/funcs/underwritingTermsGetHtml.js +3 -3
  29. package/dist/commonjs/funcs/underwritingTermsGetHtml.js.map +1 -1
  30. package/dist/commonjs/funcs/usersList.js.map +1 -1
  31. package/dist/commonjs/lib/config.d.ts +3 -3
  32. package/dist/commonjs/lib/config.js +3 -3
  33. package/dist/commonjs/models/acceptedvia.d.ts +19 -0
  34. package/dist/commonjs/models/acceptedvia.d.ts.map +1 -0
  35. package/dist/commonjs/models/acceptedvia.js +54 -0
  36. package/dist/commonjs/models/acceptedvia.js.map +1 -0
  37. package/dist/commonjs/models/agreementacceptanceresponsedto.d.ts +56 -0
  38. package/dist/commonjs/models/agreementacceptanceresponsedto.d.ts.map +1 -0
  39. package/dist/commonjs/models/agreementacceptanceresponsedto.js +75 -0
  40. package/dist/commonjs/models/agreementacceptanceresponsedto.js.map +1 -0
  41. package/dist/commonjs/models/agreementtype.d.ts +17 -0
  42. package/dist/commonjs/models/agreementtype.d.ts.map +1 -0
  43. package/dist/commonjs/models/agreementtype.js +51 -0
  44. package/dist/commonjs/models/agreementtype.js.map +1 -0
  45. package/dist/commonjs/models/businesspaymentmethoddto.d.ts +17 -0
  46. package/dist/commonjs/models/businesspaymentmethoddto.d.ts.map +1 -1
  47. package/dist/commonjs/models/businesspaymentmethoddto.js +15 -1
  48. package/dist/commonjs/models/businesspaymentmethoddto.js.map +1 -1
  49. package/dist/commonjs/models/createagreementacceptancedto.d.ts +43 -0
  50. package/dist/commonjs/models/createagreementacceptancedto.d.ts.map +1 -0
  51. package/dist/commonjs/models/createagreementacceptancedto.js +66 -0
  52. package/dist/commonjs/models/createagreementacceptancedto.js.map +1 -0
  53. package/dist/commonjs/models/createfinancialaccountdto.d.ts +6 -0
  54. package/dist/commonjs/models/createfinancialaccountdto.d.ts.map +1 -1
  55. package/dist/commonjs/models/createfinancialaccountdto.js +2 -0
  56. package/dist/commonjs/models/createfinancialaccountdto.js.map +1 -1
  57. package/dist/commonjs/models/createplatformfinancialaccountdto.d.ts +6 -0
  58. package/dist/commonjs/models/createplatformfinancialaccountdto.d.ts.map +1 -1
  59. package/dist/commonjs/models/createplatformfinancialaccountdto.js +2 -0
  60. package/dist/commonjs/models/createplatformfinancialaccountdto.js.map +1 -1
  61. package/dist/commonjs/models/entitycollectionname.d.ts +17 -0
  62. package/dist/commonjs/models/entitycollectionname.d.ts.map +1 -0
  63. package/dist/commonjs/models/entitycollectionname.js +51 -0
  64. package/dist/commonjs/models/entitycollectionname.js.map +1 -0
  65. package/dist/commonjs/models/financialaccountresponsedto.d.ts +5 -0
  66. package/dist/commonjs/models/financialaccountresponsedto.d.ts.map +1 -1
  67. package/dist/commonjs/models/financialaccountresponsedto.js +3 -0
  68. package/dist/commonjs/models/financialaccountresponsedto.js.map +1 -1
  69. package/dist/commonjs/models/financialaccountverificationdto.d.ts +35 -0
  70. package/dist/commonjs/models/financialaccountverificationdto.d.ts.map +1 -0
  71. package/dist/commonjs/models/financialaccountverificationdto.js +66 -0
  72. package/dist/commonjs/models/financialaccountverificationdto.js.map +1 -0
  73. package/dist/commonjs/models/financialaccountverificationresponsedto.d.ts +37 -0
  74. package/dist/commonjs/models/financialaccountverificationresponsedto.d.ts.map +1 -0
  75. package/dist/commonjs/models/financialaccountverificationresponsedto.js +68 -0
  76. package/dist/commonjs/models/financialaccountverificationresponsedto.js.map +1 -0
  77. package/dist/commonjs/models/index.d.ts +8 -0
  78. package/dist/commonjs/models/index.d.ts.map +1 -1
  79. package/dist/commonjs/models/index.js +8 -0
  80. package/dist/commonjs/models/index.js.map +1 -1
  81. package/dist/commonjs/models/operations/acceptancetermscontrollerfindall.d.ts +79 -0
  82. package/dist/commonjs/models/operations/acceptancetermscontrollerfindall.d.ts.map +1 -0
  83. package/dist/commonjs/models/operations/acceptancetermscontrollerfindall.js +102 -0
  84. package/dist/commonjs/models/operations/acceptancetermscontrollerfindall.js.map +1 -0
  85. package/dist/commonjs/models/operations/index.d.ts +1 -0
  86. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  87. package/dist/commonjs/models/operations/index.js +1 -0
  88. package/dist/commonjs/models/operations/index.js.map +1 -1
  89. package/dist/commonjs/models/underwritingtermshtmlresponsedto.d.ts +14 -0
  90. package/dist/commonjs/models/underwritingtermshtmlresponsedto.d.ts.map +1 -0
  91. package/dist/commonjs/models/underwritingtermshtmlresponsedto.js +51 -0
  92. package/dist/commonjs/models/underwritingtermshtmlresponsedto.js.map +1 -0
  93. package/dist/commonjs/models/updatefinancialaccountdto.d.ts +6 -0
  94. package/dist/commonjs/models/updatefinancialaccountdto.d.ts.map +1 -1
  95. package/dist/commonjs/models/updatefinancialaccountdto.js +2 -0
  96. package/dist/commonjs/models/updatefinancialaccountdto.js.map +1 -1
  97. package/dist/commonjs/models/updateplatformfinancialaccountdto.d.ts +6 -0
  98. package/dist/commonjs/models/updateplatformfinancialaccountdto.d.ts.map +1 -1
  99. package/dist/commonjs/models/updateplatformfinancialaccountdto.js +2 -0
  100. package/dist/commonjs/models/updateplatformfinancialaccountdto.js.map +1 -1
  101. package/dist/commonjs/sdk/acceptanceterms.d.ts +20 -0
  102. package/dist/commonjs/sdk/acceptanceterms.d.ts.map +1 -0
  103. package/dist/commonjs/sdk/acceptanceterms.js +30 -0
  104. package/dist/commonjs/sdk/acceptanceterms.js.map +1 -0
  105. package/dist/commonjs/sdk/financialaccounts.d.ts +0 -4
  106. package/dist/commonjs/sdk/financialaccounts.d.ts.map +1 -1
  107. package/dist/commonjs/sdk/financialaccounts.js +0 -7
  108. package/dist/commonjs/sdk/financialaccounts.js.map +1 -1
  109. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  110. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  111. package/dist/commonjs/sdk/sdk.js +4 -0
  112. package/dist/commonjs/sdk/sdk.js.map +1 -1
  113. package/dist/commonjs/sdk/underwritingterms.d.ts +2 -1
  114. package/dist/commonjs/sdk/underwritingterms.d.ts.map +1 -1
  115. package/dist/commonjs/sdk/underwritingterms.js.map +1 -1
  116. package/dist/esm/funcs/acceptanceTermsCreate.d.ts +17 -0
  117. package/dist/esm/funcs/acceptanceTermsCreate.d.ts.map +1 -0
  118. package/dist/esm/funcs/{financialAccountsCreate.js → acceptanceTermsCreate.js} +10 -7
  119. package/dist/esm/funcs/acceptanceTermsCreate.js.map +1 -0
  120. package/dist/esm/funcs/acceptanceTermsGetAll.d.ts +17 -0
  121. package/dist/esm/funcs/acceptanceTermsGetAll.d.ts.map +1 -0
  122. package/dist/esm/funcs/acceptanceTermsGetAll.js +122 -0
  123. package/dist/esm/funcs/acceptanceTermsGetAll.js.map +1 -0
  124. package/dist/esm/funcs/applicationFilesUpload.js +1 -1
  125. package/dist/esm/funcs/applicationFilesUpload.js.map +1 -1
  126. package/dist/esm/funcs/applicationsList.js.map +1 -1
  127. package/dist/esm/funcs/businessFilesUpload.js +1 -1
  128. package/dist/esm/funcs/businessFilesUpload.js.map +1 -1
  129. package/dist/esm/funcs/businessesList.js.map +1 -1
  130. package/dist/esm/funcs/filesList.js.map +1 -1
  131. package/dist/esm/funcs/filesUpload.js +1 -1
  132. package/dist/esm/funcs/filesUpload.js.map +1 -1
  133. package/dist/esm/funcs/financialAccountsList.js.map +1 -1
  134. package/dist/esm/funcs/originationsList.js.map +1 -1
  135. package/dist/esm/funcs/originationsSearch.js.map +1 -1
  136. package/dist/esm/funcs/paymentIntentsGetAll.js.map +1 -1
  137. package/dist/esm/funcs/personsList.js.map +1 -1
  138. package/dist/esm/funcs/platformsList.js.map +1 -1
  139. package/dist/esm/funcs/programsList.js.map +1 -1
  140. package/dist/esm/funcs/underwritingTermsGetHtml.d.ts +2 -1
  141. package/dist/esm/funcs/underwritingTermsGetHtml.d.ts.map +1 -1
  142. package/dist/esm/funcs/underwritingTermsGetHtml.js +3 -3
  143. package/dist/esm/funcs/underwritingTermsGetHtml.js.map +1 -1
  144. package/dist/esm/funcs/usersList.js.map +1 -1
  145. package/dist/esm/lib/config.d.ts +3 -3
  146. package/dist/esm/lib/config.js +3 -3
  147. package/dist/esm/models/acceptedvia.d.ts +19 -0
  148. package/dist/esm/models/acceptedvia.d.ts.map +1 -0
  149. package/dist/esm/models/acceptedvia.js +18 -0
  150. package/dist/esm/models/acceptedvia.js.map +1 -0
  151. package/dist/esm/models/agreementacceptanceresponsedto.d.ts +56 -0
  152. package/dist/esm/models/agreementacceptanceresponsedto.d.ts.map +1 -0
  153. package/dist/esm/models/agreementacceptanceresponsedto.js +38 -0
  154. package/dist/esm/models/agreementacceptanceresponsedto.js.map +1 -0
  155. package/dist/esm/models/agreementtype.d.ts +17 -0
  156. package/dist/esm/models/agreementtype.d.ts.map +1 -0
  157. package/dist/esm/models/agreementtype.js +15 -0
  158. package/dist/esm/models/agreementtype.js.map +1 -0
  159. package/dist/esm/models/businesspaymentmethoddto.d.ts +17 -0
  160. package/dist/esm/models/businesspaymentmethoddto.d.ts.map +1 -1
  161. package/dist/esm/models/businesspaymentmethoddto.js +12 -0
  162. package/dist/esm/models/businesspaymentmethoddto.js.map +1 -1
  163. package/dist/esm/models/createagreementacceptancedto.d.ts +43 -0
  164. package/dist/esm/models/createagreementacceptancedto.d.ts.map +1 -0
  165. package/dist/esm/models/createagreementacceptancedto.js +29 -0
  166. package/dist/esm/models/createagreementacceptancedto.js.map +1 -0
  167. package/dist/esm/models/createfinancialaccountdto.d.ts +6 -0
  168. package/dist/esm/models/createfinancialaccountdto.d.ts.map +1 -1
  169. package/dist/esm/models/createfinancialaccountdto.js +2 -0
  170. package/dist/esm/models/createfinancialaccountdto.js.map +1 -1
  171. package/dist/esm/models/createplatformfinancialaccountdto.d.ts +6 -0
  172. package/dist/esm/models/createplatformfinancialaccountdto.d.ts.map +1 -1
  173. package/dist/esm/models/createplatformfinancialaccountdto.js +2 -0
  174. package/dist/esm/models/createplatformfinancialaccountdto.js.map +1 -1
  175. package/dist/esm/models/entitycollectionname.d.ts +17 -0
  176. package/dist/esm/models/entitycollectionname.d.ts.map +1 -0
  177. package/dist/esm/models/entitycollectionname.js +15 -0
  178. package/dist/esm/models/entitycollectionname.js.map +1 -0
  179. package/dist/esm/models/financialaccountresponsedto.d.ts +5 -0
  180. package/dist/esm/models/financialaccountresponsedto.d.ts.map +1 -1
  181. package/dist/esm/models/financialaccountresponsedto.js +3 -0
  182. package/dist/esm/models/financialaccountresponsedto.js.map +1 -1
  183. package/dist/esm/models/financialaccountverificationdto.d.ts +35 -0
  184. package/dist/esm/models/financialaccountverificationdto.d.ts.map +1 -0
  185. package/dist/esm/models/financialaccountverificationdto.js +29 -0
  186. package/dist/esm/models/financialaccountverificationdto.js.map +1 -0
  187. package/dist/esm/models/financialaccountverificationresponsedto.d.ts +37 -0
  188. package/dist/esm/models/financialaccountverificationresponsedto.d.ts.map +1 -0
  189. package/dist/esm/models/financialaccountverificationresponsedto.js +31 -0
  190. package/dist/esm/models/financialaccountverificationresponsedto.js.map +1 -0
  191. package/dist/esm/models/index.d.ts +8 -0
  192. package/dist/esm/models/index.d.ts.map +1 -1
  193. package/dist/esm/models/index.js +8 -0
  194. package/dist/esm/models/index.js.map +1 -1
  195. package/dist/esm/models/operations/acceptancetermscontrollerfindall.d.ts +79 -0
  196. package/dist/esm/models/operations/acceptancetermscontrollerfindall.d.ts.map +1 -0
  197. package/dist/esm/models/operations/acceptancetermscontrollerfindall.js +63 -0
  198. package/dist/esm/models/operations/acceptancetermscontrollerfindall.js.map +1 -0
  199. package/dist/esm/models/operations/index.d.ts +1 -0
  200. package/dist/esm/models/operations/index.d.ts.map +1 -1
  201. package/dist/esm/models/operations/index.js +1 -0
  202. package/dist/esm/models/operations/index.js.map +1 -1
  203. package/dist/esm/models/underwritingtermshtmlresponsedto.d.ts +14 -0
  204. package/dist/esm/models/underwritingtermshtmlresponsedto.d.ts.map +1 -0
  205. package/dist/esm/models/underwritingtermshtmlresponsedto.js +14 -0
  206. package/dist/esm/models/underwritingtermshtmlresponsedto.js.map +1 -0
  207. package/dist/esm/models/updatefinancialaccountdto.d.ts +6 -0
  208. package/dist/esm/models/updatefinancialaccountdto.d.ts.map +1 -1
  209. package/dist/esm/models/updatefinancialaccountdto.js +2 -0
  210. package/dist/esm/models/updatefinancialaccountdto.js.map +1 -1
  211. package/dist/esm/models/updateplatformfinancialaccountdto.d.ts +6 -0
  212. package/dist/esm/models/updateplatformfinancialaccountdto.d.ts.map +1 -1
  213. package/dist/esm/models/updateplatformfinancialaccountdto.js +2 -0
  214. package/dist/esm/models/updateplatformfinancialaccountdto.js.map +1 -1
  215. package/dist/esm/sdk/acceptanceterms.d.ts +20 -0
  216. package/dist/esm/sdk/acceptanceterms.d.ts.map +1 -0
  217. package/dist/esm/sdk/acceptanceterms.js +26 -0
  218. package/dist/esm/sdk/acceptanceterms.js.map +1 -0
  219. package/dist/esm/sdk/financialaccounts.d.ts +0 -4
  220. package/dist/esm/sdk/financialaccounts.d.ts.map +1 -1
  221. package/dist/esm/sdk/financialaccounts.js +0 -7
  222. package/dist/esm/sdk/financialaccounts.js.map +1 -1
  223. package/dist/esm/sdk/sdk.d.ts +3 -0
  224. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  225. package/dist/esm/sdk/sdk.js +4 -0
  226. package/dist/esm/sdk/sdk.js.map +1 -1
  227. package/dist/esm/sdk/underwritingterms.d.ts +2 -1
  228. package/dist/esm/sdk/underwritingterms.d.ts.map +1 -1
  229. package/dist/esm/sdk/underwritingterms.js.map +1 -1
  230. package/jsr.json +1 -1
  231. package/package.json +1 -1
  232. package/src/funcs/{financialAccountsCreate.ts → acceptanceTermsCreate.ts} +14 -11
  233. package/src/funcs/acceptanceTermsGetAll.ts +249 -0
  234. package/src/funcs/applicationFilesUpload.ts +1 -1
  235. package/src/funcs/applicationsList.ts +1 -1
  236. package/src/funcs/businessFilesUpload.ts +1 -1
  237. package/src/funcs/businessesList.ts +1 -1
  238. package/src/funcs/filesList.ts +1 -1
  239. package/src/funcs/filesUpload.ts +1 -1
  240. package/src/funcs/financialAccountsList.ts +1 -1
  241. package/src/funcs/originationsList.ts +1 -1
  242. package/src/funcs/originationsSearch.ts +1 -1
  243. package/src/funcs/paymentIntentsGetAll.ts +1 -1
  244. package/src/funcs/personsList.ts +1 -1
  245. package/src/funcs/platformsList.ts +1 -1
  246. package/src/funcs/programsList.ts +1 -1
  247. package/src/funcs/underwritingTermsGetHtml.ts +6 -6
  248. package/src/funcs/usersList.ts +1 -1
  249. package/src/lib/config.ts +3 -3
  250. package/src/models/acceptedvia.ts +26 -0
  251. package/src/models/agreementacceptanceresponsedto.ts +102 -0
  252. package/src/models/agreementtype.ts +26 -0
  253. package/src/models/businesspaymentmethoddto.ts +41 -0
  254. package/src/models/createagreementacceptancedto.ts +84 -0
  255. package/src/models/createfinancialaccountdto.ts +11 -0
  256. package/src/models/createplatformfinancialaccountdto.ts +11 -0
  257. package/src/models/entitycollectionname.ts +26 -0
  258. package/src/models/financialaccountresponsedto.ts +10 -0
  259. package/src/models/financialaccountverificationdto.ts +67 -0
  260. package/src/models/financialaccountverificationresponsedto.ts +86 -0
  261. package/src/models/index.ts +8 -0
  262. package/src/models/operations/acceptancetermscontrollerfindall.ts +182 -0
  263. package/src/models/operations/index.ts +1 -0
  264. package/src/models/underwritingtermshtmlresponsedto.ts +36 -0
  265. package/src/models/updatefinancialaccountdto.ts +11 -0
  266. package/src/models/updateplatformfinancialaccountdto.ts +11 -0
  267. package/src/sdk/acceptanceterms.ts +49 -0
  268. package/src/sdk/financialaccounts.ts +0 -15
  269. package/src/sdk/sdk.ts +6 -0
  270. package/src/sdk/underwritingterms.ts +2 -1
  271. package/.devcontainer/devcontainer.json +0 -45
  272. package/_speakeasy/.github/action-inputs-config.json +0 -53
  273. package/_speakeasy/.github/action-security-config.json +0 -88
  274. package/dist/commonjs/funcs/financialAccountsCreate.d.ts +0 -14
  275. package/dist/commonjs/funcs/financialAccountsCreate.d.ts.map +0 -1
  276. package/dist/commonjs/funcs/financialAccountsCreate.js.map +0 -1
  277. package/dist/esm/funcs/financialAccountsCreate.d.ts +0 -14
  278. package/dist/esm/funcs/financialAccountsCreate.d.ts.map +0 -1
  279. package/dist/esm/funcs/financialAccountsCreate.js.map +0 -1
  280. package/examples/package-lock.json +0 -612
  281. package/examples/package.json +0 -18
  282. package/tsconfig.json +0 -40
@@ -2,7 +2,6 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import * as z from "zod/v3";
6
5
  import { OatFiSDKCore } from "../core.js";
7
6
  import { encodeFormQuery } from "../lib/encodings.js";
8
7
  import * as M from "../lib/matchers.js";
@@ -21,6 +20,7 @@ import {
21
20
  import { OatFiSDKError } from "../models/errors/oatfisdkerror.js";
22
21
  import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
23
22
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
+ import * as models from "../models/index.js";
24
24
  import * as operations from "../models/operations/index.js";
25
25
  import { APICall, APIPromise } from "../types/async.js";
26
26
  import { Result } from "../types/fp.js";
@@ -38,7 +38,7 @@ export function underwritingTermsGetHtml(
38
38
  options?: RequestOptions,
39
39
  ): APIPromise<
40
40
  Result<
41
- void,
41
+ models.UnderwritingTermsHtmlResponseDto,
42
42
  | OatFiSDKError
43
43
  | ResponseValidationError
44
44
  | ConnectionError
@@ -64,7 +64,7 @@ async function $do(
64
64
  ): Promise<
65
65
  [
66
66
  Result<
67
- void,
67
+ models.UnderwritingTermsHtmlResponseDto,
68
68
  | OatFiSDKError
69
69
  | ResponseValidationError
70
70
  | ConnectionError
@@ -99,7 +99,7 @@ async function $do(
99
99
  });
100
100
 
101
101
  const headers = new Headers(compactMap({
102
- Accept: "*/*",
102
+ Accept: "application/json",
103
103
  }));
104
104
 
105
105
  const secConfig = await extractSecurity(client._options.bearer);
@@ -159,7 +159,7 @@ async function $do(
159
159
  const response = doResult.value;
160
160
 
161
161
  const [result] = await M.match<
162
- void,
162
+ models.UnderwritingTermsHtmlResponseDto,
163
163
  | OatFiSDKError
164
164
  | ResponseValidationError
165
165
  | ConnectionError
@@ -169,7 +169,7 @@ async function $do(
169
169
  | UnexpectedClientError
170
170
  | SDKValidationError
171
171
  >(
172
- M.nil(200, z.void()),
172
+ M.json(200, models.UnderwritingTermsHtmlResponseDto$inboundSchema),
173
173
  M.fail([404, "4XX"]),
174
174
  M.fail("5XX"),
175
175
  )(response, req);
@@ -224,7 +224,7 @@ async function $do(
224
224
  usersList(
225
225
  client,
226
226
  {
227
- ...request,
227
+ ...request!,
228
228
  startingAfter: nextCursor,
229
229
  },
230
230
  options,
package/src/lib/config.ts CHANGED
@@ -69,8 +69,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
69
69
  export const SDK_METADATA = {
70
70
  language: "typescript",
71
71
  openapiDocVersion: "3.0.0",
72
- sdkVersion: "0.11.53",
73
- genVersion: "2.832.2",
72
+ sdkVersion: "0.11.55",
73
+ genVersion: "2.845.1",
74
74
  userAgent:
75
- "speakeasy-sdk/typescript 0.11.53 2.832.2 3.0.0 @oatfi/oatfi-sdk-ts",
75
+ "speakeasy-sdk/typescript 0.11.55 2.845.1 3.0.0 @oatfi/oatfi-sdk-ts",
76
76
  } as const;
@@ -0,0 +1,26 @@
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
+ * How the terms were accepted
10
+ */
11
+ export const AcceptedVia = {
12
+ Component: "COMPONENT",
13
+ Hosted: "HOSTED",
14
+ PartnerApi: "PARTNER_API",
15
+ } as const;
16
+ /**
17
+ * How the terms were accepted
18
+ */
19
+ export type AcceptedVia = ClosedEnum<typeof AcceptedVia>;
20
+
21
+ /** @internal */
22
+ export const AcceptedVia$inboundSchema: z.ZodNativeEnum<typeof AcceptedVia> = z
23
+ .nativeEnum(AcceptedVia);
24
+ /** @internal */
25
+ export const AcceptedVia$outboundSchema: z.ZodNativeEnum<typeof AcceptedVia> =
26
+ AcceptedVia$inboundSchema;
@@ -0,0 +1,102 @@
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 { AcceptedVia, AcceptedVia$inboundSchema } from "./acceptedvia.js";
10
+ import { AgreementType, AgreementType$inboundSchema } from "./agreementtype.js";
11
+ import {
12
+ EntityCollectionName,
13
+ EntityCollectionName$inboundSchema,
14
+ } from "./entitycollectionname.js";
15
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
16
+
17
+ export type AgreementAcceptanceResponseDto = {
18
+ /**
19
+ * Resource type
20
+ */
21
+ object: string;
22
+ /**
23
+ * Agreement acceptance ID
24
+ */
25
+ id: string;
26
+ /**
27
+ * Terms version (semantic version)
28
+ */
29
+ termsVersion: string;
30
+ /**
31
+ * URL to the exact PDF/HTML artifact accepted
32
+ */
33
+ termsFileUrl?: string | undefined;
34
+ /**
35
+ * How the terms were accepted
36
+ */
37
+ acceptedVia: AcceptedVia;
38
+ /**
39
+ * ID of the entity that accepted the terms
40
+ */
41
+ entityId: string;
42
+ /**
43
+ * Collection name of the entity
44
+ */
45
+ entityCollectionName: EntityCollectionName;
46
+ /**
47
+ * ID of the loan program
48
+ */
49
+ loanProgram?: string | undefined;
50
+ /**
51
+ * Type of agreement
52
+ */
53
+ type: AgreementType;
54
+ /**
55
+ * Creation timestamp (when the terms were accepted)
56
+ */
57
+ createdAt: Date;
58
+ /**
59
+ * Last update timestamp
60
+ */
61
+ updatedAt: Date;
62
+ };
63
+
64
+ /** @internal */
65
+ export const AgreementAcceptanceResponseDto$inboundSchema: z.ZodType<
66
+ AgreementAcceptanceResponseDto,
67
+ z.ZodTypeDef,
68
+ unknown
69
+ > = z.object({
70
+ object: z.string(),
71
+ id: z.string(),
72
+ terms_version: z.string(),
73
+ terms_file_url: z.string().optional(),
74
+ accepted_via: AcceptedVia$inboundSchema,
75
+ entity_id: z.string(),
76
+ entity_collection_name: EntityCollectionName$inboundSchema,
77
+ loan_program: z.string().optional(),
78
+ type: AgreementType$inboundSchema,
79
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
80
+ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
81
+ }).transform((v) => {
82
+ return remap$(v, {
83
+ "terms_version": "termsVersion",
84
+ "terms_file_url": "termsFileUrl",
85
+ "accepted_via": "acceptedVia",
86
+ "entity_id": "entityId",
87
+ "entity_collection_name": "entityCollectionName",
88
+ "loan_program": "loanProgram",
89
+ "created_at": "createdAt",
90
+ "updated_at": "updatedAt",
91
+ });
92
+ });
93
+
94
+ export function agreementAcceptanceResponseDtoFromJSON(
95
+ jsonString: string,
96
+ ): SafeParseResult<AgreementAcceptanceResponseDto, SDKValidationError> {
97
+ return safeParse(
98
+ jsonString,
99
+ (x) => AgreementAcceptanceResponseDto$inboundSchema.parse(JSON.parse(x)),
100
+ `Failed to parse 'AgreementAcceptanceResponseDto' from JSON`,
101
+ );
102
+ }
@@ -0,0 +1,26 @@
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
+ * Type of agreement
10
+ */
11
+ export const AgreementType = {
12
+ UnderwritingTerms: "UNDERWRITING_TERMS",
13
+ } as const;
14
+ /**
15
+ * Type of agreement
16
+ */
17
+ export type AgreementType = ClosedEnum<typeof AgreementType>;
18
+
19
+ /** @internal */
20
+ export const AgreementType$inboundSchema: z.ZodNativeEnum<
21
+ typeof AgreementType
22
+ > = z.nativeEnum(AgreementType);
23
+ /** @internal */
24
+ export const AgreementType$outboundSchema: z.ZodNativeEnum<
25
+ typeof AgreementType
26
+ > = AgreementType$inboundSchema;
@@ -24,6 +24,11 @@ import {
24
24
  TransferTypeEnum$outboundSchema,
25
25
  } from "./transfertypeenum.js";
26
26
 
27
+ /**
28
+ * Verification and consent data
29
+ */
30
+ export type Verification = {};
31
+
27
32
  export type BusinessPaymentMethodDto = {
28
33
  /**
29
34
  * Partner associated to the business
@@ -57,8 +62,41 @@ export type BusinessPaymentMethodDto = {
57
62
  * The type of payment method
58
63
  */
59
64
  type: TransferMethodEnum;
65
+ /**
66
+ * Verification and consent data
67
+ */
68
+ verification?: Verification | undefined;
60
69
  };
61
70
 
71
+ /** @internal */
72
+ export const Verification$inboundSchema: z.ZodType<
73
+ Verification,
74
+ z.ZodTypeDef,
75
+ unknown
76
+ > = z.object({});
77
+ /** @internal */
78
+ export type Verification$Outbound = {};
79
+
80
+ /** @internal */
81
+ export const Verification$outboundSchema: z.ZodType<
82
+ Verification$Outbound,
83
+ z.ZodTypeDef,
84
+ Verification
85
+ > = z.object({});
86
+
87
+ export function verificationToJSON(verification: Verification): string {
88
+ return JSON.stringify(Verification$outboundSchema.parse(verification));
89
+ }
90
+ export function verificationFromJSON(
91
+ jsonString: string,
92
+ ): SafeParseResult<Verification, SDKValidationError> {
93
+ return safeParse(
94
+ jsonString,
95
+ (x) => Verification$inboundSchema.parse(JSON.parse(x)),
96
+ `Failed to parse 'Verification' from JSON`,
97
+ );
98
+ }
99
+
62
100
  /** @internal */
63
101
  export const BusinessPaymentMethodDto$inboundSchema: z.ZodType<
64
102
  BusinessPaymentMethodDto,
@@ -73,6 +111,7 @@ export const BusinessPaymentMethodDto$inboundSchema: z.ZodType<
73
111
  scheduled_repayment: z.boolean().optional(),
74
112
  is_default: z.boolean().optional(),
75
113
  type: TransferMethodEnum$inboundSchema,
114
+ verification: z.lazy(() => Verification$inboundSchema).optional(),
76
115
  }).transform((v) => {
77
116
  return remap$(v, {
78
117
  "transaction_type": "transactionType",
@@ -90,6 +129,7 @@ export type BusinessPaymentMethodDto$Outbound = {
90
129
  scheduled_repayment?: boolean | undefined;
91
130
  is_default?: boolean | undefined;
92
131
  type: string;
132
+ verification?: Verification$Outbound | undefined;
93
133
  };
94
134
 
95
135
  /** @internal */
@@ -106,6 +146,7 @@ export const BusinessPaymentMethodDto$outboundSchema: z.ZodType<
106
146
  scheduledRepayment: z.boolean().optional(),
107
147
  isDefault: z.boolean().optional(),
108
148
  type: TransferMethodEnum$outboundSchema,
149
+ verification: z.lazy(() => Verification$outboundSchema).optional(),
109
150
  }).transform((v) => {
110
151
  return remap$(v, {
111
152
  transactionType: "transaction_type",
@@ -0,0 +1,84 @@
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 { AcceptedVia, AcceptedVia$outboundSchema } from "./acceptedvia.js";
8
+ import {
9
+ AgreementType,
10
+ AgreementType$outboundSchema,
11
+ } from "./agreementtype.js";
12
+ import {
13
+ EntityCollectionName,
14
+ EntityCollectionName$outboundSchema,
15
+ } from "./entitycollectionname.js";
16
+
17
+ export type CreateAgreementAcceptanceDto = {
18
+ /**
19
+ * URL to the exact PDF/HTML artifact accepted
20
+ */
21
+ termsFileUrl?: string | undefined;
22
+ /**
23
+ * How the terms were accepted
24
+ */
25
+ acceptedVia: AcceptedVia;
26
+ /**
27
+ * ID of the entity that accepted the terms (application, business, or person)
28
+ */
29
+ entityId: string;
30
+ /**
31
+ * Collection name of the entity
32
+ */
33
+ entityCollectionName: EntityCollectionName;
34
+ /**
35
+ * ID of the loan program
36
+ */
37
+ loanProgram?: string | undefined;
38
+ /**
39
+ * Type of agreement
40
+ */
41
+ type: AgreementType;
42
+ };
43
+
44
+ /** @internal */
45
+ export type CreateAgreementAcceptanceDto$Outbound = {
46
+ terms_file_url?: string | undefined;
47
+ accepted_via: string;
48
+ entity_id: string;
49
+ entity_collection_name: string;
50
+ loan_program?: string | undefined;
51
+ type: string;
52
+ };
53
+
54
+ /** @internal */
55
+ export const CreateAgreementAcceptanceDto$outboundSchema: z.ZodType<
56
+ CreateAgreementAcceptanceDto$Outbound,
57
+ z.ZodTypeDef,
58
+ CreateAgreementAcceptanceDto
59
+ > = z.object({
60
+ termsFileUrl: z.string().optional(),
61
+ acceptedVia: AcceptedVia$outboundSchema,
62
+ entityId: z.string(),
63
+ entityCollectionName: EntityCollectionName$outboundSchema,
64
+ loanProgram: z.string().optional(),
65
+ type: AgreementType$outboundSchema,
66
+ }).transform((v) => {
67
+ return remap$(v, {
68
+ termsFileUrl: "terms_file_url",
69
+ acceptedVia: "accepted_via",
70
+ entityId: "entity_id",
71
+ entityCollectionName: "entity_collection_name",
72
+ loanProgram: "loan_program",
73
+ });
74
+ });
75
+
76
+ export function createAgreementAcceptanceDtoToJSON(
77
+ createAgreementAcceptanceDto: CreateAgreementAcceptanceDto,
78
+ ): string {
79
+ return JSON.stringify(
80
+ CreateAgreementAcceptanceDto$outboundSchema.parse(
81
+ createAgreementAcceptanceDto,
82
+ ),
83
+ );
84
+ }
@@ -9,6 +9,11 @@ import {
9
9
  FinancialAccountDataDto$Outbound,
10
10
  FinancialAccountDataDto$outboundSchema,
11
11
  } from "./financialaccountdatadto.js";
12
+ import {
13
+ FinancialAccountVerificationDto,
14
+ FinancialAccountVerificationDto$Outbound,
15
+ FinancialAccountVerificationDto$outboundSchema,
16
+ } from "./financialaccountverificationdto.js";
12
17
  import {
13
18
  TransferMethodEnum,
14
19
  TransferMethodEnum$outboundSchema,
@@ -76,6 +81,10 @@ export type CreateFinancialAccountDto = {
76
81
  * The type of payment method
77
82
  */
78
83
  type?: TransferMethodEnum | undefined;
84
+ /**
85
+ * Verification consent data
86
+ */
87
+ verification?: FinancialAccountVerificationDto | undefined;
79
88
  };
80
89
 
81
90
  /** @internal */
@@ -114,6 +123,7 @@ export type CreateFinancialAccountDto$Outbound = {
114
123
  scheduled_repayment?: boolean | undefined;
115
124
  is_default?: boolean | undefined;
116
125
  type?: string | undefined;
126
+ verification?: FinancialAccountVerificationDto$Outbound | undefined;
117
127
  };
118
128
 
119
129
  /** @internal */
@@ -135,6 +145,7 @@ export const CreateFinancialAccountDto$outboundSchema: z.ZodType<
135
145
  scheduledRepayment: z.boolean().optional(),
136
146
  isDefault: z.boolean().optional(),
137
147
  type: TransferMethodEnum$outboundSchema.optional(),
148
+ verification: FinancialAccountVerificationDto$outboundSchema.optional(),
138
149
  }).transform((v) => {
139
150
  return remap$(v, {
140
151
  transactionType: "transaction_type",
@@ -9,6 +9,11 @@ import {
9
9
  FinancialAccountDataDto$Outbound,
10
10
  FinancialAccountDataDto$outboundSchema,
11
11
  } from "./financialaccountdatadto.js";
12
+ import {
13
+ FinancialAccountVerificationDto,
14
+ FinancialAccountVerificationDto$Outbound,
15
+ FinancialAccountVerificationDto$outboundSchema,
16
+ } from "./financialaccountverificationdto.js";
12
17
  import {
13
18
  TransferMethodEnum,
14
19
  TransferMethodEnum$outboundSchema,
@@ -64,6 +69,10 @@ export type CreatePlatformFinancialAccountDto = {
64
69
  * The type of payment method
65
70
  */
66
71
  type?: TransferMethodEnum | undefined;
72
+ /**
73
+ * Verification consent data
74
+ */
75
+ verification?: FinancialAccountVerificationDto | undefined;
67
76
  };
68
77
 
69
78
  /** @internal */
@@ -99,6 +108,7 @@ export type CreatePlatformFinancialAccountDto$Outbound = {
99
108
  scheduled_repayment?: boolean | undefined;
100
109
  is_default?: boolean | undefined;
101
110
  type?: string | undefined;
111
+ verification?: FinancialAccountVerificationDto$Outbound | undefined;
102
112
  };
103
113
 
104
114
  /** @internal */
@@ -117,6 +127,7 @@ export const CreatePlatformFinancialAccountDto$outboundSchema: z.ZodType<
117
127
  scheduledRepayment: z.boolean().optional(),
118
128
  isDefault: z.boolean().optional(),
119
129
  type: TransferMethodEnum$outboundSchema.optional(),
130
+ verification: FinancialAccountVerificationDto$outboundSchema.optional(),
120
131
  }).transform((v) => {
121
132
  return remap$(v, {
122
133
  transactionType: "transaction_type",
@@ -0,0 +1,26 @@
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
+ * Collection name of the entity
10
+ */
11
+ export const EntityCollectionName = {
12
+ Businesses: "businesses",
13
+ } as const;
14
+ /**
15
+ * Collection name of the entity
16
+ */
17
+ export type EntityCollectionName = ClosedEnum<typeof EntityCollectionName>;
18
+
19
+ /** @internal */
20
+ export const EntityCollectionName$inboundSchema: z.ZodNativeEnum<
21
+ typeof EntityCollectionName
22
+ > = z.nativeEnum(EntityCollectionName);
23
+ /** @internal */
24
+ export const EntityCollectionName$outboundSchema: z.ZodNativeEnum<
25
+ typeof EntityCollectionName
26
+ > = EntityCollectionName$inboundSchema;
@@ -12,6 +12,10 @@ import {
12
12
  FinancialAccountDataDto,
13
13
  FinancialAccountDataDto$inboundSchema,
14
14
  } from "./financialaccountdatadto.js";
15
+ import {
16
+ FinancialAccountVerificationResponseDto,
17
+ FinancialAccountVerificationResponseDto$inboundSchema,
18
+ } from "./financialaccountverificationresponsedto.js";
15
19
 
16
20
  /**
17
21
  * Payment Method Type
@@ -85,6 +89,10 @@ export type FinancialAccountResponseDto = {
85
89
  * Payment rail data
86
90
  */
87
91
  data: FinancialAccountDataDto;
92
+ /**
93
+ * Verification data
94
+ */
95
+ verification?: FinancialAccountVerificationResponseDto | undefined;
88
96
  };
89
97
 
90
98
  /** @internal */
@@ -111,6 +119,8 @@ export const FinancialAccountResponseDto$inboundSchema: z.ZodType<
111
119
  scheduled_repayment: z.boolean().optional(),
112
120
  alias: z.string().optional(),
113
121
  data: FinancialAccountDataDto$inboundSchema,
122
+ verification: FinancialAccountVerificationResponseDto$inboundSchema
123
+ .optional(),
114
124
  }).transform((v) => {
115
125
  return remap$(v, {
116
126
  "transaction_type": "transactionType",
@@ -0,0 +1,67 @@
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 { ClosedEnum } from "../types/enums.js";
8
+
9
+ /**
10
+ * Source of consent
11
+ */
12
+ export const ConsentSource = {
13
+ Embedded: "EMBEDDED",
14
+ Hosted: "HOSTED",
15
+ PartnerApi: "PARTNER_API",
16
+ } as const;
17
+ /**
18
+ * Source of consent
19
+ */
20
+ export type ConsentSource = ClosedEnum<typeof ConsentSource>;
21
+
22
+ export type FinancialAccountVerificationDto = {
23
+ /**
24
+ * Whether consent given for ACH verification
25
+ */
26
+ consentGiven: boolean;
27
+ /**
28
+ * Source of consent
29
+ */
30
+ consentSource: ConsentSource;
31
+ };
32
+
33
+ /** @internal */
34
+ export const ConsentSource$outboundSchema: z.ZodNativeEnum<
35
+ typeof ConsentSource
36
+ > = z.nativeEnum(ConsentSource);
37
+
38
+ /** @internal */
39
+ export type FinancialAccountVerificationDto$Outbound = {
40
+ consent_given: boolean;
41
+ consent_source: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const FinancialAccountVerificationDto$outboundSchema: z.ZodType<
46
+ FinancialAccountVerificationDto$Outbound,
47
+ z.ZodTypeDef,
48
+ FinancialAccountVerificationDto
49
+ > = z.object({
50
+ consentGiven: z.boolean(),
51
+ consentSource: ConsentSource$outboundSchema,
52
+ }).transform((v) => {
53
+ return remap$(v, {
54
+ consentGiven: "consent_given",
55
+ consentSource: "consent_source",
56
+ });
57
+ });
58
+
59
+ export function financialAccountVerificationDtoToJSON(
60
+ financialAccountVerificationDto: FinancialAccountVerificationDto,
61
+ ): string {
62
+ return JSON.stringify(
63
+ FinancialAccountVerificationDto$outboundSchema.parse(
64
+ financialAccountVerificationDto,
65
+ ),
66
+ );
67
+ }
@@ -0,0 +1,86 @@
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 { SDKValidationError } from "./errors/sdkvalidationerror.js";
10
+
11
+ export type FinancialAccountVerificationResponseDto = {
12
+ /**
13
+ * Whether consent given for ACH verification
14
+ */
15
+ consentGiven: boolean;
16
+ /**
17
+ * Source of consent
18
+ */
19
+ consentSource: string;
20
+ /**
21
+ * Timestamp when consent was given
22
+ */
23
+ consentTimestamp?: Date | undefined;
24
+ /**
25
+ * Credit verification status
26
+ */
27
+ creditVerificationStatus?: string | undefined;
28
+ /**
29
+ * Credit verification timestamp
30
+ */
31
+ creditVerificationTimestamp?: Date | undefined;
32
+ /**
33
+ * Debit verification status
34
+ */
35
+ debitVerificationStatus?: string | undefined;
36
+ /**
37
+ * Debit verification timestamp
38
+ */
39
+ debitVerificationTimestamp?: Date | undefined;
40
+ };
41
+
42
+ /** @internal */
43
+ export const FinancialAccountVerificationResponseDto$inboundSchema: z.ZodType<
44
+ FinancialAccountVerificationResponseDto,
45
+ z.ZodTypeDef,
46
+ unknown
47
+ > = z.object({
48
+ consent_given: z.boolean(),
49
+ consent_source: z.string(),
50
+ consent_timestamp: z.string().datetime({ offset: true }).transform(v =>
51
+ new Date(v)
52
+ ).optional(),
53
+ credit_verification_status: z.string().optional(),
54
+ credit_verification_timestamp: z.string().datetime({ offset: true })
55
+ .transform(v => new Date(v)).optional(),
56
+ debit_verification_status: z.string().optional(),
57
+ debit_verification_timestamp: z.string().datetime({ offset: true }).transform(
58
+ v => new Date(v)
59
+ ).optional(),
60
+ }).transform((v) => {
61
+ return remap$(v, {
62
+ "consent_given": "consentGiven",
63
+ "consent_source": "consentSource",
64
+ "consent_timestamp": "consentTimestamp",
65
+ "credit_verification_status": "creditVerificationStatus",
66
+ "credit_verification_timestamp": "creditVerificationTimestamp",
67
+ "debit_verification_status": "debitVerificationStatus",
68
+ "debit_verification_timestamp": "debitVerificationTimestamp",
69
+ });
70
+ });
71
+
72
+ export function financialAccountVerificationResponseDtoFromJSON(
73
+ jsonString: string,
74
+ ): SafeParseResult<
75
+ FinancialAccountVerificationResponseDto,
76
+ SDKValidationError
77
+ > {
78
+ return safeParse(
79
+ jsonString,
80
+ (x) =>
81
+ FinancialAccountVerificationResponseDto$inboundSchema.parse(
82
+ JSON.parse(x),
83
+ ),
84
+ `Failed to parse 'FinancialAccountVerificationResponseDto' from JSON`,
85
+ );
86
+ }