@steamsets/client-ts 0.8.1 → 0.8.3
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 +23 -29
- package/docs/sdks/account/README.md +111 -220
- package/docs/sdks/app/README.md +3 -7
- package/docs/sdks/connection/README.md +24 -28
- package/docs/sdks/data/README.md +26 -51
- package/docs/sdks/liveness/README.md +2 -2
- package/docs/sdks/location/README.md +8 -9
- package/docs/sdks/public/README.md +18 -42
- package/docs/sdks/session/README.md +18 -20
- package/docs/sdks/settings/README.md +46 -128
- package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionConnect.js +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/accountAccountV1GetApps.d.ts +2 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +3 -7
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +2 -1
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +3 -7
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts +2 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.js +3 -7
- package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts +2 -1
- package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/accountAccountV1GetFriends.js +3 -7
- package/funcs/accountAccountV1GetFriends.js.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +2 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.js +3 -7
- 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 +5 -12
- package/funcs/accountAccountV1GetStaff.js.map +1 -1
- package/funcs/accountAccountV1SessionCreate.js +3 -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 +5 -12
- 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 +5 -12
- package/funcs/accountAccountV1SessionGet.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +3 -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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
- package/funcs/appAccountV1Queue.d.ts +2 -1
- package/funcs/appAccountV1Queue.d.ts.map +1 -1
- package/funcs/appAccountV1Queue.js +3 -7
- package/funcs/appAccountV1Queue.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/dataAccountV1GetApps.d.ts +2 -1
- package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
- package/funcs/dataAccountV1GetApps.js +3 -7
- package/funcs/dataAccountV1GetApps.js.map +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts +2 -1
- package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/dataAccountV1GetBadges.js +3 -7
- package/funcs/dataAccountV1GetBadges.js.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts +2 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.js +3 -7
- package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts +2 -1
- package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/dataAccountV1GetFriends.js +3 -7
- package/funcs/dataAccountV1GetFriends.js.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +2 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.js +3 -7
- 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 +5 -12
- package/funcs/dataAccountV1GetStaff.js.map +1 -1
- package/funcs/dataAccountV1Queue.d.ts +2 -1
- package/funcs/dataAccountV1Queue.d.ts.map +1 -1
- package/funcs/dataAccountV1Queue.js +3 -7
- package/funcs/dataAccountV1Queue.js.map +1 -1
- package/funcs/livenessLiveness.js +3 -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 +5 -12
- package/funcs/locationLocation.js.map +1 -1
- package/funcs/publicAccountV1GetApps.d.ts +2 -1
- package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
- package/funcs/publicAccountV1GetApps.js +3 -7
- package/funcs/publicAccountV1GetApps.js.map +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts +2 -1
- package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/publicAccountV1GetBadges.js +3 -7
- package/funcs/publicAccountV1GetBadges.js.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts +2 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.js +3 -7
- package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts +2 -1
- package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/publicAccountV1GetFriends.js +3 -7
- package/funcs/publicAccountV1GetFriends.js.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +2 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.js +3 -7
- package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/publicAccountV1Queue.d.ts +2 -1
- package/funcs/publicAccountV1Queue.d.ts.map +1 -1
- package/funcs/publicAccountV1Queue.js +3 -7
- package/funcs/publicAccountV1Queue.js.map +1 -1
- package/funcs/sessionAccountV1SessionCreate.js +3 -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 +5 -12
- 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 +5 -12
- package/funcs/sessionAccountV1SessionGet.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +3 -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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- 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 +5 -12
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/security.js +3 -3
- package/lib/security.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/security.d.ts +2 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +2 -2
- package/models/components/security.js.map +1 -1
- package/models/operations/accountv1connectionconnect.d.ts +0 -23
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
- package/models/operations/accountv1connectionconnect.js +1 -20
- package/models/operations/accountv1connectionconnect.js.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.d.ts +0 -23
- package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.js +1 -20
- package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.d.ts +0 -23
- package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.js +1 -20
- package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.d.ts +0 -23
- package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.js +1 -20
- package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
- package/models/operations/accountv1getapps.d.ts +0 -27
- package/models/operations/accountv1getapps.d.ts.map +1 -1
- package/models/operations/accountv1getapps.js +1 -36
- package/models/operations/accountv1getapps.js.map +1 -1
- package/models/operations/accountv1getbadges.d.ts +0 -27
- package/models/operations/accountv1getbadges.d.ts.map +1 -1
- package/models/operations/accountv1getbadges.js +1 -36
- package/models/operations/accountv1getbadges.js.map +1 -1
- package/models/operations/accountv1getdatapoints.d.ts +0 -27
- package/models/operations/accountv1getdatapoints.d.ts.map +1 -1
- package/models/operations/accountv1getdatapoints.js +1 -36
- package/models/operations/accountv1getdatapoints.js.map +1 -1
- package/models/operations/accountv1getfriends.d.ts +0 -27
- package/models/operations/accountv1getfriends.d.ts.map +1 -1
- package/models/operations/accountv1getfriends.js +1 -36
- package/models/operations/accountv1getfriends.js.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.d.ts +0 -27
- package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.js +1 -36
- package/models/operations/accountv1getleaderboardhistory.js.map +1 -1
- package/models/operations/accountv1getstaff.d.ts +0 -23
- package/models/operations/accountv1getstaff.d.ts.map +1 -1
- package/models/operations/accountv1getstaff.js +1 -20
- package/models/operations/accountv1getstaff.js.map +1 -1
- package/models/operations/accountv1queue.d.ts +0 -27
- package/models/operations/accountv1queue.d.ts.map +1 -1
- package/models/operations/accountv1queue.js +1 -36
- package/models/operations/accountv1queue.js.map +1 -1
- package/models/operations/accountv1sessiondelete.d.ts +0 -23
- package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
- package/models/operations/accountv1sessiondelete.js +1 -20
- package/models/operations/accountv1sessiondelete.js.map +1 -1
- package/models/operations/accountv1sessionget.d.ts +0 -23
- package/models/operations/accountv1sessionget.d.ts.map +1 -1
- package/models/operations/accountv1sessionget.js +1 -20
- package/models/operations/accountv1sessionget.js.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +0 -23
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.js +1 -20
- package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
- package/models/operations/accountv1settingsget.d.ts +0 -23
- package/models/operations/accountv1settingsget.d.ts.map +1 -1
- package/models/operations/accountv1settingsget.js +1 -20
- package/models/operations/accountv1settingsget.js.map +1 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +0 -23
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
- package/models/operations/accountv1settingssendemailverification.js +1 -20
- package/models/operations/accountv1settingssendemailverification.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +0 -23
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +1 -20
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +0 -23
- package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdateimage.js +1 -20
- package/models/operations/accountv1settingsupdateimage.js.map +1 -1
- package/models/operations/accountv1settingsuploadimages.d.ts +0 -23
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsuploadimages.js +1 -20
- package/models/operations/accountv1settingsuploadimages.js.map +1 -1
- package/models/operations/accountv1settingsverfyemail.d.ts +0 -23
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
- package/models/operations/accountv1settingsverfyemail.js +1 -20
- package/models/operations/accountv1settingsverfyemail.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/location.d.ts +0 -23
- package/models/operations/location.d.ts.map +1 -1
- package/models/operations/location.js +1 -20
- package/models/operations/location.js.map +1 -1
- package/package.json +1 -2
- package/sdk/account.d.ts +19 -23
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +28 -35
- package/sdk/account.js.map +1 -1
- package/sdk/app.d.ts +1 -1
- package/sdk/app.d.ts.map +1 -1
- 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 +7 -7
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +2 -2
- 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 +6 -6
- package/sdk/public.d.ts.map +1 -1
- 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 -11
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +14 -21
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionConnect.ts +5 -13
- package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +5 -13
- package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +5 -13
- package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +5 -13
- package/src/funcs/accountAccountV1GetApps.ts +5 -16
- package/src/funcs/accountAccountV1GetBadges.ts +5 -17
- package/src/funcs/accountAccountV1GetDataPoints.ts +5 -17
- package/src/funcs/accountAccountV1GetFriends.ts +5 -17
- package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +5 -19
- package/src/funcs/accountAccountV1GetStaff.ts +5 -13
- package/src/funcs/accountAccountV1SessionCreate.ts +3 -3
- package/src/funcs/accountAccountV1SessionDelete.ts +5 -13
- package/src/funcs/accountAccountV1SessionGet.ts +5 -13
- package/src/funcs/accountAccountV1SessionLogin.ts +3 -3
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +5 -13
- package/src/funcs/accountAccountV1SettingsGet.ts +5 -13
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +5 -13
- package/src/funcs/accountAccountV1SettingsUpdate.ts +5 -13
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +5 -13
- package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -13
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +5 -13
- package/src/funcs/appAccountV1Queue.ts +5 -16
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +5 -13
- package/src/funcs/dataAccountV1GetApps.ts +5 -16
- package/src/funcs/dataAccountV1GetBadges.ts +5 -17
- package/src/funcs/dataAccountV1GetDataPoints.ts +5 -17
- package/src/funcs/dataAccountV1GetFriends.ts +5 -17
- package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +5 -19
- package/src/funcs/dataAccountV1GetStaff.ts +5 -13
- package/src/funcs/dataAccountV1Queue.ts +5 -16
- package/src/funcs/livenessLiveness.ts +3 -3
- package/src/funcs/locationLocation.ts +5 -13
- package/src/funcs/publicAccountV1GetApps.ts +5 -16
- package/src/funcs/publicAccountV1GetBadges.ts +5 -17
- package/src/funcs/publicAccountV1GetDataPoints.ts +5 -17
- package/src/funcs/publicAccountV1GetFriends.ts +5 -17
- package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +5 -19
- package/src/funcs/publicAccountV1Queue.ts +5 -16
- package/src/funcs/sessionAccountV1SessionCreate.ts +3 -3
- package/src/funcs/sessionAccountV1SessionDelete.ts +5 -13
- package/src/funcs/sessionAccountV1SessionGet.ts +5 -13
- package/src/funcs/sessionAccountV1SessionLogin.ts +3 -3
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsGet.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +5 -13
- package/src/lib/config.ts +4 -4
- package/src/lib/security.ts +3 -3
- package/src/models/components/index.ts +0 -1
- package/src/models/components/security.ts +4 -4
- package/src/models/operations/accountv1connectionconnect.ts +0 -41
- package/src/models/operations/accountv1connectiondeleteconnection.ts +0 -44
- package/src/models/operations/accountv1connectionupdateconnection.ts +0 -44
- package/src/models/operations/accountv1connectionverifyconnection.ts +0 -44
- package/src/models/operations/accountv1getapps.ts +0 -60
- package/src/models/operations/accountv1getbadges.ts +0 -60
- package/src/models/operations/accountv1getdatapoints.ts +0 -60
- package/src/models/operations/accountv1getfriends.ts +0 -60
- package/src/models/operations/accountv1getleaderboardhistory.ts +0 -62
- package/src/models/operations/accountv1getstaff.ts +0 -40
- package/src/models/operations/accountv1queue.ts +0 -60
- package/src/models/operations/accountv1sessiondelete.ts +0 -40
- package/src/models/operations/accountv1sessionget.ts +0 -40
- package/src/models/operations/accountv1settingsdeleteimages.ts +0 -42
- package/src/models/operations/accountv1settingsget.ts +0 -40
- package/src/models/operations/accountv1settingssendemailverification.ts +0 -45
- package/src/models/operations/accountv1settingsupdate.ts +0 -40
- package/src/models/operations/accountv1settingsupdateimage.ts +0 -42
- package/src/models/operations/accountv1settingsuploadimages.ts +0 -42
- package/src/models/operations/accountv1settingsverfyemail.ts +0 -42
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/location.ts +0 -40
- package/src/sdk/account.ts +5 -48
- package/src/sdk/app.ts +1 -1
- package/src/sdk/connection.ts +0 -8
- package/src/sdk/data.ts +6 -8
- package/src/sdk/location.ts +0 -2
- package/src/sdk/public.ts +6 -6
- package/src/sdk/session.ts +0 -4
- package/src/sdk/settings.ts +0 -29
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +0 -13
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.js +0 -92
- package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +0 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +0 -13
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js +0 -92
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +0 -1
- package/models/components/v1generateapikeyresponsebody.d.ts +0 -33
- package/models/components/v1generateapikeyresponsebody.d.ts.map +0 -1
- package/models/components/v1generateapikeyresponsebody.js +0 -61
- package/models/components/v1generateapikeyresponsebody.js.map +0 -1
- package/models/operations/accountv1settingsgenerateapikey.d.ts +0 -54
- package/models/operations/accountv1settingsgenerateapikey.d.ts.map +0 -1
- package/models/operations/accountv1settingsgenerateapikey.js +0 -85
- package/models/operations/accountv1settingsgenerateapikey.js.map +0 -1
- package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +0 -120
- package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +0 -120
- package/src/models/components/v1generateapikeyresponsebody.ts +0 -64
- package/src/models/operations/accountv1settingsgenerateapikey.ts +0 -114
|
@@ -12,7 +12,6 @@ Account related operations
|
|
|
12
12
|
* [accountV1ConnectionDeleteConnection](#accountv1connectiondeleteconnection) - Remove a connection
|
|
13
13
|
* [accountV1SettingsDeleteImages](#accountv1settingsdeleteimages) - Delete mulitple imagest
|
|
14
14
|
* [accountV1SessionDelete](#accountv1sessiondelete) - Deletes a session, can also be used to logout
|
|
15
|
-
* [accountV1SettingsGenerateApiKey](#accountv1settingsgenerateapikey) - Generate a new API key for the account
|
|
16
15
|
* [accountV1GetApps](#accountv1getapps) - Get Account Apps
|
|
17
16
|
* [accountV1GetBadges](#accountv1getbadges) - Get Account Badges
|
|
18
17
|
* [accountV1GetDataPoints](#accountv1getdatapoints) - Get Account DataPoints
|
|
@@ -40,14 +39,14 @@ Connect a new Social Provider
|
|
|
40
39
|
```typescript
|
|
41
40
|
import { SteamSets } from "@steamsets/client-ts";
|
|
42
41
|
|
|
43
|
-
const steamSets = new SteamSets(
|
|
42
|
+
const steamSets = new SteamSets({
|
|
43
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
44
|
+
});
|
|
44
45
|
|
|
45
46
|
async function run() {
|
|
46
47
|
const result = await steamSets.account.accountV1ConnectionConnect({
|
|
47
48
|
code: "123456",
|
|
48
49
|
provider: "discord",
|
|
49
|
-
}, {
|
|
50
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
51
50
|
});
|
|
52
51
|
|
|
53
52
|
// Handle the result
|
|
@@ -67,14 +66,14 @@ import { accountAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs/ac
|
|
|
67
66
|
|
|
68
67
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
69
68
|
// You can create one instance of it to use across an application.
|
|
70
|
-
const steamSets = new SteamSetsCore(
|
|
69
|
+
const steamSets = new SteamSetsCore({
|
|
70
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
71
|
+
});
|
|
71
72
|
|
|
72
73
|
async function run() {
|
|
73
74
|
const res = await accountAccountV1ConnectionConnect(steamSets, {
|
|
74
75
|
code: "123456",
|
|
75
76
|
provider: "discord",
|
|
76
|
-
}, {
|
|
77
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
78
77
|
});
|
|
79
78
|
|
|
80
79
|
if (!res.ok) {
|
|
@@ -95,7 +94,6 @@ run();
|
|
|
95
94
|
| Parameter | Type | Required | Description |
|
|
96
95
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
97
96
|
| `request` | [components.V1ConnectRequestBody](../../models/components/v1connectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
98
|
-
| `security` | [operations.AccountV1ConnectionConnectSecurity](../../models/operations/accountv1connectionconnectsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
99
97
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
100
98
|
| `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. |
|
|
101
99
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -122,7 +120,7 @@ Create a new session for non logged in users
|
|
|
122
120
|
import { SteamSets } from "@steamsets/client-ts";
|
|
123
121
|
|
|
124
122
|
const steamSets = new SteamSets({
|
|
125
|
-
|
|
123
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
126
124
|
});
|
|
127
125
|
|
|
128
126
|
async function run() {
|
|
@@ -146,7 +144,7 @@ import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accoun
|
|
|
146
144
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
147
145
|
// You can create one instance of it to use across an application.
|
|
148
146
|
const steamSets = new SteamSetsCore({
|
|
149
|
-
|
|
147
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
150
148
|
});
|
|
151
149
|
|
|
152
150
|
async function run() {
|
|
@@ -195,13 +193,13 @@ Remove a connection
|
|
|
195
193
|
```typescript
|
|
196
194
|
import { SteamSets } from "@steamsets/client-ts";
|
|
197
195
|
|
|
198
|
-
const steamSets = new SteamSets(
|
|
196
|
+
const steamSets = new SteamSets({
|
|
197
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
198
|
+
});
|
|
199
199
|
|
|
200
200
|
async function run() {
|
|
201
201
|
const result = await steamSets.account.accountV1ConnectionDeleteConnection({
|
|
202
202
|
connectionId: "123456",
|
|
203
|
-
}, {
|
|
204
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
205
203
|
});
|
|
206
204
|
|
|
207
205
|
// Handle the result
|
|
@@ -221,13 +219,13 @@ import { accountAccountV1ConnectionDeleteConnection } from "@steamsets/client-ts
|
|
|
221
219
|
|
|
222
220
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
223
221
|
// You can create one instance of it to use across an application.
|
|
224
|
-
const steamSets = new SteamSetsCore(
|
|
222
|
+
const steamSets = new SteamSetsCore({
|
|
223
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
224
|
+
});
|
|
225
225
|
|
|
226
226
|
async function run() {
|
|
227
227
|
const res = await accountAccountV1ConnectionDeleteConnection(steamSets, {
|
|
228
228
|
connectionId: "123456",
|
|
229
|
-
}, {
|
|
230
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
231
229
|
});
|
|
232
230
|
|
|
233
231
|
if (!res.ok) {
|
|
@@ -248,7 +246,6 @@ run();
|
|
|
248
246
|
| Parameter | Type | Required | Description |
|
|
249
247
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
250
248
|
| `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
251
|
-
| `security` | [operations.AccountV1ConnectionDeleteConnectionSecurity](../../models/operations/accountv1connectiondeleteconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
252
249
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
253
250
|
| `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. |
|
|
254
251
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -274,15 +271,15 @@ Delete mulitple imagest
|
|
|
274
271
|
```typescript
|
|
275
272
|
import { SteamSets } from "@steamsets/client-ts";
|
|
276
273
|
|
|
277
|
-
const steamSets = new SteamSets(
|
|
274
|
+
const steamSets = new SteamSets({
|
|
275
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
276
|
+
});
|
|
278
277
|
|
|
279
278
|
async function run() {
|
|
280
279
|
const result = await steamSets.account.accountV1SettingsDeleteImages({
|
|
281
280
|
imageIds: [
|
|
282
281
|
"<value>",
|
|
283
282
|
],
|
|
284
|
-
}, {
|
|
285
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
286
283
|
});
|
|
287
284
|
|
|
288
285
|
// Handle the result
|
|
@@ -302,15 +299,15 @@ import { accountAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs
|
|
|
302
299
|
|
|
303
300
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
304
301
|
// You can create one instance of it to use across an application.
|
|
305
|
-
const steamSets = new SteamSetsCore(
|
|
302
|
+
const steamSets = new SteamSetsCore({
|
|
303
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
304
|
+
});
|
|
306
305
|
|
|
307
306
|
async function run() {
|
|
308
307
|
const res = await accountAccountV1SettingsDeleteImages(steamSets, {
|
|
309
308
|
imageIds: [
|
|
310
309
|
"<value>",
|
|
311
310
|
],
|
|
312
|
-
}, {
|
|
313
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
314
311
|
});
|
|
315
312
|
|
|
316
313
|
if (!res.ok) {
|
|
@@ -331,7 +328,6 @@ run();
|
|
|
331
328
|
| Parameter | Type | Required | Description |
|
|
332
329
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
333
330
|
| `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
334
|
-
| `security` | [operations.AccountV1SettingsDeleteImagesSecurity](../../models/operations/accountv1settingsdeleteimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
335
331
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
336
332
|
| `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. |
|
|
337
333
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -357,13 +353,13 @@ Deletes a session, can also be used to logout
|
|
|
357
353
|
```typescript
|
|
358
354
|
import { SteamSets } from "@steamsets/client-ts";
|
|
359
355
|
|
|
360
|
-
const steamSets = new SteamSets(
|
|
356
|
+
const steamSets = new SteamSets({
|
|
357
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
358
|
+
});
|
|
361
359
|
|
|
362
360
|
async function run() {
|
|
363
361
|
const result = await steamSets.account.accountV1SessionDelete({
|
|
364
362
|
sessionId: "123456",
|
|
365
|
-
}, {
|
|
366
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
367
363
|
});
|
|
368
364
|
|
|
369
365
|
// Handle the result
|
|
@@ -383,13 +379,13 @@ import { accountAccountV1SessionDelete } from "@steamsets/client-ts/funcs/accoun
|
|
|
383
379
|
|
|
384
380
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
385
381
|
// You can create one instance of it to use across an application.
|
|
386
|
-
const steamSets = new SteamSetsCore(
|
|
382
|
+
const steamSets = new SteamSetsCore({
|
|
383
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
384
|
+
});
|
|
387
385
|
|
|
388
386
|
async function run() {
|
|
389
387
|
const res = await accountAccountV1SessionDelete(steamSets, {
|
|
390
388
|
sessionId: "123456",
|
|
391
|
-
}, {
|
|
392
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
393
389
|
});
|
|
394
390
|
|
|
395
391
|
if (!res.ok) {
|
|
@@ -410,7 +406,6 @@ run();
|
|
|
410
406
|
| Parameter | Type | Required | Description |
|
|
411
407
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
412
408
|
| `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
413
|
-
| `security` | [operations.AccountV1SessionDeleteSecurity](../../models/operations/accountv1sessiondeletesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
414
409
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
415
410
|
| `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. |
|
|
416
411
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -427,80 +422,6 @@ run();
|
|
|
427
422
|
| errors.SDKError | 4xx-5xx | */* |
|
|
428
423
|
|
|
429
424
|
|
|
430
|
-
## accountV1SettingsGenerateApiKey
|
|
431
|
-
|
|
432
|
-
Generate a new API key for the account
|
|
433
|
-
|
|
434
|
-
### Example Usage
|
|
435
|
-
|
|
436
|
-
```typescript
|
|
437
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
438
|
-
|
|
439
|
-
const steamSets = new SteamSets();
|
|
440
|
-
|
|
441
|
-
async function run() {
|
|
442
|
-
const result = await steamSets.account.accountV1SettingsGenerateApiKey({
|
|
443
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
444
|
-
});
|
|
445
|
-
|
|
446
|
-
// Handle the result
|
|
447
|
-
console.log(result)
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
run();
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
### Standalone function
|
|
454
|
-
|
|
455
|
-
The standalone function version of this method:
|
|
456
|
-
|
|
457
|
-
```typescript
|
|
458
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
459
|
-
import { accountAccountV1SettingsGenerateApiKey } from "@steamsets/client-ts/funcs/accountAccountV1SettingsGenerateApiKey.js";
|
|
460
|
-
|
|
461
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
462
|
-
// You can create one instance of it to use across an application.
|
|
463
|
-
const steamSets = new SteamSetsCore();
|
|
464
|
-
|
|
465
|
-
async function run() {
|
|
466
|
-
const res = await accountAccountV1SettingsGenerateApiKey(steamSets, {
|
|
467
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
468
|
-
});
|
|
469
|
-
|
|
470
|
-
if (!res.ok) {
|
|
471
|
-
throw res.error;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
const { value: result } = res;
|
|
475
|
-
|
|
476
|
-
// Handle the result
|
|
477
|
-
console.log(result)
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
run();
|
|
481
|
-
```
|
|
482
|
-
|
|
483
|
-
### Parameters
|
|
484
|
-
|
|
485
|
-
| Parameter | Type | Required | Description |
|
|
486
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
487
|
-
| `security` | [operations.AccountV1SettingsGenerateApiKeySecurity](../../models/operations/accountv1settingsgenerateapikeysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
488
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
489
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
490
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
491
|
-
|
|
492
|
-
### Response
|
|
493
|
-
|
|
494
|
-
**Promise\<[operations.AccountV1SettingsGenerateApiKeyResponse](../../models/operations/accountv1settingsgenerateapikeyresponse.md)\>**
|
|
495
|
-
|
|
496
|
-
### Errors
|
|
497
|
-
|
|
498
|
-
| Error Object | Status Code | Content Type |
|
|
499
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
500
|
-
| errors.ErrorModel | 404,429,500 | application/problem+json |
|
|
501
|
-
| errors.SDKError | 4xx-5xx | */* |
|
|
502
|
-
|
|
503
|
-
|
|
504
425
|
## accountV1GetApps
|
|
505
426
|
|
|
506
427
|
Get Account Apps
|
|
@@ -513,9 +434,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
513
434
|
const steamSets = new SteamSets();
|
|
514
435
|
|
|
515
436
|
async function run() {
|
|
516
|
-
const result = await steamSets.account.accountV1GetApps({
|
|
517
|
-
accountSearch: {},
|
|
518
|
-
}, {
|
|
437
|
+
const result = await steamSets.account.accountV1GetApps({}, {
|
|
519
438
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
520
439
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
521
440
|
});
|
|
@@ -540,9 +459,7 @@ import { accountAccountV1GetApps } from "@steamsets/client-ts/funcs/accountAccou
|
|
|
540
459
|
const steamSets = new SteamSetsCore();
|
|
541
460
|
|
|
542
461
|
async function run() {
|
|
543
|
-
const res = await accountAccountV1GetApps(steamSets, {
|
|
544
|
-
accountSearch: {},
|
|
545
|
-
}, {
|
|
462
|
+
const res = await accountAccountV1GetApps(steamSets, {}, {
|
|
546
463
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
547
464
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
548
465
|
});
|
|
@@ -564,7 +481,7 @@ run();
|
|
|
564
481
|
|
|
565
482
|
| Parameter | Type | Required | Description |
|
|
566
483
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
567
|
-
| `request` | [
|
|
484
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
568
485
|
| `security` | [operations.AccountV1GetAppsSecurity](../../models/operations/accountv1getappssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
569
486
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
570
487
|
| `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. |
|
|
@@ -594,9 +511,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
594
511
|
const steamSets = new SteamSets();
|
|
595
512
|
|
|
596
513
|
async function run() {
|
|
597
|
-
const result = await steamSets.account.accountV1GetBadges({
|
|
598
|
-
accountSearch: {},
|
|
599
|
-
}, {
|
|
514
|
+
const result = await steamSets.account.accountV1GetBadges({}, {
|
|
600
515
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
601
516
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
602
517
|
});
|
|
@@ -621,9 +536,7 @@ import { accountAccountV1GetBadges } from "@steamsets/client-ts/funcs/accountAcc
|
|
|
621
536
|
const steamSets = new SteamSetsCore();
|
|
622
537
|
|
|
623
538
|
async function run() {
|
|
624
|
-
const res = await accountAccountV1GetBadges(steamSets, {
|
|
625
|
-
accountSearch: {},
|
|
626
|
-
}, {
|
|
539
|
+
const res = await accountAccountV1GetBadges(steamSets, {}, {
|
|
627
540
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
628
541
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
629
542
|
});
|
|
@@ -645,7 +558,7 @@ run();
|
|
|
645
558
|
|
|
646
559
|
| Parameter | Type | Required | Description |
|
|
647
560
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
648
|
-
| `request` | [
|
|
561
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
649
562
|
| `security` | [operations.AccountV1GetBadgesSecurity](../../models/operations/accountv1getbadgessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
650
563
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
651
564
|
| `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. |
|
|
@@ -675,9 +588,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
675
588
|
const steamSets = new SteamSets();
|
|
676
589
|
|
|
677
590
|
async function run() {
|
|
678
|
-
const result = await steamSets.account.accountV1GetDataPoints({
|
|
679
|
-
accountSearch: {},
|
|
680
|
-
}, {
|
|
591
|
+
const result = await steamSets.account.accountV1GetDataPoints({}, {
|
|
681
592
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
682
593
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
683
594
|
});
|
|
@@ -702,9 +613,7 @@ import { accountAccountV1GetDataPoints } from "@steamsets/client-ts/funcs/accoun
|
|
|
702
613
|
const steamSets = new SteamSetsCore();
|
|
703
614
|
|
|
704
615
|
async function run() {
|
|
705
|
-
const res = await accountAccountV1GetDataPoints(steamSets, {
|
|
706
|
-
accountSearch: {},
|
|
707
|
-
}, {
|
|
616
|
+
const res = await accountAccountV1GetDataPoints(steamSets, {}, {
|
|
708
617
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
709
618
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
710
619
|
});
|
|
@@ -726,7 +635,7 @@ run();
|
|
|
726
635
|
|
|
727
636
|
| Parameter | Type | Required | Description |
|
|
728
637
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
729
|
-
| `request` | [
|
|
638
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
730
639
|
| `security` | [operations.AccountV1GetDataPointsSecurity](../../models/operations/accountv1getdatapointssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
731
640
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
732
641
|
| `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. |
|
|
@@ -756,9 +665,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
756
665
|
const steamSets = new SteamSets();
|
|
757
666
|
|
|
758
667
|
async function run() {
|
|
759
|
-
const result = await steamSets.account.accountV1GetFriends({
|
|
760
|
-
accountSearch: {},
|
|
761
|
-
}, {
|
|
668
|
+
const result = await steamSets.account.accountV1GetFriends({}, {
|
|
762
669
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
763
670
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
764
671
|
});
|
|
@@ -783,9 +690,7 @@ import { accountAccountV1GetFriends } from "@steamsets/client-ts/funcs/accountAc
|
|
|
783
690
|
const steamSets = new SteamSetsCore();
|
|
784
691
|
|
|
785
692
|
async function run() {
|
|
786
|
-
const res = await accountAccountV1GetFriends(steamSets, {
|
|
787
|
-
accountSearch: {},
|
|
788
|
-
}, {
|
|
693
|
+
const res = await accountAccountV1GetFriends(steamSets, {}, {
|
|
789
694
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
790
695
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
791
696
|
});
|
|
@@ -807,7 +712,7 @@ run();
|
|
|
807
712
|
|
|
808
713
|
| Parameter | Type | Required | Description |
|
|
809
714
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
810
|
-
| `request` | [
|
|
715
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
811
716
|
| `security` | [operations.AccountV1GetFriendsSecurity](../../models/operations/accountv1getfriendssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
812
717
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
813
718
|
| `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. |
|
|
@@ -914,9 +819,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
914
819
|
const steamSets = new SteamSets();
|
|
915
820
|
|
|
916
821
|
async function run() {
|
|
917
|
-
const result = await steamSets.account.accountV1GetLeaderboardHistory({
|
|
918
|
-
accountSearch: {},
|
|
919
|
-
}, {
|
|
822
|
+
const result = await steamSets.account.accountV1GetLeaderboardHistory({}, {
|
|
920
823
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
921
824
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
922
825
|
});
|
|
@@ -941,9 +844,7 @@ import { accountAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/func
|
|
|
941
844
|
const steamSets = new SteamSetsCore();
|
|
942
845
|
|
|
943
846
|
async function run() {
|
|
944
|
-
const res = await accountAccountV1GetLeaderboardHistory(steamSets, {
|
|
945
|
-
accountSearch: {},
|
|
946
|
-
}, {
|
|
847
|
+
const res = await accountAccountV1GetLeaderboardHistory(steamSets, {}, {
|
|
947
848
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
948
849
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
949
850
|
});
|
|
@@ -965,7 +866,7 @@ run();
|
|
|
965
866
|
|
|
966
867
|
| Parameter | Type | Required | Description |
|
|
967
868
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
968
|
-
| `request` | [
|
|
869
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
969
870
|
| `security` | [operations.AccountV1GetLeaderboardHistorySecurity](../../models/operations/accountv1getleaderboardhistorysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
970
871
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
971
872
|
| `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. |
|
|
@@ -992,12 +893,12 @@ Gets all session data
|
|
|
992
893
|
```typescript
|
|
993
894
|
import { SteamSets } from "@steamsets/client-ts";
|
|
994
895
|
|
|
995
|
-
const steamSets = new SteamSets(
|
|
896
|
+
const steamSets = new SteamSets({
|
|
897
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
898
|
+
});
|
|
996
899
|
|
|
997
900
|
async function run() {
|
|
998
|
-
const result = await steamSets.account.accountV1SessionGet(
|
|
999
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1000
|
-
});
|
|
901
|
+
const result = await steamSets.account.accountV1SessionGet();
|
|
1001
902
|
|
|
1002
903
|
// Handle the result
|
|
1003
904
|
console.log(result)
|
|
@@ -1016,12 +917,12 @@ import { accountAccountV1SessionGet } from "@steamsets/client-ts/funcs/accountAc
|
|
|
1016
917
|
|
|
1017
918
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1018
919
|
// You can create one instance of it to use across an application.
|
|
1019
|
-
const steamSets = new SteamSetsCore(
|
|
920
|
+
const steamSets = new SteamSetsCore({
|
|
921
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
922
|
+
});
|
|
1020
923
|
|
|
1021
924
|
async function run() {
|
|
1022
|
-
const res = await accountAccountV1SessionGet(steamSets
|
|
1023
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1024
|
-
});
|
|
925
|
+
const res = await accountAccountV1SessionGet(steamSets);
|
|
1025
926
|
|
|
1026
927
|
if (!res.ok) {
|
|
1027
928
|
throw res.error;
|
|
@@ -1040,7 +941,6 @@ run();
|
|
|
1040
941
|
|
|
1041
942
|
| Parameter | Type | Required | Description |
|
|
1042
943
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1043
|
-
| `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1044
944
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1045
945
|
| `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. |
|
|
1046
946
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1066,12 +966,12 @@ Gets all settings for the account
|
|
|
1066
966
|
```typescript
|
|
1067
967
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1068
968
|
|
|
1069
|
-
const steamSets = new SteamSets(
|
|
969
|
+
const steamSets = new SteamSets({
|
|
970
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
971
|
+
});
|
|
1070
972
|
|
|
1071
973
|
async function run() {
|
|
1072
|
-
const result = await steamSets.account.accountV1SettingsGet(
|
|
1073
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1074
|
-
});
|
|
974
|
+
const result = await steamSets.account.accountV1SettingsGet();
|
|
1075
975
|
|
|
1076
976
|
// Handle the result
|
|
1077
977
|
console.log(result)
|
|
@@ -1090,12 +990,12 @@ import { accountAccountV1SettingsGet } from "@steamsets/client-ts/funcs/accountA
|
|
|
1090
990
|
|
|
1091
991
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1092
992
|
// You can create one instance of it to use across an application.
|
|
1093
|
-
const steamSets = new SteamSetsCore(
|
|
993
|
+
const steamSets = new SteamSetsCore({
|
|
994
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
995
|
+
});
|
|
1094
996
|
|
|
1095
997
|
async function run() {
|
|
1096
|
-
const res = await accountAccountV1SettingsGet(steamSets
|
|
1097
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1098
|
-
});
|
|
998
|
+
const res = await accountAccountV1SettingsGet(steamSets);
|
|
1099
999
|
|
|
1100
1000
|
if (!res.ok) {
|
|
1101
1001
|
throw res.error;
|
|
@@ -1114,7 +1014,6 @@ run();
|
|
|
1114
1014
|
|
|
1115
1015
|
| Parameter | Type | Required | Description |
|
|
1116
1016
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1117
|
-
| `security` | [operations.AccountV1SettingsGetSecurity](../../models/operations/accountv1settingsgetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1118
1017
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1119
1018
|
| `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. |
|
|
1120
1019
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1140,12 +1039,12 @@ Get Staff Members and their info
|
|
|
1140
1039
|
```typescript
|
|
1141
1040
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1142
1041
|
|
|
1143
|
-
const steamSets = new SteamSets(
|
|
1042
|
+
const steamSets = new SteamSets({
|
|
1043
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1044
|
+
});
|
|
1144
1045
|
|
|
1145
1046
|
async function run() {
|
|
1146
|
-
const result = await steamSets.account.accountV1GetStaff(
|
|
1147
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1148
|
-
});
|
|
1047
|
+
const result = await steamSets.account.accountV1GetStaff();
|
|
1149
1048
|
|
|
1150
1049
|
// Handle the result
|
|
1151
1050
|
console.log(result)
|
|
@@ -1164,12 +1063,12 @@ import { accountAccountV1GetStaff } from "@steamsets/client-ts/funcs/accountAcco
|
|
|
1164
1063
|
|
|
1165
1064
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1166
1065
|
// You can create one instance of it to use across an application.
|
|
1167
|
-
const steamSets = new SteamSetsCore(
|
|
1066
|
+
const steamSets = new SteamSetsCore({
|
|
1067
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1068
|
+
});
|
|
1168
1069
|
|
|
1169
1070
|
async function run() {
|
|
1170
|
-
const res = await accountAccountV1GetStaff(steamSets
|
|
1171
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1172
|
-
});
|
|
1071
|
+
const res = await accountAccountV1GetStaff(steamSets);
|
|
1173
1072
|
|
|
1174
1073
|
if (!res.ok) {
|
|
1175
1074
|
throw res.error;
|
|
@@ -1188,7 +1087,6 @@ run();
|
|
|
1188
1087
|
|
|
1189
1088
|
| Parameter | Type | Required | Description |
|
|
1190
1089
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1191
|
-
| `security` | [operations.AccountV1GetStaffSecurity](../../models/operations/accountv1getstaffsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1192
1090
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1193
1091
|
| `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. |
|
|
1194
1092
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1215,7 +1113,7 @@ Logs a user in and creates a new session
|
|
|
1215
1113
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1216
1114
|
|
|
1217
1115
|
const steamSets = new SteamSets({
|
|
1218
|
-
|
|
1116
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1219
1117
|
});
|
|
1220
1118
|
|
|
1221
1119
|
async function run() {
|
|
@@ -1252,7 +1150,7 @@ import { accountAccountV1SessionLogin } from "@steamsets/client-ts/funcs/account
|
|
|
1252
1150
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1253
1151
|
// You can create one instance of it to use across an application.
|
|
1254
1152
|
const steamSets = new SteamSetsCore({
|
|
1255
|
-
|
|
1153
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1256
1154
|
});
|
|
1257
1155
|
|
|
1258
1156
|
async function run() {
|
|
@@ -1314,12 +1212,12 @@ Resend the verification code for an email
|
|
|
1314
1212
|
```typescript
|
|
1315
1213
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1316
1214
|
|
|
1317
|
-
const steamSets = new SteamSets(
|
|
1215
|
+
const steamSets = new SteamSets({
|
|
1216
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1217
|
+
});
|
|
1318
1218
|
|
|
1319
1219
|
async function run() {
|
|
1320
|
-
const result = await steamSets.account.accountV1SettingsSendEmailVerification({}
|
|
1321
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1322
|
-
});
|
|
1220
|
+
const result = await steamSets.account.accountV1SettingsSendEmailVerification({});
|
|
1323
1221
|
|
|
1324
1222
|
// Handle the result
|
|
1325
1223
|
console.log(result)
|
|
@@ -1338,12 +1236,12 @@ import { accountAccountV1SettingsSendEmailVerification } from "@steamsets/client
|
|
|
1338
1236
|
|
|
1339
1237
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1340
1238
|
// You can create one instance of it to use across an application.
|
|
1341
|
-
const steamSets = new SteamSetsCore(
|
|
1239
|
+
const steamSets = new SteamSetsCore({
|
|
1240
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1241
|
+
});
|
|
1342
1242
|
|
|
1343
1243
|
async function run() {
|
|
1344
|
-
const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {}
|
|
1345
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1346
|
-
});
|
|
1244
|
+
const res = await accountAccountV1SettingsSendEmailVerification(steamSets, {});
|
|
1347
1245
|
|
|
1348
1246
|
if (!res.ok) {
|
|
1349
1247
|
throw res.error;
|
|
@@ -1363,7 +1261,6 @@ run();
|
|
|
1363
1261
|
| Parameter | Type | Required | Description |
|
|
1364
1262
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1365
1263
|
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1366
|
-
| `security` | [operations.AccountV1SettingsSendEmailVerificationSecurity](../../models/operations/accountv1settingssendemailverificationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1367
1264
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1368
1265
|
| `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. |
|
|
1369
1266
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1389,14 +1286,14 @@ Make a connection visible/invisible
|
|
|
1389
1286
|
```typescript
|
|
1390
1287
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1391
1288
|
|
|
1392
|
-
const steamSets = new SteamSets(
|
|
1289
|
+
const steamSets = new SteamSets({
|
|
1290
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1291
|
+
});
|
|
1393
1292
|
|
|
1394
1293
|
async function run() {
|
|
1395
1294
|
const result = await steamSets.account.accountV1ConnectionUpdateConnection({
|
|
1396
1295
|
connectionId: "123456",
|
|
1397
1296
|
hidden: true,
|
|
1398
|
-
}, {
|
|
1399
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1400
1297
|
});
|
|
1401
1298
|
|
|
1402
1299
|
// Handle the result
|
|
@@ -1416,14 +1313,14 @@ import { accountAccountV1ConnectionUpdateConnection } from "@steamsets/client-ts
|
|
|
1416
1313
|
|
|
1417
1314
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1418
1315
|
// You can create one instance of it to use across an application.
|
|
1419
|
-
const steamSets = new SteamSetsCore(
|
|
1316
|
+
const steamSets = new SteamSetsCore({
|
|
1317
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1318
|
+
});
|
|
1420
1319
|
|
|
1421
1320
|
async function run() {
|
|
1422
1321
|
const res = await accountAccountV1ConnectionUpdateConnection(steamSets, {
|
|
1423
1322
|
connectionId: "123456",
|
|
1424
1323
|
hidden: true,
|
|
1425
|
-
}, {
|
|
1426
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1427
1324
|
});
|
|
1428
1325
|
|
|
1429
1326
|
if (!res.ok) {
|
|
@@ -1444,7 +1341,6 @@ run();
|
|
|
1444
1341
|
| Parameter | Type | Required | Description |
|
|
1445
1342
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1446
1343
|
| `request` | [components.V1UpdateConnectionRequestBody](../../models/components/v1updateconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1447
|
-
| `security` | [operations.AccountV1ConnectionUpdateConnectionSecurity](../../models/operations/accountv1connectionupdateconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1448
1344
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1449
1345
|
| `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. |
|
|
1450
1346
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1470,14 +1366,14 @@ Update one of the uploaded images
|
|
|
1470
1366
|
```typescript
|
|
1471
1367
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1472
1368
|
|
|
1473
|
-
const steamSets = new SteamSets(
|
|
1369
|
+
const steamSets = new SteamSets({
|
|
1370
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1371
|
+
});
|
|
1474
1372
|
|
|
1475
1373
|
async function run() {
|
|
1476
1374
|
const result = await steamSets.account.accountV1SettingsUpdateImage({
|
|
1477
1375
|
active: true,
|
|
1478
1376
|
imageId: "123456",
|
|
1479
|
-
}, {
|
|
1480
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1481
1377
|
});
|
|
1482
1378
|
|
|
1483
1379
|
// Handle the result
|
|
@@ -1497,14 +1393,14 @@ import { accountAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs/
|
|
|
1497
1393
|
|
|
1498
1394
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1499
1395
|
// You can create one instance of it to use across an application.
|
|
1500
|
-
const steamSets = new SteamSetsCore(
|
|
1396
|
+
const steamSets = new SteamSetsCore({
|
|
1397
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1398
|
+
});
|
|
1501
1399
|
|
|
1502
1400
|
async function run() {
|
|
1503
1401
|
const res = await accountAccountV1SettingsUpdateImage(steamSets, {
|
|
1504
1402
|
active: true,
|
|
1505
1403
|
imageId: "123456",
|
|
1506
|
-
}, {
|
|
1507
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1508
1404
|
});
|
|
1509
1405
|
|
|
1510
1406
|
if (!res.ok) {
|
|
@@ -1525,7 +1421,6 @@ run();
|
|
|
1525
1421
|
| Parameter | Type | Required | Description |
|
|
1526
1422
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1527
1423
|
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1528
|
-
| `security` | [operations.AccountV1SettingsUpdateImageSecurity](../../models/operations/accountv1settingsupdateimagesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1529
1424
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1530
1425
|
| `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. |
|
|
1531
1426
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1551,7 +1446,9 @@ Update settings for the logged in account
|
|
|
1551
1446
|
```typescript
|
|
1552
1447
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1553
1448
|
|
|
1554
|
-
const steamSets = new SteamSets(
|
|
1449
|
+
const steamSets = new SteamSets({
|
|
1450
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1451
|
+
});
|
|
1555
1452
|
|
|
1556
1453
|
async function run() {
|
|
1557
1454
|
const result = await steamSets.account.accountV1SettingsUpdate({
|
|
@@ -1570,8 +1467,6 @@ async function run() {
|
|
|
1570
1467
|
theme: "dark",
|
|
1571
1468
|
vanity: "flo",
|
|
1572
1469
|
},
|
|
1573
|
-
}, {
|
|
1574
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1575
1470
|
});
|
|
1576
1471
|
|
|
1577
1472
|
// Handle the result
|
|
@@ -1591,7 +1486,9 @@ import { accountAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/accou
|
|
|
1591
1486
|
|
|
1592
1487
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1593
1488
|
// You can create one instance of it to use across an application.
|
|
1594
|
-
const steamSets = new SteamSetsCore(
|
|
1489
|
+
const steamSets = new SteamSetsCore({
|
|
1490
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1491
|
+
});
|
|
1595
1492
|
|
|
1596
1493
|
async function run() {
|
|
1597
1494
|
const res = await accountAccountV1SettingsUpdate(steamSets, {
|
|
@@ -1610,8 +1507,6 @@ async function run() {
|
|
|
1610
1507
|
theme: "dark",
|
|
1611
1508
|
vanity: "flo",
|
|
1612
1509
|
},
|
|
1613
|
-
}, {
|
|
1614
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1615
1510
|
});
|
|
1616
1511
|
|
|
1617
1512
|
if (!res.ok) {
|
|
@@ -1632,7 +1527,6 @@ run();
|
|
|
1632
1527
|
| Parameter | Type | Required | Description |
|
|
1633
1528
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1634
1529
|
| `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1635
|
-
| `security` | [operations.AccountV1SettingsUpdateSecurity](../../models/operations/accountv1settingsupdatesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1636
1530
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1637
1531
|
| `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. |
|
|
1638
1532
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1658,7 +1552,9 @@ Multi Upload Endpoint for images
|
|
|
1658
1552
|
```typescript
|
|
1659
1553
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1660
1554
|
|
|
1661
|
-
const steamSets = new SteamSets(
|
|
1555
|
+
const steamSets = new SteamSets({
|
|
1556
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1557
|
+
});
|
|
1662
1558
|
|
|
1663
1559
|
async function run() {
|
|
1664
1560
|
const result = await steamSets.account.accountV1SettingsUploadImages({
|
|
@@ -1668,8 +1564,6 @@ async function run() {
|
|
|
1668
1564
|
type: "avatar",
|
|
1669
1565
|
},
|
|
1670
1566
|
],
|
|
1671
|
-
}, {
|
|
1672
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1673
1567
|
});
|
|
1674
1568
|
|
|
1675
1569
|
// Handle the result
|
|
@@ -1689,7 +1583,9 @@ import { accountAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs
|
|
|
1689
1583
|
|
|
1690
1584
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1691
1585
|
// You can create one instance of it to use across an application.
|
|
1692
|
-
const steamSets = new SteamSetsCore(
|
|
1586
|
+
const steamSets = new SteamSetsCore({
|
|
1587
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1588
|
+
});
|
|
1693
1589
|
|
|
1694
1590
|
async function run() {
|
|
1695
1591
|
const res = await accountAccountV1SettingsUploadImages(steamSets, {
|
|
@@ -1699,8 +1595,6 @@ async function run() {
|
|
|
1699
1595
|
type: "avatar",
|
|
1700
1596
|
},
|
|
1701
1597
|
],
|
|
1702
|
-
}, {
|
|
1703
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1704
1598
|
});
|
|
1705
1599
|
|
|
1706
1600
|
if (!res.ok) {
|
|
@@ -1721,7 +1615,6 @@ run();
|
|
|
1721
1615
|
| Parameter | Type | Required | Description |
|
|
1722
1616
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1723
1617
|
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1724
|
-
| `security` | [operations.AccountV1SettingsUploadImagesSecurity](../../models/operations/accountv1settingsuploadimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1725
1618
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1726
1619
|
| `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. |
|
|
1727
1620
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1747,13 +1640,13 @@ Verify a domain connection only atm
|
|
|
1747
1640
|
```typescript
|
|
1748
1641
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1749
1642
|
|
|
1750
|
-
const steamSets = new SteamSets(
|
|
1643
|
+
const steamSets = new SteamSets({
|
|
1644
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1645
|
+
});
|
|
1751
1646
|
|
|
1752
1647
|
async function run() {
|
|
1753
1648
|
const result = await steamSets.account.accountV1ConnectionVerifyConnection({
|
|
1754
1649
|
connectionId: "123456",
|
|
1755
|
-
}, {
|
|
1756
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1757
1650
|
});
|
|
1758
1651
|
|
|
1759
1652
|
// Handle the result
|
|
@@ -1773,13 +1666,13 @@ import { accountAccountV1ConnectionVerifyConnection } from "@steamsets/client-ts
|
|
|
1773
1666
|
|
|
1774
1667
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1775
1668
|
// You can create one instance of it to use across an application.
|
|
1776
|
-
const steamSets = new SteamSetsCore(
|
|
1669
|
+
const steamSets = new SteamSetsCore({
|
|
1670
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1671
|
+
});
|
|
1777
1672
|
|
|
1778
1673
|
async function run() {
|
|
1779
1674
|
const res = await accountAccountV1ConnectionVerifyConnection(steamSets, {
|
|
1780
1675
|
connectionId: "123456",
|
|
1781
|
-
}, {
|
|
1782
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1783
1676
|
});
|
|
1784
1677
|
|
|
1785
1678
|
if (!res.ok) {
|
|
@@ -1800,7 +1693,6 @@ run();
|
|
|
1800
1693
|
| Parameter | Type | Required | Description |
|
|
1801
1694
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1802
1695
|
| `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1803
|
-
| `security` | [operations.AccountV1ConnectionVerifyConnectionSecurity](../../models/operations/accountv1connectionverifyconnectionsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1804
1696
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1805
1697
|
| `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. |
|
|
1806
1698
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1826,13 +1718,13 @@ Verify the email by passing in the code the user should've gotten
|
|
|
1826
1718
|
```typescript
|
|
1827
1719
|
import { SteamSets } from "@steamsets/client-ts";
|
|
1828
1720
|
|
|
1829
|
-
const steamSets = new SteamSets(
|
|
1721
|
+
const steamSets = new SteamSets({
|
|
1722
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1723
|
+
});
|
|
1830
1724
|
|
|
1831
1725
|
async function run() {
|
|
1832
1726
|
const result = await steamSets.account.accountV1SettingsVerfyEmail({
|
|
1833
1727
|
code: "123456",
|
|
1834
|
-
}, {
|
|
1835
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1836
1728
|
});
|
|
1837
1729
|
|
|
1838
1730
|
// Handle the result
|
|
@@ -1852,13 +1744,13 @@ import { accountAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/a
|
|
|
1852
1744
|
|
|
1853
1745
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1854
1746
|
// You can create one instance of it to use across an application.
|
|
1855
|
-
const steamSets = new SteamSetsCore(
|
|
1747
|
+
const steamSets = new SteamSetsCore({
|
|
1748
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1749
|
+
});
|
|
1856
1750
|
|
|
1857
1751
|
async function run() {
|
|
1858
1752
|
const res = await accountAccountV1SettingsVerfyEmail(steamSets, {
|
|
1859
1753
|
code: "123456",
|
|
1860
|
-
}, {
|
|
1861
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1862
1754
|
});
|
|
1863
1755
|
|
|
1864
1756
|
if (!res.ok) {
|
|
@@ -1879,7 +1771,6 @@ run();
|
|
|
1879
1771
|
| Parameter | Type | Required | Description |
|
|
1880
1772
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1881
1773
|
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1882
|
-
| `security` | [operations.AccountV1SettingsVerfyEmailSecurity](../../models/operations/accountv1settingsverfyemailsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
1883
1774
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1884
1775
|
| `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. |
|
|
1885
1776
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|