@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,49 +3,39 @@
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
  CustomerAssetAttributes,
18
- CustomerAssetAttributes$inboundSchema,
19
14
  CustomerAssetAttributes$Outbound,
20
15
  CustomerAssetAttributes$outboundSchema,
21
16
  } from "./customerassetattributes.js";
22
17
  import {
23
18
  CustomerAttributesCreateItem,
24
- CustomerAttributesCreateItem$inboundSchema,
25
19
  CustomerAttributesCreateItem$Outbound,
26
20
  CustomerAttributesCreateItem$outboundSchema,
27
21
  } from "./customerattributescreateitem.js";
28
22
  import {
29
23
  CustomerLiabilityAttributes,
30
- CustomerLiabilityAttributes$inboundSchema,
31
24
  CustomerLiabilityAttributes$Outbound,
32
25
  CustomerLiabilityAttributes$outboundSchema,
33
26
  } from "./customerliabilityattributes.js";
34
27
  import {
35
28
  EntityAttributesInput,
36
- EntityAttributesInput$inboundSchema,
37
29
  EntityAttributesInput$Outbound,
38
30
  EntityAttributesInput$outboundSchema,
39
31
  } from "./entityattributesinput.js";
40
32
  import {
41
33
  LinkObject,
42
- LinkObject$inboundSchema,
43
34
  LinkObject$Outbound,
44
35
  LinkObject$outboundSchema,
45
36
  } from "./linkobject.js";
46
37
  import {
47
38
  LoanDetailsAttributes,
48
- LoanDetailsAttributes$inboundSchema,
49
39
  LoanDetailsAttributes$Outbound,
50
40
  LoanDetailsAttributes$outboundSchema,
51
41
  } from "./loandetailsattributes.js";
@@ -195,41 +185,10 @@ export type BusinessLoanBusinessApplicationRelationships = {
195
185
  };
196
186
 
197
187
  /** @internal */
198
- export const BusinessLoanBusinessApplicationRelationshipsType$inboundSchema:
188
+ export const BusinessLoanBusinessApplicationRelationshipsType$outboundSchema:
199
189
  z.ZodNativeEnum<typeof BusinessLoanBusinessApplicationRelationshipsType> = z
200
190
  .nativeEnum(BusinessLoanBusinessApplicationRelationshipsType);
201
191
 
202
- /** @internal */
203
- export const BusinessLoanBusinessApplicationRelationshipsType$outboundSchema:
204
- z.ZodNativeEnum<typeof BusinessLoanBusinessApplicationRelationshipsType> =
205
- BusinessLoanBusinessApplicationRelationshipsType$inboundSchema;
206
-
207
- /**
208
- * @internal
209
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
210
- */
211
- export namespace BusinessLoanBusinessApplicationRelationshipsType$ {
212
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsType$inboundSchema` instead. */
213
- export const inboundSchema =
214
- BusinessLoanBusinessApplicationRelationshipsType$inboundSchema;
215
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsType$outboundSchema` instead. */
216
- export const outboundSchema =
217
- BusinessLoanBusinessApplicationRelationshipsType$outboundSchema;
218
- }
219
-
220
- /** @internal */
221
- export const BusinessLoanBusinessApplicationRelationshipsData$inboundSchema:
222
- z.ZodType<
223
- BusinessLoanBusinessApplicationRelationshipsData,
224
- z.ZodTypeDef,
225
- unknown
226
- > = z.object({
227
- type: BusinessLoanBusinessApplicationRelationshipsType$inboundSchema,
228
- attributes: LoanDetailsAttributes$inboundSchema,
229
- links: z.record(LinkObject$inboundSchema).optional(),
230
- meta: z.record(z.any()).optional(),
231
- });
232
-
233
192
  /** @internal */
234
193
  export type BusinessLoanBusinessApplicationRelationshipsData$Outbound = {
235
194
  type: string;
@@ -251,22 +210,6 @@ export const BusinessLoanBusinessApplicationRelationshipsData$outboundSchema:
251
210
  meta: z.record(z.any()).optional(),
252
211
  });
253
212
 
