@tennac-booking/sdk 1.0.205 → 1.0.206
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 +212 -0
- package/dist/api.d.ts +153 -0
- package/dist/api.js +82 -0
- package/dist/esm/api.d.ts +153 -0
- package/dist/esm/api.js +82 -0
- package/docs/PartnerSearchItem.md +28 -0
- package/docs/PartnerSearchResponse.md +22 -0
- package/docs/PartnerSearchResponseMeta.md +26 -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
|
@@ -9028,6 +9028,93 @@ export const ParticipationType = {
|
|
|
9028
9028
|
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
9029
9029
|
|
|
9030
9030
|
|
|
9031
|
+
/**
|
|
9032
|
+
*
|
|
9033
|
+
* @export
|
|
9034
|
+
* @interface PartnerSearchItem
|
|
9035
|
+
*/
|
|
9036
|
+
export interface PartnerSearchItem {
|
|
9037
|
+
/**
|
|
9038
|
+
*
|
|
9039
|
+
* @type {string}
|
|
9040
|
+
* @memberof PartnerSearchItem
|
|
9041
|
+
*/
|
|
9042
|
+
'id': string;
|
|
9043
|
+
/**
|
|
9044
|
+
*
|
|
9045
|
+
* @type {string}
|
|
9046
|
+
* @memberof PartnerSearchItem
|
|
9047
|
+
*/
|
|
9048
|
+
'firstName': string;
|
|
9049
|
+
/**
|
|
9050
|
+
*
|
|
9051
|
+
* @type {string}
|
|
9052
|
+
* @memberof PartnerSearchItem
|
|
9053
|
+
*/
|
|
9054
|
+
'lastName': string;
|
|
9055
|
+
/**
|
|
9056
|
+
*
|
|
9057
|
+
* @type {string}
|
|
9058
|
+
* @memberof PartnerSearchItem
|
|
9059
|
+
*/
|
|
9060
|
+
'profilePicture': string | null;
|
|
9061
|
+
/**
|
|
9062
|
+
*
|
|
9063
|
+
* @type {boolean}
|
|
9064
|
+
* @memberof PartnerSearchItem
|
|
9065
|
+
*/
|
|
9066
|
+
'isFavorite': boolean;
|
|
9067
|
+
}
|
|
9068
|
+
/**
|
|
9069
|
+
*
|
|
9070
|
+
* @export
|
|
9071
|
+
* @interface PartnerSearchResponse
|
|
9072
|
+
*/
|
|
9073
|
+
export interface PartnerSearchResponse {
|
|
9074
|
+
/**
|
|
9075
|
+
*
|
|
9076
|
+
* @type {Array<PartnerSearchItem>}
|
|
9077
|
+
* @memberof PartnerSearchResponse
|
|
9078
|
+
*/
|
|
9079
|
+
'data': Array<PartnerSearchItem>;
|
|
9080
|
+
/**
|
|
9081
|
+
*
|
|
9082
|
+
* @type {PartnerSearchResponseMeta}
|
|
9083
|
+
* @memberof PartnerSearchResponse
|
|
9084
|
+
*/
|
|
9085
|
+
'meta': PartnerSearchResponseMeta;
|
|
9086
|
+
}
|
|
9087
|
+
/**
|
|
9088
|
+
*
|
|
9089
|
+
* @export
|
|
9090
|
+
* @interface PartnerSearchResponseMeta
|
|
9091
|
+
*/
|
|
9092
|
+
export interface PartnerSearchResponseMeta {
|
|
9093
|
+
/**
|
|
9094
|
+
*
|
|
9095
|
+
* @type {boolean}
|
|
9096
|
+
* @memberof PartnerSearchResponseMeta
|
|
9097
|
+
*/
|
|
9098
|
+
'hasMore': boolean;
|
|
9099
|
+
/**
|
|
9100
|
+
*
|
|
9101
|
+
* @type {number}
|
|
9102
|
+
* @memberof PartnerSearchResponseMeta
|
|
9103
|
+
*/
|
|
9104
|
+
'total': number;
|
|
9105
|
+
/**
|
|
9106
|
+
*
|
|
9107
|
+
* @type {number}
|
|
9108
|
+
* @memberof PartnerSearchResponseMeta
|
|
9109
|
+
*/
|
|
9110
|
+
'limit': number;
|
|
9111
|
+
/**
|
|
9112
|
+
*
|
|
9113
|
+
* @type {number}
|
|
9114
|
+
* @memberof PartnerSearchResponseMeta
|
|
9115
|
+
*/
|
|
9116
|
+
'page': number;
|
|
9117
|
+
}
|
|
9031
9118
|
/**
|
|
9032
9119
|
*
|
|
9033
9120
|
* @export
|
|
@@ -32849,6 +32936,61 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
32849
32936
|
options: localVarRequestOptions,
|
|
32850
32937
|
};
|
|
32851
32938
|
},
|
|
32939
|
+
/**
|
|
32940
|
+
*
|
|
32941
|
+
* @param {string} q
|
|
32942
|
+
* @param {number} [page]
|
|
32943
|
+
* @param {number} [limit]
|
|
32944
|
+
* @param {Array<string>} [excludeIds]
|
|
32945
|
+
* @param {*} [options] Override http request option.
|
|
32946
|
+
* @throws {RequiredError}
|
|
32947
|
+
*/
|
|
32948
|
+
searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32949
|
+
// verify required parameter 'q' is not null or undefined
|
|
32950
|
+
assertParamExists('searchPartner', 'q', q)
|
|
32951
|
+
const localVarPath = `/api/users/serachPartner`;
|
|
32952
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32953
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32954
|
+
let baseOptions;
|
|
32955
|
+
if (configuration) {
|
|
32956
|
+
baseOptions = configuration.baseOptions;
|
|
32957
|
+
}
|
|
32958
|
+
|
|
32959
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32960
|
+
const localVarHeaderParameter = {} as any;
|
|
32961
|
+
const localVarQueryParameter = {} as any;
|
|
32962
|
+
|
|
32963
|
+
// authentication bearerAuth required
|
|
32964
|
+
// http bearer authentication required
|
|
32965
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32966
|
+
|
|
32967
|
+
if (q !== undefined) {
|
|
32968
|
+
localVarQueryParameter['q'] = q;
|
|
32969
|
+
}
|
|
32970
|
+
|
|
32971
|
+
if (page !== undefined) {
|
|
32972
|
+
localVarQueryParameter['page'] = page;
|
|
32973
|
+
}
|
|
32974
|
+
|
|
32975
|
+
if (limit !== undefined) {
|
|
32976
|
+
localVarQueryParameter['limit'] = limit;
|
|
32977
|
+
}
|
|
32978
|
+
|
|
32979
|
+
if (excludeIds) {
|
|
32980
|
+
localVarQueryParameter['excludeIds'] = excludeIds;
|
|
32981
|
+
}
|
|
32982
|
+
|
|
32983
|
+
|
|
32984
|
+
|
|
32985
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32986
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32987
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32988
|
+
|
|
32989
|
+
return {
|
|
32990
|
+
url: toPathString(localVarUrlObj),
|
|
32991
|
+
options: localVarRequestOptions,
|
|
32992
|
+
};
|
|
32993
|
+
},
|
|
32852
32994
|
/**
|
|
32853
32995
|
*
|
|
32854
32996
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -33589,6 +33731,21 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
33589
33731
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
|
|
33590
33732
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33591
33733
|
},
|
|
33734
|
+
/**
|
|
33735
|
+
*
|
|
33736
|
+
* @param {string} q
|
|
33737
|
+
* @param {number} [page]
|
|
33738
|
+
* @param {number} [limit]
|
|
33739
|
+
* @param {Array<string>} [excludeIds]
|
|
33740
|
+
* @param {*} [options] Override http request option.
|
|
33741
|
+
* @throws {RequiredError}
|
|
33742
|
+
*/
|
|
33743
|
+
async searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>> {
|
|
33744
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
|
|
33745
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33746
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.searchPartner']?.[localVarOperationServerIndex]?.url;
|
|
33747
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33748
|
+
},
|
|
33592
33749
|
/**
|
|
33593
33750
|
*
|
|
33594
33751
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -34001,6 +34158,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
34001
34158
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
|
|
34002
34159
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
34003
34160
|
},
|
|
34161
|
+
/**
|
|
34162
|
+
*
|
|
34163
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
34164
|
+
* @param {*} [options] Override http request option.
|
|
34165
|
+
* @throws {RequiredError}
|
|
34166
|
+
*/
|
|
34167
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse> {
|
|
34168
|
+
return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
|
|
34169
|
+
},
|
|
34004
34170
|
/**
|
|
34005
34171
|
*
|
|
34006
34172
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -34573,6 +34739,41 @@ export interface UsersApiResetPasswordRequest {
|
|
|
34573
34739
|
readonly resetPasswordRequest: ResetPasswordRequest
|
|
34574
34740
|
}
|
|
34575
34741
|
|
|
34742
|
+
/**
|
|
34743
|
+
* Request parameters for searchPartner operation in UsersApi.
|
|
34744
|
+
* @export
|
|
34745
|
+
* @interface UsersApiSearchPartnerRequest
|
|
34746
|
+
*/
|
|
34747
|
+
export interface UsersApiSearchPartnerRequest {
|
|
34748
|
+
/**
|
|
34749
|
+
*
|
|
34750
|
+
* @type {string}
|
|
34751
|
+
* @memberof UsersApiSearchPartner
|
|
34752
|
+
*/
|
|
34753
|
+
readonly q: string
|
|
34754
|
+
|
|
34755
|
+
/**
|
|
34756
|
+
*
|
|
34757
|
+
* @type {number}
|
|
34758
|
+
* @memberof UsersApiSearchPartner
|
|
34759
|
+
*/
|
|
34760
|
+
readonly page?: number
|
|
34761
|
+
|
|
34762
|
+
/**
|
|
34763
|
+
*
|
|
34764
|
+
* @type {number}
|
|
34765
|
+
* @memberof UsersApiSearchPartner
|
|
34766
|
+
*/
|
|
34767
|
+
readonly limit?: number
|
|
34768
|
+
|
|
34769
|
+
/**
|
|
34770
|
+
*
|
|
34771
|
+
* @type {Array<string>}
|
|
34772
|
+
* @memberof UsersApiSearchPartner
|
|
34773
|
+
*/
|
|
34774
|
+
readonly excludeIds?: Array<string>
|
|
34775
|
+
}
|
|
34776
|
+
|
|
34576
34777
|
/**
|
|
34577
34778
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
34578
34779
|
* @export
|
|
@@ -35068,6 +35269,17 @@ export class UsersApi extends BaseAPI {
|
|
|
35068
35269
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35069
35270
|
}
|
|
35070
35271
|
|
|
35272
|
+
/**
|
|
35273
|
+
*
|
|
35274
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
35275
|
+
* @param {*} [options] Override http request option.
|
|
35276
|
+
* @throws {RequiredError}
|
|
35277
|
+
* @memberof UsersApi
|
|
35278
|
+
*/
|
|
35279
|
+
public searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig) {
|
|
35280
|
+
return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
|
|
35281
|
+
}
|
|
35282
|
+
|
|
35071
35283
|
/**
|
|
35072
35284
|
*
|
|
35073
35285
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
package/dist/api.d.ts
CHANGED
|
@@ -8885,6 +8885,93 @@ export declare const ParticipationType: {
|
|
|
8885
8885
|
readonly Team: "team";
|
|
8886
8886
|
};
|
|
8887
8887
|
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
8888
|
+
/**
|
|
8889
|
+
*
|
|
8890
|
+
* @export
|
|
8891
|
+
* @interface PartnerSearchItem
|
|
8892
|
+
*/
|
|
8893
|
+
export interface PartnerSearchItem {
|
|
8894
|
+
/**
|
|
8895
|
+
*
|
|
8896
|
+
* @type {string}
|
|
8897
|
+
* @memberof PartnerSearchItem
|
|
8898
|
+
*/
|
|
8899
|
+
'id': string;
|
|
8900
|
+
/**
|
|
8901
|
+
*
|
|
8902
|
+
* @type {string}
|
|
8903
|
+
* @memberof PartnerSearchItem
|
|
8904
|
+
*/
|
|
8905
|
+
'firstName': string;
|
|
8906
|
+
/**
|
|
8907
|
+
*
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof PartnerSearchItem
|
|
8910
|
+
*/
|
|
8911
|
+
'lastName': string;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {string}
|
|
8915
|
+
* @memberof PartnerSearchItem
|
|
8916
|
+
*/
|
|
8917
|
+
'profilePicture': string | null;
|
|
8918
|
+
/**
|
|
8919
|
+
*
|
|
8920
|
+
* @type {boolean}
|
|
8921
|
+
* @memberof PartnerSearchItem
|
|
8922
|
+
*/
|
|
8923
|
+
'isFavorite': boolean;
|
|
8924
|
+
}
|
|
8925
|
+
/**
|
|
8926
|
+
*
|
|
8927
|
+
* @export
|
|
8928
|
+
* @interface PartnerSearchResponse
|
|
8929
|
+
*/
|
|
8930
|
+
export interface PartnerSearchResponse {
|
|
8931
|
+
/**
|
|
8932
|
+
*
|
|
8933
|
+
* @type {Array<PartnerSearchItem>}
|
|
8934
|
+
* @memberof PartnerSearchResponse
|
|
8935
|
+
*/
|
|
8936
|
+
'data': Array<PartnerSearchItem>;
|
|
8937
|
+
/**
|
|
8938
|
+
*
|
|
8939
|
+
* @type {PartnerSearchResponseMeta}
|
|
8940
|
+
* @memberof PartnerSearchResponse
|
|
8941
|
+
*/
|
|
8942
|
+
'meta': PartnerSearchResponseMeta;
|
|
8943
|
+
}
|
|
8944
|
+
/**
|
|
8945
|
+
*
|
|
8946
|
+
* @export
|
|
8947
|
+
* @interface PartnerSearchResponseMeta
|
|
8948
|
+
*/
|
|
8949
|
+
export interface PartnerSearchResponseMeta {
|
|
8950
|
+
/**
|
|
8951
|
+
*
|
|
8952
|
+
* @type {boolean}
|
|
8953
|
+
* @memberof PartnerSearchResponseMeta
|
|
8954
|
+
*/
|
|
8955
|
+
'hasMore': boolean;
|
|
8956
|
+
/**
|
|
8957
|
+
*
|
|
8958
|
+
* @type {number}
|
|
8959
|
+
* @memberof PartnerSearchResponseMeta
|
|
8960
|
+
*/
|
|
8961
|
+
'total': number;
|
|
8962
|
+
/**
|
|
8963
|
+
*
|
|
8964
|
+
* @type {number}
|
|
8965
|
+
* @memberof PartnerSearchResponseMeta
|
|
8966
|
+
*/
|
|
8967
|
+
'limit': number;
|
|
8968
|
+
/**
|
|
8969
|
+
*
|
|
8970
|
+
* @type {number}
|
|
8971
|
+
* @memberof PartnerSearchResponseMeta
|
|
8972
|
+
*/
|
|
8973
|
+
'page': number;
|
|
8974
|
+
}
|
|
8888
8975
|
/**
|
|
8889
8976
|
*
|
|
8890
8977
|
* @export
|
|
@@ -23294,6 +23381,16 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23294
23381
|
* @throws {RequiredError}
|
|
23295
23382
|
*/
|
|
23296
23383
|
resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23384
|
+
/**
|
|
23385
|
+
*
|
|
23386
|
+
* @param {string} q
|
|
23387
|
+
* @param {number} [page]
|
|
23388
|
+
* @param {number} [limit]
|
|
23389
|
+
* @param {Array<string>} [excludeIds]
|
|
23390
|
+
* @param {*} [options] Override http request option.
|
|
23391
|
+
* @throws {RequiredError}
|
|
23392
|
+
*/
|
|
23393
|
+
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23297
23394
|
/**
|
|
23298
23395
|
*
|
|
23299
23396
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23619,6 +23716,16 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
23619
23716
|
* @throws {RequiredError}
|
|
23620
23717
|
*/
|
|
23621
23718
|
resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
|
|
23719
|
+
/**
|
|
23720
|
+
*
|
|
23721
|
+
* @param {string} q
|
|
23722
|
+
* @param {number} [page]
|
|
23723
|
+
* @param {number} [limit]
|
|
23724
|
+
* @param {Array<string>} [excludeIds]
|
|
23725
|
+
* @param {*} [options] Override http request option.
|
|
23726
|
+
* @throws {RequiredError}
|
|
23727
|
+
*/
|
|
23728
|
+
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
23622
23729
|
/**
|
|
23623
23730
|
*
|
|
23624
23731
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23925,6 +24032,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23925
24032
|
* @throws {RequiredError}
|
|
23926
24033
|
*/
|
|
23927
24034
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
|
|
24035
|
+
/**
|
|
24036
|
+
*
|
|
24037
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
24038
|
+
* @param {*} [options] Override http request option.
|
|
24039
|
+
* @throws {RequiredError}
|
|
24040
|
+
*/
|
|
24041
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse>;
|
|
23928
24042
|
/**
|
|
23929
24043
|
*
|
|
23930
24044
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -24434,6 +24548,37 @@ export interface UsersApiResetPasswordRequest {
|
|
|
24434
24548
|
*/
|
|
24435
24549
|
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
24436
24550
|
}
|
|
24551
|
+
/**
|
|
24552
|
+
* Request parameters for searchPartner operation in UsersApi.
|
|
24553
|
+
* @export
|
|
24554
|
+
* @interface UsersApiSearchPartnerRequest
|
|
24555
|
+
*/
|
|
24556
|
+
export interface UsersApiSearchPartnerRequest {
|
|
24557
|
+
/**
|
|
24558
|
+
*
|
|
24559
|
+
* @type {string}
|
|
24560
|
+
* @memberof UsersApiSearchPartner
|
|
24561
|
+
*/
|
|
24562
|
+
readonly q: string;
|
|
24563
|
+
/**
|
|
24564
|
+
*
|
|
24565
|
+
* @type {number}
|
|
24566
|
+
* @memberof UsersApiSearchPartner
|
|
24567
|
+
*/
|
|
24568
|
+
readonly page?: number;
|
|
24569
|
+
/**
|
|
24570
|
+
*
|
|
24571
|
+
* @type {number}
|
|
24572
|
+
* @memberof UsersApiSearchPartner
|
|
24573
|
+
*/
|
|
24574
|
+
readonly limit?: number;
|
|
24575
|
+
/**
|
|
24576
|
+
*
|
|
24577
|
+
* @type {Array<string>}
|
|
24578
|
+
* @memberof UsersApiSearchPartner
|
|
24579
|
+
*/
|
|
24580
|
+
readonly excludeIds?: Array<string>;
|
|
24581
|
+
}
|
|
24437
24582
|
/**
|
|
24438
24583
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
24439
24584
|
* @export
|
|
@@ -24824,6 +24969,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
24824
24969
|
* @memberof UsersApi
|
|
24825
24970
|
*/
|
|
24826
24971
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
|
|
24972
|
+
/**
|
|
24973
|
+
*
|
|
24974
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
24975
|
+
* @param {*} [options] Override http request option.
|
|
24976
|
+
* @throws {RequiredError}
|
|
24977
|
+
* @memberof UsersApi
|
|
24978
|
+
*/
|
|
24979
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerSearchResponse, any, {}>>;
|
|
24827
24980
|
/**
|
|
24828
24981
|
*
|
|
24829
24982
|
* @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
|
@@ -8885,6 +8885,93 @@ export declare const ParticipationType: {
|
|
|
8885
8885
|
readonly Team: "team";
|
|
8886
8886
|
};
|
|
8887
8887
|
export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
|
|
8888
|
+
/**
|
|
8889
|
+
*
|
|
8890
|
+
* @export
|
|
8891
|
+
* @interface PartnerSearchItem
|
|
8892
|
+
*/
|
|
8893
|
+
export interface PartnerSearchItem {
|
|
8894
|
+
/**
|
|
8895
|
+
*
|
|
8896
|
+
* @type {string}
|
|
8897
|
+
* @memberof PartnerSearchItem
|
|
8898
|
+
*/
|
|
8899
|
+
'id': string;
|
|
8900
|
+
/**
|
|
8901
|
+
*
|
|
8902
|
+
* @type {string}
|
|
8903
|
+
* @memberof PartnerSearchItem
|
|
8904
|
+
*/
|
|
8905
|
+
'firstName': string;
|
|
8906
|
+
/**
|
|
8907
|
+
*
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof PartnerSearchItem
|
|
8910
|
+
*/
|
|
8911
|
+
'lastName': string;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {string}
|
|
8915
|
+
* @memberof PartnerSearchItem
|
|
8916
|
+
*/
|
|
8917
|
+
'profilePicture': string | null;
|
|
8918
|
+
/**
|
|
8919
|
+
*
|
|
8920
|
+
* @type {boolean}
|
|
8921
|
+
* @memberof PartnerSearchItem
|
|
8922
|
+
*/
|
|
8923
|
+
'isFavorite': boolean;
|
|
8924
|
+
}
|
|
8925
|
+
/**
|
|
8926
|
+
*
|
|
8927
|
+
* @export
|
|
8928
|
+
* @interface PartnerSearchResponse
|
|
8929
|
+
*/
|
|
8930
|
+
export interface PartnerSearchResponse {
|
|
8931
|
+
/**
|
|
8932
|
+
*
|
|
8933
|
+
* @type {Array<PartnerSearchItem>}
|
|
8934
|
+
* @memberof PartnerSearchResponse
|
|
8935
|
+
*/
|
|
8936
|
+
'data': Array<PartnerSearchItem>;
|
|
8937
|
+
/**
|
|
8938
|
+
*
|
|
8939
|
+
* @type {PartnerSearchResponseMeta}
|
|
8940
|
+
* @memberof PartnerSearchResponse
|
|
8941
|
+
*/
|
|
8942
|
+
'meta': PartnerSearchResponseMeta;
|
|
8943
|
+
}
|
|
8944
|
+
/**
|
|
8945
|
+
*
|
|
8946
|
+
* @export
|
|
8947
|
+
* @interface PartnerSearchResponseMeta
|
|
8948
|
+
*/
|
|
8949
|
+
export interface PartnerSearchResponseMeta {
|
|
8950
|
+
/**
|
|
8951
|
+
*
|
|
8952
|
+
* @type {boolean}
|
|
8953
|
+
* @memberof PartnerSearchResponseMeta
|
|
8954
|
+
*/
|
|
8955
|
+
'hasMore': boolean;
|
|
8956
|
+
/**
|
|
8957
|
+
*
|
|
8958
|
+
* @type {number}
|
|
8959
|
+
* @memberof PartnerSearchResponseMeta
|
|
8960
|
+
*/
|
|
8961
|
+
'total': number;
|
|
8962
|
+
/**
|
|
8963
|
+
*
|
|
8964
|
+
* @type {number}
|
|
8965
|
+
* @memberof PartnerSearchResponseMeta
|
|
8966
|
+
*/
|
|
8967
|
+
'limit': number;
|
|
8968
|
+
/**
|
|
8969
|
+
*
|
|
8970
|
+
* @type {number}
|
|
8971
|
+
* @memberof PartnerSearchResponseMeta
|
|
8972
|
+
*/
|
|
8973
|
+
'page': number;
|
|
8974
|
+
}
|
|
8888
8975
|
/**
|
|
8889
8976
|
*
|
|
8890
8977
|
* @export
|
|
@@ -23294,6 +23381,16 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23294
23381
|
* @throws {RequiredError}
|
|
23295
23382
|
*/
|
|
23296
23383
|
resetPassword: (resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23384
|
+
/**
|
|
23385
|
+
*
|
|
23386
|
+
* @param {string} q
|
|
23387
|
+
* @param {number} [page]
|
|
23388
|
+
* @param {number} [limit]
|
|
23389
|
+
* @param {Array<string>} [excludeIds]
|
|
23390
|
+
* @param {*} [options] Override http request option.
|
|
23391
|
+
* @throws {RequiredError}
|
|
23392
|
+
*/
|
|
23393
|
+
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23297
23394
|
/**
|
|
23298
23395
|
*
|
|
23299
23396
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23619,6 +23716,16 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
23619
23716
|
* @throws {RequiredError}
|
|
23620
23717
|
*/
|
|
23621
23718
|
resetPassword(resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
|
|
23719
|
+
/**
|
|
23720
|
+
*
|
|
23721
|
+
* @param {string} q
|
|
23722
|
+
* @param {number} [page]
|
|
23723
|
+
* @param {number} [limit]
|
|
23724
|
+
* @param {Array<string>} [excludeIds]
|
|
23725
|
+
* @param {*} [options] Override http request option.
|
|
23726
|
+
* @throws {RequiredError}
|
|
23727
|
+
*/
|
|
23728
|
+
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
23622
23729
|
/**
|
|
23623
23730
|
*
|
|
23624
23731
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -23925,6 +24032,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23925
24032
|
* @throws {RequiredError}
|
|
23926
24033
|
*/
|
|
23927
24034
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
|
|
24035
|
+
/**
|
|
24036
|
+
*
|
|
24037
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
24038
|
+
* @param {*} [options] Override http request option.
|
|
24039
|
+
* @throws {RequiredError}
|
|
24040
|
+
*/
|
|
24041
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse>;
|
|
23928
24042
|
/**
|
|
23929
24043
|
*
|
|
23930
24044
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -24434,6 +24548,37 @@ export interface UsersApiResetPasswordRequest {
|
|
|
24434
24548
|
*/
|
|
24435
24549
|
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
24436
24550
|
}
|
|
24551
|
+
/**
|
|
24552
|
+
* Request parameters for searchPartner operation in UsersApi.
|
|
24553
|
+
* @export
|
|
24554
|
+
* @interface UsersApiSearchPartnerRequest
|
|
24555
|
+
*/
|
|
24556
|
+
export interface UsersApiSearchPartnerRequest {
|
|
24557
|
+
/**
|
|
24558
|
+
*
|
|
24559
|
+
* @type {string}
|
|
24560
|
+
* @memberof UsersApiSearchPartner
|
|
24561
|
+
*/
|
|
24562
|
+
readonly q: string;
|
|
24563
|
+
/**
|
|
24564
|
+
*
|
|
24565
|
+
* @type {number}
|
|
24566
|
+
* @memberof UsersApiSearchPartner
|
|
24567
|
+
*/
|
|
24568
|
+
readonly page?: number;
|
|
24569
|
+
/**
|
|
24570
|
+
*
|
|
24571
|
+
* @type {number}
|
|
24572
|
+
* @memberof UsersApiSearchPartner
|
|
24573
|
+
*/
|
|
24574
|
+
readonly limit?: number;
|
|
24575
|
+
/**
|
|
24576
|
+
*
|
|
24577
|
+
* @type {Array<string>}
|
|
24578
|
+
* @memberof UsersApiSearchPartner
|
|
24579
|
+
*/
|
|
24580
|
+
readonly excludeIds?: Array<string>;
|
|
24581
|
+
}
|
|
24437
24582
|
/**
|
|
24438
24583
|
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
24439
24584
|
* @export
|
|
@@ -24824,6 +24969,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
24824
24969
|
* @memberof UsersApi
|
|
24825
24970
|
*/
|
|
24826
24971
|
resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
|
|
24972
|
+
/**
|
|
24973
|
+
*
|
|
24974
|
+
* @param {UsersApiSearchPartnerRequest} requestParameters Request parameters.
|
|
24975
|
+
* @param {*} [options] Override http request option.
|
|
24976
|
+
* @throws {RequiredError}
|
|
24977
|
+
* @memberof UsersApi
|
|
24978
|
+
*/
|
|
24979
|
+
searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerSearchResponse, any, {}>>;
|
|
24827
24980
|
/**
|
|
24828
24981
|
*
|
|
24829
24982
|
* @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.
|
|
@@ -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)
|
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
|
|-------------|-------------|------------------|
|