@steamsets/client-ts 0.14.28 → 0.15.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/FUNCTIONS.md +4 -4
- package/README.md +83 -30
- package/docs/sdks/account/README.md +254 -98
- package/docs/sdks/internal/README.md +224 -68
- package/docs/sdks/settings/README.md +197 -41
- package/docs/sdks/steamsets/README.md +78 -0
- package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts +10 -0
- package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts.map +1 -0
- package/funcs/{settingsSendEmailVerification.js → accountAccountV1SettingsEmailSendVerification.js} +7 -7
- package/funcs/accountAccountV1SettingsEmailSendVerification.js.map +1 -0
- package/funcs/{accountSendEmailVerification.d.ts → accountAccountV1SettingsEmailSubscribe.d.ts} +2 -2
- package/funcs/accountAccountV1SettingsEmailSubscribe.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsEmailSubscribe.js +113 -0
- package/funcs/accountAccountV1SettingsEmailSubscribe.js.map +1 -0
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts +11 -0
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts.map +1 -0
- package/funcs/{accountVerifyEmail.js → accountAccountV1SettingsEmailVerify.js} +6 -6
- package/funcs/accountAccountV1SettingsEmailVerify.js.map +1 -0
- package/funcs/{accountVerifyEmail.d.ts → accountAccountV1SettingsUpdateRole.d.ts} +2 -2
- package/funcs/accountAccountV1SettingsUpdateRole.d.ts.map +1 -0
- package/funcs/accountAccountV1SettingsUpdateRole.js +113 -0
- package/funcs/accountAccountV1SettingsUpdateRole.js.map +1 -0
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts +10 -0
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts.map +1 -0
- package/funcs/{internalSendEmailVerification.js → internalAccountV1SettingsEmailSendVerification.js} +7 -7
- package/funcs/internalAccountV1SettingsEmailSendVerification.js.map +1 -0
- package/funcs/{internalSendEmailVerification.d.ts → internalAccountV1SettingsEmailSubscribe.d.ts} +2 -2
- package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts.map +1 -0
- package/funcs/internalAccountV1SettingsEmailSubscribe.js +113 -0
- package/funcs/internalAccountV1SettingsEmailSubscribe.js.map +1 -0
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts +11 -0
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts.map +1 -0
- package/funcs/{settingsVerifyEmail.js → internalAccountV1SettingsEmailVerify.js} +6 -6
- package/funcs/internalAccountV1SettingsEmailVerify.js.map +1 -0
- package/funcs/{internalVerifyEmail.d.ts → internalAccountV1SettingsUpdateRole.d.ts} +2 -2
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts.map +1 -0
- package/funcs/internalAccountV1SettingsUpdateRole.js +113 -0
- package/funcs/internalAccountV1SettingsUpdateRole.js.map +1 -0
- package/funcs/{settingsVerifyEmail.d.ts → resendWebhook.d.ts} +2 -4
- package/funcs/resendWebhook.d.ts.map +1 -0
- package/funcs/resendWebhook.js +114 -0
- package/funcs/resendWebhook.js.map +1 -0
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts +10 -0
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts.map +1 -0
- package/funcs/{accountSendEmailVerification.js → settingsAccountV1SettingsEmailSendVerification.js} +7 -7
- package/funcs/settingsAccountV1SettingsEmailSendVerification.js.map +1 -0
- package/funcs/{settingsSendEmailVerification.d.ts → settingsAccountV1SettingsEmailSubscribe.d.ts} +2 -2
- package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js +113 -0
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js.map +1 -0
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts +11 -0
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts.map +1 -0
- package/funcs/{internalVerifyEmail.js → settingsAccountV1SettingsEmailVerify.js} +6 -6
- package/funcs/settingsAccountV1SettingsEmailVerify.js.map +1 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts +11 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts.map +1 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.js +113 -0
- package/funcs/settingsAccountV1SettingsUpdateRole.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/errormodel.d.ts +63 -0
- package/models/components/errormodel.d.ts.map +1 -0
- package/models/components/errormodel.js +81 -0
- package/models/components/errormodel.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1accountinforesponsebody.d.ts +8 -0
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountinforesponsebody.js +3 -0
- package/models/components/v1accountinforesponsebody.js.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.d.ts +37 -0
- package/models/components/v1emailsubscriptionrequestbody.d.ts.map +1 -0
- package/models/components/v1emailsubscriptionrequestbody.js +61 -0
- package/models/components/v1emailsubscriptionrequestbody.js.map +1 -0
- package/models/components/v1getsettingsbody.d.ts +5 -0
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +2 -0
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/components/v1updaterolerequestbody.d.ts +76 -0
- package/models/components/v1updaterolerequestbody.d.ts.map +1 -0
- package/models/components/v1updaterolerequestbody.js +85 -0
- package/models/components/v1updaterolerequestbody.js.map +1 -0
- package/models/components/v1updatesettingsrequestbody.d.ts +0 -49
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +1 -29
- package/models/components/v1updatesettingsrequestbody.js.map +1 -1
- package/models/operations/accountv1settingsemailsendverification.d.ts +61 -0
- package/models/operations/{accountv1settingssendemailverification.d.ts.map → accountv1settingsemailsendverification.d.ts.map} +1 -1
- package/models/operations/accountv1settingsemailsendverification.js +108 -0
- package/models/operations/{accountv1settingssendemailverification.js.map → accountv1settingsemailsendverification.js.map} +1 -1
- package/models/operations/accountv1settingsemailsubscribe.d.ts +63 -0
- package/models/operations/accountv1settingsemailsubscribe.d.ts.map +1 -0
- package/models/operations/accountv1settingsemailsubscribe.js +112 -0
- package/models/operations/accountv1settingsemailsubscribe.js.map +1 -0
- package/models/operations/accountv1settingsemailverify.d.ts +36 -0
- package/models/operations/accountv1settingsemailverify.d.ts.map +1 -0
- package/models/operations/accountv1settingsemailverify.js +73 -0
- package/models/operations/accountv1settingsemailverify.js.map +1 -0
- package/models/operations/accountv1settingsupdaterole.d.ts +36 -0
- package/models/operations/{accountv1settingsverfyemail.d.ts.map → accountv1settingsupdaterole.d.ts.map} +1 -1
- package/models/operations/{accountv1settingsverfyemail.js → accountv1settingsupdaterole.js} +17 -17
- package/models/operations/{accountv1settingsverfyemail.js.map → accountv1settingsupdaterole.js.map} +1 -1
- package/models/operations/index.d.ts +5 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/resendwebhook.d.ts +66 -0
- package/models/operations/resendwebhook.d.ts.map +1 -0
- package/models/operations/resendwebhook.js +130 -0
- package/models/operations/resendwebhook.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +4 -2
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +16 -8
- package/sdk/account.js.map +1 -1
- package/sdk/internal.d.ts +4 -2
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +16 -8
- package/sdk/internal.js.map +1 -1
- package/sdk/sdk.d.ts +5 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +4 -2
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +15 -7
- package/sdk/settings.js.map +1 -1
- package/src/funcs/{internalSendEmailVerification.ts → accountAccountV1SettingsEmailSendVerification.ts} +8 -8
- package/src/funcs/accountAccountV1SettingsEmailSubscribe.ts +160 -0
- package/src/funcs/{settingsVerifyEmail.ts → accountAccountV1SettingsEmailVerify.ts} +6 -6
- package/src/funcs/accountAccountV1SettingsUpdateRole.ts +149 -0
- package/src/funcs/{accountSendEmailVerification.ts → internalAccountV1SettingsEmailSendVerification.ts} +8 -8
- package/src/funcs/internalAccountV1SettingsEmailSubscribe.ts +160 -0
- package/src/funcs/{internalVerifyEmail.ts → internalAccountV1SettingsEmailVerify.ts} +6 -6
- package/src/funcs/internalAccountV1SettingsUpdateRole.ts +149 -0
- package/src/funcs/resendWebhook.ts +153 -0
- package/src/funcs/{settingsSendEmailVerification.ts → settingsAccountV1SettingsEmailSendVerification.ts} +8 -8
- package/src/funcs/settingsAccountV1SettingsEmailSubscribe.ts +160 -0
- package/src/funcs/{accountVerifyEmail.ts → settingsAccountV1SettingsEmailVerify.ts} +6 -6
- package/src/funcs/settingsAccountV1SettingsUpdateRole.ts +149 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/errormodel.ts +122 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/v1accountinforesponsebody.ts +10 -0
- package/src/models/components/v1emailsubscriptionrequestbody.ts +78 -0
- package/src/models/components/v1getsettingsbody.ts +7 -0
- package/src/models/components/v1updaterolerequestbody.ts +109 -0
- package/src/models/components/v1updatesettingsrequestbody.ts +0 -47
- package/src/models/operations/{accountv1settingssendemailverification.ts → accountv1settingsemailsendverification.ts} +46 -46
- package/src/models/operations/accountv1settingsemailsubscribe.ts +174 -0
- package/src/models/operations/accountv1settingsemailverify.ts +87 -0
- package/src/models/operations/{accountv1settingsverfyemail.ts → accountv1settingsupdaterole.ts} +22 -22
- package/src/models/operations/index.ts +5 -2
- package/src/models/operations/resendwebhook.ts +179 -0
- package/src/sdk/account.ts +45 -21
- package/src/sdk/internal.ts +45 -21
- package/src/sdk/sdk.ts +20 -6
- package/src/sdk/settings.ts +41 -17
- package/funcs/accountSendEmailVerification.d.ts.map +0 -1
- package/funcs/accountSendEmailVerification.js.map +0 -1
- package/funcs/accountVerifyEmail.d.ts.map +0 -1
- package/funcs/accountVerifyEmail.js.map +0 -1
- package/funcs/internalSendEmailVerification.d.ts.map +0 -1
- package/funcs/internalSendEmailVerification.js.map +0 -1
- package/funcs/internalVerifyEmail.d.ts.map +0 -1
- package/funcs/internalVerifyEmail.js.map +0 -1
- package/funcs/settingsSendEmailVerification.d.ts.map +0 -1
- package/funcs/settingsSendEmailVerification.js.map +0 -1
- package/funcs/settingsVerifyEmail.d.ts.map +0 -1
- package/funcs/settingsVerifyEmail.js.map +0 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +0 -61
- package/models/operations/accountv1settingssendemailverification.js +0 -108
- package/models/operations/accountv1settingsverfyemail.d.ts +0 -36
|
@@ -11,6 +11,9 @@ All Requests related to account(s) are grouped here.
|
|
|
11
11
|
* [deleteDeveloperApp](#deletedeveloperapp)
|
|
12
12
|
* [deleteImages](#deleteimages)
|
|
13
13
|
* [updateApp](#updateapp)
|
|
14
|
+
* [accountV1SettingsEmailSendVerification](#accountv1settingsemailsendverification)
|
|
15
|
+
* [accountV1SettingsEmailSubscribe](#accountv1settingsemailsubscribe)
|
|
16
|
+
* [accountV1SettingsEmailVerify](#accountv1settingsemailverify)
|
|
14
17
|
* [getApps](#getapps)
|
|
15
18
|
* [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
|
|
16
19
|
* [getBadges](#getbadges)
|
|
@@ -22,10 +25,9 @@ All Requests related to account(s) are grouped here.
|
|
|
22
25
|
* [accountV1GetOwnedBadges](#accountv1getownedbadges)
|
|
23
26
|
* [getStaff](#getstaff)
|
|
24
27
|
* [accountV1ConnectionReconnect](#accountv1connectionreconnect)
|
|
25
|
-
* [sendEmailVerification](#sendemailverification)
|
|
26
28
|
* [accountV1ImagesUpdate](#accountv1imagesupdate)
|
|
29
|
+
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
27
30
|
* [uploadImages](#uploadimages)
|
|
28
|
-
* [verifyEmail](#verifyemail)
|
|
29
31
|
* [getAccount](#getaccount)
|
|
30
32
|
* [adminV1UpdateResources](#adminv1updateresources)
|
|
31
33
|
* [adminV1UpdateRoles](#adminv1updateroles)
|
|
@@ -352,6 +354,236 @@ run();
|
|
|
352
354
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
353
355
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
354
356
|
|
|
357
|
+
## accountV1SettingsEmailSendVerification
|
|
358
|
+
|
|
359
|
+
### Example Usage
|
|
360
|
+
|
|
361
|
+
```typescript
|
|
362
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
363
|
+
|
|
364
|
+
const steamSets = new SteamSets({
|
|
365
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
async function run() {
|
|
369
|
+
const result = await steamSets.account.accountV1SettingsEmailSendVerification({});
|
|
370
|
+
|
|
371
|
+
// Handle the result
|
|
372
|
+
console.log(result);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
run();
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
### Standalone function
|
|
379
|
+
|
|
380
|
+
The standalone function version of this method:
|
|
381
|
+
|
|
382
|
+
```typescript
|
|
383
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
384
|
+
import { accountAccountV1SettingsEmailSendVerification } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailSendVerification.js";
|
|
385
|
+
|
|
386
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
387
|
+
// You can create one instance of it to use across an application.
|
|
388
|
+
const steamSets = new SteamSetsCore({
|
|
389
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
390
|
+
});
|
|
391
|
+
|
|
392
|
+
async function run() {
|
|
393
|
+
const res = await accountAccountV1SettingsEmailSendVerification(steamSets, {});
|
|
394
|
+
|
|
395
|
+
if (!res.ok) {
|
|
396
|
+
throw res.error;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
const { value: result } = res;
|
|
400
|
+
|
|
401
|
+
// Handle the result
|
|
402
|
+
console.log(result);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
run();
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
### Parameters
|
|
409
|
+
|
|
410
|
+
| Parameter | Type | Required | Description |
|
|
411
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
412
|
+
| `request` | [operations.AccountV1SettingsEmailSendVerificationRequest](../../models/operations/accountv1settingsemailsendverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
413
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
414
|
+
| `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. |
|
|
415
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
416
|
+
|
|
417
|
+
### Response
|
|
418
|
+
|
|
419
|
+
**Promise\<[operations.AccountV1SettingsEmailSendVerificationResponse](../../models/operations/accountv1settingsemailsendverificationresponse.md)\>**
|
|
420
|
+
|
|
421
|
+
### Errors
|
|
422
|
+
|
|
423
|
+
| Error Type | Status Code | Content Type |
|
|
424
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
425
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
426
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
427
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
428
|
+
|
|
429
|
+
## accountV1SettingsEmailSubscribe
|
|
430
|
+
|
|
431
|
+
### Example Usage
|
|
432
|
+
|
|
433
|
+
```typescript
|
|
434
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
435
|
+
|
|
436
|
+
const steamSets = new SteamSets({
|
|
437
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
async function run() {
|
|
441
|
+
const result = await steamSets.account.accountV1SettingsEmailSubscribe({
|
|
442
|
+
v1EmailSubscriptionRequestBody: {
|
|
443
|
+
email: "steamsets@example.com",
|
|
444
|
+
subscribed: true,
|
|
445
|
+
},
|
|
446
|
+
});
|
|
447
|
+
|
|
448
|
+
// Handle the result
|
|
449
|
+
console.log(result);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
run();
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### Standalone function
|
|
456
|
+
|
|
457
|
+
The standalone function version of this method:
|
|
458
|
+
|
|
459
|
+
```typescript
|
|
460
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
461
|
+
import { accountAccountV1SettingsEmailSubscribe } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailSubscribe.js";
|
|
462
|
+
|
|
463
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
464
|
+
// You can create one instance of it to use across an application.
|
|
465
|
+
const steamSets = new SteamSetsCore({
|
|
466
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
async function run() {
|
|
470
|
+
const res = await accountAccountV1SettingsEmailSubscribe(steamSets, {
|
|
471
|
+
v1EmailSubscriptionRequestBody: {
|
|
472
|
+
email: "steamsets@example.com",
|
|
473
|
+
subscribed: true,
|
|
474
|
+
},
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
if (!res.ok) {
|
|
478
|
+
throw res.error;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
const { value: result } = res;
|
|
482
|
+
|
|
483
|
+
// Handle the result
|
|
484
|
+
console.log(result);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
run();
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
### Parameters
|
|
491
|
+
|
|
492
|
+
| Parameter | Type | Required | Description |
|
|
493
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
494
|
+
| `request` | [operations.AccountV1SettingsEmailSubscribeRequest](../../models/operations/accountv1settingsemailsubscriberequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
495
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
496
|
+
| `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. |
|
|
497
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
498
|
+
|
|
499
|
+
### Response
|
|
500
|
+
|
|
501
|
+
**Promise\<[operations.AccountV1SettingsEmailSubscribeResponse](../../models/operations/accountv1settingsemailsubscriberesponse.md)\>**
|
|
502
|
+
|
|
503
|
+
### Errors
|
|
504
|
+
|
|
505
|
+
| Error Type | Status Code | Content Type |
|
|
506
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
507
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
508
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
509
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
510
|
+
|
|
511
|
+
## accountV1SettingsEmailVerify
|
|
512
|
+
|
|
513
|
+
### Example Usage
|
|
514
|
+
|
|
515
|
+
```typescript
|
|
516
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
517
|
+
|
|
518
|
+
const steamSets = new SteamSets({
|
|
519
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
520
|
+
});
|
|
521
|
+
|
|
522
|
+
async function run() {
|
|
523
|
+
const result = await steamSets.account.accountV1SettingsEmailVerify({
|
|
524
|
+
code: "123456",
|
|
525
|
+
});
|
|
526
|
+
|
|
527
|
+
// Handle the result
|
|
528
|
+
console.log(result);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
run();
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
### Standalone function
|
|
535
|
+
|
|
536
|
+
The standalone function version of this method:
|
|
537
|
+
|
|
538
|
+
```typescript
|
|
539
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
540
|
+
import { accountAccountV1SettingsEmailVerify } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailVerify.js";
|
|
541
|
+
|
|
542
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
543
|
+
// You can create one instance of it to use across an application.
|
|
544
|
+
const steamSets = new SteamSetsCore({
|
|
545
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
async function run() {
|
|
549
|
+
const res = await accountAccountV1SettingsEmailVerify(steamSets, {
|
|
550
|
+
code: "123456",
|
|
551
|
+
});
|
|
552
|
+
|
|
553
|
+
if (!res.ok) {
|
|
554
|
+
throw res.error;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
const { value: result } = res;
|
|
558
|
+
|
|
559
|
+
// Handle the result
|
|
560
|
+
console.log(result);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
run();
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
### Parameters
|
|
567
|
+
|
|
568
|
+
| Parameter | Type | Required | Description |
|
|
569
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
570
|
+
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
571
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
572
|
+
| `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. |
|
|
573
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
574
|
+
|
|
575
|
+
### Response
|
|
576
|
+
|
|
577
|
+
**Promise\<[operations.AccountV1SettingsEmailVerifyResponse](../../models/operations/accountv1settingsemailverifyresponse.md)\>**
|
|
578
|
+
|
|
579
|
+
### Errors
|
|
580
|
+
|
|
581
|
+
| Error Type | Status Code | Content Type |
|
|
582
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
583
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
584
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
585
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
586
|
+
|
|
355
587
|
## getApps
|
|
356
588
|
|
|
357
589
|
### Example Usage
|
|
@@ -1145,78 +1377,6 @@ run();
|
|
|
1145
1377
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1146
1378
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1147
1379
|
|
|
1148
|
-
## sendEmailVerification
|
|
1149
|
-
|
|
1150
|
-
### Example Usage
|
|
1151
|
-
|
|
1152
|
-
```typescript
|
|
1153
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1154
|
-
|
|
1155
|
-
const steamSets = new SteamSets({
|
|
1156
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1157
|
-
});
|
|
1158
|
-
|
|
1159
|
-
async function run() {
|
|
1160
|
-
const result = await steamSets.account.sendEmailVerification({});
|
|
1161
|
-
|
|
1162
|
-
// Handle the result
|
|
1163
|
-
console.log(result);
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
run();
|
|
1167
|
-
```
|
|
1168
|
-
|
|
1169
|
-
### Standalone function
|
|
1170
|
-
|
|
1171
|
-
The standalone function version of this method:
|
|
1172
|
-
|
|
1173
|
-
```typescript
|
|
1174
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1175
|
-
import { accountSendEmailVerification } from "@steamsets/client-ts/funcs/accountSendEmailVerification.js";
|
|
1176
|
-
|
|
1177
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1178
|
-
// You can create one instance of it to use across an application.
|
|
1179
|
-
const steamSets = new SteamSetsCore({
|
|
1180
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1181
|
-
});
|
|
1182
|
-
|
|
1183
|
-
async function run() {
|
|
1184
|
-
const res = await accountSendEmailVerification(steamSets, {});
|
|
1185
|
-
|
|
1186
|
-
if (!res.ok) {
|
|
1187
|
-
throw res.error;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
const { value: result } = res;
|
|
1191
|
-
|
|
1192
|
-
// Handle the result
|
|
1193
|
-
console.log(result);
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
run();
|
|
1197
|
-
```
|
|
1198
|
-
|
|
1199
|
-
### Parameters
|
|
1200
|
-
|
|
1201
|
-
| Parameter | Type | Required | Description |
|
|
1202
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1203
|
-
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1204
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1205
|
-
| `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. |
|
|
1206
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1207
|
-
|
|
1208
|
-
### Response
|
|
1209
|
-
|
|
1210
|
-
**Promise\<[operations.AccountV1SettingsSendEmailVerificationResponse](../../models/operations/accountv1settingssendemailverificationresponse.md)\>**
|
|
1211
|
-
|
|
1212
|
-
### Errors
|
|
1213
|
-
|
|
1214
|
-
| Error Type | Status Code | Content Type |
|
|
1215
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1216
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
1217
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1218
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1219
|
-
|
|
1220
1380
|
## accountV1ImagesUpdate
|
|
1221
1381
|
|
|
1222
1382
|
### Example Usage
|
|
@@ -1297,7 +1457,7 @@ run();
|
|
|
1297
1457
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1298
1458
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1299
1459
|
|
|
1300
|
-
##
|
|
1460
|
+
## accountV1SettingsUpdateRole
|
|
1301
1461
|
|
|
1302
1462
|
### Example Usage
|
|
1303
1463
|
|
|
@@ -1309,11 +1469,7 @@ const steamSets = new SteamSets({
|
|
|
1309
1469
|
});
|
|
1310
1470
|
|
|
1311
1471
|
async function run() {
|
|
1312
|
-
const result = await steamSets.account.
|
|
1313
|
-
images: [
|
|
1314
|
-
|
|
1315
|
-
],
|
|
1316
|
-
});
|
|
1472
|
+
const result = await steamSets.account.accountV1SettingsUpdateRole({});
|
|
1317
1473
|
|
|
1318
1474
|
// Handle the result
|
|
1319
1475
|
console.log(result);
|
|
@@ -1328,7 +1484,7 @@ The standalone function version of this method:
|
|
|
1328
1484
|
|
|
1329
1485
|
```typescript
|
|
1330
1486
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1331
|
-
import {
|
|
1487
|
+
import { accountAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/accountAccountV1SettingsUpdateRole.js";
|
|
1332
1488
|
|
|
1333
1489
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1334
1490
|
// You can create one instance of it to use across an application.
|
|
@@ -1337,11 +1493,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1337
1493
|
});
|
|
1338
1494
|
|
|
1339
1495
|
async function run() {
|
|
1340
|
-
const res = await
|
|
1341
|
-
images: [
|
|
1342
|
-
|
|
1343
|
-
],
|
|
1344
|
-
});
|
|
1496
|
+
const res = await accountAccountV1SettingsUpdateRole(steamSets, {});
|
|
1345
1497
|
|
|
1346
1498
|
if (!res.ok) {
|
|
1347
1499
|
throw res.error;
|
|
@@ -1360,24 +1512,24 @@ run();
|
|
|
1360
1512
|
|
|
1361
1513
|
| Parameter | Type | Required | Description |
|
|
1362
1514
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1363
|
-
| `request` | [components.
|
|
1515
|
+
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1364
1516
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1365
1517
|
| `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. |
|
|
1366
1518
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1367
1519
|
|
|
1368
1520
|
### Response
|
|
1369
1521
|
|
|
1370
|
-
**Promise\<[operations.
|
|
1522
|
+
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
1371
1523
|
|
|
1372
1524
|
### Errors
|
|
1373
1525
|
|
|
1374
1526
|
| Error Type | Status Code | Content Type |
|
|
1375
1527
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1376
|
-
| errors.ErrorModel | 422
|
|
1528
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
1377
1529
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1378
1530
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1379
1531
|
|
|
1380
|
-
##
|
|
1532
|
+
## uploadImages
|
|
1381
1533
|
|
|
1382
1534
|
### Example Usage
|
|
1383
1535
|
|
|
@@ -1389,8 +1541,10 @@ const steamSets = new SteamSets({
|
|
|
1389
1541
|
});
|
|
1390
1542
|
|
|
1391
1543
|
async function run() {
|
|
1392
|
-
const result = await steamSets.account.
|
|
1393
|
-
|
|
1544
|
+
const result = await steamSets.account.uploadImages({
|
|
1545
|
+
images: [
|
|
1546
|
+
|
|
1547
|
+
],
|
|
1394
1548
|
});
|
|
1395
1549
|
|
|
1396
1550
|
// Handle the result
|
|
@@ -1406,7 +1560,7 @@ The standalone function version of this method:
|
|
|
1406
1560
|
|
|
1407
1561
|
```typescript
|
|
1408
1562
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1409
|
-
import {
|
|
1563
|
+
import { accountUploadImages } from "@steamsets/client-ts/funcs/accountUploadImages.js";
|
|
1410
1564
|
|
|
1411
1565
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1412
1566
|
// You can create one instance of it to use across an application.
|
|
@@ -1415,8 +1569,10 @@ const steamSets = new SteamSetsCore({
|
|
|
1415
1569
|
});
|
|
1416
1570
|
|
|
1417
1571
|
async function run() {
|
|
1418
|
-
const res = await
|
|
1419
|
-
|
|
1572
|
+
const res = await accountUploadImages(steamSets, {
|
|
1573
|
+
images: [
|
|
1574
|
+
|
|
1575
|
+
],
|
|
1420
1576
|
});
|
|
1421
1577
|
|
|
1422
1578
|
if (!res.ok) {
|
|
@@ -1436,20 +1592,20 @@ run();
|
|
|
1436
1592
|
|
|
1437
1593
|
| Parameter | Type | Required | Description |
|
|
1438
1594
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1439
|
-
| `request` | [components.
|
|
1595
|
+
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1440
1596
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1441
1597
|
| `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. |
|
|
1442
1598
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1443
1599
|
|
|
1444
1600
|
### Response
|
|
1445
1601
|
|
|
1446
|
-
**Promise\<[operations.
|
|
1602
|
+
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
1447
1603
|
|
|
1448
1604
|
### Errors
|
|
1449
1605
|
|
|
1450
1606
|
| Error Type | Status Code | Content Type |
|
|
1451
1607
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1452
|
-
| errors.ErrorModel |
|
|
1608
|
+
| errors.ErrorModel | 422 | application/problem+json |
|
|
1453
1609
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1454
1610
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1455
1611
|
|