@pluto-khronos/api-client 3.5.0 → 3.6.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/ParlaysApi.d.ts +230 -0
- package/dist/apis/ParlaysApi.d.ts.map +1 -0
- package/dist/apis/ParlaysApi.js +251 -0
- package/dist/apis/ParlaysApi.js.map +1 -0
- package/dist/apis/PredictionApi.d.ts +150 -29
- package/dist/apis/PredictionApi.d.ts.map +1 -1
- package/dist/apis/PredictionApi.js +135 -21
- package/dist/apis/PredictionApi.js.map +1 -1
- package/dist/apis/PropsApi.d.ts +136 -0
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +129 -1
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/apis/RecapApi.d.ts +62 -0
- package/dist/apis/RecapApi.d.ts.map +1 -0
- package/dist/apis/RecapApi.js +93 -0
- package/dist/apis/RecapApi.js.map +1 -0
- package/dist/apis/WebhooksApi.d.ts +4 -4
- package/dist/apis/WebhooksApi.js +2 -2
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +2 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/AllUserPredictionsDto.d.ts +12 -29
- package/dist/models/AllUserPredictionsDto.d.ts.map +1 -1
- package/dist/models/AllUserPredictionsDto.js +14 -29
- package/dist/models/AllUserPredictionsDto.js.map +1 -1
- package/dist/models/CancelParlayDto.d.ts +33 -0
- package/dist/models/CancelParlayDto.d.ts.map +1 -0
- package/dist/models/CancelParlayDto.js +49 -0
- package/dist/models/CancelParlayDto.js.map +1 -0
- package/dist/models/CreatePredictionDto.d.ts +2 -16
- package/dist/models/CreatePredictionDto.d.ts.map +1 -1
- package/dist/models/CreatePredictionDto.js +0 -13
- package/dist/models/CreatePredictionDto.js.map +1 -1
- package/dist/models/EventContextDto.d.ts +81 -0
- package/dist/models/EventContextDto.d.ts.map +1 -0
- package/dist/models/EventContextDto.js +79 -0
- package/dist/models/EventContextDto.js.map +1 -0
- package/dist/models/EventPredictionsDto.d.ts +31 -6
- package/dist/models/EventPredictionsDto.d.ts.map +1 -1
- package/dist/models/EventPredictionsDto.js +22 -5
- package/dist/models/EventPredictionsDto.js.map +1 -1
- package/dist/models/InitParlayDto.d.ts +52 -0
- package/dist/models/InitParlayDto.d.ts.map +1 -0
- package/dist/models/InitParlayDto.js +64 -0
- package/dist/models/InitParlayDto.js.map +1 -0
- package/dist/models/InitParlayLegDto.d.ts +39 -0
- package/dist/models/InitParlayLegDto.d.ts.map +1 -0
- package/dist/models/InitParlayLegDto.js +55 -0
- package/dist/models/InitParlayLegDto.js.map +1 -0
- package/dist/models/InitParlayResponseDto.d.ts +58 -0
- package/dist/models/InitParlayResponseDto.d.ts.map +1 -0
- package/dist/models/InitParlayResponseDto.js +68 -0
- package/dist/models/InitParlayResponseDto.js.map +1 -0
- package/dist/models/NeedsSettlementDto.d.ts +105 -0
- package/dist/models/NeedsSettlementDto.d.ts.map +1 -0
- package/dist/models/NeedsSettlementDto.js +89 -0
- package/dist/models/NeedsSettlementDto.js.map +1 -0
- package/dist/models/NeedsSettlementResponseDto.d.ts +47 -0
- package/dist/models/NeedsSettlementResponseDto.d.ts.map +1 -0
- package/dist/models/NeedsSettlementResponseDto.js +61 -0
- package/dist/models/NeedsSettlementResponseDto.js.map +1 -0
- package/dist/models/Outcome.d.ts +1 -1
- package/dist/models/OutcomeSettledWebhookDto.d.ts +22 -5
- package/dist/models/OutcomeSettledWebhookDto.d.ts.map +1 -1
- package/dist/models/OutcomeSettledWebhookDto.js +14 -2
- package/dist/models/OutcomeSettledWebhookDto.js.map +1 -1
- package/dist/models/ParlayLegPreviewDto.d.ts +78 -0
- package/dist/models/ParlayLegPreviewDto.d.ts.map +1 -0
- package/dist/models/ParlayLegPreviewDto.js +82 -0
- package/dist/models/ParlayLegPreviewDto.js.map +1 -0
- package/dist/models/ParlayLegResponseDto.d.ts +107 -0
- package/dist/models/ParlayLegResponseDto.d.ts.map +1 -0
- package/dist/models/ParlayLegResponseDto.js +102 -0
- package/dist/models/ParlayLegResponseDto.js.map +1 -0
- package/dist/models/ParlayResponseDto.d.ts +117 -0
- package/dist/models/ParlayResponseDto.d.ts.map +1 -0
- package/dist/models/ParlayResponseDto.js +105 -0
- package/dist/models/ParlayResponseDto.js.map +1 -0
- package/dist/models/PlaceParlayDto.d.ts +39 -0
- package/dist/models/PlaceParlayDto.d.ts.map +1 -0
- package/dist/models/PlaceParlayDto.js +55 -0
- package/dist/models/PlaceParlayDto.js.map +1 -0
- package/dist/models/PlacedBetslip.d.ts +6 -0
- package/dist/models/PlacedBetslip.d.ts.map +1 -1
- package/dist/models/PlacedBetslip.js +4 -0
- package/dist/models/PlacedBetslip.js.map +1 -1
- package/dist/models/PostPropsDto.d.ts +53 -0
- package/dist/models/PostPropsDto.d.ts.map +1 -0
- package/dist/models/PostPropsDto.js +67 -0
- package/dist/models/PostPropsDto.js.map +1 -0
- package/dist/models/PostPropsLedgerEntryDto.d.ts +51 -0
- package/dist/models/PostPropsLedgerEntryDto.d.ts.map +1 -0
- package/dist/models/PostPropsLedgerEntryDto.js +63 -0
- package/dist/models/PostPropsLedgerEntryDto.js.map +1 -0
- package/dist/models/PostPropsResponseDto.d.ts +52 -0
- package/dist/models/PostPropsResponseDto.d.ts.map +1 -0
- package/dist/models/PostPropsResponseDto.js +64 -0
- package/dist/models/PostPropsResponseDto.js.map +1 -0
- package/dist/models/PredictionDTO.d.ts +2 -0
- package/dist/models/PredictionDTO.d.ts.map +1 -1
- package/dist/models/PredictionDTO.js +3 -1
- package/dist/models/PredictionDTO.js.map +1 -1
- package/dist/models/PredictionResponseDto.d.ts +122 -0
- package/dist/models/PredictionResponseDto.d.ts.map +1 -0
- package/dist/models/{Prediction.js → PredictionResponseDto.js} +30 -45
- package/dist/models/PredictionResponseDto.js.map +1 -0
- package/dist/models/PredictionStatsDto.d.ts +84 -0
- package/dist/models/PredictionStatsDto.d.ts.map +1 -0
- package/dist/models/PredictionStatsDto.js +88 -0
- package/dist/models/PredictionStatsDto.js.map +1 -0
- package/dist/models/PropOutcomeDetailDto.d.ts +1 -1
- package/dist/models/PropOutcomeSideDto.d.ts +1 -1
- package/dist/models/RecapPredictorDto.d.ts +51 -0
- package/dist/models/RecapPredictorDto.d.ts.map +1 -0
- package/dist/models/RecapPredictorDto.js +63 -0
- package/dist/models/RecapPredictorDto.js.map +1 -0
- package/dist/models/RecapWeeklyResponseDto.d.ts +90 -0
- package/dist/models/RecapWeeklyResponseDto.d.ts.map +1 -0
- package/dist/models/RecapWeeklyResponseDto.js +90 -0
- package/dist/models/RecapWeeklyResponseDto.js.map +1 -0
- package/dist/models/RecapWinDto.d.ts +51 -0
- package/dist/models/RecapWinDto.d.ts.map +1 -0
- package/dist/models/RecapWinDto.js +59 -0
- package/dist/models/RecapWinDto.js.map +1 -0
- package/dist/models/RecapWindowDto.d.ts +51 -0
- package/dist/models/RecapWindowDto.d.ts.map +1 -0
- package/dist/models/RecapWindowDto.js +59 -0
- package/dist/models/RecapWindowDto.js.map +1 -0
- package/dist/models/SetPropResultDto.d.ts +14 -11
- package/dist/models/SetPropResultDto.d.ts.map +1 -1
- package/dist/models/SetPropResultDto.js +13 -14
- package/dist/models/SetPropResultDto.js.map +1 -1
- package/dist/models/SettlementQueueWarningDto.d.ts +53 -0
- package/dist/models/SettlementQueueWarningDto.d.ts.map +1 -0
- package/dist/models/SettlementQueueWarningDto.js +67 -0
- package/dist/models/SettlementQueueWarningDto.js.map +1 -0
- package/dist/models/SimpleLeaderboardEntryDto.d.ts +27 -0
- package/dist/models/SimpleLeaderboardEntryDto.d.ts.map +1 -1
- package/dist/models/SimpleLeaderboardEntryDto.js +21 -0
- package/dist/models/SimpleLeaderboardEntryDto.js.map +1 -1
- package/dist/models/UpdatePredictionDto.d.ts +2 -0
- package/dist/models/UpdatePredictionDto.d.ts.map +1 -1
- package/dist/models/UpdatePredictionDto.js +3 -1
- package/dist/models/UpdatePredictionDto.js.map +1 -1
- package/dist/models/UserParlaysResponseDto.d.ts +58 -0
- package/dist/models/UserParlaysResponseDto.d.ts.map +1 -0
- package/dist/models/UserParlaysResponseDto.js +68 -0
- package/dist/models/UserParlaysResponseDto.js.map +1 -0
- package/dist/models/VoidPropDto.d.ts +39 -0
- package/dist/models/VoidPropDto.d.ts.map +1 -0
- package/dist/models/VoidPropDto.js +53 -0
- package/dist/models/VoidPropDto.js.map +1 -0
- package/dist/models/VoidPropResponseDto.d.ts +39 -0
- package/dist/models/VoidPropResponseDto.d.ts.map +1 -0
- package/dist/models/VoidPropResponseDto.js +55 -0
- package/dist/models/VoidPropResponseDto.js.map +1 -0
- package/dist/models/WebhookAcceptedResponseDto.d.ts +1 -1
- package/dist/models/index.d.ts +24 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +24 -2
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/Prediction.d.ts +0 -139
- package/dist/models/Prediction.d.ts.map +0 -1
- package/dist/models/Prediction.js.map +0 -1
- package/dist/models/ProcessedPredictions.d.ts +0 -99
- package/dist/models/ProcessedPredictions.d.ts.map +0 -1
- package/dist/models/ProcessedPredictions.js +0 -100
- package/dist/models/ProcessedPredictions.js.map +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
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 PostPropsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PostPropsDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {PostPropsDtoSportEnum}
|
|
21
|
+
* @memberof PostPropsDto
|
|
22
|
+
*/
|
|
23
|
+
sport: PostPropsDtoSportEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Selected outcome UUIDs; paired Over/Under outcomes are resolved server-side
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof PostPropsDto
|
|
28
|
+
*/
|
|
29
|
+
outcome_uuids: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Guilds that should receive the curated slate
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof PostPropsDto
|
|
34
|
+
*/
|
|
35
|
+
guild_ids: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const PostPropsDtoSportEnum: {
|
|
41
|
+
readonly Nba: "nba";
|
|
42
|
+
readonly Nfl: "nfl";
|
|
43
|
+
};
|
|
44
|
+
export type PostPropsDtoSportEnum = typeof PostPropsDtoSportEnum[keyof typeof PostPropsDtoSportEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the PostPropsDto interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfPostPropsDto(value: object): value is PostPropsDto;
|
|
49
|
+
export declare function PostPropsDtoFromJSON(json: any): PostPropsDto;
|
|
50
|
+
export declare function PostPropsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostPropsDto;
|
|
51
|
+
export declare function PostPropsDtoToJSON(json: any): PostPropsDto;
|
|
52
|
+
export declare function PostPropsDtoToJSONTyped(value?: PostPropsDto | null, ignoreDiscriminator?: boolean): any;
|
|
53
|
+
//# sourceMappingURL=PostPropsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostPropsDto.d.ts","sourceRoot":"","sources":["../../src/models/PostPropsDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,KAAK,EAAE,qBAAqB,CAAC;IAC7B;;;;OAIG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B;AAGD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGrG;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAK3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAU/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9G"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.PostPropsDtoSportEnum = void 0;
|
|
17
|
+
exports.instanceOfPostPropsDto = instanceOfPostPropsDto;
|
|
18
|
+
exports.PostPropsDtoFromJSON = PostPropsDtoFromJSON;
|
|
19
|
+
exports.PostPropsDtoFromJSONTyped = PostPropsDtoFromJSONTyped;
|
|
20
|
+
exports.PostPropsDtoToJSON = PostPropsDtoToJSON;
|
|
21
|
+
exports.PostPropsDtoToJSONTyped = PostPropsDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PostPropsDtoSportEnum = {
|
|
26
|
+
Nba: 'nba',
|
|
27
|
+
Nfl: 'nfl'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the PostPropsDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfPostPropsDto(value) {
|
|
33
|
+
if (!('sport' in value) || value['sport'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('outcome_uuids' in value) || value['outcome_uuids'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('guild_ids' in value) || value['guild_ids'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function PostPropsDtoFromJSON(json) {
|
|
42
|
+
return PostPropsDtoFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PostPropsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'sport': json['sport'],
|
|
50
|
+
'outcome_uuids': json['outcome_uuids'],
|
|
51
|
+
'guild_ids': json['guild_ids'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function PostPropsDtoToJSON(json) {
|
|
55
|
+
return PostPropsDtoToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function PostPropsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'sport': value['sport'],
|
|
63
|
+
'outcome_uuids': value['outcome_uuids'],
|
|
64
|
+
'guild_ids': value['guild_ids'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=PostPropsDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostPropsDto.js","sourceRoot":"","sources":["../../src/models/PostPropsDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2CH,wDAKC;AAED,oDAEC;AAED,8DAUC;AAED,gDAEC;AAED,0DAWC;AAnDD;;GAEG;AACU,QAAA,qBAAqB,GAAG;IACjC,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,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,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;QACtC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAA2B,EAAE,sBAA+B,KAAK;IACrG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 PostPropsLedgerEntryDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PostPropsLedgerEntryDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostPropsLedgerEntryDto
|
|
22
|
+
*/
|
|
23
|
+
outcome_uuid: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostPropsLedgerEntryDto
|
|
28
|
+
*/
|
|
29
|
+
guild_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PostPropsLedgerEntryDto
|
|
34
|
+
*/
|
|
35
|
+
channel_id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PostPropsLedgerEntryDto
|
|
40
|
+
*/
|
|
41
|
+
message_id: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PostPropsLedgerEntryDto interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPostPropsLedgerEntryDto(value: object): value is PostPropsLedgerEntryDto;
|
|
47
|
+
export declare function PostPropsLedgerEntryDtoFromJSON(json: any): PostPropsLedgerEntryDto;
|
|
48
|
+
export declare function PostPropsLedgerEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostPropsLedgerEntryDto;
|
|
49
|
+
export declare function PostPropsLedgerEntryDtoToJSON(json: any): PostPropsLedgerEntryDto;
|
|
50
|
+
export declare function PostPropsLedgerEntryDtoToJSONTyped(value?: PostPropsLedgerEntryDto | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=PostPropsLedgerEntryDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostPropsLedgerEntryDto.d.ts","sourceRoot":"","sources":["../../src/models/PostPropsLedgerEntryDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAMjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAWrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYpI"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfPostPropsLedgerEntryDto = instanceOfPostPropsLedgerEntryDto;
|
|
17
|
+
exports.PostPropsLedgerEntryDtoFromJSON = PostPropsLedgerEntryDtoFromJSON;
|
|
18
|
+
exports.PostPropsLedgerEntryDtoFromJSONTyped = PostPropsLedgerEntryDtoFromJSONTyped;
|
|
19
|
+
exports.PostPropsLedgerEntryDtoToJSON = PostPropsLedgerEntryDtoToJSON;
|
|
20
|
+
exports.PostPropsLedgerEntryDtoToJSONTyped = PostPropsLedgerEntryDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostPropsLedgerEntryDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostPropsLedgerEntryDto(value) {
|
|
25
|
+
if (!('outcome_uuid' in value) || value['outcome_uuid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('guild_id' in value) || value['guild_id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('channel_id' in value) || value['channel_id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('message_id' in value) || value['message_id'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function PostPropsLedgerEntryDtoFromJSON(json) {
|
|
36
|
+
return PostPropsLedgerEntryDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function PostPropsLedgerEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'outcome_uuid': json['outcome_uuid'],
|
|
44
|
+
'guild_id': json['guild_id'],
|
|
45
|
+
'channel_id': json['channel_id'],
|
|
46
|
+
'message_id': json['message_id'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function PostPropsLedgerEntryDtoToJSON(json) {
|
|
50
|
+
return PostPropsLedgerEntryDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PostPropsLedgerEntryDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'outcome_uuid': value['outcome_uuid'],
|
|
58
|
+
'guild_id': value['guild_id'],
|
|
59
|
+
'channel_id': value['channel_id'],
|
|
60
|
+
'message_id': value['message_id'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=PostPropsLedgerEntryDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostPropsLedgerEntryDto.js","sourceRoot":"","sources":["../../src/models/PostPropsLedgerEntryDto.ts"],"names":[],"mappings":";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AA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { PostPropsLedgerEntryDto } from './PostPropsLedgerEntryDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PostPropsResponseDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PostPropsResponseDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PostPropsResponseDto
|
|
23
|
+
*/
|
|
24
|
+
posted: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PostPropsResponseDto
|
|
29
|
+
*/
|
|
30
|
+
skipped: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PostPropsResponseDto
|
|
35
|
+
*/
|
|
36
|
+
failed: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<PostPropsLedgerEntryDto>}
|
|
40
|
+
* @memberof PostPropsResponseDto
|
|
41
|
+
*/
|
|
42
|
+
ledger_entries: Array<PostPropsLedgerEntryDto>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PostPropsResponseDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPostPropsResponseDto(value: object): value is PostPropsResponseDto;
|
|
48
|
+
export declare function PostPropsResponseDtoFromJSON(json: any): PostPropsResponseDto;
|
|
49
|
+
export declare function PostPropsResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostPropsResponseDto;
|
|
50
|
+
export declare function PostPropsResponseDtoToJSON(json: any): PostPropsResponseDto;
|
|
51
|
+
export declare function PostPropsResponseDtoToJSONTyped(value?: PostPropsResponseDto | null, ignoreDiscriminator?: boolean): any;
|
|
52
|
+
//# sourceMappingURL=PostPropsResponseDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostPropsResponseDto.d.ts","sourceRoot":"","sources":["../../src/models/PostPropsResponseDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CAClD;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAM3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAW/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,CAY9H"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfPostPropsResponseDto = instanceOfPostPropsResponseDto;
|
|
17
|
+
exports.PostPropsResponseDtoFromJSON = PostPropsResponseDtoFromJSON;
|
|
18
|
+
exports.PostPropsResponseDtoFromJSONTyped = PostPropsResponseDtoFromJSONTyped;
|
|
19
|
+
exports.PostPropsResponseDtoToJSON = PostPropsResponseDtoToJSON;
|
|
20
|
+
exports.PostPropsResponseDtoToJSONTyped = PostPropsResponseDtoToJSONTyped;
|
|
21
|
+
const PostPropsLedgerEntryDto_1 = require("./PostPropsLedgerEntryDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PostPropsResponseDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPostPropsResponseDto(value) {
|
|
26
|
+
if (!('posted' in value) || value['posted'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('skipped' in value) || value['skipped'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('failed' in value) || value['failed'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('ledger_entries' in value) || value['ledger_entries'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PostPropsResponseDtoFromJSON(json) {
|
|
37
|
+
return PostPropsResponseDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PostPropsResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'posted': json['posted'],
|
|
45
|
+
'skipped': json['skipped'],
|
|
46
|
+
'failed': json['failed'],
|
|
47
|
+
'ledger_entries': (json['ledger_entries'].map(PostPropsLedgerEntryDto_1.PostPropsLedgerEntryDtoFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PostPropsResponseDtoToJSON(json) {
|
|
51
|
+
return PostPropsResponseDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function PostPropsResponseDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'posted': value['posted'],
|
|
59
|
+
'skipped': value['skipped'],
|
|
60
|
+
'failed': value['failed'],
|
|
61
|
+
'ledger_entries': (value['ledger_entries'].map(PostPropsLedgerEntryDto_1.PostPropsLedgerEntryDtoToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=PostPropsResponseDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostPropsResponseDto.js","sourceRoot":"","sources":["../../src/models/PostPropsResponseDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8CH,wEAMC;AAED,oEAEC;AAED,8EAWC;AAED,gEAEC;AAED,0EAYC;AAnFD,uEAKmC;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C;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,gBAAgB,EAAE,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,uDAA6B,CAAC,CAAC;KACjG,CAAC;AACN,CAAC"}
|
|
@@ -107,6 +107,8 @@ export declare const PredictionDTOStatusEnum: {
|
|
|
107
107
|
readonly Pending: "pending";
|
|
108
108
|
readonly Completed: "completed";
|
|
109
109
|
readonly Error: "error";
|
|
110
|
+
readonly Push: "push";
|
|
111
|
+
readonly Void: "void";
|
|
110
112
|
};
|
|
111
113
|
export type PredictionDTOStatusEnum = typeof PredictionDTOStatusEnum[keyof typeof PredictionDTOStatusEnum];
|
|
112
114
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PredictionDTO.d.ts","sourceRoot":"","sources":["../../src/models/PredictionDTO.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC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AG,KAAK,IAAI,aAAa,CAc7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAqBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBhH"}
|
|
@@ -25,7 +25,9 @@ exports.PredictionDTOToJSONTyped = PredictionDTOToJSONTyped;
|
|
|
25
25
|
exports.PredictionDTOStatusEnum = {
|
|
26
26
|
Pending: 'pending',
|
|
27
27
|
Completed: 'completed',
|
|
28
|
-
Error: 'error'
|
|
28
|
+
Error: 'error',
|
|
29
|
+
Push: 'push',
|
|
30
|
+
Void: 'void'
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* Check if a given object implements the PredictionDTO interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PredictionDTO.js","sourceRoot":"","sources":["../../src/models/PredictionDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"PredictionDTO.js","sourceRoot":"","sources":["../../src/models/PredictionDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgHH,0DAcC;AAED,sDAEC;AAED,gEAqBC;AAED,kDAEC;AAED,4DAsBC;AArFD;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,CAAC;AAIX;;GAEG;AACH,SAAgB,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ChC,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;KACzC,CAAC;AACN,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,KAA4B,EAAE,sBAA+B,KAAK;IACvG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QAC/C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QAC/C,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;KAC1C,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
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 PredictionResponseDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PredictionResponseDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the prediction
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PredictionResponseDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* User ID
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PredictionResponseDto
|
|
28
|
+
*/
|
|
29
|
+
user_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Creation timestamp
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof PredictionResponseDto
|
|
34
|
+
*/
|
|
35
|
+
created_at: Date;
|
|
36
|
+
/**
|
|
37
|
+
* Outcome UUID from Goracle
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PredictionResponseDto
|
|
40
|
+
*/
|
|
41
|
+
outcome_uuid: string;
|
|
42
|
+
/**
|
|
43
|
+
* Event ID from Goracle
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PredictionResponseDto
|
|
46
|
+
*/
|
|
47
|
+
event_id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Market ID from Goracle - used for grouping paired outcomes
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PredictionResponseDto
|
|
52
|
+
*/
|
|
53
|
+
market_id?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Sport key
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PredictionResponseDto
|
|
58
|
+
*/
|
|
59
|
+
sport: string;
|
|
60
|
+
/**
|
|
61
|
+
* User's choice
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PredictionResponseDto
|
|
64
|
+
*/
|
|
65
|
+
choice: string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the prediction is correct
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PredictionResponseDto
|
|
70
|
+
*/
|
|
71
|
+
is_correct?: boolean | null;
|
|
72
|
+
/**
|
|
73
|
+
* Status of the prediction
|
|
74
|
+
* @type {PredictionResponseDtoStatusEnum}
|
|
75
|
+
* @memberof PredictionResponseDto
|
|
76
|
+
*/
|
|
77
|
+
status: PredictionResponseDtoStatusEnum;
|
|
78
|
+
/**
|
|
79
|
+
* Last update timestamp
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof PredictionResponseDto
|
|
82
|
+
*/
|
|
83
|
+
updated_at: Date;
|
|
84
|
+
/**
|
|
85
|
+
* Guild ID
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PredictionResponseDto
|
|
88
|
+
*/
|
|
89
|
+
guild_id: string;
|
|
90
|
+
/**
|
|
91
|
+
* Market key
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PredictionResponseDto
|
|
94
|
+
*/
|
|
95
|
+
market_key: string;
|
|
96
|
+
/**
|
|
97
|
+
* Bookmaker key
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PredictionResponseDto
|
|
100
|
+
*/
|
|
101
|
+
bookmaker_key: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export declare const PredictionResponseDtoStatusEnum: {
|
|
107
|
+
readonly Pending: "pending";
|
|
108
|
+
readonly Completed: "completed";
|
|
109
|
+
readonly Error: "error";
|
|
110
|
+
readonly Push: "push";
|
|
111
|
+
readonly Void: "void";
|
|
112
|
+
};
|
|
113
|
+
export type PredictionResponseDtoStatusEnum = typeof PredictionResponseDtoStatusEnum[keyof typeof PredictionResponseDtoStatusEnum];
|
|
114
|
+
/**
|
|
115
|
+
* Check if a given object implements the PredictionResponseDto interface.
|
|
116
|
+
*/
|
|
117
|
+
export declare function instanceOfPredictionResponseDto(value: object): value is PredictionResponseDto;
|
|
118
|
+
export declare function PredictionResponseDtoFromJSON(json: any): PredictionResponseDto;
|
|
119
|
+
export declare function PredictionResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PredictionResponseDto;
|
|
120
|
+
export declare function PredictionResponseDtoToJSON(json: any): PredictionResponseDto;
|
|
121
|
+
export declare function PredictionResponseDtoToJSONTyped(value?: PredictionResponseDto | null, ignoreDiscriminator?: boolean): any;
|
|
122
|
+
//# sourceMappingURL=PredictionResponseDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PredictionResponseDto.d.ts","sourceRoot":"","sources":["../../src/models/PredictionResponseDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,EAAE,+BAA+B,CAAC;IACxC;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;CAMlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAA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