@tennac-booking/sdk 1.0.277 → 1.0.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +5 -0
- package/api.ts +182 -0
- package/dist/api.d.ts +133 -0
- package/dist/api.js +83 -5
- package/dist/esm/api.d.ts +133 -0
- package/dist/esm/api.js +78 -0
- package/docs/ClubDashboardContextResponse.md +22 -0
- package/docs/ClubDashboardTask.md +30 -0
- package/docs/ClubDashboardTaskKey.md +12 -0
- package/docs/ClubDashboardTaskStatus.md +10 -0
- package/docs/ClubsStaffApi.md +47 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/NotificationType.md +2 -0
- package/docs/UpdateEventRequest.md +2 -0
- package/docs/UpdateRecurringDefinitionRequest.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -87,6 +87,10 @@ docs/ClubAnalyticsStaffApi.md
|
|
|
87
87
|
docs/ClubCustomerMeApi.md
|
|
88
88
|
docs/ClubCustomerSettingsResponse.md
|
|
89
89
|
docs/ClubCustomerStaffApi.md
|
|
90
|
+
docs/ClubDashboardContextResponse.md
|
|
91
|
+
docs/ClubDashboardTask.md
|
|
92
|
+
docs/ClubDashboardTaskKey.md
|
|
93
|
+
docs/ClubDashboardTaskStatus.md
|
|
90
94
|
docs/ClubDayInterval.md
|
|
91
95
|
docs/ClubEvent.md
|
|
92
96
|
docs/ClubGeneralSettingsResponse.md
|
package/README.md
CHANGED
|
@@ -176,6 +176,7 @@ Class | Method | HTTP request | Description
|
|
|
176
176
|
*ClubsManagerApi* | [**updateSubscriptionPlanForClub**](docs/ClubsManagerApi.md#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} |
|
|
177
177
|
*ClubsStaffApi* | [**createOnsiteInvoiceForBooking**](docs/ClubsStaffApi.md#createonsiteinvoiceforbooking) | **POST** /api/clubs/staff/bookings/{bookingId}/invoices |
|
|
178
178
|
*ClubsStaffApi* | [**getActualities**](docs/ClubsStaffApi.md#getactualities) | **GET** /api/clubs/staff/actualities |
|
|
179
|
+
*ClubsStaffApi* | [**getClubDashboardContext**](docs/ClubsStaffApi.md#getclubdashboardcontext) | **GET** /api/clubs/dashboard/context |
|
|
179
180
|
*ClubsStaffApi* | [**getClubInfos**](docs/ClubsStaffApi.md#getclubinfos) | **GET** /api/clubs/infos |
|
|
180
181
|
*ClubsStaffApi* | [**getClubMembers**](docs/ClubsStaffApi.md#getclubmembers) | **GET** /api/clubs/members |
|
|
181
182
|
*ClubsStaffApi* | [**getClubPresentationSettings**](docs/ClubsStaffApi.md#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation |
|
|
@@ -410,6 +411,10 @@ Class | Method | HTTP request | Description
|
|
|
410
411
|
- [CloseOpenBookingResponse](docs/CloseOpenBookingResponse.md)
|
|
411
412
|
- [ClubAccessSettingsResponse](docs/ClubAccessSettingsResponse.md)
|
|
412
413
|
- [ClubCustomerSettingsResponse](docs/ClubCustomerSettingsResponse.md)
|
|
414
|
+
- [ClubDashboardContextResponse](docs/ClubDashboardContextResponse.md)
|
|
415
|
+
- [ClubDashboardTask](docs/ClubDashboardTask.md)
|
|
416
|
+
- [ClubDashboardTaskKey](docs/ClubDashboardTaskKey.md)
|
|
417
|
+
- [ClubDashboardTaskStatus](docs/ClubDashboardTaskStatus.md)
|
|
413
418
|
- [ClubDayInterval](docs/ClubDayInterval.md)
|
|
414
419
|
- [ClubEvent](docs/ClubEvent.md)
|
|
415
420
|
- [ClubGeneralSettingsResponse](docs/ClubGeneralSettingsResponse.md)
|
package/api.ts
CHANGED
|
@@ -2806,6 +2806,101 @@ export interface ClubCustomerSettingsResponse {
|
|
|
2806
2806
|
*/
|
|
2807
2807
|
'subscriptions': Array<string>;
|
|
2808
2808
|
}
|
|
2809
|
+
/**
|
|
2810
|
+
*
|
|
2811
|
+
* @export
|
|
2812
|
+
* @interface ClubDashboardContextResponse
|
|
2813
|
+
*/
|
|
2814
|
+
export interface ClubDashboardContextResponse {
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @type {ClubType}
|
|
2818
|
+
* @memberof ClubDashboardContextResponse
|
|
2819
|
+
*/
|
|
2820
|
+
'clubType': ClubType;
|
|
2821
|
+
/**
|
|
2822
|
+
* Liste des tâches à réaliser ; vide si aucune action requise
|
|
2823
|
+
* @type {Array<ClubDashboardTask>}
|
|
2824
|
+
* @memberof ClubDashboardContextResponse
|
|
2825
|
+
*/
|
|
2826
|
+
'tasks': Array<ClubDashboardTask>;
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
*
|
|
2832
|
+
* @export
|
|
2833
|
+
* @interface ClubDashboardTask
|
|
2834
|
+
*/
|
|
2835
|
+
export interface ClubDashboardTask {
|
|
2836
|
+
/**
|
|
2837
|
+
*
|
|
2838
|
+
* @type {ClubDashboardTaskKey}
|
|
2839
|
+
* @memberof ClubDashboardTask
|
|
2840
|
+
*/
|
|
2841
|
+
'key': ClubDashboardTaskKey;
|
|
2842
|
+
/**
|
|
2843
|
+
* Titre affiché
|
|
2844
|
+
* @type {string}
|
|
2845
|
+
* @memberof ClubDashboardTask
|
|
2846
|
+
*/
|
|
2847
|
+
'title': string;
|
|
2848
|
+
/**
|
|
2849
|
+
* Libellé du bouton / CTA
|
|
2850
|
+
* @type {string}
|
|
2851
|
+
* @memberof ClubDashboardTask
|
|
2852
|
+
*/
|
|
2853
|
+
'label': string;
|
|
2854
|
+
/**
|
|
2855
|
+
* URL vers la page à ouvrir
|
|
2856
|
+
* @type {string}
|
|
2857
|
+
* @memberof ClubDashboardTask
|
|
2858
|
+
*/
|
|
2859
|
+
'url': string;
|
|
2860
|
+
/**
|
|
2861
|
+
* Description courte (optionnelle)
|
|
2862
|
+
* @type {string}
|
|
2863
|
+
* @memberof ClubDashboardTask
|
|
2864
|
+
*/
|
|
2865
|
+
'description'?: string;
|
|
2866
|
+
/**
|
|
2867
|
+
*
|
|
2868
|
+
* @type {ClubDashboardTaskStatus}
|
|
2869
|
+
* @memberof ClubDashboardTask
|
|
2870
|
+
*/
|
|
2871
|
+
'status': ClubDashboardTaskStatus;
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @export
|
|
2878
|
+
* @enum {string}
|
|
2879
|
+
*/
|
|
2880
|
+
|
|
2881
|
+
export const ClubDashboardTaskKey = {
|
|
2882
|
+
TermsAcceptance: 'terms_acceptance',
|
|
2883
|
+
PaymentSetup: 'payment_setup',
|
|
2884
|
+
ConnectedAccountSetup: 'connected_account_setup'
|
|
2885
|
+
} as const;
|
|
2886
|
+
|
|
2887
|
+
export type ClubDashboardTaskKey = typeof ClubDashboardTaskKey[keyof typeof ClubDashboardTaskKey];
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
*
|
|
2892
|
+
* @export
|
|
2893
|
+
* @enum {string}
|
|
2894
|
+
*/
|
|
2895
|
+
|
|
2896
|
+
export const ClubDashboardTaskStatus = {
|
|
2897
|
+
Pending: 'pending',
|
|
2898
|
+
InProgress: 'in_progress'
|
|
2899
|
+
} as const;
|
|
2900
|
+
|
|
2901
|
+
export type ClubDashboardTaskStatus = typeof ClubDashboardTaskStatus[keyof typeof ClubDashboardTaskStatus];
|
|
2902
|
+
|
|
2903
|
+
|
|
2809
2904
|
/**
|
|
2810
2905
|
*
|
|
2811
2906
|
* @export
|
|
@@ -5596,6 +5691,12 @@ export interface CreateEventRequest {
|
|
|
5596
5691
|
* @memberof CreateEventRequest
|
|
5597
5692
|
*/
|
|
5598
5693
|
'registrationOpenDaysBefore'?: number;
|
|
5694
|
+
/**
|
|
5695
|
+
*
|
|
5696
|
+
* @type {boolean}
|
|
5697
|
+
* @memberof CreateEventRequest
|
|
5698
|
+
*/
|
|
5699
|
+
'isRegistrationEnabled'?: boolean;
|
|
5599
5700
|
/**
|
|
5600
5701
|
*
|
|
5601
5702
|
* @type {string}
|
|
@@ -7639,6 +7740,12 @@ export interface EventResponse {
|
|
|
7639
7740
|
* @memberof EventResponse
|
|
7640
7741
|
*/
|
|
7641
7742
|
'registrationOpenDaysBefore': number;
|
|
7743
|
+
/**
|
|
7744
|
+
*
|
|
7745
|
+
* @type {boolean}
|
|
7746
|
+
* @memberof EventResponse
|
|
7747
|
+
*/
|
|
7748
|
+
'isRegistrationEnabled': boolean;
|
|
7642
7749
|
/**
|
|
7643
7750
|
*
|
|
7644
7751
|
* @type {boolean}
|
|
@@ -11052,6 +11159,7 @@ export const NotificationType = {
|
|
|
11052
11159
|
BookingCreated: 'booking_created',
|
|
11053
11160
|
BookingSetupRequired: 'booking_setup_required',
|
|
11054
11161
|
BookingInvitation: 'booking_invitation',
|
|
11162
|
+
BookingInvitationAccepted: 'booking_invitation_accepted',
|
|
11055
11163
|
BookingCancelled: 'booking_cancelled',
|
|
11056
11164
|
BookingNoShow: 'booking_no_show',
|
|
11057
11165
|
BookingReminder: 'booking_reminder',
|
|
@@ -16364,6 +16472,12 @@ export interface UpdateEventRequest {
|
|
|
16364
16472
|
* @memberof UpdateEventRequest
|
|
16365
16473
|
*/
|
|
16366
16474
|
'registrationOpenDaysBefore'?: number;
|
|
16475
|
+
/**
|
|
16476
|
+
*
|
|
16477
|
+
* @type {boolean}
|
|
16478
|
+
* @memberof UpdateEventRequest
|
|
16479
|
+
*/
|
|
16480
|
+
'isRegistrationEnabled'?: boolean;
|
|
16367
16481
|
/**
|
|
16368
16482
|
*
|
|
16369
16483
|
* @type {Array<EventSponsor>}
|
|
@@ -16626,6 +16740,12 @@ export interface UpdateRecurringDefinitionRequest {
|
|
|
16626
16740
|
* @memberof UpdateRecurringDefinitionRequest
|
|
16627
16741
|
*/
|
|
16628
16742
|
'needLicence'?: boolean;
|
|
16743
|
+
/**
|
|
16744
|
+
*
|
|
16745
|
+
* @type {boolean}
|
|
16746
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
16747
|
+
*/
|
|
16748
|
+
'isRegistrationEnabled'?: boolean;
|
|
16629
16749
|
}
|
|
16630
16750
|
|
|
16631
16751
|
export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
|
|
@@ -29392,6 +29512,39 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29392
29512
|
|
|
29393
29513
|
|
|
29394
29514
|
|
|
29515
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29517
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29518
|
+
|
|
29519
|
+
return {
|
|
29520
|
+
url: toPathString(localVarUrlObj),
|
|
29521
|
+
options: localVarRequestOptions,
|
|
29522
|
+
};
|
|
29523
|
+
},
|
|
29524
|
+
/**
|
|
29525
|
+
*
|
|
29526
|
+
* @param {*} [options] Override http request option.
|
|
29527
|
+
* @throws {RequiredError}
|
|
29528
|
+
*/
|
|
29529
|
+
getClubDashboardContext: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29530
|
+
const localVarPath = `/api/clubs/dashboard/context`;
|
|
29531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29533
|
+
let baseOptions;
|
|
29534
|
+
if (configuration) {
|
|
29535
|
+
baseOptions = configuration.baseOptions;
|
|
29536
|
+
}
|
|
29537
|
+
|
|
29538
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29539
|
+
const localVarHeaderParameter = {} as any;
|
|
29540
|
+
const localVarQueryParameter = {} as any;
|
|
29541
|
+
|
|
29542
|
+
// authentication bearerAuth required
|
|
29543
|
+
// http bearer authentication required
|
|
29544
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29545
|
+
|
|
29546
|
+
|
|
29547
|
+
|
|
29395
29548
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29396
29549
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29397
29550
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29781,6 +29934,17 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
29781
29934
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getActualities']?.[localVarOperationServerIndex]?.url;
|
|
29782
29935
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29783
29936
|
},
|
|
29937
|
+
/**
|
|
29938
|
+
*
|
|
29939
|
+
* @param {*} [options] Override http request option.
|
|
29940
|
+
* @throws {RequiredError}
|
|
29941
|
+
*/
|
|
29942
|
+
async getClubDashboardContext(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubDashboardContextResponse>> {
|
|
29943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubDashboardContext(options);
|
|
29944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29945
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getClubDashboardContext']?.[localVarOperationServerIndex]?.url;
|
|
29946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29947
|
+
},
|
|
29784
29948
|
/**
|
|
29785
29949
|
*
|
|
29786
29950
|
* @param {*} [options] Override http request option.
|
|
@@ -29917,6 +30081,14 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
29917
30081
|
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse> {
|
|
29918
30082
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
29919
30083
|
},
|
|
30084
|
+
/**
|
|
30085
|
+
*
|
|
30086
|
+
* @param {*} [options] Override http request option.
|
|
30087
|
+
* @throws {RequiredError}
|
|
30088
|
+
*/
|
|
30089
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): AxiosPromise<ClubDashboardContextResponse> {
|
|
30090
|
+
return localVarFp.getClubDashboardContext(options).then((request) => request(axios, basePath));
|
|
30091
|
+
},
|
|
29920
30092
|
/**
|
|
29921
30093
|
*
|
|
29922
30094
|
* @param {*} [options] Override http request option.
|
|
@@ -30135,6 +30307,16 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
30135
30307
|
return ClubsStaffApiFp(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
30136
30308
|
}
|
|
30137
30309
|
|
|
30310
|
+
/**
|
|
30311
|
+
*
|
|
30312
|
+
* @param {*} [options] Override http request option.
|
|
30313
|
+
* @throws {RequiredError}
|
|
30314
|
+
* @memberof ClubsStaffApi
|
|
30315
|
+
*/
|
|
30316
|
+
public getClubDashboardContext(options?: RawAxiosRequestConfig) {
|
|
30317
|
+
return ClubsStaffApiFp(this.configuration).getClubDashboardContext(options).then((request) => request(this.axios, this.basePath));
|
|
30318
|
+
}
|
|
30319
|
+
|
|
30138
30320
|
/**
|
|
30139
30321
|
*
|
|
30140
30322
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -2755,6 +2755,89 @@ export interface ClubCustomerSettingsResponse {
|
|
|
2755
2755
|
*/
|
|
2756
2756
|
'subscriptions': Array<string>;
|
|
2757
2757
|
}
|
|
2758
|
+
/**
|
|
2759
|
+
*
|
|
2760
|
+
* @export
|
|
2761
|
+
* @interface ClubDashboardContextResponse
|
|
2762
|
+
*/
|
|
2763
|
+
export interface ClubDashboardContextResponse {
|
|
2764
|
+
/**
|
|
2765
|
+
*
|
|
2766
|
+
* @type {ClubType}
|
|
2767
|
+
* @memberof ClubDashboardContextResponse
|
|
2768
|
+
*/
|
|
2769
|
+
'clubType': ClubType;
|
|
2770
|
+
/**
|
|
2771
|
+
* Liste des tâches à réaliser ; vide si aucune action requise
|
|
2772
|
+
* @type {Array<ClubDashboardTask>}
|
|
2773
|
+
* @memberof ClubDashboardContextResponse
|
|
2774
|
+
*/
|
|
2775
|
+
'tasks': Array<ClubDashboardTask>;
|
|
2776
|
+
}
|
|
2777
|
+
/**
|
|
2778
|
+
*
|
|
2779
|
+
* @export
|
|
2780
|
+
* @interface ClubDashboardTask
|
|
2781
|
+
*/
|
|
2782
|
+
export interface ClubDashboardTask {
|
|
2783
|
+
/**
|
|
2784
|
+
*
|
|
2785
|
+
* @type {ClubDashboardTaskKey}
|
|
2786
|
+
* @memberof ClubDashboardTask
|
|
2787
|
+
*/
|
|
2788
|
+
'key': ClubDashboardTaskKey;
|
|
2789
|
+
/**
|
|
2790
|
+
* Titre affiché
|
|
2791
|
+
* @type {string}
|
|
2792
|
+
* @memberof ClubDashboardTask
|
|
2793
|
+
*/
|
|
2794
|
+
'title': string;
|
|
2795
|
+
/**
|
|
2796
|
+
* Libellé du bouton / CTA
|
|
2797
|
+
* @type {string}
|
|
2798
|
+
* @memberof ClubDashboardTask
|
|
2799
|
+
*/
|
|
2800
|
+
'label': string;
|
|
2801
|
+
/**
|
|
2802
|
+
* URL vers la page à ouvrir
|
|
2803
|
+
* @type {string}
|
|
2804
|
+
* @memberof ClubDashboardTask
|
|
2805
|
+
*/
|
|
2806
|
+
'url': string;
|
|
2807
|
+
/**
|
|
2808
|
+
* Description courte (optionnelle)
|
|
2809
|
+
* @type {string}
|
|
2810
|
+
* @memberof ClubDashboardTask
|
|
2811
|
+
*/
|
|
2812
|
+
'description'?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
*
|
|
2815
|
+
* @type {ClubDashboardTaskStatus}
|
|
2816
|
+
* @memberof ClubDashboardTask
|
|
2817
|
+
*/
|
|
2818
|
+
'status': ClubDashboardTaskStatus;
|
|
2819
|
+
}
|
|
2820
|
+
/**
|
|
2821
|
+
*
|
|
2822
|
+
* @export
|
|
2823
|
+
* @enum {string}
|
|
2824
|
+
*/
|
|
2825
|
+
export declare const ClubDashboardTaskKey: {
|
|
2826
|
+
readonly TermsAcceptance: "terms_acceptance";
|
|
2827
|
+
readonly PaymentSetup: "payment_setup";
|
|
2828
|
+
readonly ConnectedAccountSetup: "connected_account_setup";
|
|
2829
|
+
};
|
|
2830
|
+
export type ClubDashboardTaskKey = typeof ClubDashboardTaskKey[keyof typeof ClubDashboardTaskKey];
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @export
|
|
2834
|
+
* @enum {string}
|
|
2835
|
+
*/
|
|
2836
|
+
export declare const ClubDashboardTaskStatus: {
|
|
2837
|
+
readonly Pending: "pending";
|
|
2838
|
+
readonly InProgress: "in_progress";
|
|
2839
|
+
};
|
|
2840
|
+
export type ClubDashboardTaskStatus = typeof ClubDashboardTaskStatus[keyof typeof ClubDashboardTaskStatus];
|
|
2758
2841
|
/**
|
|
2759
2842
|
*
|
|
2760
2843
|
* @export
|
|
@@ -5531,6 +5614,12 @@ export interface CreateEventRequest {
|
|
|
5531
5614
|
* @memberof CreateEventRequest
|
|
5532
5615
|
*/
|
|
5533
5616
|
'registrationOpenDaysBefore'?: number;
|
|
5617
|
+
/**
|
|
5618
|
+
*
|
|
5619
|
+
* @type {boolean}
|
|
5620
|
+
* @memberof CreateEventRequest
|
|
5621
|
+
*/
|
|
5622
|
+
'isRegistrationEnabled'?: boolean;
|
|
5534
5623
|
/**
|
|
5535
5624
|
*
|
|
5536
5625
|
* @type {string}
|
|
@@ -7536,6 +7625,12 @@ export interface EventResponse {
|
|
|
7536
7625
|
* @memberof EventResponse
|
|
7537
7626
|
*/
|
|
7538
7627
|
'registrationOpenDaysBefore': number;
|
|
7628
|
+
/**
|
|
7629
|
+
*
|
|
7630
|
+
* @type {boolean}
|
|
7631
|
+
* @memberof EventResponse
|
|
7632
|
+
*/
|
|
7633
|
+
'isRegistrationEnabled': boolean;
|
|
7539
7634
|
/**
|
|
7540
7635
|
*
|
|
7541
7636
|
* @type {boolean}
|
|
@@ -10904,6 +10999,7 @@ export declare const NotificationType: {
|
|
|
10904
10999
|
readonly BookingCreated: "booking_created";
|
|
10905
11000
|
readonly BookingSetupRequired: "booking_setup_required";
|
|
10906
11001
|
readonly BookingInvitation: "booking_invitation";
|
|
11002
|
+
readonly BookingInvitationAccepted: "booking_invitation_accepted";
|
|
10907
11003
|
readonly BookingCancelled: "booking_cancelled";
|
|
10908
11004
|
readonly BookingNoShow: "booking_no_show";
|
|
10909
11005
|
readonly BookingReminder: "booking_reminder";
|
|
@@ -16121,6 +16217,12 @@ export interface UpdateEventRequest {
|
|
|
16121
16217
|
* @memberof UpdateEventRequest
|
|
16122
16218
|
*/
|
|
16123
16219
|
'registrationOpenDaysBefore'?: number;
|
|
16220
|
+
/**
|
|
16221
|
+
*
|
|
16222
|
+
* @type {boolean}
|
|
16223
|
+
* @memberof UpdateEventRequest
|
|
16224
|
+
*/
|
|
16225
|
+
'isRegistrationEnabled'?: boolean;
|
|
16124
16226
|
/**
|
|
16125
16227
|
*
|
|
16126
16228
|
* @type {Array<EventSponsor>}
|
|
@@ -16377,6 +16479,12 @@ export interface UpdateRecurringDefinitionRequest {
|
|
|
16377
16479
|
* @memberof UpdateRecurringDefinitionRequest
|
|
16378
16480
|
*/
|
|
16379
16481
|
'needLicence'?: boolean;
|
|
16482
|
+
/**
|
|
16483
|
+
*
|
|
16484
|
+
* @type {boolean}
|
|
16485
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
16486
|
+
*/
|
|
16487
|
+
'isRegistrationEnabled'?: boolean;
|
|
16380
16488
|
}
|
|
16381
16489
|
export declare const UpdateRecurringDefinitionRequestVisibilityTypeEnum: {
|
|
16382
16490
|
readonly Public: "public";
|
|
@@ -23667,6 +23775,12 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
23667
23775
|
* @throws {RequiredError}
|
|
23668
23776
|
*/
|
|
23669
23777
|
getActualities: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23778
|
+
/**
|
|
23779
|
+
*
|
|
23780
|
+
* @param {*} [options] Override http request option.
|
|
23781
|
+
* @throws {RequiredError}
|
|
23782
|
+
*/
|
|
23783
|
+
getClubDashboardContext: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23670
23784
|
/**
|
|
23671
23785
|
*
|
|
23672
23786
|
* @param {*} [options] Override http request option.
|
|
@@ -23751,6 +23865,12 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
23751
23865
|
* @throws {RequiredError}
|
|
23752
23866
|
*/
|
|
23753
23867
|
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
|
|
23868
|
+
/**
|
|
23869
|
+
*
|
|
23870
|
+
* @param {*} [options] Override http request option.
|
|
23871
|
+
* @throws {RequiredError}
|
|
23872
|
+
*/
|
|
23873
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubDashboardContextResponse>>;
|
|
23754
23874
|
/**
|
|
23755
23875
|
*
|
|
23756
23876
|
* @param {*} [options] Override http request option.
|
|
@@ -23834,6 +23954,12 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
23834
23954
|
* @throws {RequiredError}
|
|
23835
23955
|
*/
|
|
23836
23956
|
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
|
|
23957
|
+
/**
|
|
23958
|
+
*
|
|
23959
|
+
* @param {*} [options] Override http request option.
|
|
23960
|
+
* @throws {RequiredError}
|
|
23961
|
+
*/
|
|
23962
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): AxiosPromise<ClubDashboardContextResponse>;
|
|
23837
23963
|
/**
|
|
23838
23964
|
*
|
|
23839
23965
|
* @param {*} [options] Override http request option.
|
|
@@ -24014,6 +24140,13 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
24014
24140
|
* @memberof ClubsStaffApi
|
|
24015
24141
|
*/
|
|
24016
24142
|
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
|
|
24143
|
+
/**
|
|
24144
|
+
*
|
|
24145
|
+
* @param {*} [options] Override http request option.
|
|
24146
|
+
* @throws {RequiredError}
|
|
24147
|
+
* @memberof ClubsStaffApi
|
|
24148
|
+
*/
|
|
24149
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubDashboardContextResponse, any, {}>>;
|
|
24017
24150
|
/**
|
|
24018
24151
|
*
|
|
24019
24152
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -22,11 +22,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentStatus = exports.PaymentProviderType = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.OnboardingStatusResponseCurrentStepEnum = exports.NotificationType = exports.NotificationTargetPreviewTypeEnum = exports.NotificationActorType = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.EventBookingDetailSummaryUserParticipationStatusEnum = exports.EventBookingDetailEventSummaryParticipationTypeEnum = exports.EventBookingDetailEventSummaryRecurringTypeEnum = exports.EventBookingDetailEventSummaryTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.CourtEnvironment = exports.ClubType = exports.ClubRoleResponseRoleEnum = exports.ClubOnboardingActionConnectAccountStatusEnum = exports.ClubDashboardTaskStatus = exports.ClubDashboardTaskKey = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingSummaryUserParticipationStatusEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
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 = exports.BookingsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.WaitListEntryWithPlayerTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.SupportedLanguage = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = void 0;
|
|
27
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.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.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = void 0;
|
|
28
|
+
exports.SubscriptionsMobileApiFp = exports.SubscriptionsMobileApiAxiosParamCreator = 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.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.PaymentsStaffApi = exports.PaymentsStaffApiFactory = exports.PaymentsStaffApiFp = exports.PaymentsStaffApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = 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 = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = 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.SubscriptionsMobileApi = exports.SubscriptionsMobileApiFactory = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -85,6 +85,25 @@ exports.ClientOnboardingRequestBodyClubTypeEnum = {
|
|
|
85
85
|
Public: 'public',
|
|
86
86
|
School: 'school'
|
|
87
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @export
|
|
91
|
+
* @enum {string}
|
|
92
|
+
*/
|
|
93
|
+
exports.ClubDashboardTaskKey = {
|
|
94
|
+
TermsAcceptance: 'terms_acceptance',
|
|
95
|
+
PaymentSetup: 'payment_setup',
|
|
96
|
+
ConnectedAccountSetup: 'connected_account_setup'
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @export
|
|
101
|
+
* @enum {string}
|
|
102
|
+
*/
|
|
103
|
+
exports.ClubDashboardTaskStatus = {
|
|
104
|
+
Pending: 'pending',
|
|
105
|
+
InProgress: 'in_progress'
|
|
106
|
+
};
|
|
88
107
|
exports.ClubOnboardingActionConnectAccountStatusEnum = {
|
|
89
108
|
Pending: 'pending',
|
|
90
109
|
InProgress: 'in_progress',
|
|
@@ -306,6 +325,7 @@ exports.NotificationType = {
|
|
|
306
325
|
BookingCreated: 'booking_created',
|
|
307
326
|
BookingSetupRequired: 'booking_setup_required',
|
|
308
327
|
BookingInvitation: 'booking_invitation',
|
|
328
|
+
BookingInvitationAccepted: 'booking_invitation_accepted',
|
|
309
329
|
BookingCancelled: 'booking_cancelled',
|
|
310
330
|
BookingNoShow: 'booking_no_show',
|
|
311
331
|
BookingReminder: 'booking_reminder',
|
|
@@ -9293,6 +9313,33 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
9293
9313
|
options: localVarRequestOptions,
|
|
9294
9314
|
};
|
|
9295
9315
|
}),
|
|
9316
|
+
/**
|
|
9317
|
+
*
|
|
9318
|
+
* @param {*} [options] Override http request option.
|
|
9319
|
+
* @throws {RequiredError}
|
|
9320
|
+
*/
|
|
9321
|
+
getClubDashboardContext: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9322
|
+
const localVarPath = `/api/clubs/dashboard/context`;
|
|
9323
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9324
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9325
|
+
let baseOptions;
|
|
9326
|
+
if (configuration) {
|
|
9327
|
+
baseOptions = configuration.baseOptions;
|
|
9328
|
+
}
|
|
9329
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9330
|
+
const localVarHeaderParameter = {};
|
|
9331
|
+
const localVarQueryParameter = {};
|
|
9332
|
+
// authentication bearerAuth required
|
|
9333
|
+
// http bearer authentication required
|
|
9334
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9335
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9336
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9337
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9338
|
+
return {
|
|
9339
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9340
|
+
options: localVarRequestOptions,
|
|
9341
|
+
};
|
|
9342
|
+
}),
|
|
9296
9343
|
/**
|
|
9297
9344
|
*
|
|
9298
9345
|
* @param {*} [options] Override http request option.
|
|
@@ -9617,6 +9664,20 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
9617
9664
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9618
9665
|
});
|
|
9619
9666
|
},
|
|
9667
|
+
/**
|
|
9668
|
+
*
|
|
9669
|
+
* @param {*} [options] Override http request option.
|
|
9670
|
+
* @throws {RequiredError}
|
|
9671
|
+
*/
|
|
9672
|
+
getClubDashboardContext(options) {
|
|
9673
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9674
|
+
var _a, _b, _c;
|
|
9675
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubDashboardContext(options);
|
|
9676
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9677
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getClubDashboardContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9678
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9679
|
+
});
|
|
9680
|
+
},
|
|
9620
9681
|
/**
|
|
9621
9682
|
*
|
|
9622
9683
|
* @param {*} [options] Override http request option.
|
|
@@ -9780,6 +9841,14 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
9780
9841
|
getActualities(options) {
|
|
9781
9842
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
9782
9843
|
},
|
|
9844
|
+
/**
|
|
9845
|
+
*
|
|
9846
|
+
* @param {*} [options] Override http request option.
|
|
9847
|
+
* @throws {RequiredError}
|
|
9848
|
+
*/
|
|
9849
|
+
getClubDashboardContext(options) {
|
|
9850
|
+
return localVarFp.getClubDashboardContext(options).then((request) => request(axios, basePath));
|
|
9851
|
+
},
|
|
9783
9852
|
/**
|
|
9784
9853
|
*
|
|
9785
9854
|
* @param {*} [options] Override http request option.
|
|
@@ -9884,6 +9953,15 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
9884
9953
|
getActualities(options) {
|
|
9885
9954
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
9886
9955
|
}
|
|
9956
|
+
/**
|
|
9957
|
+
*
|
|
9958
|
+
* @param {*} [options] Override http request option.
|
|
9959
|
+
* @throws {RequiredError}
|
|
9960
|
+
* @memberof ClubsStaffApi
|
|
9961
|
+
*/
|
|
9962
|
+
getClubDashboardContext(options) {
|
|
9963
|
+
return (0, exports.ClubsStaffApiFp)(this.configuration).getClubDashboardContext(options).then((request) => request(this.axios, this.basePath));
|
|
9964
|
+
}
|
|
9887
9965
|
/**
|
|
9888
9966
|
*
|
|
9889
9967
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2755,6 +2755,89 @@ export interface ClubCustomerSettingsResponse {
|
|
|
2755
2755
|
*/
|
|
2756
2756
|
'subscriptions': Array<string>;
|
|
2757
2757
|
}
|
|
2758
|
+
/**
|
|
2759
|
+
*
|
|
2760
|
+
* @export
|
|
2761
|
+
* @interface ClubDashboardContextResponse
|
|
2762
|
+
*/
|
|
2763
|
+
export interface ClubDashboardContextResponse {
|
|
2764
|
+
/**
|
|
2765
|
+
*
|
|
2766
|
+
* @type {ClubType}
|
|
2767
|
+
* @memberof ClubDashboardContextResponse
|
|
2768
|
+
*/
|
|
2769
|
+
'clubType': ClubType;
|
|
2770
|
+
/**
|
|
2771
|
+
* Liste des tâches à réaliser ; vide si aucune action requise
|
|
2772
|
+
* @type {Array<ClubDashboardTask>}
|
|
2773
|
+
* @memberof ClubDashboardContextResponse
|
|
2774
|
+
*/
|
|
2775
|
+
'tasks': Array<ClubDashboardTask>;
|
|
2776
|
+
}
|
|
2777
|
+
/**
|
|
2778
|
+
*
|
|
2779
|
+
* @export
|
|
2780
|
+
* @interface ClubDashboardTask
|
|
2781
|
+
*/
|
|
2782
|
+
export interface ClubDashboardTask {
|
|
2783
|
+
/**
|
|
2784
|
+
*
|
|
2785
|
+
* @type {ClubDashboardTaskKey}
|
|
2786
|
+
* @memberof ClubDashboardTask
|
|
2787
|
+
*/
|
|
2788
|
+
'key': ClubDashboardTaskKey;
|
|
2789
|
+
/**
|
|
2790
|
+
* Titre affiché
|
|
2791
|
+
* @type {string}
|
|
2792
|
+
* @memberof ClubDashboardTask
|
|
2793
|
+
*/
|
|
2794
|
+
'title': string;
|
|
2795
|
+
/**
|
|
2796
|
+
* Libellé du bouton / CTA
|
|
2797
|
+
* @type {string}
|
|
2798
|
+
* @memberof ClubDashboardTask
|
|
2799
|
+
*/
|
|
2800
|
+
'label': string;
|
|
2801
|
+
/**
|
|
2802
|
+
* URL vers la page à ouvrir
|
|
2803
|
+
* @type {string}
|
|
2804
|
+
* @memberof ClubDashboardTask
|
|
2805
|
+
*/
|
|
2806
|
+
'url': string;
|
|
2807
|
+
/**
|
|
2808
|
+
* Description courte (optionnelle)
|
|
2809
|
+
* @type {string}
|
|
2810
|
+
* @memberof ClubDashboardTask
|
|
2811
|
+
*/
|
|
2812
|
+
'description'?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
*
|
|
2815
|
+
* @type {ClubDashboardTaskStatus}
|
|
2816
|
+
* @memberof ClubDashboardTask
|
|
2817
|
+
*/
|
|
2818
|
+
'status': ClubDashboardTaskStatus;
|
|
2819
|
+
}
|
|
2820
|
+
/**
|
|
2821
|
+
*
|
|
2822
|
+
* @export
|
|
2823
|
+
* @enum {string}
|
|
2824
|
+
*/
|
|
2825
|
+
export declare const ClubDashboardTaskKey: {
|
|
2826
|
+
readonly TermsAcceptance: "terms_acceptance";
|
|
2827
|
+
readonly PaymentSetup: "payment_setup";
|
|
2828
|
+
readonly ConnectedAccountSetup: "connected_account_setup";
|
|
2829
|
+
};
|
|
2830
|
+
export type ClubDashboardTaskKey = typeof ClubDashboardTaskKey[keyof typeof ClubDashboardTaskKey];
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @export
|
|
2834
|
+
* @enum {string}
|
|
2835
|
+
*/
|
|
2836
|
+
export declare const ClubDashboardTaskStatus: {
|
|
2837
|
+
readonly Pending: "pending";
|
|
2838
|
+
readonly InProgress: "in_progress";
|
|
2839
|
+
};
|
|
2840
|
+
export type ClubDashboardTaskStatus = typeof ClubDashboardTaskStatus[keyof typeof ClubDashboardTaskStatus];
|
|
2758
2841
|
/**
|
|
2759
2842
|
*
|
|
2760
2843
|
* @export
|
|
@@ -5531,6 +5614,12 @@ export interface CreateEventRequest {
|
|
|
5531
5614
|
* @memberof CreateEventRequest
|
|
5532
5615
|
*/
|
|
5533
5616
|
'registrationOpenDaysBefore'?: number;
|
|
5617
|
+
/**
|
|
5618
|
+
*
|
|
5619
|
+
* @type {boolean}
|
|
5620
|
+
* @memberof CreateEventRequest
|
|
5621
|
+
*/
|
|
5622
|
+
'isRegistrationEnabled'?: boolean;
|
|
5534
5623
|
/**
|
|
5535
5624
|
*
|
|
5536
5625
|
* @type {string}
|
|
@@ -7536,6 +7625,12 @@ export interface EventResponse {
|
|
|
7536
7625
|
* @memberof EventResponse
|
|
7537
7626
|
*/
|
|
7538
7627
|
'registrationOpenDaysBefore': number;
|
|
7628
|
+
/**
|
|
7629
|
+
*
|
|
7630
|
+
* @type {boolean}
|
|
7631
|
+
* @memberof EventResponse
|
|
7632
|
+
*/
|
|
7633
|
+
'isRegistrationEnabled': boolean;
|
|
7539
7634
|
/**
|
|
7540
7635
|
*
|
|
7541
7636
|
* @type {boolean}
|
|
@@ -10904,6 +10999,7 @@ export declare const NotificationType: {
|
|
|
10904
10999
|
readonly BookingCreated: "booking_created";
|
|
10905
11000
|
readonly BookingSetupRequired: "booking_setup_required";
|
|
10906
11001
|
readonly BookingInvitation: "booking_invitation";
|
|
11002
|
+
readonly BookingInvitationAccepted: "booking_invitation_accepted";
|
|
10907
11003
|
readonly BookingCancelled: "booking_cancelled";
|
|
10908
11004
|
readonly BookingNoShow: "booking_no_show";
|
|
10909
11005
|
readonly BookingReminder: "booking_reminder";
|
|
@@ -16121,6 +16217,12 @@ export interface UpdateEventRequest {
|
|
|
16121
16217
|
* @memberof UpdateEventRequest
|
|
16122
16218
|
*/
|
|
16123
16219
|
'registrationOpenDaysBefore'?: number;
|
|
16220
|
+
/**
|
|
16221
|
+
*
|
|
16222
|
+
* @type {boolean}
|
|
16223
|
+
* @memberof UpdateEventRequest
|
|
16224
|
+
*/
|
|
16225
|
+
'isRegistrationEnabled'?: boolean;
|
|
16124
16226
|
/**
|
|
16125
16227
|
*
|
|
16126
16228
|
* @type {Array<EventSponsor>}
|
|
@@ -16377,6 +16479,12 @@ export interface UpdateRecurringDefinitionRequest {
|
|
|
16377
16479
|
* @memberof UpdateRecurringDefinitionRequest
|
|
16378
16480
|
*/
|
|
16379
16481
|
'needLicence'?: boolean;
|
|
16482
|
+
/**
|
|
16483
|
+
*
|
|
16484
|
+
* @type {boolean}
|
|
16485
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
16486
|
+
*/
|
|
16487
|
+
'isRegistrationEnabled'?: boolean;
|
|
16380
16488
|
}
|
|
16381
16489
|
export declare const UpdateRecurringDefinitionRequestVisibilityTypeEnum: {
|
|
16382
16490
|
readonly Public: "public";
|
|
@@ -23667,6 +23775,12 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
23667
23775
|
* @throws {RequiredError}
|
|
23668
23776
|
*/
|
|
23669
23777
|
getActualities: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23778
|
+
/**
|
|
23779
|
+
*
|
|
23780
|
+
* @param {*} [options] Override http request option.
|
|
23781
|
+
* @throws {RequiredError}
|
|
23782
|
+
*/
|
|
23783
|
+
getClubDashboardContext: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23670
23784
|
/**
|
|
23671
23785
|
*
|
|
23672
23786
|
* @param {*} [options] Override http request option.
|
|
@@ -23751,6 +23865,12 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
23751
23865
|
* @throws {RequiredError}
|
|
23752
23866
|
*/
|
|
23753
23867
|
getActualities(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffActualitiesPaginatedResponse>>;
|
|
23868
|
+
/**
|
|
23869
|
+
*
|
|
23870
|
+
* @param {*} [options] Override http request option.
|
|
23871
|
+
* @throws {RequiredError}
|
|
23872
|
+
*/
|
|
23873
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubDashboardContextResponse>>;
|
|
23754
23874
|
/**
|
|
23755
23875
|
*
|
|
23756
23876
|
* @param {*} [options] Override http request option.
|
|
@@ -23834,6 +23954,12 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
|
|
|
23834
23954
|
* @throws {RequiredError}
|
|
23835
23955
|
*/
|
|
23836
23956
|
getActualities(options?: RawAxiosRequestConfig): AxiosPromise<StaffActualitiesPaginatedResponse>;
|
|
23957
|
+
/**
|
|
23958
|
+
*
|
|
23959
|
+
* @param {*} [options] Override http request option.
|
|
23960
|
+
* @throws {RequiredError}
|
|
23961
|
+
*/
|
|
23962
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): AxiosPromise<ClubDashboardContextResponse>;
|
|
23837
23963
|
/**
|
|
23838
23964
|
*
|
|
23839
23965
|
* @param {*} [options] Override http request option.
|
|
@@ -24014,6 +24140,13 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
24014
24140
|
* @memberof ClubsStaffApi
|
|
24015
24141
|
*/
|
|
24016
24142
|
getActualities(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffActualitiesPaginatedResponse, any, {}>>;
|
|
24143
|
+
/**
|
|
24144
|
+
*
|
|
24145
|
+
* @param {*} [options] Override http request option.
|
|
24146
|
+
* @throws {RequiredError}
|
|
24147
|
+
* @memberof ClubsStaffApi
|
|
24148
|
+
*/
|
|
24149
|
+
getClubDashboardContext(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubDashboardContextResponse, any, {}>>;
|
|
24017
24150
|
/**
|
|
24018
24151
|
*
|
|
24019
24152
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -78,6 +78,25 @@ export const ClientOnboardingRequestBodyClubTypeEnum = {
|
|
|
78
78
|
Public: 'public',
|
|
79
79
|
School: 'school'
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @export
|
|
84
|
+
* @enum {string}
|
|
85
|
+
*/
|
|
86
|
+
export const ClubDashboardTaskKey = {
|
|
87
|
+
TermsAcceptance: 'terms_acceptance',
|
|
88
|
+
PaymentSetup: 'payment_setup',
|
|
89
|
+
ConnectedAccountSetup: 'connected_account_setup'
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @export
|
|
94
|
+
* @enum {string}
|
|
95
|
+
*/
|
|
96
|
+
export const ClubDashboardTaskStatus = {
|
|
97
|
+
Pending: 'pending',
|
|
98
|
+
InProgress: 'in_progress'
|
|
99
|
+
};
|
|
81
100
|
export const ClubOnboardingActionConnectAccountStatusEnum = {
|
|
82
101
|
Pending: 'pending',
|
|
83
102
|
InProgress: 'in_progress',
|
|
@@ -299,6 +318,7 @@ export const NotificationType = {
|
|
|
299
318
|
BookingCreated: 'booking_created',
|
|
300
319
|
BookingSetupRequired: 'booking_setup_required',
|
|
301
320
|
BookingInvitation: 'booking_invitation',
|
|
321
|
+
BookingInvitationAccepted: 'booking_invitation_accepted',
|
|
302
322
|
BookingCancelled: 'booking_cancelled',
|
|
303
323
|
BookingNoShow: 'booking_no_show',
|
|
304
324
|
BookingReminder: 'booking_reminder',
|
|
@@ -9222,6 +9242,33 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
9222
9242
|
options: localVarRequestOptions,
|
|
9223
9243
|
};
|
|
9224
9244
|
}),
|
|
9245
|
+
/**
|
|
9246
|
+
*
|
|
9247
|
+
* @param {*} [options] Override http request option.
|
|
9248
|
+
* @throws {RequiredError}
|
|
9249
|
+
*/
|
|
9250
|
+
getClubDashboardContext: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9251
|
+
const localVarPath = `/api/clubs/dashboard/context`;
|
|
9252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9254
|
+
let baseOptions;
|
|
9255
|
+
if (configuration) {
|
|
9256
|
+
baseOptions = configuration.baseOptions;
|
|
9257
|
+
}
|
|
9258
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9259
|
+
const localVarHeaderParameter = {};
|
|
9260
|
+
const localVarQueryParameter = {};
|
|
9261
|
+
// authentication bearerAuth required
|
|
9262
|
+
// http bearer authentication required
|
|
9263
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9265
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9266
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9267
|
+
return {
|
|
9268
|
+
url: toPathString(localVarUrlObj),
|
|
9269
|
+
options: localVarRequestOptions,
|
|
9270
|
+
};
|
|
9271
|
+
}),
|
|
9225
9272
|
/**
|
|
9226
9273
|
*
|
|
9227
9274
|
* @param {*} [options] Override http request option.
|
|
@@ -9545,6 +9592,20 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
9545
9592
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9546
9593
|
});
|
|
9547
9594
|
},
|
|
9595
|
+
/**
|
|
9596
|
+
*
|
|
9597
|
+
* @param {*} [options] Override http request option.
|
|
9598
|
+
* @throws {RequiredError}
|
|
9599
|
+
*/
|
|
9600
|
+
getClubDashboardContext(options) {
|
|
9601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9602
|
+
var _a, _b, _c;
|
|
9603
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubDashboardContext(options);
|
|
9604
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9605
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getClubDashboardContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9606
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9607
|
+
});
|
|
9608
|
+
},
|
|
9548
9609
|
/**
|
|
9549
9610
|
*
|
|
9550
9611
|
* @param {*} [options] Override http request option.
|
|
@@ -9707,6 +9768,14 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
9707
9768
|
getActualities(options) {
|
|
9708
9769
|
return localVarFp.getActualities(options).then((request) => request(axios, basePath));
|
|
9709
9770
|
},
|
|
9771
|
+
/**
|
|
9772
|
+
*
|
|
9773
|
+
* @param {*} [options] Override http request option.
|
|
9774
|
+
* @throws {RequiredError}
|
|
9775
|
+
*/
|
|
9776
|
+
getClubDashboardContext(options) {
|
|
9777
|
+
return localVarFp.getClubDashboardContext(options).then((request) => request(axios, basePath));
|
|
9778
|
+
},
|
|
9710
9779
|
/**
|
|
9711
9780
|
*
|
|
9712
9781
|
* @param {*} [options] Override http request option.
|
|
@@ -9810,6 +9879,15 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
9810
9879
|
getActualities(options) {
|
|
9811
9880
|
return ClubsStaffApiFp(this.configuration).getActualities(options).then((request) => request(this.axios, this.basePath));
|
|
9812
9881
|
}
|
|
9882
|
+
/**
|
|
9883
|
+
*
|
|
9884
|
+
* @param {*} [options] Override http request option.
|
|
9885
|
+
* @throws {RequiredError}
|
|
9886
|
+
* @memberof ClubsStaffApi
|
|
9887
|
+
*/
|
|
9888
|
+
getClubDashboardContext(options) {
|
|
9889
|
+
return ClubsStaffApiFp(this.configuration).getClubDashboardContext(options).then((request) => request(this.axios, this.basePath));
|
|
9890
|
+
}
|
|
9813
9891
|
/**
|
|
9814
9892
|
*
|
|
9815
9893
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ClubDashboardContextResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**clubType** | [**ClubType**](ClubType.md) | | [default to undefined]
|
|
9
|
+
**tasks** | [**Array<ClubDashboardTask>**](ClubDashboardTask.md) | Liste des tâches à réaliser ; vide si aucune action requise | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ClubDashboardContextResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: ClubDashboardContextResponse = {
|
|
17
|
+
clubType,
|
|
18
|
+
tasks,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# ClubDashboardTask
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**key** | [**ClubDashboardTaskKey**](ClubDashboardTaskKey.md) | | [default to undefined]
|
|
9
|
+
**title** | **string** | Titre affiché | [default to undefined]
|
|
10
|
+
**label** | **string** | Libellé du bouton / CTA | [default to undefined]
|
|
11
|
+
**url** | **string** | URL vers la page à ouvrir | [default to undefined]
|
|
12
|
+
**description** | **string** | Description courte (optionnelle) | [optional] [default to undefined]
|
|
13
|
+
**status** | [**ClubDashboardTaskStatus**](ClubDashboardTaskStatus.md) | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ClubDashboardTask } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: ClubDashboardTask = {
|
|
21
|
+
key,
|
|
22
|
+
title,
|
|
23
|
+
label,
|
|
24
|
+
url,
|
|
25
|
+
description,
|
|
26
|
+
status,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# ClubDashboardTaskKey
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `TermsAcceptance` (value: `'terms_acceptance'`)
|
|
7
|
+
|
|
8
|
+
* `PaymentSetup` (value: `'payment_setup'`)
|
|
9
|
+
|
|
10
|
+
* `ConnectedAccountSetup` (value: `'connected_account_setup'`)
|
|
11
|
+
|
|
12
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# ClubDashboardTaskStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Pending` (value: `'pending'`)
|
|
7
|
+
|
|
8
|
+
* `InProgress` (value: `'in_progress'`)
|
|
9
|
+
|
|
10
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**createOnsiteInvoiceForBooking**](#createonsiteinvoiceforbooking) | **POST** /api/clubs/staff/bookings/{bookingId}/invoices | |
|
|
8
8
|
|[**getActualities**](#getactualities) | **GET** /api/clubs/staff/actualities | |
|
|
9
|
+
|[**getClubDashboardContext**](#getclubdashboardcontext) | **GET** /api/clubs/dashboard/context | |
|
|
9
10
|
|[**getClubInfos**](#getclubinfos) | **GET** /api/clubs/infos | |
|
|
10
11
|
|[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | |
|
|
11
12
|
|[**getClubPresentationSettings**](#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation | |
|
|
@@ -117,6 +118,52 @@ This endpoint does not have any parameters.
|
|
|
117
118
|
|
|
118
119
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
119
120
|
|
|
121
|
+
# **getClubDashboardContext**
|
|
122
|
+
> ClubDashboardContextResponse getClubDashboardContext()
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Example
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
import {
|
|
129
|
+
ClubsStaffApi,
|
|
130
|
+
Configuration
|
|
131
|
+
} from '@tennac-booking/sdk';
|
|
132
|
+
|
|
133
|
+
const configuration = new Configuration();
|
|
134
|
+
const apiInstance = new ClubsStaffApi(configuration);
|
|
135
|
+
|
|
136
|
+
const { status, data } = await apiInstance.getClubDashboardContext();
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Parameters
|
|
140
|
+
This endpoint does not have any parameters.
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Return type
|
|
144
|
+
|
|
145
|
+
**ClubDashboardContextResponse**
|
|
146
|
+
|
|
147
|
+
### Authorization
|
|
148
|
+
|
|
149
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
150
|
+
|
|
151
|
+
### HTTP request headers
|
|
152
|
+
|
|
153
|
+
- **Content-Type**: Not defined
|
|
154
|
+
- **Accept**: application/json
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### HTTP response details
|
|
158
|
+
| Status code | Description | Response headers |
|
|
159
|
+
|-------------|-------------|------------------|
|
|
160
|
+
|**200** | Contexte du dashboard club | - |
|
|
161
|
+
|**400** | Bad Request | - |
|
|
162
|
+
|**404** | Club non trouvé | - |
|
|
163
|
+
|**500** | Server Error | - |
|
|
164
|
+
|
|
165
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
166
|
+
|
|
120
167
|
# **getClubInfos**
|
|
121
168
|
> any getClubInfos()
|
|
122
169
|
|
|
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**levels** | **Array<number | null>** | | [optional] [default to undefined]
|
|
31
31
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
32
32
|
**registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
|
|
33
|
+
**isRegistrationEnabled** | **boolean** | | [optional] [default to undefined]
|
|
33
34
|
**visibilityType** | **string** | | [default to undefined]
|
|
34
35
|
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
35
36
|
|
|
@@ -64,6 +65,7 @@ const instance: CreateEventRequest = {
|
|
|
64
65
|
levels,
|
|
65
66
|
sponsors,
|
|
66
67
|
registrationOpenDaysBefore,
|
|
68
|
+
isRegistrationEnabled,
|
|
67
69
|
visibilityType,
|
|
68
70
|
needLicence,
|
|
69
71
|
};
|
package/docs/EventResponse.md
CHANGED
|
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
|
|
|
34
34
|
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
35
35
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
36
36
|
**registrationOpenDaysBefore** | **number** | | [default to undefined]
|
|
37
|
+
**isRegistrationEnabled** | **boolean** | | [default to undefined]
|
|
37
38
|
**isUserRegistered** | **boolean** | | [optional] [default to undefined]
|
|
38
39
|
**createdBy** | **string** | | [optional] [default to undefined]
|
|
39
40
|
**isActive** | **boolean** | | [default to undefined]
|
|
@@ -75,6 +76,7 @@ const instance: EventResponse = {
|
|
|
75
76
|
levels,
|
|
76
77
|
sponsors,
|
|
77
78
|
registrationOpenDaysBefore,
|
|
79
|
+
isRegistrationEnabled,
|
|
78
80
|
isUserRegistered,
|
|
79
81
|
createdBy,
|
|
80
82
|
isActive,
|
package/docs/NotificationType.md
CHANGED
|
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**visibilityType** | **string** | | [optional] [default to undefined]
|
|
30
30
|
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
31
31
|
**registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
|
|
32
|
+
**isRegistrationEnabled** | **boolean** | | [optional] [default to undefined]
|
|
32
33
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
33
34
|
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
34
35
|
|
|
@@ -62,6 +63,7 @@ const instance: UpdateEventRequest = {
|
|
|
62
63
|
visibilityType,
|
|
63
64
|
levels,
|
|
64
65
|
registrationOpenDaysBefore,
|
|
66
|
+
isRegistrationEnabled,
|
|
65
67
|
sponsors,
|
|
66
68
|
needLicence,
|
|
67
69
|
};
|
|
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**recurringType** | **string** | | [optional] [default to undefined]
|
|
31
31
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
32
32
|
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
33
|
+
**isRegistrationEnabled** | **boolean** | | [optional] [default to undefined]
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,6 +63,7 @@ const instance: UpdateRecurringDefinitionRequest = {
|
|
|
62
63
|
recurringType,
|
|
63
64
|
recurrenceEndDate,
|
|
64
65
|
needLicence,
|
|
66
|
+
isRegistrationEnabled,
|
|
65
67
|
};
|
|
66
68
|
```
|
|
67
69
|
|