@pluto-khronos/api-client 3.8.1 → 3.10.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/AdminOpsApi.d.ts +135 -0
- package/dist/apis/AdminOpsApi.d.ts.map +1 -0
- package/dist/apis/AdminOpsApi.js +158 -0
- package/dist/apis/AdminOpsApi.js.map +1 -0
- package/dist/apis/AdminPropsApi.d.ts +192 -0
- package/dist/apis/AdminPropsApi.d.ts.map +1 -0
- package/dist/apis/AdminPropsApi.js +216 -0
- package/dist/apis/AdminPropsApi.js.map +1 -0
- package/dist/apis/IdentityApi.d.ts +52 -0
- package/dist/apis/IdentityApi.d.ts.map +1 -0
- package/dist/apis/IdentityApi.js +83 -0
- package/dist/apis/IdentityApi.js.map +1 -0
- package/dist/apis/PropsApi.d.ts +6 -0
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +6 -0
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +3 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/AdminEventDetailResponseDto.d.ts +63 -0
- package/dist/models/AdminEventDetailResponseDto.d.ts.map +1 -0
- package/dist/models/AdminEventDetailResponseDto.js +69 -0
- package/dist/models/AdminEventDetailResponseDto.js.map +1 -0
- package/dist/models/AdminEventListItemDto.d.ts +68 -0
- package/dist/models/AdminEventListItemDto.d.ts.map +1 -0
- package/dist/models/AdminEventListItemDto.js +72 -0
- package/dist/models/AdminEventListItemDto.js.map +1 -0
- package/dist/models/AdminEventsResponseDto.d.ts +55 -0
- package/dist/models/AdminEventsResponseDto.d.ts.map +1 -0
- package/dist/models/AdminEventsResponseDto.js +65 -0
- package/dist/models/AdminEventsResponseDto.js.map +1 -0
- package/dist/models/AdminGuildLedgerPostsDto.d.ts +40 -0
- package/dist/models/AdminGuildLedgerPostsDto.d.ts.map +1 -0
- package/dist/models/AdminGuildLedgerPostsDto.js +56 -0
- package/dist/models/AdminGuildLedgerPostsDto.js.map +1 -0
- package/dist/models/AdminLedgerPostDto.d.ts +51 -0
- package/dist/models/AdminLedgerPostDto.d.ts.map +1 -0
- package/dist/models/AdminLedgerPostDto.js +63 -0
- package/dist/models/AdminLedgerPostDto.js.map +1 -0
- package/dist/models/AdminOpsChannelDto.d.ts +100 -0
- package/dist/models/AdminOpsChannelDto.d.ts.map +1 -0
- package/dist/models/AdminOpsChannelDto.js +95 -0
- package/dist/models/AdminOpsChannelDto.js.map +1 -0
- package/dist/models/AdminOpsChannelsResponseDto.d.ts +47 -0
- package/dist/models/AdminOpsChannelsResponseDto.d.ts.map +1 -0
- package/dist/models/AdminOpsChannelsResponseDto.js +59 -0
- package/dist/models/AdminOpsChannelsResponseDto.js.map +1 -0
- package/dist/models/AdminOpsGameChannelDto.d.ts +81 -0
- package/dist/models/AdminOpsGameChannelDto.d.ts.map +1 -0
- package/dist/models/AdminOpsGameChannelDto.js +84 -0
- package/dist/models/AdminOpsGameChannelDto.js.map +1 -0
- package/dist/models/AdminOpsGameDto.d.ts +83 -0
- package/dist/models/AdminOpsGameDto.d.ts.map +1 -0
- package/dist/models/AdminOpsGameDto.js +79 -0
- package/dist/models/AdminOpsGameDto.js.map +1 -0
- package/dist/models/AdminOpsGamesResponseDto.d.ts +47 -0
- package/dist/models/AdminOpsGamesResponseDto.d.ts.map +1 -0
- package/dist/models/AdminOpsGamesResponseDto.js +59 -0
- package/dist/models/AdminOpsGamesResponseDto.js.map +1 -0
- package/dist/models/AdminOpsLastLogDto.d.ts +54 -0
- package/dist/models/AdminOpsLastLogDto.d.ts.map +1 -0
- package/dist/models/AdminOpsLastLogDto.js +64 -0
- package/dist/models/AdminOpsLastLogDto.js.map +1 -0
- package/dist/models/AdminOpsMatchDto.d.ts +64 -0
- package/dist/models/AdminOpsMatchDto.d.ts.map +1 -0
- package/dist/models/AdminOpsMatchDto.js +68 -0
- package/dist/models/AdminOpsMatchDto.js.map +1 -0
- package/dist/models/AdminOpsWarningDto.d.ts +51 -0
- package/dist/models/AdminOpsWarningDto.d.ts.map +1 -0
- package/dist/models/AdminOpsWarningDto.js +59 -0
- package/dist/models/AdminOpsWarningDto.js.map +1 -0
- package/dist/models/AdminPlacementDto.d.ts +94 -0
- package/dist/models/AdminPlacementDto.d.ts.map +1 -0
- package/dist/models/AdminPlacementDto.js +94 -0
- package/dist/models/AdminPlacementDto.js.map +1 -0
- package/dist/models/AdminPlacementsResponseDto.d.ts +55 -0
- package/dist/models/AdminPlacementsResponseDto.d.ts.map +1 -0
- package/dist/models/AdminPlacementsResponseDto.js +65 -0
- package/dist/models/AdminPlacementsResponseDto.js.map +1 -0
- package/dist/models/AdminPropDetailDto.d.ts +116 -0
- package/dist/models/AdminPropDetailDto.d.ts.map +1 -0
- package/dist/models/AdminPropDetailDto.js +104 -0
- package/dist/models/AdminPropDetailDto.js.map +1 -0
- package/dist/models/AdminPropGroupDto.d.ts +58 -0
- package/dist/models/AdminPropGroupDto.d.ts.map +1 -0
- package/dist/models/AdminPropGroupDto.js +68 -0
- package/dist/models/AdminPropGroupDto.js.map +1 -0
- package/dist/models/AdminReadWarningDto.d.ts +51 -0
- package/dist/models/AdminReadWarningDto.d.ts.map +1 -0
- package/dist/models/AdminReadWarningDto.js +59 -0
- package/dist/models/AdminReadWarningDto.js.map +1 -0
- package/dist/models/PredictionStateHistogramDto.d.ts +51 -0
- package/dist/models/PredictionStateHistogramDto.d.ts.map +1 -0
- package/dist/models/PredictionStateHistogramDto.js +63 -0
- package/dist/models/PredictionStateHistogramDto.js.map +1 -0
- package/dist/models/RegradePropDto.d.ts +39 -0
- package/dist/models/RegradePropDto.d.ts.map +1 -0
- package/dist/models/RegradePropDto.js +55 -0
- package/dist/models/RegradePropDto.js.map +1 -0
- package/dist/models/RegradePropResponseDto.d.ts +39 -0
- package/dist/models/RegradePropResponseDto.d.ts.map +1 -0
- package/dist/models/RegradePropResponseDto.js +55 -0
- package/dist/models/RegradePropResponseDto.js.map +1 -0
- package/dist/models/SetPropResultDto.d.ts +6 -0
- package/dist/models/SetPropResultDto.d.ts.map +1 -1
- package/dist/models/SetPropResultDto.js +2 -0
- package/dist/models/SetPropResultDto.js.map +1 -1
- package/dist/models/SetPropResultResponseDto.d.ts +15 -3
- package/dist/models/SetPropResultResponseDto.d.ts.map +1 -1
- package/dist/models/SetPropResultResponseDto.js +7 -9
- package/dist/models/SetPropResultResponseDto.js.map +1 -1
- package/dist/models/VoidPropResponseDto.d.ts +14 -2
- package/dist/models/VoidPropResponseDto.d.ts.map +1 -1
- package/dist/models/VoidPropResponseDto.js +6 -6
- package/dist/models/VoidPropResponseDto.js.map +1 -1
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +21 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
import type { AdminOpsMatchDto } from './AdminOpsMatchDto';
|
|
13
|
+
import type { AdminOpsLastLogDto } from './AdminOpsLastLogDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdminOpsChannelDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AdminOpsChannelDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AdminOpsChannelDto
|
|
24
|
+
*/
|
|
25
|
+
event_id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AdminOpsChannelDto
|
|
30
|
+
*/
|
|
31
|
+
sport: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AdminOpsChannelDto
|
|
36
|
+
*/
|
|
37
|
+
channelname: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {AdminOpsChannelDtoStateEnum}
|
|
41
|
+
* @memberof AdminOpsChannelDto
|
|
42
|
+
*/
|
|
43
|
+
state: AdminOpsChannelDtoStateEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof AdminOpsChannelDto
|
|
48
|
+
*/
|
|
49
|
+
scheduled_for: Date;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof AdminOpsChannelDto
|
|
54
|
+
*/
|
|
55
|
+
created_at?: Date | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {AdminOpsLastLogDto}
|
|
59
|
+
* @memberof AdminOpsChannelDto
|
|
60
|
+
*/
|
|
61
|
+
last_log?: AdminOpsLastLogDto | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {AdminOpsMatchDto}
|
|
65
|
+
* @memberof AdminOpsChannelDto
|
|
66
|
+
*/
|
|
67
|
+
match?: AdminOpsMatchDto | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {AdminOpsChannelDtoProvenanceEnum}
|
|
71
|
+
* @memberof AdminOpsChannelDto
|
|
72
|
+
*/
|
|
73
|
+
provenance: AdminOpsChannelDtoProvenanceEnum;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export declare const AdminOpsChannelDtoStateEnum: {
|
|
79
|
+
readonly Scheduled: "scheduled";
|
|
80
|
+
readonly Open: "open";
|
|
81
|
+
readonly Closed: "closed";
|
|
82
|
+
readonly Failed: "failed";
|
|
83
|
+
};
|
|
84
|
+
export type AdminOpsChannelDtoStateEnum = typeof AdminOpsChannelDtoStateEnum[keyof typeof AdminOpsChannelDtoStateEnum];
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const AdminOpsChannelDtoProvenanceEnum: {
|
|
89
|
+
readonly Khronos: "khronos";
|
|
90
|
+
};
|
|
91
|
+
export type AdminOpsChannelDtoProvenanceEnum = typeof AdminOpsChannelDtoProvenanceEnum[keyof typeof AdminOpsChannelDtoProvenanceEnum];
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the AdminOpsChannelDto interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfAdminOpsChannelDto(value: object): value is AdminOpsChannelDto;
|
|
96
|
+
export declare function AdminOpsChannelDtoFromJSON(json: any): AdminOpsChannelDto;
|
|
97
|
+
export declare function AdminOpsChannelDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsChannelDto;
|
|
98
|
+
export declare function AdminOpsChannelDtoToJSON(json: any): AdminOpsChannelDto;
|
|
99
|
+
export declare function AdminOpsChannelDtoToJSONTyped(value?: AdminOpsChannelDto | null, ignoreDiscriminator?: boolean): any;
|
|
100
|
+
//# sourceMappingURL=AdminOpsChannelDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsChannelDto.d.ts","sourceRoot":"","sources":["../../src/models/AdminOpsChannelDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;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|
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.AdminOpsChannelDtoProvenanceEnum = exports.AdminOpsChannelDtoStateEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminOpsChannelDto = instanceOfAdminOpsChannelDto;
|
|
18
|
+
exports.AdminOpsChannelDtoFromJSON = AdminOpsChannelDtoFromJSON;
|
|
19
|
+
exports.AdminOpsChannelDtoFromJSONTyped = AdminOpsChannelDtoFromJSONTyped;
|
|
20
|
+
exports.AdminOpsChannelDtoToJSON = AdminOpsChannelDtoToJSON;
|
|
21
|
+
exports.AdminOpsChannelDtoToJSONTyped = AdminOpsChannelDtoToJSONTyped;
|
|
22
|
+
const AdminOpsMatchDto_1 = require("./AdminOpsMatchDto");
|
|
23
|
+
const AdminOpsLastLogDto_1 = require("./AdminOpsLastLogDto");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.AdminOpsChannelDtoStateEnum = {
|
|
28
|
+
Scheduled: 'scheduled',
|
|
29
|
+
Open: 'open',
|
|
30
|
+
Closed: 'closed',
|
|
31
|
+
Failed: 'failed'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.AdminOpsChannelDtoProvenanceEnum = {
|
|
37
|
+
Khronos: 'khronos'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AdminOpsChannelDto interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfAdminOpsChannelDto(value) {
|
|
43
|
+
if (!('event_id' in value) || value['event_id'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('sport' in value) || value['sport'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('channelname' in value) || value['channelname'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('scheduled_for' in value) || value['scheduled_for'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('provenance' in value) || value['provenance'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function AdminOpsChannelDtoFromJSON(json) {
|
|
58
|
+
return AdminOpsChannelDtoFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function AdminOpsChannelDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'event_id': json['event_id'],
|
|
66
|
+
'sport': json['sport'],
|
|
67
|
+
'channelname': json['channelname'],
|
|
68
|
+
'state': json['state'],
|
|
69
|
+
'scheduled_for': (new Date(json['scheduled_for'])),
|
|
70
|
+
'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
71
|
+
'last_log': json['last_log'] == null ? undefined : (0, AdminOpsLastLogDto_1.AdminOpsLastLogDtoFromJSON)(json['last_log']),
|
|
72
|
+
'match': json['match'] == null ? undefined : (0, AdminOpsMatchDto_1.AdminOpsMatchDtoFromJSON)(json['match']),
|
|
73
|
+
'provenance': json['provenance'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function AdminOpsChannelDtoToJSON(json) {
|
|
77
|
+
return AdminOpsChannelDtoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
function AdminOpsChannelDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'event_id': value['event_id'],
|
|
85
|
+
'sport': value['sport'],
|
|
86
|
+
'channelname': value['channelname'],
|
|
87
|
+
'state': value['state'],
|
|
88
|
+
'scheduled_for': value['scheduled_for'].toISOString(),
|
|
89
|
+
'created_at': value['created_at'] == null ? value['created_at'] : value['created_at'].toISOString(),
|
|
90
|
+
'last_log': (0, AdminOpsLastLogDto_1.AdminOpsLastLogDtoToJSON)(value['last_log']),
|
|
91
|
+
'match': (0, AdminOpsMatchDto_1.AdminOpsMatchDtoToJSON)(value['match']),
|
|
92
|
+
'provenance': value['provenance'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=AdminOpsChannelDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsChannelDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsChannelDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwGH,oEAQC;AAED,gEAEC;AAED,0EAgBC;AAED,4DAEC;AAED,sEAiBC;AAzJD,yDAK4B;AAE5B,6DAK8B;AAiE9B;;GAEG;AACU,QAAA,2BAA2B,GAAG;IACvC,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,CAAC;AAGX;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC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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
|
+
import type { AdminOpsChannelDto } from './AdminOpsChannelDto';
|
|
13
|
+
import type { AdminOpsWarningDto } from './AdminOpsWarningDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdminOpsChannelsResponseDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AdminOpsChannelsResponseDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<AdminOpsChannelDto>}
|
|
23
|
+
* @memberof AdminOpsChannelsResponseDto
|
|
24
|
+
*/
|
|
25
|
+
items: Array<AdminOpsChannelDto>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AdminOpsChannelsResponseDto
|
|
30
|
+
*/
|
|
31
|
+
next_cursor?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<AdminOpsWarningDto>}
|
|
35
|
+
* @memberof AdminOpsChannelsResponseDto
|
|
36
|
+
*/
|
|
37
|
+
warnings: Array<AdminOpsWarningDto>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AdminOpsChannelsResponseDto interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAdminOpsChannelsResponseDto(value: object): value is AdminOpsChannelsResponseDto;
|
|
43
|
+
export declare function AdminOpsChannelsResponseDtoFromJSON(json: any): AdminOpsChannelsResponseDto;
|
|
44
|
+
export declare function AdminOpsChannelsResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsChannelsResponseDto;
|
|
45
|
+
export declare function AdminOpsChannelsResponseDtoToJSON(json: any): AdminOpsChannelsResponseDto;
|
|
46
|
+
export declare function AdminOpsChannelsResponseDtoToJSONTyped(value?: AdminOpsChannelsResponseDto | null, ignoreDiscriminator?: boolean): any;
|
|
47
|
+
//# sourceMappingURL=AdminOpsChannelsResponseDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsChannelsResponseDto.d.ts","sourceRoot":"","sources":["../../src/models/AdminOpsChannelsResponseDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAIzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAU7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5I"}
|
|
@@ -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.instanceOfAdminOpsChannelsResponseDto = instanceOfAdminOpsChannelsResponseDto;
|
|
17
|
+
exports.AdminOpsChannelsResponseDtoFromJSON = AdminOpsChannelsResponseDtoFromJSON;
|
|
18
|
+
exports.AdminOpsChannelsResponseDtoFromJSONTyped = AdminOpsChannelsResponseDtoFromJSONTyped;
|
|
19
|
+
exports.AdminOpsChannelsResponseDtoToJSON = AdminOpsChannelsResponseDtoToJSON;
|
|
20
|
+
exports.AdminOpsChannelsResponseDtoToJSONTyped = AdminOpsChannelsResponseDtoToJSONTyped;
|
|
21
|
+
const AdminOpsChannelDto_1 = require("./AdminOpsChannelDto");
|
|
22
|
+
const AdminOpsWarningDto_1 = require("./AdminOpsWarningDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AdminOpsChannelsResponseDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAdminOpsChannelsResponseDto(value) {
|
|
27
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('warnings' in value) || value['warnings'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AdminOpsChannelsResponseDtoFromJSON(json) {
|
|
34
|
+
return AdminOpsChannelsResponseDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AdminOpsChannelsResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'items': (json['items'].map(AdminOpsChannelDto_1.AdminOpsChannelDtoFromJSON)),
|
|
42
|
+
'next_cursor': json['next_cursor'] == null ? undefined : json['next_cursor'],
|
|
43
|
+
'warnings': (json['warnings'].map(AdminOpsWarningDto_1.AdminOpsWarningDtoFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AdminOpsChannelsResponseDtoToJSON(json) {
|
|
47
|
+
return AdminOpsChannelsResponseDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AdminOpsChannelsResponseDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(AdminOpsChannelDto_1.AdminOpsChannelDtoToJSON)),
|
|
55
|
+
'next_cursor': value['next_cursor'],
|
|
56
|
+
'warnings': (value['warnings'].map(AdminOpsWarningDto_1.AdminOpsWarningDtoToJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=AdminOpsChannelsResponseDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsChannelsResponseDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsChannelsResponseDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA+CH,sFAIC;AAED,kFAEC;AAED,4FAUC;AAED,8EAEC;AAED,wFAWC;AAhFD,6DAK8B;AAE9B,6DAK8B;AA4B9B;;GAEG;AACH,SAAgB,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,C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
|
+
* 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
|
+
import type { AdminOpsLastLogDto } from './AdminOpsLastLogDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminOpsGameChannelDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminOpsGameChannelDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AdminOpsGameChannelDto
|
|
23
|
+
*/
|
|
24
|
+
channelname: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AdminOpsGameChannelDtoStateEnum}
|
|
28
|
+
* @memberof AdminOpsGameChannelDto
|
|
29
|
+
*/
|
|
30
|
+
state: AdminOpsGameChannelDtoStateEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof AdminOpsGameChannelDto
|
|
35
|
+
*/
|
|
36
|
+
scheduled_for: Date;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof AdminOpsGameChannelDto
|
|
41
|
+
*/
|
|
42
|
+
created_at?: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {AdminOpsLastLogDto}
|
|
46
|
+
* @memberof AdminOpsGameChannelDto
|
|
47
|
+
*/
|
|
48
|
+
last_log?: AdminOpsLastLogDto | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AdminOpsGameChannelDtoProvenanceEnum}
|
|
52
|
+
* @memberof AdminOpsGameChannelDto
|
|
53
|
+
*/
|
|
54
|
+
provenance: AdminOpsGameChannelDtoProvenanceEnum;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const AdminOpsGameChannelDtoStateEnum: {
|
|
60
|
+
readonly Scheduled: "scheduled";
|
|
61
|
+
readonly Open: "open";
|
|
62
|
+
readonly Closed: "closed";
|
|
63
|
+
readonly Failed: "failed";
|
|
64
|
+
};
|
|
65
|
+
export type AdminOpsGameChannelDtoStateEnum = typeof AdminOpsGameChannelDtoStateEnum[keyof typeof AdminOpsGameChannelDtoStateEnum];
|
|
66
|
+
/**
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
69
|
+
export declare const AdminOpsGameChannelDtoProvenanceEnum: {
|
|
70
|
+
readonly Khronos: "khronos";
|
|
71
|
+
};
|
|
72
|
+
export type AdminOpsGameChannelDtoProvenanceEnum = typeof AdminOpsGameChannelDtoProvenanceEnum[keyof typeof AdminOpsGameChannelDtoProvenanceEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the AdminOpsGameChannelDto interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfAdminOpsGameChannelDto(value: object): value is AdminOpsGameChannelDto;
|
|
77
|
+
export declare function AdminOpsGameChannelDtoFromJSON(json: any): AdminOpsGameChannelDto;
|
|
78
|
+
export declare function AdminOpsGameChannelDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsGameChannelDto;
|
|
79
|
+
export declare function AdminOpsGameChannelDtoToJSON(json: any): AdminOpsGameChannelDto;
|
|
80
|
+
export declare function AdminOpsGameChannelDtoToJSONTyped(value?: AdminOpsGameChannelDto | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=AdminOpsGameChannelDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsGameChannelDto.d.ts","sourceRoot":"","s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|
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.AdminOpsGameChannelDtoProvenanceEnum = exports.AdminOpsGameChannelDtoStateEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminOpsGameChannelDto = instanceOfAdminOpsGameChannelDto;
|
|
18
|
+
exports.AdminOpsGameChannelDtoFromJSON = AdminOpsGameChannelDtoFromJSON;
|
|
19
|
+
exports.AdminOpsGameChannelDtoFromJSONTyped = AdminOpsGameChannelDtoFromJSONTyped;
|
|
20
|
+
exports.AdminOpsGameChannelDtoToJSON = AdminOpsGameChannelDtoToJSON;
|
|
21
|
+
exports.AdminOpsGameChannelDtoToJSONTyped = AdminOpsGameChannelDtoToJSONTyped;
|
|
22
|
+
const AdminOpsLastLogDto_1 = require("./AdminOpsLastLogDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AdminOpsGameChannelDtoStateEnum = {
|
|
27
|
+
Scheduled: 'scheduled',
|
|
28
|
+
Open: 'open',
|
|
29
|
+
Closed: 'closed',
|
|
30
|
+
Failed: 'failed'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.AdminOpsGameChannelDtoProvenanceEnum = {
|
|
36
|
+
Khronos: 'khronos'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AdminOpsGameChannelDto interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfAdminOpsGameChannelDto(value) {
|
|
42
|
+
if (!('channelname' in value) || value['channelname'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('scheduled_for' in value) || value['scheduled_for'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('provenance' in value) || value['provenance'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function AdminOpsGameChannelDtoFromJSON(json) {
|
|
53
|
+
return AdminOpsGameChannelDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AdminOpsGameChannelDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'channelname': json['channelname'],
|
|
61
|
+
'state': json['state'],
|
|
62
|
+
'scheduled_for': (new Date(json['scheduled_for'])),
|
|
63
|
+
'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
64
|
+
'last_log': json['last_log'] == null ? undefined : (0, AdminOpsLastLogDto_1.AdminOpsLastLogDtoFromJSON)(json['last_log']),
|
|
65
|
+
'provenance': json['provenance'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function AdminOpsGameChannelDtoToJSON(json) {
|
|
69
|
+
return AdminOpsGameChannelDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function AdminOpsGameChannelDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'channelname': value['channelname'],
|
|
77
|
+
'state': value['state'],
|
|
78
|
+
'scheduled_for': value['scheduled_for'].toISOString(),
|
|
79
|
+
'created_at': value['created_at'] == null ? value['created_at'] : value['created_at'].toISOString(),
|
|
80
|
+
'last_log': (0, AdminOpsLastLogDto_1.AdminOpsLastLogDtoToJSON)(value['last_log']),
|
|
81
|
+
'provenance': value['provenance'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=AdminOpsGameChannelDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsGameChannelDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsGameChannelDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA+EH,4EAMC;AAED,wEAEC;AAED,kFAaC;AAED,oEAEC;AAED,8EAcC;AAxHD,6DAK8B;AA+C9B;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC3C,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,CAAC;AAGX;;GAEG;AACU,QAAA,oCAAoC,GAAG;IAChD,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SA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AC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QACnG,UAAU,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACvD,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
import type { AdminOpsGameChannelDto } from './AdminOpsGameChannelDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminOpsGameDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminOpsGameDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AdminOpsGameDto
|
|
23
|
+
*/
|
|
24
|
+
event_id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AdminOpsGameDto
|
|
29
|
+
*/
|
|
30
|
+
sport: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AdminOpsGameDto
|
|
35
|
+
*/
|
|
36
|
+
home?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AdminOpsGameDto
|
|
41
|
+
*/
|
|
42
|
+
away?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof AdminOpsGameDto
|
|
47
|
+
*/
|
|
48
|
+
commence_time: Date;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof AdminOpsGameDto
|
|
53
|
+
*/
|
|
54
|
+
match_status?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {AdminOpsGameChannelDto}
|
|
58
|
+
* @memberof AdminOpsGameDto
|
|
59
|
+
*/
|
|
60
|
+
channel?: AdminOpsGameChannelDto | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {AdminOpsGameDtoProvenanceEnum}
|
|
64
|
+
* @memberof AdminOpsGameDto
|
|
65
|
+
*/
|
|
66
|
+
provenance: AdminOpsGameDtoProvenanceEnum;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const AdminOpsGameDtoProvenanceEnum: {
|
|
72
|
+
readonly Goracle: "goracle";
|
|
73
|
+
};
|
|
74
|
+
export type AdminOpsGameDtoProvenanceEnum = typeof AdminOpsGameDtoProvenanceEnum[keyof typeof AdminOpsGameDtoProvenanceEnum];
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the AdminOpsGameDto interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfAdminOpsGameDto(value: object): value is AdminOpsGameDto;
|
|
79
|
+
export declare function AdminOpsGameDtoFromJSON(json: any): AdminOpsGameDto;
|
|
80
|
+
export declare function AdminOpsGameDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsGameDto;
|
|
81
|
+
export declare function AdminOpsGameDtoToJSON(json: any): AdminOpsGameDto;
|
|
82
|
+
export declare function AdminOpsGameDtoToJSONTyped(value?: AdminOpsGameDto | null, ignoreDiscriminator?: boolean): any;
|
|
83
|
+
//# sourceMappingURL=AdminOpsGameDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+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@@
|
|
|
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.AdminOpsGameDtoProvenanceEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminOpsGameDto = instanceOfAdminOpsGameDto;
|
|
18
|
+
exports.AdminOpsGameDtoFromJSON = AdminOpsGameDtoFromJSON;
|
|
19
|
+
exports.AdminOpsGameDtoFromJSONTyped = AdminOpsGameDtoFromJSONTyped;
|
|
20
|
+
exports.AdminOpsGameDtoToJSON = AdminOpsGameDtoToJSON;
|
|
21
|
+
exports.AdminOpsGameDtoToJSONTyped = AdminOpsGameDtoToJSONTyped;
|
|
22
|
+
const AdminOpsGameChannelDto_1 = require("./AdminOpsGameChannelDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AdminOpsGameDtoProvenanceEnum = {
|
|
27
|
+
Goracle: 'goracle'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AdminOpsGameDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAdminOpsGameDto(value) {
|
|
33
|
+
if (!('event_id' in value) || value['event_id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('sport' in value) || value['sport'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('commence_time' in value) || value['commence_time'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('provenance' in value) || value['provenance'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AdminOpsGameDtoFromJSON(json) {
|
|
44
|
+
return AdminOpsGameDtoFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AdminOpsGameDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'event_id': json['event_id'],
|
|
52
|
+
'sport': json['sport'],
|
|
53
|
+
'home': json['home'] == null ? undefined : json['home'],
|
|
54
|
+
'away': json['away'] == null ? undefined : json['away'],
|
|
55
|
+
'commence_time': (new Date(json['commence_time'])),
|
|
56
|
+
'match_status': json['match_status'] == null ? undefined : json['match_status'],
|
|
57
|
+
'channel': json['channel'] == null ? undefined : (0, AdminOpsGameChannelDto_1.AdminOpsGameChannelDtoFromJSON)(json['channel']),
|
|
58
|
+
'provenance': json['provenance'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function AdminOpsGameDtoToJSON(json) {
|
|
62
|
+
return AdminOpsGameDtoToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function AdminOpsGameDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'event_id': value['event_id'],
|
|
70
|
+
'sport': value['sport'],
|
|
71
|
+
'home': value['home'],
|
|
72
|
+
'away': value['away'],
|
|
73
|
+
'commence_time': value['commence_time'].toISOString(),
|
|
74
|
+
'match_status': value['match_status'],
|
|
75
|
+
'channel': (0, AdminOpsGameChannelDto_1.AdminOpsGameChannelDtoToJSON)(value['channel']),
|
|
76
|
+
'provenance': value['provenance'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=AdminOpsGameDto.js.map
|