@steamsets/client-ts 0.15.0 → 0.16.0
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 +4 -4
- package/README.md +55 -152
- package/docs/sdks/account/README.md +47 -904
- package/docs/sdks/admin/README.md +10 -171
- package/docs/sdks/badge/README.md +0 -302
- package/docs/sdks/badges/README.md +302 -0
- package/docs/sdks/connection/README.md +5 -5
- package/docs/sdks/{event → events}/README.md +12 -12
- package/docs/sdks/external/README.md +5 -5
- package/docs/sdks/images/README.md +10 -10
- package/docs/sdks/internal/README.md +30 -1206
- package/docs/sdks/settings/README.md +21 -21
- package/docs/sdks/stats/README.md +5 -5
- package/docs/sdks/steamsets/README.md +0 -78
- package/funcs/adminUpdateResources.d.ts +11 -0
- package/funcs/adminUpdateResources.d.ts.map +1 -0
- package/funcs/{adminAdminV1UpdateResources.js → adminUpdateResources.js} +3 -3
- package/funcs/adminUpdateResources.js.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSendVerification.d.ts → adminUpdateRoles.d.ts} +3 -2
- package/funcs/adminUpdateRoles.d.ts.map +1 -0
- package/funcs/{adminAdminV1UpdateRoles.js → adminUpdateRoles.js} +3 -3
- package/funcs/adminUpdateRoles.js.map +1 -0
- package/funcs/{eventAdminV1UpdateEvent.d.ts → badgesBookmark.d.ts} +2 -2
- package/funcs/badgesBookmark.d.ts.map +1 -0
- package/funcs/{badgeAccountV1BookmarkBadge.js → badgesBookmark.js} +3 -3
- package/funcs/badgesBookmark.js.map +1 -0
- package/funcs/{internalAccountV1ConnectionReconnect.d.ts → badgesGetBookmarks.d.ts} +2 -3
- package/funcs/badgesGetBookmarks.d.ts.map +1 -0
- package/funcs/{badgeAccountV1GetBadgeBookmarks.js → badgesGetBookmarks.js} +3 -3
- package/funcs/badgesGetBookmarks.js.map +1 -0
- package/funcs/{adminAdminV1GetEvents.d.ts → badgesGetOwned.d.ts} +2 -2
- package/funcs/badgesGetOwned.d.ts.map +1 -0
- package/funcs/{badgeAccountV1GetOwnedBadges.js → badgesGetOwned.js} +3 -3
- package/funcs/badgesGetOwned.js.map +1 -0
- package/funcs/{badgeBadgeV1Search.d.ts → badgesSearch.d.ts} +2 -2
- package/funcs/badgesSearch.d.ts.map +1 -0
- package/funcs/{badgeBadgeV1Search.js → badgesSearch.js} +3 -3
- package/funcs/badgesSearch.js.map +1 -0
- package/funcs/{adminAdminV1UpdateEvent.d.ts → connectionReconnect.d.ts} +2 -2
- package/funcs/connectionReconnect.d.ts.map +1 -0
- package/funcs/{accountAccountV1ConnectionReconnect.js → connectionReconnect.js} +3 -3
- package/funcs/connectionReconnect.js.map +1 -0
- package/funcs/{imagesAccountV1ImagesGet.d.ts → eventsGet.d.ts} +2 -2
- package/funcs/eventsGet.d.ts.map +1 -0
- package/funcs/{eventAdminV1GetEvents.js → eventsGet.js} +3 -3
- package/funcs/eventsGet.js.map +1 -0
- package/funcs/eventsUpdate.d.ts +11 -0
- package/funcs/eventsUpdate.d.ts.map +1 -0
- package/funcs/{eventAdminV1UpdateEvent.js → eventsUpdate.js} +3 -3
- package/funcs/eventsUpdate.js.map +1 -0
- package/funcs/{internalAccountV1ImagesGet.d.ts → externalGet.d.ts} +2 -2
- package/funcs/externalGet.d.ts.map +1 -0
- package/funcs/{statsStatsV1StatsGet.js → externalGet.js} +3 -3
- package/funcs/externalGet.js.map +1 -0
- package/funcs/{internalBadgeV1Search.d.ts → imagesGet.d.ts} +2 -3
- package/funcs/imagesGet.d.ts.map +1 -0
- package/funcs/{imagesAccountV1ImagesGet.js → imagesGet.js} +3 -3
- package/funcs/imagesGet.js.map +1 -0
- package/funcs/imagesUpdate.d.ts +11 -0
- package/funcs/imagesUpdate.d.ts.map +1 -0
- package/funcs/{imagesAccountV1ImagesUpdate.js → imagesUpdate.js} +3 -3
- package/funcs/imagesUpdate.js.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSubscribe.d.ts → settingsSendVerification.d.ts} +2 -2
- package/funcs/settingsSendVerification.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSendVerification.js → settingsSendVerification.js} +3 -3
- package/funcs/settingsSendVerification.js.map +1 -0
- package/funcs/{badgeAccountV1BookmarkBadge.d.ts → settingsSubscribeEmail.d.ts} +2 -3
- package/funcs/settingsSubscribeEmail.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSubscribe.js → settingsSubscribeEmail.js} +5 -5
- package/funcs/settingsSubscribeEmail.js.map +1 -0
- package/funcs/settingsUpdateRole.d.ts +11 -0
- package/funcs/{badgeBadgeV1Search.d.ts.map → settingsUpdateRole.d.ts.map} +1 -1
- package/funcs/{accountAccountV1SettingsUpdateRole.js → settingsUpdateRole.js} +3 -3
- package/funcs/{badgeBadgeV1Search.js.map → settingsUpdateRole.js.map} +1 -1
- package/funcs/{adminAdminV1UpdateRoles.d.ts → settingsVerifyEmail.d.ts} +2 -2
- package/funcs/settingsVerifyEmail.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailVerify.js → settingsVerifyEmail.js} +3 -3
- package/funcs/settingsVerifyEmail.js.map +1 -0
- package/funcs/{accountAccountV1ImagesGet.d.ts → statsGet.d.ts} +2 -2
- package/funcs/statsGet.d.ts.map +1 -0
- package/funcs/{externalStatsV1StatsGet.js → statsGet.js} +3 -3
- package/funcs/statsGet.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/connection.d.ts +3 -3
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/v1admingetaccountresponsebody.d.ts +13 -7
- package/models/components/v1admingetaccountresponsebody.d.ts.map +1 -1
- package/models/components/v1admingetaccountresponsebody.js +3 -0
- package/models/components/v1admingetaccountresponsebody.js.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.d.ts +3 -3
- package/models/components/v1emailsubscriptionrequestbody.d.ts.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.js +2 -2
- package/models/components/v1emailsubscriptionrequestbody.js.map +1 -1
- package/models/components/v1getsessionbody.d.ts +2 -2
- package/models/components/v1loginresponsebody.d.ts +2 -2
- package/models/components/v1updatesettingsrequestbody.d.ts +2 -2
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +2 -2
- package/models/components/v1updatesettingsrequestbody.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +0 -11
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +0 -44
- package/sdk/account.js.map +1 -1
- package/sdk/admin.d.ts +2 -4
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +6 -14
- package/sdk/admin.js.map +1 -1
- package/sdk/badge.d.ts +0 -5
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +0 -16
- package/sdk/badge.js.map +1 -1
- package/sdk/badges.d.ts +4 -0
- package/sdk/badges.d.ts.map +1 -1
- package/sdk/badges.js +16 -0
- package/sdk/badges.js.map +1 -1
- package/sdk/connection.d.ts +1 -1
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +3 -3
- package/sdk/connection.js.map +1 -1
- package/sdk/events.d.ts +8 -0
- package/sdk/events.d.ts.map +1 -0
- package/sdk/events.js +20 -0
- package/sdk/events.js.map +1 -0
- package/sdk/external.d.ts +1 -1
- package/sdk/external.d.ts.map +1 -1
- package/sdk/external.js +3 -3
- package/sdk/external.js.map +1 -1
- package/sdk/images.d.ts +2 -2
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +6 -6
- package/sdk/images.js.map +1 -1
- package/sdk/internal.d.ts +0 -15
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +0 -60
- package/sdk/internal.js.map +1 -1
- package/sdk/sdk.d.ts +10 -12
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +10 -15
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +4 -4
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +12 -12
- package/sdk/settings.js.map +1 -1
- package/sdk/stats.d.ts +1 -1
- package/sdk/stats.d.ts.map +1 -1
- package/sdk/stats.js +3 -3
- package/sdk/stats.js.map +1 -1
- package/src/funcs/{adminAdminV1UpdateResources.ts → adminUpdateResources.ts} +1 -1
- package/src/funcs/{adminAdminV1UpdateRoles.ts → adminUpdateRoles.ts} +1 -1
- package/src/funcs/{badgeAccountV1BookmarkBadge.ts → badgesBookmark.ts} +1 -1
- package/src/funcs/{badgeAccountV1GetBadgeBookmarks.ts → badgesGetBookmarks.ts} +1 -1
- package/src/funcs/{badgeAccountV1GetOwnedBadges.ts → badgesGetOwned.ts} +1 -1
- package/src/funcs/{badgeBadgeV1Search.ts → badgesSearch.ts} +1 -1
- package/src/funcs/{accountAccountV1ConnectionReconnect.ts → connectionReconnect.ts} +1 -1
- package/src/funcs/{adminAdminV1GetEvents.ts → eventsGet.ts} +1 -1
- package/src/funcs/{adminAdminV1UpdateEvent.ts → eventsUpdate.ts} +1 -1
- package/src/funcs/{statsStatsV1StatsGet.ts → externalGet.ts} +1 -1
- package/src/funcs/{imagesAccountV1ImagesGet.ts → imagesGet.ts} +1 -1
- package/src/funcs/{imagesAccountV1ImagesUpdate.ts → imagesUpdate.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsEmailSendVerification.ts → settingsSendVerification.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsEmailSubscribe.ts → settingsSubscribeEmail.ts} +3 -3
- package/src/funcs/{accountAccountV1SettingsUpdateRole.ts → settingsUpdateRole.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsEmailVerify.ts → settingsVerifyEmail.ts} +1 -1
- package/src/funcs/{externalStatsV1StatsGet.ts → statsGet.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/connection.ts +3 -3
- package/src/models/components/index.ts +0 -1
- package/src/models/components/v1admingetaccountresponsebody.ts +20 -7
- package/src/models/components/v1emailsubscriptionrequestbody.ts +5 -5
- package/src/models/components/v1getsessionbody.ts +2 -2
- package/src/models/components/v1loginresponsebody.ts +2 -2
- package/src/models/components/v1updatesettingsrequestbody.ts +4 -4
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/account.ts +0 -126
- package/src/sdk/admin.ts +6 -28
- package/src/sdk/badge.ts +0 -45
- package/src/sdk/badges.ts +44 -0
- package/src/sdk/connection.ts +3 -3
- package/src/sdk/{event.ts → events.ts} +7 -7
- package/src/sdk/external.ts +3 -3
- package/src/sdk/images.ts +6 -6
- package/src/sdk/internal.ts +0 -172
- package/src/sdk/sdk.ts +16 -30
- package/src/sdk/settings.ts +12 -12
- package/src/sdk/stats.ts +3 -3
- package/funcs/accountAccountV1ConnectionReconnect.d.ts +0 -11
- package/funcs/accountAccountV1ConnectionReconnect.d.ts.map +0 -1
- package/funcs/accountAccountV1ConnectionReconnect.js.map +0 -1
- package/funcs/accountAccountV1GetBadgeBookmarks.d.ts +0 -10
- package/funcs/accountAccountV1GetBadgeBookmarks.d.ts.map +0 -1
- package/funcs/accountAccountV1GetBadgeBookmarks.js +0 -102
- package/funcs/accountAccountV1GetBadgeBookmarks.js.map +0 -1
- package/funcs/accountAccountV1GetOwnedBadges.d.ts +0 -10
- package/funcs/accountAccountV1GetOwnedBadges.d.ts.map +0 -1
- package/funcs/accountAccountV1GetOwnedBadges.js +0 -102
- package/funcs/accountAccountV1GetOwnedBadges.js.map +0 -1
- package/funcs/accountAccountV1ImagesGet.d.ts.map +0 -1
- package/funcs/accountAccountV1ImagesGet.js +0 -100
- package/funcs/accountAccountV1ImagesGet.js.map +0 -1
- package/funcs/accountAccountV1ImagesUpdate.d.ts +0 -11
- package/funcs/accountAccountV1ImagesUpdate.d.ts.map +0 -1
- package/funcs/accountAccountV1ImagesUpdate.js +0 -113
- package/funcs/accountAccountV1ImagesUpdate.js.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSendVerification.js.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSubscribe.js.map +0 -1
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts +0 -11
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsEmailVerify.js.map +0 -1
- package/funcs/accountAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/accountAccountV1SettingsUpdateRole.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsUpdateRole.js.map +0 -1
- package/funcs/accountAdminV1UpdateResources.d.ts +0 -11
- package/funcs/accountAdminV1UpdateResources.d.ts.map +0 -1
- package/funcs/accountAdminV1UpdateResources.js +0 -111
- package/funcs/accountAdminV1UpdateResources.js.map +0 -1
- package/funcs/accountAdminV1UpdateRoles.d.ts +0 -11
- package/funcs/accountAdminV1UpdateRoles.d.ts.map +0 -1
- package/funcs/accountAdminV1UpdateRoles.js +0 -111
- package/funcs/accountAdminV1UpdateRoles.js.map +0 -1
- package/funcs/adminAdminV1GetEvents.d.ts.map +0 -1
- package/funcs/adminAdminV1GetEvents.js +0 -102
- package/funcs/adminAdminV1GetEvents.js.map +0 -1
- package/funcs/adminAdminV1UpdateEvent.d.ts.map +0 -1
- package/funcs/adminAdminV1UpdateEvent.js +0 -113
- package/funcs/adminAdminV1UpdateEvent.js.map +0 -1
- package/funcs/adminAdminV1UpdateResources.d.ts +0 -11
- package/funcs/adminAdminV1UpdateResources.d.ts.map +0 -1
- package/funcs/adminAdminV1UpdateResources.js.map +0 -1
- package/funcs/adminAdminV1UpdateRoles.d.ts.map +0 -1
- package/funcs/adminAdminV1UpdateRoles.js.map +0 -1
- package/funcs/badgeAccountV1BookmarkBadge.d.ts.map +0 -1
- package/funcs/badgeAccountV1BookmarkBadge.js.map +0 -1
- package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts +0 -10
- package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts.map +0 -1
- package/funcs/badgeAccountV1GetBadgeBookmarks.js.map +0 -1
- package/funcs/badgeAccountV1GetOwnedBadges.d.ts +0 -10
- package/funcs/badgeAccountV1GetOwnedBadges.d.ts.map +0 -1
- package/funcs/badgeAccountV1GetOwnedBadges.js.map +0 -1
- package/funcs/connectionAccountV1ConnectionReconnect.d.ts +0 -11
- package/funcs/connectionAccountV1ConnectionReconnect.d.ts.map +0 -1
- package/funcs/connectionAccountV1ConnectionReconnect.js +0 -113
- package/funcs/connectionAccountV1ConnectionReconnect.js.map +0 -1
- package/funcs/eventAdminV1GetEvents.d.ts +0 -10
- package/funcs/eventAdminV1GetEvents.d.ts.map +0 -1
- package/funcs/eventAdminV1GetEvents.js.map +0 -1
- package/funcs/eventAdminV1UpdateEvent.d.ts.map +0 -1
- package/funcs/eventAdminV1UpdateEvent.js.map +0 -1
- package/funcs/externalStatsV1StatsGet.d.ts +0 -10
- package/funcs/externalStatsV1StatsGet.d.ts.map +0 -1
- package/funcs/externalStatsV1StatsGet.js.map +0 -1
- package/funcs/imagesAccountV1ImagesGet.d.ts.map +0 -1
- package/funcs/imagesAccountV1ImagesGet.js.map +0 -1
- package/funcs/imagesAccountV1ImagesUpdate.d.ts +0 -11
- package/funcs/imagesAccountV1ImagesUpdate.d.ts.map +0 -1
- package/funcs/imagesAccountV1ImagesUpdate.js.map +0 -1
- package/funcs/internalAccountV1BookmarkBadge.d.ts +0 -11
- package/funcs/internalAccountV1BookmarkBadge.d.ts.map +0 -1
- package/funcs/internalAccountV1BookmarkBadge.js +0 -113
- package/funcs/internalAccountV1BookmarkBadge.js.map +0 -1
- package/funcs/internalAccountV1ConnectionReconnect.d.ts.map +0 -1
- package/funcs/internalAccountV1ConnectionReconnect.js +0 -113
- package/funcs/internalAccountV1ConnectionReconnect.js.map +0 -1
- package/funcs/internalAccountV1GetBadgeBookmarks.d.ts +0 -10
- package/funcs/internalAccountV1GetBadgeBookmarks.d.ts.map +0 -1
- package/funcs/internalAccountV1GetBadgeBookmarks.js +0 -102
- package/funcs/internalAccountV1GetBadgeBookmarks.js.map +0 -1
- package/funcs/internalAccountV1GetOwnedBadges.d.ts +0 -10
- package/funcs/internalAccountV1GetOwnedBadges.d.ts.map +0 -1
- package/funcs/internalAccountV1GetOwnedBadges.js +0 -102
- package/funcs/internalAccountV1GetOwnedBadges.js.map +0 -1
- package/funcs/internalAccountV1ImagesGet.d.ts.map +0 -1
- package/funcs/internalAccountV1ImagesGet.js +0 -100
- package/funcs/internalAccountV1ImagesGet.js.map +0 -1
- package/funcs/internalAccountV1ImagesUpdate.d.ts +0 -11
- package/funcs/internalAccountV1ImagesUpdate.d.ts.map +0 -1
- package/funcs/internalAccountV1ImagesUpdate.js +0 -113
- package/funcs/internalAccountV1ImagesUpdate.js.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts +0 -10
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSendVerification.js +0 -111
- package/funcs/internalAccountV1SettingsEmailSendVerification.js.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts +0 -10
- package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSubscribe.js +0 -113
- package/funcs/internalAccountV1SettingsEmailSubscribe.js.map +0 -1
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts +0 -11
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsEmailVerify.js +0 -113
- package/funcs/internalAccountV1SettingsEmailVerify.js.map +0 -1
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsUpdateRole.js +0 -113
- package/funcs/internalAccountV1SettingsUpdateRole.js.map +0 -1
- package/funcs/internalAdminV1GetEvents.d.ts +0 -10
- package/funcs/internalAdminV1GetEvents.d.ts.map +0 -1
- package/funcs/internalAdminV1GetEvents.js +0 -102
- package/funcs/internalAdminV1GetEvents.js.map +0 -1
- package/funcs/internalAdminV1UpdateEvent.d.ts +0 -11
- package/funcs/internalAdminV1UpdateEvent.d.ts.map +0 -1
- package/funcs/internalAdminV1UpdateEvent.js +0 -113
- package/funcs/internalAdminV1UpdateEvent.js.map +0 -1
- package/funcs/internalAdminV1UpdateResources.d.ts +0 -11
- package/funcs/internalAdminV1UpdateResources.d.ts.map +0 -1
- package/funcs/internalAdminV1UpdateResources.js +0 -111
- package/funcs/internalAdminV1UpdateResources.js.map +0 -1
- package/funcs/internalAdminV1UpdateRoles.d.ts +0 -11
- package/funcs/internalAdminV1UpdateRoles.d.ts.map +0 -1
- package/funcs/internalAdminV1UpdateRoles.js +0 -111
- package/funcs/internalAdminV1UpdateRoles.js.map +0 -1
- package/funcs/internalBadgeV1Search.d.ts.map +0 -1
- package/funcs/internalBadgeV1Search.js +0 -113
- package/funcs/internalBadgeV1Search.js.map +0 -1
- package/funcs/resendWebhook.d.ts +0 -9
- package/funcs/resendWebhook.d.ts.map +0 -1
- package/funcs/resendWebhook.js +0 -114
- package/funcs/resendWebhook.js.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts +0 -10
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSendVerification.js +0 -111
- package/funcs/settingsAccountV1SettingsEmailSendVerification.js.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts +0 -10
- package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js +0 -113
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailVerify.js +0 -113
- package/funcs/settingsAccountV1SettingsEmailVerify.js.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdateRole.js +0 -113
- package/funcs/settingsAccountV1SettingsUpdateRole.js.map +0 -1
- package/funcs/statsStatsV1StatsGet.d.ts +0 -10
- package/funcs/statsStatsV1StatsGet.d.ts.map +0 -1
- package/funcs/statsStatsV1StatsGet.js.map +0 -1
- package/models/components/errormodel.d.ts +0 -63
- package/models/components/errormodel.d.ts.map +0 -1
- package/models/components/errormodel.js +0 -81
- package/models/components/errormodel.js.map +0 -1
- package/models/operations/resendwebhook.d.ts +0 -66
- package/models/operations/resendwebhook.d.ts.map +0 -1
- package/models/operations/resendwebhook.js +0 -130
- package/models/operations/resendwebhook.js.map +0 -1
- package/sdk/event.d.ts +0 -8
- package/sdk/event.d.ts.map +0 -1
- package/sdk/event.js +0 -20
- package/sdk/event.js.map +0 -1
- package/src/funcs/accountAccountV1GetBadgeBookmarks.ts +0 -132
- package/src/funcs/accountAccountV1GetOwnedBadges.ts +0 -132
- package/src/funcs/accountAccountV1ImagesGet.ts +0 -127
- package/src/funcs/accountAccountV1ImagesUpdate.ts +0 -149
- package/src/funcs/accountAdminV1UpdateResources.ts +0 -148
- package/src/funcs/accountAdminV1UpdateRoles.ts +0 -148
- package/src/funcs/connectionAccountV1ConnectionReconnect.ts +0 -149
- package/src/funcs/eventAdminV1GetEvents.ts +0 -132
- package/src/funcs/eventAdminV1UpdateEvent.ts +0 -150
- package/src/funcs/internalAccountV1BookmarkBadge.ts +0 -150
- package/src/funcs/internalAccountV1ConnectionReconnect.ts +0 -149
- package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +0 -132
- package/src/funcs/internalAccountV1GetOwnedBadges.ts +0 -132
- package/src/funcs/internalAccountV1ImagesGet.ts +0 -127
- package/src/funcs/internalAccountV1ImagesUpdate.ts +0 -149
- package/src/funcs/internalAccountV1SettingsEmailSendVerification.ts +0 -156
- package/src/funcs/internalAccountV1SettingsEmailSubscribe.ts +0 -160
- package/src/funcs/internalAccountV1SettingsEmailVerify.ts +0 -149
- package/src/funcs/internalAccountV1SettingsUpdateRole.ts +0 -149
- package/src/funcs/internalAdminV1GetEvents.ts +0 -132
- package/src/funcs/internalAdminV1UpdateEvent.ts +0 -150
- package/src/funcs/internalAdminV1UpdateResources.ts +0 -148
- package/src/funcs/internalAdminV1UpdateRoles.ts +0 -148
- package/src/funcs/internalBadgeV1Search.ts +0 -149
- package/src/funcs/resendWebhook.ts +0 -153
- package/src/funcs/settingsAccountV1SettingsEmailSendVerification.ts +0 -156
- package/src/funcs/settingsAccountV1SettingsEmailSubscribe.ts +0 -160
- package/src/funcs/settingsAccountV1SettingsEmailVerify.ts +0 -149
- package/src/funcs/settingsAccountV1SettingsUpdateRole.ts +0 -149
- package/src/models/components/errormodel.ts +0 -122
- package/src/models/operations/resendwebhook.ts +0 -179
|
@@ -7,109 +7,16 @@ There requests are just document for documentations sake, they are not meant to
|
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
|
-
* [accountV1BookmarkBadge](#accountv1bookmarkbadge)
|
|
11
10
|
* [createDeveloperApp](#createdeveloperapp)
|
|
12
11
|
* [deleteDeveloperApp](#deletedeveloperapp)
|
|
13
12
|
* [deleteImages](#deleteimages)
|
|
14
13
|
* [updateApp](#updateapp)
|
|
15
|
-
* [accountV1SettingsEmailSendVerification](#accountv1settingsemailsendverification)
|
|
16
|
-
* [accountV1SettingsEmailSubscribe](#accountv1settingsemailsubscribe)
|
|
17
|
-
* [accountV1SettingsEmailVerify](#accountv1settingsemailverify)
|
|
18
|
-
* [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
|
|
19
|
-
* [accountV1ImagesGet](#accountv1imagesget)
|
|
20
|
-
* [accountV1GetOwnedBadges](#accountv1getownedbadges)
|
|
21
14
|
* [getStaff](#getstaff)
|
|
22
|
-
* [accountV1ConnectionReconnect](#accountv1connectionreconnect)
|
|
23
|
-
* [accountV1ImagesUpdate](#accountv1imagesupdate)
|
|
24
|
-
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
25
15
|
* [uploadImages](#uploadimages)
|
|
26
16
|
* [getAccount](#getaccount)
|
|
27
|
-
* [adminV1GetEvents](#adminv1getevents)
|
|
28
|
-
* [adminV1UpdateEvent](#adminv1updateevent)
|
|
29
|
-
* [adminV1UpdateResources](#adminv1updateresources)
|
|
30
|
-
* [adminV1UpdateRoles](#adminv1updateroles)
|
|
31
17
|
* [getTags](#gettags)
|
|
32
|
-
* [badgeV1Search](#badgev1search)
|
|
33
18
|
* [check](#check) - Liveness check
|
|
34
19
|
|
|
35
|
-
## accountV1BookmarkBadge
|
|
36
|
-
|
|
37
|
-
### Example Usage
|
|
38
|
-
|
|
39
|
-
```typescript
|
|
40
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
41
|
-
|
|
42
|
-
const steamSets = new SteamSets({
|
|
43
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
async function run() {
|
|
47
|
-
const result = await steamSets.internal.accountV1BookmarkBadge({
|
|
48
|
-
badgeId: "bdg_123",
|
|
49
|
-
bookmark: true,
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
// Handle the result
|
|
53
|
-
console.log(result);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
run();
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Standalone function
|
|
60
|
-
|
|
61
|
-
The standalone function version of this method:
|
|
62
|
-
|
|
63
|
-
```typescript
|
|
64
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
65
|
-
import { internalAccountV1BookmarkBadge } from "@steamsets/client-ts/funcs/internalAccountV1BookmarkBadge.js";
|
|
66
|
-
|
|
67
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
68
|
-
// You can create one instance of it to use across an application.
|
|
69
|
-
const steamSets = new SteamSetsCore({
|
|
70
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
async function run() {
|
|
74
|
-
const res = await internalAccountV1BookmarkBadge(steamSets, {
|
|
75
|
-
badgeId: "bdg_123",
|
|
76
|
-
bookmark: true,
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
if (!res.ok) {
|
|
80
|
-
throw res.error;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
const { value: result } = res;
|
|
84
|
-
|
|
85
|
-
// Handle the result
|
|
86
|
-
console.log(result);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
run();
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### Parameters
|
|
93
|
-
|
|
94
|
-
| Parameter | Type | Required | Description |
|
|
95
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
96
|
-
| `request` | [components.V1AccountBadgeBookmarkRequestBody](../../models/components/v1accountbadgebookmarkrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
97
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
98
|
-
| `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. |
|
|
99
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
100
|
-
|
|
101
|
-
### Response
|
|
102
|
-
|
|
103
|
-
**Promise\<[operations.AccountV1BookmarkBadgeResponse](../../models/operations/accountv1bookmarkbadgeresponse.md)\>**
|
|
104
|
-
|
|
105
|
-
### Errors
|
|
106
|
-
|
|
107
|
-
| Error Type | Status Code | Content Type |
|
|
108
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
109
|
-
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
110
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
111
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
112
|
-
|
|
113
20
|
## createDeveloperApp
|
|
114
21
|
|
|
115
22
|
### Example Usage
|
|
@@ -432,7 +339,7 @@ run();
|
|
|
432
339
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
433
340
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
434
341
|
|
|
435
|
-
##
|
|
342
|
+
## getStaff
|
|
436
343
|
|
|
437
344
|
### Example Usage
|
|
438
345
|
|
|
@@ -444,7 +351,7 @@ const steamSets = new SteamSets({
|
|
|
444
351
|
});
|
|
445
352
|
|
|
446
353
|
async function run() {
|
|
447
|
-
const result = await steamSets.internal.
|
|
354
|
+
const result = await steamSets.internal.getStaff();
|
|
448
355
|
|
|
449
356
|
// Handle the result
|
|
450
357
|
console.log(result);
|
|
@@ -459,7 +366,7 @@ The standalone function version of this method:
|
|
|
459
366
|
|
|
460
367
|
```typescript
|
|
461
368
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
462
|
-
import {
|
|
369
|
+
import { internalGetStaff } from "@steamsets/client-ts/funcs/internalGetStaff.js";
|
|
463
370
|
|
|
464
371
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
465
372
|
// You can create one instance of it to use across an application.
|
|
@@ -468,7 +375,7 @@ const steamSets = new SteamSetsCore({
|
|
|
468
375
|
});
|
|
469
376
|
|
|
470
377
|
async function run() {
|
|
471
|
-
const res = await
|
|
378
|
+
const res = await internalGetStaff(steamSets);
|
|
472
379
|
|
|
473
380
|
if (!res.ok) {
|
|
474
381
|
throw res.error;
|
|
@@ -487,24 +394,23 @@ run();
|
|
|
487
394
|
|
|
488
395
|
| Parameter | Type | Required | Description |
|
|
489
396
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
490
|
-
| `request` | [operations.AccountV1SettingsEmailSendVerificationRequest](../../models/operations/accountv1settingsemailsendverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
491
397
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
492
398
|
| `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. |
|
|
493
399
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
494
400
|
|
|
495
401
|
### Response
|
|
496
402
|
|
|
497
|
-
**Promise\<[operations.
|
|
403
|
+
**Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
|
|
498
404
|
|
|
499
405
|
### Errors
|
|
500
406
|
|
|
501
407
|
| Error Type | Status Code | Content Type |
|
|
502
408
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
503
|
-
| errors.ErrorModel | 404,
|
|
409
|
+
| errors.ErrorModel | 404, 429 | application/problem+json |
|
|
504
410
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
505
411
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
506
412
|
|
|
507
|
-
##
|
|
413
|
+
## uploadImages
|
|
508
414
|
|
|
509
415
|
### Example Usage
|
|
510
416
|
|
|
@@ -516,90 +422,10 @@ const steamSets = new SteamSets({
|
|
|
516
422
|
});
|
|
517
423
|
|
|
518
424
|
async function run() {
|
|
519
|
-
const result = await steamSets.internal.
|
|
520
|
-
|
|
521
|
-
email: "steamsets@example.com",
|
|
522
|
-
subscribed: true,
|
|
523
|
-
},
|
|
524
|
-
});
|
|
525
|
-
|
|
526
|
-
// Handle the result
|
|
527
|
-
console.log(result);
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
run();
|
|
531
|
-
```
|
|
532
|
-
|
|
533
|
-
### Standalone function
|
|
534
|
-
|
|
535
|
-
The standalone function version of this method:
|
|
536
|
-
|
|
537
|
-
```typescript
|
|
538
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
539
|
-
import { internalAccountV1SettingsEmailSubscribe } from "@steamsets/client-ts/funcs/internalAccountV1SettingsEmailSubscribe.js";
|
|
540
|
-
|
|
541
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
542
|
-
// You can create one instance of it to use across an application.
|
|
543
|
-
const steamSets = new SteamSetsCore({
|
|
544
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
545
|
-
});
|
|
546
|
-
|
|
547
|
-
async function run() {
|
|
548
|
-
const res = await internalAccountV1SettingsEmailSubscribe(steamSets, {
|
|
549
|
-
v1EmailSubscriptionRequestBody: {
|
|
550
|
-
email: "steamsets@example.com",
|
|
551
|
-
subscribed: true,
|
|
552
|
-
},
|
|
553
|
-
});
|
|
554
|
-
|
|
555
|
-
if (!res.ok) {
|
|
556
|
-
throw res.error;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
const { value: result } = res;
|
|
560
|
-
|
|
561
|
-
// Handle the result
|
|
562
|
-
console.log(result);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
run();
|
|
566
|
-
```
|
|
567
|
-
|
|
568
|
-
### Parameters
|
|
569
|
-
|
|
570
|
-
| Parameter | Type | Required | Description |
|
|
571
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
572
|
-
| `request` | [operations.AccountV1SettingsEmailSubscribeRequest](../../models/operations/accountv1settingsemailsubscriberequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
573
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
574
|
-
| `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. |
|
|
575
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
576
|
-
|
|
577
|
-
### Response
|
|
578
|
-
|
|
579
|
-
**Promise\<[operations.AccountV1SettingsEmailSubscribeResponse](../../models/operations/accountv1settingsemailsubscriberesponse.md)\>**
|
|
580
|
-
|
|
581
|
-
### Errors
|
|
582
|
-
|
|
583
|
-
| Error Type | Status Code | Content Type |
|
|
584
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
585
|
-
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
586
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
587
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
588
|
-
|
|
589
|
-
## accountV1SettingsEmailVerify
|
|
590
|
-
|
|
591
|
-
### Example Usage
|
|
592
|
-
|
|
593
|
-
```typescript
|
|
594
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
595
|
-
|
|
596
|
-
const steamSets = new SteamSets({
|
|
597
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
598
|
-
});
|
|
425
|
+
const result = await steamSets.internal.uploadImages({
|
|
426
|
+
images: [
|
|
599
427
|
|
|
600
|
-
|
|
601
|
-
const result = await steamSets.internal.accountV1SettingsEmailVerify({
|
|
602
|
-
code: "123456",
|
|
428
|
+
],
|
|
603
429
|
});
|
|
604
430
|
|
|
605
431
|
// Handle the result
|
|
@@ -615,7 +441,7 @@ The standalone function version of this method:
|
|
|
615
441
|
|
|
616
442
|
```typescript
|
|
617
443
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
618
|
-
import {
|
|
444
|
+
import { internalUploadImages } from "@steamsets/client-ts/funcs/internalUploadImages.js";
|
|
619
445
|
|
|
620
446
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
621
447
|
// You can create one instance of it to use across an application.
|
|
@@ -624,8 +450,10 @@ const steamSets = new SteamSetsCore({
|
|
|
624
450
|
});
|
|
625
451
|
|
|
626
452
|
async function run() {
|
|
627
|
-
const res = await
|
|
628
|
-
|
|
453
|
+
const res = await internalUploadImages(steamSets, {
|
|
454
|
+
images: [
|
|
455
|
+
|
|
456
|
+
],
|
|
629
457
|
});
|
|
630
458
|
|
|
631
459
|
if (!res.ok) {
|
|
@@ -645,95 +473,24 @@ run();
|
|
|
645
473
|
|
|
646
474
|
| Parameter | Type | Required | Description |
|
|
647
475
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
648
|
-
| `request` | [components.
|
|
649
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
650
|
-
| `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. |
|
|
651
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
652
|
-
|
|
653
|
-
### Response
|
|
654
|
-
|
|
655
|
-
**Promise\<[operations.AccountV1SettingsEmailVerifyResponse](../../models/operations/accountv1settingsemailverifyresponse.md)\>**
|
|
656
|
-
|
|
657
|
-
### Errors
|
|
658
|
-
|
|
659
|
-
| Error Type | Status Code | Content Type |
|
|
660
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
661
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
662
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
663
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
664
|
-
|
|
665
|
-
## accountV1GetBadgeBookmarks
|
|
666
|
-
|
|
667
|
-
### Example Usage
|
|
668
|
-
|
|
669
|
-
```typescript
|
|
670
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
671
|
-
|
|
672
|
-
const steamSets = new SteamSets({
|
|
673
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
674
|
-
});
|
|
675
|
-
|
|
676
|
-
async function run() {
|
|
677
|
-
const result = await steamSets.internal.accountV1GetBadgeBookmarks();
|
|
678
|
-
|
|
679
|
-
// Handle the result
|
|
680
|
-
console.log(result);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
run();
|
|
684
|
-
```
|
|
685
|
-
|
|
686
|
-
### Standalone function
|
|
687
|
-
|
|
688
|
-
The standalone function version of this method:
|
|
689
|
-
|
|
690
|
-
```typescript
|
|
691
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
692
|
-
import { internalAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/internalAccountV1GetBadgeBookmarks.js";
|
|
693
|
-
|
|
694
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
695
|
-
// You can create one instance of it to use across an application.
|
|
696
|
-
const steamSets = new SteamSetsCore({
|
|
697
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
698
|
-
});
|
|
699
|
-
|
|
700
|
-
async function run() {
|
|
701
|
-
const res = await internalAccountV1GetBadgeBookmarks(steamSets);
|
|
702
|
-
|
|
703
|
-
if (!res.ok) {
|
|
704
|
-
throw res.error;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
const { value: result } = res;
|
|
708
|
-
|
|
709
|
-
// Handle the result
|
|
710
|
-
console.log(result);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
run();
|
|
714
|
-
```
|
|
715
|
-
|
|
716
|
-
### Parameters
|
|
717
|
-
|
|
718
|
-
| Parameter | Type | Required | Description |
|
|
719
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
476
|
+
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
720
477
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
721
478
|
| `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. |
|
|
722
479
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
723
480
|
|
|
724
481
|
### Response
|
|
725
482
|
|
|
726
|
-
**Promise\<[operations.
|
|
483
|
+
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
727
484
|
|
|
728
485
|
### Errors
|
|
729
486
|
|
|
730
487
|
| Error Type | Status Code | Content Type |
|
|
731
488
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
732
|
-
| errors.ErrorModel |
|
|
489
|
+
| errors.ErrorModel | 422 | application/problem+json |
|
|
733
490
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
734
491
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
735
492
|
|
|
736
|
-
##
|
|
493
|
+
## getAccount
|
|
737
494
|
|
|
738
495
|
### Example Usage
|
|
739
496
|
|
|
@@ -745,7 +502,7 @@ const steamSets = new SteamSets({
|
|
|
745
502
|
});
|
|
746
503
|
|
|
747
504
|
async function run() {
|
|
748
|
-
const result = await steamSets.internal.
|
|
505
|
+
const result = await steamSets.internal.getAccount({});
|
|
749
506
|
|
|
750
507
|
// Handle the result
|
|
751
508
|
console.log(result);
|
|
@@ -760,7 +517,7 @@ The standalone function version of this method:
|
|
|
760
517
|
|
|
761
518
|
```typescript
|
|
762
519
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
763
|
-
import {
|
|
520
|
+
import { internalGetAccount } from "@steamsets/client-ts/funcs/internalGetAccount.js";
|
|
764
521
|
|
|
765
522
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
766
523
|
// You can create one instance of it to use across an application.
|
|
@@ -769,7 +526,7 @@ const steamSets = new SteamSetsCore({
|
|
|
769
526
|
});
|
|
770
527
|
|
|
771
528
|
async function run() {
|
|
772
|
-
const res = await
|
|
529
|
+
const res = await internalGetAccount(steamSets, {});
|
|
773
530
|
|
|
774
531
|
if (!res.ok) {
|
|
775
532
|
throw res.error;
|
|
@@ -788,22 +545,24 @@ run();
|
|
|
788
545
|
|
|
789
546
|
| Parameter | Type | Required | Description |
|
|
790
547
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
548
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
791
549
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
792
550
|
| `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. |
|
|
793
551
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
794
552
|
|
|
795
553
|
### Response
|
|
796
554
|
|
|
797
|
-
**Promise\<[operations.
|
|
555
|
+
**Promise\<[operations.AdminV1GetAccountResponse](../../models/operations/adminv1getaccountresponse.md)\>**
|
|
798
556
|
|
|
799
557
|
### Errors
|
|
800
558
|
|
|
801
559
|
| Error Type | Status Code | Content Type |
|
|
802
560
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
561
|
+
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
803
562
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
804
563
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
805
564
|
|
|
806
|
-
##
|
|
565
|
+
## getTags
|
|
807
566
|
|
|
808
567
|
### Example Usage
|
|
809
568
|
|
|
@@ -815,7 +574,7 @@ const steamSets = new SteamSets({
|
|
|
815
574
|
});
|
|
816
575
|
|
|
817
576
|
async function run() {
|
|
818
|
-
const result = await steamSets.internal.
|
|
577
|
+
const result = await steamSets.internal.getTags();
|
|
819
578
|
|
|
820
579
|
// Handle the result
|
|
821
580
|
console.log(result);
|
|
@@ -830,7 +589,7 @@ The standalone function version of this method:
|
|
|
830
589
|
|
|
831
590
|
```typescript
|
|
832
591
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
833
|
-
import {
|
|
592
|
+
import { internalGetTags } from "@steamsets/client-ts/funcs/internalGetTags.js";
|
|
834
593
|
|
|
835
594
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
836
595
|
// You can create one instance of it to use across an application.
|
|
@@ -839,7 +598,7 @@ const steamSets = new SteamSetsCore({
|
|
|
839
598
|
});
|
|
840
599
|
|
|
841
600
|
async function run() {
|
|
842
|
-
const res = await
|
|
601
|
+
const res = await internalGetTags(steamSets);
|
|
843
602
|
|
|
844
603
|
if (!res.ok) {
|
|
845
604
|
throw res.error;
|
|
@@ -864,7 +623,7 @@ run();
|
|
|
864
623
|
|
|
865
624
|
### Response
|
|
866
625
|
|
|
867
|
-
**Promise\<[operations.
|
|
626
|
+
**Promise\<[operations.BadgeV1TagsResponse](../../models/operations/badgev1tagsresponse.md)\>**
|
|
868
627
|
|
|
869
628
|
### Errors
|
|
870
629
|
|
|
@@ -874,941 +633,6 @@ run();
|
|
|
874
633
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
875
634
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
876
635
|
|
|
877
|
-
## getStaff
|
|
878
|
-
|
|
879
|
-
### Example Usage
|
|
880
|
-
|
|
881
|
-
```typescript
|
|
882
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
883
|
-
|
|
884
|
-
const steamSets = new SteamSets({
|
|
885
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
886
|
-
});
|
|
887
|
-
|
|
888
|
-
async function run() {
|
|
889
|
-
const result = await steamSets.internal.getStaff();
|
|
890
|
-
|
|
891
|
-
// Handle the result
|
|
892
|
-
console.log(result);
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
run();
|
|
896
|
-
```
|
|
897
|
-
|
|
898
|
-
### Standalone function
|
|
899
|
-
|
|
900
|
-
The standalone function version of this method:
|
|
901
|
-
|
|
902
|
-
```typescript
|
|
903
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
904
|
-
import { internalGetStaff } from "@steamsets/client-ts/funcs/internalGetStaff.js";
|
|
905
|
-
|
|
906
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
907
|
-
// You can create one instance of it to use across an application.
|
|
908
|
-
const steamSets = new SteamSetsCore({
|
|
909
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
910
|
-
});
|
|
911
|
-
|
|
912
|
-
async function run() {
|
|
913
|
-
const res = await internalGetStaff(steamSets);
|
|
914
|
-
|
|
915
|
-
if (!res.ok) {
|
|
916
|
-
throw res.error;
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
const { value: result } = res;
|
|
920
|
-
|
|
921
|
-
// Handle the result
|
|
922
|
-
console.log(result);
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
run();
|
|
926
|
-
```
|
|
927
|
-
|
|
928
|
-
### Parameters
|
|
929
|
-
|
|
930
|
-
| Parameter | Type | Required | Description |
|
|
931
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
932
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
933
|
-
| `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. |
|
|
934
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
935
|
-
|
|
936
|
-
### Response
|
|
937
|
-
|
|
938
|
-
**Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
|
|
939
|
-
|
|
940
|
-
### Errors
|
|
941
|
-
|
|
942
|
-
| Error Type | Status Code | Content Type |
|
|
943
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
944
|
-
| errors.ErrorModel | 404, 429 | application/problem+json |
|
|
945
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
946
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
947
|
-
|
|
948
|
-
## accountV1ConnectionReconnect
|
|
949
|
-
|
|
950
|
-
### Example Usage
|
|
951
|
-
|
|
952
|
-
```typescript
|
|
953
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
954
|
-
|
|
955
|
-
const steamSets = new SteamSets({
|
|
956
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
957
|
-
});
|
|
958
|
-
|
|
959
|
-
async function run() {
|
|
960
|
-
const result = await steamSets.internal.accountV1ConnectionReconnect({
|
|
961
|
-
code: "123456",
|
|
962
|
-
connectionId: "123456",
|
|
963
|
-
});
|
|
964
|
-
|
|
965
|
-
// Handle the result
|
|
966
|
-
console.log(result);
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
run();
|
|
970
|
-
```
|
|
971
|
-
|
|
972
|
-
### Standalone function
|
|
973
|
-
|
|
974
|
-
The standalone function version of this method:
|
|
975
|
-
|
|
976
|
-
```typescript
|
|
977
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
978
|
-
import { internalAccountV1ConnectionReconnect } from "@steamsets/client-ts/funcs/internalAccountV1ConnectionReconnect.js";
|
|
979
|
-
|
|
980
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
981
|
-
// You can create one instance of it to use across an application.
|
|
982
|
-
const steamSets = new SteamSetsCore({
|
|
983
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
984
|
-
});
|
|
985
|
-
|
|
986
|
-
async function run() {
|
|
987
|
-
const res = await internalAccountV1ConnectionReconnect(steamSets, {
|
|
988
|
-
code: "123456",
|
|
989
|
-
connectionId: "123456",
|
|
990
|
-
});
|
|
991
|
-
|
|
992
|
-
if (!res.ok) {
|
|
993
|
-
throw res.error;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
const { value: result } = res;
|
|
997
|
-
|
|
998
|
-
// Handle the result
|
|
999
|
-
console.log(result);
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
run();
|
|
1003
|
-
```
|
|
1004
|
-
|
|
1005
|
-
### Parameters
|
|
1006
|
-
|
|
1007
|
-
| Parameter | Type | Required | Description |
|
|
1008
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1009
|
-
| `request` | [components.V1ReconnectRequestBody](../../models/components/v1reconnectrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1010
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1011
|
-
| `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. |
|
|
1012
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1013
|
-
|
|
1014
|
-
### Response
|
|
1015
|
-
|
|
1016
|
-
**Promise\<[operations.AccountV1ConnectionReconnectResponse](../../models/operations/accountv1connectionreconnectresponse.md)\>**
|
|
1017
|
-
|
|
1018
|
-
### Errors
|
|
1019
|
-
|
|
1020
|
-
| Error Type | Status Code | Content Type |
|
|
1021
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1022
|
-
| errors.ErrorModel | 400, 422 | application/problem+json |
|
|
1023
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1024
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1025
|
-
|
|
1026
|
-
## accountV1ImagesUpdate
|
|
1027
|
-
|
|
1028
|
-
### Example Usage
|
|
1029
|
-
|
|
1030
|
-
```typescript
|
|
1031
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1032
|
-
|
|
1033
|
-
const steamSets = new SteamSets({
|
|
1034
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1035
|
-
});
|
|
1036
|
-
|
|
1037
|
-
async function run() {
|
|
1038
|
-
const result = await steamSets.internal.accountV1ImagesUpdate({
|
|
1039
|
-
images: [
|
|
1040
|
-
|
|
1041
|
-
],
|
|
1042
|
-
});
|
|
1043
|
-
|
|
1044
|
-
// Handle the result
|
|
1045
|
-
console.log(result);
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
run();
|
|
1049
|
-
```
|
|
1050
|
-
|
|
1051
|
-
### Standalone function
|
|
1052
|
-
|
|
1053
|
-
The standalone function version of this method:
|
|
1054
|
-
|
|
1055
|
-
```typescript
|
|
1056
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1057
|
-
import { internalAccountV1ImagesUpdate } from "@steamsets/client-ts/funcs/internalAccountV1ImagesUpdate.js";
|
|
1058
|
-
|
|
1059
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1060
|
-
// You can create one instance of it to use across an application.
|
|
1061
|
-
const steamSets = new SteamSetsCore({
|
|
1062
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1063
|
-
});
|
|
1064
|
-
|
|
1065
|
-
async function run() {
|
|
1066
|
-
const res = await internalAccountV1ImagesUpdate(steamSets, {
|
|
1067
|
-
images: [
|
|
1068
|
-
|
|
1069
|
-
],
|
|
1070
|
-
});
|
|
1071
|
-
|
|
1072
|
-
if (!res.ok) {
|
|
1073
|
-
throw res.error;
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
const { value: result } = res;
|
|
1077
|
-
|
|
1078
|
-
// Handle the result
|
|
1079
|
-
console.log(result);
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
run();
|
|
1083
|
-
```
|
|
1084
|
-
|
|
1085
|
-
### Parameters
|
|
1086
|
-
|
|
1087
|
-
| Parameter | Type | Required | Description |
|
|
1088
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1089
|
-
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1090
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1091
|
-
| `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. |
|
|
1092
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1093
|
-
|
|
1094
|
-
### Response
|
|
1095
|
-
|
|
1096
|
-
**Promise\<[operations.AccountV1ImagesUpdateResponse](../../models/operations/accountv1imagesupdateresponse.md)\>**
|
|
1097
|
-
|
|
1098
|
-
### Errors
|
|
1099
|
-
|
|
1100
|
-
| Error Type | Status Code | Content Type |
|
|
1101
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1102
|
-
| errors.ErrorModel | 404, 422 | application/problem+json |
|
|
1103
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1104
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1105
|
-
|
|
1106
|
-
## accountV1SettingsUpdateRole
|
|
1107
|
-
|
|
1108
|
-
### Example Usage
|
|
1109
|
-
|
|
1110
|
-
```typescript
|
|
1111
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1112
|
-
|
|
1113
|
-
const steamSets = new SteamSets({
|
|
1114
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1115
|
-
});
|
|
1116
|
-
|
|
1117
|
-
async function run() {
|
|
1118
|
-
const result = await steamSets.internal.accountV1SettingsUpdateRole({});
|
|
1119
|
-
|
|
1120
|
-
// Handle the result
|
|
1121
|
-
console.log(result);
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
run();
|
|
1125
|
-
```
|
|
1126
|
-
|
|
1127
|
-
### Standalone function
|
|
1128
|
-
|
|
1129
|
-
The standalone function version of this method:
|
|
1130
|
-
|
|
1131
|
-
```typescript
|
|
1132
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1133
|
-
import { internalAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/internalAccountV1SettingsUpdateRole.js";
|
|
1134
|
-
|
|
1135
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1136
|
-
// You can create one instance of it to use across an application.
|
|
1137
|
-
const steamSets = new SteamSetsCore({
|
|
1138
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1139
|
-
});
|
|
1140
|
-
|
|
1141
|
-
async function run() {
|
|
1142
|
-
const res = await internalAccountV1SettingsUpdateRole(steamSets, {});
|
|
1143
|
-
|
|
1144
|
-
if (!res.ok) {
|
|
1145
|
-
throw res.error;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
const { value: result } = res;
|
|
1149
|
-
|
|
1150
|
-
// Handle the result
|
|
1151
|
-
console.log(result);
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
run();
|
|
1155
|
-
```
|
|
1156
|
-
|
|
1157
|
-
### Parameters
|
|
1158
|
-
|
|
1159
|
-
| Parameter | Type | Required | Description |
|
|
1160
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1161
|
-
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1162
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1163
|
-
| `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. |
|
|
1164
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1165
|
-
|
|
1166
|
-
### Response
|
|
1167
|
-
|
|
1168
|
-
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
1169
|
-
|
|
1170
|
-
### Errors
|
|
1171
|
-
|
|
1172
|
-
| Error Type | Status Code | Content Type |
|
|
1173
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1174
|
-
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
1175
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1176
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1177
|
-
|
|
1178
|
-
## uploadImages
|
|
1179
|
-
|
|
1180
|
-
### Example Usage
|
|
1181
|
-
|
|
1182
|
-
```typescript
|
|
1183
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1184
|
-
|
|
1185
|
-
const steamSets = new SteamSets({
|
|
1186
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1187
|
-
});
|
|
1188
|
-
|
|
1189
|
-
async function run() {
|
|
1190
|
-
const result = await steamSets.internal.uploadImages({
|
|
1191
|
-
images: [
|
|
1192
|
-
|
|
1193
|
-
],
|
|
1194
|
-
});
|
|
1195
|
-
|
|
1196
|
-
// Handle the result
|
|
1197
|
-
console.log(result);
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
run();
|
|
1201
|
-
```
|
|
1202
|
-
|
|
1203
|
-
### Standalone function
|
|
1204
|
-
|
|
1205
|
-
The standalone function version of this method:
|
|
1206
|
-
|
|
1207
|
-
```typescript
|
|
1208
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1209
|
-
import { internalUploadImages } from "@steamsets/client-ts/funcs/internalUploadImages.js";
|
|
1210
|
-
|
|
1211
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1212
|
-
// You can create one instance of it to use across an application.
|
|
1213
|
-
const steamSets = new SteamSetsCore({
|
|
1214
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1215
|
-
});
|
|
1216
|
-
|
|
1217
|
-
async function run() {
|
|
1218
|
-
const res = await internalUploadImages(steamSets, {
|
|
1219
|
-
images: [
|
|
1220
|
-
|
|
1221
|
-
],
|
|
1222
|
-
});
|
|
1223
|
-
|
|
1224
|
-
if (!res.ok) {
|
|
1225
|
-
throw res.error;
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
const { value: result } = res;
|
|
1229
|
-
|
|
1230
|
-
// Handle the result
|
|
1231
|
-
console.log(result);
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
run();
|
|
1235
|
-
```
|
|
1236
|
-
|
|
1237
|
-
### Parameters
|
|
1238
|
-
|
|
1239
|
-
| Parameter | Type | Required | Description |
|
|
1240
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1241
|
-
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1242
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1243
|
-
| `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. |
|
|
1244
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1245
|
-
|
|
1246
|
-
### Response
|
|
1247
|
-
|
|
1248
|
-
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
1249
|
-
|
|
1250
|
-
### Errors
|
|
1251
|
-
|
|
1252
|
-
| Error Type | Status Code | Content Type |
|
|
1253
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1254
|
-
| errors.ErrorModel | 422 | application/problem+json |
|
|
1255
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1256
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1257
|
-
|
|
1258
|
-
## getAccount
|
|
1259
|
-
|
|
1260
|
-
### Example Usage
|
|
1261
|
-
|
|
1262
|
-
```typescript
|
|
1263
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1264
|
-
|
|
1265
|
-
const steamSets = new SteamSets({
|
|
1266
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1267
|
-
});
|
|
1268
|
-
|
|
1269
|
-
async function run() {
|
|
1270
|
-
const result = await steamSets.internal.getAccount({});
|
|
1271
|
-
|
|
1272
|
-
// Handle the result
|
|
1273
|
-
console.log(result);
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
run();
|
|
1277
|
-
```
|
|
1278
|
-
|
|
1279
|
-
### Standalone function
|
|
1280
|
-
|
|
1281
|
-
The standalone function version of this method:
|
|
1282
|
-
|
|
1283
|
-
```typescript
|
|
1284
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1285
|
-
import { internalGetAccount } from "@steamsets/client-ts/funcs/internalGetAccount.js";
|
|
1286
|
-
|
|
1287
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1288
|
-
// You can create one instance of it to use across an application.
|
|
1289
|
-
const steamSets = new SteamSetsCore({
|
|
1290
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1291
|
-
});
|
|
1292
|
-
|
|
1293
|
-
async function run() {
|
|
1294
|
-
const res = await internalGetAccount(steamSets, {});
|
|
1295
|
-
|
|
1296
|
-
if (!res.ok) {
|
|
1297
|
-
throw res.error;
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
const { value: result } = res;
|
|
1301
|
-
|
|
1302
|
-
// Handle the result
|
|
1303
|
-
console.log(result);
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
run();
|
|
1307
|
-
```
|
|
1308
|
-
|
|
1309
|
-
### Parameters
|
|
1310
|
-
|
|
1311
|
-
| Parameter | Type | Required | Description |
|
|
1312
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1313
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1314
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1315
|
-
| `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. |
|
|
1316
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1317
|
-
|
|
1318
|
-
### Response
|
|
1319
|
-
|
|
1320
|
-
**Promise\<[operations.AdminV1GetAccountResponse](../../models/operations/adminv1getaccountresponse.md)\>**
|
|
1321
|
-
|
|
1322
|
-
### Errors
|
|
1323
|
-
|
|
1324
|
-
| Error Type | Status Code | Content Type |
|
|
1325
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1326
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1327
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1328
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1329
|
-
|
|
1330
|
-
## adminV1GetEvents
|
|
1331
|
-
|
|
1332
|
-
### Example Usage
|
|
1333
|
-
|
|
1334
|
-
```typescript
|
|
1335
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1336
|
-
|
|
1337
|
-
const steamSets = new SteamSets({
|
|
1338
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1339
|
-
});
|
|
1340
|
-
|
|
1341
|
-
async function run() {
|
|
1342
|
-
const result = await steamSets.internal.adminV1GetEvents();
|
|
1343
|
-
|
|
1344
|
-
// Handle the result
|
|
1345
|
-
console.log(result);
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
run();
|
|
1349
|
-
```
|
|
1350
|
-
|
|
1351
|
-
### Standalone function
|
|
1352
|
-
|
|
1353
|
-
The standalone function version of this method:
|
|
1354
|
-
|
|
1355
|
-
```typescript
|
|
1356
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1357
|
-
import { internalAdminV1GetEvents } from "@steamsets/client-ts/funcs/internalAdminV1GetEvents.js";
|
|
1358
|
-
|
|
1359
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1360
|
-
// You can create one instance of it to use across an application.
|
|
1361
|
-
const steamSets = new SteamSetsCore({
|
|
1362
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1363
|
-
});
|
|
1364
|
-
|
|
1365
|
-
async function run() {
|
|
1366
|
-
const res = await internalAdminV1GetEvents(steamSets);
|
|
1367
|
-
|
|
1368
|
-
if (!res.ok) {
|
|
1369
|
-
throw res.error;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
const { value: result } = res;
|
|
1373
|
-
|
|
1374
|
-
// Handle the result
|
|
1375
|
-
console.log(result);
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
run();
|
|
1379
|
-
```
|
|
1380
|
-
|
|
1381
|
-
### Parameters
|
|
1382
|
-
|
|
1383
|
-
| Parameter | Type | Required | Description |
|
|
1384
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1385
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1386
|
-
| `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. |
|
|
1387
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1388
|
-
|
|
1389
|
-
### Response
|
|
1390
|
-
|
|
1391
|
-
**Promise\<[operations.AdminV1GetEventsResponse](../../models/operations/adminv1geteventsresponse.md)\>**
|
|
1392
|
-
|
|
1393
|
-
### Errors
|
|
1394
|
-
|
|
1395
|
-
| Error Type | Status Code | Content Type |
|
|
1396
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1397
|
-
| errors.ErrorModel | 403, 404, 429 | application/problem+json |
|
|
1398
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1399
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1400
|
-
|
|
1401
|
-
## adminV1UpdateEvent
|
|
1402
|
-
|
|
1403
|
-
### Example Usage
|
|
1404
|
-
|
|
1405
|
-
```typescript
|
|
1406
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1407
|
-
|
|
1408
|
-
const steamSets = new SteamSets({
|
|
1409
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1410
|
-
});
|
|
1411
|
-
|
|
1412
|
-
async function run() {
|
|
1413
|
-
const result = await steamSets.internal.adminV1UpdateEvent({
|
|
1414
|
-
eventId: "evt_123456",
|
|
1415
|
-
mappings: [
|
|
1416
|
-
{
|
|
1417
|
-
appId: 730,
|
|
1418
|
-
steamId: 76561198842603730,
|
|
1419
|
-
},
|
|
1420
|
-
],
|
|
1421
|
-
});
|
|
1422
|
-
|
|
1423
|
-
// Handle the result
|
|
1424
|
-
console.log(result);
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
run();
|
|
1428
|
-
```
|
|
1429
|
-
|
|
1430
|
-
### Standalone function
|
|
1431
|
-
|
|
1432
|
-
The standalone function version of this method:
|
|
1433
|
-
|
|
1434
|
-
```typescript
|
|
1435
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1436
|
-
import { internalAdminV1UpdateEvent } from "@steamsets/client-ts/funcs/internalAdminV1UpdateEvent.js";
|
|
1437
|
-
|
|
1438
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1439
|
-
// You can create one instance of it to use across an application.
|
|
1440
|
-
const steamSets = new SteamSetsCore({
|
|
1441
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1442
|
-
});
|
|
1443
|
-
|
|
1444
|
-
async function run() {
|
|
1445
|
-
const res = await internalAdminV1UpdateEvent(steamSets, {
|
|
1446
|
-
eventId: "evt_123456",
|
|
1447
|
-
mappings: [
|
|
1448
|
-
{
|
|
1449
|
-
appId: 730,
|
|
1450
|
-
steamId: 76561198842603730,
|
|
1451
|
-
},
|
|
1452
|
-
],
|
|
1453
|
-
});
|
|
1454
|
-
|
|
1455
|
-
if (!res.ok) {
|
|
1456
|
-
throw res.error;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
const { value: result } = res;
|
|
1460
|
-
|
|
1461
|
-
// Handle the result
|
|
1462
|
-
console.log(result);
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
run();
|
|
1466
|
-
```
|
|
1467
|
-
|
|
1468
|
-
### Parameters
|
|
1469
|
-
|
|
1470
|
-
| Parameter | Type | Required | Description |
|
|
1471
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1472
|
-
| `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1473
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1474
|
-
| `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. |
|
|
1475
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1476
|
-
|
|
1477
|
-
### Response
|
|
1478
|
-
|
|
1479
|
-
**Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
|
|
1480
|
-
|
|
1481
|
-
### Errors
|
|
1482
|
-
|
|
1483
|
-
| Error Type | Status Code | Content Type |
|
|
1484
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1485
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1486
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1487
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1488
|
-
|
|
1489
|
-
## adminV1UpdateResources
|
|
1490
|
-
|
|
1491
|
-
### Example Usage
|
|
1492
|
-
|
|
1493
|
-
```typescript
|
|
1494
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1495
|
-
|
|
1496
|
-
const steamSets = new SteamSets({
|
|
1497
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1498
|
-
});
|
|
1499
|
-
|
|
1500
|
-
async function run() {
|
|
1501
|
-
const result = await steamSets.internal.adminV1UpdateResources({
|
|
1502
|
-
newResources: [
|
|
1503
|
-
{
|
|
1504
|
-
resource: "max_leaderboard_entries",
|
|
1505
|
-
value: "1",
|
|
1506
|
-
},
|
|
1507
|
-
],
|
|
1508
|
-
resource: [
|
|
1509
|
-
"short_link_domain",
|
|
1510
|
-
"background",
|
|
1511
|
-
],
|
|
1512
|
-
});
|
|
1513
|
-
|
|
1514
|
-
// Handle the result
|
|
1515
|
-
console.log(result);
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
run();
|
|
1519
|
-
```
|
|
1520
|
-
|
|
1521
|
-
### Standalone function
|
|
1522
|
-
|
|
1523
|
-
The standalone function version of this method:
|
|
1524
|
-
|
|
1525
|
-
```typescript
|
|
1526
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1527
|
-
import { internalAdminV1UpdateResources } from "@steamsets/client-ts/funcs/internalAdminV1UpdateResources.js";
|
|
1528
|
-
|
|
1529
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1530
|
-
// You can create one instance of it to use across an application.
|
|
1531
|
-
const steamSets = new SteamSetsCore({
|
|
1532
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1533
|
-
});
|
|
1534
|
-
|
|
1535
|
-
async function run() {
|
|
1536
|
-
const res = await internalAdminV1UpdateResources(steamSets, {
|
|
1537
|
-
newResources: [
|
|
1538
|
-
{
|
|
1539
|
-
resource: "max_leaderboard_entries",
|
|
1540
|
-
value: "1",
|
|
1541
|
-
},
|
|
1542
|
-
],
|
|
1543
|
-
resource: [
|
|
1544
|
-
"short_link_domain",
|
|
1545
|
-
"background",
|
|
1546
|
-
],
|
|
1547
|
-
});
|
|
1548
|
-
|
|
1549
|
-
if (!res.ok) {
|
|
1550
|
-
throw res.error;
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
const { value: result } = res;
|
|
1554
|
-
|
|
1555
|
-
// Handle the result
|
|
1556
|
-
console.log(result);
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
run();
|
|
1560
|
-
```
|
|
1561
|
-
|
|
1562
|
-
### Parameters
|
|
1563
|
-
|
|
1564
|
-
| Parameter | Type | Required | Description |
|
|
1565
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1566
|
-
| `request` | [components.V1AdminUpdateResourcesRequestBody](../../models/components/v1adminupdateresourcesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1567
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1568
|
-
| `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. |
|
|
1569
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1570
|
-
|
|
1571
|
-
### Response
|
|
1572
|
-
|
|
1573
|
-
**Promise\<[operations.AdminV1UpdateResourcesResponse](../../models/operations/adminv1updateresourcesresponse.md)\>**
|
|
1574
|
-
|
|
1575
|
-
### Errors
|
|
1576
|
-
|
|
1577
|
-
| Error Type | Status Code | Content Type |
|
|
1578
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1579
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1580
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1581
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1582
|
-
|
|
1583
|
-
## adminV1UpdateRoles
|
|
1584
|
-
|
|
1585
|
-
### Example Usage
|
|
1586
|
-
|
|
1587
|
-
```typescript
|
|
1588
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1589
|
-
|
|
1590
|
-
const steamSets = new SteamSets({
|
|
1591
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1592
|
-
});
|
|
1593
|
-
|
|
1594
|
-
async function run() {
|
|
1595
|
-
const result = await steamSets.internal.adminV1UpdateRoles({
|
|
1596
|
-
roles: [
|
|
1597
|
-
|
|
1598
|
-
],
|
|
1599
|
-
});
|
|
1600
|
-
|
|
1601
|
-
// Handle the result
|
|
1602
|
-
console.log(result);
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
run();
|
|
1606
|
-
```
|
|
1607
|
-
|
|
1608
|
-
### Standalone function
|
|
1609
|
-
|
|
1610
|
-
The standalone function version of this method:
|
|
1611
|
-
|
|
1612
|
-
```typescript
|
|
1613
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1614
|
-
import { internalAdminV1UpdateRoles } from "@steamsets/client-ts/funcs/internalAdminV1UpdateRoles.js";
|
|
1615
|
-
|
|
1616
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1617
|
-
// You can create one instance of it to use across an application.
|
|
1618
|
-
const steamSets = new SteamSetsCore({
|
|
1619
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1620
|
-
});
|
|
1621
|
-
|
|
1622
|
-
async function run() {
|
|
1623
|
-
const res = await internalAdminV1UpdateRoles(steamSets, {
|
|
1624
|
-
roles: [
|
|
1625
|
-
|
|
1626
|
-
],
|
|
1627
|
-
});
|
|
1628
|
-
|
|
1629
|
-
if (!res.ok) {
|
|
1630
|
-
throw res.error;
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
const { value: result } = res;
|
|
1634
|
-
|
|
1635
|
-
// Handle the result
|
|
1636
|
-
console.log(result);
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
run();
|
|
1640
|
-
```
|
|
1641
|
-
|
|
1642
|
-
### Parameters
|
|
1643
|
-
|
|
1644
|
-
| Parameter | Type | Required | Description |
|
|
1645
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1646
|
-
| `request` | [components.V1AdminUpdateRolessRequestBody](../../models/components/v1adminupdaterolessrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1647
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1648
|
-
| `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. |
|
|
1649
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1650
|
-
|
|
1651
|
-
### Response
|
|
1652
|
-
|
|
1653
|
-
**Promise\<[operations.AdminV1UpdateRolesResponse](../../models/operations/adminv1updaterolesresponse.md)\>**
|
|
1654
|
-
|
|
1655
|
-
### Errors
|
|
1656
|
-
|
|
1657
|
-
| Error Type | Status Code | Content Type |
|
|
1658
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1659
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1660
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1661
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1662
|
-
|
|
1663
|
-
## getTags
|
|
1664
|
-
|
|
1665
|
-
### Example Usage
|
|
1666
|
-
|
|
1667
|
-
```typescript
|
|
1668
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1669
|
-
|
|
1670
|
-
const steamSets = new SteamSets({
|
|
1671
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1672
|
-
});
|
|
1673
|
-
|
|
1674
|
-
async function run() {
|
|
1675
|
-
const result = await steamSets.internal.getTags();
|
|
1676
|
-
|
|
1677
|
-
// Handle the result
|
|
1678
|
-
console.log(result);
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
run();
|
|
1682
|
-
```
|
|
1683
|
-
|
|
1684
|
-
### Standalone function
|
|
1685
|
-
|
|
1686
|
-
The standalone function version of this method:
|
|
1687
|
-
|
|
1688
|
-
```typescript
|
|
1689
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1690
|
-
import { internalGetTags } from "@steamsets/client-ts/funcs/internalGetTags.js";
|
|
1691
|
-
|
|
1692
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1693
|
-
// You can create one instance of it to use across an application.
|
|
1694
|
-
const steamSets = new SteamSetsCore({
|
|
1695
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1696
|
-
});
|
|
1697
|
-
|
|
1698
|
-
async function run() {
|
|
1699
|
-
const res = await internalGetTags(steamSets);
|
|
1700
|
-
|
|
1701
|
-
if (!res.ok) {
|
|
1702
|
-
throw res.error;
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
const { value: result } = res;
|
|
1706
|
-
|
|
1707
|
-
// Handle the result
|
|
1708
|
-
console.log(result);
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
run();
|
|
1712
|
-
```
|
|
1713
|
-
|
|
1714
|
-
### Parameters
|
|
1715
|
-
|
|
1716
|
-
| Parameter | Type | Required | Description |
|
|
1717
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1718
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1719
|
-
| `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. |
|
|
1720
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1721
|
-
|
|
1722
|
-
### Response
|
|
1723
|
-
|
|
1724
|
-
**Promise\<[operations.BadgeV1TagsResponse](../../models/operations/badgev1tagsresponse.md)\>**
|
|
1725
|
-
|
|
1726
|
-
### Errors
|
|
1727
|
-
|
|
1728
|
-
| Error Type | Status Code | Content Type |
|
|
1729
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1730
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
1731
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1732
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1733
|
-
|
|
1734
|
-
## badgeV1Search
|
|
1735
|
-
|
|
1736
|
-
### Example Usage
|
|
1737
|
-
|
|
1738
|
-
```typescript
|
|
1739
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1740
|
-
|
|
1741
|
-
const steamSets = new SteamSets({
|
|
1742
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1743
|
-
});
|
|
1744
|
-
|
|
1745
|
-
async function run() {
|
|
1746
|
-
const result = await steamSets.internal.badgeV1Search({
|
|
1747
|
-
filter: "<value>",
|
|
1748
|
-
query: "<value>",
|
|
1749
|
-
});
|
|
1750
|
-
|
|
1751
|
-
// Handle the result
|
|
1752
|
-
console.log(result);
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
run();
|
|
1756
|
-
```
|
|
1757
|
-
|
|
1758
|
-
### Standalone function
|
|
1759
|
-
|
|
1760
|
-
The standalone function version of this method:
|
|
1761
|
-
|
|
1762
|
-
```typescript
|
|
1763
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1764
|
-
import { internalBadgeV1Search } from "@steamsets/client-ts/funcs/internalBadgeV1Search.js";
|
|
1765
|
-
|
|
1766
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1767
|
-
// You can create one instance of it to use across an application.
|
|
1768
|
-
const steamSets = new SteamSetsCore({
|
|
1769
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1770
|
-
});
|
|
1771
|
-
|
|
1772
|
-
async function run() {
|
|
1773
|
-
const res = await internalBadgeV1Search(steamSets, {
|
|
1774
|
-
filter: "<value>",
|
|
1775
|
-
query: "<value>",
|
|
1776
|
-
});
|
|
1777
|
-
|
|
1778
|
-
if (!res.ok) {
|
|
1779
|
-
throw res.error;
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
|
-
const { value: result } = res;
|
|
1783
|
-
|
|
1784
|
-
// Handle the result
|
|
1785
|
-
console.log(result);
|
|
1786
|
-
}
|
|
1787
|
-
|
|
1788
|
-
run();
|
|
1789
|
-
```
|
|
1790
|
-
|
|
1791
|
-
### Parameters
|
|
1792
|
-
|
|
1793
|
-
| Parameter | Type | Required | Description |
|
|
1794
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1795
|
-
| `request` | [components.V1SearchRequest](../../models/components/v1searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1796
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1797
|
-
| `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. |
|
|
1798
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1799
|
-
|
|
1800
|
-
### Response
|
|
1801
|
-
|
|
1802
|
-
**Promise\<[operations.BadgeV1SearchResponse](../../models/operations/badgev1searchresponse.md)\>**
|
|
1803
|
-
|
|
1804
|
-
### Errors
|
|
1805
|
-
|
|
1806
|
-
| Error Type | Status Code | Content Type |
|
|
1807
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1808
|
-
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
1809
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1810
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1811
|
-
|
|
1812
636
|
## check
|
|
1813
637
|
|
|
1814
638
|
This endpoint checks if the service is alive.
|