@steamsets/client-ts 0.8.5 → 0.9.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 +27 -21
- package/docs/sdks/account/README.md +206 -162
- package/docs/sdks/app/README.md +24 -18
- package/docs/sdks/connection/README.md +28 -24
- package/docs/sdks/data/README.md +105 -83
- package/docs/sdks/liveness/README.md +8 -2
- package/docs/sdks/location/README.md +9 -8
- package/docs/sdks/public/README.md +96 -75
- package/docs/sdks/session/README.md +32 -18
- package/docs/sdks/settings/README.md +53 -46
- package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionConnect.js +12 -5
- package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.js +12 -5
- package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.js +12 -5
- package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.js +12 -5
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/accountAccountV1GetApps.d.ts +1 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +4 -17
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +4 -17
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.js +4 -17
- package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/accountAccountV1GetFriends.js +4 -17
- package/funcs/accountAccountV1GetFriends.js.map +1 -1
- package/funcs/accountAccountV1GetInfo.d.ts +1 -1
- package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/accountAccountV1GetInfo.js +4 -17
- package/funcs/accountAccountV1GetInfo.js.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.js +4 -17
- package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/accountAccountV1GetStaff.d.ts +1 -1
- package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
- package/funcs/accountAccountV1GetStaff.js +12 -5
- package/funcs/accountAccountV1GetStaff.js.map +1 -1
- package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionCreate.js +2 -3
- package/funcs/accountAccountV1SessionCreate.js.map +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionDelete.js +12 -5
- package/funcs/accountAccountV1SessionDelete.js.map +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionGet.js +12 -5
- package/funcs/accountAccountV1SessionGet.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +2 -3
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.js +12 -5
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGet.js +12 -5
- 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 +12 -5
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.js +12 -5
- package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.js +12 -5
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.js +12 -5
- package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.js +12 -5
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
- package/funcs/appAccountV1Queue.d.ts +1 -1
- package/funcs/appAccountV1Queue.d.ts.map +1 -1
- package/funcs/appAccountV1Queue.js +4 -17
- package/funcs/appAccountV1Queue.js.map +1 -1
- package/funcs/appAppV1Get.d.ts +1 -1
- package/funcs/appAppV1Get.d.ts.map +1 -1
- package/funcs/appAppV1Get.js +4 -17
- package/funcs/appAppV1Get.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +12 -5
- package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js +12 -5
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js +12 -5
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js +12 -5
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/dataAccountV1GetApps.d.ts +1 -1
- package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
- package/funcs/dataAccountV1GetApps.js +4 -17
- package/funcs/dataAccountV1GetApps.js.map +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/dataAccountV1GetBadges.js +4 -17
- package/funcs/dataAccountV1GetBadges.js.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.js +4 -17
- package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/dataAccountV1GetFriends.js +4 -17
- package/funcs/dataAccountV1GetFriends.js.map +1 -1
- package/funcs/dataAccountV1GetInfo.d.ts +1 -1
- package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/dataAccountV1GetInfo.js +4 -17
- package/funcs/dataAccountV1GetInfo.js.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.js +4 -17
- package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/dataAccountV1GetStaff.d.ts +1 -1
- package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
- package/funcs/dataAccountV1GetStaff.js +12 -5
- package/funcs/dataAccountV1GetStaff.js.map +1 -1
- package/funcs/dataAccountV1Queue.d.ts +1 -1
- package/funcs/dataAccountV1Queue.d.ts.map +1 -1
- package/funcs/dataAccountV1Queue.js +4 -17
- package/funcs/dataAccountV1Queue.js.map +1 -1
- package/funcs/livenessLiveness.d.ts.map +1 -1
- package/funcs/livenessLiveness.js +2 -3
- package/funcs/livenessLiveness.js.map +1 -1
- package/funcs/locationLocation.d.ts +1 -1
- package/funcs/locationLocation.d.ts.map +1 -1
- package/funcs/locationLocation.js +12 -5
- package/funcs/locationLocation.js.map +1 -1
- package/funcs/publicAccountV1GetApps.d.ts +1 -1
- package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
- package/funcs/publicAccountV1GetApps.js +4 -17
- package/funcs/publicAccountV1GetApps.js.map +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/publicAccountV1GetBadges.js +4 -17
- package/funcs/publicAccountV1GetBadges.js.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.js +4 -17
- package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/publicAccountV1GetFriends.js +4 -17
- package/funcs/publicAccountV1GetFriends.js.map +1 -1
- package/funcs/publicAccountV1GetInfo.d.ts +1 -1
- package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/publicAccountV1GetInfo.js +4 -17
- package/funcs/publicAccountV1GetInfo.js.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.js +4 -17
- package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/publicAccountV1Queue.d.ts +1 -1
- package/funcs/publicAccountV1Queue.d.ts.map +1 -1
- package/funcs/publicAccountV1Queue.js +4 -17
- package/funcs/publicAccountV1Queue.js.map +1 -1
- package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionCreate.js +2 -3
- package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.js +12 -5
- package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionGet.js +12 -5
- package/funcs/sessionAccountV1SessionGet.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +2 -3
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.js +12 -5
- package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.js +12 -5
- 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 +12 -5
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +12 -5
- package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.js +12 -5
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.js +12 -5
- package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.js +12 -5
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/lib/security.d.ts +4 -2
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +8 -0
- package/lib/security.js.map +1 -1
- package/models/components/security.d.ts +4 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +4 -2
- package/models/components/security.js.map +1 -1
- package/models/operations/accountv1connectionconnect.d.ts +23 -0
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
- package/models/operations/accountv1connectionconnect.js +20 -1
- package/models/operations/accountv1connectionconnect.js.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.d.ts +23 -0
- package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.js +20 -1
- package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.d.ts +23 -0
- package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.js +20 -1
- package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.d.ts +23 -0
- package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.js +20 -1
- package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
- package/models/operations/accountv1getapps.d.ts +0 -25
- package/models/operations/accountv1getapps.d.ts.map +1 -1
- package/models/operations/accountv1getapps.js +1 -22
- package/models/operations/accountv1getapps.js.map +1 -1
- package/models/operations/accountv1getbadges.d.ts +0 -25
- package/models/operations/accountv1getbadges.d.ts.map +1 -1
- package/models/operations/accountv1getbadges.js +1 -22
- package/models/operations/accountv1getbadges.js.map +1 -1
- package/models/operations/accountv1getdatapoints.d.ts +0 -25
- package/models/operations/accountv1getdatapoints.d.ts.map +1 -1
- package/models/operations/accountv1getdatapoints.js +1 -22
- package/models/operations/accountv1getdatapoints.js.map +1 -1
- package/models/operations/accountv1getfriends.d.ts +0 -25
- package/models/operations/accountv1getfriends.d.ts.map +1 -1
- package/models/operations/accountv1getfriends.js +1 -22
- package/models/operations/accountv1getfriends.js.map +1 -1
- package/models/operations/accountv1getinfo.d.ts +0 -25
- package/models/operations/accountv1getinfo.d.ts.map +1 -1
- package/models/operations/accountv1getinfo.js +1 -22
- package/models/operations/accountv1getinfo.js.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.d.ts +0 -25
- package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.js +1 -22
- package/models/operations/accountv1getleaderboardhistory.js.map +1 -1
- package/models/operations/accountv1getstaff.d.ts +23 -0
- package/models/operations/accountv1getstaff.d.ts.map +1 -1
- package/models/operations/accountv1getstaff.js +20 -1
- package/models/operations/accountv1getstaff.js.map +1 -1
- package/models/operations/accountv1queue.d.ts +0 -25
- package/models/operations/accountv1queue.d.ts.map +1 -1
- package/models/operations/accountv1queue.js +1 -22
- package/models/operations/accountv1queue.js.map +1 -1
- package/models/operations/accountv1sessiondelete.d.ts +23 -0
- package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
- package/models/operations/accountv1sessiondelete.js +20 -1
- package/models/operations/accountv1sessiondelete.js.map +1 -1
- package/models/operations/accountv1sessionget.d.ts +23 -0
- package/models/operations/accountv1sessionget.d.ts.map +1 -1
- package/models/operations/accountv1sessionget.js +20 -1
- package/models/operations/accountv1sessionget.js.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +23 -0
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.js +20 -1
- package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
- package/models/operations/accountv1settingsget.d.ts +23 -0
- package/models/operations/accountv1settingsget.d.ts.map +1 -1
- package/models/operations/accountv1settingsget.js +20 -1
- package/models/operations/accountv1settingsget.js.map +1 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +23 -0
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
- package/models/operations/accountv1settingssendemailverification.js +20 -1
- package/models/operations/accountv1settingssendemailverification.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +23 -0
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +20 -1
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +23 -0
- package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdateimage.js +20 -1
- package/models/operations/accountv1settingsupdateimage.js.map +1 -1
- package/models/operations/accountv1settingsuploadimages.d.ts +23 -0
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsuploadimages.js +20 -1
- package/models/operations/accountv1settingsuploadimages.js.map +1 -1
- package/models/operations/accountv1settingsverfyemail.d.ts +23 -0
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
- package/models/operations/accountv1settingsverfyemail.js +20 -1
- package/models/operations/accountv1settingsverfyemail.js.map +1 -1
- package/models/operations/appv1get.d.ts +0 -25
- package/models/operations/appv1get.d.ts.map +1 -1
- package/models/operations/appv1get.js +1 -22
- package/models/operations/appv1get.js.map +1 -1
- package/models/operations/location.d.ts +23 -0
- package/models/operations/location.d.ts.map +1 -1
- package/models/operations/location.js +20 -1
- package/models/operations/location.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +20 -20
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +40 -40
- package/sdk/account.js.map +1 -1
- package/sdk/app.d.ts +2 -2
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +4 -4
- package/sdk/app.js.map +1 -1
- package/sdk/connection.d.ts +4 -4
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +8 -8
- package/sdk/connection.js.map +1 -1
- package/sdk/data.d.ts +8 -8
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +16 -16
- package/sdk/data.js.map +1 -1
- package/sdk/location.d.ts +1 -1
- package/sdk/location.d.ts.map +1 -1
- package/sdk/location.js +2 -2
- package/sdk/location.js.map +1 -1
- package/sdk/public.d.ts +7 -7
- package/sdk/public.d.ts.map +1 -1
- package/sdk/public.js +14 -14
- package/sdk/public.js.map +1 -1
- package/sdk/session.d.ts +2 -2
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +4 -4
- package/sdk/session.js.map +1 -1
- package/sdk/settings.d.ts +7 -7
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +14 -14
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionConnect.ts +13 -5
- package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +13 -5
- package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +13 -5
- package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +13 -5
- package/src/funcs/accountAccountV1GetApps.ts +4 -18
- package/src/funcs/accountAccountV1GetBadges.ts +4 -18
- package/src/funcs/accountAccountV1GetDataPoints.ts +4 -18
- package/src/funcs/accountAccountV1GetFriends.ts +4 -18
- package/src/funcs/accountAccountV1GetInfo.ts +4 -18
- package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +4 -18
- package/src/funcs/accountAccountV1GetStaff.ts +13 -5
- package/src/funcs/accountAccountV1SessionCreate.ts +2 -3
- package/src/funcs/accountAccountV1SessionDelete.ts +13 -5
- package/src/funcs/accountAccountV1SessionGet.ts +13 -5
- package/src/funcs/accountAccountV1SessionLogin.ts +2 -3
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +13 -5
- package/src/funcs/accountAccountV1SettingsGet.ts +13 -5
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +13 -5
- package/src/funcs/accountAccountV1SettingsUpdate.ts +13 -5
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +13 -5
- package/src/funcs/accountAccountV1SettingsUploadImages.ts +13 -5
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +13 -5
- package/src/funcs/appAccountV1Queue.ts +4 -18
- package/src/funcs/appAppV1Get.ts +4 -18
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +13 -5
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +13 -5
- package/src/funcs/dataAccountV1GetApps.ts +4 -18
- package/src/funcs/dataAccountV1GetBadges.ts +4 -18
- package/src/funcs/dataAccountV1GetDataPoints.ts +4 -18
- package/src/funcs/dataAccountV1GetFriends.ts +4 -18
- package/src/funcs/dataAccountV1GetInfo.ts +4 -18
- package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +4 -18
- package/src/funcs/dataAccountV1GetStaff.ts +13 -5
- package/src/funcs/dataAccountV1Queue.ts +4 -18
- package/src/funcs/livenessLiveness.ts +2 -3
- package/src/funcs/locationLocation.ts +13 -5
- package/src/funcs/publicAccountV1GetApps.ts +4 -18
- package/src/funcs/publicAccountV1GetBadges.ts +4 -18
- package/src/funcs/publicAccountV1GetDataPoints.ts +4 -18
- package/src/funcs/publicAccountV1GetFriends.ts +4 -18
- package/src/funcs/publicAccountV1GetInfo.ts +4 -18
- package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +4 -18
- package/src/funcs/publicAccountV1Queue.ts +4 -18
- package/src/funcs/sessionAccountV1SessionCreate.ts +2 -3
- package/src/funcs/sessionAccountV1SessionDelete.ts +13 -5
- package/src/funcs/sessionAccountV1SessionGet.ts +13 -5
- package/src/funcs/sessionAccountV1SessionLogin.ts +2 -3
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsGet.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsUploadImages.ts +13 -5
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +13 -5
- package/src/lib/config.ts +7 -3
- package/src/lib/security.ts +11 -2
- package/src/models/components/security.ts +8 -4
- package/src/models/operations/accountv1connectionconnect.ts +41 -0
- package/src/models/operations/accountv1connectiondeleteconnection.ts +44 -0
- package/src/models/operations/accountv1connectionupdateconnection.ts +44 -0
- package/src/models/operations/accountv1connectionverifyconnection.ts +44 -0
- package/src/models/operations/accountv1getapps.ts +0 -44
- package/src/models/operations/accountv1getbadges.ts +0 -44
- package/src/models/operations/accountv1getdatapoints.ts +0 -44
- package/src/models/operations/accountv1getfriends.ts +0 -44
- package/src/models/operations/accountv1getinfo.ts +0 -44
- package/src/models/operations/accountv1getleaderboardhistory.ts +0 -46
- package/src/models/operations/accountv1getstaff.ts +40 -0
- package/src/models/operations/accountv1queue.ts +0 -44
- package/src/models/operations/accountv1sessiondelete.ts +40 -0
- package/src/models/operations/accountv1sessionget.ts +40 -0
- package/src/models/operations/accountv1settingsdeleteimages.ts +42 -0
- package/src/models/operations/accountv1settingsget.ts +40 -0
- package/src/models/operations/accountv1settingssendemailverification.ts +45 -0
- package/src/models/operations/accountv1settingsupdate.ts +40 -0
- package/src/models/operations/accountv1settingsupdateimage.ts +42 -0
- package/src/models/operations/accountv1settingsuploadimages.ts +42 -0
- package/src/models/operations/accountv1settingsverfyemail.ts +42 -0
- package/src/models/operations/appv1get.ts +0 -44
- package/src/models/operations/location.ts +40 -0
- package/src/sdk/account.ts +28 -12
- package/src/sdk/app.ts +0 -4
- package/src/sdk/connection.ts +8 -0
- package/src/sdk/data.ts +2 -14
- package/src/sdk/location.ts +2 -0
- package/src/sdk/public.ts +0 -14
- package/src/sdk/session.ts +4 -0
- package/src/sdk/settings.ts +14 -0
|
@@ -39,14 +39,14 @@ Connect a new Social Provider
|
|
|
39
39
|
```typescript
|
|
40
40
|
import { SteamSets } from "@steamsets/client-ts";
|
|
41
41
|
|
|
42
|
-
const steamSets = new SteamSets(
|
|
43
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
44
|
-
});
|
|
42
|
+
const steamSets = new SteamSets();
|
|
45
43
|
|
|
46
44
|
async function run() {
|
|
47
45
|
const result = await steamSets.account.accountV1ConnectionConnect({
|
|
48
46
|
code: "123456",
|
|
49
47
|
provider: "discord",
|
|
48
|
+
}, {
|
|
49
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
// Handle the result
|
|
@@ -66,14 +66,14 @@ import { accountAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs/ac
|
|
|
66
66
|
|
|
67
67
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
68
68
|
// You can create one instance of it to use across an application.
|
|
69
|
-
const steamSets = new SteamSetsCore(
|
|
70
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
71
|
-
});
|
|
69
|
+
const steamSets = new SteamSetsCore();
|
|
72
70
|
|
|
73
71
|
async function run() {
|
|
74
72
|
const res = await accountAccountV1ConnectionConnect(steamSets, {
|
|
75
73
|
code: "123456",
|
|
76
74
|
provider: "discord",
|
|
75
|
+
}, {
|
|
76
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
77
77
|
});
|
|
78
78
|
|
|
79
79
|
if (!res.ok) {
|
|
@@ -94,6 +94,7 @@ run();
|
|
|
94
94
|
| Parameter | Type | Required | Description |
|
|
95
95
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
96
96
|
| `request` | [components.V1ConnectRequestBody](../../models/components/v1connectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
97
|
+
| `security` | [operations.AccountV1ConnectionConnectSecurity](../../models/operations/accountv1connectionconnectsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
97
98
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
98
99
|
| `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. |
|
|
99
100
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -120,7 +121,10 @@ Create a new session for non logged in users
|
|
|
120
121
|
import { SteamSets } from "@steamsets/client-ts";
|
|
121
122
|
|
|
122
123
|
const steamSets = new SteamSets({
|
|
123
|
-
|
|
124
|
+
security: {
|
|
125
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
126
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
127
|
+
},
|
|
124
128
|
});
|
|
125
129
|
|
|
126
130
|
async function run() {
|
|
@@ -144,7 +148,10 @@ import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accoun
|
|
|
144
148
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
145
149
|
// You can create one instance of it to use across an application.
|
|
146
150
|
const steamSets = new SteamSetsCore({
|
|
147
|
-
|
|
151
|
+
security: {
|
|
152
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
153
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
154
|
+
},
|
|
148
155
|
});
|
|
149
156
|
|
|
150
157
|
async function run() {
|
|
@@ -193,13 +200,13 @@ Remove a connection
|
|
|
193
200
|
```typescript
|
|
194
201
|
import { SteamSets } from "@steamsets/client-ts";
|
|
195
202
|
|
|
196
|
-
const steamSets = new SteamSets(
|
|
197
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
198
|
-
});
|
|
203
|
+
const steamSets = new SteamSets();
|
|
199
204
|
|
|
200
205
|
async function run() {
|
|
201
206
|
const result = await steamSets.account.accountV1ConnectionDeleteConnection({
|
|
202
207
|
connectionId: "123456",
|
|
208
|
+
}, {
|
|
209
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
203
210
|
});
|
|
204
211
|
|
|
205
212
|
// Handle the result
|
|
@@ -219,13 +226,13 @@ import { accountAccountV1ConnectionDeleteConnection } from "@steamsets/client-ts
|
|
|
219
226
|
|
|
220
227
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
221
228
|
// You can create one instance of it to use across an application.
|
|
222
|
-
const steamSets = new SteamSetsCore(
|
|
223
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
224
|
-
});
|
|
229
|
+
const steamSets = new SteamSetsCore();
|
|
225
230
|
|
|
226
231
|
async function run() {
|
|
227
232
|
const res = await accountAccountV1ConnectionDeleteConnection(steamSets, {
|
|
228
233
|
connectionId: "123456",
|
|
234
|
+
}, {
|
|
235
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
229
236
|
});
|
|
230
237
|
|
|
231
238
|
if (!res.ok) {
|
|
@@ -246,6 +253,7 @@ run();
|
|
|
246
253
|
| Parameter | Type | Required | Description |
|
|
247
254
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
248
255
|
| `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
256
|
+
| `security` | [operations.AccountV1ConnectionDeleteConnectionSecurity](../../models/operations/accountv1connectiondeleteconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
249
257
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
250
258
|
| `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. |
|
|
251
259
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -271,15 +279,15 @@ Delete mulitple imagest
|
|
|
271
279
|
```typescript
|
|
272
280
|
import { SteamSets } from "@steamsets/client-ts";
|
|
273
281
|
|
|
274
|
-
const steamSets = new SteamSets(
|
|
275
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
276
|
-
});
|
|
282
|
+
const steamSets = new SteamSets();
|
|
277
283
|
|
|
278
284
|
async function run() {
|
|
279
285
|
const result = await steamSets.account.accountV1SettingsDeleteImages({
|
|
280
286
|
imageIds: [
|
|
281
287
|
"<value>",
|
|
282
288
|
],
|
|
289
|
+
}, {
|
|
290
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
283
291
|
});
|
|
284
292
|
|
|
285
293
|
// Handle the result
|
|
@@ -299,15 +307,15 @@ import { accountAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs
|
|
|
299
307
|
|
|
300
308
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
301
309
|
// You can create one instance of it to use across an application.
|
|
302
|
-
const steamSets = new SteamSetsCore(
|
|
303
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
304
|
-
});
|
|
310
|
+
const steamSets = new SteamSetsCore();
|
|
305
311
|
|
|
306
312
|
async function run() {
|
|
307
313
|
const res = await accountAccountV1SettingsDeleteImages(steamSets, {
|
|
308
314
|
imageIds: [
|
|
309
315
|
"<value>",
|
|
310
316
|
],
|
|
317
|
+
}, {
|
|
318
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
311
319
|
});
|
|
312
320
|
|
|
313
321
|
if (!res.ok) {
|
|
@@ -328,6 +336,7 @@ run();
|
|
|
328
336
|
| Parameter | Type | Required | Description |
|
|
329
337
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
330
338
|
| `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
339
|
+
| `security` | [operations.AccountV1SettingsDeleteImagesSecurity](../../models/operations/accountv1settingsdeleteimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
331
340
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
332
341
|
| `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. |
|
|
333
342
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -353,13 +362,13 @@ Deletes a session, can also be used to logout
|
|
|
353
362
|
```typescript
|
|
354
363
|
import { SteamSets } from "@steamsets/client-ts";
|
|
355
364
|
|
|
356
|
-
const steamSets = new SteamSets(
|
|
357
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
358
|
-
});
|
|
365
|
+
const steamSets = new SteamSets();
|
|
359
366
|
|
|
360
367
|
async function run() {
|
|
361
368
|
const result = await steamSets.account.accountV1SessionDelete({
|
|
362
369
|
sessionId: "123456",
|
|
370
|
+
}, {
|
|
371
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
363
372
|
});
|
|
364
373
|
|
|
365
374
|
// Handle the result
|
|
@@ -379,13 +388,13 @@ import { accountAccountV1SessionDelete } from "@steamsets/client-ts/funcs/accoun
|
|
|
379
388
|
|
|
380
389
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
381
390
|
// You can create one instance of it to use across an application.
|
|
382
|
-
const steamSets = new SteamSetsCore(
|
|
383
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
384
|
-
});
|
|
391
|
+
const steamSets = new SteamSetsCore();
|
|
385
392
|
|
|
386
393
|
async function run() {
|
|
387
394
|
const res = await accountAccountV1SessionDelete(steamSets, {
|
|
388
395
|
sessionId: "123456",
|
|
396
|
+
}, {
|
|
397
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
389
398
|
});
|
|
390
399
|
|
|
391
400
|
if (!res.ok) {
|
|
@@ -406,6 +415,7 @@ run();
|
|
|
406
415
|
| Parameter | Type | Required | Description |
|
|
407
416
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
408
417
|
| `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
418
|
+
| `security` | [operations.AccountV1SessionDeleteSecurity](../../models/operations/accountv1sessiondeletesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
409
419
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
410
420
|
| `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. |
|
|
411
421
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -431,13 +441,15 @@ Get Account Apps
|
|
|
431
441
|
```typescript
|
|
432
442
|
import { SteamSets } from "@steamsets/client-ts";
|
|
433
443
|
|
|
434
|
-
const steamSets = new SteamSets(
|
|
435
|
-
|
|
436
|
-
async function run() {
|
|
437
|
-
const result = await steamSets.account.accountV1GetApps({}, {
|
|
444
|
+
const steamSets = new SteamSets({
|
|
445
|
+
security: {
|
|
438
446
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
439
447
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
440
|
-
}
|
|
448
|
+
},
|
|
449
|
+
});
|
|
450
|
+
|
|
451
|
+
async function run() {
|
|
452
|
+
const result = await steamSets.account.accountV1GetApps({});
|
|
441
453
|
|
|
442
454
|
// Handle the result
|
|
443
455
|
console.log(result)
|
|
@@ -456,13 +468,15 @@ import { accountAccountV1GetApps } from "@steamsets/client-ts/funcs/accountAccou
|
|
|
456
468
|
|
|
457
469
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
458
470
|
// You can create one instance of it to use across an application.
|
|
459
|
-
const steamSets = new SteamSetsCore(
|
|
460
|
-
|
|
461
|
-
async function run() {
|
|
462
|
-
const res = await accountAccountV1GetApps(steamSets, {}, {
|
|
471
|
+
const steamSets = new SteamSetsCore({
|
|
472
|
+
security: {
|
|
463
473
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
464
474
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
465
|
-
}
|
|
475
|
+
},
|
|
476
|
+
});
|
|
477
|
+
|
|
478
|
+
async function run() {
|
|
479
|
+
const res = await accountAccountV1GetApps(steamSets, {});
|
|
466
480
|
|
|
467
481
|
if (!res.ok) {
|
|
468
482
|
throw res.error;
|
|
@@ -482,7 +496,6 @@ run();
|
|
|
482
496
|
| Parameter | Type | Required | Description |
|
|
483
497
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
484
498
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
485
|
-
| `security` | [operations.AccountV1GetAppsSecurity](../../models/operations/accountv1getappssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
486
499
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
487
500
|
| `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. |
|
|
488
501
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -508,13 +521,15 @@ Get Account Badges
|
|
|
508
521
|
```typescript
|
|
509
522
|
import { SteamSets } from "@steamsets/client-ts";
|
|
510
523
|
|
|
511
|
-
const steamSets = new SteamSets(
|
|
512
|
-
|
|
513
|
-
async function run() {
|
|
514
|
-
const result = await steamSets.account.accountV1GetBadges({}, {
|
|
524
|
+
const steamSets = new SteamSets({
|
|
525
|
+
security: {
|
|
515
526
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
516
527
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
517
|
-
}
|
|
528
|
+
},
|
|
529
|
+
});
|
|
530
|
+
|
|
531
|
+
async function run() {
|
|
532
|
+
const result = await steamSets.account.accountV1GetBadges({});
|
|
518
533
|
|
|
519
534
|
// Handle the result
|
|
520
535
|
console.log(result)
|
|
@@ -533,13 +548,15 @@ import { accountAccountV1GetBadges } from "@steamsets/client-ts/funcs/accountAcc
|
|
|
533
548
|
|
|
534
549
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
535
550
|
// You can create one instance of it to use across an application.
|
|
536
|
-
const steamSets = new SteamSetsCore(
|
|
537
|
-
|
|
538
|
-
async function run() {
|
|
539
|
-
const res = await accountAccountV1GetBadges(steamSets, {}, {
|
|
551
|
+
const steamSets = new SteamSetsCore({
|
|
552
|
+
security: {
|
|
540
553
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
541
554
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
542
|
-
}
|
|
555
|
+
},
|
|
556
|
+
});
|
|
557
|
+
|
|
558
|
+
async function run() {
|
|
559
|
+
const res = await accountAccountV1GetBadges(steamSets, {});
|
|
543
560
|
|
|
544
561
|
if (!res.ok) {
|
|
545
562
|
throw res.error;
|
|
@@ -559,7 +576,6 @@ run();
|
|
|
559
576
|
| Parameter | Type | Required | Description |
|
|
560
577
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
561
578
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
562
|
-
| `security` | [operations.AccountV1GetBadgesSecurity](../../models/operations/accountv1getbadgessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
563
579
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
564
580
|
| `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. |
|
|
565
581
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -585,13 +601,15 @@ Get Account DataPoints
|
|
|
585
601
|
```typescript
|
|
586
602
|
import { SteamSets } from "@steamsets/client-ts";
|
|
587
603
|
|
|
588
|
-
const steamSets = new SteamSets(
|
|
589
|
-
|
|
590
|
-
async function run() {
|
|
591
|
-
const result = await steamSets.account.accountV1GetDataPoints({}, {
|
|
604
|
+
const steamSets = new SteamSets({
|
|
605
|
+
security: {
|
|
592
606
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
593
607
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
594
|
-
}
|
|
608
|
+
},
|
|
609
|
+
});
|
|
610
|
+
|
|
611
|
+
async function run() {
|
|
612
|
+
const result = await steamSets.account.accountV1GetDataPoints({});
|
|
595
613
|
|
|
596
614
|
// Handle the result
|
|
597
615
|
console.log(result)
|
|
@@ -610,13 +628,15 @@ import { accountAccountV1GetDataPoints } from "@steamsets/client-ts/funcs/accoun
|
|
|
610
628
|
|
|
611
629
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
612
630
|
// You can create one instance of it to use across an application.
|
|
613
|
-
const steamSets = new SteamSetsCore(
|
|
614
|
-
|
|
615
|
-
async function run() {
|
|
616
|
-
const res = await accountAccountV1GetDataPoints(steamSets, {}, {
|
|
631
|
+
const steamSets = new SteamSetsCore({
|
|
632
|
+
security: {
|
|
617
633
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
618
634
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
619
|
-
}
|
|
635
|
+
},
|
|
636
|
+
});
|
|
637
|
+
|
|
638
|
+
async function run() {
|
|
639
|
+
const res = await accountAccountV1GetDataPoints(steamSets, {});
|
|
620
640
|
|
|
621
641
|
if (!res.ok) {
|
|
622
642
|
throw res.error;
|
|
@@ -636,7 +656,6 @@ run();
|
|
|
636
656
|
| Parameter | Type | Required | Description |
|
|
637
657
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
638
658
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
639
|
-
| `security` | [operations.AccountV1GetDataPointsSecurity](../../models/operations/accountv1getdatapointssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
640
659
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
641
660
|
| `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. |
|
|
642
661
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -662,13 +681,15 @@ Get Account Friends
|
|
|
662
681
|
```typescript
|
|
663
682
|
import { SteamSets } from "@steamsets/client-ts";
|
|
664
683
|
|
|
665
|
-
const steamSets = new SteamSets(
|
|
666
|
-
|
|
667
|
-
async function run() {
|
|
668
|
-
const result = await steamSets.account.accountV1GetFriends({}, {
|
|
684
|
+
const steamSets = new SteamSets({
|
|
685
|
+
security: {
|
|
669
686
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
670
687
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
671
|
-
}
|
|
688
|
+
},
|
|
689
|
+
});
|
|
690
|
+
|
|
691
|
+
async function run() {
|
|
692
|
+
const result = await steamSets.account.accountV1GetFriends({});
|
|
672
693
|
|
|
673
694
|
// Handle the result
|
|
674
695
|
console.log(result)
|
|
@@ -687,13 +708,15 @@ import { accountAccountV1GetFriends } from "@steamsets/client-ts/funcs/accountAc
|
|
|
687
708
|
|
|
688
709
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
689
710
|
// You can create one instance of it to use across an application.
|
|
690
|
-
const steamSets = new SteamSetsCore(
|
|
691
|
-
|
|
692
|
-
async function run() {
|
|
693
|
-
const res = await accountAccountV1GetFriends(steamSets, {}, {
|
|
711
|
+
const steamSets = new SteamSetsCore({
|
|
712
|
+
security: {
|
|
694
713
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
695
714
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
696
|
-
}
|
|
715
|
+
},
|
|
716
|
+
});
|
|
717
|
+
|
|
718
|
+
async function run() {
|
|
719
|
+
const res = await accountAccountV1GetFriends(steamSets, {});
|
|
697
720
|
|
|
698
721
|
if (!res.ok) {
|
|
699
722
|
throw res.error;
|
|
@@ -713,7 +736,6 @@ run();
|
|
|
713
736
|
| Parameter | Type | Required | Description |
|
|
714
737
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
715
738
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
716
|
-
| `security` | [operations.AccountV1GetFriendsSecurity](../../models/operations/accountv1getfriendssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
717
739
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
718
740
|
| `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. |
|
|
719
741
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -739,13 +761,15 @@ Get Account Info
|
|
|
739
761
|
```typescript
|
|
740
762
|
import { SteamSets } from "@steamsets/client-ts";
|
|
741
763
|
|
|
742
|
-
const steamSets = new SteamSets(
|
|
743
|
-
|
|
744
|
-
async function run() {
|
|
745
|
-
const result = await steamSets.account.accountV1GetInfo({}, {
|
|
764
|
+
const steamSets = new SteamSets({
|
|
765
|
+
security: {
|
|
746
766
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
747
767
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
748
|
-
}
|
|
768
|
+
},
|
|
769
|
+
});
|
|
770
|
+
|
|
771
|
+
async function run() {
|
|
772
|
+
const result = await steamSets.account.accountV1GetInfo({});
|
|
749
773
|
|
|
750
774
|
// Handle the result
|
|
751
775
|
console.log(result)
|
|
@@ -764,13 +788,15 @@ import { accountAccountV1GetInfo } from "@steamsets/client-ts/funcs/accountAccou
|
|
|
764
788
|
|
|
765
789
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
766
790
|
// You can create one instance of it to use across an application.
|
|
767
|
-
const steamSets = new SteamSetsCore(
|
|
768
|
-
|
|
769
|
-
async function run() {
|
|
770
|
-
const res = await accountAccountV1GetInfo(steamSets, {}, {
|
|
791
|
+
const steamSets = new SteamSetsCore({
|
|
792
|
+
security: {
|
|
771
793
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
772
794
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
773
|
-
}
|
|
795
|
+
},
|
|
796
|
+
});
|
|
797
|
+
|
|
798
|
+
async function run() {
|
|
799
|
+
const res = await accountAccountV1GetInfo(steamSets, {});
|
|
774
800
|
|
|
775
801
|
if (!res.ok) {
|
|
776
802
|
throw res.error;
|
|
@@ -790,7 +816,6 @@ run();
|
|
|
790
816
|
| Parameter | Type | Required | Description |
|
|
791
817
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
792
818
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
793
|
-
| `security` | [operations.AccountV1GetInfoSecurity](../../models/operations/accountv1getinfosecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
794
819
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
795
820
|
| `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. |
|
|
796
821
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -816,13 +841,15 @@ Get Account Leaderboard History
|
|
|
816
841
|
```typescript
|
|
817
842
|
import { SteamSets } from "@steamsets/client-ts";
|
|
818
843
|
|
|
819
|
-
const steamSets = new SteamSets(
|
|
820
|
-
|
|
821
|
-
async function run() {
|
|
822
|
-
const result = await steamSets.account.accountV1GetLeaderboardHistory({}, {
|
|
844
|
+
const steamSets = new SteamSets({
|
|
845
|
+
security: {
|
|
823
846
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
824
847
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
825
|
-
}
|
|
848
|
+
},
|
|
849
|
+
});
|
|
850
|
+
|
|
851
|
+
async function run() {
|
|
852
|
+
const result = await steamSets.account.accountV1GetLeaderboardHistory({});
|
|
826
853
|
|
|
827
854
|
// Handle the result
|
|
828
855
|
console.log(result)
|
|
@@ -841,13 +868,15 @@ import { accountAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/func
|
|
|
841
868
|
|
|
842
869
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
843
870
|
// You can create one instance of it to use across an application.
|
|
844
|
-
const steamSets = new SteamSetsCore(
|
|
845
|
-
|
|
846
|
-
async function run() {
|
|
847
|
-
const res = await accountAccountV1GetLeaderboardHistory(steamSets, {}, {
|
|
871
|
+
const steamSets = new SteamSetsCore({
|
|
872
|
+
security: {
|
|
848
873
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
849
874
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
850
|
-
}
|
|
875
|
+
},
|
|
876
|
+
});
|
|
877
|
+
|
|
878
|
+
async function run() {
|
|
879
|
+
const res = await accountAccountV1GetLeaderboardHistory(steamSets, {});
|
|
851
880
|
|
|
852
881
|
if (!res.ok) {
|
|
853
882
|
throw res.error;
|
|
@@ -867,7 +896,6 @@ run();
|
|
|
867
896
|
| Parameter | Type | Required | Description |
|
|
868
897
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
869
898
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
870
|
-
| `security` | [operations.AccountV1GetLeaderboardHistorySecurity](../../models/operations/accountv1getleaderboardhistorysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
871
899
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
872
900
|
| `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. |
|
|
873
901
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -893,12 +921,12 @@ Gets all session data
|
|
|
893
921
|
```typescript
|
|
894
922
|
import { SteamSets } from "@steamsets/client-ts";
|
|
895
923
|
|
|
896
|
-
const steamSets = new SteamSets(
|
|
897
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
898
|
-
});
|
|
924
|
+
const steamSets = new SteamSets();
|
|
899
925
|
|
|
900
926
|
async function run() {
|
|
901
|
-
const result = await steamSets.account.accountV1SessionGet(
|
|
927
|
+
const result = await steamSets.account.accountV1SessionGet({
|
|
928
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
929
|
+
});
|
|
902
930
|
|
|
903
931
|
// Handle the result
|
|
904
932
|
console.log(result)
|
|
@@ -917,12 +945,12 @@ import { accountAccountV1SessionGet } from "@steamsets/client-ts/funcs/accountAc
|
|
|
917
945
|
|
|
918
946
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
919
947
|
// You can create one instance of it to use across an application.
|
|
920
|
-
const steamSets = new SteamSetsCore(
|
|
921
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
922
|
-
});
|
|
948
|
+
const steamSets = new SteamSetsCore();
|
|
923
949
|
|
|
924
950
|
async function run() {
|
|
925
|
-
const res = await accountAccountV1SessionGet(steamSets
|
|
951
|
+
const res = await accountAccountV1SessionGet(steamSets, {
|
|
952
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
953
|
+
});
|
|
926
954
|
|
|
927
955
|
if (!res.ok) {
|
|
928
956
|
throw res.error;
|
|
@@ -941,6 +969,7 @@ run();
|
|
|
941
969
|
|
|
942
970
|
| Parameter | Type | Required | Description |
|
|
943
971
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
972
|
+
| `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
944
973
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
945
974
|
| `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. |
|
|
946
975
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -966,12 +995,12 @@ Gets all settings for the account
|
|
|
966
995
|
```typescript
|
|
967
996
|
import { SteamSets } from "@steamsets/client-ts";
|
|
968
997
|
|
|
969
|
-
const steamSets = new SteamSets(
|
|
970
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
971
|
-
});
|
|
998
|
+
const steamSets = new SteamSets();
|
|
972
999
|
|
|
973
1000
|
async function run() {
|
|
974
|
-
const result = await steamSets.account.accountV1SettingsGet(
|
|
1001
|
+
const result = await steamSets.account.accountV1SettingsGet({
|
|
1002
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1003
|
+
});
|
|
975
1004
|
|
|
976
1005
|
// Handle the result
|
|
977
1006
|
console.log(result)
|
|
@@ -990,12 +1019,12 @@ import { accountAccountV1SettingsGet } from "@steamsets/client-ts/funcs/accountA
|
|
|
990
1019
|
|
|
991
1020
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
992
1021
|
// You can create one instance of it to use across an application.
|
|
993
|
-
const steamSets = new SteamSetsCore(
|
|
994
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
995
|
-
});
|
|
1022
|
+
const steamSets = new SteamSetsCore();
|
|
996
1023
|
|
|
997
1024
|
async function run() {
|
|
998
|
-
const res = await accountAccountV1SettingsGet(steamSets
|
|
1025
|
+
const res = await accountAccountV1SettingsGet(steamSets, {
|
|
1026
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1027
|
+
});
|
|
999
1028
|
|
|
1000
1029
|
if (!res.ok) {
|
|
1001
1030
|
throw res.error;
|
|
@@ -1014,6 +1043,7 @@ run();
|
|
|
1014
1043
|
|
|
1015
1044
|
| Parameter | Type | Required | Description |
|
|
1016
1045
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1046
|
+
| `security` | [operations.AccountV1SettingsGetSecurity](../../models/operations/accountv1settingsgetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1017
1047
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1018
1048
|
| `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. |
|
|
1019
1049
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1039,12 +1069,12 @@ Get Staff Members and their info
|
|
|
1039
1069
|
```typescript
|
|
1040
1070
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1041
1071
|
|
|
1042
|
-
const steamSets = new SteamSets(
|
|
1043
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1044
|
-
});
|
|
1072
|
+
const steamSets = new SteamSets();
|
|
1045
1073
|
|
|
1046
1074
|
async function run() {
|
|
1047
|
-
const result = await steamSets.account.accountV1GetStaff(
|
|
1075
|
+
const result = await steamSets.account.accountV1GetStaff({
|
|
1076
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1077
|
+
});
|
|
1048
1078
|
|
|
1049
1079
|
// Handle the result
|
|
1050
1080
|
console.log(result)
|
|
@@ -1063,12 +1093,12 @@ import { accountAccountV1GetStaff } from "@steamsets/client-ts/funcs/accountAcco
|
|
|
1063
1093
|
|
|
1064
1094
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1065
1095
|
// You can create one instance of it to use across an application.
|
|
1066
|
-
const steamSets = new SteamSetsCore(
|
|
1067
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1068
|
-
});
|
|
1096
|
+
const steamSets = new SteamSetsCore();
|
|
1069
1097
|
|
|
1070
1098
|
async function run() {
|
|
1071
|
-
const res = await accountAccountV1GetStaff(steamSets
|
|
1099
|
+
const res = await accountAccountV1GetStaff(steamSets, {
|
|
1100
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1101
|
+
});
|
|
1072
1102
|
|
|
1073
1103
|
if (!res.ok) {
|
|
1074
1104
|
throw res.error;
|
|
@@ -1087,6 +1117,7 @@ run();
|
|
|
1087
1117
|
|
|
1088
1118
|
| Parameter | Type | Required | Description |
|
|
1089
1119
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1120
|
+
| `security` | [operations.AccountV1GetStaffSecurity](../../models/operations/accountv1getstaffsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1090
1121
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1091
1122
|
| `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. |
|
|
1092
1123
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1113,7 +1144,10 @@ Logs a user in and creates a new session
|
|
|
1113
1144
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1114
1145
|
|
|
1115
1146
|
const steamSets = new SteamSets({
|
|
1116
|
-
|
|
1147
|
+
security: {
|
|
1148
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1149
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1150
|
+
},
|
|
1117
1151
|
});
|
|
1118
1152
|
|
|
1119
1153
|
async function run() {
|
|
@@ -1150,7 +1184,10 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
|
|
|
1150
1184
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1151
1185
|
// You can create one instance of it to use across an application.
|
|
1152
1186
|
const steamSets = new SteamSetsCore({
|
|
1153
|
-
|
|
1187
|
+
security: {
|
|
1188
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1189
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1190
|
+
},
|
|
1154
1191
|
});
|
|
1155
1192
|
|
|
1156
1193
|
async function run() {
|
|
@@ -1212,12 +1249,12 @@ Resend the verification code for an email
|
|
|
1212
1249
|
```typescript
|
|
1213
1250
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1214
1251
|
|
|
1215
|
-
const steamSets = new SteamSets(
|
|
1216
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1217
|
-
});
|
|
1252
|
+
const steamSets = new SteamSets();
|
|
1218
1253
|
|
|
1219
1254
|
async function run() {
|
|
1220
|
-
const result = await steamSets.account.accountV1SettingsSendEmailVerification({}
|
|
1255
|
+
const result = await steamSets.account.accountV1SettingsSendEmailVerification({}, {
|
|
1256
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1257
|
+
});
|
|
1221
1258
|
|
|
1222
1259
|
// Handle the result
|
|
1223
1260
|
console.log(result)
|
|
@@ -1236,12 +1273,12 @@ import { accountAccountV1SettingsSendEmailVerification } from "@steamsets/client
|
|
|
1236
1273
|
|
|
1237
1274
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1238
1275
|
// You can create one instance of it to use across an application.
|
|
1239
|
-
const steamSets = new SteamSetsCore(
|
|
1240
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1241
|
-
});
|
|
1276
|
+
const steamSets = new SteamSetsCore();
|
|
1242
1277
|
|
|
1243
1278
|
async function run() {
|
|
1244
|
-
const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {}
|
|
1279
|
+
const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {}, {
|
|
1280
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1281
|
+
});
|
|
1245
1282
|
|
|
1246
1283
|
if (!res.ok) {
|
|
1247
1284
|
throw res.error;
|
|
@@ -1261,6 +1298,7 @@ run();
|
|
|
1261
1298
|
| Parameter | Type | Required | Description |
|
|
1262
1299
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1263
1300
|
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1301
|
+
| `security` | [operations.AccountV1SettingsSendEmailVerificationSecurity](../../models/operations/accountv1settingssendemailverificationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1264
1302
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1265
1303
|
| `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. |
|
|
1266
1304
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1286,14 +1324,14 @@ Make a connection visible/invisible
|
|
|
1286
1324
|
```typescript
|
|
1287
1325
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1288
1326
|
|
|
1289
|
-
const steamSets = new SteamSets(
|
|
1290
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1291
|
-
});
|
|
1327
|
+
const steamSets = new SteamSets();
|
|
1292
1328
|
|
|
1293
1329
|
async function run() {
|
|
1294
1330
|
const result = await steamSets.account.accountV1ConnectionUpdateConnection({
|
|
1295
1331
|
connectionId: "123456",
|
|
1296
1332
|
hidden: true,
|
|
1333
|
+
}, {
|
|
1334
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1297
1335
|
});
|
|
1298
1336
|
|
|
1299
1337
|
// Handle the result
|
|
@@ -1313,14 +1351,14 @@ import { accountAccountV1ConnectionUpdateConnection } from "@steamsets/client-ts
|
|
|
1313
1351
|
|
|
1314
1352
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1315
1353
|
// You can create one instance of it to use across an application.
|
|
1316
|
-
const steamSets = new SteamSetsCore(
|
|
1317
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1318
|
-
});
|
|
1354
|
+
const steamSets = new SteamSetsCore();
|
|
1319
1355
|
|
|
1320
1356
|
async function run() {
|
|
1321
1357
|
const res = await accountAccountV1ConnectionUpdateConnection(steamSets, {
|
|
1322
1358
|
connectionId: "123456",
|
|
1323
1359
|
hidden: true,
|
|
1360
|
+
}, {
|
|
1361
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1324
1362
|
});
|
|
1325
1363
|
|
|
1326
1364
|
if (!res.ok) {
|
|
@@ -1341,6 +1379,7 @@ run();
|
|
|
1341
1379
|
| Parameter | Type | Required | Description |
|
|
1342
1380
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1343
1381
|
| `request` | [components.V1UpdateConnectionRequestBody](../../models/components/v1updateconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1382
|
+
| `security` | [operations.AccountV1ConnectionUpdateConnectionSecurity](../../models/operations/accountv1connectionupdateconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1344
1383
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1345
1384
|
| `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. |
|
|
1346
1385
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1366,14 +1405,14 @@ Update one of the uploaded images
|
|
|
1366
1405
|
```typescript
|
|
1367
1406
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1368
1407
|
|
|
1369
|
-
const steamSets = new SteamSets(
|
|
1370
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1371
|
-
});
|
|
1408
|
+
const steamSets = new SteamSets();
|
|
1372
1409
|
|
|
1373
1410
|
async function run() {
|
|
1374
1411
|
const result = await steamSets.account.accountV1SettingsUpdateImage({
|
|
1375
1412
|
active: true,
|
|
1376
1413
|
imageId: "123456",
|
|
1414
|
+
}, {
|
|
1415
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1377
1416
|
});
|
|
1378
1417
|
|
|
1379
1418
|
// Handle the result
|
|
@@ -1393,14 +1432,14 @@ import { accountAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs/
|
|
|
1393
1432
|
|
|
1394
1433
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1395
1434
|
// You can create one instance of it to use across an application.
|
|
1396
|
-
const steamSets = new SteamSetsCore(
|
|
1397
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1398
|
-
});
|
|
1435
|
+
const steamSets = new SteamSetsCore();
|
|
1399
1436
|
|
|
1400
1437
|
async function run() {
|
|
1401
1438
|
const res = await accountAccountV1SettingsUpdateImage(steamSets, {
|
|
1402
1439
|
active: true,
|
|
1403
1440
|
imageId: "123456",
|
|
1441
|
+
}, {
|
|
1442
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1404
1443
|
});
|
|
1405
1444
|
|
|
1406
1445
|
if (!res.ok) {
|
|
@@ -1421,6 +1460,7 @@ run();
|
|
|
1421
1460
|
| Parameter | Type | Required | Description |
|
|
1422
1461
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1423
1462
|
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1463
|
+
| `security` | [operations.AccountV1SettingsUpdateImageSecurity](../../models/operations/accountv1settingsupdateimagesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1424
1464
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1425
1465
|
| `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. |
|
|
1426
1466
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1446,9 +1486,7 @@ Update settings for the logged in account
|
|
|
1446
1486
|
```typescript
|
|
1447
1487
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1448
1488
|
|
|
1449
|
-
const steamSets = new SteamSets(
|
|
1450
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1451
|
-
});
|
|
1489
|
+
const steamSets = new SteamSets();
|
|
1452
1490
|
|
|
1453
1491
|
async function run() {
|
|
1454
1492
|
const result = await steamSets.account.accountV1SettingsUpdate({
|
|
@@ -1467,6 +1505,8 @@ async function run() {
|
|
|
1467
1505
|
theme: "dark",
|
|
1468
1506
|
vanity: "flo",
|
|
1469
1507
|
},
|
|
1508
|
+
}, {
|
|
1509
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1470
1510
|
});
|
|
1471
1511
|
|
|
1472
1512
|
// Handle the result
|
|
@@ -1486,9 +1526,7 @@ import { accountAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/accou
|
|
|
1486
1526
|
|
|
1487
1527
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1488
1528
|
// You can create one instance of it to use across an application.
|
|
1489
|
-
const steamSets = new SteamSetsCore(
|
|
1490
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1491
|
-
});
|
|
1529
|
+
const steamSets = new SteamSetsCore();
|
|
1492
1530
|
|
|
1493
1531
|
async function run() {
|
|
1494
1532
|
const res = await accountAccountV1SettingsUpdate(steamSets, {
|
|
@@ -1507,6 +1545,8 @@ async function run() {
|
|
|
1507
1545
|
theme: "dark",
|
|
1508
1546
|
vanity: "flo",
|
|
1509
1547
|
},
|
|
1548
|
+
}, {
|
|
1549
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1510
1550
|
});
|
|
1511
1551
|
|
|
1512
1552
|
if (!res.ok) {
|
|
@@ -1527,6 +1567,7 @@ run();
|
|
|
1527
1567
|
| Parameter | Type | Required | Description |
|
|
1528
1568
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1529
1569
|
| `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1570
|
+
| `security` | [operations.AccountV1SettingsUpdateSecurity](../../models/operations/accountv1settingsupdatesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1530
1571
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1531
1572
|
| `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. |
|
|
1532
1573
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1552,9 +1593,7 @@ Multi Upload Endpoint for images
|
|
|
1552
1593
|
```typescript
|
|
1553
1594
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1554
1595
|
|
|
1555
|
-
const steamSets = new SteamSets(
|
|
1556
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1557
|
-
});
|
|
1596
|
+
const steamSets = new SteamSets();
|
|
1558
1597
|
|
|
1559
1598
|
async function run() {
|
|
1560
1599
|
const result = await steamSets.account.accountV1SettingsUploadImages({
|
|
@@ -1564,6 +1603,8 @@ async function run() {
|
|
|
1564
1603
|
type: "avatar",
|
|
1565
1604
|
},
|
|
1566
1605
|
],
|
|
1606
|
+
}, {
|
|
1607
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1567
1608
|
});
|
|
1568
1609
|
|
|
1569
1610
|
// Handle the result
|
|
@@ -1583,9 +1624,7 @@ import { accountAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs
|
|
|
1583
1624
|
|
|
1584
1625
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1585
1626
|
// You can create one instance of it to use across an application.
|
|
1586
|
-
const steamSets = new SteamSetsCore(
|
|
1587
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1588
|
-
});
|
|
1627
|
+
const steamSets = new SteamSetsCore();
|
|
1589
1628
|
|
|
1590
1629
|
async function run() {
|
|
1591
1630
|
const res = await accountAccountV1SettingsUploadImages(steamSets, {
|
|
@@ -1595,6 +1634,8 @@ async function run() {
|
|
|
1595
1634
|
type: "avatar",
|
|
1596
1635
|
},
|
|
1597
1636
|
],
|
|
1637
|
+
}, {
|
|
1638
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1598
1639
|
});
|
|
1599
1640
|
|
|
1600
1641
|
if (!res.ok) {
|
|
@@ -1615,6 +1656,7 @@ run();
|
|
|
1615
1656
|
| Parameter | Type | Required | Description |
|
|
1616
1657
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1617
1658
|
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1659
|
+
| `security` | [operations.AccountV1SettingsUploadImagesSecurity](../../models/operations/accountv1settingsuploadimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1618
1660
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1619
1661
|
| `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. |
|
|
1620
1662
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1640,13 +1682,13 @@ Verify a domain connection only atm
|
|
|
1640
1682
|
```typescript
|
|
1641
1683
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1642
1684
|
|
|
1643
|
-
const steamSets = new SteamSets(
|
|
1644
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1645
|
-
});
|
|
1685
|
+
const steamSets = new SteamSets();
|
|
1646
1686
|
|
|
1647
1687
|
async function run() {
|
|
1648
1688
|
const result = await steamSets.account.accountV1ConnectionVerifyConnection({
|
|
1649
1689
|
connectionId: "123456",
|
|
1690
|
+
}, {
|
|
1691
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1650
1692
|
});
|
|
1651
1693
|
|
|
1652
1694
|
// Handle the result
|
|
@@ -1666,13 +1708,13 @@ import { accountAccountV1ConnectionVerifyConnection } from "@steamsets/client-ts
|
|
|
1666
1708
|
|
|
1667
1709
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1668
1710
|
// You can create one instance of it to use across an application.
|
|
1669
|
-
const steamSets = new SteamSetsCore(
|
|
1670
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1671
|
-
});
|
|
1711
|
+
const steamSets = new SteamSetsCore();
|
|
1672
1712
|
|
|
1673
1713
|
async function run() {
|
|
1674
1714
|
const res = await accountAccountV1ConnectionVerifyConnection(steamSets, {
|
|
1675
1715
|
connectionId: "123456",
|
|
1716
|
+
}, {
|
|
1717
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1676
1718
|
});
|
|
1677
1719
|
|
|
1678
1720
|
if (!res.ok) {
|
|
@@ -1693,6 +1735,7 @@ run();
|
|
|
1693
1735
|
| Parameter | Type | Required | Description |
|
|
1694
1736
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1695
1737
|
| `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1738
|
+
| `security` | [operations.AccountV1ConnectionVerifyConnectionSecurity](../../models/operations/accountv1connectionverifyconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1696
1739
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1697
1740
|
| `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. |
|
|
1698
1741
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1718,13 +1761,13 @@ Verify the email by passing in the code the user should've gotten
|
|
|
1718
1761
|
```typescript
|
|
1719
1762
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1720
1763
|
|
|
1721
|
-
const steamSets = new SteamSets(
|
|
1722
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1723
|
-
});
|
|
1764
|
+
const steamSets = new SteamSets();
|
|
1724
1765
|
|
|
1725
1766
|
async function run() {
|
|
1726
1767
|
const result = await steamSets.account.accountV1SettingsVerfyEmail({
|
|
1727
1768
|
code: "123456",
|
|
1769
|
+
}, {
|
|
1770
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1728
1771
|
});
|
|
1729
1772
|
|
|
1730
1773
|
// Handle the result
|
|
@@ -1744,13 +1787,13 @@ import { accountAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/a
|
|
|
1744
1787
|
|
|
1745
1788
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1746
1789
|
// You can create one instance of it to use across an application.
|
|
1747
|
-
const steamSets = new SteamSetsCore(
|
|
1748
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1749
|
-
});
|
|
1790
|
+
const steamSets = new SteamSetsCore();
|
|
1750
1791
|
|
|
1751
1792
|
async function run() {
|
|
1752
1793
|
const res = await accountAccountV1SettingsVerfyEmail(steamSets, {
|
|
1753
1794
|
code: "123456",
|
|
1795
|
+
}, {
|
|
1796
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1754
1797
|
});
|
|
1755
1798
|
|
|
1756
1799
|
if (!res.ok) {
|
|
@@ -1771,6 +1814,7 @@ run();
|
|
|
1771
1814
|
| Parameter | Type | Required | Description |
|
|
1772
1815
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1773
1816
|
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1817
|
+
| `security` | [operations.AccountV1SettingsVerfyEmailSecurity](../../models/operations/accountv1settingsverfyemailsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1774
1818
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1775
1819
|
| `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. |
|
|
1776
1820
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|