@tennac-booking/sdk 1.0.249 → 1.0.251

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.d.ts CHANGED
@@ -57,6 +57,44 @@ export interface AcceptBookingInvitationResponse {
57
57
  */
58
58
  'paymentUrl'?: string;
59
59
  }
60
+ /**
61
+ *
62
+ * @export
63
+ * @interface AccountDeletionRequestBody
64
+ */
65
+ export interface AccountDeletionRequestBody {
66
+ /**
67
+ * Message libre décrivant la demande de suppression.
68
+ * @type {string}
69
+ * @memberof AccountDeletionRequestBody
70
+ */
71
+ 'message': string;
72
+ /**
73
+ * Raison courte de la demande (ex: RGPD, ne plus utiliser l\'application). Optionnelle.
74
+ * @type {string}
75
+ * @memberof AccountDeletionRequestBody
76
+ */
77
+ 'reason'?: string;
78
+ }
79
+ /**
80
+ *
81
+ * @export
82
+ * @interface AccountDeletionRequestResponse
83
+ */
84
+ export interface AccountDeletionRequestResponse {
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof AccountDeletionRequestResponse
89
+ */
90
+ 'requestId': string;
91
+ /**
92
+ *
93
+ * @type {boolean}
94
+ * @memberof AccountDeletionRequestResponse
95
+ */
96
+ 'success': boolean;
97
+ }
60
98
  /**
61
99
  *
62
100
  * @export
@@ -385,6 +423,31 @@ export interface BookingClubInfo {
385
423
  'location'?: {
386
424
  [key: string]: any;
387
425
  } | null;
426
+ /**
427
+ *
428
+ * @type {BookingClubInfoClubSettings}
429
+ * @memberof BookingClubInfo
430
+ */
431
+ 'clubSettings'?: BookingClubInfoClubSettings | null;
432
+ }
433
+ /**
434
+ *
435
+ * @export
436
+ * @interface BookingClubInfoClubSettings
437
+ */
438
+ export interface BookingClubInfoClubSettings {
439
+ /**
440
+ *
441
+ * @type {number}
442
+ * @memberof BookingClubInfoClubSettings
443
+ */
444
+ 'cancellationLimitHours'?: number | null;
445
+ /**
446
+ *
447
+ * @type {boolean}
448
+ * @memberof BookingClubInfoClubSettings
449
+ */
450
+ 'isNoShowEnabled'?: boolean | null;
388
451
  }
389
452
  /**
390
453
  *
@@ -2418,6 +2481,14 @@ export interface ClubGeneralSettingsResponse {
2418
2481
  * @memberof ClubGeneralSettingsResponse
2419
2482
  */
2420
2483
  'websiteUrl'?: string;
2484
+ /**
2485
+ * Construct a type with a set of properties K of type T
2486
+ * @type {{ [key: string]: string; }}
2487
+ * @memberof ClubGeneralSettingsResponse
2488
+ */
2489
+ 'socials'?: {
2490
+ [key: string]: string;
2491
+ };
2421
2492
  /**
2422
2493
  *
2423
2494
  * @type {string}
@@ -3887,6 +3958,14 @@ export interface ClubResponse {
3887
3958
  * @memberof ClubResponse
3888
3959
  */
3889
3960
  'websiteUrl'?: string;
3961
+ /**
3962
+ * Construct a type with a set of properties K of type T
3963
+ * @type {{ [key: string]: string; }}
3964
+ * @memberof ClubResponse
3965
+ */
3966
+ 'socials'?: {
3967
+ [key: string]: string;
3968
+ };
3890
3969
  /**
3891
3970
  * Description du club
3892
3971
  * @type {string}
@@ -5007,6 +5086,12 @@ export interface CreateEventRequest {
5007
5086
  * @memberof CreateEventRequest
5008
5087
  */
5009
5088
  'visibilityType': CreateEventRequestVisibilityTypeEnum;
5089
+ /**
5090
+ *
5091
+ * @type {boolean}
5092
+ * @memberof CreateEventRequest
5093
+ */
5094
+ 'needLicence'?: boolean;
5010
5095
  }
