@tennac-booking/sdk 1.0.300 → 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 +36 -10
- package/dist/api.d.ts +20 -4
- package/dist/api.js +20 -10
- package/dist/esm/api.d.ts +20 -4
- package/dist/esm/api.js +20 -10
- package/docs/ClubsApi.md +8 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -27668,10 +27668,11 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27668
27668
|
* @param {string} id
|
|
27669
27669
|
* @param {string} sportId
|
|
27670
27670
|
* @param {string} day
|
|
27671
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
27671
27672
|
* @param {*} [options] Override http request option.
|
|
27672
27673
|
* @throws {RequiredError}
|
|
27673
27674
|
*/
|
|
27674
|
-
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> => {
|
|
27675
27676
|
// verify required parameter 'id' is not null or undefined
|
|
27676
27677
|
assertParamExists('getAvailableSlotAndMultiSlotsBySportsAndDay', 'id', id)
|
|
27677
27678
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -27693,6 +27694,10 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27693
27694
|
const localVarHeaderParameter = {} as any;
|
|
27694
27695
|
const localVarQueryParameter = {} as any;
|
|
27695
27696
|
|
|
27697
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
27698
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
27699
|
+
}
|
|
27700
|
+
|
|
27696
27701
|
|
|
27697
27702
|
|
|
27698
27703
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27746,10 +27751,11 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27746
27751
|
* @param {string} id
|
|
27747
27752
|
* @param {string} sportId
|
|
27748
27753
|
* @param {string} day
|
|
27754
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
27749
27755
|
* @param {*} [options] Override http request option.
|
|
27750
27756
|
* @throws {RequiredError}
|
|
27751
27757
|
*/
|
|
27752
|
-
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> => {
|
|
27753
27759
|
// verify required parameter 'id' is not null or undefined
|
|
27754
27760
|
assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id)
|
|
27755
27761
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -27771,6 +27777,10 @@ export const ClubsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
27771
27777
|
const localVarHeaderParameter = {} as any;
|
|
27772
27778
|
const localVarQueryParameter = {} as any;
|
|
27773
27779
|
|
|
27780
|
+
if (excludePastCancellationSlots !== undefined) {
|
|
27781
|
+
localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
|
|
27782
|
+
}
|
|
27783
|
+
|
|
27774
27784
|
|
|
27775
27785
|
|
|
27776
27786
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -28259,11 +28269,12 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
28259
28269
|
* @param {string} id
|
|
28260
28270
|
* @param {string} sportId
|
|
28261
28271
|
* @param {string} day
|
|
28272
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
28262
28273
|
* @param {*} [options] Override http request option.
|
|
28263
28274
|
* @throws {RequiredError}
|
|
28264
28275
|
*/
|
|
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);
|
|
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);
|
|
28267
28278
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28268
28279
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotAndMultiSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
28269
28280
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -28286,11 +28297,12 @@ export const ClubsApiFp = function(configuration?: Configuration) {
|
|
|
28286
28297
|
* @param {string} id
|
|
28287
28298
|
* @param {string} sportId
|
|
28288
28299
|
* @param {string} day
|
|
28300
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
28289
28301
|
* @param {*} [options] Override http request option.
|
|
28290
28302
|
* @throws {RequiredError}
|
|
28291
28303
|
*/
|
|
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);
|
|
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);
|
|
28294
28306
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28295
28307
|
const localVarOperationServerBasePath = operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']?.[localVarOperationServerIndex]?.url;
|
|
28296
28308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -28485,7 +28497,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
28485
28497
|
* @throws {RequiredError}
|
|
28486
28498
|
*/
|
|
28487
28499
|
getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySportsAndDay200Response> {
|
|
28488
|
-
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));
|
|
28489
28501
|
},
|
|
28490
28502
|
/**
|
|
28491
28503
|
*
|
|
@@ -28503,7 +28515,7 @@ export const ClubsApiFactory = function (configuration?: Configuration, basePath
|
|
|
28503
28515
|
* @throws {RequiredError}
|
|
28504
28516
|
*/
|
|
28505
28517
|
getAvailableSlotsBySportsAndDay(requestParameters: ClubsApiGetAvailableSlotsBySportsAndDayRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAvailableSlotsBySportsAndDay200Response> {
|
|
28506
|
-
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));
|
|
28507
28519
|
},
|
|
28508
28520
|
/**
|
|
28509
28521
|
* reference to artillery tests
|
|
@@ -28649,6 +28661,13 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
28649
28661
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
28650
28662
|
*/
|
|
28651
28663
|
readonly day: string
|
|
28664
|
+
|
|
28665
|
+
/**
|
|
28666
|
+
*
|
|
28667
|
+
* @type {boolean}
|
|
28668
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
28669
|
+
*/
|
|
28670
|
+
readonly excludePastCancellationSlots?: boolean
|
|
28652
28671
|
}
|
|
28653
28672
|
|
|
28654
28673
|
/**
|
|
@@ -28698,6 +28717,13 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
28698
28717
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
28699
28718
|
*/
|
|
28700
28719
|
readonly day: string
|
|
28720
|
+
|
|
28721
|
+
/**
|
|
28722
|
+
*
|
|
28723
|
+
* @type {boolean}
|
|
28724
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
28725
|
+
*/
|
|
28726
|
+
readonly excludePastCancellationSlots?: boolean
|
|
28701
28727
|
}
|
|
28702
28728
|
|
|
28703
28729
|
/**
|
|
@@ -28910,7 +28936,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
28910
28936
|
* @memberof ClubsApi
|
|
28911
28937
|
*/
|
|
28912
28938
|
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));
|
|
28939
|
+
return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
28914
28940
|
}
|
|
28915
28941
|
|
|
28916
28942
|
/**
|
|
@@ -28932,7 +28958,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
28932
28958
|
* @memberof ClubsApi
|
|
28933
28959
|
*/
|
|
28934
28960
|
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));
|
|
28961
|
+
return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
|
|
28936
28962
|
}
|
|
28937
28963
|
|
|
28938
28964
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -23420,10 +23420,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23420
23420
|
* @param {string} id
|
|
23421
23421
|
* @param {string} sportId
|
|
23422
23422
|
* @param {string} day
|
|
23423
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23423
23424
|
* @param {*} [options] Override http request option.
|
|
23424
23425
|
* @throws {RequiredError}
|
|
23425
23426
|
*/
|
|
23426
|
-
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>;
|
|
23427
23428
|
/**
|
|
23428
23429
|
*
|
|
23429
23430
|
* @param {string} id
|
|
@@ -23437,10 +23438,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23437
23438
|
* @param {string} id
|
|
23438
23439
|
* @param {string} sportId
|
|
23439
23440
|
* @param {string} day
|
|
23441
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23440
23442
|
* @param {*} [options] Override http request option.
|
|
23441
23443
|
* @throws {RequiredError}
|
|
23442
23444
|
*/
|
|
23443
|
-
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>;
|
|
23444
23446
|
/**
|
|
23445
23447
|
* reference to artillery tests
|
|
23446
23448
|
* @param {string} clubID
|
|
@@ -23556,10 +23558,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23556
23558
|
* @param {string} id
|
|
23557
23559
|
* @param {string} sportId
|
|
23558
23560
|
* @param {string} day
|
|
23561
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23559
23562
|
* @param {*} [options] Override http request option.
|
|
23560
23563
|
* @throws {RequiredError}
|
|
23561
23564
|
*/
|
|
23562
|
-
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>>;
|
|
23563
23566
|
/**
|
|
23564
23567
|
*
|
|
23565
23568
|
* @param {string} id
|
|
@@ -23573,10 +23576,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23573
23576
|
* @param {string} id
|
|
23574
23577
|
* @param {string} sportId
|
|
23575
23578
|
* @param {string} day
|
|
23579
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23576
23580
|
* @param {*} [options] Override http request option.
|
|
23577
23581
|
* @throws {RequiredError}
|
|
23578
23582
|
*/
|
|
23579
|
-
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>>;
|
|
23580
23584
|
/**
|
|
23581
23585
|
* reference to artillery tests
|
|
23582
23586
|
* @param {string} clubID
|
|
@@ -23822,6 +23826,12 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
23822
23826
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23823
23827
|
*/
|
|
23824
23828
|
readonly day: string;
|
|
23829
|
+
/**
|
|
23830
|
+
*
|
|
23831
|
+
* @type {boolean}
|
|
23832
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23833
|
+
*/
|
|
23834
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23825
23835
|
}
|
|
23826
23836
|
/**
|
|
23827
23837
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
@@ -23866,6 +23876,12 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
23866
23876
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23867
23877
|
*/
|
|
23868
23878
|
readonly day: string;
|
|
23879
|
+
/**
|
|
23880
|
+
*
|
|
23881
|
+
* @type {boolean}
|
|
23882
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23883
|
+
*/
|
|
23884
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23869
23885
|
}
|
|
23870
23886
|
/**
|
|
23871
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
|
@@ -23420,10 +23420,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23420
23420
|
* @param {string} id
|
|
23421
23421
|
* @param {string} sportId
|
|
23422
23422
|
* @param {string} day
|
|
23423
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23423
23424
|
* @param {*} [options] Override http request option.
|
|
23424
23425
|
* @throws {RequiredError}
|
|
23425
23426
|
*/
|
|
23426
|
-
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>;
|
|
23427
23428
|
/**
|
|
23428
23429
|
*
|
|
23429
23430
|
* @param {string} id
|
|
@@ -23437,10 +23438,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23437
23438
|
* @param {string} id
|
|
23438
23439
|
* @param {string} sportId
|
|
23439
23440
|
* @param {string} day
|
|
23441
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23440
23442
|
* @param {*} [options] Override http request option.
|
|
23441
23443
|
* @throws {RequiredError}
|
|
23442
23444
|
*/
|
|
23443
|
-
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>;
|
|
23444
23446
|
/**
|
|
23445
23447
|
* reference to artillery tests
|
|
23446
23448
|
* @param {string} clubID
|
|
@@ -23556,10 +23558,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23556
23558
|
* @param {string} id
|
|
23557
23559
|
* @param {string} sportId
|
|
23558
23560
|
* @param {string} day
|
|
23561
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23559
23562
|
* @param {*} [options] Override http request option.
|
|
23560
23563
|
* @throws {RequiredError}
|
|
23561
23564
|
*/
|
|
23562
|
-
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>>;
|
|
23563
23566
|
/**
|
|
23564
23567
|
*
|
|
23565
23568
|
* @param {string} id
|
|
@@ -23573,10 +23576,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
23573
23576
|
* @param {string} id
|
|
23574
23577
|
* @param {string} sportId
|
|
23575
23578
|
* @param {string} day
|
|
23579
|
+
* @param {boolean} [excludePastCancellationSlots]
|
|
23576
23580
|
* @param {*} [options] Override http request option.
|
|
23577
23581
|
* @throws {RequiredError}
|
|
23578
23582
|
*/
|
|
23579
|
-
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>>;
|
|
23580
23584
|
/**
|
|
23581
23585
|
* reference to artillery tests
|
|
23582
23586
|
* @param {string} clubID
|
|
@@ -23822,6 +23826,12 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
|
|
|
23822
23826
|
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23823
23827
|
*/
|
|
23824
23828
|
readonly day: string;
|
|
23829
|
+
/**
|
|
23830
|
+
*
|
|
23831
|
+
* @type {boolean}
|
|
23832
|
+
* @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
|
|
23833
|
+
*/
|
|
23834
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23825
23835
|
}
|
|
23826
23836
|
/**
|
|
23827
23837
|
* Request parameters for getAvailableSlotsBySports operation in ClubsApi.
|
|
@@ -23866,6 +23876,12 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
|
|
|
23866
23876
|
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23867
23877
|
*/
|
|
23868
23878
|
readonly day: string;
|
|
23879
|
+
/**
|
|
23880
|
+
*
|
|
23881
|
+
* @type {boolean}
|
|
23882
|
+
* @memberof ClubsApiGetAvailableSlotsBySportsAndDay
|
|
23883
|
+
*/
|
|
23884
|
+
readonly excludePastCancellationSlots?: boolean;
|
|
23869
23885
|
}
|
|
23870
23886
|
/**
|
|
23871
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
|