speedruncom.js 1.3.1 → 2.0.1
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 +4 -40
- package/lib/Client.d.ts +11 -0
- package/lib/Client.js +23 -0
- package/lib/endpoints/endpoints.get.d.ts +537 -0
- package/{dist → lib}/endpoints/endpoints.get.js +1 -1
- package/lib/endpoints/endpoints.post.d.ts +1055 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/{dist → lib}/interfaces.d.ts +2 -2
- package/lib/responses.d.ts +553 -0
- package/package.json +7 -10
- package/src/Client.ts +30 -0
- package/src/endpoints/endpoints.get.ts +480 -500
- package/src/endpoints/endpoints.post.ts +965 -974
- package/src/index.ts +3 -3
- package/src/interfaces.ts +2 -2
- package/src/responses.ts +649 -716
- package/tsconfig.json +1 -2
- package/dist/BaseClient.d.ts +0 -30
- package/dist/BaseClient.js +0 -78
- package/dist/Client.d.ts +0 -222
- package/dist/Client.js +0 -646
- package/dist/build-client.d.ts +0 -1
- package/dist/build-client.js +0 -64
- package/dist/endpoints/endpoints.get.d.ts +0 -560
- package/dist/endpoints/endpoints.post.d.ts +0 -1066
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/responses.d.ts +0 -616
- package/src/BaseClient.ts +0 -108
- package/src/build-client.ts +0 -80
- /package/{dist → lib}/endpoints/endpoints.post.js +0 -0
- /package/{dist → lib}/enums.d.ts +0 -0
- /package/{dist → lib}/enums.js +0 -0
- /package/{dist → lib}/interfaces.js +0 -0
- /package/{dist → lib}/responses.js +0 -0
- /package/{dist → lib}/types.d.ts +0 -0
- /package/{dist → lib}/types.js +0 -0
package/tsconfig.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"outDir": "./
|
|
3
|
+
"outDir": "./lib",
|
|
4
4
|
"allowJs": true,
|
|
5
5
|
"checkJs": false,
|
|
6
6
|
"strict": false,
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"moduleResolution": "node",
|
|
10
10
|
"esModuleInterop": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"skipLibCheck": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"declaration": true
|
|
15
14
|
},
|
package/dist/BaseClient.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from 'axios';
|
|
2
|
-
export interface config {
|
|
3
|
-
PHPSESSID?: string;
|
|
4
|
-
userAgent?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class APIError extends Error {
|
|
7
|
-
status: number;
|
|
8
|
-
constructor(message: string, status: number);
|
|
9
|
-
}
|
|
10
|
-
export default class Client {
|
|
11
|
-
/**
|
|
12
|
-
* `AxiosInstance` used on instance-called methods (called with `POST`).
|
|
13
|
-
*/
|
|
14
|
-
axiosClient: AxiosInstance;
|
|
15
|
-
/**
|
|
16
|
-
* `AxiosInstance` used on Client-called methods (called with `GET`).
|
|
17
|
-
*/
|
|
18
|
-
static axiosClient: AxiosInstance;
|
|
19
|
-
private username;
|
|
20
|
-
private password;
|
|
21
|
-
private headers;
|
|
22
|
-
constructor(config?: config);
|
|
23
|
-
config(config: config): void;
|
|
24
|
-
request<T>(endpoint: string, params?: object): Promise<T>;
|
|
25
|
-
static request<T>(endpoint: string, params?: object): Promise<T>;
|
|
26
|
-
/**
|
|
27
|
-
* Attempts to remove the PHPSESSID cookie if using a browser, otherwise removes your Client's authentication.
|
|
28
|
-
*/
|
|
29
|
-
logout(): Promise<unknown>;
|
|
30
|
-
}
|
package/dist/BaseClient.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import axios from 'axios';
|
|
2
|
-
const BASE_USER_AGENT = 'speedruncom.js';
|
|
3
|
-
const BASE_URL = 'https://www.speedrun.com/api/v2/';
|
|
4
|
-
const HEADERS = {
|
|
5
|
-
'Accept-Language': 'en',
|
|
6
|
-
'Accept': 'application/json'
|
|
7
|
-
};
|
|
8
|
-
const isBrowser = typeof window !== 'undefined';
|
|
9
|
-
const objectToBase64 = (obj) => {
|
|
10
|
-
const jsonString = JSON.stringify(obj).replace(/\s+/g, '');
|
|
11
|
-
return Buffer.from(jsonString).toString('base64');
|
|
12
|
-
};
|
|
13
|
-
export class APIError extends Error {
|
|
14
|
-
constructor(message, status) {
|
|
15
|
-
super(message);
|
|
16
|
-
this.message = message;
|
|
17
|
-
this.status = status;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
class Client {
|
|
21
|
-
constructor(config) {
|
|
22
|
-
/**
|
|
23
|
-
* `AxiosInstance` used on instance-called methods (called with `POST`).
|
|
24
|
-
*/
|
|
25
|
-
this.axiosClient = axios.create({
|
|
26
|
-
baseURL: BASE_URL,
|
|
27
|
-
method: 'POST',
|
|
28
|
-
withCredentials: true,
|
|
29
|
-
headers: HEADERS
|
|
30
|
-
});
|
|
31
|
-
this.headers = this.axiosClient.defaults.headers.common;
|
|
32
|
-
if (config)
|
|
33
|
-
this.config(config);
|
|
34
|
-
this.axiosClient.interceptors.response.use((response) => response, (error) => {
|
|
35
|
-
const data = error.response.data;
|
|
36
|
-
throw new APIError(data.error || 'Unknown error', error.response.status);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
config(config) {
|
|
40
|
-
if (!isBrowser)
|
|
41
|
-
this.headers['User-Agent'] = BASE_USER_AGENT + (config.userAgent ? `/${config.userAgent}` : '');
|
|
42
|
-
if (config.PHPSESSID) {
|
|
43
|
-
if (isBrowser) {
|
|
44
|
-
console.error('You cannot use a PHPSESSID to authenticate in a browser environment.');
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
this.headers['Cookie'] = `PHPSESSID=${config.PHPSESSID}`;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
async request(endpoint, params = {}) {
|
|
52
|
-
const response = await this.axiosClient.post(endpoint, params);
|
|
53
|
-
const cookie = response.headers['set-cookie'];
|
|
54
|
-
if (cookie && !isBrowser)
|
|
55
|
-
this.headers['Cookie'] = cookie[0].split(';')[0];
|
|
56
|
-
return response.data;
|
|
57
|
-
}
|
|
58
|
-
static async request(endpoint, params = {}) {
|
|
59
|
-
return (await this.axiosClient.get(`${endpoint}?_r=${objectToBase64(params)}`)).data;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Attempts to remove the PHPSESSID cookie if using a browser, otherwise removes your Client's authentication.
|
|
63
|
-
*/
|
|
64
|
-
async logout() {
|
|
65
|
-
if (isBrowser)
|
|
66
|
-
return await this.request('PutAuthLogout');
|
|
67
|
-
delete this.headers['Cookie'];
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* `AxiosInstance` used on Client-called methods (called with `GET`).
|
|
72
|
-
*/
|
|
73
|
-
Client.axiosClient = axios.create({
|
|
74
|
-
baseURL: BASE_URL,
|
|
75
|
-
method: 'GET',
|
|
76
|
-
headers: HEADERS
|
|
77
|
-
});
|
|
78
|
-
export default Client;
|
package/dist/Client.d.ts
DELETED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance } from 'axios';
|
|
2
|
-
import * as GetEndpoints from './endpoints/endpoints.get.js';
|
|
3
|
-
import * as PostEndpoints from './endpoints/endpoints.post.js';
|
|
4
|
-
import * as Responses from './responses.js';
|
|
5
|
-
export interface config {
|
|
6
|
-
PHPSESSID?: string;
|
|
7
|
-
userAgent?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class APIError extends Error {
|
|
10
|
-
status: number;
|
|
11
|
-
constructor(message: string, status: number);
|
|
12
|
-
}
|
|
13
|
-
export default class Client {
|
|
14
|
-
/**
|
|
15
|
-
* `AxiosInstance` used on instance-called methods (called with `POST`).
|
|
16
|
-
*/
|
|
17
|
-
axiosClient: AxiosInstance;
|
|
18
|
-
/**
|
|
19
|
-
* `AxiosInstance` used on Client-called methods (called with `GET`).
|
|
20
|
-
*/
|
|
21
|
-
static axiosClient: AxiosInstance;
|
|
22
|
-
private username;
|
|
23
|
-
private password;
|
|
24
|
-
private headers;
|
|
25
|
-
constructor(config?: config);
|
|
26
|
-
config(config: config): void;
|
|
27
|
-
request<T>(endpoint: string, params?: object): Promise<T>;
|
|
28
|
-
static request<T>(endpoint: string, params?: object): Promise<T>;
|
|
29
|
-
/**
|
|
30
|
-
* Attempts to remove the PHPSESSID cookie if using a browser, otherwise removes your Client's authentication.
|
|
31
|
-
*/
|
|
32
|
-
logout(): Promise<unknown>;
|
|
33
|
-
GetGameLeaderboard2(params: GetEndpoints.GetGameLeaderboard2): Promise<Readonly<Responses.GetGameLeaderboard2>>;
|
|
34
|
-
static GetGameLeaderboard2(params: GetEndpoints.GetGameLeaderboard2): Promise<Readonly<Responses.GetGameLeaderboard2>>;
|
|
35
|
-
GetGameLeaderboard(params: GetEndpoints.GetGameLeaderboard): Promise<Readonly<Responses.GetGameLeaderboard>>;
|
|
36
|
-
static GetGameLeaderboard(params: GetEndpoints.GetGameLeaderboard): Promise<Readonly<Responses.GetGameLeaderboard>>;
|
|
37
|
-
GetGameData(params?: GetEndpoints.GetGameData): Promise<Readonly<Responses.GetGameData>>;
|
|
38
|
-
static GetGameData(params?: GetEndpoints.GetGameData): Promise<Readonly<Responses.GetGameData>>;
|
|
39
|
-
GetGameSummary(params?: GetEndpoints.GetGameSummary): Promise<Readonly<Responses.GetGameSummary>>;
|
|
40
|
-
static GetGameSummary(params?: GetEndpoints.GetGameSummary): Promise<Readonly<Responses.GetGameSummary>>;
|
|
41
|
-
GetGameRecordHistory(params?: GetEndpoints.GetGameRecordHistory): Promise<Readonly<Responses.GetGameRecordHistory>>;
|
|
42
|
-
static GetGameRecordHistory(params?: GetEndpoints.GetGameRecordHistory): Promise<Readonly<Responses.GetGameRecordHistory>>;
|
|
43
|
-
GetSearch(params?: GetEndpoints.GetSearch): Promise<Readonly<Responses.GetSearch>>;
|
|
44
|
-
static GetSearch(params?: GetEndpoints.GetSearch): Promise<Readonly<Responses.GetSearch>>;
|
|
45
|
-
GetLatestLeaderboard(params?: GetEndpoints.GetLatestLeaderboard): Promise<Readonly<Responses.GetLatestLeaderboard>>;
|
|
46
|
-
static GetLatestLeaderboard(params?: GetEndpoints.GetLatestLeaderboard): Promise<Readonly<Responses.GetLatestLeaderboard>>;
|
|
47
|
-
GetRun(params: GetEndpoints.GetRun): Promise<Readonly<Responses.GetRun>>;
|
|
48
|
-
static GetRun(params: GetEndpoints.GetRun): Promise<Readonly<Responses.GetRun>>;
|
|
49
|
-
GetUserSummary(params: GetEndpoints.GetUserSummary): Promise<Readonly<Responses.GetUserSummary>>;
|
|
50
|
-
static GetUserSummary(params: GetEndpoints.GetUserSummary): Promise<Readonly<Responses.GetUserSummary>>;
|
|
51
|
-
GetUserComments(params: GetEndpoints.GetUserComments): Promise<Readonly<Responses.GetUserComments>>;
|
|
52
|
-
static GetUserComments(params: GetEndpoints.GetUserComments): Promise<Readonly<Responses.GetUserComments>>;
|
|
53
|
-
GetUserThreads(params: GetEndpoints.GetUserThreads): Promise<Readonly<Responses.GetUserThreads>>;
|
|
54
|
-
static GetUserThreads(params: GetEndpoints.GetUserThreads): Promise<Readonly<Responses.GetUserThreads>>;
|
|
55
|
-
GetUserPopoverData(params: GetEndpoints.GetUserPopoverData): Promise<Readonly<Responses.GetUserPopoverData>>;
|
|
56
|
-
static GetUserPopoverData(params: GetEndpoints.GetUserPopoverData): Promise<Readonly<Responses.GetUserPopoverData>>;
|
|
57
|
-
GetTitleList(): Promise<Readonly<Responses.GetTitleList>>;
|
|
58
|
-
static GetTitleList(): Promise<Readonly<Responses.GetTitleList>>;
|
|
59
|
-
GetTitle(params: GetEndpoints.GetTitle): Promise<Readonly<Responses.GetTitle>>;
|
|
60
|
-
static GetTitle(params: GetEndpoints.GetTitle): Promise<Readonly<Responses.GetTitle>>;
|
|
61
|
-
GetArticleList(params?: GetEndpoints.GetArticleList): Promise<Readonly<Responses.GetArticleList>>;
|
|
62
|
-
static GetArticleList(params?: GetEndpoints.GetArticleList): Promise<Readonly<Responses.GetArticleList>>;
|
|
63
|
-
GetArticle(params?: GetEndpoints.GetArticle): Promise<Readonly<Responses.GetArticle>>;
|
|
64
|
-
static GetArticle(params?: GetEndpoints.GetArticle): Promise<Readonly<Responses.GetArticle>>;
|
|
65
|
-
GetGameList(params?: GetEndpoints.GetGameList): Promise<Readonly<Responses.GetGameList>>;
|
|
66
|
-
static GetGameList(params?: GetEndpoints.GetGameList): Promise<Readonly<Responses.GetGameList>>;
|
|
67
|
-
GetPlatformList(): Promise<Readonly<Responses.GetPlatformList>>;
|
|
68
|
-
static GetPlatformList(): Promise<Readonly<Responses.GetPlatformList>>;
|
|
69
|
-
GetHomeSummary(): Promise<Readonly<Responses.GetHomeSummary>>;
|
|
70
|
-
static GetHomeSummary(): Promise<Readonly<Responses.GetHomeSummary>>;
|
|
71
|
-
GetSeriesList(params?: GetEndpoints.GetSeriesList): Promise<Readonly<Responses.GetSeriesList>>;
|
|
72
|
-
static GetSeriesList(params?: GetEndpoints.GetSeriesList): Promise<Readonly<Responses.GetSeriesList>>;
|
|
73
|
-
GetSeriesSummary(params: GetEndpoints.GetSeriesSummary): Promise<Readonly<Responses.GetSeriesSummary>>;
|
|
74
|
-
static GetSeriesSummary(params: GetEndpoints.GetSeriesSummary): Promise<Readonly<Responses.GetSeriesSummary>>;
|
|
75
|
-
GetGameLevelSummary(params?: GetEndpoints.GetGameLevelSummary): Promise<Readonly<Responses.GetGameLevelSummary>>;
|
|
76
|
-
static GetGameLevelSummary(params?: GetEndpoints.GetGameLevelSummary): Promise<Readonly<Responses.GetGameLevelSummary>>;
|
|
77
|
-
GetGameRandom(): Promise<Readonly<Responses.GetGameRandom>>;
|
|
78
|
-
static GetGameRandom(): Promise<Readonly<Responses.GetGameRandom>>;
|
|
79
|
-
GetGuideList(params: GetEndpoints.GetGuideList): Promise<Readonly<Responses.GetGuideList>>;
|
|
80
|
-
static GetGuideList(params: GetEndpoints.GetGuideList): Promise<Readonly<Responses.GetGuideList>>;
|
|
81
|
-
GetGuide(params: GetEndpoints.GetGuide): Promise<Readonly<Responses.GetGuide>>;
|
|
82
|
-
static GetGuide(params: GetEndpoints.GetGuide): Promise<Readonly<Responses.GetGuide>>;
|
|
83
|
-
GetNewsList(params: GetEndpoints.GetNewsList): Promise<Readonly<Responses.GetNewsList>>;
|
|
84
|
-
static GetNewsList(params: GetEndpoints.GetNewsList): Promise<Readonly<Responses.GetNewsList>>;
|
|
85
|
-
GetNews(params: GetEndpoints.GetNews): Promise<Readonly<Responses.GetNews>>;
|
|
86
|
-
static GetNews(params: GetEndpoints.GetNews): Promise<Readonly<Responses.GetNews>>;
|
|
87
|
-
GetResource(params: GetEndpoints.GetResource): Promise<Readonly<Responses.GetResource>>;
|
|
88
|
-
static GetResource(params: GetEndpoints.GetResource): Promise<Readonly<Responses.GetResource>>;
|
|
89
|
-
GetResourceList(params: GetEndpoints.GetResourceList): Promise<Readonly<Responses.GetResourceList>>;
|
|
90
|
-
static GetResourceList(params: GetEndpoints.GetResourceList): Promise<Readonly<Responses.GetResourceList>>;
|
|
91
|
-
GetStreamList(params?: GetEndpoints.GetStreamList): Promise<Readonly<Responses.GetStreamList>>;
|
|
92
|
-
static GetStreamList(params?: GetEndpoints.GetStreamList): Promise<Readonly<Responses.GetStreamList>>;
|
|
93
|
-
GetThreadList(params: GetEndpoints.GetThreadList): Promise<Readonly<Responses.GetThreadList>>;
|
|
94
|
-
static GetThreadList(params: GetEndpoints.GetThreadList): Promise<Readonly<Responses.GetThreadList>>;
|
|
95
|
-
GetThreadStateByCommentId(params: GetEndpoints.GetThreadStateByCommentId): Promise<Readonly<Responses.GetThreadStateByCommentId>>;
|
|
96
|
-
static GetThreadStateByCommentId(params: GetEndpoints.GetThreadStateByCommentId): Promise<Readonly<Responses.GetThreadStateByCommentId>>;
|
|
97
|
-
GetChallenge(params: GetEndpoints.GetChallenge): Promise<Readonly<Responses.GetChallenge>>;
|
|
98
|
-
static GetChallenge(params: GetEndpoints.GetChallenge): Promise<Readonly<Responses.GetChallenge>>;
|
|
99
|
-
GetChallengeLeaderboard(params: GetEndpoints.GetChallengeLeaderboard): Promise<Readonly<Responses.GetChallengeLeaderboard>>;
|
|
100
|
-
static GetChallengeLeaderboard(params: GetEndpoints.GetChallengeLeaderboard): Promise<Readonly<Responses.GetChallengeLeaderboard>>;
|
|
101
|
-
GetChallengeGlobalRankingList(): Promise<Readonly<Responses.GetChallengeGlobalRankingList>>;
|
|
102
|
-
static GetChallengeGlobalRankingList(): Promise<Readonly<Responses.GetChallengeGlobalRankingList>>;
|
|
103
|
-
GetChallengeRun(params: GetEndpoints.GetChallengeRun): Promise<Readonly<Responses.GetChallengeRun>>;
|
|
104
|
-
static GetChallengeRun(params: GetEndpoints.GetChallengeRun): Promise<Readonly<Responses.GetChallengeRun>>;
|
|
105
|
-
GetUserLeaderboard(params: GetEndpoints.GetUserLeaderboard): Promise<Readonly<Responses.GetUserLeaderboard>>;
|
|
106
|
-
static GetUserLeaderboard(params: GetEndpoints.GetUserLeaderboard): Promise<Readonly<Responses.GetUserLeaderboard>>;
|
|
107
|
-
GetUserModeration(params: GetEndpoints.GetUserModeration): Promise<Readonly<Responses.GetUserModeration>>;
|
|
108
|
-
static GetUserModeration(params: GetEndpoints.GetUserModeration): Promise<Readonly<Responses.GetUserModeration>>;
|
|
109
|
-
GetCommentList(params: GetEndpoints.GetCommentList): Promise<Readonly<Responses.GetCommentList>>;
|
|
110
|
-
static GetCommentList(params: GetEndpoints.GetCommentList): Promise<Readonly<Responses.GetCommentList>>;
|
|
111
|
-
GetThread(params: GetEndpoints.GetThread): Promise<Readonly<Responses.GetThread>>;
|
|
112
|
-
static GetThread(params: GetEndpoints.GetThread): Promise<Readonly<Responses.GetThread>>;
|
|
113
|
-
GetStaticData(): Promise<Readonly<Responses.GetStaticData>>;
|
|
114
|
-
static GetStaticData(): Promise<Readonly<Responses.GetStaticData>>;
|
|
115
|
-
GetForumList(): Promise<Readonly<Responses.GetForumList>>;
|
|
116
|
-
static GetForumList(): Promise<Readonly<Responses.GetForumList>>;
|
|
117
|
-
PutAuthLogin(params: PostEndpoints.PutAuthLogin): Promise<Readonly<Responses.PutAuthLogin>>;
|
|
118
|
-
GetSession(): Promise<Readonly<Responses.GetSession>>;
|
|
119
|
-
PutSessionPing(): Promise<void>;
|
|
120
|
-
GetAuditLogList(params?: PostEndpoints.GetAuditLogList): Promise<Readonly<Responses.GetAuditLogList>>;
|
|
121
|
-
GetGameSettings(params: PostEndpoints.GetGameSettings): Promise<Readonly<Responses.GetGameSettings>>;
|
|
122
|
-
PutGameSettings(params: PostEndpoints.PutGameSettings): Promise<void>;
|
|
123
|
-
PutCategory(params: PostEndpoints.PutCategory): Promise<void>;
|
|
124
|
-
PutCategoryUpdate(params: PostEndpoints.PutCategoryUpdate): Promise<void>;
|
|
125
|
-
PutCategoryArchive(params: PostEndpoints.PutCategoryArchive): Promise<void>;
|
|
126
|
-
PutCategoryRestore(params: PostEndpoints.PutCategoryRestore): Promise<void>;
|
|
127
|
-
PutCategoryOrder(params: PostEndpoints.PutCategoryOrder): Promise<void>;
|
|
128
|
-
PutLevel(params: PostEndpoints.PutLevel): Promise<void>;
|
|
129
|
-
PutLevelUpdate(params: PostEndpoints.PutLevelUpdate): Promise<void>;
|
|
130
|
-
PutLevelArchive(params: PostEndpoints.PutLevelArchive): Promise<void>;
|
|
131
|
-
PutLevelRestore(params: PostEndpoints.PutLevelRestore): Promise<void>;
|
|
132
|
-
PutLevelOrder(params: PostEndpoints.PutLevelOrder): Promise<void>;
|
|
133
|
-
PutVariable(params: PostEndpoints.PutVariable): Promise<void>;
|
|
134
|
-
PutVariableUpdate(params: PostEndpoints.PutVariableUpdate): Promise<void>;
|
|
135
|
-
PutVariableArchive(params: PostEndpoints.PutVariableArchive): Promise<void>;
|
|
136
|
-
PutVariableRestore(params: PostEndpoints.PutVariableRestore): Promise<void>;
|
|
137
|
-
PutVariableOrder(params: PostEndpoints.PutVariableOrder): Promise<void>;
|
|
138
|
-
PutVariableApplyDefault(params: PostEndpoints.PutVariableApplyDefault): Promise<void>;
|
|
139
|
-
PutNews(params: PostEndpoints.PutNews): Promise<void>;
|
|
140
|
-
PutNewsUpdate(params: PostEndpoints.PutNewsUpdate): Promise<void>;
|
|
141
|
-
PutNewsDelete(params: PostEndpoints.PutNewsDelete): Promise<void>;
|
|
142
|
-
PutGuide(params: PostEndpoints.PutGuide): Promise<void>;
|
|
143
|
-
PutGuideUpdate(params: PostEndpoints.PutGuideUpdate): Promise<void>;
|
|
144
|
-
PutGuideDelete(params: PostEndpoints.PutGuideDelete): Promise<void>;
|
|
145
|
-
PutResource(params: PostEndpoints.PutResource): Promise<void>;
|
|
146
|
-
PutResourceUpdate(params: PostEndpoints.PutResourceUpdate): Promise<void>;
|
|
147
|
-
PutResourceDelete(params: PostEndpoints.PutResourceDelete): Promise<void>;
|
|
148
|
-
GetModerationGames(): Promise<Readonly<Responses.GetModerationGames>>;
|
|
149
|
-
GetModerationRuns(params: PostEndpoints.GetModerationRuns): Promise<Readonly<Responses.GetModerationRuns>>;
|
|
150
|
-
PutRunAssignee(params: PostEndpoints.PutRunAssignee): Promise<void>;
|
|
151
|
-
PutRunDelete(params: PostEndpoints.PutRunDelete): Promise<void>;
|
|
152
|
-
PutRunVerification(params: PostEndpoints.PutRunVerification): Promise<void>;
|
|
153
|
-
PutRunVideoState(params: PostEndpoints.PutRunVideoState): Promise<void>;
|
|
154
|
-
GetRunSettings(params: PostEndpoints.GetRunSettings): Promise<Readonly<Responses.GetRunSettings>>;
|
|
155
|
-
PutRunSettings(params: PostEndpoints.PutRunSettings): Promise<Readonly<Responses.PutRunSettings>>;
|
|
156
|
-
GetConversations(): Promise<Readonly<Responses.GetConversations>>;
|
|
157
|
-
GetConversationMessages(params: PostEndpoints.GetConversationMessages): Promise<Readonly<Responses.GetConversationMessages>>;
|
|
158
|
-
PutConversation(params: PostEndpoints.PutConversation): Promise<Readonly<Responses.PutConversation>>;
|
|
159
|
-
PutConversationMessage(params: PostEndpoints.PutConversationMessage): Promise<Readonly<Responses.PutConversationMessage>>;
|
|
160
|
-
PutConversationLeave(params: PostEndpoints.PutConversationLeave): Promise<void>;
|
|
161
|
-
PutConversationReport(params: PostEndpoints.PutConversationReport): Promise<void>;
|
|
162
|
-
GetNotifications(): Promise<Readonly<Responses.GetNotifications>>;
|
|
163
|
-
PutNotificationsRead(): Promise<void>;
|
|
164
|
-
PutGameFollower(params: PostEndpoints.PutGameFollower): Promise<void>;
|
|
165
|
-
PutGameFollowerDelete(params: PostEndpoints.PutGameFollowerDelete): Promise<void>;
|
|
166
|
-
PutUserFollower(params: PostEndpoints.PutUserFollower): Promise<void>;
|
|
167
|
-
PutUserFollowerDelete(params: PostEndpoints.PutUserFollowerDelete): Promise<void>;
|
|
168
|
-
GetUserSettings(params: PostEndpoints.GetUserSettings): Promise<Readonly<Responses.GetUserSettings>>;
|
|
169
|
-
PutUserSettings(params: PostEndpoints.PutUserSettings): Promise<Readonly<Responses.PutUserSettings>>;
|
|
170
|
-
PutUserUpdateFeaturedRun(params: PostEndpoints.PutUserUpdateFeaturedRun): Promise<void>;
|
|
171
|
-
PutUserUpdateGameOrdering(params: PostEndpoints.PutUserUpdateGameOrdering): Promise<void>;
|
|
172
|
-
GetUserApiKey(params: PostEndpoints.GetUserApiKey): Promise<Readonly<Responses.GetUserApiKey>>;
|
|
173
|
-
GetUserFollowers(params: PostEndpoints.GetUserFollowers): Promise<Readonly<Responses.GetUserFollowers>>;
|
|
174
|
-
GetUserFollowingGames(params: PostEndpoints.GetUserFollowingGames): Promise<Readonly<Responses.GetUserFollowingGames>>;
|
|
175
|
-
GetUserFollowingUsers(params: PostEndpoints.GetUserFollowingUsers): Promise<Readonly<Responses.GetUserFollowingUsers>>;
|
|
176
|
-
GetUserGameBoostData(params: PostEndpoints.GetUserGameBoostData): Promise<Readonly<Responses.GetUserGameBoostData>>;
|
|
177
|
-
GetUserDataExport(params: PostEndpoints.GetUserDataExport): Promise<Readonly<Responses.GetUserDataExport>>;
|
|
178
|
-
PutGameFollowerOrder(params: PostEndpoints.PutGameFollowerOrder): Promise<void>;
|
|
179
|
-
PutArticleSubmission(params: PostEndpoints.PutArticleSubmission): Promise<void>;
|
|
180
|
-
GetCommentable(params: PostEndpoints.GetCommentable): Promise<Readonly<Responses.GetCommentable>>;
|
|
181
|
-
PutComment(params: PostEndpoints.PutComment): Promise<void>;
|
|
182
|
-
PutLike(params: PostEndpoints.PutLike): Promise<Readonly<Responses.PutLike>>;
|
|
183
|
-
PutCommentableSettings(params: PostEndpoints.PutCommentableSettings): Promise<void>;
|
|
184
|
-
GetThreadReadStatus(params: PostEndpoints.GetThreadReadStatus): Promise<Readonly<Responses.GetThreadReadStatus>>;
|
|
185
|
-
PutThreadRead(params: PostEndpoints.PutThreadRead): Promise<void>;
|
|
186
|
-
GetForumReadStatus(params: PostEndpoints.GetForumReadStatus): Promise<Readonly<Responses.GetForumReadStatus>>;
|
|
187
|
-
GetThemeSettings(params?: PostEndpoints.GetThemeSettings): Promise<Readonly<Responses.GetThemeSettings>>;
|
|
188
|
-
PutThemeSettings(params: PostEndpoints.PutThemeSettings): Promise<void>;
|
|
189
|
-
GetUserSupporterData(params: PostEndpoints.GetUserSupporterData): Promise<Readonly<Responses.GetUserSupporterData>>;
|
|
190
|
-
PutUserSupporterNewSubscription(params?: PostEndpoints.PutUserSupporterNewSubscription): Promise<Readonly<Responses.PutUserSupporterNewSubscription>>;
|
|
191
|
-
PutGameBoostGrant(params: PostEndpoints.PutGameBoostGrant): Promise<void>;
|
|
192
|
-
PutAdvertiseContact(params: PostEndpoints.PutAdvertiseContact): Promise<void>;
|
|
193
|
-
GetTickets(params: PostEndpoints.GetTickets): Promise<Readonly<Responses.GetTickets>>;
|
|
194
|
-
GetSeriesSettings(params: PostEndpoints.GetSeriesSettings): Promise<Readonly<Responses.GetSeriesSettings>>;
|
|
195
|
-
GetUserBlocks(): Promise<Readonly<Responses.GetUserBlocks>>;
|
|
196
|
-
PutUserBlock(params: PostEndpoints.PutUserBlock): Promise<void>;
|
|
197
|
-
PutGame(params: PostEndpoints.PutGame): Promise<Readonly<Responses.PutGame>>;
|
|
198
|
-
PutGameModerator(params: PostEndpoints.PutGameModerator): Promise<void>;
|
|
199
|
-
PutGameModeratorDelete(params: PostEndpoints.PutGameModeratorDelete): Promise<void>;
|
|
200
|
-
PutSeriesGame(params: PostEndpoints.PutSeriesGame): Promise<void>;
|
|
201
|
-
PutSeriesGameDelete(params: PostEndpoints.PutSeriesGameDelete): Promise<void>;
|
|
202
|
-
PutSeriesModerator(params: PostEndpoints.PutSeriesModerator): Promise<void>;
|
|
203
|
-
PutSeriesModeratorUpdate(params: PostEndpoints.PutSeriesModeratorUpdate): Promise<void>;
|
|
204
|
-
PutSeriesModeratorDelete(params: PostEndpoints.PutSeriesModeratorDelete): Promise<void>;
|
|
205
|
-
PutSeriesSettings(params: PostEndpoints.PutSeriesSettings): Promise<void>;
|
|
206
|
-
PutTicket(params: PostEndpoints.PutTicket): Promise<Readonly<Responses.PutTicket>>;
|
|
207
|
-
PutTicketNote(params: PostEndpoints.PutTicketNote): Promise<void>;
|
|
208
|
-
PutUserSocialConnection(params: PostEndpoints.PutUserSocialConnection): Promise<void>;
|
|
209
|
-
PutUserSocialConnectionDelete(params: PostEndpoints.PutUserSocialConnectionDelete): Promise<void>;
|
|
210
|
-
PutUserSocialConnectionSsoExchange(params: PostEndpoints.PutUserSocialConnectionSsoExchange): Promise<void>;
|
|
211
|
-
PutUserUpdatePassword(params: PostEndpoints.PutUserUpdatePassword): Promise<void>;
|
|
212
|
-
PutUserUpdateEmail(params: PostEndpoints.PutUserUpdateEmail): Promise<Readonly<Responses.PutUserUpdateEmail>>;
|
|
213
|
-
PutUserUpdateName(params: PostEndpoints.PutUserUpdateName): Promise<Readonly<Responses.PutUserUpdateName>>;
|
|
214
|
-
PutUserDelete(params: PostEndpoints.PutUserDelete): Promise<void>;
|
|
215
|
-
PutCommentUpdate(params: PostEndpoints.PutCommentUpdate): Promise<void>;
|
|
216
|
-
PutCommentDelete(params: PostEndpoints.PutCommentDelete): Promise<void>;
|
|
217
|
-
PutCommentRestore(params: PostEndpoints.PutCommentRestore): Promise<void>;
|
|
218
|
-
PutThread(params: PostEndpoints.PutThread): Promise<Readonly<Responses.PutThread>>;
|
|
219
|
-
PutThreadLocked(params: PostEndpoints.PutThreadLocked): Promise<void>;
|
|
220
|
-
PutThreadSticky(params: PostEndpoints.PutThreadSticky): Promise<void>;
|
|
221
|
-
PutThreadDelete(params: PostEndpoints.PutThreadDelete): Promise<void>;
|
|
222
|
-
}
|