@steamsets/client-ts 0.31.1 → 0.32.0

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 (144) hide show
  1. package/README.md +4 -4
  2. package/examples/package-lock.json +3 -3
  3. package/funcs/{accountAccountListInventorySets.d.ts → accountListInventorySets.d.ts} +2 -2
  4. package/funcs/accountListInventorySets.d.ts.map +1 -0
  5. package/funcs/{accountAccountListInventorySets.js → accountListInventorySets.js} +3 -3
  6. package/funcs/accountListInventorySets.js.map +1 -0
  7. package/funcs/{accountAccountRefreshInventory.d.ts → accountRefreshInventory.d.ts} +2 -2
  8. package/funcs/accountRefreshInventory.d.ts.map +1 -0
  9. package/funcs/{accountAccountRefreshInventory.js → accountRefreshInventory.js} +3 -3
  10. package/funcs/accountRefreshInventory.js.map +1 -0
  11. package/hooks/registration.d.ts +3 -0
  12. package/hooks/registration.d.ts.map +1 -0
  13. package/hooks/registration.js +15 -0
  14. package/hooks/registration.js.map +1 -0
  15. package/jsr.json +1 -1
  16. package/lib/config.d.ts +3 -3
  17. package/lib/config.js +3 -3
  18. package/lib/sdks.js +2 -2
  19. package/lib/sdks.js.map +1 -1
  20. package/models/components/accountleaderboardhistory.d.ts +3 -3
  21. package/models/components/accountleaderboardhistory.d.ts.map +1 -1
  22. package/models/components/accountleaderboardhistory.js +2 -1
  23. package/models/components/accountleaderboardhistory.js.map +1 -1
  24. package/models/components/badge.d.ts +4 -0
  25. package/models/components/badge.d.ts.map +1 -1
  26. package/models/components/badge.js +4 -0
  27. package/models/components/badge.js.map +1 -1
  28. package/models/components/bestleaderboardrank.d.ts +3 -3
  29. package/models/components/bestleaderboardrank.d.ts.map +1 -1
  30. package/models/components/bestleaderboardrank.js +2 -2
  31. package/models/components/bestleaderboardrank.js.map +1 -1
  32. package/models/components/chosenrole.d.ts +3 -3
  33. package/models/components/chosenrole.d.ts.map +1 -1
  34. package/models/components/chosenrole.js +2 -1
  35. package/models/components/chosenrole.js.map +1 -1
  36. package/models/components/connection.d.ts +3 -3
  37. package/models/components/connection.d.ts.map +1 -1
  38. package/models/components/connection.js +2 -1
  39. package/models/components/connection.js.map +1 -1
  40. package/models/components/developerapp.d.ts +3 -3
  41. package/models/components/developerapp.d.ts.map +1 -1
  42. package/models/components/developerapp.js +2 -1
  43. package/models/components/developerapp.js.map +1 -1
  44. package/models/components/developerappanalyticsoutcome.d.ts +3 -3
  45. package/models/components/developerappanalyticsoutcome.d.ts.map +1 -1
  46. package/models/components/developerappanalyticsoutcome.js +2 -2
  47. package/models/components/developerappanalyticsoutcome.js.map +1 -1
  48. package/models/components/image.d.ts +3 -3
  49. package/models/components/image.d.ts.map +1 -1
  50. package/models/components/image.js +2 -2
  51. package/models/components/image.js.map +1 -1
  52. package/models/components/leaderboardaccount.d.ts +3 -3
  53. package/models/components/leaderboardaccount.d.ts.map +1 -1
  54. package/models/components/leaderboardaccount.js +2 -1
  55. package/models/components/leaderboardaccount.js.map +1 -1
  56. package/models/components/previewaccount.d.ts +3 -3
  57. package/models/components/previewaccount.d.ts.map +1 -1
  58. package/models/components/previewaccount.js +2 -1
  59. package/models/components/previewaccount.js.map +1 -1
  60. package/models/components/resource.d.ts +4 -4
  61. package/models/components/resource.d.ts.map +1 -1
  62. package/models/components/resource.js +3 -2
  63. package/models/components/resource.js.map +1 -1
  64. package/models/components/role.d.ts +3 -3
  65. package/models/components/role.d.ts.map +1 -1
  66. package/models/components/role.js +2 -2
  67. package/models/components/role.js.map +1 -1
  68. package/models/components/v1accountfriend.d.ts +3 -3
  69. package/models/components/v1accountfriend.d.ts.map +1 -1
  70. package/models/components/v1accountfriend.js +2 -1
  71. package/models/components/v1accountfriend.js.map +1 -1
  72. package/models/components/v1accountgetinforesponsebody.d.ts +9 -9
  73. package/models/components/v1accountgetinforesponsebody.d.ts.map +1 -1
  74. package/models/components/v1accountgetinforesponsebody.js +5 -6
  75. package/models/components/v1accountgetinforesponsebody.js.map +1 -1
  76. package/models/components/v1accountgetsettingsbody.d.ts +15 -3
  77. package/models/components/v1accountgetsettingsbody.d.ts.map +1 -1
  78. package/models/components/v1accountgetsettingsbody.js +5 -1
  79. package/models/components/v1accountgetsettingsbody.js.map +1 -1
  80. package/models/components/v1accountleaderboardaccount.d.ts +3 -3
  81. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
  82. package/models/components/v1accountleaderboardaccount.js +2 -1
  83. package/models/components/v1accountleaderboardaccount.js.map +1 -1
  84. package/models/components/v1accountupdatesettingsrequestbody.d.ts +5 -0
  85. package/models/components/v1accountupdatesettingsrequestbody.d.ts.map +1 -1
  86. package/models/components/v1accountupdatesettingsrequestbody.js +1 -0
  87. package/models/components/v1accountupdatesettingsrequestbody.js.map +1 -1
  88. package/models/components/v1admingetaccountresponsebody.d.ts +3 -3
  89. package/models/components/v1admingetaccountresponsebody.d.ts.map +1 -1
  90. package/models/components/v1admingetaccountresponsebody.js +2 -1
  91. package/models/components/v1admingetaccountresponsebody.js.map +1 -1
  92. package/models/components/v1groupleaderboardgroup.d.ts +3 -3
  93. package/models/components/v1groupleaderboardgroup.d.ts.map +1 -1
  94. package/models/components/v1groupleaderboardgroup.js +2 -1
  95. package/models/components/v1groupleaderboardgroup.js.map +1 -1
  96. package/models/operations/locationgetlocations.d.ts +0 -3
  97. package/models/operations/locationgetlocations.d.ts.map +1 -1
  98. package/models/operations/locationgetlocations.js +0 -2
  99. package/models/operations/locationgetlocations.js.map +1 -1
  100. package/models/operations/staffliststaff.d.ts +0 -3
  101. package/models/operations/staffliststaff.d.ts.map +1 -1
  102. package/models/operations/staffliststaff.js +0 -2
  103. package/models/operations/staffliststaff.js.map +1 -1
  104. package/models/operations/statsgetstats.d.ts +0 -3
  105. package/models/operations/statsgetstats.d.ts.map +1 -1
  106. package/models/operations/statsgetstats.js +0 -2
  107. package/models/operations/statsgetstats.js.map +1 -1
  108. package/package.json +3 -3
  109. package/sdk/account.d.ts +2 -2
  110. package/sdk/account.d.ts.map +1 -1
  111. package/sdk/account.js +6 -6
  112. package/sdk/account.js.map +1 -1
  113. package/src/funcs/{accountAccountListInventorySets.ts → accountListInventorySets.ts} +1 -1
  114. package/src/funcs/{accountAccountRefreshInventory.ts → accountRefreshInventory.ts} +1 -1
  115. package/src/hooks/registration.ts +14 -0
  116. package/src/lib/config.ts +3 -3
  117. package/src/lib/sdks.ts +2 -2
  118. package/src/models/components/accountleaderboardhistory.ts +8 -6
  119. package/src/models/components/badge.ts +8 -0
  120. package/src/models/components/bestleaderboardrank.ts +8 -4
  121. package/src/models/components/chosenrole.ts +8 -5
  122. package/src/models/components/connection.ts +8 -5
  123. package/src/models/components/developerapp.ts +8 -7
  124. package/src/models/components/developerappanalyticsoutcome.ts +5 -4
  125. package/src/models/components/image.ts +8 -4
  126. package/src/models/components/leaderboardaccount.ts +8 -5
  127. package/src/models/components/previewaccount.ts +8 -5
  128. package/src/models/components/resource.ts +13 -8
  129. package/src/models/components/role.ts +8 -4
  130. package/src/models/components/v1accountfriend.ts +8 -5
  131. package/src/models/components/v1accountgetinforesponsebody.ts +23 -15
  132. package/src/models/components/v1accountgetsettingsbody.ts +23 -5
  133. package/src/models/components/v1accountleaderboardaccount.ts +8 -5
  134. package/src/models/components/v1accountupdatesettingsrequestbody.ts +6 -0
  135. package/src/models/components/v1admingetaccountresponsebody.ts +8 -6
  136. package/src/models/components/v1groupleaderboardgroup.ts +8 -5
  137. package/src/models/operations/locationgetlocations.ts +0 -3
  138. package/src/models/operations/staffliststaff.ts +0 -3
  139. package/src/models/operations/statsgetstats.ts +0 -3
  140. package/src/sdk/account.ts +6 -6
  141. package/funcs/accountAccountListInventorySets.d.ts.map +0 -1
  142. package/funcs/accountAccountListInventorySets.js.map +0 -1
  143. package/funcs/accountAccountRefreshInventory.d.ts.map +0 -1
  144. package/funcs/accountAccountRefreshInventory.js.map +0 -1
