@tennac-booking/sdk 1.0.24 → 1.0.25
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 +10 -0
- package/README.md +20 -2
- package/api.ts +825 -68
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +456 -13
- package/dist/api.js +521 -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 +456 -13
- package/dist/esm/api.js +521 -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/AddFavoriteClubRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -2
- package/docs/FavoriteClubResponse.md +22 -0
- package/docs/FrequentlyPlayedWithItem.md +28 -0
- package/docs/FrequentlyVisitedClubItem.md +24 -0
- package/docs/ProfileVisibilityResponse.md +20 -0
- package/docs/SetupPaymentMethodRequestBody.md +0 -2
- package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
- package/docs/UpdateUserCityRequestBody.md +20 -0
- package/docs/UpdateUserDescriptionRequestBody.md +20 -0
- package/docs/UserCityResponse.md +20 -0
- package/docs/UserDescriptionResponse.md +20 -0
- package/docs/UserProfileApi.md +398 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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.25
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -99,6 +99,19 @@ export interface AddClubMemberResponse {
|
|
|
99
99
|
*/
|
|
100
100
|
'member'?: ClubMember;
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @export
|
|
105
|
+
* @interface AddFavoriteClubRequestBody
|
|
106
|
+
*/
|
|
107
|
+
export interface AddFavoriteClubRequestBody {
|
|
108
|
+
/**
|
|
109
|
+
* ID du club à ajouter aux favoris
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof AddFavoriteClubRequestBody
|
|
112
|
+
*/
|
|
113
|
+
'clubId': string;
|
|
114
|
+
}
|
|
102
115
|
/**
|
|
103
116
|
*
|
|
104
117
|
* @export
|
|
@@ -1386,12 +1399,6 @@ export interface ClubsResponse {
|
|
|
1386
1399
|
* @interface ConfirmPaymentMethodSetupRequestBody
|
|
1387
1400
|
*/
|
|
1388
1401
|
export interface ConfirmPaymentMethodSetupRequestBody {
|
|
1389
|
-
/**
|
|
1390
|
-
* ID de l\'utilisateur
|
|
1391
|
-
* @type {string}
|
|
1392
|
-
* @memberof ConfirmPaymentMethodSetupRequestBody
|
|
1393
|
-
*/
|
|
1394
|
-
'userId': string;
|
|
1395
1402
|
/**
|
|
1396
1403
|
* ID du Setup Intent à confirmer
|
|
1397
1404
|
* @type {string}
|
|
@@ -2046,6 +2053,87 @@ export interface DeleteSport200Response {
|
|
|
2046
2053
|
*/
|
|
2047
2054
|
'message'?: string;
|
|
2048
2055
|
}
|
|
2056
|
+
/**
|
|
2057
|
+
*
|
|
2058
|
+
* @export
|
|
2059
|
+
* @interface FavoriteClubResponse
|
|
2060
|
+
*/
|
|
2061
|
+
export interface FavoriteClubResponse {
|
|
2062
|
+
/**
|
|
2063
|
+
*
|
|
2064
|
+
* @type {string}
|
|
2065
|
+
* @memberof FavoriteClubResponse
|
|
2066
|
+
*/
|
|
2067
|
+
'message'?: string;
|
|
2068
|
+
/**
|
|
2069
|
+
*
|
|
2070
|
+
* @type {Array<string>}
|
|
2071
|
+
* @memberof FavoriteClubResponse
|
|
2072
|
+
*/
|
|
2073
|
+
'favoriteClubs'?: Array<string>;
|
|
2074
|
+
}
|
|
2075
|
+
/**
|
|
2076
|
+
*
|
|
2077
|
+
* @export
|
|
2078
|
+
* @interface FrequentlyPlayedWithItem
|
|
2079
|
+
*/
|
|
2080
|
+
export interface FrequentlyPlayedWithItem {
|
|
2081
|
+
/**
|
|
2082
|
+
*
|
|
2083
|
+
* @type {string}
|
|
2084
|
+
* @memberof FrequentlyPlayedWithItem
|
|
2085
|
+
*/
|
|
2086
|
+
'userId'?: string;
|
|
2087
|
+
/**
|
|
2088
|
+
*
|
|
2089
|
+
* @type {string}
|
|
2090
|
+
* @memberof FrequentlyPlayedWithItem
|
|
2091
|
+
*/
|
|
2092
|
+
'firstName'?: string;
|
|
2093
|
+
/**
|
|
2094
|
+
*
|
|
2095
|
+
* @type {string}
|
|
2096
|
+
* @memberof FrequentlyPlayedWithItem
|
|
2097
|
+
*/
|
|
2098
|
+
'lastName'?: string;
|
|
2099
|
+
/**
|
|
2100
|
+
*
|
|
2101
|
+
* @type {string}
|
|
2102
|
+
* @memberof FrequentlyPlayedWithItem
|
|
2103
|
+
*/
|
|
2104
|
+
'profilePicture'?: string;
|
|
2105
|
+
/**
|
|
2106
|
+
*
|
|
2107
|
+
* @type {number}
|
|
2108
|
+
* @memberof FrequentlyPlayedWithItem
|
|
2109
|
+
*/
|
|
2110
|
+
'playCount'?: number;
|
|
2111
|
+
}
|
|
2112
|
+
/**
|
|
2113
|
+
*
|
|
2114
|
+
* @export
|
|
2115
|
+
* @interface FrequentlyVisitedClubItem
|
|
2116
|
+
*/
|
|
2117
|
+
export interface FrequentlyVisitedClubItem {
|
|
2118
|
+
/**
|
|
2119
|
+
*
|
|
2120
|
+
* @type {string}
|
|
2121
|
+
* @memberof FrequentlyVisitedClubItem
|
|
2122
|
+
*/
|
|
2123
|
+
'clubId'?: string;
|
|
2124
|
+
/**
|
|
2125
|
+
*
|
|
2126
|
+
* @type {string}
|
|
2127
|
+
* @memberof FrequentlyVisitedClubItem
|
|
2128
|
+
*/
|
|
2129
|
+
'name'?: string;
|
|
2130
|
+
/**
|
|
2131
|
+
*
|
|
2132
|
+
* @type {number}
|
|
2133
|
+
* @memberof FrequentlyVisitedClubItem
|
|
2134
|
+
*/
|
|
2135
|
+
'visitCount'?: number;
|
|
2136
|
+
}
|
|
2049
2137
|
/**
|
|
2050
2138
|
*
|
|
2051
2139
|
* @export
|
|
@@ -2875,6 +2963,19 @@ export interface ProfilePictureResponse {
|
|
|
2875
2963
|
*/
|
|
2876
2964
|
'profilePicture'?: string;
|
|
2877
2965
|
}
|
|
2966
|
+
/**
|
|
2967
|
+
*
|
|
2968
|
+
* @export
|
|
2969
|
+
* @interface ProfileVisibilityResponse
|
|
2970
|
+
*/
|
|
2971
|
+
export interface ProfileVisibilityResponse {
|
|
2972
|
+
/**
|
|
2973
|
+
*
|
|
2974
|
+
* @type {boolean}
|
|
2975
|
+
* @memberof ProfileVisibilityResponse
|
|
2976
|
+
*/
|
|
2977
|
+
'isProfileVisible'?: boolean;
|
|
2978
|
+
}
|
|
2878
2979
|
/**
|
|
2879
2980
|
*
|
|
2880
2981
|
* @export
|
|
@@ -2987,12 +3088,6 @@ export interface RestoreSubscriptionPlanForClub200Response {
|
|
|
2987
3088
|
* @interface SetupPaymentMethodRequestBody
|
|
2988
3089
|
*/
|
|
2989
3090
|
export interface SetupPaymentMethodRequestBody {
|
|
2990
|
-
/**
|
|
2991
|
-
* ID de l\'utilisateur
|
|
2992
|
-
* @type {string}
|
|
2993
|
-
* @memberof SetupPaymentMethodRequestBody
|
|
2994
|
-
*/
|
|
2995
|
-
'userId': string;
|
|
2996
3091
|
/**
|
|
2997
3092
|
* ID du club
|
|
2998
3093
|
* @type {string}
|
|
@@ -3759,6 +3854,19 @@ export interface UpdateProfilePictureRequestBody {
|
|
|
3759
3854
|
*/
|
|
3760
3855
|
'profilePicture': string;
|
|
3761
3856
|
}
|
|
3857
|
+
/**
|
|
3858
|
+
*
|
|
3859
|
+
* @export
|
|
3860
|
+
* @interface UpdateProfileVisibilityRequestBody
|
|
3861
|
+
*/
|
|
3862
|
+
export interface UpdateProfileVisibilityRequestBody {
|
|
3863
|
+
/**
|
|
3864
|
+
* Indique si le profil est visible aux autres utilisateurs
|
|
3865
|
+
* @type {boolean}
|
|
3866
|
+
* @memberof UpdateProfileVisibilityRequestBody
|
|
3867
|
+
*/
|
|
3868
|
+
'isProfileVisible': boolean;
|
|
3869
|
+
}
|
|
3762
3870
|
/**
|
|
3763
3871
|
*
|
|
3764
3872
|
* @export
|
|
@@ -3828,6 +3936,32 @@ export interface UpdateSubscriptionPlanResponse {
|
|
|
3828
3936
|
*/
|
|
3829
3937
|
'plan'?: SubscriptionPlan;
|
|
3830
3938
|
}
|
|
3939
|
+
/**
|
|
3940
|
+
*
|
|
3941
|
+
* @export
|
|
3942
|
+
* @interface UpdateUserCityRequestBody
|
|
3943
|
+
*/
|
|
3944
|
+
export interface UpdateUserCityRequestBody {
|
|
3945
|
+
/**
|
|
3946
|
+
* Nouvelle ville de l\'utilisateur
|
|
3947
|
+
* @type {string}
|
|
3948
|
+
* @memberof UpdateUserCityRequestBody
|
|
3949
|
+
*/
|
|
3950
|
+
'city': string;
|
|
3951
|
+
}
|
|
3952
|
+
/**
|
|
3953
|
+
*
|
|
3954
|
+
* @export
|
|
3955
|
+
* @interface UpdateUserDescriptionRequestBody
|
|
3956
|
+
*/
|
|
3957
|
+
export interface UpdateUserDescriptionRequestBody {
|
|
3958
|
+
/**
|
|
3959
|
+
* Nouvelle description de l\'utilisateur
|
|
3960
|
+
* @type {string}
|
|
3961
|
+
* @memberof UpdateUserDescriptionRequestBody
|
|
3962
|
+
*/
|
|
3963
|
+
'description': string;
|
|
3964
|
+
}
|
|
3831
3965
|
/**
|
|
3832
3966
|
*
|
|
3833
3967
|
* @export
|
|
@@ -3950,6 +4084,32 @@ export interface User {
|
|
|
3950
4084
|
*/
|
|
3951
4085
|
'isAdmin'?: boolean;
|
|
3952
4086
|
}
|
|
4087
|
+
/**
|
|
4088
|
+
*
|
|
4089
|
+
* @export
|
|
4090
|
+
* @interface UserCityResponse
|
|
4091
|
+
*/
|
|
4092
|
+
export interface UserCityResponse {
|
|
4093
|
+
/**
|
|
4094
|
+
*
|
|
4095
|
+
* @type {string}
|
|
4096
|
+
* @memberof UserCityResponse
|
|
4097
|
+
*/
|
|
4098
|
+
'city'?: string | null;
|
|
4099
|
+
}
|
|
4100
|
+
/**
|
|
4101
|
+
*
|
|
4102
|
+
* @export
|
|
4103
|
+
* @interface UserDescriptionResponse
|
|
4104
|
+
*/
|
|
4105
|
+
export interface UserDescriptionResponse {
|
|
4106
|
+
/**
|
|
4107
|
+
*
|
|
4108
|
+
* @type {string}
|
|
4109
|
+
* @memberof UserDescriptionResponse
|
|
4110
|
+
*/
|
|
4111
|
+
'description'?: string | null;
|
|
4112
|
+
}
|
|
3953
4113
|
/**
|
|
3954
4114
|
*
|
|
3955
4115
|
* @export
|
|
@@ -11567,12 +11727,12 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11567
11727
|
},
|
|
11568
11728
|
/**
|
|
11569
11729
|
*
|
|
11570
|
-
* @summary
|
|
11730
|
+
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
11571
11731
|
* @param {*} [options] Override http request option.
|
|
11572
11732
|
* @throws {RequiredError}
|
|
11573
11733
|
*/
|
|
11574
|
-
|
|
11575
|
-
const localVarPath = `/api/users/me/
|
|
11734
|
+
getFrequentlyPlayedWith: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11735
|
+
const localVarPath = `/api/users/me/frequentlyPlayedWith`;
|
|
11576
11736
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11577
11737
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11578
11738
|
let baseOptions;
|
|
@@ -11601,12 +11761,12 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11601
11761
|
},
|
|
11602
11762
|
/**
|
|
11603
11763
|
*
|
|
11604
|
-
* @summary
|
|
11764
|
+
* @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
|
|
11605
11765
|
* @param {*} [options] Override http request option.
|
|
11606
11766
|
* @throws {RequiredError}
|
|
11607
11767
|
*/
|
|
11608
|
-
|
|
11609
|
-
const localVarPath = `/api/users/me`;
|
|
11768
|
+
getFrequentlyVisitedClub: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11769
|
+
const localVarPath = `/api/users/me/frequentlyVisitedClub`;
|
|
11610
11770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11611
11771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11612
11772
|
let baseOptions;
|
|
@@ -11635,15 +11795,12 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11635
11795
|
},
|
|
11636
11796
|
/**
|
|
11637
11797
|
*
|
|
11638
|
-
* @summary
|
|
11639
|
-
* @param {UpdateLevelBySportsRequestBody} updateLevelBySportsRequestBody
|
|
11798
|
+
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
11640
11799
|
* @param {*} [options] Override http request option.
|
|
11641
11800
|
* @throws {RequiredError}
|
|
11642
11801
|
*/
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
assertParamExists('updateLevelBySports', 'updateLevelBySportsRequestBody', updateLevelBySportsRequestBody)
|
|
11646
|
-
const localVarPath = `/api/users/me/level-by-sports`;
|
|
11802
|
+
getProfilePicture: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11803
|
+
const localVarPath = `/api/users/me/profile-picture`;
|
|
11647
11804
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11648
11805
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11649
11806
|
let baseOptions;
|
|
@@ -11651,7 +11808,7 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11651
11808
|
baseOptions = configuration.baseOptions;
|
|
11652
11809
|
}
|
|
11653
11810
|
|
|
11654
|
-
const localVarRequestOptions = { method: '
|
|
11811
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11655
11812
|
const localVarHeaderParameter = {} as any;
|
|
11656
11813
|
const localVarQueryParameter = {} as any;
|
|
11657
11814
|
|
|
@@ -11661,12 +11818,9 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11661
11818
|
|
|
11662
11819
|
|
|
11663
11820
|
|
|
11664
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11665
|
-
|
|
11666
11821
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11667
11822
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11668
11823
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11669
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateLevelBySportsRequestBody, localVarRequestOptions, configuration)
|
|
11670
11824
|
|
|
11671
11825
|
return {
|
|
11672
11826
|
url: toPathString(localVarUrlObj),
|
|
@@ -11675,15 +11829,12 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11675
11829
|
},
|
|
11676
11830
|
/**
|
|
11677
11831
|
*
|
|
11678
|
-
* @summary
|
|
11679
|
-
* @param {UpdateProfilePictureRequestBody} updateProfilePictureRequestBody
|
|
11832
|
+
* @summary Récupère la ville de l\'utilisateur connecté
|
|
11680
11833
|
* @param {*} [options] Override http request option.
|
|
11681
11834
|
* @throws {RequiredError}
|
|
11682
11835
|
*/
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
assertParamExists('updateProfilePicture', 'updateProfilePictureRequestBody', updateProfilePictureRequestBody)
|
|
11686
|
-
const localVarPath = `/api/users/me/profile-picture`;
|
|
11836
|
+
getUserCity: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11837
|
+
const localVarPath = `/api/users/me/city`;
|
|
11687
11838
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11688
11839
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11689
11840
|
let baseOptions;
|
|
@@ -11691,7 +11842,7 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11691
11842
|
baseOptions = configuration.baseOptions;
|
|
11692
11843
|
}
|
|
11693
11844
|
|
|
11694
|
-
const localVarRequestOptions = { method: '
|
|
11845
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11695
11846
|
const localVarHeaderParameter = {} as any;
|
|
11696
11847
|
const localVarQueryParameter = {} as any;
|
|
11697
11848
|
|
|
@@ -11701,12 +11852,43 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11701
11852
|
|
|
11702
11853
|
|
|
11703
11854
|
|
|
11704
|
-
|
|
11855
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11857
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11858
|
+
|
|
11859
|
+
return {
|
|
11860
|
+
url: toPathString(localVarUrlObj),
|
|
11861
|
+
options: localVarRequestOptions,
|
|
11862
|
+
};
|
|
11863
|
+
},
|
|
11864
|
+
/**
|
|
11865
|
+
*
|
|
11866
|
+
* @summary Récupère la description de l\'utilisateur connecté
|
|
11867
|
+
* @param {*} [options] Override http request option.
|
|
11868
|
+
* @throws {RequiredError}
|
|
11869
|
+
*/
|
|
11870
|
+
getUserDescription: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11871
|
+
const localVarPath = `/api/users/me/description`;
|
|
11872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11874
|
+
let baseOptions;
|
|
11875
|
+
if (configuration) {
|
|
11876
|
+
baseOptions = configuration.baseOptions;
|
|
11877
|
+
}
|
|
11878
|
+
|
|
11879
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11880
|
+
const localVarHeaderParameter = {} as any;
|
|
11881
|
+
const localVarQueryParameter = {} as any;
|
|
11882
|
+
|
|
11883
|
+
// authentication bearerAuth required
|
|
11884
|
+
// http bearer authentication required
|
|
11885
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11886
|
+
|
|
11705
11887
|
|
|
11888
|
+
|
|
11706
11889
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11707
11890
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11708
11891
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11709
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateProfilePictureRequestBody, localVarRequestOptions, configuration)
|
|
11710
11892
|
|
|
11711
11893
|
return {
|
|
11712
11894
|
url: toPathString(localVarUrlObj),
|
|
@@ -11715,14 +11897,11 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11715
11897
|
},
|
|
11716
11898
|
/**
|
|
11717
11899
|
*
|
|
11718
|
-
* @summary
|
|
11719
|
-
* @param {UpdateUserRequestBody} updateUserRequestBody
|
|
11900
|
+
* @summary Récupère les informations de l\'utilisateur connecté
|
|
11720
11901
|
* @param {*} [options] Override http request option.
|
|
11721
11902
|
* @throws {RequiredError}
|
|
11722
11903
|
*/
|
|
11723
|
-
|
|
11724
|
-
// verify required parameter 'updateUserRequestBody' is not null or undefined
|
|
11725
|
-
assertParamExists('updateUser', 'updateUserRequestBody', updateUserRequestBody)
|
|
11904
|
+
getUserInfo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11726
11905
|
const localVarPath = `/api/users/me`;
|
|
11727
11906
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11728
11907
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11731,7 +11910,7 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11731
11910
|
baseOptions = configuration.baseOptions;
|
|
11732
11911
|
}
|
|
11733
11912
|
|
|
11734
|
-
const localVarRequestOptions = { method: '
|
|
11913
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11735
11914
|
const localVarHeaderParameter = {} as any;
|
|
11736
11915
|
const localVarQueryParameter = {} as any;
|
|
11737
11916
|
|
|
@@ -11741,47 +11920,318 @@ export const UserProfileApiAxiosParamCreator = function (configuration?: Configu
|
|
|
11741
11920
|
|
|
11742
11921
|
|
|
11743
11922
|
|
|
11744
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11745
|
-
|
|
11746
11923
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11747
11924
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11748
11925
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11749
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequestBody, localVarRequestOptions, configuration)
|
|
11750
11926
|
|
|
11751
11927
|
return {
|
|
11752
11928
|
url: toPathString(localVarUrlObj),
|
|
11753
11929
|
options: localVarRequestOptions,
|
|
11754
11930
|
};
|
|
11755
11931
|
},
|
|
11756
|
-
}
|
|
11757
|
-
};
|
|
11758
|
-
|
|
11759
|
-
/**
|
|
11760
|
-
* UserProfileApi - functional programming interface
|
|
11761
|
-
* @export
|
|
11762
|
-
*/
|
|
11763
|
-
export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
11764
|
-
const localVarAxiosParamCreator = UserProfileApiAxiosParamCreator(configuration)
|
|
11765
|
-
return {
|
|
11766
11932
|
/**
|
|
11767
11933
|
*
|
|
11768
|
-
* @summary
|
|
11769
|
-
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
11934
|
+
* @summary Récupère la visibilité du profil de l\'utilisateur connecté
|
|
11770
11935
|
* @param {*} [options] Override http request option.
|
|
11771
11936
|
* @throws {RequiredError}
|
|
11772
11937
|
*/
|
|
11773
|
-
async
|
|
11774
|
-
const
|
|
11775
|
-
|
|
11776
|
-
const
|
|
11777
|
-
|
|
11938
|
+
getUserProfileVisibility: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11939
|
+
const localVarPath = `/api/users/me/profile-visibility`;
|
|
11940
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11941
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11942
|
+
let baseOptions;
|
|
11943
|
+
if (configuration) {
|
|
11944
|
+
baseOptions = configuration.baseOptions;
|
|
11945
|
+
}
|
|
11946
|
+
|
|
11947
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11948
|
+
const localVarHeaderParameter = {} as any;
|
|
11949
|
+
const localVarQueryParameter = {} as any;
|
|
11950
|
+
|
|
11951
|
+
// authentication bearerAuth required
|
|
11952
|
+
// http bearer authentication required
|
|
11953
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11954
|
+
|
|
11955
|
+
|
|
11956
|
+
|
|
11957
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11958
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11959
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11960
|
+
|
|
11961
|
+
return {
|
|
11962
|
+
url: toPathString(localVarUrlObj),
|
|
11963
|
+
options: localVarRequestOptions,
|
|
11964
|
+
};
|
|
11778
11965
|
},
|
|
11779
11966
|
/**
|
|
11780
11967
|
*
|
|
11781
|
-
* @summary
|
|
11782
|
-
* @param {
|
|
11783
|
-
* @param {
|
|
11784
|
-
* @
|
|
11968
|
+
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
11969
|
+
* @param {UpdateLevelBySportsRequestBody} updateLevelBySportsRequestBody
|
|
11970
|
+
* @param {*} [options] Override http request option.
|
|
11971
|
+
* @throws {RequiredError}
|
|
11972
|
+
*/
|
|
11973
|
+
updateLevelBySports: async (updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11974
|
+
// verify required parameter 'updateLevelBySportsRequestBody' is not null or undefined
|
|
11975
|
+
assertParamExists('updateLevelBySports', 'updateLevelBySportsRequestBody', updateLevelBySportsRequestBody)
|
|
11976
|
+
const localVarPath = `/api/users/me/level-by-sports`;
|
|
11977
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11978
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11979
|
+
let baseOptions;
|
|
11980
|
+
if (configuration) {
|
|
11981
|
+
baseOptions = configuration.baseOptions;
|
|
11982
|
+
}
|
|
11983
|
+
|
|
11984
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11985
|
+
const localVarHeaderParameter = {} as any;
|
|
11986
|
+
const localVarQueryParameter = {} as any;
|
|
11987
|
+
|
|
11988
|
+
// authentication bearerAuth required
|
|
11989
|
+
// http bearer authentication required
|
|
11990
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11991
|
+
|
|
11992
|
+
|
|
11993
|
+
|
|
11994
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11995
|
+
|
|
11996
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11997
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11998
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11999
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLevelBySportsRequestBody, localVarRequestOptions, configuration)
|
|
12000
|
+
|
|
12001
|
+
return {
|
|
12002
|
+
url: toPathString(localVarUrlObj),
|
|
12003
|
+
options: localVarRequestOptions,
|
|
12004
|
+
};
|
|
12005
|
+
},
|
|
12006
|
+
/**
|
|
12007
|
+
*
|
|
12008
|
+
* @summary Met à jour l\'URL de la photo de profil de l\'utilisateur connecté
|
|
12009
|
+
* @param {UpdateProfilePictureRequestBody} updateProfilePictureRequestBody
|
|
12010
|
+
* @param {*} [options] Override http request option.
|
|
12011
|
+
* @throws {RequiredError}
|
|
12012
|
+
*/
|
|
12013
|
+
updateProfilePicture: async (updateProfilePictureRequestBody: UpdateProfilePictureRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12014
|
+
// verify required parameter 'updateProfilePictureRequestBody' is not null or undefined
|
|
12015
|
+
assertParamExists('updateProfilePicture', 'updateProfilePictureRequestBody', updateProfilePictureRequestBody)
|
|
12016
|
+
const localVarPath = `/api/users/me/profile-picture`;
|
|
12017
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12019
|
+
let baseOptions;
|
|
12020
|
+
if (configuration) {
|
|
12021
|
+
baseOptions = configuration.baseOptions;
|
|
12022
|
+
}
|
|
12023
|
+
|
|
12024
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12025
|
+
const localVarHeaderParameter = {} as any;
|
|
12026
|
+
const localVarQueryParameter = {} as any;
|
|
12027
|
+
|
|
12028
|
+
// authentication bearerAuth required
|
|
12029
|
+
// http bearer authentication required
|
|
12030
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12031
|
+
|
|
12032
|
+
|
|
12033
|
+
|
|
12034
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12035
|
+
|
|
12036
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12037
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12038
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12039
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateProfilePictureRequestBody, localVarRequestOptions, configuration)
|
|
12040
|
+
|
|
12041
|
+
return {
|
|
12042
|
+
url: toPathString(localVarUrlObj),
|
|
12043
|
+
options: localVarRequestOptions,
|
|
12044
|
+
};
|
|
12045
|
+
},
|
|
12046
|
+
/**
|
|
12047
|
+
*
|
|
12048
|
+
* @summary Met à jour la visibilité du profil de l\'utilisateur connecté
|
|
12049
|
+
* @param {UpdateProfileVisibilityRequestBody} updateProfileVisibilityRequestBody
|
|
12050
|
+
* @param {*} [options] Override http request option.
|
|
12051
|
+
* @throws {RequiredError}
|
|
12052
|
+
*/
|
|
12053
|
+
updateProfileVisibility: async (updateProfileVisibilityRequestBody: UpdateProfileVisibilityRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12054
|
+
// verify required parameter 'updateProfileVisibilityRequestBody' is not null or undefined
|
|
12055
|
+
assertParamExists('updateProfileVisibility', 'updateProfileVisibilityRequestBody', updateProfileVisibilityRequestBody)
|
|
12056
|
+
const localVarPath = `/api/users/me/profile-visibility`;
|
|
12057
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12058
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12059
|
+
let baseOptions;
|
|
12060
|
+
if (configuration) {
|
|
12061
|
+
baseOptions = configuration.baseOptions;
|
|
12062
|
+
}
|
|
12063
|
+
|
|
12064
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12065
|
+
const localVarHeaderParameter = {} as any;
|
|
12066
|
+
const localVarQueryParameter = {} as any;
|
|
12067
|
+
|
|
12068
|
+
// authentication bearerAuth required
|
|
12069
|
+
// http bearer authentication required
|
|
12070
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12071
|
+
|
|
12072
|
+
|
|
12073
|
+
|
|
12074
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12075
|
+
|
|
12076
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12077
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12078
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12079
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateProfileVisibilityRequestBody, localVarRequestOptions, configuration)
|
|
12080
|
+
|
|
12081
|
+
return {
|
|
12082
|
+
url: toPathString(localVarUrlObj),
|
|
12083
|
+
options: localVarRequestOptions,
|
|
12084
|
+
};
|
|
12085
|
+
},
|
|
12086
|
+
/**
|
|
12087
|
+
*
|
|
12088
|
+
* @summary Met à jour les données de l\'utilisateur connecté
|
|
12089
|
+
* @param {UpdateUserRequestBody} updateUserRequestBody
|
|
12090
|
+
* @param {*} [options] Override http request option.
|
|
12091
|
+
* @throws {RequiredError}
|
|
12092
|
+
*/
|
|
12093
|
+
updateUser: async (updateUserRequestBody: UpdateUserRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12094
|
+
// verify required parameter 'updateUserRequestBody' is not null or undefined
|
|
12095
|
+
assertParamExists('updateUser', 'updateUserRequestBody', updateUserRequestBody)
|
|
12096
|
+
const localVarPath = `/api/users/me`;
|
|
12097
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12098
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12099
|
+
let baseOptions;
|
|
12100
|
+
if (configuration) {
|
|
12101
|
+
baseOptions = configuration.baseOptions;
|
|
12102
|
+
}
|
|
12103
|
+
|
|
12104
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12105
|
+
const localVarHeaderParameter = {} as any;
|
|
12106
|
+
const localVarQueryParameter = {} as any;
|
|
12107
|
+
|
|
12108
|
+
// authentication bearerAuth required
|
|
12109
|
+
// http bearer authentication required
|
|
12110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12111
|
+
|
|
12112
|
+
|
|
12113
|
+
|
|
12114
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12115
|
+
|
|
12116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12118
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12119
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserRequestBody, localVarRequestOptions, configuration)
|
|
12120
|
+
|
|
12121
|
+
return {
|
|
12122
|
+
url: toPathString(localVarUrlObj),
|
|
12123
|
+
options: localVarRequestOptions,
|
|
12124
|
+
};
|
|
12125
|
+
},
|
|
12126
|
+
/**
|
|
12127
|
+
*
|
|
12128
|
+
* @summary Met à jour la ville de l\'utilisateur connecté
|
|
12129
|
+
* @param {UpdateUserCityRequestBody} updateUserCityRequestBody
|
|
12130
|
+
* @param {*} [options] Override http request option.
|
|
12131
|
+
* @throws {RequiredError}
|
|
12132
|
+
*/
|
|
12133
|
+
updateUserCity: async (updateUserCityRequestBody: UpdateUserCityRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12134
|
+
// verify required parameter 'updateUserCityRequestBody' is not null or undefined
|
|
12135
|
+
assertParamExists('updateUserCity', 'updateUserCityRequestBody', updateUserCityRequestBody)
|
|
12136
|
+
const localVarPath = `/api/users/me/city`;
|
|
12137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12139
|
+
let baseOptions;
|
|
12140
|
+
if (configuration) {
|
|
12141
|
+
baseOptions = configuration.baseOptions;
|
|
12142
|
+
}
|
|
12143
|
+
|
|
12144
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12145
|
+
const localVarHeaderParameter = {} as any;
|
|
12146
|
+
const localVarQueryParameter = {} as any;
|
|
12147
|
+
|
|
12148
|
+
// authentication bearerAuth required
|
|
12149
|
+
// http bearer authentication required
|
|
12150
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12151
|
+
|
|
12152
|
+
|
|
12153
|
+
|
|
12154
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12155
|
+
|
|
12156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12158
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12159
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserCityRequestBody, localVarRequestOptions, configuration)
|
|
12160
|
+
|
|
12161
|
+
return {
|
|
12162
|
+
url: toPathString(localVarUrlObj),
|
|
12163
|
+
options: localVarRequestOptions,
|
|
12164
|
+
};
|
|
12165
|
+
},
|
|
12166
|
+
/**
|
|
12167
|
+
*
|
|
12168
|
+
* @summary Met à jour la description de l\'utilisateur connecté
|
|
12169
|
+
* @param {UpdateUserDescriptionRequestBody} updateUserDescriptionRequestBody
|
|
12170
|
+
* @param {*} [options] Override http request option.
|
|
12171
|
+
* @throws {RequiredError}
|
|
12172
|
+
*/
|
|
12173
|
+
updateUserDescription: async (updateUserDescriptionRequestBody: UpdateUserDescriptionRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12174
|
+
// verify required parameter 'updateUserDescriptionRequestBody' is not null or undefined
|
|
12175
|
+
assertParamExists('updateUserDescription', 'updateUserDescriptionRequestBody', updateUserDescriptionRequestBody)
|
|
12176
|
+
const localVarPath = `/api/users/me/description`;
|
|
12177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12179
|
+
let baseOptions;
|
|
12180
|
+
if (configuration) {
|
|
12181
|
+
baseOptions = configuration.baseOptions;
|
|
12182
|
+
}
|
|
12183
|
+
|
|
12184
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12185
|
+
const localVarHeaderParameter = {} as any;
|
|
12186
|
+
const localVarQueryParameter = {} as any;
|
|
12187
|
+
|
|
12188
|
+
// authentication bearerAuth required
|
|
12189
|
+
// http bearer authentication required
|
|
12190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12191
|
+
|
|
12192
|
+
|
|
12193
|
+
|
|
12194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12195
|
+
|
|
12196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserDescriptionRequestBody, localVarRequestOptions, configuration)
|
|
12200
|
+
|
|
12201
|
+
return {
|
|
12202
|
+
url: toPathString(localVarUrlObj),
|
|
12203
|
+
options: localVarRequestOptions,
|
|
12204
|
+
};
|
|
12205
|
+
},
|
|
12206
|
+
}
|
|
12207
|
+
};
|
|
12208
|
+
|
|
12209
|
+
/**
|
|
12210
|
+
* UserProfileApi - functional programming interface
|
|
12211
|
+
* @export
|
|
12212
|
+
*/
|
|
12213
|
+
export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
12214
|
+
const localVarAxiosParamCreator = UserProfileApiAxiosParamCreator(configuration)
|
|
12215
|
+
return {
|
|
12216
|
+
/**
|
|
12217
|
+
*
|
|
12218
|
+
* @summary Modifie le mot de passe de l\'utilisateur connecté
|
|
12219
|
+
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
12220
|
+
* @param {*} [options] Override http request option.
|
|
12221
|
+
* @throws {RequiredError}
|
|
12222
|
+
*/
|
|
12223
|
+
async changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>> {
|
|
12224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(changePasswordRequestBody, options);
|
|
12225
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12226
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.changePassword']?.[localVarOperationServerIndex]?.url;
|
|
12227
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12228
|
+
},
|
|
12229
|
+
/**
|
|
12230
|
+
*
|
|
12231
|
+
* @summary Récupère la liste des utilisateurs avec filtres et pagination
|
|
12232
|
+
* @param {number} [limit] Nombre maximum d\'utilisateurs à retourner
|
|
12233
|
+
* @param {number} [skip] Nombre d\'utilisateurs à ignorer (pagination)
|
|
12234
|
+
* @param {string} [search] Recherche dans firstName, lastName, email
|
|
11785
12235
|
* @param {*} [options] Override http request option.
|
|
11786
12236
|
* @throws {RequiredError}
|
|
11787
12237
|
*/
|
|
@@ -11791,6 +12241,30 @@ export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
|
11791
12241
|
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getAllUsers']?.[localVarOperationServerIndex]?.url;
|
|
11792
12242
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11793
12243
|
},
|
|
12244
|
+
/**
|
|
12245
|
+
*
|
|
12246
|
+
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
12247
|
+
* @param {*} [options] Override http request option.
|
|
12248
|
+
* @throws {RequiredError}
|
|
12249
|
+
*/
|
|
12250
|
+
async getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FrequentlyPlayedWithItem>>> {
|
|
12251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFrequentlyPlayedWith(options);
|
|
12252
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12253
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getFrequentlyPlayedWith']?.[localVarOperationServerIndex]?.url;
|
|
12254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12255
|
+
},
|
|
12256
|
+
/**
|
|
12257
|
+
*
|
|
12258
|
+
* @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
|
|
12259
|
+
* @param {*} [options] Override http request option.
|
|
12260
|
+
* @throws {RequiredError}
|
|
12261
|
+
*/
|
|
12262
|
+
async getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FrequentlyVisitedClubItem>>> {
|
|
12263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFrequentlyVisitedClub(options);
|
|
12264
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12265
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getFrequentlyVisitedClub']?.[localVarOperationServerIndex]?.url;
|
|
12266
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12267
|
+
},
|
|
11794
12268
|
/**
|
|
11795
12269
|
*
|
|
11796
12270
|
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
@@ -11803,6 +12277,30 @@ export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
|
11803
12277
|
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getProfilePicture']?.[localVarOperationServerIndex]?.url;
|
|
11804
12278
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11805
12279
|
},
|
|
12280
|
+
/**
|
|
12281
|
+
*
|
|
12282
|
+
* @summary Récupère la ville de l\'utilisateur connecté
|
|
12283
|
+
* @param {*} [options] Override http request option.
|
|
12284
|
+
* @throws {RequiredError}
|
|
12285
|
+
*/
|
|
12286
|
+
async getUserCity(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCityResponse>> {
|
|
12287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserCity(options);
|
|
12288
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12289
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getUserCity']?.[localVarOperationServerIndex]?.url;
|
|
12290
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12291
|
+
},
|
|
12292
|
+
/**
|
|
12293
|
+
*
|
|
12294
|
+
* @summary Récupère la description de l\'utilisateur connecté
|
|
12295
|
+
* @param {*} [options] Override http request option.
|
|
12296
|
+
* @throws {RequiredError}
|
|
12297
|
+
*/
|
|
12298
|
+
async getUserDescription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDescriptionResponse>> {
|
|
12299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDescription(options);
|
|
12300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12301
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getUserDescription']?.[localVarOperationServerIndex]?.url;
|
|
12302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12303
|
+
},
|
|
11806
12304
|
/**
|
|
11807
12305
|
*
|
|
11808
12306
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -11815,6 +12313,18 @@ export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
|
11815
12313
|
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getUserInfo']?.[localVarOperationServerIndex]?.url;
|
|
11816
12314
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11817
12315
|
},
|
|
12316
|
+
/**
|
|
12317
|
+
*
|
|
12318
|
+
* @summary Récupère la visibilité du profil de l\'utilisateur connecté
|
|
12319
|
+
* @param {*} [options] Override http request option.
|
|
12320
|
+
* @throws {RequiredError}
|
|
12321
|
+
*/
|
|
12322
|
+
async getUserProfileVisibility(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfileVisibilityResponse>> {
|
|
12323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserProfileVisibility(options);
|
|
12324
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12325
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.getUserProfileVisibility']?.[localVarOperationServerIndex]?.url;
|
|
12326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12327
|
+
},
|
|
11818
12328
|
/**
|
|
11819
12329
|
*
|
|
11820
12330
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
@@ -11841,6 +12351,19 @@ export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
|
11841
12351
|
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.updateProfilePicture']?.[localVarOperationServerIndex]?.url;
|
|
11842
12352
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11843
12353
|
},
|
|
12354
|
+
/**
|
|
12355
|
+
*
|
|
12356
|
+
* @summary Met à jour la visibilité du profil de l\'utilisateur connecté
|
|
12357
|
+
* @param {UpdateProfileVisibilityRequestBody} updateProfileVisibilityRequestBody
|
|
12358
|
+
* @param {*} [options] Override http request option.
|
|
12359
|
+
* @throws {RequiredError}
|
|
12360
|
+
*/
|
|
12361
|
+
async updateProfileVisibility(updateProfileVisibilityRequestBody: UpdateProfileVisibilityRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
12362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProfileVisibility(updateProfileVisibilityRequestBody, options);
|
|
12363
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12364
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.updateProfileVisibility']?.[localVarOperationServerIndex]?.url;
|
|
12365
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12366
|
+
},
|
|
11844
12367
|
/**
|
|
11845
12368
|
*
|
|
11846
12369
|
* @summary Met à jour les données de l\'utilisateur connecté
|
|
@@ -11854,6 +12377,32 @@ export const UserProfileApiFp = function(configuration?: Configuration) {
|
|
|
11854
12377
|
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.updateUser']?.[localVarOperationServerIndex]?.url;
|
|
11855
12378
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11856
12379
|
},
|
|
12380
|
+
/**
|
|
12381
|
+
*
|
|
12382
|
+
* @summary Met à jour la ville de l\'utilisateur connecté
|
|
12383
|
+
* @param {UpdateUserCityRequestBody} updateUserCityRequestBody
|
|
12384
|
+
* @param {*} [options] Override http request option.
|
|
12385
|
+
* @throws {RequiredError}
|
|
12386
|
+
*/
|
|
12387
|
+
async updateUserCity(updateUserCityRequestBody: UpdateUserCityRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
12388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserCity(updateUserCityRequestBody, options);
|
|
12389
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12390
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.updateUserCity']?.[localVarOperationServerIndex]?.url;
|
|
12391
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12392
|
+
},
|
|
12393
|
+
/**
|
|
12394
|
+
*
|
|
12395
|
+
* @summary Met à jour la description de l\'utilisateur connecté
|
|
12396
|
+
* @param {UpdateUserDescriptionRequestBody} updateUserDescriptionRequestBody
|
|
12397
|
+
* @param {*} [options] Override http request option.
|
|
12398
|
+
* @throws {RequiredError}
|
|
12399
|
+
*/
|
|
12400
|
+
async updateUserDescription(updateUserDescriptionRequestBody: UpdateUserDescriptionRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
12401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserDescription(updateUserDescriptionRequestBody, options);
|
|
12402
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12403
|
+
const localVarOperationServerBasePath = operationServerMap['UserProfileApi.updateUserDescription']?.[localVarOperationServerIndex]?.url;
|
|
12404
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12405
|
+
},
|
|
11857
12406
|
}
|
|
11858
12407
|
};
|
|
11859
12408
|
|
|
@@ -11884,6 +12433,24 @@ export const UserProfileApiFactory = function (configuration?: Configuration, ba
|
|
|
11884
12433
|
getAllUsers(requestParameters: UserProfileApiGetAllUsersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserResponse>> {
|
|
11885
12434
|
return localVarFp.getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
11886
12435
|
},
|
|
12436
|
+
/**
|
|
12437
|
+
*
|
|
12438
|
+
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
12439
|
+
* @param {*} [options] Override http request option.
|
|
12440
|
+
* @throws {RequiredError}
|
|
12441
|
+
*/
|
|
12442
|
+
getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): AxiosPromise<Array<FrequentlyPlayedWithItem>> {
|
|
12443
|
+
return localVarFp.getFrequentlyPlayedWith(options).then((request) => request(axios, basePath));
|
|
12444
|
+
},
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
|
|
12448
|
+
* @param {*} [options] Override http request option.
|
|
12449
|
+
* @throws {RequiredError}
|
|
12450
|
+
*/
|
|
12451
|
+
getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<FrequentlyVisitedClubItem>> {
|
|
12452
|
+
return localVarFp.getFrequentlyVisitedClub(options).then((request) => request(axios, basePath));
|
|
12453
|
+
},
|
|
11887
12454
|
/**
|
|
11888
12455
|
*
|
|
11889
12456
|
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
@@ -11893,6 +12460,24 @@ export const UserProfileApiFactory = function (configuration?: Configuration, ba
|
|
|
11893
12460
|
getProfilePicture(options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse> {
|
|
11894
12461
|
return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
|
|
11895
12462
|
},
|
|
12463
|
+
/**
|
|
12464
|
+
*
|
|
12465
|
+
* @summary Récupère la ville de l\'utilisateur connecté
|
|
12466
|
+
* @param {*} [options] Override http request option.
|
|
12467
|
+
* @throws {RequiredError}
|
|
12468
|
+
*/
|
|
12469
|
+
getUserCity(options?: RawAxiosRequestConfig): AxiosPromise<UserCityResponse> {
|
|
12470
|
+
return localVarFp.getUserCity(options).then((request) => request(axios, basePath));
|
|
12471
|
+
},
|
|
12472
|
+
/**
|
|
12473
|
+
*
|
|
12474
|
+
* @summary Récupère la description de l\'utilisateur connecté
|
|
12475
|
+
* @param {*} [options] Override http request option.
|
|
12476
|
+
* @throws {RequiredError}
|
|
12477
|
+
*/
|
|
12478
|
+
getUserDescription(options?: RawAxiosRequestConfig): AxiosPromise<UserDescriptionResponse> {
|
|
12479
|
+
return localVarFp.getUserDescription(options).then((request) => request(axios, basePath));
|
|
12480
|
+
},
|
|
11896
12481
|
/**
|
|
11897
12482
|
*
|
|
11898
12483
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -11902,6 +12487,15 @@ export const UserProfileApiFactory = function (configuration?: Configuration, ba
|
|
|
11902
12487
|
getUserInfo(options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
11903
12488
|
return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
|
|
11904
12489
|
},
|
|
12490
|
+
/**
|
|
12491
|
+
*
|
|
12492
|
+
* @summary Récupère la visibilité du profil de l\'utilisateur connecté
|
|
12493
|
+
* @param {*} [options] Override http request option.
|
|
12494
|
+
* @throws {RequiredError}
|
|
12495
|
+
*/
|
|
12496
|
+
getUserProfileVisibility(options?: RawAxiosRequestConfig): AxiosPromise<ProfileVisibilityResponse> {
|
|
12497
|
+
return localVarFp.getUserProfileVisibility(options).then((request) => request(axios, basePath));
|
|
12498
|
+
},
|
|
11905
12499
|
/**
|
|
11906
12500
|
*
|
|
11907
12501
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
@@ -11922,6 +12516,16 @@ export const UserProfileApiFactory = function (configuration?: Configuration, ba
|
|
|
11922
12516
|
updateProfilePicture(requestParameters: UserProfileApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse> {
|
|
11923
12517
|
return localVarFp.updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(axios, basePath));
|
|
11924
12518
|
},
|
|
12519
|
+
/**
|
|
12520
|
+
*
|
|
12521
|
+
* @summary Met à jour la visibilité du profil de l\'utilisateur connecté
|
|
12522
|
+
* @param {UserProfileApiUpdateProfileVisibilityRequest} requestParameters Request parameters.
|
|
12523
|
+
* @param {*} [options] Override http request option.
|
|
12524
|
+
* @throws {RequiredError}
|
|
12525
|
+
*/
|
|
12526
|
+
updateProfileVisibility(requestParameters: UserProfileApiUpdateProfileVisibilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
12527
|
+
return localVarFp.updateProfileVisibility(requestParameters.updateProfileVisibilityRequestBody, options).then((request) => request(axios, basePath));
|
|
12528
|
+
},
|
|
11925
12529
|
/**
|
|
11926
12530
|
*
|
|
11927
12531
|
* @summary Met à jour les données de l\'utilisateur connecté
|
|
@@ -11932,6 +12536,26 @@ export const UserProfileApiFactory = function (configuration?: Configuration, ba
|
|
|
11932
12536
|
updateUser(requestParameters: UserProfileApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
11933
12537
|
return localVarFp.updateUser(requestParameters.updateUserRequestBody, options).then((request) => request(axios, basePath));
|
|
11934
12538
|
},
|
|
12539
|
+
/**
|
|
12540
|
+
*
|
|
12541
|
+
* @summary Met à jour la ville de l\'utilisateur connecté
|
|
12542
|
+
* @param {UserProfileApiUpdateUserCityRequest} requestParameters Request parameters.
|
|
12543
|
+
* @param {*} [options] Override http request option.
|
|
12544
|
+
* @throws {RequiredError}
|
|
12545
|
+
*/
|
|
12546
|
+
updateUserCity(requestParameters: UserProfileApiUpdateUserCityRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
12547
|
+
return localVarFp.updateUserCity(requestParameters.updateUserCityRequestBody, options).then((request) => request(axios, basePath));
|
|
12548
|
+
},
|
|
12549
|
+
/**
|
|
12550
|
+
*
|
|
12551
|
+
* @summary Met à jour la description de l\'utilisateur connecté
|
|
12552
|
+
* @param {UserProfileApiUpdateUserDescriptionRequest} requestParameters Request parameters.
|
|
12553
|
+
* @param {*} [options] Override http request option.
|
|
12554
|
+
* @throws {RequiredError}
|
|
12555
|
+
*/
|
|
12556
|
+
updateUserDescription(requestParameters: UserProfileApiUpdateUserDescriptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
12557
|
+
return localVarFp.updateUserDescription(requestParameters.updateUserDescriptionRequestBody, options).then((request) => request(axios, basePath));
|
|
12558
|
+
},
|
|
11935
12559
|
};
|
|
11936
12560
|
};
|
|
11937
12561
|
|
|
@@ -12005,6 +12629,20 @@ export interface UserProfileApiUpdateProfilePictureRequest {
|
|
|
12005
12629
|
readonly updateProfilePictureRequestBody: UpdateProfilePictureRequestBody
|
|
12006
12630
|
}
|
|
12007
12631
|
|
|
12632
|
+
/**
|
|
12633
|
+
* Request parameters for updateProfileVisibility operation in UserProfileApi.
|
|
12634
|
+
* @export
|
|
12635
|
+
* @interface UserProfileApiUpdateProfileVisibilityRequest
|
|
12636
|
+
*/
|
|
12637
|
+
export interface UserProfileApiUpdateProfileVisibilityRequest {
|
|
12638
|
+
/**
|
|
12639
|
+
*
|
|
12640
|
+
* @type {UpdateProfileVisibilityRequestBody}
|
|
12641
|
+
* @memberof UserProfileApiUpdateProfileVisibility
|
|
12642
|
+
*/
|
|
12643
|
+
readonly updateProfileVisibilityRequestBody: UpdateProfileVisibilityRequestBody
|
|
12644
|
+
}
|
|
12645
|
+
|
|
12008
12646
|
/**
|
|
12009
12647
|
* Request parameters for updateUser operation in UserProfileApi.
|
|
12010
12648
|
* @export
|
|
@@ -12019,6 +12657,34 @@ export interface UserProfileApiUpdateUserRequest {
|
|
|
12019
12657
|
readonly updateUserRequestBody: UpdateUserRequestBody
|
|
12020
12658
|
}
|
|
12021
12659
|
|
|
12660
|
+
/**
|
|
12661
|
+
* Request parameters for updateUserCity operation in UserProfileApi.
|
|
12662
|
+
* @export
|
|
12663
|
+
* @interface UserProfileApiUpdateUserCityRequest
|
|
12664
|
+
*/
|
|
12665
|
+
export interface UserProfileApiUpdateUserCityRequest {
|
|
12666
|
+
/**
|
|
12667
|
+
*
|
|
12668
|
+
* @type {UpdateUserCityRequestBody}
|
|
12669
|
+
* @memberof UserProfileApiUpdateUserCity
|
|
12670
|
+
*/
|
|
12671
|
+
readonly updateUserCityRequestBody: UpdateUserCityRequestBody
|
|
12672
|
+
}
|
|
12673
|
+
|
|
12674
|
+
/**
|
|
12675
|
+
* Request parameters for updateUserDescription operation in UserProfileApi.
|
|
12676
|
+
* @export
|
|
12677
|
+
* @interface UserProfileApiUpdateUserDescriptionRequest
|
|
12678
|
+
*/
|
|
12679
|
+
export interface UserProfileApiUpdateUserDescriptionRequest {
|
|
12680
|
+
/**
|
|
12681
|
+
*
|
|
12682
|
+
* @type {UpdateUserDescriptionRequestBody}
|
|
12683
|
+
* @memberof UserProfileApiUpdateUserDescription
|
|
12684
|
+
*/
|
|
12685
|
+
readonly updateUserDescriptionRequestBody: UpdateUserDescriptionRequestBody
|
|
12686
|
+
}
|
|
12687
|
+
|
|
12022
12688
|
/**
|
|
12023
12689
|
* UserProfileApi - object-oriented interface
|
|
12024
12690
|
* @export
|
|
@@ -12050,6 +12716,28 @@ export class UserProfileApi extends BaseAPI {
|
|
|
12050
12716
|
return UserProfileApiFp(this.configuration).getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
12051
12717
|
}
|
|
12052
12718
|
|
|
12719
|
+
/**
|
|
12720
|
+
*
|
|
12721
|
+
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
12722
|
+
* @param {*} [options] Override http request option.
|
|
12723
|
+
* @throws {RequiredError}
|
|
12724
|
+
* @memberof UserProfileApi
|
|
12725
|
+
*/
|
|
12726
|
+
public getFrequentlyPlayedWith(options?: RawAxiosRequestConfig) {
|
|
12727
|
+
return UserProfileApiFp(this.configuration).getFrequentlyPlayedWith(options).then((request) => request(this.axios, this.basePath));
|
|
12728
|
+
}
|
|
12729
|
+
|
|
12730
|
+
/**
|
|
12731
|
+
*
|
|
12732
|
+
* @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
|
|
12733
|
+
* @param {*} [options] Override http request option.
|
|
12734
|
+
* @throws {RequiredError}
|
|
12735
|
+
* @memberof UserProfileApi
|
|
12736
|
+
*/
|
|
12737
|
+
public getFrequentlyVisitedClub(options?: RawAxiosRequestConfig) {
|
|
12738
|
+
return UserProfileApiFp(this.configuration).getFrequentlyVisitedClub(options).then((request) => request(this.axios, this.basePath));
|
|
12739
|
+
}
|
|
12740
|
+
|
|
12053
12741
|
/**
|
|
12054
12742
|
*
|
|
12055
12743
|
* @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
|
|
@@ -12061,6 +12749,28 @@ export class UserProfileApi extends BaseAPI {
|
|
|
12061
12749
|
return UserProfileApiFp(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
|
|
12062
12750
|
}
|
|
12063
12751
|
|
|
12752
|
+
/**
|
|
12753
|
+
*
|
|
12754
|
+
* @summary Récupère la ville de l\'utilisateur connecté
|
|
12755
|
+
* @param {*} [options] Override http request option.
|
|
12756
|
+
* @throws {RequiredError}
|
|
12757
|
+
* @memberof UserProfileApi
|
|
12758
|
+
*/
|
|
12759
|
+
public getUserCity(options?: RawAxiosRequestConfig) {
|
|
12760
|
+
return UserProfileApiFp(this.configuration).getUserCity(options).then((request) => request(this.axios, this.basePath));
|
|
12761
|
+
}
|
|
12762
|
+
|
|
12763
|
+
/**
|
|
12764
|
+
*
|
|
12765
|
+
* @summary Récupère la description de l\'utilisateur connecté
|
|
12766
|
+
* @param {*} [options] Override http request option.
|
|
12767
|
+
* @throws {RequiredError}
|
|
12768
|
+
* @memberof UserProfileApi
|
|
12769
|
+
*/
|
|
12770
|
+
public getUserDescription(options?: RawAxiosRequestConfig) {
|
|
12771
|
+
return UserProfileApiFp(this.configuration).getUserDescription(options).then((request) => request(this.axios, this.basePath));
|
|
12772
|
+
}
|
|
12773
|
+
|
|
12064
12774
|
/**
|
|
12065
12775
|
*
|
|
12066
12776
|
* @summary Récupère les informations de l\'utilisateur connecté
|
|
@@ -12072,6 +12782,17 @@ export class UserProfileApi extends BaseAPI {
|
|
|
12072
12782
|
return UserProfileApiFp(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
|
|
12073
12783
|
}
|
|
12074
12784
|
|
|
12785
|
+
/**
|
|
12786
|
+
*
|
|
12787
|
+
* @summary Récupère la visibilité du profil de l\'utilisateur connecté
|
|
12788
|
+
* @param {*} [options] Override http request option.
|
|
12789
|
+
* @throws {RequiredError}
|
|
12790
|
+
* @memberof UserProfileApi
|
|
12791
|
+
*/
|
|
12792
|
+
public getUserProfileVisibility(options?: RawAxiosRequestConfig) {
|
|
12793
|
+
return UserProfileApiFp(this.configuration).getUserProfileVisibility(options).then((request) => request(this.axios, this.basePath));
|
|
12794
|
+
}
|
|
12795
|
+
|
|
12075
12796
|
/**
|
|
12076
12797
|
*
|
|
12077
12798
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
@@ -12096,6 +12817,18 @@ export class UserProfileApi extends BaseAPI {
|
|
|
12096
12817
|
return UserProfileApiFp(this.configuration).updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
12097
12818
|
}
|
|
12098
12819
|
|
|
12820
|
+
/**
|
|
12821
|
+
*
|
|
12822
|
+
* @summary Met à jour la visibilité du profil de l\'utilisateur connecté
|
|
12823
|
+
* @param {UserProfileApiUpdateProfileVisibilityRequest} requestParameters Request parameters.
|
|
12824
|
+
* @param {*} [options] Override http request option.
|
|
12825
|
+
* @throws {RequiredError}
|
|
12826
|
+
* @memberof UserProfileApi
|
|
12827
|
+
*/
|
|
12828
|
+
public updateProfileVisibility(requestParameters: UserProfileApiUpdateProfileVisibilityRequest, options?: RawAxiosRequestConfig) {
|
|
12829
|
+
return UserProfileApiFp(this.configuration).updateProfileVisibility(requestParameters.updateProfileVisibilityRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
12830
|
+
}
|
|
12831
|
+
|
|
12099
12832
|
/**
|
|
12100
12833
|
*
|
|
12101
12834
|
* @summary Met à jour les données de l\'utilisateur connecté
|
|
@@ -12107,6 +12840,30 @@ export class UserProfileApi extends BaseAPI {
|
|
|
12107
12840
|
public updateUser(requestParameters: UserProfileApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
|
|
12108
12841
|
return UserProfileApiFp(this.configuration).updateUser(requestParameters.updateUserRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
12109
12842
|
}
|
|
12843
|
+
|
|
12844
|
+
/**
|
|
12845
|
+
*
|
|
12846
|
+
* @summary Met à jour la ville de l\'utilisateur connecté
|
|
12847
|
+
* @param {UserProfileApiUpdateUserCityRequest} requestParameters Request parameters.
|
|
12848
|
+
* @param {*} [options] Override http request option.
|
|
12849
|
+
* @throws {RequiredError}
|
|
12850
|
+
* @memberof UserProfileApi
|
|
12851
|
+
*/
|
|
12852
|
+
public updateUserCity(requestParameters: UserProfileApiUpdateUserCityRequest, options?: RawAxiosRequestConfig) {
|
|
12853
|
+
return UserProfileApiFp(this.configuration).updateUserCity(requestParameters.updateUserCityRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
12854
|
+
}
|
|
12855
|
+
|
|
12856
|
+
/**
|
|
12857
|
+
*
|
|
12858
|
+
* @summary Met à jour la description de l\'utilisateur connecté
|
|
12859
|
+
* @param {UserProfileApiUpdateUserDescriptionRequest} requestParameters Request parameters.
|
|
12860
|
+
* @param {*} [options] Override http request option.
|
|
12861
|
+
* @throws {RequiredError}
|
|
12862
|
+
* @memberof UserProfileApi
|
|
12863
|
+
*/
|
|
12864
|
+
public updateUserDescription(requestParameters: UserProfileApiUpdateUserDescriptionRequest, options?: RawAxiosRequestConfig) {
|
|
12865
|
+
return UserProfileApiFp(this.configuration).updateUserDescription(requestParameters.updateUserDescriptionRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
12866
|
+
}
|
|
12110
12867
|
}
|
|
12111
12868
|
|
|
12112
12869
|
|