@tennac-booking/sdk 1.0.205 → 1.0.207
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 +3 -0
- package/README.md +4 -0
- package/api.ts +251 -3
- package/dist/api.d.ts +192 -3
- package/dist/api.js +82 -0
- package/dist/esm/api.d.ts +192 -3
- package/dist/esm/api.js +82 -0
- package/docs/BookingPopulated.md +1 -1
- package/docs/IUserAttributes.md +4 -0
- package/docs/PartnerSearchItem.md +28 -0
- package/docs/PartnerSearchResponse.md +22 -0
- package/docs/PartnerSearchResponseMeta.md +26 -0
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/UserProfileResponse.md +4 -0
- package/docs/UsersApi.md +60 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -275,6 +275,9 @@ docs/PartialPublicAccessSettings.md
|
|
|
275
275
|
docs/PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined.md
|
|
276
276
|
docs/PartialSchoolAccessSettings.md
|
|
277
277
|
docs/ParticipationType.md
|
|
278
|
+
docs/PartnerSearchItem.md
|
|
279
|
+
docs/PartnerSearchResponse.md
|
|
280
|
+
docs/PartnerSearchResponseMeta.md
|
|
278
281
|
docs/PasswordResetRequestBody.md
|
|
279
282
|
docs/PaymentByPlayerInfo.md
|
|
280
283
|
docs/PaymentMethod.md
|
package/README.md
CHANGED
|
@@ -271,6 +271,7 @@ Class | Method | HTTP request | Description
|
|
|
271
271
|
*UsersApi* | [**requestOrganizationCode**](docs/UsersApi.md#requestorganizationcode) | **POST** /api/users/me/request-organization-code |
|
|
272
272
|
*UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
|
|
273
273
|
*UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
|
|
274
|
+
*UsersApi* | [**searchPartner**](docs/UsersApi.md#searchpartner) | **GET** /api/users/serachPartner |
|
|
274
275
|
*UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
|
|
275
276
|
*UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /api/users/me/customer |
|
|
276
277
|
*UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports |
|
|
@@ -544,6 +545,9 @@ Class | Method | HTTP request | Description
|
|
|
544
545
|
- [PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined](docs/PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined.md)
|
|
545
546
|
- [PartialSchoolAccessSettings](docs/PartialSchoolAccessSettings.md)
|
|
546
547
|
- [ParticipationType](docs/ParticipationType.md)
|
|
548
|
+
- [PartnerSearchItem](docs/PartnerSearchItem.md)
|
|
549
|
+
- [PartnerSearchResponse](docs/PartnerSearchResponse.md)
|
|
550
|
+
- [PartnerSearchResponseMeta](docs/PartnerSearchResponseMeta.md)
|
|
547
551
|
- [PasswordResetRequestBody](docs/PasswordResetRequestBody.md)
|
|
548
552
|
- [PaymentByPlayerInfo](docs/PaymentByPlayerInfo.md)
|
|
549
553
|
- [PaymentMethod](docs/PaymentMethod.md)
|
package/api.ts
CHANGED
|
@@ -790,11 +790,11 @@ export interface BookingPopulated {
|
|
|
790
790
|
*/
|
|
791
791
|
'creator': UserInfo;
|
|
792
792
|
/**
|
|
793
|
-
*
|
|
794
|
-
* @type {SlotInfo}
|
|
793
|
+
* Informations des slots
|
|
794
|
+
* @type {Array<SlotInfo>}
|
|
795
795
|
* @memberof BookingPopulated
|
|
796
796
|
*/
|
|
797
|
-
'slotInfos': SlotInfo
|
|
797
|
+
'slotInfos': Array<SlotInfo>;
|
|
798
798
|
/**
|
|
799
799
|
*
|
|
800
800
|
* @type {Array<UserInfo>}
|
|
@@ -7062,6 +7062,18 @@ export interface IUserAttributes {
|
|
|
7062
7062
|
* @memberof IUserAttributes
|
|
7063
7063
|
*/
|
|
7064
7064
|
'lastName': string;
|
|
7065
|
+
/**
|
|
7066
|
+
*
|
|
7067
|
+
* @type {string}
|
|
7068
|
+
* @memberof IUserAttributes
|
|
7069
|
+
*/
|
|
7070
|
+
'firstNameNormalized'?: string;
|
|
7071
|
+
/**
|
|
7072
|
+
*
|
|
7073
|
+
* @type {string}
|
|
7074
|
+
* @memberof IUserAttributes
|
|
7075
|
+
*/
|
|
7076
|
+
'lastNameNormalized'?: string;
|
|
7065
7077
|
/**
|
|
7066
7078
|
*
|
|
7067
7079
|
* @type {string}
|
|
@@ -9028,6 +9040,93 @@ export const ParticipationType = {
|
|
|
9028
9040
|
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
9029
9041
|
|
|
9030
9042
|
|
|
9043
|
+
/**
|
|
9044
|
+
*
|
|
9045
|
+
* @export
|
|
9046
|
+
* @interface PartnerSearchItem
|
|
9047
|
+
*/
|
|
9048
|
+
export interface PartnerSearchItem {
|
|
9049
|
+
/**
|
|
9050
|
+
*
|
|
9051
|
+
* @type {string}
|
|
9052
|
+
* @memberof PartnerSearchItem
|
|
9053
|
+
*/
|
|
9054
|
+
'id': string;
|
|
9055
|
+
/**
|
|
9056
|
+
*
|
|
9057
|
+
* @type {string}
|
|
9058
|
+
* @memberof PartnerSearchItem
|
|
9059
|
+
*/
|
|
9060
|
+
'firstName': string;
|
|
9061
|
+
/**
|
|
9062
|
+
*
|
|
9063
|
+
* @type {string}
|
|
9064
|
+
* @memberof PartnerSearchItem
|
|
9065
|
+
*/
|
|
9066
|
+
'lastName': string;
|
|
9067
|
+
/**
|
|
9068
|
+
*
|
|
9069
|
+
* @type {string}
|
|
9070
|
+
* @memberof PartnerSearchItem
|
|
9071
|
+
*/
|
|
9072
|
+
'profilePicture': string | null;
|
|
9073
|
+
/**
|
|
9074
|
+
*
|
|
9075
|
+
* @type {boolean}
|
|
9076
|
+
* @memberof PartnerSearchItem
|
|
9077
|
+
*/
|
|
9078
|
+
'isFavorite': boolean;
|
|
9079
|
+
}
|
|
9080
|
+
/**
|
|
9081
|
+
*
|
|
9082
|
+
* @export
|
|
9083
|
+
* @interface PartnerSearchResponse
|
|
9084
|
+
*/
|
|
9085
|
+
export interface PartnerSearchResponse {
|
|
9086
|
+
/**
|
|
9087
|
+
*
|
|
9088
|
+
* @type {Array<PartnerSearchItem>}
|
|
9089
|
+
* @memberof PartnerSearchResponse
|
|
9090
|
+
*/
|
|
9091
|
+
'data': Array<PartnerSearchItem>;
|
|
9092
|
+
/**
|
|
9093
|
+
*
|
|
9094
|
+
* @type {PartnerSearchResponseMeta}
|
|
9095
|
+
* @memberof PartnerSearchResponse
|
|
9096
|
+
*/
|
|
9097
|
+
'meta': PartnerSearchResponseMeta;
|
|
9098
|
+
}
|
|
9099
|
+
/**
|
|
9100
|
+
*
|
|
9101
|
+
* @export
|
|
9102
|
+
* @interface PartnerSearchResponseMeta
|
|
9103
|
+
*/
|
|
9104
|
+
export interface PartnerSearchResponseMeta {
|
|
9105
|
+
/**
|
|
9106
|
+
*
|
|
9107
|
+
* @type {boolean}
|
|
9108
|
+
* @memberof PartnerSearchResponseMeta
|
|
9109
|
+
*/
|
|
9110
|
+
'hasMore': boolean;
|
|
9111
|
+
/**
|
|
9112
|
+
*
|
|
9113
|
+
* @type {number}
|
|
9114
|
+
* @memberof PartnerSearchResponseMeta
|
|
9115
|
+
*/
|
|
9116
|
+
'total': number;
|
|
9117
|
+
/**
|
|
9118
|
+
*
|
|
9119
|
+
* @type {number}
|
|
9120
|
+
* @memberof PartnerSearchResponseMeta
|
|
9121
|
+
*/
|
|
9122
|
+
'limit': number;
|
|
9123
|
+
/**
|
|
9124
|
+
*
|
|
9125
|
+
* @type {number}
|
|
9126
|
+
* @memberof PartnerSearchResponseMeta
|
|
9127
|
+
*/
|
|
9128
|
+
'page': number;
|
|
9129
|
+
}
|
|
9031
9130
|
/**
|
|
9032
9131
|
*
|
|
9033
9132
|
* @export
|
|
@@ -11642,6 +11741,18 @@ export interface StaffUserProfileResponse {
|
|
|
11642
11741
|
* @memberof StaffUserProfileResponse
|
|
11643
11742
|
*/
|
|
11644
11743
|
'lastName': string;
|
|
11744
|
+
/**
|
|
11745
|
+
*
|
|
11746
|
+
* @type {string}
|
|
11747
|
+
* @memberof StaffUserProfileResponse
|
|
11748
|
+
*/
|
|
11749
|
+
'firstNameNormalized'?: string;
|
|
11750
|
+
/**
|
|
11751
|
+
*
|
|
11752
|
+
* @type {string}
|
|
11753
|
+
* @memberof StaffUserProfileResponse
|
|
11754
|
+
*/
|
|
11755
|
+
'lastNameNormalized'?: string;
|
|
11645
11756
|
/**
|
|
11646
11757
|
*
|
|
11647
11758
|
* @type {string}
|
|
@@ -13874,6 +13985,18 @@ export interface UserProfileResponse {
|
|
|
13874
13985
|
* @memberof UserProfileResponse
|
|
13875
13986
|
*/
|
|
13876
13987
|
'lastName': string;
|
|
13988
|
+
/**
|
|
13989
|
+
*
|
|
13990
|
+
* @type {string}
|
|
13991
|
+
* @memberof UserProfileResponse
|
|
13992
|
+
*/
|
|
13993
|
+
'firstNameNormalized'?: string;
|
|
13994
|
+
/**
|
|
13995
|
+
*
|
|
13996
|
+
* @type {string}
|
|
13997
|
+
* @memberof UserProfileResponse
|
|
13998
|
+
*/
|
|
13999
|
+
'lastNameNormalized'?: string;
|
|
13877
14000
|
/**
|
|
13878
14001
|
*
|
|
13879
14002
|
* @type {string}
|
|
@@ -32849,6 +32972,61 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
32849
32972
|
options: localVarRequestOptions,
|
|
32850
32973
|
};
|
|
32851
32974
|
},
|
|
32975
|
+
/**
|
|
32976
|
+
*
|
|
32977
|
+
* @param {string} q
|
|
32978
|
+
* @param {number} [page]
|
|
32979
|
+
* @param {number} [limit]
|
|
32980
|
+
* @param {Array<string>} [excludeIds]
|
|
32981
|
+
* @param {*} [options] Override http request option.
|
|
32982
|
+
* @throws {RequiredError}
|
|
32983
|
+
*/
|
|
32984
|
+
searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32985
|
+
// verify required parameter 'q' is not null or undefined
|
|
32986
|
+
assertParamExists('searchPartner', 'q', q)
|
|
32987
|
+
const localVarPath = `/api/users/serachPartner`;
|
|
32988
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32989
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32990
|
+
let baseOptions;
|
|
32991
|
+
if (configuration) {
|
|
32992
|
+
baseOptions = configuration.baseOptions;
|
|
32993
|
+
}
|
|
32994
|
+
|
|
32995
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32996
|
+
const localVarHeaderParameter = {} as any;
|
|
32997
|
+
const localVarQueryParameter = {} as any;
|
|
32998
|
+
|
|
32999
|
+
// authentication bearerAuth required
|
|
33000
|
+
// http bearer authentication required
|
|
33001
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33002
|
+
|
|
33003
|
+
if (q !== undefined) {
|
|
33004
|
+
localVarQueryParameter['q'] = q;
|
|
33005
|
+
}
|
|
33006
|
+
|
|
33007
|
+
if (page !== undefined) {
|
|
33008
|
+
localVarQueryParameter['page'] = page;
|
|
33009
|
+
}
|
|
33010
|
+
|
|
33011
|
+
if (limit !== undefined) {
|
|
33012
|
+
localVarQueryParameter['limit'] = limit;
|
|
33013
|
+
}
|
|
33014
|
+
|
|
33015
|
+
if (excludeIds) {
|
|
33016
|
+
localVarQueryParameter['excludeIds'] = excludeIds;
|
|
33017
|
+
}
|
|
33018
|
+
|
|
33019
|
+
|
|
33020
|
+
|
|
33021
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33022
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33023
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33024
|
+
|
|
33025
|
+
return {
|
|
33026
|
+
url: toPathString(localVarUrlObj),
|
|
33027
|
+
options: localVarRequestOptions,
|
|
33028
|
+
};
|
|
33029
|
+
},
|
|
32852
33030
|
/**
|
|
32853
33031
|
*
|
|
32854
33032
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -33589,6 +33767,21 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
33589
33767
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
|
|
33590
33768
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33591
33769
|
},
|
|
33770
|
+
/**
|
|
33771
|
+
*
|
|
33772
|
+
* @param {string} q
|
|
33773
|
+
* @param {number} [page]
|
|
33774
|
+
* @param {number} [limit]
|
|
33775
|
+
* @param {Array<string>} [excludeIds]
|
|
33776
|
+
* @param {*} [options] Override http request option.
|
|
33777
|
+
* @throws {RequiredError}
|
|
33778
|
+
*/
|
|
33779
|
+
async searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>> {
|
|
33780
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
|
|
33781
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33782
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.searchPartner']?.[localVarOperationServerIndex]?.url;
|
|
33783
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33784
|
+
},
|
|
33592
33785
|
/**
|
|
33593
33786
|
*
|
|
33594
33787
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -34001,6 +34194,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
34001
34194
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
|
|
34002
34195
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
34003
34196
|
},
|
|
34197
|
+
/**
|
|
34198
|
+
*
|
|
34199
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
34200
|
+
* @param {*} [options] Override http request option.
|
|
34201
|
+
* @throws {RequiredError}
|
|
34202
|
+
*/
|
|
34203
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse> {
|
|
34204
|
+
return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
|
|
34205
|
+
},
|
|
34004
34206
|
/**
|
|
34005
34207
|
*
|
|
34006
34208
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -34573,6 +34775,41 @@ export interface UsersApiResetPasswordRequest {
|
|
|
34573
34775
|
readonly resetPasswordRequest: ResetPasswordRequest
|
|
34574
34776
|
}
|
|
34575
34777
|
|
|
34778
|
+
/**
|
|
34779
|
+
* Request parameters for searchPartner operation in UsersApi.
|
|
34780
|
+
* @export
|
|
34781
|
+
* @interface UsersApiSearchPartnerRequest
|
|
34782
|
+
*/
|
|
34783
|
+
export interface UsersApiSearchPartnerRequest {
|
|
34784
|
+
/**
|
|
34785
|
+
*
|
|
34786
|
+
* @type {string}
|
|
34787
|
+
* @memberof UsersApiSearchPartner
|
|
34788
|
+
*/
|
|
34789
|
+
readonly q: string
|
|
34790
|
+
|
|
34791
|
+
/**
|
|
34792
|
+
*
|
|
34793
|
+
* @type {number}
|
|
34794
|
+
* @memberof UsersApiSearchPartner
|
|
34795
|
+
*/
|
|
34796
|
+
readonly page?: number
|
|
34797
|
+
|
|
34798
|
+
/**
|
|
34799
|
+
*
|
|
34800
|
+
* @type {number}
|
|
34801
|
+
* @memberof UsersApiSearchPartner
|
|
34802
|
+
*/
|
|
34803
|
+
readonly limit?: number
|
|
34804
|
+
|
|
34805
|
+
/**
|
|
34806
|
+
*
|
|
34807
|
+
* @type {Array<string>}
|
|
34808
|
+
* @memberof UsersApiSearchPartner
|
|
34809
|
+
*/
|
|
34810
|
+
readonly excludeIds?: Array<string>
|
|
34811
|
+
}
|
|
34812
|
+
|
|
34576
34813
|
/**
|
|
34577
34814
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
34578
34815
|
* @export
|
|
@@ -35068,6 +35305,17 @@ export class UsersApi extends BaseAPI {
|
|
|
35068
35305
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35069
35306
|
}
|
|
35070
35307
|
|
|
35308
|
+
/**
|
|
35309
|
+
*
|
|
35310
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
35311
|
+
* @param {*} [options] Override http request option.
|
|
35312
|
+
* @throws {RequiredError}
|
|
35313
|
+
* @memberof UsersApi
|
|
35314
|
+
*/
|
|
35315
|
+
public searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig) {
|
|
35316
|
+
return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
|
|
35317
|
+
}
|
|
35318
|
+
|
|
35071
35319
|
/**
|
|
35072
35320
|
*
|
|
35073
35321
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
package/dist/api.d.ts
CHANGED
|
@@ -765,11 +765,11 @@ export interface BookingPopulated {
|
|
|
765
765
|
*/
|
|
766
766
|
'creator': UserInfo;
|
|
767
767
|
/**
|
|
768
|
-
*
|
|
769
|
-
* @type {SlotInfo}
|
|
768
|
+
* Informations des slots
|
|
769
|
+
* @type {Array<SlotInfo>}
|
|
770
770
|
* @memberof BookingPopulated
|
|
771
771
|
*/
|
|
772
|
-
'slotInfos': SlotInfo
|
|
772
|
+
'slotInfos': Array<SlotInfo>;
|
|
773
773
|
/**
|
|
774
774
|
*
|
|
775
775
|
* @type {Array<UserInfo>}
|
|
@@ -6951,6 +6951,18 @@ export interface IUserAttributes {
|
|
|
6951
6951
|
* @memberof IUserAttributes
|
|
6952
6952
|
*/
|
|
6953
6953
|
'lastName': string;
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @type {string}
|
|
6957
|
+
* @memberof IUserAttributes
|
|
6958
|
+
*/
|
|
6959
|
+
'firstNameNormalized'?: string;
|
|
6960
|
+
/**
|
|
6961
|
+
*
|
|
6962
|
+
* @type {string}
|
|
6963
|
+
* @memberof IUserAttributes
|
|
6964
|
+
*/
|
|
6965
|
+
'lastNameNormalized'?: string;
|
|
6954
6966
|
/**
|
|
6955
6967
|
*
|
|
6956
6968
|
* @type {string}
|
|
@@ -8885,6 +8897,93 @@ export declare const ParticipationType: {
|
|
|
8885
8897
|
readonly Team: "team";
|
|
8886
8898
|
};
|
|
8887
8899
|
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
8900
|
+
/**
|
|
8901
|
+
*
|
|
8902
|
+
* @export
|
|
8903
|
+
* @interface PartnerSearchItem
|
|
8904
|
+
*/
|
|
8905
|
+
export interface PartnerSearchItem {
|
|
8906
|
+
/**
|
|
8907
|
+
*
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof PartnerSearchItem
|
|
8910
|
+
*/
|
|
8911
|
+
'id': string;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {string}
|
|
8915
|
+
* @memberof PartnerSearchItem
|
|
8916
|
+
*/
|
|
8917
|
+
'firstName': string;
|
|
8918
|
+
/**
|
|
8919
|
+
*
|
|
8920
|
+
* @type {string}
|
|
8921
|
+
* @memberof PartnerSearchItem
|
|
8922
|
+
*/
|
|
8923
|
+
'lastName': string;
|
|
8924
|
+
/**
|
|
8925
|
+
*
|
|
8926
|
+
* @type {string}
|
|
8927
|
+
* @memberof PartnerSearchItem
|
|
8928
|
+
*/
|
|
8929
|
+
'profilePicture': string | null;
|
|
8930
|
+
/**
|
|
8931
|
+
*
|
|
8932
|
+
* @type {boolean}
|
|
8933
|
+
* @memberof PartnerSearchItem
|
|
8934
|
+
*/
|
|
8935
|
+
'isFavorite': boolean;
|
|
8936
|
+
}
|
|
8937
|
+
/**
|
|
8938
|
+
*
|
|
8939
|
+
* @export
|
|
8940
|
+
* @interface PartnerSearchResponse
|
|
8941
|
+
*/
|
|
8942
|
+
export interface PartnerSearchResponse {
|
|
8943
|
+
/**
|
|
8944
|
+
*
|
|
8945
|
+
* @type {Array<PartnerSearchItem>}
|
|
8946
|
+
* @memberof PartnerSearchResponse
|
|
8947
|
+
*/
|
|
8948
|
+
'data': Array<PartnerSearchItem>;
|
|
8949
|
+
/**
|
|
8950
|
+
*
|
|
8951
|
+
* @type {PartnerSearchResponseMeta}
|
|
8952
|
+
* @memberof PartnerSearchResponse
|
|
8953
|
+
*/
|
|
8954
|
+
'meta': PartnerSearchResponseMeta;
|
|
8955
|
+
}
|
|
8956
|
+
/**
|
|
8957
|
+
*
|
|
8958
|
+
* @export
|
|
8959
|
+
* @interface PartnerSearchResponseMeta
|
|
8960
|
+
*/
|
|
8961
|
+
export interface PartnerSearchResponseMeta {
|
|
8962
|
+
/**
|
|
8963
|
+
*
|
|
8964
|
+
* @type {boolean}
|
|
8965
|
+
* @memberof PartnerSearchResponseMeta
|
|
8966
|
+
*/
|
|
8967
|
+
'hasMore': boolean;
|
|
8968
|
+
/**
|
|
8969
|
+
*
|
|
8970
|
+
* @type {number}
|
|
8971
|
+
* @memberof PartnerSearchResponseMeta
|
|
8972
|
+
*/
|
|
8973
|
+
'total': number;
|
|
8974
|
+
/**
|
|
8975
|
+
*
|
|
8976
|
+
* @type {number}
|
|
8977
|
+
* @memberof PartnerSearchResponseMeta
|
|
8978
|
+
*/
|
|
8979
|
+
'limit': number;
|
|
8980
|
+
/**
|
|
8981
|
+
*
|
|
8982
|
+
* @type {number}
|
|
8983
|
+
* @memberof PartnerSearchResponseMeta
|
|
8984
|
+
*/
|
|
8985
|
+
'page': number;
|
|
8986
|
+
}
|
|
8888
8987
|
/**
|
|
8889
8988
|
*
|
|
8890
8989
|
* @export
|
|
@@ -11442,6 +11541,18 @@ export interface StaffUserProfileResponse {
|
|
|
11442
11541
|
* @memberof StaffUserProfileResponse
|
|
11443
11542
|
*/
|
|
11444
11543
|
'lastName': string;
|
|
11544
|
+
/**
|
|
11545
|
+
*
|
|
11546
|
+
* @type {string}
|
|
11547
|
+
* @memberof StaffUserProfileResponse
|
|
11548
|
+
*/
|
|
11549
|
+
'firstNameNormalized'?: string;
|
|
11550
|
+
/**
|
|
11551
|
+
*
|
|
11552
|
+
* @type {string}
|
|
11553
|
+
* @memberof StaffUserProfileResponse
|
|
11554
|
+
*/
|
|
11555
|
+
'lastNameNormalized'?: string;
|
|
11445
11556
|
/**
|
|
11446
11557
|
*
|
|
11447
11558
|
* @type {string}
|
|
@@ -13632,6 +13743,18 @@ export interface UserProfileResponse {
|
|
|
13632
13743
|
* @memberof UserProfileResponse
|
|
13633
13744
|
*/
|
|
13634
13745
|
'lastName': string;
|
|
13746
|
+
/**
|
|
13747
|
+
*
|
|
13748
|
+
* @type {string}
|
|
13749
|
+
* @memberof UserProfileResponse
|
|
13750
|
+
*/
|
|
13751
|
+
'firstNameNormalized'?: string;
|
|
13752
|
+
/**
|
|
13753
|
+
*
|
|
13754
|
+
* @type {string}
|
|
13755
|
+
* @memberof UserProfileResponse
|
|
13756
|
+
*/
|
|
13757
|
+
'lastNameNormalized'?: string;
|
|
13635
13758
|
/**
|
|
13636
13759
|
*
|
|
13637
13760
|
* @type {string}
|
|
@@ -23294,6 +23417,16 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23294
23417
|
* @throws {RequiredError}
|
|
23295
23418
|
*/
|
|
23296
23419
|
resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23420
|
+
/**
|
|
23421
|
+
*
|
|
23422
|
+
* @param {string} q
|
|
23423
|
+
* @param {number} [page]
|
|
23424
|
+
* @param {number} [limit]
|
|
23425
|
+
* @param {Array<string>} [excludeIds]
|
|
23426
|
+
* @param {*} [options] Override http request option.
|
|
23427
|
+
* @throws {RequiredError}
|
|
23428
|
+
*/
|
|
23429
|
+
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23297
23430
|
/**
|
|
23298
23431
|
*
|
|
23299
23432
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23619,6 +23752,16 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
23619
23752
|
* @throws {RequiredError}
|
|
23620
23753
|
*/
|
|
23621
23754
|
resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
|
|
23755
|
+
/**
|
|
23756
|
+
*
|
|
23757
|
+
* @param {string} q
|
|
23758
|
+
* @param {number} [page]
|
|
23759
|
+
* @param {number} [limit]
|
|
23760
|
+
* @param {Array<string>} [excludeIds]
|
|
23761
|
+
* @param {*} [options] Override http request option.
|
|
23762
|
+
* @throws {RequiredError}
|
|
23763
|
+
*/
|
|
23764
|
+
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
23622
23765
|
/**
|
|
23623
23766
|
*
|
|
23624
23767
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23925,6 +24068,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23925
24068
|
* @throws {RequiredError}
|
|
23926
24069
|
*/
|
|
23927
24070
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
|
|
24071
|
+
/**
|
|
24072
|
+
*
|
|
24073
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
24074
|
+
* @param {*} [options] Override http request option.
|
|
24075
|
+
* @throws {RequiredError}
|
|
24076
|
+
*/
|
|
24077
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse>;
|
|
23928
24078
|
/**
|
|
23929
24079
|
*
|
|
23930
24080
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -24434,6 +24584,37 @@ export interface UsersApiResetPasswordRequest {
|
|
|
24434
24584
|
*/
|
|
24435
24585
|
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
24436
24586
|
}
|
|
24587
|
+
/**
|
|
24588
|
+
* Request parameters for searchPartner operation in UsersApi.
|
|
24589
|
+
* @export
|
|
24590
|
+
* @interface UsersApiSearchPartnerRequest
|
|
24591
|
+
*/
|
|
24592
|
+
export interface UsersApiSearchPartnerRequest {
|
|
24593
|
+
/**
|
|
24594
|
+
*
|
|
24595
|
+
* @type {string}
|
|
24596
|
+
* @memberof UsersApiSearchPartner
|
|
24597
|
+
*/
|
|
24598
|
+
readonly q: string;
|
|
24599
|
+
/**
|
|
24600
|
+
*
|
|
24601
|
+
* @type {number}
|
|
24602
|
+
* @memberof UsersApiSearchPartner
|
|
24603
|
+
*/
|
|
24604
|
+
readonly page?: number;
|
|
24605
|
+
/**
|
|
24606
|
+
*
|
|
24607
|
+
* @type {number}
|
|
24608
|
+
* @memberof UsersApiSearchPartner
|
|
24609
|
+
*/
|
|
24610
|
+
readonly limit?: number;
|
|
24611
|
+
/**
|
|
24612
|
+
*
|
|
24613
|
+
* @type {Array<string>}
|
|
24614
|
+
* @memberof UsersApiSearchPartner
|
|
24615
|
+
*/
|
|
24616
|
+
readonly excludeIds?: Array<string>;
|
|
24617
|
+
}
|
|
24437
24618
|
/**
|
|
24438
24619
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
24439
24620
|
* @export
|
|
@@ -24824,6 +25005,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
24824
25005
|
* @memberof UsersApi
|
|
24825
25006
|
*/
|
|
24826
25007
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
|
|
25008
|
+
/**
|
|
25009
|
+
*
|
|
25010
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
25011
|
+
* @param {*} [options] Override http request option.
|
|
25012
|
+
* @throws {RequiredError}
|
|
25013
|
+
* @memberof UsersApi
|
|
25014
|
+
*/
|
|
25015
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerSearchResponse, any, {}>>;
|
|
24827
25016
|
/**
|
|
24828
25017
|
*
|
|
24829
25018
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -14976,6 +14976,51 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
14976
14976
|
options: localVarRequestOptions,
|
|
14977
14977
|
};
|
|
14978
14978
|
}),
|
|
14979
|
+
/**
|
|
14980
|
+
*
|
|
14981
|
+
* @param {string} q
|
|
14982
|
+
* @param {number} [page]
|
|
14983
|
+
* @param {number} [limit]
|
|
14984
|
+
* @param {Array<string>} [excludeIds]
|
|
14985
|
+
* @param {*} [options] Override http request option.
|
|
14986
|
+
* @throws {RequiredError}
|
|
14987
|
+
*/
|
|
14988
|
+
searchPartner: (q_1, page_1, limit_1, excludeIds_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, ...args_1], void 0, function* (q, page, limit, excludeIds, options = {}) {
|
|
14989
|
+
// verify required parameter 'q' is not null or undefined
|
|
14990
|
+
(0, common_1.assertParamExists)('searchPartner', 'q', q);
|
|
14991
|
+
const localVarPath = `/api/users/serachPartner`;
|
|
14992
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14993
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14994
|
+
let baseOptions;
|
|
14995
|
+
if (configuration) {
|
|
14996
|
+
baseOptions = configuration.baseOptions;
|
|
14997
|
+
}
|
|
14998
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14999
|
+
const localVarHeaderParameter = {};
|
|
15000
|
+
const localVarQueryParameter = {};
|
|
15001
|
+
// authentication bearerAuth required
|
|
15002
|
+
// http bearer authentication required
|
|
15003
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15004
|
+
if (q !== undefined) {
|
|
15005
|
+
localVarQueryParameter['q'] = q;
|
|
15006
|
+
}
|
|
15007
|
+
if (page !== undefined) {
|
|
15008
|
+
localVarQueryParameter['page'] = page;
|
|
15009
|
+
}
|
|
15010
|
+
if (limit !== undefined) {
|
|
15011
|
+
localVarQueryParameter['limit'] = limit;
|
|
15012
|
+
}
|
|
15013
|
+
if (excludeIds) {
|
|
15014
|
+
localVarQueryParameter['excludeIds'] = excludeIds;
|
|
15015
|
+
}
|
|
15016
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15018
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15019
|
+
return {
|
|
15020
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15021
|
+
options: localVarRequestOptions,
|
|
15022
|
+
};
|
|
15023
|
+
}),
|
|
14979
15024
|
/**
|
|
14980
15025
|
*
|
|
14981
15026
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -15768,6 +15813,24 @@ const UsersApiFp = function (configuration) {
|
|
|
15768
15813
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15769
15814
|
});
|
|
15770
15815
|
},
|
|
15816
|
+
/**
|
|
15817
|
+
*
|
|
15818
|
+
* @param {string} q
|
|
15819
|
+
* @param {number} [page]
|
|
15820
|
+
* @param {number} [limit]
|
|
15821
|
+
* @param {Array<string>} [excludeIds]
|
|
15822
|
+
* @param {*} [options] Override http request option.
|
|
15823
|
+
* @throws {RequiredError}
|
|
15824
|
+
*/
|
|
15825
|
+
searchPartner(q, page, limit, excludeIds, options) {
|
|
15826
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15827
|
+
var _a, _b, _c;
|
|
15828
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
|
|
15829
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15830
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.searchPartner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15831
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15832
|
+
});
|
|
15833
|
+
},
|
|
15771
15834
|
/**
|
|
15772
15835
|
*
|
|
15773
15836
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -16204,6 +16267,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
16204
16267
|
resetPassword(requestParameters, options) {
|
|
16205
16268
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
16206
16269
|
},
|
|
16270
|
+
/**
|
|
16271
|
+
*
|
|
16272
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
16273
|
+
* @param {*} [options] Override http request option.
|
|
16274
|
+
* @throws {RequiredError}
|
|
16275
|
+
*/
|
|
16276
|
+
searchPartner(requestParameters, options) {
|
|
16277
|
+
return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
|
|
16278
|
+
},
|
|
16207
16279
|
/**
|
|
16208
16280
|
*
|
|
16209
16281
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -16627,6 +16699,16 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
16627
16699
|
resetPassword(requestParameters, options) {
|
|
16628
16700
|
return (0, exports.UsersApiFp)(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16629
16701
|
}
|
|
16702
|
+
/**
|
|
16703
|
+
*
|
|
16704
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
16705
|
+
* @param {*} [options] Override http request option.
|
|
16706
|
+
* @throws {RequiredError}
|
|
16707
|
+
* @memberof UsersApi
|
|
16708
|
+
*/
|
|
16709
|
+
searchPartner(requestParameters, options) {
|
|
16710
|
+
return (0, exports.UsersApiFp)(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
|
|
16711
|
+
}
|
|
16630
16712
|
/**
|
|
16631
16713
|
*
|
|
16632
16714
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -765,11 +765,11 @@ export interface BookingPopulated {
|
|
|
765
765
|
*/
|
|
766
766
|
'creator': UserInfo;
|
|
767
767
|
/**
|
|
768
|
-
*
|
|
769
|
-
* @type {SlotInfo}
|
|
768
|
+
* Informations des slots
|
|
769
|
+
* @type {Array<SlotInfo>}
|
|
770
770
|
* @memberof BookingPopulated
|
|
771
771
|
*/
|
|
772
|
-
'slotInfos': SlotInfo
|
|
772
|
+
'slotInfos': Array<SlotInfo>;
|
|
773
773
|
/**
|
|
774
774
|
*
|
|
775
775
|
* @type {Array<UserInfo>}
|
|
@@ -6951,6 +6951,18 @@ export interface IUserAttributes {
|
|
|
6951
6951
|
* @memberof IUserAttributes
|
|
6952
6952
|
*/
|
|
6953
6953
|
'lastName': string;
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @type {string}
|
|
6957
|
+
* @memberof IUserAttributes
|
|
6958
|
+
*/
|
|
6959
|
+
'firstNameNormalized'?: string;
|
|
6960
|
+
/**
|
|
6961
|
+
*
|
|
6962
|
+
* @type {string}
|
|
6963
|
+
* @memberof IUserAttributes
|
|
6964
|
+
*/
|
|
6965
|
+
'lastNameNormalized'?: string;
|
|
6954
6966
|
/**
|
|
6955
6967
|
*
|
|
6956
6968
|
* @type {string}
|
|
@@ -8885,6 +8897,93 @@ export declare const ParticipationType: {
|
|
|
8885
8897
|
readonly Team: "team";
|
|
8886
8898
|
};
|
|
8887
8899
|
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
8900
|
+
/**
|
|
8901
|
+
*
|
|
8902
|
+
* @export
|
|
8903
|
+
* @interface PartnerSearchItem
|
|
8904
|
+
*/
|
|
8905
|
+
export interface PartnerSearchItem {
|
|
8906
|
+
/**
|
|
8907
|
+
*
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof PartnerSearchItem
|
|
8910
|
+
*/
|
|
8911
|
+
'id': string;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {string}
|
|
8915
|
+
* @memberof PartnerSearchItem
|
|
8916
|
+
*/
|
|
8917
|
+
'firstName': string;
|
|
8918
|
+
/**
|
|
8919
|
+
*
|
|
8920
|
+
* @type {string}
|
|
8921
|
+
* @memberof PartnerSearchItem
|
|
8922
|
+
*/
|
|
8923
|
+
'lastName': string;
|
|
8924
|
+
/**
|
|
8925
|
+
*
|
|
8926
|
+
* @type {string}
|
|
8927
|
+
* @memberof PartnerSearchItem
|
|
8928
|
+
*/
|
|
8929
|
+
'profilePicture': string | null;
|
|
8930
|
+
/**
|
|
8931
|
+
*
|
|
8932
|
+
* @type {boolean}
|
|
8933
|
+
* @memberof PartnerSearchItem
|
|
8934
|
+
*/
|
|
8935
|
+
'isFavorite': boolean;
|
|
8936
|
+
}
|
|
8937
|
+
/**
|
|
8938
|
+
*
|
|
8939
|
+
* @export
|
|
8940
|
+
* @interface PartnerSearchResponse
|
|
8941
|
+
*/
|
|
8942
|
+
export interface PartnerSearchResponse {
|
|
8943
|
+
/**
|
|
8944
|
+
*
|
|
8945
|
+
* @type {Array<PartnerSearchItem>}
|
|
8946
|
+
* @memberof PartnerSearchResponse
|
|
8947
|
+
*/
|
|
8948
|
+
'data': Array<PartnerSearchItem>;
|
|
8949
|
+
/**
|
|
8950
|
+
*
|
|
8951
|
+
* @type {PartnerSearchResponseMeta}
|
|
8952
|
+
* @memberof PartnerSearchResponse
|
|
8953
|
+
*/
|
|
8954
|
+
'meta': PartnerSearchResponseMeta;
|
|
8955
|
+
}
|
|
8956
|
+
/**
|
|
8957
|
+
*
|
|
8958
|
+
* @export
|
|
8959
|
+
* @interface PartnerSearchResponseMeta
|
|
8960
|
+
*/
|
|
8961
|
+
export interface PartnerSearchResponseMeta {
|
|
8962
|
+
/**
|
|
8963
|
+
*
|
|
8964
|
+
* @type {boolean}
|
|
8965
|
+
* @memberof PartnerSearchResponseMeta
|
|
8966
|
+
*/
|
|
8967
|
+
'hasMore': boolean;
|
|
8968
|
+
/**
|
|
8969
|
+
*
|
|
8970
|
+
* @type {number}
|
|
8971
|
+
* @memberof PartnerSearchResponseMeta
|
|
8972
|
+
*/
|
|
8973
|
+
'total': number;
|
|
8974
|
+
/**
|
|
8975
|
+
*
|
|
8976
|
+
* @type {number}
|
|
8977
|
+
* @memberof PartnerSearchResponseMeta
|
|
8978
|
+
*/
|
|
8979
|
+
'limit': number;
|
|
8980
|
+
/**
|
|
8981
|
+
*
|
|
8982
|
+
* @type {number}
|
|
8983
|
+
* @memberof PartnerSearchResponseMeta
|
|
8984
|
+
*/
|
|
8985
|
+
'page': number;
|
|
8986
|
+
}
|
|
8888
8987
|
/**
|
|
8889
8988
|
*
|
|
8890
8989
|
* @export
|
|
@@ -11442,6 +11541,18 @@ export interface StaffUserProfileResponse {
|
|
|
11442
11541
|
* @memberof StaffUserProfileResponse
|
|
11443
11542
|
*/
|
|
11444
11543
|
'lastName': string;
|
|
11544
|
+
/**
|
|
11545
|
+
*
|
|
11546
|
+
* @type {string}
|
|
11547
|
+
* @memberof StaffUserProfileResponse
|
|
11548
|
+
*/
|
|
11549
|
+
'firstNameNormalized'?: string;
|
|
11550
|
+
/**
|
|
11551
|
+
*
|
|
11552
|
+
* @type {string}
|
|
11553
|
+
* @memberof StaffUserProfileResponse
|
|
11554
|
+
*/
|
|
11555
|
+
'lastNameNormalized'?: string;
|
|
11445
11556
|
/**
|
|
11446
11557
|
*
|
|
11447
11558
|
* @type {string}
|
|
@@ -13632,6 +13743,18 @@ export interface UserProfileResponse {
|
|
|
13632
13743
|
* @memberof UserProfileResponse
|
|
13633
13744
|
*/
|
|
13634
13745
|
'lastName': string;
|
|
13746
|
+
/**
|
|
13747
|
+
*
|
|
13748
|
+
* @type {string}
|
|
13749
|
+
* @memberof UserProfileResponse
|
|
13750
|
+
*/
|
|
13751
|
+
'firstNameNormalized'?: string;
|
|
13752
|
+
/**
|
|
13753
|
+
*
|
|
13754
|
+
* @type {string}
|
|
13755
|
+
* @memberof UserProfileResponse
|
|
13756
|
+
*/
|
|
13757
|
+
'lastNameNormalized'?: string;
|
|
13635
13758
|
/**
|
|
13636
13759
|
*
|
|
13637
13760
|
* @type {string}
|
|
@@ -23294,6 +23417,16 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23294
23417
|
* @throws {RequiredError}
|
|
23295
23418
|
*/
|
|
23296
23419
|
resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23420
|
+
/**
|
|
23421
|
+
*
|
|
23422
|
+
* @param {string} q
|
|
23423
|
+
* @param {number} [page]
|
|
23424
|
+
* @param {number} [limit]
|
|
23425
|
+
* @param {Array<string>} [excludeIds]
|
|
23426
|
+
* @param {*} [options] Override http request option.
|
|
23427
|
+
* @throws {RequiredError}
|
|
23428
|
+
*/
|
|
23429
|
+
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23297
23430
|
/**
|
|
23298
23431
|
*
|
|
23299
23432
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23619,6 +23752,16 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
23619
23752
|
* @throws {RequiredError}
|
|
23620
23753
|
*/
|
|
23621
23754
|
resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
|
|
23755
|
+
/**
|
|
23756
|
+
*
|
|
23757
|
+
* @param {string} q
|
|
23758
|
+
* @param {number} [page]
|
|
23759
|
+
* @param {number} [limit]
|
|
23760
|
+
* @param {Array<string>} [excludeIds]
|
|
23761
|
+
* @param {*} [options] Override http request option.
|
|
23762
|
+
* @throws {RequiredError}
|
|
23763
|
+
*/
|
|
23764
|
+
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
23622
23765
|
/**
|
|
23623
23766
|
*
|
|
23624
23767
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23925,6 +24068,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23925
24068
|
* @throws {RequiredError}
|
|
23926
24069
|
*/
|
|
23927
24070
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
|
|
24071
|
+
/**
|
|
24072
|
+
*
|
|
24073
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
24074
|
+
* @param {*} [options] Override http request option.
|
|
24075
|
+
* @throws {RequiredError}
|
|
24076
|
+
*/
|
|
24077
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse>;
|
|
23928
24078
|
/**
|
|
23929
24079
|
*
|
|
23930
24080
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -24434,6 +24584,37 @@ export interface UsersApiResetPasswordRequest {
|
|
|
24434
24584
|
*/
|
|
24435
24585
|
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
24436
24586
|
}
|
|
24587
|
+
/**
|
|
24588
|
+
* Request parameters for searchPartner operation in UsersApi.
|
|
24589
|
+
* @export
|
|
24590
|
+
* @interface UsersApiSearchPartnerRequest
|
|
24591
|
+
*/
|
|
24592
|
+
export interface UsersApiSearchPartnerRequest {
|
|
24593
|
+
/**
|
|
24594
|
+
*
|
|
24595
|
+
* @type {string}
|
|
24596
|
+
* @memberof UsersApiSearchPartner
|
|
24597
|
+
*/
|
|
24598
|
+
readonly q: string;
|
|
24599
|
+
/**
|
|
24600
|
+
*
|
|
24601
|
+
* @type {number}
|
|
24602
|
+
* @memberof UsersApiSearchPartner
|
|
24603
|
+
*/
|
|
24604
|
+
readonly page?: number;
|
|
24605
|
+
/**
|
|
24606
|
+
*
|
|
24607
|
+
* @type {number}
|
|
24608
|
+
* @memberof UsersApiSearchPartner
|
|
24609
|
+
*/
|
|
24610
|
+
readonly limit?: number;
|
|
24611
|
+
/**
|
|
24612
|
+
*
|
|
24613
|
+
* @type {Array<string>}
|
|
24614
|
+
* @memberof UsersApiSearchPartner
|
|
24615
|
+
*/
|
|
24616
|
+
readonly excludeIds?: Array<string>;
|
|
24617
|
+
}
|
|
24437
24618
|
/**
|
|
24438
24619
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
24439
24620
|
* @export
|
|
@@ -24824,6 +25005,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
24824
25005
|
* @memberof UsersApi
|
|
24825
25006
|
*/
|
|
24826
25007
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
|
|
25008
|
+
/**
|
|
25009
|
+
*
|
|
25010
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
25011
|
+
* @param {*} [options] Override http request option.
|
|
25012
|
+
* @throws {RequiredError}
|
|
25013
|
+
* @memberof UsersApi
|
|
25014
|
+
*/
|
|
25015
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerSearchResponse, any, {}>>;
|
|
24827
25016
|
/**
|
|
24828
25017
|
*
|
|
24829
25018
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
CHANGED
|
@@ -14841,6 +14841,51 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
14841
14841
|
options: localVarRequestOptions,
|
|
14842
14842
|
};
|
|
14843
14843
|
}),
|
|
14844
|
+
/**
|
|
14845
|
+
*
|
|
14846
|
+
* @param {string} q
|
|
14847
|
+
* @param {number} [page]
|
|
14848
|
+
* @param {number} [limit]
|
|
14849
|
+
* @param {Array<string>} [excludeIds]
|
|
14850
|
+
* @param {*} [options] Override http request option.
|
|
14851
|
+
* @throws {RequiredError}
|
|
14852
|
+
*/
|
|
14853
|
+
searchPartner: (q_1, page_1, limit_1, excludeIds_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, ...args_1], void 0, function* (q, page, limit, excludeIds, options = {}) {
|
|
14854
|
+
// verify required parameter 'q' is not null or undefined
|
|
14855
|
+
assertParamExists('searchPartner', 'q', q);
|
|
14856
|
+
const localVarPath = `/api/users/serachPartner`;
|
|
14857
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14858
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14859
|
+
let baseOptions;
|
|
14860
|
+
if (configuration) {
|
|
14861
|
+
baseOptions = configuration.baseOptions;
|
|
14862
|
+
}
|
|
14863
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14864
|
+
const localVarHeaderParameter = {};
|
|
14865
|
+
const localVarQueryParameter = {};
|
|
14866
|
+
// authentication bearerAuth required
|
|
14867
|
+
// http bearer authentication required
|
|
14868
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14869
|
+
if (q !== undefined) {
|
|
14870
|
+
localVarQueryParameter['q'] = q;
|
|
14871
|
+
}
|
|
14872
|
+
if (page !== undefined) {
|
|
14873
|
+
localVarQueryParameter['page'] = page;
|
|
14874
|
+
}
|
|
14875
|
+
if (limit !== undefined) {
|
|
14876
|
+
localVarQueryParameter['limit'] = limit;
|
|
14877
|
+
}
|
|
14878
|
+
if (excludeIds) {
|
|
14879
|
+
localVarQueryParameter['excludeIds'] = excludeIds;
|
|
14880
|
+
}
|
|
14881
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14882
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14883
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14884
|
+
return {
|
|
14885
|
+
url: toPathString(localVarUrlObj),
|
|
14886
|
+
options: localVarRequestOptions,
|
|
14887
|
+
};
|
|
14888
|
+
}),
|
|
14844
14889
|
/**
|
|
14845
14890
|
*
|
|
14846
14891
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -15632,6 +15677,24 @@ export const UsersApiFp = function (configuration) {
|
|
|
15632
15677
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15633
15678
|
});
|
|
15634
15679
|
},
|
|
15680
|
+
/**
|
|
15681
|
+
*
|
|
15682
|
+
* @param {string} q
|
|
15683
|
+
* @param {number} [page]
|
|
15684
|
+
* @param {number} [limit]
|
|
15685
|
+
* @param {Array<string>} [excludeIds]
|
|
15686
|
+
* @param {*} [options] Override http request option.
|
|
15687
|
+
* @throws {RequiredError}
|
|
15688
|
+
*/
|
|
15689
|
+
searchPartner(q, page, limit, excludeIds, options) {
|
|
15690
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15691
|
+
var _a, _b, _c;
|
|
15692
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
|
|
15693
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15694
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.searchPartner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15696
|
+
});
|
|
15697
|
+
},
|
|
15635
15698
|
/**
|
|
15636
15699
|
*
|
|
15637
15700
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -16067,6 +16130,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
16067
16130
|
resetPassword(requestParameters, options) {
|
|
16068
16131
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
16069
16132
|
},
|
|
16133
|
+
/**
|
|
16134
|
+
*
|
|
16135
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
16136
|
+
* @param {*} [options] Override http request option.
|
|
16137
|
+
* @throws {RequiredError}
|
|
16138
|
+
*/
|
|
16139
|
+
searchPartner(requestParameters, options) {
|
|
16140
|
+
return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
|
|
16141
|
+
},
|
|
16070
16142
|
/**
|
|
16071
16143
|
*
|
|
16072
16144
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -16489,6 +16561,16 @@ export class UsersApi extends BaseAPI {
|
|
|
16489
16561
|
resetPassword(requestParameters, options) {
|
|
16490
16562
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16491
16563
|
}
|
|
16564
|
+
/**
|
|
16565
|
+
*
|
|
16566
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
16567
|
+
* @param {*} [options] Override http request option.
|
|
16568
|
+
* @throws {RequiredError}
|
|
16569
|
+
* @memberof UsersApi
|
|
16570
|
+
*/
|
|
16571
|
+
searchPartner(requestParameters, options) {
|
|
16572
|
+
return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
|
|
16573
|
+
}
|
|
16492
16574
|
/**
|
|
16493
16575
|
*
|
|
16494
16576
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
package/docs/BookingPopulated.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
9
|
**clubId** | **string** | | [default to undefined]
|
|
10
10
|
**creator** | [**UserInfo**](UserInfo.md) | | [default to undefined]
|
|
11
|
-
**slotInfos** | [**SlotInfo
|
|
11
|
+
**slotInfos** | [**Array<SlotInfo>**](SlotInfo.md) | Informations des slots | [default to undefined]
|
|
12
12
|
**players** | [**Array<UserInfo>**](UserInfo.md) | | [default to undefined]
|
|
13
13
|
**initialPlayers** | [**Array<UserInfo>**](UserInfo.md) | Joueurs inclus à la création de la réservation (pour les créneaux ouverts) | [optional] [default to undefined]
|
|
14
14
|
**paymentByPlayers** | [**Array<PaymentByPlayerInfo>**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
|
package/docs/IUserAttributes.md
CHANGED
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -49,6 +51,8 @@ const instance: IUserAttributes = {
|
|
|
49
51
|
googleId,
|
|
50
52
|
firstName,
|
|
51
53
|
lastName,
|
|
54
|
+
firstNameNormalized,
|
|
55
|
+
lastNameNormalized,
|
|
52
56
|
email,
|
|
53
57
|
gender,
|
|
54
58
|
location,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PartnerSearchItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [default to undefined]
|
|
11
|
+
**profilePicture** | **string** | | [default to undefined]
|
|
12
|
+
**isFavorite** | **boolean** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PartnerSearchItem } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: PartnerSearchItem = {
|
|
20
|
+
id,
|
|
21
|
+
firstName,
|
|
22
|
+
lastName,
|
|
23
|
+
profilePicture,
|
|
24
|
+
isFavorite,
|
|
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,22 @@
|
|
|
1
|
+
# PartnerSearchResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<PartnerSearchItem>**](PartnerSearchItem.md) | | [default to undefined]
|
|
9
|
+
**meta** | [**PartnerSearchResponseMeta**](PartnerSearchResponseMeta.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PartnerSearchResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: PartnerSearchResponse = {
|
|
17
|
+
data,
|
|
18
|
+
meta,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,26 @@
|
|
|
1
|
+
# PartnerSearchResponseMeta
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**hasMore** | **boolean** | | [default to undefined]
|
|
9
|
+
**total** | **number** | | [default to undefined]
|
|
10
|
+
**limit** | **number** | | [default to undefined]
|
|
11
|
+
**page** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PartnerSearchResponseMeta } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: PartnerSearchResponseMeta = {
|
|
19
|
+
hasMore,
|
|
20
|
+
total,
|
|
21
|
+
limit,
|
|
22
|
+
page,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -51,6 +53,8 @@ const instance: StaffUserProfileResponse = {
|
|
|
51
53
|
googleId,
|
|
52
54
|
firstName,
|
|
53
55
|
lastName,
|
|
56
|
+
firstNameNormalized,
|
|
57
|
+
lastNameNormalized,
|
|
54
58
|
email,
|
|
55
59
|
gender,
|
|
56
60
|
location,
|
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -62,6 +64,8 @@ const instance: UserProfileResponse = {
|
|
|
62
64
|
googleId,
|
|
63
65
|
firstName,
|
|
64
66
|
lastName,
|
|
67
|
+
firstNameNormalized,
|
|
68
|
+
lastNameNormalized,
|
|
65
69
|
email,
|
|
66
70
|
gender,
|
|
67
71
|
location,
|
package/docs/UsersApi.md
CHANGED
|
@@ -39,6 +39,7 @@ All URIs are relative to *http://localhost*
|
|
|
39
39
|
|[**requestOrganizationCode**](#requestorganizationcode) | **POST** /api/users/me/request-organization-code | |
|
|
40
40
|
|[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
|
|
41
41
|
|[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
|
|
42
|
+
|[**searchPartner**](#searchpartner) | **GET** /api/users/serachPartner | |
|
|
42
43
|
|[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
|
|
43
44
|
|[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
|
|
44
45
|
|[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
|
|
@@ -1805,6 +1806,65 @@ No authorization required
|
|
|
1805
1806
|
- **Accept**: application/json
|
|
1806
1807
|
|
|
1807
1808
|
|
|
1809
|
+
### HTTP response details
|
|
1810
|
+
| Status code | Description | Response headers |
|
|
1811
|
+
|-------------|-------------|------------------|
|
|
1812
|
+
|**200** | Ok | - |
|
|
1813
|
+
|
|
1814
|
+
[[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)
|
|
1815
|
+
|
|
1816
|
+
# **searchPartner**
|
|
1817
|
+
> PartnerSearchResponse searchPartner()
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
### Example
|
|
1821
|
+
|
|
1822
|
+
```typescript
|
|
1823
|
+
import {
|
|
1824
|
+
UsersApi,
|
|
1825
|
+
Configuration
|
|
1826
|
+
} from '@tennac-booking/sdk';
|
|
1827
|
+
|
|
1828
|
+
const configuration = new Configuration();
|
|
1829
|
+
const apiInstance = new UsersApi(configuration);
|
|
1830
|
+
|
|
1831
|
+
let q: string; // (default to undefined)
|
|
1832
|
+
let page: number; // (optional) (default to undefined)
|
|
1833
|
+
let limit: number; // (optional) (default to undefined)
|
|
1834
|
+
let excludeIds: Array<string>; // (optional) (default to undefined)
|
|
1835
|
+
|
|
1836
|
+
const { status, data } = await apiInstance.searchPartner(
|
|
1837
|
+
q,
|
|
1838
|
+
page,
|
|
1839
|
+
limit,
|
|
1840
|
+
excludeIds
|
|
1841
|
+
);
|
|
1842
|
+
```
|
|
1843
|
+
|
|
1844
|
+
### Parameters
|
|
1845
|
+
|
|
1846
|
+
|Name | Type | Description | Notes|
|
|
1847
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1848
|
+
| **q** | [**string**] | | defaults to undefined|
|
|
1849
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
1850
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
1851
|
+
| **excludeIds** | **Array<string>** | | (optional) defaults to undefined|
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
### Return type
|
|
1855
|
+
|
|
1856
|
+
**PartnerSearchResponse**
|
|
1857
|
+
|
|
1858
|
+
### Authorization
|
|
1859
|
+
|
|
1860
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1861
|
+
|
|
1862
|
+
### HTTP request headers
|
|
1863
|
+
|
|
1864
|
+
- **Content-Type**: Not defined
|
|
1865
|
+
- **Accept**: application/json
|
|
1866
|
+
|
|
1867
|
+
|
|
1808
1868
|
### HTTP response details
|
|
1809
1869
|
| Status code | Description | Response headers |
|
|
1810
1870
|
|-------------|-------------|------------------|
|