@tennac-booking/sdk 1.0.106 → 1.0.107
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 +38 -2
- package/dist/api.d.ts +38 -2
- package/dist/esm/api.d.ts +38 -2
- package/docs/ClubEvent.md +8 -2
- package/docs/ClubPageResponse.md +8 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1796,6 +1796,12 @@ export interface ClubDaySchedule {
|
|
|
1796
1796
|
* @interface ClubEvent
|
|
1797
1797
|
*/
|
|
1798
1798
|
export interface ClubEvent {
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @type {string}
|
|
1802
|
+
* @memberof ClubEvent
|
|
1803
|
+
*/
|
|
1804
|
+
'imageSrc'?: string;
|
|
1799
1805
|
/**
|
|
1800
1806
|
*
|
|
1801
1807
|
* @type {string}
|
|
@@ -1813,13 +1819,25 @@ export interface ClubEvent {
|
|
|
1813
1819
|
* @type {string}
|
|
1814
1820
|
* @memberof ClubEvent
|
|
1815
1821
|
*/
|
|
1816
|
-
'
|
|
1822
|
+
'endDate': string;
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof ClubEvent
|
|
1827
|
+
*/
|
|
1828
|
+
'startDate': string;
|
|
1817
1829
|
/**
|
|
1818
1830
|
*
|
|
1819
1831
|
* @type {string}
|
|
1820
1832
|
* @memberof ClubEvent
|
|
1821
1833
|
*/
|
|
1822
1834
|
'name': string;
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @type {string}
|
|
1838
|
+
* @memberof ClubEvent
|
|
1839
|
+
*/
|
|
1840
|
+
'id': string;
|
|
1823
1841
|
}
|
|
1824
1842
|
/**
|
|
1825
1843
|
*
|
|
@@ -2065,7 +2083,25 @@ export interface ClubPageResponse {
|
|
|
2065
2083
|
* @type {Array<ClubEvent>}
|
|
2066
2084
|
* @memberof ClubPageResponse
|
|
2067
2085
|
*/
|
|
2068
|
-
'
|
|
2086
|
+
'comingEvents': Array<ClubEvent>;
|
|
2087
|
+
/**
|
|
2088
|
+
*
|
|
2089
|
+
* @type {Array<ClubEvent>}
|
|
2090
|
+
* @memberof ClubPageResponse
|
|
2091
|
+
*/
|
|
2092
|
+
'comingClosures': Array<ClubEvent>;
|
|
2093
|
+
/**
|
|
2094
|
+
*
|
|
2095
|
+
* @type {Array<ClubEvent>}
|
|
2096
|
+
* @memberof ClubPageResponse
|
|
2097
|
+
*/
|
|
2098
|
+
'lastNews': Array<ClubEvent>;
|
|
2099
|
+
/**
|
|
2100
|
+
*
|
|
2101
|
+
* @type {ClubHoursSettingsResponse}
|
|
2102
|
+
* @memberof ClubPageResponse
|
|
2103
|
+
*/
|
|
2104
|
+
'openingHours'?: ClubHoursSettingsResponse;
|
|
2069
2105
|
/**
|
|
2070
2106
|
*
|
|
2071
2107
|
* @type {ClubResponseCreatedAt}
|
package/dist/api.d.ts
CHANGED
|
@@ -1761,6 +1761,12 @@ export interface ClubDaySchedule {
|
|
|
1761
1761
|
* @interface ClubEvent
|
|
1762
1762
|
*/
|
|
1763
1763
|
export interface ClubEvent {
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @type {string}
|
|
1767
|
+
* @memberof ClubEvent
|
|
1768
|
+
*/
|
|
1769
|
+
'imageSrc'?: string;
|
|
1764
1770
|
/**
|
|
1765
1771
|
*
|
|
1766
1772
|
* @type {string}
|
|
@@ -1778,13 +1784,25 @@ export interface ClubEvent {
|
|
|
1778
1784
|
* @type {string}
|
|
1779
1785
|
* @memberof ClubEvent
|
|
1780
1786
|
*/
|
|
1781
|
-
'
|
|
1787
|
+
'endDate': string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof ClubEvent
|
|
1792
|
+
*/
|
|
1793
|
+
'startDate': string;
|
|
1782
1794
|
/**
|
|
1783
1795
|
*
|
|
1784
1796
|
* @type {string}
|
|
1785
1797
|
* @memberof ClubEvent
|
|
1786
1798
|
*/
|
|
1787
1799
|
'name': string;
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @type {string}
|
|
1803
|
+
* @memberof ClubEvent
|
|
1804
|
+
*/
|
|
1805
|
+
'id': string;
|
|
1788
1806
|
}
|
|
1789
1807
|
/**
|
|
1790
1808
|
*
|
|
@@ -2030,7 +2048,25 @@ export interface ClubPageResponse {
|
|
|
2030
2048
|
* @type {Array<ClubEvent>}
|
|
2031
2049
|
* @memberof ClubPageResponse
|
|
2032
2050
|
*/
|
|
2033
|
-
'
|
|
2051
|
+
'comingEvents': Array<ClubEvent>;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @type {Array<ClubEvent>}
|
|
2055
|
+
* @memberof ClubPageResponse
|
|
2056
|
+
*/
|
|
2057
|
+
'comingClosures': Array<ClubEvent>;
|
|
2058
|
+
/**
|
|
2059
|
+
*
|
|
2060
|
+
* @type {Array<ClubEvent>}
|
|
2061
|
+
* @memberof ClubPageResponse
|
|
2062
|
+
*/
|
|
2063
|
+
'lastNews': Array<ClubEvent>;
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @type {ClubHoursSettingsResponse}
|
|
2067
|
+
* @memberof ClubPageResponse
|
|
2068
|
+
*/
|
|
2069
|
+
'openingHours'?: ClubHoursSettingsResponse;
|
|
2034
2070
|
/**
|
|
2035
2071
|
*
|
|
2036
2072
|
* @type {ClubResponseCreatedAt}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1761,6 +1761,12 @@ export interface ClubDaySchedule {
|
|
|
1761
1761
|
* @interface ClubEvent
|
|
1762
1762
|
*/
|
|
1763
1763
|
export interface ClubEvent {
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @type {string}
|
|
1767
|
+
* @memberof ClubEvent
|
|
1768
|
+
*/
|
|
1769
|
+
'imageSrc'?: string;
|
|
1764
1770
|
/**
|
|
1765
1771
|
*
|
|
1766
1772
|
* @type {string}
|
|
@@ -1778,13 +1784,25 @@ export interface ClubEvent {
|
|
|
1778
1784
|
* @type {string}
|
|
1779
1785
|
* @memberof ClubEvent
|
|
1780
1786
|
*/
|
|
1781
|
-
'
|
|
1787
|
+
'endDate': string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof ClubEvent
|
|
1792
|
+
*/
|
|
1793
|
+
'startDate': string;
|
|
1782
1794
|
/**
|
|
1783
1795
|
*
|
|
1784
1796
|
* @type {string}
|
|
1785
1797
|
* @memberof ClubEvent
|
|
1786
1798
|
*/
|
|
1787
1799
|
'name': string;
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @type {string}
|
|
1803
|
+
* @memberof ClubEvent
|
|
1804
|
+
*/
|
|
1805
|
+
'id': string;
|
|
1788
1806
|
}
|
|
1789
1807
|
/**
|
|
1790
1808
|
*
|
|
@@ -2030,7 +2048,25 @@ export interface ClubPageResponse {
|
|
|
2030
2048
|
* @type {Array<ClubEvent>}
|
|
2031
2049
|
* @memberof ClubPageResponse
|
|
2032
2050
|
*/
|
|
2033
|
-
'
|
|
2051
|
+
'comingEvents': Array<ClubEvent>;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @type {Array<ClubEvent>}
|
|
2055
|
+
* @memberof ClubPageResponse
|
|
2056
|
+
*/
|
|
2057
|
+
'comingClosures': Array<ClubEvent>;
|
|
2058
|
+
/**
|
|
2059
|
+
*
|
|
2060
|
+
* @type {Array<ClubEvent>}
|
|
2061
|
+
* @memberof ClubPageResponse
|
|
2062
|
+
*/
|
|
2063
|
+
'lastNews': Array<ClubEvent>;
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @type {ClubHoursSettingsResponse}
|
|
2067
|
+
* @memberof ClubPageResponse
|
|
2068
|
+
*/
|
|
2069
|
+
'openingHours'?: ClubHoursSettingsResponse;
|
|
2034
2070
|
/**
|
|
2035
2071
|
*
|
|
2036
2072
|
* @type {ClubResponseCreatedAt}
|
package/docs/ClubEvent.md
CHANGED
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**imageSrc** | **string** | | [optional] [default to undefined]
|
|
8
9
|
**sport** | **string** | | [optional] [default to undefined]
|
|
9
10
|
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**
|
|
11
|
+
**endDate** | **string** | | [default to undefined]
|
|
12
|
+
**startDate** | **string** | | [default to undefined]
|
|
11
13
|
**name** | **string** | | [default to undefined]
|
|
14
|
+
**id** | **string** | | [default to undefined]
|
|
12
15
|
|
|
13
16
|
## Example
|
|
14
17
|
|
|
@@ -16,10 +19,13 @@ Name | Type | Description | Notes
|
|
|
16
19
|
import { ClubEvent } from '@tennac-booking/sdk';
|
|
17
20
|
|
|
18
21
|
const instance: ClubEvent = {
|
|
22
|
+
imageSrc,
|
|
19
23
|
sport,
|
|
20
24
|
description,
|
|
21
|
-
|
|
25
|
+
endDate,
|
|
26
|
+
startDate,
|
|
22
27
|
name,
|
|
28
|
+
id,
|
|
23
29
|
};
|
|
24
30
|
```
|
|
25
31
|
|
package/docs/ClubPageResponse.md
CHANGED
|
@@ -18,7 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
19
19
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
20
20
|
**clubPresentation** | [**ClubPresentation**](ClubPresentation.md) | | [default to undefined]
|
|
21
|
-
**
|
|
21
|
+
**comingEvents** | [**Array<ClubEvent>**](ClubEvent.md) | | [default to undefined]
|
|
22
|
+
**comingClosures** | [**Array<ClubEvent>**](ClubEvent.md) | | [default to undefined]
|
|
23
|
+
**lastNews** | [**Array<ClubEvent>**](ClubEvent.md) | | [default to undefined]
|
|
24
|
+
**openingHours** | [**ClubHoursSettingsResponse**](ClubHoursSettingsResponse.md) | | [optional] [default to undefined]
|
|
22
25
|
**createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
|
|
23
26
|
**updatedAt** | [**ClubResponseUpdatedAt**](ClubResponseUpdatedAt.md) | | [optional] [default to undefined]
|
|
24
27
|
|
|
@@ -41,7 +44,10 @@ const instance: ClubPageResponse = {
|
|
|
41
44
|
isNoShowEnabled,
|
|
42
45
|
sports,
|
|
43
46
|
clubPresentation,
|
|
44
|
-
|
|
47
|
+
comingEvents,
|
|
48
|
+
comingClosures,
|
|
49
|
+
lastNews,
|
|
50
|
+
openingHours,
|
|
45
51
|
createdAt,
|
|
46
52
|
updatedAt,
|
|
47
53
|
};
|