@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.
@@ -8,6 +8,8 @@ common.ts
8
8
  configuration.ts
9
9
  docs/AcceptBookingInvitationRequest.md
10
10
  docs/AcceptBookingInvitationResponse.md
11
+ docs/AccountDeletionRequestBody.md
12
+ docs/AccountDeletionRequestResponse.md
11
13
  docs/AddClubMember201Response.md
12
14
  docs/AddClubMemberRequest.md
13
15
  docs/AddOrganizationRequest.md
@@ -18,6 +20,7 @@ docs/AppRegisterRequestBody.md
18
20
  docs/AuthApi.md
19
21
  docs/BookingAnalyticsResponse.md
20
22
  docs/BookingClubInfo.md
23
+ docs/BookingClubInfoClubSettings.md
21
24
  docs/BookingCourtInfo.md
22
25
  docs/BookingHistoryPopulated.md
23
26
  docs/BookingInfo.md
@@ -261,6 +264,7 @@ docs/JoinOpenBookingRequest.md
261
264
  docs/JoinOpenBookingResponse.md
262
265
  docs/JoinOpenEventBookingRequest.md
263
266
  docs/JoinOpenEventResponse.md
267
+ docs/JoinWaitListRequest.md
264
268
  docs/LastSixMonthsTurnoverItem.md
265
269
  docs/LeastBookedTimeSlotItem.md
266
270
  docs/LeastBookedTimeSlotsResponse.md
