@tennac-booking/sdk 1.0.55 → 1.0.60

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 (228) hide show
  1. package/.openapi-generator/FILES +182 -222
  2. package/README.md +158 -165
  3. package/api.ts +6921 -7583
  4. package/base.ts +2 -2
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +4106 -5418
  8. package/dist/api.js +3585 -2957
  9. package/dist/base.d.ts +2 -2
  10. package/dist/base.js +2 -2
  11. package/dist/common.d.ts +2 -2
  12. package/dist/common.js +2 -2
  13. package/dist/configuration.d.ts +2 -2
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +4106 -5418
  16. package/dist/esm/api.js +3511 -2862
  17. package/dist/esm/base.d.ts +2 -2
  18. package/dist/esm/base.js +2 -2
  19. package/dist/esm/common.d.ts +2 -2
  20. package/dist/esm/common.js +2 -2
  21. package/dist/esm/configuration.d.ts +2 -2
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +2 -2
  24. package/dist/esm/index.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +2 -2
  27. package/docs/{ApiErrorResponse.md → AddClubMember201Response.md} +6 -6
  28. package/docs/AddClubMemberRequest.md +7 -3
  29. package/docs/BookingAnalyticsResponse.md +34 -0
  30. package/docs/BookingHistory.md +34 -0
  31. package/docs/BookingInfo.md +50 -0
  32. package/docs/BookingPaymentStatusResponse.md +3 -3
  33. package/docs/BookingPaymentStatusResponseBooking.md +8 -7
  34. package/docs/BookingPaymentStatusResponseSummary.md +10 -9
  35. package/docs/BookingPopulated.md +5 -5
  36. package/docs/BookingResponse.md +4 -4
  37. package/docs/{UpdateProfileVisibilityRequestBody.md → BookingResponseOnsitePaymentsInner.md} +7 -5
  38. package/docs/BookingStatus.md +9 -1
  39. package/docs/BookingsApi.md +10 -64
  40. package/docs/{ManagerBookingsApi.md → BookingsManagerApi.md} +14 -24
  41. package/docs/BookingsStaffApi.md +323 -0
  42. package/docs/{UserBookingsApi.md → BookingsUserApi.md} +17 -25
  43. package/docs/CancelBookingResponse.md +2 -2
  44. package/docs/CaptureResult.md +30 -0
  45. package/docs/CheckInPlayersRequest.md +20 -0
  46. package/docs/CheckInPlayersResponse.md +6 -6
  47. package/docs/CheckedInPlayer.md +34 -0
  48. package/docs/ClubAnalyticsApi.md +20 -160
  49. package/docs/ClubAnalyticsStaffApi.md +523 -0
  50. package/docs/ClubMemberResponse.md +24 -0
  51. package/docs/ClubMemberResponseUser.md +27 -0
  52. package/docs/ClubPlayerResponse.md +36 -0
  53. package/docs/ClubResponse.md +23 -14
  54. package/docs/ClubResponseCreatedAt.md +19 -0
  55. package/docs/{Location.md → ClubResponseLocation.md} +9 -12
  56. package/docs/{GetNumberOfClubUsers200Response.md → ClubResponseLocationCoordinates.md} +7 -5
  57. package/docs/ClubResponseUpdatedAt.md +19 -0
  58. package/docs/ClubRoleResponse.md +11 -9
  59. package/docs/ClubRolesManagerApi.md +177 -0
  60. package/docs/{StaffClubsApi.md → ClubRolesStaffApi.md} +41 -34
  61. package/docs/{ManagerClubCourtsApi.md → ClubSettingsManagerApi.md} +64 -63
  62. package/docs/ClubSettingsResponse.md +41 -0
  63. package/docs/{AddFavoriteClubRequestBody.md → ClubUserCountResponse.md} +5 -5
  64. package/docs/ClubsApi.md +515 -8
  65. package/docs/ClubsManagerApi.md +1005 -0
  66. package/docs/{ManagerClubsApi.md → ClubsStaffApi.md} +138 -62
  67. package/docs/CourtInfo.md +28 -0
  68. package/docs/CourtResponse.md +16 -16
  69. package/docs/CourtStatus.md +2 -5
  70. package/docs/CreateBookingRequest.md +1 -3
  71. package/docs/CreateClubRequest.md +22 -0
  72. package/docs/CreateClubRoleRequest.md +24 -0
  73. package/docs/CreateClubSettingsRequest.md +34 -0
  74. package/docs/{ActiveClubListResponse.md → CreateCourtForClub201Response.md} +5 -5
  75. package/docs/CreateCourtRequest.md +10 -12
  76. package/docs/CreateEventRequest.md +1 -3
  77. package/docs/CreateSportForClub201Response.md +20 -0
  78. package/docs/{Sport.md → CreateSportForClubRequest.md} +4 -6
  79. package/docs/CreateSportRequest.md +1 -7
  80. package/docs/CreateSubscriptionPlanRequest.md +6 -4
  81. package/docs/CreatorChargeResult.md +26 -0
  82. package/docs/DailyTurnoverResponse.md +3 -3
  83. package/docs/{ManagerSportsApi.md → DefaultApi.md} +35 -38
  84. package/docs/{DeleteEvent200Response.md → DeleteClubResponse.md} +4 -4
  85. package/docs/{CourtDeleteResponse.md → DeleteClubRoleResponse.md} +4 -4
  86. package/docs/DeleteClubSettingsResponse.md +20 -0
  87. package/docs/{DeleteClubRole200Response.md → DeleteCourtResponse.md} +4 -4
  88. package/docs/{DeleteSport200Response.md → DeleteEventResponse.md} +4 -4
  89. package/docs/DeleteSlotsByClubInRange200Response.md +1 -1
  90. package/docs/DeleteSportResponse.md +20 -0
  91. package/docs/EventResponse.md +40 -0
  92. package/docs/EventResponseCourtsInner.md +18 -0
  93. package/docs/EventsApi.md +21 -21
  94. package/docs/{StaffEventResponse.md → EventsListResponse.md} +4 -4
  95. package/docs/{ManagerEventsApi.md → EventsManagerApi.md} +38 -40
  96. package/docs/{StaffEventsApi.md → EventsStaffApi.md} +11 -10
  97. package/docs/{GenderPercentage.md → GenderPercentageResponse.md} +7 -7
  98. package/docs/GetActualities200Response.md +20 -0
  99. package/docs/GetAvailableSlotsBySports200Response.md +20 -0
  100. package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
  101. package/docs/GetClubRoles200Response.md +20 -0
  102. package/docs/GetClubUsersById200Response.md +1 -1
  103. package/docs/{CourtsResponse.md → GetCourtsByClub200Response.md} +4 -6
  104. package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
  105. package/docs/GetInfillPercentagePerPeriod200Response.md +5 -5
  106. package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
  107. package/docs/GetSportsByClubById200Response.md +20 -0
  108. package/docs/{Court.md → ICourtData.md} +18 -6
  109. package/docs/{DiagnosticsResponse.md → InvoiceInfo.md} +8 -8
  110. package/docs/{ClubListResponse.md → LastSixMonthsTurnoverItem.md} +7 -7
  111. package/docs/ManagerCancelBookingRequest.md +1 -1
  112. package/docs/ManagerCancelBookingResponse.md +2 -2
  113. package/docs/MonthlyBreakdown.md +24 -0
  114. package/docs/MonthlyTurnoverResponse.md +6 -5
  115. package/docs/NoShowFeeResponse.md +6 -6
  116. package/docs/PartialClubResponse.md +49 -0
  117. package/docs/PaymentByPlayerInfo.md +22 -0
  118. package/docs/PaymentMethod.md +2 -1
  119. package/docs/PlayerPaymentInfo.md +36 -0
  120. package/docs/PublishEventResponse.md +20 -0
  121. package/docs/SlotInfo.md +26 -0
  122. package/docs/SportAnalyticsResponse.md +24 -0
  123. package/docs/SportInfo.md +22 -0
  124. package/docs/SportResponse.md +8 -11
  125. package/docs/SportWithAnalytics.md +36 -0
  126. package/docs/SportsManagerApi.md +177 -0
  127. package/docs/{StaffClubBookingsApi.md → SportsStaffApi.md} +14 -11
  128. package/docs/SubscriptionPlanResponse.md +4 -14
  129. package/docs/SurfaceType.md +12 -0
  130. package/docs/UpdateActuality200Response.md +20 -0
  131. package/docs/UpdateClubRequest.md +11 -11
  132. package/docs/UpdateClubRequestLocation.md +29 -0
  133. package/docs/{BookingPopulatedSlotIdCourtIdSportId.md → UpdateClubRequestLocationCoordinates.md} +7 -7
  134. package/docs/UpdateClubRoleRequest.md +22 -0
  135. package/docs/UpdateClubSettingsRequest.md +14 -10
  136. package/docs/UpdateSportRequest.md +1 -5
  137. package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
  138. package/docs/{BookingPopulatedUserId.md → UserInfo.md} +6 -6
  139. package/docs/UsersApi.md +32 -127
  140. package/docs/YearlyTurnoverResponse.md +4 -4
  141. package/index.ts +2 -2
  142. package/package.json +1 -1
  143. package/docs/ActiveClub.md +0 -30
  144. package/docs/AddClubMemberResponse.md +0 -22
  145. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  146. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  147. package/docs/BlockSlotResponse.md +0 -22
  148. package/docs/Booking.md +0 -32
  149. package/docs/BookingHistoryResponse.md +0 -22
  150. package/docs/BookingHistoryResponseHistoryInner.md +0 -32
  151. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  152. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  153. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  154. package/docs/BookingPopulatedSlotId.md +0 -26
  155. package/docs/BookingPopulatedSlotIdCourtId.md +0 -28
  156. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
  157. package/docs/CancelBookingResponseBooking.md +0 -30
  158. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  159. package/docs/Club.md +0 -40
  160. package/docs/ClubInfoResponse.md +0 -48
  161. package/docs/ClubMember.md +0 -24
  162. package/docs/ClubRole.md +0 -30
  163. package/docs/ClubRolesResponse.md +0 -22
  164. package/docs/ClubSettings.md +0 -40
  165. package/docs/ClubStaffResponse.md +0 -48
  166. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  167. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  168. package/docs/CourtWithNameResponse.md +0 -48
  169. package/docs/CourtsWithNameResponse.md +0 -22
  170. package/docs/CreateClubRoleRequestBody.md +0 -24
  171. package/docs/CreatePriceRequest.md +0 -26
  172. package/docs/DiagnosticsApi.md +0 -97
  173. package/docs/Event.md +0 -40
  174. package/docs/EventBooking.md +0 -32
  175. package/docs/EventRegistrationRequest.md +0 -22
  176. package/docs/FrequentlyPlayedWithItem.md +0 -28
  177. package/docs/FrequentlyVisitedClubItem.md +0 -24
  178. package/docs/GetActiveClubs200Response.md +0 -20
  179. package/docs/GetClubInfos200Response.md +0 -30
  180. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  181. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  182. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  183. package/docs/InvoicesResponse.md +0 -22
  184. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  185. package/docs/InvoicesResponsePagination.md +0 -26
  186. package/docs/LevelBySportsItem.md +0 -22
  187. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  188. package/docs/ManagerClubRolesApi.md +0 -268
  189. package/docs/ManagerClubSlotsApi.md +0 -119
  190. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  191. package/docs/ManagerEventResponse.md +0 -22
  192. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  193. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  194. package/docs/PaymentStatus.md +0 -30
  195. package/docs/PriceResponse.md +0 -32
  196. package/docs/PublicClubUser.md +0 -46
  197. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  198. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  199. package/docs/PublicClubUserLevelBySportsInner.md +0 -22
  200. package/docs/RegisterForEvent201Response.md +0 -20
  201. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  202. package/docs/SdkDiagnosticsResponse.md +0 -28
  203. package/docs/SdkDiagnosticsResponseOpenapi.md +0 -24
  204. package/docs/SdkDiagnosticsResponseSdk.md +0 -24
  205. package/docs/Slot.md +0 -24
  206. package/docs/SlotException.md +0 -26
  207. package/docs/SlotResponse.md +0 -34
  208. package/docs/StaffBookingsApi.md +0 -61
  209. package/docs/StaffClubAnalyticsApi.md +0 -254
  210. package/docs/StripeLink.md +0 -26
  211. package/docs/StripeStatus.md +0 -16
  212. package/docs/SubscriptionPlan.md +0 -36
  213. package/docs/SubscriptionResponse.md +0 -36
  214. package/docs/UpdateClubRoleRequestBody.md +0 -24
  215. package/docs/UpdateCourtRequest.md +0 -38
  216. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  217. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  218. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  219. package/docs/UpdateUserCityRequestBody.md +0 -20
  220. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  221. package/docs/UserBookingItem.md +0 -46
  222. package/docs/UserClubCourtsApi.md +0 -64
  223. package/docs/UserClubSlotsApi.md +0 -181
  224. package/docs/UserClubSportsApi.md +0 -60
  225. package/docs/UserClubsApi.md +0 -145
  226. package/docs/UserInfoStaff.md +0 -38
  227. package/docs/UserStaffResponse.md +0 -40
  228. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -5,14 +5,14 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [optional] [default to undefined]
