@financeable/aggregation 0.5.1 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/FUNCTIONS.md +14 -131
  2. package/README.md +271 -1512
  3. package/docs/sdks/applications/README.md +24 -383
  4. package/docs/sdks/oauthtoken/README.md +5 -5
  5. package/docs/sdks/supportingdocuments/README.md +121 -0
  6. package/funcs/applicationsCreate.d.ts +1 -2
  7. package/funcs/applicationsCreate.d.ts.map +1 -1
  8. package/funcs/applicationsCreate.js +3 -4
  9. package/funcs/applicationsCreate.js.map +1 -1
  10. package/funcs/{oauthTokenGet.d.ts → oauthTokenOauthToken.d.ts} +2 -2
  11. package/funcs/oauthTokenOauthToken.d.ts.map +1 -0
  12. package/funcs/{oauthTokenGet.js → oauthTokenOauthToken.js} +3 -3
  13. package/funcs/oauthTokenOauthToken.js.map +1 -0
  14. package/funcs/supportingDocumentsCreate.d.ts +14 -0
  15. package/funcs/supportingDocumentsCreate.d.ts.map +1 -0
  16. package/funcs/{applicationsList.js → supportingDocumentsCreate.js} +14 -12
  17. package/funcs/supportingDocumentsCreate.js.map +1 -0
  18. package/jsr.json +1 -1
  19. package/lib/config.d.ts +4 -4
  20. package/lib/config.d.ts.map +1 -1
  21. package/lib/config.js +4 -7
  22. package/lib/config.js.map +1 -1
  23. package/lib/matchers.d.ts +3 -1
  24. package/lib/matchers.d.ts.map +1 -1
  25. package/lib/matchers.js +12 -0
  26. package/lib/matchers.js.map +1 -1
  27. package/lib/sdks.d.ts +3 -1
  28. package/lib/sdks.d.ts.map +1 -1
  29. package/lib/sdks.js +13 -13
  30. package/lib/sdks.js.map +1 -1
  31. package/models/components/addressattributes.d.ts +10 -8
  32. package/models/components/addressattributes.d.ts.map +1 -1
  33. package/models/components/addressattributes.js +15 -14
  34. package/models/components/addressattributes.js.map +1 -1
  35. package/models/components/applicationresource.d.ts +30 -0
  36. package/models/components/applicationresource.d.ts.map +1 -0
  37. package/models/components/applicationresource.js +73 -0
  38. package/models/components/applicationresource.js.map +1 -0
  39. package/models/components/badrequesterror.d.ts +119 -0
  40. package/models/components/badrequesterror.d.ts.map +1 -0
  41. package/models/components/badrequesterror.js +140 -0
  42. package/models/components/badrequesterror.js.map +1 -0
  43. package/models/components/commercialapplicationjsonapirelationships.d.ts +384 -0
  44. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -0
  45. package/models/components/commercialapplicationjsonapirelationships.js +391 -0
  46. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
  47. package/models/components/commercialsecuredapplicationpayload.d.ts +164 -0
  48. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -0
  49. package/models/components/commercialsecuredapplicationpayload.js +158 -0
  50. package/models/components/commercialsecuredapplicationpayload.js.map +1 -0
  51. package/models/components/commercialsecuredapplicationresource.d.ts +171 -0
  52. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -0
  53. package/models/components/commercialsecuredapplicationresource.js +161 -0
  54. package/models/components/commercialsecuredapplicationresource.js.map +1 -0
  55. package/models/components/commercialsecuredloanassetattributes.d.ts +237 -0
  56. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -0
  57. package/models/components/commercialsecuredloanassetattributes.js +170 -0
  58. package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
  59. package/models/components/commercialsecuredloanassettype.d.ts +100 -0
  60. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -0
  61. package/models/components/commercialsecuredloanassettype.js +84 -0
  62. package/models/components/commercialsecuredloanassettype.js.map +1 -0
  63. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +537 -0
  64. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -0
  65. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +548 -0
  66. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
  67. package/models/components/consumerapplicationjsonapirelationships.d.ts +296 -0
  68. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -0
  69. package/models/components/consumerapplicationjsonapirelationships.js +310 -0
  70. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
  71. package/models/components/consumersecuredapplicationpayload.d.ts +164 -0
  72. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -0
  73. package/models/components/consumersecuredapplicationpayload.js +158 -0
  74. package/models/components/consumersecuredapplicationpayload.js.map +1 -0
  75. package/models/components/consumersecuredapplicationresource.d.ts +171 -0
  76. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -0
  77. package/models/components/consumersecuredapplicationresource.js +161 -0
  78. package/models/components/consumersecuredapplicationresource.js.map +1 -0
  79. package/models/components/consumersecuredloanassetattributes.d.ts +237 -0
  80. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -0
  81. package/models/components/consumersecuredloanassetattributes.js +172 -0
  82. package/models/components/consumersecuredloanassetattributes.js.map +1 -0
  83. package/models/components/consumersecuredloanassettype.d.ts +64 -0
  84. package/models/components/consumersecuredloanassettype.d.ts.map +1 -0
  85. package/models/components/{consumerassettype.js → consumersecuredloanassettype.js} +27 -28
  86. package/models/components/consumersecuredloanassettype.js.map +1 -0
  87. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +425 -0
  88. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -0
  89. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +443 -0
  90. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
  91. package/models/components/createsupportingdocumentsresponse.d.ts +124 -0
  92. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -0
  93. package/models/components/createsupportingdocumentsresponse.js +138 -0
  94. package/models/components/createsupportingdocumentsresponse.js.map +1 -0
  95. package/models/components/customerattributes.d.ts +2 -0
  96. package/models/components/customerattributes.d.ts.map +1 -1
  97. package/models/components/customerattributes.js +2 -0
  98. package/models/components/customerattributes.js.map +1 -1
  99. package/models/components/documenttype.d.ts +70 -0
  100. package/models/components/documenttype.d.ts.map +1 -0
  101. package/models/{errors/responsebody.js → components/documenttype.js} +28 -34
  102. package/models/components/documenttype.js.map +1 -0
  103. package/models/components/entityattributes.d.ts +2 -22
  104. package/models/components/entityattributes.d.ts.map +1 -1
  105. package/models/components/entityattributes.js +2 -19
  106. package/models/components/entityattributes.js.map +1 -1
  107. package/models/components/forbiddenerror.d.ts +17 -39
  108. package/models/components/forbiddenerror.d.ts.map +1 -1
  109. package/models/components/forbiddenerror.js +27 -46
  110. package/models/components/forbiddenerror.js.map +1 -1
  111. package/models/components/index.d.ts +24 -8
  112. package/models/components/index.d.ts.map +1 -1
  113. package/models/components/index.js +24 -8
  114. package/models/components/index.js.map +1 -1
  115. package/models/components/linkobject.d.ts +47 -0
  116. package/models/components/linkobject.d.ts.map +1 -0
  117. package/models/components/{links.js → linkobject.js} +27 -22
  118. package/models/components/linkobject.js.map +1 -0
  119. package/models/components/loandetailsattributes.d.ts +2 -0
  120. package/models/components/loandetailsattributes.d.ts.map +1 -1
  121. package/models/components/loandetailsattributes.js +2 -0
  122. package/models/components/loandetailsattributes.js.map +1 -1
  123. package/models/components/relationshipresourcenotfound.d.ts +116 -0
  124. package/models/components/relationshipresourcenotfound.d.ts.map +1 -0
  125. package/models/components/relationshipresourcenotfound.js +139 -0
  126. package/models/components/relationshipresourcenotfound.js.map +1 -0
  127. package/models/components/resourcenotfound.d.ts +119 -0
  128. package/models/components/resourcenotfound.d.ts.map +1 -0
  129. package/models/components/resourcenotfound.js +139 -0
  130. package/models/components/resourcenotfound.js.map +1 -0
  131. package/models/components/supportingdocumentattributes.d.ts +40 -0
  132. package/models/components/supportingdocumentattributes.d.ts.map +1 -0
  133. package/models/components/{applicationattributescreate.js → supportingdocumentattributes.js} +24 -24
  134. package/models/components/supportingdocumentattributes.js.map +1 -0
  135. package/models/components/supportingdocumentattributesinput.d.ts +38 -0
  136. package/models/components/supportingdocumentattributesinput.d.ts.map +1 -0
  137. package/models/components/supportingdocumentattributesinput.js +72 -0
  138. package/models/components/supportingdocumentattributesinput.js.map +1 -0
  139. package/models/components/supportingdocumentrelationships.d.ts +448 -0
  140. package/models/components/supportingdocumentrelationships.d.ts.map +1 -0
  141. package/models/components/supportingdocumentrelationships.js +434 -0
  142. package/models/components/supportingdocumentrelationships.js.map +1 -0
  143. package/models/components/supportingdocumentresource.d.ts +71 -0
  144. package/models/components/supportingdocumentresource.d.ts.map +1 -0
  145. package/models/components/supportingdocumentresource.js +98 -0
  146. package/models/components/supportingdocumentresource.js.map +1 -0
  147. package/models/components/uploadmimetype.d.ts +49 -0
  148. package/models/components/uploadmimetype.d.ts.map +1 -0
  149. package/models/components/{applicationtype.js → uploadmimetype.js} +22 -14
  150. package/models/components/uploadmimetype.js.map +1 -0
  151. package/models/errors/createapplication.d.ts +73 -0
  152. package/models/errors/createapplication.d.ts.map +1 -0
  153. package/models/errors/createapplication.js +120 -0
  154. package/models/errors/createapplication.js.map +1 -0
  155. package/models/errors/index.d.ts +2 -1
  156. package/models/errors/index.d.ts.map +1 -1
  157. package/models/errors/index.js +2 -1
  158. package/models/errors/index.js.map +1 -1
  159. package/models/errors/supportingdocumentscreate.d.ts +143 -0
  160. package/models/errors/supportingdocumentscreate.d.ts.map +1 -0
  161. package/models/errors/supportingdocumentscreate.js +225 -0
  162. package/models/errors/supportingdocumentscreate.js.map +1 -0
  163. package/models/operations/createapplication.d.ts +26 -874
  164. package/models/operations/createapplication.d.ts.map +1 -1
  165. package/models/operations/createapplication.js +37 -899
  166. package/models/operations/createapplication.js.map +1 -1
  167. package/models/operations/index.d.ts +1 -2
  168. package/models/operations/index.d.ts.map +1 -1
  169. package/models/operations/index.js +1 -2
  170. package/models/operations/index.js.map +1 -1
  171. package/models/operations/supportingdocumentscreate.d.ts +94 -0
  172. package/models/operations/supportingdocumentscreate.d.ts.map +1 -0
  173. package/models/operations/supportingdocumentscreate.js +135 -0
  174. package/models/operations/supportingdocumentscreate.js.map +1 -0
  175. package/package.json +2 -2
  176. package/sdk/applications.d.ts +1 -10
  177. package/sdk/applications.d.ts.map +1 -1
  178. package/sdk/applications.js +0 -14
  179. package/sdk/applications.js.map +1 -1
  180. package/sdk/oauthtoken.d.ts +1 -1
  181. package/sdk/oauthtoken.d.ts.map +1 -1
  182. package/sdk/oauthtoken.js +3 -3
  183. package/sdk/oauthtoken.js.map +1 -1
  184. package/sdk/sdk.d.ts +3 -0
  185. package/sdk/sdk.d.ts.map +1 -1
  186. package/sdk/sdk.js +4 -0
  187. package/sdk/sdk.js.map +1 -1
  188. package/sdk/supportingdocuments.d.ts +9 -0
  189. package/sdk/supportingdocuments.d.ts.map +1 -0
  190. package/sdk/supportingdocuments.js +19 -0
  191. package/sdk/supportingdocuments.js.map +1 -0
  192. package/src/funcs/applicationsCreate.ts +15 -9
  193. package/src/funcs/{oauthTokenGet.ts → oauthTokenOauthToken.ts} +1 -1
  194. package/src/funcs/{applicationsList.ts → supportingDocumentsCreate.ts} +30 -20
  195. package/src/lib/config.ts +4 -7
  196. package/src/lib/matchers.ts +20 -0
  197. package/src/lib/sdks.ts +19 -13
  198. package/src/models/components/addressattributes.ts +22 -14
  199. package/src/models/components/applicationresource.ts +83 -0
  200. package/src/models/components/badrequesterror.ts +182 -0
  201. package/src/models/components/commercialapplicationjsonapirelationships.ts +894 -0
  202. package/src/models/components/commercialsecuredapplicationpayload.ts +248 -0
  203. package/src/models/components/commercialsecuredapplicationresource.ts +310 -0
  204. package/src/models/components/commercialsecuredloanassetattributes.ts +319 -0
  205. package/src/models/components/commercialsecuredloanassettype.ts +64 -0
  206. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1238 -0
  207. package/src/models/components/consumerapplicationjsonapirelationships.ts +683 -0
  208. package/src/models/components/consumersecuredapplicationpayload.ts +273 -0
  209. package/src/models/components/consumersecuredapplicationresource.ts +309 -0
  210. package/src/models/components/consumersecuredloanassetattributes.ts +334 -0
  211. package/src/models/components/consumersecuredloanassettype.ts +47 -0
  212. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1047 -0
  213. package/src/models/components/createsupportingdocumentsresponse.ts +206 -0
  214. package/src/models/components/customerattributes.ts +4 -0
  215. package/src/models/components/documenttype.ts +49 -0
  216. package/src/models/components/entityattributes.ts +4 -44
  217. package/src/models/components/forbiddenerror.ts +35 -58
  218. package/src/models/components/index.ts +24 -8
  219. package/src/models/components/linkobject.ts +84 -0
  220. package/src/models/components/loandetailsattributes.ts +4 -0
  221. package/src/models/components/relationshipresourcenotfound.ts +195 -0
  222. package/src/models/components/resourcenotfound.ts +188 -0
  223. package/src/models/components/supportingdocumentattributes.ts +87 -0
  224. package/src/models/components/supportingdocumentattributesinput.ts +84 -0
  225. package/src/models/components/supportingdocumentrelationships.ts +828 -0
  226. package/src/models/components/supportingdocumentresource.ts +126 -0
  227. package/src/models/components/uploadmimetype.ts +44 -0
  228. package/src/models/errors/createapplication.ts +149 -0
  229. package/src/models/errors/index.ts +2 -1
  230. package/src/models/errors/supportingdocumentscreate.ts +342 -0
  231. package/src/models/operations/createapplication.ts +69 -1913
  232. package/src/models/operations/index.ts +1 -2
  233. package/src/models/operations/supportingdocumentscreate.ts +222 -0
  234. package/src/sdk/applications.ts +1 -32
  235. package/src/sdk/oauthtoken.ts +3 -3
  236. package/src/sdk/sdk.ts +8 -0
  237. package/src/sdk/supportingdocuments.ts +24 -0
  238. package/funcs/applicationsGet.d.ts +0 -14
  239. package/funcs/applicationsGet.d.ts.map +0 -1
  240. package/funcs/applicationsGet.js +0 -120
  241. package/funcs/applicationsGet.js.map +0 -1
  242. package/funcs/applicationsList.d.ts +0 -14
  243. package/funcs/applicationsList.d.ts.map +0 -1
  244. package/funcs/applicationsList.js.map +0 -1
  245. package/funcs/oauthTokenGet.d.ts.map +0 -1
  246. package/funcs/oauthTokenGet.js.map +0 -1
  247. package/models/components/applicationattributes.d.ts +0 -69
  248. package/models/components/applicationattributes.d.ts.map +0 -1
  249. package/models/components/applicationattributes.js +0 -85
  250. package/models/components/applicationattributes.js.map +0 -1
  251. package/models/components/applicationattributescreate.d.ts +0 -43
  252. package/models/components/applicationattributescreate.d.ts.map +0 -1
  253. package/models/components/applicationattributescreate.js.map +0 -1
  254. package/models/components/applicationresourcebulksubmission.d.ts +0 -527
  255. package/models/components/applicationresourcebulksubmission.d.ts.map +0 -1
  256. package/models/components/applicationresourcebulksubmission.js +0 -565
  257. package/models/components/applicationresourcebulksubmission.js.map +0 -1
  258. package/models/components/applicationtype.d.ts +0 -28
  259. package/models/components/applicationtype.d.ts.map +0 -1
  260. package/models/components/applicationtype.js.map +0 -1
  261. package/models/components/assetattributes.d.ts +0 -311
  262. package/models/components/assetattributes.d.ts.map +0 -1
  263. package/models/components/assetattributes.js +0 -234
  264. package/models/components/assetattributes.js.map +0 -1
  265. package/models/components/commercialassettype.d.ts +0 -44
  266. package/models/components/commercialassettype.d.ts.map +0 -1
  267. package/models/components/commercialassettype.js +0 -85
  268. package/models/components/commercialassettype.js.map +0 -1
  269. package/models/components/consumerassettype.d.ts +0 -32
  270. package/models/components/consumerassettype.d.ts.map +0 -1
  271. package/models/components/consumerassettype.js.map +0 -1
  272. package/models/components/links.d.ts +0 -40
  273. package/models/components/links.d.ts.map +0 -1
  274. package/models/components/links.js.map +0 -1
  275. package/models/errors/responsebody.d.ts +0 -38
  276. package/models/errors/responsebody.d.ts.map +0 -1
  277. package/models/errors/responsebody.js.map +0 -1
  278. package/models/operations/getapplication.d.ts +0 -962
  279. package/models/operations/getapplication.d.ts.map +0 -1
  280. package/models/operations/getapplication.js +0 -1030
  281. package/models/operations/getapplication.js.map +0 -1
  282. package/models/operations/getapplications.d.ts +0 -962
  283. package/models/operations/getapplications.d.ts.map +0 -1
  284. package/models/operations/getapplications.js +0 -1029
  285. package/models/operations/getapplications.js.map +0 -1
  286. package/src/funcs/applicationsGet.ts +0 -168
  287. package/src/models/components/applicationattributes.ts +0 -128
  288. package/src/models/components/applicationattributescreate.ts +0 -90
  289. package/src/models/components/applicationresourcebulksubmission.ts +0 -1172
  290. package/src/models/components/applicationtype.ts +0 -33
  291. package/src/models/components/assetattributes.ts +0 -411
  292. package/src/models/components/commercialassettype.ts +0 -61
  293. package/src/models/components/consumerassettype.ts +0 -43
  294. package/src/models/components/links.ts +0 -72
  295. package/src/models/errors/responsebody.ts +0 -76
  296. package/src/models/operations/getapplication.ts +0 -2246
  297. package/src/models/operations/getapplications.ts +0 -2191
