@tennac-booking/sdk 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +20 -2
  3. package/api.ts +825 -68
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +456 -13
  8. package/dist/api.js +521 -1
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +456 -13
  16. package/dist/esm/api.js +521 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AddFavoriteClubRequestBody.md +20 -0
  28. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -2
  29. package/docs/FavoriteClubResponse.md +22 -0
  30. package/docs/FrequentlyPlayedWithItem.md +28 -0
  31. package/docs/FrequentlyVisitedClubItem.md +24 -0
  32. package/docs/ProfileVisibilityResponse.md +20 -0
  33. package/docs/SetupPaymentMethodRequestBody.md +0 -2
  34. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  35. package/docs/UpdateUserCityRequestBody.md +20 -0
  36. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  37. package/docs/UserCityResponse.md +20 -0
  38. package/docs/UserDescriptionResponse.md +20 -0
  39. package/docs/UserProfileApi.md +398 -0
  40. package/index.ts +1 -1
  41. package/package.json +1 -1
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.24
8
+ * The version of the OpenAPI document: 1.0.25
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6118,6 +6118,62 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
6118
6118
  options: localVarRequestOptions,
6119
6119
  };
6120
6120
  }),
6121
+ /**
6122
+ *
6123
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6124
+ * @param {*} [options] Override http request option.
6125
+ * @throws {RequiredError}
6126
+ */
6127
+ getFrequentlyPlayedWith: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6128
+ const localVarPath = `/api/users/me/frequentlyPlayedWith`;
6129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6130
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6131
+ let baseOptions;
6132
+ if (configuration) {
6133
+ baseOptions = configuration.baseOptions;
6134
+ }
6135
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6136
+ const localVarHeaderParameter = {};
6137
+ const localVarQueryParameter = {};
6138
+ // authentication bearerAuth required
6139
+ // http bearer authentication required
6140
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6141
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6142
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6143
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6144
+ return {
6145
+ url: (0, common_1.toPathString)(localVarUrlObj),
6146
+ options: localVarRequestOptions,
6147
+ };
6148
+ }),
6149
+ /**
6150
+ *
6151
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6152
+ * @param {*} [options] Override http request option.
6153
+ * @throws {RequiredError}
6154
+ */
6155
+ getFrequentlyVisitedClub: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6156
+ const localVarPath = `/api/users/me/frequentlyVisitedClub`;
6157
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6158
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6159
+ let baseOptions;
6160
+ if (configuration) {
6161
+ baseOptions = configuration.baseOptions;
6162
+ }
6163
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6164
+ const localVarHeaderParameter = {};
6165
+ const localVarQueryParameter = {};
6166
+ // authentication bearerAuth required
6167
+ // http bearer authentication required
6168
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6169
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6171
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6172
+ return {
6173
+ url: (0, common_1.toPathString)(localVarUrlObj),
6174
+ options: localVarRequestOptions,
6175
+ };
6176
+ }),
6121
6177
  /**
6122
6178
  *
6123
6179
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6146,6 +6202,62 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
6146
6202
  options: localVarRequestOptions,
6147
6203
  };
6148
6204
  }),
6205
+ /**
6206
+ *
6207
+ * @summary Récupère la ville de l\'utilisateur connecté
6208
+ * @param {*} [options] Override http request option.
6209
+ * @throws {RequiredError}
6210
+ */
6211
+ getUserCity: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6212
+ const localVarPath = `/api/users/me/city`;
6213
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6214
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6215
+ let baseOptions;
6216
+ if (configuration) {
6217
+ baseOptions = configuration.baseOptions;
6218
+ }
6219
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6220
+ const localVarHeaderParameter = {};
6221
+ const localVarQueryParameter = {};
6222
+ // authentication bearerAuth required
6223
+ // http bearer authentication required
6224
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6225
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6227
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6228
+ return {
6229
+ url: (0, common_1.toPathString)(localVarUrlObj),
6230
+ options: localVarRequestOptions,
6231
+ };
6232
+ }),
6233
+ /**
6234
+ *
6235
+ * @summary Récupère la description de l\'utilisateur connecté
6236
+ * @param {*} [options] Override http request option.
6237
+ * @throws {RequiredError}
6238
+ */
6239
+ getUserDescription: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6240
+ const localVarPath = `/api/users/me/description`;
6241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6242
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6243
+ let baseOptions;
6244
+ if (configuration) {
6245
+ baseOptions = configuration.baseOptions;
6246
+ }
6247
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6248
+ const localVarHeaderParameter = {};
6249
+ const localVarQueryParameter = {};
6250
+ // authentication bearerAuth required
6251
+ // http bearer authentication required
6252
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6253
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6255
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6256
+ return {
6257
+ url: (0, common_1.toPathString)(localVarUrlObj),
6258
+ options: localVarRequestOptions,
6259
+ };
6260
+ }),
6149
6261
  /**
6150
6262
  *
6151
6263
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6174,6 +6286,34 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
6174
6286
  options: localVarRequestOptions,
6175
6287
  };
6176
6288
  }),
6289
+ /**
6290
+ *
6291
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6292
+ * @param {*} [options] Override http request option.
6293
+ * @throws {RequiredError}
6294
+ */
6295
+ getUserProfileVisibility: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6296
+ const localVarPath = `/api/users/me/profile-visibility`;
6297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6298
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6299
+ let baseOptions;
6300
+ if (configuration) {
6301
+ baseOptions = configuration.baseOptions;
6302
+ }
6303
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6304
+ const localVarHeaderParameter = {};
6305
+ const localVarQueryParameter = {};
6306
+ // authentication bearerAuth required
6307
+ // http bearer authentication required
6308
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6309
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6311
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6312
+ return {
6313
+ url: (0, common_1.toPathString)(localVarUrlObj),
6314
+ options: localVarRequestOptions,
6315
+ };
6316
+ }),
6177
6317
  /**
6178
6318
  *
6179
6319
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6240,6 +6380,39 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
6240
6380
  options: localVarRequestOptions,
6241
6381
  };
6242
6382
  }),
6383
+ /**
6384
+ *
6385
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6386
+ * @param {UpdateProfileVisibilityRequestBody} updateProfileVisibilityRequestBody
6387
+ * @param {*} [options] Override http request option.
6388
+ * @throws {RequiredError}
6389
+ */
6390
+ updateProfileVisibility: (updateProfileVisibilityRequestBody_1, ...args_1) => __awaiter(this, [updateProfileVisibilityRequestBody_1, ...args_1], void 0, function* (updateProfileVisibilityRequestBody, options = {}) {
6391
+ // verify required parameter 'updateProfileVisibilityRequestBody' is not null or undefined
6392
+ (0, common_1.assertParamExists)('updateProfileVisibility', 'updateProfileVisibilityRequestBody', updateProfileVisibilityRequestBody);
6393
+ const localVarPath = `/api/users/me/profile-visibility`;
6394
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6395
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6396
+ let baseOptions;
6397
+ if (configuration) {
6398
+ baseOptions = configuration.baseOptions;
6399
+ }
6400
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6401
+ const localVarHeaderParameter = {};
6402
+ const localVarQueryParameter = {};
6403
+ // authentication bearerAuth required
6404
+ // http bearer authentication required
6405
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6406
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6407
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6409
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6410
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateProfileVisibilityRequestBody, localVarRequestOptions, configuration);
6411
+ return {
6412
+ url: (0, common_1.toPathString)(localVarUrlObj),
6413
+ options: localVarRequestOptions,
6414
+ };
6415
+ }),
6243
6416
  /**
6244
6417
  *
6245
6418
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6273,6 +6446,72 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
6273
6446
  options: localVarRequestOptions,
6274
6447
  };
6275
6448
  }),
6449
+ /**
6450
+ *
6451
+ * @summary Met à jour la ville de l\'utilisateur connecté
6452
+ * @param {UpdateUserCityRequestBody} updateUserCityRequestBody
6453
+ * @param {*} [options] Override http request option.
6454
+ * @throws {RequiredError}
6455
+ */
6456
+ updateUserCity: (updateUserCityRequestBody_1, ...args_1) => __awaiter(this, [updateUserCityRequestBody_1, ...args_1], void 0, function* (updateUserCityRequestBody, options = {}) {
6457
+ // verify required parameter 'updateUserCityRequestBody' is not null or undefined
6458
+ (0, common_1.assertParamExists)('updateUserCity', 'updateUserCityRequestBody', updateUserCityRequestBody);
6459
+ const localVarPath = `/api/users/me/city`;
6460
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6461
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6462
+ let baseOptions;
6463
+ if (configuration) {
6464
+ baseOptions = configuration.baseOptions;
6465
+ }
6466
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6467
+ const localVarHeaderParameter = {};
6468
+ const localVarQueryParameter = {};
6469
+ // authentication bearerAuth required
6470
+ // http bearer authentication required
6471
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6472
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6473
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6474
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6475
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6476
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserCityRequestBody, localVarRequestOptions, configuration);
6477
+ return {
6478
+ url: (0, common_1.toPathString)(localVarUrlObj),
6479
+ options: localVarRequestOptions,
6480
+ };
6481
+ }),
6482
+ /**
6483
+ *
6484
+ * @summary Met à jour la description de l\'utilisateur connecté
6485
+ * @param {UpdateUserDescriptionRequestBody} updateUserDescriptionRequestBody
6486
+ * @param {*} [options] Override http request option.
6487
+ * @throws {RequiredError}
6488
+ */
6489
+ updateUserDescription: (updateUserDescriptionRequestBody_1, ...args_1) => __awaiter(this, [updateUserDescriptionRequestBody_1, ...args_1], void 0, function* (updateUserDescriptionRequestBody, options = {}) {
6490
+ // verify required parameter 'updateUserDescriptionRequestBody' is not null or undefined
6491
+ (0, common_1.assertParamExists)('updateUserDescription', 'updateUserDescriptionRequestBody', updateUserDescriptionRequestBody);
6492
+ const localVarPath = `/api/users/me/description`;
6493
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6494
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6495
+ let baseOptions;
6496
+ if (configuration) {
6497
+ baseOptions = configuration.baseOptions;
6498
+ }
6499
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6500
+ const localVarHeaderParameter = {};
6501
+ const localVarQueryParameter = {};
6502
+ // authentication bearerAuth required
6503
+ // http bearer authentication required
6504
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6505
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6506
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6507
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6508
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6509
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserDescriptionRequestBody, localVarRequestOptions, configuration);
6510
+ return {
6511
+ url: (0, common_1.toPathString)(localVarUrlObj),
6512
+ options: localVarRequestOptions,
6513
+ };
6514
+ }),
6276
6515
  };
