@financeable/aggregation 0.12.1 → 0.13.0

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 (510) hide show
  1. package/examples/package-lock.json +1 -1
  2. package/jsr.json +1 -1
  3. package/lib/encodings.d.ts +1 -0
  4. package/lib/encodings.d.ts.map +1 -1
  5. package/models/components/addressattributes.d.ts +0 -28
  6. package/models/components/addressattributes.d.ts.map +1 -1
  7. package/models/components/apierrorlinks.d.ts +0 -19
  8. package/models/components/apierrorlinks.d.ts.map +1 -1
  9. package/models/components/applicationresource.d.ts +4 -21
  10. package/models/components/applicationresource.d.ts.map +1 -1
  11. package/models/components/applicationstatus.d.ts +0 -30
  12. package/models/components/applicationstatus.d.ts.map +1 -1
  13. package/models/components/australianstatesandterritories.d.ts +0 -28
  14. package/models/components/australianstatesandterritories.d.ts.map +1 -1
  15. package/models/components/badrequesterror.d.ts +3 -85
  16. package/models/components/badrequesterror.d.ts.map +1 -1
  17. package/models/components/businessapplicationjsonapirelationships.d.ts +1 -205
  18. package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -1
  19. package/models/components/businessapplicationpayload.d.ts +0 -64
  20. package/models/components/businessapplicationpayload.d.ts.map +1 -1
  21. package/models/components/businessapplicationresource.d.ts +12 -94
  22. package/models/components/businessapplicationresource.d.ts.map +1 -1
  23. package/models/components/businessloanbusinessapplicationrelationships.d.ts +0 -308
  24. package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
  25. package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -267
  26. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
  27. package/models/components/commercialsecuredapplicationpayload.d.ts +0 -78
  28. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
  29. package/models/components/commercialsecuredapplicationresource.d.ts +12 -94
  30. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
  31. package/models/components/commercialsecuredloanassetattributes.d.ts +0 -130
  32. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
  33. package/models/components/commercialsecuredloanassettype.d.ts +0 -64
  34. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
  35. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +0 -354
  36. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  37. package/models/components/commercialsecuredloantypeofsale.d.ts +0 -24
  38. package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
  39. package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -205
  40. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
  41. package/models/components/consumersecuredapplicationpayload.d.ts +0 -78
  42. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
  43. package/models/components/consumersecuredapplicationresource.d.ts +12 -94
  44. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
  45. package/models/components/consumersecuredloanassetattributes.d.ts +0 -130
  46. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
  47. package/models/components/consumersecuredloanassettype.d.ts +0 -40
  48. package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
  49. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +0 -400
  50. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  51. package/models/components/consumersecuredloantypeofsale.d.ts +0 -24
  52. package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
  53. package/models/components/createsupportingdocumentsresponse.d.ts +3 -78
  54. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
  55. package/models/components/currencycodeiso4217.d.ts +0 -14
  56. package/models/components/currencycodeiso4217.d.ts.map +1 -1
  57. package/models/components/customerassetattributes.d.ts +0 -12
  58. package/models/components/customerassetattributes.d.ts.map +1 -1
  59. package/models/components/customerassettype.d.ts +0 -28
  60. package/models/components/customerassettype.d.ts.map +1 -1
  61. package/models/components/customerattributes.d.ts +1 -33
  62. package/models/components/customerattributes.d.ts.map +1 -1
  63. package/models/components/customerattributescreateitem.d.ts +0 -17
  64. package/models/components/customerattributescreateitem.d.ts.map +1 -1
  65. package/models/components/customeridtype.d.ts +0 -18
  66. package/models/components/customeridtype.d.ts.map +1 -1
  67. package/models/components/customerliabilityattributes.d.ts +0 -12
  68. package/models/components/customerliabilityattributes.d.ts.map +1 -1
  69. package/models/components/customerliabilityrepaymentfrequency.d.ts +0 -18
  70. package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
  71. package/models/components/customerliabilitytype.d.ts +0 -24
  72. package/models/components/customerliabilitytype.d.ts.map +1 -1
  73. package/models/components/customertitle.d.ts +0 -20
  74. package/models/components/customertitle.d.ts.map +1 -1
  75. package/models/components/documenttype.d.ts +0 -40
  76. package/models/components/documenttype.d.ts.map +1 -1
  77. package/models/components/entityattributes.d.ts +0 -84
  78. package/models/components/entityattributes.d.ts.map +1 -1
  79. package/models/components/entityattributesinput.d.ts +0 -17
  80. package/models/components/entityattributesinput.d.ts.map +1 -1
  81. package/models/components/errorsource.d.ts +0 -21
  82. package/models/components/errorsource.d.ts.map +1 -1
  83. package/models/components/expenseattributes.d.ts +0 -17
  84. package/models/components/expenseattributes.d.ts.map +1 -1
  85. package/models/components/expensefrequency.d.ts +0 -20
  86. package/models/components/expensefrequency.d.ts.map +1 -1
  87. package/models/components/expensetype.d.ts +0 -52
  88. package/models/components/expensetype.d.ts.map +1 -1
  89. package/models/components/forbiddenerror.d.ts +2 -78
  90. package/models/components/forbiddenerror.d.ts.map +1 -1
  91. package/models/components/frequencytype.d.ts +0 -18
  92. package/models/components/frequencytype.d.ts.map +1 -1
  93. package/models/components/incomeattributes.d.ts +0 -17
  94. package/models/components/incomeattributes.d.ts.map +1 -1
  95. package/models/components/incomefrequency.d.ts +0 -22
  96. package/models/components/incomefrequency.d.ts.map +1 -1
  97. package/models/components/incometype.d.ts +0 -32
  98. package/models/components/incometype.d.ts.map +1 -1
  99. package/models/components/linkobject.d.ts +0 -12
  100. package/models/components/linkobject.d.ts.map +1 -1
  101. package/models/components/livingarrangements.d.ts +0 -20
  102. package/models/components/livingarrangements.d.ts.map +1 -1
  103. package/models/components/loandetailsattributes.d.ts +5 -132
  104. package/models/components/loandetailsattributes.d.ts.map +1 -1
  105. package/models/components/maritalstatus.d.ts +0 -16
  106. package/models/components/maritalstatus.d.ts.map +1 -1
  107. package/models/components/monetaryquantity.d.ts +0 -26
  108. package/models/components/monetaryquantity.d.ts.map +1 -1
  109. package/models/components/paginationlinks.d.ts +0 -22
  110. package/models/components/paginationlinks.d.ts.map +1 -1
  111. package/models/components/paginationmeta.d.ts +0 -22
  112. package/models/components/paginationmeta.d.ts.map +1 -1
  113. package/models/components/percentagequantity.d.ts +0 -26
  114. package/models/components/percentagequantity.d.ts.map +1 -1
  115. package/models/components/personalapplicationjsonapirelationships.d.ts +1 -143
  116. package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -1
  117. package/models/components/personalapplicationpayload.d.ts +0 -64
  118. package/models/components/personalapplicationpayload.d.ts.map +1 -1
  119. package/models/components/personalapplicationresource.d.ts +12 -94
  120. package/models/components/personalapplicationresource.d.ts.map +1 -1
  121. package/models/components/personalloanpersonalapplicationrelationships.d.ts +0 -354
  122. package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
  123. package/models/components/relationshipresourcenotfound.d.ts +2 -78
  124. package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
  125. package/models/components/repaymentstructure.d.ts +0 -18
  126. package/models/components/repaymentstructure.d.ts.map +1 -1
  127. package/models/components/residencystatus.d.ts +0 -22
  128. package/models/components/residencystatus.d.ts.map +1 -1
  129. package/models/components/resourcenotfound.d.ts +2 -78
  130. package/models/components/resourcenotfound.d.ts.map +1 -1
  131. package/models/components/security.d.ts +0 -17
  132. package/models/components/security.d.ts.map +1 -1
  133. package/models/components/supportingdocumentattributes.d.ts +0 -21
  134. package/models/components/supportingdocumentattributes.d.ts.map +1 -1
  135. package/models/components/supportingdocumentattributesinput.d.ts +0 -17
  136. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
  137. package/models/components/supportingdocumentrelationships.d.ts +0 -190
  138. package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
  139. package/models/components/supportingdocumentresource.d.ts +0 -33
  140. package/models/components/supportingdocumentresource.d.ts.map +1 -1
  141. package/models/components/tokenrequest.d.ts +0 -33
  142. package/models/components/tokenrequest.d.ts.map +1 -1
  143. package/models/components/tokenresponse.d.ts +0 -22
  144. package/models/components/tokenresponse.d.ts.map +1 -1
  145. package/models/components/uploadmimetype.d.ts +0 -28
  146. package/models/components/uploadmimetype.d.ts.map +1 -1
  147. package/models/operations/createapplication.d.ts +0 -484
  148. package/models/operations/createapplication.d.ts.map +1 -1
  149. package/models/operations/getapplication.d.ts +0 -469
  150. package/models/operations/getapplication.d.ts.map +1 -1
  151. package/models/operations/listapplications.d.ts +0 -91
  152. package/models/operations/listapplications.d.ts.map +1 -1
  153. package/models/operations/supportingdocumentscreate.d.ts +6 -159
  154. package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
  155. package/package.json +1 -1
  156. package/src/hooks/oauth2scopes.ts +16 -0
  157. package/src/lib/config.ts +3 -3
  158. package/src/lib/encodings.ts +17 -3
  159. package/src/models/components/addressattributes.ts +0 -27
  160. package/src/models/components/apierrorlinks.ts +0 -31
  161. package/src/models/components/applicationresource.ts +0 -48
  162. package/src/models/components/applicationstatus.ts +0 -16
  163. package/src/models/components/australianstatesandterritories.ts +0 -12
  164. package/src/models/components/badrequesterror.ts +4 -119
  165. package/src/models/components/businessapplicationjsonapirelationships.ts +1 -395
  166. package/src/models/components/businessapplicationpayload.ts +2 -114
  167. package/src/models/components/businessapplicationresource.ts +14 -156
  168. package/src/models/components/businessloanbusinessapplicationrelationships.ts +6 -776
  169. package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -497
  170. package/src/models/components/commercialsecuredapplicationpayload.ts +2 -112
  171. package/src/models/components/commercialsecuredapplicationresource.ts +14 -164
  172. package/src/models/components/commercialsecuredloanassetattributes.ts +0 -131
  173. package/src/models/components/commercialsecuredloanassettype.ts +0 -12
  174. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +7 -790
  175. package/src/models/components/commercialsecuredloantypeofsale.ts +0 -12
  176. package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -390
  177. package/src/models/components/consumersecuredapplicationpayload.ts +2 -127
  178. package/src/models/components/consumersecuredapplicationresource.ts +14 -163
  179. package/src/models/components/consumersecuredloanassetattributes.ts +0 -149
  180. package/src/models/components/consumersecuredloanassettype.ts +0 -12
  181. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +8 -977
  182. package/src/models/components/consumersecuredloantypeofsale.ts +0 -12
  183. package/src/models/components/createsupportingdocumentsresponse.ts +1 -107
  184. package/src/models/components/currencycodeiso4217.ts +0 -12
  185. package/src/models/components/customerassetattributes.ts +0 -15
  186. package/src/models/components/customerassettype.ts +0 -12
  187. package/src/models/components/customerattributes.ts +2 -75
  188. package/src/models/components/customerattributescreateitem.ts +0 -59
  189. package/src/models/components/customeridtype.ts +1 -17
  190. package/src/models/components/customerliabilityattributes.ts +0 -15
  191. package/src/models/components/customerliabilityrepaymentfrequency.ts +0 -14
  192. package/src/models/components/customerliabilitytype.ts +0 -12
  193. package/src/models/components/customertitle.ts +0 -12
  194. package/src/models/components/documenttype.ts +0 -12
  195. package/src/models/components/entityattributes.ts +0 -95
  196. package/src/models/components/entityattributesinput.ts +0 -41
  197. package/src/models/components/errorsource.ts +0 -35
  198. package/src/models/components/expenseattributes.ts +1 -45
  199. package/src/models/components/expensefrequency.ts +1 -17
  200. package/src/models/components/expensetype.ts +1 -16
  201. package/src/models/components/forbiddenerror.ts +2 -103
  202. package/src/models/components/frequencytype.ts +0 -12
  203. package/src/models/components/incomeattributes.ts +1 -45
  204. package/src/models/components/incomefrequency.ts +1 -17
  205. package/src/models/components/incometype.ts +1 -16
  206. package/src/models/components/linkobject.ts +0 -15
  207. package/src/models/components/livingarrangements.ts +0 -12
  208. package/src/models/components/loandetailsattributes.ts +7 -165
  209. package/src/models/components/maritalstatus.ts +0 -12
  210. package/src/models/components/monetaryquantity.ts +0 -27
  211. package/src/models/components/paginationlinks.ts +0 -39
  212. package/src/models/components/paginationmeta.ts +0 -43
  213. package/src/models/components/percentagequantity.ts +0 -27
  214. package/src/models/components/personalapplicationjsonapirelationships.ts +1 -277
  215. package/src/models/components/personalapplicationpayload.ts +2 -114
  216. package/src/models/components/personalapplicationresource.ts +14 -156
  217. package/src/models/components/personalloanpersonalapplicationrelationships.ts +7 -892
  218. package/src/models/components/relationshipresourcenotfound.ts +2 -113
  219. package/src/models/components/repaymentstructure.ts +0 -12
  220. package/src/models/components/residencystatus.ts +0 -12
  221. package/src/models/components/resourcenotfound.ts +2 -109
  222. package/src/models/components/security.ts +0 -35
  223. package/src/models/components/supportingdocumentattributes.ts +1 -46
  224. package/src/models/components/supportingdocumentattributesinput.ts +1 -42
  225. package/src/models/components/supportingdocumentrelationships.ts +0 -230
  226. package/src/models/components/supportingdocumentresource.ts +1 -59
  227. package/src/models/components/tokenrequest.ts +1 -60
  228. package/src/models/components/tokenresponse.ts +0 -43
  229. package/src/models/components/uploadmimetype.ts +1 -17
  230. package/src/models/operations/createapplication.ts +0 -779
  231. package/src/models/operations/getapplication.ts +0 -759
  232. package/src/models/operations/listapplications.ts +0 -199
  233. package/src/models/operations/supportingdocumentscreate.ts +10 -340
  234. package/src/types/enums.ts +38 -9
  235. package/src/types/index.ts +2 -2
  236. package/src/types/unrecognized.ts +35 -0
  237. package/tsconfig.json +0 -1
  238. package/types/enums.d.ts +8 -11
  239. package/types/enums.d.ts.map +1 -1
  240. package/types/index.d.ts +2 -2
  241. package/types/index.d.ts.map +1 -1
  242. package/.devcontainer/README.md +0 -35
  243. package/core.js +0 -17
  244. package/core.js.map +0 -1
  245. package/docs/sdks/applications/README.md +0 -527
  246. package/docs/sdks/oauthtoken/README.md +0 -87
  247. package/docs/sdks/supportingdocuments/README.md +0 -115
  248. package/examples/README.md +0 -31
  249. package/hooks/hooks.js +0 -84
  250. package/hooks/hooks.js.map +0 -1
  251. package/hooks/index.js +0 -22
  252. package/hooks/index.js.map +0 -1
  253. package/hooks/types.js +0 -6
  254. package/hooks/types.js.map +0 -1
  255. package/index.js +0 -48
  256. package/index.js.map +0 -1
  257. package/lib/base64.js +0 -71
  258. package/lib/base64.js.map +0 -1
  259. package/lib/config.d.ts +0 -38
  260. package/lib/config.d.ts.map +0 -1
  261. package/lib/config.js +0 -35
  262. package/lib/config.js.map +0 -1
  263. package/lib/dlv.d.ts +0 -14
  264. package/lib/dlv.d.ts.map +0 -1
  265. package/lib/dlv.js +0 -49
  266. package/lib/dlv.js.map +0 -1
  267. package/lib/encodings.js +0 -368
  268. package/lib/encodings.js.map +0 -1
  269. package/lib/env.js +0 -82
  270. package/lib/env.js.map +0 -1
  271. package/lib/files.d.ts +0 -13
  272. package/lib/files.d.ts.map +0 -1
  273. package/lib/files.js +0 -77
  274. package/lib/files.js.map +0 -1
  275. package/lib/http.d.ts +0 -67
  276. package/lib/http.d.ts.map +0 -1
  277. package/lib/http.js +0 -217
  278. package/lib/http.js.map +0 -1
  279. package/lib/is-plain-object.d.ts +0 -2
  280. package/lib/is-plain-object.d.ts.map +0 -1
  281. package/lib/is-plain-object.js +0 -41
  282. package/lib/is-plain-object.js.map +0 -1
  283. package/lib/logger.d.ts +0 -6
  284. package/lib/logger.d.ts.map +0 -1
  285. package/lib/logger.js +0 -6
  286. package/lib/logger.js.map +0 -1
  287. package/lib/matchers.js +0 -218
  288. package/lib/matchers.js.map +0 -1
  289. package/lib/primitives.d.ts +0 -26
  290. package/lib/primitives.d.ts.map +0 -1
  291. package/lib/primitives.js +0 -111
  292. package/lib/primitives.js.map +0 -1
  293. package/lib/retries.d.ts +0 -38
  294. package/lib/retries.d.ts.map +0 -1
  295. package/lib/retries.js +0 -153
  296. package/lib/retries.js.map +0 -1
  297. package/lib/schemas.js +0 -62
  298. package/lib/schemas.js.map +0 -1
  299. package/lib/sdks.js +0 -274
  300. package/lib/sdks.js.map +0 -1
  301. package/lib/security.js +0 -145
  302. package/lib/security.js.map +0 -1
  303. package/lib/url.d.ts +0 -5
  304. package/lib/url.d.ts.map +0 -1
  305. package/lib/url.js +0 -25
  306. package/lib/url.js.map +0 -1
  307. package/models/components/addressattributes.js +0 -120
  308. package/models/components/addressattributes.js.map +0 -1
  309. package/models/components/apierrorlinks.js +0 -69
  310. package/models/components/apierrorlinks.js.map +0 -1
  311. package/models/components/applicationresource.js +0 -79
  312. package/models/components/applicationresource.js.map +0 -1
  313. package/models/components/applicationstatus.js +0 -66
  314. package/models/components/applicationstatus.js.map +0 -1
  315. package/models/components/australianstatesandterritories.js +0 -66
  316. package/models/components/australianstatesandterritories.js.map +0 -1
  317. package/models/components/badrequesterror.js +0 -139
  318. package/models/components/badrequesterror.js.map +0 -1
  319. package/models/components/businessapplicationjsonapirelationships.js +0 -309
  320. package/models/components/businessapplicationjsonapirelationships.js.map +0 -1
  321. package/models/components/businessapplicationpayload.js +0 -150
  322. package/models/components/businessapplicationpayload.js.map +0 -1
  323. package/models/components/businessapplicationresource.js +0 -159
  324. package/models/components/businessapplicationresource.js.map +0 -1
  325. package/models/components/businessloanbusinessapplicationrelationships.js +0 -597
  326. package/models/components/businessloanbusinessapplicationrelationships.js.map +0 -1
  327. package/models/components/commercialapplicationjsonapirelationships.js +0 -391
  328. package/models/components/commercialapplicationjsonapirelationships.js.map +0 -1
  329. package/models/components/commercialsecuredapplicationpayload.js +0 -159
  330. package/models/components/commercialsecuredapplicationpayload.js.map +0 -1
  331. package/models/components/commercialsecuredapplicationresource.js +0 -159
  332. package/models/components/commercialsecuredapplicationresource.js.map +0 -1
  333. package/models/components/commercialsecuredloanassetattributes.js +0 -322
  334. package/models/components/commercialsecuredloanassetattributes.js.map +0 -1
  335. package/models/components/commercialsecuredloanassettype.js +0 -84
  336. package/models/components/commercialsecuredloanassettype.js.map +0 -1
  337. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +0 -682
  338. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +0 -1
  339. package/models/components/commercialsecuredloantypeofsale.js +0 -64
  340. package/models/components/commercialsecuredloantypeofsale.js.map +0 -1
  341. package/models/components/consumerapplicationjsonapirelationships.js +0 -310
  342. package/models/components/consumerapplicationjsonapirelationships.js.map +0 -1
  343. package/models/components/consumersecuredapplicationpayload.js +0 -160
  344. package/models/components/consumersecuredapplicationpayload.js.map +0 -1
  345. package/models/components/consumersecuredapplicationresource.js +0 -159
  346. package/models/components/consumersecuredapplicationresource.js.map +0 -1
  347. package/models/components/consumersecuredloanassetattributes.js +0 -324
  348. package/models/components/consumersecuredloanassetattributes.js.map +0 -1
  349. package/models/components/consumersecuredloanassettype.js +0 -72
  350. package/models/components/consumersecuredloanassettype.js.map +0 -1
  351. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +0 -775
  352. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +0 -1
  353. package/models/components/consumersecuredloantypeofsale.js +0 -64
  354. package/models/components/consumersecuredloantypeofsale.js.map +0 -1
  355. package/models/components/createsupportingdocumentsresponse.js +0 -138
  356. package/models/components/createsupportingdocumentsresponse.js.map +0 -1
  357. package/models/components/currencycodeiso4217.js +0 -59
  358. package/models/components/currencycodeiso4217.js.map +0 -1
  359. package/models/components/customerassetattributes.js +0 -77
  360. package/models/components/customerassetattributes.js.map +0 -1
  361. package/models/components/customerassettype.js +0 -66
  362. package/models/components/customerassettype.js.map +0 -1
  363. package/models/components/customerattributes.js +0 -100
  364. package/models/components/customerattributes.js.map +0 -1
  365. package/models/components/customerattributescreateitem.js +0 -110
  366. package/models/components/customerattributescreateitem.js.map +0 -1
  367. package/models/components/customeridtype.js +0 -60
  368. package/models/components/customeridtype.js.map +0 -1
  369. package/models/components/customerliabilityattributes.js +0 -88
  370. package/models/components/customerliabilityattributes.js.map +0 -1
  371. package/models/components/customerliabilityrepaymentfrequency.js +0 -61
  372. package/models/components/customerliabilityrepaymentfrequency.js.map +0 -1
  373. package/models/components/customerliabilitytype.js +0 -64
  374. package/models/components/customerliabilitytype.js.map +0 -1
  375. package/models/components/customertitle.js +0 -62
  376. package/models/components/customertitle.js.map +0 -1
  377. package/models/components/documenttype.js +0 -75
  378. package/models/components/documenttype.js.map +0 -1
  379. package/models/components/entityattributes.js +0 -151
  380. package/models/components/entityattributes.js.map +0 -1
  381. package/models/components/entityattributesinput.js +0 -81
  382. package/models/components/entityattributesinput.js.map +0 -1
  383. package/models/components/errorsource.js +0 -73
  384. package/models/components/errorsource.js.map +0 -1
  385. package/models/components/expenseattributes.js +0 -78
  386. package/models/components/expenseattributes.js.map +0 -1
  387. package/models/components/expensefrequency.js +0 -61
  388. package/models/components/expensefrequency.js.map +0 -1
  389. package/models/components/expensetype.js +0 -78
  390. package/models/components/expensetype.js.map +0 -1
  391. package/models/components/forbiddenerror.js +0 -139
  392. package/models/components/forbiddenerror.js.map +0 -1
  393. package/models/components/frequencytype.js +0 -64
  394. package/models/components/frequencytype.js.map +0 -1
  395. package/models/components/incomeattributes.js +0 -78
  396. package/models/components/incomeattributes.js.map +0 -1
  397. package/models/components/incomefrequency.js +0 -62
  398. package/models/components/incomefrequency.js.map +0 -1
  399. package/models/components/incometype.js +0 -68
  400. package/models/components/incometype.js.map +0 -1
  401. package/models/components/index.js +0 -91
  402. package/models/components/index.js.map +0 -1
  403. package/models/components/linkobject.js +0 -77
  404. package/models/components/linkobject.js.map +0 -1
  405. package/models/components/livingarrangements.js +0 -62
  406. package/models/components/livingarrangements.js.map +0 -1
  407. package/models/components/loandetailsattributes.js +0 -375
  408. package/models/components/loandetailsattributes.js.map +0 -1
  409. package/models/components/maritalstatus.js +0 -60
  410. package/models/components/maritalstatus.js.map +0 -1
  411. package/models/components/monetaryquantity.js +0 -93
  412. package/models/components/monetaryquantity.js.map +0 -1
  413. package/models/components/paginationlinks.js +0 -75
  414. package/models/components/paginationlinks.js.map +0 -1
  415. package/models/components/paginationmeta.js +0 -88
  416. package/models/components/paginationmeta.js.map +0 -1
  417. package/models/components/percentagequantity.js +0 -89
  418. package/models/components/percentagequantity.js.map +0 -1
  419. package/models/components/personalapplicationjsonapirelationships.js +0 -229
  420. package/models/components/personalapplicationjsonapirelationships.js.map +0 -1
  421. package/models/components/personalapplicationpayload.js +0 -150
  422. package/models/components/personalapplicationpayload.js.map +0 -1
  423. package/models/components/personalapplicationresource.js +0 -159
  424. package/models/components/personalapplicationresource.js.map +0 -1
  425. package/models/components/personalloanpersonalapplicationrelationships.js +0 -682
  426. package/models/components/personalloanpersonalapplicationrelationships.js.map +0 -1
  427. package/models/components/relationshipresourcenotfound.js +0 -139
  428. package/models/components/relationshipresourcenotfound.js.map +0 -1
  429. package/models/components/repaymentstructure.js +0 -64
  430. package/models/components/repaymentstructure.js.map +0 -1
  431. package/models/components/residencystatus.js +0 -63
  432. package/models/components/residencystatus.js.map +0 -1
  433. package/models/components/resourcenotfound.js +0 -139
  434. package/models/components/resourcenotfound.js.map +0 -1
  435. package/models/components/security.js +0 -69
  436. package/models/components/security.js.map +0 -1
  437. package/models/components/supportingdocumentattributes.js +0 -74
  438. package/models/components/supportingdocumentattributes.js.map +0 -1
  439. package/models/components/supportingdocumentattributesinput.js +0 -72
  440. package/models/components/supportingdocumentattributesinput.js.map +0 -1
  441. package/models/components/supportingdocumentrelationships.js +0 -434
  442. package/models/components/supportingdocumentrelationships.js.map +0 -1
  443. package/models/components/supportingdocumentresource.js +0 -98
  444. package/models/components/supportingdocumentresource.js.map +0 -1
  445. package/models/components/tokenrequest.js +0 -110
  446. package/models/components/tokenrequest.js.map +0 -1
  447. package/models/components/tokenresponse.js +0 -88
  448. package/models/components/tokenresponse.js.map +0 -1
  449. package/models/components/uploadmimetype.js +0 -68
  450. package/models/components/uploadmimetype.js.map +0 -1
  451. package/models/errors/apierror.d.ts +0 -10
  452. package/models/errors/apierror.d.ts.map +0 -1
  453. package/models/errors/apierror.js +0 -34
  454. package/models/errors/apierror.js.map +0 -1
  455. package/models/errors/financeableerror.d.ts +0 -19
  456. package/models/errors/financeableerror.d.ts.map +0 -1
  457. package/models/errors/financeableerror.js +0 -20
  458. package/models/errors/financeableerror.js.map +0 -1
  459. package/models/errors/httpclienterrors.d.ts +0 -44
  460. package/models/errors/httpclienterrors.d.ts.map +0 -1
  461. package/models/errors/httpclienterrors.js +0 -78
  462. package/models/errors/httpclienterrors.js.map +0 -1
  463. package/models/errors/index.js +0 -25
  464. package/models/errors/index.js.map +0 -1
  465. package/models/errors/responsevalidationerror.js +0 -66
  466. package/models/errors/responsevalidationerror.js.map +0 -1
  467. package/models/errors/sdkvalidationerror.js +0 -129
  468. package/models/errors/sdkvalidationerror.js.map +0 -1
  469. package/models/operations/createapplication.js +0 -747
  470. package/models/operations/createapplication.js.map +0 -1
  471. package/models/operations/getapplication.js +0 -697
  472. package/models/operations/getapplication.js.map +0 -1
  473. package/models/operations/index.js +0 -24
  474. package/models/operations/index.js.map +0 -1
  475. package/models/operations/listapplications.js +0 -199
  476. package/models/operations/listapplications.js.map +0 -1
  477. package/models/operations/supportingdocumentscreate.js +0 -320
  478. package/models/operations/supportingdocumentscreate.js.map +0 -1
  479. package/sdk/index.js +0 -21
  480. package/sdk/index.js.map +0 -1
  481. package/sdk/sdk.js +0 -23
  482. package/sdk/sdk.js.map +0 -1
  483. package/types/async.d.ts +0 -23
  484. package/types/async.d.ts.map +0 -1
  485. package/types/async.js +0 -44
  486. package/types/async.js.map +0 -1
  487. package/types/blobs.js +0 -62
  488. package/types/blobs.js.map +0 -1
  489. package/types/constdatetime.js +0 -46
  490. package/types/constdatetime.js.map +0 -1
  491. package/types/enums.js +0 -10
  492. package/types/enums.js.map +0 -1
  493. package/types/fp.d.ts +0 -31
  494. package/types/fp.d.ts.map +0 -1
  495. package/types/fp.js +0 -37
  496. package/types/fp.js.map +0 -1
  497. package/types/index.js +0 -16
  498. package/types/index.js.map +0 -1
  499. package/types/operations.d.ts +0 -27
  500. package/types/operations.d.ts.map +0 -1
  501. package/types/operations.js +0 -83
  502. package/types/operations.js.map +0 -1
  503. package/types/rfcdate.d.ts +0 -21
  504. package/types/rfcdate.d.ts.map +0 -1
  505. package/types/rfcdate.js +0 -46
  506. package/types/rfcdate.js.map +0 -1
  507. package/types/streams.d.ts +0 -2
  508. package/types/streams.d.ts.map +0 -1
  509. package/types/streams.js +0 -18
  510. package/types/streams.js.map +0 -1
