@steamsets/client-ts 0.5.0 → 0.5.2

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 (276) hide show
  1. package/README.md +75 -9
  2. package/docs/sdks/account/README.md +383 -76
  3. package/docs/sdks/data/README.md +473 -0
  4. package/docs/sdks/location/README.md +80 -0
  5. package/docs/sdks/public/README.md +399 -0
  6. package/docs/sdks/session/README.md +62 -62
  7. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  8. package/funcs/accountAccountV1GetApps.js +4 -0
  9. package/funcs/accountAccountV1GetApps.js.map +1 -1
  10. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  11. package/funcs/accountAccountV1GetBadges.js +4 -0
  12. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  13. package/funcs/accountAccountV1GetFriends.d.ts +13 -0
  14. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -0
  15. package/funcs/accountAccountV1GetFriends.js +105 -0
  16. package/funcs/accountAccountV1GetFriends.js.map +1 -0
  17. package/funcs/accountAccountV1GetInfo.d.ts +14 -0
  18. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -0
  19. package/funcs/accountAccountV1GetInfo.js +96 -0
  20. package/funcs/accountAccountV1GetInfo.js.map +1 -0
  21. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +13 -0
  22. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  23. package/funcs/accountAccountV1GetLeaderboardHistory.js +105 -0
  24. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -0
  25. package/funcs/accountAccountV1GetStaff.d.ts +13 -0
  26. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -0
  27. package/funcs/accountAccountV1GetStaff.js +86 -0
  28. package/funcs/accountAccountV1GetStaff.js.map +1 -0
  29. package/funcs/accountAccountV1SessionCreate.js +1 -1
  30. package/funcs/accountAccountV1SessionLogin.js +2 -2
  31. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  32. package/funcs/dataAccountV1GetApps.d.ts +13 -0
  33. package/funcs/dataAccountV1GetApps.d.ts.map +1 -0
  34. package/funcs/dataAccountV1GetApps.js +105 -0
  35. package/funcs/dataAccountV1GetApps.js.map +1 -0
  36. package/funcs/dataAccountV1GetBadges.d.ts +13 -0
  37. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -0
  38. package/funcs/dataAccountV1GetBadges.js +105 -0
  39. package/funcs/dataAccountV1GetBadges.js.map +1 -0
  40. package/funcs/dataAccountV1GetFriends.d.ts +13 -0
  41. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -0
  42. package/funcs/dataAccountV1GetFriends.js +105 -0
  43. package/funcs/dataAccountV1GetFriends.js.map +1 -0
  44. package/funcs/dataAccountV1GetInfo.d.ts +14 -0
  45. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -0
  46. package/funcs/dataAccountV1GetInfo.js +96 -0
  47. package/funcs/dataAccountV1GetInfo.js.map +1 -0
  48. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +13 -0
  49. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  50. package/funcs/dataAccountV1GetLeaderboardHistory.js +105 -0
  51. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -0
  52. package/funcs/dataAccountV1GetStaff.d.ts +13 -0
  53. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -0
  54. package/funcs/dataAccountV1GetStaff.js +86 -0
  55. package/funcs/dataAccountV1GetStaff.js.map +1 -0
  56. package/funcs/locationLocation.d.ts +16 -0
  57. package/funcs/locationLocation.d.ts.map +1 -0
  58. package/funcs/locationLocation.js +87 -0
  59. package/funcs/locationLocation.js.map +1 -0
  60. package/funcs/publicAccountV1GetApps.d.ts +13 -0
  61. package/funcs/publicAccountV1GetApps.d.ts.map +1 -0
  62. package/funcs/publicAccountV1GetApps.js +105 -0
  63. package/funcs/publicAccountV1GetApps.js.map +1 -0
  64. package/funcs/publicAccountV1GetBadges.d.ts +13 -0
  65. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -0
  66. package/funcs/publicAccountV1GetBadges.js +105 -0
  67. package/funcs/publicAccountV1GetBadges.js.map +1 -0
  68. package/funcs/publicAccountV1GetFriends.d.ts +13 -0
  69. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -0
  70. package/funcs/publicAccountV1GetFriends.js +105 -0
  71. package/funcs/publicAccountV1GetFriends.js.map +1 -0
  72. package/funcs/publicAccountV1GetInfo.d.ts +14 -0
  73. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -0
  74. package/funcs/publicAccountV1GetInfo.js +96 -0
  75. package/funcs/publicAccountV1GetInfo.js.map +1 -0
  76. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +13 -0
  77. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  78. package/funcs/publicAccountV1GetLeaderboardHistory.js +105 -0
  79. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -0
  80. package/funcs/sessionAccountV1SessionCreate.js +1 -1
  81. package/funcs/sessionAccountV1SessionLogin.js +2 -2
  82. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  83. package/lib/config.d.ts +3 -3
  84. package/lib/config.js +3 -3
  85. package/lib/security.d.ts +6 -1
  86. package/lib/security.d.ts.map +1 -1
  87. package/lib/security.js +5 -0
  88. package/lib/security.js.map +1 -1
  89. package/models/components/accountinfobody.d.ts +379 -0
  90. package/models/components/accountinfobody.d.ts.map +1 -0
  91. package/models/components/accountinfobody.js +254 -0
  92. package/models/components/accountinfobody.js.map +1 -0
  93. package/models/components/accountleaderboardhistory.d.ts +96 -0
  94. package/models/components/accountleaderboardhistory.d.ts.map +1 -0
  95. package/models/components/accountleaderboardhistory.js +91 -0
  96. package/models/components/accountleaderboardhistory.js.map +1 -0
  97. package/models/components/bestleaderboardrank.d.ts +110 -0
  98. package/models/components/bestleaderboardrank.d.ts.map +1 -0
  99. package/models/components/bestleaderboardrank.js +89 -0
  100. package/models/components/bestleaderboardrank.js.map +1 -0
  101. package/models/components/city.d.ts +28 -0
  102. package/models/components/city.d.ts.map +1 -0
  103. package/models/components/city.js +50 -0
  104. package/models/components/city.js.map +1 -0
  105. package/models/components/country.d.ts +43 -0
  106. package/models/components/country.d.ts.map +1 -0
  107. package/models/components/country.js +55 -0
  108. package/models/components/country.js.map +1 -0
  109. package/models/components/index.d.ts +14 -1
  110. package/models/components/index.d.ts.map +1 -1
  111. package/models/components/index.js +14 -1
  112. package/models/components/index.js.map +1 -1
  113. package/models/components/leaderboardaccount.d.ts +196 -0
  114. package/models/components/leaderboardaccount.d.ts.map +1 -0
  115. package/models/components/leaderboardaccount.js +128 -0
  116. package/models/components/leaderboardaccount.js.map +1 -0
  117. package/models/components/leaderboardbadgeinfo.d.ts +33 -0
  118. package/models/components/leaderboardbadgeinfo.d.ts.map +1 -0
  119. package/models/components/leaderboardbadgeinfo.js +55 -0
  120. package/models/components/leaderboardbadgeinfo.js.map +1 -0
  121. package/models/components/location.d.ts +38 -0
  122. package/models/components/location.d.ts.map +1 -0
  123. package/models/components/location.js +54 -0
  124. package/models/components/location.js.map +1 -0
  125. package/models/components/region.d.ts +38 -0
  126. package/models/components/region.d.ts.map +1 -0
  127. package/models/components/region.js +53 -0
  128. package/models/components/region.js.map +1 -0
  129. package/models/components/role.d.ts +2 -2
  130. package/models/components/role.d.ts.map +1 -1
  131. package/models/components/role.js +4 -17
  132. package/models/components/role.js.map +1 -1
  133. package/models/components/state.d.ts +43 -0
  134. package/models/components/state.d.ts.map +1 -0
  135. package/models/components/state.js +55 -0
  136. package/models/components/state.js.map +1 -0
  137. package/models/components/v1accountapp.d.ts +53 -0
  138. package/models/components/v1accountapp.d.ts.map +1 -0
  139. package/models/components/{v1app.js → v1accountapp.js} +11 -11
  140. package/models/components/v1accountapp.js.map +1 -0
  141. package/models/components/v1accountfriend.d.ts +198 -0
  142. package/models/components/v1accountfriend.d.ts.map +1 -0
  143. package/models/components/v1accountfriend.js +133 -0
  144. package/models/components/v1accountfriend.js.map +1 -0
  145. package/models/components/v1accountfriendsresponsebody.d.ts +31 -0
  146. package/models/components/v1accountfriendsresponsebody.d.ts.map +1 -0
  147. package/models/components/v1accountfriendsresponsebody.js +66 -0
  148. package/models/components/v1accountfriendsresponsebody.js.map +1 -0
  149. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts +31 -0
  150. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts.map +1 -0
  151. package/models/components/v1accountleaderboardhistoryresponsebody.js +66 -0
  152. package/models/components/v1accountleaderboardhistoryresponsebody.js.map +1 -0
  153. package/models/components/v1accountsappsresponsebody.d.ts +3 -3
  154. package/models/components/v1accountsappsresponsebody.d.ts.map +1 -1
  155. package/models/components/v1accountsappsresponsebody.js +3 -3
  156. package/models/components/v1accountsappsresponsebody.js.map +1 -1
  157. package/models/errors/errormodel.d.ts +5 -5
  158. package/models/errors/errormodel.d.ts.map +1 -1
  159. package/models/errors/errormodel.js +4 -2
  160. package/models/errors/errormodel.js.map +1 -1
  161. package/models/operations/accountv1getapps.d.ts +2 -0
  162. package/models/operations/accountv1getapps.d.ts.map +1 -1
  163. package/models/operations/accountv1getapps.js +4 -0
  164. package/models/operations/accountv1getapps.js.map +1 -1
  165. package/models/operations/accountv1getbadges.d.ts +2 -0
  166. package/models/operations/accountv1getbadges.d.ts.map +1 -1
  167. package/models/operations/accountv1getbadges.js +4 -0
  168. package/models/operations/accountv1getbadges.js.map +1 -1
  169. package/models/operations/accountv1getfriends.d.ts +58 -0
  170. package/models/operations/accountv1getfriends.d.ts.map +1 -0
  171. package/models/operations/accountv1getfriends.js +107 -0
  172. package/models/operations/accountv1getfriends.js.map +1 -0
  173. package/models/operations/accountv1getinfo.d.ts +31 -0
  174. package/models/operations/accountv1getinfo.d.ts.map +1 -0
  175. package/models/operations/accountv1getinfo.js +68 -0
  176. package/models/operations/accountv1getinfo.js.map +1 -0
  177. package/models/operations/accountv1getleaderboardhistory.d.ts +58 -0
  178. package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -0
  179. package/models/operations/accountv1getleaderboardhistory.js +107 -0
  180. package/models/operations/accountv1getleaderboardhistory.js.map +1 -0
  181. package/models/operations/accountv1getstaff.d.ts +31 -0
  182. package/models/operations/accountv1getstaff.d.ts.map +1 -0
  183. package/models/operations/accountv1getstaff.js +72 -0
  184. package/models/operations/accountv1getstaff.js.map +1 -0
  185. package/models/operations/index.d.ts +5 -0
  186. package/models/operations/index.d.ts.map +1 -1
  187. package/models/operations/index.js +5 -0
  188. package/models/operations/index.js.map +1 -1
  189. package/models/operations/location.d.ts +31 -0
  190. package/models/operations/location.d.ts.map +1 -0
  191. package/models/operations/location.js +68 -0
  192. package/models/operations/location.js.map +1 -0
  193. package/package.json +1 -1
  194. package/sdk/account.d.ts +20 -4
  195. package/sdk/account.d.ts.map +1 -1
  196. package/sdk/account.js +34 -6
  197. package/sdk/account.js.map +1 -1
  198. package/sdk/data.d.ts +30 -0
  199. package/sdk/data.d.ts.map +1 -0
  200. package/sdk/data.js +54 -0
  201. package/sdk/data.js.map +1 -0
  202. package/sdk/location.d.ts +12 -0
  203. package/sdk/location.d.ts.map +1 -0
  204. package/sdk/location.js +22 -0
  205. package/sdk/location.js.map +1 -0
  206. package/sdk/public.d.ts +26 -0
  207. package/sdk/public.d.ts.map +1 -0
  208. package/sdk/public.js +47 -0
  209. package/sdk/public.js.map +1 -0
  210. package/sdk/sdk.d.ts +11 -2
  211. package/sdk/sdk.d.ts.map +1 -1
  212. package/sdk/sdk.js +17 -2
  213. package/sdk/sdk.js.map +1 -1
  214. package/sdk/session.d.ts +4 -4
  215. package/sdk/session.d.ts.map +1 -1
  216. package/sdk/session.js +6 -6
  217. package/sdk/session.js.map +1 -1
  218. package/src/funcs/accountAccountV1GetApps.ts +4 -0
  219. package/src/funcs/accountAccountV1GetBadges.ts +4 -0
  220. package/src/funcs/accountAccountV1GetFriends.ts +139 -0
  221. package/src/funcs/accountAccountV1GetInfo.ts +130 -0
  222. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +139 -0
  223. package/src/funcs/accountAccountV1GetStaff.ts +113 -0
  224. package/src/funcs/accountAccountV1SessionCreate.ts +1 -1
  225. package/src/funcs/accountAccountV1SessionLogin.ts +2 -2
  226. package/src/funcs/dataAccountV1GetApps.ts +139 -0
  227. package/src/funcs/dataAccountV1GetBadges.ts +139 -0
  228. package/src/funcs/dataAccountV1GetFriends.ts +139 -0
  229. package/src/funcs/dataAccountV1GetInfo.ts +130 -0
  230. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +139 -0
  231. package/src/funcs/dataAccountV1GetStaff.ts +113 -0
  232. package/src/funcs/locationLocation.ts +114 -0
  233. package/src/funcs/publicAccountV1GetApps.ts +139 -0
  234. package/src/funcs/publicAccountV1GetBadges.ts +139 -0
  235. package/src/funcs/publicAccountV1GetFriends.ts +139 -0
  236. package/src/funcs/publicAccountV1GetInfo.ts +130 -0
  237. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +139 -0
  238. package/src/funcs/sessionAccountV1SessionCreate.ts +1 -1
  239. package/src/funcs/sessionAccountV1SessionLogin.ts +2 -2
  240. package/src/lib/config.ts +3 -3
  241. package/src/lib/security.ts +12 -1
  242. package/src/models/components/accountinfobody.ts +532 -0
  243. package/src/models/components/accountleaderboardhistory.ts +103 -0
  244. package/src/models/components/bestleaderboardrank.ts +102 -0
  245. package/src/models/components/city.ts +40 -0
  246. package/src/models/components/country.ts +55 -0
  247. package/src/models/components/index.ts +14 -1
  248. package/src/models/components/leaderboardaccount.ts +301 -0
  249. package/src/models/components/leaderboardbadgeinfo.ts +58 -0
  250. package/src/models/components/location.ts +55 -0
  251. package/src/models/components/region.ts +53 -0
  252. package/src/models/components/role.ts +14 -27
  253. package/src/models/components/state.ts +55 -0
  254. package/src/models/components/{v1app.ts → v1accountapp.ts} +15 -11
  255. package/src/models/components/v1accountfriend.ts +307 -0
  256. package/src/models/components/v1accountfriendsresponsebody.ts +71 -0
  257. package/src/models/components/v1accountleaderboardhistoryresponsebody.ts +71 -0
  258. package/src/models/components/v1accountsappsresponsebody.ts +10 -5
  259. package/src/models/errors/errormodel.ts +8 -6
  260. package/src/models/operations/accountv1getapps.ts +6 -0
  261. package/src/models/operations/accountv1getbadges.ts +6 -0
  262. package/src/models/operations/accountv1getfriends.ts +134 -0
  263. package/src/models/operations/accountv1getinfo.ts +68 -0
  264. package/src/models/operations/accountv1getleaderboardhistory.ts +138 -0
  265. package/src/models/operations/accountv1getstaff.ts +72 -0
  266. package/src/models/operations/index.ts +5 -0
  267. package/src/models/operations/location.ts +64 -0
  268. package/src/sdk/account.ts +53 -10
  269. package/src/sdk/data.ts +75 -0
  270. package/src/sdk/location.ts +20 -0
  271. package/src/sdk/public.ts +65 -0
  272. package/src/sdk/sdk.ts +21 -3
  273. package/src/sdk/session.ts +10 -10
  274. package/models/components/v1app.d.ts +0 -53
  275. package/models/components/v1app.d.ts.map +0 -1
  276. package/models/components/v1app.js.map +0 -1
