@tennac-booking/sdk 1.0.67 → 1.0.69
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 +4 -0
- package/README.md +9 -3
- package/api.ts +411 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +275 -4
- package/dist/api.js +191 -6
- 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 +275 -4
- package/dist/esm/api.js +188 -3
- 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/BookingStatus.md +2 -2
- package/docs/BookingsStaffApi.md +1 -1
- package/docs/ClubResponse.md +2 -0
- package/docs/CourtResponse.md +4 -0
- package/docs/CreateBookingRequest.md +2 -0
- package/docs/PartialClubResponse.md +2 -0
- package/docs/PlayerCategoriesResponse.md +20 -0
- package/docs/PlayerCategory.md +26 -0
- package/docs/PlayerCategoryId.md +16 -0
- package/docs/PlayerListResponse.md +26 -0
- package/docs/UserProfileResponse.md +2 -0
- package/docs/UsersApi.md +125 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.68
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
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 = void 0;
|
|
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.BookingHistoryPerformedByTypeEnum = void 0;
|
|
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
|
+
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");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -42,8 +42,8 @@ exports.BookingHistoryPerformedByTypeEnum = {
|
|
|
42
42
|
* @enum {string}
|
|
43
43
|
*/
|
|
44
44
|
exports.BookingStatus = {
|
|
45
|
+
Paid: 'paid',
|
|
45
46
|
Active: 'active',
|
|
46
|
-
Past: 'past',
|
|
47
47
|
Pending: 'pending',
|
|
48
48
|
Expired: 'expired',
|
|
49
49
|
Canceled: 'canceled',
|
|
@@ -121,6 +121,18 @@ exports.PlanInterval = {
|
|
|
121
121
|
Trimester: 'trimester',
|
|
122
122
|
Semester: 'semester'
|
|
123
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @export
|
|
127
|
+
* @enum {string}
|
|
128
|
+
*/
|
|
129
|
+
exports.PlayerCategoryId = {
|
|
130
|
+
SameLevel: 'same-level',
|
|
131
|
+
MutualConnections: 'mutual-connections',
|
|
132
|
+
ClubMembers: 'club-members',
|
|
133
|
+
MostActive: 'most-active',
|
|
134
|
+
Nearby: 'nearby'
|
|
135
|
+
};
|
|
124
136
|
exports.RegisterRequestBodyLocationTypeEnum = {
|
|
125
137
|
Point: 'Point'
|
|
126
138
|
};
|
|
@@ -610,7 +622,7 @@ const BookingsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
610
622
|
getBookingHistoryStaff: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
|
|
611
623
|
// verify required parameter 'bookingId' is not null or undefined
|
|
612
624
|
(0, common_1.assertParamExists)('getBookingHistoryStaff', 'bookingId', bookingId);
|
|
613
|
-
const localVarPath = `/api/bookings/staff/{bookingId}`
|
|
625
|
+
const localVarPath = `/api/bookings/staff/history{bookingId}`
|
|
614
626
|
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
615
627
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
616
628
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7442,6 +7454,33 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7442
7454
|
options: localVarRequestOptions,
|
|
7443
7455
|
};
|
|
7444
7456
|
}),
|
|
7457
|
+
/**
|
|
7458
|
+
*
|
|
7459
|
+
* @param {*} [options] Override http request option.
|
|
7460
|
+
* @throws {RequiredError}
|
|
7461
|
+
*/
|
|
7462
|
+
getPlayerCategories: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7463
|
+
const localVarPath = `/api/users/players/categories`;
|
|
7464
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7465
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7466
|
+
let baseOptions;
|
|
7467
|
+
if (configuration) {
|
|
7468
|
+
baseOptions = configuration.baseOptions;
|
|
7469
|
+
}
|
|
7470
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7471
|
+
const localVarHeaderParameter = {};
|
|
7472
|
+
const localVarQueryParameter = {};
|
|
7473
|
+
// authentication bearerAuth required
|
|
7474
|
+
// http bearer authentication required
|
|
7475
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7476
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7477
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7478
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7479
|
+
return {
|
|
7480
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7481
|
+
options: localVarRequestOptions,
|
|
7482
|
+
};
|
|
7483
|
+
}),
|
|
7445
7484
|
/**
|
|
7446
7485
|
*
|
|
7447
7486
|
* @param {number} [limit]
|
|
@@ -7508,6 +7547,77 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7508
7547
|
options: localVarRequestOptions,
|
|
7509
7548
|
};
|
|
7510
7549
|
}),
|
|
7550
|
+
/**
|
|
7551
|
+
*
|
|
7552
|
+
* @param {PlayerCategoryId} [category]
|
|
7553
|
+
* @param {string} [search]
|
|
7554
|
+
* @param {string} [gender]
|
|
7555
|
+
* @param {boolean} [sharedClub]
|
|
7556
|
+
* @param {string} [sportLevels]
|
|
7557
|
+
* @param {number} [limit]
|
|
7558
|
+
* @param {number} [offset]
|
|
7559
|
+
* @param {boolean} [useLocation]
|
|
7560
|
+
* @param {number} [latitude]
|
|
7561
|
+
* @param {number} [longitude]
|
|
7562
|
+
* @param {number} [radiusInKm]
|
|
7563
|
+
* @param {*} [options] Override http request option.
|
|
7564
|
+
* @throws {RequiredError}
|
|
7565
|
+
*/
|
|
7566
|
+
listPlayers: (category_1, search_1, gender_1, sharedClub_1, sportLevels_1, limit_1, offset_1, useLocation_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, useLocation_1, latitude_1, longitude_1, radiusInKm_1, ...args_1], void 0, function* (category, search, gender, sharedClub, sportLevels, limit, offset, useLocation, latitude, longitude, radiusInKm, options = {}) {
|
|
7567
|
+
const localVarPath = `/api/users/players`;
|
|
7568
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7569
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7570
|
+
let baseOptions;
|
|
7571
|
+
if (configuration) {
|
|
7572
|
+
baseOptions = configuration.baseOptions;
|
|
7573
|
+
}
|
|
7574
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7575
|
+
const localVarHeaderParameter = {};
|
|
7576
|
+
const localVarQueryParameter = {};
|
|
7577
|
+
// authentication bearerAuth required
|
|
7578
|
+
// http bearer authentication required
|
|
7579
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7580
|
+
if (category !== undefined) {
|
|
7581
|
+
localVarQueryParameter['category'] = category;
|
|
7582
|
+
}
|
|
7583
|
+
if (search !== undefined) {
|
|
7584
|
+
localVarQueryParameter['search'] = search;
|
|
7585
|
+
}
|
|
7586
|
+
if (gender !== undefined) {
|
|
7587
|
+
localVarQueryParameter['gender'] = gender;
|
|
7588
|
+
}
|
|
7589
|
+
if (sharedClub !== undefined) {
|
|
7590
|
+
localVarQueryParameter['sharedClub'] = sharedClub;
|
|
7591
|
+
}
|
|
7592
|
+
if (sportLevels !== undefined) {
|
|
7593
|
+
localVarQueryParameter['sportLevels'] = sportLevels;
|
|
7594
|
+
}
|
|
7595
|
+
if (limit !== undefined) {
|
|
7596
|
+
localVarQueryParameter['limit'] = limit;
|
|
7597
|
+
}
|
|
7598
|
+
if (offset !== undefined) {
|
|
7599
|
+
localVarQueryParameter['offset'] = offset;
|
|
7600
|
+
}
|
|
7601
|
+
if (useLocation !== undefined) {
|
|
7602
|
+
localVarQueryParameter['useLocation'] = useLocation;
|
|
7603
|
+
}
|
|
7604
|
+
if (latitude !== undefined) {
|
|
7605
|
+
localVarQueryParameter['latitude'] = latitude;
|
|
7606
|
+
}
|
|
7607
|
+
if (longitude !== undefined) {
|
|
7608
|
+
localVarQueryParameter['longitude'] = longitude;
|
|
7609
|
+
}
|
|
7610
|
+
if (radiusInKm !== undefined) {
|
|
7611
|
+
localVarQueryParameter['radiusInKm'] = radiusInKm;
|
|
7612
|
+
}
|
|
7613
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7614
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7615
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7616
|
+
return {
|
|
7617
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7618
|
+
options: localVarRequestOptions,
|
|
7619
|
+
};
|
|
7620
|
+
}),
|
|
7511
7621
|
/**
|
|
7512
7622
|
*
|
|
7513
7623
|
* @param {LoginRequestBody} loginRequestBody
|
|
@@ -8288,6 +8398,20 @@ const UsersApiFp = function (configuration) {
|
|
|
8288
8398
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8289
8399
|
});
|
|
8290
8400
|
},
|
|
8401
|
+
/**
|
|
8402
|
+
*
|
|
8403
|
+
* @param {*} [options] Override http request option.
|
|
8404
|
+
* @throws {RequiredError}
|
|
8405
|
+
*/
|
|
8406
|
+
getPlayerCategories(options) {
|
|
8407
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8408
|
+
var _a, _b, _c;
|
|
8409
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPlayerCategories(options);
|
|
8410
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8411
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.getPlayerCategories']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8412
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8413
|
+
});
|
|
8414
|
+
},
|
|
8291
8415
|
/**
|
|
8292
8416
|
*
|
|
8293
8417
|
* @param {number} [limit]
|
|
@@ -8319,6 +8443,31 @@ const UsersApiFp = function (configuration) {
|
|
|
8319
8443
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8320
8444
|
});
|
|
8321
8445
|
},
|
|
8446
|
+
/**
|
|
8447
|
+
*
|
|
8448
|
+
* @param {PlayerCategoryId} [category]
|
|
8449
|
+
* @param {string} [search]
|
|
8450
|
+
* @param {string} [gender]
|
|
8451
|
+
* @param {boolean} [sharedClub]
|
|
8452
|
+
* @param {string} [sportLevels]
|
|
8453
|
+
* @param {number} [limit]
|
|
8454
|
+
* @param {number} [offset]
|
|
8455
|
+
* @param {boolean} [useLocation]
|
|
8456
|
+
* @param {number} [latitude]
|
|
8457
|
+
* @param {number} [longitude]
|
|
8458
|
+
* @param {number} [radiusInKm]
|
|
8459
|
+
* @param {*} [options] Override http request option.
|
|
8460
|
+
* @throws {RequiredError}
|
|
8461
|
+
*/
|
|
8462
|
+
listPlayers(category, search, gender, sharedClub, sportLevels, limit, offset, useLocation, latitude, longitude, radiusInKm, options) {
|
|
8463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8464
|
+
var _a, _b, _c;
|
|
8465
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlayers(category, search, gender, sharedClub, sportLevels, limit, offset, useLocation, latitude, longitude, radiusInKm, options);
|
|
8466
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8467
|
+
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
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8469
|
+
});
|
|
8470
|
+
},
|
|
8322
8471
|
/**
|
|
8323
8472
|
*
|
|
8324
8473
|
* @param {LoginRequestBody} loginRequestBody
|
|
@@ -8730,6 +8879,14 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8730
8879
|
getNearestUsersFromCoordinates(requestParameters = {}, options) {
|
|
8731
8880
|
return localVarFp.getNearestUsersFromCoordinates(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
8732
8881
|
},
|
|
8882
|
+
/**
|
|
8883
|
+
*
|
|
8884
|
+
* @param {*} [options] Override http request option.
|
|
8885
|
+
* @throws {RequiredError}
|
|
8886
|
+
*/
|
|
8887
|
+
getPlayerCategories(options) {
|
|
8888
|
+
return localVarFp.getPlayerCategories(options).then((request) => request(axios, basePath));
|
|
8889
|
+
},
|
|
8733
8890
|
/**
|
|
8734
8891
|
*
|
|
8735
8892
|
* @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
@@ -8748,6 +8905,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8748
8905
|
getUserProfileById(requestParameters, options) {
|
|
8749
8906
|
return localVarFp.getUserProfileById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
8750
8907
|
},
|
|
8908
|
+
/**
|
|
8909
|
+
*
|
|
8910
|
+
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|
|
8911
|
+
* @param {*} [options] Override http request option.
|
|
8912
|
+
* @throws {RequiredError}
|
|
8913
|
+
*/
|
|
8914
|
+
listPlayers(requestParameters = {}, options) {
|
|
8915
|
+
return localVarFp.listPlayers(requestParameters.category, requestParameters.search, requestParameters.gender, requestParameters.sharedClub, requestParameters.sportLevels, requestParameters.limit, requestParameters.offset, requestParameters.useLocation, requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, options).then((request) => request(axios, basePath));
|
|
8916
|
+
},
|
|
8751
8917
|
/**
|
|
8752
8918
|
*
|
|
8753
8919
|
* @param {UsersApiLoginRequest} requestParameters Request parameters.
|
|
@@ -9074,6 +9240,15 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
9074
9240
|
getNearestUsersFromCoordinates(requestParameters = {}, options) {
|
|
9075
9241
|
return (0, exports.UsersApiFp)(this.configuration).getNearestUsersFromCoordinates(requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
9076
9242
|
}
|
|
9243
|
+
/**
|
|
9244
|
+
*
|
|
9245
|
+
* @param {*} [options] Override http request option.
|
|
9246
|
+
* @throws {RequiredError}
|
|
9247
|
+
* @memberof UsersApi
|
|
9248
|
+
*/
|
|
9249
|
+
getPlayerCategories(options) {
|
|
9250
|
+
return (0, exports.UsersApiFp)(this.configuration).getPlayerCategories(options).then((request) => request(this.axios, this.basePath));
|
|
9251
|
+
}
|
|
9077
9252
|
/**
|
|
9078
9253
|
*
|
|
9079
9254
|
* @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
@@ -9094,6 +9269,16 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
9094
9269
|
getUserProfileById(requestParameters, options) {
|
|
9095
9270
|
return (0, exports.UsersApiFp)(this.configuration).getUserProfileById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9096
9271
|
}
|
|
9272
|
+
/**
|
|
9273
|
+
*
|
|
9274
|
+
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|
|
9275
|
+
* @param {*} [options] Override http request option.
|
|
9276
|
+
* @throws {RequiredError}
|
|
9277
|
+
* @memberof UsersApi
|
|
9278
|
+
*/
|
|
9279
|
+
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.useLocation, requestParameters.latitude, requestParameters.longitude, requestParameters.radiusInKm, options).then((request) => request(this.axios, this.basePath));
|
|
9281
|
+
}
|
|
9097
9282
|
/**
|
|
9098
9283
|
*
|
|
9099
9284
|
* @param {UsersApiLoginRequest} requestParameters Request parameters.
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED