@pluto-khronos/api-client 3.15.0 → 3.16.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/AchievementsApi.d.ts +103 -0
- package/dist/apis/AchievementsApi.d.ts.map +1 -0
- package/dist/apis/AchievementsApi.js +128 -0
- package/dist/apis/AchievementsApi.js.map +1 -0
- package/dist/apis/AdminOpsApi.d.ts +34 -0
- package/dist/apis/AdminOpsApi.d.ts.map +1 -1
- package/dist/apis/AdminOpsApi.js +32 -0
- package/dist/apis/AdminOpsApi.js.map +1 -1
- package/dist/apis/RecapApi.d.ts +80 -4
- package/dist/apis/RecapApi.d.ts.map +1 -1
- package/dist/apis/RecapApi.js +82 -3
- package/dist/apis/RecapApi.js.map +1 -1
- package/dist/apis/ScheduleApi.d.ts +2 -2
- package/dist/apis/StatsApi.d.ts +53 -0
- package/dist/apis/StatsApi.d.ts.map +1 -1
- package/dist/apis/StatsApi.js +50 -1
- package/dist/apis/StatsApi.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/AdminOpsAttentionCheckDto.d.ts +63 -0
- package/dist/models/AdminOpsAttentionCheckDto.d.ts.map +1 -0
- package/dist/models/AdminOpsAttentionCheckDto.js +74 -0
- package/dist/models/AdminOpsAttentionCheckDto.js.map +1 -0
- package/dist/models/AdminOpsAttentionItemDto.d.ts +87 -0
- package/dist/models/AdminOpsAttentionItemDto.d.ts.map +1 -0
- package/dist/models/AdminOpsAttentionItemDto.js +90 -0
- package/dist/models/AdminOpsAttentionItemDto.js.map +1 -0
- package/dist/models/AdminOpsAttentionResponseDto.d.ts +47 -0
- package/dist/models/AdminOpsAttentionResponseDto.d.ts.map +1 -0
- package/dist/models/AdminOpsAttentionResponseDto.js +61 -0
- package/dist/models/AdminOpsAttentionResponseDto.js.map +1 -0
- package/dist/models/EarnedAchievementDto.d.ts +51 -0
- package/dist/models/EarnedAchievementDto.d.ts.map +1 -0
- package/dist/models/EarnedAchievementDto.js +63 -0
- package/dist/models/EarnedAchievementDto.js.map +1 -0
- package/dist/models/LockedAchievementDto.d.ts +57 -0
- package/dist/models/LockedAchievementDto.d.ts.map +1 -0
- package/dist/models/LockedAchievementDto.js +67 -0
- package/dist/models/LockedAchievementDto.js.map +1 -0
- package/dist/models/PropMarketStatsDto.d.ts +81 -0
- package/dist/models/PropMarketStatsDto.d.ts.map +1 -0
- package/dist/models/PropMarketStatsDto.js +83 -0
- package/dist/models/PropMarketStatsDto.js.map +1 -0
- package/dist/models/PropStatsDto.d.ts +96 -0
- package/dist/models/PropStatsDto.d.ts.map +1 -0
- package/dist/models/PropStatsDto.js +96 -0
- package/dist/models/PropStatsDto.js.map +1 -0
- package/dist/models/RecapPeriodWindowDto.d.ts +45 -0
- package/dist/models/RecapPeriodWindowDto.d.ts.map +1 -0
- package/dist/models/RecapPeriodWindowDto.js +59 -0
- package/dist/models/RecapPeriodWindowDto.js.map +1 -0
- package/dist/models/RecapPeriodWinnerDto.d.ts +63 -0
- package/dist/models/RecapPeriodWinnerDto.d.ts.map +1 -0
- package/dist/models/RecapPeriodWinnerDto.js +71 -0
- package/dist/models/RecapPeriodWinnerDto.js.map +1 -0
- package/dist/models/RecapPeriodWinnersResponseDto.d.ts +88 -0
- package/dist/models/RecapPeriodWinnersResponseDto.d.ts.map +1 -0
- package/dist/models/RecapPeriodWinnersResponseDto.js +93 -0
- package/dist/models/RecapPeriodWinnersResponseDto.js.map +1 -0
- package/dist/models/RecapWindowDto.d.ts +16 -2
- package/dist/models/RecapWindowDto.d.ts.map +1 -1
- package/dist/models/RecapWindowDto.js +10 -0
- package/dist/models/RecapWindowDto.js.map +1 -1
- package/dist/models/UserAchievementsDto.d.ts +54 -0
- package/dist/models/UserAchievementsDto.d.ts.map +1 -0
- package/dist/models/UserAchievementsDto.js +66 -0
- package/dist/models/UserAchievementsDto.js.map +1 -0
- package/dist/models/UserAchievementsSummaryDto.d.ts +75 -0
- package/dist/models/UserAchievementsSummaryDto.d.ts.map +1 -0
- package/dist/models/UserAchievementsSummaryDto.js +79 -0
- package/dist/models/UserAchievementsSummaryDto.js.map +1 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +12 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfAdminOpsAttentionResponseDto = instanceOfAdminOpsAttentionResponseDto;
|
|
17
|
+
exports.AdminOpsAttentionResponseDtoFromJSON = AdminOpsAttentionResponseDtoFromJSON;
|
|
18
|
+
exports.AdminOpsAttentionResponseDtoFromJSONTyped = AdminOpsAttentionResponseDtoFromJSONTyped;
|
|
19
|
+
exports.AdminOpsAttentionResponseDtoToJSON = AdminOpsAttentionResponseDtoToJSON;
|
|
20
|
+
exports.AdminOpsAttentionResponseDtoToJSONTyped = AdminOpsAttentionResponseDtoToJSONTyped;
|
|
21
|
+
const AdminOpsAttentionItemDto_1 = require("./AdminOpsAttentionItemDto");
|
|
22
|
+
const AdminOpsAttentionCheckDto_1 = require("./AdminOpsAttentionCheckDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AdminOpsAttentionResponseDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAdminOpsAttentionResponseDto(value) {
|
|
27
|
+
if (!('generated_at' in value) || value['generated_at'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('checks' in value) || value['checks'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AdminOpsAttentionResponseDtoFromJSON(json) {
|
|
36
|
+
return AdminOpsAttentionResponseDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AdminOpsAttentionResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'generated_at': (new Date(json['generated_at'])),
|
|
44
|
+
'items': (json['items'].map(AdminOpsAttentionItemDto_1.AdminOpsAttentionItemDtoFromJSON)),
|
|
45
|
+
'checks': (json['checks'].map(AdminOpsAttentionCheckDto_1.AdminOpsAttentionCheckDtoFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function AdminOpsAttentionResponseDtoToJSON(json) {
|
|
49
|
+
return AdminOpsAttentionResponseDtoToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function AdminOpsAttentionResponseDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'generated_at': value['generated_at'].toISOString(),
|
|
57
|
+
'items': (value['items'].map(AdminOpsAttentionItemDto_1.AdminOpsAttentionItemDtoToJSON)),
|
|
58
|
+
'checks': (value['checks'].map(AdminOpsAttentionCheckDto_1.AdminOpsAttentionCheckDtoToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=AdminOpsAttentionResponseDto.js.map
|
|
@@ -0,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,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,WAAW,EAAE;QACnD,OAAO,EAAE,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,yDAA8B,CAAC,CAAC;QAC7E,QAAQ,EAAE,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,2DAA+B,CAAC,CAAC;KACnF,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 EarnedAchievementDto
|
|
16
|
+
*/
|
|
17
|
+
export interface EarnedAchievementDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EarnedAchievementDto
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EarnedAchievementDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EarnedAchievementDto
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof EarnedAchievementDto
|
|
40
|
+
*/
|
|
41
|
+
awarded_at: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the EarnedAchievementDto interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfEarnedAchievementDto(value: object): value is EarnedAchievementDto;
|
|
47
|
+
export declare function EarnedAchievementDtoFromJSON(json: any): EarnedAchievementDto;
|
|
48
|
+
export declare function EarnedAchievementDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): EarnedAchievementDto;
|
|
49
|
+
export declare function EarnedAchievementDtoToJSON(json: any): EarnedAchievementDto;
|
|
50
|
+
export declare function EarnedAchievementDtoToJSONTyped(value?: EarnedAchievementDto | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=EarnedAchievementDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EarnedAchievementDto.d.ts","sourceRoot":"","sources":["../../src/models/EarnedAchievementDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;CACpB;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,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.instanceOfEarnedAchievementDto = instanceOfEarnedAchievementDto;
|
|
17
|
+
exports.EarnedAchievementDtoFromJSON = EarnedAchievementDtoFromJSON;
|
|
18
|
+
exports.EarnedAchievementDtoFromJSONTyped = EarnedAchievementDtoFromJSONTyped;
|
|
19
|
+
exports.EarnedAchievementDtoToJSON = EarnedAchievementDtoToJSON;
|
|
20
|
+
exports.EarnedAchievementDtoToJSONTyped = EarnedAchievementDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EarnedAchievementDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEarnedAchievementDto(value) {
|
|
25
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('awarded_at' in value) || value['awarded_at'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function EarnedAchievementDtoFromJSON(json) {
|
|
36
|
+
return EarnedAchievementDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function EarnedAchievementDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'key': json['key'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'description': json['description'],
|
|
46
|
+
'awarded_at': (new Date(json['awarded_at'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function EarnedAchievementDtoToJSON(json) {
|
|
50
|
+
return EarnedAchievementDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function EarnedAchievementDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'key': value['key'],
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'description': value['description'],
|
|
60
|
+
'awarded_at': value['awarded_at'].toISOString(),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=EarnedAchievementDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EarnedAchievementDto.js","sourceRoot":"","sources":["../../src/models/EarnedAchievementDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,wEAMC;AAED,oEAEC;AAED,8EAWC;AAED,gEAEC;AAED,0EAYC;AA5CD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CA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AAC,CAAC,WAAW,EAAE;KAClD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 LockedAchievementDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LockedAchievementDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LockedAchievementDto
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LockedAchievementDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LockedAchievementDto
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
* Progress toward target. Below target while locked, even when the count gate is met but a profit or hit-rate condition is not
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof LockedAchievementDto
|
|
40
|
+
*/
|
|
41
|
+
progress: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof LockedAchievementDto
|
|
46
|
+
*/
|
|
47
|
+
target: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the LockedAchievementDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfLockedAchievementDto(value: object): value is LockedAchievementDto;
|
|
53
|
+
export declare function LockedAchievementDtoFromJSON(json: any): LockedAchievementDto;
|
|
54
|
+
export declare function LockedAchievementDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockedAchievementDto;
|
|
55
|
+
export declare function LockedAchievementDtoToJSON(json: any): LockedAchievementDto;
|
|
56
|
+
export declare function LockedAchievementDtoToJSONTyped(value?: LockedAchievementDto | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=LockedAchievementDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LockedAchievementDto.d.ts","sourceRoot":"","sources":["../../src/models/LockedAchievementDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAO3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/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,CAa9H"}
|
|
@@ -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.instanceOfLockedAchievementDto = instanceOfLockedAchievementDto;
|
|
17
|
+
exports.LockedAchievementDtoFromJSON = LockedAchievementDtoFromJSON;
|
|
18
|
+
exports.LockedAchievementDtoFromJSONTyped = LockedAchievementDtoFromJSONTyped;
|
|
19
|
+
exports.LockedAchievementDtoToJSON = LockedAchievementDtoToJSON;
|
|
20
|
+
exports.LockedAchievementDtoToJSONTyped = LockedAchievementDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LockedAchievementDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLockedAchievementDto(value) {
|
|
25
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function LockedAchievementDtoFromJSON(json) {
|
|
38
|
+
return LockedAchievementDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function LockedAchievementDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'key': json['key'],
|
|
46
|
+
'name': json['name'],
|
|
47
|
+
'description': json['description'],
|
|
48
|
+
'progress': json['progress'],
|
|
49
|
+
'target': json['target'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function LockedAchievementDtoToJSON(json) {
|
|
53
|
+
return LockedAchievementDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function LockedAchievementDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'key': value['key'],
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'description': value['description'],
|
|
63
|
+
'progress': value['progress'],
|
|
64
|
+
'target': value['target'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=LockedAchievementDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LockedAchievementDto.js","sourceRoot":"","sources":["../../src/models/LockedAchievementDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,wEAOC;AAED,oEAEC;AAED,8EAYC;AAED,gEAEC;AAED,0EAaC;AA/CD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAA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
|
|
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 PropMarketStatsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PropMarketStatsDto {
|
|
18
|
+
/**
|
|
19
|
+
* Predictions with a final result: correct + incorrect + pushes + voids
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PropMarketStatsDto
|
|
22
|
+
*/
|
|
23
|
+
total_settled: number;
|
|
24
|
+
/**
|
|
25
|
+
* Predictions that were correct
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PropMarketStatsDto
|
|
28
|
+
*/
|
|
29
|
+
correct: number;
|
|
30
|
+
/**
|
|
31
|
+
* Predictions that were incorrect
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PropMarketStatsDto
|
|
34
|
+
*/
|
|
35
|
+
incorrect: number;
|
|
36
|
+
/**
|
|
37
|
+
* Predictions that pushed
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PropMarketStatsDto
|
|
40
|
+
*/
|
|
41
|
+
pushes: number;
|
|
42
|
+
/**
|
|
43
|
+
* Predictions that were voided
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PropMarketStatsDto
|
|
46
|
+
*/
|
|
47
|
+
voids: number;
|
|
48
|
+
/**
|
|
49
|
+
* Predictions still awaiting a result
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PropMarketStatsDto
|
|
52
|
+
*/
|
|
53
|
+
pending: number;
|
|
54
|
+
/**
|
|
55
|
+
* correct / (correct + incorrect) as a percent with 2 decimals; null when there is no correct or incorrect prediction. Pushes, voids and pending are excluded.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PropMarketStatsDto
|
|
58
|
+
*/
|
|
59
|
+
hit_rate: number | null;
|
|
60
|
+
/**
|
|
61
|
+
* Prop market key, e.g. player_points
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PropMarketStatsDto
|
|
64
|
+
*/
|
|
65
|
+
market_key: string;
|
|
66
|
+
/**
|
|
67
|
+
* Average line the user was offered across this market (2 decimals); null when no prediction recorded a line
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof PropMarketStatsDto
|
|
70
|
+
*/
|
|
71
|
+
avg_offered_line: number | null;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the PropMarketStatsDto interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfPropMarketStatsDto(value: object): value is PropMarketStatsDto;
|
|
77
|
+
export declare function PropMarketStatsDtoFromJSON(json: any): PropMarketStatsDto;
|
|
78
|
+
export declare function PropMarketStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropMarketStatsDto;
|
|
79
|
+
export declare function PropMarketStatsDtoToJSON(json: any): PropMarketStatsDto;
|
|
80
|
+
export declare function PropMarketStatsDtoToJSONTyped(value?: PropMarketStatsDto | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=PropMarketStatsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropMarketStatsDto.d.ts","sourceRoot":"","sources":["../../src/models/PropMarketStatsDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;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,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAWvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAgB3G;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,CAiB1H"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Khronos API Documentation
|
|
6
|
+
* Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPropMarketStatsDto = instanceOfPropMarketStatsDto;
|
|
17
|
+
exports.PropMarketStatsDtoFromJSON = PropMarketStatsDtoFromJSON;
|
|
18
|
+
exports.PropMarketStatsDtoFromJSONTyped = PropMarketStatsDtoFromJSONTyped;
|
|
19
|
+
exports.PropMarketStatsDtoToJSON = PropMarketStatsDtoToJSON;
|
|
20
|
+
exports.PropMarketStatsDtoToJSONTyped = PropMarketStatsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PropMarketStatsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPropMarketStatsDto(value) {
|
|
25
|
+
if (!('total_settled' in value) || value['total_settled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('correct' in value) || value['correct'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('incorrect' in value) || value['incorrect'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('pushes' in value) || value['pushes'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('voids' in value) || value['voids'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('pending' in value) || value['pending'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('hit_rate' in value) || value['hit_rate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('market_key' in value) || value['market_key'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('avg_offered_line' in value) || value['avg_offered_line'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function PropMarketStatsDtoFromJSON(json) {
|
|
46
|
+
return PropMarketStatsDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PropMarketStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'total_settled': json['total_settled'],
|
|
54
|
+
'correct': json['correct'],
|
|
55
|
+
'incorrect': json['incorrect'],
|
|
56
|
+
'pushes': json['pushes'],
|
|
57
|
+
'voids': json['voids'],
|
|
58
|
+
'pending': json['pending'],
|
|
59
|
+
'hit_rate': json['hit_rate'],
|
|
60
|
+
'market_key': json['market_key'],
|
|
61
|
+
'avg_offered_line': json['avg_offered_line'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function PropMarketStatsDtoToJSON(json) {
|
|
65
|
+
return PropMarketStatsDtoToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function PropMarketStatsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'total_settled': value['total_settled'],
|
|
73
|
+
'correct': value['correct'],
|
|
74
|
+
'incorrect': value['incorrect'],
|
|
75
|
+
'pushes': value['pushes'],
|
|
76
|
+
'voids': value['voids'],
|
|
77
|
+
'pending': value['pending'],
|
|
78
|
+
'hit_rate': value['hit_rate'],
|
|
79
|
+
'market_key': value['market_key'],
|
|
80
|
+
'avg_offered_line': value['avg_offered_line'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=PropMarketStatsDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropMarketStatsDto.js","sourceRoot":"","sources":["../../src/models/PropMarketStatsDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoEH,oEAWC;AAED,gEAEC;AAED,0EAgBC;AAED,4DAEC;AAED,sEAiBC;AA3DD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;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AAC;QAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC;KAC/C,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,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,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,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;KAChD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { PropMarketStatsDto } from './PropMarketStatsDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PropStatsDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PropStatsDto {
|
|
19
|
+
/**
|
|
20
|
+
* Predictions with a final result: correct + incorrect + pushes + voids
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PropStatsDto
|
|
23
|
+
*/
|
|
24
|
+
total_settled: number;
|
|
25
|
+
/**
|
|
26
|
+
* Predictions that were correct
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PropStatsDto
|
|
29
|
+
*/
|
|
30
|
+
correct: number;
|
|
31
|
+
/**
|
|
32
|
+
* Predictions that were incorrect
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PropStatsDto
|
|
35
|
+
*/
|
|
36
|
+
incorrect: number;
|
|
37
|
+
/**
|
|
38
|
+
* Predictions that pushed
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PropStatsDto
|
|
41
|
+
*/
|
|
42
|
+
pushes: number;
|
|
43
|
+
/**
|
|
44
|
+
* Predictions that were voided
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof PropStatsDto
|
|
47
|
+
*/
|
|
48
|
+
voids: number;
|
|
49
|
+
/**
|
|
50
|
+
* Predictions still awaiting a result
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PropStatsDto
|
|
53
|
+
*/
|
|
54
|
+
pending: number;
|
|
55
|
+
/**
|
|
56
|
+
* correct / (correct + incorrect) as a percent with 2 decimals; null when there is no correct or incorrect prediction. Pushes, voids and pending are excluded.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof PropStatsDto
|
|
59
|
+
*/
|
|
60
|
+
hit_rate: number | null;
|
|
61
|
+
/**
|
|
62
|
+
* The user the stats belong to
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof PropStatsDto
|
|
65
|
+
*/
|
|
66
|
+
user_id: string;
|
|
67
|
+
/**
|
|
68
|
+
* Sport filter that was applied; null when none
|
|
69
|
+
* @type {PropStatsDtoSportEnum}
|
|
70
|
+
* @memberof PropStatsDto
|
|
71
|
+
*/
|
|
72
|
+
sport: PropStatsDtoSportEnum | null;
|
|
73
|
+
/**
|
|
74
|
+
* Per-market stats, most settled first then by market key
|
|
75
|
+
* @type {Array<PropMarketStatsDto>}
|
|
76
|
+
* @memberof PropStatsDto
|
|
77
|
+
*/
|
|
78
|
+
markets: Array<PropMarketStatsDto>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const PropStatsDtoSportEnum: {
|
|
84
|
+
readonly Nfl: "nfl";
|
|
85
|
+
readonly Nba: "nba";
|
|
86
|
+
};
|
|
87
|
+
export type PropStatsDtoSportEnum = typeof PropStatsDtoSportEnum[keyof typeof PropStatsDtoSportEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the PropStatsDto interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfPropStatsDto(value: object): value is PropStatsDto;
|
|
92
|
+
export declare function PropStatsDtoFromJSON(json: any): PropStatsDto;
|
|
93
|
+
export declare function PropStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropStatsDto;
|
|
94
|
+
export declare function PropStatsDtoToJSON(json: any): PropStatsDto;
|
|
95
|
+
export declare function PropStatsDtoToJSONTyped(value?: PropStatsDto | null, ignoreDiscriminator?: boolean): any;
|
|
96
|
+
//# sourceMappingURL=PropStatsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropStatsDto.d.ts","sourceRoot":"","sources":["../../src/models/PropStatsDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG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