@@ -0,0 +1,473 @@
1
+ # Data
2
+ (*data*)
3
+
4
+ ## Overview
5
+
6
+ This is actual data seen by others then yourself
7
+
8
+ ### Available Operations
9
+
10
+ * [accountV1GetApps](#accountv1getapps) - Get Account Apps
11
+ * [accountV1GetBadges](#accountv1getbadges) - Get Account Badges
12
+ * [accountV1GetFriends](#accountv1getfriends) - Get Account Friends
13
+ * [accountV1GetInfo](#accountv1getinfo) - Get Account Info
14
+ * [accountV1GetLeaderboardHistory](#accountv1getleaderboardhistory) - Get Account Leaderboard History
15
+ * [accountV1GetStaff](#accountv1getstaff) - Get Staff Members and their info
16
+
17
+ ## accountV1GetApps
18
+
19
+ Get Account Apps
20
+
21
+ ### Example Usage
22
+
23
+ ```typescript
24
+ import { SteamSets } from "@steamsets/client-ts";
25
+
26
+ const steamSets = new SteamSets({
27
+ session: "<YOUR_BEARER_TOKEN_HERE>",
28
+ });
29
+
30
+ async function run() {
31
+ const result = await steamSets.data.accountV1GetApps({
32
+ accountSearch: {},
33
+ });
34
+
35
+ // Handle the result
36
+ console.log(result)
37
+ }
38
+
39
+ run();
40
+ ```
41
+
42
+ ### Standalone function
43
+
44
+ The standalone function version of this method:
45
+
46
+ ```typescript
47
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
48
+ import { dataAccountV1GetApps } from "@steamsets/client-ts/funcs/dataAccountV1GetApps.js";
49
+
50
+ // Use `SteamSetsCore` for best tree-shaking performance.
51
+ // You can create one instance of it to use across an application.
52
+ const steamSets = new SteamSetsCore({
53
+ session: "<YOUR_BEARER_TOKEN_HERE>",
54
+ });
55
+
56
+ async function run() {
57
+ const res = await dataAccountV1GetApps(steamSets, {
58
+ accountSearch: {},
59
+ });
60
+
61
+ if (!res.ok) {
62
+ throw res.error;
63
+ }
64
+
65
+ const { value: result } = res;
66
+
67
+ // Handle the result
68
+ console.log(result)
69
+ }
70
+
71
+ run();
72
+ ```
73
+
74
+ ### Parameters
75
+
76
+ | Parameter | Type | Required | Description |
77
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
78
+ | `request` | [operations.AccountV1GetAppsRequest](../../models/operations/accountv1getappsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
79
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
80
+ | `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. |
81
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
82
+
83
+ ### Response
84
+
85
+ **Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
86
+
87
+ ### Errors
88
+
89
+ | Error Object | Status Code | Content Type |
90
+ | ------------------------ | ------------------------ | ------------------------ |
91
+ | errors.ErrorModel | 400,422,500 | application/problem+json |
92
+ | errors.SDKError | 4xx-5xx | */* |
93
+
94
+
95
+ ## accountV1GetBadges
96
+
97
+ Get Account Badges
98
+
99
+ ### Example Usage
100
+
101
+ ```typescript
102
+ import { SteamSets } from "@steamsets/client-ts";
103
+
104
+ const steamSets = new SteamSets({
105
+ session: "<YOUR_BEARER_TOKEN_HERE>",
106
+ });
107
+
108
+ async function run() {
109
+ const result = await steamSets.data.accountV1GetBadges({
110
+ accountSearch: {},
111
+ });
112
+
113
+ // Handle the result
114
+ console.log(result)
115
+ }
116
+
117
+ run();
118
+ ```
119
+
120
+ ### Standalone function
121
+
122
+ The standalone function version of this method:
123
+
124
+ ```typescript
125
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
126
+ import { dataAccountV1GetBadges } from "@steamsets/client-ts/funcs/dataAccountV1GetBadges.js";
127
+
128
+ // Use `SteamSetsCore` for best tree-shaking performance.
129
+ // You can create one instance of it to use across an application.
130
+ const steamSets = new SteamSetsCore({
131
+ session: "<YOUR_BEARER_TOKEN_HERE>",
132
+ });
133
+
134
+ async function run() {
135
+ const res = await dataAccountV1GetBadges(steamSets, {
136
+ accountSearch: {},
137
+ });
138
+
139
+ if (!res.ok) {
140
+ throw res.error;
141
+ }
142
+
143
+ const { value: result } = res;
144
+
145
+ // Handle the result
146
+ console.log(result)
147
+ }
148
+
149
+ run();
150
+ ```
151
+
152
+ ### Parameters
153
+
154
+ | Parameter | Type | Required | Description |
155
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
156
+ | `request` | [operations.AccountV1GetBadgesRequest](../../models/operations/accountv1getbadgesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
157
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
158
+ | `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. |
159
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
160
+
161
+ ### Response
162
+
163
+ **Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
164
+
165
+ ### Errors
166
+
167
+ | Error Object | Status Code | Content Type |
168
+ | ------------------------ | ------------------------ | ------------------------ |
169
+ | errors.ErrorModel | 400,422,500 | application/problem+json |
170
+ | errors.SDKError | 4xx-5xx | */* |
171
+
172
+
173
+ ## accountV1GetFriends
174
+
175
+ Get Account Friends
176
+
177
+ ### Example Usage
178
+
179
+ ```typescript
180
+ import { SteamSets } from "@steamsets/client-ts";
181
+
182
+ const steamSets = new SteamSets({
183
+ session: "<YOUR_BEARER_TOKEN_HERE>",
184
+ });
185
+
186
+ async function run() {
187
+ const result = await steamSets.data.accountV1GetFriends({
188
+ accountSearch: {},
189
+ });
190
+
191
+ // Handle the result
192
+ console.log(result)
193
+ }
194
+
195
+ run();
196
+ ```
197
+
198
+ ### Standalone function
199
+
200
+ The standalone function version of this method:
201
+
202
+ ```typescript
203
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
204
+ import { dataAccountV1GetFriends } from "@steamsets/client-ts/funcs/dataAccountV1GetFriends.js";
205
+
206
+ // Use `SteamSetsCore` for best tree-shaking performance.
207
+ // You can create one instance of it to use across an application.
208
+ const steamSets = new SteamSetsCore({
209
+ session: "<YOUR_BEARER_TOKEN_HERE>",
210
+ });
211
+
212
+ async function run() {
213
+ const res = await dataAccountV1GetFriends(steamSets, {
214
+ accountSearch: {},
215
+ });
216
+
217
+ if (!res.ok) {
218
+ throw res.error;
219
+ }
220
+
221
+ const { value: result } = res;
222
+
223
+ // Handle the result
224
+ console.log(result)
225
+ }
226
+
227
+ run();
228
+ ```
229
+
230
+ ### Parameters
231
+
232
+ | Parameter | Type | Required | Description |
233
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
234
+ | `request` | [operations.AccountV1GetFriendsRequest](../../models/operations/accountv1getfriendsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
235
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
236
+ | `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. |
237
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
238
+
239
+ ### Response
240
+
241
+ **Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
242
+
243
+ ### Errors
244
+
245
+ | Error Object | Status Code | Content Type |
246
+ | ------------------------ | ------------------------ | ------------------------ |
247
+ | errors.ErrorModel | 400,422,500 | application/problem+json |
248
+ | errors.SDKError | 4xx-5xx | */* |
249
+
250
+
251
+ ## accountV1GetInfo
252
+
253
+ Get Account Info
254
+
255
+ ### Example Usage
256
+
257
+ ```typescript
258
+ import { SteamSets } from "@steamsets/client-ts";
259
+
260
+ const steamSets = new SteamSets({
261
+ session: "<YOUR_BEARER_TOKEN_HERE>",
262
+ });
263
+
264
+ async function run() {
265
+ const result = await steamSets.data.accountV1GetInfo({});
266
+
267
+ // Handle the result
268
+ console.log(result)
269
+ }
270
+
271
+ run();
272
+ ```
273
+
274
+ ### Standalone function
275
+
276
+ The standalone function version of this method:
277
+
278
+ ```typescript
279
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
280
+ import { dataAccountV1GetInfo } from "@steamsets/client-ts/funcs/dataAccountV1GetInfo.js";
281
+
282
+ // Use `SteamSetsCore` for best tree-shaking performance.
283
+ // You can create one instance of it to use across an application.
284
+ const steamSets = new SteamSetsCore({
285
+ session: "<YOUR_BEARER_TOKEN_HERE>",
286
+ });
287
+
288
+ async function run() {
289
+ const res = await dataAccountV1GetInfo(steamSets, {});
290
+
291
+ if (!res.ok) {
292
+ throw res.error;
293
+ }
294
+
295
+ const { value: result } = res;
296
+
297
+ // Handle the result
298
+ console.log(result)
299
+ }
300
+
301
+ run();
302
+ ```
303
+
304
+ ### Parameters
305
+
306
+ | Parameter | Type | Required | Description |
307
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
308
+ | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
309
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
310
+ | `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. |
311
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
312
+
313
+ ### Response
314
+
315
+ **Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
316
+
317
+ ### Errors
318
+
319
+ | Error Object | Status Code | Content Type |
320
+ | ------------------------ | ------------------------ | ------------------------ |
321
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
322
+ | errors.SDKError | 4xx-5xx | */* |
323
+
324
+
325
+ ## accountV1GetLeaderboardHistory
326
+
327
+ Get Account Leaderboard History
328
+
329
+ ### Example Usage
330
+
331
+ ```typescript
332
+ import { SteamSets } from "@steamsets/client-ts";
333
+
334
+ const steamSets = new SteamSets({
335
+ session: "<YOUR_BEARER_TOKEN_HERE>",
336
+ });
337
+
338
+ async function run() {
339
+ const result = await steamSets.data.accountV1GetLeaderboardHistory({
340
+ accountSearch: {},
341
+ });
342
+
343
+ // Handle the result
344
+ console.log(result)
345
+ }
346
+
347
+ run();
348
+ ```
349
+
350
+ ### Standalone function
351
+
352
+ The standalone function version of this method:
353
+
354
+ ```typescript
355
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
356
+ import { dataAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/funcs/dataAccountV1GetLeaderboardHistory.js";
357
+
358
+ // Use `SteamSetsCore` for best tree-shaking performance.
359
+ // You can create one instance of it to use across an application.
360
+ const steamSets = new SteamSetsCore({
361
+ session: "<YOUR_BEARER_TOKEN_HERE>",
362
+ });
363
+
364
+ async function run() {
365
+ const res = await dataAccountV1GetLeaderboardHistory(steamSets, {
366
+ accountSearch: {},
367
+ });
368
+
369
+ if (!res.ok) {
370
+ throw res.error;
371
+ }
372
+
373
+ const { value: result } = res;
374
+
375
+ // Handle the result
376
+ console.log(result)
377
+ }
378
+
379
+ run();
380
+ ```
381
+
382
+ ### Parameters
383
+
384
+ | Parameter | Type | Required | Description |
385
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
386
+ | `request` | [operations.AccountV1GetLeaderboardHistoryRequest](../../models/operations/accountv1getleaderboardhistoryrequest.md) | :heavy_check_mark: | The request object to use for the request. |
387
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
388
+ | `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. |
389
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
390
+
391
+ ### Response
392
+
393
+ **Promise\<[operations.AccountV1GetLeaderboardHistoryResponse](../../models/operations/accountv1getleaderboardhistoryresponse.md)\>**
394
+
395
+ ### Errors
396
+
397
+ | Error Object | Status Code | Content Type |
398
+ | ------------------------ | ------------------------ | ------------------------ |
399
+ | errors.ErrorModel | 400,422,500 | application/problem+json |
400
+ | errors.SDKError | 4xx-5xx | */* |
401
+
402
+
403
+ ## accountV1GetStaff
404
+
405
+ Get Staff Members and their info
406
+
407
+ ### Example Usage
408
+
409
+ ```typescript
410
+ import { SteamSets } from "@steamsets/client-ts";
411
+
412
+ const steamSets = new SteamSets({
413
+ session: "<YOUR_BEARER_TOKEN_HERE>",
414
+ });
415
+
416
+ async function run() {
417
+ const result = await steamSets.data.accountV1GetStaff();
418
+
419
+ // Handle the result
420
+ console.log(result)
421
+ }
422
+
423
+ run();
424
+ ```
425
+
426
+ ### Standalone function
427
+
428
+ The standalone function version of this method:
429
+
430
+ ```typescript
431
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
432
+ import { dataAccountV1GetStaff } from "@steamsets/client-ts/funcs/dataAccountV1GetStaff.js";
433
+
434
+ // Use `SteamSetsCore` for best tree-shaking performance.
435
+ // You can create one instance of it to use across an application.
436
+ const steamSets = new SteamSetsCore({
437
+ session: "<YOUR_BEARER_TOKEN_HERE>",
438
+ });
439
+
440
+ async function run() {
441
+ const res = await dataAccountV1GetStaff(steamSets);
442
+
443
+ if (!res.ok) {
444
+ throw res.error;
445
+ }
446
+
447
+ const { value: result } = res;
448
+
449
+ // Handle the result
450
+ console.log(result)
451
+ }
452
+
453
+ run();
454
+ ```
455
+
456
+ ### Parameters
457
+
458
+ | Parameter | Type | Required | Description |
459
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
460
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
461
+ | `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. |
462
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
463
+
464
+ ### Response
465
+
466
+ **Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
467
+
468
+ ### Errors
469
+
470
+ | Error Object | Status Code | Content Type |
471
+ | ------------------------ | ------------------------ | ------------------------ |
472
+ | errors.ErrorModel | 404,429,500 | application/problem+json |
473
+ | errors.SDKError | 4xx-5xx | */* |
@@ -0,0 +1,80 @@
1
+ # Location
2
+ (*location*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [location](#location) - Location List
9
+
10
+ ## location
11
+
12
+ Get all of our available locations
13
+
14
+ ### Example Usage
15
+
16
+ ```typescript
17
+ import { SteamSets } from "@steamsets/client-ts";
18
+
19
+ const steamSets = new SteamSets({
20
+ session: "<YOUR_BEARER_TOKEN_HERE>",
21
+ });
22
+
23
+ async function run() {
24
+ const result = await steamSets.location.location();
25
+
26
+ // Handle the result
27
+ console.log(result)
28
+ }
29
+
30
+ run();
31
+ ```
32
+
33
+ ### Standalone function
34
+
35
+ The standalone function version of this method:
36
+
37
+ ```typescript
38
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
39
+ import { locationLocation } from "@steamsets/client-ts/funcs/locationLocation.js";
40
+
41
+ // Use `SteamSetsCore` for best tree-shaking performance.
42
+ // You can create one instance of it to use across an application.
43
+ const steamSets = new SteamSetsCore({
44
+ session: "<YOUR_BEARER_TOKEN_HERE>",
45
+ });
46
+
47
+ async function run() {
48
+ const res = await locationLocation(steamSets);
49
+
50
+ if (!res.ok) {
51
+ throw res.error;
52
+ }
53
+
54
+ const { value: result } = res;
55
+
56
+ // Handle the result
57
+ console.log(result)
58
+ }
59
+
60
+ run();
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Parameter | Type | Required | Description |
66
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
67
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
68
+ | `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. |
69
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
70
+
71
+ ### Response
72
+
73
+ **Promise\<[operations.LocationResponse](../../models/operations/locationresponse.md)\>**
74
+
75
+ ### Errors
76
+
77
+ | Error Object | Status Code | Content Type |
78
+ | ------------------------ | ------------------------ | ------------------------ |
79
+ | errors.ErrorModel | 401,500 | application/problem+json |
80
+ | errors.SDKError | 4xx-5xx | */* |