@financeable/aggregation 0.5.0 → 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 (293) hide show
  1. package/.devcontainer/README.md +1 -1
  2. package/FUNCTIONS.md +11 -132
  3. package/README.md +262 -1515
  4. package/docs/sdks/applications/README.md +171 -295
  5. package/docs/sdks/oauthtoken/README.md +5 -5
  6. package/docs/sdks/supportingdocuments/README.md +113 -0
  7. package/funcs/applicationsCreate.d.ts +1 -2
  8. package/funcs/applicationsCreate.d.ts.map +1 -1
  9. package/funcs/applicationsCreate.js +2 -3
  10. package/funcs/applicationsCreate.js.map +1 -1
  11. package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
  12. package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
  13. package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
  14. package/funcs/oauthTokenOauthToken.js.map +1 -0
  15. package/funcs/supportingDocumentsCreate.d.ts +15 -0
  16. package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
  17. package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +15 -12
  18. package/funcs/supportingDocumentsCreate.js.map +1 -0
  19. package/jsr.json +1 -1
  20. package/lib/config.d.ts +4 -4
  21. package/lib/config.d.ts.map +1 -1
  22. package/lib/config.js +4 -7
  23. package/lib/config.js.map +1 -1
  24. package/lib/matchers.d.ts +3 -1
  25. package/lib/matchers.d.ts.map +1 -1
  26. package/lib/matchers.js +12 -0
  27. package/lib/matchers.js.map +1 -1
  28. package/lib/sdks.d.ts +3 -1
  29. package/lib/sdks.d.ts.map +1 -1
  30. package/lib/sdks.js +13 -13
  31. package/lib/sdks.js.map +1 -1
  32. package/models/components/addressattributes.d.ts +8 -8
  33. package/models/components/addressattributes.d.ts.map +1 -1
  34. package/models/components/addressattributes.js +13 -14
  35. package/models/components/addressattributes.js.map +1 -1
  36. package/models/components/applicationresource.d.ts +30 -0
  37. package/models/components/applicationresource.d.ts.map +1 -0
  38. package/models/components/applicationresource.js +73 -0
  39. package/models/components/applicationresource.js.map +1 -0
  40. package/models/components/badrequesterror.d.ts +119 -0
  41. package/models/components/badrequesterror.d.ts.map +1 -0
  42. package/models/components/badrequesterror.js +140 -0
  43. package/models/components/badrequesterror.js.map +1 -0
  44. package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
  45. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
  46. package/models/components/commercialapplicationjsonapirelationships.js +391 -0
  47. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
  48. package/models/components/commercialapplicationresource.d.ts +191 -0
  49. package/models/components/commercialapplicationresource.d.ts.map +1 -0
  50. package/models/components/commercialapplicationresource.js +183 -0
  51. package/models/components/commercialapplicationresource.js.map +1 -0
  52. package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts +124 -0
  53. package/models/components/commercialsecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
  54. package/models/components/commercialsecuredloanapplicationsubmissionpayload.js +144 -0
  55. package/models/components/commercialsecuredloanapplicationsubmissionpayload.js.map +1 -0
  56. package/models/components/commercialsecuredloanassetattributes.d.ts +235 -0
  57. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
  58. package/models/components/commercialsecuredloanassetattributes.js +168 -0
  59. package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
  60. package/models/components/commercialsecuredloanassettype.d.ts +100 -0
  61. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
  62. package/models/components/commercialsecuredloanassettype.js +84 -0
  63. package/models/components/commercialsecuredloanassettype.js.map +1 -0
  64. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +455 -0
  65. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
  66. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +504 -0
  67. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
  68. package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
  69. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
  70. package/models/components/consumerapplicationjsonapirelationships.js +310 -0
  71. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
  72. package/models/components/consumerapplicationresource.d.ts +191 -0
  73. package/models/components/consumerapplicationresource.d.ts.map +1 -0
  74. package/models/components/consumerapplicationresource.js +187 -0
  75. package/models/components/consumerapplicationresource.js.map +1 -0
  76. package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts +124 -0
  77. package/models/components/consumersecuredloanapplicationsubmissionpayload.d.ts.map +1 -0
  78. package/models/components/consumersecuredloanapplicationsubmissionpayload.js +146 -0
  79. package/models/components/consumersecuredloanapplicationsubmissionpayload.js.map +1 -0
  80. package/models/components/consumersecuredloanassetattributes.d.ts +235 -0
  81. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
  82. package/models/components/consumersecuredloanassetattributes.js +170 -0
  83. package/models/components/consumersecuredloanassetattributes.js.map +1 -0
  84. package/models/components/consumersecuredloanassettype.d.ts +64 -0
  85. package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
  86. package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
  87. package/models/components/consumersecuredloanassettype.js.map +1 -0
  88. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +376 -0
  89. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
  90. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +426 -0
  91. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  92. package/models/components/createsupportingdocumentsresponse.d.ts +121 -0
  93. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
  94. package/models/components/createsupportingdocumentsresponse.js +149 -0
  95. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  96. package/models/components/documenttype.d.ts +70 -0
  97. package/models/components/documenttype.d.ts.map +1 -0
  98. package/models/components/documenttype.js +75 -0
  99. package/models/components/documenttype.js.map +1 -0
  100. package/models/components/entityattributes.d.ts +0 -22
  101. package/models/components/entityattributes.d.ts.map +1 -1
  102. package/models/components/entityattributes.js +0 -19
  103. package/models/components/entityattributes.js.map +1 -1
  104. package/models/components/forbiddenerror.d.ts +17 -39
  105. package/models/components/forbiddenerror.d.ts.map +1 -1
  106. package/models/components/forbiddenerror.js +27 -46
  107. package/models/components/forbiddenerror.js.map +1 -1
  108. package/models/components/index.d.ts +25 -8
  109. package/models/components/index.d.ts.map +1 -1
  110. package/models/components/index.js +25 -8
  111. package/models/components/index.js.map +1 -1
  112. package/models/components/linkobject.d.ts +47 -0
  113. package/models/components/linkobject.d.ts.map +1 -0
  114. package/models/components/linkobject.js +77 -0
  115. package/models/components/linkobject.js.map +1 -0
  116. package/models/components/relationshipresourcenotfound.d.ts +116 -0
  117. package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
  118. package/models/components/relationshipresourcenotfound.js +139 -0
  119. package/models/components/relationshipresourcenotfound.js.map +1 -0
  120. package/models/components/resourcenotfound.d.ts +119 -0
  121. package/models/components/resourcenotfound.d.ts.map +1 -0
  122. package/models/components/resourcenotfound.js +139 -0
  123. package/models/components/resourcenotfound.js.map +1 -0
  124. package/models/components/resourcetypes.d.ts +46 -0
  125. package/models/components/resourcetypes.d.ts.map +1 -0
  126. package/models/components/{links.js → resourcetypes.js} +21 -27
  127. package/models/components/resourcetypes.js.map +1 -0
  128. package/models/components/supportingdocumentattributes.d.ts +40 -0
  129. package/models/components/supportingdocumentattributes.d.ts.map +1 -0
  130. package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
  131. package/models/components/supportingdocumentattributes.js.map +1 -0
  132. package/models/components/supportingdocumentattributesinput.d.ts +38 -0
  133. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
  134. package/models/components/supportingdocumentattributesinput.js +72 -0
  135. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  136. package/models/components/supportingdocumentrelationships.d.ts +448 -0
  137. package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
  138. package/models/components/supportingdocumentrelationships.js +434 -0
  139. package/models/components/supportingdocumentrelationships.js.map +1 -0
  140. package/models/components/supportingdocumentresource.d.ts +91 -0
  141. package/models/components/supportingdocumentresource.d.ts.map +1 -0
  142. package/models/components/supportingdocumentresource.js +121 -0
  143. package/models/components/supportingdocumentresource.js.map +1 -0
  144. package/models/components/uploadmimetype.d.ts +49 -0
  145. package/models/components/uploadmimetype.d.ts.map +1 -0
  146. package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
  147. package/models/components/uploadmimetype.js.map +1 -0
  148. package/models/errors/createapplication.d.ts +38 -0
  149. package/models/errors/createapplication.d.ts.map +1 -0
  150. package/models/errors/{responsebody.js → createapplication.js} +15 -15
  151. package/models/errors/createapplication.js.map +1 -0
  152. package/models/errors/index.d.ts +2 -1
  153. package/models/errors/index.d.ts.map +1 -1
  154. package/models/errors/index.js +2 -1
  155. package/models/errors/index.js.map +1 -1
  156. package/models/errors/supportingdocumentscreate.d.ts +143 -0
  157. package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
  158. package/models/errors/supportingdocumentscreate.js +225 -0
  159. package/models/errors/supportingdocumentscreate.js.map +1 -0
  160. package/models/operations/createapplication.d.ts +66 -808
  161. package/models/operations/createapplication.d.ts.map +1 -1
  162. package/models/operations/createapplication.js +82 -837
  163. package/models/operations/createapplication.js.map +1 -1
  164. package/models/operations/index.d.ts +1 -2
  165. package/models/operations/index.d.ts.map +1 -1
  166. package/models/operations/index.js +1 -2
  167. package/models/operations/index.js.map +1 -1
  168. package/models/operations/supportingdocumentscreate.d.ts +60 -0
  169. package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
  170. package/models/operations/supportingdocumentscreate.js +108 -0
  171. package/models/operations/supportingdocumentscreate.js.map +1 -0
  172. package/package.json +3 -3
  173. package/sdk/applications.d.ts +1 -10
  174. package/sdk/applications.d.ts.map +1 -1
  175. package/sdk/applications.js +0 -14
  176. package/sdk/applications.js.map +1 -1
  177. package/sdk/oauthtoken.d.ts +1 -1
  178. package/sdk/oauthtoken.d.ts.map +1 -1
  179. package/sdk/oauthtoken.js +3 -3
  180. package/sdk/oauthtoken.js.map +1 -1
  181. package/sdk/sdk.d.ts +3 -0
  182. package/sdk/sdk.d.ts.map +1 -1
  183. package/sdk/sdk.js +4 -0
  184. package/sdk/sdk.js.map +1 -1
  185. package/sdk/supportingdocuments.d.ts +10 -0
  186. package/sdk/supportingdocuments.d.ts.map +1 -0
  187. package/sdk/supportingdocuments.js +19 -0
  188. package/sdk/supportingdocuments.js.map +1 -0
  189. package/src/funcs/applicationsCreate.ts +7 -8
  190. package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
  191. package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +31 -20
  192. package/src/lib/config.ts +4 -7
  193. package/src/lib/matchers.ts +20 -0
  194. package/src/lib/sdks.ts +19 -13
  195. package/src/models/components/addressattributes.ts +18 -14
  196. package/src/models/components/applicationresource.ts +83 -0
  197. package/src/models/components/badrequesterror.ts +182 -0
  198. package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
  199. package/src/models/components/commercialapplicationresource.ts +355 -0
  200. package/src/models/components/commercialsecuredloanapplicationsubmissionpayload.ts +237 -0
  201. package/src/models/components/commercialsecuredloanassetattributes.ts +315 -0
  202. package/src/models/components/commercialsecuredloanassettype.ts +64 -0
  203. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1148 -0
  204. package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
  205. package/src/models/components/consumerapplicationresource.ts +342 -0
  206. package/src/models/components/consumersecuredloanapplicationsubmissionpayload.ts +270 -0
  207. package/src/models/components/consumersecuredloanassetattributes.ts +330 -0
  208. package/src/models/components/consumersecuredloanassettype.ts +47 -0
  209. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1011 -0
  210. package/src/models/components/createsupportingdocumentsresponse.ts +252 -0
  211. package/src/models/components/documenttype.ts +49 -0
  212. package/src/models/components/entityattributes.ts +0 -44
  213. package/src/models/components/forbiddenerror.ts +35 -58
  214. package/src/models/components/index.ts +25 -8
  215. package/src/models/components/linkobject.ts +84 -0
  216. package/src/models/components/relationshipresourcenotfound.ts +195 -0
  217. package/src/models/components/resourcenotfound.ts +188 -0
  218. package/src/models/components/resourcetypes.ts +39 -0
  219. package/src/models/components/supportingdocumentattributes.ts +87 -0
  220. package/src/models/components/supportingdocumentattributesinput.ts +84 -0
  221. package/src/models/components/supportingdocumentrelationships.ts +828 -0
  222. package/src/models/components/supportingdocumentresource.ts +163 -0
  223. package/src/models/components/uploadmimetype.ts +44 -0
  224. package/src/models/errors/createapplication.ts +76 -0
  225. package/src/models/errors/index.ts +2 -1
  226. package/src/models/errors/supportingdocumentscreate.ts +342 -0
  227. package/src/models/operations/createapplication.ts +143 -1778
  228. package/src/models/operations/index.ts +1 -2
  229. package/src/models/operations/supportingdocumentscreate.ts +150 -0
  230. package/src/sdk/applications.ts +1 -32
  231. package/src/sdk/oauthtoken.ts +3 -3
  232. package/src/sdk/sdk.ts +8 -0
  233. package/src/sdk/supportingdocuments.ts +25 -0
  234. package/funcs/applicationsGet.d.ts +0 -14
  235. package/funcs/applicationsGet.d.ts.map +0 -1
  236. package/funcs/applicationsGet.js +0 -120
  237. package/funcs/applicationsGet.js.map +0 -1
  238. package/funcs/applicationsList.d.ts +0 -14
  239. package/funcs/applicationsList.d.ts.map +0 -1
  240. package/funcs/applicationsList.js.map +0 -1
  241. package/funcs/oauthTokenGet.d.ts.map +0 -1
  242. package/funcs/oauthTokenGet.js.map +0 -1
  243. package/models/components/applicationattributes.d.ts +0 -69
  244. package/models/components/applicationattributes.d.ts.map +0 -1
  245. package/models/components/applicationattributes.js +0 -85
  246. package/models/components/applicationattributes.js.map +0 -1
  247. package/models/components/applicationattributescreate.d.ts +0 -43
  248. package/models/components/applicationattributescreate.d.ts.map +0 -1
  249. package/models/components/applicationattributescreate.js.map +0 -1
  250. package/models/components/applicationresourcebulksubmission.d.ts +0 -533
  251. package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
  252. package/models/components/applicationresourcebulksubmission.js +0 -565
  253. package/models/components/applicationresourcebulksubmission.js.map +0 -1
  254. package/models/components/applicationtype.d.ts +0 -28
  255. package/models/components/applicationtype.d.ts.map +0 -1
  256. package/models/components/applicationtype.js.map +0 -1
  257. package/models/components/assetattributes.d.ts +0 -311
  258. package/models/components/assetattributes.d.ts.map +0 -1
  259. package/models/components/assetattributes.js +0 -234
  260. package/models/components/assetattributes.js.map +0 -1
  261. package/models/components/commercialassettype.d.ts +0 -44
  262. package/models/components/commercialassettype.d.ts.map +0 -1
  263. package/models/components/commercialassettype.js +0 -85
  264. package/models/components/commercialassettype.js.map +0 -1
  265. package/models/components/consumerassettype.d.ts +0 -32
  266. package/models/components/consumerassettype.d.ts.map +0 -1
  267. package/models/components/consumerassettype.js.map +0 -1
  268. package/models/components/links.d.ts +0 -40
  269. package/models/components/links.d.ts.map +0 -1
  270. package/models/components/links.js.map +0 -1
  271. package/models/errors/responsebody.d.ts +0 -38
  272. package/models/errors/responsebody.d.ts.map +0 -1
  273. package/models/errors/responsebody.js.map +0 -1
  274. package/models/operations/getapplication.d.ts +0 -962
  275. package/models/operations/getapplication.d.ts.map +0 -1
  276. package/models/operations/getapplication.js +0 -1030
  277. package/models/operations/getapplication.js.map +0 -1
  278. package/models/operations/getapplications.d.ts +0 -962
  279. package/models/operations/getapplications.d.ts.map +0 -1
  280. package/models/operations/getapplications.js +0 -1029
  281. package/models/operations/getapplications.js.map +0 -1
  282. package/src/funcs/applicationsGet.ts +0 -168
  283. package/src/models/components/applicationattributes.ts +0 -128
  284. package/src/models/components/applicationattributescreate.ts +0 -90
  285. package/src/models/components/applicationresourcebulksubmission.ts +0 -1178
  286. package/src/models/components/applicationtype.ts +0 -33
  287. package/src/models/components/assetattributes.ts +0 -411
  288. package/src/models/components/commercialassettype.ts +0 -61
  289. package/src/models/components/consumerassettype.ts +0 -43
  290. package/src/models/components/links.ts +0 -72
  291. package/src/models/errors/responsebody.ts +0 -76
  292. package/src/models/operations/getapplication.ts +0 -2246
  293. package/src/models/operations/getapplications.ts +0 -2191
