@tennac-booking/sdk 1.0.250 → 1.0.252

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.js CHANGED
@@ -9907,6 +9907,37 @@ export const EventsApiAxiosParamCreator = function (configuration) {
9907
9907
  options: localVarRequestOptions,
9908
9908
  };
9909
9909
  }),
9910
+ /**
9911
+ * Get detailed event information for a user
9912
+ * @param {string} eventId
9913
+ * @param {*} [options] Override http request option.
9914
+ * @throws {RequiredError}
9915
+ */
9916
+ getEventDetailById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
9917
+ // verify required parameter 'eventId' is not null or undefined
9918
+ assertParamExists('getEventDetailById', 'eventId', eventId);
9919
+ const localVarPath = `/api/events/{eventId}/detail`
9920
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
9921
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9922
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9923
+ let baseOptions;
9924
+ if (configuration) {
9925
+ baseOptions = configuration.baseOptions;
9926
+ }
9927
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9928
+ const localVarHeaderParameter = {};
9929
+ const localVarQueryParameter = {};
9930
+ // authentication bearerAuth required
9931
+ // http bearer authentication required
9932
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9933
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9934
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9935
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9936
+ return {
9937
+ url: toPathString(localVarUrlObj),
9938
+ options: localVarRequestOptions,
9939
+ };
9940
+ }),
9910
9941
  /**
9911
9942
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
9912
9943
  * @param {string} eventBookingId
@@ -10301,6 +10332,21 @@ export const EventsApiFp = function (configuration) {
10301
10332
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10302
10333
  });
10303
10334
  },
10335
+ /**
10336
+ * Get detailed event information for a user
10337
+ * @param {string} eventId
10338
+ * @param {*} [options] Override http request option.
10339
+ * @throws {RequiredError}
10340
+ */
10341
+ getEventDetailById(eventId, options) {
10342
+ return __awaiter(this, void 0, void 0, function* () {
10343
+ var _a, _b, _c;
10344
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventDetailById(eventId, options);
10345
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10346
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventDetailById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10347
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10348
+ });
10349
+ },
10304
10350
  /**
10305
10351
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
10306
10352
  * @param {string} eventBookingId
@@ -10498,6 +10544,15 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
10498
10544
  getEventById(requestParameters, options) {
10499
10545
  return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
10500
10546
  },
10547
+ /**
10548
+ * Get detailed event information for a user
10549
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
10550
+ * @param {*} [options] Override http request option.
10551
+ * @throws {RequiredError}
10552
+ */
10553
+ getEventDetailById(requestParameters, options) {
10554
+ return localVarFp.getEventDetailById(requestParameters.eventId, options).then((request) => request(axios, basePath));
10555
+ },
10501
10556
  /**
10502
10557
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
10503
10558
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -10638,6 +10693,16 @@ export class EventsApi extends BaseAPI {
10638
10693
  getEventById(requestParameters, options) {
10639
10694
  return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
10640
10695
  }
10696
+ /**
10697
+ * Get detailed event information for a user
10698
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
10699
+ * @param {*} [options] Override http request option.
10700
+ * @throws {RequiredError}
10701
+ * @memberof EventsApi
10702
+ */
10703
+ getEventDetailById(requestParameters, options) {
10704
+ return EventsApiFp(this.configuration).getEventDetailById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
10705
+ }
10641
10706
  /**
10642
10707
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
10643
10708
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -19025,10 +19090,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19025
19090
  /**
19026
19091
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
19027
19092
  * @param {string} bookingId
19093
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19028
19094
  * @param {*} [options] Override http request option.
19029
19095
  * @throws {RequiredError}
19030
19096
  */
