@tennac-booking/sdk 1.0.83 → 1.0.85

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 (102) hide show
  1. package/.openapi-generator/FILES +241 -270
  2. package/README.md +17 -57
  3. package/api.ts +1065 -2960
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +990 -2388
  8. package/dist/api.js +193 -961
  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 +990 -2388
  16. package/dist/esm/api.js +186 -954
  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/BookingClubInfo.md +28 -0
  28. package/docs/{ClubDaySchedule.md → BookingCourtInfo.md} +7 -7
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPaymentStatus.md +24 -0
  31. package/docs/BookingPlayerPaymentSummary.md +34 -0
  32. package/docs/BookingPopulated.md +3 -3
  33. package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  34. package/docs/BookingResponse.md +2 -0
  35. package/docs/BookingSlotInfo.md +30 -0
  36. package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
  37. package/docs/BookingSummary.md +54 -2
  38. package/docs/BookingsApi.md +55 -0
  39. package/docs/ClubAnalyticsStaffApi.md +0 -173
  40. package/docs/ClubResponse.md +8 -0
  41. package/docs/ClubSettingsManagerApi.md +0 -104
  42. package/docs/ClubSettingsResponse.md +0 -2
  43. package/docs/ClubsManagerApi.md +0 -104
  44. package/docs/ClubsStaffApi.md +0 -88
  45. package/docs/CreateBookingRequest.md +2 -2
  46. package/docs/CreateEventRequest.md +1 -3
  47. package/docs/EventResponse.md +1 -1
  48. package/docs/{SetupPaymentMethodRequestBody.md → EventResponseCourtsInner.md} +3 -5
  49. package/docs/IUserAttributes.md +2 -12
  50. package/docs/InvoiceStatus.md +22 -0
  51. package/docs/PartialClubResponse.md +8 -0
  52. package/docs/PlayerPrice.md +30 -0
  53. package/docs/QuickReservationClubSport.md +22 -0
  54. package/docs/QuickReservationClubSummary.md +4 -0
  55. package/docs/SlotInfo.md +2 -2
  56. package/docs/SportsPublicApi.md +53 -0
  57. package/docs/StaffUserProfileResponse.md +2 -12
  58. package/docs/SubscribeRequestBody.md +2 -0
  59. package/docs/SubscriptionInfo.md +24 -0
  60. package/docs/UpdateEventRequest.md +1 -1
  61. package/docs/UserBookingsResponse.md +28 -0
  62. package/docs/UserProfileResponse.md +4 -12
  63. package/docs/UsersApi.md +4 -160
  64. package/index.ts +1 -1
  65. package/package.json +1 -1
  66. package/docs/ClubGeneralSettingsResponse.md +0 -34
  67. package/docs/ClubHoursSettingsResponse.md +0 -22
  68. package/docs/ClubLocationSettings.md +0 -26
  69. package/docs/ClubPlayerBookingItem.md +0 -36
  70. package/docs/ClubPlayerBookingsPagination.md +0 -28
  71. package/docs/ClubPlayerBookingsResponse.md +0 -24
  72. package/docs/ClubPlayerDetailResponse.md +0 -46
  73. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  74. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  75. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  76. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  77. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  78. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  79. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  80. package/docs/ClubPresentationSettingsResponse.md +0 -26
  81. package/docs/ClubPricingPeriodResponse.md +0 -30
  82. package/docs/ClubReservationAccessSettingsResponse.md +0 -26
  83. package/docs/ClubReservationSettingsResponse.md +0 -36
  84. package/docs/ClubSettingsStaffApi.md +0 -95
  85. package/docs/ClubWeeklySchedule.md +0 -32
  86. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  87. package/docs/HotelAccessSettings.md +0 -26
  88. package/docs/PartialClubWeeklySchedule.md +0 -33
  89. package/docs/PartialHotelAccessSettings.md +0 -27
  90. package/docs/PartialPaymentRequirementsSettings.md +0 -23
  91. package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +0 -27
  92. package/docs/PartialPublicAccessSettings.md +0 -25
  93. package/docs/PartialSchoolAccessSettings.md +0 -25
  94. package/docs/PaymentMethodSetupResponse.md +0 -24
  95. package/docs/PaymentRequirementsSettings.md +0 -22
  96. package/docs/PublicAccessSettings.md +0 -24
  97. package/docs/SchoolAccessSettings.md +0 -24
  98. package/docs/SetupPaymentMethodResponse.md +0 -24
  99. package/docs/UpdateClubGeneralSettingsRequest.md +0 -34
  100. package/docs/UpdateClubHoursSettingsRequest.md +0 -22
  101. package/docs/UpdateClubPresentationSettingsRequest.md +0 -26
  102. package/docs/UpdateClubReservationSettingsRequest.md +0 -34
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.77
7
+ * The version of the OpenAPI document: 1.0.85
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,34 +0,0 @@
1
- # ClubGeneralSettingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [default to undefined]
9
- **email** | **string** | | [optional] [default to undefined]
10
- **phone** | **string** | | [optional] [default to undefined]
11
- **websiteUrl** | **string** | | [optional] [default to undefined]
12
- **description** | **string** | | [optional] [default to undefined]
13
- **rib** | **string** | | [optional] [default to undefined]
14
- **logo** | **string** | | [optional] [default to undefined]
15
- **location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { ClubGeneralSettingsResponse } from '@tennac-booking/sdk';
21
-
22
- const instance: ClubGeneralSettingsResponse = {
23
- name,
24
- email,
25
- phone,
26
- websiteUrl,
27
- description,
28
- rib,
29
- logo,
30
- location,
31
- };
32
- ```
33
-
34
- [[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
- # ClubHoursSettingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **schedule** | [**ClubWeeklySchedule**](ClubWeeklySchedule.md) | | [default to undefined]
9
- **pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ClubHoursSettingsResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: ClubHoursSettingsResponse = {
17
- schedule,
18
- pricingPeriods,
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,26 +0,0 @@
1
- # ClubLocationSettings
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **address** | **string** | | [optional] [default to undefined]
9
- **zipCode** | **string** | | [optional] [default to undefined]
10
- **city** | **string** | | [optional] [default to undefined]
11
- **country** | **string** | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { ClubLocationSettings } from '@tennac-booking/sdk';
17
-
18
- const instance: ClubLocationSettings = {
19
- address,
20
- zipCode,
21
- city,
22
- country,
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,36 +0,0 @@
1
- # ClubPlayerBookingItem
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | ID de la réservation | [default to undefined]
9
- **startDate** | **string** | Date de début de la réservation | [default to undefined]
10
- **endDate** | **string** | Date de fin de la réservation | [default to undefined]
11
- **location** | **string** | Nom du terrain ou emplacement | [default to undefined]
12
- **sport** | **string** | Nom du sport associé | [default to undefined]
13
- **status** | **string** | Statut de la réservation | [default to undefined]
14
- **totalPrice** | **number** | Prix total de la réservation en centimes | [default to undefined]
15
- **isCreator** | **boolean** | Indique si le joueur est le créateur de la réservation | [default to undefined]
16
- **participantsCount** | **number** | Nombre total de participants | [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { ClubPlayerBookingItem } from '@tennac-booking/sdk';
22
-
23
- const instance: ClubPlayerBookingItem = {
24
- id,
25
- startDate,
26
- endDate,
27
- location,
28
- sport,
29
- status,
30
- totalPrice,
31
- isCreator,
32
- participantsCount,
33
- };
34
- ```
35
-
36
- [[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
- # ClubPlayerBookingsPagination
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **page** | **number** | Page courante (1-based) | [default to undefined]
9
- **pageSize** | **number** | Nombre d\'éléments par page | [default to undefined]
10
- **totalItems** | **number** | Nombre total d\'éléments disponibles | [default to undefined]
11
- **totalPages** | **number** | Nombre total de pages disponibles | [default to undefined]
12
- **hasMore** | **boolean** | Existence d\'une page suivante | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { ClubPlayerBookingsPagination } from '@tennac-booking/sdk';
18
-
19
- const instance: ClubPlayerBookingsPagination = {
20
- page,
21
- pageSize,
22
- totalItems,
23
- totalPages,
24
- hasMore,
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
- # ClubPlayerBookingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **upcomingBookings** | [**Array<ClubPlayerBookingItem>**](ClubPlayerBookingItem.md) | Réservations à venir | [default to undefined]
9
- **pastBookings** | [**Array<ClubPlayerBookingItem>**](ClubPlayerBookingItem.md) | Réservations passées | [default to undefined]
10
- **pastPagination** | [**ClubPlayerBookingsPagination**](ClubPlayerBookingsPagination.md) | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ClubPlayerBookingsResponse } from '@tennac-booking/sdk';
16
-
17
- const instance: ClubPlayerBookingsResponse = {
18
- upcomingBookings,
19
- pastBookings,
20
- pastPagination,
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,46 +0,0 @@
1
- # ClubPlayerDetailResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | ID du joueur | [default to undefined]
9
- **name** | **string** | Nom complet | [default to undefined]
10
- **firstName** | **string** | Prénom | [default to undefined]
11
- **lastName** | **string** | Nom | [default to undefined]
12
- **email** | **string** | Email | [default to undefined]
13
- **phoneNumber** | **string** | Numéro de téléphone | [default to undefined]
14
- **profilePictureUrl** | **string** | URL de la photo de profil | [default to undefined]
15
- **isAccountVerified** | **boolean** | Compte vérifié | [default to undefined]
16
- **subscriptionsToMyClub** | [**Array<ClubPlayerSubscriptionSummary>**](ClubPlayerSubscriptionSummary.md) | Abonnements au club courant | [default to undefined]
17
- **profileDescription** | **string** | Description du profil | [default to undefined]
18
- **gender** | **string** | Genre | [default to undefined]
19
- **city** | **string** | Ville | [default to undefined]
20
- **sportsLevels** | [**Array<ClubPlayerDetailResponseSportsLevelsInner>**](ClubPlayerDetailResponseSportsLevelsInner.md) | Niveaux par sport | [default to undefined]
21
- **birthDate** | **string** | Date de naissance | [default to undefined]
22
-
23
- ## Example
24
-
25
- ```typescript
26
- import { ClubPlayerDetailResponse } from '@tennac-booking/sdk';
27
-
28
- const instance: ClubPlayerDetailResponse = {
29
- id,
30
- name,
31
- firstName,
32
- lastName,
33
- email,
34
- phoneNumber,
35
- profilePictureUrl,
36
- isAccountVerified,
37
- subscriptionsToMyClub,
38
- profileDescription,
39
- gender,
40
- city,
41
- sportsLevels,
42
- birthDate,
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,22 +0,0 @@
1
- # ClubPlayerDetailResponseSportsLevelsInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **level** | **string** | | [default to undefined]
9
- **sport** | **string** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ClubPlayerDetailResponseSportsLevelsInner } from '@tennac-booking/sdk';
15
-
16
- const instance: ClubPlayerDetailResponseSportsLevelsInner = {
17
- level,
18
- sport,
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,42 +0,0 @@
1
- # ClubPlayerStatisticsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **totalBookings** | **number** | Nombre total de réservations (tous clubs confondus) | [default to undefined]
9
- **totalBookingsInMyClub** | **number** | Nombre total de réservations dans le club courant | [default to undefined]
10
- **totalSpentAmount** | **number** | Somme totale dépensée dans le club courant (centimes) | [default to undefined]
11
- **favoriteSport** | **string** | Sport le plus pratiqué dans le club courant | [default to undefined]
12
- **averageBookingLeadTimeHours** | **number** | Temps moyen entre la réservation et le début du créneau (heures) | [default to undefined]
13
- **bookingCancellationRate** | **number** | Taux d\'annulation dans le club courant (0-1) | [default to undefined]
14
- **activeSubscriptionsToMyClub** | **number** | Nombre d\'abonnements actifs au club courant | [default to undefined]
15
- **favoriteTimeSlot** | **string** | Heure de créneau favorite dans le club courant (format HH:00) | [default to undefined]
16
- **favoriteClub** | [**ClubPlayerStatisticsResponseFavoriteClub**](ClubPlayerStatisticsResponseFavoriteClub.md) | | [default to undefined]
17
- **mostPlayedClub** | [**ClubPlayerStatisticsResponseMostPlayedClub**](ClubPlayerStatisticsResponseMostPlayedClub.md) | | [default to undefined]
18
- **bookingAmountEvolutionThisMonth** | [**Array<ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner>**](ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md) | Évolution quotidienne des montants dépensés ce mois-ci | [default to undefined]
19
- **mostPlayedPartners** | [**Array<ClubPlayerStatisticsResponseMostPlayedPartnersInner>**](ClubPlayerStatisticsResponseMostPlayedPartnersInner.md) | Joueurs les plus joués dans le club courant | [default to undefined]
20
-
21
- ## Example
22
-
23
- ```typescript
24
- import { ClubPlayerStatisticsResponse } from '@tennac-booking/sdk';
25
-
26
- const instance: ClubPlayerStatisticsResponse = {
27
- totalBookings,
28
- totalBookingsInMyClub,
29
- totalSpentAmount,
30
- favoriteSport,
31
- averageBookingLeadTimeHours,
32
- bookingCancellationRate,
33
- activeSubscriptionsToMyClub,
34
- favoriteTimeSlot,
35
- favoriteClub,
36
- mostPlayedClub,
37
- bookingAmountEvolutionThisMonth,
38
- mostPlayedPartners,
39
- };
40
- ```
41
-
42
- [[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
- # ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **amount** | **number** | | [default to undefined]
9
- **day** | **number** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner } from '@tennac-booking/sdk';
15
-
16
- const instance: ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner = {
17
- amount,
18
- day,
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,23 +0,0 @@
1
- # ClubPlayerStatisticsResponseFavoriteClub
2
-
3
- Club favori selon le profil utilisateur
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **name** | **string** | | [default to undefined]
10
- **clubId** | **string** | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { ClubPlayerStatisticsResponseFavoriteClub } from '@tennac-booking/sdk';
16
-
17
- const instance: ClubPlayerStatisticsResponseFavoriteClub = {
18
- name,
19
- clubId,
20
- };
21
- ```
22
-
23
- [[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,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,26 +0,0 @@
1
- # ClubPresentationSettingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **description** | **string** | | [optional] [default to undefined]
9
- **tags** | **Array<string>** | | [default to undefined]
10
- **bannerImages** | **Array<string>** | | [default to undefined]
11
- **galleryImages** | **Array<string>** | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { ClubPresentationSettingsResponse } from '@tennac-booking/sdk';
17
-
18
- const instance: ClubPresentationSettingsResponse = {
19
- description,
20
- tags,
21
- bannerImages,
22
- galleryImages,
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,30 +0,0 @@
1
- # ClubPricingPeriodResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **name** | **string** | | [default to undefined]
10
- **days** | **Array<string>** | | [default to undefined]
11
- **startTime** | **string** | | [default to undefined]
12
- **endTime** | **string** | | [default to undefined]
13
- **variation** | **number** | | [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { ClubPricingPeriodResponse } from '@tennac-booking/sdk';
19
-
20
- const instance: ClubPricingPeriodResponse = {
21
- id,
22
- name,
23
- days,
24
- startTime,
25
- endTime,
26
- variation,
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,26 +0,0 @@
1
- # ClubReservationAccessSettingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **publicAccess** | [**PublicAccessSettings**](PublicAccessSettings.md) | | [default to undefined]
9
- **schoolAccess** | [**SchoolAccessSettings**](SchoolAccessSettings.md) | | [default to undefined]
10
- **hotelAccess** | [**HotelAccessSettings**](HotelAccessSettings.md) | | [default to undefined]
11
- **paymentRequirements** | [**PaymentRequirementsSettings**](PaymentRequirementsSettings.md) | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { ClubReservationAccessSettingsResponse } from '@tennac-booking/sdk';
17
-
18
- const instance: ClubReservationAccessSettingsResponse = {
19
- publicAccess,
20
- schoolAccess,
21
- hotelAccess,
22
- paymentRequirements,
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,36 +0,0 @@
1
- # ClubReservationSettingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **slotDuration** | **number** | | [default to undefined]
9
- **slotPrice** | **number** | | [default to undefined]
10
- **maxReservations** | **number** | | [default to undefined]
11
- **unlimitedReservations** | **boolean** | | [default to undefined]
12
- **cancellationDelay** | **number** | | [default to undefined]
13
- **bookingPeriod** | **number** | | [default to undefined]
14
- **limitMultipleReservations** | **number** | | [default to undefined]
15
- **allowMultipleReservations** | **boolean** | | [default to undefined]
16
- **accessSettings** | [**ClubReservationAccessSettingsResponse**](ClubReservationAccessSettingsResponse.md) | | [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { ClubReservationSettingsResponse } from '@tennac-booking/sdk';
22
-
23
- const instance: ClubReservationSettingsResponse = {
24
- slotDuration,
25
- slotPrice,
26
- maxReservations,
27
- unlimitedReservations,
28
- cancellationDelay,
29
- bookingPeriod,
30
- limitMultipleReservations,
31
- allowMultipleReservations,
32
- accessSettings,
33
- };
34
- ```
35
-
36
- [[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,95 +0,0 @@
1
- # ClubSettingsStaffApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getHoursSettings**](#gethourssettings) | **GET** /api/club-settings/hours | |
8
- |[**getReservationSettings**](#getreservationsettings) | **GET** /api/club-settings/reservation | |
9
-
10
- # **getHoursSettings**
11
- > ClubHoursSettingsResponse getHoursSettings()
12
-
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- ClubSettingsStaffApi,
19
- Configuration
20
- } from '@tennac-booking/sdk';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new ClubSettingsStaffApi(configuration);
24
-
25
- const { status, data } = await apiInstance.getHoursSettings();
26
- ```
27
-
28
- ### Parameters
29
- This endpoint does not have any parameters.
30
-
31
-
32
- ### Return type
33
-
34
- **ClubHoursSettingsResponse**
35
-
36
- ### Authorization
37
-
38
- [bearerAuth](../README.md#bearerAuth)
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** | Horaires du club | - |
50
-
51
- [[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)
52
-
53
- # **getReservationSettings**
54
- > ClubReservationSettingsResponse getReservationSettings()
55
-
56
-
57
- ### Example
58
-
59
- ```typescript
60
- import {
61
- ClubSettingsStaffApi,
62
- Configuration
63
- } from '@tennac-booking/sdk';
64
-
65
- const configuration = new Configuration();
66
- const apiInstance = new ClubSettingsStaffApi(configuration);
67
-
68
- const { status, data } = await apiInstance.getReservationSettings();
69
- ```
70
-
71
- ### Parameters
72
- This endpoint does not have any parameters.
73
-
74
-
75
- ### Return type
76
-
77
- **ClubReservationSettingsResponse**
78
-
79
- ### Authorization
80
-
81
- [bearerAuth](../README.md#bearerAuth)
82
-
83
- ### HTTP request headers
84
-
85
- - **Content-Type**: Not defined
86
- - **Accept**: application/json
87
-
88
-
89
- ### HTTP response details
90
- | Status code | Description | Response headers |
91
- |-------------|-------------|------------------|
92
- |**200** | Paramètres de réservation du club | - |
93
-
94
- [[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)
95
-