@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.
Files changed (62) hide show
  1. package/.openapi-generator/FILES +245 -234
  2. package/README.md +24 -7
  3. package/api.ts +1240 -461
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1016 -400
  8. package/dist/api.js +395 -161
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +1016 -400
  16. package/dist/esm/api.js +394 -156
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/{BookingPriceBody.md → AddPaymentMethodRequestBody.md} +5 -7
  28. package/docs/BookingInfo.md +2 -2
  29. package/docs/BookingPopulated.md +0 -2
  30. package/docs/BookingsApi.md +0 -52
  31. package/docs/ClubAnalyticsStaffApi.md +167 -0
  32. package/docs/ClubPlayerBookingItem.md +36 -0
  33. package/docs/ClubPlayerBookingsResponse.md +22 -0
  34. package/docs/ClubPlayerDetailResponse.md +46 -0
  35. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  36. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  37. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  38. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  39. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  40. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  41. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  42. package/docs/ClubResponse.md +0 -8
  43. package/docs/ClubSettingsResponse.md +2 -0
  44. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  45. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  46. package/docs/CreateBookingRequest.md +2 -2
  47. package/docs/CreateEventRequest.md +2 -0
  48. package/docs/IUserAttributes.md +12 -2
  49. package/docs/PartialClubResponse.md +0 -8
  50. package/docs/PaymentMethodSetupResponse.md +24 -0
  51. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  52. package/docs/SetupPaymentMethodResponse.md +24 -0
  53. package/docs/SlotInfo.md +2 -2
  54. package/docs/StaffUserProfileResponse.md +12 -2
  55. package/docs/SubscribeRequestBody.md +0 -2
  56. package/docs/UserProfileResponse.md +12 -4
  57. package/docs/UsersApi.md +156 -0
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
  60. package/docs/PlayerPrice.md +0 -30
  61. package/docs/SportsPublicApi.md +0 -53
  62. package/docs/SubscriptionInfo.md +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -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)
@@ -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
-
@@ -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)