@tennac-booking/sdk 1.0.194 → 1.0.195

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.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.185
5
+ * The version of the OpenAPI document: 1.0.195
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.185
7
+ * The version of the OpenAPI document: 1.0.195
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.185
5
+ * The version of the OpenAPI document: 1.0.195
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.185
7
+ * The version of the OpenAPI document: 1.0.195
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.185
5
+ * The version of the OpenAPI document: 1.0.195
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.185
7
+ * The version of the OpenAPI document: 1.0.195
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.185
5
+ * The version of the OpenAPI document: 1.0.195
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.185
7
+ * The version of the OpenAPI document: 1.0.195
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.185
5
+ * The version of the OpenAPI document: 1.0.195
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.185
8
+ * The version of the OpenAPI document: 1.0.195
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -52,6 +52,8 @@ Name | Type | Description | Notes
52
52
  **court** | [**BookingCourtInfo**](BookingCourtInfo.md) | | [optional] [default to undefined]
53
53
  **sport** | [**BookingSportInfo**](BookingSportInfo.md) | | [optional] [default to undefined]
54
54
  **players** | [**Array<BookingPlayerPaymentSummary>**](BookingPlayerPaymentSummary.md) | | [default to undefined]
55
+ **userParticipationStatus** | **string** | | [optional] [default to undefined]
56
+ **waitListPosition** | **number** | | [optional] [default to undefined]
55
57
 
56
58
  ## Example
57
59
 
@@ -106,6 +108,8 @@ const instance: BookingSummary = {
106
108
  court,
107
109
  sport,
108
110
  players,
111
+ userParticipationStatus,
112
+ waitListPosition,
109
113
  };
