@tennac-booking/sdk 1.0.34 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/.openapi-generator/FILES +5 -161
  2. package/README.md +7 -230
  3. package/api.ts +672 -13535
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +652 -9153
  8. package/dist/api.js +12 -7641
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +652 -9153
  16. package/dist/esm/api.js +11 -7530
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/ActiveClub.md +4 -2
  28. package/docs/ApiErrorResponse.md +1 -1
  29. package/docs/Club.md +6 -12
  30. package/docs/ClubResponse.md +8 -14
  31. package/docs/ClubRoleResponse.md +6 -6
  32. package/docs/ClubSettings.md +9 -21
  33. package/docs/Court.md +2 -2
  34. package/docs/CourtResponse.md +16 -18
  35. package/docs/CourtStatus.md +2 -5
  36. package/docs/{UpdateCustomerRequestBodyAddress.md → Location.md} +13 -11
  37. package/docs/PriceResponse.md +8 -2
  38. package/docs/SlotResponse.md +10 -2
  39. package/docs/SportResponse.md +2 -4
  40. package/docs/{GetUserRolesResponseRolesInner.md → StripeLink.md} +7 -7
  41. package/docs/UserResponse.md +48 -8
  42. package/docs/{FrequentlyPlayedWithItem.md → UserResponseFrequentlyPlayedWithInner.md} +3 -3
  43. package/docs/{FrequentlyVisitedClubItem.md → UserResponseFrequentlyVisitedClubsInner.md} +3 -3
  44. package/docs/{PublicClubUserLevelBySportsInner.md → UserResponseLevelBySportsInner.md} +3 -3
  45. package/index.ts +1 -1
  46. package/package.json +1 -1
  47. package/docs/AddClubMemberRequest.md +0 -22
  48. package/docs/AddClubMemberResponse.md +0 -22
  49. package/docs/AddFavoriteClubRequestBody.md +0 -20
  50. package/docs/AddFavoritePlayerRequestBody.md +0 -20
  51. package/docs/AddPaymentMethodSetupRequestBody.md +0 -20
  52. package/docs/AddPaymentMethodSetupResponse.md +0 -24
  53. package/docs/BlockSlotResponse.md +0 -22
  54. package/docs/BookingHistoryResponse.md +0 -22
  55. package/docs/BookingHistoryResponseHistoryInner.md +0 -32
  56. package/docs/BookingPaymentStatusResponse.md +0 -24
  57. package/docs/BookingPaymentStatusResponseBooking.md +0 -26
  58. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +0 -36
  59. package/docs/BookingPaymentStatusResponseSummary.md +0 -28
  60. package/docs/BookingPopulated.md +0 -28
  61. package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +0 -22
  62. package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +0 -24
  63. package/docs/BookingPopulatedSlotId.md +0 -26
  64. package/docs/BookingPopulatedSlotIdCourtId.md +0 -22
  65. package/docs/BookingPopulatedUserId.md +0 -24
  66. package/docs/BookingResponse.md +0 -28
  67. package/docs/BookingsApi.md +0 -113
  68. package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +0 -20
  69. package/docs/CancelBookingResponse.md +0 -22
  70. package/docs/CancelBookingResponseBooking.md +0 -30
  71. package/docs/ChangePasswordRequestBody.md +0 -22
  72. package/docs/ChangePasswordResponse.md +0 -20
  73. package/docs/CheckInPlayersResponse.md +0 -30
  74. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +0 -34
  75. package/docs/ClubAnalyticsApi.md +0 -241
  76. package/docs/ClubInfoResponse.md +0 -48
  77. package/docs/ClubMember.md +0 -24
  78. package/docs/ClubMembersResponse.md +0 -22
  79. package/docs/ClubRolesResponse.md +0 -22
  80. package/docs/ClubsApi.md +0 -61
  81. package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -20
  82. package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
  83. package/docs/CourtDeleteResponse.md +0 -20
  84. package/docs/CourtWithNameResponse.md +0 -46
  85. package/docs/CourtsResponse.md +0 -22
  86. package/docs/CourtsWithNameResponse.md +0 -22
  87. package/docs/CreateBookingRequest.md +0 -28
  88. package/docs/CreateClubRoleRequestBody.md +0 -24
  89. package/docs/CreateCourtRequest.md +0 -36
  90. package/docs/CreateEventRequest.md +0 -30
  91. package/docs/CreatePriceRequest.md +0 -26
  92. package/docs/CreateSportRequest.md +0 -26
  93. package/docs/CreateSubscriptionPlanRequest.md +0 -24
  94. package/docs/DailyTurnoverResponse.md +0 -24
  95. package/docs/DeleteClubRole200Response.md +0 -20
  96. package/docs/DeleteEvent200Response.md +0 -20
  97. package/docs/DeleteSlotsByClubInRange200Response.md +0 -20
  98. package/docs/DeleteSport200Response.md +0 -20
  99. package/docs/Event.md +0 -40
  100. package/docs/EventBooking.md +0 -32
  101. package/docs/EventRegistrationRequest.md +0 -22
  102. package/docs/EventsApi.md +0 -119
  103. package/docs/FavoriteClubItem.md +0 -26
  104. package/docs/FavoriteClubResponse.md +0 -22
  105. package/docs/FavoritePlayerPublic.md +0 -28
  106. package/docs/FavoritePlayersIdsResponse.md +0 -22
  107. package/docs/FavoritePlayersResponse.md +0 -20
  108. package/docs/GetActiveClubs200Response.md +0 -20
  109. package/docs/GetClubInfos200Response.md +0 -30
  110. package/docs/GetClubPlayers200Response.md +0 -22
  111. package/docs/GetClubUsersById200Response.md +0 -20
  112. package/docs/GetCourtsByClubAndSport200Response.md +0 -26
  113. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -22
  114. package/docs/GetNumberOfClubUsers200Response.md +0 -20
  115. package/docs/GetPublishedEventsByClubId200Response.md +0 -20
  116. package/docs/GetUserRolesResponse.md +0 -20
  117. package/docs/GetUserSubscriptionsResponse.md +0 -22
  118. package/docs/GoogleSignInRequestBody.md +0 -20
  119. package/docs/GoogleSignInResponse.md +0 -24
  120. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  121. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  122. package/docs/InvoicesResponse.md +0 -22
  123. package/docs/InvoicesResponseInvoicesInner.md +0 -34
  124. package/docs/InvoicesResponsePagination.md +0 -26
  125. package/docs/LevelBySportsItem.md +0 -22
  126. package/docs/LoginRequestBody.md +0 -22
  127. package/docs/LoginResponse.md +0 -28
  128. package/docs/ManagerBookingsApi.md +0 -125
  129. package/docs/ManagerCancelBookingRequest.md +0 -20
  130. package/docs/ManagerCancelBookingResponse.md +0 -22
  131. package/docs/ManagerCancelBookingResponseBooking.md +0 -30
  132. package/docs/ManagerClubCourtsApi.md +0 -220
  133. package/docs/ManagerClubRolesApi.md +0 -268
  134. package/docs/ManagerClubSlotsApi.md +0 -119
  135. package/docs/ManagerClubSubscriptionsApi.md +0 -387
  136. package/docs/ManagerClubsApi.md +0 -253
  137. package/docs/ManagerEventResponse.md +0 -22
  138. package/docs/ManagerEventsApi.md +0 -227
  139. package/docs/ManagerSportsApi.md +0 -119
  140. package/docs/MonthlyTurnoverResponse.md +0 -28
  141. package/docs/NoShowFeeResponse.md +0 -30
  142. package/docs/NoShowFeeResponseCaptureResultsInner.md +0 -30
  143. package/docs/NoShowFeeResponseCreatorChargeResult.md +0 -26
  144. package/docs/PaymentStatus.md +0 -30
  145. package/docs/PlayerWithPaymentMethod.md +0 -22
  146. package/docs/ProfilePictureResponse.md +0 -20
  147. package/docs/ProfileVisibilityResponse.md +0 -20
  148. package/docs/PublicClubUser.md +0 -46
  149. package/docs/PublicClubUserFrequentlyPlayedWithInner.md +0 -28
  150. package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +0 -24
  151. package/docs/RefreshTokenRequestBody.md +0 -20
  152. package/docs/RefreshTokenResponse.md +0 -22
  153. package/docs/RegisterForEvent201Response.md +0 -20
  154. package/docs/RegisterRequestBody.md +0 -36
  155. package/docs/RestoreSubscriptionPlanForClub200Response.md +0 -20
  156. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  157. package/docs/SetupPaymentMethodResponse.md +0 -24
  158. package/docs/SlotsResponse.md +0 -22
  159. package/docs/SportsResponse.md +0 -22
  160. package/docs/StaffClubAnalyticsApi.md +0 -149
  161. package/docs/StaffClubBookingsApi.md +0 -52
  162. package/docs/StaffClubsApi.md +0 -147
  163. package/docs/StaffEventResponse.md +0 -20
  164. package/docs/StaffEventsApi.md +0 -54
  165. package/docs/StaffProfileApi.md +0 -54
  166. package/docs/SubscribeToClubRequestBody.md +0 -22
  167. package/docs/SubscriptionPlanResponse.md +0 -32
  168. package/docs/UpdateClubRequest.md +0 -40
  169. package/docs/UpdateClubRoleRequestBody.md +0 -24
  170. package/docs/UpdateClubSettingsRequest.md +0 -28
  171. package/docs/UpdateCourtRequest.md +0 -38
  172. package/docs/UpdateCustomerRequestBody.md +0 -26
  173. package/docs/UpdateCustomerResponse.md +0 -22
  174. package/docs/UpdateCustomerResponseCustomer.md +0 -28
  175. package/docs/UpdateLevelBySportsRequestBody.md +0 -20
  176. package/docs/UpdateProfilePictureRequestBody.md +0 -20
  177. package/docs/UpdateProfileVisibilityRequestBody.md +0 -20
  178. package/docs/UpdateSportRequest.md +0 -24
  179. package/docs/UpdateSubscriptionPlanRequest.md +0 -24
  180. package/docs/UpdateSubscriptionPlanResponse.md +0 -22
  181. package/docs/UpdateUserCityRequestBody.md +0 -20
  182. package/docs/UpdateUserDescriptionRequestBody.md +0 -20
  183. package/docs/UpdateUserRequestBody.md +0 -38
  184. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +0 -22
  185. package/docs/UserApi.md +0 -63
  186. package/docs/UserAuthenticationApi.md +0 -226
  187. package/docs/UserBookingItem.md +0 -46
  188. package/docs/UserBookingsApi.md +0 -166
  189. package/docs/UserBookingsResponse.md +0 -26
  190. package/docs/UserCityResponse.md +0 -20
  191. package/docs/UserClubCourtsApi.md +0 -64
  192. package/docs/UserClubSlotsApi.md +0 -181
  193. package/docs/UserClubSportsApi.md +0 -60
  194. package/docs/UserClubsApi.md +0 -53
  195. package/docs/UserDescriptionResponse.md +0 -20
  196. package/docs/UserFavoriteClubsResponse.md +0 -20
  197. package/docs/UserPaymentApi.md +0 -176
  198. package/docs/UserProfileApi.md +0 -1254
  199. package/docs/UserStaffResponse.md +0 -36
  200. package/docs/UserSubscriptionsApi.md +0 -222
  201. package/docs/YearlyTurnoverResponse.md +0 -26
  202. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +0 -24
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.34
5
+ * The version of the OpenAPI document: 1.0.36
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.34
7
+ * The version of the OpenAPI document: 1.0.36
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.34
5
+ * The version of the OpenAPI document: 1.0.36
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.34
7
+ * The version of the OpenAPI document: 1.0.36
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.34
5
+ * The version of the OpenAPI document: 1.0.36
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.34
7
+ * The version of the OpenAPI document: 1.0.36
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.34
5
+ * The version of the OpenAPI document: 1.0.36
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Pandook API
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.34
7
+ * The version of the OpenAPI document: 1.0.36
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Pandook API
3
3
  * API for managing pickle ball games and players
