@tennac-booking/sdk 1.0.34 → 1.0.36

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 (202) hide show
  1. package/.openapi-generator/FILES +5 -161
  2. package/README.md +7 -230
  3. package/api.ts +672 -13535
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +652 -9153
  8. package/dist/api.js +12 -7641
  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 +652 -9153
  16. package/dist/esm/api.js +11 -7530
  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/ActiveClub.md +4 -2
  28. package/docs/ApiErrorResponse.md +1 -1
  29. package/docs/Club.md +6 -12
  30. package/docs/ClubResponse.md +8 -14
  31. package/docs/ClubRoleResponse.md +6 -6
  32. package/docs/ClubSettings.md +9 -21
  33. package/docs/Court.md +2 -2
  34. package/docs/CourtResponse.md +16 -18
  35. package/docs/CourtStatus.md +2 -5
  36. package/docs/{UpdateCustomerRequestBodyAddress.md → Location.md} +13 -11
  37. package/docs/PriceResponse.md +8 -2
  38. package/docs/SlotResponse.md +10 -2
  39. package/docs/SportResponse.md +2 -4
  40. package/docs/{GetUserRolesResponseRolesInner.md → StripeLink.md} +7 -7
  41. package/docs/UserResponse.md +48 -8
  42. package/docs/{FrequentlyPlayedWithItem.md → UserResponseFrequentlyPlayedWithInner.md} +3 -3
  43. package/docs/{FrequentlyVisitedClubItem.md → UserResponseFrequentlyVisitedClubsInner.md} +3 -3
  44. package/docs/{PublicClubUserLevelBySportsInner.md → UserResponseLevelBySportsInner.md} +3 -3
  45. package/index.ts +1 -1
  46. package/package.json +1 -1
  47. package/docs/AddClubMemberRequest.md +0 -22
  48. package/docs/AddClubMemberResponse.md +0 -22
  49. package/docs/AddFavoriteClubRequestBody.md +0 -20
  50. package/docs/AddFavoritePlayerRequestBody.md +0 -20
  51. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  52. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  53. package/docs/BlockSlotResponse.md +0 -22
  54. package/docs/BookingHistoryResponse.md +0 -22
  55. package/docs/BookingHistoryResponseHistoryInner.md +0 -32
  56. package/docs/BookingPaymentStatusResponse.md +0 -24
  57. package/docs/BookingPaymentStatusResponseBooking.md +0 -26
  58. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  59. package/docs/BookingPaymentStatusResponseSummary.md +0 -28
  60. package/docs/BookingPopulated.md +0 -28
  61. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  62. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  63. package/docs/BookingPopulatedSlotId.md +0 -26
  64. package/docs/BookingPopulatedSlotIdCourtId.md +0 -22
  65. package/docs/BookingPopulatedUserId.md +0 -24
  66. package/docs/BookingResponse.md +0 -28
  67. package/docs/BookingsApi.md +0 -113
  68. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
  69. package/docs/CancelBookingResponse.md +0 -22
  70. package/docs/CancelBookingResponseBooking.md +0 -30
  71. package/docs/ChangePasswordRequestBody.md +0 -22
  72. package/docs/ChangePasswordResponse.md +0 -20
  73. package/docs/CheckInPlayersResponse.md +0 -30
  74. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  75. package/docs/ClubAnalyticsApi.md +0 -241
  76. package/docs/ClubInfoResponse.md +0 -48
  77. package/docs/ClubMember.md +0 -24
  78. package/docs/ClubMembersResponse.md +0 -22
  79. package/docs/ClubRolesResponse.md +0 -22
  80. package/docs/ClubsApi.md +0 -61
  81. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  82. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  83. package/docs/CourtDeleteResponse.md +0 -20
  84. package/docs/CourtWithNameResponse.md +0 -46
  85. package/docs/CourtsResponse.md +0 -22
  86. package/docs/CourtsWithNameResponse.md +0 -22
  87. package/docs/CreateBookingRequest.md +0 -28
  88. package/docs/CreateClubRoleRequestBody.md +0 -24
  89. package/docs/CreateCourtRequest.md +0 -36
  90. package/docs/CreateEventRequest.md +0 -30
  91. package/docs/CreatePriceRequest.md +0 -26
  92. package/docs/CreateSportRequest.md +0 -26
  93. package/docs/CreateSubscriptionPlanRequest.md +0 -24
  94. package/docs/DailyTurnoverResponse.md +0 -24
  95. package/docs/DeleteClubRole200Response.md +0 -20
  96. package/docs/DeleteEvent200Response.md +0 -20
  97. package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
  98. package/docs/DeleteSport200Response.md +0 -20
  99. package/docs/Event.md +0 -40
  100. package/docs/EventBooking.md +0 -32
  101. package/docs/EventRegistrationRequest.md +0 -22
  102. package/docs/EventsApi.md +0 -119
  103. package/docs/FavoriteClubItem.md +0 -26
  104. package/docs/FavoriteClubResponse.md +0 -22
  105. package/docs/FavoritePlayerPublic.md +0 -28
  106. package/docs/FavoritePlayersIdsResponse.md +0 -22
  107. package/docs/FavoritePlayersResponse.md +0 -20
  108. package/docs/GetActiveClubs200Response.md +0 -20
  109. package/docs/GetClubInfos200Response.md +0 -30
  110. package/docs/GetClubPlayers200Response.md +0 -22
  111. package/docs/GetClubUsersById200Response.md +0 -20
  112. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  113. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  114. package/docs/GetNumberOfClubUsers200Response.md +0 -20
  115. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  116. package/docs/GetUserRolesResponse.md +0 -20
  117. package/docs/GetUserSubscriptionsResponse.md +0 -22
  118. package/docs/GoogleSignInRequestBody.md +0 -20
  119. package/docs/GoogleSignInResponse.md +0 -24
  120. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  121. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  122. package/docs/InvoicesResponse.md +0 -22
  123. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  124. package/docs/InvoicesResponsePagination.md +0 -26
  125. package/docs/LevelBySportsItem.md +0 -22
  126. package/docs/LoginRequestBody.md +0 -22
  127. package/docs/LoginResponse.md +0 -28
  128. package/docs/ManagerBookingsApi.md +0 -125
  129. package/docs/ManagerCancelBookingRequest.md +0 -20
  130. package/docs/ManagerCancelBookingResponse.md +0 -22
  131. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  132. package/docs/ManagerClubCourtsApi.md +0 -220
  133. package/docs/ManagerClubRolesApi.md +0 -268
  134. package/docs/ManagerClubSlotsApi.md +0 -119
  135. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  136. package/docs/ManagerClubsApi.md +0 -253
  137. package/docs/ManagerEventResponse.md +0 -22
  138. package/docs/ManagerEventsApi.md +0 -227
  139. package/docs/ManagerSportsApi.md +0 -119
  140. package/docs/MonthlyTurnoverResponse.md +0 -28
  141. package/docs/NoShowFeeResponse.md +0 -30
  142. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  143. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  144. package/docs/PaymentStatus.md +0 -30
  145. package/docs/PlayerWithPaymentMethod.md +0 -22
  146. package/docs/ProfilePictureResponse.md +0 -20
  147. package/docs/ProfileVisibilityResponse.md +0 -20
  148. package/docs/PublicClubUser.md +0 -46
  149. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  150. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  151. package/docs/RefreshTokenRequestBody.md +0 -20
  152. package/docs/RefreshTokenResponse.md +0 -22
  153. package/docs/RegisterForEvent201Response.md +0 -20
  154. package/docs/RegisterRequestBody.md +0 -36
  155. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  156. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  157. package/docs/SetupPaymentMethodResponse.md +0 -24
  158. package/docs/SlotsResponse.md +0 -22
  159. package/docs/SportsResponse.md +0 -22
  160. package/docs/StaffClubAnalyticsApi.md +0 -149
  161. package/docs/StaffClubBookingsApi.md +0 -52
  162. package/docs/StaffClubsApi.md +0 -147
  163. package/docs/StaffEventResponse.md +0 -20
  164. package/docs/StaffEventsApi.md +0 -54
  165. package/docs/StaffProfileApi.md +0 -54
  166. package/docs/SubscribeToClubRequestBody.md +0 -22
  167. package/docs/SubscriptionPlanResponse.md +0 -32
  168. package/docs/UpdateClubRequest.md +0 -40
  169. package/docs/UpdateClubRoleRequestBody.md +0 -24
  170. package/docs/UpdateClubSettingsRequest.md +0 -28
  171. package/docs/UpdateCourtRequest.md +0 -38
  172. package/docs/UpdateCustomerRequestBody.md +0 -26
  173. package/docs/UpdateCustomerResponse.md +0 -22
  174. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  175. package/docs/UpdateLevelBySportsRequestBody.md +0 -20
  176. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  177. package/docs/UpdateProfileVisibilityRequestBody.md +0 -20
  178. package/docs/UpdateSportRequest.md +0 -24
  179. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  180. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  181. package/docs/UpdateUserCityRequestBody.md +0 -20
  182. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  183. package/docs/UpdateUserRequestBody.md +0 -38
  184. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +0 -22
  185. package/docs/UserApi.md +0 -63
  186. package/docs/UserAuthenticationApi.md +0 -226
  187. package/docs/UserBookingItem.md +0 -46
  188. package/docs/UserBookingsApi.md +0 -166
  189. package/docs/UserBookingsResponse.md +0 -26
  190. package/docs/UserCityResponse.md +0 -20
  191. package/docs/UserClubCourtsApi.md +0 -64
  192. package/docs/UserClubSlotsApi.md +0 -181
  193. package/docs/UserClubSportsApi.md +0 -60
  194. package/docs/UserClubsApi.md +0 -53
  195. package/docs/UserDescriptionResponse.md +0 -20
  196. package/docs/UserFavoriteClubsResponse.md +0 -20
  197. package/docs/UserPaymentApi.md +0 -176
  198. package/docs/UserProfileApi.md +0 -1254
  199. package/docs/UserStaffResponse.md +0 -36
  200. package/docs/UserSubscriptionsApi.md +0 -222
  201. package/docs/YearlyTurnoverResponse.md +0 -26
  202. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -1,253 +0,0 @@
