@tennac-booking/sdk 1.0.299 → 1.0.301
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/api.ts +48 -10
- package/dist/api.d.ts +32 -4
- package/dist/api.js +20 -10
- package/dist/esm/api.d.ts +32 -4
- package/dist/esm/api.js +20 -10
- package/docs/ClubsApi.md +8 -2
- package/docs/EstimateOpenBookingJoinRequest.md +2 -0
- package/docs/JoinOpenBookingRequest.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6687,6 +6687,12 @@ export interface EstimateOpenBookingJoinRequest {
|
|
|
6687
6687
|
* @memberof EstimateOpenBookingJoinRequest
|
|
6688
6688
|
*/
|
|
6689
6689
|
'playerShares'?: Array<PlayerShare>;
|
|
6690
|
+
/**
|
|
6691
|
+
* Nombre total de joueurs qui rejoignent (incluant invités non enregistrés)
|
|
6692
|
+
* @type {number}
|
|
6693
|
+
* @memberof EstimateOpenBookingJoinRequest
|
|
6694
|
+
*/
|
|
6695
|
+
'playersCount'?: number;
|
|
6690
6696
|
/**
|
|
6691
6697
|
*
|
|
6692
6698
|
* @type {boolean}
|
|
@@ -9915,6 +9921,12 @@ export interface JoinOpenBookingRequest {
|
|
|
9915
9921
|
* @memberof JoinOpenBookingRequest
|
|
9916
9922
|
*/
|
|
9917
9923
|
'playerShares'?: Array<PlayerShare>;
|
|
9924
|
+
/**
|
|
9925
|
+
* Nombre total de joueurs qui rejoignent (incluant invités non enregistrés)
|
|
9926
|
+
* @type {number}
|
|
9927
|
+
* @memberof JoinOpenBookingRequest
|
|
9928
|
+
*/
|
|
9929
|
+
'playersCount'?: number;
|
|
9918
9930
|
/**
|
|
9919
9931
|
*
|
|
9920
9932
|
* @type {boolean}
|
|
@@ -27656,10 +27668,11 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27656
27668
|
* @param {string} id
|
|
27657
27669
|
* @param {string} sportId
|
|
27658
27670
|
* @param {string} day
|
|
27671
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
27659
27672
|
* @param {*} [options] Override http request option.
|
|
27660
27673
|
* @throws {RequiredError}
|
|
27661
27674
|
*/
|
|
27662
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay: async (id: string, sportId: string, day: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27675
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay: async (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27663
27676
|
// verify required parameter 'id' is not null or undefined
|
|
27664
27677
|
assertParamExists('getAvailableSlotAndMultiSlotsBySportsAndDay', 'id', id)
|
|
27665
27678
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -27681,6 +27694,10 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27681
27694
|
const localVarHeaderParameter = {} as any;
|
|
27682
27695
|
const localVarQueryParameter = {} as any;
|
|
27683
27696
|
|
|
27697
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
27698
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
27699
|
+
}
|
|
27700
|
+
|
|
27684
27701
|
|
|
27685
27702
|
|
|
27686
27703
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27734,10 +27751,11 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27734
27751
|
* @param {string} id
|
|
27735
27752
|
* @param {string} sportId
|
|
27736
27753
|
* @param {string} day
|
|
27754
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
27737
27755
|
* @param {*} [options] Override http request option.
|
|
27738
27756
|
* @throws {RequiredError}
|
|
27739
27757
|
*/
|
|
27740
|
-
getAvailableSlotsBySportsAndDay: async (id: string, sportId: string, day: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27758
|
+
getAvailableSlotsBySportsAndDay: async (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27741
27759
|
// verify required parameter 'id' is not null or undefined
|
|
27742
27760
|
assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id)
|
|
27743
27761
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -27759,6 +27777,10 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27759
27777
|
const localVarHeaderParameter = {} as any;
|
|
27760
27778
|
const localVarQueryParameter = {} as any;
|
|
27761
27779
|
|
|
27780
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
27781
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
27782
|
+
}
|
|
27783
|
+
|
|
27762
27784
|
|
|
27763
27785
|
|
|
27764
27786
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28247,11 +28269,12 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
28247
28269
|
* @param {string} id
|
|
28248
28270
|
* @param {string} sportId
|
|
28249
28271
|
* @param {string} day
|
|
28272
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
28250
28273
|
* @param {*} [options] Override http request option.
|
|
28251
28274
|
* @throws {RequiredError}
|
|
28252
28275
|
*/
|
|
28253
|
-
async getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options);
|
|
28276
|
+
async getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
28255
28278
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28256
28279
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotAndMultiSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
28257
28280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -28274,11 +28297,12 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
28274
28297
|
* @param {string} id
|
|
28275
28298
|
* @param {string} sportId
|
|
28276
28299
|
* @param {string} day
|
|
28300
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
28277
28301
|
* @param {*} [options] Override http request option.
|
|
28278
28302
|
* @throws {RequiredError}
|
|
28279
28303
|
*/
|
|
28280
|
-
async getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28281
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, options);
|
|
28304
|
+
async getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>> {
|
|
28305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
28282
28306
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28283
28307
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
28284
28308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -28473,7 +28497,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
28473
28497
|
* @throws {RequiredError}
|
|
28474
28498
|
*/
|
|
28475
28499
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySportsAndDay200Response> {
|
|
28476
|
-
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
28500
|
+
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
28477
28501
|
},
|
|
28478
28502
|
/**
|
|
28479
28503
|
*
|
|
@@ -28491,7 +28515,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
28491
28515
|
* @throws {RequiredError}
|
|
28492
28516
|
*/
|
|
28493
28517
|
getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySportsAndDay200Response> {
|
|
28494
|
-
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
28518
|
+
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
28495
28519
|
},
|
|
28496
28520
|
/**
|
|
28497
28521
|
* reference to artillery tests
|
|
@@ -28637,6 +28661,13 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
28637
28661
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
28638
28662
|
*/
|
|
28639
28663
|
readonly day: string
|
|
28664
|
+
|
|
28665
|
+
/**
|
|
28666
|
+
*
|
|
28667
|
+
* @type {boolean}
|
|
28668
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
28669
|
+
*/
|
|
28670
|
+
readonly excludePastCancellationSlots?: boolean
|
|
28640
28671
|
}
|
|
28641
28672
|
|
|
28642
28673
|
/**
|
|
@@ -28686,6 +28717,13 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
28686
28717
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
28687
28718
|
*/
|
|
28688
28719
|
readonly day: string
|
|
28720
|
+
|
|
28721
|
+
/**
|
|
28722
|
+
*
|
|
28723
|
+
* @type {boolean}
|
|
28724
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
28725
|
+
*/
|
|
28726
|
+
readonly excludePastCancellationSlots?: boolean
|
|
28689
28727
|
}
|
|
28690
28728
|
|
|
28691
28729
|
/**
|
|
@@ -28898,7 +28936,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
28898
28936
|
* @memberof ClubsApi
|
|
28899
28937
|
*/
|
|
28900
28938
|
public getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig) {
|
|
28901
|
-
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
28939
|
+
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
28902
28940
|
}
|
|
28903
28941
|
|
|
28904
28942
|
/**
|
|
@@ -28920,7 +28958,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
28920
28958
|
* @memberof ClubsApi
|
|
28921
28959
|
*/
|
|
28922
28960
|
public getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig) {
|
|
28923
|
-
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
28961
|
+
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
28924
28962
|
}
|
|
28925
28963
|
|
|
28926
28964
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -6588,6 +6588,12 @@ export interface EstimateOpenBookingJoinRequest {
|
|
|
6588
6588
|
* @memberof EstimateOpenBookingJoinRequest
|
|
6589
6589
|
*/
|
|
6590
6590
|
'playerShares'?: Array<PlayerShare>;
|
|
6591
|
+
/**
|
|
6592
|
+
* Nombre total de joueurs qui rejoignent (incluant invités non enregistrés)
|
|
6593
|
+
* @type {number}
|
|
6594
|
+
* @memberof EstimateOpenBookingJoinRequest
|
|
6595
|
+
*/
|
|
6596
|
+
'playersCount'?: number;
|
|
6591
6597
|
/**
|
|
6592
6598
|
*
|
|
6593
6599
|
* @type {boolean}
|
|
@@ -9763,6 +9769,12 @@ export interface JoinOpenBookingRequest {
|
|
|
9763
9769
|
* @memberof JoinOpenBookingRequest
|
|
9764
9770
|
*/
|
|
9765
9771
|
'playerShares'?: Array<PlayerShare>;
|
|
9772
|
+
/**
|
|
9773
|
+
* Nombre total de joueurs qui rejoignent (incluant invités non enregistrés)
|
|
9774
|
+
* @type {number}
|
|
9775
|
+
* @memberof JoinOpenBookingRequest
|
|
9776
|
+
*/
|
|
9777
|
+
'playersCount'?: number;
|
|
9766
9778
|
/**
|
|
9767
9779
|
*
|
|
9768
9780
|
* @type {boolean}
|
|
@@ -23408,10 +23420,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23408
23420
|
* @param {string} id
|
|
23409
23421
|
* @param {string} sportId
|
|
23410
23422
|
* @param {string} day
|
|
23423
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23411
23424
|
* @param {*} [options] Override http request option.
|
|
23412
23425
|
* @throws {RequiredError}
|
|
23413
23426
|
*/
|
|
23414
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23427
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23415
23428
|
/**
|
|
23416
23429
|
*
|
|
23417
23430
|
* @param {string} id
|
|
@@ -23425,10 +23438,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23425
23438
|
* @param {string} id
|
|
23426
23439
|
* @param {string} sportId
|
|
23427
23440
|
* @param {string} day
|
|
23441
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23428
23442
|
* @param {*} [options] Override http request option.
|
|
23429
23443
|
* @throws {RequiredError}
|
|
23430
23444
|
*/
|
|
23431
|
-
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23445
|
+
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23432
23446
|
/**
|
|
23433
23447
|
* reference to artillery tests
|
|
23434
23448
|
* @param {string} clubID
|
|
@@ -23544,10 +23558,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23544
23558
|
* @param {string} id
|
|
23545
23559
|
* @param {string} sportId
|
|
23546
23560
|
* @param {string} day
|
|
23561
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23547
23562
|
* @param {*} [options] Override http request option.
|
|
23548
23563
|
* @throws {RequiredError}
|
|
23549
23564
|
*/
|
|
23550
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23565
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23551
23566
|
/**
|
|
23552
23567
|
*
|
|
23553
23568
|
* @param {string} id
|
|
@@ -23561,10 +23576,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23561
23576
|
* @param {string} id
|
|
23562
23577
|
* @param {string} sportId
|
|
23563
23578
|
* @param {string} day
|
|
23579
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23564
23580
|
* @param {*} [options] Override http request option.
|
|
23565
23581
|
* @throws {RequiredError}
|
|
23566
23582
|
*/
|
|
23567
|
-
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23583
|
+
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23568
23584
|
/**
|
|
23569
23585
|
* reference to artillery tests
|
|
23570
23586
|
* @param {string} clubID
|
|
@@ -23810,6 +23826,12 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
23810
23826
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23811
23827
|
*/
|
|
23812
23828
|
readonly day: string;
|
|
23829
|
+
/**
|
|
23830
|
+
*
|
|
23831
|
+
* @type {boolean}
|
|
23832
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23833
|
+
*/
|
|
23834
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23813
23835
|
}
|
|
23814
23836
|
/**
|
|
23815
23837
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
@@ -23854,6 +23876,12 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
23854
23876
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23855
23877
|
*/
|
|
23856
23878
|
readonly day: string;
|
|
23879
|
+
/**
|
|
23880
|
+
*
|
|
23881
|
+
* @type {boolean}
|
|
23882
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23883
|
+
*/
|
|
23884
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23857
23885
|
}
|
|
23858
23886
|
/**
|
|
23859
23887
|
* Request parameters for getAvailableSlotsDaysByClubById operation in ClubsApi.
|
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
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -6588,6 +6588,12 @@ export interface EstimateOpenBookingJoinRequest {
|
|
|
6588
6588
|
* @memberof EstimateOpenBookingJoinRequest
|
|
6589
6589
|
*/
|
|
6590
6590
|
'playerShares'?: Array<PlayerShare>;
|
|
6591
|
+
/**
|
|
6592
|
+
* Nombre total de joueurs qui rejoignent (incluant invités non enregistrés)
|
|
6593
|
+
* @type {number}
|
|
6594
|
+
* @memberof EstimateOpenBookingJoinRequest
|
|
6595
|
+
*/
|
|
6596
|
+
'playersCount'?: number;
|
|
6591
6597
|
/**
|
|
6592
6598
|
*
|
|
6593
6599
|
* @type {boolean}
|
|
@@ -9763,6 +9769,12 @@ export interface JoinOpenBookingRequest {
|
|
|
9763
9769
|
* @memberof JoinOpenBookingRequest
|
|
9764
9770
|
*/
|
|
9765
9771
|
'playerShares'?: Array<PlayerShare>;
|
|
9772
|
+
/**
|
|
9773
|
+
* Nombre total de joueurs qui rejoignent (incluant invités non enregistrés)
|
|
9774
|
+
* @type {number}
|
|
9775
|
+
* @memberof JoinOpenBookingRequest
|
|
9776
|
+
*/
|
|
9777
|
+
'playersCount'?: number;
|
|
9766
9778
|
/**
|
|
9767
9779
|
*
|
|
9768
9780
|
* @type {boolean}
|
|
@@ -23408,10 +23420,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23408
23420
|
* @param {string} id
|
|
23409
23421
|
* @param {string} sportId
|
|
23410
23422
|
* @param {string} day
|
|
23423
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23411
23424
|
* @param {*} [options] Override http request option.
|
|
23412
23425
|
* @throws {RequiredError}
|
|
23413
23426
|
*/
|
|
23414
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23427
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23415
23428
|
/**
|
|
23416
23429
|
*
|
|
23417
23430
|
* @param {string} id
|
|
@@ -23425,10 +23438,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23425
23438
|
* @param {string} id
|
|
23426
23439
|
* @param {string} sportId
|
|
23427
23440
|
* @param {string} day
|
|
23441
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23428
23442
|
* @param {*} [options] Override http request option.
|
|
23429
23443
|
* @throws {RequiredError}
|
|
23430
23444
|
*/
|
|
23431
|
-
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23445
|
+
getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23432
23446
|
/**
|
|
23433
23447
|
* reference to artillery tests
|
|
23434
23448
|
* @param {string} clubID
|
|
@@ -23544,10 +23558,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23544
23558
|
* @param {string} id
|
|
23545
23559
|
* @param {string} sportId
|
|
23546
23560
|
* @param {string} day
|
|
23561
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23547
23562
|
* @param {*} [options] Override http request option.
|
|
23548
23563
|
* @throws {RequiredError}
|
|
23549
23564
|
*/
|
|
23550
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23565
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23551
23566
|
/**
|
|
23552
23567
|
*
|
|
23553
23568
|
* @param {string} id
|
|
@@ -23561,10 +23576,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23561
23576
|
* @param {string} id
|
|
23562
23577
|
* @param {string} sportId
|
|
23563
23578
|
* @param {string} day
|
|
23579
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23564
23580
|
* @param {*} [options] Override http request option.
|
|
23565
23581
|
* @throws {RequiredError}
|
|
23566
23582
|
*/
|
|
23567
|
-
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23583
|
+
getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
|
|
23568
23584
|
/**
|
|
23569
23585
|
* reference to artillery tests
|
|
23570
23586
|
* @param {string} clubID
|
|
@@ -23810,6 +23826,12 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
23810
23826
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23811
23827
|
*/
|
|
23812
23828
|
readonly day: string;
|
|
23829
|
+
/**
|
|
23830
|
+
*
|
|
23831
|
+
* @type {boolean}
|
|
23832
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23833
|
+
*/
|
|
23834
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23813
23835
|
}
|
|
23814
23836
|
/**
|
|
23815
23837
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
@@ -23854,6 +23876,12 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
23854
23876
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23855
23877
|
*/
|
|
23856
23878
|
readonly day: string;
|
|
23879
|
+
/**
|
|
23880
|
+
*
|
|
23881
|
+
* @type {boolean}
|
|
23882
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23883
|
+
*/
|
|
23884
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23857
23885
|
}
|
|
23858
23886
|
/**
|
|
23859
23887
|
* Request parameters for getAvailableSlotsDaysByClubById operation in ClubsApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -6863,10 +6863,11 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6863
6863
|
* @param {string} id
|
|
6864
6864
|
* @param {string} sportId
|
|
6865
6865
|
* @param {string} day
|
|
6866
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
6866
6867
|
* @param {*} [options] Override http request option.
|
|
6867
6868
|
* @throws {RequiredError}
|
|
6868
6869
|
*/
|
|
6869
|
-
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 = {}) {
|
|
6870
|
+
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 = {}) {
|
|
6870
6871
|
// verify required parameter 'id' is not null or undefined
|
|
6871
6872
|
assertParamExists('getAvailableSlotAndMultiSlotsBySportsAndDay', 'id', id);
|
|
6872
6873
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -6886,6 +6887,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6886
6887
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6887
6888
|
const localVarHeaderParameter = {};
|
|
6888
6889
|
const localVarQueryParameter = {};
|
|
6890
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
6891
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
6892
|
+
}
|
|
6889
6893
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6890
6894
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6891
6895
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6931,10 +6935,11 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6931
6935
|
* @param {string} id
|
|
6932
6936
|
* @param {string} sportId
|
|
6933
6937
|
* @param {string} day
|
|
6938
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
6934
6939
|
* @param {*} [options] Override http request option.
|
|
6935
6940
|
* @throws {RequiredError}
|
|
6936
6941
|
*/
|
|
6937
|
-
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 = {}) {
|
|
6942
|
+
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 = {}) {
|
|
6938
6943
|
// verify required parameter 'id' is not null or undefined
|
|
6939
6944
|
assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id);
|
|
6940
6945
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -6954,6 +6959,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
6954
6959
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6955
6960
|
const localVarHeaderParameter = {};
|
|
6956
6961
|
const localVarQueryParameter = {};
|
|
6962
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
6963
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
6964
|
+
}
|
|
6957
6965
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6958
6966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6959
6967
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7375,13 +7383,14 @@ export const ClubsApiFp = function (configuration) {
|
|
|
7375
7383
|
* @param {string} id
|
|
7376
7384
|
* @param {string} sportId
|
|
7377
7385
|
* @param {string} day
|
|
7386
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
7378
7387
|
* @param {*} [options] Override http request option.
|
|
7379
7388
|
* @throws {RequiredError}
|
|
7380
7389
|
*/
|
|
7381
|
-
getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options) {
|
|
7390
|
+
getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options) {
|
|
7382
7391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7383
7392
|
var _a, _b, _c;
|
|
7384
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options);
|
|
7393
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
7385
7394
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7386
7395
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getAvailableSlotAndMultiSlotsBySportsAndDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7387
7396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7408,13 +7417,14 @@ export const ClubsApiFp = function (configuration) {
|
|
|
7408
7417
|
* @param {string} id
|
|
7409
7418
|
* @param {string} sportId
|
|
7410
7419
|
* @param {string} day
|
|
7420
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
7411
7421
|
* @param {*} [options] Override http request option.
|
|
7412
7422
|
* @throws {RequiredError}
|
|
7413
7423
|
*/
|
|
7414
|
-
getAvailableSlotsBySportsAndDay(id, sportId, day, options) {
|
|
7424
|
+
getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options) {
|
|
7415
7425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7416
7426
|
var _a, _b, _c;
|
|
7417
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, options);
|
|
7427
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
|
|
7418
7428
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7419
7429
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7420
7430
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7648,7 +7658,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7648
7658
|
* @throws {RequiredError}
|
|
7649
7659
|
*/
|
|
7650
7660
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters, options) {
|
|
7651
|
-
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
7661
|
+
return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
7652
7662
|
},
|
|
7653
7663
|
/**
|
|
7654
7664
|
*
|
|
@@ -7666,7 +7676,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
7666
7676
|
* @throws {RequiredError}
|
|
7667
7677
|
*/
|
|
7668
7678
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7669
|
-
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
|
|
7679
|
+
return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
|
|
7670
7680
|
},
|
|
7671
7681
|
/**
|
|
7672
7682
|
* reference to artillery tests
|
|
@@ -7818,7 +7828,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
7818
7828
|
* @memberof ClubsApi
|
|
7819
7829
|
*/
|
|
7820
7830
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters, options) {
|
|
7821
|
-
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
7831
|
+
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
7822
7832
|
}
|
|
7823
7833
|
/**
|
|
7824
7834
|
*
|
|
@@ -7838,7 +7848,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
7838
7848
|
* @memberof ClubsApi
|
|
7839
7849
|
*/
|
|
7840
7850
|
getAvailableSlotsBySportsAndDay(requestParameters, options) {
|
|
7841
|
-
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
|
|
7851
|
+
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
7842
7852
|
}
|
|
7843
7853
|
/**
|
|
7844
7854
|
* reference to artillery tests
|
package/docs/ClubsApi.md
CHANGED
|
@@ -131,11 +131,13 @@ const apiInstance = new ClubsApi(configuration);
|
|
|
131
131
|
let id: string; // (default to undefined)
|
|
132
132
|
let sportId: string; // (default to undefined)
|
|
133
133
|
let day: string; // (default to undefined)
|
|
134
|
+
let excludePastCancellationSlots: boolean; // (optional) (default to undefined)
|
|
134
135
|
|
|
135
136
|
const { status, data } = await apiInstance.getAvailableSlotAndMultiSlotsBySportsAndDay(
|
|
136
137
|
id,
|
|
137
138
|
sportId,
|
|
138
|
-
day
|
|
139
|
+
day,
|
|
140
|
+
excludePastCancellationSlots
|
|
139
141
|
);
|
|
140
142
|
```
|
|
141
143
|
|
|
@@ -146,6 +148,7 @@ const { status, data } = await apiInstance.getAvailableSlotAndMultiSlotsBySports
|
|
|
146
148
|
| **id** | [**string**] | | defaults to undefined|
|
|
147
149
|
| **sportId** | [**string**] | | defaults to undefined|
|
|
148
150
|
| **day** | [**string**] | | defaults to undefined|
|
|
151
|
+
| **excludePastCancellationSlots** | [**boolean**] | | (optional) defaults to undefined|
|
|
149
152
|
|
|
150
153
|
|
|
151
154
|
### Return type
|
|
@@ -240,11 +243,13 @@ const apiInstance = new ClubsApi(configuration);
|
|
|
240
243
|
let id: string; // (default to undefined)
|
|
241
244
|
let sportId: string; // (default to undefined)
|
|
242
245
|
let day: string; // (default to undefined)
|
|
246
|
+
let excludePastCancellationSlots: boolean; // (optional) (default to undefined)
|
|
243
247
|
|
|
244
248
|
const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
|
|
245
249
|
id,
|
|
246
250
|
sportId,
|
|
247
|
-
day
|
|
251
|
+
day,
|
|
252
|
+
excludePastCancellationSlots
|
|
248
253
|
);
|
|
249
254
|
```
|
|
250
255
|
|
|
@@ -255,6 +260,7 @@ const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
|
|
|
255
260
|
| **id** | [**string**] | | defaults to undefined|
|
|
256
261
|
| **sportId** | [**string**] | | defaults to undefined|
|
|
257
262
|
| **day** | [**string**] | | defaults to undefined|
|
|
263
|
+
| **excludePastCancellationSlots** | [**boolean**] | | (optional) defaults to undefined|
|
|
258
264
|
|
|
259
265
|
|
|
260
266
|
### Return type
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | Liste des parts de paiement par joueur (source de verite pour l\'estimation join open booking) | [optional] [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total de joueurs qui rejoignent (incluant invités non enregistrés) | [optional] [default to undefined]
|
|
9
10
|
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
10
11
|
**creditToUseInCents** | **number** | Crédit à utiliser en centimes | [optional] [default to undefined]
|
|
11
12
|
|
|
@@ -16,6 +17,7 @@ import { EstimateOpenBookingJoinRequest } from '@tennac-booking/sdk';
|
|
|
16
17
|
|
|
17
18
|
const instance: EstimateOpenBookingJoinRequest = {
|
|
18
19
|
playerShares,
|
|
20
|
+
playersCount,
|
|
19
21
|
isCreatorPayingAll,
|
|
20
22
|
creditToUseInCents,
|
|
21
23
|
};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | Liste des parts de paiement par joueur (source de verite pour le join open booking) | [optional] [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total de joueurs qui rejoignent (incluant invités non enregistrés) | [optional] [default to undefined]
|
|
9
10
|
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
10
11
|
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
11
12
|
**useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined]
|
|
@@ -18,6 +19,7 @@ import { JoinOpenBookingRequest } from '@tennac-booking/sdk';
|
|
|
18
19
|
|
|
19
20
|
const instance: JoinOpenBookingRequest = {
|
|
20
21
|
playerShares,
|
|
22
|
+
playersCount,
|
|
21
23
|
isCreatorPayingAll,
|
|
22
24
|
paymentMethod,
|
|
23
25
|
useDefaultPaymentMethod,
|