@@ -3,61 +3,49 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
6
  import { ClosedEnum } from "../../types/enums.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
7
  import {
11
8
  AddressAttributes,
12
- AddressAttributes$inboundSchema,
13
9
  AddressAttributes$Outbound,
14
10
  AddressAttributes$outboundSchema,
15
11
  } from "./addressattributes.js";
16
12
  import {
17
13
  ConsumerSecuredLoanAssetAttributes,
18
- ConsumerSecuredLoanAssetAttributes$inboundSchema,
19
14
  ConsumerSecuredLoanAssetAttributes$Outbound,
20
15
  ConsumerSecuredLoanAssetAttributes$outboundSchema,
21
16
  } from "./consumersecuredloanassetattributes.js";
22
17
  import {
23
18
  CustomerAssetAttributes,
24
- CustomerAssetAttributes$inboundSchema,
25
19
  CustomerAssetAttributes$Outbound,
26
20
  CustomerAssetAttributes$outboundSchema,
27
21
  } from "./customerassetattributes.js";
28
22
  import {
29
23
  CustomerAttributesCreateItem,
30
- CustomerAttributesCreateItem$inboundSchema,
31
24
  CustomerAttributesCreateItem$Outbound,
32
25
  CustomerAttributesCreateItem$outboundSchema,
33
26
  } from "./customerattributescreateitem.js";