19031
- joinBookingWaitList: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
19097
+ joinBookingWaitList: (bookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [bookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (bookingId, joinWaitListRequest, options = {}) {
19032
19098
  // verify required parameter 'bookingId' is not null or undefined
19033
19099
  assertParamExists('joinBookingWaitList', 'bookingId', bookingId);
19034
19100
  const localVarPath = `/api/waitlist/booking/{bookingId}/join`
@@ -19045,9 +19111,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19045
19111
  // authentication bearerAuth required
19046
19112
  // http bearer authentication required
19047
19113
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19114
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19048
19115
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19049
19116
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19050
19117
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19118
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
19051
19119
  return {
19052
19120
  url: toPathString(localVarUrlObj),
19053
19121
  options: localVarRequestOptions,
@@ -19056,10 +19124,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19056
19124
  /**
19057
19125
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
19058
19126
  * @param {string} eventBookingId
19127
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19059
19128
  * @param {*} [options] Override http request option.
19060
19129
  * @throws {RequiredError}
19061
19130
  */
19062
- joinEventBookingWaitList: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
19131
+ joinEventBookingWaitList: (eventBookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventBookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventBookingId, joinWaitListRequest, options = {}) {
19063
19132
  // verify required parameter 'eventBookingId' is not null or undefined
19064
19133
  assertParamExists('joinEventBookingWaitList', 'eventBookingId', eventBookingId);
19065
19134
  const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
@@ -19076,9 +19145,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19076
19145
  // authentication bearerAuth required
19077
19146
  // http bearer authentication required
19078
19147
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19148
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19079
19149
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19080
19150
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19081
19151
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19152
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
19082
19153
  return {
19083
19154
  url: toPathString(localVarUrlObj),
19084
19155
  options: localVarRequestOptions,
@@ -19087,10 +19158,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19087
19158
  /**
19088
19159
  * Rejoindre la file d\'attente pour un event (participation solo)
19089
19160
  * @param {string} eventId
19161
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19090
19162
  * @param {*} [options] Override http request option.
19091
19163
  * @throws {RequiredError}
19092
19164
  */
19093
- joinEventWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
19165
+ joinEventWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
19094
19166
  // verify required parameter 'eventId' is not null or undefined
19095
19167
  assertParamExists('joinEventWaitList', 'eventId', eventId);
19096
19168
  const localVarPath = `/api/waitlist/event/{eventId}/join`
@@ -19107,9 +19179,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
19107
19179
  // authentication bearerAuth required
19108
19180
  // http bearer authentication required
19109
19181
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
19182
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19110
19183
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19111
19184
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19112
19185
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19186
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
19113
19187
  return {
19114
19188
  url: toPathString(localVarUrlObj),
19115
19189
  options: localVarRequestOptions,
@@ -19265,13 +19339,14 @@ export const WaitListApiFp = function (configuration) {
19265
19339
  /**
19266
19340
  * Rejoindre la file d\'attente pour un booking (créneau ouvert)
19267
19341
  * @param {string} bookingId
19342
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19268
19343
  * @param {*} [options] Override http request option.
19269
19344
  * @throws {RequiredError}
19270
19345
  */
19271
- joinBookingWaitList(bookingId, options) {
19346
+ joinBookingWaitList(bookingId, joinWaitListRequest, options) {
19272
19347
  return __awaiter(this, void 0, void 0, function* () {
19273
19348
  var _a, _b, _c;
19274
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
19349
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
19275
19350
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19276
19351
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19277
19352
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19280,13 +19355,14 @@ export const WaitListApiFp = function (configuration) {
19280
19355
  /**
19281
19356
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
19282
19357
  * @param {string} eventBookingId
19358
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19283
19359
  * @param {*} [options] Override http request option.
19284
19360
  * @throws {RequiredError}
19285
19361
  */
19286
- joinEventBookingWaitList(eventBookingId, options) {
19362
+ joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options) {
19287
19363
  return __awaiter(this, void 0, void 0, function* () {
19288
19364
  var _a, _b, _c;
19289
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
19365
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
19290
19366
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19291
19367
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinEventBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19292
19368
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19295,13 +19371,14 @@ export const WaitListApiFp = function (configuration) {
19295
19371
  /**
19296
19372
  * Rejoindre la file d\'attente pour un event (participation solo)
19297
19373
  * @param {string} eventId
19374
+ * @param {JoinWaitListRequest} [joinWaitListRequest]
19298
19375
  * @param {*} [options] Override http request option.
19299
19376
  * @throws {RequiredError}
19300
19377
  */
19301
- joinEventWaitList(eventId, options) {
19378
+ joinEventWaitList(eventId, joinWaitListRequest, options) {
19302
19379
  return __awaiter(this, void 0, void 0, function* () {
19303
19380
  var _a, _b, _c;
19304
- const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, options);
19381
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
19305
19382
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19306
19383
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinEventWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19307
19384
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19395,7 +19472,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
19395
19472
  * @throws {RequiredError}
19396
19473
  */
19397
19474
  joinBookingWaitList(requestParameters, options) {
19398
- return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
19475
+ return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19399
19476
  },
19400
19477
  /**
19401
19478
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -19404,7 +19481,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
19404
19481
  * @throws {RequiredError}
19405
19482
  */
19406
19483
  joinEventBookingWaitList(requestParameters, options) {
19407
- return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
19484
+ return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19408
19485
  },
19409
19486
  /**
19410
19487
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -19413,7 +19490,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
19413
19490
  * @throws {RequiredError}
19414
19491
  */
19415
19492
  joinEventWaitList(requestParameters, options) {
19416
- return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
19493
+ return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
19417
19494
  },
19418
19495
  /**
19419
19496
  * Quitter la file d\'attente d\'un booking
@@ -19489,7 +19566,7 @@ export class WaitListApi extends BaseAPI {
19489
19566
  * @memberof WaitListApi
19490
19567
  */
19491
19568
  joinBookingWaitList(requestParameters, options) {
19492
- return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
19569
+ return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19493
19570
  }
19494
19571
  /**
19495
19572
  * Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
@@ -19499,7 +19576,7 @@ export class WaitListApi extends BaseAPI {
19499
19576
  * @memberof WaitListApi
19500
19577
  */
19501
19578
  joinEventBookingWaitList(requestParameters, options) {
19502
- return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
19579
+ return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19503
19580
  }
19504
19581
  /**
19505
19582
  * Rejoindre la file d\'attente pour un event (participation solo)
@@ -19509,7 +19586,7 @@ export class WaitListApi extends BaseAPI {
19509
19586
  * @memberof WaitListApi
19510
19587
  */
19511
19588
  joinEventWaitList(requestParameters, options) {
19512
- return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
19589
+ return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
19513
19590
  }
19514
19591
  /**
19515
19592
  * 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<EventSponsor>**](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
 
@@ -0,0 +1,24 @@
1
+ # EventDetailClub
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **logo** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { EventDetailClub } from '@tennac-booking/sdk';
16
+
17
+ const instance: EventDetailClub = {
18
+ id,
19
+ name,
20
+ logo,
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)
@@ -0,0 +1,26 @@
1
+ # EventDetailCourt
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **surface** | **string** | | [optional] [default to undefined]
11
+ **isIndoor** | **boolean** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { EventDetailCourt } from '@tennac-booking/sdk';
17
+
18
+ const instance: EventDetailCourt = {
19
+ id,
20
+ name,
21
+ surface,
22
+ isIndoor,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+ # EventDetailResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
9
+ **remainingSpots** | **number** | | [optional] [default to undefined]
10
+ **isRegistrationOpen** | **boolean** | | [default to undefined]
11
+ **registrationOpensAt** | **string** | | [optional] [default to undefined]
12
+ **registeredAvatars** | **Array<string>** | | [default to undefined]
13
+ **registeredCount** | **number** | | [default to undefined]
14
+ **courts** | [**Array<EventDetailCourt>**](EventDetailCourt.md) | | [default to undefined]
15
+ **club** | [**EventDetailClub**](EventDetailClub.md) | | [optional] [default to undefined]
16
+ **sponsors** | [**Array<EventDetailSponsor>**](EventDetailSponsor.md) | | [optional] [default to undefined]
17
+ **userBooking** | [**EventBookingResponse**](EventBookingResponse.md) | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { EventDetailResponse } from '@tennac-booking/sdk';
23
+
24
+ const instance: EventDetailResponse = {
25
+ event,
26
+ remainingSpots,
27
+ isRegistrationOpen,
28
+ registrationOpensAt,
29
+ registeredAvatars,
30
+ registeredCount,
31
+ courts,
32
+ club,
33
+ sponsors,
34
+ userBooking,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # EventDetailSponsor
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **logo** | **string** | | [optional] [default to undefined]
10
+ **url** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { EventDetailSponsor } from '@tennac-booking/sdk';
16
+
17
+ const instance: EventDetailSponsor = {
18
+ name,
19
+ logo,
20
+ url,
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)
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
30
30
  **price** | **number** | | [optional] [default to undefined]
31
31
  **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
32
32
  **visibilityType** | **string** | | [default to undefined]
33
+ **needLicence** | **boolean** | | [default to undefined]
33
34
  **levels** | **Array<string | null>** | | [optional] [default to undefined]
34
35
  **sponsors** | [**Array<EventSponsor>**](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,
package/docs/EventsApi.md CHANGED
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost*
9
9
  |[**estimateOpenEventBookingJoinPrice**](#estimateopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/estimate | |
10
10
  |[**getComingEvent**](#getcomingevent) | **GET** /api/events/coming | |
11
11
  |[**getEventById**](#geteventbyid) | **GET** /api/events/{eventId} | |
12
+ |[**getEventDetailById**](#geteventdetailbyid) | **GET** /api/events/{eventId}/detail | |
12
13
  |[**getOpenEventBookingJoinPrice**](#getopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/join-price | |
13
14
  |[**getOpenEventBookings**](#getopeneventbookings) | **GET** /api/events/open | |
14
15
  |[**getOpenEventBookingsBySport**](#getopeneventbookingsbysport) | **GET** /api/events/open/by-sport | |
@@ -301,6 +302,59 @@ No authorization required
301
302
 
302
303
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
303
304
 
305
+ # **getEventDetailById**
306
+ > EventDetailResponse getEventDetailById()
307
+
308
+ Get detailed event information for a user
309
+
310
+ ### Example
311
+
312
+ ```typescript
313
+ import {
314
+ EventsApi,
315
+ Configuration
316
+ } from '@tennac-booking/sdk';
317
+
318
+ const configuration = new Configuration();
319
+ const apiInstance = new EventsApi(configuration);
320
+
321
+ let eventId: string; // (default to undefined)
322
+
323
+ const { status, data } = await apiInstance.getEventDetailById(
324
+ eventId
325
+ );
326
+ ```
327
+
328
+ ### Parameters
329
+
330
+ |Name | Type | Description | Notes|
331
+ |------------- | ------------- | ------------- | -------------|
332
+ | **eventId** | [**string**] | | defaults to undefined|
333
+
334
+
335
+ ### Return type
336
+
337
+ **EventDetailResponse**
338
+
339
+ ### Authorization
340
+
341
+ [bearerAuth](../README.md#bearerAuth)
342
+
343
+ ### HTTP request headers
344
+
345
+ - **Content-Type**: Not defined
346
+ - **Accept**: application/json
347
+
348
+
349
+ ### HTTP response details
350
+ | Status code | Description | Response headers |
351
+ |-------------|-------------|------------------|
352
+ |**200** | Event detail | - |
353
+ |**401** | Unauthorized | - |
354
+ |**404** | Not Found | - |
355
+
356
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
357
+
304
358
  # **getOpenEventBookingJoinPrice**
305
359
  > GetOpenEventBookingJoinPrice200Response getOpenEventBookingJoinPrice()
306
360
 
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **teamName** | **string** | | [optional] [default to undefined]
9
9
  **players** | **Array<string>** | | [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,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **name** | **string** | Nom du club | [optional] [default to undefined]
9
9
  **websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
10
+ **socials** | **{ [key: string]: string; }** | Réseaux sociaux du club (ex: { insta: \"https://...\" }) | [optional] [default to undefined]
10
11
  **description** | **string** | Description du club | [optional] [default to undefined]
11
12
  **email** | **string** | Email du club | [optional] [default to undefined]
12
13
  **phone** | **string** | Téléphone du club | [optional] [default to undefined]
@@ -22,6 +23,7 @@ import { UpdateClubRequest } from '@tennac-booking/sdk';
22
23
  const instance: UpdateClubRequest = {
23
24
  name,
24
25
  websiteUrl,
26
+ socials,
25
27
  description,
26
28
  email,
27
29
  phone,