@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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# NoShowRateResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**startDate** | **string** | Date de début si la période est fournie | [optional] [default to undefined]
|
|
9
|
+
**endDate** | **string** | Date de fin si la période est fournie | [optional] [default to undefined]
|
|
10
|
+
**noShowCount** | **number** | Nombre de réservations marquées no-show | [default to undefined]
|
|
11
|
+
**totalBookings** | **number** | Nombre total de réservations considérées | [default to undefined]
|
|
12
|
+
**rate** | **number** | Ratio no-show / total (0-1) | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { NoShowRateResponse } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: NoShowRateResponse = {
|
|
20
|
+
startDate,
|
|
21
|
+
endDate,
|
|
22
|
+
noShowCount,
|
|
23
|
+
totalBookings,
|
|
24
|
+
rate,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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
|
**retentionRate** | **number** | Pourcentage de joueurs fidèles (>= 2 réservations) | [default to undefined]
|
|
9
13
|
**loyalPlayers** | **number** | Nombre de joueurs fidèles | [default to undefined]
|
|
10
14
|
**totalPlayers** | **number** | Nombre total de joueurs ayant réservé | [default to undefined]
|
|
@@ -15,6 +19,10 @@ Name | Type | Description | Notes
|
|
|
15
19
|
import { RetentionRateResponse } from '@tennac-booking/sdk';
|
|
16
20
|
|
|
17
21
|
const instance: RetentionRateResponse = {
|
|
22
|
+
value,
|
|
23
|
+
reference,
|
|
24
|
+
delta,
|
|
25
|
+
trend,
|
|
18
26
|
retentionRate,
|
|
19
27
|
loyalPlayers,
|
|
20
28
|
totalPlayers,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# TrendDirection
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Up` (value: `'up'`)
|
|
7
|
+
|
|
8
|
+
* `Down` (value: `'down'`)
|
|
9
|
+
|
|
10
|
+
* `Steady` (value: `'steady'`)
|
|
11
|
+
|
|
12
|
+
[[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,28 @@
|
|
|
1
|
+
# WeekdayAverageItem
|
|
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 lisible du jour | [default to undefined]
|
|
10
|
+
**totalBookings** | **number** | Nombre total de réservations enregistrées pour ce jour | [default to undefined]
|
|
11
|
+
**daysCount** | **number** | Nombre de jours observés pour ce jour de la semaine | [default to undefined]
|
|
12
|
+
**averageBookings** | **number** | Moyenne de réservations par jour de la semaine | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { WeekdayAverageItem } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: WeekdayAverageItem = {
|
|
20
|
+
weekday,
|
|
21
|
+
weekdayName,
|
|
22
|
+
totalBookings,
|
|
23
|
+
daysCount,
|
|
24
|
+
averageBookings,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|