34
27
  import {
35
28
  CustomerLiabilityAttributes,
36
- CustomerLiabilityAttributes$inboundSchema,
37
29
  CustomerLiabilityAttributes$Outbound,
38
30
  CustomerLiabilityAttributes$outboundSchema,
39
31
  } from "./customerliabilityattributes.js";
40
32
  import {
41
33
  ExpenseAttributes,
42
- ExpenseAttributes$inboundSchema,
43
34
  ExpenseAttributes$Outbound,
44
35
  ExpenseAttributes$outboundSchema,
45
36
  } from "./expenseattributes.js";
46
37
  import {
47
38
  IncomeAttributes,
48
- IncomeAttributes$inboundSchema,
49
39
  IncomeAttributes$Outbound,
50
40
  IncomeAttributes$outboundSchema,
51
41
  } from "./incomeattributes.js";
52
42
  import {
53
43
  LinkObject,
54
- LinkObject$inboundSchema,
55
44
  LinkObject$Outbound,
56
45
  LinkObject$outboundSchema,
57
46
  } from "./linkobject.js";
58
47
  import {
59
48
  LoanDetailsAttributes,
60
- LoanDetailsAttributes$inboundSchema,
61
49
  LoanDetailsAttributes$Outbound,
62
50
  LoanDetailsAttributes$outboundSchema,
63
51
  } from "./loandetailsattributes.js";
