@tennac-booking/sdk 1.0.109 → 1.0.110
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 +292 -292
- package/README.md +20 -25
- package/api.ts +952 -1663
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +563 -953
- package/dist/api.js +509 -1063
- 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 +563 -953
- package/dist/esm/api.js +501 -1051
- 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/CheckInEventParticipants200Response.md +22 -0
- package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
- package/docs/{ClientRegisterResponse.md → CheckInEventParticipantsRequest.md} +5 -7
- package/docs/ClientApi.md +59 -4
- package/docs/{ClientAccountOnboardingResponse.md → ClientFullOnboardingResponse.md} +7 -11
- package/docs/ClientFullOnboardingResponseClub.md +24 -0
- package/docs/ClientRegister201Response.md +26 -0
- package/docs/{ClientRegisterRequestBody.md → ClientRegisterRequest.md} +7 -7
- package/docs/ClubPlayerDetailResponse.md +0 -2
- package/docs/ClubSummary.md +2 -8
- package/docs/ClubsStaffApi.md +59 -55
- package/docs/CreateEventRequest.md +1 -3
- package/docs/CreateOnsiteInvoiceRequest.md +28 -0
- package/docs/CreateOnsiteInvoiceResponse.md +22 -0
- package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
- package/docs/EventConflictCheckRequest.md +28 -0
- package/docs/EventConflictCheckResponse.md +26 -0
- package/docs/EventsManagerApi.md +114 -0
- package/docs/EventsStaffApi.md +20 -159
- package/docs/JoinEventRequest.md +8 -0
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +22 -0
- package/docs/PaymentMethod.md +4 -0
- package/docs/PublishEventResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ActiveSubscriptionResponse.md +0 -22
- package/docs/ClientAccountOnboardingRequest.md +0 -29
- package/docs/ClientAccountResponse.md +0 -44
- package/docs/ClientAccountsApi.md +0 -408
- package/docs/ClientMeResponse.md +0 -28
- package/docs/ClientOnboardingResponse.md +0 -27
- package/docs/ClientSubscriptionResponse.md +0 -34
- package/docs/GetSubscriptionsHistory200Response.md +0 -22
- package/docs/UpdateUserCreditsRequest.md +0 -20
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.110
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,10 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = 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.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.InvoiceStatus = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.
|
|
26
|
-
exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = 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 = exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi =
|
|
25
|
+
exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = 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.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.InvoiceStatus = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = 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 = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = 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 = void 0;
|
|
27
|
+
exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = 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.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = 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 = void 0;
|
|
28
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -59,14 +59,6 @@ exports.CaptureResultStatusEnum = {
|
|
|
59
59
|
Captured: 'captured',
|
|
60
60
|
Failed: 'failed'
|
|
61
61
|
};
|
|
62
|
-
exports.ClientAccountOnboardingRequestBusinessTypeEnum = {
|
|
63
|
-
Individual: 'individual',
|
|
64
|
-
Company: 'company'
|
|
65
|
-
};
|
|
66
|
-
exports.ClientAccountOnboardingRequestSubscriptionTypeEnum = {
|
|
67
|
-
Basic: 'basic',
|
|
68
|
-
PlatformWithConnect: 'platform_with_connect'
|
|
69
|
-
};
|
|
70
62
|
exports.ClubRoleResponseRoleEnum = {
|
|
71
63
|
Admin: 'admin',
|
|
72
64
|
Manager: 'manager',
|
|
@@ -171,6 +163,8 @@ exports.InvoiceStatus = {
|
|
|
171
163
|
exports.PaymentMethod = {
|
|
172
164
|
Online: 'online',
|
|
173
165
|
Onsite: 'onsite',
|
|
166
|
+
OnsiteCard: 'onsite_card',
|
|
167
|
+
OnsiteCash: 'onsite_cash',
|
|
174
168
|
Free: 'free'
|
|
175
169
|
};
|
|
176
170
|
/**
|
|
@@ -1425,6 +1419,35 @@ exports.BookingsUserApi = BookingsUserApi;
|
|
|
1425
1419
|
*/
|
|
1426
1420
|
const ClientApiAxiosParamCreator = function (configuration) {
|
|
1427
1421
|
return {
|
|
1422
|
+
/**
|
|
1423
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1424
|
+
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
1425
|
+
* @param {*} [options] Override http request option.
|
|
1426
|
+
* @throws {RequiredError}
|
|
1427
|
+
*/
|
|
1428
|
+
clientRegister: (clientRegisterRequest_1, ...args_1) => __awaiter(this, [clientRegisterRequest_1, ...args_1], void 0, function* (clientRegisterRequest, options = {}) {
|
|
1429
|
+
// verify required parameter 'clientRegisterRequest' is not null or undefined
|
|
1430
|
+
(0, common_1.assertParamExists)('clientRegister', 'clientRegisterRequest', clientRegisterRequest);
|
|
1431
|
+
const localVarPath = `/clients/register`;
|
|
1432
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1433
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1434
|
+
let baseOptions;
|
|
1435
|
+
if (configuration) {
|
|
1436
|
+
baseOptions = configuration.baseOptions;
|
|
1437
|
+
}
|
|
1438
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1439
|
+
const localVarHeaderParameter = {};
|
|
1440
|
+
const localVarQueryParameter = {};
|
|
1441
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1442
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1444
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1445
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clientRegisterRequest, localVarRequestOptions, configuration);
|
|
1446
|
+
return {
|
|
1447
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1448
|
+
options: localVarRequestOptions,
|
|
1449
|
+
};
|
|
1450
|
+
}),
|
|
1428
1451
|
/**
|
|
1429
1452
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1430
1453
|
* @param {*} [options] Override http request option.
|
|
@@ -1453,7 +1476,7 @@ const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
1453
1476
|
};
|
|
1454
1477
|
}),
|
|
1455
1478
|
/**
|
|
1456
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1479
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1457
1480
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
1458
1481
|
* @param {*} [options] Override http request option.
|
|
1459
1482
|
* @throws {RequiredError}
|
|
@@ -1471,6 +1494,9 @@ const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
1471
1494
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1472
1495
|
const localVarHeaderParameter = {};
|
|
1473
1496
|
const localVarQueryParameter = {};
|
|
1497
|
+
// authentication clientAuth required
|
|
1498
|
+
// http bearer authentication required
|
|
1499
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1474
1500
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1475
1501
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1476
1502
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1491,6 +1517,21 @@ exports.ClientApiAxiosParamCreator = ClientApiAxiosParamCreator;
|
|
|
1491
1517
|
const ClientApiFp = function (configuration) {
|
|
1492
1518
|
const localVarAxiosParamCreator = (0, exports.ClientApiAxiosParamCreator)(configuration);
|
|
1493
1519
|
return {
|
|
1520
|
+
/**
|
|
1521
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1522
|
+
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
*/
|
|
1526
|
+
clientRegister(clientRegisterRequest, options) {
|
|
1527
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1528
|
+
var _a, _b, _c;
|
|
1529
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.clientRegister(clientRegisterRequest, options);
|
|
1530
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1531
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientApi.clientRegister']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1532
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1533
|
+
});
|
|
1534
|
+
},
|
|
1494
1535
|
/**
|
|
1495
1536
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1496
1537
|
* @param {*} [options] Override http request option.
|
|
@@ -1506,7 +1547,7 @@ const ClientApiFp = function (configuration) {
|
|
|
1506
1547
|
});
|
|
1507
1548
|
},
|
|
1508
1549
|
/**
|
|
1509
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1550
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1510
1551
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
1511
1552
|
* @param {*} [options] Override http request option.
|
|
1512
1553
|
* @throws {RequiredError}
|
|
@@ -1530,6 +1571,15 @@ exports.ClientApiFp = ClientApiFp;
|
|
|
1530
1571
|
const ClientApiFactory = function (configuration, basePath, axios) {
|
|
1531
1572
|
const localVarFp = (0, exports.ClientApiFp)(configuration);
|
|
1532
1573
|
return {
|
|
1574
|
+
/**
|
|
1575
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1576
|
+
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
1577
|
+
* @param {*} [options] Override http request option.
|
|
1578
|
+
* @throws {RequiredError}
|
|
1579
|
+
*/
|
|
1580
|
+
clientRegister(requestParameters, options) {
|
|
1581
|
+
return localVarFp.clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(axios, basePath));
|
|
1582
|
+
},
|
|
1533
1583
|
/**
|
|
1534
1584
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1535
1585
|
* @param {*} [options] Override http request option.
|
|
@@ -1539,7 +1589,7 @@ const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1539
1589
|
return localVarFp.getManagedClubs(options).then((request) => request(axios, basePath));
|
|
1540
1590
|
},
|
|
1541
1591
|
/**
|
|
1542
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1592
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1543
1593
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
1544
1594
|
* @param {*} [options] Override http request option.
|
|
1545
1595
|
* @throws {RequiredError}
|
|
@@ -1557,6 +1607,16 @@ exports.ClientApiFactory = ClientApiFactory;
|
|
|
1557
1607
|
* @extends {BaseAPI}
|
|
1558
1608
|
*/
|
|
1559
1609
|
class ClientApi extends base_1.BaseAPI {
|
|
1610
|
+
/**
|
|
1611
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1612
|
+
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
1613
|
+
* @param {*} [options] Override http request option.
|
|
1614
|
+
* @throws {RequiredError}
|
|
1615
|
+
* @memberof ClientApi
|
|
1616
|
+
*/
|
|
1617
|
+
clientRegister(requestParameters, options) {
|
|
1618
|
+
return (0, exports.ClientApiFp)(this.configuration).clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1619
|
+
}
|
|
1560
1620
|
/**
|
|
1561
1621
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1562
1622
|
* @param {*} [options] Override http request option.
|
|
@@ -1567,7 +1627,7 @@ class ClientApi extends base_1.BaseAPI {
|
|
|
1567
1627
|
return (0, exports.ClientApiFp)(this.configuration).getManagedClubs(options).then((request) => request(this.axios, this.basePath));
|
|
1568
1628
|
}
|
|
1569
1629
|
/**
|
|
1570
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1630
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1571
1631
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
1572
1632
|
* @param {*} [options] Override http request option.
|
|
1573
1633
|
* @throws {RequiredError}
|
|
@@ -1579,18 +1639,18 @@ class ClientApi extends base_1.BaseAPI {
|
|
|
1579
1639
|
}
|
|
1580
1640
|
exports.ClientApi = ClientApi;
|
|
1581
1641
|
/**
|
|
1582
|
-
*
|
|
1642
|
+
* ClubAnalyticsApi - axios parameter creator
|
|
1583
1643
|
* @export
|
|
1584
1644
|
*/
|
|
1585
|
-
const
|
|
1645
|
+
const ClubAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
1586
1646
|
return {
|
|
1587
1647
|
/**
|
|
1588
|
-
*
|
|
1648
|
+
* Récupère les clubs les plus aimés
|
|
1589
1649
|
* @param {*} [options] Override http request option.
|
|
1590
1650
|
* @throws {RequiredError}
|
|
1591
1651
|
*/
|
|
1592
|
-
|
|
1593
|
-
const localVarPath = `/
|
|
1652
|
+
getMostLikedClub: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1653
|
+
const localVarPath = `/api/club-analytics/most-liked-clubs`;
|
|
1594
1654
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1595
1655
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1596
1656
|
let baseOptions;
|
|
@@ -1600,7 +1660,7 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1600
1660
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1601
1661
|
const localVarHeaderParameter = {};
|
|
1602
1662
|
const localVarQueryParameter = {};
|
|
1603
|
-
// authentication
|
|
1663
|
+
// authentication bearerAuth required
|
|
1604
1664
|
// http bearer authentication required
|
|
1605
1665
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1606
1666
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1612,16 +1672,12 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1612
1672
|
};
|
|
1613
1673
|
}),
|
|
1614
1674
|
/**
|
|
1615
|
-
* Récupère
|
|
1616
|
-
* @param {string} accountId L\'ID du compte client
|
|
1675
|
+
* Récupère les clubs populaires
|
|
1617
1676
|
* @param {*} [options] Override http request option.
|
|
1618
1677
|
* @throws {RequiredError}
|
|
1619
1678
|
*/
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
(0, common_1.assertParamExists)('getClientAccountById', 'accountId', accountId);
|
|
1623
|
-
const localVarPath = `/client-accounts/{accountId}`
|
|
1624
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
1679
|
+
getPopularClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1680
|
+
const localVarPath = `/api/club-analytics/popular-clubs`;
|
|
1625
1681
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1626
1682
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1627
1683
|
let baseOptions;
|
|
@@ -1642,13 +1698,117 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1642
1698
|
options: localVarRequestOptions,
|
|
1643
1699
|
};
|
|
1644
1700
|
}),
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1703
|
+
exports.ClubAnalyticsApiAxiosParamCreator = ClubAnalyticsApiAxiosParamCreator;
|
|
1704
|
+
/**
|
|
1705
|
+
* ClubAnalyticsApi - functional programming interface
|
|
1706
|
+
* @export
|
|
1707
|
+
*/
|
|
1708
|
+
const ClubAnalyticsApiFp = function (configuration) {
|
|
1709
|
+
const localVarAxiosParamCreator = (0, exports.ClubAnalyticsApiAxiosParamCreator)(configuration);
|
|
1710
|
+
return {
|
|
1711
|
+
/**
|
|
1712
|
+
* Récupère les clubs les plus aimés
|
|
1713
|
+
* @param {*} [options] Override http request option.
|
|
1714
|
+
* @throws {RequiredError}
|
|
1715
|
+
*/
|
|
1716
|
+
getMostLikedClub(options) {
|
|
1717
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1718
|
+
var _a, _b, _c;
|
|
1719
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMostLikedClub(options);
|
|
1720
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1721
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsApi.getMostLikedClub']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1722
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1723
|
+
});
|
|
1724
|
+
},
|
|
1725
|
+
/**
|
|
1726
|
+
* Récupère les clubs populaires
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
*/
|
|
1730
|
+
getPopularClubs(options) {
|
|
1731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1732
|
+
var _a, _b, _c;
|
|
1733
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPopularClubs(options);
|
|
1734
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1735
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsApi.getPopularClubs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1736
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1737
|
+
});
|
|
1738
|
+
},
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
exports.ClubAnalyticsApiFp = ClubAnalyticsApiFp;
|
|
1742
|
+
/**
|
|
1743
|
+
* ClubAnalyticsApi - factory interface
|
|
1744
|
+
* @export
|
|
1745
|
+
*/
|
|
1746
|
+
const ClubAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
1747
|
+
const localVarFp = (0, exports.ClubAnalyticsApiFp)(configuration);
|
|
1748
|
+
return {
|
|
1749
|
+
/**
|
|
1750
|
+
* Récupère les clubs les plus aimés
|
|
1751
|
+
* @param {*} [options] Override http request option.
|
|
1752
|
+
* @throws {RequiredError}
|
|
1753
|
+
*/
|
|
1754
|
+
getMostLikedClub(options) {
|
|
1755
|
+
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
1756
|
+
},
|
|
1757
|
+
/**
|
|
1758
|
+
* Récupère les clubs populaires
|
|
1759
|
+
* @param {*} [options] Override http request option.
|
|
1760
|
+
* @throws {RequiredError}
|
|
1761
|
+
*/
|
|
1762
|
+
getPopularClubs(options) {
|
|
1763
|
+
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
1764
|
+
},
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
exports.ClubAnalyticsApiFactory = ClubAnalyticsApiFactory;
|
|
1768
|
+
/**
|
|
1769
|
+
* ClubAnalyticsApi - object-oriented interface
|
|
1770
|
+
* @export
|
|
1771
|
+
* @class ClubAnalyticsApi
|
|
1772
|
+
* @extends {BaseAPI}
|
|
1773
|
+
*/
|
|
1774
|
+
class ClubAnalyticsApi extends base_1.BaseAPI {
|
|
1775
|
+
/**
|
|
1776
|
+
* Récupère les clubs les plus aimés
|
|
1777
|
+
* @param {*} [options] Override http request option.
|
|
1778
|
+
* @throws {RequiredError}
|
|
1779
|
+
* @memberof ClubAnalyticsApi
|
|
1780
|
+
*/
|
|
1781
|
+
getMostLikedClub(options) {
|
|
1782
|
+
return (0, exports.ClubAnalyticsApiFp)(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
1783
|
+
}
|
|
1784
|
+
/**
|
|
1785
|
+
* Récupère les clubs populaires
|
|
1786
|
+
* @param {*} [options] Override http request option.
|
|
1787
|
+
* @throws {RequiredError}
|
|
1788
|
+
* @memberof ClubAnalyticsApi
|
|
1789
|
+
*/
|
|
1790
|
+
getPopularClubs(options) {
|
|
1791
|
+
return (0, exports.ClubAnalyticsApiFp)(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
exports.ClubAnalyticsApi = ClubAnalyticsApi;
|
|
1795
|
+
/**
|
|
1796
|
+
* ClubAnalyticsStaffApi - axios parameter creator
|
|
1797
|
+
* @export
|
|
1798
|
+
*/
|
|
1799
|
+
const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
1800
|
+
return {
|
|
1645
1801
|
/**
|
|
1646
|
-
* Récupère
|
|
1802
|
+
* Récupère les analytics par sport
|
|
1803
|
+
* @param {string} sportId
|
|
1647
1804
|
* @param {*} [options] Override http request option.
|
|
1648
1805
|
* @throws {RequiredError}
|
|
1649
1806
|
*/
|
|
1650
|
-
|
|
1651
|
-
|
|
1807
|
+
getAnalyticsBySport: (sportId_1, ...args_1) => __awaiter(this, [sportId_1, ...args_1], void 0, function* (sportId, options = {}) {
|
|
1808
|
+
// verify required parameter 'sportId' is not null or undefined
|
|
1809
|
+
(0, common_1.assertParamExists)('getAnalyticsBySport', 'sportId', sportId);
|
|
1810
|
+
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
1811
|
+
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
1652
1812
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1653
1813
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1654
1814
|
let baseOptions;
|
|
@@ -1670,12 +1830,18 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1670
1830
|
};
|
|
1671
1831
|
}),
|
|
1672
1832
|
/**
|
|
1673
|
-
* Récupère
|
|
1833
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1834
|
+
* @param {string} playerId
|
|
1835
|
+
* @param {number} [page]
|
|
1836
|
+
* @param {number} [pageSize]
|
|
1674
1837
|
* @param {*} [options] Override http request option.
|
|
1675
1838
|
* @throws {RequiredError}
|
|
1676
1839
|
*/
|
|
1677
|
-
|
|
1678
|
-
|
|
1840
|
+
getClubPlayerBookingsById: (playerId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [playerId_1, page_1, pageSize_1, ...args_1], void 0, function* (playerId, page, pageSize, options = {}) {
|
|
1841
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
1842
|
+
(0, common_1.assertParamExists)('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1843
|
+
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
1844
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1679
1845
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1680
1846
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1681
1847
|
let baseOptions;
|
|
@@ -1688,6 +1854,12 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1688
1854
|
// authentication bearerAuth required
|
|
1689
1855
|
// http bearer authentication required
|
|
1690
1856
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1857
|
+
if (page !== undefined) {
|
|
1858
|
+
localVarQueryParameter['page'] = page;
|
|
1859
|
+
}
|
|
1860
|
+
if (pageSize !== undefined) {
|
|
1861
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1862
|
+
}
|
|
1691
1863
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1692
1864
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1693
1865
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1697,12 +1869,16 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1697
1869
|
};
|
|
1698
1870
|
}),
|
|
1699
1871
|
/**
|
|
1700
|
-
* Récupère
|
|
1872
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1873
|
+
* @param {string} playerId
|
|
1701
1874
|
* @param {*} [options] Override http request option.
|
|
1702
1875
|
* @throws {RequiredError}
|
|
1703
1876
|
*/
|
|
1704
|
-
|
|
1705
|
-
|
|
1877
|
+
getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1878
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
1879
|
+
(0, common_1.assertParamExists)('getClubPlayerById', 'playerId', playerId);
|
|
1880
|
+
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
1881
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1706
1882
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1707
1883
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1708
1884
|
let baseOptions;
|
|
@@ -1724,12 +1900,16 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1724
1900
|
};
|
|
1725
1901
|
}),
|
|
1726
1902
|
/**
|
|
1727
|
-
*
|
|
1903
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
1904
|
+
* @param {string} playerId
|
|
1728
1905
|
* @param {*} [options] Override http request option.
|
|
1729
1906
|
* @throws {RequiredError}
|
|
1730
1907
|
*/
|
|
1731
|
-
|
|
1732
|
-
|
|
1908
|
+
getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1909
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
1910
|
+
(0, common_1.assertParamExists)('getClubPlayerStatisticsById', 'playerId', playerId);
|
|
1911
|
+
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
1912
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1733
1913
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1734
1914
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1735
1915
|
let baseOptions;
|
|
@@ -1751,738 +1931,96 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1751
1931
|
};
|
|
1752
1932
|
}),
|
|
1753
1933
|
/**
|
|
1754
|
-
*
|
|
1755
|
-
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
1934
|
+
* Récupère la liste des joueurs du club
|
|
1756
1935
|
* @param {*} [options] Override http request option.
|
|
1757
1936
|
* @throws {RequiredError}
|
|
1758
1937
|
*/
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
(0, common_1.assertParamExists)('onboardClientAccount', 'clientAccountOnboardingRequest', clientAccountOnboardingRequest);
|
|
1762
|
-
const localVarPath = `/client-accounts/onboarding`;
|
|
1938
|
+
getClubPlayers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1939
|
+
const localVarPath = `/api/club-analytics/players`;
|
|
1763
1940
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1764
1941
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1765
1942
|
let baseOptions;
|
|
1766
1943
|
if (configuration) {
|
|
1767
1944
|
baseOptions = configuration.baseOptions;
|
|
1768
1945
|
}
|
|
1769
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1946
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1770
1947
|
const localVarHeaderParameter = {};
|
|
1771
1948
|
const localVarQueryParameter = {};
|
|
1772
|
-
// authentication
|
|
1949
|
+
// authentication bearerAuth required
|
|
1773
1950
|
// http bearer authentication required
|
|
1774
1951
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1775
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1776
1952
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1777
1953
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1778
1954
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1779
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clientAccountOnboardingRequest, localVarRequestOptions, configuration);
|
|
1780
1955
|
return {
|
|
1781
1956
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1782
1957
|
options: localVarRequestOptions,
|
|
1783
1958
|
};
|
|
1784
1959
|
}),
|
|
1785
1960
|
/**
|
|
1786
|
-
*
|
|
1787
|
-
* @param {
|
|
1961
|
+
* Récupère le chiffre d\'affaires quotidien
|
|
1962
|
+
* @param {string} date
|
|
1788
1963
|
* @param {*} [options] Override http request option.
|
|
1789
1964
|
* @throws {RequiredError}
|
|
1790
1965
|
*/
|
|
1791
|
-
|
|
1792
|
-
// verify required parameter '
|
|
1793
|
-
(0, common_1.assertParamExists)('
|
|
1794
|
-
const localVarPath = `/
|
|
1966
|
+
getDailyTurnOver: (date_1, ...args_1) => __awaiter(this, [date_1, ...args_1], void 0, function* (date, options = {}) {
|
|
1967
|
+
// verify required parameter 'date' is not null or undefined
|
|
1968
|
+
(0, common_1.assertParamExists)('getDailyTurnOver', 'date', date);
|
|
1969
|
+
const localVarPath = `/api/club-analytics/daily-turnover`;
|
|
1795
1970
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1796
1971
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1797
1972
|
let baseOptions;
|
|
1798
1973
|
if (configuration) {
|
|
1799
1974
|
baseOptions = configuration.baseOptions;
|
|
1800
1975
|
}
|
|
1801
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1976
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1802
1977
|
const localVarHeaderParameter = {};
|
|
1803
1978
|
const localVarQueryParameter = {};
|
|
1804
|
-
|
|
1979
|
+
// authentication bearerAuth required
|
|
1980
|
+
// http bearer authentication required
|
|
1981
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1982
|
+
if (date !== undefined) {
|
|
1983
|
+
localVarQueryParameter['date'] = date;
|
|
1984
|
+
}
|
|
1805
1985
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1806
1986
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1807
1987
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1808
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clientRegisterRequestBody, localVarRequestOptions, configuration);
|
|
1809
1988
|
return {
|
|
1810
1989
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1811
1990
|
options: localVarRequestOptions,
|
|
1812
1991
|
};
|
|
1813
1992
|
}),
|
|
1814
|
-
};
|
|
1815
|
-
};
|
|
1816
|
-
exports.ClientAccountsApiAxiosParamCreator = ClientAccountsApiAxiosParamCreator;
|
|
1817
|
-
/**
|
|
1818
|
-
* ClientAccountsApi - functional programming interface
|
|
1819
|
-
* @export
|
|
1820
|
-
*/
|
|
1821
|
-
const ClientAccountsApiFp = function (configuration) {
|
|
1822
|
-
const localVarAxiosParamCreator = (0, exports.ClientAccountsApiAxiosParamCreator)(configuration);
|
|
1823
|
-
return {
|
|
1824
1993
|
/**
|
|
1825
|
-
*
|
|
1994
|
+
* Récupère les pourcentages par genre
|
|
1826
1995
|
* @param {*} [options] Override http request option.
|
|
1827
1996
|
* @throws {RequiredError}
|
|
1828
1997
|
*/
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1998
|
+
getGenderPercentage: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1999
|
+
const localVarPath = `/api/club-analytics/gender-percentage`;
|
|
2000
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2001
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2002
|
+
let baseOptions;
|
|
2003
|
+
if (configuration) {
|
|
2004
|
+
baseOptions = configuration.baseOptions;
|
|
2005
|
+
}
|
|
2006
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2007
|
+
const localVarHeaderParameter = {};
|
|
2008
|
+
const localVarQueryParameter = {};
|
|
2009
|
+
// authentication bearerAuth required
|
|
2010
|
+
// http bearer authentication required
|
|
2011
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2012
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2013
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2014
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2015
|
+
return {
|
|
2016
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2017
|
+
options: localVarRequestOptions,
|
|
2018
|
+
};
|
|
2019
|
+
}),
|
|
1838
2020
|
/**
|
|
1839
|
-
* Récupère le
|
|
1840
|
-
* @param {string}
|
|
1841
|
-
* @param {
|
|
1842
|
-
* @throws {RequiredError}
|
|
1843
|
-
*/
|
|
1844
|
-
getClientAccountById(accountId, options) {
|
|
1845
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1846
|
-
var _a, _b, _c;
|
|
1847
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClientAccountById(accountId, options);
|
|
1848
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1849
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.getClientAccountById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1850
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1851
|
-
});
|
|
1852
|
-
},
|
|
1853
|
-
/**
|
|
1854
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
1855
|
-
* @param {*} [options] Override http request option.
|
|
1856
|
-
* @throws {RequiredError}
|
|
1857
|
-
*/
|
|
1858
|
-
getMyActiveSubscription(options) {
|
|
1859
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1860
|
-
var _a, _b, _c;
|
|
1861
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyActiveSubscription(options);
|
|
1862
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1863
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.getMyActiveSubscription']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1864
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1865
|
-
});
|
|
1866
|
-
},
|
|
1867
|
-
/**
|
|
1868
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
1869
|
-
* @param {*} [options] Override http request option.
|
|
1870
|
-
* @throws {RequiredError}
|
|
1871
|
-
*/
|
|
1872
|
-
getMyClientAccount(options) {
|
|
1873
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1874
|
-
var _a, _b, _c;
|
|
1875
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMyClientAccount(options);
|
|
1876
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1877
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.getMyClientAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1878
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1879
|
-
});
|
|
1880
|
-
},
|
|
1881
|
-
/**
|
|
1882
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
1883
|
-
* @param {*} [options] Override http request option.
|
|
1884
|
-
* @throws {RequiredError}
|
|
1885
|
-
*/
|
|
1886
|
-
getSubscriptionsHistory(options) {
|
|
1887
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
|
-
var _a, _b, _c;
|
|
1889
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSubscriptionsHistory(options);
|
|
1890
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1891
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.getSubscriptionsHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1892
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1893
|
-
});
|
|
1894
|
-
},
|
|
1895
|
-
/**
|
|
1896
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
1897
|
-
* @param {*} [options] Override http request option.
|
|
1898
|
-
* @throws {RequiredError}
|
|
1899
|
-
*/
|
|
1900
|
-
listAvailablePrices(options) {
|
|
1901
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1902
|
-
var _a, _b, _c;
|
|
1903
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailablePrices(options);
|
|
1904
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1905
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.listAvailablePrices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1906
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1907
|
-
});
|
|
1908
|
-
},
|
|
1909
|
-
/**
|
|
1910
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
1911
|
-
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
1912
|
-
* @param {*} [options] Override http request option.
|
|
1913
|
-
* @throws {RequiredError}
|
|
1914
|
-
*/
|
|
1915
|
-
onboardClientAccount(clientAccountOnboardingRequest, options) {
|
|
1916
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1917
|
-
var _a, _b, _c;
|
|
1918
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.onboardClientAccount(clientAccountOnboardingRequest, options);
|
|
1919
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1920
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.onboardClientAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1921
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1922
|
-
});
|
|
1923
|
-
},
|
|
1924
|
-
/**
|
|
1925
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
1926
|
-
* @param {ClientRegisterRequestBody} clientRegisterRequestBody
|
|
1927
|
-
* @param {*} [options] Override http request option.
|
|
1928
|
-
* @throws {RequiredError}
|
|
1929
|
-
*/
|
|
1930
|
-
registerClientUser(clientRegisterRequestBody, options) {
|
|
1931
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1932
|
-
var _a, _b, _c;
|
|
1933
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.registerClientUser(clientRegisterRequestBody, options);
|
|
1934
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1935
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClientAccountsApi.registerClientUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1936
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1937
|
-
});
|
|
1938
|
-
},
|
|
1939
|
-
};
|
|
1940
|
-
};
|
|
1941
|
-
exports.ClientAccountsApiFp = ClientAccountsApiFp;
|
|
1942
|
-
/**
|
|
1943
|
-
* ClientAccountsApi - factory interface
|
|
1944
|
-
* @export
|
|
1945
|
-
*/
|
|
1946
|
-
const ClientAccountsApiFactory = function (configuration, basePath, axios) {
|
|
1947
|
-
const localVarFp = (0, exports.ClientAccountsApiFp)(configuration);
|
|
1948
|
-
return {
|
|
1949
|
-
/**
|
|
1950
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
1951
|
-
* @param {*} [options] Override http request option.
|
|
1952
|
-
* @throws {RequiredError}
|
|
1953
|
-
*/
|
|
1954
|
-
clientAuthMe(options) {
|
|
1955
|
-
return localVarFp.clientAuthMe(options).then((request) => request(axios, basePath));
|
|
1956
|
-
},
|
|
1957
|
-
/**
|
|
1958
|
-
* Récupère le compte client par son ID
|
|
1959
|
-
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
1960
|
-
* @param {*} [options] Override http request option.
|
|
1961
|
-
* @throws {RequiredError}
|
|
1962
|
-
*/
|
|
1963
|
-
getClientAccountById(requestParameters, options) {
|
|
1964
|
-
return localVarFp.getClientAccountById(requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
1965
|
-
},
|
|
1966
|
-
/**
|
|
1967
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
1968
|
-
* @param {*} [options] Override http request option.
|
|
1969
|
-
* @throws {RequiredError}
|
|
1970
|
-
*/
|
|
1971
|
-
getMyActiveSubscription(options) {
|
|
1972
|
-
return localVarFp.getMyActiveSubscription(options).then((request) => request(axios, basePath));
|
|
1973
|
-
},
|
|
1974
|
-
/**
|
|
1975
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
1976
|
-
* @param {*} [options] Override http request option.
|
|
1977
|
-
* @throws {RequiredError}
|
|
1978
|
-
*/
|
|
1979
|
-
getMyClientAccount(options) {
|
|
1980
|
-
return localVarFp.getMyClientAccount(options).then((request) => request(axios, basePath));
|
|
1981
|
-
},
|
|
1982
|
-
/**
|
|
1983
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
1984
|
-
* @param {*} [options] Override http request option.
|
|
1985
|
-
* @throws {RequiredError}
|
|
1986
|
-
*/
|
|
1987
|
-
getSubscriptionsHistory(options) {
|
|
1988
|
-
return localVarFp.getSubscriptionsHistory(options).then((request) => request(axios, basePath));
|
|
1989
|
-
},
|
|
1990
|
-
/**
|
|
1991
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
1992
|
-
* @param {*} [options] Override http request option.
|
|
1993
|
-
* @throws {RequiredError}
|
|
1994
|
-
*/
|
|
1995
|
-
listAvailablePrices(options) {
|
|
1996
|
-
return localVarFp.listAvailablePrices(options).then((request) => request(axios, basePath));
|
|
1997
|
-
},
|
|
1998
|
-
/**
|
|
1999
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
2000
|
-
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
2001
|
-
* @param {*} [options] Override http request option.
|
|
2002
|
-
* @throws {RequiredError}
|
|
2003
|
-
*/
|
|
2004
|
-
onboardClientAccount(requestParameters, options) {
|
|
2005
|
-
return localVarFp.onboardClientAccount(requestParameters.clientAccountOnboardingRequest, options).then((request) => request(axios, basePath));
|
|
2006
|
-
},
|
|
2007
|
-
/**
|
|
2008
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
2009
|
-
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
2010
|
-
* @param {*} [options] Override http request option.
|
|
2011
|
-
* @throws {RequiredError}
|
|
2012
|
-
*/
|
|
2013
|
-
registerClientUser(requestParameters, options) {
|
|
2014
|
-
return localVarFp.registerClientUser(requestParameters.clientRegisterRequestBody, options).then((request) => request(axios, basePath));
|
|
2015
|
-
},
|
|
2016
|
-
};
|
|
2017
|
-
};
|
|
2018
|
-
exports.ClientAccountsApiFactory = ClientAccountsApiFactory;
|
|
2019
|
-
/**
|
|
2020
|
-
* ClientAccountsApi - object-oriented interface
|
|
2021
|
-
* @export
|
|
2022
|
-
* @class ClientAccountsApi
|
|
2023
|
-
* @extends {BaseAPI}
|
|
2024
|
-
*/
|
|
2025
|
-
class ClientAccountsApi extends base_1.BaseAPI {
|
|
2026
|
-
/**
|
|
2027
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
2028
|
-
* @param {*} [options] Override http request option.
|
|
2029
|
-
* @throws {RequiredError}
|
|
2030
|
-
* @memberof ClientAccountsApi
|
|
2031
|
-
*/
|
|
2032
|
-
clientAuthMe(options) {
|
|
2033
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).clientAuthMe(options).then((request) => request(this.axios, this.basePath));
|
|
2034
|
-
}
|
|
2035
|
-
/**
|
|
2036
|
-
* Récupère le compte client par son ID
|
|
2037
|
-
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
2038
|
-
* @param {*} [options] Override http request option.
|
|
2039
|
-
* @throws {RequiredError}
|
|
2040
|
-
* @memberof ClientAccountsApi
|
|
2041
|
-
*/
|
|
2042
|
-
getClientAccountById(requestParameters, options) {
|
|
2043
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).getClientAccountById(requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
2044
|
-
}
|
|
2045
|
-
/**
|
|
2046
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
2047
|
-
* @param {*} [options] Override http request option.
|
|
2048
|
-
* @throws {RequiredError}
|
|
2049
|
-
* @memberof ClientAccountsApi
|
|
2050
|
-
*/
|
|
2051
|
-
getMyActiveSubscription(options) {
|
|
2052
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).getMyActiveSubscription(options).then((request) => request(this.axios, this.basePath));
|
|
2053
|
-
}
|
|
2054
|
-
/**
|
|
2055
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
2056
|
-
* @param {*} [options] Override http request option.
|
|
2057
|
-
* @throws {RequiredError}
|
|
2058
|
-
* @memberof ClientAccountsApi
|
|
2059
|
-
*/
|
|
2060
|
-
getMyClientAccount(options) {
|
|
2061
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).getMyClientAccount(options).then((request) => request(this.axios, this.basePath));
|
|
2062
|
-
}
|
|
2063
|
-
/**
|
|
2064
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
2065
|
-
* @param {*} [options] Override http request option.
|
|
2066
|
-
* @throws {RequiredError}
|
|
2067
|
-
* @memberof ClientAccountsApi
|
|
2068
|
-
*/
|
|
2069
|
-
getSubscriptionsHistory(options) {
|
|
2070
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).getSubscriptionsHistory(options).then((request) => request(this.axios, this.basePath));
|
|
2071
|
-
}
|
|
2072
|
-
/**
|
|
2073
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
2074
|
-
* @param {*} [options] Override http request option.
|
|
2075
|
-
* @throws {RequiredError}
|
|
2076
|
-
* @memberof ClientAccountsApi
|
|
2077
|
-
*/
|
|
2078
|
-
listAvailablePrices(options) {
|
|
2079
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).listAvailablePrices(options).then((request) => request(this.axios, this.basePath));
|
|
2080
|
-
}
|
|
2081
|
-
/**
|
|
2082
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
2083
|
-
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
2084
|
-
* @param {*} [options] Override http request option.
|
|
2085
|
-
* @throws {RequiredError}
|
|
2086
|
-
* @memberof ClientAccountsApi
|
|
2087
|
-
*/
|
|
2088
|
-
onboardClientAccount(requestParameters, options) {
|
|
2089
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).onboardClientAccount(requestParameters.clientAccountOnboardingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2090
|
-
}
|
|
2091
|
-
/**
|
|
2092
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
2093
|
-
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
2094
|
-
* @param {*} [options] Override http request option.
|
|
2095
|
-
* @throws {RequiredError}
|
|
2096
|
-
* @memberof ClientAccountsApi
|
|
2097
|
-
*/
|
|
2098
|
-
registerClientUser(requestParameters, options) {
|
|
2099
|
-
return (0, exports.ClientAccountsApiFp)(this.configuration).registerClientUser(requestParameters.clientRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2100
|
-
}
|
|
2101
|
-
}
|
|
2102
|
-
exports.ClientAccountsApi = ClientAccountsApi;
|
|
2103
|
-
/**
|
|
2104
|
-
* ClubAnalyticsApi - axios parameter creator
|
|
2105
|
-
* @export
|
|
2106
|
-
*/
|
|
2107
|
-
const ClubAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
2108
|
-
return {
|
|
2109
|
-
/**
|
|
2110
|
-
* Récupère les clubs les plus aimés
|
|
2111
|
-
* @param {*} [options] Override http request option.
|
|
2112
|
-
* @throws {RequiredError}
|
|
2113
|
-
*/
|
|
2114
|
-
getMostLikedClub: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2115
|
-
const localVarPath = `/api/club-analytics/most-liked-clubs`;
|
|
2116
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2117
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2118
|
-
let baseOptions;
|
|
2119
|
-
if (configuration) {
|
|
2120
|
-
baseOptions = configuration.baseOptions;
|
|
2121
|
-
}
|
|
2122
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2123
|
-
const localVarHeaderParameter = {};
|
|
2124
|
-
const localVarQueryParameter = {};
|
|
2125
|
-
// authentication bearerAuth required
|
|
2126
|
-
// http bearer authentication required
|
|
2127
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2128
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2129
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2130
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2131
|
-
return {
|
|
2132
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2133
|
-
options: localVarRequestOptions,
|
|
2134
|
-
};
|
|
2135
|
-
}),
|
|
2136
|
-
/**
|
|
2137
|
-
* Récupère les clubs populaires
|
|
2138
|
-
* @param {*} [options] Override http request option.
|
|
2139
|
-
* @throws {RequiredError}
|
|
2140
|
-
*/
|
|
2141
|
-
getPopularClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2142
|
-
const localVarPath = `/api/club-analytics/popular-clubs`;
|
|
2143
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2144
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2145
|
-
let baseOptions;
|
|
2146
|
-
if (configuration) {
|
|
2147
|
-
baseOptions = configuration.baseOptions;
|
|
2148
|
-
}
|
|
2149
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2150
|
-
const localVarHeaderParameter = {};
|
|
2151
|
-
const localVarQueryParameter = {};
|
|
2152
|
-
// authentication bearerAuth required
|
|
2153
|
-
// http bearer authentication required
|
|
2154
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2155
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2156
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2157
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2158
|
-
return {
|
|
2159
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2160
|
-
options: localVarRequestOptions,
|
|
2161
|
-
};
|
|
2162
|
-
}),
|
|
2163
|
-
};
|
|
2164
|
-
};
|
|
2165
|
-
exports.ClubAnalyticsApiAxiosParamCreator = ClubAnalyticsApiAxiosParamCreator;
|
|
2166
|
-
/**
|
|
2167
|
-
* ClubAnalyticsApi - functional programming interface
|
|
2168
|
-
* @export
|
|
2169
|
-
*/
|
|
2170
|
-
const ClubAnalyticsApiFp = function (configuration) {
|
|
2171
|
-
const localVarAxiosParamCreator = (0, exports.ClubAnalyticsApiAxiosParamCreator)(configuration);
|
|
2172
|
-
return {
|
|
2173
|
-
/**
|
|
2174
|
-
* Récupère les clubs les plus aimés
|
|
2175
|
-
* @param {*} [options] Override http request option.
|
|
2176
|
-
* @throws {RequiredError}
|
|
2177
|
-
*/
|
|
2178
|
-
getMostLikedClub(options) {
|
|
2179
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2180
|
-
var _a, _b, _c;
|
|
2181
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMostLikedClub(options);
|
|
2182
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2183
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsApi.getMostLikedClub']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2184
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2185
|
-
});
|
|
2186
|
-
},
|
|
2187
|
-
/**
|
|
2188
|
-
* Récupère les clubs populaires
|
|
2189
|
-
* @param {*} [options] Override http request option.
|
|
2190
|
-
* @throws {RequiredError}
|
|
2191
|
-
*/
|
|
2192
|
-
getPopularClubs(options) {
|
|
2193
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2194
|
-
var _a, _b, _c;
|
|
2195
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPopularClubs(options);
|
|
2196
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2197
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsApi.getPopularClubs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2198
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2199
|
-
});
|
|
2200
|
-
},
|
|
2201
|
-
};
|
|
2202
|
-
};
|
|
2203
|
-
exports.ClubAnalyticsApiFp = ClubAnalyticsApiFp;
|
|
2204
|
-
/**
|
|
2205
|
-
* ClubAnalyticsApi - factory interface
|
|
2206
|
-
* @export
|
|
2207
|
-
*/
|
|
2208
|
-
const ClubAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
2209
|
-
const localVarFp = (0, exports.ClubAnalyticsApiFp)(configuration);
|
|
2210
|
-
return {
|
|
2211
|
-
/**
|
|
2212
|
-
* Récupère les clubs les plus aimés
|
|
2213
|
-
* @param {*} [options] Override http request option.
|
|
2214
|
-
* @throws {RequiredError}
|
|
2215
|
-
*/
|
|
2216
|
-
getMostLikedClub(options) {
|
|
2217
|
-
return localVarFp.getMostLikedClub(options).then((request) => request(axios, basePath));
|
|
2218
|
-
},
|
|
2219
|
-
/**
|
|
2220
|
-
* Récupère les clubs populaires
|
|
2221
|
-
* @param {*} [options] Override http request option.
|
|
2222
|
-
* @throws {RequiredError}
|
|
2223
|
-
*/
|
|
2224
|
-
getPopularClubs(options) {
|
|
2225
|
-
return localVarFp.getPopularClubs(options).then((request) => request(axios, basePath));
|
|
2226
|
-
},
|
|
2227
|
-
};
|
|
2228
|
-
};
|
|
2229
|
-
exports.ClubAnalyticsApiFactory = ClubAnalyticsApiFactory;
|
|
2230
|
-
/**
|
|
2231
|
-
* ClubAnalyticsApi - object-oriented interface
|
|
2232
|
-
* @export
|
|
2233
|
-
* @class ClubAnalyticsApi
|
|
2234
|
-
* @extends {BaseAPI}
|
|
2235
|
-
*/
|
|
2236
|
-
class ClubAnalyticsApi extends base_1.BaseAPI {
|
|
2237
|
-
/**
|
|
2238
|
-
* Récupère les clubs les plus aimés
|
|
2239
|
-
* @param {*} [options] Override http request option.
|
|
2240
|
-
* @throws {RequiredError}
|
|
2241
|
-
* @memberof ClubAnalyticsApi
|
|
2242
|
-
*/
|
|
2243
|
-
getMostLikedClub(options) {
|
|
2244
|
-
return (0, exports.ClubAnalyticsApiFp)(this.configuration).getMostLikedClub(options).then((request) => request(this.axios, this.basePath));
|
|
2245
|
-
}
|
|
2246
|
-
/**
|
|
2247
|
-
* Récupère les clubs populaires
|
|
2248
|
-
* @param {*} [options] Override http request option.
|
|
2249
|
-
* @throws {RequiredError}
|
|
2250
|
-
* @memberof ClubAnalyticsApi
|
|
2251
|
-
*/
|
|
2252
|
-
getPopularClubs(options) {
|
|
2253
|
-
return (0, exports.ClubAnalyticsApiFp)(this.configuration).getPopularClubs(options).then((request) => request(this.axios, this.basePath));
|
|
2254
|
-
}
|
|
2255
|
-
}
|
|
2256
|
-
exports.ClubAnalyticsApi = ClubAnalyticsApi;
|
|
2257
|
-
/**
|
|
2258
|
-
* ClubAnalyticsStaffApi - axios parameter creator
|
|
2259
|
-
* @export
|
|
2260
|
-
*/
|
|
2261
|
-
const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
2262
|
-
return {
|
|
2263
|
-
/**
|
|
2264
|
-
* Récupère les analytics par sport
|
|
2265
|
-
* @param {string} sportId
|
|
2266
|
-
* @param {*} [options] Override http request option.
|
|
2267
|
-
* @throws {RequiredError}
|
|
2268
|
-
*/
|
|
2269
|
-
getAnalyticsBySport: (sportId_1, ...args_1) => __awaiter(this, [sportId_1, ...args_1], void 0, function* (sportId, options = {}) {
|
|
2270
|
-
// verify required parameter 'sportId' is not null or undefined
|
|
2271
|
-
(0, common_1.assertParamExists)('getAnalyticsBySport', 'sportId', sportId);
|
|
2272
|
-
const localVarPath = `/api/club-analytics/sport/{sportId}/analytics`
|
|
2273
|
-
.replace(`{${"sportId"}}`, encodeURIComponent(String(sportId)));
|
|
2274
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2275
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2276
|
-
let baseOptions;
|
|
2277
|
-
if (configuration) {
|
|
2278
|
-
baseOptions = configuration.baseOptions;
|
|
2279
|
-
}
|
|
2280
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2281
|
-
const localVarHeaderParameter = {};
|
|
2282
|
-
const localVarQueryParameter = {};
|
|
2283
|
-
// authentication bearerAuth required
|
|
2284
|
-
// http bearer authentication required
|
|
2285
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2286
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2287
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2288
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2289
|
-
return {
|
|
2290
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2291
|
-
options: localVarRequestOptions,
|
|
2292
|
-
};
|
|
2293
|
-
}),
|
|
2294
|
-
/**
|
|
2295
|
-
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2296
|
-
* @param {string} playerId
|
|
2297
|
-
* @param {number} [page]
|
|
2298
|
-
* @param {number} [pageSize]
|
|
2299
|
-
* @param {*} [options] Override http request option.
|
|
2300
|
-
* @throws {RequiredError}
|
|
2301
|
-
*/
|
|
2302
|
-
getClubPlayerBookingsById: (playerId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [playerId_1, page_1, pageSize_1, ...args_1], void 0, function* (playerId, page, pageSize, options = {}) {
|
|
2303
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
2304
|
-
(0, common_1.assertParamExists)('getClubPlayerBookingsById', 'playerId', playerId);
|
|
2305
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
2306
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
2307
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2308
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2309
|
-
let baseOptions;
|
|
2310
|
-
if (configuration) {
|
|
2311
|
-
baseOptions = configuration.baseOptions;
|
|
2312
|
-
}
|
|
2313
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2314
|
-
const localVarHeaderParameter = {};
|
|
2315
|
-
const localVarQueryParameter = {};
|
|
2316
|
-
// authentication bearerAuth required
|
|
2317
|
-
// http bearer authentication required
|
|
2318
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2319
|
-
if (page !== undefined) {
|
|
2320
|
-
localVarQueryParameter['page'] = page;
|
|
2321
|
-
}
|
|
2322
|
-
if (pageSize !== undefined) {
|
|
2323
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
2324
|
-
}
|
|
2325
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2326
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2327
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2328
|
-
return {
|
|
2329
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2330
|
-
options: localVarRequestOptions,
|
|
2331
|
-
};
|
|
2332
|
-
}),
|
|
2333
|
-
/**
|
|
2334
|
-
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2335
|
-
* @param {string} playerId
|
|
2336
|
-
* @param {*} [options] Override http request option.
|
|
2337
|
-
* @throws {RequiredError}
|
|
2338
|
-
*/
|
|
2339
|
-
getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
2340
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
2341
|
-
(0, common_1.assertParamExists)('getClubPlayerById', 'playerId', playerId);
|
|
2342
|
-
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
2343
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
2344
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2345
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2346
|
-
let baseOptions;
|
|
2347
|
-
if (configuration) {
|
|
2348
|
-
baseOptions = configuration.baseOptions;
|
|
2349
|
-
}
|
|
2350
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2351
|
-
const localVarHeaderParameter = {};
|
|
2352
|
-
const localVarQueryParameter = {};
|
|
2353
|
-
// authentication bearerAuth required
|
|
2354
|
-
// http bearer authentication required
|
|
2355
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2356
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2357
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2358
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2359
|
-
return {
|
|
2360
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2361
|
-
options: localVarRequestOptions,
|
|
2362
|
-
};
|
|
2363
|
-
}),
|
|
2364
|
-
/**
|
|
2365
|
-
* Récupère les statistiques d\'un joueur pour le staff
|
|
2366
|
-
* @param {string} playerId
|
|
2367
|
-
* @param {*} [options] Override http request option.
|
|
2368
|
-
* @throws {RequiredError}
|
|
2369
|
-
*/
|
|
2370
|
-
getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
2371
|
-
// verify required parameter 'playerId' is not null or undefined
|
|
2372
|
-
(0, common_1.assertParamExists)('getClubPlayerStatisticsById', 'playerId', playerId);
|
|
2373
|
-
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
2374
|
-
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
2375
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2376
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2377
|
-
let baseOptions;
|
|
2378
|
-
if (configuration) {
|
|
2379
|
-
baseOptions = configuration.baseOptions;
|
|
2380
|
-
}
|
|
2381
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2382
|
-
const localVarHeaderParameter = {};
|
|
2383
|
-
const localVarQueryParameter = {};
|
|
2384
|
-
// authentication bearerAuth required
|
|
2385
|
-
// http bearer authentication required
|
|
2386
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2387
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2388
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2389
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2390
|
-
return {
|
|
2391
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2392
|
-
options: localVarRequestOptions,
|
|
2393
|
-
};
|
|
2394
|
-
}),
|
|
2395
|
-
/**
|
|
2396
|
-
* Récupère la liste des joueurs du club
|
|
2397
|
-
* @param {*} [options] Override http request option.
|
|
2398
|
-
* @throws {RequiredError}
|
|
2399
|
-
*/
|
|
2400
|
-
getClubPlayers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2401
|
-
const localVarPath = `/api/club-analytics/players`;
|
|
2402
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2403
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2404
|
-
let baseOptions;
|
|
2405
|
-
if (configuration) {
|
|
2406
|
-
baseOptions = configuration.baseOptions;
|
|
2407
|
-
}
|
|
2408
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2409
|
-
const localVarHeaderParameter = {};
|
|
2410
|
-
const localVarQueryParameter = {};
|
|
2411
|
-
// authentication bearerAuth required
|
|
2412
|
-
// http bearer authentication required
|
|
2413
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2414
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2415
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2416
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2417
|
-
return {
|
|
2418
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2419
|
-
options: localVarRequestOptions,
|
|
2420
|
-
};
|
|
2421
|
-
}),
|
|
2422
|
-
/**
|
|
2423
|
-
* Récupère le chiffre d\'affaires quotidien
|
|
2424
|
-
* @param {string} date
|
|
2425
|
-
* @param {*} [options] Override http request option.
|
|
2426
|
-
* @throws {RequiredError}
|
|
2427
|
-
*/
|
|
2428
|
-
getDailyTurnOver: (date_1, ...args_1) => __awaiter(this, [date_1, ...args_1], void 0, function* (date, options = {}) {
|
|
2429
|
-
// verify required parameter 'date' is not null or undefined
|
|
2430
|
-
(0, common_1.assertParamExists)('getDailyTurnOver', 'date', date);
|
|
2431
|
-
const localVarPath = `/api/club-analytics/daily-turnover`;
|
|
2432
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2433
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2434
|
-
let baseOptions;
|
|
2435
|
-
if (configuration) {
|
|
2436
|
-
baseOptions = configuration.baseOptions;
|
|
2437
|
-
}
|
|
2438
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2439
|
-
const localVarHeaderParameter = {};
|
|
2440
|
-
const localVarQueryParameter = {};
|
|
2441
|
-
// authentication bearerAuth required
|
|
2442
|
-
// http bearer authentication required
|
|
2443
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2444
|
-
if (date !== undefined) {
|
|
2445
|
-
localVarQueryParameter['date'] = date;
|
|
2446
|
-
}
|
|
2447
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2448
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2449
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2450
|
-
return {
|
|
2451
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2452
|
-
options: localVarRequestOptions,
|
|
2453
|
-
};
|
|
2454
|
-
}),
|
|
2455
|
-
/**
|
|
2456
|
-
* Récupère les pourcentages par genre
|
|
2457
|
-
* @param {*} [options] Override http request option.
|
|
2458
|
-
* @throws {RequiredError}
|
|
2459
|
-
*/
|
|
2460
|
-
getGenderPercentage: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2461
|
-
const localVarPath = `/api/club-analytics/gender-percentage`;
|
|
2462
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2463
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2464
|
-
let baseOptions;
|
|
2465
|
-
if (configuration) {
|
|
2466
|
-
baseOptions = configuration.baseOptions;
|
|
2467
|
-
}
|
|
2468
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2469
|
-
const localVarHeaderParameter = {};
|
|
2470
|
-
const localVarQueryParameter = {};
|
|
2471
|
-
// authentication bearerAuth required
|
|
2472
|
-
// http bearer authentication required
|
|
2473
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2474
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2475
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2476
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2477
|
-
return {
|
|
2478
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2479
|
-
options: localVarRequestOptions,
|
|
2480
|
-
};
|
|
2481
|
-
}),
|
|
2482
|
-
/**
|
|
2483
|
-
* Récupère le taux de remplissage (infill) pour une période donnée
|
|
2484
|
-
* @param {string} [startDate]
|
|
2485
|
-
* @param {string} [endDate]
|
|
2021
|
+
* Récupère le taux de remplissage (infill) pour une période donnée
|
|
2022
|
+
* @param {string} [startDate]
|
|
2023
|
+
* @param {string} [endDate]
|
|
2486
2024
|
* @param {*} [options] Override http request option.
|
|
2487
2025
|
* @throws {RequiredError}
|
|
2488
2026
|
*/
|
|
@@ -6549,27 +6087,36 @@ exports.ClubsManagerApi = ClubsManagerApi;
|
|
|
6549
6087
|
const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
6550
6088
|
return {
|
|
6551
6089
|
/**
|
|
6552
|
-
*
|
|
6090
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
6091
|
+
* @param {string} bookingId
|
|
6092
|
+
* @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
|
|
6553
6093
|
* @param {*} [options] Override http request option.
|
|
6554
6094
|
* @throws {RequiredError}
|
|
6555
6095
|
*/
|
|
6556
|
-
|
|
6557
|
-
|
|
6096
|
+
createOnsiteInvoiceForBooking: (bookingId_1, createOnsiteInvoiceRequest_1, ...args_1) => __awaiter(this, [bookingId_1, createOnsiteInvoiceRequest_1, ...args_1], void 0, function* (bookingId, createOnsiteInvoiceRequest, options = {}) {
|
|
6097
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
6098
|
+
(0, common_1.assertParamExists)('createOnsiteInvoiceForBooking', 'bookingId', bookingId);
|
|
6099
|
+
// verify required parameter 'createOnsiteInvoiceRequest' is not null or undefined
|
|
6100
|
+
(0, common_1.assertParamExists)('createOnsiteInvoiceForBooking', 'createOnsiteInvoiceRequest', createOnsiteInvoiceRequest);
|
|
6101
|
+
const localVarPath = `/api/clubs/staff/bookings/{bookingId}/invoices`
|
|
6102
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
6558
6103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6559
6104
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6560
6105
|
let baseOptions;
|
|
6561
6106
|
if (configuration) {
|
|
6562
6107
|
baseOptions = configuration.baseOptions;
|
|
6563
6108
|
}
|
|
6564
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
6109
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6565
6110
|
const localVarHeaderParameter = {};
|
|
6566
6111
|
const localVarQueryParameter = {};
|
|
6567
6112
|
// authentication bearerAuth required
|
|
6568
6113
|
// http bearer authentication required
|
|
6569
6114
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6115
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6570
6116
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6571
6117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6572
6118
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6119
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createOnsiteInvoiceRequest, localVarRequestOptions, configuration);
|
|
6573
6120
|
return {
|
|
6574
6121
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6575
6122
|
options: localVarRequestOptions,
|
|
@@ -6580,8 +6127,8 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6580
6127
|
* @param {*} [options] Override http request option.
|
|
6581
6128
|
* @throws {RequiredError}
|
|
6582
6129
|
*/
|
|
6583
|
-
|
|
6584
|
-
const localVarPath = `/api/clubs/
|
|
6130
|
+
getActualities: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6131
|
+
const localVarPath = `/api/clubs/staff/actualities`;
|
|
6585
6132
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6586
6133
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6587
6134
|
let baseOptions;
|
|
@@ -6603,12 +6150,12 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6603
6150
|
};
|
|
6604
6151
|
}),
|
|
6605
6152
|
/**
|
|
6606
|
-
*
|
|
6153
|
+
*
|
|
6607
6154
|
* @param {*} [options] Override http request option.
|
|
6608
6155
|
* @throws {RequiredError}
|
|
6609
6156
|
*/
|
|
6610
|
-
|
|
6611
|
-
const localVarPath = `/api/clubs/
|
|
6157
|
+
getClubInfos: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6158
|
+
const localVarPath = `/api/clubs/infos`;
|
|
6612
6159
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6613
6160
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6614
6161
|
let baseOptions;
|
|
@@ -6630,12 +6177,12 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6630
6177
|
};
|
|
6631
6178
|
}),
|
|
6632
6179
|
/**
|
|
6633
|
-
*
|
|
6180
|
+
* Récupère les membres d\'un club
|
|
6634
6181
|
* @param {*} [options] Override http request option.
|
|
6635
6182
|
* @throws {RequiredError}
|
|
6636
6183
|
*/
|
|
6637
|
-
|
|
6638
|
-
const localVarPath = `/api/clubs/
|
|
6184
|
+
getClubMembers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6185
|
+
const localVarPath = `/api/clubs/members`;
|
|
6639
6186
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6640
6187
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6641
6188
|
let baseOptions;
|
|
@@ -6657,12 +6204,12 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6657
6204
|
};
|
|
6658
6205
|
}),
|
|
6659
6206
|
/**
|
|
6660
|
-
*
|
|
6207
|
+
*
|
|
6661
6208
|
* @param {*} [options] Override http request option.
|
|
6662
6209
|
* @throws {RequiredError}
|
|
6663
6210
|
*/
|
|
6664
|
-
|
|
6665
|
-
const localVarPath = `/api/clubs/
|
|
6211
|
+
getClubPresentationSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6212
|
+
const localVarPath = `/api/clubs/settings/presentation`;
|
|
6666
6213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6667
6214
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6668
6215
|
let baseOptions;
|
|
@@ -6684,12 +6231,12 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6684
6231
|
};
|
|
6685
6232
|
}),
|
|
6686
6233
|
/**
|
|
6687
|
-
* Récupère les
|
|
6234
|
+
* Récupère les rôles d\'un club
|
|
6688
6235
|
* @param {*} [options] Override http request option.
|
|
6689
6236
|
* @throws {RequiredError}
|
|
6690
6237
|
*/
|
|
6691
|
-
|
|
6692
|
-
const localVarPath = `/api/clubs/
|
|
6238
|
+
getClubRoles: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6239
|
+
const localVarPath = `/api/clubs/roles`;
|
|
6693
6240
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6694
6241
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6695
6242
|
let baseOptions;
|
|
@@ -6711,12 +6258,12 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6711
6258
|
};
|
|
6712
6259
|
}),
|
|
6713
6260
|
/**
|
|
6714
|
-
*
|
|
6261
|
+
* Récupère les terrains d\'un club
|
|
6715
6262
|
* @param {*} [options] Override http request option.
|
|
6716
6263
|
* @throws {RequiredError}
|
|
6717
6264
|
*/
|
|
6718
|
-
|
|
6719
|
-
const localVarPath = `/api/clubs/
|
|
6265
|
+
getCourtsByClub: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6266
|
+
const localVarPath = `/api/clubs/courts`;
|
|
6720
6267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6721
6268
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6722
6269
|
let baseOptions;
|
|
@@ -6739,15 +6286,11 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6739
6286
|
}),
|
|
6740
6287
|
/**
|
|
6741
6288
|
*
|
|
6742
|
-
* @param {string} id
|
|
6743
6289
|
* @param {*} [options] Override http request option.
|
|
6744
6290
|
* @throws {RequiredError}
|
|
6745
6291
|
*/
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
(0, common_1.assertParamExists)('getUserProfileStaff', 'id', id);
|
|
6749
|
-
const localVarPath = `/api/clubs/staff/profile/{id}`
|
|
6750
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6292
|
+
getInvoices: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6293
|
+
const localVarPath = `/api/clubs/invoices`;
|
|
6751
6294
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6752
6295
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6753
6296
|
let baseOptions;
|
|
@@ -6771,16 +6314,13 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6771
6314
|
/**
|
|
6772
6315
|
*
|
|
6773
6316
|
* @param {string} id
|
|
6774
|
-
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
6775
6317
|
* @param {*} [options] Override http request option.
|
|
6776
6318
|
* @throws {RequiredError}
|
|
6777
6319
|
*/
|
|
6778
|
-
|
|
6320
|
+
getUserProfileStaff: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
6779
6321
|
// verify required parameter 'id' is not null or undefined
|
|
6780
|
-
(0, common_1.assertParamExists)('
|
|
6781
|
-
|
|
6782
|
-
(0, common_1.assertParamExists)('updateUserCreditsStaff', 'updateUserCreditsRequest', updateUserCreditsRequest);
|
|
6783
|
-
const localVarPath = `/api/clubs/staff/user-credits/{id}`
|
|
6322
|
+
(0, common_1.assertParamExists)('getUserProfileStaff', 'id', id);
|
|
6323
|
+
const localVarPath = `/api/clubs/staff/profile/{id}`
|
|
6784
6324
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6785
6325
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6786
6326
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6788,17 +6328,15 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6788
6328
|
if (configuration) {
|
|
6789
6329
|
baseOptions = configuration.baseOptions;
|
|
6790
6330
|
}
|
|
6791
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
6331
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6792
6332
|
const localVarHeaderParameter = {};
|
|
6793
6333
|
const localVarQueryParameter = {};
|
|
6794
6334
|
// authentication bearerAuth required
|
|
6795
6335
|
// http bearer authentication required
|
|
6796
6336
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6797
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6798
6337
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6799
6338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6800
6339
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6801
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserCreditsRequest, localVarRequestOptions, configuration);
|
|
6802
6340
|
return {
|
|
6803
6341
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6804
6342
|
options: localVarRequestOptions,
|
|
@@ -6814,6 +6352,22 @@ exports.ClubsStaffApiAxiosParamCreator = ClubsStaffApiAxiosParamCreator;
|
|
|
6814
6352
|
const ClubsStaffApiFp = function (configuration) {
|
|
6815
6353
|
const localVarAxiosParamCreator = (0, exports.ClubsStaffApiAxiosParamCreator)(configuration);
|
|
6816
6354
|
return {
|
|
6355
|
+
/**
|
|
6356
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
6357
|
+
* @param {string} bookingId
|
|
6358
|
+
* @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
|
|
6359
|
+
* @param {*} [options] Override http request option.
|
|
6360
|
+
* @throws {RequiredError}
|
|
6361
|
+
*/
|
|
6362
|
+
createOnsiteInvoiceForBooking(bookingId, createOnsiteInvoiceRequest, options) {
|
|
6363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6364
|
+
var _a, _b, _c;
|
|
6365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOnsiteInvoiceForBooking(bookingId, createOnsiteInvoiceRequest, options);
|
|
6366
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6367
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.createOnsiteInvoiceForBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6368
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6369
|
+
});
|
|
6370
|
+
},
|
|
6817
6371
|
/**
|
|
6818
6372
|
*
|
|
6819
6373
|
* @param {*} [options] Override http request option.
|
|
@@ -6927,22 +6481,6 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
6927
6481
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6928
6482
|
});
|
|
6929
6483
|
},
|
|
6930
|
-
/**
|
|
6931
|
-
*
|
|
6932
|
-
* @param {string} id
|
|
6933
|
-
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
6934
|
-
* @param {*} [options] Override http request option.
|
|
6935
|
-
* @throws {RequiredError}
|
|
6936
|
-
*/
|
|
6937
|
-
updateUserCreditsStaff(id, updateUserCreditsRequest, options) {
|
|
6938
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6939
|
-
var _a, _b, _c;
|
|
6940
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserCreditsStaff(id, updateUserCreditsRequest, options);
|
|
6941
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6942
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.updateUserCreditsStaff']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6943
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6944
|
-
});
|
|
6945
|
-
},
|
|
6946
6484
|
};
|
|
6947
6485
|
};
|
|
6948
6486
|
exports.ClubsStaffApiFp = ClubsStaffApiFp;
|
|
@@ -6953,6 +6491,15 @@ exports.ClubsStaffApiFp = ClubsStaffApiFp;
|
|
|
6953
6491
|
const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
6954
6492
|
const localVarFp = (0, exports.ClubsStaffApiFp)(configuration);
|
|
6955
6493
|
return {
|
|
6494
|
+
/**
|
|
6495
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
6496
|
+
* @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
|
|
6497
|
+
* @param {*} [options] Override http request option.
|
|
6498
|
+
* @throws {RequiredError}
|
|
6499
|
+
*/
|
|
6500
|
+
createOnsiteInvoiceForBooking(requestParameters, options) {
|
|
6501
|
+
return localVarFp.createOnsiteInvoiceForBooking(requestParameters.bookingId, requestParameters.createOnsiteInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
6502
|
+
},
|
|
6956
6503
|
/**
|
|
6957
6504
|
*
|
|
6958
6505
|
* @param {*} [options] Override http request option.
|
|
@@ -7018,15 +6565,6 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
7018
6565
|
getUserProfileStaff(requestParameters, options) {
|
|
7019
6566
|
return localVarFp.getUserProfileStaff(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7020
6567
|
},
|
|
7021
|
-
/**
|
|
7022
|
-
*
|
|
7023
|
-
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
7024
|
-
* @param {*} [options] Override http request option.
|
|
7025
|
-
* @throws {RequiredError}
|
|
7026
|
-
*/
|
|
7027
|
-
updateUserCreditsStaff(requestParameters, options) {
|
|
7028
|
-
return localVarFp.updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(axios, basePath));
|
|
7029
|
-
},
|
|
7030
6568
|
};
|
|
7031
6569
|
};
|
|
7032
6570
|
exports.ClubsStaffApiFactory = ClubsStaffApiFactory;
|
|
@@ -7037,6 +6575,16 @@ exports.ClubsStaffApiFactory = ClubsStaffApiFactory;
|
|
|
7037
6575
|
* @extends {BaseAPI}
|
|
7038
6576
|
*/
|
|
7039
6577
|
class ClubsStaffApi extends base_1.BaseAPI {
|
|
6578
|
+
/**
|
|
6579
|
+
* Crée une facture manuelle (on-site) et l\'associe à une réservation
|
|
6580
|
+
* @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
|
|
6581
|
+
* @param {*} [options] Override http request option.
|
|
6582
|
+
* @throws {RequiredError}
|
|
6583
|
+
* @memberof ClubsStaffApi
|
|
6584
|
+
*/
|
|
6585
|
+
createOnsiteInvoiceForBooking(requestParameters, options) {
|
|
6586
|
+
return (0, exports.ClubsStaffApiFp)(this.configuration).createOnsiteInvoiceForBooking(requestParameters.bookingId, requestParameters.createOnsiteInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6587
|
+
}
|
|
7040
6588
|
/**
|
|
7041
6589
|
*
|
|
7042
6590
|
* @param {*} [options] Override http request option.
|
|
@@ -7110,16 +6658,6 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
7110
6658
|
getUserProfileStaff(requestParameters, options) {
|
|
7111
6659
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getUserProfileStaff(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7112
6660
|
}
|
|
7113
|
-
/**
|
|
7114
|
-
*
|
|
7115
|
-
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
7116
|
-
* @param {*} [options] Override http request option.
|
|
7117
|
-
* @throws {RequiredError}
|
|
7118
|
-
* @memberof ClubsStaffApi
|
|
7119
|
-
*/
|
|
7120
|
-
updateUserCreditsStaff(requestParameters, options) {
|
|
7121
|
-
return (0, exports.ClubsStaffApiFp)(this.configuration).updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7122
|
-
}
|
|
7123
6661
|
}
|
|
7124
6662
|
exports.ClubsStaffApi = ClubsStaffApi;
|
|
7125
6663
|
/**
|
|
@@ -7557,6 +7095,38 @@ exports.GetPublishedEventsByClubIdTypeEnum = {
|
|
|
7557
7095
|
*/
|
|
7558
7096
|
const EventsManagerApiAxiosParamCreator = function (configuration) {
|
|
7559
7097
|
return {
|
|
7098
|
+
/**
|
|
7099
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
7100
|
+
* @param {EventConflictCheckRequest} eventConflictCheckRequest
|
|
7101
|
+
* @param {*} [options] Override http request option.
|
|
7102
|
+
* @throws {RequiredError}
|
|
7103
|
+
*/
|
|
7104
|
+
checkEventConflicts: (eventConflictCheckRequest_1, ...args_1) => __awaiter(this, [eventConflictCheckRequest_1, ...args_1], void 0, function* (eventConflictCheckRequest, options = {}) {
|
|
7105
|
+
// verify required parameter 'eventConflictCheckRequest' is not null or undefined
|
|
7106
|
+
(0, common_1.assertParamExists)('checkEventConflicts', 'eventConflictCheckRequest', eventConflictCheckRequest);
|
|
7107
|
+
const localVarPath = `/api/events/manager/checkConflicts`;
|
|
7108
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7109
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7110
|
+
let baseOptions;
|
|
7111
|
+
if (configuration) {
|
|
7112
|
+
baseOptions = configuration.baseOptions;
|
|
7113
|
+
}
|
|
7114
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7115
|
+
const localVarHeaderParameter = {};
|
|
7116
|
+
const localVarQueryParameter = {};
|
|
7117
|
+
// authentication bearerAuth required
|
|
7118
|
+
// http bearer authentication required
|
|
7119
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7120
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7121
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7122
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7123
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7124
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventConflictCheckRequest, localVarRequestOptions, configuration);
|
|
7125
|
+
return {
|
|
7126
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7127
|
+
options: localVarRequestOptions,
|
|
7128
|
+
};
|
|
7129
|
+
}),
|
|
7560
7130
|
/**
|
|
7561
7131
|
* Create a new event (manager)
|
|
7562
7132
|
* @param {CreateEventRequest} createEventRequest
|
|
@@ -7657,10 +7227,44 @@ const EventsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
7657
7227
|
* @param {*} [options] Override http request option.
|
|
7658
7228
|
* @throws {RequiredError}
|
|
7659
7229
|
*/
|
|
7660
|
-
unpublishEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
7230
|
+
unpublishEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
7231
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
7232
|
+
(0, common_1.assertParamExists)('unpublishEvent', 'eventId', eventId);
|
|
7233
|
+
const localVarPath = `/api/events/manager/unpublishEvent/{eventId}`
|
|
7234
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
7235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7236
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7237
|
+
let baseOptions;
|
|
7238
|
+
if (configuration) {
|
|
7239
|
+
baseOptions = configuration.baseOptions;
|
|
7240
|
+
}
|
|
7241
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
7242
|
+
const localVarHeaderParameter = {};
|
|
7243
|
+
const localVarQueryParameter = {};
|
|
7244
|
+
// authentication bearerAuth required
|
|
7245
|
+
// http bearer authentication required
|
|
7246
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7248
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7249
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7250
|
+
return {
|
|
7251
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7252
|
+
options: localVarRequestOptions,
|
|
7253
|
+
};
|
|
7254
|
+
}),
|
|
7255
|
+
/**
|
|
7256
|
+
* Update an event (manager)
|
|
7257
|
+
* @param {string} eventId
|
|
7258
|
+
* @param {UpdateEventRequest} updateEventRequest
|
|
7259
|
+
* @param {*} [options] Override http request option.
|
|
7260
|
+
* @throws {RequiredError}
|
|
7261
|
+
*/
|
|
7262
|
+
updateEvent: (eventId_1, updateEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, updateEventRequest_1, ...args_1], void 0, function* (eventId, updateEventRequest, options = {}) {
|
|
7661
7263
|
// verify required parameter 'eventId' is not null or undefined
|
|
7662
|
-
(0, common_1.assertParamExists)('
|
|
7663
|
-
|
|
7264
|
+
(0, common_1.assertParamExists)('updateEvent', 'eventId', eventId);
|
|
7265
|
+
// verify required parameter 'updateEventRequest' is not null or undefined
|
|
7266
|
+
(0, common_1.assertParamExists)('updateEvent', 'updateEventRequest', updateEventRequest);
|
|
7267
|
+
const localVarPath = `/api/events/manager/updateEvent/{eventId}`
|
|
7664
7268
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
7665
7269
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7666
7270
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7674,27 +7278,29 @@ const EventsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
7674
7278
|
// authentication bearerAuth required
|
|
7675
7279
|
// http bearer authentication required
|
|
7676
7280
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7281
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7677
7282
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7678
7283
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7679
7284
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7285
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEventRequest, localVarRequestOptions, configuration);
|
|
7680
7286
|
return {
|
|
7681
7287
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7682
7288
|
options: localVarRequestOptions,
|
|
7683
7289
|
};
|
|
7684
7290
|
}),
|
|
7685
7291
|
/**
|
|
7686
|
-
* Update
|
|
7292
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
7687
7293
|
* @param {string} eventId
|
|
7688
7294
|
* @param {UpdateEventRequest} updateEventRequest
|
|
7689
7295
|
* @param {*} [options] Override http request option.
|
|
7690
7296
|
* @throws {RequiredError}
|
|
7691
7297
|
*/
|
|
7692
|
-
|
|
7298
|
+
updatePublishedEvent: (eventId_1, updateEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, updateEventRequest_1, ...args_1], void 0, function* (eventId, updateEventRequest, options = {}) {
|
|
7693
7299
|
// verify required parameter 'eventId' is not null or undefined
|
|
7694
|
-
(0, common_1.assertParamExists)('
|
|
7300
|
+
(0, common_1.assertParamExists)('updatePublishedEvent', 'eventId', eventId);
|
|
7695
7301
|
// verify required parameter 'updateEventRequest' is not null or undefined
|
|
7696
|
-
(0, common_1.assertParamExists)('
|
|
7697
|
-
const localVarPath = `/api/events/manager/
|
|
7302
|
+
(0, common_1.assertParamExists)('updatePublishedEvent', 'updateEventRequest', updateEventRequest);
|
|
7303
|
+
const localVarPath = `/api/events/manager/updatePublishedEvent/{eventId}`
|
|
7698
7304
|
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
7699
7305
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7700
7306
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7728,6 +7334,21 @@ exports.EventsManagerApiAxiosParamCreator = EventsManagerApiAxiosParamCreator;
|
|
|
7728
7334
|
const EventsManagerApiFp = function (configuration) {
|
|
7729
7335
|
const localVarAxiosParamCreator = (0, exports.EventsManagerApiAxiosParamCreator)(configuration);
|
|
7730
7336
|
return {
|
|
7337
|
+
/**
|
|
7338
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
7339
|
+
* @param {EventConflictCheckRequest} eventConflictCheckRequest
|
|
7340
|
+
* @param {*} [options] Override http request option.
|
|
7341
|
+
* @throws {RequiredError}
|
|
7342
|
+
*/
|
|
7343
|
+
checkEventConflicts(eventConflictCheckRequest, options) {
|
|
7344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7345
|
+
var _a, _b, _c;
|
|
7346
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.checkEventConflicts(eventConflictCheckRequest, options);
|
|
7347
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7348
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsManagerApi.checkEventConflicts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7349
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7350
|
+
});
|
|
7351
|
+
},
|
|
7731
7352
|
/**
|
|
7732
7353
|
* Create a new event (manager)
|
|
7733
7354
|
* @param {CreateEventRequest} createEventRequest
|
|
@@ -7804,6 +7425,22 @@ const EventsManagerApiFp = function (configuration) {
|
|
|
7804
7425
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7805
7426
|
});
|
|
7806
7427
|
},
|
|
7428
|
+
/**
|
|
7429
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
7430
|
+
* @param {string} eventId
|
|
7431
|
+
* @param {UpdateEventRequest} updateEventRequest
|
|
7432
|
+
* @param {*} [options] Override http request option.
|
|
7433
|
+
* @throws {RequiredError}
|
|
7434
|
+
*/
|
|
7435
|
+
updatePublishedEvent(eventId, updateEventRequest, options) {
|
|
7436
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7437
|
+
var _a, _b, _c;
|
|
7438
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePublishedEvent(eventId, updateEventRequest, options);
|
|
7439
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7440
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsManagerApi.updatePublishedEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7441
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7442
|
+
});
|
|
7443
|
+
},
|
|
7807
7444
|
};
|
|
7808
7445
|
};
|
|
7809
7446
|
exports.EventsManagerApiFp = EventsManagerApiFp;
|
|
@@ -7814,6 +7451,15 @@ exports.EventsManagerApiFp = EventsManagerApiFp;
|
|
|
7814
7451
|
const EventsManagerApiFactory = function (configuration, basePath, axios) {
|
|
7815
7452
|
const localVarFp = (0, exports.EventsManagerApiFp)(configuration);
|
|
7816
7453
|
return {
|
|
7454
|
+
/**
|
|
7455
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
7456
|
+
* @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
|
|
7457
|
+
* @param {*} [options] Override http request option.
|
|
7458
|
+
* @throws {RequiredError}
|
|
7459
|
+
*/
|
|
7460
|
+
checkEventConflicts(requestParameters, options) {
|
|
7461
|
+
return localVarFp.checkEventConflicts(requestParameters.eventConflictCheckRequest, options).then((request) => request(axios, basePath));
|
|
7462
|
+
},
|
|
7817
7463
|
/**
|
|
7818
7464
|
* Create a new event (manager)
|
|
7819
7465
|
* @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
|
|
@@ -7859,6 +7505,15 @@ const EventsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
7859
7505
|
updateEvent(requestParameters, options) {
|
|
7860
7506
|
return localVarFp.updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
7861
7507
|
},
|
|
7508
|
+
/**
|
|
7509
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
7510
|
+
* @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
|
|
7511
|
+
* @param {*} [options] Override http request option.
|
|
7512
|
+
* @throws {RequiredError}
|
|
7513
|
+
*/
|
|
7514
|
+
updatePublishedEvent(requestParameters, options) {
|
|
7515
|
+
return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
|
|
7516
|
+
},
|
|
7862
7517
|
};
|
|
7863
7518
|
};
|
|
7864
7519
|
exports.EventsManagerApiFactory = EventsManagerApiFactory;
|
|
@@ -7869,6 +7524,16 @@ exports.EventsManagerApiFactory = EventsManagerApiFactory;
|
|
|
7869
7524
|
* @extends {BaseAPI}
|
|
7870
7525
|
*/
|
|
7871
7526
|
class EventsManagerApi extends base_1.BaseAPI {
|
|
7527
|
+
/**
|
|
7528
|
+
* Check if there are bookings overlapping an event window (for create/update/delete)
|
|
7529
|
+
* @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
|
|
7530
|
+
* @param {*} [options] Override http request option.
|
|
7531
|
+
* @throws {RequiredError}
|
|
7532
|
+
* @memberof EventsManagerApi
|
|
7533
|
+
*/
|
|
7534
|
+
checkEventConflicts(requestParameters, options) {
|
|
7535
|
+
return (0, exports.EventsManagerApiFp)(this.configuration).checkEventConflicts(requestParameters.eventConflictCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7536
|
+
}
|
|
7872
7537
|
/**
|
|
7873
7538
|
* Create a new event (manager)
|
|
7874
7539
|
* @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
|
|
@@ -7919,6 +7584,16 @@ class EventsManagerApi extends base_1.BaseAPI {
|
|
|
7919
7584
|
updateEvent(requestParameters, options) {
|
|
7920
7585
|
return (0, exports.EventsManagerApiFp)(this.configuration).updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7921
7586
|
}
|
|
7587
|
+
/**
|
|
7588
|
+
* Update a published event (manager) and propagate slot changes and conflicts
|
|
7589
|
+
* @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
|
|
7590
|
+
* @param {*} [options] Override http request option.
|
|
7591
|
+
* @throws {RequiredError}
|
|
7592
|
+
* @memberof EventsManagerApi
|
|
7593
|
+
*/
|
|
7594
|
+
updatePublishedEvent(requestParameters, options) {
|
|
7595
|
+
return (0, exports.EventsManagerApiFp)(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7596
|
+
}
|
|
7922
7597
|
}
|
|
7923
7598
|
exports.EventsManagerApi = EventsManagerApi;
|
|
7924
7599
|
/**
|
|
@@ -7928,47 +7603,36 @@ exports.EventsManagerApi = EventsManagerApi;
|
|
|
7928
7603
|
const EventsStaffApiAxiosParamCreator = function (configuration) {
|
|
7929
7604
|
return {
|
|
7930
7605
|
/**
|
|
7931
|
-
*
|
|
7932
|
-
* @param {string}
|
|
7933
|
-
* @param {
|
|
7934
|
-
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
7935
|
-
* @param {GetDailyEventsTypeEnum} [type]
|
|
7936
|
-
* @param {string} [sportId]
|
|
7606
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
7607
|
+
* @param {string} eventBookingId
|
|
7608
|
+
* @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
|
|
7937
7609
|
* @param {*} [options] Override http request option.
|
|
7938
7610
|
* @throws {RequiredError}
|
|
7939
7611
|
*/
|
|
7940
|
-
|
|
7941
|
-
|
|
7612
|
+
checkInEventParticipants: (eventBookingId_1, checkInEventParticipantsRequest_1, ...args_1) => __awaiter(this, [eventBookingId_1, checkInEventParticipantsRequest_1, ...args_1], void 0, function* (eventBookingId, checkInEventParticipantsRequest, options = {}) {
|
|
7613
|
+
// verify required parameter 'eventBookingId' is not null or undefined
|
|
7614
|
+
(0, common_1.assertParamExists)('checkInEventParticipants', 'eventBookingId', eventBookingId);
|
|
7615
|
+
// verify required parameter 'checkInEventParticipantsRequest' is not null or undefined
|
|
7616
|
+
(0, common_1.assertParamExists)('checkInEventParticipants', 'checkInEventParticipantsRequest', checkInEventParticipantsRequest);
|
|
7617
|
+
const localVarPath = `/api/events/{eventBookingId}/check-in`
|
|
7618
|
+
.replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
|
|
7942
7619
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7943
7620
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7944
7621
|
let baseOptions;
|
|
7945
7622
|
if (configuration) {
|
|
7946
7623
|
baseOptions = configuration.baseOptions;
|
|
7947
7624
|
}
|
|
7948
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
7625
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7949
7626
|
const localVarHeaderParameter = {};
|
|
7950
7627
|
const localVarQueryParameter = {};
|
|
7951
7628
|
// authentication bearerAuth required
|
|
7952
7629
|
// http bearer authentication required
|
|
7953
7630
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7954
|
-
|
|
7955
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
7956
|
-
}
|
|
7957
|
-
if (date !== undefined) {
|
|
7958
|
-
localVarQueryParameter['date'] = date;
|
|
7959
|
-
}
|
|
7960
|
-
if (visibilityType !== undefined) {
|
|
7961
|
-
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
7962
|
-
}
|
|
7963
|
-
if (type !== undefined) {
|
|
7964
|
-
localVarQueryParameter['type'] = type;
|
|
7965
|
-
}
|
|
7966
|
-
if (sportId !== undefined) {
|
|
7967
|
-
localVarQueryParameter['sportId'] = sportId;
|
|
7968
|
-
}
|
|
7631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7969
7632
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7970
7633
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7971
7634
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7635
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInEventParticipantsRequest, localVarRequestOptions, configuration);
|
|
7972
7636
|
return {
|
|
7973
7637
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7974
7638
|
options: localVarRequestOptions,
|
|
@@ -8001,100 +7665,6 @@ const EventsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
8001
7665
|
options: localVarRequestOptions,
|
|
8002
7666
|
};
|
|
8003
7667
|
}),
|
|
8004
|
-
/**
|
|
8005
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
8006
|
-
* @param {string} [clubId]
|
|
8007
|
-
* @param {string} [date]
|
|
8008
|
-
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
8009
|
-
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
8010
|
-
* @param {string} [sportId]
|
|
8011
|
-
* @param {*} [options] Override http request option.
|
|
8012
|
-
* @throws {RequiredError}
|
|
8013
|
-
*/
|
|
8014
|
-
getMonthlyEvents: (clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1) => __awaiter(this, [clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1], void 0, function* (clubId, date, visibilityType, type, sportId, options = {}) {
|
|
8015
|
-
const localVarPath = `/api/events/calendar/monthly`;
|
|
8016
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8017
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8018
|
-
let baseOptions;
|
|
8019
|
-
if (configuration) {
|
|
8020
|
-
baseOptions = configuration.baseOptions;
|
|
8021
|
-
}
|
|
8022
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8023
|
-
const localVarHeaderParameter = {};
|
|
8024
|
-
const localVarQueryParameter = {};
|
|
8025
|
-
// authentication bearerAuth required
|
|
8026
|
-
// http bearer authentication required
|
|
8027
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8028
|
-
if (clubId !== undefined) {
|
|
8029
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
8030
|
-
}
|
|
8031
|
-
if (date !== undefined) {
|
|
8032
|
-
localVarQueryParameter['date'] = date;
|
|
8033
|
-
}
|
|
8034
|
-
if (visibilityType !== undefined) {
|
|
8035
|
-
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
8036
|
-
}
|
|
8037
|
-
if (type !== undefined) {
|
|
8038
|
-
localVarQueryParameter['type'] = type;
|
|
8039
|
-
}
|
|
8040
|
-
if (sportId !== undefined) {
|
|
8041
|
-
localVarQueryParameter['sportId'] = sportId;
|
|
8042
|
-
}
|
|
8043
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8044
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8045
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8046
|
-
return {
|
|
8047
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8048
|
-
options: localVarRequestOptions,
|
|
8049
|
-
};
|
|
8050
|
-
}),
|
|
8051
|
-
/**
|
|
8052
|
-
* Get events for the week view (30 day sliding window)
|
|
8053
|
-
* @param {string} [clubId]
|
|
8054
|
-
* @param {string} [date]
|
|
8055
|
-
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
8056
|
-
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
8057
|
-
* @param {string} [sportId]
|
|
8058
|
-
* @param {*} [options] Override http request option.
|
|
8059
|
-
* @throws {RequiredError}
|
|
8060
|
-
*/
|
|
8061
|
-
getWeeklyEvents: (clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1) => __awaiter(this, [clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1], void 0, function* (clubId, date, visibilityType, type, sportId, options = {}) {
|
|
8062
|
-
const localVarPath = `/api/events/calendar/weekly`;
|
|
8063
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8064
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8065
|
-
let baseOptions;
|
|
8066
|
-
if (configuration) {
|
|
8067
|
-
baseOptions = configuration.baseOptions;
|
|
8068
|
-
}
|
|
8069
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8070
|
-
const localVarHeaderParameter = {};
|
|
8071
|
-
const localVarQueryParameter = {};
|
|
8072
|
-
// authentication bearerAuth required
|
|
8073
|
-
// http bearer authentication required
|
|
8074
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8075
|
-
if (clubId !== undefined) {
|
|
8076
|
-
localVarQueryParameter['clubId'] = clubId;
|
|
8077
|
-
}
|
|
8078
|
-
if (date !== undefined) {
|
|
8079
|
-
localVarQueryParameter['date'] = date;
|
|
8080
|
-
}
|
|
8081
|
-
if (visibilityType !== undefined) {
|
|
8082
|
-
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
8083
|
-
}
|
|
8084
|
-
if (type !== undefined) {
|
|
8085
|
-
localVarQueryParameter['type'] = type;
|
|
8086
|
-
}
|
|
8087
|
-
if (sportId !== undefined) {
|
|
8088
|
-
localVarQueryParameter['sportId'] = sportId;
|
|
8089
|
-
}
|
|
8090
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8091
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8092
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8093
|
-
return {
|
|
8094
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8095
|
-
options: localVarRequestOptions,
|
|
8096
|
-
};
|
|
8097
|
-
}),
|
|
8098
7668
|
};
|
|
8099
7669
|
};
|
|
8100
7670
|
exports.EventsStaffApiAxiosParamCreator = EventsStaffApiAxiosParamCreator;
|
|
@@ -8106,21 +7676,18 @@ const EventsStaffApiFp = function (configuration) {
|
|
|
8106
7676
|
const localVarAxiosParamCreator = (0, exports.EventsStaffApiAxiosParamCreator)(configuration);
|
|
8107
7677
|
return {
|
|
8108
7678
|
/**
|
|
8109
|
-
*
|
|
8110
|
-
* @param {string}
|
|
8111
|
-
* @param {
|
|
8112
|
-
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
8113
|
-
* @param {GetDailyEventsTypeEnum} [type]
|
|
8114
|
-
* @param {string} [sportId]
|
|
7679
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
7680
|
+
* @param {string} eventBookingId
|
|
7681
|
+
* @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
|
|
8115
7682
|
* @param {*} [options] Override http request option.
|
|
8116
7683
|
* @throws {RequiredError}
|
|
8117
7684
|
*/
|
|
8118
|
-
|
|
7685
|
+
checkInEventParticipants(eventBookingId, checkInEventParticipantsRequest, options) {
|
|
8119
7686
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8120
7687
|
var _a, _b, _c;
|
|
8121
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
7688
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInEventParticipants(eventBookingId, checkInEventParticipantsRequest, options);
|
|
8122
7689
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8123
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.
|
|
7690
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.checkInEventParticipants']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8124
7691
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8125
7692
|
});
|
|
8126
7693
|
},
|
|
@@ -8138,44 +7705,6 @@ const EventsStaffApiFp = function (configuration) {
|
|
|
8138
7705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8139
7706
|
});
|
|
8140
7707
|
},
|
|
8141
|
-
/**
|
|
8142
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
8143
|
-
* @param {string} [clubId]
|
|
8144
|
-
* @param {string} [date]
|
|
8145
|
-
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
8146
|
-
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
8147
|
-
* @param {string} [sportId]
|
|
8148
|
-
* @param {*} [options] Override http request option.
|
|
8149
|
-
* @throws {RequiredError}
|
|
8150
|
-
*/
|
|
8151
|
-
getMonthlyEvents(clubId, date, visibilityType, type, sportId, options) {
|
|
8152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
8153
|
-
var _a, _b, _c;
|
|
8154
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMonthlyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
8155
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8156
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.getMonthlyEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8157
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8158
|
-
});
|
|
8159
|
-
},
|
|
8160
|
-
/**
|
|
8161
|
-
* Get events for the week view (30 day sliding window)
|
|
8162
|
-
* @param {string} [clubId]
|
|
8163
|
-
* @param {string} [date]
|
|
8164
|
-
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
8165
|
-
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
8166
|
-
* @param {string} [sportId]
|
|
8167
|
-
* @param {*} [options] Override http request option.
|
|
8168
|
-
* @throws {RequiredError}
|
|
8169
|
-
*/
|
|
8170
|
-
getWeeklyEvents(clubId, date, visibilityType, type, sportId, options) {
|
|
8171
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
8172
|
-
var _a, _b, _c;
|
|
8173
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getWeeklyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
8174
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8175
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.getWeeklyEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8176
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8177
|
-
});
|
|
8178
|
-
},
|
|
8179
7708
|
};
|
|
8180
7709
|
};
|
|
8181
7710
|
exports.EventsStaffApiFp = EventsStaffApiFp;
|
|
@@ -8187,13 +7716,13 @@ const EventsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
8187
7716
|
const localVarFp = (0, exports.EventsStaffApiFp)(configuration);
|
|
8188
7717
|
return {
|
|
8189
7718
|
/**
|
|
8190
|
-
*
|
|
8191
|
-
* @param {
|
|
7719
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
7720
|
+
* @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
|
|
8192
7721
|
* @param {*} [options] Override http request option.
|
|
8193
7722
|
* @throws {RequiredError}
|
|
8194
7723
|
*/
|
|
8195
|
-
|
|
8196
|
-
return localVarFp.
|
|
7724
|
+
checkInEventParticipants(requestParameters, options) {
|
|
7725
|
+
return localVarFp.checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(axios, basePath));
|
|
8197
7726
|
},
|
|
8198
7727
|
/**
|
|
8199
7728
|
* Get all events for a club (staff only)
|
|
@@ -8203,24 +7732,6 @@ const EventsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
8203
7732
|
getEventsByClub(options) {
|
|
8204
7733
|
return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
|
|
8205
7734
|
},
|
|
8206
|
-
/**
|
|
8207
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
8208
|
-
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
8209
|
-
* @param {*} [options] Override http request option.
|
|
8210
|
-
* @throws {RequiredError}
|
|
8211
|
-
*/
|
|
8212
|
-
getMonthlyEvents(requestParameters = {}, options) {
|
|
8213
|
-
return localVarFp.getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
8214
|
-
},
|
|
8215
|
-
/**
|
|
8216
|
-
* Get events for the week view (30 day sliding window)
|
|
8217
|
-
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
8218
|
-
* @param {*} [options] Override http request option.
|
|
8219
|
-
* @throws {RequiredError}
|
|
8220
|
-
*/
|
|
8221
|
-
getWeeklyEvents(requestParameters = {}, options) {
|
|
8222
|
-
return localVarFp.getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
8223
|
-
},
|
|
8224
7735
|
};
|
|
8225
7736
|
};
|
|
8226
7737
|
exports.EventsStaffApiFactory = EventsStaffApiFactory;
|
|
@@ -8232,14 +7743,14 @@ exports.EventsStaffApiFactory = EventsStaffApiFactory;
|
|
|
8232
7743
|
*/
|
|
8233
7744
|
class EventsStaffApi extends base_1.BaseAPI {
|
|
8234
7745
|
/**
|
|
8235
|
-
*
|
|
8236
|
-
* @param {
|
|
7746
|
+
* Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
7747
|
+
* @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
|
|
8237
7748
|
* @param {*} [options] Override http request option.
|
|
8238
7749
|
* @throws {RequiredError}
|
|
8239
7750
|
* @memberof EventsStaffApi
|
|
8240
7751
|
*/
|
|
8241
|
-
|
|
8242
|
-
return (0, exports.EventsStaffApiFp)(this.configuration).
|
|
7752
|
+
checkInEventParticipants(requestParameters, options) {
|
|
7753
|
+
return (0, exports.EventsStaffApiFp)(this.configuration).checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8243
7754
|
}
|
|
8244
7755
|
/**
|
|
8245
7756
|
* Get all events for a club (staff only)
|
|
@@ -8250,73 +7761,8 @@ class EventsStaffApi extends base_1.BaseAPI {
|
|
|
8250
7761
|
getEventsByClub(options) {
|
|
8251
7762
|
return (0, exports.EventsStaffApiFp)(this.configuration).getEventsByClub(options).then((request) => request(this.axios, this.basePath));
|
|
8252
7763
|
}
|
|
8253
|
-
/**
|
|
8254
|
-
* Get events for the entire month view (including recurring occurrences)
|
|
8255
|
-
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
8256
|
-
* @param {*} [options] Override http request option.
|
|
8257
|
-
* @throws {RequiredError}
|
|
8258
|
-
* @memberof EventsStaffApi
|
|
8259
|
-
*/
|
|
8260
|
-
getMonthlyEvents(requestParameters = {}, options) {
|
|
8261
|
-
return (0, exports.EventsStaffApiFp)(this.configuration).getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
8262
|
-
}
|
|
8263
|
-
/**
|
|
8264
|
-
* Get events for the week view (30 day sliding window)
|
|
8265
|
-
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
8266
|
-
* @param {*} [options] Override http request option.
|
|
8267
|
-
* @throws {RequiredError}
|
|
8268
|
-
* @memberof EventsStaffApi
|
|
8269
|
-
*/
|
|
8270
|
-
getWeeklyEvents(requestParameters = {}, options) {
|
|
8271
|
-
return (0, exports.EventsStaffApiFp)(this.configuration).getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
8272
|
-
}
|
|
8273
7764
|
}
|
|
8274
7765
|
exports.EventsStaffApi = EventsStaffApi;
|
|
8275
|
-
/**
|
|
8276
|
-
* @export
|
|
8277
|
-
*/
|
|
8278
|
-
exports.GetDailyEventsVisibilityTypeEnum = {
|
|
8279
|
-
Public: 'public',
|
|
8280
|
-
Private: 'private',
|
|
8281
|
-
Invitation: 'invitation'
|
|
8282
|
-
};
|
|
8283
|
-
/**
|
|
8284
|
-
* @export
|
|
8285
|
-
*/
|
|
8286
|
-
exports.GetDailyEventsTypeEnum = {
|
|
8287
|
-
Event: 'event',
|
|
8288
|
-
Closure: 'closure'
|
|
8289
|
-
};
|
|
8290
|
-
/**
|
|
8291
|
-
* @export
|
|
8292
|
-
*/
|
|
8293
|
-
exports.GetMonthlyEventsVisibilityTypeEnum = {
|
|
8294
|
-
Public: 'public',
|
|
8295
|
-
Private: 'private',
|
|
8296
|
-
Invitation: 'invitation'
|
|
8297
|
-
};
|
|
8298
|
-
/**
|
|
8299
|
-
* @export
|
|
8300
|
-
*/
|
|
8301
|
-
exports.GetMonthlyEventsTypeEnum = {
|
|
8302
|
-
Event: 'event',
|
|
8303
|
-
Closure: 'closure'
|
|
8304
|
-
};
|
|
8305
|
-
/**
|
|
8306
|
-
* @export
|
|
8307
|
-
*/
|
|
8308
|
-
exports.GetWeeklyEventsVisibilityTypeEnum = {
|
|
8309
|
-
Public: 'public',
|
|
8310
|
-
Private: 'private',
|
|
8311
|
-
Invitation: 'invitation'
|
|
8312
|
-
};
|
|
8313
|
-
/**
|
|
8314
|
-
* @export
|
|
8315
|
-
*/
|
|
8316
|
-
exports.GetWeeklyEventsTypeEnum = {
|
|
8317
|
-
Event: 'event',
|
|
8318
|
-
Closure: 'closure'
|
|
8319
|
-
};
|
|
8320
7766
|
/**
|
|
8321
7767
|
* SportsManagerApi - axios parameter creator
|
|
8322
7768
|
* @export
|