@tennac-booking/sdk 1.0.87 → 1.0.88
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/README.md +2 -1
- package/api.ts +110 -48
- package/dist/api.d.ts +57 -32
- package/dist/api.js +94 -36
- package/dist/esm/api.d.ts +57 -32
- package/dist/esm/api.js +94 -36
- package/docs/ClubSettingsManagerApi.md +19 -24
- package/docs/ClubSettingsStaffApi.md +44 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,11 +85,12 @@ Class | Method | HTTP request | Description
|
|
|
85
85
|
*ClubRolesStaffApi* | [**getClubRoleById**](docs/ClubRolesStaffApi.md#getclubrolebyid) | **GET** /api/club-roles/{id} |
|
|
86
86
|
*ClubRolesStaffApi* | [**getUserRolesInClubs**](docs/ClubRolesStaffApi.md#getuserrolesinclubs) | **GET** /api/club-roles/me/roles |
|
|
87
87
|
*ClubSettingsManagerApi* | [**updateClubGeneralSettings**](docs/ClubSettingsManagerApi.md#updateclubgeneralsettings) | **PUT** /api/club-settings/settings/general |
|
|
88
|
-
*ClubSettingsManagerApi* | [**updateClubSettings**](docs/ClubSettingsManagerApi.md#updateclubsettings) | **PUT** /api/club-settings |
|
|
89
88
|
*ClubSettingsManagerApi* | [**updateHoursSettings**](docs/ClubSettingsManagerApi.md#updatehourssettings) | **PUT** /api/club-settings/hours |
|
|
89
|
+
*ClubSettingsManagerApi* | [**updatePresentationSettings**](docs/ClubSettingsManagerApi.md#updatepresentationsettings) | **PUT** /api/club-settings/presentation |
|
|
90
90
|
*ClubSettingsManagerApi* | [**updateReservationSettings**](docs/ClubSettingsManagerApi.md#updatereservationsettings) | **PUT** /api/club-settings/reservation |
|
|
91
91
|
*ClubSettingsStaffApi* | [**getClubGeneralSettings**](docs/ClubSettingsStaffApi.md#getclubgeneralsettings) | **GET** /api/club-settings/settings/general |
|
|
92
92
|
*ClubSettingsStaffApi* | [**getHoursSettings**](docs/ClubSettingsStaffApi.md#gethourssettings) | **GET** /api/club-settings/hours |
|
|
93
|
+
*ClubSettingsStaffApi* | [**getPresentationSettings**](docs/ClubSettingsStaffApi.md#getpresentationsettings) | **GET** /api/club-settings/presentation |
|
|
93
94
|
*ClubSettingsStaffApi* | [**getReservationSettings**](docs/ClubSettingsStaffApi.md#getreservationsettings) | **GET** /api/club-settings/reservation |
|
|
94
95
|
*ClubsApi* | [**getActiveClubs**](docs/ClubsApi.md#getactiveclubs) | **GET** /api/clubs/active |
|
|
95
96
|
*ClubsApi* | [**getAllClubs**](docs/ClubsApi.md#getallclubs) | **GET** /api/clubs |
|
package/api.ts
CHANGED
|
@@ -11648,15 +11648,15 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
11648
11648
|
};
|
|
11649
11649
|
},
|
|
11650
11650
|
/**
|
|
11651
|
-
*
|
|
11652
|
-
* @param {
|
|
11651
|
+
*
|
|
11652
|
+
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
11653
11653
|
* @param {*} [options] Override http request option.
|
|
11654
11654
|
* @throws {RequiredError}
|
|
11655
11655
|
*/
|
|
11656
|
-
|
|
11657
|
-
// verify required parameter '
|
|
11658
|
-
assertParamExists('
|
|
11659
|
-
const localVarPath = `/api/club-settings`;
|
|
11656
|
+
updateHoursSettings: async (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11657
|
+
// verify required parameter 'updateClubHoursSettingsRequest' is not null or undefined
|
|
11658
|
+
assertParamExists('updateHoursSettings', 'updateClubHoursSettingsRequest', updateClubHoursSettingsRequest)
|
|
11659
|
+
const localVarPath = `/api/club-settings/hours`;
|
|
11660
11660
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11661
11661
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11662
11662
|
let baseOptions;
|
|
@@ -11679,7 +11679,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
11679
11679
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11680
11680
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11681
11681
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11682
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11682
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClubHoursSettingsRequest, localVarRequestOptions, configuration)
|
|
11683
11683
|
|
|
11684
11684
|
return {
|
|
11685
11685
|
url: toPathString(localVarUrlObj),
|
|
@@ -11688,14 +11688,14 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
11688
11688
|
},
|
|
11689
11689
|
/**
|
|
11690
11690
|
*
|
|
11691
|
-
* @param {
|
|
11691
|
+
* @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
|
|
11692
11692
|
* @param {*} [options] Override http request option.
|
|
11693
11693
|
* @throws {RequiredError}
|
|
11694
11694
|
*/
|
|
11695
|
-
|
|
11696
|
-
// verify required parameter '
|
|
11697
|
-
assertParamExists('
|
|
11698
|
-
const localVarPath = `/api/club-settings/
|
|
11695
|
+
updatePresentationSettings: async (clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11696
|
+
// verify required parameter 'clubPresentationSettingsResponse' is not null or undefined
|
|
11697
|
+
assertParamExists('updatePresentationSettings', 'clubPresentationSettingsResponse', clubPresentationSettingsResponse)
|
|
11698
|
+
const localVarPath = `/api/club-settings/presentation`;
|
|
11699
11699
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11700
11700
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11701
11701
|
let baseOptions;
|
|
@@ -11718,7 +11718,7 @@ export const ClubSettingsManagerApiAxiosParamCreator = function (configuration?:
|
|
|
11718
11718
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11719
11719
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11720
11720
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11721
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11721
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clubPresentationSettingsResponse, localVarRequestOptions, configuration)
|
|
11722
11722
|
|
|
11723
11723
|
return {
|
|
11724
11724
|
url: toPathString(localVarUrlObj),
|
|
@@ -11787,27 +11787,27 @@ export const ClubSettingsManagerApiFp = function(configuration?: Configuration)
|
|
|
11787
11787
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11788
11788
|
},
|
|
11789
11789
|
/**
|
|
11790
|
-
*
|
|
11791
|
-
* @param {
|
|
11790
|
+
*
|
|
11791
|
+
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
11792
11792
|
* @param {*} [options] Override http request option.
|
|
11793
11793
|
* @throws {RequiredError}
|
|
11794
11794
|
*/
|
|
11795
|
-
async
|
|
11796
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11795
|
+
async updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>> {
|
|
11796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateHoursSettings(updateClubHoursSettingsRequest, options);
|
|
11797
11797
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11798
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.
|
|
11798
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updateHoursSettings']?.[localVarOperationServerIndex]?.url;
|
|
11799
11799
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11800
11800
|
},
|
|
11801
11801
|
/**
|
|
11802
11802
|
*
|
|
11803
|
-
* @param {
|
|
11803
|
+
* @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
|
|
11804
11804
|
* @param {*} [options] Override http request option.
|
|
11805
11805
|
* @throws {RequiredError}
|
|
11806
11806
|
*/
|
|
11807
|
-
async
|
|
11808
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11807
|
+
async updatePresentationSettings(clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
|
|
11808
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePresentationSettings(clubPresentationSettingsResponse, options);
|
|
11809
11809
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11810
|
-
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.
|
|
11810
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsManagerApi.updatePresentationSettings']?.[localVarOperationServerIndex]?.url;
|
|
11811
11811
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11812
11812
|
},
|
|
11813
11813
|
/**
|
|
@@ -11842,22 +11842,22 @@ export const ClubSettingsManagerApiFactory = function (configuration?: Configura
|
|
|
11842
11842
|
return localVarFp.updateClubGeneralSettings(requestParameters.updateClubGeneralSettingsRequest, options).then((request) => request(axios, basePath));
|
|
11843
11843
|
},
|
|
11844
11844
|
/**
|
|
11845
|
-
*
|
|
11846
|
-
* @param {
|
|
11845
|
+
*
|
|
11846
|
+
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
11847
11847
|
* @param {*} [options] Override http request option.
|
|
11848
11848
|
* @throws {RequiredError}
|
|
11849
11849
|
*/
|
|
11850
|
-
|
|
11851
|
-
return localVarFp.
|
|
11850
|
+
updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
|
|
11851
|
+
return localVarFp.updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(axios, basePath));
|
|
11852
11852
|
},
|
|
11853
11853
|
/**
|
|
11854
11854
|
*
|
|
11855
|
-
* @param {
|
|
11855
|
+
* @param {ClubSettingsManagerApiUpdatePresentationSettingsRequest} requestParameters Request parameters.
|
|
11856
11856
|
* @param {*} [options] Override http request option.
|
|
11857
11857
|
* @throws {RequiredError}
|
|
11858
11858
|
*/
|
|
11859
|
-
|
|
11860
|
-
return localVarFp.
|
|
11859
|
+
updatePresentationSettings(requestParameters: ClubSettingsManagerApiUpdatePresentationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
|
|
11860
|
+
return localVarFp.updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, options).then((request) => request(axios, basePath));
|
|
11861
11861
|
},
|
|
11862
11862
|
/**
|
|
11863
11863
|
*
|
|
@@ -11886,31 +11886,31 @@ export interface ClubSettingsManagerApiUpdateClubGeneralSettingsRequest {
|
|
|
11886
11886
|
}
|
|
11887
11887
|
|
|
11888
11888
|
/**
|
|
11889
|
-
* Request parameters for
|
|
11889
|
+
* Request parameters for updateHoursSettings operation in ClubSettingsManagerApi.
|
|
11890
11890
|
* @export
|
|
11891
|
-
* @interface
|
|
11891
|
+
* @interface ClubSettingsManagerApiUpdateHoursSettingsRequest
|
|
11892
11892
|
*/
|
|
11893
|
-
export interface
|
|
11893
|
+
export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
|
|
11894
11894
|
/**
|
|
11895
11895
|
*
|
|
11896
|
-
* @type {
|
|
11897
|
-
* @memberof
|
|
11896
|
+
* @type {UpdateClubHoursSettingsRequest}
|
|
11897
|
+
* @memberof ClubSettingsManagerApiUpdateHoursSettings
|
|
11898
11898
|
*/
|
|
11899
|
-
readonly
|
|
11899
|
+
readonly updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest
|
|
11900
11900
|
}
|
|
11901
11901
|
|
|
11902
11902
|
/**
|
|
11903
|
-
* Request parameters for
|
|
11903
|
+
* Request parameters for updatePresentationSettings operation in ClubSettingsManagerApi.
|
|
11904
11904
|
* @export
|
|
11905
|
-
* @interface
|
|
11905
|
+
* @interface ClubSettingsManagerApiUpdatePresentationSettingsRequest
|
|
11906
11906
|
*/
|
|
11907
|
-
export interface
|
|
11907
|
+
export interface ClubSettingsManagerApiUpdatePresentationSettingsRequest {
|
|
11908
11908
|
/**
|
|
11909
11909
|
*
|
|
11910
|
-
* @type {
|
|
11911
|
-
* @memberof
|
|
11910
|
+
* @type {ClubPresentationSettingsResponse}
|
|
11911
|
+
* @memberof ClubSettingsManagerApiUpdatePresentationSettings
|
|
11912
11912
|
*/
|
|
11913
|
-
readonly
|
|
11913
|
+
readonly clubPresentationSettingsResponse: ClubPresentationSettingsResponse
|
|
11914
11914
|
}
|
|
11915
11915
|
|
|
11916
11916
|
/**
|
|
@@ -11946,25 +11946,25 @@ export class ClubSettingsManagerApi extends BaseAPI {
|
|
|
11946
11946
|
}
|
|
11947
11947
|
|
|
11948
11948
|
/**
|
|
11949
|
-
*
|
|
11950
|
-
* @param {
|
|
11949
|
+
*
|
|
11950
|
+
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
11951
11951
|
* @param {*} [options] Override http request option.
|
|
11952
11952
|
* @throws {RequiredError}
|
|
11953
11953
|
* @memberof ClubSettingsManagerApi
|
|
11954
11954
|
*/
|
|
11955
|
-
public
|
|
11956
|
-
return ClubSettingsManagerApiFp(this.configuration).
|
|
11955
|
+
public updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
11956
|
+
return ClubSettingsManagerApiFp(this.configuration).updateHoursSettings(requestParameters.updateClubHoursSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11957
11957
|
}
|
|
11958
11958
|
|
|
11959
11959
|
/**
|
|
11960
11960
|
*
|
|
11961
|
-
* @param {
|
|
11961
|
+
* @param {ClubSettingsManagerApiUpdatePresentationSettingsRequest} requestParameters Request parameters.
|
|
11962
11962
|
* @param {*} [options] Override http request option.
|
|
11963
11963
|
* @throws {RequiredError}
|
|
11964
11964
|
* @memberof ClubSettingsManagerApi
|
|
11965
11965
|
*/
|
|
11966
|
-
public
|
|
11967
|
-
return ClubSettingsManagerApiFp(this.configuration).
|
|
11966
|
+
public updatePresentationSettings(requestParameters: ClubSettingsManagerApiUpdatePresentationSettingsRequest, options?: RawAxiosRequestConfig) {
|
|
11967
|
+
return ClubSettingsManagerApiFp(this.configuration).updatePresentationSettings(requestParameters.clubPresentationSettingsResponse, options).then((request) => request(this.axios, this.basePath));
|
|
11968
11968
|
}
|
|
11969
11969
|
|
|
11970
11970
|
/**
|
|
@@ -12044,6 +12044,39 @@ export const ClubSettingsStaffApiAxiosParamCreator = function (configuration?: C
|
|
|
12044
12044
|
|
|
12045
12045
|
|
|
12046
12046
|
|
|
12047
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12048
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12049
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12050
|
+
|
|
12051
|
+
return {
|
|
12052
|
+
url: toPathString(localVarUrlObj),
|
|
12053
|
+
options: localVarRequestOptions,
|
|
12054
|
+
};
|
|
12055
|
+
},
|
|
12056
|
+
/**
|
|
12057
|
+
*
|
|
12058
|
+
* @param {*} [options] Override http request option.
|
|
12059
|
+
* @throws {RequiredError}
|
|
12060
|
+
*/
|
|
12061
|
+
getPresentationSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12062
|
+
const localVarPath = `/api/club-settings/presentation`;
|
|
12063
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12064
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12065
|
+
let baseOptions;
|
|
12066
|
+
if (configuration) {
|
|
12067
|
+
baseOptions = configuration.baseOptions;
|
|
12068
|
+
}
|
|
12069
|
+
|
|
12070
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12071
|
+
const localVarHeaderParameter = {} as any;
|
|
12072
|
+
const localVarQueryParameter = {} as any;
|
|
12073
|
+
|
|
12074
|
+
// authentication bearerAuth required
|
|
12075
|
+
// http bearer authentication required
|
|
12076
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12077
|
+
|
|
12078
|
+
|
|
12079
|
+
|
|
12047
12080
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12048
12081
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12049
12082
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12118,6 +12151,17 @@ export const ClubSettingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
12118
12151
|
const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getHoursSettings']?.[localVarOperationServerIndex]?.url;
|
|
12119
12152
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12120
12153
|
},
|
|
12154
|
+
/**
|
|
12155
|
+
*
|
|
12156
|
+
* @param {*} [options] Override http request option.
|
|
12157
|
+
* @throws {RequiredError}
|
|
12158
|
+
*/
|
|
12159
|
+
async getPresentationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>> {
|
|
12160
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPresentationSettings(options);
|
|
12161
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12162
|
+
const localVarOperationServerBasePath = operationServerMap['ClubSettingsStaffApi.getPresentationSettings']?.[localVarOperationServerIndex]?.url;
|
|
12163
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12164
|
+
},
|
|
12121
12165
|
/**
|
|
12122
12166
|
*
|
|
12123
12167
|
* @param {*} [options] Override http request option.
|
|
@@ -12155,6 +12199,14 @@ export const ClubSettingsStaffApiFactory = function (configuration?: Configurati
|
|
|
12155
12199
|
getHoursSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse> {
|
|
12156
12200
|
return localVarFp.getHoursSettings(options).then((request) => request(axios, basePath));
|
|
12157
12201
|
},
|
|
12202
|
+
/**
|
|
12203
|
+
*
|
|
12204
|
+
* @param {*} [options] Override http request option.
|
|
12205
|
+
* @throws {RequiredError}
|
|
12206
|
+
*/
|
|
12207
|
+
getPresentationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse> {
|
|
12208
|
+
return localVarFp.getPresentationSettings(options).then((request) => request(axios, basePath));
|
|
12209
|
+
},
|
|
12158
12210
|
/**
|
|
12159
12211
|
*
|
|
12160
12212
|
* @param {*} [options] Override http request option.
|
|
@@ -12193,6 +12245,16 @@ export class ClubSettingsStaffApi extends BaseAPI {
|
|
|
12193
12245
|
return ClubSettingsStaffApiFp(this.configuration).getHoursSettings(options).then((request) => request(this.axios, this.basePath));
|
|
12194
12246
|
}
|
|
12195
12247
|
|
|
12248
|
+
/**
|
|
12249
|
+
*
|
|
12250
|
+
* @param {*} [options] Override http request option.
|
|
12251
|
+
* @throws {RequiredError}
|
|
12252
|
+
* @memberof ClubSettingsStaffApi
|
|
12253
|
+
*/
|
|
12254
|
+
public getPresentationSettings(options?: RawAxiosRequestConfig) {
|
|
12255
|
+
return ClubSettingsStaffApiFp(this.configuration).getPresentationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
12256
|
+
}
|
|
12257
|
+
|
|
12196
12258
|
/**
|
|
12197
12259
|
*
|
|
12198
12260
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -9954,19 +9954,19 @@ export declare const ClubSettingsManagerApiAxiosParamCreator: (configuration?: C
|
|
|
9954
9954
|
*/
|
|
9955
9955
|
updateClubGeneralSettings: (updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9956
9956
|
/**
|
|
9957
|
-
*
|
|
9958
|
-
* @param {
|
|
9957
|
+
*
|
|
9958
|
+
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
9959
9959
|
* @param {*} [options] Override http request option.
|
|
9960
9960
|
* @throws {RequiredError}
|
|
9961
9961
|
*/
|
|
9962
|
-
|
|
9962
|
+
updateHoursSettings: (updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9963
9963
|
/**
|
|
9964
9964
|
*
|
|
9965
|
-
* @param {
|
|
9965
|
+
* @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
|
|
9966
9966
|
* @param {*} [options] Override http request option.
|
|
9967
9967
|
* @throws {RequiredError}
|
|
9968
9968
|
*/
|
|
9969
|
-
|
|
9969
|
+
updatePresentationSettings: (clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9970
9970
|
/**
|
|
9971
9971
|
*
|
|
9972
9972
|
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
@@ -9988,19 +9988,19 @@ export declare const ClubSettingsManagerApiFp: (configuration?: Configuration) =
|
|
|
9988
9988
|
*/
|
|
9989
9989
|
updateClubGeneralSettings(updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubGeneralSettingsResponse>>;
|
|
9990
9990
|
/**
|
|
9991
|
-
*
|
|
9992
|
-
* @param {
|
|
9991
|
+
*
|
|
9992
|
+
* @param {UpdateClubHoursSettingsRequest} updateClubHoursSettingsRequest
|
|
9993
9993
|
* @param {*} [options] Override http request option.
|
|
9994
9994
|
* @throws {RequiredError}
|
|
9995
9995
|
*/
|
|
9996
|
-
|
|
9996
|
+
updateHoursSettings(updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>>;
|
|
9997
9997
|
/**
|
|
9998
9998
|
*
|
|
9999
|
-
* @param {
|
|
9999
|
+
* @param {ClubPresentationSettingsResponse} clubPresentationSettingsResponse
|
|
10000
10000
|
* @param {*} [options] Override http request option.
|
|
10001
10001
|
* @throws {RequiredError}
|
|
10002
10002
|
*/
|
|
10003
|
-
|
|
10003
|
+
updatePresentationSettings(clubPresentationSettingsResponse: ClubPresentationSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>>;
|
|
10004
10004
|
/**
|
|
10005
10005
|
*
|
|
10006
10006
|
* @param {UpdateClubReservationSettingsRequest} updateClubReservationSettingsRequest
|
|
@@ -10022,19 +10022,19 @@ export declare const ClubSettingsManagerApiFactory: (configuration?: Configurati
|
|
|
10022
10022
|
*/
|
|
10023
10023
|
updateClubGeneralSettings(requestParameters: ClubSettingsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubGeneralSettingsResponse>;
|
|
10024
10024
|
/**
|
|
10025
|
-
*
|
|
10026
|
-
* @param {
|
|
10025
|
+
*
|
|
10026
|
+
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
10027
10027
|
* @param {*} [options] Override http request option.
|
|
10028
10028
|
* @throws {RequiredError}
|
|
10029
10029
|
*/
|
|
10030
|
-
|
|
10030
|
+
updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse>;
|
|
10031
10031
|
/**
|
|
10032
10032
|
*
|
|
10033
|
-
* @param {
|
|
10033
|
+
* @param {ClubSettingsManagerApiUpdatePresentationSettingsRequest} requestParameters Request parameters.
|
|
10034
10034
|
* @param {*} [options] Override http request option.
|
|
10035
10035
|
* @throws {RequiredError}
|
|
10036
10036
|
*/
|
|
10037
|
-
|
|
10037
|
+
updatePresentationSettings(requestParameters: ClubSettingsManagerApiUpdatePresentationSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse>;
|
|
10038
10038
|
/**
|
|
10039
10039
|
*
|
|
10040
10040
|
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
@@ -10057,30 +10057,30 @@ export interface ClubSettingsManagerApiUpdateClubGeneralSettingsRequest {
|
|
|
10057
10057
|
readonly updateClubGeneralSettingsRequest: UpdateClubGeneralSettingsRequest;
|
|
10058
10058
|
}
|
|
10059
10059
|
/**
|
|
10060
|
-
* Request parameters for
|
|
10060
|
+
* Request parameters for updateHoursSettings operation in ClubSettingsManagerApi.
|
|
10061
10061
|
* @export
|
|
10062
|
-
* @interface
|
|
10062
|
+
* @interface ClubSettingsManagerApiUpdateHoursSettingsRequest
|
|
10063
10063
|
*/
|
|
10064
|
-
export interface
|
|
10064
|
+
export interface ClubSettingsManagerApiUpdateHoursSettingsRequest {
|
|
10065
10065
|
/**
|
|
10066
10066
|
*
|
|
10067
|
-
* @type {
|
|
10068
|
-
* @memberof
|
|
10067
|
+
* @type {UpdateClubHoursSettingsRequest}
|
|
10068
|
+
* @memberof ClubSettingsManagerApiUpdateHoursSettings
|
|
10069
10069
|
*/
|
|
10070
|
-
readonly
|
|
10070
|
+
readonly updateClubHoursSettingsRequest: UpdateClubHoursSettingsRequest;
|
|
10071
10071
|
}
|
|
10072
10072
|
/**
|
|
10073
|
-
* Request parameters for
|
|
10073
|
+
* Request parameters for updatePresentationSettings operation in ClubSettingsManagerApi.
|
|
10074
10074
|
* @export
|
|
10075
|
-
* @interface
|
|
10075
|
+
* @interface ClubSettingsManagerApiUpdatePresentationSettingsRequest
|
|
10076
10076
|
*/
|
|
10077
|
-
export interface
|
|
10077
|
+
export interface ClubSettingsManagerApiUpdatePresentationSettingsRequest {
|
|
10078
10078
|
/**
|
|
10079
10079
|
*
|
|
10080
|
-
* @type {
|
|
10081
|
-
* @memberof
|
|
10080
|
+
* @type {ClubPresentationSettingsResponse}
|
|
10081
|
+
* @memberof ClubSettingsManagerApiUpdatePresentationSettings
|
|
10082
10082
|
*/
|
|
10083
|
-
readonly
|
|
10083
|
+
readonly clubPresentationSettingsResponse: ClubPresentationSettingsResponse;
|
|
10084
10084
|
}
|
|
10085
10085
|
/**
|
|
10086
10086
|
* Request parameters for updateReservationSettings operation in ClubSettingsManagerApi.
|
|
@@ -10111,21 +10111,21 @@ export declare class ClubSettingsManagerApi extends BaseAPI {
|
|
|
10111
10111
|
*/
|
|
10112
10112
|
updateClubGeneralSettings(requestParameters: ClubSettingsManagerApiUpdateClubGeneralSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubGeneralSettingsResponse, any, {}>>;
|
|
10113
10113
|
/**
|
|
10114
|
-
*
|
|
10115
|
-
* @param {
|
|
10114
|
+
*
|
|
10115
|
+
* @param {ClubSettingsManagerApiUpdateHoursSettingsRequest} requestParameters Request parameters.
|
|
10116
10116
|
* @param {*} [options] Override http request option.
|
|
10117
10117
|
* @throws {RequiredError}
|
|
10118
10118
|
* @memberof ClubSettingsManagerApi
|
|
10119
10119
|
*/
|
|
10120
|
-
|
|
10120
|
+
updateHoursSettings(requestParameters: ClubSettingsManagerApiUpdateHoursSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubHoursSettingsResponse, any, {}>>;
|
|
10121
10121
|
/**
|
|
10122
10122
|
*
|
|
10123
|
-
* @param {
|
|
10123
|
+
* @param {ClubSettingsManagerApiUpdatePresentationSettingsRequest} requestParameters Request parameters.
|
|
10124
10124
|
* @param {*} [options] Override http request option.
|
|
10125
10125
|
* @throws {RequiredError}
|
|
10126
10126
|
* @memberof ClubSettingsManagerApi
|
|
10127
10127
|
*/
|
|
10128
|
-
|
|
10128
|
+
updatePresentationSettings(requestParameters: ClubSettingsManagerApiUpdatePresentationSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPresentationSettingsResponse, any, {}>>;
|
|
10129
10129
|
/**
|
|
10130
10130
|
*
|
|
10131
10131
|
* @param {ClubSettingsManagerApiUpdateReservationSettingsRequest} requestParameters Request parameters.
|
|
@@ -10152,6 +10152,12 @@ export declare const ClubSettingsStaffApiAxiosParamCreator: (configuration?: Con
|
|
|
10152
10152
|
* @throws {RequiredError}
|
|
10153
10153
|
*/
|
|
10154
10154
|
getHoursSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10155
|
+
/**
|
|
10156
|
+
*
|
|
10157
|
+
* @param {*} [options] Override http request option.
|
|
10158
|
+
* @throws {RequiredError}
|
|
10159
|
+
*/
|
|
10160
|
+
getPresentationSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10155
10161
|
/**
|
|
10156
10162
|
*
|
|
10157
10163
|
* @param {*} [options] Override http request option.
|
|
@@ -10176,6 +10182,12 @@ export declare const ClubSettingsStaffApiFp: (configuration?: Configuration) =>
|
|
|
10176
10182
|
* @throws {RequiredError}
|
|
10177
10183
|
*/
|
|
10178
10184
|
getHoursSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubHoursSettingsResponse>>;
|
|
10185
|
+
/**
|
|
10186
|
+
*
|
|
10187
|
+
* @param {*} [options] Override http request option.
|
|
10188
|
+
* @throws {RequiredError}
|
|
10189
|
+
*/
|
|
10190
|
+
getPresentationSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPresentationSettingsResponse>>;
|
|
10179
10191
|
/**
|
|
10180
10192
|
*
|
|
10181
10193
|
* @param {*} [options] Override http request option.
|
|
@@ -10200,6 +10212,12 @@ export declare const ClubSettingsStaffApiFactory: (configuration?: Configuration
|
|
|
10200
10212
|
* @throws {RequiredError}
|
|
10201
10213
|
*/
|
|
10202
10214
|
getHoursSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubHoursSettingsResponse>;
|
|
10215
|
+
/**
|
|
10216
|
+
*
|
|
10217
|
+
* @param {*} [options] Override http request option.
|
|
10218
|
+
* @throws {RequiredError}
|
|
10219
|
+
*/
|
|
10220
|
+
getPresentationSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubPresentationSettingsResponse>;
|
|
10203
10221
|
/**
|
|
10204
10222
|
*
|
|
10205
10223
|
* @param {*} [options] Override http request option.
|
|
@@ -10228,6 +10246,13 @@ export declare class ClubSettingsStaffApi extends BaseAPI {
|
|
|
10228
10246
|
* @memberof ClubSettingsStaffApi
|
|
10229
10247
|
*/
|
|
10230
10248
|
getHoursSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubHoursSettingsResponse, any, {}>>;
|
|
10249
|
+
/**
|
|
10250
|
+
*
|
|
10251
|
+
* @param {*} [options] Override http request option.
|
|
10252
|
+
* @throws {RequiredError}
|
|
10253
|
+
* @memberof ClubSettingsStaffApi
|
|
10254
|
+
*/
|
|
10255
|
+
getPresentationSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubPresentationSettingsResponse, any, {}>>;
|
|
10231
10256
|
/**
|
|
10232
10257
|
*
|
|
10233
10258
|
* @param {*} [options] Override http request option.
|