@steamsets/client-ts 0.14.25 → 0.14.27
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/README.md +83 -17
- package/docs/sdks/account/README.md +493 -1
- package/docs/sdks/admin/README.md +1 -1
- package/docs/sdks/badge/README.md +2 -0
- package/docs/sdks/data/README.md +1 -73
- package/docs/sdks/developer/README.md +1 -1
- package/docs/sdks/event/README.md +168 -0
- package/docs/sdks/{public → external}/README.md +93 -21
- package/docs/sdks/internal/README.md +1726 -0
- package/docs/sdks/leaderboard/README.md +2 -0
- package/docs/sdks/liveness/README.md +1 -1
- package/docs/sdks/stats/README.md +1 -1
- package/funcs/accountAdminV1UpdateResources.d.ts +11 -0
- package/funcs/accountAdminV1UpdateResources.d.ts.map +1 -0
- package/funcs/accountAdminV1UpdateResources.js +111 -0
- package/funcs/accountAdminV1UpdateResources.js.map +1 -0
- package/funcs/accountAdminV1UpdateRoles.d.ts +11 -0
- package/funcs/accountAdminV1UpdateRoles.d.ts.map +1 -0
- package/funcs/accountAdminV1UpdateRoles.js +111 -0
- package/funcs/accountAdminV1UpdateRoles.js.map +1 -0
- package/funcs/accountCreateDeveloperApp.d.ts +11 -0
- package/funcs/accountCreateDeveloperApp.d.ts.map +1 -0
- package/funcs/accountCreateDeveloperApp.js +111 -0
- package/funcs/accountCreateDeveloperApp.js.map +1 -0
- package/funcs/accountDeleteDeveloperApp.d.ts +11 -0
- package/funcs/accountDeleteDeveloperApp.d.ts.map +1 -0
- package/funcs/accountDeleteDeveloperApp.js +111 -0
- package/funcs/accountDeleteDeveloperApp.js.map +1 -0
- package/funcs/{publicGetBadges.d.ts → accountGetAccount.d.ts} +2 -2
- package/funcs/accountGetAccount.d.ts.map +1 -0
- package/funcs/accountGetAccount.js +113 -0
- package/funcs/accountGetAccount.js.map +1 -0
- package/funcs/accountUpdateApp.d.ts +11 -0
- package/funcs/{publicGetFriends.d.ts.map → accountUpdateApp.d.ts.map} +1 -1
- package/funcs/accountUpdateApp.js +111 -0
- package/funcs/{publicGetFriends.js.map → accountUpdateApp.js.map} +1 -1
- package/funcs/accountVerifyEmail.js +3 -3
- package/funcs/accountVerifyEmail.js.map +1 -1
- package/funcs/eventAdminV1GetEvents.d.ts +10 -0
- package/funcs/eventAdminV1GetEvents.d.ts.map +1 -0
- package/funcs/eventAdminV1GetEvents.js +102 -0
- package/funcs/eventAdminV1GetEvents.js.map +1 -0
- package/funcs/{publicGetLeaderboardHistory.d.ts → eventAdminV1UpdateEvent.d.ts} +2 -2
- package/funcs/eventAdminV1UpdateEvent.d.ts.map +1 -0
- package/funcs/eventAdminV1UpdateEvent.js +113 -0
- package/funcs/eventAdminV1UpdateEvent.js.map +1 -0
- package/funcs/externalGetApps.d.ts +11 -0
- package/funcs/{publicGetBadges.d.ts.map → externalGetApps.d.ts.map} +1 -1
- package/funcs/{publicGetApps.js → externalGetApps.js} +3 -3
- package/funcs/{publicGetBadges.js.map → externalGetApps.js.map} +1 -1
- package/funcs/{publicGetApps.d.ts → externalGetBadges.d.ts} +2 -2
- package/funcs/externalGetBadges.d.ts.map +1 -0
- package/funcs/{publicGetBadges.js → externalGetBadges.js} +3 -3
- package/funcs/externalGetBadges.js.map +1 -0
- package/funcs/{publicGetDataPoints.d.ts → externalGetDataPoints.d.ts} +2 -2
- package/funcs/externalGetDataPoints.d.ts.map +1 -0
- package/funcs/{publicGetDataPoints.js → externalGetDataPoints.js} +3 -3
- package/funcs/externalGetDataPoints.js.map +1 -0
- package/funcs/externalGetFriends.d.ts +11 -0
- package/funcs/externalGetFriends.d.ts.map +1 -0
- package/funcs/{publicGetFriends.js → externalGetFriends.js} +3 -3
- package/funcs/externalGetFriends.js.map +1 -0
- package/funcs/{publicGetInfo.d.ts → externalGetInfo.d.ts} +2 -2
- package/funcs/externalGetInfo.d.ts.map +1 -0
- package/funcs/{publicGetInfo.js → externalGetInfo.js} +3 -3
- package/funcs/externalGetInfo.js.map +1 -0
- package/funcs/externalGetLeaderboardHistory.d.ts +11 -0
- package/funcs/externalGetLeaderboardHistory.d.ts.map +1 -0
- package/funcs/{publicGetLeaderboardHistory.js → externalGetLeaderboardHistory.js} +3 -3
- package/funcs/externalGetLeaderboardHistory.js.map +1 -0
- package/funcs/externalStatsV1StatsGet.d.ts +10 -0
- package/funcs/externalStatsV1StatsGet.d.ts.map +1 -0
- package/funcs/externalStatsV1StatsGet.js +102 -0
- package/funcs/externalStatsV1StatsGet.js.map +1 -0
- package/funcs/internalAccountV1BookmarkBadge.d.ts +11 -0
- package/funcs/internalAccountV1BookmarkBadge.d.ts.map +1 -0
- package/funcs/internalAccountV1BookmarkBadge.js +113 -0
- package/funcs/internalAccountV1BookmarkBadge.js.map +1 -0
- package/funcs/internalAccountV1ConnectionReconnect.d.ts +11 -0
- package/funcs/internalAccountV1ConnectionReconnect.d.ts.map +1 -0
- package/funcs/internalAccountV1ConnectionReconnect.js +113 -0
- package/funcs/internalAccountV1ConnectionReconnect.js.map +1 -0
- package/funcs/internalAccountV1GetBadgeBookmarks.d.ts +10 -0
- package/funcs/internalAccountV1GetBadgeBookmarks.d.ts.map +1 -0
- package/funcs/internalAccountV1GetBadgeBookmarks.js +102 -0
- package/funcs/internalAccountV1GetBadgeBookmarks.js.map +1 -0
- package/funcs/internalAccountV1GetOwnedBadges.d.ts +10 -0
- package/funcs/internalAccountV1GetOwnedBadges.d.ts.map +1 -0
- package/funcs/internalAccountV1GetOwnedBadges.js +102 -0
- package/funcs/internalAccountV1GetOwnedBadges.js.map +1 -0
- package/funcs/internalAccountV1ImagesGet.d.ts +10 -0
- package/funcs/internalAccountV1ImagesGet.d.ts.map +1 -0
- package/funcs/internalAccountV1ImagesGet.js +100 -0
- package/funcs/internalAccountV1ImagesGet.js.map +1 -0
- package/funcs/internalAccountV1ImagesUpdate.d.ts +11 -0
- package/funcs/internalAccountV1ImagesUpdate.d.ts.map +1 -0
- package/funcs/internalAccountV1ImagesUpdate.js +113 -0
- package/funcs/internalAccountV1ImagesUpdate.js.map +1 -0
- package/funcs/internalAdminV1GetEvents.d.ts +10 -0
- package/funcs/internalAdminV1GetEvents.d.ts.map +1 -0
- package/funcs/internalAdminV1GetEvents.js +102 -0
- package/funcs/internalAdminV1GetEvents.js.map +1 -0
- package/funcs/internalAdminV1UpdateEvent.d.ts +11 -0
- package/funcs/internalAdminV1UpdateEvent.d.ts.map +1 -0
- package/funcs/internalAdminV1UpdateEvent.js +113 -0
- package/funcs/internalAdminV1UpdateEvent.js.map +1 -0
- package/funcs/internalAdminV1UpdateResources.d.ts +11 -0
- package/funcs/internalAdminV1UpdateResources.d.ts.map +1 -0
- package/funcs/internalAdminV1UpdateResources.js +111 -0
- package/funcs/internalAdminV1UpdateResources.js.map +1 -0
- package/funcs/internalAdminV1UpdateRoles.d.ts +11 -0
- package/funcs/internalAdminV1UpdateRoles.d.ts.map +1 -0
- package/funcs/internalAdminV1UpdateRoles.js +111 -0
- package/funcs/internalAdminV1UpdateRoles.js.map +1 -0
- package/funcs/internalBadgeV1Search.d.ts +11 -0
- package/funcs/internalBadgeV1Search.d.ts.map +1 -0
- package/funcs/internalBadgeV1Search.js +113 -0
- package/funcs/internalBadgeV1Search.js.map +1 -0
- package/funcs/internalCheck.d.ts +16 -0
- package/funcs/internalCheck.d.ts.map +1 -0
- package/funcs/internalCheck.js +106 -0
- package/funcs/internalCheck.js.map +1 -0
- package/funcs/internalCreateDeveloperApp.d.ts +11 -0
- package/funcs/internalCreateDeveloperApp.d.ts.map +1 -0
- package/funcs/internalCreateDeveloperApp.js +111 -0
- package/funcs/internalCreateDeveloperApp.js.map +1 -0
- package/funcs/internalDeleteDeveloperApp.d.ts +11 -0
- package/funcs/internalDeleteDeveloperApp.d.ts.map +1 -0
- package/funcs/internalDeleteDeveloperApp.js +111 -0
- package/funcs/internalDeleteDeveloperApp.js.map +1 -0
- package/funcs/internalDeleteImages.d.ts +11 -0
- package/funcs/internalDeleteImages.d.ts.map +1 -0
- package/funcs/internalDeleteImages.js +113 -0
- package/funcs/internalDeleteImages.js.map +1 -0
- package/funcs/{publicGetFriends.d.ts → internalGetAccount.d.ts} +2 -2
- package/funcs/internalGetAccount.d.ts.map +1 -0
- package/funcs/internalGetAccount.js +113 -0
- package/funcs/internalGetAccount.js.map +1 -0
- package/funcs/internalGetStaff.d.ts +10 -0
- package/funcs/internalGetStaff.d.ts.map +1 -0
- package/funcs/{dataGetStaff.js → internalGetStaff.js} +3 -3
- package/funcs/internalGetStaff.js.map +1 -0
- package/funcs/{dataGetStaff.d.ts → internalGetTags.d.ts} +2 -2
- package/funcs/internalGetTags.d.ts.map +1 -0
- package/funcs/internalGetTags.js +102 -0
- package/funcs/internalGetTags.js.map +1 -0
- package/funcs/internalSendEmailVerification.d.ts +10 -0
- package/funcs/internalSendEmailVerification.d.ts.map +1 -0
- package/funcs/internalSendEmailVerification.js +111 -0
- package/funcs/internalSendEmailVerification.js.map +1 -0
- package/funcs/internalUpdateApp.d.ts +11 -0
- package/funcs/internalUpdateApp.d.ts.map +1 -0
- package/funcs/internalUpdateApp.js +111 -0
- package/funcs/internalUpdateApp.js.map +1 -0
- package/funcs/internalUploadImages.d.ts +11 -0
- package/funcs/internalUploadImages.d.ts.map +1 -0
- package/funcs/internalUploadImages.js +113 -0
- package/funcs/internalUploadImages.js.map +1 -0
- package/funcs/internalVerifyEmail.d.ts +11 -0
- package/funcs/{publicGetDataPoints.d.ts.map → internalVerifyEmail.d.ts.map} +1 -1
- package/funcs/internalVerifyEmail.js +113 -0
- package/funcs/{publicGetDataPoints.js.map → internalVerifyEmail.js.map} +1 -1
- package/funcs/sessionLogin.d.ts.map +1 -1
- package/funcs/sessionLogin.js +1 -0
- package/funcs/sessionLogin.js.map +1 -1
- package/funcs/settingsUpdate.js +3 -3
- package/funcs/settingsUpdate.js.map +1 -1
- package/funcs/settingsVerifyEmail.js +3 -3
- package/funcs/settingsVerifyEmail.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/retries.js +0 -1
- package/lib/retries.js.map +1 -1
- package/models/components/index.d.ts +0 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -2
- package/models/components/index.js.map +1 -1
- package/models/components/leaderboardaccount.d.ts +36 -1
- package/models/components/leaderboardaccount.d.ts.map +1 -1
- package/models/components/leaderboardaccount.js +26 -3
- package/models/components/leaderboardaccount.js.map +1 -1
- package/models/components/v1accountfriend.d.ts +36 -1
- package/models/components/v1accountfriend.d.ts.map +1 -1
- package/models/components/v1accountfriend.js +27 -3
- package/models/components/v1accountfriend.js.map +1 -1
- package/models/components/v1accountinforesponsebody.d.ts +8 -8
- package/models/components/v1accountinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountinforesponsebody.js +13 -14
- package/models/components/v1accountinforesponsebody.js.map +1 -1
- package/models/components/v1accountleaderboardaccount.d.ts +36 -1
- package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
- package/models/components/v1accountleaderboardaccount.js +26 -3
- package/models/components/v1accountleaderboardaccount.js.map +1 -1
- package/models/components/v1createsessionbody.d.ts +15 -0
- package/models/components/v1createsessionbody.d.ts.map +1 -1
- package/models/components/v1createsessionbody.js +6 -0
- package/models/components/v1createsessionbody.js.map +1 -1
- package/models/components/v1getsettingsbody.d.ts +40 -0
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +26 -1
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/components/v1stats.d.ts +0 -5
- package/models/components/v1stats.d.ts.map +1 -1
- package/models/components/v1stats.js +0 -2
- package/models/components/v1stats.js.map +1 -1
- package/models/operations/accountv1sessionlogin.d.ts +6 -0
- package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
- package/models/operations/accountv1sessionlogin.js +4 -0
- package/models/operations/accountv1sessionlogin.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +6 -5
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +4 -6
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsverfyemail.d.ts +6 -5
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
- package/models/operations/accountv1settingsverfyemail.js +4 -6
- package/models/operations/accountv1settingsverfyemail.js.map +1 -1
- package/package.json +6 -7
- package/sdk/account.d.ts +6 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +24 -0
- package/sdk/account.js.map +1 -1
- package/sdk/data.d.ts +0 -1
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +0 -4
- package/sdk/data.js.map +1 -1
- package/sdk/event.d.ts +8 -0
- package/sdk/event.d.ts.map +1 -0
- package/sdk/event.js +20 -0
- package/sdk/event.js.map +1 -0
- package/sdk/{public.d.ts → external.d.ts} +3 -2
- package/sdk/external.d.ts.map +1 -0
- package/sdk/external.js +40 -0
- package/sdk/external.js.map +1 -0
- package/sdk/internal.d.ts +34 -0
- package/sdk/internal.d.ts.map +1 -0
- package/sdk/internal.js +106 -0
- package/sdk/internal.js.map +1 -0
- package/sdk/sdk.d.ts +11 -5
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +14 -6
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountAdminV1UpdateResources.ts +148 -0
- package/src/funcs/accountAdminV1UpdateRoles.ts +148 -0
- package/src/funcs/accountCreateDeveloperApp.ts +152 -0
- package/src/funcs/accountDeleteDeveloperApp.ts +154 -0
- package/src/funcs/accountGetAccount.ts +149 -0
- package/src/funcs/accountUpdateApp.ts +154 -0
- package/src/funcs/accountVerifyEmail.ts +3 -3
- package/src/funcs/eventAdminV1GetEvents.ts +132 -0
- package/src/funcs/eventAdminV1UpdateEvent.ts +150 -0
- package/src/funcs/{publicGetApps.ts → externalGetApps.ts} +1 -1
- package/src/funcs/{publicGetBadges.ts → externalGetBadges.ts} +1 -1
- package/src/funcs/{publicGetDataPoints.ts → externalGetDataPoints.ts} +1 -1
- package/src/funcs/{publicGetFriends.ts → externalGetFriends.ts} +1 -1
- package/src/funcs/{publicGetInfo.ts → externalGetInfo.ts} +1 -1
- package/src/funcs/{publicGetLeaderboardHistory.ts → externalGetLeaderboardHistory.ts} +1 -1
- package/src/funcs/externalStatsV1StatsGet.ts +132 -0
- package/src/funcs/internalAccountV1BookmarkBadge.ts +150 -0
- package/src/funcs/internalAccountV1ConnectionReconnect.ts +149 -0
- package/src/funcs/internalAccountV1GetBadgeBookmarks.ts +132 -0
- package/src/funcs/internalAccountV1GetOwnedBadges.ts +132 -0
- package/src/funcs/internalAccountV1ImagesGet.ts +127 -0
- package/src/funcs/internalAccountV1ImagesUpdate.ts +149 -0
- package/src/funcs/internalAdminV1GetEvents.ts +132 -0
- package/src/funcs/internalAdminV1UpdateEvent.ts +150 -0
- package/src/funcs/internalAdminV1UpdateResources.ts +148 -0
- package/src/funcs/internalAdminV1UpdateRoles.ts +148 -0
- package/src/funcs/internalBadgeV1Search.ts +149 -0
- package/src/funcs/internalCheck.ts +133 -0
- package/src/funcs/internalCreateDeveloperApp.ts +152 -0
- package/src/funcs/internalDeleteDeveloperApp.ts +154 -0
- package/src/funcs/internalDeleteImages.ts +149 -0
- package/src/funcs/internalGetAccount.ts +149 -0
- package/src/funcs/{dataGetStaff.ts → internalGetStaff.ts} +1 -1
- package/src/funcs/internalGetTags.ts +132 -0
- package/src/funcs/internalSendEmailVerification.ts +156 -0
- package/src/funcs/internalUpdateApp.ts +154 -0
- package/src/funcs/internalUploadImages.ts +149 -0
- package/src/funcs/internalVerifyEmail.ts +149 -0
- package/src/funcs/sessionLogin.ts +1 -0
- package/src/funcs/settingsUpdate.ts +3 -3
- package/src/funcs/settingsVerifyEmail.ts +3 -3
- package/src/lib/config.ts +3 -3
- package/src/lib/retries.ts +0 -1
- package/src/models/components/index.ts +0 -2
- package/src/models/components/leaderboardaccount.ts +40 -3
- package/src/models/components/v1accountfriend.ts +36 -3
- package/src/models/components/v1accountinforesponsebody.ts +18 -14
- package/src/models/components/v1accountleaderboardaccount.ts +41 -3
- package/src/models/components/v1createsessionbody.ts +21 -0
- package/src/models/components/v1getsettingsbody.ts +44 -0
- package/src/models/components/v1stats.ts +0 -7
- package/src/models/operations/accountv1sessionlogin.ts +6 -0
- package/src/models/operations/accountv1settingsupdate.ts +6 -15
- package/src/models/operations/accountv1settingsverfyemail.ts +6 -13
- package/src/sdk/account.ts +72 -0
- package/src/sdk/data.ts +0 -10
- package/src/sdk/event.ts +32 -0
- package/src/sdk/{public.ts → external.ts} +23 -13
- package/src/sdk/internal.ts +266 -0
- package/src/sdk/sdk.ts +21 -9
- package/funcs/dataGetStaff.d.ts.map +0 -1
- package/funcs/dataGetStaff.js.map +0 -1
- package/funcs/publicGetApps.d.ts.map +0 -1
- package/funcs/publicGetApps.js.map +0 -1
- package/funcs/publicGetInfo.d.ts.map +0 -1
- package/funcs/publicGetInfo.js.map +0 -1
- package/funcs/publicGetLeaderboardHistory.d.ts.map +0 -1
- package/funcs/publicGetLeaderboardHistory.js.map +0 -1
- package/models/components/v1updatesettingsresponsebody.d.ts +0 -32
- package/models/components/v1updatesettingsresponsebody.d.ts.map +0 -1
- package/models/components/v1updatesettingsresponsebody.js +0 -68
- package/models/components/v1updatesettingsresponsebody.js.map +0 -1
- package/models/components/v1verifyemailresponsebody.d.ts +0 -32
- package/models/components/v1verifyemailresponsebody.d.ts.map +0 -1
- package/models/components/v1verifyemailresponsebody.js +0 -68
- package/models/components/v1verifyemailresponsebody.js.map +0 -1
- package/sdk/public.d.ts.map +0 -1
- package/sdk/public.js +0 -36
- package/sdk/public.js.map +0 -1
- package/src/models/components/v1updatesettingsresponsebody.ts +0 -80
- package/src/models/components/v1verifyemailresponsebody.ts +0 -78
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Event
|
|
2
|
+
(*event*)
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
### Available Operations
|
|
7
|
+
|
|
8
|
+
* [adminV1GetEvents](#adminv1getevents)
|
|
9
|
+
* [adminV1UpdateEvent](#adminv1updateevent)
|
|
10
|
+
|
|
11
|
+
## adminV1GetEvents
|
|
12
|
+
|
|
13
|
+
### Example Usage
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
17
|
+
|
|
18
|
+
const steamSets = new SteamSets({
|
|
19
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
async function run() {
|
|
23
|
+
const result = await steamSets.event.adminV1GetEvents();
|
|
24
|
+
|
|
25
|
+
// Handle the result
|
|
26
|
+
console.log(result);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
run();
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Standalone function
|
|
33
|
+
|
|
34
|
+
The standalone function version of this method:
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
38
|
+
import { eventAdminV1GetEvents } from "@steamsets/client-ts/funcs/eventAdminV1GetEvents.js";
|
|
39
|
+
|
|
40
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
41
|
+
// You can create one instance of it to use across an application.
|
|
42
|
+
const steamSets = new SteamSetsCore({
|
|
43
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
async function run() {
|
|
47
|
+
const res = await eventAdminV1GetEvents(steamSets);
|
|
48
|
+
|
|
49
|
+
if (!res.ok) {
|
|
50
|
+
throw res.error;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const { value: result } = res;
|
|
54
|
+
|
|
55
|
+
// Handle the result
|
|
56
|
+
console.log(result);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
run();
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Parameters
|
|
63
|
+
|
|
64
|
+
| Parameter | Type | Required | Description |
|
|
65
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
66
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
67
|
+
| `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. |
|
|
68
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
69
|
+
|
|
70
|
+
### Response
|
|
71
|
+
|
|
72
|
+
**Promise\<[operations.AdminV1GetEventsResponse](../../models/operations/adminv1geteventsresponse.md)\>**
|
|
73
|
+
|
|
74
|
+
### Errors
|
|
75
|
+
|
|
76
|
+
| Error Type | Status Code | Content Type |
|
|
77
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
78
|
+
| errors.ErrorModel | 403, 404, 429 | application/problem+json |
|
|
79
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
80
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
81
|
+
|
|
82
|
+
## adminV1UpdateEvent
|
|
83
|
+
|
|
84
|
+
### Example Usage
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
88
|
+
|
|
89
|
+
const steamSets = new SteamSets({
|
|
90
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
async function run() {
|
|
94
|
+
const result = await steamSets.event.adminV1UpdateEvent({
|
|
95
|
+
eventId: "evt_123456",
|
|
96
|
+
mappings: [
|
|
97
|
+
{
|
|
98
|
+
appId: 730,
|
|
99
|
+
steamId: 76561198842603730,
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
// Handle the result
|
|
105
|
+
console.log(result);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
run();
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Standalone function
|
|
112
|
+
|
|
113
|
+
The standalone function version of this method:
|
|
114
|
+
|
|
115
|
+
```typescript
|
|
116
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
117
|
+
import { eventAdminV1UpdateEvent } from "@steamsets/client-ts/funcs/eventAdminV1UpdateEvent.js";
|
|
118
|
+
|
|
119
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
120
|
+
// You can create one instance of it to use across an application.
|
|
121
|
+
const steamSets = new SteamSetsCore({
|
|
122
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
async function run() {
|
|
126
|
+
const res = await eventAdminV1UpdateEvent(steamSets, {
|
|
127
|
+
eventId: "evt_123456",
|
|
128
|
+
mappings: [
|
|
129
|
+
{
|
|
130
|
+
appId: 730,
|
|
131
|
+
steamId: 76561198842603730,
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
if (!res.ok) {
|
|
137
|
+
throw res.error;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const { value: result } = res;
|
|
141
|
+
|
|
142
|
+
// Handle the result
|
|
143
|
+
console.log(result);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
run();
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Parameters
|
|
150
|
+
|
|
151
|
+
| Parameter | Type | Required | Description |
|
|
152
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
153
|
+
| `request` | [components.V1AdminUpdateEventRequestBody](../../models/components/v1adminupdateeventrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
154
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
155
|
+
| `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. |
|
|
156
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
157
|
+
|
|
158
|
+
### Response
|
|
159
|
+
|
|
160
|
+
**Promise\<[operations.AdminV1UpdateEventResponse](../../models/operations/adminv1updateeventresponse.md)\>**
|
|
161
|
+
|
|
162
|
+
### Errors
|
|
163
|
+
|
|
164
|
+
| Error Type | Status Code | Content Type |
|
|
165
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
166
|
+
| errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
|
|
167
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
168
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
2
|
-
(*
|
|
1
|
+
# External
|
|
2
|
+
(*external*)
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Any requests here may be accessed by anyone with an API Key.
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
@@ -13,6 +13,7 @@ This API can be accessed by anyone with an API Key
|
|
|
13
13
|
* [getFriends](#getfriends)
|
|
14
14
|
* [getInfo](#getinfo)
|
|
15
15
|
* [getLeaderboardHistory](#getleaderboardhistory)
|
|
16
|
+
* [statsV1StatsGet](#statsv1statsget)
|
|
16
17
|
|
|
17
18
|
## getApps
|
|
18
19
|
|
|
@@ -26,7 +27,7 @@ const steamSets = new SteamSets({
|
|
|
26
27
|
});
|
|
27
28
|
|
|
28
29
|
async function run() {
|
|
29
|
-
const result = await steamSets.
|
|
30
|
+
const result = await steamSets.external.getApps({
|
|
30
31
|
page: 1,
|
|
31
32
|
});
|
|
32
33
|
|
|
@@ -43,7 +44,7 @@ The standalone function version of this method:
|
|
|
43
44
|
|
|
44
45
|
```typescript
|
|
45
46
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
46
|
-
import {
|
|
47
|
+
import { externalGetApps } from "@steamsets/client-ts/funcs/externalGetApps.js";
|
|
47
48
|
|
|
48
49
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
49
50
|
// You can create one instance of it to use across an application.
|
|
@@ -52,7 +53,7 @@ const steamSets = new SteamSetsCore({
|
|
|
52
53
|
});
|
|
53
54
|
|
|
54
55
|
async function run() {
|
|
55
|
-
const res = await
|
|
56
|
+
const res = await externalGetApps(steamSets, {
|
|
56
57
|
page: 1,
|
|
57
58
|
});
|
|
58
59
|
|
|
@@ -102,7 +103,7 @@ const steamSets = new SteamSets({
|
|
|
102
103
|
});
|
|
103
104
|
|
|
104
105
|
async function run() {
|
|
105
|
-
const result = await steamSets.
|
|
106
|
+
const result = await steamSets.external.getBadges({
|
|
106
107
|
page: 1,
|
|
107
108
|
});
|
|
108
109
|
|
|
@@ -119,7 +120,7 @@ The standalone function version of this method:
|
|
|
119
120
|
|
|
120
121
|
```typescript
|
|
121
122
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
122
|
-
import {
|
|
123
|
+
import { externalGetBadges } from "@steamsets/client-ts/funcs/externalGetBadges.js";
|
|
123
124
|
|
|
124
125
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
125
126
|
// You can create one instance of it to use across an application.
|
|
@@ -128,7 +129,7 @@ const steamSets = new SteamSetsCore({
|
|
|
128
129
|
});
|
|
129
130
|
|
|
130
131
|
async function run() {
|
|
131
|
-
const res = await
|
|
132
|
+
const res = await externalGetBadges(steamSets, {
|
|
132
133
|
page: 1,
|
|
133
134
|
});
|
|
134
135
|
|
|
@@ -178,7 +179,7 @@ const steamSets = new SteamSets({
|
|
|
178
179
|
});
|
|
179
180
|
|
|
180
181
|
async function run() {
|
|
181
|
-
const result = await steamSets.
|
|
182
|
+
const result = await steamSets.external.getDataPoints({});
|
|
182
183
|
|
|
183
184
|
// Handle the result
|
|
184
185
|
console.log(result);
|
|
@@ -193,7 +194,7 @@ The standalone function version of this method:
|
|
|
193
194
|
|
|
194
195
|
```typescript
|
|
195
196
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
196
|
-
import {
|
|
197
|
+
import { externalGetDataPoints } from "@steamsets/client-ts/funcs/externalGetDataPoints.js";
|
|
197
198
|
|
|
198
199
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
199
200
|
// You can create one instance of it to use across an application.
|
|
@@ -202,7 +203,7 @@ const steamSets = new SteamSetsCore({
|
|
|
202
203
|
});
|
|
203
204
|
|
|
204
205
|
async function run() {
|
|
205
|
-
const res = await
|
|
206
|
+
const res = await externalGetDataPoints(steamSets, {});
|
|
206
207
|
|
|
207
208
|
if (!res.ok) {
|
|
208
209
|
throw res.error;
|
|
@@ -250,7 +251,7 @@ const steamSets = new SteamSets({
|
|
|
250
251
|
});
|
|
251
252
|
|
|
252
253
|
async function run() {
|
|
253
|
-
const result = await steamSets.
|
|
254
|
+
const result = await steamSets.external.getFriends({});
|
|
254
255
|
|
|
255
256
|
// Handle the result
|
|
256
257
|
console.log(result);
|
|
@@ -265,7 +266,7 @@ The standalone function version of this method:
|
|
|
265
266
|
|
|
266
267
|
```typescript
|
|
267
268
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
268
|
-
import {
|
|
269
|
+
import { externalGetFriends } from "@steamsets/client-ts/funcs/externalGetFriends.js";
|
|
269
270
|
|
|
270
271
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
271
272
|
// You can create one instance of it to use across an application.
|
|
@@ -274,7 +275,7 @@ const steamSets = new SteamSetsCore({
|
|
|
274
275
|
});
|
|
275
276
|
|
|
276
277
|
async function run() {
|
|
277
|
-
const res = await
|
|
278
|
+
const res = await externalGetFriends(steamSets, {});
|
|
278
279
|
|
|
279
280
|
if (!res.ok) {
|
|
280
281
|
throw res.error;
|
|
@@ -322,7 +323,7 @@ const steamSets = new SteamSets({
|
|
|
322
323
|
});
|
|
323
324
|
|
|
324
325
|
async function run() {
|
|
325
|
-
const result = await steamSets.
|
|
326
|
+
const result = await steamSets.external.getInfo({});
|
|
326
327
|
|
|
327
328
|
// Handle the result
|
|
328
329
|
console.log(result);
|
|
@@ -337,7 +338,7 @@ The standalone function version of this method:
|
|
|
337
338
|
|
|
338
339
|
```typescript
|
|
339
340
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
340
|
-
import {
|
|
341
|
+
import { externalGetInfo } from "@steamsets/client-ts/funcs/externalGetInfo.js";
|
|
341
342
|
|
|
342
343
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
343
344
|
// You can create one instance of it to use across an application.
|
|
@@ -346,7 +347,7 @@ const steamSets = new SteamSetsCore({
|
|
|
346
347
|
});
|
|
347
348
|
|
|
348
349
|
async function run() {
|
|
349
|
-
const res = await
|
|
350
|
+
const res = await externalGetInfo(steamSets, {});
|
|
350
351
|
|
|
351
352
|
if (!res.ok) {
|
|
352
353
|
throw res.error;
|
|
@@ -394,7 +395,7 @@ const steamSets = new SteamSets({
|
|
|
394
395
|
});
|
|
395
396
|
|
|
396
397
|
async function run() {
|
|
397
|
-
const result = await steamSets.
|
|
398
|
+
const result = await steamSets.external.getLeaderboardHistory({});
|
|
398
399
|
|
|
399
400
|
// Handle the result
|
|
400
401
|
console.log(result);
|
|
@@ -409,7 +410,7 @@ The standalone function version of this method:
|
|
|
409
410
|
|
|
410
411
|
```typescript
|
|
411
412
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
412
|
-
import {
|
|
413
|
+
import { externalGetLeaderboardHistory } from "@steamsets/client-ts/funcs/externalGetLeaderboardHistory.js";
|
|
413
414
|
|
|
414
415
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
415
416
|
// You can create one instance of it to use across an application.
|
|
@@ -418,7 +419,7 @@ const steamSets = new SteamSetsCore({
|
|
|
418
419
|
});
|
|
419
420
|
|
|
420
421
|
async function run() {
|
|
421
|
-
const res = await
|
|
422
|
+
const res = await externalGetLeaderboardHistory(steamSets, {});
|
|
422
423
|
|
|
423
424
|
if (!res.ok) {
|
|
424
425
|
throw res.error;
|
|
@@ -452,4 +453,75 @@ run();
|
|
|
452
453
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
453
454
|
| errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
|
|
454
455
|
| errors.ErrorModel | 500 | application/problem+json |
|
|
456
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
457
|
+
|
|
458
|
+
## statsV1StatsGet
|
|
459
|
+
|
|
460
|
+
### Example Usage
|
|
461
|
+
|
|
462
|
+
```typescript
|
|
463
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
464
|
+
|
|
465
|
+
const steamSets = new SteamSets({
|
|
466
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
async function run() {
|
|
470
|
+
const result = await steamSets.external.statsV1StatsGet();
|
|
471
|
+
|
|
472
|
+
// Handle the result
|
|
473
|
+
console.log(result);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
run();
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
### Standalone function
|
|
480
|
+
|
|
481
|
+
The standalone function version of this method:
|
|
482
|
+
|
|
483
|
+
```typescript
|
|
484
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
485
|
+
import { externalStatsV1StatsGet } from "@steamsets/client-ts/funcs/externalStatsV1StatsGet.js";
|
|
486
|
+
|
|
487
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
488
|
+
// You can create one instance of it to use across an application.
|
|
489
|
+
const steamSets = new SteamSetsCore({
|
|
490
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
491
|
+
});
|
|
492
|
+
|
|
493
|
+
async function run() {
|
|
494
|
+
const res = await externalStatsV1StatsGet(steamSets);
|
|
495
|
+
|
|
496
|
+
if (!res.ok) {
|
|
497
|
+
throw res.error;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
const { value: result } = res;
|
|
501
|
+
|
|
502
|
+
// Handle the result
|
|
503
|
+
console.log(result);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
run();
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
### Parameters
|
|
510
|
+
|
|
511
|
+
| Parameter | Type | Required | Description |
|
|
512
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
513
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
514
|
+
| `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. |
|
|
515
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
516
|
+
|
|
517
|
+
### Response
|
|
518
|
+
|
|
519
|
+
**Promise\<[operations.StatsV1StatsGetResponse](../../models/operations/statsv1statsgetresponse.md)\>**
|
|
520
|
+
|
|
521
|
+
### Errors
|
|
522
|
+
|
|
523
|
+
| Error Type | Status Code | Content Type |
|
|
524
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
525
|
+
| errors.ErrorModel | 404, 429 | application/problem+json |
|
|
526
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
455
527
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|