@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.
@@ -0,0 +1,30 @@
1
+ # BookingsPerDayItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **value** | **number** | Valeur mesurée sur la période actuelle | [default to undefined]
9
+ **reference** | **number** | Valeur de référence calculée avec la comparaison Same Weekday | [default to undefined]
10
+ **delta** | **number** | Différence entre la valeur actuelle et la référence | [default to undefined]
11
+ **trend** | [**TrendDirection**](TrendDirection.md) | | [default to undefined]
12
+ **date** | **string** | Jour au format YYYY-MM-DD | [default to undefined]
13
+ **bookingsCount** | **number** | Nombre de réservations dont la séance se déroule ce jour-là | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { BookingsPerDayItem } from '@tennac-booking/sdk';
19
+
20
+ const instance: BookingsPerDayItem = {
21
+ value,
22
+ reference,
23
+ delta,
24
+ trend,
25
+ date,
26
+ bookingsCount,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # BookingsPerDayResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **startDate** | **string** | Date de début incluse (format ISO) | [default to undefined]
9
+ **endDate** | **string** | Date de fin incluse (format ISO) | [default to undefined]
10
+ **dailyCounts** | [**Array<BookingsPerDayItem>**](BookingsPerDayItem.md) | Comptes quotidiens | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BookingsPerDayResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: BookingsPerDayResponse = {
18
+ startDate,
19
+ endDate,
20
+ dailyCounts,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,15 +5,22 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getAnalyticsBySport**](#getanalyticsbysport) | **GET** /api/club-analytics/sport/{sportId}/analytics | |
8
+ |[**getBookingsPerDay**](#getbookingsperday) | **GET** /api/club-analytics/bookings/per-day | |
8
9
  |[**getClubPlayerBookingsById**](#getclubplayerbookingsbyid) | **GET** /api/club-analytics/players/{playerId}/bookings | |
9
10
  |[**getClubPlayerById**](#getclubplayerbyid) | **GET** /api/club-analytics/players/{playerId} | |
10
11
  |[**getClubPlayerStatisticsById**](#getclubplayerstatisticsbyid) | **GET** /api/club-analytics/players/{playerId}/statistics | |
11
12
  |[**getClubPlayers**](#getclubplayers) | **GET** /api/club-analytics/players | |
13
+ |[**getClubSubscribersSummary**](#getclubsubscriberssummary) | **GET** /api/club-analytics/subscribers/total | |
12
14
  |[**getDailyTurnOver**](#getdailyturnover) | **GET** /api/club-analytics/daily-turnover | |
13
15
  |[**getGenderPercentage**](#getgenderpercentage) | **GET** /api/club-analytics/gender-percentage | |
14
16
  |[**getInfillPercentagePerPeriod**](#getinfillpercentageperperiod) | **GET** /api/club-analytics/infill-percentage | |
15
17
  |[**getLastSixMonthsTurnover**](#getlastsixmonthsturnover) | **GET** /api/club-analytics/last-six-months-turnover | |
18
+ |[**getLeastBookedTimeSlots**](#getleastbookedtimeslots) | **GET** /api/club-analytics/bookings/least-booked-time-slots | |
19
+ |[**getLeastBookedWeekday**](#getleastbookedweekday) | **GET** /api/club-analytics/bookings/least-booked-weekday | |
16
20
  |[**getMonthlyTurnOver**](#getmonthlyturnover) | **GET** /api/club-analytics/monthly-turnover | |
21
+ |[**getNewBookingsCount**](#getnewbookingscount) | **GET** /api/club-analytics/bookings/new | |
22
+ |[**getNewSubscribersCount**](#getnewsubscriberscount) | **GET** /api/club-analytics/subscribers/new | |
23
+ |[**getNoShowRate**](#getnoshowrate) | **GET** /api/club-analytics/bookings/no-show-rate | |
17
24
  |[**getNumberOfClubUsers**](#getnumberofclubusers) | **GET** /api/club-analytics/users-count | |
18
25
  |[**getRetentionRate**](#getretentionrate) | **GET** /api/club-analytics/retention-rate | |
19
26
  |[**getRevenueBySport**](#getrevenuebysport) | **GET** /api/club-analytics/revenue-by-sport | |
@@ -75,6 +82,62 @@ const { status, data } = await apiInstance.getAnalyticsBySport(
75
82
 
76
83
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
77
84
 
85
+ # **getBookingsPerDay**
86
+ > BookingsPerDayResponse getBookingsPerDay()
87
+
88
+ Nombre de réservations par jour en fonction des slots
89
+
90
+ ### Example
91
+
92
+ ```typescript
93
+ import {
94
+ ClubAnalyticsStaffApi,
95
+ Configuration
96
+ } from '@tennac-booking/sdk';
97
+
98
+ const configuration = new Configuration();
99
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
100
+
101
+ let startDate: string; // (optional) (default to undefined)
102
+ let endDate: string; // (optional) (default to undefined)
103
+
104
+ const { status, data } = await apiInstance.getBookingsPerDay(
105
+ startDate,
106
+ endDate
107
+ );
108
+ ```
109
+
110
+ ### Parameters
111
+
112
+ |Name | Type | Description | Notes|
113
+ |------------- | ------------- | ------------- | -------------|
114
+ | **startDate** | [**string**] | | (optional) defaults to undefined|
115
+ | **endDate** | [**string**] | | (optional) defaults to undefined|
116
+
117
+
118
+ ### Return type
119
+
120
+ **BookingsPerDayResponse**
121
+
122
+ ### Authorization
123
+
124
+ [bearerAuth](../README.md#bearerAuth)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: application/json
130
+
131
+
132
+ ### HTTP response details
133
+ | Status code | Description | Response headers |
134
+ |-------------|-------------|------------------|
135
+ |**200** | Réservations par jour | - |
136
+ |**400** | Bad Request | - |
137
+ |**401** | Unauthorized | - |
138
+
139
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
140
+
78
141
  # **getClubPlayerBookingsById**
79
142
  > ClubPlayerBookingsResponse getClubPlayerBookingsById()
80
143
 
@@ -307,6 +370,52 @@ const { status, data } = await apiInstance.getClubPlayers(
307
370
 
308
371
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
309
372
 
373
+ # **getClubSubscribersSummary**
374
+ > ClubSubscriberSummaryResponse getClubSubscribersSummary()
375
+
376
+ Nombre total d\'abonnés actifs du club
377
+
378
+ ### Example
379
+
380
+ ```typescript
381
+ import {
382
+ ClubAnalyticsStaffApi,
383
+ Configuration
384
+ } from '@tennac-booking/sdk';
385
+
386
+ const configuration = new Configuration();
387
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
388
+
389
+ const { status, data } = await apiInstance.getClubSubscribersSummary();
390
+ ```
391
+
392
+ ### Parameters
393
+ This endpoint does not have any parameters.
394
+
395
+
396
+ ### Return type
397
+
398
+ **ClubSubscriberSummaryResponse**
399
+
400
+ ### Authorization
401
+
402
+ [bearerAuth](../README.md#bearerAuth)
403
+
404
+ ### HTTP request headers
405
+
406
+ - **Content-Type**: Not defined
407
+ - **Accept**: application/json
408
+
409
+
410
+ ### HTTP response details
411
+ | Status code | Description | Response headers |
412
+ |-------------|-------------|------------------|
413
+ |**200** | Total des abonnés | - |
414
+ |**400** | Bad Request | - |
415
+ |**401** | Unauthorized | - |
416
+
417
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
418
+
310
419
  # **getDailyTurnOver**
311
420
  > DailyTurnoverResponse getDailyTurnOver()
312
421
 
@@ -510,6 +619,105 @@ This endpoint does not have any parameters.
510
619
 
511
620
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
512
621
 
622
+ # **getLeastBookedTimeSlots**
623
+ > LeastBookedTimeSlotsResponse getLeastBookedTimeSlots()
624
+
625
+ Créneaux horaires les moins réservés (3 derniers mois)
626
+
627
+ ### Example
628
+
629
+ ```typescript
630
+ import {
631
+ ClubAnalyticsStaffApi,
632
+ Configuration
633
+ } from '@tennac-booking/sdk';
634
+
635
+ const configuration = new Configuration();
636
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
637
+
638
+ let limit: number; // (optional) (default to undefined)
639
+
640
+ const { status, data } = await apiInstance.getLeastBookedTimeSlots(
641
+ limit
642
+ );
643
+ ```
644
+
645
+ ### Parameters
646
+
647
+ |Name | Type | Description | Notes|
648
+ |------------- | ------------- | ------------- | -------------|
649
+ | **limit** | [**number**] | | (optional) defaults to undefined|
650
+
651
+
652
+ ### Return type
653
+
654
+ **LeastBookedTimeSlotsResponse**
655
+
656
+ ### Authorization
657
+
658
+ [bearerAuth](../README.md#bearerAuth)
659
+
660
+ ### HTTP request headers
661
+
662
+ - **Content-Type**: Not defined
663
+ - **Accept**: application/json
664
+
665
+
666
+ ### HTTP response details
667
+ | Status code | Description | Response headers |
668
+ |-------------|-------------|------------------|
669
+ |**200** | Créneaux les moins réservés | - |
670
+ |**400** | Bad Request | - |
671
+ |**401** | Unauthorized | - |
672
+
673
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
674
+
675
+ # **getLeastBookedWeekday**
676
+ > LeastBookedWeekdayResponse getLeastBookedWeekday()
677
+
678
+ Jour de la semaine le moins réservé (3 derniers mois)
679
+
680
+ ### Example
681
+
682
+ ```typescript
683
+ import {
684
+ ClubAnalyticsStaffApi,
685
+ Configuration
686
+ } from '@tennac-booking/sdk';
687
+
688
+ const configuration = new Configuration();
689
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
690
+
691
+ const { status, data } = await apiInstance.getLeastBookedWeekday();
692
+ ```
693
+
694
+ ### Parameters
695
+ This endpoint does not have any parameters.
696
+
697
+
698
+ ### Return type
699
+
700
+ **LeastBookedWeekdayResponse**
701
+
702
+ ### Authorization
703
+
704
+ [bearerAuth](../README.md#bearerAuth)
705
+
706
+ ### HTTP request headers
707
+
708
+ - **Content-Type**: Not defined
709
+ - **Accept**: application/json
710
+
711
+
712
+ ### HTTP response details
713
+ | Status code | Description | Response headers |
714
+ |-------------|-------------|------------------|
715
+ |**200** | Jour le moins réservé | - |
716
+ |**400** | Bad Request | - |
717
+ |**401** | Unauthorized | - |
718
+
719
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
720
+
513
721
  # **getMonthlyTurnOver**
514
722
  > MonthlyTurnoverResponse getMonthlyTurnOver()
515
723
 
@@ -567,6 +775,174 @@ const { status, data } = await apiInstance.getMonthlyTurnOver(
567
775
 
568
776
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
569
777
 
778
+ # **getNewBookingsCount**
779
+ > ClubNewBookingsResponse getNewBookingsCount()
780
+
781
+ Nouvelles réservations créées sur une période
782
+
783
+ ### Example
784
+
785
+ ```typescript
786
+ import {
787
+ ClubAnalyticsStaffApi,
788
+ Configuration
789
+ } from '@tennac-booking/sdk';
790
+
791
+ const configuration = new Configuration();
792
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
793
+
794
+ let startDate: string; // (optional) (default to undefined)
795
+ let endDate: string; // (optional) (default to undefined)
796
+
797
+ const { status, data } = await apiInstance.getNewBookingsCount(
798
+ startDate,
799
+ endDate
800
+ );
801
+ ```
802
+
803
+ ### Parameters
804
+
805
+ |Name | Type | Description | Notes|
806
+ |------------- | ------------- | ------------- | -------------|
807
+ | **startDate** | [**string**] | | (optional) defaults to undefined|
808
+ | **endDate** | [**string**] | | (optional) defaults to undefined|
809
+
810
+
811
+ ### Return type
812
+
813
+ **ClubNewBookingsResponse**
814
+
815
+ ### Authorization
816
+
817
+ [bearerAuth](../README.md#bearerAuth)
818
+
819
+ ### HTTP request headers
820
+
821
+ - **Content-Type**: Not defined
822
+ - **Accept**: application/json
823
+
824
+
825
+ ### HTTP response details
826
+ | Status code | Description | Response headers |
827
+ |-------------|-------------|------------------|
828
+ |**200** | Nouvelles réservations | - |
829
+ |**400** | Bad Request | - |
830
+ |**401** | Unauthorized | - |
831
+
832
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
833
+
834
+ # **getNewSubscribersCount**
835
+ > ClubNewSubscribersResponse getNewSubscribersCount()
836
+
837
+ Nouveaux abonnés sur une période
838
+
839
+ ### Example
840
+
841
+ ```typescript
842
+ import {
843
+ ClubAnalyticsStaffApi,
844
+ Configuration
845
+ } from '@tennac-booking/sdk';
846
+
847
+ const configuration = new Configuration();
848
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
849
+
850
+ let startDate: string; // (optional) (default to undefined)
851
+ let endDate: string; // (optional) (default to undefined)
852
+
853
+ const { status, data } = await apiInstance.getNewSubscribersCount(
854
+ startDate,
855
+ endDate
856
+ );
857
+ ```
858
+
859
+ ### Parameters
860
+
861
+ |Name | Type | Description | Notes|
862
+ |------------- | ------------- | ------------- | -------------|
863
+ | **startDate** | [**string**] | | (optional) defaults to undefined|
864
+ | **endDate** | [**string**] | | (optional) defaults to undefined|
865
+
866
+
867
+ ### Return type
868
+
869
+ **ClubNewSubscribersResponse**
870
+
871
+ ### Authorization
872
+
873
+ [bearerAuth](../README.md#bearerAuth)
874
+
875
+ ### HTTP request headers
876
+
877
+ - **Content-Type**: Not defined
878
+ - **Accept**: application/json
879
+
880
+
881
+ ### HTTP response details
882
+ | Status code | Description | Response headers |
883
+ |-------------|-------------|------------------|
884
+ |**200** | Nouveaux abonnés sur la période | - |
885
+ |**400** | Bad Request | - |
886
+ |**401** | Unauthorized | - |
887
+
888
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
889
+
890
+ # **getNoShowRate**
891
+ > NoShowRateResponse getNoShowRate()
892
+
893
+ Taux de no-show global ou sur une période
894
+
895
+ ### Example
896
+
897
+ ```typescript
898
+ import {
899
+ ClubAnalyticsStaffApi,
900
+ Configuration
901
+ } from '@tennac-booking/sdk';
902
+
903
+ const configuration = new Configuration();
904
+ const apiInstance = new ClubAnalyticsStaffApi(configuration);
905
+
906
+ let startDate: string; // (optional) (default to undefined)
907
+ let endDate: string; // (optional) (default to undefined)
908
+
909
+ const { status, data } = await apiInstance.getNoShowRate(
910
+ startDate,
911
+ endDate
912
+ );
913
+ ```
914
+
915
+ ### Parameters
916
+
917
+ |Name | Type | Description | Notes|
918
+ |------------- | ------------- | ------------- | -------------|
919
+ | **startDate** | [**string**] | | (optional) defaults to undefined|
920
+ | **endDate** | [**string**] | | (optional) defaults to undefined|
921
+
922
+
923
+ ### Return type
924
+
925
+ **NoShowRateResponse**
926
+
927
+ ### Authorization
928
+
929
+ [bearerAuth](../README.md#bearerAuth)
930
+
931
+ ### HTTP request headers
932
+
933
+ - **Content-Type**: Not defined
934
+ - **Accept**: application/json
935
+
936
+
937
+ ### HTTP response details
938
+ | Status code | Description | Response headers |
939
+ |-------------|-------------|------------------|
940
+ |**200** | Taux de no-show | - |
941
+ |**400** | Bad Request | - |
942
+ |**401** | Unauthorized | - |
943
+
944
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
945
+
570
946
  # **getNumberOfClubUsers**
571
947
  > ClubUserCountResponse getNumberOfClubUsers()
572
948
 
@@ -629,11 +1005,21 @@ import {
629
1005
  const configuration = new Configuration();
630
1006
  const apiInstance = new ClubAnalyticsStaffApi(configuration);
631
1007
 
632
- const { status, data } = await apiInstance.getRetentionRate();
1008
+ let startDate: string; // (optional) (default to undefined)
1009
+ let endDate: string; // (optional) (default to undefined)
1010
+
1011
+ const { status, data } = await apiInstance.getRetentionRate(
1012
+ startDate,
1013
+ endDate
1014
+ );
633
1015
  ```
634
1016
 
635
1017
  ### Parameters
636
- This endpoint does not have any parameters.
1018
+
1019
+ |Name | Type | Description | Notes|
1020
+ |------------- | ------------- | ------------- | -------------|
1021
+ | **startDate** | [**string**] | | (optional) defaults to undefined|
1022
+ | **endDate** | [**string**] | | (optional) defaults to undefined|
637
1023
 
638
1024
 
639
1025
  ### Return type
@@ -0,0 +1,32 @@
1
+ # ClubNewBookingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **value** | **number** | Valeur mesurée sur la période actuelle | [default to undefined]
9
+ **reference** | **number** | Valeur de référence calculée avec la comparaison Same Weekday | [default to undefined]
10
+ **delta** | **number** | Différence entre la valeur actuelle et la référence | [default to undefined]
11
+ **trend** | [**TrendDirection**](TrendDirection.md) | | [default to undefined]
12
+ **startDate** | **string** | Date de début incluse (format ISO) | [default to undefined]
13
+ **endDate** | **string** | Date de fin incluse (format ISO) | [default to undefined]
14
+ **newBookings** | **number** | Nombre de nouvelles réservations créées durant la période | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ClubNewBookingsResponse } from '@tennac-booking/sdk';
20
+
21
+ const instance: ClubNewBookingsResponse = {
22
+ value,
23
+ reference,
24
+ delta,
25
+ trend,
26
+ startDate,
27
+ endDate,
28
+ newBookings,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,32 @@
1
+ # ClubNewSubscribersResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **value** | **number** | Valeur mesurée sur la période actuelle | [default to undefined]
9
+ **reference** | **number** | Valeur de référence calculée avec la comparaison Same Weekday | [default to undefined]
10
+ **delta** | **number** | Différence entre la valeur actuelle et la référence | [default to undefined]
11
+ **trend** | [**TrendDirection**](TrendDirection.md) | | [default to undefined]
12
+ **startDate** | **string** | Date de début incluse (format ISO) | [default to undefined]
13
+ **endDate** | **string** | Date de fin incluse (format ISO) | [default to undefined]
14
+ **newSubscribers** | **number** | Nombre de nouveaux abonnés sur la période | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ClubNewSubscribersResponse } from '@tennac-booking/sdk';
20
+
21
+ const instance: ClubNewSubscribersResponse = {
22
+ value,
23
+ reference,
24
+ delta,
25
+ trend,
26
+ startDate,
27
+ endDate,
28
+ newSubscribers,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # ClubSubscriberSummaryResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **totalSubscribers** | **number** | Nombre total d\'abonnés actifs au club | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ClubSubscriberSummaryResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: ClubSubscriberSummaryResponse = {
16
+ totalSubscribers,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # LeastBookedTimeSlotItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **weekday** | **number** | Jour de la semaine (0 = dimanche) | [default to undefined]
9
+ **weekdayName** | **string** | Nom du jour | [default to undefined]
10
+ **hour** | **string** | Heure de début (format HH:00) | [default to undefined]
11
+ **totalBookings** | **number** | Nombre total de réservations observées pour ce créneau | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { LeastBookedTimeSlotItem } from '@tennac-booking/sdk';
17
+
18
+ const instance: LeastBookedTimeSlotItem = {
19
+ weekday,
20
+ weekdayName,
21
+ hour,
22
+ totalBookings,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # LeastBookedTimeSlotsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **periodStart** | **string** | Début de la fenêtre analysée | [default to undefined]
9
+ **periodEnd** | **string** | Fin de la fenêtre analysée | [default to undefined]
10
+ **timeSlots** | [**Array<LeastBookedTimeSlotItem>**](LeastBookedTimeSlotItem.md) | Créneaux les moins réservés | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LeastBookedTimeSlotsResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: LeastBookedTimeSlotsResponse = {
18
+ periodStart,
19
+ periodEnd,
20
+ timeSlots,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # LeastBookedWeekdayResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **periodStart** | **string** | Date de début de la période analysée | [default to undefined]
9
+ **periodEnd** | **string** | Date de fin de la période analysée | [default to undefined]
10
+ **leastBooked** | [**WeekdayAverageItem**](WeekdayAverageItem.md) | Jour le moins réservé (null si aucune donnée) | [default to undefined]
11
+ **weekdayAverages** | [**Array<WeekdayAverageItem>**](WeekdayAverageItem.md) | Détail des moyennes par jour de la semaine | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { LeastBookedWeekdayResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: LeastBookedWeekdayResponse = {
19
+ periodStart,
20
+ periodEnd,
21
+ leastBooked,
22
+ weekdayAverages,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,6 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **value** | **number** | Valeur mesurée sur la période actuelle | [default to undefined]
9
+ **reference** | **number** | Valeur de référence calculée avec la comparaison Same Weekday | [default to undefined]
10
+ **delta** | **number** | Différence entre la valeur actuelle et la référence | [default to undefined]
11
+ **trend** | [**TrendDirection**](TrendDirection.md) | | [default to undefined]
8
12
  **year** | **number** | Année | [default to undefined]
9
13
  **month** | **number** | Mois | [default to undefined]
10
14
  **totalTurnover** | **number** | Chiffre d\'affaires total du mois | [default to undefined]
@@ -17,6 +21,10 @@ Name | Type | Description | Notes
17
21
  import { MonthlyTurnoverResponse } from '@tennac-booking/sdk';
18
22
 
19
23
  const instance: MonthlyTurnoverResponse = {
24
+ value,
25
+ reference,
26
+ delta,
27
+ trend,
20
28
  year,
21
29
  month,
22
30
  totalTurnover,