@financeable/aggregation 0.10.1 → 0.11.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 (411) hide show
  1. package/README.md +2 -6
  2. package/RUNTIMES.md +6 -6
  3. package/examples/applicationsCreate.example.ts +1 -1
  4. package/examples/package-lock.json +2 -2
  5. package/funcs/applicationsCreate.js +1 -1
  6. package/funcs/applicationsCreate.js.map +1 -1
  7. package/funcs/oauthTokenGet.js +1 -1
  8. package/funcs/oauthTokenGet.js.map +1 -1
  9. package/funcs/supportingDocumentsCreate.js +1 -1
  10. package/funcs/supportingDocumentsCreate.js.map +1 -1
  11. package/jsr.json +1 -1
  12. package/lib/base64.d.ts +1 -1
  13. package/lib/base64.d.ts.map +1 -1
  14. package/lib/base64.js +1 -1
  15. package/lib/base64.js.map +1 -1
  16. package/lib/config.d.ts +3 -3
  17. package/lib/config.js +3 -3
  18. package/lib/config.js.map +1 -1
  19. package/lib/env.d.ts +1 -1
  20. package/lib/env.d.ts.map +1 -1
  21. package/lib/env.js +19 -2
  22. package/lib/env.js.map +1 -1
  23. package/lib/schemas.d.ts +1 -1
  24. package/lib/schemas.d.ts.map +1 -1
  25. package/lib/schemas.js +2 -2
  26. package/lib/schemas.js.map +1 -1
  27. package/lib/url.js +1 -1
  28. package/lib/url.js.map +1 -1
  29. package/models/components/addressattributes.d.ts +1 -1
  30. package/models/components/addressattributes.d.ts.map +1 -1
  31. package/models/components/addressattributes.js +1 -1
  32. package/models/components/addressattributes.js.map +1 -1
  33. package/models/components/apierrorlinks.d.ts +1 -1
  34. package/models/components/apierrorlinks.d.ts.map +1 -1
  35. package/models/components/apierrorlinks.js +1 -1
  36. package/models/components/apierrorlinks.js.map +1 -1
  37. package/models/components/applicationresource.d.ts +5 -3
  38. package/models/components/applicationresource.d.ts.map +1 -1
  39. package/models/components/applicationresource.js +7 -1
  40. package/models/components/applicationresource.js.map +1 -1
  41. package/models/components/applicationstatus.d.ts +1 -1
  42. package/models/components/applicationstatus.d.ts.map +1 -1
  43. package/models/components/applicationstatus.js +1 -1
  44. package/models/components/applicationstatus.js.map +1 -1
  45. package/models/components/australianstatesandterritories.d.ts +1 -1
  46. package/models/components/australianstatesandterritories.d.ts.map +1 -1
  47. package/models/components/australianstatesandterritories.js +1 -1
  48. package/models/components/australianstatesandterritories.js.map +1 -1
  49. package/models/components/badrequesterror.d.ts +1 -1
  50. package/models/components/badrequesterror.d.ts.map +1 -1
  51. package/models/components/badrequesterror.js +1 -1
  52. package/models/components/badrequesterror.js.map +1 -1
  53. package/models/components/businessapplicationjsonapirelationships.d.ts +296 -0
  54. package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -0
  55. package/models/components/businessapplicationjsonapirelationships.js +309 -0
  56. package/models/components/businessapplicationjsonapirelationships.js.map +1 -0
  57. package/models/components/businessapplicationpayload.d.ts +137 -0
  58. package/models/components/businessapplicationpayload.d.ts.map +1 -0
  59. package/models/components/businessapplicationpayload.js +150 -0
  60. package/models/components/businessapplicationpayload.js.map +1 -0
  61. package/models/components/businessapplicationresource.d.ts +166 -0
  62. package/models/components/businessapplicationresource.d.ts.map +1 -0
  63. package/models/components/businessapplicationresource.js +159 -0
  64. package/models/components/businessapplicationresource.js.map +1 -0
  65. package/models/components/businessloanbusinessapplicationrelationships.d.ts +594 -0
  66. package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -0
  67. package/models/components/businessloanbusinessapplicationrelationships.js +599 -0
  68. package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -0
  69. package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -1
  70. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
  71. package/models/components/commercialapplicationjsonapirelationships.js +1 -1
  72. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
  73. package/models/components/commercialsecuredapplicationpayload.d.ts +1 -1
  74. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
  75. package/models/components/commercialsecuredapplicationpayload.js +1 -1
  76. package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
  77. package/models/components/commercialsecuredapplicationresource.d.ts +1 -1
  78. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
  79. package/models/components/commercialsecuredapplicationresource.js +1 -1
  80. package/models/components/commercialsecuredapplicationresource.js.map +1 -1
  81. package/models/components/commercialsecuredloanassetattributes.d.ts +1 -1
  82. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
  83. package/models/components/commercialsecuredloanassetattributes.js +1 -1
  84. package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
  85. package/models/components/commercialsecuredloanassettype.d.ts +1 -1
  86. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
  87. package/models/components/commercialsecuredloanassettype.js +1 -1
  88. package/models/components/commercialsecuredloanassettype.js.map +1 -1
  89. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +1 -1
  90. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  91. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +1 -1
  92. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
  93. package/models/components/commercialsecuredloantypeofsale.d.ts +1 -1
  94. package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
  95. package/models/components/commercialsecuredloantypeofsale.js +1 -1
  96. package/models/components/commercialsecuredloantypeofsale.js.map +1 -1
  97. package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -1
  98. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
  99. package/models/components/consumerapplicationjsonapirelationships.js +1 -1
  100. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -1
  101. package/models/components/consumersecuredapplicationpayload.d.ts +1 -1
  102. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
  103. package/models/components/consumersecuredapplicationpayload.js +1 -1
  104. package/models/components/consumersecuredapplicationpayload.js.map +1 -1
  105. package/models/components/consumersecuredapplicationresource.d.ts +1 -1
  106. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
  107. package/models/components/consumersecuredapplicationresource.js +1 -1
  108. package/models/components/consumersecuredapplicationresource.js.map +1 -1
  109. package/models/components/consumersecuredloanassetattributes.d.ts +1 -1
  110. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
  111. package/models/components/consumersecuredloanassetattributes.js +1 -1
  112. package/models/components/consumersecuredloanassetattributes.js.map +1 -1
  113. package/models/components/consumersecuredloanassettype.d.ts +1 -1
  114. package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
  115. package/models/components/consumersecuredloanassettype.js +1 -1
  116. package/models/components/consumersecuredloanassettype.js.map +1 -1
  117. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +1 -1
  118. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  119. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +1 -1
  120. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
  121. package/models/components/consumersecuredloantypeofsale.d.ts +1 -1
  122. package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
  123. package/models/components/consumersecuredloantypeofsale.js +1 -1
  124. package/models/components/consumersecuredloantypeofsale.js.map +1 -1
  125. package/models/components/createsupportingdocumentsresponse.d.ts +1 -1
  126. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
  127. package/models/components/createsupportingdocumentsresponse.js +1 -1
  128. package/models/components/createsupportingdocumentsresponse.js.map +1 -1
  129. package/models/components/currencycodeiso4217.d.ts +1 -1
  130. package/models/components/currencycodeiso4217.d.ts.map +1 -1
  131. package/models/components/currencycodeiso4217.js +1 -1
  132. package/models/components/currencycodeiso4217.js.map +1 -1
  133. package/models/components/customerassetattributes.d.ts +1 -1
  134. package/models/components/customerassetattributes.d.ts.map +1 -1
  135. package/models/components/customerassetattributes.js +1 -1
  136. package/models/components/customerassetattributes.js.map +1 -1
  137. package/models/components/customerassettype.d.ts +1 -1
  138. package/models/components/customerassettype.d.ts.map +1 -1
  139. package/models/components/customerassettype.js +1 -1
  140. package/models/components/customerassettype.js.map +1 -1
  141. package/models/components/customerattributes.d.ts +1 -1
  142. package/models/components/customerattributes.d.ts.map +1 -1
  143. package/models/components/customerattributes.js +1 -1
  144. package/models/components/customerattributes.js.map +1 -1
  145. package/models/components/customeridtype.d.ts +1 -1
  146. package/models/components/customeridtype.d.ts.map +1 -1
  147. package/models/components/customeridtype.js +1 -1
  148. package/models/components/customeridtype.js.map +1 -1
  149. package/models/components/customerliabilityattributes.d.ts +1 -1
  150. package/models/components/customerliabilityattributes.d.ts.map +1 -1
  151. package/models/components/customerliabilityattributes.js +1 -1
  152. package/models/components/customerliabilityattributes.js.map +1 -1
  153. package/models/components/customerliabilityrepaymentfrequency.d.ts +1 -1
  154. package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
  155. package/models/components/customerliabilityrepaymentfrequency.js +1 -1
  156. package/models/components/customerliabilityrepaymentfrequency.js.map +1 -1
  157. package/models/components/customerliabilitytype.d.ts +1 -1
  158. package/models/components/customerliabilitytype.d.ts.map +1 -1
  159. package/models/components/customerliabilitytype.js +1 -1
  160. package/models/components/customerliabilitytype.js.map +1 -1
  161. package/models/components/customertitle.d.ts +1 -1
  162. package/models/components/customertitle.d.ts.map +1 -1
  163. package/models/components/customertitle.js +1 -1
  164. package/models/components/customertitle.js.map +1 -1
  165. package/models/components/documenttype.d.ts +1 -1
  166. package/models/components/documenttype.d.ts.map +1 -1
  167. package/models/components/documenttype.js +1 -1
  168. package/models/components/documenttype.js.map +1 -1
  169. package/models/components/entityattributes.d.ts +1 -1
  170. package/models/components/entityattributes.d.ts.map +1 -1
  171. package/models/components/entityattributes.js +1 -1
  172. package/models/components/entityattributes.js.map +1 -1
  173. package/models/components/errorsource.d.ts +1 -1
  174. package/models/components/errorsource.d.ts.map +1 -1
  175. package/models/components/errorsource.js +1 -1
  176. package/models/components/errorsource.js.map +1 -1
  177. package/models/components/expenseattributes.d.ts +1 -1
  178. package/models/components/expenseattributes.d.ts.map +1 -1
  179. package/models/components/expenseattributes.js +1 -1
  180. package/models/components/expenseattributes.js.map +1 -1
  181. package/models/components/expensefrequency.d.ts +1 -1
  182. package/models/components/expensefrequency.d.ts.map +1 -1
  183. package/models/components/expensefrequency.js +1 -1
  184. package/models/components/expensefrequency.js.map +1 -1
  185. package/models/components/expensetype.d.ts +1 -1
  186. package/models/components/expensetype.d.ts.map +1 -1
  187. package/models/components/expensetype.js +1 -1
  188. package/models/components/expensetype.js.map +1 -1
  189. package/models/components/forbiddenerror.d.ts +1 -1
  190. package/models/components/forbiddenerror.d.ts.map +1 -1
  191. package/models/components/forbiddenerror.js +1 -1
  192. package/models/components/forbiddenerror.js.map +1 -1
  193. package/models/components/frequencytype.d.ts +1 -1
  194. package/models/components/frequencytype.d.ts.map +1 -1
  195. package/models/components/frequencytype.js +1 -1
  196. package/models/components/frequencytype.js.map +1 -1
  197. package/models/components/incomeattributes.d.ts +1 -1
  198. package/models/components/incomeattributes.d.ts.map +1 -1
  199. package/models/components/incomeattributes.js +1 -1
  200. package/models/components/incomeattributes.js.map +1 -1
  201. package/models/components/incomefrequency.d.ts +1 -1
  202. package/models/components/incomefrequency.d.ts.map +1 -1
  203. package/models/components/incomefrequency.js +1 -1
  204. package/models/components/incomefrequency.js.map +1 -1
  205. package/models/components/incometype.d.ts +1 -1
  206. package/models/components/incometype.d.ts.map +1 -1
  207. package/models/components/incometype.js +1 -1
  208. package/models/components/incometype.js.map +1 -1
  209. package/models/components/index.d.ts +8 -0
  210. package/models/components/index.d.ts.map +1 -1
  211. package/models/components/index.js +8 -0
  212. package/models/components/index.js.map +1 -1
  213. package/models/components/linkobject.d.ts +1 -1
  214. package/models/components/linkobject.d.ts.map +1 -1
  215. package/models/components/linkobject.js +1 -1
  216. package/models/components/linkobject.js.map +1 -1
  217. package/models/components/livingarrangements.d.ts +1 -1
  218. package/models/components/livingarrangements.d.ts.map +1 -1
  219. package/models/components/livingarrangements.js +1 -1
  220. package/models/components/livingarrangements.js.map +1 -1
  221. package/models/components/loandetailsattributes.d.ts +8 -3
  222. package/models/components/loandetailsattributes.d.ts.map +1 -1
  223. package/models/components/loandetailsattributes.js +3 -1
  224. package/models/components/loandetailsattributes.js.map +1 -1
  225. package/models/components/maritalstatus.d.ts +1 -1
  226. package/models/components/maritalstatus.d.ts.map +1 -1
  227. package/models/components/maritalstatus.js +1 -1
  228. package/models/components/maritalstatus.js.map +1 -1
  229. package/models/components/monetaryquantity.d.ts +1 -1
  230. package/models/components/monetaryquantity.d.ts.map +1 -1
  231. package/models/components/monetaryquantity.js +1 -1
  232. package/models/components/monetaryquantity.js.map +1 -1
  233. package/models/components/percentagequantity.d.ts +1 -1
  234. package/models/components/percentagequantity.d.ts.map +1 -1
  235. package/models/components/percentagequantity.js +1 -1
  236. package/models/components/percentagequantity.js.map +1 -1
  237. package/models/components/personalapplicationjsonapirelationships.d.ts +208 -0
  238. package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -0
  239. package/models/components/personalapplicationjsonapirelationships.js +229 -0
  240. package/models/components/personalapplicationjsonapirelationships.js.map +1 -0
  241. package/models/components/personalapplicationpayload.d.ts +137 -0
  242. package/models/components/personalapplicationpayload.d.ts.map +1 -0
  243. package/models/components/personalapplicationpayload.js +150 -0
  244. package/models/components/personalapplicationpayload.js.map +1 -0
  245. package/models/components/personalapplicationresource.d.ts +166 -0
  246. package/models/components/personalapplicationresource.d.ts.map +1 -0
  247. package/models/components/personalapplicationresource.js +159 -0
  248. package/models/components/personalapplicationresource.js.map +1 -0
  249. package/models/components/personalloanpersonalapplicationrelationships.d.ts +683 -0
  250. package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -0
  251. package/models/components/personalloanpersonalapplicationrelationships.js +682 -0
  252. package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -0
  253. package/models/components/relationshipresourcenotfound.d.ts +1 -1
  254. package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
  255. package/models/components/relationshipresourcenotfound.js +1 -1
  256. package/models/components/relationshipresourcenotfound.js.map +1 -1
  257. package/models/components/repaymentstructure.d.ts +1 -1
  258. package/models/components/repaymentstructure.d.ts.map +1 -1
  259. package/models/components/repaymentstructure.js +1 -1
  260. package/models/components/repaymentstructure.js.map +1 -1
  261. package/models/components/residencystatus.d.ts +1 -1
  262. package/models/components/residencystatus.d.ts.map +1 -1
  263. package/models/components/residencystatus.js +1 -1
  264. package/models/components/residencystatus.js.map +1 -1
  265. package/models/components/resourcenotfound.d.ts +1 -1
  266. package/models/components/resourcenotfound.d.ts.map +1 -1
  267. package/models/components/resourcenotfound.js +1 -1
  268. package/models/components/resourcenotfound.js.map +1 -1
  269. package/models/components/security.d.ts +1 -1
  270. package/models/components/security.d.ts.map +1 -1
  271. package/models/components/security.js +1 -1
  272. package/models/components/security.js.map +1 -1
  273. package/models/components/supportingdocumentattributes.d.ts +1 -1
  274. package/models/components/supportingdocumentattributes.d.ts.map +1 -1
  275. package/models/components/supportingdocumentattributes.js +1 -1
  276. package/models/components/supportingdocumentattributes.js.map +1 -1
  277. package/models/components/supportingdocumentattributesinput.d.ts +1 -1
  278. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
  279. package/models/components/supportingdocumentattributesinput.js +1 -1
  280. package/models/components/supportingdocumentattributesinput.js.map +1 -1
  281. package/models/components/supportingdocumentrelationships.d.ts +1 -1
  282. package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
  283. package/models/components/supportingdocumentrelationships.js +1 -1
  284. package/models/components/supportingdocumentrelationships.js.map +1 -1
  285. package/models/components/supportingdocumentresource.d.ts +1 -1
  286. package/models/components/supportingdocumentresource.d.ts.map +1 -1
  287. package/models/components/supportingdocumentresource.js +1 -1
  288. package/models/components/supportingdocumentresource.js.map +1 -1
  289. package/models/components/tokenrequest.d.ts +1 -1
  290. package/models/components/tokenrequest.d.ts.map +1 -1
  291. package/models/components/tokenrequest.js +1 -1
  292. package/models/components/tokenrequest.js.map +1 -1
  293. package/models/components/tokenresponse.d.ts +1 -1
  294. package/models/components/tokenresponse.d.ts.map +1 -1
  295. package/models/components/tokenresponse.js +1 -1
  296. package/models/components/tokenresponse.js.map +1 -1
  297. package/models/components/uploadmimetype.d.ts +1 -1
  298. package/models/components/uploadmimetype.d.ts.map +1 -1
  299. package/models/components/uploadmimetype.js +1 -1
  300. package/models/components/uploadmimetype.js.map +1 -1
  301. package/models/errors/index.d.ts +1 -0
  302. package/models/errors/index.d.ts.map +1 -1
  303. package/models/errors/index.js +1 -0
  304. package/models/errors/index.js.map +1 -1
  305. package/models/errors/responsevalidationerror.js +1 -1
  306. package/models/errors/responsevalidationerror.js.map +1 -1
  307. package/models/errors/sdkvalidationerror.d.ts +1 -1
  308. package/models/errors/sdkvalidationerror.d.ts.map +1 -1
  309. package/models/errors/sdkvalidationerror.js +1 -1
  310. package/models/errors/sdkvalidationerror.js.map +1 -1
  311. package/models/operations/createapplication.d.ts +5 -5
  312. package/models/operations/createapplication.d.ts.map +1 -1
  313. package/models/operations/createapplication.js +9 -1
  314. package/models/operations/createapplication.js.map +1 -1
  315. package/models/operations/supportingdocumentscreate.d.ts +1 -1
  316. package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
  317. package/models/operations/supportingdocumentscreate.js +1 -1
  318. package/models/operations/supportingdocumentscreate.js.map +1 -1
  319. package/package.json +2 -2
  320. package/src/funcs/applicationsCreate.ts +1 -1
  321. package/src/funcs/oauthTokenGet.ts +1 -1
  322. package/src/funcs/supportingDocumentsCreate.ts +1 -1
  323. package/src/lib/base64.ts +1 -1
  324. package/src/lib/config.ts +3 -3
  325. package/src/lib/env.ts +21 -5
  326. package/src/lib/schemas.ts +1 -1
  327. package/src/lib/url.ts +1 -1
  328. package/src/models/components/addressattributes.ts +1 -1
  329. package/src/models/components/apierrorlinks.ts +1 -1
  330. package/src/models/components/applicationresource.ts +23 -3
  331. package/src/models/components/applicationstatus.ts +1 -1
  332. package/src/models/components/australianstatesandterritories.ts +1 -1
  333. package/src/models/components/badrequesterror.ts +1 -1
  334. package/src/models/components/businessapplicationjsonapirelationships.ts +690 -0
  335. package/src/models/components/businessapplicationpayload.ts +242 -0
  336. package/src/models/components/businessapplicationresource.ts +285 -0
  337. package/src/models/components/businessloanbusinessapplicationrelationships.ts +1472 -0
  338. package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -1
  339. package/src/models/components/commercialsecuredapplicationpayload.ts +1 -1
  340. package/src/models/components/commercialsecuredapplicationresource.ts +1 -1
  341. package/src/models/components/commercialsecuredloanassetattributes.ts +1 -1
  342. package/src/models/components/commercialsecuredloanassettype.ts +1 -1
  343. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1 -1
  344. package/src/models/components/commercialsecuredloantypeofsale.ts +1 -1
  345. package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -1
  346. package/src/models/components/consumersecuredapplicationpayload.ts +1 -1
  347. package/src/models/components/consumersecuredapplicationresource.ts +1 -1
  348. package/src/models/components/consumersecuredloanassetattributes.ts +1 -1
  349. package/src/models/components/consumersecuredloanassettype.ts +1 -1
  350. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1 -1
  351. package/src/models/components/consumersecuredloantypeofsale.ts +1 -1
  352. package/src/models/components/createsupportingdocumentsresponse.ts +1 -1
  353. package/src/models/components/currencycodeiso4217.ts +1 -1
  354. package/src/models/components/customerassetattributes.ts +1 -1
  355. package/src/models/components/customerassettype.ts +1 -1
  356. package/src/models/components/customerattributes.ts +1 -1
  357. package/src/models/components/customeridtype.ts +1 -1
  358. package/src/models/components/customerliabilityattributes.ts +1 -1
  359. package/src/models/components/customerliabilityrepaymentfrequency.ts +1 -1
  360. package/src/models/components/customerliabilitytype.ts +1 -1
  361. package/src/models/components/customertitle.ts +1 -1
  362. package/src/models/components/documenttype.ts +1 -1
  363. package/src/models/components/entityattributes.ts +1 -1
  364. package/src/models/components/errorsource.ts +1 -1
  365. package/src/models/components/expenseattributes.ts +1 -1
  366. package/src/models/components/expensefrequency.ts +1 -1
  367. package/src/models/components/expensetype.ts +1 -1
  368. package/src/models/components/forbiddenerror.ts +1 -1
  369. package/src/models/components/frequencytype.ts +1 -1
  370. package/src/models/components/incomeattributes.ts +1 -1
  371. package/src/models/components/incomefrequency.ts +1 -1
  372. package/src/models/components/incometype.ts +1 -1
  373. package/src/models/components/index.ts +8 -0
  374. package/src/models/components/linkobject.ts +1 -1
  375. package/src/models/components/livingarrangements.ts +1 -1
  376. package/src/models/components/loandetailsattributes.ts +10 -3
  377. package/src/models/components/maritalstatus.ts +1 -1
  378. package/src/models/components/monetaryquantity.ts +1 -1
  379. package/src/models/components/percentagequantity.ts +1 -1
  380. package/src/models/components/personalapplicationjsonapirelationships.ts +486 -0
  381. package/src/models/components/personalapplicationpayload.ts +242 -0
  382. package/src/models/components/personalapplicationresource.ts +285 -0
  383. package/src/models/components/personalloanpersonalapplicationrelationships.ts +1710 -0
  384. package/src/models/components/relationshipresourcenotfound.ts +1 -1
  385. package/src/models/components/repaymentstructure.ts +1 -1
  386. package/src/models/components/residencystatus.ts +1 -1
  387. package/src/models/components/resourcenotfound.ts +1 -1
  388. package/src/models/components/security.ts +1 -1
  389. package/src/models/components/supportingdocumentattributes.ts +1 -1
  390. package/src/models/components/supportingdocumentattributesinput.ts +1 -1
  391. package/src/models/components/supportingdocumentrelationships.ts +1 -1
  392. package/src/models/components/supportingdocumentresource.ts +1 -1
  393. package/src/models/components/tokenrequest.ts +1 -1
  394. package/src/models/components/tokenresponse.ts +1 -1
  395. package/src/models/components/uploadmimetype.ts +1 -1
  396. package/src/models/errors/index.ts +1 -0
  397. package/src/models/errors/responsevalidationerror.ts +1 -1
  398. package/src/models/errors/sdkvalidationerror.ts +1 -1
  399. package/src/models/operations/createapplication.ts +21 -5
  400. package/src/models/operations/supportingdocumentscreate.ts +1 -1
  401. package/src/types/blobs.ts +7 -6
  402. package/src/types/constdatetime.ts +1 -1
  403. package/types/blobs.d.ts +1 -1
  404. package/types/blobs.d.ts.map +1 -1
  405. package/types/blobs.js +1 -1
  406. package/types/blobs.js.map +1 -1
  407. package/types/constdatetime.d.ts +1 -1
  408. package/types/constdatetime.d.ts.map +1 -1
  409. package/types/constdatetime.js +1 -1
  410. package/types/constdatetime.js.map +1 -1
  411. package/docs/sdks/financeable/README.md +0 -5