110
114
  ```
111
115
 
@@ -20,7 +20,6 @@ Name | Type | Description | Notes
20
20
  **isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
21
21
  **sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
22
22
  **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
23
- **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées (même créneau) | [optional] [default to undefined]
24
23
  **maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
25
24
  **cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
26
25
  **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
@@ -48,7 +47,6 @@ const instance: ClubResponse = {
48
47
  isNoShowEnabled,
49
48
  sports,
50
49
  allowMultipleBookingsAtTheSameTime,
51
- sameTimeBookingsLimit,
52
50
  maxSlotsPerBooking,
53
51
  cancellationLimitHours,
54
52
  maxWeeklyBookings,
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **limitSetupDate** | **string** | | [optional] [default to undefined]
16
16
  **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
17
  **waitListPosition** | **number** | Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement | [optional] [default to undefined]
18
+ **userParticipationStatus** | **string** | Statut de participation de l\'utilisateur pour cet event booking | [optional] [default to undefined]
18
19
  **createdAt** | **string** | | [default to undefined]
19
20
  **updatedAt** | **string** | | [default to undefined]
20
21
 
@@ -34,6 +35,7 @@ const instance: EventBookingDetailSummary = {
34
35
  limitSetupDate,
35
36
  limitCancellationDate,
36
37
  waitListPosition,
38
+ userParticipationStatus,
37
39
  createdAt,
38
40
  updatedAt,
39
41
  };
package/docs/JobsApi.md CHANGED
@@ -11,11 +11,12 @@ All URIs are relative to *http://localhost*
11
11
  |[**health**](#health) | **GET** /api/jobs/health | Health check pour les jobs|
12
12
  |[**maintainSlots**](#maintainslots) | **GET** /api/jobs/maintain-slots | Génère les créneaux futurs et nettoie les anciens|
13
13
  |[**releaseOldBookings**](#releaseoldbookings) | **GET** /api/jobs/release-old-bookings | Libère les anciennes réservations terminées|
14
+ |[**sendBookingReminders**](#sendbookingreminders) | **GET** /api/jobs/send-booking-reminders | Envoie des emails de rappel 24h avant les réservations et événements|
14
15
 
15
16
  # **captureExpiringAuthorizations**
16
17
  > JobResult captureExpiringAuthorizations()
17
18
 
18
- Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
19
+ Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
19
20
 
20
21
  ### Example
21
22
 
@@ -59,7 +60,7 @@ No authorization required
59
60
  # **capturePastReservations**
60
61
  > JobResult capturePastReservations()
61
62
 
62
- Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
63
+ Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
63
64
 
64
65
  ### Example
65
66
 
@@ -103,7 +104,7 @@ No authorization required
103
104
  # **expireBookingWaitingPayments**
104
105
  > JobResult expireBookingWaitingPayments()
105
106
 
106
- Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
107
+ Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
107
108
 
108
109
  ### Example
109
110
 
@@ -147,7 +148,7 @@ No authorization required
147
148
  # **expireWaitlistPayments**
148
149
  > JobResult expireWaitlistPayments()
149
150
 
150
- Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
151
+ Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
151
152
 
152
153
  ### Example
153
154
 
@@ -235,7 +236,7 @@ No authorization required
235
236
  # **maintainSlots**
236
237
  > JobResult maintainSlots()
237
238
 
238
- Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
239
+ Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
239
240
 
240
241
  ### Example
241
242
 
@@ -279,7 +280,7 @@ No authorization required
279
280
  # **releaseOldBookings**
280
281
  > JobResult releaseOldBookings()
281
282
 
282
- Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
283
+ Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
283
284
 
284
285
  ### Example
285
286
 
@@ -320,3 +321,47 @@ No authorization required
320
321
 
321
322
  [[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)
322
323
 
324
+ # **sendBookingReminders**
325
+ > JobResult sendBookingReminders()
326
+
327
+ Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
328
+
329
+ ### Example
330
+
331
+ ```typescript
332
+ import {
333
+ JobsApi,
334
+ Configuration
335
+ } from '@tennac-booking/sdk';
336
+
337
+ const configuration = new Configuration();
338
+ const apiInstance = new JobsApi(configuration);
339
+
340
+ const { status, data } = await apiInstance.sendBookingReminders();
341
+ ```
342
+
343
+ ### Parameters
344
+ This endpoint does not have any parameters.
345
+
346
+
347
+ ### Return type
348
+
349
+ **JobResult**
350
+
351
+ ### Authorization
352
+
353
+ No authorization required
354
+
355
+ ### HTTP request headers
356
+
357
+ - **Content-Type**: Not defined
358
+ - **Accept**: application/json
359
+
360
+
361
+ ### HTTP response details
362
+ | Status code | Description | Response headers |
363
+ |-------------|-------------|------------------|
364
+ |**200** | Job executed successfully | - |
365
+
366
+ [[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)
367
+
@@ -6,7 +6,6 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **remainingBookings** | **number** | | [default to undefined]
9
- **sameTimeBookingsLimit** | **number** | | [optional] [default to undefined]
10
9
  **availableCredit** | **number** | | [default to undefined]
11
10
  **subscriptionPlans** | **Array<any>** | | [optional] [default to undefined]
12
11
 
@@ -17,7 +16,6 @@ import { MyClubInfosResponse } from '@tennac-booking/sdk';
17
16
 
18
17
  const instance: MyClubInfosResponse = {
19
18
  remainingBookings,
20
- sameTimeBookingsLimit,
21
19
  availableCredit,
22
20
  subscriptionPlans,
23
21
  };
@@ -0,0 +1,26 @@
1
+ # StaffEventsPaginatedResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **upcoming** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
9
+ **past** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
10
+ **upcomingPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
11
+ **pastPagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { StaffEventsPaginatedResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: StaffEventsPaginatedResponse = {
19
+ upcoming,
20
+ past,
21
+ upcomingPagination,
22
+ pastPagination,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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.185
7
+ * The version of the OpenAPI document: 1.0.195
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.194",
3
+ "version": "1.0.195",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {