@steamsets/client-ts 0.14.26 → 0.14.28

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 (271) hide show
  1. package/README.md +83 -17
  2. package/docs/sdks/account/README.md +497 -13
  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 +5 -85
  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 -29
  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/leaderboardaccount.d.ts +0 -5
  167. package/models/components/leaderboardaccount.d.ts.map +1 -1
  168. package/models/components/leaderboardaccount.js +0 -2
  169. package/models/components/leaderboardaccount.js.map +1 -1
  170. package/models/components/v1accountfriend.d.ts +0 -5
  171. package/models/components/v1accountfriend.d.ts.map +1 -1
  172. package/models/components/v1accountfriend.js +0 -2
  173. package/models/components/v1accountfriend.js.map +1 -1
  174. package/models/components/v1accountinforesponsebody.d.ts +0 -5
  175. package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
  176. package/models/components/v1accountinforesponsebody.js +0 -2
  177. package/models/components/v1accountinforesponsebody.js.map +1 -1
  178. package/models/components/v1accountleaderboardaccount.d.ts +0 -5
  179. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
  180. package/models/components/v1accountleaderboardaccount.js +0 -2
  181. package/models/components/v1accountleaderboardaccount.js.map +1 -1
  182. package/models/components/v1stats.d.ts +0 -5
  183. package/models/components/v1stats.d.ts.map +1 -1
  184. package/models/components/v1stats.js +0 -2
  185. package/models/components/v1stats.js.map +1 -1
  186. package/package.json +6 -7
  187. package/sdk/account.d.ts +6 -0
  188. package/sdk/account.d.ts.map +1 -1
  189. package/sdk/account.js +24 -0
  190. package/sdk/account.js.map +1 -1
  191. package/sdk/data.d.ts +0 -1
  192. package/sdk/data.d.ts.map +1 -1
  193. package/sdk/data.js +0 -4
  194. package/sdk/data.js.map +1 -1
  195. package/sdk/event.d.ts +8 -0
  196. package/sdk/event.d.ts.map +1 -0
  197. package/sdk/event.js +20 -0
  198. package/sdk/event.js.map +1 -0
  199. package/sdk/{public.d.ts → external.d.ts} +3 -2
  200. package/sdk/external.d.ts.map +1 -0
  201. package/sdk/external.js +40 -0
  202. package/sdk/external.js.map +1 -0
  203. package/sdk/internal.d.ts +34 -0
  204. package/sdk/internal.d.ts.map +1 -0
  205. package/sdk/internal.js +106 -0
  206. package/sdk/internal.js.map +1 -0
  207. package/sdk/sdk.d.ts +11 -5
  208. package/sdk/sdk.d.ts.map +1 -1
  209. package/sdk/sdk.js +14 -6
  210. package/sdk/sdk.js.map +1 -1
  211. package/src/funcs/accountAdminV1UpdateResources.ts +148 -0
  212. package/src/funcs/accountAdminV1UpdateRoles.ts +148 -0
  213. package/src/funcs/accountCreateDeveloperApp.ts +152 -0
  214. package/src/funcs/accountDeleteDeveloperApp.ts +154 -0
  215. package/src/funcs/accountGetAccount.ts +149 -0
  216. package/src/funcs/accountUpdateApp.ts +154 -0
  217. package/src/funcs/eventAdminV1GetEvents.ts +132 -0
  218. package/src/funcs/eventAdminV1UpdateEvent.ts +150 -0
  219. package/src/funcs/{publicGetApps.ts → externalGetApps.ts} +1 -1
  220. package/src/funcs/{publicGetBadges.ts → externalGetBadges.ts} +1 -1
  221. package/src/funcs/{publicGetDataPoints.ts → externalGetDataPoints.ts} +1 -1
  222. package/src/funcs/{publicGetFriends.ts → externalGetFriends.ts} +1 -1
  223. package/src/funcs/{publicGetInfo.ts → externalGetInfo.ts} +1 -1
  224. package/src/funcs/{publicGetLeaderboardHistory.ts → externalGetLeaderboardHistory.ts} +1 -1
  225. package/src/funcs/externalStatsV1StatsGet.ts +132 -0
  226. package/src/funcs/internalAccountV1BookmarkBadge.ts +150 -0
  227. package/src/funcs/internalAccountV1ConnectionReconnect.ts +149 -0
  228. package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +132 -0
  229. package/src/funcs/internalAccountV1GetOwnedBadges.ts +132 -0
  230. package/src/funcs/internalAccountV1ImagesGet.ts +127 -0
  231. package/src/funcs/internalAccountV1ImagesUpdate.ts +149 -0
  232. package/src/funcs/internalAdminV1GetEvents.ts +132 -0
  233. package/src/funcs/internalAdminV1UpdateEvent.ts +150 -0
  234. package/src/funcs/internalAdminV1UpdateResources.ts +148 -0
  235. package/src/funcs/internalAdminV1UpdateRoles.ts +148 -0
  236. package/src/funcs/internalBadgeV1Search.ts +149 -0
  237. package/src/funcs/internalCheck.ts +133 -0
  238. package/src/funcs/internalCreateDeveloperApp.ts +152 -0
  239. package/src/funcs/internalDeleteDeveloperApp.ts +154 -0
  240. package/src/funcs/internalDeleteImages.ts +149 -0
  241. package/src/funcs/internalGetAccount.ts +149 -0
  242. package/src/funcs/{dataGetStaff.ts → internalGetStaff.ts} +1 -1
  243. package/src/funcs/internalGetTags.ts +132 -0
  244. package/src/funcs/internalSendEmailVerification.ts +156 -0
  245. package/src/funcs/internalUpdateApp.ts +154 -0
  246. package/src/funcs/internalUploadImages.ts +149 -0
  247. package/src/funcs/internalVerifyEmail.ts +149 -0
  248. package/src/lib/config.ts +3 -3
  249. package/src/lib/retries.ts +0 -1
  250. package/src/models/components/leaderboardaccount.ts +0 -7
  251. package/src/models/components/v1accountfriend.ts +0 -7
  252. package/src/models/components/v1accountinforesponsebody.ts +0 -7
  253. package/src/models/components/v1accountleaderboardaccount.ts +0 -7
  254. package/src/models/components/v1stats.ts +0 -7
  255. package/src/sdk/account.ts +72 -0
  256. package/src/sdk/data.ts +0 -10
  257. package/src/sdk/event.ts +32 -0
  258. package/src/sdk/{public.ts → external.ts} +23 -13
  259. package/src/sdk/internal.ts +266 -0
  260. package/src/sdk/sdk.ts +21 -9
  261. package/funcs/dataGetStaff.d.ts.map +0 -1
  262. package/funcs/dataGetStaff.js.map +0 -1
  263. package/funcs/publicGetApps.d.ts.map +0 -1
  264. package/funcs/publicGetApps.js.map +0 -1
  265. package/funcs/publicGetInfo.d.ts.map +0 -1
  266. package/funcs/publicGetInfo.js.map +0 -1
  267. package/funcs/publicGetLeaderboardHistory.d.ts.map +0 -1
  268. package/funcs/publicGetLeaderboardHistory.js.map +0 -1
  269. package/sdk/public.d.ts.map +0 -1
  270. package/sdk/public.js +0 -36
  271. package/sdk/public.js.map +0 -1
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Overview
5
5
 
