@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
|
@@ -7,108 +7,16 @@ There requests are just document for documentations sake, they are not meant to
|
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
|
-
* [accountV1BookmarkBadge](#accountv1bookmarkbadge)
|
|
11
10
|
* [createDeveloperApp](#createdeveloperapp)
|
|
12
11
|
* [deleteDeveloperApp](#deletedeveloperapp)
|
|
13
12
|
* [deleteImages](#deleteimages)
|
|
14
13
|
* [updateApp](#updateapp)
|
|
15
|
-
* [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
|
|
16
|
-
* [accountV1ImagesGet](#accountv1imagesget)
|
|
17
|
-
* [accountV1GetOwnedBadges](#accountv1getownedbadges)
|
|
18
14
|
* [getStaff](#getstaff)
|
|
19
|
-
* [accountV1ConnectionReconnect](#accountv1connectionreconnect)
|
|
20
|
-
* [sendEmailVerification](#sendemailverification)
|
|
21
|
-
* [accountV1ImagesUpdate](#accountv1imagesupdate)
|
|
22
|
-
* [accountV1SettingsUpdateRole](#accountv1settingsupdaterole)
|
|
23
15
|
* [uploadImages](#uploadimages)
|
|
24
|
-
* [verifyEmail](#verifyemail)
|
|
25
16
|
* [getAccount](#getaccount)
|
|
26
|
-
* [adminV1GetEvents](#adminv1getevents)
|
|
27
|
-
* [adminV1UpdateEvent](#adminv1updateevent)
|
|
28
|
-
* [adminV1UpdateResources](#adminv1updateresources)
|
|
29
|
-
* [adminV1UpdateRoles](#adminv1updateroles)
|
|
30
17
|
* [getTags](#gettags)
|
|
31
|
-
* [badgeV1Search](#badgev1search)
|
|
32
18
|
* [check](#check) - Liveness check
|
|
33
19
|
|
|
34
|
-
## accountV1BookmarkBadge
|
|
35
|
-
|
|
36
|
-
### Example Usage
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
40
|
-
|
|
41
|
-
const steamSets = new SteamSets({
|
|
42
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
async function run() {
|
|
46
|
-
const result = await steamSets.internal.accountV1BookmarkBadge({
|
|
47
|
-
badgeId: "bdg_123",
|
|
48
|
-
bookmark: true,
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
// Handle the result
|
|
52
|
-
console.log(result);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
run();
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Standalone function
|
|
59
|
-
|
|
60
|
-
The standalone function version of this method:
|
|
61
|
-
|
|
62
|
-
```typescript
|
|
63
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
64
|
-
import { internalAccountV1BookmarkBadge } from "@steamsets/client-ts/funcs/internalAccountV1BookmarkBadge.js";
|
|
65
|
-
|
|
66
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
67
|
-
// You can create one instance of it to use across an application.
|
|
68
|
-
const steamSets = new SteamSetsCore({
|
|
69
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
async function run() {
|
|
73
|
-
const res = await internalAccountV1BookmarkBadge(steamSets, {
|
|
74
|
-
badgeId: "bdg_123",
|
|
75
|
-
bookmark: true,
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
if (!res.ok) {
|
|
79
|
-
throw res.error;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
const { value: result } = res;
|
|
83
|
-
|
|
84
|
-
// Handle the result
|
|
85
|
-
console.log(result);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
run();
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### Parameters
|
|
92
|
-
|
|
93
|
-
| Parameter | Type | Required | Description |
|
|
94
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
95
|
-
| `request` | [components.V1AccountBadgeBookmarkRequestBody](../../models/components/v1accountbadgebookmarkrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
96
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
97
|
-
| `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. |
|
|
98
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
99
|
-
|
|
100
|
-
### Response
|
|
101
|
-
|
|
102
|
-
**Promise\<[operations.AccountV1BookmarkBadgeResponse](../../models/operations/accountv1bookmarkbadgeresponse.md)\>**
|
|
103
|
-
|
|
104
|
-
### Errors
|
|
105
|
-
|
|
106
|
-
| Error Type | Status Code | Content Type |
|
|
107
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
108
|
-
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
109
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
110
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
111
|
-
|
|
112
20
|
## createDeveloperApp
|
|
113
21
|
|
|
114
22
|
### Example Usage
|
|
@@ -431,78 +339,7 @@ run();
|
|
|
431
339
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
432
340
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
433
341
|
|
|
434
|
-
##
|
|
435
|
-
|
|
436
|
-
### Example Usage
|
|
437
|
-
|
|
438
|
-
```typescript
|
|
439
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
440
|
-
|
|
441
|
-
const steamSets = new SteamSets({
|
|
442
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
443
|
-
});
|
|
444
|
-
|
|
445
|
-
async function run() {
|
|
446
|
-
const result = await steamSets.internal.accountV1GetBadgeBookmarks();
|
|
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 { internalAccountV1GetBadgeBookmarks } from "@steamsets/client-ts/funcs/internalAccountV1GetBadgeBookmarks.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 internalAccountV1GetBadgeBookmarks(steamSets);
|
|
471
|
-
|
|
472
|
-
if (!res.ok) {
|
|
473
|
-
throw res.error;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
const { value: result } = res;
|
|
477
|
-
|
|
478
|
-
// Handle the result
|
|
479
|
-
console.log(result);
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
run();
|
|
483
|
-
```
|
|
484
|
-
|
|
485
|
-
### Parameters
|
|
486
|
-
|
|
487
|
-
| Parameter | Type | Required | Description |
|
|
488
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
489
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
490
|
-
| `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. |
|
|
491
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
492
|
-
|
|
493
|
-
### Response
|
|
494
|
-
|
|
495
|
-
**Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
|
|
496
|
-
|
|
497
|
-
### Errors
|
|
498
|
-
|
|
499
|
-
| Error Type | Status Code | Content Type |
|
|
500
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
501
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
502
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
503
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
504
|
-
|
|
505
|
-
## accountV1ImagesGet
|
|
342
|
+
## getStaff
|
|
506
343
|
|
|
507
344
|
### Example Usage
|
|
508
345
|
|
|
@@ -514,7 +351,7 @@ const steamSets = new SteamSets({
|
|
|
514
351
|
});
|
|
515
352
|
|
|
516
353
|
async function run() {
|
|
517
|
-
const result = await steamSets.internal.
|
|
354
|
+
const result = await steamSets.internal.getStaff();
|
|
518
355
|
|
|
519
356
|
// Handle the result
|
|
520
357
|
console.log(result);
|
|
@@ -529,7 +366,7 @@ The standalone function version of this method:
|
|
|
529
366
|
|
|
530
367
|
```typescript
|
|
531
368
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
532
|
-
import {
|
|
369
|
+
import { internalGetStaff } from "@steamsets/client-ts/funcs/internalGetStaff.js";
|
|
533
370
|
|
|
534
371
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
535
372
|
// You can create one instance of it to use across an application.
|
|
@@ -538,7 +375,7 @@ const steamSets = new SteamSetsCore({
|
|
|
538
375
|
});
|
|
539
376
|
|
|
540
377
|
async function run() {
|
|
541
|
-
const res = await
|
|
378
|
+
const res = await internalGetStaff(steamSets);
|
|
542
379
|
|
|
543
380
|
if (!res.ok) {
|
|
544
381
|
throw res.error;
|
|
@@ -563,16 +400,17 @@ run();
|
|
|
563
400
|
|
|
564
401
|
### Response
|
|
565
402
|
|
|
566
|
-
**Promise\<[operations.
|
|
403
|
+
**Promise\<[operations.AccountV1GetStaffResponse](../../models/operations/accountv1getstaffresponse.md)\>**
|
|
567
404
|
|
|
568
405
|
### Errors
|
|
569
406
|
|
|
570
407
|
| Error Type | Status Code | Content Type |
|
|
571
408
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
409
|
+
| errors.ErrorModel | 404, 429 | application/problem+json |
|
|
572
410
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
573
411
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
574
412
|
|
|
575
|
-
##
|
|
413
|
+
## uploadImages
|
|
576
414
|
|
|
577
415
|
### Example Usage
|
|
578
416
|
|
|
@@ -584,78 +422,11 @@ const steamSets = new SteamSets({
|
|
|
584
422
|
});
|
|
585
423
|
|
|
586
424
|
async function run() {
|
|
587
|
-
const result = await steamSets.internal.
|
|
588
|
-
|
|
589
|
-
// Handle the result
|
|
590
|
-
console.log(result);
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
run();
|
|
594
|
-
```
|
|
595
|
-
|
|
596
|
-
### Standalone function
|
|
597
|
-
|
|
598
|
-
The standalone function version of this method:
|
|
599
|
-
|
|
600
|
-
```typescript
|
|
601
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
602
|
-
import { internalAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/internalAccountV1GetOwnedBadges.js";
|
|
603
|
-
|
|
604
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
605
|
-
// You can create one instance of it to use across an application.
|
|
606
|
-
const steamSets = new SteamSetsCore({
|
|
607
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
608
|
-
});
|
|
609
|
-
|
|
610
|
-
async function run() {
|
|
611
|
-
const res = await internalAccountV1GetOwnedBadges(steamSets);
|
|
612
|
-
|
|
613
|
-
if (!res.ok) {
|
|
614
|
-
throw res.error;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
const { value: result } = res;
|
|
618
|
-
|
|
619
|
-
// Handle the result
|
|
620
|
-
console.log(result);
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
run();
|
|
624
|
-
```
|
|
625
|
-
|
|
626
|
-
### Parameters
|
|
627
|
-
|
|
628
|
-
| Parameter | Type | Required | Description |
|
|
629
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
630
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
631
|
-
| `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. |
|
|
632
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
633
|
-
|
|
634
|
-
### Response
|
|
635
|
-
|
|
636
|
-
**Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
|
|
637
|
-
|
|
638
|
-
### Errors
|
|
639
|
-
|
|
640
|
-
| Error Type | Status Code | Content Type |
|
|
641
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
642
|
-
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
643
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
644
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
645
|
-
|
|
646
|
-
## getStaff
|
|
647
|
-
|
|
648
|
-
### Example Usage
|
|
649
|
-
|
|
650
|
-
```typescript
|
|
651
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
652
|
-
|
|
653
|
-
const steamSets = new SteamSets({
|
|
654
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
655
|
-
});
|
|
425
|
+
const result = await steamSets.internal.uploadImages({
|
|
426
|
+
images: [
|
|
656
427
|
|
|
657
|
-
|
|
658
|
-
|
|
428
|
+
],
|
|
429
|
+
});
|
|
659
430
|
|
|
660
431
|
// Handle the result
|
|
661
432
|
console.log(result);
|
|
@@ -670,7 +441,7 @@ The standalone function version of this method:
|
|
|
670
441
|
|
|
671
442
|
```typescript
|
|
672
443
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
673
|
-
import {
|
|
444
|
+
import { internalUploadImages } from "@steamsets/client-ts/funcs/internalUploadImages.js";
|
|
674
445
|
|
|
675
446
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
676
447
|
// You can create one instance of it to use across an application.
|
|
@@ -679,7 +450,11 @@ const steamSets = new SteamSetsCore({
|
|
|
679
450
|
});
|
|
680
451
|
|
|
681
452
|
async function run() {
|
|
682
|
-
const res = await
|
|
453
|
+
const res = await internalUploadImages(steamSets, {
|
|
454
|
+
images: [
|
|
455
|
+
|
|
456
|
+
],
|
|
457
|
+
});
|
|
683
458
|
|
|
684
459
|
if (!res.ok) {
|
|
685
460
|
throw res.error;
|
|
@@ -698,23 +473,24 @@ run();
|
|
|
698
473
|
|
|
699
474
|
| Parameter | Type | Required | Description |
|
|
700
475
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
476
|
+
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
701
477
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
702
478
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
703
479
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
704
480
|
|
|
705
481
|
### Response
|
|
706
482
|
|
|
707
|
-
**Promise\<[operations.
|
|
483
|
+
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
708
484
|
|
|
709
485
|
### Errors
|
|
710
486
|
|
|
711
487
|
| Error Type | Status Code | Content Type |
|
|
712
488
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
713
|
-
| errors.ErrorModel |
|
|
489
|
+
| errors.ErrorModel | 422 | application/problem+json |
|
|
714
490
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
715
491
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
716
492
|
|
|
717
|
-
##
|
|
493
|
+
## getAccount
|
|
718
494
|
|
|
719
495
|
### Example Usage
|
|
720
496
|
|
|
@@ -726,10 +502,7 @@ const steamSets = new SteamSets({
|
|
|
726
502
|
});
|
|
727
503
|
|
|
728
504
|
async function run() {
|
|
729
|
-
const result = await steamSets.internal.
|
|
730
|
-
code: "123456",
|
|
731
|
-
connectionId: "123456",
|
|
732
|
-
});
|
|
505
|
+
const result = await steamSets.internal.getAccount({});
|
|
733
506
|
|
|
734
507
|
// Handle the result
|
|
735
508
|
console.log(result);
|
|
@@ -744,7 +517,7 @@ The standalone function version of this method:
|
|
|
744
517
|
|
|
745
518
|
```typescript
|
|
746
519
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
747
|
-
import {
|
|
520
|
+
import { internalGetAccount } from "@steamsets/client-ts/funcs/internalGetAccount.js";
|
|
748
521
|
|
|
749
522
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
750
523
|
// You can create one instance of it to use across an application.
|
|
@@ -753,10 +526,7 @@ const steamSets = new SteamSetsCore({
|
|
|
753
526
|
});
|
|
754
527
|
|
|
755
528
|
async function run() {
|
|
756
|
-
const res = await
|
|
757
|
-
code: "123456",
|
|
758
|
-
connectionId: "123456",
|
|
759
|
-
});
|
|
529
|
+
const res = await internalGetAccount(steamSets, {});
|
|
760
530
|
|
|
761
531
|
if (!res.ok) {
|
|
762
532
|
throw res.error;
|
|
@@ -775,24 +545,24 @@ run();
|
|
|
775
545
|
|
|
776
546
|
| Parameter | Type | Required | Description |
|
|
777
547
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
778
|
-
| `request` | [components.
|
|
548
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
779
549
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
780
550
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
781
551
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
782
552
|
|
|
783
553
|
### Response
|
|
784
554
|
|
|
785
|
-
**Promise\<[operations.
|
|
555
|
+
**Promise\<[operations.AdminV1GetAccountResponse](../../models/operations/adminv1getaccountresponse.md)\>**
|
|
786
556
|
|
|
787
557
|
### Errors
|
|
788
558
|
|
|
789
559
|
| Error Type | Status Code | Content Type |
|
|
790
560
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
791
|
-
| errors.ErrorModel |
|
|
561
|
+
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
792
562
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
793
563
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
794
564
|
|
|
795
|
-
##
|
|
565
|
+
## getTags
|
|
796
566
|
|
|
797
567
|
### Example Usage
|
|
798
568
|
|
|
@@ -804,7 +574,7 @@ const steamSets = new SteamSets({
|
|
|
804
574
|
});
|
|
805
575
|
|
|
806
576
|
async function run() {
|
|
807
|
-
const result = await steamSets.internal.
|
|
577
|
+
const result = await steamSets.internal.getTags();
|
|
808
578
|
|
|
809
579
|
// Handle the result
|
|
810
580
|
console.log(result);
|
|
@@ -819,7 +589,7 @@ The standalone function version of this method:
|
|
|
819
589
|
|
|
820
590
|
```typescript
|
|
821
591
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
822
|
-
import {
|
|
592
|
+
import { internalGetTags } from "@steamsets/client-ts/funcs/internalGetTags.js";
|
|
823
593
|
|
|
824
594
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
825
595
|
// You can create one instance of it to use across an application.
|
|
@@ -828,7 +598,7 @@ const steamSets = new SteamSetsCore({
|
|
|
828
598
|
});
|
|
829
599
|
|
|
830
600
|
async function run() {
|
|
831
|
-
const res = await
|
|
601
|
+
const res = await internalGetTags(steamSets);
|
|
832
602
|
|
|
833
603
|
if (!res.ok) {
|
|
834
604
|
throw res.error;
|
|
@@ -847,798 +617,13 @@ run();
|
|
|
847
617
|
|
|
848
618
|
| Parameter | Type | Required | Description |
|
|
849
619
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
850
|
-
| `request` | [operations.AccountV1SettingsSendEmailVerificationRequest](../../models/operations/accountv1settingssendemailverificationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
851
620
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
852
621
|
| `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. |
|
|
853
622
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
854
623
|
|
|
855
624
|
### Response
|
|
856
625
|
|
|
857
|
-
**Promise\<[operations.
|
|
858
|
-
|
|
859
|
-
### Errors
|
|
860
|
-
|
|
861
|
-
| Error Type | Status Code | Content Type |
|
|
862
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
863
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
864
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
865
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
866
|
-
|
|
867
|
-
## accountV1ImagesUpdate
|
|
868
|
-
|
|
869
|
-
### Example Usage
|
|
870
|
-
|
|
871
|
-
```typescript
|
|
872
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
873
|
-
|
|
874
|
-
const steamSets = new SteamSets({
|
|
875
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
876
|
-
});
|
|
877
|
-
|
|
878
|
-
async function run() {
|
|
879
|
-
const result = await steamSets.internal.accountV1ImagesUpdate({
|
|
880
|
-
images: [
|
|
881
|
-
|
|
882
|
-
],
|
|
883
|
-
});
|
|
884
|
-
|
|
885
|
-
// Handle the result
|
|
886
|
-
console.log(result);
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
run();
|
|
890
|
-
```
|
|
891
|
-
|
|
892
|
-
### Standalone function
|
|
893
|
-
|
|
894
|
-
The standalone function version of this method:
|
|
895
|
-
|
|
896
|
-
```typescript
|
|
897
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
898
|
-
import { internalAccountV1ImagesUpdate } from "@steamsets/client-ts/funcs/internalAccountV1ImagesUpdate.js";
|
|
899
|
-
|
|
900
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
901
|
-
// You can create one instance of it to use across an application.
|
|
902
|
-
const steamSets = new SteamSetsCore({
|
|
903
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
904
|
-
});
|
|
905
|
-
|
|
906
|
-
async function run() {
|
|
907
|
-
const res = await internalAccountV1ImagesUpdate(steamSets, {
|
|
908
|
-
images: [
|
|
909
|
-
|
|
910
|
-
],
|
|
911
|
-
});
|
|
912
|
-
|
|
913
|
-
if (!res.ok) {
|
|
914
|
-
throw res.error;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
const { value: result } = res;
|
|
918
|
-
|
|
919
|
-
// Handle the result
|
|
920
|
-
console.log(result);
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
run();
|
|
924
|
-
```
|
|
925
|
-
|
|
926
|
-
### Parameters
|
|
927
|
-
|
|
928
|
-
| Parameter | Type | Required | Description |
|
|
929
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
930
|
-
| `request` | [components.V1UpdateImageRequestBody](../../models/components/v1updateimagerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
931
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
932
|
-
| `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. |
|
|
933
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
934
|
-
|
|
935
|
-
### Response
|
|
936
|
-
|
|
937
|
-
**Promise\<[operations.AccountV1ImagesUpdateResponse](../../models/operations/accountv1imagesupdateresponse.md)\>**
|
|
938
|
-
|
|
939
|
-
### Errors
|
|
940
|
-
|
|
941
|
-
| Error Type | Status Code | Content Type |
|
|
942
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
943
|
-
| errors.ErrorModel | 404, 422 | application/problem+json |
|
|
944
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
945
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
946
|
-
|
|
947
|
-
## accountV1SettingsUpdateRole
|
|
948
|
-
|
|
949
|
-
### Example Usage
|
|
950
|
-
|
|
951
|
-
```typescript
|
|
952
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
953
|
-
|
|
954
|
-
const steamSets = new SteamSets({
|
|
955
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
956
|
-
});
|
|
957
|
-
|
|
958
|
-
async function run() {
|
|
959
|
-
const result = await steamSets.internal.accountV1SettingsUpdateRole({});
|
|
960
|
-
|
|
961
|
-
// Handle the result
|
|
962
|
-
console.log(result);
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
run();
|
|
966
|
-
```
|
|
967
|
-
|
|
968
|
-
### Standalone function
|
|
969
|
-
|
|
970
|
-
The standalone function version of this method:
|
|
971
|
-
|
|
972
|
-
```typescript
|
|
973
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
974
|
-
import { internalAccountV1SettingsUpdateRole } from "@steamsets/client-ts/funcs/internalAccountV1SettingsUpdateRole.js";
|
|
975
|
-
|
|
976
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
977
|
-
// You can create one instance of it to use across an application.
|
|
978
|
-
const steamSets = new SteamSetsCore({
|
|
979
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
980
|
-
});
|
|
981
|
-
|
|
982
|
-
async function run() {
|
|
983
|
-
const res = await internalAccountV1SettingsUpdateRole(steamSets, {});
|
|
984
|
-
|
|
985
|
-
if (!res.ok) {
|
|
986
|
-
throw res.error;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
const { value: result } = res;
|
|
990
|
-
|
|
991
|
-
// Handle the result
|
|
992
|
-
console.log(result);
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
run();
|
|
996
|
-
```
|
|
997
|
-
|
|
998
|
-
### Parameters
|
|
999
|
-
|
|
1000
|
-
| Parameter | Type | Required | Description |
|
|
1001
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1002
|
-
| `request` | [components.V1UpdateRoleRequestBody](../../models/components/v1updaterolerequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1003
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1004
|
-
| `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. |
|
|
1005
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1006
|
-
|
|
1007
|
-
### Response
|
|
1008
|
-
|
|
1009
|
-
**Promise\<[operations.AccountV1SettingsUpdateRoleResponse](../../models/operations/accountv1settingsupdateroleresponse.md)\>**
|
|
1010
|
-
|
|
1011
|
-
### Errors
|
|
1012
|
-
|
|
1013
|
-
| Error Type | Status Code | Content Type |
|
|
1014
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1015
|
-
| errors.ErrorModel | 422, 429 | application/problem+json |
|
|
1016
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1017
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1018
|
-
|
|
1019
|
-
## uploadImages
|
|
1020
|
-
|
|
1021
|
-
### Example Usage
|
|
1022
|
-
|
|
1023
|
-
```typescript
|
|
1024
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1025
|
-
|
|
1026
|
-
const steamSets = new SteamSets({
|
|
1027
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1028
|
-
});
|
|
1029
|
-
|
|
1030
|
-
async function run() {
|
|
1031
|
-
const result = await steamSets.internal.uploadImages({
|
|
1032
|
-
images: [
|
|
1033
|
-
|
|
1034
|
-
],
|
|
1035
|
-
});
|
|
1036
|
-
|
|
1037
|
-
// Handle the result
|
|
1038
|
-
console.log(result);
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
run();
|
|
1042
|
-
```
|
|
1043
|
-
|
|
1044
|
-
### Standalone function
|
|
1045
|
-
|
|
1046
|
-
The standalone function version of this method:
|
|
1047
|
-
|
|
1048
|
-
```typescript
|
|
1049
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1050
|
-
import { internalUploadImages } from "@steamsets/client-ts/funcs/internalUploadImages.js";
|
|
1051
|
-
|
|
1052
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1053
|
-
// You can create one instance of it to use across an application.
|
|
1054
|
-
const steamSets = new SteamSetsCore({
|
|
1055
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1056
|
-
});
|
|
1057
|
-
|
|
1058
|
-
async function run() {
|
|
1059
|
-
const res = await internalUploadImages(steamSets, {
|
|
1060
|
-
images: [
|
|
1061
|
-
|
|
1062
|
-
],
|
|
1063
|
-
});
|
|
1064
|
-
|
|
1065
|
-
if (!res.ok) {
|
|
1066
|
-
throw res.error;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
const { value: result } = res;
|
|
1070
|
-
|
|
1071
|
-
// Handle the result
|
|
1072
|
-
console.log(result);
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
run();
|
|
1076
|
-
```
|
|
1077
|
-
|
|
1078
|
-
### Parameters
|
|
1079
|
-
|
|
1080
|
-
| Parameter | Type | Required | Description |
|
|
1081
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1082
|
-
| `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1083
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1084
|
-
| `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. |
|
|
1085
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1086
|
-
|
|
1087
|
-
### Response
|
|
1088
|
-
|
|
1089
|
-
**Promise\<[operations.AccountV1ImagesUploadResponse](../../models/operations/accountv1imagesuploadresponse.md)\>**
|
|
1090
|
-
|
|
1091
|
-
### Errors
|
|
1092
|
-
|
|
1093
|
-
| Error Type | Status Code | Content Type |
|
|
1094
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1095
|
-
| errors.ErrorModel | 422 | application/problem+json |
|
|
1096
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1097
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1098
|
-
|
|
1099
|
-
## verifyEmail
|
|
1100
|
-
|
|
1101
|
-
### Example Usage
|
|
1102
|
-
|
|
1103
|
-
```typescript
|
|
1104
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1105
|
-
|
|
1106
|
-
const steamSets = new SteamSets({
|
|
1107
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1108
|
-
});
|
|
1109
|
-
|
|
1110
|
-
async function run() {
|
|
1111
|
-
const result = await steamSets.internal.verifyEmail({
|
|
1112
|
-
code: "123456",
|
|
1113
|
-
});
|
|
1114
|
-
|
|
1115
|
-
// Handle the result
|
|
1116
|
-
console.log(result);
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
run();
|
|
1120
|
-
```
|
|
1121
|
-
|
|
1122
|
-
### Standalone function
|
|
1123
|
-
|
|
1124
|
-
The standalone function version of this method:
|
|
1125
|
-
|
|
1126
|
-
```typescript
|
|
1127
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1128
|
-
import { internalVerifyEmail } from "@steamsets/client-ts/funcs/internalVerifyEmail.js";
|
|
1129
|
-
|
|
1130
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1131
|
-
// You can create one instance of it to use across an application.
|
|
1132
|
-
const steamSets = new SteamSetsCore({
|
|
1133
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1134
|
-
});
|
|
1135
|
-
|
|
1136
|
-
async function run() {
|
|
1137
|
-
const res = await internalVerifyEmail(steamSets, {
|
|
1138
|
-
code: "123456",
|
|
1139
|
-
});
|
|
1140
|
-
|
|
1141
|
-
if (!res.ok) {
|
|
1142
|
-
throw res.error;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
const { value: result } = res;
|
|
1146
|
-
|
|
1147
|
-
// Handle the result
|
|
1148
|
-
console.log(result);
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
run();
|
|
1152
|
-
```
|
|
1153
|
-
|
|
1154
|
-
### Parameters
|
|
1155
|
-
|
|
1156
|
-
| Parameter | Type | Required | Description |
|
|
1157
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1158
|
-
| `request` | [components.V1VerifyEmailRequestBody](../../models/components/v1verifyemailrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1159
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1160
|
-
| `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. |
|
|
1161
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1162
|
-
|
|
1163
|
-
### Response
|
|
1164
|
-
|
|
1165
|
-
**Promise\<[operations.AccountV1SettingsVerfyEmailResponse](../../models/operations/accountv1settingsverfyemailresponse.md)\>**
|
|
1166
|
-
|
|
1167
|
-
### Errors
|
|
1168
|
-
|
|
1169
|
-
| Error Type | Status Code | Content Type |
|
|
1170
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1171
|
-
| errors.ErrorModel | 404, 422, 429 | application/problem+json |
|
|
1172
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1173
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1174
|
-
|
|
1175
|
-
## getAccount
|
|
1176
|
-
|
|
1177
|
-
### Example Usage
|
|
1178
|
-
|
|
1179
|
-
```typescript
|
|
1180
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1181
|
-
|
|
1182
|
-
const steamSets = new SteamSets({
|
|
1183
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1184
|
-
});
|
|
1185
|
-
|
|
1186
|
-
async function run() {
|
|
1187
|
-
const result = await steamSets.internal.getAccount({});
|
|
1188
|
-
|
|
1189
|
-
// Handle the result
|
|
1190
|
-
console.log(result);
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
run();
|
|
1194
|
-
```
|
|
1195
|
-
|
|
1196
|
-
### Standalone function
|
|
1197
|
-
|
|
1198
|
-
The standalone function version of this method:
|
|
1199
|
-
|
|
1200
|
-
```typescript
|
|
1201
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1202
|
-
import { internalGetAccount } from "@steamsets/client-ts/funcs/internalGetAccount.js";
|
|
1203
|
-
|
|
1204
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1205
|
-
// You can create one instance of it to use across an application.
|
|
1206
|
-
const steamSets = new SteamSetsCore({
|
|
1207
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1208
|
-
});
|
|
1209
|
-
|
|
1210
|
-
async function run() {
|
|
1211
|
-
const res = await internalGetAccount(steamSets, {});
|
|
1212
|
-
|
|
1213
|
-
if (!res.ok) {
|
|
1214
|
-
throw res.error;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
const { value: result } = res;
|
|
1218
|
-
|
|
1219
|
-
// Handle the result
|
|
1220
|
-
console.log(result);
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
run();
|
|
1224
|
-
```
|
|
1225
|
-
|
|
1226
|
-
### Parameters
|
|
1227
|
-
|
|
1228
|
-
| Parameter | Type | Required | Description |
|
|
1229
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1230
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1231
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1232
|
-
| `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. |
|
|
1233
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1234
|
-
|
|
1235
|
-
### Response
|
|
1236
|
-
|
|
1237
|
-
**Promise\<[operations.AdminV1GetAccountResponse](../../models/operations/adminv1getaccountresponse.md)\>**
|
|
1238
|
-
|
|
1239
|
-
### Errors
|
|
1240
|
-
|
|
1241
|
-
| Error Type | Status Code | Content Type |
|
|
1242
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1243
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1244
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1245
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1246
|
-
|
|
1247
|
-
## adminV1GetEvents
|
|
1248
|
-
|
|
1249
|
-
### Example Usage
|
|
1250
|
-
|
|
1251
|
-
```typescript
|
|
1252
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1253
|
-
|
|
1254
|
-
const steamSets = new SteamSets({
|
|
1255
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1256
|
-
});
|
|
1257
|
-
|
|
1258
|
-
async function run() {
|
|
1259
|
-
const result = await steamSets.internal.adminV1GetEvents();
|
|
1260
|
-
|
|
1261
|
-
// Handle the result
|
|
1262
|
-
console.log(result);
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
run();
|
|
1266
|
-
```
|
|
1267
|
-
|
|
1268
|
-
### Standalone function
|
|
1269
|
-
|
|
1270
|
-
The standalone function version of this method:
|
|
1271
|
-
|
|
1272
|
-
```typescript
|
|
1273
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1274
|
-
import { internalAdminV1GetEvents } from "@steamsets/client-ts/funcs/internalAdminV1GetEvents.js";
|
|
1275
|
-
|
|
1276
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1277
|
-
// You can create one instance of it to use across an application.
|
|
1278
|
-
const steamSets = new SteamSetsCore({
|
|
1279
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1280
|
-
});
|
|
1281
|
-
|
|
1282
|
-
async function run() {
|
|
1283
|
-
const res = await internalAdminV1GetEvents(steamSets);
|
|
1284
|
-
|
|
1285
|
-
if (!res.ok) {
|
|
1286
|
-
throw res.error;
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
const { value: result } = res;
|
|
1290
|
-
|
|
1291
|
-
// Handle the result
|
|
1292
|
-
console.log(result);
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
run();
|
|
1296
|
-
```
|
|
1297
|
-
|
|
1298
|
-
### Parameters
|
|
1299
|
-
|
|
1300
|
-
| Parameter | Type | Required | Description |
|
|
1301
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1302
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1303
|
-
| `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. |
|
|
1304
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1305
|
-
|
|
1306
|
-
### Response
|
|
1307
|
-
|
|
1308
|
-
**Promise\<[operations.AdminV1GetEventsResponse](../../models/operations/adminv1geteventsresponse.md)\>**
|
|
1309
|
-
|
|
1310
|
-
### Errors
|
|
1311
|
-
|
|
1312
|
-
| Error Type | Status Code | Content Type |
|
|
1313
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1314
|
-
| errors.ErrorModel | 403, 404, 429 | application/problem+json |
|
|
1315
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1316
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1317
|
-
|
|
1318
|
-
## adminV1UpdateEvent
|
|
1319
|
-
|
|
1320
|
-
### Example Usage
|
|
1321
|
-
|
|
1322
|
-
```typescript
|
|
1323
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1324
|
-
|
|
1325
|
-
const steamSets = new SteamSets({
|
|
1326
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1327
|
-
});
|
|
1328
|
-
|
|
1329
|
-
async function run() {
|
|
1330
|
-
const result = await steamSets.internal.adminV1UpdateEvent({
|
|
1331
|
-
eventId: "evt_123456",
|
|
1332
|
-
mappings: [
|
|
1333
|
-
{
|
|
1334
|
-
appId: 730,
|
|
1335
|
-
steamId: 76561198842603730,
|
|
1336
|
-
},
|
|
1337
|
-
],
|
|
1338
|
-
});
|
|
1339
|
-
|
|
1340
|
-
// Handle the result
|
|
1341
|
-
console.log(result);
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
run();
|
|
1345
|
-
```
|
|
1346
|
-
|
|
1347
|
-
### Standalone function
|
|
1348
|
-
|
|
1349
|
-
The standalone function version of this method:
|
|
1350
|
-
|
|
1351
|
-
```typescript
|
|
1352
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1353
|
-
import { internalAdminV1UpdateEvent } from "@steamsets/client-ts/funcs/internalAdminV1UpdateEvent.js";
|
|
1354
|
-
|
|
1355
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1356
|
-
// You can create one instance of it to use across an application.
|
|
1357
|
-
const steamSets = new SteamSetsCore({
|
|
1358
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1359
|
-
});
|
|
1360
|
-
|
|
1361
|
-
async function run() {
|
|
1362
|
-
const res = await internalAdminV1UpdateEvent(steamSets, {
|
|
1363
|
-
eventId: "evt_123456",
|
|
1364
|
-
mappings: [
|
|
1365
|
-
{
|
|
1366
|
-
appId: 730,
|
|
1367
|
-
steamId: 76561198842603730,
|
|
1368
|
-
},
|
|
1369
|
-
],
|
|
1370
|
-
});
|
|
1371
|
-
|
|
1372
|
-
if (!res.ok) {
|
|
1373
|
-
throw res.error;
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
const { value: result } = res;
|
|
1377
|
-
|
|
1378
|
-
// Handle the result
|
|
1379
|
-
console.log(result);
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
run();
|
|
1383
|
-
```
|
|
1384
|
-
|
|
1385
|
-
### Parameters
|
|
1386
|
-
|
|
1387
|
-
| Parameter | Type | Required | Description |
|
|
1388
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1389
|
-
| `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1390
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1391
|
-
| `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. |
|
|
1392
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1393
|
-
|
|
1394
|
-
### Response
|
|
1395
|
-
|
|
1396
|
-
**Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
|
|
1397
|
-
|
|
1398
|
-
### Errors
|
|
1399
|
-
|
|
1400
|
-
| Error Type | Status Code | Content Type |
|
|
1401
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1402
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1403
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1404
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1405
|
-
|
|
1406
|
-
## adminV1UpdateResources
|
|
1407
|
-
|
|
1408
|
-
### Example Usage
|
|
1409
|
-
|
|
1410
|
-
```typescript
|
|
1411
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1412
|
-
|
|
1413
|
-
const steamSets = new SteamSets({
|
|
1414
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1415
|
-
});
|
|
1416
|
-
|
|
1417
|
-
async function run() {
|
|
1418
|
-
const result = await steamSets.internal.adminV1UpdateResources({
|
|
1419
|
-
newResources: [
|
|
1420
|
-
{
|
|
1421
|
-
resource: "max_leaderboard_entries",
|
|
1422
|
-
value: "1",
|
|
1423
|
-
},
|
|
1424
|
-
],
|
|
1425
|
-
resource: [
|
|
1426
|
-
"short_link_domain",
|
|
1427
|
-
"background",
|
|
1428
|
-
],
|
|
1429
|
-
});
|
|
1430
|
-
|
|
1431
|
-
// Handle the result
|
|
1432
|
-
console.log(result);
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
run();
|
|
1436
|
-
```
|
|
1437
|
-
|
|
1438
|
-
### Standalone function
|
|
1439
|
-
|
|
1440
|
-
The standalone function version of this method:
|
|
1441
|
-
|
|
1442
|
-
```typescript
|
|
1443
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1444
|
-
import { internalAdminV1UpdateResources } from "@steamsets/client-ts/funcs/internalAdminV1UpdateResources.js";
|
|
1445
|
-
|
|
1446
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1447
|
-
// You can create one instance of it to use across an application.
|
|
1448
|
-
const steamSets = new SteamSetsCore({
|
|
1449
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1450
|
-
});
|
|
1451
|
-
|
|
1452
|
-
async function run() {
|
|
1453
|
-
const res = await internalAdminV1UpdateResources(steamSets, {
|
|
1454
|
-
newResources: [
|
|
1455
|
-
{
|
|
1456
|
-
resource: "max_leaderboard_entries",
|
|
1457
|
-
value: "1",
|
|
1458
|
-
},
|
|
1459
|
-
],
|
|
1460
|
-
resource: [
|
|
1461
|
-
"short_link_domain",
|
|
1462
|
-
"background",
|
|
1463
|
-
],
|
|
1464
|
-
});
|
|
1465
|
-
|
|
1466
|
-
if (!res.ok) {
|
|
1467
|
-
throw res.error;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
const { value: result } = res;
|
|
1471
|
-
|
|
1472
|
-
// Handle the result
|
|
1473
|
-
console.log(result);
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
run();
|
|
1477
|
-
```
|
|
1478
|
-
|
|
1479
|
-
### Parameters
|
|
1480
|
-
|
|
1481
|
-
| Parameter | Type | Required | Description |
|
|
1482
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1483
|
-
| `request` | [components.V1AdminUpdateResourcesRequestBody](../../models/components/v1adminupdateresourcesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1484
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1485
|
-
| `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. |
|
|
1486
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1487
|
-
|
|
1488
|
-
### Response
|
|
1489
|
-
|
|
1490
|
-
**Promise\<[operations.AdminV1UpdateResourcesResponse](../../models/operations/adminv1updateresourcesresponse.md)\>**
|
|
1491
|
-
|
|
1492
|
-
### Errors
|
|
1493
|
-
|
|
1494
|
-
| Error Type | Status Code | Content Type |
|
|
1495
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1496
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1497
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1498
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1499
|
-
|
|
1500
|
-
## adminV1UpdateRoles
|
|
1501
|
-
|
|
1502
|
-
### Example Usage
|
|
1503
|
-
|
|
1504
|
-
```typescript
|
|
1505
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1506
|
-
|
|
1507
|
-
const steamSets = new SteamSets({
|
|
1508
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1509
|
-
});
|
|
1510
|
-
|
|
1511
|
-
async function run() {
|
|
1512
|
-
const result = await steamSets.internal.adminV1UpdateRoles({
|
|
1513
|
-
roles: [
|
|
1514
|
-
|
|
1515
|
-
],
|
|
1516
|
-
});
|
|
1517
|
-
|
|
1518
|
-
// Handle the result
|
|
1519
|
-
console.log(result);
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
run();
|
|
1523
|
-
```
|
|
1524
|
-
|
|
1525
|
-
### Standalone function
|
|
1526
|
-
|
|
1527
|
-
The standalone function version of this method:
|
|
1528
|
-
|
|
1529
|
-
```typescript
|
|
1530
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1531
|
-
import { internalAdminV1UpdateRoles } from "@steamsets/client-ts/funcs/internalAdminV1UpdateRoles.js";
|
|
1532
|
-
|
|
1533
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1534
|
-
// You can create one instance of it to use across an application.
|
|
1535
|
-
const steamSets = new SteamSetsCore({
|
|
1536
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1537
|
-
});
|
|
1538
|
-
|
|
1539
|
-
async function run() {
|
|
1540
|
-
const res = await internalAdminV1UpdateRoles(steamSets, {
|
|
1541
|
-
roles: [
|
|
1542
|
-
|
|
1543
|
-
],
|
|
1544
|
-
});
|
|
1545
|
-
|
|
1546
|
-
if (!res.ok) {
|
|
1547
|
-
throw res.error;
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
const { value: result } = res;
|
|
1551
|
-
|
|
1552
|
-
// Handle the result
|
|
1553
|
-
console.log(result);
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
run();
|
|
1557
|
-
```
|
|
1558
|
-
|
|
1559
|
-
### Parameters
|
|
1560
|
-
|
|
1561
|
-
| Parameter | Type | Required | Description |
|
|
1562
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1563
|
-
| `request` | [components.V1AdminUpdateRolessRequestBody](../../models/components/v1adminupdaterolessrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1564
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1565
|
-
| `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. |
|
|
1566
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1567
|
-
|
|
1568
|
-
### Response
|
|
1569
|
-
|
|
1570
|
-
**Promise\<[operations.AdminV1UpdateRolesResponse](../../models/operations/adminv1updaterolesresponse.md)\>**
|
|
1571
|
-
|
|
1572
|
-
### Errors
|
|
1573
|
-
|
|
1574
|
-
| Error Type | Status Code | Content Type |
|
|
1575
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1576
|
-
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
1577
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1578
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1579
|
-
|
|
1580
|
-
## getTags
|
|
1581
|
-
|
|
1582
|
-
### Example Usage
|
|
1583
|
-
|
|
1584
|
-
```typescript
|
|
1585
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1586
|
-
|
|
1587
|
-
const steamSets = new SteamSets({
|
|
1588
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1589
|
-
});
|
|
1590
|
-
|
|
1591
|
-
async function run() {
|
|
1592
|
-
const result = await steamSets.internal.getTags();
|
|
1593
|
-
|
|
1594
|
-
// Handle the result
|
|
1595
|
-
console.log(result);
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
run();
|
|
1599
|
-
```
|
|
1600
|
-
|
|
1601
|
-
### Standalone function
|
|
1602
|
-
|
|
1603
|
-
The standalone function version of this method:
|
|
1604
|
-
|
|
1605
|
-
```typescript
|
|
1606
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1607
|
-
import { internalGetTags } from "@steamsets/client-ts/funcs/internalGetTags.js";
|
|
1608
|
-
|
|
1609
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1610
|
-
// You can create one instance of it to use across an application.
|
|
1611
|
-
const steamSets = new SteamSetsCore({
|
|
1612
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1613
|
-
});
|
|
1614
|
-
|
|
1615
|
-
async function run() {
|
|
1616
|
-
const res = await internalGetTags(steamSets);
|
|
1617
|
-
|
|
1618
|
-
if (!res.ok) {
|
|
1619
|
-
throw res.error;
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
const { value: result } = res;
|
|
1623
|
-
|
|
1624
|
-
// Handle the result
|
|
1625
|
-
console.log(result);
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
run();
|
|
1629
|
-
```
|
|
1630
|
-
|
|
1631
|
-
### Parameters
|
|
1632
|
-
|
|
1633
|
-
| Parameter | Type | Required | Description |
|
|
1634
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1635
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1636
|
-
| `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. |
|
|
1637
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1638
|
-
|
|
1639
|
-
### Response
|
|
1640
|
-
|
|
1641
|
-
**Promise\<[operations.BadgeV1TagsResponse](../../models/operations/badgev1tagsresponse.md)\>**
|
|
626
|
+
**Promise\<[operations.BadgeV1TagsResponse](../../models/operations/badgev1tagsresponse.md)\>**
|
|
1642
627
|
|
|
1643
628
|
### Errors
|
|
1644
629
|
|
|
@@ -1648,84 +633,6 @@ run();
|
|
|
1648
633
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
1649
634
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1650
635
|
|
|
1651
|
-
## badgeV1Search
|
|
1652
|
-
|
|
1653
|
-
### Example Usage
|
|
1654
|
-
|
|
1655
|
-
```typescript
|
|
1656
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
1657
|
-
|
|
1658
|
-
const steamSets = new SteamSets({
|
|
1659
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1660
|
-
});
|
|
1661
|
-
|
|
1662
|
-
async function run() {
|
|
1663
|
-
const result = await steamSets.internal.badgeV1Search({
|
|
1664
|
-
filter: "<value>",
|
|
1665
|
-
query: "<value>",
|
|
1666
|
-
});
|
|
1667
|
-
|
|
1668
|
-
// Handle the result
|
|
1669
|
-
console.log(result);
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
run();
|
|
1673
|
-
```
|
|
1674
|
-
|
|
1675
|
-
### Standalone function
|
|
1676
|
-
|
|
1677
|
-
The standalone function version of this method:
|
|
1678
|
-
|
|
1679
|
-
```typescript
|
|
1680
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
1681
|
-
import { internalBadgeV1Search } from "@steamsets/client-ts/funcs/internalBadgeV1Search.js";
|
|
1682
|
-
|
|
1683
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
1684
|
-
// You can create one instance of it to use across an application.
|
|
1685
|
-
const steamSets = new SteamSetsCore({
|
|
1686
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1687
|
-
});
|
|
1688
|
-
|
|
1689
|
-
async function run() {
|
|
1690
|
-
const res = await internalBadgeV1Search(steamSets, {
|
|
1691
|
-
filter: "<value>",
|
|
1692
|
-
query: "<value>",
|
|
1693
|
-
});
|
|
1694
|
-
|
|
1695
|
-
if (!res.ok) {
|
|
1696
|
-
throw res.error;
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
|
-
const { value: result } = res;
|
|
1700
|
-
|
|
1701
|
-
// Handle the result
|
|
1702
|
-
console.log(result);
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
run();
|
|
1706
|
-
```
|
|
1707
|
-
|
|
1708
|
-
### Parameters
|
|
1709
|
-
|
|
1710
|
-
| Parameter | Type | Required | Description |
|
|
1711
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1712
|
-
| `request` | [components.V1SearchRequest](../../models/components/v1searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1713
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1714
|
-
| `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. |
|
|
1715
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1716
|
-
|
|
1717
|
-
### Response
|
|
1718
|
-
|
|
1719
|
-
**Promise\<[operations.BadgeV1SearchResponse](../../models/operations/badgev1searchresponse.md)\>**
|
|
1720
|
-
|
|
1721
|
-
### Errors
|
|
1722
|
-
|
|
1723
|
-
| Error Type | Status Code | Content Type |
|
|
1724
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1725
|
-
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
1726
|
-
| errors.ErrorModel | 500 | application/problem+json |
|
|
1727
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1728
|
-
|
|
1729
636
|
## check
|
|
1730
637
|
|
|
1731
638
|
This endpoint checks if the service is alive.
|