6277
6516
  };
6278
6517
  exports.UserProfileApiAxiosParamCreator = UserProfileApiAxiosParamCreator;
@@ -6317,6 +6556,36 @@ const UserProfileApiFp = function (configuration) {
6317
6556
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6318
6557
  });
6319
6558
  },
6559
+ /**
6560
+ *
6561
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6562
+ * @param {*} [options] Override http request option.
6563
+ * @throws {RequiredError}
6564
+ */
6565
+ getFrequentlyPlayedWith(options) {
6566
+ return __awaiter(this, void 0, void 0, function* () {
6567
+ var _a, _b, _c;
6568
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFrequentlyPlayedWith(options);
6569
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6570
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getFrequentlyPlayedWith']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6571
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6572
+ });
6573
+ },
6574
+ /**
6575
+ *
6576
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6577
+ * @param {*} [options] Override http request option.
6578
+ * @throws {RequiredError}
6579
+ */
6580
+ getFrequentlyVisitedClub(options) {
6581
+ return __awaiter(this, void 0, void 0, function* () {
6582
+ var _a, _b, _c;
6583
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFrequentlyVisitedClub(options);
6584
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6585
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getFrequentlyVisitedClub']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6586
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6587
+ });
6588
+ },
6320
6589
  /**
6321
6590
  *
6322
6591
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6332,6 +6601,36 @@ const UserProfileApiFp = function (configuration) {
6332
6601
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6333
6602
  });
6334
6603
  },
6604
+ /**
6605
+ *
6606
+ * @summary Récupère la ville de l\'utilisateur connecté
6607
+ * @param {*} [options] Override http request option.
6608
+ * @throws {RequiredError}
6609
+ */
6610
+ getUserCity(options) {
6611
+ return __awaiter(this, void 0, void 0, function* () {
6612
+ var _a, _b, _c;
6613
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserCity(options);
6614
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6615
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getUserCity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6616
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6617
+ });
6618
+ },
6619
+ /**
6620
+ *
6621
+ * @summary Récupère la description de l\'utilisateur connecté
6622
+ * @param {*} [options] Override http request option.
6623
+ * @throws {RequiredError}
6624
+ */
6625
+ getUserDescription(options) {
6626
+ return __awaiter(this, void 0, void 0, function* () {
6627
+ var _a, _b, _c;
6628
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserDescription(options);
6629
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6630
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getUserDescription']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6631
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6632
+ });
6633
+ },
6335
6634
  /**
6336
6635
  *
6337
6636
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6347,6 +6646,21 @@ const UserProfileApiFp = function (configuration) {
6347
6646
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6348
6647
  });
6349
6648
  },
6649
+ /**
6650
+ *
6651
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6652
+ * @param {*} [options] Override http request option.
6653
+ * @throws {RequiredError}
6654
+ */
6655
+ getUserProfileVisibility(options) {
6656
+ return __awaiter(this, void 0, void 0, function* () {
6657
+ var _a, _b, _c;
6658
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserProfileVisibility(options);
6659
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6660
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getUserProfileVisibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6661
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6662
+ });
6663
+ },
6350
6664
  /**
6351
6665
  *
6352
6666
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6379,6 +6693,22 @@ const UserProfileApiFp = function (configuration) {
6379
6693
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6380
6694
  });
6381
6695
  },
6696
+ /**
6697
+ *
6698
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6699
+ * @param {UpdateProfileVisibilityRequestBody} updateProfileVisibilityRequestBody
6700
+ * @param {*} [options] Override http request option.
6701
+ * @throws {RequiredError}
6702
+ */
6703
+ updateProfileVisibility(updateProfileVisibilityRequestBody, options) {
6704
+ return __awaiter(this, void 0, void 0, function* () {
6705
+ var _a, _b, _c;
6706
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProfileVisibility(updateProfileVisibilityRequestBody, options);
6707
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6708
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.updateProfileVisibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6709
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6710
+ });
6711
+ },
6382
6712
  /**
6383
6713
  *
6384
6714
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6395,6 +6725,38 @@ const UserProfileApiFp = function (configuration) {
6395
6725
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6396
6726
  });
6397
6727
  },
6728
+ /**
6729
+ *
6730
+ * @summary Met à jour la ville de l\'utilisateur connecté
6731
+ * @param {UpdateUserCityRequestBody} updateUserCityRequestBody
6732
+ * @param {*} [options] Override http request option.
6733
+ * @throws {RequiredError}
6734
+ */
6735
+ updateUserCity(updateUserCityRequestBody, options) {
6736
+ return __awaiter(this, void 0, void 0, function* () {
6737
+ var _a, _b, _c;
6738
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserCity(updateUserCityRequestBody, options);
6739
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6740
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.updateUserCity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6741
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6742
+ });
6743
+ },
6744
+ /**
6745
+ *
6746
+ * @summary Met à jour la description de l\'utilisateur connecté
6747
+ * @param {UpdateUserDescriptionRequestBody} updateUserDescriptionRequestBody
6748
+ * @param {*} [options] Override http request option.
6749
+ * @throws {RequiredError}
6750
+ */
6751
+ updateUserDescription(updateUserDescriptionRequestBody, options) {
6752
+ return __awaiter(this, void 0, void 0, function* () {
6753
+ var _a, _b, _c;
6754
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserDescription(updateUserDescriptionRequestBody, options);
6755
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6756
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.updateUserDescription']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6757
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6758
+ });
6759
+ },
6398
6760
  };
