@financeable/aggregation 0.5.1 → 0.6.1

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 (297) hide show
  1. package/FUNCTIONS.md +14 -131
  2. package/README.md +271 -1512
  3. package/docs/sdks/applications/README.md +24 -383
  4. package/docs/sdks/oauthtoken/README.md +5 -5
  5. package/docs/sdks/supportingdocuments/README.md +121 -0
  6. package/funcs/applicationsCreate.d.ts +1 -2
  7. package/funcs/applicationsCreate.d.ts.map +1 -1
  8. package/funcs/applicationsCreate.js +3 -4
  9. package/funcs/applicationsCreate.js.map +1 -1
  10. package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
  11. package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
  12. package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
  13. package/funcs/oauthTokenOauthToken.js.map +1 -0
  14. package/funcs/supportingDocumentsCreate.d.ts +14 -0
  15. package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
  16. package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +14 -12
  17. package/funcs/supportingDocumentsCreate.js.map +1 -0
  18. package/jsr.json +1 -1
  19. package/lib/config.d.ts +4 -4
  20. package/lib/config.d.ts.map +1 -1
  21. package/lib/config.js +4 -7
  22. package/lib/config.js.map +1 -1
  23. package/lib/matchers.d.ts +3 -1
  24. package/lib/matchers.d.ts.map +1 -1
  25. package/lib/matchers.js +12 -0
  26. package/lib/matchers.js.map +1 -1
  27. package/lib/sdks.d.ts +3 -1
  28. package/lib/sdks.d.ts.map +1 -1
  29. package/lib/sdks.js +13 -13
  30. package/lib/sdks.js.map +1 -1
  31. package/models/components/addressattributes.d.ts +10 -8
  32. package/models/components/addressattributes.d.ts.map +1 -1
  33. package/models/components/addressattributes.js +15 -14
  34. package/models/components/addressattributes.js.map +1 -1
  35. package/models/components/applicationresource.d.ts +30 -0
  36. package/models/components/applicationresource.d.ts.map +1 -0
  37. package/models/components/applicationresource.js +73 -0
  38. package/models/components/applicationresource.js.map +1 -0
  39. package/models/components/badrequesterror.d.ts +119 -0
  40. package/models/components/badrequesterror.d.ts.map +1 -0
  41. package/models/components/badrequesterror.js +140 -0
  42. package/models/components/badrequesterror.js.map +1 -0
  43. package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
  44. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
  45. package/models/components/commercialapplicationjsonapirelationships.js +391 -0
  46. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
  47. package/models/components/commercialsecuredapplicationpayload.d.ts +164 -0
  48. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -0
  49. package/models/components/commercialsecuredapplicationpayload.js +158 -0
  50. package/models/components/commercialsecuredapplicationpayload.js.map +1 -0
  51. package/models/components/commercialsecuredapplicationresource.d.ts +171 -0
  52. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -0
  53. package/models/components/commercialsecuredapplicationresource.js +161 -0
  54. package/models/components/commercialsecuredapplicationresource.js.map +1 -0
  55. package/models/components/commercialsecuredloanassetattributes.d.ts +237 -0
  56. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
  57. package/models/components/commercialsecuredloanassetattributes.js +170 -0
  58. package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
  59. package/models/components/commercialsecuredloanassettype.d.ts +100 -0
  60. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
  61. package/models/components/commercialsecuredloanassettype.js +84 -0
  62. package/models/components/commercialsecuredloanassettype.js.map +1 -0
  63. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +537 -0
  64. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
  65. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +548 -0
  66. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
  67. package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
  68. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
  69. package/models/components/consumerapplicationjsonapirelationships.js +310 -0
  70. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
  71. package/models/components/consumersecuredapplicationpayload.d.ts +164 -0
  72. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -0
  73. package/models/components/consumersecuredapplicationpayload.js +158 -0
  74. package/models/components/consumersecuredapplicationpayload.js.map +1 -0
  75. package/models/components/consumersecuredapplicationresource.d.ts +171 -0
  76. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -0
  77. package/models/components/consumersecuredapplicationresource.js +161 -0
  78. package/models/components/consumersecuredapplicationresource.js.map +1 -0
  79. package/models/components/consumersecuredloanassetattributes.d.ts +237 -0
  80. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
  81. package/models/components/consumersecuredloanassetattributes.js +172 -0
  82. package/models/components/consumersecuredloanassetattributes.js.map +1 -0
  83. package/models/components/consumersecuredloanassettype.d.ts +64 -0
  84. package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
  85. package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
  86. package/models/components/consumersecuredloanassettype.js.map +1 -0
  87. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +425 -0
  88. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
  89. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +443 -0
  90. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  91. package/models/components/createsupportingdocumentsresponse.d.ts +124 -0
  92. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
  93. package/models/components/createsupportingdocumentsresponse.js +138 -0
  94. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  95. package/models/components/customerattributes.d.ts +2 -0
  96. package/models/components/customerattributes.d.ts.map +1 -1
  97. package/models/components/customerattributes.js +2 -0
  98. package/models/components/customerattributes.js.map +1 -1
  99. package/models/components/documenttype.d.ts +70 -0
  100. package/models/components/documenttype.d.ts.map +1 -0
  101. package/models/{errors/responsebody.js → components/documenttype.js} +28 -34
  102. package/models/components/documenttype.js.map +1 -0
  103. package/models/components/entityattributes.d.ts +2 -22
  104. package/models/components/entityattributes.d.ts.map +1 -1
  105. package/models/components/entityattributes.js +2 -19
  106. package/models/components/entityattributes.js.map +1 -1
  107. package/models/components/forbiddenerror.d.ts +17 -39
  108. package/models/components/forbiddenerror.d.ts.map +1 -1
  109. package/models/components/forbiddenerror.js +27 -46
  110. package/models/components/forbiddenerror.js.map +1 -1
  111. package/models/components/index.d.ts +24 -8
  112. package/models/components/index.d.ts.map +1 -1
  113. package/models/components/index.js +24 -8
  114. package/models/components/index.js.map +1 -1
  115. package/models/components/linkobject.d.ts +47 -0
  116. package/models/components/linkobject.d.ts.map +1 -0
  117. package/models/components/{links.js → linkobject.js} +27 -22
  118. package/models/components/linkobject.js.map +1 -0
  119. package/models/components/loandetailsattributes.d.ts +2 -0
  120. package/models/components/loandetailsattributes.d.ts.map +1 -1
  121. package/models/components/loandetailsattributes.js +2 -0
  122. package/models/components/loandetailsattributes.js.map +1 -1
  123. package/models/components/relationshipresourcenotfound.d.ts +116 -0
  124. package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
  125. package/models/components/relationshipresourcenotfound.js +139 -0
  126. package/models/components/relationshipresourcenotfound.js.map +1 -0
  127. package/models/components/resourcenotfound.d.ts +119 -0
  128. package/models/components/resourcenotfound.d.ts.map +1 -0
  129. package/models/components/resourcenotfound.js +139 -0
  130. package/models/components/resourcenotfound.js.map +1 -0
  131. package/models/components/supportingdocumentattributes.d.ts +40 -0
  132. package/models/components/supportingdocumentattributes.d.ts.map +1 -0
  133. package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
  134. package/models/components/supportingdocumentattributes.js.map +1 -0
  135. package/models/components/supportingdocumentattributesinput.d.ts +38 -0
  136. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
  137. package/models/components/supportingdocumentattributesinput.js +72 -0
  138. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  139. package/models/components/supportingdocumentrelationships.d.ts +448 -0
  140. package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
  141. package/models/components/supportingdocumentrelationships.js +434 -0
  142. package/models/components/supportingdocumentrelationships.js.map +1 -0
  143. package/models/components/supportingdocumentresource.d.ts +71 -0
  144. package/models/components/supportingdocumentresource.d.ts.map +1 -0
  145. package/models/components/supportingdocumentresource.js +98 -0
  146. package/models/components/supportingdocumentresource.js.map +1 -0
  147. package/models/components/uploadmimetype.d.ts +49 -0
  148. package/models/components/uploadmimetype.d.ts.map +1 -0
  149. package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
  150. package/models/components/uploadmimetype.js.map +1 -0
  151. package/models/errors/createapplication.d.ts +73 -0
  152. package/models/errors/createapplication.d.ts.map +1 -0
  153. package/models/errors/createapplication.js +120 -0
  154. package/models/errors/createapplication.js.map +1 -0
  155. package/models/errors/index.d.ts +2 -1
  156. package/models/errors/index.d.ts.map +1 -1
  157. package/models/errors/index.js +2 -1
  158. package/models/errors/index.js.map +1 -1
  159. package/models/errors/supportingdocumentscreate.d.ts +143 -0
  160. package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
  161. package/models/errors/supportingdocumentscreate.js +225 -0
  162. package/models/errors/supportingdocumentscreate.js.map +1 -0
  163. package/models/operations/createapplication.d.ts +26 -874
  164. package/models/operations/createapplication.d.ts.map +1 -1
  165. package/models/operations/createapplication.js +37 -899
  166. package/models/operations/createapplication.js.map +1 -1
  167. package/models/operations/index.d.ts +1 -2
  168. package/models/operations/index.d.ts.map +1 -1
  169. package/models/operations/index.js +1 -2
  170. package/models/operations/index.js.map +1 -1
  171. package/models/operations/supportingdocumentscreate.d.ts +94 -0
  172. package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
  173. package/models/operations/supportingdocumentscreate.js +135 -0
  174. package/models/operations/supportingdocumentscreate.js.map +1 -0
  175. package/package.json +2 -2
  176. package/sdk/applications.d.ts +1 -10
  177. package/sdk/applications.d.ts.map +1 -1
  178. package/sdk/applications.js +0 -14
  179. package/sdk/applications.js.map +1 -1
  180. package/sdk/oauthtoken.d.ts +1 -1
  181. package/sdk/oauthtoken.d.ts.map +1 -1
  182. package/sdk/oauthtoken.js +3 -3
  183. package/sdk/oauthtoken.js.map +1 -1
  184. package/sdk/sdk.d.ts +3 -0
  185. package/sdk/sdk.d.ts.map +1 -1
  186. package/sdk/sdk.js +4 -0
  187. package/sdk/sdk.js.map +1 -1
  188. package/sdk/supportingdocuments.d.ts +9 -0
  189. package/sdk/supportingdocuments.d.ts.map +1 -0
  190. package/sdk/supportingdocuments.js +19 -0
  191. package/sdk/supportingdocuments.js.map +1 -0
  192. package/src/funcs/applicationsCreate.ts +15 -9
  193. package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
  194. package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +30 -20
  195. package/src/lib/config.ts +4 -7
  196. package/src/lib/matchers.ts +20 -0
  197. package/src/lib/sdks.ts +19 -13
  198. package/src/models/components/addressattributes.ts +22 -14
  199. package/src/models/components/applicationresource.ts +83 -0
  200. package/src/models/components/badrequesterror.ts +182 -0
  201. package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
  202. package/src/models/components/commercialsecuredapplicationpayload.ts +248 -0
  203. package/src/models/components/commercialsecuredapplicationresource.ts +310 -0
  204. package/src/models/components/commercialsecuredloanassetattributes.ts +319 -0
  205. package/src/models/components/commercialsecuredloanassettype.ts +64 -0
  206. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1238 -0
  207. package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
  208. package/src/models/components/consumersecuredapplicationpayload.ts +273 -0
  209. package/src/models/components/consumersecuredapplicationresource.ts +309 -0
  210. package/src/models/components/consumersecuredloanassetattributes.ts +334 -0
  211. package/src/models/components/consumersecuredloanassettype.ts +47 -0
  212. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1047 -0
  213. package/src/models/components/createsupportingdocumentsresponse.ts +206 -0
  214. package/src/models/components/customerattributes.ts +4 -0
  215. package/src/models/components/documenttype.ts +49 -0
  216. package/src/models/components/entityattributes.ts +4 -44
  217. package/src/models/components/forbiddenerror.ts +35 -58
  218. package/src/models/components/index.ts +24 -8
  219. package/src/models/components/linkobject.ts +84 -0
  220. package/src/models/components/loandetailsattributes.ts +4 -0
  221. package/src/models/components/relationshipresourcenotfound.ts +195 -0
  222. package/src/models/components/resourcenotfound.ts +188 -0
  223. package/src/models/components/supportingdocumentattributes.ts +87 -0
  224. package/src/models/components/supportingdocumentattributesinput.ts +84 -0
  225. package/src/models/components/supportingdocumentrelationships.ts +828 -0
  226. package/src/models/components/supportingdocumentresource.ts +126 -0
  227. package/src/models/components/uploadmimetype.ts +44 -0
  228. package/src/models/errors/createapplication.ts +149 -0
  229. package/src/models/errors/index.ts +2 -1
  230. package/src/models/errors/supportingdocumentscreate.ts +342 -0
  231. package/src/models/operations/createapplication.ts +69 -1913
  232. package/src/models/operations/index.ts +1 -2
  233. package/src/models/operations/supportingdocumentscreate.ts +222 -0
  234. package/src/sdk/applications.ts +1 -32
  235. package/src/sdk/oauthtoken.ts +3 -3
  236. package/src/sdk/sdk.ts +8 -0
  237. package/src/sdk/supportingdocuments.ts +24 -0
  238. package/funcs/applicationsGet.d.ts +0 -14
  239. package/funcs/applicationsGet.d.ts.map +0 -1
  240. package/funcs/applicationsGet.js +0 -120
  241. package/funcs/applicationsGet.js.map +0 -1
  242. package/funcs/applicationsList.d.ts +0 -14
  243. package/funcs/applicationsList.d.ts.map +0 -1
  244. package/funcs/applicationsList.js.map +0 -1
  245. package/funcs/oauthTokenGet.d.ts.map +0 -1
  246. package/funcs/oauthTokenGet.js.map +0 -1
  247. package/models/components/applicationattributes.d.ts +0 -69
  248. package/models/components/applicationattributes.d.ts.map +0 -1
  249. package/models/components/applicationattributes.js +0 -85
  250. package/models/components/applicationattributes.js.map +0 -1
  251. package/models/components/applicationattributescreate.d.ts +0 -43
  252. package/models/components/applicationattributescreate.d.ts.map +0 -1
  253. package/models/components/applicationattributescreate.js.map +0 -1
  254. package/models/components/applicationresourcebulksubmission.d.ts +0 -527
  255. package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
  256. package/models/components/applicationresourcebulksubmission.js +0 -565
  257. package/models/components/applicationresourcebulksubmission.js.map +0 -1
  258. package/models/components/applicationtype.d.ts +0 -28
  259. package/models/components/applicationtype.d.ts.map +0 -1
  260. package/models/components/applicationtype.js.map +0 -1
  261. package/models/components/assetattributes.d.ts +0 -311
  262. package/models/components/assetattributes.d.ts.map +0 -1
  263. package/models/components/assetattributes.js +0 -234
  264. package/models/components/assetattributes.js.map +0 -1
  265. package/models/components/commercialassettype.d.ts +0 -44
  266. package/models/components/commercialassettype.d.ts.map +0 -1
  267. package/models/components/commercialassettype.js +0 -85
  268. package/models/components/commercialassettype.js.map +0 -1
  269. package/models/components/consumerassettype.d.ts +0 -32
  270. package/models/components/consumerassettype.d.ts.map +0 -1
  271. package/models/components/consumerassettype.js.map +0 -1
  272. package/models/components/links.d.ts +0 -40
  273. package/models/components/links.d.ts.map +0 -1
  274. package/models/components/links.js.map +0 -1
  275. package/models/errors/responsebody.d.ts +0 -38
  276. package/models/errors/responsebody.d.ts.map +0 -1
  277. package/models/errors/responsebody.js.map +0 -1
  278. package/models/operations/getapplication.d.ts +0 -962
  279. package/models/operations/getapplication.d.ts.map +0 -1
  280. package/models/operations/getapplication.js +0 -1030
  281. package/models/operations/getapplication.js.map +0 -1
  282. package/models/operations/getapplications.d.ts +0 -962
  283. package/models/operations/getapplications.d.ts.map +0 -1
  284. package/models/operations/getapplications.js +0 -1029
  285. package/models/operations/getapplications.js.map +0 -1
  286. package/src/funcs/applicationsGet.ts +0 -168
  287. package/src/models/components/applicationattributes.ts +0 -128
  288. package/src/models/components/applicationattributescreate.ts +0 -90
  289. package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
  290. package/src/models/components/applicationtype.ts +0 -33
  291. package/src/models/components/assetattributes.ts +0 -411
  292. package/src/models/components/commercialassettype.ts +0 -61
  293. package/src/models/components/consumerassettype.ts +0 -43
  294. package/src/models/components/links.ts +0 -72
  295. package/src/models/errors/responsebody.ts +0 -76
  296. package/src/models/operations/getapplication.ts +0 -2246
  297. package/src/models/operations/getapplications.ts +0 -2191
