@tennac-booking/sdk 1.0.77 → 1.0.79
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 +5 -16
- package/README.md +8 -24
- package/api.ts +505 -1247
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +320 -899
- package/dist/api.js +162 -396
- 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 +320 -899
- package/dist/esm/api.js +157 -395
- 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/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +2 -0
- package/docs/{AddPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
- package/docs/BookingResponse.md +2 -0
- package/docs/BookingsApi.md +52 -0
- package/docs/ClubAnalyticsStaffApi.md +0 -167
- package/docs/ClubResponse.md +8 -0
- package/docs/ClubSettingsResponse.md +0 -2
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +0 -2
- package/docs/IUserAttributes.md +2 -12
- package/docs/PartialClubResponse.md +8 -0
- package/docs/PlayerPrice.md +30 -0
- package/docs/{SetupPaymentMethodRequestBody.md → QuickReservationClubSport.md} +7 -5
- package/docs/QuickReservationClubSummary.md +4 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/SportsPublicApi.md +53 -0
- package/docs/StaffUserProfileResponse.md +2 -12
- package/docs/SubscribeRequestBody.md +2 -0
- package/docs/SubscriptionInfo.md +24 -0
- package/docs/UserProfileResponse.md +4 -12
- package/docs/UsersApi.md +0 -156
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ClubPlayerBookingItem.md +0 -36
- package/docs/ClubPlayerBookingsResponse.md +0 -22
- package/docs/ClubPlayerDetailResponse.md +0 -46
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponse.md +0 -42
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
- package/docs/ClubPlayerSubscriptionSummary.md +0 -28
- package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
- package/docs/ConfirmPaymentMethodResponse.md +0 -22
- package/docs/PaymentMethodSetupResponse.md +0 -24
- package/docs/SetupPaymentMethodResponse.md +0 -24
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# ClubPlayerStatisticsResponseMostPlayedClub
|
|
2
|
-
|
|
3
|
-
Club où le joueur a le plus joué
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**bookingsCount** | **number** | | [default to undefined]
|
|
10
|
-
**name** | **string** | | [default to undefined]
|
|
11
|
-
**clubId** | **string** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClubPlayerStatisticsResponseMostPlayedClub } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClubPlayerStatisticsResponseMostPlayedClub = {
|
|
19
|
-
bookingsCount,
|
|
20
|
-
name,
|
|
21
|
-
clubId,
|
|
22
|
-
};
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
[[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
|
-
# ClubPlayerStatisticsResponseMostPlayedPartnersInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookingsTogether** | **number** | | [default to undefined]
|
|
9
|
-
**lastName** | **string** | | [default to undefined]
|
|
10
|
-
**firstName** | **string** | | [default to undefined]
|
|
11
|
-
**userId** | **string** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClubPlayerStatisticsResponseMostPlayedPartnersInner } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClubPlayerStatisticsResponseMostPlayedPartnersInner = {
|
|
19
|
-
bookingsTogether,
|
|
20
|
-
lastName,
|
|
21
|
-
firstName,
|
|
22
|
-
userId,
|
|
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
|
-
# ClubPlayerSubscriptionSummary
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID du plan d\'abonnement | [default to undefined]
|
|
9
|
-
**name** | **string** | Nom du plan | [default to undefined]
|
|
10
|
-
**amountInCents** | **number** | Montant en centimes | [default to undefined]
|
|
11
|
-
**currency** | **string** | Devise | [default to undefined]
|
|
12
|
-
**interval** | **string** | Intervalle de facturation | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { ClubPlayerSubscriptionSummary } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: ClubPlayerSubscriptionSummary = {
|
|
20
|
-
id,
|
|
21
|
-
name,
|
|
22
|
-
amountInCents,
|
|
23
|
-
currency,
|
|
24
|
-
interval,
|
|
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,20 +0,0 @@
|
|
|
1
|
-
# ConfirmPaymentMethodRequestBody
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**setupIntentId** | **string** | | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { ConfirmPaymentMethodRequestBody } from '@tennac-booking/sdk';
|
|
14
|
-
|
|
15
|
-
const instance: ConfirmPaymentMethodRequestBody = {
|
|
16
|
-
setupIntentId,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ConfirmPaymentMethodResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [default to undefined]
|
|
9
|
-
**paymentMethodId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ConfirmPaymentMethodResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ConfirmPaymentMethodResponse = {
|
|
17
|
-
message,
|
|
18
|
-
paymentMethodId,
|
|
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
|
-
# 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)
|
|
@@ -1,24 +0,0 @@
|
|
|
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)
|