6399
6761
  };
6400
6762
  exports.UserProfileApiFp = UserProfileApiFp;
@@ -6425,6 +6787,24 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
6425
6787
  getAllUsers(requestParameters = {}, options) {
6426
6788
  return localVarFp.getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(axios, basePath));
6427
6789
  },
6790
+ /**
6791
+ *
6792
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6793
+ * @param {*} [options] Override http request option.
6794
+ * @throws {RequiredError}
6795
+ */
6796
+ getFrequentlyPlayedWith(options) {
6797
+ return localVarFp.getFrequentlyPlayedWith(options).then((request) => request(axios, basePath));
6798
+ },
6799
+ /**
6800
+ *
6801
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6802
+ * @param {*} [options] Override http request option.
6803
+ * @throws {RequiredError}
6804
+ */
6805
+ getFrequentlyVisitedClub(options) {
6806
+ return localVarFp.getFrequentlyVisitedClub(options).then((request) => request(axios, basePath));
6807
+ },
6428
6808
  /**
6429
6809
  *
6430
6810
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6434,6 +6814,24 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
6434
6814
  getProfilePicture(options) {
6435
6815
  return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
6436
6816
  },
6817
+ /**
6818
+ *
6819
+ * @summary Récupère la ville de l\'utilisateur connecté
6820
+ * @param {*} [options] Override http request option.
6821
+ * @throws {RequiredError}
6822
+ */
6823
+ getUserCity(options) {
6824
+ return localVarFp.getUserCity(options).then((request) => request(axios, basePath));
6825
+ },
6826
+ /**
6827
+ *
6828
+ * @summary Récupère la description de l\'utilisateur connecté
6829
+ * @param {*} [options] Override http request option.
6830
+ * @throws {RequiredError}
6831
+ */
6832
+ getUserDescription(options) {
6833
+ return localVarFp.getUserDescription(options).then((request) => request(axios, basePath));
6834
+ },
6437
6835
  /**
6438
6836
  *
6439
6837
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6443,6 +6841,15 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
6443
6841
  getUserInfo(options) {
6444
6842
  return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
6445
6843
  },
6844
+ /**
6845
+ *
6846
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6847
+ * @param {*} [options] Override http request option.
6848
+ * @throws {RequiredError}
6849
+ */
6850
+ getUserProfileVisibility(options) {
6851
+ return localVarFp.getUserProfileVisibility(options).then((request) => request(axios, basePath));
6852
+ },
6446
6853
  /**
6447
6854
  *
6448
6855
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6463,6 +6870,16 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
6463
6870
  updateProfilePicture(requestParameters, options) {
6464
6871
  return localVarFp.updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(axios, basePath));
6465
6872
  },
6873
+ /**
6874
+ *
6875
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6876
+ * @param {UserProfileApiUpdateProfileVisibilityRequest} requestParameters Request parameters.
6877
+ * @param {*} [options] Override http request option.
6878
+ * @throws {RequiredError}
6879
+ */
6880
+ updateProfileVisibility(requestParameters, options) {
6881
+ return localVarFp.updateProfileVisibility(requestParameters.updateProfileVisibilityRequestBody, options).then((request) => request(axios, basePath));
6882
+ },
6466
6883
  /**
6467
6884
  *
6468
6885
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6473,6 +6890,26 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
6473
6890
  updateUser(requestParameters, options) {
6474
6891
  return localVarFp.updateUser(requestParameters.updateUserRequestBody, options).then((request) => request(axios, basePath));
6475
6892
  },
6893
+ /**
6894
+ *
6895
+ * @summary Met à jour la ville de l\'utilisateur connecté
6896
+ * @param {UserProfileApiUpdateUserCityRequest} requestParameters Request parameters.
6897
+ * @param {*} [options] Override http request option.
6898
+ * @throws {RequiredError}
6899
+ */
6900
+ updateUserCity(requestParameters, options) {
6901
+ return localVarFp.updateUserCity(requestParameters.updateUserCityRequestBody, options).then((request) => request(axios, basePath));
6902
+ },
6903
+ /**
6904
+ *
6905
+ * @summary Met à jour la description de l\'utilisateur connecté
6906
+ * @param {UserProfileApiUpdateUserDescriptionRequest} requestParameters Request parameters.
6907
+ * @param {*} [options] Override http request option.
6908
+ * @throws {RequiredError}
6909
+ */
6910
+ updateUserDescription(requestParameters, options) {
6911
+ return localVarFp.updateUserDescription(requestParameters.updateUserDescriptionRequestBody, options).then((request) => request(axios, basePath));
6912
+ },
6476
6913
  };
