@steamsets/client-ts 0.5.3 → 0.5.4
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 +3 -3
- package/docs/sdks/account/README.md +4 -10
- package/docs/sdks/settings/README.md +4 -10
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/image.d.ts +0 -10
- package/models/components/image.d.ts.map +1 -1
- package/models/components/image.js +0 -4
- package/models/components/image.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/v1deleteimagesrequestbody.d.ts +3 -4
- package/models/components/v1deleteimagesrequestbody.d.ts.map +1 -1
- package/models/components/v1deleteimagesrequestbody.js +2 -3
- package/models/components/v1deleteimagesrequestbody.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/image.ts +0 -14
- package/src/models/components/index.ts +0 -1
- package/src/models/components/v1deleteimagesrequestbody.ts +5 -6
- package/models/components/item.d.ts +0 -33
- package/models/components/item.d.ts.map +0 -1
- package/models/components/item.js +0 -52
- package/models/components/item.js.map +0 -1
- package/src/models/components/item.ts +0 -47
package/README.md
CHANGED
|
@@ -295,8 +295,8 @@ You can override the default server globally by passing a server index to the `s
|
|
|
295
295
|
|
|
296
296
|
| # | Server | Variables |
|
|
297
297
|
| - | ------ | --------- |
|
|
298
|
-
| 0 | `
|
|
299
|
-
| 1 | `
|
|
298
|
+
| 0 | `https://api.steamsets.com` | None |
|
|
299
|
+
| 1 | `http://localhost:8080` | None |
|
|
300
300
|
|
|
301
301
|
```typescript
|
|
302
302
|
import { SteamSets } from "@steamsets/client-ts";
|
|
@@ -329,7 +329,7 @@ The default server can also be overridden globally by passing a URL to the `serv
|
|
|
329
329
|
import { SteamSets } from "@steamsets/client-ts";
|
|
330
330
|
|
|
331
331
|
const steamSets = new SteamSets({
|
|
332
|
-
serverURL: "
|
|
332
|
+
serverURL: "https://api.steamsets.com",
|
|
333
333
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
334
334
|
});
|
|
335
335
|
|
|
@@ -277,11 +277,8 @@ const steamSets = new SteamSets({
|
|
|
277
277
|
|
|
278
278
|
async function run() {
|
|
279
279
|
const result = await steamSets.account.accountV1SettingsDeleteImages({
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
fileId: "123456",
|
|
283
|
-
imageId: "123456",
|
|
284
|
-
},
|
|
280
|
+
imageIds: [
|
|
281
|
+
"<value>",
|
|
285
282
|
],
|
|
286
283
|
});
|
|
287
284
|
|
|
@@ -308,11 +305,8 @@ const steamSets = new SteamSetsCore({
|
|
|
308
305
|
|
|
309
306
|
async function run() {
|
|
310
307
|
const res = await accountAccountV1SettingsDeleteImages(steamSets, {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
fileId: "123456",
|
|
314
|
-
imageId: "123456",
|
|
315
|
-
},
|
|
308
|
+
imageIds: [
|
|
309
|
+
"<value>",
|
|
316
310
|
],
|
|
317
311
|
});
|
|
318
312
|
|
|
@@ -29,11 +29,8 @@ const steamSets = new SteamSets({
|
|
|
29
29
|
|
|
30
30
|
async function run() {
|
|
31
31
|
const result = await steamSets.settings.accountV1SettingsDeleteImages({
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
fileId: "123456",
|
|
35
|
-
imageId: "123456",
|
|
36
|
-
},
|
|
32
|
+
imageIds: [
|
|
33
|
+
"<value>",
|
|
37
34
|
],
|
|
38
35
|
});
|
|
39
36
|
|
|
@@ -60,11 +57,8 @@ const steamSets = new SteamSetsCore({
|
|
|
60
57
|
|
|
61
58
|
async function run() {
|
|
62
59
|
const res = await settingsAccountV1SettingsDeleteImages(steamSets, {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
fileId: "123456",
|
|
66
|
-
imageId: "123456",
|
|
67
|
-
},
|
|
60
|
+
imageIds: [
|
|
61
|
+
"<value>",
|
|
68
62
|
],
|
|
69
63
|
});
|
|
70
64
|
|
package/lib/config.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { RetryConfig } from "./retries.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Contains the list of servers available to the SDK
|
|
6
6
|
*/
|
|
7
|
-
export declare const ServerList: readonly ["
|
|
7
|
+
export declare const ServerList: readonly ["https://api.steamsets.com", "http://localhost:8080"];
|
|
8
8
|
export type SDKOptions = {
|
|
9
9
|
session?: string | (() => Promise<string>);
|
|
10
10
|
httpClient?: HTTPClient;
|
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "1.0.0";
|
|
30
|
-
readonly sdkVersion: "0.5.
|
|
30
|
+
readonly sdkVersion: "0.5.4";
|
|
31
31
|
readonly genVersion: "2.407.2";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.5.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.5.4 2.407.2 1.0.0 @steamsets/client-ts";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -9,7 +9,7 @@ const url_js_1 = require("./url.js");
|
|
|
9
9
|
/**
|
|
10
10
|
* Contains the list of servers available to the SDK
|
|
11
11
|
*/
|
|
12
|
-
exports.ServerList = ["
|
|
12
|
+
exports.ServerList = ["https://api.steamsets.com", "http://localhost:8080"];
|
|
13
13
|
function serverURLFromOptions(options) {
|
|
14
14
|
var _a;
|
|
15
15
|
let serverURL = options.serverURL;
|
|
@@ -27,8 +27,8 @@ function serverURLFromOptions(options) {
|
|
|
27
27
|
exports.SDK_METADATA = {
|
|
28
28
|
language: "typescript",
|
|
29
29
|
openapiDocVersion: "1.0.0",
|
|
30
|
-
sdkVersion: "0.5.
|
|
30
|
+
sdkVersion: "0.5.4",
|
|
31
31
|
genVersion: "2.407.2",
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.5.4 2.407.2 1.0.0 @steamsets/client-ts",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAgCH,oDAeC;AA1CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAgCH,oDAeC;AA1CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG,CAAC,2BAA2B,EAAE,uBAAuB,CAAU,CAAC;AAsB1F,SAAgB,oBAAoB,CAAC,OAAmB;;IACpD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,SAAS,mCAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YAClD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACzD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC5C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC;AAEY,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,mEAAmE;CACxE,CAAC"}
|
|
@@ -4,10 +4,6 @@ export type Image = {
|
|
|
4
4
|
* Whether the image is active or not
|
|
5
5
|
*/
|
|
6
6
|
active: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* The id of the file
|
|
9
|
-
*/
|
|
10
|
-
fileId: string;
|
|
11
7
|
/**
|
|
12
8
|
* The name of the file
|
|
13
9
|
*/
|
|
@@ -20,21 +16,15 @@ export type Image = {
|
|
|
20
16
|
* The type of the image
|
|
21
17
|
*/
|
|
22
18
|
imageType: string;
|
|
23
|
-
/**
|
|
24
|
-
* The mime type of the file
|
|
25
|
-
*/
|
|
26
|
-
mimeType: string;
|
|
27
19
|
};
|
|
28
20
|
/** @internal */
|
|
29
21
|
export declare const Image$inboundSchema: z.ZodType<Image, z.ZodTypeDef, unknown>;
|
|
30
22
|
/** @internal */
|
|
31
23
|
export type Image$Outbound = {
|
|
32
24
|
active: boolean;
|
|
33
|
-
fileId: string;
|
|
34
25
|
fileName: string;
|
|
35
26
|
imageId: string;
|
|
36
27
|
imageType: string;
|
|
37
|
-
mimeType: string;
|
|
38
28
|
};
|
|
39
29
|
/** @internal */
|
|
40
30
|
export declare const Image$outboundSchema: z.ZodType<Image$Outbound, z.ZodTypeDef, Image>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/models/components/image.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,KAAK,GAAG;IAChB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/models/components/image.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,KAAK,GAAG;IAChB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAKtE,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,UAAU,EAAE,KAAK,CAK9E,CAAC;AAEH;;;GAGG;AACH,yBAAiB,MAAM,CAAC;IACpB,qDAAqD;IAC9C,MAAM,aAAa,yCAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc,gDAAuB,CAAC;IACnD,gDAAgD;IAChD,KAAY,QAAQ,GAAG,cAAc,CAAC;CACzC"}
|
|
@@ -31,20 +31,16 @@ const z = __importStar(require("zod"));
|
|
|
31
31
|
/** @internal */
|
|
32
32
|
exports.Image$inboundSchema = z.object({
|
|
33
33
|
active: z.boolean(),
|
|
34
|
-
fileId: z.string(),
|
|
35
34
|
fileName: z.string(),
|
|
36
35
|
imageId: z.string(),
|
|
37
36
|
imageType: z.string(),
|
|
38
|
-
mimeType: z.string(),
|
|
39
37
|
});
|
|
40
38
|
/** @internal */
|
|
41
39
|
exports.Image$outboundSchema = z.object({
|
|
42
40
|
active: z.boolean(),
|
|
43
|
-
fileId: z.string(),
|
|
44
41
|
fileName: z.string(),
|
|
45
42
|
imageId: z.string(),
|
|
46
43
|
imageType: z.string(),
|
|
47
|
-
mimeType: z.string(),
|
|
48
44
|
});
|
|
49
45
|
/**
|
|
50
46
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../src/models/components/image.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../src/models/components/image.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAqBzB,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC,CAAC,MAAM,CAAC;IACjF,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,oBAAoB,GAAmD,CAAC,CAAC,MAAM,CAAC;IACzF,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACnB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGvD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB"}
|
|
@@ -11,7 +11,6 @@ export * from "./emailnotification.js";
|
|
|
11
11
|
export * from "./errordetail.js";
|
|
12
12
|
export * from "./httpmetadata.js";
|
|
13
13
|
export * from "./image.js";
|
|
14
|
-
export * from "./item.js";
|
|
15
14
|
export * from "./leaderboardaccount.js";
|
|
16
15
|
export * from "./leaderboardbadgeinfo.js";
|
|
17
16
|
export * from "./location.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC"}
|
|
@@ -30,7 +30,6 @@ __exportStar(require("./emailnotification.js"), exports);
|
|
|
30
30
|
__exportStar(require("./errordetail.js"), exports);
|
|
31
31
|
__exportStar(require("./httpmetadata.js"), exports);
|
|
32
32
|
__exportStar(require("./image.js"), exports);
|
|
33
|
-
__exportStar(require("./item.js"), exports);
|
|
34
33
|
__exportStar(require("./leaderboardaccount.js"), exports);
|
|
35
34
|
__exportStar(require("./leaderboardbadgeinfo.js"), exports);
|
|
36
35
|
__exportStar(require("./location.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,uDAAqC;AACrC,iEAA+C;AAC/C,qDAAmC;AACnC,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,4CAA0B;AAC1B,kDAAgC;AAChC,+CAA6B;AAC7B,yDAAuC;AACvC,mDAAiC;AACjC,oDAAkC;AAClC,6CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,uDAAqC;AACrC,iEAA+C;AAC/C,qDAAmC;AACnC,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,4CAA0B;AAC1B,kDAAgC;AAChC,+CAA6B;AAC7B,yDAAuC;AACvC,mDAAiC;AACjC,oDAAkC;AAClC,6CAA2B;AAC3B,0DAAwC;AACxC,4DAA0C;AAC1C,gDAA8B;AAC9B,wDAAsC;AACtC,8CAA4B;AAC5B,gDAA8B;AAC9B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,oDAAkC;AAClC,uDAAqC;AACrC,oEAAkD;AAClD,+EAA6D;AAC7D,kEAAgD;AAChD,+CAA6B;AAC7B,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,2DAAyC;AACzC,qEAAmD;AACnD,sEAAoD;AACpD,iEAA+C;AAC/C,kEAAgD;AAChD,kEAAgD;AAChD,mEAAiD;AACjD,oEAAkD;AAClD,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,iEAA+C;AAC/C,sDAAoC;AACpC,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { Item, Item$Outbound } from "./item.js";
|
|
2
1
|
import * as z from "zod";
|
|
3
2
|
export type V1DeleteImagesRequestBody = {
|
|
4
3
|
/**
|
|
5
|
-
* The images to delete
|
|
4
|
+
* The images ids to delete
|
|
6
5
|
*/
|
|
7
|
-
|
|
6
|
+
imageIds: Array<string> | null;
|
|
8
7
|
};
|
|
9
8
|
/** @internal */
|
|
10
9
|
export declare const V1DeleteImagesRequestBody$inboundSchema: z.ZodType<V1DeleteImagesRequestBody, z.ZodTypeDef, unknown>;
|
|
11
10
|
/** @internal */
|
|
12
11
|
export type V1DeleteImagesRequestBody$Outbound = {
|
|
13
|
-
|
|
12
|
+
imageIds: Array<string> | null;
|
|
14
13
|
};
|
|
15
14
|
/** @internal */
|
|
16
15
|
export declare const V1DeleteImagesRequestBody$outboundSchema: z.ZodType<V1DeleteImagesRequestBody$Outbound, z.ZodTypeDef, V1DeleteImagesRequestBody>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1deleteimagesrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1deleteimagesrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"v1deleteimagesrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1deleteimagesrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,yBAAyB,GAAG;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC3D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC7C,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAG3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IACxC,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC7D"}
|
|
@@ -27,15 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.V1DeleteImagesRequestBody$ = exports.V1DeleteImagesRequestBody$outboundSchema = exports.V1DeleteImagesRequestBody$inboundSchema = void 0;
|
|
30
|
-
const item_js_1 = require("./item.js");
|
|
31
30
|
const z = __importStar(require("zod"));
|
|
32
31
|
/** @internal */
|
|
33
32
|
exports.V1DeleteImagesRequestBody$inboundSchema = z.object({
|
|
34
|
-
|
|
33
|
+
imageIds: z.nullable(z.array(z.string())),
|
|
35
34
|
});
|
|
36
35
|
/** @internal */
|
|
37
36
|
exports.V1DeleteImagesRequestBody$outboundSchema = z.object({
|
|
38
|
-
|
|
37
|
+
imageIds: z.nullable(z.array(z.string())),
|
|
39
38
|
});
|
|
40
39
|
/**
|
|
41
40
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1deleteimagesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1deleteimagesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,
|
|
1
|
+
{"version":3,"file":"v1deleteimagesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1deleteimagesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AASzB,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACT,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAC5C,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACT,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAC5C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACvC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAG3E,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { Params, pathToFunc } from "./url.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Contains the list of servers available to the SDK
|
|
12
12
|
*/
|
|
13
|
-
export const ServerList = ["
|
|
13
|
+
export const ServerList = ["https://api.steamsets.com", "http://localhost:8080"] as const;
|
|
14
14
|
|
|
15
15
|
export type SDKOptions = {
|
|
16
16
|
session?: string | (() => Promise<string>);
|
|
@@ -52,7 +52,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
52
52
|
export const SDK_METADATA = {
|
|
53
53
|
language: "typescript",
|
|
54
54
|
openapiDocVersion: "1.0.0",
|
|
55
|
-
sdkVersion: "0.5.
|
|
55
|
+
sdkVersion: "0.5.4",
|
|
56
56
|
genVersion: "2.407.2",
|
|
57
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
57
|
+
userAgent: "speakeasy-sdk/typescript 0.5.4 2.407.2 1.0.0 @steamsets/client-ts",
|
|
58
58
|
} as const;
|
|
@@ -9,10 +9,6 @@ export type Image = {
|
|
|
9
9
|
* Whether the image is active or not
|
|
10
10
|
*/
|
|
11
11
|
active: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The id of the file
|
|
14
|
-
*/
|
|
15
|
-
fileId: string;
|
|
16
12
|
/**
|
|
17
13
|
* The name of the file
|
|
18
14
|
*/
|
|
@@ -25,40 +21,30 @@ export type Image = {
|
|
|
25
21
|
* The type of the image
|
|
26
22
|
*/
|
|
27
23
|
imageType: string;
|
|
28
|
-
/**
|
|
29
|
-
* The mime type of the file
|
|
30
|
-
*/
|
|
31
|
-
mimeType: string;
|
|
32
24
|
};
|
|
33
25
|
|
|
34
26
|
/** @internal */
|
|
35
27
|
export const Image$inboundSchema: z.ZodType<Image, z.ZodTypeDef, unknown> = z.object({
|
|
36
28
|
active: z.boolean(),
|
|
37
|
-
fileId: z.string(),
|
|
38
29
|
fileName: z.string(),
|
|
39
30
|
imageId: z.string(),
|
|
40
31
|
imageType: z.string(),
|
|
41
|
-
mimeType: z.string(),
|
|
42
32
|
});
|
|
43
33
|
|
|
44
34
|
/** @internal */
|
|
45
35
|
export type Image$Outbound = {
|
|
46
36
|
active: boolean;
|
|
47
|
-
fileId: string;
|
|
48
37
|
fileName: string;
|
|
49
38
|
imageId: string;
|
|
50
39
|
imageType: string;
|
|
51
|
-
mimeType: string;
|
|
52
40
|
};
|
|
53
41
|
|
|
54
42
|
/** @internal */
|
|
55
43
|
export const Image$outboundSchema: z.ZodType<Image$Outbound, z.ZodTypeDef, Image> = z.object({
|
|
56
44
|
active: z.boolean(),
|
|
57
|
-
fileId: z.string(),
|
|
58
45
|
fileName: z.string(),
|
|
59
46
|
imageId: z.string(),
|
|
60
47
|
imageType: z.string(),
|
|
61
|
-
mimeType: z.string(),
|
|
62
48
|
});
|
|
63
49
|
|
|
64
50
|
/**
|
|
@@ -15,7 +15,6 @@ export * from "./emailnotification.js";
|
|
|
15
15
|
export * from "./errordetail.js";
|
|
16
16
|
export * from "./httpmetadata.js";
|
|
17
17
|
export * from "./image.js";
|
|
18
|
-
export * from "./item.js";
|
|
19
18
|
export * from "./leaderboardaccount.js";
|
|
20
19
|
export * from "./leaderboardbadgeinfo.js";
|
|
21
20
|
export * from "./location.js";
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { Item, Item$inboundSchema, Item$Outbound, Item$outboundSchema } from "./item.js";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
export type V1DeleteImagesRequestBody = {
|
|
9
8
|
/**
|
|
10
|
-
* The images to delete
|
|
9
|
+
* The images ids to delete
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
imageIds: Array<string> | null;
|
|
13
12
|
};
|
|
14
13
|
|
|
15
14
|
/** @internal */
|
|
@@ -18,12 +17,12 @@ export const V1DeleteImagesRequestBody$inboundSchema: z.ZodType<
|
|
|
18
17
|
z.ZodTypeDef,
|
|
19
18
|
unknown
|
|
20
19
|
> = z.object({
|
|
21
|
-
|
|
20
|
+
imageIds: z.nullable(z.array(z.string())),
|
|
22
21
|
});
|
|
23
22
|
|
|
24
23
|
/** @internal */
|
|
25
24
|
export type V1DeleteImagesRequestBody$Outbound = {
|
|
26
|
-
|
|
25
|
+
imageIds: Array<string> | null;
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
/** @internal */
|
|
@@ -32,7 +31,7 @@ export const V1DeleteImagesRequestBody$outboundSchema: z.ZodType<
|
|
|
32
31
|
z.ZodTypeDef,
|
|
33
32
|
V1DeleteImagesRequestBody
|
|
34
33
|
> = z.object({
|
|
35
|
-
|
|
34
|
+
imageIds: z.nullable(z.array(z.string())),
|
|
36
35
|
});
|
|
37
36
|
|
|
38
37
|
/**
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
export type Item = {
|
|
3
|
-
/**
|
|
4
|
-
* The file id to delete
|
|
5
|
-
*/
|
|
6
|
-
fileId: string;
|
|
7
|
-
/**
|
|
8
|
-
* The image id to delete
|
|
9
|
-
*/
|
|
10
|
-
imageId: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const Item$inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown>;
|
|
14
|
-
/** @internal */
|
|
15
|
-
export type Item$Outbound = {
|
|
16
|
-
fileId: string;
|
|
17
|
-
imageId: string;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const Item$outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export declare namespace Item$ {
|
|
26
|
-
/** @deprecated use `Item$inboundSchema` instead. */
|
|
27
|
-
const inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown>;
|
|
28
|
-
/** @deprecated use `Item$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item>;
|
|
30
|
-
/** @deprecated use `Item$Outbound` instead. */
|
|
31
|
-
type Outbound = Item$Outbound;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../src/models/components/item.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,IAAI,GAAG;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAGpE,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,aAAa,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC,UAAU,EAAE,IAAI,CAG3E,CAAC;AAEH;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACnB,oDAAoD;IAC7C,MAAM,aAAa,wCAAqB,CAAC;IAChD,qDAAqD;IAC9C,MAAM,cAAc,8CAAsB,CAAC;IAClD,+CAA+C;IAC/C,KAAY,QAAQ,GAAG,aAAa,CAAC;CACxC"}
|
|
@@ -1,52 +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.Item$ = exports.Item$outboundSchema = exports.Item$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
/** @internal */
|
|
32
|
-
exports.Item$inboundSchema = z.object({
|
|
33
|
-
fileId: z.string(),
|
|
34
|
-
imageId: z.string(),
|
|
35
|
-
});
|
|
36
|
-
/** @internal */
|
|
37
|
-
exports.Item$outboundSchema = z.object({
|
|
38
|
-
fileId: z.string(),
|
|
39
|
-
imageId: z.string(),
|
|
40
|
-
});
|
|
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 Item$;
|
|
46
|
-
(function (Item$) {
|
|
47
|
-
/** @deprecated use `Item$inboundSchema` instead. */
|
|
48
|
-
Item$.inboundSchema = exports.Item$inboundSchema;
|
|
49
|
-
/** @deprecated use `Item$outboundSchema` instead. */
|
|
50
|
-
Item$.outboundSchema = exports.Item$outboundSchema;
|
|
51
|
-
})(Item$ || (exports.Item$ = Item$ = {}));
|
|
52
|
-
//# sourceMappingURL=item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../src/models/components/item.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAazB,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC,CAAC,MAAM,CAAC;IAC/E,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,mBAAmB,GAAiD,CAAC,CAAC,MAAM,CAAC;IACtF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,KAAK,CAOrB;AAPD,WAAiB,KAAK;IAClB,oDAAoD;IACvC,mBAAa,GAAG,0BAAkB,CAAC;IAChD,qDAAqD;IACxC,oBAAc,GAAG,2BAAmB,CAAC;AAGtD,CAAC,EAPgB,KAAK,qBAAL,KAAK,QAOrB"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
|
|
7
|
-
export type Item = {
|
|
8
|
-
/**
|
|
9
|
-
* The file id to delete
|
|
10
|
-
*/
|
|
11
|
-
fileId: string;
|
|
12
|
-
/**
|
|
13
|
-
* The image id to delete
|
|
14
|
-
*/
|
|
15
|
-
imageId: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/** @internal */
|
|
19
|
-
export const Item$inboundSchema: z.ZodType<Item, z.ZodTypeDef, unknown> = z.object({
|
|
20
|
-
fileId: z.string(),
|
|
21
|
-
imageId: z.string(),
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export type Item$Outbound = {
|
|
26
|
-
fileId: string;
|
|
27
|
-
imageId: string;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export const Item$outboundSchema: z.ZodType<Item$Outbound, z.ZodTypeDef, Item> = z.object({
|
|
32
|
-
fileId: z.string(),
|
|
33
|
-
imageId: z.string(),
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
-
*/
|
|
40
|
-
export namespace Item$ {
|
|
41
|
-
/** @deprecated use `Item$inboundSchema` instead. */
|
|
42
|
-
export const inboundSchema = Item$inboundSchema;
|
|
43
|
-
/** @deprecated use `Item$outboundSchema` instead. */
|
|
44
|
-
export const outboundSchema = Item$outboundSchema;
|
|
45
|
-
/** @deprecated use `Item$Outbound` instead. */
|
|
46
|
-
export type Outbound = Item$Outbound;
|
|
47
|
-
}
|