@tennac-booking/sdk 1.0.251 → 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.
@@ -197,6 +197,10 @@ docs/EventBookingResponseSetupStatus.md
197
197
  docs/EventBookingStatus.md
198
198
  docs/EventConflictCheckRequest.md
199
199
  docs/EventConflictCheckResponse.md
200
+ docs/EventDetailClub.md
201
+ docs/EventDetailCourt.md
202
+ docs/EventDetailResponse.md
203
+ docs/EventDetailSponsor.md
200
204
  docs/EventResponse.md
201
205
  docs/EventSponsor.md
202
206
  docs/EventUser.md
package/README.md CHANGED
@@ -187,6 +187,7 @@ Class | Method | HTTP request | Description
187
187
  *EventsApi* | [**estimateOpenEventBookingJoinPrice**](docs/EventsApi.md#estimateopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/estimate |
188
188
  *EventsApi* | [**getComingEvent**](docs/EventsApi.md#getcomingevent) | **GET** /api/events/coming |
189
189
  *EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
190
+ *EventsApi* | [**getEventDetailById**](docs/EventsApi.md#geteventdetailbyid) | **GET** /api/events/{eventId}/detail |
190
191
  *EventsApi* | [**getOpenEventBookingJoinPrice**](docs/EventsApi.md#getopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/join-price |
191
192
  *EventsApi* | [**getOpenEventBookings**](docs/EventsApi.md#getopeneventbookings) | **GET** /api/events/open |
192
193
  *EventsApi* | [**getOpenEventBookingsBySport**](docs/EventsApi.md#getopeneventbookingsbysport) | **GET** /api/events/open/by-sport |
@@ -502,6 +503,10 @@ Class | Method | HTTP request | Description
502
503
  - [EventBookingStatus](docs/EventBookingStatus.md)
503
504
  - [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
504
505
  - [EventConflictCheckResponse](docs/EventConflictCheckResponse.md)
506
+ - [EventDetailClub](docs/EventDetailClub.md)
507
+ - [EventDetailCourt](docs/EventDetailCourt.md)
508
+ - [EventDetailResponse](docs/EventDetailResponse.md)
509
+ - [EventDetailSponsor](docs/EventDetailSponsor.md)
505
510
  - [EventResponse](docs/EventResponse.md)
506
511
  - [EventSponsor](docs/EventSponsor.md)
507
512
  - [EventUser](docs/EventUser.md)
package/api.ts CHANGED
@@ -6710,6 +6710,154 @@ export interface EventConflictCheckResponse {
6710
6710
  */
6711
6711
  'eventBookingsCount': number;
6712
6712
  }
6713
+ /**
6714
+ *
6715
+ * @export
6716
+ * @interface EventDetailClub
6717
+ */
6718
+ export interface EventDetailClub {
6719
+ /**
6720
+ *
6721
+ * @type {string}
6722
+ * @memberof EventDetailClub
6723
+ */
6724
+ 'id': string;
6725
+ /**
6726
+ *
6727
+ * @type {string}
6728
+ * @memberof EventDetailClub
6729
+ */
6730
+ 'name': string;
6731
+ /**
6732
+ *
6733
+ * @type {string}
6734
+ * @memberof EventDetailClub
6735
+ */
6736
+ 'logo'?: string | null;
6737
+ }
6738
+ /**
6739
+ *
6740
+ * @export
6741
+ * @interface EventDetailCourt
6742
+ */
6743
+ export interface EventDetailCourt {
6744
+ /**
6745
+ *
6746
+ * @type {string}
6747
+ * @memberof EventDetailCourt
6748
+ */
6749
+ 'id': string;
6750
+ /**
6751
+ *
6752
+ * @type {string}
6753
+ * @memberof EventDetailCourt
6754
+ */
6755
+ 'name': string;
6756
+ /**
6757
+ *
6758
+ * @type {string}
6759
+ * @memberof EventDetailCourt
6760
+ */
6761
+ 'surface'?: string;
6762
+ /**
6763
+ *
6764
+ * @type {boolean}
6765
+ * @memberof EventDetailCourt
6766
+ */
6767
+ 'isIndoor': boolean;
6768
+ }
6769
+ /**
6770
+ *
6771
+ * @export
6772
+ * @interface EventDetailResponse
6773
+ */
6774
+ export interface EventDetailResponse {
6775
+ /**
6776
+ *
6777
+ * @type {EventResponse}
6778
+ * @memberof EventDetailResponse
6779
+ */
6780
+ 'event': EventResponse;
6781
+ /**
6782
+ *
6783
+ * @type {number}
6784
+ * @memberof EventDetailResponse
6785
+ */
6786
+ 'remainingSpots'?: number | null;
6787
+ /**
6788
+ *
6789
+ * @type {boolean}
6790
+ * @memberof EventDetailResponse
6791
+ */
6792
+ 'isRegistrationOpen': boolean;
6793
+ /**
6794
+ *
6795
+ * @type {string}
6796
+ * @memberof EventDetailResponse
6797
+ */
6798
+ 'registrationOpensAt'?: string | null;
6799
+ /**
6800
+ *
6801
+ * @type {Array<string>}
6802
+ * @memberof EventDetailResponse
6803
+ */
6804
+ 'registeredAvatars': Array<string>;
6805
+ /**
6806
+ *
6807
+ * @type {number}
6808
+ * @memberof EventDetailResponse
6809
+ */
6810
+ 'registeredCount': number;
6811
+ /**
6812
+ *
6813
+ * @type {Array<EventDetailCourt>}
6814
+ * @memberof EventDetailResponse
6815
+ */
6816
+ 'courts': Array<EventDetailCourt>;
6817
+ /**
6818
+ *
6819
+ * @type {EventDetailClub}
6820
+ * @memberof EventDetailResponse
6821
+ */
6822
+ 'club'?: EventDetailClub | null;
6823
+ /**
6824
+ *
6825
+ * @type {Array<EventDetailSponsor>}
6826
+ * @memberof EventDetailResponse
6827
+ */
6828
+ 'sponsors'?: Array<EventDetailSponsor>;
6829
+ /**
6830
+ *
6831
+ * @type {EventBookingResponse}
6832
+ * @memberof EventDetailResponse
6833
+ */
6834
+ 'userBooking'?: EventBookingResponse;
6835
+ }
6836
+ /**
6837
+ *
6838
+ * @export
6839
+ * @interface EventDetailSponsor
6840
+ */
6841
+ export interface EventDetailSponsor {
6842
+ /**
6843
+ *
6844
+ * @type {string}
6845
+ * @memberof EventDetailSponsor
6846
+ */
6847
+ 'name'?: string;
6848
+ /**
6849
+ *
6850
+ * @type {string}
6851
+ * @memberof EventDetailSponsor
6852
+ */
6853
+ 'logo'?: string | null;
6854
+ /**
6855
+ *
6856
+ * @type {string}
6857
+ * @memberof EventDetailSponsor
6858
+ */
6859
+ 'url'?: string;
6860
+ }
6713
6861
  /**
6714
6862
  *
6715
6863
  * @export
@@ -29275,6 +29423,43 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
29275
29423
 
29276
29424
 
29277
29425
 
29426
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29427
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29428
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29429
+
29430
+ return {
29431
+ url: toPathString(localVarUrlObj),
29432
+ options: localVarRequestOptions,
29433
+ };
29434
+ },
29435
+ /**
29436
+ * Get detailed event information for a user
29437
+ * @param {string} eventId
29438
+ * @param {*} [options] Override http request option.
29439
+ * @throws {RequiredError}
29440
+ */
29441
+ getEventDetailById: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29442
+ // verify required parameter 'eventId' is not null or undefined
29443
+ assertParamExists('getEventDetailById', 'eventId', eventId)
29444
+ const localVarPath = `/api/events/{eventId}/detail`
29445
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
29446
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29447
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29448
+ let baseOptions;
29449
+ if (configuration) {
29450
+ baseOptions = configuration.baseOptions;
29451
+ }
29452
+
29453
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29454
+ const localVarHeaderParameter = {} as any;
29455
+ const localVarQueryParameter = {} as any;
29456
+
29457
+ // authentication bearerAuth required
29458
+ // http bearer authentication required
29459
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29460
+
29461
+
29462
+
29278
29463
  setSearchParams(localVarUrlObj, localVarQueryParameter);
29279
29464
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29280
29465
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -29726,6 +29911,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
29726
29911
  const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
29727
29912
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29728
29913
  },
29914
+ /**
29915
+ * Get detailed event information for a user
29916
+ * @param {string} eventId
29917
+ * @param {*} [options] Override http request option.
29918
+ * @throws {RequiredError}
29919
+ */
29920
+ async getEventDetailById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDetailResponse>> {
29921
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventDetailById(eventId, options);
29922
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29923
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventDetailById']?.[localVarOperationServerIndex]?.url;
29924
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29925
+ },
29729
29926
  /**
29730
29927
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
29731
29928
  * @param {string} eventBookingId
@@ -29897,6 +30094,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
29897
30094
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
29898
30095
  return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
29899
30096
  },
30097
+ /**
30098
+ * Get detailed event information for a user
30099
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
30100
+ * @param {*} [options] Override http request option.
30101
+ * @throws {RequiredError}
30102
+ */
30103
+ getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventDetailResponse> {
30104
+ return localVarFp.getEventDetailById(requestParameters.eventId, options).then((request) => request(axios, basePath));
30105
+ },
29900
30106
  /**
29901
30107
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
29902
30108
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -30086,6 +30292,20 @@ export interface EventsApiGetEventByIdRequest {
30086
30292
  readonly userId?: string
30087
30293
  }
30088
30294
 
30295
+ /**
30296
+ * Request parameters for getEventDetailById operation in EventsApi.
30297
+ * @export
30298
+ * @interface EventsApiGetEventDetailByIdRequest
30299
+ */
30300
+ export interface EventsApiGetEventDetailByIdRequest {
30301
+ /**
30302
+ *
30303
+ * @type {string}
30304
+ * @memberof EventsApiGetEventDetailById
30305
+ */
30306
+ readonly eventId: string
30307
+ }
30308
+
30089
30309
  /**
30090
30310
  * Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
30091
30311
  * @export
@@ -30330,6 +30550,17 @@ export class EventsApi extends BaseAPI {
30330
30550
  return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
30331
30551
  }
30332
30552
 
30553
+ /**
30554
+ * Get detailed event information for a user
30555
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
30556
+ * @param {*} [options] Override http request option.
30557
+ * @throws {RequiredError}
30558
+ * @memberof EventsApi
30559
+ */
30560
+ public getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig) {
30561
+ return EventsApiFp(this.configuration).getEventDetailById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
30562
+ }
30563
+
30333
30564
  /**
30334
30565
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
30335
30566
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
package/dist/api.d.ts CHANGED
@@ -6620,6 +6620,154 @@ export interface EventConflictCheckResponse {
6620
6620
  */
6621
6621
  'eventBookingsCount': number;
6622
6622
  }
6623
+ /**
6624
+ *
6625
+ * @export
6626
+ * @interface EventDetailClub
6627
+ */
6628
+ export interface EventDetailClub {
6629
+ /**
6630
+ *
6631
+ * @type {string}
6632
+ * @memberof EventDetailClub
6633
+ */
6634
+ 'id': string;
6635
+ /**
6636
+ *
6637
+ * @type {string}
6638
+ * @memberof EventDetailClub
6639
+ */
6640
+ 'name': string;
6641
+ /**
6642
+ *
6643
+ * @type {string}
6644
+ * @memberof EventDetailClub
6645
+ */
6646
+ 'logo'?: string | null;
6647
+ }
6648
+ /**
6649
+ *
6650
+ * @export
6651
+ * @interface EventDetailCourt
6652
+ */
6653
+ export interface EventDetailCourt {
6654
+ /**
6655
+ *
6656
+ * @type {string}
6657
+ * @memberof EventDetailCourt
6658
+ */
6659
+ 'id': string;
6660
+ /**
6661
+ *
6662
+ * @type {string}
6663
+ * @memberof EventDetailCourt
6664
+ */
6665
+ 'name': string;
6666
+ /**
6667
+ *
6668
+ * @type {string}
6669
+ * @memberof EventDetailCourt
6670
+ */
6671
+ 'surface'?: string;
6672
+ /**
6673
+ *
6674
+ * @type {boolean}
6675
+ * @memberof EventDetailCourt
6676
+ */
6677
+ 'isIndoor': boolean;
6678
+ }
6679
+ /**
6680
+ *
6681
+ * @export
6682
+ * @interface EventDetailResponse
6683
+ */
6684
+ export interface EventDetailResponse {
6685
+ /**
6686
+ *
6687
+ * @type {EventResponse}
6688
+ * @memberof EventDetailResponse
6689
+ */
6690
+ 'event': EventResponse;
6691
+ /**
6692
+ *
6693
+ * @type {number}
6694
+ * @memberof EventDetailResponse
6695
+ */
6696
+ 'remainingSpots'?: number | null;
6697
+ /**
6698
+ *
6699
+ * @type {boolean}
6700
+ * @memberof EventDetailResponse
6701
+ */
6702
+ 'isRegistrationOpen': boolean;
6703
+ /**
6704
+ *
6705
+ * @type {string}
6706
+ * @memberof EventDetailResponse
6707
+ */
6708
+ 'registrationOpensAt'?: string | null;
6709
+ /**
6710
+ *
6711
+ * @type {Array<string>}
6712
+ * @memberof EventDetailResponse
6713
+ */
6714
+ 'registeredAvatars': Array<string>;
6715
+ /**
6716
+ *
6717
+ * @type {number}
6718
+ * @memberof EventDetailResponse
6719
+ */
6720
+ 'registeredCount': number;
6721
+ /**
6722
+ *
6723
+ * @type {Array<EventDetailCourt>}
6724
+ * @memberof EventDetailResponse
6725
+ */
6726
+ 'courts': Array<EventDetailCourt>;
6727
+ /**
6728
+ *
6729
+ * @type {EventDetailClub}
6730
+ * @memberof EventDetailResponse
6731
+ */
6732
+ 'club'?: EventDetailClub | null;
6733
+ /**
6734
+ *
6735
+ * @type {Array<EventDetailSponsor>}
6736
+ * @memberof EventDetailResponse
6737
+ */
6738
+ 'sponsors'?: Array<EventDetailSponsor>;
6739
+ /**
6740
+ *
6741
+ * @type {EventBookingResponse}
6742
+ * @memberof EventDetailResponse
6743
+ */
6744
+ 'userBooking'?: EventBookingResponse;
6745
+ }
6746
+ /**
6747
+ *
6748
+ * @export
6749
+ * @interface EventDetailSponsor
6750
+ */
6751
+ export interface EventDetailSponsor {
6752
+ /**
6753
+ *
6754
+ * @type {string}
6755
+ * @memberof EventDetailSponsor
6756
+ */
6757
+ 'name'?: string;
6758
+ /**
6759
+ *
6760
+ * @type {string}
6761
+ * @memberof EventDetailSponsor
6762
+ */
6763
+ 'logo'?: string | null;
6764
+ /**
6765
+ *
6766
+ * @type {string}
6767
+ * @memberof EventDetailSponsor
6768
+ */
6769
+ 'url'?: string;
6770
+ }
6623
6771
  /**
6624
6772
  *
6625
6773
  * @export
@@ -23093,6 +23241,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
23093
23241
  * @throws {RequiredError}
23094
23242
  */
23095
23243
  getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23244
+ /**
23245
+ * Get detailed event information for a user
23246
+ * @param {string} eventId
23247
+ * @param {*} [options] Override http request option.
23248
+ * @throws {RequiredError}
23249
+ */
23250
+ getEventDetailById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23096
23251
  /**
23097
23252
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23098
23253
  * @param {string} eventBookingId
@@ -23210,6 +23365,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
23210
23365
  * @throws {RequiredError}
23211
23366
  */
23212
23367
  getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
23368
+ /**
23369
+ * Get detailed event information for a user
23370
+ * @param {string} eventId
23371
+ * @param {*} [options] Override http request option.
23372
+ * @throws {RequiredError}
23373
+ */
23374
+ getEventDetailById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDetailResponse>>;
23213
23375
  /**
23214
23376
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23215
23377
  * @param {string} eventBookingId
@@ -23322,6 +23484,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
23322
23484
  * @throws {RequiredError}
23323
23485
  */
23324
23486
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
23487
+ /**
23488
+ * Get detailed event information for a user
23489
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
23490
+ * @param {*} [options] Override http request option.
23491
+ * @throws {RequiredError}
23492
+ */
23493
+ getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventDetailResponse>;
23325
23494
  /**
23326
23495
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23327
23496
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -23481,6 +23650,19 @@ export interface EventsApiGetEventByIdRequest {
23481
23650
  */
23482
23651
  readonly userId?: string;
23483
23652
  }
23653
+ /**
23654
+ * Request parameters for getEventDetailById operation in EventsApi.
23655
+ * @export
23656
+ * @interface EventsApiGetEventDetailByIdRequest
23657
+ */
23658
+ export interface EventsApiGetEventDetailByIdRequest {
23659
+ /**
23660
+ *
23661
+ * @type {string}
23662
+ * @memberof EventsApiGetEventDetailById
23663
+ */
23664
+ readonly eventId: string;
23665
+ }
23484
23666
  /**
23485
23667
  * Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
23486
23668
  * @export
@@ -23693,6 +23875,14 @@ export declare class EventsApi extends BaseAPI {
23693
23875
  * @memberof EventsApi
23694
23876
  */
23695
23877
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
23878
+ /**
23879
+ * Get detailed event information for a user
23880
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
23881
+ * @param {*} [options] Override http request option.
23882
+ * @throws {RequiredError}
23883
+ * @memberof EventsApi
23884
+ */
23885
+ getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDetailResponse, any, {}>>;
23696
23886
  /**
23697
23887
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23698
23888
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
package/dist/api.js CHANGED
@@ -9990,6 +9990,37 @@ const EventsApiAxiosParamCreator = function (configuration) {
9990
9990
  options: localVarRequestOptions,
9991
9991
  };
9992
9992
  }),
9993
+ /**
9994
+ * Get detailed event information for a user
9995
+ * @param {string} eventId
9996
+ * @param {*} [options] Override http request option.
9997
+ * @throws {RequiredError}
9998
+ */
9999
+ getEventDetailById: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
10000
+ // verify required parameter 'eventId' is not null or undefined
10001
+ (0, common_1.assertParamExists)('getEventDetailById', 'eventId', eventId);
10002
+ const localVarPath = `/api/events/{eventId}/detail`
10003
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
10004
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10005
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10006
+ let baseOptions;
10007
+ if (configuration) {
10008
+ baseOptions = configuration.baseOptions;
10009
+ }
10010
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10011
+ const localVarHeaderParameter = {};
10012
+ const localVarQueryParameter = {};
10013
+ // authentication bearerAuth required
10014
+ // http bearer authentication required
10015
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10016
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10017
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10018
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10019
+ return {
10020
+ url: (0, common_1.toPathString)(localVarUrlObj),
10021
+ options: localVarRequestOptions,
10022
+ };
10023
+ }),
9993
10024
  /**
9994
10025
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
9995
10026
  * @param {string} eventBookingId
@@ -10385,6 +10416,21 @@ const EventsApiFp = function (configuration) {
10385
10416
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10386
10417
  });
10387
10418
  },
10419
+ /**
10420
+ * Get detailed event information for a user
10421
+ * @param {string} eventId
10422
+ * @param {*} [options] Override http request option.
10423
+ * @throws {RequiredError}
10424
+ */
10425
+ getEventDetailById(eventId, options) {
10426
+ return __awaiter(this, void 0, void 0, function* () {
10427
+ var _a, _b, _c;
10428
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventDetailById(eventId, options);
10429
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10430
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsApi.getEventDetailById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10431
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10432
+ });
10433
+ },
10388
10434
  /**
10389
10435
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
10390
10436
  * @param {string} eventBookingId
@@ -10583,6 +10629,15 @@ const EventsApiFactory = function (configuration, basePath, axios) {
10583
10629
  getEventById(requestParameters, options) {
10584
10630
  return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
10585
10631
  },
10632
+ /**
10633
+ * Get detailed event information for a user
10634
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
10635
+ * @param {*} [options] Override http request option.
10636
+ * @throws {RequiredError}
10637
+ */
10638
+ getEventDetailById(requestParameters, options) {
10639
+ return localVarFp.getEventDetailById(requestParameters.eventId, options).then((request) => request(axios, basePath));
10640
+ },
10586
10641
  /**
10587
10642
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
10588
10643
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -10724,6 +10779,16 @@ class EventsApi extends base_1.BaseAPI {
10724
10779
  getEventById(requestParameters, options) {
10725
10780
  return (0, exports.EventsApiFp)(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
10726
10781
  }
10782
+ /**
10783
+ * Get detailed event information for a user
10784
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
10785
+ * @param {*} [options] Override http request option.
10786
+ * @throws {RequiredError}
10787
+ * @memberof EventsApi
10788
+ */
10789
+ getEventDetailById(requestParameters, options) {
10790
+ return (0, exports.EventsApiFp)(this.configuration).getEventDetailById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
10791
+ }
10727
10792
  /**
10728
10793
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
10729
10794
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
package/dist/esm/api.d.ts CHANGED
@@ -6620,6 +6620,154 @@ export interface EventConflictCheckResponse {
6620
6620
  */
6621
6621
  'eventBookingsCount': number;
6622
6622
  }
