@tennac-booking/sdk 1.0.210 → 1.0.212
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/api.ts +18 -0
- package/dist/api.d.ts +22 -0
- package/dist/esm/api.d.ts +22 -0
- package/docs/ClubPageResponse.md +4 -0
- package/docs/ClubResponse.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2684,6 +2684,18 @@ export interface ClubPageResponse {
|
|
|
2684
2684
|
* @memberof ClubPageResponse
|
|
2685
2685
|
*/
|
|
2686
2686
|
'indoorOutdoorBySport'?: { [key: string]: Array<CourtEnvironment>; };
|
|
2687
|
+
/**
|
|
2688
|
+
* Construct a type with a set of properties K of type T
|
|
2689
|
+
* @type {{ [key: string]: Array<number>; }}
|
|
2690
|
+
* @memberof ClubPageResponse
|
|
2691
|
+
*/
|
|
2692
|
+
'slotDurationsBySport'?: { [key: string]: Array<number>; };
|
|
2693
|
+
/**
|
|
2694
|
+
* Période de réservation en jours
|
|
2695
|
+
* @type {number}
|
|
2696
|
+
* @memberof ClubPageResponse
|
|
2697
|
+
*/
|
|
2698
|
+
'bookingPeriodInDays'?: number;
|
|
2687
2699
|
/**
|
|
2688
2700
|
*
|
|
2689
2701
|
* @type {ClubPresentation}
|
|
@@ -3666,6 +3678,12 @@ export interface ClubResponse {
|
|
|
3666
3678
|
* @memberof ClubResponse
|
|
3667
3679
|
*/
|
|
3668
3680
|
'indoorOutdoorBySport'?: { [key: string]: Array<CourtEnvironment>; };
|
|
3681
|
+
/**
|
|
3682
|
+
* Construct a type with a set of properties K of type T
|
|
3683
|
+
* @type {{ [key: string]: Array<number>; }}
|
|
3684
|
+
* @memberof ClubResponse
|
|
3685
|
+
*/
|
|
3686
|
+
'slotDurationsBySport'?: { [key: string]: Array<number>; };
|
|
3669
3687
|
/**
|
|
3670
3688
|
* Autoriser plusieurs réservations en même temps
|
|
3671
3689
|
* @type {boolean}
|
package/dist/api.d.ts
CHANGED
|
@@ -2641,6 +2641,20 @@ export interface ClubPageResponse {
|
|
|
2641
2641
|
'indoorOutdoorBySport'?: {
|
|
2642
2642
|
[key: string]: Array<CourtEnvironment>;
|
|
2643
2643
|
};
|
|
2644
|
+
/**
|
|
2645
|
+
* Construct a type with a set of properties K of type T
|
|
2646
|
+
* @type {{ [key: string]: Array<number>; }}
|
|
2647
|
+
* @memberof ClubPageResponse
|
|
2648
|
+
*/
|
|
2649
|
+
'slotDurationsBySport'?: {
|
|
2650
|
+
[key: string]: Array<number>;
|
|
2651
|
+
};
|
|
2652
|
+
/**
|
|
2653
|
+
* Période de réservation en jours
|
|
2654
|
+
* @type {number}
|
|
2655
|
+
* @memberof ClubPageResponse
|
|
2656
|
+
*/
|
|
2657
|
+
'bookingPeriodInDays'?: number;
|
|
2644
2658
|
/**
|
|
2645
2659
|
*
|
|
2646
2660
|
* @type {ClubPresentation}
|
|
@@ -3629,6 +3643,14 @@ export interface ClubResponse {
|
|
|
3629
3643
|
'indoorOutdoorBySport'?: {
|
|
3630
3644
|
[key: string]: Array<CourtEnvironment>;
|
|
3631
3645
|
};
|
|
3646
|
+
/**
|
|
3647
|
+
* Construct a type with a set of properties K of type T
|
|
3648
|
+
* @type {{ [key: string]: Array<number>; }}
|
|
3649
|
+
* @memberof ClubResponse
|
|
3650
|
+
*/
|
|
3651
|
+
'slotDurationsBySport'?: {
|
|
3652
|
+
[key: string]: Array<number>;
|
|
3653
|
+
};
|
|
3632
3654
|
/**
|
|
3633
3655
|
* Autoriser plusieurs réservations en même temps
|
|
3634
3656
|
* @type {boolean}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2641,6 +2641,20 @@ export interface ClubPageResponse {
|
|
|
2641
2641
|
'indoorOutdoorBySport'?: {
|
|
2642
2642
|
[key: string]: Array<CourtEnvironment>;
|
|
2643
2643
|
};
|
|
2644
|
+
/**
|
|
2645
|
+
* Construct a type with a set of properties K of type T
|
|
2646
|
+
* @type {{ [key: string]: Array<number>; }}
|
|
2647
|
+
* @memberof ClubPageResponse
|
|
2648
|
+
*/
|
|
2649
|
+
'slotDurationsBySport'?: {
|
|
2650
|
+
[key: string]: Array<number>;
|
|
2651
|
+
};
|
|
2652
|
+
/**
|
|
2653
|
+
* Période de réservation en jours
|
|
2654
|
+
* @type {number}
|
|
2655
|
+
* @memberof ClubPageResponse
|
|
2656
|
+
*/
|
|
2657
|
+
'bookingPeriodInDays'?: number;
|
|
2644
2658
|
/**
|
|
2645
2659
|
*
|
|
2646
2660
|
* @type {ClubPresentation}
|
|
@@ -3629,6 +3643,14 @@ export interface ClubResponse {
|
|
|
3629
3643
|
'indoorOutdoorBySport'?: {
|
|
3630
3644
|
[key: string]: Array<CourtEnvironment>;
|
|
3631
3645
|
};
|
|
3646
|
+
/**
|
|
3647
|
+
* Construct a type with a set of properties K of type T
|
|
3648
|
+
* @type {{ [key: string]: Array<number>; }}
|
|
3649
|
+
* @memberof ClubResponse
|
|
3650
|
+
*/
|
|
3651
|
+
'slotDurationsBySport'?: {
|
|
3652
|
+
[key: string]: Array<number>;
|
|
3653
|
+
};
|
|
3632
3654
|
/**
|
|
3633
3655
|
* Autoriser plusieurs réservations en même temps
|
|
3634
3656
|
* @type {boolean}
|
package/docs/ClubPageResponse.md
CHANGED
|
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
22
22
|
**surfacesBySport** | **{ [key: string]: Array<SurfaceType>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
23
23
|
**indoorOutdoorBySport** | **{ [key: string]: Array<CourtEnvironment>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
24
|
+
**slotDurationsBySport** | **{ [key: string]: Array<number>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
25
|
+
**bookingPeriodInDays** | **number** | Période de réservation en jours | [optional] [default to undefined]
|
|
24
26
|
**clubPresentation** | [**ClubPresentation**](ClubPresentation.md) | | [default to undefined]
|
|
25
27
|
**comingEvents** | [**Array<ClubEvent>**](ClubEvent.md) | | [default to undefined]
|
|
26
28
|
**comingClosures** | [**Array<ClubEvent>**](ClubEvent.md) | | [default to undefined]
|
|
@@ -51,6 +53,8 @@ const instance: ClubPageResponse = {
|
|
|
51
53
|
courtsCountBySport,
|
|
52
54
|
surfacesBySport,
|
|
53
55
|
indoorOutdoorBySport,
|
|
56
|
+
slotDurationsBySport,
|
|
57
|
+
bookingPeriodInDays,
|
|
54
58
|
clubPresentation,
|
|
55
59
|
comingEvents,
|
|
56
60
|
comingClosures,
|
package/docs/ClubResponse.md
CHANGED
|
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
|
|
|
24
24
|
**courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
25
25
|
**surfacesBySport** | **{ [key: string]: Array<SurfaceType>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
26
26
|
**indoorOutdoorBySport** | **{ [key: string]: Array<CourtEnvironment>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
27
|
+
**slotDurationsBySport** | **{ [key: string]: Array<number>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
27
28
|
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
28
29
|
**maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
|
|
29
30
|
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
@@ -56,6 +57,7 @@ const instance: ClubResponse = {
|
|
|
56
57
|
courtsCountBySport,
|
|
57
58
|
surfacesBySport,
|
|
58
59
|
indoorOutdoorBySport,
|
|
60
|
+
slotDurationsBySport,
|
|
59
61
|
allowMultipleBookingsAtTheSameTime,
|
|
60
62
|
maxSlotsPerBooking,
|
|
61
63
|
cancellationLimitHours,
|