@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/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.24
7
+ * The version of the OpenAPI document: 1.0.25
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6017,6 +6017,62 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6017
6017
  options: localVarRequestOptions,
6018
6018
  };
6019
6019
  }),
6020
+ /**
6021
+ *
6022
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6023
+ * @param {*} [options] Override http request option.
6024
+ * @throws {RequiredError}
6025
+ */
6026
+ getFrequentlyPlayedWith: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6027
+ const localVarPath = `/api/users/me/frequentlyPlayedWith`;
6028
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6029
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6030
+ let baseOptions;
6031
+ if (configuration) {
6032
+ baseOptions = configuration.baseOptions;
6033
+ }
6034
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6035
+ const localVarHeaderParameter = {};
6036
+ const localVarQueryParameter = {};
6037
+ // authentication bearerAuth required
6038
+ // http bearer authentication required
6039
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6040
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6041
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6042
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6043
+ return {
6044
+ url: toPathString(localVarUrlObj),
6045
+ options: localVarRequestOptions,
6046
+ };
6047
+ }),
6048
+ /**
6049
+ *
6050
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6051
+ * @param {*} [options] Override http request option.
6052
+ * @throws {RequiredError}
6053
+ */
6054
+ getFrequentlyVisitedClub: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6055
+ const localVarPath = `/api/users/me/frequentlyVisitedClub`;
6056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6057
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6058
+ let baseOptions;
6059
+ if (configuration) {
6060
+ baseOptions = configuration.baseOptions;
6061
+ }
6062
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6063
+ const localVarHeaderParameter = {};
6064
+ const localVarQueryParameter = {};
6065
+ // authentication bearerAuth required
6066
+ // http bearer authentication required
6067
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6068
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6069
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6070
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6071
+ return {
6072
+ url: toPathString(localVarUrlObj),
6073
+ options: localVarRequestOptions,
6074
+ };
6075
+ }),
6020
6076
  /**
6021
6077
  *
6022
6078
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6045,6 +6101,62 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6045
6101
  options: localVarRequestOptions,
6046
6102
  };
6047
6103
  }),
6104
+ /**
6105
+ *
6106
+ * @summary Récupère la ville de l\'utilisateur connecté
6107
+ * @param {*} [options] Override http request option.
6108
+ * @throws {RequiredError}
6109
+ */
6110
+ getUserCity: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6111
+ const localVarPath = `/api/users/me/city`;
6112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6114
+ let baseOptions;
6115
+ if (configuration) {
6116
+ baseOptions = configuration.baseOptions;
6117
+ }
6118
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6119
+ const localVarHeaderParameter = {};
6120
+ const localVarQueryParameter = {};
6121
+ // authentication bearerAuth required
6122
+ // http bearer authentication required
6123
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6124
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6125
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6126
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6127
+ return {
6128
+ url: toPathString(localVarUrlObj),
6129
+ options: localVarRequestOptions,
6130
+ };
6131
+ }),
6132
+ /**
6133
+ *
6134
+ * @summary Récupère la description de l\'utilisateur connecté
6135
+ * @param {*} [options] Override http request option.
6136
+ * @throws {RequiredError}
6137
+ */
6138
+ getUserDescription: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6139
+ const localVarPath = `/api/users/me/description`;
6140
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6141
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6142
+ let baseOptions;
6143
+ if (configuration) {
6144
+ baseOptions = configuration.baseOptions;
6145
+ }
6146
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6147
+ const localVarHeaderParameter = {};
6148
+ const localVarQueryParameter = {};
6149
+ // authentication bearerAuth required
6150
+ // http bearer authentication required
6151
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6152
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6153
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6154
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6155
+ return {
6156
+ url: toPathString(localVarUrlObj),
6157
+ options: localVarRequestOptions,
6158
+ };
6159
+ }),
6048
6160
  /**
6049
6161
  *
6050
6162
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6073,6 +6185,34 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6073
6185
  options: localVarRequestOptions,
6074
6186
  };
6075
6187
  }),
6188
+ /**
6189
+ *
6190
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6191
+ * @param {*} [options] Override http request option.
6192
+ * @throws {RequiredError}
6193
+ */
6194
+ getUserProfileVisibility: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6195
+ const localVarPath = `/api/users/me/profile-visibility`;
6196
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6197
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6198
+ let baseOptions;
6199
+ if (configuration) {
6200
+ baseOptions = configuration.baseOptions;
6201
+ }
6202
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6203
+ const localVarHeaderParameter = {};
6204
+ const localVarQueryParameter = {};
6205
+ // authentication bearerAuth required
6206
+ // http bearer authentication required
6207
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6208
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6209
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6210
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6211
+ return {
6212
+ url: toPathString(localVarUrlObj),
6213
+ options: localVarRequestOptions,
6214
+ };
6215
+ }),
6076
6216
  /**
6077
6217
  *
6078
6218
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6139,6 +6279,39 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6139
6279
  options: localVarRequestOptions,
6140
6280
  };
6141
6281
  }),
6282
+ /**
6283
+ *
6284
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6285
+ * @param {UpdateProfileVisibilityRequestBody} updateProfileVisibilityRequestBody
6286
+ * @param {*} [options] Override http request option.
6287
+ * @throws {RequiredError}
6288
+ */
6289
+ updateProfileVisibility: (updateProfileVisibilityRequestBody_1, ...args_1) => __awaiter(this, [updateProfileVisibilityRequestBody_1, ...args_1], void 0, function* (updateProfileVisibilityRequestBody, options = {}) {
6290
+ // verify required parameter 'updateProfileVisibilityRequestBody' is not null or undefined
6291
+ assertParamExists('updateProfileVisibility', 'updateProfileVisibilityRequestBody', updateProfileVisibilityRequestBody);
6292
+ const localVarPath = `/api/users/me/profile-visibility`;
6293
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6294
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6295
+ let baseOptions;
6296
+ if (configuration) {
6297
+ baseOptions = configuration.baseOptions;
6298
+ }
6299
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6300
+ const localVarHeaderParameter = {};
6301
+ const localVarQueryParameter = {};
6302
+ // authentication bearerAuth required
6303
+ // http bearer authentication required
6304
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6305
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6308
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6309
+ localVarRequestOptions.data = serializeDataIfNeeded(updateProfileVisibilityRequestBody, localVarRequestOptions, configuration);
6310
+ return {
6311
+ url: toPathString(localVarUrlObj),
6312
+ options: localVarRequestOptions,
6313
+ };
6314
+ }),
6142
6315
  /**
6143
6316
  *
6144
6317
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6172,6 +6345,72 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6172
6345
  options: localVarRequestOptions,
6173
6346
  };
6174
6347
  }),
6348
+ /**
6349
+ *
6350
+ * @summary Met à jour la ville de l\'utilisateur connecté
6351
+ * @param {UpdateUserCityRequestBody} updateUserCityRequestBody
6352
+ * @param {*} [options] Override http request option.
6353
+ * @throws {RequiredError}
6354
+ */
6355
+ updateUserCity: (updateUserCityRequestBody_1, ...args_1) => __awaiter(this, [updateUserCityRequestBody_1, ...args_1], void 0, function* (updateUserCityRequestBody, options = {}) {
6356
+ // verify required parameter 'updateUserCityRequestBody' is not null or undefined
6357
+ assertParamExists('updateUserCity', 'updateUserCityRequestBody', updateUserCityRequestBody);
6358
+ const localVarPath = `/api/users/me/city`;
6359
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6360
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6361
+ let baseOptions;
6362
+ if (configuration) {
6363
+ baseOptions = configuration.baseOptions;
6364
+ }
6365
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6366
+ const localVarHeaderParameter = {};
6367
+ const localVarQueryParameter = {};
6368
+ // authentication bearerAuth required
6369
+ // http bearer authentication required
6370
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6371
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6372
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6373
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6374
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6375
+ localVarRequestOptions.data = serializeDataIfNeeded(updateUserCityRequestBody, localVarRequestOptions, configuration);
6376
+ return {
6377
+ url: toPathString(localVarUrlObj),
6378
+ options: localVarRequestOptions,
6379
+ };
6380
+ }),
6381
+ /**
6382
+ *
6383
+ * @summary Met à jour la description de l\'utilisateur connecté
6384
+ * @param {UpdateUserDescriptionRequestBody} updateUserDescriptionRequestBody
6385
+ * @param {*} [options] Override http request option.
6386
+ * @throws {RequiredError}
6387
+ */
6388
+ updateUserDescription: (updateUserDescriptionRequestBody_1, ...args_1) => __awaiter(this, [updateUserDescriptionRequestBody_1, ...args_1], void 0, function* (updateUserDescriptionRequestBody, options = {}) {
6389
+ // verify required parameter 'updateUserDescriptionRequestBody' is not null or undefined
6390
+ assertParamExists('updateUserDescription', 'updateUserDescriptionRequestBody', updateUserDescriptionRequestBody);
6391
+ const localVarPath = `/api/users/me/description`;
6392
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6393
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6394
+ let baseOptions;
6395
+ if (configuration) {
6396
+ baseOptions = configuration.baseOptions;
6397
+ }
6398
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
6399
+ const localVarHeaderParameter = {};
6400
+ const localVarQueryParameter = {};
6401
+ // authentication bearerAuth required
6402
+ // http bearer authentication required
6403
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6404
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6405
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6406
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6407
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6408
+ localVarRequestOptions.data = serializeDataIfNeeded(updateUserDescriptionRequestBody, localVarRequestOptions, configuration);
6409
+ return {
6410
+ url: toPathString(localVarUrlObj),
6411
+ options: localVarRequestOptions,
6412
+ };
6413
+ }),
6175
6414
  };
