@polar-sh/sdk 0.17.4 → 0.18.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 (284) hide show
  1. package/FUNCTIONS.md +106 -0
  2. package/README.md +181 -30
  3. package/RUNTIMES.md +22 -0
  4. package/docs/sdks/checkouts/README.md +1 -1
  5. package/hooks/hooks.d.ts.map +1 -1
  6. package/hooks/hooks.js +18 -0
  7. package/hooks/hooks.js.map +1 -1
  8. package/hooks/types.d.ts +3 -0
  9. package/hooks/types.d.ts.map +1 -1
  10. package/lib/config.d.ts +3 -3
  11. package/lib/config.js +3 -3
  12. package/lib/config.js.map +1 -1
  13. package/models/components/benefit.d.ts +2 -3
  14. package/models/components/benefit.d.ts.map +1 -1
  15. package/models/components/benefit.js +0 -3
  16. package/models/components/benefit.js.map +1 -1
  17. package/models/components/benefitadssubscriber.d.ts +7 -7
  18. package/models/components/benefitadssubscriber.d.ts.map +1 -1
  19. package/models/components/benefitadssubscriber.js +11 -11
  20. package/models/components/benefitadssubscriber.js.map +1 -1
  21. package/models/components/benefitgrant.d.ts +4 -5
  22. package/models/components/benefitgrant.d.ts.map +1 -1
  23. package/models/components/benefitgrant.js +0 -5
  24. package/models/components/benefitgrant.js.map +1 -1
  25. package/models/components/benefitgrantwebhook.d.ts +8 -9
  26. package/models/components/benefitgrantwebhook.d.ts.map +1 -1
  27. package/models/components/benefitgrantwebhook.js +0 -9
  28. package/models/components/benefitgrantwebhook.js.map +1 -1
  29. package/models/components/benefittype.d.ts +0 -3
  30. package/models/components/benefittype.d.ts.map +1 -1
  31. package/models/components/benefittype.js +0 -1
  32. package/models/components/benefittype.js.map +1 -1
  33. package/models/components/checkoutlinkproduct.d.ts +2 -24
  34. package/models/components/checkoutlinkproduct.d.ts.map +1 -1
  35. package/models/components/checkoutlinkproduct.js +3 -27
  36. package/models/components/checkoutlinkproduct.js.map +1 -1
  37. package/models/components/checkoutproduct.d.ts +2 -24
  38. package/models/components/checkoutproduct.d.ts.map +1 -1
  39. package/models/components/checkoutproduct.js +3 -27
  40. package/models/components/checkoutproduct.js.map +1 -1
  41. package/models/components/index.d.ts +0 -15
  42. package/models/components/index.d.ts.map +1 -1
  43. package/models/components/index.js +0 -15
  44. package/models/components/index.js.map +1 -1
  45. package/models/components/listresourceuserbenefit.d.ts +0 -9
  46. package/models/components/listresourceuserbenefit.d.ts.map +1 -1
  47. package/models/components/listresourceuserbenefit.js +0 -13
  48. package/models/components/listresourceuserbenefit.js.map +1 -1
  49. package/models/components/oauth2client.js +2 -2
  50. package/models/components/oauth2client.js.map +1 -1
  51. package/models/components/oauth2clientconfiguration.js +2 -2
  52. package/models/components/oauth2clientconfiguration.js.map +1 -1
  53. package/models/components/oauth2clientconfigurationupdate.js +2 -2
  54. package/models/components/oauth2clientconfigurationupdate.js.map +1 -1
  55. package/models/components/organizationfeaturesettings.d.ts +0 -5
  56. package/models/components/organizationfeaturesettings.d.ts.map +1 -1
  57. package/models/components/organizationfeaturesettings.js +0 -4
  58. package/models/components/organizationfeaturesettings.js.map +1 -1
  59. package/models/components/scope.d.ts +0 -6
  60. package/models/components/scope.d.ts.map +1 -1
  61. package/models/components/scope.js +0 -2
  62. package/models/components/scope.js.map +1 -1
  63. package/models/components/userorderproduct.d.ts +2 -24
  64. package/models/components/userorderproduct.d.ts.map +1 -1
  65. package/models/components/userorderproduct.js +3 -27
  66. package/models/components/userorderproduct.js.map +1 -1
  67. package/models/components/usersubscriptionproduct.d.ts +2 -24
  68. package/models/components/usersubscriptionproduct.d.ts.map +1 -1
  69. package/models/components/usersubscriptionproduct.js +3 -27
  70. package/models/components/usersubscriptionproduct.js.map +1 -1
  71. package/models/operations/benefitsupdate.d.ts +4 -4
  72. package/models/operations/benefitsupdate.d.ts.map +1 -1
  73. package/models/operations/benefitsupdate.js +0 -4
  74. package/models/operations/benefitsupdate.js.map +1 -1
  75. package/models/operations/index.d.ts +0 -8
  76. package/models/operations/index.d.ts.map +1 -1
  77. package/models/operations/index.js +0 -8
  78. package/models/operations/index.js.map +1 -1
  79. package/models/operations/usersbenefitsget.d.ts +2 -6
  80. package/models/operations/usersbenefitsget.d.ts.map +1 -1
  81. package/models/operations/usersbenefitsget.js +0 -6
  82. package/models/operations/usersbenefitsget.js.map +1 -1
  83. package/package.json +1 -3
  84. package/sdk/sdk.d.ts +0 -3
  85. package/sdk/sdk.d.ts.map +1 -1
  86. package/sdk/sdk.js +0 -5
  87. package/sdk/sdk.js.map +1 -1
  88. package/src/hooks/hooks.ts +20 -0
  89. package/src/hooks/types.ts +9 -0
  90. package/src/lib/config.ts +3 -3
  91. package/src/models/components/benefit.ts +0 -10
  92. package/src/models/components/benefitadssubscriber.ts +12 -15
  93. package/src/models/components/benefitgrant.ts +0 -14
  94. package/src/models/components/benefitgrantwebhook.ts +0 -22
  95. package/src/models/components/benefittype.ts +0 -1
  96. package/src/models/components/checkoutlinkproduct.ts +4 -68
  97. package/src/models/components/checkoutproduct.ts +4 -66
  98. package/src/models/components/index.ts +0 -15
  99. package/src/models/components/listresourceuserbenefit.ts +0 -30
  100. package/src/models/components/oauth2client.ts +2 -2
  101. package/src/models/components/oauth2clientconfiguration.ts +2 -2
  102. package/src/models/components/oauth2clientconfigurationupdate.ts +2 -2
  103. package/src/models/components/organizationfeaturesettings.ts +0 -9
  104. package/src/models/components/scope.ts +0 -2
  105. package/src/models/components/userorderproduct.ts +4 -60
  106. package/src/models/components/usersubscriptionproduct.ts +4 -68
  107. package/src/models/operations/benefitsupdate.ts +0 -8
  108. package/src/models/operations/index.ts +0 -8
  109. package/src/models/operations/usersbenefitsget.ts +0 -12
  110. package/src/sdk/sdk.ts +0 -6
  111. package/src/types/index.ts +1 -0
  112. package/src/types/webhooks.ts +7 -0
  113. package/types/index.d.ts +1 -0
  114. package/types/index.d.ts.map +1 -1
  115. package/types/webhooks.d.ts +4 -0
  116. package/types/webhooks.d.ts.map +1 -0
  117. package/types/webhooks.js +6 -0
  118. package/types/webhooks.js.map +1 -0
  119. package/docs/sdks/articles/README.md +0 -724
  120. package/funcs/articlesCreate.d.ts +0 -16
  121. package/funcs/articlesCreate.d.ts.map +0 -1
  122. package/funcs/articlesCreate.js +0 -99
  123. package/funcs/articlesCreate.js.map +0 -1
  124. package/funcs/articlesDelete.d.ts +0 -16
  125. package/funcs/articlesDelete.d.ts.map +0 -1
  126. package/funcs/articlesDelete.js +0 -105
  127. package/funcs/articlesDelete.js.map +0 -1
  128. package/funcs/articlesExport.d.ts +0 -16
  129. package/funcs/articlesExport.d.ts.map +0 -1
  130. package/funcs/articlesExport.js +0 -103
  131. package/funcs/articlesExport.js.map +0 -1
  132. package/funcs/articlesGet.d.ts +0 -17
  133. package/funcs/articlesGet.d.ts.map +0 -1
  134. package/funcs/articlesGet.js +0 -105
  135. package/funcs/articlesGet.js.map +0 -1
  136. package/funcs/articlesList.d.ts +0 -19
  137. package/funcs/articlesList.d.ts.map +0 -1
  138. package/funcs/articlesList.js +0 -138
  139. package/funcs/articlesList.js.map +0 -1
  140. package/funcs/articlesPreview.d.ts +0 -16
  141. package/funcs/articlesPreview.d.ts.map +0 -1
  142. package/funcs/articlesPreview.js +0 -106
  143. package/funcs/articlesPreview.js.map +0 -1
  144. package/funcs/articlesReceivers.d.ts +0 -17
  145. package/funcs/articlesReceivers.d.ts.map +0 -1
  146. package/funcs/articlesReceivers.js +0 -105
  147. package/funcs/articlesReceivers.js.map +0 -1
  148. package/funcs/articlesSend.d.ts +0 -16
  149. package/funcs/articlesSend.d.ts.map +0 -1
  150. package/funcs/articlesSend.js +0 -105
  151. package/funcs/articlesSend.js.map +0 -1
  152. package/funcs/articlesUpdate.d.ts +0 -17
  153. package/funcs/articlesUpdate.d.ts.map +0 -1
  154. package/funcs/articlesUpdate.js +0 -106
  155. package/funcs/articlesUpdate.js.map +0 -1
  156. package/models/components/article.d.ts +0 -68
  157. package/models/components/article.d.ts.map +0 -1
  158. package/models/components/article.js +0 -129
  159. package/models/components/article.js.map +0 -1
  160. package/models/components/articlebyline.d.ts +0 -28
  161. package/models/components/articlebyline.d.ts.map +0 -1
  162. package/models/components/articlebyline.js +0 -50
  163. package/models/components/articlebyline.js.map +0 -1
  164. package/models/components/articlecreate.d.ts +0 -93
  165. package/models/components/articlecreate.d.ts.map +0 -1
  166. package/models/components/articlecreate.js +0 -112
  167. package/models/components/articlecreate.js.map +0 -1
  168. package/models/components/articlepreview.d.ts +0 -32
  169. package/models/components/articlepreview.d.ts.map +0 -1
  170. package/models/components/articlepreview.js +0 -59
  171. package/models/components/articlepreview.js.map +0 -1
  172. package/models/components/articlereceivers.d.ts +0 -33
  173. package/models/components/articlereceivers.d.ts.map +0 -1
  174. package/models/components/articlereceivers.js +0 -76
  175. package/models/components/articlereceivers.js.map +0 -1
  176. package/models/components/articleupdate.d.ts +0 -85
  177. package/models/components/articleupdate.d.ts.map +0 -1
  178. package/models/components/articleupdate.js +0 -108
  179. package/models/components/articleupdate.js.map +0 -1
  180. package/models/components/articlevisibility.d.ts +0 -31
  181. package/models/components/articlevisibility.d.ts.map +0 -1
  182. package/models/components/articlevisibility.js +0 -51
  183. package/models/components/articlevisibility.js.map +0 -1
  184. package/models/components/benefitarticles.d.ts +0 -100
  185. package/models/components/benefitarticles.d.ts.map +0 -1
  186. package/models/components/benefitarticles.js +0 -107
  187. package/models/components/benefitarticles.js.map +0 -1
  188. package/models/components/benefitarticlesproperties.d.ts +0 -35
  189. package/models/components/benefitarticlesproperties.d.ts.map +0 -1
  190. package/models/components/benefitarticlesproperties.js +0 -68
  191. package/models/components/benefitarticlesproperties.js.map +0 -1
  192. package/models/components/benefitarticlessubscriber.d.ts +0 -99
  193. package/models/components/benefitarticlessubscriber.d.ts.map +0 -1
  194. package/models/components/benefitarticlessubscriber.js +0 -113
  195. package/models/components/benefitarticlessubscriber.js.map +0 -1
  196. package/models/components/benefitarticlessubscriberproperties.d.ts +0 -35
  197. package/models/components/benefitarticlessubscriberproperties.d.ts.map +0 -1
  198. package/models/components/benefitarticlessubscriberproperties.js +0 -68
  199. package/models/components/benefitarticlessubscriberproperties.js.map +0 -1
  200. package/models/components/benefitarticlesupdate.d.ts +0 -57
  201. package/models/components/benefitarticlesupdate.d.ts.map +0 -1
  202. package/models/components/benefitarticlesupdate.js +0 -79
  203. package/models/components/benefitarticlesupdate.js.map +0 -1
  204. package/models/components/benefitgrantarticlesproperties.d.ts +0 -25
  205. package/models/components/benefitgrantarticlesproperties.d.ts.map +0 -1
  206. package/models/components/benefitgrantarticlesproperties.js +0 -55
  207. package/models/components/benefitgrantarticlesproperties.js.map +0 -1
  208. package/models/components/bylineprofile.d.ts +0 -31
  209. package/models/components/bylineprofile.d.ts.map +0 -1
  210. package/models/components/bylineprofile.js +0 -70
  211. package/models/components/bylineprofile.js.map +0 -1
  212. package/models/components/listresourcearticle.d.ts +0 -33
  213. package/models/components/listresourcearticle.d.ts.map +0 -1
  214. package/models/components/listresourcearticle.js +0 -63
  215. package/models/components/listresourcearticle.js.map +0 -1
  216. package/models/operations/articlesdelete.d.ts +0 -29
  217. package/models/operations/articlesdelete.d.ts.map +0 -1
  218. package/models/operations/articlesdelete.js +0 -59
  219. package/models/operations/articlesdelete.js.map +0 -1
  220. package/models/operations/articlesexport.d.ts +0 -29
  221. package/models/operations/articlesexport.d.ts.map +0 -1
  222. package/models/operations/articlesexport.js +0 -68
  223. package/models/operations/articlesexport.js.map +0 -1
  224. package/models/operations/articlesget.d.ts +0 -29
  225. package/models/operations/articlesget.d.ts.map +0 -1
  226. package/models/operations/articlesget.js +0 -59
  227. package/models/operations/articlesget.js.map +0 -1
  228. package/models/operations/articleslist.d.ts +0 -141
  229. package/models/operations/articleslist.d.ts.map +0 -1
  230. package/models/operations/articleslist.js +0 -184
  231. package/models/operations/articleslist.js.map +0 -1
  232. package/models/operations/articlespreview.d.ts +0 -32
  233. package/models/operations/articlespreview.d.ts.map +0 -1
  234. package/models/operations/articlespreview.js +0 -71
  235. package/models/operations/articlespreview.js.map +0 -1
  236. package/models/operations/articlesreceivers.d.ts +0 -29
  237. package/models/operations/articlesreceivers.d.ts.map +0 -1
  238. package/models/operations/articlesreceivers.js +0 -59
  239. package/models/operations/articlesreceivers.js.map +0 -1
  240. package/models/operations/articlessend.d.ts +0 -29
  241. package/models/operations/articlessend.d.ts.map +0 -1
  242. package/models/operations/articlessend.js +0 -59
  243. package/models/operations/articlessend.js.map +0 -1
  244. package/models/operations/articlesupdate.d.ts +0 -32
  245. package/models/operations/articlesupdate.d.ts.map +0 -1
  246. package/models/operations/articlesupdate.js +0 -71
  247. package/models/operations/articlesupdate.js.map +0 -1
  248. package/sdk/articles.d.ts +0 -72
  249. package/sdk/articles.d.ts.map +0 -1
  250. package/sdk/articles.js +0 -103
  251. package/sdk/articles.js.map +0 -1
  252. package/src/funcs/articlesCreate.ts +0 -131
  253. package/src/funcs/articlesDelete.ts +0 -144
  254. package/src/funcs/articlesExport.ts +0 -136
  255. package/src/funcs/articlesGet.ts +0 -141
  256. package/src/funcs/articlesList.ts +0 -205
  257. package/src/funcs/articlesPreview.ts +0 -145
  258. package/src/funcs/articlesReceivers.ts +0 -138
  259. package/src/funcs/articlesSend.ts +0 -144
  260. package/src/funcs/articlesUpdate.ts +0 -145
  261. package/src/models/components/article.ts +0 -187
  262. package/src/models/components/articlebyline.ts +0 -33
  263. package/src/models/components/articlecreate.ts +0 -191
  264. package/src/models/components/articlepreview.ts +0 -65
  265. package/src/models/components/articlereceivers.ts +0 -87
  266. package/src/models/components/articleupdate.ts +0 -179
  267. package/src/models/components/articlevisibility.ts +0 -34
  268. package/src/models/components/benefitarticles.ts +0 -175
  269. package/src/models/components/benefitarticlesproperties.ts +0 -81
  270. package/src/models/components/benefitarticlessubscriber.ts +0 -189
  271. package/src/models/components/benefitarticlessubscriberproperties.ts +0 -86
  272. package/src/models/components/benefitarticlesupdate.ts +0 -102
  273. package/src/models/components/benefitgrantarticlesproperties.ts +0 -60
  274. package/src/models/components/bylineprofile.ts +0 -75
  275. package/src/models/components/listresourcearticle.ts +0 -82
  276. package/src/models/operations/articlesdelete.ts +0 -66
  277. package/src/models/operations/articlesexport.ts +0 -75
  278. package/src/models/operations/articlesget.ts +0 -66
  279. package/src/models/operations/articleslist.ts +0 -342
  280. package/src/models/operations/articlespreview.ts +0 -80
  281. package/src/models/operations/articlesreceivers.ts +0 -66
  282. package/src/models/operations/articlessend.ts +0 -66
  283. package/src/models/operations/articlesupdate.ts +0 -80
  284. package/src/sdk/articles.ts +0 -173
