@financeable/aggregation 0.12.0 → 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 +1 -31
  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 +1 -17
  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,55 +3,44 @@
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
  CommercialSecuredLoanAssetAttributes,
18
- CommercialSecuredLoanAssetAttributes$inboundSchema,
19
14
  CommercialSecuredLoanAssetAttributes$Outbound,
20
15
  CommercialSecuredLoanAssetAttributes$outboundSchema,
21
16
  } from "./commercialsecuredloanassetattributes.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
  EntityAttributesInput,
42
- EntityAttributesInput$inboundSchema,
43
34
  EntityAttributesInput$Outbound,
44
35
  EntityAttributesInput$outboundSchema,
45
36
  } from "./entityattributesinput.js";
46
37
  import {
47
38
  LinkObject,
48
- LinkObject$inboundSchema,
49
39
  LinkObject$Outbound,
50
40
  LinkObject$outboundSchema,
51
41
  } from "./linkobject.js";
52
42
  import {
53
43
  LoanDetailsAttributes,
54
- LoanDetailsAttributes$inboundSchema,
55
44
  LoanDetailsAttributes$Outbound,
56
45
  LoanDetailsAttributes$outboundSchema,
57
46
  } from "./loandetailsattributes.js";
@@ -232,40 +221,11 @@ export type CommercialSecuredLoanCommercialApplicationRelationships = {
232
221
  | undefined;
233
222
  };
234
223
 
235
- /** @internal */
236
- export const CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema:
237
- z.ZodNativeEnum<
238
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
239
- > = z.nativeEnum(CommercialSecuredLoanCommercialApplicationRelationshipsType);
240
-
241
224
  /** @internal */
242
225
  export const CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema:
243
226
  z.ZodNativeEnum<
244
227
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
245
- > = CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
246
-
247
- /**
248
- * @internal
249
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
250
- */
251
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsType$ {
252
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema` instead. */
253
- export const inboundSchema =
254
- CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
255
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema` instead. */
256
- export const outboundSchema =
257
- CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema;
258
- }
259
-
260
- /** @internal */
261
- export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
262
- .object({
263
- type:
264
- CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema,
265
- attributes: LoanDetailsAttributes$inboundSchema,
266
- links: z.record(LinkObject$inboundSchema).optional(),
267
- meta: z.record(z.any()).optional(),
268
- });
228
+ > = z.nativeEnum(CommercialSecuredLoanCommercialApplicationRelationshipsType);
269
229
 
270
230
  /** @internal */
271
231
  export type Data$Outbound = {
@@ -285,42 +245,10 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
285
245
  meta: z.record(z.any()).optional(),
286
246
  });
287
247
 
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 Data$ {
293
- /** @deprecated use `Data$inboundSchema` instead. */
294
- export const inboundSchema = Data$inboundSchema;
295
- /** @deprecated use `Data$outboundSchema` instead. */
296
- export const outboundSchema = Data$outboundSchema;
297
- /** @deprecated use `Data$Outbound` instead. */
298
- export type Outbound = Data$Outbound;
299
- }
300
-
301
248
  export function dataToJSON(data: Data): string {
302
249
  return JSON.stringify(Data$outboundSchema.parse(data));
303
250
  }
304
251
 
305
- export function dataFromJSON(
306
- jsonString: string,
307
- ): SafeParseResult<Data, SDKValidationError> {
308
- return safeParse(
309
- jsonString,
310
- (x) => Data$inboundSchema.parse(JSON.parse(x)),
311
- `Failed to parse 'Data' from JSON`,
312
- );
313
- }
314
-
315
- /** @internal */
316
- export const LoanDetails$inboundSchema: z.ZodType<
317
- LoanDetails,
318
- z.ZodTypeDef,
319
- unknown
320
- > = z.object({
321
- data: z.lazy(() => Data$inboundSchema),
322
- });
323
-
324
252
  /** @internal */
325
253
  export type LoanDetails$Outbound = {
326
254
  data: Data$Outbound;
@@ -335,35 +263,12 @@ export const LoanDetails$outboundSchema: z.ZodType<
335
263
  data: z.lazy(() => Data$outboundSchema),
336
264
  });
337
265
 