6176
6415
  };
6177
6416
  /**
@@ -6215,6 +6454,36 @@ export const UserProfileApiFp = function (configuration) {
6215
6454
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6216
6455
  });
6217
6456
  },
6457
+ /**
6458
+ *
6459
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6460
+ * @param {*} [options] Override http request option.
6461
+ * @throws {RequiredError}
6462
+ */
6463
+ getFrequentlyPlayedWith(options) {
6464
+ return __awaiter(this, void 0, void 0, function* () {
6465
+ var _a, _b, _c;
6466
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFrequentlyPlayedWith(options);
6467
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6468
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getFrequentlyPlayedWith']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6469
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6470
+ });
6471
+ },
6472
+ /**
6473
+ *
6474
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6475
+ * @param {*} [options] Override http request option.
6476
+ * @throws {RequiredError}
6477
+ */
6478
+ getFrequentlyVisitedClub(options) {
6479
+ return __awaiter(this, void 0, void 0, function* () {
6480
+ var _a, _b, _c;
6481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFrequentlyVisitedClub(options);
6482
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6483
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getFrequentlyVisitedClub']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6484
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6485
+ });
6486
+ },
6218
6487
  /**
6219
6488
  *
6220
6489
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6230,6 +6499,36 @@ export const UserProfileApiFp = function (configuration) {
6230
6499
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6231
6500
  });
6232
6501
  },
6502
+ /**
6503
+ *
6504
+ * @summary Récupère la ville de l\'utilisateur connecté
6505
+ * @param {*} [options] Override http request option.
6506
+ * @throws {RequiredError}
6507
+ */
6508
+ getUserCity(options) {
6509
+ return __awaiter(this, void 0, void 0, function* () {
6510
+ var _a, _b, _c;
6511
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserCity(options);
6512
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6513
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getUserCity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6514
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6515
+ });
6516
+ },
6517
+ /**
6518
+ *
6519
+ * @summary Récupère la description de l\'utilisateur connecté
6520
+ * @param {*} [options] Override http request option.
6521
+ * @throws {RequiredError}
6522
+ */
6523
+ getUserDescription(options) {
6524
+ return __awaiter(this, void 0, void 0, function* () {
6525
+ var _a, _b, _c;
6526
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserDescription(options);
6527
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6528
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getUserDescription']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6529
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6530
+ });
6531
+ },
6233
6532
  /**
6234
6533
  *
6235
6534
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6245,6 +6544,21 @@ export const UserProfileApiFp = function (configuration) {
6245
6544
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6246
6545
  });
6247
6546
  },
6547
+ /**
6548
+ *
6549
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6550
+ * @param {*} [options] Override http request option.
6551
+ * @throws {RequiredError}
6552
+ */
6553
+ getUserProfileVisibility(options) {
6554
+ return __awaiter(this, void 0, void 0, function* () {
6555
+ var _a, _b, _c;
6556
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserProfileVisibility(options);
6557
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6558
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getUserProfileVisibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6559
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6560
+ });
6561
+ },
6248
6562
  /**
6249
6563
  *
6250
6564
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6277,6 +6591,22 @@ export const UserProfileApiFp = function (configuration) {
6277
6591
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6278
6592
  });
6279
6593
  },
6594
+ /**
6595
+ *
6596
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6597
+ * @param {UpdateProfileVisibilityRequestBody} updateProfileVisibilityRequestBody
6598
+ * @param {*} [options] Override http request option.
6599
+ * @throws {RequiredError}
6600
+ */
6601
+ updateProfileVisibility(updateProfileVisibilityRequestBody, options) {
6602
+ return __awaiter(this, void 0, void 0, function* () {
6603
+ var _a, _b, _c;
6604
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProfileVisibility(updateProfileVisibilityRequestBody, options);
6605
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6606
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.updateProfileVisibility']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6607
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6608
+ });
6609
+ },
6280
6610
  /**
6281
6611
  *
6282
6612
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6293,6 +6623,38 @@ export const UserProfileApiFp = function (configuration) {
6293
6623
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6294
6624
  });
6295
6625
  },
6626
+ /**
6627
+ *
6628
+ * @summary Met à jour la ville de l\'utilisateur connecté
6629
+ * @param {UpdateUserCityRequestBody} updateUserCityRequestBody
6630
+ * @param {*} [options] Override http request option.
6631
+ * @throws {RequiredError}
6632
+ */
6633
+ updateUserCity(updateUserCityRequestBody, options) {
6634
+ return __awaiter(this, void 0, void 0, function* () {
6635
+ var _a, _b, _c;
6636
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserCity(updateUserCityRequestBody, options);
6637
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6638
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.updateUserCity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6639
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6640
+ });
6641
+ },
6642
+ /**
6643
+ *
6644
+ * @summary Met à jour la description de l\'utilisateur connecté
6645
+ * @param {UpdateUserDescriptionRequestBody} updateUserDescriptionRequestBody
6646
+ * @param {*} [options] Override http request option.
6647
+ * @throws {RequiredError}
6648
+ */
6649
+ updateUserDescription(updateUserDescriptionRequestBody, options) {
6650
+ return __awaiter(this, void 0, void 0, function* () {
6651
+ var _a, _b, _c;
6652
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserDescription(updateUserDescriptionRequestBody, options);
6653
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6654
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.updateUserDescription']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6655
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6656
+ });
6657
+ },
6296
6658
  };
