@tennac-booking/sdk 1.0.204 → 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.
@@ -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
@@ -6063,6 +6063,12 @@ export interface EventResponse {
6063
6063
  * @memberof EventResponse
6064
6064
  */
6065
6065
  'registrationOpenDaysBefore': number;
6066
+ /**
6067
+ *
6068
+ * @type {boolean}
6069
+ * @memberof EventResponse
6070
+ */
6071
+ 'isUserRegistered'?: boolean;
6066
6072
  /**
6067
6073
  *
6068
6074
  * @type {string}
@@ -9022,6 +9028,93 @@ export const ParticipationType = {
9022
9028
  export type ParticipationType = typeof ParticipationType[keyof typeof ParticipationType];
9023
9029
 
9024
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
+ }
9025
9118
  /**
9026
9119
  *
9027
9120
  * @export
@@ -26229,6 +26322,10 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
26229
26322
  const localVarHeaderParameter = {} as any;
26230
26323
  const localVarQueryParameter = {} as any;
26231
26324
 
26325
+ // authentication bearerAuth required
26326
+ // http bearer authentication required
26327
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26328
+
26232
26329
  if (clubId !== undefined) {
26233
26330
  localVarQueryParameter['clubId'] = clubId;
26234
26331
  }
@@ -32839,6 +32936,61 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
32839
32936
  options: localVarRequestOptions,
32840
32937
  };
32841
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
+ },
32842
32994
  /**
32843
32995
  *
32844
32996
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -33579,6 +33731,21 @@ export const UsersApiFp = function(configuration?: Configuration) {
33579
33731
  const localVarOperationServerBasePath = operationServerMap['UsersApi.resetPassword']?.[localVarOperationServerIndex]?.url;
33580
33732
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33581
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
+ },
33582
33749
  /**
33583
33750
  *
33584
33751
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -33991,6 +34158,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
33991
34158
  resetPassword(requestParameters: UsersApiResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
33992
34159
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
33993
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
+ },
33994
34170
  /**
33995
34171
  *
33996
34172
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -34563,6 +34739,41 @@ export interface UsersApiResetPasswordRequest {
34563
34739
  readonly resetPasswordRequest: ResetPasswordRequest
34564
34740
  }
34565
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
+
34566
34777
  /**
34567
34778
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
34568
34779
  * @export
@@ -35058,6 +35269,17 @@ export class UsersApi extends BaseAPI {
35058
35269
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
35059
35270
  }
35060
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
+
35061
35283
  /**
35062
35284
  *
35063
35285
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
package/dist/api.d.ts CHANGED
@@ -5964,6 +5964,12 @@ export interface EventResponse {
5964
5964
  * @memberof EventResponse
5965
5965
  */
5966
5966
  'registrationOpenDaysBefore': number;
5967
+ /**
5968
+ *
5969
+ * @type {boolean}
5970
+ * @memberof EventResponse
5971
+ */
5972
+ 'isUserRegistered'?: boolean;
5967
5973
  /**
5968
5974
  *
5969
5975
  * @type {string}
@@ -8879,6 +8885,93 @@ export declare const ParticipationType: {
8879
8885
  readonly Team: "team";
8880
8886
  };
8881
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
+ }
8882
8975
  /**
8883
8976
  *
8884
8977
  * @export
@@ -23288,6 +23381,16 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
23288
23381
  * @throws {RequiredError}
23289
23382
  */
23290
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>;
23291
23394
  /**
23292
23395
  *
23293
23396
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -23613,6 +23716,16 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
23613
23716
  * @throws {RequiredError}
23614
23717
  */
23615
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>>;
23616
23729
  /**
23617
23730
  *
23618
23731
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -23919,6 +24032,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
23919
24032
  * @throws {RequiredError}
23920
24033
  */
23921
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>;
23922
24042
  /**
23923
24043
  *
23924
24044
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -24428,6 +24548,37 @@ export interface UsersApiResetPasswordRequest {
24428
24548
  */
24429
24549
  readonly resetPasswordRequest: ResetPasswordRequest;
24430
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
+ }
24431
24582
  /**
24432
24583
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
24433
24584
  * @export
@@ -24818,6 +24969,14 @@ export declare class UsersApi extends BaseAPI {
24818
24969
  * @memberof UsersApi
24819
24970
  */
24820
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, {}>>;
24821
24980
  /**
24822
24981
  *
24823
24982
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
package/dist/api.js CHANGED
@@ -9672,6 +9672,9 @@ const EventsApiAxiosParamCreator = function (configuration) {
9672
9672
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9673
9673
  const localVarHeaderParameter = {};
9674
9674
  const localVarQueryParameter = {};
9675
+ // authentication bearerAuth required
9676
+ // http bearer authentication required
9677
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9675
9678
  if (clubId !== undefined) {
9676
9679
  localVarQueryParameter['clubId'] = clubId;
9677
9680
  }
@@ -14973,6 +14976,51 @@ const UsersApiAxiosParamCreator = function (configuration) {
14973
14976
  options: localVarRequestOptions,
14974
14977
  };
14975
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
+ }),
14976
15024
  /**
14977
15025
  *
14978
15026
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -15765,6 +15813,24 @@ const UsersApiFp = function (configuration) {
15765
15813
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15766
15814
  });
15767
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
+ },
15768
15834
  /**
15769
15835
  *
15770
15836
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -16201,6 +16267,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
16201
16267
  resetPassword(requestParameters, options) {
16202
16268
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
16203
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
+ },
16204
16279
  /**
16205
16280
  *
16206
16281
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -16624,6 +16699,16 @@ class UsersApi extends base_1.BaseAPI {
16624
16699
  resetPassword(requestParameters, options) {
16625
16700
  return (0, exports.UsersApiFp)(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
16626
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
+ }
16627
16712
  /**
16628
16713
  *
16629
16714
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
package/dist/esm/api.d.ts CHANGED
@@ -5964,6 +5964,12 @@ export interface EventResponse {
5964
5964
  * @memberof EventResponse
5965
5965
  */
