@tennac-booking/sdk 1.0.35 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/.openapi-generator/FILES +4 -161
  2. package/README.md +6 -234
  3. package/api.ts +650 -14150
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +645 -9513
  8. package/dist/api.js +10 -8071
  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 +645 -9513
  16. package/dist/esm/api.js +9 -7956
  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/ApiErrorResponse.md +1 -1
  28. package/docs/Club.md +4 -10
  29. package/docs/ClubResponse.md +8 -14
  30. package/docs/ClubRoleResponse.md +6 -6
  31. package/docs/ClubSettings.md +9 -21
  32. package/docs/Court.md +2 -2
  33. package/docs/CourtResponse.md +16 -18
  34. package/docs/CourtStatus.md +2 -5
  35. package/docs/PriceResponse.md +8 -2
  36. package/docs/SlotResponse.md +10 -2
  37. package/docs/Sport.md +2 -0
  38. package/docs/SportResponse.md +2 -4
  39. package/docs/{GetUserRolesResponseRolesInner.md → StripeLink.md} +7 -7
  40. package/docs/UserResponse.md +48 -8
  41. package/docs/{FrequentlyPlayedWithItem.md → UserResponseFrequentlyPlayedWithInner.md} +3 -3
  42. package/docs/{FrequentlyVisitedClubItem.md → UserResponseFrequentlyVisitedClubsInner.md} +3 -3
  43. package/docs/{PublicClubUserLevelBySportsInner.md → UserResponseLevelBySportsInner.md} +3 -3
  44. package/index.ts +1 -1
  45. package/package.json +1 -1
  46. package/docs/AddClubMemberRequest.md +0 -22
  47. package/docs/AddClubMemberResponse.md +0 -22
  48. package/docs/AddFavoriteClubRequestBody.md +0 -20
  49. package/docs/AddFavoritePlayerRequestBody.md +0 -20
  50. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  51. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  52. package/docs/BlockSlotResponse.md +0 -22
  53. package/docs/BookingHistoryResponse.md +0 -22
  54. package/docs/BookingHistoryResponseHistoryInner.md +0 -32
  55. package/docs/BookingPaymentStatusResponse.md +0 -24
  56. package/docs/BookingPaymentStatusResponseBooking.md +0 -26
  57. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  58. package/docs/BookingPaymentStatusResponseSummary.md +0 -28
  59. package/docs/BookingPopulated.md +0 -30
  60. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  61. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  62. package/docs/BookingPopulatedSlotId.md +0 -26
  63. package/docs/BookingPopulatedSlotIdCourtId.md +0 -22
  64. package/docs/BookingPopulatedUserId.md +0 -24
  65. package/docs/BookingResponse.md +0 -28
  66. package/docs/BookingsApi.md +0 -113
  67. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
  68. package/docs/CancelBookingResponse.md +0 -22
  69. package/docs/CancelBookingResponseBooking.md +0 -30
  70. package/docs/ChangePasswordRequestBody.md +0 -22
  71. package/docs/ChangePasswordResponse.md +0 -20
  72. package/docs/CheckInPlayersResponse.md +0 -30
  73. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  74. package/docs/ClubAnalyticsApi.md +0 -241
  75. package/docs/ClubInfoResponse.md +0 -48
  76. package/docs/ClubMember.md +0 -24
  77. package/docs/ClubMembersResponse.md +0 -22
  78. package/docs/ClubRolesResponse.md +0 -22
  79. package/docs/ClubsApi.md +0 -61
  80. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  81. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  82. package/docs/CourtDeleteResponse.md +0 -20
  83. package/docs/CourtWithNameResponse.md +0 -48
  84. package/docs/CourtsResponse.md +0 -22
  85. package/docs/CourtsWithNameResponse.md +0 -22
  86. package/docs/CreateBookingRequest.md +0 -28
  87. package/docs/CreateClubRoleRequestBody.md +0 -24
  88. package/docs/CreateCourtRequest.md +0 -36
  89. package/docs/CreateEventRequest.md +0 -30
  90. package/docs/CreatePriceRequest.md +0 -26
  91. package/docs/CreateSportRequest.md +0 -26
  92. package/docs/CreateSubscriptionPlanRequest.md +0 -24
  93. package/docs/DailyTurnoverResponse.md +0 -24
  94. package/docs/DeleteClubRole200Response.md +0 -20
  95. package/docs/DeleteEvent200Response.md +0 -20
  96. package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
  97. package/docs/DeleteSport200Response.md +0 -20
  98. package/docs/Event.md +0 -40
  99. package/docs/EventBooking.md +0 -32
  100. package/docs/EventRegistrationRequest.md +0 -22
  101. package/docs/EventsApi.md +0 -119
  102. package/docs/FavoriteClubItem.md +0 -26
  103. package/docs/FavoriteClubResponse.md +0 -22
  104. package/docs/FavoritePlayerPublic.md +0 -28
  105. package/docs/FavoritePlayersIdsResponse.md +0 -22
  106. package/docs/FavoritePlayersResponse.md +0 -20
  107. package/docs/GenderPercentage.md +0 -26
  108. package/docs/GetActiveClubs200Response.md +0 -20
  109. package/docs/GetClubInfos200Response.md +0 -30
  110. package/docs/GetClubUsersById200Response.md +0 -20
  111. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  112. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  113. package/docs/GetNumberOfClubUsers200Response.md +0 -20
  114. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  115. package/docs/GetUserRolesResponse.md +0 -20
  116. package/docs/GetUserSubscriptionsResponse.md +0 -22
  117. package/docs/GoogleSignInRequestBody.md +0 -20
  118. package/docs/GoogleSignInResponse.md +0 -24
  119. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  120. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  121. package/docs/InvoicesResponse.md +0 -22
  122. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  123. package/docs/InvoicesResponsePagination.md +0 -26
  124. package/docs/LevelBySportsItem.md +0 -22
  125. package/docs/LoginRequestBody.md +0 -22
  126. package/docs/LoginResponse.md +0 -28
  127. package/docs/ManagerBookingsApi.md +0 -125
  128. package/docs/ManagerCancelBookingRequest.md +0 -20
  129. package/docs/ManagerCancelBookingResponse.md +0 -22
  130. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  131. package/docs/ManagerClubCourtsApi.md +0 -220
  132. package/docs/ManagerClubRolesApi.md +0 -268
  133. package/docs/ManagerClubSlotsApi.md +0 -119
  134. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  135. package/docs/ManagerClubsApi.md +0 -253
  136. package/docs/ManagerEventResponse.md +0 -22
  137. package/docs/ManagerEventsApi.md +0 -227
  138. package/docs/ManagerSportsApi.md +0 -119
  139. package/docs/MonthlyTurnoverResponse.md +0 -28
  140. package/docs/NoShowFeeResponse.md +0 -30
  141. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  142. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  143. package/docs/PaymentStatus.md +0 -30
  144. package/docs/PlayerWithPaymentMethod.md +0 -22
  145. package/docs/ProfilePictureResponse.md +0 -20
  146. package/docs/ProfileVisibilityResponse.md +0 -20
  147. package/docs/PublicClubUser.md +0 -46
  148. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  149. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  150. package/docs/RefreshTokenRequestBody.md +0 -20
  151. package/docs/RefreshTokenResponse.md +0 -22
  152. package/docs/RegisterForEvent201Response.md +0 -20
  153. package/docs/RegisterRequestBody.md +0 -36
  154. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  155. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  156. package/docs/SetupPaymentMethodResponse.md +0 -24
  157. package/docs/SlotsResponse.md +0 -22
  158. package/docs/StaffClubAnalyticsApi.md +0 -196
  159. package/docs/StaffClubBookingsApi.md +0 -52
  160. package/docs/StaffClubsApi.md +0 -147
  161. package/docs/StaffEventResponse.md +0 -20
  162. package/docs/StaffEventsApi.md +0 -54
  163. package/docs/StaffProfileApi.md +0 -54
  164. package/docs/SubscribeToClubRequestBody.md +0 -22
  165. package/docs/SubscriptionPlanResponse.md +0 -32
  166. package/docs/UpdateClubRequest.md +0 -40
  167. package/docs/UpdateClubRoleRequestBody.md +0 -24
  168. package/docs/UpdateClubSettingsRequest.md +0 -28
  169. package/docs/UpdateCourtRequest.md +0 -38
  170. package/docs/UpdateCustomerRequestBody.md +0 -26
  171. package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
  172. package/docs/UpdateCustomerResponse.md +0 -22
  173. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  174. package/docs/UpdateLevelBySportsRequestBody.md +0 -20
  175. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  176. package/docs/UpdateProfileVisibilityRequestBody.md +0 -20
  177. package/docs/UpdateSportRequest.md +0 -24
  178. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  179. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  180. package/docs/UpdateUserCityRequestBody.md +0 -20
  181. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  182. package/docs/UpdateUserRequestBody.md +0 -38
  183. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +0 -22
  184. package/docs/UserApi.md +0 -63
  185. package/docs/UserAuthenticationApi.md +0 -226
  186. package/docs/UserBookingItem.md +0 -46
  187. package/docs/UserBookingsApi.md +0 -166
  188. package/docs/UserBookingsResponse.md +0 -26
  189. package/docs/UserCityResponse.md +0 -20
  190. package/docs/UserClubCourtsApi.md +0 -64
  191. package/docs/UserClubSlotsApi.md +0 -181
  192. package/docs/UserClubSportsApi.md +0 -60
  193. package/docs/UserClubsApi.md +0 -53
  194. package/docs/UserDescriptionResponse.md +0 -20
  195. package/docs/UserFavoriteClubsResponse.md +0 -20
  196. package/docs/UserPaymentApi.md +0 -176
  197. package/docs/UserProfileApi.md +0 -1254
  198. package/docs/UserStaffResponse.md +0 -36
  199. package/docs/UserSubscriptionsApi.md +0 -222
  200. package/docs/UsersApi.md +0 -243
  201. package/docs/YearlyTurnoverResponse.md +0 -26
  202. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -1,22 +0,0 @@
