@steamsets/client-ts 0.27.10 → 0.28.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 (218) hide show
  1. package/README.md +0 -20
  2. package/docs/sdks/account/README.md +0 -90
  3. package/docs/sdks/badge/README.md +0 -72
  4. package/examples/accountBookmarkBadge.example.ts +1 -1
  5. package/examples/package-lock.json +1 -1
  6. package/jsr.json +1 -1
  7. package/lib/config.d.ts +3 -3
  8. package/lib/config.js +3 -3
  9. package/lib/config.js.map +1 -1
  10. package/models/components/index.d.ts +0 -18
  11. package/models/components/index.d.ts.map +1 -1
  12. package/models/components/index.js +0 -18
  13. package/models/components/index.js.map +1 -1
  14. package/models/components/v1accountlistbadgesrequestbody.d.ts +8 -8
  15. package/models/components/v1accountlistbadgesrequestbody.d.ts.map +1 -1
  16. package/models/components/v1accountlistbadgesrequestbody.js +14 -13
  17. package/models/components/v1accountlistbadgesrequestbody.js.map +1 -1
  18. package/models/components/v1apporder.d.ts +16 -16
  19. package/models/components/v1apporder.d.ts.map +1 -1
  20. package/models/components/v1apporder.js +26 -25
  21. package/models/components/v1apporder.js.map +1 -1
  22. package/models/operations/index.d.ts +0 -7
  23. package/models/operations/index.d.ts.map +1 -1
  24. package/models/operations/index.js +0 -7
  25. package/models/operations/index.js.map +1 -1
  26. package/package.json +1 -1
  27. package/sdk/account.d.ts +0 -4
  28. package/sdk/account.d.ts.map +1 -1
  29. package/sdk/account.js +0 -7
  30. package/sdk/account.js.map +1 -1
  31. package/sdk/badge.d.ts +0 -4
  32. package/sdk/badge.d.ts.map +1 -1
  33. package/sdk/badge.js +0 -7
  34. package/sdk/badge.js.map +1 -1
  35. package/sdk/sdk.d.ts +2 -8
  36. package/sdk/sdk.d.ts.map +1 -1
  37. package/sdk/sdk.js +3 -11
  38. package/sdk/sdk.js.map +1 -1
  39. package/src/lib/config.ts +3 -3
  40. package/src/models/components/index.ts +0 -18
  41. package/src/models/components/v1accountlistbadgesrequestbody.ts +14 -25
  42. package/src/models/components/v1apporder.ts +26 -30
  43. package/src/models/operations/index.ts +0 -7
  44. package/src/sdk/account.ts +0 -15
  45. package/src/sdk/badge.ts +0 -15
  46. package/src/sdk/sdk.ts +5 -17
  47. package/docs/sdks/admin/README.md +0 -315
  48. package/docs/sdks/liveness/README.md +0 -99
  49. package/funcs/accountCompareBadges.d.ts +0 -16
  50. package/funcs/accountCompareBadges.d.ts.map +0 -1
  51. package/funcs/accountCompareBadges.js +0 -133
  52. package/funcs/accountCompareBadges.js.map +0 -1
  53. package/funcs/adminGetAccount.d.ts +0 -16
  54. package/funcs/adminGetAccount.d.ts.map +0 -1
  55. package/funcs/adminGetAccount.js +0 -133
  56. package/funcs/adminGetAccount.js.map +0 -1
  57. package/funcs/adminRemoveVanity.d.ts +0 -16
  58. package/funcs/adminRemoveVanity.d.ts.map +0 -1
  59. package/funcs/adminRemoveVanity.js +0 -133
  60. package/funcs/adminRemoveVanity.js.map +0 -1
  61. package/funcs/adminUpdateResources.d.ts +0 -16
  62. package/funcs/adminUpdateResources.d.ts.map +0 -1
  63. package/funcs/adminUpdateResources.js +0 -131
  64. package/funcs/adminUpdateResources.js.map +0 -1
  65. package/funcs/adminUpdateRoles.d.ts +0 -16
  66. package/funcs/adminUpdateRoles.d.ts.map +0 -1
  67. package/funcs/adminUpdateRoles.js +0 -131
  68. package/funcs/adminUpdateRoles.js.map +0 -1
  69. package/funcs/badgeBadgeListAccounts.d.ts +0 -16
  70. package/funcs/badgeBadgeListAccounts.d.ts.map +0 -1
  71. package/funcs/badgeBadgeListAccounts.js +0 -133
  72. package/funcs/badgeBadgeListAccounts.js.map +0 -1
  73. package/funcs/livenessCheck.d.ts +0 -37
  74. package/funcs/livenessCheck.d.ts.map +0 -1
  75. package/funcs/livenessCheck.js +0 -144
  76. package/funcs/livenessCheck.js.map +0 -1
  77. package/models/components/historyvalue.d.ts +0 -37
  78. package/models/components/historyvalue.d.ts.map +0 -1
  79. package/models/components/historyvalue.js +0 -71
  80. package/models/components/historyvalue.js.map +0 -1
  81. package/models/components/v1accountcompare.d.ts +0 -72
  82. package/models/components/v1accountcompare.d.ts.map +0 -1
  83. package/models/components/v1accountcompare.js +0 -94
  84. package/models/components/v1accountcompare.js.map +0 -1
  85. package/models/components/v1accountcomparebadgeorder.d.ts +0 -88
  86. package/models/components/v1accountcomparebadgeorder.d.ts.map +0 -1
  87. package/models/components/v1accountcomparebadgeorder.js +0 -112
  88. package/models/components/v1accountcomparebadgeorder.js.map +0 -1
  89. package/models/components/v1accountcomparebadgesrequestbody.d.ts +0 -99
  90. package/models/components/v1accountcomparebadgesrequestbody.d.ts.map +0 -1
  91. package/models/components/v1accountcomparebadgesrequestbody.js +0 -133
  92. package/models/components/v1accountcomparebadgesrequestbody.js.map +0 -1
  93. package/models/components/v1accountcomparebadgesresponsebody.d.ts +0 -45
  94. package/models/components/v1accountcomparebadgesresponsebody.d.ts.map +0 -1
  95. package/models/components/v1accountcomparebadgesresponsebody.js +0 -85
  96. package/models/components/v1accountcomparebadgesresponsebody.js.map +0 -1
  97. package/models/components/v1accountcomparedappbadge.d.ts +0 -73
  98. package/models/components/v1accountcomparedappbadge.d.ts.map +0 -1
  99. package/models/components/v1accountcomparedappbadge.js +0 -93
  100. package/models/components/v1accountcomparedappbadge.js.map +0 -1
  101. package/models/components/v1accountlocationupdate.d.ts +0 -43
  102. package/models/components/v1accountlocationupdate.d.ts.map +0 -1
  103. package/models/components/v1accountlocationupdate.js +0 -80
  104. package/models/components/v1accountlocationupdate.js.map +0 -1
  105. package/models/components/v1accountnameupdate.d.ts +0 -35
  106. package/models/components/v1accountnameupdate.d.ts.map +0 -1
  107. package/models/components/v1accountnameupdate.js +0 -72
  108. package/models/components/v1accountnameupdate.js.map +0 -1
  109. package/models/components/v1accountvanityupdate.d.ts +0 -35
  110. package/models/components/v1accountvanityupdate.d.ts.map +0 -1
  111. package/models/components/v1accountvanityupdate.js +0 -72
  112. package/models/components/v1accountvanityupdate.js.map +0 -1
  113. package/models/components/v1admingetaccountresponsebody.d.ts +0 -160
  114. package/models/components/v1admingetaccountresponsebody.d.ts.map +0 -1
  115. package/models/components/v1admingetaccountresponsebody.js +0 -143
  116. package/models/components/v1admingetaccountresponsebody.js.map +0 -1
  117. package/models/components/v1adminremovevanityresponsebody.d.ts +0 -32
  118. package/models/components/v1adminremovevanityresponsebody.d.ts.map +0 -1
  119. package/models/components/v1adminremovevanityresponsebody.js +0 -78
  120. package/models/components/v1adminremovevanityresponsebody.js.map +0 -1
  121. package/models/components/v1adminupdateresourcesrequestbody.d.ts +0 -39
  122. package/models/components/v1adminupdateresourcesrequestbody.d.ts.map +0 -1
  123. package/models/components/v1adminupdateresourcesrequestbody.js +0 -76
  124. package/models/components/v1adminupdateresourcesrequestbody.js.map +0 -1
  125. package/models/components/v1adminupdaterolesrequestbody.d.ts +0 -112
  126. package/models/components/v1adminupdaterolesrequestbody.d.ts.map +0 -1
  127. package/models/components/v1adminupdaterolesrequestbody.js +0 -111
  128. package/models/components/v1adminupdaterolesrequestbody.js.map +0 -1
  129. package/models/components/v1badgeaccount.d.ts +0 -229
  130. package/models/components/v1badgeaccount.d.ts.map +0 -1
  131. package/models/components/v1badgeaccount.js +0 -164
  132. package/models/components/v1badgeaccount.js.map +0 -1
  133. package/models/components/v1badgelistaccountsrequestbody.d.ts +0 -32
  134. package/models/components/v1badgelistaccountsrequestbody.d.ts.map +0 -1
  135. package/models/components/v1badgelistaccountsrequestbody.js +0 -72
  136. package/models/components/v1badgelistaccountsrequestbody.js.map +0 -1
  137. package/models/components/v1badgelistaccountsresponsebody.d.ts +0 -40
  138. package/models/components/v1badgelistaccountsresponsebody.d.ts.map +0 -1
  139. package/models/components/v1badgelistaccountsresponsebody.js +0 -86
  140. package/models/components/v1badgelistaccountsresponsebody.js.map +0 -1
  141. package/models/components/v1badgelookup.d.ts +0 -33
  142. package/models/components/v1badgelookup.d.ts.map +0 -1
  143. package/models/components/v1badgelookup.js +0 -73
  144. package/models/components/v1badgelookup.js.map +0 -1
  145. package/models/components/v1livenessresponsebody.d.ts +0 -37
  146. package/models/components/v1livenessresponsebody.d.ts.map +0 -1
  147. package/models/components/v1livenessresponsebody.js +0 -80
  148. package/models/components/v1livenessresponsebody.js.map +0 -1
  149. package/models/operations/accountcomparebadges.d.ts +0 -35
  150. package/models/operations/accountcomparebadges.d.ts.map +0 -1
  151. package/models/operations/accountcomparebadges.js +0 -85
  152. package/models/operations/accountcomparebadges.js.map +0 -1
  153. package/models/operations/admingetaccount.d.ts +0 -35
  154. package/models/operations/admingetaccount.d.ts.map +0 -1
  155. package/models/operations/admingetaccount.js +0 -85
  156. package/models/operations/admingetaccount.js.map +0 -1
  157. package/models/operations/adminremovevanity.d.ts +0 -35
  158. package/models/operations/adminremovevanity.d.ts.map +0 -1
  159. package/models/operations/adminremovevanity.js +0 -85
  160. package/models/operations/adminremovevanity.js.map +0 -1
  161. package/models/operations/adminupdateresources.d.ts +0 -30
  162. package/models/operations/adminupdateresources.d.ts.map +0 -1
  163. package/models/operations/adminupdateresources.js +0 -79
  164. package/models/operations/adminupdateresources.js.map +0 -1
  165. package/models/operations/adminupdateroles.d.ts +0 -30
  166. package/models/operations/adminupdateroles.d.ts.map +0 -1
  167. package/models/operations/adminupdateroles.js +0 -79
  168. package/models/operations/adminupdateroles.js.map +0 -1
  169. package/models/operations/badgelistaccounts.d.ts +0 -35
  170. package/models/operations/badgelistaccounts.d.ts.map +0 -1
  171. package/models/operations/badgelistaccounts.js +0 -85
  172. package/models/operations/badgelistaccounts.js.map +0 -1
  173. package/models/operations/liveness.d.ts +0 -35
  174. package/models/operations/liveness.d.ts.map +0 -1
  175. package/models/operations/liveness.js +0 -85
  176. package/models/operations/liveness.js.map +0 -1
  177. package/sdk/admin.d.ts +0 -22
  178. package/sdk/admin.d.ts.map +0 -1
  179. package/sdk/admin.js +0 -40
  180. package/sdk/admin.js.map +0 -1
  181. package/sdk/liveness.d.ts +0 -31
  182. package/sdk/liveness.d.ts.map +0 -1
  183. package/sdk/liveness.js +0 -41
  184. package/sdk/liveness.js.map +0 -1
  185. package/src/funcs/accountCompareBadges.ts +0 -186
  186. package/src/funcs/adminGetAccount.ts +0 -185
  187. package/src/funcs/adminRemoveVanity.ts +0 -185
  188. package/src/funcs/adminUpdateResources.ts +0 -184
  189. package/src/funcs/adminUpdateRoles.ts +0 -184
  190. package/src/funcs/badgeBadgeListAccounts.ts +0 -186
  191. package/src/funcs/livenessCheck.ts +0 -188
  192. package/src/models/components/historyvalue.ts +0 -72
  193. package/src/models/components/v1accountcompare.ts +0 -104
  194. package/src/models/components/v1accountcomparebadgeorder.ts +0 -121
  195. package/src/models/components/v1accountcomparebadgesrequestbody.ts +0 -169
  196. package/src/models/components/v1accountcomparebadgesresponsebody.ts +0 -106
  197. package/src/models/components/v1accountcomparedappbadge.ts +0 -126
  198. package/src/models/components/v1accountlocationupdate.ts +0 -95
  199. package/src/models/components/v1accountnameupdate.ts +0 -79
  200. package/src/models/components/v1accountvanityupdate.ts +0 -79
  201. package/src/models/components/v1admingetaccountresponsebody.ts +0 -287
  202. package/src/models/components/v1adminremovevanityresponsebody.ts +0 -80
  203. package/src/models/components/v1adminupdateresourcesrequestbody.ts +0 -98
  204. package/src/models/components/v1adminupdaterolesrequestbody.ts +0 -132
  205. package/src/models/components/v1badgeaccount.ts +0 -358
  206. package/src/models/components/v1badgelistaccountsrequestbody.ts +0 -78
  207. package/src/models/components/v1badgelistaccountsresponsebody.ts +0 -104
  208. package/src/models/components/v1badgelookup.ts +0 -70
  209. package/src/models/components/v1livenessresponsebody.ts +0 -85
  210. package/src/models/operations/accountcomparebadges.ts +0 -93
  211. package/src/models/operations/admingetaccount.ts +0 -91
  212. package/src/models/operations/adminremovevanity.ts +0 -91
  213. package/src/models/operations/adminupdateresources.ts +0 -78
  214. package/src/models/operations/adminupdateroles.ts +0 -76
  215. package/src/models/operations/badgelistaccounts.ts +0 -91
  216. package/src/models/operations/liveness.ts +0 -89
  217. package/src/sdk/admin.ts +0 -70
  218. package/src/sdk/liveness.ts +0 -44
