@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
|
@@ -11,26 +11,15 @@ All Requests related to account(s) are grouped here.
|
|
|
11
11
|
* [deleteDeveloperApp](#deletedeveloperapp)
|
|
12
12
|
* [deleteImages](#deleteimages)
|
|
13
13
|
* [updateApp](#updateapp)
|
|
14
|
-
* [accountV1SettingsEmailSendVerification](#accountv1settingsemailsendverification)
|
|
15
|
-
* [accountV1SettingsEmailSubscribe](#accountv1settingsemailsubscribe)
|
|
16
|
-
* [accountV1SettingsEmailVerify](#accountv1settingsemailverify)
|
|
17
14
|
* [getApps](#getapps)
|
|
18
|
-
* [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
|
|
19
15
|
* [getBadges](#getbadges)
|
|
20
16
|
* [getDataPoints](#getdatapoints)
|
|
21
17
|
* [getFriends](#getfriends)
|
|
22
|
-
* [accountV1ImagesGet](#accountv1imagesget)
|
|
23
18
|
* [getInfo](#getinfo)
|
|
24
19
|
* [getLeaderboardHistory](#getleaderboardhistory)
|
|
25
|
-
* [accountV1GetOwnedBadges](#accountv1getownedbadges)
|
|
26
20
|
* [getStaff](#getstaff)
|
|
27
|
-
* [accountV1ConnectionReconnect](#accountv1connectionreconnect)
|
|
28
|
-
* [accountV1ImagesUpdate](#accountv1imagesupdate)
|
|
29
|
-
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
30
21
|
* [uploadImages](#uploadimages)
|
|
31
22
|
* [getAccount](#getaccount)
|
|
32
|
-
* [adminV1UpdateResources](#adminv1updateresources)
|
|
33
|
-
* [adminV1UpdateRoles](#adminv1updateroles)
|
|
34
23
|
|
|
35
24
|
## createDeveloperApp
|
|
36
25
|
|
|
@@ -354,666 +343,7 @@ run();
|
|
|
354
343
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
355
344
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
356
345
|
|
|
357
|
-
##
|
|
358
|
-
|
|
359
|
-
### Example Usage
|
|
360
|
-
|
|
361
|
-
```typescript
|
|
362
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
363
|
-
|
|
364
|
-
const steamSets = new SteamSets({
|
|
365
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
366
|
-
});
|
|
367
|
-
|
|
368
|
-
async function run() {
|
|
369
|
-
const result = await steamSets.account.accountV1SettingsEmailSendVerification({});
|
|
370
|
-
|
|
371
|
-
// Handle the result
|
|
372
|
-
console.log(result);
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
run();
|
|
376
|
-
```
|
|
377
|
-
|
|
378
|
-
### Standalone function
|
|
379
|
-
|
|
380
|
-
The standalone function version of this method:
|
|
381
|
-
|
|
382
|
-
```typescript
|
|
383
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
384
|
-
import { accountAccountV1SettingsEmailSendVerification } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailSendVerification.js";
|
|
385
|
-
|
|
386
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
387
|
-
// You can create one instance of it to use across an application.
|
|
388
|
-
const steamSets = new SteamSetsCore({
|
|
389
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
390
|
-
});
|
|
391
|
-
|
|
392
|
-
async function run() {
|
|
393
|
-
const res = await accountAccountV1SettingsEmailSendVerification(steamSets, {});
|
|
394
|
-
|
|
395
|
-
if (!res.ok) {
|
|
396
|
-
throw res.error;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
const { value: result } = res;
|
|
400
|
-
|
|
401
|
-
// Handle the result
|
|
402
|
-
console.log(result);
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
run();
|
|
406
|
-
```
|
|
407
|
-
|
|
408
|
-
### Parameters
|
|
409
|
-
|
|
410
|
-
| Parameter | Type | Required | Description |
|
|
411
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
412
|
-
| `request` | [operations.AccountV1SettingsEmailSendVerificationRequest](../../models/operations/accountv1settingsemailsendverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
413
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
414
|
-
| `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. |
|
|
415
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
416
|
-
|
|
417
|
-
### Response
|
|
418
|
-
|
|
419
|
-
**Promise\<[operations.AccountV1SettingsEmailSendVerificationResponse](../../models/operations/accountv1settingsemailsendverificationresponse.md)\>**
|
|
420
|
-
|
|
421
|
-
### Errors
|
|
422
|
-
|
|
423
|
-
| Error Type | Status Code | Content Type |
|
|
424
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
425
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
426
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
427
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
428
|
-
|
|
429
|
-
## accountV1SettingsEmailSubscribe
|
|
430
|
-
|
|
431
|
-
### Example Usage
|
|
432
|
-
|
|
433
|
-
```typescript
|
|
434
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
435
|
-
|
|
436
|
-
const steamSets = new SteamSets({
|
|
437
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
438
|
-
});
|
|
439
|
-
|
|
440
|
-
async function run() {
|
|
441
|
-
const result = await steamSets.account.accountV1SettingsEmailSubscribe({
|
|
442
|
-
v1EmailSubscriptionRequestBody: {
|
|
443
|
-
email: "steamsets@example.com",
|
|
444
|
-
subscribed: true,
|
|
445
|
-
},
|
|
446
|
-
});
|
|
447
|
-
|
|
448
|
-
// Handle the result
|
|
449
|
-
console.log(result);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
run();
|
|
453
|
-
```
|
|
454
|
-
|
|
455
|
-
### Standalone function
|
|
456
|
-
|
|
457
|
-
The standalone function version of this method:
|
|
458
|
-
|
|
459
|
-
```typescript
|
|
460
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
461
|
-
import { accountAccountV1SettingsEmailSubscribe } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailSubscribe.js";
|
|
462
|
-
|
|
463
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
464
|
-
// You can create one instance of it to use across an application.
|
|
465
|
-
const steamSets = new SteamSetsCore({
|
|
466
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
async function run() {
|
|
470
|
-
const res = await accountAccountV1SettingsEmailSubscribe(steamSets, {
|
|
471
|
-
v1EmailSubscriptionRequestBody: {
|
|
472
|
-
email: "steamsets@example.com",
|
|
473
|
-
subscribed: true,
|
|
474
|
-
},
|
|
475
|
-
});
|
|
476
|
-
|
|
477
|
-
if (!res.ok) {
|
|
478
|
-
throw res.error;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
const { value: result } = res;
|
|
482
|
-
|
|
483
|
-
// Handle the result
|
|
484
|
-
console.log(result);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
run();
|
|
488
|
-
```
|
|
489
|
-
|
|
490
|
-
### Parameters
|
|
491
|
-
|
|
492
|
-
| Parameter | Type | Required | Description |
|
|
493
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
494
|
-
| `request` | [operations.AccountV1SettingsEmailSubscribeRequest](../../models/operations/accountv1settingsemailsubscriberequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
495
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
496
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
497
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
498
|
-
|
|
499
|
-
### Response
|
|
500
|
-
|
|
501
|
-
**Promise\<[operations.AccountV1SettingsEmailSubscribeResponse](../../models/operations/accountv1settingsemailsubscriberesponse.md)\>**
|
|
502
|
-
|
|
503
|
-
### Errors
|
|
504
|
-
|
|
505
|
-
| Error Type | Status Code | Content Type |
|
|
506
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
507
|
-
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
508
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
509
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
510
|
-
|
|
511
|
-
## accountV1SettingsEmailVerify
|
|
512
|
-
|
|
513
|
-
### Example Usage
|
|
514
|
-
|
|
515
|
-
```typescript
|
|
516
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
517
|
-
|
|
518
|
-
const steamSets = new SteamSets({
|
|
519
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
520
|
-
});
|
|
521
|
-
|
|
522
|
-
async function run() {
|
|
523
|
-
const result = await steamSets.account.accountV1SettingsEmailVerify({
|
|
524
|
-
code: "123456",
|
|
525
|
-
});
|
|
526
|
-
|
|
527
|
-
// Handle the result
|
|
528
|
-
console.log(result);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
run();
|
|
532
|
-
```
|
|
533
|
-
|
|
534
|
-
### Standalone function
|
|
535
|
-
|
|
536
|
-
The standalone function version of this method:
|
|
537
|
-
|
|
538
|
-
```typescript
|
|
539
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
540
|
-
import { accountAccountV1SettingsEmailVerify } from "@steamsets/client-ts/funcs/accountAccountV1SettingsEmailVerify.js";
|
|
541
|
-
|
|
542
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
543
|
-
// You can create one instance of it to use across an application.
|
|
544
|
-
const steamSets = new SteamSetsCore({
|
|
545
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
546
|
-
});
|
|
547
|
-
|
|
548
|
-
async function run() {
|
|
549
|
-
const res = await accountAccountV1SettingsEmailVerify(steamSets, {
|
|
550
|
-
code: "123456",
|
|
551
|
-
});
|
|
552
|
-
|
|
553
|
-
if (!res.ok) {
|
|
554
|
-
throw res.error;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
const { value: result } = res;
|
|
558
|
-
|
|
559
|
-
// Handle the result
|
|
560
|
-
console.log(result);
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
run();
|
|
564
|
-
```
|
|
565
|
-
|
|
566
|
-
### Parameters
|
|
567
|
-
|
|
568
|
-
| Parameter | Type | Required | Description |
|
|
569
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
570
|
-
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
571
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
572
|
-
| `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. |
|
|
573
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
574
|
-
|
|
575
|
-
### Response
|
|
576
|
-
|
|
577
|
-
**Promise\<[operations.AccountV1SettingsEmailVerifyResponse](../../models/operations/accountv1settingsemailverifyresponse.md)\>**
|
|
578
|
-
|
|
579
|
-
### Errors
|
|
580
|
-
|
|
581
|
-
| Error Type | Status Code | Content Type |
|
|
582
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
583
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
584
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
585
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
586
|
-
|
|
587
|
-
## getApps
|
|
588
|
-
|
|
589
|
-
### Example Usage
|
|
590
|
-
|
|
591
|
-
```typescript
|
|
592
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
593
|
-
|
|
594
|
-
const steamSets = new SteamSets({
|
|
595
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
596
|
-
});
|
|
597
|
-
|
|
598
|
-
async function run() {
|
|
599
|
-
const result = await steamSets.account.getApps({});
|
|
600
|
-
|
|
601
|
-
// Handle the result
|
|
602
|
-
console.log(result);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
run();
|
|
606
|
-
```
|
|
607
|
-
|
|
608
|
-
### Standalone function
|
|
609
|
-
|
|
610
|
-
The standalone function version of this method:
|
|
611
|
-
|
|
612
|
-
```typescript
|
|
613
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
614
|
-
import { accountGetApps } from "@steamsets/client-ts/funcs/accountGetApps.js";
|
|
615
|
-
|
|
616
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
617
|
-
// You can create one instance of it to use across an application.
|
|
618
|
-
const steamSets = new SteamSetsCore({
|
|
619
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
620
|
-
});
|
|
621
|
-
|
|
622
|
-
async function run() {
|
|
623
|
-
const res = await accountGetApps(steamSets, {});
|
|
624
|
-
|
|
625
|
-
if (!res.ok) {
|
|
626
|
-
throw res.error;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
const { value: result } = res;
|
|
630
|
-
|
|
631
|
-
// Handle the result
|
|
632
|
-
console.log(result);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
run();
|
|
636
|
-
```
|
|
637
|
-
|
|
638
|
-
### Parameters
|
|
639
|
-
|
|
640
|
-
| Parameter | Type | Required | Description |
|
|
641
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
642
|
-
| `request` | [components.V1AccountsAppsRequestBody](../../models/components/v1accountsappsrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
643
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
644
|
-
| `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. |
|
|
645
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
646
|
-
|
|
647
|
-
### Response
|
|
648
|
-
|
|
649
|
-
**Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
|
|
650
|
-
|
|
651
|
-
### Errors
|
|
652
|
-
|
|
653
|
-
| Error Type | Status Code | Content Type |
|
|
654
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
655
|
-
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
656
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
657
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
658
|
-
|
|
659
|
-
## accountV1GetBadgeBookmarks
|
|
660
|
-
|
|
661
|
-
### Example Usage
|
|
662
|
-
|
|
663
|
-
```typescript
|
|
664
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
665
|
-
|
|
666
|
-
const steamSets = new SteamSets({
|
|
667
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
668
|
-
});
|
|
669
|
-
|
|
670
|
-
async function run() {
|
|
671
|
-
const result = await steamSets.account.accountV1GetBadgeBookmarks();
|
|
672
|
-
|
|
673
|
-
// Handle the result
|
|
674
|
-
console.log(result);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
run();
|
|
678
|
-
```
|
|
679
|
-
|
|
680
|
-
### Standalone function
|
|
681
|
-
|
|
682
|
-
The standalone function version of this method:
|
|
683
|
-
|
|
684
|
-
```typescript
|
|
685
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
686
|
-
import { accountAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/accountAccountV1GetBadgeBookmarks.js";
|
|
687
|
-
|
|
688
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
689
|
-
// You can create one instance of it to use across an application.
|
|
690
|
-
const steamSets = new SteamSetsCore({
|
|
691
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
692
|
-
});
|
|
693
|
-
|
|
694
|
-
async function run() {
|
|
695
|
-
const res = await accountAccountV1GetBadgeBookmarks(steamSets);
|
|
696
|
-
|
|
697
|
-
if (!res.ok) {
|
|
698
|
-
throw res.error;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
const { value: result } = res;
|
|
702
|
-
|
|
703
|
-
// Handle the result
|
|
704
|
-
console.log(result);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
run();
|
|
708
|
-
```
|
|
709
|
-
|
|
710
|
-
### Parameters
|
|
711
|
-
|
|
712
|
-
| Parameter | Type | Required | Description |
|
|
713
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
714
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
715
|
-
| `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. |
|
|
716
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
717
|
-
|
|
718
|
-
### Response
|
|
719
|
-
|
|
720
|
-
**Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
|
|
721
|
-
|
|
722
|
-
### Errors
|
|
723
|
-
|
|
724
|
-
| Error Type | Status Code | Content Type |
|
|
725
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
726
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
727
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
728
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
729
|
-
|
|
730
|
-
## getBadges
|
|
731
|
-
|
|
732
|
-
### Example Usage
|
|
733
|
-
|
|
734
|
-
```typescript
|
|
735
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
736
|
-
|
|
737
|
-
const steamSets = new SteamSets({
|
|
738
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
739
|
-
});
|
|
740
|
-
|
|
741
|
-
async function run() {
|
|
742
|
-
const result = await steamSets.account.getBadges({});
|
|
743
|
-
|
|
744
|
-
// Handle the result
|
|
745
|
-
console.log(result);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
run();
|
|
749
|
-
```
|
|
750
|
-
|
|
751
|
-
### Standalone function
|
|
752
|
-
|
|
753
|
-
The standalone function version of this method:
|
|
754
|
-
|
|
755
|
-
```typescript
|
|
756
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
757
|
-
import { accountGetBadges } from "@steamsets/client-ts/funcs/accountGetBadges.js";
|
|
758
|
-
|
|
759
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
760
|
-
// You can create one instance of it to use across an application.
|
|
761
|
-
const steamSets = new SteamSetsCore({
|
|
762
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
763
|
-
});
|
|
764
|
-
|
|
765
|
-
async function run() {
|
|
766
|
-
const res = await accountGetBadges(steamSets, {});
|
|
767
|
-
|
|
768
|
-
if (!res.ok) {
|
|
769
|
-
throw res.error;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
const { value: result } = res;
|
|
773
|
-
|
|
774
|
-
// Handle the result
|
|
775
|
-
console.log(result);
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
run();
|
|
779
|
-
```
|
|
780
|
-
|
|
781
|
-
### Parameters
|
|
782
|
-
|
|
783
|
-
| Parameter | Type | Required | Description |
|
|
784
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
785
|
-
| `request` | [components.V1BadgesRequestBody](../../models/components/v1badgesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
786
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
787
|
-
| `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. |
|
|
788
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
789
|
-
|
|
790
|
-
### Response
|
|
791
|
-
|
|
792
|
-
**Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
|
|
793
|
-
|
|
794
|
-
### Errors
|
|
795
|
-
|
|
796
|
-
| Error Type | Status Code | Content Type |
|
|
797
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
798
|
-
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
799
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
800
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
801
|
-
|
|
802
|
-
## getDataPoints
|
|
803
|
-
|
|
804
|
-
### Example Usage
|
|
805
|
-
|
|
806
|
-
```typescript
|
|
807
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
808
|
-
|
|
809
|
-
const steamSets = new SteamSets({
|
|
810
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
811
|
-
});
|
|
812
|
-
|
|
813
|
-
async function run() {
|
|
814
|
-
const result = await steamSets.account.getDataPoints({});
|
|
815
|
-
|
|
816
|
-
// Handle the result
|
|
817
|
-
console.log(result);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
run();
|
|
821
|
-
```
|
|
822
|
-
|
|
823
|
-
### Standalone function
|
|
824
|
-
|
|
825
|
-
The standalone function version of this method:
|
|
826
|
-
|
|
827
|
-
```typescript
|
|
828
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
829
|
-
import { accountGetDataPoints } from "@steamsets/client-ts/funcs/accountGetDataPoints.js";
|
|
830
|
-
|
|
831
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
832
|
-
// You can create one instance of it to use across an application.
|
|
833
|
-
const steamSets = new SteamSetsCore({
|
|
834
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
835
|
-
});
|
|
836
|
-
|
|
837
|
-
async function run() {
|
|
838
|
-
const res = await accountGetDataPoints(steamSets, {});
|
|
839
|
-
|
|
840
|
-
if (!res.ok) {
|
|
841
|
-
throw res.error;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
const { value: result } = res;
|
|
845
|
-
|
|
846
|
-
// Handle the result
|
|
847
|
-
console.log(result);
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
run();
|
|
851
|
-
```
|
|
852
|
-
|
|
853
|
-
### Parameters
|
|
854
|
-
|
|
855
|
-
| Parameter | Type | Required | Description |
|
|
856
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
857
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
858
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
859
|
-
| `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. |
|
|
860
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
861
|
-
|
|
862
|
-
### Response
|
|
863
|
-
|
|
864
|
-
**Promise\<[operations.AccountV1GetDataPointsResponse](../../models/operations/accountv1getdatapointsresponse.md)\>**
|
|
865
|
-
|
|
866
|
-
### Errors
|
|
867
|
-
|
|
868
|
-
| Error Type | Status Code | Content Type |
|
|
869
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
870
|
-
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
871
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
872
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
873
|
-
|
|
874
|
-
## getFriends
|
|
875
|
-
|
|
876
|
-
### Example Usage
|
|
877
|
-
|
|
878
|
-
```typescript
|
|
879
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
880
|
-
|
|
881
|
-
const steamSets = new SteamSets({
|
|
882
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
883
|
-
});
|
|
884
|
-
|
|
885
|
-
async function run() {
|
|
886
|
-
const result = await steamSets.account.getFriends({});
|
|
887
|
-
|
|
888
|
-
// Handle the result
|
|
889
|
-
console.log(result);
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
run();
|
|
893
|
-
```
|
|
894
|
-
|
|
895
|
-
### Standalone function
|
|
896
|
-
|
|
897
|
-
The standalone function version of this method:
|
|
898
|
-
|
|
899
|
-
```typescript
|
|
900
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
901
|
-
import { accountGetFriends } from "@steamsets/client-ts/funcs/accountGetFriends.js";
|
|
902
|
-
|
|
903
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
904
|
-
// You can create one instance of it to use across an application.
|
|
905
|
-
const steamSets = new SteamSetsCore({
|
|
906
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
907
|
-
});
|
|
908
|
-
|
|
909
|
-
async function run() {
|
|
910
|
-
const res = await accountGetFriends(steamSets, {});
|
|
911
|
-
|
|
912
|
-
if (!res.ok) {
|
|
913
|
-
throw res.error;
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
const { value: result } = res;
|
|
917
|
-
|
|
918
|
-
// Handle the result
|
|
919
|
-
console.log(result);
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
run();
|
|
923
|
-
```
|
|
924
|
-
|
|
925
|
-
### Parameters
|
|
926
|
-
|
|
927
|
-
| Parameter | Type | Required | Description |
|
|
928
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
929
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
930
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
931
|
-
| `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. |
|
|
932
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
933
|
-
|
|
934
|
-
### Response
|
|
935
|
-
|
|
936
|
-
**Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
|
|
937
|
-
|
|
938
|
-
### Errors
|
|
939
|
-
|
|
940
|
-
| Error Type | Status Code | Content Type |
|
|
941
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
942
|
-
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
943
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
944
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
945
|
-
|
|
946
|
-
## accountV1ImagesGet
|
|
947
|
-
|
|
948
|
-
### Example Usage
|
|
949
|
-
|
|
950
|
-
```typescript
|
|
951
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
952
|
-
|
|
953
|
-
const steamSets = new SteamSets({
|
|
954
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
955
|
-
});
|
|
956
|
-
|
|
957
|
-
async function run() {
|
|
958
|
-
const result = await steamSets.account.accountV1ImagesGet();
|
|
959
|
-
|
|
960
|
-
// Handle the result
|
|
961
|
-
console.log(result);
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
run();
|
|
965
|
-
```
|
|
966
|
-
|
|
967
|
-
### Standalone function
|
|
968
|
-
|
|
969
|
-
The standalone function version of this method:
|
|
970
|
-
|
|
971
|
-
```typescript
|
|
972
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
973
|
-
import { accountAccountV1ImagesGet } from "@steamsets/client-ts/funcs/accountAccountV1ImagesGet.js";
|
|
974
|
-
|
|
975
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
976
|
-
// You can create one instance of it to use across an application.
|
|
977
|
-
const steamSets = new SteamSetsCore({
|
|
978
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
979
|
-
});
|
|
980
|
-
|
|
981
|
-
async function run() {
|
|
982
|
-
const res = await accountAccountV1ImagesGet(steamSets);
|
|
983
|
-
|
|
984
|
-
if (!res.ok) {
|
|
985
|
-
throw res.error;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
const { value: result } = res;
|
|
989
|
-
|
|
990
|
-
// Handle the result
|
|
991
|
-
console.log(result);
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
run();
|
|
995
|
-
```
|
|
996
|
-
|
|
997
|
-
### Parameters
|
|
998
|
-
|
|
999
|
-
| Parameter | Type | Required | Description |
|
|
1000
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1001
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1002
|
-
| `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. |
|
|
1003
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1004
|
-
|
|
1005
|
-
### Response
|
|
1006
|
-
|
|
1007
|
-
**Promise\<[operations.AccountV1ImagesGetResponse](../../models/operations/accountv1imagesgetresponse.md)\>**
|
|
1008
|
-
|
|
1009
|
-
### Errors
|
|
1010
|
-
|
|
1011
|
-
| Error Type | Status Code | Content Type |
|
|
1012
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1013
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1014
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1015
|
-
|
|
1016
|
-
## getInfo
|
|
346
|
+
## getApps
|
|
1017
347
|
|
|
1018
348
|
### Example Usage
|
|
1019
349
|
|
|
@@ -1025,7 +355,7 @@ const steamSets = new SteamSets({
|
|
|
1025
355
|
});
|
|
1026
356
|
|
|
1027
357
|
async function run() {
|
|
1028
|
-
const result = await steamSets.account.
|
|
358
|
+
const result = await steamSets.account.getApps({});
|
|
1029
359
|
|
|
1030
360
|
// Handle the result
|
|
1031
361
|
console.log(result);
|
|
@@ -1040,7 +370,7 @@ The standalone function version of this method:
|
|
|
1040
370
|
|
|
1041
371
|
```typescript
|
|
1042
372
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1043
|
-
import {
|
|
373
|
+
import { accountGetApps } from "@steamsets/client-ts/funcs/accountGetApps.js";
|
|
1044
374
|
|
|
1045
375
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1046
376
|
// You can create one instance of it to use across an application.
|
|
@@ -1049,7 +379,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1049
379
|
});
|
|
1050
380
|
|
|
1051
381
|
async function run() {
|
|
1052
|
-
const res = await
|
|
382
|
+
const res = await accountGetApps(steamSets, {});
|
|
1053
383
|
|
|
1054
384
|
if (!res.ok) {
|
|
1055
385
|
throw res.error;
|
|
@@ -1068,24 +398,24 @@ run();
|
|
|
1068
398
|
|
|
1069
399
|
| Parameter | Type | Required | Description |
|
|
1070
400
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1071
|
-
| `request` | [components.
|
|
401
|
+
| `request` | [components.V1AccountsAppsRequestBody](../../models/components/v1accountsappsrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1072
402
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1073
403
|
| `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. |
|
|
1074
404
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1075
405
|
|
|
1076
406
|
### Response
|
|
1077
407
|
|
|
1078
|
-
**Promise\<[operations.
|
|
408
|
+
**Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
|
|
1079
409
|
|
|
1080
410
|
### Errors
|
|
1081
411
|
|
|
1082
412
|
| Error Type | Status Code | Content Type |
|
|
1083
413
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1084
|
-
| errors.ErrorModel | 403, 404, 422
|
|
414
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
1085
415
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1086
416
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1087
417
|
|
|
1088
|
-
##
|
|
418
|
+
## getBadges
|
|
1089
419
|
|
|
1090
420
|
### Example Usage
|
|
1091
421
|
|
|
@@ -1097,7 +427,7 @@ const steamSets = new SteamSets({
|
|
|
1097
427
|
});
|
|
1098
428
|
|
|
1099
429
|
async function run() {
|
|
1100
|
-
const result = await steamSets.account.
|
|
430
|
+
const result = await steamSets.account.getBadges({});
|
|
1101
431
|
|
|
1102
432
|
// Handle the result
|
|
1103
433
|
console.log(result);
|
|
@@ -1112,7 +442,7 @@ The standalone function version of this method:
|
|
|
1112
442
|
|
|
1113
443
|
```typescript
|
|
1114
444
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1115
|
-
import {
|
|
445
|
+
import { accountGetBadges } from "@steamsets/client-ts/funcs/accountGetBadges.js";
|
|
1116
446
|
|
|
1117
447
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1118
448
|
// You can create one instance of it to use across an application.
|
|
@@ -1121,7 +451,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1121
451
|
});
|
|
1122
452
|
|
|
1123
453
|
async function run() {
|
|
1124
|
-
const res = await
|
|
454
|
+
const res = await accountGetBadges(steamSets, {});
|
|
1125
455
|
|
|
1126
456
|
if (!res.ok) {
|
|
1127
457
|
throw res.error;
|
|
@@ -1140,14 +470,14 @@ run();
|
|
|
1140
470
|
|
|
1141
471
|
| Parameter | Type | Required | Description |
|
|
1142
472
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1143
|
-
| `request` | [components.
|
|
473
|
+
| `request` | [components.V1BadgesRequestBody](../../models/components/v1badgesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1144
474
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1145
475
|
| `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. |
|
|
1146
476
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1147
477
|
|
|
1148
478
|
### Response
|
|
1149
479
|
|
|
1150
|
-
**Promise\<[operations.
|
|
480
|
+
**Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
|
|
1151
481
|
|
|
1152
482
|
### Errors
|
|
1153
483
|
|
|
@@ -1157,7 +487,7 @@ run();
|
|
|
1157
487
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1158
488
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1159
489
|
|
|
1160
|
-
##
|
|
490
|
+
## getDataPoints
|
|
1161
491
|
|
|
1162
492
|
### Example Usage
|
|
1163
493
|
|
|
@@ -1169,7 +499,7 @@ const steamSets = new SteamSets({
|
|
|
1169
499
|
});
|
|
1170
500
|
|
|
1171
501
|
async function run() {
|
|
1172
|
-
const result = await steamSets.account.
|
|
502
|
+
const result = await steamSets.account.getDataPoints({});
|
|
1173
503
|
|
|
1174
504
|
// Handle the result
|
|
1175
505
|
console.log(result);
|
|
@@ -1184,7 +514,7 @@ The standalone function version of this method:
|
|
|
1184
514
|
|
|
1185
515
|
```typescript
|
|
1186
516
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1187
|
-
import {
|
|
517
|
+
import { accountGetDataPoints } from "@steamsets/client-ts/funcs/accountGetDataPoints.js";
|
|
1188
518
|
|
|
1189
519
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1190
520
|
// You can create one instance of it to use across an application.
|
|
@@ -1193,7 +523,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1193
523
|
});
|
|
1194
524
|
|
|
1195
525
|
async function run() {
|
|
1196
|
-
const res = await
|
|
526
|
+
const res = await accountGetDataPoints(steamSets, {});
|
|
1197
527
|
|
|
1198
528
|
if (!res.ok) {
|
|
1199
529
|
throw res.error;
|
|
@@ -1212,23 +542,24 @@ run();
|
|
|
1212
542
|
|
|
1213
543
|
| Parameter | Type | Required | Description |
|
|
1214
544
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
545
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1215
546
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1216
547
|
| `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. |
|
|
1217
548
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1218
549
|
|
|
1219
550
|
### Response
|
|
1220
551
|
|
|
1221
|
-
**Promise\<[operations.
|
|
552
|
+
**Promise\<[operations.AccountV1GetDataPointsResponse](../../models/operations/accountv1getdatapointsresponse.md)\>**
|
|
1222
553
|
|
|
1223
554
|
### Errors
|
|
1224
555
|
|
|
1225
556
|
| Error Type | Status Code | Content Type |
|
|
1226
557
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1227
|
-
| errors.ErrorModel | 403, 404
|
|
558
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
1228
559
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1229
560
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1230
561
|
|
|
1231
|
-
##
|
|
562
|
+
## getFriends
|
|
1232
563
|
|
|
1233
564
|
### Example Usage
|
|
1234
565
|
|
|
@@ -1240,7 +571,7 @@ const steamSets = new SteamSets({
|
|
|
1240
571
|
});
|
|
1241
572
|
|
|
1242
573
|
async function run() {
|
|
1243
|
-
const result = await steamSets.account.
|
|
574
|
+
const result = await steamSets.account.getFriends({});
|
|
1244
575
|
|
|
1245
576
|
// Handle the result
|
|
1246
577
|
console.log(result);
|
|
@@ -1255,7 +586,7 @@ The standalone function version of this method:
|
|
|
1255
586
|
|
|
1256
587
|
```typescript
|
|
1257
588
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1258
|
-
import {
|
|
589
|
+
import { accountGetFriends } from "@steamsets/client-ts/funcs/accountGetFriends.js";
|
|
1259
590
|
|
|
1260
591
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1261
592
|
// You can create one instance of it to use across an application.
|
|
@@ -1264,7 +595,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1264
595
|
});
|
|
1265
596
|
|
|
1266
597
|
async function run() {
|
|
1267
|
-
const res = await
|
|
598
|
+
const res = await accountGetFriends(steamSets, {});
|
|
1268
599
|
|
|
1269
600
|
if (!res.ok) {
|
|
1270
601
|
throw res.error;
|
|
@@ -1283,23 +614,24 @@ run();
|
|
|
1283
614
|
|
|
1284
615
|
| Parameter | Type | Required | Description |
|
|
1285
616
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
617
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1286
618
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1287
619
|
| `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. |
|
|
1288
620
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1289
621
|
|
|
1290
622
|
### Response
|
|
1291
623
|
|
|
1292
|
-
**Promise\<[operations.
|
|
624
|
+
**Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
|
|
1293
625
|
|
|
1294
626
|
### Errors
|
|
1295
627
|
|
|
1296
628
|
| Error Type | Status Code | Content Type |
|
|
1297
629
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1298
|
-
| errors.ErrorModel | 404,
|
|
630
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
1299
631
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1300
632
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1301
633
|
|
|
1302
|
-
##
|
|
634
|
+
## getInfo
|
|
1303
635
|
|
|
1304
636
|
### Example Usage
|
|
1305
637
|
|
|
@@ -1311,10 +643,7 @@ const steamSets = new SteamSets({
|
|
|
1311
643
|
});
|
|
1312
644
|
|
|
1313
645
|
async function run() {
|
|
1314
|
-
const result = await steamSets.account.
|
|
1315
|
-
code: "123456",
|
|
1316
|
-
connectionId: "123456",
|
|
1317
|
-
});
|
|
646
|
+
const result = await steamSets.account.getInfo({});
|
|
1318
647
|
|
|
1319
648
|
// Handle the result
|
|
1320
649
|
console.log(result);
|
|
@@ -1329,7 +658,7 @@ The standalone function version of this method:
|
|
|
1329
658
|
|
|
1330
659
|
```typescript
|
|
1331
660
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1332
|
-
import {
|
|
661
|
+
import { accountGetInfo } from "@steamsets/client-ts/funcs/accountGetInfo.js";
|
|
1333
662
|
|
|
1334
663
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1335
664
|
// You can create one instance of it to use across an application.
|
|
@@ -1338,10 +667,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1338
667
|
});
|
|
1339
668
|
|
|
1340
669
|
async function run() {
|
|
1341
|
-
const res = await
|
|
1342
|
-
code: "123456",
|
|
1343
|
-
connectionId: "123456",
|
|
1344
|
-
});
|
|
670
|
+
const res = await accountGetInfo(steamSets, {});
|
|
1345
671
|
|
|
1346
672
|
if (!res.ok) {
|
|
1347
673
|
throw res.error;
|
|
@@ -1360,24 +686,24 @@ run();
|
|
|
1360
686
|
|
|
1361
687
|
| Parameter | Type | Required | Description |
|
|
1362
688
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1363
|
-
| `request` | [components.
|
|
689
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1364
690
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1365
691
|
| `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. |
|
|
1366
692
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1367
693
|
|
|
1368
694
|
### Response
|
|
1369
695
|
|
|
1370
|
-
**Promise\<[operations.
|
|
696
|
+
**Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
|
|
1371
697
|
|
|
1372
698
|
### Errors
|
|
1373
699
|
|
|
1374
700
|
| Error Type | Status Code | Content Type |
|
|
1375
701
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1376
|
-
| errors.ErrorModel |
|
|
702
|
+
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1377
703
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1378
704
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1379
705
|
|
|
1380
|
-
##
|
|
706
|
+
## getLeaderboardHistory
|
|
1381
707
|
|
|
1382
708
|
### Example Usage
|
|
1383
709
|
|
|
@@ -1389,11 +715,7 @@ const steamSets = new SteamSets({
|
|
|
1389
715
|
});
|
|
1390
716
|
|
|
1391
717
|
async function run() {
|
|
1392
|
-
const result = await steamSets.account.
|
|
1393
|
-
images: [
|
|
1394
|
-
|
|
1395
|
-
],
|
|
1396
|
-
});
|
|
718
|
+
const result = await steamSets.account.getLeaderboardHistory({});
|
|
1397
719
|
|
|
1398
720
|
// Handle the result
|
|
1399
721
|
console.log(result);
|
|
@@ -1408,7 +730,7 @@ The standalone function version of this method:
|
|
|
1408
730
|
|
|
1409
731
|
```typescript
|
|
1410
732
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1411
|
-
import {
|
|
733
|
+
import { accountGetLeaderboardHistory } from "@steamsets/client-ts/funcs/accountGetLeaderboardHistory.js";
|
|
1412
734
|
|
|
1413
735
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1414
736
|
// You can create one instance of it to use across an application.
|
|
@@ -1417,11 +739,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1417
739
|
});
|
|
1418
740
|
|
|
1419
741
|
async function run() {
|
|
1420
|
-
const res = await
|
|
1421
|
-
images: [
|
|
1422
|
-
|
|
1423
|
-
],
|
|
1424
|
-
});
|
|
742
|
+
const res = await accountGetLeaderboardHistory(steamSets, {});
|
|
1425
743
|
|
|
1426
744
|
if (!res.ok) {
|
|
1427
745
|
throw res.error;
|
|
@@ -1440,24 +758,24 @@ run();
|
|
|
1440
758
|
|
|
1441
759
|
| Parameter | Type | Required | Description |
|
|
1442
760
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1443
|
-
| `request` | [components.
|
|
761
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1444
762
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1445
763
|
| `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. |
|
|
1446
764
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1447
765
|
|
|
1448
766
|
### Response
|
|
1449
767
|
|
|
1450
|
-
**Promise\<[operations.
|
|
768
|
+
**Promise\<[operations.AccountV1GetLeaderboardHistoryResponse](../../models/operations/accountv1getleaderboardhistoryresponse.md)\>**
|
|
1451
769
|
|
|
1452
770
|
### Errors
|
|
1453
771
|
|
|
1454
772
|
| Error Type | Status Code | Content Type |
|
|
1455
773
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1456
|
-
| errors.ErrorModel | 404, 422
|
|
774
|
+
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
1457
775
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1458
776
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1459
777
|
|
|
1460
|
-
##
|
|
778
|
+
## getStaff
|
|
1461
779
|
|
|
1462
780
|
### Example Usage
|
|
1463
781
|
|
|
@@ -1469,7 +787,7 @@ const steamSets = new SteamSets({
|
|
|
1469
787
|
});
|
|
1470
788
|
|
|
1471
789
|
async function run() {
|
|
1472
|
-
const result = await steamSets.account.
|
|
790
|
+
const result = await steamSets.account.getStaff();
|
|
1473
791
|
|
|
1474
792
|
// Handle the result
|
|
1475
793
|
console.log(result);
|
|
@@ -1484,7 +802,7 @@ The standalone function version of this method:
|
|
|
1484
802
|
|
|
1485
803
|
```typescript
|
|
1486
804
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1487
|
-
import {
|
|
805
|
+
import { accountGetStaff } from "@steamsets/client-ts/funcs/accountGetStaff.js";
|
|
1488
806
|
|
|
1489
807
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1490
808
|
// You can create one instance of it to use across an application.
|
|
@@ -1493,7 +811,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1493
811
|
});
|
|
1494
812
|
|
|
1495
813
|
async function run() {
|
|
1496
|
-
const res = await
|
|
814
|
+
const res = await accountGetStaff(steamSets);
|
|
1497
815
|
|
|
1498
816
|
if (!res.ok) {
|
|
1499
817
|
throw res.error;
|
|
@@ -1512,20 +830,19 @@ run();
|
|
|
1512
830
|
|
|
1513
831
|
| Parameter | Type | Required | Description |
|
|
1514
832
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1515
|
-
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1516
833
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1517
834
|
| `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. |
|
|
1518
835
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1519
836
|
|
|
1520
837
|
### Response
|
|
1521
838
|
|
|
1522
|
-
**Promise\<[operations.
|
|
839
|
+
**Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
|
|
1523
840
|
|
|
1524
841
|
### Errors
|
|
1525
842
|
|
|
1526
843
|
| Error Type | Status Code | Content Type |
|
|
1527
844
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1528
|
-
| errors.ErrorModel |
|
|
845
|
+
| errors.ErrorModel | 404, 429 | application/problem+json |
|
|
1529
846
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1530
847
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1531
848
|
|
|
@@ -1675,180 +992,6 @@ run();
|
|
|
1675
992
|
|
|
1676
993
|
### Errors
|
|
1677
994
|
|
|
1678
|
-
| Error Type | Status Code | Content Type |
|
|
1679
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1680
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1681
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1682
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1683
|
-
|
|
1684
|
-
## adminV1UpdateResources
|
|
1685
|
-
|
|
1686
|
-
### Example Usage
|
|
1687
|
-
|
|
1688
|
-
```typescript
|
|
1689
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1690
|
-
|
|
1691
|
-
const steamSets = new SteamSets({
|
|
1692
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1693
|
-
});
|
|
1694
|
-
|
|
1695
|
-
async function run() {
|
|
1696
|
-
const result = await steamSets.account.adminV1UpdateResources({
|
|
1697
|
-
newResources: [
|
|
1698
|
-
{
|
|
1699
|
-
resource: "max_leaderboard_entries",
|
|
1700
|
-
value: "1",
|
|
1701
|
-
},
|
|
1702
|
-
],
|
|
1703
|
-
resource: [
|
|
1704
|
-
"short_link_domain",
|
|
1705
|
-
"background",
|
|
1706
|
-
],
|
|
1707
|
-
});
|
|
1708
|
-
|
|
1709
|
-
// Handle the result
|
|
1710
|
-
console.log(result);
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
run();
|
|
1714
|
-
```
|
|
1715
|
-
|
|
1716
|
-
### Standalone function
|
|
1717
|
-
|
|
1718
|
-
The standalone function version of this method:
|
|
1719
|
-
|
|
1720
|
-
```typescript
|
|
1721
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1722
|
-
import { accountAdminV1UpdateResources } from "@steamsets/client-ts/funcs/accountAdminV1UpdateResources.js";
|
|
1723
|
-
|
|
1724
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1725
|
-
// You can create one instance of it to use across an application.
|
|
1726
|
-
const steamSets = new SteamSetsCore({
|
|
1727
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1728
|
-
});
|
|
1729
|
-
|
|
1730
|
-
async function run() {
|
|
1731
|
-
const res = await accountAdminV1UpdateResources(steamSets, {
|
|
1732
|
-
newResources: [
|
|
1733
|
-
{
|
|
1734
|
-
resource: "max_leaderboard_entries",
|
|
1735
|
-
value: "1",
|
|
1736
|
-
},
|
|
1737
|
-
],
|
|
1738
|
-
resource: [
|
|
1739
|
-
"short_link_domain",
|
|
1740
|
-
"background",
|
|
1741
|
-
],
|
|
1742
|
-
});
|
|
1743
|
-
|
|
1744
|
-
if (!res.ok) {
|
|
1745
|
-
throw res.error;
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
const { value: result } = res;
|
|
1749
|
-
|
|
1750
|
-
// Handle the result
|
|
1751
|
-
console.log(result);
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
run();
|
|
1755
|
-
```
|
|
1756
|
-
|
|
1757
|
-
### Parameters
|
|
1758
|
-
|
|
1759
|
-
| Parameter | Type | Required | Description |
|
|
1760
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1761
|
-
| `request` | [components.V1AdminUpdateResourcesRequestBody](../../models/components/v1adminupdateresourcesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1762
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1763
|
-
| `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. |
|
|
1764
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1765
|
-
|
|
1766
|
-
### Response
|
|
1767
|
-
|
|
1768
|
-
**Promise\<[operations.AdminV1UpdateResourcesResponse](../../models/operations/adminv1updateresourcesresponse.md)\>**
|
|
1769
|
-
|
|
1770
|
-
### Errors
|
|
1771
|
-
|
|
1772
|
-
| Error Type | Status Code | Content Type |
|
|
1773
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1774
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1775
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1776
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1777
|
-
|
|
1778
|
-
## adminV1UpdateRoles
|
|
1779
|
-
|
|
1780
|
-
### Example Usage
|
|
1781
|
-
|
|
1782
|
-
```typescript
|
|
1783
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1784
|
-
|
|
1785
|
-
const steamSets = new SteamSets({
|
|
1786
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1787
|
-
});
|
|
1788
|
-
|
|
1789
|
-
async function run() {
|
|
1790
|
-
const result = await steamSets.account.adminV1UpdateRoles({
|
|
1791
|
-
roles: [
|
|
1792
|
-
|
|
1793
|
-
],
|
|
1794
|
-
});
|
|
1795
|
-
|
|
1796
|
-
// Handle the result
|
|
1797
|
-
console.log(result);
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
run();
|
|
1801
|
-
```
|
|
1802
|
-
|
|
1803
|
-
### Standalone function
|
|
1804
|
-
|
|
1805
|
-
The standalone function version of this method:
|
|
1806
|
-
|
|
1807
|
-
```typescript
|
|
1808
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1809
|
-
import { accountAdminV1UpdateRoles } from "@steamsets/client-ts/funcs/accountAdminV1UpdateRoles.js";
|
|
1810
|
-
|
|
1811
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1812
|
-
// You can create one instance of it to use across an application.
|
|
1813
|
-
const steamSets = new SteamSetsCore({
|
|
1814
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1815
|
-
});
|
|
1816
|
-
|
|
1817
|
-
async function run() {
|
|
1818
|
-
const res = await accountAdminV1UpdateRoles(steamSets, {
|
|
1819
|
-
roles: [
|
|
1820
|
-
|
|
1821
|
-
],
|
|
1822
|
-
});
|
|
1823
|
-
|
|
1824
|
-
if (!res.ok) {
|
|
1825
|
-
throw res.error;
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
const { value: result } = res;
|
|
1829
|
-
|
|
1830
|
-
// Handle the result
|
|
1831
|
-
console.log(result);
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
|
-
run();
|
|
1835
|
-
```
|
|
1836
|
-
|
|
1837
|
-
### Parameters
|
|
1838
|
-
|
|
1839
|
-
| Parameter | Type | Required | Description |
|
|
1840
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1841
|
-
| `request` | [components.V1AdminUpdateRolessRequestBody](../../models/components/v1adminupdaterolessrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1842
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1843
|
-
| `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. |
|
|
1844
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1845
|
-
|
|
1846
|
-
### Response
|
|
1847
|
-
|
|
1848
|
-
**Promise\<[operations.AdminV1UpdateRolesResponse](../../models/operations/adminv1updaterolesresponse.md)\>**
|
|
1849
|
-
|
|
1850
|
-
### Errors
|
|
1851
|
-
|
|
1852
995
|
| Error Type | Status Code | Content Type |
|
|
1853
996
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1854
997
|
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|