@jugarhoy/api 1.1.33 → 1.1.35
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/apis/CoachApi.ts +1199 -42
- package/apis/CoachWorkspaceApi.ts +93 -0
- package/apis/MyActivitiesApi.ts +72 -0
- package/apis/PlayerCoachBookingApi.ts +92 -7
- package/apis/PublicCoachDiscoveryApi.ts +292 -0
- package/apis/SubscriptionsApi.ts +64 -0
- package/apis/index.ts +3 -0
- package/models/AddCoachSubscriptionMemberRequest.ts +97 -0
- package/models/AddShiftWithLocationDto.ts +231 -0
- package/models/AgendaSlotDto.ts +142 -0
- package/models/CoachClassDetailDto.ts +88 -0
- package/models/CoachClassFilters.ts +3 -3
- package/models/CoachClassLocationDto.ts +89 -0
- package/models/CoachLocationRegistrationDto.ts +149 -0
- package/models/CoachPaymentsDto.ts +81 -0
- package/models/CoachProfileDto.ts +104 -0
- package/models/CoachPublicSubscriptionDto.ts +183 -0
- package/models/CoachSearchParams.ts +42 -2
- package/models/CoachShiftInputDto.ts +170 -0
- package/models/CoachShiftRegistrationDto.ts +176 -0
- package/models/CoachTeamPlayerDto.ts +97 -0
- package/models/CoachTrainingTeamDto.ts +121 -0
- package/models/CoachWorkspaceLocationDto.ts +137 -0
- package/models/CoachWorkspaceProfileDto.ts +225 -0
- package/models/CoachWorkspaceShiftDto.ts +201 -0
- package/models/CreatePreReservationDto.ts +110 -0
- package/models/CreateRecurringGameRequest.ts +27 -0
- package/models/DayAgendaDto.ts +89 -0
- package/models/GenerateCoachSubscriptionBillsRequest.ts +74 -0
- package/models/GetCoachMercadoPagoAuthUrl200Response.ts +65 -0
- package/models/GetCoachSubscriptionMemberDebt200ResponseInner.ts +81 -0
- package/models/LinkCoachMercadoPagoRequest.ts +66 -0
- package/models/LinkPreview.ts +97 -0
- package/models/LinkShiftToTeamRequest.ts +65 -0
- package/models/MarkCoachSubscriptionBillPaid200Response.ts +65 -0
- package/models/PlaySubscription.ts +8 -0
- package/models/PublicAgendaSlotDto.ts +102 -0
- package/models/PublicDayAgendaDto.ts +92 -0
- package/models/PublicWeeklyAgendaDto.ts +83 -0
- package/models/RecurringGame.ts +27 -0
- package/models/RecurringGameResponse.ts +29 -0
- package/models/RegisterCoachProfileDto.ts +213 -0
- package/models/RegisterCoachProfileResponseDto.ts +89 -0
- package/models/ReserveStatus.ts +1 -0
- package/models/SubscriptionRequestResponseDto.ts +96 -0
- package/models/TeamResponse.ts +16 -0
- package/models/TrainingSubscriptionDto.ts +167 -0
- package/models/UpcomingActivityDto.ts +217 -0
- package/models/UpdateCoachProfileDto.ts +161 -0
- package/models/UpdateRecurringGameRequest.ts +27 -0
- package/models/UserDto.ts +31 -0
- package/models/UserReserveDto.ts +41 -0
- package/models/WeeklyAgendaDto.ts +81 -0
- package/models/index.ts +34 -0
- package/package.json +1 -1
package/apis/index.ts
CHANGED
|
@@ -32,13 +32,16 @@ export * from './FALTA1NotificationsApi';
|
|
|
32
32
|
export * from './HealthApi';
|
|
33
33
|
export * from './MercadoPagoApi';
|
|
34
34
|
export * from './MercadoPagoIPNApi';
|
|
35
|
+
export * from './MyActivitiesApi';
|
|
35
36
|
export * from './NotificationsApi';
|
|
36
37
|
export * from './PlaySpotsApi';
|
|
37
38
|
export * from './PlayerCoachBookingApi';
|
|
38
39
|
export * from './PositionsApi';
|
|
40
|
+
export * from './PublicCoachDiscoveryApi';
|
|
39
41
|
export * from './RecurringGamesApi';
|
|
40
42
|
export * from './ReservesApi';
|
|
41
43
|
export * from './SportEventsApi';
|
|
44
|
+
export * from './SubscriptionsApi';
|
|
42
45
|
export * from './TeamFeedApi';
|
|
43
46
|
export * from './TeamsApi';
|
|
44
47
|
export * from './UsersApi';
|
|
@@ -0,0 +1,97 @@
|
|
|
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 AddCoachSubscriptionMemberRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AddCoachSubscriptionMemberRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AddCoachSubscriptionMemberRequest
|
|
26
|
+
*/
|
|
27
|
+
memberId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AddCoachSubscriptionMemberRequest
|
|
32
|
+
*/
|
|
33
|
+
phone?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AddCoachSubscriptionMemberRequest
|
|
38
|
+
*/
|
|
39
|
+
email?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AddCoachSubscriptionMemberRequest
|
|
44
|
+
*/
|
|
45
|
+
firstName?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AddCoachSubscriptionMemberRequest
|
|
50
|
+
*/
|
|
51
|
+
lastName?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the AddCoachSubscriptionMemberRequest interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfAddCoachSubscriptionMemberRequest(value: object): value is AddCoachSubscriptionMemberRequest {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function AddCoachSubscriptionMemberRequestFromJSON(json: any): AddCoachSubscriptionMemberRequest {
|
|
62
|
+
return AddCoachSubscriptionMemberRequestFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function AddCoachSubscriptionMemberRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddCoachSubscriptionMemberRequest {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'memberId': json['memberId'] == null ? undefined : json['memberId'],
|
|
72
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
73
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
74
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
75
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function AddCoachSubscriptionMemberRequestToJSON(json: any): AddCoachSubscriptionMemberRequest {
|
|
80
|
+
return AddCoachSubscriptionMemberRequestToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function AddCoachSubscriptionMemberRequestToJSONTyped(value?: AddCoachSubscriptionMemberRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'memberId': value['memberId'],
|
|
91
|
+
'phone': value['phone'],
|
|
92
|
+
'email': value['email'],
|
|
93
|
+
'firstName': value['firstName'],
|
|
94
|
+
'lastName': value['lastName'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,231 @@
|
|
|
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 AddShiftWithLocationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AddShiftWithLocationDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AddShiftWithLocationDto
|
|
26
|
+
*/
|
|
27
|
+
clubPlaceId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AddShiftWithLocationDto
|
|
32
|
+
*/
|
|
33
|
+
clubPlaceName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AddShiftWithLocationDto
|
|
38
|
+
*/
|
|
39
|
+
address: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof AddShiftWithLocationDto
|
|
44
|
+
*/
|
|
45
|
+
latitude: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof AddShiftWithLocationDto
|
|
50
|
+
*/
|
|
51
|
+
longitude: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof AddShiftWithLocationDto
|
|
56
|
+
*/
|
|
57
|
+
isDomicilio?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof AddShiftWithLocationDto
|
|
62
|
+
*/
|
|
63
|
+
originAddress?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof AddShiftWithLocationDto
|
|
68
|
+
*/
|
|
69
|
+
maxDistanceKm?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof AddShiftWithLocationDto
|
|
74
|
+
*/
|
|
75
|
+
name: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof AddShiftWithLocationDto
|
|
80
|
+
*/
|
|
81
|
+
days: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof AddShiftWithLocationDto
|
|
86
|
+
*/
|
|
87
|
+
fromHour: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof AddShiftWithLocationDto
|
|
92
|
+
*/
|
|
93
|
+
toHour: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Array<number>}
|
|
97
|
+
* @memberof AddShiftWithLocationDto
|
|
98
|
+
*/
|
|
99
|
+
durations: Array<number>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof AddShiftWithLocationDto
|
|
104
|
+
*/
|
|
105
|
+
isGroupal: boolean;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof AddShiftWithLocationDto
|
|
110
|
+
*/
|
|
111
|
+
maxPlayers?: number;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof AddShiftWithLocationDto
|
|
116
|
+
*/
|
|
117
|
+
billingType?: AddShiftWithLocationDtoBillingTypeEnum;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {{ [key: string]: number; }}
|
|
121
|
+
* @memberof AddShiftWithLocationDto
|
|
122
|
+
*/
|
|
123
|
+
pricePerDuration?: { [key: string]: number; };
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {number}
|
|
127
|
+
* @memberof AddShiftWithLocationDto
|
|
128
|
+
*/
|
|
129
|
+
monthlyPrice?: number;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof AddShiftWithLocationDto
|
|
134
|
+
*/
|
|
135
|
+
pricePerClass?: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @export
|
|
141
|
+
*/
|
|
142
|
+
export const AddShiftWithLocationDtoBillingTypeEnum = {
|
|
143
|
+
PerClass: 'PER_CLASS',
|
|
144
|
+
Monthly: 'MONTHLY'
|
|
145
|
+
} as const;
|
|
146
|
+
export type AddShiftWithLocationDtoBillingTypeEnum = typeof AddShiftWithLocationDtoBillingTypeEnum[keyof typeof AddShiftWithLocationDtoBillingTypeEnum];
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Check if a given object implements the AddShiftWithLocationDto interface.
|
|
151
|
+
*/
|
|
152
|
+
export function instanceOfAddShiftWithLocationDto(value: object): value is AddShiftWithLocationDto {
|
|
153
|
+
if (!('clubPlaceId' in value) || value['clubPlaceId'] === undefined) return false;
|
|
154
|
+
if (!('clubPlaceName' in value) || value['clubPlaceName'] === undefined) return false;
|
|
155
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
156
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
157
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
158
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
159
|
+
if (!('days' in value) || value['days'] === undefined) return false;
|
|
160
|
+
if (!('fromHour' in value) || value['fromHour'] === undefined) return false;
|
|
161
|
+
if (!('toHour' in value) || value['toHour'] === undefined) return false;
|
|
162
|
+
if (!('durations' in value) || value['durations'] === undefined) return false;
|
|
163
|
+
if (!('isGroupal' in value) || value['isGroupal'] === undefined) return false;
|
|
164
|
+
return true;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function AddShiftWithLocationDtoFromJSON(json: any): AddShiftWithLocationDto {
|
|
168
|
+
return AddShiftWithLocationDtoFromJSONTyped(json, false);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function AddShiftWithLocationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddShiftWithLocationDto {
|
|
172
|
+
if (json == null) {
|
|
173
|
+
return json;
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
|
|
177
|
+
'clubPlaceId': json['clubPlaceId'],
|
|
178
|
+
'clubPlaceName': json['clubPlaceName'],
|
|
179
|
+
'address': json['address'],
|
|
180
|
+
'latitude': json['latitude'],
|
|
181
|
+
'longitude': json['longitude'],
|
|
182
|
+
'isDomicilio': json['isDomicilio'] == null ? undefined : json['isDomicilio'],
|
|
183
|
+
'originAddress': json['originAddress'] == null ? undefined : json['originAddress'],
|
|
184
|
+
'maxDistanceKm': json['maxDistanceKm'] == null ? undefined : json['maxDistanceKm'],
|
|
185
|
+
'name': json['name'],
|
|
186
|
+
'days': json['days'],
|
|
187
|
+
'fromHour': json['fromHour'],
|
|
188
|
+
'toHour': json['toHour'],
|
|
189
|
+
'durations': json['durations'],
|
|
190
|
+
'isGroupal': json['isGroupal'],
|
|
191
|
+
'maxPlayers': json['maxPlayers'] == null ? undefined : json['maxPlayers'],
|
|
192
|
+
'billingType': json['billingType'] == null ? undefined : json['billingType'],
|
|
193
|
+
'pricePerDuration': json['pricePerDuration'] == null ? undefined : json['pricePerDuration'],
|
|
194
|
+
'monthlyPrice': json['monthlyPrice'] == null ? undefined : json['monthlyPrice'],
|
|
195
|
+
'pricePerClass': json['pricePerClass'] == null ? undefined : json['pricePerClass'],
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export function AddShiftWithLocationDtoToJSON(json: any): AddShiftWithLocationDto {
|
|
200
|
+
return AddShiftWithLocationDtoToJSONTyped(json, false);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export function AddShiftWithLocationDtoToJSONTyped(value?: AddShiftWithLocationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
204
|
+
if (value == null) {
|
|
205
|
+
return value;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
return {
|
|
209
|
+
|
|
210
|
+
'clubPlaceId': value['clubPlaceId'],
|
|
211
|
+
'clubPlaceName': value['clubPlaceName'],
|
|
212
|
+
'address': value['address'],
|
|
213
|
+
'latitude': value['latitude'],
|
|
214
|
+
'longitude': value['longitude'],
|
|
215
|
+
'isDomicilio': value['isDomicilio'],
|
|
216
|
+
'originAddress': value['originAddress'],
|
|
217
|
+
'maxDistanceKm': value['maxDistanceKm'],
|
|
218
|
+
'name': value['name'],
|
|
219
|
+
'days': value['days'],
|
|
220
|
+
'fromHour': value['fromHour'],
|
|
221
|
+
'toHour': value['toHour'],
|
|
222
|
+
'durations': value['durations'],
|
|
223
|
+
'isGroupal': value['isGroupal'],
|
|
224
|
+
'maxPlayers': value['maxPlayers'],
|
|
225
|
+
'billingType': value['billingType'],
|
|
226
|
+
'pricePerDuration': value['pricePerDuration'],
|
|
227
|
+
'monthlyPrice': value['monthlyPrice'],
|
|
228
|
+
'pricePerClass': value['pricePerClass'],
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
|
|
@@ -0,0 +1,142 @@
|
|
|
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 AgendaSlotDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AgendaSlotDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AgendaSlotDto
|
|
26
|
+
*/
|
|
27
|
+
hour?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AgendaSlotDto
|
|
32
|
+
*/
|
|
33
|
+
status?: AgendaSlotDtoStatusEnum;
|
|
34
|
+
/**
|
|
35
|
+
* true = group class shift (managed via subscription); false = individual shift
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof AgendaSlotDto
|
|
38
|
+
*/
|
|
39
|
+
isGroupal?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AgendaSlotDto
|
|
44
|
+
*/
|
|
45
|
+
subscriptionId?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AgendaSlotDto
|
|
50
|
+
*/
|
|
51
|
+
shiftId?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof AgendaSlotDto
|
|
56
|
+
*/
|
|
57
|
+
playSpotId?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof AgendaSlotDto
|
|
62
|
+
*/
|
|
63
|
+
reserveId?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof AgendaSlotDto
|
|
68
|
+
*/
|
|
69
|
+
playerName?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof AgendaSlotDto
|
|
74
|
+
*/
|
|
75
|
+
locationName?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const AgendaSlotDtoStatusEnum = {
|
|
83
|
+
Available: 'available',
|
|
84
|
+
Confirmed: 'confirmed',
|
|
85
|
+
PreReservation: 'pre_reservation',
|
|
86
|
+
Disabled: 'disabled'
|
|
87
|
+
} as const;
|
|
88
|
+
export type AgendaSlotDtoStatusEnum = typeof AgendaSlotDtoStatusEnum[keyof typeof AgendaSlotDtoStatusEnum];
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the AgendaSlotDto interface.
|
|
93
|
+
*/
|
|
94
|
+
export function instanceOfAgendaSlotDto(value: object): value is AgendaSlotDto {
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function AgendaSlotDtoFromJSON(json: any): AgendaSlotDto {
|
|
99
|
+
return AgendaSlotDtoFromJSONTyped(json, false);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function AgendaSlotDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgendaSlotDto {
|
|
103
|
+
if (json == null) {
|
|
104
|
+
return json;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
|
|
108
|
+
'hour': json['hour'] == null ? undefined : json['hour'],
|
|
109
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
110
|
+
'isGroupal': json['isGroupal'] == null ? undefined : json['isGroupal'],
|
|
111
|
+
'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
|
|
112
|
+
'shiftId': json['shiftId'] == null ? undefined : json['shiftId'],
|
|
113
|
+
'playSpotId': json['playSpotId'] == null ? undefined : json['playSpotId'],
|
|
114
|
+
'reserveId': json['reserveId'] == null ? undefined : json['reserveId'],
|
|
115
|
+
'playerName': json['playerName'] == null ? undefined : json['playerName'],
|
|
116
|
+
'locationName': json['locationName'] == null ? undefined : json['locationName'],
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function AgendaSlotDtoToJSON(json: any): AgendaSlotDto {
|
|
121
|
+
return AgendaSlotDtoToJSONTyped(json, false);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function AgendaSlotDtoToJSONTyped(value?: AgendaSlotDto | null, ignoreDiscriminator: boolean = false): any {
|
|
125
|
+
if (value == null) {
|
|
126
|
+
return value;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
return {
|
|
130
|
+
|
|
131
|
+
'hour': value['hour'],
|
|
132
|
+
'status': value['status'],
|
|
133
|
+
'isGroupal': value['isGroupal'],
|
|
134
|
+
'subscriptionId': value['subscriptionId'],
|
|
135
|
+
'shiftId': value['shiftId'],
|
|
136
|
+
'playSpotId': value['playSpotId'],
|
|
137
|
+
'reserveId': value['reserveId'],
|
|
138
|
+
'playerName': value['playerName'],
|
|
139
|
+
'locationName': value['locationName'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
import type { Reserve } from './Reserve';
|
|
17
|
+
import {
|
|
18
|
+
ReserveFromJSON,
|
|
19
|
+
ReserveFromJSONTyped,
|
|
20
|
+
ReserveToJSON,
|
|
21
|
+
ReserveToJSONTyped,
|
|
22
|
+
} from './Reserve';
|
|
23
|
+
import type { CoachClassLocationDto } from './CoachClassLocationDto';
|
|
24
|
+
import {
|
|
25
|
+
CoachClassLocationDtoFromJSON,
|
|
26
|
+
CoachClassLocationDtoFromJSONTyped,
|
|
27
|
+
CoachClassLocationDtoToJSON,
|
|
28
|
+
CoachClassLocationDtoToJSONTyped,
|
|
29
|
+
} from './CoachClassLocationDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface CoachClassDetailDto
|
|
35
|
+
*/
|
|
36
|
+
export interface CoachClassDetailDto {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Reserve}
|
|
40
|
+
* @memberof CoachClassDetailDto
|
|
41
|
+
*/
|
|
42
|
+
reserve?: Reserve;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {CoachClassLocationDto}
|
|
46
|
+
* @memberof CoachClassDetailDto
|
|
47
|
+
*/
|
|
48
|
+
location?: CoachClassLocationDto;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the CoachClassDetailDto interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfCoachClassDetailDto(value: object): value is CoachClassDetailDto {
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function CoachClassDetailDtoFromJSON(json: any): CoachClassDetailDto {
|
|
59
|
+
return CoachClassDetailDtoFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function CoachClassDetailDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoachClassDetailDto {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'reserve': json['reserve'] == null ? undefined : ReserveFromJSON(json['reserve']),
|
|
69
|
+
'location': json['location'] == null ? undefined : CoachClassLocationDtoFromJSON(json['location']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function CoachClassDetailDtoToJSON(json: any): CoachClassDetailDto {
|
|
74
|
+
return CoachClassDetailDtoToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function CoachClassDetailDtoToJSONTyped(value?: CoachClassDetailDto | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'reserve': ReserveToJSON(value['reserve']),
|
|
85
|
+
'location': CoachClassLocationDtoToJSON(value['location']),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface CoachClassFilters {
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CoachClassFilters
|
|
34
34
|
*/
|
|
@@ -40,13 +40,13 @@ export interface CoachClassFilters {
|
|
|
40
40
|
*/
|
|
41
41
|
status?: ReserveStatus;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
*
|
|
44
44
|
* @type {Date}
|
|
45
45
|
* @memberof CoachClassFilters
|
|
46
46
|
*/
|
|
47
47
|
fromDate?: Date;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
*
|
|
50
50
|
* @type {Date}
|
|
51
51
|
* @memberof CoachClassFilters
|
|
52
52
|
*/
|
|
@@ -0,0 +1,89 @@
|
|
|
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 CoachClassLocationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CoachClassLocationDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CoachClassLocationDto
|
|
26
|
+
*/
|
|
27
|
+
locationId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CoachClassLocationDto
|
|
32
|
+
*/
|
|
33
|
+
locationName?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CoachClassLocationDto
|
|
38
|
+
*/
|
|
39
|
+
clubPlaceName?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CoachClassLocationDto
|
|
44
|
+
*/
|
|
45
|
+
clubPlaceAddress?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CoachClassLocationDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfCoachClassLocationDto(value: object): value is CoachClassLocationDto {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function CoachClassLocationDtoFromJSON(json: any): CoachClassLocationDto {
|
|
56
|
+
return CoachClassLocationDtoFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function CoachClassLocationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoachClassLocationDto {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'locationId': json['locationId'] == null ? undefined : json['locationId'],
|
|
66
|
+
'locationName': json['locationName'] == null ? undefined : json['locationName'],
|
|
67
|
+
'clubPlaceName': json['clubPlaceName'] == null ? undefined : json['clubPlaceName'],
|
|
68
|
+
'clubPlaceAddress': json['clubPlaceAddress'] == null ? undefined : json['clubPlaceAddress'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function CoachClassLocationDtoToJSON(json: any): CoachClassLocationDto {
|
|
73
|
+
return CoachClassLocationDtoToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function CoachClassLocationDtoToJSONTyped(value?: CoachClassLocationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'locationId': value['locationId'],
|
|
84
|
+
'locationName': value['locationName'],
|
|
85
|
+
'clubPlaceName': value['clubPlaceName'],
|
|
86
|
+
'clubPlaceAddress': value['clubPlaceAddress'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|