6623
+ /**
6624
+ *
6625
+ * @export
6626
+ * @interface EventDetailClub
6627
+ */
6628
+ export interface EventDetailClub {
6629
+ /**
6630
+ *
6631
+ * @type {string}
6632
+ * @memberof EventDetailClub
6633
+ */
6634
+ 'id': string;
6635
+ /**
6636
+ *
6637
+ * @type {string}
6638
+ * @memberof EventDetailClub
6639
+ */
6640
+ 'name': string;
6641
+ /**
6642
+ *
6643
+ * @type {string}
6644
+ * @memberof EventDetailClub
6645
+ */
6646
+ 'logo'?: string | null;
6647
+ }
6648
+ /**
6649
+ *
6650
+ * @export
6651
+ * @interface EventDetailCourt
6652
+ */
6653
+ export interface EventDetailCourt {
6654
+ /**
6655
+ *
6656
+ * @type {string}
6657
+ * @memberof EventDetailCourt
6658
+ */
6659
+ 'id': string;
6660
+ /**
6661
+ *
6662
+ * @type {string}
6663
+ * @memberof EventDetailCourt
6664
+ */
6665
+ 'name': string;
6666
+ /**
6667
+ *
6668
+ * @type {string}
6669
+ * @memberof EventDetailCourt
6670
+ */
6671
+ 'surface'?: string;
6672
+ /**
6673
+ *
6674
+ * @type {boolean}
6675
+ * @memberof EventDetailCourt
6676
+ */
6677
+ 'isIndoor': boolean;
6678
+ }
6679
+ /**
6680
+ *
6681
+ * @export
6682
+ * @interface EventDetailResponse
6683
+ */
6684
+ export interface EventDetailResponse {
6685
+ /**
6686
+ *
6687
+ * @type {EventResponse}
6688
+ * @memberof EventDetailResponse
6689
+ */
6690
+ 'event': EventResponse;
6691
+ /**
6692
+ *
6693
+ * @type {number}
6694
+ * @memberof EventDetailResponse
6695
+ */
6696
+ 'remainingSpots'?: number | null;
6697
+ /**
6698
+ *
6699
+ * @type {boolean}
6700
+ * @memberof EventDetailResponse
6701
+ */
6702
+ 'isRegistrationOpen': boolean;
6703
+ /**
6704
+ *
6705
+ * @type {string}
6706
+ * @memberof EventDetailResponse
6707
+ */
6708
+ 'registrationOpensAt'?: string | null;
6709
+ /**
6710
+ *
6711
+ * @type {Array<string>}
6712
+ * @memberof EventDetailResponse
6713
+ */
6714
+ 'registeredAvatars': Array<string>;
6715
+ /**
6716
+ *
6717
+ * @type {number}
6718
+ * @memberof EventDetailResponse
6719
+ */
6720
+ 'registeredCount': number;
6721
+ /**
6722
+ *
6723
+ * @type {Array<EventDetailCourt>}
6724
+ * @memberof EventDetailResponse
6725
+ */
6726
+ 'courts': Array<EventDetailCourt>;
6727
+ /**
6728
+ *
6729
+ * @type {EventDetailClub}
6730
+ * @memberof EventDetailResponse
6731
+ */
6732
+ 'club'?: EventDetailClub | null;
6733
+ /**
6734
+ *
6735
+ * @type {Array<EventDetailSponsor>}
6736
+ * @memberof EventDetailResponse
6737
+ */
6738
+ 'sponsors'?: Array<EventDetailSponsor>;
6739
+ /**
6740
+ *
6741
+ * @type {EventBookingResponse}
6742
+ * @memberof EventDetailResponse
6743
+ */
6744
+ 'userBooking'?: EventBookingResponse;
6745
+ }
6746
+ /**
6747
+ *
6748
+ * @export
6749
+ * @interface EventDetailSponsor
6750
+ */
6751
+ export interface EventDetailSponsor {
6752
+ /**
6753
+ *
6754
+ * @type {string}
6755
+ * @memberof EventDetailSponsor
6756
+ */
6757
+ 'name'?: string;
6758
+ /**
6759
+ *
6760
+ * @type {string}
6761
+ * @memberof EventDetailSponsor
6762
+ */
6763
+ 'logo'?: string | null;
6764
+ /**
6765
+ *
6766
+ * @type {string}
6767
+ * @memberof EventDetailSponsor
6768
+ */
6769
+ 'url'?: string;
6770
+ }
6623
6771
  /**
6624
6772
  *
6625
6773
  * @export
@@ -23093,6 +23241,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
23093
23241
  * @throws {RequiredError}
23094
23242
  */
