@tennac-booking/sdk 1.0.250 → 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/api.d.ts CHANGED
@@ -423,6 +423,31 @@ export interface BookingClubInfo {
423
423
  'location'?: {
424
424
  [key: string]: any;
425
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;
426
451
  }
427
452
  /**
428
453
  *
@@ -2456,6 +2481,14 @@ export interface ClubGeneralSettingsResponse {
2456
2481
  * @memberof ClubGeneralSettingsResponse
2457
2482
  */
2458
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
+ };
2459
2492
  /**
2460
2493
  *
2461
2494
  * @type {string}
@@ -3925,6 +3958,14 @@ export interface ClubResponse {
3925
3958
  * @memberof ClubResponse
3926
3959
  */
3927
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
+ };
3928
3969
  /**
3929
3970
  * Description du club
3930
3971
  * @type {string}
@@ -5045,6 +5086,12 @@ export interface CreateEventRequest {
5045
5086
  * @memberof CreateEventRequest
5046
5087
  */
5047
5088
  'visibilityType': CreateEventRequestVisibilityTypeEnum;
5089
+ /**
5090
+ *
5091
+ * @type {boolean}
5092
+ * @memberof CreateEventRequest
5093
+ */
5094
+ 'needLicence'?: boolean;
5048
5095
  }
5049
5096
  export declare const CreateEventRequestTypeEnum: {
5050
5097
  readonly Event: "event";
@@ -6729,6 +6776,12 @@ export interface EventResponse {
6729
6776
  * @memberof EventResponse
6730
6777
  */
6731
6778
  'visibilityType': EventResponseVisibilityTypeEnum;
6779
+ /**
6780
+ *
6781
+ * @type {boolean}
6782
+ * @memberof EventResponse
6783
+ */
6784
+ 'needLicence': boolean;
6732
6785
  /**
6733
6786
  *
6734
6787
  * @type {Array<string | null>}
@@ -8372,6 +8425,20 @@ export interface JoinEventRequest {
8372
8425
  * @memberof JoinEventRequest
8373
8426
  */
8374
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
+ };
8375
8442
  /**
8376
8443
  *
8377
8444
  * @type {boolean}
@@ -8625,6 +8692,12 @@ export interface JoinOpenBookingResponse {
8625
8692
  * @interface JoinOpenEventBookingRequest
8626
8693
  */
8627
8694
  export interface JoinOpenEventBookingRequest {
8695
+ /**
8696
+ *
8697
+ * @type {string}
8698
+ * @memberof JoinOpenEventBookingRequest
8699
+ */
8700
+ 'licenceNumber'?: string;
8628
8701
  /**
8629
8702
  *
8630
8703
  * @type {number}
@@ -8677,6 +8750,31 @@ export interface JoinOpenEventResponse {
8677
8750
  */
8678
8751
  'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
8679
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
+ }
8680
8778
  /**
8681
8779
  *
8682
8780
  * @export
@@ -14562,6 +14660,14 @@ export interface UpdateClubGeneralSettingsRequest {
14562
14660
  * @memberof UpdateClubGeneralSettingsRequest
14563
14661
  */
14564
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;
14565
14671
  /**
14566
14672
  *
14567
14673
  * @type {string}
@@ -14707,6 +14813,14 @@ export interface UpdateClubRequest {
14707
14813
  * @memberof UpdateClubRequest
14708
14814
  */
14709
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;
14710
14824
  /**
14711
14825
  * Description du club
14712
14826
  * @type {string}
@@ -15052,6 +15166,12 @@ export interface UpdateEventRequest {
15052
15166
  * @memberof UpdateEventRequest
15053
15167
  */
15054
15168
  'sponsors'?: Array<EventSponsor>;
15169
+ /**
15170
+ *
15171
+ * @type {boolean}
15172
+ * @memberof UpdateEventRequest
15173
+ */
15174
+ 'needLicence'?: boolean;
15055
15175
  }