254
- /**
255
- * @internal
256
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
257
- */
258
- export namespace BusinessLoanBusinessApplicationRelationshipsData$ {
259
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsData$inboundSchema` instead. */
260
- export const inboundSchema =
261
- BusinessLoanBusinessApplicationRelationshipsData$inboundSchema;
262
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsData$outboundSchema` instead. */
263
- export const outboundSchema =
264
- BusinessLoanBusinessApplicationRelationshipsData$outboundSchema;
265
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsData$Outbound` instead. */
266
- export type Outbound =
267
- BusinessLoanBusinessApplicationRelationshipsData$Outbound;
268
- }
269
-
270
213
  export function businessLoanBusinessApplicationRelationshipsDataToJSON(
271
214
  businessLoanBusinessApplicationRelationshipsData:
272
215
  BusinessLoanBusinessApplicationRelationshipsData,
@@ -278,34 +221,6 @@ export function businessLoanBusinessApplicationRelationshipsDataToJSON(
278
221
  );
279
222
  }
280
223
 
281
- export function businessLoanBusinessApplicationRelationshipsDataFromJSON(
282
- jsonString: string,
283
- ): SafeParseResult<
284
- BusinessLoanBusinessApplicationRelationshipsData,
285
- SDKValidationError
286
- > {
287
- return safeParse(
288
- jsonString,
289
- (x) =>
290
- BusinessLoanBusinessApplicationRelationshipsData$inboundSchema.parse(
291
- JSON.parse(x),
292
- ),
293
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsData' from JSON`,
294
- );
295
- }
296
-
297
- /** @internal */
298
- export const BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema:
299
- z.ZodType<
300
- BusinessLoanBusinessApplicationRelationshipsLoanDetails,
301
- z.ZodTypeDef,
302
- unknown
303
- > = z.object({
304
- data: z.lazy(() =>
305
- BusinessLoanBusinessApplicationRelationshipsData$inboundSchema
306
- ),
307
- });
308
-
309
224
  /** @internal */
310
225
  export type BusinessLoanBusinessApplicationRelationshipsLoanDetails$Outbound = {
311
226
  data: BusinessLoanBusinessApplicationRelationshipsData$Outbound;
@@ -323,22 +238,6 @@ export const BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSch
323
238
  ),
324
239
  });
325
240
 
326
- /**
327
- * @internal
328
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
329
- */
330
- export namespace BusinessLoanBusinessApplicationRelationshipsLoanDetails$ {
331
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema` instead. */
332
- export const inboundSchema =
333
- BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema;
334
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema` instead. */
335
- export const outboundSchema =
336
- BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema;
337
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLoanDetails$Outbound` instead. */
338
- export type Outbound =
339
- BusinessLoanBusinessApplicationRelationshipsLoanDetails$Outbound;
340
- }
341
-
342
241
  export function businessLoanBusinessApplicationRelationshipsLoanDetailsToJSON(
343
242
  businessLoanBusinessApplicationRelationshipsLoanDetails:
344
243
  BusinessLoanBusinessApplicationRelationshipsLoanDetails,
@@ -349,88 +248,20 @@ export function businessLoanBusinessApplicationRelationshipsLoanDetailsToJSON(
349
248
  );
350
249
  }
351
250
 
352
- export function businessLoanBusinessApplicationRelationshipsLoanDetailsFromJSON(
353
- jsonString: string,
354
- ): SafeParseResult<
355
- BusinessLoanBusinessApplicationRelationshipsLoanDetails,
356
- SDKValidationError
357
- > {
358
- return safeParse(
359
- jsonString,
360
- (x) =>
361
- BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema
362
- .parse(JSON.parse(x)),
363
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsLoanDetails' from JSON`,
364
- );
365
- }
366
-
367
- /** @internal */
368
- export const BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema:
369
- z.ZodNativeEnum<
370
- typeof BusinessLoanBusinessApplicationRelationshipsCustomersType
371
- > = z.nativeEnum(BusinessLoanBusinessApplicationRelationshipsCustomersType);
372
-
373
251
  /** @internal */
374
252
  export const BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema:
375
253
  z.ZodNativeEnum<
376
254
  typeof BusinessLoanBusinessApplicationRelationshipsCustomersType
377
- > = BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema;
378
-
379
- /**
380
- * @internal
381
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
382
- */
383
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersType$ {
384
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema` instead. */
385
- export const inboundSchema =
386
- BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema;
387
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema` instead. */
388
- export const outboundSchema =
389
- BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema;
390
- }
255
+ > = z.nativeEnum(BusinessLoanBusinessApplicationRelationshipsCustomersType);
391
256
 
392
257
  /** @internal */
393
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema:
258
+ export const BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema:
394
259
  z.ZodNativeEnum<
395
260
  typeof BusinessLoanBusinessApplicationRelationshipsCustomersDataType
396
261
  > = z.nativeEnum(
397
262
  BusinessLoanBusinessApplicationRelationshipsCustomersDataType,
398
263
  );
399
264
 
