@tennac-booking/sdk 1.0.140 → 1.0.142
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 +16 -4
- package/README.md +25 -3
- package/api.ts +1249 -150
- package/dist/api.d.ts +810 -111
- package/dist/api.js +616 -4
- package/dist/esm/api.d.ts +810 -111
- package/dist/esm/api.js +612 -0
- package/docs/BookingsPerDayItem.md +22 -0
- package/docs/BookingsPerDayResponse.md +24 -0
- package/docs/ClubAnalyticsStaffApi.md +376 -0
- package/docs/{ClubDaySchedule.md → ClubDayInterval.md} +7 -7
- package/docs/ClubHoursSettingsResponse.md +1 -1
- package/docs/ClubNewBookingsResponse.md +24 -0
- package/docs/ClubNewSubscribersResponse.md +24 -0
- package/docs/ClubSettingsManagerApi.md +107 -0
- package/docs/ClubSubscriberSummaryResponse.md +20 -0
- package/docs/DuplicateClubDayScheduleRequest.md +22 -0
- package/docs/LeastBookedTimeSlotItem.md +26 -0
- package/docs/LeastBookedTimeSlotsResponse.md +24 -0
- package/docs/LeastBookedWeekdayResponse.md +26 -0
- package/docs/NoShowRateResponse.md +28 -0
- package/docs/PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined.md +33 -0
- package/docs/RecordWeekdayKeyClubDaySchedule.md +33 -0
- package/docs/UpdateClubDayScheduleRequest.md +20 -0
- package/docs/UpdateClubHoursSettingsRequest.md +1 -1
- package/docs/WeekdayAverageItem.md +28 -0
- package/docs/WeekdayKey.md +20 -0
- package/package.json +1 -1
- package/docs/ClubWeeklySchedule.md +0 -32
- package/docs/PartialClubWeeklySchedule.md +0 -33
package/api.ts
CHANGED
|
@@ -1257,6 +1257,50 @@ export interface BookingSummary {
|
|
|
1257
1257
|
*/
|
|
1258
1258
|
export interface BookingSummaryClubAddress {
|
|
1259
1259
|
}
|
|
1260
|
+
/**
|
|
1261
|
+
*
|
|
1262
|
+
* @export
|
|
1263
|
+
* @interface BookingsPerDayItem
|
|
1264
|
+
*/
|
|
1265
|
+
export interface BookingsPerDayItem {
|
|
1266
|
+
/**
|
|
1267
|
+
* Jour au format YYYY-MM-DD
|
|
1268
|
+
* @type {string}
|
|
1269
|
+
* @memberof BookingsPerDayItem
|
|
1270
|
+
*/
|
|
1271
|
+
'date': string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Nombre de réservations dont la séance se déroule ce jour-là
|
|
1274
|
+
* @type {number}
|
|
1275
|
+
* @memberof BookingsPerDayItem
|
|
1276
|
+
*/
|
|
1277
|
+
'bookingsCount': number;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
*
|
|
1281
|
+
* @export
|
|
1282
|
+
* @interface BookingsPerDayResponse
|
|
1283
|
+
*/
|
|
1284
|
+
export interface BookingsPerDayResponse {
|
|
1285
|
+
/**
|
|
1286
|
+
* Date de début incluse (format ISO)
|
|
1287
|
+
* @type {string}
|
|
1288
|
+
* @memberof BookingsPerDayResponse
|
|
1289
|
+
*/
|
|
1290
|
+
'startDate': string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Date de fin incluse (format ISO)
|
|
1293
|
+
* @type {string}
|
|
1294
|
+
* @memberof BookingsPerDayResponse
|
|
1295
|
+
*/
|
|
1296
|
+
'endDate': string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Comptes quotidiens
|
|
1299
|
+
* @type {Array<BookingsPerDayItem>}
|
|
1300
|
+
* @memberof BookingsPerDayResponse
|
|
1301
|
+
*/
|
|
1302
|
+
'dailyCounts': Array<BookingsPerDayItem>;
|
|
1303
|
+
}
|
|
1260
1304
|
/**
|
|
1261
1305
|
*
|
|
1262
1306
|
* @export
|
|
@@ -1890,21 +1934,21 @@ export interface ClubAccessSettingsResponse {
|
|
|
1890
1934
|
/**
|
|
1891
1935
|
*
|
|
1892
1936
|
* @export
|
|
1893
|
-
* @interface
|
|
1937
|
+
* @interface ClubDayInterval
|
|
1894
1938
|
*/
|
|
1895
|
-
export interface
|
|
1939
|
+
export interface ClubDayInterval {
|
|
1896
1940
|
/**
|
|
1897
1941
|
*
|
|
1898
1942
|
* @type {string}
|
|
1899
|
-
* @memberof
|
|
1943
|
+
* @memberof ClubDayInterval
|
|
1900
1944
|
*/
|
|
1901
|
-
'
|
|
1945
|
+
'start': string;
|
|
1902
1946
|
/**
|
|
1903
1947
|
*
|
|
1904
1948
|
* @type {string}
|
|
1905
|
-
* @memberof
|
|
1949
|
+
* @memberof ClubDayInterval
|
|
1906
1950
|
*/
|
|
1907
|
-
'
|
|
1951
|
+
'end': string;
|
|
1908
1952
|
}
|
|
1909
1953
|
/**
|
|
1910
1954
|
*
|
|
@@ -2012,10 +2056,10 @@ export interface ClubGeneralSettingsResponse {
|
|
|
2012
2056
|
export interface ClubHoursSettingsResponse {
|
|
2013
2057
|
/**
|
|
2014
2058
|
*
|
|
2015
|
-
* @type {
|
|
2059
|
+
* @type {RecordWeekdayKeyClubDaySchedule}
|
|
2016
2060
|
* @memberof ClubHoursSettingsResponse
|
|
2017
2061
|
*/
|
|
2018
|
-
'schedule':
|
|
2062
|
+
'schedule': RecordWeekdayKeyClubDaySchedule;
|
|
2019
2063
|
/**
|
|
2020
2064
|
*
|
|
2021
2065
|
* @type {Array<ClubPricingPeriodResponse>}
|
|
@@ -2184,6 +2228,56 @@ export interface ClubMetadataResponseLocation {
|
|
|
2184
2228
|
*/
|
|
2185
2229
|
'address'?: string;
|
|
2186
2230
|
}
|
|
2231
|
+
/**
|
|
2232
|
+
*
|
|
2233
|
+
* @export
|
|
2234
|
+
* @interface ClubNewBookingsResponse
|
|
2235
|
+
*/
|
|
2236
|
+
export interface ClubNewBookingsResponse {
|
|
2237
|
+
/**
|
|
2238
|
+
* Date de début incluse (format ISO)
|
|
2239
|
+
* @type {string}
|
|
2240
|
+
* @memberof ClubNewBookingsResponse
|
|
2241
|
+
*/
|
|
2242
|
+
'startDate': string;
|
|
2243
|
+
/**
|
|
2244
|
+
* Date de fin incluse (format ISO)
|
|
2245
|
+
* @type {string}
|
|
2246
|
+
* @memberof ClubNewBookingsResponse
|
|
2247
|
+
*/
|
|
2248
|
+
'endDate': string;
|
|
2249
|
+
/**
|
|
2250
|
+
* Nombre de nouvelles réservations créées durant la période
|
|
2251
|
+
* @type {number}
|
|
2252
|
+
* @memberof ClubNewBookingsResponse
|
|
2253
|
+
*/
|
|
2254
|
+
'newBookings': number;
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
*
|
|
2258
|
+
* @export
|
|
2259
|
+
* @interface ClubNewSubscribersResponse
|
|
2260
|
+
*/
|
|
2261
|
+
export interface ClubNewSubscribersResponse {
|
|
2262
|
+
/**
|
|
2263
|
+
* Date de début incluse (format ISO)
|
|
2264
|
+
* @type {string}
|
|
2265
|
+
* @memberof ClubNewSubscribersResponse
|
|
2266
|
+
*/
|
|
2267
|
+
'startDate': string;
|
|
2268
|
+
/**
|
|
2269
|
+
* Date de fin incluse (format ISO)
|
|
2270
|
+
* @type {string}
|
|
2271
|
+
* @memberof ClubNewSubscribersResponse
|
|
2272
|
+
*/
|
|
2273
|
+
'endDate': string;
|
|
2274
|
+
/**
|
|
2275
|
+
* Nombre de nouveaux abonnés sur la période
|
|
2276
|
+
* @type {number}
|
|
2277
|
+
* @memberof ClubNewSubscribersResponse
|
|
2278
|
+
*/
|
|
2279
|
+
'newSubscribers': number;
|
|
2280
|
+
}
|
|
2187
2281
|
/**
|
|
2188
2282
|
*
|
|
2189
2283
|
* @export
|
|
@@ -3274,6 +3368,19 @@ export const ClubRoleResponseRoleEnum = {
|
|
|
3274
3368
|
|
|
3275
3369
|
export type ClubRoleResponseRoleEnum = typeof ClubRoleResponseRoleEnum[keyof typeof ClubRoleResponseRoleEnum];
|
|
3276
3370
|
|
|
3371
|
+
/**
|
|
3372
|
+
*
|
|
3373
|
+
* @export
|
|
3374
|
+
* @interface ClubSubscriberSummaryResponse
|
|
3375
|
+
*/
|
|
3376
|
+
export interface ClubSubscriberSummaryResponse {
|
|
3377
|
+
/**
|
|
3378
|
+
* Nombre total d\'abonnés actifs au club
|
|
3379
|
+
* @type {number}
|
|
3380
|
+
* @memberof ClubSubscriberSummaryResponse
|
|
3381
|
+
*/
|
|
3382
|
+
'totalSubscribers': number;
|
|
3383
|
+
}
|
|
3277
3384
|
/**
|
|
3278
3385
|
*
|
|
3279
3386
|
* @export
|
|
@@ -3373,55 +3480,6 @@ export interface ClubUserCountResponse {
|
|
|
3373
3480
|
*/
|
|
3374
3481
|
'count': number;
|
|
3375
3482
|
}
|
|
3376
|
-
/**
|
|
3377
|
-
*
|
|
3378
|
-
* @export
|
|
3379
|
-
* @interface ClubWeeklySchedule
|
|
3380
|
-
*/
|
|
3381
|
-
export interface ClubWeeklySchedule {
|
|
3382
|
-
/**
|
|
3383
|
-
*
|
|
3384
|
-
* @type {ClubDaySchedule}
|
|
3385
|
-
* @memberof ClubWeeklySchedule
|
|
3386
|
-
*/
|
|
3387
|
-
'sunday': ClubDaySchedule | null;
|
|
3388
|
-
/**
|
|
3389
|
-
*
|
|
3390
|
-
* @type {ClubDaySchedule}
|
|
3391
|
-
* @memberof ClubWeeklySchedule
|
|
3392
|
-
*/
|
|
3393
|
-
'saturday': ClubDaySchedule | null;
|
|
3394
|
-
/**
|
|
3395
|
-
*
|
|
3396
|
-
* @type {ClubDaySchedule}
|
|
3397
|
-
* @memberof ClubWeeklySchedule
|
|
3398
|
-
*/
|
|
3399
|
-
'friday': ClubDaySchedule | null;
|
|
3400
|
-
/**
|
|
3401
|
-
*
|
|
3402
|
-
* @type {ClubDaySchedule}
|
|
3403
|
-
* @memberof ClubWeeklySchedule
|
|
3404
|
-
*/
|
|
3405
|
-
'thursday': ClubDaySchedule | null;
|
|
3406
|
-
/**
|
|
3407
|
-
*
|
|
3408
|
-
* @type {ClubDaySchedule}
|
|
3409
|
-
* @memberof ClubWeeklySchedule
|
|
3410
|
-
*/
|
|
3411
|
-
'wednesday': ClubDaySchedule | null;
|
|
3412
|
-
/**
|
|
3413
|
-
*
|
|
3414
|
-
* @type {ClubDaySchedule}
|
|
3415
|
-
* @memberof ClubWeeklySchedule
|
|
3416
|
-
*/
|
|
3417
|
-
'tuesday': ClubDaySchedule | null;
|
|
3418
|
-
/**
|
|
3419
|
-
*
|
|
3420
|
-
* @type {ClubDaySchedule}
|
|
3421
|
-
* @memberof ClubWeeklySchedule
|
|
3422
|
-
*/
|
|
3423
|
-
'monday': ClubDaySchedule | null;
|
|
3424
|
-
}
|
|
3425
3483
|
/**
|
|
3426
3484
|
*
|
|
3427
3485
|
* @export
|
|
@@ -4406,6 +4464,27 @@ export const DiscountType = {
|
|
|
4406
4464
|
export type DiscountType = typeof DiscountType[keyof typeof DiscountType];
|
|
4407
4465
|
|
|
4408
4466
|
|
|
4467
|
+
/**
|
|
4468
|
+
*
|
|
4469
|
+
* @export
|
|
4470
|
+
* @interface DuplicateClubDayScheduleRequest
|
|
4471
|
+
*/
|
|
4472
|
+
export interface DuplicateClubDayScheduleRequest {
|
|
4473
|
+
/**
|
|
4474
|
+
*
|
|
4475
|
+
* @type {WeekdayKey}
|
|
4476
|
+
* @memberof DuplicateClubDayScheduleRequest
|
|
4477
|
+
*/
|
|
4478
|
+
'fromDay': WeekdayKey;
|
|
4479
|
+
/**
|
|
4480
|
+
*
|
|
4481
|
+
* @type {WeekdayKey}
|
|
4482
|
+
* @memberof DuplicateClubDayScheduleRequest
|
|
4483
|
+
*/
|
|
4484
|
+
'toDay': WeekdayKey;
|
|
4485
|
+
}
|
|
4486
|
+
|
|
4487
|
+
|
|
4409
4488
|
/**
|
|
4410
4489
|
*
|
|
4411
4490
|
* @export
|
|
@@ -6419,6 +6498,93 @@ export interface LastSixMonthsTurnoverItem {
|
|
|
6419
6498
|
*/
|
|
6420
6499
|
'value': number;
|
|
6421
6500
|
}
|
|
6501
|
+
/**
|
|
6502
|
+
*
|
|
6503
|
+
* @export
|
|
6504
|
+
* @interface LeastBookedTimeSlotItem
|
|
6505
|
+
*/
|
|
6506
|
+
export interface LeastBookedTimeSlotItem {
|
|
6507
|
+
/**
|
|
6508
|
+
* Jour de la semaine (0 = dimanche)
|
|
6509
|
+
* @type {number}
|
|
6510
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6511
|
+
*/
|
|
6512
|
+
'weekday': number;
|
|
6513
|
+
/**
|
|
6514
|
+
* Nom du jour
|
|
6515
|
+
* @type {string}
|
|
6516
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6517
|
+
*/
|
|
6518
|
+
'weekdayName': string;
|
|
6519
|
+
/**
|
|
6520
|
+
* Heure de début (format HH:00)
|
|
6521
|
+
* @type {string}
|
|
6522
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6523
|
+
*/
|
|
6524
|
+
'hour': string;
|
|
6525
|
+
/**
|
|
6526
|
+
* Nombre total de réservations observées pour ce créneau
|
|
6527
|
+
* @type {number}
|
|
6528
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6529
|
+
*/
|
|
6530
|
+
'totalBookings': number;
|
|
6531
|
+
}
|
|
6532
|
+
/**
|
|
6533
|
+
*
|
|
6534
|
+
* @export
|
|
6535
|
+
* @interface LeastBookedTimeSlotsResponse
|
|
6536
|
+
*/
|
|
6537
|
+
export interface LeastBookedTimeSlotsResponse {
|
|
6538
|
+
/**
|
|
6539
|
+
* Début de la fenêtre analysée
|
|
6540
|
+
* @type {string}
|
|
6541
|
+
* @memberof LeastBookedTimeSlotsResponse
|
|
6542
|
+
*/
|
|
6543
|
+
'periodStart': string;
|
|
6544
|
+
/**
|
|
6545
|
+
* Fin de la fenêtre analysée
|
|
6546
|
+
* @type {string}
|
|
6547
|
+
* @memberof LeastBookedTimeSlotsResponse
|
|
6548
|
+
*/
|
|
6549
|
+
'periodEnd': string;
|
|
6550
|
+
/**
|
|
6551
|
+
* Créneaux les moins réservés
|
|
6552
|
+
* @type {Array<LeastBookedTimeSlotItem>}
|
|
6553
|
+
* @memberof LeastBookedTimeSlotsResponse
|
|
6554
|
+
*/
|
|
6555
|
+
'timeSlots': Array<LeastBookedTimeSlotItem>;
|
|
6556
|
+
}
|
|
6557
|
+
/**
|
|
6558
|
+
*
|
|
6559
|
+
* @export
|
|
6560
|
+
* @interface LeastBookedWeekdayResponse
|
|
6561
|
+
*/
|
|
6562
|
+
export interface LeastBookedWeekdayResponse {
|
|
6563
|
+
/**
|
|
6564
|
+
* Date de début de la période analysée
|
|
6565
|
+
* @type {string}
|
|
6566
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6567
|
+
*/
|
|
6568
|
+
'periodStart': string;
|
|
6569
|
+
/**
|
|
6570
|
+
* Date de fin de la période analysée
|
|
6571
|
+
* @type {string}
|
|
6572
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6573
|
+
*/
|
|
6574
|
+
'periodEnd': string;
|
|
6575
|
+
/**
|
|
6576
|
+
* Jour le moins réservé (null si aucune donnée)
|
|
6577
|
+
* @type {WeekdayAverageItem}
|
|
6578
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6579
|
+
*/
|
|
6580
|
+
'leastBooked': WeekdayAverageItem | null;
|
|
6581
|
+
/**
|
|
6582
|
+
* Détail des moyennes par jour de la semaine
|
|
6583
|
+
* @type {Array<WeekdayAverageItem>}
|
|
6584
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6585
|
+
*/
|
|
6586
|
+
'weekdayAverages': Array<WeekdayAverageItem>;
|
|
6587
|
+
}
|
|
6422
6588
|
/**
|
|
6423
6589
|
*
|
|
6424
6590
|
* @export
|
|
@@ -6681,6 +6847,43 @@ export interface NoShowFeeResponse {
|
|
|
6681
6847
|
*/
|
|
6682
6848
|
'creatorChargeResult'?: CreatorChargeResult;
|
|
6683
6849
|
}
|
|
6850
|
+
/**
|
|
6851
|
+
*
|
|
6852
|
+
* @export
|
|
6853
|
+
* @interface NoShowRateResponse
|
|
6854
|
+
*/
|
|
6855
|
+
export interface NoShowRateResponse {
|
|
6856
|
+
/**
|
|
6857
|
+
* Date de début si la période est fournie
|
|
6858
|
+
* @type {string}
|
|
6859
|
+
* @memberof NoShowRateResponse
|
|
6860
|
+
*/
|
|
6861
|
+
'startDate'?: string;
|
|
6862
|
+
/**
|
|
6863
|
+
* Date de fin si la période est fournie
|
|
6864
|
+
* @type {string}
|
|
6865
|
+
* @memberof NoShowRateResponse
|
|
6866
|
+
*/
|
|
6867
|
+
'endDate'?: string;
|
|
6868
|
+
/**
|
|
6869
|
+
* Nombre de réservations marquées no-show
|
|
6870
|
+
* @type {number}
|
|
6871
|
+
* @memberof NoShowRateResponse
|
|
6872
|
+
*/
|
|
6873
|
+
'noShowCount': number;
|
|
6874
|
+
/**
|
|
6875
|
+
* Nombre total de réservations considérées
|
|
6876
|
+
* @type {number}
|
|
6877
|
+
* @memberof NoShowRateResponse
|
|
6878
|
+
*/
|
|
6879
|
+
'totalBookings': number;
|
|
6880
|
+
/**
|
|
6881
|
+
* Ratio no-show / total (0-1)
|
|
6882
|
+
* @type {number}
|
|
6883
|
+
* @memberof NoShowRateResponse
|
|
6884
|
+
*/
|
|
6885
|
+
'rate': number;
|
|
6886
|
+
}
|
|
6684
6887
|
/**
|
|
6685
6888
|
*
|
|
6686
6889
|
* @export
|
|
@@ -6822,55 +7025,6 @@ export interface PartialClubActiveResponseLocation {
|
|
|
6822
7025
|
*/
|
|
6823
7026
|
'address'?: string;
|
|
6824
7027
|
}
|
|
6825
|
-
/**
|
|
6826
|
-
* Make all properties in T optional
|
|
6827
|
-
* @export
|
|
6828
|
-
* @interface PartialClubWeeklySchedule
|
|
6829
|
-
*/
|
|
6830
|
-
export interface PartialClubWeeklySchedule {
|
|
6831
|
-
/**
|
|
6832
|
-
*
|
|
6833
|
-
* @type {ClubDaySchedule}
|
|
6834
|
-
* @memberof PartialClubWeeklySchedule
|
|
6835
|
-
*/
|
|
6836
|
-
'monday'?: ClubDaySchedule;
|
|
6837
|
-
/**
|
|
6838
|
-
*
|
|
6839
|
-
* @type {ClubDaySchedule}
|
|
6840
|
-
* @memberof PartialClubWeeklySchedule
|
|
6841
|
-
*/
|
|
6842
|
-
'tuesday'?: ClubDaySchedule;
|
|
6843
|
-
/**
|
|
6844
|
-
*
|
|
6845
|
-
* @type {ClubDaySchedule}
|
|
6846
|
-
* @memberof PartialClubWeeklySchedule
|
|
6847
|
-
*/
|
|
6848
|
-
'wednesday'?: ClubDaySchedule;
|
|
6849
|
-
/**
|
|
6850
|
-
*
|
|
6851
|
-
* @type {ClubDaySchedule}
|
|
6852
|
-
* @memberof PartialClubWeeklySchedule
|
|
6853
|
-
*/
|
|
6854
|
-
'thursday'?: ClubDaySchedule;
|
|
6855
|
-
/**
|
|
6856
|
-
*
|
|
6857
|
-
* @type {ClubDaySchedule}
|
|
6858
|
-
* @memberof PartialClubWeeklySchedule
|
|
6859
|
-
*/
|
|
6860
|
-
'friday'?: ClubDaySchedule;
|
|
6861
|
-
/**
|
|
6862
|
-
*
|
|
6863
|
-
* @type {ClubDaySchedule}
|
|
6864
|
-
* @memberof PartialClubWeeklySchedule
|
|
6865
|
-
*/
|
|
6866
|
-
'saturday'?: ClubDaySchedule;
|
|
6867
|
-
/**
|
|
6868
|
-
*
|
|
6869
|
-
* @type {ClubDaySchedule}
|
|
6870
|
-
* @memberof PartialClubWeeklySchedule
|
|
6871
|
-
*/
|
|
6872
|
-
'sunday'?: ClubDaySchedule;
|
|
6873
|
-
}
|
|
6874
7028
|
/**
|
|
6875
7029
|
* Make all properties in T optional
|
|
6876
7030
|
* @export
|
|
@@ -6955,6 +7109,55 @@ export const PartialPublicAccessSettingsPaymentModeEnum = {
|
|
|
6955
7109
|
|
|
6956
7110
|
export type PartialPublicAccessSettingsPaymentModeEnum = typeof PartialPublicAccessSettingsPaymentModeEnum[keyof typeof PartialPublicAccessSettingsPaymentModeEnum];
|
|
6957
7111
|
|
|
7112
|
+
/**
|
|
7113
|
+
* Make all properties in T optional
|
|
7114
|
+
* @export
|
|
7115
|
+
* @interface PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7116
|
+
*/
|
|
7117
|
+
export interface PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined {
|
|
7118
|
+
/**
|
|
7119
|
+
*
|
|
7120
|
+
* @type {Array<ClubDayInterval>}
|
|
7121
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7122
|
+
*/
|
|
7123
|
+
'monday'?: Array<ClubDayInterval>;
|
|
7124
|
+
/**
|
|
7125
|
+
*
|
|
7126
|
+
* @type {Array<ClubDayInterval>}
|
|
7127
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7128
|
+
*/
|
|
7129
|
+
'tuesday'?: Array<ClubDayInterval>;
|
|
7130
|
+
/**
|
|
7131
|
+
*
|
|
7132
|
+
* @type {Array<ClubDayInterval>}
|
|
7133
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7134
|
+
*/
|
|
7135
|
+
'wednesday'?: Array<ClubDayInterval>;
|
|
7136
|
+
/**
|
|
7137
|
+
*
|
|
7138
|
+
* @type {Array<ClubDayInterval>}
|
|
7139
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7140
|
+
*/
|
|
7141
|
+
'thursday'?: Array<ClubDayInterval>;
|
|
7142
|
+
/**
|
|
7143
|
+
*
|
|
7144
|
+
* @type {Array<ClubDayInterval>}
|
|
7145
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7146
|
+
*/
|
|
7147
|
+
'friday'?: Array<ClubDayInterval>;
|
|
7148
|
+
/**
|
|
7149
|
+
*
|
|
7150
|
+
* @type {Array<ClubDayInterval>}
|
|
7151
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7152
|
+
*/
|
|
7153
|
+
'saturday'?: Array<ClubDayInterval>;
|
|
7154
|
+
/**
|
|
7155
|
+
*
|
|
7156
|
+
* @type {Array<ClubDayInterval>}
|
|
7157
|
+
* @memberof PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
|
|
7158
|
+
*/
|
|
7159
|
+
'sunday'?: Array<ClubDayInterval>;
|
|
7160
|
+
}
|
|
6958
7161
|
/**
|
|
6959
7162
|
* Make all properties in T optional
|
|
6960
7163
|
* @export
|
|
@@ -7998,6 +8201,55 @@ export interface QuickReservationSlotSummary {
|
|
|
7998
8201
|
*/
|
|
7999
8202
|
'sportKey'?: string;
|
|
8000
8203
|
}
|
|
8204
|
+
/**
|
|
8205
|
+
* Construct a type with a set of properties K of type T
|
|
8206
|
+
* @export
|
|
8207
|
+
* @interface RecordWeekdayKeyClubDaySchedule
|
|
8208
|
+
*/
|
|
8209
|
+
export interface RecordWeekdayKeyClubDaySchedule {
|
|
8210
|
+
/**
|
|
8211
|
+
*
|
|
8212
|
+
* @type {Array<ClubDayInterval>}
|
|
8213
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8214
|
+
*/
|
|
8215
|
+
'monday': Array<ClubDayInterval>;
|
|
8216
|
+
/**
|
|
8217
|
+
*
|
|
8218
|
+
* @type {Array<ClubDayInterval>}
|
|
8219
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8220
|
+
*/
|
|
8221
|
+
'tuesday': Array<ClubDayInterval>;
|
|
8222
|
+
/**
|
|
8223
|
+
*
|
|
8224
|
+
* @type {Array<ClubDayInterval>}
|
|
8225
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8226
|
+
*/
|
|
8227
|
+
'wednesday': Array<ClubDayInterval>;
|
|
8228
|
+
/**
|
|
8229
|
+
*
|
|
8230
|
+
* @type {Array<ClubDayInterval>}
|
|
8231
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8232
|
+
*/
|
|
8233
|
+
'thursday': Array<ClubDayInterval>;
|
|
8234
|
+
/**
|
|
8235
|
+
*
|
|
8236
|
+
* @type {Array<ClubDayInterval>}
|
|
8237
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8238
|
+
*/
|
|
8239
|
+
'friday': Array<ClubDayInterval>;
|
|
8240
|
+
/**
|
|
8241
|
+
*
|
|
8242
|
+
* @type {Array<ClubDayInterval>}
|
|
8243
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8244
|
+
*/
|
|
8245
|
+
'saturday': Array<ClubDayInterval>;
|
|
8246
|
+
/**
|
|
8247
|
+
*
|
|
8248
|
+
* @type {Array<ClubDayInterval>}
|
|
8249
|
+
* @memberof RecordWeekdayKeyClubDaySchedule
|
|
8250
|
+
*/
|
|
8251
|
+
'sunday': Array<ClubDayInterval>;
|
|
8252
|
+
}
|
|
8001
8253
|
/**
|
|
8002
8254
|
*
|
|
8003
8255
|
* @export
|
|
@@ -9643,7 +9895,20 @@ export interface UpdateClubAccessSettingsRequest {
|
|
|
9643
9895
|
/**
|
|
9644
9896
|
*
|
|
9645
9897
|
* @export
|
|
9646
|
-
* @interface
|
|
9898
|
+
* @interface UpdateClubDayScheduleRequest
|
|
9899
|
+
*/
|
|
9900
|
+
export interface UpdateClubDayScheduleRequest {
|
|
9901
|
+
/**
|
|
9902
|
+
*
|
|
9903
|
+
* @type {Array<ClubDayInterval>}
|
|
9904
|
+
* @memberof UpdateClubDayScheduleRequest
|
|
9905
|
+
*/
|
|
9906
|
+
'intervals': Array<ClubDayInterval>;
|
|
9907
|
+
}
|
|
9908
|
+
/**
|
|
9909
|
+
*
|
|
9910
|
+
* @export
|
|
9911
|
+
* @interface UpdateClubGeneralSettingsRequest
|
|
9647
9912
|
*/
|
|
9648
9913
|
export interface UpdateClubGeneralSettingsRequest {
|
|
9649
9914
|
/**
|
|
@@ -9730,10 +9995,10 @@ export interface UpdateClubGeneralSettingsRequestLogo {
|
|
|
9730
9995
|
export interface UpdateClubHoursSettingsRequest {
|
|
9731
9996
|
/**
|
|
9732
9997
|
*
|
|
9733
|
-
* @type {
|
|
9998
|
+
* @type {PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined}
|
|
9734
9999
|
* @memberof UpdateClubHoursSettingsRequest
|
|
9735
10000
|
*/
|
|
9736
|
-
'schedule'?:
|
|
10001
|
+
'schedule'?: PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined;
|
|
9737
10002
|
/**
|
|
9738
10003
|
*
|
|
9739
10004
|
* @type {Array<ClubPricingPeriodResponse>}
|
|
@@ -11352,6 +11617,62 @@ export const VisibilityType = {
|
|
|
11352
11617
|
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
11353
11618
|
|
|
11354
11619
|
|
|
11620
|
+
/**
|
|
11621
|
+
*
|
|
11622
|
+
* @export
|
|
11623
|
+
* @interface WeekdayAverageItem
|
|
11624
|
+
*/
|
|
11625
|
+
export interface WeekdayAverageItem {
|
|
11626
|
+
/**
|
|
11627
|
+
* Jour de la semaine (0 = dimanche)
|
|
11628
|
+
* @type {number}
|
|
11629
|
+
* @memberof WeekdayAverageItem
|
|
11630
|
+
*/
|
|
11631
|
+
'weekday': number;
|
|
11632
|
+
/**
|
|
11633
|
+
* Nom lisible du jour
|
|
11634
|
+
* @type {string}
|
|
11635
|
+
* @memberof WeekdayAverageItem
|
|
11636
|
+
*/
|
|
11637
|
+
'weekdayName': string;
|
|
11638
|
+
/**
|
|
11639
|
+
* Nombre total de réservations enregistrées pour ce jour
|
|
11640
|
+
* @type {number}
|
|
11641
|
+
* @memberof WeekdayAverageItem
|
|
11642
|
+
*/
|
|
11643
|
+
'totalBookings': number;
|
|
11644
|
+
/**
|
|
11645
|
+
* Nombre de jours observés pour ce jour de la semaine
|
|
11646
|
+
* @type {number}
|
|
11647
|
+
* @memberof WeekdayAverageItem
|
|
11648
|
+
*/
|
|
11649
|
+
'daysCount': number;
|
|
11650
|
+
/**
|
|
11651
|
+
* Moyenne de réservations par jour de la semaine
|
|
11652
|
+
* @type {number}
|
|
11653
|
+
* @memberof WeekdayAverageItem
|
|
11654
|
+
*/
|
|
11655
|
+
'averageBookings': number;
|
|
11656
|
+
}
|
|
11657
|
+
/**
|
|
11658
|
+
*
|
|
11659
|
+
* @export
|
|
11660
|
+
* @enum {string}
|
|
11661
|
+
*/
|
|
11662
|
+
|
|
11663
|
+
export const WeekdayKey = {
|
|
11664
|
+
Monday: 'monday',
|
|
11665
|
+
Tuesday: 'tuesday',
|
|
11666
|
+
Wednesday: 'wednesday',
|
|
11667
|
+
Thursday: 'thursday',
|
|
11668
|
+
Friday: 'friday',
|
|
11669
|
+
Saturday: 'saturday',
|
|
11670
|
+
Sunday: 'sunday'
|
|
11671
|
+
} as const;
|
|
11672
|
+
|
|
11673
|
+
export type WeekdayKey = typeof WeekdayKey[keyof typeof WeekdayKey];
|
|
11674
|
+
|
|
11675
|
+
|
|
11355
11676
|
/**
|
|
11356
11677
|
*
|
|
11357
11678
|
* @export
|
|
@@ -13525,6 +13846,49 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13525
13846
|
|
|
13526
13847
|
|
|
13527
13848
|
|
|
13849
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13850
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13851
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13852
|
+
|
|
13853
|
+
return {
|
|
13854
|
+
url: toPathString(localVarUrlObj),
|
|
13855
|
+
options: localVarRequestOptions,
|
|
13856
|
+
};
|
|
13857
|
+
},
|
|
13858
|
+
/**
|
|
13859
|
+
* Nombre de réservations par jour en fonction des slots
|
|
13860
|
+
* @param {string} [startDate]
|
|
13861
|
+
* @param {string} [endDate]
|
|
13862
|
+
* @param {*} [options] Override http request option.
|
|
13863
|
+
* @throws {RequiredError}
|
|
13864
|
+
*/
|
|
13865
|
+
getBookingsPerDay: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13866
|
+
const localVarPath = `/api/club-analytics/bookings/per-day`;
|
|
13867
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13868
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13869
|
+
let baseOptions;
|
|
13870
|
+
if (configuration) {
|
|
13871
|
+
baseOptions = configuration.baseOptions;
|
|
13872
|
+
}
|
|
13873
|
+
|
|
13874
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13875
|
+
const localVarHeaderParameter = {} as any;
|
|
13876
|
+
const localVarQueryParameter = {} as any;
|
|
13877
|
+
|
|
13878
|
+
// authentication bearerAuth required
|
|
13879
|
+
// http bearer authentication required
|
|
13880
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13881
|
+
|
|
13882
|
+
if (startDate !== undefined) {
|
|
13883
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
13884
|
+
}
|
|
13885
|
+
|
|
13886
|
+
if (endDate !== undefined) {
|
|
13887
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
13888
|
+
}
|
|
13889
|
+
|
|
13890
|
+
|
|
13891
|
+
|
|
13528
13892
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13529
13893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13530
13894
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13699,6 +14063,39 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13699
14063
|
|
|
13700
14064
|
|
|
13701
14065
|
|
|
14066
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14067
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14068
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14069
|
+
|
|
14070
|
+
return {
|
|
14071
|
+
url: toPathString(localVarUrlObj),
|
|
14072
|
+
options: localVarRequestOptions,
|
|
14073
|
+
};
|
|
14074
|
+
},
|
|
14075
|
+
/**
|
|
14076
|
+
* Nombre total d\'abonnés actifs du club
|
|
14077
|
+
* @param {*} [options] Override http request option.
|
|
14078
|
+
* @throws {RequiredError}
|
|
14079
|
+
*/
|
|
14080
|
+
getClubSubscribersSummary: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14081
|
+
const localVarPath = `/api/club-analytics/subscribers/total`;
|
|
14082
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14083
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14084
|
+
let baseOptions;
|
|
14085
|
+
if (configuration) {
|
|
14086
|
+
baseOptions = configuration.baseOptions;
|
|
14087
|
+
}
|
|
14088
|
+
|
|
14089
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14090
|
+
const localVarHeaderParameter = {} as any;
|
|
14091
|
+
const localVarQueryParameter = {} as any;
|
|
14092
|
+
|
|
14093
|
+
// authentication bearerAuth required
|
|
14094
|
+
// http bearer authentication required
|
|
14095
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14096
|
+
|
|
14097
|
+
|
|
14098
|
+
|
|
13702
14099
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13703
14100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13704
14101
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13848,6 +14245,77 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13848
14245
|
|
|
13849
14246
|
|
|
13850
14247
|
|
|
14248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14250
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14251
|
+
|
|
14252
|
+
return {
|
|
14253
|
+
url: toPathString(localVarUrlObj),
|
|
14254
|
+
options: localVarRequestOptions,
|
|
14255
|
+
};
|
|
14256
|
+
},
|
|
14257
|
+
/**
|
|
14258
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
14259
|
+
* @param {number} [limit]
|
|
14260
|
+
* @param {*} [options] Override http request option.
|
|
14261
|
+
* @throws {RequiredError}
|
|
14262
|
+
*/
|
|
14263
|
+
getLeastBookedTimeSlots: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14264
|
+
const localVarPath = `/api/club-analytics/bookings/least-booked-time-slots`;
|
|
14265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14267
|
+
let baseOptions;
|
|
14268
|
+
if (configuration) {
|
|
14269
|
+
baseOptions = configuration.baseOptions;
|
|
14270
|
+
}
|
|
14271
|
+
|
|
14272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14273
|
+
const localVarHeaderParameter = {} as any;
|
|
14274
|
+
const localVarQueryParameter = {} as any;
|
|
14275
|
+
|
|
14276
|
+
// authentication bearerAuth required
|
|
14277
|
+
// http bearer authentication required
|
|
14278
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14279
|
+
|
|
14280
|
+
if (limit !== undefined) {
|
|
14281
|
+
localVarQueryParameter['limit'] = limit;
|
|
14282
|
+
}
|
|
14283
|
+
|
|
14284
|
+
|
|
14285
|
+
|
|
14286
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14288
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14289
|
+
|
|
14290
|
+
return {
|
|
14291
|
+
url: toPathString(localVarUrlObj),
|
|
14292
|
+
options: localVarRequestOptions,
|
|
14293
|
+
};
|
|
14294
|
+
},
|
|
14295
|
+
/**
|
|
14296
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
14297
|
+
* @param {*} [options] Override http request option.
|
|
14298
|
+
* @throws {RequiredError}
|
|
14299
|
+
*/
|
|
14300
|
+
getLeastBookedWeekday: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14301
|
+
const localVarPath = `/api/club-analytics/bookings/least-booked-weekday`;
|
|
14302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14304
|
+
let baseOptions;
|
|
14305
|
+
if (configuration) {
|
|
14306
|
+
baseOptions = configuration.baseOptions;
|
|
14307
|
+
}
|
|
14308
|
+
|
|
14309
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14310
|
+
const localVarHeaderParameter = {} as any;
|
|
14311
|
+
const localVarQueryParameter = {} as any;
|
|
14312
|
+
|
|
14313
|
+
// authentication bearerAuth required
|
|
14314
|
+
// http bearer authentication required
|
|
14315
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14316
|
+
|
|
14317
|
+
|
|
14318
|
+
|
|
13851
14319
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13852
14320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13853
14321
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13905,12 +14373,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13905
14373
|
};
|
|
13906
14374
|
},
|
|
13907
14375
|
/**
|
|
13908
|
-
*
|
|
14376
|
+
* Nouvelles réservations créées sur une période
|
|
14377
|
+
* @param {string} [startDate]
|
|
14378
|
+
* @param {string} [endDate]
|
|
13909
14379
|
* @param {*} [options] Override http request option.
|
|
13910
14380
|
* @throws {RequiredError}
|
|
13911
14381
|
*/
|
|
13912
|
-
|
|
13913
|
-
const localVarPath = `/api/club-analytics/
|
|
14382
|
+
getNewBookingsCount: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14383
|
+
const localVarPath = `/api/club-analytics/bookings/new`;
|
|
13914
14384
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13915
14385
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13916
14386
|
let baseOptions;
|
|
@@ -13926,6 +14396,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13926
14396
|
// http bearer authentication required
|
|
13927
14397
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13928
14398
|
|
|
14399
|
+
if (startDate !== undefined) {
|
|
14400
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14401
|
+
}
|
|
14402
|
+
|
|
14403
|
+
if (endDate !== undefined) {
|
|
14404
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14405
|
+
}
|
|
14406
|
+
|
|
13929
14407
|
|
|
13930
14408
|
|
|
13931
14409
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13938,12 +14416,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13938
14416
|
};
|
|
13939
14417
|
},
|
|
13940
14418
|
/**
|
|
13941
|
-
*
|
|
14419
|
+
* Nouveaux abonnés sur une période
|
|
14420
|
+
* @param {string} [startDate]
|
|
14421
|
+
* @param {string} [endDate]
|
|
13942
14422
|
* @param {*} [options] Override http request option.
|
|
13943
14423
|
* @throws {RequiredError}
|
|
13944
14424
|
*/
|
|
13945
|
-
|
|
13946
|
-
const localVarPath = `/api/club-analytics/
|
|
14425
|
+
getNewSubscribersCount: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14426
|
+
const localVarPath = `/api/club-analytics/subscribers/new`;
|
|
13947
14427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13948
14428
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13949
14429
|
let baseOptions;
|
|
@@ -13959,6 +14439,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13959
14439
|
// http bearer authentication required
|
|
13960
14440
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13961
14441
|
|
|
14442
|
+
if (startDate !== undefined) {
|
|
14443
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14444
|
+
}
|
|
14445
|
+
|
|
14446
|
+
if (endDate !== undefined) {
|
|
14447
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14448
|
+
}
|
|
14449
|
+
|
|
13962
14450
|
|
|
13963
14451
|
|
|
13964
14452
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13971,12 +14459,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13971
14459
|
};
|
|
13972
14460
|
},
|
|
13973
14461
|
/**
|
|
13974
|
-
*
|
|
14462
|
+
* Taux de no-show global ou sur une période
|
|
14463
|
+
* @param {string} [startDate]
|
|
14464
|
+
* @param {string} [endDate]
|
|
13975
14465
|
* @param {*} [options] Override http request option.
|
|
13976
14466
|
* @throws {RequiredError}
|
|
13977
14467
|
*/
|
|
13978
|
-
|
|
13979
|
-
const localVarPath = `/api/club-analytics/
|
|
14468
|
+
getNoShowRate: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14469
|
+
const localVarPath = `/api/club-analytics/bookings/no-show-rate`;
|
|
13980
14470
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13981
14471
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13982
14472
|
let baseOptions;
|
|
@@ -13992,6 +14482,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13992
14482
|
// http bearer authentication required
|
|
13993
14483
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13994
14484
|
|
|
14485
|
+
if (startDate !== undefined) {
|
|
14486
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14487
|
+
}
|
|
14488
|
+
|
|
14489
|
+
if (endDate !== undefined) {
|
|
14490
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14491
|
+
}
|
|
14492
|
+
|
|
13995
14493
|
|
|
13996
14494
|
|
|
13997
14495
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14004,12 +14502,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
14004
14502
|
};
|
|
14005
14503
|
},
|
|
14006
14504
|
/**
|
|
14007
|
-
* Récupère
|
|
14505
|
+
* Récupère le nombre d\'utilisateurs du club
|
|
14008
14506
|
* @param {*} [options] Override http request option.
|
|
14009
14507
|
* @throws {RequiredError}
|
|
14010
14508
|
*/
|
|
14011
|
-
|
|
14012
|
-
const localVarPath = `/api/club-analytics/
|
|
14509
|
+
getNumberOfClubUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14510
|
+
const localVarPath = `/api/club-analytics/users-count`;
|
|
14013
14511
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14014
14512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14015
14513
|
let baseOptions;
|
|
@@ -14037,12 +14535,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
14037
14535
|
};
|
|
14038
14536
|
},
|
|
14039
14537
|
/**
|
|
14040
|
-
*
|
|
14538
|
+
* Calcule le taux de fidélisation des joueurs
|
|
14041
14539
|
* @param {*} [options] Override http request option.
|
|
14042
14540
|
* @throws {RequiredError}
|
|
14043
14541
|
*/
|
|
14044
|
-
|
|
14045
|
-
const localVarPath = `/api/club-analytics/
|
|
14542
|
+
getRetentionRate: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14543
|
+
const localVarPath = `/api/club-analytics/retention-rate`;
|
|
14046
14544
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14047
14545
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14048
14546
|
let baseOptions;
|
|
@@ -14070,15 +14568,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
14070
14568
|
};
|
|
14071
14569
|
},
|
|
14072
14570
|
/**
|
|
14073
|
-
* Récupère le chiffre d\'affaires
|
|
14074
|
-
* @param {string} year
|
|
14571
|
+
* Récupère le chiffre d\'affaires par sport
|
|
14075
14572
|
* @param {*} [options] Override http request option.
|
|
14076
14573
|
* @throws {RequiredError}
|
|
14077
14574
|
*/
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
assertParamExists('getYearlyTurnOver', 'year', year)
|
|
14081
|
-
const localVarPath = `/api/club-analytics/yearly-turnover`;
|
|
14575
|
+
getRevenueBySport: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14576
|
+
const localVarPath = `/api/club-analytics/revenue-by-sport`;
|
|
14082
14577
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14083
14578
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14084
14579
|
let baseOptions;
|
|
@@ -14094,10 +14589,6 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
14094
14589
|
// http bearer authentication required
|
|
14095
14590
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14096
14591
|
|
|
14097
|
-
if (year !== undefined) {
|
|
14098
|
-
localVarQueryParameter['year'] = year;
|
|
14099
|
-
}
|
|
14100
|
-
|
|
14101
14592
|
|
|
14102
14593
|
|
|
14103
14594
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14109,26 +14600,145 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
14109
14600
|
options: localVarRequestOptions,
|
|
14110
14601
|
};
|
|
14111
14602
|
},
|
|
14112
|
-
}
|
|
14113
|
-
};
|
|
14114
|
-
|
|
14115
|
-
/**
|
|
14116
|
-
* ClubAnalyticsStaffApi - functional programming interface
|
|
14117
|
-
* @export
|
|
14118
|
-
*/
|
|
14119
|
-
export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
14120
|
-
const localVarAxiosParamCreator = ClubAnalyticsStaffApiAxiosParamCreator(configuration)
|
|
14121
|
-
return {
|
|
14122
14603
|
/**
|
|
14123
|
-
* Récupère les
|
|
14124
|
-
* @param {string} sportId
|
|
14604
|
+
* Récupère les 10 prochaines réservations
|
|
14125
14605
|
* @param {*} [options] Override http request option.
|
|
14126
14606
|
* @throws {RequiredError}
|
|
14127
14607
|
*/
|
|
14128
|
-
async
|
|
14129
|
-
const
|
|
14130
|
-
|
|
14131
|
-
const
|
|
14608
|
+
getTenNextBookings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14609
|
+
const localVarPath = `/api/club-analytics/next-bookings`;
|
|
14610
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14611
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14612
|
+
let baseOptions;
|
|
14613
|
+
if (configuration) {
|
|
14614
|
+
baseOptions = configuration.baseOptions;
|
|
14615
|
+
}
|
|
14616
|
+
|
|
14617
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14618
|
+
const localVarHeaderParameter = {} as any;
|
|
14619
|
+
const localVarQueryParameter = {} as any;
|
|
14620
|
+
|
|
14621
|
+
// authentication bearerAuth required
|
|
14622
|
+
// http bearer authentication required
|
|
14623
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14624
|
+
|
|
14625
|
+
|
|
14626
|
+
|
|
14627
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14628
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14629
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14630
|
+
|
|
14631
|
+
return {
|
|
14632
|
+
url: toPathString(localVarUrlObj),
|
|
14633
|
+
options: localVarRequestOptions,
|
|
14634
|
+
};
|
|
14635
|
+
},
|
|
14636
|
+
/**
|
|
14637
|
+
* Classement des terrains les plus réservés
|
|
14638
|
+
* @param {*} [options] Override http request option.
|
|
14639
|
+
* @throws {RequiredError}
|
|
14640
|
+
*/
|
|
14641
|
+
getTopCourtsByBookings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14642
|
+
const localVarPath = `/api/club-analytics/top-courts`;
|
|
14643
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14644
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14645
|
+
let baseOptions;
|
|
14646
|
+
if (configuration) {
|
|
14647
|
+
baseOptions = configuration.baseOptions;
|
|
14648
|
+
}
|
|
14649
|
+
|
|
14650
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14651
|
+
const localVarHeaderParameter = {} as any;
|
|
14652
|
+
const localVarQueryParameter = {} as any;
|
|
14653
|
+
|
|
14654
|
+
// authentication bearerAuth required
|
|
14655
|
+
// http bearer authentication required
|
|
14656
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14657
|
+
|
|
14658
|
+
|
|
14659
|
+
|
|
14660
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14661
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14662
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14663
|
+
|
|
14664
|
+
return {
|
|
14665
|
+
url: toPathString(localVarUrlObj),
|
|
14666
|
+
options: localVarRequestOptions,
|
|
14667
|
+
};
|
|
14668
|
+
},
|
|
14669
|
+
/**
|
|
14670
|
+
* Récupère le chiffre d\'affaires annuel avec détail mensuel
|
|
14671
|
+
* @param {string} year
|
|
14672
|
+
* @param {*} [options] Override http request option.
|
|
14673
|
+
* @throws {RequiredError}
|
|
14674
|
+
*/
|
|
14675
|
+
getYearlyTurnOver: async (year: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14676
|
+
// verify required parameter 'year' is not null or undefined
|
|
14677
|
+
assertParamExists('getYearlyTurnOver', 'year', year)
|
|
14678
|
+
const localVarPath = `/api/club-analytics/yearly-turnover`;
|
|
14679
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14680
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14681
|
+
let baseOptions;
|
|
14682
|
+
if (configuration) {
|
|
14683
|
+
baseOptions = configuration.baseOptions;
|
|
14684
|
+
}
|
|
14685
|
+
|
|
14686
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14687
|
+
const localVarHeaderParameter = {} as any;
|
|
14688
|
+
const localVarQueryParameter = {} as any;
|
|
14689
|
+
|
|
14690
|
+
// authentication bearerAuth required
|
|
14691
|
+
// http bearer authentication required
|
|
14692
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14693
|
+
|
|
14694
|
+
if (year !== undefined) {
|
|
14695
|
+
localVarQueryParameter['year'] = year;
|
|
14696
|
+
}
|
|
14697
|
+
|
|
14698
|
+
|
|
14699
|
+
|
|
14700
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14701
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14702
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14703
|
+
|
|
14704
|
+
return {
|
|
14705
|
+
url: toPathString(localVarUrlObj),
|
|
14706
|
+
options: localVarRequestOptions,
|
|
14707
|
+
};
|
|
14708
|
+
},
|
|
14709
|
+
}
|
|
14710
|
+
};
|
|
14711
|
+
|
|
14712
|
+
/**
|
|
14713
|
+
* ClubAnalyticsStaffApi - functional programming interface
|
|
14714
|
+
* @export
|
|
14715
|
+
*/
|
|
14716
|
+
export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
14717
|
+
const localVarAxiosParamCreator = ClubAnalyticsStaffApiAxiosParamCreator(configuration)
|
|
14718
|
+
return {
|
|
14719
|
+
/**
|
|
14720
|
+
* Récupère les analytics par sport
|
|
14721
|
+
* @param {string} sportId
|
|
14722
|
+
* @param {*} [options] Override http request option.
|
|
14723
|
+
* @throws {RequiredError}
|
|
14724
|
+
*/
|
|
14725
|
+
async getAnalyticsBySport(sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportAnalyticsResponse>> {
|
|
14726
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAnalyticsBySport(sportId, options);
|
|
14727
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14728
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
|
|
14729
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14730
|
+
},
|
|
14731
|
+
/**
|
|
14732
|
+
* Nombre de réservations par jour en fonction des slots
|
|
14733
|
+
* @param {string} [startDate]
|
|
14734
|
+
* @param {string} [endDate]
|
|
14735
|
+
* @param {*} [options] Override http request option.
|
|
14736
|
+
* @throws {RequiredError}
|
|
14737
|
+
*/
|
|
14738
|
+
async getBookingsPerDay(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsPerDayResponse>> {
|
|
14739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingsPerDay(startDate, endDate, options);
|
|
14740
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14741
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getBookingsPerDay']?.[localVarOperationServerIndex]?.url;
|
|
14132
14742
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14133
14743
|
},
|
|
14134
14744
|
/**
|
|
@@ -14184,6 +14794,17 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14184
14794
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']?.[localVarOperationServerIndex]?.url;
|
|
14185
14795
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14186
14796
|
},
|
|
14797
|
+
/**
|
|
14798
|
+
* Nombre total d\'abonnés actifs du club
|
|
14799
|
+
* @param {*} [options] Override http request option.
|
|
14800
|
+
* @throws {RequiredError}
|
|
14801
|
+
*/
|
|
14802
|
+
async getClubSubscribersSummary(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSubscriberSummaryResponse>> {
|
|
14803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubSubscribersSummary(options);
|
|
14804
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14805
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubSubscribersSummary']?.[localVarOperationServerIndex]?.url;
|
|
14806
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14807
|
+
},
|
|
14187
14808
|
/**
|
|
14188
14809
|
* Récupère le chiffre d\'affaires quotidien
|
|
14189
14810
|
* @param {string} date
|
|
@@ -14231,6 +14852,29 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14231
14852
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getLastSixMonthsTurnover']?.[localVarOperationServerIndex]?.url;
|
|
14232
14853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14233
14854
|
},
|
|
14855
|
+
/**
|
|
14856
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
14857
|
+
* @param {number} [limit]
|
|
14858
|
+
* @param {*} [options] Override http request option.
|
|
14859
|
+
* @throws {RequiredError}
|
|
14860
|
+
*/
|
|
14861
|
+
async getLeastBookedTimeSlots(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeastBookedTimeSlotsResponse>> {
|
|
14862
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLeastBookedTimeSlots(limit, options);
|
|
14863
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14864
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedTimeSlots']?.[localVarOperationServerIndex]?.url;
|
|
14865
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14866
|
+
},
|
|
14867
|
+
/**
|
|
14868
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
14869
|
+
* @param {*} [options] Override http request option.
|
|
14870
|
+
* @throws {RequiredError}
|
|
14871
|
+
*/
|
|
14872
|
+
async getLeastBookedWeekday(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeastBookedWeekdayResponse>> {
|
|
14873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLeastBookedWeekday(options);
|
|
14874
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14875
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedWeekday']?.[localVarOperationServerIndex]?.url;
|
|
14876
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14877
|
+
},
|
|
14234
14878
|
/**
|
|
14235
14879
|
* Récupère le chiffre d\'affaires mensuel
|
|
14236
14880
|
* @param {string} year
|
|
@@ -14244,6 +14888,45 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14244
14888
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getMonthlyTurnOver']?.[localVarOperationServerIndex]?.url;
|
|
14245
14889
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14246
14890
|
},
|
|
14891
|
+
/**
|
|
14892
|
+
* Nouvelles réservations créées sur une période
|
|
14893
|
+
* @param {string} [startDate]
|
|
14894
|
+
* @param {string} [endDate]
|
|
14895
|
+
* @param {*} [options] Override http request option.
|
|
14896
|
+
* @throws {RequiredError}
|
|
14897
|
+
*/
|
|
14898
|
+
async getNewBookingsCount(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubNewBookingsResponse>> {
|
|
14899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNewBookingsCount(startDate, endDate, options);
|
|
14900
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14901
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getNewBookingsCount']?.[localVarOperationServerIndex]?.url;
|
|
14902
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14903
|
+
},
|
|
14904
|
+
/**
|
|
14905
|
+
* Nouveaux abonnés sur une période
|
|
14906
|
+
* @param {string} [startDate]
|
|
14907
|
+
* @param {string} [endDate]
|
|
14908
|
+
* @param {*} [options] Override http request option.
|
|
14909
|
+
* @throws {RequiredError}
|
|
14910
|
+
*/
|
|
14911
|
+
async getNewSubscribersCount(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubNewSubscribersResponse>> {
|
|
14912
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNewSubscribersCount(startDate, endDate, options);
|
|
14913
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14914
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getNewSubscribersCount']?.[localVarOperationServerIndex]?.url;
|
|
14915
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14916
|
+
},
|
|
14917
|
+
/**
|
|
14918
|
+
* Taux de no-show global ou sur une période
|
|
14919
|
+
* @param {string} [startDate]
|
|
14920
|
+
* @param {string} [endDate]
|
|
14921
|
+
* @param {*} [options] Override http request option.
|
|
14922
|
+
* @throws {RequiredError}
|
|
14923
|
+
*/
|
|
14924
|
+
async getNoShowRate(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoShowRateResponse>> {
|
|
14925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNoShowRate(startDate, endDate, options);
|
|
14926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14927
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getNoShowRate']?.[localVarOperationServerIndex]?.url;
|
|
14928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14929
|
+
},
|
|
14247
14930
|
/**
|
|
14248
14931
|
* Récupère le nombre d\'utilisateurs du club
|
|
14249
14932
|
* @param {*} [options] Override http request option.
|
|
@@ -14330,6 +15013,15 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14330
15013
|
getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
|
|
14331
15014
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
14332
15015
|
},
|
|
15016
|
+
/**
|
|
15017
|
+
* Nombre de réservations par jour en fonction des slots
|
|
15018
|
+
* @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
|
|
15019
|
+
* @param {*} [options] Override http request option.
|
|
15020
|
+
* @throws {RequiredError}
|
|
15021
|
+
*/
|
|
15022
|
+
getBookingsPerDay(requestParameters: ClubAnalyticsStaffApiGetBookingsPerDayRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<BookingsPerDayResponse> {
|
|
15023
|
+
return localVarFp.getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15024
|
+
},
|
|
14333
15025
|
/**
|
|
14334
15026
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
14335
15027
|
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
@@ -14366,6 +15058,14 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14366
15058
|
getClubPlayers(requestParameters: ClubAnalyticsStaffApiGetClubPlayersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse> {
|
|
14367
15059
|
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
|
|
14368
15060
|
},
|
|
15061
|
+
/**
|
|
15062
|
+
* Nombre total d\'abonnés actifs du club
|
|
15063
|
+
* @param {*} [options] Override http request option.
|
|
15064
|
+
* @throws {RequiredError}
|
|
15065
|
+
*/
|
|
15066
|
+
getClubSubscribersSummary(options?: RawAxiosRequestConfig): AxiosPromise<ClubSubscriberSummaryResponse> {
|
|
15067
|
+
return localVarFp.getClubSubscribersSummary(options).then((request) => request(axios, basePath));
|
|
15068
|
+
},
|
|
14369
15069
|
/**
|
|
14370
15070
|
* Récupère le chiffre d\'affaires quotidien
|
|
14371
15071
|
* @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14400,6 +15100,23 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14400
15100
|
getLastSixMonthsTurnover(options?: RawAxiosRequestConfig): AxiosPromise<Array<LastSixMonthsTurnoverItem>> {
|
|
14401
15101
|
return localVarFp.getLastSixMonthsTurnover(options).then((request) => request(axios, basePath));
|
|
14402
15102
|
},
|
|
15103
|
+
/**
|
|
15104
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
15105
|
+
* @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
|
|
15106
|
+
* @param {*} [options] Override http request option.
|
|
15107
|
+
* @throws {RequiredError}
|
|
15108
|
+
*/
|
|
15109
|
+
getLeastBookedTimeSlots(requestParameters: ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<LeastBookedTimeSlotsResponse> {
|
|
15110
|
+
return localVarFp.getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
15111
|
+
},
|
|
15112
|
+
/**
|
|
15113
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
15114
|
+
* @param {*} [options] Override http request option.
|
|
15115
|
+
* @throws {RequiredError}
|
|
15116
|
+
*/
|
|
15117
|
+
getLeastBookedWeekday(options?: RawAxiosRequestConfig): AxiosPromise<LeastBookedWeekdayResponse> {
|
|
15118
|
+
return localVarFp.getLeastBookedWeekday(options).then((request) => request(axios, basePath));
|
|
15119
|
+
},
|
|
14403
15120
|
/**
|
|
14404
15121
|
* Récupère le chiffre d\'affaires mensuel
|
|
14405
15122
|
* @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14409,6 +15126,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14409
15126
|
getMonthlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<MonthlyTurnoverResponse> {
|
|
14410
15127
|
return localVarFp.getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(axios, basePath));
|
|
14411
15128
|
},
|
|
15129
|
+
/**
|
|
15130
|
+
* Nouvelles réservations créées sur une période
|
|
15131
|
+
* @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
|
|
15132
|
+
* @param {*} [options] Override http request option.
|
|
15133
|
+
* @throws {RequiredError}
|
|
15134
|
+
*/
|
|
15135
|
+
getNewBookingsCount(requestParameters: ClubAnalyticsStaffApiGetNewBookingsCountRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubNewBookingsResponse> {
|
|
15136
|
+
return localVarFp.getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15137
|
+
},
|
|
15138
|
+
/**
|
|
15139
|
+
* Nouveaux abonnés sur une période
|
|
15140
|
+
* @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
|
|
15141
|
+
* @param {*} [options] Override http request option.
|
|
15142
|
+
* @throws {RequiredError}
|
|
15143
|
+
*/
|
|
15144
|
+
getNewSubscribersCount(requestParameters: ClubAnalyticsStaffApiGetNewSubscribersCountRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubNewSubscribersResponse> {
|
|
15145
|
+
return localVarFp.getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15146
|
+
},
|
|
15147
|
+
/**
|
|
15148
|
+
* Taux de no-show global ou sur une période
|
|
15149
|
+
* @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
|
|
15150
|
+
* @param {*} [options] Override http request option.
|
|
15151
|
+
* @throws {RequiredError}
|
|
15152
|
+
*/
|
|
15153
|
+
getNoShowRate(requestParameters: ClubAnalyticsStaffApiGetNoShowRateRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<NoShowRateResponse> {
|
|
15154
|
+
return localVarFp.getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15155
|
+
},
|
|
14412
15156
|
/**
|
|
14413
15157
|
* Récupère le nombre d\'utilisateurs du club
|
|
14414
15158
|
* @param {*} [options] Override http request option.
|
|
@@ -14475,6 +15219,27 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
|
|
|
14475
15219
|
readonly sportId: string
|
|
14476
15220
|
}
|
|
14477
15221
|
|
|
15222
|
+
/**
|
|
15223
|
+
* Request parameters for getBookingsPerDay operation in ClubAnalyticsStaffApi.
|
|
15224
|
+
* @export
|
|
15225
|
+
* @interface ClubAnalyticsStaffApiGetBookingsPerDayRequest
|
|
15226
|
+
*/
|
|
15227
|
+
export interface ClubAnalyticsStaffApiGetBookingsPerDayRequest {
|
|
15228
|
+
/**
|
|
15229
|
+
*
|
|
15230
|
+
* @type {string}
|
|
15231
|
+
* @memberof ClubAnalyticsStaffApiGetBookingsPerDay
|
|
15232
|
+
*/
|
|
15233
|
+
readonly startDate?: string
|
|
15234
|
+
|
|
15235
|
+
/**
|
|
15236
|
+
*
|
|
15237
|
+
* @type {string}
|
|
15238
|
+
* @memberof ClubAnalyticsStaffApiGetBookingsPerDay
|
|
15239
|
+
*/
|
|
15240
|
+
readonly endDate?: string
|
|
15241
|
+
}
|
|
15242
|
+
|
|
14478
15243
|
/**
|
|
14479
15244
|
* Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
|
|
14480
15245
|
* @export
|
|
@@ -14601,6 +15366,20 @@ export interface ClubAnalyticsStaffApiGetInfillPercentagePerPeriodRequest {
|
|
|
14601
15366
|
readonly endDate?: string
|
|
14602
15367
|
}
|
|
14603
15368
|
|
|
15369
|
+
/**
|
|
15370
|
+
* Request parameters for getLeastBookedTimeSlots operation in ClubAnalyticsStaffApi.
|
|
15371
|
+
* @export
|
|
15372
|
+
* @interface ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest
|
|
15373
|
+
*/
|
|
15374
|
+
export interface ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest {
|
|
15375
|
+
/**
|
|
15376
|
+
*
|
|
15377
|
+
* @type {number}
|
|
15378
|
+
* @memberof ClubAnalyticsStaffApiGetLeastBookedTimeSlots
|
|
15379
|
+
*/
|
|
15380
|
+
readonly limit?: number
|
|
15381
|
+
}
|
|
15382
|
+
|
|
14604
15383
|
/**
|
|
14605
15384
|
* Request parameters for getMonthlyTurnOver operation in ClubAnalyticsStaffApi.
|
|
14606
15385
|
* @export
|
|
@@ -14622,6 +15401,69 @@ export interface ClubAnalyticsStaffApiGetMonthlyTurnOverRequest {
|
|
|
14622
15401
|
readonly month: string
|
|
14623
15402
|
}
|
|
14624
15403
|
|
|
15404
|
+
/**
|
|
15405
|
+
* Request parameters for getNewBookingsCount operation in ClubAnalyticsStaffApi.
|
|
15406
|
+
* @export
|
|
15407
|
+
* @interface ClubAnalyticsStaffApiGetNewBookingsCountRequest
|
|
15408
|
+
*/
|
|
15409
|
+
export interface ClubAnalyticsStaffApiGetNewBookingsCountRequest {
|
|
15410
|
+
/**
|
|
15411
|
+
*
|
|
15412
|
+
* @type {string}
|
|
15413
|
+
* @memberof ClubAnalyticsStaffApiGetNewBookingsCount
|
|
15414
|
+
*/
|
|
15415
|
+
readonly startDate?: string
|
|
15416
|
+
|
|
15417
|
+
/**
|
|
15418
|
+
*
|
|
15419
|
+
* @type {string}
|
|
15420
|
+
* @memberof ClubAnalyticsStaffApiGetNewBookingsCount
|
|
15421
|
+
*/
|
|
15422
|
+
readonly endDate?: string
|
|
15423
|
+
}
|
|
15424
|
+
|
|
15425
|
+
/**
|
|
15426
|
+
* Request parameters for getNewSubscribersCount operation in ClubAnalyticsStaffApi.
|
|
15427
|
+
* @export
|
|
15428
|
+
* @interface ClubAnalyticsStaffApiGetNewSubscribersCountRequest
|
|
15429
|
+
*/
|
|
15430
|
+
export interface ClubAnalyticsStaffApiGetNewSubscribersCountRequest {
|
|
15431
|
+
/**
|
|
15432
|
+
*
|
|
15433
|
+
* @type {string}
|
|
15434
|
+
* @memberof ClubAnalyticsStaffApiGetNewSubscribersCount
|
|
15435
|
+
*/
|
|
15436
|
+
readonly startDate?: string
|
|
15437
|
+
|
|
15438
|
+
/**
|
|
15439
|
+
*
|
|
15440
|
+
* @type {string}
|
|
15441
|
+
* @memberof ClubAnalyticsStaffApiGetNewSubscribersCount
|
|
15442
|
+
*/
|
|
15443
|
+
readonly endDate?: string
|
|
15444
|
+
}
|
|
15445
|
+
|
|
15446
|
+
/**
|
|
15447
|
+
* Request parameters for getNoShowRate operation in ClubAnalyticsStaffApi.
|
|
15448
|
+
* @export
|
|
15449
|
+
* @interface ClubAnalyticsStaffApiGetNoShowRateRequest
|
|
15450
|
+
*/
|
|
15451
|
+
export interface ClubAnalyticsStaffApiGetNoShowRateRequest {
|
|
15452
|
+
/**
|
|
15453
|
+
*
|
|
15454
|
+
* @type {string}
|
|
15455
|
+
* @memberof ClubAnalyticsStaffApiGetNoShowRate
|
|
15456
|
+
*/
|
|
15457
|
+
readonly startDate?: string
|
|
15458
|
+
|
|
15459
|
+
/**
|
|
15460
|
+
*
|
|
15461
|
+
* @type {string}
|
|
15462
|
+
* @memberof ClubAnalyticsStaffApiGetNoShowRate
|
|
15463
|
+
*/
|
|
15464
|
+
readonly endDate?: string
|
|
15465
|
+
}
|
|
15466
|
+
|
|
14625
15467
|
/**
|
|
14626
15468
|
* Request parameters for getYearlyTurnOver operation in ClubAnalyticsStaffApi.
|
|
14627
15469
|
* @export
|
|
@@ -14654,6 +15496,17 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14654
15496
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
14655
15497
|
}
|
|
14656
15498
|
|
|
15499
|
+
/**
|
|
15500
|
+
* Nombre de réservations par jour en fonction des slots
|
|
15501
|
+
* @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
|
|
15502
|
+
* @param {*} [options] Override http request option.
|
|
15503
|
+
* @throws {RequiredError}
|
|
15504
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15505
|
+
*/
|
|
15506
|
+
public getBookingsPerDay(requestParameters: ClubAnalyticsStaffApiGetBookingsPerDayRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15507
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15508
|
+
}
|
|
15509
|
+
|
|
14657
15510
|
/**
|
|
14658
15511
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
14659
15512
|
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
@@ -14698,6 +15551,16 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14698
15551
|
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
14699
15552
|
}
|
|
14700
15553
|
|
|
15554
|
+
/**
|
|
15555
|
+
* Nombre total d\'abonnés actifs du club
|
|
15556
|
+
* @param {*} [options] Override http request option.
|
|
15557
|
+
* @throws {RequiredError}
|
|
15558
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15559
|
+
*/
|
|
15560
|
+
public getClubSubscribersSummary(options?: RawAxiosRequestConfig) {
|
|
15561
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubSubscribersSummary(options).then((request) => request(this.axios, this.basePath));
|
|
15562
|
+
}
|
|
15563
|
+
|
|
14701
15564
|
/**
|
|
14702
15565
|
* Récupère le chiffre d\'affaires quotidien
|
|
14703
15566
|
* @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14740,6 +15603,27 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14740
15603
|
return ClubAnalyticsStaffApiFp(this.configuration).getLastSixMonthsTurnover(options).then((request) => request(this.axios, this.basePath));
|
|
14741
15604
|
}
|
|
14742
15605
|
|
|
15606
|
+
/**
|
|
15607
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
15608
|
+
* @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
|
|
15609
|
+
* @param {*} [options] Override http request option.
|
|
15610
|
+
* @throws {RequiredError}
|
|
15611
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15612
|
+
*/
|
|
15613
|
+
public getLeastBookedTimeSlots(requestParameters: ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15614
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
15615
|
+
}
|
|
15616
|
+
|
|
15617
|
+
/**
|
|
15618
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
15619
|
+
* @param {*} [options] Override http request option.
|
|
15620
|
+
* @throws {RequiredError}
|
|
15621
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15622
|
+
*/
|
|
15623
|
+
public getLeastBookedWeekday(options?: RawAxiosRequestConfig) {
|
|
15624
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedWeekday(options).then((request) => request(this.axios, this.basePath));
|
|
15625
|
+
}
|
|
15626
|
+
|
|
14743
15627
|
/**
|
|
14744
15628
|
* Récupère le chiffre d\'affaires mensuel
|
|
14745
15629
|
* @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14751,6 +15635,39 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14751
15635
|
return ClubAnalyticsStaffApiFp(this.configuration).getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(this.axios, this.basePath));
|
|
14752
15636
|
}
|
|
14753
15637
|
|
|
15638
|
+
/**
|
|
15639
|
+
* Nouvelles réservations créées sur une période
|
|
15640
|
+
* @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
|
|
15641
|
+
* @param {*} [options] Override http request option.
|
|
15642
|
+
* @throws {RequiredError}
|
|
15643
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15644
|
+
*/
|
|
15645
|
+
public getNewBookingsCount(requestParameters: ClubAnalyticsStaffApiGetNewBookingsCountRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15646
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15647
|
+
}
|
|
15648
|
+
|
|
15649
|
+
/**
|
|
15650
|
+
* Nouveaux abonnés sur une période
|
|
15651
|
+
* @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
|
|
15652
|
+
* @param {*} [options] Override http request option.
|
|
15653
|
+
* @throws {RequiredError}
|
|
15654
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15655
|
+
*/
|
|
15656
|
+
public getNewSubscribersCount(requestParameters: ClubAnalyticsStaffApiGetNewSubscribersCountRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15657
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15658
|
+
}
|
|
15659
|
+
|
|
15660
|
+
/**
|
|
15661
|
+
* Taux de no-show global ou sur une période
|
|
15662
|
+
* @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
|
|
15663
|
+
* @param {*} [options] Override http request option.
|
|
15664
|
+
* @throws {RequiredError}
|
|
15665
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15666
|
+
*/
|
|
15667
|
+
public getNoShowRate(requestParameters: ClubAnalyticsStaffApiGetNoShowRateRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15668
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15669
|
+
}
|
|
15670
|
+
|
|
14754
15671
|
/**
|
|
14755
15672
|
* Récupère le nombre d\'utilisateurs du club
|
|
14756
15673
|
* @param {*} [options] Override http request option.
|
|
@@ -15371,6 +16288,45 @@ export class ClubRolesStaffApi extends BaseAPI {
|
|
|
15371
16288
|
*/
|
|
15372
16289
|
export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15373
16290
|
return {
|
|
16291
|
+
/**
|
|
16292
|
+
*
|
|
16293
|
+
* @param {DuplicateClubDayScheduleRequest} duplicateClubDayScheduleRequest
|
|
16294
|
+
* @param {*} [options] Override http request option.
|
|
16295
|
+
* @throws {RequiredError}
|
|
16296
|
+
*/
|
|
16297
|
+
duplicateDaySchedule: async (duplicateClubDayScheduleRequest: DuplicateClubDayScheduleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16298
|
+
// verify required parameter 'duplicateClubDayScheduleRequest' is not null or undefined
|
|
16299
|
+
assertParamExists('duplicateDaySchedule', 'duplicateClubDayScheduleRequest', duplicateClubDayScheduleRequest)
|
|
16300
|
+
const localVarPath = `/api/club-settings/hours/day/duplicate`;
|
|
16301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16303
|
+
let baseOptions;
|
|
16304
|
+
if (configuration) {
|
|
16305
|
+
baseOptions = configuration.baseOptions;
|
|
16306
|
+
}
|
|
16307
|
+
|
|
16308
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16309
|
+
const localVarHeaderParameter = {} as any;
|
|
16310
|
+
const localVarQueryParameter = {} as any;
|
|
16311
|
+
|
|
16312
|
+
// authentication bearerAuth required
|
|
16313
|
+
// http bearer authentication required
|
|
16314
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16315
|
+
|
|
16316
|
+
|
|
16317
|
+
|
|
16318
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16319
|
+
|
|
16320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16322
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(duplicateClubDayScheduleRequest, localVarRequestOptions, configuration)
|
|
16324
|
+
|
|
16325
|
+
return {
|
|
16326
|
+
url: toPathString(localVarUrlObj),
|
|
16327
|
+
options: localVarRequestOptions,
|
|
16328
|
+
};
|
|
16329
|
+
},
|
|
15374
16330
|
/**
|
|
15375
16331
|
*
|
|
15376
16332
|
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
@@ -15449,6 +16405,49 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
15449
16405
|
options: localVarRequestOptions,
|
|
15450
16406
|
};
|
|
15451
16407
|
},
|
|
16408
|
+
/**
|
|
16409
|
+
*
|
|
16410
|
+
* @param {WeekdayKey} day
|
|
16411
|
+
* @param {UpdateClubDayScheduleRequest} updateClubDayScheduleRequest
|
|
16412
|
+
* @param {*} [options] Override http request option.
|
|
16413
|
+
* @throws {RequiredError}
|
|
16414
|
+
*/
|
|
16415
|
+
updateDaySchedule: async (day: WeekdayKey, updateClubDayScheduleRequest: UpdateClubDayScheduleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16416
|
+
// verify required parameter 'day' is not null or undefined
|
|
16417
|
+
assertParamExists('updateDaySchedule', 'day', day)
|
|
16418
|
+
// verify required parameter 'updateClubDayScheduleRequest' is not null or undefined
|
|
16419
|
+
assertParamExists('updateDaySchedule', 'updateClubDayScheduleRequest', updateClubDayScheduleRequest)
|
|
16420
|
+
const localVarPath = `/api/club-settings/hours/day/{day}`
|
|
16421
|
+
.replace(`{${"day"}}`, encodeURIComponent(String(day)));
|
|
16422
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16423
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16424
|
+
let baseOptions;
|
|
16425
|
+
if (configuration) {
|
|
16426
|
+
baseOptions = configuration.baseOptions;
|
|
16427
|
+
}
|
|
16428
|
+
|
|
16429
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
16430
|
+
const localVarHeaderParameter = {} as any;
|
|
16431
|
+
const localVarQueryParameter = {} as any;
|
|
16432
|
+
|
|
16433
|
+
// authentication bearerAuth required
|
|
16434
|
+
// http bearer authentication required
|
|
16435
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16436
|
+
|
|
16437
|
+
|
|
16438
|
+
|
|
16439
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16440
|
+
|
|
16441
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16442
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16443
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16444
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubDayScheduleRequest, localVarRequestOptions, configuration)
|
|
16445
|
+
|
|
16446
|
+
return {
|
|
16447
|
+
url: toPathString(localVarUrlObj),
|
|
16448
|
+
options: localVarRequestOptions,
|
|
16449
|
+
};
|
|
16450
|
+
},
|
|
15452
16451
|
/**
|
|
15453
16452
|
*
|
|
15454
16453
|
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
@@ -15576,6 +16575,18 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
15576
16575
|
export const ClubSettingsManagerApiFp = function(configuration?: Configuration) {
|
|
15577
16576
|
const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration)
|
|
15578
16577
|
return {
|
|
16578
|
+
/**
|
|
16579
|
+
*
|
|
16580
|
+
* @param {DuplicateClubDayScheduleRequest} duplicateClubDayScheduleRequest
|
|
16581
|
+
* @param {*} [options] Override http request option.
|
|
16582
|
+
* @throws {RequiredError}
|
|
16583
|
+
*/
|
|
16584
|
+
async duplicateDaySchedule(duplicateClubDayScheduleRequest: DuplicateClubDayScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
|
|
16585
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.duplicateDaySchedule(duplicateClubDayScheduleRequest, options);
|
|
16586
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16587
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.duplicateDaySchedule']?.[localVarOperationServerIndex]?.url;
|
|
16588
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16589
|
+
},
|
|
15579
16590
|
/**
|
|
15580
16591
|
*
|
|
15581
16592
|
* @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
|
|
@@ -15600,6 +16611,19 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
|
|
|
15600
16611
|
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateClubGeneralSettings']?.[localVarOperationServerIndex]?.url;
|
|
15601
16612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15602
16613
|
},
|
|
16614
|
+
/**
|
|
16615
|
+
*
|
|
16616
|
+
* @param {WeekdayKey} day
|
|
16617
|
+
* @param {UpdateClubDayScheduleRequest} updateClubDayScheduleRequest
|
|
16618
|
+
* @param {*} [options] Override http request option.
|
|
16619
|
+
* @throws {RequiredError}
|
|
16620
|
+
*/
|
|
16621
|
+
async updateDaySchedule(day: WeekdayKey, updateClubDayScheduleRequest: UpdateClubDayScheduleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
|
|
16622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDaySchedule(day, updateClubDayScheduleRequest, options);
|
|
16623
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16624
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateDaySchedule']?.[localVarOperationServerIndex]?.url;
|
|
16625
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16626
|
+
},
|
|
15603
16627
|
/**
|
|
15604
16628
|
*
|
|
15605
16629
|
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
@@ -15646,6 +16670,15 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
|
|
|
15646
16670
|
export const ClubSettingsManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15647
16671
|
const localVarFp = ClubSettingsManagerApiFp(configuration)
|
|
15648
16672
|
return {
|
|
16673
|
+
/**
|
|
16674
|
+
*
|
|
16675
|
+
* @param {ClubSettingsManagerApiDuplicateDayScheduleRequest} requestParameters Request parameters.
|
|
16676
|
+
* @param {*} [options] Override http request option.
|
|
16677
|
+
* @throws {RequiredError}
|
|
16678
|
+
*/
|
|
16679
|
+
duplicateDaySchedule(requestParameters: ClubSettingsManagerApiDuplicateDayScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
|
|
16680
|
+
return localVarFp.duplicateDaySchedule(requestParameters.duplicateClubDayScheduleRequest, options).then((request) => request(axios, basePath));
|
|
16681
|
+
},
|
|
15649
16682
|
/**
|
|
15650
16683
|
*
|
|
15651
16684
|
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
@@ -15664,6 +16697,15 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
|
|
|
15664
16697
|
updateClubGeneralSettings(requestParameters: ClubSettingsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse> {
|
|
15665
16698
|
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
15666
16699
|
},
|
|
16700
|
+
/**
|
|
16701
|
+
*
|
|
16702
|
+
* @param {ClubSettingsManagerApiUpdateDayScheduleRequest} requestParameters Request parameters.
|
|
16703
|
+
* @param {*} [options] Override http request option.
|
|
16704
|
+
* @throws {RequiredError}
|
|
16705
|
+
*/
|
|
16706
|
+
updateDaySchedule(requestParameters: ClubSettingsManagerApiUpdateDayScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
|
|
16707
|
+
return localVarFp.updateDaySchedule(requestParameters.day, requestParameters.updateClubDayScheduleRequest, options).then((request) => request(axios, basePath));
|
|
16708
|
+
},
|
|
15667
16709
|
/**
|
|
15668
16710
|
*
|
|
15669
16711
|
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
@@ -15694,6 +16736,20 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
|
|
|
15694
16736
|
};
|
|
15695
16737
|
};
|
|
15696
16738
|
|
|
16739
|
+
/**
|
|
16740
|
+
* Request parameters for duplicateDaySchedule operation in ClubSettingsManagerApi.
|
|
16741
|
+
* @export
|
|
16742
|
+
* @interface ClubSettingsManagerApiDuplicateDayScheduleRequest
|
|
16743
|
+
*/
|
|
16744
|
+
export interface ClubSettingsManagerApiDuplicateDayScheduleRequest {
|
|
16745
|
+
/**
|
|
16746
|
+
*
|
|
16747
|
+
* @type {DuplicateClubDayScheduleRequest}
|
|
16748
|
+
* @memberof ClubSettingsManagerApiDuplicateDaySchedule
|
|
16749
|
+
*/
|
|
16750
|
+
readonly duplicateClubDayScheduleRequest: DuplicateClubDayScheduleRequest
|
|
16751
|
+
}
|
|
16752
|
+
|
|
15697
16753
|
/**
|
|
15698
16754
|
* Request parameters for updateAccessSettings operation in ClubSettingsManagerApi.
|
|
15699
16755
|
* @export
|
|
@@ -15722,6 +16778,27 @@ export interface ClubSettingsManagerApiUpdateClubGeneralSettingsRequest {
|
|
|
15722
16778
|
readonly updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest
|
|
15723
16779
|
}
|
|
15724
16780
|
|
|
16781
|
+
/**
|
|
16782
|
+
* Request parameters for updateDaySchedule operation in ClubSettingsManagerApi.
|
|
16783
|
+
* @export
|
|
16784
|
+
* @interface ClubSettingsManagerApiUpdateDayScheduleRequest
|
|
16785
|
+
*/
|
|
16786
|
+
export interface ClubSettingsManagerApiUpdateDayScheduleRequest {
|
|
16787
|
+
/**
|
|
16788
|
+
*
|
|
16789
|
+
* @type {WeekdayKey}
|
|
16790
|
+
* @memberof ClubSettingsManagerApiUpdateDaySchedule
|
|
16791
|
+
*/
|
|
16792
|
+
readonly day: WeekdayKey
|
|
16793
|
+
|
|
16794
|
+
/**
|
|
16795
|
+
*
|
|
16796
|
+
* @type {UpdateClubDayScheduleRequest}
|
|
16797
|
+
* @memberof ClubSettingsManagerApiUpdateDaySchedule
|
|
16798
|
+
*/
|
|
16799
|
+
readonly updateClubDayScheduleRequest: UpdateClubDayScheduleRequest
|
|
16800
|
+
}
|
|
16801
|
+
|
|
15725
16802
|
/**
|
|
15726
16803
|
* Request parameters for updateHoursSettings operation in ClubSettingsManagerApi.
|
|
15727
16804
|
* @export
|
|
@@ -15771,6 +16848,17 @@ export interface ClubSettingsManagerApiUpdateReservationSettingsRequest {
|
|
|
15771
16848
|
* @extends {BaseAPI}
|
|
15772
16849
|
*/
|
|
15773
16850
|
export class ClubSettingsManagerApi extends BaseAPI {
|
|
16851
|
+
/**
|
|
16852
|
+
*
|
|
16853
|
+
* @param {ClubSettingsManagerApiDuplicateDayScheduleRequest} requestParameters Request parameters.
|
|
16854
|
+
* @param {*} [options] Override http request option.
|
|
16855
|
+
* @throws {RequiredError}
|
|
16856
|
+
* @memberof ClubSettingsManagerApi
|
|
16857
|
+
*/
|
|
16858
|
+
public duplicateDaySchedule(requestParameters: ClubSettingsManagerApiDuplicateDayScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
16859
|
+
return ClubSettingsManagerApiFp(this.configuration).duplicateDaySchedule(requestParameters.duplicateClubDayScheduleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16860
|
+
}
|
|
16861
|
+
|
|
15774
16862
|
/**
|
|
15775
16863
|
*
|
|
15776
16864
|
* @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
|
|
@@ -15793,6 +16881,17 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
15793
16881
|
return ClubSettingsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15794
16882
|
}
|
|
15795
16883
|
|
|
16884
|
+
/**
|
|
16885
|
+
*
|
|
16886
|
+
* @param {ClubSettingsManagerApiUpdateDayScheduleRequest} requestParameters Request parameters.
|
|
16887
|
+
* @param {*} [options] Override http request option.
|
|
16888
|
+
* @throws {RequiredError}
|
|
16889
|
+
* @memberof ClubSettingsManagerApi
|
|
16890
|
+
*/
|
|
16891
|
+
public updateDaySchedule(requestParameters: ClubSettingsManagerApiUpdateDayScheduleRequest, options?: RawAxiosRequestConfig) {
|
|
16892
|
+
return ClubSettingsManagerApiFp(this.configuration).updateDaySchedule(requestParameters.day, requestParameters.updateClubDayScheduleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16893
|
+
}
|
|
16894
|
+
|
|
15796
16895
|
/**
|
|
15797
16896
|
*
|
|
15798
16897
|
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|