@polar-sh/sdk 0.17.3 → 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.
- package/FUNCTIONS.md +106 -0
- package/README.md +181 -30
- package/RUNTIMES.md +22 -0
- package/docs/sdks/checkouts/README.md +1 -1
- package/docs/sdks/files/README.md +5 -1
- package/funcs/filesCreate.js +1 -1
- package/funcs/filesDelete.d.ts +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +1 -1
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesUpdate.d.ts +1 -1
- package/funcs/filesUpdate.d.ts.map +1 -1
- package/funcs/filesUpdate.js +2 -2
- package/funcs/filesUpdate.js.map +1 -1
- package/funcs/filesUploaded.d.ts +1 -1
- package/funcs/filesUploaded.d.ts.map +1 -1
- package/funcs/filesUploaded.js +2 -2
- package/funcs/filesUploaded.js.map +1 -1
- package/hooks/hooks.d.ts.map +1 -1
- package/hooks/hooks.js +18 -0
- package/hooks/hooks.js.map +1 -1
- package/hooks/types.d.ts +3 -0
- package/hooks/types.d.ts.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/benefit.d.ts +2 -3
- package/models/components/benefit.d.ts.map +1 -1
- package/models/components/benefit.js +0 -3
- package/models/components/benefit.js.map +1 -1
- package/models/components/benefitadssubscriber.d.ts +7 -7
- package/models/components/benefitadssubscriber.d.ts.map +1 -1
- package/models/components/benefitadssubscriber.js +11 -11
- package/models/components/benefitadssubscriber.js.map +1 -1
- package/models/components/benefitgrant.d.ts +4 -5
- package/models/components/benefitgrant.d.ts.map +1 -1
- package/models/components/benefitgrant.js +0 -5
- package/models/components/benefitgrant.js.map +1 -1
- package/models/components/benefitgrantwebhook.d.ts +8 -9
- package/models/components/benefitgrantwebhook.d.ts.map +1 -1
- package/models/components/benefitgrantwebhook.js +0 -9
- package/models/components/benefitgrantwebhook.js.map +1 -1
- package/models/components/benefittype.d.ts +0 -3
- package/models/components/benefittype.d.ts.map +1 -1
- package/models/components/benefittype.js +0 -1
- package/models/components/benefittype.js.map +1 -1
- package/models/components/checkoutlinkproduct.d.ts +2 -24
- package/models/components/checkoutlinkproduct.d.ts.map +1 -1
- package/models/components/checkoutlinkproduct.js +3 -27
- package/models/components/checkoutlinkproduct.js.map +1 -1
- package/models/components/checkoutproduct.d.ts +2 -24
- package/models/components/checkoutproduct.d.ts.map +1 -1
- package/models/components/checkoutproduct.js +3 -27
- package/models/components/checkoutproduct.js.map +1 -1
- package/models/components/index.d.ts +0 -15
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -15
- package/models/components/index.js.map +1 -1
- package/models/components/listresourceuserbenefit.d.ts +0 -9
- package/models/components/listresourceuserbenefit.d.ts.map +1 -1
- package/models/components/listresourceuserbenefit.js +0 -13
- package/models/components/listresourceuserbenefit.js.map +1 -1
- package/models/components/oauth2client.js +2 -2
- package/models/components/oauth2client.js.map +1 -1
- package/models/components/oauth2clientconfiguration.js +2 -2
- package/models/components/oauth2clientconfiguration.js.map +1 -1
- package/models/components/oauth2clientconfigurationupdate.js +2 -2
- package/models/components/oauth2clientconfigurationupdate.js.map +1 -1
- package/models/components/organizationfeaturesettings.d.ts +0 -5
- package/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/models/components/organizationfeaturesettings.js +0 -4
- package/models/components/organizationfeaturesettings.js.map +1 -1
- package/models/components/scope.d.ts +0 -6
- package/models/components/scope.d.ts.map +1 -1
- package/models/components/scope.js +0 -2
- package/models/components/scope.js.map +1 -1
- package/models/components/userorderproduct.d.ts +2 -24
- package/models/components/userorderproduct.d.ts.map +1 -1
- package/models/components/userorderproduct.js +3 -27
- package/models/components/userorderproduct.js.map +1 -1
- package/models/components/usersubscriptionproduct.d.ts +2 -24
- package/models/components/usersubscriptionproduct.d.ts.map +1 -1
- package/models/components/usersubscriptionproduct.js +3 -27
- package/models/components/usersubscriptionproduct.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/benefitsupdate.d.ts +4 -4
- package/models/operations/benefitsupdate.d.ts.map +1 -1
- package/models/operations/benefitsupdate.js +0 -4
- package/models/operations/benefitsupdate.js.map +1 -1
- package/models/operations/filesupdate.d.ts +1 -1
- package/models/operations/filesuploaded.d.ts +1 -1
- package/models/operations/index.d.ts +0 -8
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -8
- package/models/operations/index.js.map +1 -1
- package/models/operations/usersbenefitsget.d.ts +2 -6
- package/models/operations/usersbenefitsget.d.ts.map +1 -1
- package/models/operations/usersbenefitsget.js +0 -6
- package/models/operations/usersbenefitsget.js.map +1 -1
- package/package.json +1 -3
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -5
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/filesCreate.ts +1 -1
- package/src/funcs/filesDelete.ts +3 -3
- package/src/funcs/filesUpdate.ts +7 -1
- package/src/funcs/filesUploaded.ts +7 -1
- package/src/hooks/hooks.ts +20 -0
- package/src/hooks/types.ts +9 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/benefit.ts +0 -10
- package/src/models/components/benefitadssubscriber.ts +12 -15
- package/src/models/components/benefitgrant.ts +0 -14
- package/src/models/components/benefitgrantwebhook.ts +0 -22
- package/src/models/components/benefittype.ts +0 -1
- package/src/models/components/checkoutlinkproduct.ts +4 -68
- package/src/models/components/checkoutproduct.ts +4 -66
- package/src/models/components/index.ts +0 -15
- package/src/models/components/listresourceuserbenefit.ts +0 -30
- package/src/models/components/oauth2client.ts +2 -2
- package/src/models/components/oauth2clientconfiguration.ts +2 -2
- package/src/models/components/oauth2clientconfigurationupdate.ts +2 -2
- package/src/models/components/organizationfeaturesettings.ts +0 -9
- package/src/models/components/scope.ts +0 -2
- package/src/models/components/userorderproduct.ts +4 -60
- package/src/models/components/usersubscriptionproduct.ts +4 -68
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/benefitsupdate.ts +0 -8
- package/src/models/operations/filesupdate.ts +1 -1
- package/src/models/operations/filesuploaded.ts +1 -1
- package/src/models/operations/index.ts +0 -8
- package/src/models/operations/usersbenefitsget.ts +0 -12
- package/src/sdk/sdk.ts +0 -6
- package/src/types/index.ts +1 -0
- package/src/types/webhooks.ts +7 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/webhooks.d.ts +4 -0
- package/types/webhooks.d.ts.map +1 -0
- package/types/webhooks.js +6 -0
- package/types/webhooks.js.map +1 -0
- package/docs/sdks/articles/README.md +0 -724
- package/funcs/articlesCreate.d.ts +0 -16
- package/funcs/articlesCreate.d.ts.map +0 -1
- package/funcs/articlesCreate.js +0 -99
- package/funcs/articlesCreate.js.map +0 -1
- package/funcs/articlesDelete.d.ts +0 -16
- package/funcs/articlesDelete.d.ts.map +0 -1
- package/funcs/articlesDelete.js +0 -105
- package/funcs/articlesDelete.js.map +0 -1
- package/funcs/articlesExport.d.ts +0 -16
- package/funcs/articlesExport.d.ts.map +0 -1
- package/funcs/articlesExport.js +0 -103
- package/funcs/articlesExport.js.map +0 -1
- package/funcs/articlesGet.d.ts +0 -17
- package/funcs/articlesGet.d.ts.map +0 -1
- package/funcs/articlesGet.js +0 -105
- package/funcs/articlesGet.js.map +0 -1
- package/funcs/articlesList.d.ts +0 -19
- package/funcs/articlesList.d.ts.map +0 -1
- package/funcs/articlesList.js +0 -138
- package/funcs/articlesList.js.map +0 -1
- package/funcs/articlesPreview.d.ts +0 -16
- package/funcs/articlesPreview.d.ts.map +0 -1
- package/funcs/articlesPreview.js +0 -106
- package/funcs/articlesPreview.js.map +0 -1
- package/funcs/articlesReceivers.d.ts +0 -17
- package/funcs/articlesReceivers.d.ts.map +0 -1
- package/funcs/articlesReceivers.js +0 -105
- package/funcs/articlesReceivers.js.map +0 -1
- package/funcs/articlesSend.d.ts +0 -16
- package/funcs/articlesSend.d.ts.map +0 -1
- package/funcs/articlesSend.js +0 -105
- package/funcs/articlesSend.js.map +0 -1
- package/funcs/articlesUpdate.d.ts +0 -17
- package/funcs/articlesUpdate.d.ts.map +0 -1
- package/funcs/articlesUpdate.js +0 -106
- package/funcs/articlesUpdate.js.map +0 -1
- package/models/components/article.d.ts +0 -68
- package/models/components/article.d.ts.map +0 -1
- package/models/components/article.js +0 -129
- package/models/components/article.js.map +0 -1
- package/models/components/articlebyline.d.ts +0 -28
- package/models/components/articlebyline.d.ts.map +0 -1
- package/models/components/articlebyline.js +0 -50
- package/models/components/articlebyline.js.map +0 -1
- package/models/components/articlecreate.d.ts +0 -93
- package/models/components/articlecreate.d.ts.map +0 -1
- package/models/components/articlecreate.js +0 -112
- package/models/components/articlecreate.js.map +0 -1
- package/models/components/articlepreview.d.ts +0 -32
- package/models/components/articlepreview.d.ts.map +0 -1
- package/models/components/articlepreview.js +0 -59
- package/models/components/articlepreview.js.map +0 -1
- package/models/components/articlereceivers.d.ts +0 -33
- package/models/components/articlereceivers.d.ts.map +0 -1
- package/models/components/articlereceivers.js +0 -76
- package/models/components/articlereceivers.js.map +0 -1
- package/models/components/articleupdate.d.ts +0 -85
- package/models/components/articleupdate.d.ts.map +0 -1
- package/models/components/articleupdate.js +0 -108
- package/models/components/articleupdate.js.map +0 -1
- package/models/components/articlevisibility.d.ts +0 -31
- package/models/components/articlevisibility.d.ts.map +0 -1
- package/models/components/articlevisibility.js +0 -51
- package/models/components/articlevisibility.js.map +0 -1
- package/models/components/benefitarticles.d.ts +0 -100
- package/models/components/benefitarticles.d.ts.map +0 -1
- package/models/components/benefitarticles.js +0 -107
- package/models/components/benefitarticles.js.map +0 -1
- package/models/components/benefitarticlesproperties.d.ts +0 -35
- package/models/components/benefitarticlesproperties.d.ts.map +0 -1
- package/models/components/benefitarticlesproperties.js +0 -68
- package/models/components/benefitarticlesproperties.js.map +0 -1
- package/models/components/benefitarticlessubscriber.d.ts +0 -99
- package/models/components/benefitarticlessubscriber.d.ts.map +0 -1
- package/models/components/benefitarticlessubscriber.js +0 -113
- package/models/components/benefitarticlessubscriber.js.map +0 -1
- package/models/components/benefitarticlessubscriberproperties.d.ts +0 -35
- package/models/components/benefitarticlessubscriberproperties.d.ts.map +0 -1
- package/models/components/benefitarticlessubscriberproperties.js +0 -68
- package/models/components/benefitarticlessubscriberproperties.js.map +0 -1
- package/models/components/benefitarticlesupdate.d.ts +0 -57
- package/models/components/benefitarticlesupdate.d.ts.map +0 -1
- package/models/components/benefitarticlesupdate.js +0 -79
- package/models/components/benefitarticlesupdate.js.map +0 -1
- package/models/components/benefitgrantarticlesproperties.d.ts +0 -25
- package/models/components/benefitgrantarticlesproperties.d.ts.map +0 -1
- package/models/components/benefitgrantarticlesproperties.js +0 -55
- package/models/components/benefitgrantarticlesproperties.js.map +0 -1
- package/models/components/bylineprofile.d.ts +0 -31
- package/models/components/bylineprofile.d.ts.map +0 -1
- package/models/components/bylineprofile.js +0 -70
- package/models/components/bylineprofile.js.map +0 -1
- package/models/components/listresourcearticle.d.ts +0 -33
- package/models/components/listresourcearticle.d.ts.map +0 -1
- package/models/components/listresourcearticle.js +0 -63
- package/models/components/listresourcearticle.js.map +0 -1
- package/models/errors/filenotfound.d.ts +0 -57
- package/models/errors/filenotfound.d.ts.map +0 -1
- package/models/errors/filenotfound.js +0 -88
- package/models/errors/filenotfound.js.map +0 -1
- package/models/operations/articlesdelete.d.ts +0 -29
- package/models/operations/articlesdelete.d.ts.map +0 -1
- package/models/operations/articlesdelete.js +0 -59
- package/models/operations/articlesdelete.js.map +0 -1
- package/models/operations/articlesexport.d.ts +0 -29
- package/models/operations/articlesexport.d.ts.map +0 -1
- package/models/operations/articlesexport.js +0 -68
- package/models/operations/articlesexport.js.map +0 -1
- package/models/operations/articlesget.d.ts +0 -29
- package/models/operations/articlesget.d.ts.map +0 -1
- package/models/operations/articlesget.js +0 -59
- package/models/operations/articlesget.js.map +0 -1
- package/models/operations/articleslist.d.ts +0 -141
- package/models/operations/articleslist.d.ts.map +0 -1
- package/models/operations/articleslist.js +0 -184
- package/models/operations/articleslist.js.map +0 -1
- package/models/operations/articlespreview.d.ts +0 -32
- package/models/operations/articlespreview.d.ts.map +0 -1
- package/models/operations/articlespreview.js +0 -71
- package/models/operations/articlespreview.js.map +0 -1
- package/models/operations/articlesreceivers.d.ts +0 -29
- package/models/operations/articlesreceivers.d.ts.map +0 -1
- package/models/operations/articlesreceivers.js +0 -59
- package/models/operations/articlesreceivers.js.map +0 -1
- package/models/operations/articlessend.d.ts +0 -29
- package/models/operations/articlessend.d.ts.map +0 -1
- package/models/operations/articlessend.js +0 -59
- package/models/operations/articlessend.js.map +0 -1
- package/models/operations/articlesupdate.d.ts +0 -32
- package/models/operations/articlesupdate.d.ts.map +0 -1
- package/models/operations/articlesupdate.js +0 -71
- package/models/operations/articlesupdate.js.map +0 -1
- package/sdk/articles.d.ts +0 -72
- package/sdk/articles.d.ts.map +0 -1
- package/sdk/articles.js +0 -103
- package/sdk/articles.js.map +0 -1
- package/src/funcs/articlesCreate.ts +0 -131
- package/src/funcs/articlesDelete.ts +0 -144
- package/src/funcs/articlesExport.ts +0 -136
- package/src/funcs/articlesGet.ts +0 -141
- package/src/funcs/articlesList.ts +0 -205
- package/src/funcs/articlesPreview.ts +0 -145
- package/src/funcs/articlesReceivers.ts +0 -138
- package/src/funcs/articlesSend.ts +0 -144
- package/src/funcs/articlesUpdate.ts +0 -145
- package/src/models/components/article.ts +0 -187
- package/src/models/components/articlebyline.ts +0 -33
- package/src/models/components/articlecreate.ts +0 -191
- package/src/models/components/articlepreview.ts +0 -65
- package/src/models/components/articlereceivers.ts +0 -87
- package/src/models/components/articleupdate.ts +0 -179
- package/src/models/components/articlevisibility.ts +0 -34
- package/src/models/components/benefitarticles.ts +0 -175
- package/src/models/components/benefitarticlesproperties.ts +0 -81
- package/src/models/components/benefitarticlessubscriber.ts +0 -189
- package/src/models/components/benefitarticlessubscriberproperties.ts +0 -86
- package/src/models/components/benefitarticlesupdate.ts +0 -102
- package/src/models/components/benefitgrantarticlesproperties.ts +0 -60
- package/src/models/components/bylineprofile.ts +0 -75
- package/src/models/components/listresourcearticle.ts +0 -82
- package/src/models/errors/filenotfound.ts +0 -102
- package/src/models/operations/articlesdelete.ts +0 -66
- package/src/models/operations/articlesexport.ts +0 -75
- package/src/models/operations/articlesget.ts +0 -66
- package/src/models/operations/articleslist.ts +0 -342
- package/src/models/operations/articlespreview.ts +0 -80
- package/src/models/operations/articlesreceivers.ts +0 -66
- package/src/models/operations/articlessend.ts +0 -66
- package/src/models/operations/articlesupdate.ts +0 -80
- 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,57 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const FileNotFoundError: {
|
|
4
|
-
readonly FileNotFound: "FileNotFound";
|
|
5
|
-
};
|
|
6
|
-
export type FileNotFoundError = ClosedEnum<typeof FileNotFoundError>;
|
|
7
|
-
export type FileNotFoundData = {
|
|
8
|
-
error: "FileNotFound";
|
|
9
|
-
detail: string;
|
|
10
|
-
};
|
|
11
|
-
export declare class FileNotFound extends Error {
|
|
12
|
-
error: "FileNotFound";
|
|
13
|
-
detail: string;
|
|
14
|
-
/** The original data that was passed to this error instance. */
|
|
15
|
-
data$: FileNotFoundData;
|
|
16
|
-
constructor(err: FileNotFoundData);
|
|
17
|
-
}
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const FileNotFoundError$inboundSchema: z.ZodNativeEnum<typeof FileNotFoundError>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const FileNotFoundError$outboundSchema: z.ZodNativeEnum<typeof FileNotFoundError>;
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace FileNotFoundError$ {
|
|
27
|
-
/** @deprecated use `FileNotFoundError$inboundSchema` instead. */
|
|
28
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
29
|
-
readonly FileNotFound: "FileNotFound";
|
|
30
|
-
}>;
|
|
31
|
-
/** @deprecated use `FileNotFoundError$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
33
|
-
readonly FileNotFound: "FileNotFound";
|
|
34
|
-
}>;
|
|
35
|
-
}
|
|
36
|
-
/** @internal */
|
|
37
|
-
export declare const FileNotFound$inboundSchema: z.ZodType<FileNotFound, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type FileNotFound$Outbound = {
|
|
40
|
-
error: "FileNotFound";
|
|
41
|
-
detail: string;
|
|
42
|
-
};
|
|
43
|
-
/** @internal */
|
|
44
|
-
export declare const FileNotFound$outboundSchema: z.ZodType<FileNotFound$Outbound, z.ZodTypeDef, FileNotFound>;
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
-
*/
|
|
49
|
-
export declare namespace FileNotFound$ {
|
|
50
|
-
/** @deprecated use `FileNotFound$inboundSchema` instead. */
|
|
51
|
-
const inboundSchema: z.ZodType<FileNotFound, z.ZodTypeDef, unknown>;
|
|
52
|
-
/** @deprecated use `FileNotFound$outboundSchema` instead. */
|
|
53
|
-
const outboundSchema: z.ZodType<FileNotFound$Outbound, z.ZodTypeDef, FileNotFound>;
|
|
54
|
-
/** @deprecated use `FileNotFound$Outbound` instead. */
|
|
55
|
-
type Outbound = FileNotFound$Outbound;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=filenotfound.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filenotfound.d.ts","sourceRoot":"","sources":["../../src/models/errors/filenotfound.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,iBAAiB;;CAEpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,YAAa,SAAQ,KAAK;IACrC,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IAEf,gEAAgE;IAChE,KAAK,EAAE,gBAAgB,CAAC;gBAEZ,GAAG,EAAE,gBAAgB;CAYlC;AAED,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC;AAEpC;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa;;MAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc;;MAAmC,CAAC;CAChE;AAED,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAOL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAMT,CAAC;AAEN;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C"}
|
|
@@ -1,88 +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.FileNotFound$ = exports.FileNotFound$outboundSchema = exports.FileNotFound$inboundSchema = exports.FileNotFoundError$ = exports.FileNotFoundError$outboundSchema = exports.FileNotFoundError$inboundSchema = exports.FileNotFound = exports.FileNotFoundError = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
exports.FileNotFoundError = {
|
|
32
|
-
FileNotFound: "FileNotFound",
|
|
33
|
-
};
|
|
34
|
-
class FileNotFound extends Error {
|
|
35
|
-
constructor(err) {
|
|
36
|
-
const message = "message" in err && typeof err.message === "string"
|
|
37
|
-
? err.message
|
|
38
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
39
|
-
super(message);
|
|
40
|
-
this.data$ = err;
|
|
41
|
-
this.error = err.error;
|
|
42
|
-
this.detail = err.detail;
|
|
43
|
-
this.name = "FileNotFound";
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.FileNotFound = FileNotFound;
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.FileNotFoundError$inboundSchema = z.nativeEnum(exports.FileNotFoundError);
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.FileNotFoundError$outboundSchema = exports.FileNotFoundError$inboundSchema;
|
|
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 FileNotFoundError$;
|
|
56
|
-
(function (FileNotFoundError$) {
|
|
57
|
-
/** @deprecated use `FileNotFoundError$inboundSchema` instead. */
|
|
58
|
-
FileNotFoundError$.inboundSchema = exports.FileNotFoundError$inboundSchema;
|
|
59
|
-
/** @deprecated use `FileNotFoundError$outboundSchema` instead. */
|
|
60
|
-
FileNotFoundError$.outboundSchema = exports.FileNotFoundError$outboundSchema;
|
|
61
|
-
})(FileNotFoundError$ || (exports.FileNotFoundError$ = FileNotFoundError$ = {}));
|
|
62
|
-
/** @internal */
|
|
63
|
-
exports.FileNotFound$inboundSchema = z.object({
|
|
64
|
-
error: z.literal("FileNotFound"),
|
|
65
|
-
detail: z.string(),
|
|
66
|
-
})
|
|
67
|
-
.transform((v) => {
|
|
68
|
-
return new FileNotFound(v);
|
|
69
|
-
});
|
|
70
|
-
/** @internal */
|
|
71
|
-
exports.FileNotFound$outboundSchema = z.instanceof(FileNotFound)
|
|
72
|
-
.transform(v => v.data$)
|
|
73
|
-
.pipe(z.object({
|
|
74
|
-
error: z.literal("FileNotFound").default("FileNotFound"),
|
|
75
|
-
detail: z.string(),
|
|
76
|
-
}));
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
var FileNotFound$;
|
|
82
|
-
(function (FileNotFound$) {
|
|
83
|
-
/** @deprecated use `FileNotFound$inboundSchema` instead. */
|
|
84
|
-
FileNotFound$.inboundSchema = exports.FileNotFound$inboundSchema;
|
|
85
|
-
/** @deprecated use `FileNotFound$outboundSchema` instead. */
|
|
86
|
-
FileNotFound$.outboundSchema = exports.FileNotFound$outboundSchema;
|
|
87
|
-
})(FileNotFound$ || (exports.FileNotFound$ = FileNotFound$ = {}));
|
|
88
|
-
//# sourceMappingURL=filenotfound.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filenotfound.js","sourceRoot":"","sources":["../../src/models/errors/filenotfound.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,iBAAiB,GAAG;IAC/B,YAAY,EAAE,cAAc;CACpB,CAAC;AAQX,MAAa,YAAa,SAAQ,KAAK;IAOrC,YAAY,GAAqB;QAC/B,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEzB,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;IAC7B,CAAC;CACF;AAnBD,oCAmBC;AAED,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC;;;GAGG;AACH,IAAiB,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,kCAAlB,kBAAkB,QAKlC;AAED,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IAChC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAC7B,CAAC,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC;KAC3B,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC5B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG5D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B"}
|
|
@@ -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"}
|