@@ -0,0 +1,139 @@
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.RelationshipResourceNotFound$ = exports.RelationshipResourceNotFound$outboundSchema = exports.RelationshipResourceNotFound$inboundSchema = exports.RelationshipResourceNotFoundTitle$ = exports.RelationshipResourceNotFoundTitle$outboundSchema = exports.RelationshipResourceNotFoundTitle$inboundSchema = exports.RelationshipResourceNotFoundCode$ = exports.RelationshipResourceNotFoundCode$outboundSchema = exports.RelationshipResourceNotFoundCode$inboundSchema = exports.RelationshipResourceNotFoundStatus$ = exports.RelationshipResourceNotFoundStatus$outboundSchema = exports.RelationshipResourceNotFoundStatus$inboundSchema = exports.RelationshipResourceNotFoundTitle = exports.RelationshipResourceNotFoundCode = exports.RelationshipResourceNotFoundStatus = void 0;
40
+ exports.relationshipResourceNotFoundToJSON = relationshipResourceNotFoundToJSON;
41
+ exports.relationshipResourceNotFoundFromJSON = relationshipResourceNotFoundFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const apierrorlinks_js_1 = require("./apierrorlinks.js");
45
+ const errorsource_js_1 = require("./errorsource.js");
46
+ exports.RelationshipResourceNotFoundStatus = {
47
+ FourHundredAndFour: "404",
48
+ };
49
+ exports.RelationshipResourceNotFoundCode = {
50
+ RelationshipResourceNotFound: "RelationshipResourceNotFound",
51
+ };
52
+ exports.RelationshipResourceNotFoundTitle = {
53
+ RelationshipResourceNotFound: "Relationship Resource Not Found",
54
+ };
55
+ /** @internal */
56
+ exports.RelationshipResourceNotFoundStatus$inboundSchema = z.nativeEnum(exports.RelationshipResourceNotFoundStatus);
57
+ /** @internal */
58
+ exports.RelationshipResourceNotFoundStatus$outboundSchema = exports.RelationshipResourceNotFoundStatus$inboundSchema;
59
+ /**
60
+ * @internal
61
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
+ */
63
+ var RelationshipResourceNotFoundStatus$;
64
+ (function (RelationshipResourceNotFoundStatus$) {
65
+ /** @deprecated use `RelationshipResourceNotFoundStatus$inboundSchema` instead. */
66
+ RelationshipResourceNotFoundStatus$.inboundSchema = exports.RelationshipResourceNotFoundStatus$inboundSchema;
67
+ /** @deprecated use `RelationshipResourceNotFoundStatus$outboundSchema` instead. */
68
+ RelationshipResourceNotFoundStatus$.outboundSchema = exports.RelationshipResourceNotFoundStatus$outboundSchema;
69
+ })(RelationshipResourceNotFoundStatus$ || (exports.RelationshipResourceNotFoundStatus$ = RelationshipResourceNotFoundStatus$ = {}));
70
+ /** @internal */
71
+ exports.RelationshipResourceNotFoundCode$inboundSchema = z.nativeEnum(exports.RelationshipResourceNotFoundCode);
72
+ /** @internal */
73
+ exports.RelationshipResourceNotFoundCode$outboundSchema = exports.RelationshipResourceNotFoundCode$inboundSchema;
74
+ /**
75
+ * @internal
76
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
+ */
78
+ var RelationshipResourceNotFoundCode$;
79
+ (function (RelationshipResourceNotFoundCode$) {
80
+ /** @deprecated use `RelationshipResourceNotFoundCode$inboundSchema` instead. */
81
+ RelationshipResourceNotFoundCode$.inboundSchema = exports.RelationshipResourceNotFoundCode$inboundSchema;
82
+ /** @deprecated use `RelationshipResourceNotFoundCode$outboundSchema` instead. */
83
+ RelationshipResourceNotFoundCode$.outboundSchema = exports.RelationshipResourceNotFoundCode$outboundSchema;
84
+ })(RelationshipResourceNotFoundCode$ || (exports.RelationshipResourceNotFoundCode$ = RelationshipResourceNotFoundCode$ = {}));
85
+ /** @internal */
86
+ exports.RelationshipResourceNotFoundTitle$inboundSchema = z.nativeEnum(exports.RelationshipResourceNotFoundTitle);
87
+ /** @internal */
88
+ exports.RelationshipResourceNotFoundTitle$outboundSchema = exports.RelationshipResourceNotFoundTitle$inboundSchema;
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
+ var RelationshipResourceNotFoundTitle$;
94
+ (function (RelationshipResourceNotFoundTitle$) {
95
+ /** @deprecated use `RelationshipResourceNotFoundTitle$inboundSchema` instead. */
96
+ RelationshipResourceNotFoundTitle$.inboundSchema = exports.RelationshipResourceNotFoundTitle$inboundSchema;
97
+ /** @deprecated use `RelationshipResourceNotFoundTitle$outboundSchema` instead. */
98
+ RelationshipResourceNotFoundTitle$.outboundSchema = exports.RelationshipResourceNotFoundTitle$outboundSchema;
99
+ })(RelationshipResourceNotFoundTitle$ || (exports.RelationshipResourceNotFoundTitle$ = RelationshipResourceNotFoundTitle$ = {}));
100
+ /** @internal */
101
+ exports.RelationshipResourceNotFound$inboundSchema = z.object({
102
+ id: z.string().optional(),
103
+ links: apierrorlinks_js_1.APIErrorLinks$inboundSchema.optional(),
104
+ status: exports.RelationshipResourceNotFoundStatus$inboundSchema,
105
+ code: exports.RelationshipResourceNotFoundCode$inboundSchema,
106
+ title: exports.RelationshipResourceNotFoundTitle$inboundSchema,
107
+ detail: z.string(),
108
+ source: errorsource_js_1.ErrorSource$inboundSchema,
109
+ meta: z.record(z.any()),
110
+ });
111
+ /** @internal */
112
+ exports.RelationshipResourceNotFound$outboundSchema = z.object({
113
+ id: z.string().optional(),
114
+ links: apierrorlinks_js_1.APIErrorLinks$outboundSchema.optional(),
115
+ status: exports.RelationshipResourceNotFoundStatus$outboundSchema,
116
+ code: exports.RelationshipResourceNotFoundCode$outboundSchema,
117
+ title: exports.RelationshipResourceNotFoundTitle$outboundSchema,
118
+ detail: z.string(),
119
+ source: errorsource_js_1.ErrorSource$outboundSchema,
120
+ meta: z.record(z.any()),
121
+ });
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ var RelationshipResourceNotFound$;
127
+ (function (RelationshipResourceNotFound$) {
128
+ /** @deprecated use `RelationshipResourceNotFound$inboundSchema` instead. */
129
+ RelationshipResourceNotFound$.inboundSchema = exports.RelationshipResourceNotFound$inboundSchema;
130
+ /** @deprecated use `RelationshipResourceNotFound$outboundSchema` instead. */
131
+ RelationshipResourceNotFound$.outboundSchema = exports.RelationshipResourceNotFound$outboundSchema;
132
+ })(RelationshipResourceNotFound$ || (exports.RelationshipResourceNotFound$ = RelationshipResourceNotFound$ = {}));
133
+ function relationshipResourceNotFoundToJSON(relationshipResourceNotFound) {
134
+ return JSON.stringify(exports.RelationshipResourceNotFound$outboundSchema.parse(relationshipResourceNotFound));
135
+ }
136
+ function relationshipResourceNotFoundFromJSON(jsonString) {
137
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RelationshipResourceNotFound$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RelationshipResourceNotFound' from JSON`);
138
+ }
139
+ //# sourceMappingURL=relationshipresourcenotfound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relationshipresourcenotfound.js","sourceRoot":"","sources":["../../src/models/components/relationshipresourcenotfound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8KH,gFAQC;AAED,oFAQC;AA9LD,uCAAyB;AACzB,qDAAiD;AAIjD,yDAK4B;AAC5B,qDAK0B;AAEb,QAAA,kCAAkC,GAAG;IAChD,kBAAkB,EAAE,KAAK;CACjB,CAAC;AAKE,QAAA,gCAAgC,GAAG;IAC9C,4BAA4B,EAAE,8BAA8B;CACpD,CAAC;AAKE,QAAA,iCAAiC,GAAG;IAC/C,4BAA4B,EAAE,iCAAiC;CACvD,CAAC;AAgBX,gBAAgB;AACH,QAAA,gDAAgD,GAEzD,CAAC,CAAC,UAAU,CAAC,0CAAkC,CAAC,CAAC;AAErD,gBAAgB;AACH,QAAA,iDAAiD,GAE1D,wDAAgD,CAAC;AAErD;;;GAGG;AACH,IAAiB,mCAAmC,CAMnD;AAND,WAAiB,mCAAmC;IAClD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GACzB,yDAAiD,CAAC;AACtD,CAAC,EANgB,mCAAmC,mDAAnC,mCAAmC,QAMnD;AAED,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,wCAAgC,CAAC,CAAC;AAEnD,gBAAgB;AACH,QAAA,+CAA+C,GAExD,sDAA8C,CAAC;AAEnD;;;GAGG;AACH,IAAiB,iCAAiC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ClB,MAAM,EAAE,2CAA0B;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C;AAED,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,119 @@
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 { APIErrorLinks, APIErrorLinks$Outbound } from "./apierrorlinks.js";
6
+ import { ErrorSource, ErrorSource$Outbound } from "./errorsource.js";
7
+ export declare const ResourceNotFoundStatus: {
8
+ readonly FourHundredAndFour: "404";
9
+ };
10
+ export type ResourceNotFoundStatus = ClosedEnum<typeof ResourceNotFoundStatus>;
11
+ export declare const ResourceNotFoundCode: {
12
+ readonly ResourceNotFound: "ResourceNotFound";
13
+ };
14
+ export type ResourceNotFoundCode = ClosedEnum<typeof ResourceNotFoundCode>;
15
+ export declare const ResourceNotFoundTitle: {
16
+ readonly ResourceNotFound: "Resource Not Found";
17
+ };
18
+ export type ResourceNotFoundTitle = ClosedEnum<typeof ResourceNotFoundTitle>;
19
+ export type ResourceNotFound = {
20
+ id?: string | undefined;
21
+ links?: APIErrorLinks | undefined;
22
+ status: ResourceNotFoundStatus;
23
+ code: ResourceNotFoundCode;
24
+ title: ResourceNotFoundTitle;
25
+ detail: string;
26
+ /**
27
+ * An object describing the source of the error from the request
28
+ */
29
+ source?: ErrorSource | undefined;
30
+ meta?: {
31
+ [k: string]: any;
32
+ } | undefined;
33
+ };
34
+ /** @internal */
35
+ export declare const ResourceNotFoundStatus$inboundSchema: z.ZodNativeEnum<typeof ResourceNotFoundStatus>;
36
+ /** @internal */
37
+ export declare const ResourceNotFoundStatus$outboundSchema: z.ZodNativeEnum<typeof ResourceNotFoundStatus>;
38
+ /**
39
+ * @internal
40
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
41
+ */
42
+ export declare namespace ResourceNotFoundStatus$ {
43
+ /** @deprecated use `ResourceNotFoundStatus$inboundSchema` instead. */
44
+ const inboundSchema: z.ZodNativeEnum<{
45
+ readonly FourHundredAndFour: "404";
46
+ }>;
47
+ /** @deprecated use `ResourceNotFoundStatus$outboundSchema` instead. */
48
+ const outboundSchema: z.ZodNativeEnum<{
49
+ readonly FourHundredAndFour: "404";
50
+ }>;
51
+ }
52
+ /** @internal */
53
+ export declare const ResourceNotFoundCode$inboundSchema: z.ZodNativeEnum<typeof ResourceNotFoundCode>;
54
+ /** @internal */
55
+ export declare const ResourceNotFoundCode$outboundSchema: z.ZodNativeEnum<typeof ResourceNotFoundCode>;
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export declare namespace ResourceNotFoundCode$ {
61
+ /** @deprecated use `ResourceNotFoundCode$inboundSchema` instead. */
62
+ const inboundSchema: z.ZodNativeEnum<{
63
+ readonly ResourceNotFound: "ResourceNotFound";
64
+ }>;
65
+ /** @deprecated use `ResourceNotFoundCode$outboundSchema` instead. */
66
+ const outboundSchema: z.ZodNativeEnum<{
67
+ readonly ResourceNotFound: "ResourceNotFound";
68
+ }>;
69
+ }
70
+ /** @internal */
71
+ export declare const ResourceNotFoundTitle$inboundSchema: z.ZodNativeEnum<typeof ResourceNotFoundTitle>;
72
+ /** @internal */
73
+ export declare const ResourceNotFoundTitle$outboundSchema: z.ZodNativeEnum<typeof ResourceNotFoundTitle>;
74
+ /**
75
+ * @internal
76
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
+ */
78
+ export declare namespace ResourceNotFoundTitle$ {
79
+ /** @deprecated use `ResourceNotFoundTitle$inboundSchema` instead. */
80
+ const inboundSchema: z.ZodNativeEnum<{
81
+ readonly ResourceNotFound: "Resource Not Found";
82
+ }>;
83
+ /** @deprecated use `ResourceNotFoundTitle$outboundSchema` instead. */
84
+ const outboundSchema: z.ZodNativeEnum<{
85
+ readonly ResourceNotFound: "Resource Not Found";
86
+ }>;
87
+ }
88
+ /** @internal */
89
+ export declare const ResourceNotFound$inboundSchema: z.ZodType<ResourceNotFound, z.ZodTypeDef, unknown>;
90
+ /** @internal */
91
+ export type ResourceNotFound$Outbound = {
92
+ id?: string | undefined;
93
+ links?: APIErrorLinks$Outbound | undefined;
94
+ status: string;
95
+ code: string;
96
+ title: string;
97
+ detail: string;
98
+ source?: ErrorSource$Outbound | undefined;
99
+ meta?: {
100
+ [k: string]: any;
101
+ } | undefined;
102
+ };
103
+ /** @internal */
104
+ export declare const ResourceNotFound$outboundSchema: z.ZodType<ResourceNotFound$Outbound, z.ZodTypeDef, ResourceNotFound>;
105
+ /**
106
+ * @internal
107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
+ */
109
+ export declare namespace ResourceNotFound$ {
110
+ /** @deprecated use `ResourceNotFound$inboundSchema` instead. */
111
+ const inboundSchema: z.ZodType<ResourceNotFound, z.ZodTypeDef, unknown>;
112
+ /** @deprecated use `ResourceNotFound$outboundSchema` instead. */
113
+ const outboundSchema: z.ZodType<ResourceNotFound$Outbound, z.ZodTypeDef, ResourceNotFound>;
114
+ /** @deprecated use `ResourceNotFound$Outbound` instead. */
115
+ type Outbound = ResourceNotFound$Outbound;
116
+ }
117
+ export declare function resourceNotFoundToJSON(resourceNotFound: ResourceNotFound): string;
118
+ export declare function resourceNotFoundFromJSON(jsonString: string): SafeParseResult<ResourceNotFound, SDKValidationError>;
119
+ //# sourceMappingURL=resourcenotfound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourcenotfound.d.ts","sourceRoot":"","sources":["../../src/models/components/resourcenotfound.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,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,sBAAsB;;CAEzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,eAAO,MAAM,oBAAoB;;CAEvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E,eAAO,MAAM,qBAAqB;;CAExB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAClC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,IAAI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C/D,MAAM,cAAc;;MAAuC,CAAC;CACpE;AAED,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC1C,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAUhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
@@ -0,0 +1,139 @@
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.ResourceNotFound$ = exports.ResourceNotFound$outboundSchema = exports.ResourceNotFound$inboundSchema = exports.ResourceNotFoundTitle$ = exports.ResourceNotFoundTitle$outboundSchema = exports.ResourceNotFoundTitle$inboundSchema = exports.ResourceNotFoundCode$ = exports.ResourceNotFoundCode$outboundSchema = exports.ResourceNotFoundCode$inboundSchema = exports.ResourceNotFoundStatus$ = exports.ResourceNotFoundStatus$outboundSchema = exports.ResourceNotFoundStatus$inboundSchema = exports.ResourceNotFoundTitle = exports.ResourceNotFoundCode = exports.ResourceNotFoundStatus = void 0;
40
+ exports.resourceNotFoundToJSON = resourceNotFoundToJSON;
41
+ exports.resourceNotFoundFromJSON = resourceNotFoundFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const apierrorlinks_js_1 = require("./apierrorlinks.js");
45
+ const errorsource_js_1 = require("./errorsource.js");
46
+ exports.ResourceNotFoundStatus = {
47
+ FourHundredAndFour: "404",
48
+ };
49
+ exports.ResourceNotFoundCode = {
50
+ ResourceNotFound: "ResourceNotFound",
51
+ };
52
+ exports.ResourceNotFoundTitle = {
53
+ ResourceNotFound: "Resource Not Found",
54
+ };
55
+ /** @internal */
56
+ exports.ResourceNotFoundStatus$inboundSchema = z.nativeEnum(exports.ResourceNotFoundStatus);
57
+ /** @internal */
58
+ exports.ResourceNotFoundStatus$outboundSchema = exports.ResourceNotFoundStatus$inboundSchema;
59
+ /**
60
+ * @internal
61
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
+ */
63
+ var ResourceNotFoundStatus$;
64
+ (function (ResourceNotFoundStatus$) {
65
+ /** @deprecated use `ResourceNotFoundStatus$inboundSchema` instead. */
66
+ ResourceNotFoundStatus$.inboundSchema = exports.ResourceNotFoundStatus$inboundSchema;
67
+ /** @deprecated use `ResourceNotFoundStatus$outboundSchema` instead. */
68
+ ResourceNotFoundStatus$.outboundSchema = exports.ResourceNotFoundStatus$outboundSchema;
69
+ })(ResourceNotFoundStatus$ || (exports.ResourceNotFoundStatus$ = ResourceNotFoundStatus$ = {}));
70
+ /** @internal */
71
+ exports.ResourceNotFoundCode$inboundSchema = z.nativeEnum(exports.ResourceNotFoundCode);
72
+ /** @internal */
73
+ exports.ResourceNotFoundCode$outboundSchema = exports.ResourceNotFoundCode$inboundSchema;
74
+ /**
75
+ * @internal
76
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
+ */
78
+ var ResourceNotFoundCode$;
79
+ (function (ResourceNotFoundCode$) {
80
+ /** @deprecated use `ResourceNotFoundCode$inboundSchema` instead. */
81
+ ResourceNotFoundCode$.inboundSchema = exports.ResourceNotFoundCode$inboundSchema;
82
+ /** @deprecated use `ResourceNotFoundCode$outboundSchema` instead. */
83
+ ResourceNotFoundCode$.outboundSchema = exports.ResourceNotFoundCode$outboundSchema;
84
+ })(ResourceNotFoundCode$ || (exports.ResourceNotFoundCode$ = ResourceNotFoundCode$ = {}));
85
+ /** @internal */
86
+ exports.ResourceNotFoundTitle$inboundSchema = z.nativeEnum(exports.ResourceNotFoundTitle);
87
+ /** @internal */
88
+ exports.ResourceNotFoundTitle$outboundSchema = exports.ResourceNotFoundTitle$inboundSchema;
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
+ var ResourceNotFoundTitle$;
94
+ (function (ResourceNotFoundTitle$) {
95
+ /** @deprecated use `ResourceNotFoundTitle$inboundSchema` instead. */
96
+ ResourceNotFoundTitle$.inboundSchema = exports.ResourceNotFoundTitle$inboundSchema;
97
+ /** @deprecated use `ResourceNotFoundTitle$outboundSchema` instead. */
98
+ ResourceNotFoundTitle$.outboundSchema = exports.ResourceNotFoundTitle$outboundSchema;
99
+ })(ResourceNotFoundTitle$ || (exports.ResourceNotFoundTitle$ = ResourceNotFoundTitle$ = {}));
100
+ /** @internal */
101
+ exports.ResourceNotFound$inboundSchema = z.object({
102
+ id: z.string().optional(),
103
+ links: apierrorlinks_js_1.APIErrorLinks$inboundSchema.optional(),
104
+ status: exports.ResourceNotFoundStatus$inboundSchema,
105
+ code: exports.ResourceNotFoundCode$inboundSchema,
106
+ title: exports.ResourceNotFoundTitle$inboundSchema,
107
+ detail: z.string(),
108
+ source: errorsource_js_1.ErrorSource$inboundSchema.optional(),
109
+ meta: z.record(z.any()).optional(),
110
+ });
111
+ /** @internal */
112
+ exports.ResourceNotFound$outboundSchema = z.object({
113
+ id: z.string().optional(),
114
+ links: apierrorlinks_js_1.APIErrorLinks$outboundSchema.optional(),
115
+ status: exports.ResourceNotFoundStatus$outboundSchema,
116
+ code: exports.ResourceNotFoundCode$outboundSchema,
117
+ title: exports.ResourceNotFoundTitle$outboundSchema,
118
+ detail: z.string(),
119
+ source: errorsource_js_1.ErrorSource$outboundSchema.optional(),
120
+ meta: z.record(z.any()).optional(),
121
+ });
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ var ResourceNotFound$;
127
+ (function (ResourceNotFound$) {
128
+ /** @deprecated use `ResourceNotFound$inboundSchema` instead. */
129
+ ResourceNotFound$.inboundSchema = exports.ResourceNotFound$inboundSchema;
130
+ /** @deprecated use `ResourceNotFound$outboundSchema` instead. */
131
+ ResourceNotFound$.outboundSchema = exports.ResourceNotFound$outboundSchema;
132
+ })(ResourceNotFound$ || (exports.ResourceNotFound$ = ResourceNotFound$ = {}));
133
+ function resourceNotFoundToJSON(resourceNotFound) {
134
+ return JSON.stringify(exports.ResourceNotFound$outboundSchema.parse(resourceNotFound));
135
+ }
136
+ function resourceNotFoundFromJSON(jsonString) {
137
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResourceNotFound$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResourceNotFound' from JSON`);
138
+ }
139
+ //# sourceMappingURL=resourcenotfound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourcenotfound.js","sourceRoot":"","sources":["../../src/models/components/resourcenotfound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyKH,wDAMC;AAED,4DAQC;AAvLD,uCAAyB;AACzB,qDAAiD;AAIjD,yDAK4B;AAC5B,qDAK0B;AAEb,QAAA,sBAAsB,GAAG;IACpC,kBAAkB,EAAE,KAAK;CACjB,CAAC;AAGE,QAAA,oBAAoB,GAAG;IAClC,gBAAgB,EAAE,kBAAkB;CAC5B,CAAC;AAGE,QAAA,qBAAqB,GAAG;IACnC,gBAAgB,EAAE,oBAAoB;CAC9B,CAAC;AAiBX,gBAAgB;AACH,QAAA,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AA8C,CAC/C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,46 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const ResourceTypes: {
4
+ readonly ConsumerSecuredApplications: "consumer-secured-applications";
5
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
6
+ readonly SupportingDocuments: "supporting-documents";
7
+ readonly Customers: "customers";
8
+ readonly Assets: "assets";
9
+ readonly Entities: "entities";
10
+ readonly LoanDetails: "loan-details";
11
+ readonly Addresses: "addresses";
12
+ };
13
+ export type ResourceTypes = ClosedEnum<typeof ResourceTypes>;
14
+ /** @internal */
15
+ export declare const ResourceTypes$inboundSchema: z.ZodNativeEnum<typeof ResourceTypes>;
16
+ /** @internal */
17
+ export declare const ResourceTypes$outboundSchema: z.ZodNativeEnum<typeof ResourceTypes>;
18
+ /**
19
+ * @internal
20
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
21
+ */
22
+ export declare namespace ResourceTypes$ {
23
+ /** @deprecated use `ResourceTypes$inboundSchema` instead. */
24
+ const inboundSchema: z.ZodNativeEnum<{
25
+ readonly ConsumerSecuredApplications: "consumer-secured-applications";
26
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
27
+ readonly SupportingDocuments: "supporting-documents";
28
+ readonly Customers: "customers";
29
+ readonly Assets: "assets";
30
+ readonly Entities: "entities";
31
+ readonly LoanDetails: "loan-details";
32
+ readonly Addresses: "addresses";
33
+ }>;
34
+ /** @deprecated use `ResourceTypes$outboundSchema` instead. */
35
+ const outboundSchema: z.ZodNativeEnum<{
36
+ readonly ConsumerSecuredApplications: "consumer-secured-applications";
37
+ readonly CommercialSecuredApplications: "commercial-secured-applications";
38
+ readonly SupportingDocuments: "supporting-documents";
39
+ readonly Customers: "customers";
40
+ readonly Assets: "assets";
41
+ readonly Entities: "entities";
42
+ readonly LoanDetails: "loan-details";
43
+ readonly Addresses: "addresses";
44
+ }>;
45
+ }
46
+ //# sourceMappingURL=resourcetypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourcetypes.d.ts","sourceRoot":"","sources":["../../src/models/components/resourcetypes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,aAAa;;;;;;;;;CAShB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,aAAa,CACvD,OAAO,aAAa,CACS,CAAC;AAEhC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,aAAa,CACS,CAAC;AAEhC;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa;;;;;;;;;MAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc;;;;;;;;;MAA+B,CAAC;CAC5D"}
@@ -36,37 +36,31 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Links$ = exports.Links$outboundSchema = exports.Links$inboundSchema = void 0;
40
- exports.linksToJSON = linksToJSON;
41
- exports.linksFromJSON = linksFromJSON;
39
+ exports.ResourceTypes$ = exports.ResourceTypes$outboundSchema = exports.ResourceTypes$inboundSchema = exports.ResourceTypes = void 0;
42
40
  const z = __importStar(require("zod"));