400
- /** @internal */
401
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema:
402
- z.ZodNativeEnum<
403
- typeof BusinessLoanBusinessApplicationRelationshipsCustomersDataType
404
- > =
405
- BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema;
406
-
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 BusinessLoanBusinessApplicationRelationshipsCustomersDataType$ {
412
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
413
- export const inboundSchema =
414
- BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema;
415
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
416
- export const outboundSchema =
417
- BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema;
418
- }
419
-
420
- /** @internal */
421
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema:
422
- z.ZodType<
423
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData,
424
- z.ZodTypeDef,
425
- unknown
426
- > = z.object({
427
- type:
428
- BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema,
429
- attributes: AddressAttributes$inboundSchema,
430
- links: z.record(LinkObject$inboundSchema).optional(),
431
- meta: z.record(z.any()).optional(),
432
- });
433
-
434
265
  /** @internal */
435
266
  export type BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$Outbound =
436
267
  {
@@ -454,22 +285,6 @@ export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationsh
454
285
  meta: z.record(z.any()).optional(),
455
286
  });
456
287
 
457
- /**
458
- * @internal
459
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
460
- */
461
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$ {
462
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema` instead. */
463
- export const inboundSchema =
464
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema;
465
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema` instead. */
466
- export const outboundSchema =
467
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema;
468
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$Outbound` instead. */
469
- export type Outbound =
470
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$Outbound;
471
- }
472
-
473
288
  export function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON(
474
289
  businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData:
475
290
  BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData,
@@ -482,35 +297,6 @@ export function businessLoanBusinessApplicationRelationshipsCustomersDataRelatio
482
297
  );
483
298
  }
484
299
 
485
- export function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataFromJSON(
486
- jsonString: string,
487
- ): SafeParseResult<
488
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData,
489
- SDKValidationError
490
- > {
491
- return safeParse(
492
- jsonString,
493
- (x) =>
494
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema
495
- .parse(JSON.parse(x)),
496
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData' from JSON`,
497
- );
498
- }
499
-
500
- /** @internal */
501
- export const BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema:
502
- z.ZodType<
503
- BusinessLoanBusinessApplicationRelationshipsAddresses,
504
- z.ZodTypeDef,
505
- unknown
506
- > = z.object({
507
- data: z.array(
508
- z.lazy(() =>
509
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema
510
- ),
511
- ),
512
- });
513
-
514
300
  /** @internal */
515
301
  export type BusinessLoanBusinessApplicationRelationshipsAddresses$Outbound = {
516
302
  data: Array<
@@ -532,22 +318,6 @@ export const BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchem
532
318
  ),
533
319
  });
534
320
 
535
- /**
536
- * @internal
537
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
538
- */
539
- export namespace BusinessLoanBusinessApplicationRelationshipsAddresses$ {
540
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema` instead. */
541
- export const inboundSchema =
542
- BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema;
543
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema` instead. */
544
- export const outboundSchema =
545
- BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema;
546
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAddresses$Outbound` instead. */
547
- export type Outbound =
548
- BusinessLoanBusinessApplicationRelationshipsAddresses$Outbound;
549
- }
550
-
551
321
  export function businessLoanBusinessApplicationRelationshipsAddressesToJSON(
552
322
  businessLoanBusinessApplicationRelationshipsAddresses:
553
323
  BusinessLoanBusinessApplicationRelationshipsAddresses,
@@ -559,64 +329,14 @@ export function businessLoanBusinessApplicationRelationshipsAddressesToJSON(
559
329
  );
560
330
  }
561
331
 
562
- export function businessLoanBusinessApplicationRelationshipsAddressesFromJSON(
563
- jsonString: string,
564
- ): SafeParseResult<
565
- BusinessLoanBusinessApplicationRelationshipsAddresses,
566
- SDKValidationError
567
- > {
568
- return safeParse(
569
- jsonString,
570
- (x) =>
571
- BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema.parse(
572
- JSON.parse(x),
573
- ),
574
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsAddresses' from JSON`,
575
- );
576
- }
577
-
578
332
  /** @internal */
579
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema:
333
+ export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
580
334
  z.ZodNativeEnum<
581
335
  typeof BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType
582
336
  > = z.nativeEnum(
583
337
  BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType,
584
338
  );
585
339
 
586
- /** @internal */
587
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
588
- z.ZodNativeEnum<
589
- typeof BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType
590
- > =
591
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
592
-
593
- /**
594
- * @internal
595
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
596
- */
597
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$ {
598
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
599
- export const inboundSchema =
600
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
601
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
602
- export const outboundSchema =
603
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
604
- }
605
-
606
- /** @internal */
607
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema:
608
- z.ZodType<
609
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData,
610
- z.ZodTypeDef,
611
- unknown
612
- > = z.object({
613
- type:
614
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema,
615
- attributes: CustomerLiabilityAttributes$inboundSchema,
616
- links: z.record(LinkObject$inboundSchema).optional(),
617
- meta: z.record(z.any()).optional(),
618
- });
619
-
620
340
  /** @internal */