23095
23243
  getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23244
+ /**
23245
+ * Get detailed event information for a user
23246
+ * @param {string} eventId
23247
+ * @param {*} [options] Override http request option.
23248
+ * @throws {RequiredError}
23249
+ */
23250
+ getEventDetailById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23096
23251
  /**
23097
23252
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23098
23253
  * @param {string} eventBookingId
@@ -23210,6 +23365,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
23210
23365
  * @throws {RequiredError}
23211
23366
  */
23212
23367
  getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
23368
+ /**
23369
+ * Get detailed event information for a user
23370
+ * @param {string} eventId
23371
+ * @param {*} [options] Override http request option.
23372
+ * @throws {RequiredError}
23373
+ */
23374
+ getEventDetailById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDetailResponse>>;
23213
23375
  /**
23214
23376
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23215
23377
  * @param {string} eventBookingId
@@ -23322,6 +23484,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
23322
23484
  * @throws {RequiredError}
23323
23485
  */
23324
23486
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
23487
+ /**
23488
+ * Get detailed event information for a user
23489
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
23490
+ * @param {*} [options] Override http request option.
23491
+ * @throws {RequiredError}
23492
+ */
23493
+ getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventDetailResponse>;
23325
23494
  /**
23326
23495
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23327
23496
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -23481,6 +23650,19 @@ export interface EventsApiGetEventByIdRequest {
23481
23650
  */
