@tennac-booking/sdk 1.0.104 → 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 +8 -3
- package/api.ts +303 -88
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +267 -89
- package/dist/api.js +63 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +267 -89
- package/dist/esm/api.js +63 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ClubEvent.md +26 -0
- package/docs/{PartialClubResponse.md → ClubPageResponse.md} +10 -21
- package/docs/ClubPresentation.md +26 -0
- package/docs/ClubsApi.md +56 -2
- package/docs/PartialClubActiveResponse.md +39 -0
- package/docs/PartialClubActiveResponseLocation.md +28 -0
- package/index.ts +1 -1
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.104
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.104 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.104
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
|
@@ -5205,135 +5370,106 @@ export interface OffPeakRule {
|
|
|
5205
5370
|
/**
|
|
5206
5371
|
* Make all properties in T optional
|
|
5207
5372
|
* @export
|
|
5208
|
-
* @interface
|
|
5373
|
+
* @interface PartialClubActiveResponse
|
|
5209
5374
|
*/
|
|
5210
|
-
export interface
|
|
5375
|
+
export interface PartialClubActiveResponse {
|
|
5211
5376
|
/**
|
|
5212
|
-
*
|
|
5377
|
+
*
|
|
5213
5378
|
* @type {string}
|
|
5214
|
-
* @memberof
|
|
5379
|
+
* @memberof PartialClubActiveResponse
|
|
5215
5380
|
*/
|
|
5216
5381
|
'id'?: string;
|
|
5217
5382
|
/**
|
|
5218
|
-
*
|
|
5383
|
+
*
|
|
5219
5384
|
* @type {string}
|
|
5220
|
-
* @memberof
|
|
5385
|
+
* @memberof PartialClubActiveResponse
|
|
5221
5386
|
*/
|
|
5222
5387
|
'name'?: string;
|
|
5223
5388
|
/**
|
|
5224
|
-
*
|
|
5225
|
-
* @type {string}
|
|
5226
|
-
* @memberof PartialClubResponse
|
|
5227
|
-
*/
|
|
5228
|
-
'websiteUrl'?: string;
|
|
5229
|
-
/**
|
|
5230
|
-
* Description du club
|
|
5231
|
-
* @type {string}
|
|
5232
|
-
* @memberof PartialClubResponse
|
|
5233
|
-
*/
|
|
5234
|
-
'description'?: string;
|
|
5235
|
-
/**
|
|
5236
|
-
* Email du club
|
|
5237
|
-
* @type {string}
|
|
5238
|
-
* @memberof PartialClubResponse
|
|
5239
|
-
*/
|
|
5240
|
-
'email'?: string;
|
|
5241
|
-
/**
|
|
5242
|
-
* Téléphone du club
|
|
5243
|
-
* @type {string}
|
|
5244
|
-
* @memberof PartialClubResponse
|
|
5245
|
-
*/
|
|
5246
|
-
'phone'?: string;
|
|
5247
|
-
/**
|
|
5248
|
-
* URL de l\'image du club
|
|
5389
|
+
*
|
|
5249
5390
|
* @type {string}
|
|
5250
|
-
* @memberof
|
|
5391
|
+
* @memberof PartialClubActiveResponse
|
|
5251
5392
|
*/
|
|
5252
5393
|
'picture'?: string;
|
|
5253
5394
|
/**
|
|
5254
5395
|
*
|
|
5255
|
-
* @type {ClubResponseLocation}
|
|
5256
|
-
* @memberof PartialClubResponse
|
|
5257
|
-
*/
|
|
5258
|
-
'location'?: ClubResponseLocation;
|
|
5259
|
-
/**
|
|
5260
|
-
* Statut d\'activation du club
|
|
5261
|
-
* @type {boolean}
|
|
5262
|
-
* @memberof PartialClubResponse
|
|
5263
|
-
*/
|
|
5264
|
-
'isActive'?: boolean;
|
|
5265
|
-
/**
|
|
5266
|
-
* Indique si le club utilise la fonctionnalité de paiement
|
|
5267
5396
|
* @type {boolean}
|
|
5268
|
-
* @memberof
|
|
5397
|
+
* @memberof PartialClubActiveResponse
|
|
5269
5398
|
*/
|
|
5270
5399
|
'paymentFeature'?: boolean;
|
|
5271
5400
|
/**
|
|
5272
|
-
*
|
|
5273
|
-
* @type {
|
|
5274
|
-
* @memberof
|
|
5401
|
+
*
|
|
5402
|
+
* @type {boolean}
|
|
5403
|
+
* @memberof PartialClubActiveResponse
|
|
5275
5404
|
*/
|
|
5276
|
-
'
|
|
5405
|
+
'isNoShowEnabled'?: boolean;
|
|
5277
5406
|
/**
|
|
5278
|
-
*
|
|
5279
|
-
* @type {string}
|
|
5280
|
-
* @memberof
|
|
5407
|
+
*
|
|
5408
|
+
* @type {Array<string>}
|
|
5409
|
+
* @memberof PartialClubActiveResponse
|
|
5281
5410
|
*/
|
|
5282
|
-
'
|
|
5411
|
+
'bannerPictures'?: Array<string>;
|
|
5283
5412
|
/**
|
|
5284
|
-
*
|
|
5285
|
-
* @type {
|
|
5286
|
-
* @memberof
|
|
5413
|
+
*
|
|
5414
|
+
* @type {Array<string>}
|
|
5415
|
+
* @memberof PartialClubActiveResponse
|
|
5287
5416
|
*/
|
|
5288
|
-
'
|
|
5417
|
+
'galleryPictures'?: Array<string>;
|
|
5289
5418
|
/**
|
|
5290
|
-
*
|
|
5419
|
+
*
|
|
5291
5420
|
* @type {Array<string>}
|
|
5292
|
-
* @memberof
|
|
5421
|
+
* @memberof PartialClubActiveResponse
|
|
5293
5422
|
*/
|
|
5294
|
-
'
|
|
5423
|
+
'tags'?: Array<string>;
|
|
5295
5424
|
/**
|
|
5296
|
-
*
|
|
5297
|
-
* @type {
|
|
5298
|
-
* @memberof
|
|
5425
|
+
*
|
|
5426
|
+
* @type {PartialClubActiveResponseLocation}
|
|
5427
|
+
* @memberof PartialClubActiveResponse
|
|
5299
5428
|
*/
|
|
5300
|
-
'
|
|
5429
|
+
'location'?: PartialClubActiveResponseLocation;
|
|
5301
5430
|
/**
|
|
5302
|
-
*
|
|
5303
|
-
* @type {
|
|
5304
|
-
* @memberof
|
|
5431
|
+
* Liste des sports disponibles (clé du sport)
|
|
5432
|
+
* @type {Array<string>}
|
|
5433
|
+
* @memberof PartialClubActiveResponse
|
|
5305
5434
|
*/
|
|
5306
|
-
'
|
|
5435
|
+
'sports'?: Array<string>;
|
|
5436
|
+
}
|
|
5437
|
+
/**
|
|
5438
|
+
*
|
|
5439
|
+
* @export
|
|
5440
|
+
* @interface PartialClubActiveResponseLocation
|
|
5441
|
+
*/
|
|
5442
|
+
export interface PartialClubActiveResponseLocation {
|
|
5307
5443
|
/**
|
|
5308
5444
|
*
|
|
5309
|
-
* @type {
|
|
5310
|
-
* @memberof
|
|
5445
|
+
* @type {ClubResponseLocationCoordinates}
|
|
5446
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5311
5447
|
*/
|
|
5312
|
-
'
|
|
5448
|
+
'coordinates'?: ClubResponseLocationCoordinates;
|
|
5313
5449
|
/**
|
|
5314
|
-
*
|
|
5315
|
-
* @type {
|
|
5316
|
-
* @memberof
|
|
5450
|
+
*
|
|
5451
|
+
* @type {string}
|
|
5452
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5317
5453
|
*/
|
|
5318
|
-
'
|
|
5454
|
+
'country'?: string;
|
|
5319
5455
|
/**
|
|
5320
|
-
*
|
|
5321
|
-
* @type {
|
|
5322
|
-
* @memberof
|
|
5456
|
+
*
|
|
5457
|
+
* @type {string}
|
|
5458
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5323
5459
|
*/
|
|
5324
|
-
'
|
|
5460
|
+
'zipCode'?: string;
|
|
5325
5461
|
/**
|
|
5326
5462
|
*
|
|
5327
|
-
* @type {
|
|
5328
|
-
* @memberof
|
|
5463
|
+
* @type {string}
|
|
5464
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5329
5465
|
*/
|
|
5330
|
-
'
|
|
5466
|
+
'city'?: string;
|
|
5331
5467
|
/**
|
|
5332
5468
|
*
|
|
5333
|
-
* @type {
|
|
5334
|
-
* @memberof
|
|
5469
|
+
* @type {string}
|
|
5470
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5335
5471
|
*/
|
|
5336
|
-
'
|
|
5472
|
+
'address'?: string;
|
|
5337
5473
|
}
|
|
5338
5474
|
/**
|
|
5339
5475
|
* Make all properties in T optional
|
|
@@ -14709,6 +14845,39 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14709
14845
|
|
|
14710
14846
|
|
|
14711
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
|
+
|
|
14712
14881
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14713
14882
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14714
14883
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14931,7 +15100,7 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
14931
15100
|
* @param {*} [options] Override http request option.
|
|
14932
15101
|
* @throws {RequiredError}
|
|
14933
15102
|
*/
|
|
14934
|
-
async getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
15103
|
+
async getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartialClubActiveResponse>>> {
|
|
14935
15104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActiveClubs(options);
|
|
14936
15105
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14937
15106
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getActiveClubs']?.[localVarOperationServerIndex]?.url;
|
|
@@ -14998,6 +15167,18 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
14998
15167
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getClubInfo']?.[localVarOperationServerIndex]?.url;
|
|
14999
15168
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15000
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
|
+
},
|
|
15001
15182
|
/**
|
|
15002
15183
|
*
|
|
15003
15184
|
* @param {string} id
|
|
@@ -15085,7 +15266,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15085
15266
|
* @param {*} [options] Override http request option.
|
|
15086
15267
|
* @throws {RequiredError}
|
|
15087
15268
|
*/
|
|
15088
|
-
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
15269
|
+
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartialClubActiveResponse>> {
|
|
15089
15270
|
return localVarFp.getActiveClubs(options).then((request) => request(axios, basePath));
|
|
15090
15271
|
},
|
|
15091
15272
|
/**
|
|
@@ -15131,6 +15312,15 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15131
15312
|
getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse> {
|
|
15132
15313
|
return localVarFp.getClubInfo(options).then((request) => request(axios, basePath));
|
|
15133
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
|
+
},
|
|
15134
15324
|
/**
|
|
15135
15325
|
*
|
|
15136
15326
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -15250,6 +15440,20 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
15250
15440
|
readonly day: string
|
|
15251
15441
|
}
|
|
15252
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
|
+
|
|
15253
15457
|
/**
|
|
15254
15458
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
15255
15459
|
* @export
|
|
@@ -15397,6 +15601,17 @@ export class ClubsApi extends BaseAPI {
|
|
|
15397
15601
|
return ClubsApiFp(this.configuration).getClubInfo(options).then((request) => request(this.axios, this.basePath));
|
|
15398
15602
|
}
|
|
15399
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
|
+
|
|
15400
15615
|
/**
|
|
15401
15616
|
*
|
|
15402
15617
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED