@tennac-booking/sdk 1.0.29 → 1.0.31

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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.29
5
+ * The version of the OpenAPI document: 1.0.31
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2474,19 +2474,6 @@ export interface GetClubInfos200Response {
2474
2474
  */
2475
2475
  'websiteUrl'?: string;
2476
2476
  }
2477
- /**
2478
- *
2479
- * @export
2480
- * @interface GetClubSettingsRequest
2481
- */
2482
- export interface GetClubSettingsRequest {
2483
- /**
2484
- *
2485
- * @type {string}
2486
- * @memberof GetClubSettingsRequest
2487
- */
2488
- 'clubId': string;
2489
- }
2490
2477
  /**
2491
2478
  *
2492
2479
  * @export
@@ -3300,6 +3287,18 @@ export interface PublicClubUser {
3300
3287
  * @memberof PublicClubUser
3301
3288
  */
3302
3289
  'lastName'?: string;
3290
+ /**
3291
+ *
3292
+ * @type {string}
3293
+ * @memberof PublicClubUser
3294
+ */
3295
+ 'createdAt'?: string;
3296
+ /**
3297
+ *
3298
+ * @type {boolean}
3299
+ * @memberof PublicClubUser
3300
+ */
3301
+ 'isAccountVerified'?: boolean;
3303
3302
  /**
3304
3303
  *
3305
3304
  * @type {string}
@@ -3330,6 +3329,92 @@ export interface PublicClubUser {
3330
3329
  * @memberof PublicClubUser
3331
3330
  */
3332
3331
  'city'?: string | null;
3332
+ /**
3333
+ *
3334
+ * @type {Array<string>}
3335
+ * @memberof PublicClubUser
3336
+ */
3337
+ 'favoriteClubs'?: Array<string>;
3338
+ /**
3339
+ *
3340
+ * @type {Array<string>}
3341
+ * @memberof PublicClubUser
3342
+ */
3343
+ 'favoritePlayers'?: Array<string>;
3344
+ /**
3345
+ *
3346
+ * @type {Array<PublicClubUserFrequentlyPlayedWithInner>}
3347
+ * @memberof PublicClubUser
3348
+ */
3349
+ 'frequentlyPlayedWith'?: Array<PublicClubUserFrequentlyPlayedWithInner>;
3350
+ /**
3351
+ *
3352
+ * @type {Array<PublicClubUserFrequentlyVisitedClubsInner>}
3353
+ * @memberof PublicClubUser
3354
+ */
3355
+ 'frequentlyVisitedClubs'?: Array<PublicClubUserFrequentlyVisitedClubsInner>;
3356
+ }
3357
+ /**
3358
+ *
3359
+ * @export
3360
+ * @interface PublicClubUserFrequentlyPlayedWithInner
3361
+ */
3362
+ export interface PublicClubUserFrequentlyPlayedWithInner {
3363
+ /**
3364
+ *
3365
+ * @type {string}
3366
+ * @memberof PublicClubUserFrequentlyPlayedWithInner
3367
+ */
3368
+ 'userId'?: string;
3369
+ /**
3370
+ *
3371
+ * @type {string}
3372
+ * @memberof PublicClubUserFrequentlyPlayedWithInner
3373
+ */
3374
+ 'firstName'?: string;
3375
+ /**
3376
+ *
3377
+ * @type {string}
3378
+ * @memberof PublicClubUserFrequentlyPlayedWithInner
3379
+ */
3380
+ 'lastName'?: string;
3381
+ /**
3382
+ *
3383
+ * @type {string}
3384
+ * @memberof PublicClubUserFrequentlyPlayedWithInner
3385
+ */
3386
+ 'profilePicture'?: string;
3387
+ /**
3388
+ *
3389
+ * @type {number}
3390
+ * @memberof PublicClubUserFrequentlyPlayedWithInner
3391
+ */
3392
+ 'playCount'?: number;
3393
+ }
3394
+ /**
3395
+ *
3396
+ * @export
3397
+ * @interface PublicClubUserFrequentlyVisitedClubsInner
3398
+ */
3399
+ export interface PublicClubUserFrequentlyVisitedClubsInner {
3400
+ /**
3401
+ *
3402
+ * @type {string}
3403
+ * @memberof PublicClubUserFrequentlyVisitedClubsInner
3404
+ */
3405
+ 'clubId'?: string;
3406
+ /**
3407
+ *
3408
+ * @type {string}
3409
+ * @memberof PublicClubUserFrequentlyVisitedClubsInner
3410
+ */
3411
+ 'name'?: string;
3412
+ /**
3413
+ *
3414
+ * @type {number}
3415
+ * @memberof PublicClubUserFrequentlyVisitedClubsInner
3416
+ */
3417
+ 'visitCount'?: number;
3333
3418
  }
3334
3419
  /**
3335
3420
  *
@@ -7961,11 +8046,10 @@ export declare const StaffClubsApiAxiosParamCreator: (configuration?: Configurat
7961
8046
  /**
7962
8047
  *
7963
8048
  * @summary Récupère les paramètres d’un club
7964
- * @param {GetClubSettingsRequest} getClubSettingsRequest
7965
8049
  * @param {*} [options] Override http request option.
7966
8050
  * @throws {RequiredError}
7967
8051
  */
7968
- getClubSettings: (getClubSettingsRequest: GetClubSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8052
+ getClubSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7969
8053
  };
7970
8054
  /**
7971
8055
  * StaffClubsApi - functional programming interface
@@ -7982,11 +8066,10 @@ export declare const StaffClubsApiFp: (configuration?: Configuration) => {
7982
8066
  /**
7983
8067
  *
7984
8068
  * @summary Récupère les paramètres d’un club
7985
- * @param {GetClubSettingsRequest} getClubSettingsRequest
7986
8069
  * @param {*} [options] Override http request option.
7987
8070
  * @throws {RequiredError}
7988
8071
  */
7989
- getClubSettings(getClubSettingsRequest: GetClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
8072
+ getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
7990
8073
  };
7991
8074
  /**
7992
8075
  * StaffClubsApi - factory interface
@@ -8003,25 +8086,11 @@ export declare const StaffClubsApiFactory: (configuration?: Configuration, baseP
8003
8086
  /**
8004
8087
  *
8005
8088
  * @summary Récupère les paramètres d’un club
8006
- * @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
8007
8089
  * @param {*} [options] Override http request option.
8008
8090
  * @throws {RequiredError}
8009
8091
  */
8010
- getClubSettings(requestParameters: StaffClubsApiGetClubSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
8092
+ getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
8011
8093
  };
8012
- /**
8013
- * Request parameters for getClubSettings operation in StaffClubsApi.
8014
- * @export
8015
- * @interface StaffClubsApiGetClubSettingsRequest
8016
- */
8017
- export interface StaffClubsApiGetClubSettingsRequest {
8018
- /**
8019
- *
8020
- * @type {GetClubSettingsRequest}
8021
- * @memberof StaffClubsApiGetClubSettings
8022
- */
8023
- readonly getClubSettingsRequest: GetClubSettingsRequest;
8024
- }
8025
8094
  /**
8026
8095
  * StaffClubsApi - object-oriented interface
8027
8096
  * @export
@@ -8040,12 +8109,11 @@ export declare class StaffClubsApi extends BaseAPI {
8040
8109
  /**
8041
8110
  *
8042
8111
  * @summary Récupère les paramètres d’un club
8043
- * @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
8044
8112
  * @param {*} [options] Override http request option.
8045
8113
  * @throws {RequiredError}
8046
8114
  * @memberof StaffClubsApi
8047
8115
  */
8048
- getClubSettings(requestParameters: StaffClubsApiGetClubSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
8116
+ getClubSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
8049
8117
  }
8050
8118
  /**
8051
8119
  * StaffEventsApi - axios parameter creator
@@ -9206,6 +9274,14 @@ export declare const UserProfileApiAxiosParamCreator: (configuration?: Configura
9206
9274
  * @throws {RequiredError}
9207
9275
  */
9208
9276
  getProfilePicture: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9277
