@tennac-booking/sdk 1.0.251 → 1.0.253
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/.openapi-generator/FILES +5 -0
- package/README.md +6 -0
- package/api.ts +274 -0
- package/dist/api.d.ts +233 -0
- package/dist/api.js +65 -0
- package/dist/esm/api.d.ts +233 -0
- package/dist/esm/api.js +65 -0
- package/docs/EventDetailClub.md +26 -0
- package/docs/EventDetailCourt.md +26 -0
- package/docs/EventDetailRegisteredPlayer.md +26 -0
- package/docs/EventDetailResponse.md +40 -0
- package/docs/EventDetailSponsor.md +24 -0
- package/docs/EventsApi.md +54 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -197,6 +197,11 @@ 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/EventDetailRegisteredPlayer.md
|
|
203
|
+
docs/EventDetailResponse.md
|
|
204
|
+
docs/EventDetailSponsor.md
|
|
200
205
|
docs/EventResponse.md
|
|
201
206
|
docs/EventSponsor.md
|
|
202
207
|
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,11 @@ 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
|
+
- [EventDetailRegisteredPlayer](docs/EventDetailRegisteredPlayer.md)
|
|
509
|
+
- [EventDetailResponse](docs/EventDetailResponse.md)
|
|
510
|
+
- [EventDetailSponsor](docs/EventDetailSponsor.md)
|
|
505
511
|
- [EventResponse](docs/EventResponse.md)
|
|
506
512
|
- [EventSponsor](docs/EventSponsor.md)
|
|
507
513
|
- [EventUser](docs/EventUser.md)
|
package/api.ts
CHANGED
|
@@ -6710,6 +6710,197 @@ 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
|
+
* @type {string}
|
|
6740
|
+
* @memberof EventDetailClub
|
|
6741
|
+
*/
|
|
6742
|
+
'address'?: string | null;
|
|
6743
|
+
}
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @export
|
|
6747
|
+
* @interface EventDetailCourt
|
|
6748
|
+
*/
|
|
6749
|
+
export interface EventDetailCourt {
|
|
6750
|
+
/**
|
|
6751
|
+
*
|
|
6752
|
+
* @type {string}
|
|
6753
|
+
* @memberof EventDetailCourt
|
|
6754
|
+
*/
|
|
6755
|
+
'id': string;
|
|
6756
|
+
/**
|
|
6757
|
+
*
|
|
6758
|
+
* @type {string}
|
|
6759
|
+
* @memberof EventDetailCourt
|
|
6760
|
+
*/
|
|
6761
|
+
'name': string;
|
|
6762
|
+
/**
|
|
6763
|
+
*
|
|
6764
|
+
* @type {string}
|
|
6765
|
+
* @memberof EventDetailCourt
|
|
6766
|
+
*/
|
|
6767
|
+
'surface'?: string;
|
|
6768
|
+
/**
|
|
6769
|
+
*
|
|
6770
|
+
* @type {boolean}
|
|
6771
|
+
* @memberof EventDetailCourt
|
|
6772
|
+
*/
|
|
6773
|
+
'isIndoor': boolean;
|
|
6774
|
+
}
|
|
6775
|
+
/**
|
|
6776
|
+
*
|
|
6777
|
+
* @export
|
|
6778
|
+
* @interface EventDetailRegisteredPlayer
|
|
6779
|
+
*/
|
|
6780
|
+
export interface EventDetailRegisteredPlayer {
|
|
6781
|
+
/**
|
|
6782
|
+
*
|
|
6783
|
+
* @type {string}
|
|
6784
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6785
|
+
*/
|
|
6786
|
+
'id': string;
|
|
6787
|
+
/**
|
|
6788
|
+
*
|
|
6789
|
+
* @type {string}
|
|
6790
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6791
|
+
*/
|
|
6792
|
+
'firstName'?: string | null;
|
|
6793
|
+
/**
|
|
6794
|
+
*
|
|
6795
|
+
* @type {string}
|
|
6796
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6797
|
+
*/
|
|
6798
|
+
'username'?: string | null;
|
|
6799
|
+
/**
|
|
6800
|
+
*
|
|
6801
|
+
* @type {string}
|
|
6802
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6803
|
+
*/
|
|
6804
|
+
'profilePicture'?: string | null;
|
|
6805
|
+
}
|
|
6806
|
+
/**
|
|
6807
|
+
*
|
|
6808
|
+
* @export
|
|
6809
|
+
* @interface EventDetailResponse
|
|
6810
|
+
*/
|
|
6811
|
+
export interface EventDetailResponse {
|
|
6812
|
+
/**
|
|
6813
|
+
*
|
|
6814
|
+
* @type {EventResponse}
|
|
6815
|
+
* @memberof EventDetailResponse
|
|
6816
|
+
*/
|
|
6817
|
+
'event': EventResponse;
|
|
6818
|
+
/**
|
|
6819
|
+
*
|
|
6820
|
+
* @type {number}
|
|
6821
|
+
* @memberof EventDetailResponse
|
|
6822
|
+
*/
|
|
6823
|
+
'remainingSpots'?: number | null;
|
|
6824
|
+
/**
|
|
6825
|
+
*
|
|
6826
|
+
* @type {boolean}
|
|
6827
|
+
* @memberof EventDetailResponse
|
|
6828
|
+
*/
|
|
6829
|
+
'isRegistrationOpen': boolean;
|
|
6830
|
+
/**
|
|
6831
|
+
*
|
|
6832
|
+
* @type {string}
|
|
6833
|
+
* @memberof EventDetailResponse
|
|
6834
|
+
*/
|
|
6835
|
+
'registrationOpensAt'?: string | null;
|
|
6836
|
+
/**
|
|
6837
|
+
*
|
|
6838
|
+
* @type {Array<string>}
|
|
6839
|
+
* @memberof EventDetailResponse
|
|
6840
|
+
*/
|
|
6841
|
+
'registeredAvatars': Array<string>;
|
|
6842
|
+
/**
|
|
6843
|
+
*
|
|
6844
|
+
* @type {Array<EventDetailRegisteredPlayer>}
|
|
6845
|
+
* @memberof EventDetailResponse
|
|
6846
|
+
*/
|
|
6847
|
+
'registeredPlayers': Array<EventDetailRegisteredPlayer>;
|
|
6848
|
+
/**
|
|
6849
|
+
*
|
|
6850
|
+
* @type {number}
|
|
6851
|
+
* @memberof EventDetailResponse
|
|
6852
|
+
*/
|
|
6853
|
+
'registeredCount': number;
|
|
6854
|
+
/**
|
|
6855
|
+
*
|
|
6856
|
+
* @type {Array<EventDetailCourt>}
|
|
6857
|
+
* @memberof EventDetailResponse
|
|
6858
|
+
*/
|
|
6859
|
+
'courts': Array<EventDetailCourt>;
|
|
6860
|
+
/**
|
|
6861
|
+
*
|
|
6862
|
+
* @type {EventDetailClub}
|
|
6863
|
+
* @memberof EventDetailResponse
|
|
6864
|
+
*/
|
|
6865
|
+
'club'?: EventDetailClub | null;
|
|
6866
|
+
/**
|
|
6867
|
+
*
|
|
6868
|
+
* @type {Array<EventDetailSponsor>}
|
|
6869
|
+
* @memberof EventDetailResponse
|
|
6870
|
+
*/
|
|
6871
|
+
'sponsors'?: Array<EventDetailSponsor>;
|
|
6872
|
+
/**
|
|
6873
|
+
*
|
|
6874
|
+
* @type {EventBookingResponse}
|
|
6875
|
+
* @memberof EventDetailResponse
|
|
6876
|
+
*/
|
|
6877
|
+
'userBooking'?: EventBookingResponse;
|
|
6878
|
+
}
|
|
6879
|
+
/**
|
|
6880
|
+
*
|
|
6881
|
+
* @export
|
|
6882
|
+
* @interface EventDetailSponsor
|
|
6883
|
+
*/
|
|
6884
|
+
export interface EventDetailSponsor {
|
|
6885
|
+
/**
|
|
6886
|
+
*
|
|
6887
|
+
* @type {string}
|
|
6888
|
+
* @memberof EventDetailSponsor
|
|
6889
|
+
*/
|
|
6890
|
+
'name'?: string;
|
|
6891
|
+
/**
|
|
6892
|
+
*
|
|
6893
|
+
* @type {string}
|
|
6894
|
+
* @memberof EventDetailSponsor
|
|
6895
|
+
*/
|
|
6896
|
+
'logo'?: string | null;
|
|
6897
|
+
/**
|
|
6898
|
+
*
|
|
6899
|
+
* @type {string}
|
|
6900
|
+
* @memberof EventDetailSponsor
|
|
6901
|
+
*/
|
|
6902
|
+
'url'?: string;
|
|
6903
|
+
}
|
|
6713
6904
|
/**
|
|
6714
6905
|
*
|
|
6715
6906
|
* @export
|
|
@@ -29275,6 +29466,43 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29275
29466
|
|
|
29276
29467
|
|
|
29277
29468
|
|
|
29469
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29470
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29471
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29472
|
+
|
|
29473
|
+
return {
|
|
29474
|
+
url: toPathString(localVarUrlObj),
|
|
29475
|
+
options: localVarRequestOptions,
|
|
29476
|
+
};
|
|
29477
|
+
},
|
|
29478
|
+
/**
|
|
29479
|
+
* Get detailed event information for a user
|
|
29480
|
+
* @param {string} eventId
|
|
29481
|
+
* @param {*} [options] Override http request option.
|
|
29482
|
+
* @throws {RequiredError}
|
|
29483
|
+
*/
|
|
29484
|
+
getEventDetailById: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29485
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
29486
|
+
assertParamExists('getEventDetailById', 'eventId', eventId)
|
|
29487
|
+
const localVarPath = `/api/events/{eventId}/detail`
|
|
29488
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
29489
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29490
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29491
|
+
let baseOptions;
|
|
29492
|
+
if (configuration) {
|
|
29493
|
+
baseOptions = configuration.baseOptions;
|
|
29494
|
+
}
|
|
29495
|
+
|
|
29496
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29497
|
+
const localVarHeaderParameter = {} as any;
|
|
29498
|
+
const localVarQueryParameter = {} as any;
|
|
29499
|
+
|
|
29500
|
+
// authentication bearerAuth required
|
|
29501
|
+
// http bearer authentication required
|
|
29502
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29503
|
+
|
|
29504
|
+
|
|
29505
|
+
|
|
29278
29506
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29279
29507
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29280
29508
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29726,6 +29954,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
29726
29954
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
|
|
29727
29955
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29728
29956
|
},
|
|
29957
|
+
/**
|
|
29958
|
+
* Get detailed event information for a user
|
|
29959
|
+
* @param {string} eventId
|
|
29960
|
+
* @param {*} [options] Override http request option.
|
|
29961
|
+
* @throws {RequiredError}
|
|
29962
|
+
*/
|
|
29963
|
+
async getEventDetailById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDetailResponse>> {
|
|
29964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventDetailById(eventId, options);
|
|
29965
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29966
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventDetailById']?.[localVarOperationServerIndex]?.url;
|
|
29967
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29968
|
+
},
|
|
29729
29969
|
/**
|
|
29730
29970
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
29731
29971
|
* @param {string} eventBookingId
|
|
@@ -29897,6 +30137,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
29897
30137
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
29898
30138
|
return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
29899
30139
|
},
|
|
30140
|
+
/**
|
|
30141
|
+
* Get detailed event information for a user
|
|
30142
|
+
* @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
|
|
30143
|
+
* @param {*} [options] Override http request option.
|
|
30144
|
+
* @throws {RequiredError}
|
|
30145
|
+
*/
|
|
30146
|
+
getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventDetailResponse> {
|
|
30147
|
+
return localVarFp.getEventDetailById(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
30148
|
+
},
|
|
29900
30149
|
/**
|
|
29901
30150
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
29902
30151
|
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -30086,6 +30335,20 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
30086
30335
|
readonly userId?: string
|
|
30087
30336
|
}
|
|
30088
30337
|
|
|
30338
|
+
/**
|
|
30339
|
+
* Request parameters for getEventDetailById operation in EventsApi.
|
|
30340
|
+
* @export
|
|
30341
|
+
* @interface EventsApiGetEventDetailByIdRequest
|
|
30342
|
+
*/
|
|
30343
|
+
export interface EventsApiGetEventDetailByIdRequest {
|
|
30344
|
+
/**
|
|
30345
|
+
*
|
|
30346
|
+
* @type {string}
|
|
30347
|
+
* @memberof EventsApiGetEventDetailById
|
|
30348
|
+
*/
|
|
30349
|
+
readonly eventId: string
|
|
30350
|
+
}
|
|
30351
|
+
|
|
30089
30352
|
/**
|
|
30090
30353
|
* Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
|
|
30091
30354
|
* @export
|
|
@@ -30330,6 +30593,17 @@ export class EventsApi extends BaseAPI {
|
|
|
30330
30593
|
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
30331
30594
|
}
|
|
30332
30595
|
|
|
30596
|
+
/**
|
|
30597
|
+
* Get detailed event information for a user
|
|
30598
|
+
* @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
|
|
30599
|
+
* @param {*} [options] Override http request option.
|
|
30600
|
+
* @throws {RequiredError}
|
|
30601
|
+
* @memberof EventsApi
|
|
30602
|
+
*/
|
|
30603
|
+
public getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig) {
|
|
30604
|
+
return EventsApiFp(this.configuration).getEventDetailById(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
30605
|
+
}
|
|
30606
|
+
|
|
30333
30607
|
/**
|
|
30334
30608
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
30335
30609
|
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
package/dist/api.d.ts
CHANGED
|
@@ -6620,6 +6620,197 @@ 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
|
+
* @type {string}
|
|
6650
|
+
* @memberof EventDetailClub
|
|
6651
|
+
*/
|
|
6652
|
+
'address'?: string | null;
|
|
6653
|
+
}
|
|
6654
|
+
/**
|
|
6655
|
+
*
|
|
6656
|
+
* @export
|
|
6657
|
+
* @interface EventDetailCourt
|
|
6658
|
+
*/
|
|
6659
|
+
export interface EventDetailCourt {
|
|
6660
|
+
/**
|
|
6661
|
+
*
|
|
6662
|
+
* @type {string}
|
|
6663
|
+
* @memberof EventDetailCourt
|
|
6664
|
+
*/
|
|
6665
|
+
'id': string;
|
|
6666
|
+
/**
|
|
6667
|
+
*
|
|
6668
|
+
* @type {string}
|
|
6669
|
+
* @memberof EventDetailCourt
|
|
6670
|
+
*/
|
|
6671
|
+
'name': string;
|
|
6672
|
+
/**
|
|
6673
|
+
*
|
|
6674
|
+
* @type {string}
|
|
6675
|
+
* @memberof EventDetailCourt
|
|
6676
|
+
*/
|
|
6677
|
+
'surface'?: string;
|
|
6678
|
+
/**
|
|
6679
|
+
*
|
|
6680
|
+
* @type {boolean}
|
|
6681
|
+
* @memberof EventDetailCourt
|
|
6682
|
+
*/
|
|
6683
|
+
'isIndoor': boolean;
|
|
6684
|
+
}
|
|
6685
|
+
/**
|
|
6686
|
+
*
|
|
6687
|
+
* @export
|
|
6688
|
+
* @interface EventDetailRegisteredPlayer
|
|
6689
|
+
*/
|
|
6690
|
+
export interface EventDetailRegisteredPlayer {
|
|
6691
|
+
/**
|
|
6692
|
+
*
|
|
6693
|
+
* @type {string}
|
|
6694
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6695
|
+
*/
|
|
6696
|
+
'id': string;
|
|
6697
|
+
/**
|
|
6698
|
+
*
|
|
6699
|
+
* @type {string}
|
|
6700
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6701
|
+
*/
|
|
6702
|
+
'firstName'?: string | null;
|
|
6703
|
+
/**
|
|
6704
|
+
*
|
|
6705
|
+
* @type {string}
|
|
6706
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6707
|
+
*/
|
|
6708
|
+
'username'?: string | null;
|
|
6709
|
+
/**
|
|
6710
|
+
*
|
|
6711
|
+
* @type {string}
|
|
6712
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6713
|
+
*/
|
|
6714
|
+
'profilePicture'?: string | null;
|
|
6715
|
+
}
|
|
6716
|
+
/**
|
|
6717
|
+
*
|
|
6718
|
+
* @export
|
|
6719
|
+
* @interface EventDetailResponse
|
|
6720
|
+
*/
|
|
6721
|
+
export interface EventDetailResponse {
|
|
6722
|
+
/**
|
|
6723
|
+
*
|
|
6724
|
+
* @type {EventResponse}
|
|
6725
|
+
* @memberof EventDetailResponse
|
|
6726
|
+
*/
|
|
6727
|
+
'event': EventResponse;
|
|
6728
|
+
/**
|
|
6729
|
+
*
|
|
6730
|
+
* @type {number}
|
|
6731
|
+
* @memberof EventDetailResponse
|
|
6732
|
+
*/
|
|
6733
|
+
'remainingSpots'?: number | null;
|
|
6734
|
+
/**
|
|
6735
|
+
*
|
|
6736
|
+
* @type {boolean}
|
|
6737
|
+
* @memberof EventDetailResponse
|
|
6738
|
+
*/
|
|
6739
|
+
'isRegistrationOpen': boolean;
|
|
6740
|
+
/**
|
|
6741
|
+
*
|
|
6742
|
+
* @type {string}
|
|
6743
|
+
* @memberof EventDetailResponse
|
|
6744
|
+
*/
|
|
6745
|
+
'registrationOpensAt'?: string | null;
|
|
6746
|
+
/**
|
|
6747
|
+
*
|
|
6748
|
+
* @type {Array<string>}
|
|
6749
|
+
* @memberof EventDetailResponse
|
|
6750
|
+
*/
|
|
6751
|
+
'registeredAvatars': Array<string>;
|
|
6752
|
+
/**
|
|
6753
|
+
*
|
|
6754
|
+
* @type {Array<EventDetailRegisteredPlayer>}
|
|
6755
|
+
* @memberof EventDetailResponse
|
|
6756
|
+
*/
|
|
6757
|
+
'registeredPlayers': Array<EventDetailRegisteredPlayer>;
|
|
6758
|
+
/**
|
|
6759
|
+
*
|
|
6760
|
+
* @type {number}
|
|
6761
|
+
* @memberof EventDetailResponse
|
|
6762
|
+
*/
|
|
6763
|
+
'registeredCount': number;
|
|
6764
|
+
/**
|
|
6765
|
+
*
|
|
6766
|
+
* @type {Array<EventDetailCourt>}
|
|
6767
|
+
* @memberof EventDetailResponse
|
|
6768
|
+
*/
|
|
6769
|
+
'courts': Array<EventDetailCourt>;
|
|
6770
|
+
/**
|
|
6771
|
+
*
|
|
6772
|
+
* @type {EventDetailClub}
|
|
6773
|
+
* @memberof EventDetailResponse
|
|
6774
|
+
*/
|
|
6775
|
+
'club'?: EventDetailClub | null;
|
|
6776
|
+
/**
|
|
6777
|
+
*
|
|
6778
|
+
* @type {Array<EventDetailSponsor>}
|
|
6779
|
+
* @memberof EventDetailResponse
|
|
6780
|
+
*/
|
|
6781
|
+
'sponsors'?: Array<EventDetailSponsor>;
|
|
6782
|
+
/**
|
|
6783
|
+
*
|
|
6784
|
+
* @type {EventBookingResponse}
|
|
6785
|
+
* @memberof EventDetailResponse
|
|
6786
|
+
*/
|
|
6787
|
+
'userBooking'?: EventBookingResponse;
|
|
6788
|
+
}
|
|
6789
|
+
/**
|
|
6790
|
+
*
|
|
6791
|
+
* @export
|
|
6792
|
+
* @interface EventDetailSponsor
|
|
6793
|
+
*/
|
|
6794
|
+
export interface EventDetailSponsor {
|
|
6795
|
+
/**
|
|
6796
|
+
*
|
|
6797
|
+
* @type {string}
|
|
6798
|
+
* @memberof EventDetailSponsor
|
|
6799
|
+
*/
|
|
6800
|
+
'name'?: string;
|
|
6801
|
+
/**
|
|
6802
|
+
*
|
|
6803
|
+
* @type {string}
|
|
6804
|
+
* @memberof EventDetailSponsor
|
|
6805
|
+
*/
|
|
6806
|
+
'logo'?: string | null;
|
|
6807
|
+
/**
|
|
6808
|
+
*
|
|
6809
|
+
* @type {string}
|
|
6810
|
+
* @memberof EventDetailSponsor
|
|
6811
|
+
*/
|
|
6812
|
+
'url'?: string;
|
|
6813
|
+
}
|
|
6623
6814
|
/**
|
|
6624
6815
|
*
|
|
6625
6816
|
* @export
|
|
@@ -23093,6 +23284,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23093
23284
|
* @throws {RequiredError}
|
|
23094
23285
|
*/
|
|
23095
23286
|
getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23287
|
+
/**
|
|
23288
|
+
* Get detailed event information for a user
|
|
23289
|
+
* @param {string} eventId
|
|
23290
|
+
* @param {*} [options] Override http request option.
|
|
23291
|
+
* @throws {RequiredError}
|
|
23292
|
+
*/
|
|
23293
|
+
getEventDetailById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23096
23294
|
/**
|
|
23097
23295
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23098
23296
|
* @param {string} eventBookingId
|
|
@@ -23210,6 +23408,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
23210
23408
|
* @throws {RequiredError}
|
|
23211
23409
|
*/
|
|
23212
23410
|
getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
|
|
23411
|
+
/**
|
|
23412
|
+
* Get detailed event information for a user
|
|
23413
|
+
* @param {string} eventId
|
|
23414
|
+
* @param {*} [options] Override http request option.
|
|
23415
|
+
* @throws {RequiredError}
|
|
23416
|
+
*/
|
|
23417
|
+
getEventDetailById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDetailResponse>>;
|
|
23213
23418
|
/**
|
|
23214
23419
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23215
23420
|
* @param {string} eventBookingId
|
|
@@ -23322,6 +23527,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
23322
23527
|
* @throws {RequiredError}
|
|
23323
23528
|
*/
|
|
23324
23529
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
|
|
23530
|
+
/**
|
|
23531
|
+
* Get detailed event information for a user
|
|
23532
|
+
* @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
|
|
23533
|
+
* @param {*} [options] Override http request option.
|
|
23534
|
+
* @throws {RequiredError}
|
|
23535
|
+
*/
|
|
23536
|
+
getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventDetailResponse>;
|
|
23325
23537
|
/**
|
|
23326
23538
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23327
23539
|
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -23481,6 +23693,19 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
23481
23693
|
*/
|
|
23482
23694
|
readonly userId?: string;
|
|
23483
23695
|
}
|
|
23696
|
+
/**
|
|
23697
|
+
* Request parameters for getEventDetailById operation in EventsApi.
|
|
23698
|
+
* @export
|
|
23699
|
+
* @interface EventsApiGetEventDetailByIdRequest
|
|
23700
|
+
*/
|
|
23701
|
+
export interface EventsApiGetEventDetailByIdRequest {
|
|
23702
|
+
/**
|
|
23703
|
+
*
|
|
23704
|
+
* @type {string}
|
|
23705
|
+
* @memberof EventsApiGetEventDetailById
|
|
23706
|
+
*/
|
|
23707
|
+
readonly eventId: string;
|
|
23708
|
+
}
|
|
23484
23709
|
/**
|
|
23485
23710
|
* Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
|
|
23486
23711
|
* @export
|
|
@@ -23693,6 +23918,14 @@ export declare class EventsApi extends BaseAPI {
|
|
|
23693
23918
|
* @memberof EventsApi
|
|
23694
23919
|
*/
|
|
23695
23920
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
|
|
23921
|
+
/**
|
|
23922
|
+
* Get detailed event information for a user
|
|
23923
|
+
* @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
|
|
23924
|
+
* @param {*} [options] Override http request option.
|
|
23925
|
+
* @throws {RequiredError}
|
|
23926
|
+
* @memberof EventsApi
|
|
23927
|
+
*/
|
|
23928
|
+
getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDetailResponse, any, {}>>;
|
|
23696
23929
|
/**
|
|
23697
23930
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23698
23931
|
* @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,197 @@ 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
|
+
* @type {string}
|
|
6650
|
+
* @memberof EventDetailClub
|
|
6651
|
+
*/
|
|
6652
|
+
'address'?: string | null;
|
|
6653
|
+
}
|
|
6654
|
+
/**
|
|
6655
|
+
*
|
|
6656
|
+
* @export
|
|
6657
|
+
* @interface EventDetailCourt
|
|
6658
|
+
*/
|
|
6659
|
+
export interface EventDetailCourt {
|
|
6660
|
+
/**
|
|
6661
|
+
*
|
|
6662
|
+
* @type {string}
|
|
6663
|
+
* @memberof EventDetailCourt
|
|
6664
|
+
*/
|
|
6665
|
+
'id': string;
|
|
6666
|
+
/**
|
|
6667
|
+
*
|
|
6668
|
+
* @type {string}
|
|
6669
|
+
* @memberof EventDetailCourt
|
|
6670
|
+
*/
|
|
6671
|
+
'name': string;
|
|
6672
|
+
/**
|
|
6673
|
+
*
|
|
6674
|
+
* @type {string}
|
|
6675
|
+
* @memberof EventDetailCourt
|
|
6676
|
+
*/
|
|
6677
|
+
'surface'?: string;
|
|
6678
|
+
/**
|
|
6679
|
+
*
|
|
6680
|
+
* @type {boolean}
|
|
6681
|
+
* @memberof EventDetailCourt
|
|
6682
|
+
*/
|
|
6683
|
+
'isIndoor': boolean;
|
|
6684
|
+
}
|
|
6685
|
+
/**
|
|
6686
|
+
*
|
|
6687
|
+
* @export
|
|
6688
|
+
* @interface EventDetailRegisteredPlayer
|
|
6689
|
+
*/
|
|
6690
|
+
export interface EventDetailRegisteredPlayer {
|
|
6691
|
+
/**
|
|
6692
|
+
*
|
|
6693
|
+
* @type {string}
|
|
6694
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6695
|
+
*/
|
|
6696
|
+
'id': string;
|
|
6697
|
+
/**
|
|
6698
|
+
*
|
|
6699
|
+
* @type {string}
|
|
6700
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6701
|
+
*/
|
|
6702
|
+
'firstName'?: string | null;
|
|
6703
|
+
/**
|
|
6704
|
+
*
|
|
6705
|
+
* @type {string}
|
|
6706
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6707
|
+
*/
|
|
6708
|
+
'username'?: string | null;
|
|
6709
|
+
/**
|
|
6710
|
+
*
|
|
6711
|
+
* @type {string}
|
|
6712
|
+
* @memberof EventDetailRegisteredPlayer
|
|
6713
|
+
*/
|
|
6714
|
+
'profilePicture'?: string | null;
|
|
6715
|
+
}
|
|
6716
|
+
/**
|
|
6717
|
+
*
|
|
6718
|
+
* @export
|
|
6719
|
+
* @interface EventDetailResponse
|
|
6720
|
+
*/
|
|
6721
|
+
export interface EventDetailResponse {
|
|
6722
|
+
/**
|
|
6723
|
+
*
|
|
6724
|
+
* @type {EventResponse}
|
|
6725
|
+
* @memberof EventDetailResponse
|
|
6726
|
+
*/
|
|
6727
|
+
'event': EventResponse;
|
|
6728
|
+
/**
|
|
6729
|
+
*
|
|
6730
|
+
* @type {number}
|
|
6731
|
+
* @memberof EventDetailResponse
|
|
6732
|
+
*/
|
|
6733
|
+
'remainingSpots'?: number | null;
|
|
6734
|
+
/**
|
|
6735
|
+
*
|
|
6736
|
+
* @type {boolean}
|
|
6737
|
+
* @memberof EventDetailResponse
|
|
6738
|
+
*/
|
|
6739
|
+
'isRegistrationOpen': boolean;
|
|
6740
|
+
/**
|
|
6741
|
+
*
|
|
6742
|
+
* @type {string}
|
|
6743
|
+
* @memberof EventDetailResponse
|
|
6744
|
+
*/
|
|
6745
|
+
'registrationOpensAt'?: string | null;
|
|
6746
|
+
/**
|
|
6747
|
+
*
|
|
6748
|
+
* @type {Array<string>}
|
|
6749
|
+
* @memberof EventDetailResponse
|
|
6750
|
+
*/
|
|
6751
|
+
'registeredAvatars': Array<string>;
|
|
6752
|
+
/**
|
|
6753
|
+
*
|
|
6754
|
+
* @type {Array<EventDetailRegisteredPlayer>}
|
|
6755
|
+
* @memberof EventDetailResponse
|
|
6756
|
+
*/
|
|
6757
|
+
'registeredPlayers': Array<EventDetailRegisteredPlayer>;
|
|
6758
|
+
/**
|
|
6759
|
+
*
|
|
6760
|
+
* @type {number}
|
|
6761
|
+
* @memberof EventDetailResponse
|
|
6762
|
+
*/
|
|
6763
|
+
'registeredCount': number;
|
|
6764
|
+
/**
|
|
6765
|
+
*
|
|
6766
|
+
* @type {Array<EventDetailCourt>}
|
|
6767
|
+
* @memberof EventDetailResponse
|
|
6768
|
+
*/
|
|
6769
|
+
'courts': Array<EventDetailCourt>;
|
|
6770
|
+
/**
|
|
6771
|
+
*
|
|
6772
|
+
* @type {EventDetailClub}
|
|
6773
|
+
* @memberof EventDetailResponse
|
|
6774
|
+
*/
|
|
6775
|
+
'club'?: EventDetailClub | null;
|
|
6776
|
+
/**
|
|
6777
|
+
*
|
|
6778
|
+
* @type {Array<EventDetailSponsor>}
|
|
6779
|
+
* @memberof EventDetailResponse
|
|
6780
|
+
*/
|
|
6781
|
+
'sponsors'?: Array<EventDetailSponsor>;
|
|
6782
|
+
/**
|
|
6783
|
+
*
|
|
6784
|
+
* @type {EventBookingResponse}
|
|
6785
|
+
* @memberof EventDetailResponse
|
|
6786
|
+
*/
|
|
6787
|
+
'userBooking'?: EventBookingResponse;
|
|
6788
|
+
}
|
|
6789
|
+
/**
|
|
6790
|
+
*
|
|
6791
|
+
* @export
|
|
6792
|
+
* @interface EventDetailSponsor
|
|
6793
|
+
*/
|
|
6794
|
+
export interface EventDetailSponsor {
|
|
6795
|
+
/**
|
|
6796
|
+
*
|
|
6797
|
+
* @type {string}
|
|
6798
|
+
* @memberof EventDetailSponsor
|
|
6799
|
+
*/
|
|
6800
|
+
'name'?: string;
|
|
6801
|
+
/**
|
|
6802
|
+
*
|
|
6803
|
+
* @type {string}
|
|
6804
|
+
* @memberof EventDetailSponsor
|
|
6805
|
+
*/
|
|
6806
|
+
'logo'?: string | null;
|
|
6807
|
+
/**
|
|
6808
|
+
*
|
|
6809
|
+
* @type {string}
|
|
6810
|
+
* @memberof EventDetailSponsor
|
|
6811
|
+
*/
|
|
6812
|
+
'url'?: string;
|
|
6813
|
+
}
|
|
6623
6814
|
/**
|
|
6624
6815
|
*
|
|
6625
6816
|
* @export
|
|
@@ -23093,6 +23284,13 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23093
23284
|
* @throws {RequiredError}
|
|
23094
23285
|
*/
|
|
23095
23286
|
getEventById: (eventId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23287
|
+
/**
|
|
23288
|
+
* Get detailed event information for a user
|
|
23289
|
+
* @param {string} eventId
|
|
23290
|
+
* @param {*} [options] Override http request option.
|
|
23291
|
+
* @throws {RequiredError}
|
|
23292
|
+
*/
|
|
23293
|
+
getEventDetailById: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23096
23294
|
/**
|
|
23097
23295
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23098
23296
|
* @param {string} eventBookingId
|
|
@@ -23210,6 +23408,13 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
23210
23408
|
* @throws {RequiredError}
|
|
23211
23409
|
*/
|
|
23212
23410
|
getEventById(eventId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>>;
|
|
23411
|
+
/**
|
|
23412
|
+
* Get detailed event information for a user
|
|
23413
|
+
* @param {string} eventId
|
|
23414
|
+
* @param {*} [options] Override http request option.
|
|
23415
|
+
* @throws {RequiredError}
|
|
23416
|
+
*/
|
|
23417
|
+
getEventDetailById(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDetailResponse>>;
|
|
23213
23418
|
/**
|
|
23214
23419
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23215
23420
|
* @param {string} eventBookingId
|
|
@@ -23322,6 +23527,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
23322
23527
|
* @throws {RequiredError}
|
|
23323
23528
|
*/
|
|
23324
23529
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse>;
|
|
23530
|
+
/**
|
|
23531
|
+
* Get detailed event information for a user
|
|
23532
|
+
* @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
|
|
23533
|
+
* @param {*} [options] Override http request option.
|
|
23534
|
+
* @throws {RequiredError}
|
|
23535
|
+
*/
|
|
23536
|
+
getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventDetailResponse>;
|
|
23325
23537
|
/**
|
|
23326
23538
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23327
23539
|
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -23481,6 +23693,19 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
23481
23693
|
*/
|
|
23482
23694
|
readonly userId?: string;
|
|
23483
23695
|
}
|
|
23696
|
+
/**
|
|
23697
|
+
* Request parameters for getEventDetailById operation in EventsApi.
|
|
23698
|
+
* @export
|
|
23699
|
+
* @interface EventsApiGetEventDetailByIdRequest
|
|
23700
|
+
*/
|
|
23701
|
+
export interface EventsApiGetEventDetailByIdRequest {
|
|
23702
|
+
/**
|
|
23703
|
+
*
|
|
23704
|
+
* @type {string}
|
|
23705
|
+
* @memberof EventsApiGetEventDetailById
|
|
23706
|
+
*/
|
|
23707
|
+
readonly eventId: string;
|
|
23708
|
+
}
|
|
23484
23709
|
/**
|
|
23485
23710
|
* Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
|
|
23486
23711
|
* @export
|
|
@@ -23693,6 +23918,14 @@ export declare class EventsApi extends BaseAPI {
|
|
|
23693
23918
|
* @memberof EventsApi
|
|
23694
23919
|
*/
|
|
23695
23920
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishEventResponse, any, {}>>;
|
|
23921
|
+
/**
|
|
23922
|
+
* Get detailed event information for a user
|
|
23923
|
+
* @param {EventsApiGetEventDetailByIdRequest} requestParameters Request parameters.
|
|
23924
|
+
* @param {*} [options] Override http request option.
|
|
23925
|
+
* @throws {RequiredError}
|
|
23926
|
+
* @memberof EventsApi
|
|
23927
|
+
*/
|
|
23928
|
+
getEventDetailById(requestParameters: EventsApiGetEventDetailByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDetailResponse, any, {}>>;
|
|
23696
23929
|
/**
|
|
23697
23930
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
23698
23931
|
* @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,26 @@
|
|
|
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
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { EventDetailClub } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: EventDetailClub = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
logo,
|
|
22
|
+
address,
|
|
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,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,26 @@
|
|
|
1
|
+
# EventDetailRegisteredPlayer
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { EventDetailRegisteredPlayer } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: EventDetailRegisteredPlayer = {
|
|
19
|
+
id,
|
|
20
|
+
firstName,
|
|
21
|
+
username,
|
|
22
|
+
profilePicture,
|
|
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,40 @@
|
|
|
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
|
+
**registeredPlayers** | [**Array<EventDetailRegisteredPlayer>**](EventDetailRegisteredPlayer.md) | | [default to undefined]
|
|
14
|
+
**registeredCount** | **number** | | [default to undefined]
|
|
15
|
+
**courts** | [**Array<EventDetailCourt>**](EventDetailCourt.md) | | [default to undefined]
|
|
16
|
+
**club** | [**EventDetailClub**](EventDetailClub.md) | | [optional] [default to undefined]
|
|
17
|
+
**sponsors** | [**Array<EventDetailSponsor>**](EventDetailSponsor.md) | | [optional] [default to undefined]
|
|
18
|
+
**userBooking** | [**EventBookingResponse**](EventBookingResponse.md) | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { EventDetailResponse } from '@tennac-booking/sdk';
|
|
24
|
+
|
|
25
|
+
const instance: EventDetailResponse = {
|
|
26
|
+
event,
|
|
27
|
+
remainingSpots,
|
|
28
|
+
isRegistrationOpen,
|
|
29
|
+
registrationOpensAt,
|
|
30
|
+
registeredAvatars,
|
|
31
|
+
registeredPlayers,
|
|
32
|
+
registeredCount,
|
|
33
|
+
courts,
|
|
34
|
+
club,
|
|
35
|
+
sponsors,
|
|
36
|
+
userBooking,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[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
|
|