@tennac-booking/sdk 1.0.105 → 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/.openapi-generator/FILES +5 -1
- package/README.md +6 -1
- package/api.ts +331 -116
- package/dist/api.d.ts +295 -117
- package/dist/api.js +62 -0
- package/dist/esm/api.d.ts +295 -117
- package/dist/esm/api.js +62 -0
- package/docs/ClubEvent.md +32 -0
- package/docs/{PartialClubResponse.md → ClubPageResponse.md} +16 -27
- package/docs/ClubPresentation.md +26 -0
- package/docs/ClubResponse.md +0 -6
- package/docs/ClubsApi.md +56 -2
- package/docs/PartialClubActiveResponse.md +39 -0
- package/docs/PartialClubActiveResponseLocation.md +28 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -56,11 +56,13 @@ docs/ClientSubscriptionResponse.md
|
|
|
56
56
|
docs/ClubAnalyticsApi.md
|
|
57
57
|
docs/ClubAnalyticsStaffApi.md
|
|
58
58
|
docs/ClubDaySchedule.md
|
|
59
|
+
docs/ClubEvent.md
|
|
59
60
|
docs/ClubGeneralSettingsResponse.md
|
|
60
61
|
docs/ClubHoursSettingsResponse.md
|
|
61
62
|
docs/ClubLocationSettings.md
|
|
62
63
|
docs/ClubMemberResponse.md
|
|
63
64
|
docs/ClubMemberResponseUser.md
|
|
65
|
+
docs/ClubPageResponse.md
|
|
64
66
|
docs/ClubPlayerBookingItem.md
|
|
65
67
|
docs/ClubPlayerBookingsPagination.md
|
|
66
68
|
docs/ClubPlayerBookingsResponse.md
|
|
@@ -73,6 +75,7 @@ docs/ClubPlayerStatisticsResponseFavoriteClub.md
|
|
|
73
75
|
docs/ClubPlayerStatisticsResponseMostPlayedClub.md
|
|
74
76
|
docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md
|
|
75
77
|
docs/ClubPlayerSubscriptionSummary.md
|
|
78
|
+
docs/ClubPresentation.md
|
|
76
79
|
docs/ClubPresentationSettingsResponse.md
|
|
77
80
|
docs/ClubPricingPeriodResponse.md
|
|
78
81
|
docs/ClubReservationSettingsResponse.md
|
|
@@ -165,7 +168,8 @@ docs/MonthlyTurnoverResponse.md
|
|
|
165
168
|
docs/MyClubInfosResponse.md
|
|
166
169
|
docs/NoShowFeeResponse.md
|
|
167
170
|
docs/OffPeakRule.md
|
|
168
|
-
docs/
|
|
171
|
+
docs/PartialClubActiveResponse.md
|
|
172
|
+
docs/PartialClubActiveResponseLocation.md
|
|
169
173
|
docs/PartialClubWeeklySchedule.md
|
|
170
174
|
docs/PasswordResetRequestBody.md
|
|
171
175
|
docs/PaymentByPlayerInfo.md
|
package/README.md
CHANGED
|
@@ -112,6 +112,7 @@ Class | Method | HTTP request | Description
|
|
|
112
112
|
*ClubsApi* | [**getAvailableSlotsBySports**](docs/ClubsApi.md#getavailableslotsbysports) | **GET** /api/clubs/{id}/sports/{sportId}/slots |
|
|
113
113
|
*ClubsApi* | [**getAvailableSlotsBySportsAndDay**](docs/ClubsApi.md#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} |
|
|
114
114
|
*ClubsApi* | [**getClubInfo**](docs/ClubsApi.md#getclubinfo) | **GET** /api/clubs/info |
|
|
115
|
+
*ClubsApi* | [**getClubPageInfo**](docs/ClubsApi.md#getclubpageinfo) | **GET** /api/clubs/club-page/{clubId} |
|
|
115
116
|
*ClubsApi* | [**getClubUsersById**](docs/ClubsApi.md#getclubusersbyid) | **GET** /api/clubs/{id}/users |
|
|
116
117
|
*ClubsApi* | [**getClubsWithVerificationDomains**](docs/ClubsApi.md#getclubswithverificationdomains) | **GET** /api/clubs/verification-domains |
|
|
117
118
|
*ClubsApi* | [**getCourtsByClubAndSportById**](docs/ClubsApi.md#getcourtsbyclubandsportbyid) | **GET** /api/clubs/{id}/sports/{sportId}/courts |
|
|
@@ -253,11 +254,13 @@ Class | Method | HTTP request | Description
|
|
|
253
254
|
- [ClientRegisterResponse](docs/ClientRegisterResponse.md)
|
|
254
255
|
- [ClientSubscriptionResponse](docs/ClientSubscriptionResponse.md)
|
|
255
256
|
- [ClubDaySchedule](docs/ClubDaySchedule.md)
|
|
257
|
+
- [ClubEvent](docs/ClubEvent.md)
|
|
256
258
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
|
257
259
|
- [ClubHoursSettingsResponse](docs/ClubHoursSettingsResponse.md)
|
|
258
260
|
- [ClubLocationSettings](docs/ClubLocationSettings.md)
|
|
259
261
|
- [ClubMemberResponse](docs/ClubMemberResponse.md)
|
|
260
262
|
- [ClubMemberResponseUser](docs/ClubMemberResponseUser.md)
|
|
263
|
+
- [ClubPageResponse](docs/ClubPageResponse.md)
|
|
261
264
|
- [ClubPlayerBookingItem](docs/ClubPlayerBookingItem.md)
|
|
262
265
|
- [ClubPlayerBookingsPagination](docs/ClubPlayerBookingsPagination.md)
|
|
263
266
|
- [ClubPlayerBookingsResponse](docs/ClubPlayerBookingsResponse.md)
|
|
@@ -270,6 +273,7 @@ Class | Method | HTTP request | Description
|
|
|
270
273
|
- [ClubPlayerStatisticsResponseMostPlayedClub](docs/ClubPlayerStatisticsResponseMostPlayedClub.md)
|
|
271
274
|
- [ClubPlayerStatisticsResponseMostPlayedPartnersInner](docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md)
|
|
272
275
|
- [ClubPlayerSubscriptionSummary](docs/ClubPlayerSubscriptionSummary.md)
|
|
276
|
+
- [ClubPresentation](docs/ClubPresentation.md)
|
|
273
277
|
- [ClubPresentationSettingsResponse](docs/ClubPresentationSettingsResponse.md)
|
|
274
278
|
- [ClubPricingPeriodResponse](docs/ClubPricingPeriodResponse.md)
|
|
275
279
|
- [ClubReservationSettingsResponse](docs/ClubReservationSettingsResponse.md)
|
|
@@ -351,7 +355,8 @@ Class | Method | HTTP request | Description
|
|
|
351
355
|
- [MyClubInfosResponse](docs/MyClubInfosResponse.md)
|
|
352
356
|
- [NoShowFeeResponse](docs/NoShowFeeResponse.md)
|
|
353
357
|
- [OffPeakRule](docs/OffPeakRule.md)
|
|
354
|
-
- [
|
|
358
|
+
- [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
|
|
359
|
+
- [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
|
|
355
360
|
- [PartialClubWeeklySchedule](docs/PartialClubWeeklySchedule.md)
|
|
356
361
|
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
357
362
|
- [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
|
package/api.ts
CHANGED
|
@@ -1790,6 +1790,55 @@ export interface ClubDaySchedule {
|
|
|
1790
1790
|
*/
|
|
1791
1791
|
'close': string;
|
|
1792
1792
|
}
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @export
|
|
1796
|
+
* @interface ClubEvent
|
|
1797
|
+
*/
|
|
1798
|
+
export interface ClubEvent {
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @type {string}
|
|
1802
|
+
* @memberof ClubEvent
|
|
1803
|
+
*/
|
|
1804
|
+
'imageSrc'?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
*
|
|
1807
|
+
* @type {string}
|
|
1808
|
+
* @memberof ClubEvent
|
|
1809
|
+
*/
|
|
1810
|
+
'sport'?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
*
|
|
1813
|
+
* @type {string}
|
|
1814
|
+
* @memberof ClubEvent
|
|
1815
|
+
*/
|
|
1816
|
+
'description'?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @type {string}
|
|
1820
|
+
* @memberof ClubEvent
|
|
1821
|
+
*/
|
|
1822
|
+
'endDate': string;
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof ClubEvent
|
|
1827
|
+
*/
|
|
1828
|
+
'startDate': string;
|
|
1829
|
+
/**
|
|
1830
|
+
*
|
|
1831
|
+
* @type {string}
|
|
1832
|
+
* @memberof ClubEvent
|
|
1833
|
+
*/
|
|
1834
|
+
'name': string;
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @type {string}
|
|
1838
|
+
* @memberof ClubEvent
|
|
1839
|
+
*/
|
|
1840
|
+
'id': string;
|
|
1841
|
+
}
|
|
1793
1842
|
/**
|
|
1794
1843
|
*
|
|
1795
1844
|
* @export
|
|
@@ -1945,6 +1994,127 @@ export interface ClubMemberResponseUser {
|
|
|
1945
1994
|
*/
|
|
1946
1995
|
'id': string;
|
|
1947
1996
|
}
|
|
1997
|
+
/**
|
|
1998
|
+
*
|
|
1999
|
+
* @export
|
|
2000
|
+
* @interface ClubPageResponse
|
|
2001
|
+
*/
|
|
2002
|
+
export interface ClubPageResponse {
|
|
2003
|
+
/**
|
|
2004
|
+
* ID unique du club
|
|
2005
|
+
* @type {string}
|
|
2006
|
+
* @memberof ClubPageResponse
|
|
2007
|
+
*/
|
|
2008
|
+
'id': string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Nom du club
|
|
2011
|
+
* @type {string}
|
|
2012
|
+
* @memberof ClubPageResponse
|
|
2013
|
+
*/
|
|
2014
|
+
'name': string;
|
|
2015
|
+
/**
|
|
2016
|
+
* URL du site web du club
|
|
2017
|
+
* @type {string}
|
|
2018
|
+
* @memberof ClubPageResponse
|
|
2019
|
+
*/
|
|
2020
|
+
'websiteUrl'?: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* Description du club
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof ClubPageResponse
|
|
2025
|
+
*/
|
|
2026
|
+
'description'?: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* Email du club
|
|
2029
|
+
* @type {string}
|
|
2030
|
+
* @memberof ClubPageResponse
|
|
2031
|
+
*/
|
|
2032
|
+
'email'?: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* Téléphone du club
|
|
2035
|
+
* @type {string}
|
|
2036
|
+
* @memberof ClubPageResponse
|
|
2037
|
+
*/
|
|
2038
|
+
'phone'?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* URL de l\'image du club
|
|
2041
|
+
* @type {string}
|
|
2042
|
+
* @memberof ClubPageResponse
|
|
2043
|
+
*/
|
|
2044
|
+
'picture'?: string;
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
* @type {ClubResponseLocation}
|
|
2048
|
+
* @memberof ClubPageResponse
|
|
2049
|
+
*/
|
|
2050
|
+
'location'?: ClubResponseLocation;
|
|
2051
|
+
/**
|
|
2052
|
+
* Statut d\'activation du club
|
|
2053
|
+
* @type {boolean}
|
|
2054
|
+
* @memberof ClubPageResponse
|
|
2055
|
+
*/
|
|
2056
|
+
'isActive': boolean;
|
|
2057
|
+
/**
|
|
2058
|
+
* Indique si le club utilise la fonctionnalité de paiement
|
|
2059
|
+
* @type {boolean}
|
|
2060
|
+
* @memberof ClubPageResponse
|
|
2061
|
+
*/
|
|
2062
|
+
'paymentFeature'?: boolean;
|
|
2063
|
+
/**
|
|
2064
|
+
* Indique si la fonctionnalité \"no show\" est activée
|
|
2065
|
+
* @type {boolean}
|
|
2066
|
+
* @memberof ClubPageResponse
|
|
2067
|
+
*/
|
|
2068
|
+
'isNoShowEnabled'?: boolean;
|
|
2069
|
+
/**
|
|
2070
|
+
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
2071
|
+
* @type {Array<string>}
|
|
2072
|
+
* @memberof ClubPageResponse
|
|
2073
|
+
*/
|
|
2074
|
+
'sports'?: Array<string>;
|
|
2075
|
+
/**
|
|
2076
|
+
*
|
|
2077
|
+
* @type {ClubPresentation}
|
|
2078
|
+
* @memberof ClubPageResponse
|
|
2079
|
+
*/
|
|
2080
|
+
'clubPresentation': ClubPresentation;
|
|
2081
|
+
/**
|
|
2082
|
+
*
|
|
2083
|
+
* @type {Array<ClubEvent>}
|
|
2084
|
+
* @memberof ClubPageResponse
|
|
2085
|
+
*/
|
|
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;
|
|
2105
|
+
/**
|
|
2106
|
+
*
|
|
2107
|
+
* @type {ClubResponseCreatedAt}
|
|
2108
|
+
* @memberof ClubPageResponse
|
|
2109
|
+
*/
|
|
2110
|
+
'createdAt'?: ClubResponseCreatedAt;
|
|
2111
|
+
/**
|
|
2112
|
+
*
|
|
2113
|
+
* @type {ClubResponseUpdatedAt}
|
|
2114
|
+
* @memberof ClubPageResponse
|
|
2115
|
+
*/
|
|
2116
|
+
'updatedAt'?: ClubResponseUpdatedAt;
|
|
2117
|
+
}
|
|
1948
2118
|
/**
|
|
1949
2119
|
*
|
|
1950
2120
|
* @export
|
|
@@ -2449,6 +2619,37 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2449
2619
|
*/
|
|
2450
2620
|
'interval': string | null;
|
|
2451
2621
|
}
|
|
2622
|
+
/**
|
|
2623
|
+
*
|
|
2624
|
+
* @export
|
|
2625
|
+
* @interface ClubPresentation
|
|
2626
|
+
*/
|
|
2627
|
+
export interface ClubPresentation {
|
|
2628
|
+
/**
|
|
2629
|
+
*
|
|
2630
|
+
* @type {Array<string>}
|
|
2631
|
+
* @memberof ClubPresentation
|
|
2632
|
+
*/
|
|
2633
|
+
'bannerPictures'?: Array<string>;
|
|
2634
|
+
/**
|
|
2635
|
+
*
|
|
2636
|
+
* @type {Array<string>}
|
|
2637
|
+
* @memberof ClubPresentation
|
|
2638
|
+
*/
|
|
2639
|
+
'galleryPictures'?: Array<string>;
|
|
2640
|
+
/**
|
|
2641
|
+
*
|
|
2642
|
+
* @type {Array<string>}
|
|
2643
|
+
* @memberof ClubPresentation
|
|
2644
|
+
*/
|
|
2645
|
+
'tags'?: Array<string>;
|
|
2646
|
+
/**
|
|
2647
|
+
*
|
|
2648
|
+
* @type {string}
|
|
2649
|
+
* @memberof ClubPresentation
|
|
2650
|
+
*/
|
|
2651
|
+
'description'?: string;
|
|
2652
|
+
}
|
|
2452
2653
|
/**
|
|
2453
2654
|
*
|
|
2454
2655
|
* @export
|
|
@@ -2602,24 +2803,6 @@ export interface ClubResponse {
|
|
|
2602
2803
|
* @memberof ClubResponse
|
|
2603
2804
|
*/
|
|
2604
2805
|
'picture'?: string;
|
|
2605
|
-
/**
|
|
2606
|
-
*
|
|
2607
|
-
* @type {Array<string>}
|
|
2608
|
-
* @memberof ClubResponse
|
|
2609
|
-
*/
|
|
2610
|
-
'bannerPictures'?: Array<string>;
|
|
2611
|
-
/**
|
|
2612
|
-
*
|
|
2613
|
-
* @type {Array<string>}
|
|
2614
|
-
* @memberof ClubResponse
|
|
2615
|
-
*/
|
|
2616
|
-
'galleryPictures'?: Array<string>;
|
|
2617
|
-
/**
|
|
2618
|
-
*
|
|
2619
|
-
* @type {Array<string>}
|
|
2620
|
-
* @memberof ClubResponse
|
|
2621
|
-
*/
|
|
2622
|
-
'tags'?: Array<string>;
|
|
2623
2806
|
/**
|
|
2624
2807
|
*
|
|
2625
2808
|
* @type {ClubResponseLocation}
|
|
@@ -5223,153 +5406,106 @@ export interface OffPeakRule {
|
|
|
5223
5406
|
/**
|
|
5224
5407
|
* Make all properties in T optional
|
|
5225
5408
|
* @export
|
|
5226
|
-
* @interface
|
|
5409
|
+
* @interface PartialClubActiveResponse
|
|
5227
5410
|
*/
|
|
5228
|
-
export interface
|
|
5411
|
+
export interface PartialClubActiveResponse {
|
|
5229
5412
|
/**
|
|
5230
|
-
*
|
|
5413
|
+
*
|
|
5231
5414
|
* @type {string}
|
|
5232
|
-
* @memberof
|
|
5415
|
+
* @memberof PartialClubActiveResponse
|
|
5233
5416
|
*/
|
|
5234
5417
|
'id'?: string;
|
|
5235
5418
|
/**
|
|
5236
|
-
*
|
|
5419
|
+
*
|
|
5237
5420
|
* @type {string}
|
|
5238
|
-
* @memberof
|
|
5421
|
+
* @memberof PartialClubActiveResponse
|
|
5239
5422
|
*/
|
|
5240
5423
|
'name'?: string;
|
|
5241
5424
|
/**
|
|
5242
|
-
*
|
|
5243
|
-
* @type {string}
|
|
5244
|
-
* @memberof PartialClubResponse
|
|
5245
|
-
*/
|
|
5246
|
-
'websiteUrl'?: string;
|
|
5247
|
-
/**
|
|
5248
|
-
* Description du club
|
|
5249
|
-
* @type {string}
|
|
5250
|
-
* @memberof PartialClubResponse
|
|
5251
|
-
*/
|
|
5252
|
-
'description'?: string;
|
|
5253
|
-
/**
|
|
5254
|
-
* Email du club
|
|
5425
|
+
*
|
|
5255
5426
|
* @type {string}
|
|
5256
|
-
* @memberof
|
|
5427
|
+
* @memberof PartialClubActiveResponse
|
|
5257
5428
|
*/
|
|
5258
|
-
'
|
|
5429
|
+
'picture'?: string;
|
|
5259
5430
|
/**
|
|
5260
|
-
*
|
|
5261
|
-
* @type {
|
|
5262
|
-
* @memberof
|
|
5431
|
+
*
|
|
5432
|
+
* @type {boolean}
|
|
5433
|
+
* @memberof PartialClubActiveResponse
|
|
5263
5434
|
*/
|
|
5264
|
-
'
|
|
5435
|
+
'paymentFeature'?: boolean;
|
|
5265
5436
|
/**
|
|
5266
|
-
*
|
|
5267
|
-
* @type {
|
|
5268
|
-
* @memberof
|
|
5437
|
+
*
|
|
5438
|
+
* @type {boolean}
|
|
5439
|
+
* @memberof PartialClubActiveResponse
|
|
5269
5440
|
*/
|
|
5270
|
-
'
|
|
5441
|
+
'isNoShowEnabled'?: boolean;
|
|
5271
5442
|
/**
|
|
5272
5443
|
*
|
|
5273
5444
|
* @type {Array<string>}
|
|
5274
|
-
* @memberof
|
|
5445
|
+
* @memberof PartialClubActiveResponse
|
|
5275
5446
|
*/
|
|
5276
5447
|
'bannerPictures'?: Array<string>;
|
|
5277
5448
|
/**
|
|
5278
5449
|
*
|
|
5279
5450
|
* @type {Array<string>}
|
|
5280
|
-
* @memberof
|
|
5451
|
+
* @memberof PartialClubActiveResponse
|
|
5281
5452
|
*/
|
|
5282
5453
|
'galleryPictures'?: Array<string>;
|
|
5283
5454
|
/**
|
|
5284
5455
|
*
|
|
5285
5456
|
* @type {Array<string>}
|
|
5286
|
-
* @memberof
|
|
5457
|
+
* @memberof PartialClubActiveResponse
|
|
5287
5458
|
*/
|
|
5288
5459
|
'tags'?: Array<string>;
|
|
5289
5460
|
/**
|
|
5290
5461
|
*
|
|
5291
|
-
* @type {
|
|
5292
|
-
* @memberof
|
|
5293
|
-
*/
|
|
5294
|
-
'location'?: ClubResponseLocation;
|
|
5295
|
-
/**
|
|
5296
|
-
* Statut d\'activation du club
|
|
5297
|
-
* @type {boolean}
|
|
5298
|
-
* @memberof PartialClubResponse
|
|
5462
|
+
* @type {PartialClubActiveResponseLocation}
|
|
5463
|
+
* @memberof PartialClubActiveResponse
|
|
5299
5464
|
*/
|
|
5300
|
-
'
|
|
5465
|
+
'location'?: PartialClubActiveResponseLocation;
|
|
5301
5466
|
/**
|
|
5302
|
-
*
|
|
5303
|
-
* @type {boolean}
|
|
5304
|
-
* @memberof PartialClubResponse
|
|
5305
|
-
*/
|
|
5306
|
-
'paymentFeature'?: boolean;
|
|
5307
|
-
/**
|
|
5308
|
-
* ID du compte Stripe du club
|
|
5309
|
-
* @type {string}
|
|
5310
|
-
* @memberof PartialClubResponse
|
|
5311
|
-
*/
|
|
5312
|
-
'stripeAccountId'?: string;
|
|
5313
|
-
/**
|
|
5314
|
-
* URL du dashboard Stripe du club
|
|
5315
|
-
* @type {string}
|
|
5316
|
-
* @memberof PartialClubResponse
|
|
5317
|
-
*/
|
|
5318
|
-
'clubDashBoardUrl'?: string;
|
|
5319
|
-
/**
|
|
5320
|
-
* Indique si la fonctionnalité \"no show\" est activée
|
|
5321
|
-
* @type {boolean}
|
|
5322
|
-
* @memberof PartialClubResponse
|
|
5323
|
-
*/
|
|
5324
|
-
'isNoShowEnabled'?: boolean;
|
|
5325
|
-
/**
|
|
5326
|
-
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
5467
|
+
* Liste des sports disponibles (clé du sport)
|
|
5327
5468
|
* @type {Array<string>}
|
|
5328
|
-
* @memberof
|
|
5469
|
+
* @memberof PartialClubActiveResponse
|
|
5329
5470
|
*/
|
|
5330
5471
|
'sports'?: Array<string>;
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
* Limite de réservations simultanées (même créneau)
|
|
5339
|
-
* @type {number}
|
|
5340
|
-
* @memberof PartialClubResponse
|
|
5341
|
-
*/
|
|
5342
|
-
'sameTimeBookingsLimit'?: number;
|
|
5472
|
+
}
|
|
5473
|
+
/**
|
|
5474
|
+
*
|
|
5475
|
+
* @export
|
|
5476
|
+
* @interface PartialClubActiveResponseLocation
|
|
5477
|
+
*/
|
|
5478
|
+
export interface PartialClubActiveResponseLocation {
|
|
5343
5479
|
/**
|
|
5344
5480
|
*
|
|
5345
|
-
* @type {
|
|
5346
|
-
* @memberof
|
|
5481
|
+
* @type {ClubResponseLocationCoordinates}
|
|
5482
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5347
5483
|
*/
|
|
5348
|
-
'
|
|
5484
|
+
'coordinates'?: ClubResponseLocationCoordinates;
|
|
5349
5485
|
/**
|
|
5350
|
-
*
|
|
5351
|
-
* @type {
|
|
5352
|
-
* @memberof
|
|
5486
|
+
*
|
|
5487
|
+
* @type {string}
|
|
5488
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5353
5489
|
*/
|
|
5354
|
-
'
|
|
5490
|
+
'country'?: string;
|
|
5355
5491
|
/**
|
|
5356
|
-
*
|
|
5357
|
-
* @type {
|
|
5358
|
-
* @memberof
|
|
5492
|
+
*
|
|
5493
|
+
* @type {string}
|
|
5494
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5359
5495
|
*/
|
|
5360
|
-
'
|
|
5496
|
+
'zipCode'?: string;
|
|
5361
5497
|
/**
|
|
5362
5498
|
*
|
|
5363
|
-
* @type {
|
|
5364
|
-
* @memberof
|
|
5499
|
+
* @type {string}
|
|
5500
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5365
5501
|
*/
|
|
5366
|
-
'
|
|
5502
|
+
'city'?: string;
|
|
5367
5503
|
/**
|
|
5368
5504
|
*
|
|
5369
|
-
* @type {
|
|
5370
|
-
* @memberof
|
|
5505
|
+
* @type {string}
|
|
5506
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5371
5507
|
*/
|
|
5372
|
-
'
|
|
5508
|
+
'address'?: string;
|
|
5373
5509
|
}
|
|
5374
5510
|
/**
|
|
5375
5511
|
* Make all properties in T optional
|
|
@@ -14745,6 +14881,39 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14745
14881
|
|
|
14746
14882
|
|
|
14747
14883
|
|
|
14884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14886
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14887
|
+
|
|
14888
|
+
return {
|
|
14889
|
+
url: toPathString(localVarUrlObj),
|
|
14890
|
+
options: localVarRequestOptions,
|
|
14891
|
+
};
|
|
14892
|
+
},
|
|
14893
|
+
/**
|
|
14894
|
+
*
|
|
14895
|
+
* @param {string} clubId
|
|
14896
|
+
* @param {*} [options] Override http request option.
|
|
14897
|
+
* @throws {RequiredError}
|
|
14898
|
+
*/
|
|
14899
|
+
getClubPageInfo: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14900
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
14901
|
+
assertParamExists('getClubPageInfo', 'clubId', clubId)
|
|
14902
|
+
const localVarPath = `/api/clubs/club-page/{clubId}`
|
|
14903
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
14904
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14905
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14906
|
+
let baseOptions;
|
|
14907
|
+
if (configuration) {
|
|
14908
|
+
baseOptions = configuration.baseOptions;
|
|
14909
|
+
}
|
|
14910
|
+
|
|
14911
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14912
|
+
const localVarHeaderParameter = {} as any;
|
|
14913
|
+
const localVarQueryParameter = {} as any;
|
|
14914
|
+
|
|
14915
|
+
|
|
14916
|
+
|
|
14748
14917
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14749
14918
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14750
14919
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14967,7 +15136,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
14967
15136
|
* @param {*} [options] Override http request option.
|
|
14968
15137
|
* @throws {RequiredError}
|
|
14969
15138
|
*/
|
|
14970
|
-
async getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
15139
|
+
async getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartialClubActiveResponse>>> {
|
|
14971
15140
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActiveClubs(options);
|
|
14972
15141
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14973
15142
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getActiveClubs']?.[localVarOperationServerIndex]?.url;
|
|
@@ -15034,6 +15203,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
15034
15203
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubInfo']?.[localVarOperationServerIndex]?.url;
|
|
15035
15204
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15036
15205
|
},
|
|
15206
|
+
/**
|
|
15207
|
+
*
|
|
15208
|
+
* @param {string} clubId
|
|
15209
|
+
* @param {*} [options] Override http request option.
|
|
15210
|
+
* @throws {RequiredError}
|
|
15211
|
+
*/
|
|
15212
|
+
async getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>> {
|
|
15213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPageInfo(clubId, options);
|
|
15214
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15215
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubPageInfo']?.[localVarOperationServerIndex]?.url;
|
|
15216
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15217
|
+
},
|
|
15037
15218
|
/**
|
|
15038
15219
|
*
|
|
15039
15220
|
* @param {string} id
|
|
@@ -15121,7 +15302,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15121
15302
|
* @param {*} [options] Override http request option.
|
|
15122
15303
|
* @throws {RequiredError}
|
|
15123
15304
|
*/
|
|
15124
|
-
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
15305
|
+
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartialClubActiveResponse>> {
|
|
15125
15306
|
return localVarFp.getActiveClubs(options).then((request) => request(axios, basePath));
|
|
15126
15307
|
},
|
|
15127
15308
|
/**
|
|
@@ -15167,6 +15348,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15167
15348
|
getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse> {
|
|
15168
15349
|
return localVarFp.getClubInfo(options).then((request) => request(axios, basePath));
|
|
15169
15350
|
},
|
|
15351
|
+
/**
|
|
15352
|
+
*
|
|
15353
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
15354
|
+
* @param {*} [options] Override http request option.
|
|
15355
|
+
* @throws {RequiredError}
|
|
15356
|
+
*/
|
|
15357
|
+
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse> {
|
|
15358
|
+
return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
15359
|
+
},
|
|
15170
15360
|
/**
|
|
15171
15361
|
*
|
|
15172
15362
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -15286,6 +15476,20 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
15286
15476
|
readonly day: string
|
|
15287
15477
|
}
|
|
15288
15478
|
|
|
15479
|
+
/**
|
|
15480
|
+
* Request parameters for getClubPageInfo operation in ClubsApi.
|
|
15481
|
+
* @export
|
|
15482
|
+
* @interface ClubsApiGetClubPageInfoRequest
|
|
15483
|
+
*/
|
|
15484
|
+
export interface ClubsApiGetClubPageInfoRequest {
|
|
15485
|
+
/**
|
|
15486
|
+
*
|
|
15487
|
+
* @type {string}
|
|
15488
|
+
* @memberof ClubsApiGetClubPageInfo
|
|
15489
|
+
*/
|
|
15490
|
+
readonly clubId: string
|
|
15491
|
+
}
|
|
15492
|
+
|
|
15289
15493
|
/**
|
|
15290
15494
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
15291
15495
|
* @export
|
|
@@ -15433,6 +15637,17 @@ export class ClubsApi extends BaseAPI {
|
|
|
15433
15637
|
return ClubsApiFp(this.configuration).getClubInfo(options).then((request) => request(this.axios, this.basePath));
|
|
15434
15638
|
}
|
|
15435
15639
|
|
|
15640
|
+
/**
|
|
15641
|
+
*
|
|
15642
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
15643
|
+
* @param {*} [options] Override http request option.
|
|
15644
|
+
* @throws {RequiredError}
|
|
15645
|
+
* @memberof ClubsApi
|
|
15646
|
+
*/
|
|
15647
|
+
public getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig) {
|
|
15648
|
+
return ClubsApiFp(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
15649
|
+
}
|
|
15650
|
+
|
|
15436
15651
|
/**
|
|
15437
15652
|
*
|
|
15438
15653
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|