+ /**
9278
+ *
9279
+ * @summary Récupère le profil public d\'un utilisateur par son ID
9280
+ * @param {string} id ID de l\&#39;utilisateur
9281
+ * @param {*} [options] Override http request option.
9282
+ * @throws {RequiredError}
9283
+ */
9284
+ getPublicUserProfile: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9209
9285
  /**
9210
9286
  *
9211
9287
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -9382,6 +9458,14 @@ export declare const UserProfileApiFp: (configuration?: Configuration) => {
9382
9458
  * @throws {RequiredError}
9383
9459
  */
9384
9460
  getProfilePicture(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfilePictureResponse>>;
9461
+ /**
9462
+ *
9463
+ * @summary Récupère le profil public d\'un utilisateur par son ID
9464
+ * @param {string} id ID de l\&#39;utilisateur
9465
+ * @param {*} [options] Override http request option.
9466
+ * @throws {RequiredError}
9467
+ */
9468
+ getPublicUserProfile(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicClubUser>>;
9385
9469
  /**
9386
9470
  *
9387
9471
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -9556,6 +9640,14 @@ export declare const UserProfileApiFactory: (configuration?: Configuration, base
9556
9640
  * @throws {RequiredError}
9557
9641
  */
9558
9642
  getProfilePicture(options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse>;
9643
+ /**
9644
+ *
9645
+ * @summary Récupère le profil public d\'un utilisateur par son ID
9646
+ * @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
9647
+ * @param {*} [options] Override http request option.
9648
+ * @throws {RequiredError}
9649
+ */
9650
+ getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicClubUser>;
9559
9651
  /**
9560
9652
  *
9561
9653
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -9721,6 +9813,19 @@ export interface UserProfileApiGetAllUsersRequest {
9721
9813
  */
9722
9814
  readonly search?: string;
9723
9815
  }
9816
+ /**
9817
+ * Request parameters for getPublicUserProfile operation in UserProfileApi.
9818
+ * @export
9819
+ * @interface UserProfileApiGetPublicUserProfileRequest
9820
+ */
9821
+ export interface UserProfileApiGetPublicUserProfileRequest {
9822
+ /**
9823
+ * ID de l\&#39;utilisateur
9824
+ * @type {string}
9825
+ * @memberof UserProfileApiGetPublicUserProfile
9826
+ */
9827
+ readonly id: string;
9828
+ }
9724
9829
  /**
9725
9830
  * Request parameters for getUserBookings operation in UserProfileApi.
9726
9831
  * @export
@@ -9927,6 +10032,15 @@ export declare class UserProfileApi extends BaseAPI {
9927
10032
  * @memberof UserProfileApi
9928
10033
  */
9929
10034
  getProfilePicture(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfilePictureResponse, any>>;
10035
+ /**
10036
+ *
10037
+ * @summary Récupère le profil public d\'un utilisateur par son ID
10038
+ * @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
10039
+ * @param {*} [options] Override http request option.
10040
+ * @throws {RequiredError}
10041
+ * @memberof UserProfileApi
10042
+ */
10043
+ getPublicUserProfile(requestParameters: UserProfileApiGetPublicUserProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicClubUser, any>>;
9930
10044
  /**
9931
10045
  *
9932
10046
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.29
8
+ * The version of the OpenAPI document: 1.0.31
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4973,13 +4973,10 @@ const StaffClubsApiAxiosParamCreator = function (configuration) {
4973
4973
  /**
4974
4974
  *
4975
4975
  * @summary Récupère les paramètres d’un club
4976
- * @param {GetClubSettingsRequest} getClubSettingsRequest
4977
4976
  * @param {*} [options] Override http request option.
4978
4977
  * @throws {RequiredError}
4979
4978
  */
4980
- getClubSettings: (getClubSettingsRequest_1, ...args_1) => __awaiter(this, [getClubSettingsRequest_1, ...args_1], void 0, function* (getClubSettingsRequest, options = {}) {
4981
- // verify required parameter 'getClubSettingsRequest' is not null or undefined
4982
- (0, common_1.assertParamExists)('getClubSettings', 'getClubSettingsRequest', getClubSettingsRequest);
4979
+ getClubSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4983
4980
  const localVarPath = `/api/club-settings`;
4984
4981
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4985
4982
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4993,11 +4990,9 @@ const StaffClubsApiAxiosParamCreator = function (configuration) {
4993
4990
  // authentication bearerAuth required
4994
4991
  // http bearer authentication required
4995
4992
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4996
- localVarHeaderParameter['Content-Type'] = 'application/json';
4997
4993
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4998
4994
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4999
4995
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5000
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getClubSettingsRequest, localVarRequestOptions, configuration);
5001
4996
  return {
5002
4997
  url: (0, common_1.toPathString)(localVarUrlObj),
5003
4998
  options: localVarRequestOptions,
@@ -5031,14 +5026,13 @@ const StaffClubsApiFp = function (configuration) {
5031
5026
  /**
5032
5027
  *
5033
5028
  * @summary Récupère les paramètres d’un club
5034
- * @param {GetClubSettingsRequest} getClubSettingsRequest
5035
5029
  * @param {*} [options] Override http request option.
5036
5030
  * @throws {RequiredError}
5037
5031
  */
5038
- getClubSettings(getClubSettingsRequest, options) {
5032
+ getClubSettings(options) {
5039
5033
  return __awaiter(this, void 0, void 0, function* () {
5040
5034
  var _a, _b, _c;
5041
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(getClubSettingsRequest, options);
5035
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSettings(options);
5042
5036
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5043
5037
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StaffClubsApi.getClubSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5044
5038
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5066,12 +5060,11 @@ const StaffClubsApiFactory = function (configuration, basePath, axios) {
5066
5060
  /**
5067
5061
  *
5068
5062
  * @summary Récupère les paramètres d’un club
5069
- * @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
5070
5063
  * @param {*} [options] Override http request option.
5071
5064
  * @throws {RequiredError}
5072
5065
  */
5073
- getClubSettings(requestParameters, options) {
5074
- return localVarFp.getClubSettings(requestParameters.getClubSettingsRequest, options).then((request) => request(axios, basePath));
5066
+ getClubSettings(options) {
5067
+ return localVarFp.getClubSettings(options).then((request) => request(axios, basePath));
5075
5068
  },
5076
5069
  };
5077
5070
  };
@@ -5096,13 +5089,12 @@ class StaffClubsApi extends base_1.BaseAPI {
5096
5089
  /**
5097
5090
  *
5098
5091
  * @summary Récupère les paramètres d’un club
5099
- * @param {StaffClubsApiGetClubSettingsRequest} requestParameters Request parameters.
5100
5092
  * @param {*} [options] Override http request option.
5101
5093
  * @throws {RequiredError}
5102
5094
  * @memberof StaffClubsApi
5103
5095
  */
5104
- getClubSettings(requestParameters, options) {
5105
- return (0, exports.StaffClubsApiFp)(this.configuration).getClubSettings(requestParameters.getClubSettingsRequest, options).then((request) => request(this.axios, this.basePath));
5096
+ getClubSettings(options) {
5097
+ return (0, exports.StaffClubsApiFp)(this.configuration).getClubSettings(options).then((request) => request(this.axios, this.basePath));
5106
5098
  }
5107
5099
  }
5108
5100
  exports.StaffClubsApi = StaffClubsApi;
@@ -7035,6 +7027,38 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
7035
7027
  options: localVarRequestOptions,
7036
7028
  };
7037
7029
  }),
7030
+ /**
7031
+ *
7032
+ * @summary Récupère le profil public d\'un utilisateur par son ID
7033
+ * @param {string} id ID de l\&#39;utilisateur
7034
+ * @param {*} [options] Override http request option.
7035
+ * @throws {RequiredError}
7036
+ */
7037
+ getPublicUserProfile: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
7038
+ // verify required parameter 'id' is not null or undefined
7039
+ (0, common_1.assertParamExists)('getPublicUserProfile', 'id', id);
7040
+ const localVarPath = `/api/users/profile/{id}`
7041
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
7042
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7043
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7044
+ let baseOptions;
7045
+ if (configuration) {
7046
+ baseOptions = configuration.baseOptions;
7047
+ }
7048
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7049
+ const localVarHeaderParameter = {};
7050
+ const localVarQueryParameter = {};
7051
+ // authentication bearerAuth required
7052
+ // http bearer authentication required
7053
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7054
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7055
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7056
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7057
+ return {
7058
+ url: (0, common_1.toPathString)(localVarUrlObj),
7059
+ options: localVarRequestOptions,
7060
+ };
7061
+ }),
7038
7062
  /**
7039
7063
  *
7040
7064
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -7193,7 +7217,8 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
7193
7217
  removeFavoriteClub: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
7194
7218
  // verify required parameter 'clubId' is not null or undefined
7195
7219
  (0, common_1.assertParamExists)('removeFavoriteClub', 'clubId', clubId);
7196
- const localVarPath = `/api/users/me/favorite-clubs`;
7220
+ const localVarPath = `/api/users/me/favorite-clubs/{clubId}`
7221
+ .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
7197
7222
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7198
7223
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7199
7224
  let baseOptions;
@@ -7206,9 +7231,6 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
7206
7231
  // authentication bearerAuth required
7207
7232
  // http bearer authentication required
7208
7233
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7209
- if (clubId !== undefined) {
7210
- localVarQueryParameter['clubId'] = clubId;
7211
- }
7212
7234
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7213
7235
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7214
7236
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7598,6 +7620,22 @@ const UserProfileApiFp = function (configuration) {
7598
7620
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7599
7621
  });
7600
7622
  },
7623
+ /**
7624
+ *
7625
+ * @summary Récupère le profil public d\'un utilisateur par son ID
7626
+ * @param {string} id ID de l\&#39;utilisateur
7627
+ * @param {*} [options] Override http request option.
7628
+ * @throws {RequiredError}
7629
+ */
7630
+ getPublicUserProfile(id, options) {
7631
+ return __awaiter(this, void 0, void 0, function* () {
7632
+ var _a, _b, _c;
7633
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublicUserProfile(id, options);
7634
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7635
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getPublicUserProfile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7636
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7637
+ });
7638
+ },
7601
7639
  /**
7602
7640
  *
7603
7641
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -7898,6 +7936,16 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
7898
7936
  getProfilePicture(options) {
7899
7937
  return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
7900
7938
  },
7939
+ /**
7940
+ *
7941
+ * @summary Récupère le profil public d\'un utilisateur par son ID
7942
+ * @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
7943
+ * @param {*} [options] Override http request option.
7944
+ * @throws {RequiredError}
7945
+ */
7946
+ getPublicUserProfile(requestParameters, options) {
7947
+ return localVarFp.getPublicUserProfile(requestParameters.id, options).then((request) => request(axios, basePath));
7948
+ },
7901
7949
  /**
7902
7950
  *
7903
7951
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
@@ -8128,6 +8176,17 @@ class UserProfileApi extends base_1.BaseAPI {
8128
8176
  getProfilePicture(options) {
8129
8177
  return (0, exports.UserProfileApiFp)(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
8130
8178
  }
8179
+ /**
8180
+ *
8181
+ * @summary Récupère le profil public d\'un utilisateur par son ID
8182
+ * @param {UserProfileApiGetPublicUserProfileRequest} requestParameters Request parameters.
8183
+ * @param {*} [options] Override http request option.
8184
+ * @throws {RequiredError}
8185
+ * @memberof UserProfileApi
8186
+ */
8187
+ getPublicUserProfile(requestParameters, options) {
8188
+ return (0, exports.UserProfileApiFp)(this.configuration).getPublicUserProfile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
8189
+ }
8131
8190
  /**
8132
8191
  *
8133
8192
  * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.29
5
+ * The version of the OpenAPI document: 1.0.31
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.29
8
+ * The version of the OpenAPI document: 1.0.31
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.29
5
+ * The version of the OpenAPI document: 1.0.31
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.29
8
+ * The version of the OpenAPI document: 1.0.31
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.29
5
+ * The version of the OpenAPI document: 1.0.31
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.29
8
+ * The version of the OpenAPI document: 1.0.31
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).