@tennac-booking/sdk 1.0.87 → 1.0.89

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 +247 -256
  2. package/README.md +30 -47
  3. package/api.ts +1722 -2568
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1406 -1986
  8. package/dist/api.js +481 -876
  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 +1406 -1986
  16. package/dist/esm/api.js +472 -871
  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/{ConfirmPaymentMethodRequestBody.md → AddCreditsToCustomer200Response.md} +5 -5
  28. package/docs/AddCreditsToCustomerRequest.md +22 -0
  29. package/docs/BookingClubInfo.md +28 -0
  30. package/docs/BookingCourtInfo.md +22 -0
  31. package/docs/BookingInfo.md +2 -2
  32. package/docs/BookingPaymentStatus.md +24 -0
  33. package/docs/BookingPlayerPaymentSummary.md +34 -0
  34. package/docs/BookingPopulated.md +3 -3
  35. package/docs/BookingPriceBody.md +22 -0
  36. package/docs/BookingPriceResponse.md +22 -0
  37. package/docs/BookingResponse.md +2 -0
  38. package/docs/BookingSlotInfo.md +30 -0
  39. package/docs/{ClubDaySchedule.md → BookingSportInfo.md} +7 -7
  40. package/docs/BookingSummary.md +54 -2
  41. package/docs/BookingsApi.md +55 -0
  42. package/docs/ClubAnalyticsStaffApi.md +0 -173
  43. package/docs/ClubResponse.md +8 -0
  44. package/docs/ClubSettingsManagerApi.md +55 -54
  45. package/docs/ClubSettingsResponse.md +39 -0
  46. package/docs/ClubsApi.md +1 -1
  47. package/docs/ClubsManagerApi.md +58 -52
  48. package/docs/ClubsStaffApi.md +0 -44
  49. package/docs/CreateBookingRequest.md +4 -2
  50. package/docs/CreateClubSettingsRequest.md +34 -0
  51. package/docs/CreateEventRequest.md +1 -3
  52. package/docs/{AddPaymentMethodRequestBody.md → DeleteClubSettingsResponse.md} +5 -5
  53. package/docs/EventResponse.md +1 -1
  54. package/docs/{SetupPaymentMethodRequestBody.md → EventResponseCourtsInner.md} +3 -5
  55. package/docs/IUserAttributes.md +2 -12
  56. package/docs/InvoiceStatus.md +22 -0
  57. package/docs/MyClubInfosResponse.md +26 -0
  58. package/docs/PartialClubResponse.md +8 -0
  59. package/docs/PlayerPrice.md +30 -0
  60. package/docs/QuickReservationClubSport.md +22 -0
  61. package/docs/QuickReservationClubSummary.md +4 -0
  62. package/docs/SlotInfo.md +2 -2
  63. package/docs/SportsPublicApi.md +53 -0
  64. package/docs/StaffUserProfileResponse.md +2 -12
  65. package/docs/SubscribeRequestBody.md +2 -0
  66. package/docs/SubscriptionInfo.md +24 -0
  67. package/docs/UpdateClubSettingsRequest.md +32 -0
  68. package/docs/UpdateEventRequest.md +1 -1
  69. package/docs/UserApi.md +60 -0
  70. package/docs/UserBookingsResponse.md +28 -0
  71. package/docs/UserProfileResponse.md +4 -12
  72. package/docs/UsersApi.md +4 -160
  73. package/index.ts +1 -1
  74. package/package.json +1 -1
  75. package/docs/BookingDetailResponse.md +0 -46
  76. package/docs/ClubGeneralSettingsResponse.md +0 -32
  77. package/docs/ClubHoursSettingsResponse.md +0 -22
  78. package/docs/ClubLocationSettings.md +0 -26
  79. package/docs/ClubPlayerBookingItem.md +0 -36
  80. package/docs/ClubPlayerBookingsPagination.md +0 -28
  81. package/docs/ClubPlayerBookingsResponse.md +0 -24
  82. package/docs/ClubPlayerDetailResponse.md +0 -46
  83. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  84. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  85. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  86. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  87. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  88. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  89. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  90. package/docs/ClubPresentationSettingsResponse.md +0 -26
  91. package/docs/ClubPricingPeriodResponse.md +0 -30
  92. package/docs/ClubReservationSettingsResponse.md +0 -28
  93. package/docs/ClubSettingsStaffApi.md +0 -139
  94. package/docs/ClubWeeklySchedule.md +0 -32
  95. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  96. package/docs/PartialClubWeeklySchedule.md +0 -33
  97. package/docs/PaymentMethodSetupResponse.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 -28