4
4
  *
5
- * The version of the OpenAPI document: 1.0.34
5
+ * The version of the OpenAPI document: 1.0.36
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Pandook API
6
6
  * API for managing pickle ball games and players
7
7
  *
8
- * The version of the OpenAPI document: 1.0.34
8
+ * The version of the OpenAPI document: 1.0.36
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,8 +6,9 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **_id** | **string** | | [optional] [default to undefined]
9
+ **picture** | **string** | | [optional] [default to undefined]
9
10
  **name** | **string** | | [optional] [default to undefined]
10
- **address** | **string** | | [optional] [default to undefined]
11
+ **location** | [**Location**](Location.md) | | [optional] [default to undefined]
11
12
  **paymentFeature** | **boolean** | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
@@ -17,8 +18,9 @@ import { ActiveClub } from '@tennac-booking/sdk';
17
18
 
18
19
  const instance: ActiveClub = {
19
20
  _id,
21
+ picture,
20
22
  name,
21
- address,
23
+ location,
22
24
  paymentFeature,
23
25
  };
24
26
  ```
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | | [optional] [default to undefined]
8
+ **message** | **string** | | [default to undefined]
9
9
  **error** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
package/docs/Club.md CHANGED
@@ -7,15 +7,12 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
- **address** | **string** | | [default to undefined]
11
- **city** | **string** | | [default to undefined]
12
- **zipCode** | **string** | | [default to undefined]
13
- **country** | **string** | | [default to undefined]
10
+ **location** | [**Location**](Location.md) | | [optional] [default to undefined]
14
11
  **phone** | **string** | | [optional] [default to undefined]
15
12
  **email** | **string** | | [optional] [default to undefined]
16
- **website** | **string** | | [optional] [default to undefined]
13
+ **websiteUrl** | **string** | | [optional] [default to undefined]
17
14
  **description** | **string** | | [optional] [default to undefined]
18
- **logo** | **string** | | [optional] [default to undefined]
15
+ **picture** | **string** | | [optional] [default to undefined]
19
16
  **isActive** | **boolean** | | [optional] [default to true]
20
17
  **createdAt** | **string** | | [optional] [default to undefined]
21
18
  **updatedAt** | **string** | | [optional] [default to undefined]
@@ -28,15 +25,12 @@ import { Club } from '@tennac-booking/sdk';
28
25
  const instance: Club = {
29
26
  id,
30
27
  name,
31
- address,
32
- city,
33
- zipCode,
34
- country,
28
+ location,
35
29
  phone,
36
30
  email,
37
- website,
31
+ websiteUrl,
38
32
  description,
39
- logo,
33
+ picture,
40
34
  isActive,
41
35
  createdAt,
42
36
  updatedAt,
@@ -6,17 +6,14 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **address** | **string** | | [optional] [default to undefined]
11
- **city** | **string** | | [optional] [default to undefined]
12
- **zipCode** | **string** | | [optional] [default to undefined]
13
- **country** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **location** | [**Location**](Location.md) | | [optional] [default to undefined]
14
11
  **phone** | **string** | | [optional] [default to undefined]
15
12
  **email** | **string** | | [optional] [default to undefined]
16
- **website** | **string** | | [optional] [default to undefined]
13
+ **websiteUrl** | **string** | | [optional] [default to undefined]
17
14
  **description** | **string** | | [optional] [default to undefined]
18
- **logo** | **string** | | [optional] [default to undefined]
19
- **isActive** | **boolean** | | [optional] [default to undefined]
15
+ **picture** | **string** | | [optional] [default to undefined]
16
+ **isActive** | **boolean** | | [optional] [default to true]
20
17
  **createdAt** | **string** | | [optional] [default to undefined]
21
18
  **updatedAt** | **string** | | [optional] [default to undefined]
22
19
 
@@ -28,15 +25,12 @@ import { ClubResponse } from '@tennac-booking/sdk';
28
25
  const instance: ClubResponse = {
29
26
  id,
30
27
  name,
31
- address,
32
- city,
33
- zipCode,
34
- country,
28
+ location,
35
29
  phone,
36
30
  email,
37
- website,
31
+ websiteUrl,
38
32
  description,
39
- logo,
33
+ picture,
40
34
  isActive,
41
35
  createdAt,
42
36
  updatedAt,
@@ -5,12 +5,12 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **description** | **string** | | [optional] [default to undefined]
11
- **permissions** | **Array<string>** | | [optional] [default to undefined]
12
- **createdAt** | **string** | | [optional] [default to undefined]
13
- **updatedAt** | **string** | | [optional] [default to undefined]
8
+ **id** | **string** | Identifiant unique du rôle dans le club | [default to undefined]
9
+ **name** | **string** | Nom du rôle (ex: joueur, coach, admin) | [default to undefined]
10
+ **description** | **string** | Description textuelle du rôle | [default to undefined]
11
+ **permissions** | **Array<string>** | Liste des permissions associées à ce rôle | [optional] [default to undefined]
12
+ **createdAt** | **string** | Date de création du rôle | [default to undefined]
13
+ **updatedAt** | **string** | Date de dernière mise à jour du rôle | [default to undefined]
14
14
 
15
15
  ## Example
16
16
 
@@ -5,17 +5,11 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **clubId** | **string** | | [optional] [default to undefined]
10
- **maxWeeklyBookings** | **number** | | [optional] [default to undefined]
11
- **allowMultipleBookingsAtTheSameTime** | **boolean** | | [optional] [default to undefined]
12
- **sameTimeBookingsLimit** | **number** | | [optional] [default to undefined]
13
- **cancellationLimitHours** | **number** | | [optional] [default to undefined]
14
- **availabilityPeriodInDays** | **number** | | [optional] [default to undefined]
15
- **sponsors** | **Array<string>** | | [optional] [default to undefined]
16
- **timeBeforePayment** | **number** | Minutes before payment is required | [optional] [default to undefined]
17
- **createdAt** | **string** | | [optional] [default to undefined]
18
- **updatedAt** | **string** | | [optional] [default to undefined]
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]
19
13
 
20
14
  ## Example
21
15
 
@@ -23,17 +17,11 @@ Name | Type | Description | Notes
23
17
  import { ClubSettings } from '@tennac-booking/sdk';
24
18
 
25
19
  const instance: ClubSettings = {
26
- id,
27
20
  clubId,
28
- maxWeeklyBookings,
29
- allowMultipleBookingsAtTheSameTime,
30
- sameTimeBookingsLimit,
31
- cancellationLimitHours,
32
- availabilityPeriodInDays,
33
- sponsors,
34
- timeBeforePayment,
35
- createdAt,
36
- updatedAt,
21
+ reservationStartTime,
22
+ reservationEndTime,
23
+ maxSimultaneousReservations,
24
+ allowWeekendReservations,
37
25
  };
38
26
  ```
