@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/.openapi-generator/FILES +7 -1
- package/README.md +13 -3
- package/api.ts +503 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +336 -17
- package/dist/api.js +276 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +336 -17
- package/dist/esm/api.js +276 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AddFavoritePlayerRequestBody.md +20 -0
- package/docs/FavoriteClubItem.md +26 -0
- package/docs/FavoritePlayerPublic.md +28 -0
- package/docs/FavoritePlayersIdsResponse.md +22 -0
- package/docs/FavoritePlayersResponse.md +20 -0
- package/docs/UserBookingsResponse.md +26 -0
- package/docs/{GetFavoriteClubs200Response.md → UserFavoriteClubsResponse.md} +4 -4
- package/docs/UserProfileApi.md +215 -2
- package/index.ts +1 -1
- 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.
|
|
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).
|
|
@@ -6789,6 +6789,39 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
6789
6789
|
options: localVarRequestOptions,
|
|
6790
6790
|
};
|
|
6791
6791
|
}),
|
|
6792
|
+
/**
|
|
6793
|
+
*
|
|
6794
|
+
* @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
|
|
6795
|
+
* @param {AddFavoritePlayerRequestBody} addFavoritePlayerRequestBody
|
|
6796
|
+
* @param {*} [options] Override http request option.
|
|
6797
|
+
* @throws {RequiredError}
|
|
6798
|
+
*/
|
|
6799
|
+
addFavoritePlayer: (addFavoritePlayerRequestBody_1, ...args_1) => __awaiter(this, [addFavoritePlayerRequestBody_1, ...args_1], void 0, function* (addFavoritePlayerRequestBody, options = {}) {
|
|
6800
|
+
// verify required parameter 'addFavoritePlayerRequestBody' is not null or undefined
|
|
6801
|
+
(0, common_1.assertParamExists)('addFavoritePlayer', 'addFavoritePlayerRequestBody', addFavoritePlayerRequestBody);
|
|
6802
|
+
const localVarPath = `/api/users/me/favoritesPlayers`;
|
|
6803
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6804
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6805
|
+
let baseOptions;
|
|
6806
|
+
if (configuration) {
|
|
6807
|
+
baseOptions = configuration.baseOptions;
|
|
6808
|
+
}
|
|
6809
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6810
|
+
const localVarHeaderParameter = {};
|
|
6811
|
+
const localVarQueryParameter = {};
|
|
6812
|
+
// authentication bearerAuth required
|
|
6813
|
+
// http bearer authentication required
|
|
6814
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6815
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6816
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6818
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6819
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addFavoritePlayerRequestBody, localVarRequestOptions, configuration);
|
|
6820
|
+
return {
|
|
6821
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6822
|
+
options: localVarRequestOptions,
|
|
6823
|
+
};
|
|
6824
|
+
}),
|
|
6792
6825
|
/**
|
|
6793
6826
|
*
|
|
6794
6827
|
* @summary Modifie le mot de passe de l\'utilisateur connecté
|
|
@@ -6890,6 +6923,34 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
6890
6923
|
options: localVarRequestOptions,
|
|
6891
6924
|
};
|
|
6892
6925
|
}),
|
|
6926
|
+
/**
|
|
6927
|
+
*
|
|
6928
|
+
* @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
|
|
6929
|
+
* @param {*} [options] Override http request option.
|
|
6930
|
+
* @throws {RequiredError}
|
|
6931
|
+
*/
|
|
6932
|
+
getFavoritesPlayers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6933
|
+
const localVarPath = `/api/users/me/favoritesPlayers`;
|
|
6934
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6935
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6936
|
+
let baseOptions;
|
|
6937
|
+
if (configuration) {
|
|
6938
|
+
baseOptions = configuration.baseOptions;
|
|
6939
|
+
}
|
|
6940
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6941
|
+
const localVarHeaderParameter = {};
|
|
6942
|
+
const localVarQueryParameter = {};
|
|
6943
|
+
// authentication bearerAuth required
|
|
6944
|
+
// http bearer authentication required
|
|
6945
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6946
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6947
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6948
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6949
|
+
return {
|
|
6950
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6951
|
+
options: localVarRequestOptions,
|
|
6952
|
+
};
|
|
6953
|
+
}),
|
|
6893
6954
|
/**
|
|
6894
6955
|
*
|
|
6895
6956
|
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
@@ -6974,6 +7035,42 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
6974
7035
|
options: localVarRequestOptions,
|
|
6975
7036
|
};
|
|
6976
7037
|
}),
|
|
7038
|
+
/**
|
|
7039
|
+
*
|
|
7040
|
+
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
7041
|
+
* @param {number} [limit] Nombre maximum de réservations à retourner
|
|
7042
|
+
* @param {number} [skip] Nombre de réservations à ignorer (pagination)
|
|
7043
|
+
* @param {*} [options] Override http request option.
|
|
7044
|
+
* @throws {RequiredError}
|
|
7045
|
+
*/
|
|
7046
|
+
getUserBookings: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
|
|
7047
|
+
const localVarPath = `/api/users/me/bookings`;
|
|
7048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7049
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7050
|
+
let baseOptions;
|
|
7051
|
+
if (configuration) {
|
|
7052
|
+
baseOptions = configuration.baseOptions;
|
|
7053
|
+
}
|
|
7054
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7055
|
+
const localVarHeaderParameter = {};
|
|
7056
|
+
const localVarQueryParameter = {};
|
|
7057
|
+
// authentication bearerAuth required
|
|
7058
|
+
// http bearer authentication required
|
|
7059
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7060
|
+
if (limit !== undefined) {
|
|
7061
|
+
localVarQueryParameter['limit'] = limit;
|
|
7062
|
+
}
|
|
7063
|
+
if (skip !== undefined) {
|
|
7064
|
+
localVarQueryParameter['skip'] = skip;
|
|
7065
|
+
}
|
|
7066
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7067
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7068
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7069
|
+
return {
|
|
7070
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7071
|
+
options: localVarRequestOptions,
|
|
7072
|
+
};
|
|
7073
|
+
}),
|
|
6977
7074
|
/**
|
|
6978
7075
|
*
|
|
6979
7076
|
* @summary Récupère la ville de l\'utilisateur connecté
|
|
@@ -7120,6 +7217,38 @@ const UserProfileApiAxiosParamCreator = function (configuration) {
|
|
|
7120
7217
|
options: localVarRequestOptions,
|
|
7121
7218
|
};
|
|
7122
7219
|
}),
|
|
7220
|
+
/**
|
|
7221
|
+
*
|
|
7222
|
+
* @summary Retire un joueur des favoris de l\'utilisateur connecté
|
|
7223
|
+
* @param {string} favoritePlayerId ID du joueur à retirer des favoris
|
|
7224
|
+
* @param {*} [options] Override http request option.
|
|
7225
|
+
* @throws {RequiredError}
|
|
7226
|
+
*/
|
|
7227
|
+
removeFavoritePlayer: (favoritePlayerId_1, ...args_1) => __awaiter(this, [favoritePlayerId_1, ...args_1], void 0, function* (favoritePlayerId, options = {}) {
|
|
7228
|
+
// verify required parameter 'favoritePlayerId' is not null or undefined
|
|
7229
|
+
(0, common_1.assertParamExists)('removeFavoritePlayer', 'favoritePlayerId', favoritePlayerId);
|
|
7230
|
+
const localVarPath = `/api/users/me/favoritesPlayers/{favoritePlayerId}`
|
|
7231
|
+
.replace(`{${"favoritePlayerId"}}`, encodeURIComponent(String(favoritePlayerId)));
|
|
7232
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7233
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7234
|
+
let baseOptions;
|
|
7235
|
+
if (configuration) {
|
|
7236
|
+
baseOptions = configuration.baseOptions;
|
|
7237
|
+
}
|
|
7238
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7239
|
+
const localVarHeaderParameter = {};
|
|
7240
|
+
const localVarQueryParameter = {};
|
|
7241
|
+
// authentication bearerAuth required
|
|
7242
|
+
// http bearer authentication required
|
|
7243
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7246
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7247
|
+
return {
|
|
7248
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7249
|
+
options: localVarRequestOptions,
|
|
7250
|
+
};
|
|
7251
|
+
}),
|
|
7123
7252
|
/**
|
|
7124
7253
|
*
|
|
7125
7254
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
@@ -7344,6 +7473,22 @@ const UserProfileApiFp = function (configuration) {
|
|
|
7344
7473
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7345
7474
|
});
|
|
7346
7475
|
},
|
|
7476
|
+
/**
|
|
7477
|
+
*
|
|
7478
|
+
* @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
|
|
7479
|
+
* @param {AddFavoritePlayerRequestBody} addFavoritePlayerRequestBody
|
|
7480
|
+
* @param {*} [options] Override http request option.
|
|
7481
|
+
* @throws {RequiredError}
|
|
7482
|
+
*/
|
|
7483
|
+
addFavoritePlayer(addFavoritePlayerRequestBody, options) {
|
|
7484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7485
|
+
var _a, _b, _c;
|
|
7486
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addFavoritePlayer(addFavoritePlayerRequestBody, options);
|
|
7487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7488
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.addFavoritePlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7489
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7490
|
+
});
|
|
7491
|
+
},
|
|
7347
7492
|
/**
|
|
7348
7493
|
*
|
|
7349
7494
|
* @summary Modifie le mot de passe de l\'utilisateur connecté
|
|
@@ -7393,6 +7538,21 @@ const UserProfileApiFp = function (configuration) {
|
|
|
7393
7538
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7394
7539
|
});
|
|
7395
7540
|
},
|
|
7541
|
+
/**
|
|
7542
|
+
*
|
|
7543
|
+
* @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
|
|
7544
|
+
* @param {*} [options] Override http request option.
|
|
7545
|
+
* @throws {RequiredError}
|
|
7546
|
+
*/
|
|
7547
|
+
getFavoritesPlayers(options) {
|
|
7548
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7549
|
+
var _a, _b, _c;
|
|
7550
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFavoritesPlayers(options);
|
|
7551
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7552
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getFavoritesPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7553
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7554
|
+
});
|
|
7555
|
+
},
|
|
7396
7556
|
/**
|
|
7397
7557
|
*
|
|
7398
7558
|
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
@@ -7438,6 +7598,23 @@ const UserProfileApiFp = function (configuration) {
|
|
|
7438
7598
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7439
7599
|
});
|
|
7440
7600
|
},
|
|
7601
|
+
/**
|
|
7602
|
+
*
|
|
7603
|
+
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
7604
|
+
* @param {number} [limit] Nombre maximum de réservations à retourner
|
|
7605
|
+
* @param {number} [skip] Nombre de réservations à ignorer (pagination)
|
|
7606
|
+
* @param {*} [options] Override http request option.
|
|
7607
|
+
* @throws {RequiredError}
|
|
7608
|
+
*/
|
|
7609
|
+
getUserBookings(limit, skip, options) {
|
|
7610
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7611
|
+
var _a, _b, _c;
|
|
7612
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserBookings(limit, skip, options);
|
|
7613
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7614
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.getUserBookings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7615
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7616
|
+
});
|
|
7617
|
+
},
|
|
7441
7618
|
/**
|
|
7442
7619
|
*
|
|
7443
7620
|
* @summary Récupère la ville de l\'utilisateur connecté
|
|
@@ -7514,6 +7691,22 @@ const UserProfileApiFp = function (configuration) {
|
|
|
7514
7691
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7515
7692
|
});
|
|
7516
7693
|
},
|
|
7694
|
+
/**
|
|
7695
|
+
*
|
|
7696
|
+
* @summary Retire un joueur des favoris de l\'utilisateur connecté
|
|
7697
|
+
* @param {string} favoritePlayerId ID du joueur à retirer des favoris
|
|
7698
|
+
* @param {*} [options] Override http request option.
|
|
7699
|
+
* @throws {RequiredError}
|
|
7700
|
+
*/
|
|
7701
|
+
removeFavoritePlayer(favoritePlayerId, options) {
|
|
7702
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7703
|
+
var _a, _b, _c;
|
|
7704
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeFavoritePlayer(favoritePlayerId, options);
|
|
7705
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7706
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserProfileApi.removeFavoritePlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7707
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7708
|
+
});
|
|
7709
|
+
},
|
|
7517
7710
|
/**
|
|
7518
7711
|
*
|
|
7519
7712
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
@@ -7630,6 +7823,16 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
7630
7823
|
addFavoriteClub(requestParameters, options) {
|
|
7631
7824
|
return localVarFp.addFavoriteClub(requestParameters.addFavoriteClubRequestBody, options).then((request) => request(axios, basePath));
|
|
7632
7825
|
},
|
|
7826
|
+
/**
|
|
7827
|
+
*
|
|
7828
|
+
* @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
|
|
7829
|
+
* @param {UserProfileApiAddFavoritePlayerRequest} requestParameters Request parameters.
|
|
7830
|
+
* @param {*} [options] Override http request option.
|
|
7831
|
+
* @throws {RequiredError}
|
|
7832
|
+
*/
|
|
7833
|
+
addFavoritePlayer(requestParameters, options) {
|
|
7834
|
+
return localVarFp.addFavoritePlayer(requestParameters.addFavoritePlayerRequestBody, options).then((request) => request(axios, basePath));
|
|
7835
|
+
},
|
|
7633
7836
|
/**
|
|
7634
7837
|
*
|
|
7635
7838
|
* @summary Modifie le mot de passe de l\'utilisateur connecté
|
|
@@ -7659,6 +7862,15 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
7659
7862
|
getFavoriteClubs(options) {
|
|
7660
7863
|
return localVarFp.getFavoriteClubs(options).then((request) => request(axios, basePath));
|
|
7661
7864
|
},
|
|
7865
|
+
/**
|
|
7866
|
+
*
|
|
7867
|
+
* @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
|
|
7868
|
+
* @param {*} [options] Override http request option.
|
|
7869
|
+
* @throws {RequiredError}
|
|
7870
|
+
*/
|
|
7871
|
+
getFavoritesPlayers(options) {
|
|
7872
|
+
return localVarFp.getFavoritesPlayers(options).then((request) => request(axios, basePath));
|
|
7873
|
+
},
|
|
7662
7874
|
/**
|
|
7663
7875
|
*
|
|
7664
7876
|
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
@@ -7686,6 +7898,16 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
7686
7898
|
getProfilePicture(options) {
|
|
7687
7899
|
return localVarFp.getProfilePicture(options).then((request) => request(axios, basePath));
|
|
7688
7900
|
},
|
|
7901
|
+
/**
|
|
7902
|
+
*
|
|
7903
|
+
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
7904
|
+
* @param {UserProfileApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
7905
|
+
* @param {*} [options] Override http request option.
|
|
7906
|
+
* @throws {RequiredError}
|
|
7907
|
+
*/
|
|
7908
|
+
getUserBookings(requestParameters = {}, options) {
|
|
7909
|
+
return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
|
|
7910
|
+
},
|
|
7689
7911
|
/**
|
|
7690
7912
|
*
|
|
7691
7913
|
* @summary Récupère la ville de l\'utilisateur connecté
|
|
@@ -7732,6 +7954,16 @@ const UserProfileApiFactory = function (configuration, basePath, axios) {
|
|
|
7732
7954
|
removeFavoriteClub(requestParameters, options) {
|
|
7733
7955
|
return localVarFp.removeFavoriteClub(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
7734
7956
|
},
|
|
7957
|
+
/**
|
|
7958
|
+
*
|
|
7959
|
+
* @summary Retire un joueur des favoris de l\'utilisateur connecté
|
|
7960
|
+
* @param {UserProfileApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
|
|
7961
|
+
* @param {*} [options] Override http request option.
|
|
7962
|
+
* @throws {RequiredError}
|
|
7963
|
+
*/
|
|
7964
|
+
removeFavoritePlayer(requestParameters, options) {
|
|
7965
|
+
return localVarFp.removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(axios, basePath));
|
|
7966
|
+
},
|
|
7735
7967
|
/**
|
|
7736
7968
|
*
|
|
7737
7969
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
|
@@ -7813,6 +8045,17 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
7813
8045
|
addFavoriteClub(requestParameters, options) {
|
|
7814
8046
|
return (0, exports.UserProfileApiFp)(this.configuration).addFavoriteClub(requestParameters.addFavoriteClubRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
7815
8047
|
}
|
|
8048
|
+
/**
|
|
8049
|
+
*
|
|
8050
|
+
* @summary Ajoute un joueur aux favoris de l\'utilisateur connecté
|
|
8051
|
+
* @param {UserProfileApiAddFavoritePlayerRequest} requestParameters Request parameters.
|
|
8052
|
+
* @param {*} [options] Override http request option.
|
|
8053
|
+
* @throws {RequiredError}
|
|
8054
|
+
* @memberof UserProfileApi
|
|
8055
|
+
*/
|
|
8056
|
+
addFavoritePlayer(requestParameters, options) {
|
|
8057
|
+
return (0, exports.UserProfileApiFp)(this.configuration).addFavoritePlayer(requestParameters.addFavoritePlayerRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8058
|
+
}
|
|
7816
8059
|
/**
|
|
7817
8060
|
*
|
|
7818
8061
|
* @summary Modifie le mot de passe de l\'utilisateur connecté
|
|
@@ -7845,6 +8088,16 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
7845
8088
|
getFavoriteClubs(options) {
|
|
7846
8089
|
return (0, exports.UserProfileApiFp)(this.configuration).getFavoriteClubs(options).then((request) => request(this.axios, this.basePath));
|
|
7847
8090
|
}
|
|
8091
|
+
/**
|
|
8092
|
+
*
|
|
8093
|
+
* @summary Récupère les joueurs favoris (profils visibles) de l\'utilisateur connecté
|
|
8094
|
+
* @param {*} [options] Override http request option.
|
|
8095
|
+
* @throws {RequiredError}
|
|
8096
|
+
* @memberof UserProfileApi
|
|
8097
|
+
*/
|
|
8098
|
+
getFavoritesPlayers(options) {
|
|
8099
|
+
return (0, exports.UserProfileApiFp)(this.configuration).getFavoritesPlayers(options).then((request) => request(this.axios, this.basePath));
|
|
8100
|
+
}
|
|
7848
8101
|
/**
|
|
7849
8102
|
*
|
|
7850
8103
|
* @summary Joueurs avec lesquels l\'utilisateur a le plus joué (profils visibles)
|
|
@@ -7875,6 +8128,17 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
7875
8128
|
getProfilePicture(options) {
|
|
7876
8129
|
return (0, exports.UserProfileApiFp)(this.configuration).getProfilePicture(options).then((request) => request(this.axios, this.basePath));
|
|
7877
8130
|
}
|
|
8131
|
+
/**
|
|
8132
|
+
*
|
|
8133
|
+
* @summary Récupère toutes les réservations de l\'utilisateur connecté (triées par date de création décroissante)
|
|
8134
|
+
* @param {UserProfileApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
8135
|
+
* @param {*} [options] Override http request option.
|
|
8136
|
+
* @throws {RequiredError}
|
|
8137
|
+
* @memberof UserProfileApi
|
|
8138
|
+
*/
|
|
8139
|
+
getUserBookings(requestParameters = {}, options) {
|
|
8140
|
+
return (0, exports.UserProfileApiFp)(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
|
|
8141
|
+
}
|
|
7878
8142
|
/**
|
|
7879
8143
|
*
|
|
7880
8144
|
* @summary Récupère la ville de l\'utilisateur connecté
|
|
@@ -7926,6 +8190,17 @@ class UserProfileApi extends base_1.BaseAPI {
|
|
|
7926
8190
|
removeFavoriteClub(requestParameters, options) {
|
|
7927
8191
|
return (0, exports.UserProfileApiFp)(this.configuration).removeFavoriteClub(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
7928
8192
|
}
|
|
8193
|
+
/**
|
|
8194
|
+
*
|
|
8195
|
+
* @summary Retire un joueur des favoris de l\'utilisateur connecté
|
|
8196
|
+
* @param {UserProfileApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
|
|
8197
|
+
* @param {*} [options] Override http request option.
|
|
8198
|
+
* @throws {RequiredError}
|
|
8199
|
+
* @memberof UserProfileApi
|
|
8200
|
+
*/
|
|
8201
|
+
removeFavoritePlayer(requestParameters, options) {
|
|
8202
|
+
return (0, exports.UserProfileApiFp)(this.configuration).removeFavoritePlayer(requestParameters.favoritePlayerId, options).then((request) => request(this.axios, this.basePath));
|
|
8203
|
+
}
|
|
7929
8204
|
/**
|
|
7930
8205
|
*
|
|
7931
8206
|
* @summary Met à jour le tableau levelBySports de l\'utilisateur connecté
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
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/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
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).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
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/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Pandook API
|
|
6
6
|
* API for managing pickle ball games and players
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
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).
|
package/dist/configuration.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.
|
|
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/configuration.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.
|
|
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).
|