@tennac-booking/sdk 1.0.157 → 1.0.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +371 -371
- package/README.md +3 -2
- package/api.ts +147 -15
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +131 -11
- package/dist/api.js +18 -7
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +131 -11
- package/dist/esm/api.js +18 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ClubLocationSettings.md +2 -0
- package/docs/ClubsApi.md +7 -1
- package/docs/GetCourtsByClubAndSportById200Response.md +1 -1
- package/docs/GetCourtsByClubAndSportById200ResponseCourtsInner.md +50 -0
- package/docs/ImageContextType.md +2 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +0 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.159
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2146,6 +2146,12 @@ export interface ClubLocationSettings {
|
|
|
2146
2146
|
* @memberof ClubLocationSettings
|
|
2147
2147
|
*/
|
|
2148
2148
|
'country'?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
*
|
|
2151
|
+
* @type {Array<number>}
|
|
2152
|
+
* @memberof ClubLocationSettings
|
|
2153
|
+
*/
|
|
2154
|
+
'coordinates'?: Array<number>;
|
|
2149
2155
|
}
|
|
2150
2156
|
/**
|
|
2151
2157
|
*
|
|
@@ -5764,10 +5770,113 @@ export interface GetCourtsByClubAndSportById200Response {
|
|
|
5764
5770
|
'total': number;
|
|
5765
5771
|
/**
|
|
5766
5772
|
*
|
|
5767
|
-
* @type {Array<
|
|
5773
|
+
* @type {Array<GetCourtsByClubAndSportById200ResponseCourtsInner>}
|
|
5768
5774
|
* @memberof GetCourtsByClubAndSportById200Response
|
|
5769
5775
|
*/
|
|
5770
|
-
'courts': Array<
|
|
5776
|
+
'courts': Array<GetCourtsByClubAndSportById200ResponseCourtsInner>;
|
|
5777
|
+
}
|
|
5778
|
+
/**
|
|
5779
|
+
*
|
|
5780
|
+
* @export
|
|
5781
|
+
* @interface GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5782
|
+
*/
|
|
5783
|
+
export interface GetCourtsByClubAndSportById200ResponseCourtsInner {
|
|
5784
|
+
/**
|
|
5785
|
+
*
|
|
5786
|
+
* @type {string}
|
|
5787
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5788
|
+
*/
|
|
5789
|
+
'clubId': string;
|
|
5790
|
+
/**
|
|
5791
|
+
*
|
|
5792
|
+
* @type {string}
|
|
5793
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5794
|
+
*/
|
|
5795
|
+
'name': string;
|
|
5796
|
+
/**
|
|
5797
|
+
*
|
|
5798
|
+
* @type {CourtStatus}
|
|
5799
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5800
|
+
*/
|
|
5801
|
+
'status': CourtStatus;
|
|
5802
|
+
/**
|
|
5803
|
+
*
|
|
5804
|
+
* @type {string}
|
|
5805
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5806
|
+
*/
|
|
5807
|
+
'comments': string;
|
|
5808
|
+
/**
|
|
5809
|
+
*
|
|
5810
|
+
* @type {number}
|
|
5811
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5812
|
+
*/
|
|
5813
|
+
'slotDefaultDuration': number;
|
|
5814
|
+
/**
|
|
5815
|
+
*
|
|
5816
|
+
* @type {number}
|
|
5817
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5818
|
+
*/
|
|
5819
|
+
'startTimeInTheDayInMinutes': number;
|
|
5820
|
+
/**
|
|
5821
|
+
*
|
|
5822
|
+
* @type {number}
|
|
5823
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5824
|
+
*/
|
|
5825
|
+
'endTimeInTheDayInMinutes': number;
|
|
5826
|
+
/**
|
|
5827
|
+
*
|
|
5828
|
+
* @type {number}
|
|
5829
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5830
|
+
*/
|
|
5831
|
+
'pricePerHour'?: number;
|
|
5832
|
+
/**
|
|
5833
|
+
*
|
|
5834
|
+
* @type {string}
|
|
5835
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5836
|
+
*/
|
|
5837
|
+
'sportId': string;
|
|
5838
|
+
/**
|
|
5839
|
+
*
|
|
5840
|
+
* @type {SurfaceType}
|
|
5841
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5842
|
+
*/
|
|
5843
|
+
'surface'?: SurfaceType;
|
|
5844
|
+
/**
|
|
5845
|
+
*
|
|
5846
|
+
* @type {boolean}
|
|
5847
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5848
|
+
*/
|
|
5849
|
+
'isIndoor': boolean;
|
|
5850
|
+
/**
|
|
5851
|
+
*
|
|
5852
|
+
* @type {string}
|
|
5853
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5854
|
+
*/
|
|
5855
|
+
'createdAt'?: string;
|
|
5856
|
+
/**
|
|
5857
|
+
*
|
|
5858
|
+
* @type {string}
|
|
5859
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5860
|
+
*/
|
|
5861
|
+
'updatedAt'?: string;
|
|
5862
|
+
/**
|
|
5863
|
+
*
|
|
5864
|
+
* @type {number}
|
|
5865
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5866
|
+
*/
|
|
5867
|
+
'variationPercentage'?: number;
|
|
5868
|
+
/**
|
|
5869
|
+
*
|
|
5870
|
+
* @type {boolean}
|
|
5871
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5872
|
+
*/
|
|
5873
|
+
'isReducedPrice'?: boolean;
|
|
5874
|
+
/**
|
|
5875
|
+
*
|
|
5876
|
+
* @type {number}
|
|
5877
|
+
* @memberof GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
5878
|
+
*/
|
|
5879
|
+
'estimatedPrice'?: number;
|
|
5771
5880
|
}
|
|
5772
5881
|
/**
|
|
5773
5882
|
*
|
|
@@ -6557,6 +6666,7 @@ export declare const ImageContextType: {
|
|
|
6557
6666
|
readonly ClubCarousel: "club-carousel";
|
|
6558
6667
|
readonly ClubSportImage: "club-sport-image";
|
|
6559
6668
|
readonly ClubEventImage: "club-event-image";
|
|
6669
|
+
readonly ClubEventSponsorImage: "club-event-sponsor-image";
|
|
6560
6670
|
};
|
|
6561
6671
|
export type ImageContextType = typeof ImageContextType[keyof typeof ImageContextType];
|
|
6562
6672
|
/**
|
|
@@ -10399,12 +10509,6 @@ export interface UpdateClubGeneralSettingsRequest {
|
|
|
10399
10509
|
* @memberof UpdateClubGeneralSettingsRequest
|
|
10400
10510
|
*/
|
|
10401
10511
|
'description'?: string;
|
|
10402
|
-
/**
|
|
10403
|
-
*
|
|
10404
|
-
* @type {string}
|
|
10405
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
10406
|
-
*/
|
|
10407
|
-
'rib'?: string | null;
|
|
10408
10512
|
/**
|
|
10409
10513
|
*
|
|
10410
10514
|
* @type {UpdateClubGeneralSettingsRequestLogo}
|
|
@@ -15588,10 +15692,12 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
15588
15692
|
*
|
|
15589
15693
|
* @param {string} id
|
|
15590
15694
|
* @param {string} sportId
|
|
15695
|
+
* @param {string} [startDate]
|
|
15696
|
+
* @param {string} [endDate]
|
|
15591
15697
|
* @param {*} [options] Override http request option.
|
|
15592
15698
|
* @throws {RequiredError}
|
|
15593
15699
|
*/
|
|
15594
|
-
getCourtsByClubAndSportById: (id: string, sportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15700
|
+
getCourtsByClubAndSportById: (id: string, sportId: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15595
15701
|
/**
|
|
15596
15702
|
* Récupère les informations publiques d\'un club en fonction de son ID
|
|
15597
15703
|
* @param {string} clubId
|
|
@@ -15699,10 +15805,12 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
|
|
|
15699
15805
|
*
|
|
15700
15806
|
* @param {string} id
|
|
15701
15807
|
* @param {string} sportId
|
|
15808
|
+
* @param {string} [startDate]
|
|
15809
|
+
* @param {string} [endDate]
|
|
15702
15810
|
* @param {*} [options] Override http request option.
|
|
15703
15811
|
* @throws {RequiredError}
|
|
15704
15812
|
*/
|
|
15705
|
-
getCourtsByClubAndSportById(id: string, sportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>>;
|
|
15813
|
+
getCourtsByClubAndSportById(id: string, sportId: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCourtsByClubAndSportById200Response>>;
|
|
15706
15814
|
/**
|
|
15707
15815
|
* Récupère les informations publiques d\'un club en fonction de son ID
|
|
15708
15816
|
* @param {string} clubId
|
|
@@ -15953,6 +16061,18 @@ export interface ClubsApiGetCourtsByClubAndSportByIdRequest {
|
|
|
15953
16061
|
* @memberof ClubsApiGetCourtsByClubAndSportById
|
|
15954
16062
|
*/
|
|
15955
16063
|
readonly sportId: string;
|
|
16064
|
+
/**
|
|
16065
|
+
*
|
|
16066
|
+
* @type {string}
|
|
16067
|
+
* @memberof ClubsApiGetCourtsByClubAndSportById
|
|
16068
|
+
*/
|
|
16069
|
+
readonly startDate?: string;
|
|
16070
|
+
/**
|
|
16071
|
+
*
|
|
16072
|
+
* @type {string}
|
|
16073
|
+
* @memberof ClubsApiGetCourtsByClubAndSportById
|
|
16074
|
+
*/
|
|
16075
|
+
readonly endDate?: string;
|
|
15956
16076
|
}
|
|
15957
16077
|
/**
|
|
15958
16078
|
* Request parameters for getPublicClubInfo operation in ClubsApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.159
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -179,7 +179,8 @@ export const ImageContextType = {
|
|
|
179
179
|
ClubPreview: 'club-preview',
|
|
180
180
|
ClubCarousel: 'club-carousel',
|
|
181
181
|
ClubSportImage: 'club-sport-image',
|
|
182
|
-
ClubEventImage: 'club-event-image'
|
|
182
|
+
ClubEventImage: 'club-event-image',
|
|
183
|
+
ClubEventSponsorImage: 'club-event-sponsor-image'
|
|
183
184
|
};
|
|
184
185
|
/**
|
|
185
186
|
*
|
|
@@ -5922,10 +5923,12 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
5922
5923
|
*
|
|
5923
5924
|
* @param {string} id
|
|
5924
5925
|
* @param {string} sportId
|
|
5926
|
+
* @param {string} [startDate]
|
|
5927
|
+
* @param {string} [endDate]
|
|
5925
5928
|
* @param {*} [options] Override http request option.
|
|
5926
5929
|
* @throws {RequiredError}
|
|
5927
5930
|
*/
|
|
5928
|
-
getCourtsByClubAndSportById: (id_1, sportId_1, ...args_1) => __awaiter(this, [id_1, sportId_1, ...args_1], void 0, function* (id, sportId, options = {}) {
|
|
5931
|
+
getCourtsByClubAndSportById: (id_1, sportId_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [id_1, sportId_1, startDate_1, endDate_1, ...args_1], void 0, function* (id, sportId, startDate, endDate, options = {}) {
|
|
5929
5932
|
// verify required parameter 'id' is not null or undefined
|
|
5930
5933
|
assertParamExists('getCourtsByClubAndSportById', 'id', id);
|
|
5931
5934
|
// verify required parameter 'sportId' is not null or undefined
|
|
@@ -5942,6 +5945,12 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
5942
5945
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5943
5946
|
const localVarHeaderParameter = {};
|
|
5944
5947
|
const localVarQueryParameter = {};
|
|
5948
|
+
if (startDate !== undefined) {
|
|
5949
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
5950
|
+
}
|
|
5951
|
+
if (endDate !== undefined) {
|
|
5952
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
5953
|
+
}
|
|
5945
5954
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5946
5955
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5947
5956
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6224,13 +6233,15 @@ export const ClubsApiFp = function (configuration) {
|
|
|
6224
6233
|
*
|
|
6225
6234
|
* @param {string} id
|
|
6226
6235
|
* @param {string} sportId
|
|
6236
|
+
* @param {string} [startDate]
|
|
6237
|
+
* @param {string} [endDate]
|
|
6227
6238
|
* @param {*} [options] Override http request option.
|
|
6228
6239
|
* @throws {RequiredError}
|
|
6229
6240
|
*/
|
|
6230
|
-
getCourtsByClubAndSportById(id, sportId, options) {
|
|
6241
|
+
getCourtsByClubAndSportById(id, sportId, startDate, endDate, options) {
|
|
6231
6242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6232
6243
|
var _a, _b, _c;
|
|
6233
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, options);
|
|
6244
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCourtsByClubAndSportById(id, sportId, startDate, endDate, options);
|
|
6234
6245
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6235
6246
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getCourtsByClubAndSportById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6236
6247
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6398,7 +6409,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
6398
6409
|
* @throws {RequiredError}
|
|
6399
6410
|
*/
|
|
6400
6411
|
getCourtsByClubAndSportById(requestParameters, options) {
|
|
6401
|
-
return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
6412
|
+
return localVarFp.getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
6402
6413
|
},
|
|
6403
6414
|
/**
|
|
6404
6415
|
* Récupère les informations publiques d\'un club en fonction de son ID
|
|
@@ -6549,7 +6560,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
6549
6560
|
* @memberof ClubsApi
|
|
6550
6561
|
*/
|
|
6551
6562
|
getCourtsByClubAndSportById(requestParameters, options) {
|
|
6552
|
-
return ClubsApiFp(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
6563
|
+
return ClubsApiFp(this.configuration).getCourtsByClubAndSportById(requestParameters.id, requestParameters.sportId, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
6553
6564
|
}
|
|
6554
6565
|
/**
|
|
6555
6566
|
* Récupère les informations publiques d\'un club en fonction de son ID
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**zipCode** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**city** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**country** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**coordinates** | **Array<number>** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: ClubLocationSettings = {
|
|
|
20
21
|
zipCode,
|
|
21
22
|
city,
|
|
22
23
|
country,
|
|
24
|
+
coordinates,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|
package/docs/ClubsApi.md
CHANGED
|
@@ -536,10 +536,14 @@ const apiInstance = new ClubsApi(configuration);
|
|
|
536
536
|
|
|
537
537
|
let id: string; // (default to undefined)
|
|
538
538
|
let sportId: string; // (default to undefined)
|
|
539
|
+
let startDate: string; // (optional) (default to undefined)
|
|
540
|
+
let endDate: string; // (optional) (default to undefined)
|
|
539
541
|
|
|
540
542
|
const { status, data } = await apiInstance.getCourtsByClubAndSportById(
|
|
541
543
|
id,
|
|
542
|
-
sportId
|
|
544
|
+
sportId,
|
|
545
|
+
startDate,
|
|
546
|
+
endDate
|
|
543
547
|
);
|
|
544
548
|
```
|
|
545
549
|
|
|
@@ -549,6 +553,8 @@ const { status, data } = await apiInstance.getCourtsByClubAndSportById(
|
|
|
549
553
|
|------------- | ------------- | ------------- | -------------|
|
|
550
554
|
| **id** | [**string**] | | defaults to undefined|
|
|
551
555
|
| **sportId** | [**string**] | | defaults to undefined|
|
|
556
|
+
| **startDate** | [**string**] | | (optional) defaults to undefined|
|
|
557
|
+
| **endDate** | [**string**] | | (optional) defaults to undefined|
|
|
552
558
|
|
|
553
559
|
|
|
554
560
|
### Return type
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**sportId** | **string** | | [default to undefined]
|
|
9
9
|
**clubId** | **string** | | [default to undefined]
|
|
10
10
|
**total** | **number** | | [default to undefined]
|
|
11
|
-
**courts** | [**Array<
|
|
11
|
+
**courts** | [**Array<GetCourtsByClubAndSportById200ResponseCourtsInner>**](GetCourtsByClubAndSportById200ResponseCourtsInner.md) | | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# GetCourtsByClubAndSportById200ResponseCourtsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**clubId** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**status** | [**CourtStatus**](CourtStatus.md) | | [default to undefined]
|
|
11
|
+
**comments** | **string** | | [default to undefined]
|
|
12
|
+
**slotDefaultDuration** | **number** | | [default to undefined]
|
|
13
|
+
**startTimeInTheDayInMinutes** | **number** | | [default to undefined]
|
|
14
|
+
**endTimeInTheDayInMinutes** | **number** | | [default to undefined]
|
|
15
|
+
**pricePerHour** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**sportId** | **string** | | [default to undefined]
|
|
17
|
+
**surface** | [**SurfaceType**](SurfaceType.md) | | [optional] [default to undefined]
|
|
18
|
+
**isIndoor** | **boolean** | | [default to undefined]
|
|
19
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**variationPercentage** | **number** | | [optional] [default to undefined]
|
|
22
|
+
**isReducedPrice** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**estimatedPrice** | **number** | | [optional] [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { GetCourtsByClubAndSportById200ResponseCourtsInner } from '@tennac-booking/sdk';
|
|
29
|
+
|
|
30
|
+
const instance: GetCourtsByClubAndSportById200ResponseCourtsInner = {
|
|
31
|
+
clubId,
|
|
32
|
+
name,
|
|
33
|
+
status,
|
|
34
|
+
comments,
|
|
35
|
+
slotDefaultDuration,
|
|
36
|
+
startTimeInTheDayInMinutes,
|
|
37
|
+
endTimeInTheDayInMinutes,
|
|
38
|
+
pricePerHour,
|
|
39
|
+
sportId,
|
|
40
|
+
surface,
|
|
41
|
+
isIndoor,
|
|
42
|
+
createdAt,
|
|
43
|
+
updatedAt,
|
|
44
|
+
variationPercentage,
|
|
45
|
+
isReducedPrice,
|
|
46
|
+
estimatedPrice,
|
|
47
|
+
};
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ImageContextType.md
CHANGED
|
@@ -17,4 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
* `ClubEventImage` (value: `'club-event-image'`)
|
|
19
19
|
|
|
20
|
+
* `ClubEventSponsorImage` (value: `'club-event-sponsor-image'`)
|
|
21
|
+
|
|
20
22
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**phone** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**description** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**rib** | **string** | | [optional] [default to undefined]
|
|
14
13
|
**logo** | [**UpdateClubGeneralSettingsRequestLogo**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
15
14
|
**location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [optional] [default to undefined]
|
|
16
15
|
|
|
@@ -25,7 +24,6 @@ const instance: UpdateClubGeneralSettingsRequest = {
|
|
|
25
24
|
phone,
|
|
26
25
|
websiteUrl,
|
|
27
26
|
description,
|
|
28
|
-
rib,
|
|
29
27
|
logo,
|
|
30
28
|
location,
|
|
31
29
|
};
|
package/index.ts
CHANGED