@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,166 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ import { ApplicationStatus } from "./applicationstatus.js";
6
+ import { BusinessApplicationJsonApiRelationships, BusinessApplicationJsonApiRelationships$Outbound } from "./businessapplicationjsonapirelationships.js";
7
+ import { LinkObject, LinkObject$Outbound } from "./linkobject.js";
8
+ export declare const BusinessApplicationResourceType: {
9
+ readonly BusinessApplications: "business-applications";
10
+ };
11
+ export type BusinessApplicationResourceType = ClosedEnum<typeof BusinessApplicationResourceType>;
12
+ /**
13
+ * Type of the loan application
14
+ */
15
+ export declare const BusinessApplicationResourceApplicationType: {
16
+ readonly Business: "business";
17
+ };
18
+ /**
19
+ * Type of the loan application
20
+ */
21
+ export type BusinessApplicationResourceApplicationType = ClosedEnum<typeof BusinessApplicationResourceApplicationType>;
22
+ /**
23
+ * Application resource attributes
24
+ */
25
+ export type BusinessApplicationResourceAttributes = {
26
+ /**
27
+ * Full identifier of the application. Not visible within the web application.
28
+ */
29
+ id?: string | undefined;
30
+ /**
31
+ * Human readable & easily communicated identifier of the application. Visible within the web application.
32
+ */
33
+ humanId: string;
34
+ /**
35
+ * Type of the loan application
36
+ */
37
+ applicationType: BusinessApplicationResourceApplicationType;
38
+ /**
39
+ * Current status, must be 'workshop' for new applications
40
+ */
41
+ status: ApplicationStatus;
42
+ /**
43
+ * Creation timestamp
44
+ */
45
+ createdAt?: string | undefined;
46
+ /**
47
+ * Last update timestamp
48
+ */
49
+ updatedAt?: string | undefined;
50
+ };
51
+ /**
52
+ * A Business Application resource following JSON:API structure
53
+ */
54
+ export type BusinessApplicationResource = {
55
+ type: BusinessApplicationResourceType;
56
+ id?: string | undefined;
57
+ /**
58
+ * Application resource attributes
59
+ */
60
+ attributes: BusinessApplicationResourceAttributes;
61
+ /**
62
+ * Relationships for a Business Application Resource
63
+ */
64
+ relationships: BusinessApplicationJsonApiRelationships;
65
+ links?: {
66
+ [k: string]: LinkObject;
67
+ } | undefined;
68
+ meta?: {
69
+ [k: string]: any;
70
+ } | undefined;
71
+ };
72
+ /** @internal */
73
+ export declare const BusinessApplicationResourceType$inboundSchema: z.ZodNativeEnum<typeof BusinessApplicationResourceType>;
74
+ /** @internal */
75
+ export declare const BusinessApplicationResourceType$outboundSchema: z.ZodNativeEnum<typeof BusinessApplicationResourceType>;
76
+ /**
77
+ * @internal
78
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
+ */
80
+ export declare namespace BusinessApplicationResourceType$ {
81
+ /** @deprecated use `BusinessApplicationResourceType$inboundSchema` instead. */
82
+ const inboundSchema: z.ZodNativeEnum<{
83
+ readonly BusinessApplications: "business-applications";
84
+ }>;
85
+ /** @deprecated use `BusinessApplicationResourceType$outboundSchema` instead. */
86
+ const outboundSchema: z.ZodNativeEnum<{
87
+ readonly BusinessApplications: "business-applications";
88
+ }>;
89
+ }
90
+ /** @internal */
91
+ export declare const BusinessApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof BusinessApplicationResourceApplicationType>;
92
+ /** @internal */
93
+ export declare const BusinessApplicationResourceApplicationType$outboundSchema: z.ZodNativeEnum<typeof BusinessApplicationResourceApplicationType>;
94
+ /**
95
+ * @internal
96
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
97
+ */
98
+ export declare namespace BusinessApplicationResourceApplicationType$ {
99
+ /** @deprecated use `BusinessApplicationResourceApplicationType$inboundSchema` instead. */
100
+ const inboundSchema: z.ZodNativeEnum<{
101
+ readonly Business: "business";
102
+ }>;
103
+ /** @deprecated use `BusinessApplicationResourceApplicationType$outboundSchema` instead. */
104
+ const outboundSchema: z.ZodNativeEnum<{
105
+ readonly Business: "business";
106
+ }>;
107
+ }
108
+ /** @internal */
109
+ export declare const BusinessApplicationResourceAttributes$inboundSchema: z.ZodType<BusinessApplicationResourceAttributes, z.ZodTypeDef, unknown>;
110
+ /** @internal */
111
+ export type BusinessApplicationResourceAttributes$Outbound = {
112
+ id?: string | undefined;
113
+ humanId: string;
114
+ applicationType: string;
115
+ status: string;
116
+ createdAt?: string | undefined;
117
+ updatedAt?: string | undefined;
118
+ };
119
+ /** @internal */
120
+ export declare const BusinessApplicationResourceAttributes$outboundSchema: z.ZodType<BusinessApplicationResourceAttributes$Outbound, z.ZodTypeDef, BusinessApplicationResourceAttributes>;
121
+ /**
122
+ * @internal
123
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
124
+ */
125
+ export declare namespace BusinessApplicationResourceAttributes$ {
126
+ /** @deprecated use `BusinessApplicationResourceAttributes$inboundSchema` instead. */
127
+ const inboundSchema: z.ZodType<BusinessApplicationResourceAttributes, z.ZodTypeDef, unknown>;
128
+ /** @deprecated use `BusinessApplicationResourceAttributes$outboundSchema` instead. */
129
+ const outboundSchema: z.ZodType<BusinessApplicationResourceAttributes$Outbound, z.ZodTypeDef, BusinessApplicationResourceAttributes>;
130
+ /** @deprecated use `BusinessApplicationResourceAttributes$Outbound` instead. */
131
+ type Outbound = BusinessApplicationResourceAttributes$Outbound;
132
+ }
133
+ export declare function businessApplicationResourceAttributesToJSON(businessApplicationResourceAttributes: BusinessApplicationResourceAttributes): string;
134
+ export declare function businessApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<BusinessApplicationResourceAttributes, SDKValidationError>;
135
+ /** @internal */
136
+ export declare const BusinessApplicationResource$inboundSchema: z.ZodType<BusinessApplicationResource, z.ZodTypeDef, unknown>;
137
+ /** @internal */
138
+ export type BusinessApplicationResource$Outbound = {
139
+ type: string;
140
+ id?: string | undefined;
141
+ attributes: BusinessApplicationResourceAttributes$Outbound;
142
+ relationships: BusinessApplicationJsonApiRelationships$Outbound;
143
+ links?: {
144
+ [k: string]: LinkObject$Outbound;
145
+ } | undefined;
146
+ meta?: {
147
+ [k: string]: any;
148
+ } | undefined;
149
+ };
150
+ /** @internal */
151
+ export declare const BusinessApplicationResource$outboundSchema: z.ZodType<BusinessApplicationResource$Outbound, z.ZodTypeDef, BusinessApplicationResource>;
152
+ /**
153
+ * @internal
154
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
155
+ */
156
+ export declare namespace BusinessApplicationResource$ {
157
+ /** @deprecated use `BusinessApplicationResource$inboundSchema` instead. */
158
+ const inboundSchema: z.ZodType<BusinessApplicationResource, z.ZodTypeDef, unknown>;
159
+ /** @deprecated use `BusinessApplicationResource$outboundSchema` instead. */
160
+ const outboundSchema: z.ZodType<BusinessApplicationResource$Outbound, z.ZodTypeDef, BusinessApplicationResource>;
161
+ /** @deprecated use `BusinessApplicationResource$Outbound` instead. */
162
+ type Outbound = BusinessApplicationResource$Outbound;
163
+ }
164
+ export declare function businessApplicationResourceToJSON(businessApplicationResource: BusinessApplicationResource): string;
165
+ export declare function businessApplicationResourceFromJSON(jsonString: string): SafeParseResult<BusinessApplicationResource, SDKValidationError>;
166
+ //# sourceMappingURL=businessapplicationresource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"businessapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/businessapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,uCAAuC,EAEvC,gDAAgD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AM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
@@ -0,0 +1,159 @@
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.BusinessApplicationResource$ = exports.BusinessApplicationResource$outboundSchema = exports.BusinessApplicationResource$inboundSchema = exports.BusinessApplicationResourceAttributes$ = exports.BusinessApplicationResourceAttributes$outboundSchema = exports.BusinessApplicationResourceAttributes$inboundSchema = exports.BusinessApplicationResourceApplicationType$ = exports.BusinessApplicationResourceApplicationType$outboundSchema = exports.BusinessApplicationResourceApplicationType$inboundSchema = exports.BusinessApplicationResourceType$ = exports.BusinessApplicationResourceType$outboundSchema = exports.BusinessApplicationResourceType$inboundSchema = exports.BusinessApplicationResourceApplicationType = exports.BusinessApplicationResourceType = void 0;
40
+ exports.businessApplicationResourceAttributesToJSON = businessApplicationResourceAttributesToJSON;
41
+ exports.businessApplicationResourceAttributesFromJSON = businessApplicationResourceAttributesFromJSON;
42
+ exports.businessApplicationResourceToJSON = businessApplicationResourceToJSON;
43
+ exports.businessApplicationResourceFromJSON = businessApplicationResourceFromJSON;
44
+ const z = __importStar(require("zod/v3"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ const applicationstatus_js_1 = require("./applicationstatus.js");
47
+ const businessapplicationjsonapirelationships_js_1 = require("./businessapplicationjsonapirelationships.js");
48
+ const linkobject_js_1 = require("./linkobject.js");
49
+ exports.BusinessApplicationResourceType = {
50
+ BusinessApplications: "business-applications",
51
+ };
52
+ /**
53
+ * Type of the loan application
54
+ */
55
+ exports.BusinessApplicationResourceApplicationType = {
56
+ Business: "business",
57
+ };
58
+ /** @internal */
59
+ exports.BusinessApplicationResourceType$inboundSchema = z.nativeEnum(exports.BusinessApplicationResourceType);
60
+ /** @internal */
61
+ exports.BusinessApplicationResourceType$outboundSchema = exports.BusinessApplicationResourceType$inboundSchema;
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ var BusinessApplicationResourceType$;
67
+ (function (BusinessApplicationResourceType$) {
68
+ /** @deprecated use `BusinessApplicationResourceType$inboundSchema` instead. */
69
+ BusinessApplicationResourceType$.inboundSchema = exports.BusinessApplicationResourceType$inboundSchema;
70
+ /** @deprecated use `BusinessApplicationResourceType$outboundSchema` instead. */
71
+ BusinessApplicationResourceType$.outboundSchema = exports.BusinessApplicationResourceType$outboundSchema;
72
+ })(BusinessApplicationResourceType$ || (exports.BusinessApplicationResourceType$ = BusinessApplicationResourceType$ = {}));
73
+ /** @internal */
74
+ exports.BusinessApplicationResourceApplicationType$inboundSchema = z
75
+ .nativeEnum(exports.BusinessApplicationResourceApplicationType);
76
+ /** @internal */
77
+ exports.BusinessApplicationResourceApplicationType$outboundSchema = exports.BusinessApplicationResourceApplicationType$inboundSchema;
78
+ /**
79
+ * @internal
80
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
81
+ */
82
+ var BusinessApplicationResourceApplicationType$;
83
+ (function (BusinessApplicationResourceApplicationType$) {
84
+ /** @deprecated use `BusinessApplicationResourceApplicationType$inboundSchema` instead. */
85
+ BusinessApplicationResourceApplicationType$.inboundSchema = exports.BusinessApplicationResourceApplicationType$inboundSchema;
86
+ /** @deprecated use `BusinessApplicationResourceApplicationType$outboundSchema` instead. */
87
+ BusinessApplicationResourceApplicationType$.outboundSchema = exports.BusinessApplicationResourceApplicationType$outboundSchema;
88
+ })(BusinessApplicationResourceApplicationType$ || (exports.BusinessApplicationResourceApplicationType$ = BusinessApplicationResourceApplicationType$ = {}));
89
+ /** @internal */
90
+ exports.BusinessApplicationResourceAttributes$inboundSchema = z.object({
91
+ id: z.string().optional(),
92
+ humanId: z.string(),
93
+ applicationType: exports.BusinessApplicationResourceApplicationType$inboundSchema,
94
+ status: applicationstatus_js_1.ApplicationStatus$inboundSchema,
95
+ createdAt: z.string().optional(),
96
+ updatedAt: z.string().optional(),
97
+ });
98
+ /** @internal */
99
+ exports.BusinessApplicationResourceAttributes$outboundSchema = z.object({
100
+ id: z.string().optional(),
101
+ humanId: z.string(),
102
+ applicationType: exports.BusinessApplicationResourceApplicationType$outboundSchema,
103
+ status: applicationstatus_js_1.ApplicationStatus$outboundSchema,
104
+ createdAt: z.string().optional(),
105
+ updatedAt: z.string().optional(),
106
+ });
107
+ /**
108
+ * @internal
109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
+ */
111
+ var BusinessApplicationResourceAttributes$;
112
+ (function (BusinessApplicationResourceAttributes$) {
113
+ /** @deprecated use `BusinessApplicationResourceAttributes$inboundSchema` instead. */
114
+ BusinessApplicationResourceAttributes$.inboundSchema = exports.BusinessApplicationResourceAttributes$inboundSchema;
115
+ /** @deprecated use `BusinessApplicationResourceAttributes$outboundSchema` instead. */
116
+ BusinessApplicationResourceAttributes$.outboundSchema = exports.BusinessApplicationResourceAttributes$outboundSchema;
117
+ })(BusinessApplicationResourceAttributes$ || (exports.BusinessApplicationResourceAttributes$ = BusinessApplicationResourceAttributes$ = {}));
118
+ function businessApplicationResourceAttributesToJSON(businessApplicationResourceAttributes) {
119
+ return JSON.stringify(exports.BusinessApplicationResourceAttributes$outboundSchema.parse(businessApplicationResourceAttributes));
120
+ }
121
+ function businessApplicationResourceAttributesFromJSON(jsonString) {
122
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessApplicationResourceAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessApplicationResourceAttributes' from JSON`);
123
+ }
124
+ /** @internal */
125
+ exports.BusinessApplicationResource$inboundSchema = z.object({
126
+ type: exports.BusinessApplicationResourceType$inboundSchema,
127
+ id: z.string().optional(),
128
+ attributes: z.lazy(() => exports.BusinessApplicationResourceAttributes$inboundSchema),
129
+ relationships: businessapplicationjsonapirelationships_js_1.BusinessApplicationJsonApiRelationships$inboundSchema,
130
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
131
+ meta: z.record(z.any()).optional(),
132
+ });
133
+ /** @internal */
134
+ exports.BusinessApplicationResource$outboundSchema = z.object({
135
+ type: exports.BusinessApplicationResourceType$outboundSchema,
136
+ id: z.string().optional(),
137
+ attributes: z.lazy(() => exports.BusinessApplicationResourceAttributes$outboundSchema),
138
+ relationships: businessapplicationjsonapirelationships_js_1.BusinessApplicationJsonApiRelationships$outboundSchema,
139
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
140
+ meta: z.record(z.any()).optional(),
141
+ });
142
+ /**
143
+ * @internal
144
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
145
+ */
146
+ var BusinessApplicationResource$;
147
+ (function (BusinessApplicationResource$) {
148
+ /** @deprecated use `BusinessApplicationResource$inboundSchema` instead. */
149
+ BusinessApplicationResource$.inboundSchema = exports.BusinessApplicationResource$inboundSchema;
150
+ /** @deprecated use `BusinessApplicationResource$outboundSchema` instead. */
151
+ BusinessApplicationResource$.outboundSchema = exports.BusinessApplicationResource$outboundSchema;
152
+ })(BusinessApplicationResource$ || (exports.BusinessApplicationResource$ = BusinessApplicationResource$ = {}));
153
+ function businessApplicationResourceToJSON(businessApplicationResource) {
154
+ return JSON.stringify(exports.BusinessApplicationResource$outboundSchema.parse(businessApplicationResource));
155
+ }
156
+ function businessApplicationResourceFromJSON(jsonString) {
157
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BusinessApplicationResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BusinessApplicationResource' from JSON`);
158
+ }
159
+ //# sourceMappingURL=businessapplicationresource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"businessapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/businessapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8LH,kGAQC;AAED,sGASC;AAuDD,8EAQC;AAED,kFAQC;AAxRD,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAIgC;AAChC,6GAKsD;AACtD,mDAKyB;AAEZ,QAAA,+BAA+B,GAAG;IAC7C,oBAAoB,EAAE,uBAAuB;CACrC,CAAC;AAKX;;GAEG;AACU,QAAA,0CAA0C,GAAG;IACxD,QAAQ,EAAE,UAAU;CACZ,CAAC;AAwDX,gBAAgB;AACH,QAAA,6CAA6C,GAEtD,CAAC,CAAC,UAAU,CAAC,uCAA+B,CAAC,CAAC;AAElD,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,qDAA6C,CAAC;AAElD;;;GAGG;AACH,IAAiB,gC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