338
- /**
339
- * @internal
340
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
341
- */
342
- export namespace LoanDetails$ {
343
- /** @deprecated use `LoanDetails$inboundSchema` instead. */
344
- export const inboundSchema = LoanDetails$inboundSchema;
345
- /** @deprecated use `LoanDetails$outboundSchema` instead. */
346
- export const outboundSchema = LoanDetails$outboundSchema;
347
- /** @deprecated use `LoanDetails$Outbound` instead. */
348
- export type Outbound = LoanDetails$Outbound;
349
- }
350
-
351
266
  export function loanDetailsToJSON(loanDetails: LoanDetails): string {
352
267
  return JSON.stringify(LoanDetails$outboundSchema.parse(loanDetails));
353
268
  }
354
269
 
355
- export function loanDetailsFromJSON(
356
- jsonString: string,
357
- ): SafeParseResult<LoanDetails, SDKValidationError> {
358
- return safeParse(
359
- jsonString,
360
- (x) => LoanDetails$inboundSchema.parse(JSON.parse(x)),
361
- `Failed to parse 'LoanDetails' from JSON`,
362
- );
363
- }
364
-
365
270
  /** @internal */
366
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema:
271
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema:
367
272
  z.ZodNativeEnum<
368
273
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType
369
274
  > = z.nativeEnum(
@@ -371,67 +276,13 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersTyp
371
276
  );
372
277
 
373
278
  /** @internal */
374
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema:
375
- z.ZodNativeEnum<
376
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType
377
- > =
378
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
379
-
380
- /**
381
- * @internal
382
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
383
- */
384
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ {
385
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema` instead. */
386
- export const inboundSchema =
387
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
388
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema` instead. */
389
- export const outboundSchema =
390
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema;
391
- }
392
-
393
- /** @internal */
394
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema:
279
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema:
395
280
  z.ZodNativeEnum<
396
281
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
397
282
  > = z.nativeEnum(
398
283
  CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType,
399
284
  );
400
285
 
401
- /** @internal */
402
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema:
403
- z.ZodNativeEnum<
404
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
405
- > =
406
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
407
-
408
- /**
409
- * @internal
410
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
411
- */
412
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ {
413
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
414
- export const inboundSchema =
415
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
416
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
417
- export const outboundSchema =
418
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema;
419
- }
420
-
421
- /** @internal */
422
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema:
423
- z.ZodType<
424
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
425
- z.ZodTypeDef,
426
- unknown
427
- > = z.object({
428
- type:
429
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema,
430
- attributes: AddressAttributes$inboundSchema,
431
- links: z.record(LinkObject$inboundSchema).optional(),
432
- meta: z.record(z.any()).optional(),
433
- });
434
-
435
286
  /** @internal */
436
287
  export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound =
437
288
  {
@@ -455,22 +306,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
455
306
  meta: z.record(z.any()).optional(),
456
307
  });
457
308
 
458
- /**
459
- * @internal
460
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
461
- */
462
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$ {
463
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema` instead. */
464
- export const inboundSchema =
465
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema;
466
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema` instead. */
467
- export const outboundSchema =
468
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema;
469
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound` instead. */
470
- export type Outbound =
471
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound;
472
- }
473
-
474
309
  export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataToJSON(
475
310
  commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData:
476
311
  CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
@@ -483,34 +318,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsCustomers
483
318
  );
484
319
  }
485
320
 
486
- export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataFromJSON(
487
- jsonString: string,
488
- ): SafeParseResult<
489
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
490
- SDKValidationError
491
- > {
492
- return safeParse(
493
- jsonString,
494
- (x) =>
495
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
496
- .parse(JSON.parse(x)),
497
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData' from JSON`,
498
- );
499
- }
500
-
501
- /** @internal */
502
- export const Addresses$inboundSchema: z.ZodType<
503
- Addresses,
504
- z.ZodTypeDef,
505
- unknown
506
- > = z.object({
507
- data: z.array(
508
- z.lazy(() =>
509
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
510
- ),
511
- ),
512
- });
513
-
514
321
  /** @internal */
515
322
  export type Addresses$Outbound = {
516
323
  data: Array<
@@ -531,75 +338,18 @@ export const Addresses$outboundSchema: z.ZodType<
531
338
  ),
