@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.
- package/README.md +42 -19
- package/docs/sdks/account/README.md +454 -26
- package/docs/sdks/connection/README.md +10 -10
- package/docs/sdks/liveness/README.md +2 -2
- package/docs/sdks/session/README.md +6 -6
- package/docs/sdks/settings/README.md +434 -6
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +13 -0
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsDeleteImages.js +95 -0
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -0
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +13 -0
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsGenerateApiKey.js +84 -0
- package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -0
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +13 -0
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsSendEmailVerification.js +99 -0
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -0
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.js +3 -2
- package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +13 -0
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsUpdateImage.js +95 -0
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -0
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +13 -0
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsVerfyEmail.js +95 -0
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -0
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +13 -0
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsDeleteImages.js +95 -0
- package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -0
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +13 -0
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js +84 -0
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -0
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +13 -0
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js +99 -0
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -0
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +3 -2
- package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +13 -0
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsUpdateImage.js +95 -0
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -0
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +13 -0
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsVerfyEmail.js +95 -0
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -0
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/security.js +2 -2
- package/lib/security.js.map +1 -1
- package/models/components/index.d.ts +11 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +11 -2
- package/models/components/index.js.map +1 -1
- package/models/components/item.d.ts +33 -0
- package/models/components/item.d.ts.map +1 -0
- package/models/components/item.js +52 -0
- package/models/components/item.js.map +1 -0
- package/models/components/resource.d.ts +30 -0
- package/models/components/resource.d.ts.map +1 -0
- package/models/components/{v1resource.js → resource.js} +11 -11
- package/models/components/resource.js.map +1 -0
- package/models/components/role.d.ts +40 -0
- package/models/components/role.d.ts.map +1 -0
- package/models/components/{v1role.js → role.js} +11 -11
- package/models/components/role.js.map +1 -0
- package/models/components/v1connectresponsebody.d.ts +0 -5
- package/models/components/v1connectresponsebody.d.ts.map +1 -1
- package/models/components/v1connectresponsebody.js +0 -2
- package/models/components/v1connectresponsebody.js.map +1 -1
- package/models/components/v1deleteconnectionresponsebody.d.ts +0 -5
- package/models/components/v1deleteconnectionresponsebody.d.ts.map +1 -1
- package/models/components/v1deleteconnectionresponsebody.js +0 -2
- package/models/components/v1deleteconnectionresponsebody.js.map +1 -1
- package/models/components/v1deleteimagesrequestbody.d.ts +29 -0
- package/models/components/v1deleteimagesrequestbody.d.ts.map +1 -0
- package/models/components/v1deleteimagesrequestbody.js +51 -0
- package/models/components/v1deleteimagesrequestbody.js.map +1 -0
- package/models/components/v1deleteimagesresponsebody.d.ts +28 -0
- package/models/components/v1deleteimagesresponsebody.d.ts.map +1 -0
- package/models/components/v1deleteimagesresponsebody.js +63 -0
- package/models/components/v1deleteimagesresponsebody.js.map +1 -0
- package/models/components/v1deletesessionresponsebody.d.ts +0 -5
- package/models/components/v1deletesessionresponsebody.d.ts.map +1 -1
- package/models/components/v1deletesessionresponsebody.js +0 -2
- package/models/components/v1deletesessionresponsebody.js.map +1 -1
- package/models/components/v1generateapikeyresponsebody.d.ts +33 -0
- package/models/components/v1generateapikeyresponsebody.d.ts.map +1 -0
- package/models/components/v1generateapikeyresponsebody.js +65 -0
- package/models/components/v1generateapikeyresponsebody.js.map +1 -0
- package/models/components/v1getsessionbody.d.ts +6 -6
- package/models/components/v1getsessionbody.d.ts.map +1 -1
- package/models/components/v1getsessionbody.js +6 -6
- package/models/components/v1getsessionbody.js.map +1 -1
- package/models/components/v1updateconnectionrequestbody.d.ts +2 -2
- package/models/components/v1updateconnectionrequestbody.js +2 -2
- package/models/components/v1updateconnectionresponsebody.d.ts +0 -5
- package/models/components/v1updateconnectionresponsebody.d.ts.map +1 -1
- package/models/components/v1updateconnectionresponsebody.js +0 -2
- package/models/components/v1updateconnectionresponsebody.js.map +1 -1
- package/models/components/v1updateimagerequestbody.d.ts +33 -0
- package/models/components/v1updateimagerequestbody.d.ts.map +1 -0
- package/models/components/v1updateimagerequestbody.js +52 -0
- package/models/components/v1updateimagerequestbody.js.map +1 -0
- package/models/components/v1updateimageresponsebody.d.ts +33 -0
- package/models/components/v1updateimageresponsebody.d.ts.map +1 -0
- package/models/components/v1updateimageresponsebody.js +65 -0
- package/models/components/v1updateimageresponsebody.js.map +1 -0
- package/models/components/v1updatesettingsrequestbody.d.ts +96 -0
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -0
- package/models/components/v1updatesettingsrequestbody.js +87 -0
- package/models/components/v1updatesettingsrequestbody.js.map +1 -0
- package/models/components/v1updatesettingsresponsebody.d.ts +0 -5
- package/models/components/v1updatesettingsresponsebody.d.ts.map +1 -1
- package/models/components/v1updatesettingsresponsebody.js +0 -2
- package/models/components/v1updatesettingsresponsebody.js.map +1 -1
- package/models/components/v1verifyconnectionresponsebody.d.ts +0 -5
- package/models/components/v1verifyconnectionresponsebody.d.ts.map +1 -1
- package/models/components/v1verifyconnectionresponsebody.js +0 -2
- package/models/components/v1verifyconnectionresponsebody.js.map +1 -1
- package/models/components/v1verifyemailrequestbody.d.ts +28 -0
- package/models/components/v1verifyemailrequestbody.d.ts.map +1 -0
- package/models/components/v1verifyemailrequestbody.js +50 -0
- package/models/components/v1verifyemailrequestbody.js.map +1 -0
- package/models/components/v1verifyemailresponsebody.d.ts +28 -0
- package/models/components/v1verifyemailresponsebody.d.ts.map +1 -0
- package/models/components/v1verifyemailresponsebody.js +63 -0
- package/models/components/v1verifyemailresponsebody.js.map +1 -0
- package/models/operations/accountv1settingssendemailverification.d.ts +25 -0
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -0
- package/models/operations/accountv1settingssendemailverification.js +63 -0
- package/models/operations/accountv1settingssendemailverification.js.map +1 -0
- package/models/operations/accountv1settingsupdate.d.ts +3 -0
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +5 -0
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +20 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +35 -0
- package/sdk/account.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -4
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +20 -0
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +35 -0
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +129 -0
- package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +111 -0
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +134 -0
- package/src/funcs/accountAccountV1SettingsUpdate.ts +4 -3
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +129 -0
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +129 -0
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +129 -0
- package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +111 -0
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +134 -0
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +4 -3
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +129 -0
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +129 -0
- package/src/lib/config.ts +4 -4
- package/src/lib/security.ts +2 -2
- package/src/models/components/index.ts +11 -2
- package/src/models/components/item.ts +47 -0
- package/src/models/components/{v1resource.ts → resource.ts} +11 -11
- package/src/models/components/{v1role.ts → role.ts} +11 -11
- package/src/models/components/v1connectresponsebody.ts +0 -7
- package/src/models/components/v1deleteconnectionresponsebody.ts +0 -7
- package/src/models/components/v1deleteimagesrequestbody.ts +49 -0
- package/src/models/components/v1deleteimagesresponsebody.ts +61 -0
- package/src/models/components/v1deletesessionresponsebody.ts +0 -7
- package/src/models/components/v1generateapikeyresponsebody.ts +68 -0
- package/src/models/components/v1getsessionbody.ts +15 -15
- package/src/models/components/v1updateconnectionrequestbody.ts +4 -4
- package/src/models/components/v1updateconnectionresponsebody.ts +0 -7
- package/src/models/components/v1updateimagerequestbody.ts +55 -0
- package/src/models/components/v1updateimageresponsebody.ts +68 -0
- package/src/models/components/v1updatesettingsrequestbody.ts +137 -0
- package/src/models/components/v1updatesettingsresponsebody.ts +0 -7
- package/src/models/components/v1verifyconnectionresponsebody.ts +0 -7
- package/src/models/components/v1verifyemailrequestbody.ts +48 -0
- package/src/models/components/v1verifyemailresponsebody.ts +61 -0
- package/src/models/operations/accountv1settingssendemailverification.ts +58 -0
- package/src/models/operations/accountv1settingsupdate.ts +7 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/account.ts +54 -0
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/settings.ts +54 -0
- package/models/components/v1resource.d.ts +0 -30
- package/models/components/v1resource.d.ts.map +0 -1
- package/models/components/v1resource.js.map +0 -1
- package/models/components/v1role.d.ts +0 -40
- package/models/components/v1role.d.ts.map +0 -1
- 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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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
|
-
|
|
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: "<
|
|
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
|
-
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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: "<
|
|
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 | */* |
|