@pluto-khronos/api-client 3.20.1 → 3.22.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 +94 -0
- package/dist/apis/AdminOpsApi.d.ts.map +1 -1
- package/dist/apis/AdminOpsApi.js +88 -1
- package/dist/apis/AdminOpsApi.js.map +1 -1
- package/dist/apis/PropsApi.d.ts +39 -0
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +36 -0
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/models/AdminOpsGameDto.d.ts +14 -0
- package/dist/models/AdminOpsGameDto.d.ts.map +1 -1
- package/dist/models/AdminOpsGameDto.js +6 -0
- package/dist/models/AdminOpsGameDto.js.map +1 -1
- package/dist/models/AdminOpsLedgerDto.d.ts +59 -0
- package/dist/models/AdminOpsLedgerDto.d.ts.map +1 -0
- package/dist/models/AdminOpsLedgerDto.js +69 -0
- package/dist/models/AdminOpsLedgerDto.js.map +1 -0
- package/dist/models/AdminOpsLifecycleDto.d.ts +121 -0
- package/dist/models/AdminOpsLifecycleDto.d.ts.map +1 -0
- package/dist/models/AdminOpsLifecycleDto.js +102 -0
- package/dist/models/AdminOpsLifecycleDto.js.map +1 -0
- package/dist/models/AdminOpsLifecycleItemDto.d.ts +152 -0
- package/dist/models/AdminOpsLifecycleItemDto.d.ts.map +1 -0
- package/dist/models/AdminOpsLifecycleItemDto.js +117 -0
- package/dist/models/AdminOpsLifecycleItemDto.js.map +1 -0
- package/dist/models/AdminOpsLifecyclesResponseDto.d.ts +47 -0
- package/dist/models/AdminOpsLifecyclesResponseDto.d.ts.map +1 -0
- package/dist/models/AdminOpsLifecyclesResponseDto.js +59 -0
- package/dist/models/AdminOpsLifecyclesResponseDto.js.map +1 -0
- package/dist/models/AdminOpsMatchDto.d.ts +7 -0
- package/dist/models/AdminOpsMatchDto.d.ts.map +1 -1
- package/dist/models/AdminOpsMatchDto.js +3 -0
- package/dist/models/AdminOpsMatchDto.js.map +1 -1
- package/dist/models/ChannelAggregatedV2Dto.d.ts +7 -0
- package/dist/models/ChannelAggregatedV2Dto.d.ts.map +1 -1
- package/dist/models/ChannelAggregatedV2Dto.js +3 -0
- package/dist/models/ChannelAggregatedV2Dto.js.map +1 -1
- package/dist/models/ChannelAggregatedV2DtoScheduleChange.d.ts +78 -0
- package/dist/models/ChannelAggregatedV2DtoScheduleChange.d.ts.map +1 -0
- package/dist/models/ChannelAggregatedV2DtoScheduleChange.js +85 -0
- package/dist/models/ChannelAggregatedV2DtoScheduleChange.js.map +1 -0
- package/dist/models/GuildPropSettingsOverviewDto.d.ts +186 -0
- package/dist/models/GuildPropSettingsOverviewDto.d.ts.map +1 -0
- package/dist/models/GuildPropSettingsOverviewDto.js +161 -0
- package/dist/models/GuildPropSettingsOverviewDto.js.map +1 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +6 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminOpsGameDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsGameDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"AdminOpsGameDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsGameDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6HH,8DAQC;AAED,0DAEC;AAED,oEAmBC;AAED,sDAEC;AAED,gEAoBC;AApLD,iEAKgC;AAEhC,2DAK6B;AAE7B,qEAKkC;AAElC,uEAKmC;AAmFnC;;GAEG;AACU,QAAA,6BAA6B,GAAG;IACzC,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,IAAI,C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O,CAAC;QACvB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE;QACrD,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,SAAS,EAAE,IAAA,qDAA4B,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACzD,UAAU,EAAE,IAAA,uDAA6B,EAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5D,WAAW,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAC3D,QAAQ,EAAE,IAAA,2CAAuB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAClD,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 AdminOpsLedgerDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminOpsLedgerDto {
|
|
18
|
+
/**
|
|
19
|
+
* void when the settlement ledger refunded every bet on the game.
|
|
20
|
+
* @type {AdminOpsLedgerDtoStateEnum}
|
|
21
|
+
* @memberof AdminOpsLedgerDto
|
|
22
|
+
*/
|
|
23
|
+
state: AdminOpsLedgerDtoStateEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The winning team, Draw, or Void as the ledger stored it.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdminOpsLedgerDto
|
|
28
|
+
*/
|
|
29
|
+
winner: string;
|
|
30
|
+
/**
|
|
31
|
+
* Why the game was refunded, when the ledger recorded one.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminOpsLedgerDto
|
|
34
|
+
*/
|
|
35
|
+
void_reason?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof AdminOpsLedgerDto
|
|
40
|
+
*/
|
|
41
|
+
settled_at: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const AdminOpsLedgerDtoStateEnum: {
|
|
47
|
+
readonly Settled: "settled";
|
|
48
|
+
readonly Void: "void";
|
|
49
|
+
};
|
|
50
|
+
export type AdminOpsLedgerDtoStateEnum = typeof AdminOpsLedgerDtoStateEnum[keyof typeof AdminOpsLedgerDtoStateEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AdminOpsLedgerDto interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAdminOpsLedgerDto(value: object): value is AdminOpsLedgerDto;
|
|
55
|
+
export declare function AdminOpsLedgerDtoFromJSON(json: any): AdminOpsLedgerDto;
|
|
56
|
+
export declare function AdminOpsLedgerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsLedgerDto;
|
|
57
|
+
export declare function AdminOpsLedgerDtoToJSON(json: any): AdminOpsLedgerDto;
|
|
58
|
+
export declare function AdminOpsLedgerDtoToJSONTyped(value?: AdminOpsLedgerDto | null, ignoreDiscriminator?: boolean): any;
|
|
59
|
+
//# sourceMappingURL=AdminOpsLedgerDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsLedgerDto.d.ts","sourceRoot":"","sources":["../../src/models/AdminOpsLedgerDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,KAAK,EAAE,0BAA0B,CAAC;IAClC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;CACpB;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAKrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAWzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYxH"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.AdminOpsLedgerDtoStateEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminOpsLedgerDto = instanceOfAdminOpsLedgerDto;
|
|
18
|
+
exports.AdminOpsLedgerDtoFromJSON = AdminOpsLedgerDtoFromJSON;
|
|
19
|
+
exports.AdminOpsLedgerDtoFromJSONTyped = AdminOpsLedgerDtoFromJSONTyped;
|
|
20
|
+
exports.AdminOpsLedgerDtoToJSON = AdminOpsLedgerDtoToJSON;
|
|
21
|
+
exports.AdminOpsLedgerDtoToJSONTyped = AdminOpsLedgerDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AdminOpsLedgerDtoStateEnum = {
|
|
26
|
+
Settled: 'settled',
|
|
27
|
+
Void: 'void'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AdminOpsLedgerDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAdminOpsLedgerDto(value) {
|
|
33
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('winner' in value) || value['winner'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('settled_at' in value) || value['settled_at'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AdminOpsLedgerDtoFromJSON(json) {
|
|
42
|
+
return AdminOpsLedgerDtoFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AdminOpsLedgerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'state': json['state'],
|
|
50
|
+
'winner': json['winner'],
|
|
51
|
+
'void_reason': json['void_reason'] == null ? undefined : json['void_reason'],
|
|
52
|
+
'settled_at': (new Date(json['settled_at'])),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function AdminOpsLedgerDtoToJSON(json) {
|
|
56
|
+
return AdminOpsLedgerDtoToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AdminOpsLedgerDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'state': value['state'],
|
|
64
|
+
'winner': value['winner'],
|
|
65
|
+
'void_reason': value['void_reason'],
|
|
66
|
+
'settled_at': value['settled_at'].toISOString(),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=AdminOpsLedgerDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsLedgerDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsLedgerDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiDH,kEAKC;AAED,8DAEC;AAED,wEAWC;AAED,0DAEC;AAED,oEAYC;AArDD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACN,CAAC;AAIX;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,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,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,YAAY,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;KAC/C,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;KAClD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
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 AdminOpsLifecycleDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminOpsLifecycleDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {AdminOpsLifecycleDtoStatusEnum}
|
|
21
|
+
* @memberof AdminOpsLifecycleDto
|
|
22
|
+
*/
|
|
23
|
+
status: AdminOpsLifecycleDtoStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdminOpsLifecycleDto
|
|
28
|
+
*/
|
|
29
|
+
reason?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* When the game actually starts, as Goracle reports it now.
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof AdminOpsLifecycleDto
|
|
34
|
+
*/
|
|
35
|
+
effective_start_time: Date;
|
|
36
|
+
/**
|
|
37
|
+
* When it was first scheduled, kept across moves.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof AdminOpsLifecycleDto
|
|
40
|
+
*/
|
|
41
|
+
original_start_time: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {AdminOpsLifecycleDtoOriginalStartSourceEnum}
|
|
45
|
+
* @memberof AdminOpsLifecycleDto
|
|
46
|
+
*/
|
|
47
|
+
original_start_source: AdminOpsLifecycleDtoOriginalStartSourceEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Goracle's own status string, when it sends one.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AdminOpsLifecycleDto
|
|
52
|
+
*/
|
|
53
|
+
provider_status?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AdminOpsLifecycleDto
|
|
58
|
+
*/
|
|
59
|
+
schedule_provider?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof AdminOpsLifecycleDto
|
|
64
|
+
*/
|
|
65
|
+
schedule_observed_at?: Date | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AdminOpsLifecycleDto
|
|
70
|
+
*/
|
|
71
|
+
schedule_snapshot_ref?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Goracle's settlement hold reason, when it holds one.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AdminOpsLifecycleDto
|
|
76
|
+
*/
|
|
77
|
+
settlement_hold_reason?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof AdminOpsLifecycleDto
|
|
82
|
+
*/
|
|
83
|
+
settlement_hold_void_after?: Date | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Date}
|
|
87
|
+
* @memberof AdminOpsLifecycleDto
|
|
88
|
+
*/
|
|
89
|
+
updated_at: Date;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const AdminOpsLifecycleDtoStatusEnum: {
|
|
95
|
+
readonly Scheduled: "scheduled";
|
|
96
|
+
readonly Live: "live";
|
|
97
|
+
readonly Final: "final";
|
|
98
|
+
readonly Delayed: "delayed";
|
|
99
|
+
readonly Suspended: "suspended";
|
|
100
|
+
readonly Postponed: "postponed";
|
|
101
|
+
readonly Rescheduled: "rescheduled";
|
|
102
|
+
readonly Cancelled: "cancelled";
|
|
103
|
+
};
|
|
104
|
+
export type AdminOpsLifecycleDtoStatusEnum = typeof AdminOpsLifecycleDtoStatusEnum[keyof typeof AdminOpsLifecycleDtoStatusEnum];
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
*/
|
|
108
|
+
export declare const AdminOpsLifecycleDtoOriginalStartSourceEnum: {
|
|
109
|
+
readonly Goracle: "goracle";
|
|
110
|
+
readonly KhronosFirstSeen: "khronos_first_seen";
|
|
111
|
+
};
|
|
112
|
+
export type AdminOpsLifecycleDtoOriginalStartSourceEnum = typeof AdminOpsLifecycleDtoOriginalStartSourceEnum[keyof typeof AdminOpsLifecycleDtoOriginalStartSourceEnum];
|
|
113
|
+
/**
|
|
114
|
+
* Check if a given object implements the AdminOpsLifecycleDto interface.
|
|
115
|
+
*/
|
|
116
|
+
export declare function instanceOfAdminOpsLifecycleDto(value: object): value is AdminOpsLifecycleDto;
|
|
117
|
+
export declare function AdminOpsLifecycleDtoFromJSON(json: any): AdminOpsLifecycleDto;
|
|
118
|
+
export declare function AdminOpsLifecycleDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsLifecycleDto;
|
|
119
|
+
export declare function AdminOpsLifecycleDtoToJSON(json: any): AdminOpsLifecycleDto;
|
|
120
|
+
export declare function AdminOpsLifecycleDtoToJSONTyped(value?: AdminOpsLifecycleDto | null, ignoreDiscriminator?: boolean): any;
|
|
121
|
+
//# sourceMappingURL=AdminOpsLifecycleDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsLifecycleDto.d.ts","sourceRoot":"","sources":["../../src/models/AdminOpsLifecycleDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,MAAM,EAAE,8BAA8B,CAAC;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,oBAAoB,EAAE,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,IAAI,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,2CAA2C,CAAC;IACnE;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OA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
* 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.AdminOpsLifecycleDtoOriginalStartSourceEnum = exports.AdminOpsLifecycleDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminOpsLifecycleDto = instanceOfAdminOpsLifecycleDto;
|
|
18
|
+
exports.AdminOpsLifecycleDtoFromJSON = AdminOpsLifecycleDtoFromJSON;
|
|
19
|
+
exports.AdminOpsLifecycleDtoFromJSONTyped = AdminOpsLifecycleDtoFromJSONTyped;
|
|
20
|
+
exports.AdminOpsLifecycleDtoToJSON = AdminOpsLifecycleDtoToJSON;
|
|
21
|
+
exports.AdminOpsLifecycleDtoToJSONTyped = AdminOpsLifecycleDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AdminOpsLifecycleDtoStatusEnum = {
|
|
26
|
+
Scheduled: 'scheduled',
|
|
27
|
+
Live: 'live',
|
|
28
|
+
Final: 'final',
|
|
29
|
+
Delayed: 'delayed',
|
|
30
|
+
Suspended: 'suspended',
|
|
31
|
+
Postponed: 'postponed',
|
|
32
|
+
Rescheduled: 'rescheduled',
|
|
33
|
+
Cancelled: 'cancelled'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
exports.AdminOpsLifecycleDtoOriginalStartSourceEnum = {
|
|
39
|
+
Goracle: 'goracle',
|
|
40
|
+
KhronosFirstSeen: 'khronos_first_seen'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the AdminOpsLifecycleDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfAdminOpsLifecycleDto(value) {
|
|
46
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('effective_start_time' in value) || value['effective_start_time'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('original_start_time' in value) || value['original_start_time'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('original_start_source' in value) || value['original_start_source'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('updated_at' in value) || value['updated_at'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function AdminOpsLifecycleDtoFromJSON(json) {
|
|
59
|
+
return AdminOpsLifecycleDtoFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AdminOpsLifecycleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'status': json['status'],
|
|
67
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
68
|
+
'effective_start_time': (new Date(json['effective_start_time'])),
|
|
69
|
+
'original_start_time': (new Date(json['original_start_time'])),
|
|
70
|
+
'original_start_source': json['original_start_source'],
|
|
71
|
+
'provider_status': json['provider_status'] == null ? undefined : json['provider_status'],
|
|
72
|
+
'schedule_provider': json['schedule_provider'] == null ? undefined : json['schedule_provider'],
|
|
73
|
+
'schedule_observed_at': json['schedule_observed_at'] == null ? undefined : (new Date(json['schedule_observed_at'])),
|
|
74
|
+
'schedule_snapshot_ref': json['schedule_snapshot_ref'] == null ? undefined : json['schedule_snapshot_ref'],
|
|
75
|
+
'settlement_hold_reason': json['settlement_hold_reason'] == null ? undefined : json['settlement_hold_reason'],
|
|
76
|
+
'settlement_hold_void_after': json['settlement_hold_void_after'] == null ? undefined : (new Date(json['settlement_hold_void_after'])),
|
|
77
|
+
'updated_at': (new Date(json['updated_at'])),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function AdminOpsLifecycleDtoToJSON(json) {
|
|
81
|
+
return AdminOpsLifecycleDtoToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
function AdminOpsLifecycleDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
'status': value['status'],
|
|
89
|
+
'reason': value['reason'],
|
|
90
|
+
'effective_start_time': value['effective_start_time'].toISOString(),
|
|
91
|
+
'original_start_time': value['original_start_time'].toISOString(),
|
|
92
|
+
'original_start_source': value['original_start_source'],
|
|
93
|
+
'provider_status': value['provider_status'],
|
|
94
|
+
'schedule_provider': value['schedule_provider'],
|
|
95
|
+
'schedule_observed_at': value['schedule_observed_at'] == null ? value['schedule_observed_at'] : value['schedule_observed_at'].toISOString(),
|
|
96
|
+
'schedule_snapshot_ref': value['schedule_snapshot_ref'],
|
|
97
|
+
'settlement_hold_reason': value['settlement_hold_reason'],
|
|
98
|
+
'settlement_hold_void_after': value['settlement_hold_void_after'] == null ? value['settlement_hold_void_after'] : value['settlement_hold_void_after'].toISOString(),
|
|
99
|
+
'updated_at': value['updated_at'].toISOString(),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=AdminOpsLifecycleDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsLifecycleDto.js","sourceRoot":"","sources":["../../src/models/AdminOpsLifecycleDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgHH,wEAOC;AAED,oEAEC;AAED,8EAmBC;AAED,gEAEC;AAED,0EAoBC;AAtFD;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC1C,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,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ports-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 { AdminOpsLedgerDto } from './AdminOpsLedgerDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminOpsLifecycleItemDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminOpsLifecycleItemDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AdminOpsLifecycleItemDtoStatusEnum}
|
|
22
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
23
|
+
*/
|
|
24
|
+
status: AdminOpsLifecycleItemDtoStatusEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
29
|
+
*/
|
|
30
|
+
reason?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* When the game actually starts, as Goracle reports it now.
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
35
|
+
*/
|
|
36
|
+
effective_start_time: Date;
|
|
37
|
+
/**
|
|
38
|
+
* When it was first scheduled, kept across moves.
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
41
|
+
*/
|
|
42
|
+
original_start_time: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {AdminOpsLifecycleItemDtoOriginalStartSourceEnum}
|
|
46
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
47
|
+
*/
|
|
48
|
+
original_start_source: AdminOpsLifecycleItemDtoOriginalStartSourceEnum;
|
|
49
|
+
/**
|
|
50
|
+
* Goracle's own status string, when it sends one.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
53
|
+
*/
|
|
54
|
+
provider_status?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
59
|
+
*/
|
|
60
|
+
schedule_provider?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
65
|
+
*/
|
|
66
|
+
schedule_observed_at?: Date | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
71
|
+
*/
|
|
72
|
+
schedule_snapshot_ref?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Goracle's settlement hold reason, when it holds one.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
77
|
+
*/
|
|
78
|
+
settlement_hold_reason?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
83
|
+
*/
|
|
84
|
+
settlement_hold_void_after?: Date | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {Date}
|
|
88
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
89
|
+
*/
|
|
90
|
+
updated_at: Date;
|
|
91
|
+
/**
|
|
92
|
+
* Canonical Goracle id (32 lowercase hex)
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
95
|
+
*/
|
|
96
|
+
event_id: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
101
|
+
*/
|
|
102
|
+
sport: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
107
|
+
*/
|
|
108
|
+
home?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
113
|
+
*/
|
|
114
|
+
away?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* What the settlement ledger recorded, derived at read time. Null when nothing has been settled yet.
|
|
117
|
+
* @type {AdminOpsLedgerDto}
|
|
118
|
+
* @memberof AdminOpsLifecycleItemDto
|
|
119
|
+
*/
|
|
120
|
+
ledger?: AdminOpsLedgerDto | null;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
125
|
+
export declare const AdminOpsLifecycleItemDtoStatusEnum: {
|
|
126
|
+
readonly Scheduled: "scheduled";
|
|
127
|
+
readonly Live: "live";
|
|
128
|
+
readonly Final: "final";
|
|
129
|
+
readonly Delayed: "delayed";
|
|
130
|
+
readonly Suspended: "suspended";
|
|
131
|
+
readonly Postponed: "postponed";
|
|
132
|
+
readonly Rescheduled: "rescheduled";
|
|
133
|
+
readonly Cancelled: "cancelled";
|
|
134
|
+
};
|
|
135
|
+
export type AdminOpsLifecycleItemDtoStatusEnum = typeof AdminOpsLifecycleItemDtoStatusEnum[keyof typeof AdminOpsLifecycleItemDtoStatusEnum];
|
|
136
|
+
/**
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
export declare const AdminOpsLifecycleItemDtoOriginalStartSourceEnum: {
|
|
140
|
+
readonly Goracle: "goracle";
|
|
141
|
+
readonly KhronosFirstSeen: "khronos_first_seen";
|
|
142
|
+
};
|
|
143
|
+
export type AdminOpsLifecycleItemDtoOriginalStartSourceEnum = typeof AdminOpsLifecycleItemDtoOriginalStartSourceEnum[keyof typeof AdminOpsLifecycleItemDtoOriginalStartSourceEnum];
|
|
144
|
+
/**
|
|
145
|
+
* Check if a given object implements the AdminOpsLifecycleItemDto interface.
|
|
146
|
+
*/
|
|
147
|
+
export declare function instanceOfAdminOpsLifecycleItemDto(value: object): value is AdminOpsLifecycleItemDto;
|
|
148
|
+
export declare function AdminOpsLifecycleItemDtoFromJSON(json: any): AdminOpsLifecycleItemDto;
|
|
149
|
+
export declare function AdminOpsLifecycleItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminOpsLifecycleItemDto;
|
|
150
|
+
export declare function AdminOpsLifecycleItemDtoToJSON(json: any): AdminOpsLifecycleItemDto;
|
|
151
|
+
export declare function AdminOpsLifecycleItemDtoToJSONTyped(value?: AdminOpsLifecycleItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
152
|
+
//# sourceMappingURL=AdminOpsLifecycleItemDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOpsLifecycleItemDto.d.ts","sourceRoot":"","sources":["../../src/models/AdminOpsLifecycleItemDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,MAAM,EAAE,kCAAkC,CAAC;IAC3C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,oBAAoB,EAAE,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,IAAI,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,+CAA+C,CAAC;IACvE;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,qBAAqB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+1,117 @@
|
|
|
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.AdminOpsLifecycleItemDtoOriginalStartSourceEnum = exports.AdminOpsLifecycleItemDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminOpsLifecycleItemDto = instanceOfAdminOpsLifecycleItemDto;
|
|
18
|
+
exports.AdminOpsLifecycleItemDtoFromJSON = AdminOpsLifecycleItemDtoFromJSON;
|
|
19
|
+
exports.AdminOpsLifecycleItemDtoFromJSONTyped = AdminOpsLifecycleItemDtoFromJSONTyped;
|
|
20
|
+
exports.AdminOpsLifecycleItemDtoToJSON = AdminOpsLifecycleItemDtoToJSON;
|
|
21
|
+
exports.AdminOpsLifecycleItemDtoToJSONTyped = AdminOpsLifecycleItemDtoToJSONTyped;
|
|
22
|
+
const AdminOpsLedgerDto_1 = require("./AdminOpsLedgerDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AdminOpsLifecycleItemDtoStatusEnum = {
|
|
27
|
+
Scheduled: 'scheduled',
|
|
28
|
+
Live: 'live',
|
|
29
|
+
Final: 'final',
|
|
30
|
+
Delayed: 'delayed',
|
|
31
|
+
Suspended: 'suspended',
|
|
32
|
+
Postponed: 'postponed',
|
|
33
|
+
Rescheduled: 'rescheduled',
|
|
34
|
+
Cancelled: 'cancelled'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
exports.AdminOpsLifecycleItemDtoOriginalStartSourceEnum = {
|
|
40
|
+
Goracle: 'goracle',
|
|
41
|
+
KhronosFirstSeen: 'khronos_first_seen'
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AdminOpsLifecycleItemDto interface.
|
|
45
|
+
*/
|
|
46
|
+
function instanceOfAdminOpsLifecycleItemDto(value) {
|
|
47
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('effective_start_time' in value) || value['effective_start_time'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('original_start_time' in value) || value['original_start_time'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('original_start_source' in value) || value['original_start_source'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('updated_at' in value) || value['updated_at'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('event_id' in value) || value['event_id'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('sport' in value) || value['sport'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
function AdminOpsLifecycleItemDtoFromJSON(json) {
|
|
64
|
+
return AdminOpsLifecycleItemDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AdminOpsLifecycleItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'status': json['status'],
|
|
72
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
73
|
+
'effective_start_time': (new Date(json['effective_start_time'])),
|
|
74
|
+
'original_start_time': (new Date(json['original_start_time'])),
|
|
75
|
+
'original_start_source': json['original_start_source'],
|
|
76
|
+
'provider_status': json['provider_status'] == null ? undefined : json['provider_status'],
|
|
77
|
+
'schedule_provider': json['schedule_provider'] == null ? undefined : json['schedule_provider'],
|
|
78
|
+
'schedule_observed_at': json['schedule_observed_at'] == null ? undefined : (new Date(json['schedule_observed_at'])),
|
|
79
|
+
'schedule_snapshot_ref': json['schedule_snapshot_ref'] == null ? undefined : json['schedule_snapshot_ref'],
|
|
80
|
+
'settlement_hold_reason': json['settlement_hold_reason'] == null ? undefined : json['settlement_hold_reason'],
|
|
81
|
+
'settlement_hold_void_after': json['settlement_hold_void_after'] == null ? undefined : (new Date(json['settlement_hold_void_after'])),
|
|
82
|
+
'updated_at': (new Date(json['updated_at'])),
|
|
83
|
+
'event_id': json['event_id'],
|
|
84
|
+
'sport': json['sport'],
|
|
85
|
+
'home': json['home'] == null ? undefined : json['home'],
|
|
86
|
+
'away': json['away'] == null ? undefined : json['away'],
|
|
87
|
+
'ledger': json['ledger'] == null ? undefined : (0, AdminOpsLedgerDto_1.AdminOpsLedgerDtoFromJSON)(json['ledger']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function AdminOpsLifecycleItemDtoToJSON(json) {
|
|
91
|
+
return AdminOpsLifecycleItemDtoToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
function AdminOpsLifecycleItemDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
'status': value['status'],
|
|
99
|
+
'reason': value['reason'],
|
|
100
|
+
'effective_start_time': value['effective_start_time'].toISOString(),
|
|
101
|
+
'original_start_time': value['original_start_time'].toISOString(),
|
|
102
|
+
'original_start_source': value['original_start_source'],
|
|
103
|
+
'provider_status': value['provider_status'],
|
|
104
|
+
'schedule_provider': value['schedule_provider'],
|
|
105
|
+
'schedule_observed_at': value['schedule_observed_at'] == null ? value['schedule_observed_at'] : value['schedule_observed_at'].toISOString(),
|
|
106
|
+
'schedule_snapshot_ref': value['schedule_snapshot_ref'],
|
|
107
|
+
'settlement_hold_reason': value['settlement_hold_reason'],
|
|
108
|
+
'settlement_hold_void_after': value['settlement_hold_void_after'] == null ? value['settlement_hold_void_after'] : value['settlement_hold_void_after'].toISOString(),
|
|
109
|
+
'updated_at': value['updated_at'].toISOString(),
|
|
110
|
+
'event_id': value['event_id'],
|
|
111
|
+
'sport': value['sport'],
|
|
112
|
+
'home': value['home'],
|
|
113
|
+
'away': value['away'],
|
|
114
|
+
'ledger': (0, AdminOpsLedgerDto_1.AdminOpsLedgerDtoToJSON)(value['ledger']),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=AdminOpsLifecycleItemDto.js.map
|