@tennac-booking/sdk 1.0.69 → 1.0.70
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/.openapi-generator/FILES +5 -2
- package/README.md +6 -2
- package/api.ts +483 -54
- package/dist/api.d.ts +397 -48
- package/dist/api.js +115 -13
- package/dist/esm/api.d.ts +397 -48
- package/dist/esm/api.js +114 -12
- package/docs/BookingDetailResponse.md +1 -1
- package/docs/{BookingHistory.md → BookingHistoryPopulated.md} +4 -4
- package/docs/BookingPopulated.md +27 -7
- package/docs/BookingStatus.md +1 -1
- package/docs/BookingSummary.md +1 -1
- package/docs/BookingsApi.md +81 -2
- package/docs/BookingsStaffApi.md +2 -2
- package/docs/QuickReservationClubSummary.md +28 -0
- package/docs/QuickReservationClubSummaryLocation.md +31 -0
- package/docs/QuickReservationResponse.md +22 -0
- package/docs/QuickReservationSlotSummary.md +42 -0
- package/docs/UserInfo.md +4 -0
- package/docs/UsersApi.md +0 -3
- package/package.json +1 -1
- package/docs/BookingSummaryBookingHistory.md +0 -18
package/dist/esm/api.d.ts
CHANGED
|
@@ -230,10 +230,10 @@ export interface BookingDetailResponse {
|
|
|
230
230
|
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
|
-
* @type {
|
|
233
|
+
* @type {BookingHistoryPopulated}
|
|
234
234
|
* @memberof BookingDetailResponse
|
|
235
235
|
*/
|
|
236
|
-
'bookingHistory'?:
|
|
236
|
+
'bookingHistory'?: BookingHistoryPopulated;
|
|
237
237
|
/**
|
|
238
238
|
*
|
|
239
239
|
* @type {Array<{ [key: string]: any; }>}
|
|
@@ -246,64 +246,64 @@ export interface BookingDetailResponse {
|
|
|
246
246
|
/**
|
|
247
247
|
*
|
|
248
248
|
* @export
|
|
249
|
-
* @interface
|
|
249
|
+
* @interface BookingHistoryPopulated
|
|
250
250
|
*/
|
|
251
|
-
export interface
|
|
251
|
+
export interface BookingHistoryPopulated {
|
|
252
252
|
/**
|
|
253
253
|
*
|
|
254
254
|
* @type {string}
|
|
255
|
-
* @memberof
|
|
255
|
+
* @memberof BookingHistoryPopulated
|
|
256
256
|
*/
|
|
257
257
|
'action': string;
|
|
258
258
|
/**
|
|
259
259
|
*
|
|
260
|
-
* @type {
|
|
261
|
-
* @memberof
|
|
260
|
+
* @type {UserInfo}
|
|
261
|
+
* @memberof BookingHistoryPopulated
|
|
262
262
|
*/
|
|
263
|
-
'performedBy':
|
|
263
|
+
'performedBy': UserInfo;
|
|
264
264
|
/**
|
|
265
265
|
*
|
|
266
266
|
* @type {string}
|
|
267
|
-
* @memberof
|
|
267
|
+
* @memberof BookingHistoryPopulated
|
|
268
268
|
*/
|
|
269
|
-
'performedByType':
|
|
269
|
+
'performedByType': BookingHistoryPopulatedPerformedByTypeEnum;
|
|
270
270
|
/**
|
|
271
271
|
*
|
|
272
272
|
* @type {string}
|
|
273
|
-
* @memberof
|
|
273
|
+
* @memberof BookingHistoryPopulated
|
|
274
274
|
*/
|
|
275
275
|
'details': string;
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
278
|
* @type {any}
|
|
279
|
-
* @memberof
|
|
279
|
+
* @memberof BookingHistoryPopulated
|
|
280
280
|
*/
|
|
281
281
|
'metadata'?: any;
|
|
282
282
|
/**
|
|
283
283
|
*
|
|
284
284
|
* @type {string}
|
|
285
|
-
* @memberof
|
|
285
|
+
* @memberof BookingHistoryPopulated
|
|
286
286
|
*/
|
|
287
287
|
'previousStatus'?: string;
|
|
288
288
|
/**
|
|
289
289
|
*
|
|
290
290
|
* @type {string}
|
|
291
|
-
* @memberof
|
|
291
|
+
* @memberof BookingHistoryPopulated
|
|
292
292
|
*/
|
|
293
293
|
'newStatus'?: string;
|
|
294
294
|
/**
|
|
295
295
|
*
|
|
296
296
|
* @type {string}
|
|
297
|
-
* @memberof
|
|
297
|
+
* @memberof BookingHistoryPopulated
|
|
298
298
|
*/
|
|
299
299
|
'createdAt'?: string;
|
|
300
300
|
}
|
|
301
|
-
export declare const
|
|
301
|
+
export declare const BookingHistoryPopulatedPerformedByTypeEnum: {
|
|
302
302
|
readonly User: "user";
|
|
303
303
|
readonly Manager: "manager";
|
|
304
304
|
readonly System: "system";
|
|
305
305
|
};
|
|
306
|
-
export type
|
|
306
|
+
export type BookingHistoryPopulatedPerformedByTypeEnum = typeof BookingHistoryPopulatedPerformedByTypeEnum[keyof typeof BookingHistoryPopulatedPerformedByTypeEnum];
|
|
307
307
|
/**
|
|
308
308
|
*
|
|
309
309
|
* @export
|
|
@@ -513,29 +513,89 @@ export interface BookingPopulated {
|
|
|
513
513
|
*/
|
|
514
514
|
'id': string;
|
|
515
515
|
/**
|
|
516
|
-
*
|
|
516
|
+
*
|
|
517
517
|
* @type {string}
|
|
518
518
|
* @memberof BookingPopulated
|
|
519
519
|
*/
|
|
520
|
-
'
|
|
520
|
+
'clubId': string;
|
|
521
521
|
/**
|
|
522
522
|
*
|
|
523
523
|
* @type {UserInfo}
|
|
524
524
|
* @memberof BookingPopulated
|
|
525
525
|
*/
|
|
526
|
-
'
|
|
526
|
+
'creator': UserInfo;
|
|
527
527
|
/**
|
|
528
528
|
*
|
|
529
529
|
* @type {SlotInfo}
|
|
530
530
|
* @memberof BookingPopulated
|
|
531
531
|
*/
|
|
532
|
-
'
|
|
532
|
+
'slotInfos': SlotInfo;
|
|
533
533
|
/**
|
|
534
534
|
* Statut des paiements par joueur
|
|
535
535
|
* @type {Array<PaymentByPlayerInfo>}
|
|
536
536
|
* @memberof BookingPopulated
|
|
537
537
|
*/
|
|
538
|
-
'
|
|
538
|
+
'paymentByPlayers': Array<PaymentByPlayerInfo>;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {boolean}
|
|
542
|
+
* @memberof BookingPopulated
|
|
543
|
+
*/
|
|
544
|
+
'noShowChargeApplied'?: boolean;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {number}
|
|
548
|
+
* @memberof BookingPopulated
|
|
549
|
+
*/
|
|
550
|
+
'noShowChargeAmount'?: number;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {number}
|
|
554
|
+
* @memberof BookingPopulated
|
|
555
|
+
*/
|
|
556
|
+
'totalPrice': number;
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {boolean}
|
|
560
|
+
* @memberof BookingPopulated
|
|
561
|
+
*/
|
|
562
|
+
'isCreatorPayingAll': boolean;
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @type {Array<string>}
|
|
566
|
+
* @memberof BookingPopulated
|
|
567
|
+
*/
|
|
568
|
+
'playersIds': Array<string>;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {Array<BookingHistoryPopulated>}
|
|
572
|
+
* @memberof BookingPopulated
|
|
573
|
+
*/
|
|
574
|
+
'history': Array<BookingHistoryPopulated>;
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @type {BookingStatus}
|
|
578
|
+
* @memberof BookingPopulated
|
|
579
|
+
*/
|
|
580
|
+
'status': BookingStatus;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @type {boolean}
|
|
584
|
+
* @memberof BookingPopulated
|
|
585
|
+
*/
|
|
586
|
+
'cancelledByManager'?: boolean;
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @type {string}
|
|
590
|
+
* @memberof BookingPopulated
|
|
591
|
+
*/
|
|
592
|
+
'cancelledBy'?: string;
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof BookingPopulated
|
|
597
|
+
*/
|
|
598
|
+
'cancellationReason'?: string;
|
|
539
599
|
}
|
|
540
600
|
/**
|
|
541
601
|
*
|
|
@@ -604,7 +664,7 @@ export declare const BookingStatus: {
|
|
|
604
664
|
readonly Paid: "paid";
|
|
605
665
|
readonly Active: "active";
|
|
606
666
|
readonly Pending: "pending";
|
|
607
|
-
readonly
|
|
667
|
+
readonly ActivePaymentsTimeout: "active_payments_timeout";
|
|
608
668
|
readonly Canceled: "canceled";
|
|
609
669
|
readonly NoShow: "no-show";
|
|
610
670
|
};
|
|
@@ -689,17 +749,10 @@ export interface BookingSummary {
|
|
|
689
749
|
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
690
750
|
/**
|
|
691
751
|
*
|
|
692
|
-
* @type {
|
|
752
|
+
* @type {BookingHistoryPopulated}
|
|
693
753
|
* @memberof BookingSummary
|
|
694
754
|
*/
|
|
695
|
-
'bookingHistory'?:
|
|
696
|
-
}
|
|
697
|
-
/**
|
|
698
|
-
*
|
|
699
|
-
* @export
|
|
700
|
-
* @interface BookingSummaryBookingHistory
|
|
701
|
-
*/
|
|
702
|
-
export interface BookingSummaryBookingHistory {
|
|
755
|
+
'bookingHistory'?: BookingHistoryPopulated;
|
|
703
756
|
}
|
|
704
757
|
/**
|
|
705
758
|
*
|
|
@@ -4057,6 +4110,184 @@ export interface PublishEventResponse {
|
|
|
4057
4110
|
*/
|
|
4058
4111
|
'event': EventResponse;
|
|
4059
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @export
|
|
4116
|
+
* @interface QuickReservationClubSummary
|
|
4117
|
+
*/
|
|
4118
|
+
export interface QuickReservationClubSummary {
|
|
4119
|
+
/**
|
|
4120
|
+
* ID du club
|
|
4121
|
+
* @type {string}
|
|
4122
|
+
* @memberof QuickReservationClubSummary
|
|
4123
|
+
*/
|
|
4124
|
+
'clubId': string;
|
|
4125
|
+
/**
|
|
4126
|
+
* Nom du club
|
|
4127
|
+
* @type {string}
|
|
4128
|
+
* @memberof QuickReservationClubSummary
|
|
4129
|
+
*/
|
|
4130
|
+
'clubName': string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Distance par rapport à la recherche, en mètres
|
|
4133
|
+
* @type {number}
|
|
4134
|
+
* @memberof QuickReservationClubSummary
|
|
4135
|
+
*/
|
|
4136
|
+
'distanceInMeters': number;
|
|
4137
|
+
/**
|
|
4138
|
+
*
|
|
4139
|
+
* @type {QuickReservationClubSummaryLocation}
|
|
4140
|
+
* @memberof QuickReservationClubSummary
|
|
4141
|
+
*/
|
|
4142
|
+
'location'?: QuickReservationClubSummaryLocation;
|
|
4143
|
+
/**
|
|
4144
|
+
* Créneaux disponibles correspondant aux filtres
|
|
4145
|
+
* @type {Array<QuickReservationSlotSummary>}
|
|
4146
|
+
* @memberof QuickReservationClubSummary
|
|
4147
|
+
*/
|
|
4148
|
+
'slots': Array<QuickReservationSlotSummary>;
|
|
4149
|
+
}
|
|
4150
|
+
/**
|
|
4151
|
+
* Localisation du club
|
|
4152
|
+
* @export
|
|
4153
|
+
* @interface QuickReservationClubSummaryLocation
|
|
4154
|
+
*/
|
|
4155
|
+
export interface QuickReservationClubSummaryLocation {
|
|
4156
|
+
/**
|
|
4157
|
+
*
|
|
4158
|
+
* @type {string}
|
|
4159
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4160
|
+
*/
|
|
4161
|
+
'country'?: string;
|
|
4162
|
+
/**
|
|
4163
|
+
*
|
|
4164
|
+
* @type {string}
|
|
4165
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4166
|
+
*/
|
|
4167
|
+
'postalCode'?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
*
|
|
4170
|
+
* @type {string}
|
|
4171
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4172
|
+
*/
|
|
4173
|
+
'city'?: string;
|
|
4174
|
+
/**
|
|
4175
|
+
*
|
|
4176
|
+
* @type {string}
|
|
4177
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4178
|
+
*/
|
|
4179
|
+
'address'?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
*
|
|
4182
|
+
* @type {number}
|
|
4183
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4184
|
+
*/
|
|
4185
|
+
'longitude'?: number;
|
|
4186
|
+
/**
|
|
4187
|
+
*
|
|
4188
|
+
* @type {number}
|
|
4189
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4190
|
+
*/
|
|
4191
|
+
'latitude'?: number;
|
|
4192
|
+
}
|
|
4193
|
+
/**
|
|
4194
|
+
*
|
|
4195
|
+
* @export
|
|
4196
|
+
* @interface QuickReservationResponse
|
|
4197
|
+
*/
|
|
4198
|
+
export interface QuickReservationResponse {
|
|
4199
|
+
/**
|
|
4200
|
+
* Nombre total de clubs contenant des créneaux disponibles
|
|
4201
|
+
* @type {number}
|
|
4202
|
+
* @memberof QuickReservationResponse
|
|
4203
|
+
*/
|
|
4204
|
+
'totalClubs': number;
|
|
4205
|
+
/**
|
|
4206
|
+
* Liste des clubs et de leurs créneaux disponibles
|
|
4207
|
+
* @type {Array<QuickReservationClubSummary>}
|
|
4208
|
+
* @memberof QuickReservationResponse
|
|
4209
|
+
*/
|
|
4210
|
+
'clubs': Array<QuickReservationClubSummary>;
|
|
4211
|
+
}
|
|
4212
|
+
/**
|
|
4213
|
+
*
|
|
4214
|
+
* @export
|
|
4215
|
+
* @interface QuickReservationSlotSummary
|
|
4216
|
+
*/
|
|
4217
|
+
export interface QuickReservationSlotSummary {
|
|
4218
|
+
/**
|
|
4219
|
+
* ID du créneau
|
|
4220
|
+
* @type {string}
|
|
4221
|
+
* @memberof QuickReservationSlotSummary
|
|
4222
|
+
*/
|
|
4223
|
+
'id': string;
|
|
4224
|
+
/**
|
|
4225
|
+
* Date de début ISO
|
|
4226
|
+
* @type {string}
|
|
4227
|
+
* @memberof QuickReservationSlotSummary
|
|
4228
|
+
*/
|
|
4229
|
+
'startDate': string;
|
|
4230
|
+
/**
|
|
4231
|
+
* Date de fin ISO
|
|
4232
|
+
* @type {string}
|
|
4233
|
+
* @memberof QuickReservationSlotSummary
|
|
4234
|
+
*/
|
|
4235
|
+
'endDate': string;
|
|
4236
|
+
/**
|
|
4237
|
+
* Durée du créneau en minutes
|
|
4238
|
+
* @type {number}
|
|
4239
|
+
* @memberof QuickReservationSlotSummary
|
|
4240
|
+
*/
|
|
4241
|
+
'durationMinutes': number;
|
|
4242
|
+
/**
|
|
4243
|
+
* ID du terrain
|
|
4244
|
+
* @type {string}
|
|
4245
|
+
* @memberof QuickReservationSlotSummary
|
|
4246
|
+
*/
|
|
4247
|
+
'courtId': string;
|
|
4248
|
+
/**
|
|
4249
|
+
* Nom du terrain
|
|
4250
|
+
* @type {string}
|
|
4251
|
+
* @memberof QuickReservationSlotSummary
|
|
4252
|
+
*/
|
|
4253
|
+
'courtName': string;
|
|
4254
|
+
/**
|
|
4255
|
+
* Indique si le terrain est en intérieur
|
|
4256
|
+
* @type {boolean}
|
|
4257
|
+
* @memberof QuickReservationSlotSummary
|
|
4258
|
+
*/
|
|
4259
|
+
'isIndoor': boolean;
|
|
4260
|
+
/**
|
|
4261
|
+
* Surface du terrain
|
|
4262
|
+
* @type {string}
|
|
4263
|
+
* @memberof QuickReservationSlotSummary
|
|
4264
|
+
*/
|
|
4265
|
+
'surface'?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* Prix horaire du terrain (en euros)
|
|
4268
|
+
* @type {number}
|
|
4269
|
+
* @memberof QuickReservationSlotSummary
|
|
4270
|
+
*/
|
|
4271
|
+
'pricePerHour'?: number;
|
|
4272
|
+
/**
|
|
4273
|
+
* Prix total estimé pour le créneau (en euros)
|
|
4274
|
+
* @type {number}
|
|
4275
|
+
* @memberof QuickReservationSlotSummary
|
|
4276
|
+
*/
|
|
4277
|
+
'totalPrice'?: number;
|
|
4278
|
+
/**
|
|
4279
|
+
* ID du sport associé
|
|
4280
|
+
* @type {string}
|
|
4281
|
+
* @memberof QuickReservationSlotSummary
|
|
4282
|
+
*/
|
|
4283
|
+
'sportId': string;
|
|
4284
|
+
/**
|
|
4285
|
+
* Clé du sport associé
|
|
4286
|
+
* @type {string}
|
|
4287
|
+
* @memberof QuickReservationSlotSummary
|
|
4288
|
+
*/
|
|
4289
|
+
'sportKey'?: string;
|
|
4290
|
+
}
|
|
4060
4291
|
/**
|
|
4061
4292
|
*
|
|
4062
4293
|
* @export
|
|
@@ -6532,6 +6763,18 @@ export interface UserInfo {
|
|
|
6532
6763
|
* @memberof UserInfo
|
|
6533
6764
|
*/
|
|
6534
6765
|
'lastName': string;
|
|
6766
|
+
/**
|
|
6767
|
+
*
|
|
6768
|
+
* @type {string}
|
|
6769
|
+
* @memberof UserInfo
|
|
6770
|
+
*/
|
|
6771
|
+
'email': string;
|
|
6772
|
+
/**
|
|
6773
|
+
*
|
|
6774
|
+
* @type {string}
|
|
6775
|
+
* @memberof UserInfo
|
|
6776
|
+
*/
|
|
6777
|
+
'profilePictureUrl'?: string;
|
|
6535
6778
|
}
|
|
6536
6779
|
/**
|
|
6537
6780
|
*
|
|
@@ -6949,6 +7192,22 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6949
7192
|
* @throws {RequiredError}
|
|
6950
7193
|
*/
|
|
6951
7194
|
getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7195
|
+
/**
|
|
7196
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7197
|
+
* @param {number} [latitude]
|
|
7198
|
+
* @param {number} [longitude]
|
|
7199
|
+
* @param {number} [radiusInKm]
|
|
7200
|
+
* @param {string} [date]
|
|
7201
|
+
* @param {string} [sportId]
|
|
7202
|
+
* @param {string} [startTime]
|
|
7203
|
+
* @param {number} [priceMax]
|
|
7204
|
+
* @param {string} [courtTypes]
|
|
7205
|
+
* @param {number} [limitPerClub]
|
|
7206
|
+
* @param {number} [maxClubs]
|
|
7207
|
+
* @param {*} [options] Override http request option.
|
|
7208
|
+
* @throws {RequiredError}
|
|
7209
|
+
*/
|
|
7210
|
+
getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6952
7211
|
};
|
|
6953
7212
|
/**
|
|
6954
7213
|
* BookingsApi - functional programming interface
|
|
@@ -6961,7 +7220,23 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
6961
7220
|
* @param {*} [options] Override http request option.
|
|
6962
7221
|
* @throws {RequiredError}
|
|
6963
7222
|
*/
|
|
6964
|
-
getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7223
|
+
getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
|
|
7224
|
+
/**
|
|
7225
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7226
|
+
* @param {number} [latitude]
|
|
7227
|
+
* @param {number} [longitude]
|
|
7228
|
+
* @param {number} [radiusInKm]
|
|
7229
|
+
* @param {string} [date]
|
|
7230
|
+
* @param {string} [sportId]
|
|
7231
|
+
* @param {string} [startTime]
|
|
7232
|
+
* @param {number} [priceMax]
|
|
7233
|
+
* @param {string} [courtTypes]
|
|
7234
|
+
* @param {number} [limitPerClub]
|
|
7235
|
+
* @param {number} [maxClubs]
|
|
7236
|
+
* @param {*} [options] Override http request option.
|
|
7237
|
+
* @throws {RequiredError}
|
|
7238
|
+
*/
|
|
7239
|
+
getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>>;
|
|
6965
7240
|
};
|
|
6966
7241
|
/**
|
|
6967
7242
|
* BookingsApi - factory interface
|
|
@@ -6974,7 +7249,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
6974
7249
|
* @param {*} [options] Override http request option.
|
|
6975
7250
|
* @throws {RequiredError}
|
|
6976
7251
|
*/
|
|
6977
|
-
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
7252
|
+
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
|
|
7253
|
+
/**
|
|
7254
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7255
|
+
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
7256
|
+
* @param {*} [options] Override http request option.
|
|
7257
|
+
* @throws {RequiredError}
|
|
7258
|
+
*/
|
|
7259
|
+
getQuickReservationSlots(requestParameters?: BookingsApiGetQuickReservationSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuickReservationResponse>;
|
|
6978
7260
|
};
|
|
6979
7261
|
/**
|
|
6980
7262
|
* Request parameters for getBookingHistory operation in BookingsApi.
|
|
@@ -6989,6 +7271,73 @@ export interface BookingsApiGetBookingHistoryRequest {
|
|
|
6989
7271
|
*/
|
|
6990
7272
|
readonly bookingId: string;
|
|
6991
7273
|
}
|
|
7274
|
+
/**
|
|
7275
|
+
* Request parameters for getQuickReservationSlots operation in BookingsApi.
|
|
7276
|
+
* @export
|
|
7277
|
+
* @interface BookingsApiGetQuickReservationSlotsRequest
|
|
7278
|
+
*/
|
|
7279
|
+
export interface BookingsApiGetQuickReservationSlotsRequest {
|
|
7280
|
+
/**
|
|
7281
|
+
*
|
|
7282
|
+
* @type {number}
|
|
7283
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7284
|
+
*/
|
|
7285
|
+
readonly latitude?: number;
|
|
7286
|
+
/**
|
|
7287
|
+
*
|
|
7288
|
+
* @type {number}
|
|
7289
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7290
|
+
*/
|
|
7291
|
+
readonly longitude?: number;
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @type {number}
|
|
7295
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7296
|
+
*/
|
|
7297
|
+
readonly radiusInKm?: number;
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @type {string}
|
|
7301
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7302
|
+
*/
|
|
7303
|
+
readonly date?: string;
|
|
7304
|
+
/**
|
|
7305
|
+
*
|
|
7306
|
+
* @type {string}
|
|
7307
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7308
|
+
*/
|
|
7309
|
+
readonly sportId?: string;
|
|
7310
|
+
/**
|
|
7311
|
+
*
|
|
7312
|
+
* @type {string}
|
|
7313
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7314
|
+
*/
|
|
7315
|
+
readonly startTime?: string;
|
|
7316
|
+
/**
|
|
7317
|
+
*
|
|
7318
|
+
* @type {number}
|
|
7319
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7320
|
+
*/
|
|
7321
|
+
readonly priceMax?: number;
|
|
7322
|
+
/**
|
|
7323
|
+
*
|
|
7324
|
+
* @type {string}
|
|
7325
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7326
|
+
*/
|
|
7327
|
+
readonly courtTypes?: string;
|
|
7328
|
+
/**
|
|
7329
|
+
*
|
|
7330
|
+
* @type {number}
|
|
7331
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7332
|
+
*/
|
|
7333
|
+
readonly limitPerClub?: number;
|
|
7334
|
+
/**
|
|
7335
|
+
*
|
|
7336
|
+
* @type {number}
|
|
7337
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7338
|
+
*/
|
|
7339
|
+
readonly maxClubs?: number;
|
|
7340
|
+
}
|
|
6992
7341
|
/**
|
|
6993
7342
|
* BookingsApi - object-oriented interface
|
|
6994
7343
|
* @export
|
|
@@ -7003,7 +7352,15 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
7003
7352
|
* @throws {RequiredError}
|
|
7004
7353
|
* @memberof BookingsApi
|
|
7005
7354
|
*/
|
|
7006
|
-
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7355
|
+
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
|
|
7356
|
+
/**
|
|
7357
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7358
|
+
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
7359
|
+
* @param {*} [options] Override http request option.
|
|
7360
|
+
* @throws {RequiredError}
|
|
7361
|
+
* @memberof BookingsApi
|
|
7362
|
+
*/
|
|
7363
|
+
getQuickReservationSlots(requestParameters?: BookingsApiGetQuickReservationSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickReservationResponse, any, {}>>;
|
|
7007
7364
|
}
|
|
7008
7365
|
/**
|
|
7009
7366
|
* BookingsManagerApi - axios parameter creator
|
|
@@ -7198,7 +7555,7 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
|
7198
7555
|
* @param {*} [options] Override http request option.
|
|
7199
7556
|
* @throws {RequiredError}
|
|
7200
7557
|
*/
|
|
7201
|
-
getBookingHistoryStaff(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7558
|
+
getBookingHistoryStaff(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
|
|
7202
7559
|
/**
|
|
7203
7560
|
* Obtenir le statut des paiements d\'une réservation
|
|
7204
7561
|
* @param {string} bookingId
|
|
@@ -7246,7 +7603,7 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
|
|
|
7246
7603
|
* @param {*} [options] Override http request option.
|
|
7247
7604
|
* @throws {RequiredError}
|
|
7248
7605
|
*/
|
|
7249
|
-
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
7606
|
+
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
|
|
7250
7607
|
/**
|
|
7251
7608
|
* Obtenir le statut des paiements d\'une réservation
|
|
7252
7609
|
* @param {BookingsStaffApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
@@ -7383,7 +7740,7 @@ export declare class BookingsStaffApi extends BaseAPI {
|
|
|
7383
7740
|
* @throws {RequiredError}
|
|
7384
7741
|
* @memberof BookingsStaffApi
|
|
7385
7742
|
*/
|
|
7386
|
-
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7743
|
+
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
|
|
7387
7744
|
/**
|
|
7388
7745
|
* Obtenir le statut des paiements d\'une réservation
|
|
7389
7746
|
* @param {BookingsStaffApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
@@ -11189,14 +11546,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11189
11546
|
* @param {string} [sportLevels]
|
|
11190
11547
|
* @param {number} [limit]
|
|
11191
11548
|
* @param {number} [offset]
|
|
11192
|
-
* @param {boolean} [useLocation]
|
|
11193
11549
|
* @param {number} [latitude]
|
|
11194
11550
|
* @param {number} [longitude]
|
|
11195
11551
|
* @param {number} [radiusInKm]
|
|
11196
11552
|
* @param {*} [options] Override http request option.
|
|
11197
11553
|
* @throws {RequiredError}
|
|
11198
11554
|
*/
|
|
11199
|
-
listPlayers: (category?: PlayerCategoryId, search?: string, gender?: string, sharedClub?: boolean, sportLevels?: string, limit?: number, offset?: number,
|
|
11555
|
+
listPlayers: (category?: PlayerCategoryId, search?: string, gender?: string, sharedClub?: boolean, sportLevels?: string, limit?: number, offset?: number, latitude?: number, longitude?: number, radiusInKm?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11200
11556
|
/**
|
|
11201
11557
|
*
|
|
11202
11558
|
* @param {LoginRequestBody} loginRequestBody
|
|
@@ -11480,14 +11836,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
11480
11836
|
* @param {string} [sportLevels]
|
|
11481
11837
|
* @param {number} [limit]
|
|
11482
11838
|
* @param {number} [offset]
|
|
11483
|
-
* @param {boolean} [useLocation]
|
|
11484
11839
|
* @param {number} [latitude]
|
|
11485
11840
|
* @param {number} [longitude]
|
|
11486
11841
|
* @param {number} [radiusInKm]
|
|
11487
11842
|
* @param {*} [options] Override http request option.
|
|
11488
11843
|
* @throws {RequiredError}
|
|
11489
11844
|
*/
|
|
11490
|
-
listPlayers(category?: PlayerCategoryId, search?: string, gender?: string, sharedClub?: boolean, sportLevels?: string, limit?: number, offset?: number,
|
|
11845
|
+
listPlayers(category?: PlayerCategoryId, search?: string, gender?: string, sharedClub?: boolean, sportLevels?: string, limit?: number, offset?: number, latitude?: number, longitude?: number, radiusInKm?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerListResponse>>;
|
|
11491
11846
|
/**
|
|
11492
11847
|
*
|
|
11493
11848
|
* @param {LoginRequestBody} loginRequestBody
|
|
@@ -12150,12 +12505,6 @@ export interface UsersApiListPlayersRequest {
|
|
|
12150
12505
|
* @memberof UsersApiListPlayers
|
|
12151
12506
|
*/
|
|
12152
12507
|
readonly offset?: number;
|
|
12153
|
-
/**
|
|
12154
|
-
*
|
|
12155
|
-
* @type {boolean}
|
|
12156
|
-
* @memberof UsersApiListPlayers
|
|
12157
|
-
*/
|
|
12158
|
-
readonly useLocation?: boolean;
|
|
12159
12508
|
/**
|
|
12160
12509
|
*
|
|
12161
12510
|
* @type {number}
|