@steamsets/client-ts 0.14.29 → 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 +77 -30
- package/docs/sdks/account/README.md +204 -121
- package/docs/sdks/internal/README.md +166 -83
- package/docs/sdks/settings/README.md +132 -49
- 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/{accountVerifyEmail.d.ts → accountAccountV1SettingsEmailVerify.d.ts} +2 -2
- 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/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/{internalVerifyEmail.d.ts → internalAccountV1SettingsEmailVerify.d.ts} +2 -2
- 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/{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/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 +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1accountinforesponsebody.d.ts +3 -0
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountinforesponsebody.js +1 -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/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/{accountv1settingsverfyemail.js → accountv1settingsemailverify.js} +17 -17
- package/models/operations/accountv1settingsemailverify.js.map +1 -0
- package/models/operations/index.d.ts +4 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -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 +3 -2
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +12 -8
- package/sdk/account.js.map +1 -1
- package/sdk/internal.d.ts +3 -2
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +12 -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 +3 -2
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +12 -8
- 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/{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/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/lib/config.ts +2 -2
- package/src/models/components/errormodel.ts +122 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/v1accountinforesponsebody.ts +1 -0
- package/src/models/components/v1emailsubscriptionrequestbody.ts +78 -0
- package/src/models/components/v1getsettingsbody.ts +7 -0
- package/src/models/operations/{accountv1settingssendemailverification.ts → accountv1settingsemailsendverification.ts} +46 -46
- package/src/models/operations/accountv1settingsemailsubscribe.ts +174 -0
- package/src/models/operations/{accountv1settingsverfyemail.ts → accountv1settingsemailverify.ts} +22 -22
- package/src/models/operations/index.ts +4 -2
- package/src/models/operations/resendwebhook.ts +179 -0
- package/src/sdk/account.ts +36 -24
- package/src/sdk/internal.ts +36 -24
- package/src/sdk/sdk.ts +20 -6
- package/src/sdk/settings.ts +32 -20
- 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
- package/models/operations/accountv1settingsverfyemail.d.ts.map +0 -1
- package/models/operations/accountv1settingsverfyemail.js.map +0 -1
|
@@ -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,11 +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)
|
|
27
29
|
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
28
30
|
* [uploadImages](#uploadimages)
|
|
29
|
-
* [verifyEmail](#verifyemail)
|
|
30
31
|
* [getAccount](#getaccount)
|
|
31
32
|
* [adminV1UpdateResources](#adminv1updateresources)
|
|
32
33
|
* [adminV1UpdateRoles](#adminv1updateroles)
|
|
@@ -353,7 +354,7 @@ run();
|
|
|
353
354
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
354
355
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
355
356
|
|
|
356
|
-
##
|
|
357
|
+
## accountV1SettingsEmailSendVerification
|
|
357
358
|
|
|
358
359
|
### Example Usage
|
|
359
360
|
|
|
@@ -365,7 +366,7 @@ const steamSets = new SteamSets({
|
|
|
365
366
|
});
|
|
366
367
|
|
|
367
368
|
async function run() {
|
|
368
|
-
const result = await steamSets.account.
|
|
369
|
+
const result = await steamSets.account.accountV1SettingsEmailSendVerification({});
|
|
369
370
|
|
|
370
371
|
// Handle the result
|
|
371
372
|
console.log(result);
|
|
@@ -380,7 +381,7 @@ The standalone function version of this method:
|
|
|
380
381
|
|
|
381
382
|
```typescript
|
|
382
383
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
383
|
-
import {
|
|
384
|
+
import { accountAccountV1SettingsEmailSendVerification } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailSendVerification.js";
|
|
384
385
|
|
|
385
386
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
386
387
|
// You can create one instance of it to use across an application.
|
|
@@ -389,7 +390,7 @@ const steamSets = new SteamSetsCore({
|
|
|
389
390
|
});
|
|
390
391
|
|
|
391
392
|
async function run() {
|
|
392
|
-
const res = await
|
|
393
|
+
const res = await accountAccountV1SettingsEmailSendVerification(steamSets, {});
|
|
393
394
|
|
|
394
395
|
if (!res.ok) {
|
|
395
396
|
throw res.error;
|
|
@@ -408,24 +409,24 @@ run();
|
|
|
408
409
|
|
|
409
410
|
| Parameter | Type | Required | Description |
|
|
410
411
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
411
|
-
| `request` | [
|
|
412
|
+
| `request` | [operations.AccountV1SettingsEmailSendVerificationRequest](../../models/operations/accountv1settingsemailsendverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
412
413
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
413
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. |
|
|
414
415
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
415
416
|
|
|
416
417
|
### Response
|
|
417
418
|
|
|
418
|
-
**Promise\<[operations.
|
|
419
|
+
**Promise\<[operations.AccountV1SettingsEmailSendVerificationResponse](../../models/operations/accountv1settingsemailsendverificationresponse.md)\>**
|
|
419
420
|
|
|
420
421
|
### Errors
|
|
421
422
|
|
|
422
423
|
| Error Type | Status Code | Content Type |
|
|
423
424
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
424
|
-
| errors.ErrorModel |
|
|
425
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
425
426
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
426
427
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
427
428
|
|
|
428
|
-
##
|
|
429
|
+
## accountV1SettingsEmailSubscribe
|
|
429
430
|
|
|
430
431
|
### Example Usage
|
|
431
432
|
|
|
@@ -437,7 +438,12 @@ const steamSets = new SteamSets({
|
|
|
437
438
|
});
|
|
438
439
|
|
|
439
440
|
async function run() {
|
|
440
|
-
const result = await steamSets.account.
|
|
441
|
+
const result = await steamSets.account.accountV1SettingsEmailSubscribe({
|
|
442
|
+
v1EmailSubscriptionRequestBody: {
|
|
443
|
+
email: "steamsets@example.com",
|
|
444
|
+
subscribed: true,
|
|
445
|
+
},
|
|
446
|
+
});
|
|
441
447
|
|
|
442
448
|
// Handle the result
|
|
443
449
|
console.log(result);
|
|
@@ -452,7 +458,7 @@ The standalone function version of this method:
|
|
|
452
458
|
|
|
453
459
|
```typescript
|
|
454
460
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
455
|
-
import {
|
|
461
|
+
import { accountAccountV1SettingsEmailSubscribe } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailSubscribe.js";
|
|
456
462
|
|
|
457
463
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
458
464
|
// You can create one instance of it to use across an application.
|
|
@@ -461,7 +467,12 @@ const steamSets = new SteamSetsCore({
|
|
|
461
467
|
});
|
|
462
468
|
|
|
463
469
|
async function run() {
|
|
464
|
-
const res = await
|
|
470
|
+
const res = await accountAccountV1SettingsEmailSubscribe(steamSets, {
|
|
471
|
+
v1EmailSubscriptionRequestBody: {
|
|
472
|
+
email: "steamsets@example.com",
|
|
473
|
+
subscribed: true,
|
|
474
|
+
},
|
|
475
|
+
});
|
|
465
476
|
|
|
466
477
|
if (!res.ok) {
|
|
467
478
|
throw res.error;
|
|
@@ -480,23 +491,24 @@ run();
|
|
|
480
491
|
|
|
481
492
|
| Parameter | Type | Required | Description |
|
|
482
493
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
494
|
+
| `request` | [operations.AccountV1SettingsEmailSubscribeRequest](../../models/operations/accountv1settingsemailsubscriberequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
483
495
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
484
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. |
|
|
485
497
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
486
498
|
|
|
487
499
|
### Response
|
|
488
500
|
|
|
489
|
-
**Promise\<[operations.
|
|
501
|
+
**Promise\<[operations.AccountV1SettingsEmailSubscribeResponse](../../models/operations/accountv1settingsemailsubscriberesponse.md)\>**
|
|
490
502
|
|
|
491
503
|
### Errors
|
|
492
504
|
|
|
493
505
|
| Error Type | Status Code | Content Type |
|
|
494
506
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
495
|
-
| errors.ErrorModel |
|
|
507
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
496
508
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
497
509
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
498
510
|
|
|
499
|
-
##
|
|
511
|
+
## accountV1SettingsEmailVerify
|
|
500
512
|
|
|
501
513
|
### Example Usage
|
|
502
514
|
|
|
@@ -508,7 +520,9 @@ const steamSets = new SteamSets({
|
|
|
508
520
|
});
|
|
509
521
|
|
|
510
522
|
async function run() {
|
|
511
|
-
const result = await steamSets.account.
|
|
523
|
+
const result = await steamSets.account.accountV1SettingsEmailVerify({
|
|
524
|
+
code: "123456",
|
|
525
|
+
});
|
|
512
526
|
|
|
513
527
|
// Handle the result
|
|
514
528
|
console.log(result);
|
|
@@ -523,7 +537,7 @@ The standalone function version of this method:
|
|
|
523
537
|
|
|
524
538
|
```typescript
|
|
525
539
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
526
|
-
import {
|
|
540
|
+
import { accountAccountV1SettingsEmailVerify } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailVerify.js";
|
|
527
541
|
|
|
528
542
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
529
543
|
// You can create one instance of it to use across an application.
|
|
@@ -532,7 +546,9 @@ const steamSets = new SteamSetsCore({
|
|
|
532
546
|
});
|
|
533
547
|
|
|
534
548
|
async function run() {
|
|
535
|
-
const res = await
|
|
549
|
+
const res = await accountAccountV1SettingsEmailVerify(steamSets, {
|
|
550
|
+
code: "123456",
|
|
551
|
+
});
|
|
536
552
|
|
|
537
553
|
if (!res.ok) {
|
|
538
554
|
throw res.error;
|
|
@@ -551,24 +567,24 @@ run();
|
|
|
551
567
|
|
|
552
568
|
| Parameter | Type | Required | Description |
|
|
553
569
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
554
|
-
| `request` | [components.
|
|
570
|
+
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
555
571
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
556
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. |
|
|
557
573
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
558
574
|
|
|
559
575
|
### Response
|
|
560
576
|
|
|
561
|
-
**Promise\<[operations.
|
|
577
|
+
**Promise\<[operations.AccountV1SettingsEmailVerifyResponse](../../models/operations/accountv1settingsemailverifyresponse.md)\>**
|
|
562
578
|
|
|
563
579
|
### Errors
|
|
564
580
|
|
|
565
581
|
| Error Type | Status Code | Content Type |
|
|
566
582
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
567
|
-
| errors.ErrorModel |
|
|
583
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
568
584
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
569
585
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
570
586
|
|
|
571
|
-
##
|
|
587
|
+
## getApps
|
|
572
588
|
|
|
573
589
|
### Example Usage
|
|
574
590
|
|
|
@@ -580,7 +596,7 @@ const steamSets = new SteamSets({
|
|
|
580
596
|
});
|
|
581
597
|
|
|
582
598
|
async function run() {
|
|
583
|
-
const result = await steamSets.account.
|
|
599
|
+
const result = await steamSets.account.getApps({});
|
|
584
600
|
|
|
585
601
|
// Handle the result
|
|
586
602
|
console.log(result);
|
|
@@ -595,7 +611,7 @@ The standalone function version of this method:
|
|
|
595
611
|
|
|
596
612
|
```typescript
|
|
597
613
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
598
|
-
import {
|
|
614
|
+
import { accountGetApps } from "@steamsets/client-ts/funcs/accountGetApps.js";
|
|
599
615
|
|
|
600
616
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
601
617
|
// You can create one instance of it to use across an application.
|
|
@@ -604,7 +620,7 @@ const steamSets = new SteamSetsCore({
|
|
|
604
620
|
});
|
|
605
621
|
|
|
606
622
|
async function run() {
|
|
607
|
-
const res = await
|
|
623
|
+
const res = await accountGetApps(steamSets, {});
|
|
608
624
|
|
|
609
625
|
if (!res.ok) {
|
|
610
626
|
throw res.error;
|
|
@@ -623,14 +639,14 @@ run();
|
|
|
623
639
|
|
|
624
640
|
| Parameter | Type | Required | Description |
|
|
625
641
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
626
|
-
| `request` | [components.
|
|
642
|
+
| `request` | [components.V1AccountsAppsRequestBody](../../models/components/v1accountsappsrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
627
643
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
628
644
|
| `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. |
|
|
629
645
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
630
646
|
|
|
631
647
|
### Response
|
|
632
648
|
|
|
633
|
-
**Promise\<[operations.
|
|
649
|
+
**Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
|
|
634
650
|
|
|
635
651
|
### Errors
|
|
636
652
|
|
|
@@ -640,7 +656,7 @@ run();
|
|
|
640
656
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
641
657
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
642
658
|
|
|
643
|
-
##
|
|
659
|
+
## accountV1GetBadgeBookmarks
|
|
644
660
|
|
|
645
661
|
### Example Usage
|
|
646
662
|
|
|
@@ -652,7 +668,7 @@ const steamSets = new SteamSets({
|
|
|
652
668
|
});
|
|
653
669
|
|
|
654
670
|
async function run() {
|
|
655
|
-
const result = await steamSets.account.
|
|
671
|
+
const result = await steamSets.account.accountV1GetBadgeBookmarks();
|
|
656
672
|
|
|
657
673
|
// Handle the result
|
|
658
674
|
console.log(result);
|
|
@@ -667,7 +683,7 @@ The standalone function version of this method:
|
|
|
667
683
|
|
|
668
684
|
```typescript
|
|
669
685
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
670
|
-
import {
|
|
686
|
+
import { accountAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/accountAccountV1GetBadgeBookmarks.js";
|
|
671
687
|
|
|
672
688
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
673
689
|
// You can create one instance of it to use across an application.
|
|
@@ -676,7 +692,7 @@ const steamSets = new SteamSetsCore({
|
|
|
676
692
|
});
|
|
677
693
|
|
|
678
694
|
async function run() {
|
|
679
|
-
const res = await
|
|
695
|
+
const res = await accountAccountV1GetBadgeBookmarks(steamSets);
|
|
680
696
|
|
|
681
697
|
if (!res.ok) {
|
|
682
698
|
throw res.error;
|
|
@@ -695,24 +711,23 @@ run();
|
|
|
695
711
|
|
|
696
712
|
| Parameter | Type | Required | Description |
|
|
697
713
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
698
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
699
714
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
700
715
|
| `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. |
|
|
701
716
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
702
717
|
|
|
703
718
|
### Response
|
|
704
719
|
|
|
705
|
-
**Promise\<[operations.
|
|
720
|
+
**Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
|
|
706
721
|
|
|
707
722
|
### Errors
|
|
708
723
|
|
|
709
724
|
| Error Type | Status Code | Content Type |
|
|
710
725
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
711
|
-
| errors.ErrorModel |
|
|
726
|
+
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
712
727
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
713
728
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
714
729
|
|
|
715
|
-
##
|
|
730
|
+
## getBadges
|
|
716
731
|
|
|
717
732
|
### Example Usage
|
|
718
733
|
|
|
@@ -724,7 +739,7 @@ const steamSets = new SteamSets({
|
|
|
724
739
|
});
|
|
725
740
|
|
|
726
741
|
async function run() {
|
|
727
|
-
const result = await steamSets.account.
|
|
742
|
+
const result = await steamSets.account.getBadges({});
|
|
728
743
|
|
|
729
744
|
// Handle the result
|
|
730
745
|
console.log(result);
|
|
@@ -739,7 +754,7 @@ The standalone function version of this method:
|
|
|
739
754
|
|
|
740
755
|
```typescript
|
|
741
756
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
742
|
-
import {
|
|
757
|
+
import { accountGetBadges } from "@steamsets/client-ts/funcs/accountGetBadges.js";
|
|
743
758
|
|
|
744
759
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
745
760
|
// You can create one instance of it to use across an application.
|
|
@@ -748,7 +763,7 @@ const steamSets = new SteamSetsCore({
|
|
|
748
763
|
});
|
|
749
764
|
|
|
750
765
|
async function run() {
|
|
751
|
-
const res = await
|
|
766
|
+
const res = await accountGetBadges(steamSets, {});
|
|
752
767
|
|
|
753
768
|
if (!res.ok) {
|
|
754
769
|
throw res.error;
|
|
@@ -767,22 +782,24 @@ run();
|
|
|
767
782
|
|
|
768
783
|
| Parameter | Type | Required | Description |
|
|
769
784
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
785
|
+
| `request` | [components.V1BadgesRequestBody](../../models/components/v1badgesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
770
786
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
771
787
|
| `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. |
|
|
772
788
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
773
789
|
|
|
774
790
|
### Response
|
|
775
791
|
|
|
776
|
-
**Promise\<[operations.
|
|
792
|
+
**Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
|
|
777
793
|
|
|
778
794
|
### Errors
|
|
779
795
|
|
|
780
796
|
| Error Type | Status Code | Content Type |
|
|
781
797
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
798
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
782
799
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
783
800
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
784
801
|
|
|
785
|
-
##
|
|
802
|
+
## getDataPoints
|
|
786
803
|
|
|
787
804
|
### Example Usage
|
|
788
805
|
|
|
@@ -794,7 +811,7 @@ const steamSets = new SteamSets({
|
|
|
794
811
|
});
|
|
795
812
|
|
|
796
813
|
async function run() {
|
|
797
|
-
const result = await steamSets.account.
|
|
814
|
+
const result = await steamSets.account.getDataPoints({});
|
|
798
815
|
|
|
799
816
|
// Handle the result
|
|
800
817
|
console.log(result);
|
|
@@ -809,7 +826,7 @@ The standalone function version of this method:
|
|
|
809
826
|
|
|
810
827
|
```typescript
|
|
811
828
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
812
|
-
import {
|
|
829
|
+
import { accountGetDataPoints } from "@steamsets/client-ts/funcs/accountGetDataPoints.js";
|
|
813
830
|
|
|
814
831
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
815
832
|
// You can create one instance of it to use across an application.
|
|
@@ -818,7 +835,7 @@ const steamSets = new SteamSetsCore({
|
|
|
818
835
|
});
|
|
819
836
|
|
|
820
837
|
async function run() {
|
|
821
|
-
const res = await
|
|
838
|
+
const res = await accountGetDataPoints(steamSets, {});
|
|
822
839
|
|
|
823
840
|
if (!res.ok) {
|
|
824
841
|
throw res.error;
|
|
@@ -844,17 +861,17 @@ run();
|
|
|
844
861
|
|
|
845
862
|
### Response
|
|
846
863
|
|
|
847
|
-
**Promise\<[operations.
|
|
864
|
+
**Promise\<[operations.AccountV1GetDataPointsResponse](../../models/operations/accountv1getdatapointsresponse.md)\>**
|
|
848
865
|
|
|
849
866
|
### Errors
|
|
850
867
|
|
|
851
868
|
| Error Type | Status Code | Content Type |
|
|
852
869
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
853
|
-
| errors.ErrorModel | 403, 404, 422
|
|
870
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
854
871
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
855
872
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
856
873
|
|
|
857
|
-
##
|
|
874
|
+
## getFriends
|
|
858
875
|
|
|
859
876
|
### Example Usage
|
|
860
877
|
|
|
@@ -866,7 +883,7 @@ const steamSets = new SteamSets({
|
|
|
866
883
|
});
|
|
867
884
|
|
|
868
885
|
async function run() {
|
|
869
|
-
const result = await steamSets.account.
|
|
886
|
+
const result = await steamSets.account.getFriends({});
|
|
870
887
|
|
|
871
888
|
// Handle the result
|
|
872
889
|
console.log(result);
|
|
@@ -881,7 +898,7 @@ The standalone function version of this method:
|
|
|
881
898
|
|
|
882
899
|
```typescript
|
|
883
900
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
884
|
-
import {
|
|
901
|
+
import { accountGetFriends } from "@steamsets/client-ts/funcs/accountGetFriends.js";
|
|
885
902
|
|
|
886
903
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
887
904
|
// You can create one instance of it to use across an application.
|
|
@@ -890,7 +907,7 @@ const steamSets = new SteamSetsCore({
|
|
|
890
907
|
});
|
|
891
908
|
|
|
892
909
|
async function run() {
|
|
893
|
-
const res = await
|
|
910
|
+
const res = await accountGetFriends(steamSets, {});
|
|
894
911
|
|
|
895
912
|
if (!res.ok) {
|
|
896
913
|
throw res.error;
|
|
@@ -916,7 +933,7 @@ run();
|
|
|
916
933
|
|
|
917
934
|
### Response
|
|
918
935
|
|
|
919
|
-
**Promise\<[operations.
|
|
936
|
+
**Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
|
|
920
937
|
|
|
921
938
|
### Errors
|
|
922
939
|
|
|
@@ -926,7 +943,7 @@ run();
|
|
|
926
943
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
927
944
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
928
945
|
|
|
929
|
-
##
|
|
946
|
+
## accountV1ImagesGet
|
|
930
947
|
|
|
931
948
|
### Example Usage
|
|
932
949
|
|
|
@@ -938,7 +955,7 @@ const steamSets = new SteamSets({
|
|
|
938
955
|
});
|
|
939
956
|
|
|
940
957
|
async function run() {
|
|
941
|
-
const result = await steamSets.account.
|
|
958
|
+
const result = await steamSets.account.accountV1ImagesGet();
|
|
942
959
|
|
|
943
960
|
// Handle the result
|
|
944
961
|
console.log(result);
|
|
@@ -953,7 +970,7 @@ The standalone function version of this method:
|
|
|
953
970
|
|
|
954
971
|
```typescript
|
|
955
972
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
956
|
-
import {
|
|
973
|
+
import { accountAccountV1ImagesGet } from "@steamsets/client-ts/funcs/accountAccountV1ImagesGet.js";
|
|
957
974
|
|
|
958
975
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
959
976
|
// You can create one instance of it to use across an application.
|
|
@@ -962,7 +979,7 @@ const steamSets = new SteamSetsCore({
|
|
|
962
979
|
});
|
|
963
980
|
|
|
964
981
|
async function run() {
|
|
965
|
-
const res = await
|
|
982
|
+
const res = await accountAccountV1ImagesGet(steamSets);
|
|
966
983
|
|
|
967
984
|
if (!res.ok) {
|
|
968
985
|
throw res.error;
|
|
@@ -987,17 +1004,16 @@ run();
|
|
|
987
1004
|
|
|
988
1005
|
### Response
|
|
989
1006
|
|
|
990
|
-
**Promise\<[operations.
|
|
1007
|
+
**Promise\<[operations.AccountV1ImagesGetResponse](../../models/operations/accountv1imagesgetresponse.md)\>**
|
|
991
1008
|
|
|
992
1009
|
### Errors
|
|
993
1010
|
|
|
994
1011
|
| Error Type | Status Code | Content Type |
|
|
995
1012
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
996
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
997
1013
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
998
1014
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
999
1015
|
|
|
1000
|
-
##
|
|
1016
|
+
## getInfo
|
|
1001
1017
|
|
|
1002
1018
|
### Example Usage
|
|
1003
1019
|
|
|
@@ -1009,7 +1025,7 @@ const steamSets = new SteamSets({
|
|
|
1009
1025
|
});
|
|
1010
1026
|
|
|
1011
1027
|
async function run() {
|
|
1012
|
-
const result = await steamSets.account.
|
|
1028
|
+
const result = await steamSets.account.getInfo({});
|
|
1013
1029
|
|
|
1014
1030
|
// Handle the result
|
|
1015
1031
|
console.log(result);
|
|
@@ -1024,7 +1040,7 @@ The standalone function version of this method:
|
|
|
1024
1040
|
|
|
1025
1041
|
```typescript
|
|
1026
1042
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1027
|
-
import {
|
|
1043
|
+
import { accountGetInfo } from "@steamsets/client-ts/funcs/accountGetInfo.js";
|
|
1028
1044
|
|
|
1029
1045
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1030
1046
|
// You can create one instance of it to use across an application.
|
|
@@ -1033,7 +1049,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1033
1049
|
});
|
|
1034
1050
|
|
|
1035
1051
|
async function run() {
|
|
1036
|
-
const res = await
|
|
1052
|
+
const res = await accountGetInfo(steamSets, {});
|
|
1037
1053
|
|
|
1038
1054
|
if (!res.ok) {
|
|
1039
1055
|
throw res.error;
|
|
@@ -1052,23 +1068,24 @@ run();
|
|
|
1052
1068
|
|
|
1053
1069
|
| Parameter | Type | Required | Description |
|
|
1054
1070
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1071
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1055
1072
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1056
1073
|
| `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. |
|
|
1057
1074
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1058
1075
|
|
|
1059
1076
|
### Response
|
|
1060
1077
|
|
|
1061
|
-
**Promise\<[operations.
|
|
1078
|
+
**Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
|
|
1062
1079
|
|
|
1063
1080
|
### Errors
|
|
1064
1081
|
|
|
1065
1082
|
| Error Type | Status Code | Content Type |
|
|
1066
1083
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1067
|
-
| errors.ErrorModel | 404, 429
|
|
1084
|
+
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1068
1085
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1069
1086
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1070
1087
|
|
|
1071
|
-
##
|
|
1088
|
+
## getLeaderboardHistory
|
|
1072
1089
|
|
|
1073
1090
|
### Example Usage
|
|
1074
1091
|
|
|
@@ -1080,10 +1097,7 @@ const steamSets = new SteamSets({
|
|
|
1080
1097
|
});
|
|
1081
1098
|
|
|
1082
1099
|
async function run() {
|
|
1083
|
-
const result = await steamSets.account.
|
|
1084
|
-
code: "123456",
|
|
1085
|
-
connectionId: "123456",
|
|
1086
|
-
});
|
|
1100
|
+
const result = await steamSets.account.getLeaderboardHistory({});
|
|
1087
1101
|
|
|
1088
1102
|
// Handle the result
|
|
1089
1103
|
console.log(result);
|
|
@@ -1098,7 +1112,7 @@ The standalone function version of this method:
|
|
|
1098
1112
|
|
|
1099
1113
|
```typescript
|
|
1100
1114
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1101
|
-
import {
|
|
1115
|
+
import { accountGetLeaderboardHistory } from "@steamsets/client-ts/funcs/accountGetLeaderboardHistory.js";
|
|
1102
1116
|
|
|
1103
1117
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1104
1118
|
// You can create one instance of it to use across an application.
|
|
@@ -1107,10 +1121,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1107
1121
|
});
|
|
1108
1122
|
|
|
1109
1123
|
async function run() {
|
|
1110
|
-
const res = await
|
|
1111
|
-
code: "123456",
|
|
1112
|
-
connectionId: "123456",
|
|
1113
|
-
});
|
|
1124
|
+
const res = await accountGetLeaderboardHistory(steamSets, {});
|
|
1114
1125
|
|
|
1115
1126
|
if (!res.ok) {
|
|
1116
1127
|
throw res.error;
|
|
@@ -1129,24 +1140,24 @@ run();
|
|
|
1129
1140
|
|
|
1130
1141
|
| Parameter | Type | Required | Description |
|
|
1131
1142
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1132
|
-
| `request` | [components.
|
|
1143
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1133
1144
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1134
1145
|
| `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. |
|
|
1135
1146
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1136
1147
|
|
|
1137
1148
|
### Response
|
|
1138
1149
|
|
|
1139
|
-
**Promise\<[operations.
|
|
1150
|
+
**Promise\<[operations.AccountV1GetLeaderboardHistoryResponse](../../models/operations/accountv1getleaderboardhistoryresponse.md)\>**
|
|
1140
1151
|
|
|
1141
1152
|
### Errors
|
|
1142
1153
|
|
|
1143
1154
|
| Error Type | Status Code | Content Type |
|
|
1144
1155
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1145
|
-
| errors.ErrorModel | 400, 422
|
|
1156
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
1146
1157
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1147
1158
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1148
1159
|
|
|
1149
|
-
##
|
|
1160
|
+
## accountV1GetOwnedBadges
|
|
1150
1161
|
|
|
1151
1162
|
### Example Usage
|
|
1152
1163
|
|
|
@@ -1158,7 +1169,7 @@ const steamSets = new SteamSets({
|
|
|
1158
1169
|
});
|
|
1159
1170
|
|
|
1160
1171
|
async function run() {
|
|
1161
|
-
const result = await steamSets.account.
|
|
1172
|
+
const result = await steamSets.account.accountV1GetOwnedBadges();
|
|
1162
1173
|
|
|
1163
1174
|
// Handle the result
|
|
1164
1175
|
console.log(result);
|
|
@@ -1173,7 +1184,7 @@ The standalone function version of this method:
|
|
|
1173
1184
|
|
|
1174
1185
|
```typescript
|
|
1175
1186
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1176
|
-
import {
|
|
1187
|
+
import { accountAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/accountAccountV1GetOwnedBadges.js";
|
|
1177
1188
|
|
|
1178
1189
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1179
1190
|
// You can create one instance of it to use across an application.
|
|
@@ -1182,7 +1193,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1182
1193
|
});
|
|
1183
1194
|
|
|
1184
1195
|
async function run() {
|
|
1185
|
-
const res = await
|
|
1196
|
+
const res = await accountAccountV1GetOwnedBadges(steamSets);
|
|
1186
1197
|
|
|
1187
1198
|
if (!res.ok) {
|
|
1188
1199
|
throw res.error;
|
|
@@ -1201,24 +1212,23 @@ run();
|
|
|
1201
1212
|
|
|
1202
1213
|
| Parameter | Type | Required | Description |
|
|
1203
1214
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1204
|
-
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1205
1215
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1206
1216
|
| `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. |
|
|
1207
1217
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1208
1218
|
|
|
1209
1219
|
### Response
|
|
1210
1220
|
|
|
1211
|
-
**Promise\<[operations.
|
|
1221
|
+
**Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
|
|
1212
1222
|
|
|
1213
1223
|
### Errors
|
|
1214
1224
|
|
|
1215
1225
|
| Error Type | Status Code | Content Type |
|
|
1216
1226
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1217
|
-
| errors.ErrorModel |
|
|
1227
|
+
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
1218
1228
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1219
1229
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1220
1230
|
|
|
1221
|
-
##
|
|
1231
|
+
## getStaff
|
|
1222
1232
|
|
|
1223
1233
|
### Example Usage
|
|
1224
1234
|
|
|
@@ -1230,11 +1240,7 @@ const steamSets = new SteamSets({
|
|
|
1230
1240
|
});
|
|
1231
1241
|
|
|
1232
1242
|
async function run() {
|
|
1233
|
-
const result = await steamSets.account.
|
|
1234
|
-
images: [
|
|
1235
|
-
|
|
1236
|
-
],
|
|
1237
|
-
});
|
|
1243
|
+
const result = await steamSets.account.getStaff();
|
|
1238
1244
|
|
|
1239
1245
|
// Handle the result
|
|
1240
1246
|
console.log(result);
|
|
@@ -1249,7 +1255,7 @@ The standalone function version of this method:
|
|
|
1249
1255
|
|
|
1250
1256
|
```typescript
|
|
1251
1257
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1252
|
-
import {
|
|
1258
|
+
import { accountGetStaff } from "@steamsets/client-ts/funcs/accountGetStaff.js";
|
|
1253
1259
|
|
|
1254
1260
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1255
1261
|
// You can create one instance of it to use across an application.
|
|
@@ -1258,11 +1264,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1258
1264
|
});
|
|
1259
1265
|
|
|
1260
1266
|
async function run() {
|
|
1261
|
-
const res = await
|
|
1262
|
-
images: [
|
|
1263
|
-
|
|
1264
|
-
],
|
|
1265
|
-
});
|
|
1267
|
+
const res = await accountGetStaff(steamSets);
|
|
1266
1268
|
|
|
1267
1269
|
if (!res.ok) {
|
|
1268
1270
|
throw res.error;
|
|
@@ -1281,24 +1283,23 @@ run();
|
|
|
1281
1283
|
|
|
1282
1284
|
| Parameter | Type | Required | Description |
|
|
1283
1285
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1284
|
-
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1285
1286
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1286
1287
|
| `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. |
|
|
1287
1288
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1288
1289
|
|
|
1289
1290
|
### Response
|
|
1290
1291
|
|
|
1291
|
-
**Promise\<[operations.
|
|
1292
|
+
**Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
|
|
1292
1293
|
|
|
1293
1294
|
### Errors
|
|
1294
1295
|
|
|
1295
1296
|
| Error Type | Status Code | Content Type |
|
|
1296
1297
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1297
|
-
| errors.ErrorModel | 404,
|
|
1298
|
+
| errors.ErrorModel | 404, 429 | application/problem+json |
|
|
1298
1299
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1299
1300
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1300
1301
|
|
|
1301
|
-
##
|
|
1302
|
+
## accountV1ConnectionReconnect
|
|
1302
1303
|
|
|
1303
1304
|
### Example Usage
|
|
1304
1305
|
|
|
@@ -1310,7 +1311,10 @@ const steamSets = new SteamSets({
|
|
|
1310
1311
|
});
|
|
1311
1312
|
|
|
1312
1313
|
async function run() {
|
|
1313
|
-
const result = await steamSets.account.
|
|
1314
|
+
const result = await steamSets.account.accountV1ConnectionReconnect({
|
|
1315
|
+
code: "123456",
|
|
1316
|
+
connectionId: "123456",
|
|
1317
|
+
});
|
|
1314
1318
|
|
|
1315
1319
|
// Handle the result
|
|
1316
1320
|
console.log(result);
|
|
@@ -1325,7 +1329,7 @@ The standalone function version of this method:
|
|
|
1325
1329
|
|
|
1326
1330
|
```typescript
|
|
1327
1331
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1328
|
-
import {
|
|
1332
|
+
import { accountAccountV1ConnectionReconnect } from "@steamsets/client-ts/funcs/accountAccountV1ConnectionReconnect.js";
|
|
1329
1333
|
|
|
1330
1334
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1331
1335
|
// You can create one instance of it to use across an application.
|
|
@@ -1334,7 +1338,10 @@ const steamSets = new SteamSetsCore({
|
|
|
1334
1338
|
});
|
|
1335
1339
|
|
|
1336
1340
|
async function run() {
|
|
1337
|
-
const res = await
|
|
1341
|
+
const res = await accountAccountV1ConnectionReconnect(steamSets, {
|
|
1342
|
+
code: "123456",
|
|
1343
|
+
connectionId: "123456",
|
|
1344
|
+
});
|
|
1338
1345
|
|
|
1339
1346
|
if (!res.ok) {
|
|
1340
1347
|
throw res.error;
|
|
@@ -1353,24 +1360,24 @@ run();
|
|
|
1353
1360
|
|
|
1354
1361
|
| Parameter | Type | Required | Description |
|
|
1355
1362
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1356
|
-
| `request` | [components.
|
|
1363
|
+
| `request` | [components.V1ReconnectRequestBody](../../models/components/v1reconnectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1357
1364
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1358
1365
|
| `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. |
|
|
1359
1366
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1360
1367
|
|
|
1361
1368
|
### Response
|
|
1362
1369
|
|
|
1363
|
-
**Promise\<[operations.
|
|
1370
|
+
**Promise\<[operations.AccountV1ConnectionReconnectResponse](../../models/operations/accountv1connectionreconnectresponse.md)\>**
|
|
1364
1371
|
|
|
1365
1372
|
### Errors
|
|
1366
1373
|
|
|
1367
1374
|
| Error Type | Status Code | Content Type |
|
|
1368
1375
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1369
|
-
| errors.ErrorModel |
|
|
1376
|
+
| errors.ErrorModel | 400, 422 | application/problem+json |
|
|
1370
1377
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1371
1378
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1372
1379
|
|
|
1373
|
-
##
|
|
1380
|
+
## accountV1ImagesUpdate
|
|
1374
1381
|
|
|
1375
1382
|
### Example Usage
|
|
1376
1383
|
|
|
@@ -1382,7 +1389,7 @@ const steamSets = new SteamSets({
|
|
|
1382
1389
|
});
|
|
1383
1390
|
|
|
1384
1391
|
async function run() {
|
|
1385
|
-
const result = await steamSets.account.
|
|
1392
|
+
const result = await steamSets.account.accountV1ImagesUpdate({
|
|
1386
1393
|
images: [
|
|
1387
1394
|
|
|
1388
1395
|
],
|
|
@@ -1401,7 +1408,7 @@ The standalone function version of this method:
|
|
|
1401
1408
|
|
|
1402
1409
|
```typescript
|
|
1403
1410
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1404
|
-
import {
|
|
1411
|
+
import { accountAccountV1ImagesUpdate } from "@steamsets/client-ts/funcs/accountAccountV1ImagesUpdate.js";
|
|
1405
1412
|
|
|
1406
1413
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1407
1414
|
// You can create one instance of it to use across an application.
|
|
@@ -1410,7 +1417,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1410
1417
|
});
|
|
1411
1418
|
|
|
1412
1419
|
async function run() {
|
|
1413
|
-
const res = await
|
|
1420
|
+
const res = await accountAccountV1ImagesUpdate(steamSets, {
|
|
1414
1421
|
images: [
|
|
1415
1422
|
|
|
1416
1423
|
],
|
|
@@ -1433,24 +1440,24 @@ run();
|
|
|
1433
1440
|
|
|
1434
1441
|
| Parameter | Type | Required | Description |
|
|
1435
1442
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1436
|
-
| `request` | [components.
|
|
1443
|
+
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1437
1444
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1438
1445
|
| `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. |
|
|
1439
1446
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1440
1447
|
|
|
1441
1448
|
### Response
|
|
1442
1449
|
|
|
1443
|
-
**Promise\<[operations.
|
|
1450
|
+
**Promise\<[operations.AccountV1ImagesUpdateResponse](../../models/operations/accountv1imagesupdateresponse.md)\>**
|
|
1444
1451
|
|
|
1445
1452
|
### Errors
|
|
1446
1453
|
|
|
1447
1454
|
| Error Type | Status Code | Content Type |
|
|
1448
1455
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1449
|
-
| errors.ErrorModel | 422
|
|
1456
|
+
| errors.ErrorModel | 404, 422 | application/problem+json |
|
|
1450
1457
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1451
1458
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1452
1459
|
|
|
1453
|
-
##
|
|
1460
|
+
## accountV1SettingsUpdateRole
|
|
1454
1461
|
|
|
1455
1462
|
### Example Usage
|
|
1456
1463
|
|
|
@@ -1462,8 +1469,82 @@ const steamSets = new SteamSets({
|
|
|
1462
1469
|
});
|
|
1463
1470
|
|
|
1464
1471
|
async function run() {
|
|
1465
|
-
const result = await steamSets.account.
|
|
1466
|
-
|
|
1472
|
+
const result = await steamSets.account.accountV1SettingsUpdateRole({});
|
|
1473
|
+
|
|
1474
|
+
// Handle the result
|
|
1475
|
+
console.log(result);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
run();
|
|
1479
|
+
```
|
|
1480
|
+
|
|
1481
|
+
### Standalone function
|
|
1482
|
+
|
|
1483
|
+
The standalone function version of this method:
|
|
1484
|
+
|
|
1485
|
+
```typescript
|
|
1486
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1487
|
+
import { accountAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/accountAccountV1SettingsUpdateRole.js";
|
|
1488
|
+
|
|
1489
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1490
|
+
// You can create one instance of it to use across an application.
|
|
1491
|
+
const steamSets = new SteamSetsCore({
|
|
1492
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1493
|
+
});
|
|
1494
|
+
|
|
1495
|
+
async function run() {
|
|
1496
|
+
const res = await accountAccountV1SettingsUpdateRole(steamSets, {});
|
|
1497
|
+
|
|
1498
|
+
if (!res.ok) {
|
|
1499
|
+
throw res.error;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
const { value: result } = res;
|
|
1503
|
+
|
|
1504
|
+
// Handle the result
|
|
1505
|
+
console.log(result);
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
run();
|
|
1509
|
+
```
|
|
1510
|
+
|
|
1511
|
+
### Parameters
|
|
1512
|
+
|
|
1513
|
+
| Parameter | Type | Required | Description |
|
|
1514
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1515
|
+
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1516
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
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. |
|
|
1518
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1519
|
+
|
|
1520
|
+
### Response
|
|
1521
|
+
|
|
1522
|
+
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
1523
|
+
|
|
1524
|
+
### Errors
|
|
1525
|
+
|
|
1526
|
+
| Error Type | Status Code | Content Type |
|
|
1527
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
1528
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
1529
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
1530
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1531
|
+
|
|
1532
|
+
## uploadImages
|
|
1533
|
+
|
|
1534
|
+
### Example Usage
|
|
1535
|
+
|
|
1536
|
+
```typescript
|
|
1537
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
1538
|
+
|
|
1539
|
+
const steamSets = new SteamSets({
|
|
1540
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1541
|
+
});
|
|
1542
|
+
|
|
1543
|
+
async function run() {
|
|
1544
|
+
const result = await steamSets.account.uploadImages({
|
|
1545
|
+
images: [
|
|
1546
|
+
|
|
1547
|
+
],
|
|
1467
1548
|
});
|
|
1468
1549
|
|
|
1469
1550
|
// Handle the result
|
|
@@ -1479,7 +1560,7 @@ The standalone function version of this method:
|
|
|
1479
1560
|
|
|
1480
1561
|
```typescript
|
|
1481
1562
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1482
|
-
import {
|
|
1563
|
+
import { accountUploadImages } from "@steamsets/client-ts/funcs/accountUploadImages.js";
|
|
1483
1564
|
|
|
1484
1565
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1485
1566
|
// You can create one instance of it to use across an application.
|
|
@@ -1488,8 +1569,10 @@ const steamSets = new SteamSetsCore({
|
|
|
1488
1569
|
});
|
|
1489
1570
|
|
|
1490
1571
|
async function run() {
|
|
1491
|
-
const res = await
|
|
1492
|
-
|
|
1572
|
+
const res = await accountUploadImages(steamSets, {
|
|
1573
|
+
images: [
|
|
1574
|
+
|
|
1575
|
+
],
|
|
1493
1576
|
});
|
|
1494
1577
|
|
|
1495
1578
|
if (!res.ok) {
|
|
@@ -1509,20 +1592,20 @@ run();
|
|
|
1509
1592
|
|
|
1510
1593
|
| Parameter | Type | Required | Description |
|
|
1511
1594
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1512
|
-
| `request` | [components.
|
|
1595
|
+
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1513
1596
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1514
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. |
|
|
1515
1598
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1516
1599
|
|
|
1517
1600
|
### Response
|
|
1518
1601
|
|
|
1519
|
-
**Promise\<[operations.
|
|
1602
|
+
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
1520
1603
|
|
|
1521
1604
|
### Errors
|
|
1522
1605
|
|
|
1523
1606
|
| Error Type | Status Code | Content Type |
|
|
1524
1607
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1525
|
-
| errors.ErrorModel |
|
|
1608
|
+
| errors.ErrorModel | 422 | application/problem+json |
|
|
1526
1609
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1527
1610
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1528
1611
|
|