621
341
  export type BusinessLoanBusinessApplicationRelationshipsCustomersDataData$Outbound =
622
342
  {
@@ -640,22 +360,6 @@ export const BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outbo
640
360
  meta: z.record(z.any()).optional(),
641
361
  });
642
362
 
643
- /**
644
- * @internal
645
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
646
- */
647
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersDataData$ {
648
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
649
- export const inboundSchema =
650
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema;
651
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
652
- export const outboundSchema =
653
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema;
654
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataData$Outbound` instead. */
655
- export type Outbound =
656
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData$Outbound;
657
- }
658
-
659
363
  export function businessLoanBusinessApplicationRelationshipsCustomersDataDataToJSON(
660
364
  businessLoanBusinessApplicationRelationshipsCustomersDataData:
661
365
  BusinessLoanBusinessApplicationRelationshipsCustomersDataData,
@@ -666,35 +370,6 @@ export function businessLoanBusinessApplicationRelationshipsCustomersDataDataToJ
666
370
  );
667
371
  }
668
372
 
669
- export function businessLoanBusinessApplicationRelationshipsCustomersDataDataFromJSON(
670
- jsonString: string,
671
- ): SafeParseResult<
672
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData,
673
- SDKValidationError
674
- > {
675
- return safeParse(
676
- jsonString,
677
- (x) =>
678
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema
679
- .parse(JSON.parse(x)),
680
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersDataData' from JSON`,
681
- );
682
- }
683
-
684
- /** @internal */
685
- export const BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema:
686
- z.ZodType<
687
- BusinessLoanBusinessApplicationRelationshipsLiabilities,
688
- z.ZodTypeDef,
689
- unknown
690
- > = z.object({
691
- data: z.array(
692
- z.lazy(() =>
693
- BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema
694
- ),
695
- ),
696
- });
697
-
698
373
  /** @internal */
699
374
  export type BusinessLoanBusinessApplicationRelationshipsLiabilities$Outbound = {
700
375
  data: Array<
@@ -716,22 +391,6 @@ export const BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSch
716
391
  ),
717
392
  });
718
393
 
719
- /**
720
- * @internal
721
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
722
- */
723
- export namespace BusinessLoanBusinessApplicationRelationshipsLiabilities$ {
724
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema` instead. */
725
- export const inboundSchema =
726
- BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema;
727
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema` instead. */
728
- export const outboundSchema =
729
- BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema;
730
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLiabilities$Outbound` instead. */
731
- export type Outbound =
732
- BusinessLoanBusinessApplicationRelationshipsLiabilities$Outbound;
733
- }
734
-
735
394
  export function businessLoanBusinessApplicationRelationshipsLiabilitiesToJSON(
736
395
  businessLoanBusinessApplicationRelationshipsLiabilities:
737
396
  BusinessLoanBusinessApplicationRelationshipsLiabilities,
@@ -742,63 +401,14 @@ export function businessLoanBusinessApplicationRelationshipsLiabilitiesToJSON(
742
401
  );
743
402
  }
744
403
 
745
- export function businessLoanBusinessApplicationRelationshipsLiabilitiesFromJSON(
746
- jsonString: string,
747
- ): SafeParseResult<
748
- BusinessLoanBusinessApplicationRelationshipsLiabilities,
749
- SDKValidationError
750
- > {
751
- return safeParse(
752
- jsonString,
753
- (x) =>
754
- BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema
755
- .parse(JSON.parse(x)),
756
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsLiabilities' from JSON`,
757
- );
758
- }
759
-
760
404
  /** @internal */
761
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema:
405
+ export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
762
406
  z.ZodNativeEnum<
763
407
  typeof BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType
764
408
  > = z.nativeEnum(
765
409
  BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType,
766
410
  );
767
411
 
768
- /** @internal */
769
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
770
- z.ZodNativeEnum<
771
- typeof BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType
772
- > =
773
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
774
-
775
- /**
776
- * @internal
777
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
778
- */
779
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$ {
780
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
781
- export const inboundSchema =
782
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
783
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
784
- export const outboundSchema =
785
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
786
- }
787
-
788
- /** @internal */
789
- export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema:
790
- z.ZodType<
791
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData,
792
- z.ZodTypeDef,
793
- unknown
794
- > = z.object({
795
- type:
796
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema,
797
- attributes: CustomerAssetAttributes$inboundSchema,
798
- links: z.record(LinkObject$inboundSchema).optional(),
799
- meta: z.record(z.any()).optional(),
800
- });
801
-
802
412
  /** @internal */
803
413
  export type BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$Outbound =