@@ -38,20 +38,18 @@ import {
38
38
  VanitySearch$outboundSchema,
39
39
  } from "./vanitysearch.js";
40
40
 
41
- export const V1AccountListBadgesRequestBodyFilter = {
41
+ export const Filter = {
42
42
  Foil: "foil",
43
43
  Sale: "sale",
44
44
  Event: "event",
45
45
  } as const;
46
- export type V1AccountListBadgesRequestBodyFilter = ClosedEnum<
47
- typeof V1AccountListBadgesRequestBodyFilter
48
- >;
46
+ export type Filter = ClosedEnum<typeof Filter>;
49
47
 
50
48
  export type V1AccountListBadgesRequestBody = {
51
49
  /**
52
50
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
53
51
  */
54
- filter?: Array<V1AccountListBadgesRequestBodyFilter> | null | undefined;
52
+ filter?: Array<Filter> | null | undefined;
55
53
  filters?: V1BadgeFilters | undefined;
56
54
  id?: IDSearch | undefined;
57
55
  order?: V1BadgeOrder | null | undefined;
@@ -65,27 +63,22 @@ export type V1AccountListBadgesRequestBody = {
65
63
  };
66
64
 
67
65
  /** @internal */
68
- export const V1AccountListBadgesRequestBodyFilter$inboundSchema:
69
- z.ZodNativeEnum<typeof V1AccountListBadgesRequestBodyFilter> = z.nativeEnum(
70
- V1AccountListBadgesRequestBodyFilter,
71
- );
66
+ export const Filter$inboundSchema: z.ZodNativeEnum<typeof Filter> = z
67
+ .nativeEnum(Filter);
72
68
 
73
69
  /** @internal */
74
- export const V1AccountListBadgesRequestBodyFilter$outboundSchema:
75
- z.ZodNativeEnum<typeof V1AccountListBadgesRequestBodyFilter> =
76
- V1AccountListBadgesRequestBodyFilter$inboundSchema;
70
+ export const Filter$outboundSchema: z.ZodNativeEnum<typeof Filter> =
71
+ Filter$inboundSchema;
77
72
 
78
73
  /**
79
74
  * @internal
80
75
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
81
76
  */
82
- export namespace V1AccountListBadgesRequestBodyFilter$ {
83
- /** @deprecated use `V1AccountListBadgesRequestBodyFilter$inboundSchema` instead. */
84
- export const inboundSchema =
85
- V1AccountListBadgesRequestBodyFilter$inboundSchema;
86
- /** @deprecated use `V1AccountListBadgesRequestBodyFilter$outboundSchema` instead. */
87
- export const outboundSchema =
88
- V1AccountListBadgesRequestBodyFilter$outboundSchema;
77
+ export namespace Filter$ {
78
+ /** @deprecated use `Filter$inboundSchema` instead. */
79
+ export const inboundSchema = Filter$inboundSchema;
80
+ /** @deprecated use `Filter$outboundSchema` instead. */
81
+ export const outboundSchema = Filter$outboundSchema;
89
82
  }
90
83
 
91
84
  /** @internal */
@@ -94,9 +87,7 @@ export const V1AccountListBadgesRequestBody$inboundSchema: z.ZodType<
94
87
  z.ZodTypeDef,
95
88
  unknown
96
89
  > = z.object({
97
- filter: z.nullable(
98
- z.array(V1AccountListBadgesRequestBodyFilter$inboundSchema),
99
- ).optional(),
90
+ filter: z.nullable(z.array(Filter$inboundSchema)).optional(),
100
91
  filters: V1BadgeFilters$inboundSchema.optional(),
101
92
  id: IDSearch$inboundSchema.optional(),
102
93
  order: z.nullable(V1BadgeOrder$inboundSchema).optional(),
@@ -124,9 +115,7 @@ export const V1AccountListBadgesRequestBody$outboundSchema: z.ZodType<
124
115
  z.ZodTypeDef,
125
116
  V1AccountListBadgesRequestBody
126
117
  > = z.object({
127
- filter: z.nullable(
128
- z.array(V1AccountListBadgesRequestBodyFilter$outboundSchema),
129
- ).optional(),
118
+ filter: z.nullable(z.array(Filter$outboundSchema)).optional(),
130
119
  filters: V1BadgeFilters$outboundSchema.optional(),
131
120
  id: IDSearch$outboundSchema.optional(),
132
121
  order: z.nullable(V1BadgeOrder$outboundSchema).optional(),
@@ -8,61 +8,57 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
- export const V1AppOrderBy = {
11
+ export const By = {
12
12
  AppId: "appId",
13
13
  Playtime: "playtime",
14
14
  } as const;
15
- export type V1AppOrderBy = ClosedEnum<typeof V1AppOrderBy>;
15
+ export type By = ClosedEnum<typeof By>;
16
16
 
17
- export const V1AppOrderDirection = {
17
+ export const Direction = {
18
18
  Asc: "asc",
19
19
  Desc: "desc",
20
20
  } as const;
21
- export type V1AppOrderDirection = ClosedEnum<typeof V1AppOrderDirection>;
21
+ export type Direction = ClosedEnum<typeof Direction>;
22
22
 
23
23
  export type V1AppOrder = {
24
- by: V1AppOrderBy;
25
- direction?: V1AppOrderDirection | undefined;
24
+ by: By;
25
+ direction?: Direction | undefined;
26
26
  };
27
27
 
28
28
  /** @internal */
29
- export const V1AppOrderBy$inboundSchema: z.ZodNativeEnum<typeof V1AppOrderBy> =
30
- z.nativeEnum(V1AppOrderBy);
29
+ export const By$inboundSchema: z.ZodNativeEnum<typeof By> = z.nativeEnum(By);
31
30
 
32
31
  /** @internal */
33
- export const V1AppOrderBy$outboundSchema: z.ZodNativeEnum<typeof V1AppOrderBy> =
34
- V1AppOrderBy$inboundSchema;
32
+ export const By$outboundSchema: z.ZodNativeEnum<typeof By> = By$inboundSchema;
35
33
 
36
34
  /**
37
35
  * @internal
38
36
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
39
37
  */
40
- export namespace V1AppOrderBy$ {
41
- /** @deprecated use `V1AppOrderBy$inboundSchema` instead. */
42
- export const inboundSchema = V1AppOrderBy$inboundSchema;
43
- /** @deprecated use `V1AppOrderBy$outboundSchema` instead. */
44
- export const outboundSchema = V1AppOrderBy$outboundSchema;
38
+ export namespace By$ {
39
+ /** @deprecated use `By$inboundSchema` instead. */
40
+ export const inboundSchema = By$inboundSchema;
41
+ /** @deprecated use `By$outboundSchema` instead. */
42
+ export const outboundSchema = By$outboundSchema;
45
43
  }
46
44
 
47
45
  /** @internal */
48
- export const V1AppOrderDirection$inboundSchema: z.ZodNativeEnum<
49
- typeof V1AppOrderDirection
50
- > = z.nativeEnum(V1AppOrderDirection);
46
+ export const Direction$inboundSchema: z.ZodNativeEnum<typeof Direction> = z
47
+ .nativeEnum(Direction);
51
48
 
52
49
  /** @internal */
53
- export const V1AppOrderDirection$outboundSchema: z.ZodNativeEnum<
54
- typeof V1AppOrderDirection
55
- > = V1AppOrderDirection$inboundSchema;
50
+ export const Direction$outboundSchema: z.ZodNativeEnum<typeof Direction> =
51
+ Direction$inboundSchema;
56
52
 
57
53
  /**
58
54
  * @internal
59
55
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
56
  */
61
- export namespace V1AppOrderDirection$ {
62
- /** @deprecated use `V1AppOrderDirection$inboundSchema` instead. */
63
- export const inboundSchema = V1AppOrderDirection$inboundSchema;
64
- /** @deprecated use `V1AppOrderDirection$outboundSchema` instead. */
65
- export const outboundSchema = V1AppOrderDirection$outboundSchema;
57
+ export namespace Direction$ {
58
+ /** @deprecated use `Direction$inboundSchema` instead. */
59
+ export const inboundSchema = Direction$inboundSchema;
60
+ /** @deprecated use `Direction$outboundSchema` instead. */
61
+ export const outboundSchema = Direction$outboundSchema;
66
62
  }
67
63
 
68
64
  /** @internal */
@@ -71,8 +67,8 @@ export const V1AppOrder$inboundSchema: z.ZodType<
71
67
  z.ZodTypeDef,
72
68
  unknown
73
69
  > = z.object({
74
- by: V1AppOrderBy$inboundSchema,
75
- direction: V1AppOrderDirection$inboundSchema.default("desc"),
70
+ by: By$inboundSchema,
71
+ direction: Direction$inboundSchema.default("desc"),
76
72
  });
77
73
 
78
74
  /** @internal */
@@ -87,8 +83,8 @@ export const V1AppOrder$outboundSchema: z.ZodType<
87
83
  z.ZodTypeDef,
88
84
  V1AppOrder
89
85
  > = z.object({
90
- by: V1AppOrderBy$outboundSchema,
91
- direction: V1AppOrderDirection$outboundSchema.default("desc"),
86
+ by: By$outboundSchema,
87
+ direction: Direction$outboundSchema.default("desc"),
92
88
  });
93
89
 
94
90
  /**
@@ -3,7 +3,6 @@
3
3
  */
4
4
 
5
5
  export * from "./accountbookmarkbadge.js";
6
- export * from "./accountcomparebadges.js";
7
6
  export * from "./accountcreateconnection.js";
8
7
  export * from "./accountcreatedeveloperapp.js";
9
8
  export * from "./accountdeleteconnection.js";
@@ -39,12 +38,7 @@ export * from "./accountupdatevanity.js";
39
38
  export * from "./accountuploadimages.js";
40
39
  export * from "./accountverifyconnection.js";
41
40
  export * from "./accountverifyemail.js";
42
- export * from "./admingetaccount.js";
43
- export * from "./adminremovevanity.js";
44
- export * from "./adminupdateresources.js";
45
- export * from "./adminupdateroles.js";
46
41
  export * from "./applistbadges.js";
47
- export * from "./badgelistaccounts.js";
48
42
  export * from "./badgelistbadgeprices.js";
49
43
  export * from "./badgelisttags.js";
50
44
  export * from "./badgesearchbadges.js";
@@ -57,7 +51,6 @@ export * from "./leaderboardgetgroupsmeta.js";
57
51
  export * from "./leaderboardgetlowestranks.js";
58
52
  export * from "./leaderboardlistbadges.js";
59
53
  export * from "./leaderboardpreviewaccountrank.js";
60
- export * from "./liveness.js";
61
54
  export * from "./locationgetlocations.js";
62
55
  export * from "./staffliststaff.js";
63
56
  export * from "./statsgetstats.js";
@@ -3,7 +3,6 @@
3
3
  */
4
4
 
5
5
  import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
6
- import { accountCompareBadges } from "../funcs/accountCompareBadges.js";
7
6
  import { accountCreateConnection } from "../funcs/accountCreateConnection.js";
8
7
  import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
9
8
  import { accountDeleteConnection } from "../funcs/accountDeleteConnection.js";
@@ -59,20 +58,6 @@ export class Account extends ClientSDK {
59
58
  ));
60
59
  }
61
60
 
62
- /**
63
- * Compare badge collections between accounts
64
- */
65
- async compareBadges(
66
- request: components.V1AccountCompareBadgesRequestBody,
67
- options?: RequestOptions,
68
- ): Promise<operations.AccountCompareBadgesResponse> {
69
- return unwrapAsync(accountCompareBadges(
70
- this,
71
- request,
72
- options,
73
- ));
74
- }
75
-
76
61
  /**
77
62
  * Create OAuth or domain connection
78
63
  */
package/src/sdk/badge.ts CHANGED
@@ -2,7 +2,6 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { badgeBadgeListAccounts } from "../funcs/badgeBadgeListAccounts.js";
6
5
  import { badgeSearch } from "../funcs/badgeSearch.js";
7
6
  import { badgeSuggestTags } from "../funcs/badgeSuggestTags.js";
8
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -11,20 +10,6 @@ import * as operations from "../models/operations/index.js";
11
10
  import { unwrapAsync } from "../types/fp.js";
12
11
 
13
12
  export class Badge extends ClientSDK {
14
- /**
15
- * List accounts for badge
16
- */
17
- async badgeListAccounts(
18
- request: components.V1BadgeListAccountsRequestBody,
19
- options?: RequestOptions,
20
- ): Promise<operations.BadgeListAccountsResponse> {
21
- return unwrapAsync(badgeBadgeListAccounts(
22
- this,
23
- request,
24
- options,
25
- ));
26
- }
27
-
28
13
  /**
29
14
  * Search badges
30
15
  */
package/src/sdk/sdk.ts CHANGED
@@ -4,13 +4,11 @@
4
4
 
5
5
  import { ClientSDK } from "../lib/sdks.js";
6
6
  import { Account } from "./account.js";
7
- import { Admin } from "./admin.js";
8
7
  import { Apps } from "./apps.js";
9
8
  import { Badge } from "./badge.js";
10
9
  import { Badges } from "./badges.js";
11
10
  import { Leaderboard } from "./leaderboard.js";
12
11
  import { Leaderboards } from "./leaderboards.js";
13
- import { Liveness } from "./liveness.js";
14
12
  import { Location } from "./location.js";
15
13
  import { Staff } from "./staff.js";
16
14
  import { Stats } from "./stats.js";
@@ -21,26 +19,21 @@ export class SteamSets extends ClientSDK {
21
19
  return (this._account ??= new Account(this._options));
22
20
  }
23
21
 
24
- private _admin?: Admin;
25
- get admin(): Admin {
26
- return (this._admin ??= new Admin(this._options));
27
- }
28
-
29
22
  private _apps?: Apps;
30
23
  get apps(): Apps {
31
24
  return (this._apps ??= new Apps(this._options));
32
25
  }
33
26
 
34
- private _badge?: Badge;
35
- get badge(): Badge {
36
- return (this._badge ??= new Badge(this._options));
37
- }
38
-
39
27
  private _badges?: Badges;
40
28
  get badges(): Badges {
41
29
  return (this._badges ??= new Badges(this._options));
42
30
  }
43
31
 
32
+ private _badge?: Badge;
33
+ get badge(): Badge {
34
+ return (this._badge ??= new Badge(this._options));
35
+ }
36
+
44
37
  private _leaderboard?: Leaderboard;
45
38
  get leaderboard(): Leaderboard {
46
39
  return (this._leaderboard ??= new Leaderboard(this._options));
@@ -51,11 +44,6 @@ export class SteamSets extends ClientSDK {
51
44
  return (this._leaderboards ??= new Leaderboards(this._options));
52
45
  }
53
46
 
54
- private _liveness?: Liveness;
55
- get liveness(): Liveness {
56
- return (this._liveness ??= new Liveness(this._options));
57
- }
58
-
59
47
  private _location?: Location;
60
48
  get location(): Location {
61
49
  return (this._location ??= new Location(this._options));
@@ -1,315 +0,0 @@
1
- # Admin
2
- (*admin*)
3
-
4
- ## Overview
5
-
6
- Admin related operations, stay away from these.
7
-
8
- ### Available Operations
9
-
10
- * [getAccount](#getaccount) - Get account for admin
11
- * [removeVanity](#removevanity) - Remove vanity URL
12
- * [updateResources](#updateresources) - Update account resources
13
- * [updateRoles](#updateroles) - Update account roles
14
-
15
- ## getAccount
16
-
17
- Get account for admin
18
-
19
- ### Example Usage
20
-
21
- <!-- UsageSnippet language="typescript" operationID="admin.getAccount" method="post" path="/v1/admin.getAccount" -->
22
- ```typescript
23
- import { SteamSets } from "@steamsets/client-ts";
24
-
25
- const steamSets = new SteamSets({
26
- token: "<YOUR_BEARER_TOKEN_HERE>",
27
- });
28
-
29
- async function run() {
30
- const result = await steamSets.admin.getAccount({});
31
-
32
- console.log(result);
33
- }
34
-
35
- run();
36
- ```
37
-
38
- ### Standalone function
39
-
40
- The standalone function version of this method:
41
-
42
- ```typescript
43
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
44
- import { adminGetAccount } from "@steamsets/client-ts/funcs/adminGetAccount.js";
45
-
46
- // Use `SteamSetsCore` for best tree-shaking performance.
47
- // You can create one instance of it to use across an application.
48
- const steamSets = new SteamSetsCore({
49
- token: "<YOUR_BEARER_TOKEN_HERE>",
50
- });
51
-
52
- async function run() {
53
- const res = await adminGetAccount(steamSets, {});
54
- if (res.ok) {
55
- const { value: result } = res;
56
- console.log(result);
57
- } else {
58
- console.log("adminGetAccount failed:", res.error);
59
- }
60
- }
61
-
62
- run();
63
- ```
64
-
65
- ### Parameters
66
-
67
- | Parameter | Type | Required | Description |
68
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
69
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
70
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
71
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
72
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
73
-
74
- ### Response
75
-
76
- **Promise\<[operations.AdminGetAccountResponse](../../models/operations/admingetaccountresponse.md)\>**
77
-
78
- ### Errors
79
-
80
- | Error Type | Status Code | Content Type |
81
- | ------------------------ | ------------------------ | ------------------------ |
82
- | errors.ErrorModel | 400, 401, 403, 404, 422 | application/problem+json |
83
- | errors.ErrorModel | 500 | application/problem+json |
84
- | errors.SDKError | 4XX, 5XX | \*/\* |
85
-
86
- ## removeVanity
87
-
88
- Remove vanity URL
89
-
90
- ### Example Usage
91
-
92
- <!-- UsageSnippet language="typescript" operationID="admin.removeVanity" method="post" path="/v1/admin.removeVanity" -->
93
- ```typescript
94
- import { SteamSets } from "@steamsets/client-ts";
95
-
96
- const steamSets = new SteamSets({
97
- token: "<YOUR_BEARER_TOKEN_HERE>",
98
- });
99
-
100
- async function run() {
101
- const result = await steamSets.admin.removeVanity({});
102
-
103
- console.log(result);
104
- }
105
-
106
- run();
107
- ```
108
-
109
- ### Standalone function
110
-
111
- The standalone function version of this method:
112
-
113
- ```typescript
114
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
115
- import { adminRemoveVanity } from "@steamsets/client-ts/funcs/adminRemoveVanity.js";
116
-
117
- // Use `SteamSetsCore` for best tree-shaking performance.
118
- // You can create one instance of it to use across an application.
119
- const steamSets = new SteamSetsCore({
120
- token: "<YOUR_BEARER_TOKEN_HERE>",
121
- });
122
-
123
- async function run() {
124
- const res = await adminRemoveVanity(steamSets, {});
125
- if (res.ok) {
126
- const { value: result } = res;
127
- console.log(result);
128
- } else {
129
- console.log("adminRemoveVanity failed:", res.error);
130
- }
131
- }
132
-
133
- run();
134
- ```
135
-
136
- ### Parameters
137
-
138
- | Parameter | Type | Required | Description |
139
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
140
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
141
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
142
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
143
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
144
-
145
- ### Response
146
-
147
- **Promise\<[operations.AdminRemoveVanityResponse](../../models/operations/adminremovevanityresponse.md)\>**
148
-
149
- ### Errors
150
-
151
- | Error Type | Status Code | Content Type |
152
- | ------------------------ | ------------------------ | ------------------------ |
153
- | errors.ErrorModel | 400, 401, 403, 404, 422 | application/problem+json |
154
- | errors.ErrorModel | 500 | application/problem+json |
155
- | errors.SDKError | 4XX, 5XX | \*/\* |
156
-
157
- ## updateResources
158
-
159
- Update account resources
160
-
161
- ### Example Usage
162
-
163
- <!-- UsageSnippet language="typescript" operationID="admin.updateResources" method="post" path="/v1/admin.updateResources" -->
164
- ```typescript
165
- import { SteamSets } from "@steamsets/client-ts";
166
-
167
- const steamSets = new SteamSets({
168
- token: "<YOUR_BEARER_TOKEN_HERE>",
169
- });
170
-
171
- async function run() {
172
- const result = await steamSets.admin.updateResources({
173
- resources: [
174
- {
175
- resource: "developer_apps",
176
- value: "1",
177
- },
178
- ],
179
- });
180
-
181
- console.log(result);
182
- }
183
-
184
- run();
185
- ```
186
-
187
- ### Standalone function
188
-
189
- The standalone function version of this method:
190
-
191
- ```typescript
192
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
193
- import { adminUpdateResources } from "@steamsets/client-ts/funcs/adminUpdateResources.js";
194
-
195
- // Use `SteamSetsCore` for best tree-shaking performance.
196
- // You can create one instance of it to use across an application.
197
- const steamSets = new SteamSetsCore({
198
- token: "<YOUR_BEARER_TOKEN_HERE>",
199
- });
200
-
201
- async function run() {
202
- const res = await adminUpdateResources(steamSets, {
203
- resources: [
204
- {
205
- resource: "developer_apps",
206
- value: "1",
207
- },
208
- ],
209
- });
210
- if (res.ok) {
211
- const { value: result } = res;
212
- console.log(result);
213
- } else {
214
- console.log("adminUpdateResources failed:", res.error);
215
- }
216
- }
217
-
218
- run();
219
- ```
220
-
221
- ### Parameters
222
-
223
- | Parameter | Type | Required | Description |
224
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
225
- | `request` | [components.V1AdminUpdateResourcesRequestBody](../../models/components/v1adminupdateresourcesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
226
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
227
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
228
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
229
-
230
- ### Response
231
-
232
- **Promise\<[operations.AdminUpdateResourcesResponse](../../models/operations/adminupdateresourcesresponse.md)\>**
233
-
234
- ### Errors
235
-
236
- | Error Type | Status Code | Content Type |
237
- | ------------------------ | ------------------------ | ------------------------ |
238
- | errors.ErrorModel | 400, 401, 403, 404, 422 | application/problem+json |
239
- | errors.ErrorModel | 500 | application/problem+json |
240
- | errors.SDKError | 4XX, 5XX | \*/\* |
241
-
242
- ## updateRoles
243
-
244
- Update account roles
245
-
246
- ### Example Usage
247
-
248
- <!-- UsageSnippet language="typescript" operationID="admin.updateRoles" method="post" path="/v1/admin.updateRoles" -->
249
- ```typescript
250
- import { SteamSets } from "@steamsets/client-ts";
251
-
252
- const steamSets = new SteamSets({
253
- token: "<YOUR_BEARER_TOKEN_HERE>",
254
- });
255
-
256
- async function run() {
257
- const result = await steamSets.admin.updateRoles({
258
- roles: null,
259
- });
260
-
261
- console.log(result);
262
- }
263
-
264
- run();
265
- ```
266
-
267
- ### Standalone function
268
-
269
- The standalone function version of this method:
270
-
271
- ```typescript
272
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
273
- import { adminUpdateRoles } from "@steamsets/client-ts/funcs/adminUpdateRoles.js";
274
-
275
- // Use `SteamSetsCore` for best tree-shaking performance.
276
- // You can create one instance of it to use across an application.
277
- const steamSets = new SteamSetsCore({
278
- token: "<YOUR_BEARER_TOKEN_HERE>",
279
- });
280
-
281
- async function run() {
282
- const res = await adminUpdateRoles(steamSets, {
283
- roles: null,
284
- });
285
- if (res.ok) {
286
- const { value: result } = res;
287
- console.log(result);
288
- } else {
289
- console.log("adminUpdateRoles failed:", res.error);
290
- }
291
- }
292
-
293
- run();
294
- ```
295
-
296
- ### Parameters
297
-
298
- | Parameter | Type | Required | Description |
299
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
300
- | `request` | [components.V1AdminUpdateRolesRequestBody](../../models/components/v1adminupdaterolesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
301
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
302
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
303
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
304
-
305
- ### Response
306
-
307
- **Promise\<[operations.AdminUpdateRolesResponse](../../models/operations/adminupdaterolesresponse.md)\>**
308
-
309
- ### Errors
310
-
311
- | Error Type | Status Code | Content Type |
312
- | ------------------------ | ------------------------ | ------------------------ |
313
- | errors.ErrorModel | 400, 401, 403, 404, 422 | application/problem+json |
314
- | errors.ErrorModel | 500 | application/problem+json |
315
- | errors.SDKError | 4XX, 5XX | \*/\* |