@tennac-booking/sdk 1.0.37 → 1.0.40

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 (244) hide show
  1. package/.openapi-generator/FILES +66 -42
  2. package/README.md +94 -39
  3. package/api.ts +3985 -718
  4. package/base.ts +4 -4
  5. package/common.ts +3 -3
  6. package/configuration.ts +3 -3
  7. package/dist/api.d.ts +2632 -777
  8. package/dist/api.js +2452 -40
  9. package/dist/base.d.ts +3 -3
  10. package/dist/base.js +4 -4
  11. package/dist/common.d.ts +3 -3
  12. package/dist/common.js +3 -3
  13. package/dist/configuration.d.ts +3 -3
  14. package/dist/configuration.js +3 -3
  15. package/dist/esm/api.d.ts +2632 -777
  16. package/dist/esm/api.js +2443 -39
  17. package/dist/esm/base.d.ts +3 -3
  18. package/dist/esm/base.js +4 -4
  19. package/dist/esm/common.d.ts +3 -3
  20. package/dist/esm/common.js +3 -3
  21. package/dist/esm/configuration.d.ts +3 -3
  22. package/dist/esm/configuration.js +3 -3
  23. package/dist/esm/index.d.ts +3 -3
  24. package/dist/esm/index.js +3 -3
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +3 -3
  27. package/docs/ActiveClub.md +2 -0
  28. package/docs/AddClubMemberRequest.md +22 -0
  29. package/docs/AddClubMemberResponse.md +22 -0
  30. package/docs/AddFavoriteClubRequestBody.md +20 -0
  31. package/docs/AddFavoritePlayerRequestBody.md +20 -0
  32. package/docs/AddPaymentMethodRequestBody.md +20 -0
  33. package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
  34. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  35. package/docs/ApiErrorResponse.md +1 -1
  36. package/docs/BaseUser.md +76 -0
  37. package/docs/BlockSlotResponse.md +22 -0
  38. package/docs/BookingDetailResponse.md +46 -0
  39. package/docs/BookingHistoryResponse.md +22 -0
  40. package/docs/BookingHistoryResponseHistoryInner.md +32 -0
  41. package/docs/BookingPaymentStatusResponse.md +24 -0
  42. package/docs/BookingPaymentStatusResponseBooking.md +26 -0
  43. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
  44. package/docs/BookingPaymentStatusResponseSummary.md +28 -0
  45. package/docs/BookingPopulated.md +28 -0
  46. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
  47. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
  48. package/docs/BookingPopulatedSlotId.md +26 -0
  49. package/docs/BookingPopulatedSlotIdCourtId.md +28 -0
  50. package/docs/BookingPopulatedSlotIdCourtIdSportId.md +22 -0
  51. package/docs/BookingPopulatedUserId.md +24 -0
  52. package/docs/BookingResponse.md +28 -0
  53. package/docs/BookingSummary.md +44 -0
  54. package/docs/BookingSummaryBookingHistory.md +18 -0
  55. package/docs/BookingSummaryClubAddress.md +18 -0
  56. package/docs/BookingsApi.md +113 -0
  57. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +20 -0
  58. package/docs/CancelBookingResponse.md +22 -0
  59. package/docs/CancelBookingResponseBooking.md +30 -0
  60. package/docs/ChangePasswordRequestBody.md +22 -0
  61. package/docs/ChangePasswordResponse.md +20 -0
  62. package/docs/CheckInPlayersResponse.md +30 -0
  63. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
  64. package/docs/ClubAnalyticsApi.md +241 -0
  65. package/docs/ClubInfoResponse.md +48 -0
  66. package/docs/ClubMember.md +24 -0
  67. package/docs/ClubMembersResponse.md +22 -0
  68. package/docs/ClubRoleResponse.md +6 -6
  69. package/docs/ClubRolesResponse.md +22 -0
  70. package/docs/ClubSettings.md +21 -9
  71. package/docs/ClubStaffResponse.md +48 -0
  72. package/docs/ClubsApi.md +61 -0
  73. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  74. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  75. package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
  76. package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
  77. package/docs/CourtDeleteResponse.md +20 -0
  78. package/docs/CourtResponse.md +18 -16
  79. package/docs/CourtStatus.md +5 -2
  80. package/docs/CourtWithNameResponse.md +48 -0
  81. package/docs/CourtsResponse.md +22 -0
  82. package/docs/CourtsWithNameResponse.md +22 -0
  83. package/docs/CreateBookingRequest.md +28 -0
  84. package/docs/CreateClubRoleRequestBody.md +24 -0
  85. package/docs/CreateCourtRequest.md +36 -0
  86. package/docs/CreateEventRequest.md +30 -0
  87. package/docs/CreatePriceRequest.md +26 -0
  88. package/docs/CreateSportRequest.md +26 -0
  89. package/docs/CreateSubscriptionPlanRequest.md +24 -0
  90. package/docs/DailyTurnoverResponse.md +24 -0
  91. package/docs/DeleteClubRole200Response.md +20 -0
  92. package/docs/DeleteEvent200Response.md +20 -0
  93. package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
  94. package/docs/DeleteSport200Response.md +20 -0
  95. package/docs/DiagnosticsApi.md +52 -0
  96. package/docs/DiagnosticsResponse.md +24 -0
  97. package/docs/Event.md +40 -0
  98. package/docs/EventBooking.md +32 -0
  99. package/docs/EventRegistrationRequest.md +22 -0
  100. package/docs/EventsApi.md +119 -0
  101. package/docs/FavoriteClubItem.md +26 -0
  102. package/docs/FavoriteClubMutationResponse.md +22 -0
  103. package/docs/FavoriteClubRequestBody.md +20 -0
  104. package/docs/FavoriteClubResponse.md +22 -0
  105. package/docs/FavoriteClubsResponse.md +20 -0
  106. package/docs/FavoritePlayerMutationResponse.md +22 -0
  107. package/docs/FavoritePlayerPublic.md +28 -0
  108. package/docs/FavoritePlayerRequestBody.md +20 -0
  109. package/docs/FavoritePlayersIdsResponse.md +22 -0
  110. package/docs/FavoritePlayersResponse.md +20 -0
  111. package/docs/FrequentClub.md +24 -0
  112. package/docs/FrequentPlayer.md +28 -0
  113. package/docs/{UserResponseFrequentlyPlayedWithInner.md → FrequentlyPlayedWithItem.md} +3 -3
  114. package/docs/{UserResponseFrequentlyVisitedClubsInner.md → FrequentlyVisitedClubItem.md} +3 -3
  115. package/docs/Gender.md +12 -0
  116. package/docs/GenderPercentage.md +26 -0
  117. package/docs/GetActiveClubs200Response.md +20 -0
  118. package/docs/GetClubInfos200Response.md +30 -0
  119. package/docs/GetClubUsersById200Response.md +20 -0
  120. package/docs/GetCourtsByClubAndSport200Response.md +26 -0
  121. package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
  122. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
  123. package/docs/GetNumberOfClubUsers200Response.md +20 -0
  124. package/docs/GetPublishedEventsByClubId200Response.md +20 -0
  125. package/docs/GetUserRolesResponse.md +20 -0
  126. package/docs/GetUserRolesResponseRolesInner.md +26 -0
  127. package/docs/GetUserSubscriptionsResponse.md +22 -0
  128. package/docs/GoogleAuthRequestBody.md +20 -0
  129. package/docs/GoogleAuthResponse.md +30 -0
  130. package/docs/GoogleAuthResponseUser.md +26 -0
  131. package/docs/GoogleSignInRequestBody.md +20 -0
  132. package/docs/GoogleSignInResponse.md +24 -0
  133. package/docs/ILevelBySports.md +22 -0
  134. package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
  135. package/docs/InitiateSubscriptionSessionResponse.md +22 -0
  136. package/docs/InvoicesResponse.md +22 -0
  137. package/docs/InvoicesResponseInvoicesInner.md +34 -0
  138. package/docs/InvoicesResponsePagination.md +26 -0
  139. package/docs/LevelBySportEntry.md +22 -0
  140. package/docs/LevelBySportsItem.md +22 -0
  141. package/docs/LoginRequestBody.md +22 -0
  142. package/docs/LoginResponse.md +28 -0
  143. package/docs/ManagerBookingsApi.md +125 -0
  144. package/docs/ManagerCancelBookingRequest.md +20 -0
  145. package/docs/ManagerCancelBookingResponse.md +22 -0
  146. package/docs/ManagerCancelBookingResponseBooking.md +30 -0
  147. package/docs/ManagerClubCourtsApi.md +220 -0
  148. package/docs/ManagerClubRolesApi.md +268 -0
  149. package/docs/ManagerClubSlotsApi.md +119 -0
  150. package/docs/ManagerClubSubscriptionsApi.md +387 -0
  151. package/docs/ManagerClubsApi.md +253 -0
  152. package/docs/ManagerEventResponse.md +22 -0
  153. package/docs/ManagerEventsApi.md +227 -0
  154. package/docs/ManagerSportsApi.md +119 -0
  155. package/docs/MonthlyTurnoverResponse.md +28 -0
  156. package/docs/NoShowFeeResponse.md +30 -0
  157. package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
  158. package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
  159. package/docs/NotImplementedResponse.md +20 -0
  160. package/docs/PasswordResetRequestBody.md +20 -0
  161. package/docs/PaymentMethodSetupResponse.md +24 -0
  162. package/docs/PaymentStatus.md +30 -0
  163. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
  164. package/docs/PlayerWithPaymentMethod.md +22 -0
  165. package/docs/PriceResponse.md +2 -8
  166. package/docs/ProfilePictureResponse.md +20 -0
  167. package/docs/ProfilePictureUpdateRequestBody.md +20 -0
  168. package/docs/ProfileVisibilityResponse.md +20 -0
  169. package/docs/PublicClubUser.md +46 -0
  170. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
  171. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
  172. package/docs/{UserResponseLevelBySportsInner.md → PublicClubUserLevelBySportsInner.md} +3 -3
  173. package/docs/RefreshTokenRequestBody.md +20 -0
  174. package/docs/RefreshTokenResponse.md +26 -0
  175. package/docs/RegisterForEvent201Response.md +20 -0
  176. package/docs/{User.md → RegisterRequestBody.md} +5 -9
  177. package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
  178. package/docs/SdkDiagnosticsResponse.md +28 -0
  179. package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
  180. package/docs/SdkDiagnosticsResponseSdk.md +24 -0
  181. package/docs/SetupPaymentMethodRequestBody.md +20 -0
  182. package/docs/SetupPaymentMethodResponse.md +24 -0
  183. package/docs/SlotResponse.md +2 -10
  184. package/docs/SlotsResponse.md +22 -0
  185. package/docs/Sport.md +0 -2
  186. package/docs/SportResponse.md +4 -2
  187. package/docs/StaffBookingsApi.md +61 -0
  188. package/docs/StaffClubAnalyticsApi.md +254 -0
  189. package/docs/StaffClubBookingsApi.md +52 -0
  190. package/docs/StaffClubsApi.md +147 -0
  191. package/docs/StaffEventResponse.md +20 -0
  192. package/docs/StaffEventsApi.md +54 -0
  193. package/docs/StaffProfileApi.md +110 -0
  194. package/docs/StaffUserProfileResponse.md +22 -0
  195. package/docs/SubscribeToClubRequestBody.md +22 -0
  196. package/docs/SubscriptionMutationResponse.md +20 -0
  197. package/docs/SubscriptionPlanResponse.md +32 -0
  198. package/docs/SubscriptionSessionRequestBody.md +22 -0
  199. package/docs/SubscriptionSessionResponse.md +20 -0
  200. package/docs/UpdateClubRequest.md +34 -0
  201. package/docs/UpdateClubRoleRequestBody.md +24 -0
  202. package/docs/UpdateClubSettingsRequest.md +28 -0
  203. package/docs/UpdateCourtRequest.md +38 -0
  204. package/docs/UpdateCustomerRequestBody.md +22 -0
  205. package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
  206. package/docs/UpdateCustomerResponse.md +20 -0
  207. package/docs/UpdateCustomerResponseCustomer.md +28 -0
  208. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  209. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  210. package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
  211. package/docs/UpdateSportRequest.md +24 -0
  212. package/docs/UpdateSubscriptionPlanRequest.md +24 -0
  213. package/docs/UpdateSubscriptionPlanResponse.md +22 -0
  214. package/docs/UpdateUserCityRequestBody.md +20 -0
  215. package/docs/UpdateUserDescriptionRequestBody.md +20 -0
  216. package/docs/UpdateUserRequestBody.md +38 -0
  217. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
  218. package/docs/UserApi.md +63 -0
  219. package/docs/UserAuthenticationApi.md +226 -0
  220. package/docs/UserBookingItem.md +46 -0
  221. package/docs/UserBookingsApi.md +166 -0
  222. package/docs/UserBookingsResponse.md +26 -0
  223. package/docs/UserCityResponse.md +20 -0
  224. package/docs/UserClubCourtsApi.md +64 -0
  225. package/docs/UserClubSlotsApi.md +181 -0
  226. package/docs/UserClubSportsApi.md +60 -0
  227. package/docs/UserClubsApi.md +145 -0
  228. package/docs/UserDescriptionResponse.md +20 -0
  229. package/docs/UserFavoriteClubsResponse.md +20 -0
  230. package/docs/UserInfoStaff.md +38 -0
  231. package/docs/UserLocationSummary.md +44 -0
  232. package/docs/UserPaymentApi.md +176 -0
  233. package/docs/UserProfileApi.md +1254 -0
  234. package/docs/UserProfileResponse.md +28 -0
  235. package/docs/UserResponse.md +8 -48
  236. package/docs/UserRolesResponse.md +20 -0
  237. package/docs/UserStaffResponse.md +40 -0
  238. package/docs/UserSubscriptionsApi.md +222 -0
  239. package/docs/UserSubscriptionsResponse.md +20 -0
  240. package/docs/UsersApi.md +1888 -0
  241. package/docs/YearlyTurnoverResponse.md +26 -0
  242. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
  243. package/index.ts +3 -3
  244. package/package.json +1 -1