@@ -0,0 +1,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,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ACzD,IAAI,EAAE,uDAA+C;IACrD,KAAK,EAAE,wDAAgD;IACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,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,CA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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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EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
@@ -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"}
@@ -36,39 +36,39 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ApplicationAttributesCreate$ = exports.ApplicationAttributesCreate$outboundSchema = exports.ApplicationAttributesCreate$inboundSchema = void 0;
40
- exports.applicationAttributesCreateToJSON = applicationAttributesCreateToJSON;
41
- exports.applicationAttributesCreateFromJSON = applicationAttributesCreateFromJSON;
39
+ exports.SupportingDocumentAttributes$ = exports.SupportingDocumentAttributes$outboundSchema = exports.SupportingDocumentAttributes$inboundSchema = void 0;
40
+ exports.supportingDocumentAttributesToJSON = supportingDocumentAttributesToJSON;
41
+ exports.supportingDocumentAttributesFromJSON = supportingDocumentAttributesFromJSON;
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
- const applicationtype_js_1 = require("./applicationtype.js");
44
+ const documenttype_js_1 = require("./documenttype.js");
45
45
  /** @internal */
46
- exports.ApplicationAttributesCreate$inboundSchema = z.object({
47
- purpose: z.string().optional(),
48
- applicationType: applicationtype_js_1.ApplicationType$inboundSchema,
49
- introducer: z.string().optional(),
46
+ exports.SupportingDocumentAttributes$inboundSchema = z.object({
47
+ id: z.string(),
48
+ filename: z.string(),
49
+ documentType: documenttype_js_1.DocumentType$inboundSchema,
50
50
  });
51
51
  /** @internal */
52
- exports.ApplicationAttributesCreate$outboundSchema = z.object({
53
- purpose: z.string().optional(),
54
- applicationType: applicationtype_js_1.ApplicationType$outboundSchema,
55
- introducer: z.string().optional(),
52
+ exports.SupportingDocumentAttributes$outboundSchema = z.object({
53
+ id: z.string(),
54
+ filename: z.string(),
55
+ documentType: documenttype_js_1.DocumentType$outboundSchema,
56
56
  });
57
57
  /**
58
58
  * @internal
59
59
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
60
  */
61
- var ApplicationAttributesCreate$;
62
- (function (ApplicationAttributesCreate$) {
63
- /** @deprecated use `ApplicationAttributesCreate$inboundSchema` instead. */
64
- ApplicationAttributesCreate$.inboundSchema = exports.ApplicationAttributesCreate$inboundSchema;
65
- /** @deprecated use `ApplicationAttributesCreate$outboundSchema` instead. */
66
- ApplicationAttributesCreate$.outboundSchema = exports.ApplicationAttributesCreate$outboundSchema;
67
- })(ApplicationAttributesCreate$ || (exports.ApplicationAttributesCreate$ = ApplicationAttributesCreate$ = {}));
68
- function applicationAttributesCreateToJSON(applicationAttributesCreate) {
69
- return JSON.stringify(exports.ApplicationAttributesCreate$outboundSchema.parse(applicationAttributesCreate));
61
+ var SupportingDocumentAttributes$;
62
+ (function (SupportingDocumentAttributes$) {
63
+ /** @deprecated use `SupportingDocumentAttributes$inboundSchema` instead. */
64
+ SupportingDocumentAttributes$.inboundSchema = exports.SupportingDocumentAttributes$inboundSchema;
65
+ /** @deprecated use `SupportingDocumentAttributes$outboundSchema` instead. */
66
+ SupportingDocumentAttributes$.outboundSchema = exports.SupportingDocumentAttributes$outboundSchema;
67
+ })(SupportingDocumentAttributes$ || (exports.SupportingDocumentAttributes$ = SupportingDocumentAttributes$ = {}));
68
+ function supportingDocumentAttributesToJSON(supportingDocumentAttributes) {
69
+ return JSON.stringify(exports.SupportingDocumentAttributes$outboundSchema.parse(supportingDocumentAttributes));
70
70
  }
71
- function applicationAttributesCreateFromJSON(jsonString) {
72
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ApplicationAttributesCreate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApplicationAttributesCreate' from JSON`);
71
+ function supportingDocumentAttributesFromJSON(jsonString) {
72
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SupportingDocumentAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SupportingDocumentAttributes' from JSON`);
73
73
  }
74
- //# sourceMappingURL=applicationattributescreate.js.map
74
+ //# sourceMappingURL=supportingdocumentattributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supportingdocumentattributes.js","sourceRoot":"","sources":["../../src/models/components/supportingdocumentattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,gFAQC;AAED,oFAQC;AAlFD,uCAAyB;AACzB,qDAAiD;AAGjD,uDAI2B;AAc3B,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,4CAA0B;CACzC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,6CAA2B;CAC1C,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,38 @@
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 SupportingDocumentAttributesInput = {
6
+ /**
7
+ * Must include the extension, e.g: 'Privacy agreement.pdf'
8
+ */
9
+ filename: string;
10
+ /**
11
+ * The type/purpose of the supporting document
12
+ */
13
+ documentType: DocumentType;
14
+ };
15
+ /** @internal */
16
+ export declare const SupportingDocumentAttributesInput$inboundSchema: z.ZodType<SupportingDocumentAttributesInput, z.ZodTypeDef, unknown>;
17
+ /** @internal */
18
+ export type SupportingDocumentAttributesInput$Outbound = {
19
+ filename: string;
20
+ documentType: string;
21
+ };
22
+ /** @internal */
23
+ export declare const SupportingDocumentAttributesInput$outboundSchema: z.ZodType<SupportingDocumentAttributesInput$Outbound, z.ZodTypeDef, SupportingDocumentAttributesInput>;
24
+ /**
25
+ * @internal
26
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
+ */
28
+ export declare namespace SupportingDocumentAttributesInput$ {
29
+ /** @deprecated use `SupportingDocumentAttributesInput$inboundSchema` instead. */
30
+ const inboundSchema: z.ZodType<SupportingDocumentAttributesInput, z.ZodTypeDef, unknown>;
31
+ /** @deprecated use `SupportingDocumentAttributesInput$outboundSchema` instead. */
32
+ const outboundSchema: z.ZodType<SupportingDocumentAttributesInput$Outbound, z.ZodTypeDef, SupportingDocumentAttributesInput>;
33
+ /** @deprecated use `SupportingDocumentAttributesInput$Outbound` instead. */
34
+ type Outbound = SupportingDocumentAttributesInput$Outbound;
35
+ }
36
+ export declare function supportingDocumentAttributesInputToJSON(supportingDocumentAttributesInput: SupportingDocumentAttributesInput): string;
37
+ export declare function supportingDocumentAttributesInputFromJSON(jsonString: string): SafeParseResult<SupportingDocumentAttributesInput, SDKValidationError>;
38
+ //# sourceMappingURL=supportingdocumentattributesinput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supportingdocumentattributesinput.d.ts","sourceRoot":"","sources":["../../src/models/components/supportingdocumentattributesinput.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,iCAAiC,GAAG;IAC9C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAIjC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kCAAkC,CAAC;IAClD,iFAAiF;IAC1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}