@tennac-booking/sdk 1.0.69 → 1.0.70
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 +5 -2
- package/README.md +6 -2
- package/api.ts +483 -54
- package/dist/api.d.ts +397 -48
- package/dist/api.js +115 -13
- package/dist/esm/api.d.ts +397 -48
- package/dist/esm/api.js +114 -12
- package/docs/BookingDetailResponse.md +1 -1
- package/docs/{BookingHistory.md → BookingHistoryPopulated.md} +4 -4
- package/docs/BookingPopulated.md +27 -7
- package/docs/BookingStatus.md +1 -1
- package/docs/BookingSummary.md +1 -1
- package/docs/BookingsApi.md +81 -2
- package/docs/BookingsStaffApi.md +2 -2
- package/docs/QuickReservationClubSummary.md +28 -0
- package/docs/QuickReservationClubSummaryLocation.md +31 -0
- package/docs/QuickReservationResponse.md +22 -0
- package/docs/QuickReservationSlotSummary.md +42 -0
- package/docs/UserInfo.md +4 -0
- package/docs/UsersApi.md +0 -3
- package/package.json +1 -1
- package/docs/BookingSummaryBookingHistory.md +0 -18
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.IUserLocationTypeEnum = exports.Gender = exports.DiscountType = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.
|
|
25
|
+
exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.IUserLocationTypeEnum = exports.Gender = exports.DiscountType = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
26
|
exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = void 0;
|
|
27
27
|
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsStaffApi = exports.SportsStaffApiFactory = exports.SportsStaffApiFp = exports.SportsStaffApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
@@ -31,7 +31,7 @@ const axios_1 = require("axios");
|
|
|
31
31
|
const common_1 = require("./common");
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
const base_1 = require("./base");
|
|
34
|
-
exports.
|
|
34
|
+
exports.BookingHistoryPopulatedPerformedByTypeEnum = {
|
|
35
35
|
User: 'user',
|
|
36
36
|
Manager: 'manager',
|
|
37
37
|
System: 'system'
|
|
@@ -45,7 +45,7 @@ exports.BookingStatus = {
|
|
|
45
45
|
Paid: 'paid',
|
|
46
46
|
Active: 'active',
|
|
47
47
|
Pending: 'pending',
|
|
48
|
-
|
|
48
|
+
ActivePaymentsTimeout: 'active_payments_timeout',
|
|
49
49
|
Canceled: 'canceled',
|
|
50
50
|
NoShow: 'no-show'
|
|
51
51
|
};
|
|
@@ -300,6 +300,70 @@ const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
300
300
|
options: localVarRequestOptions,
|
|
301
301
|
};
|
|
302
302
|
}),
|
|
303
|
+
/**
|
|
304
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
305
|
+
* @param {number} [latitude]
|
|
306
|
+
* @param {number} [longitude]
|
|
307
|
+
* @param {number} [radiusInKm]
|
|
308
|
+
* @param {string} [date]
|
|
309
|
+
* @param {string} [sportId]
|
|
310
|
+
* @param {string} [startTime]
|
|
311
|
+
* @param {number} [priceMax]
|
|
312
|
+
* @param {string} [courtTypes]
|
|
313
|
+
* @param {number} [limitPerClub]
|
|
314
|
+
* @param {number} [maxClubs]
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
getQuickReservationSlots: (latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, limitPerClub_1, maxClubs_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, date_1, sportId_1, startTime_1, priceMax_1, courtTypes_1, limitPerClub_1, maxClubs_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options = {}) {
|
|
319
|
+
const localVarPath = `/api/bookings/quick-reservations`;
|
|
320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
322
|
+
let baseOptions;
|
|
323
|
+
if (configuration) {
|
|
324
|
+
baseOptions = configuration.baseOptions;
|
|
325
|
+
}
|
|
326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
327
|
+
const localVarHeaderParameter = {};
|
|
328
|
+
const localVarQueryParameter = {};
|
|
329
|
+
if (latitude !== undefined) {
|
|
330
|
+
localVarQueryParameter['latitude'] = latitude;
|
|
331
|
+
}
|
|
332
|
+
if (longitude !== undefined) {
|
|
333
|
+
localVarQueryParameter['longitude'] = longitude;
|
|
334
|
+
}
|
|
335
|
+
if (radiusInKm !== undefined) {
|
|
336
|
+
localVarQueryParameter['radiusInKm'] = radiusInKm;
|
|
337
|
+
}
|
|
338
|
+
if (date !== undefined) {
|
|
339
|
+
localVarQueryParameter['date'] = date;
|
|
340
|
+
}
|
|
341
|
+
if (sportId !== undefined) {
|
|
342
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
343
|
+
}
|
|
344
|
+
if (startTime !== undefined) {
|
|
345
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
346
|
+
}
|
|
347
|
+
if (priceMax !== undefined) {
|
|
348
|
+
localVarQueryParameter['priceMax'] = priceMax;
|
|
349
|
+
}
|
|
350
|
+
if (courtTypes !== undefined) {
|
|
351
|
+
localVarQueryParameter['courtTypes'] = courtTypes;
|
|
352
|
+
}
|
|
353
|
+
if (limitPerClub !== undefined) {
|
|
354
|
+
localVarQueryParameter['limitPerClub'] = limitPerClub;
|
|
355
|
+
}
|
|
356
|
+
if (maxClubs !== undefined) {
|
|
357
|
+
localVarQueryParameter['maxClubs'] = maxClubs;
|
|
358
|
+
}
|
|
359
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
361
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
362
|
+
return {
|
|
363
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
364
|
+
options: localVarRequestOptions,
|
|
365
|
+
};
|
|
366
|
+
}),
|
|
303
367
|
};
|
|
304
368
|
};
|
|
305
369
|
exports.BookingsApiAxiosParamCreator = BookingsApiAxiosParamCreator;
|
|
@@ -325,6 +389,30 @@ const BookingsApiFp = function (configuration) {
|
|
|
325
389
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
326
390
|
});
|
|
327
391
|
},
|
|
392
|
+
/**
|
|
393
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
394
|
+
* @param {number} [latitude]
|
|
395
|
+
* @param {number} [longitude]
|
|
396
|
+
* @param {number} [radiusInKm]
|
|
397
|
+
* @param {string} [date]
|
|
398
|
+
* @param {string} [sportId]
|
|
399
|
+
* @param {string} [startTime]
|
|
400
|
+
* @param {number} [priceMax]
|
|
401
|
+
* @param {string} [courtTypes]
|
|
402
|
+
* @param {number} [limitPerClub]
|
|
403
|
+
* @param {number} [maxClubs]
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options) {
|
|
408
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
409
|
+
var _a, _b, _c;
|
|
410
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuickReservationSlots(latitude, longitude, radiusInKm, date, sportId, startTime, priceMax, courtTypes, limitPerClub, maxClubs, options);
|
|
411
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
412
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.getQuickReservationSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
413
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
414
|
+
});
|
|
415
|
+
},
|
|
328
416
|
};
|
|
329
417
|
};
|
|
330
418
|
exports.BookingsApiFp = BookingsApiFp;
|
|
@@ -344,6 +432,15 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
344
432
|
getBookingHistory(requestParameters, options) {
|
|
345
433
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
346
434
|
},
|
|
435
|
+
/**
|
|
436
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
437
|
+
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
getQuickReservationSlots(requestParameters = {}, options) {
|
|
442
|
+
return localVarFp.getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(axios, basePath));
|
|
443
|
+
},
|
|
347
444
|
};
|
|
348
445
|
};
|
|
349
446
|
exports.BookingsApiFactory = BookingsApiFactory;
|
|
@@ -364,6 +461,16 @@ class BookingsApi extends base_1.BaseAPI {
|
|
|
364
461
|
getBookingHistory(requestParameters, options) {
|
|
365
462
|
return (0, exports.BookingsApiFp)(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
366
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
466
|
+
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
* @memberof BookingsApi
|
|
470
|
+
*/
|
|
471
|
+
getQuickReservationSlots(requestParameters = {}, options) {
|
|
472
|
+
return (0, exports.BookingsApiFp)(this.configuration).getQuickReservationSlots(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.date, requestParameters.sportId, requestParameters.startTime, requestParameters.priceMax, requestParameters.courtTypes, requestParameters.limitPerClub, requestParameters.maxClubs, options).then((request) => request(this.axios, this.basePath));
|
|
473
|
+
}
|
|
367
474
|
}
|
|
368
475
|
exports.BookingsApi = BookingsApi;
|
|
369
476
|
/**
|
|
@@ -7556,14 +7663,13 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7556
7663
|
* @param {string} [sportLevels]
|
|
7557
7664
|
* @param {number} [limit]
|
|
7558
7665
|
* @param {number} [offset]
|
|
7559
|
-
* @param {boolean} [useLocation]
|
|
7560
7666
|
* @param {number} [latitude]
|
|
7561
7667
|
* @param {number} [longitude]
|
|
7562
7668
|
* @param {number} [radiusInKm]
|
|
7563
7669
|
* @param {*} [options] Override http request option.
|
|
7564
7670
|
* @throws {RequiredError}
|
|
7565
7671
|
*/
|
|
7566
|
-
listPlayers: (category_1, search_1, gender_1, sharedClub_1, sportLevels_1, limit_1, offset_1,
|
|
7672
|
+
listPlayers: (category_1, search_1, gender_1, sharedClub_1, sportLevels_1, limit_1, offset_1, latitude_1, longitude_1, radiusInKm_1, ...args_1) => __awaiter(this, [category_1, search_1, gender_1, sharedClub_1, sportLevels_1, limit_1, offset_1, latitude_1, longitude_1, radiusInKm_1, ...args_1], void 0, function* (category, search, gender, sharedClub, sportLevels, limit, offset, latitude, longitude, radiusInKm, options = {}) {
|
|
7567
7673
|
const localVarPath = `/api/users/players`;
|
|
7568
7674
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7569
7675
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7598,9 +7704,6 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7598
7704
|
if (offset !== undefined) {
|
|
7599
7705
|
localVarQueryParameter['offset'] = offset;
|
|
7600
7706
|
}
|
|
7601
|
-
if (useLocation !== undefined) {
|
|
7602
|
-
localVarQueryParameter['useLocation'] = useLocation;
|
|
7603
|
-
}
|
|
7604
7707
|
if (latitude !== undefined) {
|
|
7605
7708
|
localVarQueryParameter['latitude'] = latitude;
|
|
7606
7709
|
}
|
|
@@ -8452,17 +8555,16 @@ const UsersApiFp = function (configuration) {
|
|
|
8452
8555
|
* @param {string} [sportLevels]
|
|
8453
8556
|
* @param {number} [limit]
|
|
8454
8557
|
* @param {number} [offset]
|
|
8455
|
-
* @param {boolean} [useLocation]
|
|
8456
8558
|
* @param {number} [latitude]
|
|
8457
8559
|
* @param {number} [longitude]
|
|
8458
8560
|
* @param {number} [radiusInKm]
|
|
8459
8561
|
* @param {*} [options] Override http request option.
|
|
8460
8562
|
* @throws {RequiredError}
|
|
8461
8563
|
*/
|
|
8462
|
-
listPlayers(category, search, gender, sharedClub, sportLevels, limit, offset,
|
|
8564
|
+
listPlayers(category, search, gender, sharedClub, sportLevels, limit, offset, latitude, longitude, radiusInKm, options) {
|
|
8463
8565
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8464
8566
|
var _a, _b, _c;
|
|
8465
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlayers(category, search, gender, sharedClub, sportLevels, limit, offset,
|
|
8567
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlayers(category, search, gender, sharedClub, sportLevels, limit, offset, latitude, longitude, radiusInKm, options);
|
|
8466
8568
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8467
8569
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.listPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8468
8570
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8912,7 +9014,7 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8912
9014
|
* @throws {RequiredError}
|
|
8913
9015
|
*/
|
|
8914
9016
|
listPlayers(requestParameters = {}, options) {
|
|
8915
|
-
return localVarFp.listPlayers(requestParameters.category, requestParameters.search, requestParameters.gender, requestParameters.sharedClub, requestParameters.sportLevels, requestParameters.limit, requestParameters.offset, requestParameters.
|
|
9017
|
+
return localVarFp.listPlayers(requestParameters.category, requestParameters.search, requestParameters.gender, requestParameters.sharedClub, requestParameters.sportLevels, requestParameters.limit, requestParameters.offset, requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, options).then((request) => request(axios, basePath));
|
|
8916
9018
|
},
|
|
8917
9019
|
/**
|
|
8918
9020
|
*
|
|
@@ -9277,7 +9379,7 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
9277
9379
|
* @memberof UsersApi
|
|
9278
9380
|
*/
|
|
9279
9381
|
listPlayers(requestParameters = {}, options) {
|
|
9280
|
-
return (0, exports.UsersApiFp)(this.configuration).listPlayers(requestParameters.category, requestParameters.search, requestParameters.gender, requestParameters.sharedClub, requestParameters.sportLevels, requestParameters.limit, requestParameters.offset, requestParameters.
|
|
9382
|
+
return (0, exports.UsersApiFp)(this.configuration).listPlayers(requestParameters.category, requestParameters.search, requestParameters.gender, requestParameters.sharedClub, requestParameters.sportLevels, requestParameters.limit, requestParameters.offset, requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, options).then((request) => request(this.axios, this.basePath));
|
|
9281
9383
|
}
|
|
9282
9384
|
/**
|
|
9283
9385
|
*
|