532
339
  });
533
340
 
534
- /**
535
- * @internal
536
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
537
- */
538
- export namespace Addresses$ {
539
- /** @deprecated use `Addresses$inboundSchema` instead. */
540
- export const inboundSchema = Addresses$inboundSchema;
541
- /** @deprecated use `Addresses$outboundSchema` instead. */
542
- export const outboundSchema = Addresses$outboundSchema;
543
- /** @deprecated use `Addresses$Outbound` instead. */
544
- export type Outbound = Addresses$Outbound;
545
- }
546
-
547
341
  export function addressesToJSON(addresses: Addresses): string {
548
342
  return JSON.stringify(Addresses$outboundSchema.parse(addresses));
549
343
  }
550
344
 
551
- export function addressesFromJSON(
552
- jsonString: string,
553
- ): SafeParseResult<Addresses, SDKValidationError> {
554
- return safeParse(
555
- jsonString,
556
- (x) => Addresses$inboundSchema.parse(JSON.parse(x)),
557
- `Failed to parse 'Addresses' from JSON`,
558
- );
559
- }
560
-
561
345
  /** @internal */
562
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema:
346
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
563
347
  z.ZodNativeEnum<
564
348
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
565
349
  > = z.nativeEnum(
566
350
  CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType,
567
351
  );
568
352
 
569
- /** @internal */
570
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
571
- z.ZodNativeEnum<
572
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
573
- > =
574
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
575
-
576
- /**
577
- * @internal
578
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
579
- */
580
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ {
581
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
582
- export const inboundSchema =
583
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
584
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
585
- export const outboundSchema =
586
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
587
- }
588
-
589
- /** @internal */
590
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema:
591
- z.ZodType<
592
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
593
- z.ZodTypeDef,
594
- unknown
595
- > = z.object({
596
- type:
597
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema,
598
- attributes: CustomerLiabilityAttributes$inboundSchema,
599
- links: z.record(LinkObject$inboundSchema).optional(),
600
- meta: z.record(z.any()).optional(),
601
- });
602
-
603
353
  /** @internal */
604
354
  export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound =
605
355
  {
@@ -623,22 +373,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
623
373
  meta: z.record(z.any()).optional(),
624
374
  });
625
375
 
626
- /**
627
- * @internal
628
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
629
- */
630
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$ {
631
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema` instead. */
632
- export const inboundSchema =
633
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema;
634
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema` instead. */
635
- export const outboundSchema =
636
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema;
637
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound` instead. */
638
- export type Outbound =
639
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound;
640
- }
641
-
642
376
  export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataToJSON(
643
377
  commercialSecuredLoanCommercialApplicationRelationshipsCustomersData:
644
378
  CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
@@ -651,34 +385,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsCustomers
651
385
  );
652
386
  }
653
387
 
654
- export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataFromJSON(
655
- jsonString: string,
656
- ): SafeParseResult<
657
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
658
- SDKValidationError
659
- > {
660
- return safeParse(
661
- jsonString,
662
- (x) =>
663
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema
664
- .parse(JSON.parse(x)),
665
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData' from JSON`,
666
- );
667
- }
668
-
669
- /** @internal */
670
- export const Liabilities$inboundSchema: z.ZodType<
671
- Liabilities,
672
- z.ZodTypeDef,
673
- unknown
674
- > = z.object({
675
- data: z.array(
676
- z.lazy(() =>
677
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema
678
- ),
679
- ),
680
- });
681
-
682
388
  /** @internal */
683
389
  export type Liabilities$Outbound = {
684
390
  data: Array<
@@ -699,75 +405,18 @@ export const Liabilities$outboundSchema: z.ZodType<
699
405
  ),
700
406
  });
701
407
 
702
- /**
703
- * @internal
704
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
705
- */
706
- export namespace Liabilities$ {
707
- /** @deprecated use `Liabilities$inboundSchema` instead. */
708
- export const inboundSchema = Liabilities$inboundSchema;
709
- /** @deprecated use `Liabilities$outboundSchema` instead. */
710
- export const outboundSchema = Liabilities$outboundSchema;
711
- /** @deprecated use `Liabilities$Outbound` instead. */
712
- export type Outbound = Liabilities$Outbound;
713
- }
714
-
715
408
  export function liabilitiesToJSON(liabilities: Liabilities): string {
716
409
  return JSON.stringify(Liabilities$outboundSchema.parse(liabilities));
717
410
  }
