@steamsets/client-ts 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/README.md +42 -19
  2. package/docs/sdks/account/README.md +454 -26
  3. package/docs/sdks/connection/README.md +10 -10
  4. package/docs/sdks/liveness/README.md +2 -2
  5. package/docs/sdks/session/README.md +6 -6
  6. package/docs/sdks/settings/README.md +434 -6
  7. package/funcs/accountAccountV1SettingsDeleteImages.d.ts +13 -0
  8. package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -0
  9. package/funcs/accountAccountV1SettingsDeleteImages.js +95 -0
  10. package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -0
  11. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +13 -0
  12. package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -0
  13. package/funcs/accountAccountV1SettingsGenerateApiKey.js +84 -0
  14. package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -0
  15. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +13 -0
  16. package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -0
  17. package/funcs/accountAccountV1SettingsSendEmailVerification.js +99 -0
  18. package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -0
  19. package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
  20. package/funcs/accountAccountV1SettingsUpdate.js +3 -2
  21. package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
  22. package/funcs/accountAccountV1SettingsUpdateImage.d.ts +13 -0
  23. package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -0
  24. package/funcs/accountAccountV1SettingsUpdateImage.js +95 -0
  25. package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -0
  26. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +13 -0
  27. package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -0
  28. package/funcs/accountAccountV1SettingsVerfyEmail.js +95 -0
  29. package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -0
  30. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +13 -0
  31. package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -0
  32. package/funcs/settingsAccountV1SettingsDeleteImages.js +95 -0
  33. package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -0
  34. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +13 -0
  35. package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -0
  36. package/funcs/settingsAccountV1SettingsGenerateApiKey.js +84 -0
  37. package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -0
  38. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +13 -0
  39. package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -0
  40. package/funcs/settingsAccountV1SettingsSendEmailVerification.js +99 -0
  41. package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -0
  42. package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
  43. package/funcs/settingsAccountV1SettingsUpdate.js +3 -2
  44. package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
  45. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +13 -0
  46. package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -0
  47. package/funcs/settingsAccountV1SettingsUpdateImage.js +95 -0
  48. package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -0
  49. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +13 -0
  50. package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -0
  51. package/funcs/settingsAccountV1SettingsVerfyEmail.js +95 -0
  52. package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -0
  53. package/lib/config.d.ts +4 -4
  54. package/lib/config.d.ts.map +1 -1
  55. package/lib/config.js +4 -4
  56. package/lib/config.js.map +1 -1
  57. package/lib/security.js +2 -2
  58. package/lib/security.js.map +1 -1
  59. package/models/components/index.d.ts +11 -2
  60. package/models/components/index.d.ts.map +1 -1
  61. package/models/components/index.js +11 -2
  62. package/models/components/index.js.map +1 -1
  63. package/models/components/item.d.ts +33 -0
  64. package/models/components/item.d.ts.map +1 -0
  65. package/models/components/item.js +52 -0
  66. package/models/components/item.js.map +1 -0
  67. package/models/components/resource.d.ts +30 -0
  68. package/models/components/resource.d.ts.map +1 -0
  69. package/models/components/{v1resource.js → resource.js} +11 -11
  70. package/models/components/resource.js.map +1 -0
  71. package/models/components/role.d.ts +40 -0
  72. package/models/components/role.d.ts.map +1 -0
  73. package/models/components/{v1role.js → role.js} +11 -11
  74. package/models/components/role.js.map +1 -0
  75. package/models/components/v1connectresponsebody.d.ts +0 -5
  76. package/models/components/v1connectresponsebody.d.ts.map +1 -1
  77. package/models/components/v1connectresponsebody.js +0 -2
  78. package/models/components/v1connectresponsebody.js.map +1 -1
  79. package/models/components/v1deleteconnectionresponsebody.d.ts +0 -5
  80. package/models/components/v1deleteconnectionresponsebody.d.ts.map +1 -1
  81. package/models/components/v1deleteconnectionresponsebody.js +0 -2
  82. package/models/components/v1deleteconnectionresponsebody.js.map +1 -1
  83. package/models/components/v1deleteimagesrequestbody.d.ts +29 -0
  84. package/models/components/v1deleteimagesrequestbody.d.ts.map +1 -0
  85. package/models/components/v1deleteimagesrequestbody.js +51 -0
  86. package/models/components/v1deleteimagesrequestbody.js.map +1 -0
  87. package/models/components/v1deleteimagesresponsebody.d.ts +28 -0
  88. package/models/components/v1deleteimagesresponsebody.d.ts.map +1 -0
  89. package/models/components/v1deleteimagesresponsebody.js +63 -0
  90. package/models/components/v1deleteimagesresponsebody.js.map +1 -0
  91. package/models/components/v1deletesessionresponsebody.d.ts +0 -5
  92. package/models/components/v1deletesessionresponsebody.d.ts.map +1 -1
  93. package/models/components/v1deletesessionresponsebody.js +0 -2
  94. package/models/components/v1deletesessionresponsebody.js.map +1 -1
  95. package/models/components/v1generateapikeyresponsebody.d.ts +33 -0
  96. package/models/components/v1generateapikeyresponsebody.d.ts.map +1 -0
  97. package/models/components/v1generateapikeyresponsebody.js +65 -0
  98. package/models/components/v1generateapikeyresponsebody.js.map +1 -0
  99. package/models/components/v1getsessionbody.d.ts +6 -6
  100. package/models/components/v1getsessionbody.d.ts.map +1 -1
  101. package/models/components/v1getsessionbody.js +6 -6
  102. package/models/components/v1getsessionbody.js.map +1 -1
  103. package/models/components/v1updateconnectionrequestbody.d.ts +2 -2
  104. package/models/components/v1updateconnectionrequestbody.js +2 -2
  105. package/models/components/v1updateconnectionresponsebody.d.ts +0 -5
  106. package/models/components/v1updateconnectionresponsebody.d.ts.map +1 -1
  107. package/models/components/v1updateconnectionresponsebody.js +0 -2
  108. package/models/components/v1updateconnectionresponsebody.js.map +1 -1
  109. package/models/components/v1updateimagerequestbody.d.ts +33 -0
  110. package/models/components/v1updateimagerequestbody.d.ts.map +1 -0
  111. package/models/components/v1updateimagerequestbody.js +52 -0
  112. package/models/components/v1updateimagerequestbody.js.map +1 -0
  113. package/models/components/v1updateimageresponsebody.d.ts +33 -0
  114. package/models/components/v1updateimageresponsebody.d.ts.map +1 -0
  115. package/models/components/v1updateimageresponsebody.js +65 -0
  116. package/models/components/v1updateimageresponsebody.js.map +1 -0
  117. package/models/components/v1updatesettingsrequestbody.d.ts +96 -0
  118. package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -0
  119. package/models/components/v1updatesettingsrequestbody.js +87 -0
  120. package/models/components/v1updatesettingsrequestbody.js.map +1 -0
  121. package/models/components/v1updatesettingsresponsebody.d.ts +0 -5
  122. package/models/components/v1updatesettingsresponsebody.d.ts.map +1 -1
  123. package/models/components/v1updatesettingsresponsebody.js +0 -2
  124. package/models/components/v1updatesettingsresponsebody.js.map +1 -1
  125. package/models/components/v1verifyconnectionresponsebody.d.ts +0 -5
  126. package/models/components/v1verifyconnectionresponsebody.d.ts.map +1 -1
  127. package/models/components/v1verifyconnectionresponsebody.js +0 -2
  128. package/models/components/v1verifyconnectionresponsebody.js.map +1 -1
  129. package/models/components/v1verifyemailrequestbody.d.ts +28 -0
  130. package/models/components/v1verifyemailrequestbody.d.ts.map +1 -0
  131. package/models/components/v1verifyemailrequestbody.js +50 -0
  132. package/models/components/v1verifyemailrequestbody.js.map +1 -0
  133. package/models/components/v1verifyemailresponsebody.d.ts +28 -0
  134. package/models/components/v1verifyemailresponsebody.d.ts.map +1 -0
  135. package/models/components/v1verifyemailresponsebody.js +63 -0
  136. package/models/components/v1verifyemailresponsebody.js.map +1 -0
  137. package/models/operations/accountv1settingssendemailverification.d.ts +25 -0
  138. package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -0
  139. package/models/operations/accountv1settingssendemailverification.js +63 -0
  140. package/models/operations/accountv1settingssendemailverification.js.map +1 -0
  141. package/models/operations/accountv1settingsupdate.d.ts +3 -0
  142. package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
  143. package/models/operations/accountv1settingsupdate.js +5 -0
  144. package/models/operations/accountv1settingsupdate.js.map +1 -1
  145. package/models/operations/index.d.ts +1 -0
  146. package/models/operations/index.d.ts.map +1 -1
  147. package/models/operations/index.js +1 -0
  148. package/models/operations/index.js.map +1 -1
  149. package/package.json +1 -1
  150. package/sdk/account.d.ts +20 -0
  151. package/sdk/account.d.ts.map +1 -1
  152. package/sdk/account.js +35 -0
  153. package/sdk/account.js.map +1 -1
  154. package/sdk/sdk.d.ts +2 -2
  155. package/sdk/sdk.d.ts.map +1 -1
  156. package/sdk/sdk.js +4 -4
  157. package/sdk/sdk.js.map +1 -1
  158. package/sdk/settings.d.ts +20 -0
  159. package/sdk/settings.d.ts.map +1 -1
  160. package/sdk/settings.js +35 -0
  161. package/sdk/settings.js.map +1 -1
  162. package/src/funcs/accountAccountV1SettingsDeleteImages.ts +129 -0
  163. package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +111 -0
  164. package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +134 -0
  165. package/src/funcs/accountAccountV1SettingsUpdate.ts +4 -3
  166. package/src/funcs/accountAccountV1SettingsUpdateImage.ts +129 -0
  167. package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +129 -0
  168. package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +129 -0
  169. package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +111 -0
  170. package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +134 -0
  171. package/src/funcs/settingsAccountV1SettingsUpdate.ts +4 -3
  172. package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +129 -0
  173. package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +129 -0
  174. package/src/lib/config.ts +4 -4
  175. package/src/lib/security.ts +2 -2
  176. package/src/models/components/index.ts +11 -2
  177. package/src/models/components/item.ts +47 -0
  178. package/src/models/components/{v1resource.ts → resource.ts} +11 -11
  179. package/src/models/components/{v1role.ts → role.ts} +11 -11
  180. package/src/models/components/v1connectresponsebody.ts +0 -7
  181. package/src/models/components/v1deleteconnectionresponsebody.ts +0 -7
  182. package/src/models/components/v1deleteimagesrequestbody.ts +49 -0
  183. package/src/models/components/v1deleteimagesresponsebody.ts +61 -0
  184. package/src/models/components/v1deletesessionresponsebody.ts +0 -7
  185. package/src/models/components/v1generateapikeyresponsebody.ts +68 -0
  186. package/src/models/components/v1getsessionbody.ts +15 -15
  187. package/src/models/components/v1updateconnectionrequestbody.ts +4 -4
  188. package/src/models/components/v1updateconnectionresponsebody.ts +0 -7
  189. package/src/models/components/v1updateimagerequestbody.ts +55 -0
  190. package/src/models/components/v1updateimageresponsebody.ts +68 -0
  191. package/src/models/components/v1updatesettingsrequestbody.ts +137 -0
  192. package/src/models/components/v1updatesettingsresponsebody.ts +0 -7
  193. package/src/models/components/v1verifyconnectionresponsebody.ts +0 -7
  194. package/src/models/components/v1verifyemailrequestbody.ts +48 -0
  195. package/src/models/components/v1verifyemailresponsebody.ts +61 -0
  196. package/src/models/operations/accountv1settingssendemailverification.ts +58 -0
  197. package/src/models/operations/accountv1settingsupdate.ts +7 -0
  198. package/src/models/operations/index.ts +1 -0
  199. package/src/sdk/account.ts +54 -0
  200. package/src/sdk/sdk.ts +5 -5
  201. package/src/sdk/settings.ts +54 -0
  202. package/models/components/v1resource.d.ts +0 -30
  203. package/models/components/v1resource.d.ts.map +0 -1
  204. package/models/components/v1resource.js.map +0 -1
  205. package/models/components/v1role.d.ts +0 -40
  206. package/models/components/v1role.d.ts.map +0 -1
  207. package/models/components/v1role.js.map +0 -1
