@tennac-booking/sdk 1.0.141 → 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/dist/esm/api.d.ts CHANGED
@@ -1226,6 +1226,50 @@ export interface BookingSummary {
1226
1226
  */
1227
1227
  export interface BookingSummaryClubAddress {
1228
1228
  }
1229
+ /**
1230
+ *
1231
+ * @export
1232
+ * @interface BookingsPerDayItem
1233
+ */
1234
+ export interface BookingsPerDayItem {
1235
+ /**
1236
+ * Jour au format YYYY-MM-DD
1237
+ * @type {string}
1238
+ * @memberof BookingsPerDayItem
1239
+ */
1240
+ 'date': string;
1241
+ /**
1242
+ * Nombre de réservations dont la séance se déroule ce jour-là
1243
+ * @type {number}
1244
+ * @memberof BookingsPerDayItem
1245
+ */
1246
+ 'bookingsCount': number;
1247
+ }
1248
+ /**
1249
+ *
1250
+ * @export
1251
+ * @interface BookingsPerDayResponse
1252
+ */
1253
+ export interface BookingsPerDayResponse {
1254
+ /**
1255
+ * Date de début incluse (format ISO)
1256
+ * @type {string}
1257
+ * @memberof BookingsPerDayResponse
1258
+ */
1259
+ 'startDate': string;
1260
+ /**
1261
+ * Date de fin incluse (format ISO)
1262
+ * @type {string}
1263
+ * @memberof BookingsPerDayResponse
1264
+ */
1265
+ 'endDate': string;
1266
+ /**
1267
+ * Comptes quotidiens
1268
+ * @type {Array<BookingsPerDayItem>}
1269
+ * @memberof BookingsPerDayResponse
1270
+ */
1271
+ 'dailyCounts': Array<BookingsPerDayItem>;
1272
+ }
1229
1273
  /**
1230
1274
  *
1231
1275
  * @export
@@ -2142,6 +2186,56 @@ export interface ClubMetadataResponseLocation {
2142
2186
  */
2143
2187
  'address'?: string;
2144
2188
  }
2189
+ /**
2190
+ *
2191
+ * @export
2192
+ * @interface ClubNewBookingsResponse
2193
+ */
2194
+ export interface ClubNewBookingsResponse {
2195
+ /**
2196
+ * Date de début incluse (format ISO)
2197
+ * @type {string}
2198
+ * @memberof ClubNewBookingsResponse
2199
+ */
2200
+ 'startDate': string;
2201
+ /**
2202
+ * Date de fin incluse (format ISO)
2203
+ * @type {string}
2204
+ * @memberof ClubNewBookingsResponse
2205
+ */
2206
+ 'endDate': string;
2207
+ /**
2208
+ * Nombre de nouvelles réservations créées durant la période
2209
+ * @type {number}
2210
+ * @memberof ClubNewBookingsResponse
2211
+ */
2212
+ 'newBookings': number;
2213
+ }
2214
+ /**
2215
+ *
2216
+ * @export
2217
+ * @interface ClubNewSubscribersResponse
2218
+ */
2219
+ export interface ClubNewSubscribersResponse {
2220
+ /**
2221
+ * Date de début incluse (format ISO)
2222
+ * @type {string}
2223
+ * @memberof ClubNewSubscribersResponse
2224
+ */
2225
+ 'startDate': string;
2226
+ /**
2227
+ * Date de fin incluse (format ISO)
2228
+ * @type {string}
2229
+ * @memberof ClubNewSubscribersResponse
2230
+ */
2231
+ 'endDate': string;
2232
+ /**
2233
+ * Nombre de nouveaux abonnés sur la période
2234
+ * @type {number}
2235
+ * @memberof ClubNewSubscribersResponse
2236
+ */
2237
+ 'newSubscribers': number;
2238
+ }
2145
2239
  /**
2146
2240
  *
2147
2241
  * @export
@@ -3229,6 +3323,19 @@ export declare const ClubRoleResponseRoleEnum: {
3229
3323
  readonly Staff: "staff";
3230
3324
  };
3231
3325
  export type ClubRoleResponseRoleEnum = typeof ClubRoleResponseRoleEnum[keyof typeof ClubRoleResponseRoleEnum];
3326
+ /**
3327
+ *
3328
+ * @export
3329
+ * @interface ClubSubscriberSummaryResponse
3330
+ */
3331
+ export interface ClubSubscriberSummaryResponse {
3332
+ /**
3333
+ * Nombre total d\'abonnés actifs au club
3334
+ * @type {number}
3335
+ * @memberof ClubSubscriberSummaryResponse
3336
+ */
3337
+ 'totalSubscribers': number;
3338
+ }
3232
3339
  /**
3233
3340
  *
3234
3341
  * @export
@@ -6276,6 +6383,93 @@ export interface LastSixMonthsTurnoverItem {
6276
6383
  */