@@ -273,43 +261,11 @@ export type ConsumerSecuredLoanConsumerApplicationRelationships = {
273
261
  asset?: ConsumerSecuredLoanConsumerApplicationRelationshipsAsset | undefined;
274
262
  };
275
263
 
276
- /** @internal */
277
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema:
278
- z.ZodNativeEnum<
279
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsType
280
- > = z.nativeEnum(ConsumerSecuredLoanConsumerApplicationRelationshipsType);
281
-
282
264
  /** @internal */
283
265
  export const ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema:
284
266
  z.ZodNativeEnum<
285
267
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsType
286
- > = ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema;
287
-
288
- /**
289
- * @internal
290
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
291
- */
292
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsType$ {
293
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema` instead. */
294
- export const inboundSchema =
295
- ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema;
296
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema` instead. */
297
- export const outboundSchema =
298
- ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema;
299
- }
300
-
301
- /** @internal */
302
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema:
303
- z.ZodType<
304
- ConsumerSecuredLoanConsumerApplicationRelationshipsData,
305
- z.ZodTypeDef,
306
- unknown
307
- > = z.object({
308
- type: ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema,
309
- attributes: LoanDetailsAttributes$inboundSchema,
310
- links: z.record(LinkObject$inboundSchema).optional(),
311
- meta: z.record(z.any()).optional(),
312
- });
268
+ > = z.nativeEnum(ConsumerSecuredLoanConsumerApplicationRelationshipsType);
313
269
 