804
414
  {
@@ -822,22 +432,6 @@ export const BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationsh
822
432
  meta: z.record(z.any()).optional(),
823
433
  });
824
434
 
825
- /**
826
- * @internal
827
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
828
- */
829
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$ {
830
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema` instead. */
831
- export const inboundSchema =
832
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema;
833
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema` instead. */
834
- export const outboundSchema =
835
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema;
836
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$Outbound` instead. */
837
- export type Outbound =
838
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$Outbound;
839
- }
840
-
841
435
  export function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataToJSON(
842
436
  businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData:
843
437
  BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData,
@@ -850,35 +444,6 @@ export function businessLoanBusinessApplicationRelationshipsCustomersDataRelatio
850
444
  );
851
445
  }
852
446
 
853
- export function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataFromJSON(
854
- jsonString: string,
855
- ): SafeParseResult<
856
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData,
857
- SDKValidationError
858
- > {
859
- return safeParse(
860
- jsonString,
861
- (x) =>
862
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
863
- .parse(JSON.parse(x)),
864
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData' from JSON`,
865
- );
866
- }
867
-
868
- /** @internal */
869
- export const BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema:
870
- z.ZodType<
871
- BusinessLoanBusinessApplicationRelationshipsAssets,
872
- z.ZodTypeDef,
873
- unknown
874
- > = z.object({
875
- data: z.array(
876
- z.lazy(() =>
877
- BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
878
- ),
879
- ),
880
- });
881
-
882
447
  /** @internal */
883
448
  export type BusinessLoanBusinessApplicationRelationshipsAssets$Outbound = {
884
449
  data: Array<
@@ -900,22 +465,6 @@ export const BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema:
900
465
  ),
901
466
  });
902
467
 
903
- /**
904
- * @internal
905
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
906
- */
907
- export namespace BusinessLoanBusinessApplicationRelationshipsAssets$ {
908
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema` instead. */
909
- export const inboundSchema =
910
- BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema;
911
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema` instead. */
912
- export const outboundSchema =
913
- BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema;
914
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAssets$Outbound` instead. */
915
- export type Outbound =
916
- BusinessLoanBusinessApplicationRelationshipsAssets$Outbound;
917
- }
918
-
919
468
  export function businessLoanBusinessApplicationRelationshipsAssetsToJSON(
920
469
  businessLoanBusinessApplicationRelationshipsAssets:
921
470
  BusinessLoanBusinessApplicationRelationshipsAssets,
@@ -927,40 +476,6 @@ export function businessLoanBusinessApplicationRelationshipsAssetsToJSON(
927
476
  );
928
477
  }
929
478
 
930
- export function businessLoanBusinessApplicationRelationshipsAssetsFromJSON(
931
- jsonString: string,
932
- ): SafeParseResult<
933
- BusinessLoanBusinessApplicationRelationshipsAssets,
934
- SDKValidationError
935
- > {
936
- return safeParse(
937
- jsonString,
938
- (x) =>
939
- BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema.parse(
940
- JSON.parse(x),
941
- ),
942
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsAssets' from JSON`,
943
- );
944
- }
945
-
946
- /** @internal */
947
- export const BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema:
948
- z.ZodType<
949
- BusinessLoanBusinessApplicationRelationshipsRelationships,
950
- z.ZodTypeDef,
951
- unknown
952
- > = z.object({
953
- addresses: z.lazy(() =>
954
- BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema
955
- ).optional(),
956
- liabilities: z.lazy(() =>
957
- BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema
958
- ).optional(),
959
- assets: z.lazy(() =>
960
- BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema
961
- ).optional(),
962
- });
963
-
964
479
  /** @internal */
965
480
  export type BusinessLoanBusinessApplicationRelationshipsRelationships$Outbound =
966
481
  {
@@ -993,22 +508,6 @@ export const BusinessLoanBusinessApplicationRelationshipsRelationships$outboundS
993
508
  ).optional(),
994
509
  });
995
510
 
