@steamsets/client-ts 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/docs/sdks/account/README.md +75 -69
- package/docs/sdks/connection/README.md +11 -12
- package/docs/sdks/liveness/README.md +2 -3
- package/docs/sdks/session/README.md +17 -15
- package/docs/sdks/settings/README.md +35 -30
- package/docs/sdks/steamsets/README.md +1 -5
- package/funcs/accountAccountV1ConnectionConnect.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionConnect.js +5 -2
- package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.js +5 -2
- package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.js +5 -2
- package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.js +5 -2
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/accountAccountV1GetApps.d.ts +2 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +18 -4
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +2 -1
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +18 -4
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts +2 -1
- package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionDelete.js +5 -2
- package/funcs/accountAccountV1SessionDelete.js.map +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts +2 -2
- package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionGet.js +4 -2
- package/funcs/accountAccountV1SessionGet.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.d.ts +1 -2
- package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +16 -8
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +2 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.js +5 -2
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +2 -2
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.js +5 -3
- package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts +2 -2
- package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGet.js +4 -2
- package/funcs/accountAccountV1SettingsGet.js.map +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.js +2 -3
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -2
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.js +4 -3
- package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +2 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.js +5 -2
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts +2 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.js +3 -3
- package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +2 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.js +5 -2
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +5 -2
- package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js +5 -2
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js +5 -2
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js +5 -2
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/livenessLiveness.d.ts +2 -2
- package/funcs/livenessLiveness.d.ts.map +1 -1
- package/funcs/livenessLiveness.js +2 -2
- package/funcs/livenessLiveness.js.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts +2 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.js +5 -2
- package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts +2 -2
- package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionGet.js +4 -2
- package/funcs/sessionAccountV1SessionGet.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.d.ts +1 -2
- package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +16 -8
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.js +5 -2
- package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +2 -2
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js +5 -3
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts +2 -2
- package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.js +4 -2
- package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js +2 -3
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -2
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +4 -3
- package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.js +5 -2
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.js +3 -3
- package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.js +5 -2
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/matchers.d.ts +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +10 -14
- package/lib/matchers.js.map +1 -1
- package/models/components/accountsearch.d.ts +29 -0
- package/models/components/accountsearch.d.ts.map +1 -0
- package/models/components/accountsearch.js +54 -0
- package/models/components/accountsearch.js.map +1 -0
- package/models/components/accountsearchidstruct.d.ts +33 -0
- package/models/components/accountsearchidstruct.d.ts.map +1 -0
- package/models/components/accountsearchidstruct.js +52 -0
- package/models/components/accountsearchidstruct.js.map +1 -0
- package/models/components/accountsearchvanitystruct.d.ts +65 -0
- package/models/components/accountsearchvanitystruct.d.ts.map +1 -0
- package/models/components/accountsearchvanitystruct.js +74 -0
- package/models/components/accountsearchvanitystruct.js.map +1 -0
- package/models/components/emailnotification.d.ts +8 -8
- package/models/components/emailnotification.d.ts.map +1 -1
- package/models/components/emailnotification.js +13 -13
- package/models/components/emailnotification.js.map +1 -1
- package/models/components/httpmetadata.d.ts +33 -0
- package/models/components/httpmetadata.d.ts.map +1 -0
- package/models/components/httpmetadata.js +71 -0
- package/models/components/httpmetadata.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/security.d.ts +2 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +2 -2
- package/models/components/security.js.map +1 -1
- package/models/errors/sdkerror.d.ts +8 -5
- package/models/errors/sdkerror.d.ts.map +1 -1
- package/models/errors/sdkerror.js +3 -9
- package/models/errors/sdkerror.js.map +1 -1
- package/models/operations/accountv1connectionconnect.d.ts +31 -0
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -0
- package/models/operations/accountv1connectionconnect.js +68 -0
- package/models/operations/accountv1connectionconnect.js.map +1 -0
- package/models/operations/accountv1connectiondeleteconnection.d.ts +31 -0
- package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -0
- package/models/operations/accountv1connectiondeleteconnection.js +68 -0
- package/models/operations/accountv1connectiondeleteconnection.js.map +1 -0
- package/models/operations/accountv1connectionupdateconnection.d.ts +31 -0
- package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -0
- package/models/operations/accountv1connectionupdateconnection.js +68 -0
- package/models/operations/accountv1connectionupdateconnection.js.map +1 -0
- package/models/operations/accountv1connectionverifyconnection.d.ts +31 -0
- package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -0
- package/models/operations/accountv1connectionverifyconnection.js +68 -0
- package/models/operations/accountv1connectionverifyconnection.js.map +1 -0
- package/models/operations/accountv1getapps.d.ts +31 -0
- package/models/operations/accountv1getapps.d.ts.map +1 -0
- package/models/operations/accountv1getapps.js +68 -0
- package/models/operations/accountv1getapps.js.map +1 -0
- package/models/operations/accountv1getbadges.d.ts +31 -0
- package/models/operations/accountv1getbadges.d.ts.map +1 -0
- package/models/operations/accountv1getbadges.js +68 -0
- package/models/operations/accountv1getbadges.js.map +1 -0
- package/models/operations/accountv1sessiondelete.d.ts +31 -0
- package/models/operations/accountv1sessiondelete.d.ts.map +1 -0
- package/models/operations/accountv1sessiondelete.js +68 -0
- package/models/operations/accountv1sessiondelete.js.map +1 -0
- package/models/operations/accountv1sessionget.d.ts +31 -0
- package/models/operations/accountv1sessionget.d.ts.map +1 -0
- package/models/operations/accountv1sessionget.js +68 -0
- package/models/operations/accountv1sessionget.js.map +1 -0
- package/models/operations/accountv1sessionlogin.d.ts +51 -0
- package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
- package/models/operations/accountv1sessionlogin.js +55 -1
- package/models/operations/accountv1sessionlogin.js.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +31 -0
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -0
- package/models/operations/accountv1settingsdeleteimages.js +68 -0
- package/models/operations/accountv1settingsdeleteimages.js.map +1 -0
- package/models/operations/accountv1settingsgenerateapikey.d.ts +31 -0
- package/models/operations/accountv1settingsgenerateapikey.d.ts.map +1 -0
- package/models/operations/accountv1settingsgenerateapikey.js +68 -0
- package/models/operations/accountv1settingsgenerateapikey.js.map +1 -0
- package/models/operations/accountv1settingsget.d.ts +31 -0
- package/models/operations/accountv1settingsget.d.ts.map +1 -0
- package/models/operations/accountv1settingsget.js +68 -0
- package/models/operations/accountv1settingsget.js.map +1 -0
- package/models/operations/accountv1settingssendemailverification.d.ts +24 -0
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
- package/models/operations/accountv1settingssendemailverification.js +33 -1
- package/models/operations/accountv1settingssendemailverification.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +28 -0
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +36 -1
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +31 -0
- package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -0
- package/models/operations/accountv1settingsupdateimage.js +68 -0
- package/models/operations/accountv1settingsupdateimage.js.map +1 -0
- package/models/operations/accountv1settingsuploadimages.d.ts +26 -0
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -0
- package/models/operations/accountv1settingsuploadimages.js +64 -0
- package/models/operations/accountv1settingsuploadimages.js.map +1 -0
- package/models/operations/accountv1settingsverfyemail.d.ts +31 -0
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -0
- package/models/operations/accountv1settingsverfyemail.js +68 -0
- package/models/operations/accountv1settingsverfyemail.js.map +1 -0
- package/models/operations/index.d.ts +15 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +15 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/liveness.d.ts +31 -0
- package/models/operations/liveness.d.ts.map +1 -0
- package/models/operations/liveness.js +68 -0
- package/models/operations/liveness.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +17 -17
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +6 -6
- package/sdk/account.js.map +1 -1
- package/sdk/connection.d.ts +5 -4
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js.map +1 -1
- package/sdk/liveness.d.ts +2 -2
- package/sdk/liveness.d.ts.map +1 -1
- package/sdk/session.d.ts +3 -3
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +2 -2
- package/sdk/session.js.map +1 -1
- package/sdk/settings.d.ts +8 -8
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionConnect.ts +7 -4
- package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +7 -4
- package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +7 -4
- package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +7 -4
- package/src/funcs/accountAccountV1GetApps.ts +27 -6
- package/src/funcs/accountAccountV1GetBadges.ts +27 -6
- package/src/funcs/accountAccountV1SessionDelete.ts +7 -4
- package/src/funcs/accountAccountV1SessionGet.ts +7 -5
- package/src/funcs/accountAccountV1SessionLogin.ts +19 -10
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +7 -4
- package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +7 -5
- package/src/funcs/accountAccountV1SettingsGet.ts +7 -5
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +4 -5
- package/src/funcs/accountAccountV1SettingsUpdate.ts +6 -5
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +7 -4
- package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -5
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +7 -4
- package/src/funcs/livenessLiveness.ts +5 -5
- package/src/funcs/sessionAccountV1SessionDelete.ts +7 -4
- package/src/funcs/sessionAccountV1SessionGet.ts +7 -5
- package/src/funcs/sessionAccountV1SessionLogin.ts +19 -10
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +7 -4
- package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +7 -5
- package/src/funcs/settingsAccountV1SettingsGet.ts +7 -5
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +4 -5
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +6 -5
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +7 -4
- package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -5
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +7 -4
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +12 -19
- package/src/models/components/accountsearch.ts +58 -0
- package/src/models/components/accountsearchidstruct.ts +55 -0
- package/src/models/components/accountsearchvanitystruct.ts +85 -0
- package/src/models/components/emailnotification.ts +14 -12
- package/src/models/components/httpmetadata.ts +70 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/security.ts +4 -4
- package/src/models/errors/sdkerror.ts +9 -13
- package/src/models/operations/accountv1connectionconnect.ts +68 -0
- package/src/models/operations/accountv1connectiondeleteconnection.ts +70 -0
- package/src/models/operations/accountv1connectionupdateconnection.ts +70 -0
- package/src/models/operations/accountv1connectionverifyconnection.ts +70 -0
- package/src/models/operations/accountv1getapps.ts +68 -0
- package/src/models/operations/accountv1getbadges.ts +68 -0
- package/src/models/operations/accountv1sessiondelete.ts +70 -0
- package/src/models/operations/accountv1sessionget.ts +68 -0
- package/src/models/operations/accountv1sessionlogin.ts +101 -0
- package/src/models/operations/accountv1settingsdeleteimages.ts +68 -0
- package/src/models/operations/accountv1settingsgenerateapikey.ts +70 -0
- package/src/models/operations/accountv1settingsget.ts +68 -0
- package/src/models/operations/accountv1settingssendemailverification.ts +53 -0
- package/src/models/operations/accountv1settingsupdate.ts +63 -0
- package/src/models/operations/accountv1settingsupdateimage.ts +68 -0
- package/src/models/operations/accountv1settingsuploadimages.ts +59 -0
- package/src/models/operations/accountv1settingsverfyemail.ts +68 -0
- package/src/models/operations/index.ts +15 -0
- package/src/models/operations/liveness.ts +64 -0
- package/src/sdk/account.ts +29 -20
- package/src/sdk/connection.ts +5 -4
- package/src/sdk/liveness.ts +2 -2
- package/src/sdk/session.ts +7 -4
- package/src/sdk/settings.ts +10 -8
|
@@ -38,7 +38,6 @@ async function run() {
|
|
|
38
38
|
run();
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
|
|
42
41
|
### Standalone function
|
|
43
42
|
|
|
44
43
|
The standalone function version of this method:
|
|
@@ -81,10 +80,10 @@ run();
|
|
|
81
80
|
| `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. |
|
|
82
81
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
83
82
|
|
|
84
|
-
|
|
85
83
|
### Response
|
|
86
84
|
|
|
87
|
-
**Promise\<[
|
|
85
|
+
**Promise\<[operations.AccountV1ConnectionConnectResponse](../../models/operations/accountv1connectionconnectresponse.md)\>**
|
|
86
|
+
|
|
88
87
|
### Errors
|
|
89
88
|
|
|
90
89
|
| Error Object | Status Code | Content Type |
|
|
@@ -92,6 +91,7 @@ run();
|
|
|
92
91
|
| errors.ErrorModel | 400,422,500 | application/problem+json |
|
|
93
92
|
| errors.SDKError | 4xx-5xx | */* |
|
|
94
93
|
|
|
94
|
+
|
|
95
95
|
## accountV1ConnectionDeleteConnection
|
|
96
96
|
|
|
97
97
|
Remove a connection
|
|
@@ -117,7 +117,6 @@ async function run() {
|
|
|
117
117
|
run();
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
|
|
121
120
|
### Standalone function
|
|
122
121
|
|
|
123
122
|
The standalone function version of this method:
|
|
@@ -159,10 +158,10 @@ run();
|
|
|
159
158
|
| `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. |
|
|
160
159
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
161
160
|
|
|
162
|
-
|
|
163
161
|
### Response
|
|
164
162
|
|
|
165
|
-
**Promise\<[
|
|
163
|
+
**Promise\<[operations.AccountV1ConnectionDeleteConnectionResponse](../../models/operations/accountv1connectiondeleteconnectionresponse.md)\>**
|
|
164
|
+
|
|
166
165
|
### Errors
|
|
167
166
|
|
|
168
167
|
| Error Object | Status Code | Content Type |
|
|
@@ -170,6 +169,7 @@ run();
|
|
|
170
169
|
| errors.ErrorModel | 400,422,500 | application/problem+json |
|
|
171
170
|
| errors.SDKError | 4xx-5xx | */* |
|
|
172
171
|
|
|
172
|
+
|
|
173
173
|
## accountV1ConnectionUpdateConnection
|
|
174
174
|
|
|
175
175
|
Make a connection visible/invisible
|
|
@@ -196,7 +196,6 @@ async function run() {
|
|
|
196
196
|
run();
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
|
|
200
199
|
### Standalone function
|
|
201
200
|
|
|
202
201
|
The standalone function version of this method:
|
|
@@ -239,10 +238,10 @@ run();
|
|
|
239
238
|
| `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. |
|
|
240
239
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
241
240
|
|
|
242
|
-
|
|
243
241
|
### Response
|
|
244
242
|
|
|
245
|
-
**Promise\<[
|
|
243
|
+
**Promise\<[operations.AccountV1ConnectionUpdateConnectionResponse](../../models/operations/accountv1connectionupdateconnectionresponse.md)\>**
|
|
244
|
+
|
|
246
245
|
### Errors
|
|
247
246
|
|
|
248
247
|
| Error Object | Status Code | Content Type |
|
|
@@ -250,6 +249,7 @@ run();
|
|
|
250
249
|
| errors.ErrorModel | 400,404,422,500 | application/problem+json |
|
|
251
250
|
| errors.SDKError | 4xx-5xx | */* |
|
|
252
251
|
|
|
252
|
+
|
|
253
253
|
## accountV1ConnectionVerifyConnection
|
|
254
254
|
|
|
255
255
|
Verify a domain connection only atm
|
|
@@ -275,7 +275,6 @@ async function run() {
|
|
|
275
275
|
run();
|
|
276
276
|
```
|
|
277
277
|
|
|
278
|
-
|
|
279
278
|
### Standalone function
|
|
280
279
|
|
|
281
280
|
The standalone function version of this method:
|
|
@@ -317,10 +316,10 @@ run();
|
|
|
317
316
|
| `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. |
|
|
318
317
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
319
318
|
|
|
320
|
-
|
|
321
319
|
### Response
|
|
322
320
|
|
|
323
|
-
**Promise\<[
|
|
321
|
+
**Promise\<[operations.AccountV1ConnectionVerifyConnectionResponse](../../models/operations/accountv1connectionverifyconnectionresponse.md)\>**
|
|
322
|
+
|
|
324
323
|
### Errors
|
|
325
324
|
|
|
326
325
|
| Error Object | Status Code | Content Type |
|
|
@@ -32,7 +32,6 @@ async function run() {
|
|
|
32
32
|
run();
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
36
35
|
### Standalone function
|
|
37
36
|
|
|
38
37
|
The standalone function version of this method:
|
|
@@ -71,10 +70,10 @@ run();
|
|
|
71
70
|
| `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. |
|
|
72
71
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
73
72
|
|
|
74
|
-
|
|
75
73
|
### Response
|
|
76
74
|
|
|
77
|
-
**Promise\<[
|
|
75
|
+
**Promise\<[operations.LivenessResponse](../../models/operations/livenessresponse.md)\>**
|
|
76
|
+
|
|
78
77
|
### Errors
|
|
79
78
|
|
|
80
79
|
| Error Object | Status Code | Content Type |
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Session
|
|
2
2
|
(*session*)
|
|
3
3
|
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
4
6
|
### Available Operations
|
|
5
7
|
|
|
6
8
|
* [accountV1SessionDelete](#accountv1sessiondelete) - Deletes a session, can also be used to logout
|
|
@@ -32,7 +34,6 @@ async function run() {
|
|
|
32
34
|
run();
|
|
33
35
|
```
|
|
34
36
|
|
|
35
|
-
|
|
36
37
|
### Standalone function
|
|
37
38
|
|
|
38
39
|
The standalone function version of this method:
|
|
@@ -74,10 +75,10 @@ run();
|
|
|
74
75
|
| `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. |
|
|
75
76
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
76
77
|
|
|
77
|
-
|
|
78
78
|
### Response
|
|
79
79
|
|
|
80
|
-
**Promise\<[
|
|
80
|
+
**Promise\<[operations.AccountV1SessionDeleteResponse](../../models/operations/accountv1sessiondeleteresponse.md)\>**
|
|
81
|
+
|
|
81
82
|
### Errors
|
|
82
83
|
|
|
83
84
|
| Error Object | Status Code | Content Type |
|
|
@@ -85,6 +86,7 @@ run();
|
|
|
85
86
|
| errors.ErrorModel | 404,422,500 | application/problem+json |
|
|
86
87
|
| errors.SDKError | 4xx-5xx | */* |
|
|
87
88
|
|
|
89
|
+
|
|
88
90
|
## accountV1SessionGet
|
|
89
91
|
|
|
90
92
|
Gets all session data
|
|
@@ -108,7 +110,6 @@ async function run() {
|
|
|
108
110
|
run();
|
|
109
111
|
```
|
|
110
112
|
|
|
111
|
-
|
|
112
113
|
### Standalone function
|
|
113
114
|
|
|
114
115
|
The standalone function version of this method:
|
|
@@ -147,10 +148,10 @@ run();
|
|
|
147
148
|
| `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. |
|
|
148
149
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
149
150
|
|
|
150
|
-
|
|
151
151
|
### Response
|
|
152
152
|
|
|
153
|
-
**Promise\<[
|
|
153
|
+
**Promise\<[operations.AccountV1SessionGetResponse](../../models/operations/accountv1sessiongetresponse.md)\>**
|
|
154
|
+
|
|
154
155
|
### Errors
|
|
155
156
|
|
|
156
157
|
| Error Object | Status Code | Content Type |
|
|
@@ -158,6 +159,7 @@ run();
|
|
|
158
159
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
159
160
|
| errors.SDKError | 4xx-5xx | */* |
|
|
160
161
|
|
|
162
|
+
|
|
161
163
|
## accountV1SessionLogin
|
|
162
164
|
|
|
163
165
|
Logs a user in and creates a new session
|
|
@@ -167,9 +169,7 @@ Logs a user in and creates a new session
|
|
|
167
169
|
```typescript
|
|
168
170
|
import { SteamSets } from "@steamsets/client-ts";
|
|
169
171
|
|
|
170
|
-
const steamSets = new SteamSets(
|
|
171
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
172
|
-
});
|
|
172
|
+
const steamSets = new SteamSets();
|
|
173
173
|
|
|
174
174
|
async function run() {
|
|
175
175
|
const result = await steamSets.session.accountV1SessionLogin({
|
|
@@ -185,6 +185,8 @@ async function run() {
|
|
|
185
185
|
openidSig: "123456",
|
|
186
186
|
openidSigned: "123456",
|
|
187
187
|
},
|
|
188
|
+
}, {
|
|
189
|
+
anonymous: "<YOUR_BEARER_TOKEN_HERE>",
|
|
188
190
|
});
|
|
189
191
|
|
|
190
192
|
// Handle the result
|
|
@@ -194,7 +196,6 @@ async function run() {
|
|
|
194
196
|
run();
|
|
195
197
|
```
|
|
196
198
|
|
|
197
|
-
|
|
198
199
|
### Standalone function
|
|
199
200
|
|
|
200
201
|
The standalone function version of this method:
|
|
@@ -205,9 +206,7 @@ import { sessionAccountV1SessionLogin } from "@steamsets/client-ts/funcs/session
|
|
|
205
206
|
|
|
206
207
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
207
208
|
// You can create one instance of it to use across an application.
|
|
208
|
-
const steamSets = new SteamSetsCore(
|
|
209
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
210
|
-
});
|
|
209
|
+
const steamSets = new SteamSetsCore();
|
|
211
210
|
|
|
212
211
|
async function run() {
|
|
213
212
|
const res = await sessionAccountV1SessionLogin(steamSets, {
|
|
@@ -223,6 +222,8 @@ async function run() {
|
|
|
223
222
|
openidSig: "123456",
|
|
224
223
|
openidSigned: "123456",
|
|
225
224
|
},
|
|
225
|
+
}, {
|
|
226
|
+
anonymous: "<YOUR_BEARER_TOKEN_HERE>",
|
|
226
227
|
});
|
|
227
228
|
|
|
228
229
|
if (!res.ok) {
|
|
@@ -243,14 +244,15 @@ run();
|
|
|
243
244
|
| Parameter | Type | Required | Description |
|
|
244
245
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
245
246
|
| `request` | [operations.AccountV1SessionLoginRequest](../../models/operations/accountv1sessionloginrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
247
|
+
| `security` | [operations.AccountV1SessionLoginSecurity](../../models/operations/accountv1sessionloginsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
246
248
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
247
249
|
| `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. |
|
|
248
250
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
249
251
|
|
|
250
|
-
|
|
251
252
|
### Response
|
|
252
253
|
|
|
253
|
-
**Promise\<[
|
|
254
|
+
**Promise\<[operations.AccountV1SessionLoginResponse](../../models/operations/accountv1sessionloginresponse.md)\>**
|
|
255
|
+
|
|
254
256
|
### Errors
|
|
255
257
|
|
|
256
258
|
| Error Object | Status Code | Content Type |
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Settings
|
|
2
2
|
(*settings*)
|
|
3
3
|
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
4
6
|
### Available Operations
|
|
5
7
|
|
|
6
8
|
* [accountV1SettingsDeleteImages](#accountv1settingsdeleteimages) - Delete mulitple imagest
|
|
@@ -42,7 +44,6 @@ async function run() {
|
|
|
42
44
|
run();
|
|
43
45
|
```
|
|
44
46
|
|
|
45
|
-
|
|
46
47
|
### Standalone function
|
|
47
48
|
|
|
48
49
|
The standalone function version of this method:
|
|
@@ -89,10 +90,10 @@ run();
|
|
|
89
90
|
| `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. |
|
|
90
91
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
91
92
|
|
|
92
|
-
|
|
93
93
|
### Response
|
|
94
94
|
|
|
95
|
-
**Promise\<[
|
|
95
|
+
**Promise\<[operations.AccountV1SettingsDeleteImagesResponse](../../models/operations/accountv1settingsdeleteimagesresponse.md)\>**
|
|
96
|
+
|
|
96
97
|
### Errors
|
|
97
98
|
|
|
98
99
|
| Error Object | Status Code | Content Type |
|
|
@@ -100,6 +101,7 @@ run();
|
|
|
100
101
|
| errors.ErrorModel | 404,422,500 | application/problem+json |
|
|
101
102
|
| errors.SDKError | 4xx-5xx | */* |
|
|
102
103
|
|
|
104
|
+
|
|
103
105
|
## accountV1SettingsGenerateApiKey
|
|
104
106
|
|
|
105
107
|
Generate a new API key for the account
|
|
@@ -123,7 +125,6 @@ async function run() {
|
|
|
123
125
|
run();
|
|
124
126
|
```
|
|
125
127
|
|
|
126
|
-
|
|
127
128
|
### Standalone function
|
|
128
129
|
|
|
129
130
|
The standalone function version of this method:
|
|
@@ -162,10 +163,10 @@ run();
|
|
|
162
163
|
| `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. |
|
|
163
164
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
164
165
|
|
|
165
|
-
|
|
166
166
|
### Response
|
|
167
167
|
|
|
168
|
-
**Promise\<[
|
|
168
|
+
**Promise\<[operations.AccountV1SettingsGenerateApiKeyResponse](../../models/operations/accountv1settingsgenerateapikeyresponse.md)\>**
|
|
169
|
+
|
|
169
170
|
### Errors
|
|
170
171
|
|
|
171
172
|
| Error Object | Status Code | Content Type |
|
|
@@ -173,6 +174,7 @@ run();
|
|
|
173
174
|
| errors.ErrorModel | 404,429,500 | application/problem+json |
|
|
174
175
|
| errors.SDKError | 4xx-5xx | */* |
|
|
175
176
|
|
|
177
|
+
|
|
176
178
|
## accountV1SettingsGet
|
|
177
179
|
|
|
178
180
|
Gets all settings for the account
|
|
@@ -196,7 +198,6 @@ async function run() {
|
|
|
196
198
|
run();
|
|
197
199
|
```
|
|
198
200
|
|
|
199
|
-
|
|
200
201
|
### Standalone function
|
|
201
202
|
|
|
202
203
|
The standalone function version of this method:
|
|
@@ -235,10 +236,10 @@ run();
|
|
|
235
236
|
| `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. |
|
|
236
237
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
237
238
|
|
|
238
|
-
|
|
239
239
|
### Response
|
|
240
240
|
|
|
241
|
-
**Promise\<[
|
|
241
|
+
**Promise\<[operations.AccountV1SettingsGetResponse](../../models/operations/accountv1settingsgetresponse.md)\>**
|
|
242
|
+
|
|
242
243
|
### Errors
|
|
243
244
|
|
|
244
245
|
| Error Object | Status Code | Content Type |
|
|
@@ -246,6 +247,7 @@ run();
|
|
|
246
247
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
247
248
|
| errors.SDKError | 4xx-5xx | */* |
|
|
248
249
|
|
|
250
|
+
|
|
249
251
|
## accountV1SettingsSendEmailVerification
|
|
250
252
|
|
|
251
253
|
Resend the verification code for an email
|
|
@@ -260,15 +262,15 @@ const steamSets = new SteamSets({
|
|
|
260
262
|
});
|
|
261
263
|
|
|
262
264
|
async function run() {
|
|
263
|
-
await steamSets.settings.accountV1SettingsSendEmailVerification({});
|
|
265
|
+
const result = await steamSets.settings.accountV1SettingsSendEmailVerification({});
|
|
264
266
|
|
|
265
|
-
|
|
267
|
+
// Handle the result
|
|
268
|
+
console.log(result)
|
|
266
269
|
}
|
|
267
270
|
|
|
268
271
|
run();
|
|
269
272
|
```
|
|
270
273
|
|
|
271
|
-
|
|
272
274
|
### Standalone function
|
|
273
275
|
|
|
274
276
|
The standalone function version of this method:
|
|
@@ -292,7 +294,8 @@ async function run() {
|
|
|
292
294
|
|
|
293
295
|
const { value: result } = res;
|
|
294
296
|
|
|
295
|
-
|
|
297
|
+
// Handle the result
|
|
298
|
+
console.log(result)
|
|
296
299
|
}
|
|
297
300
|
|
|
298
301
|
run();
|
|
@@ -307,10 +310,10 @@ run();
|
|
|
307
310
|
| `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. |
|
|
308
311
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
309
312
|
|
|
310
|
-
|
|
311
313
|
### Response
|
|
312
314
|
|
|
313
|
-
**Promise\<
|
|
315
|
+
**Promise\<[operations.AccountV1SettingsSendEmailVerificationResponse](../../models/operations/accountv1settingssendemailverificationresponse.md)\>**
|
|
316
|
+
|
|
314
317
|
### Errors
|
|
315
318
|
|
|
316
319
|
| Error Object | Status Code | Content Type |
|
|
@@ -318,6 +321,7 @@ run();
|
|
|
318
321
|
| errors.ErrorModel | 404,422,429,500 | application/problem+json |
|
|
319
322
|
| errors.SDKError | 4xx-5xx | */* |
|
|
320
323
|
|
|
324
|
+
|
|
321
325
|
## accountV1SettingsUpdateImage
|
|
322
326
|
|
|
323
327
|
Update one of the uploaded images
|
|
@@ -344,7 +348,6 @@ async function run() {
|
|
|
344
348
|
run();
|
|
345
349
|
```
|
|
346
350
|
|
|
347
|
-
|
|
348
351
|
### Standalone function
|
|
349
352
|
|
|
350
353
|
The standalone function version of this method:
|
|
@@ -387,10 +390,10 @@ run();
|
|
|
387
390
|
| `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. |
|
|
388
391
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
389
392
|
|
|
390
|
-
|
|
391
393
|
### Response
|
|
392
394
|
|
|
393
|
-
**Promise\<[
|
|
395
|
+
**Promise\<[operations.AccountV1SettingsUpdateImageResponse](../../models/operations/accountv1settingsupdateimageresponse.md)\>**
|
|
396
|
+
|
|
394
397
|
### Errors
|
|
395
398
|
|
|
396
399
|
| Error Object | Status Code | Content Type |
|
|
@@ -398,6 +401,7 @@ run();
|
|
|
398
401
|
| errors.ErrorModel | 404,422,500 | application/problem+json |
|
|
399
402
|
| errors.SDKError | 4xx-5xx | */* |
|
|
400
403
|
|
|
404
|
+
|
|
401
405
|
## accountV1SettingsUpdate
|
|
402
406
|
|
|
403
407
|
Update settings for the logged in account
|
|
@@ -437,7 +441,6 @@ async function run() {
|
|
|
437
441
|
run();
|
|
438
442
|
```
|
|
439
443
|
|
|
440
|
-
|
|
441
444
|
### Standalone function
|
|
442
445
|
|
|
443
446
|
The standalone function version of this method:
|
|
@@ -493,10 +496,10 @@ run();
|
|
|
493
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. |
|
|
494
497
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
495
498
|
|
|
496
|
-
|
|
497
499
|
### Response
|
|
498
500
|
|
|
499
|
-
**Promise\<[
|
|
501
|
+
**Promise\<[operations.AccountV1SettingsUpdateResponse](../../models/operations/accountv1settingsupdateresponse.md)\>**
|
|
502
|
+
|
|
500
503
|
### Errors
|
|
501
504
|
|
|
502
505
|
| Error Object | Status Code | Content Type |
|
|
@@ -504,6 +507,7 @@ run();
|
|
|
504
507
|
| errors.ErrorModel | 422,429,500 | application/problem+json |
|
|
505
508
|
| errors.SDKError | 4xx-5xx | */* |
|
|
506
509
|
|
|
510
|
+
|
|
507
511
|
## accountV1SettingsUploadImages
|
|
508
512
|
|
|
509
513
|
Multi Upload Endpoint for images
|
|
@@ -518,7 +522,7 @@ const steamSets = new SteamSets({
|
|
|
518
522
|
});
|
|
519
523
|
|
|
520
524
|
async function run() {
|
|
521
|
-
await steamSets.settings.accountV1SettingsUploadImages({
|
|
525
|
+
const result = await steamSets.settings.accountV1SettingsUploadImages({
|
|
522
526
|
images: [
|
|
523
527
|
{
|
|
524
528
|
data: "base64_encoded_image",
|
|
@@ -527,13 +531,13 @@ async function run() {
|
|
|
527
531
|
],
|
|
528
532
|
});
|
|
529
533
|
|
|
530
|
-
|
|
534
|
+
// Handle the result
|
|
535
|
+
console.log(result)
|
|
531
536
|
}
|
|
532
537
|
|
|
533
538
|
run();
|
|
534
539
|
```
|
|
535
540
|
|
|
536
|
-
|
|
537
541
|
### Standalone function
|
|
538
542
|
|
|
539
543
|
The standalone function version of this method:
|
|
@@ -564,7 +568,8 @@ async function run() {
|
|
|
564
568
|
|
|
565
569
|
const { value: result } = res;
|
|
566
570
|
|
|
567
|
-
|
|
571
|
+
// Handle the result
|
|
572
|
+
console.log(result)
|
|
568
573
|
}
|
|
569
574
|
|
|
570
575
|
run();
|
|
@@ -579,10 +584,10 @@ run();
|
|
|
579
584
|
| `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. |
|
|
580
585
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
581
586
|
|
|
582
|
-
|
|
583
587
|
### Response
|
|
584
588
|
|
|
585
|
-
**Promise\<
|
|
589
|
+
**Promise\<[operations.AccountV1SettingsUploadImagesResponse](../../models/operations/accountv1settingsuploadimagesresponse.md)\>**
|
|
590
|
+
|
|
586
591
|
### Errors
|
|
587
592
|
|
|
588
593
|
| Error Object | Status Code | Content Type |
|
|
@@ -590,6 +595,7 @@ run();
|
|
|
590
595
|
| errors.ErrorModel | 422,500 | application/problem+json |
|
|
591
596
|
| errors.SDKError | 4xx-5xx | */* |
|
|
592
597
|
|
|
598
|
+
|
|
593
599
|
## accountV1SettingsVerfyEmail
|
|
594
600
|
|
|
595
601
|
Verify the email by passing in the code the user should've gotten
|
|
@@ -615,7 +621,6 @@ async function run() {
|
|
|
615
621
|
run();
|
|
616
622
|
```
|
|
617
623
|
|
|
618
|
-
|
|
619
624
|
### Standalone function
|
|
620
625
|
|
|
621
626
|
The standalone function version of this method:
|
|
@@ -657,10 +662,10 @@ run();
|
|
|
657
662
|
| `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. |
|
|
658
663
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
659
664
|
|
|
660
|
-
|
|
661
665
|
### Response
|
|
662
666
|
|
|
663
|
-
**Promise\<[
|
|
667
|
+
**Promise\<[operations.AccountV1SettingsVerfyEmailResponse](../../models/operations/accountv1settingsverfyemailresponse.md)\>**
|
|
668
|
+
|
|
664
669
|
### Errors
|
|
665
670
|
|
|
666
671
|
| Error Object | Status Code | Content Type |
|
|
@@ -5,9 +5,10 @@ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeo
|
|
|
5
5
|
import * as errors from "../models/errors/index.js";
|
|
6
6
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
7
7
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
8
9
|
import { Result } from "../types/fp.js";
|
|
9
10
|
/**
|
|
10
11
|
* Connect a new Social Provider
|
|
11
12
|
*/
|
|
12
|
-
export declare function accountAccountV1ConnectionConnect(client$: SteamSetsCore, request: components.V1ConnectRequestBody, options?: RequestOptions): Promise<Result<
|
|
13
|
+
export declare function accountAccountV1ConnectionConnect(client$: SteamSetsCore, request: components.V1ConnectRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1ConnectionConnectResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
14
|
//# sourceMappingURL=accountAccountV1ConnectionConnect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionConnect.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,iCAAiC,CACnD,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionConnect.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,iCAAiC,CACnD,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,UAAU,CAAC,kCAAkC,EAC3C,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CACpB,CACJ,CAuFA"}
|
|
@@ -34,6 +34,7 @@ const security_js_1 = require("../lib/security.js");
|
|
|
34
34
|
const url_js_1 = require("../lib/url.js");
|
|
35
35
|
const components = __importStar(require("../models/components/index.js"));
|
|
36
36
|
const errors = __importStar(require("../models/errors/index.js"));
|
|
37
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
37
38
|
/**
|
|
38
39
|
* Connect a new Social Provider
|
|
39
40
|
*/
|
|
@@ -84,9 +85,11 @@ async function accountAccountV1ConnectionConnect(client$, request, options) {
|
|
|
84
85
|
const responseFields$ = {
|
|
85
86
|
HttpMeta: { Response: response, Request: request$ },
|
|
86
87
|
};
|
|
87
|
-
const [result$] = await m$.match(m$.json(200,
|
|
88
|
+
const [result$] = await m$.match(m$.json(200, operations.AccountV1ConnectionConnectResponse$inboundSchema, {
|
|
89
|
+
key: "V1ConnectResponseBody",
|
|
90
|
+
}), m$.jsonErr([400, 422, 500], errors.ErrorModel$inboundSchema, {
|
|
88
91
|
ctype: "application/problem+json",
|
|
89
|
-
}), m$.fail(["4XX", "5XX"]))(response, { extraFields: responseFields$ });
|
|
92
|
+
}), m$.fail(["4XX", "5XX"]))(response, request$, { extraFields: responseFields$ });
|
|
90
93
|
if (!result$.ok) {
|
|
91
94
|
return result$;
|
|
92
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionConnect.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionConnect.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":"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"}
|
|
@@ -5,9 +5,10 @@ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeo
|
|
|
5
5
|
import * as errors from "../models/errors/index.js";
|
|
6
6
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
7
7
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
8
9
|
import { Result } from "../types/fp.js";
|
|
9
10
|
/**
|
|
10
11
|
* Remove a connection
|
|
11
12
|
*/
|
|
12
|
-
export declare function accountAccountV1ConnectionDeleteConnection(client$: SteamSetsCore, request: components.V1DeleteConnectionRequestBody, options?: RequestOptions): Promise<Result<
|
|
13
|
+
export declare function accountAccountV1ConnectionDeleteConnection(client$: SteamSetsCore, request: components.V1DeleteConnectionRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1ConnectionDeleteConnectionResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
14
|
//# sourceMappingURL=accountAccountV1ConnectionDeleteConnection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionDeleteConnection.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionDeleteConnection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,0CAA0C,CAC5D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionDeleteConnection.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionDeleteConnection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,0CAA0C,CAC5D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CACpB,CACJ,CAuFA"}
|