314
270
  /** @internal */
315
271
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsData$Outbound = {
@@ -333,22 +289,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSch
333
289
  meta: z.record(z.any()).optional(),
334
290
  });
335
291
 
336
- /**
337
- * @internal
338
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
339
- */
340
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsData$ {
341
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema` instead. */
342
- export const inboundSchema =
343
- ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema;
344
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema` instead. */
345
- export const outboundSchema =
346
- ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema;
347
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsData$Outbound` instead. */
348
- export type Outbound =
349
- ConsumerSecuredLoanConsumerApplicationRelationshipsData$Outbound;
350
- }
351
-
352
292
  export function consumerSecuredLoanConsumerApplicationRelationshipsDataToJSON(
353
293
  consumerSecuredLoanConsumerApplicationRelationshipsData:
354
294
  ConsumerSecuredLoanConsumerApplicationRelationshipsData,
@@ -359,33 +299,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsDataToJSON(
359
299
  );
360
300
  }
361
301
 
362
- export function consumerSecuredLoanConsumerApplicationRelationshipsDataFromJSON(
363
- jsonString: string,
364
- ): SafeParseResult<
365
- ConsumerSecuredLoanConsumerApplicationRelationshipsData,
366
- SDKValidationError
367
- > {
368
- return safeParse(
369
- jsonString,
370
- (x) =>
371
- ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema
372
- .parse(JSON.parse(x)),
373
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsData' from JSON`,
374
- );
375
- }
376
-
377
- /** @internal */
378
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema:
379
- z.ZodType<
380
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails,
381
- z.ZodTypeDef,
382
- unknown
383
- > = z.object({
384
- data: z.lazy(() =>
385
- ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema
386
- ),
387
- });
388
-
389
302
  /** @internal */
390
303
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$Outbound =
391
304
  {
@@ -404,22 +317,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outb
404
317
  ),
405
318
  });
406
319
 
407
- /**
408
- * @internal
409
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
410
- */
411
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$ {
412
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema` instead. */
413
- export const inboundSchema =
414
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema;
415
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema` instead. */
416
- export const outboundSchema =
417
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema;
418
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$Outbound` instead. */
419
- export type Outbound =
420
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$Outbound;
421
- }
422
-
423
320
  export function consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsToJSON(
424
321
  consumerSecuredLoanConsumerApplicationRelationshipsLoanDetails:
425
322
  ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails,
@@ -430,23 +327,8 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsTo
430
327
  );
431
328
  }
432
329
 
433
- export function consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsFromJSON(
434
- jsonString: string,
435
- ): SafeParseResult<
436
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails,
437
- SDKValidationError
438
- > {
439
- return safeParse(
440
- jsonString,
441
- (x) =>
442
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema
443
- .parse(JSON.parse(x)),
444
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails' from JSON`,
445
- );
446
- }
447
-
448
330
  /** @internal */
449
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema:
331
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema:
450
332
  z.ZodNativeEnum<
451
333
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType
452
334
  > = z.nativeEnum(
@@ -454,67 +336,13 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$in
454
336
  );
455
337
 
456
338
  /** @internal */
457
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema:
458
- z.ZodNativeEnum<
459
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType
460
- > =
461
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema;
462
-
463
- /**
464
- * @internal
465
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
466
- */
467
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$ {
468
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema` instead. */
469
- export const inboundSchema =
470
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema;
471
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema` instead. */
472
- export const outboundSchema =
473
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema;
474
- }
475
-
476
- /** @internal */
477
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema:
339
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema:
478
340
  z.ZodNativeEnum<
479
341
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType
480
342
  > = z.nativeEnum(
481
343
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType,
482
344
  );
483
345
 
484
- /** @internal */
485
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema:
486
- z.ZodNativeEnum<
487
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType
488
- > =
489
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema;
490
-
491
- /**
492
- * @internal
493
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
494
- */
495
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$ {
496
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
497
- export const inboundSchema =
498
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema;
499
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
500
- export const outboundSchema =
501
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema;
502
- }
503
-
504
- /** @internal */
505
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema:
506
- z.ZodType<
507
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData,
508
- z.ZodTypeDef,
509
- unknown
510
- > = z.object({
511
- type:
512
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema,
513
- attributes: AddressAttributes$inboundSchema,
514
- links: z.record(LinkObject$inboundSchema).optional(),
515
- meta: z.record(z.any()).optional(),
516
- });
517
-
518
346
  /** @internal */
519
347
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$Outbound =
520
348
  {
@@ -538,22 +366,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRel
538
366
  meta: z.record(z.any()).optional(),
539
367
  });
540
368
 
541
- /**
542
- * @internal
543
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
544
- */
545
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$ {
546
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema` instead. */
547
- export const inboundSchema =
548
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema;
549
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema` instead. */
550
- export const outboundSchema =
551
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema;
552
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$Outbound` instead. */
553
- export type Outbound =
554
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$Outbound;
555
- }
556
-
557
369
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON(
558
370
  consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData:
559
371
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData,
@@ -566,35 +378,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersData
566
378
  );
567
379
  }
568
380
 
569
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesDataFromJSON(
570
- jsonString: string,
571
- ): SafeParseResult<
572
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData,
573
- SDKValidationError
574
- > {
575
- return safeParse(
576
- jsonString,
577
- (x) =>
578
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema
579
- .parse(JSON.parse(x)),
580
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData' from JSON`,
581
- );
582
- }
583
-
584
- /** @internal */
585
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema:
586
- z.ZodType<
587
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses,
588
- z.ZodTypeDef,
589
- unknown
590
- > = z.object({
591
- data: z.array(
592
- z.lazy(() =>
593
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema
594
- ),
595
- ),
596
- });
597
-
598
381
  /** @internal */
599
382
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$Outbound =
600
383
  {
@@ -617,22 +400,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outbou
617
400
  ),
618
401
  });
619
402
 
620
- /**
621
- * @internal
622
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
623
- */
624
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$ {
625
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema` instead. */
626
- export const inboundSchema =
627
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema;
628
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema` instead. */
629
- export const outboundSchema =
630
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema;
631
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$Outbound` instead. */
632
- export type Outbound =
633
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$Outbound;
634
- }
635
-
636
403
  export function consumerSecuredLoanConsumerApplicationRelationshipsAddressesToJSON(
637
404
  consumerSecuredLoanConsumerApplicationRelationshipsAddresses:
638
405
  ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses,
@@ -643,63 +410,14 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsAddressesToJS
643
410
  );
644
411
  }
645
412
 
646
- export function consumerSecuredLoanConsumerApplicationRelationshipsAddressesFromJSON(
647
- jsonString: string,
648
- ): SafeParseResult<
649
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses,
650
- SDKValidationError
651
- > {
652
- return safeParse(
653
- jsonString,
654
- (x) =>
655
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema
656
- .parse(JSON.parse(x)),
657
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses' from JSON`,
658
- );
659
- }
660
-
661
413
  /** @internal */
662
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema:
414
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
663
415
  z.ZodNativeEnum<
664
416
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType
665
417
  > = z.nativeEnum(
666
418
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType,
667
419
  );
668
420
 
669
- /** @internal */
670
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
671
- z.ZodNativeEnum<
672
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType
673
- > =
674
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
675
-
676
- /**
677
- * @internal
678
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
679
- */
680
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$ {
681
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
682
- export const inboundSchema =
683
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
684
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
685
- export const outboundSchema =
686
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
687
- }
688
-
689
- /** @internal */
690
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema:
691
- z.ZodType<
692
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData,
693
- z.ZodTypeDef,
694
- unknown
695
- > = z.object({
696
- type:
697
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema,
698
- attributes: IncomeAttributes$inboundSchema,
699
- links: z.record(LinkObject$inboundSchema).optional(),
700
- meta: z.record(z.any()).optional(),
701
- });
702
-
703
421
  /** @internal */
704
422
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$Outbound =
705
423
  {
@@ -723,22 +441,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDat
723
441
  meta: z.record(z.any()).optional(),
724
442
  });
725
443
 
