@tennac-booking/sdk 1.0.141 → 1.0.143
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 +11 -0
- package/README.md +18 -0
- package/api.ts +1056 -12
- package/dist/api.d.ts +720 -4
- package/dist/api.js +494 -11
- package/dist/esm/api.d.ts +720 -4
- package/dist/esm/api.js +490 -7
- package/docs/BookingsPerDayItem.md +30 -0
- package/docs/BookingsPerDayResponse.md +24 -0
- package/docs/ClubAnalyticsStaffApi.md +388 -2
- package/docs/ClubNewBookingsResponse.md +32 -0
- package/docs/ClubNewSubscribersResponse.md +32 -0
- package/docs/ClubSubscriberSummaryResponse.md +20 -0
- package/docs/LeastBookedTimeSlotItem.md +26 -0
- package/docs/LeastBookedTimeSlotsResponse.md +24 -0
- package/docs/LeastBookedWeekdayResponse.md +26 -0
- package/docs/MonthlyTurnoverResponse.md +8 -0
- package/docs/NoShowRateResponse.md +28 -0
- package/docs/RetentionRateResponse.md +8 -0
- package/docs/TrendDirection.md +12 -0
- package/docs/WeekdayAverageItem.md +28 -0
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -305,6 +305,16 @@ export const SurfaceType = {
|
|
|
305
305
|
Carpet: 'carpet',
|
|
306
306
|
Wooden: 'wooden'
|
|
307
307
|
};
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @export
|
|
311
|
+
* @enum {string}
|
|
312
|
+
*/
|
|
313
|
+
export const TrendDirection = {
|
|
314
|
+
Up: 'up',
|
|
315
|
+
Down: 'down',
|
|
316
|
+
Steady: 'steady'
|
|
317
|
+
};
|
|
308
318
|
export const UpdateClubMemberRequestRoleEnum = {
|
|
309
319
|
Admin: 'admin',
|
|
310
320
|
Manager: 'manager',
|
|
@@ -2039,6 +2049,41 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
2039
2049
|
options: localVarRequestOptions,
|
|
2040
2050
|
};
|
|
2041
2051
|
}),
|
|
2052
|
+
/**
|
|
2053
|
+
* Nombre de réservations par jour en fonction des slots
|
|
2054
|
+
* @param {string} [startDate]
|
|
2055
|
+
* @param {string} [endDate]
|
|
2056
|
+
* @param {*} [options] Override http request option.
|
|
2057
|
+
* @throws {RequiredError}
|
|
2058
|
+
*/
|
|
2059
|
+
getBookingsPerDay: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
2060
|
+
const localVarPath = `/api/club-analytics/bookings/per-day`;
|
|
2061
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2063
|
+
let baseOptions;
|
|
2064
|
+
if (configuration) {
|
|
2065
|
+
baseOptions = configuration.baseOptions;
|
|
2066
|
+
}
|
|
2067
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2068
|
+
const localVarHeaderParameter = {};
|
|
2069
|
+
const localVarQueryParameter = {};
|
|
2070
|
+
// authentication bearerAuth required
|
|
2071
|
+
// http bearer authentication required
|
|
2072
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2073
|
+
if (startDate !== undefined) {
|
|
2074
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
2075
|
+
}
|
|
2076
|
+
if (endDate !== undefined) {
|
|
2077
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
2078
|
+
}
|
|
2079
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2080
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2081
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2082
|
+
return {
|
|
2083
|
+
url: toPathString(localVarUrlObj),
|
|
2084
|
+
options: localVarRequestOptions,
|
|
2085
|
+
};
|
|
2086
|
+
}),
|
|
2042
2087
|
/**
|
|
2043
2088
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2044
2089
|
* @param {string} playerId
|
|
@@ -2183,6 +2228,33 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
2183
2228
|
options: localVarRequestOptions,
|
|
2184
2229
|
};
|
|
2185
2230
|
}),
|
|
2231
|
+
/**
|
|
2232
|
+
* Nombre total d\'abonnés actifs du club
|
|
2233
|
+
* @param {*} [options] Override http request option.
|
|
2234
|
+
* @throws {RequiredError}
|
|
2235
|
+
*/
|
|
2236
|
+
getClubSubscribersSummary: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2237
|
+
const localVarPath = `/api/club-analytics/subscribers/total`;
|
|
2238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2240
|
+
let baseOptions;
|
|
2241
|
+
if (configuration) {
|
|
2242
|
+
baseOptions = configuration.baseOptions;
|
|
2243
|
+
}
|
|
2244
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2245
|
+
const localVarHeaderParameter = {};
|
|
2246
|
+
const localVarQueryParameter = {};
|
|
2247
|
+
// authentication bearerAuth required
|
|
2248
|
+
// http bearer authentication required
|
|
2249
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2252
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2253
|
+
return {
|
|
2254
|
+
url: toPathString(localVarUrlObj),
|
|
2255
|
+
options: localVarRequestOptions,
|
|
2256
|
+
};
|
|
2257
|
+
}),
|
|
2186
2258
|
/**
|
|
2187
2259
|
* Récupère le chiffre d\'affaires quotidien
|
|
2188
2260
|
* @param {string} date
|
|
@@ -2305,6 +2377,64 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
2305
2377
|
options: localVarRequestOptions,
|
|
2306
2378
|
};
|
|
2307
2379
|
}),
|
|
2380
|
+
/**
|
|
2381
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
2382
|
+
* @param {number} [limit]
|
|
2383
|
+
* @param {*} [options] Override http request option.
|
|
2384
|
+
* @throws {RequiredError}
|
|
2385
|
+
*/
|
|
2386
|
+
getLeastBookedTimeSlots: (limit_1, ...args_1) => __awaiter(this, [limit_1, ...args_1], void 0, function* (limit, options = {}) {
|
|
2387
|
+
const localVarPath = `/api/club-analytics/bookings/least-booked-time-slots`;
|
|
2388
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2389
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2390
|
+
let baseOptions;
|
|
2391
|
+
if (configuration) {
|
|
2392
|
+
baseOptions = configuration.baseOptions;
|
|
2393
|
+
}
|
|
2394
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2395
|
+
const localVarHeaderParameter = {};
|
|
2396
|
+
const localVarQueryParameter = {};
|
|
2397
|
+
// authentication bearerAuth required
|
|
2398
|
+
// http bearer authentication required
|
|
2399
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2400
|
+
if (limit !== undefined) {
|
|
2401
|
+
localVarQueryParameter['limit'] = limit;
|
|
2402
|
+
}
|
|
2403
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2404
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2405
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2406
|
+
return {
|
|
2407
|
+
url: toPathString(localVarUrlObj),
|
|
2408
|
+
options: localVarRequestOptions,
|
|
2409
|
+
};
|
|
2410
|
+
}),
|
|
2411
|
+
/**
|
|
2412
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
2413
|
+
* @param {*} [options] Override http request option.
|
|
2414
|
+
* @throws {RequiredError}
|
|
2415
|
+
*/
|
|
2416
|
+
getLeastBookedWeekday: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2417
|
+
const localVarPath = `/api/club-analytics/bookings/least-booked-weekday`;
|
|
2418
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2419
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2420
|
+
let baseOptions;
|
|
2421
|
+
if (configuration) {
|
|
2422
|
+
baseOptions = configuration.baseOptions;
|
|
2423
|
+
}
|
|
2424
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2425
|
+
const localVarHeaderParameter = {};
|
|
2426
|
+
const localVarQueryParameter = {};
|
|
2427
|
+
// authentication bearerAuth required
|
|
2428
|
+
// http bearer authentication required
|
|
2429
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2430
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2431
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2432
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2433
|
+
return {
|
|
2434
|
+
url: toPathString(localVarUrlObj),
|
|
2435
|
+
options: localVarRequestOptions,
|
|
2436
|
+
};
|
|
2437
|
+
}),
|
|
2308
2438
|
/**
|
|
2309
2439
|
* Récupère le chiffre d\'affaires mensuel
|
|
2310
2440
|
* @param {string} year
|
|
@@ -2344,6 +2474,111 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
2344
2474
|
options: localVarRequestOptions,
|
|
2345
2475
|
};
|
|
2346
2476
|
}),
|
|
2477
|
+
/**
|
|
2478
|
+
* Nouvelles réservations créées sur une période
|
|
2479
|
+
* @param {string} [startDate]
|
|
2480
|
+
* @param {string} [endDate]
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
getNewBookingsCount: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
2485
|
+
const localVarPath = `/api/club-analytics/bookings/new`;
|
|
2486
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2487
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2488
|
+
let baseOptions;
|
|
2489
|
+
if (configuration) {
|
|
2490
|
+
baseOptions = configuration.baseOptions;
|
|
2491
|
+
}
|
|
2492
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2493
|
+
const localVarHeaderParameter = {};
|
|
2494
|
+
const localVarQueryParameter = {};
|
|
2495
|
+
// authentication bearerAuth required
|
|
2496
|
+
// http bearer authentication required
|
|
2497
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2498
|
+
if (startDate !== undefined) {
|
|
2499
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
2500
|
+
}
|
|
2501
|
+
if (endDate !== undefined) {
|
|
2502
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
2503
|
+
}
|
|
2504
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2505
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2506
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2507
|
+
return {
|
|
2508
|
+
url: toPathString(localVarUrlObj),
|
|
2509
|
+
options: localVarRequestOptions,
|
|
2510
|
+
};
|
|
2511
|
+
}),
|
|
2512
|
+
/**
|
|
2513
|
+
* Nouveaux abonnés sur une période
|
|
2514
|
+
* @param {string} [startDate]
|
|
2515
|
+
* @param {string} [endDate]
|
|
2516
|
+
* @param {*} [options] Override http request option.
|
|
2517
|
+
* @throws {RequiredError}
|
|
2518
|
+
*/
|
|
2519
|
+
getNewSubscribersCount: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
2520
|
+
const localVarPath = `/api/club-analytics/subscribers/new`;
|
|
2521
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2522
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2523
|
+
let baseOptions;
|
|
2524
|
+
if (configuration) {
|
|
2525
|
+
baseOptions = configuration.baseOptions;
|
|
2526
|
+
}
|
|
2527
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2528
|
+
const localVarHeaderParameter = {};
|
|
2529
|
+
const localVarQueryParameter = {};
|
|
2530
|
+
// authentication bearerAuth required
|
|
2531
|
+
// http bearer authentication required
|
|
2532
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2533
|
+
if (startDate !== undefined) {
|
|
2534
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
2535
|
+
}
|
|
2536
|
+
if (endDate !== undefined) {
|
|
2537
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
2538
|
+
}
|
|
2539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2541
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2542
|
+
return {
|
|
2543
|
+
url: toPathString(localVarUrlObj),
|
|
2544
|
+
options: localVarRequestOptions,
|
|
2545
|
+
};
|
|
2546
|
+
}),
|
|
2547
|
+
/**
|
|
2548
|
+
* Taux de no-show global ou sur une période
|
|
2549
|
+
* @param {string} [startDate]
|
|
2550
|
+
* @param {string} [endDate]
|
|
2551
|
+
* @param {*} [options] Override http request option.
|
|
2552
|
+
* @throws {RequiredError}
|
|
2553
|
+
*/
|
|
2554
|
+
getNoShowRate: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
2555
|
+
const localVarPath = `/api/club-analytics/bookings/no-show-rate`;
|
|
2556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2558
|
+
let baseOptions;
|
|
2559
|
+
if (configuration) {
|
|
2560
|
+
baseOptions = configuration.baseOptions;
|
|
2561
|
+
}
|
|
2562
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2563
|
+
const localVarHeaderParameter = {};
|
|
2564
|
+
const localVarQueryParameter = {};
|
|
2565
|
+
// authentication bearerAuth required
|
|
2566
|
+
// http bearer authentication required
|
|
2567
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2568
|
+
if (startDate !== undefined) {
|
|
2569
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
2570
|
+
}
|
|
2571
|
+
if (endDate !== undefined) {
|
|
2572
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
2573
|
+
}
|
|
2574
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2576
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2577
|
+
return {
|
|
2578
|
+
url: toPathString(localVarUrlObj),
|
|
2579
|
+
options: localVarRequestOptions,
|
|
2580
|
+
};
|
|
2581
|
+
}),
|
|
2347
2582
|
/**
|
|
2348
2583
|
* Récupère le nombre d\'utilisateurs du club
|
|
2349
2584
|
* @param {*} [options] Override http request option.
|
|
@@ -2373,10 +2608,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
2373
2608
|
}),
|
|
2374
2609
|
/**
|
|
2375
2610
|
* Calcule le taux de fidélisation des joueurs
|
|
2611
|
+
* @param {string} [startDate]
|
|
2612
|
+
* @param {string} [endDate]
|
|
2376
2613
|
* @param {*} [options] Override http request option.
|
|
2377
2614
|
* @throws {RequiredError}
|
|
2378
2615
|
*/
|
|
2379
|
-
getRetentionRate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2616
|
+
getRetentionRate: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
2380
2617
|
const localVarPath = `/api/club-analytics/retention-rate`;
|
|
2381
2618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2382
2619
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2390,6 +2627,12 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
2390
2627
|
// authentication bearerAuth required
|
|
2391
2628
|
// http bearer authentication required
|
|
2392
2629
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2630
|
+
if (startDate !== undefined) {
|
|
2631
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
2632
|
+
}
|
|
2633
|
+
if (endDate !== undefined) {
|
|
2634
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
2635
|
+
}
|
|
2393
2636
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2394
2637
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2395
2638
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2536,6 +2779,22 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
2536
2779
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2537
2780
|
});
|
|
2538
2781
|
},
|
|
2782
|
+
/**
|
|
2783
|
+
* Nombre de réservations par jour en fonction des slots
|
|
2784
|
+
* @param {string} [startDate]
|
|
2785
|
+
* @param {string} [endDate]
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
getBookingsPerDay(startDate, endDate, options) {
|
|
2790
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2791
|
+
var _a, _b, _c;
|
|
2792
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingsPerDay(startDate, endDate, options);
|
|
2793
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2794
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getBookingsPerDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2795
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2796
|
+
});
|
|
2797
|
+
},
|
|
2539
2798
|
/**
|
|
2540
2799
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2541
2800
|
* @param {string} playerId
|
|
@@ -2601,6 +2860,20 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
2601
2860
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2602
2861
|
});
|
|
2603
2862
|
},
|
|
2863
|
+
/**
|
|
2864
|
+
* Nombre total d\'abonnés actifs du club
|
|
2865
|
+
* @param {*} [options] Override http request option.
|
|
2866
|
+
* @throws {RequiredError}
|
|
2867
|
+
*/
|
|
2868
|
+
getClubSubscribersSummary(options) {
|
|
2869
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2870
|
+
var _a, _b, _c;
|
|
2871
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSubscribersSummary(options);
|
|
2872
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2873
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubSubscribersSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2875
|
+
});
|
|
2876
|
+
},
|
|
2604
2877
|
/**
|
|
2605
2878
|
* Récupère le chiffre d\'affaires quotidien
|
|
2606
2879
|
* @param {string} date
|
|
@@ -2660,6 +2933,35 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
2660
2933
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2661
2934
|
});
|
|
2662
2935
|
},
|
|
2936
|
+
/**
|
|
2937
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
2938
|
+
* @param {number} [limit]
|
|
2939
|
+
* @param {*} [options] Override http request option.
|
|
2940
|
+
* @throws {RequiredError}
|
|
2941
|
+
*/
|
|
2942
|
+
getLeastBookedTimeSlots(limit, options) {
|
|
2943
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2944
|
+
var _a, _b, _c;
|
|
2945
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeastBookedTimeSlots(limit, options);
|
|
2946
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2947
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedTimeSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2948
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2949
|
+
});
|
|
2950
|
+
},
|
|
2951
|
+
/**
|
|
2952
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
2953
|
+
* @param {*} [options] Override http request option.
|
|
2954
|
+
* @throws {RequiredError}
|
|
2955
|
+
*/
|
|
2956
|
+
getLeastBookedWeekday(options) {
|
|
2957
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2958
|
+
var _a, _b, _c;
|
|
2959
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeastBookedWeekday(options);
|
|
2960
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2961
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedWeekday']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2962
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2963
|
+
});
|
|
2964
|
+
},
|
|
2663
2965
|
/**
|
|
2664
2966
|
* Récupère le chiffre d\'affaires mensuel
|
|
2665
2967
|
* @param {string} year
|
|
@@ -2676,6 +2978,54 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
2676
2978
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2677
2979
|
});
|
|
2678
2980
|
},
|
|
2981
|
+
/**
|
|
2982
|
+
* Nouvelles réservations créées sur une période
|
|
2983
|
+
* @param {string} [startDate]
|
|
2984
|
+
* @param {string} [endDate]
|
|
2985
|
+
* @param {*} [options] Override http request option.
|
|
2986
|
+
* @throws {RequiredError}
|
|
2987
|
+
*/
|
|
2988
|
+
getNewBookingsCount(startDate, endDate, options) {
|
|
2989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2990
|
+
var _a, _b, _c;
|
|
2991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNewBookingsCount(startDate, endDate, options);
|
|
2992
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2993
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getNewBookingsCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2994
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2995
|
+
});
|
|
2996
|
+
},
|
|
2997
|
+
/**
|
|
2998
|
+
* Nouveaux abonnés sur une période
|
|
2999
|
+
* @param {string} [startDate]
|
|
3000
|
+
* @param {string} [endDate]
|
|
3001
|
+
* @param {*} [options] Override http request option.
|
|
3002
|
+
* @throws {RequiredError}
|
|
3003
|
+
*/
|
|
3004
|
+
getNewSubscribersCount(startDate, endDate, options) {
|
|
3005
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3006
|
+
var _a, _b, _c;
|
|
3007
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNewSubscribersCount(startDate, endDate, options);
|
|
3008
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3009
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getNewSubscribersCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3010
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3011
|
+
});
|
|
3012
|
+
},
|
|
3013
|
+
/**
|
|
3014
|
+
* Taux de no-show global ou sur une période
|
|
3015
|
+
* @param {string} [startDate]
|
|
3016
|
+
* @param {string} [endDate]
|
|
3017
|
+
* @param {*} [options] Override http request option.
|
|
3018
|
+
* @throws {RequiredError}
|
|
3019
|
+
*/
|
|
3020
|
+
getNoShowRate(startDate, endDate, options) {
|
|
3021
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3022
|
+
var _a, _b, _c;
|
|
3023
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNoShowRate(startDate, endDate, options);
|
|
3024
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3025
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getNoShowRate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3026
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3027
|
+
});
|
|
3028
|
+
},
|
|
2679
3029
|
/**
|
|
2680
3030
|
* Récupère le nombre d\'utilisateurs du club
|
|
2681
3031
|
* @param {*} [options] Override http request option.
|
|
@@ -2692,13 +3042,15 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
2692
3042
|
},
|
|
2693
3043
|
/**
|
|
2694
3044
|
* Calcule le taux de fidélisation des joueurs
|
|
3045
|
+
* @param {string} [startDate]
|
|
3046
|
+
* @param {string} [endDate]
|
|
2695
3047
|
* @param {*} [options] Override http request option.
|
|
2696
3048
|
* @throws {RequiredError}
|
|
2697
3049
|
*/
|
|
2698
|
-
getRetentionRate(options) {
|
|
3050
|
+
getRetentionRate(startDate, endDate, options) {
|
|
2699
3051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2700
3052
|
var _a, _b, _c;
|
|
2701
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRetentionRate(options);
|
|
3053
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRetentionRate(startDate, endDate, options);
|
|
2702
3054
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2703
3055
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getRetentionRate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2704
3056
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2779,6 +3131,15 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2779
3131
|
getAnalyticsBySport(requestParameters, options) {
|
|
2780
3132
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
2781
3133
|
},
|
|
3134
|
+
/**
|
|
3135
|
+
* Nombre de réservations par jour en fonction des slots
|
|
3136
|
+
* @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
|
|
3137
|
+
* @param {*} [options] Override http request option.
|
|
3138
|
+
* @throws {RequiredError}
|
|
3139
|
+
*/
|
|
3140
|
+
getBookingsPerDay(requestParameters = {}, options) {
|
|
3141
|
+
return localVarFp.getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
3142
|
+
},
|
|
2782
3143
|
/**
|
|
2783
3144
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2784
3145
|
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
@@ -2815,6 +3176,14 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2815
3176
|
getClubPlayers(requestParameters = {}, options) {
|
|
2816
3177
|
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
|
|
2817
3178
|
},
|
|
3179
|
+
/**
|
|
3180
|
+
* Nombre total d\'abonnés actifs du club
|
|
3181
|
+
* @param {*} [options] Override http request option.
|
|
3182
|
+
* @throws {RequiredError}
|
|
3183
|
+
*/
|
|
3184
|
+
getClubSubscribersSummary(options) {
|
|
3185
|
+
return localVarFp.getClubSubscribersSummary(options).then((request) => request(axios, basePath));
|
|
3186
|
+
},
|
|
2818
3187
|
/**
|
|
2819
3188
|
* Récupère le chiffre d\'affaires quotidien
|
|
2820
3189
|
* @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -2849,6 +3218,23 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2849
3218
|
getLastSixMonthsTurnover(options) {
|
|
2850
3219
|
return localVarFp.getLastSixMonthsTurnover(options).then((request) => request(axios, basePath));
|
|
2851
3220
|
},
|
|
3221
|
+
/**
|
|
3222
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
3223
|
+
* @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
|
|
3224
|
+
* @param {*} [options] Override http request option.
|
|
3225
|
+
* @throws {RequiredError}
|
|
3226
|
+
*/
|
|
3227
|
+
getLeastBookedTimeSlots(requestParameters = {}, options) {
|
|
3228
|
+
return localVarFp.getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
3229
|
+
},
|
|
3230
|
+
/**
|
|
3231
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
3232
|
+
* @param {*} [options] Override http request option.
|
|
3233
|
+
* @throws {RequiredError}
|
|
3234
|
+
*/
|
|
3235
|
+
getLeastBookedWeekday(options) {
|
|
3236
|
+
return localVarFp.getLeastBookedWeekday(options).then((request) => request(axios, basePath));
|
|
3237
|
+
},
|
|
2852
3238
|
/**
|
|
2853
3239
|
* Récupère le chiffre d\'affaires mensuel
|
|
2854
3240
|
* @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -2858,6 +3244,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2858
3244
|
getMonthlyTurnOver(requestParameters, options) {
|
|
2859
3245
|
return localVarFp.getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(axios, basePath));
|
|
2860
3246
|
},
|
|
3247
|
+
/**
|
|
3248
|
+
* Nouvelles réservations créées sur une période
|
|
3249
|
+
* @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
|
|
3250
|
+
* @param {*} [options] Override http request option.
|
|
3251
|
+
* @throws {RequiredError}
|
|
3252
|
+
*/
|
|
3253
|
+
getNewBookingsCount(requestParameters = {}, options) {
|
|
3254
|
+
return localVarFp.getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
3255
|
+
},
|
|
3256
|
+
/**
|
|
3257
|
+
* Nouveaux abonnés sur une période
|
|
3258
|
+
* @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
|
|
3259
|
+
* @param {*} [options] Override http request option.
|
|
3260
|
+
* @throws {RequiredError}
|
|
3261
|
+
*/
|
|
3262
|
+
getNewSubscribersCount(requestParameters = {}, options) {
|
|
3263
|
+
return localVarFp.getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
3264
|
+
},
|
|
3265
|
+
/**
|
|
3266
|
+
* Taux de no-show global ou sur une période
|
|
3267
|
+
* @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
|
|
3268
|
+
* @param {*} [options] Override http request option.
|
|
3269
|
+
* @throws {RequiredError}
|
|
3270
|
+
*/
|
|
3271
|
+
getNoShowRate(requestParameters = {}, options) {
|
|
3272
|
+
return localVarFp.getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
3273
|
+
},
|
|
2861
3274
|
/**
|
|
2862
3275
|
* Récupère le nombre d\'utilisateurs du club
|
|
2863
3276
|
* @param {*} [options] Override http request option.
|
|
@@ -2868,11 +3281,12 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2868
3281
|
},
|
|
2869
3282
|
/**
|
|
2870
3283
|
* Calcule le taux de fidélisation des joueurs
|
|
3284
|
+
* @param {ClubAnalyticsStaffApiGetRetentionRateRequest} requestParameters Request parameters.
|
|
2871
3285
|
* @param {*} [options] Override http request option.
|
|
2872
3286
|
* @throws {RequiredError}
|
|
2873
3287
|
*/
|
|
2874
|
-
getRetentionRate(options) {
|
|
2875
|
-
return localVarFp.getRetentionRate(options).then((request) => request(axios, basePath));
|
|
3288
|
+
getRetentionRate(requestParameters = {}, options) {
|
|
3289
|
+
return localVarFp.getRetentionRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
2876
3290
|
},
|
|
2877
3291
|
/**
|
|
2878
3292
|
* Récupère le chiffre d\'affaires par sport
|
|
@@ -2926,6 +3340,16 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2926
3340
|
getAnalyticsBySport(requestParameters, options) {
|
|
2927
3341
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
2928
3342
|
}
|
|
3343
|
+
/**
|
|
3344
|
+
* Nombre de réservations par jour en fonction des slots
|
|
3345
|
+
* @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
|
|
3346
|
+
* @param {*} [options] Override http request option.
|
|
3347
|
+
* @throws {RequiredError}
|
|
3348
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3349
|
+
*/
|
|
3350
|
+
getBookingsPerDay(requestParameters = {}, options) {
|
|
3351
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
3352
|
+
}
|
|
2929
3353
|
/**
|
|
2930
3354
|
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2931
3355
|
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
@@ -2966,6 +3390,15 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2966
3390
|
getClubPlayers(requestParameters = {}, options) {
|
|
2967
3391
|
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2968
3392
|
}
|
|
3393
|
+
/**
|
|
3394
|
+
* Nombre total d\'abonnés actifs du club
|
|
3395
|
+
* @param {*} [options] Override http request option.
|
|
3396
|
+
* @throws {RequiredError}
|
|
3397
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3398
|
+
*/
|
|
3399
|
+
getClubSubscribersSummary(options) {
|
|
3400
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubSubscribersSummary(options).then((request) => request(this.axios, this.basePath));
|
|
3401
|
+
}
|
|
2969
3402
|
/**
|
|
2970
3403
|
* Récupère le chiffre d\'affaires quotidien
|
|
2971
3404
|
* @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -3004,6 +3437,25 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
3004
3437
|
getLastSixMonthsTurnover(options) {
|
|
3005
3438
|
return ClubAnalyticsStaffApiFp(this.configuration).getLastSixMonthsTurnover(options).then((request) => request(this.axios, this.basePath));
|
|
3006
3439
|
}
|
|
3440
|
+
/**
|
|
3441
|
+
* Créneaux horaires les moins réservés (3 derniers mois)
|
|
3442
|
+
* @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
|
|
3443
|
+
* @param {*} [options] Override http request option.
|
|
3444
|
+
* @throws {RequiredError}
|
|
3445
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3446
|
+
*/
|
|
3447
|
+
getLeastBookedTimeSlots(requestParameters = {}, options) {
|
|
3448
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
3449
|
+
}
|
|
3450
|
+
/**
|
|
3451
|
+
* Jour de la semaine le moins réservé (3 derniers mois)
|
|
3452
|
+
* @param {*} [options] Override http request option.
|
|
3453
|
+
* @throws {RequiredError}
|
|
3454
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3455
|
+
*/
|
|
3456
|
+
getLeastBookedWeekday(options) {
|
|
3457
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedWeekday(options).then((request) => request(this.axios, this.basePath));
|
|
3458
|
+
}
|
|
3007
3459
|
/**
|
|
3008
3460
|
* Récupère le chiffre d\'affaires mensuel
|
|
3009
3461
|
* @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
@@ -3014,6 +3466,36 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
3014
3466
|
getMonthlyTurnOver(requestParameters, options) {
|
|
3015
3467
|
return ClubAnalyticsStaffApiFp(this.configuration).getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(this.axios, this.basePath));
|
|
3016
3468
|
}
|
|
3469
|
+
/**
|
|
3470
|
+
* Nouvelles réservations créées sur une période
|
|
3471
|
+
* @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
|
|
3472
|
+
* @param {*} [options] Override http request option.
|
|
3473
|
+
* @throws {RequiredError}
|
|
3474
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3475
|
+
*/
|
|
3476
|
+
getNewBookingsCount(requestParameters = {}, options) {
|
|
3477
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
3478
|
+
}
|
|
3479
|
+
/**
|
|
3480
|
+
* Nouveaux abonnés sur une période
|
|
3481
|
+
* @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
|
|
3482
|
+
* @param {*} [options] Override http request option.
|
|
3483
|
+
* @throws {RequiredError}
|
|
3484
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3485
|
+
*/
|
|
3486
|
+
getNewSubscribersCount(requestParameters = {}, options) {
|
|
3487
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
3488
|
+
}
|
|
3489
|
+
/**
|
|
3490
|
+
* Taux de no-show global ou sur une période
|
|
3491
|
+
* @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
|
|
3492
|
+
* @param {*} [options] Override http request option.
|
|
3493
|
+
* @throws {RequiredError}
|
|
3494
|
+
* @memberof ClubAnalyticsStaffApi
|
|
3495
|
+
*/
|
|
3496
|
+
getNoShowRate(requestParameters = {}, options) {
|
|
3497
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
3498
|
+
}
|
|
3017
3499
|
/**
|
|
3018
3500
|
* Récupère le nombre d\'utilisateurs du club
|
|
3019
3501
|
* @param {*} [options] Override http request option.
|
|
@@ -3025,12 +3507,13 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
3025
3507
|
}
|
|
3026
3508
|
/**
|
|
3027
3509
|
* Calcule le taux de fidélisation des joueurs
|
|
3510
|
+
* @param {ClubAnalyticsStaffApiGetRetentionRateRequest} requestParameters Request parameters.
|
|
3028
3511
|
* @param {*} [options] Override http request option.
|
|
3029
3512
|
* @throws {RequiredError}
|
|
3030
3513
|
* @memberof ClubAnalyticsStaffApi
|
|
3031
3514
|
*/
|
|
3032
|
-
getRetentionRate(options) {
|
|
3033
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getRetentionRate(options).then((request) => request(this.axios, this.basePath));
|
|
3515
|
+
getRetentionRate(requestParameters = {}, options) {
|
|
3516
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getRetentionRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
3034
3517
|
}
|
|
3035
3518
|
/**
|
|
3036
3519
|
* Récupère le chiffre d\'affaires par sport
|