@pluto-khronos/api-client 3.16.0 → 3.17.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/AccountsApi.d.ts +40 -0
- package/dist/apis/AccountsApi.d.ts.map +1 -1
- package/dist/apis/AccountsApi.js +40 -0
- package/dist/apis/AccountsApi.js.map +1 -1
- package/dist/apis/AchievementsApi.d.ts +87 -4
- package/dist/apis/AchievementsApi.d.ts.map +1 -1
- package/dist/apis/AchievementsApi.js +82 -2
- package/dist/apis/AchievementsApi.js.map +1 -1
- package/dist/apis/AdminInsightsApi.d.ts +120 -0
- package/dist/apis/AdminInsightsApi.d.ts.map +1 -0
- package/dist/apis/AdminInsightsApi.js +143 -0
- package/dist/apis/AdminInsightsApi.js.map +1 -0
- package/dist/apis/AdminPropsApi.d.ts +48 -0
- package/dist/apis/AdminPropsApi.d.ts.map +1 -1
- package/dist/apis/AdminPropsApi.js +44 -0
- package/dist/apis/AdminPropsApi.js.map +1 -1
- package/dist/apis/BetslipsApi.d.ts +3 -0
- package/dist/apis/BetslipsApi.d.ts.map +1 -1
- package/dist/apis/BetslipsApi.js +3 -0
- package/dist/apis/BetslipsApi.js.map +1 -1
- package/dist/apis/LeaderboardApi.d.ts +11 -0
- package/dist/apis/LeaderboardApi.d.ts.map +1 -1
- package/dist/apis/LeaderboardApi.js +11 -1
- package/dist/apis/LeaderboardApi.js.map +1 -1
- package/dist/apis/OddsApi.d.ts +5 -5
- package/dist/apis/OddsApi.d.ts.map +1 -1
- package/dist/apis/OddsApi.js +2 -2
- package/dist/apis/OddsApi.js.map +1 -1
- package/dist/apis/PredictionApi.d.ts +16 -7
- package/dist/apis/PredictionApi.d.ts.map +1 -1
- package/dist/apis/PredictionApi.js +10 -2
- package/dist/apis/PredictionApi.js.map +1 -1
- package/dist/apis/PropsApi.d.ts +16 -0
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +16 -1
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/Account.d.ts +14 -0
- package/dist/models/Account.d.ts.map +1 -1
- package/dist/models/Account.js +10 -0
- package/dist/models/Account.js.map +1 -1
- package/dist/models/AchievementCatalogueDto.d.ts +34 -0
- package/dist/models/AchievementCatalogueDto.d.ts.map +1 -0
- package/dist/models/AchievementCatalogueDto.js +52 -0
- package/dist/models/AchievementCatalogueDto.js.map +1 -0
- package/dist/models/AchievementCatalogueRowDto.d.ts +105 -0
- package/dist/models/AchievementCatalogueRowDto.d.ts.map +1 -0
- package/dist/models/AchievementCatalogueRowDto.js +111 -0
- package/dist/models/AchievementCatalogueRowDto.js.map +1 -0
- package/dist/models/AchievementDefinitionDto.d.ts +89 -0
- package/dist/models/AchievementDefinitionDto.d.ts.map +1 -0
- package/dist/models/AchievementDefinitionDto.js +94 -0
- package/dist/models/AchievementDefinitionDto.js.map +1 -0
- package/dist/models/AchievementGateDefinitionDto.d.ts +107 -0
- package/dist/models/AchievementGateDefinitionDto.d.ts.map +1 -0
- package/dist/models/AchievementGateDefinitionDto.js +115 -0
- package/dist/models/AchievementGateDefinitionDto.js.map +1 -0
- package/dist/models/AchievementGateDto.d.ts +125 -0
- package/dist/models/AchievementGateDto.d.ts.map +1 -0
- package/dist/models/AchievementGateDto.js +127 -0
- package/dist/models/AchievementGateDto.js.map +1 -0
- package/dist/models/AchievementsAnnouncedDto.d.ts +33 -0
- package/dist/models/AchievementsAnnouncedDto.d.ts.map +1 -0
- package/dist/models/AchievementsAnnouncedDto.js +51 -0
- package/dist/models/AchievementsAnnouncedDto.js.map +1 -0
- package/dist/models/AchievementsOverviewDto.d.ts +74 -0
- package/dist/models/AchievementsOverviewDto.d.ts.map +1 -0
- package/dist/models/AchievementsOverviewDto.js +80 -0
- package/dist/models/AchievementsOverviewDto.js.map +1 -0
- package/dist/models/AchievementsPopulationDto.d.ts +46 -0
- package/dist/models/AchievementsPopulationDto.d.ts.map +1 -0
- package/dist/models/AchievementsPopulationDto.js +62 -0
- package/dist/models/AchievementsPopulationDto.js.map +1 -0
- package/dist/models/BetslipWithAggregationDTO.d.ts +6 -0
- package/dist/models/BetslipWithAggregationDTO.d.ts.map +1 -1
- package/dist/models/BetslipWithAggregationDTO.js +2 -0
- package/dist/models/BetslipWithAggregationDTO.js.map +1 -1
- package/dist/models/ChangeBetAmountDto.d.ts +6 -0
- package/dist/models/ChangeBetAmountDto.d.ts.map +1 -1
- package/dist/models/ChangeBetAmountDto.js +2 -0
- package/dist/models/ChangeBetAmountDto.js.map +1 -1
- package/dist/models/EarnedAchievementDto.d.ts +31 -0
- package/dist/models/EarnedAchievementDto.d.ts.map +1 -1
- package/dist/models/EarnedAchievementDto.js +26 -0
- package/dist/models/EarnedAchievementDto.js.map +1 -1
- package/dist/models/GameOddsDto.d.ts +57 -0
- package/dist/models/GameOddsDto.d.ts.map +1 -0
- package/dist/models/GameOddsDto.js +67 -0
- package/dist/models/GameOddsDto.js.map +1 -0
- package/dist/models/GetProfileDto.d.ts +14 -0
- package/dist/models/GetProfileDto.d.ts.map +1 -1
- package/dist/models/GetProfileDto.js +12 -0
- package/dist/models/GetProfileDto.js.map +1 -1
- package/dist/models/LockedAchievementDto.d.ts +38 -0
- package/dist/models/LockedAchievementDto.d.ts.map +1 -1
- package/dist/models/LockedAchievementDto.js +31 -0
- package/dist/models/LockedAchievementDto.js.map +1 -1
- package/dist/models/MarkAchievementsAnnouncedDto.d.ts +69 -0
- package/dist/models/MarkAchievementsAnnouncedDto.d.ts.map +1 -0
- package/dist/models/MarkAchievementsAnnouncedDto.js +87 -0
- package/dist/models/MarkAchievementsAnnouncedDto.js.map +1 -0
- package/dist/models/MilestoneDefinitionDto.d.ts +51 -0
- package/dist/models/MilestoneDefinitionDto.d.ts.map +1 -0
- package/dist/models/MilestoneDefinitionDto.js +63 -0
- package/dist/models/MilestoneDefinitionDto.js.map +1 -0
- package/dist/models/MilestoneProgressDto.d.ts +45 -0
- package/dist/models/MilestoneProgressDto.d.ts.map +1 -0
- package/dist/models/MilestoneProgressDto.js +59 -0
- package/dist/models/MilestoneProgressDto.js.map +1 -0
- package/dist/models/MilestoneRecentDto.d.ts +45 -0
- package/dist/models/MilestoneRecentDto.d.ts.map +1 -0
- package/dist/models/MilestoneRecentDto.js +59 -0
- package/dist/models/MilestoneRecentDto.js.map +1 -0
- package/dist/models/MilestonesOverviewDto.d.ts +48 -0
- package/dist/models/MilestonesOverviewDto.d.ts.map +1 -0
- package/dist/models/MilestonesOverviewDto.js +62 -0
- package/dist/models/MilestonesOverviewDto.js.map +1 -0
- package/dist/models/OddsChangedDetailsDto.d.ts +98 -0
- package/dist/models/OddsChangedDetailsDto.d.ts.map +1 -0
- package/dist/models/OddsChangedDetailsDto.js +99 -0
- package/dist/models/OddsChangedDetailsDto.js.map +1 -0
- package/dist/models/OddsChangedErrorDto.d.ts +58 -0
- package/dist/models/OddsChangedErrorDto.d.ts.map +1 -0
- package/dist/models/OddsChangedErrorDto.js +68 -0
- package/dist/models/OddsChangedErrorDto.js.map +1 -0
- package/dist/models/OddsChangedPositionDto.d.ts +45 -0
- package/dist/models/OddsChangedPositionDto.d.ts.map +1 -0
- package/dist/models/OddsChangedPositionDto.js +59 -0
- package/dist/models/OddsChangedPositionDto.js.map +1 -0
- package/dist/models/PlaceBetDto.d.ts +6 -0
- package/dist/models/PlaceBetDto.d.ts.map +1 -1
- package/dist/models/PlaceBetDto.js +2 -0
- package/dist/models/PlaceBetDto.js.map +1 -1
- package/dist/models/PlaceBetslip409Response.d.ts +24 -0
- package/dist/models/PlaceBetslip409Response.d.ts.map +1 -0
- package/dist/models/PlaceBetslip409Response.js +58 -0
- package/dist/models/PlaceBetslip409Response.js.map +1 -0
- package/dist/models/PlacedBetslip.d.ts +18 -0
- package/dist/models/PlacedBetslip.d.ts.map +1 -1
- package/dist/models/PlacedBetslip.js +6 -0
- package/dist/models/PlacedBetslip.js.map +1 -1
- package/dist/models/ProgressionInsightsResponseDto.d.ts +47 -0
- package/dist/models/ProgressionInsightsResponseDto.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDto.js +61 -0
- package/dist/models/ProgressionInsightsResponseDto.js.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievements.d.ts +25 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievements.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievements.js +65 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievements.js.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf.d.ts +53 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf.js +67 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf.js.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf1.d.ts +54 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf1.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf1.js +69 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf1.js.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf2.d.ts +46 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf2.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf2.js +62 -0
- package/dist/models/ProgressionInsightsResponseDtoAchievementsOneOf2.js.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestones.d.ts +25 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestones.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestones.js +65 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestones.js.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestonesOneOf.d.ts +53 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestonesOneOf.d.ts.map +1 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestonesOneOf.js +67 -0
- package/dist/models/ProgressionInsightsResponseDtoMilestonesOneOf.js.map +1 -0
- package/dist/models/PropFeedHealthDto.d.ts +34 -0
- package/dist/models/PropFeedHealthDto.d.ts.map +1 -0
- package/dist/models/PropFeedHealthDto.js +52 -0
- package/dist/models/PropFeedHealthDto.js.map +1 -0
- package/dist/models/PropFeedSourceDto.d.ts +80 -0
- package/dist/models/PropFeedSourceDto.d.ts.map +1 -0
- package/dist/models/PropFeedSourceDto.js +87 -0
- package/dist/models/PropFeedSourceDto.js.map +1 -0
- package/dist/models/PropInsightsResponseDto.d.ts +47 -0
- package/dist/models/PropInsightsResponseDto.d.ts.map +1 -0
- package/dist/models/PropInsightsResponseDto.js +61 -0
- package/dist/models/PropInsightsResponseDto.js.map +1 -0
- package/dist/models/PropInsightsResponseDtoFeed.d.ts +25 -0
- package/dist/models/PropInsightsResponseDtoFeed.d.ts.map +1 -0
- package/dist/models/PropInsightsResponseDtoFeed.js +65 -0
- package/dist/models/PropInsightsResponseDtoFeed.js.map +1 -0
- package/dist/models/PropInsightsResponseDtoFeedOneOf.d.ts +53 -0
- package/dist/models/PropInsightsResponseDtoFeedOneOf.d.ts.map +1 -0
- package/dist/models/PropInsightsResponseDtoFeedOneOf.js +67 -0
- package/dist/models/PropInsightsResponseDtoFeedOneOf.js.map +1 -0
- package/dist/models/PropInsightsResponseDtoMarkets.d.ts +25 -0
- package/dist/models/PropInsightsResponseDtoMarkets.d.ts.map +1 -0
- package/dist/models/PropInsightsResponseDtoMarkets.js +65 -0
- package/dist/models/PropInsightsResponseDtoMarkets.js.map +1 -0
- package/dist/models/PropInsightsResponseDtoMarketsOneOf.d.ts +53 -0
- package/dist/models/PropInsightsResponseDtoMarketsOneOf.d.ts.map +1 -0
- package/dist/models/PropInsightsResponseDtoMarketsOneOf.js +67 -0
- package/dist/models/PropInsightsResponseDtoMarketsOneOf.js.map +1 -0
- package/dist/models/PropPerformanceDto.d.ts +62 -0
- package/dist/models/PropPerformanceDto.d.ts.map +1 -0
- package/dist/models/PropPerformanceDto.js +74 -0
- package/dist/models/PropPerformanceDto.js.map +1 -0
- package/dist/models/PropPerformanceMarketDto.d.ts +102 -0
- package/dist/models/PropPerformanceMarketDto.d.ts.map +1 -0
- package/dist/models/PropPerformanceMarketDto.js +100 -0
- package/dist/models/PropPerformanceMarketDto.js.map +1 -0
- package/dist/models/PropPerformanceTotalsDto.d.ts +75 -0
- package/dist/models/PropPerformanceTotalsDto.d.ts.map +1 -0
- package/dist/models/PropPerformanceTotalsDto.js +79 -0
- package/dist/models/PropPerformanceTotalsDto.js.map +1 -0
- package/dist/models/PropPerformanceWindowDto.d.ts +62 -0
- package/dist/models/PropPerformanceWindowDto.d.ts.map +1 -0
- package/dist/models/PropPerformanceWindowDto.js +75 -0
- package/dist/models/PropPerformanceWindowDto.js.map +1 -0
- package/dist/models/PropsHealthDayDto.d.ts +63 -0
- package/dist/models/PropsHealthDayDto.d.ts.map +1 -0
- package/dist/models/PropsHealthDayDto.js +71 -0
- package/dist/models/PropsHealthDayDto.js.map +1 -0
- package/dist/models/PropsHealthResponseDto.d.ts +73 -0
- package/dist/models/PropsHealthResponseDto.d.ts.map +1 -0
- package/dist/models/PropsHealthResponseDto.js +79 -0
- package/dist/models/PropsHealthResponseDto.js.map +1 -0
- package/dist/models/PropsHealthSportDto.d.ts +78 -0
- package/dist/models/PropsHealthSportDto.d.ts.map +1 -0
- package/dist/models/PropsHealthSportDto.js +84 -0
- package/dist/models/PropsHealthSportDto.js.map +1 -0
- package/dist/models/PropsHealthStuckPageDto.d.ts +52 -0
- package/dist/models/PropsHealthStuckPageDto.d.ts.map +1 -0
- package/dist/models/PropsHealthStuckPageDto.js +64 -0
- package/dist/models/PropsHealthStuckPageDto.js.map +1 -0
- package/dist/models/PropsHealthStuckRowDto.d.ts +102 -0
- package/dist/models/PropsHealthStuckRowDto.d.ts.map +1 -0
- package/dist/models/PropsHealthStuckRowDto.js +100 -0
- package/dist/models/PropsHealthStuckRowDto.js.map +1 -0
- package/dist/models/PropsHealthTotalsDto.d.ts +105 -0
- package/dist/models/PropsHealthTotalsDto.d.ts.map +1 -0
- package/dist/models/PropsHealthTotalsDto.js +99 -0
- package/dist/models/PropsHealthTotalsDto.js.map +1 -0
- package/dist/models/RecentAwardDto.d.ts +81 -0
- package/dist/models/RecentAwardDto.d.ts.map +1 -0
- package/dist/models/RecentAwardDto.js +95 -0
- package/dist/models/RecentAwardDto.js.map +1 -0
- package/dist/models/RevokedAwardDto.d.ts +87 -0
- package/dist/models/RevokedAwardDto.d.ts.map +1 -0
- package/dist/models/RevokedAwardDto.js +99 -0
- package/dist/models/RevokedAwardDto.js.map +1 -0
- package/dist/models/SetProfileViewBodyDto.d.ts +41 -0
- package/dist/models/SetProfileViewBodyDto.d.ts.map +1 -0
- package/dist/models/SetProfileViewBodyDto.js +59 -0
- package/dist/models/SetProfileViewBodyDto.js.map +1 -0
- package/dist/models/SetProfileViewDto.d.ts +53 -0
- package/dist/models/SetProfileViewDto.d.ts.map +1 -0
- package/dist/models/SetProfileViewDto.js +67 -0
- package/dist/models/SetProfileViewDto.js.map +1 -0
- package/dist/models/TopHolderDto.d.ts +45 -0
- package/dist/models/TopHolderDto.d.ts.map +1 -0
- package/dist/models/TopHolderDto.js +59 -0
- package/dist/models/TopHolderDto.js.map +1 -0
- package/dist/models/UserAchievementsDto.d.ts +42 -0
- package/dist/models/UserAchievementsDto.d.ts.map +1 -1
- package/dist/models/UserAchievementsDto.js +38 -0
- package/dist/models/UserAchievementsDto.js.map +1 -1
- package/dist/models/UserAchievementsSummaryDto.d.ts +18 -0
- package/dist/models/UserAchievementsSummaryDto.d.ts.map +1 -1
- package/dist/models/UserAchievementsSummaryDto.js +12 -0
- package/dist/models/UserAchievementsSummaryDto.js.map +1 -1
- package/dist/models/index.d.ts +47 -4
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +47 -4
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/Bookmaker.d.ts +0 -52
- package/dist/models/Bookmaker.d.ts.map +0 -1
- package/dist/models/Bookmaker.js +0 -64
- package/dist/models/Bookmaker.js.map +0 -1
- package/dist/models/Market.d.ts +0 -46
- package/dist/models/Market.d.ts.map +0 -1
- package/dist/models/Market.js +0 -59
- package/dist/models/Market.js.map +0 -1
- package/dist/models/Odds.d.ts +0 -70
- package/dist/models/Odds.d.ts.map +0 -1
- package/dist/models/Odds.js +0 -76
- package/dist/models/Odds.js.map +0 -1
- package/dist/models/Outcome.d.ts +0 -45
- package/dist/models/Outcome.d.ts.map +0 -1
- package/dist/models/Outcome.js +0 -59
- package/dist/models/Outcome.js.map +0 -1
|
@@ -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.PropInsightsResponseDtoMarketsOneOfStateEnum = void 0;
|
|
17
|
+
exports.instanceOfPropInsightsResponseDtoMarketsOneOf = instanceOfPropInsightsResponseDtoMarketsOneOf;
|
|
18
|
+
exports.PropInsightsResponseDtoMarketsOneOfFromJSON = PropInsightsResponseDtoMarketsOneOfFromJSON;
|
|
19
|
+
exports.PropInsightsResponseDtoMarketsOneOfFromJSONTyped = PropInsightsResponseDtoMarketsOneOfFromJSONTyped;
|
|
20
|
+
exports.PropInsightsResponseDtoMarketsOneOfToJSON = PropInsightsResponseDtoMarketsOneOfToJSON;
|
|
21
|
+
exports.PropInsightsResponseDtoMarketsOneOfToJSONTyped = PropInsightsResponseDtoMarketsOneOfToJSONTyped;
|
|
22
|
+
const PropPerformanceDto_1 = require("./PropPerformanceDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PropInsightsResponseDtoMarketsOneOfStateEnum = {
|
|
27
|
+
Live: 'live'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the PropInsightsResponseDtoMarketsOneOf interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfPropInsightsResponseDtoMarketsOneOf(value) {
|
|
33
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('as_of' in value) || value['as_of'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function PropInsightsResponseDtoMarketsOneOfFromJSON(json) {
|
|
42
|
+
return PropInsightsResponseDtoMarketsOneOfFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PropInsightsResponseDtoMarketsOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'state': json['state'],
|
|
50
|
+
'as_of': (new Date(json['as_of'])),
|
|
51
|
+
'data': (0, PropPerformanceDto_1.PropPerformanceDtoFromJSON)(json['data']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function PropInsightsResponseDtoMarketsOneOfToJSON(json) {
|
|
55
|
+
return PropInsightsResponseDtoMarketsOneOfToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function PropInsightsResponseDtoMarketsOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'state': value['state'],
|
|
63
|
+
'as_of': value['as_of'].toISOString(),
|
|
64
|
+
'data': (0, PropPerformanceDto_1.PropPerformanceDtoToJSON)(value['data']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=PropInsightsResponseDtoMarketsOneOf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropInsightsResponseDtoMarketsOneOf.js","sourceRoot":"","sources":["../../src/models/PropInsightsResponseDtoMarketsOneOf.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAkDH,sGAKC;AAED,kGAEC;AAED,4GAUC;AAED,8FAEC;AAED,wGAWC;AApFD,6DAK8B;AA6B9B;;GAEG;AACU,QAAA,4CAA4C,GAAG;IACxD,IAAI,EAAE,MAAM;CACN,CAAC;AAIX;;GAEG;AACH,SAAgB,6CAA6C,CAAC,KAAa;IACvE,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS,EAAE,mBAA4B;IACpG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QAClC,MAAM,EAAE,IAAA,+CAA0B,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACnD,CAAC;AACN,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAkD,EAAE,sBAA+B,KAAK;IACnJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE;QACrC,MAAM,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAClD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { PropPerformanceWindowDto } from './PropPerformanceWindowDto';
|
|
13
|
+
import type { PropPerformanceTotalsDto } from './PropPerformanceTotalsDto';
|
|
14
|
+
import type { PropPerformanceMarketDto } from './PropPerformanceMarketDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PropPerformanceDto
|
|
19
|
+
*/
|
|
20
|
+
export interface PropPerformanceDto {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {PropPerformanceWindowDto}
|
|
24
|
+
* @memberof PropPerformanceDto
|
|
25
|
+
*/
|
|
26
|
+
window: PropPerformanceWindowDto;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PropPerformanceDtoSportEnum}
|
|
30
|
+
* @memberof PropPerformanceDto
|
|
31
|
+
*/
|
|
32
|
+
sport: PropPerformanceDtoSportEnum | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PropPerformanceTotalsDto}
|
|
36
|
+
* @memberof PropPerformanceDto
|
|
37
|
+
*/
|
|
38
|
+
totals: PropPerformanceTotalsDto;
|
|
39
|
+
/**
|
|
40
|
+
* Most settled first, then market key, then sport
|
|
41
|
+
* @type {Array<PropPerformanceMarketDto>}
|
|
42
|
+
* @memberof PropPerformanceDto
|
|
43
|
+
*/
|
|
44
|
+
markets: Array<PropPerformanceMarketDto>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const PropPerformanceDtoSportEnum: {
|
|
50
|
+
readonly Nfl: "nfl";
|
|
51
|
+
readonly Nba: "nba";
|
|
52
|
+
};
|
|
53
|
+
export type PropPerformanceDtoSportEnum = typeof PropPerformanceDtoSportEnum[keyof typeof PropPerformanceDtoSportEnum];
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the PropPerformanceDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfPropPerformanceDto(value: object): value is PropPerformanceDto;
|
|
58
|
+
export declare function PropPerformanceDtoFromJSON(json: any): PropPerformanceDto;
|
|
59
|
+
export declare function PropPerformanceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropPerformanceDto;
|
|
60
|
+
export declare function PropPerformanceDtoToJSON(json: any): PropPerformanceDto;
|
|
61
|
+
export declare function PropPerformanceDtoToJSONTyped(value?: PropPerformanceDto | null, ignoreDiscriminator?: boolean): any;
|
|
62
|
+
//# sourceMappingURL=PropPerformanceDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceDto.d.ts","sourceRoot":"","sources":["../../src/models/PropPerformanceDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,KAAK,EAAE,2BAA2B,GAAG,IAAI,CAAC;IAC1C;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;CAC5C;AAGD;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAGvH;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAMvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAW3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY1H"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.PropPerformanceDtoSportEnum = void 0;
|
|
17
|
+
exports.instanceOfPropPerformanceDto = instanceOfPropPerformanceDto;
|
|
18
|
+
exports.PropPerformanceDtoFromJSON = PropPerformanceDtoFromJSON;
|
|
19
|
+
exports.PropPerformanceDtoFromJSONTyped = PropPerformanceDtoFromJSONTyped;
|
|
20
|
+
exports.PropPerformanceDtoToJSON = PropPerformanceDtoToJSON;
|
|
21
|
+
exports.PropPerformanceDtoToJSONTyped = PropPerformanceDtoToJSONTyped;
|
|
22
|
+
const PropPerformanceWindowDto_1 = require("./PropPerformanceWindowDto");
|
|
23
|
+
const PropPerformanceTotalsDto_1 = require("./PropPerformanceTotalsDto");
|
|
24
|
+
const PropPerformanceMarketDto_1 = require("./PropPerformanceMarketDto");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.PropPerformanceDtoSportEnum = {
|
|
29
|
+
Nfl: 'nfl',
|
|
30
|
+
Nba: 'nba'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PropPerformanceDto interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfPropPerformanceDto(value) {
|
|
36
|
+
if (!('window' in value) || value['window'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('sport' in value) || value['sport'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('totals' in value) || value['totals'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('markets' in value) || value['markets'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function PropPerformanceDtoFromJSON(json) {
|
|
47
|
+
return PropPerformanceDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PropPerformanceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'window': (0, PropPerformanceWindowDto_1.PropPerformanceWindowDtoFromJSON)(json['window']),
|
|
55
|
+
'sport': json['sport'],
|
|
56
|
+
'totals': (0, PropPerformanceTotalsDto_1.PropPerformanceTotalsDtoFromJSON)(json['totals']),
|
|
57
|
+
'markets': (json['markets'].map(PropPerformanceMarketDto_1.PropPerformanceMarketDtoFromJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function PropPerformanceDtoToJSON(json) {
|
|
61
|
+
return PropPerformanceDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function PropPerformanceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'window': (0, PropPerformanceWindowDto_1.PropPerformanceWindowDtoToJSON)(value['window']),
|
|
69
|
+
'sport': value['sport'],
|
|
70
|
+
'totals': (0, PropPerformanceTotalsDto_1.PropPerformanceTotalsDtoToJSON)(value['totals']),
|
|
71
|
+
'markets': (value['markets'].map(PropPerformanceMarketDto_1.PropPerformanceMarketDtoToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=PropPerformanceDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceDto.js","sourceRoot":"","sources":["../../src/models/PropPerformanceDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuEH,oEAMC;AAED,gEAEC;AAED,0EAWC;AAED,4DAEC;AAED,sEAYC;AA5GD,yEAKoC;AAEpC,yEAKoC;AAEpC,yEAKoC;AAmCpC;;GAEG;AACU,QAAA,2BAA2B,GAAG;IACvC,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,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,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAA,2DAAgC,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAA,2DAAgC,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1D,SAAS,EAAE,CAAE,IAAI,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,2DAAgC,CAAC,CAAC;KACrF,CAAC;AACN,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACzD,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,QAAQ,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACzD,SAAS,EAAE,CAAE,KAAK,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,yDAA8B,CAAC,CAAC;KACpF,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 PropPerformanceMarketDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PropPerformanceMarketDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PropPerformanceMarketDto
|
|
22
|
+
*/
|
|
23
|
+
correct: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PropPerformanceMarketDto
|
|
28
|
+
*/
|
|
29
|
+
incorrect: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PropPerformanceMarketDto
|
|
34
|
+
*/
|
|
35
|
+
pushes: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PropPerformanceMarketDto
|
|
40
|
+
*/
|
|
41
|
+
voids: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PropPerformanceMarketDto
|
|
46
|
+
*/
|
|
47
|
+
pending: number;
|
|
48
|
+
/**
|
|
49
|
+
* Predictions with a final result: correct + incorrect + pushes + voids
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PropPerformanceMarketDto
|
|
52
|
+
*/
|
|
53
|
+
total_settled: number;
|
|
54
|
+
/**
|
|
55
|
+
* correct / (correct + incorrect) as a percent with 2 decimals; null with none decided. Same definition as GET /stats/props/:userId
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PropPerformanceMarketDto
|
|
58
|
+
*/
|
|
59
|
+
hit_rate: number | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PropPerformanceMarketDto
|
|
64
|
+
*/
|
|
65
|
+
market_key: string;
|
|
66
|
+
/**
|
|
67
|
+
* Canonical sport: nba and basketball_nba are one row. other holds unrecognised spellings
|
|
68
|
+
* @type {PropPerformanceMarketDtoSportEnum}
|
|
69
|
+
* @memberof PropPerformanceMarketDto
|
|
70
|
+
*/
|
|
71
|
+
sport: PropPerformanceMarketDtoSportEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Distinct users in this row
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof PropPerformanceMarketDto
|
|
76
|
+
*/
|
|
77
|
+
predictors: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof PropPerformanceMarketDto
|
|
82
|
+
*/
|
|
83
|
+
avg_offered_line: number | null;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const PropPerformanceMarketDtoSportEnum: {
|
|
89
|
+
readonly Nba: "nba";
|
|
90
|
+
readonly Nfl: "nfl";
|
|
91
|
+
readonly Other: "other";
|
|
92
|
+
};
|
|
93
|
+
export type PropPerformanceMarketDtoSportEnum = typeof PropPerformanceMarketDtoSportEnum[keyof typeof PropPerformanceMarketDtoSportEnum];
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the PropPerformanceMarketDto interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfPropPerformanceMarketDto(value: object): value is PropPerformanceMarketDto;
|
|
98
|
+
export declare function PropPerformanceMarketDtoFromJSON(json: any): PropPerformanceMarketDto;
|
|
99
|
+
export declare function PropPerformanceMarketDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropPerformanceMarketDto;
|
|
100
|
+
export declare function PropPerformanceMarketDtoToJSON(json: any): PropPerformanceMarketDto;
|
|
101
|
+
export declare function PropPerformanceMarketDtoToJSONTyped(value?: PropPerformanceMarketDto | null, ignoreDiscriminator?: boolean): any;
|
|
102
|
+
//# sourceMappingURL=PropPerformanceMarketDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceMarketDto.d.ts","sourceRoot":"","sources":["../../src/models/PropPerformanceMarketDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,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
+
* 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.PropPerformanceMarketDtoSportEnum = void 0;
|
|
17
|
+
exports.instanceOfPropPerformanceMarketDto = instanceOfPropPerformanceMarketDto;
|
|
18
|
+
exports.PropPerformanceMarketDtoFromJSON = PropPerformanceMarketDtoFromJSON;
|
|
19
|
+
exports.PropPerformanceMarketDtoFromJSONTyped = PropPerformanceMarketDtoFromJSONTyped;
|
|
20
|
+
exports.PropPerformanceMarketDtoToJSON = PropPerformanceMarketDtoToJSON;
|
|
21
|
+
exports.PropPerformanceMarketDtoToJSONTyped = PropPerformanceMarketDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PropPerformanceMarketDtoSportEnum = {
|
|
26
|
+
Nba: 'nba',
|
|
27
|
+
Nfl: 'nfl',
|
|
28
|
+
Other: 'other'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PropPerformanceMarketDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfPropPerformanceMarketDto(value) {
|
|
34
|
+
if (!('correct' in value) || value['correct'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('incorrect' in value) || value['incorrect'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('pushes' in value) || value['pushes'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('voids' in value) || value['voids'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('pending' in value) || value['pending'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('total_settled' in value) || value['total_settled'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('hit_rate' in value) || value['hit_rate'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('market_key' in value) || value['market_key'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('sport' in value) || value['sport'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('predictors' in value) || value['predictors'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('avg_offered_line' in value) || value['avg_offered_line'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function PropPerformanceMarketDtoFromJSON(json) {
|
|
59
|
+
return PropPerformanceMarketDtoFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function PropPerformanceMarketDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'correct': json['correct'],
|
|
67
|
+
'incorrect': json['incorrect'],
|
|
68
|
+
'pushes': json['pushes'],
|
|
69
|
+
'voids': json['voids'],
|
|
70
|
+
'pending': json['pending'],
|
|
71
|
+
'total_settled': json['total_settled'],
|
|
72
|
+
'hit_rate': json['hit_rate'],
|
|
73
|
+
'market_key': json['market_key'],
|
|
74
|
+
'sport': json['sport'],
|
|
75
|
+
'predictors': json['predictors'],
|
|
76
|
+
'avg_offered_line': json['avg_offered_line'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function PropPerformanceMarketDtoToJSON(json) {
|
|
80
|
+
return PropPerformanceMarketDtoToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
function PropPerformanceMarketDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
return {
|
|
87
|
+
'correct': value['correct'],
|
|
88
|
+
'incorrect': value['incorrect'],
|
|
89
|
+
'pushes': value['pushes'],
|
|
90
|
+
'voids': value['voids'],
|
|
91
|
+
'pending': value['pending'],
|
|
92
|
+
'total_settled': value['total_settled'],
|
|
93
|
+
'hit_rate': value['hit_rate'],
|
|
94
|
+
'market_key': value['market_key'],
|
|
95
|
+
'sport': value['sport'],
|
|
96
|
+
'predictors': value['predictors'],
|
|
97
|
+
'avg_offered_line': value['avg_offered_line'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=PropPerformanceMarketDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceMarketDto.js","sourceRoot":"","sources":["../../src/models/PropPerformanceMarketDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4FH,gFAaC;AAED,4EAEC;AAED,sFAkBC;AAED,wEAEC;AAED,kFAmBC;AA5ED;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC7C,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;CACR,CAAC;AAIX;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAA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
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 PropPerformanceTotalsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PropPerformanceTotalsDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PropPerformanceTotalsDto
|
|
22
|
+
*/
|
|
23
|
+
correct: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PropPerformanceTotalsDto
|
|
28
|
+
*/
|
|
29
|
+
incorrect: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PropPerformanceTotalsDto
|
|
34
|
+
*/
|
|
35
|
+
pushes: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PropPerformanceTotalsDto
|
|
40
|
+
*/
|
|
41
|
+
voids: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PropPerformanceTotalsDto
|
|
46
|
+
*/
|
|
47
|
+
pending: number;
|
|
48
|
+
/**
|
|
49
|
+
* Predictions with a final result: correct + incorrect + pushes + voids
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PropPerformanceTotalsDto
|
|
52
|
+
*/
|
|
53
|
+
total_settled: number;
|
|
54
|
+
/**
|
|
55
|
+
* correct / (correct + incorrect) as a percent with 2 decimals; null with none decided. Same definition as GET /stats/props/:userId
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PropPerformanceTotalsDto
|
|
58
|
+
*/
|
|
59
|
+
hit_rate: number | null;
|
|
60
|
+
/**
|
|
61
|
+
* Distinct users across all markets
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PropPerformanceTotalsDto
|
|
64
|
+
*/
|
|
65
|
+
predictors: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the PropPerformanceTotalsDto interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfPropPerformanceTotalsDto(value: object): value is PropPerformanceTotalsDto;
|
|
71
|
+
export declare function PropPerformanceTotalsDtoFromJSON(json: any): PropPerformanceTotalsDto;
|
|
72
|
+
export declare function PropPerformanceTotalsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropPerformanceTotalsDto;
|
|
73
|
+
export declare function PropPerformanceTotalsDtoToJSON(json: any): PropPerformanceTotalsDto;
|
|
74
|
+
export declare function PropPerformanceTotalsDtoToJSONTyped(value?: PropPerformanceTotalsDto | null, ignoreDiscriminator?: boolean): any;
|
|
75
|
+
//# sourceMappingURL=PropPerformanceTotalsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceTotalsDto.d.ts","sourceRoot":"","sources":["../../src/models/PropPerformanceTotalsDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAUnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAevH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBtI"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfPropPerformanceTotalsDto = instanceOfPropPerformanceTotalsDto;
|
|
17
|
+
exports.PropPerformanceTotalsDtoFromJSON = PropPerformanceTotalsDtoFromJSON;
|
|
18
|
+
exports.PropPerformanceTotalsDtoFromJSONTyped = PropPerformanceTotalsDtoFromJSONTyped;
|
|
19
|
+
exports.PropPerformanceTotalsDtoToJSON = PropPerformanceTotalsDtoToJSON;
|
|
20
|
+
exports.PropPerformanceTotalsDtoToJSONTyped = PropPerformanceTotalsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PropPerformanceTotalsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPropPerformanceTotalsDto(value) {
|
|
25
|
+
if (!('correct' in value) || value['correct'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('incorrect' in value) || value['incorrect'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('pushes' in value) || value['pushes'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('voids' in value) || value['voids'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('pending' in value) || value['pending'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('total_settled' in value) || value['total_settled'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('hit_rate' in value) || value['hit_rate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('predictors' in value) || value['predictors'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function PropPerformanceTotalsDtoFromJSON(json) {
|
|
44
|
+
return PropPerformanceTotalsDtoFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PropPerformanceTotalsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'correct': json['correct'],
|
|
52
|
+
'incorrect': json['incorrect'],
|
|
53
|
+
'pushes': json['pushes'],
|
|
54
|
+
'voids': json['voids'],
|
|
55
|
+
'pending': json['pending'],
|
|
56
|
+
'total_settled': json['total_settled'],
|
|
57
|
+
'hit_rate': json['hit_rate'],
|
|
58
|
+
'predictors': json['predictors'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function PropPerformanceTotalsDtoToJSON(json) {
|
|
62
|
+
return PropPerformanceTotalsDtoToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function PropPerformanceTotalsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'correct': value['correct'],
|
|
70
|
+
'incorrect': value['incorrect'],
|
|
71
|
+
'pushes': value['pushes'],
|
|
72
|
+
'voids': value['voids'],
|
|
73
|
+
'pending': value['pending'],
|
|
74
|
+
'total_settled': value['total_settled'],
|
|
75
|
+
'hit_rate': value['hit_rate'],
|
|
76
|
+
'predictors': value['predictors'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=PropPerformanceTotalsDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceTotalsDto.js","sourceRoot":"","sources":["../../src/models/PropPerformanceTotalsDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8DH,gFAUC;AAED,4EAEC;AAED,sFAeC;AAED,wEAEC;AAED,kFAgBC;AAxDD;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAA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O;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 PropPerformanceWindowDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PropPerformanceWindowDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {PropPerformanceWindowDtoDaysEnum}
|
|
21
|
+
* @memberof PropPerformanceWindowDto
|
|
22
|
+
*/
|
|
23
|
+
days: PropPerformanceWindowDtoDaysEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof PropPerformanceWindowDto
|
|
28
|
+
*/
|
|
29
|
+
from: Date;
|
|
30
|
+
/**
|
|
31
|
+
* Predictions are windowed by when they were placed
|
|
32
|
+
* @type {PropPerformanceWindowDtoBasisEnum}
|
|
33
|
+
* @memberof PropPerformanceWindowDto
|
|
34
|
+
*/
|
|
35
|
+
basis: PropPerformanceWindowDtoBasisEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const PropPerformanceWindowDtoDaysEnum: {
|
|
41
|
+
readonly NUMBER_7: 7;
|
|
42
|
+
readonly NUMBER_30: 30;
|
|
43
|
+
readonly NUMBER_90: 90;
|
|
44
|
+
readonly NUMBER_365: 365;
|
|
45
|
+
};
|
|
46
|
+
export type PropPerformanceWindowDtoDaysEnum = typeof PropPerformanceWindowDtoDaysEnum[keyof typeof PropPerformanceWindowDtoDaysEnum];
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const PropPerformanceWindowDtoBasisEnum: {
|
|
51
|
+
readonly CreatedAt: "created_at";
|
|
52
|
+
};
|
|
53
|
+
export type PropPerformanceWindowDtoBasisEnum = typeof PropPerformanceWindowDtoBasisEnum[keyof typeof PropPerformanceWindowDtoBasisEnum];
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the PropPerformanceWindowDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfPropPerformanceWindowDto(value: object): value is PropPerformanceWindowDto;
|
|
58
|
+
export declare function PropPerformanceWindowDtoFromJSON(json: any): PropPerformanceWindowDto;
|
|
59
|
+
export declare function PropPerformanceWindowDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropPerformanceWindowDto;
|
|
60
|
+
export declare function PropPerformanceWindowDtoToJSON(json: any): PropPerformanceWindowDto;
|
|
61
|
+
export declare function PropPerformanceWindowDtoToJSONTyped(value?: PropPerformanceWindowDto | null, ignoreDiscriminator?: boolean): any;
|
|
62
|
+
//# sourceMappingURL=PropPerformanceWindowDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropPerformanceWindowDto.d.ts","sourceRoot":"","sources":["../../src/models/PropPerformanceWindowDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,EAAE,gCAAgC,CAAC;IACvC;;;;OAIG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;;;OAIG;IACH,KAAK,EAAE,iCAAiC,CAAC;CAC5C;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAEtI;;GAEG;AACH,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAKnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAUvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtI"}
|