718
411
 
719
- export function liabilitiesFromJSON(
720
- jsonString: string,
721
- ): SafeParseResult<Liabilities, SDKValidationError> {
722
- return safeParse(
723
- jsonString,
724
- (x) => Liabilities$inboundSchema.parse(JSON.parse(x)),
725
- `Failed to parse 'Liabilities' from JSON`,
726
- );
727
- }
728
-
729
412
  /** @internal */
730
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema:
413
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
731
414
  z.ZodNativeEnum<
732
415
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
733
416
  > = z.nativeEnum(
734
417
  CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType,
735
418
  );
736
419
 
737
- /** @internal */
738
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
739
- z.ZodNativeEnum<
740
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
741
- > =
742
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
743
-
744
- /**
745
- * @internal
746
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
747
- */
748
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ {
749
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
750
- export const inboundSchema =
751
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
752
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
753
- export const outboundSchema =
754
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
755
- }
756
-
757
- /** @internal */
758
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema:
759
- z.ZodType<
760
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
761
- z.ZodTypeDef,
762
- unknown
763
- > = z.object({
764
- type:
765
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema,
766
- attributes: CustomerAssetAttributes$inboundSchema,
767
- links: z.record(LinkObject$inboundSchema).optional(),
768
- meta: z.record(z.any()).optional(),
769
- });
770
-
771
420
  /** @internal */
772
421
  export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound =
773
422
  {
@@ -791,22 +440,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
791
440
  meta: z.record(z.any()).optional(),
792
441
  });
793
442
 
794
- /**
795
- * @internal
796
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
797
- */
798
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$ {
799
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
800
- export const inboundSchema =
801
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema;
802
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
803
- export const outboundSchema =
804
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema;
805
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound` instead. */
806
- export type Outbound =
807
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound;
808
- }
809
-
810
443
  export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataToJSON(
811
444
  commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData:
812
445
  CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
@@ -819,31 +452,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsCustomers
819
452
  );
820
453
  }
821
454
 
822
- export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataFromJSON(
823
- jsonString: string,
824
- ): SafeParseResult<
825
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
826
- SDKValidationError
827
- > {
828
- return safeParse(
829
- jsonString,
830
- (x) =>
831
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema
832
- .parse(JSON.parse(x)),
833
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData' from JSON`,
834
- );
835
- }
836
-
837
- /** @internal */
838
- export const Assets$inboundSchema: z.ZodType<Assets, z.ZodTypeDef, unknown> = z
839
- .object({
840
- data: z.array(
841
- z.lazy(() =>
842
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema
843
- ),
844
- ),
845
- });
846
-
847
455
  /** @internal */
848
456
  export type Assets$Outbound = {
849
457
  data: Array<
@@ -864,44 +472,10 @@ export const Assets$outboundSchema: z.ZodType<
864
472
  ),
865
473
  });
866
474
 
867
- /**
868
- * @internal
869
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
870
- */
871
- export namespace Assets$ {
872
- /** @deprecated use `Assets$inboundSchema` instead. */
873
- export const inboundSchema = Assets$inboundSchema;
874
- /** @deprecated use `Assets$outboundSchema` instead. */
875
- export const outboundSchema = Assets$outboundSchema;
876
- /** @deprecated use `Assets$Outbound` instead. */
877
- export type Outbound = Assets$Outbound;
878
- }
879
-
880
475
  export function assetsToJSON(assets: Assets): string {
881
476
  return JSON.stringify(Assets$outboundSchema.parse(assets));
882
477
  }
883
478
 
