@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/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.104
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
|
@@ -5125,135 +5290,106 @@ export interface OffPeakRule {
|
|
|
5125
5290
|
/**
|
|
5126
5291
|
* Make all properties in T optional
|
|
5127
5292
|
* @export
|
|
5128
|
-
* @interface
|
|
5293
|
+
* @interface PartialClubActiveResponse
|
|
5129
5294
|
*/
|
|
5130
|
-
export interface
|
|
5295
|
+
export interface PartialClubActiveResponse {
|
|
5131
5296
|
/**
|
|
5132
|
-
*
|
|
5297
|
+
*
|
|
5133
5298
|
* @type {string}
|
|
5134
|
-
* @memberof
|
|
5299
|
+
* @memberof PartialClubActiveResponse
|
|
5135
5300
|
*/
|
|
5136
5301
|
'id'?: string;
|
|
5137
5302
|
/**
|
|
5138
|
-
*
|
|
5303
|
+
*
|
|
5139
5304
|
* @type {string}
|
|
5140
|
-
* @memberof
|
|
5305
|
+
* @memberof PartialClubActiveResponse
|
|
5141
5306
|
*/
|
|
5142
5307
|
'name'?: string;
|
|
5143
5308
|
/**
|
|
5144
|
-
*
|
|
5145
|
-
* @type {string}
|
|
5146
|
-
* @memberof PartialClubResponse
|
|
5147
|
-
*/
|
|
5148
|
-
'websiteUrl'?: string;
|
|
5149
|
-
/**
|
|
5150
|
-
* Description du club
|
|
5151
|
-
* @type {string}
|
|
5152
|
-
* @memberof PartialClubResponse
|
|
5153
|
-
*/
|
|
5154
|
-
'description'?: string;
|
|
5155
|
-
/**
|
|
5156
|
-
* Email du club
|
|
5157
|
-
* @type {string}
|
|
5158
|
-
* @memberof PartialClubResponse
|
|
5159
|
-
*/
|
|
5160
|
-
'email'?: string;
|
|
5161
|
-
/**
|
|
5162
|
-
* Téléphone du club
|
|
5163
|
-
* @type {string}
|
|
5164
|
-
* @memberof PartialClubResponse
|
|
5165
|
-
*/
|
|
5166
|
-
'phone'?: string;
|
|
5167
|
-
/**
|
|
5168
|
-
* URL de l\'image du club
|
|
5309
|
+
*
|
|
5169
5310
|
* @type {string}
|
|
5170
|
-
* @memberof
|
|
5311
|
+
* @memberof PartialClubActiveResponse
|
|
5171
5312
|
*/
|
|
5172
5313
|
'picture'?: string;
|
|
5173
5314
|
/**
|
|
5174
5315
|
*
|
|
5175
|
-
* @type {ClubResponseLocation}
|
|
5176
|
-
* @memberof PartialClubResponse
|
|
5177
|
-
*/
|
|
5178
|
-
'location'?: ClubResponseLocation;
|
|
5179
|
-
/**
|
|
5180
|
-
* Statut d\'activation du club
|
|
5181
|
-
* @type {boolean}
|
|
5182
|
-
* @memberof PartialClubResponse
|
|
5183
|
-
*/
|
|
5184
|
-
'isActive'?: boolean;
|
|
5185
|
-
/**
|
|
5186
|
-
* Indique si le club utilise la fonctionnalité de paiement
|
|
5187
5316
|
* @type {boolean}
|
|
5188
|
-
* @memberof
|
|
5317
|
+
* @memberof PartialClubActiveResponse
|
|
5189
5318
|
*/
|
|
5190
5319
|
'paymentFeature'?: boolean;
|
|
5191
5320
|
/**
|
|
5192
|
-
*
|
|
5193
|
-
* @type {
|
|
5194
|
-
* @memberof
|
|
5321
|
+
*
|
|
5322
|
+
* @type {boolean}
|
|
5323
|
+
* @memberof PartialClubActiveResponse
|
|
5195
5324
|
*/
|
|
5196
|
-
'
|
|
5325
|
+
'isNoShowEnabled'?: boolean;
|
|
5197
5326
|
/**
|
|
5198
|
-
*
|
|
5199
|
-
* @type {string}
|
|
5200
|
-
* @memberof
|
|
5327
|
+
*
|
|
5328
|
+
* @type {Array<string>}
|
|
5329
|
+
* @memberof PartialClubActiveResponse
|
|
5201
5330
|
*/
|
|
5202
|
-
'
|
|
5331
|
+
'bannerPictures'?: Array<string>;
|
|
5203
5332
|
/**
|
|
5204
|
-
*
|
|
5205
|
-
* @type {
|
|
5206
|
-
* @memberof
|
|
5333
|
+
*
|
|
5334
|
+
* @type {Array<string>}
|
|
5335
|
+
* @memberof PartialClubActiveResponse
|
|
5207
5336
|
*/
|
|
5208
|
-
'
|
|
5337
|
+
'galleryPictures'?: Array<string>;
|
|
5209
5338
|
/**
|
|
5210
|
-
*
|
|
5339
|
+
*
|
|
5211
5340
|
* @type {Array<string>}
|
|
5212
|
-
* @memberof
|
|
5341
|
+
* @memberof PartialClubActiveResponse
|
|
5213
5342
|
*/
|
|
5214
|
-
'
|
|
5343
|
+
'tags'?: Array<string>;
|
|
5215
5344
|
/**
|
|
5216
|
-
*
|
|
5217
|
-
* @type {
|
|
5218
|
-
* @memberof
|
|
5345
|
+
*
|
|
5346
|
+
* @type {PartialClubActiveResponseLocation}
|
|
5347
|
+
* @memberof PartialClubActiveResponse
|
|
5219
5348
|
*/
|
|
5220
|
-
'
|
|
5349
|
+
'location'?: PartialClubActiveResponseLocation;
|
|
5221
5350
|
/**
|
|
5222
|
-
*
|
|
5223
|
-
* @type {
|
|
5224
|
-
* @memberof
|
|
5351
|
+
* Liste des sports disponibles (clé du sport)
|
|
5352
|
+
* @type {Array<string>}
|
|
5353
|
+
* @memberof PartialClubActiveResponse
|
|
5225
5354
|
*/
|
|
5226
|
-
'
|
|
5355
|
+
'sports'?: Array<string>;
|
|
5356
|
+
}
|
|
5357
|
+
/**
|
|
5358
|
+
*
|
|
5359
|
+
* @export
|
|
5360
|
+
* @interface PartialClubActiveResponseLocation
|
|
5361
|
+
*/
|
|
5362
|
+
export interface PartialClubActiveResponseLocation {
|
|
5227
5363
|
/**
|
|
5228
5364
|
*
|
|
5229
|
-
* @type {
|
|
5230
|
-
* @memberof
|
|
5365
|
+
* @type {ClubResponseLocationCoordinates}
|
|
5366
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5231
5367
|
*/
|
|
5232
|
-
'
|
|
5368
|
+
'coordinates'?: ClubResponseLocationCoordinates;
|
|
5233
5369
|
/**
|
|
5234
|
-
*
|
|
5235
|
-
* @type {
|
|
5236
|
-
* @memberof
|
|
5370
|
+
*
|
|
5371
|
+
* @type {string}
|
|
5372
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5237
5373
|
*/
|
|
5238
|
-
'
|
|
5374
|
+
'country'?: string;
|
|
5239
5375
|
/**
|
|
5240
|
-
*
|
|
5241
|
-
* @type {
|
|
5242
|
-
* @memberof
|
|
5376
|
+
*
|
|
5377
|
+
* @type {string}
|
|
5378
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5243
5379
|
*/
|
|
5244
|
-
'
|
|
5380
|
+
'zipCode'?: string;
|
|
5245
5381
|
/**
|
|
5246
5382
|
*
|
|
5247
|
-
* @type {
|
|
5248
|
-
* @memberof
|
|
5383
|
+
* @type {string}
|
|
5384
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5249
5385
|
*/
|
|
5250
|
-
'
|
|
5386
|
+
'city'?: string;
|
|
5251
5387
|
/**
|
|
5252
5388
|
*
|
|
5253
|
-
* @type {
|
|
5254
|
-
* @memberof
|
|
5389
|
+
* @type {string}
|
|
5390
|
+
* @memberof PartialClubActiveResponseLocation
|
|
5255
5391
|
*/
|
|
5256
|
-
'
|
|
5392
|
+
'address'?: string;
|
|
5257
5393
|
}
|
|
5258
5394
|
/**
|
|
5259
5395
|
* Make all properties in T optional
|
|
@@ -11960,6 +12096,13 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11960
12096
|
* @throws {RequiredError}
|
|
11961
12097
|
*/
|
|
11962
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>;
|
|
11963
12106
|
/**
|
|
11964
12107
|
*
|
|
11965
12108
|
* @param {string} id
|
|
@@ -12013,7 +12156,7 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12013
12156
|
* @param {*} [options] Override http request option.
|
|
12014
12157
|
* @throws {RequiredError}
|
|
12015
12158
|
*/
|
|
12016
|
-
getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
12159
|
+
getActiveClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartialClubActiveResponse>>>;
|
|
12017
12160
|
/**
|
|
12018
12161
|
* Récupère la liste de tous les clubs
|
|
12019
12162
|
* @param {*} [options] Override http request option.
|
|
@@ -12050,6 +12193,13 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
12050
12193
|
* @throws {RequiredError}
|
|
12051
12194
|
*/
|
|
12052
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>>;
|
|
12053
12203
|
/**
|
|
12054
12204
|
*
|
|
12055
12205
|
* @param {string} id
|
|
@@ -12103,7 +12253,7 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12103
12253
|
* @param {*} [options] Override http request option.
|
|
12104
12254
|
* @throws {RequiredError}
|
|
12105
12255
|
*/
|
|
12106
|
-
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
12256
|
+
getActiveClubs(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartialClubActiveResponse>>;
|
|
12107
12257
|
/**
|
|
12108
12258
|
* Récupère la liste de tous les clubs
|
|
12109
12259
|
* @param {*} [options] Override http request option.
|
|
@@ -12137,6 +12287,13 @@ export declare const ClubsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
12137
12287
|
* @throws {RequiredError}
|
|
12138
12288
|
*/
|
|
12139
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>;
|
|
12140
12297
|
/**
|
|
12141
12298
|
*
|
|
12142
12299
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
|
@@ -12236,6 +12393,19 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
12236
12393
|
*/
|
|
12237
12394
|
readonly day: string;
|
|
12238
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
|
+
}
|
|
12239
12409
|
/**
|
|
12240
12410
|
* Request parameters for getClubUsersById operation in ClubsApi.
|
|
12241
12411
|
* @export
|
|
@@ -12320,7 +12490,7 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12320
12490
|
* @throws {RequiredError}
|
|
12321
12491
|
* @memberof ClubsApi
|
|
12322
12492
|
*/
|
|
12323
|
-
getActiveClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
12493
|
+
getActiveClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartialClubActiveResponse[], any, {}>>;
|
|
12324
12494
|
/**
|
|
12325
12495
|
* Récupère la liste de tous les clubs
|
|
12326
12496
|
* @param {*} [options] Override http request option.
|
|
@@ -12359,6 +12529,14 @@ export declare class ClubsApi extends BaseAPI {
|
|
|
12359
12529
|
* @memberof ClubsApi
|
|
12360
12530
|
*/
|
|
12361
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, {}>>;
|
|
12362
12540
|
/**
|
|
12363
12541
|
*
|
|
12364
12542
|
* @param {ClubsApiGetClubUsersByIdRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.104
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED