@jugarhoy/api 1.1.10 → 1.1.11
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.
|
@@ -53,6 +53,12 @@ export interface CreatePlaySearchRequest {
|
|
|
53
53
|
* @memberof CreatePlaySearchRequest
|
|
54
54
|
*/
|
|
55
55
|
type?: PlaySearchType;
|
|
56
|
+
/**
|
|
57
|
+
* Optional tournament name (typically for CANCHA_ABIERTA type)
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreatePlaySearchRequest
|
|
60
|
+
*/
|
|
61
|
+
tournamentName?: string | null;
|
|
56
62
|
/**
|
|
57
63
|
* Format of play (optional)
|
|
58
64
|
* @type {number}
|
|
@@ -173,6 +179,7 @@ export function CreatePlaySearchRequestFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
173
179
|
|
|
174
180
|
'clubPlace': CreateClubPlaceRequestFromJSON(json['clubPlace']),
|
|
175
181
|
'type': json['type'] == null ? undefined : PlaySearchTypeFromJSON(json['type']),
|
|
182
|
+
'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
|
|
176
183
|
'playersPerTeam': json['playersPerTeam'] == null ? undefined : json['playersPerTeam'],
|
|
177
184
|
'matchDateTime': (new Date(json['matchDateTime'])),
|
|
178
185
|
'duration': json['duration'],
|
|
@@ -202,6 +209,7 @@ export function CreatePlaySearchRequestToJSONTyped(value?: CreatePlaySearchReque
|
|
|
202
209
|
|
|
203
210
|
'clubPlace': CreateClubPlaceRequestToJSON(value['clubPlace']),
|
|
204
211
|
'type': PlaySearchTypeToJSON(value['type']),
|
|
212
|
+
'tournamentName': value['tournamentName'],
|
|
205
213
|
'playersPerTeam': value['playersPerTeam'],
|
|
206
214
|
'matchDateTime': ((value['matchDateTime']).toISOString()),
|
|
207
215
|
'duration': value['duration'],
|
|
@@ -22,7 +22,9 @@ export const NotificationChannelType = {
|
|
|
22
22
|
PushWeb: 'PUSH_WEB',
|
|
23
23
|
PushNative: 'PUSH_NATIVE',
|
|
24
24
|
Email: 'EMAIL',
|
|
25
|
-
Falta1: 'FALTA1'
|
|
25
|
+
Falta1: 'FALTA1',
|
|
26
|
+
SearchTournament: 'SEARCH_TOURNAMENT',
|
|
27
|
+
SearchTraining: 'SEARCH_TRAINING'
|
|
26
28
|
} as const;
|
|
27
29
|
export type NotificationChannelType = typeof NotificationChannelType[keyof typeof NotificationChannelType];
|
|
28
30
|
|
package/models/PlaySearch.ts
CHANGED
|
@@ -78,6 +78,12 @@ export interface PlaySearch {
|
|
|
78
78
|
* @memberof PlaySearch
|
|
79
79
|
*/
|
|
80
80
|
type: PlaySearchType;
|
|
81
|
+
/**
|
|
82
|
+
* Optional tournament name (typically for CANCHA_ABIERTA type)
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof PlaySearch
|
|
85
|
+
*/
|
|
86
|
+
tournamentName?: string | null;
|
|
81
87
|
/**
|
|
82
88
|
* Format of play (1=Singles, 2=Dobles, 5+=Equipo)
|
|
83
89
|
* @type {number}
|
|
@@ -236,6 +242,7 @@ export function PlaySearchFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
236
242
|
'clubPlaceId': json['clubPlaceId'],
|
|
237
243
|
'sport': SportFromJSON(json['sport']),
|
|
238
244
|
'type': PlaySearchTypeFromJSON(json['type']),
|
|
245
|
+
'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
|
|
239
246
|
'playersPerTeam': json['playersPerTeam'] == null ? undefined : json['playersPerTeam'],
|
|
240
247
|
'matchDateTime': (new Date(json['matchDateTime'])),
|
|
241
248
|
'duration': json['duration'],
|
|
@@ -275,6 +282,7 @@ export function PlaySearchToJSONTyped(value?: PlaySearch | null, ignoreDiscrimin
|
|
|
275
282
|
'clubPlaceId': value['clubPlaceId'],
|
|
276
283
|
'sport': SportToJSON(value['sport']),
|
|
277
284
|
'type': PlaySearchTypeToJSON(value['type']),
|
|
285
|
+
'tournamentName': value['tournamentName'],
|
|
278
286
|
'playersPerTeam': value['playersPerTeam'],
|
|
279
287
|
'matchDateTime': ((value['matchDateTime']).toISOString()),
|
|
280
288
|
'duration': value['duration'],
|
package/models/PlaySearchDTO.ts
CHANGED
|
@@ -98,6 +98,12 @@ export interface PlaySearchDTO {
|
|
|
98
98
|
* @memberof PlaySearchDTO
|
|
99
99
|
*/
|
|
100
100
|
type: PlaySearchType;
|
|
101
|
+
/**
|
|
102
|
+
* Optional tournament name (typically for CANCHA_ABIERTA type)
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof PlaySearchDTO
|
|
105
|
+
*/
|
|
106
|
+
tournamentName?: string | null;
|
|
101
107
|
/**
|
|
102
108
|
*
|
|
103
109
|
* @type {number}
|
|
@@ -233,6 +239,7 @@ export function PlaySearchDTOFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
233
239
|
'clubPlace': PlaySearchDTOClubPlaceFromJSON(json['clubPlace']),
|
|
234
240
|
'sport': SportFromJSON(json['sport']),
|
|
235
241
|
'type': PlaySearchTypeFromJSON(json['type']),
|
|
242
|
+
'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
|
|
236
243
|
'playersPerTeam': json['playersPerTeam'] == null ? undefined : json['playersPerTeam'],
|
|
237
244
|
'matchDateTime': (new Date(json['matchDateTime'])),
|
|
238
245
|
'duration': json['duration'],
|
|
@@ -269,6 +276,7 @@ export function PlaySearchDTOToJSONTyped(value?: PlaySearchDTO | null, ignoreDis
|
|
|
269
276
|
'clubPlace': PlaySearchDTOClubPlaceToJSON(value['clubPlace']),
|
|
270
277
|
'sport': SportToJSON(value['sport']),
|
|
271
278
|
'type': PlaySearchTypeToJSON(value['type']),
|
|
279
|
+
'tournamentName': value['tournamentName'],
|
|
272
280
|
'playersPerTeam': value['playersPerTeam'],
|
|
273
281
|
'matchDateTime': ((value['matchDateTime']).toISOString()),
|
|
274
282
|
'duration': value['duration'],
|
|
@@ -112,6 +112,12 @@ export interface PlaySearchDetailDTO {
|
|
|
112
112
|
* @memberof PlaySearchDetailDTO
|
|
113
113
|
*/
|
|
114
114
|
type: PlaySearchType;
|
|
115
|
+
/**
|
|
116
|
+
* Optional tournament name (typically for CANCHA_ABIERTA type)
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof PlaySearchDetailDTO
|
|
119
|
+
*/
|
|
120
|
+
tournamentName?: string | null;
|
|
115
121
|
/**
|
|
116
122
|
*
|
|
117
123
|
* @type {number}
|
|
@@ -265,6 +271,7 @@ export function PlaySearchDetailDTOFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
265
271
|
'clubPlace': PlaySearchDTOClubPlaceFromJSON(json['clubPlace']),
|
|
266
272
|
'sport': SportFromJSON(json['sport']),
|
|
267
273
|
'type': PlaySearchTypeFromJSON(json['type']),
|
|
274
|
+
'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
|
|
268
275
|
'playersPerTeam': json['playersPerTeam'] == null ? undefined : json['playersPerTeam'],
|
|
269
276
|
'matchDateTime': (new Date(json['matchDateTime'])),
|
|
270
277
|
'duration': json['duration'],
|
|
@@ -304,6 +311,7 @@ export function PlaySearchDetailDTOToJSONTyped(value?: PlaySearchDetailDTO | nul
|
|
|
304
311
|
'clubPlace': PlaySearchDTOClubPlaceToJSON(value['clubPlace']),
|
|
305
312
|
'sport': SportToJSON(value['sport']),
|
|
306
313
|
'type': PlaySearchTypeToJSON(value['type']),
|
|
314
|
+
'tournamentName': value['tournamentName'],
|
|
307
315
|
'playersPerTeam': value['playersPerTeam'],
|
|
308
316
|
'matchDateTime': ((value['matchDateTime']).toISOString()),
|
|
309
317
|
'duration': value['duration'],
|