6297
6659
  };
6298
6660
  /**
@@ -6322,6 +6684,24 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
6322
6684
  getAllUsers(requestParameters = {}, options) {
6323
6685
  return localVarFp.getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(axios, basePath));
6324
6686
  },
6687
+ /**
6688
+ *
6689
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6690
+ * @param {*} [options] Override http request option.
6691
+ * @throws {RequiredError}
6692
+ */
6693
+ getFrequentlyPlayedWith(options) {
6694
+ return localVarFp.getFrequentlyPlayedWith(options).then((request) => request(axios, basePath));
6695
+ },
6696
+ /**
6697
+ *
6698
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6699
+ * @param {*} [options] Override http request option.
6700
+ * @throws {RequiredError}
6701
+ */
6702
+ getFrequentlyVisitedClub(options) {
6703
+ return localVarFp.getFrequentlyVisitedClub(options).then((request) => request(axios, basePath));
6704
+ },
6325
6705
  /**
6326
6706
  *
6327
6707
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6331,6 +6711,24 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
6331
6711
  getProfilePicture(options) {
6332
6712
  return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
6333
6713
  },
6714
+ /**
6715
+ *
6716
+ * @summary Récupère la ville de l\'utilisateur connecté
6717
+ * @param {*} [options] Override http request option.
6718
+ * @throws {RequiredError}
6719
+ */
6720
+ getUserCity(options) {
6721
+ return localVarFp.getUserCity(options).then((request) => request(axios, basePath));
6722
+ },
6723
+ /**
6724
+ *
6725
+ * @summary Récupère la description de l\'utilisateur connecté
6726
+ * @param {*} [options] Override http request option.
6727
+ * @throws {RequiredError}
6728
+ */
6729
+ getUserDescription(options) {
6730
+ return localVarFp.getUserDescription(options).then((request) => request(axios, basePath));
6731
+ },
6334
6732
  /**
6335
6733
  *
6336
6734
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6340,6 +6738,15 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
6340
6738
  getUserInfo(options) {
6341
6739
  return localVarFp.getUserInfo(options).then((request) => request(axios, basePath));
6342
6740
  },
6741
+ /**
6742
+ *
6743
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6744
+ * @param {*} [options] Override http request option.
6745
+ * @throws {RequiredError}
6746
+ */
6747
+ getUserProfileVisibility(options) {
6748
+ return localVarFp.getUserProfileVisibility(options).then((request) => request(axios, basePath));
6749
+ },
6343
6750
  /**
6344
6751
  *
6345
6752
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6360,6 +6767,16 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
6360
6767
  updateProfilePicture(requestParameters, options) {
6361
6768
  return localVarFp.updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(axios, basePath));
6362
6769
  },
6770
+ /**
6771
+ *
6772
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6773
+ * @param {UserProfileApiUpdateProfileVisibilityRequest} requestParameters Request parameters.
6774
+ * @param {*} [options] Override http request option.
6775
+ * @throws {RequiredError}
6776
+ */
6777
+ updateProfileVisibility(requestParameters, options) {
6778
+ return localVarFp.updateProfileVisibility(requestParameters.updateProfileVisibilityRequestBody, options).then((request) => request(axios, basePath));
6779
+ },
6363
6780
  /**
6364
6781
  *
6365
6782
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6370,6 +6787,26 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
6370
6787
  updateUser(requestParameters, options) {
6371
6788
  return localVarFp.updateUser(requestParameters.updateUserRequestBody, options).then((request) => request(axios, basePath));
6372
6789
  },
6790
+ /**
6791
+ *
6792
+ * @summary Met à jour la ville de l\'utilisateur connecté
6793
+ * @param {UserProfileApiUpdateUserCityRequest} requestParameters Request parameters.
6794
+ * @param {*} [options] Override http request option.
6795
+ * @throws {RequiredError}
6796
+ */
6797
+ updateUserCity(requestParameters, options) {
6798
+ return localVarFp.updateUserCity(requestParameters.updateUserCityRequestBody, options).then((request) => request(axios, basePath));
6799
+ },
6800
+ /**
6801
+ *
6802
+ * @summary Met à jour la description de l\'utilisateur connecté
6803
+ * @param {UserProfileApiUpdateUserDescriptionRequest} requestParameters Request parameters.
6804
+ * @param {*} [options] Override http request option.
6805
+ * @throws {RequiredError}
6806
+ */
6807
+ updateUserDescription(requestParameters, options) {
6808
+ return localVarFp.updateUserDescription(requestParameters.updateUserDescriptionRequestBody, options).then((request) => request(axios, basePath));
6809
+ },
6373
6810
  };
