@pluto-khronos/api-client 3.5.1 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/ParlaysApi.d.ts +230 -0
- package/dist/apis/ParlaysApi.d.ts.map +1 -0
- package/dist/apis/ParlaysApi.js +251 -0
- package/dist/apis/ParlaysApi.js.map +1 -0
- package/dist/apis/PredictionApi.d.ts +150 -29
- package/dist/apis/PredictionApi.d.ts.map +1 -1
- package/dist/apis/PredictionApi.js +135 -21
- package/dist/apis/PredictionApi.js.map +1 -1
- package/dist/apis/PropsApi.d.ts +136 -0
- package/dist/apis/PropsApi.d.ts.map +1 -1
- package/dist/apis/PropsApi.js +129 -1
- package/dist/apis/PropsApi.js.map +1 -1
- package/dist/apis/RecapApi.d.ts +62 -0
- package/dist/apis/RecapApi.d.ts.map +1 -0
- package/dist/apis/RecapApi.js +93 -0
- package/dist/apis/RecapApi.js.map +1 -0
- package/dist/apis/WebhooksApi.d.ts +4 -4
- package/dist/apis/WebhooksApi.js +2 -2
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +2 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/AllUserPredictionsDto.d.ts +12 -29
- package/dist/models/AllUserPredictionsDto.d.ts.map +1 -1
- package/dist/models/AllUserPredictionsDto.js +14 -29
- package/dist/models/AllUserPredictionsDto.js.map +1 -1
- package/dist/models/CancelParlayDto.d.ts +33 -0
- package/dist/models/CancelParlayDto.d.ts.map +1 -0
- package/dist/models/CancelParlayDto.js +49 -0
- package/dist/models/CancelParlayDto.js.map +1 -0
- package/dist/models/CreatePredictionDto.d.ts +2 -16
- package/dist/models/CreatePredictionDto.d.ts.map +1 -1
- package/dist/models/CreatePredictionDto.js +0 -13
- package/dist/models/CreatePredictionDto.js.map +1 -1
- package/dist/models/EventContextDto.d.ts +81 -0
- package/dist/models/EventContextDto.d.ts.map +1 -0
- package/dist/models/EventContextDto.js +79 -0
- package/dist/models/EventContextDto.js.map +1 -0
- package/dist/models/EventPredictionsDto.d.ts +31 -6
- package/dist/models/EventPredictionsDto.d.ts.map +1 -1
- package/dist/models/EventPredictionsDto.js +22 -5
- package/dist/models/EventPredictionsDto.js.map +1 -1
- package/dist/models/InitParlayDto.d.ts +52 -0
- package/dist/models/InitParlayDto.d.ts.map +1 -0
- package/dist/models/InitParlayDto.js +64 -0
- package/dist/models/InitParlayDto.js.map +1 -0
- package/dist/models/InitParlayLegDto.d.ts +39 -0
- package/dist/models/InitParlayLegDto.d.ts.map +1 -0
- package/dist/models/InitParlayLegDto.js +55 -0
- package/dist/models/InitParlayLegDto.js.map +1 -0
- package/dist/models/InitParlayResponseDto.d.ts +58 -0
- package/dist/models/InitParlayResponseDto.d.ts.map +1 -0
- package/dist/models/InitParlayResponseDto.js +68 -0
- package/dist/models/InitParlayResponseDto.js.map +1 -0
- package/dist/models/NeedsSettlementDto.d.ts +105 -0
- package/dist/models/NeedsSettlementDto.d.ts.map +1 -0
- package/dist/models/NeedsSettlementDto.js +89 -0
- package/dist/models/NeedsSettlementDto.js.map +1 -0
- package/dist/models/NeedsSettlementResponseDto.d.ts +47 -0
- package/dist/models/NeedsSettlementResponseDto.d.ts.map +1 -0
- package/dist/models/NeedsSettlementResponseDto.js +61 -0
- package/dist/models/NeedsSettlementResponseDto.js.map +1 -0
- package/dist/models/Outcome.d.ts +1 -1
- package/dist/models/OutcomeSettledWebhookDto.d.ts +22 -5
- package/dist/models/OutcomeSettledWebhookDto.d.ts.map +1 -1
- package/dist/models/OutcomeSettledWebhookDto.js +14 -2
- package/dist/models/OutcomeSettledWebhookDto.js.map +1 -1
- package/dist/models/ParlayLegPreviewDto.d.ts +78 -0
- package/dist/models/ParlayLegPreviewDto.d.ts.map +1 -0
- package/dist/models/ParlayLegPreviewDto.js +82 -0
- package/dist/models/ParlayLegPreviewDto.js.map +1 -0
- package/dist/models/ParlayLegResponseDto.d.ts +107 -0
- package/dist/models/ParlayLegResponseDto.d.ts.map +1 -0
- package/dist/models/ParlayLegResponseDto.js +102 -0
- package/dist/models/ParlayLegResponseDto.js.map +1 -0
- package/dist/models/ParlayResponseDto.d.ts +117 -0
- package/dist/models/ParlayResponseDto.d.ts.map +1 -0
- package/dist/models/ParlayResponseDto.js +105 -0
- package/dist/models/ParlayResponseDto.js.map +1 -0
- package/dist/models/PlaceParlayDto.d.ts +39 -0
- package/dist/models/PlaceParlayDto.d.ts.map +1 -0
- package/dist/models/PlaceParlayDto.js +55 -0
- package/dist/models/PlaceParlayDto.js.map +1 -0
- package/dist/models/PlacedBetslip.d.ts +6 -0
- package/dist/models/PlacedBetslip.d.ts.map +1 -1
- package/dist/models/PlacedBetslip.js +4 -0
- package/dist/models/PlacedBetslip.js.map +1 -1
- package/dist/models/PostPropsDto.d.ts +53 -0
- package/dist/models/PostPropsDto.d.ts.map +1 -0
- package/dist/models/PostPropsDto.js +67 -0
- package/dist/models/PostPropsDto.js.map +1 -0
- package/dist/models/PostPropsLedgerEntryDto.d.ts +51 -0
- package/dist/models/PostPropsLedgerEntryDto.d.ts.map +1 -0
- package/dist/models/PostPropsLedgerEntryDto.js +63 -0
- package/dist/models/PostPropsLedgerEntryDto.js.map +1 -0
- package/dist/models/PostPropsResponseDto.d.ts +52 -0
- package/dist/models/PostPropsResponseDto.d.ts.map +1 -0
- package/dist/models/PostPropsResponseDto.js +64 -0
- package/dist/models/PostPropsResponseDto.js.map +1 -0
- package/dist/models/PredictionDTO.d.ts +2 -0
- package/dist/models/PredictionDTO.d.ts.map +1 -1
- package/dist/models/PredictionDTO.js +3 -1
- package/dist/models/PredictionDTO.js.map +1 -1
- package/dist/models/PredictionResponseDto.d.ts +122 -0
- package/dist/models/PredictionResponseDto.d.ts.map +1 -0
- package/dist/models/{Prediction.js → PredictionResponseDto.js} +30 -45
- package/dist/models/PredictionResponseDto.js.map +1 -0
- package/dist/models/PredictionStatsDto.d.ts +84 -0
- package/dist/models/PredictionStatsDto.d.ts.map +1 -0
- package/dist/models/PredictionStatsDto.js +88 -0
- package/dist/models/PredictionStatsDto.js.map +1 -0
- package/dist/models/PropOutcomeDetailDto.d.ts +1 -1
- package/dist/models/PropOutcomeSideDto.d.ts +1 -1
- package/dist/models/RecapPredictorDto.d.ts +51 -0
- package/dist/models/RecapPredictorDto.d.ts.map +1 -0
- package/dist/models/RecapPredictorDto.js +63 -0
- package/dist/models/RecapPredictorDto.js.map +1 -0
- package/dist/models/RecapWeeklyResponseDto.d.ts +90 -0
- package/dist/models/RecapWeeklyResponseDto.d.ts.map +1 -0
- package/dist/models/RecapWeeklyResponseDto.js +90 -0
- package/dist/models/RecapWeeklyResponseDto.js.map +1 -0
- package/dist/models/RecapWinDto.d.ts +51 -0
- package/dist/models/RecapWinDto.d.ts.map +1 -0
- package/dist/models/RecapWinDto.js +59 -0
- package/dist/models/RecapWinDto.js.map +1 -0
- package/dist/models/RecapWindowDto.d.ts +51 -0
- package/dist/models/RecapWindowDto.d.ts.map +1 -0
- package/dist/models/RecapWindowDto.js +59 -0
- package/dist/models/RecapWindowDto.js.map +1 -0
- package/dist/models/SetPropResultDto.d.ts +14 -11
- package/dist/models/SetPropResultDto.d.ts.map +1 -1
- package/dist/models/SetPropResultDto.js +13 -14
- package/dist/models/SetPropResultDto.js.map +1 -1
- package/dist/models/SettlementQueueWarningDto.d.ts +53 -0
- package/dist/models/SettlementQueueWarningDto.d.ts.map +1 -0
- package/dist/models/SettlementQueueWarningDto.js +67 -0
- package/dist/models/SettlementQueueWarningDto.js.map +1 -0
- package/dist/models/SimpleLeaderboardEntryDto.d.ts +27 -0
- package/dist/models/SimpleLeaderboardEntryDto.d.ts.map +1 -1
- package/dist/models/SimpleLeaderboardEntryDto.js +21 -0
- package/dist/models/SimpleLeaderboardEntryDto.js.map +1 -1
- package/dist/models/UpdatePredictionDto.d.ts +2 -0
- package/dist/models/UpdatePredictionDto.d.ts.map +1 -1
- package/dist/models/UpdatePredictionDto.js +3 -1
- package/dist/models/UpdatePredictionDto.js.map +1 -1
- package/dist/models/UserParlaysResponseDto.d.ts +58 -0
- package/dist/models/UserParlaysResponseDto.d.ts.map +1 -0
- package/dist/models/UserParlaysResponseDto.js +68 -0
- package/dist/models/UserParlaysResponseDto.js.map +1 -0
- package/dist/models/VoidPropDto.d.ts +39 -0
- package/dist/models/VoidPropDto.d.ts.map +1 -0
- package/dist/models/VoidPropDto.js +53 -0
- package/dist/models/VoidPropDto.js.map +1 -0
- package/dist/models/VoidPropResponseDto.d.ts +39 -0
- package/dist/models/VoidPropResponseDto.d.ts.map +1 -0
- package/dist/models/VoidPropResponseDto.js +55 -0
- package/dist/models/VoidPropResponseDto.js.map +1 -0
- package/dist/models/WebhookAcceptedResponseDto.d.ts +1 -1
- package/dist/models/index.d.ts +24 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +24 -2
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/Prediction.d.ts +0 -139
- package/dist/models/Prediction.d.ts.map +0 -1
- package/dist/models/Prediction.js.map +0 -1
- package/dist/models/ProcessedPredictions.d.ts +0 -99
- package/dist/models/ProcessedPredictions.d.ts.map +0 -1
- package/dist/models/ProcessedPredictions.js +0 -100
- package/dist/models/ProcessedPredictions.js.map +0 -1
|
@@ -14,6 +14,8 @@ import { type AllUserPredictionsDto } from '../models/AllUserPredictionsDto';
|
|
|
14
14
|
import { type CreatePredictionDto } from '../models/CreatePredictionDto';
|
|
15
15
|
import { type DateGroupDto } from '../models/DateGroupDto';
|
|
16
16
|
import { type EventPredictionsDto } from '../models/EventPredictionsDto';
|
|
17
|
+
import { type PredictionResponseDto } from '../models/PredictionResponseDto';
|
|
18
|
+
import { type PredictionStatsDto } from '../models/PredictionStatsDto';
|
|
17
19
|
import { type PredictionsCountDto } from '../models/PredictionsCountDto';
|
|
18
20
|
import { type UpdatePredictionDto } from '../models/UpdatePredictionDto';
|
|
19
21
|
export interface CreatePredictionRequest {
|
|
@@ -29,19 +31,34 @@ export interface GetAllPredictionsFilteredRequest {
|
|
|
29
31
|
userId?: string;
|
|
30
32
|
eventId?: string;
|
|
31
33
|
status?: GetAllPredictionsFilteredStatusEnum;
|
|
34
|
+
week?: number;
|
|
35
|
+
sport?: string;
|
|
36
|
+
page?: number;
|
|
37
|
+
limit?: number;
|
|
32
38
|
}
|
|
33
39
|
export interface GetPredictionByIdRequest {
|
|
34
40
|
id: string;
|
|
35
41
|
}
|
|
42
|
+
export interface GetPredictionStatsRequest {
|
|
43
|
+
userId: string;
|
|
44
|
+
guildId: string;
|
|
45
|
+
}
|
|
36
46
|
export interface GetPredictionsCountRequest {
|
|
37
|
-
|
|
38
|
-
|
|
47
|
+
userId?: string;
|
|
48
|
+
eventId?: string;
|
|
49
|
+
status?: GetPredictionsCountStatusEnum;
|
|
50
|
+
week?: number;
|
|
51
|
+
sport?: string;
|
|
39
52
|
}
|
|
40
53
|
export interface GetPredictionsForUserRequest {
|
|
41
54
|
userId: string;
|
|
42
55
|
}
|
|
43
56
|
export interface RemovePredictionRequest {
|
|
44
|
-
|
|
57
|
+
eventId: string;
|
|
58
|
+
userId: string;
|
|
59
|
+
}
|
|
60
|
+
export interface RemovePredictionByEventRequest {
|
|
61
|
+
eventId: string;
|
|
45
62
|
userId: string;
|
|
46
63
|
}
|
|
47
64
|
export interface RemovePredictionByIdRequest {
|
|
@@ -74,11 +91,11 @@ export interface PredictionApiInterface {
|
|
|
74
91
|
* @throws {RequiredError}
|
|
75
92
|
* @memberof PredictionApiInterface
|
|
76
93
|
*/
|
|
77
|
-
createPredictionRaw(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
94
|
+
createPredictionRaw(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionResponseDto>>;
|
|
78
95
|
/**
|
|
79
96
|
* Create a new prediction
|
|
80
97
|
*/
|
|
81
|
-
createPrediction(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
98
|
+
createPrediction(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionResponseDto>;
|
|
82
99
|
/**
|
|
83
100
|
* Creates request options for getActiveOutcomes without sending the request
|
|
84
101
|
* @param {string} [guildId] Optional guild ID to filter outcomes
|
|
@@ -124,7 +141,11 @@ export interface PredictionApiInterface {
|
|
|
124
141
|
* Creates request options for getAllPredictionsFiltered without sending the request
|
|
125
142
|
* @param {string} [userId] User ID to filter predictions
|
|
126
143
|
* @param {string} [eventId] Event ID to filter predictions
|
|
127
|
-
* @param {'pending' | 'completed' | 'error'} [status] Status to filter predictions
|
|
144
|
+
* @param {'pending' | 'completed' | 'error' | 'push' | 'void'} [status] Status to filter predictions
|
|
145
|
+
* @param {number} [week] Season week number to filter predictions
|
|
146
|
+
* @param {string} [sport] Sport key to filter predictions
|
|
147
|
+
* @param {number} [page] One-based results page
|
|
148
|
+
* @param {number} [limit] Predictions per page
|
|
128
149
|
* @throws {RequiredError}
|
|
129
150
|
* @memberof PredictionApiInterface
|
|
130
151
|
*/
|
|
@@ -134,7 +155,11 @@ export interface PredictionApiInterface {
|
|
|
134
155
|
* @summary Get predictions based on the provided filters. For instance, all predictions for an event with options to filter by status.
|
|
135
156
|
* @param {string} [userId] User ID to filter predictions
|
|
136
157
|
* @param {string} [eventId] Event ID to filter predictions
|
|
137
|
-
* @param {'pending' | 'completed' | 'error'} [status] Status to filter predictions
|
|
158
|
+
* @param {'pending' | 'completed' | 'error' | 'push' | 'void'} [status] Status to filter predictions
|
|
159
|
+
* @param {number} [week] Season week number to filter predictions
|
|
160
|
+
* @param {string} [sport] Sport key to filter predictions
|
|
161
|
+
* @param {number} [page] One-based results page
|
|
162
|
+
* @param {number} [limit] Predictions per page
|
|
138
163
|
* @param {*} [options] Override http request option.
|
|
139
164
|
* @throws {RequiredError}
|
|
140
165
|
* @memberof PredictionApiInterface
|
|
@@ -159,15 +184,40 @@ export interface PredictionApiInterface {
|
|
|
159
184
|
* @throws {RequiredError}
|
|
160
185
|
* @memberof PredictionApiInterface
|
|
161
186
|
*/
|
|
162
|
-
getPredictionByIdRaw(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
187
|
+
getPredictionByIdRaw(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionResponseDto>>;
|
|
163
188
|
/**
|
|
164
189
|
* Get a prediction by ID
|
|
165
190
|
*/
|
|
166
|
-
getPredictionById(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
191
|
+
getPredictionById(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionResponseDto>;
|
|
192
|
+
/**
|
|
193
|
+
* Creates request options for getPredictionStats without sending the request
|
|
194
|
+
* @param {string} userId
|
|
195
|
+
* @param {string} guildId Guild scope for the stats
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof PredictionApiInterface
|
|
198
|
+
*/
|
|
199
|
+
getPredictionStatsRequestOpts(requestParameters: GetPredictionStatsRequest): Promise<runtime.RequestOpts>;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @summary Get prediction accuracy and streak stats for a user
|
|
203
|
+
* @param {string} userId
|
|
204
|
+
* @param {string} guildId Guild scope for the stats
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof PredictionApiInterface
|
|
208
|
+
*/
|
|
209
|
+
getPredictionStatsRaw(requestParameters: GetPredictionStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionStatsDto>>;
|
|
210
|
+
/**
|
|
211
|
+
* Get prediction accuracy and streak stats for a user
|
|
212
|
+
*/
|
|
213
|
+
getPredictionStats(requestParameters: GetPredictionStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionStatsDto>;
|
|
167
214
|
/**
|
|
168
215
|
* Creates request options for getPredictionsCount without sending the request
|
|
169
|
-
* @param {string}
|
|
170
|
-
* @param {string}
|
|
216
|
+
* @param {string} [userId] User ID to filter predictions
|
|
217
|
+
* @param {string} [eventId] Event ID to filter predictions
|
|
218
|
+
* @param {'pending' | 'completed' | 'error' | 'push' | 'void'} [status] Status to filter predictions
|
|
219
|
+
* @param {number} [week] Season week number to filter predictions
|
|
220
|
+
* @param {string} [sport] Sport key to filter predictions
|
|
171
221
|
* @throws {RequiredError}
|
|
172
222
|
* @memberof PredictionApiInterface
|
|
173
223
|
*/
|
|
@@ -175,8 +225,11 @@ export interface PredictionApiInterface {
|
|
|
175
225
|
/**
|
|
176
226
|
*
|
|
177
227
|
* @summary Get the count of predictions and unique users for a given status of a prediction. E.g all pending or all completed
|
|
178
|
-
* @param {string}
|
|
179
|
-
* @param {string}
|
|
228
|
+
* @param {string} [userId] User ID to filter predictions
|
|
229
|
+
* @param {string} [eventId] Event ID to filter predictions
|
|
230
|
+
* @param {'pending' | 'completed' | 'error' | 'push' | 'void'} [status] Status to filter predictions
|
|
231
|
+
* @param {number} [week] Season week number to filter predictions
|
|
232
|
+
* @param {string} [sport] Sport key to filter predictions
|
|
180
233
|
* @param {*} [options] Override http request option.
|
|
181
234
|
* @throws {RequiredError}
|
|
182
235
|
* @memberof PredictionApiInterface
|
|
@@ -208,26 +261,52 @@ export interface PredictionApiInterface {
|
|
|
208
261
|
getPredictionsForUser(requestParameters: GetPredictionsForUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AllUserPredictionsDto>>;
|
|
209
262
|
/**
|
|
210
263
|
* Creates request options for removePrediction without sending the request
|
|
211
|
-
* @param {string}
|
|
264
|
+
* @param {string} eventId Event ID for the prediction to delete. Deprecated route; use /by-event/:event_id.
|
|
212
265
|
* @param {string} userId User ID
|
|
266
|
+
* @deprecated
|
|
213
267
|
* @throws {RequiredError}
|
|
214
268
|
* @memberof PredictionApiInterface
|
|
215
269
|
*/
|
|
216
270
|
removePredictionRequestOpts(requestParameters: RemovePredictionRequest): Promise<runtime.RequestOpts>;
|
|
217
271
|
/**
|
|
218
|
-
*
|
|
219
|
-
* @summary Remove a prediction
|
|
220
|
-
* @param {string}
|
|
272
|
+
* Deprecated. Use DELETE /prediction/by-event/:event_id. This route will be removed after one contract release.
|
|
273
|
+
* @summary Remove a prediction by event ID (deprecated)
|
|
274
|
+
* @param {string} eventId Event ID for the prediction to delete. Deprecated route; use /by-event/:event_id.
|
|
221
275
|
* @param {string} userId User ID
|
|
222
276
|
* @param {*} [options] Override http request option.
|
|
277
|
+
* @deprecated
|
|
223
278
|
* @throws {RequiredError}
|
|
224
279
|
* @memberof PredictionApiInterface
|
|
225
280
|
*/
|
|
226
281
|
removePredictionRaw(requestParameters: RemovePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
227
282
|
/**
|
|
228
|
-
*
|
|
283
|
+
* Deprecated. Use DELETE /prediction/by-event/:event_id. This route will be removed after one contract release.
|
|
284
|
+
* Remove a prediction by event ID (deprecated)
|
|
285
|
+
* @deprecated
|
|
229
286
|
*/
|
|
230
287
|
removePrediction(requestParameters: RemovePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
288
|
+
/**
|
|
289
|
+
* Creates request options for removePredictionByEvent without sending the request
|
|
290
|
+
* @param {string} eventId The event ID for the prediction to delete
|
|
291
|
+
* @param {string} userId User ID
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
* @memberof PredictionApiInterface
|
|
294
|
+
*/
|
|
295
|
+
removePredictionByEventRequestOpts(requestParameters: RemovePredictionByEventRequest): Promise<runtime.RequestOpts>;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @summary Remove a prediction by event ID
|
|
299
|
+
* @param {string} eventId The event ID for the prediction to delete
|
|
300
|
+
* @param {string} userId User ID
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
* @memberof PredictionApiInterface
|
|
304
|
+
*/
|
|
305
|
+
removePredictionByEventRaw(requestParameters: RemovePredictionByEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
306
|
+
/**
|
|
307
|
+
* Remove a prediction by event ID
|
|
308
|
+
*/
|
|
309
|
+
removePredictionByEvent(requestParameters: RemovePredictionByEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
231
310
|
/**
|
|
232
311
|
* Creates request options for removePredictionById without sending the request
|
|
233
312
|
* @param {string} predictionId The unique prediction ID to delete
|
|
@@ -267,11 +346,11 @@ export interface PredictionApiInterface {
|
|
|
267
346
|
* @throws {RequiredError}
|
|
268
347
|
* @memberof PredictionApiInterface
|
|
269
348
|
*/
|
|
270
|
-
updatePredictionRaw(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
349
|
+
updatePredictionRaw(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionResponseDto>>;
|
|
271
350
|
/**
|
|
272
351
|
* Update a prediction
|
|
273
352
|
*/
|
|
274
|
-
updatePrediction(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
353
|
+
updatePrediction(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionResponseDto>;
|
|
275
354
|
}
|
|
276
355
|
/**
|
|
277
356
|
*
|
|
@@ -284,11 +363,11 @@ export declare class PredictionApi extends runtime.BaseAPI implements Prediction
|
|
|
284
363
|
/**
|
|
285
364
|
* Create a new prediction
|
|
286
365
|
*/
|
|
287
|
-
createPredictionRaw(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
366
|
+
createPredictionRaw(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionResponseDto>>;
|
|
288
367
|
/**
|
|
289
368
|
* Create a new prediction
|
|
290
369
|
*/
|
|
291
|
-
createPrediction(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
370
|
+
createPrediction(requestParameters: CreatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionResponseDto>;
|
|
292
371
|
/**
|
|
293
372
|
* Creates request options for getActiveOutcomes without sending the request
|
|
294
373
|
*/
|
|
@@ -334,11 +413,23 @@ export declare class PredictionApi extends runtime.BaseAPI implements Prediction
|
|
|
334
413
|
/**
|
|
335
414
|
* Get a prediction by ID
|
|
336
415
|
*/
|
|
337
|
-
getPredictionByIdRaw(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
416
|
+
getPredictionByIdRaw(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionResponseDto>>;
|
|
338
417
|
/**
|
|
339
418
|
* Get a prediction by ID
|
|
340
419
|
*/
|
|
341
|
-
getPredictionById(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
420
|
+
getPredictionById(requestParameters: GetPredictionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionResponseDto>;
|
|
421
|
+
/**
|
|
422
|
+
* Creates request options for getPredictionStats without sending the request
|
|
423
|
+
*/
|
|
424
|
+
getPredictionStatsRequestOpts(requestParameters: GetPredictionStatsRequest): Promise<runtime.RequestOpts>;
|
|
425
|
+
/**
|
|
426
|
+
* Get prediction accuracy and streak stats for a user
|
|
427
|
+
*/
|
|
428
|
+
getPredictionStatsRaw(requestParameters: GetPredictionStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionStatsDto>>;
|
|
429
|
+
/**
|
|
430
|
+
* Get prediction accuracy and streak stats for a user
|
|
431
|
+
*/
|
|
432
|
+
getPredictionStats(requestParameters: GetPredictionStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionStatsDto>;
|
|
342
433
|
/**
|
|
343
434
|
* Creates request options for getPredictionsCount without sending the request
|
|
344
435
|
*/
|
|
@@ -350,7 +441,7 @@ export declare class PredictionApi extends runtime.BaseAPI implements Prediction
|
|
|
350
441
|
/**
|
|
351
442
|
* Get the count of predictions and unique users for a given status of a prediction. E.g all pending or all completed
|
|
352
443
|
*/
|
|
353
|
-
getPredictionsCount(requestParameters
|
|
444
|
+
getPredictionsCount(requestParameters?: GetPredictionsCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionsCountDto>;
|
|
354
445
|
/**
|
|
355
446
|
* Creates request options for getPredictionsForUser without sending the request
|
|
356
447
|
*/
|
|
@@ -365,16 +456,33 @@ export declare class PredictionApi extends runtime.BaseAPI implements Prediction
|
|
|
365
456
|
getPredictionsForUser(requestParameters: GetPredictionsForUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AllUserPredictionsDto>>;
|
|
366
457
|
/**
|
|
367
458
|
* Creates request options for removePrediction without sending the request
|
|
459
|
+
* @deprecated
|
|
368
460
|
*/
|
|
369
461
|
removePredictionRequestOpts(requestParameters: RemovePredictionRequest): Promise<runtime.RequestOpts>;
|
|
370
462
|
/**
|
|
371
|
-
*
|
|
463
|
+
* Deprecated. Use DELETE /prediction/by-event/:event_id. This route will be removed after one contract release.
|
|
464
|
+
* Remove a prediction by event ID (deprecated)
|
|
465
|
+
* @deprecated
|
|
372
466
|
*/
|
|
373
467
|
removePredictionRaw(requestParameters: RemovePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
374
468
|
/**
|
|
375
|
-
*
|
|
469
|
+
* Deprecated. Use DELETE /prediction/by-event/:event_id. This route will be removed after one contract release.
|
|
470
|
+
* Remove a prediction by event ID (deprecated)
|
|
471
|
+
* @deprecated
|
|
376
472
|
*/
|
|
377
473
|
removePrediction(requestParameters: RemovePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
474
|
+
/**
|
|
475
|
+
* Creates request options for removePredictionByEvent without sending the request
|
|
476
|
+
*/
|
|
477
|
+
removePredictionByEventRequestOpts(requestParameters: RemovePredictionByEventRequest): Promise<runtime.RequestOpts>;
|
|
478
|
+
/**
|
|
479
|
+
* Remove a prediction by event ID
|
|
480
|
+
*/
|
|
481
|
+
removePredictionByEventRaw(requestParameters: RemovePredictionByEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
482
|
+
/**
|
|
483
|
+
* Remove a prediction by event ID
|
|
484
|
+
*/
|
|
485
|
+
removePredictionByEvent(requestParameters: RemovePredictionByEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
378
486
|
/**
|
|
379
487
|
* Creates request options for removePredictionById without sending the request
|
|
380
488
|
*/
|
|
@@ -394,11 +502,11 @@ export declare class PredictionApi extends runtime.BaseAPI implements Prediction
|
|
|
394
502
|
/**
|
|
395
503
|
* Update a prediction
|
|
396
504
|
*/
|
|
397
|
-
updatePredictionRaw(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
505
|
+
updatePredictionRaw(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PredictionResponseDto>>;
|
|
398
506
|
/**
|
|
399
507
|
* Update a prediction
|
|
400
508
|
*/
|
|
401
|
-
updatePrediction(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
509
|
+
updatePrediction(requestParameters: UpdatePredictionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PredictionResponseDto>;
|
|
402
510
|
}
|
|
403
511
|
/**
|
|
404
512
|
* @export
|
|
@@ -407,6 +515,19 @@ export declare const GetAllPredictionsFilteredStatusEnum: {
|
|
|
407
515
|
readonly Pending: "pending";
|
|
408
516
|
readonly Completed: "completed";
|
|
409
517
|
readonly Error: "error";
|
|
518
|
+
readonly Push: "push";
|
|
519
|
+
readonly Void: "void";
|
|
410
520
|
};
|
|
411
521
|
export type GetAllPredictionsFilteredStatusEnum = typeof GetAllPredictionsFilteredStatusEnum[keyof typeof GetAllPredictionsFilteredStatusEnum];
|
|
522
|
+
/**
|
|
523
|
+
* @export
|
|
524
|
+
*/
|
|
525
|
+
export declare const GetPredictionsCountStatusEnum: {
|
|
526
|
+
readonly Pending: "pending";
|
|
527
|
+
readonly Completed: "completed";
|
|
528
|
+
readonly Error: "error";
|
|
529
|
+
readonly Push: "push";
|
|
530
|
+
readonly Void: "void";
|
|
531
|
+
};
|
|
532
|
+
export type GetPredictionsCountStatusEnum = typeof GetPredictionsCountStatusEnum[keyof typeof GetPredictionsCountStatusEnum];
|
|
412
533
|
//# sourceMappingURL=PredictionApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PredictionApi.d.ts","sourceRoot":"","sources":["../../src/apis/PredictionApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,EACH,KAAK,qBAAqB,EAG7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,KAAK,mBAAmB,EAG3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACH,KAAK,YAAY,EAGpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAC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C,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAO7K;;OAEG;IACG,oBAAoB,CAAC,iBAAiB,EAAE,2BAA2B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrJ;;OAEG;IACG,2BAA2B,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAkC3G;;OAEG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAOtL;;OAEG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAKjK;AAED;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;CAMtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAC/I;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;CAMhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -46,12 +46,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.GetAllPredictionsFilteredStatusEnum = exports.PredictionApi = void 0;
|
|
49
|
+
exports.GetPredictionsCountStatusEnum = exports.GetAllPredictionsFilteredStatusEnum = exports.PredictionApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const AllUserPredictionsDto_1 = require("../models/AllUserPredictionsDto");
|
|
52
52
|
const CreatePredictionDto_1 = require("../models/CreatePredictionDto");
|
|
53
53
|
const DateGroupDto_1 = require("../models/DateGroupDto");
|
|
54
54
|
const EventPredictionsDto_1 = require("../models/EventPredictionsDto");
|
|
55
|
+
const PredictionResponseDto_1 = require("../models/PredictionResponseDto");
|
|
56
|
+
const PredictionStatsDto_1 = require("../models/PredictionStatsDto");
|
|
55
57
|
const PredictionsCountDto_1 = require("../models/PredictionsCountDto");
|
|
56
58
|
const UpdatePredictionDto_1 = require("../models/UpdatePredictionDto");
|
|
57
59
|
/**
|
|
@@ -83,13 +85,14 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
83
85
|
async createPredictionRaw(requestParameters, initOverrides) {
|
|
84
86
|
const requestOptions = await this.createPredictionRequestOpts(requestParameters);
|
|
85
87
|
const response = await this.request(requestOptions, initOverrides);
|
|
86
|
-
return new runtime.
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PredictionResponseDto_1.PredictionResponseDtoFromJSON)(jsonValue));
|
|
87
89
|
}
|
|
88
90
|
/**
|
|
89
91
|
* Create a new prediction
|
|
90
92
|
*/
|
|
91
93
|
async createPrediction(requestParameters, initOverrides) {
|
|
92
|
-
await this.createPredictionRaw(requestParameters, initOverrides);
|
|
94
|
+
const response = await this.createPredictionRaw(requestParameters, initOverrides);
|
|
95
|
+
return await response.value();
|
|
93
96
|
}
|
|
94
97
|
/**
|
|
95
98
|
* Creates request options for getActiveOutcomes without sending the request
|
|
@@ -172,6 +175,18 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
172
175
|
if (requestParameters['status'] != null) {
|
|
173
176
|
queryParameters['status'] = requestParameters['status'];
|
|
174
177
|
}
|
|
178
|
+
if (requestParameters['week'] != null) {
|
|
179
|
+
queryParameters['week'] = requestParameters['week'];
|
|
180
|
+
}
|
|
181
|
+
if (requestParameters['sport'] != null) {
|
|
182
|
+
queryParameters['sport'] = requestParameters['sport'];
|
|
183
|
+
}
|
|
184
|
+
if (requestParameters['page'] != null) {
|
|
185
|
+
queryParameters['page'] = requestParameters['page'];
|
|
186
|
+
}
|
|
187
|
+
if (requestParameters['limit'] != null) {
|
|
188
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
189
|
+
}
|
|
175
190
|
const headerParameters = {};
|
|
176
191
|
let urlPath = `/api/khronos/v1/prediction`;
|
|
177
192
|
return {
|
|
@@ -220,31 +235,74 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
220
235
|
async getPredictionByIdRaw(requestParameters, initOverrides) {
|
|
221
236
|
const requestOptions = await this.getPredictionByIdRequestOpts(requestParameters);
|
|
222
237
|
const response = await this.request(requestOptions, initOverrides);
|
|
223
|
-
return new runtime.
|
|
238
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PredictionResponseDto_1.PredictionResponseDtoFromJSON)(jsonValue));
|
|
224
239
|
}
|
|
225
240
|
/**
|
|
226
241
|
* Get a prediction by ID
|
|
227
242
|
*/
|
|
228
243
|
async getPredictionById(requestParameters, initOverrides) {
|
|
229
|
-
await this.getPredictionByIdRaw(requestParameters, initOverrides);
|
|
244
|
+
const response = await this.getPredictionByIdRaw(requestParameters, initOverrides);
|
|
245
|
+
return await response.value();
|
|
230
246
|
}
|
|
231
247
|
/**
|
|
232
|
-
* Creates request options for
|
|
248
|
+
* Creates request options for getPredictionStats without sending the request
|
|
233
249
|
*/
|
|
234
|
-
async
|
|
235
|
-
if (requestParameters['
|
|
236
|
-
throw new runtime.RequiredError('
|
|
250
|
+
async getPredictionStatsRequestOpts(requestParameters) {
|
|
251
|
+
if (requestParameters['userId'] == null) {
|
|
252
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getPredictionStats().');
|
|
253
|
+
}
|
|
254
|
+
if (requestParameters['guildId'] == null) {
|
|
255
|
+
throw new runtime.RequiredError('guildId', 'Required parameter "guildId" was null or undefined when calling getPredictionStats().');
|
|
237
256
|
}
|
|
238
|
-
|
|
239
|
-
|
|
257
|
+
const queryParameters = {};
|
|
258
|
+
if (requestParameters['guildId'] != null) {
|
|
259
|
+
queryParameters['guild_id'] = requestParameters['guildId'];
|
|
240
260
|
}
|
|
261
|
+
const headerParameters = {};
|
|
262
|
+
let urlPath = `/api/khronos/v1/prediction/stats/{user_id}`;
|
|
263
|
+
urlPath = urlPath.replace('{user_id}', encodeURIComponent(String(requestParameters['userId'])));
|
|
264
|
+
return {
|
|
265
|
+
path: urlPath,
|
|
266
|
+
method: 'GET',
|
|
267
|
+
headers: headerParameters,
|
|
268
|
+
query: queryParameters,
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Get prediction accuracy and streak stats for a user
|
|
273
|
+
*/
|
|
274
|
+
async getPredictionStatsRaw(requestParameters, initOverrides) {
|
|
275
|
+
const requestOptions = await this.getPredictionStatsRequestOpts(requestParameters);
|
|
276
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
277
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PredictionStatsDto_1.PredictionStatsDtoFromJSON)(jsonValue));
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Get prediction accuracy and streak stats for a user
|
|
281
|
+
*/
|
|
282
|
+
async getPredictionStats(requestParameters, initOverrides) {
|
|
283
|
+
const response = await this.getPredictionStatsRaw(requestParameters, initOverrides);
|
|
284
|
+
return await response.value();
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Creates request options for getPredictionsCount without sending the request
|
|
288
|
+
*/
|
|
289
|
+
async getPredictionsCountRequestOpts(requestParameters) {
|
|
241
290
|
const queryParameters = {};
|
|
291
|
+
if (requestParameters['userId'] != null) {
|
|
292
|
+
queryParameters['user_id'] = requestParameters['userId'];
|
|
293
|
+
}
|
|
242
294
|
if (requestParameters['eventId'] != null) {
|
|
243
295
|
queryParameters['event_id'] = requestParameters['eventId'];
|
|
244
296
|
}
|
|
245
297
|
if (requestParameters['status'] != null) {
|
|
246
298
|
queryParameters['status'] = requestParameters['status'];
|
|
247
299
|
}
|
|
300
|
+
if (requestParameters['week'] != null) {
|
|
301
|
+
queryParameters['week'] = requestParameters['week'];
|
|
302
|
+
}
|
|
303
|
+
if (requestParameters['sport'] != null) {
|
|
304
|
+
queryParameters['sport'] = requestParameters['sport'];
|
|
305
|
+
}
|
|
248
306
|
const headerParameters = {};
|
|
249
307
|
let urlPath = `/api/khronos/v1/prediction/count`;
|
|
250
308
|
return {
|
|
@@ -265,7 +323,7 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
265
323
|
/**
|
|
266
324
|
* Get the count of predictions and unique users for a given status of a prediction. E.g all pending or all completed
|
|
267
325
|
*/
|
|
268
|
-
async getPredictionsCount(requestParameters, initOverrides) {
|
|
326
|
+
async getPredictionsCount(requestParameters = {}, initOverrides) {
|
|
269
327
|
const response = await this.getPredictionsCountRaw(requestParameters, initOverrides);
|
|
270
328
|
return await response.value();
|
|
271
329
|
}
|
|
@@ -304,10 +362,11 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
304
362
|
}
|
|
305
363
|
/**
|
|
306
364
|
* Creates request options for removePrediction without sending the request
|
|
365
|
+
* @deprecated
|
|
307
366
|
*/
|
|
308
367
|
async removePredictionRequestOpts(requestParameters) {
|
|
309
|
-
if (requestParameters['
|
|
310
|
-
throw new runtime.RequiredError('
|
|
368
|
+
if (requestParameters['eventId'] == null) {
|
|
369
|
+
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling removePrediction().');
|
|
311
370
|
}
|
|
312
371
|
if (requestParameters['userId'] == null) {
|
|
313
372
|
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling removePrediction().');
|
|
@@ -317,8 +376,8 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
317
376
|
queryParameters['user_id'] = requestParameters['userId'];
|
|
318
377
|
}
|
|
319
378
|
const headerParameters = {};
|
|
320
|
-
let urlPath = `/api/khronos/v1/prediction/{
|
|
321
|
-
urlPath = urlPath.replace('{
|
|
379
|
+
let urlPath = `/api/khronos/v1/prediction/{event_id}`;
|
|
380
|
+
urlPath = urlPath.replace('{event_id}', encodeURIComponent(String(requestParameters['eventId'])));
|
|
322
381
|
return {
|
|
323
382
|
path: urlPath,
|
|
324
383
|
method: 'DELETE',
|
|
@@ -327,7 +386,9 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
327
386
|
};
|
|
328
387
|
}
|
|
329
388
|
/**
|
|
330
|
-
*
|
|
389
|
+
* Deprecated. Use DELETE /prediction/by-event/:event_id. This route will be removed after one contract release.
|
|
390
|
+
* Remove a prediction by event ID (deprecated)
|
|
391
|
+
* @deprecated
|
|
331
392
|
*/
|
|
332
393
|
async removePredictionRaw(requestParameters, initOverrides) {
|
|
333
394
|
const requestOptions = await this.removePredictionRequestOpts(requestParameters);
|
|
@@ -335,11 +396,51 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
335
396
|
return new runtime.VoidApiResponse(response);
|
|
336
397
|
}
|
|
337
398
|
/**
|
|
338
|
-
*
|
|
399
|
+
* Deprecated. Use DELETE /prediction/by-event/:event_id. This route will be removed after one contract release.
|
|
400
|
+
* Remove a prediction by event ID (deprecated)
|
|
401
|
+
* @deprecated
|
|
339
402
|
*/
|
|
340
403
|
async removePrediction(requestParameters, initOverrides) {
|
|
341
404
|
await this.removePredictionRaw(requestParameters, initOverrides);
|
|
342
405
|
}
|
|
406
|
+
/**
|
|
407
|
+
* Creates request options for removePredictionByEvent without sending the request
|
|
408
|
+
*/
|
|
409
|
+
async removePredictionByEventRequestOpts(requestParameters) {
|
|
410
|
+
if (requestParameters['eventId'] == null) {
|
|
411
|
+
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling removePredictionByEvent().');
|
|
412
|
+
}
|
|
413
|
+
if (requestParameters['userId'] == null) {
|
|
414
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling removePredictionByEvent().');
|
|
415
|
+
}
|
|
416
|
+
const queryParameters = {};
|
|
417
|
+
if (requestParameters['userId'] != null) {
|
|
418
|
+
queryParameters['user_id'] = requestParameters['userId'];
|
|
419
|
+
}
|
|
420
|
+
const headerParameters = {};
|
|
421
|
+
let urlPath = `/api/khronos/v1/prediction/by-event/{event_id}`;
|
|
422
|
+
urlPath = urlPath.replace('{event_id}', encodeURIComponent(String(requestParameters['eventId'])));
|
|
423
|
+
return {
|
|
424
|
+
path: urlPath,
|
|
425
|
+
method: 'DELETE',
|
|
426
|
+
headers: headerParameters,
|
|
427
|
+
query: queryParameters,
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* Remove a prediction by event ID
|
|
432
|
+
*/
|
|
433
|
+
async removePredictionByEventRaw(requestParameters, initOverrides) {
|
|
434
|
+
const requestOptions = await this.removePredictionByEventRequestOpts(requestParameters);
|
|
435
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
436
|
+
return new runtime.VoidApiResponse(response);
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Remove a prediction by event ID
|
|
440
|
+
*/
|
|
441
|
+
async removePredictionByEvent(requestParameters, initOverrides) {
|
|
442
|
+
await this.removePredictionByEventRaw(requestParameters, initOverrides);
|
|
443
|
+
}
|
|
343
444
|
/**
|
|
344
445
|
* Creates request options for removePredictionById without sending the request
|
|
345
446
|
*/
|
|
@@ -407,13 +508,14 @@ class PredictionApi extends runtime.BaseAPI {
|
|
|
407
508
|
async updatePredictionRaw(requestParameters, initOverrides) {
|
|
408
509
|
const requestOptions = await this.updatePredictionRequestOpts(requestParameters);
|
|
409
510
|
const response = await this.request(requestOptions, initOverrides);
|
|
410
|
-
return new runtime.
|
|
511
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PredictionResponseDto_1.PredictionResponseDtoFromJSON)(jsonValue));
|
|
411
512
|
}
|
|
412
513
|
/**
|
|
413
514
|
* Update a prediction
|
|
414
515
|
*/
|
|
415
516
|
async updatePrediction(requestParameters, initOverrides) {
|
|
416
|
-
await this.updatePredictionRaw(requestParameters, initOverrides);
|
|
517
|
+
const response = await this.updatePredictionRaw(requestParameters, initOverrides);
|
|
518
|
+
return await response.value();
|
|
417
519
|
}
|
|
418
520
|
}
|
|
419
521
|
exports.PredictionApi = PredictionApi;
|
|
@@ -423,6 +525,18 @@ exports.PredictionApi = PredictionApi;
|
|
|
423
525
|
exports.GetAllPredictionsFilteredStatusEnum = {
|
|
424
526
|
Pending: 'pending',
|
|
425
527
|
Completed: 'completed',
|
|
426
|
-
Error: 'error'
|
|
528
|
+
Error: 'error',
|
|
529
|
+
Push: 'push',
|
|
530
|
+
Void: 'void'
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* @export
|
|
534
|
+
*/
|
|
535
|
+
exports.GetPredictionsCountStatusEnum = {
|
|
536
|
+
Pending: 'pending',
|
|
537
|
+
Completed: 'completed',
|
|
538
|
+
Error: 'error',
|
|
539
|
+
Push: 'push',
|
|
540
|
+
Void: 'void'
|
|
427
541
|
};
|
|
428
542
|
//# sourceMappingURL=PredictionApi.js.map
|