726
- /**
727
- * @internal
728
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
729
- */
730
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$ {
731
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
732
- export const inboundSchema =
733
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema;
734
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
735
- export const outboundSchema =
736
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema;
737
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$Outbound` instead. */
738
- export type Outbound =
739
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$Outbound;
740
- }
741
-
742
444
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataToJSON(
743
445
  consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData:
744
446
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData,
@@ -751,31 +453,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersData
751
453
  );
752
454
  }
753
455
 
754
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataFromJSON(
755
- jsonString: string,
756
- ): SafeParseResult<
757
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData,
758
- SDKValidationError
759
- > {
760
- return safeParse(
761
- jsonString,
762
- (x) =>
763
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema
764
- .parse(JSON.parse(x)),
765
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData' from JSON`,
766
- );
767
- }
768
-
769
- /** @internal */
770
- export const Income$inboundSchema: z.ZodType<Income, z.ZodTypeDef, unknown> = z
771
- .object({
772
- data: z.array(
773
- z.lazy(() =>
774
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema
775
- ),
776
- ),
777
- });
778
-
779
456
  /** @internal */
780
457
  export type Income$Outbound = {
781
458
  data: Array<
@@ -796,75 +473,18 @@ export const Income$outboundSchema: z.ZodType<
796
473
  ),
797
474
  });
798
475
 
799
- /**
800
- * @internal
801
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
802
- */
803
- export namespace Income$ {
804
- /** @deprecated use `Income$inboundSchema` instead. */
805
- export const inboundSchema = Income$inboundSchema;
806
- /** @deprecated use `Income$outboundSchema` instead. */
807
- export const outboundSchema = Income$outboundSchema;
808
- /** @deprecated use `Income$Outbound` instead. */
809
- export type Outbound = Income$Outbound;
810
- }
811
-
812
476
  export function incomeToJSON(income: Income): string {
813
477
  return JSON.stringify(Income$outboundSchema.parse(income));
814
478
  }
815
479
 
816
- export function incomeFromJSON(
817
- jsonString: string,
818
- ): SafeParseResult<Income, SDKValidationError> {
819
- return safeParse(
820
- jsonString,
821
- (x) => Income$inboundSchema.parse(JSON.parse(x)),
822
- `Failed to parse 'Income' from JSON`,
823
- );
824
- }
825
-
826
480
  /** @internal */
827
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$inboundSchema:
481
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema:
828
482
  z.ZodNativeEnum<
829
483
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType
830
484
  > = z.nativeEnum(
831
485
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType,
832
486
  );
833
487
 
834
- /** @internal */
835
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema:
836
- z.ZodNativeEnum<
837
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType
838
- > =
839
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$inboundSchema;
840
-
841
- /**
842
- * @internal
843
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
844
- */
845
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$ {
846
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$inboundSchema` instead. */
847
- export const inboundSchema =
848
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$inboundSchema;
849
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema` instead. */
850
- export const outboundSchema =
851
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$outboundSchema;
852
- }
853
-
854
- /** @internal */
855
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema:
856
- z.ZodType<
857
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData,
858
- z.ZodTypeDef,
859
- unknown
860
- > = z.object({
861
- type:
862
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsLiabilitiesType$inboundSchema,
863
- attributes: CustomerLiabilityAttributes$inboundSchema,
864
- links: z.record(LinkObject$inboundSchema).optional(),
865
- meta: z.record(z.any()).optional(),
866
- });
867
-
868
488
  /** @internal */
869
489
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$Outbound =
870
490
  {
@@ -888,22 +508,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRel
888
508
  meta: z.record(z.any()).optional(),
889
509
  });
890
510
 
891
- /**
892
- * @internal
893
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
894
- */
895
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$ {
896
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema` instead. */
897
- export const inboundSchema =
898
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema;
899
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema` instead. */
900
- export const outboundSchema =
901
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema;
902
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$Outbound` instead. */
903
- export type Outbound =
904
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$Outbound;
905
- }
906
-
907
511
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsDataToJSON(
908
512
  consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData:
909
513
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData,
@@ -916,35 +520,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersData
916
520
  );
917
521
  }
918
522
 
919
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsDataFromJSON(
920
- jsonString: string,
921
- ): SafeParseResult<
922
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData,
923
- SDKValidationError
924
- > {
925
- return safeParse(
926
- jsonString,
927
- (x) =>
928
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
929
- .parse(JSON.parse(x)),
930
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData' from JSON`,
931
- );
932
- }
933
-
934
- /** @internal */
935
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$inboundSchema:
936
- z.ZodType<
937
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities,
938
- z.ZodTypeDef,
939
- unknown
940
- > = z.object({
941
- data: z.array(
942
- z.lazy(() =>
943
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
944
- ),
945
- ),
946
- });
947
-
948
523
  /** @internal */
949
524
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$Outbound =
950
525
  {
@@ -967,22 +542,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$outb
967
542
  ),
968
543
  });
969
544
 
970
- /**
971
- * @internal
972
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
973
- */
974
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$ {
975
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$inboundSchema` instead. */
976
- export const inboundSchema =
977
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$inboundSchema;
978
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$outboundSchema` instead. */
979
- export const outboundSchema =
980
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$outboundSchema;
981
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$Outbound` instead. */
982
- export type Outbound =
983
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$Outbound;
984
- }
985
-
986
545
  export function consumerSecuredLoanConsumerApplicationRelationshipsLiabilitiesToJSON(
987
546
  consumerSecuredLoanConsumerApplicationRelationshipsLiabilities:
988
547
  ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities,
@@ -993,63 +552,14 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsLiabilitiesTo
993
552
  );
994
553
  }
995
554
 
996
- export function consumerSecuredLoanConsumerApplicationRelationshipsLiabilitiesFromJSON(
997
- jsonString: string,
998
- ): SafeParseResult<
999
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities,
1000
- SDKValidationError
1001
- > {
1002
- return safeParse(
1003
- jsonString,
1004
- (x) =>
1005
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$inboundSchema
1006
- .parse(JSON.parse(x)),
1007
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities' from JSON`,
1008
- );
1009
- }
1010
-
1011
555
  /** @internal */
1012
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema:
556
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
1013
557
  z.ZodNativeEnum<
1014
558
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType
1015
559
  > = z.nativeEnum(
1016
560
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType,
1017
561
  );
1018
562
 
1019
- /** @internal */
1020
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
1021
- z.ZodNativeEnum<
1022
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType
1023
- > =
1024
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
1025
-
1026
- /**
1027
- * @internal
1028
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1029
- */
1030
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$ {
1031
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
1032
- export const inboundSchema =
1033
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
1034
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
1035
- export const outboundSchema =
1036
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
1037
- }
1038
-
1039
- /** @internal */
1040
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$inboundSchema:
1041
- z.ZodType<
1042
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData,
1043
- z.ZodTypeDef,
1044
- unknown
1045
- > = z.object({
1046
- type:
1047
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema,
1048
- attributes: CustomerAssetAttributes$inboundSchema,
1049
- links: z.record(LinkObject$inboundSchema).optional(),
1050
- meta: z.record(z.any()).optional(),
1051
- });
1052
-
1053
563
  /** @internal */
1054
564
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$Outbound =
1055
565
  {
@@ -1073,22 +583,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRel
1073
583
  meta: z.record(z.any()).optional(),
1074
584
  });
1075
585
 
1076
- /**
1077
- * @internal
1078
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1079
- */
1080
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$ {
1081
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$inboundSchema` instead. */
1082
- export const inboundSchema =
1083
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$inboundSchema;
1084
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$outboundSchema` instead. */
1085
- export const outboundSchema =
1086
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$outboundSchema;
1087
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$Outbound` instead. */
1088
- export type Outbound =
1089
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$Outbound;
1090
- }
1091
-
1092
586
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsDataToJSON(
1093
587
  consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData:
1094
588
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData,
@@ -1101,35 +595,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersData
1101
595
  );
1102
596
  }
1103
597
 
1104
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsDataFromJSON(
1105
- jsonString: string,
1106
- ): SafeParseResult<
1107
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData,
1108
- SDKValidationError
1109
- > {
1110
- return safeParse(
1111
- jsonString,
1112
- (x) =>
1113
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$inboundSchema
1114
- .parse(JSON.parse(x)),
1115
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData' from JSON`,
1116
- );
1117
- }
1118
-
1119
- /** @internal */
1120
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$inboundSchema:
1121
- z.ZodType<
1122
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets,
1123
- z.ZodTypeDef,
1124
- unknown
1125
- > = z.object({
1126
- data: z.array(
1127
- z.lazy(() =>
1128
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsAssetsData$inboundSchema
1129
- ),
1130
- ),
1131
- });
1132
-
1133
598
  /** @internal */
1134
599
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$Outbound =
1135
600
  {
@@ -1152,22 +617,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$outboundS
1152
617
  ),
1153
618
  });
1154
619
 