23482
23651
  readonly userId?: string;
23483
23652
  }
23653
+ /**
23654
+ * Request parameters for getEventDetailById operation in EventsApi.
23655
+ * @export
23656
+ * @interface EventsApiGetEventDetailByIdRequest
23657
+ */
23658
+ export interface EventsApiGetEventDetailByIdRequest {
23659
+ /**
23660
+ *
23661
+ * @type {string}
23662
+ * @memberof EventsApiGetEventDetailById
23663
+ */
23664
+ readonly eventId: string;
23665
+ }
23484
23666
  /**
23485
23667
  * Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
23486
23668
  * @export
@@ -23693,6 +23875,14 @@ export declare class EventsApi extends BaseAPI {
23693
23875
  * @memberof EventsApi
23694
23876
  */
23695
23877
  getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
23878
+ /**
23879
+ * Get detailed event information for a user
23880
+ * @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
23881
+ * @param {*} [options] Override http request option.
23882
+ * @throws {RequiredError}
23883
+ * @memberof EventsApi
23884
+ */
23885
+ getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDetailResponse, any, {}>>;
23696
23886
  /**
23697
23887
  * Estimer simplement le prix à payer pour rejoindre un événement ouvert
23698
23888
  * @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
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.
@@ -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&lt;string&gt;** | | [default to undefined]
13
+ **registeredCount** | **number** | | [default to undefined]
14
+ **courts** | [**Array&lt;EventDetailCourt&gt;**](EventDetailCourt.md) | | [default to undefined]
15
+ **club** | [**EventDetailClub**](EventDetailClub.md) | | [optional] [default to undefined]
16
+ **sponsors** | [**Array&lt;EventDetailSponsor&gt;**](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)
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.251",
3
+ "version": "1.0.252",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {