@tennac-booking/sdk 1.0.30 → 1.0.31
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 +0 -1
- package/README.md +3 -4
- package/api.ts +10 -49
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +5 -35
- package/dist/api.js +10 -20
- 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 +5 -35
- package/dist/esm/api.js +10 -20
- 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/StaffClubsApi.md +5 -13
- package/docs/UserProfileApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/GetClubSettingsRequest.md +0 -20
package/.openapi-generator/FILES
CHANGED
|
@@ -89,7 +89,6 @@ docs/FrequentlyVisitedClubItem.md
|
|
|
89
89
|
docs/GenerateSlotsResponse.md
|
|
90
90
|
docs/GetActiveClubs200Response.md
|
|
91
91
|
docs/GetClubInfos200Response.md
|
|
92
|
-
docs/GetClubSettingsRequest.md
|
|
93
92
|
docs/GetClubUsersById200Response.md
|
|
94
93
|
docs/GetCourtsByClubAndSport200Response.md
|
|
95
94
|
docs/GetLastSixMonthsTurnover200ResponseInner.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.31
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.31 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -143,7 +143,7 @@ Class | Method | HTTP request | Description
|
|
|
143
143
|
*UserProfileApi* | [**getUserDescription**](docs/UserProfileApi.md#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté
|
|
144
144
|
*UserProfileApi* | [**getUserInfo**](docs/UserProfileApi.md#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté
|
|
145
145
|
*UserProfileApi* | [**getUserProfileVisibility**](docs/UserProfileApi.md#getuserprofilevisibility) | **GET** /api/users/me/profile-visibility | Récupère la visibilité du profil de l\'utilisateur connecté
|
|
146
|
-
*UserProfileApi* | [**removeFavoriteClub**](docs/UserProfileApi.md#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs | Remove a club from the user\'s favorite list
|
|
146
|
+
*UserProfileApi* | [**removeFavoriteClub**](docs/UserProfileApi.md#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | Remove a club from the user\'s favorite list
|
|
147
147
|
*UserProfileApi* | [**removeFavoritePlayer**](docs/UserProfileApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | Retire un joueur des favoris de l\'utilisateur connecté
|
|
148
148
|
*UserProfileApi* | [**updateLevelBySports**](docs/UserProfileApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
149
149
|
*UserProfileApi* | [**updateProfilePicture**](docs/UserProfileApi.md#updateprofilepicture) | **PUT** /api/users/me/profile-picture | Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
@@ -235,7 +235,6 @@ Class | Method | HTTP request | Description
|
|
|
235
235
|
- [GenerateSlotsResponse](docs/GenerateSlotsResponse.md)
|
|
236
236
|
- [GetActiveClubs200Response](docs/GetActiveClubs200Response.md)
|
|
237
237
|
- [GetClubInfos200Response](docs/GetClubInfos200Response.md)
|
|
238
|
-
- [GetClubSettingsRequest](docs/GetClubSettingsRequest.md)
|
|
239
238
|
- [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
|
|
240
239
|
- [GetCourtsByClubAndSport200Response](docs/GetCourtsByClubAndSport200Response.md)
|
|
241
240
|
- [GetLastSixMonthsTurnover200ResponseInner](docs/GetLastSixMonthsTurnover200ResponseInner.md)
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2522,19 +2522,6 @@ export interface GetClubInfos200Response {
|
|
|
2522
2522
|
*/
|
|
2523
2523
|
'websiteUrl'?: string;
|
|
2524
2524
|
}
|
|
2525
|
-
/**
|
|
2526
|
-
*
|
|
2527
|
-
* @export
|
|
2528
|
-
* @interface GetClubSettingsRequest
|
|
2529
|
-
*/
|
|
2530
|
-
export interface GetClubSettingsRequest {
|
|
2531
|
-
/**
|
|
2532
|
-
*
|
|
2533
|
-
* @type {string}
|
|
2534
|
-
* @memberof GetClubSettingsRequest
|
|
2535
|
-
*/
|
|
2536
|
-
'clubId': string;
|
|
2537
|
-
}
|
|
2538
2525
|
/**
|
|
2539
2526
|
*
|
|
2540
2527
|
* @export
|
|
@@ -10946,13 +10933,10 @@ export const StaffClubsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
10946
10933
|
/**
|
|
10947
10934
|
*
|
|
10948
10935
|
* @summary Récupère les paramètres d’un club
|
|
10949
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
10950
10936
|
* @param {*} [options] Override http request option.
|
|
10951
10937
|
* @throws {RequiredError}
|
|
10952
10938
|
*/
|
|
10953
|
-
getClubSettings: async (
|
|
10954
|
-
// verify required parameter 'getClubSettingsRequest' is not null or undefined
|
|
10955
|
-
assertParamExists('getClubSettings', 'getClubSettingsRequest', getClubSettingsRequest)
|
|
10939
|
+
getClubSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10956
10940
|
const localVarPath = `/api/club-settings`;
|
|
10957
10941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10958
10942
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10971,12 +10955,9 @@ export const StaffClubsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
10971
10955
|
|
|
10972
10956
|
|
|
10973
10957
|
|
|
10974
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10975
|
-
|
|
10976
10958
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10977
10959
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10978
10960
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10979
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getClubSettingsRequest, localVarRequestOptions, configuration)
|
|
10980
10961
|
|
|
10981
10962
|
return {
|
|
10982
10963
|
url: toPathString(localVarUrlObj),
|
|
@@ -11008,12 +10989,11 @@ export const StaffClubsApiFp = function(configuration?: Configuration) {
|
|
|
11008
10989
|
/**
|
|
11009
10990
|
*
|
|
11010
10991
|
* @summary Récupère les paramètres d’un club
|
|
11011
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
11012
10992
|
* @param {*} [options] Override http request option.
|
|
11013
10993
|
* @throws {RequiredError}
|
|
11014
10994
|
*/
|
|
11015
|
-
async getClubSettings(
|
|
11016
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubSettings(
|
|
10995
|
+
async getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>> {
|
|
10996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubSettings(options);
|
|
11017
10997
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11018
10998
|
const localVarOperationServerBasePath = operationServerMap['StaffClubsApi.getClubSettings']?.[localVarOperationServerIndex]?.url;
|
|
11019
10999
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11040,30 +11020,15 @@ export const StaffClubsApiFactory = function (configuration?: Configuration, bas
|
|
|
11040
11020
|
/**
|
|
11041
11021
|
*
|
|
11042
11022
|
* @summary Récupère les paramètres d’un club
|
|
11043
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
11044
11023
|
* @param {*} [options] Override http request option.
|
|
11045
11024
|
* @throws {RequiredError}
|
|
11046
11025
|
*/
|
|
11047
|
-
getClubSettings(
|
|
11048
|
-
return localVarFp.getClubSettings(
|
|
11026
|
+
getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings> {
|
|
11027
|
+
return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
|
|
11049
11028
|
},
|
|
11050
11029
|
};
|
|
11051
11030
|
};
|
|
11052
11031
|
|
|
11053
|
-
/**
|
|
11054
|
-
* Request parameters for getClubSettings operation in StaffClubsApi.
|
|
11055
|
-
* @export
|
|
11056
|
-
* @interface StaffClubsApiGetClubSettingsRequest
|
|
11057
|
-
*/
|
|
11058
|
-
export interface StaffClubsApiGetClubSettingsRequest {
|
|
11059
|
-
/**
|
|
11060
|
-
*
|
|
11061
|
-
* @type {GetClubSettingsRequest}
|
|
11062
|
-
* @memberof StaffClubsApiGetClubSettings
|
|
11063
|
-
*/
|
|
11064
|
-
readonly getClubSettingsRequest: GetClubSettingsRequest
|
|
11065
|
-
}
|
|
11066
|
-
|
|
11067
11032
|
/**
|
|
11068
11033
|
* StaffClubsApi - object-oriented interface
|
|
11069
11034
|
* @export
|
|
@@ -11085,13 +11050,12 @@ export class StaffClubsApi extends BaseAPI {
|
|
|
11085
11050
|
/**
|
|
11086
11051
|
*
|
|
11087
11052
|
* @summary Récupère les paramètres d’un club
|
|
11088
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
11089
11053
|
* @param {*} [options] Override http request option.
|
|
11090
11054
|
* @throws {RequiredError}
|
|
11091
11055
|
* @memberof StaffClubsApi
|
|
11092
11056
|
*/
|
|
11093
|
-
public getClubSettings(
|
|
11094
|
-
return StaffClubsApiFp(this.configuration).getClubSettings(
|
|
11057
|
+
public getClubSettings(options?: RawAxiosRequestConfig) {
|
|
11058
|
+
return StaffClubsApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
|
|
11095
11059
|
}
|
|
11096
11060
|
}
|
|
11097
11061
|
|
|
@@ -13659,7 +13623,8 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
13659
13623
|
removeFavoriteClub: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13660
13624
|
// verify required parameter 'clubId' is not null or undefined
|
|
13661
13625
|
assertParamExists('removeFavoriteClub', 'clubId', clubId)
|
|
13662
|
-
const localVarPath = `/api/users/me/favorite-clubs
|
|
13626
|
+
const localVarPath = `/api/users/me/favorite-clubs/{clubId}`
|
|
13627
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
13663
13628
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13664
13629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13665
13630
|
let baseOptions;
|
|
@@ -13675,10 +13640,6 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
13675
13640
|
// http bearer authentication required
|
|
13676
13641
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13677
13642
|
|
|
13678
|
-
if (clubId !== undefined) {
|
|
13679
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
13680
|
-
}
|
|
13681
|
-
|
|
13682
13643
|
|
|
13683
13644
|
|
|
13684
13645
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2474,19 +2474,6 @@ export interface GetClubInfos200Response {
|
|
|
2474
2474
|
*/
|
|
2475
2475
|
'websiteUrl'?: string;
|
|
2476
2476
|
}
|
|
2477
|
-
/**
|
|
2478
|
-
*
|
|
2479
|
-
* @export
|
|
2480
|
-
* @interface GetClubSettingsRequest
|
|
2481
|
-
*/
|
|
2482
|
-
export interface GetClubSettingsRequest {
|
|
2483
|
-
/**
|
|
2484
|
-
*
|
|
2485
|
-
* @type {string}
|
|
2486
|
-
* @memberof GetClubSettingsRequest
|
|
2487
|
-
*/
|
|
2488
|
-
'clubId': string;
|
|
2489
|
-
}
|
|
2490
2477
|
/**
|
|
2491
2478
|
*
|
|
2492
2479
|
* @export
|
|
@@ -8059,11 +8046,10 @@ export declare const StaffClubsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8059
8046
|
/**
|
|
8060
8047
|
*
|
|
8061
8048
|
* @summary Récupère les paramètres d’un club
|
|
8062
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
8063
8049
|
* @param {*} [options] Override http request option.
|
|
8064
8050
|
* @throws {RequiredError}
|
|
8065
8051
|
*/
|
|
8066
|
-
getClubSettings: (
|
|
8052
|
+
getClubSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8067
8053
|
};
|
|
8068
8054
|
/**
|
|
8069
8055
|
* StaffClubsApi - functional programming interface
|
|
@@ -8080,11 +8066,10 @@ export declare const StaffClubsApiFp: (configuration?: Configuration) => {
|
|
|
8080
8066
|
/**
|
|
8081
8067
|
*
|
|
8082
8068
|
* @summary Récupère les paramètres d’un club
|
|
8083
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
8084
8069
|
* @param {*} [options] Override http request option.
|
|
8085
8070
|
* @throws {RequiredError}
|
|
8086
8071
|
*/
|
|
8087
|
-
getClubSettings(
|
|
8072
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
|
|
8088
8073
|
};
|
|
8089
8074
|
/**
|
|
8090
8075
|
* StaffClubsApi - factory interface
|
|
@@ -8101,25 +8086,11 @@ export declare const StaffClubsApiFactory: (configuration?: Configuration, baseP
|
|
|
8101
8086
|
/**
|
|
8102
8087
|
*
|
|
8103
8088
|
* @summary Récupère les paramètres d’un club
|
|
8104
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
8105
8089
|
* @param {*} [options] Override http request option.
|
|
8106
8090
|
* @throws {RequiredError}
|
|
8107
8091
|
*/
|
|
8108
|
-
getClubSettings(
|
|
8092
|
+
getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
|
|
8109
8093
|
};
|
|
8110
|
-
/**
|
|
8111
|
-
* Request parameters for getClubSettings operation in StaffClubsApi.
|
|
8112
|
-
* @export
|
|
8113
|
-
* @interface StaffClubsApiGetClubSettingsRequest
|
|
8114
|
-
*/
|
|
8115
|
-
export interface StaffClubsApiGetClubSettingsRequest {
|
|
8116
|
-
/**
|
|
8117
|
-
*
|
|
8118
|
-
* @type {GetClubSettingsRequest}
|
|
8119
|
-
* @memberof StaffClubsApiGetClubSettings
|
|
8120
|
-
*/
|
|
8121
|
-
readonly getClubSettingsRequest: GetClubSettingsRequest;
|
|
8122
|
-
}
|
|
8123
8094
|
/**
|
|
8124
8095
|
* StaffClubsApi - object-oriented interface
|
|
8125
8096
|
* @export
|
|
@@ -8138,12 +8109,11 @@ export declare class StaffClubsApi extends BaseAPI {
|
|
|
8138
8109
|
/**
|
|
8139
8110
|
*
|
|
8140
8111
|
* @summary Récupère les paramètres d’un club
|
|
8141
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
8142
8112
|
* @param {*} [options] Override http request option.
|
|
8143
8113
|
* @throws {RequiredError}
|
|
8144
8114
|
* @memberof StaffClubsApi
|
|
8145
8115
|
*/
|
|
8146
|
-
getClubSettings(
|
|
8116
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
|
|
8147
8117
|
}
|
|
8148
8118
|
/**
|
|
8149
8119
|
* StaffEventsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.31
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4973,13 +4973,10 @@ const StaffClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4973
4973
|
/**
|
|
4974
4974
|
*
|
|
4975
4975
|
* @summary Récupère les paramètres d’un club
|
|
4976
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4977
4976
|
* @param {*} [options] Override http request option.
|
|
4978
4977
|
* @throws {RequiredError}
|
|
4979
4978
|
*/
|
|
4980
|
-
getClubSettings: (
|
|
4981
|
-
// verify required parameter 'getClubSettingsRequest' is not null or undefined
|
|
4982
|
-
(0, common_1.assertParamExists)('getClubSettings', 'getClubSettingsRequest', getClubSettingsRequest);
|
|
4979
|
+
getClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4983
4980
|
const localVarPath = `/api/club-settings`;
|
|
4984
4981
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4985
4982
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4993,11 +4990,9 @@ const StaffClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4993
4990
|
// authentication bearerAuth required
|
|
4994
4991
|
// http bearer authentication required
|
|
4995
4992
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4996
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4997
4993
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4998
4994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4999
4995
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5000
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getClubSettingsRequest, localVarRequestOptions, configuration);
|
|
5001
4996
|
return {
|
|
5002
4997
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5003
4998
|
options: localVarRequestOptions,
|
|
@@ -5031,14 +5026,13 @@ const StaffClubsApiFp = function (configuration) {
|
|
|
5031
5026
|
/**
|
|
5032
5027
|
*
|
|
5033
5028
|
* @summary Récupère les paramètres d’un club
|
|
5034
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
5035
5029
|
* @param {*} [options] Override http request option.
|
|
5036
5030
|
* @throws {RequiredError}
|
|
5037
5031
|
*/
|
|
5038
|
-
getClubSettings(
|
|
5032
|
+
getClubSettings(options) {
|
|
5039
5033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5040
5034
|
var _a, _b, _c;
|
|
5041
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(
|
|
5035
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(options);
|
|
5042
5036
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5043
5037
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StaffClubsApi.getClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5044
5038
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5066,12 +5060,11 @@ const StaffClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
5066
5060
|
/**
|
|
5067
5061
|
*
|
|
5068
5062
|
* @summary Récupère les paramètres d’un club
|
|
5069
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
5070
5063
|
* @param {*} [options] Override http request option.
|
|
5071
5064
|
* @throws {RequiredError}
|
|
5072
5065
|
*/
|
|
5073
|
-
getClubSettings(
|
|
5074
|
-
return localVarFp.getClubSettings(
|
|
5066
|
+
getClubSettings(options) {
|
|
5067
|
+
return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
|
|
5075
5068
|
},
|
|
5076
5069
|
};
|
|
5077
5070
|
};
|
|
@@ -5096,13 +5089,12 @@ class StaffClubsApi extends base_1.BaseAPI {
|
|
|
5096
5089
|
/**
|
|
5097
5090
|
*
|
|
5098
5091
|
* @summary Récupère les paramètres d’un club
|
|
5099
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
5100
5092
|
* @param {*} [options] Override http request option.
|
|
5101
5093
|
* @throws {RequiredError}
|
|
5102
5094
|
* @memberof StaffClubsApi
|
|
5103
5095
|
*/
|
|
5104
|
-
getClubSettings(
|
|
5105
|
-
return (0, exports.StaffClubsApiFp)(this.configuration).getClubSettings(
|
|
5096
|
+
getClubSettings(options) {
|
|
5097
|
+
return (0, exports.StaffClubsApiFp)(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
|
|
5106
5098
|
}
|
|
5107
5099
|
}
|
|
5108
5100
|
exports.StaffClubsApi = StaffClubsApi;
|
|
@@ -7225,7 +7217,8 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
7225
7217
|
removeFavoriteClub: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
7226
7218
|
// verify required parameter 'clubId' is not null or undefined
|
|
7227
7219
|
(0, common_1.assertParamExists)('removeFavoriteClub', 'clubId', clubId);
|
|
7228
|
-
const localVarPath = `/api/users/me/favorite-clubs
|
|
7220
|
+
const localVarPath = `/api/users/me/favorite-clubs/{clubId}`
|
|
7221
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
7229
7222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7230
7223
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7231
7224
|
let baseOptions;
|
|
@@ -7238,9 +7231,6 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
7238
7231
|
// authentication bearerAuth required
|
|
7239
7232
|
// http bearer authentication required
|
|
7240
7233
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7241
|
-
if (clubId !== undefined) {
|
|
7242
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
7243
|
-
}
|
|
7244
7234
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7245
7235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7246
7236
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.31
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.31
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.31
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2474,19 +2474,6 @@ export interface GetClubInfos200Response {
|
|
|
2474
2474
|
*/
|
|
2475
2475
|
'websiteUrl'?: string;
|
|
2476
2476
|
}
|
|
2477
|
-
/**
|
|
2478
|
-
*
|
|
2479
|
-
* @export
|
|
2480
|
-
* @interface GetClubSettingsRequest
|
|
2481
|
-
*/
|
|
2482
|
-
export interface GetClubSettingsRequest {
|
|
2483
|
-
/**
|
|
2484
|
-
*
|
|
2485
|
-
* @type {string}
|
|
2486
|
-
* @memberof GetClubSettingsRequest
|
|
2487
|
-
*/
|
|
2488
|
-
'clubId': string;
|
|
2489
|
-
}
|
|
2490
2477
|
/**
|
|
2491
2478
|
*
|
|
2492
2479
|
* @export
|
|
@@ -8059,11 +8046,10 @@ export declare const StaffClubsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8059
8046
|
/**
|
|
8060
8047
|
*
|
|
8061
8048
|
* @summary Récupère les paramètres d’un club
|
|
8062
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
8063
8049
|
* @param {*} [options] Override http request option.
|
|
8064
8050
|
* @throws {RequiredError}
|
|
8065
8051
|
*/
|
|
8066
|
-
getClubSettings: (
|
|
8052
|
+
getClubSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8067
8053
|
};
|
|
8068
8054
|
/**
|
|
8069
8055
|
* StaffClubsApi - functional programming interface
|
|
@@ -8080,11 +8066,10 @@ export declare const StaffClubsApiFp: (configuration?: Configuration) => {
|
|
|
8080
8066
|
/**
|
|
8081
8067
|
*
|
|
8082
8068
|
* @summary Récupère les paramètres d’un club
|
|
8083
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
8084
8069
|
* @param {*} [options] Override http request option.
|
|
8085
8070
|
* @throws {RequiredError}
|
|
8086
8071
|
*/
|
|
8087
|
-
getClubSettings(
|
|
8072
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
|
|
8088
8073
|
};
|
|
8089
8074
|
/**
|
|
8090
8075
|
* StaffClubsApi - factory interface
|
|
@@ -8101,25 +8086,11 @@ export declare const StaffClubsApiFactory: (configuration?: Configuration, baseP
|
|
|
8101
8086
|
/**
|
|
8102
8087
|
*
|
|
8103
8088
|
* @summary Récupère les paramètres d’un club
|
|
8104
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
8105
8089
|
* @param {*} [options] Override http request option.
|
|
8106
8090
|
* @throws {RequiredError}
|
|
8107
8091
|
*/
|
|
8108
|
-
getClubSettings(
|
|
8092
|
+
getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
|
|
8109
8093
|
};
|
|
8110
|
-
/**
|
|
8111
|
-
* Request parameters for getClubSettings operation in StaffClubsApi.
|
|
8112
|
-
* @export
|
|
8113
|
-
* @interface StaffClubsApiGetClubSettingsRequest
|
|
8114
|
-
*/
|
|
8115
|
-
export interface StaffClubsApiGetClubSettingsRequest {
|
|
8116
|
-
/**
|
|
8117
|
-
*
|
|
8118
|
-
* @type {GetClubSettingsRequest}
|
|
8119
|
-
* @memberof StaffClubsApiGetClubSettings
|
|
8120
|
-
*/
|
|
8121
|
-
readonly getClubSettingsRequest: GetClubSettingsRequest;
|
|
8122
|
-
}
|
|
8123
8094
|
/**
|
|
8124
8095
|
* StaffClubsApi - object-oriented interface
|
|
8125
8096
|
* @export
|
|
@@ -8138,12 +8109,11 @@ export declare class StaffClubsApi extends BaseAPI {
|
|
|
8138
8109
|
/**
|
|
8139
8110
|
*
|
|
8140
8111
|
* @summary Récupère les paramètres d’un club
|
|
8141
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
8142
8112
|
* @param {*} [options] Override http request option.
|
|
8143
8113
|
* @throws {RequiredError}
|
|
8144
8114
|
* @memberof StaffClubsApi
|
|
8145
8115
|
*/
|
|
8146
|
-
getClubSettings(
|
|
8116
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
|
|
8147
8117
|
}
|
|
8148
8118
|
/**
|
|
8149
8119
|
* StaffEventsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4900,13 +4900,10 @@ export const StaffClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4900
4900
|
/**
|
|
4901
4901
|
*
|
|
4902
4902
|
* @summary Récupère les paramètres d’un club
|
|
4903
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4904
4903
|
* @param {*} [options] Override http request option.
|
|
4905
4904
|
* @throws {RequiredError}
|
|
4906
4905
|
*/
|
|
4907
|
-
getClubSettings: (
|
|
4908
|
-
// verify required parameter 'getClubSettingsRequest' is not null or undefined
|
|
4909
|
-
assertParamExists('getClubSettings', 'getClubSettingsRequest', getClubSettingsRequest);
|
|
4906
|
+
getClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4910
4907
|
const localVarPath = `/api/club-settings`;
|
|
4911
4908
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4912
4909
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4920,11 +4917,9 @@ export const StaffClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4920
4917
|
// authentication bearerAuth required
|
|
4921
4918
|
// http bearer authentication required
|
|
4922
4919
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4923
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4924
4920
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4925
4921
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4926
4922
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4927
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getClubSettingsRequest, localVarRequestOptions, configuration);
|
|
4928
4923
|
return {
|
|
4929
4924
|
url: toPathString(localVarUrlObj),
|
|
4930
4925
|
options: localVarRequestOptions,
|
|
@@ -4957,14 +4952,13 @@ export const StaffClubsApiFp = function (configuration) {
|
|
|
4957
4952
|
/**
|
|
4958
4953
|
*
|
|
4959
4954
|
* @summary Récupère les paramètres d’un club
|
|
4960
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
4961
4955
|
* @param {*} [options] Override http request option.
|
|
4962
4956
|
* @throws {RequiredError}
|
|
4963
4957
|
*/
|
|
4964
|
-
getClubSettings(
|
|
4958
|
+
getClubSettings(options) {
|
|
4965
4959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4966
4960
|
var _a, _b, _c;
|
|
4967
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(
|
|
4961
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(options);
|
|
4968
4962
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4969
4963
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StaffClubsApi.getClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4970
4964
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4991,12 +4985,11 @@ export const StaffClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4991
4985
|
/**
|
|
4992
4986
|
*
|
|
4993
4987
|
* @summary Récupère les paramètres d’un club
|
|
4994
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
4995
4988
|
* @param {*} [options] Override http request option.
|
|
4996
4989
|
* @throws {RequiredError}
|
|
4997
4990
|
*/
|
|
4998
|
-
getClubSettings(
|
|
4999
|
-
return localVarFp.getClubSettings(
|
|
4991
|
+
getClubSettings(options) {
|
|
4992
|
+
return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
|
|
5000
4993
|
},
|
|
5001
4994
|
};
|
|
5002
4995
|
};
|
|
@@ -5020,13 +5013,12 @@ export class StaffClubsApi extends BaseAPI {
|
|
|
5020
5013
|
/**
|
|
5021
5014
|
*
|
|
5022
5015
|
* @summary Récupère les paramètres d’un club
|
|
5023
|
-
* @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
5024
5016
|
* @param {*} [options] Override http request option.
|
|
5025
5017
|
* @throws {RequiredError}
|
|
5026
5018
|
* @memberof StaffClubsApi
|
|
5027
5019
|
*/
|
|
5028
|
-
getClubSettings(
|
|
5029
|
-
return StaffClubsApiFp(this.configuration).getClubSettings(
|
|
5020
|
+
getClubSettings(options) {
|
|
5021
|
+
return StaffClubsApiFp(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
|
|
5030
5022
|
}
|
|
5031
5023
|
}
|
|
5032
5024
|
/**
|
|
@@ -7108,7 +7100,8 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
7108
7100
|
removeFavoriteClub: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
7109
7101
|
// verify required parameter 'clubId' is not null or undefined
|
|
7110
7102
|
assertParamExists('removeFavoriteClub', 'clubId', clubId);
|
|
7111
|
-
const localVarPath = `/api/users/me/favorite-clubs
|
|
7103
|
+
const localVarPath = `/api/users/me/favorite-clubs/{clubId}`
|
|
7104
|
+
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
7112
7105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7113
7106
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7114
7107
|
let baseOptions;
|
|
@@ -7121,9 +7114,6 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
7121
7114
|
// authentication bearerAuth required
|
|
7122
7115
|
// http bearer authentication required
|
|
7123
7116
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7124
|
-
if (clubId !== undefined) {
|
|
7125
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
7126
|
-
}
|
|
7127
7117
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7128
7118
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7129
7119
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.31
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.31
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/StaffClubsApi.md
CHANGED
|
@@ -52,7 +52,7 @@ This endpoint does not have any parameters.
|
|
|
52
52
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
53
53
|
|
|
54
54
|
# **getClubSettings**
|
|
55
|
-
> ClubSettings getClubSettings(
|
|
55
|
+
> ClubSettings getClubSettings()
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
### Example
|
|
@@ -60,25 +60,17 @@ This endpoint does not have any parameters.
|
|
|
60
60
|
```typescript
|
|
61
61
|
import {
|
|
62
62
|
StaffClubsApi,
|
|
63
|
-
Configuration
|
|
64
|
-
GetClubSettingsRequest
|
|
63
|
+
Configuration
|
|
65
64
|
} from '@tennac-booking/sdk';
|
|
66
65
|
|
|
67
66
|
const configuration = new Configuration();
|
|
68
67
|
const apiInstance = new StaffClubsApi(configuration);
|
|
69
68
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const { status, data } = await apiInstance.getClubSettings(
|
|
73
|
-
getClubSettingsRequest
|
|
74
|
-
);
|
|
69
|
+
const { status, data } = await apiInstance.getClubSettings();
|
|
75
70
|
```
|
|
76
71
|
|
|
77
72
|
### Parameters
|
|
78
|
-
|
|
79
|
-
|Name | Type | Description | Notes|
|
|
80
|
-
|------------- | ------------- | ------------- | -------------|
|
|
81
|
-
| **getClubSettingsRequest** | **GetClubSettingsRequest**| | |
|
|
73
|
+
This endpoint does not have any parameters.
|
|
82
74
|
|
|
83
75
|
|
|
84
76
|
### Return type
|
|
@@ -91,7 +83,7 @@ const { status, data } = await apiInstance.getClubSettings(
|
|
|
91
83
|
|
|
92
84
|
### HTTP request headers
|
|
93
85
|
|
|
94
|
-
- **Content-Type**:
|
|
86
|
+
- **Content-Type**: Not defined
|
|
95
87
|
- **Accept**: application/json
|
|
96
88
|
|
|
97
89
|
|
package/docs/UserProfileApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *https://api.mon-domaine.com*
|
|
|
19
19
|
|[**getUserDescription**](#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté|
|
|
20
20
|
|[**getUserInfo**](#getuserinfo) | **GET** /api/users/me | Récupère les informations de l\'utilisateur connecté|
|
|
21
21
|
|[**getUserProfileVisibility**](#getuserprofilevisibility) | **GET** /api/users/me/profile-visibility | Récupère la visibilité du profil de l\'utilisateur connecté|
|
|
22
|
-
|[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs | Remove a club from the user\'s favorite list|
|
|
22
|
+
|[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | Remove a club from the user\'s favorite list|
|
|
23
23
|
|[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | Retire un joueur des favoris de l\'utilisateur connecté|
|
|
24
24
|
|[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | Met à jour le tableau levelBySports de l\'utilisateur connecté|
|
|
25
25
|
|[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | Met à jour l\'URL de la photo de profil de l\'utilisateur connecté|
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Pandook API
|
|
5
5
|
* API for managing pickle ball games and players
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.31
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# GetClubSettingsRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubId** | **string** | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { GetClubSettingsRequest } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: GetClubSettingsRequest = {
|
|
16
|
-
clubId,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|