@steamsets/client-ts 0.14.26 → 0.14.27

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 (251) hide show
  1. package/README.md +83 -17
  2. package/docs/sdks/account/README.md +493 -1
  3. package/docs/sdks/admin/README.md +1 -1
  4. package/docs/sdks/badge/README.md +2 -0
  5. package/docs/sdks/data/README.md +1 -73
  6. package/docs/sdks/developer/README.md +1 -1
  7. package/docs/sdks/event/README.md +168 -0
  8. package/docs/sdks/{public → external}/README.md +93 -21
  9. package/docs/sdks/internal/README.md +1726 -0
  10. package/docs/sdks/leaderboard/README.md +2 -0
  11. package/docs/sdks/liveness/README.md +1 -1
  12. package/docs/sdks/stats/README.md +1 -1
  13. package/funcs/accountAdminV1UpdateResources.d.ts +11 -0
  14. package/funcs/accountAdminV1UpdateResources.d.ts.map +1 -0
  15. package/funcs/accountAdminV1UpdateResources.js +111 -0
  16. package/funcs/accountAdminV1UpdateResources.js.map +1 -0
  17. package/funcs/accountAdminV1UpdateRoles.d.ts +11 -0
  18. package/funcs/accountAdminV1UpdateRoles.d.ts.map +1 -0
  19. package/funcs/accountAdminV1UpdateRoles.js +111 -0
  20. package/funcs/accountAdminV1UpdateRoles.js.map +1 -0
  21. package/funcs/accountCreateDeveloperApp.d.ts +11 -0
  22. package/funcs/accountCreateDeveloperApp.d.ts.map +1 -0
  23. package/funcs/accountCreateDeveloperApp.js +111 -0
  24. package/funcs/accountCreateDeveloperApp.js.map +1 -0
  25. package/funcs/accountDeleteDeveloperApp.d.ts +11 -0
  26. package/funcs/accountDeleteDeveloperApp.d.ts.map +1 -0
  27. package/funcs/accountDeleteDeveloperApp.js +111 -0
  28. package/funcs/accountDeleteDeveloperApp.js.map +1 -0
  29. package/funcs/{publicGetBadges.d.ts → accountGetAccount.d.ts} +2 -2
  30. package/funcs/accountGetAccount.d.ts.map +1 -0
  31. package/funcs/accountGetAccount.js +113 -0
  32. package/funcs/accountGetAccount.js.map +1 -0
  33. package/funcs/accountUpdateApp.d.ts +11 -0
  34. package/funcs/{publicGetFriends.d.ts.map → accountUpdateApp.d.ts.map} +1 -1
  35. package/funcs/accountUpdateApp.js +111 -0
  36. package/funcs/{publicGetFriends.js.map → accountUpdateApp.js.map} +1 -1
  37. package/funcs/eventAdminV1GetEvents.d.ts +10 -0
  38. package/funcs/eventAdminV1GetEvents.d.ts.map +1 -0
  39. package/funcs/eventAdminV1GetEvents.js +102 -0
  40. package/funcs/eventAdminV1GetEvents.js.map +1 -0
  41. package/funcs/{publicGetLeaderboardHistory.d.ts → eventAdminV1UpdateEvent.d.ts} +2 -2
  42. package/funcs/eventAdminV1UpdateEvent.d.ts.map +1 -0
  43. package/funcs/eventAdminV1UpdateEvent.js +113 -0
  44. package/funcs/eventAdminV1UpdateEvent.js.map +1 -0
  45. package/funcs/externalGetApps.d.ts +11 -0
  46. package/funcs/{publicGetBadges.d.ts.map → externalGetApps.d.ts.map} +1 -1
  47. package/funcs/{publicGetApps.js → externalGetApps.js} +3 -3
  48. package/funcs/{publicGetBadges.js.map → externalGetApps.js.map} +1 -1
  49. package/funcs/{publicGetApps.d.ts → externalGetBadges.d.ts} +2 -2
  50. package/funcs/externalGetBadges.d.ts.map +1 -0
  51. package/funcs/{publicGetBadges.js → externalGetBadges.js} +3 -3
  52. package/funcs/externalGetBadges.js.map +1 -0
  53. package/funcs/{publicGetDataPoints.d.ts → externalGetDataPoints.d.ts} +2 -2
  54. package/funcs/externalGetDataPoints.d.ts.map +1 -0
  55. package/funcs/{publicGetDataPoints.js → externalGetDataPoints.js} +3 -3
  56. package/funcs/externalGetDataPoints.js.map +1 -0
  57. package/funcs/externalGetFriends.d.ts +11 -0
  58. package/funcs/externalGetFriends.d.ts.map +1 -0
  59. package/funcs/{publicGetFriends.js → externalGetFriends.js} +3 -3
  60. package/funcs/externalGetFriends.js.map +1 -0
  61. package/funcs/{publicGetInfo.d.ts → externalGetInfo.d.ts} +2 -2
  62. package/funcs/externalGetInfo.d.ts.map +1 -0
  63. package/funcs/{publicGetInfo.js → externalGetInfo.js} +3 -3
  64. package/funcs/externalGetInfo.js.map +1 -0
  65. package/funcs/externalGetLeaderboardHistory.d.ts +11 -0
  66. package/funcs/externalGetLeaderboardHistory.d.ts.map +1 -0
  67. package/funcs/{publicGetLeaderboardHistory.js → externalGetLeaderboardHistory.js} +3 -3
  68. package/funcs/externalGetLeaderboardHistory.js.map +1 -0
  69. package/funcs/externalStatsV1StatsGet.d.ts +10 -0
  70. package/funcs/externalStatsV1StatsGet.d.ts.map +1 -0
  71. package/funcs/externalStatsV1StatsGet.js +102 -0
  72. package/funcs/externalStatsV1StatsGet.js.map +1 -0
  73. package/funcs/internalAccountV1BookmarkBadge.d.ts +11 -0
  74. package/funcs/internalAccountV1BookmarkBadge.d.ts.map +1 -0
  75. package/funcs/internalAccountV1BookmarkBadge.js +113 -0
  76. package/funcs/internalAccountV1BookmarkBadge.js.map +1 -0
  77. package/funcs/internalAccountV1ConnectionReconnect.d.ts +11 -0
  78. package/funcs/internalAccountV1ConnectionReconnect.d.ts.map +1 -0
  79. package/funcs/internalAccountV1ConnectionReconnect.js +113 -0
  80. package/funcs/internalAccountV1ConnectionReconnect.js.map +1 -0
  81. package/funcs/internalAccountV1GetBadgeBookmarks.d.ts +10 -0
  82. package/funcs/internalAccountV1GetBadgeBookmarks.d.ts.map +1 -0
  83. package/funcs/internalAccountV1GetBadgeBookmarks.js +102 -0
  84. package/funcs/internalAccountV1GetBadgeBookmarks.js.map +1 -0
  85. package/funcs/internalAccountV1GetOwnedBadges.d.ts +10 -0
  86. package/funcs/internalAccountV1GetOwnedBadges.d.ts.map +1 -0
  87. package/funcs/internalAccountV1GetOwnedBadges.js +102 -0
  88. package/funcs/internalAccountV1GetOwnedBadges.js.map +1 -0
  89. package/funcs/internalAccountV1ImagesGet.d.ts +10 -0
  90. package/funcs/internalAccountV1ImagesGet.d.ts.map +1 -0
  91. package/funcs/internalAccountV1ImagesGet.js +100 -0
  92. package/funcs/internalAccountV1ImagesGet.js.map +1 -0
  93. package/funcs/internalAccountV1ImagesUpdate.d.ts +11 -0
  94. package/funcs/internalAccountV1ImagesUpdate.d.ts.map +1 -0
  95. package/funcs/internalAccountV1ImagesUpdate.js +113 -0
  96. package/funcs/internalAccountV1ImagesUpdate.js.map +1 -0
  97. package/funcs/internalAdminV1GetEvents.d.ts +10 -0
  98. package/funcs/internalAdminV1GetEvents.d.ts.map +1 -0
  99. package/funcs/internalAdminV1GetEvents.js +102 -0
  100. package/funcs/internalAdminV1GetEvents.js.map +1 -0
  101. package/funcs/internalAdminV1UpdateEvent.d.ts +11 -0
  102. package/funcs/internalAdminV1UpdateEvent.d.ts.map +1 -0
  103. package/funcs/internalAdminV1UpdateEvent.js +113 -0
  104. package/funcs/internalAdminV1UpdateEvent.js.map +1 -0
  105. package/funcs/internalAdminV1UpdateResources.d.ts +11 -0
  106. package/funcs/internalAdminV1UpdateResources.d.ts.map +1 -0
  107. package/funcs/internalAdminV1UpdateResources.js +111 -0
  108. package/funcs/internalAdminV1UpdateResources.js.map +1 -0
  109. package/funcs/internalAdminV1UpdateRoles.d.ts +11 -0
  110. package/funcs/internalAdminV1UpdateRoles.d.ts.map +1 -0
  111. package/funcs/internalAdminV1UpdateRoles.js +111 -0
  112. package/funcs/internalAdminV1UpdateRoles.js.map +1 -0
  113. package/funcs/internalBadgeV1Search.d.ts +11 -0
  114. package/funcs/internalBadgeV1Search.d.ts.map +1 -0
  115. package/funcs/internalBadgeV1Search.js +113 -0
  116. package/funcs/internalBadgeV1Search.js.map +1 -0
  117. package/funcs/internalCheck.d.ts +16 -0
  118. package/funcs/internalCheck.d.ts.map +1 -0
  119. package/funcs/internalCheck.js +106 -0
  120. package/funcs/internalCheck.js.map +1 -0
  121. package/funcs/internalCreateDeveloperApp.d.ts +11 -0
  122. package/funcs/internalCreateDeveloperApp.d.ts.map +1 -0
  123. package/funcs/internalCreateDeveloperApp.js +111 -0
  124. package/funcs/internalCreateDeveloperApp.js.map +1 -0
  125. package/funcs/internalDeleteDeveloperApp.d.ts +11 -0
  126. package/funcs/internalDeleteDeveloperApp.d.ts.map +1 -0
  127. package/funcs/internalDeleteDeveloperApp.js +111 -0
  128. package/funcs/internalDeleteDeveloperApp.js.map +1 -0
  129. package/funcs/internalDeleteImages.d.ts +11 -0
  130. package/funcs/internalDeleteImages.d.ts.map +1 -0
  131. package/funcs/internalDeleteImages.js +113 -0
  132. package/funcs/internalDeleteImages.js.map +1 -0
  133. package/funcs/{publicGetFriends.d.ts → internalGetAccount.d.ts} +2 -2
  134. package/funcs/internalGetAccount.d.ts.map +1 -0
  135. package/funcs/internalGetAccount.js +113 -0
  136. package/funcs/internalGetAccount.js.map +1 -0
  137. package/funcs/internalGetStaff.d.ts +10 -0
  138. package/funcs/internalGetStaff.d.ts.map +1 -0
  139. package/funcs/{dataGetStaff.js → internalGetStaff.js} +3 -3
  140. package/funcs/internalGetStaff.js.map +1 -0
  141. package/funcs/{dataGetStaff.d.ts → internalGetTags.d.ts} +2 -2
  142. package/funcs/internalGetTags.d.ts.map +1 -0
  143. package/funcs/internalGetTags.js +102 -0
  144. package/funcs/internalGetTags.js.map +1 -0
  145. package/funcs/internalSendEmailVerification.d.ts +10 -0
  146. package/funcs/internalSendEmailVerification.d.ts.map +1 -0
  147. package/funcs/internalSendEmailVerification.js +111 -0
  148. package/funcs/internalSendEmailVerification.js.map +1 -0
  149. package/funcs/internalUpdateApp.d.ts +11 -0
  150. package/funcs/internalUpdateApp.d.ts.map +1 -0
  151. package/funcs/internalUpdateApp.js +111 -0
  152. package/funcs/internalUpdateApp.js.map +1 -0
  153. package/funcs/internalUploadImages.d.ts +11 -0
  154. package/funcs/internalUploadImages.d.ts.map +1 -0
  155. package/funcs/internalUploadImages.js +113 -0
  156. package/funcs/internalUploadImages.js.map +1 -0
  157. package/funcs/internalVerifyEmail.d.ts +11 -0
  158. package/funcs/{publicGetDataPoints.d.ts.map → internalVerifyEmail.d.ts.map} +1 -1
  159. package/funcs/internalVerifyEmail.js +113 -0
  160. package/funcs/{publicGetDataPoints.js.map → internalVerifyEmail.js.map} +1 -1
  161. package/jsr.json +1 -1
  162. package/lib/config.d.ts +3 -3
  163. package/lib/config.js +3 -3
  164. package/lib/retries.js +0 -1
  165. package/lib/retries.js.map +1 -1
  166. package/models/components/v1stats.d.ts +0 -5
  167. package/models/components/v1stats.d.ts.map +1 -1
  168. package/models/components/v1stats.js +0 -2
  169. package/models/components/v1stats.js.map +1 -1
  170. package/package.json +6 -7
  171. package/sdk/account.d.ts +6 -0
  172. package/sdk/account.d.ts.map +1 -1
  173. package/sdk/account.js +24 -0
  174. package/sdk/account.js.map +1 -1
  175. package/sdk/data.d.ts +0 -1
  176. package/sdk/data.d.ts.map +1 -1
  177. package/sdk/data.js +0 -4
  178. package/sdk/data.js.map +1 -1
  179. package/sdk/event.d.ts +8 -0
  180. package/sdk/event.d.ts.map +1 -0
  181. package/sdk/event.js +20 -0
  182. package/sdk/event.js.map +1 -0
  183. package/sdk/{public.d.ts → external.d.ts} +3 -2
  184. package/sdk/external.d.ts.map +1 -0
  185. package/sdk/external.js +40 -0
  186. package/sdk/external.js.map +1 -0
  187. package/sdk/internal.d.ts +34 -0
  188. package/sdk/internal.d.ts.map +1 -0
  189. package/sdk/internal.js +106 -0
  190. package/sdk/internal.js.map +1 -0
  191. package/sdk/sdk.d.ts +11 -5
  192. package/sdk/sdk.d.ts.map +1 -1
  193. package/sdk/sdk.js +14 -6
  194. package/sdk/sdk.js.map +1 -1
  195. package/src/funcs/accountAdminV1UpdateResources.ts +148 -0
  196. package/src/funcs/accountAdminV1UpdateRoles.ts +148 -0
  197. package/src/funcs/accountCreateDeveloperApp.ts +152 -0
  198. package/src/funcs/accountDeleteDeveloperApp.ts +154 -0
  199. package/src/funcs/accountGetAccount.ts +149 -0
  200. package/src/funcs/accountUpdateApp.ts +154 -0
  201. package/src/funcs/eventAdminV1GetEvents.ts +132 -0
  202. package/src/funcs/eventAdminV1UpdateEvent.ts +150 -0
  203. package/src/funcs/{publicGetApps.ts → externalGetApps.ts} +1 -1
  204. package/src/funcs/{publicGetBadges.ts → externalGetBadges.ts} +1 -1
  205. package/src/funcs/{publicGetDataPoints.ts → externalGetDataPoints.ts} +1 -1
  206. package/src/funcs/{publicGetFriends.ts → externalGetFriends.ts} +1 -1
  207. package/src/funcs/{publicGetInfo.ts → externalGetInfo.ts} +1 -1
  208. package/src/funcs/{publicGetLeaderboardHistory.ts → externalGetLeaderboardHistory.ts} +1 -1
  209. package/src/funcs/externalStatsV1StatsGet.ts +132 -0
  210. package/src/funcs/internalAccountV1BookmarkBadge.ts +150 -0
  211. package/src/funcs/internalAccountV1ConnectionReconnect.ts +149 -0
  212. package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +132 -0
  213. package/src/funcs/internalAccountV1GetOwnedBadges.ts +132 -0
  214. package/src/funcs/internalAccountV1ImagesGet.ts +127 -0
  215. package/src/funcs/internalAccountV1ImagesUpdate.ts +149 -0
  216. package/src/funcs/internalAdminV1GetEvents.ts +132 -0
  217. package/src/funcs/internalAdminV1UpdateEvent.ts +150 -0
  218. package/src/funcs/internalAdminV1UpdateResources.ts +148 -0
  219. package/src/funcs/internalAdminV1UpdateRoles.ts +148 -0
  220. package/src/funcs/internalBadgeV1Search.ts +149 -0
  221. package/src/funcs/internalCheck.ts +133 -0
  222. package/src/funcs/internalCreateDeveloperApp.ts +152 -0
  223. package/src/funcs/internalDeleteDeveloperApp.ts +154 -0
  224. package/src/funcs/internalDeleteImages.ts +149 -0
  225. package/src/funcs/internalGetAccount.ts +149 -0
  226. package/src/funcs/{dataGetStaff.ts → internalGetStaff.ts} +1 -1
  227. package/src/funcs/internalGetTags.ts +132 -0
  228. package/src/funcs/internalSendEmailVerification.ts +156 -0
  229. package/src/funcs/internalUpdateApp.ts +154 -0
  230. package/src/funcs/internalUploadImages.ts +149 -0
  231. package/src/funcs/internalVerifyEmail.ts +149 -0
  232. package/src/lib/config.ts +3 -3
  233. package/src/lib/retries.ts +0 -1
  234. package/src/models/components/v1stats.ts +0 -7
  235. package/src/sdk/account.ts +72 -0
  236. package/src/sdk/data.ts +0 -10
  237. package/src/sdk/event.ts +32 -0
  238. package/src/sdk/{public.ts → external.ts} +23 -13
  239. package/src/sdk/internal.ts +266 -0
  240. package/src/sdk/sdk.ts +21 -9
  241. package/funcs/dataGetStaff.d.ts.map +0 -1
  242. package/funcs/dataGetStaff.js.map +0 -1
  243. package/funcs/publicGetApps.d.ts.map +0 -1
  244. package/funcs/publicGetApps.js.map +0 -1
  245. package/funcs/publicGetInfo.d.ts.map +0 -1
  246. package/funcs/publicGetInfo.js.map +0 -1
  247. package/funcs/publicGetLeaderboardHistory.d.ts.map +0 -1
  248. package/funcs/publicGetLeaderboardHistory.js.map +0 -1
  249. package/sdk/public.d.ts.map +0 -1
  250. package/sdk/public.js +0 -36
  251. package/sdk/public.js.map +0 -1