@@ -22,7 +22,7 @@ Connect a new Social Provider
22
22
  import { SteamSets } from "@steamsets/client-ts";
23
23
 
24
24
  const steamSets = new SteamSets({
25
- session: "<YOUR_API_KEY_HERE>",
25
+ session: "<YOUR_BEARER_TOKEN_HERE>",
26
26
  });
27
27
 
28
28
  async function run() {
@@ -50,7 +50,7 @@ import { connectionAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs
50
50
  // Use `SteamSetsCore` for best tree-shaking performance.
51
51
  // You can create one instance of it to use across an application.
52
52
  const steamSets = new SteamSetsCore({
53
- session: "<YOUR_API_KEY_HERE>",
53
+ session: "<YOUR_BEARER_TOKEN_HERE>",
54
54
  });
55
55
 
56
56
  async function run() {
@@ -102,7 +102,7 @@ Remove a connection
102
102
  import { SteamSets } from "@steamsets/client-ts";
103
103
 
104
104
  const steamSets = new SteamSets({
105
- session: "<YOUR_API_KEY_HERE>",
105
+ session: "<YOUR_BEARER_TOKEN_HERE>",
106
106
  });
107
107
 
108
108
  async function run() {
@@ -129,7 +129,7 @@ import { connectionAccountV1ConnectionDeleteConnection } from "@steamsets/client
129
129
  // Use `SteamSetsCore` for best tree-shaking performance.
130
130
  // You can create one instance of it to use across an application.
131
131
  const steamSets = new SteamSetsCore({
132
- session: "<YOUR_API_KEY_HERE>",
132
+ session: "<YOUR_BEARER_TOKEN_HERE>",
133
133
  });
134
134
 
135
135
  async function run() {
@@ -180,13 +180,13 @@ Make a connection visible/invisible
180
180
  import { SteamSets } from "@steamsets/client-ts";
181
181
 
182
182
  const steamSets = new SteamSets({
183
- session: "<YOUR_API_KEY_HERE>",
183
+ session: "<YOUR_BEARER_TOKEN_HERE>",
184
184
  });
185
185
 
186
186
  async function run() {
187
187
  const result = await steamSets.connection.accountV1ConnectionUpdateConnection({
188
188
  connectionId: "123456",
189
- hiddem: true,
189
+ hidden: true,
190
190
  });
191
191
 
192
192
  // Handle the result
@@ -208,13 +208,13 @@ import { connectionAccountV1ConnectionUpdateConnection } from "@steamsets/client
208
208
  // Use `SteamSetsCore` for best tree-shaking performance.
209
209
  // You can create one instance of it to use across an application.
210
210
  const steamSets = new SteamSetsCore({
211
- session: "<YOUR_API_KEY_HERE>",
211
+ session: "<YOUR_BEARER_TOKEN_HERE>",
212
212
  });
213
213
 
214
214
  async function run() {
215
215
  const res = await connectionAccountV1ConnectionUpdateConnection(steamSets, {
216
216
  connectionId: "123456",
217
- hiddem: true,
217
+ hidden: true,
218
218
  });
219
219
 
220
220
  if (!res.ok) {
@@ -260,7 +260,7 @@ Verify a domain connection only atm
260
260
  import { SteamSets } from "@steamsets/client-ts";
261
261
 
262
262
  const steamSets = new SteamSets({
263
- session: "<YOUR_API_KEY_HERE>",
263
+ session: "<YOUR_BEARER_TOKEN_HERE>",
264
264
  });
265
265
 
266
266
  async function run() {
@@ -287,7 +287,7 @@ import { connectionAccountV1ConnectionVerifyConnection } from "@steamsets/client
287
287
  // Use `SteamSetsCore` for best tree-shaking performance.
288
288
  // You can create one instance of it to use across an application.
289
289
  const steamSets = new SteamSetsCore({
290
- session: "<YOUR_API_KEY_HERE>",
290
+ session: "<YOUR_BEARER_TOKEN_HERE>",
291
291
  });
292
292
 
293
293
  async function run() {
@@ -19,7 +19,7 @@ This endpoint checks if the service is alive.
19
19
  import { SteamSets } from "@steamsets/client-ts";
20
20
 
21
21
  const steamSets = new SteamSets({
22
- session: "<YOUR_API_KEY_HERE>",
22
+ session: "<YOUR_BEARER_TOKEN_HERE>",
23
23
  });
24
24
 
25
25
  async function run() {
@@ -44,7 +44,7 @@ import { livenessLiveness } from "@steamsets/client-ts/funcs/livenessLiveness.js
44
44
  // Use `SteamSetsCore` for best tree-shaking performance.
45
45
  // You can create one instance of it to use across an application.
46
46
  const steamSets = new SteamSetsCore({
47
- session: "<YOUR_API_KEY_HERE>",
47
+ session: "<YOUR_BEARER_TOKEN_HERE>",
48
48
  });
49
49
 
50
50
  async function run() {
@@ -17,7 +17,7 @@ Deletes a session, can also be used to logout
17
17
  import { SteamSets } from "@steamsets/client-ts";
18
18
 
19
19
  const steamSets = new SteamSets({
20
- session: "<YOUR_API_KEY_HERE>",
20
+ session: "<YOUR_BEARER_TOKEN_HERE>",
21
21
  });
22
22
 
23
23
  async function run() {
@@ -44,7 +44,7 @@ import { sessionAccountV1SessionDelete } from "@steamsets/client-ts/funcs/sessio
44
44
  // Use `SteamSetsCore` for best tree-shaking performance.
45
45
  // You can create one instance of it to use across an application.
46
46
  const steamSets = new SteamSetsCore({
47
- session: "<YOUR_API_KEY_HERE>",
47
+ session: "<YOUR_BEARER_TOKEN_HERE>",
48
48
  });
49
49
 
50
50
  async function run() {
@@ -95,7 +95,7 @@ Gets all session data
95
95
  import { SteamSets } from "@steamsets/client-ts";
96
96
 
97
97
  const steamSets = new SteamSets({
98
- session: "<YOUR_API_KEY_HERE>",
98
+ session: "<YOUR_BEARER_TOKEN_HERE>",
99
99
  });
100
100
 
101
101
  async function run() {
@@ -120,7 +120,7 @@ import { sessionAccountV1SessionGet } from "@steamsets/client-ts/funcs/sessionAc
120
120
  // Use `SteamSetsCore` for best tree-shaking performance.
121
121
  // You can create one instance of it to use across an application.
122
122
  const steamSets = new SteamSetsCore({
123
- session: "<YOUR_API_KEY_HERE>",
123
+ session: "<YOUR_BEARER_TOKEN_HERE>",
124
124
  });
125
125
 
126
126
  async function run() {
@@ -168,7 +168,7 @@ Logs a user in and creates a new session
168
168
  import { SteamSets } from "@steamsets/client-ts";
169
169
 
170
170
  const steamSets = new SteamSets({
171
- session: "<YOUR_API_KEY_HERE>",
171
+ session: "<YOUR_BEARER_TOKEN_HERE>",
172
172
  });
173
173
 
174
174
  async function run() {
@@ -206,7 +206,7 @@ import { sessionAccountV1SessionLogin } from "@steamsets/client-ts/funcs/session
206
206
  // Use `SteamSetsCore` for best tree-shaking performance.
207
207
  // You can create one instance of it to use across an application.
208
208
  const steamSets = new SteamSetsCore({
209
- session: "<YOUR_API_KEY_HERE>",
209
+ session: "<YOUR_BEARER_TOKEN_HERE>",
210
210
  });
211
211
 
212
212
  async function run() {
@@ -3,8 +3,174 @@
3
3
 
4
4
  ### Available Operations
5
5
 
6
+ * [accountV1SettingsDeleteImages](#accountv1settingsdeleteimages) - Delete mulitple imagest
7
+ * [accountV1SettingsGenerateApiKey](#accountv1settingsgenerateapikey) - Generate a new API key for the account
6
8
  * [accountV1SettingsGet](#accountv1settingsget) - Gets all settings for the account
9
+ * [accountV1SettingsSendEmailVerification](#accountv1settingssendemailverification) - Resend the verification code for an email
10
+ * [accountV1SettingsUpdateImage](#accountv1settingsupdateimage) - Update one of the uploaded images
7
11
  * [accountV1SettingsUpdate](#accountv1settingsupdate) - Update settings for the logged in account
12
+ * [accountV1SettingsVerfyEmail](#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
13
+
14
+ ## accountV1SettingsDeleteImages
15
+
16
+ Delete mulitple imagest
17
+
18
+ ### Example Usage
19
+
20
+ ```typescript
21
+ import { SteamSets } from "@steamsets/client-ts";
22
+
23
+ const steamSets = new SteamSets({
24
+ session: "<YOUR_BEARER_TOKEN_HERE>",
25
+ });
26
+
27
+ async function run() {
28
+ const result = await steamSets.settings.accountV1SettingsDeleteImages({
29
+ images: [
30
+ {
31
+ fileId: "123456",
32
+ imageId: "123456",
33
+ },
34
+ ],
35
+ });
36
+
37
+ // Handle the result
38
+ console.log(result)
39
+ }
40
+
41
+ run();
42
+ ```
43
+
44
+
45
+ ### Standalone function
46
+
47
+ The standalone function version of this method:
48
+
49
+ ```typescript
50
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
51
+ import { settingsAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsDeleteImages.js";
52
+
53
+ // Use `SteamSetsCore` for best tree-shaking performance.
54
+ // You can create one instance of it to use across an application.
55
+ const steamSets = new SteamSetsCore({
56
+ session: "<YOUR_BEARER_TOKEN_HERE>",
57
+ });
58
+
59
+ async function run() {
60
+ const res = await settingsAccountV1SettingsDeleteImages(steamSets, {
61
+ images: [
62
+ {
63
+ fileId: "123456",
64
+ imageId: "123456",
65
+ },
66
+ ],
67
+ });
68
+
69
+ if (!res.ok) {
70
+ throw res.error;
71
+ }
72
+
73
+ const { value: result } = res;
74
+
75
+ // Handle the result
76
+ console.log(result)
77
+ }
78
+
79
+ run();
80
+ ```
81
+
82
+ ### Parameters
83
+
84
+ | Parameter | Type | Required | Description |
85
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
86
+ | `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
87
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
88
+ | `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. |
89
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
90
+
91
+
92
+ ### Response
93
+
94
+ **Promise\<[components.V1DeleteImagesResponseBody](../../models/components/v1deleteimagesresponsebody.md)\>**
95
+ ### Errors
96
+
97
+ | Error Object | Status Code | Content Type |
98
+ | ------------------------ | ------------------------ | ------------------------ |
99
+ | errors.ErrorModel | 404,422,500 | application/problem+json |
100
+ | errors.SDKError | 4xx-5xx | */* |
101
+
102
+ ## accountV1SettingsGenerateApiKey
103
+
104
+ Generate a new API key for the account
105
+
106
+ ### Example Usage
107
+
108
+ ```typescript
109
+ import { SteamSets } from "@steamsets/client-ts";
110
+
111
+ const steamSets = new SteamSets({
112
+ session: "<YOUR_BEARER_TOKEN_HERE>",
113
+ });
114
+
115
+ async function run() {
116
+ const result = await steamSets.settings.accountV1SettingsGenerateApiKey();
117
+
118
+ // Handle the result
119
+ console.log(result)
120
+ }
121
+
122
+ run();
123
+ ```
124
+
125
+
126
+ ### Standalone function
127
+
128
+ The standalone function version of this method:
129
+
130
+ ```typescript
131
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
132
+ import { settingsAccountV1SettingsGenerateApiKey } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsGenerateApiKey.js";
133
+
134
+ // Use `SteamSetsCore` for best tree-shaking performance.
135
+ // You can create one instance of it to use across an application.
136
+ const steamSets = new SteamSetsCore({
137
+ session: "<YOUR_BEARER_TOKEN_HERE>",
138
+ });
139
+
140
+ async function run() {
141
+ const res = await settingsAccountV1SettingsGenerateApiKey(steamSets);
142
+
143
+ if (!res.ok) {
144
+ throw res.error;
145
+ }
146
+
147
+ const { value: result } = res;
148
+
149
+ // Handle the result
150
+ console.log(result)
151
+ }
152
+
153
+ run();
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ | Parameter | Type | Required | Description |
159
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
160
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
161
+ | `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. |
162
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
163
+
164
+
165
+ ### Response
166
+
167
+ **Promise\<[components.V1GenerateApiKeyResponseBody](../../models/components/v1generateapikeyresponsebody.md)\>**
168
+ ### Errors
169
+
170
+ | Error Object | Status Code | Content Type |
171
+ | ------------------------ | ------------------------ | ------------------------ |
172
+ | errors.ErrorModel | 404,429,500 | application/problem+json |
173
+ | errors.SDKError | 4xx-5xx | */* |
8
174
 
9
175
  ## accountV1SettingsGet
10
176
 
@@ -16,7 +182,7 @@ Gets all settings for the account
16
182
  import { SteamSets } from "@steamsets/client-ts";
17
183
 
18
184
  const steamSets = new SteamSets({
19
- session: "<YOUR_API_KEY_HERE>",
185
+ session: "<YOUR_BEARER_TOKEN_HERE>",
20
186
  });
21
187
 
22
188
  async function run() {
@@ -41,7 +207,7 @@ import { settingsAccountV1SettingsGet } from "@steamsets/client-ts/funcs/setting
41
207
  // Use `SteamSetsCore` for best tree-shaking performance.
42
208
  // You can create one instance of it to use across an application.
43
209
  const steamSets = new SteamSetsCore({
44
- session: "<YOUR_API_KEY_HERE>",
210
+ session: "<YOUR_BEARER_TOKEN_HERE>",
45
211
  });
46
212
 
47
213
  async function run() {
@@ -79,6 +245,158 @@ run();
79
245
  | errors.ErrorModel | 500 | application/problem+json |
80
246
  | errors.SDKError | 4xx-5xx | */* |
81
247
 
248
+ ## accountV1SettingsSendEmailVerification
249
+
250
+ Resend the verification code for an email
251
+
252
+ ### Example Usage
253
+
254
+ ```typescript
255
+ import { SteamSets } from "@steamsets/client-ts";
256
+
257
+ const steamSets = new SteamSets({
258
+ session: "<YOUR_BEARER_TOKEN_HERE>",
259
+ });
260
+
261
+ async function run() {
262
+ await steamSets.settings.accountV1SettingsSendEmailVerification({});
263
+
264
+
265
+ }
266
+
267
+ run();
268
+ ```
269
+
270
+
271
+ ### Standalone function
272
+
273
+ The standalone function version of this method:
274
+
275
+ ```typescript
276
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
277
+ import { settingsAccountV1SettingsSendEmailVerification } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsSendEmailVerification.js";
278
+
279
+ // Use `SteamSetsCore` for best tree-shaking performance.
280
+ // You can create one instance of it to use across an application.
281
+ const steamSets = new SteamSetsCore({
282
+ session: "<YOUR_BEARER_TOKEN_HERE>",
283
+ });
284
+
285
+ async function run() {
286
+ const res = await settingsAccountV1SettingsSendEmailVerification(steamSets, {});
287
+
288
+ if (!res.ok) {
289
+ throw res.error;
290
+ }
291
+
292
+ const { value: result } = res;
293
+
294
+
295
+ }
296
+
297
+ run();
298
+ ```
299
+
300
+ ### Parameters
301
+
302
+ | Parameter | Type | Required | Description |
303
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
304
+ | `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
305
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
306
+ | `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. |
307
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
308
+
309
+
310
+ ### Response
311
+
312
+ **Promise\<void\>**
313
+ ### Errors
314
+
315
+ | Error Object | Status Code | Content Type |
316
+ | ------------------------ | ------------------------ | ------------------------ |
317
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
318
+ | errors.SDKError | 4xx-5xx | */* |
319
+
320
+ ## accountV1SettingsUpdateImage
321
+
322
+ Update one of the uploaded images
323
+
324
+ ### Example Usage
325
+
326
+ ```typescript
327
+ import { SteamSets } from "@steamsets/client-ts";
328
+
329
+ const steamSets = new SteamSets({
330
+ session: "<YOUR_BEARER_TOKEN_HERE>",
331
+ });
332
+
333
+ async function run() {
334
+ const result = await steamSets.settings.accountV1SettingsUpdateImage({
335
+ active: true,
336
+ imageId: "123456",
337
+ });
338
+
339
+ // Handle the result
340
+ console.log(result)
341
+ }
342
+
343
+ run();
344
+ ```
345
+
346
+
347
+ ### Standalone function
348
+
349
+ The standalone function version of this method:
350
+
351
+ ```typescript
352
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
353
+ import { settingsAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsUpdateImage.js";
354
+
355
+ // Use `SteamSetsCore` for best tree-shaking performance.
356
+ // You can create one instance of it to use across an application.
357
+ const steamSets = new SteamSetsCore({
358
+ session: "<YOUR_BEARER_TOKEN_HERE>",
359
+ });
360
+
361
+ async function run() {
362
+ const res = await settingsAccountV1SettingsUpdateImage(steamSets, {
363
+ active: true,
364
+ imageId: "123456",
365
+ });
366
+
367
+ if (!res.ok) {
368
+ throw res.error;
369
+ }
370
+
371
+ const { value: result } = res;
372
+
373
+ // Handle the result
374
+ console.log(result)
375
+ }
376
+
377
+ run();
378
+ ```
379
+
380
+ ### Parameters
381
+
382
+ | Parameter | Type | Required | Description |
383
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
384
+ | `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
385
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
386
+ | `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. |
387
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
388
+
389
+
390
+ ### Response
391
+
392
+ **Promise\<[components.V1UpdateImageResponseBody](../../models/components/v1updateimageresponsebody.md)\>**
393
+ ### Errors
394
+
395
+ | Error Object | Status Code | Content Type |
396
+ | ------------------------ | ------------------------ | ------------------------ |
397
+ | errors.ErrorModel | 404,422,500 | application/problem+json |
398
+ | errors.SDKError | 4xx-5xx | */* |
399
+
82
400
  ## accountV1SettingsUpdate
83
401
 
84
402
  Update settings for the logged in account
@@ -89,11 +407,27 @@ Update settings for the logged in account
89
407
  import { SteamSets } from "@steamsets/client-ts";
90
408
 
91
409
  const steamSets = new SteamSets({
92
- session: "<YOUR_API_KEY_HERE>",
410
+ session: "<YOUR_BEARER_TOKEN_HERE>",
93
411
  });
94
412
 
95
413
  async function run() {
96
- const result = await steamSets.settings.accountV1SettingsUpdate({});
414
+ const result = await steamSets.settings.accountV1SettingsUpdate({
415
+ v1UpdateSettingsRequestBody: {
416
+ color: "#7652c9",
417
+ colors: "#7652c9",
418
+ email: "steamsets@example.com",
419
+ emailNotifications: [
420
+ {
421
+ enabled: true,
422
+ type: "login",
423
+ },
424
+ ],
425
+ hidden: true,
426
+ language: "en",
427
+ theme: "dark",
428
+ vanity: "flo",
429
+ },
430
+ });
97
431
 
98
432
  // Handle the result
99
433
  console.log(result)
@@ -114,11 +448,27 @@ import { settingsAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/sett
114
448
  // Use `SteamSetsCore` for best tree-shaking performance.
115
449
  // You can create one instance of it to use across an application.
116
450
  const steamSets = new SteamSetsCore({
117
- session: "<YOUR_API_KEY_HERE>",
451
+ session: "<YOUR_BEARER_TOKEN_HERE>",
118
452
  });
119
453
 
120
454
  async function run() {
121
- const res = await settingsAccountV1SettingsUpdate(steamSets, {});
455
+ const res = await settingsAccountV1SettingsUpdate(steamSets, {
456
+ v1UpdateSettingsRequestBody: {
457
+ color: "#7652c9",
458
+ colors: "#7652c9",
459
+ email: "steamsets@example.com",
460
+ emailNotifications: [
461
+ {
462
+ enabled: true,
463
+ type: "login",
464
+ },
465
+ ],
466
+ hidden: true,
467
+ language: "en",
468
+ theme: "dark",
469
+ vanity: "flo",
470
+ },
471
+ });
122
472
 
123
473
  if (!res.ok) {
124
474
  throw res.error;
@@ -152,3 +502,81 @@ run();
152
502
  | ------------------------ | ------------------------ | ------------------------ |
153
503
  | errors.ErrorModel | 422,429,500 | application/problem+json |
154
504
  | errors.SDKError | 4xx-5xx | */* |
505
+
506
+ ## accountV1SettingsVerfyEmail
507
+
508
+ Verify the email by passing in the code the user should've gotten
509
+
510
+ ### Example Usage
511
+
512
+ ```typescript
513
+ import { SteamSets } from "@steamsets/client-ts";
514
+
515
+ const steamSets = new SteamSets({
516
+ session: "<YOUR_BEARER_TOKEN_HERE>",
517
+ });
518
+
519
+ async function run() {
520
+ const result = await steamSets.settings.accountV1SettingsVerfyEmail({
521
+ code: "123456",
522
+ });
523
+
524
+ // Handle the result
525
+ console.log(result)
526
+ }
527
+
528
+ run();
529
+ ```
530
+
531
+
532
+ ### Standalone function
533
+
534
+ The standalone function version of this method:
535
+
536
+ ```typescript
537
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
538
+ import { settingsAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsVerfyEmail.js";
539
+
540
+ // Use `SteamSetsCore` for best tree-shaking performance.
541
+ // You can create one instance of it to use across an application.
542
+ const steamSets = new SteamSetsCore({
543
+ session: "<YOUR_BEARER_TOKEN_HERE>",
544
+ });
545
+
546
+ async function run() {
547
+ const res = await settingsAccountV1SettingsVerfyEmail(steamSets, {
548
+ code: "123456",
549
+ });
550
+
551
+ if (!res.ok) {
552
+ throw res.error;
553
+ }
554
+
555
+ const { value: result } = res;
556
+
557
+ // Handle the result
558
+ console.log(result)
559
+ }
560
+
561
+ run();
562
+ ```
563
+
564
+ ### Parameters
565
+
566
+ | Parameter | Type | Required | Description |
567
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
568
+ | `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
569
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
570
+ | `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. |
571
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
572
+
573
+
574
+ ### Response
575
+
576
+ **Promise\<[components.V1VerifyEmailResponseBody](../../models/components/v1verifyemailresponsebody.md)\>**
577
+ ### Errors
578
+
579
+ | Error Object | Status Code | Content Type |
580
+ | ------------------------ | ------------------------ | ------------------------ |
581
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
582
+ | errors.SDKError | 4xx-5xx | */* |