@jugarhoy/api 1.1.34 → 1.1.36

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/models/Reserve.ts CHANGED
@@ -68,11 +68,11 @@ export interface Reserve {
68
68
  */
69
69
  type: ReserveType;
70
70
  /**
71
- * Location ID of the reservation
71
+ * Location ID of the reservation (null for COMMUNITY reserves)
72
72
  * @type {string}
73
73
  * @memberof Reserve
74
74
  */
75
- locationId: string;
75
+ locationId?: string | null;
76
76
  /**
77
77
  * User ID of the reservation
78
78
  * @type {string}
@@ -92,17 +92,23 @@ export interface Reserve {
92
92
  */
93
93
  uniqueCode: string;
94
94
  /**
95
- * ID of the play spot associated with this reservation
95
+ * ID of the play spot (null for COMMUNITY reserves)
96
96
  * @type {string}
97
97
  * @memberof Reserve
98
98
  */
99
- playSpotId: string;
99
+ playSpotId?: string | null;
100
100
  /**
101
- * Name of the play spot associated with this reservation
101
+ * Name of the play spot (null for COMMUNITY reserves)
102
102
  * @type {string}
103
103
  * @memberof Reserve
104
104
  */
105
- playSpotName: string;
105
+ playSpotName?: string | null;
106
+ /**
107
+ * PlaySearch ID for COMMUNITY reserves
108
+ * @type {string}
109
+ * @memberof Reserve
110
+ */
111
+ playSearchId?: string | null;
106
112
  /**
107
113
  * Start time of the reservation
108
114
  * @type {Date}
@@ -156,7 +162,7 @@ export interface Reserve {
156
162
  * @type {string}
157
163
  * @memberof Reserve
158
164
  */
159
- phoneNumber: string;
165
+ phoneNumber?: string | null;
160
166
  /**
161
167
  * Name of the person making the reservation
162
168
  * @type {string}
@@ -174,7 +180,7 @@ export interface Reserve {
174
180
  * @type {PlayPrice}
175
181
  * @memberof Reserve
176
182
  */
177
- spotPrice: PlayPrice;
183
+ spotPrice?: PlayPrice;
178
184
  /**
179
185
  * Subscription ID (Optional)
180
186
  * @type {string}
@@ -208,12 +214,9 @@ export interface Reserve {
208
214
  */
209
215
  export function instanceOfReserve(value: object): value is Reserve {
210
216
  if (!('type' in value) || value['type'] === undefined) return false;
211
- if (!('locationId' in value) || value['locationId'] === undefined) return false;
212
217
  if (!('userId' in value) || value['userId'] === undefined) return false;
213
218
  if (!('memberIds' in value) || value['memberIds'] === undefined) return false;
214
219
  if (!('uniqueCode' in value) || value['uniqueCode'] === undefined) return false;
215
- if (!('playSpotId' in value) || value['playSpotId'] === undefined) return false;
216
- if (!('playSpotName' in value) || value['playSpotName'] === undefined) return false;
217
220
  if (!('rentedFrom' in value) || value['rentedFrom'] === undefined) return false;
218
221
  if (!('rentedTo' in value) || value['rentedTo'] === undefined) return false;
219
222
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
@@ -221,9 +224,7 @@ export function instanceOfReserve(value: object): value is Reserve {
221
224
  if (!('numberOfUsages' in value) || value['numberOfUsages'] === undefined) return false;
222
225
  if (!('messagesSent' in value) || value['messagesSent'] === undefined) return false;
223
226
  if (!('status' in value) || value['status'] === undefined) return false;
224
- if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
225
227
  if (!('userName' in value) || value['userName'] === undefined) return false;
226
- if (!('spotPrice' in value) || value['spotPrice'] === undefined) return false;
227
228
  if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
228
229
  return true;
229
230
  }
@@ -240,12 +241,13 @@ export function ReserveFromJSONTyped(json: any, ignoreDiscriminator: boolean): R
240
241
 
241
242
  'id': json['id'] == null ? undefined : json['id'],
242
243
  'type': ReserveTypeFromJSON(json['type']),
243
- 'locationId': json['locationId'],
244
+ 'locationId': json['locationId'] == null ? undefined : json['locationId'],
244
245
  'userId': json['userId'],
245
246
  'memberIds': json['memberIds'],
246
247
  'uniqueCode': json['uniqueCode'],
247
- 'playSpotId': json['playSpotId'],
248
- 'playSpotName': json['playSpotName'],
248
+ 'playSpotId': json['playSpotId'] == null ? undefined : json['playSpotId'],
249
+ 'playSpotName': json['playSpotName'] == null ? undefined : json['playSpotName'],
250
+ 'playSearchId': json['playSearchId'] == null ? undefined : json['playSearchId'],
249
251
  'rentedFrom': (new Date(json['rentedFrom'])),
250
252
  'rentedTo': (new Date(json['rentedTo'])),
251
253
  'createdAt': (new Date(json['createdAt'])),
@@ -254,10 +256,10 @@ export function ReserveFromJSONTyped(json: any, ignoreDiscriminator: boolean): R
254
256
  'messagesSent': json['messagesSent'],
255
257
  'status': ReserveStatusFromJSON(json['status']),
256
258
  'coachId': json['coachId'] == null ? undefined : json['coachId'],
257
- 'phoneNumber': json['phoneNumber'],
259
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
258
260
  'userName': json['userName'],
259
261
  'table': json['table'] == null ? undefined : json['table'],
260
- 'spotPrice': PlayPriceFromJSON(json['spotPrice']),
262
+ 'spotPrice': json['spotPrice'] == null ? undefined : PlayPriceFromJSON(json['spotPrice']),
261
263
  'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
262
264
  'paymentMethod': PaymentMethodFromJSON(json['paymentMethod']),
263
265
  'notes': json['notes'] == null ? undefined : json['notes'],
@@ -284,6 +286,7 @@ export function ReserveToJSONTyped(value?: Reserve | null, ignoreDiscriminator:
284
286
  'uniqueCode': value['uniqueCode'],
285
287
  'playSpotId': value['playSpotId'],
286
288
  'playSpotName': value['playSpotName'],
289
+ 'playSearchId': value['playSearchId'],
287
290
  'rentedFrom': ((value['rentedFrom']).toISOString()),
288
291
  'rentedTo': ((value['rentedTo']).toISOString()),
289
292
  'createdAt': ((value['createdAt']).toISOString()),
@@ -20,6 +20,7 @@
20
20
  export const ReserveType = {
21
21
  Play: 'PLAY',
22
22
  Coach: 'COACH',
23
+ Community: 'COMMUNITY',
23
24
  Tournament: 'TOURNAMENT',
24
25
  Training: 'TRAINING',
25
26
  Birthday: 'BIRTHDAY',
@@ -0,0 +1,98 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SaveTransferDetailsRequest
20
+ */
21
+ export interface SaveTransferDetailsRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SaveTransferDetailsRequest
26
+ */
27
+ titular?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SaveTransferDetailsRequest
32
+ */
33
+ cuitCuil?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SaveTransferDetailsRequest
38
+ */
39
+ cuenta?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof SaveTransferDetailsRequest
44
+ */
45
+ cbu?: string;
46
+ /**
47
+ * Bank alias (required)
48
+ * @type {string}
49
+ * @memberof SaveTransferDetailsRequest
50
+ */
51
+ alias: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the SaveTransferDetailsRequest interface.
56
+ */
57
+ export function instanceOfSaveTransferDetailsRequest(value: object): value is SaveTransferDetailsRequest {
58
+ if (!('alias' in value) || value['alias'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function SaveTransferDetailsRequestFromJSON(json: any): SaveTransferDetailsRequest {
63
+ return SaveTransferDetailsRequestFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function SaveTransferDetailsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveTransferDetailsRequest {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'titular': json['titular'] == null ? undefined : json['titular'],
73
+ 'cuitCuil': json['cuitCuil'] == null ? undefined : json['cuitCuil'],
74
+ 'cuenta': json['cuenta'] == null ? undefined : json['cuenta'],
75
+ 'cbu': json['cbu'] == null ? undefined : json['cbu'],
76
+ 'alias': json['alias'],
77
+ };
78
+ }
79
+
80
+ export function SaveTransferDetailsRequestToJSON(json: any): SaveTransferDetailsRequest {
81
+ return SaveTransferDetailsRequestToJSONTyped(json, false);
82
+ }
83
+
84
+ export function SaveTransferDetailsRequestToJSONTyped(value?: SaveTransferDetailsRequest | null, ignoreDiscriminator: boolean = false): any {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+
89
+ return {
90
+
91
+ 'titular': value['titular'],
92
+ 'cuitCuil': value['cuitCuil'],
93
+ 'cuenta': value['cuenta'],
94
+ 'cbu': value['cbu'],
95
+ 'alias': value['alias'],
96
+ };
97
+ }
98
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ToggleUserCashPaymentRequest
20
+ */
21
+ export interface ToggleUserCashPaymentRequest {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ToggleUserCashPaymentRequest
26
+ */
27
+ enabled: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ToggleUserCashPaymentRequest interface.
32
+ */
33
+ export function instanceOfToggleUserCashPaymentRequest(value: object): value is ToggleUserCashPaymentRequest {
34
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function ToggleUserCashPaymentRequestFromJSON(json: any): ToggleUserCashPaymentRequest {
39
+ return ToggleUserCashPaymentRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ToggleUserCashPaymentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToggleUserCashPaymentRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'enabled': json['enabled'],
49
+ };
50
+ }
51
+
52
+ export function ToggleUserCashPaymentRequestToJSON(json: any): ToggleUserCashPaymentRequest {
53
+ return ToggleUserCashPaymentRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function ToggleUserCashPaymentRequestToJSONTyped(value?: ToggleUserCashPaymentRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'enabled': value['enabled'],
64
+ };
65
+ }
66
+
@@ -124,7 +124,8 @@ export interface UpcomingActivityDto {
124
124
  export const UpcomingActivityDtoSourceEnum = {
125
125
  Reserve: 'reserve',
126
126
  CoachClass: 'coach_class',
127
- PlayRegistration: 'play_registration'
127
+ PlayRegistration: 'play_registration',
128
+ PlaySearchReserve: 'play_search_reserve'
128
129
  } as const;
129
130
  export type UpcomingActivityDtoSourceEnum = typeof UpcomingActivityDtoSourceEnum[keyof typeof UpcomingActivityDtoSourceEnum];
130
131
 
@@ -0,0 +1,165 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UserPayment
20
+ */
21
+ export interface UserPayment {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof UserPayment
26
+ */
27
+ id?: string | null;
28
+ /**
29
+ * ID of the user this payment config belongs to
30
+ * @type {string}
31
+ * @memberof UserPayment
32
+ */
33
+ userId: string;
34
+ /**
35
+ * COBRO (receiving payments) or PAGO (making payments, future)
36
+ * @type {string}
37
+ * @memberof UserPayment
38
+ */
39
+ type: string;
40
+ /**
41
+ * Payment method type (MERCADOPAGO, TRANSFER)
42
+ * @type {string}
43
+ * @memberof UserPayment
44
+ */
45
+ paymentMethod: string;
46
+ /**
47
+ * Whether this payment configuration is active
48
+ * @type {boolean}
49
+ * @memberof UserPayment
50
+ */
51
+ enabled: boolean;
52
+ /**
53
+ * MercadoPago account ID (only for MERCADOPAGO)
54
+ * @type {string}
55
+ * @memberof UserPayment
56
+ */
57
+ providerId?: string | null;
58
+ /**
59
+ * Account holder name (only for TRANSFER)
60
+ * @type {string}
61
+ * @memberof UserPayment
62
+ */
63
+ titular?: string | null;
64
+ /**
65
+ * Tax ID CUIT/CUIL (only for TRANSFER)
66
+ * @type {string}
67
+ * @memberof UserPayment
68
+ */
69
+ cuitCuil?: string | null;
70
+ /**
71
+ * Account number (only for TRANSFER)
72
+ * @type {string}
73
+ * @memberof UserPayment
74
+ */
75
+ cuenta?: string | null;
76
+ /**
77
+ * CBU 22-digit code (only for TRANSFER)
78
+ * @type {string}
79
+ * @memberof UserPayment
80
+ */
81
+ cbu?: string | null;
82
+ /**
83
+ * Bank alias (only for TRANSFER, most important field)
84
+ * @type {string}
85
+ * @memberof UserPayment
86
+ */
87
+ alias?: string | null;
88
+ /**
89
+ *
90
+ * @type {Date}
91
+ * @memberof UserPayment
92
+ */
93
+ createdAt?: Date;
94
+ /**
95
+ *
96
+ * @type {Date}
97
+ * @memberof UserPayment
98
+ */
99
+ updatedAt?: Date;
100
+ }
101
+
102
+ /**
103
+ * Check if a given object implements the UserPayment interface.
104
+ */
105
+ export function instanceOfUserPayment(value: object): value is UserPayment {
106
+ if (!('userId' in value) || value['userId'] === undefined) return false;
107
+ if (!('type' in value) || value['type'] === undefined) return false;
108
+ if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
109
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
110
+ return true;
111
+ }
112
+
113
+ export function UserPaymentFromJSON(json: any): UserPayment {
114
+ return UserPaymentFromJSONTyped(json, false);
115
+ }
116
+
117
+ export function UserPaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPayment {
118
+ if (json == null) {
119
+ return json;
120
+ }
121
+ return {
122
+
123
+ 'id': json['id'] == null ? undefined : json['id'],
124
+ 'userId': json['userId'],
125
+ 'type': json['type'],
126
+ 'paymentMethod': json['paymentMethod'],
127
+ 'enabled': json['enabled'],
128
+ 'providerId': json['providerId'] == null ? undefined : json['providerId'],
129
+ 'titular': json['titular'] == null ? undefined : json['titular'],
130
+ 'cuitCuil': json['cuitCuil'] == null ? undefined : json['cuitCuil'],
131
+ 'cuenta': json['cuenta'] == null ? undefined : json['cuenta'],
132
+ 'cbu': json['cbu'] == null ? undefined : json['cbu'],
133
+ 'alias': json['alias'] == null ? undefined : json['alias'],
134
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
135
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
136
+ };
137
+ }
138
+
139
+ export function UserPaymentToJSON(json: any): UserPayment {
140
+ return UserPaymentToJSONTyped(json, false);
141
+ }
142
+
143
+ export function UserPaymentToJSONTyped(value?: UserPayment | null, ignoreDiscriminator: boolean = false): any {
144
+ if (value == null) {
145
+ return value;
146
+ }
147
+
148
+ return {
149
+
150
+ 'id': value['id'],
151
+ 'userId': value['userId'],
152
+ 'type': value['type'],
153
+ 'paymentMethod': value['paymentMethod'],
154
+ 'enabled': value['enabled'],
155
+ 'providerId': value['providerId'],
156
+ 'titular': value['titular'],
157
+ 'cuitCuil': value['cuitCuil'],
158
+ 'cuenta': value['cuenta'],
159
+ 'cbu': value['cbu'],
160
+ 'alias': value['alias'],
161
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
162
+ 'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
163
+ };
164
+ }
165
+
@@ -0,0 +1,129 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UserPaymentMethodDto
20
+ */
21
+ export interface UserPaymentMethodDto {
22
+ /**
23
+ * COBRO (receiving) or PAGO (paying)
24
+ * @type {string}
25
+ * @memberof UserPaymentMethodDto
26
+ */
27
+ type?: string;
28
+ /**
29
+ * CASH, TRANSFER, MERCADOPAGO (cobro); CARD (pago, future)
30
+ * @type {string}
31
+ * @memberof UserPaymentMethodDto
32
+ */
33
+ paymentMethod?: string;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof UserPaymentMethodDto
38
+ */
39
+ enabled?: boolean;
40
+ /**
41
+ * MercadoPago account ID (only for MERCADOPAGO)
42
+ * @type {string}
43
+ * @memberof UserPaymentMethodDto
44
+ */
45
+ providerId?: string | null;
46
+ /**
47
+ * Account holder (only for TRANSFER)
48
+ * @type {string}
49
+ * @memberof UserPaymentMethodDto
50
+ */
51
+ titular?: string | null;
52
+ /**
53
+ * CUIT/CUIL (only for TRANSFER)
54
+ * @type {string}
55
+ * @memberof UserPaymentMethodDto
56
+ */
57
+ cuitCuil?: string | null;
58
+ /**
59
+ * Account number (only for TRANSFER)
60
+ * @type {string}
61
+ * @memberof UserPaymentMethodDto
62
+ */
63
+ cuenta?: string | null;
64
+ /**
65
+ * CBU (only for TRANSFER)
66
+ * @type {string}
67
+ * @memberof UserPaymentMethodDto
68
+ */
69
+ cbu?: string | null;
70
+ /**
71
+ * Bank alias (only for TRANSFER, most important)
72
+ * @type {string}
73
+ * @memberof UserPaymentMethodDto
74
+ */
75
+ alias?: string | null;
76
+ }
77
+
78
+ /**
79
+ * Check if a given object implements the UserPaymentMethodDto interface.
80
+ */
81
+ export function instanceOfUserPaymentMethodDto(value: object): value is UserPaymentMethodDto {
82
+ return true;
83
+ }
84
+
85
+ export function UserPaymentMethodDtoFromJSON(json: any): UserPaymentMethodDto {
86
+ return UserPaymentMethodDtoFromJSONTyped(json, false);
87
+ }
88
+
89
+ export function UserPaymentMethodDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPaymentMethodDto {
90
+ if (json == null) {
91
+ return json;
92
+ }
93
+ return {
94
+
95
+ 'type': json['type'] == null ? undefined : json['type'],
96
+ 'paymentMethod': json['paymentMethod'] == null ? undefined : json['paymentMethod'],
97
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
98
+ 'providerId': json['providerId'] == null ? undefined : json['providerId'],
99
+ 'titular': json['titular'] == null ? undefined : json['titular'],
100
+ 'cuitCuil': json['cuitCuil'] == null ? undefined : json['cuitCuil'],
101
+ 'cuenta': json['cuenta'] == null ? undefined : json['cuenta'],
102
+ 'cbu': json['cbu'] == null ? undefined : json['cbu'],
103
+ 'alias': json['alias'] == null ? undefined : json['alias'],
104
+ };
105
+ }
106
+
107
+ export function UserPaymentMethodDtoToJSON(json: any): UserPaymentMethodDto {
108
+ return UserPaymentMethodDtoToJSONTyped(json, false);
109
+ }
110
+
111
+ export function UserPaymentMethodDtoToJSONTyped(value?: UserPaymentMethodDto | null, ignoreDiscriminator: boolean = false): any {
112
+ if (value == null) {
113
+ return value;
114
+ }
115
+
116
+ return {
117
+
118
+ 'type': value['type'],
119
+ 'paymentMethod': value['paymentMethod'],
120
+ 'enabled': value['enabled'],
121
+ 'providerId': value['providerId'],
122
+ 'titular': value['titular'],
123
+ 'cuitCuil': value['cuitCuil'],
124
+ 'cuenta': value['cuenta'],
125
+ 'cbu': value['cbu'],
126
+ 'alias': value['alias'],
127
+ };
128
+ }
129
+
@@ -159,6 +159,24 @@ export interface UserReserveDto {
159
159
  * @memberof UserReserveDto
160
160
  */
161
161
  playerName?: string | null;
162
+ /**
163
+ * Reserve type (PLAY, COACH, COMMUNITY, etc.)
164
+ * @type {string}
165
+ * @memberof UserReserveDto
166
+ */
167
+ reserveType?: string | null;
168
+ /**
169
+ * PlaySearch ID if this reserve originated from a PlaySearch
170
+ * @type {string}
171
+ * @memberof UserReserveDto
172
+ */
173
+ playSearchId?: string | null;
174
+ /**
175
+ * Tournament/Copa name from the PlaySearch
176
+ * @type {string}
177
+ * @memberof UserReserveDto
178
+ */
179
+ tournamentName?: string | null;
162
180
  }
163
181
 
164
182
 
@@ -230,6 +248,9 @@ export function UserReserveDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
230
248
  'coachName': json['coachName'] == null ? undefined : json['coachName'],
231
249
  'coachAvatarUrl': json['coachAvatarUrl'] == null ? undefined : json['coachAvatarUrl'],
232
250
  'playerName': json['playerName'] == null ? undefined : json['playerName'],
251
+ 'reserveType': json['reserveType'] == null ? undefined : json['reserveType'],
252
+ 'playSearchId': json['playSearchId'] == null ? undefined : json['playSearchId'],
253
+ 'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
233
254
  };
234
255
  }
235
256
 
@@ -266,6 +287,9 @@ export function UserReserveDtoToJSONTyped(value?: UserReserveDto | null, ignoreD
266
287
  'coachName': value['coachName'],
267
288
  'coachAvatarUrl': value['coachAvatarUrl'],
268
289
  'playerName': value['playerName'],
290
+ 'reserveType': value['reserveType'],
291
+ 'playSearchId': value['playSearchId'],
292
+ 'tournamentName': value['tournamentName'],
269
293
  };
270
294
  }
271
295
 
package/models/index.ts CHANGED
@@ -157,6 +157,7 @@ export * from './GetNotificationByType200Response';
157
157
  export * from './GetSession401Response';
158
158
  export * from './GetSession500Response';
159
159
  export * from './GetTeamFeedSummary200Response';
160
+ export * from './GetUserMercadoPagoAuthUrl200Response';
160
161
  export * from './GroupedPositionsResponse';
161
162
  export * from './GroupedPositionsResponseHome';
162
163
  export * from './HasDoorlock200Response';
@@ -223,6 +224,9 @@ export * from './PlaySearchDetailDTOAllOfCounts';
223
224
  export * from './PlaySearchDetailDTOAllOfRegistrations';
224
225
  export * from './PlaySearchDetailDTOAllOfUser';
225
226
  export * from './PlaySearchListResponse';
227
+ export * from './PlaySearchManagementDto';
228
+ export * from './PlaySearchManagementDtoRegistrationsInner';
229
+ export * from './PlaySearchManagementDtoRegistrationsInnerUser';
226
230
  export * from './PlaySearchPosition';
227
231
  export * from './PlaySearchStatus';
228
232
  export * from './PlaySearchType';
@@ -286,6 +290,7 @@ export * from './ResetPassword500Response';
286
290
  export * from './ResetPasswordRequest';
287
291
  export * from './SaveCoachBasicInfoRequest';
288
292
  export * from './SavePushTokenRequest';
293
+ export * from './SaveTransferDetailsRequest';
289
294
  export * from './SearchClubs400Response';
290
295
  export * from './SearchClubs500Response';
291
296
  export * from './SendEmailVerification500Response';
@@ -325,6 +330,7 @@ export * from './TestNotificationTemplateRequest';
325
330
  export * from './TimeOfDay';
326
331
  export * from './ToggleNotificationByType200Response';
327
332
  export * from './ToggleServiceConfigRequest';
333
+ export * from './ToggleUserCashPaymentRequest';
328
334
  export * from './TrainerFeedDto';
329
335
  export * from './TrainerFeedDtoStats';
330
336
  export * from './TrainingSubscriptionDto';
@@ -359,6 +365,8 @@ export * from './UserDto';
359
365
  export * from './UserInvitation';
360
366
  export * from './UserNotificationConfig';
361
367
  export * from './UserNotificationDto';
368
+ export * from './UserPayment';
369
+ export * from './UserPaymentMethodDto';
362
370
  export * from './UserRating';
363
371
  export * from './UserReserveDto';
364
372
  export * from './UserRole';