@tennac-booking/sdk 1.0.140 → 1.0.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ # DuplicateClubDayScheduleRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **fromDay** | [**WeekdayKey**](WeekdayKey.md) | | [default to undefined]
9
+ **toDay** | [**WeekdayKey**](WeekdayKey.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DuplicateClubDayScheduleRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: DuplicateClubDayScheduleRequest = {
17
+ fromDay,
18
+ toDay,
19
+ };
20
+ ```
21
+
22
+ [[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)
@@ -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)
@@ -0,0 +1,33 @@
1
+ # PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined
2
+
3
+ Make all properties in T optional
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **monday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
10
+ **tuesday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
11
+ **wednesday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
12
+ **thursday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
13
+ **friday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
14
+ **saturday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
15
+ **sunday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined } from '@tennac-booking/sdk';
21
+
22
+ const instance: PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined = {
23
+ monday,
24
+ tuesday,
25
+ wednesday,
26
+ thursday,
27
+ friday,
28
+ saturday,
29
+ sunday,
30
+ };
31
+ ```
32
+
33
+ [[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,33 @@
1
+ # RecordWeekdayKeyClubDaySchedule
2
+
3
+ Construct a type with a set of properties K of type T
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **monday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
10
+ **tuesday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
11
+ **wednesday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
12
+ **thursday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
13
+ **friday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
14
+ **saturday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
15
+ **sunday** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { RecordWeekdayKeyClubDaySchedule } from '@tennac-booking/sdk';
21
+
22
+ const instance: RecordWeekdayKeyClubDaySchedule = {
23
+ monday,
24
+ tuesday,
25
+ wednesday,
26
+ thursday,
27
+ friday,
28
+ saturday,
29
+ sunday,
30
+ };
31
+ ```
32
+
33
+ [[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
+ # UpdateClubDayScheduleRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **intervals** | [**Array<ClubDayInterval>**](ClubDayInterval.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateClubDayScheduleRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: UpdateClubDayScheduleRequest = {
16
+ intervals,
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)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **schedule** | [**PartialClubWeeklySchedule**](PartialClubWeeklySchedule.md) | | [optional] [default to undefined]
8
+ **schedule** | [**PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined**](PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined.md) | | [optional] [default to undefined]
9
9
  **pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -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)
@@ -0,0 +1,20 @@
1
+ # WeekdayKey
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Monday` (value: `'monday'`)
7
+
8
+ * `Tuesday` (value: `'tuesday'`)
9
+
10
+ * `Wednesday` (value: `'wednesday'`)
11
+
12
+ * `Thursday` (value: `'thursday'`)
13
+
14
+ * `Friday` (value: `'friday'`)
15
+
16
+ * `Saturday` (value: `'saturday'`)
17
+
18
+ * `Sunday` (value: `'sunday'`)
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.140",
3
+ "version": "1.0.142",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,32 +0,0 @@
1
- # ClubWeeklySchedule
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **sunday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
9
- **saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
10
- **friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
11
- **thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
12
- **wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
13
- **tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
14
- **monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { ClubWeeklySchedule } from '@tennac-booking/sdk';
20
-
21
- const instance: ClubWeeklySchedule = {
22
- sunday,
23
- saturday,
24
- friday,
25
- thursday,
26
- wednesday,
27
- tuesday,
28
- monday,
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)
@@ -1,33 +0,0 @@
1
- # PartialClubWeeklySchedule
2
-
3
- Make all properties in T optional
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
10
- **tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
11
- **wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
12
- **thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
13
- **friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
14
- **saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
15
- **sunday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { PartialClubWeeklySchedule } from '@tennac-booking/sdk';
21
-
22
- const instance: PartialClubWeeklySchedule = {
23
- monday,
24
- tuesday,
25
- wednesday,
26
- thursday,
27
- friday,
28
- saturday,
29
- sunday,
30
- };
31
- ```
32
-
33
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)