6277
6384
  'value': number;
6278
6385
  }
6386
+ /**
6387
+ *
6388
+ * @export
6389
+ * @interface LeastBookedTimeSlotItem
6390
+ */
6391
+ export interface LeastBookedTimeSlotItem {
6392
+ /**
6393
+ * Jour de la semaine (0 = dimanche)
6394
+ * @type {number}
6395
+ * @memberof LeastBookedTimeSlotItem
6396
+ */
6397
+ 'weekday': number;
6398
+ /**
6399
+ * Nom du jour
6400
+ * @type {string}
6401
+ * @memberof LeastBookedTimeSlotItem
6402
+ */
6403
+ 'weekdayName': string;
6404
+ /**
6405
+ * Heure de début (format HH:00)
6406
+ * @type {string}
6407
+ * @memberof LeastBookedTimeSlotItem
6408
+ */
6409
+ 'hour': string;
6410
+ /**
6411
+ * Nombre total de réservations observées pour ce créneau
6412
+ * @type {number}
6413
+ * @memberof LeastBookedTimeSlotItem
6414
+ */
6415
+ 'totalBookings': number;
6416
+ }
6417
+ /**
6418
+ *
6419
+ * @export
6420
+ * @interface LeastBookedTimeSlotsResponse
6421
+ */
6422
+ export interface LeastBookedTimeSlotsResponse {
6423
+ /**
6424
+ * Début de la fenêtre analysée
6425
+ * @type {string}
6426
+ * @memberof LeastBookedTimeSlotsResponse
6427
+ */
6428
+ 'periodStart': string;
6429
+ /**
6430
+ * Fin de la fenêtre analysée
6431
+ * @type {string}
6432
+ * @memberof LeastBookedTimeSlotsResponse
6433
+ */
6434
+ 'periodEnd': string;
6435
+ /**
6436
+ * Créneaux les moins réservés
6437
+ * @type {Array<LeastBookedTimeSlotItem>}
6438
+ * @memberof LeastBookedTimeSlotsResponse
6439
+ */
6440
+ 'timeSlots': Array<LeastBookedTimeSlotItem>;
6441
+ }
6442
+ /**
6443
+ *
6444
+ * @export
6445
+ * @interface LeastBookedWeekdayResponse
6446
+ */
6447
+ export interface LeastBookedWeekdayResponse {
6448
+ /**
6449
+ * Date de début de la période analysée
6450
+ * @type {string}
6451
+ * @memberof LeastBookedWeekdayResponse
6452
+ */
6453
+ 'periodStart': string;
6454
+ /**
6455
+ * Date de fin de la période analysée
6456
+ * @type {string}
6457
+ * @memberof LeastBookedWeekdayResponse
6458
+ */
6459
+ 'periodEnd': string;
6460
+ /**
6461
+ * Jour le moins réservé (null si aucune donnée)
6462
+ * @type {WeekdayAverageItem}
6463
+ * @memberof LeastBookedWeekdayResponse
6464
+ */
6465
+ 'leastBooked': WeekdayAverageItem | null;
6466
+ /**
6467
+ * Détail des moyennes par jour de la semaine
6468
+ * @type {Array<WeekdayAverageItem>}
6469
+ * @memberof LeastBookedWeekdayResponse
6470
+ */
6471
+ 'weekdayAverages': Array<WeekdayAverageItem>;
6472
+ }
6279
6473
  /**
6280
6474
  *
6281
6475
  * @export
@@ -6538,6 +6732,43 @@ export interface NoShowFeeResponse {
6538
6732
  */
