@tennac-booking/sdk 1.0.29 → 1.0.30
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 +2 -0
- package/README.md +5 -2
- package/api.ts +186 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +145 -1
- package/dist/api.js +70 -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 +145 -1
- package/dist/esm/api.js +70 -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/PublicClubUser.md +12 -0
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
- package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
- package/docs/UserProfileApi.md +53 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -130,6 +130,8 @@ docs/PriceResponse.md
|
|
|
130
130
|
docs/ProfilePictureResponse.md
|
|
131
131
|
docs/ProfileVisibilityResponse.md
|
|
132
132
|
docs/PublicClubUser.md
|
|
133
|
+
docs/PublicClubUserFrequentlyPlayedWithInner.md
|
|
134
|
+
docs/PublicClubUserFrequentlyVisitedClubsInner.md
|
|
133
135
|
docs/PublicClubUserLevelBySportsInner.md
|
|
134
136
|
docs/RefreshTokenRequestBody.md
|
|
135
137
|
docs/RefreshTokenResponse.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.30
|
|
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.30 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -137,6 +137,7 @@ Class | Method | HTTP request | Description
|
|
|
137
137
|
*UserProfileApi* | [**getFrequentlyPlayedWith**](docs/UserProfileApi.md#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
138
138
|
*UserProfileApi* | [**getFrequentlyVisitedClub**](docs/UserProfileApi.md#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | Clubs les plus fréquemment visités par l\'utilisateur connecté
|
|
139
139
|
*UserProfileApi* | [**getProfilePicture**](docs/UserProfileApi.md#getprofilepicture) | **GET** /api/users/me/profile-picture | Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
140
|
+
*UserProfileApi* | [**getPublicUserProfile**](docs/UserProfileApi.md#getpublicuserprofile) | **GET** /api/users/profile/{id} | Récupère le profil public d\'un utilisateur par son ID
|
|
140
141
|
*UserProfileApi* | [**getUserBookings**](docs/UserProfileApi.md#getuserbookings) | **GET** /api/users/me/bookings | Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
141
142
|
*UserProfileApi* | [**getUserCity**](docs/UserProfileApi.md#getusercity) | **GET** /api/users/me/city | Récupère la ville de l\'utilisateur connecté
|
|
142
143
|
*UserProfileApi* | [**getUserDescription**](docs/UserProfileApi.md#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté
|
|
@@ -267,6 +268,8 @@ Class | Method | HTTP request | Description
|
|
|
267
268
|
- [ProfilePictureResponse](docs/ProfilePictureResponse.md)
|
|
268
269
|
- [ProfileVisibilityResponse](docs/ProfileVisibilityResponse.md)
|
|
269
270
|
- [PublicClubUser](docs/PublicClubUser.md)
|
|
271
|
+
- [PublicClubUserFrequentlyPlayedWithInner](docs/PublicClubUserFrequentlyPlayedWithInner.md)
|
|
272
|
+
- [PublicClubUserFrequentlyVisitedClubsInner](docs/PublicClubUserFrequentlyVisitedClubsInner.md)
|
|
270
273
|
- [PublicClubUserLevelBySportsInner](docs/PublicClubUserLevelBySportsInner.md)
|
|
271
274
|
- [RefreshTokenRequestBody](docs/RefreshTokenRequestBody.md)
|
|
272
275
|
- [RefreshTokenResponse](docs/RefreshTokenResponse.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.30
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3364,6 +3364,18 @@ export interface PublicClubUser {
|
|
|
3364
3364
|
* @memberof PublicClubUser
|
|
3365
3365
|
*/
|
|
3366
3366
|
'lastName'?: string;
|
|
3367
|
+
/**
|
|
3368
|
+
*
|
|
3369
|
+
* @type {string}
|
|
3370
|
+
* @memberof PublicClubUser
|
|
3371
|
+
*/
|
|
3372
|
+
'createdAt'?: string;
|
|
3373
|
+
/**
|
|
3374
|
+
*
|
|
3375
|
+
* @type {boolean}
|
|
3376
|
+
* @memberof PublicClubUser
|
|
3377
|
+
*/
|
|
3378
|
+
'isAccountVerified'?: boolean;
|
|
3367
3379
|
/**
|
|
3368
3380
|
*
|
|
3369
3381
|
* @type {string}
|
|
@@ -3394,6 +3406,92 @@ export interface PublicClubUser {
|
|
|
3394
3406
|
* @memberof PublicClubUser
|
|
3395
3407
|
*/
|
|
3396
3408
|
'city'?: string | null;
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @type {Array<string>}
|
|
3412
|
+
* @memberof PublicClubUser
|
|
3413
|
+
*/
|
|
3414
|
+
'favoriteClubs'?: Array<string>;
|
|
3415
|
+
/**
|
|
3416
|
+
*
|
|
3417
|
+
* @type {Array<string>}
|
|
3418
|
+
* @memberof PublicClubUser
|
|
3419
|
+
*/
|
|
3420
|
+
'favoritePlayers'?: Array<string>;
|
|
3421
|
+
/**
|
|
3422
|
+
*
|
|
3423
|
+
* @type {Array<PublicClubUserFrequentlyPlayedWithInner>}
|
|
3424
|
+
* @memberof PublicClubUser
|
|
3425
|
+
*/
|
|
3426
|
+
'frequentlyPlayedWith'?: Array<PublicClubUserFrequentlyPlayedWithInner>;
|
|
3427
|
+
/**
|
|
3428
|
+
*
|
|
3429
|
+
* @type {Array<PublicClubUserFrequentlyVisitedClubsInner>}
|
|
3430
|
+
* @memberof PublicClubUser
|
|
3431
|
+
*/
|
|
3432
|
+
'frequentlyVisitedClubs'?: Array<PublicClubUserFrequentlyVisitedClubsInner>;
|
|
3433
|
+
}
|
|
3434
|
+
/**
|
|
3435
|
+
*
|
|
3436
|
+
* @export
|
|
3437
|
+
* @interface PublicClubUserFrequentlyPlayedWithInner
|
|
3438
|
+
*/
|
|
3439
|
+
export interface PublicClubUserFrequentlyPlayedWithInner {
|
|
3440
|
+
/**
|
|
3441
|
+
*
|
|
3442
|
+
* @type {string}
|
|
3443
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3444
|
+
*/
|
|
3445
|
+
'userId'?: string;
|
|
3446
|
+
/**
|
|
3447
|
+
*
|
|
3448
|
+
* @type {string}
|
|
3449
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3450
|
+
*/
|
|
3451
|
+
'firstName'?: string;
|
|
3452
|
+
/**
|
|
3453
|
+
*
|
|
3454
|
+
* @type {string}
|
|
3455
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3456
|
+
*/
|
|
3457
|
+
'lastName'?: string;
|
|
3458
|
+
/**
|
|
3459
|
+
*
|
|
3460
|
+
* @type {string}
|
|
3461
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3462
|
+
*/
|
|
3463
|
+
'profilePicture'?: string;
|
|
3464
|
+
/**
|
|
3465
|
+
*
|
|
3466
|
+
* @type {number}
|
|
3467
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3468
|
+
*/
|
|
3469
|
+
'playCount'?: number;
|
|
3470
|
+
}
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @export
|
|
3474
|
+
* @interface PublicClubUserFrequentlyVisitedClubsInner
|
|
3475
|
+
*/
|
|
3476
|
+
export interface PublicClubUserFrequentlyVisitedClubsInner {
|
|
3477
|
+
/**
|
|
3478
|
+
*
|
|
3479
|
+
* @type {string}
|
|
3480
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3481
|
+
*/
|
|
3482
|
+
'clubId'?: string;
|
|
3483
|
+
/**
|
|
3484
|
+
*
|
|
3485
|
+
* @type {string}
|
|
3486
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3487
|
+
*/
|
|
3488
|
+
'name'?: string;
|
|
3489
|
+
/**
|
|
3490
|
+
*
|
|
3491
|
+
* @type {number}
|
|
3492
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3493
|
+
*/
|
|
3494
|
+
'visitCount'?: number;
|
|
3397
3495
|
}
|
|
3398
3496
|
/**
|
|
3399
3497
|
*
|
|
@@ -13324,6 +13422,44 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
13324
13422
|
|
|
13325
13423
|
|
|
13326
13424
|
|
|
13425
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13426
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13427
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13428
|
+
|
|
13429
|
+
return {
|
|
13430
|
+
url: toPathString(localVarUrlObj),
|
|
13431
|
+
options: localVarRequestOptions,
|
|
13432
|
+
};
|
|
13433
|
+
},
|
|
13434
|
+
/**
|
|
13435
|
+
*
|
|
13436
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
13437
|
+
* @param {string} id ID de l\'utilisateur
|
|
13438
|
+
* @param {*} [options] Override http request option.
|
|
13439
|
+
* @throws {RequiredError}
|
|
13440
|
+
*/
|
|
13441
|
+
getPublicUserProfile: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13442
|
+
// verify required parameter 'id' is not null or undefined
|
|
13443
|
+
assertParamExists('getPublicUserProfile', 'id', id)
|
|
13444
|
+
const localVarPath = `/api/users/profile/{id}`
|
|
13445
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13448
|
+
let baseOptions;
|
|
13449
|
+
if (configuration) {
|
|
13450
|
+
baseOptions = configuration.baseOptions;
|
|
13451
|
+
}
|
|
13452
|
+
|
|
13453
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13454
|
+
const localVarHeaderParameter = {} as any;
|
|
13455
|
+
const localVarQueryParameter = {} as any;
|
|
13456
|
+
|
|
13457
|
+
// authentication bearerAuth required
|
|
13458
|
+
// http bearer authentication required
|
|
13459
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13460
|
+
|
|
13461
|
+
|
|
13462
|
+
|
|
13327
13463
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13328
13464
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13329
13465
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13956,6 +14092,19 @@ export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
|
13956
14092
|
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getProfilePicture']?.[localVarOperationServerIndex]?.url;
|
|
13957
14093
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13958
14094
|
},
|
|
14095
|
+
/**
|
|
14096
|
+
*
|
|
14097
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
14098
|
+
* @param {string} id ID de l\'utilisateur
|
|
14099
|
+
* @param {*} [options] Override http request option.
|
|
14100
|
+
* @throws {RequiredError}
|
|
14101
|
+
*/
|
|
14102
|
+
async getPublicUserProfile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicClubUser>> {
|
|
14103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicUserProfile(id, options);
|
|
14104
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14105
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getPublicUserProfile']?.[localVarOperationServerIndex]?.url;
|
|
14106
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14107
|
+
},
|
|
13959
14108
|
/**
|
|
13960
14109
|
*
|
|
13961
14110
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -14217,6 +14366,16 @@ export const UserProfileApiFactory = function (configuration?: Configuration, ba
|
|
|
14217
14366
|
getProfilePicture(options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse> {
|
|
14218
14367
|
return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
|
|
14219
14368
|
},
|
|
14369
|
+
/**
|
|
14370
|
+
*
|
|
14371
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
14372
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
14373
|
+
* @param {*} [options] Override http request option.
|
|
14374
|
+
* @throws {RequiredError}
|
|
14375
|
+
*/
|
|
14376
|
+
getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicClubUser> {
|
|
14377
|
+
return localVarFp.getPublicUserProfile(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
14378
|
+
},
|
|
14220
14379
|
/**
|
|
14221
14380
|
*
|
|
14222
14381
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -14416,6 +14575,20 @@ export interface UserProfileApiGetAllUsersRequest {
|
|
|
14416
14575
|
readonly search?: string
|
|
14417
14576
|
}
|
|
14418
14577
|
|
|
14578
|
+
/**
|
|
14579
|
+
* Request parameters for getPublicUserProfile operation in UserProfileApi.
|
|
14580
|
+
* @export
|
|
14581
|
+
* @interface UserProfileApiGetPublicUserProfileRequest
|
|
14582
|
+
*/
|
|
14583
|
+
export interface UserProfileApiGetPublicUserProfileRequest {
|
|
14584
|
+
/**
|
|
14585
|
+
* ID de l\'utilisateur
|
|
14586
|
+
* @type {string}
|
|
14587
|
+
* @memberof UserProfileApiGetPublicUserProfile
|
|
14588
|
+
*/
|
|
14589
|
+
readonly id: string
|
|
14590
|
+
}
|
|
14591
|
+
|
|
14419
14592
|
/**
|
|
14420
14593
|
* Request parameters for getUserBookings operation in UserProfileApi.
|
|
14421
14594
|
* @export
|
|
@@ -14659,6 +14832,18 @@ export class UserProfileApi extends BaseAPI {
|
|
|
14659
14832
|
return UserProfileApiFp(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
|
|
14660
14833
|
}
|
|
14661
14834
|
|
|
14835
|
+
/**
|
|
14836
|
+
*
|
|
14837
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
14838
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
14839
|
+
* @param {*} [options] Override http request option.
|
|
14840
|
+
* @throws {RequiredError}
|
|
14841
|
+
* @memberof UserProfileApi
|
|
14842
|
+
*/
|
|
14843
|
+
public getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig) {
|
|
14844
|
+
return UserProfileApiFp(this.configuration).getPublicUserProfile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
14845
|
+
}
|
|
14846
|
+
|
|
14662
14847
|
/**
|
|
14663
14848
|
*
|
|
14664
14849
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3300,6 +3300,18 @@ export interface PublicClubUser {
|
|
|
3300
3300
|
* @memberof PublicClubUser
|
|
3301
3301
|
*/
|
|
3302
3302
|
'lastName'?: string;
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @type {string}
|
|
3306
|
+
* @memberof PublicClubUser
|
|
3307
|
+
*/
|
|
3308
|
+
'createdAt'?: string;
|
|
3309
|
+
/**
|
|
3310
|
+
*
|
|
3311
|
+
* @type {boolean}
|
|
3312
|
+
* @memberof PublicClubUser
|
|
3313
|
+
*/
|
|
3314
|
+
'isAccountVerified'?: boolean;
|
|
3303
3315
|
/**
|
|
3304
3316
|
*
|
|
3305
3317
|
* @type {string}
|
|
@@ -3330,6 +3342,92 @@ export interface PublicClubUser {
|
|
|
3330
3342
|
* @memberof PublicClubUser
|
|
3331
3343
|
*/
|
|
3332
3344
|
'city'?: string | null;
|
|
3345
|
+
/**
|
|
3346
|
+
*
|
|
3347
|
+
* @type {Array<string>}
|
|
3348
|
+
* @memberof PublicClubUser
|
|
3349
|
+
*/
|
|
3350
|
+
'favoriteClubs'?: Array<string>;
|
|
3351
|
+
/**
|
|
3352
|
+
*
|
|
3353
|
+
* @type {Array<string>}
|
|
3354
|
+
* @memberof PublicClubUser
|
|
3355
|
+
*/
|
|
3356
|
+
'favoritePlayers'?: Array<string>;
|
|
3357
|
+
/**
|
|
3358
|
+
*
|
|
3359
|
+
* @type {Array<PublicClubUserFrequentlyPlayedWithInner>}
|
|
3360
|
+
* @memberof PublicClubUser
|
|
3361
|
+
*/
|
|
3362
|
+
'frequentlyPlayedWith'?: Array<PublicClubUserFrequentlyPlayedWithInner>;
|
|
3363
|
+
/**
|
|
3364
|
+
*
|
|
3365
|
+
* @type {Array<PublicClubUserFrequentlyVisitedClubsInner>}
|
|
3366
|
+
* @memberof PublicClubUser
|
|
3367
|
+
*/
|
|
3368
|
+
'frequentlyVisitedClubs'?: Array<PublicClubUserFrequentlyVisitedClubsInner>;
|
|
3369
|
+
}
|
|
3370
|
+
/**
|
|
3371
|
+
*
|
|
3372
|
+
* @export
|
|
3373
|
+
* @interface PublicClubUserFrequentlyPlayedWithInner
|
|
3374
|
+
*/
|
|
3375
|
+
export interface PublicClubUserFrequentlyPlayedWithInner {
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @type {string}
|
|
3379
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3380
|
+
*/
|
|
3381
|
+
'userId'?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
*
|
|
3384
|
+
* @type {string}
|
|
3385
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3386
|
+
*/
|
|
3387
|
+
'firstName'?: string;
|
|
3388
|
+
/**
|
|
3389
|
+
*
|
|
3390
|
+
* @type {string}
|
|
3391
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3392
|
+
*/
|
|
3393
|
+
'lastName'?: string;
|
|
3394
|
+
/**
|
|
3395
|
+
*
|
|
3396
|
+
* @type {string}
|
|
3397
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3398
|
+
*/
|
|
3399
|
+
'profilePicture'?: string;
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @type {number}
|
|
3403
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3404
|
+
*/
|
|
3405
|
+
'playCount'?: number;
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
*
|
|
3409
|
+
* @export
|
|
3410
|
+
* @interface PublicClubUserFrequentlyVisitedClubsInner
|
|
3411
|
+
*/
|
|
3412
|
+
export interface PublicClubUserFrequentlyVisitedClubsInner {
|
|
3413
|
+
/**
|
|
3414
|
+
*
|
|
3415
|
+
* @type {string}
|
|
3416
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3417
|
+
*/
|
|
3418
|
+
'clubId'?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
*
|
|
3421
|
+
* @type {string}
|
|
3422
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3423
|
+
*/
|
|
3424
|
+
'name'?: string;
|
|
3425
|
+
/**
|
|
3426
|
+
*
|
|
3427
|
+
* @type {number}
|
|
3428
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3429
|
+
*/
|
|
3430
|
+
'visitCount'?: number;
|
|
3333
3431
|
}
|
|
3334
3432
|
/**
|
|
3335
3433
|
*
|
|
@@ -9206,6 +9304,14 @@ export declare const UserProfileApiAxiosParamCreator: (configuration?: Configura
|
|
|
9206
9304
|
* @throws {RequiredError}
|
|
9207
9305
|
*/
|
|
9208
9306
|
getProfilePicture: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9307
|
+
/**
|
|
9308
|
+
*
|
|
9309
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
9310
|
+
* @param {string} id ID de l\'utilisateur
|
|
9311
|
+
* @param {*} [options] Override http request option.
|
|
9312
|
+
* @throws {RequiredError}
|
|
9313
|
+
*/
|
|
9314
|
+
getPublicUserProfile: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9209
9315
|
/**
|
|
9210
9316
|
*
|
|
9211
9317
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -9382,6 +9488,14 @@ export declare const UserProfileApiFp: (configuration?: Configuration) => {
|
|
|
9382
9488
|
* @throws {RequiredError}
|
|
9383
9489
|
*/
|
|
9384
9490
|
getProfilePicture(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfilePictureResponse>>;
|
|
9491
|
+
/**
|
|
9492
|
+
*
|
|
9493
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
9494
|
+
* @param {string} id ID de l\'utilisateur
|
|
9495
|
+
* @param {*} [options] Override http request option.
|
|
9496
|
+
* @throws {RequiredError}
|
|
9497
|
+
*/
|
|
9498
|
+
getPublicUserProfile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicClubUser>>;
|
|
9385
9499
|
/**
|
|
9386
9500
|
*
|
|
9387
9501
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -9556,6 +9670,14 @@ export declare const UserProfileApiFactory: (configuration?: Configuration, base
|
|
|
9556
9670
|
* @throws {RequiredError}
|
|
9557
9671
|
*/
|
|
9558
9672
|
getProfilePicture(options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse>;
|
|
9673
|
+
/**
|
|
9674
|
+
*
|
|
9675
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
9676
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
9677
|
+
* @param {*} [options] Override http request option.
|
|
9678
|
+
* @throws {RequiredError}
|
|
9679
|
+
*/
|
|
9680
|
+
getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicClubUser>;
|
|
9559
9681
|
/**
|
|
9560
9682
|
*
|
|
9561
9683
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -9721,6 +9843,19 @@ export interface UserProfileApiGetAllUsersRequest {
|
|
|
9721
9843
|
*/
|
|
9722
9844
|
readonly search?: string;
|
|
9723
9845
|
}
|
|
9846
|
+
/**
|
|
9847
|
+
* Request parameters for getPublicUserProfile operation in UserProfileApi.
|
|
9848
|
+
* @export
|
|
9849
|
+
* @interface UserProfileApiGetPublicUserProfileRequest
|
|
9850
|
+
*/
|
|
9851
|
+
export interface UserProfileApiGetPublicUserProfileRequest {
|
|
9852
|
+
/**
|
|
9853
|
+
* ID de l\'utilisateur
|
|
9854
|
+
* @type {string}
|
|
9855
|
+
* @memberof UserProfileApiGetPublicUserProfile
|
|
9856
|
+
*/
|
|
9857
|
+
readonly id: string;
|
|
9858
|
+
}
|
|
9724
9859
|
/**
|
|
9725
9860
|
* Request parameters for getUserBookings operation in UserProfileApi.
|
|
9726
9861
|
* @export
|
|
@@ -9927,6 +10062,15 @@ export declare class UserProfileApi extends BaseAPI {
|
|
|
9927
10062
|
* @memberof UserProfileApi
|
|
9928
10063
|
*/
|
|
9929
10064
|
getProfilePicture(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfilePictureResponse, any>>;
|
|
10065
|
+
/**
|
|
10066
|
+
*
|
|
10067
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
10068
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
10069
|
+
* @param {*} [options] Override http request option.
|
|
10070
|
+
* @throws {RequiredError}
|
|
10071
|
+
* @memberof UserProfileApi
|
|
10072
|
+
*/
|
|
10073
|
+
getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicClubUser, any>>;
|
|
9930
10074
|
/**
|
|
9931
10075
|
*
|
|
9932
10076
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
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.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -7035,6 +7035,38 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
7035
7035
|
options: localVarRequestOptions,
|
|
7036
7036
|
};
|
|
7037
7037
|
}),
|
|
7038
|
+
/**
|
|
7039
|
+
*
|
|
7040
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
7041
|
+
* @param {string} id ID de l\'utilisateur
|
|
7042
|
+
* @param {*} [options] Override http request option.
|
|
7043
|
+
* @throws {RequiredError}
|
|
7044
|
+
*/
|
|
7045
|
+
getPublicUserProfile: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7046
|
+
// verify required parameter 'id' is not null or undefined
|
|
7047
|
+
(0, common_1.assertParamExists)('getPublicUserProfile', 'id', id);
|
|
7048
|
+
const localVarPath = `/api/users/profile/{id}`
|
|
7049
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7050
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7051
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7052
|
+
let baseOptions;
|
|
7053
|
+
if (configuration) {
|
|
7054
|
+
baseOptions = configuration.baseOptions;
|
|
7055
|
+
}
|
|
7056
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7057
|
+
const localVarHeaderParameter = {};
|
|
7058
|
+
const localVarQueryParameter = {};
|
|
7059
|
+
// authentication bearerAuth required
|
|
7060
|
+
// http bearer authentication required
|
|
7061
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7062
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7063
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7064
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7065
|
+
return {
|
|
7066
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7067
|
+
options: localVarRequestOptions,
|
|
7068
|
+
};
|
|
7069
|
+
}),
|
|
7038
7070
|
/**
|
|
7039
7071
|
*
|
|
7040
7072
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -7598,6 +7630,22 @@ const UserProfileApiFp = function (configuration) {
|
|
|
7598
7630
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7599
7631
|
});
|
|
7600
7632
|
},
|
|
7633
|
+
/**
|
|
7634
|
+
*
|
|
7635
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
7636
|
+
* @param {string} id ID de l\'utilisateur
|
|
7637
|
+
* @param {*} [options] Override http request option.
|
|
7638
|
+
* @throws {RequiredError}
|
|
7639
|
+
*/
|
|
7640
|
+
getPublicUserProfile(id, options) {
|
|
7641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7642
|
+
var _a, _b, _c;
|
|
7643
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublicUserProfile(id, options);
|
|
7644
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7645
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getPublicUserProfile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7646
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7647
|
+
});
|
|
7648
|
+
},
|
|
7601
7649
|
/**
|
|
7602
7650
|
*
|
|
7603
7651
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -7898,6 +7946,16 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
7898
7946
|
getProfilePicture(options) {
|
|
7899
7947
|
return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
|
|
7900
7948
|
},
|
|
7949
|
+
/**
|
|
7950
|
+
*
|
|
7951
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
7952
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
7953
|
+
* @param {*} [options] Override http request option.
|
|
7954
|
+
* @throws {RequiredError}
|
|
7955
|
+
*/
|
|
7956
|
+
getPublicUserProfile(requestParameters, options) {
|
|
7957
|
+
return localVarFp.getPublicUserProfile(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7958
|
+
},
|
|
7901
7959
|
/**
|
|
7902
7960
|
*
|
|
7903
7961
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -8128,6 +8186,17 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
8128
8186
|
getProfilePicture(options) {
|
|
8129
8187
|
return (0, exports.UserProfileApiFp)(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
|
|
8130
8188
|
}
|
|
8189
|
+
/**
|
|
8190
|
+
*
|
|
8191
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
8192
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
8193
|
+
* @param {*} [options] Override http request option.
|
|
8194
|
+
* @throws {RequiredError}
|
|
8195
|
+
* @memberof UserProfileApi
|
|
8196
|
+
*/
|
|
8197
|
+
getPublicUserProfile(requestParameters, options) {
|
|
8198
|
+
return (0, exports.UserProfileApiFp)(this.configuration).getPublicUserProfile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8199
|
+
}
|
|
8131
8200
|
/**
|
|
8132
8201
|
*
|
|
8133
8202
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3300,6 +3300,18 @@ export interface PublicClubUser {
|
|
|
3300
3300
|
* @memberof PublicClubUser
|
|
3301
3301
|
*/
|
|
3302
3302
|
'lastName'?: string;
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @type {string}
|
|
3306
|
+
* @memberof PublicClubUser
|
|
3307
|
+
*/
|
|
3308
|
+
'createdAt'?: string;
|
|
3309
|
+
/**
|
|
3310
|
+
*
|
|
3311
|
+
* @type {boolean}
|
|
3312
|
+
* @memberof PublicClubUser
|
|
3313
|
+
*/
|
|
3314
|
+
'isAccountVerified'?: boolean;
|
|
3303
3315
|
/**
|
|
3304
3316
|
*
|
|
3305
3317
|
* @type {string}
|
|
@@ -3330,6 +3342,92 @@ export interface PublicClubUser {
|
|
|
3330
3342
|
* @memberof PublicClubUser
|
|
3331
3343
|
*/
|
|
3332
3344
|
'city'?: string | null;
|
|
3345
|
+
/**
|
|
3346
|
+
*
|
|
3347
|
+
* @type {Array<string>}
|
|
3348
|
+
* @memberof PublicClubUser
|
|
3349
|
+
*/
|
|
3350
|
+
'favoriteClubs'?: Array<string>;
|
|
3351
|
+
/**
|
|
3352
|
+
*
|
|
3353
|
+
* @type {Array<string>}
|
|
3354
|
+
* @memberof PublicClubUser
|
|
3355
|
+
*/
|
|
3356
|
+
'favoritePlayers'?: Array<string>;
|
|
3357
|
+
/**
|
|
3358
|
+
*
|
|
3359
|
+
* @type {Array<PublicClubUserFrequentlyPlayedWithInner>}
|
|
3360
|
+
* @memberof PublicClubUser
|
|
3361
|
+
*/
|
|
3362
|
+
'frequentlyPlayedWith'?: Array<PublicClubUserFrequentlyPlayedWithInner>;
|
|
3363
|
+
/**
|
|
3364
|
+
*
|
|
3365
|
+
* @type {Array<PublicClubUserFrequentlyVisitedClubsInner>}
|
|
3366
|
+
* @memberof PublicClubUser
|
|
3367
|
+
*/
|
|
3368
|
+
'frequentlyVisitedClubs'?: Array<PublicClubUserFrequentlyVisitedClubsInner>;
|
|
3369
|
+
}
|
|
3370
|
+
/**
|
|
3371
|
+
*
|
|
3372
|
+
* @export
|
|
3373
|
+
* @interface PublicClubUserFrequentlyPlayedWithInner
|
|
3374
|
+
*/
|
|
3375
|
+
export interface PublicClubUserFrequentlyPlayedWithInner {
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @type {string}
|
|
3379
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3380
|
+
*/
|
|
3381
|
+
'userId'?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
*
|
|
3384
|
+
* @type {string}
|
|
3385
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3386
|
+
*/
|
|
3387
|
+
'firstName'?: string;
|
|
3388
|
+
/**
|
|
3389
|
+
*
|
|
3390
|
+
* @type {string}
|
|
3391
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3392
|
+
*/
|
|
3393
|
+
'lastName'?: string;
|
|
3394
|
+
/**
|
|
3395
|
+
*
|
|
3396
|
+
* @type {string}
|
|
3397
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3398
|
+
*/
|
|
3399
|
+
'profilePicture'?: string;
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @type {number}
|
|
3403
|
+
* @memberof PublicClubUserFrequentlyPlayedWithInner
|
|
3404
|
+
*/
|
|
3405
|
+
'playCount'?: number;
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
*
|
|
3409
|
+
* @export
|
|
3410
|
+
* @interface PublicClubUserFrequentlyVisitedClubsInner
|
|
3411
|
+
*/
|
|
3412
|
+
export interface PublicClubUserFrequentlyVisitedClubsInner {
|
|
3413
|
+
/**
|
|
3414
|
+
*
|
|
3415
|
+
* @type {string}
|
|
3416
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3417
|
+
*/
|
|
3418
|
+
'clubId'?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
*
|
|
3421
|
+
* @type {string}
|
|
3422
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3423
|
+
*/
|
|
3424
|
+
'name'?: string;
|
|
3425
|
+
/**
|
|
3426
|
+
*
|
|
3427
|
+
* @type {number}
|
|
3428
|
+
* @memberof PublicClubUserFrequentlyVisitedClubsInner
|
|
3429
|
+
*/
|
|
3430
|
+
'visitCount'?: number;
|
|
3333
3431
|
}
|
|
3334
3432
|
/**
|
|
3335
3433
|
*
|
|
@@ -9206,6 +9304,14 @@ export declare const UserProfileApiAxiosParamCreator: (configuration?: Configura
|
|
|
9206
9304
|
* @throws {RequiredError}
|
|
9207
9305
|
*/
|
|
9208
9306
|
getProfilePicture: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9307
|
+
/**
|
|
9308
|
+
*
|
|
9309
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
9310
|
+
* @param {string} id ID de l\'utilisateur
|
|
9311
|
+
* @param {*} [options] Override http request option.
|
|
9312
|
+
* @throws {RequiredError}
|
|
9313
|
+
*/
|
|
9314
|
+
getPublicUserProfile: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9209
9315
|
/**
|
|
9210
9316
|
*
|
|
9211
9317
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -9382,6 +9488,14 @@ export declare const UserProfileApiFp: (configuration?: Configuration) => {
|
|
|
9382
9488
|
* @throws {RequiredError}
|
|
9383
9489
|
*/
|
|
9384
9490
|
getProfilePicture(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfilePictureResponse>>;
|
|
9491
|
+
/**
|
|
9492
|
+
*
|
|
9493
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
9494
|
+
* @param {string} id ID de l\'utilisateur
|
|
9495
|
+
* @param {*} [options] Override http request option.
|
|
9496
|
+
* @throws {RequiredError}
|
|
9497
|
+
*/
|
|
9498
|
+
getPublicUserProfile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicClubUser>>;
|
|
9385
9499
|
/**
|
|
9386
9500
|
*
|
|
9387
9501
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -9556,6 +9670,14 @@ export declare const UserProfileApiFactory: (configuration?: Configuration, base
|
|
|
9556
9670
|
* @throws {RequiredError}
|
|
9557
9671
|
*/
|
|
9558
9672
|
getProfilePicture(options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse>;
|
|
9673
|
+
/**
|
|
9674
|
+
*
|
|
9675
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
9676
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
9677
|
+
* @param {*} [options] Override http request option.
|
|
9678
|
+
* @throws {RequiredError}
|
|
9679
|
+
*/
|
|
9680
|
+
getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicClubUser>;
|
|
9559
9681
|
/**
|
|
9560
9682
|
*
|
|
9561
9683
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -9721,6 +9843,19 @@ export interface UserProfileApiGetAllUsersRequest {
|
|
|
9721
9843
|
*/
|
|
9722
9844
|
readonly search?: string;
|
|
9723
9845
|
}
|
|
9846
|
+
/**
|
|
9847
|
+
* Request parameters for getPublicUserProfile operation in UserProfileApi.
|
|
9848
|
+
* @export
|
|
9849
|
+
* @interface UserProfileApiGetPublicUserProfileRequest
|
|
9850
|
+
*/
|
|
9851
|
+
export interface UserProfileApiGetPublicUserProfileRequest {
|
|
9852
|
+
/**
|
|
9853
|
+
* ID de l\'utilisateur
|
|
9854
|
+
* @type {string}
|
|
9855
|
+
* @memberof UserProfileApiGetPublicUserProfile
|
|
9856
|
+
*/
|
|
9857
|
+
readonly id: string;
|
|
9858
|
+
}
|
|
9724
9859
|
/**
|
|
9725
9860
|
* Request parameters for getUserBookings operation in UserProfileApi.
|
|
9726
9861
|
* @export
|
|
@@ -9927,6 +10062,15 @@ export declare class UserProfileApi extends BaseAPI {
|
|
|
9927
10062
|
* @memberof UserProfileApi
|
|
9928
10063
|
*/
|
|
9929
10064
|
getProfilePicture(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfilePictureResponse, any>>;
|
|
10065
|
+
/**
|
|
10066
|
+
*
|
|
10067
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
10068
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
10069
|
+
* @param {*} [options] Override http request option.
|
|
10070
|
+
* @throws {RequiredError}
|
|
10071
|
+
* @memberof UserProfileApi
|
|
10072
|
+
*/
|
|
10073
|
+
getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicClubUser, any>>;
|
|
9930
10074
|
/**
|
|
9931
10075
|
*
|
|
9932
10076
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
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.30
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6918,6 +6918,38 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
6918
6918
|
options: localVarRequestOptions,
|
|
6919
6919
|
};
|
|
6920
6920
|
}),
|
|
6921
|
+
/**
|
|
6922
|
+
*
|
|
6923
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
6924
|
+
* @param {string} id ID de l\'utilisateur
|
|
6925
|
+
* @param {*} [options] Override http request option.
|
|
6926
|
+
* @throws {RequiredError}
|
|
6927
|
+
*/
|
|
6928
|
+
getPublicUserProfile: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
6929
|
+
// verify required parameter 'id' is not null or undefined
|
|
6930
|
+
assertParamExists('getPublicUserProfile', 'id', id);
|
|
6931
|
+
const localVarPath = `/api/users/profile/{id}`
|
|
6932
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6933
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6934
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6935
|
+
let baseOptions;
|
|
6936
|
+
if (configuration) {
|
|
6937
|
+
baseOptions = configuration.baseOptions;
|
|
6938
|
+
}
|
|
6939
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6940
|
+
const localVarHeaderParameter = {};
|
|
6941
|
+
const localVarQueryParameter = {};
|
|
6942
|
+
// authentication bearerAuth required
|
|
6943
|
+
// http bearer authentication required
|
|
6944
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6947
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6948
|
+
return {
|
|
6949
|
+
url: toPathString(localVarUrlObj),
|
|
6950
|
+
options: localVarRequestOptions,
|
|
6951
|
+
};
|
|
6952
|
+
}),
|
|
6921
6953
|
/**
|
|
6922
6954
|
*
|
|
6923
6955
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -7480,6 +7512,22 @@ export const UserProfileApiFp = function (configuration) {
|
|
|
7480
7512
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7481
7513
|
});
|
|
7482
7514
|
},
|
|
7515
|
+
/**
|
|
7516
|
+
*
|
|
7517
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
7518
|
+
* @param {string} id ID de l\'utilisateur
|
|
7519
|
+
* @param {*} [options] Override http request option.
|
|
7520
|
+
* @throws {RequiredError}
|
|
7521
|
+
*/
|
|
7522
|
+
getPublicUserProfile(id, options) {
|
|
7523
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7524
|
+
var _a, _b, _c;
|
|
7525
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublicUserProfile(id, options);
|
|
7526
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7527
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getPublicUserProfile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7529
|
+
});
|
|
7530
|
+
},
|
|
7483
7531
|
/**
|
|
7484
7532
|
*
|
|
7485
7533
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -7779,6 +7827,16 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
7779
7827
|
getProfilePicture(options) {
|
|
7780
7828
|
return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
|
|
7781
7829
|
},
|
|
7830
|
+
/**
|
|
7831
|
+
*
|
|
7832
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
7833
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
7834
|
+
* @param {*} [options] Override http request option.
|
|
7835
|
+
* @throws {RequiredError}
|
|
7836
|
+
*/
|
|
7837
|
+
getPublicUserProfile(requestParameters, options) {
|
|
7838
|
+
return localVarFp.getPublicUserProfile(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7839
|
+
},
|
|
7782
7840
|
/**
|
|
7783
7841
|
*
|
|
7784
7842
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
@@ -8008,6 +8066,17 @@ export class UserProfileApi extends BaseAPI {
|
|
|
8008
8066
|
getProfilePicture(options) {
|
|
8009
8067
|
return UserProfileApiFp(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
|
|
8010
8068
|
}
|
|
8069
|
+
/**
|
|
8070
|
+
*
|
|
8071
|
+
* @summary Récupère le profil public d\'un utilisateur par son ID
|
|
8072
|
+
* @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
|
|
8073
|
+
* @param {*} [options] Override http request option.
|
|
8074
|
+
* @throws {RequiredError}
|
|
8075
|
+
* @memberof UserProfileApi
|
|
8076
|
+
*/
|
|
8077
|
+
getPublicUserProfile(requestParameters, options) {
|
|
8078
|
+
return UserProfileApiFp(this.configuration).getPublicUserProfile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8079
|
+
}
|
|
8011
8080
|
/**
|
|
8012
8081
|
*
|
|
8013
8082
|
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
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.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/PublicClubUser.md
CHANGED
|
@@ -8,11 +8,17 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**_id** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**isAccountVerified** | **boolean** | | [optional] [default to undefined]
|
|
11
13
|
**email** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**levelBySports** | [**Array<PublicClubUserLevelBySportsInner>**](PublicClubUserLevelBySportsInner.md) | | [optional] [default to undefined]
|
|
13
15
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
14
16
|
**description** | **string** | | [optional] [default to undefined]
|
|
15
17
|
**city** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
19
|
+
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
20
|
+
**frequentlyPlayedWith** | [**Array<PublicClubUserFrequentlyPlayedWithInner>**](PublicClubUserFrequentlyPlayedWithInner.md) | | [optional] [default to undefined]
|
|
21
|
+
**frequentlyVisitedClubs** | [**Array<PublicClubUserFrequentlyVisitedClubsInner>**](PublicClubUserFrequentlyVisitedClubsInner.md) | | [optional] [default to undefined]
|
|
16
22
|
|
|
17
23
|
## Example
|
|
18
24
|
|
|
@@ -23,11 +29,17 @@ const instance: PublicClubUser = {
|
|
|
23
29
|
_id,
|
|
24
30
|
firstName,
|
|
25
31
|
lastName,
|
|
32
|
+
createdAt,
|
|
33
|
+
isAccountVerified,
|
|
26
34
|
email,
|
|
27
35
|
levelBySports,
|
|
28
36
|
profilePicture,
|
|
29
37
|
description,
|
|
30
38
|
city,
|
|
39
|
+
favoriteClubs,
|
|
40
|
+
favoritePlayers,
|
|
41
|
+
frequentlyPlayedWith,
|
|
42
|
+
frequentlyVisitedClubs,
|
|
31
43
|
};
|
|
32
44
|
```
|
|
33
45
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PublicClubUserFrequentlyPlayedWithInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**playCount** | **number** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PublicClubUserFrequentlyPlayedWithInner } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: PublicClubUserFrequentlyPlayedWithInner = {
|
|
20
|
+
userId,
|
|
21
|
+
firstName,
|
|
22
|
+
lastName,
|
|
23
|
+
profilePicture,
|
|
24
|
+
playCount,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PublicClubUserFrequentlyVisitedClubsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**clubId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**visitCount** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PublicClubUserFrequentlyVisitedClubsInner } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: PublicClubUserFrequentlyVisitedClubsInner = {
|
|
18
|
+
clubId,
|
|
19
|
+
name,
|
|
20
|
+
visitCount,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/UserProfileApi.md
CHANGED
|
@@ -13,6 +13,7 @@ All URIs are relative to *https://api.mon-domaine.com*
|
|
|
13
13
|
|[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)|
|
|
14
14
|
|[**getFrequentlyVisitedClub**](#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | Clubs les plus fréquemment visités par l\'utilisateur connecté|
|
|
15
15
|
|[**getProfilePicture**](#getprofilepicture) | **GET** /api/users/me/profile-picture | Récupère l\'URL de la photo de profil de l\'utilisateur connecté|
|
|
16
|
+
|[**getPublicUserProfile**](#getpublicuserprofile) | **GET** /api/users/profile/{id} | Récupère le profil public d\'un utilisateur par son ID|
|
|
16
17
|
|[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)|
|
|
17
18
|
|[**getUserCity**](#getusercity) | **GET** /api/users/me/city | Récupère la ville de l\'utilisateur connecté|
|
|
18
19
|
|[**getUserDescription**](#getuserdescription) | **GET** /api/users/me/description | Récupère la description de l\'utilisateur connecté|
|
|
@@ -475,6 +476,58 @@ This endpoint does not have any parameters.
|
|
|
475
476
|
|
|
476
477
|
[[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)
|
|
477
478
|
|
|
479
|
+
# **getPublicUserProfile**
|
|
480
|
+
> PublicClubUser getPublicUserProfile()
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
### Example
|
|
484
|
+
|
|
485
|
+
```typescript
|
|
486
|
+
import {
|
|
487
|
+
UserProfileApi,
|
|
488
|
+
Configuration
|
|
489
|
+
} from '@tennac-booking/sdk';
|
|
490
|
+
|
|
491
|
+
const configuration = new Configuration();
|
|
492
|
+
const apiInstance = new UserProfileApi(configuration);
|
|
493
|
+
|
|
494
|
+
let id: string; //ID de l\'utilisateur (default to undefined)
|
|
495
|
+
|
|
496
|
+
const { status, data } = await apiInstance.getPublicUserProfile(
|
|
497
|
+
id
|
|
498
|
+
);
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
### Parameters
|
|
502
|
+
|
|
503
|
+
|Name | Type | Description | Notes|
|
|
504
|
+
|------------- | ------------- | ------------- | -------------|
|
|
505
|
+
| **id** | [**string**] | ID de l\'utilisateur | defaults to undefined|
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
### Return type
|
|
509
|
+
|
|
510
|
+
**PublicClubUser**
|
|
511
|
+
|
|
512
|
+
### Authorization
|
|
513
|
+
|
|
514
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
515
|
+
|
|
516
|
+
### HTTP request headers
|
|
517
|
+
|
|
518
|
+
- **Content-Type**: Not defined
|
|
519
|
+
- **Accept**: application/json
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
### HTTP response details
|
|
523
|
+
| Status code | Description | Response headers |
|
|
524
|
+
|-------------|-------------|------------------|
|
|
525
|
+
|**200** | Profil public de l\'utilisateur | - |
|
|
526
|
+
|**401** | Non autorisé | - |
|
|
527
|
+
|**500** | Erreur serveur interne | - |
|
|
528
|
+
|
|
529
|
+
[[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)
|
|
530
|
+
|
|
478
531
|
# **getUserBookings**
|
|
479
532
|
> UserBookingsResponse getUserBookings()
|
|
480
533
|
|
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.30
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|