@tennac-booking/sdk 1.0.82 → 1.0.84

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 (72) hide show
  1. package/.openapi-generator/FILES +13 -17
  2. package/README.md +16 -25
  3. package/api.ts +1054 -1457
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +831 -1086
  8. package/dist/api.js +189 -403
  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 +831 -1086
  16. package/dist/esm/api.js +182 -400
  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/BookingClubInfo.md +28 -0
  28. package/docs/{SetupPaymentMethodRequestBody.md → BookingCourtInfo.md} +7 -5
  29. package/docs/BookingInfo.md +2 -2
  30. package/docs/BookingPaymentStatus.md +24 -0
  31. package/docs/BookingPlayerPaymentSummary.md +34 -0
  32. package/docs/BookingPopulated.md +2 -0
  33. package/docs/{ConfirmPaymentMethodRequestBody.md → BookingPriceBody.md} +7 -5
  34. package/docs/BookingResponse.md +2 -0
  35. package/docs/BookingSlotInfo.md +30 -0
  36. package/docs/{AddPaymentMethodRequestBody.md → BookingSportInfo.md} +7 -5
  37. package/docs/BookingSummary.md +54 -2
  38. package/docs/BookingsApi.md +55 -0
  39. package/docs/ClubAnalyticsStaffApi.md +0 -167
  40. package/docs/ClubResponse.md +8 -0
  41. package/docs/ClubSettingsResponse.md +0 -2
  42. package/docs/CreateBookingRequest.md +2 -2
  43. package/docs/CreateEventRequest.md +0 -2
  44. package/docs/IUserAttributes.md +2 -12
  45. package/docs/InvoiceStatus.md +22 -0
  46. package/docs/PartialClubResponse.md +8 -0
  47. package/docs/PlayerPrice.md +30 -0
  48. package/docs/{ConfirmPaymentMethodResponse.md → QuickReservationClubSport.md} +7 -7
  49. package/docs/QuickReservationClubSummary.md +4 -0
  50. package/docs/SlotInfo.md +2 -2
  51. package/docs/SportsPublicApi.md +53 -0
  52. package/docs/StaffUserProfileResponse.md +2 -12
  53. package/docs/SubscribeRequestBody.md +2 -0
  54. package/docs/SubscriptionInfo.md +24 -0
  55. package/docs/UserBookingsResponse.md +28 -0
  56. package/docs/UserProfileResponse.md +4 -12
  57. package/docs/UsersApi.md +4 -160
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
  60. package/docs/BookingDetailResponse.md +0 -46
  61. package/docs/ClubPlayerBookingItem.md +0 -36
  62. package/docs/ClubPlayerBookingsResponse.md +0 -22
  63. package/docs/ClubPlayerDetailResponse.md +0 -46
  64. package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +0 -22
  65. package/docs/ClubPlayerStatisticsResponse.md +0 -42
  66. package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +0 -22
  67. package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +0 -23
  68. package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +0 -25
  69. package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +0 -26
  70. package/docs/ClubPlayerSubscriptionSummary.md +0 -28
  71. package/docs/PaymentMethodSetupResponse.md +0 -24
  72. package/docs/SetupPaymentMethodResponse.md +0 -24
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.77
5
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.77
7
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.77
5
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.77
7
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.77
5
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.77
7
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.77
5
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.77
7
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.77
5
+ * The version of the OpenAPI document: 1.0.75
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
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.77
8
+ * The version of the OpenAPI document: 1.0.75
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,28 @@
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,19 +1,21 @@
1
- # SetupPaymentMethodRequestBody
1
+ # BookingCourtInfo
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [default to undefined]
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { SetupPaymentMethodRequestBody } from '@tennac-booking/sdk';
14
+ import { BookingCourtInfo } from '@tennac-booking/sdk';
14
15
 