884
- export function assetsFromJSON(
885
- jsonString: string,
886
- ): SafeParseResult<Assets, SDKValidationError> {
887
- return safeParse(
888
- jsonString,
889
- (x) => Assets$inboundSchema.parse(JSON.parse(x)),
890
- `Failed to parse 'Assets' from JSON`,
891
- );
892
- }
893
-
894
- /** @internal */
895
- export const Relationships$inboundSchema: z.ZodType<
896
- Relationships,
897
- z.ZodTypeDef,
898
- unknown
899
- > = z.object({
900
- addresses: z.lazy(() => Addresses$inboundSchema).optional(),
901
- liabilities: z.lazy(() => Liabilities$inboundSchema).optional(),
902
- assets: z.lazy(() => Assets$inboundSchema).optional(),
903
- });
904
-
905
479
  /** @internal */
906
480
  export type Relationships$Outbound = {
907
481
  addresses?: Addresses$Outbound | undefined;
@@ -920,48 +494,10 @@ export const Relationships$outboundSchema: z.ZodType<
920
494
  assets: z.lazy(() => Assets$outboundSchema).optional(),
921
495
  });
922
496
 
923
- /**
924
- * @internal
925
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
926
- */
927
- export namespace Relationships$ {
928
- /** @deprecated use `Relationships$inboundSchema` instead. */
929
- export const inboundSchema = Relationships$inboundSchema;
930
- /** @deprecated use `Relationships$outboundSchema` instead. */
931
- export const outboundSchema = Relationships$outboundSchema;
932
- /** @deprecated use `Relationships$Outbound` instead. */
933
- export type Outbound = Relationships$Outbound;
934
- }
935
-
936
497
  export function relationshipsToJSON(relationships: Relationships): string {
937
498
  return JSON.stringify(Relationships$outboundSchema.parse(relationships));
938
499
  }
939
500
 
940
- export function relationshipsFromJSON(
941
- jsonString: string,
942
- ): SafeParseResult<Relationships, SDKValidationError> {
943
- return safeParse(
944
- jsonString,
945
- (x) => Relationships$inboundSchema.parse(JSON.parse(x)),
946
- `Failed to parse 'Relationships' from JSON`,
947
- );
948
- }
949
-
950
- /** @internal */
951
- export const CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema:
952
- z.ZodType<
953
- CommercialSecuredLoanCommercialApplicationRelationshipsData,
954
- z.ZodTypeDef,
955
- unknown
956
- > = z.object({
957
- type:
958
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema,
959
- attributes: CustomerAttributesCreateItem$inboundSchema,
960
- relationships: z.lazy(() => Relationships$inboundSchema).optional(),
961
- links: z.record(LinkObject$inboundSchema).optional(),
962
- meta: z.record(z.any()).optional(),
963
- });
964
-
965
501
  /** @internal */
966
502
  export type CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound =
967
503
  {
@@ -987,22 +523,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsData$outboun
987
523
  meta: z.record(z.any()).optional(),
988
524
  });
989
525
 
990
- /**
991
- * @internal
992
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
993
- */
994
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsData$ {
995
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema` instead. */
996
- export const inboundSchema =
997
- CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema;
998
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema` instead. */
999
- export const outboundSchema =
1000
- CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema;
1001
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound` instead. */
1002
- export type Outbound =
1003
- CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound;
1004
- }
1005
-
1006
526
  export function commercialSecuredLoanCommercialApplicationRelationshipsDataToJSON(
1007
527
  commercialSecuredLoanCommercialApplicationRelationshipsData:
1008
528
  CommercialSecuredLoanCommercialApplicationRelationshipsData,
@@ -1013,34 +533,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsDataToJSO
1013
533
  );
1014
534
  }
1015
535
 
1016
- export function commercialSecuredLoanCommercialApplicationRelationshipsDataFromJSON(
1017
- jsonString: string,
1018
- ): SafeParseResult<
1019
- CommercialSecuredLoanCommercialApplicationRelationshipsData,
1020
- SDKValidationError
1021
- > {
1022
- return safeParse(
1023
- jsonString,
1024
- (x) =>
1025
- CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema
1026
- .parse(JSON.parse(x)),
1027
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsData' from JSON`,
1028
- );
1029
- }
1030
-
1031
- /** @internal */
1032
- export const Customers$inboundSchema: z.ZodType<
1033
- Customers,
1034
- z.ZodTypeDef,
1035
- unknown
1036
- > = z.object({
1037
- data: z.array(
1038
- z.lazy(() =>
1039
- CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema
1040
- ),
1041
- ),
1042
- });
1043
-
1044
536
  /** @internal */
