@tennac-booking/sdk 1.0.224 → 1.0.225
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 +1 -0
- package/README.md +1 -0
- package/api.ts +25 -0
- package/dist/api.d.ts +29 -0
- package/docs/ClubPageResponse.md +2 -0
- package/docs/ClubPageResponseSportsIdsLookup.md +23 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -84,6 +84,7 @@ docs/ClubNewBookingsResponse.md
|
|
|
84
84
|
docs/ClubNewSubscribersResponse.md
|
|
85
85
|
docs/ClubPageResponse.md
|
|
86
86
|
docs/ClubPageResponseClubCustomerStatus.md
|
|
87
|
+
docs/ClubPageResponseSportsIdsLookup.md
|
|
87
88
|
docs/ClubPlayerBookingItem.md
|
|
88
89
|
docs/ClubPlayerBookingsPagination.md
|
|
89
90
|
docs/ClubPlayerBookingsResponse.md
|
package/README.md
CHANGED
|
@@ -371,6 +371,7 @@ Class | Method | HTTP request | Description
|
|
|
371
371
|
- [ClubNewSubscribersResponse](docs/ClubNewSubscribersResponse.md)
|
|
372
372
|
- [ClubPageResponse](docs/ClubPageResponse.md)
|
|
373
373
|
- [ClubPageResponseClubCustomerStatus](docs/ClubPageResponseClubCustomerStatus.md)
|
|
374
|
+
- [ClubPageResponseSportsIdsLookup](docs/ClubPageResponseSportsIdsLookup.md)
|
|
374
375
|
- [ClubPlayerBookingItem](docs/ClubPlayerBookingItem.md)
|
|
375
376
|
- [ClubPlayerBookingsPagination](docs/ClubPlayerBookingsPagination.md)
|
|
376
377
|
- [ClubPlayerBookingsResponse](docs/ClubPlayerBookingsResponse.md)
|
package/api.ts
CHANGED
|
@@ -2673,6 +2673,12 @@ export interface ClubPageResponse {
|
|
|
2673
2673
|
* @memberof ClubPageResponse
|
|
2674
2674
|
*/
|
|
2675
2675
|
'sports'?: Array<string>;
|
|
2676
|
+
/**
|
|
2677
|
+
*
|
|
2678
|
+
* @type {ClubPageResponseSportsIdsLookup}
|
|
2679
|
+
* @memberof ClubPageResponse
|
|
2680
|
+
*/
|
|
2681
|
+
'sportsIdsLookup'?: ClubPageResponseSportsIdsLookup;
|
|
2676
2682
|
/**
|
|
2677
2683
|
* Nombre total de terrains du club
|
|
2678
2684
|
* @type {number}
|
|
@@ -2783,6 +2789,25 @@ export interface ClubPageResponseClubCustomerStatus {
|
|
|
2783
2789
|
*/
|
|
2784
2790
|
'isBanned': boolean;
|
|
2785
2791
|
}
|
|
2792
|
+
/**
|
|
2793
|
+
* Mapping des identifiants des sports disponibles (clé ou nom vers id)
|
|
2794
|
+
* @export
|
|
2795
|
+
* @interface ClubPageResponseSportsIdsLookup
|
|
2796
|
+
*/
|
|
2797
|
+
export interface ClubPageResponseSportsIdsLookup {
|
|
2798
|
+
/**
|
|
2799
|
+
* Construct a type with a set of properties K of type T
|
|
2800
|
+
* @type {{ [key: string]: string; }}
|
|
2801
|
+
* @memberof ClubPageResponseSportsIdsLookup
|
|
2802
|
+
*/
|
|
2803
|
+
'byName': { [key: string]: string; };
|
|
2804
|
+
/**
|
|
2805
|
+
* Construct a type with a set of properties K of type T
|
|
2806
|
+
* @type {{ [key: string]: string; }}
|
|
2807
|
+
* @memberof ClubPageResponseSportsIdsLookup
|
|
2808
|
+
*/
|
|
2809
|
+
'byKey': { [key: string]: string; };
|
|
2810
|
+
}
|
|
2786
2811
|
/**
|
|
2787
2812
|
*
|
|
2788
2813
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -2624,6 +2624,12 @@ export interface ClubPageResponse {
|
|
|
2624
2624
|
* @memberof ClubPageResponse
|
|
2625
2625
|
*/
|
|
2626
2626
|
'sports'?: Array<string>;
|
|
2627
|
+
/**
|
|
2628
|
+
*
|
|
2629
|
+
* @type {ClubPageResponseSportsIdsLookup}
|
|
2630
|
+
* @memberof ClubPageResponse
|
|
2631
|
+
*/
|
|
2632
|
+
'sportsIdsLookup'?: ClubPageResponseSportsIdsLookup;
|
|
2627
2633
|
/**
|
|
2628
2634
|
* Nombre total de terrains du club
|
|
2629
2635
|
* @type {number}
|
|
@@ -2742,6 +2748,29 @@ export interface ClubPageResponseClubCustomerStatus {
|
|
|
2742
2748
|
*/
|
|
2743
2749
|
'isBanned': boolean;
|
|
2744
2750
|
}
|
|
2751
|
+
/**
|
|
2752
|
+
* Mapping des identifiants des sports disponibles (clé ou nom vers id)
|
|
2753
|
+
* @export
|
|
2754
|
+
* @interface ClubPageResponseSportsIdsLookup
|
|
2755
|
+
*/
|
|
2756
|
+
export interface ClubPageResponseSportsIdsLookup {
|
|
2757
|
+
/**
|
|
2758
|
+
* Construct a type with a set of properties K of type T
|
|
2759
|
+
* @type {{ [key: string]: string; }}
|
|
2760
|
+
* @memberof ClubPageResponseSportsIdsLookup
|
|
2761
|
+
*/
|
|
2762
|
+
'byName': {
|
|
2763
|
+
[key: string]: string;
|
|
2764
|
+
};
|
|
2765
|
+
/**
|
|
2766
|
+
* Construct a type with a set of properties K of type T
|
|
2767
|
+
* @type {{ [key: string]: string; }}
|
|
2768
|
+
* @memberof ClubPageResponseSportsIdsLookup
|
|
2769
|
+
*/
|
|
2770
|
+
'byKey': {
|
|
2771
|
+
[key: string]: string;
|
|
2772
|
+
};
|
|
2773
|
+
}
|
|
2745
2774
|
/**
|
|
2746
2775
|
*
|
|
2747
2776
|
* @export
|
package/docs/ClubPageResponse.md
CHANGED
|
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
19
19
|
**clubCustomerStatus** | [**ClubPageResponseClubCustomerStatus**](ClubPageResponseClubCustomerStatus.md) | | [optional] [default to undefined]
|
|
20
20
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
21
|
+
**sportsIdsLookup** | [**ClubPageResponseSportsIdsLookup**](ClubPageResponseSportsIdsLookup.md) | | [optional] [default to undefined]
|
|
21
22
|
**courtsCount** | **number** | Nombre total de terrains du club | [optional] [default to undefined]
|
|
22
23
|
**courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
23
24
|
**surfacesBySport** | **{ [key: string]: Array<SurfaceType>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
@@ -51,6 +52,7 @@ const instance: ClubPageResponse = {
|
|
|
51
52
|
isNoShowEnabled,
|
|
52
53
|
clubCustomerStatus,
|
|
53
54
|
sports,
|
|
55
|
+
sportsIdsLookup,
|
|
54
56
|
courtsCount,
|
|
55
57
|
courtsCountBySport,
|
|
56
58
|
surfacesBySport,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# ClubPageResponseSportsIdsLookup
|
|
2
|
+
|
|
3
|
+
Mapping des identifiants des sports disponibles (clé ou nom vers id)
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**byName** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [default to undefined]
|
|
10
|
+
**byKey** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ClubPageResponseSportsIdsLookup } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: ClubPageResponseSportsIdsLookup = {
|
|
18
|
+
byName,
|
|
19
|
+
byKey,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|