@tennac-booking/sdk 1.0.86 → 1.0.88
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 +256 -243
- package/README.md +49 -26
- package/api.ts +2623 -1424
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +2072 -1280
- package/dist/api.js +920 -291
- 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 +2072 -1280
- package/dist/esm/api.js +913 -284
- 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/{DeleteClubSettingsResponse.md → AddPaymentMethodRequestBody.md} +5 -5
- package/docs/BookingDetailResponse.md +46 -0
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +3 -3
- package/docs/BookingResponse.md +0 -2
- package/docs/BookingSummary.md +2 -54
- package/docs/BookingsApi.md +0 -55
- package/docs/ClubAnalyticsStaffApi.md +173 -0
- package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
- package/docs/ClubGeneralSettingsResponse.md +32 -0
- package/docs/ClubHoursSettingsResponse.md +22 -0
- package/docs/ClubLocationSettings.md +26 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsPagination.md +28 -0
- package/docs/ClubPlayerBookingsResponse.md +24 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubPresentationSettingsResponse.md +26 -0
- package/docs/ClubPricingPeriodResponse.md +30 -0
- package/docs/ClubReservationSettingsResponse.md +28 -0
- package/docs/ClubResponse.md +0 -8
- package/docs/ClubSettingsManagerApi.md +54 -60
- package/docs/ClubSettingsStaffApi.md +183 -0
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsManagerApi.md +52 -0
- package/docs/ClubsStaffApi.md +44 -0
- package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
- package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +1 -1
- package/docs/IUserAttributes.md +12 -2
- package/docs/PartialClubResponse.md +0 -8
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/QuickReservationClubSummary.md +0 -4
- package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/StaffUserProfileResponse.md +12 -2
- package/docs/SubscribeRequestBody.md +0 -2
- package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
- package/docs/UpdateClubHoursSettingsRequest.md +22 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
- package/docs/UpdateClubReservationSettingsRequest.md +28 -0
- package/docs/UpdateEventRequest.md +1 -1
- package/docs/UserProfileResponse.md +12 -4
- package/docs/UsersApi.md +160 -4
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/BookingClubInfo.md +0 -28
- package/docs/BookingPaymentStatus.md +0 -24
- package/docs/BookingPlayerPaymentSummary.md +0 -34
- package/docs/BookingPriceResponse.md +0 -22
- package/docs/BookingSlotInfo.md +0 -30
- package/docs/ClubSettingsResponse.md +0 -39
- package/docs/CreateClubSettingsRequest.md +0 -34
- package/docs/InvoiceStatus.md +0 -22
- package/docs/PlayerPrice.md +0 -30
- package/docs/QuickReservationClubSport.md +0 -22
- package/docs/SportsPublicApi.md +0 -53
- package/docs/SubscriptionInfo.md +0 -24
- package/docs/UpdateClubSettingsRequest.md +0 -32
- package/docs/UserBookingsResponse.md +0 -28
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**startDate** | **string** | | [default to undefined]
|
|
13
13
|
**endDate** | **string** | | [default to undefined]
|
|
14
|
-
**courts** |
|
|
14
|
+
**courts** | **Array<string>** | | [default to undefined]
|
|
15
15
|
**sports** | **Array<string>** | | [default to undefined]
|
|
16
16
|
**recurringType** | **string** | | [default to undefined]
|
|
17
17
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**teamLimit** | **number** | | [optional] [default to undefined]
|
|
23
23
|
**price** | **number** | | [optional] [default to undefined]
|
|
24
24
|
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
|
|
25
|
+
**levels** | **Array<number>** | | [optional] [default to undefined]
|
|
25
26
|
**visibilityType** | **string** | | [default to undefined]
|
|
26
27
|
|
|
27
28
|
## Example
|
|
@@ -47,6 +48,7 @@ const instance: CreateEventRequest = {
|
|
|
47
48
|
teamLimit,
|
|
48
49
|
price,
|
|
49
50
|
subscriberPrices,
|
|
51
|
+
levels,
|
|
50
52
|
visibilityType,
|
|
51
53
|
};
|
|
52
54
|
```
|
package/docs/EventResponse.md
CHANGED
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**startDate** | **string** | | [default to undefined]
|
|
15
15
|
**endDate** | **string** | | [default to undefined]
|
|
16
|
-
**courts** |
|
|
16
|
+
**courts** | **Array<string>** | | [default to undefined]
|
|
17
17
|
**sports** | [**Array<SportWithLevels>**](SportWithLevels.md) | | [default to undefined]
|
|
18
18
|
**recurringType** | **string** | | [default to undefined]
|
|
19
19
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
package/docs/IUserAttributes.md
CHANGED
|
@@ -13,7 +13,9 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
14
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
15
15
|
**isAccountVerified** | **boolean** | | [default to undefined]
|
|
16
|
+
**isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
**levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
|
|
18
|
+
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
17
19
|
**phone** | **string** | | [optional] [default to undefined]
|
|
18
20
|
**password** | **string** | | [optional] [default to undefined]
|
|
19
21
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
@@ -26,12 +28,15 @@ Name | Type | Description | Notes
|
|
|
26
28
|
**createdAt** | **string** | | [default to undefined]
|
|
27
29
|
**updatedAt** | **string** | | [default to undefined]
|
|
28
30
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
31
|
+
**paymentMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
32
|
+
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
33
|
+
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
34
|
+
**setupIntentId** | **string** | | [optional] [default to undefined]
|
|
29
35
|
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
30
36
|
**description** | **string** | | [optional] [default to undefined]
|
|
31
37
|
**isProfileVisible** | **boolean** | | [default to undefined]
|
|
32
38
|
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
33
39
|
**sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
34
|
-
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
35
40
|
|
|
36
41
|
## Example
|
|
37
42
|
|
|
@@ -47,7 +52,9 @@ const instance: IUserAttributes = {
|
|
|
47
52
|
gender,
|
|
48
53
|
location,
|
|
49
54
|
isAccountVerified,
|
|
55
|
+
isCreditCardRegistered,
|
|
50
56
|
levelBySports,
|
|
57
|
+
stripeCustomerId,
|
|
51
58
|
phone,
|
|
52
59
|
password,
|
|
53
60
|
profilePicture,
|
|
@@ -60,12 +67,15 @@ const instance: IUserAttributes = {
|
|
|
60
67
|
createdAt,
|
|
61
68
|
updatedAt,
|
|
62
69
|
isLevelCertified,
|
|
70
|
+
paymentMethods,
|
|
71
|
+
defaultPaymentMethodId,
|
|
72
|
+
paymentMethodSetupCompleted,
|
|
73
|
+
setupIntentId,
|
|
63
74
|
favoriteClubs,
|
|
64
75
|
description,
|
|
65
76
|
isProfileVisible,
|
|
66
77
|
favoritePlayers,
|
|
67
78
|
sports,
|
|
68
|
-
stripeCustomerId,
|
|
69
79
|
};
|
|
70
80
|
```
|
|
71
81
|
|
|
@@ -20,10 +20,6 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
|
|
21
21
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
22
22
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
23
|
-
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
24
|
-
**sameTimeBookingsLimit** | **number** | Limite de réservations simultanées (même créneau) | [optional] [default to undefined]
|
|
25
|
-
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
26
|
-
**maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
|
|
27
23
|
**createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
|
|
28
24
|
**updatedAt** | [**ClubResponseUpdatedAt**](ClubResponseUpdatedAt.md) | | [optional] [default to undefined]
|
|
29
25
|
|
|
@@ -47,10 +43,6 @@ const instance: PartialClubResponse = {
|
|
|
47
43
|
clubDashBoardUrl,
|
|
48
44
|
isNoShowEnabled,
|
|
49
45
|
sports,
|
|
50
|
-
allowMultipleBookingsAtTheSameTime,
|
|
51
|
-
sameTimeBookingsLimit,
|
|
52
|
-
cancellationLimitHours,
|
|
53
|
-
maxWeeklyBookings,
|
|
54
46
|
createdAt,
|
|
55
47
|
updatedAt,
|
|
56
48
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# PartialClubWeeklySchedule
|
|
2
|
+
|
|
3
|
+
Make all properties in T optional
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
10
|
+
**tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
11
|
+
**wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
12
|
+
**thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
13
|
+
**friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
14
|
+
**saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
15
|
+
**sunday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { PartialClubWeeklySchedule } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: PartialClubWeeklySchedule = {
|
|
23
|
+
monday,
|
|
24
|
+
tuesday,
|
|
25
|
+
wednesday,
|
|
26
|
+
thursday,
|
|
27
|
+
friday,
|
|
28
|
+
saturday,
|
|
29
|
+
sunday,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[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
|
+
# PaymentMethodSetupResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
**paymentMethods** | **Array<string>** | | [default to undefined]
|
|
10
|
+
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PaymentMethodSetupResponse } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: PaymentMethodSetupResponse = {
|
|
18
|
+
message,
|
|
19
|
+
paymentMethods,
|
|
20
|
+
defaultPaymentMethodId,
|
|
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)
|
|
@@ -7,11 +7,9 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**clubId** | **string** | ID du club | [default to undefined]
|
|
9
9
|
**clubName** | **string** | Nom du club | [default to undefined]
|
|
10
|
-
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
11
10
|
**distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
|
|
12
11
|
**location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
|
|
13
12
|
**slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
|
|
14
|
-
**sports** | [**Array<QuickReservationClubSport>**](QuickReservationClubSport.md) | Sports disponibles dans le club | [optional] [default to undefined]
|
|
15
13
|
|
|
16
14
|
## Example
|
|
17
15
|
|
|
@@ -21,11 +19,9 @@ import { QuickReservationClubSummary } from '@tennac-booking/sdk';
|
|
|
21
19
|
const instance: QuickReservationClubSummary = {
|
|
22
20
|
clubId,
|
|
23
21
|
clubName,
|
|
24
|
-
description,
|
|
25
22
|
distanceInMeters,
|
|
26
23
|
location,
|
|
27
24
|
slots,
|
|
28
|
-
sports,
|
|
29
25
|
};
|
|
30
26
|
```
|
|
31
27
|
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SetupPaymentMethodRequestBody
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**clubId** | **string** | | [default to undefined]
|
|
8
9
|
|
|
9
10
|
## Example
|
|
10
11
|
|
|
11
12
|
```typescript
|
|
12
|
-
import {
|
|
13
|
+
import { SetupPaymentMethodRequestBody } from '@tennac-booking/sdk';
|
|
13
14
|
|
|
14
|
-
const instance:
|
|
15
|
+
const instance: SetupPaymentMethodRequestBody = {
|
|
16
|
+
clubId,
|
|
15
17
|
};
|
|
16
18
|
```
|
|
17
19
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SetupPaymentMethodResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**setupIntentId** | **string** | | [default to undefined]
|
|
9
|
+
**clientSecret** | **string** | | [default to undefined]
|
|
10
|
+
**message** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SetupPaymentMethodResponse } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: SetupPaymentMethodResponse = {
|
|
18
|
+
setupIntentId,
|
|
19
|
+
clientSecret,
|
|
20
|
+
message,
|
|
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/SlotInfo.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | ID du slot | [default to undefined]
|
|
9
9
|
**startDate** | **string** | Date de début | [default to undefined]
|
|
10
10
|
**endDate** | **string** | Date de fin | [default to undefined]
|
|
11
|
-
**
|
|
11
|
+
**court** | [**CourtInfo**](CourtInfo.md) | | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ const instance: SlotInfo = {
|
|
|
19
19
|
id,
|
|
20
20
|
startDate,
|
|
21
21
|
endDate,
|
|
22
|
-
|
|
22
|
+
court,
|
|
23
23
|
};
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -13,7 +13,9 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
14
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
15
15
|
**isAccountVerified** | **boolean** | | [default to undefined]
|
|
16
|
+
**isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
**levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
|
|
18
|
+
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
17
19
|
**phone** | **string** | | [optional] [default to undefined]
|
|
18
20
|
**password** | **string** | | [optional] [default to undefined]
|
|
19
21
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
@@ -26,12 +28,15 @@ Name | Type | Description | Notes
|
|
|
26
28
|
**createdAt** | **string** | | [default to undefined]
|
|
27
29
|
**updatedAt** | **string** | | [default to undefined]
|
|
28
30
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
31
|
+
**paymentMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
32
|
+
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
33
|
+
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
34
|
+
**setupIntentId** | **string** | | [optional] [default to undefined]
|
|
29
35
|
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
30
36
|
**description** | **string** | | [optional] [default to undefined]
|
|
31
37
|
**isProfileVisible** | **boolean** | | [default to undefined]
|
|
32
38
|
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
33
39
|
**sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
34
|
-
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
35
40
|
**isSubscribedToMyClub** | **boolean** | | [optional] [default to undefined]
|
|
36
41
|
**creditOnMyClub** | **number** | | [optional] [default to undefined]
|
|
37
42
|
|
|
@@ -49,7 +54,9 @@ const instance: StaffUserProfileResponse = {
|
|
|
49
54
|
gender,
|
|
50
55
|
location,
|
|
51
56
|
isAccountVerified,
|
|
57
|
+
isCreditCardRegistered,
|
|
52
58
|
levelBySports,
|
|
59
|
+
stripeCustomerId,
|
|
53
60
|
phone,
|
|
54
61
|
password,
|
|
55
62
|
profilePicture,
|
|
@@ -62,12 +69,15 @@ const instance: StaffUserProfileResponse = {
|
|
|
62
69
|
createdAt,
|
|
63
70
|
updatedAt,
|
|
64
71
|
isLevelCertified,
|
|
72
|
+
paymentMethods,
|
|
73
|
+
defaultPaymentMethodId,
|
|
74
|
+
paymentMethodSetupCompleted,
|
|
75
|
+
setupIntentId,
|
|
65
76
|
favoriteClubs,
|
|
66
77
|
description,
|
|
67
78
|
isProfileVisible,
|
|
68
79
|
favoritePlayers,
|
|
69
80
|
sports,
|
|
70
|
-
stripeCustomerId,
|
|
71
81
|
isSubscribedToMyClub,
|
|
72
82
|
creditOnMyClub,
|
|
73
83
|
};
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**clubId** | **string** | | [default to undefined]
|
|
9
9
|
**priceId** | **string** | | [default to undefined]
|
|
10
|
-
**useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
@@ -17,7 +16,6 @@ import { SubscribeRequestBody } from '@tennac-booking/sdk';
|
|
|
17
16
|
const instance: SubscribeRequestBody = {
|
|
18
17
|
clubId,
|
|
19
18
|
priceId,
|
|
20
|
-
useDefaultPaymentMethod,
|
|
21
19
|
};
|
|
22
20
|
```
|
|
23
21
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# UpdateClubGeneralSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**rib** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**logo** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { UpdateClubGeneralSettingsRequest } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: UpdateClubGeneralSettingsRequest = {
|
|
23
|
+
name,
|
|
24
|
+
email,
|
|
25
|
+
phone,
|
|
26
|
+
websiteUrl,
|
|
27
|
+
description,
|
|
28
|
+
rib,
|
|
29
|
+
logo,
|
|
30
|
+
location,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateClubHoursSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**schedule** | [**PartialClubWeeklySchedule**](PartialClubWeeklySchedule.md) | | [optional] [default to undefined]
|
|
9
|
+
**pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateClubHoursSettingsRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateClubHoursSettingsRequest = {
|
|
17
|
+
schedule,
|
|
18
|
+
pricingPeriods,
|
|
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
|
+
# UpdateClubPresentationSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**bannerImages** | **Array<string | null>** | | [optional] [default to undefined]
|
|
11
|
+
**galleryImages** | **Array<string | null>** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { UpdateClubPresentationSettingsRequest } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: UpdateClubPresentationSettingsRequest = {
|
|
19
|
+
description,
|
|
20
|
+
tags,
|
|
21
|
+
bannerImages,
|
|
22
|
+
galleryImages,
|
|
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
|
+
# UpdateClubReservationSettingsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**maxWeeklyBookings** | **number** | | [default to undefined]
|
|
9
|
+
**unlimitedWeeklyBookings** | **boolean** | | [default to undefined]
|
|
10
|
+
**sameTimeBookingsLimit** | **number** | | [default to undefined]
|
|
11
|
+
**cancellationDelayInHours** | **number** | | [default to undefined]
|
|
12
|
+
**bookingPeriodInDays** | **number** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { UpdateClubReservationSettingsRequest } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: UpdateClubReservationSettingsRequest = {
|
|
20
|
+
maxWeeklyBookings,
|
|
21
|
+
unlimitedWeeklyBookings,
|
|
22
|
+
sameTimeBookingsLimit,
|
|
23
|
+
cancellationDelayInHours,
|
|
24
|
+
bookingPeriodInDays,
|
|
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)
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**photoUrl** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**startDate** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**endDate** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**courts** |
|
|
14
|
+
**courts** | **Array<string>** | | [optional] [default to undefined]
|
|
15
15
|
**sports** | **Array<string>** | | [optional] [default to undefined]
|
|
16
16
|
**recurringType** | **string** | | [optional] [default to undefined]
|
|
17
17
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
@@ -13,7 +13,9 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
14
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
15
15
|
**isAccountVerified** | **boolean** | | [default to undefined]
|
|
16
|
+
**isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
**levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
|
|
18
|
+
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
17
19
|
**phone** | **string** | | [optional] [default to undefined]
|
|
18
20
|
**password** | **string** | | [optional] [default to undefined]
|
|
19
21
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
@@ -26,19 +28,21 @@ Name | Type | Description | Notes
|
|
|
26
28
|
**createdAt** | **string** | | [default to undefined]
|
|
27
29
|
**updatedAt** | **string** | | [default to undefined]
|
|
28
30
|
**isLevelCertified** | **boolean** | | [optional] [default to undefined]
|
|
31
|
+
**paymentMethods** | **Array<string>** | | [optional] [default to undefined]
|
|
32
|
+
**defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
33
|
+
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
34
|
+
**setupIntentId** | **string** | | [optional] [default to undefined]
|
|
29
35
|
**favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
|
|
30
36
|
**description** | **string** | | [optional] [default to undefined]
|
|
31
37
|
**isProfileVisible** | **boolean** | | [default to undefined]
|
|
32
38
|
**favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
|
|
33
39
|
**sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
34
|
-
**stripeCustomerId** | **string** | | [optional] [default to undefined]
|
|
35
40
|
**upcomingBookingsCount** | **number** | | [optional] [default to undefined]
|
|
36
41
|
**subscriptionsCount** | **number** | | [optional] [default to undefined]
|
|
37
42
|
**subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [optional] [default to undefined]
|
|
38
43
|
**frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
39
44
|
**frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
|
|
40
45
|
**stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
41
|
-
**verifiedSports** | [**Array<SportResponse>**](SportResponse.md) | | [optional] [default to undefined]
|
|
42
46
|
|
|
43
47
|
## Example
|
|
44
48
|
|
|
@@ -54,7 +58,9 @@ const instance: UserProfileResponse = {
|
|
|
54
58
|
gender,
|
|
55
59
|
location,
|
|
56
60
|
isAccountVerified,
|
|
61
|
+
isCreditCardRegistered,
|
|
57
62
|
levelBySports,
|
|
63
|
+
stripeCustomerId,
|
|
58
64
|
phone,
|
|
59
65
|
password,
|
|
60
66
|
profilePicture,
|
|
@@ -67,19 +73,21 @@ const instance: UserProfileResponse = {
|
|
|
67
73
|
createdAt,
|
|
68
74
|
updatedAt,
|
|
69
75
|
isLevelCertified,
|
|
76
|
+
paymentMethods,
|
|
77
|
+
defaultPaymentMethodId,
|
|
78
|
+
paymentMethodSetupCompleted,
|
|
79
|
+
setupIntentId,
|
|
70
80
|
favoriteClubs,
|
|
71
81
|
description,
|
|
72
82
|
isProfileVisible,
|
|
73
83
|
favoritePlayers,
|
|
74
84
|
sports,
|
|
75
|
-
stripeCustomerId,
|
|
76
85
|
upcomingBookingsCount,
|
|
77
86
|
subscriptionsCount,
|
|
78
87
|
subscriptions,
|
|
79
88
|
frequentlyVisitedClubs,
|
|
80
89
|
frequentlyPlayedWith,
|
|
81
90
|
stripeLinks,
|
|
82
|
-
verifiedSports,
|
|
83
91
|
};
|
|
84
92
|
```
|
|
85
93
|
|