@jugarhoy/api 1.1.24 → 1.1.26

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.
@@ -44,11 +44,35 @@ export interface CreateRecurringGameRequest {
44
44
  */
45
45
  duration: CreateRecurringGameRequestDurationEnum;
46
46
  /**
47
- *
47
+ * Google Places ID
48
48
  * @type {string}
49
49
  * @memberof CreateRecurringGameRequest
50
50
  */
51
51
  clubPlaceId: string;
52
+ /**
53
+ * Place name from Google Places
54
+ * @type {string}
55
+ * @memberof CreateRecurringGameRequest
56
+ */
57
+ clubPlaceName?: string;
58
+ /**
59
+ * Place address from Google Places
60
+ * @type {string}
61
+ * @memberof CreateRecurringGameRequest
62
+ */
63
+ clubPlaceAddress?: string;
64
+ /**
65
+ * Place latitude
66
+ * @type {number}
67
+ * @memberof CreateRecurringGameRequest
68
+ */
69
+ clubPlaceLatitude?: number;
70
+ /**
71
+ * Place longitude
72
+ * @type {number}
73
+ * @memberof CreateRecurringGameRequest
74
+ */
75
+ clubPlaceLongitude?: number;
52
76
  /**
53
77
  *
54
78
  * @type {number}
@@ -102,6 +126,10 @@ export function CreateRecurringGameRequestFromJSONTyped(json: any, ignoreDiscrim
102
126
  'time': json['time'],
103
127
  'duration': json['duration'],
104
128
  'clubPlaceId': json['clubPlaceId'],
129
+ 'clubPlaceName': json['clubPlaceName'] == null ? undefined : json['clubPlaceName'],
130
+ 'clubPlaceAddress': json['clubPlaceAddress'] == null ? undefined : json['clubPlaceAddress'],
131
+ 'clubPlaceLatitude': json['clubPlaceLatitude'] == null ? undefined : json['clubPlaceLatitude'],
132
+ 'clubPlaceLongitude': json['clubPlaceLongitude'] == null ? undefined : json['clubPlaceLongitude'],
105
133
  'precio': json['precio'] == null ? undefined : json['precio'],
106
134
  'daysBeforeMatch': json['daysBeforeMatch'],
107
135
  };
@@ -123,6 +151,10 @@ export function CreateRecurringGameRequestToJSONTyped(value?: CreateRecurringGam
123
151
  'time': value['time'],
124
152
  'duration': value['duration'],
125
153
  'clubPlaceId': value['clubPlaceId'],
154
+ 'clubPlaceName': value['clubPlaceName'],
155
+ 'clubPlaceAddress': value['clubPlaceAddress'],
156
+ 'clubPlaceLatitude': value['clubPlaceLatitude'],
157
+ 'clubPlaceLongitude': value['clubPlaceLongitude'],
126
158
  'precio': value['precio'],
127
159
  'daysBeforeMatch': value['daysBeforeMatch'],
128
160
  };
@@ -39,6 +39,12 @@ export interface CreateTeamFeedRequest {
39
39
  * @memberof CreateTeamFeedRequest
40
40
  */
41
41
  media?: Array<TeamFeedMedia> | null;
42
+ /**
43
+ * Initial reactions/emotions (emotionId -> count)
44
+ * @type {object}
45
+ * @memberof CreateTeamFeedRequest
46
+ */
47
+ reactions?: object | null;
42
48
  }
43
49
 
44
50
  /**
@@ -61,6 +67,7 @@ export function CreateTeamFeedRequestFromJSONTyped(json: any, ignoreDiscriminato
61
67
 
62
68
  'content': json['content'],
63
69
  'media': json['media'] == null ? undefined : ((json['media'] as Array<any>).map(TeamFeedMediaFromJSON)),
70
+ 'reactions': json['reactions'] == null ? undefined : json['reactions'],
64
71
  };
65
72
  }
66
73
 
@@ -77,6 +84,7 @@ export function CreateTeamFeedRequestToJSONTyped(value?: CreateTeamFeedRequest |
77
84
 
78
85
  'content': value['content'],
79
86
  'media': value['media'] == null ? undefined : ((value['media'] as Array<any>).map(TeamFeedMediaToJSON)),
87
+ 'reactions': value['reactions'],
80
88
  };
81
89
  }
82
90
 
@@ -21,6 +21,7 @@ export const FeedMediaType = {
21
21
  Image: 'IMAGE',
22
22
  Video: 'VIDEO',
23
23
  Gif: 'GIF',
24
+ Audio: 'AUDIO',
24
25
  ExternalLink: 'EXTERNAL_LINK',
25
26
  CustomEmoji: 'CUSTOM_EMOJI'
26
27
  } as const;
@@ -18,13 +18,15 @@
18
18
  * - FALTA1: Partido amateur que necesita jugadores
19
19
  * - CANCHA_ABIERTA: Torneo organizado por coach/jugador abierto a la comunidad
20
20
  * - CLASE_LIBRE: Clase con cupo libre de último momento
21
+ * - PARTIDO_SEMANAL: Partido recurrente semanal creado automáticamente por un equipo
21
22
  *
22
23
  * @export
23
24
  */
24
25
  export const PlaySearchType = {
25
26
  Falta1: 'FALTA1',
26
27
  CanchaAbierta: 'CANCHA_ABIERTA',
27
- ClaseLibre: 'CLASE_LIBRE'
28
+ ClaseLibre: 'CLASE_LIBRE',
29
+ PartidoSemanal: 'PARTIDO_SEMANAL'
28
30
  } as const;
29
31
  export type PlaySearchType = typeof PlaySearchType[keyof typeof PlaySearchType];
30
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jugarhoy/api",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "TypeScript SDK for Jugar Hoy API",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",