@steamsets/client-ts 0.32.1 → 0.32.3

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.
Files changed (95) hide show
  1. package/README.md +4 -0
  2. package/funcs/accountAccountGetBadgeHeatmap.d.ts +16 -0
  3. package/funcs/accountAccountGetBadgeHeatmap.d.ts.map +1 -0
  4. package/funcs/accountAccountGetBadgeHeatmap.js +133 -0
  5. package/funcs/accountAccountGetBadgeHeatmap.js.map +1 -0
  6. package/funcs/adminAdminUpdateRoleOverride.d.ts +16 -0
  7. package/funcs/adminAdminUpdateRoleOverride.d.ts.map +1 -0
  8. package/funcs/adminAdminUpdateRoleOverride.js +131 -0
  9. package/funcs/adminAdminUpdateRoleOverride.js.map +1 -0
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +3 -3
  12. package/lib/config.js +3 -3
  13. package/lib/config.js.map +1 -1
  14. package/lib/encodings.d.ts +1 -0
  15. package/lib/encodings.d.ts.map +1 -1
  16. package/lib/encodings.js +27 -5
  17. package/lib/encodings.js.map +1 -1
  18. package/lib/files.d.ts +13 -0
  19. package/lib/files.d.ts.map +1 -1
  20. package/lib/files.js +19 -0
  21. package/lib/files.js.map +1 -1
  22. package/lib/sdks.d.ts.map +1 -1
  23. package/lib/sdks.js +8 -4
  24. package/lib/sdks.js.map +1 -1
  25. package/lib/security.d.ts +1 -1
  26. package/lib/security.d.ts.map +1 -1
  27. package/lib/security.js +19 -8
  28. package/lib/security.js.map +1 -1
  29. package/lib/url.d.ts.map +1 -1
  30. package/lib/url.js +4 -2
  31. package/lib/url.js.map +1 -1
  32. package/models/components/index.d.ts +1 -0
  33. package/models/components/index.d.ts.map +1 -1
  34. package/models/components/index.js +1 -0
  35. package/models/components/index.js.map +1 -1
  36. package/models/components/leaderboardaccount.d.ts +21 -0
  37. package/models/components/leaderboardaccount.d.ts.map +1 -1
  38. package/models/components/leaderboardaccount.js +6 -0
  39. package/models/components/leaderboardaccount.js.map +1 -1
  40. package/models/components/previewaccount.d.ts +21 -0
  41. package/models/components/previewaccount.d.ts.map +1 -1
  42. package/models/components/previewaccount.js +6 -0
  43. package/models/components/previewaccount.js.map +1 -1
  44. package/models/components/v1accountfriend.d.ts +21 -0
  45. package/models/components/v1accountfriend.d.ts.map +1 -1
  46. package/models/components/v1accountfriend.js +6 -0
  47. package/models/components/v1accountfriend.js.map +1 -1
  48. package/models/components/v1accountleaderboardaccount.d.ts +21 -0
  49. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
  50. package/models/components/v1accountleaderboardaccount.js +6 -0
  51. package/models/components/v1accountleaderboardaccount.js.map +1 -1
  52. package/models/components/v1adminupdateroleoverriderequestbody.d.ts +43 -0
  53. package/models/components/v1adminupdateroleoverriderequestbody.d.ts.map +1 -0
  54. package/models/components/v1adminupdateroleoverriderequestbody.js +66 -0
  55. package/models/components/v1adminupdateroleoverriderequestbody.js.map +1 -0
  56. package/models/operations/accountgetbadgeheatmap.d.ts +17 -0
  57. package/models/operations/accountgetbadgeheatmap.d.ts.map +1 -0
  58. package/models/operations/accountgetbadgeheatmap.js +57 -0
  59. package/models/operations/accountgetbadgeheatmap.js.map +1 -0
  60. package/models/operations/adminupdateroleoverride.d.ts +11 -0
  61. package/models/operations/adminupdateroleoverride.d.ts.map +1 -0
  62. package/models/operations/adminupdateroleoverride.js +56 -0
  63. package/models/operations/adminupdateroleoverride.js.map +1 -0
  64. package/models/operations/index.d.ts +2 -0
  65. package/models/operations/index.d.ts.map +1 -1
  66. package/models/operations/index.js +2 -0
  67. package/models/operations/index.js.map +1 -1
  68. package/package.json +1 -1
  69. package/sdk/account.d.ts +4 -0
  70. package/sdk/account.d.ts.map +1 -1
  71. package/sdk/account.js +7 -0
  72. package/sdk/account.js.map +1 -1
  73. package/sdk/admin.d.ts +4 -0
  74. package/sdk/admin.d.ts.map +1 -1
  75. package/sdk/admin.js +7 -0
  76. package/sdk/admin.js.map +1 -1
  77. package/src/funcs/accountAccountGetBadgeHeatmap.ts +185 -0
  78. package/src/funcs/adminAdminUpdateRoleOverride.ts +186 -0
  79. package/src/lib/config.ts +3 -3
  80. package/src/lib/encodings.ts +32 -4
  81. package/src/lib/files.ts +22 -0
  82. package/src/lib/sdks.ts +7 -5
  83. package/src/lib/security.ts +14 -2
  84. package/src/lib/url.ts +16 -14
  85. package/src/models/components/index.ts +1 -0
  86. package/src/models/components/leaderboardaccount.ts +26 -0
  87. package/src/models/components/previewaccount.ts +26 -0
  88. package/src/models/components/v1accountfriend.ts +26 -0
  89. package/src/models/components/v1accountleaderboardaccount.ts +26 -0
  90. package/src/models/components/v1adminupdateroleoverriderequestbody.ts +79 -0
  91. package/src/models/operations/accountgetbadgeheatmap.ts +42 -0
  92. package/src/models/operations/adminupdateroleoverride.ts +37 -0
  93. package/src/models/operations/index.ts +2 -0
  94. package/src/sdk/account.ts +15 -0
  95. package/src/sdk/admin.ts +15 -0
