@steamsets/client-ts 0.12.6 → 0.12.8
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/README.md +37 -22
- package/docs/sdks/{apps → meta}/README.md +20 -26
- package/docs/sdks/steamsets/README.md +1 -148
- package/funcs/{accountV1GetEmbed.d.ts → metaAccountV1GetEmbed.d.ts} +2 -2
- package/funcs/metaAccountV1GetEmbed.d.ts.map +1 -0
- package/funcs/{accountV1GetEmbed.js → metaAccountV1GetEmbed.js} +3 -3
- package/funcs/metaAccountV1GetEmbed.js.map +1 -0
- package/funcs/{accountV1GetMeta.d.ts → metaAccountV1GetMeta.d.ts} +2 -2
- package/funcs/metaAccountV1GetMeta.d.ts.map +1 -0
- package/funcs/{accountV1GetMeta.js → metaAccountV1GetMeta.js} +3 -3
- package/funcs/metaAccountV1GetMeta.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/index.d.ts +0 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -5
- package/models/components/index.js.map +1 -1
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/meta.d.ts +8 -0
- package/sdk/meta.d.ts.map +1 -0
- package/sdk/meta.js +20 -0
- package/sdk/meta.js.map +1 -0
- package/sdk/sdk.d.ts +4 -8
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +5 -14
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/{accountV1GetEmbed.ts → metaAccountV1GetEmbed.ts} +1 -1
- package/src/funcs/{accountV1GetMeta.ts → metaAccountV1GetMeta.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/index.ts +0 -5
- package/src/models/operations/index.ts +0 -2
- package/src/sdk/meta.ts +34 -0
- package/src/sdk/sdk.ts +7 -34
- package/funcs/accountV1GetEmbed.d.ts.map +0 -1
- package/funcs/accountV1GetEmbed.js.map +0 -1
- package/funcs/accountV1GetMeta.d.ts.map +0 -1
- package/funcs/accountV1GetMeta.js.map +0 -1
- package/funcs/appsGet.d.ts +0 -11
- package/funcs/appsGet.d.ts.map +0 -1
- package/funcs/appsGet.js +0 -105
- package/funcs/appsGet.js.map +0 -1
- package/funcs/appsQueue.d.ts +0 -11
- package/funcs/appsQueue.d.ts.map +0 -1
- package/funcs/appsQueue.js +0 -103
- package/funcs/appsQueue.js.map +0 -1
- package/models/components/appsearch.d.ts +0 -28
- package/models/components/appsearch.d.ts.map +0 -1
- package/models/components/appsearch.js +0 -50
- package/models/components/appsearch.js.map +0 -1
- package/models/components/v1appdetail.d.ts +0 -154
- package/models/components/v1appdetail.d.ts.map +0 -1
- package/models/components/v1appdetail.js +0 -106
- package/models/components/v1appdetail.js.map +0 -1
- package/models/components/v1appitem.d.ts +0 -39
- package/models/components/v1appitem.d.ts.map +0 -1
- package/models/components/v1appitem.js +0 -64
- package/models/components/v1appitem.js.map +0 -1
- package/models/components/v1apprequestbody.d.ts +0 -28
- package/models/components/v1apprequestbody.d.ts.map +0 -1
- package/models/components/v1apprequestbody.js +0 -50
- package/models/components/v1apprequestbody.js.map +0 -1
- package/models/components/v1appresponsebody.d.ts +0 -43
- package/models/components/v1appresponsebody.d.ts.map +0 -1
- package/models/components/v1appresponsebody.js +0 -68
- package/models/components/v1appresponsebody.js.map +0 -1
- package/models/operations/appv1get.d.ts +0 -31
- package/models/operations/appv1get.d.ts.map +0 -1
- package/models/operations/appv1get.js +0 -64
- package/models/operations/appv1get.js.map +0 -1
- package/models/operations/appv1queue.d.ts +0 -32
- package/models/operations/appv1queue.d.ts.map +0 -1
- package/models/operations/appv1queue.js +0 -64
- package/models/operations/appv1queue.js.map +0 -1
- package/sdk/apps.d.ts +0 -8
- package/sdk/apps.d.ts.map +0 -1
- package/sdk/apps.js +0 -20
- package/sdk/apps.js.map +0 -1
- package/src/funcs/appsGet.ts +0 -134
- package/src/funcs/appsQueue.ts +0 -132
- package/src/models/components/appsearch.ts +0 -48
- package/src/models/components/v1appdetail.ts +0 -156
- package/src/models/components/v1appitem.ts +0 -73
- package/src/models/components/v1apprequestbody.ts +0 -48
- package/src/models/components/v1appresponsebody.ts +0 -93
- package/src/models/operations/appv1get.ts +0 -64
- package/src/models/operations/appv1queue.ts +0 -61
- package/src/sdk/apps.ts +0 -34
|
@@ -1,50 +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.V1AppRequestBody$ = exports.V1AppRequestBody$outboundSchema = exports.V1AppRequestBody$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
/** @internal */
|
|
32
|
-
exports.V1AppRequestBody$inboundSchema = z.object({
|
|
33
|
-
appId: z.number().int(),
|
|
34
|
-
});
|
|
35
|
-
/** @internal */
|
|
36
|
-
exports.V1AppRequestBody$outboundSchema = z.object({
|
|
37
|
-
appId: z.number().int(),
|
|
38
|
-
});
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
-
*/
|
|
43
|
-
var V1AppRequestBody$;
|
|
44
|
-
(function (V1AppRequestBody$) {
|
|
45
|
-
/** @deprecated use `V1AppRequestBody$inboundSchema` instead. */
|
|
46
|
-
V1AppRequestBody$.inboundSchema = exports.V1AppRequestBody$inboundSchema;
|
|
47
|
-
/** @deprecated use `V1AppRequestBody$outboundSchema` instead. */
|
|
48
|
-
V1AppRequestBody$.outboundSchema = exports.V1AppRequestBody$outboundSchema;
|
|
49
|
-
})(V1AppRequestBody$ || (exports.V1AppRequestBody$ = V1AppRequestBody$ = {}));
|
|
50
|
-
//# sourceMappingURL=v1apprequestbody.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1apprequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1apprequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AASzB,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACxB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { V1AppBadge, V1AppBadge$Outbound } from "./v1appbadge.js";
|
|
3
|
-
import { V1AppDetail, V1AppDetail$Outbound } from "./v1appdetail.js";
|
|
4
|
-
import { V1AppItem, V1AppItem$Outbound } from "./v1appitem.js";
|
|
5
|
-
export type V1AppResponseBody = {
|
|
6
|
-
/**
|
|
7
|
-
* A URL to the JSON Schema for this object.
|
|
8
|
-
*/
|
|
9
|
-
dollarSchema?: string | undefined;
|
|
10
|
-
/**
|
|
11
|
-
* The badges
|
|
12
|
-
*/
|
|
13
|
-
badges: Array<V1AppBadge> | null;
|
|
14
|
-
detail: V1AppDetail;
|
|
15
|
-
/**
|
|
16
|
-
* The items
|
|
17
|
-
*/
|
|
18
|
-
items: Array<V1AppItem> | null;
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const V1AppResponseBody$inboundSchema: z.ZodType<V1AppResponseBody, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @internal */
|
|
23
|
-
export type V1AppResponseBody$Outbound = {
|
|
24
|
-
$schema?: string | undefined;
|
|
25
|
-
badges: Array<V1AppBadge$Outbound> | null;
|
|
26
|
-
detail: V1AppDetail$Outbound;
|
|
27
|
-
items: Array<V1AppItem$Outbound> | null;
|
|
28
|
-
};
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const V1AppResponseBody$outboundSchema: z.ZodType<V1AppResponseBody$Outbound, z.ZodTypeDef, V1AppResponseBody>;
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
-
*/
|
|
35
|
-
export declare namespace V1AppResponseBody$ {
|
|
36
|
-
/** @deprecated use `V1AppResponseBody$inboundSchema` instead. */
|
|
37
|
-
const inboundSchema: z.ZodType<V1AppResponseBody, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @deprecated use `V1AppResponseBody$outboundSchema` instead. */
|
|
39
|
-
const outboundSchema: z.ZodType<V1AppResponseBody$Outbound, z.ZodTypeDef, V1AppResponseBody>;
|
|
40
|
-
/** @deprecated use `V1AppResponseBody$Outbound` instead. */
|
|
41
|
-
type Outbound = V1AppResponseBody$Outbound;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=v1appresponsebody.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1appresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1appresponsebody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACjC,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAC1C,MAAM,EAAE,oBAAoB,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAUjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD"}
|
|
@@ -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.V1AppResponseBody$ = exports.V1AppResponseBody$outboundSchema = exports.V1AppResponseBody$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const v1appbadge_js_1 = require("./v1appbadge.js");
|
|
33
|
-
const v1appdetail_js_1 = require("./v1appdetail.js");
|
|
34
|
-
const v1appitem_js_1 = require("./v1appitem.js");
|
|
35
|
-
/** @internal */
|
|
36
|
-
exports.V1AppResponseBody$inboundSchema = z.object({
|
|
37
|
-
$schema: z.string().optional(),
|
|
38
|
-
badges: z.nullable(z.array(v1appbadge_js_1.V1AppBadge$inboundSchema)),
|
|
39
|
-
detail: v1appdetail_js_1.V1AppDetail$inboundSchema,
|
|
40
|
-
items: z.nullable(z.array(v1appitem_js_1.V1AppItem$inboundSchema)),
|
|
41
|
-
}).transform((v) => {
|
|
42
|
-
return (0, primitives_js_1.remap)(v, {
|
|
43
|
-
"$schema": "dollarSchema",
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
/** @internal */
|
|
47
|
-
exports.V1AppResponseBody$outboundSchema = z.object({
|
|
48
|
-
dollarSchema: z.string().optional(),
|
|
49
|
-
badges: z.nullable(z.array(v1appbadge_js_1.V1AppBadge$outboundSchema)),
|
|
50
|
-
detail: v1appdetail_js_1.V1AppDetail$outboundSchema,
|
|
51
|
-
items: z.nullable(z.array(v1appitem_js_1.V1AppItem$outboundSchema)),
|
|
52
|
-
}).transform((v) => {
|
|
53
|
-
return (0, primitives_js_1.remap)(v, {
|
|
54
|
-
dollarSchema: "$schema",
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
-
*/
|
|
61
|
-
var V1AppResponseBody$;
|
|
62
|
-
(function (V1AppResponseBody$) {
|
|
63
|
-
/** @deprecated use `V1AppResponseBody$inboundSchema` instead. */
|
|
64
|
-
V1AppResponseBody$.inboundSchema = exports.V1AppResponseBody$inboundSchema;
|
|
65
|
-
/** @deprecated use `V1AppResponseBody$outboundSchema` instead. */
|
|
66
|
-
V1AppResponseBody$.outboundSchema = exports.V1AppResponseBody$outboundSchema;
|
|
67
|
-
})(V1AppResponseBody$ || (exports.V1AppResponseBody$ = V1AppResponseBody$ = {}));
|
|
68
|
-
//# sourceMappingURL=v1appresponsebody.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1appresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1appresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,mDAKyB;AACzB,qDAK0B;AAC1B,iDAKwB;AAkBxB,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwB,CAAC,CAAC;IACrD,MAAM,EAAE,0CAAyB;IACjC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,sCAAuB,CAAC,CAAC;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,cAAc;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,yCAAyB,CAAC,CAAC;IACtD,MAAM,EAAE,2CAA0B;IAClC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,uCAAwB,CAAC,CAAC;CACrD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,SAAS;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
export type AppV1GetResponse = {
|
|
4
|
-
httpMeta: components.HTTPMetadata;
|
|
5
|
-
/**
|
|
6
|
-
* OK
|
|
7
|
-
*/
|
|
8
|
-
v1AppResponseBody?: components.V1AppResponseBody | undefined;
|
|
9
|
-
};
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const AppV1GetResponse$inboundSchema: z.ZodType<AppV1GetResponse, z.ZodTypeDef, unknown>;
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type AppV1GetResponse$Outbound = {
|
|
14
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
15
|
-
V1AppResponseBody?: components.V1AppResponseBody$Outbound | undefined;
|
|
16
|
-
};
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const AppV1GetResponse$outboundSchema: z.ZodType<AppV1GetResponse$Outbound, z.ZodTypeDef, AppV1GetResponse>;
|
|
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 AppV1GetResponse$ {
|
|
24
|
-
/** @deprecated use `AppV1GetResponse$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodType<AppV1GetResponse, z.ZodTypeDef, unknown>;
|
|
26
|
-
/** @deprecated use `AppV1GetResponse$outboundSchema` instead. */
|
|
27
|
-
const outboundSchema: z.ZodType<AppV1GetResponse$Outbound, z.ZodTypeDef, AppV1GetResponse>;
|
|
28
|
-
/** @deprecated use `AppV1GetResponse$Outbound` instead. */
|
|
29
|
-
type Outbound = AppV1GetResponse$Outbound;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=appv1get.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appv1get.d.ts","sourceRoot":"","sources":["../../src/models/operations/appv1get.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC,iBAAiB,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,iBAAiB,CAAC,EAAE,UAAU,CAAC,0BAA0B,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAShB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD"}
|
|
@@ -1,64 +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.AppV1GetResponse$ = exports.AppV1GetResponse$outboundSchema = exports.AppV1GetResponse$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const components = __importStar(require("../components/index.js"));
|
|
33
|
-
/** @internal */
|
|
34
|
-
exports.AppV1GetResponse$inboundSchema = z.object({
|
|
35
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
36
|
-
V1AppResponseBody: components.V1AppResponseBody$inboundSchema.optional(),
|
|
37
|
-
}).transform((v) => {
|
|
38
|
-
return (0, primitives_js_1.remap)(v, {
|
|
39
|
-
"HttpMeta": "httpMeta",
|
|
40
|
-
"V1AppResponseBody": "v1AppResponseBody",
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
/** @internal */
|
|
44
|
-
exports.AppV1GetResponse$outboundSchema = z.object({
|
|
45
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
46
|
-
v1AppResponseBody: components.V1AppResponseBody$outboundSchema.optional(),
|
|
47
|
-
}).transform((v) => {
|
|
48
|
-
return (0, primitives_js_1.remap)(v, {
|
|
49
|
-
httpMeta: "HttpMeta",
|
|
50
|
-
v1AppResponseBody: "V1AppResponseBody",
|
|
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 AppV1GetResponse$;
|
|
58
|
-
(function (AppV1GetResponse$) {
|
|
59
|
-
/** @deprecated use `AppV1GetResponse$inboundSchema` instead. */
|
|
60
|
-
AppV1GetResponse$.inboundSchema = exports.AppV1GetResponse$inboundSchema;
|
|
61
|
-
/** @deprecated use `AppV1GetResponse$outboundSchema` instead. */
|
|
62
|
-
AppV1GetResponse$.outboundSchema = exports.AppV1GetResponse$outboundSchema;
|
|
63
|
-
})(AppV1GetResponse$ || (exports.AppV1GetResponse$ = AppV1GetResponse$ = {}));
|
|
64
|
-
//# sourceMappingURL=appv1get.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appv1get.js","sourceRoot":"","sources":["../../src/models/operations/appv1get.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,mEAAqD;AAUrD,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,0BAA0B;IAC/C,iBAAiB,EAAE,UAAU,CAAC,+BAA+B,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,UAAU;QACtB,mBAAmB,EAAE,mBAAmB;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,iBAAiB,EAAE,UAAU,CAAC,gCAAgC,CAAC,QAAQ,EAAE;CAC1E,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,iBAAiB,EAAE,mBAAmB;KACvC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
export type AppV1QueueResponse = {
|
|
4
|
-
httpMeta: components.HTTPMetadata;
|
|
5
|
-
headers: {
|
|
6
|
-
[k: string]: Array<string>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const AppV1QueueResponse$inboundSchema: z.ZodType<AppV1QueueResponse, z.ZodTypeDef, unknown>;
|
|
11
|
-
/** @internal */
|
|
12
|
-
export type AppV1QueueResponse$Outbound = {
|
|
13
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
14
|
-
Headers: {
|
|
15
|
-
[k: string]: Array<string>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const AppV1QueueResponse$outboundSchema: z.ZodType<AppV1QueueResponse$Outbound, z.ZodTypeDef, AppV1QueueResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
23
|
-
*/
|
|
24
|
-
export declare namespace AppV1QueueResponse$ {
|
|
25
|
-
/** @deprecated use `AppV1QueueResponse$inboundSchema` instead. */
|
|
26
|
-
const inboundSchema: z.ZodType<AppV1QueueResponse, z.ZodTypeDef, unknown>;
|
|
27
|
-
/** @deprecated use `AppV1QueueResponse$outboundSchema` instead. */
|
|
28
|
-
const outboundSchema: z.ZodType<AppV1QueueResponse$Outbound, z.ZodTypeDef, AppV1QueueResponse>;
|
|
29
|
-
/** @deprecated use `AppV1QueueResponse$Outbound` instead. */
|
|
30
|
-
type Outbound = AppV1QueueResponse$Outbound;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=appv1queue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appv1queue.d.ts","sourceRoot":"","sources":["../../src/models/operations/appv1queue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CASlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD"}
|
|
@@ -1,64 +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.AppV1QueueResponse$ = exports.AppV1QueueResponse$outboundSchema = exports.AppV1QueueResponse$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const components = __importStar(require("../components/index.js"));
|
|
33
|
-
/** @internal */
|
|
34
|
-
exports.AppV1QueueResponse$inboundSchema = z.object({
|
|
35
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
36
|
-
Headers: z.record(z.array(z.string())),
|
|
37
|
-
}).transform((v) => {
|
|
38
|
-
return (0, primitives_js_1.remap)(v, {
|
|
39
|
-
"HttpMeta": "httpMeta",
|
|
40
|
-
"Headers": "headers",
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
/** @internal */
|
|
44
|
-
exports.AppV1QueueResponse$outboundSchema = z.object({
|
|
45
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
46
|
-
headers: z.record(z.array(z.string())),
|
|
47
|
-
}).transform((v) => {
|
|
48
|
-
return (0, primitives_js_1.remap)(v, {
|
|
49
|
-
httpMeta: "HttpMeta",
|
|
50
|
-
headers: "Headers",
|
|
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 AppV1QueueResponse$;
|
|
58
|
-
(function (AppV1QueueResponse$) {
|
|
59
|
-
/** @deprecated use `AppV1QueueResponse$inboundSchema` instead. */
|
|
60
|
-
AppV1QueueResponse$.inboundSchema = exports.AppV1QueueResponse$inboundSchema;
|
|
61
|
-
/** @deprecated use `AppV1QueueResponse$outboundSchema` instead. */
|
|
62
|
-
AppV1QueueResponse$.outboundSchema = exports.AppV1QueueResponse$outboundSchema;
|
|
63
|
-
})(AppV1QueueResponse$ || (exports.AppV1QueueResponse$ = AppV1QueueResponse$ = {}));
|
|
64
|
-
//# sourceMappingURL=appv1queue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appv1queue.js","sourceRoot":"","sources":["../../src/models/operations/appv1queue.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,mEAAqD;AAOrD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,0BAA0B;IAC/C,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,SAAS;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC"}
|
package/sdk/apps.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as components from "../models/components/index.js";
|
|
3
|
-
import * as operations from "../models/operations/index.js";
|
|
4
|
-
export declare class Apps extends ClientSDK {
|
|
5
|
-
get(request: components.V1AppRequestBody, options?: RequestOptions): Promise<operations.AppV1GetResponse>;
|
|
6
|
-
queue(request: components.AppSearch, options?: RequestOptions): Promise<operations.AppV1QueueResponse>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=apps.d.ts.map
|
package/sdk/apps.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../src/sdk/apps.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,IAAK,SAAQ,SAAS;IAC3B,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;IAQjC,KAAK,CACT,OAAO,EAAE,UAAU,CAAC,SAAS,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;CAO1C"}
|
package/sdk/apps.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Apps = void 0;
|
|
7
|
-
const appsGet_js_1 = require("../funcs/appsGet.js");
|
|
8
|
-
const appsQueue_js_1 = require("../funcs/appsQueue.js");
|
|
9
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
10
|
-
const fp_js_1 = require("../types/fp.js");
|
|
11
|
-
class Apps extends sdks_js_1.ClientSDK {
|
|
12
|
-
async get(request, options) {
|
|
13
|
-
return (0, fp_js_1.unwrapAsync)((0, appsGet_js_1.appsGet)(this, request, options));
|
|
14
|
-
}
|
|
15
|
-
async queue(request, options) {
|
|
16
|
-
return (0, fp_js_1.unwrapAsync)((0, appsQueue_js_1.appsQueue)(this, request, options));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.Apps = Apps;
|
|
20
|
-
//# sourceMappingURL=apps.js.map
|
package/sdk/apps.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../src/sdk/apps.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oDAA8C;AAC9C,wDAAkD;AAClD,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,IAAK,SAAQ,mBAAS;IACjC,KAAK,CAAC,GAAG,CACP,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oBAAO,EACxB,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,KAAK,CACT,OAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wBAAS,EAC1B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAtBD,oBAsBC"}
|
package/src/funcs/appsGet.ts
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { SteamSetsCore } from "../core.js";
|
|
6
|
-
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
-
import * as M from "../lib/matchers.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
-
import { pathToFunc } from "../lib/url.js";
|
|
12
|
-
import * as components from "../models/components/index.js";
|
|
13
|
-
import {
|
|
14
|
-
ConnectionError,
|
|
15
|
-
InvalidRequestError,
|
|
16
|
-
RequestAbortedError,
|
|
17
|
-
RequestTimeoutError,
|
|
18
|
-
UnexpectedClientError,
|
|
19
|
-
} from "../models/errors/httpclienterrors.js";
|
|
20
|
-
import * as errors from "../models/errors/index.js";
|
|
21
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
22
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
-
import * as operations from "../models/operations/index.js";
|
|
24
|
-
import { Result } from "../types/fp.js";
|
|
25
|
-
|
|
26
|
-
export async function appsGet(
|
|
27
|
-
client: SteamSetsCore,
|
|
28
|
-
request: components.V1AppRequestBody,
|
|
29
|
-
options?: RequestOptions,
|
|
30
|
-
): Promise<
|
|
31
|
-
Result<
|
|
32
|
-
operations.AppV1GetResponse,
|
|
33
|
-
| errors.ErrorModel
|
|
34
|
-
| SDKError
|
|
35
|
-
| SDKValidationError
|
|
36
|
-
| UnexpectedClientError
|
|
37
|
-
| InvalidRequestError
|
|
38
|
-
| RequestAbortedError
|
|
39
|
-
| RequestTimeoutError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
>
|
|
42
|
-
> {
|
|
43
|
-
const parsed = safeParse(
|
|
44
|
-
request,
|
|
45
|
-
(value) => components.V1AppRequestBody$outboundSchema.parse(value),
|
|
46
|
-
"Input validation failed",
|
|
47
|
-
);
|
|
48
|
-
if (!parsed.ok) {
|
|
49
|
-
return parsed;
|
|
50
|
-
}
|
|
51
|
-
const payload = parsed.value;
|
|
52
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
53
|
-
|
|
54
|
-
const path = pathToFunc("/app.v1.AppService/GetApp")();
|
|
55
|
-
|
|
56
|
-
const headers = new Headers({
|
|
57
|
-
"Content-Type": "application/json",
|
|
58
|
-
Accept: "application/json",
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
const secConfig = await extractSecurity(client._options.token);
|
|
62
|
-
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
63
|
-
const context = {
|
|
64
|
-
operationID: "app.v1.get",
|
|
65
|
-
oAuth2Scopes: [],
|
|
66
|
-
securitySource: client._options.token,
|
|
67
|
-
};
|
|
68
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
69
|
-
|
|
70
|
-
const requestRes = client._createRequest(context, {
|
|
71
|
-
security: requestSecurity,
|
|
72
|
-
method: "POST",
|
|
73
|
-
path: path,
|
|
74
|
-
headers: headers,
|
|
75
|
-
body: body,
|
|
76
|
-
uaHeader: "x-speakeasy-user-agent",
|
|
77
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
78
|
-
}, options);
|
|
79
|
-
if (!requestRes.ok) {
|
|
80
|
-
return requestRes;
|
|
81
|
-
}
|
|
82
|
-
const req = requestRes.value;
|
|
83
|
-
|
|
84
|
-
const doResult = await client._do(req, {
|
|
85
|
-
context,
|
|
86
|
-
errorCodes: ["404", "422", "4XX", "500", "5XX"],
|
|
87
|
-
retryConfig: options?.retries
|
|
88
|
-
|| client._options.retryConfig
|
|
89
|
-
|| {
|
|
90
|
-
strategy: "backoff",
|
|
91
|
-
backoff: {
|
|
92
|
-
initialInterval: 500,
|
|
93
|
-
maxInterval: 60000,
|
|
94
|
-
exponent: 1.5,
|
|
95
|
-
maxElapsedTime: 3600000,
|
|
96
|
-
},
|
|
97
|
-
retryConnectionErrors: true,
|
|
98
|
-
},
|
|
99
|
-
retryCodes: options?.retryCodes || ["500", "501", "502", "503", "504"],
|
|
100
|
-
});
|
|
101
|
-
if (!doResult.ok) {
|
|
102
|
-
return doResult;
|
|
103
|
-
}
|
|
104
|
-
const response = doResult.value;
|
|
105
|
-
|
|
106
|
-
const responseFields = {
|
|
107
|
-
HttpMeta: { Response: response, Request: req },
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
const [result] = await M.match<
|
|
111
|
-
operations.AppV1GetResponse,
|
|
112
|
-
| errors.ErrorModel
|
|
113
|
-
| SDKError
|
|
114
|
-
| SDKValidationError
|
|
115
|
-
| UnexpectedClientError
|
|
116
|
-
| InvalidRequestError
|
|
117
|
-
| RequestAbortedError
|
|
118
|
-
| RequestTimeoutError
|
|
119
|
-
| ConnectionError
|
|
120
|
-
>(
|
|
121
|
-
M.json(200, operations.AppV1GetResponse$inboundSchema, {
|
|
122
|
-
key: "V1AppResponseBody",
|
|
123
|
-
}),
|
|
124
|
-
M.jsonErr([404, 422, 500], errors.ErrorModel$inboundSchema, {
|
|
125
|
-
ctype: "application/problem+json",
|
|
126
|
-
}),
|
|
127
|
-
M.fail(["4XX", "5XX"]),
|
|
128
|
-
)(response, req, { extraFields: responseFields });
|
|
129
|
-
if (!result.ok) {
|
|
130
|
-
return result;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
return result;
|
|
134
|
-
}
|