@steamsets/client-ts 0.4.1 → 0.5.1

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 (240) hide show
  1. package/README.md +65 -44
  2. package/docs/sdks/account/README.md +245 -14
  3. package/docs/sdks/data/README.md +315 -0
  4. package/docs/sdks/location/README.md +80 -0
  5. package/docs/sdks/public/README.md +241 -0
  6. package/docs/sdks/session/README.md +82 -8
  7. package/funcs/accountAccountV1GetApps.d.ts +1 -2
  8. package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
  9. package/funcs/accountAccountV1GetApps.js +10 -3
  10. package/funcs/accountAccountV1GetApps.js.map +1 -1
  11. package/funcs/accountAccountV1GetBadges.d.ts +1 -2
  12. package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
  13. package/funcs/accountAccountV1GetBadges.js +10 -3
  14. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  15. package/funcs/accountAccountV1GetInfo.d.ts +14 -0
  16. package/funcs/accountAccountV1GetInfo.d.ts.map +1 -0
  17. package/funcs/accountAccountV1GetInfo.js +96 -0
  18. package/funcs/accountAccountV1GetInfo.js.map +1 -0
  19. package/funcs/accountAccountV1GetStaff.d.ts +13 -0
  20. package/funcs/accountAccountV1GetStaff.d.ts.map +1 -0
  21. package/funcs/accountAccountV1GetStaff.js +86 -0
  22. package/funcs/accountAccountV1GetStaff.js.map +1 -0
  23. package/funcs/accountAccountV1SessionCreate.d.ts +13 -0
  24. package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -0
  25. package/funcs/accountAccountV1SessionCreate.js +112 -0
  26. package/funcs/accountAccountV1SessionCreate.js.map +1 -0
  27. package/funcs/accountAccountV1SessionLogin.d.ts +1 -1
  28. package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
  29. package/funcs/accountAccountV1SessionLogin.js +7 -14
  30. package/funcs/accountAccountV1SessionLogin.js.map +1 -1
  31. package/funcs/dataAccountV1GetApps.d.ts +13 -0
  32. package/funcs/dataAccountV1GetApps.d.ts.map +1 -0
  33. package/funcs/dataAccountV1GetApps.js +105 -0
  34. package/funcs/dataAccountV1GetApps.js.map +1 -0
  35. package/funcs/dataAccountV1GetBadges.d.ts +13 -0
  36. package/funcs/dataAccountV1GetBadges.d.ts.map +1 -0
  37. package/funcs/dataAccountV1GetBadges.js +105 -0
  38. package/funcs/dataAccountV1GetBadges.js.map +1 -0
  39. package/funcs/dataAccountV1GetInfo.d.ts +14 -0
  40. package/funcs/dataAccountV1GetInfo.d.ts.map +1 -0
  41. package/funcs/dataAccountV1GetInfo.js +96 -0
  42. package/funcs/dataAccountV1GetInfo.js.map +1 -0
  43. package/funcs/dataAccountV1GetStaff.d.ts +13 -0
  44. package/funcs/dataAccountV1GetStaff.d.ts.map +1 -0
  45. package/funcs/dataAccountV1GetStaff.js +86 -0
  46. package/funcs/dataAccountV1GetStaff.js.map +1 -0
  47. package/funcs/locationLocation.d.ts +16 -0
  48. package/funcs/locationLocation.d.ts.map +1 -0
  49. package/funcs/locationLocation.js +87 -0
  50. package/funcs/locationLocation.js.map +1 -0
  51. package/funcs/publicAccountV1GetApps.d.ts +13 -0
  52. package/funcs/publicAccountV1GetApps.d.ts.map +1 -0
  53. package/funcs/publicAccountV1GetApps.js +105 -0
  54. package/funcs/publicAccountV1GetApps.js.map +1 -0
  55. package/funcs/publicAccountV1GetBadges.d.ts +13 -0
  56. package/funcs/publicAccountV1GetBadges.d.ts.map +1 -0
  57. package/funcs/publicAccountV1GetBadges.js +105 -0
  58. package/funcs/publicAccountV1GetBadges.js.map +1 -0
  59. package/funcs/publicAccountV1GetInfo.d.ts +14 -0
  60. package/funcs/publicAccountV1GetInfo.d.ts.map +1 -0
  61. package/funcs/publicAccountV1GetInfo.js +96 -0
  62. package/funcs/publicAccountV1GetInfo.js.map +1 -0
  63. package/funcs/sessionAccountV1SessionCreate.d.ts +13 -0
  64. package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -0
  65. package/funcs/sessionAccountV1SessionCreate.js +112 -0
  66. package/funcs/sessionAccountV1SessionCreate.js.map +1 -0
  67. package/funcs/sessionAccountV1SessionLogin.d.ts +1 -1
  68. package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
  69. package/funcs/sessionAccountV1SessionLogin.js +7 -14
  70. package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
  71. package/lib/config.d.ts +3 -3
  72. package/lib/config.js +3 -3
  73. package/lib/security.d.ts +6 -1
  74. package/lib/security.d.ts.map +1 -1
  75. package/lib/security.js +5 -0
  76. package/lib/security.js.map +1 -1
  77. package/models/components/accountinfobody.d.ts +379 -0
  78. package/models/components/accountinfobody.d.ts.map +1 -0
  79. package/models/components/accountinfobody.js +254 -0
  80. package/models/components/accountinfobody.js.map +1 -0
  81. package/models/components/accountsearchvanitystruct.d.ts +4 -4
  82. package/models/components/accountsearchvanitystruct.d.ts.map +1 -1
  83. package/models/components/accountsearchvanitystruct.js +4 -4
  84. package/models/components/accountsearchvanitystruct.js.map +1 -1
  85. package/models/components/bestleaderboardrank.d.ts +110 -0
  86. package/models/components/bestleaderboardrank.d.ts.map +1 -0
  87. package/models/components/bestleaderboardrank.js +89 -0
  88. package/models/components/bestleaderboardrank.js.map +1 -0
  89. package/models/components/city.d.ts +28 -0
  90. package/models/components/city.d.ts.map +1 -0
  91. package/models/components/city.js +50 -0
  92. package/models/components/city.js.map +1 -0
  93. package/models/components/country.d.ts +43 -0
  94. package/models/components/country.d.ts.map +1 -0
  95. package/models/components/country.js +55 -0
  96. package/models/components/country.js.map +1 -0
  97. package/models/components/index.d.ts +10 -0
  98. package/models/components/index.d.ts.map +1 -1
  99. package/models/components/index.js +10 -0
  100. package/models/components/index.js.map +1 -1
  101. package/models/components/leaderboardaccount.d.ts +196 -0
  102. package/models/components/leaderboardaccount.d.ts.map +1 -0
  103. package/models/components/leaderboardaccount.js +128 -0
  104. package/models/components/leaderboardaccount.js.map +1 -0
  105. package/models/components/leaderboardbadgeinfo.d.ts +33 -0
  106. package/models/components/leaderboardbadgeinfo.d.ts.map +1 -0
  107. package/models/components/leaderboardbadgeinfo.js +55 -0
  108. package/models/components/leaderboardbadgeinfo.js.map +1 -0
  109. package/models/components/location.d.ts +38 -0
  110. package/models/components/location.d.ts.map +1 -0
  111. package/models/components/location.js +54 -0
  112. package/models/components/location.js.map +1 -0
  113. package/models/components/region.d.ts +38 -0
  114. package/models/components/region.d.ts.map +1 -0
  115. package/models/components/region.js +53 -0
  116. package/models/components/region.js.map +1 -0
  117. package/models/components/role.d.ts +2 -2
  118. package/models/components/role.d.ts.map +1 -1
  119. package/models/components/role.js +4 -17
  120. package/models/components/role.js.map +1 -1
  121. package/models/components/security.d.ts +2 -2
  122. package/models/components/security.d.ts.map +1 -1
  123. package/models/components/security.js +2 -2
  124. package/models/components/security.js.map +1 -1
  125. package/models/components/state.d.ts +43 -0
  126. package/models/components/state.d.ts.map +1 -0
  127. package/models/components/state.js +55 -0
  128. package/models/components/state.js.map +1 -0
  129. package/models/components/v1createsessionbody.d.ts +33 -0
  130. package/models/components/v1createsessionbody.d.ts.map +1 -0
  131. package/models/components/v1createsessionbody.js +65 -0
  132. package/models/components/v1createsessionbody.js.map +1 -0
  133. package/models/errors/errormodel.d.ts +5 -5
  134. package/models/errors/errormodel.d.ts.map +1 -1
  135. package/models/errors/errormodel.js +4 -2
  136. package/models/errors/errormodel.js.map +1 -1
  137. package/models/operations/accountv1getapps.d.ts +27 -0
  138. package/models/operations/accountv1getapps.d.ts.map +1 -1
  139. package/models/operations/accountv1getapps.js +40 -1
  140. package/models/operations/accountv1getapps.js.map +1 -1
  141. package/models/operations/accountv1getbadges.d.ts +27 -0
  142. package/models/operations/accountv1getbadges.d.ts.map +1 -1
  143. package/models/operations/accountv1getbadges.js +40 -1
  144. package/models/operations/accountv1getbadges.js.map +1 -1
  145. package/models/operations/accountv1getinfo.d.ts +31 -0
  146. package/models/operations/accountv1getinfo.d.ts.map +1 -0
  147. package/models/operations/accountv1getinfo.js +68 -0
  148. package/models/operations/accountv1getinfo.js.map +1 -0
  149. package/models/operations/accountv1getstaff.d.ts +31 -0
  150. package/models/operations/accountv1getstaff.d.ts.map +1 -0
  151. package/models/operations/accountv1getstaff.js +72 -0
  152. package/models/operations/accountv1getstaff.js.map +1 -0
  153. package/models/operations/accountv1sessioncreate.d.ts +60 -0
  154. package/models/operations/accountv1sessioncreate.d.ts.map +1 -0
  155. package/models/operations/accountv1sessioncreate.js +111 -0
  156. package/models/operations/accountv1sessioncreate.js.map +1 -0
  157. package/models/operations/accountv1sessionlogin.d.ts +0 -23
  158. package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
  159. package/models/operations/accountv1sessionlogin.js +1 -20
  160. package/models/operations/accountv1sessionlogin.js.map +1 -1
  161. package/models/operations/index.d.ts +4 -0
  162. package/models/operations/index.d.ts.map +1 -1
  163. package/models/operations/index.js +4 -0
  164. package/models/operations/index.js.map +1 -1
  165. package/models/operations/location.d.ts +31 -0
  166. package/models/operations/location.d.ts.map +1 -0
  167. package/models/operations/location.js +68 -0
  168. package/models/operations/location.js.map +1 -0
  169. package/package.json +1 -1
  170. package/sdk/account.d.ts +15 -3
  171. package/sdk/account.d.ts.map +1 -1
  172. package/sdk/account.js +23 -2
  173. package/sdk/account.js.map +1 -1
  174. package/sdk/data.d.ts +22 -0
  175. package/sdk/data.d.ts.map +1 -0
  176. package/sdk/data.js +40 -0
  177. package/sdk/data.js.map +1 -0
  178. package/sdk/location.d.ts +12 -0
  179. package/sdk/location.d.ts.map +1 -0
  180. package/sdk/location.js +22 -0
  181. package/sdk/location.js.map +1 -0
  182. package/sdk/public.d.ts +18 -0
  183. package/sdk/public.d.ts.map +1 -0
  184. package/sdk/public.js +33 -0
  185. package/sdk/public.js.map +1 -0
  186. package/sdk/sdk.d.ts +11 -2
  187. package/sdk/sdk.d.ts.map +1 -1
  188. package/sdk/sdk.js +17 -2
  189. package/sdk/sdk.js.map +1 -1
  190. package/sdk/session.d.ts +5 -1
  191. package/sdk/session.d.ts.map +1 -1
  192. package/sdk/session.js +9 -2
  193. package/sdk/session.js.map +1 -1
  194. package/src/funcs/accountAccountV1GetApps.ts +12 -5
  195. package/src/funcs/accountAccountV1GetBadges.ts +12 -5
  196. package/src/funcs/accountAccountV1GetInfo.ts +130 -0
  197. package/src/funcs/accountAccountV1GetStaff.ts +113 -0
  198. package/src/funcs/accountAccountV1SessionCreate.ts +146 -0
  199. package/src/funcs/accountAccountV1SessionLogin.ts +7 -15
  200. package/src/funcs/dataAccountV1GetApps.ts +139 -0
  201. package/src/funcs/dataAccountV1GetBadges.ts +139 -0
  202. package/src/funcs/dataAccountV1GetInfo.ts +130 -0
  203. package/src/funcs/dataAccountV1GetStaff.ts +113 -0
  204. package/src/funcs/locationLocation.ts +114 -0
  205. package/src/funcs/publicAccountV1GetApps.ts +139 -0
  206. package/src/funcs/publicAccountV1GetBadges.ts +139 -0
  207. package/src/funcs/publicAccountV1GetInfo.ts +130 -0
  208. package/src/funcs/sessionAccountV1SessionCreate.ts +146 -0
  209. package/src/funcs/sessionAccountV1SessionLogin.ts +7 -15
  210. package/src/lib/config.ts +3 -3
  211. package/src/lib/security.ts +12 -1
  212. package/src/models/components/accountinfobody.ts +532 -0
  213. package/src/models/components/accountsearchvanitystruct.ts +8 -8
  214. package/src/models/components/bestleaderboardrank.ts +102 -0
  215. package/src/models/components/city.ts +40 -0
  216. package/src/models/components/country.ts +55 -0
  217. package/src/models/components/index.ts +10 -0
  218. package/src/models/components/leaderboardaccount.ts +301 -0
  219. package/src/models/components/leaderboardbadgeinfo.ts +58 -0
  220. package/src/models/components/location.ts +55 -0
  221. package/src/models/components/region.ts +53 -0
  222. package/src/models/components/role.ts +14 -27
  223. package/src/models/components/security.ts +4 -4
  224. package/src/models/components/state.ts +55 -0
  225. package/src/models/components/v1createsessionbody.ts +68 -0
  226. package/src/models/errors/errormodel.ts +8 -6
  227. package/src/models/operations/accountv1getapps.ts +64 -0
  228. package/src/models/operations/accountv1getbadges.ts +64 -0
  229. package/src/models/operations/accountv1getinfo.ts +68 -0
  230. package/src/models/operations/accountv1getstaff.ts +72 -0
  231. package/src/models/operations/accountv1sessioncreate.ts +138 -0
  232. package/src/models/operations/accountv1sessionlogin.ts +0 -40
  233. package/src/models/operations/index.ts +4 -0
  234. package/src/models/operations/location.ts +64 -0
  235. package/src/sdk/account.ts +35 -4
  236. package/src/sdk/data.ts +53 -0
  237. package/src/sdk/location.ts +20 -0
  238. package/src/sdk/public.ts +43 -0
  239. package/src/sdk/sdk.ts +21 -3
  240. package/src/sdk/session.ts +12 -2
