@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/esm/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/esm/api.js CHANGED
@@ -19025,10 +19025,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19025
19025
  /**
19026
19026
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
19027
19027
  * @param {string} bookingId
19028
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19028
19029
  * @param {*} [options] Override http request option.
19029
19030
  * @throws {RequiredError}
19030
19031
  */
19031
- joinBookingWaitList: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
19032
+ joinBookingWaitList: (bookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [bookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (bookingId, joinWaitListRequest, options = {}) {
19032
19033
  // verify required parameter 'bookingId' is not null or undefined
19033
19034
  assertParamExists('joinBookingWaitList', 'bookingId', bookingId);
19034
19035
  const localVarPath = `/api/waitlist/booking/{bookingId}/join`
@@ -19045,9 +19046,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19045
19046
  // authentication bearerAuth required
19046
19047
  // http bearer authentication required
19047
19048
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19049
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19048
19050
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19049
19051
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19050
19052
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19053
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
19051
19054
  return {
19052
19055
  url: toPathString(localVarUrlObj),
19053
19056
  options: localVarRequestOptions,
@@ -19056,10 +19059,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19056
19059
  /**
19057
19060
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
19058
19061
  * @param {string} eventBookingId
19062
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19059
19063
  * @param {*} [options] Override http request option.
19060
19064
  * @throws {RequiredError}
19061
19065
  */
19062
- joinEventBookingWaitList: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
19066
+ joinEventBookingWaitList: (eventBookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventBookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventBookingId, joinWaitListRequest, options = {}) {
19063
19067
  // verify required parameter 'eventBookingId' is not null or undefined
19064
19068
  assertParamExists('joinEventBookingWaitList', 'eventBookingId', eventBookingId);
19065
19069
  const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
@@ -19076,9 +19080,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19076
19080
  // authentication bearerAuth required
19077
19081
  // http bearer authentication required
19078
19082
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19083
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19079
19084
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19080
19085
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19081
19086
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19087
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
19082
19088
  return {
19083
19089
  url: toPathString(localVarUrlObj),
19084
19090
  options: localVarRequestOptions,
@@ -19087,10 +19093,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19087
19093
  /**
19088
19094
  * Rejoindre la file d\'attente pour un event (participation solo)
19089
19095
  * @param {string} eventId
19096
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19090
19097
  * @param {*} [options] Override http request option.
19091
19098
  * @throws {RequiredError}
19092
19099
  */
19093
- joinEventWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
19100
+ joinEventWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
19094
19101
  // verify required parameter 'eventId' is not null or undefined
19095
19102
  assertParamExists('joinEventWaitList', 'eventId', eventId);
19096
19103
  const localVarPath = `/api/waitlist/event/{eventId}/join`
@@ -19107,9 +19114,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19107
19114
  // authentication bearerAuth required
19108
19115
  // http bearer authentication required
19109
19116
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19117
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19110
19118
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19111
19119
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19112
19120
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19121
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
19113
19122
  return {
19114
19123
  url: toPathString(localVarUrlObj),
19115
19124
  options: localVarRequestOptions,
@@ -19265,13 +19274,14 @@ export const WaitListApiFp = function (configuration) {
19265
19274
  /**
19266
19275
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
19267
19276
  * @param {string} bookingId
19277
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19268
19278
  * @param {*} [options] Override http request option.
19269
19279
  * @throws {RequiredError}
19270
19280
  */
19271
- joinBookingWaitList(bookingId, options) {
19281
+ joinBookingWaitList(bookingId, joinWaitListRequest, options) {
19272
19282
  return __awaiter(this, void 0, void 0, function* () {
19273
19283
  var _a, _b, _c;
19274
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
19284
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
19275
19285
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19276
19286
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19277
19287
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19280,13 +19290,14 @@ export const WaitListApiFp = function (configuration) {
19280
19290
  /**
19281
19291
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
19282
19292
  * @param {string} eventBookingId
19293
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19283
19294
  * @param {*} [options] Override http request option.
19284
19295
  * @throws {RequiredError}
19285
19296
  */
19286
- joinEventBookingWaitList(eventBookingId, options) {
19297
+ joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options) {
19287
19298
  return __awaiter(this, void 0, void 0, function* () {
19288
19299
  var _a, _b, _c;
19289
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
19300
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
19290
19301
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19291
19302
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinEventBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19292
19303
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19295,13 +19306,14 @@ export const WaitListApiFp = function (configuration) {
19295
19306
  /**
19296
19307
  * Rejoindre la file d\'attente pour un event (participation solo)
19297
19308
  * @param {string} eventId
19309
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19298
19310
  * @param {*} [options] Override http request option.
19299
19311
  * @throws {RequiredError}
19300
19312
  */
19301
- joinEventWaitList(eventId, options) {
19313
+ joinEventWaitList(eventId, joinWaitListRequest, options) {
19302
19314
  return __awaiter(this, void 0, void 0, function* () {
19303
19315
  var _a, _b, _c;
19304
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, options);
19316
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
19305
19317
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19306
19318
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinEventWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19307
19319
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19395,7 +19407,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
19395
19407
  * @throws {RequiredError}
19396
19408
  */
19397
19409
  joinBookingWaitList(requestParameters, options) {
19398
- return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
19410
+ return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19399
19411
  },
19400
19412
  /**
19401
19413
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -19404,7 +19416,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
19404
19416
  * @throws {RequiredError}
19405
19417
  */
19406
19418
  joinEventBookingWaitList(requestParameters, options) {
19407
- return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
19419
+ return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19408
19420
  },
19409
19421
  /**
19410
19422
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -19413,7 +19425,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
19413
19425
  * @throws {RequiredError}
19414
19426
  */
19415
19427
  joinEventWaitList(requestParameters, options) {
19416
- return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
19428
+ return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19417
19429
  },
19418
19430
  /**
19419
19431
  * Quitter la file d\'attente d\'un booking
@@ -19489,7 +19501,7 @@ export class WaitListApi extends BaseAPI {
19489
19501
  * @memberof WaitListApi
19490
19502
  */
19491
19503
  joinBookingWaitList(requestParameters, options) {
19492
- return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
19504
+ return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19493
19505
  }
19494
19506
  /**
19495
19507
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -19499,7 +19511,7 @@ export class WaitListApi extends BaseAPI {
19499
19511
  * @memberof WaitListApi
19500
19512
  */
19501
19513
  joinEventBookingWaitList(requestParameters, options) {
19502
- return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
19514
+ return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19503
19515
  }
19504
19516
  /**
19505
19517
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -19509,7 +19521,7 @@ export class WaitListApi extends BaseAPI {
19509
19521
  * @memberof WaitListApi
19510
19522
  */
19511
19523
  joinEventWaitList(requestParameters, options) {
19512
- return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
19524
+ return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19513
19525
  }
19514
19526
  /**
19515
19527
  * Quitter la file d\'attente d\'un booking
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **bannerPicture** | **string** | | [optional] [default to undefined]
12
12
  **address** | **string** | | [optional] [default to undefined]
13
13
  **location** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
14
+ **clubSettings** | [**BookingClubInfoClubSettings**](BookingClubInfoClubSettings.md) | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const instance: BookingClubInfo = {
24
25
  bannerPicture,
25
26
  address,
26
27
  location,
28
+ clubSettings,
27
29
  };
28
30
  ```
29
31
 
@@ -0,0 +1,22 @@
1
+ # BookingClubInfoClubSettings
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **cancellationLimitHours** | **number** | | [optional] [default to undefined]
9
+ **isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingClubInfoClubSettings } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingClubInfoClubSettings = {
17
+ cancellationLimitHours,
18
+ isNoShowEnabled,
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)
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **email** | **string** | | [optional] [default to undefined]
10
10
  **phone** | **string** | | [optional] [default to undefined]
11
11
  **websiteUrl** | **string** | | [optional] [default to undefined]
12
+ **socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
12
13
  **logo** | **string** | | [optional] [default to undefined]
13
14
  **location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [default to undefined]
14
15
  **stripeUrl** | **string** | | [optional] [default to undefined]
@@ -23,6 +24,7 @@ const instance: ClubGeneralSettingsResponse = {
23
24
  email,
24
25
  phone,
25
26
  websiteUrl,
27
+ socials,
26
28
  logo,
27
29
  location,
28
30
  stripeUrl,
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | ID unique du club | [default to undefined]
9
9
  **name** | **string** | Nom du club | [default to undefined]
10
10
  **websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
11
+ **socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
11
12
  **description** | **string** | Description du club | [optional] [default to undefined]
12
13
  **email** | **string** | Email du club | [optional] [default to undefined]
13
14
  **phone** | **string** | Téléphone du club | [optional] [default to undefined]
@@ -41,6 +42,7 @@ const instance: ClubResponse = {
41
42
  id,
42
43
  name,
43
44
  websiteUrl,
45
+ socials,
44
46
  description,
45
47
  email,
46
48
  phone,
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
31
31
  **sponsors** | [**Array&lt;EventSponsor&gt;**](EventSponsor.md) | | [optional] [default to undefined]
32
32
  **registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
33
33
  **visibilityType** | **string** | | [default to undefined]
34
+ **needLicence** | **boolean** | | [optional] [default to undefined]
34
35
 
35
36
  ## Example
36
37
 
@@ -64,6 +65,7 @@ const instance: CreateEventRequest = {
64
65
  sponsors,
65
66
  registrationOpenDaysBefore,
66
67
  visibilityType,
68
+ needLicence,
67
69
  };
68
70
  ```
69
71
 
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
30
30
  **price** | **number** | | [optional] [default to undefined]
31
31
  **subscriberPrices** | [**Array&lt;SubscriberPrice&gt;**](SubscriberPrice.md) | | [optional] [default to undefined]
32
32
  **visibilityType** | **string** | | [default to undefined]
33
+ **needLicence** | **boolean** | | [default to undefined]
33
34
  **levels** | **Array&lt;string | null&gt;** | | [optional] [default to undefined]
34
35
  **sponsors** | [**Array&lt;EventSponsor&gt;**](EventSponsor.md) | | [optional] [default to undefined]
35
36
  **registrationOpenDaysBefore** | **number** | | [default to undefined]
@@ -70,6 +71,7 @@ const instance: EventResponse = {
70
71
  price,
71
72
  subscriberPrices,
72
73
  visibilityType,
74
+ needLicence,
73
75
  levels,
74
76
  sponsors,
75
77
  registrationOpenDaysBefore,
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **teamName** | **string** | | [optional] [default to undefined]
9
9
  **players** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
+ **licenceNumber** | **string** | | [optional] [default to undefined]
11
+ **playersLicenceNumbers** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
10
12
  **isOpen** | **boolean** | | [optional] [default to undefined]
11
13
  **isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
12
14
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
@@ -22,6 +24,8 @@ import { JoinEventRequest } from '@tennac-booking/sdk';
22
24
  const instance: JoinEventRequest = {
23
25
  teamName,
24
26
  players,
27
+ licenceNumber,
28
+ playersLicenceNumbers,
25
29
  isOpen,
26
30
  isCreatorPayingAll,
27
31
  paymentMethod,
@@ -5,6 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **licenceNumber** | **string** | | [optional] [default to undefined]
8
9
  **creditToUseInCents** | **number** | | [optional] [default to undefined]
9
10
  **useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
10
11
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
15
16
  import { JoinOpenEventBookingRequest } from '@tennac-booking/sdk';
16
17
 
17
18
  const instance: JoinOpenEventBookingRequest = {
19
+ licenceNumber,
18
20
  creditToUseInCents,
19
21
  useDefaultPaymentMethod,
20
22
  paymentMethod,
@@ -0,0 +1,24 @@
1
+ # JoinWaitListRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
9
+ **useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
10
+ **licenceNumber** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { JoinWaitListRequest } from '@tennac-booking/sdk';
16
+
17
+ const instance: JoinWaitListRequest = {
18
+ paymentMethod,
19
+ useDefaultPaymentMethod,
20
+ licenceNumber,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **email** | **string** | | [optional] [default to undefined]
10
10
  **phone** | **string** | | [optional] [default to undefined]
11
11
  **websiteUrl** | **string** | | [optional] [default to undefined]
12
+ **socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
12
13
  **description** | **string** | | [optional] [default to undefined]
13
14
  **logo** | [**UpdateClubGeneralSettingsRequestLogo**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
14
15
  **location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [optional] [default to undefined]
@@ -23,6 +24,7 @@ const instance: UpdateClubGeneralSettingsRequest = {
23
24
  email,
24
25
  phone,
25
26
  websiteUrl,
27
+ socials,
26
28
  description,
27
29
  logo,
28
30
  location,