@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/dist/esm/api.d.ts
CHANGED
|
@@ -1755,6 +1755,37 @@ 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
|
+
'sport'?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
*
|
|
1772
|
+
* @type {string}
|
|
1773
|
+
* @memberof ClubEvent
|
|
1774
|
+
*/
|
|
1775
|
+
'description'?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @type {string}
|
|
1779
|
+
* @memberof ClubEvent
|
|
1780
|
+
*/
|
|
1781
|
+
'date': string;
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {string}
|
|
1785
|
+
* @memberof ClubEvent
|
|
1786
|
+
*/
|
|
1787
|
+
'name': string;
|
|
1788
|
+
}
|
|
1758
1789
|
/**
|
|
1759
1790
|
*
|
|
1760
1791
|
* @export
|
|
@@ -1910,6 +1941,109 @@ export interface ClubMemberResponseUser {
|
|
|
1910
1941
|
*/
|
|
1911
1942
|
'id': string;
|
|
1912
1943
|
}
|
|
1944
|
+
/**
|
|
1945
|
+
*
|
|
1946
|
+
* @export
|
|
1947
|
+
* @interface ClubPageResponse
|
|
1948
|
+
*/
|
|
1949
|
+
export interface ClubPageResponse {
|
|
1950
|
+
/**
|
|
1951
|
+
* ID unique du club
|
|
1952
|
+
* @type {string}
|
|
1953
|
+
* @memberof ClubPageResponse
|
|
1954
|
+
*/
|
|
1955
|
+
'id': string;
|
|
1956
|
+
/**
|
|
1957
|
+
* Nom du club
|
|
1958
|
+
* @type {string}
|
|
1959
|
+
* @memberof ClubPageResponse
|
|
1960
|
+
*/
|
|
1961
|
+
'name': string;
|
|
1962
|
+
/**
|
|
1963
|
+
* URL du site web du club
|
|
1964
|
+
* @type {string}
|
|
1965
|
+
* @memberof ClubPageResponse
|
|
1966
|
+
*/
|
|
1967
|
+
'websiteUrl'?: string;
|
|
1968
|
+
/**
|
|
1969
|
+
* Description du club
|
|
1970
|
+
* @type {string}
|
|
1971
|
+
* @memberof ClubPageResponse
|
|
1972
|
+
*/
|
|
1973
|
+
'description'?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Email du club
|
|
1976
|
+
* @type {string}
|
|
1977
|
+
* @memberof ClubPageResponse
|
|
1978
|
+
*/
|
|
1979
|
+
'email'?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* Téléphone du club
|
|
1982
|
+
* @type {string}
|
|
1983
|
+
* @memberof ClubPageResponse
|
|
1984
|
+
*/
|
|
1985
|
+
'phone'?: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* URL de l\'image du club
|
|
1988
|
+
* @type {string}
|
|
1989
|
+
* @memberof ClubPageResponse
|
|
1990
|
+
*/
|
|
1991
|
+
'picture'?: string;
|
|
1992
|
+
/**
|
|
1993
|
+
*
|
|
1994
|
+
* @type {ClubResponseLocation}
|
|
1995
|
+
* @memberof ClubPageResponse
|
|
1996
|
+
*/
|
|
1997
|
+
'location'?: ClubResponseLocation;
|
|
1998
|
+
/**
|
|
1999
|
+
* Statut d\'activation du club
|
|
2000
|
+
* @type {boolean}
|
|
2001
|
+
* @memberof ClubPageResponse
|
|
2002
|
+
*/
|
|
2003
|
+
'isActive': boolean;
|
|
2004
|
+
/**
|
|
2005
|
+
* Indique si le club utilise la fonctionnalité de paiement
|
|
2006
|
+
* @type {boolean}
|
|
2007
|
+
* @memberof ClubPageResponse
|
|
2008
|
+
*/
|
|
2009
|
+
'paymentFeature'?: boolean;
|
|
2010
|
+
/**
|
|
2011
|
+
* Indique si la fonctionnalité \"no show\" est activée
|
|
2012
|
+
* @type {boolean}
|
|
2013
|
+
* @memberof ClubPageResponse
|
|
2014
|
+
*/
|
|
2015
|
+
'isNoShowEnabled'?: boolean;
|
|
2016
|
+
/**
|
|
2017
|
+
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
2018
|
+
* @type {Array<string>}
|
|
2019
|
+
* @memberof ClubPageResponse
|
|
2020
|
+
*/
|
|
2021
|
+
'sports'?: Array<string>;
|
|
2022
|
+
/**
|
|
2023
|
+
*
|
|
2024
|
+
* @type {ClubPresentation}
|
|
2025
|
+
* @memberof ClubPageResponse
|
|
2026
|
+
*/
|
|
2027
|
+
'clubPresentation': ClubPresentation;
|
|
2028
|
+
/**
|
|
2029
|
+
*
|
|
2030
|
+
* @type {Array<ClubEvent>}
|
|
2031
|
+
* @memberof ClubPageResponse
|
|
2032
|
+
*/
|
|
2033
|
+
'comingEvent': Array<ClubEvent>;
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @type {ClubResponseCreatedAt}
|
|
2037
|
+
* @memberof ClubPageResponse
|
|
2038
|
+
*/
|
|
2039
|
+
'createdAt'?: ClubResponseCreatedAt;
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {ClubResponseUpdatedAt}
|
|
2043
|
+
* @memberof ClubPageResponse
|
|
2044
|
+
*/
|
|
2045
|
+
'updatedAt'?: ClubResponseUpdatedAt;
|
|
2046
|
+
}
|
|
1913
2047
|
/**
|
|
1914
2048
|
*
|
|
1915
2049
|
* @export
|
|
@@ -2414,6 +2548,37 @@ export interface ClubPlayerSubscriptionSummary {
|
|
|
2414
2548
|
*/
|
|
2415
2549
|
'interval': string | null;
|
|
2416
2550
|
}
|
|
2551
|
+
/**
|
|
2552
|
+
*
|
|
2553
|
+
* @export
|
|
2554
|
+
* @interface ClubPresentation
|
|
2555
|
+
*/
|
|
2556
|
+
export interface ClubPresentation {
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @type {Array<string>}
|
|
2560
|
+
* @memberof ClubPresentation
|
|
2561
|
+
*/
|
|
2562
|
+
'bannerPictures'?: Array<string>;
|
|
2563
|
+
/**
|
|
2564
|
+
*
|
|
2565
|
+
* @type {Array<string>}
|
|
2566
|
+
* @memberof ClubPresentation
|
|
2567
|
+
*/
|
|
2568
|
+
'galleryPictures'?: Array<string>;
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @type {Array<string>}
|
|
2572
|
+
* @memberof ClubPresentation
|
|
2573
|
+
*/
|
|
2574
|
+
'tags'?: Array<string>;
|
|
2575
|
+
/**
|
|
2576
|
+
*
|
|
2577
|
+
* @type {string}
|
|
2578
|
+
* @memberof ClubPresentation
|
|
2579
|
+
*/
|
|
2580
|
+
'description'?: string;
|
|
2581
|
+
}
|
|
2417
2582
|
/**
|
|
2418
2583
|
*
|
|
2419
2584
|
* @export
|
|
@@ -2567,24 +2732,6 @@ export interface ClubResponse {
|
|
|
2567
2732
|
* @memberof ClubResponse
|
|
2568
2733
|
*/
|
|
2569
2734
|
'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
2735
|
/**
|
|
2589
2736
|
*
|
|
2590
2737
|
* @type {ClubResponseLocation}
|
|
@@ -5143,153 +5290,106 @@ export interface OffPeakRule {
|
|
|
5143
5290
|
/**
|
|
5144
5291
|
* Make all properties in T optional
|
|
5145
5292
|
* @export
|
|
5146
|
-
* @interface
|
|
5293
|
+
* @interface PartialClubActiveResponse
|
|
5147
5294
|
*/
|
|
5148
|
-
export interface
|
|
5295
|
+
export interface PartialClubActiveResponse {
|
|
5149
5296
|
/**
|
|
5150
|
-
*
|
|
5297
|
+
*
|
|
5151
5298
|
* @type {string}
|
|
5152
|
-
* @memberof
|
|
5299
|
+
* @memberof PartialClubActiveResponse
|
|
5153
5300
|
*/
|
|
5154
5301
|
'id'?: string;
|
|
5155
5302
|
/**
|
|
5156
|
-
*
|
|
5303
|
+
*
|
|
5157
5304
|
* @type {string}
|
|
5158
|
-
* @memberof
|
|
5305
|
+
* @memberof PartialClubActiveResponse
|
|
5159
5306
|
*/
|
|
5160
5307
|
'name'?: string;
|
|
5161
5308
|
/**
|
|
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
|
|
5309
|
+
*
|
|
5175
5310
|
* @type {string}
|
|
5176
|
-
* @memberof
|
|
5311
|
+
* @memberof PartialClubActiveResponse
|
|
5177
5312
|
*/
|
|
5178
|
-
'
|
|
5313
|
+
'picture'?: string;
|
|
5179
5314
|
/**
|
|
5180
|
-
*
|
|
5181
|
-
* @type {
|
|
5182
|
-
* @memberof
|
|
5315
|
+
*
|
|
5316
|
+
* @type {boolean}
|
|
5317
|
+
* @memberof PartialClubActiveResponse
|
|
5183
5318
|
*/
|
|
5184
|
-
'
|
|
5319
|
+
'paymentFeature'?: boolean;
|
|
5185
5320
|
/**
|
|
5186
|
-
*
|
|
5187
|
-
* @type {
|
|
5188
|
-
* @memberof
|
|
5321
|
+
*
|
|
5322
|
+
* @type {boolean}
|
|
5323
|
+
* @memberof PartialClubActiveResponse
|
|
5189
5324
|
*/
|
|
5190
|
-
'
|
|
5325
|
+
'isNoShowEnabled'?: boolean;
|
|
5191
5326
|
/**
|
|
5192
5327
|
*
|
|
5193
5328
|
* @type {Array<string>}
|
|
5194
|
-
* @memberof
|
|
5329
|
+
* @memberof PartialClubActiveResponse
|
|
5195
5330
|
*/
|
|
5196
5331
|
'bannerPictures'?: Array<string>;
|
|
5197
5332
|
/**
|
|
5198
5333
|
*
|
|
5199
5334
|
* @type {Array<string>}
|
|
5200
|
-
* @memberof
|
|
5335
|
+
* @memberof PartialClubActiveResponse
|
|
5201
5336
|
*/
|
|
5202
5337
|
'galleryPictures'?: Array<string>;
|
|
5203
5338
|
/**
|
|
5204
5339
|
*
|
|
5205
5340
|
* @type {Array<string>}
|
|
5206
|
-
* @memberof
|
|
5341
|
+
* @memberof PartialClubActiveResponse
|
|
5207
5342
|
*/
|
|
5208
5343
|
'tags'?: Array<string>;
|
|
5209
5344
|
/**
|
|
5210
5345
|
*
|
|
5211
|
-
* @type {
|
|
5212
|
-
* @memberof
|
|
5213
|
-
*/
|
|
5214
|
-
'location'?: ClubResponseLocation;
|
|
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
|
|
5346
|
+
* @type {PartialClubActiveResponseLocation}
|
|
5347
|
+
* @memberof PartialClubActiveResponse
|
|
5225
5348
|
*/
|
|
5226
|
-
'
|
|
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;
|
|
5239
|
-
/**
|
|
5240
|
-
* Indique si la fonctionnalité \"no show\" est activée
|
|
5241
|
-
* @type {boolean}
|
|
5242
|
-
* @memberof PartialClubResponse
|
|
5243
|
-
*/
|
|
5244
|
-
'isNoShowEnabled'?: boolean;
|
|
5349
|
+
'location'?: PartialClubActiveResponseLocation;
|
|
5245
5350
|
/**
|
|
5246
|
-
* Liste des sports
|
|
5351
|
+
* Liste des sports disponibles (clé du sport)
|
|
5247
5352
|
* @type {Array<string>}
|
|
5248
|
-
* @memberof
|
|
5353
|
+
* @memberof PartialClubActiveResponse
|
|
5249
5354
|
*/
|
|
5250
5355
|
'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;
|
|
5356
|
+
}
|
|
5357
|
+
/**
|
|
5358
|
+
*
|
|
5359
|
+
* @export
|
|
5360
|
+
* @interface PartialClubActiveResponseLocation
|
|
5361
|
+
*/
|
|
5362
|
+
export interface PartialClubActiveResponseLocation {
|
|
5263
5363
|
/**
|
|
5264
5364
|
*
|
|
5265
|
-
* @type {
|
|
5266
|
-
* @memberof
|
|
5365
|
+
* @type {ClubResponseLocationCoordinates}
|
|
5366
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5267
5367
|
*/
|
|
5268
|
-
'
|
|
5368
|
+
'coordinates'?: ClubResponseLocationCoordinates;
|
|
5269
5369
|
/**
|
|
5270
|
-
*
|
|
5271
|
-
* @type {
|
|
5272
|
-
* @memberof
|
|
5370
|
+
*
|
|
5371
|
+
* @type {string}
|
|
5372
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5273
5373
|
*/
|
|
5274
|
-
'
|
|
5374
|
+
'country'?: string;
|
|
5275
5375
|
/**
|
|
5276
|
-
*
|
|
5277
|
-
* @type {
|
|
5278
|
-
* @memberof
|
|
5376
|
+
*
|
|
5377
|
+
* @type {string}
|
|
5378
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5279
5379
|
*/
|
|
5280
|
-
'
|
|
5380
|
+
'zipCode'?: string;
|
|
5281
5381
|
/**
|
|
5282
5382
|
*
|
|
5283
|
-
* @type {
|
|
5284
|
-
* @memberof
|
|
5383
|
+
* @type {string}
|
|
5384
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5285
5385
|
*/
|
|
5286
|
-
'
|
|
5386
|
+
'city'?: string;
|
|
5287
5387
|
/**
|
|
5288
5388
|
*
|
|
5289
|
-
* @type {
|
|
5290
|
-
* @memberof
|
|
5389
|
+
* @type {string}
|
|
5390
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5291
5391
|
*/
|
|
5292
|
-
'
|
|
5392
|
+
'address'?: string;
|
|
5293
5393
|
}
|
|
5294
5394
|
/**
|
|
5295
5395
|
* Make all properties in T optional
|
|
@@ -11996,6 +12096,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11996
12096
|
* @throws {RequiredError}
|
|
11997
12097
|
*/
|
|
11998
12098
|
getClubInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12099
|
+
/**
|
|
12100
|
+
*
|
|
12101
|
+
* @param {string} clubId
|
|
12102
|
+
* @param {*} [options] Override http request option.
|
|
12103
|
+
* @throws {RequiredError}
|
|
12104
|
+
*/
|
|
12105
|
+
getClubPageInfo: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11999
12106
|
/**
|
|
12000
12107
|
*
|
|
12001
12108
|
* @param {string} id
|
|
@@ -12049,7 +12156,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12049
12156
|
* @param {*} [options] Override http request option.
|
|
12050
12157
|
* @throws {RequiredError}
|
|
12051
12158
|
*/
|
|
12052
|
-
getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
12159
|
+
getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartialClubActiveResponse>>>;
|
|
12053
12160
|
/**
|
|
12054
12161
|
* Récupère la liste de tous les clubs
|
|
12055
12162
|
* @param {*} [options] Override http request option.
|
|
@@ -12086,6 +12193,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12086
12193
|
* @throws {RequiredError}
|
|
12087
12194
|
*/
|
|
12088
12195
|
getClubInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubResponse>>;
|
|
12196
|
+
/**
|
|
12197
|
+
*
|
|
12198
|
+
* @param {string} clubId
|
|
12199
|
+
* @param {*} [options] Override http request option.
|
|
12200
|
+
* @throws {RequiredError}
|
|
12201
|
+
*/
|
|
12202
|
+
getClubPageInfo(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPageResponse>>;
|
|
12089
12203
|
/**
|
|
12090
12204
|
*
|
|
12091
12205
|
* @param {string} id
|
|
@@ -12139,7 +12253,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12139
12253
|
* @param {*} [options] Override http request option.
|
|
12140
12254
|
* @throws {RequiredError}
|
|
12141
12255
|
*/
|
|
12142
|
-
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
12256
|
+
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartialClubActiveResponse>>;
|
|
12143
12257
|
/**
|
|
12144
12258
|
* Récupère la liste de tous les clubs
|
|
12145
12259
|
* @param {*} [options] Override http request option.
|
|
@@ -12173,6 +12287,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12173
12287
|
* @throws {RequiredError}
|
|
12174
12288
|
*/
|
|
12175
12289
|
getClubInfo(options?: RawAxiosRequestConfig): AxiosPromise<ClubResponse>;
|
|
12290
|
+
/**
|
|
12291
|
+
*
|
|
12292
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
12293
|
+
* @param {*} [options] Override http request option.
|
|
12294
|
+
* @throws {RequiredError}
|
|
12295
|
+
*/
|
|
12296
|
+
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPageResponse>;
|
|
12176
12297
|
/**
|
|
12177
12298
|
*
|
|
12178
12299
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -12272,6 +12393,19 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
12272
12393
|
*/
|
|
12273
12394
|
readonly day: string;
|
|
12274
12395
|
}
|
|
12396
|
+
/**
|
|
12397
|
+
* Request parameters for getClubPageInfo operation in ClubsApi.
|
|
12398
|
+
* @export
|
|
12399
|
+
* @interface ClubsApiGetClubPageInfoRequest
|
|
12400
|
+
*/
|
|
12401
|
+
export interface ClubsApiGetClubPageInfoRequest {
|
|
12402
|
+
/**
|
|
12403
|
+
*
|
|
12404
|
+
* @type {string}
|
|
12405
|
+
* @memberof ClubsApiGetClubPageInfo
|
|
12406
|
+
*/
|
|
12407
|
+
readonly clubId: string;
|
|
12408
|
+
}
|
|
12275
12409
|
/**
|
|
12276
12410
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
12277
12411
|
* @export
|
|
@@ -12356,7 +12490,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12356
12490
|
* @throws {RequiredError}
|
|
12357
12491
|
* @memberof ClubsApi
|
|
12358
12492
|
*/
|
|
12359
|
-
getActiveClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
12493
|
+
getActiveClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartialClubActiveResponse[], any, {}>>;
|
|
12360
12494
|
/**
|
|
12361
12495
|
* Récupère la liste de tous les clubs
|
|
12362
12496
|
* @param {*} [options] Override http request option.
|
|
@@ -12395,6 +12529,14 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12395
12529
|
* @memberof ClubsApi
|
|
12396
12530
|
*/
|
|
12397
12531
|
getClubInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubResponse, any, {}>>;
|
|
12532
|
+
/**
|
|
12533
|
+
*
|
|
12534
|
+
* @param {ClubsApiGetClubPageInfoRequest} requestParameters Request parameters.
|
|
12535
|
+
* @param {*} [options] Override http request option.
|
|
12536
|
+
* @throws {RequiredError}
|
|
12537
|
+
* @memberof ClubsApi
|
|
12538
|
+
*/
|
|
12539
|
+
getClubPageInfo(requestParameters: ClubsApiGetClubPageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPageResponse, any, {}>>;
|
|
12398
12540
|
/**
|
|
12399
12541
|
*
|
|
12400
12542
|
* @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,26 @@
|
|
|
1
|
+
# ClubEvent
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sport** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**date** | **string** | | [default to undefined]
|
|
11
|
+
**name** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ClubEvent } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: ClubEvent = {
|
|
19
|
+
sport,
|
|
20
|
+
description,
|
|
21
|
+
date,
|
|
22
|
+
name,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|