package/README.md CHANGED
@@ -19,6 +19,8 @@ It has been generated successfully based on your OpenAPI spec. However, it is no
19
19
  <!-- Start SDK Installation [installation] -->
20
20
  ## SDK Installation
21
21
 
22
+ The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
23
+
22
24
  ### NPM
23
25
 
24
26
  ```bash
@@ -80,14 +82,17 @@ run();
80
82
  ### [account](docs/sdks/account/README.md)
81
83
 
82
84
  * [accountV1ConnectionConnect](docs/sdks/account/README.md#accountv1connectionconnect) - Connect a new Social Provider
85
+ * [accountV1SessionCreate](docs/sdks/account/README.md#accountv1sessioncreate) - Create a new session for non logged in users
83
86
  * [accountV1ConnectionDeleteConnection](docs/sdks/account/README.md#accountv1connectiondeleteconnection) - Remove a connection
84
87
  * [accountV1SettingsDeleteImages](docs/sdks/account/README.md#accountv1settingsdeleteimages) - Delete mulitple imagest
85
88
  * [accountV1SessionDelete](docs/sdks/account/README.md#accountv1sessiondelete) - Deletes a session, can also be used to logout
86
89
  * [accountV1SettingsGenerateApiKey](docs/sdks/account/README.md#accountv1settingsgenerateapikey) - Generate a new API key for the account
87
90
  * [accountV1GetApps](docs/sdks/account/README.md#accountv1getapps) - Get Account Apps
88
91
  * [accountV1GetBadges](docs/sdks/account/README.md#accountv1getbadges) - Get Account Badges
92
+ * [accountV1GetInfo](docs/sdks/account/README.md#accountv1getinfo) - Get Account Info
89
93
  * [accountV1SessionGet](docs/sdks/account/README.md#accountv1sessionget) - Gets all session data
90
94
  * [accountV1SettingsGet](docs/sdks/account/README.md#accountv1settingsget) - Gets all settings for the account
95
+ * [accountV1GetStaff](docs/sdks/account/README.md#accountv1getstaff) - Get Staff Members and their info
91
96
  * [accountV1SessionLogin](docs/sdks/account/README.md#accountv1sessionlogin) - Logs a user in and creates a new session
92
97
  * [accountV1SettingsSendEmailVerification](docs/sdks/account/README.md#accountv1settingssendemailverification) - Resend the verification code for an email
93
98
  * [accountV1ConnectionUpdateConnection](docs/sdks/account/README.md#accountv1connectionupdateconnection) - Make a connection visible/invisible
@@ -104,6 +109,13 @@ run();
104
109
  * [accountV1ConnectionUpdateConnection](docs/sdks/connection/README.md#accountv1connectionupdateconnection) - Make a connection visible/invisible
105
110
  * [accountV1ConnectionVerifyConnection](docs/sdks/connection/README.md#accountv1connectionverifyconnection) - Verify a domain connection only atm
106
111
 
112
+ ### [session](docs/sdks/session/README.md)
113
+
114
+ * [accountV1SessionCreate](docs/sdks/session/README.md#accountv1sessioncreate) - Create a new session for non logged in users
115
+ * [accountV1SessionDelete](docs/sdks/session/README.md#accountv1sessiondelete) - Deletes a session, can also be used to logout
116
+ * [accountV1SessionGet](docs/sdks/session/README.md#accountv1sessionget) - Gets all session data
117
+ * [accountV1SessionLogin](docs/sdks/session/README.md#accountv1sessionlogin) - Logs a user in and creates a new session
118
+
107
119
  ### [settings](docs/sdks/settings/README.md)
108
120
 
109
121
  * [accountV1SettingsDeleteImages](docs/sdks/settings/README.md#accountv1settingsdeleteimages) - Delete mulitple imagest
@@ -115,15 +127,26 @@ run();
115
127
  * [accountV1SettingsUploadImages](docs/sdks/settings/README.md#accountv1settingsuploadimages) - Multi Upload Endpoint for images
116
128
  * [accountV1SettingsVerfyEmail](docs/sdks/settings/README.md#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
117
129
 
118
- ### [session](docs/sdks/session/README.md)
130
+ ### [data](docs/sdks/data/README.md)
119
131
 
120
- * [accountV1SessionDelete](docs/sdks/session/README.md#accountv1sessiondelete) - Deletes a session, can also be used to logout
121
- * [accountV1SessionGet](docs/sdks/session/README.md#accountv1sessionget) - Gets all session data
122
- * [accountV1SessionLogin](docs/sdks/session/README.md#accountv1sessionlogin) - Logs a user in and creates a new session
132
+ * [accountV1GetApps](docs/sdks/data/README.md#accountv1getapps) - Get Account Apps
133
+ * [accountV1GetBadges](docs/sdks/data/README.md#accountv1getbadges) - Get Account Badges
134
+ * [accountV1GetInfo](docs/sdks/data/README.md#accountv1getinfo) - Get Account Info
135
+ * [accountV1GetStaff](docs/sdks/data/README.md#accountv1getstaff) - Get Staff Members and their info
136
+
137
+ ### [public](docs/sdks/public/README.md)
138
+
139
+ * [accountV1GetApps](docs/sdks/public/README.md#accountv1getapps) - Get Account Apps
140
+ * [accountV1GetBadges](docs/sdks/public/README.md#accountv1getbadges) - Get Account Badges
141
+ * [accountV1GetInfo](docs/sdks/public/README.md#accountv1getinfo) - Get Account Info
123
142
 
124
143
  ### [liveness](docs/sdks/liveness/README.md)
125
144
 
126
145
  * [liveness](docs/sdks/liveness/README.md#liveness) - Liveness check
146
+
147
+ ### [location](docs/sdks/location/README.md)
148
+
149
+ * [location](docs/sdks/location/README.md#location) - Location List
127
150
  <!-- End Available Resources and Operations [operations] -->
128
151
 
129
152
  <!-- Start Retries [retries] -->
@@ -215,7 +238,7 @@ Validation errors can also occur when either method arguments or data returned f
215
238
 
216
239
  ```typescript
