@tennac-booking/sdk 1.0.228 → 1.0.230

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 (136) hide show
  1. package/.openapi-generator/FILES +455 -434
  2. package/README.md +76 -48
  3. package/api.ts +4772 -3570
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +4850 -3759
  8. package/dist/api.js +3707 -4214
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +6 -3
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +23 -39
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +63 -3
  15. package/dist/esm/api.d.ts +4850 -3759
  16. package/dist/esm/api.js +3694 -4197
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +6 -3
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +23 -39
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +63 -3
  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/AgendaBooking.md +2 -0
  28. package/docs/AuthApi.md +113 -0
  29. package/docs/BookingPopulated.md +9 -1
  30. package/docs/BookingSummary.md +4 -4
  31. package/docs/BookingsApi.md +29 -80
  32. package/docs/BookingsStaffApi.md +1 -57
  33. package/docs/BookingsUserApi.md +58 -6
  34. package/docs/{CheckInPlayerSumupResponse.md → CloseOpenBookingResponse.md} +5 -7
  35. package/docs/ClubPageResponse.md +16 -0
  36. package/docs/ClubPageResponseClubCustomerStatus.md +27 -0
  37. package/docs/ClubPageResponseSportsIdsLookup.md +23 -0
  38. package/docs/ClubPricingPeriodPayload.md +32 -0
  39. package/docs/ClubPricingPeriodResponse.md +6 -6
  40. package/docs/ClubReservationSettingsResponse.md +2 -2
  41. package/docs/ClubResponse.md +12 -2
  42. package/docs/ClubSummary.md +6 -0
  43. package/docs/ComingEventsPageResponse.md +22 -0
  44. package/docs/CourtEnvironment.md +10 -0
  45. package/docs/CreateBookingRequest.md +0 -4
  46. package/docs/CreateOpenBookingRequest.md +7 -5
  47. package/docs/CreateSubscriptionPlanRequestDiscount.md +4 -0
  48. package/docs/EstimateOpenBookingJoinRequest.md +24 -0
  49. package/docs/EventBookingDetailSummary.md +2 -0
  50. package/docs/EventBookingResponse.md +2 -0
  51. package/docs/EventResponse.md +2 -0
  52. package/docs/EventsApi.md +113 -0
  53. package/docs/EventsStaffApi.md +119 -25
  54. package/docs/GetClubsWithVerificationDomains200ResponseInner.md +2 -0
  55. package/docs/GetOpenEventBookingsBySport200Response.md +20 -0
  56. package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +46 -0
  57. package/docs/{SumupPairReaderResponse.md → Health200Response.md} +7 -5
  58. package/docs/IUserAttributes.md +4 -0
  59. package/docs/{SumupReaderInfoDevice.md → JobResult.md} +9 -7
  60. package/docs/JobsApi.md +367 -0
  61. package/docs/JoinOpenBookingRequest.md +28 -0
  62. package/docs/MarkNotificationsReadRequest.md +22 -0
  63. package/docs/{SumupConnectUrlResponse.md → MarkNotificationsReadResponse.md} +5 -5
  64. package/docs/MyClubInfosResponse.md +0 -2
  65. package/docs/{PaymentStatus.md → NotificationActorType.md} +4 -6
  66. package/docs/NotificationData.md +22 -0
  67. package/docs/NotificationInitiator.md +28 -0
  68. package/docs/NotificationParticipantPreview.md +24 -0
  69. package/docs/NotificationPreview.md +78 -0
  70. package/docs/NotificationResponse.md +46 -0
  71. package/docs/{SumupUpdateReaderRequest.md → NotificationResponseClub.md} +7 -5
  72. package/docs/NotificationSlotPreview.md +24 -0
  73. package/docs/NotificationSportPreview.md +24 -0
  74. package/docs/{SumupReaderStatusResponse.md → NotificationTargetPreview.md} +7 -5
  75. package/docs/NotificationType.md +26 -0
  76. package/docs/OpenBookingBasePriceResponse.md +24 -0
  77. package/docs/OpenBookingInfo.md +7 -5
  78. package/docs/OpenBookingJoinEstimateResponse.md +26 -0
  79. package/docs/OpenBookingPriceBody.md +26 -0
  80. package/docs/PartnerSearchItem.md +28 -0
  81. package/docs/PartnerSearchResponse.md +22 -0
  82. package/docs/PartnerSearchResponseMeta.md +26 -0
  83. package/docs/PlayerPrice.md +3 -1
  84. package/docs/PricingPeriodDiscount.md +24 -0
  85. package/docs/PublicEmailApi.md +4 -4
  86. package/docs/QuickReservationClubSummary.md +12 -0
  87. package/docs/QuickReservationCourtType.md +10 -0
  88. package/docs/RequestOrganizationEmailCodeBody.md +22 -0
  89. package/docs/RequestOrganizationEmailCodeResponse.md +22 -0
  90. package/docs/RequestVerificationCodeBody.md +26 -0
  91. package/docs/{SumupReaderResponse.md → RequestVerificationCodeResponse.md} +5 -5
  92. package/docs/SportResponse.md +2 -0
  93. package/docs/StaffEventBookingResponse.md +2 -0
  94. package/docs/StaffEventsPageResponse.md +22 -0
  95. package/docs/StaffUserProfileResponse.md +4 -0
  96. package/docs/SubscriptionPlanDiscountResponse.md +2 -0
  97. package/docs/SubscriptionPlanDiscountUpdateRequest.md +2 -0
  98. package/docs/{PaymentProviderType.md → SupportedLanguage.md} +3 -3
  99. package/docs/UpdateClubHoursSettingsRequest.md +1 -1
  100. package/docs/UpdateClubReservationSettingsRequest.md +2 -2
  101. package/docs/UserClubMembership.md +2 -0
  102. package/docs/UserNextBookingSummary.md +26 -0
  103. package/docs/UserNotificationsResponse.md +22 -0
  104. package/docs/UserNotificationsResponseMeta.md +28 -0
  105. package/docs/UserProfileResponse.md +12 -0
  106. package/docs/UsersApi.md +273 -0
  107. package/docs/VerifyOrganizationEmailCodeBody.md +24 -0
  108. package/docs/VerifyOrganizationEmailCodeResponse.md +22 -0
  109. package/docs/VerifyVerificationCodeBody.md +24 -0
  110. package/docs/{SumupCancelPaymentRequest.md → VerifyVerificationCodeResponse.md} +5 -5
  111. package/docs/WaitListEntryWithPlayer.md +44 -0
  112. package/docs/WaitListPlayer.md +28 -0
  113. package/docs/WaitListPlayersListResponse.md +22 -0
  114. package/docs/WaitListStaffApi.md +55 -0
  115. package/index.ts +1 -1
  116. package/package.json +1 -1
  117. package/tsconfig.json +1 -1
  118. package/docs/CheckInPlayerSumupRequest.md +0 -22
  119. package/docs/CheckInSumupPaymentInfo.md +0 -26
  120. package/docs/GetOpenBookingPrice200Response.md +0 -24
  121. package/docs/GetOpenBookingPriceRequest.md +0 -26
  122. package/docs/JoinPriceEstimateResponse.md +0 -38
  123. package/docs/JoinPriceEstimateResponseSubscriptionInfo.md +0 -25
  124. package/docs/OpenBookingSlotInfo.md +0 -24
  125. package/docs/PaymentIntentResult.md +0 -28
  126. package/docs/PaymentsStaffApi.md +0 -124
  127. package/docs/StaffEventsPaginatedResponse.md +0 -26
  128. package/docs/SumUpApi.md +0 -63
  129. package/docs/SumUpManagerApi.md +0 -617
  130. package/docs/SumupAccountStatusResponse.md +0 -32
  131. package/docs/SumupCreatePaymentRequest.md +0 -32
  132. package/docs/SumupOAuthCallbackResponse.md +0 -24
  133. package/docs/SumupPairReaderRequest.md +0 -24
  134. package/docs/SumupReaderInfo.md +0 -42
  135. package/docs/SumupReaderStatusInfo.md +0 -32
  136. package/docs/SumupReadersResponse.md +0 -20