1155
- /**
1156
- * @internal
1157
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1158
- */
1159
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$ {
1160
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$inboundSchema` instead. */
1161
- export const inboundSchema =
1162
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$inboundSchema;
1163
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$outboundSchema` instead. */
1164
- export const outboundSchema =
1165
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$outboundSchema;
1166
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$Outbound` instead. */
1167
- export type Outbound =
1168
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$Outbound;
1169
- }
1170
-
1171
620
  export function consumerSecuredLoanConsumerApplicationRelationshipsAssetsToJSON(
1172
621
  consumerSecuredLoanConsumerApplicationRelationshipsAssets:
1173
622
  ConsumerSecuredLoanConsumerApplicationRelationshipsAssets,
@@ -1178,63 +627,14 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsAssetsToJSON(
1178
627
  );
1179
628
  }
1180
629
 
1181
- export function consumerSecuredLoanConsumerApplicationRelationshipsAssetsFromJSON(
1182
- jsonString: string,
1183
- ): SafeParseResult<
1184
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets,
1185
- SDKValidationError
1186
- > {
1187
- return safeParse(
1188
- jsonString,
1189
- (x) =>
1190
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$inboundSchema
1191
- .parse(JSON.parse(x)),
1192
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAssets' from JSON`,
1193
- );
1194
- }
1195
-
1196
630
  /** @internal */
1197
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$inboundSchema:
631
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema:
1198
632
  z.ZodNativeEnum<
1199
633
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType
1200
634
  > = z.nativeEnum(
1201
635
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType,
1202
636
  );
1203
637
 
1204
- /** @internal */
1205
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema:
1206
- z.ZodNativeEnum<
1207
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType
1208
- > =
1209
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$inboundSchema;
1210
-
1211
- /**
1212
- * @internal
1213
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1214
- */
1215
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$ {
1216
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$inboundSchema` instead. */
1217
- export const inboundSchema =
1218
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$inboundSchema;
1219
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema` instead. */
1220
- export const outboundSchema =
1221
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$outboundSchema;
1222
- }
1223
-
1224
- /** @internal */
1225
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$inboundSchema:
1226
- z.ZodType<
1227
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData,
1228
- z.ZodTypeDef,
1229
- unknown
1230
- > = z.object({
1231
- type:
1232
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesType$inboundSchema,
1233
- attributes: ExpenseAttributes$inboundSchema,
1234
- links: z.record(LinkObject$inboundSchema).optional(),
1235
- meta: z.record(z.any()).optional(),
1236
- });
1237
-
1238
638
  /** @internal */
1239
639
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$Outbound =
1240
640
  {
@@ -1258,22 +658,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRel
1258
658
  meta: z.record(z.any()).optional(),
1259
659
  });
1260
660
 
1261
- /**
1262
- * @internal
1263
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1264
- */
1265
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$ {
1266
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$inboundSchema` instead. */
1267
- export const inboundSchema =
1268
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$inboundSchema;
1269
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$outboundSchema` instead. */
1270
- export const outboundSchema =
1271
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$outboundSchema;
1272
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$Outbound` instead. */
1273
- export type Outbound =
1274
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$Outbound;
1275
- }
1276
-
1277
661
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesDataToJSON(
1278
662
  consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData:
1279
663
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData,
@@ -1286,34 +670,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersData
1286
670
  );
1287
671
  }
1288
672
 
1289
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesDataFromJSON(
1290
- jsonString: string,
1291
- ): SafeParseResult<
1292
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData,
1293
- SDKValidationError
1294
- > {
1295
- return safeParse(
1296
- jsonString,
1297
- (x) =>
1298
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$inboundSchema
1299
- .parse(JSON.parse(x)),
1300
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData' from JSON`,
1301
- );
1302
- }
1303
-
1304
- /** @internal */
1305
- export const Expenses$inboundSchema: z.ZodType<
1306
- Expenses,
1307
- z.ZodTypeDef,
1308
- unknown
1309
- > = z.object({
1310
- data: z.array(
1311
- z.lazy(() =>
1312
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataRelationshipsExpensesData$inboundSchema
1313
- ),
1314
- ),
1315
- });
1316
-
1317
673
  /** @internal */
1318
674
  export type Expenses$Outbound = {
1319
675
  data: Array<
@@ -1334,53 +690,10 @@ export const Expenses$outboundSchema: z.ZodType<
1334
690
  ),
1335
691
  });
1336
692
 
1337
- /**
1338
- * @internal
1339
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1340
- */
1341
- export namespace Expenses$ {
1342
- /** @deprecated use `Expenses$inboundSchema` instead. */
1343
- export const inboundSchema = Expenses$inboundSchema;
1344
- /** @deprecated use `Expenses$outboundSchema` instead. */
1345
- export const outboundSchema = Expenses$outboundSchema;
1346
- /** @deprecated use `Expenses$Outbound` instead. */
1347
- export type Outbound = Expenses$Outbound;
1348
- }
1349
-
1350
693
  export function expensesToJSON(expenses: Expenses): string {
1351
694
  return JSON.stringify(Expenses$outboundSchema.parse(expenses));
1352
695
  }
1353
696
 
1354
- export function expensesFromJSON(
1355
- jsonString: string,
1356
- ): SafeParseResult<Expenses, SDKValidationError> {
1357
- return safeParse(
1358
- jsonString,
1359
- (x) => Expenses$inboundSchema.parse(JSON.parse(x)),
1360
- `Failed to parse 'Expenses' from JSON`,
1361
- );
1362
- }
1363
-
1364
- /** @internal */
1365
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema:
1366
- z.ZodType<
1367
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships,
1368
- z.ZodTypeDef,
1369
- unknown
1370
- > = z.object({
1371
- addresses: z.lazy(() =>
1372
- ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema
1373
- ).optional(),
1374
- income: z.lazy(() => Income$inboundSchema).optional(),
1375
- liabilities: z.lazy(() =>
1376
- ConsumerSecuredLoanConsumerApplicationRelationshipsLiabilities$inboundSchema
1377
- ).optional(),
1378
- assets: z.lazy(() =>
1379
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssets$inboundSchema
1380
- ).optional(),
1381
- expenses: z.lazy(() => Expenses$inboundSchema).optional(),
1382
- });
1383
-
1384
697
  /** @internal */
1385
698
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$Outbound =
1386
699
  {
@@ -1417,22 +730,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$ou
1417
730
  expenses: z.lazy(() => Expenses$outboundSchema).optional(),
1418
731
  });
1419
732
 
1420
- /**
1421
- * @internal
1422
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1423
- */
1424
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$ {
1425
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema` instead. */
1426
- export const inboundSchema =
1427
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema;
1428
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema` instead. */
1429
- export const outboundSchema =
1430
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema;
1431
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$Outbound` instead. */
1432
- export type Outbound =
1433
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$Outbound;
1434
- }
1435
-
1436
733
  export function consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsToJSON(
1437
734
  consumerSecuredLoanConsumerApplicationRelationshipsRelationships:
1438
735
  ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships,
@@ -1443,38 +740,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsRelationships
1443
740
  );
1444
741
  }
1445
742
 
1446
- export function consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsFromJSON(
1447
- jsonString: string,
1448
- ): SafeParseResult<
1449
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships,
1450
- SDKValidationError
1451
- > {
1452
- return safeParse(
1453
- jsonString,
1454
- (x) =>
1455
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema
1456
- .parse(JSON.parse(x)),
1457
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships' from JSON`,
1458
- );
1459
- }
1460
-
1461
- /** @internal */
1462
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema:
1463
- z.ZodType<
1464
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData,
1465
- z.ZodTypeDef,
1466
- unknown
1467
- > = z.object({
1468
- type:
1469
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema,
1470
- attributes: CustomerAttributesCreateItem$inboundSchema,
1471
- relationships: z.lazy(() =>
1472
- ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema
1473
- ).optional(),
1474
- links: z.record(LinkObject$inboundSchema).optional(),
1475
- meta: z.record(z.any()).optional(),
1476
- });
1477
-
1478
743
  /** @internal */
1479
744
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$Outbound =
1480
745
  {
@@ -1504,22 +769,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ou
1504
769
  meta: z.record(z.any()).optional(),
1505
770
  });
1506
771
 
