@tennac-booking/sdk 1.0.250 → 1.0.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +7 -0
- package/api.ts +400 -15
- package/dist/api.d.ts +346 -6
- package/dist/api.js +92 -15
- package/dist/esm/api.d.ts +346 -6
- package/dist/esm/api.js +92 -15
- package/docs/BookingClubInfo.md +2 -0
- package/docs/BookingClubInfoClubSettings.md +22 -0
- package/docs/ClubGeneralSettingsResponse.md +2 -0
- package/docs/ClubResponse.md +2 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/EventDetailClub.md +24 -0
- package/docs/EventDetailCourt.md +26 -0
- package/docs/EventDetailResponse.md +38 -0
- package/docs/EventDetailSponsor.md +24 -0
- package/docs/EventResponse.md +2 -0
- package/docs/EventsApi.md +54 -0
- package/docs/JoinEventRequest.md +4 -0
- package/docs/JoinOpenEventBookingRequest.md +2 -0
- package/docs/JoinWaitListRequest.md +24 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +2 -0
- package/docs/UpdateClubRequest.md +2 -0
- package/docs/UpdateEventRequest.md +2 -0
- package/docs/UpdateRecurringDefinitionRequest.md +2 -0
- package/docs/WaitListApi.md +21 -9
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -433,6 +433,31 @@ export interface BookingClubInfo {
|
|
|
433
433
|
* @memberof BookingClubInfo
|
|
434
434
|
*/
|
|
435
435
|
'location'?: { [key: string]: any; } | null;
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @type {BookingClubInfoClubSettings}
|
|
439
|
+
* @memberof BookingClubInfo
|
|
440
|
+
*/
|
|
441
|
+
'clubSettings'?: BookingClubInfoClubSettings | null;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @export
|
|
446
|
+
* @interface BookingClubInfoClubSettings
|
|
447
|
+
*/
|
|
448
|
+
export interface BookingClubInfoClubSettings {
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @type {number}
|
|
452
|
+
* @memberof BookingClubInfoClubSettings
|
|
453
|
+
*/
|
|
454
|
+
'cancellationLimitHours'?: number | null;
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @type {boolean}
|
|
458
|
+
* @memberof BookingClubInfoClubSettings
|
|
459
|
+
*/
|
|
460
|
+
'isNoShowEnabled'?: boolean | null;
|
|
436
461
|
}
|
|
437
462
|
/**
|
|
438
463
|
*
|
|
@@ -2503,6 +2528,12 @@ export interface ClubGeneralSettingsResponse {
|
|
|
2503
2528
|
* @memberof ClubGeneralSettingsResponse
|
|
2504
2529
|
*/
|
|
2505
2530
|
'websiteUrl'?: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Construct a type with a set of properties K of type T
|
|
2533
|
+
* @type {{ [key: string]: string; }}
|
|
2534
|
+
* @memberof ClubGeneralSettingsResponse
|
|
2535
|
+
*/
|
|
2536
|
+
'socials'?: { [key: string]: string; };
|
|
2506
2537
|
/**
|
|
2507
2538
|
*
|
|
2508
2539
|
* @type {string}
|
|
@@ -3964,6 +3995,12 @@ export interface ClubResponse {
|
|
|
3964
3995
|
* @memberof ClubResponse
|
|
3965
3996
|
*/
|
|
3966
3997
|
'websiteUrl'?: string;
|
|
3998
|
+
/**
|
|
3999
|
+
* Construct a type with a set of properties K of type T
|
|
4000
|
+
* @type {{ [key: string]: string; }}
|
|
4001
|
+
* @memberof ClubResponse
|
|
4002
|
+
*/
|
|
4003
|
+
'socials'?: { [key: string]: string; };
|
|
3967
4004
|
/**
|
|
3968
4005
|
* Description du club
|
|
3969
4006
|
* @type {string}
|
|
@@ -5101,6 +5138,12 @@ export interface CreateEventRequest {
|
|
|
5101
5138
|
* @memberof CreateEventRequest
|
|
5102
5139
|
*/
|
|
5103
5140
|
'visibilityType': CreateEventRequestVisibilityTypeEnum;
|
|
5141
|
+
/**
|
|
5142
|
+
*
|
|
5143
|
+
* @type {boolean}
|
|
5144
|
+
* @memberof CreateEventRequest
|
|
5145
|
+
*/
|
|
5146
|
+
'needLicence'?: boolean;
|
|
5104
5147
|
}
|
|
5105
5148
|
|
|
5106
5149
|
export const CreateEventRequestTypeEnum = {
|
|
@@ -6667,6 +6710,154 @@ export interface EventConflictCheckResponse {
|
|
|
6667
6710
|
*/
|
|
6668
6711
|
'eventBookingsCount': number;
|
|
6669
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
|
+
}
|
|
6670
6861
|
/**
|
|
6671
6862
|
*
|
|
6672
6863
|
* @export
|
|
@@ -6823,6 +7014,12 @@ export interface EventResponse {
|
|
|
6823
7014
|
* @memberof EventResponse
|
|
6824
7015
|
*/
|
|
6825
7016
|
'visibilityType': EventResponseVisibilityTypeEnum;
|
|
7017
|
+
/**
|
|
7018
|
+
*
|
|
7019
|
+
* @type {boolean}
|
|
7020
|
+
* @memberof EventResponse
|
|
7021
|
+
*/
|
|
7022
|
+
'needLicence': boolean;
|
|
6826
7023
|
/**
|
|
6827
7024
|
*
|
|
6828
7025
|
* @type {Array<string | null>}
|
|
@@ -8501,6 +8698,18 @@ export interface JoinEventRequest {
|
|
|
8501
8698
|
* @memberof JoinEventRequest
|
|
8502
8699
|
*/
|
|
8503
8700
|
'players'?: Array<string>;
|
|
8701
|
+
/**
|
|
8702
|
+
*
|
|
8703
|
+
* @type {string}
|
|
8704
|
+
* @memberof JoinEventRequest
|
|
8705
|
+
*/
|
|
8706
|
+
'licenceNumber'?: string;
|
|
8707
|
+
/**
|
|
8708
|
+
* Construct a type with a set of properties K of type T
|
|
8709
|
+
* @type {{ [key: string]: string; }}
|
|
8710
|
+
* @memberof JoinEventRequest
|
|
8711
|
+
*/
|
|
8712
|
+
'playersLicenceNumbers'?: { [key: string]: string; };
|
|
8504
8713
|
/**
|
|
8505
8714
|
*
|
|
8506
8715
|
* @type {boolean}
|
|
@@ -8756,6 +8965,12 @@ export interface JoinOpenBookingResponse {
|
|
|
8756
8965
|
* @interface JoinOpenEventBookingRequest
|
|
8757
8966
|
*/
|
|
8758
8967
|
export interface JoinOpenEventBookingRequest {
|
|
8968
|
+
/**
|
|
8969
|
+
*
|
|
8970
|
+
* @type {string}
|
|
8971
|
+
* @memberof JoinOpenEventBookingRequest
|
|
8972
|
+
*/
|
|
8973
|
+
'licenceNumber'?: string;
|
|
8759
8974
|
/**
|
|
8760
8975
|
*
|
|
8761
8976
|
* @type {number}
|
|
@@ -8808,6 +9023,33 @@ export interface JoinOpenEventResponse {
|
|
|
8808
9023
|
*/
|
|
8809
9024
|
'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
|
|
8810
9025
|
}
|
|
9026
|
+
/**
|
|
9027
|
+
*
|
|
9028
|
+
* @export
|
|
9029
|
+
* @interface JoinWaitListRequest
|
|
9030
|
+
*/
|
|
9031
|
+
export interface JoinWaitListRequest {
|
|
9032
|
+
/**
|
|
9033
|
+
*
|
|
9034
|
+
* @type {PaymentMethod}
|
|
9035
|
+
* @memberof JoinWaitListRequest
|
|
9036
|
+
*/
|
|
9037
|
+
'paymentMethod'?: PaymentMethod;
|
|
9038
|
+
/**
|
|
9039
|
+
*
|
|
9040
|
+
* @type {boolean}
|
|
9041
|
+
* @memberof JoinWaitListRequest
|
|
9042
|
+
*/
|
|
9043
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
9044
|
+
/**
|
|
9045
|
+
*
|
|
9046
|
+
* @type {string}
|
|
9047
|
+
* @memberof JoinWaitListRequest
|
|
9048
|
+
*/
|
|
9049
|
+
'licenceNumber'?: string;
|
|
9050
|
+
}
|
|
9051
|
+
|
|
9052
|
+
|
|
8811
9053
|
/**
|
|
8812
9054
|
*
|
|
8813
9055
|
* @export
|
|
@@ -14795,6 +15037,12 @@ export interface UpdateClubGeneralSettingsRequest {
|
|
|
14795
15037
|
* @memberof UpdateClubGeneralSettingsRequest
|
|
14796
15038
|
*/
|
|
14797
15039
|
'websiteUrl'?: string;
|
|
15040
|
+
/**
|
|
15041
|
+
* Construct a type with a set of properties K of type T
|
|
15042
|
+
* @type {{ [key: string]: string; }}
|
|
15043
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
15044
|
+
*/
|
|
15045
|
+
'socials'?: { [key: string]: string; } | null;
|
|
14798
15046
|
/**
|
|
14799
15047
|
*
|
|
14800
15048
|
* @type {string}
|
|
@@ -14943,6 +15191,12 @@ export interface UpdateClubRequest {
|
|
|
14943
15191
|
* @memberof UpdateClubRequest
|
|
14944
15192
|
*/
|
|
14945
15193
|
'websiteUrl'?: string;
|
|
15194
|
+
/**
|
|
15195
|
+
* Réseaux sociaux du club (ex: { insta: \"https://...\" })
|
|
15196
|
+
* @type {{ [key: string]: string; }}
|
|
15197
|
+
* @memberof UpdateClubRequest
|
|
15198
|
+
*/
|
|
15199
|
+
'socials'?: { [key: string]: string; } | null;
|
|
14946
15200
|
/**
|
|
14947
15201
|
* Description du club
|
|
14948
15202
|
* @type {string}
|
|
@@ -15289,6 +15543,12 @@ export interface UpdateEventRequest {
|
|
|
15289
15543
|
* @memberof UpdateEventRequest
|
|
15290
15544
|
*/
|
|
15291
15545
|
'sponsors'?: Array<EventSponsor>;
|
|
15546
|
+
/**
|
|
15547
|
+
*
|
|
15548
|
+
* @type {boolean}
|
|
15549
|
+
* @memberof UpdateEventRequest
|
|
15550
|
+
*/
|
|
15551
|
+
'needLicence'?: boolean;
|
|
15292
15552
|
}
|
|
15293
15553
|
|
|
15294
15554
|
export const UpdateEventRequestTypeEnum = {
|
|
@@ -15533,6 +15793,12 @@ export interface UpdateRecurringDefinitionRequest {
|
|
|
15533
15793
|
* @memberof UpdateRecurringDefinitionRequest
|
|
15534
15794
|
*/
|
|
15535
15795
|
'recurrenceEndDate'?: string;
|
|
15796
|
+
/**
|
|
15797
|
+
*
|
|
15798
|
+
* @type {boolean}
|
|
15799
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
15800
|
+
*/
|
|
15801
|
+
'needLicence'?: boolean;
|
|
15536
15802
|
}
|
|
15537
15803
|
|
|
15538
15804
|
export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
|
|
@@ -29157,6 +29423,43 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29157
29423
|
|
|
29158
29424
|
|
|
29159
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
|
+
|
|
29160
29463
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29161
29464
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29162
29465
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29608,6 +29911,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
29608
29911
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventById']?.[localVarOperationServerIndex]?.url;
|
|
29609
29912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29610
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
|
+
},
|
|
29611
29926
|
/**
|
|
29612
29927
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
29613
29928
|
* @param {string} eventBookingId
|
|
@@ -29779,6 +30094,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
29779
30094
|
getEventById(requestParameters: EventsApiGetEventByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
|
|
29780
30095
|
return localVarFp.getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
29781
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
|
+
},
|
|
29782
30106
|
/**
|
|
29783
30107
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
29784
30108
|
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -29968,6 +30292,20 @@ export interface EventsApiGetEventByIdRequest {
|
|
|
29968
30292
|
readonly userId?: string
|
|
29969
30293
|
}
|
|
29970
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
|
+
|
|
29971
30309
|
/**
|
|
29972
30310
|
* Request parameters for getOpenEventBookingJoinPrice operation in EventsApi.
|
|
29973
30311
|
* @export
|
|
@@ -30212,6 +30550,17 @@ export class EventsApi extends BaseAPI {
|
|
|
30212
30550
|
return EventsApiFp(this.configuration).getEventById(requestParameters.eventId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
30213
30551
|
}
|
|
30214
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
|
+
|
|
30215
30564
|
/**
|
|
30216
30565
|
* Estimer simplement le prix à payer pour rejoindre un événement ouvert
|
|
30217
30566
|
* @param {EventsApiGetOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -40937,10 +41286,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40937
41286
|
/**
|
|
40938
41287
|
* Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
40939
41288
|
* @param {string} bookingId
|
|
41289
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
40940
41290
|
* @param {*} [options] Override http request option.
|
|
40941
41291
|
* @throws {RequiredError}
|
|
40942
41292
|
*/
|
|
40943
|
-
joinBookingWaitList: async (bookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41293
|
+
joinBookingWaitList: async (bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40944
41294
|
// verify required parameter 'bookingId' is not null or undefined
|
|
40945
41295
|
assertParamExists('joinBookingWaitList', 'bookingId', bookingId)
|
|
40946
41296
|
const localVarPath = `/api/waitlist/booking/{bookingId}/join`
|
|
@@ -40962,9 +41312,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40962
41312
|
|
|
40963
41313
|
|
|
40964
41314
|
|
|
41315
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41316
|
+
|
|
40965
41317
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40966
41318
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40967
41319
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41320
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
|
|
40968
41321
|
|
|
40969
41322
|
return {
|
|
40970
41323
|
url: toPathString(localVarUrlObj),
|
|
@@ -40974,10 +41327,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40974
41327
|
/**
|
|
40975
41328
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
40976
41329
|
* @param {string} eventBookingId
|
|
41330
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
40977
41331
|
* @param {*} [options] Override http request option.
|
|
40978
41332
|
* @throws {RequiredError}
|
|
40979
41333
|
*/
|
|
40980
|
-
joinEventBookingWaitList: async (eventBookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41334
|
+
joinEventBookingWaitList: async (eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40981
41335
|
// verify required parameter 'eventBookingId' is not null or undefined
|
|
40982
41336
|
assertParamExists('joinEventBookingWaitList', 'eventBookingId', eventBookingId)
|
|
40983
41337
|
const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
|
|
@@ -40999,9 +41353,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40999
41353
|
|
|
41000
41354
|
|
|
41001
41355
|
|
|
41356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41357
|
+
|
|
41002
41358
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41003
41359
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41004
41360
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41361
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
|
|
41005
41362
|
|
|
41006
41363
|
return {
|
|
41007
41364
|
url: toPathString(localVarUrlObj),
|
|
@@ -41011,10 +41368,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
41011
41368
|
/**
|
|
41012
41369
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
41013
41370
|
* @param {string} eventId
|
|
41371
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41014
41372
|
* @param {*} [options] Override http request option.
|
|
41015
41373
|
* @throws {RequiredError}
|
|
41016
41374
|
*/
|
|
41017
|
-
joinEventWaitList: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41375
|
+
joinEventWaitList: async (eventId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41018
41376
|
// verify required parameter 'eventId' is not null or undefined
|
|
41019
41377
|
assertParamExists('joinEventWaitList', 'eventId', eventId)
|
|
41020
41378
|
const localVarPath = `/api/waitlist/event/{eventId}/join`
|
|
@@ -41036,9 +41394,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
41036
41394
|
|
|
41037
41395
|
|
|
41038
41396
|
|
|
41397
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41398
|
+
|
|
41039
41399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41040
41400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41041
41401
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41402
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
|
|
41042
41403
|
|
|
41043
41404
|
return {
|
|
41044
41405
|
url: toPathString(localVarUrlObj),
|
|
@@ -41205,11 +41566,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
|
|
|
41205
41566
|
/**
|
|
41206
41567
|
* Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
41207
41568
|
* @param {string} bookingId
|
|
41569
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41208
41570
|
* @param {*} [options] Override http request option.
|
|
41209
41571
|
* @throws {RequiredError}
|
|
41210
41572
|
*/
|
|
41211
|
-
async joinBookingWaitList(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41212
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
|
|
41573
|
+
async joinBookingWaitList(bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
|
|
41213
41575
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41214
41576
|
const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinBookingWaitList']?.[localVarOperationServerIndex]?.url;
|
|
41215
41577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41217,11 +41579,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
|
|
|
41217
41579
|
/**
|
|
41218
41580
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
41219
41581
|
* @param {string} eventBookingId
|
|
41582
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41220
41583
|
* @param {*} [options] Override http request option.
|
|
41221
41584
|
* @throws {RequiredError}
|
|
41222
41585
|
*/
|
|
41223
|
-
async joinEventBookingWaitList(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41224
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
|
|
41586
|
+
async joinEventBookingWaitList(eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
|
|
41225
41588
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41226
41589
|
const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinEventBookingWaitList']?.[localVarOperationServerIndex]?.url;
|
|
41227
41590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41229,11 +41592,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
|
|
|
41229
41592
|
/**
|
|
41230
41593
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
41231
41594
|
* @param {string} eventId
|
|
41595
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41232
41596
|
* @param {*} [options] Override http request option.
|
|
41233
41597
|
* @throws {RequiredError}
|
|
41234
41598
|
*/
|
|
41235
|
-
async joinEventWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41236
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventWaitList(eventId, options);
|
|
41599
|
+
async joinEventWaitList(eventId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
|
|
41237
41601
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41238
41602
|
const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinEventWaitList']?.[localVarOperationServerIndex]?.url;
|
|
41239
41603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41318,7 +41682,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
|
|
|
41318
41682
|
* @throws {RequiredError}
|
|
41319
41683
|
*/
|
|
41320
41684
|
joinBookingWaitList(requestParameters: WaitListApiJoinBookingWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
|
|
41321
|
-
return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
41685
|
+
return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
41322
41686
|
},
|
|
41323
41687
|
/**
|
|
41324
41688
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
@@ -41327,7 +41691,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
|
|
|
41327
41691
|
* @throws {RequiredError}
|
|
41328
41692
|
*/
|
|
41329
41693
|
joinEventBookingWaitList(requestParameters: WaitListApiJoinEventBookingWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
|
|
41330
|
-
return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
|
|
41694
|
+
return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
41331
41695
|
},
|
|
41332
41696
|
/**
|
|
41333
41697
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
@@ -41336,7 +41700,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
|
|
|
41336
41700
|
* @throws {RequiredError}
|
|
41337
41701
|
*/
|
|
41338
41702
|
joinEventWaitList(requestParameters: WaitListApiJoinEventWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
|
|
41339
|
-
return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
41703
|
+
return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
41340
41704
|
},
|
|
41341
41705
|
/**
|
|
41342
41706
|
* Quitter la file d\'attente d\'un booking
|
|
@@ -41422,6 +41786,13 @@ export interface WaitListApiJoinBookingWaitListRequest {
|
|
|
41422
41786
|
* @memberof WaitListApiJoinBookingWaitList
|
|
41423
41787
|
*/
|
|
41424
41788
|
readonly bookingId: string
|
|
41789
|
+
|
|
41790
|
+
/**
|
|
41791
|
+
*
|
|
41792
|
+
* @type {JoinWaitListRequest}
|
|
41793
|
+
* @memberof WaitListApiJoinBookingWaitList
|
|
41794
|
+
*/
|
|
41795
|
+
readonly joinWaitListRequest?: JoinWaitListRequest
|
|
41425
41796
|
}
|
|
41426
41797
|
|
|
41427
41798
|
/**
|
|
@@ -41436,6 +41807,13 @@ export interface WaitListApiJoinEventBookingWaitListRequest {
|
|
|
41436
41807
|
* @memberof WaitListApiJoinEventBookingWaitList
|
|
41437
41808
|
*/
|
|
41438
41809
|
readonly eventBookingId: string
|
|
41810
|
+
|
|
41811
|
+
/**
|
|
41812
|
+
*
|
|
41813
|
+
* @type {JoinWaitListRequest}
|
|
41814
|
+
* @memberof WaitListApiJoinEventBookingWaitList
|
|
41815
|
+
*/
|
|
41816
|
+
readonly joinWaitListRequest?: JoinWaitListRequest
|
|
41439
41817
|
}
|
|
41440
41818
|
|
|
41441
41819
|
/**
|
|
@@ -41450,6 +41828,13 @@ export interface WaitListApiJoinEventWaitListRequest {
|
|
|
41450
41828
|
* @memberof WaitListApiJoinEventWaitList
|
|
41451
41829
|
*/
|
|
41452
41830
|
readonly eventId: string
|
|
41831
|
+
|
|
41832
|
+
/**
|
|
41833
|
+
*
|
|
41834
|
+
* @type {JoinWaitListRequest}
|
|
41835
|
+
* @memberof WaitListApiJoinEventWaitList
|
|
41836
|
+
*/
|
|
41837
|
+
readonly joinWaitListRequest?: JoinWaitListRequest
|
|
41453
41838
|
}
|
|
41454
41839
|
|
|
41455
41840
|
/**
|
|
@@ -41542,7 +41927,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
41542
41927
|
* @memberof WaitListApi
|
|
41543
41928
|
*/
|
|
41544
41929
|
public joinBookingWaitList(requestParameters: WaitListApiJoinBookingWaitListRequest, options?: RawAxiosRequestConfig) {
|
|
41545
|
-
return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
41930
|
+
return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41546
41931
|
}
|
|
41547
41932
|
|
|
41548
41933
|
/**
|
|
@@ -41553,7 +41938,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
41553
41938
|
* @memberof WaitListApi
|
|
41554
41939
|
*/
|
|
41555
41940
|
public joinEventBookingWaitList(requestParameters: WaitListApiJoinEventBookingWaitListRequest, options?: RawAxiosRequestConfig) {
|
|
41556
|
-
return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
|
|
41941
|
+
return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41557
41942
|
}
|
|
41558
41943
|
|
|
41559
41944
|
/**
|
|
@@ -41564,7 +41949,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
41564
41949
|
* @memberof WaitListApi
|
|
41565
41950
|
*/
|
|
41566
41951
|
public joinEventWaitList(requestParameters: WaitListApiJoinEventWaitListRequest, options?: RawAxiosRequestConfig) {
|
|
41567
|
-
return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
41952
|
+
return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41568
41953
|
}
|
|
41569
41954
|
|
|
41570
41955
|
/**
|