@tennac-booking/sdk 1.0.86 → 1.0.87

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 (96) hide show
  1. package/.openapi-generator/FILES +256 -243
  2. package/README.md +47 -25
  3. package/api.ts +2445 -1308
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +2048 -1281
  8. package/dist/api.js +841 -270
  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 +2048 -1281
  16. package/dist/esm/api.js +834 -263
  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/{DeleteClubSettingsResponse.md → AddPaymentMethodRequestBody.md} +5 -5
  28. package/docs/BookingDetailResponse.md +46 -0
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPopulated.md +3 -3
  31. package/docs/BookingResponse.md +0 -2
  32. package/docs/BookingSummary.md +2 -54
  33. package/docs/BookingsApi.md +0 -55
  34. package/docs/ClubAnalyticsStaffApi.md +173 -0
  35. package/docs/{BookingSportInfo.md → ClubDaySchedule.md} +7 -7
  36. package/docs/ClubGeneralSettingsResponse.md +32 -0
  37. package/docs/ClubHoursSettingsResponse.md +22 -0
  38. package/docs/ClubLocationSettings.md +26 -0
  39. package/docs/ClubPlayerBookingItem.md +36 -0
  40. package/docs/ClubPlayerBookingsPagination.md +28 -0
  41. package/docs/ClubPlayerBookingsResponse.md +24 -0
  42. package/docs/ClubPlayerDetailResponse.md +46 -0
  43. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
  44. package/docs/ClubPlayerStatisticsResponse.md +42 -0
  45. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
  46. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
  47. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
  48. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
  49. package/docs/ClubPlayerSubscriptionSummary.md +28 -0
  50. package/docs/ClubPresentationSettingsResponse.md +26 -0
  51. package/docs/ClubPricingPeriodResponse.md +30 -0
  52. package/docs/ClubReservationSettingsResponse.md +28 -0
  53. package/docs/ClubResponse.md +0 -8
  54. package/docs/ClubSettingsManagerApi.md +54 -55
  55. package/docs/ClubSettingsStaffApi.md +139 -0
  56. package/docs/ClubWeeklySchedule.md +32 -0
  57. package/docs/ClubsManagerApi.md +52 -0
  58. package/docs/ClubsStaffApi.md +44 -0
  59. package/docs/{BookingCourtInfo.md → ConfirmPaymentMethodRequestBody.md} +5 -7
  60. package/docs/{BookingPriceBody.md → ConfirmPaymentMethodResponse.md} +7 -7
  61. package/docs/CreateBookingRequest.md +2 -2
  62. package/docs/CreateEventRequest.md +3 -1
  63. package/docs/EventResponse.md +1 -1
  64. package/docs/IUserAttributes.md +12 -2
  65. package/docs/PartialClubResponse.md +0 -8
  66. package/docs/PartialClubWeeklySchedule.md +33 -0
  67. package/docs/PaymentMethodSetupResponse.md +24 -0
  68. package/docs/QuickReservationClubSummary.md +0 -4
  69. package/docs/{EventResponseCourtsInner.md → SetupPaymentMethodRequestBody.md} +5 -3
  70. package/docs/SetupPaymentMethodResponse.md +24 -0
  71. package/docs/SlotInfo.md +2 -2
  72. package/docs/StaffUserProfileResponse.md +12 -2
  73. package/docs/SubscribeRequestBody.md +0 -2
  74. package/docs/UpdateClubGeneralSettingsRequest.md +34 -0
  75. package/docs/UpdateClubHoursSettingsRequest.md +22 -0
  76. package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
  77. package/docs/UpdateClubReservationSettingsRequest.md +28 -0
  78. package/docs/UpdateEventRequest.md +1 -1
  79. package/docs/UserProfileResponse.md +12 -4
  80. package/docs/UsersApi.md +160 -4
  81. package/index.ts +1 -1
  82. package/package.json +1 -1
  83. package/docs/BookingClubInfo.md +0 -28
  84. package/docs/BookingPaymentStatus.md +0 -24
  85. package/docs/BookingPlayerPaymentSummary.md +0 -34
  86. package/docs/BookingPriceResponse.md +0 -22
  87. package/docs/BookingSlotInfo.md +0 -30
  88. package/docs/ClubSettingsResponse.md +0 -39
  89. package/docs/CreateClubSettingsRequest.md +0 -34
  90. package/docs/InvoiceStatus.md +0 -22
  91. package/docs/PlayerPrice.md +0 -30
  92. package/docs/QuickReservationClubSport.md +0 -22
  93. package/docs/SportsPublicApi.md +0 -53
  94. package/docs/SubscriptionInfo.md +0 -24
  95. package/docs/UpdateClubSettingsRequest.md +0 -32
  96. package/docs/UserBookingsResponse.md +0 -28
