@tennac-booking/sdk 1.0.226 → 1.0.227
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 +30 -51
- package/README.md +48 -76
- package/api.ts +3556 -4764
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +2615 -3712
- package/dist/api.js +9856 -15757
- package/dist/base.d.ts +1 -1
- package/dist/base.js +11 -32
- package/dist/common.d.ts +1 -1
- package/dist/common.js +41 -133
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +8 -21
- package/dist/esm/api.d.ts +25620 -0
- package/dist/esm/api.js +17756 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgendaBooking.md +0 -2
- package/docs/BookingPopulated.md +1 -9
- package/docs/BookingSummary.md +4 -4
- package/docs/BookingsApi.md +80 -29
- package/docs/BookingsStaffApi.md +57 -1
- package/docs/BookingsUserApi.md +6 -58
- package/docs/CheckInPlayerSumupRequest.md +22 -0
- package/docs/{CloseOpenBookingResponse.md → CheckInPlayerSumupResponse.md} +7 -5
- package/docs/CheckInSumupPaymentInfo.md +26 -0
- package/docs/ClubPageResponse.md +0 -16
- package/docs/ClubPricingPeriodResponse.md +6 -6
- package/docs/ClubReservationSettingsResponse.md +2 -2
- package/docs/ClubResponse.md +2 -12
- package/docs/ClubSummary.md +0 -6
- package/docs/CreateBookingRequest.md +2 -0
- package/docs/CreateOpenBookingRequest.md +4 -6
- package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -4
- package/docs/EventBookingDetailSummary.md +0 -2
- package/docs/EventBookingResponse.md +0 -2
- package/docs/EventResponse.md +0 -2
- package/docs/EventsApi.md +0 -113
- package/docs/EventsStaffApi.md +25 -119
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +0 -2
- package/docs/GetOpenBookingPrice200Response.md +24 -0
- package/docs/GetOpenBookingPriceRequest.md +26 -0
- package/docs/IUserAttributes.md +0 -4
- package/docs/JoinPriceEstimateResponse.md +38 -0
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +25 -0
- package/docs/MyClubInfosResponse.md +2 -0
- package/docs/OpenBookingInfo.md +5 -7
- package/docs/OpenBookingSlotInfo.md +24 -0
- package/docs/PaymentIntentResult.md +28 -0
- package/docs/{SupportedLanguage.md → PaymentProviderType.md} +3 -3
- package/docs/{NotificationActorType.md → PaymentStatus.md} +6 -4
- package/docs/PaymentsStaffApi.md +124 -0
- package/docs/PlayerPrice.md +1 -3
- package/docs/PublicEmailApi.md +4 -4
- package/docs/QuickReservationClubSummary.md +0 -12
- package/docs/SportResponse.md +0 -2
- package/docs/StaffEventBookingResponse.md +0 -2
- package/docs/StaffEventsPaginatedResponse.md +26 -0
- package/docs/StaffUserProfileResponse.md +0 -4
- package/docs/SubscriptionPlanDiscountResponse.md +0 -2
- package/docs/SubscriptionPlanDiscountUpdateRequest.md +0 -2
- package/docs/SumUpApi.md +63 -0
- package/docs/SumUpManagerApi.md +617 -0
- package/docs/SumupAccountStatusResponse.md +32 -0
- package/docs/{VerifyVerificationCodeResponse.md → SumupCancelPaymentRequest.md} +5 -5
- package/docs/{RequestVerificationCodeResponse.md → SumupConnectUrlResponse.md} +5 -5
- package/docs/SumupCreatePaymentRequest.md +32 -0
- package/docs/SumupOAuthCallbackResponse.md +24 -0
- package/docs/SumupPairReaderRequest.md +24 -0
- package/docs/{Health200Response.md → SumupPairReaderResponse.md} +5 -7
- package/docs/SumupReaderInfo.md +42 -0
- package/docs/{NotificationTargetPreview.md → SumupReaderInfoDevice.md} +7 -7
- package/docs/{MarkNotificationsReadResponse.md → SumupReaderResponse.md} +5 -5
- package/docs/SumupReaderStatusInfo.md +32 -0
- package/docs/SumupReaderStatusResponse.md +20 -0
- package/docs/SumupReadersResponse.md +20 -0
- package/docs/{NotificationResponseClub.md → SumupUpdateReaderRequest.md} +5 -7
- package/docs/UpdateClubHoursSettingsRequest.md +1 -1
- package/docs/UpdateClubReservationSettingsRequest.md +2 -2
- package/docs/UserClubMembership.md +0 -2
- package/docs/UserProfileResponse.md +0 -12
- package/docs/UsersApi.md +0 -273
- package/docs/WaitListStaffApi.md +0 -55
- package/index.ts +1 -1
- package/package.json +4 -2
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -5
- package/docs/AuthApi.md +0 -113
- package/docs/ClubPageResponseClubCustomerStatus.md +0 -27
- package/docs/ClubPageResponseSportsIdsLookup.md +0 -23
- package/docs/ClubPricingPeriodPayload.md +0 -32
- package/docs/ComingEventsPageResponse.md +0 -22
- package/docs/CourtEnvironment.md +0 -10
- package/docs/EstimateOpenBookingJoinRequest.md +0 -24
- package/docs/GetOpenEventBookingsBySport200Response.md +0 -20
- package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +0 -46
- package/docs/JobResult.md +0 -24
- package/docs/JobsApi.md +0 -367
- package/docs/JoinOpenBookingRequest.md +0 -28
- package/docs/MarkNotificationsReadRequest.md +0 -22
- package/docs/NotificationData.md +0 -22
- package/docs/NotificationInitiator.md +0 -28
- package/docs/NotificationParticipantPreview.md +0 -24
- package/docs/NotificationPreview.md +0 -78
- package/docs/NotificationResponse.md +0 -46
- package/docs/NotificationSlotPreview.md +0 -24
- package/docs/NotificationSportPreview.md +0 -24
- package/docs/NotificationType.md +0 -26
- package/docs/OpenBookingBasePriceResponse.md +0 -24
- package/docs/OpenBookingJoinEstimateResponse.md +0 -26
- package/docs/OpenBookingPriceBody.md +0 -26
- package/docs/PartnerSearchItem.md +0 -28
- package/docs/PartnerSearchResponse.md +0 -22
- package/docs/PartnerSearchResponseMeta.md +0 -26
- package/docs/PricingPeriodDiscount.md +0 -24
- package/docs/QuickReservationCourtType.md +0 -10
- package/docs/RequestOrganizationEmailCodeBody.md +0 -22
- package/docs/RequestOrganizationEmailCodeResponse.md +0 -22
- package/docs/RequestVerificationCodeBody.md +0 -26
- package/docs/StaffEventsPageResponse.md +0 -22
- package/docs/UserNextBookingSummary.md +0 -26
- package/docs/UserNotificationsResponse.md +0 -22
- package/docs/UserNotificationsResponseMeta.md +0 -28
- package/docs/VerifyOrganizationEmailCodeBody.md +0 -24
- package/docs/VerifyOrganizationEmailCodeResponse.md +0 -22
- package/docs/VerifyVerificationCodeBody.md +0 -24
- package/docs/WaitListEntryWithPlayer.md +0 -44
- package/docs/WaitListPlayer.md +0 -28
- package/docs/WaitListPlayersListResponse.md +0 -22
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# NotificationResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**type** | [**NotificationType**](NotificationType.md) | | [default to undefined]
|
|
10
|
-
**title** | **string** | | [default to undefined]
|
|
11
|
-
**message** | **string** | | [default to undefined]
|
|
12
|
-
**data** | [**NotificationData**](NotificationData.md) | | [optional] [default to undefined]
|
|
13
|
-
**preview** | [**NotificationPreview**](NotificationPreview.md) | | [optional] [default to undefined]
|
|
14
|
-
**target** | [**NotificationTargetPreview**](NotificationTargetPreview.md) | | [optional] [default to undefined]
|
|
15
|
-
**initiator** | [**NotificationInitiator**](NotificationInitiator.md) | | [optional] [default to undefined]
|
|
16
|
-
**sport** | [**NotificationSportPreview**](NotificationSportPreview.md) | | [optional] [default to undefined]
|
|
17
|
-
**slot** | [**NotificationSlotPreview**](NotificationSlotPreview.md) | | [optional] [default to undefined]
|
|
18
|
-
**club** | [**NotificationResponseClub**](NotificationResponseClub.md) | | [optional] [default to undefined]
|
|
19
|
-
**createdAt** | **string** | | [default to undefined]
|
|
20
|
-
**readAt** | **string** | | [optional] [default to undefined]
|
|
21
|
-
**isRead** | **boolean** | | [default to undefined]
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import { NotificationResponse } from '@tennac-booking/sdk';
|
|
27
|
-
|
|
28
|
-
const instance: NotificationResponse = {
|
|
29
|
-
id,
|
|
30
|
-
type,
|
|
31
|
-
title,
|
|
32
|
-
message,
|
|
33
|
-
data,
|
|
34
|
-
preview,
|
|
35
|
-
target,
|
|
36
|
-
initiator,
|
|
37
|
-
sport,
|
|
38
|
-
slot,
|
|
39
|
-
club,
|
|
40
|
-
createdAt,
|
|
41
|
-
readAt,
|
|
42
|
-
isRead,
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# NotificationSlotPreview
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**endDate** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**courtName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { NotificationSlotPreview } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: NotificationSlotPreview = {
|
|
18
|
-
startDate,
|
|
19
|
-
endDate,
|
|
20
|
-
courtName,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# NotificationSportPreview
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**key** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { NotificationSportPreview } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: NotificationSportPreview = {
|
|
18
|
-
id,
|
|
19
|
-
name,
|
|
20
|
-
key,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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/NotificationType.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# NotificationType
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `BookingCreated` (value: `'booking_created'`)
|
|
7
|
-
|
|
8
|
-
* `BookingSetupRequired` (value: `'booking_setup_required'`)
|
|
9
|
-
|
|
10
|
-
* `BookingCancelled` (value: `'booking_cancelled'`)
|
|
11
|
-
|
|
12
|
-
* `BookingReminder` (value: `'booking_reminder'`)
|
|
13
|
-
|
|
14
|
-
* `EventRegistrationConfirmed` (value: `'event_registration_confirmed'`)
|
|
15
|
-
|
|
16
|
-
* `EventReminder` (value: `'event_reminder'`)
|
|
17
|
-
|
|
18
|
-
* `OpenBookingJoined` (value: `'open_booking_joined'`)
|
|
19
|
-
|
|
20
|
-
* `OpenBookingJoinConfirmed` (value: `'open_booking_join_confirmed'`)
|
|
21
|
-
|
|
22
|
-
* `WaitlistSpotAvailable` (value: `'waitlist_spot_available'`)
|
|
23
|
-
|
|
24
|
-
* `WaitlistConfirmed` (value: `'waitlist_confirmed'`)
|
|
25
|
-
|
|
26
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# OpenBookingBasePriceResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**basePricePerPlayer** | **number** | Prix de base par joueur (en centimes) pour rejoindre | [default to undefined]
|
|
9
|
-
**totalBasePrice** | **number** | Prix total de base de la réservation (en centimes) | [default to undefined]
|
|
10
|
-
**availableSlots** | **number** | Nombre de places restantes | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { OpenBookingBasePriceResponse } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: OpenBookingBasePriceResponse = {
|
|
18
|
-
basePricePerPlayer,
|
|
19
|
-
totalBasePrice,
|
|
20
|
-
availableSlots,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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,26 +0,0 @@
|
|
|
1
|
-
# OpenBookingJoinEstimateResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**basePricePerPlayer** | **number** | Prix de base par joueur (en centimes) | [default to undefined]
|
|
9
|
-
**playersPrices** | [**Array<PlayerPrice>**](PlayerPrice.md) | Détails de prix pour chaque joueur qui rejoint | [default to undefined]
|
|
10
|
-
**availableCreditsInCents** | **number** | Crédits disponibles pour l\'utilisateur qui demande à rejoindre (en centimes) | [default to undefined]
|
|
11
|
-
**availableSlots** | **number** | Nombre de places restantes | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { OpenBookingJoinEstimateResponse } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: OpenBookingJoinEstimateResponse = {
|
|
19
|
-
basePricePerPlayer,
|
|
20
|
-
playersPrices,
|
|
21
|
-
availableCreditsInCents,
|
|
22
|
-
availableSlots,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[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,26 +0,0 @@
|
|
|
1
|
-
# OpenBookingPriceBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**slotIds** | **Array<string>** | | [default to undefined]
|
|
9
|
-
**playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
|
|
10
|
-
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
11
|
-
**maxPlayersDesired** | **number** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { OpenBookingPriceBody } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: OpenBookingPriceBody = {
|
|
19
|
-
slotIds,
|
|
20
|
-
playerShares,
|
|
21
|
-
creditToUseInCents,
|
|
22
|
-
maxPlayersDesired,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[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
|
-
# PartnerSearchItem
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**firstName** | **string** | | [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [default to undefined]
|
|
11
|
-
**profilePicture** | **string** | | [default to undefined]
|
|
12
|
-
**isFavorite** | **boolean** | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { PartnerSearchItem } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: PartnerSearchItem = {
|
|
20
|
-
id,
|
|
21
|
-
firstName,
|
|
22
|
-
lastName,
|
|
23
|
-
profilePicture,
|
|
24
|
-
isFavorite,
|
|
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,22 +0,0 @@
|
|
|
1
|
-
# PartnerSearchResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**data** | [**Array<PartnerSearchItem>**](PartnerSearchItem.md) | | [default to undefined]
|
|
9
|
-
**meta** | [**PartnerSearchResponseMeta**](PartnerSearchResponseMeta.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { PartnerSearchResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: PartnerSearchResponse = {
|
|
17
|
-
data,
|
|
18
|
-
meta,
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# PartnerSearchResponseMeta
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**hasMore** | **boolean** | | [default to undefined]
|
|
9
|
-
**total** | **number** | | [default to undefined]
|
|
10
|
-
**limit** | **number** | | [default to undefined]
|
|
11
|
-
**page** | **number** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { PartnerSearchResponseMeta } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: PartnerSearchResponseMeta = {
|
|
19
|
-
hasMore,
|
|
20
|
-
total,
|
|
21
|
-
limit,
|
|
22
|
-
page,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# PricingPeriodDiscount
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**percentage** | **number** | | [default to undefined]
|
|
9
|
-
**pricingPeriodName** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**pricingPeriodId** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { PricingPeriodDiscount } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: PricingPeriodDiscount = {
|
|
18
|
-
percentage,
|
|
19
|
-
pricingPeriodName,
|
|
20
|
-
pricingPeriodId,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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
|
-
# QuickReservationCourtType
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Enum
|
|
5
|
-
|
|
6
|
-
* `Indoor` (value: `'indoor'`)
|
|
7
|
-
|
|
8
|
-
* `Outdoor` (value: `'outdoor'`)
|
|
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,22 +0,0 @@
|
|
|
1
|
-
# RequestOrganizationEmailCodeBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**organizationId** | **string** | | [default to undefined]
|
|
9
|
-
**organizationEmail** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { RequestOrganizationEmailCodeBody } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: RequestOrganizationEmailCodeBody = {
|
|
17
|
-
organizationId,
|
|
18
|
-
organizationEmail,
|
|
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)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# RequestOrganizationEmailCodeResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**sent** | **boolean** | | [default to undefined]
|
|
9
|
-
**alreadyVerified** | **boolean** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { RequestOrganizationEmailCodeResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: RequestOrganizationEmailCodeResponse = {
|
|
17
|
-
sent,
|
|
18
|
-
alreadyVerified,
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# RequestVerificationCodeBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**email** | **string** | | [default to undefined]
|
|
9
|
-
**context** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**lang** | [**SupportedLanguage**](SupportedLanguage.md) | | [optional] [default to undefined]
|
|
11
|
-
**requestId** | **string** | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { RequestVerificationCodeBody } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: RequestVerificationCodeBody = {
|
|
19
|
-
email,
|
|
20
|
-
context,
|
|
21
|
-
lang,
|
|
22
|
-
requestId,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[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
|
-
# StaffEventsPageResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**events** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
9
|
-
**pagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { StaffEventsPageResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: StaffEventsPageResponse = {
|
|
17
|
-
events,
|
|
18
|
-
pagination,
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# UserNextBookingSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**date** | **string** | | [default to undefined]
|
|
10
|
-
**slots** | [**Array<BookingSlotInfo>**](BookingSlotInfo.md) | | [default to undefined]
|
|
11
|
-
**club** | [**BookingClubInfo**](BookingClubInfo.md) | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { UserNextBookingSummary } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: UserNextBookingSummary = {
|
|
19
|
-
id,
|
|
20
|
-
date,
|
|
21
|
-
slots,
|
|
22
|
-
club,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[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
|
-
# UserNotificationsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**notifications** | [**Array<NotificationResponse>**](NotificationResponse.md) | | [default to undefined]
|
|
9
|
-
**meta** | [**UserNotificationsResponseMeta**](UserNotificationsResponseMeta.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { UserNotificationsResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: UserNotificationsResponse = {
|
|
17
|
-
notifications,
|
|
18
|
-
meta,
|
|
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)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# UserNotificationsResponseMeta
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**unreadCount** | **number** | | [default to undefined]
|
|
9
|
-
**hasMore** | **boolean** | | [default to undefined]
|
|
10
|
-
**total** | **number** | | [default to undefined]
|
|
11
|
-
**skip** | **number** | | [default to undefined]
|
|
12
|
-
**limit** | **number** | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { UserNotificationsResponseMeta } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: UserNotificationsResponseMeta = {
|
|
20
|
-
unreadCount,
|
|
21
|
-
hasMore,
|
|
22
|
-
total,
|
|
23
|
-
skip,
|
|
24
|
-
limit,
|
|
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,24 +0,0 @@
|
|
|
1
|
-
# VerifyOrganizationEmailCodeBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**organizationId** | **string** | | [default to undefined]
|
|
9
|
-
**organizationEmail** | **string** | | [default to undefined]
|
|
10
|
-
**code** | **string** | | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { VerifyOrganizationEmailCodeBody } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: VerifyOrganizationEmailCodeBody = {
|
|
18
|
-
organizationId,
|
|
19
|
-
organizationEmail,
|
|
20
|
-
code,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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
|
-
# VerifyOrganizationEmailCodeResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**verified** | **boolean** | | [default to undefined]
|
|
9
|
-
**alreadyVerified** | **boolean** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { VerifyOrganizationEmailCodeResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: VerifyOrganizationEmailCodeResponse = {
|
|
17
|
-
verified,
|
|
18
|
-
alreadyVerified,
|
|
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)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# VerifyVerificationCodeBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**email** | **string** | | [default to undefined]
|
|
9
|
-
**code** | **string** | | [default to undefined]
|
|
10
|
-
**context** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { VerifyVerificationCodeBody } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: VerifyVerificationCodeBody = {
|
|
18
|
-
email,
|
|
19
|
-
code,
|
|
20
|
-
context,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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,44 +0,0 @@
|
|
|
1
|
-
# WaitListEntryWithPlayer
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**userId** | **string** | | [default to undefined]
|
|
10
|
-
**clubId** | **string** | | [default to undefined]
|
|
11
|
-
**targetType** | **string** | | [default to undefined]
|
|
12
|
-
**targetId** | **string** | | [default to undefined]
|
|
13
|
-
**status** | **string** | | [default to undefined]
|
|
14
|
-
**position** | **number** | | [default to undefined]
|
|
15
|
-
**priceInCents** | **number** | | [default to undefined]
|
|
16
|
-
**joinedAt** | **string** | | [default to undefined]
|
|
17
|
-
**notifiedAt** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**paymentExpiresAt** | **string** | | [optional] [default to undefined]
|
|
19
|
-
**confirmedAt** | **string** | | [optional] [default to undefined]
|
|
20
|
-
**player** | [**WaitListPlayer**](WaitListPlayer.md) | | [default to undefined]
|
|
21
|
-
|
|
22
|
-
## Example
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { WaitListEntryWithPlayer } from '@tennac-booking/sdk';
|
|
26
|
-
|
|
27
|
-
const instance: WaitListEntryWithPlayer = {
|
|
28
|
-
id,
|
|
29
|
-
userId,
|
|
30
|
-
clubId,
|
|
31
|
-
targetType,
|
|
32
|
-
targetId,
|
|
33
|
-
status,
|
|
34
|
-
position,
|
|
35
|
-
priceInCents,
|
|
36
|
-
joinedAt,
|
|
37
|
-
notifiedAt,
|
|
38
|
-
paymentExpiresAt,
|
|
39
|
-
confirmedAt,
|
|
40
|
-
player,
|
|
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)
|
package/docs/WaitListPlayer.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# WaitListPlayer
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**firstName** | **string** | | [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [default to undefined]
|
|
11
|
-
**username** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { WaitListPlayer } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: WaitListPlayer = {
|
|
20
|
-
id,
|
|
21
|
-
firstName,
|
|
22
|
-
lastName,
|
|
23
|
-
username,
|
|
24
|
-
profilePicture,
|
|
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,22 +0,0 @@
|
|
|
1
|
-
# WaitListPlayersListResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**waitList** | [**Array<WaitListEntryWithPlayer>**](WaitListEntryWithPlayer.md) | | [default to undefined]
|
|
9
|
-
**total** | **number** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { WaitListPlayersListResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: WaitListPlayersListResponse = {
|
|
17
|
-
waitList,
|
|
18
|
-
total,
|
|
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)
|