@steamsets/client-ts 0.11.32 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -153
- package/docs/sdks/account/README.md +116 -1261
- package/docs/sdks/{group → accounts}/README.md +14 -20
- package/docs/sdks/admin/README.md +5 -5
- package/docs/sdks/{app → apps}/README.md +12 -14
- package/docs/sdks/badge/README.md +5 -117
- package/docs/sdks/badges/README.md +119 -0
- package/docs/sdks/connection/README.md +15 -93
- package/docs/sdks/connections/README.md +85 -0
- package/docs/sdks/data/README.md +35 -35
- package/docs/sdks/developer/README.md +15 -15
- package/docs/sdks/leaderboard/README.md +15 -15
- package/docs/sdks/liveness/README.md +5 -5
- package/docs/sdks/{location → locations}/README.md +7 -7
- package/docs/sdks/public/README.md +30 -184
- package/docs/sdks/session/README.md +10 -157
- package/docs/sdks/sessions/README.md +154 -0
- package/docs/sdks/settings/README.md +35 -35
- package/funcs/accountDeleteImages.d.ts +11 -0
- package/funcs/accountDeleteImages.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsDeleteImages.js → accountDeleteImages.js} +3 -3
- package/funcs/accountDeleteImages.js.map +1 -0
- package/funcs/accountGetApps.d.ts +11 -0
- package/funcs/accountGetApps.d.ts.map +1 -0
- package/funcs/{dataAccountV1GetApps.js → accountGetApps.js} +3 -3
- package/funcs/accountGetApps.js.map +1 -0
- package/funcs/accountGetBadges.d.ts +11 -0
- package/funcs/{publicAppV1Queue.d.ts.map → accountGetBadges.d.ts.map} +1 -1
- package/funcs/{dataAccountV1GetBadges.js → accountGetBadges.js} +3 -3
- package/funcs/accountGetBadges.js.map +1 -0
- package/funcs/{dataAccountV1GetFriends.d.ts → accountGetDataPoints.d.ts} +2 -2
- package/funcs/{dataAccountV1GetApps.d.ts.map → accountGetDataPoints.d.ts.map} +1 -1
- package/funcs/{dataAccountV1GetDataPoints.js → accountGetDataPoints.js} +3 -3
- package/funcs/{dataAccountV1GetInfo.js.map → accountGetDataPoints.js.map} +1 -1
- package/funcs/{dataAccountV1GetApps.d.ts → accountGetFriends.d.ts} +2 -2
- package/funcs/accountGetFriends.d.ts.map +1 -0
- package/funcs/{dataAccountV1GetFriends.js → accountGetFriends.js} +3 -3
- package/funcs/accountGetFriends.js.map +1 -0
- package/funcs/accountGetInfo.d.ts +11 -0
- package/funcs/accountGetInfo.d.ts.map +1 -0
- package/funcs/{dataAccountV1GetInfo.js → accountGetInfo.js} +3 -3
- package/funcs/accountGetInfo.js.map +1 -0
- package/funcs/accountGetLeaderboardHistory.d.ts +11 -0
- package/funcs/{publicAccountV1GetDataPoints.d.ts.map → accountGetLeaderboardHistory.d.ts.map} +1 -1
- package/funcs/{dataAccountV1GetLeaderboardHistory.js → accountGetLeaderboardHistory.js} +3 -3
- package/funcs/{publicAccountV1GetDataPoints.js.map → accountGetLeaderboardHistory.js.map} +1 -1
- package/funcs/{accountAccountV1GetStaff.d.ts → accountGetStaff.d.ts} +2 -2
- package/funcs/accountGetStaff.d.ts.map +1 -0
- package/funcs/{dataAccountV1GetStaff.js → accountGetStaff.js} +3 -3
- package/funcs/accountGetStaff.js.map +1 -0
- package/funcs/accountSendEmailVerification.d.ts +10 -0
- package/funcs/{accountAccountV1SessionLogin.d.ts.map → accountSendEmailVerification.d.ts.map} +1 -1
- package/funcs/{accountAccountV1SettingsSendEmailVerification.js → accountSendEmailVerification.js} +3 -3
- package/funcs/accountSendEmailVerification.js.map +1 -0
- package/funcs/{accountAccountV1GetFriends.d.ts → accountUpdateImage.d.ts} +2 -2
- package/funcs/accountUpdateImage.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsUpdateImage.js → accountUpdateImage.js} +3 -3
- package/funcs/accountUpdateImage.js.map +1 -0
- package/funcs/accountUploadImages.d.ts +11 -0
- package/funcs/accountUploadImages.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsUploadImages.js → accountUploadImages.js} +3 -3
- package/funcs/accountUploadImages.js.map +1 -0
- package/funcs/{accountAccountV1GetBadges.d.ts → accountVerifyEmail.d.ts} +2 -2
- package/funcs/accountVerifyEmail.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsVerfyEmail.js → accountVerifyEmail.js} +3 -3
- package/funcs/accountVerifyEmail.js.map +1 -0
- package/funcs/{adminAdminV1GetAccount.d.ts → accountsQueue.d.ts} +2 -2
- package/funcs/accountsQueue.d.ts.map +1 -0
- package/funcs/{publicAccountV1Queue.js → accountsQueue.js} +3 -3
- package/funcs/{developerAccountV1SettingsDeveloperAppDelete.js.map → accountsQueue.js.map} +1 -1
- package/funcs/{connectionAccountV1ConnectionVerifyConnection.d.ts → adminGetAccount.d.ts} +2 -2
- package/funcs/{badgeBadgeV1Tag.d.ts.map → adminGetAccount.d.ts.map} +1 -1
- package/funcs/{adminAdminV1GetAccount.js → adminGetAccount.js} +3 -3
- package/funcs/adminGetAccount.js.map +1 -0
- package/funcs/{appAppV1Queue.d.ts → appsGet.d.ts} +2 -2
- package/funcs/appsGet.d.ts.map +1 -0
- package/funcs/{appAppV1Get.js → appsGet.js} +3 -3
- package/funcs/{settingsAccountV1SettingsDeleteImages.js.map → appsGet.js.map} +1 -1
- package/funcs/{locationLocationV1LocationGet.d.ts → appsQueue.d.ts} +3 -2
- package/funcs/appsQueue.d.ts.map +1 -0
- package/funcs/{appAppV1Queue.js → appsQueue.js} +3 -3
- package/funcs/appsQueue.js.map +1 -0
- package/funcs/{badgeBadgeV1Tag.d.ts → badgeGetTags.d.ts} +2 -2
- package/funcs/badgeGetTags.d.ts.map +1 -0
- package/funcs/{badgeBadgeV1Tags.js → badgeGetTags.js} +3 -3
- package/funcs/badgeGetTags.js.map +1 -0
- package/funcs/{appAppV1Get.d.ts → badgesTag.d.ts} +2 -2
- package/funcs/badgesTag.d.ts.map +1 -0
- package/funcs/{badgeBadgeV1Tag.js → badgesTag.js} +3 -3
- package/funcs/badgesTag.js.map +1 -0
- package/funcs/{accountAccountV1GetLeaderboardHistory.d.ts → connectionDelete.d.ts} +2 -2
- package/funcs/{badgeBadgeV1Tags.d.ts.map → connectionDelete.d.ts.map} +1 -1
- package/funcs/{accountAccountV1ConnectionDeleteConnection.js → connectionDelete.js} +3 -3
- package/funcs/connectionDelete.js.map +1 -0
- package/funcs/{accountAccountV1SessionCreate.d.ts → connectionUpdate.d.ts} +3 -2
- package/funcs/connectionUpdate.d.ts.map +1 -0
- package/funcs/{accountAccountV1ConnectionUpdateConnection.js → connectionUpdate.js} +3 -3
- package/funcs/connectionUpdate.js.map +1 -0
- package/funcs/{dataAccountV1GetStaff.d.ts → connectionVerify.d.ts} +3 -2
- package/funcs/connectionVerify.d.ts.map +1 -0
- package/funcs/{accountAccountV1ConnectionVerifyConnection.js → connectionVerify.js} +3 -3
- package/funcs/connectionVerify.js.map +1 -0
- package/funcs/{accountAccountV1GetDataPoints.d.ts → connectionsConnect.d.ts} +2 -2
- package/funcs/connectionsConnect.d.ts.map +1 -0
- package/funcs/{accountAccountV1ConnectionConnect.js → connectionsConnect.js} +3 -3
- package/funcs/connectionsConnect.js.map +1 -0
- package/funcs/{publicAppV1Queue.d.ts → dataGetApps.d.ts} +2 -2
- package/funcs/{appAppV1Get.d.ts.map → dataGetApps.d.ts.map} +1 -1
- package/funcs/{publicAccountV1GetApps.js → dataGetApps.js} +3 -3
- package/funcs/dataGetApps.js.map +1 -0
- package/funcs/dataGetBadges.d.ts +11 -0
- package/funcs/{appAppV1Queue.d.ts.map → dataGetBadges.d.ts.map} +1 -1
- package/funcs/{publicAccountV1GetBadges.js → dataGetBadges.js} +3 -3
- package/funcs/dataGetBadges.js.map +1 -0
- package/funcs/{accountAccountV1GetApps.d.ts → dataGetDataPoints.d.ts} +2 -2
- package/funcs/dataGetDataPoints.d.ts.map +1 -0
- package/funcs/{publicAccountV1GetDataPoints.js → dataGetDataPoints.js} +3 -3
- package/funcs/dataGetDataPoints.js.map +1 -0
- package/funcs/{developerAccountV1SettingsDeveloperAppCreate.d.ts → dataGetFriends.d.ts} +2 -2
- package/funcs/dataGetFriends.d.ts.map +1 -0
- package/funcs/{publicAccountV1GetFriends.js → dataGetFriends.js} +3 -3
- package/funcs/dataGetFriends.js.map +1 -0
- package/funcs/dataGetInfo.d.ts +11 -0
- package/funcs/dataGetInfo.d.ts.map +1 -0
- package/funcs/{publicAccountV1GetInfo.js → dataGetInfo.js} +3 -3
- package/funcs/dataGetInfo.js.map +1 -0
- package/funcs/{publicAccountV1GetFriends.d.ts → dataGetLeaderboardHistory.d.ts} +2 -2
- package/funcs/{accountAccountV1GetBadges.d.ts.map → dataGetLeaderboardHistory.d.ts.map} +1 -1
- package/funcs/{publicAccountV1GetLeaderboardHistory.js → dataGetLeaderboardHistory.js} +3 -3
- package/funcs/{accountAccountV1GetBadges.js.map → dataGetLeaderboardHistory.js.map} +1 -1
- package/funcs/{accountAccountV1SessionGet.d.ts → dataGetStaff.d.ts} +2 -2
- package/funcs/dataGetStaff.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetStaff.js → dataGetStaff.js} +3 -3
- package/funcs/dataGetStaff.js.map +1 -0
- package/funcs/{accountLeaderboardV1GetBadges.d.ts → developerCreateDeveloperApp.d.ts} +3 -2
- package/funcs/developerCreateDeveloperApp.d.ts.map +1 -0
- package/funcs/{developerAccountV1SettingsDeveloperAppCreate.js → developerCreateDeveloperApp.js} +3 -3
- package/funcs/developerCreateDeveloperApp.js.map +1 -0
- package/funcs/{accountAccountV1ConnectionConnect.d.ts → developerDeleteDeveloperApp.d.ts} +2 -2
- package/funcs/developerDeleteDeveloperApp.d.ts.map +1 -0
- package/funcs/{developerAccountV1SettingsDeveloperAppDelete.js → developerDeleteDeveloperApp.js} +3 -3
- package/funcs/developerDeleteDeveloperApp.js.map +1 -0
- package/funcs/{settingsAccountV1SettingsDeleteImages.d.ts → developerUpdateApp.d.ts} +2 -2
- package/funcs/developerUpdateApp.d.ts.map +1 -0
- package/funcs/{developerAccountV1SettingsDeveloperAppUpdate.js → developerUpdateApp.js} +3 -3
- package/funcs/developerUpdateApp.js.map +1 -0
- package/funcs/leaderboardGetAccount.d.ts +11 -0
- package/funcs/{accountAccountV1Queue.d.ts.map → leaderboardGetAccount.d.ts.map} +1 -1
- package/funcs/{accountLeaderboardV1GetAccount.js → leaderboardGetAccount.js} +3 -3
- package/funcs/leaderboardGetAccount.js.map +1 -0
- package/funcs/{settingsAccountV1SettingsUpdate.d.ts → leaderboardGetBadges.d.ts} +2 -2
- package/funcs/leaderboardGetBadges.d.ts.map +1 -0
- package/funcs/{accountLeaderboardV1GetBadges.js → leaderboardGetBadges.js} +3 -3
- package/funcs/leaderboardGetBadges.js.map +1 -0
- package/funcs/leaderboardGetGroup.d.ts +11 -0
- package/funcs/leaderboardGetGroup.d.ts.map +1 -0
- package/funcs/{groupLeaderboardV1GetGroup.js → leaderboardGetGroup.js} +3 -3
- package/funcs/leaderboardGetGroup.js.map +1 -0
- package/funcs/{publicAccountV1GetDataPoints.d.ts → livenessCheck.d.ts} +8 -3
- package/funcs/livenessCheck.d.ts.map +1 -0
- package/funcs/{livenessLiveness.js → livenessCheck.js} +3 -3
- package/funcs/livenessCheck.js.map +1 -0
- package/funcs/{sessionAccountV1SessionGet.d.ts → locationsGet.d.ts} +2 -2
- package/funcs/locationsGet.d.ts.map +1 -0
- package/funcs/{locationLocationV1LocationGet.js → locationsGet.js} +3 -3
- package/funcs/locationsGet.js.map +1 -0
- package/funcs/{accountAccountV1ConnectionDeleteConnection.d.ts → publicGetApps.d.ts} +2 -2
- package/funcs/publicGetApps.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetApps.js → publicGetApps.js} +3 -3
- package/funcs/publicGetApps.js.map +1 -0
- package/funcs/publicGetBadges.d.ts +11 -0
- package/funcs/publicGetBadges.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetBadges.js → publicGetBadges.js} +3 -3
- package/funcs/publicGetBadges.js.map +1 -0
- package/funcs/{badgeBadgeV1Tags.d.ts → publicGetDataPoints.d.ts} +2 -2
- package/funcs/publicGetDataPoints.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetDataPoints.js → publicGetDataPoints.js} +3 -3
- package/funcs/publicGetDataPoints.js.map +1 -0
- package/funcs/publicGetFriends.d.ts +11 -0
- package/funcs/publicGetFriends.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetFriends.js → publicGetFriends.js} +3 -3
- package/funcs/publicGetFriends.js.map +1 -0
- package/funcs/{accountAccountV1ConnectionUpdateConnection.d.ts → publicGetInfo.d.ts} +2 -2
- package/funcs/publicGetInfo.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetInfo.js → publicGetInfo.js} +3 -3
- package/funcs/publicGetInfo.js.map +1 -0
- package/funcs/publicGetLeaderboardHistory.d.ts +11 -0
- package/funcs/publicGetLeaderboardHistory.d.ts.map +1 -0
- package/funcs/{accountAccountV1GetLeaderboardHistory.js → publicGetLeaderboardHistory.js} +3 -3
- package/funcs/publicGetLeaderboardHistory.js.map +1 -0
- package/funcs/{accountAccountV1SettingsSendEmailVerification.d.ts → sessionCreate.d.ts} +2 -2
- package/funcs/sessionCreate.d.ts.map +1 -0
- package/funcs/{accountAccountV1SessionCreate.js → sessionCreate.js} +3 -3
- package/funcs/sessionCreate.js.map +1 -0
- package/funcs/{dataAccountV1GetDataPoints.d.ts → sessionLogin.d.ts} +2 -3
- package/funcs/sessionLogin.d.ts.map +1 -0
- package/funcs/{sessionAccountV1SessionLogin.js → sessionLogin.js} +3 -3
- package/funcs/sessionLogin.js.map +1 -0
- package/funcs/{accountAccountV1GetInfo.d.ts → sessionsDelete.d.ts} +2 -2
- package/funcs/sessionsDelete.d.ts.map +1 -0
- package/funcs/{sessionAccountV1SessionDelete.js → sessionsDelete.js} +3 -3
- package/funcs/{connectionAccountV1ConnectionVerifyConnection.js.map → sessionsDelete.js.map} +1 -1
- package/funcs/sessionsGet.d.ts +10 -0
- package/funcs/sessionsGet.d.ts.map +1 -0
- package/funcs/{accountAccountV1SessionGet.js → sessionsGet.js} +3 -3
- package/funcs/sessionsGet.js.map +1 -0
- package/funcs/settingsDeleteImages.d.ts +11 -0
- package/funcs/{publicAccountV1Queue.d.ts.map → settingsDeleteImages.d.ts.map} +1 -1
- package/funcs/{settingsAccountV1SettingsDeleteImages.js → settingsDeleteImages.js} +3 -3
- package/funcs/settingsDeleteImages.js.map +1 -0
- package/funcs/settingsGet.d.ts +10 -0
- package/funcs/settingsGet.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsGet.js → settingsGet.js} +3 -3
- package/funcs/settingsGet.js.map +1 -0
- package/funcs/settingsSendEmailVerification.d.ts +10 -0
- package/funcs/{sessionAccountV1SessionCreate.d.ts.map → settingsSendEmailVerification.d.ts.map} +1 -1
- package/funcs/{settingsAccountV1SettingsSendEmailVerification.js → settingsSendEmailVerification.js} +3 -3
- package/funcs/settingsSendEmailVerification.js.map +1 -0
- package/funcs/{accountAccountV1SettingsGet.d.ts → settingsUpdate.d.ts} +2 -2
- package/funcs/settingsUpdate.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsUpdate.js → settingsUpdate.js} +3 -3
- package/funcs/settingsUpdate.js.map +1 -0
- package/funcs/settingsUpdateImage.d.ts +11 -0
- package/funcs/settingsUpdateImage.d.ts.map +1 -0
- package/funcs/{settingsAccountV1SettingsUpdateImage.js → settingsUpdateImage.js} +3 -3
- package/funcs/settingsUpdateImage.js.map +1 -0
- package/funcs/settingsUploadImages.d.ts +11 -0
- package/funcs/{dataAccountV1GetInfo.d.ts.map → settingsUploadImages.d.ts.map} +1 -1
- package/funcs/{settingsAccountV1SettingsUploadImages.js → settingsUploadImages.js} +3 -3
- package/funcs/{publicAccountV1Queue.js.map → settingsUploadImages.js.map} +1 -1
- package/funcs/settingsVerifyEmail.d.ts +11 -0
- package/funcs/settingsVerifyEmail.d.ts.map +1 -0
- package/funcs/{settingsAccountV1SettingsVerfyEmail.js → settingsVerifyEmail.js} +3 -3
- package/funcs/settingsVerifyEmail.js.map +1 -0
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1getsettingsbody.d.ts +3 -0
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +3 -0
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/components/v1updatesettingsrequestbody.d.ts +7 -7
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +6 -6
- package/models/components/v1updatesettingsrequestbody.js.map +1 -1
- package/models/components/v1vanityanalytics.d.ts +28 -0
- package/models/components/v1vanityanalytics.d.ts.map +1 -0
- package/models/components/v1vanityanalytics.js +50 -0
- package/models/components/v1vanityanalytics.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +12 -26
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +36 -92
- package/sdk/account.js.map +1 -1
- package/sdk/accounts.d.ts +7 -0
- package/sdk/accounts.d.ts.map +1 -0
- package/sdk/accounts.js +16 -0
- package/sdk/accounts.js.map +1 -0
- package/sdk/admin.d.ts +1 -1
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +3 -3
- package/sdk/admin.js.map +1 -1
- package/sdk/apps.d.ts +8 -0
- package/sdk/apps.d.ts.map +1 -0
- package/sdk/apps.js +20 -0
- package/sdk/apps.js.map +1 -0
- package/sdk/badge.d.ts +1 -2
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +3 -7
- package/sdk/badge.js.map +1 -1
- package/sdk/badges.d.ts +7 -0
- package/sdk/badges.d.ts.map +1 -0
- package/sdk/badges.js +16 -0
- package/sdk/badges.js.map +1 -0
- package/sdk/connection.d.ts +3 -4
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +9 -13
- package/sdk/connection.js.map +1 -1
- package/sdk/connections.d.ts +7 -0
- package/sdk/connections.d.ts.map +1 -0
- package/sdk/connections.js +16 -0
- package/sdk/connections.js.map +1 -0
- package/sdk/data.d.ts +7 -7
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +21 -21
- package/sdk/data.js.map +1 -1
- package/sdk/developer.d.ts +3 -3
- package/sdk/developer.d.ts.map +1 -1
- package/sdk/developer.js +9 -9
- package/sdk/developer.js.map +1 -1
- package/sdk/leaderboard.d.ts +3 -3
- package/sdk/leaderboard.d.ts.map +1 -1
- package/sdk/leaderboard.js +9 -9
- package/sdk/leaderboard.js.map +1 -1
- package/sdk/liveness.d.ts +1 -1
- package/sdk/liveness.d.ts.map +1 -1
- package/sdk/liveness.js +3 -3
- package/sdk/liveness.js.map +1 -1
- package/sdk/locations.d.ts +6 -0
- package/sdk/locations.d.ts.map +1 -0
- package/sdk/locations.js +16 -0
- package/sdk/locations.js.map +1 -0
- package/sdk/public.d.ts +6 -8
- package/sdk/public.d.ts.map +1 -1
- package/sdk/public.js +18 -26
- package/sdk/public.js.map +1 -1
- package/sdk/sdk.d.ts +22 -13
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +32 -17
- package/sdk/sdk.js.map +1 -1
- package/sdk/session.d.ts +2 -5
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +6 -14
- package/sdk/session.js.map +1 -1
- package/sdk/sessions.d.ts +8 -0
- package/sdk/sessions.d.ts.map +1 -0
- package/sdk/sessions.js +20 -0
- package/sdk/sessions.js.map +1 -0
- package/sdk/settings.d.ts +7 -7
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +21 -21
- package/sdk/settings.js.map +1 -1
- package/src/funcs/{accountAccountV1SettingsDeleteImages.ts → accountDeleteImages.ts} +1 -1
- package/src/funcs/{dataAccountV1GetApps.ts → accountGetApps.ts} +1 -1
- package/src/funcs/{dataAccountV1GetBadges.ts → accountGetBadges.ts} +1 -1
- package/src/funcs/{dataAccountV1GetDataPoints.ts → accountGetDataPoints.ts} +1 -1
- package/src/funcs/{dataAccountV1GetFriends.ts → accountGetFriends.ts} +1 -1
- package/src/funcs/{dataAccountV1GetInfo.ts → accountGetInfo.ts} +1 -1
- package/src/funcs/{dataAccountV1GetLeaderboardHistory.ts → accountGetLeaderboardHistory.ts} +1 -1
- package/src/funcs/{dataAccountV1GetStaff.ts → accountGetStaff.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsSendEmailVerification.ts → accountSendEmailVerification.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsUpdateImage.ts → accountUpdateImage.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsUploadImages.ts → accountUploadImages.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsVerfyEmail.ts → accountVerifyEmail.ts} +1 -1
- package/src/funcs/{publicAccountV1Queue.ts → accountsQueue.ts} +1 -1
- package/src/funcs/{adminAdminV1GetAccount.ts → adminGetAccount.ts} +1 -1
- package/src/funcs/{appAppV1Get.ts → appsGet.ts} +1 -1
- package/src/funcs/{appAppV1Queue.ts → appsQueue.ts} +1 -1
- package/src/funcs/{badgeBadgeV1Tags.ts → badgeGetTags.ts} +1 -1
- package/src/funcs/{badgeBadgeV1Tag.ts → badgesTag.ts} +1 -1
- package/src/funcs/{accountAccountV1ConnectionDeleteConnection.ts → connectionDelete.ts} +1 -1
- package/src/funcs/{accountAccountV1ConnectionUpdateConnection.ts → connectionUpdate.ts} +1 -1
- package/src/funcs/{accountAccountV1ConnectionVerifyConnection.ts → connectionVerify.ts} +1 -1
- package/src/funcs/{accountAccountV1ConnectionConnect.ts → connectionsConnect.ts} +1 -1
- package/src/funcs/{publicAccountV1GetApps.ts → dataGetApps.ts} +1 -1
- package/src/funcs/{publicAccountV1GetBadges.ts → dataGetBadges.ts} +1 -1
- package/src/funcs/{publicAccountV1GetDataPoints.ts → dataGetDataPoints.ts} +1 -1
- package/src/funcs/{publicAccountV1GetFriends.ts → dataGetFriends.ts} +1 -1
- package/src/funcs/{publicAccountV1GetInfo.ts → dataGetInfo.ts} +1 -1
- package/src/funcs/{publicAccountV1GetLeaderboardHistory.ts → dataGetLeaderboardHistory.ts} +1 -1
- package/src/funcs/{accountAccountV1GetStaff.ts → dataGetStaff.ts} +1 -1
- package/src/funcs/{developerAccountV1SettingsDeveloperAppCreate.ts → developerCreateDeveloperApp.ts} +1 -1
- package/src/funcs/{developerAccountV1SettingsDeveloperAppDelete.ts → developerDeleteDeveloperApp.ts} +1 -1
- package/src/funcs/{developerAccountV1SettingsDeveloperAppUpdate.ts → developerUpdateApp.ts} +1 -1
- package/src/funcs/{accountLeaderboardV1GetAccount.ts → leaderboardGetAccount.ts} +1 -1
- package/src/funcs/{accountLeaderboardV1GetBadges.ts → leaderboardGetBadges.ts} +1 -1
- package/src/funcs/{groupLeaderboardV1GetGroup.ts → leaderboardGetGroup.ts} +1 -1
- package/src/funcs/{livenessLiveness.ts → livenessCheck.ts} +1 -1
- package/src/funcs/{locationLocationV1LocationGet.ts → locationsGet.ts} +1 -1
- package/src/funcs/{accountAccountV1GetApps.ts → publicGetApps.ts} +1 -1
- package/src/funcs/{accountAccountV1GetBadges.ts → publicGetBadges.ts} +1 -1
- package/src/funcs/{accountAccountV1GetDataPoints.ts → publicGetDataPoints.ts} +1 -1
- package/src/funcs/{accountAccountV1GetFriends.ts → publicGetFriends.ts} +1 -1
- package/src/funcs/{accountAccountV1GetInfo.ts → publicGetInfo.ts} +1 -1
- package/src/funcs/{accountAccountV1GetLeaderboardHistory.ts → publicGetLeaderboardHistory.ts} +1 -1
- package/src/funcs/{sessionAccountV1SessionCreate.ts → sessionCreate.ts} +1 -1
- package/src/funcs/{sessionAccountV1SessionLogin.ts → sessionLogin.ts} +1 -1
- package/src/funcs/{accountAccountV1SessionDelete.ts → sessionsDelete.ts} +1 -1
- package/src/funcs/{accountAccountV1SessionGet.ts → sessionsGet.ts} +1 -1
- package/src/funcs/{settingsAccountV1SettingsDeleteImages.ts → settingsDeleteImages.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsGet.ts → settingsGet.ts} +1 -1
- package/src/funcs/{settingsAccountV1SettingsSendEmailVerification.ts → settingsSendEmailVerification.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsUpdate.ts → settingsUpdate.ts} +1 -1
- package/src/funcs/{settingsAccountV1SettingsUpdateImage.ts → settingsUpdateImage.ts} +1 -1
- package/src/funcs/{settingsAccountV1SettingsUploadImages.ts → settingsUploadImages.ts} +1 -1
- package/src/funcs/{settingsAccountV1SettingsVerfyEmail.ts → settingsVerifyEmail.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +1 -0
- package/src/models/components/v1getsettingsbody.ts +10 -0
- package/src/models/components/v1updatesettingsrequestbody.ts +13 -13
- package/src/models/components/v1vanityanalytics.ts +48 -0
- package/src/sdk/account.ts +36 -198
- package/src/sdk/{group.ts → accounts.ts} +6 -6
- package/src/sdk/admin.ts +3 -3
- package/src/sdk/{app.ts → apps.ts} +7 -7
- package/src/sdk/badge.ts +3 -15
- package/src/sdk/badges.ts +22 -0
- package/src/sdk/connection.ts +9 -21
- package/src/sdk/connections.ts +22 -0
- package/src/sdk/data.ts +21 -21
- package/src/sdk/developer.ts +9 -9
- package/src/sdk/leaderboard.ts +9 -9
- package/src/sdk/liveness.ts +3 -3
- package/src/sdk/{location.ts → locations.ts} +4 -4
- package/src/sdk/public.ts +18 -42
- package/src/sdk/sdk.ts +40 -22
- package/src/sdk/session.ts +6 -29
- package/src/sdk/sessions.ts +32 -0
- package/src/sdk/settings.ts +21 -21
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +0 -1
- package/funcs/accountAccountV1ConnectionConnect.js.map +0 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +0 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +0 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +0 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +0 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +0 -11
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +0 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +0 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +0 -1
- package/funcs/accountAccountV1GetApps.js.map +0 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts.map +0 -1
- package/funcs/accountAccountV1GetDataPoints.js.map +0 -1
- package/funcs/accountAccountV1GetFriends.d.ts.map +0 -1
- package/funcs/accountAccountV1GetFriends.js.map +0 -1
- package/funcs/accountAccountV1GetInfo.d.ts.map +0 -1
- package/funcs/accountAccountV1GetInfo.js.map +0 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +0 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.js.map +0 -1
- package/funcs/accountAccountV1GetStaff.d.ts.map +0 -1
- package/funcs/accountAccountV1GetStaff.js.map +0 -1
- package/funcs/accountAccountV1Queue.d.ts +0 -11
- package/funcs/accountAccountV1Queue.js +0 -93
- package/funcs/accountAccountV1Queue.js.map +0 -1
- package/funcs/accountAccountV1SessionCreate.d.ts.map +0 -1
- package/funcs/accountAccountV1SessionCreate.js.map +0 -1
- package/funcs/accountAccountV1SessionDelete.d.ts +0 -11
- package/funcs/accountAccountV1SessionDelete.d.ts.map +0 -1
- package/funcs/accountAccountV1SessionDelete.js +0 -95
- package/funcs/accountAccountV1SessionDelete.js.map +0 -1
- package/funcs/accountAccountV1SessionGet.d.ts.map +0 -1
- package/funcs/accountAccountV1SessionGet.js.map +0 -1
- package/funcs/accountAccountV1SessionLogin.d.ts +0 -10
- package/funcs/accountAccountV1SessionLogin.js +0 -99
- package/funcs/accountAccountV1SessionLogin.js.map +0 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +0 -11
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +0 -1
- package/funcs/accountAccountV1SettingsGet.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsGet.js.map +0 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +0 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts +0 -10
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsUpdate.js.map +0 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +0 -11
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +0 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts +0 -11
- package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsUploadImages.js.map +0 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +0 -11
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +0 -1
- package/funcs/accountLeaderboardV1GetAccount.d.ts +0 -11
- package/funcs/accountLeaderboardV1GetAccount.d.ts.map +0 -1
- package/funcs/accountLeaderboardV1GetAccount.js.map +0 -1
- package/funcs/accountLeaderboardV1GetBadges.d.ts.map +0 -1
- package/funcs/accountLeaderboardV1GetBadges.js.map +0 -1
- package/funcs/accountLeaderboardV1GetGroup.d.ts +0 -11
- package/funcs/accountLeaderboardV1GetGroup.d.ts.map +0 -1
- package/funcs/accountLeaderboardV1GetGroup.js +0 -95
- package/funcs/accountLeaderboardV1GetGroup.js.map +0 -1
- package/funcs/adminAdminV1GetAccount.d.ts.map +0 -1
- package/funcs/adminAdminV1GetAccount.js.map +0 -1
- package/funcs/appAppV1Get.js.map +0 -1
- package/funcs/appAppV1Queue.js.map +0 -1
- package/funcs/badgeBadgeV1Tag.js.map +0 -1
- package/funcs/badgeBadgeV1Tags.js.map +0 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +0 -11
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +0 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +0 -95
- package/funcs/connectionAccountV1ConnectionConnect.js.map +0 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +0 -11
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +0 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js +0 -93
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +0 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +0 -11
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +0 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js +0 -93
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +0 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +0 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js +0 -93
- package/funcs/dataAccountV1GetApps.js.map +0 -1
- package/funcs/dataAccountV1GetBadges.d.ts +0 -11
- package/funcs/dataAccountV1GetBadges.d.ts.map +0 -1
- package/funcs/dataAccountV1GetBadges.js.map +0 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts.map +0 -1
- package/funcs/dataAccountV1GetDataPoints.js.map +0 -1
- package/funcs/dataAccountV1GetFriends.d.ts.map +0 -1
- package/funcs/dataAccountV1GetFriends.js.map +0 -1
- package/funcs/dataAccountV1GetInfo.d.ts +0 -11
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +0 -11
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +0 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.js.map +0 -1
- package/funcs/dataAccountV1GetStaff.d.ts.map +0 -1
- package/funcs/dataAccountV1GetStaff.js.map +0 -1
- package/funcs/developerAccountV1SettingsDeveloperAppCreate.d.ts.map +0 -1
- package/funcs/developerAccountV1SettingsDeveloperAppCreate.js.map +0 -1
- package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts +0 -11
- package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts.map +0 -1
- package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts +0 -11
- package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts.map +0 -1
- package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js.map +0 -1
- package/funcs/groupLeaderboardV1GetGroup.d.ts +0 -11
- package/funcs/groupLeaderboardV1GetGroup.d.ts.map +0 -1
- package/funcs/groupLeaderboardV1GetGroup.js.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetAccount.d.ts +0 -11
- package/funcs/leaderboardLeaderboardV1GetAccount.d.ts.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetAccount.js +0 -95
- package/funcs/leaderboardLeaderboardV1GetAccount.js.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetBadges.d.ts +0 -10
- package/funcs/leaderboardLeaderboardV1GetBadges.d.ts.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetBadges.js +0 -84
- package/funcs/leaderboardLeaderboardV1GetBadges.js.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetGroup.d.ts +0 -11
- package/funcs/leaderboardLeaderboardV1GetGroup.d.ts.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetGroup.js +0 -95
- package/funcs/leaderboardLeaderboardV1GetGroup.js.map +0 -1
- package/funcs/livenessLiveness.d.ts +0 -16
- package/funcs/livenessLiveness.d.ts.map +0 -1
- package/funcs/livenessLiveness.js.map +0 -1
- package/funcs/locationLocationV1LocationGet.d.ts.map +0 -1
- package/funcs/locationLocationV1LocationGet.js.map +0 -1
- package/funcs/publicAccountV1GetApps.d.ts +0 -11
- package/funcs/publicAccountV1GetApps.d.ts.map +0 -1
- package/funcs/publicAccountV1GetApps.js.map +0 -1
- package/funcs/publicAccountV1GetBadges.d.ts +0 -11
- package/funcs/publicAccountV1GetBadges.d.ts.map +0 -1
- package/funcs/publicAccountV1GetBadges.js.map +0 -1
- package/funcs/publicAccountV1GetFriends.d.ts.map +0 -1
- package/funcs/publicAccountV1GetFriends.js.map +0 -1
- package/funcs/publicAccountV1GetInfo.d.ts +0 -11
- package/funcs/publicAccountV1GetInfo.d.ts.map +0 -1
- package/funcs/publicAccountV1GetInfo.js.map +0 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +0 -11
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +0 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.js.map +0 -1
- package/funcs/publicAccountV1Queue.d.ts +0 -11
- package/funcs/publicAppV1Queue.js +0 -93
- package/funcs/publicAppV1Queue.js.map +0 -1
- package/funcs/sessionAccountV1SessionCreate.d.ts +0 -10
- package/funcs/sessionAccountV1SessionCreate.js +0 -106
- package/funcs/sessionAccountV1SessionCreate.js.map +0 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts +0 -11
- package/funcs/sessionAccountV1SessionDelete.d.ts.map +0 -1
- package/funcs/sessionAccountV1SessionDelete.js.map +0 -1
- package/funcs/sessionAccountV1SessionGet.d.ts.map +0 -1
- package/funcs/sessionAccountV1SessionGet.js +0 -84
- package/funcs/sessionAccountV1SessionGet.js.map +0 -1
- package/funcs/sessionAccountV1SessionLogin.d.ts +0 -10
- package/funcs/sessionAccountV1SessionLogin.d.ts.map +0 -1
- package/funcs/sessionAccountV1SessionLogin.js.map +0 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts +0 -10
- package/funcs/settingsAccountV1SettingsGet.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsGet.js +0 -84
- package/funcs/settingsAccountV1SettingsGet.js.map +0 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +0 -10
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +0 -97
- package/funcs/settingsAccountV1SettingsUpdate.js.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +0 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsUploadImages.js.map +0 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +0 -1
- package/sdk/app.d.ts +0 -8
- package/sdk/app.d.ts.map +0 -1
- package/sdk/app.js +0 -20
- package/sdk/app.js.map +0 -1
- package/sdk/group.d.ts +0 -7
- package/sdk/group.d.ts.map +0 -1
- package/sdk/group.js +0 -16
- package/sdk/group.js.map +0 -1
- package/sdk/location.d.ts +0 -6
- package/sdk/location.d.ts.map +0 -1
- package/sdk/location.js +0 -16
- package/sdk/location.js.map +0 -1
- package/src/funcs/accountAccountV1Queue.ts +0 -122
- package/src/funcs/accountAccountV1SessionCreate.ts +0 -140
- package/src/funcs/accountAccountV1SessionLogin.ts +0 -133
- package/src/funcs/accountLeaderboardV1GetGroup.ts +0 -127
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +0 -124
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +0 -127
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +0 -127
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +0 -127
- package/src/funcs/leaderboardLeaderboardV1GetAccount.ts +0 -127
- package/src/funcs/leaderboardLeaderboardV1GetBadges.ts +0 -107
- package/src/funcs/leaderboardLeaderboardV1GetGroup.ts +0 -127
- package/src/funcs/publicAppV1Queue.ts +0 -122
- package/src/funcs/sessionAccountV1SessionDelete.ts +0 -125
- package/src/funcs/sessionAccountV1SessionGet.ts +0 -107
- package/src/funcs/settingsAccountV1SettingsGet.ts +0 -107
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +0 -131
|
@@ -7,34 +7,20 @@ Account related operations
|
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
|
-
* [
|
|
11
|
-
* [
|
|
12
|
-
* [
|
|
13
|
-
* [
|
|
14
|
-
* [
|
|
15
|
-
* [
|
|
16
|
-
* [
|
|
17
|
-
* [
|
|
18
|
-
* [
|
|
19
|
-
* [
|
|
20
|
-
* [
|
|
21
|
-
* [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* [accountV1SessionLogin](#accountv1sessionlogin)
|
|
25
|
-
* [accountV1Queue](#accountv1queue)
|
|
26
|
-
* [accountV1SettingsSendEmailVerification](#accountv1settingssendemailverification)
|
|
27
|
-
* [accountV1ConnectionUpdateConnection](#accountv1connectionupdateconnection)
|
|
28
|
-
* [accountV1SettingsUpdateImage](#accountv1settingsupdateimage)
|
|
29
|
-
* [accountV1SettingsUpdate](#accountv1settingsupdate)
|
|
30
|
-
* [accountV1SettingsUploadImages](#accountv1settingsuploadimages)
|
|
31
|
-
* [accountV1ConnectionVerifyConnection](#accountv1connectionverifyconnection)
|
|
32
|
-
* [accountV1SettingsVerfyEmail](#accountv1settingsverfyemail)
|
|
33
|
-
* [leaderboardV1GetAccount](#leaderboardv1getaccount)
|
|
34
|
-
* [leaderboardV1GetBadges](#leaderboardv1getbadges)
|
|
35
|
-
* [leaderboardV1GetGroup](#leaderboardv1getgroup)
|
|
36
|
-
|
|
37
|
-
## accountV1ConnectionConnect
|
|
10
|
+
* [deleteImages](#deleteimages)
|
|
11
|
+
* [getApps](#getapps)
|
|
12
|
+
* [getBadges](#getbadges)
|
|
13
|
+
* [getDataPoints](#getdatapoints)
|
|
14
|
+
* [getFriends](#getfriends)
|
|
15
|
+
* [getInfo](#getinfo)
|
|
16
|
+
* [getLeaderboardHistory](#getleaderboardhistory)
|
|
17
|
+
* [getStaff](#getstaff)
|
|
18
|
+
* [sendEmailVerification](#sendemailverification)
|
|
19
|
+
* [updateImage](#updateimage)
|
|
20
|
+
* [uploadImages](#uploadimages)
|
|
21
|
+
* [verifyEmail](#verifyemail)
|
|
22
|
+
|
|
23
|
+
## deleteImages
|
|
38
24
|
|
|
39
25
|
### Example Usage
|
|
40
26
|
|
|
@@ -46,950 +32,11 @@ const steamSets = new SteamSets({
|
|
|
46
32
|
});
|
|
47
33
|
|
|
48
34
|
async function run() {
|
|
49
|
-
const result = await steamSets.account.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// Handle the result
|
|
55
|
-
console.log(result);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
run();
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### Standalone function
|
|
62
|
-
|
|
63
|
-
The standalone function version of this method:
|
|
64
|
-
|
|
65
|
-
```typescript
|
|
66
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
67
|
-
import { accountAccountV1ConnectionConnect } from "@steamsets/client-ts/funcs/accountAccountV1ConnectionConnect.js";
|
|
68
|
-
|
|
69
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
70
|
-
// You can create one instance of it to use across an application.
|
|
71
|
-
const steamSets = new SteamSetsCore({
|
|
72
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
async function run() {
|
|
76
|
-
const res = await accountAccountV1ConnectionConnect(steamSets, {
|
|
77
|
-
code: "123456",
|
|
78
|
-
provider: "discord",
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
if (!res.ok) {
|
|
82
|
-
throw res.error;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
const { value: result } = res;
|
|
86
|
-
|
|
87
|
-
// Handle the result
|
|
88
|
-
console.log(result);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
run();
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### Parameters
|
|
95
|
-
|
|
96
|
-
| Parameter | Type | Required | Description |
|
|
97
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
98
|
-
| `request` | [components.V1ConnectRequestBody](../../models/components/v1connectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
99
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
100
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
101
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
102
|
-
|
|
103
|
-
### Response
|
|
104
|
-
|
|
105
|
-
**Promise\<[operations.AccountV1ConnectionConnectResponse](../../models/operations/accountv1connectionconnectresponse.md)\>**
|
|
106
|
-
|
|
107
|
-
### Errors
|
|
108
|
-
|
|
109
|
-
| Error Type | Status Code | Content Type |
|
|
110
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
111
|
-
| errors.ErrorModel | 400, 422, 500 | application/problem+json |
|
|
112
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
113
|
-
|
|
114
|
-
## accountV1SessionCreate
|
|
115
|
-
|
|
116
|
-
### Example Usage
|
|
117
|
-
|
|
118
|
-
```typescript
|
|
119
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
120
|
-
|
|
121
|
-
const steamSets = new SteamSets({
|
|
122
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
async function run() {
|
|
126
|
-
const result = await steamSets.account.accountV1SessionCreate({});
|
|
127
|
-
|
|
128
|
-
// Handle the result
|
|
129
|
-
console.log(result);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
run();
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### Standalone function
|
|
136
|
-
|
|
137
|
-
The standalone function version of this method:
|
|
138
|
-
|
|
139
|
-
```typescript
|
|
140
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
141
|
-
import { accountAccountV1SessionCreate } from "@steamsets/client-ts/funcs/accountAccountV1SessionCreate.js";
|
|
142
|
-
|
|
143
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
144
|
-
// You can create one instance of it to use across an application.
|
|
145
|
-
const steamSets = new SteamSetsCore({
|
|
146
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
async function run() {
|
|
150
|
-
const res = await accountAccountV1SessionCreate(steamSets, {});
|
|
151
|
-
|
|
152
|
-
if (!res.ok) {
|
|
153
|
-
throw res.error;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
const { value: result } = res;
|
|
157
|
-
|
|
158
|
-
// Handle the result
|
|
159
|
-
console.log(result);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
run();
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
### Parameters
|
|
166
|
-
|
|
167
|
-
| Parameter | Type | Required | Description |
|
|
168
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
169
|
-
| `request` | [operations.AccountV1SessionCreateRequest](../../models/operations/accountv1sessioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
170
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
171
|
-
| `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. |
|
|
172
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
173
|
-
|
|
174
|
-
### Response
|
|
175
|
-
|
|
176
|
-
**Promise\<[operations.AccountV1SessionCreateResponse](../../models/operations/accountv1sessioncreateresponse.md)\>**
|
|
177
|
-
|
|
178
|
-
### Errors
|
|
179
|
-
|
|
180
|
-
| Error Type | Status Code | Content Type |
|
|
181
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
182
|
-
| errors.ErrorModel | 422, 500 | application/problem+json |
|
|
183
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
184
|
-
|
|
185
|
-
## accountV1ConnectionDeleteConnection
|
|
186
|
-
|
|
187
|
-
### Example Usage
|
|
188
|
-
|
|
189
|
-
```typescript
|
|
190
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
191
|
-
|
|
192
|
-
const steamSets = new SteamSets({
|
|
193
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
194
|
-
});
|
|
195
|
-
|
|
196
|
-
async function run() {
|
|
197
|
-
const result = await steamSets.account.accountV1ConnectionDeleteConnection({
|
|
198
|
-
connectionId: "123456",
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
// Handle the result
|
|
202
|
-
console.log(result);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
run();
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### Standalone function
|
|
209
|
-
|
|
210
|
-
The standalone function version of this method:
|
|
211
|
-
|
|
212
|
-
```typescript
|
|
213
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
214
|
-
import { accountAccountV1ConnectionDeleteConnection } from "@steamsets/client-ts/funcs/accountAccountV1ConnectionDeleteConnection.js";
|
|
215
|
-
|
|
216
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
217
|
-
// You can create one instance of it to use across an application.
|
|
218
|
-
const steamSets = new SteamSetsCore({
|
|
219
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
async function run() {
|
|
223
|
-
const res = await accountAccountV1ConnectionDeleteConnection(steamSets, {
|
|
224
|
-
connectionId: "123456",
|
|
225
|
-
});
|
|
226
|
-
|
|
227
|
-
if (!res.ok) {
|
|
228
|
-
throw res.error;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
const { value: result } = res;
|
|
232
|
-
|
|
233
|
-
// Handle the result
|
|
234
|
-
console.log(result);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
run();
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
### Parameters
|
|
241
|
-
|
|
242
|
-
| Parameter | Type | Required | Description |
|
|
243
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
244
|
-
| `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
245
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
246
|
-
| `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. |
|
|
247
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
248
|
-
|
|
249
|
-
### Response
|
|
250
|
-
|
|
251
|
-
**Promise\<[operations.AccountV1ConnectionDeleteConnectionResponse](../../models/operations/accountv1connectiondeleteconnectionresponse.md)\>**
|
|
252
|
-
|
|
253
|
-
### Errors
|
|
254
|
-
|
|
255
|
-
| Error Type | Status Code | Content Type |
|
|
256
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
257
|
-
| errors.ErrorModel | 400, 422, 500 | application/problem+json |
|
|
258
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
259
|
-
|
|
260
|
-
## accountV1SettingsDeleteImages
|
|
261
|
-
|
|
262
|
-
### Example Usage
|
|
263
|
-
|
|
264
|
-
```typescript
|
|
265
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
266
|
-
|
|
267
|
-
const steamSets = new SteamSets({
|
|
268
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
269
|
-
});
|
|
270
|
-
|
|
271
|
-
async function run() {
|
|
272
|
-
const result = await steamSets.account.accountV1SettingsDeleteImages({
|
|
273
|
-
imageIds: [
|
|
274
|
-
"<value>",
|
|
275
|
-
],
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
// Handle the result
|
|
279
|
-
console.log(result);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
run();
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
### Standalone function
|
|
286
|
-
|
|
287
|
-
The standalone function version of this method:
|
|
288
|
-
|
|
289
|
-
```typescript
|
|
290
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
291
|
-
import { accountAccountV1SettingsDeleteImages } from "@steamsets/client-ts/funcs/accountAccountV1SettingsDeleteImages.js";
|
|
292
|
-
|
|
293
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
294
|
-
// You can create one instance of it to use across an application.
|
|
295
|
-
const steamSets = new SteamSetsCore({
|
|
296
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
297
|
-
});
|
|
298
|
-
|
|
299
|
-
async function run() {
|
|
300
|
-
const res = await accountAccountV1SettingsDeleteImages(steamSets, {
|
|
301
|
-
imageIds: [
|
|
302
|
-
"<value>",
|
|
303
|
-
],
|
|
304
|
-
});
|
|
305
|
-
|
|
306
|
-
if (!res.ok) {
|
|
307
|
-
throw res.error;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
const { value: result } = res;
|
|
311
|
-
|
|
312
|
-
// Handle the result
|
|
313
|
-
console.log(result);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
run();
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
### Parameters
|
|
320
|
-
|
|
321
|
-
| Parameter | Type | Required | Description |
|
|
322
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
323
|
-
| `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
324
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
325
|
-
| `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. |
|
|
326
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
327
|
-
|
|
328
|
-
### Response
|
|
329
|
-
|
|
330
|
-
**Promise\<[operations.AccountV1SettingsDeleteImagesResponse](../../models/operations/accountv1settingsdeleteimagesresponse.md)\>**
|
|
331
|
-
|
|
332
|
-
### Errors
|
|
333
|
-
|
|
334
|
-
| Error Type | Status Code | Content Type |
|
|
335
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
336
|
-
| errors.ErrorModel | 404, 422, 500 | application/problem+json |
|
|
337
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
338
|
-
|
|
339
|
-
## accountV1SessionDelete
|
|
340
|
-
|
|
341
|
-
### Example Usage
|
|
342
|
-
|
|
343
|
-
```typescript
|
|
344
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
345
|
-
|
|
346
|
-
const steamSets = new SteamSets({
|
|
347
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
348
|
-
});
|
|
349
|
-
|
|
350
|
-
async function run() {
|
|
351
|
-
const result = await steamSets.account.accountV1SessionDelete({
|
|
352
|
-
sessionId: "123456",
|
|
353
|
-
});
|
|
354
|
-
|
|
355
|
-
// Handle the result
|
|
356
|
-
console.log(result);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
run();
|
|
360
|
-
```
|
|
361
|
-
|
|
362
|
-
### Standalone function
|
|
363
|
-
|
|
364
|
-
The standalone function version of this method:
|
|
365
|
-
|
|
366
|
-
```typescript
|
|
367
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
368
|
-
import { accountAccountV1SessionDelete } from "@steamsets/client-ts/funcs/accountAccountV1SessionDelete.js";
|
|
369
|
-
|
|
370
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
371
|
-
// You can create one instance of it to use across an application.
|
|
372
|
-
const steamSets = new SteamSetsCore({
|
|
373
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
374
|
-
});
|
|
375
|
-
|
|
376
|
-
async function run() {
|
|
377
|
-
const res = await accountAccountV1SessionDelete(steamSets, {
|
|
378
|
-
sessionId: "123456",
|
|
379
|
-
});
|
|
380
|
-
|
|
381
|
-
if (!res.ok) {
|
|
382
|
-
throw res.error;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
const { value: result } = res;
|
|
386
|
-
|
|
387
|
-
// Handle the result
|
|
388
|
-
console.log(result);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
run();
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
### Parameters
|
|
395
|
-
|
|
396
|
-
| Parameter | Type | Required | Description |
|
|
397
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
398
|
-
| `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
399
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
400
|
-
| `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. |
|
|
401
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
402
|
-
|
|
403
|
-
### Response
|
|
404
|
-
|
|
405
|
-
**Promise\<[operations.AccountV1SessionDeleteResponse](../../models/operations/accountv1sessiondeleteresponse.md)\>**
|
|
406
|
-
|
|
407
|
-
### Errors
|
|
408
|
-
|
|
409
|
-
| Error Type | Status Code | Content Type |
|
|
410
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
411
|
-
| errors.ErrorModel | 404, 422, 500 | application/problem+json |
|
|
412
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
413
|
-
|
|
414
|
-
## accountV1GetApps
|
|
415
|
-
|
|
416
|
-
### Example Usage
|
|
417
|
-
|
|
418
|
-
```typescript
|
|
419
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
420
|
-
|
|
421
|
-
const steamSets = new SteamSets({
|
|
422
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
423
|
-
});
|
|
424
|
-
|
|
425
|
-
async function run() {
|
|
426
|
-
const result = await steamSets.account.accountV1GetApps({});
|
|
427
|
-
|
|
428
|
-
// Handle the result
|
|
429
|
-
console.log(result);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
run();
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
### Standalone function
|
|
436
|
-
|
|
437
|
-
The standalone function version of this method:
|
|
438
|
-
|
|
439
|
-
```typescript
|
|
440
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
441
|
-
import { accountAccountV1GetApps } from "@steamsets/client-ts/funcs/accountAccountV1GetApps.js";
|
|
442
|
-
|
|
443
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
444
|
-
// You can create one instance of it to use across an application.
|
|
445
|
-
const steamSets = new SteamSetsCore({
|
|
446
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
447
|
-
});
|
|
448
|
-
|
|
449
|
-
async function run() {
|
|
450
|
-
const res = await accountAccountV1GetApps(steamSets, {});
|
|
451
|
-
|
|
452
|
-
if (!res.ok) {
|
|
453
|
-
throw res.error;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
const { value: result } = res;
|
|
457
|
-
|
|
458
|
-
// Handle the result
|
|
459
|
-
console.log(result);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
run();
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
### Parameters
|
|
466
|
-
|
|
467
|
-
| Parameter | Type | Required | Description |
|
|
468
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
469
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
470
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
471
|
-
| `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. |
|
|
472
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
473
|
-
|
|
474
|
-
### Response
|
|
475
|
-
|
|
476
|
-
**Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
|
|
477
|
-
|
|
478
|
-
### Errors
|
|
479
|
-
|
|
480
|
-
| Error Type | Status Code | Content Type |
|
|
481
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
482
|
-
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
483
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
484
|
-
|
|
485
|
-
## accountV1GetBadges
|
|
486
|
-
|
|
487
|
-
### Example Usage
|
|
488
|
-
|
|
489
|
-
```typescript
|
|
490
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
491
|
-
|
|
492
|
-
const steamSets = new SteamSets({
|
|
493
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
494
|
-
});
|
|
495
|
-
|
|
496
|
-
async function run() {
|
|
497
|
-
const result = await steamSets.account.accountV1GetBadges({});
|
|
498
|
-
|
|
499
|
-
// Handle the result
|
|
500
|
-
console.log(result);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
run();
|
|
504
|
-
```
|
|
505
|
-
|
|
506
|
-
### Standalone function
|
|
507
|
-
|
|
508
|
-
The standalone function version of this method:
|
|
509
|
-
|
|
510
|
-
```typescript
|
|
511
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
512
|
-
import { accountAccountV1GetBadges } from "@steamsets/client-ts/funcs/accountAccountV1GetBadges.js";
|
|
513
|
-
|
|
514
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
515
|
-
// You can create one instance of it to use across an application.
|
|
516
|
-
const steamSets = new SteamSetsCore({
|
|
517
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
518
|
-
});
|
|
519
|
-
|
|
520
|
-
async function run() {
|
|
521
|
-
const res = await accountAccountV1GetBadges(steamSets, {});
|
|
522
|
-
|
|
523
|
-
if (!res.ok) {
|
|
524
|
-
throw res.error;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
const { value: result } = res;
|
|
528
|
-
|
|
529
|
-
// Handle the result
|
|
530
|
-
console.log(result);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
run();
|
|
534
|
-
```
|
|
535
|
-
|
|
536
|
-
### Parameters
|
|
537
|
-
|
|
538
|
-
| Parameter | Type | Required | Description |
|
|
539
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
540
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
541
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
542
|
-
| `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. |
|
|
543
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
544
|
-
|
|
545
|
-
### Response
|
|
546
|
-
|
|
547
|
-
**Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
|
|
548
|
-
|
|
549
|
-
### Errors
|
|
550
|
-
|
|
551
|
-
| Error Type | Status Code | Content Type |
|
|
552
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
553
|
-
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
554
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
555
|
-
|
|
556
|
-
## accountV1GetDataPoints
|
|
557
|
-
|
|
558
|
-
### Example Usage
|
|
559
|
-
|
|
560
|
-
```typescript
|
|
561
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
562
|
-
|
|
563
|
-
const steamSets = new SteamSets({
|
|
564
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
565
|
-
});
|
|
566
|
-
|
|
567
|
-
async function run() {
|
|
568
|
-
const result = await steamSets.account.accountV1GetDataPoints({});
|
|
569
|
-
|
|
570
|
-
// Handle the result
|
|
571
|
-
console.log(result);
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
run();
|
|
575
|
-
```
|
|
576
|
-
|
|
577
|
-
### Standalone function
|
|
578
|
-
|
|
579
|
-
The standalone function version of this method:
|
|
580
|
-
|
|
581
|
-
```typescript
|
|
582
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
583
|
-
import { accountAccountV1GetDataPoints } from "@steamsets/client-ts/funcs/accountAccountV1GetDataPoints.js";
|
|
584
|
-
|
|
585
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
586
|
-
// You can create one instance of it to use across an application.
|
|
587
|
-
const steamSets = new SteamSetsCore({
|
|
588
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
589
|
-
});
|
|
590
|
-
|
|
591
|
-
async function run() {
|
|
592
|
-
const res = await accountAccountV1GetDataPoints(steamSets, {});
|
|
593
|
-
|
|
594
|
-
if (!res.ok) {
|
|
595
|
-
throw res.error;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
const { value: result } = res;
|
|
599
|
-
|
|
600
|
-
// Handle the result
|
|
601
|
-
console.log(result);
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
run();
|
|
605
|
-
```
|
|
606
|
-
|
|
607
|
-
### Parameters
|
|
608
|
-
|
|
609
|
-
| Parameter | Type | Required | Description |
|
|
610
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
611
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
612
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
613
|
-
| `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. |
|
|
614
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
615
|
-
|
|
616
|
-
### Response
|
|
617
|
-
|
|
618
|
-
**Promise\<[operations.AccountV1GetDataPointsResponse](../../models/operations/accountv1getdatapointsresponse.md)\>**
|
|
619
|
-
|
|
620
|
-
### Errors
|
|
621
|
-
|
|
622
|
-
| Error Type | Status Code | Content Type |
|
|
623
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
624
|
-
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
625
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
626
|
-
|
|
627
|
-
## accountV1GetFriends
|
|
628
|
-
|
|
629
|
-
### Example Usage
|
|
630
|
-
|
|
631
|
-
```typescript
|
|
632
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
633
|
-
|
|
634
|
-
const steamSets = new SteamSets({
|
|
635
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
636
|
-
});
|
|
637
|
-
|
|
638
|
-
async function run() {
|
|
639
|
-
const result = await steamSets.account.accountV1GetFriends({});
|
|
640
|
-
|
|
641
|
-
// Handle the result
|
|
642
|
-
console.log(result);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
run();
|
|
646
|
-
```
|
|
647
|
-
|
|
648
|
-
### Standalone function
|
|
649
|
-
|
|
650
|
-
The standalone function version of this method:
|
|
651
|
-
|
|
652
|
-
```typescript
|
|
653
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
654
|
-
import { accountAccountV1GetFriends } from "@steamsets/client-ts/funcs/accountAccountV1GetFriends.js";
|
|
655
|
-
|
|
656
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
657
|
-
// You can create one instance of it to use across an application.
|
|
658
|
-
const steamSets = new SteamSetsCore({
|
|
659
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
660
|
-
});
|
|
661
|
-
|
|
662
|
-
async function run() {
|
|
663
|
-
const res = await accountAccountV1GetFriends(steamSets, {});
|
|
664
|
-
|
|
665
|
-
if (!res.ok) {
|
|
666
|
-
throw res.error;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
const { value: result } = res;
|
|
670
|
-
|
|
671
|
-
// Handle the result
|
|
672
|
-
console.log(result);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
run();
|
|
676
|
-
```
|
|
677
|
-
|
|
678
|
-
### Parameters
|
|
679
|
-
|
|
680
|
-
| Parameter | Type | Required | Description |
|
|
681
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
682
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
683
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
684
|
-
| `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. |
|
|
685
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
686
|
-
|
|
687
|
-
### Response
|
|
688
|
-
|
|
689
|
-
**Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
|
|
690
|
-
|
|
691
|
-
### Errors
|
|
692
|
-
|
|
693
|
-
| Error Type | Status Code | Content Type |
|
|
694
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
695
|
-
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
696
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
697
|
-
|
|
698
|
-
## accountV1GetInfo
|
|
699
|
-
|
|
700
|
-
### Example Usage
|
|
701
|
-
|
|
702
|
-
```typescript
|
|
703
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
704
|
-
|
|
705
|
-
const steamSets = new SteamSets({
|
|
706
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
707
|
-
});
|
|
708
|
-
|
|
709
|
-
async function run() {
|
|
710
|
-
const result = await steamSets.account.accountV1GetInfo({});
|
|
711
|
-
|
|
712
|
-
// Handle the result
|
|
713
|
-
console.log(result);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
run();
|
|
717
|
-
```
|
|
718
|
-
|
|
719
|
-
### Standalone function
|
|
720
|
-
|
|
721
|
-
The standalone function version of this method:
|
|
722
|
-
|
|
723
|
-
```typescript
|
|
724
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
725
|
-
import { accountAccountV1GetInfo } from "@steamsets/client-ts/funcs/accountAccountV1GetInfo.js";
|
|
726
|
-
|
|
727
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
728
|
-
// You can create one instance of it to use across an application.
|
|
729
|
-
const steamSets = new SteamSetsCore({
|
|
730
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
731
|
-
});
|
|
732
|
-
|
|
733
|
-
async function run() {
|
|
734
|
-
const res = await accountAccountV1GetInfo(steamSets, {});
|
|
735
|
-
|
|
736
|
-
if (!res.ok) {
|
|
737
|
-
throw res.error;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
const { value: result } = res;
|
|
741
|
-
|
|
742
|
-
// Handle the result
|
|
743
|
-
console.log(result);
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
run();
|
|
747
|
-
```
|
|
748
|
-
|
|
749
|
-
### Parameters
|
|
750
|
-
|
|
751
|
-
| Parameter | Type | Required | Description |
|
|
752
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
753
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
754
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
755
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
756
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
757
|
-
|
|
758
|
-
### Response
|
|
759
|
-
|
|
760
|
-
**Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
|
|
761
|
-
|
|
762
|
-
### Errors
|
|
763
|
-
|
|
764
|
-
| Error Type | Status Code | Content Type |
|
|
765
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
766
|
-
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
767
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
768
|
-
|
|
769
|
-
## accountV1GetLeaderboardHistory
|
|
770
|
-
|
|
771
|
-
### Example Usage
|
|
772
|
-
|
|
773
|
-
```typescript
|
|
774
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
775
|
-
|
|
776
|
-
const steamSets = new SteamSets({
|
|
777
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
778
|
-
});
|
|
779
|
-
|
|
780
|
-
async function run() {
|
|
781
|
-
const result = await steamSets.account.accountV1GetLeaderboardHistory({});
|
|
782
|
-
|
|
783
|
-
// Handle the result
|
|
784
|
-
console.log(result);
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
run();
|
|
788
|
-
```
|
|
789
|
-
|
|
790
|
-
### Standalone function
|
|
791
|
-
|
|
792
|
-
The standalone function version of this method:
|
|
793
|
-
|
|
794
|
-
```typescript
|
|
795
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
796
|
-
import { accountAccountV1GetLeaderboardHistory } from "@steamsets/client-ts/funcs/accountAccountV1GetLeaderboardHistory.js";
|
|
797
|
-
|
|
798
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
799
|
-
// You can create one instance of it to use across an application.
|
|
800
|
-
const steamSets = new SteamSetsCore({
|
|
801
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
802
|
-
});
|
|
803
|
-
|
|
804
|
-
async function run() {
|
|
805
|
-
const res = await accountAccountV1GetLeaderboardHistory(steamSets, {});
|
|
806
|
-
|
|
807
|
-
if (!res.ok) {
|
|
808
|
-
throw res.error;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
const { value: result } = res;
|
|
812
|
-
|
|
813
|
-
// Handle the result
|
|
814
|
-
console.log(result);
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
run();
|
|
818
|
-
```
|
|
819
|
-
|
|
820
|
-
### Parameters
|
|
821
|
-
|
|
822
|
-
| Parameter | Type | Required | Description |
|
|
823
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
824
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
825
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
826
|
-
| `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. |
|
|
827
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
828
|
-
|
|
829
|
-
### Response
|
|
830
|
-
|
|
831
|
-
**Promise\<[operations.AccountV1GetLeaderboardHistoryResponse](../../models/operations/accountv1getleaderboardhistoryresponse.md)\>**
|
|
832
|
-
|
|
833
|
-
### Errors
|
|
834
|
-
|
|
835
|
-
| Error Type | Status Code | Content Type |
|
|
836
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
837
|
-
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
838
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
839
|
-
|
|
840
|
-
## accountV1SessionGet
|
|
841
|
-
|
|
842
|
-
### Example Usage
|
|
843
|
-
|
|
844
|
-
```typescript
|
|
845
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
846
|
-
|
|
847
|
-
const steamSets = new SteamSets({
|
|
848
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
849
|
-
});
|
|
850
|
-
|
|
851
|
-
async function run() {
|
|
852
|
-
const result = await steamSets.account.accountV1SessionGet();
|
|
853
|
-
|
|
854
|
-
// Handle the result
|
|
855
|
-
console.log(result);
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
run();
|
|
859
|
-
```
|
|
860
|
-
|
|
861
|
-
### Standalone function
|
|
862
|
-
|
|
863
|
-
The standalone function version of this method:
|
|
864
|
-
|
|
865
|
-
```typescript
|
|
866
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
867
|
-
import { accountAccountV1SessionGet } from "@steamsets/client-ts/funcs/accountAccountV1SessionGet.js";
|
|
868
|
-
|
|
869
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
870
|
-
// You can create one instance of it to use across an application.
|
|
871
|
-
const steamSets = new SteamSetsCore({
|
|
872
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
873
|
-
});
|
|
874
|
-
|
|
875
|
-
async function run() {
|
|
876
|
-
const res = await accountAccountV1SessionGet(steamSets);
|
|
877
|
-
|
|
878
|
-
if (!res.ok) {
|
|
879
|
-
throw res.error;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
const { value: result } = res;
|
|
883
|
-
|
|
884
|
-
// Handle the result
|
|
885
|
-
console.log(result);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
run();
|
|
889
|
-
```
|
|
890
|
-
|
|
891
|
-
### Parameters
|
|
892
|
-
|
|
893
|
-
| Parameter | Type | Required | Description |
|
|
894
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
895
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
896
|
-
| `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. |
|
|
897
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
898
|
-
|
|
899
|
-
### Response
|
|
900
|
-
|
|
901
|
-
**Promise\<[operations.AccountV1SessionGetResponse](../../models/operations/accountv1sessiongetresponse.md)\>**
|
|
902
|
-
|
|
903
|
-
### Errors
|
|
904
|
-
|
|
905
|
-
| Error Type | Status Code | Content Type |
|
|
906
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
907
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
908
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
909
|
-
|
|
910
|
-
## accountV1SettingsGet
|
|
911
|
-
|
|
912
|
-
### Example Usage
|
|
913
|
-
|
|
914
|
-
```typescript
|
|
915
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
916
|
-
|
|
917
|
-
const steamSets = new SteamSets({
|
|
918
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
919
|
-
});
|
|
920
|
-
|
|
921
|
-
async function run() {
|
|
922
|
-
const result = await steamSets.account.accountV1SettingsGet();
|
|
923
|
-
|
|
924
|
-
// Handle the result
|
|
925
|
-
console.log(result);
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
run();
|
|
929
|
-
```
|
|
930
|
-
|
|
931
|
-
### Standalone function
|
|
932
|
-
|
|
933
|
-
The standalone function version of this method:
|
|
934
|
-
|
|
935
|
-
```typescript
|
|
936
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
937
|
-
import { accountAccountV1SettingsGet } from "@steamsets/client-ts/funcs/accountAccountV1SettingsGet.js";
|
|
938
|
-
|
|
939
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
940
|
-
// You can create one instance of it to use across an application.
|
|
941
|
-
const steamSets = new SteamSetsCore({
|
|
942
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
943
|
-
});
|
|
944
|
-
|
|
945
|
-
async function run() {
|
|
946
|
-
const res = await accountAccountV1SettingsGet(steamSets);
|
|
947
|
-
|
|
948
|
-
if (!res.ok) {
|
|
949
|
-
throw res.error;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
const { value: result } = res;
|
|
953
|
-
|
|
954
|
-
// Handle the result
|
|
955
|
-
console.log(result);
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
run();
|
|
959
|
-
```
|
|
960
|
-
|
|
961
|
-
### Parameters
|
|
962
|
-
|
|
963
|
-
| Parameter | Type | Required | Description |
|
|
964
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
965
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
966
|
-
| `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. |
|
|
967
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
968
|
-
|
|
969
|
-
### Response
|
|
970
|
-
|
|
971
|
-
**Promise\<[operations.AccountV1SettingsGetResponse](../../models/operations/accountv1settingsgetresponse.md)\>**
|
|
972
|
-
|
|
973
|
-
### Errors
|
|
974
|
-
|
|
975
|
-
| Error Type | Status Code | Content Type |
|
|
976
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
977
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
978
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
979
|
-
|
|
980
|
-
## accountV1GetStaff
|
|
981
|
-
|
|
982
|
-
### Example Usage
|
|
983
|
-
|
|
984
|
-
```typescript
|
|
985
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
986
|
-
|
|
987
|
-
const steamSets = new SteamSets({
|
|
988
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
989
|
-
});
|
|
990
|
-
|
|
991
|
-
async function run() {
|
|
992
|
-
const result = await steamSets.account.accountV1GetStaff();
|
|
35
|
+
const result = await steamSets.account.deleteImages({
|
|
36
|
+
imageIds: [
|
|
37
|
+
"<value>",
|
|
38
|
+
],
|
|
39
|
+
});
|
|
993
40
|
|
|
994
41
|
// Handle the result
|
|
995
42
|
console.log(result);
|
|
@@ -1004,7 +51,7 @@ The standalone function version of this method:
|
|
|
1004
51
|
|
|
1005
52
|
```typescript
|
|
1006
53
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1007
|
-
import {
|
|
54
|
+
import { accountDeleteImages } from "@steamsets/client-ts/funcs/accountDeleteImages.js";
|
|
1008
55
|
|
|
1009
56
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1010
57
|
// You can create one instance of it to use across an application.
|
|
@@ -1013,7 +60,11 @@ const steamSets = new SteamSetsCore({
|
|
|
1013
60
|
});
|
|
1014
61
|
|
|
1015
62
|
async function run() {
|
|
1016
|
-
const res = await
|
|
63
|
+
const res = await accountDeleteImages(steamSets, {
|
|
64
|
+
imageIds: [
|
|
65
|
+
"<value>",
|
|
66
|
+
],
|
|
67
|
+
});
|
|
1017
68
|
|
|
1018
69
|
if (!res.ok) {
|
|
1019
70
|
throw res.error;
|
|
@@ -1032,22 +83,23 @@ run();
|
|
|
1032
83
|
|
|
1033
84
|
| Parameter | Type | Required | Description |
|
|
1034
85
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
86
|
+
| `request` | [components.V1DeleteImagesRequestBody](../../models/components/v1deleteimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1035
87
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1036
88
|
| `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. |
|
|
1037
89
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1038
90
|
|
|
1039
91
|
### Response
|
|
1040
92
|
|
|
1041
|
-
**Promise\<[operations.
|
|
93
|
+
**Promise\<[operations.AccountV1SettingsDeleteImagesResponse](../../models/operations/accountv1settingsdeleteimagesresponse.md)\>**
|
|
1042
94
|
|
|
1043
95
|
### Errors
|
|
1044
96
|
|
|
1045
97
|
| Error Type | Status Code | Content Type |
|
|
1046
98
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1047
|
-
| errors.ErrorModel | 404,
|
|
99
|
+
| errors.ErrorModel | 404, 422, 500 | application/problem+json |
|
|
1048
100
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1049
101
|
|
|
1050
|
-
##
|
|
102
|
+
## getApps
|
|
1051
103
|
|
|
1052
104
|
### Example Usage
|
|
1053
105
|
|
|
@@ -1059,20 +111,7 @@ const steamSets = new SteamSets({
|
|
|
1059
111
|
});
|
|
1060
112
|
|
|
1061
113
|
async function run() {
|
|
1062
|
-
const result = await steamSets.account.
|
|
1063
|
-
loginRequestBody: {
|
|
1064
|
-
openidAssocHandle: "123456",
|
|
1065
|
-
openidClaimedId: "76561198842603734",
|
|
1066
|
-
openidIdentity: "https://steamsets.com/api/v1/openid/login",
|
|
1067
|
-
openidMode: "checkid_setup",
|
|
1068
|
-
openidNs: "http://specs.openid.net/auth/2.0",
|
|
1069
|
-
openidOpEndpoint: "https://steamsets.com/api/v1/openid/login",
|
|
1070
|
-
openidResponseNonce: "123456",
|
|
1071
|
-
openidReturnTo: "https://steamsets.com/api/v1/openid/login",
|
|
1072
|
-
openidSig: "123456",
|
|
1073
|
-
openidSigned: "123456",
|
|
1074
|
-
},
|
|
1075
|
-
});
|
|
114
|
+
const result = await steamSets.account.getApps({});
|
|
1076
115
|
|
|
1077
116
|
// Handle the result
|
|
1078
117
|
console.log(result);
|
|
@@ -1087,7 +126,7 @@ The standalone function version of this method:
|
|
|
1087
126
|
|
|
1088
127
|
```typescript
|
|
1089
128
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1090
|
-
import {
|
|
129
|
+
import { accountGetApps } from "@steamsets/client-ts/funcs/accountGetApps.js";
|
|
1091
130
|
|
|
1092
131
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1093
132
|
// You can create one instance of it to use across an application.
|
|
@@ -1096,20 +135,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1096
135
|
});
|
|
1097
136
|
|
|
1098
137
|
async function run() {
|
|
1099
|
-
const res = await
|
|
1100
|
-
loginRequestBody: {
|
|
1101
|
-
openidAssocHandle: "123456",
|
|
1102
|
-
openidClaimedId: "76561198842603734",
|
|
1103
|
-
openidIdentity: "https://steamsets.com/api/v1/openid/login",
|
|
1104
|
-
openidMode: "checkid_setup",
|
|
1105
|
-
openidNs: "http://specs.openid.net/auth/2.0",
|
|
1106
|
-
openidOpEndpoint: "https://steamsets.com/api/v1/openid/login",
|
|
1107
|
-
openidResponseNonce: "123456",
|
|
1108
|
-
openidReturnTo: "https://steamsets.com/api/v1/openid/login",
|
|
1109
|
-
openidSig: "123456",
|
|
1110
|
-
openidSigned: "123456",
|
|
1111
|
-
},
|
|
1112
|
-
});
|
|
138
|
+
const res = await accountGetApps(steamSets, {});
|
|
1113
139
|
|
|
1114
140
|
if (!res.ok) {
|
|
1115
141
|
throw res.error;
|
|
@@ -1128,23 +154,23 @@ run();
|
|
|
1128
154
|
|
|
1129
155
|
| Parameter | Type | Required | Description |
|
|
1130
156
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1131
|
-
| `request` | [
|
|
157
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1132
158
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1133
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. |
|
|
1134
160
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1135
161
|
|
|
1136
162
|
### Response
|
|
1137
163
|
|
|
1138
|
-
**Promise\<[operations.
|
|
164
|
+
**Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
|
|
1139
165
|
|
|
1140
166
|
### Errors
|
|
1141
167
|
|
|
1142
168
|
| Error Type | Status Code | Content Type |
|
|
1143
169
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1144
|
-
| errors.ErrorModel | 400,
|
|
170
|
+
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
1145
171
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1146
172
|
|
|
1147
|
-
##
|
|
173
|
+
## getBadges
|
|
1148
174
|
|
|
1149
175
|
### Example Usage
|
|
1150
176
|
|
|
@@ -1156,10 +182,7 @@ const steamSets = new SteamSets({
|
|
|
1156
182
|
});
|
|
1157
183
|
|
|
1158
184
|
async function run() {
|
|
1159
|
-
const result = await steamSets.account.
|
|
1160
|
-
force: true,
|
|
1161
|
-
id: {},
|
|
1162
|
-
});
|
|
185
|
+
const result = await steamSets.account.getBadges({});
|
|
1163
186
|
|
|
1164
187
|
// Handle the result
|
|
1165
188
|
console.log(result);
|
|
@@ -1174,7 +197,7 @@ The standalone function version of this method:
|
|
|
1174
197
|
|
|
1175
198
|
```typescript
|
|
1176
199
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1177
|
-
import {
|
|
200
|
+
import { accountGetBadges } from "@steamsets/client-ts/funcs/accountGetBadges.js";
|
|
1178
201
|
|
|
1179
202
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1180
203
|
// You can create one instance of it to use across an application.
|
|
@@ -1183,10 +206,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1183
206
|
});
|
|
1184
207
|
|
|
1185
208
|
async function run() {
|
|
1186
|
-
const res = await
|
|
1187
|
-
force: true,
|
|
1188
|
-
id: {},
|
|
1189
|
-
});
|
|
209
|
+
const res = await accountGetBadges(steamSets, {});
|
|
1190
210
|
|
|
1191
211
|
if (!res.ok) {
|
|
1192
212
|
throw res.error;
|
|
@@ -1205,23 +225,23 @@ run();
|
|
|
1205
225
|
|
|
1206
226
|
| Parameter | Type | Required | Description |
|
|
1207
227
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1208
|
-
| `request` | [components.
|
|
228
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1209
229
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1210
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. |
|
|
1211
231
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1212
232
|
|
|
1213
233
|
### Response
|
|
1214
234
|
|
|
1215
|
-
**Promise\<[operations.
|
|
235
|
+
**Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
|
|
1216
236
|
|
|
1217
237
|
### Errors
|
|
1218
238
|
|
|
1219
239
|
| Error Type | Status Code | Content Type |
|
|
1220
240
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1221
|
-
| errors.ErrorModel | 400,
|
|
241
|
+
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
1222
242
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1223
243
|
|
|
1224
|
-
##
|
|
244
|
+
## getDataPoints
|
|
1225
245
|
|
|
1226
246
|
### Example Usage
|
|
1227
247
|
|
|
@@ -1233,7 +253,7 @@ const steamSets = new SteamSets({
|
|
|
1233
253
|
});
|
|
1234
254
|
|
|
1235
255
|
async function run() {
|
|
1236
|
-
const result = await steamSets.account.
|
|
256
|
+
const result = await steamSets.account.getDataPoints({});
|
|
1237
257
|
|
|
1238
258
|
// Handle the result
|
|
1239
259
|
console.log(result);
|
|
@@ -1248,7 +268,7 @@ The standalone function version of this method:
|
|
|
1248
268
|
|
|
1249
269
|
```typescript
|
|
1250
270
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1251
|
-
import {
|
|
271
|
+
import { accountGetDataPoints } from "@steamsets/client-ts/funcs/accountGetDataPoints.js";
|
|
1252
272
|
|
|
1253
273
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1254
274
|
// You can create one instance of it to use across an application.
|
|
@@ -1257,7 +277,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1257
277
|
});
|
|
1258
278
|
|
|
1259
279
|
async function run() {
|
|
1260
|
-
const res = await
|
|
280
|
+
const res = await accountGetDataPoints(steamSets, {});
|
|
1261
281
|
|
|
1262
282
|
if (!res.ok) {
|
|
1263
283
|
throw res.error;
|
|
@@ -1276,23 +296,23 @@ run();
|
|
|
1276
296
|
|
|
1277
297
|
| Parameter | Type | Required | Description |
|
|
1278
298
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1279
|
-
| `request` | [
|
|
299
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1280
300
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1281
301
|
| `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. |
|
|
1282
302
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1283
303
|
|
|
1284
304
|
### Response
|
|
1285
305
|
|
|
1286
|
-
**Promise\<[operations.
|
|
306
|
+
**Promise\<[operations.AccountV1GetDataPointsResponse](../../models/operations/accountv1getdatapointsresponse.md)\>**
|
|
1287
307
|
|
|
1288
308
|
### Errors
|
|
1289
309
|
|
|
1290
310
|
| Error Type | Status Code | Content Type |
|
|
1291
311
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1292
|
-
| errors.ErrorModel | 404, 422,
|
|
312
|
+
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
1293
313
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1294
314
|
|
|
1295
|
-
##
|
|
315
|
+
## getFriends
|
|
1296
316
|
|
|
1297
317
|
### Example Usage
|
|
1298
318
|
|
|
@@ -1304,10 +324,7 @@ const steamSets = new SteamSets({
|
|
|
1304
324
|
});
|
|
1305
325
|
|
|
1306
326
|
async function run() {
|
|
1307
|
-
const result = await steamSets.account.
|
|
1308
|
-
connectionId: "123456",
|
|
1309
|
-
hidden: true,
|
|
1310
|
-
});
|
|
327
|
+
const result = await steamSets.account.getFriends({});
|
|
1311
328
|
|
|
1312
329
|
// Handle the result
|
|
1313
330
|
console.log(result);
|
|
@@ -1322,7 +339,7 @@ The standalone function version of this method:
|
|
|
1322
339
|
|
|
1323
340
|
```typescript
|
|
1324
341
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1325
|
-
import {
|
|
342
|
+
import { accountGetFriends } from "@steamsets/client-ts/funcs/accountGetFriends.js";
|
|
1326
343
|
|
|
1327
344
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1328
345
|
// You can create one instance of it to use across an application.
|
|
@@ -1331,10 +348,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1331
348
|
});
|
|
1332
349
|
|
|
1333
350
|
async function run() {
|
|
1334
|
-
const res = await
|
|
1335
|
-
connectionId: "123456",
|
|
1336
|
-
hidden: true,
|
|
1337
|
-
});
|
|
351
|
+
const res = await accountGetFriends(steamSets, {});
|
|
1338
352
|
|
|
1339
353
|
if (!res.ok) {
|
|
1340
354
|
throw res.error;
|
|
@@ -1353,23 +367,23 @@ run();
|
|
|
1353
367
|
|
|
1354
368
|
| Parameter | Type | Required | Description |
|
|
1355
369
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1356
|
-
| `request` | [components.
|
|
370
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1357
371
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1358
372
|
| `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. |
|
|
1359
373
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1360
374
|
|
|
1361
375
|
### Response
|
|
1362
376
|
|
|
1363
|
-
**Promise\<[operations.
|
|
377
|
+
**Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
|
|
1364
378
|
|
|
1365
379
|
### Errors
|
|
1366
380
|
|
|
1367
381
|
| Error Type | Status Code | Content Type |
|
|
1368
382
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1369
|
-
| errors.ErrorModel | 400, 404, 422, 500
|
|
383
|
+
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
1370
384
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1371
385
|
|
|
1372
|
-
##
|
|
386
|
+
## getInfo
|
|
1373
387
|
|
|
1374
388
|
### Example Usage
|
|
1375
389
|
|
|
@@ -1381,10 +395,7 @@ const steamSets = new SteamSets({
|
|
|
1381
395
|
});
|
|
1382
396
|
|
|
1383
397
|
async function run() {
|
|
1384
|
-
const result = await steamSets.account.
|
|
1385
|
-
active: true,
|
|
1386
|
-
imageId: "123456",
|
|
1387
|
-
});
|
|
398
|
+
const result = await steamSets.account.getInfo({});
|
|
1388
399
|
|
|
1389
400
|
// Handle the result
|
|
1390
401
|
console.log(result);
|
|
@@ -1399,7 +410,7 @@ The standalone function version of this method:
|
|
|
1399
410
|
|
|
1400
411
|
```typescript
|
|
1401
412
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1402
|
-
import {
|
|
413
|
+
import { accountGetInfo } from "@steamsets/client-ts/funcs/accountGetInfo.js";
|
|
1403
414
|
|
|
1404
415
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1405
416
|
// You can create one instance of it to use across an application.
|
|
@@ -1408,10 +419,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1408
419
|
});
|
|
1409
420
|
|
|
1410
421
|
async function run() {
|
|
1411
|
-
const res = await
|
|
1412
|
-
active: true,
|
|
1413
|
-
imageId: "123456",
|
|
1414
|
-
});
|
|
422
|
+
const res = await accountGetInfo(steamSets, {});
|
|
1415
423
|
|
|
1416
424
|
if (!res.ok) {
|
|
1417
425
|
throw res.error;
|
|
@@ -1430,23 +438,23 @@ run();
|
|
|
1430
438
|
|
|
1431
439
|
| Parameter | Type | Required | Description |
|
|
1432
440
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1433
|
-
| `request` | [components.
|
|
441
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1434
442
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1435
443
|
| `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. |
|
|
1436
444
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1437
445
|
|
|
1438
446
|
### Response
|
|
1439
447
|
|
|
1440
|
-
**Promise\<[operations.
|
|
448
|
+
**Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
|
|
1441
449
|
|
|
1442
450
|
### Errors
|
|
1443
451
|
|
|
1444
452
|
| Error Type | Status Code | Content Type |
|
|
1445
453
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1446
|
-
| errors.ErrorModel | 404, 422, 500
|
|
454
|
+
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
1447
455
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1448
456
|
|
|
1449
|
-
##
|
|
457
|
+
## getLeaderboardHistory
|
|
1450
458
|
|
|
1451
459
|
### Example Usage
|
|
1452
460
|
|
|
@@ -1458,24 +466,7 @@ const steamSets = new SteamSets({
|
|
|
1458
466
|
});
|
|
1459
467
|
|
|
1460
468
|
async function run() {
|
|
1461
|
-
const result = await steamSets.account.
|
|
1462
|
-
v1UpdateSettingsRequestBody: {
|
|
1463
|
-
color: "#7652c9",
|
|
1464
|
-
colors: "#7652c9",
|
|
1465
|
-
email: "steamsets@example.com",
|
|
1466
|
-
emailNotifications: [
|
|
1467
|
-
{
|
|
1468
|
-
enabled: true,
|
|
1469
|
-
type: "login",
|
|
1470
|
-
},
|
|
1471
|
-
],
|
|
1472
|
-
hidden: true,
|
|
1473
|
-
language: "en",
|
|
1474
|
-
role: "emerald",
|
|
1475
|
-
theme: "dark",
|
|
1476
|
-
vanity: "flo",
|
|
1477
|
-
},
|
|
1478
|
-
});
|
|
469
|
+
const result = await steamSets.account.getLeaderboardHistory({});
|
|
1479
470
|
|
|
1480
471
|
// Handle the result
|
|
1481
472
|
console.log(result);
|
|
@@ -1490,7 +481,7 @@ The standalone function version of this method:
|
|
|
1490
481
|
|
|
1491
482
|
```typescript
|
|
1492
483
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1493
|
-
import {
|
|
484
|
+
import { accountGetLeaderboardHistory } from "@steamsets/client-ts/funcs/accountGetLeaderboardHistory.js";
|
|
1494
485
|
|
|
1495
486
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1496
487
|
// You can create one instance of it to use across an application.
|
|
@@ -1499,24 +490,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1499
490
|
});
|
|
1500
491
|
|
|
1501
492
|
async function run() {
|
|
1502
|
-
const res = await
|
|
1503
|
-
v1UpdateSettingsRequestBody: {
|
|
1504
|
-
color: "#7652c9",
|
|
1505
|
-
colors: "#7652c9",
|
|
1506
|
-
email: "steamsets@example.com",
|
|
1507
|
-
emailNotifications: [
|
|
1508
|
-
{
|
|
1509
|
-
enabled: true,
|
|
1510
|
-
type: "login",
|
|
1511
|
-
},
|
|
1512
|
-
],
|
|
1513
|
-
hidden: true,
|
|
1514
|
-
language: "en",
|
|
1515
|
-
role: "emerald",
|
|
1516
|
-
theme: "dark",
|
|
1517
|
-
vanity: "flo",
|
|
1518
|
-
},
|
|
1519
|
-
});
|
|
493
|
+
const res = await accountGetLeaderboardHistory(steamSets, {});
|
|
1520
494
|
|
|
1521
495
|
if (!res.ok) {
|
|
1522
496
|
throw res.error;
|
|
@@ -1535,23 +509,23 @@ run();
|
|
|
1535
509
|
|
|
1536
510
|
| Parameter | Type | Required | Description |
|
|
1537
511
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1538
|
-
| `request` | [
|
|
512
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1539
513
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1540
514
|
| `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. |
|
|
1541
515
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1542
516
|
|
|
1543
517
|
### Response
|
|
1544
518
|
|
|
1545
|
-
**Promise\<[operations.
|
|
519
|
+
**Promise\<[operations.AccountV1GetLeaderboardHistoryResponse](../../models/operations/accountv1getleaderboardhistoryresponse.md)\>**
|
|
1546
520
|
|
|
1547
521
|
### Errors
|
|
1548
522
|
|
|
1549
523
|
| Error Type | Status Code | Content Type |
|
|
1550
524
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1551
|
-
| errors.ErrorModel |
|
|
525
|
+
| errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
|
|
1552
526
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1553
527
|
|
|
1554
|
-
##
|
|
528
|
+
## getStaff
|
|
1555
529
|
|
|
1556
530
|
### Example Usage
|
|
1557
531
|
|
|
@@ -1563,14 +537,7 @@ const steamSets = new SteamSets({
|
|
|
1563
537
|
});
|
|
1564
538
|
|
|
1565
539
|
async function run() {
|
|
1566
|
-
const result = await steamSets.account.
|
|
1567
|
-
images: [
|
|
1568
|
-
{
|
|
1569
|
-
data: "base64_encoded_image",
|
|
1570
|
-
type: "avatar",
|
|
1571
|
-
},
|
|
1572
|
-
],
|
|
1573
|
-
});
|
|
540
|
+
const result = await steamSets.account.getStaff();
|
|
1574
541
|
|
|
1575
542
|
// Handle the result
|
|
1576
543
|
console.log(result);
|
|
@@ -1585,7 +552,7 @@ The standalone function version of this method:
|
|
|
1585
552
|
|
|
1586
553
|
```typescript
|
|
1587
554
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1588
|
-
import {
|
|
555
|
+
import { accountGetStaff } from "@steamsets/client-ts/funcs/accountGetStaff.js";
|
|
1589
556
|
|
|
1590
557
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1591
558
|
// You can create one instance of it to use across an application.
|
|
@@ -1594,14 +561,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1594
561
|
});
|
|
1595
562
|
|
|
1596
563
|
async function run() {
|
|
1597
|
-
const res = await
|
|
1598
|
-
images: [
|
|
1599
|
-
{
|
|
1600
|
-
data: "base64_encoded_image",
|
|
1601
|
-
type: "avatar",
|
|
1602
|
-
},
|
|
1603
|
-
],
|
|
1604
|
-
});
|
|
564
|
+
const res = await accountGetStaff(steamSets);
|
|
1605
565
|
|
|
1606
566
|
if (!res.ok) {
|
|
1607
567
|
throw res.error;
|
|
@@ -1620,23 +580,22 @@ run();
|
|
|
1620
580
|
|
|
1621
581
|
| Parameter | Type | Required | Description |
|
|
1622
582
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1623
|
-
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1624
583
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1625
584
|
| `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. |
|
|
1626
585
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1627
586
|
|
|
1628
587
|
### Response
|
|
1629
588
|
|
|
1630
|
-
**Promise\<[operations.
|
|
589
|
+
**Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
|
|
1631
590
|
|
|
1632
591
|
### Errors
|
|
1633
592
|
|
|
1634
593
|
| Error Type | Status Code | Content Type |
|
|
1635
594
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1636
|
-
| errors.ErrorModel |
|
|
595
|
+
| errors.ErrorModel | 404, 429, 500 | application/problem+json |
|
|
1637
596
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1638
597
|
|
|
1639
|
-
##
|
|
598
|
+
## sendEmailVerification
|
|
1640
599
|
|
|
1641
600
|
### Example Usage
|
|
1642
601
|
|
|
@@ -1648,9 +607,7 @@ const steamSets = new SteamSets({
|
|
|
1648
607
|
});
|
|
1649
608
|
|
|
1650
609
|
async function run() {
|
|
1651
|
-
const result = await steamSets.account.
|
|
1652
|
-
connectionId: "123456",
|
|
1653
|
-
});
|
|
610
|
+
const result = await steamSets.account.sendEmailVerification({});
|
|
1654
611
|
|
|
1655
612
|
// Handle the result
|
|
1656
613
|
console.log(result);
|
|
@@ -1665,7 +622,7 @@ The standalone function version of this method:
|
|
|
1665
622
|
|
|
1666
623
|
```typescript
|
|
1667
624
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1668
|
-
import {
|
|
625
|
+
import { accountSendEmailVerification } from "@steamsets/client-ts/funcs/accountSendEmailVerification.js";
|
|
1669
626
|
|
|
1670
627
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1671
628
|
// You can create one instance of it to use across an application.
|
|
@@ -1674,9 +631,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1674
631
|
});
|
|
1675
632
|
|
|
1676
633
|
async function run() {
|
|
1677
|
-
const res = await
|
|
1678
|
-
connectionId: "123456",
|
|
1679
|
-
});
|
|
634
|
+
const res = await accountSendEmailVerification(steamSets, {});
|
|
1680
635
|
|
|
1681
636
|
if (!res.ok) {
|
|
1682
637
|
throw res.error;
|
|
@@ -1695,23 +650,23 @@ run();
|
|
|
1695
650
|
|
|
1696
651
|
| Parameter | Type | Required | Description |
|
|
1697
652
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1698
|
-
| `request` | [
|
|
653
|
+
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1699
654
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1700
655
|
| `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. |
|
|
1701
656
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1702
657
|
|
|
1703
658
|
### Response
|
|
1704
659
|
|
|
1705
|
-
**Promise\<[operations.
|
|
660
|
+
**Promise\<[operations.AccountV1SettingsSendEmailVerificationResponse](../../models/operations/accountv1settingssendemailverificationresponse.md)\>**
|
|
1706
661
|
|
|
1707
662
|
### Errors
|
|
1708
663
|
|
|
1709
664
|
| Error Type | Status Code | Content Type |
|
|
1710
665
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1711
|
-
| errors.ErrorModel |
|
|
666
|
+
| errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
|
|
1712
667
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1713
668
|
|
|
1714
|
-
##
|
|
669
|
+
## updateImage
|
|
1715
670
|
|
|
1716
671
|
### Example Usage
|
|
1717
672
|
|
|
@@ -1723,8 +678,9 @@ const steamSets = new SteamSets({
|
|
|
1723
678
|
});
|
|
1724
679
|
|
|
1725
680
|
async function run() {
|
|
1726
|
-
const result = await steamSets.account.
|
|
1727
|
-
|
|
681
|
+
const result = await steamSets.account.updateImage({
|
|
682
|
+
active: true,
|
|
683
|
+
imageId: "123456",
|
|
1728
684
|
});
|
|
1729
685
|
|
|
1730
686
|
// Handle the result
|
|
@@ -1740,7 +696,7 @@ The standalone function version of this method:
|
|
|
1740
696
|
|
|
1741
697
|
```typescript
|
|
1742
698
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1743
|
-
import {
|
|
699
|
+
import { accountUpdateImage } from "@steamsets/client-ts/funcs/accountUpdateImage.js";
|
|
1744
700
|
|
|
1745
701
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1746
702
|
// You can create one instance of it to use across an application.
|
|
@@ -1749,8 +705,9 @@ const steamSets = new SteamSetsCore({
|
|
|
1749
705
|
});
|
|
1750
706
|
|
|
1751
707
|
async function run() {
|
|
1752
|
-
const res = await
|
|
1753
|
-
|
|
708
|
+
const res = await accountUpdateImage(steamSets, {
|
|
709
|
+
active: true,
|
|
710
|
+
imageId: "123456",
|
|
1754
711
|
});
|
|
1755
712
|
|
|
1756
713
|
if (!res.ok) {
|
|
@@ -1770,23 +727,23 @@ run();
|
|
|
1770
727
|
|
|
1771
728
|
| Parameter | Type | Required | Description |
|
|
1772
729
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1773
|
-
| `request` | [components.
|
|
730
|
+
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1774
731
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1775
732
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1776
733
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1777
734
|
|
|
1778
735
|
### Response
|
|
1779
736
|
|
|
1780
|
-
**Promise\<[operations.
|
|
737
|
+
**Promise\<[operations.AccountV1SettingsUpdateImageResponse](../../models/operations/accountv1settingsupdateimageresponse.md)\>**
|
|
1781
738
|
|
|
1782
739
|
### Errors
|
|
1783
740
|
|
|
1784
741
|
| Error Type | Status Code | Content Type |
|
|
1785
742
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1786
|
-
| errors.ErrorModel | 404, 422,
|
|
743
|
+
| errors.ErrorModel | 404, 422, 500 | application/problem+json |
|
|
1787
744
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1788
745
|
|
|
1789
|
-
##
|
|
746
|
+
## uploadImages
|
|
1790
747
|
|
|
1791
748
|
### Example Usage
|
|
1792
749
|
|
|
@@ -1798,26 +755,13 @@ const steamSets = new SteamSets({
|
|
|
1798
755
|
});
|
|
1799
756
|
|
|
1800
757
|
async function run() {
|
|
1801
|
-
const result = await steamSets.account.
|
|
1802
|
-
|
|
1803
|
-
appId: 730,
|
|
1804
|
-
},
|
|
1805
|
-
badge: {
|
|
1806
|
-
id: 4,
|
|
1807
|
-
isFoil: true,
|
|
1808
|
-
},
|
|
1809
|
-
end: 10,
|
|
1810
|
-
goToLeaderboardRank: 1,
|
|
1811
|
-
leaderboard: "xp",
|
|
1812
|
-
location: [
|
|
758
|
+
const result = await steamSets.account.uploadImages({
|
|
759
|
+
images: [
|
|
1813
760
|
{
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
region: "Europe",
|
|
1817
|
-
state: "Baden-Wurttemberg",
|
|
761
|
+
data: "base64_encoded_image",
|
|
762
|
+
type: "avatar",
|
|
1818
763
|
},
|
|
1819
764
|
],
|
|
1820
|
-
start: 1,
|
|
1821
765
|
});
|
|
1822
766
|
|
|
1823
767
|
// Handle the result
|
|
@@ -1833,7 +777,7 @@ The standalone function version of this method:
|
|
|
1833
777
|
|
|
1834
778
|
```typescript
|
|
1835
779
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1836
|
-
import {
|
|
780
|
+
import { accountUploadImages } from "@steamsets/client-ts/funcs/accountUploadImages.js";
|
|
1837
781
|
|
|
1838
782
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1839
783
|
// You can create one instance of it to use across an application.
|
|
@@ -1842,26 +786,13 @@ const steamSets = new SteamSetsCore({
|
|
|
1842
786
|
});
|
|
1843
787
|
|
|
1844
788
|
async function run() {
|
|
1845
|
-
const res = await
|
|
1846
|
-
|
|
1847
|
-
appId: 730,
|
|
1848
|
-
},
|
|
1849
|
-
badge: {
|
|
1850
|
-
id: 4,
|
|
1851
|
-
isFoil: true,
|
|
1852
|
-
},
|
|
1853
|
-
end: 10,
|
|
1854
|
-
goToLeaderboardRank: 1,
|
|
1855
|
-
leaderboard: "xp",
|
|
1856
|
-
location: [
|
|
789
|
+
const res = await accountUploadImages(steamSets, {
|
|
790
|
+
images: [
|
|
1857
791
|
{
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
region: "Europe",
|
|
1861
|
-
state: "Baden-Wurttemberg",
|
|
792
|
+
data: "base64_encoded_image",
|
|
793
|
+
type: "avatar",
|
|
1862
794
|
},
|
|
1863
795
|
],
|
|
1864
|
-
start: 1,
|
|
1865
796
|
});
|
|
1866
797
|
|
|
1867
798
|
if (!res.ok) {
|
|
@@ -1881,93 +812,23 @@ run();
|
|
|
1881
812
|
|
|
1882
813
|
| Parameter | Type | Required | Description |
|
|
1883
814
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1884
|
-
| `request` | [components.
|
|
1885
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1886
|
-
| `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. |
|
|
1887
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1888
|
-
|
|
1889
|
-
### Response
|
|
1890
|
-
|
|
1891
|
-
**Promise\<[operations.LeaderboardV1GetAccountResponse](../../models/operations/leaderboardv1getaccountresponse.md)\>**
|
|
1892
|
-
|
|
1893
|
-
### Errors
|
|
1894
|
-
|
|
1895
|
-
| Error Type | Status Code | Content Type |
|
|
1896
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1897
|
-
| errors.ErrorModel | 404, 422, 500 | application/problem+json |
|
|
1898
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1899
|
-
|
|
1900
|
-
## leaderboardV1GetBadges
|
|
1901
|
-
|
|
1902
|
-
### Example Usage
|
|
1903
|
-
|
|
1904
|
-
```typescript
|
|
1905
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1906
|
-
|
|
1907
|
-
const steamSets = new SteamSets({
|
|
1908
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1909
|
-
});
|
|
1910
|
-
|
|
1911
|
-
async function run() {
|
|
1912
|
-
const result = await steamSets.account.leaderboardV1GetBadges();
|
|
1913
|
-
|
|
1914
|
-
// Handle the result
|
|
1915
|
-
console.log(result);
|
|
1916
|
-
}
|
|
1917
|
-
|
|
1918
|
-
run();
|
|
1919
|
-
```
|
|
1920
|
-
|
|
1921
|
-
### Standalone function
|
|
1922
|
-
|
|
1923
|
-
The standalone function version of this method:
|
|
1924
|
-
|
|
1925
|
-
```typescript
|
|
1926
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1927
|
-
import { accountLeaderboardV1GetBadges } from "@steamsets/client-ts/funcs/accountLeaderboardV1GetBadges.js";
|
|
1928
|
-
|
|
1929
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1930
|
-
// You can create one instance of it to use across an application.
|
|
1931
|
-
const steamSets = new SteamSetsCore({
|
|
1932
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1933
|
-
});
|
|
1934
|
-
|
|
1935
|
-
async function run() {
|
|
1936
|
-
const res = await accountLeaderboardV1GetBadges(steamSets);
|
|
1937
|
-
|
|
1938
|
-
if (!res.ok) {
|
|
1939
|
-
throw res.error;
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
const { value: result } = res;
|
|
1943
|
-
|
|
1944
|
-
// Handle the result
|
|
1945
|
-
console.log(result);
|
|
1946
|
-
}
|
|
1947
|
-
|
|
1948
|
-
run();
|
|
1949
|
-
```
|
|
1950
|
-
|
|
1951
|
-
### Parameters
|
|
1952
|
-
|
|
1953
|
-
| Parameter | Type | Required | Description |
|
|
1954
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
815
|
+
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1955
816
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1956
817
|
| `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. |
|
|
1957
818
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1958
819
|
|
|
1959
820
|
### Response
|
|
1960
821
|
|
|
1961
|
-
**Promise\<[operations.
|
|
822
|
+
**Promise\<[operations.AccountV1SettingsUploadImagesResponse](../../models/operations/accountv1settingsuploadimagesresponse.md)\>**
|
|
1962
823
|
|
|
1963
824
|
### Errors
|
|
1964
825
|
|
|
1965
826
|
| Error Type | Status Code | Content Type |
|
|
1966
827
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1967
|
-
| errors.ErrorModel |
|
|
828
|
+
| errors.ErrorModel | 422, 500 | application/problem+json |
|
|
1968
829
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1969
830
|
|
|
1970
|
-
##
|
|
831
|
+
## verifyEmail
|
|
1971
832
|
|
|
1972
833
|
### Example Usage
|
|
1973
834
|
|
|
@@ -1979,11 +840,8 @@ const steamSets = new SteamSets({
|
|
|
1979
840
|
});
|
|
1980
841
|
|
|
1981
842
|
async function run() {
|
|
1982
|
-
const result = await steamSets.account.
|
|
1983
|
-
|
|
1984
|
-
goToLeaderboardRank: 1,
|
|
1985
|
-
leaderboard: "most_members",
|
|
1986
|
-
start: 1,
|
|
843
|
+
const result = await steamSets.account.verifyEmail({
|
|
844
|
+
code: "123456",
|
|
1987
845
|
});
|
|
1988
846
|
|
|
1989
847
|
// Handle the result
|
|
@@ -1999,7 +857,7 @@ The standalone function version of this method:
|
|
|
1999
857
|
|
|
2000
858
|
```typescript
|
|
2001
859
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
2002
|
-
import {
|
|
860
|
+
import { accountVerifyEmail } from "@steamsets/client-ts/funcs/accountVerifyEmail.js";
|
|
2003
861
|
|
|
2004
862
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
2005
863
|
// You can create one instance of it to use across an application.
|
|
@@ -2008,11 +866,8 @@ const steamSets = new SteamSetsCore({
|
|
|
2008
866
|
});
|
|
2009
867
|
|
|
2010
868
|
async function run() {
|
|
2011
|
-
const res = await
|
|
2012
|
-
|
|
2013
|
-
goToLeaderboardRank: 1,
|
|
2014
|
-
leaderboard: "most_members",
|
|
2015
|
-
start: 1,
|
|
869
|
+
const res = await accountVerifyEmail(steamSets, {
|
|
870
|
+
code: "123456",
|
|
2016
871
|
});
|
|
2017
872
|
|
|
2018
873
|
if (!res.ok) {
|
|
@@ -2032,18 +887,18 @@ run();
|
|
|
2032
887
|
|
|
2033
888
|
| Parameter | Type | Required | Description |
|
|
2034
889
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2035
|
-
| `request` | [components.
|
|
890
|
+
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2036
891
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2037
892
|
| `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. |
|
|
2038
893
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2039
894
|
|
|
2040
895
|
### Response
|
|
2041
896
|
|
|
2042
|
-
**Promise\<[operations.
|
|
897
|
+
**Promise\<[operations.AccountV1SettingsVerfyEmailResponse](../../models/operations/accountv1settingsverfyemailresponse.md)\>**
|
|
2043
898
|
|
|
2044
899
|
### Errors
|
|
2045
900
|
|
|
2046
901
|
| Error Type | Status Code | Content Type |
|
|
2047
902
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
2048
|
-
| errors.ErrorModel | 404, 422, 500
|
|
903
|
+
| errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
|
|
2049
904
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|