@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
|
@@ -27,9 +27,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
27
27
|
const steamSets = new SteamSets();
|
|
28
28
|
|
|
29
29
|
async function run() {
|
|
30
|
-
const result = await steamSets.public.accountV1GetApps({
|
|
31
|
-
accountSearch: {},
|
|
32
|
-
}, {
|
|
30
|
+
const result = await steamSets.public.accountV1GetApps({}, {
|
|
33
31
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
34
32
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
35
33
|
});
|
|
@@ -54,9 +52,7 @@ import { publicAccountV1GetApps } from "@steamsets/client-ts/funcs/publicAccount
|
|
|
54
52
|
const steamSets = new SteamSetsCore();
|
|
55
53
|
|
|
56
54
|
async function run() {
|
|
57
|
-
const res = await publicAccountV1GetApps(steamSets, {
|
|
58
|
-
accountSearch: {},
|
|
59
|
-
}, {
|
|
55
|
+
const res = await publicAccountV1GetApps(steamSets, {}, {
|
|
60
56
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
61
57
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
62
58
|
});
|
|
@@ -78,7 +74,7 @@ run();
|
|
|
78
74
|
|
|
79
75
|
| Parameter | Type | Required | Description |
|
|
80
76
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
81
|
-
| `request` | [
|
|
77
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
82
78
|
| `security` | [operations.AccountV1GetAppsSecurity](../../models/operations/accountv1getappssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
83
79
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
84
80
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
@@ -108,9 +104,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
108
104
|
const steamSets = new SteamSets();
|
|
109
105
|
|
|
110
106
|
async function run() {
|
|
111
|
-
const result = await steamSets.public.accountV1GetBadges({
|
|
112
|
-
accountSearch: {},
|
|
113
|
-
}, {
|
|
107
|
+
const result = await steamSets.public.accountV1GetBadges({}, {
|
|
114
108
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
115
109
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
116
110
|
});
|
|
@@ -135,9 +129,7 @@ import { publicAccountV1GetBadges } from "@steamsets/client-ts/funcs/publicAccou
|
|
|
135
129
|
const steamSets = new SteamSetsCore();
|
|
136
130
|
|
|
137
131
|
async function run() {
|
|
138
|
-
const res = await publicAccountV1GetBadges(steamSets, {
|
|
139
|
-
accountSearch: {},
|
|
140
|
-
}, {
|
|
132
|
+
const res = await publicAccountV1GetBadges(steamSets, {}, {
|
|
141
133
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
142
134
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
143
135
|
});
|
|
@@ -159,7 +151,7 @@ run();
|
|
|
159
151
|
|
|
160
152
|
| Parameter | Type | Required | Description |
|
|
161
153
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
162
|
-
| `request` | [
|
|
154
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
163
155
|
| `security` | [operations.AccountV1GetBadgesSecurity](../../models/operations/accountv1getbadgessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
164
156
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
165
157
|
| `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. |
|
|
@@ -189,9 +181,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
189
181
|
const steamSets = new SteamSets();
|
|
190
182
|
|
|
191
183
|
async function run() {
|
|
192
|
-
const result = await steamSets.public.accountV1GetDataPoints({
|
|
193
|
-
accountSearch: {},
|
|
194
|
-
}, {
|
|
184
|
+
const result = await steamSets.public.accountV1GetDataPoints({}, {
|
|
195
185
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
196
186
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
197
187
|
});
|
|
@@ -216,9 +206,7 @@ import { publicAccountV1GetDataPoints } from "@steamsets/client-ts/funcs/publicA
|
|
|
216
206
|
const steamSets = new SteamSetsCore();
|
|
217
207
|
|
|
218
208
|
async function run() {
|
|
219
|
-
const res = await publicAccountV1GetDataPoints(steamSets, {
|
|
220
|
-
accountSearch: {},
|
|
221
|
-
}, {
|
|
209
|
+
const res = await publicAccountV1GetDataPoints(steamSets, {}, {
|
|
222
210
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
223
211
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
224
212
|
});
|
|
@@ -240,7 +228,7 @@ run();
|
|
|
240
228
|
|
|
241
229
|
| Parameter | Type | Required | Description |
|
|
242
230
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
243
|
-
| `request` | [
|
|
231
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
244
232
|
| `security` | [operations.AccountV1GetDataPointsSecurity](../../models/operations/accountv1getdatapointssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
245
233
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
246
234
|
| `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. |
|
|
@@ -270,9 +258,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
270
258
|
const steamSets = new SteamSets();
|
|
271
259
|
|
|
272
260
|
async function run() {
|
|
273
|
-
const result = await steamSets.public.accountV1GetFriends({
|
|
274
|
-
accountSearch: {},
|
|
275
|
-
}, {
|
|
261
|
+
const result = await steamSets.public.accountV1GetFriends({}, {
|
|
276
262
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
277
263
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
278
264
|
});
|
|
@@ -297,9 +283,7 @@ import { publicAccountV1GetFriends } from "@steamsets/client-ts/funcs/publicAcco
|
|
|
297
283
|
const steamSets = new SteamSetsCore();
|
|
298
284
|
|
|
299
285
|
async function run() {
|
|
300
|
-
const res = await publicAccountV1GetFriends(steamSets, {
|
|
301
|
-
accountSearch: {},
|
|
302
|
-
}, {
|
|
286
|
+
const res = await publicAccountV1GetFriends(steamSets, {}, {
|
|
303
287
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
304
288
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
305
289
|
});
|
|
@@ -321,7 +305,7 @@ run();
|
|
|
321
305
|
|
|
322
306
|
| Parameter | Type | Required | Description |
|
|
323
307
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
324
|
-
| `request` | [
|
|
308
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
325
309
|
| `security` | [operations.AccountV1GetFriendsSecurity](../../models/operations/accountv1getfriendssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
326
310
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
327
311
|
| `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. |
|
|
@@ -428,9 +412,7 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
428
412
|
const steamSets = new SteamSets();
|
|
429
413
|
|
|
430
414
|
async function run() {
|
|
431
|
-
const result = await steamSets.public.accountV1GetLeaderboardHistory({
|
|
432
|
-
accountSearch: {},
|
|
433
|
-
}, {
|
|
415
|
+
const result = await steamSets.public.accountV1GetLeaderboardHistory({}, {
|
|
434
416
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
435
417
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
436
418
|
});
|
|
@@ -455,9 +437,7 @@ import { publicAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/funcs
|
|
|
455
437
|
const steamSets = new SteamSetsCore();
|
|
456
438
|
|
|
457
439
|
async function run() {
|
|
458
|
-
const res = await publicAccountV1GetLeaderboardHistory(steamSets, {
|
|
459
|
-
accountSearch: {},
|
|
460
|
-
}, {
|
|
440
|
+
const res = await publicAccountV1GetLeaderboardHistory(steamSets, {}, {
|
|
461
441
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
462
442
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
463
443
|
});
|
|
@@ -479,7 +459,7 @@ run();
|
|
|
479
459
|
|
|
480
460
|
| Parameter | Type | Required | Description |
|
|
481
461
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
482
|
-
| `request` | [
|
|
462
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
483
463
|
| `security` | [operations.AccountV1GetLeaderboardHistorySecurity](../../models/operations/accountv1getleaderboardhistorysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
484
464
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
485
465
|
| `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. |
|
|
@@ -510,9 +490,7 @@ const steamSets = new SteamSets();
|
|
|
510
490
|
|
|
511
491
|
async function run() {
|
|
512
492
|
const result = await steamSets.public.accountV1Queue({
|
|
513
|
-
|
|
514
|
-
id: 730,
|
|
515
|
-
},
|
|
493
|
+
id: 730,
|
|
516
494
|
}, {
|
|
517
495
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
518
496
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
@@ -539,9 +517,7 @@ const steamSets = new SteamSetsCore();
|
|
|
539
517
|
|
|
540
518
|
async function run() {
|
|
541
519
|
const res = await publicAccountV1Queue(steamSets, {
|
|
542
|
-
|
|
543
|
-
id: 730,
|
|
544
|
-
},
|
|
520
|
+
id: 730,
|
|
545
521
|
}, {
|
|
546
522
|
apiKey: "<YOUR_API_KEY_HERE>",
|
|
547
523
|
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
@@ -564,7 +540,7 @@ run();
|
|
|
564
540
|
|
|
565
541
|
| Parameter | Type | Required | Description |
|
|
566
542
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
567
|
-
| `request` | [
|
|
543
|
+
| `request` | [components.AppSearch](../../models/components/appsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
568
544
|
| `security` | [operations.AccountV1QueueSecurity](../../models/operations/accountv1queuesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
569
545
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
570
546
|
| `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. |
|
|
@@ -20,7 +20,7 @@ Create a new session for non logged in users
|
|
|
20
20
|
import { SteamSets } from "@steamsets/client-ts";
|
|
21
21
|
|
|
22
22
|
const steamSets = new SteamSets({
|
|
23
|
-
|
|
23
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
async function run() {
|
|
@@ -44,7 +44,7 @@ import { sessionAccountV1SessionCreate } from "@steamsets/client-ts/funcs/sessio
|
|
|
44
44
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
45
45
|
// You can create one instance of it to use across an application.
|
|
46
46
|
const steamSets = new SteamSetsCore({
|
|
47
|
-
|
|
47
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
48
48
|
});
|
|
49
49
|
|
|
50
50
|
async function run() {
|
|
@@ -93,13 +93,13 @@ Deletes a session, can also be used to logout
|
|
|
93
93
|
```typescript
|
|
94
94
|
import { SteamSets } from "@steamsets/client-ts";
|
|
95
95
|
|
|
96
|
-
const steamSets = new SteamSets(
|
|
96
|
+
const steamSets = new SteamSets({
|
|
97
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
98
|
+
});
|
|
97
99
|
|
|
98
100
|
async function run() {
|
|
99
101
|
const result = await steamSets.session.accountV1SessionDelete({
|
|
100
102
|
sessionId: "123456",
|
|
101
|
-
}, {
|
|
102
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
103
103
|
});
|
|
104
104
|
|
|
105
105
|
// Handle the result
|
|
@@ -119,13 +119,13 @@ import { sessionAccountV1SessionDelete } from "@steamsets/client-ts/funcs/sessio
|
|
|
119
119
|
|
|
120
120
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
121
121
|
// You can create one instance of it to use across an application.
|
|
122
|
-
const steamSets = new SteamSetsCore(
|
|
122
|
+
const steamSets = new SteamSetsCore({
|
|
123
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
124
|
+
});
|
|
123
125
|
|
|
124
126
|
async function run() {
|
|
125
127
|
const res = await sessionAccountV1SessionDelete(steamSets, {
|
|
126
128
|
sessionId: "123456",
|
|
127
|
-
}, {
|
|
128
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
if (!res.ok) {
|
|
@@ -146,7 +146,6 @@ run();
|
|
|
146
146
|
| Parameter | Type | Required | Description |
|
|
147
147
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
148
148
|
| `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
149
|
-
| `security` | [operations.AccountV1SessionDeleteSecurity](../../models/operations/accountv1sessiondeletesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
150
149
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
151
150
|
| `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. |
|
|
152
151
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -172,12 +171,12 @@ Gets all session data
|
|
|
172
171
|
```typescript
|
|
173
172
|
import { SteamSets } from "@steamsets/client-ts";
|
|
174
173
|
|
|
175
|
-
const steamSets = new SteamSets(
|
|
174
|
+
const steamSets = new SteamSets({
|
|
175
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
176
|
+
});
|
|
176
177
|
|
|
177
178
|
async function run() {
|
|
178
|
-
const result = await steamSets.session.accountV1SessionGet(
|
|
179
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
180
|
-
});
|
|
179
|
+
const result = await steamSets.session.accountV1SessionGet();
|
|
181
180
|
|
|
182
181
|
// Handle the result
|
|
183
182
|
console.log(result)
|
|
@@ -196,12 +195,12 @@ import { sessionAccountV1SessionGet } from "@steamsets/client-ts/funcs/sessionAc
|
|
|
196
195
|
|
|
197
196
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
198
197
|
// You can create one instance of it to use across an application.
|
|
199
|
-
const steamSets = new SteamSetsCore(
|
|
198
|
+
const steamSets = new SteamSetsCore({
|
|
199
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
200
|
+
});
|
|
200
201
|
|
|
201
202
|
async function run() {
|
|
202
|
-
const res = await sessionAccountV1SessionGet(steamSets
|
|
203
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
204
|
-
});
|
|
203
|
+
const res = await sessionAccountV1SessionGet(steamSets);
|
|
205
204
|
|
|
206
205
|
if (!res.ok) {
|
|
207
206
|
throw res.error;
|
|
@@ -220,7 +219,6 @@ run();
|
|
|
220
219
|
|
|
221
220
|
| Parameter | Type | Required | Description |
|
|
222
221
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
223
|
-
| `security` | [operations.AccountV1SessionGetSecurity](../../models/operations/accountv1sessiongetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
224
222
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
225
223
|
| `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. |
|
|
226
224
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -247,7 +245,7 @@ Logs a user in and creates a new session
|
|
|
247
245
|
import { SteamSets } from "@steamsets/client-ts";
|
|
248
246
|
|
|
249
247
|
const steamSets = new SteamSets({
|
|
250
|
-
|
|
248
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
251
249
|
});
|
|
252
250
|
|
|
253
251
|
async function run() {
|
|
@@ -284,7 +282,7 @@ import { sessionAccountV1SessionLogin } from "@steamsets/client-ts/funcs/session
|
|
|
284
282
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
285
283
|
// You can create one instance of it to use across an application.
|
|
286
284
|
const steamSets = new SteamSetsCore({
|
|
287
|
-
|
|
285
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
288
286
|
});
|
|
289
287
|
|
|
290
288
|
async function run() {
|