6539
6733
  'creatorChargeResult'?: CreatorChargeResult;
6540
6734
  }
6735
+ /**
6736
+ *
6737
+ * @export
6738
+ * @interface NoShowRateResponse
6739
+ */
6740
+ export interface NoShowRateResponse {
6741
+ /**
6742
+ * Date de début si la période est fournie
6743
+ * @type {string}
6744
+ * @memberof NoShowRateResponse
6745
+ */
6746
+ 'startDate'?: string;
6747
+ /**
6748
+ * Date de fin si la période est fournie
6749
+ * @type {string}
6750
+ * @memberof NoShowRateResponse
6751
+ */
6752
+ 'endDate'?: string;
6753
+ /**
6754
+ * Nombre de réservations marquées no-show
6755
+ * @type {number}
6756
+ * @memberof NoShowRateResponse
6757
+ */
6758
+ 'noShowCount': number;
6759
+ /**
6760
+ * Nombre total de réservations considérées
6761
+ * @type {number}
6762
+ * @memberof NoShowRateResponse
6763
+ */
6764
+ 'totalBookings': number;
6765
+ /**
6766
+ * Ratio no-show / total (0-1)
6767
+ * @type {number}
6768
+ * @memberof NoShowRateResponse
6769
+ */
6770
+ 'rate': number;
6771
+ }
6541
6772
  /**
6542
6773
  *
6543
6774
  * @export
@@ -11190,6 +11421,43 @@ export declare const VisibilityType: {
11190
11421
  readonly Invitation: "invitation";
11191
11422
  };
11192
11423
  export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
11424
+ /**
11425
+ *
11426
+ * @export
11427
+ * @interface WeekdayAverageItem
11428
+ */
11429
+ export interface WeekdayAverageItem {
11430
+ /**
11431
+ * Jour de la semaine (0 = dimanche)
11432
+ * @type {number}
11433
+ * @memberof WeekdayAverageItem
11434
+ */
11435
+ 'weekday': number;
11436
+ /**
11437
+ * Nom lisible du jour
11438
+ * @type {string}
11439
+ * @memberof WeekdayAverageItem
11440
+ */
11441
+ 'weekdayName': string;
11442
+ /**
11443
+ * Nombre total de réservations enregistrées pour ce jour
11444
+ * @type {number}
11445
+ * @memberof WeekdayAverageItem
11446
+ */
11447
+ 'totalBookings': number;
11448
+ /**
11449
+ * Nombre de jours observés pour ce jour de la semaine
11450
+ * @type {number}
11451
+ * @memberof WeekdayAverageItem
11452
+ */
11453
+ 'daysCount': number;
11454
+ /**
11455
+ * Moyenne de réservations par jour de la semaine
11456
+ * @type {number}
11457
+ * @memberof WeekdayAverageItem
11458
+ */
11459
+ 'averageBookings': number;
11460
+ }
11193
11461
  /**
11194
11462
  *
11195
11463
  * @export
@@ -12346,6 +12614,14 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
12346
12614
  * @throws {RequiredError}
12347
12615
  */
