@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
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
8
|
* [accountV1SettingsDeleteImages](#accountv1settingsdeleteimages) - Delete mulitple imagest
|
|
9
|
-
* [accountV1SettingsGenerateApiKey](#accountv1settingsgenerateapikey) - Generate a new API key for the account
|
|
10
9
|
* [accountV1SettingsGet](#accountv1settingsget) - Gets all settings for the account
|
|
11
10
|
* [accountV1SettingsSendEmailVerification](#accountv1settingssendemailverification) - Resend the verification code for an email
|
|
12
11
|
* [accountV1SettingsUpdateImage](#accountv1settingsupdateimage) - Update one of the uploaded images
|
|
@@ -23,15 +22,15 @@ Delete mulitple imagest
|
|
|
23
22
|
```typescript
|
|
24
23
|
import { SteamSets } from "@steamsets/client-ts";
|
|
25
24
|
|
|
26
|
-
const steamSets = new SteamSets(
|
|
25
|
+
const steamSets = new SteamSets({
|
|
26
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
27
|
+
});
|
|
27
28
|
|
|
28
29
|
async function run() {
|
|
29
30
|
const result = await steamSets.settings.accountV1SettingsDeleteImages({
|
|
30
31
|
imageIds: [
|
|
31
32
|
"<value>",
|
|
32
33
|
],
|
|
33
|
-
}, {
|
|
34
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
35
34
|
});
|
|
36
35
|
|
|
37
36
|
// Handle the result
|
|
@@ -51,15 +50,15 @@ import { settingsAccountV1SettingsDeleteImages } from "@steamsets/client-ts/func
|
|
|
51
50
|
|
|
52
51
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
53
52
|
// You can create one instance of it to use across an application.
|
|
54
|
-
const steamSets = new SteamSetsCore(
|
|
53
|
+
const steamSets = new SteamSetsCore({
|
|
54
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
55
|
+
});
|
|
55
56
|
|
|
56
57
|
async function run() {
|
|
57
58
|
const res = await settingsAccountV1SettingsDeleteImages(steamSets, {
|
|
58
59
|
imageIds: [
|
|
59
60
|
"<value>",
|
|
60
61
|
],
|
|
61
|
-
}, {
|
|
62
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
63
62
|
});
|
|
64
63
|
|
|
65
64
|
if (!res.ok) {
|
|
@@ -80,7 +79,6 @@ run();
|
|
|
80
79
|
| Parameter | Type | Required | Description |
|
|
81
80
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
82
81
|
| `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
83
|
-
| `security` | [operations.AccountV1SettingsDeleteImagesSecurity](../../models/operations/accountv1settingsdeleteimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
84
82
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
85
83
|
| `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. |
|
|
86
84
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -97,80 +95,6 @@ run();
|
|
|
97
95
|
| errors.SDKError | 4xx-5xx | */* |
|
|
98
96
|
|
|
99
97
|
|
|
100
|
-
## accountV1SettingsGenerateApiKey
|
|
101
|
-
|
|
102
|
-
Generate a new API key for the account
|
|
103
|
-
|
|
104
|
-
### Example Usage
|
|
105
|
-
|
|
106
|
-
```typescript
|
|
107
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
108
|
-
|
|
109
|
-
const steamSets = new SteamSets();
|
|
110
|
-
|
|
111
|
-
async function run() {
|
|
112
|
-
const result = await steamSets.settings.accountV1SettingsGenerateApiKey({
|
|
113
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
// Handle the result
|
|
117
|
-
console.log(result)
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
run();
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
### Standalone function
|
|
124
|
-
|
|
125
|
-
The standalone function version of this method:
|
|
126
|
-
|
|
127
|
-
```typescript
|
|
128
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
129
|
-
import { settingsAccountV1SettingsGenerateApiKey } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsGenerateApiKey.js";
|
|
130
|
-
|
|
131
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
132
|
-
// You can create one instance of it to use across an application.
|
|
133
|
-
const steamSets = new SteamSetsCore();
|
|
134
|
-
|
|
135
|
-
async function run() {
|
|
136
|
-
const res = await settingsAccountV1SettingsGenerateApiKey(steamSets, {
|
|
137
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
if (!res.ok) {
|
|
141
|
-
throw res.error;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const { value: result } = res;
|
|
145
|
-
|
|
146
|
-
// Handle the result
|
|
147
|
-
console.log(result)
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
run();
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### Parameters
|
|
154
|
-
|
|
155
|
-
| Parameter | Type | Required | Description |
|
|
156
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
157
|
-
| `security` | [operations.AccountV1SettingsGenerateApiKeySecurity](../../models/operations/accountv1settingsgenerateapikeysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
158
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
159
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
160
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
161
|
-
|
|
162
|
-
### Response
|
|
163
|
-
|
|
164
|
-
**Promise\<[operations.AccountV1SettingsGenerateApiKeyResponse](../../models/operations/accountv1settingsgenerateapikeyresponse.md)\>**
|
|
165
|
-
|
|
166
|
-
### Errors
|
|
167
|
-
|
|
168
|
-
| Error Object | Status Code | Content Type |
|
|
169
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
170
|
-
| errors.ErrorModel | 404,429,500 | application/problem+json |
|
|
171
|
-
| errors.SDKError | 4xx-5xx | */* |
|
|
172
|
-
|
|
173
|
-
|
|
174
98
|
## accountV1SettingsGet
|
|
175
99
|
|
|
176
100
|
Gets all settings for the account
|
|
@@ -180,12 +104,12 @@ Gets all settings for the account
|
|
|
180
104
|
```typescript
|
|
181
105
|
import { SteamSets } from "@steamsets/client-ts";
|
|
182
106
|
|
|
183
|
-
const steamSets = new SteamSets(
|
|
107
|
+
const steamSets = new SteamSets({
|
|
108
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
109
|
+
});
|
|
184
110
|
|
|
185
111
|
async function run() {
|
|
186
|
-
const result = await steamSets.settings.accountV1SettingsGet(
|
|
187
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
188
|
-
});
|
|
112
|
+
const result = await steamSets.settings.accountV1SettingsGet();
|
|
189
113
|
|
|
190
114
|
// Handle the result
|
|
191
115
|
console.log(result)
|
|
@@ -204,12 +128,12 @@ import { settingsAccountV1SettingsGet } from "@steamsets/client-ts/funcs/setting
|
|
|
204
128
|
|
|
205
129
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
206
130
|
// You can create one instance of it to use across an application.
|
|
207
|
-
const steamSets = new SteamSetsCore(
|
|
131
|
+
const steamSets = new SteamSetsCore({
|
|
132
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
133
|
+
});
|
|
208
134
|
|
|
209
135
|
async function run() {
|
|
210
|
-
const res = await settingsAccountV1SettingsGet(steamSets
|
|
211
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
212
|
-
});
|
|
136
|
+
const res = await settingsAccountV1SettingsGet(steamSets);
|
|
213
137
|
|
|
214
138
|
if (!res.ok) {
|
|
215
139
|
throw res.error;
|
|
@@ -228,7 +152,6 @@ run();
|
|
|
228
152
|
|
|
229
153
|
| Parameter | Type | Required | Description |
|
|
230
154
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
231
|
-
| `security` | [operations.AccountV1SettingsGetSecurity](../../models/operations/accountv1settingsgetsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
232
155
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
233
156
|
| `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. |
|
|
234
157
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -254,12 +177,12 @@ Resend the verification code for an email
|
|
|
254
177
|
```typescript
|
|
255
178
|
import { SteamSets } from "@steamsets/client-ts";
|
|
256
179
|
|
|
257
|
-
const steamSets = new SteamSets(
|
|
180
|
+
const steamSets = new SteamSets({
|
|
181
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
182
|
+
});
|
|
258
183
|
|
|
259
184
|
async function run() {
|
|
260
|
-
const result = await steamSets.settings.accountV1SettingsSendEmailVerification({}
|
|
261
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
262
|
-
});
|
|
185
|
+
const result = await steamSets.settings.accountV1SettingsSendEmailVerification({});
|
|
263
186
|
|
|
264
187
|
// Handle the result
|
|
265
188
|
console.log(result)
|
|
@@ -278,12 +201,12 @@ import { settingsAccountV1SettingsSendEmailVerification } from "@steamsets/clien
|
|
|
278
201
|
|
|
279
202
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
280
203
|
// You can create one instance of it to use across an application.
|
|
281
|
-
const steamSets = new SteamSetsCore(
|
|
204
|
+
const steamSets = new SteamSetsCore({
|
|
205
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
206
|
+
});
|
|
282
207
|
|
|
283
208
|
async function run() {
|
|
284
|
-
const res = await settingsAccountV1SettingsSendEmailVerification(steamSets, {}
|
|
285
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
286
|
-
});
|
|
209
|
+
const res = await settingsAccountV1SettingsSendEmailVerification(steamSets, {});
|
|
287
210
|
|
|
288
211
|
if (!res.ok) {
|
|
289
212
|
throw res.error;
|
|
@@ -303,7 +226,6 @@ run();
|
|
|
303
226
|
| Parameter | Type | Required | Description |
|
|
304
227
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
305
228
|
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
306
|
-
| `security` | [operations.AccountV1SettingsSendEmailVerificationSecurity](../../models/operations/accountv1settingssendemailverificationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
307
229
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
308
230
|
| `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. |
|
|
309
231
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -329,14 +251,14 @@ Update one of the uploaded images
|
|
|
329
251
|
```typescript
|
|
330
252
|
import { SteamSets } from "@steamsets/client-ts";
|
|
331
253
|
|
|
332
|
-
const steamSets = new SteamSets(
|
|
254
|
+
const steamSets = new SteamSets({
|
|
255
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
256
|
+
});
|
|
333
257
|
|
|
334
258
|
async function run() {
|
|
335
259
|
const result = await steamSets.settings.accountV1SettingsUpdateImage({
|
|
336
260
|
active: true,
|
|
337
261
|
imageId: "123456",
|
|
338
|
-
}, {
|
|
339
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
340
262
|
});
|
|
341
263
|
|
|
342
264
|
// Handle the result
|
|
@@ -356,14 +278,14 @@ import { settingsAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs
|
|
|
356
278
|
|
|
357
279
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
358
280
|
// You can create one instance of it to use across an application.
|
|
359
|
-
const steamSets = new SteamSetsCore(
|
|
281
|
+
const steamSets = new SteamSetsCore({
|
|
282
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
283
|
+
});
|
|
360
284
|
|
|
361
285
|
async function run() {
|
|
362
286
|
const res = await settingsAccountV1SettingsUpdateImage(steamSets, {
|
|
363
287
|
active: true,
|
|
364
288
|
imageId: "123456",
|
|
365
|
-
}, {
|
|
366
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
367
289
|
});
|
|
368
290
|
|
|
369
291
|
if (!res.ok) {
|
|
@@ -384,7 +306,6 @@ run();
|
|
|
384
306
|
| Parameter | Type | Required | Description |
|
|
385
307
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
386
308
|
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
387
|
-
| `security` | [operations.AccountV1SettingsUpdateImageSecurity](../../models/operations/accountv1settingsupdateimagesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
388
309
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
389
310
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
390
311
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -410,7 +331,9 @@ Update settings for the logged in account
|
|
|
410
331
|
```typescript
|
|
411
332
|
import { SteamSets } from "@steamsets/client-ts";
|
|
412
333
|
|
|
413
|
-
const steamSets = new SteamSets(
|
|
334
|
+
const steamSets = new SteamSets({
|
|
335
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
336
|
+
});
|
|
414
337
|
|
|
415
338
|
async function run() {
|
|
416
339
|
const result = await steamSets.settings.accountV1SettingsUpdate({
|
|
@@ -429,8 +352,6 @@ async function run() {
|
|
|
429
352
|
theme: "dark",
|
|
430
353
|
vanity: "flo",
|
|
431
354
|
},
|
|
432
|
-
}, {
|
|
433
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
434
355
|
});
|
|
435
356
|
|
|
436
357
|
// Handle the result
|
|
@@ -450,7 +371,9 @@ import { settingsAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/sett
|
|
|
450
371
|
|
|
451
372
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
452
373
|
// You can create one instance of it to use across an application.
|
|
453
|
-
const steamSets = new SteamSetsCore(
|
|
374
|
+
const steamSets = new SteamSetsCore({
|
|
375
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
376
|
+
});
|
|
454
377
|
|
|
455
378
|
async function run() {
|
|
456
379
|
const res = await settingsAccountV1SettingsUpdate(steamSets, {
|
|
@@ -469,8 +392,6 @@ async function run() {
|
|
|
469
392
|
theme: "dark",
|
|
470
393
|
vanity: "flo",
|
|
471
394
|
},
|
|
472
|
-
}, {
|
|
473
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
474
395
|
});
|
|
475
396
|
|
|
476
397
|
if (!res.ok) {
|
|
@@ -491,7 +412,6 @@ run();
|
|
|
491
412
|
| Parameter | Type | Required | Description |
|
|
492
413
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
493
414
|
| `request` | [operations.AccountV1SettingsUpdateRequest](../../models/operations/accountv1settingsupdaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
494
|
-
| `security` | [operations.AccountV1SettingsUpdateSecurity](../../models/operations/accountv1settingsupdatesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
495
415
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
496
416
|
| `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. |
|
|
497
417
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -517,7 +437,9 @@ Multi Upload Endpoint for images
|
|
|
517
437
|
```typescript
|
|
518
438
|
import { SteamSets } from "@steamsets/client-ts";
|
|
519
439
|
|
|
520
|
-
const steamSets = new SteamSets(
|
|
440
|
+
const steamSets = new SteamSets({
|
|
441
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
442
|
+
});
|
|
521
443
|
|
|
522
444
|
async function run() {
|
|
523
445
|
const result = await steamSets.settings.accountV1SettingsUploadImages({
|
|
@@ -527,8 +449,6 @@ async function run() {
|
|
|
527
449
|
type: "avatar",
|
|
528
450
|
},
|
|
529
451
|
],
|
|
530
|
-
}, {
|
|
531
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
532
452
|
});
|
|
533
453
|
|
|
534
454
|
// Handle the result
|
|
@@ -548,7 +468,9 @@ import { settingsAccountV1SettingsUploadImages } from "@steamsets/client-ts/func
|
|
|
548
468
|
|
|
549
469
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
550
470
|
// You can create one instance of it to use across an application.
|
|
551
|
-
const steamSets = new SteamSetsCore(
|
|
471
|
+
const steamSets = new SteamSetsCore({
|
|
472
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
473
|
+
});
|
|
552
474
|
|
|
553
475
|
async function run() {
|
|
554
476
|
const res = await settingsAccountV1SettingsUploadImages(steamSets, {
|
|
@@ -558,8 +480,6 @@ async function run() {
|
|
|
558
480
|
type: "avatar",
|
|
559
481
|
},
|
|
560
482
|
],
|
|
561
|
-
}, {
|
|
562
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
563
483
|
});
|
|
564
484
|
|
|
565
485
|
if (!res.ok) {
|
|
@@ -580,7 +500,6 @@ run();
|
|
|
580
500
|
| Parameter | Type | Required | Description |
|
|
581
501
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
582
502
|
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
583
|
-
| `security` | [operations.AccountV1SettingsUploadImagesSecurity](../../models/operations/accountv1settingsuploadimagessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
584
503
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
585
504
|
| `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. |
|
|
586
505
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -606,13 +525,13 @@ Verify the email by passing in the code the user should've gotten
|
|
|
606
525
|
```typescript
|
|
607
526
|
import { SteamSets } from "@steamsets/client-ts";
|
|
608
527
|
|
|
609
|
-
const steamSets = new SteamSets(
|
|
528
|
+
const steamSets = new SteamSets({
|
|
529
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
530
|
+
});
|
|
610
531
|
|
|
611
532
|
async function run() {
|
|
612
533
|
const result = await steamSets.settings.accountV1SettingsVerfyEmail({
|
|
613
534
|
code: "123456",
|
|
614
|
-
}, {
|
|
615
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
616
535
|
});
|
|
617
536
|
|
|
618
537
|
// Handle the result
|
|
@@ -632,13 +551,13 @@ import { settingsAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/
|
|
|
632
551
|
|
|
633
552
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
634
553
|
// You can create one instance of it to use across an application.
|
|
635
|
-
const steamSets = new SteamSetsCore(
|
|
554
|
+
const steamSets = new SteamSetsCore({
|
|
555
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
556
|
+
});
|
|
636
557
|
|
|
637
558
|
async function run() {
|
|
638
559
|
const res = await settingsAccountV1SettingsVerfyEmail(steamSets, {
|
|
639
560
|
code: "123456",
|
|
640
|
-
}, {
|
|
641
|
-
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
642
561
|
});
|
|
643
562
|
|
|
644
563
|
if (!res.ok) {
|
|
@@ -659,7 +578,6 @@ run();
|
|
|
659
578
|
| Parameter | Type | Required | Description |
|
|
660
579
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
661
580
|
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
662
|
-
| `security` | [operations.AccountV1SettingsVerfyEmailSecurity](../../models/operations/accountv1settingsverfyemailsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
663
581
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
664
582
|
| `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. |
|
|
665
583
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -10,5 +10,5 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Connect a new Social Provider
|
|
12
12
|
*/
|
|
13
|
-
export declare function accountAccountV1ConnectionConnect(client$: SteamSetsCore, request: components.V1ConnectRequestBody,
|
|
13
|
+
export declare function accountAccountV1ConnectionConnect(client$: SteamSetsCore, request: components.V1ConnectRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1ConnectionConnectResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
14
14
|
//# sourceMappingURL=accountAccountV1ConnectionConnect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionConnect.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionConnect.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,kCAAkC,EAC3C,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAoFA"}
|
|
@@ -38,7 +38,7 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
38
38
|
/**
|
|
39
39
|
* Connect a new Social Provider
|
|
40
40
|
*/
|
|
41
|
-
async function accountAccountV1ConnectionConnect(client$, request,
|
|
41
|
+
async function accountAccountV1ConnectionConnect(client$, request, options) {
|
|
42
42
|
const input$ = request;
|
|
43
43
|
const parsed$ = schemas$.safeParse(input$, (value$) => components.V1ConnectRequestBody$outboundSchema.parse(value$), "Input validation failed");
|
|
44
44
|
if (!parsed$.ok) {
|
|
@@ -51,21 +51,14 @@ async function accountAccountV1ConnectionConnect(client$, request, security, opt
|
|
|
51
51
|
"Content-Type": "application/json",
|
|
52
52
|
Accept: "application/json",
|
|
53
53
|
});
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
{
|
|
57
|
-
fieldName: "Authorization",
|
|
58
|
-
type: "http:bearer",
|
|
59
|
-
value: security === null || security === void 0 ? void 0 : security.session,
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
];
|
|
63
|
-
const securitySettings$ = (0, security_js_1.resolveSecurity)(...security$);
|
|
54
|
+
const session$ = await (0, security_js_1.extractSecurity)(client$.options$.session);
|
|
55
|
+
const security$ = session$ == null ? {} : { session: session$ };
|
|
64
56
|
const context = {
|
|
65
57
|
operationID: "account.v1.connection.connect",
|
|
66
58
|
oAuth2Scopes: [],
|
|
67
|
-
securitySource:
|
|
59
|
+
securitySource: client$.options$.session,
|
|
68
60
|
};
|
|
61
|
+
const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
|
|
69
62
|
const requestRes = client$.createRequest$(context, {
|
|
70
63
|
security: securitySettings$,
|
|
71
64
|
method: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionConnect.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionConnect.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionConnect.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,8EAoGC;AA3HD,sDAAgE;AAChE,uDAAyC;AACzC,4DAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAGpD,0EAA4D;AAG5D;;GAEG;AACI,KAAK,UAAU,iCAAiC,CACrD,OAAsB,EACtB,OAAwC,EACxC,OAAwB;IAcxB,MAAM,MAAM,GAAG,OAAO,CAAC;IAEvB,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAChC,MAAM,EACN,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,mCAAmC,CAAC,KAAK,CAAC,MAAM,CAAC,EACxE,yBAAyB,CAC1B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eAAe,EAAE,CAAC,CAAC;IACxD,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QAChB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -10,5 +10,5 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Remove a connection
|
|
12
12
|
*/
|
|
13
|
-
export declare function accountAccountV1ConnectionDeleteConnection(client$: SteamSetsCore, request: components.V1DeleteConnectionRequestBody,
|
|
13
|
+
export declare function accountAccountV1ConnectionDeleteConnection(client$: SteamSetsCore, request: components.V1DeleteConnectionRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1ConnectionDeleteConnectionResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
14
14
|
//# sourceMappingURL=accountAccountV1ConnectionDeleteConnection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionDeleteConnection.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionDeleteConnection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,0CAA0C,CAC9D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionDeleteConnection.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionDeleteConnection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,0CAA0C,CAC9D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
|
|
@@ -38,7 +38,7 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
38
38
|
/**
|
|
39
39
|
* Remove a connection
|
|
40
40
|
*/
|
|
41
|
-
async function accountAccountV1ConnectionDeleteConnection(client$, request,
|
|
41
|
+
async function accountAccountV1ConnectionDeleteConnection(client$, request, options) {
|
|
42
42
|
const input$ = request;
|
|
43
43
|
const parsed$ = schemas$.safeParse(input$, (value$) => components.V1DeleteConnectionRequestBody$outboundSchema.parse(value$), "Input validation failed");
|
|
44
44
|
if (!parsed$.ok) {
|
|
@@ -51,21 +51,14 @@ async function accountAccountV1ConnectionDeleteConnection(client$, request, secu
|
|
|
51
51
|
"Content-Type": "application/json",
|
|
52
52
|
Accept: "application/json",
|
|
53
53
|
});
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
{
|
|
57
|
-
fieldName: "Authorization",
|
|
58
|
-
type: "http:bearer",
|
|
59
|
-
value: security === null || security === void 0 ? void 0 : security.session,
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
];
|
|
63
|
-
const securitySettings$ = (0, security_js_1.resolveSecurity)(...security$);
|
|
54
|
+
const session$ = await (0, security_js_1.extractSecurity)(client$.options$.session);
|
|
55
|
+
const security$ = session$ == null ? {} : { session: session$ };
|
|
64
56
|
const context = {
|
|
65
57
|
operationID: "account.v1.connection.deleteConnection",
|
|
66
58
|
oAuth2Scopes: [],
|
|
67
|
-
securitySource:
|
|
59
|
+
securitySource: client$.options$.session,
|
|
68
60
|
};
|
|
61
|
+
const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
|
|
69
62
|
const requestRes = client$.createRequest$(context, {
|
|
70
63
|
security: securitySettings$,
|
|
71
64
|
method: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionDeleteConnection.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionDeleteConnection.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionDeleteConnection.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionDeleteConnection.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;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AAC,OAAO,CAAC,GAAG,MAAM,EAAE,CAAC,KAAK,CAW9B,EAAE,CAAC,IAAI,CACL,GAAG,EACH,UAAU,CAAC,yDAAyD,EACpE,EAAE,GAAG,EAAE,gCAAgC,EAAE,CAC1C,EACD,EAAE,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC3D,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CACxB,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,CAAC;IACxD,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QAChB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -10,5 +10,5 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Make a connection visible/invisible
|
|
12
12
|
*/
|
|
13
|
-
export declare function accountAccountV1ConnectionUpdateConnection(client$: SteamSetsCore, request: components.V1UpdateConnectionRequestBody,
|
|
13
|
+
export declare function accountAccountV1ConnectionUpdateConnection(client$: SteamSetsCore, request: components.V1UpdateConnectionRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1ConnectionUpdateConnectionResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
14
14
|
//# sourceMappingURL=accountAccountV1ConnectionUpdateConnection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1ConnectionUpdateConnection.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionUpdateConnection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,0CAA0C,CAC9D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,
|
|
1
|
+
{"version":3,"file":"accountAccountV1ConnectionUpdateConnection.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1ConnectionUpdateConnection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,0CAA0C,CAC9D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
|