@tennac-booking/sdk 1.0.250 → 1.0.251
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -0
- package/api.ts +169 -15
- package/dist/api.d.ts +156 -6
- package/dist/api.js +27 -15
- package/dist/esm/api.d.ts +156 -6
- package/dist/esm/api.js +27 -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/EventResponse.md +2 -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/.openapi-generator/FILES
CHANGED
|
@@ -20,6 +20,7 @@ docs/AppRegisterRequestBody.md
|
|
|
20
20
|
docs/AuthApi.md
|
|
21
21
|
docs/BookingAnalyticsResponse.md
|
|
22
22
|
docs/BookingClubInfo.md
|
|
23
|
+
docs/BookingClubInfoClubSettings.md
|
|
23
24
|
docs/BookingCourtInfo.md
|
|
24
25
|
docs/BookingHistoryPopulated.md
|
|
25
26
|
docs/BookingInfo.md
|
|
@@ -263,6 +264,7 @@ docs/JoinOpenBookingRequest.md
|
|
|
263
264
|
docs/JoinOpenBookingResponse.md
|
|
264
265
|
docs/JoinOpenEventBookingRequest.md
|
|
265
266
|
docs/JoinOpenEventResponse.md
|
|
267
|
+
docs/JoinWaitListRequest.md
|
|
266
268
|
docs/LastSixMonthsTurnoverItem.md
|
|
267
269
|
docs/LeastBookedTimeSlotItem.md
|
|
268
270
|
docs/LeastBookedTimeSlotsResponse.md
|
package/README.md
CHANGED
|
@@ -343,6 +343,7 @@ Class | Method | HTTP request | Description
|
|
|
343
343
|
- [AppRegisterRequestBody](docs/AppRegisterRequestBody.md)
|
|
344
344
|
- [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
|
|
345
345
|
- [BookingClubInfo](docs/BookingClubInfo.md)
|
|
346
|
+
- [BookingClubInfoClubSettings](docs/BookingClubInfoClubSettings.md)
|
|
346
347
|
- [BookingCourtInfo](docs/BookingCourtInfo.md)
|
|
347
348
|
- [BookingHistoryPopulated](docs/BookingHistoryPopulated.md)
|
|
348
349
|
- [BookingInfo](docs/BookingInfo.md)
|
|
@@ -563,6 +564,7 @@ Class | Method | HTTP request | Description
|
|
|
563
564
|
- [JoinOpenBookingResponse](docs/JoinOpenBookingResponse.md)
|
|
564
565
|
- [JoinOpenEventBookingRequest](docs/JoinOpenEventBookingRequest.md)
|
|
565
566
|
- [JoinOpenEventResponse](docs/JoinOpenEventResponse.md)
|
|
567
|
+
- [JoinWaitListRequest](docs/JoinWaitListRequest.md)
|
|
566
568
|
- [LastSixMonthsTurnoverItem](docs/LastSixMonthsTurnoverItem.md)
|
|
567
569
|
- [LeastBookedTimeSlotItem](docs/LeastBookedTimeSlotItem.md)
|
|
568
570
|
- [LeastBookedTimeSlotsResponse](docs/LeastBookedTimeSlotsResponse.md)
|
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 = {
|
|
@@ -6823,6 +6866,12 @@ export interface EventResponse {
|
|
|
6823
6866
|
* @memberof EventResponse
|
|
6824
6867
|
*/
|
|
6825
6868
|
'visibilityType': EventResponseVisibilityTypeEnum;
|
|
6869
|
+
/**
|
|
6870
|
+
*
|
|
6871
|
+
* @type {boolean}
|
|
6872
|
+
* @memberof EventResponse
|
|
6873
|
+
*/
|
|
6874
|
+
'needLicence': boolean;
|
|
6826
6875
|
/**
|
|
6827
6876
|
*
|
|
6828
6877
|
* @type {Array<string | null>}
|
|
@@ -8501,6 +8550,18 @@ export interface JoinEventRequest {
|
|
|
8501
8550
|
* @memberof JoinEventRequest
|
|
8502
8551
|
*/
|
|
8503
8552
|
'players'?: Array<string>;
|
|
8553
|
+
/**
|
|
8554
|
+
*
|
|
8555
|
+
* @type {string}
|
|
8556
|
+
* @memberof JoinEventRequest
|
|
8557
|
+
*/
|
|
8558
|
+
'licenceNumber'?: string;
|
|
8559
|
+
/**
|
|
8560
|
+
* Construct a type with a set of properties K of type T
|
|
8561
|
+
* @type {{ [key: string]: string; }}
|
|
8562
|
+
* @memberof JoinEventRequest
|
|
8563
|
+
*/
|
|
8564
|
+
'playersLicenceNumbers'?: { [key: string]: string; };
|
|
8504
8565
|
/**
|
|
8505
8566
|
*
|
|
8506
8567
|
* @type {boolean}
|
|
@@ -8756,6 +8817,12 @@ export interface JoinOpenBookingResponse {
|
|
|
8756
8817
|
* @interface JoinOpenEventBookingRequest
|
|
8757
8818
|
*/
|
|
8758
8819
|
export interface JoinOpenEventBookingRequest {
|
|
8820
|
+
/**
|
|
8821
|
+
*
|
|
8822
|
+
* @type {string}
|
|
8823
|
+
* @memberof JoinOpenEventBookingRequest
|
|
8824
|
+
*/
|
|
8825
|
+
'licenceNumber'?: string;
|
|
8759
8826
|
/**
|
|
8760
8827
|
*
|
|
8761
8828
|
* @type {number}
|
|
@@ -8808,6 +8875,33 @@ export interface JoinOpenEventResponse {
|
|
|
8808
8875
|
*/
|
|
8809
8876
|
'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
|
|
8810
8877
|
}
|
|
8878
|
+
/**
|
|
8879
|
+
*
|
|
8880
|
+
* @export
|
|
8881
|
+
* @interface JoinWaitListRequest
|
|
8882
|
+
*/
|
|
8883
|
+
export interface JoinWaitListRequest {
|
|
8884
|
+
/**
|
|
8885
|
+
*
|
|
8886
|
+
* @type {PaymentMethod}
|
|
8887
|
+
* @memberof JoinWaitListRequest
|
|
8888
|
+
*/
|
|
8889
|
+
'paymentMethod'?: PaymentMethod;
|
|
8890
|
+
/**
|
|
8891
|
+
*
|
|
8892
|
+
* @type {boolean}
|
|
8893
|
+
* @memberof JoinWaitListRequest
|
|
8894
|
+
*/
|
|
8895
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
8896
|
+
/**
|
|
8897
|
+
*
|
|
8898
|
+
* @type {string}
|
|
8899
|
+
* @memberof JoinWaitListRequest
|
|
8900
|
+
*/
|
|
8901
|
+
'licenceNumber'?: string;
|
|
8902
|
+
}
|
|
8903
|
+
|
|
8904
|
+
|
|
8811
8905
|
/**
|
|
8812
8906
|
*
|
|
8813
8907
|
* @export
|
|
@@ -14795,6 +14889,12 @@ export interface UpdateClubGeneralSettingsRequest {
|
|
|
14795
14889
|
* @memberof UpdateClubGeneralSettingsRequest
|
|
14796
14890
|
*/
|
|
14797
14891
|
'websiteUrl'?: string;
|
|
14892
|
+
/**
|
|
14893
|
+
* Construct a type with a set of properties K of type T
|
|
14894
|
+
* @type {{ [key: string]: string; }}
|
|
14895
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
14896
|
+
*/
|
|
14897
|
+
'socials'?: { [key: string]: string; } | null;
|
|
14798
14898
|
/**
|
|
14799
14899
|
*
|
|
14800
14900
|
* @type {string}
|
|
@@ -14943,6 +15043,12 @@ export interface UpdateClubRequest {
|
|
|
14943
15043
|
* @memberof UpdateClubRequest
|
|
14944
15044
|
*/
|
|
14945
15045
|
'websiteUrl'?: string;
|
|
15046
|
+
/**
|
|
15047
|
+
* Réseaux sociaux du club (ex: { insta: \"https://...\" })
|
|
15048
|
+
* @type {{ [key: string]: string; }}
|
|
15049
|
+
* @memberof UpdateClubRequest
|
|
15050
|
+
*/
|
|
15051
|
+
'socials'?: { [key: string]: string; } | null;
|
|
14946
15052
|
/**
|
|
14947
15053
|
* Description du club
|
|
14948
15054
|
* @type {string}
|
|
@@ -15289,6 +15395,12 @@ export interface UpdateEventRequest {
|
|
|
15289
15395
|
* @memberof UpdateEventRequest
|
|
15290
15396
|
*/
|
|
15291
15397
|
'sponsors'?: Array<EventSponsor>;
|
|
15398
|
+
/**
|
|
15399
|
+
*
|
|
15400
|
+
* @type {boolean}
|
|
15401
|
+
* @memberof UpdateEventRequest
|
|
15402
|
+
*/
|
|
15403
|
+
'needLicence'?: boolean;
|
|
15292
15404
|
}
|
|
15293
15405
|
|
|
15294
15406
|
export const UpdateEventRequestTypeEnum = {
|
|
@@ -15533,6 +15645,12 @@ export interface UpdateRecurringDefinitionRequest {
|
|
|
15533
15645
|
* @memberof UpdateRecurringDefinitionRequest
|
|
15534
15646
|
*/
|
|
15535
15647
|
'recurrenceEndDate'?: string;
|
|
15648
|
+
/**
|
|
15649
|
+
*
|
|
15650
|
+
* @type {boolean}
|
|
15651
|
+
* @memberof UpdateRecurringDefinitionRequest
|
|
15652
|
+
*/
|
|
15653
|
+
'needLicence'?: boolean;
|
|
15536
15654
|
}
|
|
15537
15655
|
|
|
15538
15656
|
export const UpdateRecurringDefinitionRequestVisibilityTypeEnum = {
|
|
@@ -40937,10 +41055,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40937
41055
|
/**
|
|
40938
41056
|
* Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
40939
41057
|
* @param {string} bookingId
|
|
41058
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
40940
41059
|
* @param {*} [options] Override http request option.
|
|
40941
41060
|
* @throws {RequiredError}
|
|
40942
41061
|
*/
|
|
40943
|
-
joinBookingWaitList: async (bookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41062
|
+
joinBookingWaitList: async (bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40944
41063
|
// verify required parameter 'bookingId' is not null or undefined
|
|
40945
41064
|
assertParamExists('joinBookingWaitList', 'bookingId', bookingId)
|
|
40946
41065
|
const localVarPath = `/api/waitlist/booking/{bookingId}/join`
|
|
@@ -40962,9 +41081,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40962
41081
|
|
|
40963
41082
|
|
|
40964
41083
|
|
|
41084
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41085
|
+
|
|
40965
41086
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40966
41087
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40967
41088
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41089
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
|
|
40968
41090
|
|
|
40969
41091
|
return {
|
|
40970
41092
|
url: toPathString(localVarUrlObj),
|
|
@@ -40974,10 +41096,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40974
41096
|
/**
|
|
40975
41097
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
40976
41098
|
* @param {string} eventBookingId
|
|
41099
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
40977
41100
|
* @param {*} [options] Override http request option.
|
|
40978
41101
|
* @throws {RequiredError}
|
|
40979
41102
|
*/
|
|
40980
|
-
joinEventBookingWaitList: async (eventBookingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41103
|
+
joinEventBookingWaitList: async (eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40981
41104
|
// verify required parameter 'eventBookingId' is not null or undefined
|
|
40982
41105
|
assertParamExists('joinEventBookingWaitList', 'eventBookingId', eventBookingId)
|
|
40983
41106
|
const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
|
|
@@ -40999,9 +41122,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40999
41122
|
|
|
41000
41123
|
|
|
41001
41124
|
|
|
41125
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41126
|
+
|
|
41002
41127
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41003
41128
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41004
41129
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41130
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
|
|
41005
41131
|
|
|
41006
41132
|
return {
|
|
41007
41133
|
url: toPathString(localVarUrlObj),
|
|
@@ -41011,10 +41137,11 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
41011
41137
|
/**
|
|
41012
41138
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
41013
41139
|
* @param {string} eventId
|
|
41140
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41014
41141
|
* @param {*} [options] Override http request option.
|
|
41015
41142
|
* @throws {RequiredError}
|
|
41016
41143
|
*/
|
|
41017
|
-
joinEventWaitList: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41144
|
+
joinEventWaitList: async (eventId: string, joinWaitListRequest?: JoinWaitListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41018
41145
|
// verify required parameter 'eventId' is not null or undefined
|
|
41019
41146
|
assertParamExists('joinEventWaitList', 'eventId', eventId)
|
|
41020
41147
|
const localVarPath = `/api/waitlist/event/{eventId}/join`
|
|
@@ -41036,9 +41163,12 @@ export const WaitListApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
41036
41163
|
|
|
41037
41164
|
|
|
41038
41165
|
|
|
41166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41167
|
+
|
|
41039
41168
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41040
41169
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41041
41170
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41171
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration)
|
|
41042
41172
|
|
|
41043
41173
|
return {
|
|
41044
41174
|
url: toPathString(localVarUrlObj),
|
|
@@ -41205,11 +41335,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
|
|
|
41205
41335
|
/**
|
|
41206
41336
|
* Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
41207
41337
|
* @param {string} bookingId
|
|
41338
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41208
41339
|
* @param {*} [options] Override http request option.
|
|
41209
41340
|
* @throws {RequiredError}
|
|
41210
41341
|
*/
|
|
41211
|
-
async joinBookingWaitList(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41212
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
|
|
41342
|
+
async joinBookingWaitList(bookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
|
|
41213
41344
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41214
41345
|
const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinBookingWaitList']?.[localVarOperationServerIndex]?.url;
|
|
41215
41346
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41217,11 +41348,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
|
|
|
41217
41348
|
/**
|
|
41218
41349
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
41219
41350
|
* @param {string} eventBookingId
|
|
41351
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41220
41352
|
* @param {*} [options] Override http request option.
|
|
41221
41353
|
* @throws {RequiredError}
|
|
41222
41354
|
*/
|
|
41223
|
-
async joinEventBookingWaitList(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41224
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
|
|
41355
|
+
async joinEventBookingWaitList(eventBookingId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
|
|
41225
41357
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41226
41358
|
const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinEventBookingWaitList']?.[localVarOperationServerIndex]?.url;
|
|
41227
41359
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41229,11 +41361,12 @@ export const WaitListApiFp = function(configuration?: Configuration) {
|
|
|
41229
41361
|
/**
|
|
41230
41362
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
41231
41363
|
* @param {string} eventId
|
|
41364
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
41232
41365
|
* @param {*} [options] Override http request option.
|
|
41233
41366
|
* @throws {RequiredError}
|
|
41234
41367
|
*/
|
|
41235
|
-
async joinEventWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41236
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventWaitList(eventId, options);
|
|
41368
|
+
async joinEventWaitList(eventId: string, joinWaitListRequest?: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinEventWaitList200Response>> {
|
|
41369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
|
|
41237
41370
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41238
41371
|
const localVarOperationServerBasePath = operationServerMap['WaitListApi.joinEventWaitList']?.[localVarOperationServerIndex]?.url;
|
|
41239
41372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -41318,7 +41451,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
|
|
|
41318
41451
|
* @throws {RequiredError}
|
|
41319
41452
|
*/
|
|
41320
41453
|
joinBookingWaitList(requestParameters: WaitListApiJoinBookingWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
|
|
41321
|
-
return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
41454
|
+
return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
41322
41455
|
},
|
|
41323
41456
|
/**
|
|
41324
41457
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
@@ -41327,7 +41460,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
|
|
|
41327
41460
|
* @throws {RequiredError}
|
|
41328
41461
|
*/
|
|
41329
41462
|
joinEventBookingWaitList(requestParameters: WaitListApiJoinEventBookingWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
|
|
41330
|
-
return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
|
|
41463
|
+
return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
41331
41464
|
},
|
|
41332
41465
|
/**
|
|
41333
41466
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
@@ -41336,7 +41469,7 @@ export const WaitListApiFactory = function (configuration?: Configuration, baseP
|
|
|
41336
41469
|
* @throws {RequiredError}
|
|
41337
41470
|
*/
|
|
41338
41471
|
joinEventWaitList(requestParameters: WaitListApiJoinEventWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinEventWaitList200Response> {
|
|
41339
|
-
return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
41472
|
+
return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
41340
41473
|
},
|
|
41341
41474
|
/**
|
|
41342
41475
|
* Quitter la file d\'attente d\'un booking
|
|
@@ -41422,6 +41555,13 @@ export interface WaitListApiJoinBookingWaitListRequest {
|
|
|
41422
41555
|
* @memberof WaitListApiJoinBookingWaitList
|
|
41423
41556
|
*/
|
|
41424
41557
|
readonly bookingId: string
|
|
41558
|
+
|
|
41559
|
+
/**
|
|
41560
|
+
*
|
|
41561
|
+
* @type {JoinWaitListRequest}
|
|
41562
|
+
* @memberof WaitListApiJoinBookingWaitList
|
|
41563
|
+
*/
|
|
41564
|
+
readonly joinWaitListRequest?: JoinWaitListRequest
|
|
41425
41565
|
}
|
|
41426
41566
|
|
|
41427
41567
|
/**
|
|
@@ -41436,6 +41576,13 @@ export interface WaitListApiJoinEventBookingWaitListRequest {
|
|
|
41436
41576
|
* @memberof WaitListApiJoinEventBookingWaitList
|
|
41437
41577
|
*/
|
|
41438
41578
|
readonly eventBookingId: string
|
|
41579
|
+
|
|
41580
|
+
/**
|
|
41581
|
+
*
|
|
41582
|
+
* @type {JoinWaitListRequest}
|
|
41583
|
+
* @memberof WaitListApiJoinEventBookingWaitList
|
|
41584
|
+
*/
|
|
41585
|
+
readonly joinWaitListRequest?: JoinWaitListRequest
|
|
41439
41586
|
}
|
|
41440
41587
|
|
|
41441
41588
|
/**
|
|
@@ -41450,6 +41597,13 @@ export interface WaitListApiJoinEventWaitListRequest {
|
|
|
41450
41597
|
* @memberof WaitListApiJoinEventWaitList
|
|
41451
41598
|
*/
|
|
41452
41599
|
readonly eventId: string
|
|
41600
|
+
|
|
41601
|
+
/**
|
|
41602
|
+
*
|
|
41603
|
+
* @type {JoinWaitListRequest}
|
|
41604
|
+
* @memberof WaitListApiJoinEventWaitList
|
|
41605
|
+
*/
|
|
41606
|
+
readonly joinWaitListRequest?: JoinWaitListRequest
|
|
41453
41607
|
}
|
|
41454
41608
|
|
|
41455
41609
|
/**
|
|
@@ -41542,7 +41696,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
41542
41696
|
* @memberof WaitListApi
|
|
41543
41697
|
*/
|
|
41544
41698
|
public joinBookingWaitList(requestParameters: WaitListApiJoinBookingWaitListRequest, options?: RawAxiosRequestConfig) {
|
|
41545
|
-
return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
41699
|
+
return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41546
41700
|
}
|
|
41547
41701
|
|
|
41548
41702
|
/**
|
|
@@ -41553,7 +41707,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
41553
41707
|
* @memberof WaitListApi
|
|
41554
41708
|
*/
|
|
41555
41709
|
public joinEventBookingWaitList(requestParameters: WaitListApiJoinEventBookingWaitListRequest, options?: RawAxiosRequestConfig) {
|
|
41556
|
-
return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
|
|
41710
|
+
return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41557
41711
|
}
|
|
41558
41712
|
|
|
41559
41713
|
/**
|
|
@@ -41564,7 +41718,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
41564
41718
|
* @memberof WaitListApi
|
|
41565
41719
|
*/
|
|
41566
41720
|
public joinEventWaitList(requestParameters: WaitListApiJoinEventWaitListRequest, options?: RawAxiosRequestConfig) {
|
|
41567
|
-
return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
41721
|
+
return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41568
41722
|
}
|
|
41569
41723
|
|
|
41570
41724
|
/**
|