@tennac-booking/sdk 1.0.116 → 1.0.117

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 (170) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +5 -2
  3. package/api.ts +211 -1
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +173 -1
  8. package/dist/api.js +68 -1
  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 +173 -1
  16. package/dist/esm/api.js +68 -1
  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/{DeleteClubRole200Response.md → CheckTeamNameAvailability200Response.md} +5 -5
  28. package/docs/EstimateEventPrice200Response.md +6 -0
  29. package/docs/EstimateEventPriceRequest.md +4 -0
  30. package/docs/EventsApi.md +57 -0
  31. package/docs/JoinEventRequest.md +2 -0
  32. package/docs/JoinEventResponse.md +14 -0
  33. package/docs/JoinEventResponseOnsitePaymentsInner.md +24 -0
  34. package/index.ts +1 -1
  35. package/package.json +1 -1
  36. package/docs/ActiveClub.md +0 -24
  37. package/docs/ActiveClubListResponse.md +0 -20
  38. package/docs/AddClubMemberResponse.md +0 -22
  39. package/docs/AddFavoriteClubRequestBody.md +0 -20
  40. package/docs/AddFavoritePlayerRequestBody.md +0 -20
  41. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  42. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  43. package/docs/AdminClubAnalyticsApi.md +0 -249
  44. package/docs/AdminClubSlotsApi.md +0 -182
  45. package/docs/AdminClubSubscriptionsApi.md +0 -394
  46. package/docs/AdminClubsApi.md +0 -170
  47. package/docs/ApiErrorResponse.md +0 -22
  48. package/docs/BlockSlotResponse.md +0 -22
  49. package/docs/Booking.md +0 -32
  50. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  51. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  52. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  53. package/docs/BookingPopulatedSlotId.md +0 -26
  54. package/docs/BookingPopulatedSlotIdCourtId.md +0 -22
  55. package/docs/BookingPopulatedUserId.md +0 -24
  56. package/docs/CancelBookingResponseBooking.md +0 -30
  57. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  58. package/docs/Club.md +0 -46
  59. package/docs/ClubInfoResponse.md +0 -48
  60. package/docs/ClubListResponse.md +0 -22
  61. package/docs/ClubMember.md +0 -34
  62. package/docs/ClubMembersResponse.md +0 -22
  63. package/docs/ClubRole.md +0 -30
  64. package/docs/ClubRolesResponse.md +0 -22
  65. package/docs/ClubSettings.md +0 -40
  66. package/docs/ClubsResponse.md +0 -22
  67. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  68. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  69. package/docs/Court.md +0 -32
  70. package/docs/CourtsResponse.md +0 -22
  71. package/docs/CreateClubRoleRequestBody.md +0 -24
  72. package/docs/CreateClubSettingsRequest.md +0 -28
  73. package/docs/CreatePriceRequest.md +0 -26
  74. package/docs/DeleteClub200Response.md +0 -20
  75. package/docs/DeleteClubSettingsRequest.md +0 -20
  76. package/docs/DeleteEvent200Response.md +0 -20
  77. package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
  78. package/docs/DeleteSlotsResponse.md +0 -20
  79. package/docs/DeleteSport200Response.md +0 -20
  80. package/docs/Event.md +0 -40
  81. package/docs/EventBooking.md +0 -32
  82. package/docs/EventRegistrationRequest.md +0 -22
  83. package/docs/FavoriteClubItem.md +0 -26
  84. package/docs/FavoriteClubResponse.md +0 -22
  85. package/docs/FavoritePlayerPublic.md +0 -28
  86. package/docs/FavoritePlayersIdsResponse.md +0 -22
  87. package/docs/FrequentlyPlayedWithItem.md +0 -28
  88. package/docs/FrequentlyVisitedClubItem.md +0 -24
  89. package/docs/GenerateSlotsResponse.md +0 -20
  90. package/docs/GetActiveClubs200Response.md +0 -20
  91. package/docs/GetClubInfos200Response.md +0 -30
  92. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  93. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  94. package/docs/GetNumberOfClubUsers200Response.md +0 -20
  95. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  96. package/docs/GetUserRolesResponse.md +0 -20
  97. package/docs/GetUserRolesResponseRolesInner.md +0 -26
  98. package/docs/GetUserSubscriptionsResponse.md +0 -22
  99. package/docs/GoogleSignInRequestBody.md +0 -20
  100. package/docs/GoogleSignInResponse.md +0 -24
  101. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  102. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  103. package/docs/InvoicesResponse.md +0 -22
  104. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  105. package/docs/InvoicesResponsePagination.md +0 -26
  106. package/docs/LevelBySportsItem.md +0 -22
  107. package/docs/ManagerBookingsApi.md +0 -125
  108. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  109. package/docs/ManagerClubCourtsApi.md +0 -108
  110. package/docs/ManagerClubRolesApi.md +0 -268
  111. package/docs/ManagerClubSlotsApi.md +0 -119
  112. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  113. package/docs/ManagerClubsApi.md +0 -253
  114. package/docs/ManagerEventResponse.md +0 -22
  115. package/docs/ManagerEventsApi.md +0 -227
  116. package/docs/ManagerSportsApi.md +0 -174
  117. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  118. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  119. package/docs/PriceResponse.md +0 -32
  120. package/docs/ProfileVisibilityResponse.md +0 -20
  121. package/docs/PublicClubUser.md +0 -46
  122. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  123. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  124. package/docs/PublicClubUserLevelBySportsInner.md +0 -22
  125. package/docs/RegisterForEvent201Response.md +0 -20
  126. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  127. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  128. package/docs/SetupPaymentMethodResponse.md +0 -24
  129. package/docs/Slot.md +0 -24
  130. package/docs/SlotException.md +0 -26
  131. package/docs/SlotResponse.md +0 -34
  132. package/docs/SlotsResponse.md +0 -22
  133. package/docs/Sport.md +0 -24
  134. package/docs/SportsResponse.md +0 -22
  135. package/docs/StaffClubAnalyticsApi.md +0 -104
  136. package/docs/StaffClubBookingsApi.md +0 -52
  137. package/docs/StaffClubsApi.md +0 -100
  138. package/docs/StaffEventResponse.md +0 -20
  139. package/docs/StaffEventsApi.md +0 -54
  140. package/docs/StaffProfileApi.md +0 -54
  141. package/docs/StripeStatus.md +0 -16
  142. package/docs/SubscribeToClubRequestBody.md +0 -22
  143. package/docs/SubscriptionPlan.md +0 -36
  144. package/docs/SubscriptionResponse.md +0 -36
  145. package/docs/UpdateClubRoleRequestBody.md +0 -24
  146. package/docs/UpdateClubSettingsRequest.md +0 -28
  147. package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
  148. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  149. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  150. package/docs/UpdateProfileVisibilityRequestBody.md +0 -20
  151. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  152. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  153. package/docs/UpdateUserCityRequestBody.md +0 -20
  154. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  155. package/docs/User.md +0 -40
  156. package/docs/UserAuthenticationApi.md +0 -226
  157. package/docs/UserBookingsApi.md +0 -120
  158. package/docs/UserCityResponse.md +0 -20
  159. package/docs/UserClubCourtsApi.md +0 -64
  160. package/docs/UserClubSlotsApi.md +0 -181
  161. package/docs/UserClubSportsApi.md +0 -60
  162. package/docs/UserClubsApi.md +0 -53
  163. package/docs/UserDescriptionResponse.md +0 -20
  164. package/docs/UserFavoriteClubsResponse.md +0 -20
  165. package/docs/UserPaymentApi.md +0 -176
  166. package/docs/UserProfileApi.md +0 -1201
  167. package/docs/UserResponse.md +0 -38
  168. package/docs/UserSubscriptionsApi.md +0 -222
  169. package/docs/UsersResponse.md +0 -22
  170. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -1,387 +0,0 @@