12348
12616
  getAnalyticsBySport: (sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12617
+ /**
12618
+ * Nombre de réservations par jour en fonction des slots
12619
+ * @param {string} [startDate]
12620
+ * @param {string} [endDate]
12621
+ * @param {*} [options] Override http request option.
12622
+ * @throws {RequiredError}
12623
+ */
12624
+ getBookingsPerDay: (startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12349
12625
  /**
12350
12626
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
12351
12627
  * @param {string} playerId
@@ -12379,6 +12655,12 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
12379
12655
  * @throws {RequiredError}
12380
12656
  */
12381
12657
  getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12658
+ /**
12659
+ * Nombre total d\'abonnés actifs du club
12660
+ * @param {*} [options] Override http request option.
12661
+ * @throws {RequiredError}
12662
+ */
12663
+ getClubSubscribersSummary: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12382
12664
  /**
12383
12665
  * Récupère le chiffre d\'affaires quotidien
12384
12666
  * @param {string} date
@@ -12406,6 +12688,19 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
12406
12688
  * @throws {RequiredError}
12407
12689
  */
12408
12690
  getLastSixMonthsTurnover: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12691
+ /**
12692
+ * Créneaux horaires les moins réservés (3 derniers mois)
12693
+ * @param {number} [limit]
12694
+ * @param {*} [options] Override http request option.
12695
+ * @throws {RequiredError}
12696
+ */
12697
+ getLeastBookedTimeSlots: (limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12698
+ /**
12699
+ * Jour de la semaine le moins réservé (3 derniers mois)
12700
+ * @param {*} [options] Override http request option.
12701
+ * @throws {RequiredError}
12702
+ */
12703
+ getLeastBookedWeekday: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12409
12704
  /**
12410
12705
  * Récupère le chiffre d\'affaires mensuel
12411
12706
  * @param {string} year
@@ -12414,6 +12709,30 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
12414
12709
  * @throws {RequiredError}
12415
12710
  */
12416
12711
  getMonthlyTurnOver: (year: string, month: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12712
+ /**
12713
+ * Nouvelles réservations créées sur une période
12714
+ * @param {string} [startDate]
12715
+ * @param {string} [endDate]
12716
+ * @param {*} [options] Override http request option.
12717
+ * @throws {RequiredError}
12718
+ */
12719
+ getNewBookingsCount: (startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12720
+ /**
12721
+ * Nouveaux abonnés sur une période
12722
+ * @param {string} [startDate]
12723
+ * @param {string} [endDate]
12724
+ * @param {*} [options] Override http request option.
12725
+ * @throws {RequiredError}
12726
+ */
12727
+ getNewSubscribersCount: (startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12728
+ /**
12729
+ * Taux de no-show global ou sur une période
12730
+ * @param {string} [startDate]
12731
+ * @param {string} [endDate]
12732
+ * @param {*} [options] Override http request option.
12733
+ * @throws {RequiredError}
12734
+ */
12735
+ getNoShowRate: (startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12417
12736
  /**
12418
12737
  * Récupère le nombre d\'utilisateurs du club
12419
12738
  * @param {*} [options] Override http request option.
@@ -12464,6 +12783,14 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
12464
12783
  * @throws {RequiredError}
12465
12784
  */
12466
12785
  getAnalyticsBySport(sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SportAnalyticsResponse>>;
12786
+ /**
12787
+ * Nombre de réservations par jour en fonction des slots
12788
+ * @param {string} [startDate]
12789
+ * @param {string} [endDate]
12790
+ * @param {*} [options] Override http request option.
12791
+ * @throws {RequiredError}
12792
+ */
12793
+ getBookingsPerDay(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsPerDayResponse>>;
12467
12794
  /**
12468
12795
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
12469
12796
  * @param {string} playerId
@@ -12497,6 +12824,12 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
12497
12824
  * @throws {RequiredError}
12498
12825
  */
12499
12826
  getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
12827
+ /**
12828
+ * Nombre total d\'abonnés actifs du club
12829
+ * @param {*} [options] Override http request option.
12830
+ * @throws {RequiredError}
12831
+ */
12832
+ getClubSubscribersSummary(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSubscriberSummaryResponse>>;
12500
12833
  /**
12501
12834
  * Récupère le chiffre d\'affaires quotidien
12502
12835
  * @param {string} date
@@ -12524,6 +12857,19 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
12524
12857
  * @throws {RequiredError}
12525
12858
  */
12526
12859
  getLastSixMonthsTurnover(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LastSixMonthsTurnoverItem>>>;
12860
+ /**
12861
+ * Créneaux horaires les moins réservés (3 derniers mois)
12862
+ * @param {number} [limit]
12863
+ * @param {*} [options] Override http request option.
12864
+ * @throws {RequiredError}
12865
+ */
12866
+ getLeastBookedTimeSlots(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeastBookedTimeSlotsResponse>>;
12867
+ /**
12868
+ * Jour de la semaine le moins réservé (3 derniers mois)
12869
+ * @param {*} [options] Override http request option.
12870
+ * @throws {RequiredError}
12871
+ */
12872
+ getLeastBookedWeekday(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeastBookedWeekdayResponse>>;
12527
12873
  /**
12528
12874
  * Récupère le chiffre d\'affaires mensuel
12529
12875
  * @param {string} year
@@ -12532,6 +12878,30 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
12532
12878
  * @throws {RequiredError}
12533
12879
  */
12534
12880
  getMonthlyTurnOver(year: string, month: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MonthlyTurnoverResponse>>;
12881
+ /**
12882
+ * Nouvelles réservations créées sur une période
12883
+ * @param {string} [startDate]
12884
+ * @param {string} [endDate]
12885
+ * @param {*} [options] Override http request option.
12886
+ * @throws {RequiredError}
12887
+ */
12888
+ getNewBookingsCount(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubNewBookingsResponse>>;
12889
+ /**
12890
+ * Nouveaux abonnés sur une période
12891
+ * @param {string} [startDate]
12892
+ * @param {string} [endDate]
12893
+ * @param {*} [options] Override http request option.
12894
+ * @throws {RequiredError}
12895
+ */
12896
+ getNewSubscribersCount(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubNewSubscribersResponse>>;
12897
+ /**
12898
+ * Taux de no-show global ou sur une période
12899
+ * @param {string} [startDate]
12900
+ * @param {string} [endDate]
12901
+ * @param {*} [options] Override http request option.
12902
+ * @throws {RequiredError}
12903
+ */
12904
+ getNoShowRate(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoShowRateResponse>>;
12535
12905
  /**
12536
12906
  * Récupère le nombre d\'utilisateurs du club
12537
12907
  * @param {*} [options] Override http request option.
@@ -12582,6 +12952,13 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
12582
12952
  * @throws {RequiredError}
12583
12953
  */
12584
12954
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): AxiosPromise<SportAnalyticsResponse>;
12955
+ /**
12956
+ * Nombre de réservations par jour en fonction des slots
12957
+ * @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
12958
+ * @param {*} [options] Override http request option.
12959
+ * @throws {RequiredError}
12960
+ */
12961
+ getBookingsPerDay(requestParameters?: ClubAnalyticsStaffApiGetBookingsPerDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingsPerDayResponse>;
12585
12962
  /**
12586
12963
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
12587
12964
  * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
@@ -12610,6 +12987,12 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
12610
12987
  * @throws {RequiredError}
12611
12988
  */
12612
12989
  getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse>;
12990
+ /**
12991
+ * Nombre total d\'abonnés actifs du club
12992
+ * @param {*} [options] Override http request option.
12993
+ * @throws {RequiredError}
12994
+ */
12995
+ getClubSubscribersSummary(options?: RawAxiosRequestConfig): AxiosPromise<ClubSubscriberSummaryResponse>;
12613
12996
  /**
12614
12997
  * Récupère le chiffre d\'affaires quotidien
12615
12998
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -12636,6 +13019,19 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
12636
13019
  * @throws {RequiredError}
12637
13020
  */
12638
13021
  getLastSixMonthsTurnover(options?: RawAxiosRequestConfig): AxiosPromise<Array<LastSixMonthsTurnoverItem>>;
13022
+ /**
13023
+ * Créneaux horaires les moins réservés (3 derniers mois)
13024
+ * @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
13025
+ * @param {*} [options] Override http request option.
13026
+ * @throws {RequiredError}
13027
+ */
13028
+ getLeastBookedTimeSlots(requestParameters?: ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeastBookedTimeSlotsResponse>;
13029
+ /**
13030
+ * Jour de la semaine le moins réservé (3 derniers mois)
13031
+ * @param {*} [options] Override http request option.
13032
+ * @throws {RequiredError}
13033
+ */
13034
+ getLeastBookedWeekday(options?: RawAxiosRequestConfig): AxiosPromise<LeastBookedWeekdayResponse>;
12639
13035
  /**
12640
13036
  * Récupère le chiffre d\'affaires mensuel
12641
13037
  * @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
@@ -12643,6 +13039,27 @@ export declare const ClubAnalyticsStaffApiFactory: (configuration?: Configuratio
12643
13039
  * @throws {RequiredError}
12644
13040
  */
12645
13041
  getMonthlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<MonthlyTurnoverResponse>;
13042
+ /**
13043
+ * Nouvelles réservations créées sur une période
13044
+ * @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
13045
+ * @param {*} [options] Override http request option.
13046
+ * @throws {RequiredError}
13047
+ */
13048
+ getNewBookingsCount(requestParameters?: ClubAnalyticsStaffApiGetNewBookingsCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubNewBookingsResponse>;
13049
+ /**
13050
+ * Nouveaux abonnés sur une période
13051
+ * @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
13052
+ * @param {*} [options] Override http request option.
13053
+ * @throws {RequiredError}
13054
+ */
13055
+ getNewSubscribersCount(requestParameters?: ClubAnalyticsStaffApiGetNewSubscribersCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubNewSubscribersResponse>;
13056
+ /**
13057
+ * Taux de no-show global ou sur une période
13058
+ * @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
13059
+ * @param {*} [options] Override http request option.
13060
+ * @throws {RequiredError}
13061
+ */
13062
+ getNoShowRate(requestParameters?: ClubAnalyticsStaffApiGetNoShowRateRequest, options?: RawAxiosRequestConfig): AxiosPromise<NoShowRateResponse>;
12646
13063
  /**
12647
13064
  * Récupère le nombre d\'utilisateurs du club
12648
13065
  * @param {*} [options] Override http request option.
@@ -12694,6 +13111,25 @@ export interface ClubAnalyticsStaffApiGetAnalyticsBySportRequest {
12694
13111
  */
12695
13112
  readonly sportId: string;
12696
13113
  }
13114
+ /**
13115
+ * Request parameters for getBookingsPerDay operation in ClubAnalyticsStaffApi.
13116
+ * @export
13117
+ * @interface ClubAnalyticsStaffApiGetBookingsPerDayRequest
13118
+ */
13119
+ export interface ClubAnalyticsStaffApiGetBookingsPerDayRequest {
13120
+ /**
13121
+ *
13122
+ * @type {string}
13123
+ * @memberof ClubAnalyticsStaffApiGetBookingsPerDay
13124
+ */
13125
+ readonly startDate?: string;
13126
+ /**
13127
+ *
13128
+ * @type {string}
13129
+ * @memberof ClubAnalyticsStaffApiGetBookingsPerDay
13130
+ */
13131
+ readonly endDate?: string;
13132
+ }
12697
13133
  /**
12698
13134
  * Request parameters for getClubPlayerBookingsById operation in ClubAnalyticsStaffApi.
12699
13135
  * @export
@@ -12808,6 +13244,19 @@ export interface ClubAnalyticsStaffApiGetInfillPercentagePerPeriodRequest {
12808
13244
  */
12809
13245
  readonly endDate?: string;
12810
13246
  }
13247
+ /**
13248
+ * Request parameters for getLeastBookedTimeSlots operation in ClubAnalyticsStaffApi.
13249
+ * @export
13250
+ * @interface ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest
13251
+ */
13252
+ export interface ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest {
13253
+ /**
13254
+ *
13255
+ * @type {number}
13256
+ * @memberof ClubAnalyticsStaffApiGetLeastBookedTimeSlots
13257
+ */
13258
+ readonly limit?: number;
13259
+ }
12811
13260
  /**
12812
13261
  * Request parameters for getMonthlyTurnOver operation in ClubAnalyticsStaffApi.
12813
13262
  * @export
@@ -12827,6 +13276,63 @@ export interface ClubAnalyticsStaffApiGetMonthlyTurnOverRequest {
12827
13276
  */
12828
13277
  readonly month: string;
12829
13278
  }
13279
+ /**
13280
+ * Request parameters for getNewBookingsCount operation in ClubAnalyticsStaffApi.
13281
+ * @export
13282
+ * @interface ClubAnalyticsStaffApiGetNewBookingsCountRequest
13283
+ */
13284
+ export interface ClubAnalyticsStaffApiGetNewBookingsCountRequest {
13285
+ /**
13286
+ *
13287
+ * @type {string}
13288
+ * @memberof ClubAnalyticsStaffApiGetNewBookingsCount
13289
+ */
13290
+ readonly startDate?: string;
13291
+ /**
13292
+ *
13293
+ * @type {string}
13294
+ * @memberof ClubAnalyticsStaffApiGetNewBookingsCount
13295
+ */
13296
+ readonly endDate?: string;
13297
+ }
13298
+ /**
13299
+ * Request parameters for getNewSubscribersCount operation in ClubAnalyticsStaffApi.
13300
+ * @export
13301
+ * @interface ClubAnalyticsStaffApiGetNewSubscribersCountRequest
13302
+ */
13303
+ export interface ClubAnalyticsStaffApiGetNewSubscribersCountRequest {
13304
+ /**
13305
+ *
13306
+ * @type {string}
13307
+ * @memberof ClubAnalyticsStaffApiGetNewSubscribersCount
13308
+ */
13309
+ readonly startDate?: string;
13310
+ /**
13311
+ *
13312
+ * @type {string}
13313
+ * @memberof ClubAnalyticsStaffApiGetNewSubscribersCount
13314
+ */
13315
+ readonly endDate?: string;
13316
+ }
13317
+ /**
13318
+ * Request parameters for getNoShowRate operation in ClubAnalyticsStaffApi.
13319
+ * @export
13320
+ * @interface ClubAnalyticsStaffApiGetNoShowRateRequest
13321
+ */
13322
+ export interface ClubAnalyticsStaffApiGetNoShowRateRequest {
13323
+ /**
13324
+ *
13325
+ * @type {string}
13326
+ * @memberof ClubAnalyticsStaffApiGetNoShowRate
13327
+ */
13328
+ readonly startDate?: string;
13329
+ /**
13330
+ *
13331
+ * @type {string}
13332
+ * @memberof ClubAnalyticsStaffApiGetNoShowRate
13333
+ */
13334
+ readonly endDate?: string;
13335
+ }
12830
13336
  /**
12831
13337
  * Request parameters for getYearlyTurnOver operation in ClubAnalyticsStaffApi.
12832
13338
  * @export
@@ -12855,6 +13361,14 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
12855
13361
  * @memberof ClubAnalyticsStaffApi
12856
13362
  */
12857
13363
  getAnalyticsBySport(requestParameters: ClubAnalyticsStaffApiGetAnalyticsBySportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SportAnalyticsResponse, any, {}>>;
13364
+ /**
13365
+ * Nombre de réservations par jour en fonction des slots
13366
+ * @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
13367
+ * @param {*} [options] Override http request option.
13368
+ * @throws {RequiredError}
13369
+ * @memberof ClubAnalyticsStaffApi
13370
+ */
13371
+ getBookingsPerDay(requestParameters?: ClubAnalyticsStaffApiGetBookingsPerDayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingsPerDayResponse, any, {}>>;
12858
13372
  /**
12859
13373
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
12860
13374
  * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
@@ -12887,6 +13401,13 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
12887
13401
  * @memberof ClubAnalyticsStaffApi
12888
13402
  */
12889
13403
  getClubPlayers(requestParameters?: ClubAnalyticsStaffApiGetClubPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPlayersPaginatedResponse, any, {}>>;
13404
+ /**
13405
+ * Nombre total d\'abonnés actifs du club
13406
+ * @param {*} [options] Override http request option.
13407
+ * @throws {RequiredError}
13408
+ * @memberof ClubAnalyticsStaffApi
13409
+ */
13410
+ getClubSubscribersSummary(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSubscriberSummaryResponse, any, {}>>;
12890
13411
  /**
12891
13412
  * Récupère le chiffre d\'affaires quotidien
12892
13413
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -12917,6 +13438,21 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
12917
13438
  * @memberof ClubAnalyticsStaffApi
12918
13439
  */
12919
13440
  getLastSixMonthsTurnover(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LastSixMonthsTurnoverItem[], any, {}>>;
13441
+ /**
13442
+ * Créneaux horaires les moins réservés (3 derniers mois)
13443
+ * @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
13444
+ * @param {*} [options] Override http request option.
13445
+ * @throws {RequiredError}
13446
+ * @memberof ClubAnalyticsStaffApi
13447
+ */
13448
+ getLeastBookedTimeSlots(requestParameters?: ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeastBookedTimeSlotsResponse, any, {}>>;
13449
+ /**
13450
+ * Jour de la semaine le moins réservé (3 derniers mois)
13451
+ * @param {*} [options] Override http request option.
13452
+ * @throws {RequiredError}
13453
+ * @memberof ClubAnalyticsStaffApi
13454
+ */
13455
+ getLeastBookedWeekday(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeastBookedWeekdayResponse, any, {}>>;
12920
13456
  /**
12921
13457
  * Récupère le chiffre d\'affaires mensuel
12922
13458
  * @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
@@ -12925,6 +13461,30 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
12925
13461
  * @memberof ClubAnalyticsStaffApi
12926
13462
  */
12927
13463
  getMonthlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MonthlyTurnoverResponse, any, {}>>;
13464
+ /**
13465
+ * Nouvelles réservations créées sur une période
13466
+ * @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
13467
+ * @param {*} [options] Override http request option.
13468
+ * @throws {RequiredError}
13469
+ * @memberof ClubAnalyticsStaffApi
13470
+ */
13471
+ getNewBookingsCount(requestParameters?: ClubAnalyticsStaffApiGetNewBookingsCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubNewBookingsResponse, any, {}>>;
13472
+ /**
13473
+ * Nouveaux abonnés sur une période
13474
+ * @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
13475
+ * @param {*} [options] Override http request option.
13476
+ * @throws {RequiredError}
13477
+ * @memberof ClubAnalyticsStaffApi
13478
+ */
13479
+ getNewSubscribersCount(requestParameters?: ClubAnalyticsStaffApiGetNewSubscribersCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubNewSubscribersResponse, any, {}>>;
13480
+ /**
13481
+ * Taux de no-show global ou sur une période
13482
+ * @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
13483
+ * @param {*} [options] Override http request option.
13484
+ * @throws {RequiredError}
13485
+ * @memberof ClubAnalyticsStaffApi
13486
+ */
13487
+ getNoShowRate(requestParameters?: ClubAnalyticsStaffApiGetNoShowRateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NoShowRateResponse, any, {}>>;
12928
13488
  /**
12929
13489
  * Récupère le nombre d\'utilisateurs du club
12930
13490
  * @param {*} [options] Override http request option.