@@ -0,0 +1,161 @@
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.ConsumerSecuredApplicationResource$ = exports.ConsumerSecuredApplicationResource$outboundSchema = exports.ConsumerSecuredApplicationResource$inboundSchema = exports.ConsumerSecuredApplicationResourceAttributes$ = exports.ConsumerSecuredApplicationResourceAttributes$outboundSchema = exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$ = exports.ConsumerSecuredApplicationResourceApplicationType$outboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$inboundSchema = exports.ConsumerSecuredApplicationResourceType$ = exports.ConsumerSecuredApplicationResourceType$outboundSchema = exports.ConsumerSecuredApplicationResourceType$inboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType = exports.ConsumerSecuredApplicationResourceType = void 0;
40
+ exports.consumerSecuredApplicationResourceAttributesToJSON = consumerSecuredApplicationResourceAttributesToJSON;
41
+ exports.consumerSecuredApplicationResourceAttributesFromJSON = consumerSecuredApplicationResourceAttributesFromJSON;
42
+ exports.consumerSecuredApplicationResourceToJSON = consumerSecuredApplicationResourceToJSON;
43
+ exports.consumerSecuredApplicationResourceFromJSON = consumerSecuredApplicationResourceFromJSON;
44
+ const z = __importStar(require("zod"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ const applicationstatus_js_1 = require("./applicationstatus.js");
47
+ const consumerapplicationjsonapirelationships_js_1 = require("./consumerapplicationjsonapirelationships.js");
48
+ const linkobject_js_1 = require("./linkobject.js");
49
+ exports.ConsumerSecuredApplicationResourceType = {
50
+ ConsumerSecuredApplications: "consumer-secured-applications",
51
+ };
52
+ /**
53
+ * Type of the loan application
54
+ */
55
+ exports.ConsumerSecuredApplicationResourceApplicationType = {
56
+ ConsumerSecured: "consumerSecured",
57
+ };
58
+ /** @internal */
59
+ exports.ConsumerSecuredApplicationResourceType$inboundSchema = z.nativeEnum(exports.ConsumerSecuredApplicationResourceType);
60
+ /** @internal */
61
+ exports.ConsumerSecuredApplicationResourceType$outboundSchema = exports.ConsumerSecuredApplicationResourceType$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 ConsumerSecuredApplicationResourceType$;
67
+ (function (ConsumerSecuredApplicationResourceType$) {
68
+ /** @deprecated use `ConsumerSecuredApplicationResourceType$inboundSchema` instead. */
69
+ ConsumerSecuredApplicationResourceType$.inboundSchema = exports.ConsumerSecuredApplicationResourceType$inboundSchema;
70
+ /** @deprecated use `ConsumerSecuredApplicationResourceType$outboundSchema` instead. */
71
+ ConsumerSecuredApplicationResourceType$.outboundSchema = exports.ConsumerSecuredApplicationResourceType$outboundSchema;
72
+ })(ConsumerSecuredApplicationResourceType$ || (exports.ConsumerSecuredApplicationResourceType$ = ConsumerSecuredApplicationResourceType$ = {}));
73
+ /** @internal */
74
+ exports.ConsumerSecuredApplicationResourceApplicationType$inboundSchema = z
75
+ .nativeEnum(exports.ConsumerSecuredApplicationResourceApplicationType);
76
+ /** @internal */
77
+ exports.ConsumerSecuredApplicationResourceApplicationType$outboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$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 ConsumerSecuredApplicationResourceApplicationType$;
83
+ (function (ConsumerSecuredApplicationResourceApplicationType$) {
84
+ /** @deprecated use `ConsumerSecuredApplicationResourceApplicationType$inboundSchema` instead. */
85
+ ConsumerSecuredApplicationResourceApplicationType$.inboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$inboundSchema;
86
+ /** @deprecated use `ConsumerSecuredApplicationResourceApplicationType$outboundSchema` instead. */
87
+ ConsumerSecuredApplicationResourceApplicationType$.outboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$outboundSchema;
88
+ })(ConsumerSecuredApplicationResourceApplicationType$ || (exports.ConsumerSecuredApplicationResourceApplicationType$ = ConsumerSecuredApplicationResourceApplicationType$ = {}));
89
+ /** @internal */
90
+ exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema = z.object({
91
+ id: z.string(),
92
+ humanId: z.string(),
93
+ applicationType: exports.ConsumerSecuredApplicationResourceApplicationType$inboundSchema,
94
+ status: applicationstatus_js_1.ApplicationStatus$inboundSchema,
95
+ associatedBrokerEmail: z.string().optional(),
96
+ createdAt: z.string().optional(),
97
+ updatedAt: z.string().optional(),
98
+ });
99
+ /** @internal */
100
+ exports.ConsumerSecuredApplicationResourceAttributes$outboundSchema = z.object({
101
+ id: z.string(),
102
+ humanId: z.string(),
103
+ applicationType: exports.ConsumerSecuredApplicationResourceApplicationType$outboundSchema,
104
+ status: applicationstatus_js_1.ApplicationStatus$outboundSchema,
105
+ associatedBrokerEmail: z.string().optional(),
106
+ createdAt: z.string().optional(),
107
+ updatedAt: z.string().optional(),
108
+ });
109
+ /**
110
+ * @internal
111
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
112
+ */
113
+ var ConsumerSecuredApplicationResourceAttributes$;
114
+ (function (ConsumerSecuredApplicationResourceAttributes$) {
115
+ /** @deprecated use `ConsumerSecuredApplicationResourceAttributes$inboundSchema` instead. */
116
+ ConsumerSecuredApplicationResourceAttributes$.inboundSchema = exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema;
117
+ /** @deprecated use `ConsumerSecuredApplicationResourceAttributes$outboundSchema` instead. */
118
+ ConsumerSecuredApplicationResourceAttributes$.outboundSchema = exports.ConsumerSecuredApplicationResourceAttributes$outboundSchema;
119
+ })(ConsumerSecuredApplicationResourceAttributes$ || (exports.ConsumerSecuredApplicationResourceAttributes$ = ConsumerSecuredApplicationResourceAttributes$ = {}));
120
+ function consumerSecuredApplicationResourceAttributesToJSON(consumerSecuredApplicationResourceAttributes) {
121
+ return JSON.stringify(exports.ConsumerSecuredApplicationResourceAttributes$outboundSchema.parse(consumerSecuredApplicationResourceAttributes));
122
+ }
123
+ function consumerSecuredApplicationResourceAttributesFromJSON(jsonString) {
124
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredApplicationResourceAttributes' from JSON`);
125
+ }
126
+ /** @internal */
127
+ exports.ConsumerSecuredApplicationResource$inboundSchema = z.object({
128
+ type: exports.ConsumerSecuredApplicationResourceType$inboundSchema,
129
+ id: z.string().optional(),
130
+ attributes: z.lazy(() => exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema),
131
+ relationships: consumerapplicationjsonapirelationships_js_1.ConsumerApplicationJsonApiRelationships$inboundSchema,
132
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
133
+ meta: z.record(z.any()).optional(),
134
+ });
135
+ /** @internal */
136
+ exports.ConsumerSecuredApplicationResource$outboundSchema = z.object({
137
+ type: exports.ConsumerSecuredApplicationResourceType$outboundSchema,
138
+ id: z.string().optional(),
139
+ attributes: z.lazy(() => exports.ConsumerSecuredApplicationResourceAttributes$outboundSchema),
140
+ relationships: consumerapplicationjsonapirelationships_js_1.ConsumerApplicationJsonApiRelationships$outboundSchema,
141
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
142
+ meta: z.record(z.any()).optional(),
143
+ });
144
+ /**
145
+ * @internal
146
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
147
+ */
148
+ var ConsumerSecuredApplicationResource$;
149
+ (function (ConsumerSecuredApplicationResource$) {
150
+ /** @deprecated use `ConsumerSecuredApplicationResource$inboundSchema` instead. */
151
+ ConsumerSecuredApplicationResource$.inboundSchema = exports.ConsumerSecuredApplicationResource$inboundSchema;
152
+ /** @deprecated use `ConsumerSecuredApplicationResource$outboundSchema` instead. */
153
+ ConsumerSecuredApplicationResource$.outboundSchema = exports.ConsumerSecuredApplicationResource$outboundSchema;
154
+ })(ConsumerSecuredApplicationResource$ || (exports.ConsumerSecuredApplicationResource$ = ConsumerSecuredApplicationResource$ = {}));
155
+ function consumerSecuredApplicationResourceToJSON(consumerSecuredApplicationResource) {
156
+ return JSON.stringify(exports.ConsumerSecuredApplicationResource$outboundSchema.parse(consumerSecuredApplicationResource));
157
+ }
158
+ function consumerSecuredApplicationResourceFromJSON(jsonString) {
159
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredApplicationResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredApplicationResource' from JSON`);
160
+ }
161
+ //# sourceMappingURL=consumersecuredapplicationresource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumersecuredapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/consumersecuredapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4MH,gHASC;AAED,oHAcC;AA0DD,4FAQC;AAED,gGASC;AAhTD,uCAAyB;AACzB,qDAAiD;AAIjD,iEAIgC;AAChC,6GAKsD;AACtD,mDAKyB;AAEZ,QAAA,sCAAsC,GAAG;IACpD,2BAA2B,EAAE,+BAA+B;CACpD,CAAC;AAKX;;GAEG;AACU,QAAA,iDAAiD,GAAG;IAC/D,eAAe,EAAE,iBAAiB;CAC1B,CAAC;AA4DX,gBAAgB;AACH,QAAA,oDAAoD,GACE,CAAC,CAAC,UAAU,CAC3E,8CAAsC,CACvC,CAAC;AAEJ,gBAAgB;AACH,QAAA,qDAAqD,GAE9D,4DAAoD,CAAC;AAEzD;;;GAGG;AACH,IAAiB,uCAAuC,CAOvD;AAPD,WAAiB,uCAAuC;IACtD,sFAAsF;IACzE,qDAAa,GACxB,4DAAoD,CAAC;IACvD,uFAAuF;IAC1E,sDAAc,GACzB,6DAAqD,CAAC;AAC1D,CAAC,EAPgB,uCAAuC,uDAAvC,uCAAuC,QAOvD;AAED,gBAAgB;AACH,QAAA,+DAA+D,GACE,CAAC;KAC1E,UAAU,CAAC,yDAAiD,CAAC,CAAC;AAEnE,gBAAgB;AACH,QAAA,gEAAgE,GAEzE,uEAA+D,CAAC;AAEpE;;;GAGG;AACH,IAAiB,kDAAkD,CAOlE;AAPD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AiB,mCAAmC;IAClD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GACzB,yDAAiD,CAAC;AAGtD,CAAC,EARgB,mCAAmC,mDAAnC,mCAAmC,QAQnD;AAED,SAAgB,wCAAwC,CACtD,kCAAsE;IAEtE,OAAO,IAAI,CAAC,SAAS,CACnB,yDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,237 @@
1
+ import * as z from "zod";
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 { ConsumerSecuredLoanAssetType } from "./consumersecuredloanassettype.js";
6
+ /**
7
+ * Condition of asset
8
+ */
9
+ export declare const ConsumerSecuredLoanAssetAttributesCondition: {
10
+ readonly New: "NEW";
11
+ readonly Demo: "DEMO";
12
+ readonly Used: "USED";
13
+ };
14
+ /**
15
+ * Condition of asset
16
+ */
17
+ export type ConsumerSecuredLoanAssetAttributesCondition = ClosedEnum<typeof ConsumerSecuredLoanAssetAttributesCondition>;
18
+ /**
19
+ * Registration state (or territory) of asset
20
+ */
21
+ export declare const ConsumerSecuredLoanAssetAttributesRegistrationState: {
22
+ readonly Vic: "VIC";
23
+ readonly Nsw: "NSW";
24
+ readonly Qld: "QLD";
25
+ readonly Sa: "SA";
26
+ readonly Wa: "WA";
27
+ readonly Tas: "TAS";
28
+ readonly Nt: "NT";
29
+ readonly Act: "ACT";
30
+ };
31
+ /**
32
+ * Registration state (or territory) of asset
33
+ */
34
+ export type ConsumerSecuredLoanAssetAttributesRegistrationState = ClosedEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState>;
35
+ /**
36
+ * The asset to be obtained by the customer, using the proposed loan financing.
37
+ */
38
+ export type ConsumerSecuredLoanAssetAttributes = {
39
+ id: string;
40
+ /**
41
+ * Current age of asset as number (integer) of years
42
+ */
43
+ ageOfAsset: number;
44
+ /**
45
+ * Age of asset at the end of the loan term, in years
46
+ */
47
+ ageOfAssetAtEnd: number;
48
+ /**
49
+ * Condition of asset
50
+ */
51
+ condition: ConsumerSecuredLoanAssetAttributesCondition;
52
+ /**
53
+ * Type of asset for secured consumer loans
54
+ */
55
+ assetType: ConsumerSecuredLoanAssetType;
56
+ /**
57
+ * Value of asset
58
+ */
59
+ assetValue: string;
60
+ /**
61
+ * Make of asset
62
+ */
63
+ make?: string | undefined;
64
+ /**
65
+ * Model of asset
66
+ */
67
+ assetModel?: string | undefined;
68
+ /**
69
+ * Registration number of asset
70
+ */
71
+ registrationNumber?: string | undefined;
72
+ /**
73
+ * Registration state (or territory) of asset
74
+ */
75
+ registrationState?: ConsumerSecuredLoanAssetAttributesRegistrationState | undefined;
76
+ /**
77
+ * VIN of asset
78
+ */
79
+ vin?: string | undefined;
80
+ /**
81
+ * Name of asset supplier
82
+ */
83
+ supplierName?: string | undefined;
84
+ /**
85
+ * ABN of asset supplier
86
+ */
87
+ supplierABN?: string | undefined;
88
+ /**
89
+ * Address of asset supplier
90
+ */
91
+ supplierAddress?: string | undefined;
92
+ /**
93
+ * Phone number of asset supplier
94
+ */
95
+ supplierPhone?: string | undefined;
96
+ /**
97
+ * Contact name of the asset supplier
98
+ */
99
+ supplierContactName?: string | undefined;
100
+ /**
101
+ * Email address of the asset supplier
102
+ */
103
+ supplierEmail?: string | undefined;
104
+ /**
105
+ * Is this asset obtained via private sale?
106
+ */
107
+ privateSale: boolean;
108
+ /**
109
+ * Type of sale
110
+ */
111
+ typeOfSale: string;
112
+ /**
113
+ * Description of asset
114
+ */
115
+ description: string;
116
+ /**
117
+ * Net asset value of asset, floating point value as string
118
+ */
119
+ netAssetValue: string;
120
+ /**
121
+ * Is this asset a luxury asset?
122
+ */
123
+ isLuxury: boolean;
124
+ /**
125
+ * Luxury GST, floating point value as string
126
+ */
127
+ luxuryGst?: string | undefined;
128
+ /**
129
+ * Additional fees concerning the asset, floating point value as string
130
+ */
131
+ additionalFees?: string | undefined;
132
+ /**
133
+ * Additional taxes concerning the asset, floating point value as string
134
+ */
135
+ additionalTaxes?: string | undefined;
136
+ };
137
+ /** @internal */
138
+ export declare const ConsumerSecuredLoanAssetAttributesCondition$inboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesCondition>;
139
+ /** @internal */
140
+ export declare const ConsumerSecuredLoanAssetAttributesCondition$outboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesCondition>;
141
+ /**
142
+ * @internal
143
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
144
+ */
145
+ export declare namespace ConsumerSecuredLoanAssetAttributesCondition$ {
146
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$inboundSchema` instead. */
147
+ const inboundSchema: z.ZodNativeEnum<{
148
+ readonly New: "NEW";
149
+ readonly Demo: "DEMO";
150
+ readonly Used: "USED";
151
+ }>;
152
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$outboundSchema` instead. */
153
+ const outboundSchema: z.ZodNativeEnum<{
154
+ readonly New: "NEW";
155
+ readonly Demo: "DEMO";
156
+ readonly Used: "USED";
157
+ }>;
158
+ }
159
+ /** @internal */
160
+ export declare const ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState>;
161
+ /** @internal */
162
+ export declare const ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState>;
163
+ /**
164
+ * @internal
165
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
166
+ */
167
+ export declare namespace ConsumerSecuredLoanAssetAttributesRegistrationState$ {
168
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema` instead. */
169
+ const inboundSchema: z.ZodNativeEnum<{
170
+ readonly Vic: "VIC";
171
+ readonly Nsw: "NSW";
172
+ readonly Qld: "QLD";
173
+ readonly Sa: "SA";
174
+ readonly Wa: "WA";
175
+ readonly Tas: "TAS";
176
+ readonly Nt: "NT";
177
+ readonly Act: "ACT";
178
+ }>;
179
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema` instead. */
180
+ const outboundSchema: z.ZodNativeEnum<{
181
+ readonly Vic: "VIC";
182
+ readonly Nsw: "NSW";
183
+ readonly Qld: "QLD";
184
+ readonly Sa: "SA";
185
+ readonly Wa: "WA";
186
+ readonly Tas: "TAS";
187
+ readonly Nt: "NT";
188
+ readonly Act: "ACT";
189
+ }>;
190
+ }
191
+ /** @internal */
192
+ export declare const ConsumerSecuredLoanAssetAttributes$inboundSchema: z.ZodType<ConsumerSecuredLoanAssetAttributes, z.ZodTypeDef, unknown>;
193
+ /** @internal */
194
+ export type ConsumerSecuredLoanAssetAttributes$Outbound = {
195
+ id: string;
196
+ ageOfAsset: number;
197
+ ageOfAssetAtEnd: number;
198
+ condition: string;
199
+ assetType: string;
200
+ assetValue: string;
201
+ make?: string | undefined;
202
+ assetModel?: string | undefined;
203
+ registrationNumber?: string | undefined;
204
+ registrationState?: string | undefined;
205
+ vin?: string | undefined;
206
+ supplierName?: string | undefined;
207
+ supplierABN?: string | undefined;
208
+ supplierAddress?: string | undefined;
209
+ supplierPhone?: string | undefined;
210
+ supplierContactName?: string | undefined;
211
+ supplierEmail?: string | undefined;
212
+ privateSale: boolean;
213
+ typeOfSale: string;
214
+ description: string;
215
+ netAssetValue: string;
216
+ isLuxury: boolean;
217
+ luxuryGst?: string | undefined;
218
+ additionalFees?: string | undefined;
219
+ additionalTaxes?: string | undefined;
220
+ };
221
+ /** @internal */
222
+ export declare const ConsumerSecuredLoanAssetAttributes$outboundSchema: z.ZodType<ConsumerSecuredLoanAssetAttributes$Outbound, z.ZodTypeDef, ConsumerSecuredLoanAssetAttributes>;
223
+ /**
224
+ * @internal
225
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
226
+ */
227
+ export declare namespace ConsumerSecuredLoanAssetAttributes$ {
228
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributes$inboundSchema` instead. */
229
+ const inboundSchema: z.ZodType<ConsumerSecuredLoanAssetAttributes, z.ZodTypeDef, unknown>;
230
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributes$outboundSchema` instead. */
231
+ const outboundSchema: z.ZodType<ConsumerSecuredLoanAssetAttributes$Outbound, z.ZodTypeDef, ConsumerSecuredLoanAssetAttributes>;
232
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributes$Outbound` instead. */
233
+ type Outbound = ConsumerSecuredLoanAssetAttributes$Outbound;
234
+ }
235
+ export declare function consumerSecuredLoanAssetAttributesToJSON(consumerSecuredLoanAssetAttributes: ConsumerSecuredLoanAssetAttributes): string;
236
+ export declare function consumerSecuredLoanAssetAttributesFromJSON(jsonString: string): SafeParseResult<ConsumerSecuredLoanAssetAttributes, SDKValidationError>;
237
+ //# sourceMappingURL=consumersecuredloanassetattributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumersecuredloanassetattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/consumersecuredloanassetattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,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,4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AkC,CA6BlC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mCAAmC,CAAC;IACnD,kFAAkF;IAC3E,MAAM,aAAa,sEAAmD,CAAC;IAC9E,mFAAmF;IAC5E,MAAM,cAAc,0GACwB,CAAC;IACpD,6EAA6E;IAC7E,KAAY,QAAQ,GAAG,2CAA2C,CAAC;CACpE;AAED,wBAAgB,wCAAwC,CACtD,kCAAkC,EAAE,kCAAkC,GACrE,MAAM,CAMR;AAED,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -0,0 +1,172 @@
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.ConsumerSecuredLoanAssetAttributes$ = exports.ConsumerSecuredLoanAssetAttributes$outboundSchema = exports.ConsumerSecuredLoanAssetAttributes$inboundSchema = exports.ConsumerSecuredLoanAssetAttributesRegistrationState$ = exports.ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema = exports.ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema = exports.ConsumerSecuredLoanAssetAttributesCondition$ = exports.ConsumerSecuredLoanAssetAttributesCondition$outboundSchema = exports.ConsumerSecuredLoanAssetAttributesCondition$inboundSchema = exports.ConsumerSecuredLoanAssetAttributesRegistrationState = exports.ConsumerSecuredLoanAssetAttributesCondition = void 0;
40
+ exports.consumerSecuredLoanAssetAttributesToJSON = consumerSecuredLoanAssetAttributesToJSON;
41
+ exports.consumerSecuredLoanAssetAttributesFromJSON = consumerSecuredLoanAssetAttributesFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const consumersecuredloanassettype_js_1 = require("./consumersecuredloanassettype.js");
45
+ /**
46
+ * Condition of asset
47
+ */
48
+ exports.ConsumerSecuredLoanAssetAttributesCondition = {
49
+ New: "NEW",
50
+ Demo: "DEMO",
51
+ Used: "USED",
52
+ };
53
+ /**
54
+ * Registration state (or territory) of asset
55
+ */
56
+ exports.ConsumerSecuredLoanAssetAttributesRegistrationState = {
57
+ Vic: "VIC",
58
+ Nsw: "NSW",
59
+ Qld: "QLD",
60
+ Sa: "SA",
61
+ Wa: "WA",
62
+ Tas: "TAS",
63
+ Nt: "NT",
64
+ Act: "ACT",
65
+ };
66
+ /** @internal */
67
+ exports.ConsumerSecuredLoanAssetAttributesCondition$inboundSchema = z
68
+ .nativeEnum(exports.ConsumerSecuredLoanAssetAttributesCondition);
69
+ /** @internal */
70
+ exports.ConsumerSecuredLoanAssetAttributesCondition$outboundSchema = exports.ConsumerSecuredLoanAssetAttributesCondition$inboundSchema;
71
+ /**
72
+ * @internal
73
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
+ */
75
+ var ConsumerSecuredLoanAssetAttributesCondition$;
76
+ (function (ConsumerSecuredLoanAssetAttributesCondition$) {
77
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$inboundSchema` instead. */
78
+ ConsumerSecuredLoanAssetAttributesCondition$.inboundSchema = exports.ConsumerSecuredLoanAssetAttributesCondition$inboundSchema;
79
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$outboundSchema` instead. */
80
+ ConsumerSecuredLoanAssetAttributesCondition$.outboundSchema = exports.ConsumerSecuredLoanAssetAttributesCondition$outboundSchema;
81
+ })(ConsumerSecuredLoanAssetAttributesCondition$ || (exports.ConsumerSecuredLoanAssetAttributesCondition$ = ConsumerSecuredLoanAssetAttributesCondition$ = {}));
82
+ /** @internal */
83
+ exports.ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema = z.nativeEnum(exports.ConsumerSecuredLoanAssetAttributesRegistrationState);
84
+ /** @internal */
85
+ exports.ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema = exports.ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema;
86
+ /**
87
+ * @internal
88
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
89
+ */
90
+ var ConsumerSecuredLoanAssetAttributesRegistrationState$;
91
+ (function (ConsumerSecuredLoanAssetAttributesRegistrationState$) {
92
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema` instead. */
93
+ ConsumerSecuredLoanAssetAttributesRegistrationState$.inboundSchema = exports.ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema;
94
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema` instead. */
95
+ ConsumerSecuredLoanAssetAttributesRegistrationState$.outboundSchema = exports.ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema;
96
+ })(ConsumerSecuredLoanAssetAttributesRegistrationState$ || (exports.ConsumerSecuredLoanAssetAttributesRegistrationState$ = ConsumerSecuredLoanAssetAttributesRegistrationState$ = {}));
97
+ /** @internal */
98
+ exports.ConsumerSecuredLoanAssetAttributes$inboundSchema = z.object({
99
+ id: z.string(),
100
+ ageOfAsset: z.number().int(),
101
+ ageOfAssetAtEnd: z.number().int(),
102
+ condition: exports.ConsumerSecuredLoanAssetAttributesCondition$inboundSchema,
103
+ assetType: consumersecuredloanassettype_js_1.ConsumerSecuredLoanAssetType$inboundSchema,
104
+ assetValue: z.string(),
105
+ make: z.string().optional(),
106
+ assetModel: z.string().optional(),
107
+ registrationNumber: z.string().optional(),
108
+ registrationState: exports.ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema
109
+ .optional(),
110
+ vin: z.string().optional(),
111
+ supplierName: z.string().optional(),
112
+ supplierABN: z.string().optional(),
113
+ supplierAddress: z.string().optional(),
114
+ supplierPhone: z.string().optional(),
115
+ supplierContactName: z.string().optional(),
116
+ supplierEmail: z.string().optional(),
117
+ privateSale: z.boolean(),
118
+ typeOfSale: z.string(),
119
+ description: z.string(),
120
+ netAssetValue: z.string(),
121
+ isLuxury: z.boolean(),
122
+ luxuryGst: z.string().optional(),
123
+ additionalFees: z.string().optional(),
124
+ additionalTaxes: z.string().optional(),
125
+ });
126
+ /** @internal */
127
+ exports.ConsumerSecuredLoanAssetAttributes$outboundSchema = z.object({
128
+ id: z.string(),
129
+ ageOfAsset: z.number().int(),
130
+ ageOfAssetAtEnd: z.number().int(),
131
+ condition: exports.ConsumerSecuredLoanAssetAttributesCondition$outboundSchema,
132
+ assetType: consumersecuredloanassettype_js_1.ConsumerSecuredLoanAssetType$outboundSchema,
133
+ assetValue: z.string(),
134
+ make: z.string().optional(),
135
+ assetModel: z.string().optional(),
136
+ registrationNumber: z.string().optional(),
137
+ registrationState: exports.ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema
138
+ .optional(),
139
+ vin: z.string().optional(),
140
+ supplierName: z.string().optional(),
141
+ supplierABN: z.string().optional(),
142
+ supplierAddress: z.string().optional(),
143
+ supplierPhone: z.string().optional(),
144
+ supplierContactName: z.string().optional(),
145
+ supplierEmail: z.string().optional(),
146
+ privateSale: z.boolean(),
147
+ typeOfSale: z.string(),
148
+ description: z.string(),
149
+ netAssetValue: z.string(),
150
+ isLuxury: z.boolean(),
151
+ luxuryGst: z.string().optional(),
152
+ additionalFees: z.string().optional(),
153
+ additionalTaxes: z.string().optional(),
154
+ });
155
+ /**
156
+ * @internal
157
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
158
+ */
159
+ var ConsumerSecuredLoanAssetAttributes$;
160
+ (function (ConsumerSecuredLoanAssetAttributes$) {
161
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributes$inboundSchema` instead. */
162
+ ConsumerSecuredLoanAssetAttributes$.inboundSchema = exports.ConsumerSecuredLoanAssetAttributes$inboundSchema;
163
+ /** @deprecated use `ConsumerSecuredLoanAssetAttributes$outboundSchema` instead. */
164
+ ConsumerSecuredLoanAssetAttributes$.outboundSchema = exports.ConsumerSecuredLoanAssetAttributes$outboundSchema;
165
+ })(ConsumerSecuredLoanAssetAttributes$ || (exports.ConsumerSecuredLoanAssetAttributes$ = ConsumerSecuredLoanAssetAttributes$ = {}));
166
+ function consumerSecuredLoanAssetAttributesToJSON(consumerSecuredLoanAssetAttributes) {
167
+ return JSON.stringify(exports.ConsumerSecuredLoanAssetAttributes$outboundSchema.parse(consumerSecuredLoanAssetAttributes));
168
+ }
169
+ function consumerSecuredLoanAssetAttributesFromJSON(jsonString) {
170
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanAssetAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanAssetAttributes' from JSON`);
171
+ }
172
+ //# sourceMappingURL=consumersecuredloanassetattributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumersecuredloanassetattributes.js","sourceRoot":"","sources":["../../src/models/components/consumersecuredloanassetattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwTH,4FAQC;AAED,gGASC;AAzUD,uCAAyB;AACzB,qDAAiD;AAIjD,uFAI2C;AAE3C;;GAEG;AACU,QAAA,2CAA2C,GAAG;IACzD,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX;;GAEG;AACU,QAAA,mDAAmD,GAAG;IACjE,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;CACF,CAAC;AAiHX,gBAAgB;AACH,QAAA,yDAAyD,GACE,CAAC;KACpE,UAAU,CAAC,mDAA2C,CAAC,CAAC;AAE7D,gBAAgB;AACH,QAAA,0DAA0D,GAEnE,iEAAyD,CAAC;AAE9D;;;GAGG;AACH,IAAiB,4CAA4C,CAO5D;AAPD,WAAiB,4CAA4C;IAC3D,2FAA2F;IAC9E,0DAAa,GACxB,iEAAyD,CAAC;IAC5D,4FAA4F;IAC/E,2DAAc,GACzB,kEAA0D,CAAC;AAC/D,CAAC,EAPgB,4CAA4C,4DAA5C,4CAA4C,QAO5D;AAED,gBAAgB;AACH,QAAA,iEAAiE,GAE1E,CAAC,CAAC,UAAU,CAAC,2DAAmD,CAAC,CAAC;AAEtE,gBAAgB;AACH,QAAA,kEAAkE,GAE3E,yEAAiE,CAAC;AAEtE;;;GAGG;AACH,IAAiB,oDAAoD,CAOpE;AAPD,WAAiB,oDAAoD;IACnE,mGAAmG;IACtF,kEAAa,GACxB,yEAAiE,CAAC;IACp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EAAE,CAAC,QAAQ,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mCAAmC,CAQnD;AARD,WAAiB,mCAAmC;IAClD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GACzB,yDAAiD,CAAC;AAGtD,CAAC,EARgB,mCAAmC,mDAAnC,mCAAmC,QAQnD;AAED,SAAgB,wCAAwC,CACtD,kCAAsE;IAEtE,OAAO,IAAI,CAAC,SAAS,CACnB,yDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,64 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const ConsumerSecuredLoanAssetType: {
4
+ readonly MotorVehicle: "MOTOR_VEHICLE";
5
+ readonly ElectricMotorVehicle: "ELECTRIC_MOTOR_VEHICLE";
6
+ readonly LuxuryVehicle: "LUXURY_VEHICLE";
7
+ readonly Motorbike: "MOTORBIKE";
8
+ readonly AtvOffRoadBike: "ATV_OFF_ROAD_BIKE";
9
+ readonly Caravan: "CARAVAN";
10
+ readonly Tractor: "TRACTOR";
11
+ readonly RideOnMower: "RIDE_ON_MOWER";
12
+ readonly HorseFloat: "HORSE_FLOAT";
13
+ readonly Trailer: "TRAILER";
14
+ readonly MotorHome: "MOTOR_HOME";
15
+ readonly TraileredBoat: "TRAILERED_BOAT";
16
+ readonly JetskiPwc: "JETSKI_PWC";
17
+ readonly GolfCart: "GOLF_CART";
18
+ };
19
+ export type ConsumerSecuredLoanAssetType = ClosedEnum<typeof ConsumerSecuredLoanAssetType>;
20
+ /** @internal */
21
+ export declare const ConsumerSecuredLoanAssetType$inboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetType>;
22
+ /** @internal */
23
+ export declare const ConsumerSecuredLoanAssetType$outboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetType>;
24
+ /**
25
+ * @internal
26
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
+ */
28
+ export declare namespace ConsumerSecuredLoanAssetType$ {
29
+ /** @deprecated use `ConsumerSecuredLoanAssetType$inboundSchema` instead. */
30
+ const inboundSchema: z.ZodNativeEnum<{
31
+ readonly MotorVehicle: "MOTOR_VEHICLE";
32
+ readonly ElectricMotorVehicle: "ELECTRIC_MOTOR_VEHICLE";
33
+ readonly LuxuryVehicle: "LUXURY_VEHICLE";
34
+ readonly Motorbike: "MOTORBIKE";
35
+ readonly AtvOffRoadBike: "ATV_OFF_ROAD_BIKE";
36
+ readonly Caravan: "CARAVAN";
37
+ readonly Tractor: "TRACTOR";
38
+ readonly RideOnMower: "RIDE_ON_MOWER";
39
+ readonly HorseFloat: "HORSE_FLOAT";
40
+ readonly Trailer: "TRAILER";
41
+ readonly MotorHome: "MOTOR_HOME";
42
+ readonly TraileredBoat: "TRAILERED_BOAT";
43
+ readonly JetskiPwc: "JETSKI_PWC";
44
+ readonly GolfCart: "GOLF_CART";
45
+ }>;
46
+ /** @deprecated use `ConsumerSecuredLoanAssetType$outboundSchema` instead. */
47
+ const outboundSchema: z.ZodNativeEnum<{
48
+ readonly MotorVehicle: "MOTOR_VEHICLE";
49
+ readonly ElectricMotorVehicle: "ELECTRIC_MOTOR_VEHICLE";
50
+ readonly LuxuryVehicle: "LUXURY_VEHICLE";
51
+ readonly Motorbike: "MOTORBIKE";
52
+ readonly AtvOffRoadBike: "ATV_OFF_ROAD_BIKE";
53
+ readonly Caravan: "CARAVAN";
54
+ readonly Tractor: "TRACTOR";
55
+ readonly RideOnMower: "RIDE_ON_MOWER";
56
+ readonly HorseFloat: "HORSE_FLOAT";
57
+ readonly Trailer: "TRAILER";
58
+ readonly MotorHome: "MOTOR_HOME";
59
+ readonly TraileredBoat: "TRAILERED_BOAT";
60
+ readonly JetskiPwc: "JETSKI_PWC";
61
+ readonly GolfCart: "GOLF_CART";
62
+ }>;
63
+ }
64
+ //# sourceMappingURL=consumersecuredloanassettype.d.ts.map