@steamsets/client-ts 0.22.3 → 0.22.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/docs/sdks/leaderboard/README.md +4 -28
- package/funcs/leaderboardGetAccount.d.ts +1 -1
- package/funcs/leaderboardGetAccount.d.ts.map +1 -1
- package/funcs/leaderboardGetAccount.js +2 -4
- package/funcs/leaderboardGetAccount.js.map +1 -1
- package/funcs/leaderboardGetAccountMeta.d.ts +1 -1
- package/funcs/leaderboardGetAccountMeta.js +2 -2
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/session.d.ts +5 -0
- package/models/components/session.d.ts.map +1 -1
- package/models/components/session.js +2 -0
- package/models/components/session.js.map +1 -1
- package/models/components/v1getsessionbody.d.ts +11 -1
- package/models/components/v1getsessionbody.d.ts.map +1 -1
- package/models/components/v1getsessionbody.js +4 -0
- package/models/components/v1getsessionbody.js.map +1 -1
- package/models/components/v1uploadedimage.d.ts +8 -8
- package/models/components/v1uploadedimage.d.ts.map +1 -1
- package/models/components/v1uploadedimage.js +13 -13
- package/models/components/v1uploadedimage.js.map +1 -1
- package/models/components/vanitystruct.d.ts +8 -8
- package/models/components/vanitystruct.d.ts.map +1 -1
- package/models/components/vanitystruct.js +13 -13
- package/models/components/vanitystruct.js.map +1 -1
- package/models/operations/index.d.ts +2 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/leaderboardv1getaccountleaderboard.d.ts +35 -0
- package/models/operations/leaderboardv1getaccountleaderboard.d.ts.map +1 -0
- package/models/operations/{leaderboardv1getaccount.js → leaderboardv1getaccountleaderboard.js} +17 -17
- package/models/operations/leaderboardv1getaccountleaderboard.js.map +1 -0
- package/models/operations/leaderboardv1getaccountleaderboardmeta.d.ts +35 -0
- package/models/operations/{leaderboardv1getleaderboardaccountmeta.d.ts.map → leaderboardv1getaccountleaderboardmeta.d.ts.map} +1 -1
- package/models/operations/{leaderboardv1getleaderboardaccountmeta.js → leaderboardv1getaccountleaderboardmeta.js} +17 -17
- package/models/operations/{leaderboardv1getleaderboardaccountmeta.js.map → leaderboardv1getaccountleaderboardmeta.js.map} +1 -1
- package/package.json +1 -1
- package/sdk/leaderboard.d.ts +2 -2
- package/sdk/leaderboard.d.ts.map +1 -1
- package/src/funcs/leaderboardGetAccount.ts +9 -7
- package/src/funcs/leaderboardGetAccountMeta.ts +5 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/session.ts +7 -0
- package/src/models/components/v1getsessionbody.ts +15 -1
- package/src/models/components/v1uploadedimage.ts +16 -15
- package/src/models/components/vanitystruct.ts +15 -16
- package/src/models/operations/index.ts +2 -2
- package/src/models/operations/leaderboardv1getaccountleaderboard.ts +101 -0
- package/src/models/operations/{leaderboardv1getleaderboardaccountmeta.ts → leaderboardv1getaccountleaderboardmeta.ts} +23 -23
- package/src/sdk/leaderboard.ts +2 -2
- package/models/operations/leaderboardv1getaccount.d.ts +0 -35
- package/models/operations/leaderboardv1getaccount.d.ts.map +0 -1
- package/models/operations/leaderboardv1getaccount.js.map +0 -1
- package/models/operations/leaderboardv1getleaderboardaccountmeta.d.ts +0 -35
- package/src/models/operations/leaderboardv1getaccount.ts +0 -93
|
@@ -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,oEAAkD;AAClD,2EAAyD;AACzD,2EAAyD;AACzD,wDAAsC;AACtC,kEAAgD;AAChD,0DAAwC;AACxC,8DAA4C;AAC5C,2DAAyC;AACzC,wDAAsC;AACtC,sEAAoD;AACpD,wDAAsC;AACtC,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,2DAAyC;AACzC,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C;AAC7C,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,8EAA4D;AAC5D,uEAAqD;AACrD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mEAAiD;AACjD,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,8DAA4C;AAC5C,0DAAwC;AACxC,uDAAqC;AACrC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,0DAAwC;AACxC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,8DAA4C;AAC5C,kEAAgD;AAChD,2EAAyD;AACzD,oEAAkD;AAClD,2EAAyD;AACzD,2EAAyD;AACzD,wDAAsC;AACtC,kEAAgD;AAChD,0DAAwC;AACxC,8DAA4C;AAC5C,2DAAyC;AACzC,wDAAsC;AACtC,sEAAoD;AACpD,wDAAsC;AACtC,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,2DAAyC;AACzC,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C;AAC7C,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,8EAA4D;AAC5D,uEAAqD;AACrD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mEAAiD;AACjD,yDAAuC;AACvC,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,8DAA4C;AAC5C,0DAAwC;AACxC,uDAAqC;AACrC,qDAAmC;AACnC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,0DAAwC;AACxC,0EAAwD;AACxD,8EAA4D;AAC5D,8DAA4C;AAC5C,6DAA2C;AAC3C,gDAA8B;AAC9B,6DAA2C;AAC3C,uDAAqC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type LeaderboardV1GetAccountLeaderboardResponse = {
|
|
6
|
+
httpMeta: components.HTTPMetadata;
|
|
7
|
+
/**
|
|
8
|
+
* OK
|
|
9
|
+
*/
|
|
10
|
+
v1AccountLeaderboardResponseBody?: components.V1AccountLeaderboardResponseBody | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const LeaderboardV1GetAccountLeaderboardResponse$inboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardResponse, z.ZodTypeDef, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type LeaderboardV1GetAccountLeaderboardResponse$Outbound = {
|
|
16
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
17
|
+
V1AccountLeaderboardResponseBody?: components.V1AccountLeaderboardResponseBody$Outbound | undefined;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const LeaderboardV1GetAccountLeaderboardResponse$outboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetAccountLeaderboardResponse>;
|
|
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 LeaderboardV1GetAccountLeaderboardResponse$ {
|
|
26
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardResponse$inboundSchema` instead. */
|
|
27
|
+
const inboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardResponse, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardResponse$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetAccountLeaderboardResponse>;
|
|
30
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardResponse$Outbound` instead. */
|
|
31
|
+
type Outbound = LeaderboardV1GetAccountLeaderboardResponse$Outbound;
|
|
32
|
+
}
|
|
33
|
+
export declare function leaderboardV1GetAccountLeaderboardResponseToJSON(leaderboardV1GetAccountLeaderboardResponse: LeaderboardV1GetAccountLeaderboardResponse): string;
|
|
34
|
+
export declare function leaderboardV1GetAccountLeaderboardResponseFromJSON(jsonString: string): SafeParseResult<LeaderboardV1GetAccountLeaderboardResponse, SDKValidationError>;
|
|
35
|
+
//# sourceMappingURL=leaderboardv1getaccountleaderboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leaderboardv1getaccountleaderboard.d.ts","sourceRoot":"","sources":["../../src/models/operations/leaderboardv1getaccountleaderboard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,gCAAgC,CAAC,EAC7B,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAUvE,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,mDAAmD,GAAG;IAChE,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,gCAAgC,CAAC,EAC7B,UAAU,CAAC,yCAAyC,GACpD,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,mDAAmD,EACnD,CAAC,CAAC,UAAU,EACZ,0CAA0C,CAU1C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,2CAA2C,CAAC;IAC3D,0FAA0F;IACnF,MAAM,aAAa,8EACgC,CAAC;IAC3D,2FAA2F;IACpF,MAAM,cAAc,0HACgC,CAAC;IAC5D,qFAAqF;IACrF,KAAY,QAAQ,GAAG,mDAAmD,CAAC;CAC5E;AAED,wBAAgB,gDAAgD,CAC9D,0CAA0C,EACxC,0CAA0C,GAC3C,MAAM,CAMR;AAED,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA"}
|
package/models/operations/{leaderboardv1getaccount.js → leaderboardv1getaccountleaderboard.js}
RENAMED
|
@@ -26,15 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.LeaderboardV1GetAccountLeaderboardResponse$ = exports.LeaderboardV1GetAccountLeaderboardResponse$outboundSchema = exports.LeaderboardV1GetAccountLeaderboardResponse$inboundSchema = void 0;
|
|
30
|
+
exports.leaderboardV1GetAccountLeaderboardResponseToJSON = leaderboardV1GetAccountLeaderboardResponseToJSON;
|
|
31
|
+
exports.leaderboardV1GetAccountLeaderboardResponseFromJSON = leaderboardV1GetAccountLeaderboardResponseFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
36
|
/** @internal */
|
|
37
|
-
exports.
|
|
37
|
+
exports.LeaderboardV1GetAccountLeaderboardResponse$inboundSchema = z.object({
|
|
38
38
|
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
39
39
|
V1AccountLeaderboardResponseBody: components
|
|
40
40
|
.V1AccountLeaderboardResponseBody$inboundSchema.optional(),
|
|
@@ -45,7 +45,7 @@ exports.LeaderboardV1GetAccountResponse$inboundSchema = z.object({
|
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
/** @internal */
|
|
48
|
-
exports.
|
|
48
|
+
exports.LeaderboardV1GetAccountLeaderboardResponse$outboundSchema = z.object({
|
|
49
49
|
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
50
50
|
v1AccountLeaderboardResponseBody: components
|
|
51
51
|
.V1AccountLeaderboardResponseBody$outboundSchema.optional(),
|
|
@@ -59,17 +59,17 @@ exports.LeaderboardV1GetAccountResponse$outboundSchema = z.object({
|
|
|
59
59
|
* @internal
|
|
60
60
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
61
|
*/
|
|
62
|
-
var
|
|
63
|
-
(function (
|
|
64
|
-
/** @deprecated use `
|
|
65
|
-
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
|
|
68
|
-
})(
|
|
69
|
-
function
|
|
70
|
-
return JSON.stringify(exports.
|
|
62
|
+
var LeaderboardV1GetAccountLeaderboardResponse$;
|
|
63
|
+
(function (LeaderboardV1GetAccountLeaderboardResponse$) {
|
|
64
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardResponse$inboundSchema` instead. */
|
|
65
|
+
LeaderboardV1GetAccountLeaderboardResponse$.inboundSchema = exports.LeaderboardV1GetAccountLeaderboardResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardResponse$outboundSchema` instead. */
|
|
67
|
+
LeaderboardV1GetAccountLeaderboardResponse$.outboundSchema = exports.LeaderboardV1GetAccountLeaderboardResponse$outboundSchema;
|
|
68
|
+
})(LeaderboardV1GetAccountLeaderboardResponse$ || (exports.LeaderboardV1GetAccountLeaderboardResponse$ = LeaderboardV1GetAccountLeaderboardResponse$ = {}));
|
|
69
|
+
function leaderboardV1GetAccountLeaderboardResponseToJSON(leaderboardV1GetAccountLeaderboardResponse) {
|
|
70
|
+
return JSON.stringify(exports.LeaderboardV1GetAccountLeaderboardResponse$outboundSchema.parse(leaderboardV1GetAccountLeaderboardResponse));
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
72
|
+
function leaderboardV1GetAccountLeaderboardResponseFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.LeaderboardV1GetAccountLeaderboardResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LeaderboardV1GetAccountLeaderboardResponse' from JSON`);
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=
|
|
75
|
+
//# sourceMappingURL=leaderboardv1getaccountleaderboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leaderboardv1getaccountleaderboard.js","sourceRoot":"","sources":["../../src/models/operations/leaderboardv1getaccountleaderboard.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEH,4GASC;AAED,gHAcC;AAhGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAarD,gBAAgB;AACH,QAAA,wDAAwD,GAEjE,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,UAAU,CAAC,0BAA0B;IAC/C,gCAAgC,EAAE,UAAU;SACzC,8CAA8C,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,UAAU;QACtB,kCAAkC,EAAE,kCAAkC;KACvE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUP,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,gCAAgC,EAAE,UAAU;SACzC,+CAA+C,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,gCAAgC,EAAE,kCAAkC;KACrE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,2CAA2C,CAS3D;AATD,WAAiB,2CAA2C;IAC1D,0FAA0F;IAC7E,yDAAa,GACxB,gEAAwD,CAAC;IAC3D,2FAA2F;IAC9E,0DAAc,GACzB,iEAAyD,CAAC;AAG9D,CAAC,EATgB,2CAA2C,2DAA3C,2CAA2C,QAS3D;AAED,SAAgB,gDAAgD,CAC9D,0CAC4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,iEAAyD,CAAC,KAAK,CAC7D,0CAA0C,CAC3C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,kDAAkD,CAChE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,gEAAwD,CAAC,KAAK,CAC5D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,wEAAwE,CACzE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type LeaderboardV1GetAccountLeaderboardMetaResponse = {
|
|
6
|
+
httpMeta: components.HTTPMetadata;
|
|
7
|
+
/**
|
|
8
|
+
* OK
|
|
9
|
+
*/
|
|
10
|
+
v1LeaderboardAccountMetaResponseBody?: components.V1LeaderboardAccountMetaResponseBody | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardMetaResponse, z.ZodTypeDef, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound = {
|
|
16
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
17
|
+
V1LeaderboardAccountMetaResponseBody?: components.V1LeaderboardAccountMetaResponseBody$Outbound | undefined;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetAccountLeaderboardMetaResponse>;
|
|
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 LeaderboardV1GetAccountLeaderboardMetaResponse$ {
|
|
26
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema` instead. */
|
|
27
|
+
const inboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardMetaResponse, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodType<LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetAccountLeaderboardMetaResponse>;
|
|
30
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound` instead. */
|
|
31
|
+
type Outbound = LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound;
|
|
32
|
+
}
|
|
33
|
+
export declare function leaderboardV1GetAccountLeaderboardMetaResponseToJSON(leaderboardV1GetAccountLeaderboardMetaResponse: LeaderboardV1GetAccountLeaderboardMetaResponse): string;
|
|
34
|
+
export declare function leaderboardV1GetAccountLeaderboardMetaResponseFromJSON(jsonString: string): SafeParseResult<LeaderboardV1GetAccountLeaderboardMetaResponse, SDKValidationError>;
|
|
35
|
+
//# sourceMappingURL=leaderboardv1getaccountleaderboardmeta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"leaderboardv1getaccountleaderboardmeta.d.ts","sourceRoot":"","sources":["../../src/models/operations/leaderboardv1getaccountleaderboardmeta.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,8CAA8C,GAAG;IAC3D,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,oCAAoC,CAAC,EACjC,UAAU,CAAC,oCAAoC,GAC/C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CACP,8CAA8C,EAC9C,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,uDAAuD,GAAG;IACpE,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,oCAAoC,CAAC,EACjC,UAAU,CAAC,6CAA6C,GACxD,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6DAA6D,EACxE,CAAC,CAAC,OAAO,CACP,uDAAuD,EACvD,CAAC,CAAC,UAAU,EACZ,8CAA8C,CAW9C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,+CAA+C,CAAC;IAC/D,8FAA8F;IACvF,MAAM,aAAa,kFACoC,CAAC;IAC/D,+FAA+F;IACxF,MAAM,cAAc,kIACoC,CAAC;IAChE,yFAAyF;IACzF,KAAY,QAAQ,GAClB,uDAAuD,CAAC;CAC3D;AAED,wBAAgB,oDAAoD,CAClE,8CAA8C,EAC5C,8CAA8C,GAC/C,MAAM,CAMR;AAED,wBAAgB,sDAAsD,CACpE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,8CAA8C,EAC9C,kBAAkB,CACnB,CASA"}
|
|
@@ -26,15 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.LeaderboardV1GetAccountLeaderboardMetaResponse$ = exports.LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema = exports.LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema = void 0;
|
|
30
|
+
exports.leaderboardV1GetAccountLeaderboardMetaResponseToJSON = leaderboardV1GetAccountLeaderboardMetaResponseToJSON;
|
|
31
|
+
exports.leaderboardV1GetAccountLeaderboardMetaResponseFromJSON = leaderboardV1GetAccountLeaderboardMetaResponseFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
36
|
/** @internal */
|
|
37
|
-
exports.
|
|
37
|
+
exports.LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema = z.object({
|
|
38
38
|
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
39
39
|
V1LeaderboardAccountMetaResponseBody: components
|
|
40
40
|
.V1LeaderboardAccountMetaResponseBody$inboundSchema.optional(),
|
|
@@ -45,7 +45,7 @@ exports.LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema = z.object(
|
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
/** @internal */
|
|
48
|
-
exports.
|
|
48
|
+
exports.LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema = z.object({
|
|
49
49
|
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
50
50
|
v1LeaderboardAccountMetaResponseBody: components
|
|
51
51
|
.V1LeaderboardAccountMetaResponseBody$outboundSchema.optional(),
|
|
@@ -59,17 +59,17 @@ exports.LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema = z.object
|
|
|
59
59
|
* @internal
|
|
60
60
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
61
|
*/
|
|
62
|
-
var
|
|
63
|
-
(function (
|
|
64
|
-
/** @deprecated use `
|
|
65
|
-
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
|
|
68
|
-
})(
|
|
69
|
-
function
|
|
70
|
-
return JSON.stringify(exports.
|
|
62
|
+
var LeaderboardV1GetAccountLeaderboardMetaResponse$;
|
|
63
|
+
(function (LeaderboardV1GetAccountLeaderboardMetaResponse$) {
|
|
64
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema` instead. */
|
|
65
|
+
LeaderboardV1GetAccountLeaderboardMetaResponse$.inboundSchema = exports.LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema` instead. */
|
|
67
|
+
LeaderboardV1GetAccountLeaderboardMetaResponse$.outboundSchema = exports.LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema;
|
|
68
|
+
})(LeaderboardV1GetAccountLeaderboardMetaResponse$ || (exports.LeaderboardV1GetAccountLeaderboardMetaResponse$ = LeaderboardV1GetAccountLeaderboardMetaResponse$ = {}));
|
|
69
|
+
function leaderboardV1GetAccountLeaderboardMetaResponseToJSON(leaderboardV1GetAccountLeaderboardMetaResponse) {
|
|
70
|
+
return JSON.stringify(exports.LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema.parse(leaderboardV1GetAccountLeaderboardMetaResponse));
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
72
|
+
function leaderboardV1GetAccountLeaderboardMetaResponseFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LeaderboardV1GetAccountLeaderboardMetaResponse' from JSON`);
|
|
74
74
|
}
|
|
75
|
-
//# sourceMappingURL=
|
|
75
|
+
//# sourceMappingURL=leaderboardv1getaccountleaderboardmeta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"leaderboardv1getaccountleaderboardmeta.js","sourceRoot":"","sources":["../../src/models/operations/leaderboardv1getaccountleaderboardmeta.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,oHASC;AAED,wHAcC;AAtGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAarD,gBAAgB;AACH,QAAA,4DAA4D,GAKnE,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,0BAA0B;IAC/C,oCAAoC,EAAE,UAAU;SAC7C,kDAAkD,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,UAAU;QACtB,sCAAsC,EACpC,sCAAsC;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUL,gBAAgB;AACH,QAAA,6DAA6D,GAKpE,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,oCAAoC,EAAE,UAAU;SAC7C,mDAAmD,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,oCAAoC,EAClC,sCAAsC;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,+CAA+C,CAU/D;AAVD,WAAiB,+CAA+C;IAC9D,8FAA8F;IACjF,6DAAa,GACxB,oEAA4D,CAAC;IAC/D,+FAA+F;IAClF,8DAAc,GACzB,qEAA6D,CAAC;AAIlE,CAAC,EAVgB,+CAA+C,+DAA/C,+CAA+C,QAU/D;AAED,SAAgB,oDAAoD,CAClE,8CACgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,qEAA6D,CAAC,KAAK,CACjE,8CAA8C,CAC/C,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,sDAAsD,CACpE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,oEAA4D,CAAC,KAAK,CAChE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,4EAA4E,CAC7E,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/sdk/leaderboard.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { Badges } from "./badges.js";
|
|
|
5
5
|
export declare class Leaderboard extends ClientSDK {
|
|
6
6
|
private _badges?;
|
|
7
7
|
get badges(): Badges;
|
|
8
|
-
getAccount(request: components.V1AccountLeaderboardRequestBody, options?: RequestOptions): Promise<operations.
|
|
9
|
-
getAccountMeta(request: components.V1LeaderboardAccountMetaRequestBody, options?: RequestOptions): Promise<operations.
|
|
8
|
+
getAccount(request: components.V1AccountLeaderboardRequestBody, options?: RequestOptions): Promise<operations.LeaderboardV1GetAccountLeaderboardResponse>;
|
|
9
|
+
getAccountMeta(request: components.V1LeaderboardAccountMetaRequestBody, options?: RequestOptions): Promise<operations.LeaderboardV1GetAccountLeaderboardMetaResponse>;
|
|
10
10
|
getGroup(request: components.V1GroupLeaderboardRequestBody, options?: RequestOptions): Promise<operations.LeaderboardV1GetGroupResponse>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=leaderboard.d.ts.map
|
package/sdk/leaderboard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leaderboard.d.ts","sourceRoot":"","sources":["../src/sdk/leaderboard.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,WAAY,SAAQ,SAAS;IACxC,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAEK,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"leaderboard.d.ts","sourceRoot":"","sources":["../src/sdk/leaderboard.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,WAAY,SAAQ,SAAS;IACxC,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAEK,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0CAA0C,CAAC;IAQ3D,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8CAA8C,CAAC;IAQ/D,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;CAOrD"}
|
|
@@ -31,7 +31,7 @@ export function leaderboardGetAccount(
|
|
|
31
31
|
options?: RequestOptions,
|
|
32
32
|
): APIPromise<
|
|
33
33
|
Result<
|
|
34
|
-
operations.
|
|
34
|
+
operations.LeaderboardV1GetAccountLeaderboardResponse,
|
|
35
35
|
| errors.ErrorModel
|
|
36
36
|
| errors.ErrorModel
|
|
37
37
|
| SDKError
|
|
@@ -57,7 +57,7 @@ async function $do(
|
|
|
57
57
|
): Promise<
|
|
58
58
|
[
|
|
59
59
|
Result<
|
|
60
|
-
operations.
|
|
60
|
+
operations.LeaderboardV1GetAccountLeaderboardResponse,
|
|
61
61
|
| errors.ErrorModel
|
|
62
62
|
| errors.ErrorModel
|
|
63
63
|
| SDKError
|
|
@@ -98,7 +98,7 @@ async function $do(
|
|
|
98
98
|
|
|
99
99
|
const context = {
|
|
100
100
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
101
|
-
operationID: "leaderboard.v1.
|
|
101
|
+
operationID: "leaderboard.v1.getAccountLeaderboard",
|
|
102
102
|
oAuth2Scopes: [],
|
|
103
103
|
|
|
104
104
|
resolvedSecurity: requestSecurity,
|
|
@@ -151,7 +151,7 @@ async function $do(
|
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
const [result] = await M.match<
|
|
154
|
-
operations.
|
|
154
|
+
operations.LeaderboardV1GetAccountLeaderboardResponse,
|
|
155
155
|
| errors.ErrorModel
|
|
156
156
|
| errors.ErrorModel
|
|
157
157
|
| SDKError
|
|
@@ -162,9 +162,11 @@ async function $do(
|
|
|
162
162
|
| RequestTimeoutError
|
|
163
163
|
| ConnectionError
|
|
164
164
|
>(
|
|
165
|
-
M.json(
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
M.json(
|
|
166
|
+
200,
|
|
167
|
+
operations.LeaderboardV1GetAccountLeaderboardResponse$inboundSchema,
|
|
168
|
+
{ key: "V1AccountLeaderboardResponseBody" },
|
|
169
|
+
),
|
|
168
170
|
M.jsonErr([404, 422], errors.ErrorModel$inboundSchema, {
|
|
169
171
|
ctype: "application/problem+json",
|
|
170
172
|
}),
|
|
@@ -31,7 +31,7 @@ export function leaderboardGetAccountMeta(
|
|
|
31
31
|
options?: RequestOptions,
|
|
32
32
|
): APIPromise<
|
|
33
33
|
Result<
|
|
34
|
-
operations.
|
|
34
|
+
operations.LeaderboardV1GetAccountLeaderboardMetaResponse,
|
|
35
35
|
| errors.ErrorModel
|
|
36
36
|
| errors.ErrorModel
|
|
37
37
|
| SDKError
|
|
@@ -57,7 +57,7 @@ async function $do(
|
|
|
57
57
|
): Promise<
|
|
58
58
|
[
|
|
59
59
|
Result<
|
|
60
|
-
operations.
|
|
60
|
+
operations.LeaderboardV1GetAccountLeaderboardMetaResponse,
|
|
61
61
|
| errors.ErrorModel
|
|
62
62
|
| errors.ErrorModel
|
|
63
63
|
| SDKError
|
|
@@ -100,7 +100,7 @@ async function $do(
|
|
|
100
100
|
|
|
101
101
|
const context = {
|
|
102
102
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
103
|
-
operationID: "leaderboard.v1.
|
|
103
|
+
operationID: "leaderboard.v1.getAccountLeaderboardMeta",
|
|
104
104
|
oAuth2Scopes: [],
|
|
105
105
|
|
|
106
106
|
resolvedSecurity: requestSecurity,
|
|
@@ -153,7 +153,7 @@ async function $do(
|
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
const [result] = await M.match<
|
|
156
|
-
operations.
|
|
156
|
+
operations.LeaderboardV1GetAccountLeaderboardMetaResponse,
|
|
157
157
|
| errors.ErrorModel
|
|
158
158
|
| errors.ErrorModel
|
|
159
159
|
| SDKError
|
|
@@ -166,7 +166,7 @@ async function $do(
|
|
|
166
166
|
>(
|
|
167
167
|
M.json(
|
|
168
168
|
200,
|
|
169
|
-
operations.
|
|
169
|
+
operations.LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema,
|
|
170
170
|
{ key: "V1LeaderboardAccountMetaResponseBody" },
|
|
171
171
|
),
|
|
172
172
|
M.jsonErr([404, 422], errors.ErrorModel$inboundSchema, {
|
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.22.
|
|
59
|
-
genVersion: "2.
|
|
58
|
+
sdkVersion: "0.22.4",
|
|
59
|
+
genVersion: "2.556.1",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 0.22.
|
|
61
|
+
"speakeasy-sdk/typescript 0.22.4 2.556.1 1.0.0 @steamsets/client-ts",
|
|
62
62
|
} as const;
|
|
@@ -24,6 +24,10 @@ export type Session = {
|
|
|
24
24
|
* The time the session was last seen
|
|
25
25
|
*/
|
|
26
26
|
lastSeen: Date;
|
|
27
|
+
/**
|
|
28
|
+
* The level of the logged in account on steam
|
|
29
|
+
*/
|
|
30
|
+
level: number;
|
|
27
31
|
/**
|
|
28
32
|
* The session id
|
|
29
33
|
*/
|
|
@@ -45,6 +49,7 @@ export const Session$inboundSchema: z.ZodType<Session, z.ZodTypeDef, unknown> =
|
|
|
45
49
|
),
|
|
46
50
|
ip: z.string(),
|
|
47
51
|
lastSeen: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
52
|
+
level: z.number().int(),
|
|
48
53
|
sessionId: z.string(),
|
|
49
54
|
userAgent: z.string(),
|
|
50
55
|
});
|
|
@@ -55,6 +60,7 @@ export type Session$Outbound = {
|
|
|
55
60
|
expiresAt: string;
|
|
56
61
|
ip: string;
|
|
57
62
|
lastSeen: string;
|
|
63
|
+
level: number;
|
|
58
64
|
sessionId: string;
|
|
59
65
|
userAgent: string;
|
|
60
66
|
};
|
|
@@ -69,6 +75,7 @@ export const Session$outboundSchema: z.ZodType<
|
|
|
69
75
|
expiresAt: z.date().transform(v => v.toISOString()),
|
|
70
76
|
ip: z.string(),
|
|
71
77
|
lastSeen: z.date().transform(v => v.toISOString()),
|
|
78
|
+
level: z.number().int(),
|
|
72
79
|
sessionId: z.string(),
|
|
73
80
|
userAgent: z.string(),
|
|
74
81
|
});
|
|
@@ -40,7 +40,15 @@ export type V1GetSessionBody = {
|
|
|
40
40
|
*/
|
|
41
41
|
avatar: string;
|
|
42
42
|
/**
|
|
43
|
-
* The
|
|
43
|
+
* The email of the account
|
|
44
|
+
*/
|
|
45
|
+
email?: string | null | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The level of the account
|
|
48
|
+
*/
|
|
49
|
+
level: number;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the account
|
|
44
52
|
*/
|
|
45
53
|
name: string;
|
|
46
54
|
/**
|
|
@@ -67,6 +75,8 @@ export const V1GetSessionBody$inboundSchema: z.ZodType<
|
|
|
67
75
|
$schema: z.string().optional(),
|
|
68
76
|
accountId: z.number().int(),
|
|
69
77
|
avatar: z.string(),
|
|
78
|
+
email: z.nullable(z.string()).optional(),
|
|
79
|
+
level: z.number().int(),
|
|
70
80
|
name: z.string(),
|
|
71
81
|
resources: z.nullable(z.array(Resource$inboundSchema)),
|
|
72
82
|
roles: z.nullable(z.array(Role$inboundSchema)),
|
|
@@ -83,6 +93,8 @@ export type V1GetSessionBody$Outbound = {
|
|
|
83
93
|
$schema?: string | undefined;
|
|
84
94
|
accountId: number;
|
|
85
95
|
avatar: string;
|
|
96
|
+
email?: string | null | undefined;
|
|
97
|
+
level: number;
|
|
86
98
|
name: string;
|
|
87
99
|
resources: Array<Resource$Outbound> | null;
|
|
88
100
|
roles: Array<Role$Outbound> | null;
|
|
@@ -99,6 +111,8 @@ export const V1GetSessionBody$outboundSchema: z.ZodType<
|
|
|
99
111
|
dollarSchema: z.string().optional(),
|
|
100
112
|
accountId: z.number().int(),
|
|
101
113
|
avatar: z.string(),
|
|
114
|
+
email: z.nullable(z.string()).optional(),
|
|
115
|
+
level: z.number().int(),
|
|
102
116
|
name: z.string(),
|
|
103
117
|
resources: z.nullable(z.array(Resource$outboundSchema)),
|
|
104
118
|
roles: z.nullable(z.array(Role$outboundSchema)),
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* The Image Type
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const V1UploadedImageType = {
|
|
15
15
|
Avatar: "avatar",
|
|
16
16
|
Background: "background",
|
|
17
17
|
MiniBackground: "mini_background",
|
|
@@ -21,7 +21,7 @@ export const Type = {
|
|
|
21
21
|
/**
|
|
22
22
|
* The Image Type
|
|
23
23
|
*/
|
|
24
|
-
export type
|
|
24
|
+
export type V1UploadedImageType = ClosedEnum<typeof V1UploadedImageType>;
|
|
25
25
|
|
|
26
26
|
export type V1UploadedImage = {
|
|
27
27
|
/**
|
|
@@ -31,27 +31,28 @@ export type V1UploadedImage = {
|
|
|
31
31
|
/**
|
|
32
32
|
* The Image Type
|
|
33
33
|
*/
|
|
34
|
-
type:
|
|
34
|
+
type: V1UploadedImageType;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
/** @internal */
|
|
38
|
-
export const
|
|
39
|
-
|
|
40
|
-
);
|
|
38
|
+
export const V1UploadedImageType$inboundSchema: z.ZodNativeEnum<
|
|
39
|
+
typeof V1UploadedImageType
|
|
40
|
+
> = z.nativeEnum(V1UploadedImageType);
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
43
|
-
export const
|
|
44
|
-
|
|
43
|
+
export const V1UploadedImageType$outboundSchema: z.ZodNativeEnum<
|
|
44
|
+
typeof V1UploadedImageType
|
|
45
|
+
> = V1UploadedImageType$inboundSchema;
|
|
45
46
|
|
|
46
47
|
/**
|
|
47
48
|
* @internal
|
|
48
49
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
50
|
*/
|
|
50
|
-
export namespace
|
|
51
|
-
/** @deprecated use `
|
|
52
|
-
export const inboundSchema =
|
|
53
|
-
/** @deprecated use `
|
|
54
|
-
export const outboundSchema =
|
|
51
|
+
export namespace V1UploadedImageType$ {
|
|
52
|
+
/** @deprecated use `V1UploadedImageType$inboundSchema` instead. */
|
|
53
|
+
export const inboundSchema = V1UploadedImageType$inboundSchema;
|
|
54
|
+
/** @deprecated use `V1UploadedImageType$outboundSchema` instead. */
|
|
55
|
+
export const outboundSchema = V1UploadedImageType$outboundSchema;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
/** @internal */
|
|
@@ -61,7 +62,7 @@ export const V1UploadedImage$inboundSchema: z.ZodType<
|
|
|
61
62
|
unknown
|
|
62
63
|
> = z.object({
|
|
63
64
|
data: z.string(),
|
|
64
|
-
type:
|
|
65
|
+
type: V1UploadedImageType$inboundSchema,
|
|
65
66
|
});
|
|
66
67
|
|
|
67
68
|
/** @internal */
|
|
@@ -77,7 +78,7 @@ export const V1UploadedImage$outboundSchema: z.ZodType<
|
|
|
77
78
|
V1UploadedImage
|
|
78
79
|
> = z.object({
|
|
79
80
|
data: z.string(),
|
|
80
|
-
type:
|
|
81
|
+
type: V1UploadedImageType$outboundSchema,
|
|
81
82
|
});
|
|
82
83
|
|
|
83
84
|
/**
|
|
@@ -11,20 +11,20 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* Which type of vanity to search for
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const Type = {
|
|
15
15
|
Steam: "steam",
|
|
16
16
|
Internal: "internal",
|
|
17
17
|
} as const;
|
|
18
18
|
/**
|
|
19
19
|
* Which type of vanity to search for
|
|
20
20
|
*/
|
|
21
|
-
export type
|
|
21
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
22
22
|
|
|
23
23
|
export type VanityStruct = {
|
|
24
24
|
/**
|
|
25
25
|
* Which type of vanity to search for
|
|
26
26
|
*/
|
|
27
|
-
type:
|
|
27
|
+
type: Type;
|
|
28
28
|
/**
|
|
29
29
|
* Vanity to search for
|
|
30
30
|
*/
|
|
@@ -32,24 +32,23 @@ export type VanityStruct = {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
/** @internal */
|
|
35
|
-
export const
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
36
|
+
Type,
|
|
37
|
+
);
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
40
|
-
export const
|
|
41
|
-
|
|
42
|
-
> = VanityStructType$inboundSchema;
|
|
40
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
41
|
+
Type$inboundSchema;
|
|
43
42
|
|
|
44
43
|
/**
|
|
45
44
|
* @internal
|
|
46
45
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
46
|
*/
|
|
48
|
-
export namespace
|
|
49
|
-
/** @deprecated use `
|
|
50
|
-
export const inboundSchema =
|
|
51
|
-
/** @deprecated use `
|
|
52
|
-
export const outboundSchema =
|
|
47
|
+
export namespace Type$ {
|
|
48
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
49
|
+
export const inboundSchema = Type$inboundSchema;
|
|
50
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
51
|
+
export const outboundSchema = Type$outboundSchema;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
/** @internal */
|
|
@@ -58,7 +57,7 @@ export const VanityStruct$inboundSchema: z.ZodType<
|
|
|
58
57
|
z.ZodTypeDef,
|
|
59
58
|
unknown
|
|
60
59
|
> = z.object({
|
|
61
|
-
type:
|
|
60
|
+
type: Type$inboundSchema,
|
|
62
61
|
value: z.string(),
|
|
63
62
|
});
|
|
64
63
|
|
|
@@ -74,7 +73,7 @@ export const VanityStruct$outboundSchema: z.ZodType<
|
|
|
74
73
|
z.ZodTypeDef,
|
|
75
74
|
VanityStruct
|
|
76
75
|
> = z.object({
|
|
77
|
-
type:
|
|
76
|
+
type: Type$outboundSchema,
|
|
78
77
|
value: z.string(),
|
|
79
78
|
});
|
|
80
79
|
|
|
@@ -50,10 +50,10 @@ export * from "./badgev1searchsuggest.js";
|
|
|
50
50
|
export * from "./badgev1tag.js";
|
|
51
51
|
export * from "./badgev1tags.js";
|
|
52
52
|
export * from "./badgev1tagssuggest.js";
|
|
53
|
-
export * from "./
|
|
53
|
+
export * from "./leaderboardv1getaccountleaderboard.js";
|
|
54
|
+
export * from "./leaderboardv1getaccountleaderboardmeta.js";
|
|
54
55
|
export * from "./leaderboardv1getbadges.js";
|
|
55
56
|
export * from "./leaderboardv1getgroup.js";
|
|
56
|
-
export * from "./leaderboardv1getleaderboardaccountmeta.js";
|
|
57
57
|
export * from "./liveness.js";
|
|
58
58
|
export * from "./locationv1locationget.js";
|
|
59
59
|
export * from "./statsv1statsget.js";
|