1
- # SubscribeToClubRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | ID du club | [default to undefined]
9
- **roleId** | **string** | ID du rôle dans le club | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { SubscribeToClubRequestBody } from '@tennac-booking/sdk';
15
-
16
- const instance: SubscribeToClubRequestBody = {
17
- clubId,
18
- roleId,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,32 +0,0 @@
1
- # SubscriptionPlanResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **description** | **string** | | [optional] [default to undefined]
11
- **active** | **boolean** | | [optional] [default to undefined]
12
- **metadata** | **object** | | [optional] [default to undefined]
13
- **createdAt** | **string** | | [optional] [default to undefined]
14
- **updatedAt** | **string** | | [optional] [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { SubscriptionPlanResponse } from '@tennac-booking/sdk';
20
-
21
- const instance: SubscriptionPlanResponse = {
22
- id,
23
- name,
24
- description,
25
- active,
26
- metadata,
27
- createdAt,
28
- updatedAt,
29
- };
30
- ```
31
-
32
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,40 +0,0 @@
1
- # UpdateClubRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | | [optional] [default to undefined]
9
- **address** | **string** | | [optional] [default to undefined]
10
- **city** | **string** | | [optional] [default to undefined]
11
- **zipCode** | **string** | | [optional] [default to undefined]
12
- **country** | **string** | | [optional] [default to undefined]
13
- **phone** | **string** | | [optional] [default to undefined]
14
- **email** | **string** | | [optional] [default to undefined]
15
- **website** | **string** | | [optional] [default to undefined]
16
- **description** | **string** | | [optional] [default to undefined]
17
- **logo** | **string** | | [optional] [default to undefined]
18
- **isActive** | **boolean** | | [optional] [default to undefined]
19
-
20
- ## Example
21
-
22
- ```typescript
23
- import { UpdateClubRequest } from '@tennac-booking/sdk';
24
-
25
- const instance: UpdateClubRequest = {
26
- name,
27
- address,
28
- city,
29
- zipCode,
30
- country,
31
- phone,
32
- email,
33
- website,
34
- description,
35
- logo,
36
- isActive,
37
- };
38
- ```
39
-
40
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # UpdateClubRoleRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nouveau nom du rôle (optionnel) | [optional] [default to undefined]
9
- **description** | **string** | Nouvelle description du rôle (optionnel) | [optional] [default to undefined]
10
- **permissions** | **Array<string>** | Nouvelle liste de permissions (optionnel) | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { UpdateClubRoleRequestBody } from '@tennac-booking/sdk';
16
-
17
- const instance: UpdateClubRoleRequestBody = {
18
- name,
19
- description,
20
- permissions,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,28 +0,0 @@
1
- # UpdateClubSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
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]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { UpdateClubSettingsRequest } from '@tennac-booking/sdk';
18
-
19
- const instance: UpdateClubSettingsRequest = {
20
- clubId,
21
- reservationStartTime,
22
- reservationEndTime,
23
- maxSimultaneousReservations,
24
- allowWeekendReservations,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,38 +0,0 @@
1
- # UpdateCourtRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nom du terrain | [default to undefined]
9
- **status** | **string** | Statut du terrain | [default to undefined]
10
- **comments** | **string** | Commentaires sur le terrain | [optional] [default to undefined]
11
- **slotDefaultDuration** | **number** | Durée par défaut d’un créneau (en minutes) | [default to undefined]
12
- **pricePerSlotInCents** | **number** | Prix par créneau en centimes | [optional] [default to undefined]
13
- **startTimeInTheDayInMinutes** | **number** | Heure de début (minutes depuis minuit) | [default to undefined]
14
- **endTimeInTheDayInMinutes** | **number** | Heure de fin (minutes depuis minuit) | [default to undefined]
15
- **sportId** | **string** | ID du sport associé | [default to undefined]
16
- **surface** | **string** | Type de surface | [default to undefined]
17
- **isIndoor** | **boolean** | Terrain intérieur ou extérieur | [default to undefined]
18
-
19
- ## Example
20
-
21
- ```typescript
22
- import { UpdateCourtRequest } from '@tennac-booking/sdk';
23
-
24
- const instance: UpdateCourtRequest = {
25
- name,
26
- status,
27
- comments,
28
- slotDefaultDuration,
29
- pricePerSlotInCents,
30
- startTimeInTheDayInMinutes,
31
- endTimeInTheDayInMinutes,
32
- sportId,
33
- surface,
34
- isIndoor,
35
- };
36
- ```
37
-
38
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # UpdateCustomerRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nom du client | [optional] [default to undefined]
9
- **email** | **string** | Email du client | [optional] [default to undefined]
10
- **phone** | **string** | Téléphone du client | [optional] [default to undefined]
11
- **address** | [**UpdateCustomerRequestBodyAddress**](UpdateCustomerRequestBodyAddress.md) | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { UpdateCustomerRequestBody } from '@tennac-booking/sdk';
17
-
18
- const instance: UpdateCustomerRequestBody = {
19
- name,
20
- email,
21
- phone,
22
- address,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,30 +0,0 @@
1
- # UpdateCustomerRequestBodyAddress
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **line1** | **string** | | [optional] [default to undefined]
9
- **line2** | **string** | | [optional] [default to undefined]
10
- **city** | **string** | | [optional] [default to undefined]
11
- **state** | **string** | | [optional] [default to undefined]
12
- **postal_code** | **string** | | [optional] [default to undefined]
13
- **country** | **string** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { UpdateCustomerRequestBodyAddress } from '@tennac-booking/sdk';
19
-
20
- const instance: UpdateCustomerRequestBodyAddress = {
21
- line1,
22
- line2,
23
- city,
24
- state,
25
- postal_code,
26
- country,
27
- };
28
- ```
29
-
30
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # UpdateCustomerResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
9
- **customer** | [**UpdateCustomerResponseCustomer**](UpdateCustomerResponseCustomer.md) | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { UpdateCustomerResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: UpdateCustomerResponse = {
17
- message,
18
- customer,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,28 +0,0 @@
1
- # UpdateCustomerResponseCustomer
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **email** | **string** | | [optional] [default to undefined]
11
- **phone** | **string** | | [optional] [default to undefined]
12
- **address** | **object** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { UpdateCustomerResponseCustomer } from '@tennac-booking/sdk';
18
-
19
- const instance: UpdateCustomerResponseCustomer = {
20
- id,
21
- name,
22
- email,
23
- phone,
24
- address,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # UpdateLevelBySportsRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **levelBySports** | [**Array<LevelBySportsItem>**](LevelBySportsItem.md) | | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { UpdateLevelBySportsRequestBody } from '@tennac-booking/sdk';
14
-
15
- const instance: UpdateLevelBySportsRequestBody = {
16
- levelBySports,
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 +0,0 @@
1
- # UpdateProfilePictureRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **profilePicture** | **string** | URL distante de la photo de profil (AWS/GCP) | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { UpdateProfilePictureRequestBody } from '@tennac-booking/sdk';
14
-
15
- const instance: UpdateProfilePictureRequestBody = {
16
- profilePicture,
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 +0,0 @@
1
- # UpdateProfileVisibilityRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **isProfileVisible** | **boolean** | Indique si le profil est visible aux autres utilisateurs | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { UpdateProfileVisibilityRequestBody } from '@tennac-booking/sdk';
14
-
15
- const instance: UpdateProfileVisibilityRequestBody = {
16
- isProfileVisible,
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,24 +0,0 @@
1
- # UpdateSportRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **key** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **description** | **string** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { UpdateSportRequest } from '@tennac-booking/sdk';
16
-
17
- const instance: UpdateSportRequest = {
18
- key,
19
- name,
20
- description,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # UpdateSubscriptionPlanRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Nouveau nom du plan d\'abonnement | [optional] [default to undefined]
9
- **description** | **string** | Nouvelle description du plan d\'abonnement | [optional] [default to undefined]
10
- **metadata** | **object** | Nouvelles métadonnées pour le plan | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { UpdateSubscriptionPlanRequest } from '@tennac-booking/sdk';
16
-
17
- const instance: UpdateSubscriptionPlanRequest = {
18
- name,
19
- description,
20
- metadata,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # UpdateSubscriptionPlanResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [optional] [default to undefined]
9
- **plan** | [**SubscriptionPlan**](SubscriptionPlan.md) | | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { UpdateSubscriptionPlanResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: UpdateSubscriptionPlanResponse = {
17
- message,
18
- plan,
19
- };
20
- ```
21
-
22
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,20 +0,0 @@
1
- # UpdateUserCityRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **city** | **string** | Nouvelle ville de l\'utilisateur | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { UpdateUserCityRequestBody } from '@tennac-booking/sdk';
14
-
15
- const instance: UpdateUserCityRequestBody = {
16
- city,
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 +0,0 @@
1
- # UpdateUserDescriptionRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **description** | **string** | Nouvelle description de l\'utilisateur | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { UpdateUserDescriptionRequestBody } from '@tennac-booking/sdk';
14
-
15
- const instance: UpdateUserDescriptionRequestBody = {
16
- description,
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,38 +0,0 @@
1
- # UpdateUserRequestBody
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **username** | **string** | | [optional] [default to undefined]
9
- **firstName** | **string** | | [optional] [default to undefined]
10
- **lastName** | **string** | | [optional] [default to undefined]
11
- **email** | **string** | | [optional] [default to undefined]
12
- **phone** | **string** | | [optional] [default to undefined]
13
- **profilePicture** | **string** | | [optional] [default to undefined]
14
- **levelBySports** | [**Array<UpdateUserRequestBodyLevelBySportsInner>**](UpdateUserRequestBodyLevelBySportsInner.md) | | [optional] [default to undefined]
15
- **isProfileVisible** | **boolean** | | [optional] [default to undefined]
16
- **description** | **string** | | [optional] [default to undefined]
17
- **city** | **string** | | [optional] [default to undefined]
18
-
19
- ## Example
20
-
21
- ```typescript
22
- import { UpdateUserRequestBody } from '@tennac-booking/sdk';
23
-
24
- const instance: UpdateUserRequestBody = {
25
- username,
26
- firstName,
27
- lastName,
28
- email,
29
- phone,
30
- profilePicture,
31
- levelBySports,
32
- isProfileVisible,
33
- description,
34
- city,
35
- };
36
- ```
37
-
38
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
1
- # UpdateUserRequestBodyLevelBySportsInner
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **sport** | **string** | | [default to undefined]
9
- **level** | **string** | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { UpdateUserRequestBodyLevelBySportsInner } from '@tennac-booking/sdk';
15
-
16
- const instance: UpdateUserRequestBodyLevelBySportsInner = {
17
- sport,
18
- level,
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)
package/docs/UserApi.md DELETED
@@ -1,63 +0,0 @@
1
- # UserApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | Met à jour le Customer Stripe de l\'utilisateur|
8
-
9
- # **updateCustomer**
10
- > UpdateCustomerResponse updateCustomer(updateCustomerRequestBody)
11
-
12
-
13
- ### Example
14
-
15
- ```typescript
16
- import {
17
- UserApi,
18
- Configuration,
19
- UpdateCustomerRequestBody
20
- } from '@tennac-booking/sdk';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new UserApi(configuration);
24
-
25
- let updateCustomerRequestBody: UpdateCustomerRequestBody; //
26
-
27
- const { status, data } = await apiInstance.updateCustomer(
28
- updateCustomerRequestBody
29
- );
30
- ```
31
-
32
- ### Parameters
33
-
34
- |Name | Type | Description | Notes|
35
- |------------- | ------------- | ------------- | -------------|
36
- | **updateCustomerRequestBody** | **UpdateCustomerRequestBody**| | |
37
-
38
-
39
- ### Return type
40
-
41
- **UpdateCustomerResponse**
42
-
43
- ### Authorization
44
-
45
- [bearerAuth](../README.md#bearerAuth)
46
-
47
- ### HTTP request headers
48
-
49
- - **Content-Type**: application/json
50
- - **Accept**: application/json
51
-
52
-
53
- ### HTTP response details
54
- | Status code | Description | Response headers |
55
- |-------------|-------------|------------------|
56
- |**200** | Customer mis à jour | - |
57
- |**400** | Requête invalide | - |
58
- |**401** | Non autorisé | - |
59
- |**404** | Ressource non trouvée | - |
60
- |**500** | Erreur serveur interne | - |
61
-
62
- [[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)
63
-