996
- /**
997
- * @internal
998
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
999
- */
1000
- export namespace BusinessLoanBusinessApplicationRelationshipsRelationships$ {
1001
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema` instead. */
1002
- export const inboundSchema =
1003
- BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema;
1004
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema` instead. */
1005
- export const outboundSchema =
1006
- BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema;
1007
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsRelationships$Outbound` instead. */
1008
- export type Outbound =
1009
- BusinessLoanBusinessApplicationRelationshipsRelationships$Outbound;
1010
- }
1011
-
1012
511
  export function businessLoanBusinessApplicationRelationshipsRelationshipsToJSON(
1013
512
  businessLoanBusinessApplicationRelationshipsRelationships:
1014
513
  BusinessLoanBusinessApplicationRelationshipsRelationships,
@@ -1019,38 +518,6 @@ export function businessLoanBusinessApplicationRelationshipsRelationshipsToJSON(
1019
518
  );
1020
519
  }
1021
520
 
1022
- export function businessLoanBusinessApplicationRelationshipsRelationshipsFromJSON(
1023
- jsonString: string,
1024
- ): SafeParseResult<
1025
- BusinessLoanBusinessApplicationRelationshipsRelationships,
1026
- SDKValidationError
1027
- > {
1028
- return safeParse(
1029
- jsonString,
1030
- (x) =>
1031
- BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema
1032
- .parse(JSON.parse(x)),
1033
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsRelationships' from JSON`,
1034
- );
1035
- }
1036
-
1037
- /** @internal */
1038
- export const BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema:
1039
- z.ZodType<
1040
- BusinessLoanBusinessApplicationRelationshipsCustomersData,
1041
- z.ZodTypeDef,
1042
- unknown
1043
- > = z.object({
1044
- type:
1045
- BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema,
1046
- attributes: CustomerAttributesCreateItem$inboundSchema,
1047
- relationships: z.lazy(() =>
1048
- BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema
1049
- ).optional(),
1050
- links: z.record(LinkObject$inboundSchema).optional(),
1051
- meta: z.record(z.any()).optional(),
1052
- });
1053
-
1054
521
  /** @internal */
1055
522
  export type BusinessLoanBusinessApplicationRelationshipsCustomersData$Outbound =
1056
523
  {
@@ -1080,22 +547,6 @@ export const BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundS
1080
547
  meta: z.record(z.any()).optional(),
1081
548
  });
1082
549
 
1083
- /**
1084
- * @internal
1085
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1086
- */
1087
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomersData$ {
1088
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema` instead. */
1089
- export const inboundSchema =
1090
- BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema;
1091
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema` instead. */
1092
- export const outboundSchema =
1093
- BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema;
1094
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersData$Outbound` instead. */
1095
- export type Outbound =
1096
- BusinessLoanBusinessApplicationRelationshipsCustomersData$Outbound;
1097
- }
1098
-
1099
550
  export function businessLoanBusinessApplicationRelationshipsCustomersDataToJSON(
1100
551
  businessLoanBusinessApplicationRelationshipsCustomersData:
1101
552
  BusinessLoanBusinessApplicationRelationshipsCustomersData,
@@ -1106,35 +557,6 @@ export function businessLoanBusinessApplicationRelationshipsCustomersDataToJSON(
1106
557
  );
1107
558
  }
1108
559
 
1109
- export function businessLoanBusinessApplicationRelationshipsCustomersDataFromJSON(
1110
- jsonString: string,
1111
- ): SafeParseResult<
1112
- BusinessLoanBusinessApplicationRelationshipsCustomersData,
1113
- SDKValidationError
1114
- > {
1115
- return safeParse(
1116
- jsonString,
1117
- (x) =>
1118
- BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema
1119
- .parse(JSON.parse(x)),
1120
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersData' from JSON`,
1121
- );
1122
- }
1123
-
1124
- /** @internal */
1125
- export const BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema:
1126
- z.ZodType<
1127
- BusinessLoanBusinessApplicationRelationshipsCustomers,
1128
- z.ZodTypeDef,
1129
- unknown
1130
- > = z.object({
1131
- data: z.array(
1132
- z.lazy(() =>
1133
- BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema
1134
- ),
1135
- ),
1136
- });
1137
-
1138
560
  /** @internal */
1139
561
  export type BusinessLoanBusinessApplicationRelationshipsCustomers$Outbound = {
1140
562
  data: Array<
@@ -1156,22 +578,6 @@ export const BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchem
1156
578
  ),
1157
579
  });
1158
580
 
1159
- /**
1160
- * @internal
1161
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1162
- */
1163
- export namespace BusinessLoanBusinessApplicationRelationshipsCustomers$ {
1164
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema` instead. */
1165
- export const inboundSchema =
1166
- BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema;
1167
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema` instead. */
1168
- export const outboundSchema =
1169
- BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema;
1170
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomers$Outbound` instead. */
1171
- export type Outbound =
1172
- BusinessLoanBusinessApplicationRelationshipsCustomers$Outbound;
1173
- }
1174
-
1175
581
  export function businessLoanBusinessApplicationRelationshipsCustomersToJSON(
1176
582
  businessLoanBusinessApplicationRelationshipsCustomers:
1177
583
  BusinessLoanBusinessApplicationRelationshipsCustomers,
@@ -1183,60 +589,11 @@ export function businessLoanBusinessApplicationRelationshipsCustomersToJSON(
1183
589
  );
1184
590
  }
1185
591
 
1186
- export function businessLoanBusinessApplicationRelationshipsCustomersFromJSON(
1187
- jsonString: string,
1188
- ): SafeParseResult<
1189
- BusinessLoanBusinessApplicationRelationshipsCustomers,
1190
- SDKValidationError
1191
- > {
1192
- return safeParse(
1193
- jsonString,
1194
- (x) =>
1195
- BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema.parse(
1196
- JSON.parse(x),
1197
- ),
1198
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomers' from JSON`,
1199
- );
1200
- }
1201
-
1202
- /** @internal */
1203
- export const BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema:
1204
- z.ZodNativeEnum<
1205
- typeof BusinessLoanBusinessApplicationRelationshipsEntitiesType
1206
- > = z.nativeEnum(BusinessLoanBusinessApplicationRelationshipsEntitiesType);
1207
-
1208
592
  /** @internal */
