@steamsets/client-ts 0.11.11 → 0.11.13
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 -0
- package/docs/sdks/data/README.md +0 -158
- package/docs/sdks/public/README.md +2 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/index.d.ts +3 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -3
- package/models/components/index.js.map +1 -1
- package/models/components/resource.d.ts +0 -3
- package/models/components/resource.d.ts.map +1 -1
- package/models/components/resource.js +0 -1
- package/models/components/resource.js.map +1 -1
- package/models/components/{accountbadgemostxpdatapoint.d.ts → v1accountbadgemostxpdatapoint.d.ts} +12 -12
- package/models/components/v1accountbadgemostxpdatapoint.d.ts.map +1 -0
- package/models/components/{accountbadgemostxpdatapoint.js → v1accountbadgemostxpdatapoint.js} +11 -11
- package/models/components/v1accountbadgemostxpdatapoint.js.map +1 -0
- package/models/components/v1accountbadgescarcitydatapoint.d.ts +68 -0
- package/models/components/v1accountbadgescarcitydatapoint.d.ts.map +1 -0
- package/models/components/{accountbadgescarcitydatapoint.js → v1accountbadgescarcitydatapoint.js} +11 -11
- package/models/components/v1accountbadgescarcitydatapoint.js.map +1 -0
- package/models/components/v1accountdatapointsresponsebody.d.ts +9 -9
- package/models/components/v1accountdatapointsresponsebody.d.ts.map +1 -1
- package/models/components/v1accountdatapointsresponsebody.js +9 -9
- package/models/components/v1accountdatapointsresponsebody.js.map +1 -1
- package/models/components/v1accountplaytimedatapoint.d.ts +43 -0
- package/models/components/v1accountplaytimedatapoint.d.ts.map +1 -0
- package/models/components/{accountplaytimedatapoint.js → v1accountplaytimedatapoint.js} +11 -11
- package/models/components/v1accountplaytimedatapoint.js.map +1 -0
- package/models/components/v1accountqueuerequestbody.d.ts +5 -0
- package/models/components/v1accountqueuerequestbody.d.ts.map +1 -1
- package/models/components/v1accountqueuerequestbody.js +2 -0
- package/models/components/v1accountqueuerequestbody.js.map +1 -1
- package/package.json +1 -1
- package/sdk/data.d.ts +0 -8
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +0 -14
- package/sdk/data.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/index.ts +3 -3
- package/src/models/components/resource.ts +0 -1
- package/src/models/components/{accountbadgemostxpdatapoint.ts → v1accountbadgemostxpdatapoint.ts} +14 -14
- package/src/models/components/{accountbadgescarcitydatapoint.ts → v1accountbadgescarcitydatapoint.ts} +14 -14
- package/src/models/components/v1accountdatapointsresponsebody.ts +27 -27
- package/src/models/components/{accountplaytimedatapoint.ts → v1accountplaytimedatapoint.ts} +14 -14
- package/src/models/components/v1accountqueuerequestbody.ts +7 -0
- package/src/sdk/data.ts +0 -30
- package/funcs/dataAccountV1Queue.d.ts +0 -14
- package/funcs/dataAccountV1Queue.d.ts.map +0 -1
- package/funcs/dataAccountV1Queue.js +0 -96
- package/funcs/dataAccountV1Queue.js.map +0 -1
- package/funcs/dataAppV1Queue.d.ts +0 -14
- package/funcs/dataAppV1Queue.d.ts.map +0 -1
- package/funcs/dataAppV1Queue.js +0 -96
- package/funcs/dataAppV1Queue.js.map +0 -1
- package/models/components/accountbadgemostxpdatapoint.d.ts.map +0 -1
- package/models/components/accountbadgemostxpdatapoint.js.map +0 -1
- package/models/components/accountbadgescarcitydatapoint.d.ts +0 -68
- package/models/components/accountbadgescarcitydatapoint.d.ts.map +0 -1
- package/models/components/accountbadgescarcitydatapoint.js.map +0 -1
- package/models/components/accountplaytimedatapoint.d.ts +0 -43
- package/models/components/accountplaytimedatapoint.d.ts.map +0 -1
- package/models/components/accountplaytimedatapoint.js.map +0 -1
- package/src/funcs/dataAccountV1Queue.ts +0 -125
- package/src/funcs/dataAppV1Queue.ts +0 -125
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { V1AccountBadgeMostXpDataPoint, V1AccountBadgeMostXpDataPoint$Outbound } from "./v1accountbadgemostxpdatapoint.js";
|
|
3
|
+
import { V1AccountBadgeScarcityDataPoint, V1AccountBadgeScarcityDataPoint$Outbound } from "./v1accountbadgescarcitydatapoint.js";
|
|
4
|
+
import { V1AccountPlaytimeDataPoint, V1AccountPlaytimeDataPoint$Outbound } from "./v1accountplaytimedatapoint.js";
|
|
5
5
|
export type V1AccountDataPointsResponseBody = {
|
|
6
6
|
/**
|
|
7
7
|
* A URL to the JSON Schema for this object.
|
|
8
8
|
*/
|
|
9
9
|
dollarSchema?: string | undefined;
|
|
10
|
-
mostXp: Array<
|
|
11
|
-
playtime: Array<
|
|
12
|
-
scarcity: Array<
|
|
10
|
+
mostXp: Array<V1AccountBadgeMostXpDataPoint> | null;
|
|
11
|
+
playtime: Array<V1AccountPlaytimeDataPoint> | null;
|
|
12
|
+
scarcity: Array<V1AccountBadgeScarcityDataPoint> | null;
|
|
13
13
|
xp: {
|
|
14
14
|
[k: string]: {
|
|
15
15
|
[k: string]: number;
|
|
@@ -21,9 +21,9 @@ export declare const V1AccountDataPointsResponseBody$inboundSchema: z.ZodType<V1
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export type V1AccountDataPointsResponseBody$Outbound = {
|
|
23
23
|
$schema?: string | undefined;
|
|
24
|
-
mostXp: Array<
|
|
25
|
-
playtime: Array<
|
|
26
|
-
scarcity: Array<
|
|
24
|
+
mostXp: Array<V1AccountBadgeMostXpDataPoint$Outbound> | null;
|
|
25
|
+
playtime: Array<V1AccountPlaytimeDataPoint$Outbound> | null;
|
|
26
|
+
scarcity: Array<V1AccountBadgeScarcityDataPoint$Outbound> | null;
|
|
27
27
|
xp: {
|
|
28
28
|
[k: string]: {
|
|
29
29
|
[k: string]: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1accountdatapointsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountdatapointsresponsebody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"v1accountdatapointsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountdatapointsresponsebody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,+BAA+B,EAE/B,wCAAwC,EAEzC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,MAAM,EAAE,KAAK,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC;IACpD,QAAQ,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IACnD,QAAQ,EAAE,KAAK,CAAC,+BAA+B,CAAC,GAAG,IAAI,CAAC;IACxD,EAAE,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,KAAK,CAAC,sCAAsC,CAAC,GAAG,IAAI,CAAC;IAC7D,QAAQ,EAAE,KAAK,CAAC,mCAAmC,CAAC,GAAG,IAAI,CAAC;IAC5D,QAAQ,EAAE,KAAK,CAAC,wCAAwC,CAAC,GAAG,IAAI,CAAC;IACjE,EAAE,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAW/B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa,mEAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc,oGAAiD,CAAC;IAC7E,0EAA0E;IAC1E,KAAY,QAAQ,GAAG,wCAAwC,CAAC;CACjE"}
|
|
@@ -29,15 +29,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.V1AccountDataPointsResponseBody$ = exports.V1AccountDataPointsResponseBody$outboundSchema = exports.V1AccountDataPointsResponseBody$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
32
|
+
const v1accountbadgemostxpdatapoint_js_1 = require("./v1accountbadgemostxpdatapoint.js");
|
|
33
|
+
const v1accountbadgescarcitydatapoint_js_1 = require("./v1accountbadgescarcitydatapoint.js");
|
|
34
|
+
const v1accountplaytimedatapoint_js_1 = require("./v1accountplaytimedatapoint.js");
|
|
35
35
|
/** @internal */
|
|
36
36
|
exports.V1AccountDataPointsResponseBody$inboundSchema = z.object({
|
|
37
37
|
$schema: z.string().optional(),
|
|
38
|
-
mostXp: z.nullable(z.array(
|
|
39
|
-
playtime: z.nullable(z.array(
|
|
40
|
-
scarcity: z.nullable(z.array(
|
|
38
|
+
mostXp: z.nullable(z.array(v1accountbadgemostxpdatapoint_js_1.V1AccountBadgeMostXpDataPoint$inboundSchema)),
|
|
39
|
+
playtime: z.nullable(z.array(v1accountplaytimedatapoint_js_1.V1AccountPlaytimeDataPoint$inboundSchema)),
|
|
40
|
+
scarcity: z.nullable(z.array(v1accountbadgescarcitydatapoint_js_1.V1AccountBadgeScarcityDataPoint$inboundSchema)),
|
|
41
41
|
xp: z.record(z.record(z.number().int())),
|
|
42
42
|
}).transform((v) => {
|
|
43
43
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -47,9 +47,9 @@ exports.V1AccountDataPointsResponseBody$inboundSchema = z.object({
|
|
|
47
47
|
/** @internal */
|
|
48
48
|
exports.V1AccountDataPointsResponseBody$outboundSchema = z.object({
|
|
49
49
|
dollarSchema: z.string().optional(),
|
|
50
|
-
mostXp: z.nullable(z.array(
|
|
51
|
-
playtime: z.nullable(z.array(
|
|
52
|
-
scarcity: z.nullable(z.array(
|
|
50
|
+
mostXp: z.nullable(z.array(v1accountbadgemostxpdatapoint_js_1.V1AccountBadgeMostXpDataPoint$outboundSchema)),
|
|
51
|
+
playtime: z.nullable(z.array(v1accountplaytimedatapoint_js_1.V1AccountPlaytimeDataPoint$outboundSchema)),
|
|
52
|
+
scarcity: z.nullable(z.array(v1accountbadgescarcitydatapoint_js_1.V1AccountBadgeScarcityDataPoint$outboundSchema)),
|
|
53
53
|
xp: z.record(z.record(z.number().int())),
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1accountdatapointsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountdatapointsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,
|
|
1
|
+
{"version":3,"file":"v1accountdatapointsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountdatapointsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,yFAK4C;AAC5C,6FAK8C;AAC9C,mFAKyC;AAazC,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,8EAA2C,CAAC,CAAC;IACxE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wEAAwC,CAAC,CAAC;IACvE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kFAA6C,CAAC,CAAC;IAC5E,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;CACzC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,cAAc;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,+EAA4C,CAAC,CAAC;IACzE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,yEAAyC,CAAC,CAAC;IACxE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,mFAA8C,CAAC,CAAC;IAC7E,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;CACzC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,SAAS;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gCAAgC,CAOhD;AAPD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAG/E,CAAC,EAPgB,gCAAgC,gDAAhC,gCAAgC,QAOhD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type V1AccountPlaytimeDataPoint = {
|
|
3
|
+
/**
|
|
4
|
+
* The app id
|
|
5
|
+
*/
|
|
6
|
+
appId: number;
|
|
7
|
+
/**
|
|
8
|
+
* The image of the app
|
|
9
|
+
*/
|
|
10
|
+
image: string;
|
|
11
|
+
/**
|
|
12
|
+
* The name of the app
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* The playtime of the app
|
|
17
|
+
*/
|
|
18
|
+
playtime: number;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const V1AccountPlaytimeDataPoint$inboundSchema: z.ZodType<V1AccountPlaytimeDataPoint, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type V1AccountPlaytimeDataPoint$Outbound = {
|
|
24
|
+
appId: number;
|
|
25
|
+
image: string;
|
|
26
|
+
name: string;
|
|
27
|
+
playtime: number;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const V1AccountPlaytimeDataPoint$outboundSchema: z.ZodType<V1AccountPlaytimeDataPoint$Outbound, z.ZodTypeDef, V1AccountPlaytimeDataPoint>;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
+
*/
|
|
35
|
+
export declare namespace V1AccountPlaytimeDataPoint$ {
|
|
36
|
+
/** @deprecated use `V1AccountPlaytimeDataPoint$inboundSchema` instead. */
|
|
37
|
+
const inboundSchema: z.ZodType<V1AccountPlaytimeDataPoint, z.ZodTypeDef, unknown>;
|
|
38
|
+
/** @deprecated use `V1AccountPlaytimeDataPoint$outboundSchema` instead. */
|
|
39
|
+
const outboundSchema: z.ZodType<V1AccountPlaytimeDataPoint$Outbound, z.ZodTypeDef, V1AccountPlaytimeDataPoint>;
|
|
40
|
+
/** @deprecated use `V1AccountPlaytimeDataPoint$Outbound` instead. */
|
|
41
|
+
type Outbound = V1AccountPlaytimeDataPoint$Outbound;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=v1accountplaytimedatapoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountplaytimedatapoint.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountplaytimedatapoint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAM1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D"}
|
|
@@ -26,17 +26,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.V1AccountPlaytimeDataPoint$ = exports.V1AccountPlaytimeDataPoint$outboundSchema = exports.V1AccountPlaytimeDataPoint$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
/** @internal */
|
|
32
|
-
exports.
|
|
32
|
+
exports.V1AccountPlaytimeDataPoint$inboundSchema = z.object({
|
|
33
33
|
appId: z.number().int(),
|
|
34
34
|
image: z.string(),
|
|
35
35
|
name: z.string(),
|
|
36
36
|
playtime: z.number().int(),
|
|
37
37
|
});
|
|
38
38
|
/** @internal */
|
|
39
|
-
exports.
|
|
39
|
+
exports.V1AccountPlaytimeDataPoint$outboundSchema = z.object({
|
|
40
40
|
appId: z.number().int(),
|
|
41
41
|
image: z.string(),
|
|
42
42
|
name: z.string(),
|
|
@@ -46,11 +46,11 @@ exports.AccountPlaytimeDataPoint$outboundSchema = z.object({
|
|
|
46
46
|
* @internal
|
|
47
47
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
48
|
*/
|
|
49
|
-
var
|
|
50
|
-
(function (
|
|
51
|
-
/** @deprecated use `
|
|
52
|
-
|
|
53
|
-
/** @deprecated use `
|
|
54
|
-
|
|
55
|
-
})(
|
|
56
|
-
//# sourceMappingURL=
|
|
49
|
+
var V1AccountPlaytimeDataPoint$;
|
|
50
|
+
(function (V1AccountPlaytimeDataPoint$) {
|
|
51
|
+
/** @deprecated use `V1AccountPlaytimeDataPoint$inboundSchema` instead. */
|
|
52
|
+
V1AccountPlaytimeDataPoint$.inboundSchema = exports.V1AccountPlaytimeDataPoint$inboundSchema;
|
|
53
|
+
/** @deprecated use `V1AccountPlaytimeDataPoint$outboundSchema` instead. */
|
|
54
|
+
V1AccountPlaytimeDataPoint$.outboundSchema = exports.V1AccountPlaytimeDataPoint$outboundSchema;
|
|
55
|
+
})(V1AccountPlaytimeDataPoint$ || (exports.V1AccountPlaytimeDataPoint$ = V1AccountPlaytimeDataPoint$ = {}));
|
|
56
|
+
//# sourceMappingURL=v1accountplaytimedatapoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountplaytimedatapoint.js","sourceRoot":"","sources":["../../src/models/components/v1accountplaytimedatapoint.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAqBzB,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC3B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
|
|
@@ -7,6 +7,10 @@ export type V1AccountQueueRequestBody = {
|
|
|
7
7
|
*/
|
|
8
8
|
force: boolean;
|
|
9
9
|
id?: IDStruct | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* The steam id of the account if it doesn't exist in the database
|
|
12
|
+
*/
|
|
13
|
+
steamId?: string | null | undefined;
|
|
10
14
|
vanity?: VanityStruct | undefined;
|
|
11
15
|
};
|
|
12
16
|
/** @internal */
|
|
@@ -15,6 +19,7 @@ export declare const V1AccountQueueRequestBody$inboundSchema: z.ZodType<V1Accoun
|
|
|
15
19
|
export type V1AccountQueueRequestBody$Outbound = {
|
|
16
20
|
force: boolean;
|
|
17
21
|
id?: IDStruct$Outbound | undefined;
|
|
22
|
+
steamId?: string | null | undefined;
|
|
18
23
|
vanity?: VanityStruct$Outbound | undefined;
|
|
19
24
|
};
|
|
20
25
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1accountqueuerequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountqueuerequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"v1accountqueuerequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountqueuerequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAMzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D"}
|
|
@@ -34,12 +34,14 @@ const vanitystruct_js_1 = require("./vanitystruct.js");
|
|
|
34
34
|
exports.V1AccountQueueRequestBody$inboundSchema = z.object({
|
|
35
35
|
force: z.boolean(),
|
|
36
36
|
id: idstruct_js_1.IDStruct$inboundSchema.optional(),
|
|
37
|
+
steamId: z.nullable(z.string()).optional(),
|
|
37
38
|
vanity: vanitystruct_js_1.VanityStruct$inboundSchema.optional(),
|
|
38
39
|
});
|
|
39
40
|
/** @internal */
|
|
40
41
|
exports.V1AccountQueueRequestBody$outboundSchema = z.object({
|
|
41
42
|
force: z.boolean(),
|
|
42
43
|
id: idstruct_js_1.IDStruct$outboundSchema.optional(),
|
|
44
|
+
steamId: z.nullable(z.string()).optional(),
|
|
43
45
|
vanity: vanitystruct_js_1.VanityStruct$outboundSchema.optional(),
|
|
44
46
|
});
|
|
45
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1accountqueuerequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1accountqueuerequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,+CAKuB;AACvB,uDAK2B;
|
|
1
|
+
{"version":3,"file":"v1accountqueuerequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1accountqueuerequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,+CAKuB;AACvB,uDAK2B;AAe3B,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,EAAE,EAAE,oCAAsB,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,4CAA0B,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,EAAE,EAAE,qCAAuB,CAAC,QAAQ,EAAE;IACtC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,6CAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
|
package/package.json
CHANGED
package/sdk/data.d.ts
CHANGED
|
@@ -30,13 +30,5 @@ export declare class Data extends ClientSDK {
|
|
|
30
30
|
* Get Staff Members and their info
|
|
31
31
|
*/
|
|
32
32
|
accountV1GetStaff(options?: RequestOptions): Promise<operations.AccountV1GetStaffResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Queue an account for processing
|
|
35
|
-
*/
|
|
36
|
-
accountV1Queue(request: components.V1AccountQueueRequestBody, options?: RequestOptions): Promise<operations.AccountV1QueueResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* Queue a app for processing
|
|
39
|
-
*/
|
|
40
|
-
appV1Queue(request: components.AppSearch, options?: RequestOptions): Promise<operations.AppV1QueueResponse>;
|
|
41
33
|
}
|
|
42
34
|
//# sourceMappingURL=data.d.ts.map
|
package/sdk/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/sdk/data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/sdk/data.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,IAAK,SAAQ,SAAS;IACjC;;OAEG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;OAEG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAQrD;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAQlD;;OAEG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;OAEG;IACG,8BAA8B,CAClC,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAQ7D;;OAEG;IACG,iBAAiB,CACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;CAMjD"}
|
package/sdk/data.js
CHANGED
|
@@ -11,8 +11,6 @@ const dataAccountV1GetFriends_js_1 = require("../funcs/dataAccountV1GetFriends.j
|
|
|
11
11
|
const dataAccountV1GetInfo_js_1 = require("../funcs/dataAccountV1GetInfo.js");
|
|
12
12
|
const dataAccountV1GetLeaderboardHistory_js_1 = require("../funcs/dataAccountV1GetLeaderboardHistory.js");
|
|
13
13
|
const dataAccountV1GetStaff_js_1 = require("../funcs/dataAccountV1GetStaff.js");
|
|
14
|
-
const dataAccountV1Queue_js_1 = require("../funcs/dataAccountV1Queue.js");
|
|
15
|
-
const dataAppV1Queue_js_1 = require("../funcs/dataAppV1Queue.js");
|
|
16
14
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
17
15
|
const fp_js_1 = require("../types/fp.js");
|
|
18
16
|
class Data extends sdks_js_1.ClientSDK {
|
|
@@ -58,18 +56,6 @@ class Data extends sdks_js_1.ClientSDK {
|
|
|
58
56
|
async accountV1GetStaff(options) {
|
|
59
57
|
return (0, fp_js_1.unwrapAsync)((0, dataAccountV1GetStaff_js_1.dataAccountV1GetStaff)(this, options));
|
|
60
58
|
}
|
|
61
|
-
/**
|
|
62
|
-
* Queue an account for processing
|
|
63
|
-
*/
|
|
64
|
-
async accountV1Queue(request, options) {
|
|
65
|
-
return (0, fp_js_1.unwrapAsync)((0, dataAccountV1Queue_js_1.dataAccountV1Queue)(this, request, options));
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Queue a app for processing
|
|
69
|
-
*/
|
|
70
|
-
async appV1Queue(request, options) {
|
|
71
|
-
return (0, fp_js_1.unwrapAsync)((0, dataAppV1Queue_js_1.dataAppV1Queue)(this, request, options));
|
|
72
|
-
}
|
|
73
59
|
}
|
|
74
60
|
exports.Data = Data;
|
|
75
61
|
//# sourceMappingURL=data.js.map
|
package/sdk/data.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../src/sdk/data.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,kFAA4E;AAC5E,0FAAoF;AACpF,oFAA8E;AAC9E,8EAAwE;AACxE,0GAAoG;AACpG,gFAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../src/sdk/data.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,kFAA4E;AAC5E,0FAAoF;AACpF,oFAA8E;AAC9E,8EAAwE;AACxE,0GAAoG;AACpG,gFAA0E;AAC1E,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,IAAK,SAAQ,mBAAS;IACjC;;OAEG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kDAAsB,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,8BAA8B,CAClC,OAAiC,EACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EACnD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAhGD,oBAgGC"}
|
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.
|
|
59
|
-
genVersion: "2.
|
|
58
|
+
sdkVersion: "0.11.13",
|
|
59
|
+
genVersion: "2.438.3",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 0.11.
|
|
61
|
+
"speakeasy-sdk/typescript 0.11.13 2.438.3 1.0.0 @steamsets/client-ts",
|
|
62
62
|
} as const;
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./accountbadgemostxpdatapoint.js";
|
|
6
|
-
export * from "./accountbadgescarcitydatapoint.js";
|
|
7
5
|
export * from "./accountinfobody.js";
|
|
8
6
|
export * from "./accountleaderboardhistory.js";
|
|
9
|
-
export * from "./accountplaytimedatapoint.js";
|
|
10
7
|
export * from "./accountsearch.js";
|
|
11
8
|
export * from "./accountsearchidstruct.js";
|
|
12
9
|
export * from "./accountsearchvanitystruct.js";
|
|
@@ -37,6 +34,8 @@ export * from "./state.js";
|
|
|
37
34
|
export * from "./v1accountapp.js";
|
|
38
35
|
export * from "./v1accountappbadge.js";
|
|
39
36
|
export * from "./v1accountbadgecompletion.js";
|
|
37
|
+
export * from "./v1accountbadgemostxpdatapoint.js";
|
|
38
|
+
export * from "./v1accountbadgescarcitydatapoint.js";
|
|
40
39
|
export * from "./v1accountdatapointsresponsebody.js";
|
|
41
40
|
export * from "./v1accountdeveloperappdeleterequestbody.js";
|
|
42
41
|
export * from "./v1accountdeveloperappdeleteresponsebody.js";
|
|
@@ -52,6 +51,7 @@ export * from "./v1accountleaderboardpreviewrequestbody.js";
|
|
|
52
51
|
export * from "./v1accountleaderboardpreviewresponsebody.js";
|
|
53
52
|
export * from "./v1accountleaderboardrequestbody.js";
|
|
54
53
|
export * from "./v1accountleaderboardresponsebody.js";
|
|
54
|
+
export * from "./v1accountplaytimedatapoint.js";
|
|
55
55
|
export * from "./v1accountqueuerequestbody.js";
|
|
56
56
|
export * from "./v1accountsappsresponsebody.js";
|
|
57
57
|
export * from "./v1appbadge.js";
|
|
@@ -22,7 +22,6 @@ export const ResourceResource = {
|
|
|
22
22
|
SocialLinks: "social_links",
|
|
23
23
|
Theme: "theme",
|
|
24
24
|
VanityLength: "vanity_length",
|
|
25
|
-
SocialLinkAmount: "social_link_amount",
|
|
26
25
|
DeveloperApps: "developer_apps",
|
|
27
26
|
} as const;
|
|
28
27
|
export type ResourceResource = ClosedEnum<typeof ResourceResource>;
|
package/src/models/components/{accountbadgemostxpdatapoint.ts → v1accountbadgemostxpdatapoint.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
|
|
7
|
-
export type
|
|
7
|
+
export type V1AccountBadgeMostXpDataPoint = {
|
|
8
8
|
/**
|
|
9
9
|
* The app id
|
|
10
10
|
*/
|
|
@@ -56,8 +56,8 @@ export type AccountBadgeMostXpDataPoint = {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
/** @internal */
|
|
59
|
-
export const
|
|
60
|
-
|
|
59
|
+
export const V1AccountBadgeMostXpDataPoint$inboundSchema: z.ZodType<
|
|
60
|
+
V1AccountBadgeMostXpDataPoint,
|
|
61
61
|
z.ZodTypeDef,
|
|
62
62
|
unknown
|
|
63
63
|
> = z.object({
|
|
@@ -78,7 +78,7 @@ export const AccountBadgeMostXpDataPoint$inboundSchema: z.ZodType<
|
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
/** @internal */
|
|
81
|
-
export type
|
|
81
|
+
export type V1AccountBadgeMostXpDataPoint$Outbound = {
|
|
82
82
|
appId: number;
|
|
83
83
|
badgeCompletedAt: string;
|
|
84
84
|
badgeId: string;
|
|
@@ -94,10 +94,10 @@ export type AccountBadgeMostXpDataPoint$Outbound = {
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
/** @internal */
|
|
97
|
-
export const
|
|
98
|
-
|
|
97
|
+
export const V1AccountBadgeMostXpDataPoint$outboundSchema: z.ZodType<
|
|
98
|
+
V1AccountBadgeMostXpDataPoint$Outbound,
|
|
99
99
|
z.ZodTypeDef,
|
|
100
|
-
|
|
100
|
+
V1AccountBadgeMostXpDataPoint
|
|
101
101
|
> = z.object({
|
|
102
102
|
appId: z.number().int(),
|
|
103
103
|
badgeCompletedAt: z.date().transform(v => v.toISOString()),
|
|
@@ -117,11 +117,11 @@ export const AccountBadgeMostXpDataPoint$outboundSchema: z.ZodType<
|
|
|
117
117
|
* @internal
|
|
118
118
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
119
|
*/
|
|
120
|
-
export namespace
|
|
121
|
-
/** @deprecated use `
|
|
122
|
-
export const inboundSchema =
|
|
123
|
-
/** @deprecated use `
|
|
124
|
-
export const outboundSchema =
|
|
125
|
-
/** @deprecated use `
|
|
126
|
-
export type Outbound =
|
|
120
|
+
export namespace V1AccountBadgeMostXpDataPoint$ {
|
|
121
|
+
/** @deprecated use `V1AccountBadgeMostXpDataPoint$inboundSchema` instead. */
|
|
122
|
+
export const inboundSchema = V1AccountBadgeMostXpDataPoint$inboundSchema;
|
|
123
|
+
/** @deprecated use `V1AccountBadgeMostXpDataPoint$outboundSchema` instead. */
|
|
124
|
+
export const outboundSchema = V1AccountBadgeMostXpDataPoint$outboundSchema;
|
|
125
|
+
/** @deprecated use `V1AccountBadgeMostXpDataPoint$Outbound` instead. */
|
|
126
|
+
export type Outbound = V1AccountBadgeMostXpDataPoint$Outbound;
|
|
127
127
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
|
|
7
|
-
export type
|
|
7
|
+
export type V1AccountBadgeScarcityDataPoint = {
|
|
8
8
|
/**
|
|
9
9
|
* The app id
|
|
10
10
|
*/
|
|
@@ -44,8 +44,8 @@ export type AccountBadgeScarcityDataPoint = {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** @internal */
|
|
47
|
-
export const
|
|
48
|
-
|
|
47
|
+
export const V1AccountBadgeScarcityDataPoint$inboundSchema: z.ZodType<
|
|
48
|
+
V1AccountBadgeScarcityDataPoint,
|
|
49
49
|
z.ZodTypeDef,
|
|
50
50
|
unknown
|
|
51
51
|
> = z.object({
|
|
@@ -61,7 +61,7 @@ export const AccountBadgeScarcityDataPoint$inboundSchema: z.ZodType<
|
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
/** @internal */
|
|
64
|
-
export type
|
|
64
|
+
export type V1AccountBadgeScarcityDataPoint$Outbound = {
|
|
65
65
|
appId: number;
|
|
66
66
|
badgeId: string;
|
|
67
67
|
badgeImage: string;
|
|
@@ -74,10 +74,10 @@ export type AccountBadgeScarcityDataPoint$Outbound = {
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
/** @internal */
|
|
77
|
-
export const
|
|
78
|
-
|
|
77
|
+
export const V1AccountBadgeScarcityDataPoint$outboundSchema: z.ZodType<
|
|
78
|
+
V1AccountBadgeScarcityDataPoint$Outbound,
|
|
79
79
|
z.ZodTypeDef,
|
|
80
|
-
|
|
80
|
+
V1AccountBadgeScarcityDataPoint
|
|
81
81
|
> = z.object({
|
|
82
82
|
appId: z.number().int(),
|
|
83
83
|
badgeId: z.string(),
|
|
@@ -94,11 +94,11 @@ export const AccountBadgeScarcityDataPoint$outboundSchema: z.ZodType<
|
|
|
94
94
|
* @internal
|
|
95
95
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
96
|
*/
|
|
97
|
-
export namespace
|
|
98
|
-
/** @deprecated use `
|
|
99
|
-
export const inboundSchema =
|
|
100
|
-
/** @deprecated use `
|
|
101
|
-
export const outboundSchema =
|
|
102
|
-
/** @deprecated use `
|
|
103
|
-
export type Outbound =
|
|
97
|
+
export namespace V1AccountBadgeScarcityDataPoint$ {
|
|
98
|
+
/** @deprecated use `V1AccountBadgeScarcityDataPoint$inboundSchema` instead. */
|
|
99
|
+
export const inboundSchema = V1AccountBadgeScarcityDataPoint$inboundSchema;
|
|
100
|
+
/** @deprecated use `V1AccountBadgeScarcityDataPoint$outboundSchema` instead. */
|
|
101
|
+
export const outboundSchema = V1AccountBadgeScarcityDataPoint$outboundSchema;
|
|
102
|
+
/** @deprecated use `V1AccountBadgeScarcityDataPoint$Outbound` instead. */
|
|
103
|
+
export type Outbound = V1AccountBadgeScarcityDataPoint$Outbound;
|
|
104
104
|
}
|
|
@@ -5,32 +5,32 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
8
|
+
V1AccountBadgeMostXpDataPoint,
|
|
9
|
+
V1AccountBadgeMostXpDataPoint$inboundSchema,
|
|
10
|
+
V1AccountBadgeMostXpDataPoint$Outbound,
|
|
11
|
+
V1AccountBadgeMostXpDataPoint$outboundSchema,
|
|
12
|
+
} from "./v1accountbadgemostxpdatapoint.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
14
|
+
V1AccountBadgeScarcityDataPoint,
|
|
15
|
+
V1AccountBadgeScarcityDataPoint$inboundSchema,
|
|
16
|
+
V1AccountBadgeScarcityDataPoint$Outbound,
|
|
17
|
+
V1AccountBadgeScarcityDataPoint$outboundSchema,
|
|
18
|
+
} from "./v1accountbadgescarcitydatapoint.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
20
|
+
V1AccountPlaytimeDataPoint,
|
|
21
|
+
V1AccountPlaytimeDataPoint$inboundSchema,
|
|
22
|
+
V1AccountPlaytimeDataPoint$Outbound,
|
|
23
|
+
V1AccountPlaytimeDataPoint$outboundSchema,
|
|
24
|
+
} from "./v1accountplaytimedatapoint.js";
|
|
25
25
|
|
|
26
26
|
export type V1AccountDataPointsResponseBody = {
|
|
27
27
|
/**
|
|
28
28
|
* A URL to the JSON Schema for this object.
|
|
29
29
|
*/
|
|
30
30
|
dollarSchema?: string | undefined;
|
|
31
|
-
mostXp: Array<
|
|
32
|
-
playtime: Array<
|
|
33
|
-
scarcity: Array<
|
|
31
|
+
mostXp: Array<V1AccountBadgeMostXpDataPoint> | null;
|
|
32
|
+
playtime: Array<V1AccountPlaytimeDataPoint> | null;
|
|
33
|
+
scarcity: Array<V1AccountBadgeScarcityDataPoint> | null;
|
|
34
34
|
xp: { [k: string]: { [k: string]: number } };
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -41,9 +41,9 @@ export const V1AccountDataPointsResponseBody$inboundSchema: z.ZodType<
|
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
43
|
$schema: z.string().optional(),
|
|
44
|
-
mostXp: z.nullable(z.array(
|
|
45
|
-
playtime: z.nullable(z.array(
|
|
46
|
-
scarcity: z.nullable(z.array(
|
|
44
|
+
mostXp: z.nullable(z.array(V1AccountBadgeMostXpDataPoint$inboundSchema)),
|
|
45
|
+
playtime: z.nullable(z.array(V1AccountPlaytimeDataPoint$inboundSchema)),
|
|
46
|
+
scarcity: z.nullable(z.array(V1AccountBadgeScarcityDataPoint$inboundSchema)),
|
|
47
47
|
xp: z.record(z.record(z.number().int())),
|
|
48
48
|
}).transform((v) => {
|
|
49
49
|
return remap$(v, {
|
|
@@ -54,9 +54,9 @@ export const V1AccountDataPointsResponseBody$inboundSchema: z.ZodType<
|
|
|
54
54
|
/** @internal */
|
|
55
55
|
export type V1AccountDataPointsResponseBody$Outbound = {
|
|
56
56
|
$schema?: string | undefined;
|
|
57
|
-
mostXp: Array<
|
|
58
|
-
playtime: Array<
|
|
59
|
-
scarcity: Array<
|
|
57
|
+
mostXp: Array<V1AccountBadgeMostXpDataPoint$Outbound> | null;
|
|
58
|
+
playtime: Array<V1AccountPlaytimeDataPoint$Outbound> | null;
|
|
59
|
+
scarcity: Array<V1AccountBadgeScarcityDataPoint$Outbound> | null;
|
|
60
60
|
xp: { [k: string]: { [k: string]: number } };
|
|
61
61
|
};
|
|
62
62
|
|
|
@@ -67,9 +67,9 @@ export const V1AccountDataPointsResponseBody$outboundSchema: z.ZodType<
|
|
|
67
67
|
V1AccountDataPointsResponseBody
|
|
68
68
|
> = z.object({
|
|
69
69
|
dollarSchema: z.string().optional(),
|
|
70
|
-
mostXp: z.nullable(z.array(
|
|
71
|
-
playtime: z.nullable(z.array(
|
|
72
|
-
scarcity: z.nullable(z.array(
|
|
70
|
+
mostXp: z.nullable(z.array(V1AccountBadgeMostXpDataPoint$outboundSchema)),
|
|
71
|
+
playtime: z.nullable(z.array(V1AccountPlaytimeDataPoint$outboundSchema)),
|
|
72
|
+
scarcity: z.nullable(z.array(V1AccountBadgeScarcityDataPoint$outboundSchema)),
|
|
73
73
|
xp: z.record(z.record(z.number().int())),
|
|
74
74
|
}).transform((v) => {
|
|
75
75
|
return remap$(v, {
|