@steamsets/client-ts 0.14.29 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/README.md +84 -92
- package/docs/sdks/account/README.md +18 -792
- 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 +32 -1125
- package/docs/sdks/settings/README.md +133 -50
- package/docs/sdks/stats/README.md +5 -5
- package/docs/sdks/webhooks/README.md +84 -0
- package/funcs/{adminAdminV1UpdateEvent.d.ts → adminUpdateResources.d.ts} +2 -2
- 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/{imagesAccountV1ImagesGet.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/{accountVerifyEmail.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/{internalVerifyEmail.d.ts → connectionReconnect.d.ts} +2 -2
- package/funcs/{internalVerifyEmail.d.ts.map → connectionReconnect.d.ts.map} +1 -1
- package/funcs/{accountAccountV1ConnectionReconnect.js → connectionReconnect.js} +3 -3
- package/funcs/{internalVerifyEmail.js.map → connectionReconnect.js.map} +1 -1
- package/funcs/{internalAccountV1ImagesGet.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/{statsStatsV1StatsGet.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/{accountAccountV1GetBadgeBookmarks.d.ts → settingsSendVerification.d.ts} +2 -2
- package/funcs/settingsSendVerification.d.ts.map +1 -0
- package/funcs/{accountSendEmailVerification.js → settingsSendVerification.js} +7 -7
- 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/{internalSendEmailVerification.js → settingsSubscribeEmail.js} +12 -10
- package/funcs/settingsSubscribeEmail.js.map +1 -0
- package/funcs/settingsUpdateRole.d.ts +11 -0
- package/funcs/{accountVerifyEmail.d.ts.map → settingsUpdateRole.d.ts.map} +1 -1
- package/funcs/{accountAccountV1SettingsUpdateRole.js → settingsUpdateRole.js} +3 -3
- package/funcs/{accountVerifyEmail.js.map → settingsUpdateRole.js.map} +1 -1
- package/funcs/settingsVerifyEmail.d.ts +1 -1
- package/funcs/settingsVerifyEmail.d.ts.map +1 -1
- package/funcs/settingsVerifyEmail.js +3 -3
- package/funcs/settingsVerifyEmail.js.map +1 -1
- 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/funcs/{adminAdminV1UpdateRoles.d.ts → webhooksResend.d.ts} +2 -4
- package/funcs/webhooksResend.d.ts.map +1 -0
- package/funcs/{internalAccountV1SettingsUpdateRole.js → webhooksResend.js} +18 -17
- package/funcs/webhooksResend.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/errormodel.d.ts +63 -0
- package/models/components/errormodel.d.ts.map +1 -0
- package/models/components/errormodel.js +81 -0
- package/models/components/errormodel.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1accountinforesponsebody.d.ts +3 -0
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountinforesponsebody.js +1 -0
- package/models/components/v1accountinforesponsebody.js.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.d.ts +37 -0
- package/models/components/v1emailsubscriptionrequestbody.d.ts.map +1 -0
- package/models/components/v1emailsubscriptionrequestbody.js +61 -0
- package/models/components/v1emailsubscriptionrequestbody.js.map +1 -0
- package/models/components/v1getsettingsbody.d.ts +5 -0
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +2 -0
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/operations/accountv1settingsemailsendverification.d.ts +61 -0
- package/models/operations/{accountv1settingssendemailverification.d.ts.map → accountv1settingsemailsendverification.d.ts.map} +1 -1
- package/models/operations/accountv1settingsemailsendverification.js +108 -0
- package/models/operations/{accountv1settingssendemailverification.js.map → accountv1settingsemailsendverification.js.map} +1 -1
- package/models/operations/accountv1settingsemailsubscribe.d.ts +63 -0
- package/models/operations/accountv1settingsemailsubscribe.d.ts.map +1 -0
- package/models/operations/accountv1settingsemailsubscribe.js +112 -0
- package/models/operations/accountv1settingsemailsubscribe.js.map +1 -0
- package/models/operations/accountv1settingsemailverify.d.ts +36 -0
- package/models/operations/accountv1settingsemailverify.d.ts.map +1 -0
- package/models/operations/{accountv1settingsverfyemail.js → accountv1settingsemailverify.js} +17 -17
- package/models/operations/accountv1settingsemailverify.js.map +1 -0
- package/models/operations/index.d.ts +4 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/resendwebhook.d.ts +66 -0
- package/models/operations/resendwebhook.d.ts.map +1 -0
- package/models/operations/resendwebhook.js +130 -0
- package/models/operations/resendwebhook.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +0 -10
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +0 -40
- 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 -14
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +0 -56
- package/sdk/internal.js.map +1 -1
- package/sdk/sdk.d.ts +14 -11
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +17 -13
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +4 -3
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +14 -10
- 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/sdk/webhooks.d.ts +6 -0
- package/sdk/webhooks.d.ts.map +1 -0
- package/sdk/webhooks.js +16 -0
- package/sdk/webhooks.js.map +1 -0
- 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/{accountSendEmailVerification.ts → settingsSendVerification.ts} +8 -8
- package/src/funcs/{settingsSendEmailVerification.ts → settingsSubscribeEmail.ts} +17 -13
- package/src/funcs/{accountAccountV1SettingsUpdateRole.ts → settingsUpdateRole.ts} +1 -1
- package/src/funcs/settingsVerifyEmail.ts +5 -5
- package/src/funcs/{externalStatsV1StatsGet.ts → statsGet.ts} +1 -1
- package/src/funcs/{internalSendEmailVerification.ts → webhooksResend.ts} +27 -30
- package/src/lib/config.ts +2 -2
- package/src/models/components/errormodel.ts +122 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/v1accountinforesponsebody.ts +1 -0
- package/src/models/components/v1emailsubscriptionrequestbody.ts +78 -0
- package/src/models/components/v1getsettingsbody.ts +7 -0
- package/src/models/operations/{accountv1settingssendemailverification.ts → accountv1settingsemailsendverification.ts} +46 -46
- package/src/models/operations/accountv1settingsemailsubscribe.ts +174 -0
- package/src/models/operations/{accountv1settingsverfyemail.ts → accountv1settingsemailverify.ts} +22 -22
- package/src/models/operations/index.ts +4 -2
- package/src/models/operations/resendwebhook.ts +179 -0
- package/src/sdk/account.ts +0 -114
- 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 -160
- package/src/sdk/sdk.ts +26 -20
- package/src/sdk/settings.ts +33 -21
- package/src/sdk/stats.ts +3 -3
- package/src/sdk/webhooks.ts +21 -0
- 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.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/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/accountSendEmailVerification.d.ts +0 -10
- package/funcs/accountSendEmailVerification.d.ts.map +0 -1
- package/funcs/accountSendEmailVerification.js.map +0 -1
- package/funcs/accountVerifyEmail.js +0 -113
- 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/badgeBadgeV1Search.d.ts.map +0 -1
- package/funcs/badgeBadgeV1Search.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 +0 -11
- 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/internalAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts.map +0 -1
- 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/internalSendEmailVerification.d.ts +0 -10
- package/funcs/internalSendEmailVerification.d.ts.map +0 -1
- package/funcs/internalSendEmailVerification.js.map +0 -1
- package/funcs/internalVerifyEmail.js +0 -113
- 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/settingsSendEmailVerification.d.ts +0 -10
- package/funcs/settingsSendEmailVerification.d.ts.map +0 -1
- package/funcs/settingsSendEmailVerification.js +0 -111
- package/funcs/settingsSendEmailVerification.js.map +0 -1
- package/funcs/statsStatsV1StatsGet.d.ts.map +0 -1
- package/funcs/statsStatsV1StatsGet.js.map +0 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +0 -61
- package/models/operations/accountv1settingssendemailverification.js +0 -108
- package/models/operations/accountv1settingsverfyemail.d.ts +0 -36
- package/models/operations/accountv1settingsverfyemail.d.ts.map +0 -1
- package/models/operations/accountv1settingsverfyemail.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/accountVerifyEmail.ts +0 -149
- 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/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/internalVerifyEmail.ts +0 -149
- package/src/funcs/settingsAccountV1SettingsUpdateRole.ts +0 -149
|
@@ -12,24 +12,14 @@ All Requests related to account(s) are grouped here.
|
|
|
12
12
|
* [deleteImages](#deleteimages)
|
|
13
13
|
* [updateApp](#updateapp)
|
|
14
14
|
* [getApps](#getapps)
|
|
15
|
-
* [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
|
|
16
15
|
* [getBadges](#getbadges)
|
|
17
16
|
* [getDataPoints](#getdatapoints)
|
|
18
17
|
* [getFriends](#getfriends)
|
|
19
|
-
* [accountV1ImagesGet](#accountv1imagesget)
|
|
20
18
|
* [getInfo](#getinfo)
|
|
21
19
|
* [getLeaderboardHistory](#getleaderboardhistory)
|
|
22
|
-
* [accountV1GetOwnedBadges](#accountv1getownedbadges)
|
|
23
20
|
* [getStaff](#getstaff)
|
|
24
|
-
* [accountV1ConnectionReconnect](#accountv1connectionreconnect)
|
|
25
|
-
* [sendEmailVerification](#sendemailverification)
|
|
26
|
-
* [accountV1ImagesUpdate](#accountv1imagesupdate)
|
|
27
|
-
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
28
21
|
* [uploadImages](#uploadimages)
|
|
29
|
-
* [verifyEmail](#verifyemail)
|
|
30
22
|
* [getAccount](#getaccount)
|
|
31
|
-
* [adminV1UpdateResources](#adminv1updateresources)
|
|
32
|
-
* [adminV1UpdateRoles](#adminv1updateroles)
|
|
33
23
|
|
|
34
24
|
## createDeveloperApp
|
|
35
25
|
|
|
@@ -425,77 +415,6 @@ run();
|
|
|
425
415
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
426
416
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
427
417
|
|
|
428
|
-
## accountV1GetBadgeBookmarks
|
|
429
|
-
|
|
430
|
-
### Example Usage
|
|
431
|
-
|
|
432
|
-
```typescript
|
|
433
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
434
|
-
|
|
435
|
-
const steamSets = new SteamSets({
|
|
436
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
437
|
-
});
|
|
438
|
-
|
|
439
|
-
async function run() {
|
|
440
|
-
const result = await steamSets.account.accountV1GetBadgeBookmarks();
|
|
441
|
-
|
|
442
|
-
// Handle the result
|
|
443
|
-
console.log(result);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
run();
|
|
447
|
-
```
|
|
448
|
-
|
|
449
|
-
### Standalone function
|
|
450
|
-
|
|
451
|
-
The standalone function version of this method:
|
|
452
|
-
|
|
453
|
-
```typescript
|
|
454
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
455
|
-
import { accountAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/accountAccountV1GetBadgeBookmarks.js";
|
|
456
|
-
|
|
457
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
458
|
-
// You can create one instance of it to use across an application.
|
|
459
|
-
const steamSets = new SteamSetsCore({
|
|
460
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
461
|
-
});
|
|
462
|
-
|
|
463
|
-
async function run() {
|
|
464
|
-
const res = await accountAccountV1GetBadgeBookmarks(steamSets);
|
|
465
|
-
|
|
466
|
-
if (!res.ok) {
|
|
467
|
-
throw res.error;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
const { value: result } = res;
|
|
471
|
-
|
|
472
|
-
// Handle the result
|
|
473
|
-
console.log(result);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
run();
|
|
477
|
-
```
|
|
478
|
-
|
|
479
|
-
### Parameters
|
|
480
|
-
|
|
481
|
-
| Parameter | Type | Required | Description |
|
|
482
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
483
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
484
|
-
| `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. |
|
|
485
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
486
|
-
|
|
487
|
-
### Response
|
|
488
|
-
|
|
489
|
-
**Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
|
|
490
|
-
|
|
491
|
-
### Errors
|
|
492
|
-
|
|
493
|
-
| Error Type | Status Code | Content Type |
|
|
494
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
495
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
496
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
497
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
498
|
-
|
|
499
418
|
## getBadges
|
|
500
419
|
|
|
501
420
|
### Example Usage
|
|
@@ -712,76 +631,6 @@ run();
|
|
|
712
631
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
713
632
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
714
633
|
|
|
715
|
-
## accountV1ImagesGet
|
|
716
|
-
|
|
717
|
-
### Example Usage
|
|
718
|
-
|
|
719
|
-
```typescript
|
|
720
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
721
|
-
|
|
722
|
-
const steamSets = new SteamSets({
|
|
723
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
724
|
-
});
|
|
725
|
-
|
|
726
|
-
async function run() {
|
|
727
|
-
const result = await steamSets.account.accountV1ImagesGet();
|
|
728
|
-
|
|
729
|
-
// Handle the result
|
|
730
|
-
console.log(result);
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
run();
|
|
734
|
-
```
|
|
735
|
-
|
|
736
|
-
### Standalone function
|
|
737
|
-
|
|
738
|
-
The standalone function version of this method:
|
|
739
|
-
|
|
740
|
-
```typescript
|
|
741
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
742
|
-
import { accountAccountV1ImagesGet } from "@steamsets/client-ts/funcs/accountAccountV1ImagesGet.js";
|
|
743
|
-
|
|
744
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
745
|
-
// You can create one instance of it to use across an application.
|
|
746
|
-
const steamSets = new SteamSetsCore({
|
|
747
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
748
|
-
});
|
|
749
|
-
|
|
750
|
-
async function run() {
|
|
751
|
-
const res = await accountAccountV1ImagesGet(steamSets);
|
|
752
|
-
|
|
753
|
-
if (!res.ok) {
|
|
754
|
-
throw res.error;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
const { value: result } = res;
|
|
758
|
-
|
|
759
|
-
// Handle the result
|
|
760
|
-
console.log(result);
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
run();
|
|
764
|
-
```
|
|
765
|
-
|
|
766
|
-
### Parameters
|
|
767
|
-
|
|
768
|
-
| Parameter | Type | Required | Description |
|
|
769
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
770
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
771
|
-
| `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. |
|
|
772
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
773
|
-
|
|
774
|
-
### Response
|
|
775
|
-
|
|
776
|
-
**Promise\<[operations.AccountV1ImagesGetResponse](../../models/operations/accountv1imagesgetresponse.md)\>**
|
|
777
|
-
|
|
778
|
-
### Errors
|
|
779
|
-
|
|
780
|
-
| Error Type | Status Code | Content Type |
|
|
781
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
782
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
783
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
784
|
-
|
|
785
634
|
## getInfo
|
|
786
635
|
|
|
787
636
|
### Example Usage
|
|
@@ -926,77 +775,6 @@ run();
|
|
|
926
775
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
927
776
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
928
777
|
|
|
929
|
-
## accountV1GetOwnedBadges
|
|
930
|
-
|
|
931
|
-
### Example Usage
|
|
932
|
-
|
|
933
|
-
```typescript
|
|
934
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
935
|
-
|
|
936
|
-
const steamSets = new SteamSets({
|
|
937
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
938
|
-
});
|
|
939
|
-
|
|
940
|
-
async function run() {
|
|
941
|
-
const result = await steamSets.account.accountV1GetOwnedBadges();
|
|
942
|
-
|
|
943
|
-
// Handle the result
|
|
944
|
-
console.log(result);
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
run();
|
|
948
|
-
```
|
|
949
|
-
|
|
950
|
-
### Standalone function
|
|
951
|
-
|
|
952
|
-
The standalone function version of this method:
|
|
953
|
-
|
|
954
|
-
```typescript
|
|
955
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
956
|
-
import { accountAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/accountAccountV1GetOwnedBadges.js";
|
|
957
|
-
|
|
958
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
959
|
-
// You can create one instance of it to use across an application.
|
|
960
|
-
const steamSets = new SteamSetsCore({
|
|
961
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
962
|
-
});
|
|
963
|
-
|
|
964
|
-
async function run() {
|
|
965
|
-
const res = await accountAccountV1GetOwnedBadges(steamSets);
|
|
966
|
-
|
|
967
|
-
if (!res.ok) {
|
|
968
|
-
throw res.error;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
const { value: result } = res;
|
|
972
|
-
|
|
973
|
-
// Handle the result
|
|
974
|
-
console.log(result);
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
run();
|
|
978
|
-
```
|
|
979
|
-
|
|
980
|
-
### Parameters
|
|
981
|
-
|
|
982
|
-
| Parameter | Type | Required | Description |
|
|
983
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
984
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
985
|
-
| `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. |
|
|
986
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
987
|
-
|
|
988
|
-
### Response
|
|
989
|
-
|
|
990
|
-
**Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
|
|
991
|
-
|
|
992
|
-
### Errors
|
|
993
|
-
|
|
994
|
-
| Error Type | Status Code | Content Type |
|
|
995
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
996
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
997
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
998
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
999
|
-
|
|
1000
778
|
## getStaff
|
|
1001
779
|
|
|
1002
780
|
### Example Usage
|
|
@@ -1068,7 +846,7 @@ run();
|
|
|
1068
846
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1069
847
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1070
848
|
|
|
1071
|
-
##
|
|
849
|
+
## uploadImages
|
|
1072
850
|
|
|
1073
851
|
### Example Usage
|
|
1074
852
|
|
|
@@ -1080,9 +858,10 @@ const steamSets = new SteamSets({
|
|
|
1080
858
|
});
|
|
1081
859
|
|
|
1082
860
|
async function run() {
|
|
1083
|
-
const result = await steamSets.account.
|
|
1084
|
-
|
|
1085
|
-
|
|
861
|
+
const result = await steamSets.account.uploadImages({
|
|
862
|
+
images: [
|
|
863
|
+
|
|
864
|
+
],
|
|
1086
865
|
});
|
|
1087
866
|
|
|
1088
867
|
// Handle the result
|
|
@@ -1098,7 +877,7 @@ The standalone function version of this method:
|
|
|
1098
877
|
|
|
1099
878
|
```typescript
|
|
1100
879
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1101
|
-
import {
|
|
880
|
+
import { accountUploadImages } from "@steamsets/client-ts/funcs/accountUploadImages.js";
|
|
1102
881
|
|
|
1103
882
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1104
883
|
// You can create one instance of it to use across an application.
|
|
@@ -1107,9 +886,10 @@ const steamSets = new SteamSetsCore({
|
|
|
1107
886
|
});
|
|
1108
887
|
|
|
1109
888
|
async function run() {
|
|
1110
|
-
const res = await
|
|
1111
|
-
|
|
1112
|
-
|
|
889
|
+
const res = await accountUploadImages(steamSets, {
|
|
890
|
+
images: [
|
|
891
|
+
|
|
892
|
+
],
|
|
1113
893
|
});
|
|
1114
894
|
|
|
1115
895
|
if (!res.ok) {
|
|
@@ -1129,24 +909,24 @@ run();
|
|
|
1129
909
|
|
|
1130
910
|
| Parameter | Type | Required | Description |
|
|
1131
911
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1132
|
-
| `request` | [components.
|
|
912
|
+
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1133
913
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1134
914
|
| `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. |
|
|
1135
915
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1136
916
|
|
|
1137
917
|
### Response
|
|
1138
918
|
|
|
1139
|
-
**Promise\<[operations.
|
|
919
|
+
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
1140
920
|
|
|
1141
921
|
### Errors
|
|
1142
922
|
|
|
1143
923
|
| Error Type | Status Code | Content Type |
|
|
1144
924
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1145
|
-
| errors.ErrorModel |
|
|
925
|
+
| errors.ErrorModel | 422 | application/problem+json |
|
|
1146
926
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1147
927
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1148
928
|
|
|
1149
|
-
##
|
|
929
|
+
## getAccount
|
|
1150
930
|
|
|
1151
931
|
### Example Usage
|
|
1152
932
|
|
|
@@ -1158,7 +938,7 @@ const steamSets = new SteamSets({
|
|
|
1158
938
|
});
|
|
1159
939
|
|
|
1160
940
|
async function run() {
|
|
1161
|
-
const result = await steamSets.account.
|
|
941
|
+
const result = await steamSets.account.getAccount({});
|
|
1162
942
|
|
|
1163
943
|
// Handle the result
|
|
1164
944
|
console.log(result);
|
|
@@ -1173,7 +953,7 @@ The standalone function version of this method:
|
|
|
1173
953
|
|
|
1174
954
|
```typescript
|
|
1175
955
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1176
|
-
import {
|
|
956
|
+
import { accountGetAccount } from "@steamsets/client-ts/funcs/accountGetAccount.js";
|
|
1177
957
|
|
|
1178
958
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1179
959
|
// You can create one instance of it to use across an application.
|
|
@@ -1182,7 +962,7 @@ const steamSets = new SteamSetsCore({
|
|
|
1182
962
|
});
|
|
1183
963
|
|
|
1184
964
|
async function run() {
|
|
1185
|
-
const res = await
|
|
965
|
+
const res = await accountGetAccount(steamSets, {});
|
|
1186
966
|
|
|
1187
967
|
if (!res.ok) {
|
|
1188
968
|
throw res.error;
|
|
@@ -1201,387 +981,7 @@ run();
|
|
|
1201
981
|
|
|
1202
982
|
| Parameter | Type | Required | Description |
|
|
1203
983
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1204
|
-
| `request` | [
|
|
1205
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1206
|
-
| `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. |
|
|
1207
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1208
|
-
|
|
1209
|
-
### Response
|
|
1210
|
-
|
|
1211
|
-
**Promise\<[operations.AccountV1SettingsSendEmailVerificationResponse](../../models/operations/accountv1settingssendemailverificationresponse.md)\>**
|
|
1212
|
-
|
|
1213
|
-
### Errors
|
|
1214
|
-
|
|
1215
|
-
| Error Type | Status Code | Content Type |
|
|
1216
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1217
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
1218
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1219
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1220
|
-
|
|
1221
|
-
## accountV1ImagesUpdate
|
|
1222
|
-
|
|
1223
|
-
### Example Usage
|
|
1224
|
-
|
|
1225
|
-
```typescript
|
|
1226
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1227
|
-
|
|
1228
|
-
const steamSets = new SteamSets({
|
|
1229
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1230
|
-
});
|
|
1231
|
-
|
|
1232
|
-
async function run() {
|
|
1233
|
-
const result = await steamSets.account.accountV1ImagesUpdate({
|
|
1234
|
-
images: [
|
|
1235
|
-
|
|
1236
|
-
],
|
|
1237
|
-
});
|
|
1238
|
-
|
|
1239
|
-
// Handle the result
|
|
1240
|
-
console.log(result);
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
run();
|
|
1244
|
-
```
|
|
1245
|
-
|
|
1246
|
-
### Standalone function
|
|
1247
|
-
|
|
1248
|
-
The standalone function version of this method:
|
|
1249
|
-
|
|
1250
|
-
```typescript
|
|
1251
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1252
|
-
import { accountAccountV1ImagesUpdate } from "@steamsets/client-ts/funcs/accountAccountV1ImagesUpdate.js";
|
|
1253
|
-
|
|
1254
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1255
|
-
// You can create one instance of it to use across an application.
|
|
1256
|
-
const steamSets = new SteamSetsCore({
|
|
1257
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1258
|
-
});
|
|
1259
|
-
|
|
1260
|
-
async function run() {
|
|
1261
|
-
const res = await accountAccountV1ImagesUpdate(steamSets, {
|
|
1262
|
-
images: [
|
|
1263
|
-
|
|
1264
|
-
],
|
|
1265
|
-
});
|
|
1266
|
-
|
|
1267
|
-
if (!res.ok) {
|
|
1268
|
-
throw res.error;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
const { value: result } = res;
|
|
1272
|
-
|
|
1273
|
-
// Handle the result
|
|
1274
|
-
console.log(result);
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
run();
|
|
1278
|
-
```
|
|
1279
|
-
|
|
1280
|
-
### Parameters
|
|
1281
|
-
|
|
1282
|
-
| Parameter | Type | Required | Description |
|
|
1283
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1284
|
-
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1285
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1286
|
-
| `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. |
|
|
1287
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1288
|
-
|
|
1289
|
-
### Response
|
|
1290
|
-
|
|
1291
|
-
**Promise\<[operations.AccountV1ImagesUpdateResponse](../../models/operations/accountv1imagesupdateresponse.md)\>**
|
|
1292
|
-
|
|
1293
|
-
### Errors
|
|
1294
|
-
|
|
1295
|
-
| Error Type | Status Code | Content Type |
|
|
1296
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1297
|
-
| errors.ErrorModel | 404, 422 | application/problem+json |
|
|
1298
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1299
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1300
|
-
|
|
1301
|
-
## accountV1SettingsUpdateRole
|
|
1302
|
-
|
|
1303
|
-
### Example Usage
|
|
1304
|
-
|
|
1305
|
-
```typescript
|
|
1306
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1307
|
-
|
|
1308
|
-
const steamSets = new SteamSets({
|
|
1309
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1310
|
-
});
|
|
1311
|
-
|
|
1312
|
-
async function run() {
|
|
1313
|
-
const result = await steamSets.account.accountV1SettingsUpdateRole({});
|
|
1314
|
-
|
|
1315
|
-
// Handle the result
|
|
1316
|
-
console.log(result);
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
run();
|
|
1320
|
-
```
|
|
1321
|
-
|
|
1322
|
-
### Standalone function
|
|
1323
|
-
|
|
1324
|
-
The standalone function version of this method:
|
|
1325
|
-
|
|
1326
|
-
```typescript
|
|
1327
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1328
|
-
import { accountAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/accountAccountV1SettingsUpdateRole.js";
|
|
1329
|
-
|
|
1330
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1331
|
-
// You can create one instance of it to use across an application.
|
|
1332
|
-
const steamSets = new SteamSetsCore({
|
|
1333
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1334
|
-
});
|
|
1335
|
-
|
|
1336
|
-
async function run() {
|
|
1337
|
-
const res = await accountAccountV1SettingsUpdateRole(steamSets, {});
|
|
1338
|
-
|
|
1339
|
-
if (!res.ok) {
|
|
1340
|
-
throw res.error;
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
const { value: result } = res;
|
|
1344
|
-
|
|
1345
|
-
// Handle the result
|
|
1346
|
-
console.log(result);
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
run();
|
|
1350
|
-
```
|
|
1351
|
-
|
|
1352
|
-
### Parameters
|
|
1353
|
-
|
|
1354
|
-
| Parameter | Type | Required | Description |
|
|
1355
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1356
|
-
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1357
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1358
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1359
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1360
|
-
|
|
1361
|
-
### Response
|
|
1362
|
-
|
|
1363
|
-
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
1364
|
-
|
|
1365
|
-
### Errors
|
|
1366
|
-
|
|
1367
|
-
| Error Type | Status Code | Content Type |
|
|
1368
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1369
|
-
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
1370
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1371
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1372
|
-
|
|
1373
|
-
## uploadImages
|
|
1374
|
-
|
|
1375
|
-
### Example Usage
|
|
1376
|
-
|
|
1377
|
-
```typescript
|
|
1378
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1379
|
-
|
|
1380
|
-
const steamSets = new SteamSets({
|
|
1381
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1382
|
-
});
|
|
1383
|
-
|
|
1384
|
-
async function run() {
|
|
1385
|
-
const result = await steamSets.account.uploadImages({
|
|
1386
|
-
images: [
|
|
1387
|
-
|
|
1388
|
-
],
|
|
1389
|
-
});
|
|
1390
|
-
|
|
1391
|
-
// Handle the result
|
|
1392
|
-
console.log(result);
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
run();
|
|
1396
|
-
```
|
|
1397
|
-
|
|
1398
|
-
### Standalone function
|
|
1399
|
-
|
|
1400
|
-
The standalone function version of this method:
|
|
1401
|
-
|
|
1402
|
-
```typescript
|
|
1403
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1404
|
-
import { accountUploadImages } from "@steamsets/client-ts/funcs/accountUploadImages.js";
|
|
1405
|
-
|
|
1406
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1407
|
-
// You can create one instance of it to use across an application.
|
|
1408
|
-
const steamSets = new SteamSetsCore({
|
|
1409
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1410
|
-
});
|
|
1411
|
-
|
|
1412
|
-
async function run() {
|
|
1413
|
-
const res = await accountUploadImages(steamSets, {
|
|
1414
|
-
images: [
|
|
1415
|
-
|
|
1416
|
-
],
|
|
1417
|
-
});
|
|
1418
|
-
|
|
1419
|
-
if (!res.ok) {
|
|
1420
|
-
throw res.error;
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
const { value: result } = res;
|
|
1424
|
-
|
|
1425
|
-
// Handle the result
|
|
1426
|
-
console.log(result);
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
run();
|
|
1430
|
-
```
|
|
1431
|
-
|
|
1432
|
-
### Parameters
|
|
1433
|
-
|
|
1434
|
-
| Parameter | Type | Required | Description |
|
|
1435
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1436
|
-
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1437
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1438
|
-
| `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. |
|
|
1439
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1440
|
-
|
|
1441
|
-
### Response
|
|
1442
|
-
|
|
1443
|
-
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
1444
|
-
|
|
1445
|
-
### Errors
|
|
1446
|
-
|
|
1447
|
-
| Error Type | Status Code | Content Type |
|
|
1448
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1449
|
-
| errors.ErrorModel | 422 | application/problem+json |
|
|
1450
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1451
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1452
|
-
|
|
1453
|
-
## verifyEmail
|
|
1454
|
-
|
|
1455
|
-
### Example Usage
|
|
1456
|
-
|
|
1457
|
-
```typescript
|
|
1458
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1459
|
-
|
|
1460
|
-
const steamSets = new SteamSets({
|
|
1461
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1462
|
-
});
|
|
1463
|
-
|
|
1464
|
-
async function run() {
|
|
1465
|
-
const result = await steamSets.account.verifyEmail({
|
|
1466
|
-
code: "123456",
|
|
1467
|
-
});
|
|
1468
|
-
|
|
1469
|
-
// Handle the result
|
|
1470
|
-
console.log(result);
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
run();
|
|
1474
|
-
```
|
|
1475
|
-
|
|
1476
|
-
### Standalone function
|
|
1477
|
-
|
|
1478
|
-
The standalone function version of this method:
|
|
1479
|
-
|
|
1480
|
-
```typescript
|
|
1481
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1482
|
-
import { accountVerifyEmail } from "@steamsets/client-ts/funcs/accountVerifyEmail.js";
|
|
1483
|
-
|
|
1484
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1485
|
-
// You can create one instance of it to use across an application.
|
|
1486
|
-
const steamSets = new SteamSetsCore({
|
|
1487
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1488
|
-
});
|
|
1489
|
-
|
|
1490
|
-
async function run() {
|
|
1491
|
-
const res = await accountVerifyEmail(steamSets, {
|
|
1492
|
-
code: "123456",
|
|
1493
|
-
});
|
|
1494
|
-
|
|
1495
|
-
if (!res.ok) {
|
|
1496
|
-
throw res.error;
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
const { value: result } = res;
|
|
1500
|
-
|
|
1501
|
-
// Handle the result
|
|
1502
|
-
console.log(result);
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
run();
|
|
1506
|
-
```
|
|
1507
|
-
|
|
1508
|
-
### Parameters
|
|
1509
|
-
|
|
1510
|
-
| Parameter | Type | Required | Description |
|
|
1511
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1512
|
-
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1513
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1514
|
-
| `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. |
|
|
1515
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1516
|
-
|
|
1517
|
-
### Response
|
|
1518
|
-
|
|
1519
|
-
**Promise\<[operations.AccountV1SettingsVerfyEmailResponse](../../models/operations/accountv1settingsverfyemailresponse.md)\>**
|
|
1520
|
-
|
|
1521
|
-
### Errors
|
|
1522
|
-
|
|
1523
|
-
| Error Type | Status Code | Content Type |
|
|
1524
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1525
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
1526
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1527
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1528
|
-
|
|
1529
|
-
## getAccount
|
|
1530
|
-
|
|
1531
|
-
### Example Usage
|
|
1532
|
-
|
|
1533
|
-
```typescript
|
|
1534
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1535
|
-
|
|
1536
|
-
const steamSets = new SteamSets({
|
|
1537
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1538
|
-
});
|
|
1539
|
-
|
|
1540
|
-
async function run() {
|
|
1541
|
-
const result = await steamSets.account.getAccount({});
|
|
1542
|
-
|
|
1543
|
-
// Handle the result
|
|
1544
|
-
console.log(result);
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
run();
|
|
1548
|
-
```
|
|
1549
|
-
|
|
1550
|
-
### Standalone function
|
|
1551
|
-
|
|
1552
|
-
The standalone function version of this method:
|
|
1553
|
-
|
|
1554
|
-
```typescript
|
|
1555
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1556
|
-
import { accountGetAccount } from "@steamsets/client-ts/funcs/accountGetAccount.js";
|
|
1557
|
-
|
|
1558
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1559
|
-
// You can create one instance of it to use across an application.
|
|
1560
|
-
const steamSets = new SteamSetsCore({
|
|
1561
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1562
|
-
});
|
|
1563
|
-
|
|
1564
|
-
async function run() {
|
|
1565
|
-
const res = await accountGetAccount(steamSets, {});
|
|
1566
|
-
|
|
1567
|
-
if (!res.ok) {
|
|
1568
|
-
throw res.error;
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
const { value: result } = res;
|
|
1572
|
-
|
|
1573
|
-
// Handle the result
|
|
1574
|
-
console.log(result);
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
run();
|
|
1578
|
-
```
|
|
1579
|
-
|
|
1580
|
-
### Parameters
|
|
1581
|
-
|
|
1582
|
-
| Parameter | Type | Required | Description |
|
|
1583
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1584
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
984
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1585
985
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1586
986
|
| `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. |
|
|
1587
987
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -1592,180 +992,6 @@ run();
|
|
|
1592
992
|
|
|
1593
993
|
### Errors
|
|
1594
994
|
|
|
1595
|
-
| Error Type | Status Code | Content Type |
|
|
1596
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1597
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1598
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1599
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1600
|
-
|
|
1601
|
-
## adminV1UpdateResources
|
|
1602
|
-
|
|
1603
|
-
### Example Usage
|
|
1604
|
-
|
|
1605
|
-
```typescript
|
|
1606
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1607
|
-
|
|
1608
|
-
const steamSets = new SteamSets({
|
|
1609
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1610
|
-
});
|
|
1611
|
-
|
|
1612
|
-
async function run() {
|
|
1613
|
-
const result = await steamSets.account.adminV1UpdateResources({
|
|
1614
|
-
newResources: [
|
|
1615
|
-
{
|
|
1616
|
-
resource: "max_leaderboard_entries",
|
|
1617
|
-
value: "1",
|
|
1618
|
-
},
|
|
1619
|
-
],
|
|
1620
|
-
resource: [
|
|
1621
|
-
"short_link_domain",
|
|
1622
|
-
"background",
|
|
1623
|
-
],
|
|
1624
|
-
});
|
|
1625
|
-
|
|
1626
|
-
// Handle the result
|
|
1627
|
-
console.log(result);
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
run();
|
|
1631
|
-
```
|
|
1632
|
-
|
|
1633
|
-
### Standalone function
|
|
1634
|
-
|
|
1635
|
-
The standalone function version of this method:
|
|
1636
|
-
|
|
1637
|
-
```typescript
|
|
1638
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1639
|
-
import { accountAdminV1UpdateResources } from "@steamsets/client-ts/funcs/accountAdminV1UpdateResources.js";
|
|
1640
|
-
|
|
1641
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1642
|
-
// You can create one instance of it to use across an application.
|
|
1643
|
-
const steamSets = new SteamSetsCore({
|
|
1644
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1645
|
-
});
|
|
1646
|
-
|
|
1647
|
-
async function run() {
|
|
1648
|
-
const res = await accountAdminV1UpdateResources(steamSets, {
|
|
1649
|
-
newResources: [
|
|
1650
|
-
{
|
|
1651
|
-
resource: "max_leaderboard_entries",
|
|
1652
|
-
value: "1",
|
|
1653
|
-
},
|
|
1654
|
-
],
|
|
1655
|
-
resource: [
|
|
1656
|
-
"short_link_domain",
|
|
1657
|
-
"background",
|
|
1658
|
-
],
|
|
1659
|
-
});
|
|
1660
|
-
|
|
1661
|
-
if (!res.ok) {
|
|
1662
|
-
throw res.error;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
const { value: result } = res;
|
|
1666
|
-
|
|
1667
|
-
// Handle the result
|
|
1668
|
-
console.log(result);
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
run();
|
|
1672
|
-
```
|
|
1673
|
-
|
|
1674
|
-
### Parameters
|
|
1675
|
-
|
|
1676
|
-
| Parameter | Type | Required | Description |
|
|
1677
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1678
|
-
| `request` | [components.V1AdminUpdateResourcesRequestBody](../../models/components/v1adminupdateresourcesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1679
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1680
|
-
| `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. |
|
|
1681
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1682
|
-
|
|
1683
|
-
### Response
|
|
1684
|
-
|
|
1685
|
-
**Promise\<[operations.AdminV1UpdateResourcesResponse](../../models/operations/adminv1updateresourcesresponse.md)\>**
|
|
1686
|
-
|
|
1687
|
-
### Errors
|
|
1688
|
-
|
|
1689
|
-
| Error Type | Status Code | Content Type |
|
|
1690
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1691
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1692
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1693
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1694
|
-
|
|
1695
|
-
## adminV1UpdateRoles
|
|
1696
|
-
|
|
1697
|
-
### Example Usage
|
|
1698
|
-
|
|
1699
|
-
```typescript
|
|
1700
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1701
|
-
|
|
1702
|
-
const steamSets = new SteamSets({
|
|
1703
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1704
|
-
});
|
|
1705
|
-
|
|
1706
|
-
async function run() {
|
|
1707
|
-
const result = await steamSets.account.adminV1UpdateRoles({
|
|
1708
|
-
roles: [
|
|
1709
|
-
|
|
1710
|
-
],
|
|
1711
|
-
});
|
|
1712
|
-
|
|
1713
|
-
// Handle the result
|
|
1714
|
-
console.log(result);
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
run();
|
|
1718
|
-
```
|
|
1719
|
-
|
|
1720
|
-
### Standalone function
|
|
1721
|
-
|
|
1722
|
-
The standalone function version of this method:
|
|
1723
|
-
|
|
1724
|
-
```typescript
|
|
1725
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1726
|
-
import { accountAdminV1UpdateRoles } from "@steamsets/client-ts/funcs/accountAdminV1UpdateRoles.js";
|
|
1727
|
-
|
|
1728
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1729
|
-
// You can create one instance of it to use across an application.
|
|
1730
|
-
const steamSets = new SteamSetsCore({
|
|
1731
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1732
|
-
});
|
|
1733
|
-
|
|
1734
|
-
async function run() {
|
|
1735
|
-
const res = await accountAdminV1UpdateRoles(steamSets, {
|
|
1736
|
-
roles: [
|
|
1737
|
-
|
|
1738
|
-
],
|
|
1739
|
-
});
|
|
1740
|
-
|
|
1741
|
-
if (!res.ok) {
|
|
1742
|
-
throw res.error;
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
const { value: result } = res;
|
|
1746
|
-
|
|
1747
|
-
// Handle the result
|
|
1748
|
-
console.log(result);
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
run();
|
|
1752
|
-
```
|
|
1753
|
-
|
|
1754
|
-
### Parameters
|
|
1755
|
-
|
|
1756
|
-
| Parameter | Type | Required | Description |
|
|
1757
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1758
|
-
| `request` | [components.V1AdminUpdateRolessRequestBody](../../models/components/v1adminupdaterolessrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1759
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1760
|
-
| `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. |
|
|
1761
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1762
|
-
|
|
1763
|
-
### Response
|
|
1764
|
-
|
|
1765
|
-
**Promise\<[operations.AdminV1UpdateRolesResponse](../../models/operations/adminv1updaterolesresponse.md)\>**
|
|
1766
|
-
|
|
1767
|
-
### Errors
|
|
1768
|
-
|
|
1769
995
|
| Error Type | Status Code | Content Type |
|
|
1770
996
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
1771
997
|
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|