@pluto-khronos/api-client 3.18.1 → 3.19.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/dist/apis/AdminPropsApi.d.ts +4 -4
- package/dist/apis/AdminPropsApi.js +2 -2
- package/dist/apis/LeaderboardApi.d.ts +24 -0
- package/dist/apis/LeaderboardApi.d.ts.map +1 -1
- package/dist/apis/LeaderboardApi.js +23 -1
- package/dist/apis/LeaderboardApi.js.map +1 -1
- package/dist/apis/MatchesApi.d.ts +0 -59
- package/dist/apis/MatchesApi.d.ts.map +1 -1
- package/dist/apis/MatchesApi.js +0 -56
- package/dist/apis/MatchesApi.js.map +1 -1
- package/dist/apis/PropsApi.d.ts +158 -4
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +145 -2
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/apis/RecapApi.d.ts +194 -0
- package/dist/apis/RecapApi.d.ts.map +1 -1
- package/dist/apis/RecapApi.js +181 -0
- package/dist/apis/RecapApi.js.map +1 -1
- package/dist/models/GetMatchesPendingClosure404Response.d.ts +45 -0
- package/dist/models/GetMatchesPendingClosure404Response.d.ts.map +1 -0
- package/dist/models/GetMatchesPendingClosure404Response.js +59 -0
- package/dist/models/GetMatchesPendingClosure404Response.js.map +1 -0
- package/dist/models/GuildPropSettingsDto.d.ts +77 -0
- package/dist/models/GuildPropSettingsDto.d.ts.map +1 -0
- package/dist/models/GuildPropSettingsDto.js +83 -0
- package/dist/models/GuildPropSettingsDto.js.map +1 -0
- package/dist/models/GuildRecapSettingsDto.d.ts +75 -0
- package/dist/models/GuildRecapSettingsDto.d.ts.map +1 -0
- package/dist/models/GuildRecapSettingsDto.js +79 -0
- package/dist/models/GuildRecapSettingsDto.js.map +1 -0
- package/dist/models/PostRecapNowDto.d.ts +67 -0
- package/dist/models/PostRecapNowDto.d.ts.map +1 -0
- package/dist/models/PostRecapNowDto.js +74 -0
- package/dist/models/PostRecapNowDto.js.map +1 -0
- package/dist/models/PostRecapNowResponseDto.d.ts +45 -0
- package/dist/models/PostRecapNowResponseDto.d.ts.map +1 -0
- package/dist/models/PostRecapNowResponseDto.js +59 -0
- package/dist/models/PostRecapNowResponseDto.js.map +1 -0
- package/dist/models/PropsHealthDayDto.d.ts +14 -2
- package/dist/models/PropsHealthDayDto.d.ts.map +1 -1
- package/dist/models/PropsHealthDayDto.js +11 -3
- package/dist/models/PropsHealthDayDto.js.map +1 -1
- package/dist/models/PropsHealthSportDto.d.ts +14 -2
- package/dist/models/PropsHealthSportDto.d.ts.map +1 -1
- package/dist/models/PropsHealthSportDto.js +11 -3
- package/dist/models/PropsHealthSportDto.js.map +1 -1
- package/dist/models/PropsHealthTotalsDto.d.ts +14 -2
- package/dist/models/PropsHealthTotalsDto.d.ts.map +1 -1
- package/dist/models/PropsHealthTotalsDto.js +11 -3
- package/dist/models/PropsHealthTotalsDto.js.map +1 -1
- package/dist/models/RegradePropResponseDto.d.ts +12 -0
- package/dist/models/RegradePropResponseDto.d.ts.map +1 -1
- package/dist/models/RegradePropResponseDto.js +6 -0
- package/dist/models/RegradePropResponseDto.js.map +1 -1
- package/dist/models/UpdateGuildPropSettingsDto.d.ts +53 -0
- package/dist/models/UpdateGuildPropSettingsDto.d.ts.map +1 -0
- package/dist/models/UpdateGuildPropSettingsDto.js +61 -0
- package/dist/models/UpdateGuildPropSettingsDto.js.map +1 -0
- package/dist/models/UpdateGuildRecapSettingsDto.d.ts +57 -0
- package/dist/models/UpdateGuildRecapSettingsDto.d.ts.map +1 -0
- package/dist/models/UpdateGuildRecapSettingsDto.js +57 -0
- package/dist/models/UpdateGuildRecapSettingsDto.js.map +1 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +7 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/SendDailyMatches404Response.d.ts +0 -45
- package/dist/models/SendDailyMatches404Response.d.ts.map +0 -1
- package/dist/models/SendDailyMatches404Response.js +0 -59
- package/dist/models/SendDailyMatches404Response.js.map +0 -1
package/dist/apis/RecapApi.js
CHANGED
|
@@ -48,12 +48,50 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
49
|
exports.GetWeeklyRecapSportEnum = exports.GetPeriodWinnersPeriodEnum = exports.GetPeriodWinnersSportEnum = exports.RecapApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const GuildRecapSettingsDto_1 = require("../models/GuildRecapSettingsDto");
|
|
52
|
+
const PostRecapNowDto_1 = require("../models/PostRecapNowDto");
|
|
53
|
+
const PostRecapNowResponseDto_1 = require("../models/PostRecapNowResponseDto");
|
|
51
54
|
const RecapPeriodWinnersResponseDto_1 = require("../models/RecapPeriodWinnersResponseDto");
|
|
52
55
|
const RecapWeeklyResponseDto_1 = require("../models/RecapWeeklyResponseDto");
|
|
56
|
+
const UpdateGuildRecapSettingsDto_1 = require("../models/UpdateGuildRecapSettingsDto");
|
|
53
57
|
/**
|
|
54
58
|
*
|
|
55
59
|
*/
|
|
56
60
|
class RecapApi extends runtime.BaseAPI {
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for deleteRecapSettings without sending the request
|
|
63
|
+
*/
|
|
64
|
+
async deleteRecapSettingsRequestOpts(requestParameters) {
|
|
65
|
+
if (requestParameters['guildId'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('guildId', 'Required parameter "guildId" was null or undefined when calling deleteRecapSettings().');
|
|
67
|
+
}
|
|
68
|
+
const queryParameters = {};
|
|
69
|
+
const headerParameters = {};
|
|
70
|
+
let urlPath = `/api/khronos/v1/recap/settings/{guild_id}`;
|
|
71
|
+
urlPath = urlPath.replace('{guild_id}', encodeURIComponent(String(requestParameters['guildId'])));
|
|
72
|
+
return {
|
|
73
|
+
path: urlPath,
|
|
74
|
+
method: 'DELETE',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Removing the row restores the environment defaults.
|
|
81
|
+
* Remove a guild recap settings row
|
|
82
|
+
*/
|
|
83
|
+
async deleteRecapSettingsRaw(requestParameters, initOverrides) {
|
|
84
|
+
const requestOptions = await this.deleteRecapSettingsRequestOpts(requestParameters);
|
|
85
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
86
|
+
return new runtime.VoidApiResponse(response);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Removing the row restores the environment defaults.
|
|
90
|
+
* Remove a guild recap settings row
|
|
91
|
+
*/
|
|
92
|
+
async deleteRecapSettings(requestParameters, initOverrides) {
|
|
93
|
+
await this.deleteRecapSettingsRaw(requestParameters, initOverrides);
|
|
94
|
+
}
|
|
57
95
|
/**
|
|
58
96
|
* Creates request options for getPeriodWinners without sending the request
|
|
59
97
|
*/
|
|
@@ -104,6 +142,39 @@ class RecapApi extends runtime.BaseAPI {
|
|
|
104
142
|
const response = await this.getPeriodWinnersRaw(requestParameters, initOverrides);
|
|
105
143
|
return await response.value();
|
|
106
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Creates request options for getRecapSettings without sending the request
|
|
147
|
+
*/
|
|
148
|
+
async getRecapSettingsRequestOpts(requestParameters) {
|
|
149
|
+
if (requestParameters['guildId'] == null) {
|
|
150
|
+
throw new runtime.RequiredError('guildId', 'Required parameter "guildId" was null or undefined when calling getRecapSettings().');
|
|
151
|
+
}
|
|
152
|
+
const queryParameters = {};
|
|
153
|
+
const headerParameters = {};
|
|
154
|
+
let urlPath = `/api/khronos/v1/recap/settings/{guild_id}`;
|
|
155
|
+
urlPath = urlPath.replace('{guild_id}', encodeURIComponent(String(requestParameters['guildId'])));
|
|
156
|
+
return {
|
|
157
|
+
path: urlPath,
|
|
158
|
+
method: 'GET',
|
|
159
|
+
headers: headerParameters,
|
|
160
|
+
query: queryParameters,
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Get one guild recap settings row
|
|
165
|
+
*/
|
|
166
|
+
async getRecapSettingsRaw(requestParameters, initOverrides) {
|
|
167
|
+
const requestOptions = await this.getRecapSettingsRequestOpts(requestParameters);
|
|
168
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
169
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GuildRecapSettingsDto_1.GuildRecapSettingsDtoFromJSON)(jsonValue));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Get one guild recap settings row
|
|
173
|
+
*/
|
|
174
|
+
async getRecapSettings(requestParameters, initOverrides) {
|
|
175
|
+
const response = await this.getRecapSettingsRaw(requestParameters, initOverrides);
|
|
176
|
+
return await response.value();
|
|
177
|
+
}
|
|
107
178
|
/**
|
|
108
179
|
* Creates request options for getWeeklyRecap without sending the request
|
|
109
180
|
*/
|
|
@@ -145,6 +216,116 @@ class RecapApi extends runtime.BaseAPI {
|
|
|
145
216
|
const response = await this.getWeeklyRecapRaw(requestParameters, initOverrides);
|
|
146
217
|
return await response.value();
|
|
147
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* Creates request options for listRecapSettings without sending the request
|
|
221
|
+
*/
|
|
222
|
+
async listRecapSettingsRequestOpts(requestParameters) {
|
|
223
|
+
const queryParameters = {};
|
|
224
|
+
if (requestParameters['guildId'] != null) {
|
|
225
|
+
queryParameters['guild_id'] = requestParameters['guildId'];
|
|
226
|
+
}
|
|
227
|
+
const headerParameters = {};
|
|
228
|
+
let urlPath = `/api/khronos/v1/recap/settings`;
|
|
229
|
+
return {
|
|
230
|
+
path: urlPath,
|
|
231
|
+
method: 'GET',
|
|
232
|
+
headers: headerParameters,
|
|
233
|
+
query: queryParameters,
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Pluto reads this list instead of RECAP_GUILD_IDS. A guild without a row keeps the environment defaults.
|
|
238
|
+
* List per-guild recap settings
|
|
239
|
+
*/
|
|
240
|
+
async listRecapSettingsRaw(requestParameters, initOverrides) {
|
|
241
|
+
const requestOptions = await this.listRecapSettingsRequestOpts(requestParameters);
|
|
242
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
243
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(GuildRecapSettingsDto_1.GuildRecapSettingsDtoFromJSON));
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Pluto reads this list instead of RECAP_GUILD_IDS. A guild without a row keeps the environment defaults.
|
|
247
|
+
* List per-guild recap settings
|
|
248
|
+
*/
|
|
249
|
+
async listRecapSettings(requestParameters = {}, initOverrides) {
|
|
250
|
+
const response = await this.listRecapSettingsRaw(requestParameters, initOverrides);
|
|
251
|
+
return await response.value();
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Creates request options for postRecapNow without sending the request
|
|
255
|
+
*/
|
|
256
|
+
async postRecapNowRequestOpts(requestParameters) {
|
|
257
|
+
if (requestParameters['postRecapNowDto'] == null) {
|
|
258
|
+
throw new runtime.RequiredError('postRecapNowDto', 'Required parameter "postRecapNowDto" was null or undefined when calling postRecapNow().');
|
|
259
|
+
}
|
|
260
|
+
const queryParameters = {};
|
|
261
|
+
const headerParameters = {};
|
|
262
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
263
|
+
let urlPath = `/api/khronos/v1/recap/post-now`;
|
|
264
|
+
return {
|
|
265
|
+
path: urlPath,
|
|
266
|
+
method: 'POST',
|
|
267
|
+
headers: headerParameters,
|
|
268
|
+
query: queryParameters,
|
|
269
|
+
body: (0, PostRecapNowDto_1.PostRecapNowDtoToJSON)(requestParameters['postRecapNowDto']),
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Staff action. Uses the stored recap channel unless a channel override is supplied.
|
|
274
|
+
* Post one recap to a guild now
|
|
275
|
+
*/
|
|
276
|
+
async postRecapNowRaw(requestParameters, initOverrides) {
|
|
277
|
+
const requestOptions = await this.postRecapNowRequestOpts(requestParameters);
|
|
278
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
279
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PostRecapNowResponseDto_1.PostRecapNowResponseDtoFromJSON)(jsonValue));
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Staff action. Uses the stored recap channel unless a channel override is supplied.
|
|
283
|
+
* Post one recap to a guild now
|
|
284
|
+
*/
|
|
285
|
+
async postRecapNow(requestParameters, initOverrides) {
|
|
286
|
+
const response = await this.postRecapNowRaw(requestParameters, initOverrides);
|
|
287
|
+
return await response.value();
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Creates request options for updateRecapSettings without sending the request
|
|
291
|
+
*/
|
|
292
|
+
async updateRecapSettingsRequestOpts(requestParameters) {
|
|
293
|
+
if (requestParameters['guildId'] == null) {
|
|
294
|
+
throw new runtime.RequiredError('guildId', 'Required parameter "guildId" was null or undefined when calling updateRecapSettings().');
|
|
295
|
+
}
|
|
296
|
+
if (requestParameters['updateGuildRecapSettingsDto'] == null) {
|
|
297
|
+
throw new runtime.RequiredError('updateGuildRecapSettingsDto', 'Required parameter "updateGuildRecapSettingsDto" was null or undefined when calling updateRecapSettings().');
|
|
298
|
+
}
|
|
299
|
+
const queryParameters = {};
|
|
300
|
+
const headerParameters = {};
|
|
301
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
302
|
+
let urlPath = `/api/khronos/v1/recap/settings/{guild_id}`;
|
|
303
|
+
urlPath = urlPath.replace('{guild_id}', encodeURIComponent(String(requestParameters['guildId'])));
|
|
304
|
+
return {
|
|
305
|
+
path: urlPath,
|
|
306
|
+
method: 'PUT',
|
|
307
|
+
headers: headerParameters,
|
|
308
|
+
query: queryParameters,
|
|
309
|
+
body: (0, UpdateGuildRecapSettingsDto_1.UpdateGuildRecapSettingsDtoToJSON)(requestParameters['updateGuildRecapSettingsDto']),
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Enabling scheduled posts requires a channel. Omitted booleans keep their stored value.
|
|
314
|
+
* Create or update a guild recap settings row
|
|
315
|
+
*/
|
|
316
|
+
async updateRecapSettingsRaw(requestParameters, initOverrides) {
|
|
317
|
+
const requestOptions = await this.updateRecapSettingsRequestOpts(requestParameters);
|
|
318
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
319
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GuildRecapSettingsDto_1.GuildRecapSettingsDtoFromJSON)(jsonValue));
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Enabling scheduled posts requires a channel. Omitted booleans keep their stored value.
|
|
323
|
+
* Create or update a guild recap settings row
|
|
324
|
+
*/
|
|
325
|
+
async updateRecapSettings(requestParameters, initOverrides) {
|
|
326
|
+
const response = await this.updateRecapSettingsRaw(requestParameters, initOverrides);
|
|
327
|
+
return await response.value();
|
|
328
|
+
}
|
|
148
329
|
}
|
|
149
330
|
exports.RecapApi = RecapApi;
|
|
150
331
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecapApi.js","sourceRoot":"","sources":["../../src/apis/RecapApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AACtC,2FAIiD;AACjD,6EAI0C;
|
|
1
|
+
{"version":3,"file":"RecapApi.js","sourceRoot":"","sources":["../../src/apis/RecapApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AACtC,2EAIyC;AACzC,+DAImC;AACnC,+EAI2C;AAC3C,2FAIiD;AACjD,6EAI0C;AAC1C,uFAI+C;AA8N/C;;GAEG;AACH,MAAa,QAAS,SAAQ,OAAO,C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CAAC,6BAA6B,CAAC,CAAC;SAC5F,CAAC;IACN,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,sBAAsB,CAAC,iBAA6C,EAAE,aAA0D;QAClI,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,CAAC;QACpF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,qDAA6B,EAAC,SAAS,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,mBAAmB,CAAC,iBAA6C,EAAE,aAA0D;QAC/H,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACrF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AApXD,4BAoXC;AAED;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC;AAEX;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC;AAEX;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACnC,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Khronos API Documentation
|
|
3
|
+
* Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetMatchesPendingClosure404Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetMatchesPendingClosure404Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {any}
|
|
21
|
+
* @memberof GetMatchesPendingClosure404Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: any | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {any}
|
|
27
|
+
* @memberof GetMatchesPendingClosure404Response
|
|
28
|
+
*/
|
|
29
|
+
message: any | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {any}
|
|
33
|
+
* @memberof GetMatchesPendingClosure404Response
|
|
34
|
+
*/
|
|
35
|
+
exception: any | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GetMatchesPendingClosure404Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGetMatchesPendingClosure404Response(value: object): value is GetMatchesPendingClosure404Response;
|
|
41
|
+
export declare function GetMatchesPendingClosure404ResponseFromJSON(json: any): GetMatchesPendingClosure404Response;
|
|
42
|
+
export declare function GetMatchesPendingClosure404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMatchesPendingClosure404Response;
|
|
43
|
+
export declare function GetMatchesPendingClosure404ResponseToJSON(json: any): GetMatchesPendingClosure404Response;
|
|
44
|
+
export declare function GetMatchesPendingClosure404ResponseToJSONTyped(value?: GetMatchesPendingClosure404Response | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=GetMatchesPendingClosure404Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetMatchesPendingClosure404Response.d.ts","sourceRoot":"","sources":["../../src/models/GetMatchesPendingClosure404Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,UAAU,EAAE,GAAG,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,GAAG,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mCAAmC,CAKzH;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAU7I;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAExG;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5J"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Khronos API Documentation
|
|
6
|
+
* Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetMatchesPendingClosure404Response = instanceOfGetMatchesPendingClosure404Response;
|
|
17
|
+
exports.GetMatchesPendingClosure404ResponseFromJSON = GetMatchesPendingClosure404ResponseFromJSON;
|
|
18
|
+
exports.GetMatchesPendingClosure404ResponseFromJSONTyped = GetMatchesPendingClosure404ResponseFromJSONTyped;
|
|
19
|
+
exports.GetMatchesPendingClosure404ResponseToJSON = GetMatchesPendingClosure404ResponseToJSON;
|
|
20
|
+
exports.GetMatchesPendingClosure404ResponseToJSONTyped = GetMatchesPendingClosure404ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetMatchesPendingClosure404Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetMatchesPendingClosure404Response(value) {
|
|
25
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('exception' in value) || value['exception'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GetMatchesPendingClosure404ResponseFromJSON(json) {
|
|
34
|
+
return GetMatchesPendingClosure404ResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetMatchesPendingClosure404ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'statusCode': json['statusCode'],
|
|
42
|
+
'message': json['message'],
|
|
43
|
+
'exception': json['exception'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function GetMatchesPendingClosure404ResponseToJSON(json) {
|
|
47
|
+
return GetMatchesPendingClosure404ResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetMatchesPendingClosure404ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'statusCode': value['statusCode'],
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'exception': value['exception'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=GetMatchesPendingClosure404Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetMatchesPendingClosure404Response.js","sourceRoot":"","sources":["../../src/models/GetMatchesPendingClosure404Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,sGAKC;AAED,kGAEC;AAED,4GAUC;AAED,8FAEC;AAED,wGAWC;AAzCD;;GAEG;AACH,SAAgB,6CAA6C,CAAC,KAAa;IACvE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS,EAAE,mBAA4B;IACpG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAkD,EAAE,sBAA+B,KAAK;IACnJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Khronos API Documentation
|
|
3
|
+
* Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GuildPropSettingsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GuildPropSettingsDto {
|
|
18
|
+
/**
|
|
19
|
+
* Discord guild ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GuildPropSettingsDto
|
|
22
|
+
*/
|
|
23
|
+
guild_id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Selection strategy for the props autopost
|
|
26
|
+
* @type {GuildPropSettingsDtoStrategyEnum}
|
|
27
|
+
* @memberof GuildPropSettingsDto
|
|
28
|
+
*/
|
|
29
|
+
strategy: GuildPropSettingsDtoStrategyEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the props autopost posts here
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof GuildPropSettingsDto
|
|
34
|
+
*/
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Daily post time, HH:MM UTC. Null follows the PROPS_AUTOPOST_* cron.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GuildPropSettingsDto
|
|
40
|
+
*/
|
|
41
|
+
post_time: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* UTC date the guild post time last ran
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GuildPropSettingsDto
|
|
46
|
+
*/
|
|
47
|
+
last_posted_on: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Last update timestamp
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof GuildPropSettingsDto
|
|
52
|
+
*/
|
|
53
|
+
updated_at: Date;
|
|
54
|
+
/**
|
|
55
|
+
* Actor that last changed the row, when known
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GuildPropSettingsDto
|
|
58
|
+
*/
|
|
59
|
+
updated_by: string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const GuildPropSettingsDtoStrategyEnum: {
|
|
65
|
+
readonly Default: "default";
|
|
66
|
+
readonly Smart: "smart";
|
|
67
|
+
};
|
|
68
|
+
export type GuildPropSettingsDtoStrategyEnum = typeof GuildPropSettingsDtoStrategyEnum[keyof typeof GuildPropSettingsDtoStrategyEnum];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the GuildPropSettingsDto interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfGuildPropSettingsDto(value: object): value is GuildPropSettingsDto;
|
|
73
|
+
export declare function GuildPropSettingsDtoFromJSON(json: any): GuildPropSettingsDto;
|
|
74
|
+
export declare function GuildPropSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuildPropSettingsDto;
|
|
75
|
+
export declare function GuildPropSettingsDtoToJSON(json: any): GuildPropSettingsDto;
|
|
76
|
+
export declare function GuildPropSettingsDtoToJSONTyped(value?: GuildPropSettingsDto | null, ignoreDiscriminator?: boolean): any;
|
|
77
|
+
//# sourceMappingURL=GuildPropSettingsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GuildPropSettingsDto.d.ts","sourceRoot":"","sources":["../../src/models/GuildPropSettingsDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,gCAAgC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAGtI;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAS3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAc/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe9H"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Khronos API Documentation
|
|
6
|
+
* Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GuildPropSettingsDtoStrategyEnum = void 0;
|
|
17
|
+
exports.instanceOfGuildPropSettingsDto = instanceOfGuildPropSettingsDto;
|
|
18
|
+
exports.GuildPropSettingsDtoFromJSON = GuildPropSettingsDtoFromJSON;
|
|
19
|
+
exports.GuildPropSettingsDtoFromJSONTyped = GuildPropSettingsDtoFromJSONTyped;
|
|
20
|
+
exports.GuildPropSettingsDtoToJSON = GuildPropSettingsDtoToJSON;
|
|
21
|
+
exports.GuildPropSettingsDtoToJSONTyped = GuildPropSettingsDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GuildPropSettingsDtoStrategyEnum = {
|
|
26
|
+
Default: 'default',
|
|
27
|
+
Smart: 'smart'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the GuildPropSettingsDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfGuildPropSettingsDto(value) {
|
|
33
|
+
if (!('guild_id' in value) || value['guild_id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('strategy' in value) || value['strategy'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('post_time' in value) || value['post_time'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('last_posted_on' in value) || value['last_posted_on'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('updated_at' in value) || value['updated_at'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('updated_by' in value) || value['updated_by'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function GuildPropSettingsDtoFromJSON(json) {
|
|
50
|
+
return GuildPropSettingsDtoFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GuildPropSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'guild_id': json['guild_id'],
|
|
58
|
+
'strategy': json['strategy'],
|
|
59
|
+
'enabled': json['enabled'],
|
|
60
|
+
'post_time': json['post_time'],
|
|
61
|
+
'last_posted_on': json['last_posted_on'],
|
|
62
|
+
'updated_at': (new Date(json['updated_at'])),
|
|
63
|
+
'updated_by': json['updated_by'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function GuildPropSettingsDtoToJSON(json) {
|
|
67
|
+
return GuildPropSettingsDtoToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function GuildPropSettingsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'guild_id': value['guild_id'],
|
|
75
|
+
'strategy': value['strategy'],
|
|
76
|
+
'enabled': value['enabled'],
|
|
77
|
+
'post_time': value['post_time'],
|
|
78
|
+
'last_posted_on': value['last_posted_on'],
|
|
79
|
+
'updated_at': value['updated_at'].toISOString(),
|
|
80
|
+
'updated_by': value['updated_by'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=GuildPropSettingsDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{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* Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GuildRecapSettingsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GuildRecapSettingsDto {
|
|
18
|
+
/**
|
|
19
|
+
* Discord guild ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GuildRecapSettingsDto
|
|
22
|
+
*/
|
|
23
|
+
guild_id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Channel recaps and leaderboard auto-posts go to
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GuildRecapSettingsDto
|
|
28
|
+
*/
|
|
29
|
+
channel_id: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Whether scheduled recap posts are enabled
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof GuildRecapSettingsDto
|
|
34
|
+
*/
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the NBA recap is posted too
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof GuildRecapSettingsDto
|
|
40
|
+
*/
|
|
41
|
+
nba_enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the weekly props leaderboard is auto-posted
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof GuildRecapSettingsDto
|
|
46
|
+
*/
|
|
47
|
+
weekly_leaderboard_enabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the monthly props leaderboard is auto-posted
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GuildRecapSettingsDto
|
|
52
|
+
*/
|
|
53
|
+
monthly_leaderboard_enabled: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Last update timestamp
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof GuildRecapSettingsDto
|
|
58
|
+
*/
|
|
59
|
+
updated_at: Date;
|
|
60
|
+
/**
|
|
61
|
+
* Actor that last changed the row, when known
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof GuildRecapSettingsDto
|
|
64
|
+
*/
|
|
65
|
+
updated_by: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the GuildRecapSettingsDto interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfGuildRecapSettingsDto(value: object): value is GuildRecapSettingsDto;
|
|
71
|
+
export declare function GuildRecapSettingsDtoFromJSON(json: any): GuildRecapSettingsDto;
|
|
72
|
+
export declare function GuildRecapSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuildRecapSettingsDto;
|
|
73
|
+
export declare function GuildRecapSettingsDtoToJSON(json: any): GuildRecapSettingsDto;
|
|
74
|
+
export declare function GuildRecapSettingsDtoToJSONTyped(value?: GuildRecapSettingsDto | null, ignoreDiscriminator?: boolean): any;
|
|
75
|
+
//# sourceMappingURL=GuildRecapSettingsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GuildRecapSettingsDto.d.ts","sourceRoot":"","sources":["../../src/models/GuildRecapSettingsDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,0BAA0B,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,2BAA2B,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAU7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhI"}
|