@tennac-booking/sdk 1.0.105 → 1.0.106
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 +295 -116
- package/dist/api.d.ts +259 -117
- package/dist/api.js +62 -0
- package/dist/esm/api.d.ts +259 -117
- package/dist/esm/api.js +62 -0
- package/docs/ClubEvent.md +26 -0
- package/docs/{PartialClubResponse.md → ClubPageResponse.md} +10 -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,37 @@ 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
|
+
'sport'?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
*
|
|
1807
|
+
* @type {string}
|
|
1808
|
+
* @memberof ClubEvent
|
|
1809
|
+
*/
|
|
1810
|
+
'description'?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
*
|
|
1813
|
+
* @type {string}
|
|
1814
|
+
* @memberof ClubEvent
|
|
1815
|
+
*/
|
|
1816
|
+
'date': string;
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @type {string}
|
|
1820
|
+
* @memberof ClubEvent
|
|
1821
|
+
*/
|
|
1822
|
+
'name': string;
|
|
1823
|
+
}
|
|
1793
1824
|
/**
|
|
1794
1825
|
*
|
|
1795
1826
|
* @export
|
|
@@ -1945,6 +1976,109 @@ export interface ClubMemberResponseUser {
|
|
|
1945
1976
|
*/
|
|
1946
1977
|
'id': string;
|
|
1947
1978
|
}
|
|
1979
|
+
/**
|
|
1980
|
+
*
|
|
1981
|
+
* @export
|
|
1982
|
+
* @interface ClubPageResponse
|
|
1983
|
+
*/
|
|
1984
|
+
export interface ClubPageResponse {
|
|
1985
|
+
/**
|
|
1986
|
+
* ID unique du club
|
|
1987
|
+
* @type {string}
|
|
1988
|
+
* @memberof ClubPageResponse
|
|
1989
|
+
*/
|
|
1990
|
+
'id': string;
|
|
1991
|
+
/**
|
|
1992
|
+
* Nom du club
|
|
1993
|
+
* @type {string}
|
|
1994
|
+
* @memberof ClubPageResponse
|
|
1995
|
+
*/
|
|
1996
|
+
'name': string;
|
|
1997
|
+
/**
|
|
1998
|
+
* URL du site web du club
|
|
1999
|
+
* @type {string}
|
|
2000
|
+
* @memberof ClubPageResponse
|
|
2001
|
+
*/
|
|
2002
|
+
'websiteUrl'?: string;
|
|
2003
|
+
/**
|
|
2004
|
+
* Description du club
|
|
2005
|
+
* @type {string}
|
|
2006
|
+
* @memberof ClubPageResponse
|
|
2007
|
+
*/
|
|
2008
|
+
'description'?: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Email du club
|
|
2011
|
+
* @type {string}
|
|
2012
|
+
* @memberof ClubPageResponse
|
|
2013
|
+
*/
|
|
2014
|
+
'email'?: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* Téléphone du club
|
|
2017
|
+
* @type {string}
|
|
2018
|
+
* @memberof ClubPageResponse
|
|
2019
|
+
*/
|
|
2020
|
+
'phone'?: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* URL de l\'image du club
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof ClubPageResponse
|
|
2025
|
+
*/
|
|
2026
|
+
'picture'?: string;
|
|
2027
|
+
/**
|
|
2028
|
+
*
|
|
2029
|
+
* @type {ClubResponseLocation}
|
|
2030
|
+
* @memberof ClubPageResponse
|
|
2031
|
+
*/
|
|
2032
|
+
'location'?: ClubResponseLocation;
|
|
2033
|
+
/**
|
|
2034
|
+
* Statut d\'activation du club
|
|
2035
|
+
* @type {boolean}
|
|
2036
|
+
* @memberof ClubPageResponse
|
|
2037
|
+
*/
|
|
2038
|
+
'isActive': boolean;
|
|
2039
|
+
/**
|
|
2040
|
+
* Indique si le club utilise la fonctionnalité de paiement
|
|
2041
|
+
* @type {boolean}
|
|
2042
|
+
* @memberof ClubPageResponse
|
|
2043
|
+
*/
|
|
2044
|
+
'paymentFeature'?: boolean;
|
|
2045
|
+
/**
|
|
2046
|
+
* Indique si la fonctionnalité \"no show\" est activée
|
|
2047
|
+
* @type {boolean}
|
|
2048
|
+
* @memberof ClubPageResponse
|
|
2049
|
+
*/
|
|
2050
|
+
'isNoShowEnabled'?: boolean;
|
|
2051
|
+
/**
|
|
2052
|
+
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
2053
|
+
* @type {Array<string>}
|
|
2054
|
+
* @memberof ClubPageResponse
|
|
2055
|
+
*/
|
|
2056
|
+
'sports'?: Array<string>;
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
* @type {ClubPresentation}
|
|
2060
|
+
* @memberof ClubPageResponse
|
|
2061
|
+
*/
|
|
2062
|
+
'clubPresentation': ClubPresentation;
|
|
2063
|
+
/**
|
|
2064
|
+
*
|
|
2065
|
+
* @type {Array<ClubEvent>}
|
|
2066
|
+
* @memberof ClubPageResponse
|
|
2067
|
+
*/
|
|
2068
|
+
'comingEvent': Array<ClubEvent>;
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
* @type {ClubResponseCreatedAt}
|
|
2072
|
+
* @memberof ClubPageResponse
|
|
2073
|
+
*/
|
|
2074
|
+
'createdAt'?: ClubResponseCreatedAt;
|
|
2075
|
+
/**
|
|
2076
|
+
*
|
|
2077
|
+
* @type {ClubResponseUpdatedAt}
|
|
2078
|
+
* @memberof ClubPageResponse
|
|
2079
|
+
*/
|
|
2080
|
+
'updatedAt'?: ClubResponseUpdatedAt;
|
|
2081
|
+
}
|
|
1948
2082
|
/**
|
|
1949
2083
|
*
|
|
1950
2084
|
* @export
|
|
@@ -2449,6 +2583,37 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2449
2583
|
*/
|
|
2450
2584
|
'interval': string | null;
|
|
2451
2585
|
}
|
|
2586
|
+
/**
|
|
2587
|
+
*
|
|
2588
|
+
* @export
|
|
2589
|
+
* @interface ClubPresentation
|
|
2590
|
+
*/
|
|
2591
|
+
export interface ClubPresentation {
|
|
2592
|
+
/**
|
|
2593
|
+
*
|
|
2594
|
+
* @type {Array<string>}
|
|
2595
|
+
* @memberof ClubPresentation
|
|
2596
|
+
*/
|
|
2597
|
+
'bannerPictures'?: Array<string>;
|
|
2598
|
+
/**
|
|
2599
|
+
*
|
|
2600
|
+
* @type {Array<string>}
|
|
2601
|
+
* @memberof ClubPresentation
|
|
2602
|
+
*/
|
|
2603
|
+
'galleryPictures'?: Array<string>;
|
|
2604
|
+
/**
|
|
2605
|
+
*
|
|
2606
|
+
* @type {Array<string>}
|
|
2607
|
+
* @memberof ClubPresentation
|
|
2608
|
+
*/
|
|
2609
|
+
'tags'?: Array<string>;
|
|
2610
|
+
/**
|
|
2611
|
+
*
|
|
2612
|
+
* @type {string}
|
|
2613
|
+
* @memberof ClubPresentation
|
|
2614
|
+
*/
|
|
2615
|
+
'description'?: string;
|
|
2616
|
+
}
|
|
2452
2617
|
/**
|
|
2453
2618
|
*
|
|
2454
2619
|
* @export
|
|
@@ -2602,24 +2767,6 @@ export interface ClubResponse {
|
|
|
2602
2767
|
* @memberof ClubResponse
|
|
2603
2768
|
*/
|
|
2604
2769
|
'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
2770
|
/**
|
|
2624
2771
|
*
|
|
2625
2772
|
* @type {ClubResponseLocation}
|
|
@@ -5223,153 +5370,106 @@ export interface OffPeakRule {
|
|
|
5223
5370
|
/**
|
|
5224
5371
|
* Make all properties in T optional
|
|
5225
5372
|
* @export
|
|
5226
|
-
* @interface
|
|
5373
|
+
* @interface PartialClubActiveResponse
|
|
5227
5374
|
*/
|
|
5228
|
-
export interface
|
|
5375
|
+
export interface PartialClubActiveResponse {
|
|
5229
5376
|
/**
|
|
5230
|
-
*
|
|
5377
|
+
*
|
|
5231
5378
|
* @type {string}
|
|
5232
|
-
* @memberof
|
|
5379
|
+
* @memberof PartialClubActiveResponse
|
|
5233
5380
|
*/
|
|
5234
5381
|
'id'?: string;
|
|
5235
5382
|
/**
|
|
5236
|
-
*
|
|
5383
|
+
*
|
|
5237
5384
|
* @type {string}
|
|
5238
|
-
* @memberof
|
|
5385
|
+
* @memberof PartialClubActiveResponse
|
|
5239
5386
|
*/
|
|
5240
5387
|
'name'?: string;
|
|
5241
5388
|
/**
|
|
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
|
|
5389
|
+
*
|
|
5255
5390
|
* @type {string}
|
|
5256
|
-
* @memberof
|
|
5391
|
+
* @memberof PartialClubActiveResponse
|
|
5257
5392
|
*/
|
|
5258
|
-
'
|
|
5393
|
+
'picture'?: string;
|
|
5259
5394
|
/**
|
|
5260
|
-
*
|
|
5261
|
-
* @type {
|
|
5262
|
-
* @memberof
|
|
5395
|
+
*
|
|
5396
|
+
* @type {boolean}
|
|
5397
|
+
* @memberof PartialClubActiveResponse
|
|
5263
5398
|
*/
|
|
5264
|
-
'
|
|
5399
|
+
'paymentFeature'?: boolean;
|
|
5265
5400
|
/**
|
|
5266
|
-
*
|
|
5267
|
-
* @type {
|
|
5268
|
-
* @memberof
|
|
5401
|
+
*
|
|
5402
|
+
* @type {boolean}
|
|
5403
|
+
* @memberof PartialClubActiveResponse
|
|
5269
5404
|
*/
|
|
5270
|
-
'
|
|
5405
|
+
'isNoShowEnabled'?: boolean;
|
|
5271
5406
|
/**
|
|
5272
5407
|
*
|
|
5273
5408
|
* @type {Array<string>}
|
|
5274
|
-
* @memberof
|
|
5409
|
+
* @memberof PartialClubActiveResponse
|
|
5275
5410
|
*/
|
|
5276
5411
|
'bannerPictures'?: Array<string>;
|
|
5277
5412
|
/**
|
|
5278
5413
|
*
|
|
5279
5414
|
* @type {Array<string>}
|
|
5280
|
-
* @memberof
|
|
5415
|
+
* @memberof PartialClubActiveResponse
|
|
5281
5416
|
*/
|
|
5282
5417
|
'galleryPictures'?: Array<string>;
|
|
5283
5418
|
/**
|
|
5284
5419
|
*
|
|
5285
5420
|
* @type {Array<string>}
|
|
5286
|
-
* @memberof
|
|
5421
|
+
* @memberof PartialClubActiveResponse
|
|
5287
5422
|
*/
|
|
5288
5423
|
'tags'?: Array<string>;
|
|
5289
5424
|
/**
|
|
5290
5425
|
*
|
|
5291
|
-
* @type {
|
|
5292
|
-
* @memberof
|
|
5293
|
-
*/
|
|
5294
|
-
'location'?: ClubResponseLocation;
|
|
5295
|
-
/**
|
|
5296
|
-
* Statut d\'activation du club
|
|
5297
|
-
* @type {boolean}
|
|
5298
|
-
* @memberof PartialClubResponse
|
|
5299
|
-
*/
|
|
5300
|
-
'isActive'?: boolean;
|
|
5301
|
-
/**
|
|
5302
|
-
* Indique si le club utilise la fonctionnalité de paiement
|
|
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
|
|
5426
|
+
* @type {PartialClubActiveResponseLocation}
|
|
5427
|
+
* @memberof PartialClubActiveResponse
|
|
5317
5428
|
*/
|
|
5318
|
-
'
|
|
5429
|
+
'location'?: PartialClubActiveResponseLocation;
|
|
5319
5430
|
/**
|
|
5320
|
-
*
|
|
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é)
|
|
5431
|
+
* Liste des sports disponibles (clé du sport)
|
|
5327
5432
|
* @type {Array<string>}
|
|
5328
|
-
* @memberof
|
|
5433
|
+
* @memberof PartialClubActiveResponse
|
|
5329
5434
|
*/
|
|
5330
5435
|
'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;
|
|
5436
|
+
}
|
|
5437
|
+
/**
|
|
5438
|
+
*
|
|
5439
|
+
* @export
|
|
5440
|
+
* @interface PartialClubActiveResponseLocation
|
|
5441
|
+
*/
|
|
5442
|
+
export interface PartialClubActiveResponseLocation {
|
|
5343
5443
|
/**
|
|
5344
5444
|
*
|
|
5345
|
-
* @type {
|
|
5346
|
-
* @memberof
|
|
5445
|
+
* @type {ClubResponseLocationCoordinates}
|
|
5446
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5347
5447
|
*/
|
|
5348
|
-
'
|
|
5448
|
+
'coordinates'?: ClubResponseLocationCoordinates;
|
|
5349
5449
|
/**
|
|
5350
|
-
*
|
|
5351
|
-
* @type {
|
|
5352
|
-
* @memberof
|
|
5450
|
+
*
|
|
5451
|
+
* @type {string}
|
|
5452
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5353
5453
|
*/
|
|
5354
|
-
'
|
|
5454
|
+
'country'?: string;
|
|
5355
5455
|
/**
|
|
5356
|
-
*
|
|
5357
|
-
* @type {
|
|
5358
|
-
* @memberof
|
|
5456
|
+
*
|
|
5457
|
+
* @type {string}
|
|
5458
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5359
5459
|
*/
|
|
5360
|
-
'
|
|
5460
|
+
'zipCode'?: string;
|
|
5361
5461
|
/**
|
|
5362
5462
|
*
|
|
5363
|
-
* @type {
|
|
5364
|
-
* @memberof
|
|
5463
|
+
* @type {string}
|
|
5464
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5365
5465
|
*/
|
|
5366
|
-
'
|
|
5466
|
+
'city'?: string;
|
|
5367
5467
|
/**
|
|
5368
5468
|
*
|
|
5369
|
-
* @type {
|
|
5370
|
-
* @memberof
|
|
5469
|
+
* @type {string}
|
|
5470
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5371
5471
|
*/
|
|
5372
|
-
'
|
|
5472
|
+
'address'?: string;
|
|
5373
5473
|
}
|
|
5374
5474
|
/**
|
|
5375
5475
|
* Make all properties in T optional
|
|
@@ -14745,6 +14845,39 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14745
14845
|
|
|
14746
14846
|
|
|
14747
14847
|
|
|
14848
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14849
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14850
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14851
|
+
|
|
14852
|
+
return {
|
|
14853
|
+
url: toPathString(localVarUrlObj),
|
|
14854
|
+
options: localVarRequestOptions,
|
|
14855
|
+
};
|
|
14856
|
+
},
|
|
14857
|
+
/**
|
|
14858
|
+
*
|
|
14859
|
+
* @param {string} clubId
|
|
14860
|
+
* @param {*} [options] Override http request option.
|
|
14861
|
+
* @throws {RequiredError}
|
|
14862
|
+
*/
|
|
14863
|
+
getClubPageInfo: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14864
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
14865
|
+
assertParamExists('getClubPageInfo', 'clubId', clubId)
|
|
14866
|
+
const localVarPath = `/api/clubs/club-page/{clubId}`
|
|
14867
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
14868
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14869
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14870
|
+
let baseOptions;
|
|
14871
|
+
if (configuration) {
|
|
14872
|
+
baseOptions = configuration.baseOptions;
|
|
14873
|
+
}
|
|
14874
|
+
|
|
14875
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14876
|
+
const localVarHeaderParameter = {} as any;
|
|
14877
|
+
const localVarQueryParameter = {} as any;
|
|
14878
|
+
|
|
14879
|
+
|
|
14880
|
+
|
|
14748
14881
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14749
14882
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14750
14883
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14967,7 +15100,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
14967
15100
|
* @param {*} [options] Override http request option.
|
|
14968
15101
|
* @throws {RequiredError}
|
|
14969
15102
|
*/
|
|
14970
|
-
async getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
15103
|
+
async getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartialClubActiveResponse>>> {
|
|
14971
15104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActiveClubs(options);
|
|
14972
15105
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14973
15106
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getActiveClubs']?.[localVarOperationServerIndex]?.url;
|
|
@@ -15034,6 +15167,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
15034
15167
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubInfo']?.[localVarOperationServerIndex]?.url;
|
|
15035
15168
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15036
15169
|
},
|
|
15170
|
+
/**
|
|
15171
|
+
*
|
|
15172
|
+
* @param {string} clubId
|
|
15173
|
+
* @param {*} [options] Override http request option.
|
|
15174
|
+
* @throws {RequiredError}
|
|
15175
|
+
*/
|
|
15176
|
+
async getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>> {
|
|
15177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPageInfo(clubId, options);
|
|
15178
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15179
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubPageInfo']?.[localVarOperationServerIndex]?.url;
|
|
15180
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15181
|
+
},
|
|
15037
15182
|
/**
|
|
15038
15183
|
*
|
|
15039
15184
|
* @param {string} id
|
|
@@ -15121,7 +15266,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15121
15266
|
* @param {*} [options] Override http request option.
|
|
15122
15267
|
* @throws {RequiredError}
|
|
15123
15268
|
*/
|
|
15124
|
-
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
15269
|
+
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartialClubActiveResponse>> {
|
|
15125
15270
|
return localVarFp.getActiveClubs(options).then((request) => request(axios, basePath));
|
|
15126
15271
|
},
|
|
15127
15272
|
/**
|
|
@@ -15167,6 +15312,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15167
15312
|
getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse> {
|
|
15168
15313
|
return localVarFp.getClubInfo(options).then((request) => request(axios, basePath));
|
|
15169
15314
|
},
|
|
15315
|
+
/**
|
|
15316
|
+
*
|
|
15317
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
15318
|
+
* @param {*} [options] Override http request option.
|
|
15319
|
+
* @throws {RequiredError}
|
|
15320
|
+
*/
|
|
15321
|
+
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse> {
|
|
15322
|
+
return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
15323
|
+
},
|
|
15170
15324
|
/**
|
|
15171
15325
|
*
|
|
15172
15326
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -15286,6 +15440,20 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
15286
15440
|
readonly day: string
|
|
15287
15441
|
}
|
|
15288
15442
|
|
|
15443
|
+
/**
|
|
15444
|
+
* Request parameters for getClubPageInfo operation in ClubsApi.
|
|
15445
|
+
* @export
|
|
15446
|
+
* @interface ClubsApiGetClubPageInfoRequest
|
|
15447
|
+
*/
|
|
15448
|
+
export interface ClubsApiGetClubPageInfoRequest {
|
|
15449
|
+
/**
|
|
15450
|
+
*
|
|
15451
|
+
* @type {string}
|
|
15452
|
+
* @memberof ClubsApiGetClubPageInfo
|
|
15453
|
+
*/
|
|
15454
|
+
readonly clubId: string
|
|
15455
|
+
}
|
|
15456
|
+
|
|
15289
15457
|
/**
|
|
15290
15458
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
15291
15459
|
* @export
|
|
@@ -15433,6 +15601,17 @@ export class ClubsApi extends BaseAPI {
|
|
|
15433
15601
|
return ClubsApiFp(this.configuration).getClubInfo(options).then((request) => request(this.axios, this.basePath));
|
|
15434
15602
|
}
|
|
15435
15603
|
|
|
15604
|
+
/**
|
|
15605
|
+
*
|
|
15606
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
15607
|
+
* @param {*} [options] Override http request option.
|
|
15608
|
+
* @throws {RequiredError}
|
|
15609
|
+
* @memberof ClubsApi
|
|
15610
|
+
*/
|
|
15611
|
+
public getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig) {
|
|
15612
|
+
return ClubsApiFp(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
15613
|
+
}
|
|
15614
|
+
|
|
15436
15615
|
/**
|
|
15437
15616
|
*
|
|
15438
15617
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|