43
- const schemas_js_1 = require("../../lib/schemas.js");
41
+ exports.ResourceTypes = {
42
+ ConsumerSecuredApplications: "consumer-secured-applications",
43
+ CommercialSecuredApplications: "commercial-secured-applications",
44
+ SupportingDocuments: "supporting-documents",
45
+ Customers: "customers",
46
+ Assets: "assets",
47
+ Entities: "entities",
48
+ LoanDetails: "loan-details",
49
+ Addresses: "addresses",
50
+ };
44
51
  /** @internal */
45
- exports.Links$inboundSchema = z
46
- .object({
47
- self: z.string().optional(),
48
- related: z.string().optional(),
49
- });
52
+ exports.ResourceTypes$inboundSchema = z.nativeEnum(exports.ResourceTypes);
50
53
  /** @internal */
51
- exports.Links$outboundSchema = z.object({
52
- self: z.string().optional(),
53
- related: z.string().optional(),
54
- });
54
+ exports.ResourceTypes$outboundSchema = exports.ResourceTypes$inboundSchema;
55
55
  /**
56
56
  * @internal
57
57
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
58
  */
59
- var Links$;
60
- (function (Links$) {
61
- /** @deprecated use `Links$inboundSchema` instead. */
62
- Links$.inboundSchema = exports.Links$inboundSchema;
63
- /** @deprecated use `Links$outboundSchema` instead. */
64
- Links$.outboundSchema = exports.Links$outboundSchema;
65
- })(Links$ || (exports.Links$ = Links$ = {}));
66
- function linksToJSON(links) {
67
- return JSON.stringify(exports.Links$outboundSchema.parse(links));
68
- }
69
- function linksFromJSON(jsonString) {
70
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Links$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Links' from JSON`);
71
- }
72
- //# sourceMappingURL=links.js.map
59
+ var ResourceTypes$;
60
+ (function (ResourceTypes$) {
61
+ /** @deprecated use `ResourceTypes$inboundSchema` instead. */
62
+ ResourceTypes$.inboundSchema = exports.ResourceTypes$inboundSchema;
63
+ /** @deprecated use `ResourceTypes$outboundSchema` instead. */
64
+ ResourceTypes$.outboundSchema = exports.ResourceTypes$outboundSchema;
65
+ })(ResourceTypes$ || (exports.ResourceTypes$ = ResourceTypes$ = {}));
66
+ //# sourceMappingURL=resourcetypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourcetypes.js","sourceRoot":"","sources":["../../src/models/components/resourcetypes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,aAAa,GAAG;IAC3B,2BAA2B,EAAE,+BAA+B;IAC5D,6BAA6B,EAAE,iCAAiC;IAChE,mBAAmB,EAAE,sBAAsB;IAC3C,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,WAAW;CACd,CAAC;AAGX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAEhC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC;AAEhC;;;GAGG;AACH,IAAiB,cAAc,CAK9B;AALD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAC7D,CAAC,EALgB,cAAc,8BAAd,cAAc,QAK9B"}
@@ -0,0 +1,40 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { DocumentType } from "./documenttype.js";
5
+ export type SupportingDocumentAttributes = {
6
+ id: string;
7
+ /**
8
+ * Must include the extension, e.g: 'Privacy agreement.pdf'
9
+ */
10
+ filename: string;
11
+ /**
12
+ * The type/purpose of the supporting document
13
+ */
14
+ documentType: DocumentType;
15
+ };
16
+ /** @internal */
17
+ export declare const SupportingDocumentAttributes$inboundSchema: z.ZodType<SupportingDocumentAttributes, z.ZodTypeDef, unknown>;
18
+ /** @internal */
19
+ export type SupportingDocumentAttributes$Outbound = {
20
+ id: string;
21
+ filename: string;
22
+ documentType: string;
23
+ };
24
+ /** @internal */
25
+ export declare const SupportingDocumentAttributes$outboundSchema: z.ZodType<SupportingDocumentAttributes$Outbound, z.ZodTypeDef, SupportingDocumentAttributes>;
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 SupportingDocumentAttributes$ {
31
+ /** @deprecated use `SupportingDocumentAttributes$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodType<SupportingDocumentAttributes, z.ZodTypeDef, unknown>;
33
+ /** @deprecated use `SupportingDocumentAttributes$outboundSchema` instead. */
34
+ const outboundSchema: z.ZodType<SupportingDocumentAttributes$Outbound, z.ZodTypeDef, SupportingDocumentAttributes>;
35
+ /** @deprecated use `SupportingDocumentAttributes$Outbound` instead. */
36
+ type Outbound = SupportingDocumentAttributes$Outbound;
37
+ }
38
+ export declare function supportingDocumentAttributesToJSON(supportingDocumentAttributes: SupportingDocumentAttributes): string;
39
+ export declare function supportingDocumentAttributesFromJSON(jsonString: string): SafeParseResult<SupportingDocumentAttributes, SDKValidationError>;
40
+ //# sourceMappingURL=supportingdocumentattributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supportingdocumentattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/supportingdocumentattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAK5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D;AAED,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}