@@ -0,0 +1,599 @@
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.BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsRelationships$ = exports.BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAssets$ = exports.BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$ = exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAddresses$ = exports.BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$ = exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsData$ = exports.BusinessLoanBusinessApplicationRelationshipsData$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsData$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsType$ = exports.BusinessLoanBusinessApplicationRelationshipsType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsType$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType = exports.BusinessLoanBusinessApplicationRelationshipsType = void 0;
40
+ exports.BusinessLoanBusinessApplicationRelationships$ = exports.BusinessLoanBusinessApplicationRelationships$outboundSchema = exports.BusinessLoanBusinessApplicationRelationships$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntities$ = exports.BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$ = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$ = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomers$ = exports.BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$ = void 0;
41
+ exports.businessLoanBusinessApplicationRelationshipsDataToJSON = businessLoanBusinessApplicationRelationshipsDataToJSON;
42
+ exports.businessLoanBusinessApplicationRelationshipsDataFromJSON = businessLoanBusinessApplicationRelationshipsDataFromJSON;
43
+ exports.businessLoanBusinessApplicationRelationshipsLoanDetailsToJSON = businessLoanBusinessApplicationRelationshipsLoanDetailsToJSON;
44
+ exports.businessLoanBusinessApplicationRelationshipsLoanDetailsFromJSON = businessLoanBusinessApplicationRelationshipsLoanDetailsFromJSON;
45
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON = businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON;
46
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataFromJSON = businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataFromJSON;
47
+ exports.businessLoanBusinessApplicationRelationshipsAddressesToJSON = businessLoanBusinessApplicationRelationshipsAddressesToJSON;
48
+ exports.businessLoanBusinessApplicationRelationshipsAddressesFromJSON = businessLoanBusinessApplicationRelationshipsAddressesFromJSON;
49
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataDataToJSON = businessLoanBusinessApplicationRelationshipsCustomersDataDataToJSON;
50
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataDataFromJSON = businessLoanBusinessApplicationRelationshipsCustomersDataDataFromJSON;
51
+ exports.businessLoanBusinessApplicationRelationshipsLiabilitiesToJSON = businessLoanBusinessApplicationRelationshipsLiabilitiesToJSON;
52
+ exports.businessLoanBusinessApplicationRelationshipsLiabilitiesFromJSON = businessLoanBusinessApplicationRelationshipsLiabilitiesFromJSON;
53
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataToJSON = businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataToJSON;
54
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataFromJSON = businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataFromJSON;
55
+ exports.businessLoanBusinessApplicationRelationshipsAssetsToJSON = businessLoanBusinessApplicationRelationshipsAssetsToJSON;
56
+ exports.businessLoanBusinessApplicationRelationshipsAssetsFromJSON = businessLoanBusinessApplicationRelationshipsAssetsFromJSON;
57
+ exports.businessLoanBusinessApplicationRelationshipsRelationshipsToJSON = businessLoanBusinessApplicationRelationshipsRelationshipsToJSON;
58
+ exports.businessLoanBusinessApplicationRelationshipsRelationshipsFromJSON = businessLoanBusinessApplicationRelationshipsRelationshipsFromJSON;
59
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataToJSON = businessLoanBusinessApplicationRelationshipsCustomersDataToJSON;
60
+ exports.businessLoanBusinessApplicationRelationshipsCustomersDataFromJSON = businessLoanBusinessApplicationRelationshipsCustomersDataFromJSON;
61
+ exports.businessLoanBusinessApplicationRelationshipsCustomersToJSON = businessLoanBusinessApplicationRelationshipsCustomersToJSON;
62
+ exports.businessLoanBusinessApplicationRelationshipsCustomersFromJSON = businessLoanBusinessApplicationRelationshipsCustomersFromJSON;
63
+ exports.businessLoanBusinessApplicationRelationshipsEntitiesDataToJSON = businessLoanBusinessApplicationRelationshipsEntitiesDataToJSON;
64
+ exports.businessLoanBusinessApplicationRelationshipsEntitiesDataFromJSON = businessLoanBusinessApplicationRelationshipsEntitiesDataFromJSON;
65
+ exports.businessLoanBusinessApplicationRelationshipsEntitiesToJSON = businessLoanBusinessApplicationRelationshipsEntitiesToJSON;
66
+ exports.businessLoanBusinessApplicationRelationshipsEntitiesFromJSON = businessLoanBusinessApplicationRelationshipsEntitiesFromJSON;
67
+ exports.businessLoanBusinessApplicationRelationshipsToJSON = businessLoanBusinessApplicationRelationshipsToJSON;
68
+ exports.businessLoanBusinessApplicationRelationshipsFromJSON = businessLoanBusinessApplicationRelationshipsFromJSON;
69
+ const z = __importStar(require("zod/v3"));
70
+ const schemas_js_1 = require("../../lib/schemas.js");
71
+ const addressattributes_js_1 = require("./addressattributes.js");
72
+ const customerassetattributes_js_1 = require("./customerassetattributes.js");
73
+ const customerattributes_js_1 = require("./customerattributes.js");
74
+ const customerliabilityattributes_js_1 = require("./customerliabilityattributes.js");
75
+ const entityattributes_js_1 = require("./entityattributes.js");
76
+ const linkobject_js_1 = require("./linkobject.js");
77
+ const loandetailsattributes_js_1 = require("./loandetailsattributes.js");
78
+ exports.BusinessLoanBusinessApplicationRelationshipsType = {
79
+ LoanDetails: "loan-details",
80
+ };
81
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersType = {
82
+ Customers: "customers",
83
+ };
84
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType = {
85
+ Addresses: "addresses",
86
+ };
87
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType = {
88
+ CustomerLiabilities: "customer-liabilities",
89
+ };
90
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType = {
91
+ CustomerAssets: "customer-assets",
92
+ };
93
+ exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType = {
94
+ Entities: "entities",
95
+ };
96
+ /** @internal */
97
+ exports.BusinessLoanBusinessApplicationRelationshipsType$inboundSchema = z
98
+ .nativeEnum(exports.BusinessLoanBusinessApplicationRelationshipsType);
99
+ /** @internal */
100
+ exports.BusinessLoanBusinessApplicationRelationshipsType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsType$inboundSchema;
101
+ /**
102
+ * @internal
103
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
104
+ */
105
+ var BusinessLoanBusinessApplicationRelationshipsType$;
106
+ (function (BusinessLoanBusinessApplicationRelationshipsType$) {
107
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsType$inboundSchema` instead. */
108
+ BusinessLoanBusinessApplicationRelationshipsType$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsType$inboundSchema;
109
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsType$outboundSchema` instead. */
110
+ BusinessLoanBusinessApplicationRelationshipsType$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsType$outboundSchema;
111
+ })(BusinessLoanBusinessApplicationRelationshipsType$ || (exports.BusinessLoanBusinessApplicationRelationshipsType$ = BusinessLoanBusinessApplicationRelationshipsType$ = {}));
112
+ /** @internal */
113
+ exports.BusinessLoanBusinessApplicationRelationshipsData$inboundSchema = z.object({
114
+ type: exports.BusinessLoanBusinessApplicationRelationshipsType$inboundSchema,
115
+ attributes: loandetailsattributes_js_1.LoanDetailsAttributes$inboundSchema,
116
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
117
+ meta: z.record(z.any()).optional(),
118
+ });
119
+ /** @internal */
120
+ exports.BusinessLoanBusinessApplicationRelationshipsData$outboundSchema = z.object({
121
+ type: exports.BusinessLoanBusinessApplicationRelationshipsType$outboundSchema,
122
+ attributes: loandetailsattributes_js_1.LoanDetailsAttributes$outboundSchema,
123
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
124
+ meta: z.record(z.any()).optional(),
125
+ });
126
+ /**
127
+ * @internal
128
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
129
+ */
130
+ var BusinessLoanBusinessApplicationRelationshipsData$;
131
+ (function (BusinessLoanBusinessApplicationRelationshipsData$) {
132
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsData$inboundSchema` instead. */
133
+ BusinessLoanBusinessApplicationRelationshipsData$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsData$inboundSchema;
134
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsData$outboundSchema` instead. */
135
+ BusinessLoanBusinessApplicationRelationshipsData$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsData$outboundSchema;
136
+ })(BusinessLoanBusinessApplicationRelationshipsData$ || (exports.BusinessLoanBusinessApplicationRelationshipsData$ = BusinessLoanBusinessApplicationRelationshipsData$ = {}));
137
+ function businessLoanBusinessApplicationRelationshipsDataToJSON(businessLoanBusinessApplicationRelationshipsData) {
138
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsData$outboundSchema.parse(businessLoanBusinessApplicationRelationshipsData));
139
+ }
140
+ function businessLoanBusinessApplicationRelationshipsDataFromJSON(jsonString) {
141
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsData' from JSON`);
142
+ }
143
+ /** @internal */
144
+ exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema = z.object({
145
+ data: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsData$inboundSchema),
146
+ });
147
+ /** @internal */
148
+ exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema = z.object({
149
+ data: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsData$outboundSchema),
150
+ });
151
+ /**
152
+ * @internal
153
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
154
+ */
155
+ var BusinessLoanBusinessApplicationRelationshipsLoanDetails$;
156
+ (function (BusinessLoanBusinessApplicationRelationshipsLoanDetails$) {
157
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema` instead. */
158
+ BusinessLoanBusinessApplicationRelationshipsLoanDetails$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema;
159
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema` instead. */
160
+ BusinessLoanBusinessApplicationRelationshipsLoanDetails$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema;
161
+ })(BusinessLoanBusinessApplicationRelationshipsLoanDetails$ || (exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$ = BusinessLoanBusinessApplicationRelationshipsLoanDetails$ = {}));
162
+ function businessLoanBusinessApplicationRelationshipsLoanDetailsToJSON(businessLoanBusinessApplicationRelationshipsLoanDetails) {
163
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema
164
+ .parse(businessLoanBusinessApplicationRelationshipsLoanDetails));
165
+ }
166
+ function businessLoanBusinessApplicationRelationshipsLoanDetailsFromJSON(jsonString) {
167
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema
168
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsLoanDetails' from JSON`);
169
+ }
170
+ /** @internal */
171
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema = z.nativeEnum(exports.BusinessLoanBusinessApplicationRelationshipsCustomersType);
172
+ /** @internal */
173
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema;
174
+ /**
175
+ * @internal
176
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
177
+ */
178
+ var BusinessLoanBusinessApplicationRelationshipsCustomersType$;
179
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersType$) {
180
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema` instead. */
181
+ BusinessLoanBusinessApplicationRelationshipsCustomersType$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema;
182
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema` instead. */
183
+ BusinessLoanBusinessApplicationRelationshipsCustomersType$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema;
184
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersType$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$ = BusinessLoanBusinessApplicationRelationshipsCustomersType$ = {}));
185
+ /** @internal */
186
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema = z.nativeEnum(exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType);
187
+ /** @internal */
188
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema;
189
+ /**
190
+ * @internal
191
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
192
+ */
193
+ var BusinessLoanBusinessApplicationRelationshipsCustomersDataType$;
194
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersDataType$) {
195
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
196
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataType$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema;
197
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
198
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataType$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema;
199
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersDataType$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$ = BusinessLoanBusinessApplicationRelationshipsCustomersDataType$ = {}));
200
+ /** @internal */
201
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema = z.object({
202
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$inboundSchema,
203
+ attributes: addressattributes_js_1.AddressAttributes$inboundSchema,
204
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
205
+ meta: z.record(z.any()).optional(),
206
+ });
207
+ /** @internal */
208
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema = z.object({
209
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataType$outboundSchema,
210
+ attributes: addressattributes_js_1.AddressAttributes$outboundSchema,
211
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
212
+ meta: z.record(z.any()).optional(),
213
+ });
214
+ /**
215
+ * @internal
216
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
217
+ */
218
+ var BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$;
219
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$) {
220
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema` instead. */
221
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema;
222
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema` instead. */
223
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema;
224
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$ = BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$ = {}));
225
+ function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataToJSON(businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData) {
226
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema
227
+ .parse(businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData));
228
+ }
229
+ function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesDataFromJSON(jsonString) {
230
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema
231
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData' from JSON`);
232
+ }
233
+ /** @internal */
234
+ exports.BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema = z.object({
235
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$inboundSchema)),
236
+ });
237
+ /** @internal */
238
+ exports.BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema = z.object({
239
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAddressesData$outboundSchema)),
240
+ });
241
+ /**
242
+ * @internal
243
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
244
+ */
245
+ var BusinessLoanBusinessApplicationRelationshipsAddresses$;
246
+ (function (BusinessLoanBusinessApplicationRelationshipsAddresses$) {
247
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema` instead. */
248
+ BusinessLoanBusinessApplicationRelationshipsAddresses$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema;
249
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema` instead. */
250
+ BusinessLoanBusinessApplicationRelationshipsAddresses$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema;
251
+ })(BusinessLoanBusinessApplicationRelationshipsAddresses$ || (exports.BusinessLoanBusinessApplicationRelationshipsAddresses$ = BusinessLoanBusinessApplicationRelationshipsAddresses$ = {}));
252
+ function businessLoanBusinessApplicationRelationshipsAddressesToJSON(businessLoanBusinessApplicationRelationshipsAddresses) {
253
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema.parse(businessLoanBusinessApplicationRelationshipsAddresses));
254
+ }
255
+ function businessLoanBusinessApplicationRelationshipsAddressesFromJSON(jsonString) {
256
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsAddresses' from JSON`);
257
+ }
258
+ /** @internal */
259
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema = z.nativeEnum(exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType);
260
+ /** @internal */
261
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
262
+ /**
263
+ * @internal
264
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
265
+ */
266
+ var BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$;
267
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$) {
268
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
269
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
270
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
271
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
272
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$ = BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$ = {}));
273
+ /** @internal */
274
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema = z.object({
275
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema,
276
+ attributes: customerliabilityattributes_js_1.CustomerLiabilityAttributes$inboundSchema,
277
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
278
+ meta: z.record(z.any()).optional(),
279
+ });
280
+ /** @internal */
281
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema = z.object({
282
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema,
283
+ attributes: customerliabilityattributes_js_1.CustomerLiabilityAttributes$outboundSchema,
284
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
285
+ meta: z.record(z.any()).optional(),
286
+ });
287
+ /**
288
+ * @internal
289
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
290
+ */
291
+ var BusinessLoanBusinessApplicationRelationshipsCustomersDataData$;
292
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersDataData$) {
293
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
294
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataData$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema;
295
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
296
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataData$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema;
297
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersDataData$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$ = BusinessLoanBusinessApplicationRelationshipsCustomersDataData$ = {}));
298
+ function businessLoanBusinessApplicationRelationshipsCustomersDataDataToJSON(businessLoanBusinessApplicationRelationshipsCustomersDataData) {
299
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema
300
+ .parse(businessLoanBusinessApplicationRelationshipsCustomersDataData));
301
+ }
302
+ function businessLoanBusinessApplicationRelationshipsCustomersDataDataFromJSON(jsonString) {
303
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema
304
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersDataData' from JSON`);
305
+ }
306
+ /** @internal */
307
+ exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema = z.object({
308
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$inboundSchema)),
309
+ });
310
+ /** @internal */
311
+ exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema = z.object({
312
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataData$outboundSchema)),
313
+ });
314
+ /**
315
+ * @internal
316
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
317
+ */
318
+ var BusinessLoanBusinessApplicationRelationshipsLiabilities$;
319
+ (function (BusinessLoanBusinessApplicationRelationshipsLiabilities$) {
320
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema` instead. */
321
+ BusinessLoanBusinessApplicationRelationshipsLiabilities$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema;
322
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema` instead. */
323
+ BusinessLoanBusinessApplicationRelationshipsLiabilities$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema;
324
+ })(BusinessLoanBusinessApplicationRelationshipsLiabilities$ || (exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$ = BusinessLoanBusinessApplicationRelationshipsLiabilities$ = {}));
325
+ function businessLoanBusinessApplicationRelationshipsLiabilitiesToJSON(businessLoanBusinessApplicationRelationshipsLiabilities) {
326
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema
327
+ .parse(businessLoanBusinessApplicationRelationshipsLiabilities));
328
+ }
329
+ function businessLoanBusinessApplicationRelationshipsLiabilitiesFromJSON(jsonString) {
330
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema
331
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsLiabilities' from JSON`);
332
+ }
333
+ /** @internal */
334
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema = z.nativeEnum(exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType);
335
+ /** @internal */
336
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
337
+ /**
338
+ * @internal
339
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
340
+ */
341
+ var BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$;
342
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$) {
343
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
344
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
345
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
346
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
347
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$ = BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$ = {}));
348
+ /** @internal */
349
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema = z.object({
350
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema,
351
+ attributes: customerassetattributes_js_1.CustomerAssetAttributes$inboundSchema,
352
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
353
+ meta: z.record(z.any()).optional(),
354
+ });
355
+ /** @internal */
356
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema = z.object({
357
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema,
358
+ attributes: customerassetattributes_js_1.CustomerAssetAttributes$outboundSchema,
359
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
360
+ meta: z.record(z.any()).optional(),
361
+ });
362
+ /**
363
+ * @internal
364
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
365
+ */
366
+ var BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$;
367
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$) {
368
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema` instead. */
369
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema;
370
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema` instead. */
371
+ BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema;
372
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$ = BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$ = {}));
373
+ function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataToJSON(businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData) {
374
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema
375
+ .parse(businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData));
376
+ }
377
+ function businessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsDataFromJSON(jsonString) {
378
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
379
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData' from JSON`);
380
+ }
381
+ /** @internal */
382
+ exports.BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema = z.object({
383
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema)),
384
+ });
385
+ /** @internal */
386
+ exports.BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema = z.object({
387
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema)),
388
+ });
389
+ /**
390
+ * @internal
391
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
392
+ */
393
+ var BusinessLoanBusinessApplicationRelationshipsAssets$;
394
+ (function (BusinessLoanBusinessApplicationRelationshipsAssets$) {
395
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema` instead. */
396
+ BusinessLoanBusinessApplicationRelationshipsAssets$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema;
397
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema` instead. */
398
+ BusinessLoanBusinessApplicationRelationshipsAssets$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema;
399
+ })(BusinessLoanBusinessApplicationRelationshipsAssets$ || (exports.BusinessLoanBusinessApplicationRelationshipsAssets$ = BusinessLoanBusinessApplicationRelationshipsAssets$ = {}));
400
+ function businessLoanBusinessApplicationRelationshipsAssetsToJSON(businessLoanBusinessApplicationRelationshipsAssets) {
401
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema.parse(businessLoanBusinessApplicationRelationshipsAssets));
402
+ }
403
+ function businessLoanBusinessApplicationRelationshipsAssetsFromJSON(jsonString) {
404
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsAssets' from JSON`);
405
+ }
406
+ /** @internal */
407
+ exports.BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema = z.object({
408
+ addresses: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsAddresses$inboundSchema).optional(),
409
+ liabilities: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$inboundSchema).optional(),
410
+ assets: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsAssets$inboundSchema).optional(),
411
+ });
412
+ /** @internal */
413
+ exports.BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema = z.object({
414
+ addresses: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsAddresses$outboundSchema).optional(),
415
+ liabilities: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsLiabilities$outboundSchema).optional(),
416
+ assets: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsAssets$outboundSchema).optional(),
417
+ });
418
+ /**
419
+ * @internal
420
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
421
+ */
422
+ var BusinessLoanBusinessApplicationRelationshipsRelationships$;
423
+ (function (BusinessLoanBusinessApplicationRelationshipsRelationships$) {
424
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema` instead. */
425
+ BusinessLoanBusinessApplicationRelationshipsRelationships$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema;
426
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema` instead. */
427
+ BusinessLoanBusinessApplicationRelationshipsRelationships$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema;
428
+ })(BusinessLoanBusinessApplicationRelationshipsRelationships$ || (exports.BusinessLoanBusinessApplicationRelationshipsRelationships$ = BusinessLoanBusinessApplicationRelationshipsRelationships$ = {}));
429
+ function businessLoanBusinessApplicationRelationshipsRelationshipsToJSON(businessLoanBusinessApplicationRelationshipsRelationships) {
430
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema
431
+ .parse(businessLoanBusinessApplicationRelationshipsRelationships));
432
+ }
433
+ function businessLoanBusinessApplicationRelationshipsRelationshipsFromJSON(jsonString) {
434
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema
435
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsRelationships' from JSON`);
436
+ }
437
+ /** @internal */
438
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema = z.object({
439
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$inboundSchema,
440
+ attributes: customerattributes_js_1.CustomerAttributes$inboundSchema,
441
+ relationships: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsRelationships$inboundSchema).optional(),
442
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
443
+ meta: z.record(z.any()).optional(),
444
+ });
445
+ /** @internal */
446
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema = z.object({
447
+ type: exports.BusinessLoanBusinessApplicationRelationshipsCustomersType$outboundSchema,
448
+ attributes: customerattributes_js_1.CustomerAttributes$outboundSchema,
449
+ relationships: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsRelationships$outboundSchema).optional(),
450
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
451
+ meta: z.record(z.any()).optional(),
452
+ });
453
+ /**
454
+ * @internal
455
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
456
+ */
457
+ var BusinessLoanBusinessApplicationRelationshipsCustomersData$;
458
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomersData$) {
459
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema` instead. */
460
+ BusinessLoanBusinessApplicationRelationshipsCustomersData$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema;
461
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema` instead. */
462
+ BusinessLoanBusinessApplicationRelationshipsCustomersData$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema;
463
+ })(BusinessLoanBusinessApplicationRelationshipsCustomersData$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$ = BusinessLoanBusinessApplicationRelationshipsCustomersData$ = {}));
464
+ function businessLoanBusinessApplicationRelationshipsCustomersDataToJSON(businessLoanBusinessApplicationRelationshipsCustomersData) {
465
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema
466
+ .parse(businessLoanBusinessApplicationRelationshipsCustomersData));
467
+ }
468
+ function businessLoanBusinessApplicationRelationshipsCustomersDataFromJSON(jsonString) {
469
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema
470
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomersData' from JSON`);
471
+ }
472
+ /** @internal */
473
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema = z.object({
474
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$inboundSchema)),
475
+ });
476
+ /** @internal */
477
+ exports.BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema = z.object({
478
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomersData$outboundSchema)),
479
+ });
480
+ /**
481
+ * @internal
482
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
483
+ */
484
+ var BusinessLoanBusinessApplicationRelationshipsCustomers$;
485
+ (function (BusinessLoanBusinessApplicationRelationshipsCustomers$) {
486
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema` instead. */
487
+ BusinessLoanBusinessApplicationRelationshipsCustomers$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema;
488
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema` instead. */
489
+ BusinessLoanBusinessApplicationRelationshipsCustomers$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema;
490
+ })(BusinessLoanBusinessApplicationRelationshipsCustomers$ || (exports.BusinessLoanBusinessApplicationRelationshipsCustomers$ = BusinessLoanBusinessApplicationRelationshipsCustomers$ = {}));
491
+ function businessLoanBusinessApplicationRelationshipsCustomersToJSON(businessLoanBusinessApplicationRelationshipsCustomers) {
492
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema.parse(businessLoanBusinessApplicationRelationshipsCustomers));
493
+ }
494
+ function businessLoanBusinessApplicationRelationshipsCustomersFromJSON(jsonString) {
495
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsCustomers' from JSON`);
496
+ }
497
+ /** @internal */
498
+ exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema = z.nativeEnum(exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType);
499
+ /** @internal */
500
+ exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema;
501
+ /**
502
+ * @internal
503
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
504
+ */
505
+ var BusinessLoanBusinessApplicationRelationshipsEntitiesType$;
506
+ (function (BusinessLoanBusinessApplicationRelationshipsEntitiesType$) {
507
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema` instead. */
508
+ BusinessLoanBusinessApplicationRelationshipsEntitiesType$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema;
509
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema` instead. */
510
+ BusinessLoanBusinessApplicationRelationshipsEntitiesType$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema;
511
+ })(BusinessLoanBusinessApplicationRelationshipsEntitiesType$ || (exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$ = BusinessLoanBusinessApplicationRelationshipsEntitiesType$ = {}));
512
+ /** @internal */
513
+ exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$inboundSchema = z.object({
514
+ type: exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$inboundSchema,
515
+ attributes: entityattributes_js_1.EntityAttributes$inboundSchema,
516
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
517
+ meta: z.record(z.any()).optional(),
518
+ });
519
+ /** @internal */
520
+ exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$outboundSchema = z.object({
521
+ type: exports.BusinessLoanBusinessApplicationRelationshipsEntitiesType$outboundSchema,
522
+ attributes: entityattributes_js_1.EntityAttributes$outboundSchema,
523
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
524
+ meta: z.record(z.any()).optional(),
525
+ });
526
+ /**
527
+ * @internal
528
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
529
+ */
530
+ var BusinessLoanBusinessApplicationRelationshipsEntitiesData$;
531
+ (function (BusinessLoanBusinessApplicationRelationshipsEntitiesData$) {
532
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntitiesData$inboundSchema` instead. */
533
+ BusinessLoanBusinessApplicationRelationshipsEntitiesData$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$inboundSchema;
534
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntitiesData$outboundSchema` instead. */
535
+ BusinessLoanBusinessApplicationRelationshipsEntitiesData$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$outboundSchema;
536
+ })(BusinessLoanBusinessApplicationRelationshipsEntitiesData$ || (exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$ = BusinessLoanBusinessApplicationRelationshipsEntitiesData$ = {}));
537
+ function businessLoanBusinessApplicationRelationshipsEntitiesDataToJSON(businessLoanBusinessApplicationRelationshipsEntitiesData) {
538
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$outboundSchema
539
+ .parse(businessLoanBusinessApplicationRelationshipsEntitiesData));
540
+ }
541
+ function businessLoanBusinessApplicationRelationshipsEntitiesDataFromJSON(jsonString) {
542
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$inboundSchema
543
+ .parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsEntitiesData' from JSON`);
544
+ }
545
+ /** @internal */
546
+ exports.BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema = z.object({
547
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$inboundSchema)),
548
+ });
549
+ /** @internal */
550
+ exports.BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema = z.object({
551
+ data: z.array(z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsEntitiesData$outboundSchema)),
552
+ });
553
+ /**
554
+ * @internal
555
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
556
+ */
557
+ var BusinessLoanBusinessApplicationRelationshipsEntities$;
558
+ (function (BusinessLoanBusinessApplicationRelationshipsEntities$) {
559
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema` instead. */
560
+ BusinessLoanBusinessApplicationRelationshipsEntities$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema;
561
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema` instead. */
562
+ BusinessLoanBusinessApplicationRelationshipsEntities$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema;
563
+ })(BusinessLoanBusinessApplicationRelationshipsEntities$ || (exports.BusinessLoanBusinessApplicationRelationshipsEntities$ = BusinessLoanBusinessApplicationRelationshipsEntities$ = {}));
564
+ function businessLoanBusinessApplicationRelationshipsEntitiesToJSON(businessLoanBusinessApplicationRelationshipsEntities) {
565
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema.parse(businessLoanBusinessApplicationRelationshipsEntities));
566
+ }
567
+ function businessLoanBusinessApplicationRelationshipsEntitiesFromJSON(jsonString) {
568
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationshipsEntities' from JSON`);
569
+ }
570
+ /** @internal */
571
+ exports.BusinessLoanBusinessApplicationRelationships$inboundSchema = z.object({
572
+ loanDetails: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$inboundSchema).optional(),
573
+ customers: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomers$inboundSchema).optional(),
574
+ entities: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsEntities$inboundSchema).optional(),
575
+ });
576
+ /** @internal */
577
+ exports.BusinessLoanBusinessApplicationRelationships$outboundSchema = z.object({
578
+ loanDetails: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsLoanDetails$outboundSchema).optional(),
579
+ customers: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsCustomers$outboundSchema).optional(),
580
+ entities: z.lazy(() => exports.BusinessLoanBusinessApplicationRelationshipsEntities$outboundSchema).optional(),
581
+ });
582
+ /**
583
+ * @internal
584
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
585
+ */
586
+ var BusinessLoanBusinessApplicationRelationships$;
587
+ (function (BusinessLoanBusinessApplicationRelationships$) {
588
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationships$inboundSchema` instead. */
589
+ BusinessLoanBusinessApplicationRelationships$.inboundSchema = exports.BusinessLoanBusinessApplicationRelationships$inboundSchema;
590
+ /** @deprecated use `BusinessLoanBusinessApplicationRelationships$outboundSchema` instead. */
591
+ BusinessLoanBusinessApplicationRelationships$.outboundSchema = exports.BusinessLoanBusinessApplicationRelationships$outboundSchema;
592
+ })(BusinessLoanBusinessApplicationRelationships$ || (exports.BusinessLoanBusinessApplicationRelationships$ = BusinessLoanBusinessApplicationRelationships$ = {}));
593
+ function businessLoanBusinessApplicationRelationshipsToJSON(businessLoanBusinessApplicationRelationships) {
594
+ return JSON.stringify(exports.BusinessLoanBusinessApplicationRelationships$outboundSchema.parse(businessLoanBusinessApplicationRelationships));
595
+ }
596
+ function businessLoanBusinessApplicationRelationshipsFromJSON(jsonString) {
597
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessLoanBusinessApplicationRelationships$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessLoanBusinessApplicationRelationships' from JSON`);
598
+ }
599
+ //# sourceMappingURL=businessloanbusinessapplicationrelationships.js.map