@@ -0,0 +1,46 @@
1
+ # NotificationResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **type** | [**NotificationType**](NotificationType.md) | | [default to undefined]
10
+ **title** | **string** | | [default to undefined]
11
+ **message** | **string** | | [default to undefined]
12
+ **data** | [**NotificationData**](NotificationData.md) | | [optional] [default to undefined]
13
+ **preview** | [**NotificationPreview**](NotificationPreview.md) | | [optional] [default to undefined]
14
+ **target** | [**NotificationTargetPreview**](NotificationTargetPreview.md) | | [optional] [default to undefined]
15
+ **initiator** | [**NotificationInitiator**](NotificationInitiator.md) | | [optional] [default to undefined]
16
+ **sport** | [**NotificationSportPreview**](NotificationSportPreview.md) | | [optional] [default to undefined]
17
+ **slot** | [**NotificationSlotPreview**](NotificationSlotPreview.md) | | [optional] [default to undefined]
18
+ **club** | [**NotificationResponseClub**](NotificationResponseClub.md) | | [optional] [default to undefined]
19
+ **createdAt** | **string** | | [default to undefined]
20
+ **readAt** | **string** | | [optional] [default to undefined]
21
+ **isRead** | **boolean** | | [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { NotificationResponse } from '@tennac-booking/sdk';
27
+
28
+ const instance: NotificationResponse = {
29
+ id,
30
+ type,
31
+ title,
32
+ message,
33
+ data,
34
+ preview,
35
+ target,
36
+ initiator,
37
+ sport,
38
+ slot,
39
+ club,
40
+ createdAt,
41
+ readAt,
42
+ isRead,
43
+ };
44
+ ```
45
+
46
+ [[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 +1,23 @@
1
- # SumupUpdateReaderRequest
1
+ # NotificationResponseClub
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **picture** | **string** | | [optional] [default to undefined]
8
9
  **name** | **string** | | [optional] [default to undefined]
9
- **metadata** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
10
+ **id** | **string** | | [optional] [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
13
14
  ```typescript
14
- import { SumupUpdateReaderRequest } from '@tennac-booking/sdk';
15
+ import { NotificationResponseClub } from '@tennac-booking/sdk';
15
16
 
16
- const instance: SumupUpdateReaderRequest = {
17
+ const instance: NotificationResponseClub = {
18
+ picture,
17
19
  name,
18
- metadata,
20
+ id,
19
21
  };
20
22
  ```
21
23
 
@@ -0,0 +1,24 @@
1
+ # NotificationSlotPreview
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **startDate** | **string** | | [optional] [default to undefined]
9
+ **endDate** | **string** | | [optional] [default to undefined]
10
+ **courtName** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { NotificationSlotPreview } from '@tennac-booking/sdk';
16
+
17
+ const instance: NotificationSlotPreview = {
18
+ startDate,
19
+ endDate,
20
+ courtName,
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,24 @@
1
+ # NotificationSportPreview
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **key** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { NotificationSportPreview } from '@tennac-booking/sdk';
16
+
17
+ const instance: NotificationSportPreview = {
18
+ id,
19
+ name,
20
+ key,
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,19 +1,21 @@
1
- # SumupReaderStatusResponse
1
+ # NotificationTargetPreview
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **data** | [**SumupReaderStatusInfo**](SumupReaderStatusInfo.md) | | [optional] [default to undefined]
8
+ **type** | **string** | | [default to undefined]
9
+ **id** | **string** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { SumupReaderStatusResponse } from '@tennac-booking/sdk';
14
+ import { NotificationTargetPreview } from '@tennac-booking/sdk';
14
15
 
15
- const instance: SumupReaderStatusResponse = {
16
- data,
16
+ const instance: NotificationTargetPreview = {
17
+ type,
18
+ id,
17
19
  };
18
20
  ```
19
21
 
@@ -0,0 +1,26 @@
1
+ # NotificationType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `BookingCreated` (value: `'booking_created'`)
7
+
8
+ * `BookingSetupRequired` (value: `'booking_setup_required'`)
9
+
10
+ * `BookingCancelled` (value: `'booking_cancelled'`)
11
+
12
+ * `BookingReminder` (value: `'booking_reminder'`)
13
+
14
+ * `EventRegistrationConfirmed` (value: `'event_registration_confirmed'`)
15
+
16
+ * `EventReminder` (value: `'event_reminder'`)
17
+
18
+ * `OpenBookingJoined` (value: `'open_booking_joined'`)
19
+
20
+ * `OpenBookingJoinConfirmed` (value: `'open_booking_join_confirmed'`)
21
+
22
+ * `WaitlistSpotAvailable` (value: `'waitlist_spot_available'`)
23
+
24
+ * `WaitlistConfirmed` (value: `'waitlist_confirmed'`)
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)
@@ -0,0 +1,24 @@
1
+ # OpenBookingBasePriceResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **basePricePerPlayer** | **number** | Prix de base par joueur (en centimes) pour rejoindre | [default to undefined]
9
+ **totalBasePrice** | **number** | Prix total de base de la réservation (en centimes) | [default to undefined]
10
+ **availableSlots** | **number** | Nombre de places restantes | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { OpenBookingBasePriceResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: OpenBookingBasePriceResponse = {
18
+ basePricePerPlayer,
19
+ totalBasePrice,
20
+ availableSlots,
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)
@@ -11,16 +11,17 @@ Name | Type | Description | Notes
11
11
  **players** | [**Array<OpenBookingPlayerInfo>**](OpenBookingPlayerInfo.md) | Liste des joueurs avec leurs infos | [default to undefined]
12
12
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
13
13
  **totalPrice** | **number** | Prix total en euros | [default to undefined]
14
- **slots** | [**Array<OpenBookingSlotInfo>**](OpenBookingSlotInfo.md) | Informations des créneaux | [default to undefined]
14
+ **startDate** | **string** | Date de début du premier créneau | [default to undefined]
15
+ **endDate** | **string** | Date de fin du dernier créneau | [default to undefined]
15
16
  **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
16
17
  **createdAt** | **string** | Date de création | [default to undefined]
17
18
  **updatedAt** | **string** | Date de mise à jour | [default to undefined]
18
19
  **sport** | [**OpenBookingSportInfo**](OpenBookingSportInfo.md) | | [optional] [default to undefined]
19
20
  **minLevel** | **string** | Niveau minimal souhaité | [optional] [default to undefined]
20
21
  **description** | **string** | Description de la réservation | [optional] [default to undefined]
21
- **maxPlayers** | **number** | Nombre maximal de joueurs | [optional] [default to undefined]
22
+ **maxPlayers** | **number** | Nombre maximal de joueurs souhaités | [optional] [default to undefined]
22
23
  **currentPlayersCount** | **number** | Nombre de joueurs actuels | [default to undefined]
23
- **basePriceToJoin** | **number** | Prix de base pour rejoindre la réservation (en centimes) | [optional] [default to undefined]
24
+ **joinPrice** | **number** | Prix de base pour rejoindre la réservation (en centimes, stocké lors de la création) | [optional] [default to undefined]
24
25
 
25
26
  ## Example
26
27
 
@@ -34,7 +35,8 @@ const instance: OpenBookingInfo = {
34
35
  players,
35
36
  status,
36
37
  totalPrice,
37
- slots,
38
+ startDate,
39
+ endDate,
38
40
  isCreatorPayingAll,
39
41
  createdAt,
40
42
  updatedAt,
@@ -43,7 +45,7 @@ const instance: OpenBookingInfo = {
43
45
  description,
44
46
  maxPlayers,
45
47
  currentPlayersCount,
46
- basePriceToJoin,
48
+ joinPrice,
47
49
  };
48
50
  ```
49
51
 
@@ -0,0 +1,26 @@
1
+ # OpenBookingJoinEstimateResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **basePricePerPlayer** | **number** | Prix de base par joueur (en centimes) | [default to undefined]
9
+ **playersPrices** | [**Array<PlayerPrice>**](PlayerPrice.md) | Détails de prix pour chaque joueur qui rejoint | [default to undefined]
10
+ **availableCreditsInCents** | **number** | Crédits disponibles pour l\'utilisateur qui demande à rejoindre (en centimes) | [default to undefined]
11
+ **availableSlots** | **number** | Nombre de places restantes | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { OpenBookingJoinEstimateResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: OpenBookingJoinEstimateResponse = {
19
+ basePricePerPlayer,
20
+ playersPrices,
21
+ availableCreditsInCents,
22
+ availableSlots,
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)
@@ -0,0 +1,26 @@
1
+ # OpenBookingPriceBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slotIds** | **Array<string>** | | [default to undefined]
9
+ **playerShares** | [**Array<PlayerShare>**](PlayerShare.md) | | [optional] [default to undefined]
10
+ **creditToUseInCents** | **number** | | [optional] [default to undefined]
11
+ **maxPlayersDesired** | **number** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { OpenBookingPriceBody } from '@tennac-booking/sdk';
17
+
18
+ const instance: OpenBookingPriceBody = {
19
+ slotIds,
20
+ playerShares,
21
+ creditToUseInCents,
22
+ maxPlayersDesired,
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)
@@ -0,0 +1,28 @@
1
+ # PartnerSearchItem
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
+ **profilePicture** | **string** | | [default to undefined]
12
+ **isFavorite** | **boolean** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PartnerSearchItem } from '@tennac-booking/sdk';
18
+
19
+ const instance: PartnerSearchItem = {
20
+ id,
21
+ firstName,
22
+ lastName,
23
+ profilePicture,
24
+ isFavorite,
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)
@@ -0,0 +1,22 @@
1
+ # PartnerSearchResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<PartnerSearchItem>**](PartnerSearchItem.md) | | [default to undefined]
9
+ **meta** | [**PartnerSearchResponseMeta**](PartnerSearchResponseMeta.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PartnerSearchResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: PartnerSearchResponse = {
17
+ data,
18
+ meta,
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)
@@ -0,0 +1,26 @@
1
+ # PartnerSearchResponseMeta
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **hasMore** | **boolean** | | [default to undefined]
9
+ **total** | **number** | | [default to undefined]
10
+ **limit** | **number** | | [default to undefined]
11
+ **page** | **number** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PartnerSearchResponseMeta } from '@tennac-booking/sdk';
17
+
18
+ const instance: PartnerSearchResponseMeta = {
19
+ hasMore,
20
+ total,
21
+ limit,
22
+ page,
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)
@@ -8,10 +8,11 @@ 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) | | [default to undefined]
11
+ **subscriptions** | [**Array<SubscriptionInfo>**](SubscriptionInfo.md) | | [optional] [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]
15
16
 
16
17
  ## Example
17
18
 
@@ -26,6 +27,7 @@ const instance: PlayerPrice = {
26
27
  creditAvailablesInCents,
27
28
  creditUsedInCents,
28
29
  price,
30
+ paysAlsoFor,
29
31
  };
30
32
  ```
31
33
 
@@ -0,0 +1,24 @@
1
+ # PricingPeriodDiscount
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **percentage** | **number** | | [default to undefined]
9
+ **pricingPeriodName** | **string** | | [optional] [default to undefined]
10
+ **pricingPeriodId** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PricingPeriodDiscount } from '@tennac-booking/sdk';
16
+
17
+ const instance: PricingPeriodDiscount = {
18
+ percentage,
19
+ pricingPeriodName,
20
+ pricingPeriodId,
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)
@@ -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
- |[**requestVerificationCode**](#requestverificationcode) | **POST** /api/public-email/request-verification-code | |
8
+ |[**requestPublicEmailVerificationCode**](#requestpublicemailverificationcode) | **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
- # **requestVerificationCode**
64
- > RequestEmailCodeResponse requestVerificationCode(requestEmailCodeBody)
63
+ # **requestPublicEmailVerificationCode**
64
+ > RequestEmailCodeResponse requestPublicEmailVerificationCode(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.requestVerificationCode(
81
+ const { status, data } = await apiInstance.requestPublicEmailVerificationCode(
82
82
  requestEmailCodeBody
83
83
  );
84
84
  ```
@@ -8,6 +8,12 @@ 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]
11
17
  **distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
12
18
  **location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
13
19
  **slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
@@ -22,6 +28,12 @@ const instance: QuickReservationClubSummary = {
22
28
  clubId,
23
29
  clubName,
24
30
  description,
31
+ bannerPictures,
32
+ surfaces,
33
+ courtTypes,
34
+ hasIndoor,
35
+ hasOutdoor,
36
+ durationsMinutes,
25
37
  distanceInMeters,
26
38
  location,
27
39
  slots,
@@ -0,0 +1,10 @@
1
+ # QuickReservationCourtType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Indoor` (value: `'indoor'`)
7
+
8
+ * `Outdoor` (value: `'outdoor'`)
9
+
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)
@@ -0,0 +1,22 @@
1
+ # RequestOrganizationEmailCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **organizationId** | **string** | | [default to undefined]
9
+ **organizationEmail** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RequestOrganizationEmailCodeBody } from '@tennac-booking/sdk';
15
+
16
+ const instance: RequestOrganizationEmailCodeBody = {
17
+ organizationId,
18
+ organizationEmail,
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)
@@ -0,0 +1,22 @@
1
+ # RequestOrganizationEmailCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sent** | **boolean** | | [default to undefined]
9
+ **alreadyVerified** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RequestOrganizationEmailCodeResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: RequestOrganizationEmailCodeResponse = {
17
+ sent,
18
+ alreadyVerified,
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)
@@ -0,0 +1,26 @@
1
+ # RequestVerificationCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [default to undefined]
9
+ **context** | **string** | | [optional] [default to undefined]
10
+ **lang** | [**SupportedLanguage**](SupportedLanguage.md) | | [optional] [default to undefined]
11
+ **requestId** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RequestVerificationCodeBody } from '@tennac-booking/sdk';
17
+
18
+ const instance: RequestVerificationCodeBody = {
19
+ email,
20
+ context,
21
+ lang,
22
+ requestId,
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,19 +1,19 @@
1
- # SumupReaderResponse
1
+ # RequestVerificationCodeResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **reader** | [**SumupReaderInfo**](SumupReaderInfo.md) | | [default to undefined]
8
+ **sent** | **boolean** | | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { SumupReaderResponse } from '@tennac-booking/sdk';
13
+ import { RequestVerificationCodeResponse } from '@tennac-booking/sdk';
14
14
 
15
- const instance: SumupReaderResponse = {
16
- reader,
15
+ const instance: RequestVerificationCodeResponse = {
16
+ sent,
17
17
  };
18
18
  ```
19
19
 
@@ -12,6 +12,7 @@ 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]
15
16
  **surface** | **Array<string>** | Types de surface pour le sport | [optional] [default to undefined]
16
17
  **createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
17
18
  **verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
@@ -31,6 +32,7 @@ const instance: SportResponse = {
31
32
  levels,
32
33
  logos,
33
34
  maxPlayers,
35
+ slotDurations,
34
36
  surface,
35
37
  createdBy,
36
38
  verified,
@@ -14,6 +14,7 @@ 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]
17
18
  **createdAt** | **string** | | [default to undefined]
18
19
  **updatedAt** | **string** | | [default to undefined]
19
20
 
@@ -32,6 +33,7 @@ const instance: StaffEventBookingResponse = {
32
33
  invoices,
33
34
  limitSetupDate,
34
35
  limitCancellationDate,
36
+ amount,
35
37
  createdAt,
36
38
  updatedAt,
37
39
  };
@@ -0,0 +1,22 @@
1
+ # StaffEventsPageResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **events** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
9
+ **pagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { StaffEventsPageResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: StaffEventsPageResponse = {
17
+ events,
18
+ pagination,
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)