@tennac-booking/sdk 1.0.74 → 1.0.76
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 +245 -234
- package/README.md +24 -7
- package/api.ts +1240 -461
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1016 -400
- package/dist/api.js +395 -161
- 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 +1016 -400
- package/dist/esm/api.js +394 -156
- 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/{BookingPriceBody.md → AddPaymentMethodRequestBody.md} +5 -7
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +0 -2
- package/docs/BookingsApi.md +0 -52
- package/docs/ClubAnalyticsStaffApi.md +167 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsResponse.md +22 -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/ClubResponse.md +0 -8
- package/docs/ClubSettingsResponse.md +2 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +2 -0
- package/docs/IUserAttributes.md +12 -2
- package/docs/PartialClubResponse.md +0 -8
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +20 -0
- 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/UserProfileResponse.md +12 -4
- package/docs/UsersApi.md +156 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/PlayerPrice.md +0 -30
- package/docs/SportsPublicApi.md +0 -53
- package/docs/SubscriptionInfo.md +0 -24
package/package.json
CHANGED
package/docs/PlayerPrice.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# PlayerPrice
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**playerId** | **string** | | [default to undefined]
|
|
9
|
-
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [default to undefined]
|
|
12
|
-
**creditAvailablesInCents** | **number** | | [optional] [default to undefined]
|
|
13
|
-
**price** | **number** | | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { PlayerPrice } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: PlayerPrice = {
|
|
21
|
-
playerId,
|
|
22
|
-
firstName,
|
|
23
|
-
lastName,
|
|
24
|
-
subscriptions,
|
|
25
|
-
creditAvailablesInCents,
|
|
26
|
-
price,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[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/SportsPublicApi.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# SportsPublicApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getVerifiedSports**](#getverifiedsports) | **GET** /api/sports/verified | |
|
|
8
|
-
|
|
9
|
-
# **getVerifiedSports**
|
|
10
|
-
> Array<SportResponse> getVerifiedSports()
|
|
11
|
-
|
|
12
|
-
Récupère tous les sports vérifiés, accessibles publiquement
|
|
13
|
-
|
|
14
|
-
### Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import {
|
|
18
|
-
SportsPublicApi,
|
|
19
|
-
Configuration
|
|
20
|
-
} from '@tennac-booking/sdk';
|
|
21
|
-
|
|
22
|
-
const configuration = new Configuration();
|
|
23
|
-
const apiInstance = new SportsPublicApi(configuration);
|
|
24
|
-
|
|
25
|
-
const { status, data } = await apiInstance.getVerifiedSports();
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Parameters
|
|
29
|
-
This endpoint does not have any parameters.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Return type
|
|
33
|
-
|
|
34
|
-
**Array<SportResponse>**
|
|
35
|
-
|
|
36
|
-
### Authorization
|
|
37
|
-
|
|
38
|
-
No authorization required
|
|
39
|
-
|
|
40
|
-
### HTTP request headers
|
|
41
|
-
|
|
42
|
-
- **Content-Type**: Not defined
|
|
43
|
-
- **Accept**: application/json
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### HTTP response details
|
|
47
|
-
| Status code | Description | Response headers |
|
|
48
|
-
|-------------|-------------|------------------|
|
|
49
|
-
|**200** | Sports vérifiés | - |
|
|
50
|
-
|**500** | Server Error | - |
|
|
51
|
-
|
|
52
|
-
[[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)
|
|
53
|
-
|
package/docs/SubscriptionInfo.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# SubscriptionInfo
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**subscriptionPlanName** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**subscriptionDescription** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**reducedAmountInCents** | **number** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { SubscriptionInfo } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: SubscriptionInfo = {
|
|
18
|
-
subscriptionPlanName,
|
|
19
|
-
subscriptionDescription,
|
|
20
|
-
reducedAmountInCents,
|
|
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)
|