@steamsets/client-ts 0.19.5 → 0.22.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/README.md +99 -104
- package/docs/sdks/account/README.md +1509 -118
- 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/accountAccountV1SessionLogout.d.ts +11 -0
- package/funcs/accountAccountV1SessionLogout.d.ts.map +1 -0
- package/funcs/accountAccountV1SessionLogout.js +105 -0
- package/funcs/accountAccountV1SessionLogout.js.map +1 -0
- package/funcs/{settingsSubscribeEmail.d.ts → accountAccountV1SessionRefresh.d.ts} +2 -2
- package/funcs/accountAccountV1SessionRefresh.d.ts.map +1 -0
- package/funcs/accountAccountV1SessionRefresh.js +124 -0
- package/funcs/accountAccountV1SessionRefresh.js.map +1 -0
- 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/{sessionsGet.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/adminEventsGet.d.ts +11 -0
- 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 +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +2 -8
- package/lib/sdks.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1loginresponsebody.d.ts +15 -0
- package/models/components/v1loginresponsebody.d.ts.map +1 -1
- package/models/components/v1loginresponsebody.js +6 -0
- package/models/components/v1loginresponsebody.js.map +1 -1
- package/models/components/v1refreshsessionbody.d.ts +52 -0
- package/models/components/v1refreshsessionbody.d.ts.map +1 -0
- package/models/components/v1refreshsessionbody.js +76 -0
- package/models/components/v1refreshsessionbody.js.map +1 -0
- package/models/components/v1refreshsessionrequestbody.d.ts +32 -0
- package/models/components/v1refreshsessionrequestbody.d.ts.map +1 -0
- package/models/components/v1refreshsessionrequestbody.js +59 -0
- package/models/components/v1refreshsessionrequestbody.js.map +1 -0
- package/models/operations/accountv1sessionlogout.d.ts +30 -0
- package/models/operations/accountv1sessionlogout.d.ts.map +1 -0
- package/models/operations/accountv1sessionlogout.js +69 -0
- package/models/operations/accountv1sessionlogout.js.map +1 -0
- package/models/operations/accountv1sessionrefresh.d.ts +64 -0
- package/models/operations/accountv1sessionrefresh.d.ts.map +1 -0
- package/models/operations/accountv1sessionrefresh.js +118 -0
- package/models/operations/accountv1sessionrefresh.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +33 -3
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +97 -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/accountAccountV1SessionLogout.ts +158 -0
- package/src/funcs/accountAccountV1SessionRefresh.ts +190 -0
- 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 +3 -3
- package/src/lib/sdks.ts +2 -7
- package/src/models/components/index.ts +2 -0
- package/src/models/components/v1loginresponsebody.ts +25 -0
- package/src/models/components/v1refreshsessionbody.ts +110 -0
- package/src/models/components/v1refreshsessionrequestbody.ts +71 -0
- package/src/models/operations/accountv1sessionlogout.ts +78 -0
- package/src/models/operations/accountv1sessionrefresh.ts +171 -0
- package/src/models/operations/index.ts +2 -0
- package/src/sdk/account.ts +241 -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
|
@@ -8,8 +8,7 @@ Any requests that is somehow used for getting leaderboard data.
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
10
|
* [getAccount](#getaccount)
|
|
11
|
-
* [
|
|
12
|
-
* [getBadges](#getbadges)
|
|
11
|
+
* [getAccountMeta](#getaccountmeta)
|
|
13
12
|
* [getGroup](#getgroup)
|
|
14
13
|
|
|
15
14
|
## getAccount
|
|
@@ -136,7 +135,7 @@ run();
|
|
|
136
135
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
137
136
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
138
137
|
|
|
139
|
-
##
|
|
138
|
+
## getAccountMeta
|
|
140
139
|
|
|
141
140
|
### Example Usage
|
|
142
141
|
|
|
@@ -148,7 +147,7 @@ const steamSets = new SteamSets({
|
|
|
148
147
|
});
|
|
149
148
|
|
|
150
149
|
async function run() {
|
|
151
|
-
const result = await steamSets.leaderboard.
|
|
150
|
+
const result = await steamSets.leaderboard.getAccountMeta({
|
|
152
151
|
app: {
|
|
153
152
|
appId: 730,
|
|
154
153
|
},
|
|
@@ -192,7 +191,7 @@ The standalone function version of this method:
|
|
|
192
191
|
|
|
193
192
|
```typescript
|
|
194
193
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
195
|
-
import {
|
|
194
|
+
import { leaderboardGetAccountMeta } from "@steamsets/client-ts/funcs/leaderboardGetAccountMeta.js";
|
|
196
195
|
|
|
197
196
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
198
197
|
// You can create one instance of it to use across an application.
|
|
@@ -201,7 +200,7 @@ const steamSets = new SteamSetsCore({
|
|
|
201
200
|
});
|
|
202
201
|
|
|
203
202
|
async function run() {
|
|
204
|
-
const res = await
|
|
203
|
+
const res = await leaderboardGetAccountMeta(steamSets, {
|
|
205
204
|
app: {
|
|
206
205
|
appId: 730,
|
|
207
206
|
},
|
|
@@ -266,77 +265,6 @@ run();
|
|
|
266
265
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
267
266
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
268
267
|
|
|
269
|
-
## getBadges
|
|
270
|
-
|
|
271
|
-
### Example Usage
|
|
272
|
-
|
|
273
|
-
```typescript
|
|
274
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
275
|
-
|
|
276
|
-
const steamSets = new SteamSets({
|
|
277
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
278
|
-
});
|
|
279
|
-
|
|
280
|
-
async function run() {
|
|
281
|
-
const result = await steamSets.leaderboard.getBadges();
|
|
282
|
-
|
|
283
|
-
// Handle the result
|
|
284
|
-
console.log(result);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
run();
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
### Standalone function
|
|
291
|
-
|
|
292
|
-
The standalone function version of this method:
|
|
293
|
-
|
|
294
|
-
```typescript
|
|
295
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
296
|
-
import { leaderboardGetBadges } from "@steamsets/client-ts/funcs/leaderboardGetBadges.js";
|
|
297
|
-
|
|
298
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
299
|
-
// You can create one instance of it to use across an application.
|
|
300
|
-
const steamSets = new SteamSetsCore({
|
|
301
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
302
|
-
});
|
|
303
|
-
|
|
304
|
-
async function run() {
|
|
305
|
-
const res = await leaderboardGetBadges(steamSets);
|
|
306
|
-
|
|
307
|
-
if (!res.ok) {
|
|
308
|
-
throw res.error;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
const { value: result } = res;
|
|
312
|
-
|
|
313
|
-
// Handle the result
|
|
314
|
-
console.log(result);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
run();
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
### Parameters
|
|
321
|
-
|
|
322
|
-
| Parameter | Type | Required | Description |
|
|
323
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
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.LeaderboardV1GetBadgesResponse](../../models/operations/leaderboardv1getbadgesresponse.md)\>**
|
|
331
|
-
|
|
332
|
-
### Errors
|
|
333
|
-
|
|
334
|
-
| Error Type | Status Code | Content Type |
|
|
335
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
336
|
-
| errors.ErrorModel | 404 | application/problem+json |
|
|
337
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
338
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
339
|
-
|
|
340
268
|
## getGroup
|
|
341
269
|
|
|
342
270
|
### Example Usage
|
|
@@ -7,9 +7,9 @@ Are we still alive? I hope so :^)
|
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
|
-
* [
|
|
10
|
+
* [get](#get) - Liveness check
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## get
|
|
13
13
|
|
|
14
14
|
This endpoint checks if the service is alive.
|
|
15
15
|
|
|
@@ -23,7 +23,7 @@ const steamSets = new SteamSets({
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
async function run() {
|
|
26
|
-
const result = await steamSets.liveness.
|
|
26
|
+
const result = await steamSets.liveness.get();
|
|
27
27
|
|
|
28
28
|
// Handle the result
|
|
29
29
|
console.log(result);
|
|
@@ -38,7 +38,7 @@ The standalone function version of this method:
|
|
|
38
38
|
|
|
39
39
|
```typescript
|
|
40
40
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
41
|
-
import {
|
|
41
|
+
import { livenessGet } from "@steamsets/client-ts/funcs/livenessGet.js";
|
|
42
42
|
|
|
43
43
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
44
44
|
// You can create one instance of it to use across an application.
|
|
@@ -47,7 +47,7 @@ const steamSets = new SteamSetsCore({
|
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
async function run() {
|
|
50
|
-
const res = await
|
|
50
|
+
const res = await livenessGet(steamSets);
|
|
51
51
|
|
|
52
52
|
if (!res.ok) {
|
|
53
53
|
throw res.error;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
#
|
|
2
|
-
(*
|
|
1
|
+
# Location
|
|
2
|
+
(*location*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
|
+
Any location that gives location data.
|
|
7
|
+
|
|
6
8
|
### Available Operations
|
|
7
9
|
|
|
8
10
|
* [get](#get)
|
|
@@ -19,7 +21,7 @@ const steamSets = new SteamSets({
|
|
|
19
21
|
});
|
|
20
22
|
|
|
21
23
|
async function run() {
|
|
22
|
-
const result = await steamSets.
|
|
24
|
+
const result = await steamSets.location.get();
|
|
23
25
|
|
|
24
26
|
// Handle the result
|
|
25
27
|
console.log(result);
|
|
@@ -34,7 +36,7 @@ The standalone function version of this method:
|
|
|
34
36
|
|
|
35
37
|
```typescript
|
|
36
38
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
37
|
-
import {
|
|
39
|
+
import { locationGet } from "@steamsets/client-ts/funcs/locationGet.js";
|
|
38
40
|
|
|
39
41
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
40
42
|
// You can create one instance of it to use across an application.
|
|
@@ -43,7 +45,7 @@ const steamSets = new SteamSetsCore({
|
|
|
43
45
|
});
|
|
44
46
|
|
|
45
47
|
async function run() {
|
|
46
|
-
const res = await
|
|
48
|
+
const res = await locationGet(steamSets);
|
|
47
49
|
|
|
48
50
|
if (!res.ok) {
|
|
49
51
|
throw res.error;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
(*
|
|
1
|
+
# Roles
|
|
2
|
+
(*account.roles*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
-
* [
|
|
8
|
+
* [update](#update)
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## update
|
|
11
11
|
|
|
12
12
|
### Example Usage
|
|
13
13
|
|
|
@@ -19,9 +19,7 @@ const steamSets = new SteamSets({
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
async function run() {
|
|
22
|
-
const result = await steamSets.
|
|
23
|
-
force: true,
|
|
24
|
-
});
|
|
22
|
+
const result = await steamSets.account.roles.update({});
|
|
25
23
|
|
|
26
24
|
// Handle the result
|
|
27
25
|
console.log(result);
|
|
@@ -36,7 +34,7 @@ The standalone function version of this method:
|
|
|
36
34
|
|
|
37
35
|
```typescript
|
|
38
36
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
39
|
-
import {
|
|
37
|
+
import { accountRolesUpdate } from "@steamsets/client-ts/funcs/accountRolesUpdate.js";
|
|
40
38
|
|
|
41
39
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
42
40
|
// You can create one instance of it to use across an application.
|
|
@@ -45,9 +43,7 @@ const steamSets = new SteamSetsCore({
|
|
|
45
43
|
});
|
|
46
44
|
|
|
47
45
|
async function run() {
|
|
48
|
-
const res = await
|
|
49
|
-
force: true,
|
|
50
|
-
});
|
|
46
|
+
const res = await accountRolesUpdate(steamSets, {});
|
|
51
47
|
|
|
52
48
|
if (!res.ok) {
|
|
53
49
|
throw res.error;
|
|
@@ -66,19 +62,19 @@ run();
|
|
|
66
62
|
|
|
67
63
|
| Parameter | Type | Required | Description |
|
|
68
64
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
69
|
-
| `request` | [components.
|
|
65
|
+
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
70
66
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
71
67
|
| `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. |
|
|
72
68
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
73
69
|
|
|
74
70
|
### Response
|
|
75
71
|
|
|
76
|
-
**Promise\<[operations.
|
|
72
|
+
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
77
73
|
|
|
78
74
|
### Errors
|
|
79
75
|
|
|
80
76
|
| Error Type | Status Code | Content Type |
|
|
81
77
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
82
|
-
| errors.ErrorModel |
|
|
78
|
+
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
83
79
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
84
80
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# Session
|
|
2
|
-
(*session*)
|
|
2
|
+
(*account.session*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
-
* [
|
|
9
|
-
* [login](#login)
|
|
8
|
+
* [delete](#delete)
|
|
10
9
|
|
|
11
|
-
##
|
|
10
|
+
## delete
|
|
12
11
|
|
|
13
12
|
### Example Usage
|
|
14
13
|
|
|
@@ -20,91 +19,8 @@ const steamSets = new SteamSets({
|
|
|
20
19
|
});
|
|
21
20
|
|
|
22
21
|
async function run() {
|
|
23
|
-
const result = await steamSets.session.
|
|
24
|
-
|
|
25
|
-
// Handle the result
|
|
26
|
-
console.log(result);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
run();
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Standalone function
|
|
33
|
-
|
|
34
|
-
The standalone function version of this method:
|
|
35
|
-
|
|
36
|
-
```typescript
|
|
37
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
38
|
-
import { sessionCreate } from "@steamsets/client-ts/funcs/sessionCreate.js";
|
|
39
|
-
|
|
40
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
41
|
-
// You can create one instance of it to use across an application.
|
|
42
|
-
const steamSets = new SteamSetsCore({
|
|
43
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
async function run() {
|
|
47
|
-
const res = await sessionCreate(steamSets, {});
|
|
48
|
-
|
|
49
|
-
if (!res.ok) {
|
|
50
|
-
throw res.error;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
const { value: result } = res;
|
|
54
|
-
|
|
55
|
-
// Handle the result
|
|
56
|
-
console.log(result);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
run();
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Parameters
|
|
63
|
-
|
|
64
|
-
| Parameter | Type | Required | Description |
|
|
65
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
66
|
-
| `request` | [operations.AccountV1SessionCreateRequest](../../models/operations/accountv1sessioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
67
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
68
|
-
| `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. |
|
|
69
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
70
|
-
|
|
71
|
-
### Response
|
|
72
|
-
|
|
73
|
-
**Promise\<[operations.AccountV1SessionCreateResponse](../../models/operations/accountv1sessioncreateresponse.md)\>**
|
|
74
|
-
|
|
75
|
-
### Errors
|
|
76
|
-
|
|
77
|
-
| Error Type | Status Code | Content Type |
|
|
78
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
79
|
-
| errors.ErrorModel | 422 | application/problem+json |
|
|
80
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
81
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
82
|
-
|
|
83
|
-
## login
|
|
84
|
-
|
|
85
|
-
### Example Usage
|
|
86
|
-
|
|
87
|
-
```typescript
|
|
88
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
89
|
-
|
|
90
|
-
const steamSets = new SteamSets({
|
|
91
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
async function run() {
|
|
95
|
-
const result = await steamSets.session.login({
|
|
96
|
-
loginRequestBody: {
|
|
97
|
-
openidAssocHandle: "123456",
|
|
98
|
-
openidClaimedId: "76561198842603734",
|
|
99
|
-
openidIdentity: "https://steamsets.com/api/v1/openid/login",
|
|
100
|
-
openidMode: "checkid_setup",
|
|
101
|
-
openidNs: "http://specs.openid.net/auth/2.0",
|
|
102
|
-
openidOpEndpoint: "https://steamsets.com/api/v1/openid/login",
|
|
103
|
-
openidResponseNonce: "123456",
|
|
104
|
-
openidReturnTo: "https://example.com",
|
|
105
|
-
openidSig: "123456",
|
|
106
|
-
openidSigned: "123456",
|
|
107
|
-
},
|
|
22
|
+
const result = await steamSets.account.session.delete({
|
|
23
|
+
sessionId: "123456",
|
|
108
24
|
});
|
|
109
25
|
|
|
110
26
|
// Handle the result
|
|
@@ -120,7 +36,7 @@ The standalone function version of this method:
|
|
|
120
36
|
|
|
121
37
|
```typescript
|
|
122
38
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
123
|
-
import {
|
|
39
|
+
import { accountSessionDelete } from "@steamsets/client-ts/funcs/accountSessionDelete.js";
|
|
124
40
|
|
|
125
41
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
126
42
|
// You can create one instance of it to use across an application.
|
|
@@ -129,19 +45,8 @@ const steamSets = new SteamSetsCore({
|
|
|
129
45
|
});
|
|
130
46
|
|
|
131
47
|
async function run() {
|
|
132
|
-
const res = await
|
|
133
|
-
|
|
134
|
-
openidAssocHandle: "123456",
|
|
135
|
-
openidClaimedId: "76561198842603734",
|
|
136
|
-
openidIdentity: "https://steamsets.com/api/v1/openid/login",
|
|
137
|
-
openidMode: "checkid_setup",
|
|
138
|
-
openidNs: "http://specs.openid.net/auth/2.0",
|
|
139
|
-
openidOpEndpoint: "https://steamsets.com/api/v1/openid/login",
|
|
140
|
-
openidResponseNonce: "123456",
|
|
141
|
-
openidReturnTo: "https://example.com",
|
|
142
|
-
openidSig: "123456",
|
|
143
|
-
openidSigned: "123456",
|
|
144
|
-
},
|
|
48
|
+
const res = await accountSessionDelete(steamSets, {
|
|
49
|
+
sessionId: "123456",
|
|
145
50
|
});
|
|
146
51
|
|
|
147
52
|
if (!res.ok) {
|
|
@@ -161,19 +66,19 @@ run();
|
|
|
161
66
|
|
|
162
67
|
| Parameter | Type | Required | Description |
|
|
163
68
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
164
|
-
| `request` | [
|
|
69
|
+
| `request` | [components.V1DeleteSessionRequestBody](../../models/components/v1deletesessionrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
165
70
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
166
71
|
| `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. |
|
|
167
72
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
168
73
|
|
|
169
74
|
### Response
|
|
170
75
|
|
|
171
|
-
**Promise\<[operations.
|
|
76
|
+
**Promise\<[operations.AccountV1SessionDeleteResponse](../../models/operations/accountv1sessiondeleteresponse.md)\>**
|
|
172
77
|
|
|
173
78
|
### Errors
|
|
174
79
|
|
|
175
80
|
| Error Type | Status Code | Content Type |
|
|
176
81
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
177
|
-
| errors.ErrorModel |
|
|
82
|
+
| errors.ErrorModel | 404, 422 | application/problem+json |
|
|
178
83
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
179
84
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SteamSetsCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { APIPromise } from "../types/async.js";
|
|
9
|
+
import { Result } from "../types/fp.js";
|
|
10
|
+
export declare function accountAccountV1SessionLogout(client: SteamSetsCore, options?: RequestOptions): APIPromise<Result<operations.AccountV1SessionLogoutResponse, errors.ErrorModel | errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
11
|
+
//# sourceMappingURL=accountAccountV1SessionLogout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1SessionLogout.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionLogout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,8BAA8B,EACvC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAKA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.accountAccountV1SessionLogout = accountAccountV1SessionLogout;
|
|
30
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
31
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
32
|
+
const security_js_1 = require("../lib/security.js");
|
|
33
|
+
const url_js_1 = require("../lib/url.js");
|
|
34
|
+
const errors = __importStar(require("../models/errors/index.js"));
|
|
35
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
36
|
+
const async_js_1 = require("../types/async.js");
|
|
37
|
+
function accountAccountV1SessionLogout(client, options) {
|
|
38
|
+
return new async_js_1.APIPromise($do(client, options));
|
|
39
|
+
}
|
|
40
|
+
async function $do(client, options) {
|
|
41
|
+
const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/Logout")();
|
|
42
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
43
|
+
Accept: "application/problem+json",
|
|
44
|
+
}));
|
|
45
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
|
|
46
|
+
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
47
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
48
|
+
const context = {
|
|
49
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50
|
+
operationID: "account.v1.session.logout",
|
|
51
|
+
oAuth2Scopes: [],
|
|
52
|
+
resolvedSecurity: requestSecurity,
|
|
53
|
+
securitySource: client._options.token,
|
|
54
|
+
retryConfig: options?.retries
|
|
55
|
+
|| client._options.retryConfig
|
|
56
|
+
|| {
|
|
57
|
+
strategy: "backoff",
|
|
58
|
+
backoff: {
|
|
59
|
+
initialInterval: 500,
|
|
60
|
+
maxInterval: 5000,
|
|
61
|
+
exponent: 1.5,
|
|
62
|
+
maxElapsedTime: 60000,
|
|
63
|
+
},
|
|
64
|
+
retryConnectionErrors: true,
|
|
65
|
+
}
|
|
66
|
+
|| { strategy: "none" },
|
|
67
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
68
|
+
};
|
|
69
|
+
const requestRes = client._createRequest(context, {
|
|
70
|
+
security: requestSecurity,
|
|
71
|
+
method: "POST",
|
|
72
|
+
baseURL: options?.serverURL,
|
|
73
|
+
path: path,
|
|
74
|
+
headers: headers,
|
|
75
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
76
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
77
|
+
}, options);
|
|
78
|
+
if (!requestRes.ok) {
|
|
79
|
+
return [requestRes, { status: "invalid" }];
|
|
80
|
+
}
|
|
81
|
+
const req = requestRes.value;
|
|
82
|
+
const doResult = await client._do(req, {
|
|
83
|
+
context,
|
|
84
|
+
errorCodes: ["400", "429", "4XX", "500", "5XX"],
|
|
85
|
+
retryConfig: context.retryConfig,
|
|
86
|
+
retryCodes: context.retryCodes,
|
|
87
|
+
});
|
|
88
|
+
if (!doResult.ok) {
|
|
89
|
+
return [doResult, { status: "request-error", request: req }];
|
|
90
|
+
}
|
|
91
|
+
const response = doResult.value;
|
|
92
|
+
const responseFields = {
|
|
93
|
+
HttpMeta: { Response: response, Request: req },
|
|
94
|
+
};
|
|
95
|
+
const [result] = await M.match(M.nil(204, operations.AccountV1SessionLogoutResponse$inboundSchema), M.jsonErr([400, 429], errors.ErrorModel$inboundSchema, {
|
|
96
|
+
ctype: "application/problem+json",
|
|
97
|
+
}), M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
98
|
+
ctype: "application/problem+json",
|
|
99
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
100
|
+
if (!result.ok) {
|
|
101
|
+
return [result, { status: "complete", request: req, response }];
|
|
102
|
+
}
|
|
103
|
+
return [result, { status: "complete", request: req, response }];
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=accountAccountV1SessionLogout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1SessionLogout.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionLogout.ts"],"names":[],"mappings":"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"}
|
|
@@ -7,5 +7,5 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
7
7
|
import * as operations from "../models/operations/index.js";
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function
|
|
11
|
-
//# sourceMappingURL=
|
|
10
|
+
export declare function accountAccountV1SessionRefresh(client: SteamSetsCore, request: operations.AccountV1SessionRefreshRequest, options?: RequestOptions): APIPromise<Result<operations.AccountV1SessionRefreshResponse, errors.ErrorModel | errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
11
|
+
//# sourceMappingURL=accountAccountV1SessionRefresh.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1SessionRefresh.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionRefresh.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,+BAA+B,EACxC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
|