6477
6914
  };
6478
6915
  exports.UserProfileApiFactory = UserProfileApiFactory;
@@ -6505,6 +6942,26 @@ class UserProfileApi extends base_1.BaseAPI {
6505
6942
  getAllUsers(requestParameters = {}, options) {
6506
6943
  return (0, exports.UserProfileApiFp)(this.configuration).getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
6507
6944
  }
6945
+ /**
6946
+ *
6947
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6948
+ * @param {*} [options] Override http request option.
6949
+ * @throws {RequiredError}
6950
+ * @memberof UserProfileApi
6951
+ */
6952
+ getFrequentlyPlayedWith(options) {
6953
+ return (0, exports.UserProfileApiFp)(this.configuration).getFrequentlyPlayedWith(options).then((request) => request(this.axios, this.basePath));
6954
+ }
6955
+ /**
6956
+ *
6957
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6958
+ * @param {*} [options] Override http request option.
6959
+ * @throws {RequiredError}
6960
+ * @memberof UserProfileApi
6961
+ */
6962
+ getFrequentlyVisitedClub(options) {
6963
+ return (0, exports.UserProfileApiFp)(this.configuration).getFrequentlyVisitedClub(options).then((request) => request(this.axios, this.basePath));
6964
+ }
6508
6965
  /**
6509
6966
  *
6510
6967
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6515,6 +6972,26 @@ class UserProfileApi extends base_1.BaseAPI {
6515
6972
  getProfilePicture(options) {
6516
6973
  return (0, exports.UserProfileApiFp)(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
6517
6974
  }
6975
+ /**
6976
+ *
6977
+ * @summary Récupère la ville de l\'utilisateur connecté
6978
+ * @param {*} [options] Override http request option.
6979
+ * @throws {RequiredError}
6980
+ * @memberof UserProfileApi
6981
+ */
6982
+ getUserCity(options) {
6983
+ return (0, exports.UserProfileApiFp)(this.configuration).getUserCity(options).then((request) => request(this.axios, this.basePath));
6984
+ }
6985
+ /**
6986
+ *
6987
+ * @summary Récupère la description de l\'utilisateur connecté
6988
+ * @param {*} [options] Override http request option.
6989
+ * @throws {RequiredError}
6990
+ * @memberof UserProfileApi
6991
+ */
6992
+ getUserDescription(options) {
6993
+ return (0, exports.UserProfileApiFp)(this.configuration).getUserDescription(options).then((request) => request(this.axios, this.basePath));
6994
+ }
6518
6995
  /**
6519
6996
  *
6520
6997
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6525,6 +7002,16 @@ class UserProfileApi extends base_1.BaseAPI {
6525
7002
  getUserInfo(options) {
6526
7003
  return (0, exports.UserProfileApiFp)(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
6527
7004
  }
7005
+ /**
7006
+ *
7007
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
7008
+ * @param {*} [options] Override http request option.
7009
+ * @throws {RequiredError}
7010
+ * @memberof UserProfileApi
7011
+ */
7012
+ getUserProfileVisibility(options) {
7013
+ return (0, exports.UserProfileApiFp)(this.configuration).getUserProfileVisibility(options).then((request) => request(this.axios, this.basePath));
7014
+ }
6528
7015
  /**
6529
7016
  *
6530
7017
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6547,6 +7034,17 @@ class UserProfileApi extends base_1.BaseAPI {
6547
7034
  updateProfilePicture(requestParameters, options) {
6548
7035
  return (0, exports.UserProfileApiFp)(this.configuration).updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(this.axios, this.basePath));
6549
7036
  }
7037
+ /**
7038
+ *
7039
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
7040
+ * @param {UserProfileApiUpdateProfileVisibilityRequest} requestParameters Request parameters.
7041
+ * @param {*} [options] Override http request option.
7042
+ * @throws {RequiredError}
7043
+ * @memberof UserProfileApi
7044
+ */
7045
+ updateProfileVisibility(requestParameters, options) {
7046
+ return (0, exports.UserProfileApiFp)(this.configuration).updateProfileVisibility(requestParameters.updateProfileVisibilityRequestBody, options).then((request) => request(this.axios, this.basePath));
7047
+ }
6550
7048
  /**
6551
7049
  *
6552
7050
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6558,6 +7056,28 @@ class UserProfileApi extends base_1.BaseAPI {
6558
7056
  updateUser(requestParameters, options) {
6559
7057
  return (0, exports.UserProfileApiFp)(this.configuration).updateUser(requestParameters.updateUserRequestBody, options).then((request) => request(this.axios, this.basePath));
6560
7058
  }
7059
+ /**
7060
+ *
7061
+ * @summary Met à jour la ville de l\'utilisateur connecté
7062
+ * @param {UserProfileApiUpdateUserCityRequest} requestParameters Request parameters.
7063
+ * @param {*} [options] Override http request option.
7064
+ * @throws {RequiredError}
7065
+ * @memberof UserProfileApi
7066
+ */
7067
+ updateUserCity(requestParameters, options) {
7068
+ return (0, exports.UserProfileApiFp)(this.configuration).updateUserCity(requestParameters.updateUserCityRequestBody, options).then((request) => request(this.axios, this.basePath));
7069
+ }
7070
+ /**
7071
+ *
7072
+ * @summary Met à jour la description de l\'utilisateur connecté
7073
+ * @param {UserProfileApiUpdateUserDescriptionRequest} requestParameters Request parameters.
7074
+ * @param {*} [options] Override http request option.
7075
+ * @throws {RequiredError}
7076
+ * @memberof UserProfileApi
7077
+ */
7078
+ updateUserDescription(requestParameters, options) {
7079
+ return (0, exports.UserProfileApiFp)(this.configuration).updateUserDescription(requestParameters.updateUserDescriptionRequestBody, options).then((request) => request(this.axios, this.basePath));
7080
+ }
6561
7081
  }
6562
7082
  exports.UserProfileApi = UserProfileApi;
6563
7083
  /**