1
- # ManagerClubsApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**addClubMember**](#addclubmember) | **PUT** /api/clubs/add_members | Ajouter un membre au club courant|
8
- |[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/me | Récupérer les informations du club courant|
9
- |[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | Récupérer les membres du club courant|
10
- |[**getClubRoles**](#getclubroles) | **GET** /api/clubs/roles | Récupérer les rôles du club courant|
11
- |[**updateClubNoId**](#updateclubnoid) | **PUT** /api/clubs | Mettre à jour un club existant (club courant)|
12
-
13
- # **addClubMember**
14
- > AddClubMemberResponse addClubMember(addClubMemberRequest)
15
-
16
-
17
- ### Example
18
-
19
- ```typescript
20
- import {
21
- ManagerClubsApi,
22
- Configuration,
23
- AddClubMemberRequest
24
- } from '@tennac-booking/sdk';
25
-
26
- const configuration = new Configuration();
27
- const apiInstance = new ManagerClubsApi(configuration);
28
-
29
- let addClubMemberRequest: AddClubMemberRequest; //
30
-
31
- const { status, data } = await apiInstance.addClubMember(
32
- addClubMemberRequest
33
- );
34
- ```
35
-
36
- ### Parameters
37
-
38
- |Name | Type | Description | Notes|
39
- |------------- | ------------- | ------------- | -------------|
40
- | **addClubMemberRequest** | **AddClubMemberRequest**| | |
41
-
42
-
43
- ### Return type
44
-
45
- **AddClubMemberResponse**
46
-
47
- ### Authorization
48
-
49
- [bearerAuth](../README.md#bearerAuth)
50
-
51
- ### HTTP request headers
52
-
53
- - **Content-Type**: application/json
54
- - **Accept**: application/json
55
-
56
-
57
- ### HTTP response details
58
- | Status code | Description | Response headers |
59
- |-------------|-------------|------------------|
60
- |**201** | Membre ajouté avec succès | - |
61
- |**400** | Requête invalide | - |
62
- |**404** | Ressource non trouvée | - |
63
- |**500** | Erreur serveur interne | - |
64
-
65
- [[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)
66
-
67
- # **getClubInfo**
68
- > ClubInfoResponse getClubInfo()
69
-
70
-
71
- ### Example
72
-
73
- ```typescript
74
- import {
75
- ManagerClubsApi,
76
- Configuration
77
- } from '@tennac-booking/sdk';
78
-
79
- const configuration = new Configuration();
80
- const apiInstance = new ManagerClubsApi(configuration);
81
-
82
- const { status, data } = await apiInstance.getClubInfo();
83
- ```
84
-
85
- ### Parameters
86
- This endpoint does not have any parameters.
87
-
88
-
89
- ### Return type
90
-
91
- **ClubInfoResponse**
92
-
93
- ### Authorization
94
-
95
- [bearerAuth](../README.md#bearerAuth)
96
-
97
- ### HTTP request headers
98
-
99
- - **Content-Type**: Not defined
100
- - **Accept**: application/json
101
-
102
-
103
- ### HTTP response details
104
- | Status code | Description | Response headers |
105
- |-------------|-------------|------------------|
106
- |**200** | Informations du club | - |
107
- |**404** | Ressource non trouvée | - |
108
- |**500** | Erreur serveur interne | - |
109
-
110
- [[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)
111
-
112
- # **getClubMembers**
113
- > ClubMembersResponse getClubMembers()
114
-
115
-
116
- ### Example
117
-
118
- ```typescript
119
- import {
120
- ManagerClubsApi,
121
- Configuration
122
- } from '@tennac-booking/sdk';
123
-
124
- const configuration = new Configuration();
125
- const apiInstance = new ManagerClubsApi(configuration);
126
-
127
- const { status, data } = await apiInstance.getClubMembers();
128
- ```
129
-
130
- ### Parameters
131
- This endpoint does not have any parameters.
132
-
133
-
134
- ### Return type
135
-
136
- **ClubMembersResponse**
137
-
138
- ### Authorization
139
-
140
- [bearerAuth](../README.md#bearerAuth)
141
-
142
- ### HTTP request headers
143
-
144
- - **Content-Type**: Not defined
145
- - **Accept**: application/json
146
-
147
-
148
- ### HTTP response details
149
- | Status code | Description | Response headers |
150
- |-------------|-------------|------------------|
151
- |**200** | Liste des membres du club | - |
152
- |**500** | Erreur serveur interne | - |
153
-
154
- [[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)
155
-
156
- # **getClubRoles**
157
- > ClubRolesResponse getClubRoles()
158
-
159
-
160
- ### Example
161
-
162
- ```typescript
163
- import {
164
- ManagerClubsApi,
165
- Configuration
166
- } from '@tennac-booking/sdk';
167
-
168
- const configuration = new Configuration();
169
- const apiInstance = new ManagerClubsApi(configuration);
170
-
171
- const { status, data } = await apiInstance.getClubRoles();
172
- ```
173
-
174
- ### Parameters
175
- This endpoint does not have any parameters.
176
-
177
-
178
- ### Return type
179
-
180
- **ClubRolesResponse**
181
-
182
- ### Authorization
183
-
184
- [bearerAuth](../README.md#bearerAuth)
185
-
186
- ### HTTP request headers
187
-
188
- - **Content-Type**: Not defined
189
- - **Accept**: application/json
190
-
191
-
192
- ### HTTP response details
193
- | Status code | Description | Response headers |
194
- |-------------|-------------|------------------|
195
- |**200** | Liste des rôles du club | - |
196
- |**500** | Erreur serveur interne | - |
197
-
198
- [[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)
199
-
200
- # **updateClubNoId**
201
- > ClubResponse updateClubNoId(updateClubRequest)
202
-
203
-
204
- ### Example
205
-
206
- ```typescript
207
- import {
208
- ManagerClubsApi,
209
- Configuration,
210
- UpdateClubRequest
211
- } from '@tennac-booking/sdk';
212
-
213
- const configuration = new Configuration();
214
- const apiInstance = new ManagerClubsApi(configuration);
215
-
216
- let updateClubRequest: UpdateClubRequest; //
217
-
218
- const { status, data } = await apiInstance.updateClubNoId(
219
- updateClubRequest
220
- );
221
- ```
222
-
223
- ### Parameters
224
-
225
- |Name | Type | Description | Notes|
226
- |------------- | ------------- | ------------- | -------------|
227
- | **updateClubRequest** | **UpdateClubRequest**| | |
228
-
229
-
230
- ### Return type
231
-
232
- **ClubResponse**
233
-
234
- ### Authorization
235
-
236
- [bearerAuth](../README.md#bearerAuth)
237
-
238
- ### HTTP request headers
239
-
240
- - **Content-Type**: application/json
241
- - **Accept**: application/json
242
-
243
-
244
- ### HTTP response details
245
- | Status code | Description | Response headers |
246
- |-------------|-------------|------------------|
247
- |**200** | Club mis à jour avec succès | - |
248
- |**400** | Requête invalide | - |
249
- |**404** | Ressource non trouvée | - |
250
- |**500** | Erreur serveur interne | - |
251
-
252
- [[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)
253
-
@@ -1,22 +0,0 @@
1
- # ManagerEventResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **event** | [**Event**](Event.md) | | [optional] [default to undefined]
9
- **message** | **string** | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { ManagerEventResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: ManagerEventResponse = {
17
- event,
18
- message,
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,227 +0,0 @@
1
- # ManagerEventsApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**createEvent**](#createevent) | **POST** /api/events/manager/createEvent | Create a new event|
8
- |[**deleteEvent**](#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} | Delete an event|
9
- |[**publishEvent**](#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} | Publish an event|
10
- |[**unpublishEvent**](#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} | Unpublish an event|
11
-
12
- # **createEvent**
13
- > ManagerEventResponse createEvent(createEventRequest)
14
-
15
-
16
- ### Example
17
-
18
- ```typescript
19
- import {
20
- ManagerEventsApi,
21
- Configuration,
22
- CreateEventRequest
23
- } from '@tennac-booking/sdk';
24
-
25
- const configuration = new Configuration();
26
- const apiInstance = new ManagerEventsApi(configuration);
27
-
28
- let createEventRequest: CreateEventRequest; //
29
-
30
- const { status, data } = await apiInstance.createEvent(
31
- createEventRequest
32
- );
33
- ```
34
-
35
- ### Parameters
36
-
37
- |Name | Type | Description | Notes|
38
- |------------- | ------------- | ------------- | -------------|
39
- | **createEventRequest** | **CreateEventRequest**| | |
40
-
41
-
42
- ### Return type
43
-
44
- **ManagerEventResponse**
45
-
46
- ### Authorization
47
-
48
- [bearerAuth](../README.md#bearerAuth)
49
-
50
- ### HTTP request headers
51
-
52
- - **Content-Type**: application/json
53
- - **Accept**: application/json
54
-
55
-
56
- ### HTTP response details
57
- | Status code | Description | Response headers |
58
- |-------------|-------------|------------------|
59
- |**201** | Event created successfully | - |
60
- |**400** | Requête invalide | - |
61
- |**401** | Non autorisé | - |
62
- |**500** | Erreur serveur interne | - |
63
-
64
- [[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)
65
-
66
- # **deleteEvent**
67
- > DeleteEvent200Response deleteEvent()
68
-
69
-
70
- ### Example
71
-
72
- ```typescript
73
- import {
74
- ManagerEventsApi,
75
- Configuration
76
- } from '@tennac-booking/sdk';
77
-
78
- const configuration = new Configuration();
79
- const apiInstance = new ManagerEventsApi(configuration);
80
-
81
- let eventId: string; // (default to undefined)
82
-
83
- const { status, data } = await apiInstance.deleteEvent(
84
- eventId
85
- );
86
- ```
87
-
88
- ### Parameters
89
-
90
- |Name | Type | Description | Notes|
91
- |------------- | ------------- | ------------- | -------------|
92
- | **eventId** | [**string**] | | defaults to undefined|
93
-
94
-
95
- ### Return type
96
-
97
- **DeleteEvent200Response**
98
-
99
- ### Authorization
100
-
101
- [bearerAuth](../README.md#bearerAuth)
102
-
103
- ### HTTP request headers
104
-
105
- - **Content-Type**: Not defined
106
- - **Accept**: application/json
107
-
108
-
109
- ### HTTP response details
110
- | Status code | Description | Response headers |
111
- |-------------|-------------|------------------|
112
- |**200** | Event deleted successfully | - |
113
- |**400** | Requête invalide | - |
114
- |**401** | Non autorisé | - |
115
- |**404** | Ressource non trouvée | - |
116
- |**500** | Erreur serveur interne | - |
117
-
118
- [[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)
119
-
120
- # **publishEvent**
121
- > ManagerEventResponse publishEvent()
122
-
123
-
124
- ### Example
125
-
126
- ```typescript
127
- import {
128
- ManagerEventsApi,
129
- Configuration
130
- } from '@tennac-booking/sdk';
131
-
132
- const configuration = new Configuration();
133
- const apiInstance = new ManagerEventsApi(configuration);
134
-
135
- let eventId: string; // (default to undefined)
136
-
137
- const { status, data } = await apiInstance.publishEvent(
138
- eventId
139
- );
140
- ```
141
-
142
- ### Parameters
143
-
144
- |Name | Type | Description | Notes|
145
- |------------- | ------------- | ------------- | -------------|
146
- | **eventId** | [**string**] | | defaults to undefined|
147
-
148
-
149
- ### Return type
150
-
151
- **ManagerEventResponse**
152
-
153
- ### Authorization
154
-
155
- [bearerAuth](../README.md#bearerAuth)
156
-
157
- ### HTTP request headers
158
-
159
- - **Content-Type**: Not defined
160
- - **Accept**: application/json
161
-
162
-
163
- ### HTTP response details
164
- | Status code | Description | Response headers |
165
- |-------------|-------------|------------------|
166
- |**200** | Event published successfully | - |
167
- |**400** | Requête invalide | - |
168
- |**401** | Non autorisé | - |
169
- |**404** | Ressource non trouvée | - |
170
- |**500** | Erreur serveur interne | - |
171
-
172
- [[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)
173
-
174
- # **unpublishEvent**
175
- > ManagerEventResponse unpublishEvent()
176
-
177
-
178
- ### Example
179
-
180
- ```typescript
181
- import {
182
- ManagerEventsApi,
183
- Configuration
184
- } from '@tennac-booking/sdk';
185
-
186
- const configuration = new Configuration();
187
- const apiInstance = new ManagerEventsApi(configuration);
188
-
189
- let eventId: string; // (default to undefined)
190
-
191
- const { status, data } = await apiInstance.unpublishEvent(
192
- eventId
193
- );
194
- ```
195
-
196
- ### Parameters
197
-
198
- |Name | Type | Description | Notes|
199
- |------------- | ------------- | ------------- | -------------|
200
- | **eventId** | [**string**] | | defaults to undefined|
201
-
202
-
203
- ### Return type
204
-
205
- **ManagerEventResponse**
206
-
207
- ### Authorization
208
-
209
- [bearerAuth](../README.md#bearerAuth)
210
-
211
- ### HTTP request headers
212
-
213
- - **Content-Type**: Not defined
214
- - **Accept**: application/json
215
-
216
-
217
- ### HTTP response details
218
- | Status code | Description | Response headers |
219
- |-------------|-------------|------------------|
220
- |**200** | Event unpublished successfully | - |
221
- |**400** | Requête invalide | - |
222
- |**401** | Non autorisé | - |
223
- |**404** | Ressource non trouvée | - |
224
- |**500** | Erreur serveur interne | - |
225
-
226
- [[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)
227
-
@@ -1,119 +0,0 @@
1
- # ManagerSportsApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**deleteSport**](#deletesport) | **DELETE** /api/sports/{id} | Supprimer un sport|
8
- |[**updateSport**](#updatesport) | **PUT** /api/sports/{id} | Mettre à jour un sport|
9
-
10
- # **deleteSport**
11
- > DeleteSport200Response deleteSport()
12
-
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- ManagerSportsApi,
19
- Configuration
20
- } from '@tennac-booking/sdk';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new ManagerSportsApi(configuration);
24
-
25
- let id: string; //ID du sport (default to undefined)
26
-
27
- const { status, data } = await apiInstance.deleteSport(
28
- id
29
- );
30
- ```
31
-
32
- ### Parameters
33
-
34
- |Name | Type | Description | Notes|
35
- |------------- | ------------- | ------------- | -------------|
36
- | **id** | [**string**] | ID du sport | defaults to undefined|
37
-
38
-
39
- ### Return type
40
-
41
- **DeleteSport200Response**
42
-
43
- ### Authorization
44
-
45
- [bearerAuth](../README.md#bearerAuth)
46
-
47
- ### HTTP request headers
48
-
49
- - **Content-Type**: Not defined
50
- - **Accept**: application/json
51
-
52
-
53
- ### HTTP response details
54
- | Status code | Description | Response headers |
55
- |-------------|-------------|------------------|
56
- |**200** | Sport supprimé avec succès | - |
57
- |**401** | Non autorisé | - |
58
- |**404** | Ressource non trouvée | - |
59
- |**500** | Erreur serveur interne | - |
60
-
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
-
63
- # **updateSport**
64
- > SportResponse updateSport(updateSportRequest)
65
-
66
-
67
- ### Example
68
-
69
- ```typescript
70
- import {
71
- ManagerSportsApi,
72
- Configuration,
73
- UpdateSportRequest
74
- } from '@tennac-booking/sdk';
75
-
76
- const configuration = new Configuration();
77
- const apiInstance = new ManagerSportsApi(configuration);
78
-
79
- let id: string; //ID du sport (default to undefined)
80
- let updateSportRequest: UpdateSportRequest; //
81
-
82
- const { status, data } = await apiInstance.updateSport(
83
- id,
84
- updateSportRequest
85
- );
86
- ```
87
-
88
- ### Parameters
89
-
90
- |Name | Type | Description | Notes|
91
- |------------- | ------------- | ------------- | -------------|
92
- | **updateSportRequest** | **UpdateSportRequest**| | |
93
- | **id** | [**string**] | ID du sport | defaults to undefined|
94
-
95
-
96
- ### Return type
97
-
98
- **SportResponse**
99
-
100
- ### Authorization
101
-
102
- [bearerAuth](../README.md#bearerAuth)
103
-
104
- ### HTTP request headers
105
-
106
- - **Content-Type**: application/json
107
- - **Accept**: application/json
108
-
109
-
110
- ### HTTP response details
111
- | Status code | Description | Response headers |
112
- |-------------|-------------|------------------|
113
- |**200** | Sport mis à jour avec succès | - |
114
- |**401** | Non autorisé | - |
115
- |**404** | Ressource non trouvée | - |
116
- |**500** | Erreur serveur interne | - |
117
-
118
- [[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)
119
-
@@ -1,28 +0,0 @@
1
- # MonthlyTurnoverResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **year** | **number** | | [optional] [default to undefined]
9
- **month** | **number** | | [optional] [default to undefined]
10
- **totalTurnover** | **number** | | [optional] [default to undefined]
11
- **invoiceCount** | **number** | | [optional] [default to undefined]
12
- **period** | **string** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { MonthlyTurnoverResponse } from '@tennac-booking/sdk';
18
-
19
- const instance: MonthlyTurnoverResponse = {
20
- year,
21
- month,
22
- totalTurnover,
23
- invoiceCount,
24
- period,
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,30 +0,0 @@
1
- # NoShowFeeResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
9
- **totalExpected** | **number** | | [optional] [default to undefined]
10
- **totalCaptured** | **number** | | [optional] [default to undefined]
11
- **missingAmount** | **number** | | [optional] [default to undefined]
12
- **captureResults** | [**Array<NoShowFeeResponseCaptureResultsInner>**](NoShowFeeResponseCaptureResultsInner.md) | | [optional] [default to undefined]
13
- **creatorChargeResult** | [**NoShowFeeResponseCreatorChargeResult**](NoShowFeeResponseCreatorChargeResult.md) | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { NoShowFeeResponse } from '@tennac-booking/sdk';
19
-
20
- const instance: NoShowFeeResponse = {
21
- message,
22
- totalExpected,
23
- totalCaptured,
24
- missingAmount,
25
- captureResults,
26
- creatorChargeResult,
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,30 +0,0 @@
1
- # NoShowFeeResponseCaptureResultsInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **type** | **string** | | [optional] [default to undefined]
9
- **playerId** | **string** | | [optional] [default to undefined]
10
- **paymentIntentId** | **string** | | [optional] [default to undefined]
11
- **amount** | **number** | | [optional] [default to undefined]
12
- **status** | **string** | | [optional] [default to undefined]
13
- **error** | **string** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { NoShowFeeResponseCaptureResultsInner } from '@tennac-booking/sdk';
19
-
20
- const instance: NoShowFeeResponseCaptureResultsInner = {
21
- type,
22
- playerId,
23
- paymentIntentId,
24
- amount,
25
- status,
26
- error,
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)