@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/esm/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/esm/api.js
CHANGED
|
@@ -4458,6 +4458,34 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4458
4458
|
options: localVarRequestOptions,
|
|
4459
4459
|
};
|
|
4460
4460
|
}),
|
|
4461
|
+
/**
|
|
4462
|
+
*
|
|
4463
|
+
* @param {string} clubId
|
|
4464
|
+
* @param {*} [options] Override http request option.
|
|
4465
|
+
* @throws {RequiredError}
|
|
4466
|
+
*/
|
|
4467
|
+
getClubPageInfo: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
4468
|
+
// verify required parameter 'clubId' is not null or undefined
|
|
4469
|
+
assertParamExists('getClubPageInfo', 'clubId', clubId);
|
|
4470
|
+
const localVarPath = `/api/clubs/club-page/{clubId}`
|
|
4471
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
4472
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4473
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4474
|
+
let baseOptions;
|
|
4475
|
+
if (configuration) {
|
|
4476
|
+
baseOptions = configuration.baseOptions;
|
|
4477
|
+
}
|
|
4478
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4479
|
+
const localVarHeaderParameter = {};
|
|
4480
|
+
const localVarQueryParameter = {};
|
|
4481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4483
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4484
|
+
return {
|
|
4485
|
+
url: toPathString(localVarUrlObj),
|
|
4486
|
+
options: localVarRequestOptions,
|
|
4487
|
+
};
|
|
4488
|
+
}),
|
|
4461
4489
|
/**
|
|
4462
4490
|
*
|
|
4463
4491
|
* @param {string} id
|
|
@@ -4725,6 +4753,21 @@ export const ClubsApiFp = function (configuration) {
|
|
|
4725
4753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4726
4754
|
});
|
|
4727
4755
|
},
|
|
4756
|
+
/**
|
|
4757
|
+
*
|
|
4758
|
+
* @param {string} clubId
|
|
4759
|
+
* @param {*} [options] Override http request option.
|
|
4760
|
+
* @throws {RequiredError}
|
|
4761
|
+
*/
|
|
4762
|
+
getClubPageInfo(clubId, options) {
|
|
4763
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4764
|
+
var _a, _b, _c;
|
|
4765
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPageInfo(clubId, options);
|
|
4766
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4767
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getClubPageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4768
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4769
|
+
});
|
|
4770
|
+
},
|
|
4728
4771
|
/**
|
|
4729
4772
|
*
|
|
4730
4773
|
* @param {string} id
|
|
@@ -4875,6 +4918,15 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4875
4918
|
getClubInfo(options) {
|
|
4876
4919
|
return localVarFp.getClubInfo(options).then((request) => request(axios, basePath));
|
|
4877
4920
|
},
|
|
4921
|
+
/**
|
|
4922
|
+
*
|
|
4923
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
4924
|
+
* @param {*} [options] Override http request option.
|
|
4925
|
+
* @throws {RequiredError}
|
|
4926
|
+
*/
|
|
4927
|
+
getClubPageInfo(requestParameters, options) {
|
|
4928
|
+
return localVarFp.getClubPageInfo(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
4929
|
+
},
|
|
4878
4930
|
/**
|
|
4879
4931
|
*
|
|
4880
4932
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -4994,6 +5046,16 @@ export class ClubsApi extends BaseAPI {
|
|
|
4994
5046
|
getClubInfo(options) {
|
|
4995
5047
|
return ClubsApiFp(this.configuration).getClubInfo(options).then((request) => request(this.axios, this.basePath));
|
|
4996
5048
|
}
|
|
5049
|
+
/**
|
|
5050
|
+
*
|
|
5051
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
5052
|
+
* @param {*} [options] Override http request option.
|
|
5053
|
+
* @throws {RequiredError}
|
|
5054
|
+
* @memberof ClubsApi
|
|
5055
|
+
*/
|
|
5056
|
+
getClubPageInfo(requestParameters, options) {
|
|
5057
|
+
return ClubsApiFp(this.configuration).getClubPageInfo(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
5058
|
+
}
|
|
4997
5059
|
/**
|
|
4998
5060
|
*
|
|
4999
5061
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# ClubEvent
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**imageSrc** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**sport** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**endDate** | **string** | | [default to undefined]
|
|
12
|
+
**startDate** | **string** | | [default to undefined]
|
|
13
|
+
**name** | **string** | | [default to undefined]
|
|
14
|
+
**id** | **string** | | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ClubEvent } from '@tennac-booking/sdk';
|
|
20
|
+
|
|
21
|
+
const instance: ClubEvent = {
|
|
22
|
+
imageSrc,
|
|
23
|
+
sport,
|
|
24
|
+
description,
|
|
25
|
+
endDate,
|
|
26
|
+
startDate,
|
|
27
|
+
name,
|
|
28
|
+
id,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|