217
240
  import { SteamSets } from "@steamsets/client-ts";
218
- import { SDKValidationError } from "@steamsets/client-ts/models/errors";
241
+ import { ErrorModel, SDKValidationError } from "@steamsets/client-ts/models/errors";
219
242
 
220
243
  const steamSets = new SteamSets({
221
244
  session: "<YOUR_BEARER_TOKEN_HERE>",
@@ -237,8 +260,9 @@ async function run() {
237
260
  console.error(err.rawValue);
238
261
  return;
239
262
  }
240
- case err instanceof errors.ErrorModel: {
241
- console.error(err); // handle exception
263
+ case err instanceof ErrorModel: {
264
+ // Handle err.data$: ErrorModelData
265
+ console.error(err);
242
266
  return;
243
267
  }
244
268
  default: {
@@ -398,43 +422,6 @@ async function run() {
398
422
 
399
423
  run();
400
424
 
401
- ```
402
-
403
- ### Per-Operation Security Schemes
404
-
405
- Some operations in this SDK require the security scheme to be specified at the request level. For example:
406
- ```typescript
407
- import { SteamSets } from "@steamsets/client-ts";
408
-
409
- const steamSets = new SteamSets();
410
-
411
- async function run() {
412
- const result = await steamSets.account.accountV1SessionLogin(
413
- {
414
- loginRequestBody: {
415
- openidAssocHandle: "123456",
416
- openidClaimedId: "76561198842603734",
417
- openidIdentity: "https://steamsets.com/api/v1/openid/login",
418
- openidMode: "checkid_setup",
419
- openidNs: "http://specs.openid.net/auth/2.0",
420
- openidOpEndpoint: "https://steamsets.com/api/v1/openid/login",
421
- openidResponseNonce: "123456",
422
- openidReturnTo: "https://steamsets.com/api/v1/openid/login",
423
- openidSig: "123456",
424
- openidSigned: "123456",
425
- },
426
- },
427
- {
428
- anonymous: "<YOUR_BEARER_TOKEN_HERE>",
429
- }
430
- );
431
-
432
- // Handle the result
433
- console.log(result);
434
- }
435
-
436
- run();
437
-
438
425
  ```
439
426
  <!-- End Authentication [security] -->
440
427
 
@@ -471,6 +458,9 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
471
458
  - [accountAccountV1ConnectionVerifyConnection](docs/sdks/account/README.md#accountv1connectionverifyconnection)
472
459
  - [accountAccountV1GetApps](docs/sdks/account/README.md#accountv1getapps)
473
460
  - [accountAccountV1GetBadges](docs/sdks/account/README.md#accountv1getbadges)
461
+ - [accountAccountV1GetInfo](docs/sdks/account/README.md#accountv1getinfo)
462
+ - [accountAccountV1GetStaff](docs/sdks/account/README.md#accountv1getstaff)
463
+ - [accountAccountV1SessionCreate](docs/sdks/account/README.md#accountv1sessioncreate)
474
464
  - [accountAccountV1SessionDelete](docs/sdks/account/README.md#accountv1sessiondelete)
475
465
  - [accountAccountV1SessionGet](docs/sdks/account/README.md#accountv1sessionget)
476
466
  - [accountAccountV1SessionLogin](docs/sdks/account/README.md#accountv1sessionlogin)
@@ -486,7 +476,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
486
476
  - [connectionAccountV1ConnectionDeleteConnection](docs/sdks/connection/README.md#accountv1connectiondeleteconnection)
487
477
  - [connectionAccountV1ConnectionUpdateConnection](docs/sdks/connection/README.md#accountv1connectionupdateconnection)
488
478
  - [connectionAccountV1ConnectionVerifyConnection](docs/sdks/connection/README.md#accountv1connectionverifyconnection)
479
+ - [dataAccountV1GetApps](docs/sdks/data/README.md#accountv1getapps)
480
+ - [dataAccountV1GetBadges](docs/sdks/data/README.md#accountv1getbadges)
481
+ - [dataAccountV1GetInfo](docs/sdks/data/README.md#accountv1getinfo)
482
+ - [dataAccountV1GetStaff](docs/sdks/data/README.md#accountv1getstaff)
489
483
  - [livenessLiveness](docs/sdks/liveness/README.md#liveness)
484
+ - [locationLocation](docs/sdks/location/README.md#location)
485
+ - [publicAccountV1GetApps](docs/sdks/public/README.md#accountv1getapps)
486
+ - [publicAccountV1GetBadges](docs/sdks/public/README.md#accountv1getbadges)
487
+ - [publicAccountV1GetInfo](docs/sdks/public/README.md#accountv1getinfo)
488
+ - [sessionAccountV1SessionCreate](docs/sdks/session/README.md#accountv1sessioncreate)
490
489
  - [sessionAccountV1SessionDelete](docs/sdks/session/README.md#accountv1sessiondelete)
491
490
  - [sessionAccountV1SessionGet](docs/sdks/session/README.md#accountv1sessionget)
492
491
  - [sessionAccountV1SessionLogin](docs/sdks/session/README.md#accountv1sessionlogin)
@@ -520,6 +519,28 @@ const sdk = new SteamSets({ debugLogger: console });
520
519
  ```
521
520
  <!-- End Debugging [debug] -->
522
521
 
522
+ <!-- Start Summary [summary] -->
523
+ ## Summary
524
+
525
+
526
+ <!-- End Summary [summary] -->
527
+
528
+ <!-- Start Table of Contents [toc] -->
529
+ ## Table of Contents
530
+
531
+ * [SDK Installation](#sdk-installation)
532
+ * [Requirements](#requirements)
533
+ * [SDK Example Usage](#sdk-example-usage)
534
+ * [Available Resources and Operations](#available-resources-and-operations)
535
+ * [Standalone functions](#standalone-functions)
536
+ * [Retries](#retries)
537
+ * [Error Handling](#error-handling)
538
+ * [Server Selection](#server-selection)
539
+ * [Custom HTTP Client](#custom-http-client)
540
+ * [Authentication](#authentication)
541
+ * [Debugging](#debugging)
542
+ <!-- End Table of Contents [toc] -->
543
+
523
544
  <!-- Placeholder for Future Speakeasy SDK Sections -->
524
545
 
525
546
  # Development
@@ -8,14 +8,17 @@ Account related operations
8
8
  ### Available Operations
9
9
 
10
10
  * [accountV1ConnectionConnect](#accountv1connectionconnect) - Connect a new Social Provider
11
+ * [accountV1SessionCreate](#accountv1sessioncreate) - Create a new session for non logged in users
11
12
  * [accountV1ConnectionDeleteConnection](#accountv1connectiondeleteconnection) - Remove a connection
12
13
  * [accountV1SettingsDeleteImages](#accountv1settingsdeleteimages) - Delete mulitple imagest
13
14
  * [accountV1SessionDelete](#accountv1sessiondelete) - Deletes a session, can also be used to logout
14
15
  * [accountV1SettingsGenerateApiKey](#accountv1settingsgenerateapikey) - Generate a new API key for the account
15
16
  * [accountV1GetApps](#accountv1getapps) - Get Account Apps
16
17
  * [accountV1GetBadges](#accountv1getbadges) - Get Account Badges
18
+ * [accountV1GetInfo](#accountv1getinfo) - Get Account Info
17
19
  * [accountV1SessionGet](#accountv1sessionget) - Gets all session data
18
20
  * [accountV1SettingsGet](#accountv1settingsget) - Gets all settings for the account
21
+ * [accountV1GetStaff](#accountv1getstaff) - Get Staff Members and their info
19
22
  * [accountV1SessionLogin](#accountv1sessionlogin) - Logs a user in and creates a new session
20
23
  * [accountV1SettingsSendEmailVerification](#accountv1settingssendemailverification) - Resend the verification code for an email
21
24
  * [accountV1ConnectionUpdateConnection](#accountv1connectionupdateconnection) - Make a connection visible/invisible
@@ -105,6 +108,80 @@ run();
105
108
  | errors.SDKError | 4xx-5xx | */* |
106
109
 
107
110
 
111
+ ## accountV1SessionCreate
112
+
113
+ Create a new session for non logged in users
114
+
115
+ ### Example Usage
116
+
117
+ ```typescript
118
+ import { SteamSets } from "@steamsets/client-ts";
119
+
120
+ const steamSets = new SteamSets({
121
+ session: "<YOUR_BEARER_TOKEN_HERE>",
122
+ });
123
+
124
+ async function run() {
125
+ const result = await steamSets.account.accountV1SessionCreate({});
126
+
127
+ // Handle the result
128
+ console.log(result)
129
+ }
130
+
131
+ run();
132
+ ```
133
+
134
+ ### Standalone function
135
+
136
+ The standalone function version of this method:
137
+
138
+ ```typescript
139
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
140
+ import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accountAccountV1SessionCreate.js";
141
+
142
+ // Use `SteamSetsCore` for best tree-shaking performance.
143
+ // You can create one instance of it to use across an application.
144
+ const steamSets = new SteamSetsCore({
145
+ session: "<YOUR_BEARER_TOKEN_HERE>",
146
+ });
147
+
148
+ async function run() {
149
+ const res = await accountAccountV1SessionCreate(steamSets, {});
150
+
151
+ if (!res.ok) {
152
+ throw res.error;
153
+ }
154
+
155
+ const { value: result } = res;
156
+
157
+ // Handle the result
158
+ console.log(result)
159
+ }
160
+
161
+ run();
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ | Parameter | Type | Required | Description |
167
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
168
+ | `request` | [operations.AccountV1SessionCreateRequest](../../models/operations/accountv1sessioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
169
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
170
+ | `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. |
171
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
172
+
173
+ ### Response
174
+
175
+ **Promise\<[operations.AccountV1SessionCreateResponse](../../models/operations/accountv1sessioncreateresponse.md)\>**
176
+
177
+ ### Errors
178
+
179
+ | Error Object | Status Code | Content Type |
180
+ | ------------------------ | ------------------------ | ------------------------ |
181
+ | errors.ErrorModel | 422,500 | application/problem+json |
182
+ | errors.SDKError | 4xx-5xx | */* |
183
+
184
+
108
185
  ## accountV1ConnectionDeleteConnection
109
186
 
110
187
  Remove a connection
@@ -436,7 +513,9 @@ const steamSets = new SteamSets({
436
513
  });
437
514
 
438
515
  async function run() {
439
- const result = await steamSets.account.accountV1GetApps({});
516
+ const result = await steamSets.account.accountV1GetApps({
517
+ accountSearch: {},
518
+ });
440
519
 
441
520
  // Handle the result
442
521
  console.log(result)
@@ -460,7 +539,9 @@ const steamSets = new SteamSetsCore({
460
539
  });
461
540
 
462
541
  async function run() {
463
- const res = await accountAccountV1GetApps(steamSets, {});
542
+ const res = await accountAccountV1GetApps(steamSets, {
543
+ accountSearch: {},
544
+ });
464
545
 
465
546
  if (!res.ok) {
466
547
  throw res.error;
@@ -479,7 +560,7 @@ run();
479
560
 
480
561
  | Parameter | Type | Required | Description |
481
562
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
482
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
563
+ | `request` | [operations.AccountV1GetAppsRequest](../../models/operations/accountv1getappsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
483
564
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
484
565
  | `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. |
485
566
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -510,7 +591,9 @@ const steamSets = new SteamSets({
510
591
  });
511
592
 
512
593
  async function run() {
513
- const result = await steamSets.account.accountV1GetBadges({});
594
+ const result = await steamSets.account.accountV1GetBadges({
595
+ accountSearch: {},
596
+ });
514
597
 
515
598
  // Handle the result
516
599
  console.log(result)
@@ -534,7 +617,9 @@ const steamSets = new SteamSetsCore({
534
617
  });
535
618
 
536
619
  async function run() {
537
- const res = await accountAccountV1GetBadges(steamSets, {});
620
+ const res = await accountAccountV1GetBadges(steamSets, {
621
+ accountSearch: {},
622
+ });
538
623
 
539
624
  if (!res.ok) {
540
625
  throw res.error;
@@ -553,7 +638,7 @@ run();
553
638
 
554
639
  | Parameter | Type | Required | Description |
555
640
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
556
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
641
+ | `request` | [operations.AccountV1GetBadgesRequest](../../models/operations/accountv1getbadgesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
557
642
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
558
643
  | `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. |
559
644
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -570,6 +655,80 @@ run();
570
655
  | errors.SDKError | 4xx-5xx | */* |
571
656
 
572
657
 
658
+ ## accountV1GetInfo
659
+
660
+ Get Account Info
661
+
662
+ ### Example Usage
663
+
664
+ ```typescript
665
+ import { SteamSets } from "@steamsets/client-ts";
666
+
667
+ const steamSets = new SteamSets({
668
+ session: "<YOUR_BEARER_TOKEN_HERE>",
669
+ });
670
+
671
+ async function run() {
672
+ const result = await steamSets.account.accountV1GetInfo({});
673
+
674
+ // Handle the result
675
+ console.log(result)
676
+ }
677
+
678
+ run();
679
+ ```
680
+
681
+ ### Standalone function
682
+
683
+ The standalone function version of this method:
684
+
685
+ ```typescript
686
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
687
+ import { accountAccountV1GetInfo } from "@steamsets/client-ts/funcs/accountAccountV1GetInfo.js";
688
+
689
+ // Use `SteamSetsCore` for best tree-shaking performance.
690
+ // You can create one instance of it to use across an application.
691
+ const steamSets = new SteamSetsCore({
692
+ session: "<YOUR_BEARER_TOKEN_HERE>",
693
+ });
694
+
695
+ async function run() {
696
+ const res = await accountAccountV1GetInfo(steamSets, {});
697
+
698
+ if (!res.ok) {
699
+ throw res.error;
700
+ }
701
+
702
+ const { value: result } = res;
703
+
704
+ // Handle the result
705
+ console.log(result)
706
+ }
707
+
708
+ run();
709
+ ```
710
+
711
+ ### Parameters
712
+
713
+ | Parameter | Type | Required | Description |
714
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
715
+ | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
716
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
717
+ | `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. |
718
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
719
+
720
+ ### Response
721
+
722
+ **Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
723
+
724
+ ### Errors
725
+
726
+ | Error Object | Status Code | Content Type |
727
+ | ------------------------ | ------------------------ | ------------------------ |
728
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
729
+ | errors.SDKError | 4xx-5xx | */* |
730
+
731
+
573
732
  ## accountV1SessionGet
574
733
 
575
734
  Gets all session data
@@ -716,6 +875,79 @@ run();
716
875
  | errors.SDKError | 4xx-5xx | */* |
717
876
 
718
877
 
878
+ ## accountV1GetStaff
879
+
880
+ Get Staff Members and their info
881
+
882
+ ### Example Usage
883
+
884
+ ```typescript
885
+ import { SteamSets } from "@steamsets/client-ts";
886
+
887
+ const steamSets = new SteamSets({
888
+ session: "<YOUR_BEARER_TOKEN_HERE>",
889
+ });
890
+
891
+ async function run() {
892
+ const result = await steamSets.account.accountV1GetStaff();
893
+
894
+ // Handle the result
895
+ console.log(result)
896
+ }
897
+
898
+ run();
899
+ ```
900
+
901
+ ### Standalone function
902
+
903
+ The standalone function version of this method:
904
+
905
+ ```typescript
906
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
907
+ import { accountAccountV1GetStaff } from "@steamsets/client-ts/funcs/accountAccountV1GetStaff.js";
908
+
909
+ // Use `SteamSetsCore` for best tree-shaking performance.
910
+ // You can create one instance of it to use across an application.
911
+ const steamSets = new SteamSetsCore({
912
+ session: "<YOUR_BEARER_TOKEN_HERE>",
913
+ });
914
+
915
+ async function run() {
916
+ const res = await accountAccountV1GetStaff(steamSets);
917
+
918
+ if (!res.ok) {
919
+ throw res.error;
920
+ }
921
+
922
+ const { value: result } = res;
923
+
924
+ // Handle the result
925
+ console.log(result)
926
+ }
927
+
928
+ run();
929
+ ```
930
+
931
+ ### Parameters
932
+
933
+ | Parameter | Type | Required | Description |
934
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
935
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
936
+ | `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. |
937
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
938
+
939
+ ### Response
940
+
941
+ **Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
942
+
943
+ ### Errors
944
+
945
+ | Error Object | Status Code | Content Type |
946
+ | ------------------------ | ------------------------ | ------------------------ |
947
+ | errors.ErrorModel | 404,429,500 | application/problem+json |
948
+ | errors.SDKError | 4xx-5xx | */* |
949
+
950
+
719
951
  ## accountV1SessionLogin
720
952
 
721
953
  Logs a user in and creates a new session
@@ -725,7 +957,9 @@ Logs a user in and creates a new session
725
957
  ```typescript
726
958
  import { SteamSets } from "@steamsets/client-ts";
727
959
 
728
- const steamSets = new SteamSets();
960
+ const steamSets = new SteamSets({
961
+ session: "<YOUR_BEARER_TOKEN_HERE>",
962
+ });
729
963
 
730
964
  async function run() {
731
965
  const result = await steamSets.account.accountV1SessionLogin({
@@ -741,8 +975,6 @@ async function run() {
741
975
  openidSig: "123456",
742
976
  openidSigned: "123456",
743
977
  },
744
- }, {
745
- anonymous: "<YOUR_BEARER_TOKEN_HERE>",
746
978
  });
747
979
 
748
980
  // Handle the result
@@ -762,7 +994,9 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
762
994
 
763
995
  // Use `SteamSetsCore` for best tree-shaking performance.
764
996
  // You can create one instance of it to use across an application.
765
- const steamSets = new SteamSetsCore();
997
+ const steamSets = new SteamSetsCore({
998
+ session: "<YOUR_BEARER_TOKEN_HERE>",
999
+ });
766
1000
 
767
1001
  async function run() {
768
1002
  const res = await accountAccountV1SessionLogin(steamSets, {
@@ -778,8 +1012,6 @@ async function run() {
778
1012
  openidSig: "123456",
779
1013
  openidSigned: "123456",
780
1014
  },
781
- }, {
782
- anonymous: "<YOUR_BEARER_TOKEN_HERE>",
783
1015
  });
784
1016
 
785
1017
  if (!res.ok) {
@@ -800,7 +1032,6 @@ run();
800
1032
  | Parameter | Type | Required | Description |
801
1033
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
802
1034
  | `request` | [operations.AccountV1SessionLoginRequest](../../models/operations/accountv1sessionloginrequest.md) | :heavy_check_mark: | The request object to use for the request. |
803
- | `security` | [operations.AccountV1SessionLoginSecurity](../../models/operations/accountv1sessionloginsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
804
1035
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
805
1036
  | `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. |
806
1037
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -813,7 +1044,7 @@ run();
813
1044
 
814
1045
  | Error Object | Status Code | Content Type |
815
1046
  | ------------------------ | ------------------------ | ------------------------ |
816
- | errors.ErrorModel | 422,500 | application/problem+json |
1047
+ | errors.ErrorModel | 400,422,429,500 | application/problem+json |
817
1048
  | errors.SDKError | 4xx-5xx | */* |
818
1049
 
819
1050