1045
537
  export type Customers$Outbound = {
1046
538
  data: Array<
@@ -1061,75 +553,18 @@ export const Customers$outboundSchema: z.ZodType<
1061
553
  ),
1062
554
  });
1063
555
 
1064
- /**
1065
- * @internal
1066
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1067
- */
1068
- export namespace Customers$ {
1069
- /** @deprecated use `Customers$inboundSchema` instead. */
1070
- export const inboundSchema = Customers$inboundSchema;
1071
- /** @deprecated use `Customers$outboundSchema` instead. */
1072
- export const outboundSchema = Customers$outboundSchema;
1073
- /** @deprecated use `Customers$Outbound` instead. */
1074
- export type Outbound = Customers$Outbound;
1075
- }
1076
-
1077
556
  export function customersToJSON(customers: Customers): string {
1078
557
  return JSON.stringify(Customers$outboundSchema.parse(customers));
1079
558
  }
1080
559
 
1081
- export function customersFromJSON(
1082
- jsonString: string,
1083
- ): SafeParseResult<Customers, SDKValidationError> {
1084
- return safeParse(
1085
- jsonString,
1086
- (x) => Customers$inboundSchema.parse(JSON.parse(x)),
1087
- `Failed to parse 'Customers' from JSON`,
1088
- );
1089
- }
1090
-
1091
560
  /** @internal */
1092
- export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema:
561
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema:
1093
562
  z.ZodNativeEnum<
1094
563
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
1095
564
  > = z.nativeEnum(
1096
565
  CommercialSecuredLoanCommercialApplicationRelationshipsAssetType,
1097
566
  );
1098
567
 
1099
- /** @internal */
1100
- export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema:
1101
- z.ZodNativeEnum<
1102
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
1103
- > =
1104
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
1105
-
1106
- /**
1107
- * @internal
1108
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1109
- */
1110
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ {
1111
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema` instead. */
1112
- export const inboundSchema =
1113
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
1114
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema` instead. */
1115
- export const outboundSchema =
1116
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema;
1117
- }
1118
-
1119
- /** @internal */
1120
- export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema:
1121
- z.ZodType<
1122
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData,
1123
- z.ZodTypeDef,
1124
- unknown
1125
- > = z.object({
1126
- type:
1127
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema,
1128
- attributes: CommercialSecuredLoanAssetAttributes$inboundSchema,
1129
- links: z.record(LinkObject$inboundSchema).optional(),
1130
- meta: z.record(z.any()).optional(),
1131
- });
1132
-
1133
568
  /** @internal */
1134
569
  export type CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$Outbound =
1135
570
  {
@@ -1153,22 +588,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$ou
1153
588
  meta: z.record(z.any()).optional(),
1154
589
  });
1155
590
 
1156
- /**
1157
- * @internal
1158
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1159
- */
1160
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$ {
1161
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema` instead. */
1162
- export const inboundSchema =
1163
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema;
1164
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema` instead. */
1165
- export const outboundSchema =
1166
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema;
1167
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$Outbound` instead. */
1168
- export type Outbound =
1169
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$Outbound;
1170
- }
1171
-
1172
591
  export function commercialSecuredLoanCommercialApplicationRelationshipsAssetDataToJSON(
1173
592
  commercialSecuredLoanCommercialApplicationRelationshipsAssetData:
1174
593
  CommercialSecuredLoanCommercialApplicationRelationshipsAssetData,
@@ -1179,29 +598,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsAssetData
1179
598
  );
1180
599
  }
1181
600
 
1182
- export function commercialSecuredLoanCommercialApplicationRelationshipsAssetDataFromJSON(
1183
- jsonString: string,
1184
- ): SafeParseResult<
1185
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData,
1186
- SDKValidationError
1187
- > {
1188
- return safeParse(
1189
- jsonString,
1190
- (x) =>
1191
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema
1192
- .parse(JSON.parse(x)),
1193
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsAssetData' from JSON`,
1194
- );
1195
- }
1196
-
1197
- /** @internal */
1198
- export const Asset$inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown> = z
1199
- .object({
1200
- data: z.lazy(() =>
1201
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema
1202
- ),
1203
- });
1204
-
1205
601
  /** @internal */