5011
5096
  export declare const CreateEventRequestTypeEnum: {
5012
5097
  readonly Event: "event";
@@ -6691,6 +6776,12 @@ export interface EventResponse {
6691
6776
  * @memberof EventResponse
6692
6777
  */
6693
6778
  'visibilityType': EventResponseVisibilityTypeEnum;
6779
+ /**
6780
+ *
6781
+ * @type {boolean}
6782
+ * @memberof EventResponse
6783
+ */
6784
+ 'needLicence': boolean;
6694
6785
  /**
6695
6786
  *
6696
6787
  * @type {Array<string | null>}
@@ -8334,6 +8425,20 @@ export interface JoinEventRequest {
8334
8425
  * @memberof JoinEventRequest
8335
8426
  */
8336
8427
  'players'?: Array<string>;
8428
+ /**
8429
+ *
8430
+ * @type {string}
8431
+ * @memberof JoinEventRequest
8432
+ */
8433
+ 'licenceNumber'?: string;
8434
+ /**
8435
+ * Construct a type with a set of properties K of type T
8436
+ * @type {{ [key: string]: string; }}
8437
+ * @memberof JoinEventRequest
8438
+ */
8439
+ 'playersLicenceNumbers'?: {
8440
+ [key: string]: string;
8441
+ };
8337
8442
  /**
8338
8443
  *
8339
8444
  * @type {boolean}
@@ -8587,6 +8692,12 @@ export interface JoinOpenBookingResponse {
8587
8692
  * @interface JoinOpenEventBookingRequest
8588
8693
  */
8589
8694
  export interface JoinOpenEventBookingRequest {
8695
+ /**
8696
+ *
8697
+ * @type {string}
8698
+ * @memberof JoinOpenEventBookingRequest
8699
+ */
8700
+ 'licenceNumber'?: string;
8590
8701
  /**
8591
8702
  *
8592
8703
  * @type {number}
@@ -8639,6 +8750,31 @@ export interface JoinOpenEventResponse {
8639
8750
  */
8640
8751
  'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
8641
8752
  }
8753
+ /**
8754
+ *
8755
+ * @export
8756
+ * @interface JoinWaitListRequest
8757
+ */
8758
+ export interface JoinWaitListRequest {
8759
+ /**
8760
+ *
8761
+ * @type {PaymentMethod}
8762
+ * @memberof JoinWaitListRequest
8763
+ */
8764
+ 'paymentMethod'?: PaymentMethod;
8765
+ /**
8766
+ *
8767
+ * @type {boolean}
8768
+ * @memberof JoinWaitListRequest
8769
+ */
8770
+ 'useDefaultPaymentMethod'?: boolean;
8771
+ /**
8772
+ *
8773
+ * @type {string}
8774
+ * @memberof JoinWaitListRequest
8775
+ */
8776
+ 'licenceNumber'?: string;
8777
+ }
8642
8778
  /**
8643
8779
  *
8644
8780
  * @export
@@ -14524,6 +14660,14 @@ export interface UpdateClubGeneralSettingsRequest {
14524
14660
  * @memberof UpdateClubGeneralSettingsRequest
14525
14661
  */
14526
14662
  'websiteUrl'?: string;
14663
+ /**
14664
+ * Construct a type with a set of properties K of type T
14665
+ * @type {{ [key: string]: string; }}
14666
+ * @memberof UpdateClubGeneralSettingsRequest
14667
+ */
14668
+ 'socials'?: {
14669
+ [key: string]: string;
14670
+ } | null;
14527
14671
  /**
14528
14672
  *
14529
14673
  * @type {string}
@@ -14669,6 +14813,14 @@ export interface UpdateClubRequest {
14669
14813
  * @memberof UpdateClubRequest
14670
14814
  */
14671
14815
  'websiteUrl'?: string;
14816
+ /**
14817
+ * Réseaux sociaux du club (ex: { insta: \"https://...\" })
14818
+ * @type {{ [key: string]: string; }}
14819
+ * @memberof UpdateClubRequest
14820
+ */
14821
+ 'socials'?: {
14822
+ [key: string]: string;
14823
+ } | null;
14672
14824
  /**
14673
14825
  * Description du club
14674
14826
  * @type {string}
@@ -15014,6 +15166,12 @@ export interface UpdateEventRequest {
15014
15166
  * @memberof UpdateEventRequest
15015
15167
  */
15016
15168
  'sponsors'?: Array<EventSponsor>;
15169
+ /**
15170
+ *
15171
+ * @type {boolean}
15172
+ * @memberof UpdateEventRequest
15173
+ */
15174
+ 'needLicence'?: boolean;
15017
15175
  }
15018
15176
  export declare const UpdateEventRequestTypeEnum: {
15019
15177
  readonly Event: "event";
@@ -15252,6 +15410,12 @@ export interface UpdateRecurringDefinitionRequest {
15252
15410
  * @memberof UpdateRecurringDefinitionRequest
15253
15411
  */
15254
15412
  'recurrenceEndDate'?: string;
15413
+ /**
15414
+ *
15415
+ * @type {boolean}
15416
+ * @memberof UpdateRecurringDefinitionRequest
15417
+ */
15418
+ 'needLicence'?: boolean;
15255
15419
  }
15256
15420
  export declare const UpdateRecurringDefinitionRequestVisibilityTypeEnum: {
15257
15421
  readonly Public: "public";
@@ -27087,6 +27251,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
27087
27251
  * @throws {RequiredError}
27088
27252
  */
27089
27253
  removeOrganization: (addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27254
+ /**
27255
+ *
27256
+ * @param {AccountDeletionRequestBody} accountDeletionRequestBody
27257
+ * @param {*} [options] Override http request option.
27258
+ * @throws {RequiredError}
27259
+ */
27260
+ requestAccountDeletion: (accountDeletionRequestBody: AccountDeletionRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27090
27261
  /**
27091
27262
  *
27092
27263
  * @param {*} [options] Override http request option.
@@ -27462,6 +27633,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
27462
27633
  * @throws {RequiredError}
27463
27634
  */
27464
27635
  removeOrganization(addOrganizationRequest: AddOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
27636
+ /**
27637
+ *
27638
+ * @param {AccountDeletionRequestBody} accountDeletionRequestBody
27639
+ * @param {*} [options] Override http request option.
27640
+ * @throws {RequiredError}
27641
+ */
27642
+ requestAccountDeletion(accountDeletionRequestBody: AccountDeletionRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeletionRequestResponse>>;
27465
27643
  /**
27466
27644
  *
27467
27645
  * @param {*} [options] Override http request option.
@@ -27815,6 +27993,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
27815
27993
  * @throws {RequiredError}
27816
27994
  */
27817
27995
  removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
27996
+ /**
27997
+ *
27998
+ * @param {UsersApiRequestAccountDeletionRequest} requestParameters Request parameters.
27999
+ * @param {*} [options] Override http request option.
28000
+ * @throws {RequiredError}
28001
+ */
28002
+ requestAccountDeletion(requestParameters: UsersApiRequestAccountDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountDeletionRequestResponse>;
27818
28003
  /**
27819
28004
  *
27820
28005
  * @param {*} [options] Override http request option.
@@ -28402,6 +28587,19 @@ export interface UsersApiRemoveOrganizationRequest {
28402
28587
  */
28403
28588
  readonly addOrganizationRequest: AddOrganizationRequest;
28404
28589
  }
28590
+ /**
28591
+ * Request parameters for requestAccountDeletion operation in UsersApi.
28592
+ * @export
28593
+ * @interface UsersApiRequestAccountDeletionRequest
28594
+ */
28595
+ export interface UsersApiRequestAccountDeletionRequest {
28596
+ /**
28597
+ *
28598
+ * @type {AccountDeletionRequestBody}
28599
+ * @memberof UsersApiRequestAccountDeletion
28600
+ */
28601
+ readonly accountDeletionRequestBody: AccountDeletionRequestBody;
28602
+ }
28405
28603
  /**
28406
28604
  * Request parameters for requestOrganizationCode operation in UsersApi.
28407
28605
  * @export
@@ -28883,6 +29081,14 @@ export declare class UsersApi extends BaseAPI {
28883
29081
  * @memberof UsersApi
28884
29082
  */
28885
29083
  removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
29084
+ /**
29085
+ *
29086
+ * @param {UsersApiRequestAccountDeletionRequest} requestParameters Request parameters.
29087
+ * @param {*} [options] Override http request option.
29088
+ * @throws {RequiredError}
29089
+ * @memberof UsersApi
29090
+ */
29091
+ requestAccountDeletion(requestParameters: UsersApiRequestAccountDeletionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountDeletionRequestResponse, any, {}>>;
28886
29092
  /**
28887
29093
  *
28888
29094
  * @param {*} [options] Override http request option.
@@ -29024,24 +29230,27 @@ export declare const WaitListApiAxiosParamCreator: (configuration?: Configuratio
29024
29230
  /**
29025
29231
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
29026
29232
  * @param {string} bookingId
29233
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29027
29234
  * @param {*} [options] Override http request option.
29028
29235
  * @throws {RequiredError}
29029
29236
  */
29030
- joinBookingWaitList: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29237
+ joinBookingWaitList: (bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29031
29238
  /**
29032
29239
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
29033
29240
  * @param {string} eventBookingId
29241
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29034
29242
  * @param {*} [options] Override http request option.
29035
29243
  * @throws {RequiredError}
29036
29244
  */
29037
- joinEventBookingWaitList: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29245
+ joinEventBookingWaitList: (eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29038
29246
  /**
29039
29247
  * Rejoindre la file d\'attente pour un event (participation solo)
29040
29248
  * @param {string} eventId
29249
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29041
29250
  * @param {*} [options] Override http request option.
29042
29251
  * @throws {RequiredError}
29043
29252
  */
29044
- joinEventWaitList: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29253
+ joinEventWaitList: (eventId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29045
29254
  /**
29046
29255
  * Quitter la file d\'attente d\'un booking
29047
29256
  * @param {string} bookingId
@@ -29093,24 +29302,27 @@ export declare const WaitListApiFp: (configuration?: Configuration) => {
29093
29302
  /**
29094
29303
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
29095
29304
  * @param {string} bookingId
29305
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29096
29306
  * @param {*} [options] Override http request option.
29097
29307
  * @throws {RequiredError}
29098
29308
  */
29099
- joinBookingWaitList(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>>;
29309
+ joinBookingWaitList(bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>>;
29100
29310
  /**
29101
29311
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
29102
29312
  * @param {string} eventBookingId
29313
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29103
29314
  * @param {*} [options] Override http request option.
29104
29315
  * @throws {RequiredError}
29105
29316
  */
29106
- joinEventBookingWaitList(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>>;
29317
+ joinEventBookingWaitList(eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>>;
29107
29318
  /**
29108
29319
  * Rejoindre la file d\'attente pour un event (participation solo)
29109
29320
  * @param {string} eventId
29321
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29110
29322
  * @param {*} [options] Override http request option.
29111
29323
  * @throws {RequiredError}
29112
29324
  */
29113
- joinEventWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>>;
29325
+ joinEventWaitList(eventId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>>;
29114
29326
  /**
29115
29327
  * Quitter la file d\'attente d\'un booking
29116
29328
  * @param {string} bookingId
@@ -29253,6 +29465,12 @@ export interface WaitListApiJoinBookingWaitListRequest {
29253
29465
  * @memberof WaitListApiJoinBookingWaitList
29254
29466
  */
29255
29467
  readonly bookingId: string;
29468
+ /**
29469
+ *
29470
+ * @type {JoinWaitListRequest}
29471
+ * @memberof WaitListApiJoinBookingWaitList
29472
+ */
29473
+ readonly joinWaitListRequest?: JoinWaitListRequest;
29256
29474
  }
29257
29475
  /**
29258
29476
  * Request parameters for joinEventBookingWaitList operation in WaitListApi.
@@ -29266,6 +29484,12 @@ export interface WaitListApiJoinEventBookingWaitListRequest {
29266
29484
  * @memberof WaitListApiJoinEventBookingWaitList
29267
29485
  */
29268
29486
  readonly eventBookingId: string;
29487
+ /**
29488
+ *
29489
+ * @type {JoinWaitListRequest}
29490
+ * @memberof WaitListApiJoinEventBookingWaitList
29491
+ */
29492
+ readonly joinWaitListRequest?: JoinWaitListRequest;
29269
29493
  }
29270
29494
  /**
29271
29495
  * Request parameters for joinEventWaitList operation in WaitListApi.
@@ -29279,6 +29503,12 @@ export interface WaitListApiJoinEventWaitListRequest {
29279
29503
  * @memberof WaitListApiJoinEventWaitList
29280
29504
  */
29281
29505
  readonly eventId: string;
29506
+ /**
29507
+ *
29508
+ * @type {JoinWaitListRequest}
29509
+ * @memberof WaitListApiJoinEventWaitList
29510
+ */
29511
+ readonly joinWaitListRequest?: JoinWaitListRequest;
29282
29512
  }
29283
29513
  /**
29284
29514
  * Request parameters for leaveBookingWaitList operation in WaitListApi.