@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
@@ -1,682 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema = exports.Relationships$ = exports.Relationships$outboundSchema = exports.Relationships$inboundSchema = exports.Assets$ = exports.Assets$outboundSchema = exports.Assets$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema = exports.Liabilities$ = exports.Liabilities$outboundSchema = exports.Liabilities$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema = exports.Addresses$ = exports.Addresses$outboundSchema = exports.Addresses$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema = exports.LoanDetails$ = exports.LoanDetails$outboundSchema = exports.LoanDetails$inboundSchema = exports.Data$ = exports.Data$outboundSchema = exports.Data$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType = void 0;
40
- exports.CommercialSecuredLoanCommercialApplicationRelationships$ = exports.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema = exports.Asset$ = exports.Asset$outboundSchema = exports.Asset$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema = exports.Customers$ = exports.Customers$outboundSchema = exports.Customers$inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$ = exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema = void 0;
41
- exports.dataToJSON = dataToJSON;
42
- exports.dataFromJSON = dataFromJSON;
43
- exports.loanDetailsToJSON = loanDetailsToJSON;
44
- exports.loanDetailsFromJSON = loanDetailsFromJSON;
45
- exports.commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataToJSON = commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataToJSON;
46
- exports.commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataFromJSON;
47
- exports.addressesToJSON = addressesToJSON;
48
- exports.addressesFromJSON = addressesFromJSON;
49
- exports.commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataToJSON = commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataToJSON;
50
- exports.commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataFromJSON;
51
- exports.liabilitiesToJSON = liabilitiesToJSON;
52
- exports.liabilitiesFromJSON = liabilitiesFromJSON;
53
- exports.commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataToJSON = commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataToJSON;
54
- exports.commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataFromJSON;
55
- exports.assetsToJSON = assetsToJSON;
56
- exports.assetsFromJSON = assetsFromJSON;
57
- exports.relationshipsToJSON = relationshipsToJSON;
58
- exports.relationshipsFromJSON = relationshipsFromJSON;
59
- exports.commercialSecuredLoanCommercialApplicationRelationshipsDataToJSON = commercialSecuredLoanCommercialApplicationRelationshipsDataToJSON;
60
- exports.commercialSecuredLoanCommercialApplicationRelationshipsDataFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsDataFromJSON;
61
- exports.customersToJSON = customersToJSON;
62
- exports.customersFromJSON = customersFromJSON;
63
- exports.commercialSecuredLoanCommercialApplicationRelationshipsAssetDataToJSON = commercialSecuredLoanCommercialApplicationRelationshipsAssetDataToJSON;
64
- exports.commercialSecuredLoanCommercialApplicationRelationshipsAssetDataFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsAssetDataFromJSON;
65
- exports.assetToJSON = assetToJSON;
66
- exports.assetFromJSON = assetFromJSON;
67
- exports.commercialSecuredLoanCommercialApplicationRelationshipsDataInputToJSON = commercialSecuredLoanCommercialApplicationRelationshipsDataInputToJSON;
68
- exports.commercialSecuredLoanCommercialApplicationRelationshipsDataInputFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsDataInputFromJSON;
69
- exports.commercialSecuredLoanCommercialApplicationRelationshipsEntitiesToJSON = commercialSecuredLoanCommercialApplicationRelationshipsEntitiesToJSON;
70
- exports.commercialSecuredLoanCommercialApplicationRelationshipsEntitiesFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsEntitiesFromJSON;
71
- exports.commercialSecuredLoanCommercialApplicationRelationshipsToJSON = commercialSecuredLoanCommercialApplicationRelationshipsToJSON;
72
- exports.commercialSecuredLoanCommercialApplicationRelationshipsFromJSON = commercialSecuredLoanCommercialApplicationRelationshipsFromJSON;
73
- const z = __importStar(require("zod/v3"));
74
- const schemas_js_1 = require("../../lib/schemas.js");
75
- const addressattributes_js_1 = require("./addressattributes.js");
76
- const commercialsecuredloanassetattributes_js_1 = require("./commercialsecuredloanassetattributes.js");
77
- const customerassetattributes_js_1 = require("./customerassetattributes.js");
78
- const customerattributescreateitem_js_1 = require("./customerattributescreateitem.js");
79
- const customerliabilityattributes_js_1 = require("./customerliabilityattributes.js");
80
- const entityattributesinput_js_1 = require("./entityattributesinput.js");
81
- const linkobject_js_1 = require("./linkobject.js");
82
- const loandetailsattributes_js_1 = require("./loandetailsattributes.js");
83
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsType = {
84
- LoanDetails: "loan-details",
85
- };
86
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType = {
87
- Customers: "customers",
88
- };
89
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType = {
90
- Addresses: "addresses",
91
- };
92
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType = {
93
- CustomerLiabilities: "customer-liabilities",
94
- };
95
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType = {
96
- CustomerAssets: "customer-assets",
97
- };
98
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType = {
99
- Assets: "assets",
100
- };
101
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType = {
102
- Entities: "entities",
103
- };
104
- /** @internal */
105
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsType);
106
- /** @internal */
107
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
108
- /**
109
- * @internal
110
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
111
- */
112
- var CommercialSecuredLoanCommercialApplicationRelationshipsType$;
113
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsType$) {
114
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema` instead. */
115
- CommercialSecuredLoanCommercialApplicationRelationshipsType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
116
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema` instead. */
117
- CommercialSecuredLoanCommercialApplicationRelationshipsType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema;
118
- })(CommercialSecuredLoanCommercialApplicationRelationshipsType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$ = CommercialSecuredLoanCommercialApplicationRelationshipsType$ = {}));
119
- /** @internal */
120
- exports.Data$inboundSchema = z
121
- .object({
122
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema,
123
- attributes: loandetailsattributes_js_1.LoanDetailsAttributes$inboundSchema,
124
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
125
- meta: z.record(z.any()).optional(),
126
- });
127
- /** @internal */
128
- exports.Data$outboundSchema = z.object({
129
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema,
130
- attributes: loandetailsattributes_js_1.LoanDetailsAttributes$outboundSchema,
131
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
132
- meta: z.record(z.any()).optional(),
133
- });
134
- /**
135
- * @internal
136
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
137
- */
138
- var Data$;
139
- (function (Data$) {
140
- /** @deprecated use `Data$inboundSchema` instead. */
141
- Data$.inboundSchema = exports.Data$inboundSchema;
142
- /** @deprecated use `Data$outboundSchema` instead. */
143
- Data$.outboundSchema = exports.Data$outboundSchema;
144
- })(Data$ || (exports.Data$ = Data$ = {}));
145
- function dataToJSON(data) {
146
- return JSON.stringify(exports.Data$outboundSchema.parse(data));
147
- }
148
- function dataFromJSON(jsonString) {
149
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Data$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Data' from JSON`);
150
- }
151
- /** @internal */
152
- exports.LoanDetails$inboundSchema = z.object({
153
- data: z.lazy(() => exports.Data$inboundSchema),
154
- });
155
- /** @internal */
156
- exports.LoanDetails$outboundSchema = z.object({
157
- data: z.lazy(() => exports.Data$outboundSchema),
158
- });
159
- /**
160
- * @internal
161
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
162
- */
163
- var LoanDetails$;
164
- (function (LoanDetails$) {
165
- /** @deprecated use `LoanDetails$inboundSchema` instead. */
166
- LoanDetails$.inboundSchema = exports.LoanDetails$inboundSchema;
167
- /** @deprecated use `LoanDetails$outboundSchema` instead. */
168
- LoanDetails$.outboundSchema = exports.LoanDetails$outboundSchema;
169
- })(LoanDetails$ || (exports.LoanDetails$ = LoanDetails$ = {}));
170
- function loanDetailsToJSON(loanDetails) {
171
- return JSON.stringify(exports.LoanDetails$outboundSchema.parse(loanDetails));
172
- }
173
- function loanDetailsFromJSON(jsonString) {
174
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.LoanDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoanDetails' from JSON`);
175
- }
176
- /** @internal */
177
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType);
178
- /** @internal */
179
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
180
- /**
181
- * @internal
182
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
183
- */
184
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$;
185
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$) {
186
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema` instead. */
187
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
188
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema` instead. */
189
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema;
190
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ = {}));
191
- /** @internal */
192
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType);
193
- /** @internal */
194
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
195
- /**
196
- * @internal
197
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
198
- */
199
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$;
200
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$) {
201
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
202
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
203
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
204
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema;
205
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ = {}));
206
- /** @internal */
207
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema = z.object({
208
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema,
209
- attributes: addressattributes_js_1.AddressAttributes$inboundSchema,
210
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
211
- meta: z.record(z.any()).optional(),
212
- });
213
- /** @internal */
214
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema = z.object({
215
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema,
216
- attributes: addressattributes_js_1.AddressAttributes$outboundSchema,
217
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
218
- meta: z.record(z.any()).optional(),
219
- });
220
- /**
221
- * @internal
222
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
223
- */
224
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$;
225
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$) {
226
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema` instead. */
227
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema;
228
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema` instead. */
229
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema;
230
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$ = {}));
231
- function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataToJSON(commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData) {
232
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema
233
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData));
234
- }
235
- function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataFromJSON(jsonString) {
236
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
237
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData' from JSON`);
238
- }
239
- /** @internal */
240
- exports.Addresses$inboundSchema = z.object({
241
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema)),
242
- });
243
- /** @internal */
244
- exports.Addresses$outboundSchema = z.object({
245
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema)),
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
- var Addresses$;
252
- (function (Addresses$) {
253
- /** @deprecated use `Addresses$inboundSchema` instead. */
254
- Addresses$.inboundSchema = exports.Addresses$inboundSchema;
255
- /** @deprecated use `Addresses$outboundSchema` instead. */
256
- Addresses$.outboundSchema = exports.Addresses$outboundSchema;
257
- })(Addresses$ || (exports.Addresses$ = Addresses$ = {}));
258
- function addressesToJSON(addresses) {
259
- return JSON.stringify(exports.Addresses$outboundSchema.parse(addresses));
260
- }
261
- function addressesFromJSON(jsonString) {
262
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Addresses$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Addresses' from JSON`);
263
- }
264
- /** @internal */
265
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType);
266
- /** @internal */
267
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
268
- /**
269
- * @internal
270
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
271
- */
272
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$;
273
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$) {
274
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
275
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
276
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
277
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
278
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ = {}));
279
- /** @internal */
280
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema = z.object({
281
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema,
282
- attributes: customerliabilityattributes_js_1.CustomerLiabilityAttributes$inboundSchema,
283
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
284
- meta: z.record(z.any()).optional(),
285
- });
286
- /** @internal */
287
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema = z.object({
288
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema,
289
- attributes: customerliabilityattributes_js_1.CustomerLiabilityAttributes$outboundSchema,
290
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
291
- meta: z.record(z.any()).optional(),
292
- });
293
- /**
294
- * @internal
295
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
296
- */
297
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$;
298
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$) {
299
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema` instead. */
300
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema;
301
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema` instead. */
302
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema;
303
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$ = {}));
304
- function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataToJSON(commercialSecuredLoanCommercialApplicationRelationshipsCustomersData) {
305
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema
306
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsCustomersData));
307
- }
308
- function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataFromJSON(jsonString) {
309
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema
310
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData' from JSON`);
311
- }
312
- /** @internal */
313
- exports.Liabilities$inboundSchema = z.object({
314
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema)),
315
- });
316
- /** @internal */
317
- exports.Liabilities$outboundSchema = z.object({
318
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema)),
319
- });
320
- /**
321
- * @internal
322
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
323
- */
324
- var Liabilities$;
325
- (function (Liabilities$) {
326
- /** @deprecated use `Liabilities$inboundSchema` instead. */
327
- Liabilities$.inboundSchema = exports.Liabilities$inboundSchema;
328
- /** @deprecated use `Liabilities$outboundSchema` instead. */
329
- Liabilities$.outboundSchema = exports.Liabilities$outboundSchema;
330
- })(Liabilities$ || (exports.Liabilities$ = Liabilities$ = {}));
331
- function liabilitiesToJSON(liabilities) {
332
- return JSON.stringify(exports.Liabilities$outboundSchema.parse(liabilities));
333
- }
334
- function liabilitiesFromJSON(jsonString) {
335
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Liabilities$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Liabilities' from JSON`);
336
- }
337
- /** @internal */
338
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType);
339
- /** @internal */
340
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
341
- /**
342
- * @internal
343
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
344
- */
345
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$;
346
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$) {
347
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
348
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
349
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
350
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
351
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ = {}));
352
- /** @internal */
353
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema = z.object({
354
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema,
355
- attributes: customerassetattributes_js_1.CustomerAssetAttributes$inboundSchema,
356
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
357
- meta: z.record(z.any()).optional(),
358
- });
359
- /** @internal */
360
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema = z.object({
361
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema,
362
- attributes: customerassetattributes_js_1.CustomerAssetAttributes$outboundSchema,
363
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
364
- meta: z.record(z.any()).optional(),
365
- });
366
- /**
367
- * @internal
368
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
369
- */
370
- var CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$;
371
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$) {
372
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
373
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema;
374
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
375
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema;
376
- })(CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$ = CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$ = {}));
377
- function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataToJSON(commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData) {
378
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema
379
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData));
380
- }
381
- function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataFromJSON(jsonString) {
382
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema
383
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData' from JSON`);
384
- }
385
- /** @internal */
386
- exports.Assets$inboundSchema = z
387
- .object({
388
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema)),
389
- });
390
- /** @internal */
391
- exports.Assets$outboundSchema = z.object({
392
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema)),
393
- });
394
- /**
395
- * @internal
396
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
397
- */
398
- var Assets$;
399
- (function (Assets$) {
400
- /** @deprecated use `Assets$inboundSchema` instead. */
401
- Assets$.inboundSchema = exports.Assets$inboundSchema;
402
- /** @deprecated use `Assets$outboundSchema` instead. */
403
- Assets$.outboundSchema = exports.Assets$outboundSchema;
404
- })(Assets$ || (exports.Assets$ = Assets$ = {}));
405
- function assetsToJSON(assets) {
406
- return JSON.stringify(exports.Assets$outboundSchema.parse(assets));
407
- }
408
- function assetsFromJSON(jsonString) {
409
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Assets$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Assets' from JSON`);
410
- }
411
- /** @internal */
412
- exports.Relationships$inboundSchema = z.object({
413
- addresses: z.lazy(() => exports.Addresses$inboundSchema).optional(),
414
- liabilities: z.lazy(() => exports.Liabilities$inboundSchema).optional(),
415
- assets: z.lazy(() => exports.Assets$inboundSchema).optional(),
416
- });
417
- /** @internal */
418
- exports.Relationships$outboundSchema = z.object({
419
- addresses: z.lazy(() => exports.Addresses$outboundSchema).optional(),
420
- liabilities: z.lazy(() => exports.Liabilities$outboundSchema).optional(),
421
- assets: z.lazy(() => exports.Assets$outboundSchema).optional(),
422
- });
423
- /**
424
- * @internal
425
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
426
- */
427
- var Relationships$;
428
- (function (Relationships$) {
429
- /** @deprecated use `Relationships$inboundSchema` instead. */
430
- Relationships$.inboundSchema = exports.Relationships$inboundSchema;
431
- /** @deprecated use `Relationships$outboundSchema` instead. */
432
- Relationships$.outboundSchema = exports.Relationships$outboundSchema;
433
- })(Relationships$ || (exports.Relationships$ = Relationships$ = {}));
434
- function relationshipsToJSON(relationships) {
435
- return JSON.stringify(exports.Relationships$outboundSchema.parse(relationships));
436
- }
437
- function relationshipsFromJSON(jsonString) {
438
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Relationships$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Relationships' from JSON`);
439
- }
440
- /** @internal */
441
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema = z.object({
442
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema,
443
- attributes: customerattributescreateitem_js_1.CustomerAttributesCreateItem$inboundSchema,
444
- relationships: z.lazy(() => exports.Relationships$inboundSchema).optional(),
445
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
446
- meta: z.record(z.any()).optional(),
447
- });
448
- /** @internal */
449
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema = z.object({
450
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema,
451
- attributes: customerattributescreateitem_js_1.CustomerAttributesCreateItem$outboundSchema,
452
- relationships: z.lazy(() => exports.Relationships$outboundSchema).optional(),
453
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
454
- meta: z.record(z.any()).optional(),
455
- });
456
- /**
457
- * @internal
458
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
459
- */
460
- var CommercialSecuredLoanCommercialApplicationRelationshipsData$;
461
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsData$) {
462
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema` instead. */
463
- CommercialSecuredLoanCommercialApplicationRelationshipsData$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema;
464
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema` instead. */
465
- CommercialSecuredLoanCommercialApplicationRelationshipsData$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema;
466
- })(CommercialSecuredLoanCommercialApplicationRelationshipsData$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$ = CommercialSecuredLoanCommercialApplicationRelationshipsData$ = {}));
467
- function commercialSecuredLoanCommercialApplicationRelationshipsDataToJSON(commercialSecuredLoanCommercialApplicationRelationshipsData) {
468
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema
469
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsData));
470
- }
471
- function commercialSecuredLoanCommercialApplicationRelationshipsDataFromJSON(jsonString) {
472
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema
473
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsData' from JSON`);
474
- }
475
- /** @internal */
476
- exports.Customers$inboundSchema = z.object({
477
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema)),
478
- });
479
- /** @internal */
480
- exports.Customers$outboundSchema = z.object({
481
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema)),
482
- });
483
- /**
484
- * @internal
485
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
486
- */
487
- var Customers$;
488
- (function (Customers$) {
489
- /** @deprecated use `Customers$inboundSchema` instead. */
490
- Customers$.inboundSchema = exports.Customers$inboundSchema;
491
- /** @deprecated use `Customers$outboundSchema` instead. */
492
- Customers$.outboundSchema = exports.Customers$outboundSchema;
493
- })(Customers$ || (exports.Customers$ = Customers$ = {}));
494
- function customersToJSON(customers) {
495
- return JSON.stringify(exports.Customers$outboundSchema.parse(customers));
496
- }
497
- function customersFromJSON(jsonString) {
498
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Customers$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Customers' from JSON`);
499
- }
500
- /** @internal */
501
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType);
502
- /** @internal */
503
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
504
- /**
505
- * @internal
506
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
507
- */
508
- var CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$;
509
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$) {
510
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema` instead. */
511
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
512
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema` instead. */
513
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema;
514
- })(CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ = CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ = {}));
515
- /** @internal */
516
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema = z.object({
517
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema,
518
- attributes: commercialsecuredloanassetattributes_js_1.CommercialSecuredLoanAssetAttributes$inboundSchema,
519
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
520
- meta: z.record(z.any()).optional(),
521
- });
522
- /** @internal */
523
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema = z.object({
524
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema,
525
- attributes: commercialsecuredloanassetattributes_js_1.CommercialSecuredLoanAssetAttributes$outboundSchema,
526
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
527
- meta: z.record(z.any()).optional(),
528
- });
529
- /**
530
- * @internal
531
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
532
- */
533
- var CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$;
534
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$) {
535
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema` instead. */
536
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema;
537
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema` instead. */
538
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema;
539
- })(CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$ = CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$ = {}));
540
- function commercialSecuredLoanCommercialApplicationRelationshipsAssetDataToJSON(commercialSecuredLoanCommercialApplicationRelationshipsAssetData) {
541
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema
542
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsAssetData));
543
- }
544
- function commercialSecuredLoanCommercialApplicationRelationshipsAssetDataFromJSON(jsonString) {
545
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema
546
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsAssetData' from JSON`);
547
- }
548
- /** @internal */
549
- exports.Asset$inboundSchema = z
550
- .object({
551
- data: z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema),
552
- });
553
- /** @internal */
554
- exports.Asset$outboundSchema = z.object({
555
- data: z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema),
556
- });
557
- /**
558
- * @internal
559
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
560
- */
561
- var Asset$;
562
- (function (Asset$) {
563
- /** @deprecated use `Asset$inboundSchema` instead. */
564
- Asset$.inboundSchema = exports.Asset$inboundSchema;
565
- /** @deprecated use `Asset$outboundSchema` instead. */
566
- Asset$.outboundSchema = exports.Asset$outboundSchema;
567
- })(Asset$ || (exports.Asset$ = Asset$ = {}));
568
- function assetToJSON(asset) {
569
- return JSON.stringify(exports.Asset$outboundSchema.parse(asset));
570
- }
571
- function assetFromJSON(jsonString) {
572
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Asset$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Asset' from JSON`);
573
- }
574
- /** @internal */
575
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema = z.nativeEnum(exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType);
576
- /** @internal */
577
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
578
- /**
579
- * @internal
580
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
581
- */
582
- var CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$;
583
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$) {
584
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema` instead. */
585
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
586
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema` instead. */
587
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema;
588
- })(CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ = CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ = {}));
589
- /** @internal */
590
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema = z.object({
591
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema,
592
- attributes: entityattributesinput_js_1.EntityAttributesInput$inboundSchema,
593
- links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
594
- meta: z.record(z.any()).optional(),
595
- });
596
- /** @internal */
597
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema = z.object({
598
- type: exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema,
599
- attributes: entityattributesinput_js_1.EntityAttributesInput$outboundSchema,
600
- links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
601
- meta: z.record(z.any()).optional(),
602
- });
603
- /**
604
- * @internal
605
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
606
- */
607
- var CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$;
608
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$) {
609
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema` instead. */
610
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema;
611
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema` instead. */
612
- CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema;
613
- })(CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$ = CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$ = {}));
614
- function commercialSecuredLoanCommercialApplicationRelationshipsDataInputToJSON(commercialSecuredLoanCommercialApplicationRelationshipsDataInput) {
615
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema
616
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsDataInput));
617
- }
618
- function commercialSecuredLoanCommercialApplicationRelationshipsDataInputFromJSON(jsonString) {
619
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema
620
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsDataInput' from JSON`);
621
- }
622
- /** @internal */
623
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema = z.object({
624
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$inboundSchema)),
625
- });
626
- /** @internal */
627
- exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema = z.object({
628
- data: z.array(z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsDataInput$outboundSchema)),
629
- });
630
- /**
631
- * @internal
632
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
633
- */
634
- var CommercialSecuredLoanCommercialApplicationRelationshipsEntities$;
635
- (function (CommercialSecuredLoanCommercialApplicationRelationshipsEntities$) {
636
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema` instead. */
637
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema;
638
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema` instead. */
639
- CommercialSecuredLoanCommercialApplicationRelationshipsEntities$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema;
640
- })(CommercialSecuredLoanCommercialApplicationRelationshipsEntities$ || (exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$ = CommercialSecuredLoanCommercialApplicationRelationshipsEntities$ = {}));
641
- function commercialSecuredLoanCommercialApplicationRelationshipsEntitiesToJSON(commercialSecuredLoanCommercialApplicationRelationshipsEntities) {
642
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema
643
- .parse(commercialSecuredLoanCommercialApplicationRelationshipsEntities));
644
- }
645
- function commercialSecuredLoanCommercialApplicationRelationshipsEntitiesFromJSON(jsonString) {
646
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema
647
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsEntities' from JSON`);
648
- }
649
- /** @internal */
650
- exports.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema = z.object({
651
- loanDetails: z.lazy(() => exports.LoanDetails$inboundSchema).optional(),
652
- customers: z.lazy(() => exports.Customers$inboundSchema).optional(),
653
- asset: z.lazy(() => exports.Asset$inboundSchema).optional(),
654
- entities: z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$inboundSchema).optional(),
655
- });
656
- /** @internal */
657
- exports.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema = z.object({
658
- loanDetails: z.lazy(() => exports.LoanDetails$outboundSchema).optional(),
659
- customers: z.lazy(() => exports.Customers$outboundSchema).optional(),
660
- asset: z.lazy(() => exports.Asset$outboundSchema).optional(),
661
- entities: z.lazy(() => exports.CommercialSecuredLoanCommercialApplicationRelationshipsEntities$outboundSchema).optional(),
662
- });
663
- /**
664
- * @internal
665
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
666
- */
667
- var CommercialSecuredLoanCommercialApplicationRelationships$;
668
- (function (CommercialSecuredLoanCommercialApplicationRelationships$) {
669
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema` instead. */
670
- CommercialSecuredLoanCommercialApplicationRelationships$.inboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema;
671
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema` instead. */
672
- CommercialSecuredLoanCommercialApplicationRelationships$.outboundSchema = exports.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema;
673
- })(CommercialSecuredLoanCommercialApplicationRelationships$ || (exports.CommercialSecuredLoanCommercialApplicationRelationships$ = CommercialSecuredLoanCommercialApplicationRelationships$ = {}));
674
- function commercialSecuredLoanCommercialApplicationRelationshipsToJSON(commercialSecuredLoanCommercialApplicationRelationships) {
675
- return JSON.stringify(exports.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema
676
- .parse(commercialSecuredLoanCommercialApplicationRelationships));
677
- }
678
- function commercialSecuredLoanCommercialApplicationRelationshipsFromJSON(jsonString) {
679
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
680
- .parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationships' from JSON`);
681
- }
682
- //# sourceMappingURL=commercialsecuredloancommercialapplicationrelationships.js.map