package/README.md CHANGED
@@ -296,6 +296,7 @@ Class | Method | HTTP request | Description
296
296
  *UsersApi* | [**removeFavoriteClub**](docs/UsersApi.md#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} |
297
297
  *UsersApi* | [**removeFavoritePlayer**](docs/UsersApi.md#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} |
298
298
  *UsersApi* | [**removeOrganization**](docs/UsersApi.md#removeorganization) | **POST** /api/users/me/remove-organization |
299
+ *UsersApi* | [**requestAccountDeletion**](docs/UsersApi.md#requestaccountdeletion) | **POST** /api/users/me/request-account-deletion |
299
300
  *UsersApi* | [**requestEmailVerification**](docs/UsersApi.md#requestemailverification) | **POST** /api/users/me/request-email-verification |
300
301
  *UsersApi* | [**requestOrganizationCode**](docs/UsersApi.md#requestorganizationcode) | **POST** /api/users/me/request-organization-code |
301
302
  *UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
@@ -331,6 +332,8 @@ Class | Method | HTTP request | Description
331
332
 
332
333
  - [AcceptBookingInvitationRequest](docs/AcceptBookingInvitationRequest.md)
333
334
  - [AcceptBookingInvitationResponse](docs/AcceptBookingInvitationResponse.md)
335
+ - [AccountDeletionRequestBody](docs/AccountDeletionRequestBody.md)
336
+ - [AccountDeletionRequestResponse](docs/AccountDeletionRequestResponse.md)
334
337
  - [AddClubMember201Response](docs/AddClubMember201Response.md)
335
338
  - [AddClubMemberRequest](docs/AddClubMemberRequest.md)
336
339
  - [AddOrganizationRequest](docs/AddOrganizationRequest.md)
@@ -340,6 +343,7 @@ Class | Method | HTTP request | Description
340
343
  - [AppRegisterRequestBody](docs/AppRegisterRequestBody.md)
341
344
  - [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
342
345
  - [BookingClubInfo](docs/BookingClubInfo.md)
346
+ - [BookingClubInfoClubSettings](docs/BookingClubInfoClubSettings.md)
343
347
  - [BookingCourtInfo](docs/BookingCourtInfo.md)
344
348
  - [BookingHistoryPopulated](docs/BookingHistoryPopulated.md)
345
349
  - [BookingInfo](docs/BookingInfo.md)
@@ -560,6 +564,7 @@ Class | Method | HTTP request | Description
560
564
  - [JoinOpenBookingResponse](docs/JoinOpenBookingResponse.md)
561
565
  - [JoinOpenEventBookingRequest](docs/JoinOpenEventBookingRequest.md)
562
566
  - [JoinOpenEventResponse](docs/JoinOpenEventResponse.md)
567
+ - [JoinWaitListRequest](docs/JoinWaitListRequest.md)
563
568
  - [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
564
569
  - [LeastBookedTimeSlotItem](docs/LeastBookedTimeSlotItem.md)
565
570
  - [LeastBookedTimeSlotsResponse](docs/LeastBookedTimeSlotsResponse.md)
package/api.ts CHANGED
@@ -67,6 +67,44 @@ export interface AcceptBookingInvitationResponse {
67
67
  */
68
68
  'paymentUrl'?: string;
69
69
  }
70
+ /**
71
+ *
72
+ * @export
73
+ * @interface AccountDeletionRequestBody
74
+ */
75
+ export interface AccountDeletionRequestBody {
76
+ /**
77
+ * Message libre décrivant la demande de suppression.
78
+ * @type {string}
79
+ * @memberof AccountDeletionRequestBody
80
+ */
81
+ 'message': string;
82
+ /**
83
+ * Raison courte de la demande (ex: RGPD, ne plus utiliser l\'application). Optionnelle.
84
+ * @type {string}
85
+ * @memberof AccountDeletionRequestBody
86
+ */
87
+ 'reason'?: string;
88
+ }
89
+ /**
90
+ *
91
+ * @export
92
+ * @interface AccountDeletionRequestResponse
93
+ */
94
+ export interface AccountDeletionRequestResponse {
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof AccountDeletionRequestResponse
99
+ */
100
+ 'requestId': string;
101
+ /**
102
+ *
103
+ * @type {boolean}
104
+ * @memberof AccountDeletionRequestResponse
105
+ */
106
+ 'success': boolean;
107
+ }
70
108
  /**
71
109
  *
72
110
  * @export
@@ -395,6 +433,31 @@ export interface BookingClubInfo {
395
433
  * @memberof BookingClubInfo
396
434
  */
397
435
  'location'?: { [key: string]: any; } | null;
436
+ /**
437
+ *
438
+ * @type {BookingClubInfoClubSettings}
439
+ * @memberof BookingClubInfo
440
+ */
441
+ 'clubSettings'?: BookingClubInfoClubSettings | null;
442
+ }
443
+ /**
444
+ *
445
+ * @export
446
+ * @interface BookingClubInfoClubSettings
447
+ */
448
+ export interface BookingClubInfoClubSettings {
449
+ /**
450
+ *
451
+ * @type {number}
452
+ * @memberof BookingClubInfoClubSettings
453
+ */
454
+ 'cancellationLimitHours'?: number | null;
455
+ /**
456
+ *
457
+ * @type {boolean}
458
+ * @memberof BookingClubInfoClubSettings
459
+ */
460
+ 'isNoShowEnabled'?: boolean | null;
398
461
  }
399
462
  /**
400
463
  *
@@ -2465,6 +2528,12 @@ export interface ClubGeneralSettingsResponse {
2465
2528
  * @memberof ClubGeneralSettingsResponse
2466
2529
  */
2467
2530
  'websiteUrl'?: string;
2531
+ /**
2532
+ * Construct a type with a set of properties K of type T
2533
+ * @type {{ [key: string]: string; }}
2534
+ * @memberof ClubGeneralSettingsResponse
2535
+ */
2536
+ 'socials'?: { [key: string]: string; };
2468
2537
  /**
2469
2538
  *
2470
2539
  * @type {string}
@@ -3926,6 +3995,12 @@ export interface ClubResponse {
3926
3995
  * @memberof ClubResponse
3927
3996
  */
3928
3997
  'websiteUrl'?: string;
3998
+ /**
3999
+ * Construct a type with a set of properties K of type T
4000
+ * @type {{ [key: string]: string; }}
4001
+ * @memberof ClubResponse
4002
+ */
4003
+ 'socials'?: { [key: string]: string; };
3929
4004
  /**
3930
4005
  * Description du club
3931
4006
  * @type {string}
@@ -5063,6 +5138,12 @@ export interface CreateEventRequest {
5063
5138
  * @memberof CreateEventRequest
5064
5139
  */
5065
5140
  'visibilityType': CreateEventRequestVisibilityTypeEnum;
5141
+ /**
5142
+ *
5143
+ * @type {boolean}
5144
+ * @memberof CreateEventRequest
5145
+ */
5146
+ 'needLicence'?: boolean;
5066
5147
  }
5067
5148
 
5068
5149
  export const CreateEventRequestTypeEnum = {
@@ -6785,6 +6866,12 @@ export interface EventResponse {
6785
6866
  * @memberof EventResponse
6786
6867
  */
6787
6868
  'visibilityType': EventResponseVisibilityTypeEnum;
6869
+ /**
6870
+ *
6871
+ * @type {boolean}
6872
+ * @memberof EventResponse
6873
+ */
6874
+ 'needLicence': boolean;
6788
6875
  /**
6789
6876
  *
6790
6877
  * @type {Array<string | null>}
@@ -8463,6 +8550,18 @@ export interface JoinEventRequest {
8463
8550
  * @memberof JoinEventRequest
8464
8551
  */
8465
8552
  'players'?: Array<string>;
8553
+ /**
8554
+ *
8555
+ * @type {string}
8556
+ * @memberof JoinEventRequest
8557
+ */
8558
+ 'licenceNumber'?: string;
8559
+ /**
8560
+ * Construct a type with a set of properties K of type T
8561
+ * @type {{ [key: string]: string; }}
8562
+ * @memberof JoinEventRequest
8563
+ */
8564
+ 'playersLicenceNumbers'?: { [key: string]: string; };
8466
8565
  /**
8467
8566
  *
8468
8567
  * @type {boolean}
@@ -8718,6 +8817,12 @@ export interface JoinOpenBookingResponse {
8718
8817
  * @interface JoinOpenEventBookingRequest
8719
8818
  */
8720
8819
  export interface JoinOpenEventBookingRequest {
8820
+ /**
8821
+ *
8822
+ * @type {string}
8823
+ * @memberof JoinOpenEventBookingRequest
8824
+ */
8825
+ 'licenceNumber'?: string;
8721
8826
  /**
8722
8827
  *
8723
8828
  * @type {number}
@@ -8770,6 +8875,33 @@ export interface JoinOpenEventResponse {
8770
8875
  */
8771
8876
  'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
8772
8877
  }
8878
+ /**
8879
+ *
8880
+ * @export
8881
+ * @interface JoinWaitListRequest
8882
+ */
8883
+ export interface JoinWaitListRequest {
8884
+ /**
8885
+ *
8886
+ * @type {PaymentMethod}
8887
+ * @memberof JoinWaitListRequest
8888
+ */
8889
+ 'paymentMethod'?: PaymentMethod;
8890
+ /**
8891
+ *
8892
+ * @type {boolean}
8893
+ * @memberof JoinWaitListRequest
8894
+ */
8895
+ 'useDefaultPaymentMethod'?: boolean;
8896
+ /**
8897
+ *
8898
+ * @type {string}
8899
+ * @memberof JoinWaitListRequest
8900
+ */
8901
+ 'licenceNumber'?: string;
8902
+ }
8903
+
8904
+
8773
8905
  /**
8774
8906
  *
8775
8907
  * @export
@@ -14757,6 +14889,12 @@ export interface UpdateClubGeneralSettingsRequest {
14757
14889
  * @memberof UpdateClubGeneralSettingsRequest
14758
14890
  */
14759
14891
  'websiteUrl'?: string;
14892
+ /**
14893
+ * Construct a type with a set of properties K of type T
14894
+ * @type {{ [key: string]: string; }}
14895
+ * @memberof UpdateClubGeneralSettingsRequest
14896
+ */
14897
+ 'socials'?: { [key: string]: string; } | null;
14760
14898
  /**
14761
14899
  *
14762
14900
  * @type {string}
@@ -14905,6 +15043,12 @@ export interface UpdateClubRequest {
14905
15043
  * @memberof UpdateClubRequest
14906
15044
  */
14907
15045
  'websiteUrl'?: string;
15046
+ /**
15047
+ * Réseaux sociaux du club (ex: { insta: \"https://...\" })
15048
+ * @type {{ [key: string]: string; }}
15049
+ * @memberof UpdateClubRequest
15050
+ */
15051
+ 'socials'?: { [key: string]: string; } | null;
14908
15052
  /**
14909
15053
  * Description du club
14910
15054
  * @type {string}
@@ -15251,6 +15395,12 @@ export interface UpdateEventRequest {
15251
15395
  * @memberof UpdateEventRequest
15252
15396
  */
15253
15397
  'sponsors'?: Array<EventSponsor>;
15398
+ /**
15399
+ *
15400
+ * @type {boolean}
15401
+ * @memberof UpdateEventRequest
15402
+ */
15403
+ 'needLicence'?: boolean;
15254
15404
  }
15255
15405
 
15256
15406
  export const UpdateEventRequestTypeEnum = {
@@ -15495,6 +15645,12 @@ export interface UpdateRecurringDefinitionRequest {
15495
15645
  * @memberof UpdateRecurringDefinitionRequest
15496
15646
  */
15497
15647
  'recurrenceEndDate'?: string;
15648
+ /**
15649
+ *
15650
+ * @type {boolean}
15651
+ * @memberof UpdateRecurringDefinitionRequest
15652
+ */
15653
+ 'needLicence'?: boolean;
15498
15654
  }
15499
15655
 
15500
15656
  export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
@@ -37829,6 +37985,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
37829
37985
  options: localVarRequestOptions,
37830
37986
  };
37831
37987
  },
37988
+ /**
37989
+ *
37990
+ * @param {AccountDeletionRequestBody} accountDeletionRequestBody
37991
+ * @param {*} [options] Override http request option.
37992
+ * @throws {RequiredError}
37993
+ */
37994
+ requestAccountDeletion: async (accountDeletionRequestBody: AccountDeletionRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
37995
+ // verify required parameter 'accountDeletionRequestBody' is not null or undefined
37996
+ assertParamExists('requestAccountDeletion', 'accountDeletionRequestBody', accountDeletionRequestBody)
37997
+ const localVarPath = `/api/users/me/request-account-deletion`;
37998
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37999
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38000
+ let baseOptions;
38001
+ if (configuration) {
38002
+ baseOptions = configuration.baseOptions;
38003
+ }
38004
+
38005
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
38006
+ const localVarHeaderParameter = {} as any;
38007
+ const localVarQueryParameter = {} as any;
38008
+
38009
+ // authentication bearerAuth required
38010
+ // http bearer authentication required
38011
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38012
+
38013
+
38014
+
38015
+ localVarHeaderParameter['Content-Type'] = 'application/json';
38016
+
38017
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38018
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38019
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38020
+ localVarRequestOptions.data = serializeDataIfNeeded(accountDeletionRequestBody, localVarRequestOptions, configuration)
38021
+
38022
+ return {
38023
+ url: toPathString(localVarUrlObj),
38024
+ options: localVarRequestOptions,
38025
+ };
38026
+ },
37832
38027
  /**
37833
38028
  *
37834
38029
  * @param {*} [options] Override http request option.
@@ -38792,6 +38987,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
38792
38987
  const localVarOperationServerBasePath = operationServerMap['UsersApi.removeOrganization']?.[localVarOperationServerIndex]?.url;
38793
38988
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38794
38989
  },
38990
+ /**
38991
+ *
38992
+ * @param {AccountDeletionRequestBody} accountDeletionRequestBody
38993
+ * @param {*} [options] Override http request option.
38994
+ * @throws {RequiredError}
38995
+ */
38996
+ async requestAccountDeletion(accountDeletionRequestBody: AccountDeletionRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDeletionRequestResponse>> {
38997
+ const localVarAxiosArgs = await localVarAxiosParamCreator.requestAccountDeletion(accountDeletionRequestBody, options);
38998
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38999
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.requestAccountDeletion']?.[localVarOperationServerIndex]?.url;
39000
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39001
+ },
38795
39002
  /**
38796
39003
  *
38797
39004
  * @param {*} [options] Override http request option.
@@ -39278,6 +39485,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
39278
39485
  removeOrganization(requestParameters: UsersApiRemoveOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
39279
39486
  return localVarFp.removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
39280
39487
  },
39488
+ /**
39489
+ *
39490
+ * @param {UsersApiRequestAccountDeletionRequest} requestParameters Request parameters.
39491
+ * @param {*} [options] Override http request option.
39492
+ * @throws {RequiredError}
39493
+ */
39494
+ requestAccountDeletion(requestParameters: UsersApiRequestAccountDeletionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountDeletionRequestResponse> {
39495
+ return localVarFp.requestAccountDeletion(requestParameters.accountDeletionRequestBody, options).then((request) => request(axios, basePath));
39496
+ },
39281
39497
  /**
39282
39498
  *
39283
39499
  * @param {*} [options] Override http request option.
@@ -39943,6 +40159,20 @@ export interface UsersApiRemoveOrganizationRequest {
39943
40159
  readonly addOrganizationRequest: AddOrganizationRequest
39944
40160
  }
39945
40161
 
40162
+ /**
40163
+ * Request parameters for requestAccountDeletion operation in UsersApi.
40164
+ * @export
40165
+ * @interface UsersApiRequestAccountDeletionRequest
40166
+ */
40167
+ export interface UsersApiRequestAccountDeletionRequest {
40168
+ /**
40169
+ *
40170
+ * @type {AccountDeletionRequestBody}
40171
+ * @memberof UsersApiRequestAccountDeletion
40172
+ */
40173
+ readonly accountDeletionRequestBody: AccountDeletionRequestBody
40174
+ }
40175
+
39946
40176
  /**
39947
40177
  * Request parameters for requestOrganizationCode operation in UsersApi.
39948
40178
  * @export
@@ -40541,6 +40771,17 @@ export class UsersApi extends BaseAPI {
40541
40771
  return UsersApiFp(this.configuration).removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
40542
40772
  }
40543
40773
 
40774
+ /**
40775
+ *
40776
+ * @param {UsersApiRequestAccountDeletionRequest} requestParameters Request parameters.
40777
+ * @param {*} [options] Override http request option.
40778
+ * @throws {RequiredError}
40779
+ * @memberof UsersApi
40780
+ */
40781
+ public requestAccountDeletion(requestParameters: UsersApiRequestAccountDeletionRequest, options?: RawAxiosRequestConfig) {
40782
+ return UsersApiFp(this.configuration).requestAccountDeletion(requestParameters.accountDeletionRequestBody, options).then((request) => request(this.axios, this.basePath));
40783
+ }
40784
+
40544
40785
  /**
40545
40786
  *
40546
40787
  * @param {*} [options] Override http request option.
@@ -40814,10 +41055,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
40814
41055
  /**
40815
41056
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
40816
41057
  * @param {string} bookingId
41058
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
40817
41059
  * @param {*} [options] Override http request option.
40818
41060
  * @throws {RequiredError}
40819
41061
  */
40820
- joinBookingWaitList: async (bookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41062
+ joinBookingWaitList: async (bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40821
41063
  // verify required parameter 'bookingId' is not null or undefined
40822
41064
  assertParamExists('joinBookingWaitList', 'bookingId', bookingId)
40823
41065
  const localVarPath = `/api/waitlist/booking/{bookingId}/join`
@@ -40839,9 +41081,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
40839
41081
 
40840
41082
 
40841
41083
 
41084
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41085
+
40842
41086
  setSearchParams(localVarUrlObj, localVarQueryParameter);
40843
41087
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40844
41088
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41089
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
40845
41090
 
40846
41091
  return {
40847
41092
  url: toPathString(localVarUrlObj),
@@ -40851,10 +41096,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
40851
41096
  /**
40852
41097
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
40853
41098
  * @param {string} eventBookingId
41099
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
40854
41100
  * @param {*} [options] Override http request option.
40855
41101
  * @throws {RequiredError}
40856
41102
  */
40857
- joinEventBookingWaitList: async (eventBookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41103
+ joinEventBookingWaitList: async (eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40858
41104
  // verify required parameter 'eventBookingId' is not null or undefined
40859
41105
  assertParamExists('joinEventBookingWaitList', 'eventBookingId', eventBookingId)
40860
41106
  const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
@@ -40876,9 +41122,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
40876
41122
 
40877
41123
 
40878
41124
 
41125
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41126
+
40879
41127
  setSearchParams(localVarUrlObj, localVarQueryParameter);
40880
41128
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40881
41129
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41130
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
40882
41131
 
40883
41132
  return {
40884
41133
  url: toPathString(localVarUrlObj),
@@ -40888,10 +41137,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
40888
41137
  /**
40889
41138
  * Rejoindre la file d\'attente pour un event (participation solo)
40890
41139
  * @param {string} eventId
41140
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
40891
41141
  * @param {*} [options] Override http request option.
40892
41142
  * @throws {RequiredError}
40893
41143
  */
40894
- joinEventWaitList: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41144
+ joinEventWaitList: async (eventId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40895
41145
  // verify required parameter 'eventId' is not null or undefined
40896
41146
  assertParamExists('joinEventWaitList', 'eventId', eventId)
40897
41147
  const localVarPath = `/api/waitlist/event/{eventId}/join`
@@ -40913,9 +41163,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
40913
41163
 
40914
41164
 
40915
41165
 
41166
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41167
+
40916
41168
  setSearchParams(localVarUrlObj, localVarQueryParameter);
40917
41169
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40918
41170
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41171
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
40919
41172
 
40920
41173
  return {
40921
41174
  url: toPathString(localVarUrlObj),
@@ -41082,11 +41335,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
41082
41335
  /**
41083
41336
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
41084
41337
  * @param {string} bookingId
41338
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
41085
41339
  * @param {*} [options] Override http request option.
41086
41340
  * @throws {RequiredError}
41087
41341
  */
41088
- async joinBookingWaitList(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
41089
- const localVarAxiosArgs = await localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
41342
+ async joinBookingWaitList(bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
41343
+ const localVarAxiosArgs = await localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
41090
41344
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41091
41345
  const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinBookingWaitList']?.[localVarOperationServerIndex]?.url;
41092
41346
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -41094,11 +41348,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
41094
41348
  /**
41095
41349
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
41096
41350
  * @param {string} eventBookingId
41351
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
41097
41352
  * @param {*} [options] Override http request option.
41098
41353
  * @throws {RequiredError}
41099
41354
  */
41100
- async joinEventBookingWaitList(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
41101
- const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
41355
+ async joinEventBookingWaitList(eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
41356
+ const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
41102
41357
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41103
41358
  const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinEventBookingWaitList']?.[localVarOperationServerIndex]?.url;
41104
41359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -41106,11 +41361,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
41106
41361
  /**
41107
41362
  * Rejoindre la file d\'attente pour un event (participation solo)
41108
41363
  * @param {string} eventId
41364
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
41109
41365
  * @param {*} [options] Override http request option.
41110
41366
  * @throws {RequiredError}
41111
41367
  */
41112
- async joinEventWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
41113
- const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventWaitList(eventId, options);
41368
+ async joinEventWaitList(eventId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
41369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
41114
41370
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41115
41371
  const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinEventWaitList']?.[localVarOperationServerIndex]?.url;
41116
41372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -41195,7 +41451,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
41195
41451
  * @throws {RequiredError}
41196
41452
  */
41197
41453
  joinBookingWaitList(requestParameters: WaitListApiJoinBookingWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
41198
- return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
41454
+ return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
41199
41455
  },
41200
41456
  /**
41201
41457
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -41204,7 +41460,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
41204
41460
  * @throws {RequiredError}
41205
41461
  */
41206
41462
  joinEventBookingWaitList(requestParameters: WaitListApiJoinEventBookingWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
41207
- return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
41463
+ return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
41208
41464
  },
41209
41465
  /**
41210
41466
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -41213,7 +41469,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
41213
41469
  * @throws {RequiredError}
41214
41470
  */
41215
41471
  joinEventWaitList(requestParameters: WaitListApiJoinEventWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
41216
- return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
41472
+ return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
41217
41473
  },
41218
41474
  /**
41219
41475
  * Quitter la file d\'attente d\'un booking
@@ -41299,6 +41555,13 @@ export interface WaitListApiJoinBookingWaitListRequest {
41299
41555
  * @memberof WaitListApiJoinBookingWaitList
41300
41556
  */
41301
41557
  readonly bookingId: string
41558
+
41559
+ /**
41560
+ *
41561
+ * @type {JoinWaitListRequest}
41562
+ * @memberof WaitListApiJoinBookingWaitList
41563
+ */
41564
+ readonly joinWaitListRequest?: JoinWaitListRequest
41302
41565
  }
41303
41566
 
41304
41567
  /**
@@ -41313,6 +41576,13 @@ export interface WaitListApiJoinEventBookingWaitListRequest {
41313
41576
  * @memberof WaitListApiJoinEventBookingWaitList
41314
41577
  */
41315
41578
  readonly eventBookingId: string
41579
+
41580
+ /**
41581
+ *
41582
+ * @type {JoinWaitListRequest}
41583
+ * @memberof WaitListApiJoinEventBookingWaitList
41584
+ */
41585
+ readonly joinWaitListRequest?: JoinWaitListRequest
41316
41586
  }
41317
41587
 
41318
41588
  /**
@@ -41327,6 +41597,13 @@ export interface WaitListApiJoinEventWaitListRequest {
41327
41597
  * @memberof WaitListApiJoinEventWaitList
41328
41598
  */
41329
41599
  readonly eventId: string
41600
+
41601
+ /**
41602
+ *
41603
+ * @type {JoinWaitListRequest}
41604
+ * @memberof WaitListApiJoinEventWaitList
41605
+ */
41606
+ readonly joinWaitListRequest?: JoinWaitListRequest
41330
41607
  }
41331
41608
 
41332
41609
  /**
@@ -41419,7 +41696,7 @@ export class WaitListApi extends BaseAPI {
41419
41696
  * @memberof WaitListApi
41420
41697
  */
41421
41698
  public joinBookingWaitList(requestParameters: WaitListApiJoinBookingWaitListRequest, options?: RawAxiosRequestConfig) {
41422
- return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
41699
+ return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
41423
41700
  }
41424
41701
 
41425
41702
  /**
@@ -41430,7 +41707,7 @@ export class WaitListApi extends BaseAPI {
41430
41707
  * @memberof WaitListApi
41431
41708
  */
41432
41709
  public joinEventBookingWaitList(requestParameters: WaitListApiJoinEventBookingWaitListRequest, options?: RawAxiosRequestConfig) {
41433
- return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
41710
+ return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
41434
41711
  }
41435
41712
 
41436
41713
  /**
@@ -41441,7 +41718,7 @@ export class WaitListApi extends BaseAPI {
41441
41718
  * @memberof WaitListApi
41442
41719
  */
41443
41720
  public joinEventWaitList(requestParameters: WaitListApiJoinEventWaitListRequest, options?: RawAxiosRequestConfig) {
41444
- return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
41721
+ return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
41445
41722
  }
41446
41723
 
41447
41724
  /**