1206
602
  export type Asset$Outbound = {
1207
603
  data:
@@ -1219,75 +615,18 @@ export const Asset$outboundSchema: z.ZodType<
1219
615
  ),
1220
616
  });
1221
617
 
1222
- /**
1223
- * @internal
1224
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1225
- */
1226
- export namespace Asset$ {
1227
- /** @deprecated use `Asset$inboundSchema` instead. */
1228
- export const inboundSchema = Asset$inboundSchema;
1229
- /** @deprecated use `Asset$outboundSchema` instead. */
1230
- export const outboundSchema = Asset$outboundSchema;
1231
- /** @deprecated use `Asset$Outbound` instead. */
1232
- export type Outbound = Asset$Outbound;
1233
- }
1234
-
1235
618
  export function assetToJSON(asset: Asset): string {
1236
619
  return JSON.stringify(Asset$outboundSchema.parse(asset));
1237
620
  }
1238
621
 
1239
- export function assetFromJSON(
1240
- jsonString: string,
1241
- ): SafeParseResult<Asset, SDKValidationError> {
1242
- return safeParse(
1243
- jsonString,
1244
- (x) => Asset$inboundSchema.parse(JSON.parse(x)),
1245
- `Failed to parse 'Asset' from JSON`,
1246
- );
1247
- }
1248
-
1249
622
  /** @internal */
1250
- export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema:
623
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema:
1251
624
  z.ZodNativeEnum<
1252
625
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
1253
626
  > = z.nativeEnum(
1254
627
  CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType,
1255
628
  );
1256
629
 
1257
- /** @internal */
1258
- export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema:
1259
- z.ZodNativeEnum<
1260
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
1261
- > =
1262
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
1263
-
1264
- /**
1265
- * @internal
1266
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1267
- */
1268
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ {
1269
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema` instead. */
1270
- export const inboundSchema =
1271
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
1272
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema` instead. */
1273
- export const outboundSchema =
1274
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema;
1275
- }
1276
-
1277
- /** @internal */
1278
- export const CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema:
1279
- z.ZodType<
1280
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput,
1281
- z.ZodTypeDef,
1282
- unknown
1283
- > = z.object({
1284
- type:
1285
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema,
1286
- attributes: EntityAttributesInput$inboundSchema,
1287
- links: z.record(LinkObject$inboundSchema).optional(),
1288
- meta: z.record(z.any()).optional(),
1289
- });
1290
-
1291
630
  /** @internal */
1292
631
  export type CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$Outbound =
1293
632
  {
@@ -1311,22 +650,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$ou
1311
650
  meta: z.record(z.any()).optional(),
1312
651
  });
1313
652
 
1314
- /**
1315
- * @internal
1316
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1317
- */
1318
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$ {
1319
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema` instead. */
1320
- export const inboundSchema =
1321
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema;
1322
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema` instead. */
1323
- export const outboundSchema =
1324
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema;
1325
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$Outbound` instead. */
1326
- export type Outbound =
1327
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$Outbound;
1328
- }
1329
-
1330
653
  export function commercialSecuredLoanCommercialApplicationRelationshipsDataInputToJSON(
1331
654
  commercialSecuredLoanCommercialApplicationRelationshipsDataInput:
1332
655
  CommercialSecuredLoanCommercialApplicationRelationshipsDataInput,
@@ -1337,35 +660,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsDataInput
1337
660
  );
1338
661
  }
1339
662
 
1340
- export function commercialSecuredLoanCommercialApplicationRelationshipsDataInputFromJSON(
1341
- jsonString: string,
1342
- ): SafeParseResult<
1343
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput,
1344
- SDKValidationError
1345
- > {
1346
- return safeParse(
1347
- jsonString,
1348
- (x) =>
1349
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema
1350
- .parse(JSON.parse(x)),
1351
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsDataInput' from JSON`,
1352
- );
1353
- }
1354
-
1355
- /** @internal */
1356
- export const CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema:
1357
- z.ZodType<
1358
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities,
1359
- z.ZodTypeDef,
1360
- unknown
1361
- > = z.object({
1362
- data: z.array(
1363
- z.lazy(() =>
1364
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema
1365
- ),
1366
- ),
1367
- });
1368
-
1369
663
  /** @internal */
