@steamsets/client-ts 0.19.4 → 0.19.5
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 +0 -89
- package/docs/sdks/account/README.md +0 -204
- package/docs/sdks/images/README.md +0 -164
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/account.d.ts +0 -2
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +0 -8
- package/sdk/account.js.map +1 -1
- package/sdk/images.d.ts +0 -2
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +0 -8
- package/sdk/images.js.map +1 -1
- package/sdk/sdk.d.ts +2 -17
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +2 -22
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/account.ts +0 -24
- package/src/sdk/images.ts +0 -24
- package/src/sdk/sdk.ts +3 -33
- package/docs/sdks/data/README.md +0 -520
- package/docs/sdks/developer/README.md +0 -252
- package/docs/sdks/event/README.md +0 -80
- package/docs/sdks/external/README.md +0 -596
- package/docs/sdks/internal/README.md +0 -1137
- package/funcs/accountGetAccount.d.ts +0 -12
- package/funcs/accountGetAccount.d.ts.map +0 -1
- package/funcs/accountGetAccount.js +0 -118
- package/funcs/accountGetAccount.js.map +0 -1
- package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
- package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
- package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.js +0 -116
- package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
- package/funcs/dataAccountV1GetMeta.d.ts +0 -12
- package/funcs/dataAccountV1GetMeta.d.ts.map +0 -1
- package/funcs/dataAccountV1GetMeta.js +0 -118
- package/funcs/dataAccountV1GetMeta.js.map +0 -1
- package/funcs/dataGetApps.d.ts +0 -12
- package/funcs/dataGetApps.d.ts.map +0 -1
- package/funcs/dataGetApps.js +0 -118
- package/funcs/dataGetApps.js.map +0 -1
- package/funcs/dataGetBadges.d.ts +0 -12
- package/funcs/dataGetBadges.d.ts.map +0 -1
- package/funcs/dataGetBadges.js +0 -118
- package/funcs/dataGetBadges.js.map +0 -1
- package/funcs/dataGetDataPoints.d.ts +0 -12
- package/funcs/dataGetDataPoints.d.ts.map +0 -1
- package/funcs/dataGetDataPoints.js +0 -118
- package/funcs/dataGetDataPoints.js.map +0 -1
- package/funcs/dataGetFriends.d.ts +0 -12
- package/funcs/dataGetFriends.d.ts.map +0 -1
- package/funcs/dataGetFriends.js +0 -118
- package/funcs/dataGetFriends.js.map +0 -1
- package/funcs/dataGetInfo.d.ts +0 -12
- package/funcs/dataGetInfo.d.ts.map +0 -1
- package/funcs/dataGetInfo.js +0 -118
- package/funcs/dataGetInfo.js.map +0 -1
- package/funcs/dataGetLeaderboardHistory.d.ts +0 -12
- package/funcs/dataGetLeaderboardHistory.d.ts.map +0 -1
- package/funcs/dataGetLeaderboardHistory.js +0 -116
- package/funcs/dataGetLeaderboardHistory.js.map +0 -1
- package/funcs/developerCreateDeveloperApp.d.ts +0 -12
- package/funcs/developerCreateDeveloperApp.d.ts.map +0 -1
- package/funcs/developerCreateDeveloperApp.js +0 -116
- package/funcs/developerCreateDeveloperApp.js.map +0 -1
- package/funcs/developerDeleteDeveloperApp.d.ts +0 -12
- package/funcs/developerDeleteDeveloperApp.d.ts.map +0 -1
- package/funcs/developerDeleteDeveloperApp.js +0 -116
- package/funcs/developerDeleteDeveloperApp.js.map +0 -1
- package/funcs/developerUpdateApp.d.ts +0 -12
- package/funcs/developerUpdateApp.d.ts.map +0 -1
- package/funcs/developerUpdateApp.js +0 -116
- package/funcs/developerUpdateApp.js.map +0 -1
- package/funcs/eventAdminV1RemoveVanity.d.ts +0 -12
- package/funcs/eventAdminV1RemoveVanity.d.ts.map +0 -1
- package/funcs/eventAdminV1RemoveVanity.js +0 -118
- package/funcs/eventAdminV1RemoveVanity.js.map +0 -1
- package/funcs/externalAppV1ListBadges.d.ts +0 -12
- package/funcs/externalAppV1ListBadges.d.ts.map +0 -1
- package/funcs/externalAppV1ListBadges.js +0 -118
- package/funcs/externalAppV1ListBadges.js.map +0 -1
- package/funcs/externalGet.d.ts +0 -11
- package/funcs/externalGet.d.ts.map +0 -1
- package/funcs/externalGet.js +0 -107
- package/funcs/externalGet.js.map +0 -1
- package/funcs/externalGetApps.d.ts +0 -12
- package/funcs/externalGetApps.d.ts.map +0 -1
- package/funcs/externalGetApps.js +0 -118
- package/funcs/externalGetApps.js.map +0 -1
- package/funcs/externalGetBadges.d.ts +0 -12
- package/funcs/externalGetBadges.d.ts.map +0 -1
- package/funcs/externalGetBadges.js +0 -118
- package/funcs/externalGetBadges.js.map +0 -1
- package/funcs/externalGetDataPoints.d.ts +0 -12
- package/funcs/externalGetDataPoints.d.ts.map +0 -1
- package/funcs/externalGetDataPoints.js +0 -118
- package/funcs/externalGetDataPoints.js.map +0 -1
- package/funcs/externalGetFriends.d.ts +0 -12
- package/funcs/externalGetFriends.d.ts.map +0 -1
- package/funcs/externalGetFriends.js +0 -118
- package/funcs/externalGetFriends.js.map +0 -1
- package/funcs/externalGetInfo.d.ts +0 -12
- package/funcs/externalGetInfo.d.ts.map +0 -1
- package/funcs/externalGetInfo.js +0 -118
- package/funcs/externalGetInfo.js.map +0 -1
- package/funcs/externalGetLeaderboardHistory.d.ts +0 -12
- package/funcs/externalGetLeaderboardHistory.d.ts.map +0 -1
- package/funcs/externalGetLeaderboardHistory.js +0 -116
- package/funcs/externalGetLeaderboardHistory.js.map +0 -1
- package/funcs/imagesDeleteImages.d.ts +0 -12
- package/funcs/imagesDeleteImages.d.ts.map +0 -1
- package/funcs/imagesDeleteImages.js +0 -118
- package/funcs/imagesDeleteImages.js.map +0 -1
- package/funcs/imagesUploadImages.d.ts +0 -12
- package/funcs/imagesUploadImages.d.ts.map +0 -1
- package/funcs/imagesUploadImages.js +0 -118
- package/funcs/imagesUploadImages.js.map +0 -1
- package/funcs/internalAccountV1GetMeta.d.ts +0 -12
- package/funcs/internalAccountV1GetMeta.d.ts.map +0 -1
- package/funcs/internalAccountV1GetMeta.js +0 -118
- package/funcs/internalAccountV1GetMeta.js.map +0 -1
- package/funcs/internalAdminV1RemoveVanity.d.ts +0 -12
- package/funcs/internalAdminV1RemoveVanity.d.ts.map +0 -1
- package/funcs/internalAdminV1RemoveVanity.js +0 -118
- package/funcs/internalAdminV1RemoveVanity.js.map +0 -1
- package/funcs/internalBadgeV1SearchSuggest.d.ts +0 -12
- package/funcs/internalBadgeV1SearchSuggest.d.ts.map +0 -1
- package/funcs/internalBadgeV1SearchSuggest.js +0 -118
- package/funcs/internalBadgeV1SearchSuggest.js.map +0 -1
- package/funcs/internalBadgeV1TagsSuggest.d.ts +0 -12
- package/funcs/internalBadgeV1TagsSuggest.d.ts.map +0 -1
- package/funcs/internalBadgeV1TagsSuggest.js +0 -118
- package/funcs/internalBadgeV1TagsSuggest.js.map +0 -1
- package/funcs/internalCheck.d.ts +0 -17
- package/funcs/internalCheck.d.ts.map +0 -1
- package/funcs/internalCheck.js +0 -111
- package/funcs/internalCheck.js.map +0 -1
- package/funcs/internalCreateDeveloperApp.d.ts +0 -12
- package/funcs/internalCreateDeveloperApp.d.ts.map +0 -1
- package/funcs/internalCreateDeveloperApp.js +0 -116
- package/funcs/internalCreateDeveloperApp.js.map +0 -1
- package/funcs/internalDeleteDeveloperApp.d.ts +0 -12
- package/funcs/internalDeleteDeveloperApp.d.ts.map +0 -1
- package/funcs/internalDeleteDeveloperApp.js +0 -116
- package/funcs/internalDeleteDeveloperApp.js.map +0 -1
- package/funcs/internalDeleteImages.d.ts +0 -12
- package/funcs/internalDeleteImages.d.ts.map +0 -1
- package/funcs/internalDeleteImages.js +0 -118
- package/funcs/internalDeleteImages.js.map +0 -1
- package/funcs/internalGetAccount.d.ts +0 -12
- package/funcs/internalGetAccount.d.ts.map +0 -1
- package/funcs/internalGetAccount.js +0 -118
- package/funcs/internalGetAccount.js.map +0 -1
- package/funcs/internalGetStaff.d.ts +0 -11
- package/funcs/internalGetStaff.d.ts.map +0 -1
- package/funcs/internalGetStaff.js +0 -107
- package/funcs/internalGetStaff.js.map +0 -1
- package/funcs/internalGetTags.d.ts +0 -11
- package/funcs/internalGetTags.d.ts.map +0 -1
- package/funcs/internalGetTags.js +0 -107
- package/funcs/internalGetTags.js.map +0 -1
- package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
- package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
- package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js +0 -116
- package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
- package/funcs/internalUpdateApp.d.ts +0 -12
- package/funcs/internalUpdateApp.d.ts.map +0 -1
- package/funcs/internalUpdateApp.js +0 -116
- package/funcs/internalUpdateApp.js.map +0 -1
- package/funcs/internalUploadImages.d.ts +0 -12
- package/funcs/internalUploadImages.d.ts.map +0 -1
- package/funcs/internalUploadImages.js +0 -118
- package/funcs/internalUploadImages.js.map +0 -1
- package/sdk/data.d.ts +0 -13
- package/sdk/data.d.ts.map +0 -1
- package/sdk/data.js +0 -40
- package/sdk/data.js.map +0 -1
- package/sdk/developer.d.ts +0 -9
- package/sdk/developer.d.ts.map +0 -1
- package/sdk/developer.js +0 -24
- package/sdk/developer.js.map +0 -1
- package/sdk/event.d.ts +0 -7
- package/sdk/event.d.ts.map +0 -1
- package/sdk/event.js +0 -16
- package/sdk/event.js.map +0 -1
- package/sdk/external.d.ts +0 -14
- package/sdk/external.d.ts.map +0 -1
- package/sdk/external.js +0 -44
- package/sdk/external.js.map +0 -1
- package/sdk/internal.d.ts +0 -26
- package/sdk/internal.d.ts.map +0 -1
- package/sdk/internal.js +0 -74
- package/sdk/internal.js.map +0 -1
- package/src/funcs/accountGetAccount.ts +0 -179
- package/src/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.ts +0 -186
- package/src/funcs/dataAccountV1GetMeta.ts +0 -179
- package/src/funcs/dataGetApps.ts +0 -179
- package/src/funcs/dataGetBadges.ts +0 -179
- package/src/funcs/dataGetDataPoints.ts +0 -179
- package/src/funcs/dataGetFriends.ts +0 -179
- package/src/funcs/dataGetInfo.ts +0 -179
- package/src/funcs/dataGetLeaderboardHistory.ts +0 -181
- package/src/funcs/developerCreateDeveloperApp.ts +0 -182
- package/src/funcs/developerDeleteDeveloperApp.ts +0 -184
- package/src/funcs/developerUpdateApp.ts +0 -184
- package/src/funcs/eventAdminV1RemoveVanity.ts +0 -179
- package/src/funcs/externalAppV1ListBadges.ts +0 -179
- package/src/funcs/externalGet.ts +0 -160
- package/src/funcs/externalGetApps.ts +0 -179
- package/src/funcs/externalGetBadges.ts +0 -179
- package/src/funcs/externalGetDataPoints.ts +0 -179
- package/src/funcs/externalGetFriends.ts +0 -179
- package/src/funcs/externalGetInfo.ts +0 -179
- package/src/funcs/externalGetLeaderboardHistory.ts +0 -181
- package/src/funcs/imagesDeleteImages.ts +0 -179
- package/src/funcs/imagesUploadImages.ts +0 -179
- package/src/funcs/internalAccountV1GetMeta.ts +0 -179
- package/src/funcs/internalAdminV1RemoveVanity.ts +0 -179
- package/src/funcs/internalBadgeV1SearchSuggest.ts +0 -180
- package/src/funcs/internalBadgeV1TagsSuggest.ts +0 -180
- package/src/funcs/internalCheck.ts +0 -160
- package/src/funcs/internalCreateDeveloperApp.ts +0 -182
- package/src/funcs/internalDeleteDeveloperApp.ts +0 -184
- package/src/funcs/internalDeleteImages.ts +0 -179
- package/src/funcs/internalGetAccount.ts +0 -179
- package/src/funcs/internalGetStaff.ts +0 -160
- package/src/funcs/internalGetTags.ts +0 -160
- package/src/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.ts +0 -186
- package/src/funcs/internalUpdateApp.ts +0 -184
- package/src/funcs/internalUploadImages.ts +0 -179
- package/src/sdk/data.ts +0 -94
- package/src/sdk/developer.ts +0 -46
- package/src/sdk/event.ts +0 -22
- package/src/sdk/external.ts +0 -104
- package/src/sdk/internal.ts +0 -178
package/src/sdk/data.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { dataAccountV1GetMeta } from "../funcs/dataAccountV1GetMeta.js";
|
|
6
|
-
import { dataGetApps } from "../funcs/dataGetApps.js";
|
|
7
|
-
import { dataGetBadges } from "../funcs/dataGetBadges.js";
|
|
8
|
-
import { dataGetDataPoints } from "../funcs/dataGetDataPoints.js";
|
|
9
|
-
import { dataGetFriends } from "../funcs/dataGetFriends.js";
|
|
10
|
-
import { dataGetInfo } from "../funcs/dataGetInfo.js";
|
|
11
|
-
import { dataGetLeaderboardHistory } from "../funcs/dataGetLeaderboardHistory.js";
|
|
12
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import * as components from "../models/components/index.js";
|
|
14
|
-
import * as operations from "../models/operations/index.js";
|
|
15
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
16
|
-
|
|
17
|
-
export class Data extends ClientSDK {
|
|
18
|
-
async getApps(
|
|
19
|
-
request: components.V1AccountsAppsRequestBody,
|
|
20
|
-
options?: RequestOptions,
|
|
21
|
-
): Promise<operations.AccountV1GetAppsResponse> {
|
|
22
|
-
return unwrapAsync(dataGetApps(
|
|
23
|
-
this,
|
|
24
|
-
request,
|
|
25
|
-
options,
|
|
26
|
-
));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
async getBadges(
|
|
30
|
-
request: components.V1BadgesRequestBody,
|
|
31
|
-
options?: RequestOptions,
|
|
32
|
-
): Promise<operations.AccountV1GetBadgesResponse> {
|
|
33
|
-
return unwrapAsync(dataGetBadges(
|
|
34
|
-
this,
|
|
35
|
-
request,
|
|
36
|
-
options,
|
|
37
|
-
));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
async getDataPoints(
|
|
41
|
-
request: components.AccountSearch,
|
|
42
|
-
options?: RequestOptions,
|
|
43
|
-
): Promise<operations.AccountV1GetDataPointsResponse> {
|
|
44
|
-
return unwrapAsync(dataGetDataPoints(
|
|
45
|
-
this,
|
|
46
|
-
request,
|
|
47
|
-
options,
|
|
48
|
-
));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
async getFriends(
|
|
52
|
-
request: components.AccountSearch,
|
|
53
|
-
options?: RequestOptions,
|
|
54
|
-
): Promise<operations.AccountV1GetFriendsResponse> {
|
|
55
|
-
return unwrapAsync(dataGetFriends(
|
|
56
|
-
this,
|
|
57
|
-
request,
|
|
58
|
-
options,
|
|
59
|
-
));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
async getInfo(
|
|
63
|
-
request: components.AccountSearch,
|
|
64
|
-
options?: RequestOptions,
|
|
65
|
-
): Promise<operations.AccountV1GetInfoResponse> {
|
|
66
|
-
return unwrapAsync(dataGetInfo(
|
|
67
|
-
this,
|
|
68
|
-
request,
|
|
69
|
-
options,
|
|
70
|
-
));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
async getLeaderboardHistory(
|
|
74
|
-
request: components.AccountSearch,
|
|
75
|
-
options?: RequestOptions,
|
|
76
|
-
): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
|
|
77
|
-
return unwrapAsync(dataGetLeaderboardHistory(
|
|
78
|
-
this,
|
|
79
|
-
request,
|
|
80
|
-
options,
|
|
81
|
-
));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
async accountV1GetMeta(
|
|
85
|
-
request: components.AccountSearch,
|
|
86
|
-
options?: RequestOptions,
|
|
87
|
-
): Promise<operations.AccountV1GetMetaResponse> {
|
|
88
|
-
return unwrapAsync(dataAccountV1GetMeta(
|
|
89
|
-
this,
|
|
90
|
-
request,
|
|
91
|
-
options,
|
|
92
|
-
));
|
|
93
|
-
}
|
|
94
|
-
}
|
package/src/sdk/developer.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { developerCreateDeveloperApp } from "../funcs/developerCreateDeveloperApp.js";
|
|
6
|
-
import { developerDeleteDeveloperApp } from "../funcs/developerDeleteDeveloperApp.js";
|
|
7
|
-
import { developerUpdateApp } from "../funcs/developerUpdateApp.js";
|
|
8
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
|
-
import * as components from "../models/components/index.js";
|
|
10
|
-
import * as operations from "../models/operations/index.js";
|
|
11
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
-
|
|
13
|
-
export class Developer extends ClientSDK {
|
|
14
|
-
async createDeveloperApp(
|
|
15
|
-
request: components.V1DeveloperAppCreateRequestBody,
|
|
16
|
-
options?: RequestOptions,
|
|
17
|
-
): Promise<operations.AccountV1SettingsDeveloperAppCreateResponse> {
|
|
18
|
-
return unwrapAsync(developerCreateDeveloperApp(
|
|
19
|
-
this,
|
|
20
|
-
request,
|
|
21
|
-
options,
|
|
22
|
-
));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
async deleteDeveloperApp(
|
|
26
|
-
request: components.V1AccountDeveloperAppDeleteRequestBody,
|
|
27
|
-
options?: RequestOptions,
|
|
28
|
-
): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
|
|
29
|
-
return unwrapAsync(developerDeleteDeveloperApp(
|
|
30
|
-
this,
|
|
31
|
-
request,
|
|
32
|
-
options,
|
|
33
|
-
));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
async updateApp(
|
|
37
|
-
request: components.V1AccountDeveloperAppUpdateRequestBody,
|
|
38
|
-
options?: RequestOptions,
|
|
39
|
-
): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
|
|
40
|
-
return unwrapAsync(developerUpdateApp(
|
|
41
|
-
this,
|
|
42
|
-
request,
|
|
43
|
-
options,
|
|
44
|
-
));
|
|
45
|
-
}
|
|
46
|
-
}
|
package/src/sdk/event.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { eventAdminV1RemoveVanity } from "../funcs/eventAdminV1RemoveVanity.js";
|
|
6
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
-
import * as components from "../models/components/index.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
10
|
-
|
|
11
|
-
export class Event extends ClientSDK {
|
|
12
|
-
async adminV1RemoveVanity(
|
|
13
|
-
request: components.AccountSearch,
|
|
14
|
-
options?: RequestOptions,
|
|
15
|
-
): Promise<operations.AdminV1RemoveVanityResponse> {
|
|
16
|
-
return unwrapAsync(eventAdminV1RemoveVanity(
|
|
17
|
-
this,
|
|
18
|
-
request,
|
|
19
|
-
options,
|
|
20
|
-
));
|
|
21
|
-
}
|
|
22
|
-
}
|
package/src/sdk/external.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { externalAppV1ListBadges } from "../funcs/externalAppV1ListBadges.js";
|
|
6
|
-
import { externalGet } from "../funcs/externalGet.js";
|
|
7
|
-
import { externalGetApps } from "../funcs/externalGetApps.js";
|
|
8
|
-
import { externalGetBadges } from "../funcs/externalGetBadges.js";
|
|
9
|
-
import { externalGetDataPoints } from "../funcs/externalGetDataPoints.js";
|
|
10
|
-
import { externalGetFriends } from "../funcs/externalGetFriends.js";
|
|
11
|
-
import { externalGetInfo } from "../funcs/externalGetInfo.js";
|
|
12
|
-
import { externalGetLeaderboardHistory } from "../funcs/externalGetLeaderboardHistory.js";
|
|
13
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import * as components from "../models/components/index.js";
|
|
15
|
-
import * as operations from "../models/operations/index.js";
|
|
16
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
17
|
-
|
|
18
|
-
export class External extends ClientSDK {
|
|
19
|
-
async getApps(
|
|
20
|
-
request: components.V1AccountsAppsRequestBody,
|
|
21
|
-
options?: RequestOptions,
|
|
22
|
-
): Promise<operations.AccountV1GetAppsResponse> {
|
|
23
|
-
return unwrapAsync(externalGetApps(
|
|
24
|
-
this,
|
|
25
|
-
request,
|
|
26
|
-
options,
|
|
27
|
-
));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async getBadges(
|
|
31
|
-
request: components.V1BadgesRequestBody,
|
|
32
|
-
options?: RequestOptions,
|
|
33
|
-
): Promise<operations.AccountV1GetBadgesResponse> {
|
|
34
|
-
return unwrapAsync(externalGetBadges(
|
|
35
|
-
this,
|
|
36
|
-
request,
|
|
37
|
-
options,
|
|
38
|
-
));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
async getDataPoints(
|
|
42
|
-
request: components.AccountSearch,
|
|
43
|
-
options?: RequestOptions,
|
|
44
|
-
): Promise<operations.AccountV1GetDataPointsResponse> {
|
|
45
|
-
return unwrapAsync(externalGetDataPoints(
|
|
46
|
-
this,
|
|
47
|
-
request,
|
|
48
|
-
options,
|
|
49
|
-
));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
async getFriends(
|
|
53
|
-
request: components.AccountSearch,
|
|
54
|
-
options?: RequestOptions,
|
|
55
|
-
): Promise<operations.AccountV1GetFriendsResponse> {
|
|
56
|
-
return unwrapAsync(externalGetFriends(
|
|
57
|
-
this,
|
|
58
|
-
request,
|
|
59
|
-
options,
|
|
60
|
-
));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
async getInfo(
|
|
64
|
-
request: components.AccountSearch,
|
|
65
|
-
options?: RequestOptions,
|
|
66
|
-
): Promise<operations.AccountV1GetInfoResponse> {
|
|
67
|
-
return unwrapAsync(externalGetInfo(
|
|
68
|
-
this,
|
|
69
|
-
request,
|
|
70
|
-
options,
|
|
71
|
-
));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
async getLeaderboardHistory(
|
|
75
|
-
request: components.AccountSearch,
|
|
76
|
-
options?: RequestOptions,
|
|
77
|
-
): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
|
|
78
|
-
return unwrapAsync(externalGetLeaderboardHistory(
|
|
79
|
-
this,
|
|
80
|
-
request,
|
|
81
|
-
options,
|
|
82
|
-
));
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
async appV1ListBadges(
|
|
86
|
-
request: components.V1AppBadgeListRequestBody,
|
|
87
|
-
options?: RequestOptions,
|
|
88
|
-
): Promise<operations.AppV1ListBadgesResponse> {
|
|
89
|
-
return unwrapAsync(externalAppV1ListBadges(
|
|
90
|
-
this,
|
|
91
|
-
request,
|
|
92
|
-
options,
|
|
93
|
-
));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
async get(
|
|
97
|
-
options?: RequestOptions,
|
|
98
|
-
): Promise<operations.StatsV1StatsGetResponse> {
|
|
99
|
-
return unwrapAsync(externalGet(
|
|
100
|
-
this,
|
|
101
|
-
options,
|
|
102
|
-
));
|
|
103
|
-
}
|
|
104
|
-
}
|
package/src/sdk/internal.ts
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { internalAccountV1GetMeta } from "../funcs/internalAccountV1GetMeta.js";
|
|
6
|
-
import { internalAdminV1RemoveVanity } from "../funcs/internalAdminV1RemoveVanity.js";
|
|
7
|
-
import { internalBadgeV1SearchSuggest } from "../funcs/internalBadgeV1SearchSuggest.js";
|
|
8
|
-
import { internalBadgeV1TagsSuggest } from "../funcs/internalBadgeV1TagsSuggest.js";
|
|
9
|
-
import { internalCheck } from "../funcs/internalCheck.js";
|
|
10
|
-
import { internalCreateDeveloperApp } from "../funcs/internalCreateDeveloperApp.js";
|
|
11
|
-
import { internalDeleteDeveloperApp } from "../funcs/internalDeleteDeveloperApp.js";
|
|
12
|
-
import { internalDeleteImages } from "../funcs/internalDeleteImages.js";
|
|
13
|
-
import { internalGetAccount } from "../funcs/internalGetAccount.js";
|
|
14
|
-
import { internalGetStaff } from "../funcs/internalGetStaff.js";
|
|
15
|
-
import { internalGetTags } from "../funcs/internalGetTags.js";
|
|
16
|
-
import { internalLeaderboardV1GetLeaderboardAccountMeta } from "../funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js";
|
|
17
|
-
import { internalUpdateApp } from "../funcs/internalUpdateApp.js";
|
|
18
|
-
import { internalUploadImages } from "../funcs/internalUploadImages.js";
|
|
19
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
20
|
-
import * as components from "../models/components/index.js";
|
|
21
|
-
import * as operations from "../models/operations/index.js";
|
|
22
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
23
|
-
|
|
24
|
-
export class Internal extends ClientSDK {
|
|
25
|
-
async createDeveloperApp(
|
|
26
|
-
request: components.V1DeveloperAppCreateRequestBody,
|
|
27
|
-
options?: RequestOptions,
|
|
28
|
-
): Promise<operations.AccountV1SettingsDeveloperAppCreateResponse> {
|
|
29
|
-
return unwrapAsync(internalCreateDeveloperApp(
|
|
30
|
-
this,
|
|
31
|
-
request,
|
|
32
|
-
options,
|
|
33
|
-
));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
async deleteDeveloperApp(
|
|
37
|
-
request: components.V1AccountDeveloperAppDeleteRequestBody,
|
|
38
|
-
options?: RequestOptions,
|
|
39
|
-
): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
|
|
40
|
-
return unwrapAsync(internalDeleteDeveloperApp(
|
|
41
|
-
this,
|
|
42
|
-
request,
|
|
43
|
-
options,
|
|
44
|
-
));
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
async deleteImages(
|
|
48
|
-
request: components.V1DeleteImagesRequestBody,
|
|
49
|
-
options?: RequestOptions,
|
|
50
|
-
): Promise<operations.AccountV1ImagesDeleteResponse> {
|
|
51
|
-
return unwrapAsync(internalDeleteImages(
|
|
52
|
-
this,
|
|
53
|
-
request,
|
|
54
|
-
options,
|
|
55
|
-
));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
async updateApp(
|
|
59
|
-
request: components.V1AccountDeveloperAppUpdateRequestBody,
|
|
60
|
-
options?: RequestOptions,
|
|
61
|
-
): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
|
|
62
|
-
return unwrapAsync(internalUpdateApp(
|
|
63
|
-
this,
|
|
64
|
-
request,
|
|
65
|
-
options,
|
|
66
|
-
));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
async accountV1GetMeta(
|
|
70
|
-
request: components.AccountSearch,
|
|
71
|
-
options?: RequestOptions,
|
|
72
|
-
): Promise<operations.AccountV1GetMetaResponse> {
|
|
73
|
-
return unwrapAsync(internalAccountV1GetMeta(
|
|
74
|
-
this,
|
|
75
|
-
request,
|
|
76
|
-
options,
|
|
77
|
-
));
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
async getStaff(
|
|
81
|
-
options?: RequestOptions,
|
|
82
|
-
): Promise<operations.AccountV1GetStaffResponse> {
|
|
83
|
-
return unwrapAsync(internalGetStaff(
|
|
84
|
-
this,
|
|
85
|
-
options,
|
|
86
|
-
));
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
async uploadImages(
|
|
90
|
-
request: components.V1UploadImagesRequestBody,
|
|
91
|
-
options?: RequestOptions,
|
|
92
|
-
): Promise<operations.AccountV1ImagesUploadResponse> {
|
|
93
|
-
return unwrapAsync(internalUploadImages(
|
|
94
|
-
this,
|
|
95
|
-
request,
|
|
96
|
-
options,
|
|
97
|
-
));
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
async getAccount(
|
|
101
|
-
request: components.AccountSearch,
|
|
102
|
-
options?: RequestOptions,
|
|
103
|
-
): Promise<operations.AdminV1GetAccountResponse> {
|
|
104
|
-
return unwrapAsync(internalGetAccount(
|
|
105
|
-
this,
|
|
106
|
-
request,
|
|
107
|
-
options,
|
|
108
|
-
));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
async adminV1RemoveVanity(
|
|
112
|
-
request: components.AccountSearch,
|
|
113
|
-
options?: RequestOptions,
|
|
114
|
-
): Promise<operations.AdminV1RemoveVanityResponse> {
|
|
115
|
-
return unwrapAsync(internalAdminV1RemoveVanity(
|
|
116
|
-
this,
|
|
117
|
-
request,
|
|
118
|
-
options,
|
|
119
|
-
));
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
async getTags(
|
|
123
|
-
options?: RequestOptions,
|
|
124
|
-
): Promise<operations.BadgeV1TagsResponse> {
|
|
125
|
-
return unwrapAsync(internalGetTags(
|
|
126
|
-
this,
|
|
127
|
-
options,
|
|
128
|
-
));
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
async badgeV1SearchSuggest(
|
|
132
|
-
request: components.V1BadgeSearchSuggesttRequestBody,
|
|
133
|
-
options?: RequestOptions,
|
|
134
|
-
): Promise<operations.BadgeV1SearchSuggestResponse> {
|
|
135
|
-
return unwrapAsync(internalBadgeV1SearchSuggest(
|
|
136
|
-
this,
|
|
137
|
-
request,
|
|
138
|
-
options,
|
|
139
|
-
));
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
async badgeV1TagsSuggest(
|
|
143
|
-
request: components.V1BadgeTagsSuggestRequestBody,
|
|
144
|
-
options?: RequestOptions,
|
|
145
|
-
): Promise<operations.BadgeV1TagsSuggestResponse> {
|
|
146
|
-
return unwrapAsync(internalBadgeV1TagsSuggest(
|
|
147
|
-
this,
|
|
148
|
-
request,
|
|
149
|
-
options,
|
|
150
|
-
));
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
async leaderboardV1GetLeaderboardAccountMeta(
|
|
154
|
-
request: components.V1LeaderboardAccountMetaRequestBody,
|
|
155
|
-
options?: RequestOptions,
|
|
156
|
-
): Promise<operations.LeaderboardV1GetLeaderboardAccountMetaResponse> {
|
|
157
|
-
return unwrapAsync(internalLeaderboardV1GetLeaderboardAccountMeta(
|
|
158
|
-
this,
|
|
159
|
-
request,
|
|
160
|
-
options,
|
|
161
|
-
));
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Liveness check
|
|
166
|
-
*
|
|
167
|
-
* @remarks
|
|
168
|
-
* This endpoint checks if the service is alive.
|
|
169
|
-
*/
|
|
170
|
-
async check(
|
|
171
|
-
options?: RequestOptions,
|
|
172
|
-
): Promise<operations.LivenessResponse> {
|
|
173
|
-
return unwrapAsync(internalCheck(
|
|
174
|
-
this,
|
|
175
|
-
options,
|
|
176
|
-
));
|
|
177
|
-
}
|
|
178
|
-
}
|