1
- # ManagerClubSubscriptionsApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**archivePriceForSubscriptionPlan**](#archivepriceforsubscriptionplan) | **DELETE** /api/clubs/subscription-plans/{priceId}/archive-price | Archiver un prix (club courant)|
8
- |[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices | Créer un nouveau prix pour un plan (club courant)|
9
- |[**createSubscriptionPlanForClub**](#createsubscriptionplanforclub) | **POST** /api/clubs/subscription-plans | Créer un plan d\'abonnement pour le club courant|
10
- |[**deleteSubscriptionPlanForClub**](#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} | Supprimer un plan d\'abonnement (club courant)|
11
- |[**restoreSubscriptionPlanForClub**](#restoresubscriptionplanforclub) | **POST** /api/clubs/subscription-plans/{productId}/restore | Réactiver un plan d\'abonnement (club courant)|
12
- |[**restoreSubscriptionPriceForClub**](#restoresubscriptionpriceforclub) | **POST** /api/clubs/subscription-plans/{priceId}/restore-price | Réactiver un prix (club courant)|
13
- |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | Mettre à jour un plan d\'abonnement (club courant)|
14
-
15
- # **archivePriceForSubscriptionPlan**
16
- > PriceResponse archivePriceForSubscriptionPlan()
17
-
18
-
19
- ### Example
20
-
21
- ```typescript
22
- import {
23
- ManagerClubSubscriptionsApi,
24
- Configuration
25
- } from '@tennac-booking/sdk';
26
-
27
- const configuration = new Configuration();
28
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
29
-
30
- let priceId: string; //ID du prix Stripe (default to undefined)
31
-
32
- const { status, data } = await apiInstance.archivePriceForSubscriptionPlan(
33
- priceId
34
- );
35
- ```
36
-
37
- ### Parameters
38
-
39
- |Name | Type | Description | Notes|
40
- |------------- | ------------- | ------------- | -------------|
41
- | **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
42
-
43
-
44
- ### Return type
45
-
46
- **PriceResponse**
47
-
48
- ### Authorization
49
-
50
- [bearerAuth](../README.md#bearerAuth)
51
-
52
- ### HTTP request headers
53
-
54
- - **Content-Type**: Not defined
55
- - **Accept**: application/json
56
-
57
-
58
- ### HTTP response details
59
- | Status code | Description | Response headers |
60
- |-------------|-------------|------------------|
61
- |**200** | Prix archivé avec succès | - |
62
- |**400** | Requête invalide | - |
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
- # **createPriceForSubscriptionPlan**
68
- > PriceResponse createPriceForSubscriptionPlan(createPriceRequest)
69
-
70
-
71
- ### Example
72
-
73
- ```typescript
74
- import {
75
- ManagerClubSubscriptionsApi,
76
- Configuration,
77
- CreatePriceRequest
78
- } from '@tennac-booking/sdk';
79
-
80
- const configuration = new Configuration();
81
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
82
-
83
- let productId: string; //ID du produit Stripe (default to undefined)
84
- let createPriceRequest: CreatePriceRequest; //
85
-
86
- const { status, data } = await apiInstance.createPriceForSubscriptionPlan(
87
- productId,
88
- createPriceRequest
89
- );
90
- ```
91
-
92
- ### Parameters
93
-
94
- |Name | Type | Description | Notes|
95
- |------------- | ------------- | ------------- | -------------|
96
- | **createPriceRequest** | **CreatePriceRequest**| | |
97
- | **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
98
-
99
-
100
- ### Return type
101
-
102
- **PriceResponse**
103
-
104
- ### Authorization
105
-
106
- [bearerAuth](../README.md#bearerAuth)
107
-
108
- ### HTTP request headers
109
-
110
- - **Content-Type**: application/json
111
- - **Accept**: application/json
112
-
113
-
114
- ### HTTP response details
115
- | Status code | Description | Response headers |
116
- |-------------|-------------|------------------|
117
- |**201** | Prix créé avec succès | - |
118
- |**400** | Requête invalide | - |
119
- |**500** | Erreur serveur interne | - |
120
-
121
- [[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)
122
-
123
- # **createSubscriptionPlanForClub**
124
- > SubscriptionPlanResponse createSubscriptionPlanForClub(createSubscriptionPlanRequest)
125
-
126
-
127
- ### Example
128
-
129
- ```typescript
130
- import {
131
- ManagerClubSubscriptionsApi,
132
- Configuration,
133
- CreateSubscriptionPlanRequest
134
- } from '@tennac-booking/sdk';
135
-
136
- const configuration = new Configuration();
137
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
138
-
139
- let createSubscriptionPlanRequest: CreateSubscriptionPlanRequest; //
140
-
141
- const { status, data } = await apiInstance.createSubscriptionPlanForClub(
142
- createSubscriptionPlanRequest
143
- );
144
- ```
145
-
146
- ### Parameters
147
-
148
- |Name | Type | Description | Notes|
149
- |------------- | ------------- | ------------- | -------------|
150
- | **createSubscriptionPlanRequest** | **CreateSubscriptionPlanRequest**| | |
151
-
152
-
153
- ### Return type
154
-
155
- **SubscriptionPlanResponse**
156
-
157
- ### Authorization
158
-
159
- [bearerAuth](../README.md#bearerAuth)
160
-
161
- ### HTTP request headers
162
-
163
- - **Content-Type**: application/json
164
- - **Accept**: application/json
165
-
166
-
167
- ### HTTP response details
168
- | Status code | Description | Response headers |
169
- |-------------|-------------|------------------|
170
- |**201** | Plan d\'abonnement créé avec succès | - |
171
- |**400** | Requête invalide | - |
172
- |**500** | Erreur serveur interne | - |
173
-
174
- [[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)
175
-
176
- # **deleteSubscriptionPlanForClub**
177
- > deleteSubscriptionPlanForClub()
178
-
179
-
180
- ### Example
181
-
182
- ```typescript
183
- import {
184
- ManagerClubSubscriptionsApi,
185
- Configuration
186
- } from '@tennac-booking/sdk';
187
-
188
- const configuration = new Configuration();
189
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
190
-
191
- let productId: string; //ID du produit Stripe (default to undefined)
192
-
193
- const { status, data } = await apiInstance.deleteSubscriptionPlanForClub(
194
- productId
195
- );
196
- ```
197
-
198
- ### Parameters
199
-
200
- |Name | Type | Description | Notes|
201
- |------------- | ------------- | ------------- | -------------|
202
- | **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
203
-
204
-
205
- ### Return type
206
-
207
- void (empty response body)
208
-
209
- ### Authorization
210
-
211
- [bearerAuth](../README.md#bearerAuth)
212
-
213
- ### HTTP request headers
214
-
215
- - **Content-Type**: Not defined
216
- - **Accept**: application/json
217
-
218
-
219
- ### HTTP response details
220
- | Status code | Description | Response headers |
221
- |-------------|-------------|------------------|
222
- |**204** | Plan d\'abonnement supprimé avec succès | - |
223
- |**400** | Requête invalide | - |
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
-
228
- # **restoreSubscriptionPlanForClub**
229
- > RestoreSubscriptionPlanForClub200Response restoreSubscriptionPlanForClub()
230
-
231
-
232
- ### Example
233
-
234
- ```typescript
235
- import {
236
- ManagerClubSubscriptionsApi,
237
- Configuration
238
- } from '@tennac-booking/sdk';
239
-
240
- const configuration = new Configuration();
241
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
242
-
243
- let productId: string; //ID du produit Stripe (default to undefined)
244
-
245
- const { status, data } = await apiInstance.restoreSubscriptionPlanForClub(
246
- productId
247
- );
248
- ```
249
-
250
- ### Parameters
251
-
252
- |Name | Type | Description | Notes|
253
- |------------- | ------------- | ------------- | -------------|
254
- | **productId** | [**string**] | ID du produit Stripe | defaults to undefined|
255
-
256
-
257
- ### Return type
258
-
259
- **RestoreSubscriptionPlanForClub200Response**
260
-
261
- ### Authorization
262
-
263
- [bearerAuth](../README.md#bearerAuth)
264
-
265
- ### HTTP request headers
266
-
267
- - **Content-Type**: Not defined
268
- - **Accept**: application/json
269
-
270
-
271
- ### HTTP response details
272
- | Status code | Description | Response headers |
273
- |-------------|-------------|------------------|
274
- |**200** | Plan d\'abonnement réactivé avec succès | - |
275
- |**400** | Requête invalide | - |
276
- |**500** | Erreur serveur interne | - |
277
-
278
- [[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)
279
-
280
- # **restoreSubscriptionPriceForClub**
281
- > PriceResponse restoreSubscriptionPriceForClub()
282
-
283
-
284
- ### Example
285
-
286
- ```typescript
287
- import {
288
- ManagerClubSubscriptionsApi,
289
- Configuration
290
- } from '@tennac-booking/sdk';
291
-
292
- const configuration = new Configuration();
293
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
294
-
295
- let priceId: string; //ID du prix Stripe (default to undefined)
296
-
297
- const { status, data } = await apiInstance.restoreSubscriptionPriceForClub(
298
- priceId
299
- );
300
- ```
301
-
302
- ### Parameters
303
-
304
- |Name | Type | Description | Notes|
305
- |------------- | ------------- | ------------- | -------------|
306
- | **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
307
-
308
-
309
- ### Return type
310
-
311
- **PriceResponse**
312
-
313
- ### Authorization
314
-
315
- [bearerAuth](../README.md#bearerAuth)
316
-
317
- ### HTTP request headers
318
-
319
- - **Content-Type**: Not defined
320
- - **Accept**: application/json
321
-
322
-
323
- ### HTTP response details
324
- | Status code | Description | Response headers |
325
- |-------------|-------------|------------------|
326
- |**200** | Prix réactivé avec succès | - |
327
- |**400** | Requête invalide | - |
328
- |**500** | Erreur serveur interne | - |
329
-
330
- [[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)
331
-
332
- # **updateSubscriptionPlanForClub**
333
- > UpdateSubscriptionPlanResponse updateSubscriptionPlanForClub(updateSubscriptionPlanRequest)
334
-
335
-
336
- ### Example
337
-
338
- ```typescript
339
- import {
340
- ManagerClubSubscriptionsApi,
341
- Configuration,
342
- UpdateSubscriptionPlanRequest
343
- } from '@tennac-booking/sdk';
344
-
345
- const configuration = new Configuration();
346
- const apiInstance = new ManagerClubSubscriptionsApi(configuration);
347
-
348
- let priceId: string; //ID du prix Stripe (default to undefined)
349
- let updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest; //
350
-
351
- const { status, data } = await apiInstance.updateSubscriptionPlanForClub(
352
- priceId,
353
- updateSubscriptionPlanRequest
354
- );
355
- ```
356
-
357
- ### Parameters
358
-
359
- |Name | Type | Description | Notes|
360
- |------------- | ------------- | ------------- | -------------|
361
- | **updateSubscriptionPlanRequest** | **UpdateSubscriptionPlanRequest**| | |
362
- | **priceId** | [**string**] | ID du prix Stripe | defaults to undefined|
363
-
364
-
365
- ### Return type
366
-
367
- **UpdateSubscriptionPlanResponse**
368
-
369
- ### Authorization
370
-
371
- [bearerAuth](../README.md#bearerAuth)
372
-
373
- ### HTTP request headers
374
-
375
- - **Content-Type**: application/json
376
- - **Accept**: application/json
377
-
378
-
379
- ### HTTP response details
380
- | Status code | Description | Response headers |
381
- |-------------|-------------|------------------|
382
- |**200** | Plan d\'abonnement mis à jour avec succès | - |
383
- |**400** | Requête invalide | - |
384
- |**500** | Erreur serveur interne | - |
385
-
386
- [[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)
387
-
@@ -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)