@tennac-booking/sdk 1.0.103 → 1.0.105

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.
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.100
7
+ * The version of the OpenAPI document: 1.0.104
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.100
5
+ * The version of the OpenAPI document: 1.0.104
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.100
7
+ * The version of the OpenAPI document: 1.0.104
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.100
5
+ * The version of the OpenAPI document: 1.0.104
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.100
8
+ * The version of the OpenAPI document: 1.0.104
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -220,7 +220,7 @@ const { status, data } = await apiInstance.getBookingPaymentStatus(
220
220
  [[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)
221
221
 
222
222
  # **getDailyBookings**
223
- > Array<BookingPopulated> getDailyBookings()
223
+ > BookingsWithTimeBoundsResponse getDailyBookings()
224
224
 
225
225
  Obtenir les réservations journalières
226
226
 
@@ -251,7 +251,7 @@ const { status, data } = await apiInstance.getDailyBookings(
251
251
 
252
252
  ### Return type
253
253
 
254
- **Array<BookingPopulated>**
254
+ **BookingsWithTimeBoundsResponse**
255
255
 
256
256
  ### Authorization
257
257
 
@@ -271,7 +271,7 @@ const { status, data } = await apiInstance.getDailyBookings(
271
271
  [[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)
272
272
 
273
273
  # **getWeeklyBookings**
274
- > Array<BookingPopulated> getWeeklyBookings()
274
+ > BookingsWithTimeBoundsResponse getWeeklyBookings()
275
275
 
276
276
  Obtenir les réservations hebdomadaires
277
277
 
@@ -302,7 +302,7 @@ const { status, data } = await apiInstance.getWeeklyBookings(
302
302
 
303
303
  ### Return type
304
304
 
305
- **Array<BookingPopulated>**
305
+ **BookingsWithTimeBoundsResponse**
306
306
 
307
307
  ### Authorization
308
308
 
@@ -0,0 +1,22 @@
1
+ # BookingsWithTimeBoundsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **bookings** | [**Array&lt;BookingPopulated&gt;**](BookingPopulated.md) | | [default to undefined]
9
+ **timeBounds** | [**TimeBounds**](TimeBounds.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingsWithTimeBoundsResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingsWithTimeBoundsResponse = {
17
+ bookings,
18
+ timeBounds,
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)
@@ -12,6 +12,9 @@ Name | Type | Description | Notes
12
12
  **email** | **string** | Email du club | [optional] [default to undefined]
13
13
  **phone** | **string** | Téléphone du club | [optional] [default to undefined]
14
14
  **picture** | **string** | URL de l\&#39;image du club | [optional] [default to undefined]
15
+ **bannerPictures** | **Array&lt;string&gt;** | | [optional] [default to undefined]
16
+ **galleryPictures** | **Array&lt;string&gt;** | | [optional] [default to undefined]
17
+ **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
15
18
  **location** | [**ClubResponseLocation**](ClubResponseLocation.md) | | [optional] [default to undefined]
16
19
  **isActive** | **boolean** | Statut d\&#39;activation du club | [default to undefined]
17
20
  **paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
@@ -40,6 +43,9 @@ const instance: ClubResponse = {
40
43
  email,
41
44
  phone,
42
45
  picture,
46
+ bannerPictures,
47
+ galleryPictures,
48
+ tags,
43
49
  location,
44
50
  isActive,
45
51
  paymentFeature,
@@ -20,6 +20,7 @@ All URIs are relative to *http://localhost*
20
20
  |[**updateActuality**](#updateactuality) | **PUT** /api/clubs/actualities/{actualityId} | |
21
21
  |[**updateClub**](#updateclub) | **PUT** /api/clubs | |
22
22
  |[**updateClubInfos**](#updateclubinfos) | **PUT** /api/clubs/infos | |
23
+ |[**updateClubMember**](#updateclubmember) | **PATCH** /api/clubs/members/{userId} | |
23
24
  |[**updateClubPresentationSettings**](#updateclubpresentationsettings) | **PUT** /api/clubs/settings/presentation | |
24
25
  |[**updateCourt**](#updatecourt) | **PUT** /api/clubs/courts/{courtId} | |
25
26
  |[**updateSubscriptionPlanForClub**](#updatesubscriptionplanforclub) | **PUT** /api/clubs/subscription-plans/{priceId} | |
@@ -843,6 +844,65 @@ const { status, data } = await apiInstance.updateClubInfos(
843
844
 
844
845
  [[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)
845
846
 
847
+ # **updateClubMember**
848
+ > AddClubMember201Response updateClubMember(updateClubMemberRequest)
849
+
850
+ Met à jour un membre d\'un club
851
+
852
+ ### Example
853
+
854
+ ```typescript
855
+ import {
856
+ ClubsManagerApi,
857
+ Configuration,
858
+ UpdateClubMemberRequest
859
+ } from '@tennac-booking/sdk';
860
+
861
+ const configuration = new Configuration();
862
+ const apiInstance = new ClubsManagerApi(configuration);
863
+
864
+ let userId: string; // (default to undefined)
865
+ let updateClubMemberRequest: UpdateClubMemberRequest; //
866
+
867
+ const { status, data } = await apiInstance.updateClubMember(
868
+ userId,
869
+ updateClubMemberRequest
870
+ );
871
+ ```
872
+
873
+ ### Parameters
874
+
875
+ |Name | Type | Description | Notes|
876
+ |------------- | ------------- | ------------- | -------------|
877
+ | **updateClubMemberRequest** | **UpdateClubMemberRequest**| | |
878
+ | **userId** | [**string**] | | defaults to undefined|
879
+
880
+
881
+ ### Return type
882
+
883
+ **AddClubMember201Response**
884
+
885
+ ### Authorization
886
+
887
+ [bearerAuth](../README.md#bearerAuth)
888
+
889
+ ### HTTP request headers
890
+
891
+ - **Content-Type**: application/json
892
+ - **Accept**: application/json
893
+
894
+
895
+ ### HTTP response details
896
+ | Status code | Description | Response headers |
897
+ |-------------|-------------|------------------|
898
+ |**200** | Membre mis à jour | - |
899
+ |**400** | Bad Request | - |
900
+ |**403** | Forbidden | - |
901
+ |**404** | Membre introuvable | - |
902
+ |**500** | Server Error | - |
903
+
904
+ [[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)
905
+
846
906
  # **updateClubPresentationSettings**
847
907
  > ClubPresentationSettingsResponse updateClubPresentationSettings(updateClubPresentationSettingsRequest)
848
908
 
@@ -13,6 +13,9 @@ Name | Type | Description | Notes
13
13
  **email** | **string** | Email du club | [optional] [default to undefined]
14
14
  **phone** | **string** | Téléphone du club | [optional] [default to undefined]
15
15
  **picture** | **string** | URL de l\&#39;image du club | [optional] [default to undefined]
16
+ **bannerPictures** | **Array&lt;string&gt;** | | [optional] [default to undefined]
17
+ **galleryPictures** | **Array&lt;string&gt;** | | [optional] [default to undefined]
18
+ **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
16
19
  **location** | [**ClubResponseLocation**](ClubResponseLocation.md) | | [optional] [default to undefined]
17
20
  **isActive** | **boolean** | Statut d\&#39;activation du club | [optional] [default to undefined]
18
21
  **paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
@@ -41,6 +44,9 @@ const instance: PartialClubResponse = {
41
44
  email,
42
45
  phone,
43
46
  picture,
47
+ bannerPictures,
48
+ galleryPictures,
49
+ tags,
44
50
  location,
45
51
  isActive,
46
52
  paymentFeature,
@@ -0,0 +1,22 @@
1
+ # TimeBounds
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **start** | **string** | Heure de début au format HH:mm | [default to undefined]
9
+ **end** | **string** | Heure de fin au format HH:mm | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { TimeBounds } from '@tennac-booking/sdk';
15
+
16
+ const instance: TimeBounds = {
17
+ start,
18
+ end,
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)
@@ -0,0 +1,22 @@
1
+ # UpdateClubMemberRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **role** | **string** | Rôle du membre dans le club | [optional] [default to undefined]
9
+ **rights** | **Array&lt;string&gt;** | Droits du membre dans le club | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateClubMemberRequest } from '@tennac-booking/sdk';
15
+
16
+ const instance: UpdateClubMemberRequest = {
17
+ role,
18
+ rights,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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.100
7
+ * The version of the OpenAPI document: 1.0.104
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.103",
3
+ "version": "1.0.105",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {