@pluto-khronos/api-client 3.18.1 → 3.19.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/AdminPropsApi.d.ts +4 -4
- package/dist/apis/AdminPropsApi.js +2 -2
- package/dist/apis/LeaderboardApi.d.ts +24 -0
- package/dist/apis/LeaderboardApi.d.ts.map +1 -1
- package/dist/apis/LeaderboardApi.js +23 -1
- package/dist/apis/LeaderboardApi.js.map +1 -1
- package/dist/apis/MatchesApi.d.ts +0 -59
- package/dist/apis/MatchesApi.d.ts.map +1 -1
- package/dist/apis/MatchesApi.js +0 -56
- package/dist/apis/MatchesApi.js.map +1 -1
- package/dist/apis/PropsApi.d.ts +158 -4
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +145 -2
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/apis/RecapApi.d.ts +194 -0
- package/dist/apis/RecapApi.d.ts.map +1 -1
- package/dist/apis/RecapApi.js +181 -0
- package/dist/apis/RecapApi.js.map +1 -1
- package/dist/models/GetMatchesPendingClosure404Response.d.ts +45 -0
- package/dist/models/GetMatchesPendingClosure404Response.d.ts.map +1 -0
- package/dist/models/GetMatchesPendingClosure404Response.js +59 -0
- package/dist/models/GetMatchesPendingClosure404Response.js.map +1 -0
- package/dist/models/GuildPropSettingsDto.d.ts +77 -0
- package/dist/models/GuildPropSettingsDto.d.ts.map +1 -0
- package/dist/models/GuildPropSettingsDto.js +83 -0
- package/dist/models/GuildPropSettingsDto.js.map +1 -0
- package/dist/models/GuildRecapSettingsDto.d.ts +75 -0
- package/dist/models/GuildRecapSettingsDto.d.ts.map +1 -0
- package/dist/models/GuildRecapSettingsDto.js +79 -0
- package/dist/models/GuildRecapSettingsDto.js.map +1 -0
- package/dist/models/PostRecapNowDto.d.ts +67 -0
- package/dist/models/PostRecapNowDto.d.ts.map +1 -0
- package/dist/models/PostRecapNowDto.js +74 -0
- package/dist/models/PostRecapNowDto.js.map +1 -0
- package/dist/models/PostRecapNowResponseDto.d.ts +45 -0
- package/dist/models/PostRecapNowResponseDto.d.ts.map +1 -0
- package/dist/models/PostRecapNowResponseDto.js +59 -0
- package/dist/models/PostRecapNowResponseDto.js.map +1 -0
- package/dist/models/PropsHealthDayDto.d.ts +14 -2
- package/dist/models/PropsHealthDayDto.d.ts.map +1 -1
- package/dist/models/PropsHealthDayDto.js +11 -3
- package/dist/models/PropsHealthDayDto.js.map +1 -1
- package/dist/models/PropsHealthSportDto.d.ts +14 -2
- package/dist/models/PropsHealthSportDto.d.ts.map +1 -1
- package/dist/models/PropsHealthSportDto.js +11 -3
- package/dist/models/PropsHealthSportDto.js.map +1 -1
- package/dist/models/PropsHealthTotalsDto.d.ts +14 -2
- package/dist/models/PropsHealthTotalsDto.d.ts.map +1 -1
- package/dist/models/PropsHealthTotalsDto.js +11 -3
- package/dist/models/PropsHealthTotalsDto.js.map +1 -1
- package/dist/models/RegradePropResponseDto.d.ts +12 -0
- package/dist/models/RegradePropResponseDto.d.ts.map +1 -1
- package/dist/models/RegradePropResponseDto.js +6 -0
- package/dist/models/RegradePropResponseDto.js.map +1 -1
- package/dist/models/UpdateGuildPropSettingsDto.d.ts +53 -0
- package/dist/models/UpdateGuildPropSettingsDto.d.ts.map +1 -0
- package/dist/models/UpdateGuildPropSettingsDto.js +61 -0
- package/dist/models/UpdateGuildPropSettingsDto.js.map +1 -0
- package/dist/models/UpdateGuildRecapSettingsDto.d.ts +57 -0
- package/dist/models/UpdateGuildRecapSettingsDto.d.ts.map +1 -0
- package/dist/models/UpdateGuildRecapSettingsDto.js +57 -0
- package/dist/models/UpdateGuildRecapSettingsDto.js.map +1 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +7 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/SendDailyMatches404Response.d.ts +0 -45
- package/dist/models/SendDailyMatches404Response.d.ts.map +0 -1
- package/dist/models/SendDailyMatches404Response.js +0 -59
- package/dist/models/SendDailyMatches404Response.js.map +0 -1
|
@@ -59,7 +59,7 @@ export interface AdminPropsApiInterface {
|
|
|
59
59
|
adminPropsActionsControllerRegradeV1RequestOpts(requestParameters: AdminPropsActionsControllerRegradeV1Request): Promise<runtime.RequestOpts>;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @summary
|
|
62
|
+
* @summary Re-grade a settled player prop from fresh ESPN stats via Goracle
|
|
63
63
|
* @param {string} uuid
|
|
64
64
|
* @param {RegradePropDto} regradePropDto
|
|
65
65
|
* @param {string} [idempotencyKey] Optional key for replaying the same mutation response
|
|
@@ -69,7 +69,7 @@ export interface AdminPropsApiInterface {
|
|
|
69
69
|
*/
|
|
70
70
|
adminPropsActionsControllerRegradeV1Raw(requestParameters: AdminPropsActionsControllerRegradeV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegradePropResponseDto>>;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Re-grade a settled player prop from fresh ESPN stats via Goracle
|
|
73
73
|
*/
|
|
74
74
|
adminPropsActionsControllerRegradeV1(requestParameters: AdminPropsActionsControllerRegradeV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegradePropResponseDto>;
|
|
75
75
|
/**
|
|
@@ -179,11 +179,11 @@ export declare class AdminPropsApi extends runtime.BaseAPI implements AdminProps
|
|
|
179
179
|
*/
|
|
180
180
|
adminPropsActionsControllerRegradeV1RequestOpts(requestParameters: AdminPropsActionsControllerRegradeV1Request): Promise<runtime.RequestOpts>;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* Re-grade a settled player prop from fresh ESPN stats via Goracle
|
|
183
183
|
*/
|
|
184
184
|
adminPropsActionsControllerRegradeV1Raw(requestParameters: AdminPropsActionsControllerRegradeV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegradePropResponseDto>>;
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* Re-grade a settled player prop from fresh ESPN stats via Goracle
|
|
187
187
|
*/
|
|
188
188
|
adminPropsActionsControllerRegradeV1(requestParameters: AdminPropsActionsControllerRegradeV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegradePropResponseDto>;
|
|
189
189
|
/**
|
|
@@ -85,7 +85,7 @@ class AdminPropsApi extends runtime.BaseAPI {
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Re-grade a settled player prop from fresh ESPN stats via Goracle
|
|
89
89
|
*/
|
|
90
90
|
async adminPropsActionsControllerRegradeV1Raw(requestParameters, initOverrides) {
|
|
91
91
|
const requestOptions = await this.adminPropsActionsControllerRegradeV1RequestOpts(requestParameters);
|
|
@@ -93,7 +93,7 @@ class AdminPropsApi extends runtime.BaseAPI {
|
|
|
93
93
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RegradePropResponseDto_1.RegradePropResponseDtoFromJSON)(jsonValue));
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Re-grade a settled player prop from fresh ESPN stats via Goracle
|
|
97
97
|
*/
|
|
98
98
|
async adminPropsActionsControllerRegradeV1(requestParameters, initOverrides) {
|
|
99
99
|
const response = await this.adminPropsActionsControllerRegradeV1Raw(requestParameters, initOverrides);
|
|
@@ -15,6 +15,8 @@ import { type SimpleLeaderboardResponseDto } from '../models/SimpleLeaderboardRe
|
|
|
15
15
|
export interface LeaderboardControllerGetLeaderboardV1Request {
|
|
16
16
|
guildId: string;
|
|
17
17
|
marketClass?: LeaderboardControllerGetLeaderboardV1MarketClassEnum;
|
|
18
|
+
period?: LeaderboardControllerGetLeaderboardV1PeriodEnum;
|
|
19
|
+
type?: LeaderboardControllerGetLeaderboardV1TypeEnum;
|
|
18
20
|
}
|
|
19
21
|
export interface LeaderboardControllerInitializeWeeksV1Request {
|
|
20
22
|
sport: LeaderboardControllerInitializeWeeksV1SportEnum;
|
|
@@ -30,6 +32,8 @@ export interface LeaderboardApiInterface {
|
|
|
30
32
|
* Creates request options for leaderboardControllerGetLeaderboardV1 without sending the request
|
|
31
33
|
* @param {string} guildId Discord Guild ID
|
|
32
34
|
* @param {'game' | 'player'} [marketClass] Count only game (non player_*) or only player (player_*) predictions. Omit for every market.
|
|
35
|
+
* @param {'week' | 'month' | 'all'} [period] Calendar window in America/New_York. `week` is the current Monday-Sunday week, `month` the current calendar month, `all` every settled prediction.
|
|
36
|
+
* @param {'props' | 'games' | 'all'} [type] `props` ranks player prop markets only, `games` ranks the remaining game markets, `all` mixes both. Alias for market_class.
|
|
33
37
|
* @throws {RequiredError}
|
|
34
38
|
* @memberof LeaderboardApiInterface
|
|
35
39
|
*/
|
|
@@ -39,6 +43,8 @@ export interface LeaderboardApiInterface {
|
|
|
39
43
|
* @summary Get leaderboard - All time user stats
|
|
40
44
|
* @param {string} guildId Discord Guild ID
|
|
41
45
|
* @param {'game' | 'player'} [marketClass] Count only game (non player_*) or only player (player_*) predictions. Omit for every market.
|
|
46
|
+
* @param {'week' | 'month' | 'all'} [period] Calendar window in America/New_York. `week` is the current Monday-Sunday week, `month` the current calendar month, `all` every settled prediction.
|
|
47
|
+
* @param {'props' | 'games' | 'all'} [type] `props` ranks player prop markets only, `games` ranks the remaining game markets, `all` mixes both. Alias for market_class.
|
|
42
48
|
* @param {*} [options] Override http request option.
|
|
43
49
|
* @throws {RequiredError}
|
|
44
50
|
* @memberof LeaderboardApiInterface
|
|
@@ -106,6 +112,24 @@ export declare const LeaderboardControllerGetLeaderboardV1MarketClassEnum: {
|
|
|
106
112
|
readonly Player: "player";
|
|
107
113
|
};
|
|
108
114
|
export type LeaderboardControllerGetLeaderboardV1MarketClassEnum = typeof LeaderboardControllerGetLeaderboardV1MarketClassEnum[keyof typeof LeaderboardControllerGetLeaderboardV1MarketClassEnum];
|
|
115
|
+
/**
|
|
116
|
+
* @export
|
|
117
|
+
*/
|
|
118
|
+
export declare const LeaderboardControllerGetLeaderboardV1PeriodEnum: {
|
|
119
|
+
readonly Week: "week";
|
|
120
|
+
readonly Month: "month";
|
|
121
|
+
readonly All: "all";
|
|
122
|
+
};
|
|
123
|
+
export type LeaderboardControllerGetLeaderboardV1PeriodEnum = typeof LeaderboardControllerGetLeaderboardV1PeriodEnum[keyof typeof LeaderboardControllerGetLeaderboardV1PeriodEnum];
|
|
124
|
+
/**
|
|
125
|
+
* @export
|
|
126
|
+
*/
|
|
127
|
+
export declare const LeaderboardControllerGetLeaderboardV1TypeEnum: {
|
|
128
|
+
readonly Props: "props";
|
|
129
|
+
readonly Games: "games";
|
|
130
|
+
readonly All: "all";
|
|
131
|
+
};
|
|
132
|
+
export type LeaderboardControllerGetLeaderboardV1TypeEnum = typeof LeaderboardControllerGetLeaderboardV1TypeEnum[keyof typeof LeaderboardControllerGetLeaderboardV1TypeEnum];
|
|
109
133
|
/**
|
|
110
134
|
* @export
|
|
111
135
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LeaderboardApi.d.ts","sourceRoot":"","sources":["../../src/apis/LeaderboardApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,EACH,KAAK,iDAAiD,EAGzD,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACH,KAAK,4BAA4B,EAGpC,MAAM,wCAAwC,CAAC;AAEhD,MAAM,WAAW,4CAA4C;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"LeaderboardApi.d.ts","sourceRoot":"","sources":["../../src/apis/LeaderboardApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,EACH,KAAK,iDAAiD,EAGzD,MAAM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AC;AACnL;;GAEG;AACH,eAAO,MAAM,6CAA6C;;;;CAIhD,CAAC;AACX,MAAM,MAAM,6CAA6C,GAAG,OAAO,6CAA6C,CAAC,MAAM,OAAO,6CAA6C,CAAC,CAAC;AAC7K;;GAEG;AACH,eAAO,MAAM,+CAA+C;;;CAGlD,CAAC;AACX,MAAM,MAAM,+CAA+C,GAAG,OAAO,+CAA+C,CAAC,MAAM,OAAO,+CAA+C,CAAC,CAAC"}
|
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.LeaderboardControllerInitializeWeeksV1SportEnum = exports.LeaderboardControllerGetLeaderboardV1MarketClassEnum = exports.LeaderboardApi = void 0;
|
|
49
|
+
exports.LeaderboardControllerInitializeWeeksV1SportEnum = exports.LeaderboardControllerGetLeaderboardV1TypeEnum = exports.LeaderboardControllerGetLeaderboardV1PeriodEnum = exports.LeaderboardControllerGetLeaderboardV1MarketClassEnum = exports.LeaderboardApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const LeaderboardControllerInitializeWeeksV1200Response_1 = require("../models/LeaderboardControllerInitializeWeeksV1200Response");
|
|
52
52
|
const SimpleLeaderboardResponseDto_1 = require("../models/SimpleLeaderboardResponseDto");
|
|
@@ -68,6 +68,12 @@ class LeaderboardApi extends runtime.BaseAPI {
|
|
|
68
68
|
if (requestParameters['marketClass'] != null) {
|
|
69
69
|
queryParameters['market_class'] = requestParameters['marketClass'];
|
|
70
70
|
}
|
|
71
|
+
if (requestParameters['period'] != null) {
|
|
72
|
+
queryParameters['period'] = requestParameters['period'];
|
|
73
|
+
}
|
|
74
|
+
if (requestParameters['type'] != null) {
|
|
75
|
+
queryParameters['type'] = requestParameters['type'];
|
|
76
|
+
}
|
|
71
77
|
const headerParameters = {};
|
|
72
78
|
let urlPath = `/api/khronos/v1/leaderboard`;
|
|
73
79
|
return {
|
|
@@ -134,6 +140,22 @@ exports.LeaderboardControllerGetLeaderboardV1MarketClassEnum = {
|
|
|
134
140
|
Game: 'game',
|
|
135
141
|
Player: 'player'
|
|
136
142
|
};
|
|
143
|
+
/**
|
|
144
|
+
* @export
|
|
145
|
+
*/
|
|
146
|
+
exports.LeaderboardControllerGetLeaderboardV1PeriodEnum = {
|
|
147
|
+
Week: 'week',
|
|
148
|
+
Month: 'month',
|
|
149
|
+
All: 'all'
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* @export
|
|
153
|
+
*/
|
|
154
|
+
exports.LeaderboardControllerGetLeaderboardV1TypeEnum = {
|
|
155
|
+
Props: 'props',
|
|
156
|
+
Games: 'games',
|
|
157
|
+
All: 'all'
|
|
158
|
+
};
|
|
137
159
|
/**
|
|
138
160
|
* @export
|
|
139
161
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LeaderboardApi.js","sourceRoot":"","sources":["../../src/apis/LeaderboardApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AACtC,mIAIqE;AACrE,yFAIgD;
|
|
1
|
+
{"version":3,"file":"LeaderboardApi.js","sourceRoot":"","sources":["../../src/apis/LeaderboardApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AACtC,mIAIqE;AACrE,yFAIgD;AA0EhD;;GAEG;AACH,MAAa,cAAe,SAAQ,OAAO,CAAC,OAAO;IAE/C;;OAEG;IACH,KAAK,CAAC,gDAAgD,CAAC,iBAA+D;QAClH,IAAI,iBAAiB,CAAC,SAAS,CAAC,IAAI,IAAI,EAAE,CAAC;YACvC,MAAM,IAAI,OAAO,CAAC,aA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gE,EAAE,aAA0D;QACrK,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,yCAAyC,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACxG,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA3GD,wCA2GC;AAED;;GAEG;AACU,QAAA,oDAAoD,GAAG;IAChE,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACV,CAAC;AAEX;;GAEG;AACU,QAAA,+CAA+C,GAAG;IAC3D,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;CACJ,CAAC;AAEX;;GAEG;AACU,QAAA,6CAA6C,GAAG;IACzD,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;CACJ,CAAC;AAEX;;GAEG;AACU,QAAA,+CAA+C,GAAG;IAC3D,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC"}
|
|
@@ -88,22 +88,6 @@ export interface MatchesApiInterface {
|
|
|
88
88
|
* Get match information via ID
|
|
89
89
|
*/
|
|
90
90
|
matchInfo(requestParameters: MatchInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMatchInfoDto>;
|
|
91
|
-
/**
|
|
92
|
-
* Creates request options for matchesControllerGetAggregatedMatchesV1 without sending the request
|
|
93
|
-
* @throws {RequiredError}
|
|
94
|
-
* @memberof MatchesApiInterface
|
|
95
|
-
*/
|
|
96
|
-
matchesControllerGetAggregatedMatchesV1RequestOpts(): Promise<runtime.RequestOpts>;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
* @memberof MatchesApiInterface
|
|
102
|
-
*/
|
|
103
|
-
matchesControllerGetAggregatedMatchesV1Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
104
|
-
/**
|
|
105
|
-
*/
|
|
106
|
-
matchesControllerGetAggregatedMatchesV1(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
107
91
|
/**
|
|
108
92
|
* Creates request options for matchesForSport without sending the request
|
|
109
93
|
* @param {string} sport Sport to fetch stored matches for (e.g., nba, nfl, nba preseason)
|
|
@@ -126,25 +110,6 @@ export interface MatchesApiInterface {
|
|
|
126
110
|
* Get all stored matches for a specific sport
|
|
127
111
|
*/
|
|
128
112
|
matchesForSport(requestParameters: MatchesForSportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MatchesForSportRespDTO>;
|
|
129
|
-
/**
|
|
130
|
-
* Creates request options for sendDailyMatches without sending the request
|
|
131
|
-
* @throws {RequiredError}
|
|
132
|
-
* @memberof MatchesApiInterface
|
|
133
|
-
*/
|
|
134
|
-
sendDailyMatchesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
135
|
-
/**
|
|
136
|
-
* This method is executed on a daily schedule via Cron, everyday at 6 AM
|
|
137
|
-
* @summary Compile matches for the current day and send to the client (Pluto) to be distributed to all subscribers for this data.
|
|
138
|
-
* @param {*} [options] Override http request option.
|
|
139
|
-
* @throws {RequiredError}
|
|
140
|
-
* @memberof MatchesApiInterface
|
|
141
|
-
*/
|
|
142
|
-
sendDailyMatchesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
143
|
-
/**
|
|
144
|
-
* This method is executed on a daily schedule via Cron, everyday at 6 AM
|
|
145
|
-
* Compile matches for the current day and send to the client (Pluto) to be distributed to all subscribers for this data.
|
|
146
|
-
*/
|
|
147
|
-
sendDailyMatches(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
148
113
|
}
|
|
149
114
|
/**
|
|
150
115
|
*
|
|
@@ -190,16 +155,6 @@ export declare class MatchesApi extends runtime.BaseAPI implements MatchesApiInt
|
|
|
190
155
|
* Get match information via ID
|
|
191
156
|
*/
|
|
192
157
|
matchInfo(requestParameters: MatchInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMatchInfoDto>;
|
|
193
|
-
/**
|
|
194
|
-
* Creates request options for matchesControllerGetAggregatedMatchesV1 without sending the request
|
|
195
|
-
*/
|
|
196
|
-
matchesControllerGetAggregatedMatchesV1RequestOpts(): Promise<runtime.RequestOpts>;
|
|
197
|
-
/**
|
|
198
|
-
*/
|
|
199
|
-
matchesControllerGetAggregatedMatchesV1Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
200
|
-
/**
|
|
201
|
-
*/
|
|
202
|
-
matchesControllerGetAggregatedMatchesV1(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
203
158
|
/**
|
|
204
159
|
* Creates request options for matchesForSport without sending the request
|
|
205
160
|
*/
|
|
@@ -212,19 +167,5 @@ export declare class MatchesApi extends runtime.BaseAPI implements MatchesApiInt
|
|
|
212
167
|
* Get all stored matches for a specific sport
|
|
213
168
|
*/
|
|
214
169
|
matchesForSport(requestParameters: MatchesForSportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MatchesForSportRespDTO>;
|
|
215
|
-
/**
|
|
216
|
-
* Creates request options for sendDailyMatches without sending the request
|
|
217
|
-
*/
|
|
218
|
-
sendDailyMatchesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
219
|
-
/**
|
|
220
|
-
* This method is executed on a daily schedule via Cron, everyday at 6 AM
|
|
221
|
-
* Compile matches for the current day and send to the client (Pluto) to be distributed to all subscribers for this data.
|
|
222
|
-
*/
|
|
223
|
-
sendDailyMatchesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
224
|
-
/**
|
|
225
|
-
* This method is executed on a daily schedule via Cron, everyday at 6 AM
|
|
226
|
-
* Compile matches for the current day and send to the client (Pluto) to be distributed to all subscribers for this data.
|
|
227
|
-
*/
|
|
228
|
-
sendDailyMatches(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
229
170
|
}
|
|
230
171
|
//# sourceMappingURL=MatchesApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MatchesApi.d.ts","sourceRoot":"","sources":["../../src/apis/MatchesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAMtC,OAAO,EACH,KAAK,gBAAgB,EAGxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,eAAe,EAGvB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"MatchesApi.d.ts","sourceRoot":"","sources":["../../src/apis/MatchesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAMtC,OAAO,EACH,KAAK,gBAAgB,EAGxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,eAAe,EAGvB,MAAM,2BAA2B,CAAC;AAgBnC,OAAO,EACH,KAAK,sBAAsB,EAG9B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAEzD;;;;;;OAMG;IACH,gBAAgB,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC;I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AW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;IAK1I;;OAEG;IACG,0BAA0B,CAAC,iBAAiB,EAAE,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IA+BzG;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAOrL;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAKhK"}
|
package/dist/apis/MatchesApi.js
CHANGED
|
@@ -153,32 +153,6 @@ class MatchesApi extends runtime.BaseAPI {
|
|
|
153
153
|
const response = await this.matchInfoRaw(requestParameters, initOverrides);
|
|
154
154
|
return await response.value();
|
|
155
155
|
}
|
|
156
|
-
/**
|
|
157
|
-
* Creates request options for matchesControllerGetAggregatedMatchesV1 without sending the request
|
|
158
|
-
*/
|
|
159
|
-
async matchesControllerGetAggregatedMatchesV1RequestOpts() {
|
|
160
|
-
const queryParameters = {};
|
|
161
|
-
const headerParameters = {};
|
|
162
|
-
let urlPath = `/api/khronos/v1/matches/aggregated`;
|
|
163
|
-
return {
|
|
164
|
-
path: urlPath,
|
|
165
|
-
method: 'GET',
|
|
166
|
-
headers: headerParameters,
|
|
167
|
-
query: queryParameters,
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
*/
|
|
172
|
-
async matchesControllerGetAggregatedMatchesV1Raw(initOverrides) {
|
|
173
|
-
const requestOptions = await this.matchesControllerGetAggregatedMatchesV1RequestOpts();
|
|
174
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
175
|
-
return new runtime.VoidApiResponse(response);
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
*/
|
|
179
|
-
async matchesControllerGetAggregatedMatchesV1(initOverrides) {
|
|
180
|
-
await this.matchesControllerGetAggregatedMatchesV1Raw(initOverrides);
|
|
181
|
-
}
|
|
182
156
|
/**
|
|
183
157
|
* Creates request options for matchesForSport without sending the request
|
|
184
158
|
*/
|
|
@@ -217,36 +191,6 @@ class MatchesApi extends runtime.BaseAPI {
|
|
|
217
191
|
const response = await this.matchesForSportRaw(requestParameters, initOverrides);
|
|
218
192
|
return await response.value();
|
|
219
193
|
}
|
|
220
|
-
/**
|
|
221
|
-
* Creates request options for sendDailyMatches without sending the request
|
|
222
|
-
*/
|
|
223
|
-
async sendDailyMatchesRequestOpts() {
|
|
224
|
-
const queryParameters = {};
|
|
225
|
-
const headerParameters = {};
|
|
226
|
-
let urlPath = `/api/khronos/v1/matches/daily`;
|
|
227
|
-
return {
|
|
228
|
-
path: urlPath,
|
|
229
|
-
method: 'GET',
|
|
230
|
-
headers: headerParameters,
|
|
231
|
-
query: queryParameters,
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* This method is executed on a daily schedule via Cron, everyday at 6 AM
|
|
236
|
-
* Compile matches for the current day and send to the client (Pluto) to be distributed to all subscribers for this data.
|
|
237
|
-
*/
|
|
238
|
-
async sendDailyMatchesRaw(initOverrides) {
|
|
239
|
-
const requestOptions = await this.sendDailyMatchesRequestOpts();
|
|
240
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
241
|
-
return new runtime.VoidApiResponse(response);
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* This method is executed on a daily schedule via Cron, everyday at 6 AM
|
|
245
|
-
* Compile matches for the current day and send to the client (Pluto) to be distributed to all subscribers for this data.
|
|
246
|
-
*/
|
|
247
|
-
async sendDailyMatches(initOverrides) {
|
|
248
|
-
await this.sendDailyMatchesRaw(initOverrides);
|
|
249
|
-
}
|
|
250
194
|
}
|
|
251
195
|
exports.MatchesApi = MatchesApi;
|
|
252
196
|
//# sourceMappingURL=MatchesApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MatchesApi.js","sourceRoot":"","sources":["../../src/apis/MatchesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAMtC,iEAIoC;AACpC,+DAImC;
|
|
1
|
+
{"version":3,"file":"MatchesApi.js","sourceRoot":"","sources":["../../src/apis/MatchesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAMtC,iEAIoC;AACpC,+DAImC;AAgBnC,6EAI0C;AAmH1C;;GAEG;AACH,MAAa,UAAW,SAAQ,OAAO,CAAC,OAAO;IAE3C;;OAEG;IACH,KAAK,CAAC,wBAAwB;QAC1B,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAGjD,IAAI,OAAO,GAAG,6BAA6B,CAAC;QAE5C,OAAO;YACH,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,CAAC;IACN,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CAAC,aAA0D;QAC7E,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC7D,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,2CAAwB,EAAC,SAAS,CAAC,CAAC,CAAC;IACrG,CAAC;IAED;;O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i.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
+
import { type GuildPropSettingsDto } from '../models/GuildPropSettingsDto';
|
|
13
14
|
import { type NeedsSettlementResponseDto } from '../models/NeedsSettlementResponseDto';
|
|
14
15
|
import { type PostPropsDto } from '../models/PostPropsDto';
|
|
15
16
|
import { type PostPropsResponseDto } from '../models/PostPropsResponseDto';
|
|
@@ -17,12 +18,22 @@ import { type ProcessedPropDto } from '../models/ProcessedPropDto';
|
|
|
17
18
|
import { type PropDto } from '../models/PropDto';
|
|
18
19
|
import { type SetPropResultDto } from '../models/SetPropResultDto';
|
|
19
20
|
import { type SetPropResultResponseDto } from '../models/SetPropResultResponseDto';
|
|
21
|
+
import { type UpdateGuildPropSettingsDto } from '../models/UpdateGuildPropSettingsDto';
|
|
20
22
|
import { type VoidPropDto } from '../models/VoidPropDto';
|
|
21
23
|
import { type VoidPropResponseDto } from '../models/VoidPropResponseDto';
|
|
24
|
+
export interface DeletePropSettingsRequest {
|
|
25
|
+
guildId: string;
|
|
26
|
+
}
|
|
22
27
|
export interface GetPropRequest {
|
|
23
28
|
marketId?: number;
|
|
24
29
|
outcomeUuid?: string;
|
|
25
30
|
}
|
|
31
|
+
export interface GetPropSettingsRequest {
|
|
32
|
+
guildId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ListPropSettingsRequest {
|
|
35
|
+
guildId?: string;
|
|
36
|
+
}
|
|
26
37
|
export interface PropsControllerGetAvailablePropsV1Request {
|
|
27
38
|
sport: string;
|
|
28
39
|
}
|
|
@@ -58,6 +69,10 @@ export interface PropsControllerVoidPropV1Request {
|
|
|
58
69
|
voidPropDto: VoidPropDto;
|
|
59
70
|
idempotencyKey?: string;
|
|
60
71
|
}
|
|
72
|
+
export interface UpdatePropSettingsRequest {
|
|
73
|
+
guildId: string;
|
|
74
|
+
updateGuildPropSettingsDto: UpdateGuildPropSettingsDto;
|
|
75
|
+
}
|
|
61
76
|
/**
|
|
62
77
|
* PropsApi - interface
|
|
63
78
|
*
|
|
@@ -65,6 +80,27 @@ export interface PropsControllerVoidPropV1Request {
|
|
|
65
80
|
* @interface PropsApiInterface
|
|
66
81
|
*/
|
|
67
82
|
export interface PropsApiInterface {
|
|
83
|
+
/**
|
|
84
|
+
* Creates request options for deletePropSettings without sending the request
|
|
85
|
+
* @param {string} guildId
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
* @memberof PropsApiInterface
|
|
88
|
+
*/
|
|
89
|
+
deletePropSettingsRequestOpts(requestParameters: DeletePropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
90
|
+
/**
|
|
91
|
+
* Removing the row restores the environment schedule.
|
|
92
|
+
* @summary Remove a guild props autopost settings row
|
|
93
|
+
* @param {string} guildId
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
* @memberof PropsApiInterface
|
|
97
|
+
*/
|
|
98
|
+
deletePropSettingsRaw(requestParameters: DeletePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
99
|
+
/**
|
|
100
|
+
* Removing the row restores the environment schedule.
|
|
101
|
+
* Remove a guild props autopost settings row
|
|
102
|
+
*/
|
|
103
|
+
deletePropSettings(requestParameters: DeletePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
68
104
|
/**
|
|
69
105
|
* Creates request options for getProp without sending the request
|
|
70
106
|
* @param {number} [marketId] Market ID from Goracle - used to retrieve a prop by its market identifier. All outcomes in a market share the same market_id. If provided, the system queries predictions to find an associated outcome_uuid, then fetches the full market details.
|
|
@@ -88,6 +124,47 @@ export interface PropsApiInterface {
|
|
|
88
124
|
* Get a prop by market ID or outcome UUID
|
|
89
125
|
*/
|
|
90
126
|
getProp(requestParameters: GetPropRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PropDto>;
|
|
127
|
+
/**
|
|
128
|
+
* Creates request options for getPropSettings without sending the request
|
|
129
|
+
* @param {string} guildId
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
* @memberof PropsApiInterface
|
|
132
|
+
*/
|
|
133
|
+
getPropSettingsRequestOpts(requestParameters: GetPropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @summary Get one guild props autopost settings row
|
|
137
|
+
* @param {string} guildId
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
* @memberof PropsApiInterface
|
|
141
|
+
*/
|
|
142
|
+
getPropSettingsRaw(requestParameters: GetPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuildPropSettingsDto>>;
|
|
143
|
+
/**
|
|
144
|
+
* Get one guild props autopost settings row
|
|
145
|
+
*/
|
|
146
|
+
getPropSettings(requestParameters: GetPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuildPropSettingsDto>;
|
|
147
|
+
/**
|
|
148
|
+
* Creates request options for listPropSettings without sending the request
|
|
149
|
+
* @param {string} [guildId] Restrict the list to one guild
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
* @memberof PropsApiInterface
|
|
152
|
+
*/
|
|
153
|
+
listPropSettingsRequestOpts(requestParameters: ListPropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
154
|
+
/**
|
|
155
|
+
* A guild without a row follows the PROPS_AUTOPOST_* cron with the default strategy.
|
|
156
|
+
* @summary List per-guild props autopost settings
|
|
157
|
+
* @param {string} [guildId] Restrict the list to one guild
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
* @memberof PropsApiInterface
|
|
161
|
+
*/
|
|
162
|
+
listPropSettingsRaw(requestParameters: ListPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GuildPropSettingsDto>>>;
|
|
163
|
+
/**
|
|
164
|
+
* A guild without a row follows the PROPS_AUTOPOST_* cron with the default strategy.
|
|
165
|
+
* List per-guild props autopost settings
|
|
166
|
+
*/
|
|
167
|
+
listPropSettings(requestParameters: ListPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GuildPropSettingsDto>>;
|
|
91
168
|
/**
|
|
92
169
|
* Creates request options for propsControllerGetAvailablePropsV1 without sending the request
|
|
93
170
|
* @param {string} sport
|
|
@@ -143,7 +220,7 @@ export interface PropsApiInterface {
|
|
|
143
220
|
*/
|
|
144
221
|
propsControllerGetProcessedPropsV1RequestOpts(requestParameters: PropsControllerGetProcessedPropsV1Request): Promise<runtime.RequestOpts>;
|
|
145
222
|
/**
|
|
146
|
-
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies
|
|
223
|
+
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies the configured American odds band (default -150 to +165, both edges inclusive). Limits to 1-2 props per event for variety. Each returned object contains both over and under outcomes in a denormalized structure. No pairing logic needed on client side - each prop is self-contained.
|
|
147
224
|
* @summary Get paired player props ready for predictions
|
|
148
225
|
* @param {'nba' | 'nfl'} sport Sport key (nba or nfl)
|
|
149
226
|
* @param {number} [count] Number of random props to return
|
|
@@ -153,7 +230,7 @@ export interface PropsApiInterface {
|
|
|
153
230
|
*/
|
|
154
231
|
propsControllerGetProcessedPropsV1Raw(requestParameters: PropsControllerGetProcessedPropsV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProcessedPropDto>>>;
|
|
155
232
|
/**
|
|
156
|
-
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies
|
|
233
|
+
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies the configured American odds band (default -150 to +165, both edges inclusive). Limits to 1-2 props per event for variety. Each returned object contains both over and under outcomes in a denormalized structure. No pairing logic needed on client side - each prop is self-contained.
|
|
157
234
|
* Get paired player props ready for predictions
|
|
158
235
|
*/
|
|
159
236
|
propsControllerGetProcessedPropsV1(requestParameters: PropsControllerGetProcessedPropsV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProcessedPropDto>>;
|
|
@@ -278,11 +355,48 @@ export interface PropsApiInterface {
|
|
|
278
355
|
* Void a prop and its predictions
|
|
279
356
|
*/
|
|
280
357
|
propsControllerVoidPropV1(requestParameters: PropsControllerVoidPropV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VoidPropResponseDto>;
|
|
358
|
+
/**
|
|
359
|
+
* Creates request options for updatePropSettings without sending the request
|
|
360
|
+
* @param {string} guildId
|
|
361
|
+
* @param {UpdateGuildPropSettingsDto} updateGuildPropSettingsDto
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof PropsApiInterface
|
|
364
|
+
*/
|
|
365
|
+
updatePropSettingsRequestOpts(requestParameters: UpdatePropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
366
|
+
/**
|
|
367
|
+
* Omitted fields keep their stored value. A new row starts enabled, on the default strategy and the environment cron.
|
|
368
|
+
* @summary Create or update a guild props autopost settings row
|
|
369
|
+
* @param {string} guildId
|
|
370
|
+
* @param {UpdateGuildPropSettingsDto} updateGuildPropSettingsDto
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof PropsApiInterface
|
|
374
|
+
*/
|
|
375
|
+
updatePropSettingsRaw(requestParameters: UpdatePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuildPropSettingsDto>>;
|
|
376
|
+
/**
|
|
377
|
+
* Omitted fields keep their stored value. A new row starts enabled, on the default strategy and the environment cron.
|
|
378
|
+
* Create or update a guild props autopost settings row
|
|
379
|
+
*/
|
|
380
|
+
updatePropSettings(requestParameters: UpdatePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuildPropSettingsDto>;
|
|
281
381
|
}
|
|
282
382
|
/**
|
|
283
383
|
*
|
|
284
384
|
*/
|
|
285
385
|
export declare class PropsApi extends runtime.BaseAPI implements PropsApiInterface {
|
|
386
|
+
/**
|
|
387
|
+
* Creates request options for deletePropSettings without sending the request
|
|
388
|
+
*/
|
|
389
|
+
deletePropSettingsRequestOpts(requestParameters: DeletePropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
390
|
+
/**
|
|
391
|
+
* Removing the row restores the environment schedule.
|
|
392
|
+
* Remove a guild props autopost settings row
|
|
393
|
+
*/
|
|
394
|
+
deletePropSettingsRaw(requestParameters: DeletePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
395
|
+
/**
|
|
396
|
+
* Removing the row restores the environment schedule.
|
|
397
|
+
* Remove a guild props autopost settings row
|
|
398
|
+
*/
|
|
399
|
+
deletePropSettings(requestParameters: DeletePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
286
400
|
/**
|
|
287
401
|
* Creates request options for getProp without sending the request
|
|
288
402
|
*/
|
|
@@ -297,6 +411,32 @@ export declare class PropsApi extends runtime.BaseAPI implements PropsApiInterfa
|
|
|
297
411
|
* Get a prop by market ID or outcome UUID
|
|
298
412
|
*/
|
|
299
413
|
getProp(requestParameters?: GetPropRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PropDto>;
|
|
414
|
+
/**
|
|
415
|
+
* Creates request options for getPropSettings without sending the request
|
|
416
|
+
*/
|
|
417
|
+
getPropSettingsRequestOpts(requestParameters: GetPropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
418
|
+
/**
|
|
419
|
+
* Get one guild props autopost settings row
|
|
420
|
+
*/
|
|
421
|
+
getPropSettingsRaw(requestParameters: GetPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuildPropSettingsDto>>;
|
|
422
|
+
/**
|
|
423
|
+
* Get one guild props autopost settings row
|
|
424
|
+
*/
|
|
425
|
+
getPropSettings(requestParameters: GetPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuildPropSettingsDto>;
|
|
426
|
+
/**
|
|
427
|
+
* Creates request options for listPropSettings without sending the request
|
|
428
|
+
*/
|
|
429
|
+
listPropSettingsRequestOpts(requestParameters: ListPropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
430
|
+
/**
|
|
431
|
+
* A guild without a row follows the PROPS_AUTOPOST_* cron with the default strategy.
|
|
432
|
+
* List per-guild props autopost settings
|
|
433
|
+
*/
|
|
434
|
+
listPropSettingsRaw(requestParameters: ListPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GuildPropSettingsDto>>>;
|
|
435
|
+
/**
|
|
436
|
+
* A guild without a row follows the PROPS_AUTOPOST_* cron with the default strategy.
|
|
437
|
+
* List per-guild props autopost settings
|
|
438
|
+
*/
|
|
439
|
+
listPropSettings(requestParameters?: ListPropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GuildPropSettingsDto>>;
|
|
300
440
|
/**
|
|
301
441
|
* Creates request options for propsControllerGetAvailablePropsV1 without sending the request
|
|
302
442
|
*/
|
|
@@ -330,12 +470,12 @@ export declare class PropsApi extends runtime.BaseAPI implements PropsApiInterfa
|
|
|
330
470
|
*/
|
|
331
471
|
propsControllerGetProcessedPropsV1RequestOpts(requestParameters: PropsControllerGetProcessedPropsV1Request): Promise<runtime.RequestOpts>;
|
|
332
472
|
/**
|
|
333
|
-
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies
|
|
473
|
+
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies the configured American odds band (default -150 to +165, both edges inclusive). Limits to 1-2 props per event for variety. Each returned object contains both over and under outcomes in a denormalized structure. No pairing logic needed on client side - each prop is self-contained.
|
|
334
474
|
* Get paired player props ready for predictions
|
|
335
475
|
*/
|
|
336
476
|
propsControllerGetProcessedPropsV1Raw(requestParameters: PropsControllerGetProcessedPropsV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProcessedPropDto>>>;
|
|
337
477
|
/**
|
|
338
|
-
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies
|
|
478
|
+
* Returns paired player props (over/under) ready for client consumption. Goracle returns all available outcomes; Khronos applies comprehensive filtering: Excludes h2h, spreads, totals, team_totals, and anytime touchdown markets. Groups outcomes into Over/Under pairs. Applies the configured American odds band (default -150 to +165, both edges inclusive). Limits to 1-2 props per event for variety. Each returned object contains both over and under outcomes in a denormalized structure. No pairing logic needed on client side - each prop is self-contained.
|
|
339
479
|
* Get paired player props ready for predictions
|
|
340
480
|
*/
|
|
341
481
|
propsControllerGetProcessedPropsV1(requestParameters: PropsControllerGetProcessedPropsV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProcessedPropDto>>;
|
|
@@ -409,6 +549,20 @@ export declare class PropsApi extends runtime.BaseAPI implements PropsApiInterfa
|
|
|
409
549
|
* Void a prop and its predictions
|
|
410
550
|
*/
|
|
411
551
|
propsControllerVoidPropV1(requestParameters: PropsControllerVoidPropV1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VoidPropResponseDto>;
|
|
552
|
+
/**
|
|
553
|
+
* Creates request options for updatePropSettings without sending the request
|
|
554
|
+
*/
|
|
555
|
+
updatePropSettingsRequestOpts(requestParameters: UpdatePropSettingsRequest): Promise<runtime.RequestOpts>;
|
|
556
|
+
/**
|
|
557
|
+
* Omitted fields keep their stored value. A new row starts enabled, on the default strategy and the environment cron.
|
|
558
|
+
* Create or update a guild props autopost settings row
|
|
559
|
+
*/
|
|
560
|
+
updatePropSettingsRaw(requestParameters: UpdatePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuildPropSettingsDto>>;
|
|
561
|
+
/**
|
|
562
|
+
* Omitted fields keep their stored value. A new row starts enabled, on the default strategy and the environment cron.
|
|
563
|
+
* Create or update a guild props autopost settings row
|
|
564
|
+
*/
|
|
565
|
+
updatePropSettings(requestParameters: UpdatePropSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuildPropSettingsDto>;
|
|
412
566
|
}
|
|
413
567
|
/**
|
|
414
568
|
* @export
|