@financeable/aggregation 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/FUNCTIONS.md +11 -132
  2. package/README.md +262 -1515
  3. package/docs/sdks/applications/README.md +171 -295
  4. package/docs/sdks/oauthtoken/README.md +5 -5
  5. package/docs/sdks/supportingdocuments/README.md +113 -0
  6. package/funcs/applicationsCreate.d.ts +1 -2
  7. package/funcs/applicationsCreate.d.ts.map +1 -1
  8. package/funcs/applicationsCreate.js +2 -3
  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 +15 -0
  15. package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
  16. package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +15 -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 +8 -8
  32. package/models/components/addressattributes.d.ts.map +1 -1
  33. package/models/components/addressattributes.js +13 -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/commercialapplicationresource.d.ts +191 -0
  48. package/models/components/commercialapplicationresource.d.ts.map +1 -0
  49. package/models/components/commercialapplicationresource.js +183 -0
  50. package/models/components/commercialapplicationresource.js.map +1 -0
  51. package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts +124 -0
  52. package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
  53. package/models/components/commercialsecuredloanapplicationsubmissionpayload.js +144 -0
  54. package/models/components/commercialsecuredloanapplicationsubmissionpayload.js.map +1 -0
  55. package/models/components/commercialsecuredloanassetattributes.d.ts +235 -0
  56. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
  57. package/models/components/commercialsecuredloanassetattributes.js +168 -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 +455 -0
  64. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
  65. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +504 -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/consumerapplicationresource.d.ts +191 -0
  72. package/models/components/consumerapplicationresource.d.ts.map +1 -0
  73. package/models/components/consumerapplicationresource.js +187 -0
  74. package/models/components/consumerapplicationresource.js.map +1 -0
  75. package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts +124 -0
  76. package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
  77. package/models/components/consumersecuredloanapplicationsubmissionpayload.js +146 -0
  78. package/models/components/consumersecuredloanapplicationsubmissionpayload.js.map +1 -0
  79. package/models/components/consumersecuredloanassetattributes.d.ts +235 -0
  80. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
  81. package/models/components/consumersecuredloanassetattributes.js +170 -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 +376 -0
  88. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
  89. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +426 -0
  90. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  91. package/models/components/createsupportingdocumentsresponse.d.ts +121 -0
  92. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
  93. package/models/components/createsupportingdocumentsresponse.js +149 -0
  94. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  95. package/models/components/documenttype.d.ts +70 -0
  96. package/models/components/documenttype.d.ts.map +1 -0
  97. package/models/components/documenttype.js +75 -0
  98. package/models/components/documenttype.js.map +1 -0
  99. package/models/components/entityattributes.d.ts +0 -22
  100. package/models/components/entityattributes.d.ts.map +1 -1
  101. package/models/components/entityattributes.js +0 -19
  102. package/models/components/entityattributes.js.map +1 -1
  103. package/models/components/forbiddenerror.d.ts +17 -39
  104. package/models/components/forbiddenerror.d.ts.map +1 -1
  105. package/models/components/forbiddenerror.js +27 -46
  106. package/models/components/forbiddenerror.js.map +1 -1
  107. package/models/components/index.d.ts +25 -8
  108. package/models/components/index.d.ts.map +1 -1
  109. package/models/components/index.js +25 -8
  110. package/models/components/index.js.map +1 -1
  111. package/models/components/linkobject.d.ts +47 -0
  112. package/models/components/linkobject.d.ts.map +1 -0
  113. package/models/components/linkobject.js +77 -0
  114. package/models/components/linkobject.js.map +1 -0
  115. package/models/components/relationshipresourcenotfound.d.ts +116 -0
  116. package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
  117. package/models/components/relationshipresourcenotfound.js +139 -0
  118. package/models/components/relationshipresourcenotfound.js.map +1 -0
  119. package/models/components/resourcenotfound.d.ts +119 -0
  120. package/models/components/resourcenotfound.d.ts.map +1 -0
  121. package/models/components/resourcenotfound.js +139 -0
  122. package/models/components/resourcenotfound.js.map +1 -0
  123. package/models/components/resourcetypes.d.ts +46 -0
  124. package/models/components/resourcetypes.d.ts.map +1 -0
  125. package/models/components/{links.js → resourcetypes.js} +21 -27
  126. package/models/components/resourcetypes.js.map +1 -0
  127. package/models/components/supportingdocumentattributes.d.ts +40 -0
  128. package/models/components/supportingdocumentattributes.d.ts.map +1 -0
  129. package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
  130. package/models/components/supportingdocumentattributes.js.map +1 -0
  131. package/models/components/supportingdocumentattributesinput.d.ts +38 -0
  132. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
  133. package/models/components/supportingdocumentattributesinput.js +72 -0
  134. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  135. package/models/components/supportingdocumentrelationships.d.ts +448 -0
  136. package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
  137. package/models/components/supportingdocumentrelationships.js +434 -0
  138. package/models/components/supportingdocumentrelationships.js.map +1 -0
  139. package/models/components/supportingdocumentresource.d.ts +91 -0
  140. package/models/components/supportingdocumentresource.d.ts.map +1 -0
  141. package/models/components/supportingdocumentresource.js +121 -0
  142. package/models/components/supportingdocumentresource.js.map +1 -0
  143. package/models/components/uploadmimetype.d.ts +49 -0
  144. package/models/components/uploadmimetype.d.ts.map +1 -0
  145. package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
  146. package/models/components/uploadmimetype.js.map +1 -0
  147. package/models/errors/createapplication.d.ts +38 -0
  148. package/models/errors/createapplication.d.ts.map +1 -0
  149. package/models/errors/{responsebody.js → createapplication.js} +15 -15
  150. package/models/errors/createapplication.js.map +1 -0
  151. package/models/errors/index.d.ts +2 -1
  152. package/models/errors/index.d.ts.map +1 -1
  153. package/models/errors/index.js +2 -1
  154. package/models/errors/index.js.map +1 -1
  155. package/models/errors/supportingdocumentscreate.d.ts +143 -0
  156. package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
  157. package/models/errors/supportingdocumentscreate.js +225 -0
  158. package/models/errors/supportingdocumentscreate.js.map +1 -0
  159. package/models/operations/createapplication.d.ts +66 -808
  160. package/models/operations/createapplication.d.ts.map +1 -1
  161. package/models/operations/createapplication.js +82 -837
  162. package/models/operations/createapplication.js.map +1 -1
  163. package/models/operations/index.d.ts +1 -2
  164. package/models/operations/index.d.ts.map +1 -1
  165. package/models/operations/index.js +1 -2
  166. package/models/operations/index.js.map +1 -1
  167. package/models/operations/supportingdocumentscreate.d.ts +60 -0
  168. package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
  169. package/models/operations/supportingdocumentscreate.js +108 -0
  170. package/models/operations/supportingdocumentscreate.js.map +1 -0
  171. package/package.json +2 -2
  172. package/sdk/applications.d.ts +1 -10
  173. package/sdk/applications.d.ts.map +1 -1
  174. package/sdk/applications.js +0 -14
  175. package/sdk/applications.js.map +1 -1
  176. package/sdk/oauthtoken.d.ts +1 -1
  177. package/sdk/oauthtoken.d.ts.map +1 -1
  178. package/sdk/oauthtoken.js +3 -3
  179. package/sdk/oauthtoken.js.map +1 -1
  180. package/sdk/sdk.d.ts +3 -0
  181. package/sdk/sdk.d.ts.map +1 -1
  182. package/sdk/sdk.js +4 -0
  183. package/sdk/sdk.js.map +1 -1
  184. package/sdk/supportingdocuments.d.ts +10 -0
  185. package/sdk/supportingdocuments.d.ts.map +1 -0
  186. package/sdk/supportingdocuments.js +19 -0
  187. package/sdk/supportingdocuments.js.map +1 -0
  188. package/src/funcs/applicationsCreate.ts +7 -8
  189. package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
  190. package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +31 -20
  191. package/src/lib/config.ts +4 -7
  192. package/src/lib/matchers.ts +20 -0
  193. package/src/lib/sdks.ts +19 -13
  194. package/src/models/components/addressattributes.ts +18 -14
  195. package/src/models/components/applicationresource.ts +83 -0
  196. package/src/models/components/badrequesterror.ts +182 -0
  197. package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
  198. package/src/models/components/commercialapplicationresource.ts +355 -0
  199. package/src/models/components/commercialsecuredloanapplicationsubmissionpayload.ts +237 -0
  200. package/src/models/components/commercialsecuredloanassetattributes.ts +315 -0
  201. package/src/models/components/commercialsecuredloanassettype.ts +64 -0
  202. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1148 -0
  203. package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
  204. package/src/models/components/consumerapplicationresource.ts +342 -0
  205. package/src/models/components/consumersecuredloanapplicationsubmissionpayload.ts +270 -0
  206. package/src/models/components/consumersecuredloanassetattributes.ts +330 -0
  207. package/src/models/components/consumersecuredloanassettype.ts +47 -0
  208. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1011 -0
  209. package/src/models/components/createsupportingdocumentsresponse.ts +252 -0
  210. package/src/models/components/documenttype.ts +49 -0
  211. package/src/models/components/entityattributes.ts +0 -44
  212. package/src/models/components/forbiddenerror.ts +35 -58
  213. package/src/models/components/index.ts +25 -8
  214. package/src/models/components/linkobject.ts +84 -0
  215. package/src/models/components/relationshipresourcenotfound.ts +195 -0
  216. package/src/models/components/resourcenotfound.ts +188 -0
  217. package/src/models/components/resourcetypes.ts +39 -0
  218. package/src/models/components/supportingdocumentattributes.ts +87 -0
  219. package/src/models/components/supportingdocumentattributesinput.ts +84 -0
  220. package/src/models/components/supportingdocumentrelationships.ts +828 -0
  221. package/src/models/components/supportingdocumentresource.ts +163 -0
  222. package/src/models/components/uploadmimetype.ts +44 -0
  223. package/src/models/errors/createapplication.ts +76 -0
  224. package/src/models/errors/index.ts +2 -1
  225. package/src/models/errors/supportingdocumentscreate.ts +342 -0
  226. package/src/models/operations/createapplication.ts +143 -1778
  227. package/src/models/operations/index.ts +1 -2
  228. package/src/models/operations/supportingdocumentscreate.ts +150 -0
  229. package/src/sdk/applications.ts +1 -32
  230. package/src/sdk/oauthtoken.ts +3 -3
  231. package/src/sdk/sdk.ts +8 -0
  232. package/src/sdk/supportingdocuments.ts +25 -0
  233. package/funcs/applicationsGet.d.ts +0 -14
  234. package/funcs/applicationsGet.d.ts.map +0 -1
  235. package/funcs/applicationsGet.js +0 -120
  236. package/funcs/applicationsGet.js.map +0 -1
  237. package/funcs/applicationsList.d.ts +0 -14
  238. package/funcs/applicationsList.d.ts.map +0 -1
  239. package/funcs/applicationsList.js.map +0 -1
  240. package/funcs/oauthTokenGet.d.ts.map +0 -1
  241. package/funcs/oauthTokenGet.js.map +0 -1
  242. package/models/components/applicationattributes.d.ts +0 -69
  243. package/models/components/applicationattributes.d.ts.map +0 -1
  244. package/models/components/applicationattributes.js +0 -85
  245. package/models/components/applicationattributes.js.map +0 -1
  246. package/models/components/applicationattributescreate.d.ts +0 -43
  247. package/models/components/applicationattributescreate.d.ts.map +0 -1
  248. package/models/components/applicationattributescreate.js.map +0 -1
  249. package/models/components/applicationresourcebulksubmission.d.ts +0 -527
  250. package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
  251. package/models/components/applicationresourcebulksubmission.js +0 -565
  252. package/models/components/applicationresourcebulksubmission.js.map +0 -1
  253. package/models/components/applicationtype.d.ts +0 -28
  254. package/models/components/applicationtype.d.ts.map +0 -1
  255. package/models/components/applicationtype.js.map +0 -1
  256. package/models/components/assetattributes.d.ts +0 -311
  257. package/models/components/assetattributes.d.ts.map +0 -1
  258. package/models/components/assetattributes.js +0 -234
  259. package/models/components/assetattributes.js.map +0 -1
  260. package/models/components/commercialassettype.d.ts +0 -44
  261. package/models/components/commercialassettype.d.ts.map +0 -1
  262. package/models/components/commercialassettype.js +0 -85
  263. package/models/components/commercialassettype.js.map +0 -1
  264. package/models/components/consumerassettype.d.ts +0 -32
  265. package/models/components/consumerassettype.d.ts.map +0 -1
  266. package/models/components/consumerassettype.js.map +0 -1
  267. package/models/components/links.d.ts +0 -40
  268. package/models/components/links.d.ts.map +0 -1
  269. package/models/components/links.js.map +0 -1
  270. package/models/errors/responsebody.d.ts +0 -38
  271. package/models/errors/responsebody.d.ts.map +0 -1
  272. package/models/errors/responsebody.js.map +0 -1
  273. package/models/operations/getapplication.d.ts +0 -962
  274. package/models/operations/getapplication.d.ts.map +0 -1
  275. package/models/operations/getapplication.js +0 -1030
  276. package/models/operations/getapplication.js.map +0 -1
  277. package/models/operations/getapplications.d.ts +0 -962
  278. package/models/operations/getapplications.d.ts.map +0 -1
  279. package/models/operations/getapplications.js +0 -1029
  280. package/models/operations/getapplications.js.map +0 -1
  281. package/src/funcs/applicationsGet.ts +0 -168
  282. package/src/models/components/applicationattributes.ts +0 -128
  283. package/src/models/components/applicationattributescreate.ts +0 -90
  284. package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
  285. package/src/models/components/applicationtype.ts +0 -33
  286. package/src/models/components/assetattributes.ts +0 -411
  287. package/src/models/components/commercialassettype.ts +0 -61
  288. package/src/models/components/consumerassettype.ts +0 -43
  289. package/src/models/components/links.ts +0 -72
  290. package/src/models/errors/responsebody.ts +0 -76
  291. package/src/models/operations/getapplication.ts +0 -2246
  292. package/src/models/operations/getapplications.ts +0 -2191