15
- const instance: SetupPaymentMethodRequestBody = {
16
- clubId,
16
+ const instance: BookingCourtInfo = {
17
+ id,
18
+ name,
17
19
  };
18
20
  ```
19
21
 
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **playersIds** | **Array<string>** | Liste des IDs des joueurs | [default to undefined]
12
12
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
13
13
  **totalPrice** | **number** | Prix total en euros | [default to undefined]
14
- **slotId** | **string** | ID du créneau | [default to undefined]
14
+ **slotIds** | **Array<string>** | ID du créneau | [default to undefined]
15
15
  **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
16
16
  **createdAt** | **string** | Date de création | [default to undefined]
17
17
  **updatedAt** | **string** | Date de mise à jour | [default to undefined]
@@ -34,7 +34,7 @@ const instance: BookingInfo = {
34
34
  playersIds,
35
35
  status,
36
36
  totalPrice,
37
- slotId,
37
+ slotIds,
38
38
  isCreatorPayingAll,
39
39
  createdAt,
40
40
  updatedAt,
@@ -0,0 +1,24 @@
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)
@@ -0,0 +1,34 @@
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)
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **noShowChargeAmount** | **number** | | [optional] [default to undefined]
15
15
  **totalPrice** | **number** | | [default to undefined]
16
16
  **isCreatorPayingAll** | **boolean** | | [default to undefined]
17
+ **playersIds** | **Array<string>** | | [default to undefined]
17
18
  **history** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [default to undefined]
18
19
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
19
20
  **cancelledByManager** | **boolean** | | [optional] [default to undefined]
@@ -35,6 +36,7 @@ const instance: BookingPopulated = {
35
36
  noShowChargeAmount,
36
37
  totalPrice,
37
38
  isCreatorPayingAll,
39
+ playersIds,
38
40
  history,
39
41
  status,
40
42
  cancelledByManager,
@@ -1,19 +1,21 @@
1
- # ConfirmPaymentMethodRequestBody
1
+ # BookingPriceBody
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **setupIntentId** | **string** | | [default to undefined]
8
+ **slotIds** | **Array<string>** | | [default to undefined]
9
+ **players** | **Array<string>** | | [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { ConfirmPaymentMethodRequestBody } from '@tennac-booking/sdk';
14
+ import { BookingPriceBody } from '@tennac-booking/sdk';
14
15
 
15
- const instance: ConfirmPaymentMethodRequestBody = {
16
- setupIntentId,
16
+ const instance: BookingPriceBody = {
17
+ slotIds,
18
+ players,
17
19
  };
18
20
  ```
19
21
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **invoiceUrl** | **string** | URL de la facture (pour paiement en ligne) | [optional] [default to undefined]
10
10
  **paymentLinks** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
11
11
  **onsitePayments** | [**Array<BookingResponseOnsitePaymentsInner>**](BookingResponseOnsitePaymentsInner.md) | Paiements sur place requis | [optional] [default to undefined]
12
+ **setupNoShowPaymentUrl** | **string** | | [optional] [default to undefined]
12
13
  **message** | **string** | Message de confirmation | [default to undefined]
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const instance: BookingResponse = {
21
22
  invoiceUrl,
22
23
  paymentLinks,
23
24
  onsitePayments,
25
+ setupNoShowPaymentUrl,
24
26
  message,
25
27
  };
26
28
  ```
@@ -0,0 +1,30 @@
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,19 +1,21 @@
1
- # AddPaymentMethodRequestBody
1
+ # BookingSportInfo
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **paymentMethodId** | **string** | | [default to undefined]
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { AddPaymentMethodRequestBody } from '@tennac-booking/sdk';
14
+ import { BookingSportInfo } from '@tennac-booking/sdk';
14
15
 
15
- const instance: AddPaymentMethodRequestBody = {
16
- paymentMethodId,
16
+ const instance: BookingSportInfo = {
17
+ id,
18
+ key,
17
19
  };
18
20
  ```
19
21
 
@@ -6,18 +6,44 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
+ **clubId** | **string** | | [default to undefined]
10
+ **userId** | **string** | | [default to undefined]
11
+ **playersIds** | **Array<string>** | | [default to undefined]
12
+ **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
13
+ **paymentByPlayersStatus** | [**Array<BookingPaymentStatus>**](BookingPaymentStatus.md) | | [default to undefined]
14
+ **isCreatorPayingAll** | **boolean** | | [default to undefined]
15
+ **totalPrice** | **number** | | [default to undefined]
16
+ **slotIds** | **Array<string>** | | [default to undefined]
17
+ **isPublic** | **boolean** | | [default to undefined]
18
+ **creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
19
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
20
+ **noShowChargeAmount** | **number** | | [optional] [default to undefined]
21
+ **noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
22
+ **noShowChargeIntentId** | **string** | | [optional] [default to undefined]
23
+ **cancellationReason** | **string** | | [optional] [default to undefined]
24
+ **cancelledBy** | **string** | | [optional] [default to undefined]
25
+ **cancelledAt** | **string** | | [optional] [default to undefined]
26
+ **cancelledByManager** | **boolean** | | [optional] [default to undefined]
27
+ **createdAt** | **string** | | [default to undefined]
28
+ **updatedAt** | **string** | | [default to undefined]
29
+ **playersCount** | **number** | | [optional] [default to undefined]
9
30
  **clubPicture** | **string** | | [optional] [default to undefined]
10
31
  **courtName** | **string** | | [optional] [default to undefined]
11
32
  **sportName** | **string** | | [optional] [default to undefined]
12
33
  **startDate** | **string** | | [optional] [default to undefined]
13
- **myPaymentStatus** | **string** | | [optional] [default to undefined]
34
+ **myPaymentStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
14
35
  **bookingStatus** | **string** | | [optional] [default to undefined]
15
36
  **playersName** | **Array<string>** | | [default to undefined]
16
37
  **myAmountToPay** | **number** | | [default to undefined]
17
38
  **totalAmount** | **number** | | [default to undefined]
18
39
  **timeBeforeCancel** | **string** | | [optional] [default to undefined]
19
40
  **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
20
- **bookingHistory** | [**BookingHistoryPopulated**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
41
+ **bookingHistory** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
42
+ **club** | [**BookingClubInfo**](BookingClubInfo.md) | | [optional] [default to undefined]
43
+ **slots** | [**Array<BookingSlotInfo>**](BookingSlotInfo.md) | | [default to undefined]
44
+ **court** | [**BookingCourtInfo**](BookingCourtInfo.md) | | [optional] [default to undefined]
45
+ **sport** | [**BookingSportInfo**](BookingSportInfo.md) | | [optional] [default to undefined]
46
+ **players** | [**Array<BookingPlayerPaymentSummary>**](BookingPlayerPaymentSummary.md) | | [default to undefined]
21
47
 
22
48
  ## Example
23
49
 
@@ -26,6 +52,27 @@ import { BookingSummary } from '@tennac-booking/sdk';
26
52
 
27
53
  const instance: BookingSummary = {
28
54
  id,
55
+ clubId,
56
+ userId,
57
+ playersIds,
58
+ status,
59
+ paymentByPlayersStatus,
60
+ isCreatorPayingAll,
61
+ totalPrice,
62
+ slotIds,
63
+ isPublic,
64
+ creatorPaymentMethodId,
65
+ paymentMethodSetupCompleted,
66
+ noShowChargeAmount,
67
+ noShowChargeApplied,
68
+ noShowChargeIntentId,
69
+ cancellationReason,
70
+ cancelledBy,
71
+ cancelledAt,
72
+ cancelledByManager,
73
+ createdAt,
74
+ updatedAt,
75
+ playersCount,
29
76
  clubPicture,
30
77
  courtName,
31
78
  sportName,
@@ -38,6 +85,11 @@ const instance: BookingSummary = {
38
85
  timeBeforeCancel,
39
86
  clubAddress,
40
87
  bookingHistory,
88
+ club,
89
+ slots,
90
+ court,
91
+ sport,
92
+ players,
41
93
  };
42
94
  ```
43
95
 
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getBookingHistory**](#getbookinghistory) | **GET** /api/bookings/history/{bookingId} | |
8
+ |[**getBookingPrice**](#getbookingprice) | **POST** /api/bookings/booking-price | |
8
9
  |[**getQuickReservationSlots**](#getquickreservationslots) | **GET** /api/bookings/quick-reservations | |
9
10
 
10
11
  # **getBookingHistory**
@@ -58,6 +59,57 @@ const { status, data } = await apiInstance.getBookingHistory(
58
59
 
59
60
  [[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)
60
61
 
62
+ # **getBookingPrice**
63
+ > Array<PlayerPrice> getBookingPrice(bookingPriceBody)
64
+
65
+
66
+ ### Example
67
+
68
+ ```typescript
69
+ import {
70
+ BookingsApi,
71
+ Configuration,
72
+ BookingPriceBody
73
+ } from '@tennac-booking/sdk';
74
+
75
+ const configuration = new Configuration();
76
+ const apiInstance = new BookingsApi(configuration);
77
+
78
+ let bookingPriceBody: BookingPriceBody; //
79
+
80
+ const { status, data } = await apiInstance.getBookingPrice(
81
+ bookingPriceBody
82
+ );
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ |Name | Type | Description | Notes|
88
+ |------------- | ------------- | ------------- | -------------|
89
+ | **bookingPriceBody** | **BookingPriceBody**| | |
90
+
91
+
92
+ ### Return type
93
+
94
+ **Array<PlayerPrice>**
95
+
96
+ ### Authorization
97
+
98
+ [bearerAuth](../README.md#bearerAuth)
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: application/json
103
+ - **Accept**: application/json
104
+
105
+
106
+ ### HTTP response details
107
+ | Status code | Description | Response headers |
108
+ |-------------|-------------|------------------|
109
+ |**200** | Réservations journalières récupérées | - |
110
+
111
+ [[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)
112
+
61
113
  # **getQuickReservationSlots**
62
114
  > QuickReservationResponse getQuickReservationSlots()
63
115
 
@@ -82,6 +134,7 @@ let sportId: string; // (optional) (default to undefined)
82
134
  let startTime: string; // (optional) (default to undefined)
83
135
  let priceMax: number; // (optional) (default to undefined)
84
136
  let courtTypes: string; // (optional) (default to undefined)
137
+ let surfaceTypes: string; // (optional) (default to undefined)
85
138
  let limitPerClub: number; // (optional) (default to undefined)
86
139
  let maxClubs: number; // (optional) (default to undefined)
87
140
 
@@ -94,6 +147,7 @@ const { status, data } = await apiInstance.getQuickReservationSlots(
94
147
  startTime,
95
148
  priceMax,
96
149
  courtTypes,
150
+ surfaceTypes,
97
151
  limitPerClub,
98
152
  maxClubs
99
153
  );
@@ -111,6 +165,7 @@ const { status, data } = await apiInstance.getQuickReservationSlots(
111
165
  | **startTime** | [**string**] | | (optional) defaults to undefined|
112
166
  | **priceMax** | [**number**] | | (optional) defaults to undefined|
113
167
  | **courtTypes** | [**string**] | | (optional) defaults to undefined|
168
+ | **surfaceTypes** | [**string**] | | (optional) defaults to undefined|
114
169
  | **limitPerClub** | [**number**] | | (optional) defaults to undefined|
115
170
  | **maxClubs** | [**number**] | | (optional) defaults to undefined|
116
171