@steamsets/client-ts 0.19.5 → 0.22.2
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/FUNCTIONS.md +2 -2
- package/README.md +95 -104
- package/docs/sdks/account/README.md +1355 -117
- package/docs/sdks/admin/README.md +94 -5
- package/docs/sdks/app/README.md +5 -5
- package/docs/sdks/badge/README.md +226 -10
- package/docs/sdks/badges/README.md +8 -375
- package/docs/sdks/connection/README.md +4 -239
- package/docs/sdks/{sessions → developerapps}/README.md +28 -16
- package/docs/sdks/events/README.md +4 -93
- package/docs/sdks/leaderboard/README.md +5 -77
- package/docs/sdks/liveness/README.md +5 -5
- package/docs/sdks/{locations → location}/README.md +7 -5
- package/docs/sdks/{accounts → roles}/README.md +10 -14
- package/docs/sdks/session/README.md +11 -106
- package/funcs/{locationsGet.d.ts → accountBookmarkBadge.d.ts} +3 -2
- package/funcs/accountBookmarkBadge.d.ts.map +1 -0
- package/funcs/{badgesBookmark.js → accountBookmarkBadge.js} +3 -3
- package/funcs/accountBookmarkBadge.js.map +1 -0
- package/funcs/{eventsUpdate.d.ts → accountConnect.d.ts} +2 -2
- package/funcs/{badgesBookmark.d.ts.map → accountConnect.d.ts.map} +1 -1
- package/funcs/{connectionsConnect.js → accountConnect.js} +3 -3
- package/funcs/{sessionsDelete.js.map → accountConnect.js.map} +1 -1
- package/funcs/{accountUpdateApp.d.ts → accountConnectionUpdate.d.ts} +2 -2
- package/funcs/{badgeBadgeV1TagsSuggest.d.ts.map → accountConnectionUpdate.d.ts.map} +1 -1
- package/funcs/{connectionUpdate.js → accountConnectionUpdate.js} +3 -3
- package/funcs/{badgeBadgeV1TagsSuggest.js.map → accountConnectionUpdate.js.map} +1 -1
- package/funcs/{settingsVerifyEmail.d.ts → accountCreateSession.d.ts} +2 -3
- package/funcs/accountCreateSession.d.ts.map +1 -0
- package/funcs/{sessionCreate.js → accountCreateSession.js} +3 -3
- package/funcs/accountCreateSession.js.map +1 -0
- package/funcs/accountDeleteConnection.d.ts +12 -0
- package/funcs/{accountAccountV1GetMeta.d.ts.map → accountDeleteConnection.d.ts.map} +1 -1
- package/funcs/{connectionDelete.js → accountDeleteConnection.js} +3 -3
- package/funcs/{accountAccountV1GetMeta.js.map → accountDeleteConnection.js.map} +1 -1
- package/funcs/accountDeveloperAppsDelete.d.ts +12 -0
- package/funcs/accountDeveloperAppsDelete.d.ts.map +1 -0
- package/funcs/{accountDeleteDeveloperApp.js → accountDeveloperAppsDelete.js} +3 -3
- package/funcs/accountDeveloperAppsDelete.js.map +1 -0
- package/funcs/accountDeveloperAppsUpdate.d.ts +12 -0
- package/funcs/accountDeveloperAppsUpdate.d.ts.map +1 -0
- package/funcs/{accountUpdateApp.js → accountDeveloperAppsUpdate.js} +3 -3
- package/funcs/accountDeveloperAppsUpdate.js.map +1 -0
- package/funcs/accountEmailSendVerification.d.ts +11 -0
- package/funcs/accountEmailSendVerification.d.ts.map +1 -0
- package/funcs/{settingsSendVerification.js → accountEmailSendVerification.js} +3 -3
- package/funcs/accountEmailSendVerification.js.map +1 -0
- package/funcs/accountEmailSubscription.d.ts +11 -0
- package/funcs/{settingsSendVerification.d.ts.map → accountEmailSubscription.d.ts.map} +1 -1
- package/funcs/{settingsSubscribeEmail.js → accountEmailSubscription.js} +3 -3
- package/funcs/accountEmailSubscription.js.map +1 -0
- package/funcs/{badgeBadgeV1TagsSuggest.d.ts → accountEmailVerify.d.ts} +2 -2
- package/funcs/{appAppV1ListBadges.d.ts.map → accountEmailVerify.d.ts.map} +1 -1
- package/funcs/{settingsVerifyEmail.js → accountEmailVerify.js} +3 -3
- package/funcs/{appAppV1ListBadges.js.map → accountEmailVerify.js.map} +1 -1
- package/funcs/accountGetBadgeBookmarks.d.ts +11 -0
- package/funcs/accountGetBadgeBookmarks.d.ts.map +1 -0
- package/funcs/{badgesGetBookmarks.js → accountGetBadgeBookmarks.js} +3 -3
- package/funcs/accountGetBadgeBookmarks.js.map +1 -0
- package/funcs/{adminAdminV1RemoveVanity.d.ts → accountGetImages.d.ts} +2 -3
- package/funcs/accountGetImages.d.ts.map +1 -0
- package/funcs/{imagesGet.js → accountGetImages.js} +3 -3
- package/funcs/accountGetImages.js.map +1 -0
- package/funcs/{settingsSendVerification.d.ts → accountGetMeta.d.ts} +3 -2
- package/funcs/{sessionsDelete.d.ts.map → accountGetMeta.d.ts.map} +1 -1
- package/funcs/{accountAccountV1GetMeta.js → accountGetMeta.js} +3 -3
- package/funcs/{badgesBookmark.js.map → accountGetMeta.js.map} +1 -1
- package/funcs/{badgesGetBookmarks.d.ts → accountGetOwnedBadges.d.ts} +2 -2
- package/funcs/accountGetOwnedBadges.d.ts.map +1 -0
- package/funcs/{badgesGetOwned.js → accountGetOwnedBadges.js} +3 -3
- package/funcs/accountGetOwnedBadges.js.map +1 -0
- package/funcs/{appAppV1ListBadges.d.ts → accountGetSession.d.ts} +2 -3
- package/funcs/accountGetSession.d.ts.map +1 -0
- package/funcs/{sessionsGet.js → accountGetSession.js} +3 -3
- package/funcs/{livenessCheck.js.map → accountGetSession.js.map} +1 -1
- package/funcs/{settingsSubscribeEmail.d.ts → accountGetSettings.d.ts} +2 -2
- package/funcs/{badgesGetBookmarks.d.ts.map → accountGetSettings.d.ts.map} +1 -1
- package/funcs/{settingsGet.js → accountGetSettings.js} +3 -3
- package/funcs/accountGetSettings.js.map +1 -0
- package/funcs/{sessionLogin.d.ts → accountLogin.d.ts} +2 -2
- package/funcs/{sessionLogin.d.ts.map → accountLogin.d.ts.map} +1 -1
- package/funcs/{sessionLogin.js → accountLogin.js} +3 -3
- package/funcs/{sessionLogin.js.map → accountLogin.js.map} +1 -1
- package/funcs/{accountsQueue.d.ts → accountQueue.d.ts} +2 -2
- package/funcs/{eventsUpdate.d.ts.map → accountQueue.d.ts.map} +1 -1
- package/funcs/{accountsQueue.js → accountQueue.js} +3 -3
- package/funcs/{imagesUpdate.js.map → accountQueue.js.map} +1 -1
- package/funcs/accountReconnect.d.ts +12 -0
- package/funcs/{accountUpdateApp.d.ts.map → accountReconnect.d.ts.map} +1 -1
- package/funcs/{connectionReconnect.js → accountReconnect.js} +3 -3
- package/funcs/{connectionVerify.js.map → accountReconnect.js.map} +1 -1
- package/funcs/{settingsUpdateRole.d.ts → accountRolesUpdate.d.ts} +2 -2
- package/funcs/{settingsUpdateRole.d.ts.map → accountRolesUpdate.d.ts.map} +1 -1
- package/funcs/{settingsUpdateRole.js → accountRolesUpdate.js} +3 -3
- package/funcs/{settingsUpdateRole.js.map → accountRolesUpdate.js.map} +1 -1
- package/funcs/accountSessionDelete.d.ts +12 -0
- package/funcs/accountSessionDelete.d.ts.map +1 -0
- package/funcs/{sessionsDelete.js → accountSessionDelete.js} +3 -3
- package/funcs/accountSessionDelete.js.map +1 -0
- package/funcs/{sessionCreate.d.ts → accountUpdateImages.d.ts} +3 -2
- package/funcs/{settingsVerifyEmail.d.ts.map → accountUpdateImages.d.ts.map} +1 -1
- package/funcs/{imagesUpdate.js → accountUpdateImages.js} +3 -3
- package/funcs/{connectionReconnect.js.map → accountUpdateImages.js.map} +1 -1
- package/funcs/accountUpdateSettings.d.ts +11 -0
- package/funcs/accountUpdateSettings.d.ts.map +1 -0
- package/funcs/{settingsUpdate.js → accountUpdateSettings.js} +3 -3
- package/funcs/accountUpdateSettings.js.map +1 -0
- package/funcs/accountVerifyConnection.d.ts +12 -0
- package/funcs/accountVerifyConnection.d.ts.map +1 -0
- package/funcs/{connectionVerify.js → accountVerifyConnection.js} +3 -3
- package/funcs/accountVerifyConnection.js.map +1 -0
- package/funcs/{sessionsGet.d.ts → adminEventsGet.d.ts} +2 -2
- package/funcs/{badgesGetOwned.d.ts.map → adminEventsGet.d.ts.map} +1 -1
- package/funcs/{eventsGet.js → adminEventsGet.js} +3 -3
- package/funcs/{badgesGetOwned.js.map → adminEventsGet.js.map} +1 -1
- package/funcs/{imagesGet.d.ts → adminRemoveVanity.d.ts} +3 -2
- package/funcs/adminRemoveVanity.d.ts.map +1 -0
- package/funcs/{adminAdminV1RemoveVanity.js → adminRemoveVanity.js} +3 -3
- package/funcs/adminRemoveVanity.js.map +1 -0
- package/funcs/{accountAccountV1GetMeta.d.ts → adminUpdateEvent.d.ts} +2 -2
- package/funcs/{connectionDelete.d.ts.map → adminUpdateEvent.d.ts.map} +1 -1
- package/funcs/{eventsUpdate.js → adminUpdateEvent.js} +3 -3
- package/funcs/{connectionDelete.js.map → adminUpdateEvent.js.map} +1 -1
- package/funcs/{settingsGet.d.ts → appListBadges.d.ts} +3 -2
- package/funcs/{accountsQueue.d.ts.map → appListBadges.d.ts.map} +1 -1
- package/funcs/{appAppV1ListBadges.js → appListBadges.js} +3 -3
- package/funcs/{accountsQueue.js.map → appListBadges.js.map} +1 -1
- package/funcs/{badgesSearch.d.ts → badgeSearch.d.ts} +2 -2
- package/funcs/badgeSearch.d.ts.map +1 -0
- package/funcs/{badgesSearch.js → badgeSearch.js} +3 -3
- package/funcs/badgeSearch.js.map +1 -0
- package/funcs/{connectionsConnect.d.ts → badgeSuggest.d.ts} +2 -2
- package/funcs/{imagesUpdate.d.ts.map → badgeSuggest.d.ts.map} +1 -1
- package/funcs/{badgeBadgeV1SearchSuggest.js → badgeSuggest.js} +3 -3
- package/funcs/{badgesSearch.js.map → badgeSuggest.js.map} +1 -1
- package/funcs/badgeSuggestTags.d.ts +12 -0
- package/funcs/{connectionUpdate.d.ts.map → badgeSuggestTags.d.ts.map} +1 -1
- package/funcs/{badgeBadgeV1TagsSuggest.js → badgeSuggestTags.js} +3 -3
- package/funcs/{connectionUpdate.js.map → badgeSuggestTags.js.map} +1 -1
- package/funcs/{badgesTag.d.ts → badgeTag.d.ts} +2 -2
- package/funcs/badgeTag.d.ts.map +1 -0
- package/funcs/{badgesTag.js → badgeTag.js} +3 -3
- package/funcs/badgeTag.js.map +1 -0
- package/funcs/{badgesGetOwned.d.ts → leaderboardBadgesGetList.d.ts} +2 -2
- package/funcs/leaderboardBadgesGetList.d.ts.map +1 -0
- package/funcs/{leaderboardGetBadges.js → leaderboardBadgesGetList.js} +3 -3
- package/funcs/leaderboardBadgesGetList.js.map +1 -0
- package/funcs/{accountDeleteDeveloperApp.d.ts → leaderboardGetAccountMeta.d.ts} +2 -2
- package/funcs/{accountDeleteDeveloperApp.d.ts.map → leaderboardGetAccountMeta.d.ts.map} +1 -1
- package/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.js → leaderboardGetAccountMeta.js} +3 -3
- package/funcs/leaderboardGetAccountMeta.js.map +1 -0
- package/funcs/{livenessCheck.d.ts → livenessGet.d.ts} +2 -2
- package/funcs/livenessGet.d.ts.map +1 -0
- package/funcs/{livenessCheck.js → livenessGet.js} +3 -3
- package/funcs/livenessGet.js.map +1 -0
- package/funcs/{eventsGet.d.ts → locationGet.d.ts} +2 -2
- package/funcs/{sessionsGet.d.ts.map → locationGet.d.ts.map} +1 -1
- package/funcs/{locationsGet.js → locationGet.js} +3 -3
- package/funcs/locationGet.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/account.d.ts +31 -3
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +89 -9
- package/sdk/account.js.map +1 -1
- package/sdk/admin.d.ts +5 -1
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +11 -3
- package/sdk/admin.js.map +1 -1
- package/sdk/app.d.ts +1 -1
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +3 -3
- package/sdk/app.js.map +1 -1
- package/sdk/badge.d.ts +4 -2
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +14 -6
- package/sdk/badge.js.map +1 -1
- package/sdk/badges.d.ts +1 -6
- package/sdk/badges.d.ts.map +1 -1
- package/sdk/badges.js +3 -19
- package/sdk/badges.js.map +1 -1
- package/sdk/connection.d.ts +0 -3
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +2 -14
- package/sdk/connection.js.map +1 -1
- package/sdk/developerapps.d.ts +8 -0
- package/sdk/developerapps.d.ts.map +1 -0
- package/sdk/developerapps.js +20 -0
- package/sdk/developerapps.js.map +1 -0
- package/sdk/events.d.ts +0 -2
- package/sdk/events.d.ts.map +1 -1
- package/sdk/events.js +2 -6
- package/sdk/events.js.map +1 -1
- package/sdk/leaderboard.d.ts +4 -2
- package/sdk/leaderboard.d.ts.map +1 -1
- package/sdk/leaderboard.js +7 -7
- 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 → location.d.ts} +2 -2
- package/sdk/location.d.ts.map +1 -0
- package/sdk/location.js +16 -0
- package/sdk/location.js.map +1 -0
- package/sdk/roles.d.ts +7 -0
- package/sdk/roles.d.ts.map +1 -0
- package/sdk/roles.js +16 -0
- package/sdk/roles.js.map +1 -0
- package/sdk/sdk.d.ts +3 -30
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -39
- package/sdk/sdk.js.map +1 -1
- package/sdk/session.d.ts +2 -2
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +3 -7
- package/sdk/session.js.map +1 -1
- package/src/funcs/{badgesBookmark.ts → accountBookmarkBadge.ts} +1 -1
- package/src/funcs/{connectionsConnect.ts → accountConnect.ts} +1 -1
- package/src/funcs/{connectionUpdate.ts → accountConnectionUpdate.ts} +1 -1
- package/src/funcs/{sessionCreate.ts → accountCreateSession.ts} +1 -1
- package/src/funcs/{connectionDelete.ts → accountDeleteConnection.ts} +1 -1
- package/src/funcs/{accountDeleteDeveloperApp.ts → accountDeveloperAppsDelete.ts} +1 -1
- package/src/funcs/{accountUpdateApp.ts → accountDeveloperAppsUpdate.ts} +1 -1
- package/src/funcs/{settingsSendVerification.ts → accountEmailSendVerification.ts} +1 -1
- package/src/funcs/{settingsSubscribeEmail.ts → accountEmailSubscription.ts} +1 -1
- package/src/funcs/{settingsVerifyEmail.ts → accountEmailVerify.ts} +1 -1
- package/src/funcs/{badgesGetBookmarks.ts → accountGetBadgeBookmarks.ts} +1 -1
- package/src/funcs/{imagesGet.ts → accountGetImages.ts} +1 -1
- package/src/funcs/{accountAccountV1GetMeta.ts → accountGetMeta.ts} +1 -1
- package/src/funcs/{badgesGetOwned.ts → accountGetOwnedBadges.ts} +1 -1
- package/src/funcs/{sessionsGet.ts → accountGetSession.ts} +1 -1
- package/src/funcs/{settingsGet.ts → accountGetSettings.ts} +1 -1
- package/src/funcs/{sessionLogin.ts → accountLogin.ts} +1 -1
- package/src/funcs/{accountsQueue.ts → accountQueue.ts} +1 -1
- package/src/funcs/{connectionReconnect.ts → accountReconnect.ts} +1 -1
- package/src/funcs/{settingsUpdateRole.ts → accountRolesUpdate.ts} +1 -1
- package/src/funcs/{sessionsDelete.ts → accountSessionDelete.ts} +1 -1
- package/src/funcs/{imagesUpdate.ts → accountUpdateImages.ts} +1 -1
- package/src/funcs/{settingsUpdate.ts → accountUpdateSettings.ts} +1 -1
- package/src/funcs/{connectionVerify.ts → accountVerifyConnection.ts} +1 -1
- package/src/funcs/{eventsGet.ts → adminEventsGet.ts} +1 -1
- package/src/funcs/{adminAdminV1RemoveVanity.ts → adminRemoveVanity.ts} +1 -1
- package/src/funcs/{eventsUpdate.ts → adminUpdateEvent.ts} +1 -1
- package/src/funcs/{appAppV1ListBadges.ts → appListBadges.ts} +1 -1
- package/src/funcs/{badgesSearch.ts → badgeSearch.ts} +1 -1
- package/src/funcs/{badgeBadgeV1SearchSuggest.ts → badgeSuggest.ts} +1 -1
- package/src/funcs/{badgeBadgeV1TagsSuggest.ts → badgeSuggestTags.ts} +1 -1
- package/src/funcs/{badgesTag.ts → badgeTag.ts} +1 -1
- package/src/funcs/{leaderboardGetBadges.ts → leaderboardBadgesGetList.ts} +1 -1
- package/src/funcs/{leaderboardLeaderboardV1GetLeaderboardAccountMeta.ts → leaderboardGetAccountMeta.ts} +1 -1
- package/src/funcs/{livenessCheck.ts → livenessGet.ts} +1 -1
- package/src/funcs/{locationsGet.ts → locationGet.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/account.ts +219 -13
- package/src/sdk/admin.ts +21 -3
- package/src/sdk/app.ts +3 -3
- package/src/sdk/badge.ts +30 -6
- package/src/sdk/badges.ts +4 -51
- package/src/sdk/connection.ts +2 -38
- package/src/sdk/developerapps.ts +34 -0
- package/src/sdk/events.ts +2 -15
- package/src/sdk/leaderboard.ts +9 -13
- package/src/sdk/liveness.ts +3 -3
- package/src/sdk/{locations.ts → location.ts} +3 -3
- package/src/sdk/{connections.ts → roles.ts} +6 -6
- package/src/sdk/sdk.ts +4 -58
- package/src/sdk/session.ts +6 -17
- package/docs/sdks/connections/README.md +0 -86
- package/docs/sdks/images/README.md +0 -159
- package/docs/sdks/settings/README.md +0 -471
- package/funcs/accountDeleteDeveloperApp.js.map +0 -1
- package/funcs/accountUpdateApp.js.map +0 -1
- package/funcs/adminAdminV1RemoveVanity.d.ts.map +0 -1
- package/funcs/adminAdminV1RemoveVanity.js.map +0 -1
- package/funcs/badgeBadgeV1SearchSuggest.d.ts +0 -12
- package/funcs/badgeBadgeV1SearchSuggest.d.ts.map +0 -1
- package/funcs/badgeBadgeV1SearchSuggest.js.map +0 -1
- package/funcs/badgesBookmark.d.ts +0 -12
- package/funcs/badgesGetBookmarks.js.map +0 -1
- package/funcs/badgesSearch.d.ts.map +0 -1
- package/funcs/badgesTag.d.ts.map +0 -1
- package/funcs/badgesTag.js.map +0 -1
- package/funcs/connectionDelete.d.ts +0 -12
- package/funcs/connectionReconnect.d.ts +0 -12
- package/funcs/connectionReconnect.d.ts.map +0 -1
- package/funcs/connectionUpdate.d.ts +0 -12
- package/funcs/connectionVerify.d.ts +0 -12
- package/funcs/connectionVerify.d.ts.map +0 -1
- package/funcs/connectionsConnect.d.ts.map +0 -1
- package/funcs/connectionsConnect.js.map +0 -1
- package/funcs/eventsGet.d.ts.map +0 -1
- package/funcs/eventsGet.js.map +0 -1
- package/funcs/eventsUpdate.js.map +0 -1
- package/funcs/imagesGet.d.ts.map +0 -1
- package/funcs/imagesGet.js.map +0 -1
- package/funcs/imagesUpdate.d.ts +0 -12
- package/funcs/leaderboardGetBadges.d.ts +0 -11
- package/funcs/leaderboardGetBadges.d.ts.map +0 -1
- package/funcs/leaderboardGetBadges.js.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
- package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
- package/funcs/leaderboardLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
- package/funcs/livenessCheck.d.ts.map +0 -1
- package/funcs/locationsGet.d.ts.map +0 -1
- package/funcs/locationsGet.js.map +0 -1
- package/funcs/sessionCreate.d.ts.map +0 -1
- package/funcs/sessionCreate.js.map +0 -1
- package/funcs/sessionsDelete.d.ts +0 -12
- package/funcs/sessionsGet.js.map +0 -1
- package/funcs/settingsGet.d.ts.map +0 -1
- package/funcs/settingsGet.js.map +0 -1
- package/funcs/settingsSendVerification.js.map +0 -1
- package/funcs/settingsSubscribeEmail.d.ts.map +0 -1
- package/funcs/settingsSubscribeEmail.js.map +0 -1
- package/funcs/settingsUpdate.d.ts +0 -11
- package/funcs/settingsUpdate.d.ts.map +0 -1
- package/funcs/settingsUpdate.js.map +0 -1
- package/funcs/settingsVerifyEmail.js.map +0 -1
- package/sdk/accounts.d.ts +0 -7
- package/sdk/accounts.d.ts.map +0 -1
- package/sdk/accounts.js +0 -16
- package/sdk/accounts.js.map +0 -1
- package/sdk/connections.d.ts +0 -7
- package/sdk/connections.d.ts.map +0 -1
- package/sdk/connections.js +0 -16
- package/sdk/connections.js.map +0 -1
- package/sdk/images.d.ts +0 -8
- package/sdk/images.d.ts.map +0 -1
- package/sdk/images.js +0 -20
- package/sdk/images.js.map +0 -1
- package/sdk/locations.d.ts.map +0 -1
- package/sdk/locations.js +0 -16
- package/sdk/locations.js.map +0 -1
- package/sdk/sessions.d.ts +0 -8
- package/sdk/sessions.d.ts.map +0 -1
- package/sdk/sessions.js +0 -20
- package/sdk/sessions.js.map +0 -1
- package/sdk/settings.d.ts +0 -12
- package/sdk/settings.d.ts.map +0 -1
- package/sdk/settings.js +0 -36
- package/sdk/settings.js.map +0 -1
- package/src/sdk/accounts.ts +0 -22
- package/src/sdk/images.ts +0 -32
- package/src/sdk/sessions.ts +0 -32
- package/src/sdk/settings.ts +0 -80
|
@@ -1,170 +1,11 @@
|
|
|
1
1
|
# Connection
|
|
2
|
-
(*connection*)
|
|
2
|
+
(*account.connection*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
|
-
Operations related to oauth2/custom connections.
|
|
7
|
-
|
|
8
6
|
### Available Operations
|
|
9
7
|
|
|
10
|
-
* [delete](#delete)
|
|
11
|
-
* [reconnect](#reconnect)
|
|
12
8
|
* [update](#update)
|
|
13
|
-
* [verify](#verify)
|
|
14
|
-
|
|
15
|
-
## delete
|
|
16
|
-
|
|
17
|
-
### Example Usage
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
21
|
-
|
|
22
|
-
const steamSets = new SteamSets({
|
|
23
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
async function run() {
|
|
27
|
-
const result = await steamSets.connection.delete({
|
|
28
|
-
connectionId: "123456",
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
// Handle the result
|
|
32
|
-
console.log(result);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
run();
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Standalone function
|
|
39
|
-
|
|
40
|
-
The standalone function version of this method:
|
|
41
|
-
|
|
42
|
-
```typescript
|
|
43
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
44
|
-
import { connectionDelete } from "@steamsets/client-ts/funcs/connectionDelete.js";
|
|
45
|
-
|
|
46
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
47
|
-
// You can create one instance of it to use across an application.
|
|
48
|
-
const steamSets = new SteamSetsCore({
|
|
49
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
async function run() {
|
|
53
|
-
const res = await connectionDelete(steamSets, {
|
|
54
|
-
connectionId: "123456",
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
if (!res.ok) {
|
|
58
|
-
throw res.error;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const { value: result } = res;
|
|
62
|
-
|
|
63
|
-
// Handle the result
|
|
64
|
-
console.log(result);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
run();
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Parameters
|
|
71
|
-
|
|
72
|
-
| Parameter | Type | Required | Description |
|
|
73
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
74
|
-
| `request` | [components.V1DeleteConnectionRequestBody](../../models/components/v1deleteconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
75
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
76
|
-
| `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. |
|
|
77
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
78
|
-
|
|
79
|
-
### Response
|
|
80
|
-
|
|
81
|
-
**Promise\<[operations.AccountV1ConnectionDeleteConnectionResponse](../../models/operations/accountv1connectiondeleteconnectionresponse.md)\>**
|
|
82
|
-
|
|
83
|
-
### Errors
|
|
84
|
-
|
|
85
|
-
| Error Type | Status Code | Content Type |
|
|
86
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
87
|
-
| errors.ErrorModel | 400, 422 | application/problem+json |
|
|
88
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
89
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
90
|
-
|
|
91
|
-
## reconnect
|
|
92
|
-
|
|
93
|
-
### Example Usage
|
|
94
|
-
|
|
95
|
-
```typescript
|
|
96
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
97
|
-
|
|
98
|
-
const steamSets = new SteamSets({
|
|
99
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
async function run() {
|
|
103
|
-
const result = await steamSets.connection.reconnect({
|
|
104
|
-
code: "123456",
|
|
105
|
-
connectionId: "123456",
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
// Handle the result
|
|
109
|
-
console.log(result);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
run();
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### Standalone function
|
|
116
|
-
|
|
117
|
-
The standalone function version of this method:
|
|
118
|
-
|
|
119
|
-
```typescript
|
|
120
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
121
|
-
import { connectionReconnect } from "@steamsets/client-ts/funcs/connectionReconnect.js";
|
|
122
|
-
|
|
123
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
124
|
-
// You can create one instance of it to use across an application.
|
|
125
|
-
const steamSets = new SteamSetsCore({
|
|
126
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
async function run() {
|
|
130
|
-
const res = await connectionReconnect(steamSets, {
|
|
131
|
-
code: "123456",
|
|
132
|
-
connectionId: "123456",
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
if (!res.ok) {
|
|
136
|
-
throw res.error;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
const { value: result } = res;
|
|
140
|
-
|
|
141
|
-
// Handle the result
|
|
142
|
-
console.log(result);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
run();
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### Parameters
|
|
149
|
-
|
|
150
|
-
| Parameter | Type | Required | Description |
|
|
151
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
152
|
-
| `request` | [components.V1ReconnectRequestBody](../../models/components/v1reconnectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
153
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
154
|
-
| `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. |
|
|
155
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
156
|
-
|
|
157
|
-
### Response
|
|
158
|
-
|
|
159
|
-
**Promise\<[operations.AccountV1ConnectionReconnectResponse](../../models/operations/accountv1connectionreconnectresponse.md)\>**
|
|
160
|
-
|
|
161
|
-
### Errors
|
|
162
|
-
|
|
163
|
-
| Error Type | Status Code | Content Type |
|
|
164
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
165
|
-
| errors.ErrorModel | 400, 422 | application/problem+json |
|
|
166
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
167
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
168
9
|
|
|
169
10
|
## update
|
|
170
11
|
|
|
@@ -178,7 +19,7 @@ const steamSets = new SteamSets({
|
|
|
178
19
|
});
|
|
179
20
|
|
|
180
21
|
async function run() {
|
|
181
|
-
const result = await steamSets.connection.update({
|
|
22
|
+
const result = await steamSets.account.connection.update({
|
|
182
23
|
connectionId: "123456",
|
|
183
24
|
hidden: true,
|
|
184
25
|
});
|
|
@@ -196,7 +37,7 @@ The standalone function version of this method:
|
|
|
196
37
|
|
|
197
38
|
```typescript
|
|
198
39
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
199
|
-
import {
|
|
40
|
+
import { accountConnectionUpdate } from "@steamsets/client-ts/funcs/accountConnectionUpdate.js";
|
|
200
41
|
|
|
201
42
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
202
43
|
// You can create one instance of it to use across an application.
|
|
@@ -205,7 +46,7 @@ const steamSets = new SteamSetsCore({
|
|
|
205
46
|
});
|
|
206
47
|
|
|
207
48
|
async function run() {
|
|
208
|
-
const res = await
|
|
49
|
+
const res = await accountConnectionUpdate(steamSets, {
|
|
209
50
|
connectionId: "123456",
|
|
210
51
|
hidden: true,
|
|
211
52
|
});
|
|
@@ -242,80 +83,4 @@ run();
|
|
|
242
83
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
243
84
|
| errors.ErrorModel | 400, 404, 422 | application/problem+json |
|
|
244
85
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
245
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
246
|
-
|
|
247
|
-
## verify
|
|
248
|
-
|
|
249
|
-
### Example Usage
|
|
250
|
-
|
|
251
|
-
```typescript
|
|
252
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
253
|
-
|
|
254
|
-
const steamSets = new SteamSets({
|
|
255
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
256
|
-
});
|
|
257
|
-
|
|
258
|
-
async function run() {
|
|
259
|
-
const result = await steamSets.connection.verify({
|
|
260
|
-
connectionId: "123456",
|
|
261
|
-
});
|
|
262
|
-
|
|
263
|
-
// Handle the result
|
|
264
|
-
console.log(result);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
run();
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
### Standalone function
|
|
271
|
-
|
|
272
|
-
The standalone function version of this method:
|
|
273
|
-
|
|
274
|
-
```typescript
|
|
275
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
276
|
-
import { connectionVerify } from "@steamsets/client-ts/funcs/connectionVerify.js";
|
|
277
|
-
|
|
278
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
279
|
-
// You can create one instance of it to use across an application.
|
|
280
|
-
const steamSets = new SteamSetsCore({
|
|
281
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
282
|
-
});
|
|
283
|
-
|
|
284
|
-
async function run() {
|
|
285
|
-
const res = await connectionVerify(steamSets, {
|
|
286
|
-
connectionId: "123456",
|
|
287
|
-
});
|
|
288
|
-
|
|
289
|
-
if (!res.ok) {
|
|
290
|
-
throw res.error;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
const { value: result } = res;
|
|
294
|
-
|
|
295
|
-
// Handle the result
|
|
296
|
-
console.log(result);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
run();
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
### Parameters
|
|
303
|
-
|
|
304
|
-
| Parameter | Type | Required | Description |
|
|
305
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
306
|
-
| `request` | [components.V1VerifyConnectionRequestBody](../../models/components/v1verifyconnectionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
307
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
308
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
309
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
310
|
-
|
|
311
|
-
### Response
|
|
312
|
-
|
|
313
|
-
**Promise\<[operations.AccountV1ConnectionVerifyConnectionResponse](../../models/operations/accountv1connectionverifyconnectionresponse.md)\>**
|
|
314
|
-
|
|
315
|
-
### Errors
|
|
316
|
-
|
|
317
|
-
| Error Type | Status Code | Content Type |
|
|
318
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
319
|
-
| errors.ErrorModel | 400, 422 | application/problem+json |
|
|
320
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
321
86
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
#
|
|
2
|
-
(*
|
|
1
|
+
# DeveloperApps
|
|
2
|
+
(*account.developerApps*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
8
|
* [delete](#delete)
|
|
9
|
-
* [
|
|
9
|
+
* [update](#update)
|
|
10
10
|
|
|
11
11
|
## delete
|
|
12
12
|
|
|
@@ -20,8 +20,8 @@ const steamSets = new SteamSets({
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
async function run() {
|
|
23
|
-
const result = await steamSets.
|
|
24
|
-
|
|
23
|
+
const result = await steamSets.account.developerApps.delete({
|
|
24
|
+
developerAppId: "da_123456",
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
// Handle the result
|
|
@@ -37,7 +37,7 @@ The standalone function version of this method:
|
|
|
37
37
|
|
|
38
38
|
```typescript
|
|
39
39
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
40
|
-
import {
|
|
40
|
+
import { accountDeveloperAppsDelete } from "@steamsets/client-ts/funcs/accountDeveloperAppsDelete.js";
|
|
41
41
|
|
|
42
42
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
43
43
|
// You can create one instance of it to use across an application.
|
|
@@ -46,8 +46,8 @@ const steamSets = new SteamSetsCore({
|
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
async function run() {
|
|
49
|
-
const res = await
|
|
50
|
-
|
|
49
|
+
const res = await accountDeveloperAppsDelete(steamSets, {
|
|
50
|
+
developerAppId: "da_123456",
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
if (!res.ok) {
|
|
@@ -67,24 +67,24 @@ run();
|
|
|
67
67
|
|
|
68
68
|
| Parameter | Type | Required | Description |
|
|
69
69
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
70
|
-
| `request` | [components.
|
|
70
|
+
| `request` | [components.V1AccountDeveloperAppDeleteRequestBody](../../models/components/v1accountdeveloperappdeleterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
71
71
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
72
72
|
| `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. |
|
|
73
73
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
74
74
|
|
|
75
75
|
### Response
|
|
76
76
|
|
|
77
|
-
**Promise\<[operations.
|
|
77
|
+
**Promise\<[operations.AccountV1SettingsDeveloperAppDeleteResponse](../../models/operations/accountv1settingsdeveloperappdeleteresponse.md)\>**
|
|
78
78
|
|
|
79
79
|
### Errors
|
|
80
80
|
|
|
81
81
|
| Error Type | Status Code | Content Type |
|
|
82
82
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
83
|
-
| errors.ErrorModel | 404, 422
|
|
83
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
84
84
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
85
85
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
86
86
|
|
|
87
|
-
##
|
|
87
|
+
## update
|
|
88
88
|
|
|
89
89
|
### Example Usage
|
|
90
90
|
|
|
@@ -96,7 +96,12 @@ const steamSets = new SteamSets({
|
|
|
96
96
|
});
|
|
97
97
|
|
|
98
98
|
async function run() {
|
|
99
|
-
const result = await steamSets.
|
|
99
|
+
const result = await steamSets.account.developerApps.update({
|
|
100
|
+
description: "My App Description",
|
|
101
|
+
developerAppId: "da_123456",
|
|
102
|
+
name: "My App",
|
|
103
|
+
regenerate: true,
|
|
104
|
+
});
|
|
100
105
|
|
|
101
106
|
// Handle the result
|
|
102
107
|
console.log(result);
|
|
@@ -111,7 +116,7 @@ The standalone function version of this method:
|
|
|
111
116
|
|
|
112
117
|
```typescript
|
|
113
118
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
114
|
-
import {
|
|
119
|
+
import { accountDeveloperAppsUpdate } from "@steamsets/client-ts/funcs/accountDeveloperAppsUpdate.js";
|
|
115
120
|
|
|
116
121
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
117
122
|
// You can create one instance of it to use across an application.
|
|
@@ -120,7 +125,12 @@ const steamSets = new SteamSetsCore({
|
|
|
120
125
|
});
|
|
121
126
|
|
|
122
127
|
async function run() {
|
|
123
|
-
const res = await
|
|
128
|
+
const res = await accountDeveloperAppsUpdate(steamSets, {
|
|
129
|
+
description: "My App Description",
|
|
130
|
+
developerAppId: "da_123456",
|
|
131
|
+
name: "My App",
|
|
132
|
+
regenerate: true,
|
|
133
|
+
});
|
|
124
134
|
|
|
125
135
|
if (!res.ok) {
|
|
126
136
|
throw res.error;
|
|
@@ -139,17 +149,19 @@ run();
|
|
|
139
149
|
|
|
140
150
|
| Parameter | Type | Required | Description |
|
|
141
151
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
152
|
+
| `request` | [components.V1AccountDeveloperAppUpdateRequestBody](../../models/components/v1accountdeveloperappupdaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
142
153
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
143
154
|
| `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. |
|
|
144
155
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
145
156
|
|
|
146
157
|
### Response
|
|
147
158
|
|
|
148
|
-
**Promise\<[operations.
|
|
159
|
+
**Promise\<[operations.AccountV1SettingsDeveloperAppUpdateResponse](../../models/operations/accountv1settingsdeveloperappupdateresponse.md)\>**
|
|
149
160
|
|
|
150
161
|
### Errors
|
|
151
162
|
|
|
152
163
|
| Error Type | Status Code | Content Type |
|
|
153
164
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
165
|
+
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
154
166
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
155
167
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# Events
|
|
2
|
-
(*events*)
|
|
2
|
+
(*admin.events*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
8
|
* [get](#get)
|
|
9
|
-
* [update](#update)
|
|
10
9
|
|
|
11
10
|
## get
|
|
12
11
|
|
|
@@ -20,7 +19,7 @@ const steamSets = new SteamSets({
|
|
|
20
19
|
});
|
|
21
20
|
|
|
22
21
|
async function run() {
|
|
23
|
-
const result = await steamSets.events.get();
|
|
22
|
+
const result = await steamSets.admin.events.get();
|
|
24
23
|
|
|
25
24
|
// Handle the result
|
|
26
25
|
console.log(result);
|
|
@@ -35,7 +34,7 @@ The standalone function version of this method:
|
|
|
35
34
|
|
|
36
35
|
```typescript
|
|
37
36
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
38
|
-
import {
|
|
37
|
+
import { adminEventsGet } from "@steamsets/client-ts/funcs/adminEventsGet.js";
|
|
39
38
|
|
|
40
39
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
41
40
|
// You can create one instance of it to use across an application.
|
|
@@ -44,7 +43,7 @@ const steamSets = new SteamSetsCore({
|
|
|
44
43
|
});
|
|
45
44
|
|
|
46
45
|
async function run() {
|
|
47
|
-
const res = await
|
|
46
|
+
const res = await adminEventsGet(steamSets);
|
|
48
47
|
|
|
49
48
|
if (!res.ok) {
|
|
50
49
|
throw res.error;
|
|
@@ -77,92 +76,4 @@ run();
|
|
|
77
76
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
78
77
|
| errors.ErrorModel | 403, 404, 429 | application/problem+json |
|
|
79
78
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
80
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
81
|
-
|
|
82
|
-
## update
|
|
83
|
-
|
|
84
|
-
### Example Usage
|
|
85
|
-
|
|
86
|
-
```typescript
|
|
87
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
88
|
-
|
|
89
|
-
const steamSets = new SteamSets({
|
|
90
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
async function run() {
|
|
94
|
-
const result = await steamSets.events.update({
|
|
95
|
-
eventId: "evt_123456",
|
|
96
|
-
mappings: [
|
|
97
|
-
{
|
|
98
|
-
appId: 730,
|
|
99
|
-
steamId: 76561198842603730,
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
// Handle the result
|
|
105
|
-
console.log(result);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
run();
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Standalone function
|
|
112
|
-
|
|
113
|
-
The standalone function version of this method:
|
|
114
|
-
|
|
115
|
-
```typescript
|
|
116
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
117
|
-
import { eventsUpdate } from "@steamsets/client-ts/funcs/eventsUpdate.js";
|
|
118
|
-
|
|
119
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
120
|
-
// You can create one instance of it to use across an application.
|
|
121
|
-
const steamSets = new SteamSetsCore({
|
|
122
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
async function run() {
|
|
126
|
-
const res = await eventsUpdate(steamSets, {
|
|
127
|
-
eventId: "evt_123456",
|
|
128
|
-
mappings: [
|
|
129
|
-
{
|
|
130
|
-
appId: 730,
|
|
131
|
-
steamId: 76561198842603730,
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
if (!res.ok) {
|
|
137
|
-
throw res.error;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
const { value: result } = res;
|
|
141
|
-
|
|
142
|
-
// Handle the result
|
|
143
|
-
console.log(result);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
run();
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### Parameters
|
|
150
|
-
|
|
151
|
-
| Parameter | Type | Required | Description |
|
|
152
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
153
|
-
| `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
154
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
155
|
-
| `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. |
|
|
156
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
157
|
-
|
|
158
|
-
### Response
|
|
159
|
-
|
|
160
|
-
**Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
|
|
161
|
-
|
|
162
|
-
### Errors
|
|
163
|
-
|
|
164
|
-
| Error Type | Status Code | Content Type |
|
|
165
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
166
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
167
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
168
79
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|