@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/dist/api.d.ts
CHANGED
|
@@ -1755,6 +1755,55 @@ export interface ClubDaySchedule {
|
|
|
1755
1755
|
*/
|
|
1756
1756
|
'close': string;
|
|
1757
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
*
|
|
1760
|
+
* @export
|
|
1761
|
+
* @interface ClubEvent
|
|
1762
|
+
*/
|
|
1763
|
+
export interface ClubEvent {
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @type {string}
|
|
1767
|
+
* @memberof ClubEvent
|
|
1768
|
+
*/
|
|
1769
|
+
'imageSrc'?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
*
|
|
1772
|
+
* @type {string}
|
|
1773
|
+
* @memberof ClubEvent
|
|
1774
|
+
*/
|
|
1775
|
+
'sport'?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @type {string}
|
|
1779
|
+
* @memberof ClubEvent
|
|
1780
|
+
*/
|
|
1781
|
+
'description'?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {string}
|
|
1785
|
+
* @memberof ClubEvent
|
|
1786
|
+
*/
|
|
1787
|
+
'endDate': string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof ClubEvent
|
|
1792
|
+
*/
|
|
1793
|
+
'startDate': string;
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @type {string}
|
|
1797
|
+
* @memberof ClubEvent
|
|
1798
|
+
*/
|
|
1799
|
+
'name': string;
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @type {string}
|
|
1803
|
+
* @memberof ClubEvent
|
|
1804
|
+
*/
|
|
1805
|
+
'id': string;
|
|
1806
|
+
}
|
|
1758
1807
|
/**
|
|
1759
1808
|
*
|
|
1760
1809
|
* @export
|
|
@@ -1910,6 +1959,127 @@ export interface ClubMemberResponseUser {
|
|
|
1910
1959
|
*/
|
|
1911
1960
|
'id': string;
|
|
1912
1961
|
}
|
|
1962
|
+
/**
|
|
1963
|
+
*
|
|
1964
|
+
* @export
|
|
1965
|
+
* @interface ClubPageResponse
|
|
1966
|
+
*/
|
|
1967
|
+
export interface ClubPageResponse {
|
|
1968
|
+
/**
|
|
1969
|
+
* ID unique du club
|
|
1970
|
+
* @type {string}
|
|
1971
|
+
* @memberof ClubPageResponse
|
|
1972
|
+
*/
|
|
1973
|
+
'id': string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Nom du club
|
|
1976
|
+
* @type {string}
|
|
1977
|
+
* @memberof ClubPageResponse
|
|
1978
|
+
*/
|
|
1979
|
+
'name': string;
|
|
1980
|
+
/**
|
|
1981
|
+
* URL du site web du club
|
|
1982
|
+
* @type {string}
|
|
1983
|
+
* @memberof ClubPageResponse
|
|
1984
|
+
*/
|
|
1985
|
+
'websiteUrl'?: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* Description du club
|
|
1988
|
+
* @type {string}
|
|
1989
|
+
* @memberof ClubPageResponse
|
|
1990
|
+
*/
|
|
1991
|
+
'description'?: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* Email du club
|
|
1994
|
+
* @type {string}
|
|
1995
|
+
* @memberof ClubPageResponse
|
|
1996
|
+
*/
|
|
1997
|
+
'email'?: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* Téléphone du club
|
|
2000
|
+
* @type {string}
|
|
2001
|
+
* @memberof ClubPageResponse
|
|
2002
|
+
*/
|
|
2003
|
+
'phone'?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* URL de l\'image du club
|
|
2006
|
+
* @type {string}
|
|
2007
|
+
* @memberof ClubPageResponse
|
|
2008
|
+
*/
|
|
2009
|
+
'picture'?: string;
|
|
2010
|
+
/**
|
|
2011
|
+
*
|
|
2012
|
+
* @type {ClubResponseLocation}
|
|
2013
|
+
* @memberof ClubPageResponse
|
|
2014
|
+
*/
|
|
2015
|
+
'location'?: ClubResponseLocation;
|
|
2016
|
+
/**
|
|
2017
|
+
* Statut d\'activation du club
|
|
2018
|
+
* @type {boolean}
|
|
2019
|
+
* @memberof ClubPageResponse
|
|
2020
|
+
*/
|
|
2021
|
+
'isActive': boolean;
|
|
2022
|
+
/**
|
|
2023
|
+
* Indique si le club utilise la fonctionnalité de paiement
|
|
2024
|
+
* @type {boolean}
|
|
2025
|
+
* @memberof ClubPageResponse
|
|
2026
|
+
*/
|
|
2027
|
+
'paymentFeature'?: boolean;
|
|
2028
|
+
/**
|
|
2029
|
+
* Indique si la fonctionnalité \"no show\" est activée
|
|
2030
|
+
* @type {boolean}
|
|
2031
|
+
* @memberof ClubPageResponse
|
|
2032
|
+
*/
|
|
2033
|
+
'isNoShowEnabled'?: boolean;
|
|
2034
|
+
/**
|
|
2035
|
+
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
2036
|
+
* @type {Array<string>}
|
|
2037
|
+
* @memberof ClubPageResponse
|
|
2038
|
+
*/
|
|
2039
|
+
'sports'?: Array<string>;
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {ClubPresentation}
|
|
2043
|
+
* @memberof ClubPageResponse
|
|
2044
|
+
*/
|
|
2045
|
+
'clubPresentation': ClubPresentation;
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {Array<ClubEvent>}
|
|
2049
|
+
* @memberof ClubPageResponse
|
|
2050
|
+
*/
|
|
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;
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @type {ClubResponseCreatedAt}
|
|
2073
|
+
* @memberof ClubPageResponse
|
|
2074
|
+
*/
|
|
2075
|
+
'createdAt'?: ClubResponseCreatedAt;
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @type {ClubResponseUpdatedAt}
|
|
2079
|
+
* @memberof ClubPageResponse
|
|
2080
|
+
*/
|
|
2081
|
+
'updatedAt'?: ClubResponseUpdatedAt;
|
|
2082
|
+
}
|
|
1913
2083
|
/**
|
|
1914
2084
|
*
|
|
1915
2085
|
* @export
|
|
@@ -2414,6 +2584,37 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2414
2584
|
*/
|
|
2415
2585
|
'interval': string | null;
|
|
2416
2586
|
}
|
|
2587
|
+
/**
|
|
2588
|
+
*
|
|
2589
|
+
* @export
|
|
2590
|
+
* @interface ClubPresentation
|
|
2591
|
+
*/
|
|
2592
|
+
export interface ClubPresentation {
|
|
2593
|
+
/**
|
|
2594
|
+
*
|
|
2595
|
+
* @type {Array<string>}
|
|
2596
|
+
* @memberof ClubPresentation
|
|
2597
|
+
*/
|
|
2598
|
+
'bannerPictures'?: Array<string>;
|
|
2599
|
+
/**
|
|
2600
|
+
*
|
|
2601
|
+
* @type {Array<string>}
|
|
2602
|
+
* @memberof ClubPresentation
|
|
2603
|
+
*/
|
|
2604
|
+
'galleryPictures'?: Array<string>;
|
|
2605
|
+
/**
|
|
2606
|
+
*
|
|
2607
|
+
* @type {Array<string>}
|
|
2608
|
+
* @memberof ClubPresentation
|
|
2609
|
+
*/
|
|
2610
|
+
'tags'?: Array<string>;
|
|
2611
|
+
/**
|
|
2612
|
+
*
|
|
2613
|
+
* @type {string}
|
|
2614
|
+
* @memberof ClubPresentation
|
|
2615
|
+
*/
|
|
2616
|
+
'description'?: string;
|
|
2617
|
+
}
|
|
2417
2618
|
/**
|
|
2418
2619
|
*
|
|
2419
2620
|
* @export
|
|
@@ -2567,24 +2768,6 @@ export interface ClubResponse {
|
|
|
2567
2768
|
* @memberof ClubResponse
|
|
2568
2769
|
*/
|
|
2569
2770
|
'picture'?: string;
|
|
2570
|
-
/**
|
|
2571
|
-
*
|
|
2572
|
-
* @type {Array<string>}
|
|
2573
|
-
* @memberof ClubResponse
|
|
2574
|
-
*/
|
|
2575
|
-
'bannerPictures'?: Array<string>;
|
|
2576
|
-
/**
|
|
2577
|
-
*
|
|
2578
|
-
* @type {Array<string>}
|
|
2579
|
-
* @memberof ClubResponse
|
|
2580
|
-
*/
|
|
2581
|
-
'galleryPictures'?: Array<string>;
|
|
2582
|
-
/**
|
|
2583
|
-
*
|
|
2584
|
-
* @type {Array<string>}
|
|
2585
|
-
* @memberof ClubResponse
|
|
2586
|
-
*/
|
|
2587
|
-
'tags'?: Array<string>;
|
|
2588
2771
|
/**
|
|
2589
2772
|
*
|
|
2590
2773
|
* @type {ClubResponseLocation}
|
|
@@ -5143,153 +5326,106 @@ export interface OffPeakRule {
|
|
|
5143
5326
|
/**
|
|
5144
5327
|
* Make all properties in T optional
|
|
5145
5328
|
* @export
|
|
5146
|
-
* @interface
|
|
5329
|
+
* @interface PartialClubActiveResponse
|
|
5147
5330
|
*/
|
|
5148
|
-
export interface
|
|
5331
|
+
export interface PartialClubActiveResponse {
|
|
5149
5332
|
/**
|
|
5150
|
-
*
|
|
5333
|
+
*
|
|
5151
5334
|
* @type {string}
|
|
5152
|
-
* @memberof
|
|
5335
|
+
* @memberof PartialClubActiveResponse
|
|
5153
5336
|
*/
|
|
5154
5337
|
'id'?: string;
|
|
5155
5338
|
/**
|
|
5156
|
-
*
|
|
5339
|
+
*
|
|
5157
5340
|
* @type {string}
|
|
5158
|
-
* @memberof
|
|
5341
|
+
* @memberof PartialClubActiveResponse
|
|
5159
5342
|
*/
|
|
5160
5343
|
'name'?: string;
|
|
5161
5344
|
/**
|
|
5162
|
-
*
|
|
5163
|
-
* @type {string}
|
|
5164
|
-
* @memberof PartialClubResponse
|
|
5165
|
-
*/
|
|
5166
|
-
'websiteUrl'?: string;
|
|
5167
|
-
/**
|
|
5168
|
-
* Description du club
|
|
5169
|
-
* @type {string}
|
|
5170
|
-
* @memberof PartialClubResponse
|
|
5171
|
-
*/
|
|
5172
|
-
'description'?: string;
|
|
5173
|
-
/**
|
|
5174
|
-
* Email du club
|
|
5345
|
+
*
|
|
5175
5346
|
* @type {string}
|
|
5176
|
-
* @memberof
|
|
5347
|
+
* @memberof PartialClubActiveResponse
|
|
5177
5348
|
*/
|
|
5178
|
-
'
|
|
5349
|
+
'picture'?: string;
|
|
5179
5350
|
/**
|
|
5180
|
-
*
|
|
5181
|
-
* @type {
|
|
5182
|
-
* @memberof
|
|
5351
|
+
*
|
|
5352
|
+
* @type {boolean}
|
|
5353
|
+
* @memberof PartialClubActiveResponse
|
|
5183
5354
|
*/
|
|
5184
|
-
'
|
|
5355
|
+
'paymentFeature'?: boolean;
|
|
5185
5356
|
/**
|
|
5186
|
-
*
|
|
5187
|
-
* @type {
|
|
5188
|
-
* @memberof
|
|
5357
|
+
*
|
|
5358
|
+
* @type {boolean}
|
|
5359
|
+
* @memberof PartialClubActiveResponse
|
|
5189
5360
|
*/
|
|
5190
|
-
'
|
|
5361
|
+
'isNoShowEnabled'?: boolean;
|
|
5191
5362
|
/**
|
|
5192
5363
|
*
|
|
5193
5364
|
* @type {Array<string>}
|
|
5194
|
-
* @memberof
|
|
5365
|
+
* @memberof PartialClubActiveResponse
|
|
5195
5366
|
*/
|
|
5196
5367
|
'bannerPictures'?: Array<string>;
|
|
5197
5368
|
/**
|
|
5198
5369
|
*
|
|
5199
5370
|
* @type {Array<string>}
|
|
5200
|
-
* @memberof
|
|
5371
|
+
* @memberof PartialClubActiveResponse
|
|
5201
5372
|
*/
|
|
5202
5373
|
'galleryPictures'?: Array<string>;
|
|
5203
5374
|
/**
|
|
5204
5375
|
*
|
|
5205
5376
|
* @type {Array<string>}
|
|
5206
|
-
* @memberof
|
|
5377
|
+
* @memberof PartialClubActiveResponse
|
|
5207
5378
|
*/
|
|
5208
5379
|
'tags'?: Array<string>;
|
|
5209
5380
|
/**
|
|
5210
5381
|
*
|
|
5211
|
-
* @type {
|
|
5212
|
-
* @memberof
|
|
5382
|
+
* @type {PartialClubActiveResponseLocation}
|
|
5383
|
+
* @memberof PartialClubActiveResponse
|
|
5213
5384
|
*/
|
|
5214
|
-
'location'?:
|
|
5215
|
-
/**
|
|
5216
|
-
* Statut d\'activation du club
|
|
5217
|
-
* @type {boolean}
|
|
5218
|
-
* @memberof PartialClubResponse
|
|
5219
|
-
*/
|
|
5220
|
-
'isActive'?: boolean;
|
|
5221
|
-
/**
|
|
5222
|
-
* Indique si le club utilise la fonctionnalité de paiement
|
|
5223
|
-
* @type {boolean}
|
|
5224
|
-
* @memberof PartialClubResponse
|
|
5225
|
-
*/
|
|
5226
|
-
'paymentFeature'?: boolean;
|
|
5227
|
-
/**
|
|
5228
|
-
* ID du compte Stripe du club
|
|
5229
|
-
* @type {string}
|
|
5230
|
-
* @memberof PartialClubResponse
|
|
5231
|
-
*/
|
|
5232
|
-
'stripeAccountId'?: string;
|
|
5233
|
-
/**
|
|
5234
|
-
* URL du dashboard Stripe du club
|
|
5235
|
-
* @type {string}
|
|
5236
|
-
* @memberof PartialClubResponse
|
|
5237
|
-
*/
|
|
5238
|
-
'clubDashBoardUrl'?: string;
|
|
5385
|
+
'location'?: PartialClubActiveResponseLocation;
|
|
5239
5386
|
/**
|
|
5240
|
-
*
|
|
5241
|
-
* @type {boolean}
|
|
5242
|
-
* @memberof PartialClubResponse
|
|
5243
|
-
*/
|
|
5244
|
-
'isNoShowEnabled'?: boolean;
|
|
5245
|
-
/**
|
|
5246
|
-
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
5387
|
+
* Liste des sports disponibles (clé du sport)
|
|
5247
5388
|
* @type {Array<string>}
|
|
5248
|
-
* @memberof
|
|
5389
|
+
* @memberof PartialClubActiveResponse
|
|
5249
5390
|
*/
|
|
5250
5391
|
'sports'?: Array<string>;
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
* Limite de réservations simultanées (même créneau)
|
|
5259
|
-
* @type {number}
|
|
5260
|
-
* @memberof PartialClubResponse
|
|
5261
|
-
*/
|
|
5262
|
-
'sameTimeBookingsLimit'?: number;
|
|
5392
|
+
}
|
|
5393
|
+
/**
|
|
5394
|
+
*
|
|
5395
|
+
* @export
|
|
5396
|
+
* @interface PartialClubActiveResponseLocation
|
|
5397
|
+
*/
|
|
5398
|
+
export interface PartialClubActiveResponseLocation {
|
|
5263
5399
|
/**
|
|
5264
5400
|
*
|
|
5265
|
-
* @type {
|
|
5266
|
-
* @memberof
|
|
5401
|
+
* @type {ClubResponseLocationCoordinates}
|
|
5402
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5267
5403
|
*/
|
|
5268
|
-
'
|
|
5404
|
+
'coordinates'?: ClubResponseLocationCoordinates;
|
|
5269
5405
|
/**
|
|
5270
|
-
*
|
|
5271
|
-
* @type {
|
|
5272
|
-
* @memberof
|
|
5406
|
+
*
|
|
5407
|
+
* @type {string}
|
|
5408
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5273
5409
|
*/
|
|
5274
|
-
'
|
|
5410
|
+
'country'?: string;
|
|
5275
5411
|
/**
|
|
5276
|
-
*
|
|
5277
|
-
* @type {
|
|
5278
|
-
* @memberof
|
|
5412
|
+
*
|
|
5413
|
+
* @type {string}
|
|
5414
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5279
5415
|
*/
|
|
5280
|
-
'
|
|
5416
|
+
'zipCode'?: string;
|
|
5281
5417
|
/**
|
|
5282
5418
|
*
|
|
5283
|
-
* @type {
|
|
5284
|
-
* @memberof
|
|
5419
|
+
* @type {string}
|
|
5420
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5285
5421
|
*/
|
|
5286
|
-
'
|
|
5422
|
+
'city'?: string;
|
|
5287
5423
|
/**
|
|
5288
5424
|
*
|
|
5289
|
-
* @type {
|
|
5290
|
-
* @memberof
|
|
5425
|
+
* @type {string}
|
|
5426
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5291
5427
|
*/
|
|
5292
|
-
'
|
|
5428
|
+
'address'?: string;
|
|
5293
5429
|
}
|
|
5294
5430
|
/**
|
|
5295
5431
|
* Make all properties in T optional
|
|
@@ -11996,6 +12132,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11996
12132
|
* @throws {RequiredError}
|
|
11997
12133
|
*/
|
|
11998
12134
|
getClubInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12135
|
+
/**
|
|
12136
|
+
*
|
|
12137
|
+
* @param {string} clubId
|
|
12138
|
+
* @param {*} [options] Override http request option.
|
|
12139
|
+
* @throws {RequiredError}
|
|
12140
|
+
*/
|
|
12141
|
+
getClubPageInfo: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11999
12142
|
/**
|
|
12000
12143
|
*
|
|
12001
12144
|
* @param {string} id
|
|
@@ -12049,7 +12192,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12049
12192
|
* @param {*} [options] Override http request option.
|
|
12050
12193
|
* @throws {RequiredError}
|
|
12051
12194
|
*/
|
|
12052
|
-
getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
12195
|
+
getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartialClubActiveResponse>>>;
|
|
12053
12196
|
/**
|
|
12054
12197
|
* Récupère la liste de tous les clubs
|
|
12055
12198
|
* @param {*} [options] Override http request option.
|
|
@@ -12086,6 +12229,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12086
12229
|
* @throws {RequiredError}
|
|
12087
12230
|
*/
|
|
12088
12231
|
getClubInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>>;
|
|
12232
|
+
/**
|
|
12233
|
+
*
|
|
12234
|
+
* @param {string} clubId
|
|
12235
|
+
* @param {*} [options] Override http request option.
|
|
12236
|
+
* @throws {RequiredError}
|
|
12237
|
+
*/
|
|
12238
|
+
getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>>;
|
|
12089
12239
|
/**
|
|
12090
12240
|
*
|
|
12091
12241
|
* @param {string} id
|
|
@@ -12139,7 +12289,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12139
12289
|
* @param {*} [options] Override http request option.
|
|
12140
12290
|
* @throws {RequiredError}
|
|
12141
12291
|
*/
|
|
12142
|
-
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
12292
|
+
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartialClubActiveResponse>>;
|
|
12143
12293
|
/**
|
|
12144
12294
|
* Récupère la liste de tous les clubs
|
|
12145
12295
|
* @param {*} [options] Override http request option.
|
|
@@ -12173,6 +12323,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12173
12323
|
* @throws {RequiredError}
|
|
12174
12324
|
*/
|
|
12175
12325
|
getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse>;
|
|
12326
|
+
/**
|
|
12327
|
+
*
|
|
12328
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
12329
|
+
* @param {*} [options] Override http request option.
|
|
12330
|
+
* @throws {RequiredError}
|
|
12331
|
+
*/
|
|
12332
|
+
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse>;
|
|
12176
12333
|
/**
|
|
12177
12334
|
*
|
|
12178
12335
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -12272,6 +12429,19 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
12272
12429
|
*/
|
|
12273
12430
|
readonly day: string;
|
|
12274
12431
|
}
|
|
12432
|
+
/**
|
|
12433
|
+
* Request parameters for getClubPageInfo operation in ClubsApi.
|
|
12434
|
+
* @export
|
|
12435
|
+
* @interface ClubsApiGetClubPageInfoRequest
|
|
12436
|
+
*/
|
|
12437
|
+
export interface ClubsApiGetClubPageInfoRequest {
|
|
12438
|
+
/**
|
|
12439
|
+
*
|
|
12440
|
+
* @type {string}
|
|
12441
|
+
* @memberof ClubsApiGetClubPageInfo
|
|
12442
|
+
*/
|
|
12443
|
+
readonly clubId: string;
|
|
12444
|
+
}
|
|
12275
12445
|
/**
|
|
12276
12446
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
12277
12447
|
* @export
|
|
@@ -12356,7 +12526,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12356
12526
|
* @throws {RequiredError}
|
|
12357
12527
|
* @memberof ClubsApi
|
|
12358
12528
|
*/
|
|
12359
|
-
getActiveClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
12529
|
+
getActiveClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartialClubActiveResponse[], any, {}>>;
|
|
12360
12530
|
/**
|
|
12361
12531
|
* Récupère la liste de tous les clubs
|
|
12362
12532
|
* @param {*} [options] Override http request option.
|
|
@@ -12395,6 +12565,14 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12395
12565
|
* @memberof ClubsApi
|
|
12396
12566
|
*/
|
|
12397
12567
|
getClubInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any, {}>>;
|
|
12568
|
+
/**
|
|
12569
|
+
*
|
|
12570
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
12571
|
+
* @param {*} [options] Override http request option.
|
|
12572
|
+
* @throws {RequiredError}
|
|
12573
|
+
* @memberof ClubsApi
|
|
12574
|
+
*/
|
|
12575
|
+
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPageResponse, any, {}>>;
|
|
12398
12576
|
/**
|
|
12399
12577
|
*
|
|
12400
12578
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -4512,6 +4512,34 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4512
4512
|
options: localVarRequestOptions,
|
|
4513
4513
|
};
|
|
4514
4514
|
}),
|
|
4515
|
+
/**
|
|
4516
|
+
*
|
|
4517
|
+
* @param {string} clubId
|
|
4518
|
+
* @param {*} [options] Override http request option.
|
|
4519
|
+
* @throws {RequiredError}
|
|
4520
|
+
*/
|
|
4521
|
+
getClubPageInfo: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
4522
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
4523
|
+
(0, common_1.assertParamExists)('getClubPageInfo', 'clubId', clubId);
|
|
4524
|
+
const localVarPath = `/api/clubs/club-page/{clubId}`
|
|
4525
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
4526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4527
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4528
|
+
let baseOptions;
|
|
4529
|
+
if (configuration) {
|
|
4530
|
+
baseOptions = configuration.baseOptions;
|
|
4531
|
+
}
|
|
4532
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4533
|
+
const localVarHeaderParameter = {};
|
|
4534
|
+
const localVarQueryParameter = {};
|
|
4535
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4536
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4537
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4538
|
+
return {
|
|
4539
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4540
|
+
options: localVarRequestOptions,
|
|
4541
|
+
};
|
|
4542
|
+
}),
|
|
4515
4543
|
/**
|
|
4516
4544
|
*
|
|
4517
4545
|
* @param {string} id
|
|
@@ -4780,6 +4808,21 @@ const ClubsApiFp = function (configuration) {
|
|
|
4780
4808
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4781
4809
|
});
|
|
4782
4810
|
},
|
|
4811
|
+
/**
|
|
4812
|
+
*
|
|
4813
|
+
* @param {string} clubId
|
|
4814
|
+
* @param {*} [options] Override http request option.
|
|
4815
|
+
* @throws {RequiredError}
|
|
4816
|
+
*/
|
|
4817
|
+
getClubPageInfo(clubId, options) {
|
|
4818
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4819
|
+
var _a, _b, _c;
|
|
4820
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPageInfo(clubId, options);
|
|
4821
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4822
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getClubPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4823
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4824
|
+
});
|
|
4825
|
+
},
|
|
4783
4826
|
/**
|
|
4784
4827
|
*
|
|
4785
4828
|
* @param {string} id
|
|
@@ -4931,6 +4974,15 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4931
4974
|
getClubInfo(options) {
|
|
4932
4975
|
return localVarFp.getClubInfo(options).then((request) => request(axios, basePath));
|
|
4933
4976
|
},
|
|
4977
|
+
/**
|
|
4978
|
+
*
|
|
4979
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
4980
|
+
* @param {*} [options] Override http request option.
|
|
4981
|
+
* @throws {RequiredError}
|
|
4982
|
+
*/
|
|
4983
|
+
getClubPageInfo(requestParameters, options) {
|
|
4984
|
+
return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
4985
|
+
},
|
|
4934
4986
|
/**
|
|
4935
4987
|
*
|
|
4936
4988
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -5051,6 +5103,16 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
5051
5103
|
getClubInfo(options) {
|
|
5052
5104
|
return (0, exports.ClubsApiFp)(this.configuration).getClubInfo(options).then((request) => request(this.axios, this.basePath));
|
|
5053
5105
|
}
|
|
5106
|
+
/**
|
|
5107
|
+
*
|
|
5108
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
5109
|
+
* @param {*} [options] Override http request option.
|
|
5110
|
+
* @throws {RequiredError}
|
|
5111
|
+
* @memberof ClubsApi
|
|
5112
|
+
*/
|
|
5113
|
+
getClubPageInfo(requestParameters, options) {
|
|
5114
|
+
return (0, exports.ClubsApiFp)(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
5115
|
+
}
|
|
5054
5116
|
/**
|
|
5055
5117
|
*
|
|
5056
5118
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|