@@ -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,28 +0,0 @@
1
- # ClubReservationSettingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **maxWeeklyBookings** | **number** | | [default to undefined]
9
- **unlimitedWeeklyBookings** | **boolean** | | [default to undefined]
10
- **sameTimeBookingsLimit** | **number** | | [default to undefined]
11
- **cancellationDelayInHours** | **number** | | [default to undefined]
12
- **bookingPeriodInDays** | **number** | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { ClubReservationSettingsResponse } from '@tennac-booking/sdk';
18
-
19
- const instance: ClubReservationSettingsResponse = {
20
- maxWeeklyBookings,
21
- unlimitedWeeklyBookings,
22
- sameTimeBookingsLimit,
23
- cancellationDelayInHours,
24
- bookingPeriodInDays,
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,139 +0,0 @@
1
- # ClubSettingsStaffApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getClubGeneralSettings**](#getclubgeneralsettings) | **GET** /api/club-settings/settings/general | |
8
- |[**getHoursSettings**](#gethourssettings) | **GET** /api/club-settings/hours | |
9
- |[**getReservationSettings**](#getreservationsettings) | **GET** /api/club-settings/reservation | |
10
-
11
- # **getClubGeneralSettings**
12
- > ClubGeneralSettingsResponse getClubGeneralSettings()
13
-
14
-
15
- ### Example
16
-
17
- ```typescript
18
- import {
19
- ClubSettingsStaffApi,
20
- Configuration
21
- } from '@tennac-booking/sdk';
22
-
23
- const configuration = new Configuration();
24
- const apiInstance = new ClubSettingsStaffApi(configuration);
25
-
26
- const { status, data } = await apiInstance.getClubGeneralSettings();
27
- ```
28
-
29
- ### Parameters
30
- This endpoint does not have any parameters.
31
-
32
-
33
- ### Return type
34
-
35
- **ClubGeneralSettingsResponse**
36
-
37
- ### Authorization
38
-
39
- [bearerAuth](../README.md#bearerAuth)
40
-
41
- ### HTTP request headers
42
-
43
- - **Content-Type**: Not defined
44
- - **Accept**: application/json
45
-
46
-
47
- ### HTTP response details
48
- | Status code | Description | Response headers |
49
- |-------------|-------------|------------------|
50
- |**200** | Paramètres généraux du club | - |
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
-
54
- # **getHoursSettings**
55
- > ClubHoursSettingsResponse getHoursSettings()
56
-
57
-
58
- ### Example
59
-
60
- ```typescript
61
- import {
62
- ClubSettingsStaffApi,
63
- Configuration
64
- } from '@tennac-booking/sdk';
65
-
66
- const configuration = new Configuration();
67
- const apiInstance = new ClubSettingsStaffApi(configuration);
68
-
69
- const { status, data } = await apiInstance.getHoursSettings();
70
- ```
71
-
72
- ### Parameters
73
- This endpoint does not have any parameters.
74
-
75
-
76
- ### Return type
77
-
78
- **ClubHoursSettingsResponse**
79
-
80
- ### Authorization
81
-
82
- [bearerAuth](../README.md#bearerAuth)
83
-
84
- ### HTTP request headers
85
-
86
- - **Content-Type**: Not defined
87
- - **Accept**: application/json
88
-
89
-
90
- ### HTTP response details
91
- | Status code | Description | Response headers |
92
- |-------------|-------------|------------------|
93
- |**200** | Horaires du club | - |
94
-
95
- [[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)
96
-
97
- # **getReservationSettings**
98
- > ClubReservationSettingsResponse getReservationSettings()
99
-
100
-
101
- ### Example
102
-
103
- ```typescript
104
- import {
105
- ClubSettingsStaffApi,
106
- Configuration
107
- } from '@tennac-booking/sdk';
108
-
109
- const configuration = new Configuration();
110
- const apiInstance = new ClubSettingsStaffApi(configuration);
111
-
112
- const { status, data } = await apiInstance.getReservationSettings();
113
- ```
114
-
115
- ### Parameters
116
- This endpoint does not have any parameters.
117
-
118
-
119
- ### Return type
120
-
121
- **ClubReservationSettingsResponse**
122
-
123
- ### Authorization
124
-
125
- [bearerAuth](../README.md#bearerAuth)
126
-
127
- ### HTTP request headers
128
-
129
- - **Content-Type**: Not defined
130
- - **Accept**: application/json
131
-
132
-
133
- ### HTTP response details
134
- | Status code | Description | Response headers |
135
- |-------------|-------------|------------------|
136
- |**200** | Paramètres de réservation du club | - |
137
-
138
- [[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)
139
-
@@ -1,32 +0,0 @@
1
- # ClubWeeklySchedule
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **sunday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
9
- **saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
10
- **friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
11
- **thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
12
- **wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
13
- **tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
14
- **monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { ClubWeeklySchedule } from '@tennac-booking/sdk';
20
-
21
- const instance: ClubWeeklySchedule = {
22
- sunday,
23
- saturday,
24
- friday,
25
- thursday,
26
- wednesday,
27
- tuesday,
28
- monday,
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,22 +0,0 @@
1
- # ConfirmPaymentMethodResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [default to undefined]
9
- **paymentMethodId** | **string** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ConfirmPaymentMethodResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: ConfirmPaymentMethodResponse = {
17
- message,
18
- paymentMethodId,
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,33 +0,0 @@
1
- # PartialClubWeeklySchedule
2
-
3
- Make all properties in T optional
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **monday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
10
- **tuesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
11
- **wednesday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
12
- **thursday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
13
- **friday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
14
- **saturday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
15
- **sunday** | [**ClubDaySchedule**](ClubDaySchedule.md) | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { PartialClubWeeklySchedule } from '@tennac-booking/sdk';
21
-
22
- const instance: PartialClubWeeklySchedule = {
23
- monday,
24
- tuesday,
25
- wednesday,
26
- thursday,
27
- friday,
28
- saturday,
29
- sunday,
30
- };
31
- ```
32
-
33
- [[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
- # PaymentMethodSetupResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [default to undefined]
9
- **paymentMethods** | **Array<string>** | | [default to undefined]
10
- **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { PaymentMethodSetupResponse } from '@tennac-booking/sdk';
16
-
17
- const instance: PaymentMethodSetupResponse = {
18
- message,
19
- paymentMethods,
20
- defaultPaymentMethodId,
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,24 +0,0 @@
1
- # SetupPaymentMethodResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **setupIntentId** | **string** | | [default to undefined]
9
- **clientSecret** | **string** | | [default to undefined]
10
- **message** | **string** | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { SetupPaymentMethodResponse } from '@tennac-booking/sdk';
16
-
17
- const instance: SetupPaymentMethodResponse = {
18
- setupIntentId,
19
- clientSecret,
20
- message,
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,34 +0,0 @@
1
- # UpdateClubGeneralSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [optional] [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) | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { UpdateClubGeneralSettingsRequest } from '@tennac-booking/sdk';
21
-
22
- const instance: UpdateClubGeneralSettingsRequest = {
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
- # UpdateClubHoursSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **schedule** | [**PartialClubWeeklySchedule**](PartialClubWeeklySchedule.md) | | [optional] [default to undefined]
9
- **pricingPeriods** | [**Array<ClubPricingPeriodResponse>**](ClubPricingPeriodResponse.md) | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { UpdateClubHoursSettingsRequest } from '@tennac-booking/sdk';
15
-
16
- const instance: UpdateClubHoursSettingsRequest = {
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
- # UpdateClubPresentationSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **description** | **string** | | [optional] [default to undefined]
9
- **tags** | **Array<string>** | | [optional] [default to undefined]
10
- **bannerImages** | **Array<string | null>** | | [optional] [default to undefined]
11
- **galleryImages** | **Array<string | null>** | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { UpdateClubPresentationSettingsRequest } from '@tennac-booking/sdk';
17
-
18
- const instance: UpdateClubPresentationSettingsRequest = {
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,28 +0,0 @@
1
- # UpdateClubReservationSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **maxWeeklyBookings** | **number** | | [default to undefined]
9
- **unlimitedWeeklyBookings** | **boolean** | | [default to undefined]
10
- **sameTimeBookingsLimit** | **number** | | [default to undefined]
11
- **cancellationDelayInHours** | **number** | | [default to undefined]
12
- **bookingPeriodInDays** | **number** | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { UpdateClubReservationSettingsRequest } from '@tennac-booking/sdk';
18
-
19
- const instance: UpdateClubReservationSettingsRequest = {
20
- maxWeeklyBookings,
21
- unlimitedWeeklyBookings,
22
- sameTimeBookingsLimit,
23
- cancellationDelayInHours,
24
- bookingPeriodInDays,
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)