@tennac-booking/sdk 1.0.141 → 1.0.143
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 +11 -0
- package/README.md +18 -0
- package/api.ts +1056 -12
- package/dist/api.d.ts +720 -4
- package/dist/api.js +494 -11
- package/dist/esm/api.d.ts +720 -4
- package/dist/esm/api.js +490 -7
- package/docs/BookingsPerDayItem.md +30 -0
- package/docs/BookingsPerDayResponse.md +24 -0
- package/docs/ClubAnalyticsStaffApi.md +388 -2
- package/docs/ClubNewBookingsResponse.md +32 -0
- package/docs/ClubNewSubscribersResponse.md +32 -0
- package/docs/ClubSubscriberSummaryResponse.md +20 -0
- package/docs/LeastBookedTimeSlotItem.md +26 -0
- package/docs/LeastBookedTimeSlotsResponse.md +24 -0
- package/docs/LeastBookedWeekdayResponse.md +26 -0
- package/docs/MonthlyTurnoverResponse.md +8 -0
- package/docs/NoShowRateResponse.md +28 -0
- package/docs/RetentionRateResponse.md +8 -0
- package/docs/TrendDirection.md +12 -0
- package/docs/WeekdayAverageItem.md +28 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1257,6 +1257,76 @@ 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
|
+
* Valeur mesurée sur la période actuelle
|
|
1268
|
+
* @type {number}
|
|
1269
|
+
* @memberof BookingsPerDayItem
|
|
1270
|
+
*/
|
|
1271
|
+
'value': number;
|
|
1272
|
+
/**
|
|
1273
|
+
* Valeur de référence calculée avec la comparaison Same Weekday
|
|
1274
|
+
* @type {number}
|
|
1275
|
+
* @memberof BookingsPerDayItem
|
|
1276
|
+
*/
|
|
1277
|
+
'reference': number;
|
|
1278
|
+
/**
|
|
1279
|
+
* Différence entre la valeur actuelle et la référence
|
|
1280
|
+
* @type {number}
|
|
1281
|
+
* @memberof BookingsPerDayItem
|
|
1282
|
+
*/
|
|
1283
|
+
'delta': number;
|
|
1284
|
+
/**
|
|
1285
|
+
*
|
|
1286
|
+
* @type {TrendDirection}
|
|
1287
|
+
* @memberof BookingsPerDayItem
|
|
1288
|
+
*/
|
|
1289
|
+
'trend': TrendDirection;
|
|
1290
|
+
/**
|
|
1291
|
+
* Jour au format YYYY-MM-DD
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof BookingsPerDayItem
|
|
1294
|
+
*/
|
|
1295
|
+
'date': string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Nombre de réservations dont la séance se déroule ce jour-là
|
|
1298
|
+
* @type {number}
|
|
1299
|
+
* @memberof BookingsPerDayItem
|
|
1300
|
+
*/
|
|
1301
|
+
'bookingsCount': number;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
*
|
|
1307
|
+
* @export
|
|
1308
|
+
* @interface BookingsPerDayResponse
|
|
1309
|
+
*/
|
|
1310
|
+
export interface BookingsPerDayResponse {
|
|
1311
|
+
/**
|
|
1312
|
+
* Date de début incluse (format ISO)
|
|
1313
|
+
* @type {string}
|
|
1314
|
+
* @memberof BookingsPerDayResponse
|
|
1315
|
+
*/
|
|
1316
|
+
'startDate': string;
|
|
1317
|
+
/**
|
|
1318
|
+
* Date de fin incluse (format ISO)
|
|
1319
|
+
* @type {string}
|
|
1320
|
+
* @memberof BookingsPerDayResponse
|
|
1321
|
+
*/
|
|
1322
|
+
'endDate': string;
|
|
1323
|
+
/**
|
|
1324
|
+
* Comptes quotidiens
|
|
1325
|
+
* @type {Array<BookingsPerDayItem>}
|
|
1326
|
+
* @memberof BookingsPerDayResponse
|
|
1327
|
+
*/
|
|
1328
|
+
'dailyCounts': Array<BookingsPerDayItem>;
|
|
1329
|
+
}
|
|
1260
1330
|
/**
|
|
1261
1331
|
*
|
|
1262
1332
|
* @export
|
|
@@ -2184,6 +2254,108 @@ export interface ClubMetadataResponseLocation {
|
|
|
2184
2254
|
*/
|
|
2185
2255
|
'address'?: string;
|
|
2186
2256
|
}
|
|
2257
|
+
/**
|
|
2258
|
+
*
|
|
2259
|
+
* @export
|
|
2260
|
+
* @interface ClubNewBookingsResponse
|
|
2261
|
+
*/
|
|
2262
|
+
export interface ClubNewBookingsResponse {
|
|
2263
|
+
/**
|
|
2264
|
+
* Valeur mesurée sur la période actuelle
|
|
2265
|
+
* @type {number}
|
|
2266
|
+
* @memberof ClubNewBookingsResponse
|
|
2267
|
+
*/
|
|
2268
|
+
'value': number;
|
|
2269
|
+
/**
|
|
2270
|
+
* Valeur de référence calculée avec la comparaison Same Weekday
|
|
2271
|
+
* @type {number}
|
|
2272
|
+
* @memberof ClubNewBookingsResponse
|
|
2273
|
+
*/
|
|
2274
|
+
'reference': number;
|
|
2275
|
+
/**
|
|
2276
|
+
* Différence entre la valeur actuelle et la référence
|
|
2277
|
+
* @type {number}
|
|
2278
|
+
* @memberof ClubNewBookingsResponse
|
|
2279
|
+
*/
|
|
2280
|
+
'delta': number;
|
|
2281
|
+
/**
|
|
2282
|
+
*
|
|
2283
|
+
* @type {TrendDirection}
|
|
2284
|
+
* @memberof ClubNewBookingsResponse
|
|
2285
|
+
*/
|
|
2286
|
+
'trend': TrendDirection;
|
|
2287
|
+
/**
|
|
2288
|
+
* Date de début incluse (format ISO)
|
|
2289
|
+
* @type {string}
|
|
2290
|
+
* @memberof ClubNewBookingsResponse
|
|
2291
|
+
*/
|
|
2292
|
+
'startDate': string;
|
|
2293
|
+
/**
|
|
2294
|
+
* Date de fin incluse (format ISO)
|
|
2295
|
+
* @type {string}
|
|
2296
|
+
* @memberof ClubNewBookingsResponse
|
|
2297
|
+
*/
|
|
2298
|
+
'endDate': string;
|
|
2299
|
+
/**
|
|
2300
|
+
* Nombre de nouvelles réservations créées durant la période
|
|
2301
|
+
* @type {number}
|
|
2302
|
+
* @memberof ClubNewBookingsResponse
|
|
2303
|
+
*/
|
|
2304
|
+
'newBookings': number;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
*
|
|
2310
|
+
* @export
|
|
2311
|
+
* @interface ClubNewSubscribersResponse
|
|
2312
|
+
*/
|
|
2313
|
+
export interface ClubNewSubscribersResponse {
|
|
2314
|
+
/**
|
|
2315
|
+
* Valeur mesurée sur la période actuelle
|
|
2316
|
+
* @type {number}
|
|
2317
|
+
* @memberof ClubNewSubscribersResponse
|
|
2318
|
+
*/
|
|
2319
|
+
'value': number;
|
|
2320
|
+
/**
|
|
2321
|
+
* Valeur de référence calculée avec la comparaison Same Weekday
|
|
2322
|
+
* @type {number}
|
|
2323
|
+
* @memberof ClubNewSubscribersResponse
|
|
2324
|
+
*/
|
|
2325
|
+
'reference': number;
|
|
2326
|
+
/**
|
|
2327
|
+
* Différence entre la valeur actuelle et la référence
|
|
2328
|
+
* @type {number}
|
|
2329
|
+
* @memberof ClubNewSubscribersResponse
|
|
2330
|
+
*/
|
|
2331
|
+
'delta': number;
|
|
2332
|
+
/**
|
|
2333
|
+
*
|
|
2334
|
+
* @type {TrendDirection}
|
|
2335
|
+
* @memberof ClubNewSubscribersResponse
|
|
2336
|
+
*/
|
|
2337
|
+
'trend': TrendDirection;
|
|
2338
|
+
/**
|
|
2339
|
+
* Date de début incluse (format ISO)
|
|
2340
|
+
* @type {string}
|
|
2341
|
+
* @memberof ClubNewSubscribersResponse
|
|
2342
|
+
*/
|
|
2343
|
+
'startDate': string;
|
|
2344
|
+
/**
|
|
2345
|
+
* Date de fin incluse (format ISO)
|
|
2346
|
+
* @type {string}
|
|
2347
|
+
* @memberof ClubNewSubscribersResponse
|
|
2348
|
+
*/
|
|
2349
|
+
'endDate': string;
|
|
2350
|
+
/**
|
|
2351
|
+
* Nombre de nouveaux abonnés sur la période
|
|
2352
|
+
* @type {number}
|
|
2353
|
+
* @memberof ClubNewSubscribersResponse
|
|
2354
|
+
*/
|
|
2355
|
+
'newSubscribers': number;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
|
|
2187
2359
|
/**
|
|
2188
2360
|
*
|
|
2189
2361
|
* @export
|
|
@@ -3274,6 +3446,19 @@ export const ClubRoleResponseRoleEnum = {
|
|
|
3274
3446
|
|
|
3275
3447
|
export type ClubRoleResponseRoleEnum = typeof ClubRoleResponseRoleEnum[keyof typeof ClubRoleResponseRoleEnum];
|
|
3276
3448
|
|
|
3449
|
+
/**
|
|
3450
|
+
*
|
|
3451
|
+
* @export
|
|
3452
|
+
* @interface ClubSubscriberSummaryResponse
|
|
3453
|
+
*/
|
|
3454
|
+
export interface ClubSubscriberSummaryResponse {
|
|
3455
|
+
/**
|
|
3456
|
+
* Nombre total d\'abonnés actifs au club
|
|
3457
|
+
* @type {number}
|
|
3458
|
+
* @memberof ClubSubscriberSummaryResponse
|
|
3459
|
+
*/
|
|
3460
|
+
'totalSubscribers': number;
|
|
3461
|
+
}
|
|
3277
3462
|
/**
|
|
3278
3463
|
*
|
|
3279
3464
|
* @export
|
|
@@ -6391,6 +6576,93 @@ export interface LastSixMonthsTurnoverItem {
|
|
|
6391
6576
|
*/
|
|
6392
6577
|
'value': number;
|
|
6393
6578
|
}
|
|
6579
|
+
/**
|
|
6580
|
+
*
|
|
6581
|
+
* @export
|
|
6582
|
+
* @interface LeastBookedTimeSlotItem
|
|
6583
|
+
*/
|
|
6584
|
+
export interface LeastBookedTimeSlotItem {
|
|
6585
|
+
/**
|
|
6586
|
+
* Jour de la semaine (0 = dimanche)
|
|
6587
|
+
* @type {number}
|
|
6588
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6589
|
+
*/
|
|
6590
|
+
'weekday': number;
|
|
6591
|
+
/**
|
|
6592
|
+
* Nom du jour
|
|
6593
|
+
* @type {string}
|
|
6594
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6595
|
+
*/
|
|
6596
|
+
'weekdayName': string;
|
|
6597
|
+
/**
|
|
6598
|
+
* Heure de début (format HH:00)
|
|
6599
|
+
* @type {string}
|
|
6600
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6601
|
+
*/
|
|
6602
|
+
'hour': string;
|
|
6603
|
+
/**
|
|
6604
|
+
* Nombre total de réservations observées pour ce créneau
|
|
6605
|
+
* @type {number}
|
|
6606
|
+
* @memberof LeastBookedTimeSlotItem
|
|
6607
|
+
*/
|
|
6608
|
+
'totalBookings': number;
|
|
6609
|
+
}
|
|
6610
|
+
/**
|
|
6611
|
+
*
|
|
6612
|
+
* @export
|
|
6613
|
+
* @interface LeastBookedTimeSlotsResponse
|
|
6614
|
+
*/
|
|
6615
|
+
export interface LeastBookedTimeSlotsResponse {
|
|
6616
|
+
/**
|
|
6617
|
+
* Début de la fenêtre analysée
|
|
6618
|
+
* @type {string}
|
|
6619
|
+
* @memberof LeastBookedTimeSlotsResponse
|
|
6620
|
+
*/
|
|
6621
|
+
'periodStart': string;
|
|
6622
|
+
/**
|
|
6623
|
+
* Fin de la fenêtre analysée
|
|
6624
|
+
* @type {string}
|
|
6625
|
+
* @memberof LeastBookedTimeSlotsResponse
|
|
6626
|
+
*/
|
|
6627
|
+
'periodEnd': string;
|
|
6628
|
+
/**
|
|
6629
|
+
* Créneaux les moins réservés
|
|
6630
|
+
* @type {Array<LeastBookedTimeSlotItem>}
|
|
6631
|
+
* @memberof LeastBookedTimeSlotsResponse
|
|
6632
|
+
*/
|
|
6633
|
+
'timeSlots': Array<LeastBookedTimeSlotItem>;
|
|
6634
|
+
}
|
|
6635
|
+
/**
|
|
6636
|
+
*
|
|
6637
|
+
* @export
|
|
6638
|
+
* @interface LeastBookedWeekdayResponse
|
|
6639
|
+
*/
|
|
6640
|
+
export interface LeastBookedWeekdayResponse {
|
|
6641
|
+
/**
|
|
6642
|
+
* Date de début de la période analysée
|
|
6643
|
+
* @type {string}
|
|
6644
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6645
|
+
*/
|
|
6646
|
+
'periodStart': string;
|
|
6647
|
+
/**
|
|
6648
|
+
* Date de fin de la période analysée
|
|
6649
|
+
* @type {string}
|
|
6650
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6651
|
+
*/
|
|
6652
|
+
'periodEnd': string;
|
|
6653
|
+
/**
|
|
6654
|
+
* Jour le moins réservé (null si aucune donnée)
|
|
6655
|
+
* @type {WeekdayAverageItem}
|
|
6656
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6657
|
+
*/
|
|
6658
|
+
'leastBooked': WeekdayAverageItem | null;
|
|
6659
|
+
/**
|
|
6660
|
+
* Détail des moyennes par jour de la semaine
|
|
6661
|
+
* @type {Array<WeekdayAverageItem>}
|
|
6662
|
+
* @memberof LeastBookedWeekdayResponse
|
|
6663
|
+
*/
|
|
6664
|
+
'weekdayAverages': Array<WeekdayAverageItem>;
|
|
6665
|
+
}
|
|
6394
6666
|
/**
|
|
6395
6667
|
*
|
|
6396
6668
|
* @export
|
|
@@ -6548,6 +6820,30 @@ export interface MonthlyBreakdown {
|
|
|
6548
6820
|
* @interface MonthlyTurnoverResponse
|
|
6549
6821
|
*/
|
|
6550
6822
|
export interface MonthlyTurnoverResponse {
|
|
6823
|
+
/**
|
|
6824
|
+
* Valeur mesurée sur la période actuelle
|
|
6825
|
+
* @type {number}
|
|
6826
|
+
* @memberof MonthlyTurnoverResponse
|
|
6827
|
+
*/
|
|
6828
|
+
'value': number;
|
|
6829
|
+
/**
|
|
6830
|
+
* Valeur de référence calculée avec la comparaison Same Weekday
|
|
6831
|
+
* @type {number}
|
|
6832
|
+
* @memberof MonthlyTurnoverResponse
|
|
6833
|
+
*/
|
|
6834
|
+
'reference': number;
|
|
6835
|
+
/**
|
|
6836
|
+
* Différence entre la valeur actuelle et la référence
|
|
6837
|
+
* @type {number}
|
|
6838
|
+
* @memberof MonthlyTurnoverResponse
|
|
6839
|
+
*/
|
|
6840
|
+
'delta': number;
|
|
6841
|
+
/**
|
|
6842
|
+
*
|
|
6843
|
+
* @type {TrendDirection}
|
|
6844
|
+
* @memberof MonthlyTurnoverResponse
|
|
6845
|
+
*/
|
|
6846
|
+
'trend': TrendDirection;
|
|
6551
6847
|
/**
|
|
6552
6848
|
* Année
|
|
6553
6849
|
* @type {number}
|
|
@@ -6579,6 +6875,8 @@ export interface MonthlyTurnoverResponse {
|
|
|
6579
6875
|
*/
|
|
6580
6876
|
'period': string;
|
|
6581
6877
|
}
|
|
6878
|
+
|
|
6879
|
+
|
|
6582
6880
|
/**
|
|
6583
6881
|
*
|
|
6584
6882
|
* @export
|
|
@@ -6653,6 +6951,43 @@ export interface NoShowFeeResponse {
|
|
|
6653
6951
|
*/
|
|
6654
6952
|
'creatorChargeResult'?: CreatorChargeResult;
|
|
6655
6953
|
}
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @export
|
|
6957
|
+
* @interface NoShowRateResponse
|
|
6958
|
+
*/
|
|
6959
|
+
export interface NoShowRateResponse {
|
|
6960
|
+
/**
|
|
6961
|
+
* Date de début si la période est fournie
|
|
6962
|
+
* @type {string}
|
|
6963
|
+
* @memberof NoShowRateResponse
|
|
6964
|
+
*/
|
|
6965
|
+
'startDate'?: string;
|
|
6966
|
+
/**
|
|
6967
|
+
* Date de fin si la période est fournie
|
|
6968
|
+
* @type {string}
|
|
6969
|
+
* @memberof NoShowRateResponse
|
|
6970
|
+
*/
|
|
6971
|
+
'endDate'?: string;
|
|
6972
|
+
/**
|
|
6973
|
+
* Nombre de réservations marquées no-show
|
|
6974
|
+
* @type {number}
|
|
6975
|
+
* @memberof NoShowRateResponse
|
|
6976
|
+
*/
|
|
6977
|
+
'noShowCount': number;
|
|
6978
|
+
/**
|
|
6979
|
+
* Nombre total de réservations considérées
|
|
6980
|
+
* @type {number}
|
|
6981
|
+
* @memberof NoShowRateResponse
|
|
6982
|
+
*/
|
|
6983
|
+
'totalBookings': number;
|
|
6984
|
+
/**
|
|
6985
|
+
* Ratio no-show / total (0-1)
|
|
6986
|
+
* @type {number}
|
|
6987
|
+
* @memberof NoShowRateResponse
|
|
6988
|
+
*/
|
|
6989
|
+
'rate': number;
|
|
6990
|
+
}
|
|
6656
6991
|
/**
|
|
6657
6992
|
*
|
|
6658
6993
|
* @export
|
|
@@ -8337,6 +8672,30 @@ export interface ResetPasswordRequest {
|
|
|
8337
8672
|
* @interface RetentionRateResponse
|
|
8338
8673
|
*/
|
|
8339
8674
|
export interface RetentionRateResponse {
|
|
8675
|
+
/**
|
|
8676
|
+
* Valeur mesurée sur la période actuelle
|
|
8677
|
+
* @type {number}
|
|
8678
|
+
* @memberof RetentionRateResponse
|
|
8679
|
+
*/
|
|
8680
|
+
'value': number;
|
|
8681
|
+
/**
|
|
8682
|
+
* Valeur de référence calculée avec la comparaison Same Weekday
|
|
8683
|
+
* @type {number}
|
|
8684
|
+
* @memberof RetentionRateResponse
|
|
8685
|
+
*/
|
|
8686
|
+
'reference': number;
|
|
8687
|
+
/**
|
|
8688
|
+
* Différence entre la valeur actuelle et la référence
|
|
8689
|
+
* @type {number}
|
|
8690
|
+
* @memberof RetentionRateResponse
|
|
8691
|
+
*/
|
|
8692
|
+
'delta': number;
|
|
8693
|
+
/**
|
|
8694
|
+
*
|
|
8695
|
+
* @type {TrendDirection}
|
|
8696
|
+
* @memberof RetentionRateResponse
|
|
8697
|
+
*/
|
|
8698
|
+
'trend': TrendDirection;
|
|
8340
8699
|
/**
|
|
8341
8700
|
* Pourcentage de joueurs fidèles (>= 2 réservations)
|
|
8342
8701
|
* @type {number}
|
|
@@ -8356,6 +8715,8 @@ export interface RetentionRateResponse {
|
|
|
8356
8715
|
*/
|
|
8357
8716
|
'totalPlayers': number;
|
|
8358
8717
|
}
|
|
8718
|
+
|
|
8719
|
+
|
|
8359
8720
|
/**
|
|
8360
8721
|
*
|
|
8361
8722
|
* @export
|
|
@@ -9617,6 +9978,21 @@ export interface TimeBounds {
|
|
|
9617
9978
|
*/
|
|
9618
9979
|
'end': string;
|
|
9619
9980
|
}
|
|
9981
|
+
/**
|
|
9982
|
+
*
|
|
9983
|
+
* @export
|
|
9984
|
+
* @enum {string}
|
|
9985
|
+
*/
|
|
9986
|
+
|
|
9987
|
+
export const TrendDirection = {
|
|
9988
|
+
Up: 'up',
|
|
9989
|
+
Down: 'down',
|
|
9990
|
+
Steady: 'steady'
|
|
9991
|
+
} as const;
|
|
9992
|
+
|
|
9993
|
+
export type TrendDirection = typeof TrendDirection[keyof typeof TrendDirection];
|
|
9994
|
+
|
|
9995
|
+
|
|
9620
9996
|
/**
|
|
9621
9997
|
*
|
|
9622
9998
|
* @export
|
|
@@ -11386,6 +11762,43 @@ export const VisibilityType = {
|
|
|
11386
11762
|
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
11387
11763
|
|
|
11388
11764
|
|
|
11765
|
+
/**
|
|
11766
|
+
*
|
|
11767
|
+
* @export
|
|
11768
|
+
* @interface WeekdayAverageItem
|
|
11769
|
+
*/
|
|
11770
|
+
export interface WeekdayAverageItem {
|
|
11771
|
+
/**
|
|
11772
|
+
* Jour de la semaine (0 = dimanche)
|
|
11773
|
+
* @type {number}
|
|
11774
|
+
* @memberof WeekdayAverageItem
|
|
11775
|
+
*/
|
|
11776
|
+
'weekday': number;
|
|
11777
|
+
/**
|
|
11778
|
+
* Nom lisible du jour
|
|
11779
|
+
* @type {string}
|
|
11780
|
+
* @memberof WeekdayAverageItem
|
|
11781
|
+
*/
|
|
11782
|
+
'weekdayName': string;
|
|
11783
|
+
/**
|
|
11784
|
+
* Nombre total de réservations enregistrées pour ce jour
|
|
11785
|
+
* @type {number}
|
|
11786
|
+
* @memberof WeekdayAverageItem
|
|
11787
|
+
*/
|
|
11788
|
+
'totalBookings': number;
|
|
11789
|
+
/**
|
|
11790
|
+
* Nombre de jours observés pour ce jour de la semaine
|
|
11791
|
+
* @type {number}
|
|
11792
|
+
* @memberof WeekdayAverageItem
|
|
11793
|
+
*/
|
|
11794
|
+
'daysCount': number;
|
|
11795
|
+
/**
|
|
11796
|
+
* Moyenne de réservations par jour de la semaine
|
|
11797
|
+
* @type {number}
|
|
11798
|
+
* @memberof WeekdayAverageItem
|
|
11799
|
+
*/
|
|
11800
|
+
'averageBookings': number;
|
|
11801
|
+
}
|
|
11389
11802
|
/**
|
|
11390
11803
|
*
|
|
11391
11804
|
* @export
|
|
@@ -13588,11 +14001,54 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13588
14001
|
};
|
|
13589
14002
|
},
|
|
13590
14003
|
/**
|
|
13591
|
-
*
|
|
13592
|
-
* @param {string}
|
|
13593
|
-
* @param {
|
|
13594
|
-
* @param {
|
|
13595
|
-
* @
|
|
14004
|
+
* Nombre de réservations par jour en fonction des slots
|
|
14005
|
+
* @param {string} [startDate]
|
|
14006
|
+
* @param {string} [endDate]
|
|
14007
|
+
* @param {*} [options] Override http request option.
|
|
14008
|
+
* @throws {RequiredError}
|
|
14009
|
+
*/
|
|
14010
|
+
getBookingsPerDay: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14011
|
+
const localVarPath = `/api/club-analytics/bookings/per-day`;
|
|
14012
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14013
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14014
|
+
let baseOptions;
|
|
14015
|
+
if (configuration) {
|
|
14016
|
+
baseOptions = configuration.baseOptions;
|
|
14017
|
+
}
|
|
14018
|
+
|
|
14019
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14020
|
+
const localVarHeaderParameter = {} as any;
|
|
14021
|
+
const localVarQueryParameter = {} as any;
|
|
14022
|
+
|
|
14023
|
+
// authentication bearerAuth required
|
|
14024
|
+
// http bearer authentication required
|
|
14025
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14026
|
+
|
|
14027
|
+
if (startDate !== undefined) {
|
|
14028
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14029
|
+
}
|
|
14030
|
+
|
|
14031
|
+
if (endDate !== undefined) {
|
|
14032
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14033
|
+
}
|
|
14034
|
+
|
|
14035
|
+
|
|
14036
|
+
|
|
14037
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14038
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14039
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14040
|
+
|
|
14041
|
+
return {
|
|
14042
|
+
url: toPathString(localVarUrlObj),
|
|
14043
|
+
options: localVarRequestOptions,
|
|
14044
|
+
};
|
|
14045
|
+
},
|
|
14046
|
+
/**
|
|
14047
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
14048
|
+
* @param {string} playerId
|
|
14049
|
+
* @param {number} [page]
|
|
14050
|
+
* @param {number} [pageSize]
|
|
14051
|
+
* @param {*} [options] Override http request option.
|
|
13596
14052
|
* @throws {RequiredError}
|
|
13597
14053
|
*/
|
|
13598
14054
|
getClubPlayerBookingsById: async (playerId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -13752,6 +14208,39 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13752
14208
|
|
|
13753
14209
|
|
|
13754
14210
|
|
|
14211
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14212
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14213
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14214
|
+
|
|
14215
|
+
return {
|
|
14216
|
+
url: toPathString(localVarUrlObj),
|
|
14217
|
+
options: localVarRequestOptions,
|
|
14218
|
+
};
|
|
14219
|
+
},
|
|
14220
|
+
/**
|
|
14221
|
+
* Nombre total d\'abonnés actifs du club
|
|
14222
|
+
* @param {*} [options] Override http request option.
|
|
14223
|
+
* @throws {RequiredError}
|
|
14224
|
+
*/
|
|
14225
|
+
getClubSubscribersSummary: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14226
|
+
const localVarPath = `/api/club-analytics/subscribers/total`;
|
|
14227
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14228
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14229
|
+
let baseOptions;
|
|
14230
|
+
if (configuration) {
|
|
14231
|
+
baseOptions = configuration.baseOptions;
|
|
14232
|
+
}
|
|
14233
|
+
|
|
14234
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14235
|
+
const localVarHeaderParameter = {} as any;
|
|
14236
|
+
const localVarQueryParameter = {} as any;
|
|
14237
|
+
|
|
14238
|
+
// authentication bearerAuth required
|
|
14239
|
+
// http bearer authentication required
|
|
14240
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14241
|
+
|
|
14242
|
+
|
|
14243
|
+
|
|
13755
14244
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13756
14245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13757
14246
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13901,6 +14390,77 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13901
14390
|
|
|
13902
14391
|
|
|
13903
14392
|
|
|
14393
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14395
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14396
|
+
|
|
14397
|
+
return {
|
|
14398
|
+
url: toPathString(localVarUrlObj),
|
|
14399
|
+
options: localVarRequestOptions,
|
|
14400
|
+
};
|
|
14401
|
+
},
|
|
14402
|
+
/**
|
|
14403
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
14404
|
+
* @param {number} [limit]
|
|
14405
|
+
* @param {*} [options] Override http request option.
|
|
14406
|
+
* @throws {RequiredError}
|
|
14407
|
+
*/
|
|
14408
|
+
getLeastBookedTimeSlots: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14409
|
+
const localVarPath = `/api/club-analytics/bookings/least-booked-time-slots`;
|
|
14410
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14411
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14412
|
+
let baseOptions;
|
|
14413
|
+
if (configuration) {
|
|
14414
|
+
baseOptions = configuration.baseOptions;
|
|
14415
|
+
}
|
|
14416
|
+
|
|
14417
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14418
|
+
const localVarHeaderParameter = {} as any;
|
|
14419
|
+
const localVarQueryParameter = {} as any;
|
|
14420
|
+
|
|
14421
|
+
// authentication bearerAuth required
|
|
14422
|
+
// http bearer authentication required
|
|
14423
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14424
|
+
|
|
14425
|
+
if (limit !== undefined) {
|
|
14426
|
+
localVarQueryParameter['limit'] = limit;
|
|
14427
|
+
}
|
|
14428
|
+
|
|
14429
|
+
|
|
14430
|
+
|
|
14431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14432
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14433
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14434
|
+
|
|
14435
|
+
return {
|
|
14436
|
+
url: toPathString(localVarUrlObj),
|
|
14437
|
+
options: localVarRequestOptions,
|
|
14438
|
+
};
|
|
14439
|
+
},
|
|
14440
|
+
/**
|
|
14441
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
14442
|
+
* @param {*} [options] Override http request option.
|
|
14443
|
+
* @throws {RequiredError}
|
|
14444
|
+
*/
|
|
14445
|
+
getLeastBookedWeekday: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14446
|
+
const localVarPath = `/api/club-analytics/bookings/least-booked-weekday`;
|
|
14447
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14448
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14449
|
+
let baseOptions;
|
|
14450
|
+
if (configuration) {
|
|
14451
|
+
baseOptions = configuration.baseOptions;
|
|
14452
|
+
}
|
|
14453
|
+
|
|
14454
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14455
|
+
const localVarHeaderParameter = {} as any;
|
|
14456
|
+
const localVarQueryParameter = {} as any;
|
|
14457
|
+
|
|
14458
|
+
// authentication bearerAuth required
|
|
14459
|
+
// http bearer authentication required
|
|
14460
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14461
|
+
|
|
14462
|
+
|
|
14463
|
+
|
|
13904
14464
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13905
14465
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13906
14466
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13948,6 +14508,135 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13948
14508
|
|
|
13949
14509
|
|
|
13950
14510
|
|
|
14511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14513
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14514
|
+
|
|
14515
|
+
return {
|
|
14516
|
+
url: toPathString(localVarUrlObj),
|
|
14517
|
+
options: localVarRequestOptions,
|
|
14518
|
+
};
|
|
14519
|
+
},
|
|
14520
|
+
/**
|
|
14521
|
+
* Nouvelles réservations créées sur une période
|
|
14522
|
+
* @param {string} [startDate]
|
|
14523
|
+
* @param {string} [endDate]
|
|
14524
|
+
* @param {*} [options] Override http request option.
|
|
14525
|
+
* @throws {RequiredError}
|
|
14526
|
+
*/
|
|
14527
|
+
getNewBookingsCount: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14528
|
+
const localVarPath = `/api/club-analytics/bookings/new`;
|
|
14529
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14530
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14531
|
+
let baseOptions;
|
|
14532
|
+
if (configuration) {
|
|
14533
|
+
baseOptions = configuration.baseOptions;
|
|
14534
|
+
}
|
|
14535
|
+
|
|
14536
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14537
|
+
const localVarHeaderParameter = {} as any;
|
|
14538
|
+
const localVarQueryParameter = {} as any;
|
|
14539
|
+
|
|
14540
|
+
// authentication bearerAuth required
|
|
14541
|
+
// http bearer authentication required
|
|
14542
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14543
|
+
|
|
14544
|
+
if (startDate !== undefined) {
|
|
14545
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14546
|
+
}
|
|
14547
|
+
|
|
14548
|
+
if (endDate !== undefined) {
|
|
14549
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14550
|
+
}
|
|
14551
|
+
|
|
14552
|
+
|
|
14553
|
+
|
|
14554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14555
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14556
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14557
|
+
|
|
14558
|
+
return {
|
|
14559
|
+
url: toPathString(localVarUrlObj),
|
|
14560
|
+
options: localVarRequestOptions,
|
|
14561
|
+
};
|
|
14562
|
+
},
|
|
14563
|
+
/**
|
|
14564
|
+
* Nouveaux abonnés sur une période
|
|
14565
|
+
* @param {string} [startDate]
|
|
14566
|
+
* @param {string} [endDate]
|
|
14567
|
+
* @param {*} [options] Override http request option.
|
|
14568
|
+
* @throws {RequiredError}
|
|
14569
|
+
*/
|
|
14570
|
+
getNewSubscribersCount: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14571
|
+
const localVarPath = `/api/club-analytics/subscribers/new`;
|
|
14572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14574
|
+
let baseOptions;
|
|
14575
|
+
if (configuration) {
|
|
14576
|
+
baseOptions = configuration.baseOptions;
|
|
14577
|
+
}
|
|
14578
|
+
|
|
14579
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14580
|
+
const localVarHeaderParameter = {} as any;
|
|
14581
|
+
const localVarQueryParameter = {} as any;
|
|
14582
|
+
|
|
14583
|
+
// authentication bearerAuth required
|
|
14584
|
+
// http bearer authentication required
|
|
14585
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14586
|
+
|
|
14587
|
+
if (startDate !== undefined) {
|
|
14588
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14589
|
+
}
|
|
14590
|
+
|
|
14591
|
+
if (endDate !== undefined) {
|
|
14592
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14593
|
+
}
|
|
14594
|
+
|
|
14595
|
+
|
|
14596
|
+
|
|
14597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14600
|
+
|
|
14601
|
+
return {
|
|
14602
|
+
url: toPathString(localVarUrlObj),
|
|
14603
|
+
options: localVarRequestOptions,
|
|
14604
|
+
};
|
|
14605
|
+
},
|
|
14606
|
+
/**
|
|
14607
|
+
* Taux de no-show global ou sur une période
|
|
14608
|
+
* @param {string} [startDate]
|
|
14609
|
+
* @param {string} [endDate]
|
|
14610
|
+
* @param {*} [options] Override http request option.
|
|
14611
|
+
* @throws {RequiredError}
|
|
14612
|
+
*/
|
|
14613
|
+
getNoShowRate: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14614
|
+
const localVarPath = `/api/club-analytics/bookings/no-show-rate`;
|
|
14615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14617
|
+
let baseOptions;
|
|
14618
|
+
if (configuration) {
|
|
14619
|
+
baseOptions = configuration.baseOptions;
|
|
14620
|
+
}
|
|
14621
|
+
|
|
14622
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14623
|
+
const localVarHeaderParameter = {} as any;
|
|
14624
|
+
const localVarQueryParameter = {} as any;
|
|
14625
|
+
|
|
14626
|
+
// authentication bearerAuth required
|
|
14627
|
+
// http bearer authentication required
|
|
14628
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14629
|
+
|
|
14630
|
+
if (startDate !== undefined) {
|
|
14631
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14632
|
+
}
|
|
14633
|
+
|
|
14634
|
+
if (endDate !== undefined) {
|
|
14635
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14636
|
+
}
|
|
14637
|
+
|
|
14638
|
+
|
|
14639
|
+
|
|
13951
14640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13952
14641
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13953
14642
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13992,10 +14681,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
13992
14681
|
},
|
|
13993
14682
|
/**
|
|
13994
14683
|
* Calcule le taux de fidélisation des joueurs
|
|
14684
|
+
* @param {string} [startDate]
|
|
14685
|
+
* @param {string} [endDate]
|
|
13995
14686
|
* @param {*} [options] Override http request option.
|
|
13996
14687
|
* @throws {RequiredError}
|
|
13997
14688
|
*/
|
|
13998
|
-
getRetentionRate: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14689
|
+
getRetentionRate: async (startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13999
14690
|
const localVarPath = `/api/club-analytics/retention-rate`;
|
|
14000
14691
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14001
14692
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14012,6 +14703,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
14012
14703
|
// http bearer authentication required
|
|
14013
14704
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14014
14705
|
|
|
14706
|
+
if (startDate !== undefined) {
|
|
14707
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
14708
|
+
}
|
|
14709
|
+
|
|
14710
|
+
if (endDate !== undefined) {
|
|
14711
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
14712
|
+
}
|
|
14713
|
+
|
|
14015
14714
|
|
|
14016
14715
|
|
|
14017
14716
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14184,6 +14883,19 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14184
14883
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getAnalyticsBySport']?.[localVarOperationServerIndex]?.url;
|
|
14185
14884
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14186
14885
|
},
|
|
14886
|
+
/**
|
|
14887
|
+
* Nombre de réservations par jour en fonction des slots
|
|
14888
|
+
* @param {string} [startDate]
|
|
14889
|
+
* @param {string} [endDate]
|
|
14890
|
+
* @param {*} [options] Override http request option.
|
|
14891
|
+
* @throws {RequiredError}
|
|
14892
|
+
*/
|
|
14893
|
+
async getBookingsPerDay(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsPerDayResponse>> {
|
|
14894
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingsPerDay(startDate, endDate, options);
|
|
14895
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14896
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getBookingsPerDay']?.[localVarOperationServerIndex]?.url;
|
|
14897
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14898
|
+
},
|
|
14187
14899
|
/**
|
|
14188
14900
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
14189
14901
|
* @param {string} playerId
|
|
@@ -14237,6 +14949,17 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14237
14949
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']?.[localVarOperationServerIndex]?.url;
|
|
14238
14950
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14239
14951
|
},
|
|
14952
|
+
/**
|
|
14953
|
+
* Nombre total d\'abonnés actifs du club
|
|
14954
|
+
* @param {*} [options] Override http request option.
|
|
14955
|
+
* @throws {RequiredError}
|
|
14956
|
+
*/
|
|
14957
|
+
async getClubSubscribersSummary(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSubscriberSummaryResponse>> {
|
|
14958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubSubscribersSummary(options);
|
|
14959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14960
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubSubscribersSummary']?.[localVarOperationServerIndex]?.url;
|
|
14961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14962
|
+
},
|
|
14240
14963
|
/**
|
|
14241
14964
|
* Récupère le chiffre d\'affaires quotidien
|
|
14242
14965
|
* @param {string} date
|
|
@@ -14284,6 +15007,29 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14284
15007
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getLastSixMonthsTurnover']?.[localVarOperationServerIndex]?.url;
|
|
14285
15008
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14286
15009
|
},
|
|
15010
|
+
/**
|
|
15011
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
15012
|
+
* @param {number} [limit]
|
|
15013
|
+
* @param {*} [options] Override http request option.
|
|
15014
|
+
* @throws {RequiredError}
|
|
15015
|
+
*/
|
|
15016
|
+
async getLeastBookedTimeSlots(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeastBookedTimeSlotsResponse>> {
|
|
15017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLeastBookedTimeSlots(limit, options);
|
|
15018
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15019
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedTimeSlots']?.[localVarOperationServerIndex]?.url;
|
|
15020
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15021
|
+
},
|
|
15022
|
+
/**
|
|
15023
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
15024
|
+
* @param {*} [options] Override http request option.
|
|
15025
|
+
* @throws {RequiredError}
|
|
15026
|
+
*/
|
|
15027
|
+
async getLeastBookedWeekday(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeastBookedWeekdayResponse>> {
|
|
15028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLeastBookedWeekday(options);
|
|
15029
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15030
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedWeekday']?.[localVarOperationServerIndex]?.url;
|
|
15031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15032
|
+
},
|
|
14287
15033
|
/**
|
|
14288
15034
|
* Récupère le chiffre d\'affaires mensuel
|
|
14289
15035
|
* @param {string} year
|
|
@@ -14297,6 +15043,45 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14297
15043
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getMonthlyTurnOver']?.[localVarOperationServerIndex]?.url;
|
|
14298
15044
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14299
15045
|
},
|
|
15046
|
+
/**
|
|
15047
|
+
* Nouvelles réservations créées sur une période
|
|
15048
|
+
* @param {string} [startDate]
|
|
15049
|
+
* @param {string} [endDate]
|
|
15050
|
+
* @param {*} [options] Override http request option.
|
|
15051
|
+
* @throws {RequiredError}
|
|
15052
|
+
*/
|
|
15053
|
+
async getNewBookingsCount(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubNewBookingsResponse>> {
|
|
15054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNewBookingsCount(startDate, endDate, options);
|
|
15055
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15056
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getNewBookingsCount']?.[localVarOperationServerIndex]?.url;
|
|
15057
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15058
|
+
},
|
|
15059
|
+
/**
|
|
15060
|
+
* Nouveaux abonnés sur une période
|
|
15061
|
+
* @param {string} [startDate]
|
|
15062
|
+
* @param {string} [endDate]
|
|
15063
|
+
* @param {*} [options] Override http request option.
|
|
15064
|
+
* @throws {RequiredError}
|
|
15065
|
+
*/
|
|
15066
|
+
async getNewSubscribersCount(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubNewSubscribersResponse>> {
|
|
15067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNewSubscribersCount(startDate, endDate, options);
|
|
15068
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15069
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getNewSubscribersCount']?.[localVarOperationServerIndex]?.url;
|
|
15070
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15071
|
+
},
|
|
15072
|
+
/**
|
|
15073
|
+
* Taux de no-show global ou sur une période
|
|
15074
|
+
* @param {string} [startDate]
|
|
15075
|
+
* @param {string} [endDate]
|
|
15076
|
+
* @param {*} [options] Override http request option.
|
|
15077
|
+
* @throws {RequiredError}
|
|
15078
|
+
*/
|
|
15079
|
+
async getNoShowRate(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoShowRateResponse>> {
|
|
15080
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNoShowRate(startDate, endDate, options);
|
|
15081
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15082
|
+
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getNoShowRate']?.[localVarOperationServerIndex]?.url;
|
|
15083
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15084
|
+
},
|
|
14300
15085
|
/**
|
|
14301
15086
|
* Récupère le nombre d\'utilisateurs du club
|
|
14302
15087
|
* @param {*} [options] Override http request option.
|
|
@@ -14310,11 +15095,13 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
14310
15095
|
},
|
|
14311
15096
|
/**
|
|
14312
15097
|
* Calcule le taux de fidélisation des joueurs
|
|
15098
|
+
* @param {string} [startDate]
|
|
15099
|
+
* @param {string} [endDate]
|
|
14313
15100
|
* @param {*} [options] Override http request option.
|
|
14314
15101
|
* @throws {RequiredError}
|
|
14315
15102
|
*/
|
|
14316
|
-
async getRetentionRate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetentionRateResponse>> {
|
|
14317
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRetentionRate(options);
|
|
15103
|
+
async getRetentionRate(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetentionRateResponse>> {
|
|
15104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRetentionRate(startDate, endDate, options);
|
|
14318
15105
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14319
15106
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getRetentionRate']?.[localVarOperationServerIndex]?.url;
|
|
14320
15107
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14383,6 +15170,15 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14383
15170
|
getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse> {
|
|
14384
15171
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
14385
15172
|
},
|
|
15173
|
+
/**
|
|
15174
|
+
* Nombre de réservations par jour en fonction des slots
|
|
15175
|
+
* @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
|
|
15176
|
+
* @param {*} [options] Override http request option.
|
|
15177
|
+
* @throws {RequiredError}
|
|
15178
|
+
*/
|
|
15179
|
+
getBookingsPerDay(requestParameters: ClubAnalyticsStaffApiGetBookingsPerDayRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<BookingsPerDayResponse> {
|
|
15180
|
+
return localVarFp.getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15181
|
+
},
|
|
14386
15182
|
/**
|
|
14387
15183
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
14388
15184
|
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
@@ -14419,6 +15215,14 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14419
15215
|
getClubPlayers(requestParameters: ClubAnalyticsStaffApiGetClubPlayersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse> {
|
|
14420
15216
|
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
|
|
14421
15217
|
},
|
|
15218
|
+
/**
|
|
15219
|
+
* Nombre total d\'abonnés actifs du club
|
|
15220
|
+
* @param {*} [options] Override http request option.
|
|
15221
|
+
* @throws {RequiredError}
|
|
15222
|
+
*/
|
|
15223
|
+
getClubSubscribersSummary(options?: RawAxiosRequestConfig): AxiosPromise<ClubSubscriberSummaryResponse> {
|
|
15224
|
+
return localVarFp.getClubSubscribersSummary(options).then((request) => request(axios, basePath));
|
|
15225
|
+
},
|
|
14422
15226
|
/**
|
|
14423
15227
|
* Récupère le chiffre d\'affaires quotidien
|
|
14424
15228
|
* @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14453,6 +15257,23 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14453
15257
|
getLastSixMonthsTurnover(options?: RawAxiosRequestConfig): AxiosPromise<Array<LastSixMonthsTurnoverItem>> {
|
|
14454
15258
|
return localVarFp.getLastSixMonthsTurnover(options).then((request) => request(axios, basePath));
|
|
14455
15259
|
},
|
|
15260
|
+
/**
|
|
15261
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
15262
|
+
* @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
|
|
15263
|
+
* @param {*} [options] Override http request option.
|
|
15264
|
+
* @throws {RequiredError}
|
|
15265
|
+
*/
|
|
15266
|
+
getLeastBookedTimeSlots(requestParameters: ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<LeastBookedTimeSlotsResponse> {
|
|
15267
|
+
return localVarFp.getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
15268
|
+
},
|
|
15269
|
+
/**
|
|
15270
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
15271
|
+
* @param {*} [options] Override http request option.
|
|
15272
|
+
* @throws {RequiredError}
|
|
15273
|
+
*/
|
|
15274
|
+
getLeastBookedWeekday(options?: RawAxiosRequestConfig): AxiosPromise<LeastBookedWeekdayResponse> {
|
|
15275
|
+
return localVarFp.getLeastBookedWeekday(options).then((request) => request(axios, basePath));
|
|
15276
|
+
},
|
|
14456
15277
|
/**
|
|
14457
15278
|
* Récupère le chiffre d\'affaires mensuel
|
|
14458
15279
|
* @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14462,6 +15283,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14462
15283
|
getMonthlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<MonthlyTurnoverResponse> {
|
|
14463
15284
|
return localVarFp.getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(axios, basePath));
|
|
14464
15285
|
},
|
|
15286
|
+
/**
|
|
15287
|
+
* Nouvelles réservations créées sur une période
|
|
15288
|
+
* @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
|
|
15289
|
+
* @param {*} [options] Override http request option.
|
|
15290
|
+
* @throws {RequiredError}
|
|
15291
|
+
*/
|
|
15292
|
+
getNewBookingsCount(requestParameters: ClubAnalyticsStaffApiGetNewBookingsCountRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubNewBookingsResponse> {
|
|
15293
|
+
return localVarFp.getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15294
|
+
},
|
|
15295
|
+
/**
|
|
15296
|
+
* Nouveaux abonnés sur une période
|
|
15297
|
+
* @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
|
|
15298
|
+
* @param {*} [options] Override http request option.
|
|
15299
|
+
* @throws {RequiredError}
|
|
15300
|
+
*/
|
|
15301
|
+
getNewSubscribersCount(requestParameters: ClubAnalyticsStaffApiGetNewSubscribersCountRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubNewSubscribersResponse> {
|
|
15302
|
+
return localVarFp.getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15303
|
+
},
|
|
15304
|
+
/**
|
|
15305
|
+
* Taux de no-show global ou sur une période
|
|
15306
|
+
* @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
|
|
15307
|
+
* @param {*} [options] Override http request option.
|
|
15308
|
+
* @throws {RequiredError}
|
|
15309
|
+
*/
|
|
15310
|
+
getNoShowRate(requestParameters: ClubAnalyticsStaffApiGetNoShowRateRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<NoShowRateResponse> {
|
|
15311
|
+
return localVarFp.getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
15312
|
+
},
|
|
14465
15313
|
/**
|
|
14466
15314
|
* Récupère le nombre d\'utilisateurs du club
|
|
14467
15315
|
* @param {*} [options] Override http request option.
|
|
@@ -14472,11 +15320,12 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
14472
15320
|
},
|
|
14473
15321
|
/**
|
|
14474
15322
|
* Calcule le taux de fidélisation des joueurs
|
|
15323
|
+
* @param {ClubAnalyticsStaffApiGetRetentionRateRequest} requestParameters Request parameters.
|
|
14475
15324
|
* @param {*} [options] Override http request option.
|
|
14476
15325
|
* @throws {RequiredError}
|
|
14477
15326
|
*/
|
|
14478
|
-
getRetentionRate(options?: RawAxiosRequestConfig): AxiosPromise<RetentionRateResponse> {
|
|
14479
|
-
return localVarFp.getRetentionRate(options).then((request) => request(axios, basePath));
|
|
15327
|
+
getRetentionRate(requestParameters: ClubAnalyticsStaffApiGetRetentionRateRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<RetentionRateResponse> {
|
|
15328
|
+
return localVarFp.getRetentionRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
14480
15329
|
},
|
|
14481
15330
|
/**
|
|
14482
15331
|
* Récupère le chiffre d\'affaires par sport
|
|
@@ -14528,6 +15377,27 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
|
|
|
14528
15377
|
readonly sportId: string
|
|
14529
15378
|
}
|
|
14530
15379
|
|
|
15380
|
+
/**
|
|
15381
|
+
* Request parameters for getBookingsPerDay operation in ClubAnalyticsStaffApi.
|
|
15382
|
+
* @export
|
|
15383
|
+
* @interface ClubAnalyticsStaffApiGetBookingsPerDayRequest
|
|
15384
|
+
*/
|
|
15385
|
+
export interface ClubAnalyticsStaffApiGetBookingsPerDayRequest {
|
|
15386
|
+
/**
|
|
15387
|
+
*
|
|
15388
|
+
* @type {string}
|
|
15389
|
+
* @memberof ClubAnalyticsStaffApiGetBookingsPerDay
|
|
15390
|
+
*/
|
|
15391
|
+
readonly startDate?: string
|
|
15392
|
+
|
|
15393
|
+
/**
|
|
15394
|
+
*
|
|
15395
|
+
* @type {string}
|
|
15396
|
+
* @memberof ClubAnalyticsStaffApiGetBookingsPerDay
|
|
15397
|
+
*/
|
|
15398
|
+
readonly endDate?: string
|
|
15399
|
+
}
|
|
15400
|
+
|
|
14531
15401
|
/**
|
|
14532
15402
|
* Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
|
|
14533
15403
|
* @export
|
|
@@ -14654,6 +15524,20 @@ export interface ClubAnalyticsStaffApiGetInfillPercentagePerPeriodRequest {
|
|
|
14654
15524
|
readonly endDate?: string
|
|
14655
15525
|
}
|
|
14656
15526
|
|
|
15527
|
+
/**
|
|
15528
|
+
* Request parameters for getLeastBookedTimeSlots operation in ClubAnalyticsStaffApi.
|
|
15529
|
+
* @export
|
|
15530
|
+
* @interface ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest
|
|
15531
|
+
*/
|
|
15532
|
+
export interface ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest {
|
|
15533
|
+
/**
|
|
15534
|
+
*
|
|
15535
|
+
* @type {number}
|
|
15536
|
+
* @memberof ClubAnalyticsStaffApiGetLeastBookedTimeSlots
|
|
15537
|
+
*/
|
|
15538
|
+
readonly limit?: number
|
|
15539
|
+
}
|
|
15540
|
+
|
|
14657
15541
|
/**
|
|
14658
15542
|
* Request parameters for getMonthlyTurnOver operation in ClubAnalyticsStaffApi.
|
|
14659
15543
|
* @export
|
|
@@ -14675,6 +15559,90 @@ export interface ClubAnalyticsStaffApiGetMonthlyTurnOverRequest {
|
|
|
14675
15559
|
readonly month: string
|
|
14676
15560
|
}
|
|
14677
15561
|
|
|
15562
|
+
/**
|
|
15563
|
+
* Request parameters for getNewBookingsCount operation in ClubAnalyticsStaffApi.
|
|
15564
|
+
* @export
|
|
15565
|
+
* @interface ClubAnalyticsStaffApiGetNewBookingsCountRequest
|
|
15566
|
+
*/
|
|
15567
|
+
export interface ClubAnalyticsStaffApiGetNewBookingsCountRequest {
|
|
15568
|
+
/**
|
|
15569
|
+
*
|
|
15570
|
+
* @type {string}
|
|
15571
|
+
* @memberof ClubAnalyticsStaffApiGetNewBookingsCount
|
|
15572
|
+
*/
|
|
15573
|
+
readonly startDate?: string
|
|
15574
|
+
|
|
15575
|
+
/**
|
|
15576
|
+
*
|
|
15577
|
+
* @type {string}
|
|
15578
|
+
* @memberof ClubAnalyticsStaffApiGetNewBookingsCount
|
|
15579
|
+
*/
|
|
15580
|
+
readonly endDate?: string
|
|
15581
|
+
}
|
|
15582
|
+
|
|
15583
|
+
/**
|
|
15584
|
+
* Request parameters for getNewSubscribersCount operation in ClubAnalyticsStaffApi.
|
|
15585
|
+
* @export
|
|
15586
|
+
* @interface ClubAnalyticsStaffApiGetNewSubscribersCountRequest
|
|
15587
|
+
*/
|
|
15588
|
+
export interface ClubAnalyticsStaffApiGetNewSubscribersCountRequest {
|
|
15589
|
+
/**
|
|
15590
|
+
*
|
|
15591
|
+
* @type {string}
|
|
15592
|
+
* @memberof ClubAnalyticsStaffApiGetNewSubscribersCount
|
|
15593
|
+
*/
|
|
15594
|
+
readonly startDate?: string
|
|
15595
|
+
|
|
15596
|
+
/**
|
|
15597
|
+
*
|
|
15598
|
+
* @type {string}
|
|
15599
|
+
* @memberof ClubAnalyticsStaffApiGetNewSubscribersCount
|
|
15600
|
+
*/
|
|
15601
|
+
readonly endDate?: string
|
|
15602
|
+
}
|
|
15603
|
+
|
|
15604
|
+
/**
|
|
15605
|
+
* Request parameters for getNoShowRate operation in ClubAnalyticsStaffApi.
|
|
15606
|
+
* @export
|
|
15607
|
+
* @interface ClubAnalyticsStaffApiGetNoShowRateRequest
|
|
15608
|
+
*/
|
|
15609
|
+
export interface ClubAnalyticsStaffApiGetNoShowRateRequest {
|
|
15610
|
+
/**
|
|
15611
|
+
*
|
|
15612
|
+
* @type {string}
|
|
15613
|
+
* @memberof ClubAnalyticsStaffApiGetNoShowRate
|
|
15614
|
+
*/
|
|
15615
|
+
readonly startDate?: string
|
|
15616
|
+
|
|
15617
|
+
/**
|
|
15618
|
+
*
|
|
15619
|
+
* @type {string}
|
|
15620
|
+
* @memberof ClubAnalyticsStaffApiGetNoShowRate
|
|
15621
|
+
*/
|
|
15622
|
+
readonly endDate?: string
|
|
15623
|
+
}
|
|
15624
|
+
|
|
15625
|
+
/**
|
|
15626
|
+
* Request parameters for getRetentionRate operation in ClubAnalyticsStaffApi.
|
|
15627
|
+
* @export
|
|
15628
|
+
* @interface ClubAnalyticsStaffApiGetRetentionRateRequest
|
|
15629
|
+
*/
|
|
15630
|
+
export interface ClubAnalyticsStaffApiGetRetentionRateRequest {
|
|
15631
|
+
/**
|
|
15632
|
+
*
|
|
15633
|
+
* @type {string}
|
|
15634
|
+
* @memberof ClubAnalyticsStaffApiGetRetentionRate
|
|
15635
|
+
*/
|
|
15636
|
+
readonly startDate?: string
|
|
15637
|
+
|
|
15638
|
+
/**
|
|
15639
|
+
*
|
|
15640
|
+
* @type {string}
|
|
15641
|
+
* @memberof ClubAnalyticsStaffApiGetRetentionRate
|
|
15642
|
+
*/
|
|
15643
|
+
readonly endDate?: string
|
|
15644
|
+
}
|
|
15645
|
+
|
|
14678
15646
|
/**
|
|
14679
15647
|
* Request parameters for getYearlyTurnOver operation in ClubAnalyticsStaffApi.
|
|
14680
15648
|
* @export
|
|
@@ -14707,6 +15675,17 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14707
15675
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
14708
15676
|
}
|
|
14709
15677
|
|
|
15678
|
+
/**
|
|
15679
|
+
* Nombre de réservations par jour en fonction des slots
|
|
15680
|
+
* @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
|
|
15681
|
+
* @param {*} [options] Override http request option.
|
|
15682
|
+
* @throws {RequiredError}
|
|
15683
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15684
|
+
*/
|
|
15685
|
+
public getBookingsPerDay(requestParameters: ClubAnalyticsStaffApiGetBookingsPerDayRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15686
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15687
|
+
}
|
|
15688
|
+
|
|
14710
15689
|
/**
|
|
14711
15690
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
14712
15691
|
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
@@ -14751,6 +15730,16 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14751
15730
|
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
14752
15731
|
}
|
|
14753
15732
|
|
|
15733
|
+
/**
|
|
15734
|
+
* Nombre total d\'abonnés actifs du club
|
|
15735
|
+
* @param {*} [options] Override http request option.
|
|
15736
|
+
* @throws {RequiredError}
|
|
15737
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15738
|
+
*/
|
|
15739
|
+
public getClubSubscribersSummary(options?: RawAxiosRequestConfig) {
|
|
15740
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubSubscribersSummary(options).then((request) => request(this.axios, this.basePath));
|
|
15741
|
+
}
|
|
15742
|
+
|
|
14754
15743
|
/**
|
|
14755
15744
|
* Récupère le chiffre d\'affaires quotidien
|
|
14756
15745
|
* @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14793,6 +15782,27 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14793
15782
|
return ClubAnalyticsStaffApiFp(this.configuration).getLastSixMonthsTurnover(options).then((request) => request(this.axios, this.basePath));
|
|
14794
15783
|
}
|
|
14795
15784
|
|
|
15785
|
+
/**
|
|
15786
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
15787
|
+
* @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
|
|
15788
|
+
* @param {*} [options] Override http request option.
|
|
15789
|
+
* @throws {RequiredError}
|
|
15790
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15791
|
+
*/
|
|
15792
|
+
public getLeastBookedTimeSlots(requestParameters: ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15793
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
15794
|
+
}
|
|
15795
|
+
|
|
15796
|
+
/**
|
|
15797
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
15798
|
+
* @param {*} [options] Override http request option.
|
|
15799
|
+
* @throws {RequiredError}
|
|
15800
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15801
|
+
*/
|
|
15802
|
+
public getLeastBookedWeekday(options?: RawAxiosRequestConfig) {
|
|
15803
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedWeekday(options).then((request) => request(this.axios, this.basePath));
|
|
15804
|
+
}
|
|
15805
|
+
|
|
14796
15806
|
/**
|
|
14797
15807
|
* Récupère le chiffre d\'affaires mensuel
|
|
14798
15808
|
* @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -14804,6 +15814,39 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14804
15814
|
return ClubAnalyticsStaffApiFp(this.configuration).getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(this.axios, this.basePath));
|
|
14805
15815
|
}
|
|
14806
15816
|
|
|
15817
|
+
/**
|
|
15818
|
+
* Nouvelles réservations créées sur une période
|
|
15819
|
+
* @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
|
|
15820
|
+
* @param {*} [options] Override http request option.
|
|
15821
|
+
* @throws {RequiredError}
|
|
15822
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15823
|
+
*/
|
|
15824
|
+
public getNewBookingsCount(requestParameters: ClubAnalyticsStaffApiGetNewBookingsCountRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15825
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15826
|
+
}
|
|
15827
|
+
|
|
15828
|
+
/**
|
|
15829
|
+
* Nouveaux abonnés sur une période
|
|
15830
|
+
* @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
|
|
15831
|
+
* @param {*} [options] Override http request option.
|
|
15832
|
+
* @throws {RequiredError}
|
|
15833
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15834
|
+
*/
|
|
15835
|
+
public getNewSubscribersCount(requestParameters: ClubAnalyticsStaffApiGetNewSubscribersCountRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15836
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15837
|
+
}
|
|
15838
|
+
|
|
15839
|
+
/**
|
|
15840
|
+
* Taux de no-show global ou sur une période
|
|
15841
|
+
* @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
|
|
15842
|
+
* @param {*} [options] Override http request option.
|
|
15843
|
+
* @throws {RequiredError}
|
|
15844
|
+
* @memberof ClubAnalyticsStaffApi
|
|
15845
|
+
*/
|
|
15846
|
+
public getNoShowRate(requestParameters: ClubAnalyticsStaffApiGetNoShowRateRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15847
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
15848
|
+
}
|
|
15849
|
+
|
|
14807
15850
|
/**
|
|
14808
15851
|
* Récupère le nombre d\'utilisateurs du club
|
|
14809
15852
|
* @param {*} [options] Override http request option.
|
|
@@ -14816,12 +15859,13 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
14816
15859
|
|
|
14817
15860
|
/**
|
|
14818
15861
|
* Calcule le taux de fidélisation des joueurs
|
|
15862
|
+
* @param {ClubAnalyticsStaffApiGetRetentionRateRequest} requestParameters Request parameters.
|
|
14819
15863
|
* @param {*} [options] Override http request option.
|
|
14820
15864
|
* @throws {RequiredError}
|
|
14821
15865
|
* @memberof ClubAnalyticsStaffApi
|
|
14822
15866
|
*/
|
|
14823
|
-
public getRetentionRate(options?: RawAxiosRequestConfig) {
|
|
14824
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getRetentionRate(options).then((request) => request(this.axios, this.basePath));
|
|
15867
|
+
public getRetentionRate(requestParameters: ClubAnalyticsStaffApiGetRetentionRateRequest = {}, options?: RawAxiosRequestConfig) {
|
|
15868
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getRetentionRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
14825
15869
|
}
|
|
14826
15870
|
|
|
14827
15871
|
/**
|