@tennac-booking/sdk 1.0.225 → 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 +3538 -4733
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +3766 -4855
- package/dist/api.js +9858 -15754
- 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 +79 -25
- 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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# OpenBookingSlotInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID du slot | [default to undefined]
|
|
9
|
+
**startDate** | **string** | Date de début ISO | [default to undefined]
|
|
10
|
+
**endDate** | **string** | Date de fin ISO | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { OpenBookingSlotInfo } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: OpenBookingSlotInfo = {
|
|
18
|
+
id,
|
|
19
|
+
startDate,
|
|
20
|
+
endDate,
|
|
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,28 @@
|
|
|
1
|
+
# PaymentIntentResult
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentId** | **string** | | [default to undefined]
|
|
9
|
+
**externalId** | **string** | | [default to undefined]
|
|
10
|
+
**status** | [**PaymentStatus**](PaymentStatus.md) | | [default to undefined]
|
|
11
|
+
**provider** | [**PaymentProviderType**](PaymentProviderType.md) | | [default to undefined]
|
|
12
|
+
**readerId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PaymentIntentResult } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: PaymentIntentResult = {
|
|
20
|
+
paymentId,
|
|
21
|
+
externalId,
|
|
22
|
+
status,
|
|
23
|
+
provider,
|
|
24
|
+
readerId,
|
|
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,10 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PaymentProviderType
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Enum
|
|
5
5
|
|
|
6
|
-
* `
|
|
6
|
+
* `Stripe` (value: `'stripe'`)
|
|
7
7
|
|
|
8
|
-
* `
|
|
8
|
+
* `Sumup` (value: `'sumup'`)
|
|
9
9
|
|
|
10
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,12 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PaymentStatus
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Enum
|
|
5
5
|
|
|
6
|
-
* `
|
|
6
|
+
* `Pending` (value: `'pending'`)
|
|
7
7
|
|
|
8
|
-
* `
|
|
8
|
+
* `Succeeded` (value: `'succeeded'`)
|
|
9
9
|
|
|
10
|
-
* `
|
|
10
|
+
* `Failed` (value: `'failed'`)
|
|
11
|
+
|
|
12
|
+
* `Cancelled` (value: `'cancelled'`)
|
|
11
13
|
|
|
12
14
|
[[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,124 @@
|
|
|
1
|
+
# PaymentsStaffApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**cancelSumupPayment**](#cancelsumuppayment) | **POST** /api/clubs/{clubId}/payments/sumup/{paymentId}/cancel | |
|
|
8
|
+
|[**createSumupPayment**](#createsumuppayment) | **POST** /api/clubs/{clubId}/payments/sumup | |
|
|
9
|
+
|
|
10
|
+
# **cancelSumupPayment**
|
|
11
|
+
> cancelSumupPayment()
|
|
12
|
+
|
|
13
|
+
Cancel a SumUp reader checkout.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
PaymentsStaffApi,
|
|
20
|
+
Configuration,
|
|
21
|
+
SumupCancelPaymentRequest
|
|
22
|
+
} from '@tennac-booking/sdk';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new PaymentsStaffApi(configuration);
|
|
26
|
+
|
|
27
|
+
let clubId: string; // (default to undefined)
|
|
28
|
+
let paymentId: string; // (default to undefined)
|
|
29
|
+
let sumupCancelPaymentRequest: SumupCancelPaymentRequest; // (optional)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.cancelSumupPayment(
|
|
32
|
+
clubId,
|
|
33
|
+
paymentId,
|
|
34
|
+
sumupCancelPaymentRequest
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **sumupCancelPaymentRequest** | **SumupCancelPaymentRequest**| | |
|
|
43
|
+
| **clubId** | [**string**] | | defaults to undefined|
|
|
44
|
+
| **paymentId** | [**string**] | | defaults to undefined|
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
void (empty response body)
|
|
50
|
+
|
|
51
|
+
### Authorization
|
|
52
|
+
|
|
53
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
54
|
+
|
|
55
|
+
### HTTP request headers
|
|
56
|
+
|
|
57
|
+
- **Content-Type**: application/json
|
|
58
|
+
- **Accept**: Not defined
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### HTTP response details
|
|
62
|
+
| Status code | Description | Response headers |
|
|
63
|
+
|-------------|-------------|------------------|
|
|
64
|
+
|**204** | Paiement annulé | - |
|
|
65
|
+
|**400** | Bad Request | - |
|
|
66
|
+
|
|
67
|
+
[[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)
|
|
68
|
+
|
|
69
|
+
# **createSumupPayment**
|
|
70
|
+
> PaymentIntentResult createSumupPayment(sumupCreatePaymentRequest)
|
|
71
|
+
|
|
72
|
+
Start a SumUp reader checkout (manual payment trigger).
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
PaymentsStaffApi,
|
|
79
|
+
Configuration,
|
|
80
|
+
SumupCreatePaymentRequest
|
|
81
|
+
} from '@tennac-booking/sdk';
|
|
82
|
+
|
|
83
|
+
const configuration = new Configuration();
|
|
84
|
+
const apiInstance = new PaymentsStaffApi(configuration);
|
|
85
|
+
|
|
86
|
+
let clubId: string; // (default to undefined)
|
|
87
|
+
let sumupCreatePaymentRequest: SumupCreatePaymentRequest; //
|
|
88
|
+
|
|
89
|
+
const { status, data } = await apiInstance.createSumupPayment(
|
|
90
|
+
clubId,
|
|
91
|
+
sumupCreatePaymentRequest
|
|
92
|
+
);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
|Name | Type | Description | Notes|
|
|
98
|
+
|------------- | ------------- | ------------- | -------------|
|
|
99
|
+
| **sumupCreatePaymentRequest** | **SumupCreatePaymentRequest**| | |
|
|
100
|
+
| **clubId** | [**string**] | | defaults to undefined|
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Return type
|
|
104
|
+
|
|
105
|
+
**PaymentIntentResult**
|
|
106
|
+
|
|
107
|
+
### Authorization
|
|
108
|
+
|
|
109
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
110
|
+
|
|
111
|
+
### HTTP request headers
|
|
112
|
+
|
|
113
|
+
- **Content-Type**: application/json
|
|
114
|
+
- **Accept**: application/json
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### HTTP response details
|
|
118
|
+
| Status code | Description | Response headers |
|
|
119
|
+
|-------------|-------------|------------------|
|
|
120
|
+
|**201** | Paiement SumUp créé | - |
|
|
121
|
+
|**400** | Bad Request | - |
|
|
122
|
+
|
|
123
|
+
[[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)
|
|
124
|
+
|
package/docs/PlayerPrice.md
CHANGED
|
@@ -8,11 +8,10 @@ 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) | | [
|
|
11
|
+
**subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [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]
|
|
16
15
|
|
|
17
16
|
## Example
|
|
18
17
|
|
|
@@ -27,7 +26,6 @@ const instance: PlayerPrice = {
|
|
|
27
26
|
creditAvailablesInCents,
|
|
28
27
|
creditUsedInCents,
|
|
29
28
|
price,
|
|
30
|
-
paysAlsoFor,
|
|
31
29
|
};
|
|
32
30
|
```
|
|
33
31
|
|
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
|
+
|[**requestVerificationCode**](#requestverificationcode) | **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
|
+
# **requestVerificationCode**
|
|
64
|
+
> RequestEmailCodeResponse requestVerificationCode(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.requestVerificationCode(
|
|
82
82
|
requestEmailCodeBody
|
|
83
83
|
);
|
|
84
84
|
```
|
|
@@ -8,12 +8,6 @@ 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]
|
|
17
11
|
**distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
|
|
18
12
|
**location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
|
|
19
13
|
**slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
|
|
@@ -28,12 +22,6 @@ const instance: QuickReservationClubSummary = {
|
|
|
28
22
|
clubId,
|
|
29
23
|
clubName,
|
|
30
24
|
description,
|
|
31
|
-
bannerPictures,
|
|
32
|
-
surfaces,
|
|
33
|
-
courtTypes,
|
|
34
|
-
hasIndoor,
|
|
35
|
-
hasOutdoor,
|
|
36
|
-
durationsMinutes,
|
|
37
25
|
distanceInMeters,
|
|
38
26
|
location,
|
|
39
27
|
slots,
|
package/docs/SportResponse.md
CHANGED
|
@@ -12,7 +12,6 @@ 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]
|
|
16
15
|
**surface** | **Array<string>** | Types de surface pour le sport | [optional] [default to undefined]
|
|
17
16
|
**createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
|
|
18
17
|
**verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
|
|
@@ -32,7 +31,6 @@ const instance: SportResponse = {
|
|
|
32
31
|
levels,
|
|
33
32
|
logos,
|
|
34
33
|
maxPlayers,
|
|
35
|
-
slotDurations,
|
|
36
34
|
surface,
|
|
37
35
|
createdBy,
|
|
38
36
|
verified,
|
|
@@ -14,7 +14,6 @@ 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]
|
|
18
17
|
**createdAt** | **string** | | [default to undefined]
|
|
19
18
|
**updatedAt** | **string** | | [default to undefined]
|
|
20
19
|
|
|
@@ -33,7 +32,6 @@ const instance: StaffEventBookingResponse = {
|
|
|
33
32
|
invoices,
|
|
34
33
|
limitSetupDate,
|
|
35
34
|
limitCancellationDate,
|
|
36
|
-
amount,
|
|
37
35
|
createdAt,
|
|
38
36
|
updatedAt,
|
|
39
37
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# StaffEventsPaginatedResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**upcoming** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
9
|
+
**past** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
|
|
10
|
+
**upcomingPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
11
|
+
**pastPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { StaffEventsPaginatedResponse } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: StaffEventsPaginatedResponse = {
|
|
19
|
+
upcoming,
|
|
20
|
+
past,
|
|
21
|
+
upcomingPagination,
|
|
22
|
+
pastPagination,
|
|
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)
|
|
@@ -9,8 +9,6 @@ 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]
|
|
14
12
|
**email** | **string** | | [default to undefined]
|
|
15
13
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
16
14
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -53,8 +51,6 @@ const instance: StaffUserProfileResponse = {
|
|
|
53
51
|
googleId,
|
|
54
52
|
firstName,
|
|
55
53
|
lastName,
|
|
56
|
-
firstNameNormalized,
|
|
57
|
-
lastNameNormalized,
|
|
58
54
|
email,
|
|
59
55
|
gender,
|
|
60
56
|
location,
|
|
@@ -12,7 +12,6 @@ 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]
|
|
16
15
|
**bookingFree** | **boolean** | | [optional] [default to undefined]
|
|
17
16
|
|
|
18
17
|
## Example
|
|
@@ -28,7 +27,6 @@ const instance: SubscriptionPlanDiscountResponse = {
|
|
|
28
27
|
validTo,
|
|
29
28
|
offPeakRuleNames,
|
|
30
29
|
offPeakRules,
|
|
31
|
-
pricingPeriodDiscounts,
|
|
32
30
|
bookingFree,
|
|
33
31
|
};
|
|
34
32
|
```
|
|
@@ -13,7 +13,6 @@ 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]
|
|
17
16
|
**bookingFree** | **boolean** | | [optional] [default to undefined]
|
|
18
17
|
|
|
19
18
|
## Example
|
|
@@ -30,7 +29,6 @@ const instance: SubscriptionPlanDiscountUpdateRequest = {
|
|
|
30
29
|
offPeakRuleNames,
|
|
31
30
|
offPeakRules,
|
|
32
31
|
pricingPeriodIds,
|
|
33
|
-
pricingPeriodDiscounts,
|
|
34
32
|
bookingFree,
|
|
35
33
|
};
|
|
36
34
|
```
|
package/docs/SumUpApi.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# SumUpApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**sumupOauthCallback**](#sumupoauthcallback) | **GET** /api/sumup/oauth/callback | |
|
|
8
|
+
|
|
9
|
+
# **sumupOauthCallback**
|
|
10
|
+
> SumupOAuthCallbackResponse sumupOauthCallback()
|
|
11
|
+
|
|
12
|
+
OAuth callback for SumUp.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
SumUpApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new SumUpApi(configuration);
|
|
24
|
+
|
|
25
|
+
let code: string; // (default to undefined)
|
|
26
|
+
let state: string; // (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.sumupOauthCallback(
|
|
29
|
+
code,
|
|
30
|
+
state
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **code** | [**string**] | | defaults to undefined|
|
|
39
|
+
| **state** | [**string**] | | defaults to undefined|
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**SumupOAuthCallbackResponse**
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
No authorization required
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: Not defined
|
|
53
|
+
- **Accept**: application/json
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### HTTP response details
|
|
57
|
+
| Status code | Description | Response headers |
|
|
58
|
+
|-------------|-------------|------------------|
|
|
59
|
+
|**200** | Connexion SumUp enregistrée | - |
|
|
60
|
+
|**400** | Bad Request | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|