1507
- /**
1508
- * @internal
1509
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1510
- */
1511
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ {
1512
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema` instead. */
1513
- export const inboundSchema =
1514
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema;
1515
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema` instead. */
1516
- export const outboundSchema =
1517
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema;
1518
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$Outbound` instead. */
1519
- export type Outbound =
1520
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$Outbound;
1521
- }
1522
-
1523
772
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataToJSON(
1524
773
  consumerSecuredLoanConsumerApplicationRelationshipsCustomersData:
1525
774
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData,
@@ -1530,35 +779,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersData
1530
779
  );
1531
780
  }
1532
781
 
1533
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataFromJSON(
1534
- jsonString: string,
1535
- ): SafeParseResult<
1536
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData,
1537
- SDKValidationError
1538
- > {
1539
- return safeParse(
1540
- jsonString,
1541
- (x) =>
1542
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema
1543
- .parse(JSON.parse(x)),
1544
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData' from JSON`,
1545
- );
1546
- }
1547
-
1548
- /** @internal */
1549
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema:
1550
- z.ZodType<
1551
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers,
1552
- z.ZodTypeDef,
1553
- unknown
1554
- > = z.object({
1555
- data: z.array(
1556
- z.lazy(() =>
1557
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema
1558
- ),
1559
- ),
1560
- });
1561
-
1562
782
  /** @internal */
1563
783
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$Outbound =
1564
784
  {
@@ -1581,22 +801,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outbou
1581
801
  ),
1582
802
  });
1583
803
 
1584
- /**
1585
- * @internal
1586
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1587
- */
1588
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$ {
1589
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema` instead. */
1590
- export const inboundSchema =
1591
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema;
1592
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema` instead. */
1593
- export const outboundSchema =
1594
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema;
1595
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$Outbound` instead. */
1596
- export type Outbound =
1597
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$Outbound;
1598
- }
1599
-
1600
804
  export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersToJSON(
1601
805
  consumerSecuredLoanConsumerApplicationRelationshipsCustomers:
1602
806
  ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers,
@@ -1607,63 +811,14 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersToJS
1607
811
  );
1608
812
  }
1609
813
 
1610
- export function consumerSecuredLoanConsumerApplicationRelationshipsCustomersFromJSON(
1611
- jsonString: string,
1612
- ): SafeParseResult<
1613
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers,
1614
- SDKValidationError
1615
- > {
1616
- return safeParse(
1617
- jsonString,
1618
- (x) =>
1619
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema
1620
- .parse(JSON.parse(x)),
1621
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers' from JSON`,
1622
- );
1623
- }
1624
-
1625
814
  /** @internal */
1626
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema:
815
+ export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema:
1627
816
  z.ZodNativeEnum<
1628
817
  typeof ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType
1629
818
  > = z.nativeEnum(
1630
819
  ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType,
1631
820
  );
1632
821
 
1633
- /** @internal */
1634
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema:
1635
- z.ZodNativeEnum<
1636
- typeof ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType
1637
- > =
1638
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema;
1639
-
1640
- /**
1641
- * @internal
1642
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1643
- */
1644
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$ {
1645
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema` instead. */
1646
- export const inboundSchema =
1647
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema;
1648
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema` instead. */
1649
- export const outboundSchema =
1650
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema;
1651
- }
1652
-
1653
- /** @internal */
1654
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema:
1655
- z.ZodType<
1656
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData,
1657
- z.ZodTypeDef,
1658
- unknown
1659
- > = z.object({
1660
- type:
1661
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema,
1662
- attributes: ConsumerSecuredLoanAssetAttributes$inboundSchema,
1663
- links: z.record(LinkObject$inboundSchema).optional(),
1664
- meta: z.record(z.any()).optional(),
1665
- });
1666
-
1667
822
  /** @internal */
1668
823
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$Outbound =
1669
824
  {
@@ -1687,22 +842,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outbou
1687
842
  meta: z.record(z.any()).optional(),
1688
843
  });
1689
844
 
1690
- /**
1691
- * @internal
1692
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1693
- */
1694
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$ {
1695
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema` instead. */
1696
- export const inboundSchema =
1697
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema;
1698
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema` instead. */
1699
- export const outboundSchema =
1700
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema;
1701
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$Outbound` instead. */
1702
- export type Outbound =
1703
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$Outbound;
1704
- }
1705
-
1706
845
  export function consumerSecuredLoanConsumerApplicationRelationshipsAssetDataToJSON(
1707
846
  consumerSecuredLoanConsumerApplicationRelationshipsAssetData:
1708
847
  ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData,
@@ -1713,33 +852,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsAssetDataToJS
1713
852
  );
1714
853
  }
1715
854
 
1716
- export function consumerSecuredLoanConsumerApplicationRelationshipsAssetDataFromJSON(
1717
- jsonString: string,
1718
- ): SafeParseResult<
1719
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData,
1720
- SDKValidationError
1721
- > {
1722
- return safeParse(
1723
- jsonString,
1724
- (x) =>
1725
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema
1726
- .parse(JSON.parse(x)),
1727
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData' from JSON`,
1728
- );
1729
- }
1730
-
1731
- /** @internal */
1732
- export const ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema:
1733
- z.ZodType<
1734
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset,
1735
- z.ZodTypeDef,
1736
- unknown
1737
- > = z.object({
1738
- data: z.lazy(() =>
1739
- ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema
1740
- ),
1741
- });
1742
-
1743
855
  /** @internal */
1744
856
  export type ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$Outbound =
1745
857
  {
@@ -1758,22 +870,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSc
1758
870
  ),
1759
871
  });
1760
872
 
1761
- /**
1762
- * @internal
1763
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1764
- */
1765
- export namespace ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$ {
1766
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema` instead. */
1767
- export const inboundSchema =
1768
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema;
1769
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema` instead. */
1770
- export const outboundSchema =
1771
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema;
1772
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$Outbound` instead. */
1773
- export type Outbound =
1774
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$Outbound;
1775
- }
1776
-
1777
873
  export function consumerSecuredLoanConsumerApplicationRelationshipsAssetToJSON(
1778
874
  consumerSecuredLoanConsumerApplicationRelationshipsAsset:
1779
875
  ConsumerSecuredLoanConsumerApplicationRelationshipsAsset,
@@ -1784,39 +880,6 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsAssetToJSON(
1784
880
  );
1785
881
  }
1786
882
 
1787
- export function consumerSecuredLoanConsumerApplicationRelationshipsAssetFromJSON(
1788
- jsonString: string,
1789
- ): SafeParseResult<
1790
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset,
1791
- SDKValidationError
1792
- > {
1793
- return safeParse(
1794
- jsonString,
1795
- (x) =>
1796
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema
1797
- .parse(JSON.parse(x)),
1798
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAsset' from JSON`,
1799
- );
1800
- }
1801
-
1802
- /** @internal */
1803
- export const ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema:
1804
- z.ZodType<
1805
- ConsumerSecuredLoanConsumerApplicationRelationships,
1806
- z.ZodTypeDef,
1807
- unknown
1808
- > = z.object({
1809
- loanDetails: z.lazy(() =>
1810
- ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema
1811
- ).optional(),
1812
- customers: z.lazy(() =>
1813
- ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema
1814
- ).optional(),
1815
- asset: z.lazy(() =>
1816
- ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema
1817
- ).optional(),
1818
- });
1819
-
1820
883
  /** @internal */
1821
884
  export type ConsumerSecuredLoanConsumerApplicationRelationships$Outbound = {
1822
885
  loanDetails?:
@@ -1848,22 +911,6 @@ export const ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema:
1848
911
  ).optional(),
1849
912
  });
1850
913
 
1851
- /**
1852
- * @internal
1853
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1854
- */
1855
- export namespace ConsumerSecuredLoanConsumerApplicationRelationships$ {
1856
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema` instead. */
1857
- export const inboundSchema =
1858
- ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema;
1859
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema` instead. */
1860
- export const outboundSchema =
1861
- ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema;
1862
- /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationships$Outbound` instead. */
1863
- export type Outbound =
1864
- ConsumerSecuredLoanConsumerApplicationRelationships$Outbound;
1865
- }
1866
-
1867
914
  export function consumerSecuredLoanConsumerApplicationRelationshipsToJSON(
1868
915
  consumerSecuredLoanConsumerApplicationRelationships:
1869
916
  ConsumerSecuredLoanConsumerApplicationRelationships,
@@ -1874,19 +921,3 @@ export function consumerSecuredLoanConsumerApplicationRelationshipsToJSON(
1874
921
  ),
1875
922
  );
1876
923
  }
1877
-
1878
- export function consumerSecuredLoanConsumerApplicationRelationshipsFromJSON(
1879
- jsonString: string,
1880
- ): SafeParseResult<
1881
- ConsumerSecuredLoanConsumerApplicationRelationships,
1882
- SDKValidationError
1883
- > {
1884
- return safeParse(
1885
- jsonString,
1886
- (x) =>
1887
- ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema.parse(
1888
- JSON.parse(x),
1889
- ),
1890
- `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationships' from JSON`,
1891
- );
1892
- }