39
27
 
package/docs/Court.md CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **name** | **string** | | [default to undefined]
9
9
  **status** | [**CourtStatus**](CourtStatus.md) | | [default to undefined]
10
10
  **comments** | **string** | | [optional] [default to undefined]
11
- **pricePerSlot** | **number** | | [default to undefined]
11
+ **pricePerHour** | **number** | | [optional] [default to undefined]
12
12
  **slotDefaultDuration** | **number** | | [default to undefined]
13
13
  **startTimeInTheDayInMinutes** | **number** | | [default to undefined]
14
14
  **endTimeInTheDayInMinutes** | **number** | | [default to undefined]
@@ -22,7 +22,7 @@ const instance: Court = {
22
22
  name,
23
23
  status,
24
24
  comments,
25
- pricePerSlot,
25
+ pricePerHour,
26
26
  slotDefaultDuration,
27
27
  startTimeInTheDayInMinutes,
28
28
  endTimeInTheDayInMinutes,
@@ -5,20 +5,19 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **name** | **string** | | [default to undefined]
10
- **status** | **string** | | [default to undefined]
11
- **comments** | **string** | | [default to undefined]
12
- **slotDefaultDuration** | **number** | | [default to undefined]
13
- **startTimeInTheDayInMinutes** | **number** | | [default to undefined]
14
- **endTimeInTheDayInMinutes** | **number** | | [default to undefined]
15
- **pricePerSlotInCents** | **number** | | [default to undefined]
16
- **sportId** | **string** | | [default to undefined]
17
- **clubId** | **string** | | [default to undefined]
18
- **surface** | **string** | | [default to undefined]
19
- **isIndoor** | **boolean** | Indique si le terrain est en intérieur ou extérieur | [default to undefined]
20
- **createdAt** | **string** | | [default to undefined]
21
- **updatedAt** | **string** | | [default to undefined]
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **status** | [**CourtStatus**](CourtStatus.md) | | [optional] [default to undefined]
11
+ **comments** | **string** | | [optional] [default to undefined]
12
+ **pricePerHour** | **number** | | [optional] [default to undefined]
13
+ **slotDefaultDuration** | **number** | | [optional] [default to undefined]
14
+ **startTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
15
+ **endTimeInTheDayInMinutes** | **number** | | [optional] [default to undefined]
16
+ **clubId** | **string** | | [optional] [default to undefined]
17
+ **sportId** | **string** | | [optional] [default to undefined]
18
+ **isActive** | **boolean** | | [optional] [default to undefined]
19
+ **createdAt** | **string** | | [optional] [default to undefined]
20
+ **updatedAt** | **string** | | [optional] [default to undefined]
22
21
 
23
22
  ## Example
24
23
 
@@ -30,14 +29,13 @@ const instance: CourtResponse = {
30
29
  name,
31
30
  status,
32
31
  comments,
32
+ pricePerHour,
33
33
  slotDefaultDuration,
34
34
  startTimeInTheDayInMinutes,
35
35
  endTimeInTheDayInMinutes,
36
- pricePerSlotInCents,
37
- sportId,
38
36
  clubId,
39
- surface,
40
- isIndoor,
37
+ sportId,
38
+ isActive,
41
39
  createdAt,
42
40
  updatedAt,
43
41
  };
@@ -1,13 +1,10 @@
1
1
  # CourtStatus
2
2
 
3
- Statut du terrain
4
3
 
5
4
  ## Enum
6
5
 
7
- * `Active` (value: `'active'`)
6
+ * `Available` (value: `'available'`)
8
7
 
9
- * `Maintenance` (value: `'maintenance'`)
10
-
11
- * `Inactive` (value: `'inactive'`)
8
+ * `Unavailable` (value: `'unavailable'`)
12
9
 
13
10
  [[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,29 +1,31 @@
1
- # UpdateCustomerRequestBodyAddress
1
+ # Location
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **line1** | **string** | | [optional] [default to undefined]
9
- **line2** | **string** | | [optional] [default to undefined]
8
+ **type** | **string** | | [default to undefined]
9
+ **coordinates** | **Array<number>** | Longitude et latitude | [default to undefined]
10
10
  **city** | **string** | | [optional] [default to undefined]
11
- **state** | **string** | | [optional] [default to undefined]
12
- **postal_code** | **string** | | [optional] [default to undefined]
13
11
  **country** | **string** | | [optional] [default to undefined]
12
+ **postalCode** | **string** | | [optional] [default to undefined]
13
+ **state** | **string** | | [optional] [default to undefined]
14
+ **address** | **string** | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
17
18
  ```typescript
18
- import { UpdateCustomerRequestBodyAddress } from '@tennac-booking/sdk';
19
+ import { Location } from '@tennac-booking/sdk';
19
20
 
20
- const instance: UpdateCustomerRequestBodyAddress = {
21
- line1,
22
- line2,
21
+ const instance: Location = {
22
+ type,
23
+ coordinates,
23
24
  city,
24
- state,
25
- postal_code,
26
25
  country,
26
+ postalCode,
27
+ state,
28
+ address,
27
29
  };
28
30
  ```
29
31
 
@@ -6,12 +6,15 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [optional] [default to undefined]
9
+ **stripePriceId** | **string** | | [optional] [default to undefined]
9
10
  **amount** | **number** | | [optional] [default to undefined]
10
11
  **currency** | **string** | | [optional] [default to undefined]
11
12
  **interval** | **string** | | [optional] [default to undefined]
12
13
  **intervalCount** | **number** | | [optional] [default to undefined]
13
- **active** | **boolean** | | [optional] [default to undefined]
14
+ **isActive** | **boolean** | | [optional] [default to undefined]
15
+ **productId** | **string** | | [optional] [default to undefined]
14
16
  **createdAt** | **string** | | [optional] [default to undefined]
17
+ **updatedAt** | **string** | | [optional] [default to undefined]
15
18
 
16
19
  ## Example
17
20
 
@@ -20,12 +23,15 @@ import { PriceResponse } from '@tennac-booking/sdk';
20
23
 
21
24
  const instance: PriceResponse = {
22
25
  id,
26
+ stripePriceId,
23
27
  amount,
24
28
  currency,
25
29
  interval,
26
30
  intervalCount,
27
- active,
31
+ isActive,
32
+ productId,
28
33
  createdAt,
34
+ updatedAt,
29
35
  };
30
36
  ```
31
37
 
@@ -9,8 +9,12 @@ Name | Type | Description | Notes
9
9
  **startDate** | **string** | | [optional] [default to undefined]
10
10
  **endDate** | **string** | | [optional] [default to undefined]
11
11
  **courtId** | **string** | | [optional] [default to undefined]
12
+ **clubId** | **string** | | [optional] [default to undefined]
13
+ **sportId** | **string** | | [optional] [default to undefined]
14
+ **isAvailable** | **boolean** | | [optional] [default to undefined]
12
15
  **price** | **number** | | [optional] [default to undefined]
13
- **isOpen** | **boolean** | | [optional] [default to undefined]
16
+ **lastSlotDate** | **string** | | [optional] [default to undefined]
17
+ **court** | [**CourtResponse**](CourtResponse.md) | | [optional] [default to undefined]
14
18
  **createdAt** | **string** | | [optional] [default to undefined]
15
19
  **updatedAt** | **string** | | [optional] [default to undefined]
16
20
 
@@ -24,8 +28,12 @@ const instance: SlotResponse = {
24
28
  startDate,
25
29
  endDate,
26
30
  courtId,
31
+ clubId,
32
+ sportId,
33
+ isAvailable,
27
34
  price,
28
- isOpen,
35
+ lastSlotDate,
36
+ court,
29
37
  createdAt,
30
38
  updatedAt,
31
39
  };
@@ -10,8 +10,7 @@ Name | Type | Description | Notes
10
10
  **name** | **string** | | [optional] [default to undefined]
11
11
  **description** | **string** | | [optional] [default to undefined]
12
12
  **clubId** | **string** | | [optional] [default to undefined]
13
- **courtsCount** | **number** | | [optional] [default to undefined]
14
- **bookingsCount** | **number** | | [optional] [default to undefined]
13
+ **isActive** | **boolean** | | [optional] [default to undefined]
15
14
  **createdAt** | **string** | | [optional] [default to undefined]
16
15
  **updatedAt** | **string** | | [optional] [default to undefined]
17
16
 
@@ -26,8 +25,7 @@ const instance: SportResponse = {
26
25
  name,
27
26
  description,
28
27
  clubId,
29
- courtsCount,
30
- bookingsCount,
28
+ isActive,
31
29
  createdAt,
32
30
  updatedAt,
33
31
  };
@@ -1,4 +1,4 @@
1
- # GetUserRolesResponseRolesInner
1
+ # StripeLink
2
2
 
3
3
 
4
4
  ## Properties
@@ -6,20 +6,20 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **clubId** | **string** | | [optional] [default to undefined]
9
+ **clubPicture** | **string** | | [optional] [default to undefined]
9
10
  **clubName** | **string** | | [optional] [default to undefined]
10
- **roleId** | **string** | | [optional] [default to undefined]
11
- **roleName** | **string** | | [optional] [default to undefined]
11
+ **portalUrl** | **string** | | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { GetUserRolesResponseRolesInner } from '@tennac-booking/sdk';
16
+ import { StripeLink } from '@tennac-booking/sdk';
17
17
 
18
- const instance: GetUserRolesResponseRolesInner = {
18
+ const instance: StripeLink = {
19
19
  clubId,
20
+ clubPicture,
20
21
  clubName,
21
- roleId,
22
- roleName,
22
+ portalUrl,
23
23
  };
24
24
  ```
25
25
 
@@ -5,16 +5,36 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
8
+ **id** | **string** | | [default to undefined]
9
9
  **username** | **string** | | [optional] [default to undefined]
10
- **firstName** | **string** | | [optional] [default to undefined]
11
- **lastName** | **string** | | [optional] [default to undefined]
12
- **email** | **string** | | [optional] [default to undefined]
10
+ **googleId** | **string** | | [optional] [default to undefined]
11
+ **firstName** | **string** | | [default to undefined]
12
+ **lastName** | **string** | | [default to undefined]
13
+ **email** | **string** | | [default to undefined]
14
+ **isAccountVerified** | **boolean** | | [default to undefined]
15
+ **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
16
+ **levelBySports** | [**Array<UserResponseLevelBySportsInner>**](UserResponseLevelBySportsInner.md) | | [optional] [default to undefined]
17
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
13
18
  **phone** | **string** | | [optional] [default to undefined]
14
19
  **profilePicture** | **string** | | [optional] [default to undefined]
15
- **level** | **string** | | [optional] [default to undefined]
16
- **createdAt** | **string** | | [optional] [default to undefined]
17
- **updatedAt** | **string** | | [optional] [default to undefined]
20
+ **isAdmin** | **boolean** | | [default to undefined]
21
+ **createdAt** | **string** | | [default to undefined]
22
+ **updatedAt** | **string** | | [default to undefined]
23
+ **isLevelCertified** | **boolean** | | [optional] [default to undefined]
24
+ **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
25
+ **stripeLinks** | [**Array<StripeLink>**](StripeLink.md) | | [optional] [default to undefined]
26
+ **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
27
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
28
+ **setupIntentId** | **string** | | [optional] [default to undefined]
29
+ **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
30
+ **description** | **string** | | [optional] [default to undefined]
31
+ **city** | **string** | | [optional] [default to undefined]
32
+ **isProfileVisible** | **boolean** | | [default to undefined]
33
+ **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
34
+ **upcomingBookingsCount** | **number** | | [optional] [default to undefined]
35
+ **subscriptionsCount** | **number** | | [optional] [default to undefined]
36
+ **frequentlyPlayedWith** | [**Array<UserResponseFrequentlyPlayedWithInner>**](UserResponseFrequentlyPlayedWithInner.md) | | [optional] [default to undefined]
37
+ **frequentlyVisitedClubs** | [**Array<UserResponseFrequentlyVisitedClubsInner>**](UserResponseFrequentlyVisitedClubsInner.md) | | [optional] [default to undefined]
18
38
 
19
39
  ## Example
20
40
 
@@ -24,14 +44,34 @@ import { UserResponse } from '@tennac-booking/sdk';
24
44
  const instance: UserResponse = {
25
45
  id,
26
46
  username,
47
+ googleId,
27
48
  firstName,
28
49
  lastName,
29
50
  email,
51
+ isAccountVerified,
52
+ isCreditCardRegistered,
53
+ levelBySports,
54
+ stripeCustomerId,
30
55
  phone,
31
56
  profilePicture,
32
- level,
57
+ isAdmin,
33
58
  createdAt,
34
59
  updatedAt,
60
+ isLevelCertified,
61
+ paymentMethods,
62
+ stripeLinks,
63
+ defaultPaymentMethodId,
64
+ paymentMethodSetupCompleted,
65
+ setupIntentId,
66
+ favoriteClubs,
67
+ description,
68
+ city,
69
+ isProfileVisible,
70
+ favoritePlayers,
71
+ upcomingBookingsCount,
72
+ subscriptionsCount,
73
+ frequentlyPlayedWith,
74
+ frequentlyVisitedClubs,
35
75
  };
36
76
  ```
37
77
 
@@ -1,4 +1,4 @@
1
- # FrequentlyPlayedWithItem
1
+ # UserResponseFrequentlyPlayedWithInner
2
2
 
3
3
 
4
4
  ## Properties
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ## Example
15
15
 
16
16
  ```typescript
17
- import { FrequentlyPlayedWithItem } from '@tennac-booking/sdk';
17
+ import { UserResponseFrequentlyPlayedWithInner } from '@tennac-booking/sdk';
18
18
 
19
- const instance: FrequentlyPlayedWithItem = {
19
+ const instance: UserResponseFrequentlyPlayedWithInner = {
20
20
  userId,
21
21
  firstName,
22
22
  lastName,
@@ -1,4 +1,4 @@
1
- # FrequentlyVisitedClubItem
1
+ # UserResponseFrequentlyVisitedClubsInner
2
2
 
3
3
 
4
4
  ## Properties
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { FrequentlyVisitedClubItem } from '@tennac-booking/sdk';
15
+ import { UserResponseFrequentlyVisitedClubsInner } from '@tennac-booking/sdk';
16
16
 
17
- const instance: FrequentlyVisitedClubItem = {
17
+ const instance: UserResponseFrequentlyVisitedClubsInner = {
18
18
  clubId,
19
19
  name,
20
20
  visitCount,