6
- This is actual data seen by others then yourself
6
+ Data of a Steam Account that can be used to display the profile.
7
7
 
8
8
  ### Available Operations
9
9
 
@@ -13,7 +13,6 @@ This is actual data seen by others then yourself
13
13
  * [getFriends](#getfriends)
14
14
  * [getInfo](#getinfo)
15
15
  * [getLeaderboardHistory](#getleaderboardhistory)
16
- * [getStaff](#getstaff)
17
16
 
18
17
  ## getApps
19
18
 
@@ -27,9 +26,7 @@ const steamSets = new SteamSets({
27
26
  });
28
27
 
29
28
  async function run() {
30
- const result = await steamSets.data.getApps({
31
- page: 1,
32
- });
29
+ const result = await steamSets.data.getApps({});
33
30
 
34
31
  // Handle the result
35
32
  console.log(result);
@@ -53,9 +50,7 @@ const steamSets = new SteamSetsCore({
53
50
  });
54
51
 
55
52
  async function run() {
56
- const res = await dataGetApps(steamSets, {
57
- page: 1,
58
- });
53
+ const res = await dataGetApps(steamSets, {});
59
54
 
60
55
  if (!res.ok) {
61
56
  throw res.error;
@@ -103,9 +98,7 @@ const steamSets = new SteamSets({
103
98
  });
104
99
 
105
100
  async function run() {
106
- const result = await steamSets.data.getBadges({
107
- page: 1,
108
- });
101
+ const result = await steamSets.data.getBadges({});
109
102
 
110
103
  // Handle the result
111
104
  console.log(result);
@@ -129,9 +122,7 @@ const steamSets = new SteamSetsCore({
129
122
  });
130
123
 
131
124
  async function run() {
132
- const res = await dataGetBadges(steamSets, {
133
- page: 1,
134
- });
125
+ const res = await dataGetBadges(steamSets, {});
135
126
 
136
127
  if (!res.ok) {
137
128
  throw res.error;
@@ -453,75 +444,4 @@ run();
453
444
  | ------------------------ | ------------------------ | ------------------------ |
454
445
  | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
455
446
  | errors.ErrorModel | 500 | application/problem+json |
456
- | errors.SDKError | 4XX, 5XX | \*/\* |
457
-
458
- ## getStaff
459
-
460
- ### Example Usage
461
-
462
- ```typescript
463
- import { SteamSets } from "@steamsets/client-ts";
464
-
465
- const steamSets = new SteamSets({
466
- token: "<YOUR_BEARER_TOKEN_HERE>",
467
- });
468
-
469
- async function run() {
470
- const result = await steamSets.data.getStaff();
471
-
472
- // Handle the result
473
- console.log(result);
474
- }
475
-
476
- run();
477
- ```
478
-
479
- ### Standalone function
480
-
481
- The standalone function version of this method:
482
-
483
- ```typescript
484
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
485
- import { dataGetStaff } from "@steamsets/client-ts/funcs/dataGetStaff.js";
486
-
487
- // Use `SteamSetsCore` for best tree-shaking performance.
488
- // You can create one instance of it to use across an application.
489
- const steamSets = new SteamSetsCore({
490
- token: "<YOUR_BEARER_TOKEN_HERE>",
491
- });
492
-
493
- async function run() {
494
- const res = await dataGetStaff(steamSets);
495
-
496
- if (!res.ok) {
497
- throw res.error;
498
- }
499
-
500
- const { value: result } = res;
501
-
502
- // Handle the result
503
- console.log(result);
504
- }
505
-
506
- run();
507
- ```
508
-
509
- ### Parameters
510
-
511
- | Parameter | Type | Required | Description |
512
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
513
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
514
- | `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. |
515
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
516
-
517
- ### Response
518
-
519
- **Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
520
-
521
- ### Errors
522
-
523
- | Error Type | Status Code | Content Type |
524
- | ------------------------ | ------------------------ | ------------------------ |
525
- | errors.ErrorModel | 404, 429 | application/problem+json |
526
- | errors.ErrorModel | 500 | application/problem+json |
527
447
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Overview
5
5
 
6
- Developer App related operations
6
+ Developer App related operations.
7
7
 
8
8
  ### Available Operations
9
9
 
@@ -0,0 +1,168 @@
1
+ # Event
2
+ (*event*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [adminV1GetEvents](#adminv1getevents)
9
+ * [adminV1UpdateEvent](#adminv1updateevent)
10
+
11
+ ## adminV1GetEvents
12
+
13
+ ### Example Usage
14
+
15
+ ```typescript
16
+ import { SteamSets } from "@steamsets/client-ts";
17
+
18
+ const steamSets = new SteamSets({
19
+ token: "<YOUR_BEARER_TOKEN_HERE>",
20
+ });
21
+
22
+ async function run() {
23
+ const result = await steamSets.event.adminV1GetEvents();
24
+
25
+ // Handle the result
26
+ console.log(result);
27
+ }
28
+
29
+ run();
30
+ ```
31
+
32
+ ### Standalone function
33
+
34
+ The standalone function version of this method:
35
+
36
+ ```typescript
37
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
38
+ import { eventAdminV1GetEvents } from "@steamsets/client-ts/funcs/eventAdminV1GetEvents.js";
39
+
40
+ // Use `SteamSetsCore` for best tree-shaking performance.
41
+ // You can create one instance of it to use across an application.
42
+ const steamSets = new SteamSetsCore({
43
+ token: "<YOUR_BEARER_TOKEN_HERE>",
44
+ });
45
+
46
+ async function run() {
47
+ const res = await eventAdminV1GetEvents(steamSets);
48
+
49
+ if (!res.ok) {
50
+ throw res.error;
51
+ }
52
+
53
+ const { value: result } = res;
54
+
55
+ // Handle the result
56
+ console.log(result);
57
+ }
58
+
59
+ run();
60
+ ```
61
+
62
+ ### Parameters
63
+
64
+ | Parameter | Type | Required | Description |
65
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
66
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
67
+ | `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. |
68
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
69
+
70
+ ### Response
71
+
72
+ **Promise\<[operations.AdminV1GetEventsResponse](../../models/operations/adminv1geteventsresponse.md)\>**
73
+
74
+ ### Errors
75
+
76
+ | Error Type | Status Code | Content Type |
77
+ | ------------------------ | ------------------------ | ------------------------ |
78
+ | errors.ErrorModel | 403, 404, 429 | application/problem+json |
79
+ | errors.ErrorModel | 500 | application/problem+json |
80
+ | errors.SDKError | 4XX, 5XX | \*/\* |
81
+
82
+ ## adminV1UpdateEvent
83
+
84
+ ### Example Usage
85
+
86
+ ```typescript
87
+ import { SteamSets } from "@steamsets/client-ts";
88
+
89
+ const steamSets = new SteamSets({
90
+ token: "<YOUR_BEARER_TOKEN_HERE>",
91
+ });
92
+
93
+ async function run() {
94
+ const result = await steamSets.event.adminV1UpdateEvent({
95
+ eventId: "evt_123456",
96
+ mappings: [
97
+ {
98
+ appId: 730,
99
+ steamId: 76561198842603730,
100
+ },
101
+ ],
102
+ });
103
+
104
+ // Handle the result
105
+ console.log(result);
106
+ }
107
+
108
+ run();
109
+ ```
110
+
111
+ ### Standalone function
112
+
113
+ The standalone function version of this method:
114
+
115
+ ```typescript
116
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
117
+ import { eventAdminV1UpdateEvent } from "@steamsets/client-ts/funcs/eventAdminV1UpdateEvent.js";
118
+
119
+ // Use `SteamSetsCore` for best tree-shaking performance.
120
+ // You can create one instance of it to use across an application.
121
+ const steamSets = new SteamSetsCore({
122
+ token: "<YOUR_BEARER_TOKEN_HERE>",
123
+ });
124
+
125
+ async function run() {
126
+ const res = await eventAdminV1UpdateEvent(steamSets, {
127
+ eventId: "evt_123456",
128
+ mappings: [
129
+ {
130
+ appId: 730,
131
+ steamId: 76561198842603730,
132
+ },
133
+ ],
134
+ });
135
+
136
+ if (!res.ok) {
137
+ throw res.error;
138
+ }
139
+
140
+ const { value: result } = res;
141
+
142
+ // Handle the result
143
+ console.log(result);
144
+ }
145
+
146
+ run();
147
+ ```
148
+
149
+ ### Parameters
150
+
151
+ | Parameter | Type | Required | Description |
152
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
153
+ | `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
154
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
155
+ | `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. |
156
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
157
+
158
+ ### Response
159
+
160
+ **Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
161
+
162
+ ### Errors
163
+
164
+ | Error Type | Status Code | Content Type |
165
+ | ------------------------ | ------------------------ | ------------------------ |
166
+ | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
167
+ | errors.ErrorModel | 500 | application/problem+json |
168
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -1,9 +1,9 @@
1
- # Public
2
- (*public*)
1
+ # External
2
+ (*external*)
3
3
 
4
4
  ## Overview
5
5
 
6
- This API can be accessed by anyone with an API Key
6
+ Any requests here may be accessed by anyone with an API Key.
7
7
 
8
8
  ### Available Operations
9
9
 
@@ -13,6 +13,7 @@ This API can be accessed by anyone with an API Key
13
13
  * [getFriends](#getfriends)
14
14
  * [getInfo](#getinfo)
15
15
  * [getLeaderboardHistory](#getleaderboardhistory)
16
+ * [statsV1StatsGet](#statsv1statsget)
16
17
 
17
18
  ## getApps
18
19
 
@@ -26,9 +27,7 @@ const steamSets = new SteamSets({
26
27
  });
27
28
 
28
29
  async function run() {
29
- const result = await steamSets.public.getApps({
30
- page: 1,
31
- });
30
+ const result = await steamSets.external.getApps({});
32
31
 
33
32
  // Handle the result
34
33
  console.log(result);
@@ -43,7 +42,7 @@ The standalone function version of this method:
43
42
 
44
43
  ```typescript
45
44
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
46
- import { publicGetApps } from "@steamsets/client-ts/funcs/publicGetApps.js";
45
+ import { externalGetApps } from "@steamsets/client-ts/funcs/externalGetApps.js";
47
46
 
48
47
  // Use `SteamSetsCore` for best tree-shaking performance.
49
48
  // You can create one instance of it to use across an application.
@@ -52,9 +51,7 @@ const steamSets = new SteamSetsCore({
52
51
  });
53
52
 
54
53
  async function run() {
55
- const res = await publicGetApps(steamSets, {
56
- page: 1,
57
- });
54
+ const res = await externalGetApps(steamSets, {});
58
55
 
59
56
  if (!res.ok) {
60
57
  throw res.error;
@@ -102,9 +99,7 @@ const steamSets = new SteamSets({
102
99
  });
103
100
 
104
101
  async function run() {
105
- const result = await steamSets.public.getBadges({
106
- page: 1,
107
- });
102
+ const result = await steamSets.external.getBadges({});
108
103
 
109
104
  // Handle the result
110
105
  console.log(result);
@@ -119,7 +114,7 @@ The standalone function version of this method:
119
114
 
120
115
  ```typescript
121
116
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
122
- import { publicGetBadges } from "@steamsets/client-ts/funcs/publicGetBadges.js";
117
+ import { externalGetBadges } from "@steamsets/client-ts/funcs/externalGetBadges.js";
123
118
 
124
119
  // Use `SteamSetsCore` for best tree-shaking performance.
125
120
  // You can create one instance of it to use across an application.
@@ -128,9 +123,7 @@ const steamSets = new SteamSetsCore({
128
123
  });
129
124
 
130
125
  async function run() {
131
- const res = await publicGetBadges(steamSets, {
132
- page: 1,
133
- });
126
+ const res = await externalGetBadges(steamSets, {});
134
127
 
135
128
  if (!res.ok) {
136
129
  throw res.error;
@@ -178,7 +171,7 @@ const steamSets = new SteamSets({
178
171
  });
179
172
 
180
173
  async function run() {
181
- const result = await steamSets.public.getDataPoints({});
174
+ const result = await steamSets.external.getDataPoints({});
182
175
 
183
176
  // Handle the result
184
177
  console.log(result);
@@ -193,7 +186,7 @@ The standalone function version of this method:
193
186
 
194
187
  ```typescript
195
188
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
196
- import { publicGetDataPoints } from "@steamsets/client-ts/funcs/publicGetDataPoints.js";
189
+ import { externalGetDataPoints } from "@steamsets/client-ts/funcs/externalGetDataPoints.js";
197
190
 
198
191
  // Use `SteamSetsCore` for best tree-shaking performance.
199
192
  // You can create one instance of it to use across an application.
@@ -202,7 +195,7 @@ const steamSets = new SteamSetsCore({
202
195
  });
203
196
 
204
197
  async function run() {
205
- const res = await publicGetDataPoints(steamSets, {});
198
+ const res = await externalGetDataPoints(steamSets, {});
206
199
 
207
200
  if (!res.ok) {
208
201
  throw res.error;
@@ -250,7 +243,7 @@ const steamSets = new SteamSets({
250
243
  });
251
244
 
252
245
  async function run() {
253
- const result = await steamSets.public.getFriends({});
246
+ const result = await steamSets.external.getFriends({});
254
247
 
255
248
  // Handle the result
256
249
  console.log(result);
@@ -265,7 +258,7 @@ The standalone function version of this method:
265
258
 
266
259
  ```typescript
267
260
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
268
- import { publicGetFriends } from "@steamsets/client-ts/funcs/publicGetFriends.js";
261
+ import { externalGetFriends } from "@steamsets/client-ts/funcs/externalGetFriends.js";
269
262
 
270
263
  // Use `SteamSetsCore` for best tree-shaking performance.
271
264
  // You can create one instance of it to use across an application.
@@ -274,7 +267,7 @@ const steamSets = new SteamSetsCore({
274
267
  });
275
268
 
276
269
  async function run() {
277
- const res = await publicGetFriends(steamSets, {});
270
+ const res = await externalGetFriends(steamSets, {});
278
271
 
279
272
  if (!res.ok) {
280
273
  throw res.error;
@@ -322,7 +315,7 @@ const steamSets = new SteamSets({
322
315
  });
323
316
 
324
317
  async function run() {
325
- const result = await steamSets.public.getInfo({});
318
+ const result = await steamSets.external.getInfo({});
326
319
 
327
320
  // Handle the result
328
321
  console.log(result);
@@ -337,7 +330,7 @@ The standalone function version of this method:
337
330
 
338
331
  ```typescript
339
332
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
340
- import { publicGetInfo } from "@steamsets/client-ts/funcs/publicGetInfo.js";
333
+ import { externalGetInfo } from "@steamsets/client-ts/funcs/externalGetInfo.js";
341
334
 
342
335
  // Use `SteamSetsCore` for best tree-shaking performance.
343
336
  // You can create one instance of it to use across an application.
@@ -346,7 +339,7 @@ const steamSets = new SteamSetsCore({
346
339
  });
347
340
 
348
341
  async function run() {
349
- const res = await publicGetInfo(steamSets, {});
342
+ const res = await externalGetInfo(steamSets, {});
350
343
 
351
344
  if (!res.ok) {
352
345
  throw res.error;
@@ -394,7 +387,7 @@ const steamSets = new SteamSets({
394
387
  });
395
388
 
396
389
  async function run() {
397
- const result = await steamSets.public.getLeaderboardHistory({});
390
+ const result = await steamSets.external.getLeaderboardHistory({});
398
391
 
399
392
  // Handle the result
400
393
  console.log(result);
@@ -409,7 +402,7 @@ The standalone function version of this method:
409
402
 
410
403
  ```typescript
411
404
  import { SteamSetsCore } from "@steamsets/client-ts/core.js";
412
- import { publicGetLeaderboardHistory } from "@steamsets/client-ts/funcs/publicGetLeaderboardHistory.js";
405
+ import { externalGetLeaderboardHistory } from "@steamsets/client-ts/funcs/externalGetLeaderboardHistory.js";
413
406
 
414
407
  // Use `SteamSetsCore` for best tree-shaking performance.
415
408
  // You can create one instance of it to use across an application.
@@ -418,7 +411,7 @@ const steamSets = new SteamSetsCore({
418
411
  });
419
412
 
420
413
  async function run() {
421
- const res = await publicGetLeaderboardHistory(steamSets, {});
414
+ const res = await externalGetLeaderboardHistory(steamSets, {});
422
415
 
423
416
  if (!res.ok) {
424
417
  throw res.error;
@@ -452,4 +445,75 @@ run();
452
445
  | ------------------------ | ------------------------ | ------------------------ |
453
446
  | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
454
447
  | errors.ErrorModel | 500 | application/problem+json |
448
+ | errors.SDKError | 4XX, 5XX | \*/\* |
449
+
450
+ ## statsV1StatsGet
451
+
452
+ ### Example Usage
453
+
454
+ ```typescript
455
+ import { SteamSets } from "@steamsets/client-ts";
456
+
457
+ const steamSets = new SteamSets({
458
+ token: "<YOUR_BEARER_TOKEN_HERE>",
459
+ });
460
+
461
+ async function run() {
462
+ const result = await steamSets.external.statsV1StatsGet();
463
+
464
+ // Handle the result
465
+ console.log(result);
466
+ }
467
+
468
+ run();
469
+ ```
470
+
471
+ ### Standalone function
472
+
473
+ The standalone function version of this method:
474
+
475
+ ```typescript
476
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
477
+ import { externalStatsV1StatsGet } from "@steamsets/client-ts/funcs/externalStatsV1StatsGet.js";
478
+
479
+ // Use `SteamSetsCore` for best tree-shaking performance.
480
+ // You can create one instance of it to use across an application.
481
+ const steamSets = new SteamSetsCore({
482
+ token: "<YOUR_BEARER_TOKEN_HERE>",
483
+ });
484
+
485
+ async function run() {
486
+ const res = await externalStatsV1StatsGet(steamSets);
487
+
488
+ if (!res.ok) {
489
+ throw res.error;
490
+ }
491
+
492
+ const { value: result } = res;
493
+
494
+ // Handle the result
495
+ console.log(result);
496
+ }
497
+
498
+ run();
499
+ ```
500
+
501
+ ### Parameters
502
+
503
+ | Parameter | Type | Required | Description |
504
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
505
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
506
+ | `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. |
507
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
508
+
509
+ ### Response
510
+
511
+ **Promise\<[operations.StatsV1StatsGetResponse](../../models/operations/statsv1statsgetresponse.md)\>**
512
+
513
+ ### Errors
514
+
515
+ | Error Type | Status Code | Content Type |
516
+ | ------------------------ | ------------------------ | ------------------------ |
517
+ | errors.ErrorModel | 404, 429 | application/problem+json |
518
+ | errors.ErrorModel | 500 | application/problem+json |
455
519
  | errors.SDKError | 4XX, 5XX | \*/\* |