@tennac-booking/sdk 1.0.300 → 1.0.302
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 +3 -2
- package/README.md +3 -2
- package/api.ts +166 -51
- package/dist/api.d.ts +152 -49
- package/dist/api.js +20 -10
- package/dist/esm/api.d.ts +152 -49
- package/dist/esm/api.js +20 -10
- package/docs/ClubsApi.md +8 -2
- package/docs/EstimateEventPlayerPrice.md +24 -0
- package/docs/EstimateEventPriceRequest.md +14 -6
- package/docs/{EstimateEventPrice200Response.md → EstimateEventPriceResponse.md} +25 -13
- package/docs/{EstimateEventPriceRequestSharesInner.md → EstimateEventPriceShare.md} +5 -5
- package/docs/EventsApi.md +2 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -6482,99 +6482,186 @@ export interface EmailExistsResponse {
|
|
|
6482
6482
|
/**
|
|
6483
6483
|
*
|
|
6484
6484
|
* @export
|
|
6485
|
-
* @interface
|
|
6485
|
+
* @interface EstimateEventPlayerPrice
|
|
6486
6486
|
*/
|
|
6487
|
-
export interface
|
|
6487
|
+
export interface EstimateEventPlayerPrice {
|
|
6488
6488
|
/**
|
|
6489
|
-
*
|
|
6490
|
-
* @type {
|
|
6491
|
-
* @memberof
|
|
6489
|
+
*
|
|
6490
|
+
* @type {string}
|
|
6491
|
+
* @memberof EstimateEventPlayerPrice
|
|
6492
6492
|
*/
|
|
6493
|
-
'
|
|
6494
|
-
|
|
6495
|
-
|
|
6493
|
+
'playerId': string;
|
|
6494
|
+
/**
|
|
6495
|
+
*
|
|
6496
|
+
* @type {string}
|
|
6497
|
+
* @memberof EstimateEventPlayerPrice
|
|
6498
|
+
*/
|
|
6499
|
+
'firstName'?: string;
|
|
6496
6500
|
/**
|
|
6497
6501
|
*
|
|
6498
6502
|
* @type {number}
|
|
6499
|
-
* @memberof
|
|
6503
|
+
* @memberof EstimateEventPlayerPrice
|
|
6500
6504
|
*/
|
|
6501
|
-
'
|
|
6505
|
+
'price': number;
|
|
6506
|
+
}
|
|
6507
|
+
/**
|
|
6508
|
+
*
|
|
6509
|
+
* @export
|
|
6510
|
+
* @interface EstimateEventPriceRequest
|
|
6511
|
+
*/
|
|
6512
|
+
export interface EstimateEventPriceRequest {
|
|
6513
|
+
/**
|
|
6514
|
+
*
|
|
6515
|
+
* @type {Array<string>}
|
|
6516
|
+
* @memberof EstimateEventPriceRequest
|
|
6517
|
+
*/
|
|
6518
|
+
'playerIds': Array<string>;
|
|
6519
|
+
/**
|
|
6520
|
+
*
|
|
6521
|
+
* @type {Array<EstimateEventPriceShare>}
|
|
6522
|
+
* @memberof EstimateEventPriceRequest
|
|
6523
|
+
*/
|
|
6524
|
+
'shares'?: Array<EstimateEventPriceShare>;
|
|
6525
|
+
/**
|
|
6526
|
+
*
|
|
6527
|
+
* @type {PaymentMethod}
|
|
6528
|
+
* @memberof EstimateEventPriceRequest
|
|
6529
|
+
*/
|
|
6530
|
+
'paymentMethod'?: PaymentMethod;
|
|
6502
6531
|
/**
|
|
6503
6532
|
*
|
|
6504
6533
|
* @type {number}
|
|
6505
|
-
* @memberof
|
|
6534
|
+
* @memberof EstimateEventPriceRequest
|
|
6506
6535
|
*/
|
|
6507
|
-
'
|
|
6536
|
+
'playersCount'?: number;
|
|
6537
|
+
/**
|
|
6538
|
+
*
|
|
6539
|
+
* @type {boolean}
|
|
6540
|
+
* @memberof EstimateEventPriceRequest
|
|
6541
|
+
*/
|
|
6542
|
+
'isCreatorPayingAll'?: boolean;
|
|
6543
|
+
/**
|
|
6544
|
+
*
|
|
6545
|
+
* @type {number}
|
|
6546
|
+
* @memberof EstimateEventPriceRequest
|
|
6547
|
+
*/
|
|
6548
|
+
'reservedPlayerCount'?: number;
|
|
6508
6549
|
/**
|
|
6509
6550
|
*
|
|
6510
6551
|
* @type {string}
|
|
6511
|
-
* @memberof
|
|
6552
|
+
* @memberof EstimateEventPriceRequest
|
|
6512
6553
|
*/
|
|
6513
|
-
'
|
|
6554
|
+
'creatorId'?: string;
|
|
6514
6555
|
/**
|
|
6515
6556
|
*
|
|
6516
6557
|
* @type {number}
|
|
6517
|
-
* @memberof
|
|
6558
|
+
* @memberof EstimateEventPriceRequest
|
|
6518
6559
|
*/
|
|
6519
|
-
'
|
|
6560
|
+
'creditToUseInCents'?: number;
|
|
6561
|
+
}
|
|
6562
|
+
/**
|
|
6563
|
+
*
|
|
6564
|
+
* @export
|
|
6565
|
+
* @interface EstimateEventPriceResponse
|
|
6566
|
+
*/
|
|
6567
|
+
export interface EstimateEventPriceResponse {
|
|
6520
6568
|
/**
|
|
6521
6569
|
* Construct a type with a set of properties K of type T
|
|
6522
6570
|
* @type {{ [key: string]: number; }}
|
|
6523
|
-
* @memberof
|
|
6571
|
+
* @memberof EstimateEventPriceResponse
|
|
6524
6572
|
*/
|
|
6525
6573
|
'perPlayer': {
|
|
6526
6574
|
[key: string]: number;
|
|
6527
6575
|
};
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6576
|
+
/**
|
|
6577
|
+
*
|
|
6578
|
+
* @type {Array<EstimateEventPlayerPrice>}
|
|
6579
|
+
* @memberof EstimateEventPriceResponse
|
|
6580
|
+
*/
|
|
6581
|
+
'playerPrices': Array<EstimateEventPlayerPrice>;
|
|
6582
|
+
/**
|
|
6583
|
+
* Construct a type with a set of properties K of type T
|
|
6584
|
+
* @type {{ [key: string]: number; }}
|
|
6585
|
+
* @memberof EstimateEventPriceResponse
|
|
6586
|
+
*/
|
|
6587
|
+
'perPayer': {
|
|
6588
|
+
[key: string]: number;
|
|
6589
|
+
};
|
|
6535
6590
|
/**
|
|
6536
6591
|
*
|
|
6537
6592
|
* @type {number}
|
|
6538
|
-
* @memberof
|
|
6593
|
+
* @memberof EstimateEventPriceResponse
|
|
6539
6594
|
*/
|
|
6540
|
-
'
|
|
6595
|
+
'total': number;
|
|
6541
6596
|
/**
|
|
6542
6597
|
*
|
|
6543
6598
|
* @type {string}
|
|
6544
|
-
* @memberof
|
|
6599
|
+
* @memberof EstimateEventPriceResponse
|
|
6545
6600
|
*/
|
|
6546
|
-
'
|
|
6601
|
+
'currency': string;
|
|
6547
6602
|
/**
|
|
6548
6603
|
*
|
|
6549
|
-
* @type {
|
|
6550
|
-
* @memberof
|
|
6604
|
+
* @type {PaymentMethod}
|
|
6605
|
+
* @memberof EstimateEventPriceResponse
|
|
6551
6606
|
*/
|
|
6552
|
-
'
|
|
6607
|
+
'paymentMethod'?: PaymentMethod;
|
|
6553
6608
|
/**
|
|
6554
6609
|
*
|
|
6555
|
-
* @type {
|
|
6556
|
-
* @memberof
|
|
6610
|
+
* @type {number}
|
|
6611
|
+
* @memberof EstimateEventPriceResponse
|
|
6557
6612
|
*/
|
|
6558
|
-
'
|
|
6613
|
+
'playersCount'?: number;
|
|
6614
|
+
/**
|
|
6615
|
+
*
|
|
6616
|
+
* @type {number}
|
|
6617
|
+
* @memberof EstimateEventPriceResponse
|
|
6618
|
+
*/
|
|
6619
|
+
'reservedPlayerCount'?: number;
|
|
6620
|
+
/**
|
|
6621
|
+
*
|
|
6622
|
+
* @type {number}
|
|
6623
|
+
* @memberof EstimateEventPriceResponse
|
|
6624
|
+
*/
|
|
6625
|
+
'missingParticipantsCount'?: number;
|
|
6626
|
+
/**
|
|
6627
|
+
*
|
|
6628
|
+
* @type {number}
|
|
6629
|
+
* @memberof EstimateEventPriceResponse
|
|
6630
|
+
*/
|
|
6631
|
+
'creditsAppliedInCents'?: number;
|
|
6632
|
+
/**
|
|
6633
|
+
*
|
|
6634
|
+
* @type {number}
|
|
6635
|
+
* @memberof EstimateEventPriceResponse
|
|
6636
|
+
*/
|
|
6637
|
+
'totalAfterCredits'?: number;
|
|
6638
|
+
/**
|
|
6639
|
+
* Construct a type with a set of properties K of type T
|
|
6640
|
+
* @type {{ [key: string]: number; }}
|
|
6641
|
+
* @memberof EstimateEventPriceResponse
|
|
6642
|
+
*/
|
|
6643
|
+
'perPayerAfterCredits'?: {
|
|
6644
|
+
[key: string]: number;
|
|
6645
|
+
};
|
|
6559
6646
|
}
|
|
6560
6647
|
/**
|
|
6561
6648
|
*
|
|
6562
6649
|
* @export
|
|
6563
|
-
* @interface
|
|
6650
|
+
* @interface EstimateEventPriceShare
|
|
6564
6651
|
*/
|
|
6565
|
-
export interface
|
|
6652
|
+
export interface EstimateEventPriceShare {
|
|
6566
6653
|
/**
|
|
6567
6654
|
*
|
|
6568
|
-
* @type {
|
|
6569
|
-
* @memberof
|
|
6655
|
+
* @type {string}
|
|
6656
|
+
* @memberof EstimateEventPriceShare
|
|
6570
6657
|
*/
|
|
6571
|
-
'
|
|
6658
|
+
'playerId': string;
|
|
6572
6659
|
/**
|
|
6573
6660
|
*
|
|
6574
|
-
* @type {string}
|
|
6575
|
-
* @memberof
|
|
6661
|
+
* @type {Array<string>}
|
|
6662
|
+
* @memberof EstimateEventPriceShare
|
|
6576
6663
|
*/
|
|
6577
|
-
'
|
|
6664
|
+
'paysAlsoFor'?: Array<string>;
|
|
6578
6665
|
}
|
|
6579
6666
|
/**
|
|
6580
6667
|
*
|
|
@@ -23420,10 +23507,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23420
23507
|
* @param {string} id
|
|
23421
23508
|
* @param {string} sportId
|
|
23422
23509
|
* @param {string} day
|
|
23510
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23423
23511
|
* @param {*} [options] Override http request option.
|
|
23424
23512
|
* @throws {RequiredError}
|
|
23425
23513
|
*/
|
|
23426
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23514
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23427
23515
|
/**
|
|
23428
23516
|
*
|
|
23429
23517
|
* @param {string} id
|
|
@@ -23437,10 +23525,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23437
23525
|
* @param {string} id
|
|
23438
23526
|
* @param {string} sportId
|
|
23439
23527
|
* @param {string} day
|
|
23528
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23440
23529
|
* @param {*} [options] Override http request option.
|
|
23441
23530
|
* @throws {RequiredError}
|
|
23442
23531
|
*/
|
|
23443
|
-
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23532
|
+
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23444
23533
|
/**
|
|
23445
23534
|
* reference to artillery tests
|
|
23446
23535
|
* @param {string} clubID
|
|
@@ -23556,10 +23645,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23556
23645
|
* @param {string} id
|
|
23557
23646
|
* @param {string} sportId
|
|
23558
23647
|
* @param {string} day
|
|
23648
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23559
23649
|
* @param {*} [options] Override http request option.
|
|
23560
23650
|
* @throws {RequiredError}
|
|
23561
23651
|
*/
|
|
23562
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23652
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23563
23653
|
/**
|
|
23564
23654
|
*
|
|
23565
23655
|
* @param {string} id
|
|
@@ -23573,10 +23663,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23573
23663
|
* @param {string} id
|
|
23574
23664
|
* @param {string} sportId
|
|
23575
23665
|
* @param {string} day
|
|
23666
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23576
23667
|
* @param {*} [options] Override http request option.
|
|
23577
23668
|
* @throws {RequiredError}
|
|
23578
23669
|
*/
|
|
23579
|
-
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23670
|
+
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23580
23671
|
/**
|
|
23581
23672
|
* reference to artillery tests
|
|
23582
23673
|
* @param {string} clubID
|
|
@@ -23822,6 +23913,12 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
23822
23913
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23823
23914
|
*/
|
|
23824
23915
|
readonly day: string;
|
|
23916
|
+
/**
|
|
23917
|
+
*
|
|
23918
|
+
* @type {boolean}
|
|
23919
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23920
|
+
*/
|
|
23921
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23825
23922
|
}
|
|
23826
23923
|
/**
|
|
23827
23924
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
@@ -23866,6 +23963,12 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
23866
23963
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23867
23964
|
*/
|
|
23868
23965
|
readonly day: string;
|
|
23966
|
+
/**
|
|
23967
|
+
*
|
|
23968
|
+
* @type {boolean}
|
|
23969
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23970
|
+
*/
|
|
23971
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23869
23972
|
}
|
|
23870
23973
|
/**
|
|
23871
23974
|
* Request parameters for getAvailableSlotsDaysByClubById operation in ClubsApi.
|
|
@@ -25853,7 +25956,7 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
|
|
|
25853
25956
|
* @param {*} [options] Override http request option.
|
|
25854
25957
|
* @throws {RequiredError}
|
|
25855
25958
|
*/
|
|
25856
|
-
estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
25959
|
+
estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPriceResponse>>;
|
|
25857
25960
|
/**
|
|
25858
25961
|
* Estimer le prix pour rejoindre un événement ouvert
|
|
25859
25962
|
* @param {string} eventBookingId
|
|
@@ -25975,7 +26078,7 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
|
|
|
25975
26078
|
* @param {*} [options] Override http request option.
|
|
25976
26079
|
* @throws {RequiredError}
|
|
25977
26080
|
*/
|
|
25978
|
-
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
26081
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPriceResponse>;
|
|
25979
26082
|
/**
|
|
25980
26083
|
* Estimer le prix pour rejoindre un événement ouvert
|
|
25981
26084
|
* @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
|
@@ -26363,7 +26466,7 @@ export declare class EventsApi extends BaseAPI {
|
|
|
26363
26466
|
* @throws {RequiredError}
|
|
26364
26467
|
* @memberof EventsApi
|
|
26365
26468
|
*/
|
|
26366
|
-
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
26469
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPriceResponse, any, {}>>;
|
|
26367
26470
|
/**
|
|
26368
26471
|
* Estimer le prix pour rejoindre un événement ouvert
|
|
26369
26472
|
* @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -6926,10 +6926,11 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6926
6926
|
* @param {string} id
|
|
6927
6927
|
* @param {string} sportId
|
|
6928
6928
|
* @param {string} day
|
|
6929
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
6929
6930
|
* @param {*} [options] Override http request option.
|
|
6930
6931
|
* @throws {RequiredError}
|
|
6931
6932
|
*/
|
|
6932
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay: (id_1, sportId_1, day_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, ...args_1], void 0, function* (id, sportId, day, options = {}) {
|
|
6933
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay: (id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1], void 0, function* (id, sportId, day, excludePastCancellationSlots, options = {}) {
|
|
6933
6934
|
// verify required parameter 'id' is not null or undefined
|
|
6934
6935
|
(0, common_1.assertParamExists)('getAvailableSlotAndMultiSlotsBySportsAndDay', 'id', id);
|
|
6935
6936
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -6949,6 +6950,9 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6949
6950
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6950
6951
|
const localVarHeaderParameter = {};
|
|
6951
6952
|
const localVarQueryParameter = {};
|
|
6953
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
6954
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
6955
|
+
}
|
|
6952
6956
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6953
6957
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6954
6958
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6994,10 +6998,11 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6994
6998
|
* @param {string} id
|
|
6995
6999
|
* @param {string} sportId
|
|
6996
7000
|
* @param {string} day
|
|
7001
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
6997
7002
|
* @param {*} [options] Override http request option.
|
|
6998
7003
|
* @throws {RequiredError}
|
|
6999
7004
|
*/
|
|
7000
|
-
getAvailableSlotsBySportsAndDay: (id_1, sportId_1, day_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, ...args_1], void 0, function* (id, sportId, day, options = {}) {
|
|
7005
|
+
getAvailableSlotsBySportsAndDay: (id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1], void 0, function* (id, sportId, day, excludePastCancellationSlots, options = {}) {
|
|
7001
7006
|
// verify required parameter 'id' is not null or undefined
|
|
7002
7007
|
(0, common_1.assertParamExists)('getAvailableSlotsBySportsAndDay', 'id', id);
|
|
7003
7008
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -7017,6 +7022,9 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
7017
7022
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7018
7023
|
const localVarHeaderParameter = {};
|
|
7019
7024
|
const localVarQueryParameter = {};
|
|
7025
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
7026
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
7027
|
+
}
|
|
7020
7028
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7021
7029
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7022
7030
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7439,13 +7447,14 @@ const ClubsApiFp = function (configuration) {
|
|
|
7439
7447
|
* @param {string} id
|
|
7440
7448
|
* @param {string} sportId
|
|
7441
7449
|
* @param {string} day
|
|
7450
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
7442
7451
|
* @param {*} [options] Override http request option.
|
|
7443
7452
|
* @throws {RequiredError}
|
|
7444
7453
|
*/
|
|
7445
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options) {
|
|
7454
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options) {
|
|
7446
7455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7447
7456
|
var _a, _b, _c;
|
|
7448
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options);
|
|
7457
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
7449
7458
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7450
7459
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getAvailableSlotAndMultiSlotsBySportsAndDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7451
7460
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7472,13 +7481,14 @@ const ClubsApiFp = function (configuration) {
|
|
|
7472
7481
|
* @param {string} id
|
|
7473
7482
|
* @param {string} sportId
|
|
7474
7483
|
* @param {string} day
|
|
7484
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
7475
7485
|
* @param {*} [options] Override http request option.
|
|
7476
7486
|
* @throws {RequiredError}
|
|
7477
7487
|
*/
|
|
7478
|
-
getAvailableSlotsBySportsAndDay(id, sportId, day, options) {
|
|
7488
|
+
getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options) {
|
|
7479
7489
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7480
7490
|
var _a, _b, _c;
|
|
7481
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, options);
|
|
7491
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
7482
7492
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7483
7493
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7484
7494
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7713,7 +7723,7 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7713
7723
|
* @throws {RequiredError}
|
|
7714
7724
|
*/
|
|
7715
7725
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters, options) {
|
|
7716
|
-
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
7726
|
+
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
7717
7727
|
},
|
|
7718
7728
|
/**
|
|
7719
7729
|
*
|
|
@@ -7731,7 +7741,7 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7731
7741
|
* @throws {RequiredError}
|
|
7732
7742
|
*/
|
|
7733
7743
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7734
|
-
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
7744
|
+
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
7735
7745
|
},
|
|
7736
7746
|
/**
|
|
7737
7747
|
* reference to artillery tests
|
|
@@ -7884,7 +7894,7 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
7884
7894
|
* @memberof ClubsApi
|
|
7885
7895
|
*/
|
|
7886
7896
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters, options) {
|
|
7887
|
-
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
7897
|
+
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
7888
7898
|
}
|
|
7889
7899
|
/**
|
|
7890
7900
|
*
|
|
@@ -7904,7 +7914,7 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
7904
7914
|
* @memberof ClubsApi
|
|
7905
7915
|
*/
|
|
7906
7916
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7907
|
-
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
7917
|
+
return (0, exports.ClubsApiFp)(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
7908
7918
|
}
|
|
7909
7919
|
/**
|
|
7910
7920
|
* reference to artillery tests
|