@steamsets/client-ts 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -37
- package/docs/sdks/account/README.md +122 -36
- package/docs/sdks/connection/README.md +4 -4
- package/docs/sdks/liveness/README.md +1 -1
- package/docs/sdks/session/README.md +84 -10
- package/docs/sdks/settings/README.md +18 -14
- 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 -2
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +11 -5
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +2 -2
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +11 -5
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1SessionCreate.d.ts +13 -0
- package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -0
- package/funcs/accountAccountV1SessionCreate.js +112 -0
- package/funcs/accountAccountV1SessionCreate.js.map +1 -0
- 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 +9 -15
- 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/sessionAccountV1SessionCreate.d.ts +13 -0
- package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -0
- package/funcs/sessionAccountV1SessionCreate.js +112 -0
- package/funcs/sessionAccountV1SessionCreate.js.map +1 -0
- 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 +9 -15
- 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 +2 -2
- package/lib/config.js +2 -2
- 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/accountsearchvanitystruct.d.ts +4 -4
- package/models/components/accountsearchvanitystruct.d.ts.map +1 -1
- package/models/components/accountsearchvanitystruct.js +4 -4
- package/models/components/accountsearchvanitystruct.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 +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/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/components/v1createsessionbody.d.ts +33 -0
- package/models/components/v1createsessionbody.d.ts.map +1 -0
- package/models/components/v1createsessionbody.js +65 -0
- package/models/components/v1createsessionbody.js.map +1 -0
- 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 +56 -0
- package/models/operations/accountv1getapps.d.ts.map +1 -0
- package/models/operations/accountv1getapps.js +103 -0
- package/models/operations/accountv1getapps.js.map +1 -0
- package/models/operations/accountv1getbadges.d.ts +56 -0
- package/models/operations/accountv1getbadges.d.ts.map +1 -0
- package/models/operations/accountv1getbadges.js +103 -0
- package/models/operations/accountv1getbadges.js.map +1 -0
- package/models/operations/accountv1sessioncreate.d.ts +60 -0
- package/models/operations/accountv1sessioncreate.d.ts.map +1 -0
- package/models/operations/accountv1sessioncreate.js +111 -0
- package/models/operations/accountv1sessioncreate.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 +27 -22
- package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
- package/models/operations/accountv1sessionlogin.js +36 -20
- 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 +16 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +16 -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 +21 -17
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +9 -2
- 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 +7 -3
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +9 -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 +15 -9
- package/src/funcs/accountAccountV1GetBadges.ts +15 -9
- package/src/funcs/accountAccountV1SessionCreate.ts +146 -0
- package/src/funcs/accountAccountV1SessionDelete.ts +7 -4
- package/src/funcs/accountAccountV1SessionGet.ts +7 -5
- package/src/funcs/accountAccountV1SessionLogin.ts +11 -18
- 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/sessionAccountV1SessionCreate.ts +146 -0
- package/src/funcs/sessionAccountV1SessionDelete.ts +7 -4
- package/src/funcs/sessionAccountV1SessionGet.ts +7 -5
- package/src/funcs/sessionAccountV1SessionLogin.ts +11 -18
- 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 +2 -2
- package/src/lib/matchers.ts +12 -19
- package/src/models/components/accountsearchvanitystruct.ts +8 -8
- package/src/models/components/httpmetadata.ts +70 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/security.ts +4 -4
- package/src/models/components/v1createsessionbody.ts +68 -0
- 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 +126 -0
- package/src/models/operations/accountv1getbadges.ts +126 -0
- package/src/models/operations/accountv1sessioncreate.ts +138 -0
- package/src/models/operations/accountv1sessiondelete.ts +70 -0
- package/src/models/operations/accountv1sessionget.ts +68 -0
- package/src/models/operations/accountv1sessionlogin.ts +59 -38
- 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 +16 -0
- package/src/models/operations/liveness.ts +64 -0
- package/src/sdk/account.ts +35 -21
- package/src/sdk/connection.ts +5 -4
- package/src/sdk/liveness.ts +2 -2
- package/src/sdk/session.ts +17 -5
- package/src/sdk/settings.ts +10 -8
package/README.md
CHANGED
|
@@ -96,6 +96,7 @@ run();
|
|
|
96
96
|
* [accountV1SettingsUploadImages](docs/sdks/account/README.md#accountv1settingsuploadimages) - Multi Upload Endpoint for images
|
|
97
97
|
* [accountV1ConnectionVerifyConnection](docs/sdks/account/README.md#accountv1connectionverifyconnection) - Verify a domain connection only atm
|
|
98
98
|
* [accountV1SettingsVerfyEmail](docs/sdks/account/README.md#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
|
|
99
|
+
* [accountV1SessionCreate](docs/sdks/account/README.md#accountv1sessioncreate) - Create a new session for non logged in users
|
|
99
100
|
|
|
100
101
|
### [connection](docs/sdks/connection/README.md)
|
|
101
102
|
|
|
@@ -120,6 +121,7 @@ run();
|
|
|
120
121
|
* [accountV1SessionDelete](docs/sdks/session/README.md#accountv1sessiondelete) - Deletes a session, can also be used to logout
|
|
121
122
|
* [accountV1SessionGet](docs/sdks/session/README.md#accountv1sessionget) - Gets all session data
|
|
122
123
|
* [accountV1SessionLogin](docs/sdks/session/README.md#accountv1sessionlogin) - Logs a user in and creates a new session
|
|
124
|
+
* [accountV1SessionCreate](docs/sdks/session/README.md#accountv1sessioncreate) - Create a new session for non logged in users
|
|
123
125
|
|
|
124
126
|
### [liveness](docs/sdks/liveness/README.md)
|
|
125
127
|
|
|
@@ -398,43 +400,6 @@ async function run() {
|
|
|
398
400
|
|
|
399
401
|
run();
|
|
400
402
|
|
|
401
|
-
```
|
|
402
|
-
|
|
403
|
-
### Per-Operation Security Schemes
|
|
404
|
-
|
|
405
|
-
Some operations in this SDK require the security scheme to be specified at the request level. For example:
|
|
406
|
-
```typescript
|
|
407
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
408
|
-
|
|
409
|
-
const steamSets = new SteamSets();
|
|
410
|
-
|
|
411
|
-
async function run() {
|
|
412
|
-
const result = await steamSets.account.accountV1SessionLogin(
|
|
413
|
-
{
|
|
414
|
-
loginRequestBody: {
|
|
415
|
-
openidAssocHandle: "123456",
|
|
416
|
-
openidClaimedId: "76561198842603734",
|
|
417
|
-
openidIdentity: "https://steamsets.com/api/v1/openid/login",
|
|
418
|
-
openidMode: "checkid_setup",
|
|
419
|
-
openidNs: "http://specs.openid.net/auth/2.0",
|
|
420
|
-
openidOpEndpoint: "https://steamsets.com/api/v1/openid/login",
|
|
421
|
-
openidResponseNonce: "123456",
|
|
422
|
-
openidReturnTo: "https://steamsets.com/api/v1/openid/login",
|
|
423
|
-
openidSig: "123456",
|
|
424
|
-
openidSigned: "123456",
|
|
425
|
-
},
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
anonymous: "<YOUR_BEARER_TOKEN_HERE>",
|
|
429
|
-
}
|
|
430
|
-
);
|
|
431
|
-
|
|
432
|
-
// Handle the result
|
|
433
|
-
console.log(result);
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
run();
|
|
437
|
-
|
|
438
403
|
```
|
|
439
404
|
<!-- End Authentication [security] -->
|
|
440
405
|
|
|
@@ -471,6 +436,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
471
436
|
- [accountAccountV1ConnectionVerifyConnection](docs/sdks/account/README.md#accountv1connectionverifyconnection)
|
|
472
437
|
- [accountAccountV1GetApps](docs/sdks/account/README.md#accountv1getapps)
|
|
473
438
|
- [accountAccountV1GetBadges](docs/sdks/account/README.md#accountv1getbadges)
|
|
439
|
+
- [accountAccountV1SessionCreate](docs/sdks/account/README.md#accountv1sessioncreate)
|
|
474
440
|
- [accountAccountV1SessionDelete](docs/sdks/account/README.md#accountv1sessiondelete)
|
|
475
441
|
- [accountAccountV1SessionGet](docs/sdks/account/README.md#accountv1sessionget)
|
|
476
442
|
- [accountAccountV1SessionLogin](docs/sdks/account/README.md#accountv1sessionlogin)
|
|
@@ -487,6 +453,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
487
453
|
- [connectionAccountV1ConnectionUpdateConnection](docs/sdks/connection/README.md#accountv1connectionupdateconnection)
|
|
488
454
|
- [connectionAccountV1ConnectionVerifyConnection](docs/sdks/connection/README.md#accountv1connectionverifyconnection)
|
|
489
455
|
- [livenessLiveness](docs/sdks/liveness/README.md#liveness)
|
|
456
|
+
- [sessionAccountV1SessionCreate](docs/sdks/session/README.md#accountv1sessioncreate)
|
|
490
457
|
- [sessionAccountV1SessionDelete](docs/sdks/session/README.md#accountv1sessiondelete)
|
|
491
458
|
- [sessionAccountV1SessionGet](docs/sdks/session/README.md#accountv1sessionget)
|
|
492
459
|
- [sessionAccountV1SessionLogin](docs/sdks/session/README.md#accountv1sessionlogin)
|
|
@@ -24,6 +24,7 @@ Account related operations
|
|
|
24
24
|
* [accountV1SettingsUploadImages](#accountv1settingsuploadimages) - Multi Upload Endpoint for images
|
|
25
25
|
* [accountV1ConnectionVerifyConnection](#accountv1connectionverifyconnection) - Verify a domain connection only atm
|
|
26
26
|
* [accountV1SettingsVerfyEmail](#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
|
|
27
|
+
* [accountV1SessionCreate](#accountv1sessioncreate) - Create a new session for non logged in users
|
|
27
28
|
|
|
28
29
|
## accountV1ConnectionConnect
|
|
29
30
|
|
|
@@ -95,7 +96,7 @@ run();
|
|
|
95
96
|
|
|
96
97
|
### Response
|
|
97
98
|
|
|
98
|
-
**Promise\<[
|
|
99
|
+
**Promise\<[operations.AccountV1ConnectionConnectResponse](../../models/operations/accountv1connectionconnectresponse.md)\>**
|
|
99
100
|
|
|
100
101
|
### Errors
|
|
101
102
|
|
|
@@ -173,7 +174,7 @@ run();
|
|
|
173
174
|
|
|
174
175
|
### Response
|
|
175
176
|
|
|
176
|
-
**Promise\<[
|
|
177
|
+
**Promise\<[operations.AccountV1ConnectionDeleteConnectionResponse](../../models/operations/accountv1connectiondeleteconnectionresponse.md)\>**
|
|
177
178
|
|
|
178
179
|
### Errors
|
|
179
180
|
|
|
@@ -261,7 +262,7 @@ run();
|
|
|
261
262
|
|
|
262
263
|
### Response
|
|
263
264
|
|
|
264
|
-
**Promise\<[
|
|
265
|
+
**Promise\<[operations.AccountV1SettingsDeleteImagesResponse](../../models/operations/accountv1settingsdeleteimagesresponse.md)\>**
|
|
265
266
|
|
|
266
267
|
### Errors
|
|
267
268
|
|
|
@@ -339,7 +340,7 @@ run();
|
|
|
339
340
|
|
|
340
341
|
### Response
|
|
341
342
|
|
|
342
|
-
**Promise\<[
|
|
343
|
+
**Promise\<[operations.AccountV1SessionDeleteResponse](../../models/operations/accountv1sessiondeleteresponse.md)\>**
|
|
343
344
|
|
|
344
345
|
### Errors
|
|
345
346
|
|
|
@@ -412,7 +413,7 @@ run();
|
|
|
412
413
|
|
|
413
414
|
### Response
|
|
414
415
|
|
|
415
|
-
**Promise\<[
|
|
416
|
+
**Promise\<[operations.AccountV1SettingsGenerateApiKeyResponse](../../models/operations/accountv1settingsgenerateapikeyresponse.md)\>**
|
|
416
417
|
|
|
417
418
|
### Errors
|
|
418
419
|
|
|
@@ -436,7 +437,9 @@ const steamSets = new SteamSets({
|
|
|
436
437
|
});
|
|
437
438
|
|
|
438
439
|
async function run() {
|
|
439
|
-
const result = await steamSets.account.accountV1GetApps({
|
|
440
|
+
const result = await steamSets.account.accountV1GetApps({
|
|
441
|
+
accountSearch: {},
|
|
442
|
+
});
|
|
440
443
|
|
|
441
444
|
// Handle the result
|
|
442
445
|
console.log(result)
|
|
@@ -460,7 +463,9 @@ const steamSets = new SteamSetsCore({
|
|
|
460
463
|
});
|
|
461
464
|
|
|
462
465
|
async function run() {
|
|
463
|
-
const res = await accountAccountV1GetApps(steamSets, {
|
|
466
|
+
const res = await accountAccountV1GetApps(steamSets, {
|
|
467
|
+
accountSearch: {},
|
|
468
|
+
});
|
|
464
469
|
|
|
465
470
|
if (!res.ok) {
|
|
466
471
|
throw res.error;
|
|
@@ -479,14 +484,14 @@ run();
|
|
|
479
484
|
|
|
480
485
|
| Parameter | Type | Required | Description |
|
|
481
486
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
482
|
-
| `request` | [
|
|
487
|
+
| `request` | [operations.AccountV1GetAppsRequest](../../models/operations/accountv1getappsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
483
488
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
484
489
|
| `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
490
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
486
491
|
|
|
487
492
|
### Response
|
|
488
493
|
|
|
489
|
-
**Promise\<[
|
|
494
|
+
**Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
|
|
490
495
|
|
|
491
496
|
### Errors
|
|
492
497
|
|
|
@@ -510,7 +515,9 @@ const steamSets = new SteamSets({
|
|
|
510
515
|
});
|
|
511
516
|
|
|
512
517
|
async function run() {
|
|
513
|
-
const result = await steamSets.account.accountV1GetBadges({
|
|
518
|
+
const result = await steamSets.account.accountV1GetBadges({
|
|
519
|
+
accountSearch: {},
|
|
520
|
+
});
|
|
514
521
|
|
|
515
522
|
// Handle the result
|
|
516
523
|
console.log(result)
|
|
@@ -534,7 +541,9 @@ const steamSets = new SteamSetsCore({
|
|
|
534
541
|
});
|
|
535
542
|
|
|
536
543
|
async function run() {
|
|
537
|
-
const res = await accountAccountV1GetBadges(steamSets, {
|
|
544
|
+
const res = await accountAccountV1GetBadges(steamSets, {
|
|
545
|
+
accountSearch: {},
|
|
546
|
+
});
|
|
538
547
|
|
|
539
548
|
if (!res.ok) {
|
|
540
549
|
throw res.error;
|
|
@@ -553,14 +562,14 @@ run();
|
|
|
553
562
|
|
|
554
563
|
| Parameter | Type | Required | Description |
|
|
555
564
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
556
|
-
| `request` | [
|
|
565
|
+
| `request` | [operations.AccountV1GetBadgesRequest](../../models/operations/accountv1getbadgesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
557
566
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
558
567
|
| `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. |
|
|
559
568
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
560
569
|
|
|
561
570
|
### Response
|
|
562
571
|
|
|
563
|
-
**Promise\<[
|
|
572
|
+
**Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
|
|
564
573
|
|
|
565
574
|
### Errors
|
|
566
575
|
|
|
@@ -633,7 +642,7 @@ run();
|
|
|
633
642
|
|
|
634
643
|
### Response
|
|
635
644
|
|
|
636
|
-
**Promise\<[
|
|
645
|
+
**Promise\<[operations.AccountV1SessionGetResponse](../../models/operations/accountv1sessiongetresponse.md)\>**
|
|
637
646
|
|
|
638
647
|
### Errors
|
|
639
648
|
|
|
@@ -706,7 +715,7 @@ run();
|
|
|
706
715
|
|
|
707
716
|
### Response
|
|
708
717
|
|
|
709
|
-
**Promise\<[
|
|
718
|
+
**Promise\<[operations.AccountV1SettingsGetResponse](../../models/operations/accountv1settingsgetresponse.md)\>**
|
|
710
719
|
|
|
711
720
|
### Errors
|
|
712
721
|
|
|
@@ -725,7 +734,9 @@ Logs a user in and creates a new session
|
|
|
725
734
|
```typescript
|
|
726
735
|
import { SteamSets } from "@steamsets/client-ts";
|
|
727
736
|
|
|
728
|
-
const steamSets = new SteamSets(
|
|
737
|
+
const steamSets = new SteamSets({
|
|
738
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
739
|
+
});
|
|
729
740
|
|
|
730
741
|
async function run() {
|
|
731
742
|
const result = await steamSets.account.accountV1SessionLogin({
|
|
@@ -741,8 +752,6 @@ async function run() {
|
|
|
741
752
|
openidSig: "123456",
|
|
742
753
|
openidSigned: "123456",
|
|
743
754
|
},
|
|
744
|
-
}, {
|
|
745
|
-
anonymous: "<YOUR_BEARER_TOKEN_HERE>",
|
|
746
755
|
});
|
|
747
756
|
|
|
748
757
|
// Handle the result
|
|
@@ -762,7 +771,9 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
|
|
|
762
771
|
|
|
763
772
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
764
773
|
// You can create one instance of it to use across an application.
|
|
765
|
-
const steamSets = new SteamSetsCore(
|
|
774
|
+
const steamSets = new SteamSetsCore({
|
|
775
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
776
|
+
});
|
|
766
777
|
|
|
767
778
|
async function run() {
|
|
768
779
|
const res = await accountAccountV1SessionLogin(steamSets, {
|
|
@@ -778,8 +789,6 @@ async function run() {
|
|
|
778
789
|
openidSig: "123456",
|
|
779
790
|
openidSigned: "123456",
|
|
780
791
|
},
|
|
781
|
-
}, {
|
|
782
|
-
anonymous: "<YOUR_BEARER_TOKEN_HERE>",
|
|
783
792
|
});
|
|
784
793
|
|
|
785
794
|
if (!res.ok) {
|
|
@@ -800,14 +809,13 @@ run();
|
|
|
800
809
|
| Parameter | Type | Required | Description |
|
|
801
810
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
802
811
|
| `request` | [operations.AccountV1SessionLoginRequest](../../models/operations/accountv1sessionloginrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
803
|
-
| `security` | [operations.AccountV1SessionLoginSecurity](../../models/operations/accountv1sessionloginsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
804
812
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
805
813
|
| `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. |
|
|
806
814
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
807
815
|
|
|
808
816
|
### Response
|
|
809
817
|
|
|
810
|
-
**Promise\<[
|
|
818
|
+
**Promise\<[operations.AccountV1SessionLoginResponse](../../models/operations/accountv1sessionloginresponse.md)\>**
|
|
811
819
|
|
|
812
820
|
### Errors
|
|
813
821
|
|
|
@@ -831,9 +839,10 @@ const steamSets = new SteamSets({
|
|
|
831
839
|
});
|
|
832
840
|
|
|
833
841
|
async function run() {
|
|
834
|
-
await steamSets.account.accountV1SettingsSendEmailVerification({});
|
|
842
|
+
const result = await steamSets.account.accountV1SettingsSendEmailVerification({});
|
|
835
843
|
|
|
836
|
-
|
|
844
|
+
// Handle the result
|
|
845
|
+
console.log(result)
|
|
837
846
|
}
|
|
838
847
|
|
|
839
848
|
run();
|
|
@@ -862,7 +871,8 @@ async function run() {
|
|
|
862
871
|
|
|
863
872
|
const { value: result } = res;
|
|
864
873
|
|
|
865
|
-
|
|
874
|
+
// Handle the result
|
|
875
|
+
console.log(result)
|
|
866
876
|
}
|
|
867
877
|
|
|
868
878
|
run();
|
|
@@ -879,7 +889,7 @@ run();
|
|
|
879
889
|
|
|
880
890
|
### Response
|
|
881
891
|
|
|
882
|
-
**Promise\<
|
|
892
|
+
**Promise\<[operations.AccountV1SettingsSendEmailVerificationResponse](../../models/operations/accountv1settingssendemailverificationresponse.md)\>**
|
|
883
893
|
|
|
884
894
|
### Errors
|
|
885
895
|
|
|
@@ -959,7 +969,7 @@ run();
|
|
|
959
969
|
|
|
960
970
|
### Response
|
|
961
971
|
|
|
962
|
-
**Promise\<[
|
|
972
|
+
**Promise\<[operations.AccountV1ConnectionUpdateConnectionResponse](../../models/operations/accountv1connectionupdateconnectionresponse.md)\>**
|
|
963
973
|
|
|
964
974
|
### Errors
|
|
965
975
|
|
|
@@ -1039,7 +1049,7 @@ run();
|
|
|
1039
1049
|
|
|
1040
1050
|
### Response
|
|
1041
1051
|
|
|
1042
|
-
**Promise\<[
|
|
1052
|
+
**Promise\<[operations.AccountV1SettingsUpdateImageResponse](../../models/operations/accountv1settingsupdateimageresponse.md)\>**
|
|
1043
1053
|
|
|
1044
1054
|
### Errors
|
|
1045
1055
|
|
|
@@ -1145,7 +1155,7 @@ run();
|
|
|
1145
1155
|
|
|
1146
1156
|
### Response
|
|
1147
1157
|
|
|
1148
|
-
**Promise\<[
|
|
1158
|
+
**Promise\<[operations.AccountV1SettingsUpdateResponse](../../models/operations/accountv1settingsupdateresponse.md)\>**
|
|
1149
1159
|
|
|
1150
1160
|
### Errors
|
|
1151
1161
|
|
|
@@ -1169,7 +1179,7 @@ const steamSets = new SteamSets({
|
|
|
1169
1179
|
});
|
|
1170
1180
|
|
|
1171
1181
|
async function run() {
|
|
1172
|
-
await steamSets.account.accountV1SettingsUploadImages({
|
|
1182
|
+
const result = await steamSets.account.accountV1SettingsUploadImages({
|
|
1173
1183
|
images: [
|
|
1174
1184
|
{
|
|
1175
1185
|
data: "base64_encoded_image",
|
|
@@ -1178,7 +1188,8 @@ async function run() {
|
|
|
1178
1188
|
],
|
|
1179
1189
|
});
|
|
1180
1190
|
|
|
1181
|
-
|
|
1191
|
+
// Handle the result
|
|
1192
|
+
console.log(result)
|
|
1182
1193
|
}
|
|
1183
1194
|
|
|
1184
1195
|
run();
|
|
@@ -1214,7 +1225,8 @@ async function run() {
|
|
|
1214
1225
|
|
|
1215
1226
|
const { value: result } = res;
|
|
1216
1227
|
|
|
1217
|
-
|
|
1228
|
+
// Handle the result
|
|
1229
|
+
console.log(result)
|
|
1218
1230
|
}
|
|
1219
1231
|
|
|
1220
1232
|
run();
|
|
@@ -1231,7 +1243,7 @@ run();
|
|
|
1231
1243
|
|
|
1232
1244
|
### Response
|
|
1233
1245
|
|
|
1234
|
-
**Promise\<
|
|
1246
|
+
**Promise\<[operations.AccountV1SettingsUploadImagesResponse](../../models/operations/accountv1settingsuploadimagesresponse.md)\>**
|
|
1235
1247
|
|
|
1236
1248
|
### Errors
|
|
1237
1249
|
|
|
@@ -1309,7 +1321,7 @@ run();
|
|
|
1309
1321
|
|
|
1310
1322
|
### Response
|
|
1311
1323
|
|
|
1312
|
-
**Promise\<[
|
|
1324
|
+
**Promise\<[operations.AccountV1ConnectionVerifyConnectionResponse](../../models/operations/accountv1connectionverifyconnectionresponse.md)\>**
|
|
1313
1325
|
|
|
1314
1326
|
### Errors
|
|
1315
1327
|
|
|
@@ -1387,7 +1399,7 @@ run();
|
|
|
1387
1399
|
|
|
1388
1400
|
### Response
|
|
1389
1401
|
|
|
1390
|
-
**Promise\<[
|
|
1402
|
+
**Promise\<[operations.AccountV1SettingsVerfyEmailResponse](../../models/operations/accountv1settingsverfyemailresponse.md)\>**
|
|
1391
1403
|
|
|
1392
1404
|
### Errors
|
|
1393
1405
|
|
|
@@ -1395,3 +1407,77 @@ run();
|
|
|
1395
1407
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1396
1408
|
| errors.ErrorModel | 404,422,429,500 | application/problem+json |
|
|
1397
1409
|
| errors.SDKError | 4xx-5xx | */* |
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
## accountV1SessionCreate
|
|
1413
|
+
|
|
1414
|
+
Create a new session for non logged in users
|
|
1415
|
+
|
|
1416
|
+
### Example Usage
|
|
1417
|
+
|
|
1418
|
+
```typescript
|
|
1419
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
1420
|
+
|
|
1421
|
+
const steamSets = new SteamSets({
|
|
1422
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1423
|
+
});
|
|
1424
|
+
|
|
1425
|
+
async function run() {
|
|
1426
|
+
const result = await steamSets.account.accountV1SessionCreate({});
|
|
1427
|
+
|
|
1428
|
+
// Handle the result
|
|
1429
|
+
console.log(result)
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
run();
|
|
1433
|
+
```
|
|
1434
|
+
|
|
1435
|
+
### Standalone function
|
|
1436
|
+
|
|
1437
|
+
The standalone function version of this method:
|
|
1438
|
+
|
|
1439
|
+
```typescript
|
|
1440
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1441
|
+
import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accountAccountV1SessionCreate.js";
|
|
1442
|
+
|
|
1443
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1444
|
+
// You can create one instance of it to use across an application.
|
|
1445
|
+
const steamSets = new SteamSetsCore({
|
|
1446
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1447
|
+
});
|
|
1448
|
+
|
|
1449
|
+
async function run() {
|
|
1450
|
+
const res = await accountAccountV1SessionCreate(steamSets, {});
|
|
1451
|
+
|
|
1452
|
+
if (!res.ok) {
|
|
1453
|
+
throw res.error;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
const { value: result } = res;
|
|
1457
|
+
|
|
1458
|
+
// Handle the result
|
|
1459
|
+
console.log(result)
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
run();
|
|
1463
|
+
```
|
|
1464
|
+
|
|
1465
|
+
### Parameters
|
|
1466
|
+
|
|
1467
|
+
| Parameter | Type | Required | Description |
|
|
1468
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1469
|
+
| `request` | [operations.AccountV1SessionCreateRequest](../../models/operations/accountv1sessioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1470
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1471
|
+
| `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. |
|
|
1472
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1473
|
+
|
|
1474
|
+
### Response
|
|
1475
|
+
|
|
1476
|
+
**Promise\<[operations.AccountV1SessionCreateResponse](../../models/operations/accountv1sessioncreateresponse.md)\>**
|
|
1477
|
+
|
|
1478
|
+
### Errors
|
|
1479
|
+
|
|
1480
|
+
| Error Object | Status Code | Content Type |
|
|
1481
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
1482
|
+
| errors.ErrorModel | 422,500 | application/problem+json |
|
|
1483
|
+
| errors.SDKError | 4xx-5xx | */* |
|
|
@@ -82,7 +82,7 @@ run();
|
|
|
82
82
|
|
|
83
83
|
### Response
|
|
84
84
|
|
|
85
|
-
**Promise\<[
|
|
85
|
+
**Promise\<[operations.AccountV1ConnectionConnectResponse](../../models/operations/accountv1connectionconnectresponse.md)\>**
|
|
86
86
|
|
|
87
87
|
### Errors
|
|
88
88
|
|
|
@@ -160,7 +160,7 @@ run();
|
|
|
160
160
|
|
|
161
161
|
### Response
|
|
162
162
|
|
|
163
|
-
**Promise\<[
|
|
163
|
+
**Promise\<[operations.AccountV1ConnectionDeleteConnectionResponse](../../models/operations/accountv1connectiondeleteconnectionresponse.md)\>**
|
|
164
164
|
|
|
165
165
|
### Errors
|
|
166
166
|
|
|
@@ -240,7 +240,7 @@ run();
|
|
|
240
240
|
|
|
241
241
|
### Response
|
|
242
242
|
|
|
243
|
-
**Promise\<[
|
|
243
|
+
**Promise\<[operations.AccountV1ConnectionUpdateConnectionResponse](../../models/operations/accountv1connectionupdateconnectionresponse.md)\>**
|
|
244
244
|
|
|
245
245
|
### Errors
|
|
246
246
|
|
|
@@ -318,7 +318,7 @@ run();
|
|
|
318
318
|
|
|
319
319
|
### Response
|
|
320
320
|
|
|
321
|
-
**Promise\<[
|
|
321
|
+
**Promise\<[operations.AccountV1ConnectionVerifyConnectionResponse](../../models/operations/accountv1connectionverifyconnectionresponse.md)\>**
|
|
322
322
|
|
|
323
323
|
### Errors
|
|
324
324
|
|