@tennac-booking/sdk 1.0.162 → 1.0.163
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.
- package/.openapi-generator/FILES +373 -374
- package/README.md +2 -3
- package/api.ts +31 -68
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +31 -68
- package/dist/api.js +29 -29
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +31 -68
- package/dist/esm/api.js +29 -29
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsApi.md +1 -1
- package/docs/BookingsUserApi.md +1 -1
- package/docs/ClientApi.md +2 -2
- package/docs/ClubPresentationSettingsResponse.md +0 -2
- package/docs/ClubsApi.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +1 -1
- package/docs/EventBookingDetailSummary.md +1 -1
- package/docs/EventsStaffApi.md +1 -1
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -2
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/Sponsor.md +0 -24
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/BookingsApi.md
CHANGED
|
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost*
|
|
|
18
18
|
# **createGuestBooking**
|
|
19
19
|
> BookingResponse createGuestBooking(createGuestBookingRequest)
|
|
20
20
|
|
|
21
|
-
Créer une réservation en tant qu\'invité (guest)
|
|
21
|
+
Créer une réservation en tant qu\'invité (guest) Cette route permet à un utilisateur non authentifié de créer une réservation. Un compte guest sera automatiquement créé pour l\'utilisateur. Note: Si le club a activé le no-show (frais de non-présentation), la réponse contiendra un setupNoShowPaymentUrl pour configurer une méthode de paiement. Cette configuration est obligatoire pour les clubs avec no-show activé.
|
|
22
22
|
|
|
23
23
|
### Example
|
|
24
24
|
|
package/docs/BookingsUserApi.md
CHANGED
|
@@ -62,7 +62,7 @@ const { status, data } = await apiInstance.cancelBooking(
|
|
|
62
62
|
# **createBooking**
|
|
63
63
|
> BookingResponse createBooking(createBookingRequest)
|
|
64
64
|
|
|
65
|
-
Créer une réservation
|
|
65
|
+
Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
66
66
|
|
|
67
67
|
### Example
|
|
68
68
|
|
package/docs/ClientApi.md
CHANGED
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost*
|
|
|
12
12
|
# **clientRegister**
|
|
13
13
|
> ClientRegister201Response clientRegister(clientRegisterRequest)
|
|
14
14
|
|
|
15
|
-
Enregistre un nouvel utilisateur client
|
|
15
|
+
Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
16
16
|
|
|
17
17
|
### Example
|
|
18
18
|
|
|
@@ -158,7 +158,7 @@ This endpoint does not have any parameters.
|
|
|
158
158
|
# **onboardClub**
|
|
159
159
|
> ClientFullOnboardingResponse onboardClub(clientOnboardingRequestBody)
|
|
160
160
|
|
|
161
|
-
Enregistre un nouveau club pour la plateforme
|
|
161
|
+
Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
162
162
|
|
|
163
163
|
### Example
|
|
164
164
|
|
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**tags** | **Array<string>** | | [default to undefined]
|
|
10
10
|
**bannerImages** | **Array<string>** | | [default to undefined]
|
|
11
11
|
**galleryImages** | **Array<string>** | | [default to undefined]
|
|
12
|
-
**sponsors** | [**Array<Sponsor>**](Sponsor.md) | | [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const instance: ClubPresentationSettingsResponse = {
|
|
|
21
20
|
tags,
|
|
22
21
|
bannerImages,
|
|
23
22
|
galleryImages,
|
|
24
|
-
sponsors,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|
package/docs/ClubsApi.md
CHANGED
|
@@ -24,7 +24,7 @@ All URIs are relative to *http://localhost*
|
|
|
24
24
|
# **getActiveClubs**
|
|
25
25
|
> Array<PartialClubActiveResponse> getActiveClubs()
|
|
26
26
|
|
|
27
|
-
Récupère la liste des clubs actifs publics
|
|
27
|
+
Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
28
28
|
|
|
29
29
|
### Example
|
|
30
30
|
|
|
@@ -531,7 +531,7 @@ No authorization required
|
|
|
531
531
|
# **getClubsWithVerificationDomains**
|
|
532
532
|
> Array<GetClubsWithVerificationDomains200ResponseInner> getClubsWithVerificationDomains()
|
|
533
533
|
|
|
534
|
-
Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
534
|
+
Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
535
535
|
|
|
536
536
|
### Example
|
|
537
537
|
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**bookingFree** | **boolean** | | [optional] [default to undefined]
|
|
9
9
|
**offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined]
|
|
10
|
-
**offPeakRuleNames** | **Array<string>** | Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise.
|
|
10
|
+
**offPeakRuleNames** | **Array<string>** | Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club. | [optional] [default to undefined]
|
|
11
11
|
**validTo** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**validFrom** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**maxDiscountAmountInCents** | **number** | | [optional] [default to undefined]
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
|
|
10
10
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**players** | **Array<string>** | | [default to undefined]
|
|
12
|
-
**paymentPerPlayers** | [**Array<EventBookingDetailSummaryPaymentPerPlayersInner>**](EventBookingDetailSummaryPaymentPerPlayersInner.md) | Détails des paiements par joueur pour cette réservation d\'événement.
|
|
12
|
+
**paymentPerPlayers** | [**Array<EventBookingDetailSummaryPaymentPerPlayersInner>**](EventBookingDetailSummaryPaymentPerPlayersInner.md) | Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`. | [default to undefined]
|
|
13
13
|
**creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
15
15
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
package/docs/EventsStaffApi.md
CHANGED
|
@@ -136,7 +136,7 @@ const { status, data } = await apiInstance.getDailyEvents(
|
|
|
136
136
|
# **getEventsByClub**
|
|
137
137
|
> EventsListResponse getEventsByClub()
|
|
138
138
|
|
|
139
|
-
// Use service to validate booking openness, team participation, and capacity
|
|
139
|
+
// Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
|
|
140
140
|
|
|
141
141
|
### Example
|
|
142
142
|
|
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
10
10
|
**bannerImages** | [**Array<UpdateClubGeneralSettingsRequestLogo>**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
11
11
|
**galleryImages** | [**Array<UpdateClubGeneralSettingsRequestLogo>**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
12
|
-
**sponsors** | [**Array<Sponsor>**](Sponsor.md) | | [optional] [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const instance: UpdateClubPresentationSettingsRequest = {
|
|
|
21
20
|
tags,
|
|
22
21
|
bannerImages,
|
|
23
22
|
galleryImages,
|
|
24
|
-
sponsors,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
package/docs/Sponsor.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Sponsor
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**name** | **string** | | [default to undefined]
|
|
9
|
-
**logo** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { Sponsor } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: Sponsor = {
|
|
18
|
-
name,
|
|
19
|
-
logo,
|
|
20
|
-
websiteUrl,
|
|
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)
|