@@ -0,0 +1,227 @@
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
+
@@ -0,0 +1,119 @@
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
+
@@ -0,0 +1,28 @@
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)
@@ -0,0 +1,30 @@
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)
@@ -0,0 +1,30 @@
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)
@@ -0,0 +1,26 @@
1
+ # NoShowFeeResponseCreatorChargeResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **success** | **boolean** | | [optional] [default to undefined]
9
+ **paymentIntentId** | **string** | | [optional] [default to undefined]
10
+ **amount** | **number** | | [optional] [default to undefined]
11
+ **error** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { NoShowFeeResponseCreatorChargeResult } from '@tennac-booking/sdk';
17
+
18
+ const instance: NoShowFeeResponseCreatorChargeResult = {
19
+ success,
20
+ paymentIntentId,
21
+ amount,
22
+ error,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # NotImplementedResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { NotImplementedResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: NotImplementedResponse = {
16
+ message,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # PasswordResetRequestBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PasswordResetRequestBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: PasswordResetRequestBody = {
16
+ email,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # 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)
@@ -0,0 +1,30 @@
1
+ # PaymentStatus
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **profilePicture** | **string** | URL de la photo de profil du joueur | [optional] [default to undefined]
9
+ **userId** | **string** | Identifiant de l\'utilisateur | [optional] [default to undefined]
10
+ **firstName** | **string** | Prénom de l\'utilisateur | [optional] [default to undefined]
11
+ **lastName** | **string** | Nom de l\'utilisateur | [optional] [default to undefined]
12
+ **amount** | **number** | Montant que l\'utilisateur doit payer | [optional] [default to undefined]
13
+ **invoiceStatus** | **string** | Statut de la facture | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PaymentStatus } from '@tennac-booking/sdk';
19
+
20
+ const instance: PaymentStatus = {
21
+ profilePicture,
22
+ userId,
23
+ firstName,
24
+ lastName,
25
+ amount,
26
+ invoiceStatus,
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)
@@ -0,0 +1,73 @@
1
+ # PickUserResponseExcludeKeyofUserResponseLocation
2
+
3
+ From T, pick a set of properties whose keys are in the union K
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **any** | The string version of this documents _id. | [optional] [default to undefined]
10
+ **_id** | **any** | This documents _id. | [default to undefined]
11
+ **username** | **string** | | [optional] [default to undefined]
12
+ **googleId** | **string** | | [optional] [default to undefined]
13
+ **firstName** | **string** | | [default to undefined]
14
+ **lastName** | **string** | | [default to undefined]
15
+ **email** | **string** | | [default to undefined]
16
+ **phone** | **string** | | [optional] [default to undefined]
17
+ **profilePicture** | **string** | | [optional] [default to undefined]
18
+ **description** | **string** | | [optional] [default to undefined]
19
+ **city** | **string** | | [optional] [default to undefined]
20
+ **isProfileVisible** | **boolean** | | [default to undefined]
21
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
22
+ **isAccountVerified** | **boolean** | | [default to undefined]
23
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
24
+ **isAdmin** | **boolean** | | [default to undefined]
25
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
26
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
27
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
28
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
29
+ **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
30
+ **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
31
+ **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
32
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
33
+ **createdAt** | **string** | | [default to undefined]
34
+ **updatedAt** | **string** | | [default to undefined]
35
+ **setupIntentId** | **string** | | [optional] [default to undefined]
36
+
37
+ ## Example
38
+
39
+ ```typescript
40
+ import { PickUserResponseExcludeKeyofUserResponseLocation } from '@tennac-booking/sdk';
41
+
42
+ const instance: PickUserResponseExcludeKeyofUserResponseLocation = {
43
+ id,
44
+ _id,
45
+ username,
46
+ googleId,
47
+ firstName,
48
+ lastName,
49
+ email,
50
+ phone,
51
+ profilePicture,
52
+ description,
53
+ city,
54
+ isProfileVisible,
55
+ gender,
56
+ isAccountVerified,
57
+ isCreditCardRegistered,
58
+ isAdmin,
59
+ isLevelCertified,
60
+ paymentMethodSetupCompleted,
61
+ paymentMethods,
62
+ defaultPaymentMethodId,
63
+ levelBySports,
64
+ favoriteClubs,
65
+ favoritePlayers,
66
+ stripeCustomerId,
67
+ createdAt,
68
+ updatedAt,
69
+ setupIntentId,
70
+ };
71
+ ```
72
+
73
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # PlayerWithPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | ID du joueur | [default to undefined]
9
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PlayerWithPaymentMethod } from '@tennac-booking/sdk';
15
+
16
+ const instance: PlayerWithPaymentMethod = {
17
+ id,
18
+ paymentMethod,
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)
@@ -6,15 +6,12 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
- **stripePriceId** | **string** | | [optional] [default to undefined]
10
9
  **amount** | **number** | | [optional] [default to undefined]
11
10
  **currency** | **string** | | [optional] [default to undefined]
12
11
  **interval** | **string** | | [optional] [default to undefined]
13
12
  **intervalCount** | **number** | | [optional] [default to undefined]
14
- **isActive** | **boolean** | | [optional] [default to undefined]
15
- **productId** | **string** | | [optional] [default to undefined]
13
+ **active** | **boolean** | | [optional] [default to undefined]
16
14
  **createdAt** | **string** | | [optional] [default to undefined]
17
- **updatedAt** | **string** | | [optional] [default to undefined]
18
15
 
19
16
  ## Example
20
17
 
@@ -23,15 +20,12 @@ import { PriceResponse } from '@tennac-booking/sdk';
23
20
 
24
21
  const instance: PriceResponse = {
25
22
  id,
26
- stripePriceId,
27
23
  amount,
28
24
  currency,
29
25
  interval,
30
26
  intervalCount,
31
- isActive,
32
- productId,
27
+ active,
33
28
  createdAt,
34
- updatedAt,
35
29
  };
36
30
  ```
37
31