@steamsets/client-ts 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +4 -4
- package/README.md +55 -152
- package/docs/sdks/account/README.md +47 -904
- package/docs/sdks/admin/README.md +10 -171
- package/docs/sdks/badge/README.md +0 -302
- package/docs/sdks/badges/README.md +302 -0
- package/docs/sdks/connection/README.md +5 -5
- package/docs/sdks/{event → events}/README.md +12 -12
- package/docs/sdks/external/README.md +5 -5
- package/docs/sdks/images/README.md +10 -10
- package/docs/sdks/internal/README.md +30 -1206
- package/docs/sdks/settings/README.md +21 -21
- package/docs/sdks/stats/README.md +5 -5
- package/docs/sdks/steamsets/README.md +0 -78
- package/funcs/adminUpdateResources.d.ts +11 -0
- package/funcs/adminUpdateResources.d.ts.map +1 -0
- package/funcs/{adminAdminV1UpdateResources.js → adminUpdateResources.js} +3 -3
- package/funcs/adminUpdateResources.js.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSendVerification.d.ts → adminUpdateRoles.d.ts} +3 -2
- package/funcs/adminUpdateRoles.d.ts.map +1 -0
- package/funcs/{adminAdminV1UpdateRoles.js → adminUpdateRoles.js} +3 -3
- package/funcs/adminUpdateRoles.js.map +1 -0
- package/funcs/{eventAdminV1UpdateEvent.d.ts → badgesBookmark.d.ts} +2 -2
- package/funcs/badgesBookmark.d.ts.map +1 -0
- package/funcs/{badgeAccountV1BookmarkBadge.js → badgesBookmark.js} +3 -3
- package/funcs/badgesBookmark.js.map +1 -0
- package/funcs/{internalAccountV1ConnectionReconnect.d.ts → badgesGetBookmarks.d.ts} +2 -3
- package/funcs/badgesGetBookmarks.d.ts.map +1 -0
- package/funcs/{badgeAccountV1GetBadgeBookmarks.js → badgesGetBookmarks.js} +3 -3
- package/funcs/badgesGetBookmarks.js.map +1 -0
- package/funcs/{adminAdminV1GetEvents.d.ts → badgesGetOwned.d.ts} +2 -2
- package/funcs/badgesGetOwned.d.ts.map +1 -0
- package/funcs/{badgeAccountV1GetOwnedBadges.js → badgesGetOwned.js} +3 -3
- package/funcs/badgesGetOwned.js.map +1 -0
- package/funcs/{badgeBadgeV1Search.d.ts → badgesSearch.d.ts} +2 -2
- package/funcs/badgesSearch.d.ts.map +1 -0
- package/funcs/{badgeBadgeV1Search.js → badgesSearch.js} +3 -3
- package/funcs/badgesSearch.js.map +1 -0
- package/funcs/{adminAdminV1UpdateEvent.d.ts → connectionReconnect.d.ts} +2 -2
- package/funcs/connectionReconnect.d.ts.map +1 -0
- package/funcs/{accountAccountV1ConnectionReconnect.js → connectionReconnect.js} +3 -3
- package/funcs/connectionReconnect.js.map +1 -0
- package/funcs/{imagesAccountV1ImagesGet.d.ts → eventsGet.d.ts} +2 -2
- package/funcs/eventsGet.d.ts.map +1 -0
- package/funcs/{eventAdminV1GetEvents.js → eventsGet.js} +3 -3
- package/funcs/eventsGet.js.map +1 -0
- package/funcs/eventsUpdate.d.ts +11 -0
- package/funcs/eventsUpdate.d.ts.map +1 -0
- package/funcs/{eventAdminV1UpdateEvent.js → eventsUpdate.js} +3 -3
- package/funcs/eventsUpdate.js.map +1 -0
- package/funcs/{internalAccountV1ImagesGet.d.ts → externalGet.d.ts} +2 -2
- package/funcs/externalGet.d.ts.map +1 -0
- package/funcs/{statsStatsV1StatsGet.js → externalGet.js} +3 -3
- package/funcs/externalGet.js.map +1 -0
- package/funcs/{internalBadgeV1Search.d.ts → imagesGet.d.ts} +2 -3
- package/funcs/imagesGet.d.ts.map +1 -0
- package/funcs/{imagesAccountV1ImagesGet.js → imagesGet.js} +3 -3
- package/funcs/imagesGet.js.map +1 -0
- package/funcs/imagesUpdate.d.ts +11 -0
- package/funcs/imagesUpdate.d.ts.map +1 -0
- package/funcs/{imagesAccountV1ImagesUpdate.js → imagesUpdate.js} +3 -3
- package/funcs/imagesUpdate.js.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSubscribe.d.ts → settingsSendVerification.d.ts} +2 -2
- package/funcs/settingsSendVerification.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSendVerification.js → settingsSendVerification.js} +3 -3
- package/funcs/settingsSendVerification.js.map +1 -0
- package/funcs/{badgeAccountV1BookmarkBadge.d.ts → settingsSubscribeEmail.d.ts} +2 -3
- package/funcs/settingsSubscribeEmail.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailSubscribe.js → settingsSubscribeEmail.js} +5 -5
- package/funcs/settingsSubscribeEmail.js.map +1 -0
- package/funcs/settingsUpdateRole.d.ts +11 -0
- package/funcs/{badgeBadgeV1Search.d.ts.map → settingsUpdateRole.d.ts.map} +1 -1
- package/funcs/{accountAccountV1SettingsUpdateRole.js → settingsUpdateRole.js} +3 -3
- package/funcs/{badgeBadgeV1Search.js.map → settingsUpdateRole.js.map} +1 -1
- package/funcs/{adminAdminV1UpdateRoles.d.ts → settingsVerifyEmail.d.ts} +2 -2
- package/funcs/settingsVerifyEmail.d.ts.map +1 -0
- package/funcs/{accountAccountV1SettingsEmailVerify.js → settingsVerifyEmail.js} +3 -3
- package/funcs/settingsVerifyEmail.js.map +1 -0
- package/funcs/{accountAccountV1ImagesGet.d.ts → statsGet.d.ts} +2 -2
- package/funcs/statsGet.d.ts.map +1 -0
- package/funcs/{externalStatsV1StatsGet.js → statsGet.js} +3 -3
- package/funcs/statsGet.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/connection.d.ts +3 -3
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/v1admingetaccountresponsebody.d.ts +13 -7
- package/models/components/v1admingetaccountresponsebody.d.ts.map +1 -1
- package/models/components/v1admingetaccountresponsebody.js +3 -0
- package/models/components/v1admingetaccountresponsebody.js.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.d.ts +3 -3
- package/models/components/v1emailsubscriptionrequestbody.d.ts.map +1 -1
- package/models/components/v1emailsubscriptionrequestbody.js +2 -2
- package/models/components/v1emailsubscriptionrequestbody.js.map +1 -1
- package/models/components/v1getsessionbody.d.ts +2 -2
- package/models/components/v1loginresponsebody.d.ts +2 -2
- package/models/components/v1updatesettingsrequestbody.d.ts +2 -2
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +2 -2
- package/models/components/v1updatesettingsrequestbody.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +0 -11
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +0 -44
- package/sdk/account.js.map +1 -1
- package/sdk/admin.d.ts +2 -4
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +6 -14
- package/sdk/admin.js.map +1 -1
- package/sdk/badge.d.ts +0 -5
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +0 -16
- package/sdk/badge.js.map +1 -1
- package/sdk/badges.d.ts +4 -0
- package/sdk/badges.d.ts.map +1 -1
- package/sdk/badges.js +16 -0
- package/sdk/badges.js.map +1 -1
- package/sdk/connection.d.ts +1 -1
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +3 -3
- package/sdk/connection.js.map +1 -1
- package/sdk/events.d.ts +8 -0
- package/sdk/events.d.ts.map +1 -0
- package/sdk/events.js +20 -0
- package/sdk/events.js.map +1 -0
- package/sdk/external.d.ts +1 -1
- package/sdk/external.d.ts.map +1 -1
- package/sdk/external.js +3 -3
- package/sdk/external.js.map +1 -1
- package/sdk/images.d.ts +2 -2
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +6 -6
- package/sdk/images.js.map +1 -1
- package/sdk/internal.d.ts +0 -15
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +0 -60
- package/sdk/internal.js.map +1 -1
- package/sdk/sdk.d.ts +10 -12
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +10 -15
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +4 -4
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +12 -12
- package/sdk/settings.js.map +1 -1
- package/sdk/stats.d.ts +1 -1
- package/sdk/stats.d.ts.map +1 -1
- package/sdk/stats.js +3 -3
- package/sdk/stats.js.map +1 -1
- package/src/funcs/{adminAdminV1UpdateResources.ts → adminUpdateResources.ts} +1 -1
- package/src/funcs/{adminAdminV1UpdateRoles.ts → adminUpdateRoles.ts} +1 -1
- package/src/funcs/{badgeAccountV1BookmarkBadge.ts → badgesBookmark.ts} +1 -1
- package/src/funcs/{badgeAccountV1GetBadgeBookmarks.ts → badgesGetBookmarks.ts} +1 -1
- package/src/funcs/{badgeAccountV1GetOwnedBadges.ts → badgesGetOwned.ts} +1 -1
- package/src/funcs/{badgeBadgeV1Search.ts → badgesSearch.ts} +1 -1
- package/src/funcs/{accountAccountV1ConnectionReconnect.ts → connectionReconnect.ts} +1 -1
- package/src/funcs/{adminAdminV1GetEvents.ts → eventsGet.ts} +1 -1
- package/src/funcs/{adminAdminV1UpdateEvent.ts → eventsUpdate.ts} +1 -1
- package/src/funcs/{statsStatsV1StatsGet.ts → externalGet.ts} +1 -1
- package/src/funcs/{imagesAccountV1ImagesGet.ts → imagesGet.ts} +1 -1
- package/src/funcs/{imagesAccountV1ImagesUpdate.ts → imagesUpdate.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsEmailSendVerification.ts → settingsSendVerification.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsEmailSubscribe.ts → settingsSubscribeEmail.ts} +3 -3
- package/src/funcs/{accountAccountV1SettingsUpdateRole.ts → settingsUpdateRole.ts} +1 -1
- package/src/funcs/{accountAccountV1SettingsEmailVerify.ts → settingsVerifyEmail.ts} +1 -1
- package/src/funcs/{externalStatsV1StatsGet.ts → statsGet.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/connection.ts +3 -3
- package/src/models/components/index.ts +0 -1
- package/src/models/components/v1admingetaccountresponsebody.ts +20 -7
- package/src/models/components/v1emailsubscriptionrequestbody.ts +5 -5
- package/src/models/components/v1getsessionbody.ts +2 -2
- package/src/models/components/v1loginresponsebody.ts +2 -2
- package/src/models/components/v1updatesettingsrequestbody.ts +4 -4
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/account.ts +0 -126
- package/src/sdk/admin.ts +6 -28
- package/src/sdk/badge.ts +0 -45
- package/src/sdk/badges.ts +44 -0
- package/src/sdk/connection.ts +3 -3
- package/src/sdk/{event.ts → events.ts} +7 -7
- package/src/sdk/external.ts +3 -3
- package/src/sdk/images.ts +6 -6
- package/src/sdk/internal.ts +0 -172
- package/src/sdk/sdk.ts +16 -30
- package/src/sdk/settings.ts +12 -12
- package/src/sdk/stats.ts +3 -3
- package/funcs/accountAccountV1ConnectionReconnect.d.ts +0 -11
- package/funcs/accountAccountV1ConnectionReconnect.d.ts.map +0 -1
- package/funcs/accountAccountV1ConnectionReconnect.js.map +0 -1
- package/funcs/accountAccountV1GetBadgeBookmarks.d.ts +0 -10
- package/funcs/accountAccountV1GetBadgeBookmarks.d.ts.map +0 -1
- package/funcs/accountAccountV1GetBadgeBookmarks.js +0 -102
- package/funcs/accountAccountV1GetBadgeBookmarks.js.map +0 -1
- package/funcs/accountAccountV1GetOwnedBadges.d.ts +0 -10
- package/funcs/accountAccountV1GetOwnedBadges.d.ts.map +0 -1
- package/funcs/accountAccountV1GetOwnedBadges.js +0 -102
- package/funcs/accountAccountV1GetOwnedBadges.js.map +0 -1
- package/funcs/accountAccountV1ImagesGet.d.ts.map +0 -1
- package/funcs/accountAccountV1ImagesGet.js +0 -100
- package/funcs/accountAccountV1ImagesGet.js.map +0 -1
- package/funcs/accountAccountV1ImagesUpdate.d.ts +0 -11
- package/funcs/accountAccountV1ImagesUpdate.d.ts.map +0 -1
- package/funcs/accountAccountV1ImagesUpdate.js +0 -113
- package/funcs/accountAccountV1ImagesUpdate.js.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSendVerification.js.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsEmailSubscribe.js.map +0 -1
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts +0 -11
- package/funcs/accountAccountV1SettingsEmailVerify.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsEmailVerify.js.map +0 -1
- package/funcs/accountAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/accountAccountV1SettingsUpdateRole.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsUpdateRole.js.map +0 -1
- package/funcs/accountAdminV1UpdateResources.d.ts +0 -11
- package/funcs/accountAdminV1UpdateResources.d.ts.map +0 -1
- package/funcs/accountAdminV1UpdateResources.js +0 -111
- package/funcs/accountAdminV1UpdateResources.js.map +0 -1
- package/funcs/accountAdminV1UpdateRoles.d.ts +0 -11
- package/funcs/accountAdminV1UpdateRoles.d.ts.map +0 -1
- package/funcs/accountAdminV1UpdateRoles.js +0 -111
- package/funcs/accountAdminV1UpdateRoles.js.map +0 -1
- package/funcs/adminAdminV1GetEvents.d.ts.map +0 -1
- package/funcs/adminAdminV1GetEvents.js +0 -102
- package/funcs/adminAdminV1GetEvents.js.map +0 -1
- package/funcs/adminAdminV1UpdateEvent.d.ts.map +0 -1
- package/funcs/adminAdminV1UpdateEvent.js +0 -113
- package/funcs/adminAdminV1UpdateEvent.js.map +0 -1
- package/funcs/adminAdminV1UpdateResources.d.ts +0 -11
- package/funcs/adminAdminV1UpdateResources.d.ts.map +0 -1
- package/funcs/adminAdminV1UpdateResources.js.map +0 -1
- package/funcs/adminAdminV1UpdateRoles.d.ts.map +0 -1
- package/funcs/adminAdminV1UpdateRoles.js.map +0 -1
- package/funcs/badgeAccountV1BookmarkBadge.d.ts.map +0 -1
- package/funcs/badgeAccountV1BookmarkBadge.js.map +0 -1
- package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts +0 -10
- package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts.map +0 -1
- package/funcs/badgeAccountV1GetBadgeBookmarks.js.map +0 -1
- package/funcs/badgeAccountV1GetOwnedBadges.d.ts +0 -10
- package/funcs/badgeAccountV1GetOwnedBadges.d.ts.map +0 -1
- package/funcs/badgeAccountV1GetOwnedBadges.js.map +0 -1
- package/funcs/connectionAccountV1ConnectionReconnect.d.ts +0 -11
- package/funcs/connectionAccountV1ConnectionReconnect.d.ts.map +0 -1
- package/funcs/connectionAccountV1ConnectionReconnect.js +0 -113
- package/funcs/connectionAccountV1ConnectionReconnect.js.map +0 -1
- package/funcs/eventAdminV1GetEvents.d.ts +0 -10
- package/funcs/eventAdminV1GetEvents.d.ts.map +0 -1
- package/funcs/eventAdminV1GetEvents.js.map +0 -1
- package/funcs/eventAdminV1UpdateEvent.d.ts.map +0 -1
- package/funcs/eventAdminV1UpdateEvent.js.map +0 -1
- package/funcs/externalStatsV1StatsGet.d.ts +0 -10
- package/funcs/externalStatsV1StatsGet.d.ts.map +0 -1
- package/funcs/externalStatsV1StatsGet.js.map +0 -1
- package/funcs/imagesAccountV1ImagesGet.d.ts.map +0 -1
- package/funcs/imagesAccountV1ImagesGet.js.map +0 -1
- package/funcs/imagesAccountV1ImagesUpdate.d.ts +0 -11
- package/funcs/imagesAccountV1ImagesUpdate.d.ts.map +0 -1
- package/funcs/imagesAccountV1ImagesUpdate.js.map +0 -1
- package/funcs/internalAccountV1BookmarkBadge.d.ts +0 -11
- package/funcs/internalAccountV1BookmarkBadge.d.ts.map +0 -1
- package/funcs/internalAccountV1BookmarkBadge.js +0 -113
- package/funcs/internalAccountV1BookmarkBadge.js.map +0 -1
- package/funcs/internalAccountV1ConnectionReconnect.d.ts.map +0 -1
- package/funcs/internalAccountV1ConnectionReconnect.js +0 -113
- package/funcs/internalAccountV1ConnectionReconnect.js.map +0 -1
- package/funcs/internalAccountV1GetBadgeBookmarks.d.ts +0 -10
- package/funcs/internalAccountV1GetBadgeBookmarks.d.ts.map +0 -1
- package/funcs/internalAccountV1GetBadgeBookmarks.js +0 -102
- package/funcs/internalAccountV1GetBadgeBookmarks.js.map +0 -1
- package/funcs/internalAccountV1GetOwnedBadges.d.ts +0 -10
- package/funcs/internalAccountV1GetOwnedBadges.d.ts.map +0 -1
- package/funcs/internalAccountV1GetOwnedBadges.js +0 -102
- package/funcs/internalAccountV1GetOwnedBadges.js.map +0 -1
- package/funcs/internalAccountV1ImagesGet.d.ts.map +0 -1
- package/funcs/internalAccountV1ImagesGet.js +0 -100
- package/funcs/internalAccountV1ImagesGet.js.map +0 -1
- package/funcs/internalAccountV1ImagesUpdate.d.ts +0 -11
- package/funcs/internalAccountV1ImagesUpdate.d.ts.map +0 -1
- package/funcs/internalAccountV1ImagesUpdate.js +0 -113
- package/funcs/internalAccountV1ImagesUpdate.js.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts +0 -10
- package/funcs/internalAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSendVerification.js +0 -111
- package/funcs/internalAccountV1SettingsEmailSendVerification.js.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts +0 -10
- package/funcs/internalAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsEmailSubscribe.js +0 -113
- package/funcs/internalAccountV1SettingsEmailSubscribe.js.map +0 -1
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts +0 -11
- package/funcs/internalAccountV1SettingsEmailVerify.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsEmailVerify.js +0 -113
- package/funcs/internalAccountV1SettingsEmailVerify.js.map +0 -1
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/internalAccountV1SettingsUpdateRole.d.ts.map +0 -1
- package/funcs/internalAccountV1SettingsUpdateRole.js +0 -113
- package/funcs/internalAccountV1SettingsUpdateRole.js.map +0 -1
- package/funcs/internalAdminV1GetEvents.d.ts +0 -10
- package/funcs/internalAdminV1GetEvents.d.ts.map +0 -1
- package/funcs/internalAdminV1GetEvents.js +0 -102
- package/funcs/internalAdminV1GetEvents.js.map +0 -1
- package/funcs/internalAdminV1UpdateEvent.d.ts +0 -11
- package/funcs/internalAdminV1UpdateEvent.d.ts.map +0 -1
- package/funcs/internalAdminV1UpdateEvent.js +0 -113
- package/funcs/internalAdminV1UpdateEvent.js.map +0 -1
- package/funcs/internalAdminV1UpdateResources.d.ts +0 -11
- package/funcs/internalAdminV1UpdateResources.d.ts.map +0 -1
- package/funcs/internalAdminV1UpdateResources.js +0 -111
- package/funcs/internalAdminV1UpdateResources.js.map +0 -1
- package/funcs/internalAdminV1UpdateRoles.d.ts +0 -11
- package/funcs/internalAdminV1UpdateRoles.d.ts.map +0 -1
- package/funcs/internalAdminV1UpdateRoles.js +0 -111
- package/funcs/internalAdminV1UpdateRoles.js.map +0 -1
- package/funcs/internalBadgeV1Search.d.ts.map +0 -1
- package/funcs/internalBadgeV1Search.js +0 -113
- package/funcs/internalBadgeV1Search.js.map +0 -1
- package/funcs/resendWebhook.d.ts +0 -9
- package/funcs/resendWebhook.d.ts.map +0 -1
- package/funcs/resendWebhook.js +0 -114
- package/funcs/resendWebhook.js.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts +0 -10
- package/funcs/settingsAccountV1SettingsEmailSendVerification.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSendVerification.js +0 -111
- package/funcs/settingsAccountV1SettingsEmailSendVerification.js.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts +0 -10
- package/funcs/settingsAccountV1SettingsEmailSubscribe.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js +0 -113
- package/funcs/settingsAccountV1SettingsEmailSubscribe.js.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsEmailVerify.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsEmailVerify.js +0 -113
- package/funcs/settingsAccountV1SettingsEmailVerify.js.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts +0 -11
- package/funcs/settingsAccountV1SettingsUpdateRole.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsUpdateRole.js +0 -113
- package/funcs/settingsAccountV1SettingsUpdateRole.js.map +0 -1
- package/funcs/statsStatsV1StatsGet.d.ts +0 -10
- package/funcs/statsStatsV1StatsGet.d.ts.map +0 -1
- package/funcs/statsStatsV1StatsGet.js.map +0 -1
- package/models/components/errormodel.d.ts +0 -63
- package/models/components/errormodel.d.ts.map +0 -1
- package/models/components/errormodel.js +0 -81
- package/models/components/errormodel.js.map +0 -1
- package/models/operations/resendwebhook.d.ts +0 -66
- package/models/operations/resendwebhook.d.ts.map +0 -1
- package/models/operations/resendwebhook.js +0 -130
- package/models/operations/resendwebhook.js.map +0 -1
- package/sdk/event.d.ts +0 -8
- package/sdk/event.d.ts.map +0 -1
- package/sdk/event.js +0 -20
- package/sdk/event.js.map +0 -1
- package/src/funcs/accountAccountV1GetBadgeBookmarks.ts +0 -132
- package/src/funcs/accountAccountV1GetOwnedBadges.ts +0 -132
- package/src/funcs/accountAccountV1ImagesGet.ts +0 -127
- package/src/funcs/accountAccountV1ImagesUpdate.ts +0 -149
- package/src/funcs/accountAdminV1UpdateResources.ts +0 -148
- package/src/funcs/accountAdminV1UpdateRoles.ts +0 -148
- package/src/funcs/connectionAccountV1ConnectionReconnect.ts +0 -149
- package/src/funcs/eventAdminV1GetEvents.ts +0 -132
- package/src/funcs/eventAdminV1UpdateEvent.ts +0 -150
- package/src/funcs/internalAccountV1BookmarkBadge.ts +0 -150
- package/src/funcs/internalAccountV1ConnectionReconnect.ts +0 -149
- package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +0 -132
- package/src/funcs/internalAccountV1GetOwnedBadges.ts +0 -132
- package/src/funcs/internalAccountV1ImagesGet.ts +0 -127
- package/src/funcs/internalAccountV1ImagesUpdate.ts +0 -149
- package/src/funcs/internalAccountV1SettingsEmailSendVerification.ts +0 -156
- package/src/funcs/internalAccountV1SettingsEmailSubscribe.ts +0 -160
- package/src/funcs/internalAccountV1SettingsEmailVerify.ts +0 -149
- package/src/funcs/internalAccountV1SettingsUpdateRole.ts +0 -149
- package/src/funcs/internalAdminV1GetEvents.ts +0 -132
- package/src/funcs/internalAdminV1UpdateEvent.ts +0 -150
- package/src/funcs/internalAdminV1UpdateResources.ts +0 -148
- package/src/funcs/internalAdminV1UpdateRoles.ts +0 -148
- package/src/funcs/internalBadgeV1Search.ts +0 -149
- package/src/funcs/resendWebhook.ts +0 -153
- package/src/funcs/settingsAccountV1SettingsEmailSendVerification.ts +0 -156
- package/src/funcs/settingsAccountV1SettingsEmailSubscribe.ts +0 -160
- package/src/funcs/settingsAccountV1SettingsEmailVerify.ts +0 -149
- package/src/funcs/settingsAccountV1SettingsUpdateRole.ts +0 -149
- package/src/models/components/errormodel.ts +0 -122
- package/src/models/operations/resendwebhook.ts +0 -179
|
@@ -5,8 +5,310 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
+
* [bookmark](#bookmark)
|
|
9
|
+
* [getBookmarks](#getbookmarks)
|
|
10
|
+
* [getOwned](#getowned)
|
|
11
|
+
* [search](#search)
|
|
8
12
|
* [tag](#tag)
|
|
9
13
|
|
|
14
|
+
## bookmark
|
|
15
|
+
|
|
16
|
+
### Example Usage
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
20
|
+
|
|
21
|
+
const steamSets = new SteamSets({
|
|
22
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
async function run() {
|
|
26
|
+
const result = await steamSets.badges.bookmark({
|
|
27
|
+
badgeId: "bdg_123",
|
|
28
|
+
bookmark: true,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
// Handle the result
|
|
32
|
+
console.log(result);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
run();
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Standalone function
|
|
39
|
+
|
|
40
|
+
The standalone function version of this method:
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
44
|
+
import { badgesBookmark } from "@steamsets/client-ts/funcs/badgesBookmark.js";
|
|
45
|
+
|
|
46
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
47
|
+
// You can create one instance of it to use across an application.
|
|
48
|
+
const steamSets = new SteamSetsCore({
|
|
49
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
async function run() {
|
|
53
|
+
const res = await badgesBookmark(steamSets, {
|
|
54
|
+
badgeId: "bdg_123",
|
|
55
|
+
bookmark: true,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
if (!res.ok) {
|
|
59
|
+
throw res.error;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const { value: result } = res;
|
|
63
|
+
|
|
64
|
+
// Handle the result
|
|
65
|
+
console.log(result);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
run();
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Parameters
|
|
72
|
+
|
|
73
|
+
| Parameter | Type | Required | Description |
|
|
74
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
75
|
+
| `request` | [components.V1AccountBadgeBookmarkRequestBody](../../models/components/v1accountbadgebookmarkrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
76
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
77
|
+
| `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. |
|
|
78
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
79
|
+
|
|
80
|
+
### Response
|
|
81
|
+
|
|
82
|
+
**Promise\<[operations.AccountV1BookmarkBadgeResponse](../../models/operations/accountv1bookmarkbadgeresponse.md)\>**
|
|
83
|
+
|
|
84
|
+
### Errors
|
|
85
|
+
|
|
86
|
+
| Error Type | Status Code | Content Type |
|
|
87
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
88
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
89
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
90
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
91
|
+
|
|
92
|
+
## getBookmarks
|
|
93
|
+
|
|
94
|
+
### Example Usage
|
|
95
|
+
|
|
96
|
+
```typescript
|
|
97
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
98
|
+
|
|
99
|
+
const steamSets = new SteamSets({
|
|
100
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
async function run() {
|
|
104
|
+
const result = await steamSets.badges.getBookmarks();
|
|
105
|
+
|
|
106
|
+
// Handle the result
|
|
107
|
+
console.log(result);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
run();
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Standalone function
|
|
114
|
+
|
|
115
|
+
The standalone function version of this method:
|
|
116
|
+
|
|
117
|
+
```typescript
|
|
118
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
119
|
+
import { badgesGetBookmarks } from "@steamsets/client-ts/funcs/badgesGetBookmarks.js";
|
|
120
|
+
|
|
121
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
122
|
+
// You can create one instance of it to use across an application.
|
|
123
|
+
const steamSets = new SteamSetsCore({
|
|
124
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
async function run() {
|
|
128
|
+
const res = await badgesGetBookmarks(steamSets);
|
|
129
|
+
|
|
130
|
+
if (!res.ok) {
|
|
131
|
+
throw res.error;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const { value: result } = res;
|
|
135
|
+
|
|
136
|
+
// Handle the result
|
|
137
|
+
console.log(result);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
run();
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
| Parameter | Type | Required | Description |
|
|
146
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
147
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
148
|
+
| `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. |
|
|
149
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
150
|
+
|
|
151
|
+
### Response
|
|
152
|
+
|
|
153
|
+
**Promise\<[operations.AccountV1GetBadgeBookmarksResponse](../../models/operations/accountv1getbadgebookmarksresponse.md)\>**
|
|
154
|
+
|
|
155
|
+
### Errors
|
|
156
|
+
|
|
157
|
+
| Error Type | Status Code | Content Type |
|
|
158
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
159
|
+
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
160
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
161
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
162
|
+
|
|
163
|
+
## getOwned
|
|
164
|
+
|
|
165
|
+
### Example Usage
|
|
166
|
+
|
|
167
|
+
```typescript
|
|
168
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
169
|
+
|
|
170
|
+
const steamSets = new SteamSets({
|
|
171
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
async function run() {
|
|
175
|
+
const result = await steamSets.badges.getOwned();
|
|
176
|
+
|
|
177
|
+
// Handle the result
|
|
178
|
+
console.log(result);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
run();
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Standalone function
|
|
185
|
+
|
|
186
|
+
The standalone function version of this method:
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
190
|
+
import { badgesGetOwned } from "@steamsets/client-ts/funcs/badgesGetOwned.js";
|
|
191
|
+
|
|
192
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
193
|
+
// You can create one instance of it to use across an application.
|
|
194
|
+
const steamSets = new SteamSetsCore({
|
|
195
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
196
|
+
});
|
|
197
|
+
|
|
198
|
+
async function run() {
|
|
199
|
+
const res = await badgesGetOwned(steamSets);
|
|
200
|
+
|
|
201
|
+
if (!res.ok) {
|
|
202
|
+
throw res.error;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
const { value: result } = res;
|
|
206
|
+
|
|
207
|
+
// Handle the result
|
|
208
|
+
console.log(result);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
run();
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Parameters
|
|
215
|
+
|
|
216
|
+
| Parameter | Type | Required | Description |
|
|
217
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
218
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
219
|
+
| `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. |
|
|
220
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
221
|
+
|
|
222
|
+
### Response
|
|
223
|
+
|
|
224
|
+
**Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
|
|
225
|
+
|
|
226
|
+
### Errors
|
|
227
|
+
|
|
228
|
+
| Error Type | Status Code | Content Type |
|
|
229
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
230
|
+
| errors.ErrorModel | 403, 404 | application/problem+json |
|
|
231
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
232
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
233
|
+
|
|
234
|
+
## search
|
|
235
|
+
|
|
236
|
+
### Example Usage
|
|
237
|
+
|
|
238
|
+
```typescript
|
|
239
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
240
|
+
|
|
241
|
+
const steamSets = new SteamSets({
|
|
242
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
async function run() {
|
|
246
|
+
const result = await steamSets.badges.search({
|
|
247
|
+
filter: "<value>",
|
|
248
|
+
query: "<value>",
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
// Handle the result
|
|
252
|
+
console.log(result);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
run();
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Standalone function
|
|
259
|
+
|
|
260
|
+
The standalone function version of this method:
|
|
261
|
+
|
|
262
|
+
```typescript
|
|
263
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
264
|
+
import { badgesSearch } from "@steamsets/client-ts/funcs/badgesSearch.js";
|
|
265
|
+
|
|
266
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
267
|
+
// You can create one instance of it to use across an application.
|
|
268
|
+
const steamSets = new SteamSetsCore({
|
|
269
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
async function run() {
|
|
273
|
+
const res = await badgesSearch(steamSets, {
|
|
274
|
+
filter: "<value>",
|
|
275
|
+
query: "<value>",
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
if (!res.ok) {
|
|
279
|
+
throw res.error;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
const { value: result } = res;
|
|
283
|
+
|
|
284
|
+
// Handle the result
|
|
285
|
+
console.log(result);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
run();
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### Parameters
|
|
292
|
+
|
|
293
|
+
| Parameter | Type | Required | Description |
|
|
294
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
295
|
+
| `request` | [components.V1SearchRequest](../../models/components/v1searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
296
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
297
|
+
| `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. |
|
|
298
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
299
|
+
|
|
300
|
+
### Response
|
|
301
|
+
|
|
302
|
+
**Promise\<[operations.BadgeV1SearchResponse](../../models/operations/badgev1searchresponse.md)\>**
|
|
303
|
+
|
|
304
|
+
### Errors
|
|
305
|
+
|
|
306
|
+
| Error Type | Status Code | Content Type |
|
|
307
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
308
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
309
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
310
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
311
|
+
|
|
10
312
|
## tag
|
|
11
313
|
|
|
12
314
|
### Example Usage
|
|
@@ -8,7 +8,7 @@ Operations related to oauth2/custom connections.
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
10
|
* [delete](#delete)
|
|
11
|
-
* [
|
|
11
|
+
* [reconnect](#reconnect)
|
|
12
12
|
* [update](#update)
|
|
13
13
|
* [verify](#verify)
|
|
14
14
|
|
|
@@ -88,7 +88,7 @@ run();
|
|
|
88
88
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
89
89
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
90
90
|
|
|
91
|
-
##
|
|
91
|
+
## reconnect
|
|
92
92
|
|
|
93
93
|
### Example Usage
|
|
94
94
|
|
|
@@ -100,7 +100,7 @@ const steamSets = new SteamSets({
|
|
|
100
100
|
});
|
|
101
101
|
|
|
102
102
|
async function run() {
|
|
103
|
-
const result = await steamSets.connection.
|
|
103
|
+
const result = await steamSets.connection.reconnect({
|
|
104
104
|
code: "123456",
|
|
105
105
|
connectionId: "123456",
|
|
106
106
|
});
|
|
@@ -118,7 +118,7 @@ The standalone function version of this method:
|
|
|
118
118
|
|
|
119
119
|
```typescript
|
|
120
120
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
121
|
-
import {
|
|
121
|
+
import { connectionReconnect } from "@steamsets/client-ts/funcs/connectionReconnect.js";
|
|
122
122
|
|
|
123
123
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
124
124
|
// You can create one instance of it to use across an application.
|
|
@@ -127,7 +127,7 @@ const steamSets = new SteamSetsCore({
|
|
|
127
127
|
});
|
|
128
128
|
|
|
129
129
|
async function run() {
|
|
130
|
-
const res = await
|
|
130
|
+
const res = await connectionReconnect(steamSets, {
|
|
131
131
|
code: "123456",
|
|
132
132
|
connectionId: "123456",
|
|
133
133
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
#
|
|
2
|
-
(*
|
|
1
|
+
# Events
|
|
2
|
+
(*events*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
-
* [
|
|
9
|
-
* [
|
|
8
|
+
* [get](#get)
|
|
9
|
+
* [update](#update)
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## get
|
|
12
12
|
|
|
13
13
|
### Example Usage
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ const steamSets = new SteamSets({
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
async function run() {
|
|
23
|
-
const result = await steamSets.
|
|
23
|
+
const result = await steamSets.events.get();
|
|
24
24
|
|
|
25
25
|
// Handle the result
|
|
26
26
|
console.log(result);
|
|
@@ -35,7 +35,7 @@ The standalone function version of this method:
|
|
|
35
35
|
|
|
36
36
|
```typescript
|
|
37
37
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
38
|
-
import {
|
|
38
|
+
import { eventsGet } from "@steamsets/client-ts/funcs/eventsGet.js";
|
|
39
39
|
|
|
40
40
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
41
41
|
// You can create one instance of it to use across an application.
|
|
@@ -44,7 +44,7 @@ const steamSets = new SteamSetsCore({
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
async function run() {
|
|
47
|
-
const res = await
|
|
47
|
+
const res = await eventsGet(steamSets);
|
|
48
48
|
|
|
49
49
|
if (!res.ok) {
|
|
50
50
|
throw res.error;
|
|
@@ -79,7 +79,7 @@ run();
|
|
|
79
79
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
80
80
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
81
81
|
|
|
82
|
-
##
|
|
82
|
+
## update
|
|
83
83
|
|
|
84
84
|
### Example Usage
|
|
85
85
|
|
|
@@ -91,7 +91,7 @@ const steamSets = new SteamSets({
|
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
async function run() {
|
|
94
|
-
const result = await steamSets.
|
|
94
|
+
const result = await steamSets.events.update({
|
|
95
95
|
eventId: "evt_123456",
|
|
96
96
|
mappings: [
|
|
97
97
|
{
|
|
@@ -114,7 +114,7 @@ The standalone function version of this method:
|
|
|
114
114
|
|
|
115
115
|
```typescript
|
|
116
116
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
117
|
-
import {
|
|
117
|
+
import { eventsUpdate } from "@steamsets/client-ts/funcs/eventsUpdate.js";
|
|
118
118
|
|
|
119
119
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
120
120
|
// You can create one instance of it to use across an application.
|
|
@@ -123,7 +123,7 @@ const steamSets = new SteamSetsCore({
|
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
async function run() {
|
|
126
|
-
const res = await
|
|
126
|
+
const res = await eventsUpdate(steamSets, {
|
|
127
127
|
eventId: "evt_123456",
|
|
128
128
|
mappings: [
|
|
129
129
|
{
|
|
@@ -13,7 +13,7 @@ Any requests here may be accessed by anyone with an API Key.
|
|
|
13
13
|
* [getFriends](#getfriends)
|
|
14
14
|
* [getInfo](#getinfo)
|
|
15
15
|
* [getLeaderboardHistory](#getleaderboardhistory)
|
|
16
|
-
* [
|
|
16
|
+
* [get](#get)
|
|
17
17
|
|
|
18
18
|
## getApps
|
|
19
19
|
|
|
@@ -447,7 +447,7 @@ run();
|
|
|
447
447
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
448
448
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
449
449
|
|
|
450
|
-
##
|
|
450
|
+
## get
|
|
451
451
|
|
|
452
452
|
### Example Usage
|
|
453
453
|
|
|
@@ -459,7 +459,7 @@ const steamSets = new SteamSets({
|
|
|
459
459
|
});
|
|
460
460
|
|
|
461
461
|
async function run() {
|
|
462
|
-
const result = await steamSets.external.
|
|
462
|
+
const result = await steamSets.external.get();
|
|
463
463
|
|
|
464
464
|
// Handle the result
|
|
465
465
|
console.log(result);
|
|
@@ -474,7 +474,7 @@ The standalone function version of this method:
|
|
|
474
474
|
|
|
475
475
|
```typescript
|
|
476
476
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
477
|
-
import {
|
|
477
|
+
import { externalGet } from "@steamsets/client-ts/funcs/externalGet.js";
|
|
478
478
|
|
|
479
479
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
480
480
|
// You can create one instance of it to use across an application.
|
|
@@ -483,7 +483,7 @@ const steamSets = new SteamSetsCore({
|
|
|
483
483
|
});
|
|
484
484
|
|
|
485
485
|
async function run() {
|
|
486
|
-
const res = await
|
|
486
|
+
const res = await externalGet(steamSets);
|
|
487
487
|
|
|
488
488
|
if (!res.ok) {
|
|
489
489
|
throw res.error;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
8
|
* [deleteImages](#deleteimages)
|
|
9
|
-
* [
|
|
10
|
-
* [
|
|
9
|
+
* [get](#get)
|
|
10
|
+
* [update](#update)
|
|
11
11
|
* [uploadImages](#uploadimages)
|
|
12
12
|
|
|
13
13
|
## deleteImages
|
|
@@ -92,7 +92,7 @@ run();
|
|
|
92
92
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
93
93
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
94
94
|
|
|
95
|
-
##
|
|
95
|
+
## get
|
|
96
96
|
|
|
97
97
|
### Example Usage
|
|
98
98
|
|
|
@@ -104,7 +104,7 @@ const steamSets = new SteamSets({
|
|
|
104
104
|
});
|
|
105
105
|
|
|
106
106
|
async function run() {
|
|
107
|
-
const result = await steamSets.images.
|
|
107
|
+
const result = await steamSets.images.get();
|
|
108
108
|
|
|
109
109
|
// Handle the result
|
|
110
110
|
console.log(result);
|
|
@@ -119,7 +119,7 @@ The standalone function version of this method:
|
|
|
119
119
|
|
|
120
120
|
```typescript
|
|
121
121
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
122
|
-
import {
|
|
122
|
+
import { imagesGet } from "@steamsets/client-ts/funcs/imagesGet.js";
|
|
123
123
|
|
|
124
124
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
125
125
|
// You can create one instance of it to use across an application.
|
|
@@ -128,7 +128,7 @@ const steamSets = new SteamSetsCore({
|
|
|
128
128
|
});
|
|
129
129
|
|
|
130
130
|
async function run() {
|
|
131
|
-
const res = await
|
|
131
|
+
const res = await imagesGet(steamSets);
|
|
132
132
|
|
|
133
133
|
if (!res.ok) {
|
|
134
134
|
throw res.error;
|
|
@@ -162,7 +162,7 @@ run();
|
|
|
162
162
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
163
163
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
164
164
|
|
|
165
|
-
##
|
|
165
|
+
## update
|
|
166
166
|
|
|
167
167
|
### Example Usage
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ const steamSets = new SteamSets({
|
|
|
174
174
|
});
|
|
175
175
|
|
|
176
176
|
async function run() {
|
|
177
|
-
const result = await steamSets.images.
|
|
177
|
+
const result = await steamSets.images.update({
|
|
178
178
|
images: [
|
|
179
179
|
|
|
180
180
|
],
|
|
@@ -193,7 +193,7 @@ The standalone function version of this method:
|
|
|
193
193
|
|
|
194
194
|
```typescript
|
|
195
195
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
196
|
-
import {
|
|
196
|
+
import { imagesUpdate } from "@steamsets/client-ts/funcs/imagesUpdate.js";
|
|
197
197
|
|
|
198
198
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
199
199
|
// You can create one instance of it to use across an application.
|
|
@@ -202,7 +202,7 @@ const steamSets = new SteamSetsCore({
|
|
|
202
202
|
});
|
|
203
203
|
|
|
204
204
|
async function run() {
|
|
205
|
-
const res = await
|
|
205
|
+
const res = await imagesUpdate(steamSets, {
|
|
206
206
|
images: [
|
|
207
207
|
|
|
208
208
|
],
|