@tennac-booking/sdk 1.0.129 → 1.0.130
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 +344 -346
- package/README.md +23 -24
- package/api.ts +857 -1035
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +686 -858
- package/dist/api.js +289 -315
- 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 +686 -858
- package/dist/esm/api.js +285 -311
- 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/BookingsStaffApi.md +10 -10
- package/docs/{EventBookingResponsePlayersInnerInvoiceStatus.md → CheckInPlayerRequest.md} +5 -3
- package/docs/{CheckInPlayersResponse.md → CheckInPlayerResponse.md} +5 -5
- package/docs/ClubAccessSettingsResponse.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- package/docs/ClubSettingsManagerApi.md +52 -0
- package/docs/ClubSettingsStaffApi.md +44 -0
- package/docs/ClubsStaffApi.md +47 -0
- package/docs/CreatePlan201Response.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +2 -0
- package/docs/DeleteSubscriptionPlanResponse.md +2 -0
- package/docs/EventsApi.md +1 -4
- package/docs/EventsManagerApi.md +0 -110
- package/docs/{EventBookingResponseSetupStatus.md → GetClubType200Response.md} +5 -3
- package/docs/HotelAccessSettings.md +26 -0
- package/docs/MonthlyTurnoverResponse.md +0 -1
- package/docs/OffPeakRule.md +2 -0
- package/docs/PartialHotelAccessSettings.md +27 -0
- package/docs/PartialPaymentRequirementsSettings.md +23 -0
- package/docs/PartialPublicAccessSettings.md +25 -0
- package/docs/PartialSchoolAccessSettings.md +25 -0
- package/docs/PaymentRequirementsSettings.md +22 -0
- package/docs/PlanPrice.md +26 -0
- package/docs/{CheckInPlayersRequest.md → PlanPriceInput.md} +7 -5
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/PublicSubscriptionPlanResponse.md +5 -1
- package/docs/PublishEventResponse.md +0 -4
- package/docs/SchoolAccessSettings.md +24 -0
- package/docs/SendSubscriptionInvitationRequest.md +2 -0
- package/docs/SubscriptionPlanDiscountResponse.md +34 -0
- package/docs/SubscriptionPlanResponse.md +7 -1
- package/docs/SubscriptionsManagerApi.md +55 -1
- package/docs/UpdateClubAccessSettingsRequest.md +26 -0
- package/docs/UsersApi.md +0 -54
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/EventBookingDetailSummary.md +0 -40
- package/docs/EventBookingResponse.md +0 -36
- package/docs/EventBookingResponsePlayersInner.md +0 -28
- package/docs/EventBookingStatus.md +0 -16
- package/docs/InvoiceStatusSETUPPENDING.md +0 -8
- package/docs/InvoiceStatusSETUPSUCCESS.md +0 -8
- package/docs/ParticipationType.md +0 -10
- package/docs/RecurringDefinitionResponse.md +0 -34
- package/docs/UpdateRecurringDefinition200Response.md +0 -20
- package/docs/UpdateRecurringDefinitionRequest.md +0 -56
- package/docs/UserEventParticipation.md +0 -22
- package/docs/UserEventSummary.md +0 -44
- package/docs/UserEventsResponse.md +0 -28
- package/docs/VisibilityType.md +0 -12
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# EventBookingResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
|
|
10
|
-
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
|
|
12
|
-
**setupLimitDate** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**cancellationLimitDate** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**setupStatus** | [**EventBookingResponseSetupStatus**](EventBookingResponseSetupStatus.md) | | [optional] [default to undefined]
|
|
15
|
-
**createdAt** | **string** | | [default to undefined]
|
|
16
|
-
**updatedAt** | **string** | | [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { EventBookingResponse } from '@tennac-booking/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: EventBookingResponse = {
|
|
24
|
-
id,
|
|
25
|
-
status,
|
|
26
|
-
teamName,
|
|
27
|
-
players,
|
|
28
|
-
setupLimitDate,
|
|
29
|
-
cancellationLimitDate,
|
|
30
|
-
setupStatus,
|
|
31
|
-
createdAt,
|
|
32
|
-
updatedAt,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# EventBookingResponsePlayersInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**invoiceStatus** | [**EventBookingResponsePlayersInnerInvoiceStatus**](EventBookingResponsePlayersInnerInvoiceStatus.md) | | [optional] [default to undefined]
|
|
9
|
-
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**id** | **string** | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { EventBookingResponsePlayersInner } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: EventBookingResponsePlayersInner = {
|
|
20
|
-
invoiceStatus,
|
|
21
|
-
profilePicture,
|
|
22
|
-
lastName,
|
|
23
|
-
firstName,
|
|
24
|
-
id,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# EventBookingStatus
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Pending` (value: `'pending'`)
|
|
7
|
-
|
|
8
|
-
* `Active` (value: `'active'`)
|
|
9
|
-
|
|
10
|
-
* `Paid` (value: `'paid'`)
|
|
11
|
-
|
|
12
|
-
* `Cancelled` (value: `'cancelled'`)
|
|
13
|
-
|
|
14
|
-
* `Expired` (value: `'expired'`)
|
|
15
|
-
|
|
16
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# ParticipationType
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Solo` (value: `'solo'`)
|
|
7
|
-
|
|
8
|
-
* `Team` (value: `'team'`)
|
|
9
|
-
|
|
10
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# RecurringDefinitionResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**title** | **string** | | [default to undefined]
|
|
11
|
-
**baseStartDate** | **string** | | [default to undefined]
|
|
12
|
-
**baseEndDate** | **string** | | [default to undefined]
|
|
13
|
-
**recurringType** | **string** | | [default to undefined]
|
|
14
|
-
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**isActive** | **boolean** | | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { RecurringDefinitionResponse } from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const instance: RecurringDefinitionResponse = {
|
|
23
|
-
id,
|
|
24
|
-
clubId,
|
|
25
|
-
title,
|
|
26
|
-
baseStartDate,
|
|
27
|
-
baseEndDate,
|
|
28
|
-
recurringType,
|
|
29
|
-
recurrenceEndDate,
|
|
30
|
-
isActive,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# UpdateRecurringDefinition200Response
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**ok** | **boolean** | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { UpdateRecurringDefinition200Response } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: UpdateRecurringDefinition200Response = {
|
|
16
|
-
ok,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# UpdateRecurringDefinitionRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**title** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**sportId** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**courts** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
-
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
14
|
-
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
15
|
-
**visibilityType** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**type** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**participationType** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**playerLimit** | **number** | | [optional] [default to undefined]
|
|
19
|
-
**teamLimit** | **number** | | [optional] [default to undefined]
|
|
20
|
-
**playersPerTeam** | **number** | | [optional] [default to undefined]
|
|
21
|
-
**price** | **number** | | [optional] [default to undefined]
|
|
22
|
-
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
|
|
23
|
-
**baseStartDate** | **string** | | [optional] [default to undefined]
|
|
24
|
-
**baseEndDate** | **string** | | [optional] [default to undefined]
|
|
25
|
-
**recurringType** | **string** | | [optional] [default to undefined]
|
|
26
|
-
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
27
|
-
|
|
28
|
-
## Example
|
|
29
|
-
|
|
30
|
-
```typescript
|
|
31
|
-
import { UpdateRecurringDefinitionRequest } from '@tennac-booking/sdk';
|
|
32
|
-
|
|
33
|
-
const instance: UpdateRecurringDefinitionRequest = {
|
|
34
|
-
title,
|
|
35
|
-
description,
|
|
36
|
-
photoUrl,
|
|
37
|
-
sportId,
|
|
38
|
-
courts,
|
|
39
|
-
levels,
|
|
40
|
-
sponsors,
|
|
41
|
-
visibilityType,
|
|
42
|
-
type,
|
|
43
|
-
participationType,
|
|
44
|
-
playerLimit,
|
|
45
|
-
teamLimit,
|
|
46
|
-
playersPerTeam,
|
|
47
|
-
price,
|
|
48
|
-
subscriberPrices,
|
|
49
|
-
baseStartDate,
|
|
50
|
-
baseEndDate,
|
|
51
|
-
recurringType,
|
|
52
|
-
recurrenceEndDate,
|
|
53
|
-
};
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# UserEventParticipation
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**event** | [**UserEventSummary**](UserEventSummary.md) | | [default to undefined]
|
|
9
|
-
**booking** | [**EventBookingDetailSummary**](EventBookingDetailSummary.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { UserEventParticipation } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: UserEventParticipation = {
|
|
17
|
-
event,
|
|
18
|
-
booking,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
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)
|
package/docs/UserEventSummary.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# UserEventSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**clubId** | **string** | | [default to undefined]
|
|
10
|
-
**title** | **string** | | [default to undefined]
|
|
11
|
-
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**startDate** | **string** | | [default to undefined]
|
|
14
|
-
**endDate** | **string** | | [default to undefined]
|
|
15
|
-
**participationType** | [**ParticipationType**](ParticipationType.md) | | [default to undefined]
|
|
16
|
-
**visibilityType** | [**VisibilityType**](VisibilityType.md) | | [default to undefined]
|
|
17
|
-
**isActive** | **boolean** | | [default to undefined]
|
|
18
|
-
**price** | **number** | | [optional] [default to undefined]
|
|
19
|
-
**sports** | **Array<string>** | | [optional] [default to undefined]
|
|
20
|
-
**courts** | **Array<string>** | | [optional] [default to undefined]
|
|
21
|
-
|
|
22
|
-
## Example
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { UserEventSummary } from '@tennac-booking/sdk';
|
|
26
|
-
|
|
27
|
-
const instance: UserEventSummary = {
|
|
28
|
-
id,
|
|
29
|
-
clubId,
|
|
30
|
-
title,
|
|
31
|
-
description,
|
|
32
|
-
photoUrl,
|
|
33
|
-
startDate,
|
|
34
|
-
endDate,
|
|
35
|
-
participationType,
|
|
36
|
-
visibilityType,
|
|
37
|
-
isActive,
|
|
38
|
-
price,
|
|
39
|
-
sports,
|
|
40
|
-
courts,
|
|
41
|
-
};
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# UserEventsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**total** | **number** | | [default to undefined]
|
|
9
|
-
**limit** | **number** | | [default to undefined]
|
|
10
|
-
**skip** | **number** | | [default to undefined]
|
|
11
|
-
**hasMore** | **boolean** | | [default to undefined]
|
|
12
|
-
**participations** | [**Array<UserEventParticipation>**](UserEventParticipation.md) | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { UserEventsResponse } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: UserEventsResponse = {
|
|
20
|
-
total,
|
|
21
|
-
limit,
|
|
22
|
-
skip,
|
|
23
|
-
hasMore,
|
|
24
|
-
participations,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[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/VisibilityType.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# VisibilityType
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Public` (value: `'public'`)
|
|
7
|
-
|
|
8
|
-
* `Private` (value: `'private'`)
|
|
9
|
-
|
|
10
|
-
* `Invitation` (value: `'invitation'`)
|
|
11
|
-
|
|
12
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|