@steamsets/client-ts 0.34.1 → 0.34.2
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/v1appbadge.d.ts +12 -0
- package/models/components/v1appbadge.d.ts.map +1 -1
- package/models/components/v1appbadge.js +3 -0
- package/models/components/v1appbadge.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/v1appbadge.ts +15 -0
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0.0";
|
|
34
|
-
readonly sdkVersion: "0.34.
|
|
35
|
-
readonly genVersion: "2.881.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.34.
|
|
34
|
+
readonly sdkVersion: "0.34.2";
|
|
35
|
+
readonly genVersion: "2.881.17";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.34.2 2.881.17 1.0.0 @steamsets/client-ts";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -29,8 +29,8 @@ function serverURLFromOptions(options) {
|
|
|
29
29
|
exports.SDK_METADATA = {
|
|
30
30
|
language: "typescript",
|
|
31
31
|
openapiDocVersion: "1.0.0",
|
|
32
|
-
sdkVersion: "0.34.
|
|
33
|
-
genVersion: "2.881.
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 0.34.
|
|
32
|
+
sdkVersion: "0.34.2",
|
|
33
|
+
genVersion: "2.881.17",
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 0.34.2 2.881.17 1.0.0 @steamsets/client-ts",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -17,13 +17,25 @@ export type V1AppBadge = {
|
|
|
17
17
|
* The XP the badge gives per level
|
|
18
18
|
*/
|
|
19
19
|
baseXp: number;
|
|
20
|
+
/**
|
|
21
|
+
* Total trading cards Steam defines for this app (per side; foil and normal share the same count)
|
|
22
|
+
*/
|
|
23
|
+
cardCount: number;
|
|
20
24
|
firstCompletion: Date | null;
|
|
21
25
|
highestLevel: number;
|
|
22
26
|
isEvent: boolean;
|
|
23
27
|
isFoil: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the cards needed for this badge are non-marketable on Steam (cannot be bought/sold)
|
|
30
|
+
*/
|
|
31
|
+
isNmc: boolean;
|
|
24
32
|
isSale: boolean;
|
|
25
33
|
lastCompletion: Date | null;
|
|
26
34
|
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether none of the cards for this badge currently have a market listing
|
|
37
|
+
*/
|
|
38
|
+
noListing: boolean;
|
|
27
39
|
/**
|
|
28
40
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
29
41
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1appbadge.d.ts","sourceRoot":"","sources":["../../src/models/components/v1appbadge.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,UAAU,GAAG;IACvB,WAAW,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAA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AC;IAClB,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CA2BP,CAAC;AAEH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -51,13 +51,16 @@ exports.V1AppBadge$inboundSchema = z.object({
|
|
|
51
51
|
badgeImage: z.string(),
|
|
52
52
|
baseLevel: z.number().int(),
|
|
53
53
|
baseXp: z.number().int(),
|
|
54
|
+
cardCount: z.number().int(),
|
|
54
55
|
firstCompletion: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
55
56
|
highestLevel: z.number().int(),
|
|
56
57
|
isEvent: z.boolean(),
|
|
57
58
|
isFoil: z.boolean(),
|
|
59
|
+
isNmc: z.boolean(),
|
|
58
60
|
isSale: z.boolean(),
|
|
59
61
|
lastCompletion: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
60
62
|
name: z.string(),
|
|
63
|
+
noListing: z.boolean(),
|
|
61
64
|
price: z.number().int(),
|
|
62
65
|
scarcity: z.number().int(),
|
|
63
66
|
steamId: z.number().int(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1appbadge.js","sourceRoot":"","sources":["../../src/models/components/v1appbadge.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v1appbadge.js","sourceRoot":"","sources":["../../src/models/components/v1appbadge.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,gDAQC;AA5FD,0CAA4B;AAC5B,qDAAiD;AAGjD,+DAG+B;AA4C/B,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,oDAA8B,CAAC,CAAC,QAAQ,EAAE;IAClE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,eAAe,EAAE,CAAC,CAAC,QAAQ,CACzB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,QAAQ,CACxB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC1B,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -59,8 +59,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
59
59
|
export const SDK_METADATA = {
|
|
60
60
|
language: "typescript",
|
|
61
61
|
openapiDocVersion: "1.0.0",
|
|
62
|
-
sdkVersion: "0.34.
|
|
63
|
-
genVersion: "2.881.
|
|
62
|
+
sdkVersion: "0.34.2",
|
|
63
|
+
genVersion: "2.881.17",
|
|
64
64
|
userAgent:
|
|
65
|
-
"speakeasy-sdk/typescript 0.34.
|
|
65
|
+
"speakeasy-sdk/typescript 0.34.2 2.881.17 1.0.0 @steamsets/client-ts",
|
|
66
66
|
} as const;
|
|
@@ -26,13 +26,25 @@ export type V1AppBadge = {
|
|
|
26
26
|
* The XP the badge gives per level
|
|
27
27
|
*/
|
|
28
28
|
baseXp: number;
|
|
29
|
+
/**
|
|
30
|
+
* Total trading cards Steam defines for this app (per side; foil and normal share the same count)
|
|
31
|
+
*/
|
|
32
|
+
cardCount: number;
|
|
29
33
|
firstCompletion: Date | null;
|
|
30
34
|
highestLevel: number;
|
|
31
35
|
isEvent: boolean;
|
|
32
36
|
isFoil: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the cards needed for this badge are non-marketable on Steam (cannot be bought/sold)
|
|
39
|
+
*/
|
|
40
|
+
isNmc: boolean;
|
|
33
41
|
isSale: boolean;
|
|
34
42
|
lastCompletion: Date | null;
|
|
35
43
|
name: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether none of the cards for this badge currently have a market listing
|
|
46
|
+
*/
|
|
47
|
+
noListing: boolean;
|
|
36
48
|
/**
|
|
37
49
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
50
|
*/
|
|
@@ -55,17 +67,20 @@ export const V1AppBadge$inboundSchema: z.ZodType<
|
|
|
55
67
|
badgeImage: z.string(),
|
|
56
68
|
baseLevel: z.number().int(),
|
|
57
69
|
baseXp: z.number().int(),
|
|
70
|
+
cardCount: z.number().int(),
|
|
58
71
|
firstCompletion: z.nullable(
|
|
59
72
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
60
73
|
),
|
|
61
74
|
highestLevel: z.number().int(),
|
|
62
75
|
isEvent: z.boolean(),
|
|
63
76
|
isFoil: z.boolean(),
|
|
77
|
+
isNmc: z.boolean(),
|
|
64
78
|
isSale: z.boolean(),
|
|
65
79
|
lastCompletion: z.nullable(
|
|
66
80
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
67
81
|
),
|
|
68
82
|
name: z.string(),
|
|
83
|
+
noListing: z.boolean(),
|
|
69
84
|
price: z.number().int(),
|
|
70
85
|
scarcity: z.number().int(),
|
|
71
86
|
steamId: z.number().int(),
|