@tennac-booking/sdk 1.0.118 → 1.0.119

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 (66) hide show
  1. package/.openapi-generator/FILES +313 -309
  2. package/README.md +18 -14
  3. package/api.ts +1052 -635
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +828 -507
  8. package/dist/api.js +325 -233
  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 +828 -507
  16. package/dist/esm/api.js +324 -232
  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/BookingsStaffApi.md +117 -0
  28. package/docs/BookingsUserApi.md +1 -1
  29. package/docs/ClientApi.md +2 -49
  30. package/docs/ClientFullOnboardingResponseClub.md +0 -2
  31. package/docs/ClientOnboardingRequestBody.md +0 -2
  32. package/docs/ClubAnalyticsStaffApi.md +20 -4
  33. package/docs/ClubPlayersPaginatedResponse.md +28 -0
  34. package/docs/ClubsApi.md +2 -2
  35. package/docs/ClubsStaffApi.md +27 -2
  36. package/docs/CreateEventRequest.md +3 -1
  37. package/docs/EventResponse.md +5 -1
  38. package/docs/EventSponsor.md +24 -0
  39. package/docs/EventsApi.md +0 -115
  40. package/docs/JoinEventRequest.md +0 -2
  41. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
  42. package/docs/JoinEventResponse.md +0 -14
  43. package/docs/SendSubscriptionInvitationRequest.md +22 -0
  44. package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
  45. package/docs/StaffBookingCourtSummary.md +26 -0
  46. package/docs/StaffBookingCustomerPayload.md +28 -0
  47. package/docs/StaffBookingListItem.md +54 -0
  48. package/docs/StaffBookingPaymentState.md +18 -0
  49. package/docs/StaffBookingPaymentSummary.md +34 -0
  50. package/docs/StaffBookingSportSummary.md +24 -0
  51. package/docs/StaffBookingUserSummary.md +28 -0
  52. package/docs/StaffBookingsPaginatedResponse.md +28 -0
  53. package/docs/StaffCreateBookingRequest.md +26 -0
  54. package/docs/SubscriptionsStaffApi.md +55 -0
  55. package/docs/Team.md +1 -1
  56. package/docs/UpdateEventRequest.md +6 -0
  57. package/index.ts +1 -1
  58. package/package.json +1 -1
  59. package/docs/ClientSubscription.md +0 -31
  60. package/docs/ClientSubscriptionItem.md +0 -25
  61. package/docs/ClientSubscriptionsResponse.md +0 -21
  62. package/docs/EstimateEventPrice200Response.md +0 -32
  63. package/docs/EstimateEventPriceRequest.md +0 -26
  64. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  65. package/docs/EventUser.md +0 -28
  66. package/docs/JoinEventResponseOnsitePaymentsInner.md +0 -24
@@ -1,25 +0,0 @@
1
- # ClientSubscriptionItem
2
-
3
- Item d\'abonnement Stripe simplifié
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **priceId** | **string** | | [default to undefined]
10
- **productId** | **string** | | [optional] [default to undefined]
11
- **quantity** | **number** | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { ClientSubscriptionItem } from '@tennac-booking/sdk';
17
-
18
- const instance: ClientSubscriptionItem = {
19
- priceId,
20
- productId,
21
- quantity,
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,21 +0,0 @@
1
- # ClientSubscriptionsResponse
2
-
3
- Réponse liste des abonnements Stripe du client
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **subscriptions** | [**Array<ClientSubscription>**](ClientSubscription.md) | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ClientSubscriptionsResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: ClientSubscriptionsResponse = {
17
- subscriptions,
18
- };
19
- ```
20
-
21
- [[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,32 +0,0 @@
1
- # EstimateEventPrice200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **perPayerAfterCredits** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
9
- **totalAfterCredits** | **number** | | [optional] [default to undefined]
10
- **creditsAppliedInCents** | **number** | | [optional] [default to undefined]
11
- **currency** | **string** | | [default to undefined]
12
- **total** | **number** | | [default to undefined]
13
- **perPayer** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [default to undefined]
14
- **perPlayer** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { EstimateEventPrice200Response } from '@tennac-booking/sdk';
20
-
21
- const instance: EstimateEventPrice200Response = {
22
- perPayerAfterCredits,
23
- totalAfterCredits,
24
- creditsAppliedInCents,
25
- currency,
26
- total,
27
- perPayer,
28
- perPlayer,
29
- };
30
- ```
31
-
32
- [[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
- # EstimateEventPriceRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **creditToUseInCents** | **number** | | [optional] [default to undefined]
9
- **creatorId** | **string** | | [optional] [default to undefined]
10
- **shares** | [**Array<EstimateEventPriceRequestSharesInner>**](EstimateEventPriceRequestSharesInner.md) | | [optional] [default to undefined]
11
- **playerIds** | **Array<string>** | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { EstimateEventPriceRequest } from '@tennac-booking/sdk';
17
-
18
- const instance: EstimateEventPriceRequest = {
19
- creditToUseInCents,
20
- creatorId,
21
- shares,
22
- playerIds,
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,22 +0,0 @@
1
- # EstimateEventPriceRequestSharesInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **paysAlsoFor** | **Array<string>** | | [optional] [default to undefined]
9
- **playerId** | **string** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { EstimateEventPriceRequestSharesInner } from '@tennac-booking/sdk';
15
-
16
- const instance: EstimateEventPriceRequestSharesInner = {
17
- paysAlsoFor,
18
- playerId,
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)
package/docs/EventUser.md DELETED
@@ -1,28 +0,0 @@
1
- # EventUser
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **firstName** | **string** | | [default to undefined]
10
- **lastName** | **string** | | [default to undefined]
11
- **username** | **string** | | [optional] [default to undefined]
12
- **profilePicture** | **string** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { EventUser } from '@tennac-booking/sdk';
18
-
19
- const instance: EventUser = {
20
- id,
21
- firstName,
22
- lastName,
23
- username,
24
- profilePicture,
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,24 +0,0 @@
1
- # JoinEventResponseOnsitePaymentsInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
9
- **amount** | **number** | | [default to undefined]
10
- **playerId** | **string** | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { JoinEventResponseOnsitePaymentsInner } from '@tennac-booking/sdk';
16
-
17
- const instance: JoinEventResponseOnsitePaymentsInner = {
18
- paymentMethod,
19
- amount,
20
- playerId,
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)