@tennac-booking/sdk 1.0.28 → 1.0.29

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/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.28
7
+ * The version of the OpenAPI document: 1.0.29
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6672,6 +6672,39 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6672
6672
  options: localVarRequestOptions,
6673
6673
  };
6674
6674
  }),
6675
+ /**
6676
+ *
6677
+ * @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
6678
+ * @param {AddFavoritePlayerRequestBody} addFavoritePlayerRequestBody
6679
+ * @param {*} [options] Override http request option.
6680
+ * @throws {RequiredError}
6681
+ */
6682
+ addFavoritePlayer: (addFavoritePlayerRequestBody_1, ...args_1) => __awaiter(this, [addFavoritePlayerRequestBody_1, ...args_1], void 0, function* (addFavoritePlayerRequestBody, options = {}) {
6683
+ // verify required parameter 'addFavoritePlayerRequestBody' is not null or undefined
6684
+ assertParamExists('addFavoritePlayer', 'addFavoritePlayerRequestBody', addFavoritePlayerRequestBody);
6685
+ const localVarPath = `/api/users/me/favoritesPlayers`;
6686
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6687
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6688
+ let baseOptions;
6689
+ if (configuration) {
6690
+ baseOptions = configuration.baseOptions;
6691
+ }
6692
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6693
+ const localVarHeaderParameter = {};
6694
+ const localVarQueryParameter = {};
6695
+ // authentication bearerAuth required
6696
+ // http bearer authentication required
6697
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6698
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6699
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6700
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6701
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6702
+ localVarRequestOptions.data = serializeDataIfNeeded(addFavoritePlayerRequestBody, localVarRequestOptions, configuration);
6703
+ return {
6704
+ url: toPathString(localVarUrlObj),
6705
+ options: localVarRequestOptions,
6706
+ };
6707
+ }),
6675
6708
  /**
6676
6709
  *
6677
6710
  * @summary Modifie le mot de passe de l\'utilisateur connecté
@@ -6773,6 +6806,34 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6773
6806
  options: localVarRequestOptions,
6774
6807
  };
6775
6808
  }),
6809
+ /**
6810
+ *
6811
+ * @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
6812
+ * @param {*} [options] Override http request option.
6813
+ * @throws {RequiredError}
6814
+ */
6815
+ getFavoritesPlayers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6816
+ const localVarPath = `/api/users/me/favoritesPlayers`;
6817
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6818
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6819
+ let baseOptions;
6820
+ if (configuration) {
6821
+ baseOptions = configuration.baseOptions;
6822
+ }
6823
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6824
+ const localVarHeaderParameter = {};
6825
+ const localVarQueryParameter = {};
6826
+ // authentication bearerAuth required
6827
+ // http bearer authentication required
6828
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6829
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6830
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6831
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6832
+ return {
6833
+ url: toPathString(localVarUrlObj),
6834
+ options: localVarRequestOptions,
6835
+ };
6836
+ }),
6776
6837
  /**
6777
6838
  *
6778
6839
  * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
@@ -6857,6 +6918,42 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
6857
6918
  options: localVarRequestOptions,
6858
6919
  };
6859
6920
  }),
6921
+ /**
6922
+ *
6923
+ * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
6924
+ * @param {number} [limit] Nombre maximum de réservations à retourner
6925
+ * @param {number} [skip] Nombre de réservations à ignorer (pagination)
6926
+ * @param {*} [options] Override http request option.
6927
+ * @throws {RequiredError}
6928
+ */
6929
+ getUserBookings: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
6930
+ const localVarPath = `/api/users/me/bookings`;
6931
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6932
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6933
+ let baseOptions;
6934
+ if (configuration) {
6935
+ baseOptions = configuration.baseOptions;
6936
+ }
6937
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6938
+ const localVarHeaderParameter = {};
6939
+ const localVarQueryParameter = {};
6940
+ // authentication bearerAuth required
6941
+ // http bearer authentication required
6942
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6943
+ if (limit !== undefined) {
6944
+ localVarQueryParameter['limit'] = limit;
6945
+ }
6946
+ if (skip !== undefined) {
6947
+ localVarQueryParameter['skip'] = skip;
6948
+ }
6949
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6950
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6951
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6952
+ return {
6953
+ url: toPathString(localVarUrlObj),
6954
+ options: localVarRequestOptions,
6955
+ };
6956
+ }),
6860
6957
  /**
6861
6958
  *
6862
6959
  * @summary Récupère la ville de l\'utilisateur connecté
@@ -7003,6 +7100,38 @@ export const UserProfileApiAxiosParamCreator = function (configuration) {
7003
7100
  options: localVarRequestOptions,
7004
7101
  };
7005
7102
  }),
7103
+ /**
7104
+ *
7105
+ * @summary Retire un joueur des favoris de l\'utilisateur connecté
7106
+ * @param {string} favoritePlayerId ID du joueur à retirer des favoris
7107
+ * @param {*} [options] Override http request option.
7108
+ * @throws {RequiredError}
7109
+ */
7110
+ removeFavoritePlayer: (favoritePlayerId_1, ...args_1) => __awaiter(this, [favoritePlayerId_1, ...args_1], void 0, function* (favoritePlayerId, options = {}) {
7111
+ // verify required parameter 'favoritePlayerId' is not null or undefined
7112
+ assertParamExists('removeFavoritePlayer', 'favoritePlayerId', favoritePlayerId);
7113
+ const localVarPath = `/api/users/me/favoritesPlayers/{favoritePlayerId}`
7114
+ .replace(`{${"favoritePlayerId"}}`, encodeURIComponent(String(favoritePlayerId)));
7115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7116
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7117
+ let baseOptions;
7118
+ if (configuration) {
7119
+ baseOptions = configuration.baseOptions;
7120
+ }
7121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
7122
+ const localVarHeaderParameter = {};
7123
+ const localVarQueryParameter = {};
7124
+ // authentication bearerAuth required
7125
+ // http bearer authentication required
7126
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7129
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7130
+ return {
7131
+ url: toPathString(localVarUrlObj),
7132
+ options: localVarRequestOptions,
7133
+ };
7134
+ }),
7006
7135
  /**
7007
7136
  *
7008
7137
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -7226,6 +7355,22 @@ export const UserProfileApiFp = function (configuration) {
7226
7355
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7227
7356
  });
7228
7357
  },
7358
+ /**
7359
+ *
7360
+ * @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
7361
+ * @param {AddFavoritePlayerRequestBody} addFavoritePlayerRequestBody
7362
+ * @param {*} [options] Override http request option.
7363
+ * @throws {RequiredError}
7364
+ */
7365
+ addFavoritePlayer(addFavoritePlayerRequestBody, options) {
7366
+ return __awaiter(this, void 0, void 0, function* () {
7367
+ var _a, _b, _c;
7368
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addFavoritePlayer(addFavoritePlayerRequestBody, options);
7369
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7370
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.addFavoritePlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7372
+ });
7373
+ },
7229
7374
  /**
7230
7375
  *
7231
7376
  * @summary Modifie le mot de passe de l\'utilisateur connecté
@@ -7275,6 +7420,21 @@ export const UserProfileApiFp = function (configuration) {
7275
7420
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7276
7421
  });
7277
7422
  },
7423
+ /**
7424
+ *
7425
+ * @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
7426
+ * @param {*} [options] Override http request option.
7427
+ * @throws {RequiredError}
7428
+ */
7429
+ getFavoritesPlayers(options) {
7430
+ return __awaiter(this, void 0, void 0, function* () {
7431
+ var _a, _b, _c;
7432
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFavoritesPlayers(options);
7433
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7434
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getFavoritesPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7435
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7436
+ });
7437
+ },
7278
7438
  /**
7279
7439
  *
7280
7440
  * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
@@ -7320,6 +7480,23 @@ export const UserProfileApiFp = function (configuration) {
7320
7480
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7321
7481
  });
7322
7482
  },
7483
+ /**
7484
+ *
7485
+ * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
7486
+ * @param {number} [limit] Nombre maximum de réservations à retourner
7487
+ * @param {number} [skip] Nombre de réservations à ignorer (pagination)
7488
+ * @param {*} [options] Override http request option.
7489
+ * @throws {RequiredError}
7490
+ */
7491
+ getUserBookings(limit, skip, options) {
7492
+ return __awaiter(this, void 0, void 0, function* () {
7493
+ var _a, _b, _c;
7494
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserBookings(limit, skip, options);
7495
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7496
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.getUserBookings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7497
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7498
+ });
7499
+ },
7323
7500
  /**
7324
7501
  *
7325
7502
  * @summary Récupère la ville de l\'utilisateur connecté
@@ -7396,6 +7573,22 @@ export const UserProfileApiFp = function (configuration) {
7396
7573
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7397
7574
  });
7398
7575
  },
7576
+ /**
7577
+ *
7578
+ * @summary Retire un joueur des favoris de l\'utilisateur connecté
7579
+ * @param {string} favoritePlayerId ID du joueur à retirer des favoris
7580
+ * @param {*} [options] Override http request option.
7581
+ * @throws {RequiredError}
7582
+ */
7583
+ removeFavoritePlayer(favoritePlayerId, options) {
7584
+ return __awaiter(this, void 0, void 0, function* () {
7585
+ var _a, _b, _c;
7586
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeFavoritePlayer(favoritePlayerId, options);
7587
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7588
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserProfileApi.removeFavoritePlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7589
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7590
+ });
7591
+ },
7399
7592
  /**
7400
7593
  *
7401
7594
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -7511,6 +7704,16 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
7511
7704
  addFavoriteClub(requestParameters, options) {
7512
7705
  return localVarFp.addFavoriteClub(requestParameters.addFavoriteClubRequestBody, options).then((request) => request(axios, basePath));
7513
7706
  },
7707
+ /**
7708
+ *
7709
+ * @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
7710
+ * @param {UserProfileApiAddFavoritePlayerRequest} requestParameters Request parameters.
7711
+ * @param {*} [options] Override http request option.
7712
+ * @throws {RequiredError}
7713
+ */
7714
+ addFavoritePlayer(requestParameters, options) {
7715
+ return localVarFp.addFavoritePlayer(requestParameters.addFavoritePlayerRequestBody, options).then((request) => request(axios, basePath));
7716
+ },
7514
7717
  /**
7515
7718
  *
7516
7719
  * @summary Modifie le mot de passe de l\'utilisateur connecté
@@ -7540,6 +7743,15 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
7540
7743
  getFavoriteClubs(options) {
7541
7744
  return localVarFp.getFavoriteClubs(options).then((request) => request(axios, basePath));
7542
7745
  },
7746
+ /**
7747
+ *
7748
+ * @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
7749
+ * @param {*} [options] Override http request option.
7750
+ * @throws {RequiredError}
7751
+ */
7752
+ getFavoritesPlayers(options) {
7753
+ return localVarFp.getFavoritesPlayers(options).then((request) => request(axios, basePath));
7754
+ },
7543
7755
  /**
7544
7756
  *
7545
7757
  * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
@@ -7567,6 +7779,16 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
7567
7779
  getProfilePicture(options) {
7568
7780
  return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
7569
7781
  },
7782
+ /**
7783
+ *
7784
+ * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
7785
+ * @param {UserProfileApiGetUserBookingsRequest} requestParameters Request parameters.
7786
+ * @param {*} [options] Override http request option.
7787
+ * @throws {RequiredError}
7788
+ */
7789
+ getUserBookings(requestParameters = {}, options) {
7790
+ return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
7791
+ },
7570
7792
  /**
7571
7793
  *
7572
7794
  * @summary Récupère la ville de l\'utilisateur connecté
@@ -7613,6 +7835,16 @@ export const UserProfileApiFactory = function (configuration, basePath, axios) {
7613
7835
  removeFavoriteClub(requestParameters, options) {
7614
7836
  return localVarFp.removeFavoriteClub(requestParameters.clubId, options).then((request) => request(axios, basePath));
7615
7837
  },
7838
+ /**
7839
+ *
7840
+ * @summary Retire un joueur des favoris de l\'utilisateur connecté
7841
+ * @param {UserProfileApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
7842
+ * @param {*} [options] Override http request option.
7843
+ * @throws {RequiredError}
7844
+ */
7845
+ removeFavoritePlayer(requestParameters, options) {
7846
+ return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
7847
+ },
7616
7848
  /**
7617
7849
  *
7618
7850
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -7693,6 +7925,17 @@ export class UserProfileApi extends BaseAPI {
7693
7925
  addFavoriteClub(requestParameters, options) {
7694
7926
  return UserProfileApiFp(this.configuration).addFavoriteClub(requestParameters.addFavoriteClubRequestBody, options).then((request) => request(this.axios, this.basePath));
7695
7927
  }
7928
+ /**
7929
+ *
7930
+ * @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
7931
+ * @param {UserProfileApiAddFavoritePlayerRequest} requestParameters Request parameters.
7932
+ * @param {*} [options] Override http request option.
7933
+ * @throws {RequiredError}
7934
+ * @memberof UserProfileApi
7935
+ */
7936
+ addFavoritePlayer(requestParameters, options) {
7937
+ return UserProfileApiFp(this.configuration).addFavoritePlayer(requestParameters.addFavoritePlayerRequestBody, options).then((request) => request(this.axios, this.basePath));
7938
+ }
7696
7939
  /**
7697
7940
  *
7698
7941
  * @summary Modifie le mot de passe de l\'utilisateur connecté
@@ -7725,6 +7968,16 @@ export class UserProfileApi extends BaseAPI {
7725
7968
  getFavoriteClubs(options) {
7726
7969
  return UserProfileApiFp(this.configuration).getFavoriteClubs(options).then((request) => request(this.axios, this.basePath));
7727
7970
  }
7971
+ /**
7972
+ *
7973
+ * @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
7974
+ * @param {*} [options] Override http request option.
7975
+ * @throws {RequiredError}
7976
+ * @memberof UserProfileApi
7977
+ */
7978
+ getFavoritesPlayers(options) {
7979
+ return UserProfileApiFp(this.configuration).getFavoritesPlayers(options).then((request) => request(this.axios, this.basePath));
7980
+ }
7728
7981
  /**
7729
7982
  *
7730
7983
  * @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
@@ -7755,6 +8008,17 @@ export class UserProfileApi extends BaseAPI {
7755
8008
  getProfilePicture(options) {
7756
8009
  return UserProfileApiFp(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
7757
8010
  }
8011
+ /**
8012
+ *
8013
+ * @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
8014
+ * @param {UserProfileApiGetUserBookingsRequest} requestParameters Request parameters.
8015
+ * @param {*} [options] Override http request option.
8016
+ * @throws {RequiredError}
8017
+ * @memberof UserProfileApi
8018
+ */
8019
+ getUserBookings(requestParameters = {}, options) {
8020
+ return UserProfileApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
8021
+ }
7758
8022
  /**
7759
8023
  *
7760
8024
  * @summary Récupère la ville de l\'utilisateur connecté
@@ -7806,6 +8070,17 @@ export class UserProfileApi extends BaseAPI {
7806
8070
  removeFavoriteClub(requestParameters, options) {
7807
8071
  return UserProfileApiFp(this.configuration).removeFavoriteClub(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
7808
8072
  }
8073
+ /**
8074
+ *
8075
+ * @summary Retire un joueur des favoris de l\'utilisateur connecté
8076
+ * @param {UserProfileApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
8077
+ * @param {*} [options] Override http request option.
8078
+ * @throws {RequiredError}
8079
+ * @memberof UserProfileApi
8080
+ */
8081
+ removeFavoritePlayer(requestParameters, options) {
8082
+ return UserProfileApiFp(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
8083
+ }
7809
8084
  /**
7810
8085
  *
7811
8086
  * @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
@@ -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.28
5
+ * The version of the OpenAPI document: 1.0.29
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.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.28
7
+ * The version of the OpenAPI document: 1.0.29
8
8
  *
9
9
  *
10
10
  * 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.28
5
+ * The version of the OpenAPI document: 1.0.29
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.28
7
+ * The version of the OpenAPI document: 1.0.29
8
8
  *
9
9
  *
10
10
  * 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.28
5
+ * The version of the OpenAPI document: 1.0.29
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.28
7
+ * The version of the OpenAPI document: 1.0.29
8
8
  *
9
9
  *
10
10
  * 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.28
5
+ * The version of the OpenAPI document: 1.0.29
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.28
7
+ * The version of the OpenAPI document: 1.0.29
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.28
5
+ * The version of the OpenAPI document: 1.0.29
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.28
8
+ * The version of the OpenAPI document: 1.0.29
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,20 @@
1
+ # AddFavoritePlayerRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **favoritePlayerId** | **string** | ID de l\'utilisateur à ajouter en favori | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AddFavoritePlayerRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: AddFavoritePlayerRequestBody = {
16
+ favoritePlayerId,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # FavoriteClubItem
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | ID du club | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **address** | **string** | | [optional] [default to undefined]
11
+ **isActive** | **boolean** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { FavoriteClubItem } from '@tennac-booking/sdk';
17
+
18
+ const instance: FavoriteClubItem = {
19
+ _id,
20
+ name,
21
+ address,
22
+ isActive,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # FavoritePlayerPublic
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [optional] [default to undefined]
10
+ **lastName** | **string** | | [optional] [default to undefined]
11
+ **profilePicture** | **string** | | [optional] [default to undefined]
12
+ **isProfileVisible** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { FavoritePlayerPublic } from '@tennac-booking/sdk';
18
+
19
+ const instance: FavoritePlayerPublic = {
20
+ _id,
21
+ firstName,
22
+ lastName,
23
+ profilePicture,
24
+ isProfileVisible,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # FavoritePlayersIdsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FavoritePlayersIdsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: FavoritePlayersIdsResponse = {
17
+ message,
18
+ favoritePlayers,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # FavoritePlayersResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **favoriteUsers** | [**Array<FavoritePlayerPublic>**](FavoritePlayerPublic.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { FavoritePlayersResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: FavoritePlayersResponse = {
16
+ favoriteUsers,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # UserBookingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **bookings** | [**Array<Booking>**](Booking.md) | | [optional] [default to undefined]
9
+ **total** | **number** | | [optional] [default to undefined]
10
+ **limit** | **number** | | [optional] [default to undefined]
11
+ **skip** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { UserBookingsResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: UserBookingsResponse = {
19
+ bookings,
20
+ total,
21
+ limit,
22
+ skip,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,18 +1,18 @@
1
- # GetFavoriteClubs200Response
1
+ # UserFavoriteClubsResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
8
+ **favoriteClubs** | [**Array<FavoriteClubItem>**](FavoriteClubItem.md) | | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { GetFavoriteClubs200Response } from '@tennac-booking/sdk';
13
+ import { UserFavoriteClubsResponse } from '@tennac-booking/sdk';
14
14
 
15
- const instance: GetFavoriteClubs200Response = {
15
+ const instance: UserFavoriteClubsResponse = {
16
16
  favoriteClubs,
17
17
  };
18
18
  ```