1209
593
  export const BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema:
1210
594
  z.ZodNativeEnum<
1211
595
  typeof BusinessLoanBusinessApplicationRelationshipsEntitiesType
1212
- > = BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema;
1213
-
1214
- /**
1215
- * @internal
1216
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1217
- */
1218
- export namespace BusinessLoanBusinessApplicationRelationshipsEntitiesType$ {
1219
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema` instead. */
1220
- export const inboundSchema =
1221
- BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema;
1222
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema` instead. */
1223
- export const outboundSchema =
1224
- BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema;
1225
- }
1226
-
1227
- /** @internal */
1228
- export const BusinessLoanBusinessApplicationRelationshipsDataInput$inboundSchema:
1229
- z.ZodType<
1230
- BusinessLoanBusinessApplicationRelationshipsDataInput,
1231
- z.ZodTypeDef,
1232
- unknown
1233
- > = z.object({
1234
- type:
1235
- BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema,
1236
- attributes: EntityAttributesInput$inboundSchema,
1237
- links: z.record(LinkObject$inboundSchema).optional(),
1238
- meta: z.record(z.any()).optional(),
1239
- });
596
+ > = z.nativeEnum(BusinessLoanBusinessApplicationRelationshipsEntitiesType);
1240
597
 
1241
598
  /** @internal */
1242
599
  export type BusinessLoanBusinessApplicationRelationshipsDataInput$Outbound = {
@@ -1260,22 +617,6 @@ export const BusinessLoanBusinessApplicationRelationshipsDataInput$outboundSchem
1260
617
  meta: z.record(z.any()).optional(),
1261
618
  });
1262
619
 
1263
- /**
1264
- * @internal
1265
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1266
- */
1267
- export namespace BusinessLoanBusinessApplicationRelationshipsDataInput$ {
1268
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsDataInput$inboundSchema` instead. */
1269
- export const inboundSchema =
1270
- BusinessLoanBusinessApplicationRelationshipsDataInput$inboundSchema;
1271
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsDataInput$outboundSchema` instead. */
1272
- export const outboundSchema =
1273
- BusinessLoanBusinessApplicationRelationshipsDataInput$outboundSchema;
1274
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsDataInput$Outbound` instead. */
1275
- export type Outbound =
1276
- BusinessLoanBusinessApplicationRelationshipsDataInput$Outbound;
1277
- }
1278
-
1279
620
  export function businessLoanBusinessApplicationRelationshipsDataInputToJSON(
1280
621
  businessLoanBusinessApplicationRelationshipsDataInput:
1281
622
  BusinessLoanBusinessApplicationRelationshipsDataInput,
@@ -1287,36 +628,6 @@ export function businessLoanBusinessApplicationRelationshipsDataInputToJSON(
1287
628
  );
1288
629
  }
1289
630
 
1290
- export function businessLoanBusinessApplicationRelationshipsDataInputFromJSON(
1291
- jsonString: string,
1292
- ): SafeParseResult<
1293
- BusinessLoanBusinessApplicationRelationshipsDataInput,
1294
- SDKValidationError
1295
- > {
1296
- return safeParse(
1297
- jsonString,
1298
- (x) =>
1299
- BusinessLoanBusinessApplicationRelationshipsDataInput$inboundSchema.parse(
1300
- JSON.parse(x),
1301
- ),
1302
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsDataInput' from JSON`,
1303
- );
1304
- }
1305
-
1306
- /** @internal */
1307
- export const BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema:
1308
- z.ZodType<
1309
- BusinessLoanBusinessApplicationRelationshipsEntities,
1310
- z.ZodTypeDef,
1311
- unknown
1312
- > = z.object({
1313
- data: z.array(
1314
- z.lazy(() =>
1315
- BusinessLoanBusinessApplicationRelationshipsDataInput$inboundSchema
1316
- ),
1317
- ),
1318
- });
1319
-
1320
631
  /** @internal */
