@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,158 @@
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.CommercialSecuredApplicationPayload$ = exports.CommercialSecuredApplicationPayload$outboundSchema = exports.CommercialSecuredApplicationPayload$inboundSchema = exports.Attributes$ = exports.Attributes$outboundSchema = exports.Attributes$inboundSchema = exports.ApplicationType$ = exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema = exports.CommercialSecuredApplicationPayloadType$ = exports.CommercialSecuredApplicationPayloadType$outboundSchema = exports.CommercialSecuredApplicationPayloadType$inboundSchema = exports.ApplicationType = exports.CommercialSecuredApplicationPayloadType = void 0;
40
+ exports.attributesToJSON = attributesToJSON;
41
+ exports.attributesFromJSON = attributesFromJSON;
42
+ exports.commercialSecuredApplicationPayloadToJSON = commercialSecuredApplicationPayloadToJSON;
43
+ exports.commercialSecuredApplicationPayloadFromJSON = commercialSecuredApplicationPayloadFromJSON;
44
+ const z = __importStar(require("zod"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ const commercialsecuredloancommercialapplicationrelationships_js_1 = require("./commercialsecuredloancommercialapplicationrelationships.js");
47
+ const linkobject_js_1 = require("./linkobject.js");
48
+ /**
49
+ * Resource types used in the API
50
+ */
51
+ exports.CommercialSecuredApplicationPayloadType = {
52
+ ConsumerSecuredApplications: "consumer-secured-applications",
53
+ CommercialSecuredApplications: "commercial-secured-applications",
54
+ SupportingDocuments: "supporting-documents",
55
+ Customers: "customers",
56
+ Assets: "assets",
57
+ Entities: "entities",
58
+ LoanDetails: "loan-details",
59
+ Addresses: "addresses",
60
+ };
61
+ /**
62
+ * Type of the loan application
63
+ */
64
+ exports.ApplicationType = {
65
+ CommercialSecured: "commercialSecured",
66
+ };
67
+ /** @internal */
68
+ exports.CommercialSecuredApplicationPayloadType$inboundSchema = z
69
+ .nativeEnum(exports.CommercialSecuredApplicationPayloadType);
70
+ /** @internal */
71
+ exports.CommercialSecuredApplicationPayloadType$outboundSchema = exports.CommercialSecuredApplicationPayloadType$inboundSchema;
72
+ /**
73
+ * @internal
74
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
+ */
76
+ var CommercialSecuredApplicationPayloadType$;
77
+ (function (CommercialSecuredApplicationPayloadType$) {
78
+ /** @deprecated use `CommercialSecuredApplicationPayloadType$inboundSchema` instead. */
79
+ CommercialSecuredApplicationPayloadType$.inboundSchema = exports.CommercialSecuredApplicationPayloadType$inboundSchema;
80
+ /** @deprecated use `CommercialSecuredApplicationPayloadType$outboundSchema` instead. */
81
+ CommercialSecuredApplicationPayloadType$.outboundSchema = exports.CommercialSecuredApplicationPayloadType$outboundSchema;
82
+ })(CommercialSecuredApplicationPayloadType$ || (exports.CommercialSecuredApplicationPayloadType$ = CommercialSecuredApplicationPayloadType$ = {}));
83
+ /** @internal */
84
+ exports.ApplicationType$inboundSchema = z.nativeEnum(exports.ApplicationType);
85
+ /** @internal */
86
+ exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema;
87
+ /**
88
+ * @internal
89
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
90
+ */
91
+ var ApplicationType$;
92
+ (function (ApplicationType$) {
93
+ /** @deprecated use `ApplicationType$inboundSchema` instead. */
94
+ ApplicationType$.inboundSchema = exports.ApplicationType$inboundSchema;
95
+ /** @deprecated use `ApplicationType$outboundSchema` instead. */
96
+ ApplicationType$.outboundSchema = exports.ApplicationType$outboundSchema;
97
+ })(ApplicationType$ || (exports.ApplicationType$ = ApplicationType$ = {}));
98
+ /** @internal */
99
+ exports.Attributes$inboundSchema = z.object({
100
+ applicationType: exports.ApplicationType$inboundSchema,
101
+ associatedBrokerEmail: z.string().optional(),
102
+ });
103
+ /** @internal */
104
+ exports.Attributes$outboundSchema = z.object({
105
+ applicationType: exports.ApplicationType$outboundSchema,
106
+ associatedBrokerEmail: z.string().optional(),
107
+ });
108
+ /**
109
+ * @internal
110
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
111
+ */
112
+ var Attributes$;
113
+ (function (Attributes$) {
114
+ /** @deprecated use `Attributes$inboundSchema` instead. */
115
+ Attributes$.inboundSchema = exports.Attributes$inboundSchema;
116
+ /** @deprecated use `Attributes$outboundSchema` instead. */
117
+ Attributes$.outboundSchema = exports.Attributes$outboundSchema;
118
+ })(Attributes$ || (exports.Attributes$ = Attributes$ = {}));
119
+ function attributesToJSON(attributes) {
120
+ return JSON.stringify(exports.Attributes$outboundSchema.parse(attributes));
121
+ }
122
+ function attributesFromJSON(jsonString) {
123
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Attributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Attributes' from JSON`);
124
+ }
125
+ /** @internal */
126
+ exports.CommercialSecuredApplicationPayload$inboundSchema = z.object({
127
+ type: exports.CommercialSecuredApplicationPayloadType$inboundSchema,
128
+ attributes: z.lazy(() => exports.Attributes$inboundSchema),
129
+ relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema,
130
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
131
+ meta: z.record(z.any()).optional(),
132
+ });
133
+ /** @internal */
134
+ exports.CommercialSecuredApplicationPayload$outboundSchema = z.object({
135
+ type: exports.CommercialSecuredApplicationPayloadType$outboundSchema,
136
+ attributes: z.lazy(() => exports.Attributes$outboundSchema),
137
+ relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema,
138
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
139
+ meta: z.record(z.any()).optional(),
140
+ });
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
+ var CommercialSecuredApplicationPayload$;
146
+ (function (CommercialSecuredApplicationPayload$) {
147
+ /** @deprecated use `CommercialSecuredApplicationPayload$inboundSchema` instead. */
148
+ CommercialSecuredApplicationPayload$.inboundSchema = exports.CommercialSecuredApplicationPayload$inboundSchema;
149
+ /** @deprecated use `CommercialSecuredApplicationPayload$outboundSchema` instead. */
150
+ CommercialSecuredApplicationPayload$.outboundSchema = exports.CommercialSecuredApplicationPayload$outboundSchema;
151
+ })(CommercialSecuredApplicationPayload$ || (exports.CommercialSecuredApplicationPayload$ = CommercialSecuredApplicationPayload$ = {}));
152
+ function commercialSecuredApplicationPayloadToJSON(commercialSecuredApplicationPayload) {
153
+ return JSON.stringify(exports.CommercialSecuredApplicationPayload$outboundSchema.parse(commercialSecuredApplicationPayload));
154
+ }
155
+ function commercialSecuredApplicationPayloadFromJSON(jsonString) {
156
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredApplicationPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredApplicationPayload' from JSON`);
157
+ }
158
+ //# sourceMappingURL=commercialsecuredapplicationpayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commercialsecuredapplicationpayload.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+JH,4CAEC;AAED,gDAQC;AAuDD,8FAQC;AAED,kGASC;AAnPD,uCAAyB;AACzB,qDAAiD;AAIjD,6IAKsE;AACtE,mDAKyB;AAEzB;;GAEG;AACU,QAAA,uCAAuC,GAAG;IACrD,2BAA2B,EAAE,+BAA+B;IAC5D,6BAA6B,EAAE,iCAAiC;IAChE,mBAAmB,EAAE,sBAAsB;IAC3C,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,WAAW;CACd,CAAC;AAQX;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AA+BX,gBAAgB;AACH,QAAA,qDAAqD,GACE,CAAC;KAChE,UAAU,CAAC,+CAAuC,CAAC,CAAC;AAEzD,gBAAgB;AACH,QAAA,sDAAsD,GAE/D,6DAAqD,CAAC;AAE1D;;;G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I,CAAC,SAAS,CACnB,0DAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,171 @@
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 { ApplicationStatus } from "./applicationstatus.js";
6
+ import { CommercialApplicationJsonApiRelationships, CommercialApplicationJsonApiRelationships$Outbound } from "./commercialapplicationjsonapirelationships.js";
7
+ import { LinkObject, LinkObject$Outbound } from "./linkobject.js";
8
+ export declare const CommercialSecuredApplicationResourceType: {
9
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
10
+ };
11
+ export type CommercialSecuredApplicationResourceType = ClosedEnum<typeof CommercialSecuredApplicationResourceType>;
12
+ /**
13
+ * Type of the loan application
14
+ */
15
+ export declare const CommercialSecuredApplicationResourceApplicationType: {
16
+ readonly CommercialSecured: "commercialSecured";
17
+ };
18
+ /**
19
+ * Type of the loan application
20
+ */
21
+ export type CommercialSecuredApplicationResourceApplicationType = ClosedEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
22
+ /**
23
+ * Application resource attributes
24
+ */
25
+ export type CommercialSecuredApplicationResourceAttributes = {
26
+ /**
27
+ * Full identifier of the application. Not visible within the web application.
28
+ */
29
+ id: string;
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: CommercialSecuredApplicationResourceApplicationType;
38
+ /**
39
+ * Current status, must be 'workshop' for new applications
40
+ */
41
+ status: ApplicationStatus;
42
+ /**
43
+ * Email address of the broker to be associated with this application.
44
+ */
45
+ associatedBrokerEmail?: string | undefined;
46
+ /**
47
+ * Creation timestamp
48
+ */
49
+ createdAt?: string | undefined;
50
+ /**
51
+ * Last update timestamp
52
+ */
53
+ updatedAt?: string | undefined;
54
+ };
55
+ /**
56
+ * A Commercial Application resource following JSON:API structure
57
+ */
58
+ export type CommercialSecuredApplicationResource = {
59
+ type: CommercialSecuredApplicationResourceType;
60
+ id?: string | undefined;
61
+ /**
62
+ * Application resource attributes
63
+ */
64
+ attributes: CommercialSecuredApplicationResourceAttributes;
65
+ /**
66
+ * Relationships for a Commercial Application Resource
67
+ */
68
+ relationships: CommercialApplicationJsonApiRelationships;
69
+ links?: {
70
+ [k: string]: LinkObject;
71
+ } | undefined;
72
+ meta?: {
73
+ [k: string]: any;
74
+ } | undefined;
75
+ };
76
+ /** @internal */
77
+ export declare const CommercialSecuredApplicationResourceType$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType>;
78
+ /** @internal */
79
+ export declare const CommercialSecuredApplicationResourceType$outboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType>;
80
+ /**
81
+ * @internal
82
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
+ */
84
+ export declare namespace CommercialSecuredApplicationResourceType$ {
85
+ /** @deprecated use `CommercialSecuredApplicationResourceType$inboundSchema` instead. */
86
+ const inboundSchema: z.ZodNativeEnum<{
87
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
88
+ }>;
89
+ /** @deprecated use `CommercialSecuredApplicationResourceType$outboundSchema` instead. */
90
+ const outboundSchema: z.ZodNativeEnum<{
91
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
92
+ }>;
93
+ }
94
+ /** @internal */
95
+ export declare const CommercialSecuredApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
96
+ /** @internal */
97
+ export declare const CommercialSecuredApplicationResourceApplicationType$outboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
98
+ /**
99
+ * @internal
100
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
+ */
102
+ export declare namespace CommercialSecuredApplicationResourceApplicationType$ {
103
+ /** @deprecated use `CommercialSecuredApplicationResourceApplicationType$inboundSchema` instead. */
104
+ const inboundSchema: z.ZodNativeEnum<{
105
+ readonly CommercialSecured: "commercialSecured";
106
+ }>;
107
+ /** @deprecated use `CommercialSecuredApplicationResourceApplicationType$outboundSchema` instead. */
108
+ const outboundSchema: z.ZodNativeEnum<{
109
+ readonly CommercialSecured: "commercialSecured";
110
+ }>;
111
+ }
112
+ /** @internal */
113
+ export declare const CommercialSecuredApplicationResourceAttributes$inboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes, z.ZodTypeDef, unknown>;
114
+ /** @internal */
115
+ export type CommercialSecuredApplicationResourceAttributes$Outbound = {
116
+ id: string;
117
+ humanId: string;
118
+ applicationType: string;
119
+ status: string;
120
+ associatedBrokerEmail?: string | undefined;
121
+ createdAt?: string | undefined;
122
+ updatedAt?: string | undefined;
123
+ };
124
+ /** @internal */
125
+ export declare const CommercialSecuredApplicationResourceAttributes$outboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResourceAttributes>;
126
+ /**
127
+ * @internal
128
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
129
+ */
130
+ export declare namespace CommercialSecuredApplicationResourceAttributes$ {
131
+ /** @deprecated use `CommercialSecuredApplicationResourceAttributes$inboundSchema` instead. */
132
+ const inboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes, z.ZodTypeDef, unknown>;
133
+ /** @deprecated use `CommercialSecuredApplicationResourceAttributes$outboundSchema` instead. */
134
+ const outboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResourceAttributes>;
135
+ /** @deprecated use `CommercialSecuredApplicationResourceAttributes$Outbound` instead. */
136
+ type Outbound = CommercialSecuredApplicationResourceAttributes$Outbound;
137
+ }
138
+ export declare function commercialSecuredApplicationResourceAttributesToJSON(commercialSecuredApplicationResourceAttributes: CommercialSecuredApplicationResourceAttributes): string;
139
+ export declare function commercialSecuredApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<CommercialSecuredApplicationResourceAttributes, SDKValidationError>;
140
+ /** @internal */
141
+ export declare const CommercialSecuredApplicationResource$inboundSchema: z.ZodType<CommercialSecuredApplicationResource, z.ZodTypeDef, unknown>;
142
+ /** @internal */
143
+ export type CommercialSecuredApplicationResource$Outbound = {
144
+ type: string;
145
+ id?: string | undefined;
146
+ attributes: CommercialSecuredApplicationResourceAttributes$Outbound;
147
+ relationships: CommercialApplicationJsonApiRelationships$Outbound;
148
+ links?: {
149
+ [k: string]: LinkObject$Outbound;
150
+ } | undefined;
151
+ meta?: {
152
+ [k: string]: any;
153
+ } | undefined;
154
+ };
155
+ /** @internal */
156
+ export declare const CommercialSecuredApplicationResource$outboundSchema: z.ZodType<CommercialSecuredApplicationResource$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResource>;
157
+ /**
158
+ * @internal
159
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
160
+ */
161
+ export declare namespace CommercialSecuredApplicationResource$ {
162
+ /** @deprecated use `CommercialSecuredApplicationResource$inboundSchema` instead. */
163
+ const inboundSchema: z.ZodType<CommercialSecuredApplicationResource, z.ZodTypeDef, unknown>;
164
+ /** @deprecated use `CommercialSecuredApplicationResource$outboundSchema` instead. */
165
+ const outboundSchema: z.ZodType<CommercialSecuredApplicationResource$Outbound, z.ZodTypeDef, CommercialSecuredApplicationResource>;
166
+ /** @deprecated use `CommercialSecuredApplicationResource$Outbound` instead. */
167
+ type Outbound = CommercialSecuredApplicationResource$Outbound;
168
+ }
169
+ export declare function commercialSecuredApplicationResourceToJSON(commercialSecuredApplicationResource: CommercialSecuredApplicationResource): string;
170
+ export declare function commercialSecuredApplicationResourceFromJSON(jsonString: string): SafeParseResult<CommercialSecuredApplicationResource, SDKValidationError>;
171
+ //# sourceMappingURL=commercialsecuredapplicationresource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commercialsecuredapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.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,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,yCAAyC,EAEzC,kDAAkD,EAEnD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,wCAAwC;;CAE3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,UAAU,CAC/D,OAAO,wCAAwC,CAChD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mDAAmD;;CAEtD,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mDAAmD,GAAG,UAAU,CAC1E,OAAO,mDAAmD,CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,eAAe,EAAE,mDAAmD,CAAC;IACrE;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,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,CAAC;IACpE,aAAa,EAAE,kDAAkD,CAAC;IAClE,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAA;KAAE,GAAG,SAAS,CAAC;IACzD,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAUpC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qCAAqC,CAAC;IACrD,oFAAoF;IAC7E,MAAM,aAAa,wEAC0B,CAAC;IACrD,qFAAqF;IAC9E,MAAM,cAAc,8GAC0B,CAAC;IACtD,+EAA+E;IAC/E,KAAY,QAAQ,GAAG,6CAA6C,CAAC;CACtE;AAED,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AAED,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
@@ -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.CommercialSecuredApplicationResource$ = exports.CommercialSecuredApplicationResource$outboundSchema = exports.CommercialSecuredApplicationResource$inboundSchema = exports.CommercialSecuredApplicationResourceAttributes$ = exports.CommercialSecuredApplicationResourceAttributes$outboundSchema = exports.CommercialSecuredApplicationResourceAttributes$inboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$ = exports.CommercialSecuredApplicationResourceApplicationType$outboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$inboundSchema = exports.CommercialSecuredApplicationResourceType$ = exports.CommercialSecuredApplicationResourceType$outboundSchema = exports.CommercialSecuredApplicationResourceType$inboundSchema = exports.CommercialSecuredApplicationResourceApplicationType = exports.CommercialSecuredApplicationResourceType = void 0;
40
+ exports.commercialSecuredApplicationResourceAttributesToJSON = commercialSecuredApplicationResourceAttributesToJSON;
41
+ exports.commercialSecuredApplicationResourceAttributesFromJSON = commercialSecuredApplicationResourceAttributesFromJSON;
42
+ exports.commercialSecuredApplicationResourceToJSON = commercialSecuredApplicationResourceToJSON;
43
+ exports.commercialSecuredApplicationResourceFromJSON = commercialSecuredApplicationResourceFromJSON;
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 commercialapplicationjsonapirelationships_js_1 = require("./commercialapplicationjsonapirelationships.js");
48
+ const linkobject_js_1 = require("./linkobject.js");
49
+ exports.CommercialSecuredApplicationResourceType = {
50
+ CommercialSecuredApplications: "commercial-secured-applications",
51
+ };
52
+ /**
53
+ * Type of the loan application
54
+ */
55
+ exports.CommercialSecuredApplicationResourceApplicationType = {
56
+ CommercialSecured: "commercialSecured",
57
+ };
58
+ /** @internal */
59
+ exports.CommercialSecuredApplicationResourceType$inboundSchema = z
60
+ .nativeEnum(exports.CommercialSecuredApplicationResourceType);
61
+ /** @internal */
62
+ exports.CommercialSecuredApplicationResourceType$outboundSchema = exports.CommercialSecuredApplicationResourceType$inboundSchema;
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ var CommercialSecuredApplicationResourceType$;
68
+ (function (CommercialSecuredApplicationResourceType$) {
69
+ /** @deprecated use `CommercialSecuredApplicationResourceType$inboundSchema` instead. */
70
+ CommercialSecuredApplicationResourceType$.inboundSchema = exports.CommercialSecuredApplicationResourceType$inboundSchema;
71
+ /** @deprecated use `CommercialSecuredApplicationResourceType$outboundSchema` instead. */
72
+ CommercialSecuredApplicationResourceType$.outboundSchema = exports.CommercialSecuredApplicationResourceType$outboundSchema;
73
+ })(CommercialSecuredApplicationResourceType$ || (exports.CommercialSecuredApplicationResourceType$ = CommercialSecuredApplicationResourceType$ = {}));
74
+ /** @internal */
75
+ exports.CommercialSecuredApplicationResourceApplicationType$inboundSchema = z.nativeEnum(exports.CommercialSecuredApplicationResourceApplicationType);
76
+ /** @internal */
77
+ exports.CommercialSecuredApplicationResourceApplicationType$outboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$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 CommercialSecuredApplicationResourceApplicationType$;
83
+ (function (CommercialSecuredApplicationResourceApplicationType$) {
84
+ /** @deprecated use `CommercialSecuredApplicationResourceApplicationType$inboundSchema` instead. */
85
+ CommercialSecuredApplicationResourceApplicationType$.inboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$inboundSchema;
86
+ /** @deprecated use `CommercialSecuredApplicationResourceApplicationType$outboundSchema` instead. */
87
+ CommercialSecuredApplicationResourceApplicationType$.outboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$outboundSchema;
88
+ })(CommercialSecuredApplicationResourceApplicationType$ || (exports.CommercialSecuredApplicationResourceApplicationType$ = CommercialSecuredApplicationResourceApplicationType$ = {}));
89
+ /** @internal */
90
+ exports.CommercialSecuredApplicationResourceAttributes$inboundSchema = z.object({
91
+ id: z.string(),
92
+ humanId: z.string(),
93
+ applicationType: exports.CommercialSecuredApplicationResourceApplicationType$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.CommercialSecuredApplicationResourceAttributes$outboundSchema = z.object({
101
+ id: z.string(),
102
+ humanId: z.string(),
103
+ applicationType: exports.CommercialSecuredApplicationResourceApplicationType$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 CommercialSecuredApplicationResourceAttributes$;
114
+ (function (CommercialSecuredApplicationResourceAttributes$) {
115
+ /** @deprecated use `CommercialSecuredApplicationResourceAttributes$inboundSchema` instead. */
116
+ CommercialSecuredApplicationResourceAttributes$.inboundSchema = exports.CommercialSecuredApplicationResourceAttributes$inboundSchema;
117
+ /** @deprecated use `CommercialSecuredApplicationResourceAttributes$outboundSchema` instead. */
118
+ CommercialSecuredApplicationResourceAttributes$.outboundSchema = exports.CommercialSecuredApplicationResourceAttributes$outboundSchema;
119
+ })(CommercialSecuredApplicationResourceAttributes$ || (exports.CommercialSecuredApplicationResourceAttributes$ = CommercialSecuredApplicationResourceAttributes$ = {}));
120
+ function commercialSecuredApplicationResourceAttributesToJSON(commercialSecuredApplicationResourceAttributes) {
121
+ return JSON.stringify(exports.CommercialSecuredApplicationResourceAttributes$outboundSchema.parse(commercialSecuredApplicationResourceAttributes));
122
+ }
123
+ function commercialSecuredApplicationResourceAttributesFromJSON(jsonString) {
124
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredApplicationResourceAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredApplicationResourceAttributes' from JSON`);
125
+ }
126
+ /** @internal */
127
+ exports.CommercialSecuredApplicationResource$inboundSchema = z.object({
128
+ type: exports.CommercialSecuredApplicationResourceType$inboundSchema,
129
+ id: z.string().optional(),
130
+ attributes: z.lazy(() => exports.CommercialSecuredApplicationResourceAttributes$inboundSchema),
131
+ relationships: commercialapplicationjsonapirelationships_js_1.CommercialApplicationJsonApiRelationships$inboundSchema,
132
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
133
+ meta: z.record(z.any()).optional(),
134
+ });
135
+ /** @internal */
136
+ exports.CommercialSecuredApplicationResource$outboundSchema = z.object({
137
+ type: exports.CommercialSecuredApplicationResourceType$outboundSchema,
138
+ id: z.string().optional(),
139
+ attributes: z.lazy(() => exports.CommercialSecuredApplicationResourceAttributes$outboundSchema),
140
+ relationships: commercialapplicationjsonapirelationships_js_1.CommercialApplicationJsonApiRelationships$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 CommercialSecuredApplicationResource$;
149
+ (function (CommercialSecuredApplicationResource$) {
150
+ /** @deprecated use `CommercialSecuredApplicationResource$inboundSchema` instead. */
151
+ CommercialSecuredApplicationResource$.inboundSchema = exports.CommercialSecuredApplicationResource$inboundSchema;
152
+ /** @deprecated use `CommercialSecuredApplicationResource$outboundSchema` instead. */
153
+ CommercialSecuredApplicationResource$.outboundSchema = exports.CommercialSecuredApplicationResource$outboundSchema;
154
+ })(CommercialSecuredApplicationResource$ || (exports.CommercialSecuredApplicationResource$ = CommercialSecuredApplicationResource$ = {}));
155
+ function commercialSecuredApplicationResourceToJSON(commercialSecuredApplicationResource) {
156
+ return JSON.stringify(exports.CommercialSecuredApplicationResource$outboundSchema.parse(commercialSecuredApplicationResource));
157
+ }
158
+ function commercialSecuredApplicationResourceFromJSON(jsonString) {
159
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommercialSecuredApplicationResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommercialSecuredApplicationResource' from JSON`);
160
+ }
161
+ //# sourceMappingURL=commercialsecuredapplicationresource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commercialsecuredapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4MH,oHASC;AAED,wHAcC;AA2DD,gGAQC;AAED,oGASC;AAjTD,uCAAyB;AACzB,qDAAiD;AAIjD,iEAIgC;AAChC,iHAKwD;AACxD,mDAKyB;AAEZ,QAAA,wCAAwC,GAAG;IACtD,6BAA6B,EAAE,iCAAiC;CACxD,CAAC;AAKX;;GAEG;AACU,QAAA,mDAAmD,GAAG;IACjE,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AA4DX,gBAAgB;AACH,QAAA,sDAAsD,GACE,CAAC;KACjE,UAAU,CAAC,gDAAwC,CAAC,CAAC;AAE1D,gBAAgB;AACH,QAAA,uDAAuD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