@@ -0,0 +1,1726 @@
1
+ # Internal
2
+ (*internal*)
3
+
4
+ ## Overview
5
+
6
+ There requests are just document for documentations sake, they are not meant to be used. If you are looking to use one of these endpoints, please contact us.
7
+
8
+ ### Available Operations
9
+
10
+ * [accountV1BookmarkBadge](#accountv1bookmarkbadge)
11
+ * [createDeveloperApp](#createdeveloperapp)
12
+ * [deleteDeveloperApp](#deletedeveloperapp)
13
+ * [deleteImages](#deleteimages)
14
+ * [updateApp](#updateapp)
15
+ * [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
16
+ * [accountV1ImagesGet](#accountv1imagesget)
17
+ * [accountV1GetOwnedBadges](#accountv1getownedbadges)
18
+ * [getStaff](#getstaff)
19
+ * [accountV1ConnectionReconnect](#accountv1connectionreconnect)
20
+ * [sendEmailVerification](#sendemailverification)
21
+ * [accountV1ImagesUpdate](#accountv1imagesupdate)
22
+ * [uploadImages](#uploadimages)
23
+ * [verifyEmail](#verifyemail)
24
+ * [getAccount](#getaccount)
25
+ * [adminV1GetEvents](#adminv1getevents)
26
+ * [adminV1UpdateEvent](#adminv1updateevent)
27
+ * [adminV1UpdateResources](#adminv1updateresources)
28
+ * [adminV1UpdateRoles](#adminv1updateroles)
29
+ * [getTags](#gettags)
30
+ * [badgeV1Search](#badgev1search)
31
+ * [check](#check) - Liveness check
32
+
33
+ ## accountV1BookmarkBadge
34
+
35
+ ### Example Usage
36
+
37
+ ```typescript
38
+ import { SteamSets } from "@steamsets/client-ts";
39
+
40
+ const steamSets = new SteamSets({
41
+ token: "<YOUR_BEARER_TOKEN_HERE>",
42
+ });
43
+
44
+ async function run() {
45
+ const result = await steamSets.internal.accountV1BookmarkBadge({
46
+ badgeId: "bdg_123",
47
+ bookmark: true,
48
+ });
49
+
50
+ // Handle the result
51
+ console.log(result);
52
+ }
53
+
54
+ run();
55
+ ```
56
+
57
+ ### Standalone function
58
+
59
+ The standalone function version of this method:
60
+
61
+ ```typescript
62
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
63
+ import { internalAccountV1BookmarkBadge } from "@steamsets/client-ts/funcs/internalAccountV1BookmarkBadge.js";
64
+
65
+ // Use `SteamSetsCore` for best tree-shaking performance.
66
+ // You can create one instance of it to use across an application.
67
+ const steamSets = new SteamSetsCore({
68
+ token: "<YOUR_BEARER_TOKEN_HERE>",
69
+ });
70
+
71
+ async function run() {
72
+ const res = await internalAccountV1BookmarkBadge(steamSets, {
73
+ badgeId: "bdg_123",
74
+ bookmark: true,
75
+ });
76
+
77
+ if (!res.ok) {
78
+ throw res.error;
79
+ }
80
+
81
+ const { value: result } = res;
82
+
83
+ // Handle the result
84
+ console.log(result);
85
+ }
86
+
87
+ run();
88
+ ```
89
+
90
+ ### Parameters
91
+
92
+ | Parameter | Type | Required | Description |
93
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
94
+ | `request` | [components.V1AccountBadgeBookmarkRequestBody](../../models/components/v1accountbadgebookmarkrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
95
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
96
+ | `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. |
97
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
98
+
99
+ ### Response
100
+
101
+ **Promise\<[operations.AccountV1BookmarkBadgeResponse](../../models/operations/accountv1bookmarkbadgeresponse.md)\>**
102
+
103
+ ### Errors
104
+
105
+ | Error Type | Status Code | Content Type |
106
+ | ------------------------ | ------------------------ | ------------------------ |
107
+ | errors.ErrorModel | 403, 404, 422 | application/problem+json |
108
+ | errors.ErrorModel | 500 | application/problem+json |
109
+ | errors.SDKError | 4XX, 5XX | \*/\* |
110
+
111
+ ## createDeveloperApp
112
+
113
+ ### Example Usage
114
+
115
+ ```typescript
116
+ import { SteamSets } from "@steamsets/client-ts";
117
+
118
+ const steamSets = new SteamSets({
119
+ token: "<YOUR_BEARER_TOKEN_HERE>",
120
+ });
121
+
122
+ async function run() {
123
+ const result = await steamSets.internal.createDeveloperApp({
124
+ description: "Your App Description",
125
+ environment: "production",
126
+ generateKey: true,
127
+ name: "Your App",
128
+ });
129
+
130
+ // Handle the result
131
+ console.log(result);
132
+ }
133
+
134
+ run();
135
+ ```
136
+
137
+ ### Standalone function
138
+
139
+ The standalone function version of this method:
140
+
141
+ ```typescript
142
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
143
+ import { internalCreateDeveloperApp } from "@steamsets/client-ts/funcs/internalCreateDeveloperApp.js";
144
+
145
+ // Use `SteamSetsCore` for best tree-shaking performance.
146
+ // You can create one instance of it to use across an application.
147
+ const steamSets = new SteamSetsCore({
148
+ token: "<YOUR_BEARER_TOKEN_HERE>",
149
+ });
150
+
151
+ async function run() {
152
+ const res = await internalCreateDeveloperApp(steamSets, {
153
+ description: "Your App Description",
154
+ environment: "production",
155
+ generateKey: true,
156
+ name: "Your App",
157
+ });
158
+
159
+ if (!res.ok) {
160
+ throw res.error;
161
+ }
162
+
163
+ const { value: result } = res;
164
+
165
+ // Handle the result
166
+ console.log(result);
167
+ }
168
+
169
+ run();
170
+ ```
171
+
172
+ ### Parameters
173
+
174
+ | Parameter | Type | Required | Description |
175
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
176
+ | `request` | [components.V1DeveloperAppCreateRequestBody](../../models/components/v1developerappcreaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
177
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
178
+ | `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. |
179
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
180
+
181
+ ### Response
182
+
183
+ **Promise\<[operations.AccountV1SettingsDeveloperAppCreateResponse](../../models/operations/accountv1settingsdeveloperappcreateresponse.md)\>**
184
+
185
+ ### Errors
186
+
187
+ | Error Type | Status Code | Content Type |
188
+ | ------------------------ | ------------------------ | ------------------------ |
189
+ | errors.ErrorModel | 400, 404, 422 | application/problem+json |
190
+ | errors.ErrorModel | 500 | application/problem+json |
191
+ | errors.SDKError | 4XX, 5XX | \*/\* |
192
+
193
+ ## deleteDeveloperApp
194
+
195
+ ### Example Usage
196
+
197
+ ```typescript
198
+ import { SteamSets } from "@steamsets/client-ts";
199
+
200
+ const steamSets = new SteamSets({
201
+ token: "<YOUR_BEARER_TOKEN_HERE>",
202
+ });
203
+
204
+ async function run() {
205
+ const result = await steamSets.internal.deleteDeveloperApp({
206
+ developerAppId: "da_123456",
207
+ });
208
+
209
+ // Handle the result
210
+ console.log(result);
211
+ }
212
+
213
+ run();
214
+ ```
215
+
216
+ ### Standalone function
217
+
218
+ The standalone function version of this method:
219
+
220
+ ```typescript
221
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
222
+ import { internalDeleteDeveloperApp } from "@steamsets/client-ts/funcs/internalDeleteDeveloperApp.js";
223
+
224
+ // Use `SteamSetsCore` for best tree-shaking performance.
225
+ // You can create one instance of it to use across an application.
226
+ const steamSets = new SteamSetsCore({
227
+ token: "<YOUR_BEARER_TOKEN_HERE>",
228
+ });
229
+
230
+ async function run() {
231
+ const res = await internalDeleteDeveloperApp(steamSets, {
232
+ developerAppId: "da_123456",
233
+ });
234
+
235
+ if (!res.ok) {
236
+ throw res.error;
237
+ }
238
+
239
+ const { value: result } = res;
240
+
241
+ // Handle the result
242
+ console.log(result);
243
+ }
244
+
245
+ run();
246
+ ```
247
+
248
+ ### Parameters
249
+
250
+ | Parameter | Type | Required | Description |
251
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
252
+ | `request` | [components.V1AccountDeveloperAppDeleteRequestBody](../../models/components/v1accountdeveloperappdeleterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
253
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
254
+ | `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. |
255
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
256
+
257
+ ### Response
258
+
259
+ **Promise\<[operations.AccountV1SettingsDeveloperAppDeleteResponse](../../models/operations/accountv1settingsdeveloperappdeleteresponse.md)\>**
260
+
261
+ ### Errors
262
+
263
+ | Error Type | Status Code | Content Type |
264
+ | ------------------------ | ------------------------ | ------------------------ |
265
+ | errors.ErrorModel | 404, 422, 429 | application/problem+json |
266
+ | errors.ErrorModel | 500 | application/problem+json |
267
+ | errors.SDKError | 4XX, 5XX | \*/\* |
268
+
269
+ ## deleteImages
270
+
271
+ ### Example Usage
272
+
273
+ ```typescript
274
+ import { SteamSets } from "@steamsets/client-ts";
275
+
276
+ const steamSets = new SteamSets({
277
+ token: "<YOUR_BEARER_TOKEN_HERE>",
278
+ });
279
+
280
+ async function run() {
281
+ const result = await steamSets.internal.deleteImages({
282
+ imageIds: [
283
+ "<value>",
284
+ "<value>",
285
+ ],
286
+ });
287
+
288
+ // Handle the result
289
+ console.log(result);
290
+ }
291
+
292
+ run();
293
+ ```
294
+
295
+ ### Standalone function
296
+
297
+ The standalone function version of this method:
298
+
299
+ ```typescript
300
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
301
+ import { internalDeleteImages } from "@steamsets/client-ts/funcs/internalDeleteImages.js";
302
+
303
+ // Use `SteamSetsCore` for best tree-shaking performance.
304
+ // You can create one instance of it to use across an application.
305
+ const steamSets = new SteamSetsCore({
306
+ token: "<YOUR_BEARER_TOKEN_HERE>",
307
+ });
308
+
309
+ async function run() {
310
+ const res = await internalDeleteImages(steamSets, {
311
+ imageIds: [
312
+ "<value>",
313
+ "<value>",
314
+ ],
315
+ });
316
+
317
+ if (!res.ok) {
318
+ throw res.error;
319
+ }
320
+
321
+ const { value: result } = res;
322
+
323
+ // Handle the result
324
+ console.log(result);
325
+ }
326
+
327
+ run();
328
+ ```
329
+
330
+ ### Parameters
331
+
332
+ | Parameter | Type | Required | Description |
333
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
334
+ | `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
335
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
336
+ | `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. |
337
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
338
+
339
+ ### Response
340
+
341
+ **Promise\<[operations.AccountV1ImagesDeleteResponse](../../models/operations/accountv1imagesdeleteresponse.md)\>**
342
+
343
+ ### Errors
344
+
345
+ | Error Type | Status Code | Content Type |
346
+ | ------------------------ | ------------------------ | ------------------------ |
347
+ | errors.ErrorModel | 404, 422 | application/problem+json |
348
+ | errors.ErrorModel | 500 | application/problem+json |
349
+ | errors.SDKError | 4XX, 5XX | \*/\* |
350
+
351
+ ## updateApp
352
+
353
+ ### Example Usage
354
+
355
+ ```typescript
356
+ import { SteamSets } from "@steamsets/client-ts";
357
+
358
+ const steamSets = new SteamSets({
359
+ token: "<YOUR_BEARER_TOKEN_HERE>",
360
+ });
361
+
362
+ async function run() {
363
+ const result = await steamSets.internal.updateApp({
364
+ description: "My App Description",
365
+ developerAppId: "da_123456",
366
+ name: "My App",
367
+ regenerate: true,
368
+ });
369
+
370
+ // Handle the result
371
+ console.log(result);
372
+ }
373
+
374
+ run();
375
+ ```
376
+
377
+ ### Standalone function
378
+
379
+ The standalone function version of this method:
380
+
381
+ ```typescript
382
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
383
+ import { internalUpdateApp } from "@steamsets/client-ts/funcs/internalUpdateApp.js";
384
+
385
+ // Use `SteamSetsCore` for best tree-shaking performance.
386
+ // You can create one instance of it to use across an application.
387
+ const steamSets = new SteamSetsCore({
388
+ token: "<YOUR_BEARER_TOKEN_HERE>",
389
+ });
390
+
391
+ async function run() {
392
+ const res = await internalUpdateApp(steamSets, {
393
+ description: "My App Description",
394
+ developerAppId: "da_123456",
395
+ name: "My App",
396
+ regenerate: true,
397
+ });
398
+
399
+ if (!res.ok) {
400
+ throw res.error;
401
+ }
402
+
403
+ const { value: result } = res;
404
+
405
+ // Handle the result
406
+ console.log(result);
407
+ }
408
+
409
+ run();
410
+ ```
411
+
412
+ ### Parameters
413
+
414
+ | Parameter | Type | Required | Description |
415
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
416
+ | `request` | [components.V1AccountDeveloperAppUpdateRequestBody](../../models/components/v1accountdeveloperappupdaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
417
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
418
+ | `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. |
419
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
420
+
421
+ ### Response
422
+
423
+ **Promise\<[operations.AccountV1SettingsDeveloperAppUpdateResponse](../../models/operations/accountv1settingsdeveloperappupdateresponse.md)\>**
424
+
425
+ ### Errors
426
+
427
+ | Error Type | Status Code | Content Type |
428
+ | ------------------------ | ------------------------ | ------------------------ |
429
+ | errors.ErrorModel | 404, 422, 429 | application/problem+json |
430
+ | errors.ErrorModel | 500 | application/problem+json |
431
+ | errors.SDKError | 4XX, 5XX | \*/\* |
432
+
433
+ ## accountV1GetBadgeBookmarks
434
+
435
+ ### Example Usage
436
+
437
+ ```typescript
438
+ import { SteamSets } from "@steamsets/client-ts";
439
+
440
+ const steamSets = new SteamSets({
441
+ token: "<YOUR_BEARER_TOKEN_HERE>",
442
+ });
443
+
444
+ async function run() {
445
+ const result = await steamSets.internal.accountV1GetBadgeBookmarks();
446
+
447
+ // Handle the result
448
+ console.log(result);
449
+ }
450
+
451
+ run();
452
+ ```
453
+
454
+ ### Standalone function
455
+
456
+ The standalone function version of this method:
457
+
458
+ ```typescript
459
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
460
+ import { internalAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/internalAccountV1GetBadgeBookmarks.js";
461
+
462
+ // Use `SteamSetsCore` for best tree-shaking performance.
463
+ // You can create one instance of it to use across an application.
464
+ const steamSets = new SteamSetsCore({
465
+ token: "<YOUR_BEARER_TOKEN_HERE>",
466
+ });
467
+
468
+ async function run() {
469
+ const res = await internalAccountV1GetBadgeBookmarks(steamSets);
470
+
471
+ if (!res.ok) {
472
+ throw res.error;
473
+ }
474
+
475
+ const { value: result } = res;
476
+
477
+ // Handle the result
478
+ console.log(result);
479
+ }
480
+
481
+ run();
482
+ ```
483
+
484
+ ### Parameters
485
+
486
+ | Parameter | Type | Required | Description |
487
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
488
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
489
+ | `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. |
490
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
491
+
492
+ ### Response
493
+
494
+ **Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
495
+
496
+ ### Errors
497
+
498
+ | Error Type | Status Code | Content Type |
499
+ | ------------------------ | ------------------------ | ------------------------ |
500
+ | errors.ErrorModel | 403, 404 | application/problem+json |
501
+ | errors.ErrorModel | 500 | application/problem+json |
502
+ | errors.SDKError | 4XX, 5XX | \*/\* |
503
+
504
+ ## accountV1ImagesGet
505
+
506
+ ### Example Usage
507
+
508
+ ```typescript
509
+ import { SteamSets } from "@steamsets/client-ts";
510
+
511
+ const steamSets = new SteamSets({
512
+ token: "<YOUR_BEARER_TOKEN_HERE>",
513
+ });
514
+
515
+ async function run() {
516
+ const result = await steamSets.internal.accountV1ImagesGet();
517
+
518
+ // Handle the result
519
+ console.log(result);
520
+ }
521
+
522
+ run();
523
+ ```
524
+
525
+ ### Standalone function
526
+
527
+ The standalone function version of this method:
528
+
529
+ ```typescript
530
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
531
+ import { internalAccountV1ImagesGet } from "@steamsets/client-ts/funcs/internalAccountV1ImagesGet.js";
532
+
533
+ // Use `SteamSetsCore` for best tree-shaking performance.
534
+ // You can create one instance of it to use across an application.
535
+ const steamSets = new SteamSetsCore({
536
+ token: "<YOUR_BEARER_TOKEN_HERE>",
537
+ });
538
+
539
+ async function run() {
540
+ const res = await internalAccountV1ImagesGet(steamSets);
541
+
542
+ if (!res.ok) {
543
+ throw res.error;
544
+ }
545
+
546
+ const { value: result } = res;
547
+
548
+ // Handle the result
549
+ console.log(result);
550
+ }
551
+
552
+ run();
553
+ ```
554
+
555
+ ### Parameters
556
+
557
+ | Parameter | Type | Required | Description |
558
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
559
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
560
+ | `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. |
561
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
562
+
563
+ ### Response
564
+
565
+ **Promise\<[operations.AccountV1ImagesGetResponse](../../models/operations/accountv1imagesgetresponse.md)\>**
566
+
567
+ ### Errors
568
+
569
+ | Error Type | Status Code | Content Type |
570
+ | ------------------------ | ------------------------ | ------------------------ |
571
+ | errors.ErrorModel | 500 | application/problem+json |
572
+ | errors.SDKError | 4XX, 5XX | \*/\* |
573
+
574
+ ## accountV1GetOwnedBadges
575
+
576
+ ### Example Usage
577
+
578
+ ```typescript
579
+ import { SteamSets } from "@steamsets/client-ts";
580
+
581
+ const steamSets = new SteamSets({
582
+ token: "<YOUR_BEARER_TOKEN_HERE>",
583
+ });
584
+
585
+ async function run() {
586
+ const result = await steamSets.internal.accountV1GetOwnedBadges();
587
+
588
+ // Handle the result
589
+ console.log(result);
590
+ }
591
+
592
+ run();
593
+ ```
594
+
595
+ ### Standalone function
596
+
597
+ The standalone function version of this method:
598
+
599
+ ```typescript
600
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
601
+ import { internalAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/internalAccountV1GetOwnedBadges.js";
602
+
603
+ // Use `SteamSetsCore` for best tree-shaking performance.
604
+ // You can create one instance of it to use across an application.
605
+ const steamSets = new SteamSetsCore({
606
+ token: "<YOUR_BEARER_TOKEN_HERE>",
607
+ });
608
+
609
+ async function run() {
610
+ const res = await internalAccountV1GetOwnedBadges(steamSets);
611
+
612
+ if (!res.ok) {
613
+ throw res.error;
614
+ }
615
+
616
+ const { value: result } = res;
617
+
618
+ // Handle the result
619
+ console.log(result);
620
+ }
621
+
622
+ run();
623
+ ```
624
+
625
+ ### Parameters
626
+
627
+ | Parameter | Type | Required | Description |
628
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
629
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
630
+ | `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. |
631
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
632
+
633
+ ### Response
634
+
635
+ **Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
636
+
637
+ ### Errors
638
+
639
+ | Error Type | Status Code | Content Type |
640
+ | ------------------------ | ------------------------ | ------------------------ |
641
+ | errors.ErrorModel | 403, 404 | application/problem+json |
642
+ | errors.ErrorModel | 500 | application/problem+json |
643
+ | errors.SDKError | 4XX, 5XX | \*/\* |
644
+
645
+ ## getStaff
646
+
647
+ ### Example Usage
648
+
649
+ ```typescript
650
+ import { SteamSets } from "@steamsets/client-ts";
651
+
652
+ const steamSets = new SteamSets({
653
+ token: "<YOUR_BEARER_TOKEN_HERE>",
654
+ });
655
+
656
+ async function run() {
657
+ const result = await steamSets.internal.getStaff();
658
+
659
+ // Handle the result
660
+ console.log(result);
661
+ }
662
+
663
+ run();
664
+ ```
665
+
666
+ ### Standalone function
667
+
668
+ The standalone function version of this method:
669
+
670
+ ```typescript
671
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
672
+ import { internalGetStaff } from "@steamsets/client-ts/funcs/internalGetStaff.js";
673
+
674
+ // Use `SteamSetsCore` for best tree-shaking performance.
675
+ // You can create one instance of it to use across an application.
676
+ const steamSets = new SteamSetsCore({
677
+ token: "<YOUR_BEARER_TOKEN_HERE>",
678
+ });
679
+
680
+ async function run() {
681
+ const res = await internalGetStaff(steamSets);
682
+
683
+ if (!res.ok) {
684
+ throw res.error;
685
+ }
686
+
687
+ const { value: result } = res;
688
+
689
+ // Handle the result
690
+ console.log(result);
691
+ }
692
+
693
+ run();
694
+ ```
695
+
696
+ ### Parameters
697
+
698
+ | Parameter | Type | Required | Description |
699
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
700
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
701
+ | `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. |
702
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
703
+
704
+ ### Response
705
+
706
+ **Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
707
+
708
+ ### Errors
709
+
710
+ | Error Type | Status Code | Content Type |
711
+ | ------------------------ | ------------------------ | ------------------------ |
712
+ | errors.ErrorModel | 404, 429 | application/problem+json |
713
+ | errors.ErrorModel | 500 | application/problem+json |
714
+ | errors.SDKError | 4XX, 5XX | \*/\* |
715
+
716
+ ## accountV1ConnectionReconnect
717
+
718
+ ### Example Usage
719
+
720
+ ```typescript
721
+ import { SteamSets } from "@steamsets/client-ts";
722
+
723
+ const steamSets = new SteamSets({
724
+ token: "<YOUR_BEARER_TOKEN_HERE>",
725
+ });
726
+
727
+ async function run() {
728
+ const result = await steamSets.internal.accountV1ConnectionReconnect({
729
+ code: "123456",
730
+ connectionId: "123456",
731
+ });
732
+
733
+ // Handle the result
734
+ console.log(result);
735
+ }
736
+
737
+ run();
738
+ ```
739
+
740
+ ### Standalone function
741
+
742
+ The standalone function version of this method:
743
+
744
+ ```typescript
745
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
746
+ import { internalAccountV1ConnectionReconnect } from "@steamsets/client-ts/funcs/internalAccountV1ConnectionReconnect.js";
747
+
748
+ // Use `SteamSetsCore` for best tree-shaking performance.
749
+ // You can create one instance of it to use across an application.
750
+ const steamSets = new SteamSetsCore({
751
+ token: "<YOUR_BEARER_TOKEN_HERE>",
752
+ });
753
+
754
+ async function run() {
755
+ const res = await internalAccountV1ConnectionReconnect(steamSets, {
756
+ code: "123456",
757
+ connectionId: "123456",
758
+ });
759
+
760
+ if (!res.ok) {
761
+ throw res.error;
762
+ }
763
+
764
+ const { value: result } = res;
765
+
766
+ // Handle the result
767
+ console.log(result);
768
+ }
769
+
770
+ run();
771
+ ```
772
+
773
+ ### Parameters
774
+
775
+ | Parameter | Type | Required | Description |
776
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
777
+ | `request` | [components.V1ReconnectRequestBody](../../models/components/v1reconnectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
778
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
779
+ | `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. |
780
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
781
+
782
+ ### Response
783
+
784
+ **Promise\<[operations.AccountV1ConnectionReconnectResponse](../../models/operations/accountv1connectionreconnectresponse.md)\>**
785
+
786
+ ### Errors
787
+
788
+ | Error Type | Status Code | Content Type |
789
+ | ------------------------ | ------------------------ | ------------------------ |
790
+ | errors.ErrorModel | 400, 422 | application/problem+json |
791
+ | errors.ErrorModel | 500 | application/problem+json |
792
+ | errors.SDKError | 4XX, 5XX | \*/\* |
793
+
794
+ ## sendEmailVerification
795
+
796
+ ### Example Usage
797
+
798
+ ```typescript
799
+ import { SteamSets } from "@steamsets/client-ts";
800
+
801
+ const steamSets = new SteamSets({
802
+ token: "<YOUR_BEARER_TOKEN_HERE>",
803
+ });
804
+
805
+ async function run() {
806
+ const result = await steamSets.internal.sendEmailVerification({});
807
+
808
+ // Handle the result
809
+ console.log(result);
810
+ }
811
+
812
+ run();
813
+ ```
814
+
815
+ ### Standalone function
816
+
817
+ The standalone function version of this method:
818
+
819
+ ```typescript
820
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
821
+ import { internalSendEmailVerification } from "@steamsets/client-ts/funcs/internalSendEmailVerification.js";
822
+
823
+ // Use `SteamSetsCore` for best tree-shaking performance.
824
+ // You can create one instance of it to use across an application.
825
+ const steamSets = new SteamSetsCore({
826
+ token: "<YOUR_BEARER_TOKEN_HERE>",
827
+ });
828
+
829
+ async function run() {
830
+ const res = await internalSendEmailVerification(steamSets, {});
831
+
832
+ if (!res.ok) {
833
+ throw res.error;
834
+ }
835
+
836
+ const { value: result } = res;
837
+
838
+ // Handle the result
839
+ console.log(result);
840
+ }
841
+
842
+ run();
843
+ ```
844
+
845
+ ### Parameters
846
+
847
+ | Parameter | Type | Required | Description |
848
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
849
+ | `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
850
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
851
+ | `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. |
852
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
853
+
854
+ ### Response
855
+
856
+ **Promise\<[operations.AccountV1SettingsSendEmailVerificationResponse](../../models/operations/accountv1settingssendemailverificationresponse.md)\>**
857
+
858
+ ### Errors
859
+
860
+ | Error Type | Status Code | Content Type |
861
+ | ------------------------ | ------------------------ | ------------------------ |
862
+ | errors.ErrorModel | 404, 422, 429 | application/problem+json |
863
+ | errors.ErrorModel | 500 | application/problem+json |
864
+ | errors.SDKError | 4XX, 5XX | \*/\* |
865
+
866
+ ## accountV1ImagesUpdate
867
+
868
+ ### Example Usage
869
+
870
+ ```typescript
871
+ import { SteamSets } from "@steamsets/client-ts";
872
+
873
+ const steamSets = new SteamSets({
874
+ token: "<YOUR_BEARER_TOKEN_HERE>",
875
+ });
876
+
877
+ async function run() {
878
+ const result = await steamSets.internal.accountV1ImagesUpdate({
879
+ images: [
880
+
881
+ ],
882
+ });
883
+
884
+ // Handle the result
885
+ console.log(result);
886
+ }
887
+
888
+ run();
889
+ ```
890
+
891
+ ### Standalone function
892
+
893
+ The standalone function version of this method:
894
+
895
+ ```typescript
896
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
897
+ import { internalAccountV1ImagesUpdate } from "@steamsets/client-ts/funcs/internalAccountV1ImagesUpdate.js";
898
+
899
+ // Use `SteamSetsCore` for best tree-shaking performance.
900
+ // You can create one instance of it to use across an application.
901
+ const steamSets = new SteamSetsCore({
902
+ token: "<YOUR_BEARER_TOKEN_HERE>",
903
+ });
904
+
905
+ async function run() {
906
+ const res = await internalAccountV1ImagesUpdate(steamSets, {
907
+ images: [
908
+
909
+ ],
910
+ });
911
+
912
+ if (!res.ok) {
913
+ throw res.error;
914
+ }
915
+
916
+ const { value: result } = res;
917
+
918
+ // Handle the result
919
+ console.log(result);
920
+ }
921
+
922
+ run();
923
+ ```
924
+
925
+ ### Parameters
926
+
927
+ | Parameter | Type | Required | Description |
928
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
929
+ | `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
930
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
931
+ | `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. |
932
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
933
+
934
+ ### Response
935
+
936
+ **Promise\<[operations.AccountV1ImagesUpdateResponse](../../models/operations/accountv1imagesupdateresponse.md)\>**
937
+
938
+ ### Errors
939
+
940
+ | Error Type | Status Code | Content Type |
941
+ | ------------------------ | ------------------------ | ------------------------ |
942
+ | errors.ErrorModel | 404, 422 | application/problem+json |
943
+ | errors.ErrorModel | 500 | application/problem+json |
944
+ | errors.SDKError | 4XX, 5XX | \*/\* |
945
+
946
+ ## uploadImages
947
+
948
+ ### Example Usage
949
+
950
+ ```typescript
951
+ import { SteamSets } from "@steamsets/client-ts";
952
+
953
+ const steamSets = new SteamSets({
954
+ token: "<YOUR_BEARER_TOKEN_HERE>",
955
+ });
956
+
957
+ async function run() {
958
+ const result = await steamSets.internal.uploadImages({
959
+ images: [
960
+
961
+ ],
962
+ });
963
+
964
+ // Handle the result
965
+ console.log(result);
966
+ }
967
+
968
+ run();
969
+ ```
970
+
971
+ ### Standalone function
972
+
973
+ The standalone function version of this method:
974
+
975
+ ```typescript
976
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
977
+ import { internalUploadImages } from "@steamsets/client-ts/funcs/internalUploadImages.js";
978
+
979
+ // Use `SteamSetsCore` for best tree-shaking performance.
980
+ // You can create one instance of it to use across an application.
981
+ const steamSets = new SteamSetsCore({
982
+ token: "<YOUR_BEARER_TOKEN_HERE>",
983
+ });
984
+
985
+ async function run() {
986
+ const res = await internalUploadImages(steamSets, {
987
+ images: [
988
+
989
+ ],
990
+ });
991
+
992
+ if (!res.ok) {
993
+ throw res.error;
994
+ }
995
+
996
+ const { value: result } = res;
997
+
998
+ // Handle the result
999
+ console.log(result);
1000
+ }
1001
+
1002
+ run();
1003
+ ```
1004
+
1005
+ ### Parameters
1006
+
1007
+ | Parameter | Type | Required | Description |
1008
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1009
+ | `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1010
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1011
+ | `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. |
1012
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1013
+
1014
+ ### Response
1015
+
1016
+ **Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
1017
+
1018
+ ### Errors
1019
+
1020
+ | Error Type | Status Code | Content Type |
1021
+ | ------------------------ | ------------------------ | ------------------------ |
1022
+ | errors.ErrorModel | 422 | application/problem+json |
1023
+ | errors.ErrorModel | 500 | application/problem+json |
1024
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1025
+
1026
+ ## verifyEmail
1027
+
1028
+ ### Example Usage
1029
+
1030
+ ```typescript
1031
+ import { SteamSets } from "@steamsets/client-ts";
1032
+
1033
+ const steamSets = new SteamSets({
1034
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1035
+ });
1036
+
1037
+ async function run() {
1038
+ const result = await steamSets.internal.verifyEmail({
1039
+ code: "123456",
1040
+ });
1041
+
1042
+ // Handle the result
1043
+ console.log(result);
1044
+ }
1045
+
1046
+ run();
1047
+ ```
1048
+
1049
+ ### Standalone function
1050
+
1051
+ The standalone function version of this method:
1052
+
1053
+ ```typescript
1054
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1055
+ import { internalVerifyEmail } from "@steamsets/client-ts/funcs/internalVerifyEmail.js";
1056
+
1057
+ // Use `SteamSetsCore` for best tree-shaking performance.
1058
+ // You can create one instance of it to use across an application.
1059
+ const steamSets = new SteamSetsCore({
1060
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1061
+ });
1062
+
1063
+ async function run() {
1064
+ const res = await internalVerifyEmail(steamSets, {
1065
+ code: "123456",
1066
+ });
1067
+
1068
+ if (!res.ok) {
1069
+ throw res.error;
1070
+ }
1071
+
1072
+ const { value: result } = res;
1073
+
1074
+ // Handle the result
1075
+ console.log(result);
1076
+ }
1077
+
1078
+ run();
1079
+ ```
1080
+
1081
+ ### Parameters
1082
+
1083
+ | Parameter | Type | Required | Description |
1084
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1085
+ | `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1086
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1087
+ | `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. |
1088
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1089
+
1090
+ ### Response
1091
+
1092
+ **Promise\<[operations.AccountV1SettingsVerfyEmailResponse](../../models/operations/accountv1settingsverfyemailresponse.md)\>**
1093
+
1094
+ ### Errors
1095
+
1096
+ | Error Type | Status Code | Content Type |
1097
+ | ------------------------ | ------------------------ | ------------------------ |
1098
+ | errors.ErrorModel | 404, 422, 429 | application/problem+json |
1099
+ | errors.ErrorModel | 500 | application/problem+json |
1100
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1101
+
1102
+ ## getAccount
1103
+
1104
+ ### Example Usage
1105
+
1106
+ ```typescript
1107
+ import { SteamSets } from "@steamsets/client-ts";
1108
+
1109
+ const steamSets = new SteamSets({
1110
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1111
+ });
1112
+
1113
+ async function run() {
1114
+ const result = await steamSets.internal.getAccount({});
1115
+
1116
+ // Handle the result
1117
+ console.log(result);
1118
+ }
1119
+
1120
+ run();
1121
+ ```
1122
+
1123
+ ### Standalone function
1124
+
1125
+ The standalone function version of this method:
1126
+
1127
+ ```typescript
1128
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1129
+ import { internalGetAccount } from "@steamsets/client-ts/funcs/internalGetAccount.js";
1130
+
1131
+ // Use `SteamSetsCore` for best tree-shaking performance.
1132
+ // You can create one instance of it to use across an application.
1133
+ const steamSets = new SteamSetsCore({
1134
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1135
+ });
1136
+
1137
+ async function run() {
1138
+ const res = await internalGetAccount(steamSets, {});
1139
+
1140
+ if (!res.ok) {
1141
+ throw res.error;
1142
+ }
1143
+
1144
+ const { value: result } = res;
1145
+
1146
+ // Handle the result
1147
+ console.log(result);
1148
+ }
1149
+
1150
+ run();
1151
+ ```
1152
+
1153
+ ### Parameters
1154
+
1155
+ | Parameter | Type | Required | Description |
1156
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1157
+ | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
1158
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1159
+ | `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. |
1160
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1161
+
1162
+ ### Response
1163
+
1164
+ **Promise\<[operations.AdminV1GetAccountResponse](../../models/operations/adminv1getaccountresponse.md)\>**
1165
+
1166
+ ### Errors
1167
+
1168
+ | Error Type | Status Code | Content Type |
1169
+ | ------------------------ | ------------------------ | ------------------------ |
1170
+ | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
1171
+ | errors.ErrorModel | 500 | application/problem+json |
1172
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1173
+
1174
+ ## adminV1GetEvents
1175
+
1176
+ ### Example Usage
1177
+
1178
+ ```typescript
1179
+ import { SteamSets } from "@steamsets/client-ts";
1180
+
1181
+ const steamSets = new SteamSets({
1182
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1183
+ });
1184
+
1185
+ async function run() {
1186
+ const result = await steamSets.internal.adminV1GetEvents();
1187
+
1188
+ // Handle the result
1189
+ console.log(result);
1190
+ }
1191
+
1192
+ run();
1193
+ ```
1194
+
1195
+ ### Standalone function
1196
+
1197
+ The standalone function version of this method:
1198
+
1199
+ ```typescript
1200
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1201
+ import { internalAdminV1GetEvents } from "@steamsets/client-ts/funcs/internalAdminV1GetEvents.js";
1202
+
1203
+ // Use `SteamSetsCore` for best tree-shaking performance.
1204
+ // You can create one instance of it to use across an application.
1205
+ const steamSets = new SteamSetsCore({
1206
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1207
+ });
1208
+
1209
+ async function run() {
1210
+ const res = await internalAdminV1GetEvents(steamSets);
1211
+
1212
+ if (!res.ok) {
1213
+ throw res.error;
1214
+ }
1215
+
1216
+ const { value: result } = res;
1217
+
1218
+ // Handle the result
1219
+ console.log(result);
1220
+ }
1221
+
1222
+ run();
1223
+ ```
1224
+
1225
+ ### Parameters
1226
+
1227
+ | Parameter | Type | Required | Description |
1228
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1229
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1230
+ | `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. |
1231
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1232
+
1233
+ ### Response
1234
+
1235
+ **Promise\<[operations.AdminV1GetEventsResponse](../../models/operations/adminv1geteventsresponse.md)\>**
1236
+
1237
+ ### Errors
1238
+
1239
+ | Error Type | Status Code | Content Type |
1240
+ | ------------------------ | ------------------------ | ------------------------ |
1241
+ | errors.ErrorModel | 403, 404, 429 | application/problem+json |
1242
+ | errors.ErrorModel | 500 | application/problem+json |
1243
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1244
+
1245
+ ## adminV1UpdateEvent
1246
+
1247
+ ### Example Usage
1248
+
1249
+ ```typescript
1250
+ import { SteamSets } from "@steamsets/client-ts";
1251
+
1252
+ const steamSets = new SteamSets({
1253
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1254
+ });
1255
+
1256
+ async function run() {
1257
+ const result = await steamSets.internal.adminV1UpdateEvent({
1258
+ eventId: "evt_123456",
1259
+ mappings: [
1260
+ {
1261
+ appId: 730,
1262
+ steamId: 76561198842603730,
1263
+ },
1264
+ ],
1265
+ });
1266
+
1267
+ // Handle the result
1268
+ console.log(result);
1269
+ }
1270
+
1271
+ run();
1272
+ ```
1273
+
1274
+ ### Standalone function
1275
+
1276
+ The standalone function version of this method:
1277
+
1278
+ ```typescript
1279
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1280
+ import { internalAdminV1UpdateEvent } from "@steamsets/client-ts/funcs/internalAdminV1UpdateEvent.js";
1281
+
1282
+ // Use `SteamSetsCore` for best tree-shaking performance.
1283
+ // You can create one instance of it to use across an application.
1284
+ const steamSets = new SteamSetsCore({
1285
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1286
+ });
1287
+
1288
+ async function run() {
1289
+ const res = await internalAdminV1UpdateEvent(steamSets, {
1290
+ eventId: "evt_123456",
1291
+ mappings: [
1292
+ {
1293
+ appId: 730,
1294
+ steamId: 76561198842603730,
1295
+ },
1296
+ ],
1297
+ });
1298
+
1299
+ if (!res.ok) {
1300
+ throw res.error;
1301
+ }
1302
+
1303
+ const { value: result } = res;
1304
+
1305
+ // Handle the result
1306
+ console.log(result);
1307
+ }
1308
+
1309
+ run();
1310
+ ```
1311
+
1312
+ ### Parameters
1313
+
1314
+ | Parameter | Type | Required | Description |
1315
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1316
+ | `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1317
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1318
+ | `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. |
1319
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1320
+
1321
+ ### Response
1322
+
1323
+ **Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
1324
+
1325
+ ### Errors
1326
+
1327
+ | Error Type | Status Code | Content Type |
1328
+ | ------------------------ | ------------------------ | ------------------------ |
1329
+ | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
1330
+ | errors.ErrorModel | 500 | application/problem+json |
1331
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1332
+
1333
+ ## adminV1UpdateResources
1334
+
1335
+ ### Example Usage
1336
+
1337
+ ```typescript
1338
+ import { SteamSets } from "@steamsets/client-ts";
1339
+
1340
+ const steamSets = new SteamSets({
1341
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1342
+ });
1343
+
1344
+ async function run() {
1345
+ const result = await steamSets.internal.adminV1UpdateResources({
1346
+ newResources: [
1347
+ {
1348
+ resource: "max_leaderboard_entries",
1349
+ value: "1",
1350
+ },
1351
+ ],
1352
+ resource: [
1353
+ "short_link_domain",
1354
+ "background",
1355
+ ],
1356
+ });
1357
+
1358
+ // Handle the result
1359
+ console.log(result);
1360
+ }
1361
+
1362
+ run();
1363
+ ```
1364
+
1365
+ ### Standalone function
1366
+
1367
+ The standalone function version of this method:
1368
+
1369
+ ```typescript
1370
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1371
+ import { internalAdminV1UpdateResources } from "@steamsets/client-ts/funcs/internalAdminV1UpdateResources.js";
1372
+
1373
+ // Use `SteamSetsCore` for best tree-shaking performance.
1374
+ // You can create one instance of it to use across an application.
1375
+ const steamSets = new SteamSetsCore({
1376
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1377
+ });
1378
+
1379
+ async function run() {
1380
+ const res = await internalAdminV1UpdateResources(steamSets, {
1381
+ newResources: [
1382
+ {
1383
+ resource: "max_leaderboard_entries",
1384
+ value: "1",
1385
+ },
1386
+ ],
1387
+ resource: [
1388
+ "short_link_domain",
1389
+ "background",
1390
+ ],
1391
+ });
1392
+
1393
+ if (!res.ok) {
1394
+ throw res.error;
1395
+ }
1396
+
1397
+ const { value: result } = res;
1398
+
1399
+ // Handle the result
1400
+ console.log(result);
1401
+ }
1402
+
1403
+ run();
1404
+ ```
1405
+
1406
+ ### Parameters
1407
+
1408
+ | Parameter | Type | Required | Description |
1409
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1410
+ | `request` | [components.V1AdminUpdateResourcesRequestBody](../../models/components/v1adminupdateresourcesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1411
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1412
+ | `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. |
1413
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1414
+
1415
+ ### Response
1416
+
1417
+ **Promise\<[operations.AdminV1UpdateResourcesResponse](../../models/operations/adminv1updateresourcesresponse.md)\>**
1418
+
1419
+ ### Errors
1420
+
1421
+ | Error Type | Status Code | Content Type |
1422
+ | ------------------------ | ------------------------ | ------------------------ |
1423
+ | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
1424
+ | errors.ErrorModel | 500 | application/problem+json |
1425
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1426
+
1427
+ ## adminV1UpdateRoles
1428
+
1429
+ ### Example Usage
1430
+
1431
+ ```typescript
1432
+ import { SteamSets } from "@steamsets/client-ts";
1433
+
1434
+ const steamSets = new SteamSets({
1435
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1436
+ });
1437
+
1438
+ async function run() {
1439
+ const result = await steamSets.internal.adminV1UpdateRoles({
1440
+ roles: [
1441
+
1442
+ ],
1443
+ });
1444
+
1445
+ // Handle the result
1446
+ console.log(result);
1447
+ }
1448
+
1449
+ run();
1450
+ ```
1451
+
1452
+ ### Standalone function
1453
+
1454
+ The standalone function version of this method:
1455
+
1456
+ ```typescript
1457
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1458
+ import { internalAdminV1UpdateRoles } from "@steamsets/client-ts/funcs/internalAdminV1UpdateRoles.js";
1459
+
1460
+ // Use `SteamSetsCore` for best tree-shaking performance.
1461
+ // You can create one instance of it to use across an application.
1462
+ const steamSets = new SteamSetsCore({
1463
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1464
+ });
1465
+
1466
+ async function run() {
1467
+ const res = await internalAdminV1UpdateRoles(steamSets, {
1468
+ roles: [
1469
+
1470
+ ],
1471
+ });
1472
+
1473
+ if (!res.ok) {
1474
+ throw res.error;
1475
+ }
1476
+
1477
+ const { value: result } = res;
1478
+
1479
+ // Handle the result
1480
+ console.log(result);
1481
+ }
1482
+
1483
+ run();
1484
+ ```
1485
+
1486
+ ### Parameters
1487
+
1488
+ | Parameter | Type | Required | Description |
1489
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1490
+ | `request` | [components.V1AdminUpdateRolessRequestBody](../../models/components/v1adminupdaterolessrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1491
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1492
+ | `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. |
1493
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1494
+
1495
+ ### Response
1496
+
1497
+ **Promise\<[operations.AdminV1UpdateRolesResponse](../../models/operations/adminv1updaterolesresponse.md)\>**
1498
+
1499
+ ### Errors
1500
+
1501
+ | Error Type | Status Code | Content Type |
1502
+ | ------------------------ | ------------------------ | ------------------------ |
1503
+ | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
1504
+ | errors.ErrorModel | 500 | application/problem+json |
1505
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1506
+
1507
+ ## getTags
1508
+
1509
+ ### Example Usage
1510
+
1511
+ ```typescript
1512
+ import { SteamSets } from "@steamsets/client-ts";
1513
+
1514
+ const steamSets = new SteamSets({
1515
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1516
+ });
1517
+
1518
+ async function run() {
1519
+ const result = await steamSets.internal.getTags();
1520
+
1521
+ // Handle the result
1522
+ console.log(result);
1523
+ }
1524
+
1525
+ run();
1526
+ ```
1527
+
1528
+ ### Standalone function
1529
+
1530
+ The standalone function version of this method:
1531
+
1532
+ ```typescript
1533
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1534
+ import { internalGetTags } from "@steamsets/client-ts/funcs/internalGetTags.js";
1535
+
1536
+ // Use `SteamSetsCore` for best tree-shaking performance.
1537
+ // You can create one instance of it to use across an application.
1538
+ const steamSets = new SteamSetsCore({
1539
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1540
+ });
1541
+
1542
+ async function run() {
1543
+ const res = await internalGetTags(steamSets);
1544
+
1545
+ if (!res.ok) {
1546
+ throw res.error;
1547
+ }
1548
+
1549
+ const { value: result } = res;
1550
+
1551
+ // Handle the result
1552
+ console.log(result);
1553
+ }
1554
+
1555
+ run();
1556
+ ```
1557
+
1558
+ ### Parameters
1559
+
1560
+ | Parameter | Type | Required | Description |
1561
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1562
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1563
+ | `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. |
1564
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1565
+
1566
+ ### Response
1567
+
1568
+ **Promise\<[operations.BadgeV1TagsResponse](../../models/operations/badgev1tagsresponse.md)\>**
1569
+
1570
+ ### Errors
1571
+
1572
+ | Error Type | Status Code | Content Type |
1573
+ | ------------------------ | ------------------------ | ------------------------ |
1574
+ | errors.ErrorModel | 403, 404 | application/problem+json |
1575
+ | errors.ErrorModel | 500 | application/problem+json |
1576
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1577
+
1578
+ ## badgeV1Search
1579
+
1580
+ ### Example Usage
1581
+
1582
+ ```typescript
1583
+ import { SteamSets } from "@steamsets/client-ts";
1584
+
1585
+ const steamSets = new SteamSets({
1586
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1587
+ });
1588
+
1589
+ async function run() {
1590
+ const result = await steamSets.internal.badgeV1Search({
1591
+ filter: "<value>",
1592
+ query: "<value>",
1593
+ });
1594
+
1595
+ // Handle the result
1596
+ console.log(result);
1597
+ }
1598
+
1599
+ run();
1600
+ ```
1601
+
1602
+ ### Standalone function
1603
+
1604
+ The standalone function version of this method:
1605
+
1606
+ ```typescript
1607
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1608
+ import { internalBadgeV1Search } from "@steamsets/client-ts/funcs/internalBadgeV1Search.js";
1609
+
1610
+ // Use `SteamSetsCore` for best tree-shaking performance.
1611
+ // You can create one instance of it to use across an application.
1612
+ const steamSets = new SteamSetsCore({
1613
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1614
+ });
1615
+
1616
+ async function run() {
1617
+ const res = await internalBadgeV1Search(steamSets, {
1618
+ filter: "<value>",
1619
+ query: "<value>",
1620
+ });
1621
+
1622
+ if (!res.ok) {
1623
+ throw res.error;
1624
+ }
1625
+
1626
+ const { value: result } = res;
1627
+
1628
+ // Handle the result
1629
+ console.log(result);
1630
+ }
1631
+
1632
+ run();
1633
+ ```
1634
+
1635
+ ### Parameters
1636
+
1637
+ | Parameter | Type | Required | Description |
1638
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1639
+ | `request` | [components.V1SearchRequest](../../models/components/v1searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1640
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1641
+ | `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. |
1642
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1643
+
1644
+ ### Response
1645
+
1646
+ **Promise\<[operations.BadgeV1SearchResponse](../../models/operations/badgev1searchresponse.md)\>**
1647
+
1648
+ ### Errors
1649
+
1650
+ | Error Type | Status Code | Content Type |
1651
+ | ------------------------ | ------------------------ | ------------------------ |
1652
+ | errors.ErrorModel | 403, 404, 422 | application/problem+json |
1653
+ | errors.ErrorModel | 500 | application/problem+json |
1654
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1655
+
1656
+ ## check
1657
+
1658
+ This endpoint checks if the service is alive.
1659
+
1660
+ ### Example Usage
1661
+
1662
+ ```typescript
1663
+ import { SteamSets } from "@steamsets/client-ts";
1664
+
1665
+ const steamSets = new SteamSets({
1666
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1667
+ });
1668
+
1669
+ async function run() {
1670
+ const result = await steamSets.internal.check();
1671
+
1672
+ // Handle the result
1673
+ console.log(result);
1674
+ }
1675
+
1676
+ run();
1677
+ ```
1678
+
1679
+ ### Standalone function
1680
+
1681
+ The standalone function version of this method:
1682
+
1683
+ ```typescript
1684
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1685
+ import { internalCheck } from "@steamsets/client-ts/funcs/internalCheck.js";
1686
+
1687
+ // Use `SteamSetsCore` for best tree-shaking performance.
1688
+ // You can create one instance of it to use across an application.
1689
+ const steamSets = new SteamSetsCore({
1690
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1691
+ });
1692
+
1693
+ async function run() {
1694
+ const res = await internalCheck(steamSets);
1695
+
1696
+ if (!res.ok) {
1697
+ throw res.error;
1698
+ }
1699
+
1700
+ const { value: result } = res;
1701
+
1702
+ // Handle the result
1703
+ console.log(result);
1704
+ }
1705
+
1706
+ run();
1707
+ ```
1708
+
1709
+ ### Parameters
1710
+
1711
+ | Parameter | Type | Required | Description |
1712
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1713
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1714
+ | `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. |
1715
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1716
+
1717
+ ### Response
1718
+
1719
+ **Promise\<[operations.LivenessResponse](../../models/operations/livenessresponse.md)\>**
1720
+
1721
+ ### Errors
1722
+
1723
+ | Error Type | Status Code | Content Type |
1724
+ | ------------------------ | ------------------------ | ------------------------ |
1725
+ | errors.ErrorModel | 500 | application/problem+json |
1726
+ | errors.SDKError | 4XX, 5XX | \*/\* |