@tennac-booking/sdk 1.0.140 → 1.0.142

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/dist/esm/api.js CHANGED
@@ -366,6 +366,20 @@ export const VisibilityType = {
366
366
  Private: 'private',
367
367
  Invitation: 'invitation'
368
368
  };
369
+ /**
370
+ *
371
+ * @export
372
+ * @enum {string}
373
+ */
374
+ export const WeekdayKey = {
375
+ Monday: 'monday',
376
+ Tuesday: 'tuesday',
377
+ Wednesday: 'wednesday',
378
+ Thursday: 'thursday',
379
+ Friday: 'friday',
380
+ Saturday: 'saturday',
381
+ Sunday: 'sunday'
382
+ };
369
383
  /**
370
384
  * BookingsApi - axios parameter creator
371
385
  * @export
@@ -2025,6 +2039,41 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
2025
2039
  options: localVarRequestOptions,
2026
2040
  };
2027
2041
  }),
2042
+ /**
2043
+ * Nombre de réservations par jour en fonction des slots
2044
+ * @param {string} [startDate]
2045
+ * @param {string} [endDate]
2046
+ * @param {*} [options] Override http request option.
2047
+ * @throws {RequiredError}
2048
+ */
2049
+ getBookingsPerDay: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
2050
+ const localVarPath = `/api/club-analytics/bookings/per-day`;
2051
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2052
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2053
+ let baseOptions;
2054
+ if (configuration) {
2055
+ baseOptions = configuration.baseOptions;
2056
+ }
2057
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2058
+ const localVarHeaderParameter = {};
2059
+ const localVarQueryParameter = {};
2060
+ // authentication bearerAuth required
2061
+ // http bearer authentication required
2062
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2063
+ if (startDate !== undefined) {
2064
+ localVarQueryParameter['startDate'] = startDate;
2065
+ }
2066
+ if (endDate !== undefined) {
2067
+ localVarQueryParameter['endDate'] = endDate;
2068
+ }
2069
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2070
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2071
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2072
+ return {
2073
+ url: toPathString(localVarUrlObj),
2074
+ options: localVarRequestOptions,
2075
+ };
2076
+ }),
2028
2077
  /**
2029
2078
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2030
2079
  * @param {string} playerId
@@ -2169,6 +2218,33 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
2169
2218
  options: localVarRequestOptions,
2170
2219
  };
2171
2220
  }),
2221
+ /**
2222
+ * Nombre total d\'abonnés actifs du club
2223
+ * @param {*} [options] Override http request option.
2224
+ * @throws {RequiredError}
2225
+ */
2226
+ getClubSubscribersSummary: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2227
+ const localVarPath = `/api/club-analytics/subscribers/total`;
2228
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2229
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2230
+ let baseOptions;
2231
+ if (configuration) {
2232
+ baseOptions = configuration.baseOptions;
2233
+ }
2234
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2235
+ const localVarHeaderParameter = {};
2236
+ const localVarQueryParameter = {};
2237
+ // authentication bearerAuth required
2238
+ // http bearer authentication required
2239
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2240
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2241
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2242
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2243
+ return {
2244
+ url: toPathString(localVarUrlObj),
2245
+ options: localVarRequestOptions,
2246
+ };
2247
+ }),
2172
2248
  /**
2173
2249
  * Récupère le chiffre d\'affaires quotidien
2174
2250
  * @param {string} date
@@ -2291,6 +2367,64 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
2291
2367
  options: localVarRequestOptions,
2292
2368
  };
2293
2369
  }),
2370
+ /**
2371
+ * Créneaux horaires les moins réservés (3 derniers mois)
2372
+ * @param {number} [limit]
2373
+ * @param {*} [options] Override http request option.
2374
+ * @throws {RequiredError}
2375
+ */
2376
+ getLeastBookedTimeSlots: (limit_1, ...args_1) => __awaiter(this, [limit_1, ...args_1], void 0, function* (limit, options = {}) {
2377
+ const localVarPath = `/api/club-analytics/bookings/least-booked-time-slots`;
2378
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2379
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2380
+ let baseOptions;
2381
+ if (configuration) {
2382
+ baseOptions = configuration.baseOptions;
2383
+ }
2384
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2385
+ const localVarHeaderParameter = {};
2386
+ const localVarQueryParameter = {};
2387
+ // authentication bearerAuth required
2388
+ // http bearer authentication required
2389
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2390
+ if (limit !== undefined) {
2391
+ localVarQueryParameter['limit'] = limit;
2392
+ }
2393
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2394
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2395
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2396
+ return {
2397
+ url: toPathString(localVarUrlObj),
2398
+ options: localVarRequestOptions,
2399
+ };
2400
+ }),
2401
+ /**
2402
+ * Jour de la semaine le moins réservé (3 derniers mois)
2403
+ * @param {*} [options] Override http request option.
2404
+ * @throws {RequiredError}
2405
+ */
2406
+ getLeastBookedWeekday: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2407
+ const localVarPath = `/api/club-analytics/bookings/least-booked-weekday`;
2408
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2409
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2410
+ let baseOptions;
2411
+ if (configuration) {
2412
+ baseOptions = configuration.baseOptions;
2413
+ }
2414
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2415
+ const localVarHeaderParameter = {};
2416
+ const localVarQueryParameter = {};
2417
+ // authentication bearerAuth required
2418
+ // http bearer authentication required
2419
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2420
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2422
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2423
+ return {
2424
+ url: toPathString(localVarUrlObj),
2425
+ options: localVarRequestOptions,
2426
+ };
2427
+ }),
2294
2428
  /**
2295
2429
  * Récupère le chiffre d\'affaires mensuel
2296
2430
  * @param {string} year
@@ -2330,6 +2464,111 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
2330
2464
  options: localVarRequestOptions,
2331
2465
  };
2332
2466
  }),
2467
+ /**
2468
+ * Nouvelles réservations créées sur une période
2469
+ * @param {string} [startDate]
2470
+ * @param {string} [endDate]
2471
+ * @param {*} [options] Override http request option.
2472
+ * @throws {RequiredError}
2473
+ */
2474
+ getNewBookingsCount: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
2475
+ const localVarPath = `/api/club-analytics/bookings/new`;
2476
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2478
+ let baseOptions;
2479
+ if (configuration) {
2480
+ baseOptions = configuration.baseOptions;
2481
+ }
2482
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2483
+ const localVarHeaderParameter = {};
2484
+ const localVarQueryParameter = {};
2485
+ // authentication bearerAuth required
2486
+ // http bearer authentication required
2487
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2488
+ if (startDate !== undefined) {
2489
+ localVarQueryParameter['startDate'] = startDate;
2490
+ }
2491
+ if (endDate !== undefined) {
2492
+ localVarQueryParameter['endDate'] = endDate;
2493
+ }
2494
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2496
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2497
+ return {
2498
+ url: toPathString(localVarUrlObj),
2499
+ options: localVarRequestOptions,
2500
+ };
2501
+ }),
2502
+ /**
2503
+ * Nouveaux abonnés sur une période
2504
+ * @param {string} [startDate]
2505
+ * @param {string} [endDate]
2506
+ * @param {*} [options] Override http request option.
2507
+ * @throws {RequiredError}
2508
+ */
2509
+ getNewSubscribersCount: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
2510
+ const localVarPath = `/api/club-analytics/subscribers/new`;
2511
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2512
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2513
+ let baseOptions;
2514
+ if (configuration) {
2515
+ baseOptions = configuration.baseOptions;
2516
+ }
2517
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2518
+ const localVarHeaderParameter = {};
2519
+ const localVarQueryParameter = {};
2520
+ // authentication bearerAuth required
2521
+ // http bearer authentication required
2522
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2523
+ if (startDate !== undefined) {
2524
+ localVarQueryParameter['startDate'] = startDate;
2525
+ }
2526
+ if (endDate !== undefined) {
2527
+ localVarQueryParameter['endDate'] = endDate;
2528
+ }
2529
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2530
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2531
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2532
+ return {
2533
+ url: toPathString(localVarUrlObj),
2534
+ options: localVarRequestOptions,
2535
+ };
2536
+ }),
2537
+ /**
2538
+ * Taux de no-show global ou sur une période
2539
+ * @param {string} [startDate]
2540
+ * @param {string} [endDate]
2541
+ * @param {*} [options] Override http request option.
2542
+ * @throws {RequiredError}
2543
+ */
2544
+ getNoShowRate: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
2545
+ const localVarPath = `/api/club-analytics/bookings/no-show-rate`;
2546
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2547
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2548
+ let baseOptions;
2549
+ if (configuration) {
2550
+ baseOptions = configuration.baseOptions;
2551
+ }
2552
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2553
+ const localVarHeaderParameter = {};
2554
+ const localVarQueryParameter = {};
2555
+ // authentication bearerAuth required
2556
+ // http bearer authentication required
2557
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2558
+ if (startDate !== undefined) {
2559
+ localVarQueryParameter['startDate'] = startDate;
2560
+ }
2561
+ if (endDate !== undefined) {
2562
+ localVarQueryParameter['endDate'] = endDate;
2563
+ }
2564
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2565
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2566
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2567
+ return {
2568
+ url: toPathString(localVarUrlObj),
2569
+ options: localVarRequestOptions,
2570
+ };
2571
+ }),
2333
2572
  /**
2334
2573
  * Récupère le nombre d\'utilisateurs du club
2335
2574
  * @param {*} [options] Override http request option.
@@ -2522,6 +2761,22 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
2522
2761
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2523
2762
  });
2524
2763
  },
2764
+ /**
2765
+ * Nombre de réservations par jour en fonction des slots
2766
+ * @param {string} [startDate]
2767
+ * @param {string} [endDate]
2768
+ * @param {*} [options] Override http request option.
2769
+ * @throws {RequiredError}
2770
+ */
2771
+ getBookingsPerDay(startDate, endDate, options) {
2772
+ return __awaiter(this, void 0, void 0, function* () {
2773
+ var _a, _b, _c;
2774
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingsPerDay(startDate, endDate, options);
2775
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2776
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getBookingsPerDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2777
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2778
+ });
2779
+ },
2525
2780
  /**
2526
2781
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2527
2782
  * @param {string} playerId
@@ -2587,6 +2842,20 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
2587
2842
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2588
2843
  });
2589
2844
  },
2845
+ /**
2846
+ * Nombre total d\'abonnés actifs du club
2847
+ * @param {*} [options] Override http request option.
2848
+ * @throws {RequiredError}
2849
+ */
2850
+ getClubSubscribersSummary(options) {
2851
+ return __awaiter(this, void 0, void 0, function* () {
2852
+ var _a, _b, _c;
2853
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubSubscribersSummary(options);
2854
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2855
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubSubscribersSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2856
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2857
+ });
2858
+ },
2590
2859
  /**
2591
2860
  * Récupère le chiffre d\'affaires quotidien
2592
2861
  * @param {string} date
@@ -2646,6 +2915,35 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
2646
2915
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2647
2916
  });
2648
2917
  },
2918
+ /**
2919
+ * Créneaux horaires les moins réservés (3 derniers mois)
2920
+ * @param {number} [limit]
2921
+ * @param {*} [options] Override http request option.
2922
+ * @throws {RequiredError}
2923
+ */
2924
+ getLeastBookedTimeSlots(limit, options) {
2925
+ return __awaiter(this, void 0, void 0, function* () {
2926
+ var _a, _b, _c;
2927
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeastBookedTimeSlots(limit, options);
2928
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2929
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedTimeSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2930
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2931
+ });
2932
+ },
2933
+ /**
2934
+ * Jour de la semaine le moins réservé (3 derniers mois)
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ */
2938
+ getLeastBookedWeekday(options) {
2939
+ return __awaiter(this, void 0, void 0, function* () {
2940
+ var _a, _b, _c;
2941
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeastBookedWeekday(options);
2942
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2943
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getLeastBookedWeekday']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2944
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2945
+ });
2946
+ },
2649
2947
  /**
2650
2948
  * Récupère le chiffre d\'affaires mensuel
2651
2949
  * @param {string} year
@@ -2662,6 +2960,54 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
2662
2960
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2663
2961
  });
2664
2962
  },
2963
+ /**
2964
+ * Nouvelles réservations créées sur une période
2965
+ * @param {string} [startDate]
2966
+ * @param {string} [endDate]
2967
+ * @param {*} [options] Override http request option.
2968
+ * @throws {RequiredError}
2969
+ */
2970
+ getNewBookingsCount(startDate, endDate, options) {
2971
+ return __awaiter(this, void 0, void 0, function* () {
2972
+ var _a, _b, _c;
2973
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNewBookingsCount(startDate, endDate, options);
2974
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2975
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getNewBookingsCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2976
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2977
+ });
2978
+ },
2979
+ /**
2980
+ * Nouveaux abonnés sur une période
2981
+ * @param {string} [startDate]
2982
+ * @param {string} [endDate]
2983
+ * @param {*} [options] Override http request option.
2984
+ * @throws {RequiredError}
2985
+ */
2986
+ getNewSubscribersCount(startDate, endDate, options) {
2987
+ return __awaiter(this, void 0, void 0, function* () {
2988
+ var _a, _b, _c;
2989
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNewSubscribersCount(startDate, endDate, options);
2990
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2991
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getNewSubscribersCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2992
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2993
+ });
2994
+ },
2995
+ /**
2996
+ * Taux de no-show global ou sur une période
2997
+ * @param {string} [startDate]
2998
+ * @param {string} [endDate]
2999
+ * @param {*} [options] Override http request option.
3000
+ * @throws {RequiredError}
3001
+ */
3002
+ getNoShowRate(startDate, endDate, options) {
3003
+ return __awaiter(this, void 0, void 0, function* () {
3004
+ var _a, _b, _c;
3005
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNoShowRate(startDate, endDate, options);
3006
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3007
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getNoShowRate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3008
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3009
+ });
3010
+ },
2665
3011
  /**
2666
3012
  * Récupère le nombre d\'utilisateurs du club
2667
3013
  * @param {*} [options] Override http request option.
@@ -2765,6 +3111,15 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
2765
3111
  getAnalyticsBySport(requestParameters, options) {
2766
3112
  return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
2767
3113
  },
3114
+ /**
3115
+ * Nombre de réservations par jour en fonction des slots
3116
+ * @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
3117
+ * @param {*} [options] Override http request option.
3118
+ * @throws {RequiredError}
3119
+ */
3120
+ getBookingsPerDay(requestParameters = {}, options) {
3121
+ return localVarFp.getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
3122
+ },
2768
3123
  /**
2769
3124
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2770
3125
  * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
@@ -2801,6 +3156,14 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
2801
3156
  getClubPlayers(requestParameters = {}, options) {
2802
3157
  return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
2803
3158
  },
3159
+ /**
3160
+ * Nombre total d\'abonnés actifs du club
3161
+ * @param {*} [options] Override http request option.
3162
+ * @throws {RequiredError}
3163
+ */
3164
+ getClubSubscribersSummary(options) {
3165
+ return localVarFp.getClubSubscribersSummary(options).then((request) => request(axios, basePath));
3166
+ },
2804
3167
  /**
2805
3168
  * Récupère le chiffre d\'affaires quotidien
2806
3169
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -2835,6 +3198,23 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
2835
3198
  getLastSixMonthsTurnover(options) {
2836
3199
  return localVarFp.getLastSixMonthsTurnover(options).then((request) => request(axios, basePath));
2837
3200
  },
3201
+ /**
3202
+ * Créneaux horaires les moins réservés (3 derniers mois)
3203
+ * @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
3204
+ * @param {*} [options] Override http request option.
3205
+ * @throws {RequiredError}
3206
+ */
3207
+ getLeastBookedTimeSlots(requestParameters = {}, options) {
3208
+ return localVarFp.getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(axios, basePath));
3209
+ },
3210
+ /**
3211
+ * Jour de la semaine le moins réservé (3 derniers mois)
3212
+ * @param {*} [options] Override http request option.
3213
+ * @throws {RequiredError}
3214
+ */
3215
+ getLeastBookedWeekday(options) {
3216
+ return localVarFp.getLeastBookedWeekday(options).then((request) => request(axios, basePath));
3217
+ },
2838
3218
  /**
2839
3219
  * Récupère le chiffre d\'affaires mensuel
2840
3220
  * @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
@@ -2844,6 +3224,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
2844
3224
  getMonthlyTurnOver(requestParameters, options) {
2845
3225
  return localVarFp.getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(axios, basePath));
2846
3226
  },
3227
+ /**
3228
+ * Nouvelles réservations créées sur une période
3229
+ * @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ getNewBookingsCount(requestParameters = {}, options) {
3234
+ return localVarFp.getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
3235
+ },
3236
+ /**
3237
+ * Nouveaux abonnés sur une période
3238
+ * @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ */
3242
+ getNewSubscribersCount(requestParameters = {}, options) {
3243
+ return localVarFp.getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
3244
+ },
3245
+ /**
3246
+ * Taux de no-show global ou sur une période
3247
+ * @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
3248
+ * @param {*} [options] Override http request option.
3249
+ * @throws {RequiredError}
3250
+ */
3251
+ getNoShowRate(requestParameters = {}, options) {
3252
+ return localVarFp.getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
3253
+ },
2847
3254
  /**
2848
3255
  * Récupère le nombre d\'utilisateurs du club
2849
3256
  * @param {*} [options] Override http request option.
@@ -2912,6 +3319,16 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
2912
3319
  getAnalyticsBySport(requestParameters, options) {
2913
3320
  return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
2914
3321
  }
3322
+ /**
3323
+ * Nombre de réservations par jour en fonction des slots
3324
+ * @param {ClubAnalyticsStaffApiGetBookingsPerDayRequest} requestParameters Request parameters.
3325
+ * @param {*} [options] Override http request option.
3326
+ * @throws {RequiredError}
3327
+ * @memberof ClubAnalyticsStaffApi
3328
+ */
3329
+ getBookingsPerDay(requestParameters = {}, options) {
3330
+ return ClubAnalyticsStaffApiFp(this.configuration).getBookingsPerDay(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
3331
+ }
2915
3332
  /**
2916
3333
  * Récupère les réservations d\'un joueur par son ID (à venir et passées)
2917
3334
  * @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
@@ -2952,6 +3369,15 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
2952
3369
  getClubPlayers(requestParameters = {}, options) {
2953
3370
  return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
2954
3371
  }
3372
+ /**
3373
+ * Nombre total d\'abonnés actifs du club
3374
+ * @param {*} [options] Override http request option.
3375
+ * @throws {RequiredError}
3376
+ * @memberof ClubAnalyticsStaffApi
3377
+ */
3378
+ getClubSubscribersSummary(options) {
3379
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubSubscribersSummary(options).then((request) => request(this.axios, this.basePath));
3380
+ }
2955
3381
  /**
2956
3382
  * Récupère le chiffre d\'affaires quotidien
2957
3383
  * @param {ClubAnalyticsStaffApiGetDailyTurnOverRequest} requestParameters Request parameters.
@@ -2990,6 +3416,25 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
2990
3416
  getLastSixMonthsTurnover(options) {
2991
3417
  return ClubAnalyticsStaffApiFp(this.configuration).getLastSixMonthsTurnover(options).then((request) => request(this.axios, this.basePath));
2992
3418
  }
3419
+ /**
3420
+ * Créneaux horaires les moins réservés (3 derniers mois)
3421
+ * @param {ClubAnalyticsStaffApiGetLeastBookedTimeSlotsRequest} requestParameters Request parameters.
3422
+ * @param {*} [options] Override http request option.
3423
+ * @throws {RequiredError}
3424
+ * @memberof ClubAnalyticsStaffApi
3425
+ */
3426
+ getLeastBookedTimeSlots(requestParameters = {}, options) {
3427
+ return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedTimeSlots(requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
3428
+ }
3429
+ /**
3430
+ * Jour de la semaine le moins réservé (3 derniers mois)
3431
+ * @param {*} [options] Override http request option.
3432
+ * @throws {RequiredError}
3433
+ * @memberof ClubAnalyticsStaffApi
3434
+ */
3435
+ getLeastBookedWeekday(options) {
3436
+ return ClubAnalyticsStaffApiFp(this.configuration).getLeastBookedWeekday(options).then((request) => request(this.axios, this.basePath));
3437
+ }
2993
3438
  /**
2994
3439
  * Récupère le chiffre d\'affaires mensuel
2995
3440
  * @param {ClubAnalyticsStaffApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
@@ -3000,6 +3445,36 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
3000
3445
  getMonthlyTurnOver(requestParameters, options) {
3001
3446
  return ClubAnalyticsStaffApiFp(this.configuration).getMonthlyTurnOver(requestParameters.year, requestParameters.month, options).then((request) => request(this.axios, this.basePath));
3002
3447
  }
3448
+ /**
3449
+ * Nouvelles réservations créées sur une période
3450
+ * @param {ClubAnalyticsStaffApiGetNewBookingsCountRequest} requestParameters Request parameters.
3451
+ * @param {*} [options] Override http request option.
3452
+ * @throws {RequiredError}
3453
+ * @memberof ClubAnalyticsStaffApi
3454
+ */
3455
+ getNewBookingsCount(requestParameters = {}, options) {
3456
+ return ClubAnalyticsStaffApiFp(this.configuration).getNewBookingsCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
3457
+ }
3458
+ /**
3459
+ * Nouveaux abonnés sur une période
3460
+ * @param {ClubAnalyticsStaffApiGetNewSubscribersCountRequest} requestParameters Request parameters.
3461
+ * @param {*} [options] Override http request option.
3462
+ * @throws {RequiredError}
3463
+ * @memberof ClubAnalyticsStaffApi
3464
+ */
3465
+ getNewSubscribersCount(requestParameters = {}, options) {
3466
+ return ClubAnalyticsStaffApiFp(this.configuration).getNewSubscribersCount(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
3467
+ }
3468
+ /**
3469
+ * Taux de no-show global ou sur une période
3470
+ * @param {ClubAnalyticsStaffApiGetNoShowRateRequest} requestParameters Request parameters.
3471
+ * @param {*} [options] Override http request option.
3472
+ * @throws {RequiredError}
3473
+ * @memberof ClubAnalyticsStaffApi
3474
+ */
3475
+ getNoShowRate(requestParameters = {}, options) {
3476
+ return ClubAnalyticsStaffApiFp(this.configuration).getNoShowRate(requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
3477
+ }
3003
3478
  /**
3004
3479
  * Récupère le nombre d\'utilisateurs du club
3005
3480
  * @param {*} [options] Override http request option.
@@ -3513,6 +3988,38 @@ export class ClubRolesStaffApi extends BaseAPI {
3513
3988
  */
3514
3989
  export const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
3515
3990
  return {
3991
+ /**
3992
+ *
3993
+ * @param {DuplicateClubDayScheduleRequest} duplicateClubDayScheduleRequest
3994
+ * @param {*} [options] Override http request option.
3995
+ * @throws {RequiredError}
3996
+ */
3997
+ duplicateDaySchedule: (duplicateClubDayScheduleRequest_1, ...args_1) => __awaiter(this, [duplicateClubDayScheduleRequest_1, ...args_1], void 0, function* (duplicateClubDayScheduleRequest, options = {}) {
3998
+ // verify required parameter 'duplicateClubDayScheduleRequest' is not null or undefined
3999
+ assertParamExists('duplicateDaySchedule', 'duplicateClubDayScheduleRequest', duplicateClubDayScheduleRequest);
4000
+ const localVarPath = `/api/club-settings/hours/day/duplicate`;
4001
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4002
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4003
+ let baseOptions;
4004
+ if (configuration) {
4005
+ baseOptions = configuration.baseOptions;
4006
+ }
4007
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4008
+ const localVarHeaderParameter = {};
4009
+ const localVarQueryParameter = {};
4010
+ // authentication bearerAuth required
4011
+ // http bearer authentication required
4012
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
4013
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4014
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4015
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4016
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4017
+ localVarRequestOptions.data = serializeDataIfNeeded(duplicateClubDayScheduleRequest, localVarRequestOptions, configuration);
4018
+ return {
4019
+ url: toPathString(localVarUrlObj),
4020
+ options: localVarRequestOptions,
4021
+ };
4022
+ }),
3516
4023
  /**
3517
4024
  *
3518
4025
  * @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
@@ -3577,6 +4084,42 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
3577
4084
  options: localVarRequestOptions,
3578
4085
  };
3579
4086
  }),
4087
+ /**
4088
+ *
4089
+ * @param {WeekdayKey} day
4090
+ * @param {UpdateClubDayScheduleRequest} updateClubDayScheduleRequest
4091
+ * @param {*} [options] Override http request option.
4092
+ * @throws {RequiredError}
4093
+ */
4094
+ updateDaySchedule: (day_1, updateClubDayScheduleRequest_1, ...args_1) => __awaiter(this, [day_1, updateClubDayScheduleRequest_1, ...args_1], void 0, function* (day, updateClubDayScheduleRequest, options = {}) {
4095
+ // verify required parameter 'day' is not null or undefined
4096
+ assertParamExists('updateDaySchedule', 'day', day);
4097
+ // verify required parameter 'updateClubDayScheduleRequest' is not null or undefined
4098
+ assertParamExists('updateDaySchedule', 'updateClubDayScheduleRequest', updateClubDayScheduleRequest);
4099
+ const localVarPath = `/api/club-settings/hours/day/{day}`
4100
+ .replace(`{${"day"}}`, encodeURIComponent(String(day)));
4101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4103
+ let baseOptions;
4104
+ if (configuration) {
4105
+ baseOptions = configuration.baseOptions;
4106
+ }
4107
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
4108
+ const localVarHeaderParameter = {};
4109
+ const localVarQueryParameter = {};
4110
+ // authentication bearerAuth required
4111
+ // http bearer authentication required
4112
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
4113
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4114
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4115
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4116
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4117
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClubDayScheduleRequest, localVarRequestOptions, configuration);
4118
+ return {
4119
+ url: toPathString(localVarUrlObj),
4120
+ options: localVarRequestOptions,
4121
+ };
4122
+ }),
3580
4123
  /**
3581
4124
  *
3582
4125
  * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
@@ -3682,6 +4225,21 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration)
3682
4225
  export const ClubSettingsManagerApiFp = function (configuration) {
3683
4226
  const localVarAxiosParamCreator = ClubSettingsManagerApiAxiosParamCreator(configuration);
3684
4227
  return {
4228
+ /**
4229
+ *
4230
+ * @param {DuplicateClubDayScheduleRequest} duplicateClubDayScheduleRequest
4231
+ * @param {*} [options] Override http request option.
4232
+ * @throws {RequiredError}
4233
+ */
4234
+ duplicateDaySchedule(duplicateClubDayScheduleRequest, options) {
4235
+ return __awaiter(this, void 0, void 0, function* () {
4236
+ var _a, _b, _c;
4237
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.duplicateDaySchedule(duplicateClubDayScheduleRequest, options);
4238
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4239
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.duplicateDaySchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4240
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4241
+ });
4242
+ },
3685
4243
  /**
3686
4244
  *
3687
4245
  * @param {UpdateClubAccessSettingsRequest} updateClubAccessSettingsRequest
@@ -3712,6 +4270,22 @@ export const ClubSettingsManagerApiFp = function (configuration) {
3712
4270
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3713
4271
  });
3714
4272
  },
4273
+ /**
4274
+ *
4275
+ * @param {WeekdayKey} day
4276
+ * @param {UpdateClubDayScheduleRequest} updateClubDayScheduleRequest
4277
+ * @param {*} [options] Override http request option.
4278
+ * @throws {RequiredError}
4279
+ */
4280
+ updateDaySchedule(day, updateClubDayScheduleRequest, options) {
4281
+ return __awaiter(this, void 0, void 0, function* () {
4282
+ var _a, _b, _c;
4283
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateDaySchedule(day, updateClubDayScheduleRequest, options);
4284
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4285
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubSettingsManagerApi.updateDaySchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4286
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4287
+ });
4288
+ },
3715
4289
  /**
3716
4290
  *
3717
4291
  * @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
@@ -3766,6 +4340,15 @@ export const ClubSettingsManagerApiFp = function (configuration) {
3766
4340
  export const ClubSettingsManagerApiFactory = function (configuration, basePath, axios) {
3767
4341
  const localVarFp = ClubSettingsManagerApiFp(configuration);
3768
4342
  return {
4343
+ /**
4344
+ *
4345
+ * @param {ClubSettingsManagerApiDuplicateDayScheduleRequest} requestParameters Request parameters.
4346
+ * @param {*} [options] Override http request option.
4347
+ * @throws {RequiredError}
4348
+ */
4349
+ duplicateDaySchedule(requestParameters, options) {
4350
+ return localVarFp.duplicateDaySchedule(requestParameters.duplicateClubDayScheduleRequest, options).then((request) => request(axios, basePath));
4351
+ },
3769
4352
  /**
3770
4353
  *
3771
4354
  * @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
@@ -3784,6 +4367,15 @@ export const ClubSettingsManagerApiFactory = function (configuration, basePath,
3784
4367
  updateClubGeneralSettings(requestParameters, options) {
3785
4368
  return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
3786
4369
  },
4370
+ /**
4371
+ *
4372
+ * @param {ClubSettingsManagerApiUpdateDayScheduleRequest} requestParameters Request parameters.
4373
+ * @param {*} [options] Override http request option.
4374
+ * @throws {RequiredError}
4375
+ */
4376
+ updateDaySchedule(requestParameters, options) {
4377
+ return localVarFp.updateDaySchedule(requestParameters.day, requestParameters.updateClubDayScheduleRequest, options).then((request) => request(axios, basePath));
4378
+ },
3787
4379
  /**
3788
4380
  *
3789
4381
  * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
@@ -3820,6 +4412,16 @@ export const ClubSettingsManagerApiFactory = function (configuration, basePath,
3820
4412
  * @extends {BaseAPI}
3821
4413
  */
3822
4414
  export class ClubSettingsManagerApi extends BaseAPI {
4415
+ /**
4416
+ *
4417
+ * @param {ClubSettingsManagerApiDuplicateDayScheduleRequest} requestParameters Request parameters.
4418
+ * @param {*} [options] Override http request option.
4419
+ * @throws {RequiredError}
4420
+ * @memberof ClubSettingsManagerApi
4421
+ */
4422
+ duplicateDaySchedule(requestParameters, options) {
4423
+ return ClubSettingsManagerApiFp(this.configuration).duplicateDaySchedule(requestParameters.duplicateClubDayScheduleRequest, options).then((request) => request(this.axios, this.basePath));
4424
+ }
3823
4425
  /**
3824
4426
  *
3825
4427
  * @param {ClubSettingsManagerApiUpdateAccessSettingsRequest} requestParameters Request parameters.
@@ -3840,6 +4442,16 @@ export class ClubSettingsManagerApi extends BaseAPI {
3840
4442
  updateClubGeneralSettings(requestParameters, options) {
3841
4443
  return ClubSettingsManagerApiFp(this.configuration).updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(this.axios, this.basePath));
3842
4444
  }
4445
+ /**
4446
+ *
4447
+ * @param {ClubSettingsManagerApiUpdateDayScheduleRequest} requestParameters Request parameters.
4448
+ * @param {*} [options] Override http request option.
4449
+ * @throws {RequiredError}
4450
+ * @memberof ClubSettingsManagerApi
4451
+ */
4452
+ updateDaySchedule(requestParameters, options) {
4453
+ return ClubSettingsManagerApiFp(this.configuration).updateDaySchedule(requestParameters.day, requestParameters.updateClubDayScheduleRequest, options).then((request) => request(this.axios, this.basePath));
4454
+ }
3843
4455
  /**
3844
4456
  *
3845
4457
  * @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.