@steamsets/client-ts 0.14.9 → 0.14.11
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/admin/README.md +2 -2
- package/docs/sdks/settings/README.md +0 -6
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/badge.d.ts +2 -2
- package/models/components/badge.d.ts.map +1 -1
- package/models/components/badge.js +2 -2
- package/models/components/badge.js.map +1 -1
- package/models/components/resource.d.ts +3 -18
- package/models/components/resource.d.ts.map +1 -1
- package/models/components/resource.js +1 -6
- package/models/components/resource.js.map +1 -1
- package/models/components/v1adminupdateresourcesrequestbody.d.ts +3 -18
- package/models/components/v1adminupdateresourcesrequestbody.d.ts.map +1 -1
- package/models/components/v1adminupdateresourcesrequestbody.js +1 -6
- package/models/components/v1adminupdateresourcesrequestbody.js.map +1 -1
- package/models/components/v1getsettingsbody.d.ts +0 -47
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +1 -29
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/components/v1updatesettingsrequestbody.d.ts +0 -46
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +1 -29
- package/models/components/v1updatesettingsrequestbody.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/badge.ts +4 -4
- package/src/models/components/resource.ts +1 -6
- package/src/models/components/v1adminupdateresourcesrequestbody.ts +1 -6
- package/src/models/components/v1getsettingsbody.ts +0 -54
- package/src/models/components/v1updatesettingsrequestbody.ts +0 -56
|
@@ -262,7 +262,7 @@ async function run() {
|
|
|
262
262
|
],
|
|
263
263
|
resource: [
|
|
264
264
|
"short_link_domain",
|
|
265
|
-
"
|
|
265
|
+
"background",
|
|
266
266
|
],
|
|
267
267
|
});
|
|
268
268
|
|
|
@@ -297,7 +297,7 @@ async function run() {
|
|
|
297
297
|
],
|
|
298
298
|
resource: [
|
|
299
299
|
"short_link_domain",
|
|
300
|
-
"
|
|
300
|
+
"background",
|
|
301
301
|
],
|
|
302
302
|
});
|
|
303
303
|
|
|
@@ -165,13 +165,10 @@ const steamSets = new SteamSets({
|
|
|
165
165
|
async function run() {
|
|
166
166
|
const result = await steamSets.settings.update({
|
|
167
167
|
v1UpdateSettingsRequestBody: {
|
|
168
|
-
color: "#7652c9",
|
|
169
|
-
colors: "#7652c9",
|
|
170
168
|
email: "steamsets@example.com",
|
|
171
169
|
hidden: true,
|
|
172
170
|
language: "en",
|
|
173
171
|
role: "emerald",
|
|
174
|
-
theme: "dark",
|
|
175
172
|
vanity: "flo",
|
|
176
173
|
},
|
|
177
174
|
});
|
|
@@ -200,13 +197,10 @@ const steamSets = new SteamSetsCore({
|
|
|
200
197
|
async function run() {
|
|
201
198
|
const res = await settingsUpdate(steamSets, {
|
|
202
199
|
v1UpdateSettingsRequestBody: {
|
|
203
|
-
color: "#7652c9",
|
|
204
|
-
colors: "#7652c9",
|
|
205
200
|
email: "steamsets@example.com",
|
|
206
201
|
hidden: true,
|
|
207
202
|
language: "en",
|
|
208
203
|
role: "emerald",
|
|
209
|
-
theme: "dark",
|
|
210
204
|
vanity: "flo",
|
|
211
205
|
},
|
|
212
206
|
});
|
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "1.0.0";
|
|
30
|
-
readonly sdkVersion: "0.14.
|
|
31
|
-
readonly genVersion: "2.
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.14.
|
|
30
|
+
readonly sdkVersion: "0.14.11";
|
|
31
|
+
readonly genVersion: "2.486.1";
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.14.11 2.486.1 1.0.0 @steamsets/client-ts";
|
|
33
33
|
};
|
|
34
34
|
//# 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.14.
|
|
33
|
-
genVersion: "2.
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
32
|
+
sdkVersion: "0.14.11",
|
|
33
|
+
genVersion: "2.486.1",
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 0.14.11 2.486.1 1.0.0 @steamsets/client-ts",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAmCH,oDAeC;AA7CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,2BAA2B;IAC3B,uBAAuB;CACf,CAAC;AAsBX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAmCH,oDAeC;AA7CD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,2BAA2B;IAC3B,uBAAuB;CACf,CAAC;AAsBX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,qEAAqE;CAC/D,CAAC"}
|
|
@@ -5,12 +5,12 @@ export type Badge = {
|
|
|
5
5
|
appId: number;
|
|
6
6
|
appImage: string;
|
|
7
7
|
appName: string;
|
|
8
|
-
badgeId: string;
|
|
9
8
|
bookmarks: number;
|
|
10
9
|
colors: Array<string> | null;
|
|
11
10
|
designs: Array<string> | null;
|
|
12
11
|
firstCompletion: number;
|
|
13
12
|
highestLevel: number;
|
|
13
|
+
id: string;
|
|
14
14
|
image: string;
|
|
15
15
|
isEvent: boolean;
|
|
16
16
|
isFoil: boolean;
|
|
@@ -30,12 +30,12 @@ export type Badge$Outbound = {
|
|
|
30
30
|
appId: number;
|
|
31
31
|
appImage: string;
|
|
32
32
|
appName: string;
|
|
33
|
-
badgeId: string;
|
|
34
33
|
bookmarks: number;
|
|
35
34
|
colors: Array<string> | null;
|
|
36
35
|
designs: Array<string> | null;
|
|
37
36
|
firstCompletion: number;
|
|
38
37
|
highestLevel: number;
|
|
38
|
+
id: string;
|
|
39
39
|
image: string;
|
|
40
40
|
isEvent: boolean;
|
|
41
41
|
isFoil: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/models/components/badge.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/models/components/badge.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,M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E,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAC1C,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,KAAK,CAsBL,CAAC;AAEH;;;GAGG;AACH,yBAAiB,MAAM,CAAC;IACtB,qDAAqD;IAC9C,MAAM,aAAa,yCAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc,gDAAuB,CAAC;IACnD,gDAAgD;IAChD,KAAY,QAAQ,GAAG,cAAc,CAAC;CACvC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEhD;AAED,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C"}
|
|
@@ -37,12 +37,12 @@ exports.Badge$inboundSchema = z
|
|
|
37
37
|
appId: z.number().int(),
|
|
38
38
|
appImage: z.string(),
|
|
39
39
|
appName: z.string(),
|
|
40
|
-
badgeId: z.string(),
|
|
41
40
|
bookmarks: z.number().int(),
|
|
42
41
|
colors: z.nullable(z.array(z.string())),
|
|
43
42
|
designs: z.nullable(z.array(z.string())),
|
|
44
43
|
firstCompletion: z.number().int(),
|
|
45
44
|
highestLevel: z.number().int(),
|
|
45
|
+
id: z.string(),
|
|
46
46
|
image: z.string(),
|
|
47
47
|
isEvent: z.boolean(),
|
|
48
48
|
isFoil: z.boolean(),
|
|
@@ -60,12 +60,12 @@ exports.Badge$outboundSchema = z.object({
|
|
|
60
60
|
appId: z.number().int(),
|
|
61
61
|
appImage: z.string(),
|
|
62
62
|
appName: z.string(),
|
|
63
|
-
badgeId: z.string(),
|
|
64
63
|
bookmarks: z.number().int(),
|
|
65
64
|
colors: z.nullable(z.array(z.string())),
|
|
66
65
|
designs: z.nullable(z.array(z.string())),
|
|
67
66
|
firstCompletion: z.number().int(),
|
|
68
67
|
highestLevel: z.number().int(),
|
|
68
|
+
id: z.string(),
|
|
69
69
|
image: z.string(),
|
|
70
70
|
isEvent: z.boolean(),
|
|
71
71
|
isFoil: z.boolean(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/models/components/badge.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,kCAEC;AAED,sCAQC;AAlID,uCAAyB;AACzB,qDAAiD;AA2BjD,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/models/components/badge.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,kCAEC;AAED,sCAQC;AAlID,uCAAyB;AACzB,qDAAiD;AA2BjD,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC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AS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/C,mCAAmC,CACpC,CAAC;AACJ,CAAC"}
|
|
@@ -7,17 +7,12 @@ export declare const ResourceResource: {
|
|
|
7
7
|
readonly AutoRefresh: "auto_refresh";
|
|
8
8
|
readonly AvatarFrame: "avatar_frame";
|
|
9
9
|
readonly Background: "background";
|
|
10
|
-
readonly BetaAccess: "beta_access";
|
|
11
|
-
readonly CustomVanity: "custom_vanity";
|
|
12
10
|
readonly GoToLeaderboardEntry: "go_to_leaderboard_entry";
|
|
13
11
|
readonly MaxLeaderboardEntries: "max_leaderboard_entries";
|
|
14
12
|
readonly MiniBackground: "mini_background";
|
|
15
|
-
readonly AccountColors: "account_colors";
|
|
16
13
|
readonly AccountRefreshRate: "account_refresh_rate";
|
|
17
|
-
readonly SiteColor: "site_color";
|
|
18
14
|
readonly SocialLinks: "social_links";
|
|
19
|
-
readonly
|
|
20
|
-
readonly VanityLength: "vanity_length";
|
|
15
|
+
readonly Vanity: "vanity";
|
|
21
16
|
readonly DeveloperApps: "developer_apps";
|
|
22
17
|
readonly AccountQueues: "account_queues";
|
|
23
18
|
readonly ShortLinkDomain: "short_link_domain";
|
|
@@ -45,17 +40,12 @@ export declare namespace ResourceResource$ {
|
|
|
45
40
|
readonly AutoRefresh: "auto_refresh";
|
|
46
41
|
readonly AvatarFrame: "avatar_frame";
|
|
47
42
|
readonly Background: "background";
|
|
48
|
-
readonly BetaAccess: "beta_access";
|
|
49
|
-
readonly CustomVanity: "custom_vanity";
|
|
50
43
|
readonly GoToLeaderboardEntry: "go_to_leaderboard_entry";
|
|
51
44
|
readonly MaxLeaderboardEntries: "max_leaderboard_entries";
|
|
52
45
|
readonly MiniBackground: "mini_background";
|
|
53
|
-
readonly AccountColors: "account_colors";
|
|
54
46
|
readonly AccountRefreshRate: "account_refresh_rate";
|
|
55
|
-
readonly SiteColor: "site_color";
|
|
56
47
|
readonly SocialLinks: "social_links";
|
|
57
|
-
readonly
|
|
58
|
-
readonly VanityLength: "vanity_length";
|
|
48
|
+
readonly Vanity: "vanity";
|
|
59
49
|
readonly DeveloperApps: "developer_apps";
|
|
60
50
|
readonly AccountQueues: "account_queues";
|
|
61
51
|
readonly ShortLinkDomain: "short_link_domain";
|
|
@@ -66,17 +56,12 @@ export declare namespace ResourceResource$ {
|
|
|
66
56
|
readonly AutoRefresh: "auto_refresh";
|
|
67
57
|
readonly AvatarFrame: "avatar_frame";
|
|
68
58
|
readonly Background: "background";
|
|
69
|
-
readonly BetaAccess: "beta_access";
|
|
70
|
-
readonly CustomVanity: "custom_vanity";
|
|
71
59
|
readonly GoToLeaderboardEntry: "go_to_leaderboard_entry";
|
|
72
60
|
readonly MaxLeaderboardEntries: "max_leaderboard_entries";
|
|
73
61
|
readonly MiniBackground: "mini_background";
|
|
74
|
-
readonly AccountColors: "account_colors";
|
|
75
62
|
readonly AccountRefreshRate: "account_refresh_rate";
|
|
76
|
-
readonly SiteColor: "site_color";
|
|
77
63
|
readonly SocialLinks: "social_links";
|
|
78
|
-
readonly
|
|
79
|
-
readonly VanityLength: "vanity_length";
|
|
64
|
+
readonly Vanity: "vanity";
|
|
80
65
|
readonly DeveloperApps: "developer_apps";
|
|
81
66
|
readonly AccountQueues: "account_queues";
|
|
82
67
|
readonly ShortLinkDomain: "short_link_domain";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../src/models/components/resource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,gBAAgB
|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,EACjB,CAAC,CAAC,UAAU,EACZ,QAAQ,CAIR,CAAC;AAEH;;;GAGG;AACH,yBAAiB,SAAS,CAAC;IACzB,wDAAwD;IACjD,MAAM,aAAa,4CAAyB,CAAC;IACpD,yDAAyD;IAClD,MAAM,cAAc,sDAA0B,CAAC;IACtD,mDAAmD;IACnD,KAAY,QAAQ,GAAG,iBAAiB,CAAC;CAC1C;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEzD;AAED,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
|
|
@@ -36,17 +36,12 @@ exports.ResourceResource = {
|
|
|
36
36
|
AutoRefresh: "auto_refresh",
|
|
37
37
|
AvatarFrame: "avatar_frame",
|
|
38
38
|
Background: "background",
|
|
39
|
-
BetaAccess: "beta_access",
|
|
40
|
-
CustomVanity: "custom_vanity",
|
|
41
39
|
GoToLeaderboardEntry: "go_to_leaderboard_entry",
|
|
42
40
|
MaxLeaderboardEntries: "max_leaderboard_entries",
|
|
43
41
|
MiniBackground: "mini_background",
|
|
44
|
-
AccountColors: "account_colors",
|
|
45
42
|
AccountRefreshRate: "account_refresh_rate",
|
|
46
|
-
SiteColor: "site_color",
|
|
47
43
|
SocialLinks: "social_links",
|
|
48
|
-
|
|
49
|
-
VanityLength: "vanity_length",
|
|
44
|
+
Vanity: "vanity",
|
|
50
45
|
DeveloperApps: "developer_apps",
|
|
51
46
|
AccountQueues: "account_queues",
|
|
52
47
|
ShortLinkDomain: "short_link_domain",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../src/models/components/resource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../src/models/components/resource.ts"],"names":[],"mappings":";AAAA;;GAEG;;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,CAAC;IACpD,yDAAyD;IAC5C,wBAAc,GAAG,+BAAuB,CAAC;AAGxD,CAAC,EAPgB,SAAS,yBAAT,SAAS,QAOzB;AAED,SAAgB,cAAc,CAAC,QAAkB;IAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,+BAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -10,17 +10,12 @@ export declare const V1AdminUpdateResourcesRequestBodyResource: {
|
|
|
10
10
|
readonly AutoRefresh: "auto_refresh";
|
|
11
11
|
readonly AvatarFrame: "avatar_frame";
|
|
12
12
|
readonly Background: "background";
|
|
13
|
-
readonly BetaAccess: "beta_access";
|
|
14
|
-
readonly CustomVanity: "custom_vanity";
|
|
15
13
|
readonly GoToLeaderboardEntry: "go_to_leaderboard_entry";
|
|
16
14
|
readonly MaxLeaderboardEntries: "max_leaderboard_entries";
|
|
17
15
|
readonly MiniBackground: "mini_background";
|
|
18
|
-
readonly AccountColors: "account_colors";
|
|
19
16
|
readonly AccountRefreshRate: "account_refresh_rate";
|
|
20
|
-
readonly SiteColor: "site_color";
|
|
21
17
|
readonly SocialLinks: "social_links";
|
|
22
|
-
readonly
|
|
23
|
-
readonly VanityLength: "vanity_length";
|
|
18
|
+
readonly Vanity: "vanity";
|
|
24
19
|
readonly DeveloperApps: "developer_apps";
|
|
25
20
|
readonly AccountQueues: "account_queues";
|
|
26
21
|
readonly ShortLinkDomain: "short_link_domain";
|
|
@@ -50,17 +45,12 @@ export declare namespace V1AdminUpdateResourcesRequestBodyResource$ {
|
|
|
50
45
|
readonly AutoRefresh: "auto_refresh";
|
|
51
46
|
readonly AvatarFrame: "avatar_frame";
|
|
52
47
|
readonly Background: "background";
|
|
53
|
-
readonly BetaAccess: "beta_access";
|
|
54
|
-
readonly CustomVanity: "custom_vanity";
|
|
55
48
|
readonly GoToLeaderboardEntry: "go_to_leaderboard_entry";
|
|
56
49
|
readonly MaxLeaderboardEntries: "max_leaderboard_entries";
|
|
57
50
|
readonly MiniBackground: "mini_background";
|
|
58
|
-
readonly AccountColors: "account_colors";
|
|
59
51
|
readonly AccountRefreshRate: "account_refresh_rate";
|
|
60
|
-
readonly SiteColor: "site_color";
|
|
61
52
|
readonly SocialLinks: "social_links";
|
|
62
|
-
readonly
|
|
63
|
-
readonly VanityLength: "vanity_length";
|
|
53
|
+
readonly Vanity: "vanity";
|
|
64
54
|
readonly DeveloperApps: "developer_apps";
|
|
65
55
|
readonly AccountQueues: "account_queues";
|
|
66
56
|
readonly ShortLinkDomain: "short_link_domain";
|
|
@@ -71,17 +61,12 @@ export declare namespace V1AdminUpdateResourcesRequestBodyResource$ {
|
|
|
71
61
|
readonly AutoRefresh: "auto_refresh";
|
|
72
62
|
readonly AvatarFrame: "avatar_frame";
|
|
73
63
|
readonly Background: "background";
|
|
74
|
-
readonly BetaAccess: "beta_access";
|
|
75
|
-
readonly CustomVanity: "custom_vanity";
|
|
76
64
|
readonly GoToLeaderboardEntry: "go_to_leaderboard_entry";
|
|
77
65
|
readonly MaxLeaderboardEntries: "max_leaderboard_entries";
|
|
78
66
|
readonly MiniBackground: "mini_background";
|
|
79
|
-
readonly AccountColors: "account_colors";
|
|
80
67
|
readonly AccountRefreshRate: "account_refresh_rate";
|
|
81
|
-
readonly SiteColor: "site_color";
|
|
82
68
|
readonly SocialLinks: "social_links";
|
|
83
|
-
readonly
|
|
84
|
-
readonly VanityLength: "vanity_length";
|
|
69
|
+
readonly Vanity: "vanity";
|
|
85
70
|
readonly DeveloperApps: "developer_apps";
|
|
86
71
|
readonly AccountQueues: "account_queues";
|
|
87
72
|
readonly ShortLinkDomain: "short_link_domain";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1adminupdateresourcesrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1adminupdateresourcesrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,yCAAyC
|
|
1
|
+
{"version":3,"file":"v1adminupdateresourcesrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1adminupdateresourcesrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;CAc5C,CAAC;AACX,MAAM,MAAM,yCAAyC,GAAG,UAAU,CAChE,OAAO,yCAAyC,CACjD,CAAC;AAEF,MAAM,MAAM,iCAAi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C1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -39,17 +39,12 @@ exports.V1AdminUpdateResourcesRequestBodyResource = {
|
|
|
39
39
|
AutoRefresh: "auto_refresh",
|
|
40
40
|
AvatarFrame: "avatar_frame",
|
|
41
41
|
Background: "background",
|
|
42
|
-
BetaAccess: "beta_access",
|
|
43
|
-
CustomVanity: "custom_vanity",
|
|
44
42
|
GoToLeaderboardEntry: "go_to_leaderboard_entry",
|
|
45
43
|
MaxLeaderboardEntries: "max_leaderboard_entries",
|
|
46
44
|
MiniBackground: "mini_background",
|
|
47
|
-
AccountColors: "account_colors",
|
|
48
45
|
AccountRefreshRate: "account_refresh_rate",
|
|
49
|
-
SiteColor: "site_color",
|
|
50
46
|
SocialLinks: "social_links",
|
|
51
|
-
|
|
52
|
-
VanityLength: "vanity_length",
|
|
47
|
+
Vanity: "vanity",
|
|
53
48
|
DeveloperApps: "developer_apps",
|
|
54
49
|
AccountQueues: "account_queues",
|
|
55
50
|
ShortLinkDomain: "short_link_domain",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1adminupdateresourcesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1adminupdateresourcesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v1adminupdateresourcesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1adminupdateresourcesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;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A,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,qCAAuB,CAAC,QAAQ,EAAE;IACtC,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,qCAAuB,CAAC,CAAC;IAC1D,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAClB,CAAC,CAAC,KAAK,CAAC,gEAAwD,CAAC,CAClE;IACD,MAAM,EAAE,6CAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kCAAkC,CAQlD;AARD,WAAiB,kCAAkC;IACjD,iFAAiF;IACpE,gDAAa,GAAG,uDAA+C,CAAC;IAC7E,kFAAkF;IACrE,iDAAc,GACzB,wDAAgD,CAAC;AAGrD,CAAC,EARgB,kCAAkC,kDAAlC,kCAAkC,QAQlD;AAED,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
4
|
import { ChosenRole, ChosenRole$Outbound } from "./chosenrole.js";
|
|
@@ -8,31 +7,12 @@ import { DeveloperApp, DeveloperApp$Outbound } from "./developerapp.js";
|
|
|
8
7
|
import { Image, Image$Outbound } from "./image.js";
|
|
9
8
|
import { Session, Session$Outbound } from "./session.js";
|
|
10
9
|
import { V1VanityAnalytics, V1VanityAnalytics$Outbound } from "./v1vanityanalytics.js";
|
|
11
|
-
/**
|
|
12
|
-
* The theme the account is using
|
|
13
|
-
*/
|
|
14
|
-
export declare const Theme: {
|
|
15
|
-
readonly Dark: "dark";
|
|
16
|
-
readonly Light: "light";
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* The theme the account is using
|
|
20
|
-
*/
|
|
21
|
-
export type Theme = ClosedEnum<typeof Theme>;
|
|
22
10
|
export type V1GetSettingsBody = {
|
|
23
11
|
/**
|
|
24
12
|
* A URL to the JSON Schema for this object.
|
|
25
13
|
*/
|
|
26
14
|
dollarSchema?: string | undefined;
|
|
27
15
|
chosenRole: ChosenRole | null;
|
|
28
|
-
/**
|
|
29
|
-
* The color the account is using
|
|
30
|
-
*/
|
|
31
|
-
color: string;
|
|
32
|
-
/**
|
|
33
|
-
* The colors the account is using
|
|
34
|
-
*/
|
|
35
|
-
colors: string;
|
|
36
16
|
/**
|
|
37
17
|
* The connections the account has
|
|
38
18
|
*/
|
|
@@ -67,10 +47,6 @@ export type V1GetSettingsBody = {
|
|
|
67
47
|
* The sessions the account has
|
|
68
48
|
*/
|
|
69
49
|
sessions: Array<Session> | null;
|
|
70
|
-
/**
|
|
71
|
-
* The theme the account is using
|
|
72
|
-
*/
|
|
73
|
-
theme: Theme;
|
|
74
50
|
/**
|
|
75
51
|
* The vanity the account is using
|
|
76
52
|
*/
|
|
@@ -78,33 +54,11 @@ export type V1GetSettingsBody = {
|
|
|
78
54
|
vanityAnalytics: V1VanityAnalytics | null;
|
|
79
55
|
};
|
|
80
56
|
/** @internal */
|
|
81
|
-
export declare const Theme$inboundSchema: z.ZodNativeEnum<typeof Theme>;
|
|
82
|
-
/** @internal */
|
|
83
|
-
export declare const Theme$outboundSchema: z.ZodNativeEnum<typeof Theme>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
-
*/
|
|
88
|
-
export declare namespace Theme$ {
|
|
89
|
-
/** @deprecated use `Theme$inboundSchema` instead. */
|
|
90
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
91
|
-
readonly Dark: "dark";
|
|
92
|
-
readonly Light: "light";
|
|
93
|
-
}>;
|
|
94
|
-
/** @deprecated use `Theme$outboundSchema` instead. */
|
|
95
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
96
|
-
readonly Dark: "dark";
|
|
97
|
-
readonly Light: "light";
|
|
98
|
-
}>;
|
|
99
|
-
}
|
|
100
|
-
/** @internal */
|
|
101
57
|
export declare const V1GetSettingsBody$inboundSchema: z.ZodType<V1GetSettingsBody, z.ZodTypeDef, unknown>;
|
|
102
58
|
/** @internal */
|
|
103
59
|
export type V1GetSettingsBody$Outbound = {
|
|
104
60
|
$schema?: string | undefined;
|
|
105
61
|
chosenRole: ChosenRole$Outbound | null;
|
|
106
|
-
color: string;
|
|
107
|
-
colors: string;
|
|
108
62
|
connections: Array<Connection$Outbound> | null;
|
|
109
63
|
developerApps: Array<DeveloperApp$Outbound> | null;
|
|
110
64
|
email: string;
|
|
@@ -113,7 +67,6 @@ export type V1GetSettingsBody$Outbound = {
|
|
|
113
67
|
images: Array<Image$Outbound> | null;
|
|
114
68
|
language: string;
|
|
115
69
|
sessions: Array<Session$Outbound> | null;
|
|
116
|
-
theme: string;
|
|
117
70
|
vanity: string;
|
|
118
71
|
vanityAnalytics: V1VanityAnalytics$Outbound | null;
|
|
119
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1getsettingsbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1getsettingsbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"v1getsettingsbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v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U,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.V1GetSettingsBody$ = exports.V1GetSettingsBody$outboundSchema = exports.V1GetSettingsBody$inboundSchema =
|
|
29
|
+
exports.V1GetSettingsBody$ = exports.V1GetSettingsBody$outboundSchema = exports.V1GetSettingsBody$inboundSchema = void 0;
|
|
30
30
|
exports.v1GetSettingsBodyToJSON = v1GetSettingsBodyToJSON;
|
|
31
31
|
exports.v1GetSettingsBodyFromJSON = v1GetSettingsBodyFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
@@ -38,34 +38,10 @@ const developerapp_js_1 = require("./developerapp.js");
|
|
|
38
38
|
const image_js_1 = require("./image.js");
|
|
39
39
|
const session_js_1 = require("./session.js");
|
|
40
40
|
const v1vanityanalytics_js_1 = require("./v1vanityanalytics.js");
|
|
41
|
-
/**
|
|
42
|
-
* The theme the account is using
|
|
43
|
-
*/
|
|
44
|
-
exports.Theme = {
|
|
45
|
-
Dark: "dark",
|
|
46
|
-
Light: "light",
|
|
47
|
-
};
|
|
48
|
-
/** @internal */
|
|
49
|
-
exports.Theme$inboundSchema = z.nativeEnum(exports.Theme);
|
|
50
|
-
/** @internal */
|
|
51
|
-
exports.Theme$outboundSchema = exports.Theme$inboundSchema;
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
-
*/
|
|
56
|
-
var Theme$;
|
|
57
|
-
(function (Theme$) {
|
|
58
|
-
/** @deprecated use `Theme$inboundSchema` instead. */
|
|
59
|
-
Theme$.inboundSchema = exports.Theme$inboundSchema;
|
|
60
|
-
/** @deprecated use `Theme$outboundSchema` instead. */
|
|
61
|
-
Theme$.outboundSchema = exports.Theme$outboundSchema;
|
|
62
|
-
})(Theme$ || (exports.Theme$ = Theme$ = {}));
|
|
63
41
|
/** @internal */
|
|
64
42
|
exports.V1GetSettingsBody$inboundSchema = z.object({
|
|
65
43
|
$schema: z.string().optional(),
|
|
66
44
|
chosenRole: z.nullable(chosenrole_js_1.ChosenRole$inboundSchema),
|
|
67
|
-
color: z.string(),
|
|
68
|
-
colors: z.string(),
|
|
69
45
|
connections: z.nullable(z.array(connection_js_1.Connection$inboundSchema)),
|
|
70
46
|
developerApps: z.nullable(z.array(developerapp_js_1.DeveloperApp$inboundSchema)),
|
|
71
47
|
email: z.string(),
|
|
@@ -74,7 +50,6 @@ exports.V1GetSettingsBody$inboundSchema = z.object({
|
|
|
74
50
|
images: z.nullable(z.array(image_js_1.Image$inboundSchema)),
|
|
75
51
|
language: z.string(),
|
|
76
52
|
sessions: z.nullable(z.array(session_js_1.Session$inboundSchema)),
|
|
77
|
-
theme: exports.Theme$inboundSchema,
|
|
78
53
|
vanity: z.string(),
|
|
79
54
|
vanityAnalytics: z.nullable(v1vanityanalytics_js_1.V1VanityAnalytics$inboundSchema),
|
|
80
55
|
}).transform((v) => {
|
|
@@ -86,8 +61,6 @@ exports.V1GetSettingsBody$inboundSchema = z.object({
|
|
|
86
61
|
exports.V1GetSettingsBody$outboundSchema = z.object({
|
|
87
62
|
dollarSchema: z.string().optional(),
|
|
88
63
|
chosenRole: z.nullable(chosenrole_js_1.ChosenRole$outboundSchema),
|
|
89
|
-
color: z.string(),
|
|
90
|
-
colors: z.string(),
|
|
91
64
|
connections: z.nullable(z.array(connection_js_1.Connection$outboundSchema)),
|
|
92
65
|
developerApps: z.nullable(z.array(developerapp_js_1.DeveloperApp$outboundSchema)),
|
|
93
66
|
email: z.string(),
|
|
@@ -96,7 +69,6 @@ exports.V1GetSettingsBody$outboundSchema = z.object({
|
|
|
96
69
|
images: z.nullable(z.array(image_js_1.Image$outboundSchema)),
|
|
97
70
|
language: z.string(),
|
|
98
71
|
sessions: z.nullable(z.array(session_js_1.Session$outboundSchema)),
|
|
99
|
-
theme: exports.Theme$outboundSchema,
|
|
100
72
|
vanity: z.string(),
|
|
101
73
|
vanityAnalytics: z.nullable(v1vanityanalytics_js_1.V1VanityAnalytics$outboundSchema),
|
|
102
74
|
}).transform((v) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1getsettingsbody.js","sourceRoot":"","sources":["../../src/models/components/v1getsettingsbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v1getsettingsbody.js","sourceRoot":"","sources":["../../src/models/components/v1getsettingsbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0KH,0DAMC;AAED,8DAQC;AAxLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,mDAKyB;AACzB,mDAKyB;AACzB,uDAK2B;AAC3B,yCAKoB;AACpB,6CAKsB;AACtB,iEAKgC;AAiDhC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,wCAAwB,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwB,CAAC,CAAC;IAC1D,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,4CAA0B,CAAC,CAAC;IAC9D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,eAAe,EAAE,CAAC,CAAC,QAAQ,CACzB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAA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C,+BAAoB,CAAC,CAAC;IACjD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAsB,CAAC,CAAC;IACrD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,uDAAgC,CAAC;CAC9D,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,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -17,26 +17,7 @@ export declare const V1UpdateSettingsRequestBodyRole: {
|
|
|
17
17
|
* The role the account should have between one of the 6 donation roles
|
|
18
18
|
*/
|
|
19
19
|
export type V1UpdateSettingsRequestBodyRole = ClosedEnum<typeof V1UpdateSettingsRequestBodyRole>;
|
|
20
|
-
/**
|
|
21
|
-
* The theme the account should use, only if the account is private
|
|
22
|
-
*/
|
|
23
|
-
export declare const V1UpdateSettingsRequestBodyTheme: {
|
|
24
|
-
readonly Dark: "dark";
|
|
25
|
-
readonly Light: "light";
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* The theme the account should use, only if the account is private
|
|
29
|
-
*/
|
|
30
|
-
export type V1UpdateSettingsRequestBodyTheme = ClosedEnum<typeof V1UpdateSettingsRequestBodyTheme>;
|
|
31
20
|
export type V1UpdateSettingsRequestBody = {
|
|
32
|
-
/**
|
|
33
|
-
* The color the account should use, only if the account is private
|
|
34
|
-
*/
|
|
35
|
-
color: string;
|
|
36
|
-
/**
|
|
37
|
-
* The colors the account should use, only if the account is private
|
|
38
|
-
*/
|
|
39
|
-
colors: string;
|
|
40
21
|
/**
|
|
41
22
|
* The email the account should use, only if the account is private
|
|
42
23
|
*/
|
|
@@ -53,10 +34,6 @@ export type V1UpdateSettingsRequestBody = {
|
|
|
53
34
|
* The role the account should have between one of the 6 donation roles
|
|
54
35
|
*/
|
|
55
36
|
role?: V1UpdateSettingsRequestBodyRole | null | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* The theme the account should use, only if the account is private
|
|
58
|
-
*/
|
|
59
|
-
theme: V1UpdateSettingsRequestBodyTheme;
|
|
60
37
|
/**
|
|
61
38
|
* The vanity the account should use
|
|
62
39
|
*/
|
|
@@ -91,36 +68,13 @@ export declare namespace V1UpdateSettingsRequestBodyRole$ {
|
|
|
91
68
|
}>;
|
|
92
69
|
}
|
|
93
70
|
/** @internal */
|
|
94
|
-
export declare const V1UpdateSettingsRequestBodyTheme$inboundSchema: z.ZodNativeEnum<typeof V1UpdateSettingsRequestBodyTheme>;
|
|
95
|
-
/** @internal */
|
|
96
|
-
export declare const V1UpdateSettingsRequestBodyTheme$outboundSchema: z.ZodNativeEnum<typeof V1UpdateSettingsRequestBodyTheme>;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
-
*/
|
|
101
|
-
export declare namespace V1UpdateSettingsRequestBodyTheme$ {
|
|
102
|
-
/** @deprecated use `V1UpdateSettingsRequestBodyTheme$inboundSchema` instead. */
|
|
103
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
104
|
-
readonly Dark: "dark";
|
|
105
|
-
readonly Light: "light";
|
|
106
|
-
}>;
|
|
107
|
-
/** @deprecated use `V1UpdateSettingsRequestBodyTheme$outboundSchema` instead. */
|
|
108
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
109
|
-
readonly Dark: "dark";
|
|
110
|
-
readonly Light: "light";
|
|
111
|
-
}>;
|
|
112
|
-
}
|
|
113
|
-
/** @internal */
|
|
114
71
|
export declare const V1UpdateSettingsRequestBody$inboundSchema: z.ZodType<V1UpdateSettingsRequestBody, z.ZodTypeDef, unknown>;
|
|
115
72
|
/** @internal */
|
|
116
73
|
export type V1UpdateSettingsRequestBody$Outbound = {
|
|
117
|
-
color: string;
|
|
118
|
-
colors: string;
|
|
119
74
|
email: string | null;
|
|
120
75
|
hidden: boolean;
|
|
121
76
|
language: string;
|
|
122
77
|
role?: string | null | undefined;
|
|
123
|
-
theme: string;
|
|
124
78
|
vanity: string | null;
|
|
125
79
|
};
|
|
126
80
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1updatesettingsrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;CAOlC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"v1updatesettingsrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;CAOlC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,+BAA+B,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,+BAA+B,CACS,CAAC;AAElD,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,aAAa,CAC1E,OAAO,+BAA+B,CACS,CAAC;AAElD;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa;;;;;;;MAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc;;;;;;;MAAiD,CAAC;CAC9E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAO3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D;AAED,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AAED,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.V1UpdateSettingsRequestBody$ = exports.V1UpdateSettingsRequestBody$outboundSchema = exports.V1UpdateSettingsRequestBody$inboundSchema = exports.
|
|
29
|
+
exports.V1UpdateSettingsRequestBody$ = exports.V1UpdateSettingsRequestBody$outboundSchema = exports.V1UpdateSettingsRequestBody$inboundSchema = exports.V1UpdateSettingsRequestBodyRole$ = exports.V1UpdateSettingsRequestBodyRole$outboundSchema = exports.V1UpdateSettingsRequestBodyRole$inboundSchema = exports.V1UpdateSettingsRequestBodyRole = void 0;
|
|
30
30
|
exports.v1UpdateSettingsRequestBodyToJSON = v1UpdateSettingsRequestBodyToJSON;
|
|
31
31
|
exports.v1UpdateSettingsRequestBodyFromJSON = v1UpdateSettingsRequestBodyFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
@@ -42,13 +42,6 @@ exports.V1UpdateSettingsRequestBodyRole = {
|
|
|
42
42
|
Ruby: "ruby",
|
|
43
43
|
Diamond: "diamond",
|
|
44
44
|
};
|
|
45
|
-
/**
|
|
46
|
-
* The theme the account should use, only if the account is private
|
|
47
|
-
*/
|
|
48
|
-
exports.V1UpdateSettingsRequestBodyTheme = {
|
|
49
|
-
Dark: "dark",
|
|
50
|
-
Light: "light",
|
|
51
|
-
};
|
|
52
45
|
/** @internal */
|
|
53
46
|
exports.V1UpdateSettingsRequestBodyRole$inboundSchema = z.nativeEnum(exports.V1UpdateSettingsRequestBodyRole);
|
|
54
47
|
/** @internal */
|
|
@@ -65,40 +58,19 @@ var V1UpdateSettingsRequestBodyRole$;
|
|
|
65
58
|
V1UpdateSettingsRequestBodyRole$.outboundSchema = exports.V1UpdateSettingsRequestBodyRole$outboundSchema;
|
|
66
59
|
})(V1UpdateSettingsRequestBodyRole$ || (exports.V1UpdateSettingsRequestBodyRole$ = V1UpdateSettingsRequestBodyRole$ = {}));
|
|
67
60
|
/** @internal */
|
|
68
|
-
exports.V1UpdateSettingsRequestBodyTheme$inboundSchema = z.nativeEnum(exports.V1UpdateSettingsRequestBodyTheme);
|
|
69
|
-
/** @internal */
|
|
70
|
-
exports.V1UpdateSettingsRequestBodyTheme$outboundSchema = exports.V1UpdateSettingsRequestBodyTheme$inboundSchema;
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
-
*/
|
|
75
|
-
var V1UpdateSettingsRequestBodyTheme$;
|
|
76
|
-
(function (V1UpdateSettingsRequestBodyTheme$) {
|
|
77
|
-
/** @deprecated use `V1UpdateSettingsRequestBodyTheme$inboundSchema` instead. */
|
|
78
|
-
V1UpdateSettingsRequestBodyTheme$.inboundSchema = exports.V1UpdateSettingsRequestBodyTheme$inboundSchema;
|
|
79
|
-
/** @deprecated use `V1UpdateSettingsRequestBodyTheme$outboundSchema` instead. */
|
|
80
|
-
V1UpdateSettingsRequestBodyTheme$.outboundSchema = exports.V1UpdateSettingsRequestBodyTheme$outboundSchema;
|
|
81
|
-
})(V1UpdateSettingsRequestBodyTheme$ || (exports.V1UpdateSettingsRequestBodyTheme$ = V1UpdateSettingsRequestBodyTheme$ = {}));
|
|
82
|
-
/** @internal */
|
|
83
61
|
exports.V1UpdateSettingsRequestBody$inboundSchema = z.object({
|
|
84
|
-
color: z.string(),
|
|
85
|
-
colors: z.string(),
|
|
86
62
|
email: z.nullable(z.string()),
|
|
87
63
|
hidden: z.boolean(),
|
|
88
64
|
language: z.string(),
|
|
89
65
|
role: z.nullable(exports.V1UpdateSettingsRequestBodyRole$inboundSchema).optional(),
|
|
90
|
-
theme: exports.V1UpdateSettingsRequestBodyTheme$inboundSchema,
|
|
91
66
|
vanity: z.nullable(z.string()),
|
|
92
67
|
});
|
|
93
68
|
/** @internal */
|
|
94
69
|
exports.V1UpdateSettingsRequestBody$outboundSchema = z.object({
|
|
95
|
-
color: z.string(),
|
|
96
|
-
colors: z.string(),
|
|
97
70
|
email: z.nullable(z.string()),
|
|
98
71
|
hidden: z.boolean(),
|
|
99
72
|
language: z.string(),
|
|
100
73
|
role: z.nullable(exports.V1UpdateSettingsRequestBodyRole$outboundSchema).optional(),
|
|
101
|
-
theme: exports.V1UpdateSettingsRequestBodyTheme$outboundSchema,
|
|
102
74
|
vanity: z.nullable(z.string()),
|
|
103
75
|
});
|
|
104
76
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1updatesettingsrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"v1updatesettingsrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAsHH,8EAQC;AAED,kFAQC;AAtID,uCAAyB;AACzB,qDAAiD;AAKjD;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC7C,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACV,CAAC;AA+BX,gBAAgB;AACH,QAAA,6CAA6C,GAEtD,CAAC,CAAC,UAAU,CAAC,uCAA+B,CAAC,CAAC;AAElD,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,qDAA6C,CAAC;AAElD;;;GAGG;AACH,IAAiB,gCAAgC,CAKhD;AALD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAC/E,CAAC,EALgB,gCAAgC,gDAAhC,gCAAgC,QAKhD;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,qDAA6C,CAAC,CAAC,QAAQ,EAAE;IAC1E,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA8C,CAAC,CAAC,QAAQ,EAAE;IAC3E,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG3E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C;AAED,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
55
55
|
export const SDK_METADATA = {
|
|
56
56
|
language: "typescript",
|
|
57
57
|
openapiDocVersion: "1.0.0",
|
|
58
|
-
sdkVersion: "0.14.
|
|
59
|
-
genVersion: "2.
|
|
58
|
+
sdkVersion: "0.14.11",
|
|
59
|
+
genVersion: "2.486.1",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 0.14.
|
|
61
|
+
"speakeasy-sdk/typescript 0.14.11 2.486.1 1.0.0 @steamsets/client-ts",
|
|
62
62
|
} as const;
|
|
@@ -11,12 +11,12 @@ export type Badge = {
|
|
|
11
11
|
appId: number;
|
|
12
12
|
appImage: string;
|
|
13
13
|
appName: string;
|
|
14
|
-
badgeId: string;
|
|
15
14
|
bookmarks: number;
|
|
16
15
|
colors: Array<string> | null;
|
|
17
16
|
designs: Array<string> | null;
|
|
18
17
|
firstCompletion: number;
|
|
19
18
|
highestLevel: number;
|
|
19
|
+
id: string;
|
|
20
20
|
image: string;
|
|
21
21
|
isEvent: boolean;
|
|
22
22
|
isFoil: boolean;
|
|
@@ -36,12 +36,12 @@ export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
|
|
|
36
36
|
appId: z.number().int(),
|
|
37
37
|
appImage: z.string(),
|
|
38
38
|
appName: z.string(),
|
|
39
|
-
badgeId: z.string(),
|
|
40
39
|
bookmarks: z.number().int(),
|
|
41
40
|
colors: z.nullable(z.array(z.string())),
|
|
42
41
|
designs: z.nullable(z.array(z.string())),
|
|
43
42
|
firstCompletion: z.number().int(),
|
|
44
43
|
highestLevel: z.number().int(),
|
|
44
|
+
id: z.string(),
|
|
45
45
|
image: z.string(),
|
|
46
46
|
isEvent: z.boolean(),
|
|
47
47
|
isFoil: z.boolean(),
|
|
@@ -60,12 +60,12 @@ export type Badge$Outbound = {
|
|
|
60
60
|
appId: number;
|
|
61
61
|
appImage: string;
|
|
62
62
|
appName: string;
|
|
63
|
-
badgeId: string;
|
|
64
63
|
bookmarks: number;
|
|
65
64
|
colors: Array<string> | null;
|
|
66
65
|
designs: Array<string> | null;
|
|
67
66
|
firstCompletion: number;
|
|
68
67
|
highestLevel: number;
|
|
68
|
+
id: string;
|
|
69
69
|
image: string;
|
|
70
70
|
isEvent: boolean;
|
|
71
71
|
isFoil: boolean;
|
|
@@ -88,12 +88,12 @@ export const Badge$outboundSchema: z.ZodType<
|
|
|
88
88
|
appId: z.number().int(),
|
|
89
89
|
appImage: z.string(),
|
|
90
90
|
appName: z.string(),
|
|
91
|
-
badgeId: z.string(),
|
|
92
91
|
bookmarks: z.number().int(),
|
|
93
92
|
colors: z.nullable(z.array(z.string())),
|
|
94
93
|
designs: z.nullable(z.array(z.string())),
|
|
95
94
|
firstCompletion: z.number().int(),
|
|
96
95
|
highestLevel: z.number().int(),
|
|
96
|
+
id: z.string(),
|
|
97
97
|
image: z.string(),
|
|
98
98
|
isEvent: z.boolean(),
|
|
99
99
|
isFoil: z.boolean(),
|
|
@@ -13,17 +13,12 @@ export const ResourceResource = {
|
|
|
13
13
|
AutoRefresh: "auto_refresh",
|
|
14
14
|
AvatarFrame: "avatar_frame",
|
|
15
15
|
Background: "background",
|
|
16
|
-
BetaAccess: "beta_access",
|
|
17
|
-
CustomVanity: "custom_vanity",
|
|
18
16
|
GoToLeaderboardEntry: "go_to_leaderboard_entry",
|
|
19
17
|
MaxLeaderboardEntries: "max_leaderboard_entries",
|
|
20
18
|
MiniBackground: "mini_background",
|
|
21
|
-
AccountColors: "account_colors",
|
|
22
19
|
AccountRefreshRate: "account_refresh_rate",
|
|
23
|
-
SiteColor: "site_color",
|
|
24
20
|
SocialLinks: "social_links",
|
|
25
|
-
|
|
26
|
-
VanityLength: "vanity_length",
|
|
21
|
+
Vanity: "vanity",
|
|
27
22
|
DeveloperApps: "developer_apps",
|
|
28
23
|
AccountQueues: "account_queues",
|
|
29
24
|
ShortLinkDomain: "short_link_domain",
|
|
@@ -31,17 +31,12 @@ export const V1AdminUpdateResourcesRequestBodyResource = {
|
|
|
31
31
|
AutoRefresh: "auto_refresh",
|
|
32
32
|
AvatarFrame: "avatar_frame",
|
|
33
33
|
Background: "background",
|
|
34
|
-
BetaAccess: "beta_access",
|
|
35
|
-
CustomVanity: "custom_vanity",
|
|
36
34
|
GoToLeaderboardEntry: "go_to_leaderboard_entry",
|
|
37
35
|
MaxLeaderboardEntries: "max_leaderboard_entries",
|
|
38
36
|
MiniBackground: "mini_background",
|
|
39
|
-
AccountColors: "account_colors",
|
|
40
37
|
AccountRefreshRate: "account_refresh_rate",
|
|
41
|
-
SiteColor: "site_color",
|
|
42
38
|
SocialLinks: "social_links",
|
|
43
|
-
|
|
44
|
-
VanityLength: "vanity_length",
|
|
39
|
+
Vanity: "vanity",
|
|
45
40
|
DeveloperApps: "developer_apps",
|
|
46
41
|
AccountQueues: "account_queues",
|
|
47
42
|
ShortLinkDomain: "short_link_domain",
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
10
|
import {
|
|
@@ -45,32 +44,12 @@ import {
|
|
|
45
44
|
V1VanityAnalytics$outboundSchema,
|
|
46
45
|
} from "./v1vanityanalytics.js";
|
|
47
46
|
|
|
48
|
-
/**
|
|
49
|
-
* The theme the account is using
|
|
50
|
-
*/
|
|
51
|
-
export const Theme = {
|
|
52
|
-
Dark: "dark",
|
|
53
|
-
Light: "light",
|
|
54
|
-
} as const;
|
|
55
|
-
/**
|
|
56
|
-
* The theme the account is using
|
|
57
|
-
*/
|
|
58
|
-
export type Theme = ClosedEnum<typeof Theme>;
|
|
59
|
-
|
|
60
47
|
export type V1GetSettingsBody = {
|
|
61
48
|
/**
|
|
62
49
|
* A URL to the JSON Schema for this object.
|
|
63
50
|
*/
|
|
64
51
|
dollarSchema?: string | undefined;
|
|
65
52
|
chosenRole: ChosenRole | null;
|
|
66
|
-
/**
|
|
67
|
-
* The color the account is using
|
|
68
|
-
*/
|
|
69
|
-
color: string;
|
|
70
|
-
/**
|
|
71
|
-
* The colors the account is using
|
|
72
|
-
*/
|
|
73
|
-
colors: string;
|
|
74
53
|
/**
|
|
75
54
|
* The connections the account has
|
|
76
55
|
*/
|
|
@@ -105,10 +84,6 @@ export type V1GetSettingsBody = {
|
|
|
105
84
|
* The sessions the account has
|
|
106
85
|
*/
|
|
107
86
|
sessions: Array<Session> | null;
|
|
108
|
-
/**
|
|
109
|
-
* The theme the account is using
|
|
110
|
-
*/
|
|
111
|
-
theme: Theme;
|
|
112
87
|
/**
|
|
113
88
|
* The vanity the account is using
|
|
114
89
|
*/
|
|
@@ -116,26 +91,6 @@ export type V1GetSettingsBody = {
|
|
|
116
91
|
vanityAnalytics: V1VanityAnalytics | null;
|
|
117
92
|
};
|
|
118
93
|
|
|
119
|
-
/** @internal */
|
|
120
|
-
export const Theme$inboundSchema: z.ZodNativeEnum<typeof Theme> = z.nativeEnum(
|
|
121
|
-
Theme,
|
|
122
|
-
);
|
|
123
|
-
|
|
124
|
-
/** @internal */
|
|
125
|
-
export const Theme$outboundSchema: z.ZodNativeEnum<typeof Theme> =
|
|
126
|
-
Theme$inboundSchema;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
-
*/
|
|
132
|
-
export namespace Theme$ {
|
|
133
|
-
/** @deprecated use `Theme$inboundSchema` instead. */
|
|
134
|
-
export const inboundSchema = Theme$inboundSchema;
|
|
135
|
-
/** @deprecated use `Theme$outboundSchema` instead. */
|
|
136
|
-
export const outboundSchema = Theme$outboundSchema;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
94
|
/** @internal */
|
|
140
95
|
export const V1GetSettingsBody$inboundSchema: z.ZodType<
|
|
141
96
|
V1GetSettingsBody,
|
|
@@ -144,8 +99,6 @@ export const V1GetSettingsBody$inboundSchema: z.ZodType<
|
|
|
144
99
|
> = z.object({
|
|
145
100
|
$schema: z.string().optional(),
|
|
146
101
|
chosenRole: z.nullable(ChosenRole$inboundSchema),
|
|
147
|
-
color: z.string(),
|
|
148
|
-
colors: z.string(),
|
|
149
102
|
connections: z.nullable(z.array(Connection$inboundSchema)),
|
|
150
103
|
developerApps: z.nullable(z.array(DeveloperApp$inboundSchema)),
|
|
151
104
|
email: z.string(),
|
|
@@ -156,7 +109,6 @@ export const V1GetSettingsBody$inboundSchema: z.ZodType<
|
|
|
156
109
|
images: z.nullable(z.array(Image$inboundSchema)),
|
|
157
110
|
language: z.string(),
|
|
158
111
|
sessions: z.nullable(z.array(Session$inboundSchema)),
|
|
159
|
-
theme: Theme$inboundSchema,
|
|
160
112
|
vanity: z.string(),
|
|
161
113
|
vanityAnalytics: z.nullable(V1VanityAnalytics$inboundSchema),
|
|
162
114
|
}).transform((v) => {
|
|
@@ -169,8 +121,6 @@ export const V1GetSettingsBody$inboundSchema: z.ZodType<
|
|
|
169
121
|
export type V1GetSettingsBody$Outbound = {
|
|
170
122
|
$schema?: string | undefined;
|
|
171
123
|
chosenRole: ChosenRole$Outbound | null;
|
|
172
|
-
color: string;
|
|
173
|
-
colors: string;
|
|
174
124
|
connections: Array<Connection$Outbound> | null;
|
|
175
125
|
developerApps: Array<DeveloperApp$Outbound> | null;
|
|
176
126
|
email: string;
|
|
@@ -179,7 +129,6 @@ export type V1GetSettingsBody$Outbound = {
|
|
|
179
129
|
images: Array<Image$Outbound> | null;
|
|
180
130
|
language: string;
|
|
181
131
|
sessions: Array<Session$Outbound> | null;
|
|
182
|
-
theme: string;
|
|
183
132
|
vanity: string;
|
|
184
133
|
vanityAnalytics: V1VanityAnalytics$Outbound | null;
|
|
185
134
|
};
|
|
@@ -192,8 +141,6 @@ export const V1GetSettingsBody$outboundSchema: z.ZodType<
|
|
|
192
141
|
> = z.object({
|
|
193
142
|
dollarSchema: z.string().optional(),
|
|
194
143
|
chosenRole: z.nullable(ChosenRole$outboundSchema),
|
|
195
|
-
color: z.string(),
|
|
196
|
-
colors: z.string(),
|
|
197
144
|
connections: z.nullable(z.array(Connection$outboundSchema)),
|
|
198
145
|
developerApps: z.nullable(z.array(DeveloperApp$outboundSchema)),
|
|
199
146
|
email: z.string(),
|
|
@@ -202,7 +149,6 @@ export const V1GetSettingsBody$outboundSchema: z.ZodType<
|
|
|
202
149
|
images: z.nullable(z.array(Image$outboundSchema)),
|
|
203
150
|
language: z.string(),
|
|
204
151
|
sessions: z.nullable(z.array(Session$outboundSchema)),
|
|
205
|
-
theme: Theme$outboundSchema,
|
|
206
152
|
vanity: z.string(),
|
|
207
153
|
vanityAnalytics: z.nullable(V1VanityAnalytics$outboundSchema),
|
|
208
154
|
}).transform((v) => {
|
|
@@ -26,29 +26,7 @@ export type V1UpdateSettingsRequestBodyRole = ClosedEnum<
|
|
|
26
26
|
typeof V1UpdateSettingsRequestBodyRole
|
|
27
27
|
>;
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* The theme the account should use, only if the account is private
|
|
31
|
-
*/
|
|
32
|
-
export const V1UpdateSettingsRequestBodyTheme = {
|
|
33
|
-
Dark: "dark",
|
|
34
|
-
Light: "light",
|
|
35
|
-
} as const;
|
|
36
|
-
/**
|
|
37
|
-
* The theme the account should use, only if the account is private
|
|
38
|
-
*/
|
|
39
|
-
export type V1UpdateSettingsRequestBodyTheme = ClosedEnum<
|
|
40
|
-
typeof V1UpdateSettingsRequestBodyTheme
|
|
41
|
-
>;
|
|
42
|
-
|
|
43
29
|
export type V1UpdateSettingsRequestBody = {
|
|
44
|
-
/**
|
|
45
|
-
* The color the account should use, only if the account is private
|
|
46
|
-
*/
|
|
47
|
-
color: string;
|
|
48
|
-
/**
|
|
49
|
-
* The colors the account should use, only if the account is private
|
|
50
|
-
*/
|
|
51
|
-
colors: string;
|
|
52
30
|
/**
|
|
53
31
|
* The email the account should use, only if the account is private
|
|
54
32
|
*/
|
|
@@ -65,10 +43,6 @@ export type V1UpdateSettingsRequestBody = {
|
|
|
65
43
|
* The role the account should have between one of the 6 donation roles
|
|
66
44
|
*/
|
|
67
45
|
role?: V1UpdateSettingsRequestBodyRole | null | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* The theme the account should use, only if the account is private
|
|
70
|
-
*/
|
|
71
|
-
theme: V1UpdateSettingsRequestBodyTheme;
|
|
72
46
|
/**
|
|
73
47
|
* The vanity the account should use
|
|
74
48
|
*/
|
|
@@ -96,52 +70,25 @@ export namespace V1UpdateSettingsRequestBodyRole$ {
|
|
|
96
70
|
export const outboundSchema = V1UpdateSettingsRequestBodyRole$outboundSchema;
|
|
97
71
|
}
|
|
98
72
|
|
|
99
|
-
/** @internal */
|
|
100
|
-
export const V1UpdateSettingsRequestBodyTheme$inboundSchema: z.ZodNativeEnum<
|
|
101
|
-
typeof V1UpdateSettingsRequestBodyTheme
|
|
102
|
-
> = z.nativeEnum(V1UpdateSettingsRequestBodyTheme);
|
|
103
|
-
|
|
104
|
-
/** @internal */
|
|
105
|
-
export const V1UpdateSettingsRequestBodyTheme$outboundSchema: z.ZodNativeEnum<
|
|
106
|
-
typeof V1UpdateSettingsRequestBodyTheme
|
|
107
|
-
> = V1UpdateSettingsRequestBodyTheme$inboundSchema;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
112
|
-
*/
|
|
113
|
-
export namespace V1UpdateSettingsRequestBodyTheme$ {
|
|
114
|
-
/** @deprecated use `V1UpdateSettingsRequestBodyTheme$inboundSchema` instead. */
|
|
115
|
-
export const inboundSchema = V1UpdateSettingsRequestBodyTheme$inboundSchema;
|
|
116
|
-
/** @deprecated use `V1UpdateSettingsRequestBodyTheme$outboundSchema` instead. */
|
|
117
|
-
export const outboundSchema = V1UpdateSettingsRequestBodyTheme$outboundSchema;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
73
|
/** @internal */
|
|
121
74
|
export const V1UpdateSettingsRequestBody$inboundSchema: z.ZodType<
|
|
122
75
|
V1UpdateSettingsRequestBody,
|
|
123
76
|
z.ZodTypeDef,
|
|
124
77
|
unknown
|
|
125
78
|
> = z.object({
|
|
126
|
-
color: z.string(),
|
|
127
|
-
colors: z.string(),
|
|
128
79
|
email: z.nullable(z.string()),
|
|
129
80
|
hidden: z.boolean(),
|
|
130
81
|
language: z.string(),
|
|
131
82
|
role: z.nullable(V1UpdateSettingsRequestBodyRole$inboundSchema).optional(),
|
|
132
|
-
theme: V1UpdateSettingsRequestBodyTheme$inboundSchema,
|
|
133
83
|
vanity: z.nullable(z.string()),
|
|
134
84
|
});
|
|
135
85
|
|
|
136
86
|
/** @internal */
|
|
137
87
|
export type V1UpdateSettingsRequestBody$Outbound = {
|
|
138
|
-
color: string;
|
|
139
|
-
colors: string;
|
|
140
88
|
email: string | null;
|
|
141
89
|
hidden: boolean;
|
|
142
90
|
language: string;
|
|
143
91
|
role?: string | null | undefined;
|
|
144
|
-
theme: string;
|
|
145
92
|
vanity: string | null;
|
|
146
93
|
};
|
|
147
94
|
|
|
@@ -151,13 +98,10 @@ export const V1UpdateSettingsRequestBody$outboundSchema: z.ZodType<
|
|
|
151
98
|
z.ZodTypeDef,
|
|
152
99
|
V1UpdateSettingsRequestBody
|
|
153
100
|
> = z.object({
|
|
154
|
-
color: z.string(),
|
|
155
|
-
colors: z.string(),
|
|
156
101
|
email: z.nullable(z.string()),
|
|
157
102
|
hidden: z.boolean(),
|
|
158
103
|
language: z.string(),
|
|
159
104
|
role: z.nullable(V1UpdateSettingsRequestBodyRole$outboundSchema).optional(),
|
|
160
|
-
theme: V1UpdateSettingsRequestBodyTheme$outboundSchema,
|
|
161
105
|
vanity: z.nullable(z.string()),
|
|
162
106
|
});
|
|
163
107
|
|