@steamsets/client-ts 0.11.15 → 0.11.17
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 -4
- package/docs/sdks/account/README.md +2 -82
- package/docs/sdks/leaderboard/README.md +2 -80
- package/docs/sdks/public/README.md +0 -2
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/accountinfobody.d.ts +12 -9
- package/models/components/accountinfobody.d.ts.map +1 -1
- package/models/components/accountinfobody.js +12 -9
- package/models/components/accountinfobody.js.map +1 -1
- package/models/components/index.d.ts +4 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -3
- package/models/components/index.js.map +1 -1
- package/models/components/leaderboardaccount.d.ts +12 -9
- package/models/components/leaderboardaccount.d.ts.map +1 -1
- package/models/components/leaderboardaccount.js +12 -9
- package/models/components/leaderboardaccount.js.map +1 -1
- package/models/components/leaderboardcity.d.ts +33 -0
- package/models/components/leaderboardcity.d.ts.map +1 -0
- package/models/components/{location.js → leaderboardcity.js} +11 -13
- package/models/components/leaderboardcity.js.map +1 -0
- package/models/components/leaderboardcountry.d.ts +38 -0
- package/models/components/leaderboardcountry.d.ts.map +1 -0
- package/models/components/leaderboardcountry.js +54 -0
- package/models/components/leaderboardcountry.js.map +1 -0
- package/models/components/leaderboardregion.d.ts +33 -0
- package/models/components/leaderboardregion.d.ts.map +1 -0
- package/models/components/leaderboardregion.js +52 -0
- package/models/components/leaderboardregion.js.map +1 -0
- package/models/components/leaderboardstate.d.ts +33 -0
- package/models/components/leaderboardstate.d.ts.map +1 -0
- package/models/components/leaderboardstate.js +52 -0
- package/models/components/leaderboardstate.js.map +1 -0
- package/models/components/v1accountfriend.d.ts +12 -9
- package/models/components/v1accountfriend.d.ts.map +1 -1
- package/models/components/v1accountfriend.js +12 -9
- package/models/components/v1accountfriend.js.map +1 -1
- package/models/components/v1accountleaderboardaccount.d.ts +12 -9
- package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
- package/models/components/v1accountleaderboardaccount.js +12 -9
- package/models/components/v1accountleaderboardaccount.js.map +1 -1
- package/models/components/v1accountleaderboardrequestbody.d.ts +5 -0
- package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
- package/models/components/v1accountleaderboardrequestbody.js +2 -0
- package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
- package/models/components/v1accountleaderboardresponsebody.d.ts +2 -0
- package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
- package/models/components/v1accountleaderboardresponsebody.js +2 -0
- package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
- package/models/components/v1accountqueuerequestbody.d.ts +0 -5
- package/models/components/v1accountqueuerequestbody.d.ts.map +1 -1
- package/models/components/v1accountqueuerequestbody.js +0 -2
- package/models/components/v1accountqueuerequestbody.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +0 -4
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +0 -7
- package/sdk/account.js.map +1 -1
- package/sdk/leaderboard.d.ts +0 -4
- package/sdk/leaderboard.d.ts.map +1 -1
- package/sdk/leaderboard.js +0 -7
- package/sdk/leaderboard.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -4
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/accountinfobody.ts +39 -21
- package/src/models/components/index.ts +4 -3
- package/src/models/components/leaderboardaccount.ts +39 -21
- package/src/models/components/leaderboardcity.ts +55 -0
- package/src/models/components/leaderboardcountry.ts +62 -0
- package/src/models/components/leaderboardregion.ts +55 -0
- package/src/models/components/leaderboardstate.ts +55 -0
- package/src/models/components/v1accountfriend.ts +39 -21
- package/src/models/components/v1accountleaderboardaccount.ts +39 -21
- package/src/models/components/v1accountleaderboardrequestbody.ts +7 -0
- package/src/models/components/v1accountleaderboardresponsebody.ts +4 -0
- package/src/models/components/v1accountqueuerequestbody.ts +0 -7
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/account.ts +0 -15
- package/src/sdk/leaderboard.ts +0 -15
- package/src/sdk/sdk.ts +5 -5
- package/funcs/accountAccountV1LeaderboardPreview.d.ts +0 -14
- package/funcs/accountAccountV1LeaderboardPreview.d.ts.map +0 -1
- package/funcs/accountAccountV1LeaderboardPreview.js +0 -98
- package/funcs/accountAccountV1LeaderboardPreview.js.map +0 -1
- package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts +0 -14
- package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts.map +0 -1
- package/funcs/leaderboardAccountV1LeaderboardPreview.js +0 -98
- package/funcs/leaderboardAccountV1LeaderboardPreview.js.map +0 -1
- package/models/components/location.d.ts +0 -38
- package/models/components/location.d.ts.map +0 -1
- package/models/components/location.js.map +0 -1
- package/models/components/v1accountleaderboardpreviewrequestbody.d.ts +0 -110
- package/models/components/v1accountleaderboardpreviewrequestbody.d.ts.map +0 -1
- package/models/components/v1accountleaderboardpreviewrequestbody.js +0 -90
- package/models/components/v1accountleaderboardpreviewrequestbody.js.map +0 -1
- package/models/components/v1accountleaderboardpreviewresponsebody.d.ts +0 -38
- package/models/components/v1accountleaderboardpreviewresponsebody.d.ts.map +0 -1
- package/models/components/v1accountleaderboardpreviewresponsebody.js +0 -63
- package/models/components/v1accountleaderboardpreviewresponsebody.js.map +0 -1
- package/models/operations/accountv1leaderboardpreview.d.ts +0 -31
- package/models/operations/accountv1leaderboardpreview.d.ts.map +0 -1
- package/models/operations/accountv1leaderboardpreview.js +0 -66
- package/models/operations/accountv1leaderboardpreview.js.map +0 -1
- package/src/funcs/accountAccountV1LeaderboardPreview.ts +0 -130
- package/src/funcs/leaderboardAccountV1LeaderboardPreview.ts +0 -130
- package/src/models/components/location.ts +0 -62
- package/src/models/components/v1accountleaderboardpreviewrequestbody.ts +0 -110
- package/src/models/components/v1accountleaderboardpreviewresponsebody.ts +0 -73
- package/src/models/operations/accountv1leaderboardpreview.ts +0 -74
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,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,qBAAa,SAAU,SAAQ,SAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,WAAW,CAAC,CAAa;IACjC,IAAI,UAAU,IAAI,UAAU,CAE3B;IAED,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,SAAS,CAAC,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IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,OAAO,CAAC,KAAK,CAAC,CAAO;IACrB,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,OAAO,CAAC,IAAI,CAAC,CAAM;IACnB,IAAI,GAAG,IAAI,GAAG,CAEb;IAED,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,OAAO,CAAC,YAAY,CAAC,CAAc;IACnC,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;CACF"}
|
package/sdk/sdk.js
CHANGED
|
@@ -46,10 +46,6 @@ class SteamSets extends sdks_js_1.ClientSDK {
|
|
|
46
46
|
var _a;
|
|
47
47
|
return ((_a = this._public) !== null && _a !== void 0 ? _a : (this._public = new public_js_1.Public(this._options)));
|
|
48
48
|
}
|
|
49
|
-
get leaderboard() {
|
|
50
|
-
var _a;
|
|
51
|
-
return ((_a = this._leaderboard) !== null && _a !== void 0 ? _a : (this._leaderboard = new leaderboard_js_1.Leaderboard(this._options)));
|
|
52
|
-
}
|
|
53
49
|
get app() {
|
|
54
50
|
var _a;
|
|
55
51
|
return ((_a = this._app) !== null && _a !== void 0 ? _a : (this._app = new app_js_1.App(this._options)));
|
|
@@ -58,6 +54,10 @@ class SteamSets extends sdks_js_1.ClientSDK {
|
|
|
58
54
|
var _a;
|
|
59
55
|
return ((_a = this._badge) !== null && _a !== void 0 ? _a : (this._badge = new badge_js_1.Badge(this._options)));
|
|
60
56
|
}
|
|
57
|
+
get leaderboard() {
|
|
58
|
+
var _a;
|
|
59
|
+
return ((_a = this._leaderboard) !== null && _a !== void 0 ? _a : (this._leaderboard = new leaderboard_js_1.Leaderboard(this._options)));
|
|
60
|
+
}
|
|
61
61
|
get liveness() {
|
|
62
62
|
var _a;
|
|
63
63
|
return ((_a = this._liveness) !== null && _a !== void 0 ? _a : (this._liveness = new liveness_js_1.Liveness(this._options)));
|
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,qCAA+B;AAC/B,yCAAmC;AACnC,mDAA6C;AAC7C,uCAAiC;AACjC,iDAA2C;AAC3C,qDAA+C;AAC/C,+CAAyC;AACzC,+CAAyC;AACzC,2CAAqC;AACrC,6CAAuC;AACvC,+CAAyC;AAEzC,MAAa,SAAU,SAAQ,mBAAS;IAEtC,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,UAAU;;QACZ,OAAO,OAAC,IAAI,CAAC,WAAW,oCAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,0BAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAGD,IAAI,SAAS;;QACX,OAAO,OAAC,IAAI,CAAC,UAAU,oCAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAGD,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD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AAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,QAAQ;;QACV,OAAO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;CACF;AA5DD,8BA4DC"}
|
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.11.
|
|
58
|
+
sdkVersion: "0.11.17",
|
|
59
59
|
genVersion: "2.438.3",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 0.11.
|
|
61
|
+
"speakeasy-sdk/typescript 0.11.17 2.438.3 1.0.0 @steamsets/client-ts",
|
|
62
62
|
} as const;
|
|
@@ -24,11 +24,29 @@ import {
|
|
|
24
24
|
Image$outboundSchema,
|
|
25
25
|
} from "./image.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
27
|
+
LeaderboardCity,
|
|
28
|
+
LeaderboardCity$inboundSchema,
|
|
29
|
+
LeaderboardCity$Outbound,
|
|
30
|
+
LeaderboardCity$outboundSchema,
|
|
31
|
+
} from "./leaderboardcity.js";
|
|
32
|
+
import {
|
|
33
|
+
LeaderboardCountry,
|
|
34
|
+
LeaderboardCountry$inboundSchema,
|
|
35
|
+
LeaderboardCountry$Outbound,
|
|
36
|
+
LeaderboardCountry$outboundSchema,
|
|
37
|
+
} from "./leaderboardcountry.js";
|
|
38
|
+
import {
|
|
39
|
+
LeaderboardRegion,
|
|
40
|
+
LeaderboardRegion$inboundSchema,
|
|
41
|
+
LeaderboardRegion$Outbound,
|
|
42
|
+
LeaderboardRegion$outboundSchema,
|
|
43
|
+
} from "./leaderboardregion.js";
|
|
44
|
+
import {
|
|
45
|
+
LeaderboardState,
|
|
46
|
+
LeaderboardState$inboundSchema,
|
|
47
|
+
LeaderboardState$Outbound,
|
|
48
|
+
LeaderboardState$outboundSchema,
|
|
49
|
+
} from "./leaderboardstate.js";
|
|
32
50
|
import {
|
|
33
51
|
Role,
|
|
34
52
|
Role$inboundSchema,
|
|
@@ -144,7 +162,7 @@ export type AccountInfoBody = {
|
|
|
144
162
|
* The time the bans were updated
|
|
145
163
|
*/
|
|
146
164
|
bansUpdatedAt: Date | null;
|
|
147
|
-
city?:
|
|
165
|
+
city?: LeaderboardCity | null | undefined;
|
|
148
166
|
/**
|
|
149
167
|
* If the account is community banned or not
|
|
150
168
|
*/
|
|
@@ -153,7 +171,7 @@ export type AccountInfoBody = {
|
|
|
153
171
|
* The connections of the account
|
|
154
172
|
*/
|
|
155
173
|
connections: Array<Connection> | null;
|
|
156
|
-
country?:
|
|
174
|
+
country?: LeaderboardCountry | null | undefined;
|
|
157
175
|
/**
|
|
158
176
|
* The time the account was created
|
|
159
177
|
*/
|
|
@@ -246,12 +264,12 @@ export type AccountInfoBody = {
|
|
|
246
264
|
* The privacy of the account
|
|
247
265
|
*/
|
|
248
266
|
privacy: Privacy;
|
|
249
|
-
region?:
|
|
267
|
+
region?: LeaderboardRegion | null | undefined;
|
|
250
268
|
/**
|
|
251
269
|
* The roles of the account
|
|
252
270
|
*/
|
|
253
271
|
roles: Array<Role> | null;
|
|
254
|
-
state?:
|
|
272
|
+
state?: LeaderboardState | null | undefined;
|
|
255
273
|
/**
|
|
256
274
|
* The steam id
|
|
257
275
|
*/
|
|
@@ -374,10 +392,10 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
374
392
|
bansUpdatedAt: z.nullable(
|
|
375
393
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
376
394
|
),
|
|
377
|
-
city: z.nullable(
|
|
395
|
+
city: z.nullable(LeaderboardCity$inboundSchema).optional(),
|
|
378
396
|
communityBan: z.boolean(),
|
|
379
397
|
connections: z.nullable(z.array(Connection$inboundSchema)),
|
|
380
|
-
country: z.nullable(
|
|
398
|
+
country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
|
|
381
399
|
createdAt: z.nullable(
|
|
382
400
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
383
401
|
),
|
|
@@ -407,9 +425,9 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
407
425
|
pointsGiven: z.number().int(),
|
|
408
426
|
pointsReceived: z.number().int(),
|
|
409
427
|
privacy: Privacy$inboundSchema,
|
|
410
|
-
region: z.nullable(
|
|
428
|
+
region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
|
|
411
429
|
roles: z.nullable(z.array(Role$inboundSchema)),
|
|
412
|
-
state: z.nullable(
|
|
430
|
+
state: z.nullable(LeaderboardState$inboundSchema).optional(),
|
|
413
431
|
steamId: z.string(),
|
|
414
432
|
steamSetsScore: z.number().int(),
|
|
415
433
|
steamSetsVanity: z.string(),
|
|
@@ -445,10 +463,10 @@ export type AccountInfoBody$Outbound = {
|
|
|
445
463
|
badgesUpdatedAt: string | null;
|
|
446
464
|
bans: number;
|
|
447
465
|
bansUpdatedAt: string | null;
|
|
448
|
-
city?:
|
|
466
|
+
city?: LeaderboardCity$Outbound | null | undefined;
|
|
449
467
|
communityBan: boolean;
|
|
450
468
|
connections: Array<Connection$Outbound> | null;
|
|
451
|
-
country?:
|
|
469
|
+
country?: LeaderboardCountry$Outbound | null | undefined;
|
|
452
470
|
createdAt: string | null;
|
|
453
471
|
currentBestRanks: Array<BestLeaderboardRank$Outbound> | null;
|
|
454
472
|
currentRanks: Array<BestLeaderboardRank$Outbound> | null;
|
|
@@ -472,9 +490,9 @@ export type AccountInfoBody$Outbound = {
|
|
|
472
490
|
pointsGiven: number;
|
|
473
491
|
pointsReceived: number;
|
|
474
492
|
privacy: string;
|
|
475
|
-
region?:
|
|
493
|
+
region?: LeaderboardRegion$Outbound | null | undefined;
|
|
476
494
|
roles: Array<Role$Outbound> | null;
|
|
477
|
-
state?:
|
|
495
|
+
state?: LeaderboardState$Outbound | null | undefined;
|
|
478
496
|
steamId: string;
|
|
479
497
|
steamSetsScore: number;
|
|
480
498
|
steamSetsVanity: string;
|
|
@@ -508,10 +526,10 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
508
526
|
badgesUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
509
527
|
bans: z.number().int(),
|
|
510
528
|
bansUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
511
|
-
city: z.nullable(
|
|
529
|
+
city: z.nullable(LeaderboardCity$outboundSchema).optional(),
|
|
512
530
|
communityBan: z.boolean(),
|
|
513
531
|
connections: z.nullable(z.array(Connection$outboundSchema)),
|
|
514
|
-
country: z.nullable(
|
|
532
|
+
country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
|
|
515
533
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
516
534
|
currentBestRanks: z.nullable(z.array(BestLeaderboardRank$outboundSchema)),
|
|
517
535
|
currentRanks: z.nullable(z.array(BestLeaderboardRank$outboundSchema)),
|
|
@@ -535,9 +553,9 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
535
553
|
pointsGiven: z.number().int(),
|
|
536
554
|
pointsReceived: z.number().int(),
|
|
537
555
|
privacy: Privacy$outboundSchema,
|
|
538
|
-
region: z.nullable(
|
|
556
|
+
region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
|
|
539
557
|
roles: z.nullable(z.array(Role$outboundSchema)),
|
|
540
|
-
state: z.nullable(
|
|
558
|
+
state: z.nullable(LeaderboardState$outboundSchema).optional(),
|
|
541
559
|
steamId: z.string(),
|
|
542
560
|
steamSetsScore: z.number().int(),
|
|
543
561
|
steamSetsVanity: z.string(),
|
|
@@ -22,7 +22,10 @@ export * from "./idstruct.js";
|
|
|
22
22
|
export * from "./image.js";
|
|
23
23
|
export * from "./leaderboardaccount.js";
|
|
24
24
|
export * from "./leaderboardaccountbadgeinfo.js";
|
|
25
|
-
export * from "./
|
|
25
|
+
export * from "./leaderboardcity.js";
|
|
26
|
+
export * from "./leaderboardcountry.js";
|
|
27
|
+
export * from "./leaderboardregion.js";
|
|
28
|
+
export * from "./leaderboardstate.js";
|
|
26
29
|
export * from "./loginrequestbody.js";
|
|
27
30
|
export * from "./region.js";
|
|
28
31
|
export * from "./resource.js";
|
|
@@ -47,8 +50,6 @@ export * from "./v1accountleaderboardaccount.js";
|
|
|
47
50
|
export * from "./v1accountleaderboardappsearch.js";
|
|
48
51
|
export * from "./v1accountleaderboardbadgesearch.js";
|
|
49
52
|
export * from "./v1accountleaderboardhistoryresponsebody.js";
|
|
50
|
-
export * from "./v1accountleaderboardpreviewrequestbody.js";
|
|
51
|
-
export * from "./v1accountleaderboardpreviewresponsebody.js";
|
|
52
53
|
export * from "./v1accountleaderboardrequestbody.js";
|
|
53
54
|
export * from "./v1accountleaderboardresponsebody.js";
|
|
54
55
|
export * from "./v1accountplaytimedatapoint.js";
|
|
@@ -4,11 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
7
|
+
LeaderboardCity,
|
|
8
|
+
LeaderboardCity$inboundSchema,
|
|
9
|
+
LeaderboardCity$Outbound,
|
|
10
|
+
LeaderboardCity$outboundSchema,
|
|
11
|
+
} from "./leaderboardcity.js";
|
|
12
|
+
import {
|
|
13
|
+
LeaderboardCountry,
|
|
14
|
+
LeaderboardCountry$inboundSchema,
|
|
15
|
+
LeaderboardCountry$Outbound,
|
|
16
|
+
LeaderboardCountry$outboundSchema,
|
|
17
|
+
} from "./leaderboardcountry.js";
|
|
18
|
+
import {
|
|
19
|
+
LeaderboardRegion,
|
|
20
|
+
LeaderboardRegion$inboundSchema,
|
|
21
|
+
LeaderboardRegion$Outbound,
|
|
22
|
+
LeaderboardRegion$outboundSchema,
|
|
23
|
+
} from "./leaderboardregion.js";
|
|
24
|
+
import {
|
|
25
|
+
LeaderboardState,
|
|
26
|
+
LeaderboardState$inboundSchema,
|
|
27
|
+
LeaderboardState$Outbound,
|
|
28
|
+
LeaderboardState$outboundSchema,
|
|
29
|
+
} from "./leaderboardstate.js";
|
|
12
30
|
import {
|
|
13
31
|
Role,
|
|
14
32
|
Role$inboundSchema,
|
|
@@ -49,8 +67,8 @@ export type LeaderboardAccount = {
|
|
|
49
67
|
* The number of bans
|
|
50
68
|
*/
|
|
51
69
|
bans: number;
|
|
52
|
-
city?:
|
|
53
|
-
country?:
|
|
70
|
+
city?: LeaderboardCity | null | undefined;
|
|
71
|
+
country?: LeaderboardCountry | null | undefined;
|
|
54
72
|
/**
|
|
55
73
|
* The time the account was created
|
|
56
74
|
*/
|
|
@@ -115,12 +133,12 @@ export type LeaderboardAccount = {
|
|
|
115
133
|
* The privacy of the account
|
|
116
134
|
*/
|
|
117
135
|
privacy: string;
|
|
118
|
-
region?:
|
|
136
|
+
region?: LeaderboardRegion | null | undefined;
|
|
119
137
|
/**
|
|
120
138
|
* The roles of the account
|
|
121
139
|
*/
|
|
122
140
|
roles: Array<Role> | null;
|
|
123
|
-
state?:
|
|
141
|
+
state?: LeaderboardState | null | undefined;
|
|
124
142
|
/**
|
|
125
143
|
* The steam id
|
|
126
144
|
*/
|
|
@@ -161,8 +179,8 @@ export const LeaderboardAccount$inboundSchema: z.ZodType<
|
|
|
161
179
|
awardsReceived: z.number().int(),
|
|
162
180
|
badges: z.number().int(),
|
|
163
181
|
bans: z.number().int(),
|
|
164
|
-
city: z.nullable(
|
|
165
|
-
country: z.nullable(
|
|
182
|
+
city: z.nullable(LeaderboardCity$inboundSchema).optional(),
|
|
183
|
+
country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
|
|
166
184
|
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
167
185
|
economyBan: z.string(),
|
|
168
186
|
foilBadgeCost: z.number().int(),
|
|
@@ -179,9 +197,9 @@ export const LeaderboardAccount$inboundSchema: z.ZodType<
|
|
|
179
197
|
pointsGiven: z.number().int(),
|
|
180
198
|
pointsReceived: z.number().int(),
|
|
181
199
|
privacy: z.string(),
|
|
182
|
-
region: z.nullable(
|
|
200
|
+
region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
|
|
183
201
|
roles: z.nullable(z.array(Role$inboundSchema)),
|
|
184
|
-
state: z.nullable(
|
|
202
|
+
state: z.nullable(LeaderboardState$inboundSchema).optional(),
|
|
185
203
|
steamId: z.string(),
|
|
186
204
|
steamSetsScore: z.number().int(),
|
|
187
205
|
steamSetsVanity: z.string(),
|
|
@@ -200,8 +218,8 @@ export type LeaderboardAccount$Outbound = {
|
|
|
200
218
|
awardsReceived: number;
|
|
201
219
|
badges: number;
|
|
202
220
|
bans: number;
|
|
203
|
-
city?:
|
|
204
|
-
country?:
|
|
221
|
+
city?: LeaderboardCity$Outbound | null | undefined;
|
|
222
|
+
country?: LeaderboardCountry$Outbound | null | undefined;
|
|
205
223
|
createdAt: string;
|
|
206
224
|
economyBan: string;
|
|
207
225
|
foilBadgeCost: number;
|
|
@@ -218,9 +236,9 @@ export type LeaderboardAccount$Outbound = {
|
|
|
218
236
|
pointsGiven: number;
|
|
219
237
|
pointsReceived: number;
|
|
220
238
|
privacy: string;
|
|
221
|
-
region?:
|
|
239
|
+
region?: LeaderboardRegion$Outbound | null | undefined;
|
|
222
240
|
roles: Array<Role$Outbound> | null;
|
|
223
|
-
state?:
|
|
241
|
+
state?: LeaderboardState$Outbound | null | undefined;
|
|
224
242
|
steamId: string;
|
|
225
243
|
steamSetsScore: number;
|
|
226
244
|
steamSetsVanity: string;
|
|
@@ -243,8 +261,8 @@ export const LeaderboardAccount$outboundSchema: z.ZodType<
|
|
|
243
261
|
awardsReceived: z.number().int(),
|
|
244
262
|
badges: z.number().int(),
|
|
245
263
|
bans: z.number().int(),
|
|
246
|
-
city: z.nullable(
|
|
247
|
-
country: z.nullable(
|
|
264
|
+
city: z.nullable(LeaderboardCity$outboundSchema).optional(),
|
|
265
|
+
country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
|
|
248
266
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
249
267
|
economyBan: z.string(),
|
|
250
268
|
foilBadgeCost: z.number().int(),
|
|
@@ -261,9 +279,9 @@ export const LeaderboardAccount$outboundSchema: z.ZodType<
|
|
|
261
279
|
pointsGiven: z.number().int(),
|
|
262
280
|
pointsReceived: z.number().int(),
|
|
263
281
|
privacy: z.string(),
|
|
264
|
-
region: z.nullable(
|
|
282
|
+
region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
|
|
265
283
|
roles: z.nullable(z.array(Role$outboundSchema)),
|
|
266
|
-
state: z.nullable(
|
|
284
|
+
state: z.nullable(LeaderboardState$outboundSchema).optional(),
|
|
267
285
|
steamId: z.string(),
|
|
268
286
|
steamSetsScore: z.number().int(),
|
|
269
287
|
steamSetsVanity: z.string(),
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type LeaderboardCity = {
|
|
8
|
+
/**
|
|
9
|
+
* The id of the city
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the city
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const LeaderboardCity$inboundSchema: z.ZodType<
|
|
20
|
+
LeaderboardCity,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.number().int(),
|
|
25
|
+
name: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type LeaderboardCity$Outbound = {
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const LeaderboardCity$outboundSchema: z.ZodType<
|
|
36
|
+
LeaderboardCity$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
LeaderboardCity
|
|
39
|
+
> = z.object({
|
|
40
|
+
id: z.number().int(),
|
|
41
|
+
name: z.string(),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace LeaderboardCity$ {
|
|
49
|
+
/** @deprecated use `LeaderboardCity$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = LeaderboardCity$inboundSchema;
|
|
51
|
+
/** @deprecated use `LeaderboardCity$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = LeaderboardCity$outboundSchema;
|
|
53
|
+
/** @deprecated use `LeaderboardCity$Outbound` instead. */
|
|
54
|
+
export type Outbound = LeaderboardCity$Outbound;
|
|
55
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type LeaderboardCountry = {
|
|
8
|
+
/**
|
|
9
|
+
* The code of the country
|
|
10
|
+
*/
|
|
11
|
+
code?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The id of the country
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* The name of the country
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const LeaderboardCountry$inboundSchema: z.ZodType<
|
|
24
|
+
LeaderboardCountry,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
code: z.string().optional(),
|
|
29
|
+
id: z.number().int(),
|
|
30
|
+
name: z.string(),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type LeaderboardCountry$Outbound = {
|
|
35
|
+
code?: string | undefined;
|
|
36
|
+
id: number;
|
|
37
|
+
name: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const LeaderboardCountry$outboundSchema: z.ZodType<
|
|
42
|
+
LeaderboardCountry$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
LeaderboardCountry
|
|
45
|
+
> = z.object({
|
|
46
|
+
code: z.string().optional(),
|
|
47
|
+
id: z.number().int(),
|
|
48
|
+
name: z.string(),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
+
*/
|
|
55
|
+
export namespace LeaderboardCountry$ {
|
|
56
|
+
/** @deprecated use `LeaderboardCountry$inboundSchema` instead. */
|
|
57
|
+
export const inboundSchema = LeaderboardCountry$inboundSchema;
|
|
58
|
+
/** @deprecated use `LeaderboardCountry$outboundSchema` instead. */
|
|
59
|
+
export const outboundSchema = LeaderboardCountry$outboundSchema;
|
|
60
|
+
/** @deprecated use `LeaderboardCountry$Outbound` instead. */
|
|
61
|
+
export type Outbound = LeaderboardCountry$Outbound;
|
|
62
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type LeaderboardRegion = {
|
|
8
|
+
/**
|
|
9
|
+
* The id of the region
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the region
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const LeaderboardRegion$inboundSchema: z.ZodType<
|
|
20
|
+
LeaderboardRegion,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.number().int(),
|
|
25
|
+
name: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type LeaderboardRegion$Outbound = {
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const LeaderboardRegion$outboundSchema: z.ZodType<
|
|
36
|
+
LeaderboardRegion$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
LeaderboardRegion
|
|
39
|
+
> = z.object({
|
|
40
|
+
id: z.number().int(),
|
|
41
|
+
name: z.string(),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace LeaderboardRegion$ {
|
|
49
|
+
/** @deprecated use `LeaderboardRegion$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = LeaderboardRegion$inboundSchema;
|
|
51
|
+
/** @deprecated use `LeaderboardRegion$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = LeaderboardRegion$outboundSchema;
|
|
53
|
+
/** @deprecated use `LeaderboardRegion$Outbound` instead. */
|
|
54
|
+
export type Outbound = LeaderboardRegion$Outbound;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type LeaderboardState = {
|
|
8
|
+
/**
|
|
9
|
+
* The id of the state
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the state
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const LeaderboardState$inboundSchema: z.ZodType<
|
|
20
|
+
LeaderboardState,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.number().int(),
|
|
25
|
+
name: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type LeaderboardState$Outbound = {
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const LeaderboardState$outboundSchema: z.ZodType<
|
|
36
|
+
LeaderboardState$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
LeaderboardState
|
|
39
|
+
> = z.object({
|
|
40
|
+
id: z.number().int(),
|
|
41
|
+
name: z.string(),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace LeaderboardState$ {
|
|
49
|
+
/** @deprecated use `LeaderboardState$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = LeaderboardState$inboundSchema;
|
|
51
|
+
/** @deprecated use `LeaderboardState$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = LeaderboardState$outboundSchema;
|
|
53
|
+
/** @deprecated use `LeaderboardState$Outbound` instead. */
|
|
54
|
+
export type Outbound = LeaderboardState$Outbound;
|
|
55
|
+
}
|