@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,443 @@
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.ConsumerSecuredLoanConsumerApplicationRelationships$ = exports.ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$ = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType = void 0;
40
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsDataToJSON = consumerSecuredLoanConsumerApplicationRelationshipsDataToJSON;
41
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsDataFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsDataFromJSON;
42
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsToJSON = consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsToJSON;
43
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsFromJSON;
44
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataToJSON = consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataToJSON;
45
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataFromJSON;
46
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsAddressesToJSON = consumerSecuredLoanConsumerApplicationRelationshipsAddressesToJSON;
47
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsAddressesFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsAddressesFromJSON;
48
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsToJSON = consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsToJSON;
49
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsFromJSON;
50
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataToJSON = consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataToJSON;
51
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataFromJSON;
52
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsCustomersToJSON = consumerSecuredLoanConsumerApplicationRelationshipsCustomersToJSON;
53
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsCustomersFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsCustomersFromJSON;
54
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsAssetDataToJSON = consumerSecuredLoanConsumerApplicationRelationshipsAssetDataToJSON;
55
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsAssetDataFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsAssetDataFromJSON;
56
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsAssetToJSON = consumerSecuredLoanConsumerApplicationRelationshipsAssetToJSON;
57
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsAssetFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsAssetFromJSON;
58
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsToJSON = consumerSecuredLoanConsumerApplicationRelationshipsToJSON;
59
+ exports.consumerSecuredLoanConsumerApplicationRelationshipsFromJSON = consumerSecuredLoanConsumerApplicationRelationshipsFromJSON;
60
+ const z = __importStar(require("zod"));
61
+ const schemas_js_1 = require("../../lib/schemas.js");
62
+ const addressattributes_js_1 = require("./addressattributes.js");
63
+ const consumersecuredloanassetattributes_js_1 = require("./consumersecuredloanassetattributes.js");
64
+ const customerattributes_js_1 = require("./customerattributes.js");
65
+ const linkobject_js_1 = require("./linkobject.js");
66
+ const loandetailsattributes_js_1 = require("./loandetailsattributes.js");
67
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType = {
68
+ LoanDetails: "loan-details",
69
+ };
70
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType = {
71
+ Customers: "customers",
72
+ };
73
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType = {
74
+ Addresses: "addresses",
75
+ };
76
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType = {
77
+ Assets: "assets",
78
+ };
79
+ /** @internal */
80
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema = z.nativeEnum(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType);
81
+ /** @internal */
82
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema;
83
+ /**
84
+ * @internal
85
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
86
+ */
87
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsType$;
88
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsType$) {
89
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema` instead. */
90
+ ConsumerSecuredLoanConsumerApplicationRelationshipsType$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema;
91
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema` instead. */
92
+ ConsumerSecuredLoanConsumerApplicationRelationshipsType$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema;
93
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsType$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$ = ConsumerSecuredLoanConsumerApplicationRelationshipsType$ = {}));
94
+ /** @internal */
95
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema = z.object({
96
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$inboundSchema,
97
+ attributes: loandetailsattributes_js_1.LoanDetailsAttributes$inboundSchema,
98
+ relationships: z.nullable(z.any()).optional(),
99
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
100
+ meta: z.record(z.any()).optional(),
101
+ });
102
+ /** @internal */
103
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema = z.object({
104
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsType$outboundSchema,
105
+ attributes: loandetailsattributes_js_1.LoanDetailsAttributes$outboundSchema,
106
+ relationships: z.nullable(z.any()).optional(),
107
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
108
+ meta: z.record(z.any()).optional(),
109
+ });
110
+ /**
111
+ * @internal
112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
113
+ */
114
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsData$;
115
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsData$) {
116
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema` instead. */
117
+ ConsumerSecuredLoanConsumerApplicationRelationshipsData$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema;
118
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema` instead. */
119
+ ConsumerSecuredLoanConsumerApplicationRelationshipsData$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema;
120
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsData$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$ = ConsumerSecuredLoanConsumerApplicationRelationshipsData$ = {}));
121
+ function consumerSecuredLoanConsumerApplicationRelationshipsDataToJSON(consumerSecuredLoanConsumerApplicationRelationshipsData) {
122
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema
123
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsData));
124
+ }
125
+ function consumerSecuredLoanConsumerApplicationRelationshipsDataFromJSON(jsonString) {
126
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema
127
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsData' from JSON`);
128
+ }
129
+ /** @internal */
130
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema = z.object({
131
+ data: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$inboundSchema),
132
+ });
133
+ /** @internal */
134
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema = z.object({
135
+ data: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsData$outboundSchema),
136
+ });
137
+ /**
138
+ * @internal
139
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
140
+ */
141
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$;
142
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$) {
143
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema` instead. */
144
+ ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema;
145
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema` instead. */
146
+ ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema;
147
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$ = ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$ = {}));
148
+ function consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsToJSON(consumerSecuredLoanConsumerApplicationRelationshipsLoanDetails) {
149
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema
150
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsLoanDetails));
151
+ }
152
+ function consumerSecuredLoanConsumerApplicationRelationshipsLoanDetailsFromJSON(jsonString) {
153
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema
154
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails' from JSON`);
155
+ }
156
+ /** @internal */
157
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema = z.nativeEnum(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType);
158
+ /** @internal */
159
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema;
160
+ /**
161
+ * @internal
162
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
163
+ */
164
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$;
165
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$) {
166
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema` instead. */
167
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema;
168
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema` instead. */
169
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema;
170
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$ = ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$ = {}));
171
+ /** @internal */
172
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema = z.nativeEnum(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType);
173
+ /** @internal */
174
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema;
175
+ /**
176
+ * @internal
177
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
178
+ */
179
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$;
180
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$) {
181
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
182
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema;
183
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
184
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema;
185
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$ = ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$ = {}));
186
+ /** @internal */
187
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema = z.object({
188
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$inboundSchema,
189
+ attributes: addressattributes_js_1.AddressAttributes$inboundSchema,
190
+ relationships: z.nullable(z.any()).optional(),
191
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
192
+ meta: z.record(z.any()).optional(),
193
+ });
194
+ /** @internal */
195
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema = z.object({
196
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataType$outboundSchema,
197
+ attributes: addressattributes_js_1.AddressAttributes$outboundSchema,
198
+ relationships: z.nullable(z.any()).optional(),
199
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
200
+ meta: z.record(z.any()).optional(),
201
+ });
202
+ /**
203
+ * @internal
204
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
205
+ */
206
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$;
207
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$) {
208
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
209
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema;
210
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
211
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema;
212
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$ = ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$ = {}));
213
+ function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataToJSON(consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData) {
214
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema
215
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData));
216
+ }
217
+ function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataDataFromJSON(jsonString) {
218
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema
219
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData' from JSON`);
220
+ }
221
+ /** @internal */
222
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema = z.object({
223
+ data: z.array(z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$inboundSchema)),
224
+ });
225
+ /** @internal */
226
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema = z.object({
227
+ data: z.array(z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersDataData$outboundSchema)),
228
+ });
229
+ /**
230
+ * @internal
231
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
232
+ */
233
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$;
234
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$) {
235
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema` instead. */
236
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema;
237
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema` instead. */
238
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema;
239
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$ = ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$ = {}));
240
+ function consumerSecuredLoanConsumerApplicationRelationshipsAddressesToJSON(consumerSecuredLoanConsumerApplicationRelationshipsAddresses) {
241
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema
242
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsAddresses));
243
+ }
244
+ function consumerSecuredLoanConsumerApplicationRelationshipsAddressesFromJSON(jsonString) {
245
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema
246
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses' from JSON`);
247
+ }
248
+ /** @internal */
249
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema = z.object({
250
+ addresses: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$inboundSchema).optional(),
251
+ });
252
+ /** @internal */
253
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema = z.object({
254
+ addresses: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAddresses$outboundSchema).optional(),
255
+ });
256
+ /**
257
+ * @internal
258
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
259
+ */
260
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$;
261
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$) {
262
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema` instead. */
263
+ ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema;
264
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema` instead. */
265
+ ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema;
266
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$ = ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$ = {}));
267
+ function consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsToJSON(consumerSecuredLoanConsumerApplicationRelationshipsRelationships) {
268
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema
269
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsRelationships));
270
+ }
271
+ function consumerSecuredLoanConsumerApplicationRelationshipsRelationshipsFromJSON(jsonString) {
272
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema
273
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships' from JSON`);
274
+ }
275
+ /** @internal */
276
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema = z.object({
277
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema,
278
+ attributes: customerattributes_js_1.CustomerAttributes$inboundSchema,
279
+ relationships: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema),
280
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
281
+ meta: z.record(z.any()).optional(),
282
+ });
283
+ /** @internal */
284
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema = z.object({
285
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema,
286
+ attributes: customerattributes_js_1.CustomerAttributes$outboundSchema,
287
+ relationships: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema),
288
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
289
+ meta: z.record(z.any()).optional(),
290
+ });
291
+ /**
292
+ * @internal
293
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
294
+ */
295
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$;
296
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$) {
297
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema` instead. */
298
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema;
299
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema` instead. */
300
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema;
301
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ = ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ = {}));
302
+ function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataToJSON(consumerSecuredLoanConsumerApplicationRelationshipsCustomersData) {
303
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema
304
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsCustomersData));
305
+ }
306
+ function consumerSecuredLoanConsumerApplicationRelationshipsCustomersDataFromJSON(jsonString) {
307
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema
308
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData' from JSON`);
309
+ }
310
+ /** @internal */
311
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema = z.object({
312
+ data: z.array(z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$inboundSchema)),
313
+ });
314
+ /** @internal */
315
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema = z.object({
316
+ data: z.array(z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$outboundSchema)),
317
+ });
318
+ /**
319
+ * @internal
320
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
321
+ */
322
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$;
323
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$) {
324
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema` instead. */
325
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema;
326
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema` instead. */
327
+ ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema;
328
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$ = ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$ = {}));
329
+ function consumerSecuredLoanConsumerApplicationRelationshipsCustomersToJSON(consumerSecuredLoanConsumerApplicationRelationshipsCustomers) {
330
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema
331
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsCustomers));
332
+ }
333
+ function consumerSecuredLoanConsumerApplicationRelationshipsCustomersFromJSON(jsonString) {
334
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema
335
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers' from JSON`);
336
+ }
337
+ /** @internal */
338
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema = z.nativeEnum(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType);
339
+ /** @internal */
340
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema;
341
+ /**
342
+ * @internal
343
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
344
+ */
345
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$;
346
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$) {
347
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema` instead. */
348
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema;
349
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema` instead. */
350
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema;
351
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$ = ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$ = {}));
352
+ /** @internal */
353
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema = z.object({
354
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$inboundSchema,
355
+ attributes: consumersecuredloanassetattributes_js_1.ConsumerSecuredLoanAssetAttributes$inboundSchema,
356
+ relationships: z.nullable(z.any()).optional(),
357
+ links: z.record(linkobject_js_1.LinkObject$inboundSchema).optional(),
358
+ meta: z.record(z.any()).optional(),
359
+ });
360
+ /** @internal */
361
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema = z.object({
362
+ type: exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetType$outboundSchema,
363
+ attributes: consumersecuredloanassetattributes_js_1.ConsumerSecuredLoanAssetAttributes$outboundSchema,
364
+ relationships: z.nullable(z.any()).optional(),
365
+ links: z.record(linkobject_js_1.LinkObject$outboundSchema).optional(),
366
+ meta: z.record(z.any()).optional(),
367
+ });
368
+ /**
369
+ * @internal
370
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
371
+ */
372
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$;
373
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$) {
374
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema` instead. */
375
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema;
376
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema` instead. */
377
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema;
378
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$ = ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$ = {}));
379
+ function consumerSecuredLoanConsumerApplicationRelationshipsAssetDataToJSON(consumerSecuredLoanConsumerApplicationRelationshipsAssetData) {
380
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema
381
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsAssetData));
382
+ }
383
+ function consumerSecuredLoanConsumerApplicationRelationshipsAssetDataFromJSON(jsonString) {
384
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema
385
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData' from JSON`);
386
+ }
387
+ /** @internal */
388
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema = z.object({
389
+ data: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$inboundSchema),
390
+ });
391
+ /** @internal */
392
+ exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema = z.object({
393
+ data: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAssetData$outboundSchema),
394
+ });
395
+ /**
396
+ * @internal
397
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
398
+ */
399
+ var ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$;
400
+ (function (ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$) {
401
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema` instead. */
402
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema;
403
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema` instead. */
404
+ ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema;
405
+ })(ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$ = ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$ = {}));
406
+ function consumerSecuredLoanConsumerApplicationRelationshipsAssetToJSON(consumerSecuredLoanConsumerApplicationRelationshipsAsset) {
407
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema
408
+ .parse(consumerSecuredLoanConsumerApplicationRelationshipsAsset));
409
+ }
410
+ function consumerSecuredLoanConsumerApplicationRelationshipsAssetFromJSON(jsonString) {
411
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema
412
+ .parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationshipsAsset' from JSON`);
413
+ }
414
+ /** @internal */
415
+ exports.ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema = z.object({
416
+ loanDetails: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$inboundSchema).optional(),
417
+ customers: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$inboundSchema).optional(),
418
+ asset: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$inboundSchema).optional(),
419
+ });
420
+ /** @internal */
421
+ exports.ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema = z.object({
422
+ loanDetails: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsLoanDetails$outboundSchema).optional(),
423
+ customers: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsCustomers$outboundSchema).optional(),
424
+ asset: z.lazy(() => exports.ConsumerSecuredLoanConsumerApplicationRelationshipsAsset$outboundSchema).optional(),
425
+ });
426
+ /**
427
+ * @internal
428
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
429
+ */
430
+ var ConsumerSecuredLoanConsumerApplicationRelationships$;
431
+ (function (ConsumerSecuredLoanConsumerApplicationRelationships$) {
432
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema` instead. */
433
+ ConsumerSecuredLoanConsumerApplicationRelationships$.inboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema;
434
+ /** @deprecated use `ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema` instead. */
435
+ ConsumerSecuredLoanConsumerApplicationRelationships$.outboundSchema = exports.ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema;
436
+ })(ConsumerSecuredLoanConsumerApplicationRelationships$ || (exports.ConsumerSecuredLoanConsumerApplicationRelationships$ = ConsumerSecuredLoanConsumerApplicationRelationships$ = {}));
437
+ function consumerSecuredLoanConsumerApplicationRelationshipsToJSON(consumerSecuredLoanConsumerApplicationRelationships) {
438
+ return JSON.stringify(exports.ConsumerSecuredLoanConsumerApplicationRelationships$outboundSchema.parse(consumerSecuredLoanConsumerApplicationRelationships));
439
+ }
440
+ function consumerSecuredLoanConsumerApplicationRelationshipsFromJSON(jsonString) {
441
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ConsumerSecuredLoanConsumerApplicationRelationships$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConsumerSecuredLoanConsumerApplicationRelationships' from JSON`);
442
+ }
443
+ //# sourceMappingURL=consumersecuredloanconsumerapplicationrelationships.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumersecuredloanconsumerapplicationrelationships.js","sourceRoot":"","sources":["../../src/models/components/consumersecuredloanconsumerapplicationrelationships.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;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CACb,CAAC,CAAC;AAeL,gBAAgB;AACH,QAAA,kEAAkE,GAKzE,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvB,qFAA6E,CAC9E,CAAC,QAAQ,EAAE;IACZ,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACrB,mFAA2E,CAC5E,CAAC,QAAQ,EAAE;IACZ,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACjB,+EAAuE,CACxE,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,oDAAoD,CAUpE;AAVD,WAAiB,oDAAoD;IACnE,mGAAmG;IACtF,kEAAa,GACxB,yEAAiE,CAAC;IACpE,oGAAoG;IACvF,mEAAc,GACzB,0EAAkE,CAAC;AAIvE,CAAC,EAVgB,oDAAoD,oEAApD,oDAAoD,QAUpE;AAED,SAAgB,yDAAyD,CACvE,mDACqD;IAErD,OAAO,IAAI,CAAC,SAAS,CACnB,0EAAkE,CAAC,KAAK,CACtE,mDAAmD,CACpD,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,2DAA2D,CACzE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yEAAiE,CAAC,KAAK,CACrE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,iFAAiF,CAClF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,124 @@
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 { LinkObject, LinkObject$Outbound } from "./linkobject.js";
6
+ import { SupportingDocumentAttributes, SupportingDocumentAttributes$Outbound } from "./supportingdocumentattributes.js";
7
+ import { SupportingDocumentRelationships, SupportingDocumentRelationships$Outbound } from "./supportingdocumentrelationships.js";
8
+ /**
9
+ * Resource types used in the API
10
+ */
11
+ export declare const CreateSupportingDocumentsResponseType: {
12
+ readonly ConsumerSecuredApplications: "consumer-secured-applications";
13
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
14
+ readonly SupportingDocuments: "supporting-documents";
15
+ readonly Customers: "customers";
16
+ readonly Assets: "assets";
17
+ readonly Entities: "entities";
18
+ readonly LoanDetails: "loan-details";
19
+ readonly Addresses: "addresses";
20
+ };
21
+ /**
22
+ * Resource types used in the API
23
+ */
24
+ export type CreateSupportingDocumentsResponseType = ClosedEnum<typeof CreateSupportingDocumentsResponseType>;
25
+ export type Links = {
26
+ /**
27
+ * Standard link object
28
+ */
29
+ upload: LinkObject;
30
+ };
31
+ export type CreateSupportingDocumentsResponse = {
32
+ type: CreateSupportingDocumentsResponseType;
33
+ id?: string | undefined;
34
+ attributes: SupportingDocumentAttributes;
35
+ relationships: SupportingDocumentRelationships;
36
+ links?: Links | undefined;
37
+ meta?: {
38
+ [k: string]: any;
39
+ } | undefined;
40
+ };
41
+ /** @internal */
42
+ export declare const CreateSupportingDocumentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateSupportingDocumentsResponseType>;
43
+ /** @internal */
44
+ export declare const CreateSupportingDocumentsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreateSupportingDocumentsResponseType>;
45
+ /**
46
+ * @internal
47
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
48
+ */
49
+ export declare namespace CreateSupportingDocumentsResponseType$ {
50
+ /** @deprecated use `CreateSupportingDocumentsResponseType$inboundSchema` instead. */
51
+ const inboundSchema: z.ZodNativeEnum<{
52
+ readonly ConsumerSecuredApplications: "consumer-secured-applications";
53
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
54
+ readonly SupportingDocuments: "supporting-documents";
55
+ readonly Customers: "customers";
56
+ readonly Assets: "assets";
57
+ readonly Entities: "entities";
58
+ readonly LoanDetails: "loan-details";
59
+ readonly Addresses: "addresses";
60
+ }>;
61
+ /** @deprecated use `CreateSupportingDocumentsResponseType$outboundSchema` instead. */
62
+ const outboundSchema: z.ZodNativeEnum<{
63
+ readonly ConsumerSecuredApplications: "consumer-secured-applications";
64
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
65
+ readonly SupportingDocuments: "supporting-documents";
66
+ readonly Customers: "customers";
67
+ readonly Assets: "assets";
68
+ readonly Entities: "entities";
69
+ readonly LoanDetails: "loan-details";
70
+ readonly Addresses: "addresses";
71
+ }>;
72
+ }
73
+ /** @internal */
74
+ export declare const Links$inboundSchema: z.ZodType<Links, z.ZodTypeDef, unknown>;
75
+ /** @internal */
76
+ export type Links$Outbound = {
77
+ upload: LinkObject$Outbound;
78
+ };
79
+ /** @internal */
80
+ export declare const Links$outboundSchema: z.ZodType<Links$Outbound, z.ZodTypeDef, Links>;
81
+ /**
82
+ * @internal
83
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
84
+ */
85
+ export declare namespace Links$ {
86
+ /** @deprecated use `Links$inboundSchema` instead. */
87
+ const inboundSchema: z.ZodType<Links, z.ZodTypeDef, unknown>;
88
+ /** @deprecated use `Links$outboundSchema` instead. */
89
+ const outboundSchema: z.ZodType<Links$Outbound, z.ZodTypeDef, Links>;
90
+ /** @deprecated use `Links$Outbound` instead. */
91
+ type Outbound = Links$Outbound;
92
+ }
93
+ export declare function linksToJSON(links: Links): string;
94
+ export declare function linksFromJSON(jsonString: string): SafeParseResult<Links, SDKValidationError>;
95
+ /** @internal */
96
+ export declare const CreateSupportingDocumentsResponse$inboundSchema: z.ZodType<CreateSupportingDocumentsResponse, z.ZodTypeDef, unknown>;
97
+ /** @internal */
98
+ export type CreateSupportingDocumentsResponse$Outbound = {
99
+ type: string;
100
+ id?: string | undefined;
101
+ attributes: SupportingDocumentAttributes$Outbound;
102
+ relationships: SupportingDocumentRelationships$Outbound;
103
+ links?: Links$Outbound | undefined;
104
+ meta?: {
105
+ [k: string]: any;
106
+ } | undefined;
107
+ };
108
+ /** @internal */
109
+ export declare const CreateSupportingDocumentsResponse$outboundSchema: z.ZodType<CreateSupportingDocumentsResponse$Outbound, z.ZodTypeDef, CreateSupportingDocumentsResponse>;
110
+ /**
111
+ * @internal
112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
113
+ */
114
+ export declare namespace CreateSupportingDocumentsResponse$ {
115
+ /** @deprecated use `CreateSupportingDocumentsResponse$inboundSchema` instead. */
116
+ const inboundSchema: z.ZodType<CreateSupportingDocumentsResponse, z.ZodTypeDef, unknown>;
117
+ /** @deprecated use `CreateSupportingDocumentsResponse$outboundSchema` instead. */
118
+ const outboundSchema: z.ZodType<CreateSupportingDocumentsResponse$Outbound, z.ZodTypeDef, CreateSupportingDocumentsResponse>;
119
+ /** @deprecated use `CreateSupportingDocumentsResponse$Outbound` instead. */
120
+ type Outbound = CreateSupportingDocumentsResponse$Outbound;
121
+ }
122
+ export declare function createSupportingDocumentsResponseToJSON(createSupportingDocumentsResponse: CreateSupportingDocumentsResponse): string;
123
+ export declare function createSupportingDocumentsResponseFromJSON(jsonString: string): SafeParseResult<CreateSupportingDocumentsResponse, SDKValidationError>;
124
+ //# sourceMappingURL=createsupportingdocumentsresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createsupportingdocumentsresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createsupportingdocumentsresponse.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,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,m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