package/docs/UsersApi.md CHANGED
@@ -7,7 +7,9 @@ All URIs are relative to *http://localhost*
7
7
  |[**addFavoriteClub**](#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | |
8
8
  |[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | |
9
9
  |[**addOrganization**](#addorganization) | **POST** /api/users/me/add-organization | |
10
+ |[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | |
10
11
  |[**changePassword**](#changepassword) | **PUT** /api/users/me/password | |
12
+ |[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | |
11
13
  |[**getAllUsers**](#getallusers) | **GET** /api/users | |
12
14
  |[**getBookingDetail**](#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} | |
13
15
  |[**getFavoriteClubs**](#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs | |
@@ -32,6 +34,7 @@ All URIs are relative to *http://localhost*
32
34
  |[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
33
35
  |[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
34
36
  |[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
37
+ |[**setupOffSessionPaymentMethod**](#setupoffsessionpaymentmethod) | **POST** /api/users/setupOffSessionPaymentMethod | |
35
38
  |[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
36
39
  |[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
37
40
  |[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
@@ -186,6 +189,57 @@ const { status, data } = await apiInstance.addOrganization(
186
189
  - **Accept**: application/json
187
190
 
188
191
 
192
+ ### HTTP response details
193
+ | Status code | Description | Response headers |
194
+ |-------------|-------------|------------------|
195
+ |**200** | Ok | - |
196
+
197
+ [[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)
198
+
199
+ # **addPaymentMethodSetup**
200
+ > PaymentMethodSetupResponse addPaymentMethodSetup(addPaymentMethodRequestBody)
201
+
202
+
203
+ ### Example
204
+
205
+ ```typescript
206
+ import {
207
+ UsersApi,
208
+ Configuration,
209
+ AddPaymentMethodRequestBody
210
+ } from '@tennac-booking/sdk';
211
+
212
+ const configuration = new Configuration();
213
+ const apiInstance = new UsersApi(configuration);
214
+
215
+ let addPaymentMethodRequestBody: AddPaymentMethodRequestBody; //
216
+
217
+ const { status, data } = await apiInstance.addPaymentMethodSetup(
218
+ addPaymentMethodRequestBody
219
+ );
220
+ ```
221
+
222
+ ### Parameters
223
+
224
+ |Name | Type | Description | Notes|
225
+ |------------- | ------------- | ------------- | -------------|
226
+ | **addPaymentMethodRequestBody** | **AddPaymentMethodRequestBody**| | |
227
+
228
+
229
+ ### Return type
230
+
231
+ **PaymentMethodSetupResponse**
232
+
233
+ ### Authorization
234
+
235
+ [bearerAuth](../README.md#bearerAuth)
236
+
237
+ ### HTTP request headers
238
+
239
+ - **Content-Type**: application/json
240
+ - **Accept**: application/json
241
+
242
+
189
243
  ### HTTP response details
190
244
  | Status code | Description | Response headers |
191
245
  |-------------|-------------|------------------|
@@ -237,6 +291,57 @@ const { status, data } = await apiInstance.changePassword(
237
291
  - **Accept**: application/json
238
292
 
239
293
 
294
+ ### HTTP response details
295
+ | Status code | Description | Response headers |
296
+ |-------------|-------------|------------------|
297
+ |**200** | Ok | - |
298
+
299
+ [[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)
300
+
301
+ # **confirmPaymentMethodSetup**
302
+ > ConfirmPaymentMethodResponse confirmPaymentMethodSetup(confirmPaymentMethodRequestBody)
303
+
304
+
305
+ ### Example
306
+
307
+ ```typescript
308
+ import {
309
+ UsersApi,
310
+ Configuration,
311
+ ConfirmPaymentMethodRequestBody
312
+ } from '@tennac-booking/sdk';
313
+
314
+ const configuration = new Configuration();
315
+ const apiInstance = new UsersApi(configuration);
316
+
317
+ let confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody; //
318
+
319
+ const { status, data } = await apiInstance.confirmPaymentMethodSetup(
320
+ confirmPaymentMethodRequestBody
321
+ );
322
+ ```
323
+
324
+ ### Parameters
325
+
326
+ |Name | Type | Description | Notes|
327
+ |------------- | ------------- | ------------- | -------------|
328
+ | **confirmPaymentMethodRequestBody** | **ConfirmPaymentMethodRequestBody**| | |
329
+
330
+
331
+ ### Return type
332
+
333
+ **ConfirmPaymentMethodResponse**
334
+
335
+ ### Authorization
336
+
337
+ [bearerAuth](../README.md#bearerAuth)
338
+
339
+ ### HTTP request headers
340
+
341
+ - **Content-Type**: application/json
342
+ - **Accept**: application/json
343
+
344
+
240
345
  ### HTTP response details
241
346
  | Status code | Description | Response headers |
242
347
  |-------------|-------------|------------------|
@@ -288,7 +393,7 @@ This endpoint does not have any parameters.
288
393
  [[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)
289
394
 
290
395
  # **getBookingDetail**
291
- > BookingSummary getBookingDetail()
396
+ > BookingDetailResponse getBookingDetail()
292
397
 
293
398
 
294
399
  ### Example
@@ -318,7 +423,7 @@ const { status, data } = await apiInstance.getBookingDetail(
318
423
 
319
424
  ### Return type
320
425
 
321
- **BookingSummary**
426
+ **BookingDetailResponse**
322
427
 
323
428
  ### Authorization
324
429
 
@@ -820,7 +925,7 @@ This endpoint does not have any parameters.
820
925
  [[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)
821
926
 
822
927
  # **getUserBookings**
823
- > UserBookingsResponse getUserBookings()
928
+ > Array<BookingSummary> getUserBookings()
824
929
 
825
930
 
826
931
  ### Example
@@ -853,7 +958,7 @@ const { status, data } = await apiInstance.getUserBookings(
853
958
 
854
959
  ### Return type
855
960
 
856
- **UserBookingsResponse**
961
+ **Array<BookingSummary>**
857
962
 
858
963
  ### Authorization
859
964
 
@@ -1441,6 +1546,57 @@ No authorization required
1441
1546
  - **Accept**: application/json
1442
1547
 
1443
1548
 
1549
+ ### HTTP response details
1550
+ | Status code | Description | Response headers |
1551
+ |-------------|-------------|------------------|
1552
+ |**200** | Ok | - |
1553
+
1554
+ [[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)
1555
+
1556
+ # **setupOffSessionPaymentMethod**
1557
+ > SetupPaymentMethodResponse setupOffSessionPaymentMethod(setupPaymentMethodRequestBody)
1558
+
1559
+
1560
+ ### Example
1561
+
1562
+ ```typescript
1563
+ import {
1564
+ UsersApi,
1565
+ Configuration,
1566
+ SetupPaymentMethodRequestBody
1567
+ } from '@tennac-booking/sdk';
1568
+
1569
+ const configuration = new Configuration();
1570
+ const apiInstance = new UsersApi(configuration);
1571
+
1572
+ let setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody; //
1573
+
1574
+ const { status, data } = await apiInstance.setupOffSessionPaymentMethod(
1575
+ setupPaymentMethodRequestBody
1576
+ );
1577
+ ```
1578
+
1579
+ ### Parameters
1580
+
1581
+ |Name | Type | Description | Notes|
1582
+ |------------- | ------------- | ------------- | -------------|
1583
+ | **setupPaymentMethodRequestBody** | **SetupPaymentMethodRequestBody**| | |
1584
+
1585
+
1586
+ ### Return type
1587
+
1588
+ **SetupPaymentMethodResponse**
1589
+
1590
+ ### Authorization
1591
+
1592
+ [bearerAuth](../README.md#bearerAuth)
1593
+
1594
+ ### HTTP request headers
1595
+
1596
+ - **Content-Type**: application/json
1597
+ - **Accept**: application/json
1598
+
1599
+
1444
1600
  ### HTTP response details
1445
1601
  | Status code | Description | Response headers |
1446
1602
  |-------------|-------------|------------------|
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.86
7
+ * The version of the OpenAPI document: 1.0.77
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.86",
3
+ "version": "1.0.87",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,28 +0,0 @@
1
- # BookingClubInfo
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **picture** | **string** | | [optional] [default to undefined]
11
- **address** | **string** | | [optional] [default to undefined]
12
- **location** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { BookingClubInfo } from '@tennac-booking/sdk';
18
-
19
- const instance: BookingClubInfo = {
20
- id,
21
- name,
22
- picture,
23
- address,
24
- location,
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,24 +0,0 @@
1
- # BookingPaymentStatus
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **playerId** | **string** | | [default to undefined]
9
- **invoiceId** | **string** | | [optional] [default to undefined]
10
- **invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { BookingPaymentStatus } from '@tennac-booking/sdk';
16
-
17
- const instance: BookingPaymentStatus = {
18
- playerId,
19
- invoiceId,
20
- invoiceStatus,
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,34 +0,0 @@
1
- # BookingPlayerPaymentSummary
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **firstName** | **string** | | [optional] [default to undefined]
10
- **lastName** | **string** | | [optional] [default to undefined]
11
- **profilePicture** | **string** | | [optional] [default to undefined]
12
- **amountToPay** | **number** | | [default to undefined]
13
- **invoiceId** | **string** | | [optional] [default to undefined]
14
- **invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
15
- **isCreator** | **boolean** | | [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { BookingPlayerPaymentSummary } from '@tennac-booking/sdk';
21
-
22
- const instance: BookingPlayerPaymentSummary = {
23
- id,
24
- firstName,
25
- lastName,
26
- profilePicture,
27
- amountToPay,
28
- invoiceId,
29
- invoiceStatus,
30
- isCreator,
31
- };
32
- ```
33
-
34
- [[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
- # BookingPriceResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **creatorNeedsToRegisterPaymentMethod** | **boolean** | | [default to undefined]
9
- **playerPrices** | [**Array&lt;PlayerPrice&gt;**](PlayerPrice.md) | | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { BookingPriceResponse } from '@tennac-booking/sdk';
15
-
16
- const instance: BookingPriceResponse = {
17
- creatorNeedsToRegisterPaymentMethod,
18
- playerPrices,
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,30 +0,0 @@
1
- # BookingSlotInfo
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
9
- **startDate** | **string** | | [optional] [default to undefined]
10
- **endDate** | **string** | | [optional] [default to undefined]
11
- **durationMinutes** | **number** | | [optional] [default to undefined]
12
- **court** | [**BookingCourtInfo**](BookingCourtInfo.md) | | [optional] [default to undefined]
13
- **sport** | [**BookingSportInfo**](BookingSportInfo.md) | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { BookingSlotInfo } from '@tennac-booking/sdk';
19
-
20
- const instance: BookingSlotInfo = {
21
- id,
22
- startDate,
23
- endDate,
24
- durationMinutes,
25
- court,
26
- sport,
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,39 +0,0 @@
1
- # ClubSettingsResponse
2
-
3
- Types TSOA pour les paramètres du club
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **_id** | **string** | ID unique des paramètres | [default to undefined]
10
- **clubId** | **string** | ID du club | [default to undefined]
11
- **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [default to undefined]
12
- **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
13
- **cancellationLimitHours** | **number** | Limite d\&#39;annulation en heures | [default to undefined]
14
- **availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [default to undefined]
15
- **sponsors** | **Array&lt;string&gt;** | Liste des sponsors | [default to undefined]
16
- **timeBeforePayment** | **number** | Temps avant paiement en minutes | [default to undefined]
17
- **createdAt** | **string** | Date de création | [default to undefined]
18
- **updatedAt** | **string** | Date de mise à jour | [default to undefined]
19
-
20
- ## Example
21
-
22
- ```typescript
23
- import { ClubSettingsResponse } from '@tennac-booking/sdk';
24
-
25
- const instance: ClubSettingsResponse = {
26
- _id,
27
- clubId,
28
- maxWeeklyBookings,
29
- sameTimeBookingsLimit,
30
- cancellationLimitHours,
31
- availabilityPeriodInDays,
32
- sponsors,
33
- timeBeforePayment,
34
- createdAt,
35
- updatedAt,
36
- };
37
- ```
38
-
39
- [[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,34 +0,0 @@
1
- # CreateClubSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | ID du club | [default to undefined]
9
- **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
10
- **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
11
- **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
12
- **cancellationLimitHours** | **number** | Limite d\&#39;annulation en heures | [optional] [default to undefined]
13
- **availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [optional] [default to undefined]
14
- **sponsors** | **Array&lt;string&gt;** | Liste des sponsors | [optional] [default to undefined]
15
- **timeBeforePayment** | **number** | Temps avant paiement en minutes | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { CreateClubSettingsRequest } from '@tennac-booking/sdk';
21
-
22
- const instance: CreateClubSettingsRequest = {
23
- clubId,
24
- maxWeeklyBookings,
25
- allowMultipleBookingsAtTheSameTime,
26
- sameTimeBookingsLimit,
27
- cancellationLimitHours,
28
- availabilityPeriodInDays,
29
- sponsors,
30
- timeBeforePayment,
31
- };
32
- ```
33
-
34
- [[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
- # InvoiceStatus
2
-
3
-
4
- ## Enum
5
-
6
- * `SetupPending` (value: `'setup_pending'`)
7
-
8
- * `SetupSuccess` (value: `'setup_success'`)
9
-
10
- * `Pending` (value: `'pending'`)
11
-
12
- * `Paid` (value: `'paid'`)
13
-
14
- * `Failed` (value: `'failed'`)
15
-
16
- * `Authorized` (value: `'authorized'`)
17
-
18
- * `Canceled` (value: `'canceled'`)
19
-
20
- * `Expired` (value: `'expired'`)
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,30 +0,0 @@
1
- # PlayerPrice
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **playerId** | **string** | | [default to undefined]
9
- **firstName** | **string** | | [optional] [default to undefined]
10
- **lastName** | **string** | | [optional] [default to undefined]
11
- **subscriptions** | [**Array&lt;SubscriptionInfo&gt;**](SubscriptionInfo.md) | | [default to undefined]
12
- **creditAvailablesInCents** | **number** | | [optional] [default to undefined]
13
- **price** | **number** | | [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { PlayerPrice } from '@tennac-booking/sdk';
19
-
20
- const instance: PlayerPrice = {
21
- playerId,
22
- firstName,
23
- lastName,
24
- subscriptions,
25
- creditAvailablesInCents,
26
- price,
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
- # QuickReservationClubSport
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | ID du sport | [default to undefined]
9
- **key** | **string** | Clé du sport | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { QuickReservationClubSport } from '@tennac-booking/sdk';
15
-
16
- const instance: QuickReservationClubSport = {
17
- id,
18
- key,
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,53 +0,0 @@
1
- # SportsPublicApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**getVerifiedSports**](#getverifiedsports) | **GET** /api/sports/verified | |
8
-
9
- # **getVerifiedSports**
10
- > Array<SportResponse> getVerifiedSports()
11
-
12
- Récupère tous les sports vérifiés, accessibles publiquement
13
-
14
- ### Example
15
-
16
- ```typescript
17
- import {
18
- SportsPublicApi,
19
- Configuration
20
- } from '@tennac-booking/sdk';
21
-
22
- const configuration = new Configuration();
23
- const apiInstance = new SportsPublicApi(configuration);
24
-
25
- const { status, data } = await apiInstance.getVerifiedSports();
26
- ```
27
-
28
- ### Parameters
29
- This endpoint does not have any parameters.
30
-
31
-
32
- ### Return type
33
-
34
- **Array<SportResponse>**
35
-
36
- ### Authorization
37
-
38
- No authorization required
39
-
40
- ### HTTP request headers
41
-
42
- - **Content-Type**: Not defined
43
- - **Accept**: application/json
44
-
45
-
46
- ### HTTP response details
47
- | Status code | Description | Response headers |
48
- |-------------|-------------|------------------|
49
- |**200** | Sports vérifiés | - |
50
- |**500** | Server Error | - |
51
-
52
- [[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)
53
-
@@ -1,24 +0,0 @@
1
- # SubscriptionInfo
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **subscriptionPlanName** | **string** | | [optional] [default to undefined]
9
- **subscriptionDescription** | **string** | | [optional] [default to undefined]
10
- **reducedAmountInCents** | **number** | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { SubscriptionInfo } from '@tennac-booking/sdk';
16
-
17
- const instance: SubscriptionInfo = {
18
- subscriptionPlanName,
19
- subscriptionDescription,
20
- reducedAmountInCents,
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,32 +0,0 @@
1
- # UpdateClubSettingsRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
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\&#39;annulation en heures | [optional] [default to undefined]
12
- **availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [optional] [default to undefined]
13
- **sponsors** | **Array&lt;string&gt;** | Liste des sponsors | [optional] [default to undefined]
14
- **timeBeforePayment** | **number** | Temps avant paiement en minutes | [optional] [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { UpdateClubSettingsRequest } from '@tennac-booking/sdk';
20
-
21
- const instance: UpdateClubSettingsRequest = {
22
- maxWeeklyBookings,
23
- allowMultipleBookingsAtTheSameTime,
24
- sameTimeBookingsLimit,
25
- cancellationLimitHours,
26
- availabilityPeriodInDays,
27
- sponsors,
28
- timeBeforePayment,
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,28 +0,0 @@
1
- # UserBookingsResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **total** | **number** | | [default to undefined]
9
- **limit** | **number** | | [default to undefined]
10
- **skip** | **number** | | [default to undefined]
11
- **hasMore** | **boolean** | | [default to undefined]
12
- **bookings** | [**Array&lt;BookingSummary&gt;**](BookingSummary.md) | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { UserBookingsResponse } from '@tennac-booking/sdk';
18
-
19
- const instance: UserBookingsResponse = {
20
- total,
21
- limit,
22
- skip,
23
- hasMore,
24
- bookings,
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)