1321
632
  export type BusinessLoanBusinessApplicationRelationshipsEntities$Outbound = {
1322
633
  data: Array<BusinessLoanBusinessApplicationRelationshipsDataInput$Outbound>;
@@ -1336,22 +647,6 @@ export const BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema
1336
647
  ),
1337
648
  });
1338
649
 
1339
- /**
1340
- * @internal
1341
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1342
- */
1343
- export namespace BusinessLoanBusinessApplicationRelationshipsEntities$ {
1344
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema` instead. */
1345
- export const inboundSchema =
1346
- BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema;
1347
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema` instead. */
1348
- export const outboundSchema =
1349
- BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema;
1350
- /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntities$Outbound` instead. */
1351
- export type Outbound =
1352
- BusinessLoanBusinessApplicationRelationshipsEntities$Outbound;
1353
- }
1354
-
1355
650
  export function businessLoanBusinessApplicationRelationshipsEntitiesToJSON(
1356
651
  businessLoanBusinessApplicationRelationshipsEntities:
1357
652
  BusinessLoanBusinessApplicationRelationshipsEntities,
@@ -1363,40 +658,6 @@ export function businessLoanBusinessApplicationRelationshipsEntitiesToJSON(
1363
658
  );
1364
659
  }
1365
660
 
1366
- export function businessLoanBusinessApplicationRelationshipsEntitiesFromJSON(
1367
- jsonString: string,
1368
- ): SafeParseResult<
1369
- BusinessLoanBusinessApplicationRelationshipsEntities,
1370
- SDKValidationError
1371
- > {
1372
- return safeParse(
1373
- jsonString,
1374
- (x) =>
1375
- BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema.parse(
1376
- JSON.parse(x),
1377
- ),
1378
- `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsEntities' from JSON`,
1379
- );
1380
- }
1381
-
1382
- /** @internal */
1383
- export const BusinessLoanBusinessApplicationRelationships$inboundSchema:
1384
- z.ZodType<
1385
- BusinessLoanBusinessApplicationRelationships,
1386
- z.ZodTypeDef,
1387
- unknown
1388
- > = z.object({
1389
- loanDetails: z.lazy(() =>
1390
- BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema
1391
- ).optional(),
1392
- customers: z.lazy(() =>
1393
- BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema
1394
- ).optional(),
1395
- entities: z.lazy(() =>
1396
- BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema
1397
- ).optional(),
1398
- });
1399
-
1400
661
  /** @internal */
1401
662
  export type BusinessLoanBusinessApplicationRelationships$Outbound = {
1402
663
  loanDetails?:
@@ -1428,21 +689,6 @@ export const BusinessLoanBusinessApplicationRelationships$outboundSchema:
1428
689
  ).optional(),
1429
690
  });
1430
691
 
1431
- /**
1432
- * @internal
1433
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1434
- */
1435
- export namespace BusinessLoanBusinessApplicationRelationships$ {
1436
- /** @deprecated use `BusinessLoanBusinessApplicationRelationships$inboundSchema` instead. */
1437
- export const inboundSchema =
1438
- BusinessLoanBusinessApplicationRelationships$inboundSchema;
1439
- /** @deprecated use `BusinessLoanBusinessApplicationRelationships$outboundSchema` instead. */
1440
- export const outboundSchema =
1441
- BusinessLoanBusinessApplicationRelationships$outboundSchema;
1442
- /** @deprecated use `BusinessLoanBusinessApplicationRelationships$Outbound` instead. */
1443
- export type Outbound = BusinessLoanBusinessApplicationRelationships$Outbound;
1444
- }
1445
-
1446
692
  export function businessLoanBusinessApplicationRelationshipsToJSON(
1447
693
  businessLoanBusinessApplicationRelationships:
1448
694
  BusinessLoanBusinessApplicationRelationships,
@@ -1453,19 +699,3 @@ export function businessLoanBusinessApplicationRelationshipsToJSON(
1453
699
  ),
1454
700
  );
1455
701
  }
1456
-
1457
- export function businessLoanBusinessApplicationRelationshipsFromJSON(
1458
- jsonString: string,
1459
- ): SafeParseResult<
1460
- BusinessLoanBusinessApplicationRelationships,
1461
- SDKValidationError
1462
- > {
1463
- return safeParse(
1464
- jsonString,
1465
- (x) =>
1466
- BusinessLoanBusinessApplicationRelationships$inboundSchema.parse(
1467
- JSON.parse(x),
1468
- ),
1469
- `Failed to parse 'BusinessLoanBusinessApplicationRelationships' from JSON`,
1470
- );
1471
- }