6374
6811
  };
6375
6812
  /**
@@ -6401,6 +6838,26 @@ export class UserProfileApi extends BaseAPI {
6401
6838
  getAllUsers(requestParameters = {}, options) {
6402
6839
  return UserProfileApiFp(this.configuration).getAllUsers(requestParameters.limit, requestParameters.skip, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
6403
6840
  }
6841
+ /**
6842
+ *
6843
+ * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
6844
+ * @param {*} [options] Override http request option.
6845
+ * @throws {RequiredError}
6846
+ * @memberof UserProfileApi
6847
+ */
6848
+ getFrequentlyPlayedWith(options) {
6849
+ return UserProfileApiFp(this.configuration).getFrequentlyPlayedWith(options).then((request) => request(this.axios, this.basePath));
6850
+ }
6851
+ /**
6852
+ *
6853
+ * @summary Clubs les plus fréquemment visités par l\'utilisateur connecté
6854
+ * @param {*} [options] Override http request option.
6855
+ * @throws {RequiredError}
6856
+ * @memberof UserProfileApi
6857
+ */
6858
+ getFrequentlyVisitedClub(options) {
6859
+ return UserProfileApiFp(this.configuration).getFrequentlyVisitedClub(options).then((request) => request(this.axios, this.basePath));
6860
+ }
6404
6861
  /**
6405
6862
  *
6406
6863
  * @summary Récupère l\'URL de la photo de profil de l\'utilisateur connecté
@@ -6411,6 +6868,26 @@ export class UserProfileApi extends BaseAPI {
6411
6868
  getProfilePicture(options) {
6412
6869
  return UserProfileApiFp(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
6413
6870
  }
6871
+ /**
6872
+ *
6873
+ * @summary Récupère la ville de l\'utilisateur connecté
6874
+ * @param {*} [options] Override http request option.
6875
+ * @throws {RequiredError}
6876
+ * @memberof UserProfileApi
6877
+ */
6878
+ getUserCity(options) {
6879
+ return UserProfileApiFp(this.configuration).getUserCity(options).then((request) => request(this.axios, this.basePath));
6880
+ }
6881
+ /**
6882
+ *
6883
+ * @summary Récupère la description de l\'utilisateur connecté
6884
+ * @param {*} [options] Override http request option.
6885
+ * @throws {RequiredError}
6886
+ * @memberof UserProfileApi
6887
+ */
6888
+ getUserDescription(options) {
6889
+ return UserProfileApiFp(this.configuration).getUserDescription(options).then((request) => request(this.axios, this.basePath));
6890
+ }
6414
6891
  /**
6415
6892
  *
6416
6893
  * @summary Récupère les informations de l\'utilisateur connecté
@@ -6421,6 +6898,16 @@ export class UserProfileApi extends BaseAPI {
6421
6898
  getUserInfo(options) {
6422
6899
  return UserProfileApiFp(this.configuration).getUserInfo(options).then((request) => request(this.axios, this.basePath));
6423
6900
  }
6901
+ /**
6902
+ *
6903
+ * @summary Récupère la visibilité du profil de l\'utilisateur connecté
6904
+ * @param {*} [options] Override http request option.
6905
+ * @throws {RequiredError}
6906
+ * @memberof UserProfileApi
6907
+ */
6908
+ getUserProfileVisibility(options) {
6909
+ return UserProfileApiFp(this.configuration).getUserProfileVisibility(options).then((request) => request(this.axios, this.basePath));
6910
+ }
6424
6911
  /**
6425
6912
  *
6426
6913
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -6443,6 +6930,17 @@ export class UserProfileApi extends BaseAPI {
6443
6930
  updateProfilePicture(requestParameters, options) {
6444
6931
  return UserProfileApiFp(this.configuration).updateProfilePicture(requestParameters.updateProfilePictureRequestBody, options).then((request) => request(this.axios, this.basePath));
6445
6932
  }
6933
+ /**
6934
+ *
6935
+ * @summary Met à jour la visibilité du profil de l\'utilisateur connecté
6936
+ * @param {UserProfileApiUpdateProfileVisibilityRequest} requestParameters Request parameters.
6937
+ * @param {*} [options] Override http request option.
6938
+ * @throws {RequiredError}
6939
+ * @memberof UserProfileApi
6940
+ */
6941
+ updateProfileVisibility(requestParameters, options) {
6942
+ return UserProfileApiFp(this.configuration).updateProfileVisibility(requestParameters.updateProfileVisibilityRequestBody, options).then((request) => request(this.axios, this.basePath));
6943
+ }
6446
6944
  /**
6447
6945
  *
6448
6946
  * @summary Met à jour les données de l\'utilisateur connecté
@@ -6454,6 +6952,28 @@ export class UserProfileApi extends BaseAPI {
6454
6952
  updateUser(requestParameters, options) {
6455
6953
  return UserProfileApiFp(this.configuration).updateUser(requestParameters.updateUserRequestBody, options).then((request) => request(this.axios, this.basePath));
6456
6954
  }
6955
+ /**
6956
+ *
6957
+ * @summary Met à jour la ville de l\'utilisateur connecté
6958
+ * @param {UserProfileApiUpdateUserCityRequest} requestParameters Request parameters.
6959
+ * @param {*} [options] Override http request option.
6960
+ * @throws {RequiredError}
6961
+ * @memberof UserProfileApi
6962
+ */
6963
+ updateUserCity(requestParameters, options) {
6964
+ return UserProfileApiFp(this.configuration).updateUserCity(requestParameters.updateUserCityRequestBody, options).then((request) => request(this.axios, this.basePath));
6965
+ }
6966
+ /**
6967
+ *
6968
+ * @summary Met à jour la description de l\'utilisateur connecté
6969
+ * @param {UserProfileApiUpdateUserDescriptionRequest} requestParameters Request parameters.
6970
+ * @param {*} [options] Override http request option.
6971
+ * @throws {RequiredError}
6972
+ * @memberof UserProfileApi
6973
+ */
6974
+ updateUserDescription(requestParameters, options) {
6975
+ return UserProfileApiFp(this.configuration).updateUserDescription(requestParameters.updateUserDescriptionRequestBody, options).then((request) => request(this.axios, this.basePath));
6976
+ }
6457
6977
  }
6458
6978
  /**
6459
6979
  * UserSubscriptionsApi - axios parameter creator
@@ -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.24
5
+ * The version of the OpenAPI document: 1.0.25
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).