15056
15176
  export declare const UpdateEventRequestTypeEnum: {
15057
15177
  readonly Event: "event";
@@ -15290,6 +15410,12 @@ export interface UpdateRecurringDefinitionRequest {
15290
15410
  * @memberof UpdateRecurringDefinitionRequest
15291
15411
  */
15292
15412
  'recurrenceEndDate'?: string;
15413
+ /**
15414
+ *
15415
+ * @type {boolean}
15416
+ * @memberof UpdateRecurringDefinitionRequest
15417
+ */
15418
+ 'needLicence'?: boolean;
15293
15419
  }
15294
15420
  export declare const UpdateRecurringDefinitionRequestVisibilityTypeEnum: {
15295
15421
  readonly Public: "public";
@@ -29104,24 +29230,27 @@ export declare const WaitListApiAxiosParamCreator: (configuration?: Configuratio
29104
29230
  /**
29105
29231
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
29106
29232
  * @param {string} bookingId
29233
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29107
29234
  * @param {*} [options] Override http request option.
29108
29235
  * @throws {RequiredError}
29109
29236
  */
29110
- joinBookingWaitList: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29237
+ joinBookingWaitList: (bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29111
29238
  /**
29112
29239
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
29113
29240
  * @param {string} eventBookingId
29241
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29114
29242
  * @param {*} [options] Override http request option.
29115
29243
  * @throws {RequiredError}
29116
29244
  */
29117
- joinEventBookingWaitList: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29245
+ joinEventBookingWaitList: (eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29118
29246
  /**
29119
29247
  * Rejoindre la file d\'attente pour un event (participation solo)
29120
29248
  * @param {string} eventId
29249
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29121
29250
  * @param {*} [options] Override http request option.
29122
29251
  * @throws {RequiredError}
29123
29252
  */
29124
- joinEventWaitList: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29253
+ joinEventWaitList: (eventId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29125
29254
  /**
29126
29255
  * Quitter la file d\'attente d\'un booking
29127
29256
  * @param {string} bookingId
@@ -29173,24 +29302,27 @@ export declare const WaitListApiFp: (configuration?: Configuration) => {
29173
29302
  /**
29174
29303
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
29175
29304
  * @param {string} bookingId
29305
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29176
29306
  * @param {*} [options] Override http request option.
29177
29307
  * @throws {RequiredError}
29178
29308
  */
29179
- 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>>;
29180
29310
  /**
29181
29311
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
29182
29312
  * @param {string} eventBookingId
29313
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29183
29314
  * @param {*} [options] Override http request option.
29184
29315
  * @throws {RequiredError}
29185
29316
  */
29186
- 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>>;
29187
29318
  /**
29188
29319
  * Rejoindre la file d\'attente pour un event (participation solo)
29189
29320
  * @param {string} eventId
29321
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
29190
29322
  * @param {*} [options] Override http request option.
29191
29323
  * @throws {RequiredError}
29192
29324
  */
29193
- 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>>;
29194
29326
  /**
29195
29327
  * Quitter la file d\'attente d\'un booking
29196
29328
  * @param {string} bookingId
@@ -29333,6 +29465,12 @@ export interface WaitListApiJoinBookingWaitListRequest {
29333
29465
  * @memberof WaitListApiJoinBookingWaitList
29334
29466
  */
29335
29467
  readonly bookingId: string;
29468
+ /**
29469
+ *
29470
+ * @type {JoinWaitListRequest}
29471
+ * @memberof WaitListApiJoinBookingWaitList
29472
+ */
29473
+ readonly joinWaitListRequest?: JoinWaitListRequest;
29336
29474
  }
29337
29475
  /**
29338
29476
  * Request parameters for joinEventBookingWaitList operation in WaitListApi.
@@ -29346,6 +29484,12 @@ export interface WaitListApiJoinEventBookingWaitListRequest {
29346
29484
  * @memberof WaitListApiJoinEventBookingWaitList
29347
29485
  */
29348
29486
  readonly eventBookingId: string;
29487
+ /**
29488
+ *
29489
+ * @type {JoinWaitListRequest}
29490
+ * @memberof WaitListApiJoinEventBookingWaitList
29491
+ */
29492
+ readonly joinWaitListRequest?: JoinWaitListRequest;
29349
29493
  }
29350
29494
  /**
29351
29495
  * Request parameters for joinEventWaitList operation in WaitListApi.
@@ -29359,6 +29503,12 @@ export interface WaitListApiJoinEventWaitListRequest {
29359
29503
  * @memberof WaitListApiJoinEventWaitList
29360
29504
  */
29361
29505
  readonly eventId: string;
29506
+ /**
29507
+ *
29508
+ * @type {JoinWaitListRequest}
29509
+ * @memberof WaitListApiJoinEventWaitList
29510
+ */
29511
+ readonly joinWaitListRequest?: JoinWaitListRequest;
29362
29512
  }
29363
29513
  /**
29364
29514
  * Request parameters for leaveBookingWaitList operation in WaitListApi.
package/dist/api.js CHANGED
@@ -19180,10 +19180,11 @@ const WaitListApiAxiosParamCreator = function (configuration) {
19180
19180
  /**
19181
19181
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
19182
19182
  * @param {string} bookingId
19183
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19183
19184
  * @param {*} [options] Override http request option.
19184
19185
  * @throws {RequiredError}
19185
19186
  */
19186
- joinBookingWaitList: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
19187
+ joinBookingWaitList: (bookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [bookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (bookingId, joinWaitListRequest, options = {}) {
19187
19188
  // verify required parameter 'bookingId' is not null or undefined
19188
19189
  (0, common_1.assertParamExists)('joinBookingWaitList', 'bookingId', bookingId);
19189
19190
  const localVarPath = `/api/waitlist/booking/{bookingId}/join`
@@ -19200,9 +19201,11 @@ const WaitListApiAxiosParamCreator = function (configuration) {
19200
19201
  // authentication bearerAuth required
19201
19202
  // http bearer authentication required
19202
19203
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19204
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19203
19205
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19204
19206
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19205
19207
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19208
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinWaitListRequest, localVarRequestOptions, configuration);
19206
19209
  return {
19207
19210
  url: (0, common_1.toPathString)(localVarUrlObj),
19208
19211
  options: localVarRequestOptions,
@@ -19211,10 +19214,11 @@ const WaitListApiAxiosParamCreator = function (configuration) {
19211
19214
  /**
19212
19215
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
19213
19216
  * @param {string} eventBookingId
19217
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19214
19218
  * @param {*} [options] Override http request option.
19215
19219
  * @throws {RequiredError}
19216
19220
  */
19217
- joinEventBookingWaitList: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
19221
+ joinEventBookingWaitList: (eventBookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventBookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventBookingId, joinWaitListRequest, options = {}) {
19218
19222
  // verify required parameter 'eventBookingId' is not null or undefined
19219
19223
  (0, common_1.assertParamExists)('joinEventBookingWaitList', 'eventBookingId', eventBookingId);
19220
19224
  const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
@@ -19231,9 +19235,11 @@ const WaitListApiAxiosParamCreator = function (configuration) {
19231
19235
  // authentication bearerAuth required
19232
19236
  // http bearer authentication required
19233
19237
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19234
19239
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19235
19240
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19236
19241
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19242
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinWaitListRequest, localVarRequestOptions, configuration);
19237
19243
  return {
19238
19244
  url: (0, common_1.toPathString)(localVarUrlObj),
19239
19245
  options: localVarRequestOptions,
@@ -19242,10 +19248,11 @@ const WaitListApiAxiosParamCreator = function (configuration) {
19242
19248
  /**
19243
19249
  * Rejoindre la file d\'attente pour un event (participation solo)
19244
19250
  * @param {string} eventId
19251
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19245
19252
  * @param {*} [options] Override http request option.
19246
19253
  * @throws {RequiredError}
19247
19254
  */
19248
- joinEventWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
19255
+ joinEventWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
19249
19256
  // verify required parameter 'eventId' is not null or undefined
19250
19257
  (0, common_1.assertParamExists)('joinEventWaitList', 'eventId', eventId);
19251
19258
  const localVarPath = `/api/waitlist/event/{eventId}/join`
@@ -19262,9 +19269,11 @@ const WaitListApiAxiosParamCreator = function (configuration) {
19262
19269
  // authentication bearerAuth required
19263
19270
  // http bearer authentication required
19264
19271
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19272
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19265
19273
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19266
19274
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19267
19275
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19276
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinWaitListRequest, localVarRequestOptions, configuration);
19268
19277
  return {
19269
19278
  url: (0, common_1.toPathString)(localVarUrlObj),
19270
19279
  options: localVarRequestOptions,
@@ -19421,13 +19430,14 @@ const WaitListApiFp = function (configuration) {
19421
19430
  /**
19422
19431
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
19423
19432
  * @param {string} bookingId
19433
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19424
19434
  * @param {*} [options] Override http request option.
19425
19435
  * @throws {RequiredError}
19426
19436
  */
19427
- joinBookingWaitList(bookingId, options) {
19437
+ joinBookingWaitList(bookingId, joinWaitListRequest, options) {
19428
19438
  return __awaiter(this, void 0, void 0, function* () {
19429
19439
  var _a, _b, _c;
19430
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
19440
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
19431
19441
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19432
19442
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WaitListApi.joinBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19433
19443
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19436,13 +19446,14 @@ const WaitListApiFp = function (configuration) {
19436
19446
  /**
19437
19447
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
19438
19448
  * @param {string} eventBookingId
19449
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19439
19450
  * @param {*} [options] Override http request option.
19440
19451
  * @throws {RequiredError}
19441
19452
  */
19442
- joinEventBookingWaitList(eventBookingId, options) {
19453
+ joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options) {
19443
19454
  return __awaiter(this, void 0, void 0, function* () {
19444
19455
  var _a, _b, _c;
19445
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
19456
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
19446
19457
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19447
19458
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WaitListApi.joinEventBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19448
19459
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19451,13 +19462,14 @@ const WaitListApiFp = function (configuration) {
19451
19462
  /**
19452
19463
  * Rejoindre la file d\'attente pour un event (participation solo)
19453
19464
  * @param {string} eventId
19465
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19454
19466
  * @param {*} [options] Override http request option.
19455
19467
  * @throws {RequiredError}
19456
19468
  */
19457
- joinEventWaitList(eventId, options) {
19469
+ joinEventWaitList(eventId, joinWaitListRequest, options) {
19458
19470
  return __awaiter(this, void 0, void 0, function* () {
19459
19471
  var _a, _b, _c;
19460
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, options);
19472
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
19461
19473
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19462
19474
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WaitListApi.joinEventWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19463
19475
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19552,7 +19564,7 @@ const WaitListApiFactory = function (configuration, basePath, axios) {
19552
19564
  * @throws {RequiredError}
19553
19565
  */
19554
19566
  joinBookingWaitList(requestParameters, options) {
19555
- return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
19567
+ return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19556
19568
  },
19557
19569
  /**
19558
19570
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -19561,7 +19573,7 @@ const WaitListApiFactory = function (configuration, basePath, axios) {
19561
19573
  * @throws {RequiredError}
19562
19574
  */
19563
19575
  joinEventBookingWaitList(requestParameters, options) {
19564
- return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
19576
+ return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19565
19577
  },
19566
19578
  /**
19567
19579
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -19570,7 +19582,7 @@ const WaitListApiFactory = function (configuration, basePath, axios) {
19570
19582
  * @throws {RequiredError}
19571
19583
  */
19572
19584
  joinEventWaitList(requestParameters, options) {
19573
- return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
19585
+ return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19574
19586
  },
19575
19587
  /**
19576
19588
  * Quitter la file d\'attente d\'un booking
@@ -19647,7 +19659,7 @@ class WaitListApi extends base_1.BaseAPI {
19647
19659
  * @memberof WaitListApi
19648
19660
  */
19649
19661
  joinBookingWaitList(requestParameters, options) {
19650
- return (0, exports.WaitListApiFp)(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
19662
+ return (0, exports.WaitListApiFp)(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19651
19663
  }
19652
19664
  /**
19653
19665
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -19657,7 +19669,7 @@ class WaitListApi extends base_1.BaseAPI {
19657
19669
  * @memberof WaitListApi
19658
19670
  */
19659
19671
  joinEventBookingWaitList(requestParameters, options) {
19660
- return (0, exports.WaitListApiFp)(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
19672
+ return (0, exports.WaitListApiFp)(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19661
19673
  }
19662
19674
  /**
19663
19675
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -19667,7 +19679,7 @@ class WaitListApi extends base_1.BaseAPI {
19667
19679
  * @memberof WaitListApi
19668
19680
  */
19669
19681
  joinEventWaitList(requestParameters, options) {
19670
- return (0, exports.WaitListApiFp)(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
19682
+ return (0, exports.WaitListApiFp)(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19671
19683
  }
19672
19684
  /**
19673
19685
  * Quitter la file d\'attente d\'un booking