@@ -1,79 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.BenefitArticlesUpdate$ = exports.BenefitArticlesUpdate$outboundSchema = exports.BenefitArticlesUpdate$inboundSchema = exports.BenefitArticlesUpdateType$ = exports.BenefitArticlesUpdateType$outboundSchema = exports.BenefitArticlesUpdateType$inboundSchema = exports.BenefitArticlesUpdateType = void 0;
30
- exports.benefitArticlesUpdateToJSON = benefitArticlesUpdateToJSON;
31
- exports.benefitArticlesUpdateFromJSON = benefitArticlesUpdateFromJSON;
32
- const z = __importStar(require("zod"));
33
- const schemas_js_1 = require("../../lib/schemas.js");
34
- exports.BenefitArticlesUpdateType = {
35
- Articles: "articles",
36
- };
37
- /** @internal */
38
- exports.BenefitArticlesUpdateType$inboundSchema = z.nativeEnum(exports.BenefitArticlesUpdateType);
39
- /** @internal */
40
- exports.BenefitArticlesUpdateType$outboundSchema = exports.BenefitArticlesUpdateType$inboundSchema;
41
- /**
42
- * @internal
43
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
- */
45
- var BenefitArticlesUpdateType$;
46
- (function (BenefitArticlesUpdateType$) {
47
- /** @deprecated use `BenefitArticlesUpdateType$inboundSchema` instead. */
48
- BenefitArticlesUpdateType$.inboundSchema = exports.BenefitArticlesUpdateType$inboundSchema;
49
- /** @deprecated use `BenefitArticlesUpdateType$outboundSchema` instead. */
50
- BenefitArticlesUpdateType$.outboundSchema = exports.BenefitArticlesUpdateType$outboundSchema;
51
- })(BenefitArticlesUpdateType$ || (exports.BenefitArticlesUpdateType$ = BenefitArticlesUpdateType$ = {}));
52
- /** @internal */
53
- exports.BenefitArticlesUpdate$inboundSchema = z.object({
54
- description: z.nullable(z.string()).optional(),
55
- type: z.literal("articles").optional(),
56
- });
57
- /** @internal */
58
- exports.BenefitArticlesUpdate$outboundSchema = z.object({
59
- description: z.nullable(z.string()).optional(),
60
- type: z.literal("articles").default("articles"),
61
- });
62
- /**
63
- * @internal
64
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
- */
66
- var BenefitArticlesUpdate$;
67
- (function (BenefitArticlesUpdate$) {
68
- /** @deprecated use `BenefitArticlesUpdate$inboundSchema` instead. */
69
- BenefitArticlesUpdate$.inboundSchema = exports.BenefitArticlesUpdate$inboundSchema;
70
- /** @deprecated use `BenefitArticlesUpdate$outboundSchema` instead. */
71
- BenefitArticlesUpdate$.outboundSchema = exports.BenefitArticlesUpdate$outboundSchema;
72
- })(BenefitArticlesUpdate$ || (exports.BenefitArticlesUpdate$ = BenefitArticlesUpdate$ = {}));
73
- function benefitArticlesUpdateToJSON(benefitArticlesUpdate) {
74
- return JSON.stringify(exports.BenefitArticlesUpdate$outboundSchema.parse(benefitArticlesUpdate));
75
- }
76
- function benefitArticlesUpdateFromJSON(jsonString) {
77
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BenefitArticlesUpdate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BenefitArticlesUpdate' from JSON`);
78
- }
79
- //# sourceMappingURL=benefitarticlesupdate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitarticlesupdate.js","sourceRoot":"","sources":["../../src/models/components/benefitarticlesupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,kEAMC;AAED,sEAQC;AAjGD,uCAAyB;AACzB,qDAAiD;AAKpC,QAAA,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;CACZ,CAAC;AAaX,gBAAgB;AACH,QAAA,uCAAuC,GAEhD,CAAC,CAAC,UAAU,CAAC,iCAAyB,CAAC,CAAC;AAE5C,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,+CAAuC,CAAC;AAE5C;;;GAGG;AACH,IAAiB,0BAA0B,CAK1C;AALD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AACzE,CAAC,EALgB,0BAA0B,0CAA1B,0BAA0B,QAK1C;AAED,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CAChD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1,25 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type BenefitGrantArticlesProperties = {};
5
- /** @internal */
6
- export declare const BenefitGrantArticlesProperties$inboundSchema: z.ZodType<BenefitGrantArticlesProperties, z.ZodTypeDef, unknown>;
7
- /** @internal */
8
- export type BenefitGrantArticlesProperties$Outbound = {};
9
- /** @internal */
10
- export declare const BenefitGrantArticlesProperties$outboundSchema: z.ZodType<BenefitGrantArticlesProperties$Outbound, z.ZodTypeDef, BenefitGrantArticlesProperties>;
11
- /**
12
- * @internal
13
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
14
- */
15
- export declare namespace BenefitGrantArticlesProperties$ {
16
- /** @deprecated use `BenefitGrantArticlesProperties$inboundSchema` instead. */
17
- const inboundSchema: z.ZodType<BenefitGrantArticlesProperties, z.ZodTypeDef, unknown>;
18
- /** @deprecated use `BenefitGrantArticlesProperties$outboundSchema` instead. */
19
- const outboundSchema: z.ZodType<BenefitGrantArticlesProperties$Outbound, z.ZodTypeDef, BenefitGrantArticlesProperties>;
20
- /** @deprecated use `BenefitGrantArticlesProperties$Outbound` instead. */
21
- type Outbound = BenefitGrantArticlesProperties$Outbound;
22
- }
23
- export declare function benefitGrantArticlesPropertiesToJSON(benefitGrantArticlesProperties: BenefitGrantArticlesProperties): string;
24
- export declare function benefitGrantArticlesPropertiesFromJSON(jsonString: string): SafeParseResult<BenefitGrantArticlesProperties, SDKValidationError>;
25
- //# sourceMappingURL=benefitgrantarticlesproperties.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitgrantarticlesproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantarticlesproperties.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;AAErE,MAAM,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG,EAAE,CAAC;AAEzD,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAChB,CAAC;AAEjB;;;GAGG;AACH,yBAAiB,+BAA+B,CAAC;IAC/C,8EAA8E;IACvE,MAAM,aAAa,kEAA+C,CAAC;IAC1E,+EAA+E;IACxE,MAAM,cAAc,kGAAgD,CAAC;IAC5E,yEAAyE;IACzE,KAAY,QAAQ,GAAG,uCAAuC,CAAC;CAChE;AAED,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR;AAED,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
@@ -1,55 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.BenefitGrantArticlesProperties$ = exports.BenefitGrantArticlesProperties$outboundSchema = exports.BenefitGrantArticlesProperties$inboundSchema = void 0;
30
- exports.benefitGrantArticlesPropertiesToJSON = benefitGrantArticlesPropertiesToJSON;
31
- exports.benefitGrantArticlesPropertiesFromJSON = benefitGrantArticlesPropertiesFromJSON;
32
- const z = __importStar(require("zod"));
33
- const schemas_js_1 = require("../../lib/schemas.js");
34
- /** @internal */
35
- exports.BenefitGrantArticlesProperties$inboundSchema = z.object({});
36
- /** @internal */
37
- exports.BenefitGrantArticlesProperties$outboundSchema = z.object({});
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
- var BenefitGrantArticlesProperties$;
43
- (function (BenefitGrantArticlesProperties$) {
44
- /** @deprecated use `BenefitGrantArticlesProperties$inboundSchema` instead. */
45
- BenefitGrantArticlesProperties$.inboundSchema = exports.BenefitGrantArticlesProperties$inboundSchema;
46
- /** @deprecated use `BenefitGrantArticlesProperties$outboundSchema` instead. */
47
- BenefitGrantArticlesProperties$.outboundSchema = exports.BenefitGrantArticlesProperties$outboundSchema;
48
- })(BenefitGrantArticlesProperties$ || (exports.BenefitGrantArticlesProperties$ = BenefitGrantArticlesProperties$ = {}));
49
- function benefitGrantArticlesPropertiesToJSON(benefitGrantArticlesProperties) {
50
- return JSON.stringify(exports.BenefitGrantArticlesProperties$outboundSchema.parse(benefitGrantArticlesProperties));
51
- }
52
- function benefitGrantArticlesPropertiesFromJSON(jsonString) {
53
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BenefitGrantArticlesProperties$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BenefitGrantArticlesProperties' from JSON`);
54
- }
55
- //# sourceMappingURL=benefitgrantarticlesproperties.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitgrantarticlesproperties.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantarticlesproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,oFAQC;AAED,wFAQC;AAvDD,uCAAyB;AACzB,qDAAiD;AAMjD,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,+BAA+B,CAO/C;AAPD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,oDAA4C,CAAC;IAC1E,+EAA+E;IAClE,8CAAc,GAAG,qDAA6C,CAAC;AAG9E,CAAC,EAPgB,+BAA+B,+CAA/B,+BAA+B,QAO/C;AAED,SAAgB,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,qDAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,sCAAsC,CACpD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oDAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AACJ,CAAC"}
@@ -1,31 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type BylineProfile = {
5
- name: string;
6
- avatarUrl: string | null;
7
- };
8
- /** @internal */
9
- export declare const BylineProfile$inboundSchema: z.ZodType<BylineProfile, z.ZodTypeDef, unknown>;
10
- /** @internal */
11
- export type BylineProfile$Outbound = {
12
- name: string;
13
- avatar_url: string | null;
14
- };
15
- /** @internal */
16
- export declare const BylineProfile$outboundSchema: z.ZodType<BylineProfile$Outbound, z.ZodTypeDef, BylineProfile>;
17
- /**
18
- * @internal
19
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20
- */
21
- export declare namespace BylineProfile$ {
22
- /** @deprecated use `BylineProfile$inboundSchema` instead. */
23
- const inboundSchema: z.ZodType<BylineProfile, z.ZodTypeDef, unknown>;
24
- /** @deprecated use `BylineProfile$outboundSchema` instead. */
25
- const outboundSchema: z.ZodType<BylineProfile$Outbound, z.ZodTypeDef, BylineProfile>;
26
- /** @deprecated use `BylineProfile$Outbound` instead. */
27
- type Outbound = BylineProfile$Outbound;
28
- }
29
- export declare function bylineProfileToJSON(bylineProfile: BylineProfile): string;
30
- export declare function bylineProfileFromJSON(jsonString: string): SafeParseResult<BylineProfile, SDKValidationError>;
31
- //# sourceMappingURL=bylineprofile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bylineprofile.d.ts","sourceRoot":"","sources":["../../src/models/components/bylineprofile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAQb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
@@ -1,70 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.BylineProfile$ = exports.BylineProfile$outboundSchema = exports.BylineProfile$inboundSchema = void 0;
30
- exports.bylineProfileToJSON = bylineProfileToJSON;
31
- exports.bylineProfileFromJSON = bylineProfileFromJSON;
32
- const z = __importStar(require("zod"));
33
- const primitives_js_1 = require("../../lib/primitives.js");
34
- const schemas_js_1 = require("../../lib/schemas.js");
35
- /** @internal */
36
- exports.BylineProfile$inboundSchema = z.object({
37
- name: z.string(),
38
- avatar_url: z.nullable(z.string()),
39
- }).transform((v) => {
40
- return (0, primitives_js_1.remap)(v, {
41
- "avatar_url": "avatarUrl",
42
- });
43
- });
44
- /** @internal */
45
- exports.BylineProfile$outboundSchema = z.object({
46
- name: z.string(),
47
- avatarUrl: z.nullable(z.string()),
48
- }).transform((v) => {
49
- return (0, primitives_js_1.remap)(v, {
50
- avatarUrl: "avatar_url",
51
- });
52
- });
53
- /**
54
- * @internal
55
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
- */
57
- var BylineProfile$;
58
- (function (BylineProfile$) {
59
- /** @deprecated use `BylineProfile$inboundSchema` instead. */
60
- BylineProfile$.inboundSchema = exports.BylineProfile$inboundSchema;
61
- /** @deprecated use `BylineProfile$outboundSchema` instead. */
62
- BylineProfile$.outboundSchema = exports.BylineProfile$outboundSchema;
63
- })(BylineProfile$ || (exports.BylineProfile$ = BylineProfile$ = {}));
64
- function bylineProfileToJSON(bylineProfile) {
65
- return JSON.stringify(exports.BylineProfile$outboundSchema.parse(bylineProfile));
66
- }
67
- function bylineProfileFromJSON(jsonString) {
68
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BylineProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BylineProfile' from JSON`);
69
- }
70
- //# sourceMappingURL=bylineprofile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bylineprofile.js","sourceRoot":"","sources":["../../src/models/components/bylineprofile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DH,kDAEC;AAED,sDAQC;AAtED,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AASjD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACnC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAClC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,cAAc,CAO9B;AAPD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAG7D,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B;AAED,SAAgB,mBAAmB,CAAC,aAA4B;IAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,oCAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,qBAAqB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
@@ -1,33 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { Article, Article$Outbound } from "./article.js";
5
- import { Pagination, Pagination$Outbound } from "./pagination.js";
6
- export type ListResourceArticle = {
7
- items: Array<Article>;
8
- pagination: Pagination;
9
- };
10
- /** @internal */
11
- export declare const ListResourceArticle$inboundSchema: z.ZodType<ListResourceArticle, z.ZodTypeDef, unknown>;
12
- /** @internal */
13
- export type ListResourceArticle$Outbound = {
14
- items: Array<Article$Outbound>;
15
- pagination: Pagination$Outbound;
16
- };
17
- /** @internal */
18
- export declare const ListResourceArticle$outboundSchema: z.ZodType<ListResourceArticle$Outbound, z.ZodTypeDef, ListResourceArticle>;
19
- /**
20
- * @internal
21
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
- */
23
- export declare namespace ListResourceArticle$ {
24
- /** @deprecated use `ListResourceArticle$inboundSchema` instead. */
25
- const inboundSchema: z.ZodType<ListResourceArticle, z.ZodTypeDef, unknown>;
26
- /** @deprecated use `ListResourceArticle$outboundSchema` instead. */
27
- const outboundSchema: z.ZodType<ListResourceArticle$Outbound, z.ZodTypeDef, ListResourceArticle>;
28
- /** @deprecated use `ListResourceArticle$Outbound` instead. */
29
- type Outbound = ListResourceArticle$Outbound;
30
- }
31
- export declare function listResourceArticleToJSON(listResourceArticle: ListResourceArticle): string;
32
- export declare function listResourceArticleFromJSON(jsonString: string): SafeParseResult<ListResourceArticle, SDKValidationError>;
33
- //# sourceMappingURL=listresourcearticle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listresourcearticle.d.ts","sourceRoot":"","sources":["../../src/models/components/listresourcearticle.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,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC/B,UAAU,EAAE,mBAAmB,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAInB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -1,63 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ListResourceArticle$ = exports.ListResourceArticle$outboundSchema = exports.ListResourceArticle$inboundSchema = void 0;
30
- exports.listResourceArticleToJSON = listResourceArticleToJSON;
31
- exports.listResourceArticleFromJSON = listResourceArticleFromJSON;
32
- const z = __importStar(require("zod"));
33
- const schemas_js_1 = require("../../lib/schemas.js");
34
- const article_js_1 = require("./article.js");
35
- const pagination_js_1 = require("./pagination.js");
36
- /** @internal */
37
- exports.ListResourceArticle$inboundSchema = z.object({
38
- items: z.array(article_js_1.Article$inboundSchema),
39
- pagination: pagination_js_1.Pagination$inboundSchema,
40
- });
41
- /** @internal */
42
- exports.ListResourceArticle$outboundSchema = z.object({
43
- items: z.array(article_js_1.Article$outboundSchema),
44
- pagination: pagination_js_1.Pagination$outboundSchema,
45
- });
46
- /**
47
- * @internal
48
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
- */
50
- var ListResourceArticle$;
51
- (function (ListResourceArticle$) {
52
- /** @deprecated use `ListResourceArticle$inboundSchema` instead. */
53
- ListResourceArticle$.inboundSchema = exports.ListResourceArticle$inboundSchema;
54
- /** @deprecated use `ListResourceArticle$outboundSchema` instead. */
55
- ListResourceArticle$.outboundSchema = exports.ListResourceArticle$outboundSchema;
56
- })(ListResourceArticle$ || (exports.ListResourceArticle$ = ListResourceArticle$ = {}));
57
- function listResourceArticleToJSON(listResourceArticle) {
58
- return JSON.stringify(exports.ListResourceArticle$outboundSchema.parse(listResourceArticle));
59
- }
60
- function listResourceArticleFromJSON(jsonString) {
61
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListResourceArticle$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListResourceArticle' from JSON`);
62
- }
63
- //# sourceMappingURL=listresourcearticle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listresourcearticle.js","sourceRoot":"","sources":["../../src/models/components/listresourcearticle.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,8DAMC;AAED,kEAQC;AA7ED,uCAAyB;AACzB,qDAAiD;AAGjD,6CAKsB;AACtB,mDAKyB;AAOzB,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,kCAAqB,CAAC;IACrC,UAAU,EAAE,wCAAwB;CACrC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,mCAAsB,CAAC;IACtC,UAAU,EAAE,yCAAyB;CACtC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
@@ -1,29 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type ArticlesDeleteRequest = {
5
- id: string;
6
- };
7
- /** @internal */
8
- export declare const ArticlesDeleteRequest$inboundSchema: z.ZodType<ArticlesDeleteRequest, z.ZodTypeDef, unknown>;
9
- /** @internal */
10
- export type ArticlesDeleteRequest$Outbound = {
11
- id: string;
12
- };
13
- /** @internal */
14
- export declare const ArticlesDeleteRequest$outboundSchema: z.ZodType<ArticlesDeleteRequest$Outbound, z.ZodTypeDef, ArticlesDeleteRequest>;
15
- /**
16
- * @internal
17
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
18
- */
19
- export declare namespace ArticlesDeleteRequest$ {
20
- /** @deprecated use `ArticlesDeleteRequest$inboundSchema` instead. */
21
- const inboundSchema: z.ZodType<ArticlesDeleteRequest, z.ZodTypeDef, unknown>;
22
- /** @deprecated use `ArticlesDeleteRequest$outboundSchema` instead. */
23
- const outboundSchema: z.ZodType<ArticlesDeleteRequest$Outbound, z.ZodTypeDef, ArticlesDeleteRequest>;
24
- /** @deprecated use `ArticlesDeleteRequest$Outbound` instead. */
25
- type Outbound = ArticlesDeleteRequest$Outbound;
26
- }
27
- export declare function articlesDeleteRequestToJSON(articlesDeleteRequest: ArticlesDeleteRequest): string;
28
- export declare function articlesDeleteRequestFromJSON(jsonString: string): SafeParseResult<ArticlesDeleteRequest, SDKValidationError>;
29
- //# sourceMappingURL=articlesdelete.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articlesdelete.d.ts","sourceRoot":"","sources":["../../src/models/operations/articlesdelete.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;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAGrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,59 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ArticlesDeleteRequest$ = exports.ArticlesDeleteRequest$outboundSchema = exports.ArticlesDeleteRequest$inboundSchema = void 0;
30
- exports.articlesDeleteRequestToJSON = articlesDeleteRequestToJSON;
31
- exports.articlesDeleteRequestFromJSON = articlesDeleteRequestFromJSON;
32
- const z = __importStar(require("zod"));
33
- const schemas_js_1 = require("../../lib/schemas.js");
34
- /** @internal */
35
- exports.ArticlesDeleteRequest$inboundSchema = z.object({
36
- id: z.string(),
37
- });
38
- /** @internal */
39
- exports.ArticlesDeleteRequest$outboundSchema = z.object({
40
- id: z.string(),
41
- });
42
- /**
43
- * @internal
44
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
45
- */
46
- var ArticlesDeleteRequest$;
47
- (function (ArticlesDeleteRequest$) {
48
- /** @deprecated use `ArticlesDeleteRequest$inboundSchema` instead. */
49
- ArticlesDeleteRequest$.inboundSchema = exports.ArticlesDeleteRequest$inboundSchema;
50
- /** @deprecated use `ArticlesDeleteRequest$outboundSchema` instead. */
51
- ArticlesDeleteRequest$.outboundSchema = exports.ArticlesDeleteRequest$outboundSchema;
52
- })(ArticlesDeleteRequest$ || (exports.ArticlesDeleteRequest$ = ArticlesDeleteRequest$ = {}));
53
- function articlesDeleteRequestToJSON(articlesDeleteRequest) {
54
- return JSON.stringify(exports.ArticlesDeleteRequest$outboundSchema.parse(articlesDeleteRequest));
55
- }
56
- function articlesDeleteRequestFromJSON(jsonString) {
57
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ArticlesDeleteRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ArticlesDeleteRequest' from JSON`);
58
- }
59
- //# sourceMappingURL=articlesdelete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articlesdelete.js","sourceRoot":"","sources":["../../src/models/operations/articlesdelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CH,kEAMC;AAED,sEAQC;AA7DD,uCAAyB;AACzB,qDAAiD;AAQjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1,29 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type ArticlesExportRequest = {
5
- organizationId: string;
6
- };
7
- /** @internal */
8
- export declare const ArticlesExportRequest$inboundSchema: z.ZodType<ArticlesExportRequest, z.ZodTypeDef, unknown>;
9
- /** @internal */
10
- export type ArticlesExportRequest$Outbound = {
11
- organization_id: string;
12
- };
13
- /** @internal */
14
- export declare const ArticlesExportRequest$outboundSchema: z.ZodType<ArticlesExportRequest$Outbound, z.ZodTypeDef, ArticlesExportRequest>;
15
- /**
16
- * @internal
17
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
18
- */
19
- export declare namespace ArticlesExportRequest$ {
20
- /** @deprecated use `ArticlesExportRequest$inboundSchema` instead. */
21
- const inboundSchema: z.ZodType<ArticlesExportRequest, z.ZodTypeDef, unknown>;
22
- /** @deprecated use `ArticlesExportRequest$outboundSchema` instead. */
23
- const outboundSchema: z.ZodType<ArticlesExportRequest$Outbound, z.ZodTypeDef, ArticlesExportRequest>;
24
- /** @deprecated use `ArticlesExportRequest$Outbound` instead. */
25
- type Outbound = ArticlesExportRequest$Outbound;
26
- }
27
- export declare function articlesExportRequestToJSON(articlesExportRequest: ArticlesExportRequest): string;
28
- export declare function articlesExportRequestFromJSON(jsonString: string): SafeParseResult<ArticlesExportRequest, SDKValidationError>;
29
- //# sourceMappingURL=articlesexport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articlesexport.d.ts","sourceRoot":"","sources":["../../src/models/operations/articlesexport.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAOrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,68 +0,0 @@
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 (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ArticlesExportRequest$ = exports.ArticlesExportRequest$outboundSchema = exports.ArticlesExportRequest$inboundSchema = void 0;
30
- exports.articlesExportRequestToJSON = articlesExportRequestToJSON;
31
- exports.articlesExportRequestFromJSON = articlesExportRequestFromJSON;
32
- const z = __importStar(require("zod"));
33
- const primitives_js_1 = require("../../lib/primitives.js");
34
- const schemas_js_1 = require("../../lib/schemas.js");
35
- /** @internal */
36
- exports.ArticlesExportRequest$inboundSchema = z.object({
37
- organization_id: z.string(),
38
- }).transform((v) => {
39
- return (0, primitives_js_1.remap)(v, {
40
- "organization_id": "organizationId",
41
- });
42
- });
43
- /** @internal */
44
- exports.ArticlesExportRequest$outboundSchema = z.object({
45
- organizationId: z.string(),
46
- }).transform((v) => {
47
- return (0, primitives_js_1.remap)(v, {
48
- organizationId: "organization_id",
49
- });
50
- });
51
- /**
52
- * @internal
53
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
- */
55
- var ArticlesExportRequest$;
56
- (function (ArticlesExportRequest$) {
57
- /** @deprecated use `ArticlesExportRequest$inboundSchema` instead. */
58
- ArticlesExportRequest$.inboundSchema = exports.ArticlesExportRequest$inboundSchema;
59
- /** @deprecated use `ArticlesExportRequest$outboundSchema` instead. */
60
- ArticlesExportRequest$.outboundSchema = exports.ArticlesExportRequest$outboundSchema;
61
- })(ArticlesExportRequest$ || (exports.ArticlesExportRequest$ = ArticlesExportRequest$ = {}));
62
- function articlesExportRequestToJSON(articlesExportRequest) {
63
- return JSON.stringify(exports.ArticlesExportRequest$outboundSchema.parse(articlesExportRequest));
64
- }
65
- function articlesExportRequestFromJSON(jsonString) {
66
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ArticlesExportRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ArticlesExportRequest' from JSON`);
67
- }
68
- //# sourceMappingURL=articlesexport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"articlesexport.js","sourceRoot":"","sources":["../../src/models/operations/articlesexport.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDH,kEAMC;AAED,sEAQC;AAtED,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAQjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1,29 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type ArticlesGetRequest = {
5
- id: string;
6
- };
7
- /** @internal */
8
- export declare const ArticlesGetRequest$inboundSchema: z.ZodType<ArticlesGetRequest, z.ZodTypeDef, unknown>;
9
- /** @internal */
10
- export type ArticlesGetRequest$Outbound = {
11
- id: string;
12
- };
13
- /** @internal */
14
- export declare const ArticlesGetRequest$outboundSchema: z.ZodType<ArticlesGetRequest$Outbound, z.ZodTypeDef, ArticlesGetRequest>;
15
- /**
16
- * @internal
17
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
18
- */
19
- export declare namespace ArticlesGetRequest$ {
20
- /** @deprecated use `ArticlesGetRequest$inboundSchema` instead. */
21
- const inboundSchema: z.ZodType<ArticlesGetRequest, z.ZodTypeDef, unknown>;
22
- /** @deprecated use `ArticlesGetRequest$outboundSchema` instead. */
23
- const outboundSchema: z.ZodType<ArticlesGetRequest$Outbound, z.ZodTypeDef, ArticlesGetRequest>;
24
- /** @deprecated use `ArticlesGetRequest$Outbound` instead. */
25
- type Outbound = ArticlesGetRequest$Outbound;
26
- }
27
- export declare function articlesGetRequestToJSON(articlesGetRequest: ArticlesGetRequest): string;
28
- export declare function articlesGetRequestFromJSON(jsonString: string): SafeParseResult<ArticlesGetRequest, SDKValidationError>;
29
- //# sourceMappingURL=articlesget.d.ts.map