@@ -8,6 +8,7 @@ import * as openEnums from "../../types/enums.js";
8
8
  import { OpenEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import { Image, Image$inboundSchema } from "./image.js";
11
12
  import {
12
13
  LeaderboardCity,
13
14
  LeaderboardCity$inboundSchema,
@@ -40,6 +41,10 @@ export const PreviewAccountPrivacy = {
40
41
  export type PreviewAccountPrivacy = OpenEnum<typeof PreviewAccountPrivacy>;
41
42
 
42
43
  export type PreviewAccount = {
44
+ /**
45
+ * The animated avatar of the account
46
+ */
47
+ animatedAvatar: string;
43
48
  /**
44
49
  * The cost of an app
45
50
  *
@@ -54,6 +59,10 @@ export type PreviewAccount = {
54
59
  * The avatar hash of the account
55
60
  */
56
61
  avatar: string;
62
+ /**
63
+ * The avatar frame of the account
64
+ */
65
+ avatarFrame: string;
57
66
  /**
58
67
  * The number of awards the account has
59
68
  */
@@ -62,6 +71,10 @@ export type PreviewAccount = {
62
71
  * The number of awards the account has
63
72
  */
64
73
  awardsReceived: number;
74
+ /**
75
+ * The background of the account
76
+ */
77
+ background: string;
65
78
  /**
66
79
  * The number of badges the account has
67
80
  */
@@ -106,10 +119,18 @@ export type PreviewAccount = {
106
119
  * The number of game bans
107
120
  */
108
121
  gameBans: number;
122
+ /**
123
+ * The images of the account
124
+ */
125
+ images: Array<Image> | null;
109
126
  /**
110
127
  * The level of the account
111
128
  */
112
129
  level: number;
130
+ /**
131
+ * The mini background of the account
132
+ */
133
+ miniBackground: string;
113
134
  /**
114
135
  * The name of the account
115
136
  */
@@ -193,11 +214,14 @@ export const PreviewAccount$inboundSchema: z.ZodType<
193
214
  z.ZodTypeDef,
194
215
  unknown
195
216
  > = z.object({
217
+ animatedAvatar: z.string(),
196
218
  appCost: z.number().int(),
197
219
  apps: z.number().int(),
198
220
  avatar: z.string(),
221
+ avatarFrame: z.string(),
199
222
  awardsGiven: z.number().int(),
200
223
  awardsReceived: z.number().int(),
224
+ background: z.string(),
201
225
  badges: z.number().int(),
202
226
  bans: z.number().int(),
203
227
  city: z.nullable(LeaderboardCity$inboundSchema).optional(),
@@ -210,7 +234,9 @@ export const PreviewAccount$inboundSchema: z.ZodType<
210
234
  foilBadges: z.number().int(),
211
235
  friends: z.number().int(),
212
236
  gameBans: z.number().int(),
237
+ images: z.nullable(z.array(Image$inboundSchema)),
213
238
  level: z.number().int(),
239
+ miniBackground: z.string(),
214
240
  name: z.string(),
215
241
  normalBadgeCost: z.number().int(),
216
242
  normalBadges: z.number().int(),
@@ -8,6 +8,7 @@ import * as openEnums from "../../types/enums.js";
8
8
  import { OpenEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import { Image, Image$inboundSchema } from "./image.js";
11
12
  import {
12
13
  LeaderboardCity,
13
14
  LeaderboardCity$inboundSchema,
@@ -40,6 +41,10 @@ export const V1AccountFriendPrivacy = {
40
41
  export type V1AccountFriendPrivacy = OpenEnum<typeof V1AccountFriendPrivacy>;
41
42
 
42
43
  export type V1AccountFriend = {
44
+ /**
45
+ * The animated avatar of the account
46
+ */
47
+ animatedAvatar: string;
43
48
  /**
44
49
  * The cost of an app
45
50
  *
@@ -54,6 +59,10 @@ export type V1AccountFriend = {
54
59
  * The avatar hash of the account
55
60
  */
56
61
  avatar: string;
62
+ /**
63
+ * The avatar frame of the account
64
+ */
65
+ avatarFrame: string;
57
66
  /**
58
67
  * The number of awards the account has
59
68
  */
@@ -62,6 +71,10 @@ export type V1AccountFriend = {
62
71
  * The number of awards the account has
63
72
  */
64
73
  awardsReceived: number;
74
+ /**
75
+ * The background of the account
76
+ */
77
+ background: string;
65
78
  /**
66
79
  * The number of badges the account has
67
80
  */
@@ -103,10 +116,18 @@ export type V1AccountFriend = {
103
116
  * The number of game bans
104
117
  */
105
118
  gameBans: number;
119
+ /**
120
+ * The images of the account
121
+ */
122
+ images: Array<Image> | null;
106
123
  /**
107
124
  * The level of the account
108
125
  */
109
126
  level: number;
127
+ /**
128
+ * The mini background of the account
129
+ */
130
+ miniBackground: string;
110
131
  /**
111
132
  * The name of the account
112
133
  */
@@ -182,11 +203,14 @@ export const V1AccountFriend$inboundSchema: z.ZodType<
182
203
  z.ZodTypeDef,
183
204
  unknown
184
205
  > = z.object({
206
+ animatedAvatar: z.string(),
185
207
  appCost: z.number().int(),
186
208
  apps: z.number().int(),
187
209
  avatar: z.string(),
210
+ avatarFrame: z.string(),
188
211
  awardsGiven: z.number().int(),
189
212
  awardsReceived: z.number().int(),
213
+ background: z.string(),
190
214
  badges: z.number().int(),
191
215
  bans: z.number().int(),
192
216
  city: z.nullable(LeaderboardCity$inboundSchema).optional(),
@@ -201,7 +225,9 @@ export const V1AccountFriend$inboundSchema: z.ZodType<
201
225
  z.string().datetime({ offset: true }).transform(v => new Date(v)),
202
226
  ),
203
227
  gameBans: z.number().int(),
228
+ images: z.nullable(z.array(Image$inboundSchema)),
204
229
  level: z.number().int(),
230
+ miniBackground: z.string(),
205
231
  name: z.string(),
206
232
  normalBadgeCost: z.number().int(),
207
233
  normalBadges: z.number().int(),
@@ -12,6 +12,7 @@ import {
12
12
  AccountBadgeInfo,
13
13
  AccountBadgeInfo$inboundSchema,
14
14
  } from "./accountbadgeinfo.js";
15
+ import { Image, Image$inboundSchema } from "./image.js";
15
16
  import {
16
17
  LeaderboardCity,
17
18
  LeaderboardCity$inboundSchema,
@@ -46,6 +47,10 @@ export type V1AccountLeaderboardAccountPrivacy = OpenEnum<
46
47
  >;
47
48
 
48
49
  export type V1AccountLeaderboardAccount = {
50
+ /**
51
+ * The animated avatar of the account
52
+ */
53
+ animatedAvatar: string;
49
54
  /**
50
55
  * The cost of an app
51
56
  *
@@ -64,6 +69,10 @@ export type V1AccountLeaderboardAccount = {
64
69
  * The avatar hash of the account
65
70
  */
66
71
  avatar: string;
72
+ /**
73
+ * The avatar frame of the account
74
+ */
75
+ avatarFrame: string;
67
76
  /**
68
77
  * The number of awards the account has
69
78
  */
@@ -72,6 +81,10 @@ export type V1AccountLeaderboardAccount = {
72
81
  * The number of awards the account has
73
82
  */
74
83
  awardsReceived: number;
84
+ /**
85
+ * The background of the account
86
+ */
87
+ background: string;
75
88
  badgeInfo?: AccountBadgeInfo | null | undefined;
76
89
  /**
77
90
  * The number of badges the account has
@@ -113,10 +126,18 @@ export type V1AccountLeaderboardAccount = {
113
126
  * The number of game bans
114
127
  */
115
128
  gameBans: number;
129
+ /**
130
+ * The images of the account
131
+ */
132
+ images: Array<Image> | null;
116
133
  /**
117
134
  * The level of the account
118
135
  */
119
136
  level: number;
137
+ /**
138
+ * The mini background of the account
139
+ */
140
+ miniBackground: string;
120
141
  /**
121
142
  * The name of the account
122
143
  */
@@ -196,12 +217,15 @@ export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
196
217
  z.ZodTypeDef,
197
218
  unknown
198
219
  > = z.object({
220
+ animatedAvatar: z.string(),
199
221
  appCost: z.number().int(),
200
222
  appPlaytime: z.nullable(z.number().int()),
201
223
  apps: z.number().int(),
202
224
  avatar: z.string(),
225
+ avatarFrame: z.string(),
203
226
  awardsGiven: z.number().int(),
204
227
  awardsReceived: z.number().int(),
228
+ background: z.string(),
205
229
  badgeInfo: z.nullable(AccountBadgeInfo$inboundSchema).optional(),
206
230
  badges: z.number().int(),
207
231
  bans: z.number().int(),
@@ -214,7 +238,9 @@ export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
214
238
  foilBadges: z.number().int(),
215
239
  friends: z.number().int(),
216
240
  gameBans: z.number().int(),
241
+ images: z.nullable(z.array(Image$inboundSchema)),
217
242
  level: z.number().int(),
243
+ miniBackground: z.string(),
218
244
  name: z.string(),
219
245
  normalBadgeCost: z.number().int(),
220
246
  normalBadges: z.number().int(),
@@ -0,0 +1,79 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+ import {
8
+ IDSearch,
9
+ IDSearch$Outbound,
10
+ IDSearch$outboundSchema,
11
+ } from "./idsearch.js";
12
+ import {
13
+ VanitySearch,
14
+ VanitySearch$Outbound,
15
+ VanitySearch$outboundSchema,
16
+ } from "./vanitysearch.js";
17
+
18
+ /**
19
+ * The tier to set (tier_1, tier_2, tier_3, tier_mythic). Empty to remove override.
20
+ */
21
+ export const Tier = {
22
+ Tier1: "tier_1",
23
+ Tier2: "tier_2",
24
+ Tier3: "tier_3",
25
+ TierMythic: "tier_mythic",
26
+ Unknown: "",
27
+ } as const;
28
+ /**
29
+ * The tier to set (tier_1, tier_2, tier_3, tier_mythic). Empty to remove override.
30
+ */
31
+ export type Tier = ClosedEnum<typeof Tier>;
32
+
33
+ export type V1AdminUpdateRoleOverrideRequestBody = {
34
+ id?: IDSearch | undefined;
35
+ /**
36
+ * Reason for the override (e.g. PayPal donation, crypto donation)
37
+ */
38
+ reason?: string | undefined;
39
+ /**
40
+ * The tier to set (tier_1, tier_2, tier_3, tier_mythic). Empty to remove override.
41
+ */
42
+ tier?: Tier | undefined;
43
+ vanity?: VanitySearch | undefined;
44
+ };
45
+
46
+ /** @internal */
47
+ export const Tier$outboundSchema: z.ZodNativeEnum<typeof Tier> = z.nativeEnum(
48
+ Tier,
49
+ );
50
+
51
+ /** @internal */
52
+ export type V1AdminUpdateRoleOverrideRequestBody$Outbound = {
53
+ id?: IDSearch$Outbound | undefined;
54
+ reason?: string | undefined;
55
+ tier?: string | undefined;
56
+ vanity?: VanitySearch$Outbound | undefined;
57
+ };
58
+
59
+ /** @internal */
60
+ export const V1AdminUpdateRoleOverrideRequestBody$outboundSchema: z.ZodType<
61
+ V1AdminUpdateRoleOverrideRequestBody$Outbound,
62
+ z.ZodTypeDef,
63
+ V1AdminUpdateRoleOverrideRequestBody
64
+ > = z.object({
65
+ id: IDSearch$outboundSchema.optional(),
66
+ reason: z.string().optional(),
67
+ tier: Tier$outboundSchema.optional(),
68
+ vanity: VanitySearch$outboundSchema.optional(),
69
+ });
70
+
71
+ export function v1AdminUpdateRoleOverrideRequestBodyToJSON(
72
+ v1AdminUpdateRoleOverrideRequestBody: V1AdminUpdateRoleOverrideRequestBody,
73
+ ): string {
74
+ return JSON.stringify(
75
+ V1AdminUpdateRoleOverrideRequestBody$outboundSchema.parse(
76
+ v1AdminUpdateRoleOverrideRequestBody,
77
+ ),
78
+ );
79
+ }
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AccountGetBadgeHeatmapResponse = {
13
+ httpMeta: components.HTTPMetadata;
14
+ /**
15
+ * OK
16
+ */
17
+ object?: { [k: string]: number } | undefined;
18
+ };
19
+
20
+ /** @internal */
21
+ export const AccountGetBadgeHeatmapResponse$inboundSchema: z.ZodType<
22
+ AccountGetBadgeHeatmapResponse,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ HttpMeta: components.HTTPMetadata$inboundSchema,
27
+ object: z.record(z.number().int()).optional(),
28
+ }).transform((v) => {
29
+ return remap$(v, {
30
+ "HttpMeta": "httpMeta",
31
+ });
32
+ });
33
+
34
+ export function accountGetBadgeHeatmapResponseFromJSON(
35
+ jsonString: string,
36
+ ): SafeParseResult<AccountGetBadgeHeatmapResponse, SDKValidationError> {
37
+ return safeParse(
38
+ jsonString,
39
+ (x) => AccountGetBadgeHeatmapResponse$inboundSchema.parse(JSON.parse(x)),
40
+ `Failed to parse 'AccountGetBadgeHeatmapResponse' from JSON`,
41
+ );
42
+ }
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AdminUpdateRoleOverrideResponse = {
13
+ httpMeta: components.HTTPMetadata;
14
+ };
15
+
16
+ /** @internal */
17
+ export const AdminUpdateRoleOverrideResponse$inboundSchema: z.ZodType<
18
+ AdminUpdateRoleOverrideResponse,
19
+ z.ZodTypeDef,
20
+ unknown
21
+ > = z.object({
22
+ HttpMeta: components.HTTPMetadata$inboundSchema,
23
+ }).transform((v) => {
24
+ return remap$(v, {
25
+ "HttpMeta": "httpMeta",
26
+ });
27
+ });
28
+
29
+ export function adminUpdateRoleOverrideResponseFromJSON(
30
+ jsonString: string,
31
+ ): SafeParseResult<AdminUpdateRoleOverrideResponse, SDKValidationError> {
32
+ return safeParse(
33
+ jsonString,
34
+ (x) => AdminUpdateRoleOverrideResponse$inboundSchema.parse(JSON.parse(x)),
35
+ `Failed to parse 'AdminUpdateRoleOverrideResponse' from JSON`,
36
+ );
37
+ }
@@ -9,6 +9,7 @@ export * from "./accountdeleteconnection.js";
9
9
  export * from "./accountdeletedeveloperapp.js";
10
10
  export * from "./accountdeleteimages.js";
11
11
  export * from "./accountdeletesession.js";
12
+ export * from "./accountgetbadgeheatmap.js";
12
13
  export * from "./accountgetbadgestats.js";
13
14
  export * from "./accountgetdatapoints.js";
14
15
  export * from "./accountgetinfo.js";
@@ -44,6 +45,7 @@ export * from "./accountverifyemail.js";
44
45
  export * from "./admingetaccount.js";
45
46
  export * from "./adminremovevanity.js";
46
47
  export * from "./adminupdateresources.js";
48
+ export * from "./adminupdateroleoverride.js";
47
49
  export * from "./adminupdateroles.js";
48
50
  export * from "./applistbadges.js";
49
51
  export * from "./badgelisttags.js";
@@ -2,6 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { accountAccountGetBadgeHeatmap } from "../funcs/accountAccountGetBadgeHeatmap.js";
5
6
  import { accountAccountListOwnedGroups } from "../funcs/accountAccountListOwnedGroups.js";
6
7
  import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
7
8
  import { accountCreateConnection } from "../funcs/accountCreateConnection.js";
@@ -145,6 +146,20 @@ export class Account extends ClientSDK {
145
146
  ));
146
147
  }
147
148
 
149
+ /**
150
+ * Get monthly badge crafting counts for an account
151
+ */
152
+ async accountGetBadgeHeatmap(
153
+ request: components.AccountSearch,
154
+ options?: RequestOptions,
155
+ ): Promise<operations.AccountGetBadgeHeatmapResponse> {
156
+ return unwrapAsync(accountAccountGetBadgeHeatmap(
157
+ this,
158
+ request,
159
+ options,
160
+ ));
161
+ }
162
+
148
163
  /**
149
164
  * Get account badge statistics
150
165
  */
package/src/sdk/admin.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { adminAdminUpdateRoleOverride } from "../funcs/adminAdminUpdateRoleOverride.js";
5
6
  import { adminGetAccount } from "../funcs/adminGetAccount.js";
6
7
  import { adminRemoveVanity } from "../funcs/adminRemoveVanity.js";
7
8
  import { adminUpdateResources } from "../funcs/adminUpdateResources.js";
@@ -54,6 +55,20 @@ export class Admin extends ClientSDK {
54
55
  ));
55
56
  }
56
57
 
58
+ /**
59
+ * Set or remove a tier role override for an account
60
+ */
61
+ async adminUpdateRoleOverride(
62
+ request: components.V1AdminUpdateRoleOverrideRequestBody,
63
+ options?: RequestOptions,
64
+ ): Promise<operations.AdminUpdateRoleOverrideResponse> {
65
+ return unwrapAsync(adminAdminUpdateRoleOverride(
66
+ this,
67
+ request,
68
+ options,
69
+ ));
70
+ }
71
+
57
72
  /**
58
73
  * Update account roles
59
74
  */