9
- **location** | [**Location**](Location.md) | | [optional] [default to undefined]
10
- **email** | **string** | | [optional] [default to undefined]
11
- **phone** | **string** | | [optional] [default to undefined]
12
- **description** | **string** | | [optional] [default to undefined]
13
- **picture** | **string** | | [optional] [default to undefined]
14
- **rib** | **string** | | [optional] [default to undefined]
15
- **websiteUrl** | **string** | | [optional] [default to undefined]
8
+ **name** | **string** | Nom du club | [optional] [default to undefined]
9
+ **websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
10
+ **description** | **string** | Description du club | [optional] [default to undefined]
11
+ **email** | **string** | Email du club | [optional] [default to undefined]
12
+ **phone** | **string** | Téléphone du club | [optional] [default to undefined]
13
+ **picture** | **string** | URL de l\'image du club | [optional] [default to undefined]
14
+ **location** | [**UpdateClubRequestLocation**](UpdateClubRequestLocation.md) | | [optional] [default to undefined]
15
+ **rib** | **string** | RIB du club | [optional] [default to undefined]
16
16
 
17
17
  ## Example
18
18
 
@@ -21,13 +21,13 @@ import { UpdateClubRequest } from '@tennac-booking/sdk';
21
21
 
22
22
  const instance: UpdateClubRequest = {
23
23
  name,
24
- location,
24
+ websiteUrl,
25
+ description,
25
26
  email,
26
27
  phone,
27
- description,
28
28
  picture,
29
+ location,
29
30
  rib,
30
- websiteUrl,
31
31
  };