1370
664
  export type CommercialSecuredLoanCommercialApplicationRelationshipsEntities$Outbound =
1371
665
  {
@@ -1388,22 +682,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsEntities$out
1388
682
  ),
1389
683
  });
1390
684
 
1391
- /**
1392
- * @internal
1393
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1394
- */
1395
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsEntities$ {
1396
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema` instead. */
1397
- export const inboundSchema =
1398
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema;
1399
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema` instead. */
1400
- export const outboundSchema =
1401
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema;
1402
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntities$Outbound` instead. */
1403
- export type Outbound =
1404
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$Outbound;
1405
- }
1406
-
1407
685
  export function commercialSecuredLoanCommercialApplicationRelationshipsEntitiesToJSON(
1408
686
  commercialSecuredLoanCommercialApplicationRelationshipsEntities:
1409
687
  CommercialSecuredLoanCommercialApplicationRelationshipsEntities,
@@ -1414,36 +692,6 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsEntitiesT
1414
692
  );
1415
693
  }
1416
694
 
1417
- export function commercialSecuredLoanCommercialApplicationRelationshipsEntitiesFromJSON(
1418
- jsonString: string,
1419
- ): SafeParseResult<
1420
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities,
1421
- SDKValidationError
1422
- > {
1423
- return safeParse(
1424
- jsonString,
1425
- (x) =>
1426
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema
1427
- .parse(JSON.parse(x)),
1428
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsEntities' from JSON`,
1429
- );
1430
- }
1431
-
1432
- /** @internal */
1433
- export const CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema:
1434
- z.ZodType<
1435
- CommercialSecuredLoanCommercialApplicationRelationships,
1436
- z.ZodTypeDef,
1437
- unknown
1438
- > = z.object({
1439
- loanDetails: z.lazy(() => LoanDetails$inboundSchema).optional(),
1440
- customers: z.lazy(() => Customers$inboundSchema).optional(),
1441
- asset: z.lazy(() => Asset$inboundSchema).optional(),
1442
- entities: z.lazy(() =>
1443
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema
1444
- ).optional(),
1445
- });
1446
-
1447
695
  /** @internal */
1448
696
  export type CommercialSecuredLoanCommercialApplicationRelationships$Outbound = {
1449
697
  loanDetails?: LoanDetails$Outbound | undefined;
@@ -1469,22 +717,6 @@ export const CommercialSecuredLoanCommercialApplicationRelationships$outboundSch
1469
717
  ).optional(),
1470
718
  });
1471
719
 
1472
- /**
1473
- * @internal
1474
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1475
- */
1476
- export namespace CommercialSecuredLoanCommercialApplicationRelationships$ {
1477
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema` instead. */
1478
- export const inboundSchema =
1479
- CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema;
1480
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema` instead. */
1481
- export const outboundSchema =
1482
- CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema;
1483
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationships$Outbound` instead. */
1484
- export type Outbound =
1485
- CommercialSecuredLoanCommercialApplicationRelationships$Outbound;
1486
- }
1487
-
1488
720
  export function commercialSecuredLoanCommercialApplicationRelationshipsToJSON(
1489
721
  commercialSecuredLoanCommercialApplicationRelationships:
1490
722
  CommercialSecuredLoanCommercialApplicationRelationships,
@@ -1494,18 +726,3 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsToJSON(
1494
726
  .parse(commercialSecuredLoanCommercialApplicationRelationships),
1495
727
  );
1496
728
  }
1497
-
1498
- export function commercialSecuredLoanCommercialApplicationRelationshipsFromJSON(
1499
- jsonString: string,
1500
- ): SafeParseResult<
1501
- CommercialSecuredLoanCommercialApplicationRelationships,
1502
- SDKValidationError
1503
- > {
1504
- return safeParse(
1505
- jsonString,
1506
- (x) =>
1507
- CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
1508
- .parse(JSON.parse(x)),
1509
- `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationships' from JSON`,
1510
- );
1511
- }