@steamsets/client-ts 0.14.8 → 0.14.9
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 +0 -7
- package/funcs/accountGetInfo.js +1 -1
- package/funcs/accountGetInfo.js.map +1 -1
- package/funcs/dataGetInfo.js +1 -1
- package/funcs/dataGetInfo.js.map +1 -1
- package/funcs/publicGetInfo.js +1 -1
- package/funcs/publicGetInfo.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/colortag.d.ts +0 -2
- package/models/components/colortag.d.ts.map +1 -1
- package/models/components/colortag.js +0 -2
- package/models/components/colortag.js.map +1 -1
- package/models/components/index.d.ts +1 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -2
- package/models/components/index.js.map +1 -1
- package/models/components/{accountinfobody.d.ts → v1accountinforesponsebody.d.ts} +53 -14
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -0
- package/models/components/{accountinfobody.js → v1accountinforesponsebody.js} +42 -17
- package/models/components/v1accountinforesponsebody.js.map +1 -0
- package/models/operations/accountv1getinfo.d.ts +2 -2
- package/models/operations/accountv1getinfo.d.ts.map +1 -1
- package/models/operations/accountv1getinfo.js +6 -4
- package/models/operations/accountv1getinfo.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/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountGetInfo.ts +1 -1
- package/src/funcs/dataGetInfo.ts +1 -1
- package/src/funcs/publicGetInfo.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/colortag.ts +0 -4
- package/src/models/components/index.ts +1 -2
- package/src/models/components/{accountinfobody.ts → v1accountinforesponsebody.ts} +58 -21
- package/src/models/operations/accountv1getinfo.ts +10 -6
- package/src/models/operations/index.ts +0 -2
- package/src/sdk/sdk.ts +0 -6
- package/docs/sdks/meta/README.md +0 -153
- package/funcs/metaAccountV1GetEmbed.d.ts +0 -11
- package/funcs/metaAccountV1GetEmbed.d.ts.map +0 -1
- package/funcs/metaAccountV1GetEmbed.js +0 -111
- package/funcs/metaAccountV1GetEmbed.js.map +0 -1
- package/funcs/metaAccountV1GetMeta.d.ts +0 -11
- package/funcs/metaAccountV1GetMeta.d.ts.map +0 -1
- package/funcs/metaAccountV1GetMeta.js +0 -110
- package/funcs/metaAccountV1GetMeta.js.map +0 -1
- package/models/components/accountinfobody.d.ts.map +0 -1
- package/models/components/accountinfobody.js.map +0 -1
- package/models/components/v1accountmetaresponsebody.d.ts +0 -32
- package/models/components/v1accountmetaresponsebody.d.ts.map +0 -1
- package/models/components/v1accountmetaresponsebody.js +0 -68
- package/models/components/v1accountmetaresponsebody.js.map +0 -1
- package/models/operations/accountv1getembed.d.ts +0 -41
- package/models/operations/accountv1getembed.d.ts.map +0 -1
- package/models/operations/accountv1getembed.js +0 -75
- package/models/operations/accountv1getembed.js.map +0 -1
- package/models/operations/accountv1getmeta.d.ts +0 -35
- package/models/operations/accountv1getmeta.d.ts.map +0 -1
- package/models/operations/accountv1getmeta.js +0 -75
- package/models/operations/accountv1getmeta.js.map +0 -1
- package/sdk/meta.d.ts +0 -8
- package/sdk/meta.d.ts.map +0 -1
- package/sdk/meta.js +0 -20
- package/sdk/meta.js.map +0 -1
- package/src/funcs/metaAccountV1GetEmbed.ts +0 -143
- package/src/funcs/metaAccountV1GetMeta.ts +0 -142
- package/src/models/components/v1accountmetaresponsebody.ts +0 -78
- package/src/models/operations/accountv1getembed.ts +0 -89
- package/src/models/operations/accountv1getmeta.ts +0 -89
- package/src/sdk/meta.ts +0 -34
|
@@ -26,11 +26,9 @@ __exportStar(require("./accountv1getapps.js"), exports);
|
|
|
26
26
|
__exportStar(require("./accountv1getbadgebookmarks.js"), exports);
|
|
27
27
|
__exportStar(require("./accountv1getbadges.js"), exports);
|
|
28
28
|
__exportStar(require("./accountv1getdatapoints.js"), exports);
|
|
29
|
-
__exportStar(require("./accountv1getembed.js"), exports);
|
|
30
29
|
__exportStar(require("./accountv1getfriends.js"), exports);
|
|
31
30
|
__exportStar(require("./accountv1getinfo.js"), exports);
|
|
32
31
|
__exportStar(require("./accountv1getleaderboardhistory.js"), exports);
|
|
33
|
-
__exportStar(require("./accountv1getmeta.js"), exports);
|
|
34
32
|
__exportStar(require("./accountv1getstaff.js"), exports);
|
|
35
33
|
__exportStar(require("./accountv1imagesdelete.js"), exports);
|
|
36
34
|
__exportStar(require("./accountv1imagesget.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,8DAA4C;AAC5C,kEAAgD;AAChD,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,wDAAsC;AACtC,kEAAgD;AAChD,0DAAwC;AACxC,8DAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,8DAA4C;AAC5C,kEAAgD;AAChD,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,wDAAsC;AACtC,kEAAgD;AAChD,0DAAwC;AACxC,8DAA4C;AAC5C,2DAAyC;AACzC,wDAAsC;AACtC,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,2DAAyC;AACzC,6DAA2C;AAC3C,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,4DAA0C;AAC1C,8EAA4D;AAC5D,+DAA6C;AAC7C,mEAAiD;AACjD,yDAAuC;AACvC,wDAAsC;AACtC,0DAAwC;AACxC,8DAA4C;AAC5C,0DAAwC;AACxC,qDAAmC;AACnC,kDAAgC;AAChC,mDAAiC;AACjC,+DAA6C;AAC7C,8DAA4C;AAC5C,6DAA2C;AAC3C,gDAA8B;AAC9B,6DAA2C"}
|
package/package.json
CHANGED
package/sdk/sdk.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ import { Images } from "./images.js";
|
|
|
12
12
|
import { Leaderboard } from "./leaderboard.js";
|
|
13
13
|
import { Liveness } from "./liveness.js";
|
|
14
14
|
import { Locations } from "./locations.js";
|
|
15
|
-
import { Meta } from "./meta.js";
|
|
16
15
|
import { Public } from "./public.js";
|
|
17
16
|
import { Session } from "./session.js";
|
|
18
17
|
import { Sessions } from "./sessions.js";
|
|
@@ -38,8 +37,6 @@ export declare class SteamSets extends ClientSDK {
|
|
|
38
37
|
get data(): Data;
|
|
39
38
|
private _public?;
|
|
40
39
|
get public(): Public;
|
|
41
|
-
private _meta?;
|
|
42
|
-
get meta(): Meta;
|
|
43
40
|
private _settings?;
|
|
44
41
|
get settings(): Settings;
|
|
45
42
|
private _accounts?;
|
package/sdk/sdk.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW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AO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;CACF"}
|
package/sdk/sdk.js
CHANGED
|
@@ -18,7 +18,6 @@ const images_js_1 = require("./images.js");
|
|
|
18
18
|
const leaderboard_js_1 = require("./leaderboard.js");
|
|
19
19
|
const liveness_js_1 = require("./liveness.js");
|
|
20
20
|
const locations_js_1 = require("./locations.js");
|
|
21
|
-
const meta_js_1 = require("./meta.js");
|
|
22
21
|
const public_js_1 = require("./public.js");
|
|
23
22
|
const session_js_1 = require("./session.js");
|
|
24
23
|
const sessions_js_1 = require("./sessions.js");
|
|
@@ -54,9 +53,6 @@ class SteamSets extends sdks_js_1.ClientSDK {
|
|
|
54
53
|
get public() {
|
|
55
54
|
return (this._public ?? (this._public = new public_js_1.Public(this._options)));
|
|
56
55
|
}
|
|
57
|
-
get meta() {
|
|
58
|
-
return (this._meta ?? (this._meta = new meta_js_1.Meta(this._options)));
|
|
59
|
-
}
|
|
60
56
|
get settings() {
|
|
61
57
|
return (this._settings ?? (this._settings = new settings_js_1.Settings(this._options)));
|
|
62
58
|
}
|
package/sdk/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,6CAAuC;AACvC,+CAAyC;AACzC,yCAAmC;AACnC,yCAAmC;AACnC,2CAAqC;AACrC,mDAA6C;AAC7C,qDAA+C;AAC/C,uCAAiC;AACjC,iDAA2C;AAC3C,2CAAqC;AACrC,qDAA+C;AAC/C,+CAAyC;AACzC,iDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AA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C,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,4BAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAChE,CAAC;IAGD,IAAI,SAAS;QACX,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAGD,IAAI,QAAQ;QACV,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;CACF;AArFD,8BAqFC"}
|
|
@@ -127,7 +127,7 @@ export async function accountGetInfo(
|
|
|
127
127
|
| ConnectionError
|
|
128
128
|
>(
|
|
129
129
|
M.json(200, operations.AccountV1GetInfoResponse$inboundSchema, {
|
|
130
|
-
key: "
|
|
130
|
+
key: "V1AccountInfoResponseBody",
|
|
131
131
|
}),
|
|
132
132
|
M.jsonErr([403, 404, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
133
133
|
ctype: "application/problem+json",
|
package/src/funcs/dataGetInfo.ts
CHANGED
|
@@ -127,7 +127,7 @@ export async function dataGetInfo(
|
|
|
127
127
|
| ConnectionError
|
|
128
128
|
>(
|
|
129
129
|
M.json(200, operations.AccountV1GetInfoResponse$inboundSchema, {
|
|
130
|
-
key: "
|
|
130
|
+
key: "V1AccountInfoResponseBody",
|
|
131
131
|
}),
|
|
132
132
|
M.jsonErr([403, 404, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
133
133
|
ctype: "application/problem+json",
|
|
@@ -127,7 +127,7 @@ export async function publicGetInfo(
|
|
|
127
127
|
| ConnectionError
|
|
128
128
|
>(
|
|
129
129
|
M.json(200, operations.AccountV1GetInfoResponse$inboundSchema, {
|
|
130
|
-
key: "
|
|
130
|
+
key: "V1AccountInfoResponseBody",
|
|
131
131
|
}),
|
|
132
132
|
M.jsonErr([403, 404, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
133
133
|
ctype: "application/problem+json",
|
package/src/lib/config.ts
CHANGED
|
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
55
55
|
export const SDK_METADATA = {
|
|
56
56
|
language: "typescript",
|
|
57
57
|
openapiDocVersion: "1.0.0",
|
|
58
|
-
sdkVersion: "0.14.
|
|
58
|
+
sdkVersion: "0.14.9",
|
|
59
59
|
genVersion: "2.484.0",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 0.14.
|
|
61
|
+
"speakeasy-sdk/typescript 0.14.9 2.484.0 1.0.0 @steamsets/client-ts",
|
|
62
62
|
} as const;
|
|
@@ -8,7 +8,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type ColorTag = {
|
|
11
|
-
gradient: string | null;
|
|
12
11
|
group: string;
|
|
13
12
|
groupOwner: boolean;
|
|
14
13
|
hex: string | null;
|
|
@@ -23,7 +22,6 @@ export const ColorTag$inboundSchema: z.ZodType<
|
|
|
23
22
|
z.ZodTypeDef,
|
|
24
23
|
unknown
|
|
25
24
|
> = z.object({
|
|
26
|
-
gradient: z.nullable(z.string()),
|
|
27
25
|
group: z.string(),
|
|
28
26
|
groupOwner: z.boolean(),
|
|
29
27
|
hex: z.nullable(z.string()),
|
|
@@ -34,7 +32,6 @@ export const ColorTag$inboundSchema: z.ZodType<
|
|
|
34
32
|
|
|
35
33
|
/** @internal */
|
|
36
34
|
export type ColorTag$Outbound = {
|
|
37
|
-
gradient: string | null;
|
|
38
35
|
group: string;
|
|
39
36
|
groupOwner: boolean;
|
|
40
37
|
hex: string | null;
|
|
@@ -49,7 +46,6 @@ export const ColorTag$outboundSchema: z.ZodType<
|
|
|
49
46
|
z.ZodTypeDef,
|
|
50
47
|
ColorTag
|
|
51
48
|
> = z.object({
|
|
52
|
-
gradient: z.nullable(z.string()),
|
|
53
49
|
group: z.string(),
|
|
54
50
|
groupOwner: z.boolean(),
|
|
55
51
|
hex: z.nullable(z.string()),
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export * from "./accountbadgeinfo.js";
|
|
6
|
-
export * from "./accountinfobody.js";
|
|
7
6
|
export * from "./accountleaderboardhistory.js";
|
|
8
7
|
export * from "./accountsearch.js";
|
|
9
8
|
export * from "./accountsearchidstruct.js";
|
|
@@ -46,6 +45,7 @@ export * from "./v1accountdeveloperappupdaterequestbody.js";
|
|
|
46
45
|
export * from "./v1accountdeveloperappupdateresponsebody.js";
|
|
47
46
|
export * from "./v1accountfriend.js";
|
|
48
47
|
export * from "./v1accountfriendsresponsebody.js";
|
|
48
|
+
export * from "./v1accountinforesponsebody.js";
|
|
49
49
|
export * from "./v1accountleaderboardaccount.js";
|
|
50
50
|
export * from "./v1accountleaderboardappsearch.js";
|
|
51
51
|
export * from "./v1accountleaderboardbadgesearch.js";
|
|
@@ -53,7 +53,6 @@ export * from "./v1accountleaderboardhistoryresponsebody.js";
|
|
|
53
53
|
export * from "./v1accountleaderboardrequestbody.js";
|
|
54
54
|
export * from "./v1accountleaderboardresponsebody.js";
|
|
55
55
|
export * from "./v1accountlocationupdate.js";
|
|
56
|
-
export * from "./v1accountmetaresponsebody.js";
|
|
57
56
|
export * from "./v1accountnameupdate.js";
|
|
58
57
|
export * from "./v1accountplaytimedatapoint.js";
|
|
59
58
|
export * from "./v1accountqueuerequestbody.js";
|
|
@@ -83,6 +83,16 @@ export const FriendPrivacy = {
|
|
|
83
83
|
*/
|
|
84
84
|
export type FriendPrivacy = ClosedEnum<typeof FriendPrivacy>;
|
|
85
85
|
|
|
86
|
+
export const LastQueueStatus = {
|
|
87
|
+
Undefined: "undefined",
|
|
88
|
+
Pending: "pending",
|
|
89
|
+
InProgress: "in_progress",
|
|
90
|
+
Retrying: "retrying",
|
|
91
|
+
Failed: "failed",
|
|
92
|
+
Completed: "completed",
|
|
93
|
+
} as const;
|
|
94
|
+
export type LastQueueStatus = ClosedEnum<typeof LastQueueStatus>;
|
|
95
|
+
|
|
86
96
|
/**
|
|
87
97
|
* The privacy of the account
|
|
88
98
|
*/
|
|
@@ -96,7 +106,7 @@ export const Privacy = {
|
|
|
96
106
|
*/
|
|
97
107
|
export type Privacy = ClosedEnum<typeof Privacy>;
|
|
98
108
|
|
|
99
|
-
export type
|
|
109
|
+
export type V1AccountInfoResponseBody = {
|
|
100
110
|
/**
|
|
101
111
|
* A URL to the JSON Schema for this object.
|
|
102
112
|
*/
|
|
@@ -211,6 +221,7 @@ export type AccountInfoBody = {
|
|
|
211
221
|
* The Last date the account got a ban on
|
|
212
222
|
*/
|
|
213
223
|
lastBanDate: Date | null;
|
|
224
|
+
lastQueueStatus: LastQueueStatus;
|
|
214
225
|
/**
|
|
215
226
|
* The level of the account
|
|
216
227
|
*/
|
|
@@ -331,6 +342,27 @@ export namespace FriendPrivacy$ {
|
|
|
331
342
|
export const outboundSchema = FriendPrivacy$outboundSchema;
|
|
332
343
|
}
|
|
333
344
|
|
|
345
|
+
/** @internal */
|
|
346
|
+
export const LastQueueStatus$inboundSchema: z.ZodNativeEnum<
|
|
347
|
+
typeof LastQueueStatus
|
|
348
|
+
> = z.nativeEnum(LastQueueStatus);
|
|
349
|
+
|
|
350
|
+
/** @internal */
|
|
351
|
+
export const LastQueueStatus$outboundSchema: z.ZodNativeEnum<
|
|
352
|
+
typeof LastQueueStatus
|
|
353
|
+
> = LastQueueStatus$inboundSchema;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
358
|
+
*/
|
|
359
|
+
export namespace LastQueueStatus$ {
|
|
360
|
+
/** @deprecated use `LastQueueStatus$inboundSchema` instead. */
|
|
361
|
+
export const inboundSchema = LastQueueStatus$inboundSchema;
|
|
362
|
+
/** @deprecated use `LastQueueStatus$outboundSchema` instead. */
|
|
363
|
+
export const outboundSchema = LastQueueStatus$outboundSchema;
|
|
364
|
+
}
|
|
365
|
+
|
|
334
366
|
/** @internal */
|
|
335
367
|
export const Privacy$inboundSchema: z.ZodNativeEnum<typeof Privacy> = z
|
|
336
368
|
.nativeEnum(Privacy);
|
|
@@ -351,8 +383,8 @@ export namespace Privacy$ {
|
|
|
351
383
|
}
|
|
352
384
|
|
|
353
385
|
/** @internal */
|
|
354
|
-
export const
|
|
355
|
-
|
|
386
|
+
export const V1AccountInfoResponseBody$inboundSchema: z.ZodType<
|
|
387
|
+
V1AccountInfoResponseBody,
|
|
356
388
|
z.ZodTypeDef,
|
|
357
389
|
unknown
|
|
358
390
|
> = z.object({
|
|
@@ -390,6 +422,7 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
390
422
|
lastBanDate: z.nullable(
|
|
391
423
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
392
424
|
),
|
|
425
|
+
lastQueueStatus: LastQueueStatus$inboundSchema,
|
|
393
426
|
level: z.number().int(),
|
|
394
427
|
miniBackground: z.string(),
|
|
395
428
|
name: z.string(),
|
|
@@ -420,7 +453,7 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
420
453
|
});
|
|
421
454
|
|
|
422
455
|
/** @internal */
|
|
423
|
-
export type
|
|
456
|
+
export type V1AccountInfoResponseBody$Outbound = {
|
|
424
457
|
$schema?: string | undefined;
|
|
425
458
|
accountId: number;
|
|
426
459
|
animatedAvatar: string;
|
|
@@ -451,6 +484,7 @@ export type AccountInfoBody$Outbound = {
|
|
|
451
484
|
gameBans: number;
|
|
452
485
|
images: Array<Image$Outbound> | null;
|
|
453
486
|
lastBanDate: string | null;
|
|
487
|
+
lastQueueStatus: string;
|
|
454
488
|
level: number;
|
|
455
489
|
miniBackground: string;
|
|
456
490
|
name: string;
|
|
@@ -475,10 +509,10 @@ export type AccountInfoBody$Outbound = {
|
|
|
475
509
|
};
|
|
476
510
|
|
|
477
511
|
/** @internal */
|
|
478
|
-
export const
|
|
479
|
-
|
|
512
|
+
export const V1AccountInfoResponseBody$outboundSchema: z.ZodType<
|
|
513
|
+
V1AccountInfoResponseBody$Outbound,
|
|
480
514
|
z.ZodTypeDef,
|
|
481
|
-
|
|
515
|
+
V1AccountInfoResponseBody
|
|
482
516
|
> = z.object({
|
|
483
517
|
dollarSchema: z.string().optional(),
|
|
484
518
|
accountId: z.number().int(),
|
|
@@ -510,6 +544,7 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
510
544
|
gameBans: z.number().int(),
|
|
511
545
|
images: z.nullable(z.array(Image$outboundSchema)),
|
|
512
546
|
lastBanDate: z.nullable(z.date().transform(v => v.toISOString())),
|
|
547
|
+
lastQueueStatus: LastQueueStatus$outboundSchema,
|
|
513
548
|
level: z.number().int(),
|
|
514
549
|
miniBackground: z.string(),
|
|
515
550
|
name: z.string(),
|
|
@@ -541,27 +576,29 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
541
576
|
* @internal
|
|
542
577
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
543
578
|
*/
|
|
544
|
-
export namespace
|
|
545
|
-
/** @deprecated use `
|
|
546
|
-
export const inboundSchema =
|
|
547
|
-
/** @deprecated use `
|
|
548
|
-
export const outboundSchema =
|
|
549
|
-
/** @deprecated use `
|
|
550
|
-
export type Outbound =
|
|
579
|
+
export namespace V1AccountInfoResponseBody$ {
|
|
580
|
+
/** @deprecated use `V1AccountInfoResponseBody$inboundSchema` instead. */
|
|
581
|
+
export const inboundSchema = V1AccountInfoResponseBody$inboundSchema;
|
|
582
|
+
/** @deprecated use `V1AccountInfoResponseBody$outboundSchema` instead. */
|
|
583
|
+
export const outboundSchema = V1AccountInfoResponseBody$outboundSchema;
|
|
584
|
+
/** @deprecated use `V1AccountInfoResponseBody$Outbound` instead. */
|
|
585
|
+
export type Outbound = V1AccountInfoResponseBody$Outbound;
|
|
551
586
|
}
|
|
552
587
|
|
|
553
|
-
export function
|
|
554
|
-
|
|
588
|
+
export function v1AccountInfoResponseBodyToJSON(
|
|
589
|
+
v1AccountInfoResponseBody: V1AccountInfoResponseBody,
|
|
555
590
|
): string {
|
|
556
|
-
return JSON.stringify(
|
|
591
|
+
return JSON.stringify(
|
|
592
|
+
V1AccountInfoResponseBody$outboundSchema.parse(v1AccountInfoResponseBody),
|
|
593
|
+
);
|
|
557
594
|
}
|
|
558
595
|
|
|
559
|
-
export function
|
|
596
|
+
export function v1AccountInfoResponseBodyFromJSON(
|
|
560
597
|
jsonString: string,
|
|
561
|
-
): SafeParseResult<
|
|
598
|
+
): SafeParseResult<V1AccountInfoResponseBody, SDKValidationError> {
|
|
562
599
|
return safeParse(
|
|
563
600
|
jsonString,
|
|
564
|
-
(x) =>
|
|
565
|
-
`Failed to parse '
|
|
601
|
+
(x) => V1AccountInfoResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
602
|
+
`Failed to parse 'V1AccountInfoResponseBody' from JSON`,
|
|
566
603
|
);
|
|
567
604
|
}
|
|
@@ -14,7 +14,7 @@ export type AccountV1GetInfoResponse = {
|
|
|
14
14
|
/**
|
|
15
15
|
* OK
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
v1AccountInfoResponseBody?: components.V1AccountInfoResponseBody | undefined;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
@@ -24,18 +24,21 @@ export const AccountV1GetInfoResponse$inboundSchema: z.ZodType<
|
|
|
24
24
|
unknown
|
|
25
25
|
> = z.object({
|
|
26
26
|
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
27
|
-
|
|
27
|
+
V1AccountInfoResponseBody: components.V1AccountInfoResponseBody$inboundSchema
|
|
28
|
+
.optional(),
|
|
28
29
|
}).transform((v) => {
|
|
29
30
|
return remap$(v, {
|
|
30
31
|
"HttpMeta": "httpMeta",
|
|
31
|
-
"
|
|
32
|
+
"V1AccountInfoResponseBody": "v1AccountInfoResponseBody",
|
|
32
33
|
});
|
|
33
34
|
});
|
|
34
35
|
|
|
35
36
|
/** @internal */
|
|
36
37
|
export type AccountV1GetInfoResponse$Outbound = {
|
|
37
38
|
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
-
|
|
39
|
+
V1AccountInfoResponseBody?:
|
|
40
|
+
| components.V1AccountInfoResponseBody$Outbound
|
|
41
|
+
| undefined;
|
|
39
42
|
};
|
|
40
43
|
|
|
41
44
|
/** @internal */
|
|
@@ -45,11 +48,12 @@ export const AccountV1GetInfoResponse$outboundSchema: z.ZodType<
|
|
|
45
48
|
AccountV1GetInfoResponse
|
|
46
49
|
> = z.object({
|
|
47
50
|
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
48
|
-
|
|
51
|
+
v1AccountInfoResponseBody: components.V1AccountInfoResponseBody$outboundSchema
|
|
52
|
+
.optional(),
|
|
49
53
|
}).transform((v) => {
|
|
50
54
|
return remap$(v, {
|
|
51
55
|
httpMeta: "HttpMeta",
|
|
52
|
-
|
|
56
|
+
v1AccountInfoResponseBody: "V1AccountInfoResponseBody",
|
|
53
57
|
});
|
|
54
58
|
});
|
|
55
59
|
|
|
@@ -11,11 +11,9 @@ export * from "./accountv1getapps.js";
|
|
|
11
11
|
export * from "./accountv1getbadgebookmarks.js";
|
|
12
12
|
export * from "./accountv1getbadges.js";
|
|
13
13
|
export * from "./accountv1getdatapoints.js";
|
|
14
|
-
export * from "./accountv1getembed.js";
|
|
15
14
|
export * from "./accountv1getfriends.js";
|
|
16
15
|
export * from "./accountv1getinfo.js";
|
|
17
16
|
export * from "./accountv1getleaderboardhistory.js";
|
|
18
|
-
export * from "./accountv1getmeta.js";
|
|
19
17
|
export * from "./accountv1getstaff.js";
|
|
20
18
|
export * from "./accountv1imagesdelete.js";
|
|
21
19
|
export * from "./accountv1imagesget.js";
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -16,7 +16,6 @@ import { Images } from "./images.js";
|
|
|
16
16
|
import { Leaderboard } from "./leaderboard.js";
|
|
17
17
|
import { Liveness } from "./liveness.js";
|
|
18
18
|
import { Locations } from "./locations.js";
|
|
19
|
-
import { Meta } from "./meta.js";
|
|
20
19
|
import { Public } from "./public.js";
|
|
21
20
|
import { Session } from "./session.js";
|
|
22
21
|
import { Sessions } from "./sessions.js";
|
|
@@ -73,11 +72,6 @@ export class SteamSets extends ClientSDK {
|
|
|
73
72
|
return (this._public ??= new Public(this._options));
|
|
74
73
|
}
|
|
75
74
|
|
|
76
|
-
private _meta?: Meta;
|
|
77
|
-
get meta(): Meta {
|
|
78
|
-
return (this._meta ??= new Meta(this._options));
|
|
79
|
-
}
|
|
80
|
-
|
|
81
75
|
private _settings?: Settings;
|
|
82
76
|
get settings(): Settings {
|
|
83
77
|
return (this._settings ??= new Settings(this._options));
|
package/docs/sdks/meta/README.md
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
# Meta
|
|
2
|
-
(*meta*)
|
|
3
|
-
|
|
4
|
-
## Overview
|
|
5
|
-
|
|
6
|
-
Seo related operations, mostly public endpoints that return images/text
|
|
7
|
-
|
|
8
|
-
### Available Operations
|
|
9
|
-
|
|
10
|
-
* [accountV1GetEmbed](#accountv1getembed)
|
|
11
|
-
* [accountV1GetMeta](#accountv1getmeta)
|
|
12
|
-
|
|
13
|
-
## accountV1GetEmbed
|
|
14
|
-
|
|
15
|
-
### Example Usage
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
19
|
-
|
|
20
|
-
const steamSets = new SteamSets({
|
|
21
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
async function run() {
|
|
25
|
-
const result = await steamSets.meta.accountV1GetEmbed({});
|
|
26
|
-
|
|
27
|
-
// Handle the result
|
|
28
|
-
console.log(result);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
run();
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Standalone function
|
|
35
|
-
|
|
36
|
-
The standalone function version of this method:
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
40
|
-
import { metaAccountV1GetEmbed } from "@steamsets/client-ts/funcs/metaAccountV1GetEmbed.js";
|
|
41
|
-
|
|
42
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
43
|
-
// You can create one instance of it to use across an application.
|
|
44
|
-
const steamSets = new SteamSetsCore({
|
|
45
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
async function run() {
|
|
49
|
-
const res = await metaAccountV1GetEmbed(steamSets, {});
|
|
50
|
-
|
|
51
|
-
if (!res.ok) {
|
|
52
|
-
throw res.error;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
const { value: result } = res;
|
|
56
|
-
|
|
57
|
-
// Handle the result
|
|
58
|
-
console.log(result);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
run();
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### Parameters
|
|
65
|
-
|
|
66
|
-
| Parameter | Type | Required | Description |
|
|
67
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
68
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
69
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
70
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
71
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
72
|
-
|
|
73
|
-
### Response
|
|
74
|
-
|
|
75
|
-
**Promise\<[operations.AccountV1GetEmbedResponse](../../models/operations/accountv1getembedresponse.md)\>**
|
|
76
|
-
|
|
77
|
-
### Errors
|
|
78
|
-
|
|
79
|
-
| Error Type | Status Code | Content Type |
|
|
80
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
81
|
-
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
82
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
83
|
-
|
|
84
|
-
## accountV1GetMeta
|
|
85
|
-
|
|
86
|
-
### Example Usage
|
|
87
|
-
|
|
88
|
-
```typescript
|
|
89
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
90
|
-
|
|
91
|
-
const steamSets = new SteamSets({
|
|
92
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
async function run() {
|
|
96
|
-
const result = await steamSets.meta.accountV1GetMeta({});
|
|
97
|
-
|
|
98
|
-
// Handle the result
|
|
99
|
-
console.log(result);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
run();
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
### Standalone function
|
|
106
|
-
|
|
107
|
-
The standalone function version of this method:
|
|
108
|
-
|
|
109
|
-
```typescript
|
|
110
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
111
|
-
import { metaAccountV1GetMeta } from "@steamsets/client-ts/funcs/metaAccountV1GetMeta.js";
|
|
112
|
-
|
|
113
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
114
|
-
// You can create one instance of it to use across an application.
|
|
115
|
-
const steamSets = new SteamSetsCore({
|
|
116
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
async function run() {
|
|
120
|
-
const res = await metaAccountV1GetMeta(steamSets, {});
|
|
121
|
-
|
|
122
|
-
if (!res.ok) {
|
|
123
|
-
throw res.error;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
const { value: result } = res;
|
|
127
|
-
|
|
128
|
-
// Handle the result
|
|
129
|
-
console.log(result);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
run();
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### Parameters
|
|
136
|
-
|
|
137
|
-
| Parameter | Type | Required | Description |
|
|
138
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
139
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
140
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
141
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
142
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
143
|
-
|
|
144
|
-
### Response
|
|
145
|
-
|
|
146
|
-
**Promise\<[operations.AccountV1GetMetaResponse](../../models/operations/accountv1getmetaresponse.md)\>**
|
|
147
|
-
|
|
148
|
-
### Errors
|
|
149
|
-
|
|
150
|
-
| Error Type | Status Code | Content Type |
|
|
151
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
152
|
-
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
153
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SteamSetsCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
-
import * as errors from "../models/errors/index.js";
|
|
6
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function metaAccountV1GetEmbed(client: SteamSetsCore, request: components.AccountSearch, options?: RequestOptions): Promise<Result<operations.AccountV1GetEmbedResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
11
|
-
//# sourceMappingURL=metaAccountV1GetEmbed.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metaAccountV1GetEmbed.d.ts","sourceRoot":"","sources":["../src/funcs/metaAccountV1GetEmbed.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,yBAAyB,EAClC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAqGA"}
|