@@ -0,0 +1,121 @@
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.SupportingDocumentResource$ = exports.SupportingDocumentResource$outboundSchema = exports.SupportingDocumentResource$inboundSchema = exports.Links$ = exports.Links$outboundSchema = exports.Links$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.Type = void 0;
40
+ exports.linksToJSON = linksToJSON;
41
+ exports.linksFromJSON = linksFromJSON;
42
+ exports.supportingDocumentResourceToJSON = supportingDocumentResourceToJSON;
43
+ exports.supportingDocumentResourceFromJSON = supportingDocumentResourceFromJSON;
44
+ const z = __importStar(require("zod"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ const supportingdocumentattributesinput_js_1 = require("./supportingdocumentattributesinput.js");
47
+ const supportingdocumentrelationships_js_1 = require("./supportingdocumentrelationships.js");
48
+ exports.Type = {
49
+ SupportingDocuments: "supporting-documents",
50
+ };
51
+ /** @internal */
52
+ exports.Type$inboundSchema = z.nativeEnum(exports.Type);
53
+ /** @internal */
54
+ exports.Type$outboundSchema = exports.Type$inboundSchema;
55
+ /**
56
+ * @internal
57
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
+ */
59
+ var Type$;
60
+ (function (Type$) {
61
+ /** @deprecated use `Type$inboundSchema` instead. */
62
+ Type$.inboundSchema = exports.Type$inboundSchema;
63
+ /** @deprecated use `Type$outboundSchema` instead. */
64
+ Type$.outboundSchema = exports.Type$outboundSchema;
65
+ })(Type$ || (exports.Type$ = Type$ = {}));
66
+ /** @internal */
67
+ exports.Links$inboundSchema = z
68
+ .object({});
69
+ /** @internal */
70
+ exports.Links$outboundSchema = z.object({});
71
+ /**
72
+ * @internal
73
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
+ */
75
+ var Links$;
76
+ (function (Links$) {
77
+ /** @deprecated use `Links$inboundSchema` instead. */
78
+ Links$.inboundSchema = exports.Links$inboundSchema;
79
+ /** @deprecated use `Links$outboundSchema` instead. */
80
+ Links$.outboundSchema = exports.Links$outboundSchema;
81
+ })(Links$ || (exports.Links$ = Links$ = {}));
82
+ function linksToJSON(links) {
83
+ return JSON.stringify(exports.Links$outboundSchema.parse(links));
84
+ }
85
+ function linksFromJSON(jsonString) {
86
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Links$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Links' from JSON`);
87
+ }
88
+ /** @internal */
89
+ exports.SupportingDocumentResource$inboundSchema = z.object({
90
+ type: exports.Type$inboundSchema,
91
+ attributes: supportingdocumentattributesinput_js_1.SupportingDocumentAttributesInput$inboundSchema.optional(),
92
+ relationships: supportingdocumentrelationships_js_1.SupportingDocumentRelationships$inboundSchema,
93
+ links: z.record(z.lazy(() => exports.Links$inboundSchema)).optional(),
94
+ meta: z.record(z.any()).optional(),
95
+ });
96
+ /** @internal */
97
+ exports.SupportingDocumentResource$outboundSchema = z.object({
98
+ type: exports.Type$outboundSchema,
99
+ attributes: supportingdocumentattributesinput_js_1.SupportingDocumentAttributesInput$outboundSchema.optional(),
100
+ relationships: supportingdocumentrelationships_js_1.SupportingDocumentRelationships$outboundSchema,
101
+ links: z.record(z.lazy(() => exports.Links$outboundSchema)).optional(),
102
+ meta: z.record(z.any()).optional(),
103
+ });
104
+ /**
105
+ * @internal
106
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
107
+ */
108
+ var SupportingDocumentResource$;
109
+ (function (SupportingDocumentResource$) {
110
+ /** @deprecated use `SupportingDocumentResource$inboundSchema` instead. */
111
+ SupportingDocumentResource$.inboundSchema = exports.SupportingDocumentResource$inboundSchema;
112
+ /** @deprecated use `SupportingDocumentResource$outboundSchema` instead. */
113
+ SupportingDocumentResource$.outboundSchema = exports.SupportingDocumentResource$outboundSchema;
114
+ })(SupportingDocumentResource$ || (exports.SupportingDocumentResource$ = SupportingDocumentResource$ = {}));
115
+ function supportingDocumentResourceToJSON(supportingDocumentResource) {
116
+ return JSON.stringify(exports.SupportingDocumentResource$outboundSchema.parse(supportingDocumentResource));
117
+ }
118
+ function supportingDocumentResourceFromJSON(jsonString) {
119
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SupportingDocumentResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SupportingDocumentResource' from JSON`);
120
+ }
121
+ //# sourceMappingURL=supportingdocumentresource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supportingdocumentresource.js","sourceRoot":"","sources":["../../src/models/components/supportingdocumentresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,kCAEC;AAED,sCAQC;AAkDD,4EAMC;AAED,gFAQC;AA9JD,uCAAyB;AACzB,qDAAiD;AAIjD,iGAKgD;AAChD,6FAK8C;AAEjC,QAAA,IAAI,GAAG;IAClB,mBAAmB,EAAE,sBAAsB;CACnC,CAAC;AAaX,gBAAgB;AACH,QAAA,kBAAkB,GAAiC,CAAC,CAAC,UAAU,CAC1E,YAAI,CACL,CAAC;AAEF,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,0BAAkB,CAAC;AAErB;;;GAGG;AACH,IAAiB,KAAK,CAKrB;AALD,WAAiB,KAAK;IACpB,oDAAoD;IACvC,mBAAa,GAAG,0BAAkB,CAAC;IAChD,qDAAqD;IACxC,oBAAc,GAAG,2BAAmB,CAAC;AACpD,CAAC,EALgB,KAAK,qBAAL,KAAK,QAKrB;AAED,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC,EAAE,CAAC,CAAC;AAKd,gBAAgB;AACH,QAAA,oBAAoB,GAI7B,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACrB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGrD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB;AAED,SAAgB,WAAW,CAAC,KAAY;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,4BAAoB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,aAAa,CAC3B,UAAkB;IAElB,OAA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AAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,49 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ /**
4
+ * The MIME type of the document
5
+ */
6
+ export declare const UploadMimetype: {
7
+ readonly ApplicationPdf: "application/pdf";
8
+ readonly ImagePng: "image/png";
9
+ readonly ImageJpeg: "image/jpeg";
10
+ readonly TextPlain: "text/plain";
11
+ readonly TextCsv: "text/csv";
12
+ readonly TextJson: "text/json";
13
+ readonly TextHtml: "text/html";
14
+ };
15
+ /**
16
+ * The MIME type of the document
17
+ */
18
+ export type UploadMimetype = ClosedEnum<typeof UploadMimetype>;
19
+ /** @internal */
20
+ export declare const UploadMimetype$inboundSchema: z.ZodNativeEnum<typeof UploadMimetype>;
21
+ /** @internal */
22
+ export declare const UploadMimetype$outboundSchema: z.ZodNativeEnum<typeof UploadMimetype>;
23
+ /**
24
+ * @internal
25
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
+ */
27
+ export declare namespace UploadMimetype$ {
28
+ /** @deprecated use `UploadMimetype$inboundSchema` instead. */
29
+ const inboundSchema: z.ZodNativeEnum<{
30
+ readonly ApplicationPdf: "application/pdf";
31
+ readonly ImagePng: "image/png";
32
+ readonly ImageJpeg: "image/jpeg";
33
+ readonly TextPlain: "text/plain";
34
+ readonly TextCsv: "text/csv";
35
+ readonly TextJson: "text/json";
36
+ readonly TextHtml: "text/html";
37
+ }>;
38
+ /** @deprecated use `UploadMimetype$outboundSchema` instead. */
39
+ const outboundSchema: z.ZodNativeEnum<{
40
+ readonly ApplicationPdf: "application/pdf";
41
+ readonly ImagePng: "image/png";
42
+ readonly ImageJpeg: "image/jpeg";
43
+ readonly TextPlain: "text/plain";
44
+ readonly TextCsv: "text/csv";
45
+ readonly TextJson: "text/json";
46
+ readonly TextHtml: "text/html";
47
+ }>;
48
+ }
49
+ //# sourceMappingURL=uploadmimetype.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadmimetype.d.ts","sourceRoot":"","sources":["../../src/models/components/uploadmimetype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC;AAEjC;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa;;;;;;;;MAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc;;;;;;;;MAAgC,CAAC;CAC7D"}
@@ -36,25 +36,33 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ApplicationType$ = exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema = exports.ApplicationType = void 0;
39
+ exports.UploadMimetype$ = exports.UploadMimetype$outboundSchema = exports.UploadMimetype$inboundSchema = exports.UploadMimetype = void 0;
40
40
  const z = __importStar(require("zod"));
41
- exports.ApplicationType = {
42
- Consumer: "consumer",
43
- Commercial: "commercial",
41
+ /**
42
+ * The MIME type of the document
43
+ */
44
+ exports.UploadMimetype = {
45
+ ApplicationPdf: "application/pdf",
46
+ ImagePng: "image/png",
47
+ ImageJpeg: "image/jpeg",
48
+ TextPlain: "text/plain",
49
+ TextCsv: "text/csv",
50
+ TextJson: "text/json",
51
+ TextHtml: "text/html",
44
52
  };
45
53
  /** @internal */
46
- exports.ApplicationType$inboundSchema = z.nativeEnum(exports.ApplicationType);
54
+ exports.UploadMimetype$inboundSchema = z.nativeEnum(exports.UploadMimetype);
47
55
  /** @internal */
48
- exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema;
56
+ exports.UploadMimetype$outboundSchema = exports.UploadMimetype$inboundSchema;
49
57
  /**
50
58
  * @internal
51
59
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
60
  */
53
- var ApplicationType$;
54
- (function (ApplicationType$) {
55
- /** @deprecated use `ApplicationType$inboundSchema` instead. */
56
- ApplicationType$.inboundSchema = exports.ApplicationType$inboundSchema;
57
- /** @deprecated use `ApplicationType$outboundSchema` instead. */
58
- ApplicationType$.outboundSchema = exports.ApplicationType$outboundSchema;
59
- })(ApplicationType$ || (exports.ApplicationType$ = ApplicationType$ = {}));
60
- //# sourceMappingURL=applicationtype.js.map
61
+ var UploadMimetype$;
62
+ (function (UploadMimetype$) {
63
+ /** @deprecated use `UploadMimetype$inboundSchema` instead. */
64
+ UploadMimetype$.inboundSchema = exports.UploadMimetype$inboundSchema;
65
+ /** @deprecated use `UploadMimetype$outboundSchema` instead. */
66
+ UploadMimetype$.outboundSchema = exports.UploadMimetype$outboundSchema;
67
+ })(UploadMimetype$ || (exports.UploadMimetype$ = UploadMimetype$ = {}));
68
+ //# sourceMappingURL=uploadmimetype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadmimetype.js","sourceRoot":"","sources":["../../src/models/components/uploadmimetype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACb,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC;AAEjC;;;GAGG;AACH,IAAiB,eAAe,CAK/B;AALD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAC9D,CAAC,EALgB,eAAe,+BAAf,eAAe,QAK/B"}
@@ -0,0 +1,38 @@
1
+ import * as z from "zod";
2
+ import * as components from "../components/index.js";
3
+ /**
4
+ * Access is forbidden.
5
+ */
6
+ export type CreateApplicationResponseBodyData = {
7
+ errors: Array<components.ForbiddenError>;
8
+ };
9
+ /**
10
+ * Access is forbidden.
11
+ */
12
+ export declare class CreateApplicationResponseBody extends Error {
13
+ errors: Array<components.ForbiddenError>;
14
+ /** The original data that was passed to this error instance. */
15
+ data$: CreateApplicationResponseBodyData;
16
+ constructor(err: CreateApplicationResponseBodyData);
17
+ }
18
+ /** @internal */
19
+ export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
20
+ /** @internal */
21
+ export type CreateApplicationResponseBody$Outbound = {
22
+ errors: Array<components.ForbiddenError$Outbound>;
23
+ };
24
+ /** @internal */
25
+ export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export declare namespace CreateApplicationResponseBody$ {
31
+ /** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
33
+ /** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
34
+ const outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
35
+ /** @deprecated use `CreateApplicationResponseBody$Outbound` instead. */
36
+ type Outbound = CreateApplicationResponseBody$Outbound;
37
+ }
38
+ //# sourceMappingURL=createapplication.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createapplication.d.ts","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,KAAK;IACtD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAEzC,gEAAgE;IAChE,KAAK,EAAE,iCAAiC,CAAC;gBAE7B,GAAG,EAAE,iCAAiC;CAWnD;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAML,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK1B,CAAC;AAEN;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D"}
@@ -36,13 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ResponseBody$ = exports.ResponseBody$outboundSchema = exports.ResponseBody$inboundSchema = exports.ResponseBody = void 0;
39
+ exports.CreateApplicationResponseBody$ = exports.CreateApplicationResponseBody$outboundSchema = exports.CreateApplicationResponseBody$inboundSchema = exports.CreateApplicationResponseBody = void 0;
40
40
  const z = __importStar(require("zod"));
41
41
  const components = __importStar(require("../components/index.js"));
42
42
  /**
43
43
  * Access is forbidden.
44
44
  */
45
- class ResponseBody extends Error {
45
+ class CreateApplicationResponseBody extends Error {
46
46
  constructor(err) {
47
47
  const message = "message" in err && typeof err.message === "string"
48
48
  ? err.message
@@ -50,19 +50,19 @@ class ResponseBody extends Error {
50
50
  super(message);
51
51
  this.data$ = err;
52
52
  this.errors = err.errors;
53
- this.name = "ResponseBody";
53
+ this.name = "CreateApplicationResponseBody";
54
54
  }
55
55
  }
56
- exports.ResponseBody = ResponseBody;
56
+ exports.CreateApplicationResponseBody = CreateApplicationResponseBody;
57
57
  /** @internal */
58
- exports.ResponseBody$inboundSchema = z.object({
58
+ exports.CreateApplicationResponseBody$inboundSchema = z.object({
59
59
  errors: z.array(components.ForbiddenError$inboundSchema),
60
60
  })
61
61
  .transform((v) => {
62
- return new ResponseBody(v);
62
+ return new CreateApplicationResponseBody(v);
63
63
  });
64
64
  /** @internal */
65
- exports.ResponseBody$outboundSchema = z.instanceof(ResponseBody)
65
+ exports.CreateApplicationResponseBody$outboundSchema = z.instanceof(CreateApplicationResponseBody)
66
66
  .transform(v => v.data$)
67
67
  .pipe(z.object({
68
68
  errors: z.array(components.ForbiddenError$outboundSchema),
@@ -71,11 +71,11 @@ exports.ResponseBody$outboundSchema = z.instanceof(ResponseBody)
71
71
  * @internal
72
72
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
73
73
  */
74
- var ResponseBody$;
75
- (function (ResponseBody$) {
76
- /** @deprecated use `ResponseBody$inboundSchema` instead. */
77
- ResponseBody$.inboundSchema = exports.ResponseBody$inboundSchema;
78
- /** @deprecated use `ResponseBody$outboundSchema` instead. */
79
- ResponseBody$.outboundSchema = exports.ResponseBody$outboundSchema;
80
- })(ResponseBody$ || (exports.ResponseBody$ = ResponseBody$ = {}));
81
- //# sourceMappingURL=responsebody.js.map
74
+ var CreateApplicationResponseBody$;
75
+ (function (CreateApplicationResponseBody$) {
76
+ /** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
77
+ CreateApplicationResponseBody$.inboundSchema = exports.CreateApplicationResponseBody$inboundSchema;
78
+ /** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
79
+ CreateApplicationResponseBody$.outboundSchema = exports.CreateApplicationResponseBody$outboundSchema;
80
+ })(CreateApplicationResponseBody$ || (exports.CreateApplicationResponseBody$ = CreateApplicationResponseBody$ = {}));
81
+ //# sourceMappingURL=createapplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createapplication.js","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AASrD;;GAEG;AACH,MAAa,6BAA8B,SAAQ,KAAK;IAMtD,YAAY,GAAsC;QAChD,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEzB,IAAI,CAAC,IAAI,GAAG,+BAA+B,CAAC;IAC9C,CAAC;CACF;AAjBD,sEAiBC;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC;CACzD,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,6BAA6B,CAAC,CAAC,CAAC,CAAC;AAC9C,CAAC,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC;KAC5C,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,6BAA6B,CAAC;CAC1D,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
@@ -1,5 +1,6 @@
1
1
  export * from "./apierror.js";
2
+ export * from "./createapplication.js";
2
3
  export * from "./httpclienterrors.js";
3
- export * from "./responsebody.js";
4
4
  export * from "./sdkvalidationerror.js";
5
+ export * from "./supportingdocumentscreate.js";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
@@ -18,7 +18,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  __exportStar(require("./apierror.js"), exports);
21
+ __exportStar(require("./createapplication.js"), exports);
21
22
  __exportStar(require("./httpclienterrors.js"), exports);
22
- __exportStar(require("./responsebody.js"), exports);
23
23
  __exportStar(require("./sdkvalidationerror.js"), exports);
24
+ __exportStar(require("./supportingdocumentscreate.js"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,wDAAsC;AACtC,oDAAkC;AAClC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,yDAAuC;AACvC,wDAAsC;AACtC,0DAAwC;AACxC,iEAA+C"}
@@ -0,0 +1,143 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "./sdkvalidationerror.js";
5
+ export type TwoData = {
6
+ errors: Array<components.RelationshipResourceNotFound>;
7
+ };
8
+ export declare class Two extends Error {
9
+ errors: Array<components.RelationshipResourceNotFound>;
10
+ /** The original data that was passed to this error instance. */
11
+ data$: TwoData;
12
+ constructor(err: TwoData);
13
+ }
14
+ export type OneData = {
15
+ errors: Array<components.ResourceNotFound>;
16
+ };
17
+ export declare class One extends Error {
18
+ errors: Array<components.ResourceNotFound>;
19
+ /** The original data that was passed to this error instance. */
20
+ data$: OneData;
21
+ constructor(err: OneData);
22
+ }
23
+ /**
24
+ * The server cannot find the requested resource.
25
+ */
26
+ export type SupportingDocumentsCreateSupportingDocumentsResponseBody = One | Two;
27
+ export type Errors = components.BadRequestError | components.RelationshipResourceNotFound;
28
+ /**
29
+ * The server could not understand the request due to invalid syntax.
30
+ */
31
+ export type SupportingDocumentsCreateResponseBodyData = {
32
+ errors: Array<components.BadRequestError | components.RelationshipResourceNotFound>;
33
+ };
34
+ /**
35
+ * The server could not understand the request due to invalid syntax.
36
+ */
37
+ export declare class SupportingDocumentsCreateResponseBody extends Error {
38
+ errors: Array<components.BadRequestError | components.RelationshipResourceNotFound>;
39
+ /** The original data that was passed to this error instance. */
40
+ data$: SupportingDocumentsCreateResponseBodyData;
41
+ constructor(err: SupportingDocumentsCreateResponseBodyData);
42
+ }
43
+ /** @internal */
44
+ export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
45
+ /** @internal */
46
+ export type Two$Outbound = {
47
+ errors: Array<components.RelationshipResourceNotFound$Outbound>;
48
+ };
49
+ /** @internal */
50
+ export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
51
+ /**
52
+ * @internal
53
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
+ */
55
+ export declare namespace Two$ {
56
+ /** @deprecated use `Two$inboundSchema` instead. */
57
+ const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
58
+ /** @deprecated use `Two$outboundSchema` instead. */
59
+ const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
60
+ /** @deprecated use `Two$Outbound` instead. */
61
+ type Outbound = Two$Outbound;
62
+ }
63
+ /** @internal */
64
+ export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
65
+ /** @internal */
66
+ export type One$Outbound = {
67
+ errors: Array<components.ResourceNotFound$Outbound>;
68
+ };
69
+ /** @internal */
70
+ export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
71
+ /**
72
+ * @internal
73
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
+ */
75
+ export declare namespace One$ {
76
+ /** @deprecated use `One$inboundSchema` instead. */
77
+ const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
78
+ /** @deprecated use `One$outboundSchema` instead. */
79
+ const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
80
+ /** @deprecated use `One$Outbound` instead. */
81
+ type Outbound = One$Outbound;
82
+ }
83
+ /** @internal */
84
+ export declare const SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody, z.ZodTypeDef, unknown>;
85
+ /** @internal */
86
+ export type SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound = One$Outbound | Two$Outbound;
87
+ /** @internal */
88
+ export declare const SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseBody>;
89
+ /**
90
+ * @internal
91
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
92
+ */
93
+ export declare namespace SupportingDocumentsCreateSupportingDocumentsResponseBody$ {
94
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema` instead. */
95
+ const inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody, z.ZodTypeDef, unknown>;
96
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema` instead. */
97
+ const outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseBody>;
98
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound` instead. */
99
+ type Outbound = SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound;
100
+ }
101
+ export declare function supportingDocumentsCreateSupportingDocumentsResponseBodyToJSON(supportingDocumentsCreateSupportingDocumentsResponseBody: SupportingDocumentsCreateSupportingDocumentsResponseBody): string;
102
+ export declare function supportingDocumentsCreateSupportingDocumentsResponseBodyFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateSupportingDocumentsResponseBody, SDKValidationError>;
103
+ /** @internal */
104
+ export declare const Errors$inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown>;
105
+ /** @internal */
106
+ export type Errors$Outbound = components.BadRequestError$Outbound | components.RelationshipResourceNotFound$Outbound;
107
+ /** @internal */
108
+ export declare const Errors$outboundSchema: z.ZodType<Errors$Outbound, z.ZodTypeDef, Errors>;
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
+ export declare namespace Errors$ {
114
+ /** @deprecated use `Errors$inboundSchema` instead. */
115
+ const inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown>;
116
+ /** @deprecated use `Errors$outboundSchema` instead. */
117
+ const outboundSchema: z.ZodType<Errors$Outbound, z.ZodTypeDef, Errors>;
118
+ /** @deprecated use `Errors$Outbound` instead. */
119
+ type Outbound = Errors$Outbound;
120
+ }
121
+ export declare function errorsToJSON(errors: Errors): string;
122
+ export declare function errorsFromJSON(jsonString: string): SafeParseResult<Errors, SDKValidationError>;
123
+ /** @internal */
124
+ export declare const SupportingDocumentsCreateResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody, z.ZodTypeDef, unknown>;
125
+ /** @internal */
126
+ export type SupportingDocumentsCreateResponseBody$Outbound = {
127
+ errors: Array<components.BadRequestError$Outbound | components.RelationshipResourceNotFound$Outbound>;
128
+ };
129
+ /** @internal */
130
+ export declare const SupportingDocumentsCreateResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponseBody>;
131
+ /**
132
+ * @internal
133
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
134
+ */
135
+ export declare namespace SupportingDocumentsCreateResponseBody$ {
136
+ /** @deprecated use `SupportingDocumentsCreateResponseBody$inboundSchema` instead. */
137
+ const inboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody, z.ZodTypeDef, unknown>;
138
+ /** @deprecated use `SupportingDocumentsCreateResponseBody$outboundSchema` instead. */
139
+ const outboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponseBody>;
140
+ /** @deprecated use `SupportingDocumentsCreateResponseBody$Outbound` instead. */
141
+ type Outbound = SupportingDocumentsCreateResponseBody$Outbound;
142
+ }
143
+ //# sourceMappingURL=supportingdocumentscreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supportingdocumentscreate.d.ts","sourceRoot":"","sources":["../../src/models/errors/supportingdocumentscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;CACxD,CAAC;AAEF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