32
32
  ```
33
33
 
@@ -0,0 +1,29 @@
1
+ # UpdateClubRequestLocation
2
+
3
+ Localisation du club
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **coordinates** | [**UpdateClubRequestLocationCoordinates**](UpdateClubRequestLocationCoordinates.md) | | [optional] [default to undefined]
10
+ **country** | **string** | | [optional] [default to undefined]
11
+ **zipCode** | **string** | | [optional] [default to undefined]
12
+ **city** | **string** | | [optional] [default to undefined]
13
+ **address** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { UpdateClubRequestLocation } from '@tennac-booking/sdk';
19
+
20
+ const instance: UpdateClubRequestLocation = {
21
+ coordinates,
22
+ country,
23
+ zipCode,
24
+ city,
25
+ address,
26
+ };
27
+ ```
28
+
29
+ [[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,21 +1,21 @@
1
- # BookingPopulatedSlotIdCourtIdSportId
1
+ # UpdateClubRequestLocationCoordinates
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **key** | **string** | | [optional] [default to undefined]
8
+ **lng** | **number** | | [optional] [default to undefined]
9
+ **lat** | **number** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { BookingPopulatedSlotIdCourtIdSportId } from '@tennac-booking/sdk';
14
+ import { UpdateClubRequestLocationCoordinates } from '@tennac-booking/sdk';
15
15
 
16
- const instance: BookingPopulatedSlotIdCourtIdSportId = {
17
- id,
18
- key,
16
+ const instance: UpdateClubRequestLocationCoordinates = {
17
+ lng,
18
+ lat,
19
19
  };
20
20
  ```
21
21
 
@@ -0,0 +1,22 @@
1
+ # UpdateClubRoleRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **role** | **string** | Rôle (facultatif) | [optional] [default to undefined]
9
+ **rights** | **Array<string>** | Droits (facultatif) | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateClubRoleRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: UpdateClubRoleRequest = {
17
+ role,
18
+ rights,
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)
@@ -5,11 +5,13 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [default to undefined]
9
- **reservationStartTime** | **string** | | [optional] [default to undefined]
10
- **reservationEndTime** | **string** | | [optional] [default to undefined]
11
- **maxSimultaneousReservations** | **number** | | [optional] [default to undefined]
12
- **allowWeekendReservations** | **boolean** | | [optional] [default to undefined]
8
+ **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
9
+ **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
10
+ **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
11
+ **cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
12
+ **availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [optional] [default to undefined]
13
+ **sponsors** | **Array<string>** | Liste des sponsors | [optional] [default to undefined]
14
+ **timeBeforePayment** | **number** | Temps avant paiement en minutes | [optional] [default to undefined]
13
15
 
14
16
  ## Example
15
17
 
@@ -17,11 +19,13 @@ Name | Type | Description | Notes
17
19
  import { UpdateClubSettingsRequest } from '@tennac-booking/sdk';
18
20
 
19
21
  const instance: UpdateClubSettingsRequest = {
20
- clubId,
21
- reservationStartTime,
22
- reservationEndTime,
23
- maxSimultaneousReservations,
24
- allowWeekendReservations,
22
+ maxWeeklyBookings,
23
+ allowMultipleBookingsAtTheSameTime,
24
+ sameTimeBookingsLimit,
25
+ cancellationLimitHours,
26
+ availabilityPeriodInDays,
27
+ sponsors,
28
+ timeBeforePayment,
25
29
  };
26
30
  ```
27
31
 
@@ -5,9 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **key** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **description** | **string** | | [optional] [default to undefined]
8
+ **key** | **string** | Clé/nom du sport | [optional] [default to undefined]
11
9
 
12
10
  ## Example
13
11
 
@@ -16,8 +14,6 @@ import { UpdateSportRequest } from '@tennac-booking/sdk';
16
14
 
17
15
  const instance: UpdateSportRequest = {
18
16
  key,
19
- name,
20
- description,
21
17
  };
22
18
  ```
23
19
 
@@ -0,0 +1,20 @@
1
+ # UpdateSubscriptionPlanForClub200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **price** | **any** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UpdateSubscriptionPlanForClub200Response } from '@tennac-booking/sdk';
14
+
15
+ const instance: UpdateSubscriptionPlanForClub200Response = {
16
+ price,
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)
@@ -1,20 +1,20 @@
1
- # BookingPopulatedUserId
1
+ # UserInfo
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **firstName** | **string** | | [optional] [default to undefined]
10
- **lastName** | **string** | | [optional] [default to undefined]
8
+ **id** | **string** | ID de l\'utilisateur | [default to undefined]
9
+ **firstName** | **string** | Prénom | [default to undefined]
10
+ **lastName** | **string** | Nom | [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { BookingPopulatedUserId } from '@tennac-booking/sdk';
15
+ import { UserInfo } from '@tennac-booking/sdk';
16
16
 
17
- const instance: BookingPopulatedUserId = {
17
+ const instance: UserInfo = {
18
18
  id,
19
19
  firstName,
20
20
  lastName,
package/docs/UsersApi.md CHANGED
@@ -23,8 +23,6 @@ All URIs are relative to *http://localhost*
23
23
  |[**getNearestUsersFromCoordinates**](#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates | |
24
24
  |[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
25
25
  |[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
26
- |[**getUserProfileStaff**](#getuserprofilestaff) | **GET** /api/users/staff/profile/{id} | |
27
- |[**getUserRolesInClubs**](#getuserrolesinclubs) | **GET** /api/users/me/roles | |
28
26
  |[**getUserSubscriptions**](#getusersubscriptions) | **GET** /api/users/me/subscriptions | |
29
27
  |[**initiateSubscriptionSession**](#initiatesubscriptionsession) | **POST** /api/users/me/subscription-session | |
30
28
  |[**login**](#login) | **POST** /api/users/login | |
@@ -34,7 +32,7 @@ All URIs are relative to *http://localhost*
34
32
  |[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
35
33
  |[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/me/request-password-rest | |
36
34
  |[**resumeSubscription**](#resumesubscription) | **POST** /api/users/me/subscriptions/{clubId}/{subscriptionId}/resume | |
37
- |[**setupPaymentMethod**](#setuppaymentmethod) | **POST** /api/users/setupPaymentMethod | |
35
+ |[**setupNoShowPaymentMethod**](#setupnoshowpaymentmethod) | **POST** /api/users/setupNoShowPaymentMethod | |
38
36
  |[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
39
37
  |[**subscribeToClub**](#subscribetoclub) | **POST** /api/users/me/subscribe | |
40
38
  |[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
@@ -78,7 +76,7 @@ const { status, data } = await apiInstance.addFavoriteClub(
78
76
 
79
77
  ### Authorization
80
78
 
81
- No authorization required
79
+ [bearerAuth](../README.md#bearerAuth)
82
80
 
83
81
  ### HTTP request headers
84
82
 
@@ -129,7 +127,7 @@ const { status, data } = await apiInstance.addFavoritePlayer(
129
127
 
130
128
  ### Authorization
131
129
 
132
- No authorization required
130
+ [bearerAuth](../README.md#bearerAuth)
133
131
 
134
132
  ### HTTP request headers
135
133
 
@@ -180,7 +178,7 @@ const { status, data } = await apiInstance.addPaymentMethodSetup(
180
178
 
181
179
  ### Authorization
182
180
 
183
- No authorization required
181
+ [bearerAuth](../README.md#bearerAuth)
184
182
 
185
183
  ### HTTP request headers
186
184
 
@@ -233,7 +231,7 @@ const { status, data } = await apiInstance.cancelSubscription(
233
231
 
234
232
  ### Authorization
235
233
 
236
- No authorization required
234
+ [bearerAuth](../README.md#bearerAuth)
237
235
 
238
236
  ### HTTP request headers
239
237
 
@@ -284,7 +282,7 @@ const { status, data } = await apiInstance.changePassword(
284
282
 
285
283
  ### Authorization
286
284
 
287
- No authorization required
285
+ [bearerAuth](../README.md#bearerAuth)
288
286
 
289
287
  ### HTTP request headers
290
288
 
@@ -335,7 +333,7 @@ const { status, data } = await apiInstance.confirmPaymentMethodSetup(
335
333
 
336
334
  ### Authorization
337
335
 
338
- No authorization required
336
+ [bearerAuth](../README.md#bearerAuth)
339
337
 
340
338
  ### HTTP request headers
341
339
 
@@ -378,7 +376,7 @@ This endpoint does not have any parameters.
378
376
 
379
377
  ### Authorization
380
378
 
381
- No authorization required
379
+ [bearerAuth](../README.md#bearerAuth)
382
380
 
383
381
  ### HTTP request headers
384
382
 
@@ -428,7 +426,7 @@ const { status, data } = await apiInstance.getBookingDetail(
428
426
 
429
427
  ### Authorization
430
428
 
431
- No authorization required
429
+ [bearerAuth](../README.md#bearerAuth)
432
430
 
433
431
  ### HTTP request headers
434
432
 
@@ -471,7 +469,7 @@ This endpoint does not have any parameters.
471
469
 
472
470
  ### Authorization
473
471
 
474
- No authorization required
472
+ [bearerAuth](../README.md#bearerAuth)
475
473
 
476
474
  ### HTTP request headers
477
475
 
@@ -514,7 +512,7 @@ This endpoint does not have any parameters.
514
512
 
515
513
  ### Authorization
516
514
 
517
- No authorization required
515
+ [bearerAuth](../README.md#bearerAuth)
518
516
 
519
517
  ### HTTP request headers
520
518
 
@@ -557,7 +555,7 @@ This endpoint does not have any parameters.
557
555
 
558
556
  ### Authorization
559
557
 
560
- No authorization required
558
+ [bearerAuth](../README.md#bearerAuth)
561
559
 
562
560
  ### HTTP request headers
563
561
 
@@ -600,7 +598,7 @@ This endpoint does not have any parameters.
600
598
 
601
599
  ### Authorization
602
600
 
603
- No authorization required
601
+ [bearerAuth](../README.md#bearerAuth)
604
602
 
605
603
  ### HTTP request headers
606
604
 
@@ -643,7 +641,7 @@ This endpoint does not have any parameters.
643
641
 
644
642
  ### Authorization
645
643
 
646
- No authorization required
644
+ [bearerAuth](../README.md#bearerAuth)
647
645
 
648
646
  ### HTTP request headers
649
647
 
@@ -696,7 +694,7 @@ const { status, data } = await apiInstance.getNearestClubs(
696
694
 
697
695
  ### Authorization
698
696
 
699
- No authorization required
697
+ [bearerAuth](../README.md#bearerAuth)
700
698
 
701
699
  ### HTTP request headers
702
700
 
@@ -808,7 +806,7 @@ const { status, data } = await apiInstance.getNearestUsers(
808
806
 
809
807
  ### Authorization
810
808
 
811
- No authorization required
809
+ [bearerAuth](../README.md#bearerAuth)
812
810
 
813
811
  ### HTTP request headers
814
812
 
@@ -920,7 +918,7 @@ const { status, data } = await apiInstance.getUserBookings(
920
918
 
921
919
  ### Authorization
922
920
 
923
- No authorization required
921
+ [bearerAuth](../README.md#bearerAuth)
924
922
 
925
923
  ### HTTP request headers
926
924
 
@@ -970,100 +968,7 @@ const { status, data } = await apiInstance.getUserProfileById(
970
968
 
971
969
  ### Authorization
972
970
 
973
- No authorization required
974
-
975
- ### HTTP request headers
976
-
977
- - **Content-Type**: Not defined
978
- - **Accept**: application/json
979
-
980
-
981
- ### HTTP response details
982
- | Status code | Description | Response headers |
983
- |-------------|-------------|------------------|
984
- |**200** | Ok | - |
985
-
986
- [[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)
987
-
988
- # **getUserProfileStaff**
989
- > StaffUserProfileResponse getUserProfileStaff()
990
-
991
-
992
- ### Example
993
-
994
- ```typescript
995
- import {
996
- UsersApi,
997
- Configuration
998
- } from '@tennac-booking/sdk';
999
-
1000
- const configuration = new Configuration();
1001
- const apiInstance = new UsersApi(configuration);
1002
-
1003
- let id: string; // (default to undefined)
1004
-
1005
- const { status, data } = await apiInstance.getUserProfileStaff(
1006
- id
1007
- );
1008
- ```
1009
-
1010
- ### Parameters
1011
-
1012
- |Name | Type | Description | Notes|
1013
- |------------- | ------------- | ------------- | -------------|
1014
- | **id** | [**string**] | | defaults to undefined|
1015
-
1016
-
1017
- ### Return type
1018
-
1019
- **StaffUserProfileResponse**
1020
-
1021
- ### Authorization
1022
-
1023
- No authorization required
1024
-
1025
- ### HTTP request headers
1026
-
1027
- - **Content-Type**: Not defined
1028
- - **Accept**: application/json
1029
-
1030
-
1031
- ### HTTP response details
1032
- | Status code | Description | Response headers |
1033
- |-------------|-------------|------------------|
1034
- |**200** | Ok | - |
1035
-
1036
- [[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)
1037
-
1038
- # **getUserRolesInClubs**
1039
- > UserRolesResponse getUserRolesInClubs()
1040
-
1041
-
1042
- ### Example
1043
-
1044
- ```typescript
1045
- import {
1046
- UsersApi,
1047
- Configuration
1048
- } from '@tennac-booking/sdk';
1049
-
1050
- const configuration = new Configuration();
1051
- const apiInstance = new UsersApi(configuration);
1052
-
1053
- const { status, data } = await apiInstance.getUserRolesInClubs();
1054
- ```
1055
-
1056
- ### Parameters
1057
- This endpoint does not have any parameters.
1058
-
1059
-
1060
- ### Return type
1061
-
1062
- **UserRolesResponse**
1063
-
1064
- ### Authorization
1065
-
1066
- No authorization required
971
+ [bearerAuth](../README.md#bearerAuth)
1067
972
 
1068
973
  ### HTTP request headers
1069
974
 
@@ -1106,7 +1011,7 @@ This endpoint does not have any parameters.
1106
1011
 
1107
1012
  ### Authorization
1108
1013
 
1109
- No authorization required
1014
+ [bearerAuth](../README.md#bearerAuth)
1110
1015
 
1111
1016
  ### HTTP request headers
1112
1017
 
@@ -1157,7 +1062,7 @@ const { status, data } = await apiInstance.initiateSubscriptionSession(
1157
1062
 
1158
1063
  ### Authorization
1159
1064
 
1160
- No authorization required
1065
+ [bearerAuth](../README.md#bearerAuth)
1161
1066
 
1162
1067
  ### HTTP request headers
1163
1068
 
@@ -1360,7 +1265,7 @@ const { status, data } = await apiInstance.removeFavoriteClub(
1360
1265
 
1361
1266
  ### Authorization
1362
1267
 
1363
- No authorization required
1268
+ [bearerAuth](../README.md#bearerAuth)
1364
1269
 
1365
1270
  ### HTTP request headers
1366
1271
 
@@ -1410,7 +1315,7 @@ const { status, data } = await apiInstance.removeFavoritePlayer(
1410
1315
 
1411
1316
  ### Authorization
1412
1317
 
1413
- No authorization required
1318
+ [bearerAuth](../README.md#bearerAuth)
1414
1319
 
1415
1320
  ### HTTP request headers
1416
1321
 
@@ -1514,7 +1419,7 @@ const { status, data } = await apiInstance.resumeSubscription(
1514
1419
 
1515
1420
  ### Authorization
1516
1421
 
1517
- No authorization required
1422
+ [bearerAuth](../README.md#bearerAuth)
1518
1423
 
1519
1424
  ### HTTP request headers
1520
1425
 
@@ -1529,8 +1434,8 @@ No authorization required
1529
1434
 
1530
1435
  [[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)
1531
1436
 
1532
- # **setupPaymentMethod**
1533
- > SetupPaymentMethodResponse setupPaymentMethod(setupPaymentMethodRequestBody)
1437
+ # **setupNoShowPaymentMethod**
1438
+ > SetupPaymentMethodResponse setupNoShowPaymentMethod(setupPaymentMethodRequestBody)
1534
1439
 
1535
1440
 
1536
1441
  ### Example
@@ -1547,7 +1452,7 @@ const apiInstance = new UsersApi(configuration);
1547
1452
 
1548
1453
  let setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody; //
1549
1454
 
1550
- const { status, data } = await apiInstance.setupPaymentMethod(
1455
+ const { status, data } = await apiInstance.setupNoShowPaymentMethod(
1551
1456
  setupPaymentMethodRequestBody
1552
1457
  );
1553
1458
  ```
@@ -1565,7 +1470,7 @@ const { status, data } = await apiInstance.setupPaymentMethod(
1565
1470
 
1566
1471
  ### Authorization
1567
1472
 
1568
- No authorization required
1473
+ [bearerAuth](../README.md#bearerAuth)
1569
1474
 
1570
1475
  ### HTTP request headers
1571
1476
 
@@ -1667,7 +1572,7 @@ const { status, data } = await apiInstance.subscribeToClub(
1667
1572
 
1668
1573
  ### Authorization
1669
1574
 
1670
- No authorization required
1575
+ [bearerAuth](../README.md#bearerAuth)
1671
1576
 
1672
1577
  ### HTTP request headers
1673
1578
 
@@ -1718,7 +1623,7 @@ const { status, data } = await apiInstance.updateCustomer(
1718
1623
 
1719
1624
  ### Authorization
1720
1625
 
1721
- No authorization required
1626
+ [bearerAuth](../README.md#bearerAuth)
1722
1627
 
1723
1628
  ### HTTP request headers
1724
1629
 
@@ -1769,7 +1674,7 @@ const { status, data } = await apiInstance.updateLevelBySports(
1769
1674
 
1770
1675
  ### Authorization
1771
1676
 
1772
- No authorization required
1677
+ [bearerAuth](../README.md#bearerAuth)
1773
1678
 
1774
1679
  ### HTTP request headers
1775
1680
 
@@ -1820,7 +1725,7 @@ const { status, data } = await apiInstance.updateMe(
1820
1725
 
1821
1726
  ### Authorization
1822
1727
 
1823
- No authorization required
1728
+ [bearerAuth](../README.md#bearerAuth)
1824
1729
 
1825
1730
  ### HTTP request headers
1826
1731
 
@@ -1871,7 +1776,7 @@ const { status, data } = await apiInstance.updateProfilePicture(
1871
1776
 
1872
1777
  ### Authorization
1873
1778
 
1874
- No authorization required
1779
+ [bearerAuth](../README.md#bearerAuth)
1875
1780
 
1876
1781
  ### HTTP request headers
1877
1782
 
@@ -5,10 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **year** | **number** | | [optional] [default to undefined]
9
- **totalTurnover** | **number** | | [optional] [default to undefined]
10
- **totalInvoices** | **number** | | [optional] [default to undefined]
11
- **monthlyBreakdown** | [**Array<YearlyTurnoverResponseMonthlyBreakdownInner>**](YearlyTurnoverResponseMonthlyBreakdownInner.md) | | [optional] [default to undefined]
8
+ **year** | **number** | Année | [default to undefined]
9
+ **totalTurnover** | **number** | Chiffre d\'affaires total de l\'année | [default to undefined]
10
+ **totalInvoices** | **number** | Nombre total de factures | [default to undefined]
11
+ **monthlyBreakdown** | [**Array<MonthlyBreakdown>**](MonthlyBreakdown.md) | Détail par mois | [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
package/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * booking_api
4
+ * openapi.json
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.54
7
+ * The version of the OpenAPI document: 1.0.60
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.55",
3
+ "version": "1.0.60",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,30 +0,0 @@
1
- # ActiveClub
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **_id** | **string** | | [optional] [default to undefined]
9
- **picture** | **string** | | [optional] [default to undefined]
10
- **name** | **string** | | [optional] [default to undefined]
11
- **location** | [**Location**](Location.md) | | [optional] [default to undefined]
12
- **paymentFeature** | **boolean** | | [optional] [default to undefined]
13
- **isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { ActiveClub } from '@tennac-booking/sdk';
19
-
20
- const instance: ActiveClub = {
21
- _id,
22
- picture,
23
- name,
24
- location,
25
- paymentFeature,
26
- isNoShowEnabled,
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)