@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/.openapi-generator/FILES
CHANGED
|
@@ -190,9 +190,10 @@ docs/DiscountType.md
|
|
|
190
190
|
docs/DuplicateClubDayScheduleRequest.md
|
|
191
191
|
docs/EmailExistsRequestBody.md
|
|
192
192
|
docs/EmailExistsResponse.md
|
|
193
|
-
docs/
|
|
193
|
+
docs/EstimateEventPlayerPrice.md
|
|
194
194
|
docs/EstimateEventPriceRequest.md
|
|
195
|
-
docs/
|
|
195
|
+
docs/EstimateEventPriceResponse.md
|
|
196
|
+
docs/EstimateEventPriceShare.md
|
|
196
197
|
docs/EstimateOpenBookingJoinRequest.md
|
|
197
198
|
docs/EstimateOpenEventBookingJoinPrice200Response.md
|
|
198
199
|
docs/EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo.md
|
package/README.md
CHANGED
|
@@ -512,9 +512,10 @@ Class | Method | HTTP request | Description
|
|
|
512
512
|
- [DuplicateClubDayScheduleRequest](docs/DuplicateClubDayScheduleRequest.md)
|
|
513
513
|
- [EmailExistsRequestBody](docs/EmailExistsRequestBody.md)
|
|
514
514
|
- [EmailExistsResponse](docs/EmailExistsResponse.md)
|
|
515
|
-
- [
|
|
515
|
+
- [EstimateEventPlayerPrice](docs/EstimateEventPlayerPrice.md)
|
|
516
516
|
- [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
|
|
517
|
-
- [
|
|
517
|
+
- [EstimateEventPriceResponse](docs/EstimateEventPriceResponse.md)
|
|
518
|
+
- [EstimateEventPriceShare](docs/EstimateEventPriceShare.md)
|
|
518
519
|
- [EstimateOpenBookingJoinRequest](docs/EstimateOpenBookingJoinRequest.md)
|
|
519
520
|
- [EstimateOpenEventBookingJoinPrice200Response](docs/EstimateOpenEventBookingJoinPrice200Response.md)
|
|
520
521
|
- [EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo](docs/EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo.md)
|
package/api.ts
CHANGED
|
@@ -6585,95 +6585,184 @@ export interface EmailExistsResponse {
|
|
|
6585
6585
|
/**
|
|
6586
6586
|
*
|
|
6587
6587
|
* @export
|
|
6588
|
-
* @interface
|
|
6588
|
+
* @interface EstimateEventPlayerPrice
|
|
6589
6589
|
*/
|
|
6590
|
-
export interface
|
|
6590
|
+
export interface EstimateEventPlayerPrice {
|
|
6591
6591
|
/**
|
|
6592
|
-
*
|
|
6593
|
-
* @type {
|
|
6594
|
-
* @memberof
|
|
6592
|
+
*
|
|
6593
|
+
* @type {string}
|
|
6594
|
+
* @memberof EstimateEventPlayerPrice
|
|
6595
6595
|
*/
|
|
6596
|
-
'
|
|
6596
|
+
'playerId': string;
|
|
6597
|
+
/**
|
|
6598
|
+
*
|
|
6599
|
+
* @type {string}
|
|
6600
|
+
* @memberof EstimateEventPlayerPrice
|
|
6601
|
+
*/
|
|
6602
|
+
'firstName'?: string;
|
|
6597
6603
|
/**
|
|
6598
6604
|
*
|
|
6599
6605
|
* @type {number}
|
|
6600
|
-
* @memberof
|
|
6606
|
+
* @memberof EstimateEventPlayerPrice
|
|
6601
6607
|
*/
|
|
6602
|
-
'
|
|
6608
|
+
'price': number;
|
|
6609
|
+
}
|
|
6610
|
+
/**
|
|
6611
|
+
*
|
|
6612
|
+
* @export
|
|
6613
|
+
* @interface EstimateEventPriceRequest
|
|
6614
|
+
*/
|
|
6615
|
+
export interface EstimateEventPriceRequest {
|
|
6616
|
+
/**
|
|
6617
|
+
*
|
|
6618
|
+
* @type {Array<string>}
|
|
6619
|
+
* @memberof EstimateEventPriceRequest
|
|
6620
|
+
*/
|
|
6621
|
+
'playerIds': Array<string>;
|
|
6622
|
+
/**
|
|
6623
|
+
*
|
|
6624
|
+
* @type {Array<EstimateEventPriceShare>}
|
|
6625
|
+
* @memberof EstimateEventPriceRequest
|
|
6626
|
+
*/
|
|
6627
|
+
'shares'?: Array<EstimateEventPriceShare>;
|
|
6628
|
+
/**
|
|
6629
|
+
*
|
|
6630
|
+
* @type {PaymentMethod}
|
|
6631
|
+
* @memberof EstimateEventPriceRequest
|
|
6632
|
+
*/
|
|
6633
|
+
'paymentMethod'?: PaymentMethod;
|
|
6603
6634
|
/**
|
|
6604
6635
|
*
|
|
6605
6636
|
* @type {number}
|
|
6606
|
-
* @memberof
|
|
6637
|
+
* @memberof EstimateEventPriceRequest
|
|
6607
6638
|
*/
|
|
6608
|
-
'
|
|
6639
|
+
'playersCount'?: number;
|
|
6609
6640
|
/**
|
|
6610
6641
|
*
|
|
6611
|
-
* @type {
|
|
6612
|
-
* @memberof
|
|
6642
|
+
* @type {boolean}
|
|
6643
|
+
* @memberof EstimateEventPriceRequest
|
|
6613
6644
|
*/
|
|
6614
|
-
'
|
|
6645
|
+
'isCreatorPayingAll'?: boolean;
|
|
6615
6646
|
/**
|
|
6616
6647
|
*
|
|
6617
6648
|
* @type {number}
|
|
6618
|
-
* @memberof
|
|
6649
|
+
* @memberof EstimateEventPriceRequest
|
|
6619
6650
|
*/
|
|
6620
|
-
'
|
|
6651
|
+
'reservedPlayerCount'?: number;
|
|
6621
6652
|
/**
|
|
6622
|
-
*
|
|
6623
|
-
* @type {
|
|
6624
|
-
* @memberof
|
|
6653
|
+
*
|
|
6654
|
+
* @type {string}
|
|
6655
|
+
* @memberof EstimateEventPriceRequest
|
|
6625
6656
|
*/
|
|
6626
|
-
'
|
|
6657
|
+
'creatorId'?: string;
|
|
6658
|
+
/**
|
|
6659
|
+
*
|
|
6660
|
+
* @type {number}
|
|
6661
|
+
* @memberof EstimateEventPriceRequest
|
|
6662
|
+
*/
|
|
6663
|
+
'creditToUseInCents'?: number;
|
|
6627
6664
|
}
|
|
6665
|
+
|
|
6666
|
+
|
|
6628
6667
|
/**
|
|
6629
6668
|
*
|
|
6630
6669
|
* @export
|
|
6631
|
-
* @interface
|
|
6670
|
+
* @interface EstimateEventPriceResponse
|
|
6632
6671
|
*/
|
|
6633
|
-
export interface
|
|
6672
|
+
export interface EstimateEventPriceResponse {
|
|
6673
|
+
/**
|
|
6674
|
+
* Construct a type with a set of properties K of type T
|
|
6675
|
+
* @type {{ [key: string]: number; }}
|
|
6676
|
+
* @memberof EstimateEventPriceResponse
|
|
6677
|
+
*/
|
|
6678
|
+
'perPlayer': { [key: string]: number; };
|
|
6679
|
+
/**
|
|
6680
|
+
*
|
|
6681
|
+
* @type {Array<EstimateEventPlayerPrice>}
|
|
6682
|
+
* @memberof EstimateEventPriceResponse
|
|
6683
|
+
*/
|
|
6684
|
+
'playerPrices': Array<EstimateEventPlayerPrice>;
|
|
6685
|
+
/**
|
|
6686
|
+
* Construct a type with a set of properties K of type T
|
|
6687
|
+
* @type {{ [key: string]: number; }}
|
|
6688
|
+
* @memberof EstimateEventPriceResponse
|
|
6689
|
+
*/
|
|
6690
|
+
'perPayer': { [key: string]: number; };
|
|
6634
6691
|
/**
|
|
6635
6692
|
*
|
|
6636
6693
|
* @type {number}
|
|
6637
|
-
* @memberof
|
|
6694
|
+
* @memberof EstimateEventPriceResponse
|
|
6638
6695
|
*/
|
|
6639
|
-
'
|
|
6696
|
+
'total': number;
|
|
6640
6697
|
/**
|
|
6641
6698
|
*
|
|
6642
6699
|
* @type {string}
|
|
6643
|
-
* @memberof
|
|
6700
|
+
* @memberof EstimateEventPriceResponse
|
|
6644
6701
|
*/
|
|
6645
|
-
'
|
|
6702
|
+
'currency': string;
|
|
6646
6703
|
/**
|
|
6647
6704
|
*
|
|
6648
|
-
* @type {
|
|
6649
|
-
* @memberof
|
|
6705
|
+
* @type {PaymentMethod}
|
|
6706
|
+
* @memberof EstimateEventPriceResponse
|
|
6650
6707
|
*/
|
|
6651
|
-
'
|
|
6708
|
+
'paymentMethod'?: PaymentMethod;
|
|
6652
6709
|
/**
|
|
6653
6710
|
*
|
|
6654
|
-
* @type {
|
|
6655
|
-
* @memberof
|
|
6711
|
+
* @type {number}
|
|
6712
|
+
* @memberof EstimateEventPriceResponse
|
|
6656
6713
|
*/
|
|
6657
|
-
'
|
|
6714
|
+
'playersCount'?: number;
|
|
6715
|
+
/**
|
|
6716
|
+
*
|
|
6717
|
+
* @type {number}
|
|
6718
|
+
* @memberof EstimateEventPriceResponse
|
|
6719
|
+
*/
|
|
6720
|
+
'reservedPlayerCount'?: number;
|
|
6721
|
+
/**
|
|
6722
|
+
*
|
|
6723
|
+
* @type {number}
|
|
6724
|
+
* @memberof EstimateEventPriceResponse
|
|
6725
|
+
*/
|
|
6726
|
+
'missingParticipantsCount'?: number;
|
|
6727
|
+
/**
|
|
6728
|
+
*
|
|
6729
|
+
* @type {number}
|
|
6730
|
+
* @memberof EstimateEventPriceResponse
|
|
6731
|
+
*/
|
|
6732
|
+
'creditsAppliedInCents'?: number;
|
|
6733
|
+
/**
|
|
6734
|
+
*
|
|
6735
|
+
* @type {number}
|
|
6736
|
+
* @memberof EstimateEventPriceResponse
|
|
6737
|
+
*/
|
|
6738
|
+
'totalAfterCredits'?: number;
|
|
6739
|
+
/**
|
|
6740
|
+
* Construct a type with a set of properties K of type T
|
|
6741
|
+
* @type {{ [key: string]: number; }}
|
|
6742
|
+
* @memberof EstimateEventPriceResponse
|
|
6743
|
+
*/
|
|
6744
|
+
'perPayerAfterCredits'?: { [key: string]: number; };
|
|
6658
6745
|
}
|
|
6746
|
+
|
|
6747
|
+
|
|
6659
6748
|
/**
|
|
6660
6749
|
*
|
|
6661
6750
|
* @export
|
|
6662
|
-
* @interface
|
|
6751
|
+
* @interface EstimateEventPriceShare
|
|
6663
6752
|
*/
|
|
6664
|
-
export interface
|
|
6753
|
+
export interface EstimateEventPriceShare {
|
|
6665
6754
|
/**
|
|
6666
6755
|
*
|
|
6667
|
-
* @type {
|
|
6668
|
-
* @memberof
|
|
6756
|
+
* @type {string}
|
|
6757
|
+
* @memberof EstimateEventPriceShare
|
|
6669
6758
|
*/
|
|
6670
|
-
'
|
|
6759
|
+
'playerId': string;
|
|
6671
6760
|
/**
|
|
6672
6761
|
*
|
|
6673
|
-
* @type {string}
|
|
6674
|
-
* @memberof
|
|
6762
|
+
* @type {Array<string>}
|
|
6763
|
+
* @memberof EstimateEventPriceShare
|
|
6675
6764
|
*/
|
|
6676
|
-
'
|
|
6765
|
+
'paysAlsoFor'?: Array<string>;
|
|
6677
6766
|
}
|
|
6678
6767
|
/**
|
|
6679
6768
|
*
|
|
@@ -27668,10 +27757,11 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27668
27757
|
* @param {string} id
|
|
27669
27758
|
* @param {string} sportId
|
|
27670
27759
|
* @param {string} day
|
|
27760
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
27671
27761
|
* @param {*} [options] Override http request option.
|
|
27672
27762
|
* @throws {RequiredError}
|
|
27673
27763
|
*/
|
|
27674
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay: async (id: string, sportId: string, day: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27764
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay: async (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27675
27765
|
// verify required parameter 'id' is not null or undefined
|
|
27676
27766
|
assertParamExists('getAvailableSlotAndMultiSlotsBySportsAndDay', 'id', id)
|
|
27677
27767
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -27693,6 +27783,10 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27693
27783
|
const localVarHeaderParameter = {} as any;
|
|
27694
27784
|
const localVarQueryParameter = {} as any;
|
|
27695
27785
|
|
|
27786
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
27787
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
27788
|
+
}
|
|
27789
|
+
|
|
27696
27790
|
|
|
27697
27791
|
|
|
27698
27792
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27746,10 +27840,11 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27746
27840
|
* @param {string} id
|
|
27747
27841
|
* @param {string} sportId
|
|
27748
27842
|
* @param {string} day
|
|
27843
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
27749
27844
|
* @param {*} [options] Override http request option.
|
|
27750
27845
|
* @throws {RequiredError}
|
|
27751
27846
|
*/
|
|
27752
|
-
getAvailableSlotsBySportsAndDay: async (id: string, sportId: string, day: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27847
|
+
getAvailableSlotsBySportsAndDay: async (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27753
27848
|
// verify required parameter 'id' is not null or undefined
|
|
27754
27849
|
assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id)
|
|
27755
27850
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -27771,6 +27866,10 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27771
27866
|
const localVarHeaderParameter = {} as any;
|
|
27772
27867
|
const localVarQueryParameter = {} as any;
|
|
27773
27868
|
|
|
27869
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
27870
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
27871
|
+
}
|
|
27872
|
+
|
|
27774
27873
|
|
|
27775
27874
|
|
|
27776
27875
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28259,11 +28358,12 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
28259
28358
|
* @param {string} id
|
|
28260
28359
|
* @param {string} sportId
|
|
28261
28360
|
* @param {string} day
|
|
28361
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
28262
28362
|
* @param {*} [options] Override http request option.
|
|
28263
28363
|
* @throws {RequiredError}
|
|
28264
28364
|
*/
|
|
28265
|
-
async getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28266
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options);
|
|
28365
|
+
async getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
28267
28367
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28268
28368
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotAndMultiSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
28269
28369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -28286,11 +28386,12 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
28286
28386
|
* @param {string} id
|
|
28287
28387
|
* @param {string} sportId
|
|
28288
28388
|
* @param {string} day
|
|
28389
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
28289
28390
|
* @param {*} [options] Override http request option.
|
|
28290
28391
|
* @throws {RequiredError}
|
|
28291
28392
|
*/
|
|
28292
|
-
async getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28293
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, options);
|
|
28393
|
+
async getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
28294
28395
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28295
28396
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
28296
28397
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -28485,7 +28586,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
28485
28586
|
* @throws {RequiredError}
|
|
28486
28587
|
*/
|
|
28487
28588
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySportsAndDay200Response> {
|
|
28488
|
-
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
28589
|
+
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
28489
28590
|
},
|
|
28490
28591
|
/**
|
|
28491
28592
|
*
|
|
@@ -28503,7 +28604,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
28503
28604
|
* @throws {RequiredError}
|
|
28504
28605
|
*/
|
|
28505
28606
|
getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySportsAndDay200Response> {
|
|
28506
|
-
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
28607
|
+
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
28507
28608
|
},
|
|
28508
28609
|
/**
|
|
28509
28610
|
* reference to artillery tests
|
|
@@ -28649,6 +28750,13 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
28649
28750
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
28650
28751
|
*/
|
|
28651
28752
|
readonly day: string
|
|
28753
|
+
|
|
28754
|
+
/**
|
|
28755
|
+
*
|
|
28756
|
+
* @type {boolean}
|
|
28757
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
28758
|
+
*/
|
|
28759
|
+
readonly excludePastCancellationSlots?: boolean
|
|
28652
28760
|
}
|
|
28653
28761
|
|
|
28654
28762
|
/**
|
|
@@ -28698,6 +28806,13 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
28698
28806
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
28699
28807
|
*/
|
|
28700
28808
|
readonly day: string
|
|
28809
|
+
|
|
28810
|
+
/**
|
|
28811
|
+
*
|
|
28812
|
+
* @type {boolean}
|
|
28813
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
28814
|
+
*/
|
|
28815
|
+
readonly excludePastCancellationSlots?: boolean
|
|
28701
28816
|
}
|
|
28702
28817
|
|
|
28703
28818
|
/**
|
|
@@ -28910,7 +29025,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
28910
29025
|
* @memberof ClubsApi
|
|
28911
29026
|
*/
|
|
28912
29027
|
public getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig) {
|
|
28913
|
-
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
29028
|
+
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
28914
29029
|
}
|
|
28915
29030
|
|
|
28916
29031
|
/**
|
|
@@ -28932,7 +29047,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
28932
29047
|
* @memberof ClubsApi
|
|
28933
29048
|
*/
|
|
28934
29049
|
public getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig) {
|
|
28935
|
-
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
29050
|
+
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
28936
29051
|
}
|
|
28937
29052
|
|
|
28938
29053
|
/**
|
|
@@ -32791,7 +32906,7 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
32791
32906
|
* @param {*} [options] Override http request option.
|
|
32792
32907
|
* @throws {RequiredError}
|
|
32793
32908
|
*/
|
|
32794
|
-
async estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
32909
|
+
async estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPriceResponse>> {
|
|
32795
32910
|
const localVarAxiosArgs = await localVarAxiosParamCreator.estimateEventPrice(eventId, estimateEventPriceRequest, options);
|
|
32796
32911
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32797
32912
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.estimateEventPrice']?.[localVarOperationServerIndex]?.url;
|
|
@@ -32989,7 +33104,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
32989
33104
|
* @param {*} [options] Override http request option.
|
|
32990
33105
|
* @throws {RequiredError}
|
|
32991
33106
|
*/
|
|
32992
|
-
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
33107
|
+
estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPriceResponse> {
|
|
32993
33108
|
return localVarFp.estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(axios, basePath));
|
|
32994
33109
|
},
|
|
32995
33110
|
/**
|