@tennac-booking/sdk 1.0.202 → 1.0.203
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 +1 -0
- package/README.md +1 -0
- package/api.ts +51 -2
- package/dist/api.d.ts +51 -2
- package/dist/esm/api.d.ts +51 -2
- package/docs/ClubPricingPeriodPayload.md +32 -0
- package/docs/UpdateClubHoursSettingsRequest.md +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -100,6 +100,7 @@ docs/ClubPlayerSubscriptionSummary.md
|
|
|
100
100
|
docs/ClubPlayersPaginatedResponse.md
|
|
101
101
|
docs/ClubPresentation.md
|
|
102
102
|
docs/ClubPresentationSettingsResponse.md
|
|
103
|
+
docs/ClubPricingPeriodPayload.md
|
|
103
104
|
docs/ClubPricingPeriodResponse.md
|
|
104
105
|
docs/ClubReservationSettingsResponse.md
|
|
105
106
|
docs/ClubResponse.md
|
package/README.md
CHANGED
|
@@ -382,6 +382,7 @@ Class | Method | HTTP request | Description
|
|
|
382
382
|
- [ClubPlayersPaginatedResponse](docs/ClubPlayersPaginatedResponse.md)
|
|
383
383
|
- [ClubPresentation](docs/ClubPresentation.md)
|
|
384
384
|
- [ClubPresentationSettingsResponse](docs/ClubPresentationSettingsResponse.md)
|
|
385
|
+
- [ClubPricingPeriodPayload](docs/ClubPricingPeriodPayload.md)
|
|
385
386
|
- [ClubPricingPeriodResponse](docs/ClubPricingPeriodResponse.md)
|
|
386
387
|
- [ClubReservationSettingsResponse](docs/ClubReservationSettingsResponse.md)
|
|
387
388
|
- [ClubResponse](docs/ClubResponse.md)
|
package/api.ts
CHANGED
|
@@ -3399,6 +3399,55 @@ export interface ClubPresentationSettingsResponse {
|
|
|
3399
3399
|
*/
|
|
3400
3400
|
'sponsors': Array<Sponsor>;
|
|
3401
3401
|
}
|
|
3402
|
+
/**
|
|
3403
|
+
*
|
|
3404
|
+
* @export
|
|
3405
|
+
* @interface ClubPricingPeriodPayload
|
|
3406
|
+
*/
|
|
3407
|
+
export interface ClubPricingPeriodPayload {
|
|
3408
|
+
/**
|
|
3409
|
+
*
|
|
3410
|
+
* @type {string}
|
|
3411
|
+
* @memberof ClubPricingPeriodPayload
|
|
3412
|
+
*/
|
|
3413
|
+
'_id'?: string;
|
|
3414
|
+
/**
|
|
3415
|
+
*
|
|
3416
|
+
* @type {string}
|
|
3417
|
+
* @memberof ClubPricingPeriodPayload
|
|
3418
|
+
*/
|
|
3419
|
+
'id'?: string;
|
|
3420
|
+
/**
|
|
3421
|
+
*
|
|
3422
|
+
* @type {string}
|
|
3423
|
+
* @memberof ClubPricingPeriodPayload
|
|
3424
|
+
*/
|
|
3425
|
+
'name': string;
|
|
3426
|
+
/**
|
|
3427
|
+
*
|
|
3428
|
+
* @type {Array<WeekdayKey>}
|
|
3429
|
+
* @memberof ClubPricingPeriodPayload
|
|
3430
|
+
*/
|
|
3431
|
+
'weekDays': Array<WeekdayKey>;
|
|
3432
|
+
/**
|
|
3433
|
+
*
|
|
3434
|
+
* @type {number}
|
|
3435
|
+
* @memberof ClubPricingPeriodPayload
|
|
3436
|
+
*/
|
|
3437
|
+
'startTime': number;
|
|
3438
|
+
/**
|
|
3439
|
+
*
|
|
3440
|
+
* @type {number}
|
|
3441
|
+
* @memberof ClubPricingPeriodPayload
|
|
3442
|
+
*/
|
|
3443
|
+
'endTime': number;
|
|
3444
|
+
/**
|
|
3445
|
+
*
|
|
3446
|
+
* @type {number}
|
|
3447
|
+
* @memberof ClubPricingPeriodPayload
|
|
3448
|
+
*/
|
|
3449
|
+
'priceVariation'?: number;
|
|
3450
|
+
}
|
|
3402
3451
|
/**
|
|
3403
3452
|
*
|
|
3404
3453
|
* @export
|
|
@@ -12297,10 +12346,10 @@ export interface UpdateClubHoursSettingsRequest {
|
|
|
12297
12346
|
'schedule'?: PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined;
|
|
12298
12347
|
/**
|
|
12299
12348
|
*
|
|
12300
|
-
* @type {Array<
|
|
12349
|
+
* @type {Array<ClubPricingPeriodPayload>}
|
|
12301
12350
|
* @memberof UpdateClubHoursSettingsRequest
|
|
12302
12351
|
*/
|
|
12303
|
-
'pricingPeriods'?: Array<
|
|
12352
|
+
'pricingPeriods'?: Array<ClubPricingPeriodPayload>;
|
|
12304
12353
|
}
|
|
12305
12354
|
/**
|
|
12306
12355
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -3350,6 +3350,55 @@ export interface ClubPresentationSettingsResponse {
|
|
|
3350
3350
|
*/
|
|
3351
3351
|
'sponsors': Array<Sponsor>;
|
|
3352
3352
|
}
|
|
3353
|
+
/**
|
|
3354
|
+
*
|
|
3355
|
+
* @export
|
|
3356
|
+
* @interface ClubPricingPeriodPayload
|
|
3357
|
+
*/
|
|
3358
|
+
export interface ClubPricingPeriodPayload {
|
|
3359
|
+
/**
|
|
3360
|
+
*
|
|
3361
|
+
* @type {string}
|
|
3362
|
+
* @memberof ClubPricingPeriodPayload
|
|
3363
|
+
*/
|
|
3364
|
+
'_id'?: string;
|
|
3365
|
+
/**
|
|
3366
|
+
*
|
|
3367
|
+
* @type {string}
|
|
3368
|
+
* @memberof ClubPricingPeriodPayload
|
|
3369
|
+
*/
|
|
3370
|
+
'id'?: string;
|
|
3371
|
+
/**
|
|
3372
|
+
*
|
|
3373
|
+
* @type {string}
|
|
3374
|
+
* @memberof ClubPricingPeriodPayload
|
|
3375
|
+
*/
|
|
3376
|
+
'name': string;
|
|
3377
|
+
/**
|
|
3378
|
+
*
|
|
3379
|
+
* @type {Array<WeekdayKey>}
|
|
3380
|
+
* @memberof ClubPricingPeriodPayload
|
|
3381
|
+
*/
|
|
3382
|
+
'weekDays': Array<WeekdayKey>;
|
|
3383
|
+
/**
|
|
3384
|
+
*
|
|
3385
|
+
* @type {number}
|
|
3386
|
+
* @memberof ClubPricingPeriodPayload
|
|
3387
|
+
*/
|
|
3388
|
+
'startTime': number;
|
|
3389
|
+
/**
|
|
3390
|
+
*
|
|
3391
|
+
* @type {number}
|
|
3392
|
+
* @memberof ClubPricingPeriodPayload
|
|
3393
|
+
*/
|
|
3394
|
+
'endTime': number;
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @type {number}
|
|
3398
|
+
* @memberof ClubPricingPeriodPayload
|
|
3399
|
+
*/
|
|
3400
|
+
'priceVariation'?: number;
|
|
3401
|
+
}
|
|
3353
3402
|
/**
|
|
3354
3403
|
*
|
|
3355
3404
|
* @export
|
|
@@ -12080,10 +12129,10 @@ export interface UpdateClubHoursSettingsRequest {
|
|
|
12080
12129
|
'schedule'?: PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined;
|
|
12081
12130
|
/**
|
|
12082
12131
|
*
|
|
12083
|
-
* @type {Array<
|
|
12132
|
+
* @type {Array<ClubPricingPeriodPayload>}
|
|
12084
12133
|
* @memberof UpdateClubHoursSettingsRequest
|
|
12085
12134
|
*/
|
|
12086
|
-
'pricingPeriods'?: Array<
|
|
12135
|
+
'pricingPeriods'?: Array<ClubPricingPeriodPayload>;
|
|
12087
12136
|
}
|
|
12088
12137
|
/**
|
|
12089
12138
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3350,6 +3350,55 @@ export interface ClubPresentationSettingsResponse {
|
|
|
3350
3350
|
*/
|
|
3351
3351
|
'sponsors': Array<Sponsor>;
|
|
3352
3352
|
}
|
|
3353
|
+
/**
|
|
3354
|
+
*
|
|
3355
|
+
* @export
|
|
3356
|
+
* @interface ClubPricingPeriodPayload
|
|
3357
|
+
*/
|
|
3358
|
+
export interface ClubPricingPeriodPayload {
|
|
3359
|
+
/**
|
|
3360
|
+
*
|
|
3361
|
+
* @type {string}
|
|
3362
|
+
* @memberof ClubPricingPeriodPayload
|
|
3363
|
+
*/
|
|
3364
|
+
'_id'?: string;
|
|
3365
|
+
/**
|
|
3366
|
+
*
|
|
3367
|
+
* @type {string}
|
|
3368
|
+
* @memberof ClubPricingPeriodPayload
|
|
3369
|
+
*/
|
|
3370
|
+
'id'?: string;
|
|
3371
|
+
/**
|
|
3372
|
+
*
|
|
3373
|
+
* @type {string}
|
|
3374
|
+
* @memberof ClubPricingPeriodPayload
|
|
3375
|
+
*/
|
|
3376
|
+
'name': string;
|
|
3377
|
+
/**
|
|
3378
|
+
*
|
|
3379
|
+
* @type {Array<WeekdayKey>}
|
|
3380
|
+
* @memberof ClubPricingPeriodPayload
|
|
3381
|
+
*/
|
|
3382
|
+
'weekDays': Array<WeekdayKey>;
|
|
3383
|
+
/**
|
|
3384
|
+
*
|
|
3385
|
+
* @type {number}
|
|
3386
|
+
* @memberof ClubPricingPeriodPayload
|
|
3387
|
+
*/
|
|
3388
|
+
'startTime': number;
|
|
3389
|
+
/**
|
|
3390
|
+
*
|
|
3391
|
+
* @type {number}
|
|
3392
|
+
* @memberof ClubPricingPeriodPayload
|
|
3393
|
+
*/
|
|
3394
|
+
'endTime': number;
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @type {number}
|
|
3398
|
+
* @memberof ClubPricingPeriodPayload
|
|
3399
|
+
*/
|
|
3400
|
+
'priceVariation'?: number;
|
|
3401
|
+
}
|
|
3353
3402
|
/**
|
|
3354
3403
|
*
|
|
3355
3404
|
* @export
|
|
@@ -12080,10 +12129,10 @@ export interface UpdateClubHoursSettingsRequest {
|
|
|
12080
12129
|
'schedule'?: PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined;
|
|
12081
12130
|
/**
|
|
12082
12131
|
*
|
|
12083
|
-
* @type {Array<
|
|
12132
|
+
* @type {Array<ClubPricingPeriodPayload>}
|
|
12084
12133
|
* @memberof UpdateClubHoursSettingsRequest
|
|
12085
12134
|
*/
|
|
12086
|
-
'pricingPeriods'?: Array<
|
|
12135
|
+
'pricingPeriods'?: Array<ClubPricingPeriodPayload>;
|
|
12087
12136
|
}
|
|
12088
12137
|
/**
|
|
12089
12138
|
*
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# ClubPricingPeriodPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**weekDays** | [**Array<WeekdayKey>**](WeekdayKey.md) | | [default to undefined]
|
|
12
|
+
**startTime** | **number** | | [default to undefined]
|
|
13
|
+
**endTime** | **number** | | [default to undefined]
|
|
14
|
+
**priceVariation** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ClubPricingPeriodPayload } from '@tennac-booking/sdk';
|
|
20
|
+
|
|
21
|
+
const instance: ClubPricingPeriodPayload = {
|
|
22
|
+
_id,
|
|
23
|
+
id,
|
|
24
|
+
name,
|
|
25
|
+
weekDays,
|
|
26
|
+
startTime,
|
|
27
|
+
endTime,
|
|
28
|
+
priceVariation,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**schedule** | [**PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined**](PartialRecordWeekdayKeyClubDayScheduleOrNullOrUndefined.md) | | [optional] [default to undefined]
|
|
9
|
-
**pricingPeriods** | [**Array<
|
|
9
|
+
**pricingPeriods** | [**Array<ClubPricingPeriodPayload>**](ClubPricingPeriodPayload.md) | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|