5966
5966
  'registrationOpenDaysBefore': number;
5967
+ /**
5968
+ *
5969
+ * @type {boolean}
5970
+ * @memberof EventResponse
5971
+ */
5972
+ 'isUserRegistered'?: boolean;
5967
5973
  /**
5968
5974
  *
5969
5975
  * @type {string}
@@ -8879,6 +8885,93 @@ export declare const ParticipationType: {
8879
8885
  readonly Team: "team";
8880
8886
  };
8881
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
+ }
8882
8975
  /**
8883
8976
  *
8884
8977
  * @export
@@ -23288,6 +23381,16 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
23288
23381
  * @throws {RequiredError}
23289
23382
  */
23290
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>;
23291
23394
  /**
23292
23395
  *
23293
23396
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -23613,6 +23716,16 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
23613
23716
  * @throws {RequiredError}
23614
23717
  */
23615
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>>;
23616
23729
  /**
23617
23730
  *
23618
23731
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -23919,6 +24032,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
23919
24032
  * @throws {RequiredError}
23920
24033
  */
23921
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>;
23922
24042
  /**
23923
24043
  *
23924
24044
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -24428,6 +24548,37 @@ export interface UsersApiResetPasswordRequest {
24428
24548
  */
24429
24549
  readonly resetPasswordRequest: ResetPasswordRequest;
24430
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
+ }
24431
24582
  /**
24432
24583
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
24433
24584
  * @export
@@ -24818,6 +24969,14 @@ export declare class UsersApi extends BaseAPI {
24818
24969
  * @memberof UsersApi
24819
24970
  */
24820
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, {}>>;
24821
24980
  /**
24822
24981
  *
24823
24982
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
package/dist/esm/api.js CHANGED
@@ -9589,6 +9589,9 @@ export const EventsApiAxiosParamCreator = function (configuration) {
9589
9589
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9590
9590
  const localVarHeaderParameter = {};
9591
9591
  const localVarQueryParameter = {};
9592
+ // authentication bearerAuth required
9593
+ // http bearer authentication required
9594
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9592
9595
  if (clubId !== undefined) {
9593
9596
  localVarQueryParameter['clubId'] = clubId;
9594
9597
  }
@@ -14838,6 +14841,51 @@ export const UsersApiAxiosParamCreator = function (configuration) {
14838
14841
  options: localVarRequestOptions,
14839
14842
  };
14840
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
+ }),
14841
14889
  /**
14842
14890
  *
14843
14891
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -15629,6 +15677,24 @@ export const UsersApiFp = function (configuration) {
15629
15677
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15630
15678
  });
15631
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
+ },
15632
15698
  /**
15633
15699
  *
15634
15700
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -16064,6 +16130,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
16064
16130
  resetPassword(requestParameters, options) {
16065
16131
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
16066
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
+ },
16067
16142
  /**
16068
16143
  *
16069
16144
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -16486,6 +16561,16 @@ export class UsersApi extends BaseAPI {
16486
16561
  resetPassword(requestParameters, options) {
16487
16562
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
16488
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
+ }
16489
16574
  /**
16490
16575
  *
16491
16576
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
31
31
  **levels** | **Array&lt;string | null&gt;** | | [optional] [default to undefined]
32
32
  **sponsors** | [**Array&lt;EventSponsor&gt;**](EventSponsor.md) | | [optional] [default to undefined]
33
33
  **registrationOpenDaysBefore** | **number** | | [default to undefined]
34
+ **isUserRegistered** | **boolean** | | [optional] [default to undefined]
34
35
  **createdBy** | **string** | | [optional] [default to undefined]
35
36
  **isActive** | **boolean** | | [default to undefined]
36
37
  **createdAt** | **string** | | [default to undefined]
@@ -68,6 +69,7 @@ const instance: EventResponse = {
68
69
  levels,
69
70
  sponsors,
70
71
  registrationOpenDaysBefore,
72
+ isUserRegistered,
71
73
  createdBy,
72
74
  isActive,
73
75
  createdAt,
package/docs/EventsApi.md CHANGED
@@ -225,7 +225,7 @@ const { status, data } = await apiInstance.getComingEvent(
225
225
 
226
226
  ### Authorization
227
227
 
228
- No authorization required
228
+ [bearerAuth](../README.md#bearerAuth)
229
229
 
230
230
  ### HTTP request headers
231
231
 
@@ -238,6 +238,7 @@ No authorization required
238
238
  |-------------|-------------|------------------|
239
239
  |**200** | List of upcoming events | - |
240
240
  |**400** | Bad Request | - |
241
+ |**401** | Unauthorized | - |
241
242
  |**500** | Server Error | - |
242
243
 
243
244
  [[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)
@@ -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&lt;PartnerSearchItem&gt;**](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&lt;string&gt;** | | (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
  |-------------|-------------|------------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.204",
3
+ "version": "1.0.206",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {