@tennac-booking/sdk 1.0.221 → 1.0.223
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 +452 -429
- package/README.md +72 -38
- package/api.ts +3468 -1857
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +2910 -1594
- package/dist/api.js +15682 -9514
- package/dist/base.d.ts +1 -1
- package/dist/base.js +32 -11
- package/dist/common.d.ts +1 -1
- package/dist/common.js +133 -41
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +21 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgendaBooking.md +2 -0
- package/docs/AuthApi.md +113 -0
- package/docs/BookingPopulated.md +9 -1
- package/docs/BookingSummary.md +4 -4
- package/docs/BookingsApi.md +25 -79
- package/docs/BookingsStaffApi.md +1 -57
- package/docs/BookingsUserApi.md +58 -6
- package/docs/{CheckInPlayerSumupResponse.md → CloseOpenBookingResponse.md} +5 -7
- package/docs/ClubPageResponse.md +14 -0
- package/docs/ClubPageResponseClubCustomerStatus.md +27 -0
- package/docs/ClubPricingPeriodPayload.md +32 -0
- package/docs/ClubPricingPeriodResponse.md +6 -6
- package/docs/ClubReservationSettingsResponse.md +2 -2
- package/docs/ClubResponse.md +12 -2
- package/docs/ClubSummary.md +6 -0
- package/docs/ComingEventsPageResponse.md +22 -0
- package/docs/CourtEnvironment.md +10 -0
- package/docs/CreateBookingRequest.md +0 -2
- package/docs/CreateOpenBookingRequest.md +6 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +4 -0
- package/docs/EstimateOpenBookingJoinRequest.md +24 -0
- package/docs/EventBookingDetailSummary.md +2 -0
- package/docs/EventBookingResponse.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/EventsApi.md +58 -0
- package/docs/EventsStaffApi.md +119 -25
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +2 -0
- package/docs/{SumupReadersResponse.md → Health200Response.md} +7 -5
- package/docs/IUserAttributes.md +4 -0
- package/docs/JobResult.md +24 -0
- package/docs/JobsApi.md +367 -0
- package/docs/JoinOpenBookingRequest.md +28 -0
- package/docs/MarkNotificationsReadRequest.md +22 -0
- package/docs/{SumupPairReaderResponse.md → MarkNotificationsReadResponse.md} +5 -5
- package/docs/MyClubInfosResponse.md +0 -2
- package/docs/{PaymentStatus.md → NotificationActorType.md} +4 -6
- package/docs/NotificationData.md +22 -0
- package/docs/NotificationInitiator.md +28 -0
- package/docs/NotificationParticipantPreview.md +24 -0
- package/docs/NotificationPreview.md +78 -0
- package/docs/NotificationResponse.md +46 -0
- package/docs/NotificationResponseClub.md +24 -0
- package/docs/NotificationSlotPreview.md +24 -0
- package/docs/NotificationSportPreview.md +24 -0
- package/docs/{SumupPairReaderRequest.md → NotificationTargetPreview.md} +7 -7
- package/docs/NotificationType.md +26 -0
- package/docs/OpenBookingBasePriceResponse.md +24 -0
- package/docs/OpenBookingInfo.md +7 -5
- package/docs/OpenBookingJoinEstimateResponse.md +26 -0
- package/docs/OpenBookingPriceBody.md +26 -0
- package/docs/PartnerSearchItem.md +28 -0
- package/docs/PartnerSearchResponse.md +22 -0
- package/docs/PartnerSearchResponseMeta.md +26 -0
- package/docs/PlayerPrice.md +3 -1
- package/docs/PricingPeriodDiscount.md +24 -0
- package/docs/PublicEmailApi.md +4 -4
- package/docs/QuickReservationClubSummary.md +12 -0
- package/docs/QuickReservationCourtType.md +10 -0
- package/docs/RequestOrganizationEmailCodeBody.md +22 -0
- package/docs/RequestOrganizationEmailCodeResponse.md +22 -0
- package/docs/RequestVerificationCodeBody.md +26 -0
- package/docs/{SumupConnectUrlResponse.md → RequestVerificationCodeResponse.md} +5 -5
- package/docs/SportResponse.md +2 -0
- package/docs/StaffEventBookingResponse.md +2 -0
- package/docs/StaffEventsPageResponse.md +22 -0
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/SubscriptionPlanDiscountResponse.md +2 -0
- package/docs/SubscriptionPlanDiscountUpdateRequest.md +2 -0
- package/docs/{PaymentProviderType.md → SupportedLanguage.md} +3 -3
- package/docs/UpdateClubHoursSettingsRequest.md +1 -1
- package/docs/UpdateClubReservationSettingsRequest.md +2 -2
- package/docs/UserClubMembership.md +2 -0
- package/docs/UserNextBookingSummary.md +26 -0
- package/docs/UserNotificationsResponse.md +22 -0
- package/docs/UserNotificationsResponseMeta.md +28 -0
- package/docs/UserProfileResponse.md +12 -0
- package/docs/UsersApi.md +273 -0
- package/docs/VerifyOrganizationEmailCodeBody.md +24 -0
- package/docs/VerifyOrganizationEmailCodeResponse.md +22 -0
- package/docs/VerifyVerificationCodeBody.md +24 -0
- package/docs/{SumupCancelPaymentRequest.md → VerifyVerificationCodeResponse.md} +5 -5
- package/docs/WaitListEntryWithPlayer.md +44 -0
- package/docs/WaitListPlayer.md +28 -0
- package/docs/WaitListPlayersListResponse.md +22 -0
- package/docs/WaitListStaffApi.md +55 -0
- package/index.ts +1 -1
- package/package.json +2 -4
- package/tsconfig.json +5 -2
- package/dist/esm/api.d.ts +0 -25210
- package/dist/esm/api.js +0 -17399
- package/dist/esm/base.d.ts +0 -66
- package/dist/esm/base.js +0 -60
- package/dist/esm/common.d.ts +0 -65
- package/dist/esm/common.js +0 -149
- package/dist/esm/configuration.d.ts +0 -91
- package/dist/esm/configuration.js +0 -40
- package/dist/esm/index.d.ts +0 -13
- package/dist/esm/index.js +0 -15
- package/docs/CheckInPlayerSumupRequest.md +0 -22
- package/docs/CheckInSumupPaymentInfo.md +0 -26
- package/docs/GetOpenBookingPrice200Response.md +0 -24
- package/docs/GetOpenBookingPriceRequest.md +0 -26
- package/docs/JoinPriceEstimateResponse.md +0 -38
- package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +0 -25
- package/docs/OpenBookingSlotInfo.md +0 -24
- package/docs/PaymentIntentResult.md +0 -28
- package/docs/PaymentsStaffApi.md +0 -124
- package/docs/StaffEventsPaginatedResponse.md +0 -26
- package/docs/SumUpApi.md +0 -63
- package/docs/SumUpManagerApi.md +0 -332
- package/docs/SumupAccountStatusResponse.md +0 -32
- package/docs/SumupCreatePaymentRequest.md +0 -32
- package/docs/SumupOAuthCallbackResponse.md +0 -24
- package/docs/SumupReaderInfo.md +0 -34
- package/tsconfig.esm.json +0 -7
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# NotificationResponseClub
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**picture** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { NotificationResponseClub } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: NotificationResponseClub = {
|
|
18
|
+
picture,
|
|
19
|
+
name,
|
|
20
|
+
id,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
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)
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# NotificationTargetPreview
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { NotificationTargetPreview } from '@tennac-booking/sdk';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
const instance: NotificationTargetPreview = {
|
|
17
|
+
type,
|
|
18
|
+
id,
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -0,0 +1,26 @@
|
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
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)
|
package/docs/OpenBookingInfo.md
CHANGED
|
@@ -11,16 +11,17 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**players** | [**Array<OpenBookingPlayerInfo>**](OpenBookingPlayerInfo.md) | Liste des joueurs avec leurs infos | [default to undefined]
|
|
12
12
|
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
13
13
|
**totalPrice** | **number** | Prix total en euros | [default to undefined]
|
|
14
|
-
**
|
|
14
|
+
**startDate** | **string** | Date de début du premier créneau | [default to undefined]
|
|
15
|
+
**endDate** | **string** | Date de fin du dernier créneau | [default to undefined]
|
|
15
16
|
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
|
|
16
17
|
**createdAt** | **string** | Date de création | [default to undefined]
|
|
17
18
|
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
|
|
18
19
|
**sport** | [**OpenBookingSportInfo**](OpenBookingSportInfo.md) | | [optional] [default to undefined]
|
|
19
20
|
**minLevel** | **string** | Niveau minimal souhaité | [optional] [default to undefined]
|
|
20
21
|
**description** | **string** | Description de la réservation | [optional] [default to undefined]
|
|
21
|
-
**maxPlayers** | **number** | Nombre maximal de joueurs | [optional] [default to undefined]
|
|
22
|
+
**maxPlayers** | **number** | Nombre maximal de joueurs souhaités | [optional] [default to undefined]
|
|
22
23
|
**currentPlayersCount** | **number** | Nombre de joueurs actuels | [default to undefined]
|
|
23
|
-
**
|
|
24
|
+
**joinPrice** | **number** | Prix de base pour rejoindre la réservation (en centimes, stocké lors de la création) | [optional] [default to undefined]
|
|
24
25
|
|
|
25
26
|
## Example
|
|
26
27
|
|
|
@@ -34,7 +35,8 @@ const instance: OpenBookingInfo = {
|
|
|
34
35
|
players,
|
|
35
36
|
status,
|
|
36
37
|
totalPrice,
|
|
37
|
-
|
|
38
|
+
startDate,
|
|
39
|
+
endDate,
|
|
38
40
|
isCreatorPayingAll,
|
|
39
41
|
createdAt,
|
|
40
42
|
updatedAt,
|
|
@@ -43,7 +45,7 @@ const instance: OpenBookingInfo = {
|
|
|
43
45
|
description,
|
|
44
46
|
maxPlayers,
|
|
45
47
|
currentPlayersCount,
|
|
46
|
-
|
|
48
|
+
joinPrice,
|
|
47
49
|
};
|
|
48
50
|
```
|
|
49
51
|
|
|
@@ -0,0 +1,26 @@
|
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
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)
|
|
@@ -0,0 +1,28 @@
|
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
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)
|
package/docs/PlayerPrice.md
CHANGED
|
@@ -8,10 +8,11 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**playerId** | **string** | | [default to undefined]
|
|
9
9
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [default to undefined]
|
|
11
|
+
**subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [optional] [default to undefined]
|
|
12
12
|
**creditAvailablesInCents** | **number** | | [optional] [default to undefined]
|
|
13
13
|
**creditUsedInCents** | **number** | | [optional] [default to undefined]
|
|
14
14
|
**price** | **number** | | [default to undefined]
|
|
15
|
+
**paysAlsoFor** | **Array<string>** | | [optional] [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -26,6 +27,7 @@ const instance: PlayerPrice = {
|
|
|
26
27
|
creditAvailablesInCents,
|
|
27
28
|
creditUsedInCents,
|
|
28
29
|
price,
|
|
30
|
+
paysAlsoFor,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
31
33
|
|
|
@@ -0,0 +1,24 @@
|
|
|
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)
|
package/docs/PublicEmailApi.md
CHANGED
|
@@ -5,7 +5,7 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**authEmailExists**](#authemailexists) | **POST** /api/public-email/auth-email-exists | |
|
|
8
|
-
|[**
|
|
8
|
+
|[**requestPublicEmailVerificationCode**](#requestpublicemailverificationcode) | **POST** /api/public-email/request-verification-code | |
|
|
9
9
|
|[**verifyCode**](#verifycode) | **POST** /api/public-email/verify-code | |
|
|
10
10
|
|
|
11
11
|
# **authEmailExists**
|
|
@@ -60,8 +60,8 @@ No authorization required
|
|
|
60
60
|
|
|
61
61
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
62
62
|
|
|
63
|
-
# **
|
|
64
|
-
> RequestEmailCodeResponse
|
|
63
|
+
# **requestPublicEmailVerificationCode**
|
|
64
|
+
> RequestEmailCodeResponse requestPublicEmailVerificationCode(requestEmailCodeBody)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
### Example
|
|
@@ -78,7 +78,7 @@ const apiInstance = new PublicEmailApi(configuration);
|
|
|
78
78
|
|
|
79
79
|
let requestEmailCodeBody: RequestEmailCodeBody; //
|
|
80
80
|
|
|
81
|
-
const { status, data } = await apiInstance.
|
|
81
|
+
const { status, data } = await apiInstance.requestPublicEmailVerificationCode(
|
|
82
82
|
requestEmailCodeBody
|
|
83
83
|
);
|
|
84
84
|
```
|
|
@@ -8,6 +8,12 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**clubId** | **string** | ID du club | [default to undefined]
|
|
9
9
|
**clubName** | **string** | Nom du club | [default to undefined]
|
|
10
10
|
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
11
|
+
**bannerPictures** | **Array<string>** | Images de bannière du club | [optional] [default to undefined]
|
|
12
|
+
**surfaces** | **Array<string>** | Surfaces des terrains des créneaux retournés | [optional] [default to undefined]
|
|
13
|
+
**courtTypes** | [**Array<QuickReservationCourtType>**](QuickReservationCourtType.md) | Types de terrains (indoor/outdoor) présents dans les créneaux retournés | [optional] [default to undefined]
|
|
14
|
+
**hasIndoor** | **boolean** | Indique si au moins un créneau est en intérieur | [optional] [default to undefined]
|
|
15
|
+
**hasOutdoor** | **boolean** | Indique si au moins un créneau est en extérieur | [optional] [default to undefined]
|
|
16
|
+
**durationsMinutes** | **Array<number>** | Durées de créneaux présentes (en minutes) | [optional] [default to undefined]
|
|
11
17
|
**distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
|
|
12
18
|
**location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
|
|
13
19
|
**slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
|
|
@@ -22,6 +28,12 @@ const instance: QuickReservationClubSummary = {
|
|
|
22
28
|
clubId,
|
|
23
29
|
clubName,
|
|
24
30
|
description,
|
|
31
|
+
bannerPictures,
|
|
32
|
+
surfaces,
|
|
33
|
+
courtTypes,
|
|
34
|
+
hasIndoor,
|
|
35
|
+
hasOutdoor,
|
|
36
|
+
durationsMinutes,
|
|
25
37
|
distanceInMeters,
|
|
26
38
|
location,
|
|
27
39
|
slots,
|
|
@@ -0,0 +1,10 @@
|
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
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,19 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# RequestVerificationCodeResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**sent** | **boolean** | | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { RequestVerificationCodeResponse } from '@tennac-booking/sdk';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
16
|
-
|
|
15
|
+
const instance: RequestVerificationCodeResponse = {
|
|
16
|
+
sent,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
19
19
|
|
package/docs/SportResponse.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
|
|
13
13
|
**logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
|
|
14
14
|
**maxPlayers** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**slotDurations** | **Array<number>** | Durées de créneaux disponibles sur les terrains de ce sport (en minutes) | [optional] [default to undefined]
|
|
15
16
|
**surface** | **Array<string>** | Types de surface pour le sport | [optional] [default to undefined]
|
|
16
17
|
**createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
|
|
17
18
|
**verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: SportResponse = {
|
|
|
31
32
|
levels,
|
|
32
33
|
logos,
|
|
33
34
|
maxPlayers,
|
|
35
|
+
slotDurations,
|
|
34
36
|
surface,
|
|
35
37
|
createdBy,
|
|
36
38
|
verified,
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**invoices** | [**Array<StaffEventBookingInvoiceResponse>**](StaffEventBookingInvoiceResponse.md) | | [default to undefined]
|
|
15
15
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**amount** | **number** | | [optional] [default to undefined]
|
|
17
18
|
**createdAt** | **string** | | [default to undefined]
|
|
18
19
|
**updatedAt** | **string** | | [default to undefined]
|
|
19
20
|
|
|
@@ -32,6 +33,7 @@ const instance: StaffEventBookingResponse = {
|
|
|
32
33
|
invoices,
|
|
33
34
|
limitSetupDate,
|
|
34
35
|
limitCancellationDate,
|
|
36
|
+
amount,
|
|
35
37
|
createdAt,
|
|
36
38
|
updatedAt,
|
|
37
39
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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)
|
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -51,6 +53,8 @@ const instance: StaffUserProfileResponse = {
|
|
|
51
53
|
googleId,
|
|
52
54
|
firstName,
|
|
53
55
|
lastName,
|
|
56
|
+
firstNameNormalized,
|
|
57
|
+
lastNameNormalized,
|
|
54
58
|
email,
|
|
55
59
|
gender,
|
|
56
60
|
location,
|
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**validTo** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**offPeakRuleNames** | **Array<string>** | | [optional] [default to undefined]
|
|
14
14
|
**offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
|
|
15
|
+
**pricingPeriodDiscounts** | [**Array<PricingPeriodDiscount>**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
|
|
15
16
|
**bookingFree** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
@@ -27,6 +28,7 @@ const instance: SubscriptionPlanDiscountResponse = {
|
|
|
27
28
|
validTo,
|
|
28
29
|
offPeakRuleNames,
|
|
29
30
|
offPeakRules,
|
|
31
|
+
pricingPeriodDiscounts,
|
|
30
32
|
bookingFree,
|
|
31
33
|
};
|
|
32
34
|
```
|
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**offPeakRuleNames** | **Array<string>** | | [optional] [default to undefined]
|
|
14
14
|
**offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
|
|
15
15
|
**pricingPeriodIds** | **Array<string>** | | [optional] [default to undefined]
|
|
16
|
+
**pricingPeriodDiscounts** | [**Array<PricingPeriodDiscount>**](PricingPeriodDiscount.md) | | [optional] [default to undefined]
|
|
16
17
|
**bookingFree** | **boolean** | | [optional] [default to undefined]
|
|
17
18
|
|
|
18
19
|
## Example
|
|
@@ -29,6 +30,7 @@ const instance: SubscriptionPlanDiscountUpdateRequest = {
|
|
|
29
30
|
offPeakRuleNames,
|
|
30
31
|
offPeakRules,
|
|
31
32
|
pricingPeriodIds,
|
|
33
|
+
pricingPeriodDiscounts,
|
|
32
34
|
bookingFree,
|
|
33
35
|
};
|
|
34
36
|
```
|