@@ -5,7 +5,8 @@
5
5
  import * as z from "zod/v3";
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";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { OpenEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
  import {
@@ -43,7 +44,7 @@ export const AppPrivacy = {
43
44
  /**
44
45
  * The privacy of the account
45
46
  */
46
- export type AppPrivacy = ClosedEnum<typeof AppPrivacy>;
47
+ export type AppPrivacy = OpenEnum<typeof AppPrivacy>;
47
48
 
48
49
  /**
49
50
  * The privacy of the account
@@ -56,7 +57,7 @@ export const FriendPrivacy = {
56
57
  /**
57
58
  * The privacy of the account
58
59
  */
59
- export type FriendPrivacy = ClosedEnum<typeof FriendPrivacy>;
60
+ export type FriendPrivacy = OpenEnum<typeof FriendPrivacy>;
60
61
 
61
62
  export const LastQueueStatus = {
62
63
  Undefined: "undefined",
@@ -64,7 +65,7 @@ export const LastQueueStatus = {
64
65
  InProgress: "in_progress",
65
66
  Completed: "completed",
66
67
  } as const;
67
- export type LastQueueStatus = ClosedEnum<typeof LastQueueStatus>;
68
+ export type LastQueueStatus = OpenEnum<typeof LastQueueStatus>;
68
69
 
69
70
  /**
70
71
  * The privacy of the account
@@ -77,7 +78,7 @@ export const Privacy = {
77
78
  /**
78
79
  * The privacy of the account
79
80
  */
80
- export type Privacy = ClosedEnum<typeof Privacy>;
81
+ export type Privacy = OpenEnum<typeof Privacy>;
81
82
 
82
83
  export type V1AccountGetInfoResponseBody = {
83
84
  /**
@@ -282,22 +283,29 @@ export type V1AccountGetInfoResponseBody = {
282
283
  };
283
284
 
284
285
  /** @internal */
285
- export const AppPrivacy$inboundSchema: z.ZodNativeEnum<typeof AppPrivacy> = z
286
- .nativeEnum(AppPrivacy);
286
+ export const AppPrivacy$inboundSchema: z.ZodType<
287
+ AppPrivacy,
288
+ z.ZodTypeDef,
289
+ unknown
290
+ > = openEnums.inboundSchema(AppPrivacy);
287
291
 
288
292
  /** @internal */
289
- export const FriendPrivacy$inboundSchema: z.ZodNativeEnum<
290
- typeof FriendPrivacy
291
- > = z.nativeEnum(FriendPrivacy);
293
+ export const FriendPrivacy$inboundSchema: z.ZodType<
294
+ FriendPrivacy,
295
+ z.ZodTypeDef,
296
+ unknown
297
+ > = openEnums.inboundSchema(FriendPrivacy);
292
298
 
293
299
  /** @internal */
294
- export const LastQueueStatus$inboundSchema: z.ZodNativeEnum<
295
- typeof LastQueueStatus
296
- > = z.nativeEnum(LastQueueStatus);
300
+ export const LastQueueStatus$inboundSchema: z.ZodType<
301
+ LastQueueStatus,
302
+ z.ZodTypeDef,
303
+ unknown
304
+ > = openEnums.inboundSchema(LastQueueStatus);
297
305
 
298
306
  /** @internal */
299
- export const Privacy$inboundSchema: z.ZodNativeEnum<typeof Privacy> = z
300
- .nativeEnum(Privacy);
307
+ export const Privacy$inboundSchema: z.ZodType<Privacy, z.ZodTypeDef, unknown> =
308
+ openEnums.inboundSchema(Privacy);
301
309
 
302
310
  /** @internal */
303
311
  export const V1AccountGetInfoResponseBody$inboundSchema: z.ZodType<
@@ -5,7 +5,8 @@
5
5
  import * as z from "zod/v3";
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";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { OpenEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
  import { ChosenRole, ChosenRole$inboundSchema } from "./chosenrole.js";
@@ -33,7 +34,7 @@ export const V1AccountGetSettingsBodyPrivacy = {
33
34
  /**
34
35
  * The privacy of the account
35
36
  */
36
- export type V1AccountGetSettingsBodyPrivacy = ClosedEnum<
37
+ export type V1AccountGetSettingsBodyPrivacy = OpenEnum<
37
38
  typeof V1AccountGetSettingsBodyPrivacy
38
39
  >;
39
40
 
@@ -48,6 +49,18 @@ export type V1AccountGetSettingsBody = {
48
49
  * The connections the account has
49
50
  */
50
51
  connections: Array<Connection> | null;
52
+ /**
53
+ * The country ID override for the account
54
+ */
55
+ countryOverride?: number | null | undefined;
56
+ /**
57
+ * The code of the override country
58
+ */
59
+ countryOverrideCode?: string | null | undefined;
60
+ /**
61
+ * The name of the override country
62
+ */
63
+ countryOverrideName?: string | null | undefined;
51
64
  /**
52
65
  * The developer apps the account has
53
66
  */
@@ -94,9 +107,11 @@ export type V1AccountGetSettingsBody = {
94
107
  };
95
108
 
96
109
  /** @internal */
97
- export const V1AccountGetSettingsBodyPrivacy$inboundSchema: z.ZodNativeEnum<
98
- typeof V1AccountGetSettingsBodyPrivacy
99
- > = z.nativeEnum(V1AccountGetSettingsBodyPrivacy);
110
+ export const V1AccountGetSettingsBodyPrivacy$inboundSchema: z.ZodType<
111
+ V1AccountGetSettingsBodyPrivacy,
112
+ z.ZodTypeDef,
113
+ unknown
114
+ > = openEnums.inboundSchema(V1AccountGetSettingsBodyPrivacy);
100
115
 
101
116
  /** @internal */
102
117
  export const V1AccountGetSettingsBody$inboundSchema: z.ZodType<
@@ -108,6 +123,9 @@ export const V1AccountGetSettingsBody$inboundSchema: z.ZodType<
108
123
  analytics: DeveloperAppAnalytics$inboundSchema.optional(),
109
124
  chosenRole: z.nullable(ChosenRole$inboundSchema),
110
125
  connections: z.nullable(z.array(Connection$inboundSchema)),
126
+ countryOverride: z.nullable(z.number().int()).optional(),
127
+ countryOverrideCode: z.nullable(z.string()).optional(),
128
+ countryOverrideName: z.nullable(z.string()).optional(),
111
129
  developerApps: z.nullable(z.array(DeveloperApp$inboundSchema)),
112
130
  email: z.string(),
113
131
  emailVerifiedAt: z.nullable(
@@ -4,7 +4,8 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
- import { ClosedEnum } from "../../types/enums.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../../types/fp.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
  import {
@@ -40,7 +41,7 @@ export const V1AccountLeaderboardAccountPrivacy = {
40
41
  /**
41
42
  * The privacy of the account
42
43
  */
43
- export type V1AccountLeaderboardAccountPrivacy = ClosedEnum<
44
+ export type V1AccountLeaderboardAccountPrivacy = OpenEnum<
44
45
  typeof V1AccountLeaderboardAccountPrivacy
45
46
  >;
46
47
 
@@ -183,9 +184,11 @@ export type V1AccountLeaderboardAccount = {
183
184
  };
184
185
 
185
186
  /** @internal */
186
- export const V1AccountLeaderboardAccountPrivacy$inboundSchema: z.ZodNativeEnum<
187
- typeof V1AccountLeaderboardAccountPrivacy
188
- > = z.nativeEnum(V1AccountLeaderboardAccountPrivacy);
187
+ export const V1AccountLeaderboardAccountPrivacy$inboundSchema: z.ZodType<
188
+ V1AccountLeaderboardAccountPrivacy,
189
+ z.ZodTypeDef,
190
+ unknown
191
+ > = openEnums.inboundSchema(V1AccountLeaderboardAccountPrivacy);
189
192
 
190
193
  /** @internal */
191
194
  export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
@@ -5,6 +5,10 @@
5
5
  import * as z from "zod/v3";
6
6
 
7
7
  export type V1AccountUpdateSettingsRequestBody = {
8
+ /**
9
+ * The country ID to override the Steam country with, null to clear
10
+ */
11
+ countryOverride?: number | null | undefined;
8
12
  /**
9
13
  * The email the account should use, only if the account is private
10
14
  */
@@ -25,6 +29,7 @@ export type V1AccountUpdateSettingsRequestBody = {
25
29
 
26
30
  /** @internal */
27
31
  export type V1AccountUpdateSettingsRequestBody$Outbound = {
32
+ countryOverride?: number | null | undefined;
28
33
  email?: string | null | undefined;
29
34
  hidden: boolean;
30
35
  language: string;
@@ -37,6 +42,7 @@ export const V1AccountUpdateSettingsRequestBody$outboundSchema: z.ZodType<
37
42
  z.ZodTypeDef,
38
43
  V1AccountUpdateSettingsRequestBody
39
44
  > = z.object({
45
+ countryOverride: z.nullable(z.number().int()).optional(),
40
46
  email: z.nullable(z.string()).optional(),
41
47
  hidden: z.boolean(),
42
48
  language: z.string(),
@@ -5,7 +5,8 @@
5
5
  import * as z from "zod/v3";
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";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { OpenEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
  import { Connection, Connection$inboundSchema } from "./connection.js";
@@ -37,7 +38,7 @@ export const V1AdminGetAccountResponseBodyPrivacy = {
37
38
  /**
38
39
  * The privacy of the account
39
40
  */
40
- export type V1AdminGetAccountResponseBodyPrivacy = ClosedEnum<
41
+ export type V1AdminGetAccountResponseBodyPrivacy = OpenEnum<
41
42
  typeof V1AdminGetAccountResponseBodyPrivacy
42
43
  >;
43
44
 
@@ -117,10 +118,11 @@ export type V1AdminGetAccountResponseBody = {
117
118
  };
118
119
 
119
120
  /** @internal */
120
- export const V1AdminGetAccountResponseBodyPrivacy$inboundSchema:
121
- z.ZodNativeEnum<typeof V1AdminGetAccountResponseBodyPrivacy> = z.nativeEnum(
122
- V1AdminGetAccountResponseBodyPrivacy,
123
- );
121
+ export const V1AdminGetAccountResponseBodyPrivacy$inboundSchema: z.ZodType<
122
+ V1AdminGetAccountResponseBodyPrivacy,
123
+ z.ZodTypeDef,
124
+ unknown
125
+ > = openEnums.inboundSchema(V1AdminGetAccountResponseBodyPrivacy);
124
126
 
125
127
  /** @internal */
126
128
  export const V1AdminGetAccountResponseBody$inboundSchema: z.ZodType<
@@ -4,7 +4,8 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
- import { ClosedEnum } from "../../types/enums.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../../types/fp.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
  import {
@@ -24,7 +25,7 @@ export const V1GroupLeaderboardGroupPrivacy = {
24
25
  /**
25
26
  * The privacy of the group
26
27
  */
27
- export type V1GroupLeaderboardGroupPrivacy = ClosedEnum<
28
+ export type V1GroupLeaderboardGroupPrivacy = OpenEnum<
28
29
  typeof V1GroupLeaderboardGroupPrivacy
29
30
  >;
30
31
 
@@ -69,9 +70,11 @@ export type V1GroupLeaderboardGroup = {
69
70
  };
70
71
 
71
72
  /** @internal */
72
- export const V1GroupLeaderboardGroupPrivacy$inboundSchema: z.ZodNativeEnum<
73
- typeof V1GroupLeaderboardGroupPrivacy
74
- > = z.nativeEnum(V1GroupLeaderboardGroupPrivacy);
73
+ export const V1GroupLeaderboardGroupPrivacy$inboundSchema: z.ZodType<
74
+ V1GroupLeaderboardGroupPrivacy,
75
+ z.ZodTypeDef,
76
+ unknown
77
+ > = openEnums.inboundSchema(V1GroupLeaderboardGroupPrivacy);
75
78
 
76
79
  /** @internal */
77
80
  export const V1GroupLeaderboardGroup$inboundSchema: z.ZodType<
@@ -15,7 +15,6 @@ export type LocationGetLocationsResponse = {
15
15
  * OK
16
16
  */
17
17
  regions?: Array<components.Region> | null | undefined;
18
- headers: { [k: string]: Array<string> };
19
18
  };
20
19
 
21
20
  /** @internal */
@@ -26,12 +25,10 @@ export const LocationGetLocationsResponse$inboundSchema: z.ZodType<
26
25
  > = z.object({
27
26
  HttpMeta: components.HTTPMetadata$inboundSchema,
28
27
  Regions: z.nullable(z.array(components.Region$inboundSchema)).optional(),
29
- Headers: z.record(z.array(z.string())).default({}),
30
28
  }).transform((v) => {
31
29
  return remap$(v, {
32
30
  "HttpMeta": "httpMeta",
33
31
  "Regions": "regions",
34
- "Headers": "headers",
35
32
  });
36
33
  });
37
34
 
@@ -18,7 +18,6 @@ export type StaffListStaffResponse = {
18
18
  | Array<components.LeaderboardAccount | null>
19
19
  | null
20
20
  | undefined;
21
- headers: { [k: string]: Array<string> };
22
21
  };
23
22
 
24
23
  /** @internal */
@@ -31,12 +30,10 @@ export const StaffListStaffResponse$inboundSchema: z.ZodType<
31
30
  LeaderboardAccounts: z.nullable(
32
31
  z.array(z.nullable(components.LeaderboardAccount$inboundSchema)),
33
32
  ).optional(),
34
- Headers: z.record(z.array(z.string())).default({}),
35
33
  }).transform((v) => {
36
34
  return remap$(v, {
37
35
  "HttpMeta": "httpMeta",
38
36
  "LeaderboardAccounts": "leaderboardAccounts",
39
- "Headers": "headers",
40
37
  });
41
38
  });
42
39
 
@@ -15,7 +15,6 @@ export type StatsGetStatsResponse = {
15
15
  * OK
16
16
  */
17
17
  v1Stats?: components.V1Stats | undefined;
18
- headers: { [k: string]: Array<string> };
19
18
  };
20
19
 
21
20
  /** @internal */
@@ -26,12 +25,10 @@ export const StatsGetStatsResponse$inboundSchema: z.ZodType<
26
25
  > = z.object({
27
26
  HttpMeta: components.HTTPMetadata$inboundSchema,
28
27
  V1Stats: components.V1Stats$inboundSchema.optional(),
29
- Headers: z.record(z.array(z.string())).default({}),
30
28
  }).transform((v) => {
31
29
  return remap$(v, {
32
30
  "HttpMeta": "httpMeta",
33
31
  "V1Stats": "v1Stats",
34
- "Headers": "headers",
35
32
  });
36
33
  });
37
34
 
@@ -2,8 +2,6 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { accountAccountListInventorySets } from "../funcs/accountAccountListInventorySets.js";
6
- import { accountAccountRefreshInventory } from "../funcs/accountAccountRefreshInventory.js";
7
5
  import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
8
6
  import { accountCreateConnection } from "../funcs/accountCreateConnection.js";
9
7
  import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
@@ -22,12 +20,14 @@ import { accountListBadgeBookmarks } from "../funcs/accountListBadgeBookmarks.js
22
20
  import { accountListBadges } from "../funcs/accountListBadges.js";
23
21
  import { accountListFriends } from "../funcs/accountListFriends.js";
24
22
  import { accountListImages } from "../funcs/accountListImages.js";
23
+ import { accountListInventorySets } from "../funcs/accountListInventorySets.js";
25
24
  import { accountListLeaderboardHistory } from "../funcs/accountListLeaderboardHistory.js";
26
25
  import { accountListOwnedBadges } from "../funcs/accountListOwnedBadges.js";
27
26
  import { accountLogin } from "../funcs/accountLogin.js";
28
27
  import { accountLogout } from "../funcs/accountLogout.js";
29
28
  import { accountQueueUpdate } from "../funcs/accountQueueUpdate.js";
30
29
  import { accountReconnectConnection } from "../funcs/accountReconnectConnection.js";
30
+ import { accountRefreshInventory } from "../funcs/accountRefreshInventory.js";
31
31
  import { accountRefreshSession } from "../funcs/accountRefreshSession.js";
32
32
  import { accountSendEmailVerification } from "../funcs/accountSendEmailVerification.js";
33
33
  import { accountSubscribeEmail } from "../funcs/accountSubscribeEmail.js";
@@ -296,10 +296,10 @@ export class Account extends ClientSDK {
296
296
  * @remarks
297
297
  * Get all trading card sets with ownership information for the authenticated user
298
298
  */
299
- async accountListInventorySets(
299
+ async listInventorySets(
300
300
  options?: RequestOptions,
301
301
  ): Promise<operations.AccountListInventorySetsResponse> {
302
- return unwrapAsync(accountAccountListInventorySets(
302
+ return unwrapAsync(accountListInventorySets(
303
303
  this,
304
304
  options,
305
305
  ));
@@ -391,10 +391,10 @@ export class Account extends ClientSDK {
391
391
  * @remarks
392
392
  * Trigger a refresh of the authenticated user's Steam inventory. Rate limited based on account tier.
393
393
  */
394
- async accountRefreshInventory(
394
+ async refreshInventory(
395
395
  options?: RequestOptions,
396
396
  ): Promise<operations.AccountRefreshInventoryResponse> {
397
- return unwrapAsync(accountAccountRefreshInventory(
397
+ return unwrapAsync(accountRefreshInventory(
398
398
  this,
399
399
  options,
400
400
  ));
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountListInventorySets.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountListInventorySets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,gCAAgC,EACzC,MAAM,CAAC,UAAU,GACjB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountListInventorySets.js","sourceRoot":"","sources":["../src/funcs/accountAccountListInventorySets.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,0EAqBC;AA/CD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,+BAA+B,CAC7C,MAAqB,EACrB,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,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EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,+BAA+B,EACxC,MAAM,CAAC,UAAU,GACjB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountRefreshInventory.js","sourceRoot":"","sources":["../src/funcs/accountAccountRefreshInventory.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,wEAqBC;AA/CD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,8BAA8B,CAC5C,MAAqB,EACrB,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAwB;IAkBxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,8BAA8B,CAAC,EAAE,CAAC;IAE1D,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,MAAM,IAAA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