@tennac-booking/sdk 1.0.290 → 1.0.292
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/api.ts +126 -10
- package/dist/api.d.ts +110 -4
- package/dist/api.js +20 -10
- package/dist/esm/api.d.ts +110 -4
- package/dist/esm/api.js +20 -10
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingPriceResponse.md +2 -0
- package/docs/CaptureResult.md +2 -0
- package/docs/ClubAnalyticsStaffApi.md +4 -1
- package/docs/ClubPageResponse.md +2 -0
- package/docs/ClubPlayerResponse.md +2 -0
- package/docs/ClubResponse.md +2 -0
- package/docs/ClubsStaffApi.md +3 -0
- package/docs/EventBookingResponse.md +2 -0
- package/docs/EventBookingResponsePaymentPerPlayersInner.md +2 -0
- package/docs/EventBookingResponsePlayersInner.md +2 -0
- package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +2 -0
- package/docs/OpenBookingJoinEstimateResponse.md +2 -0
- package/docs/PartialClubActiveResponse.md +2 -0
- package/docs/PartialPaymentRequirementsSettings.md +2 -0
- package/docs/PaymentRequirementsSettings.md +2 -0
- package/docs/PlayerSummary.md +2 -0
- package/package.json +1 -1
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -451,6 +451,7 @@ let page: number; // (optional) (default to undefined)
|
|
|
451
451
|
let pageSize: number; // (optional) (default to undefined)
|
|
452
452
|
let search: string; // (optional) (default to undefined)
|
|
453
453
|
let filters: string; // (optional) (default to undefined)
|
|
454
|
+
let sorting: string; // (optional) (default to undefined)
|
|
454
455
|
let status: string; // (optional) (default to undefined)
|
|
455
456
|
let startDate: string; // (optional) (default to undefined)
|
|
456
457
|
let endDate: string; // (optional) (default to undefined)
|
|
@@ -460,6 +461,7 @@ const { status, data } = await apiInstance.getInvoices(
|
|
|
460
461
|
pageSize,
|
|
461
462
|
search,
|
|
462
463
|
filters,
|
|
464
|
+
sorting,
|
|
463
465
|
status,
|
|
464
466
|
startDate,
|
|
465
467
|
endDate
|
|
@@ -474,6 +476,7 @@ const { status, data } = await apiInstance.getInvoices(
|
|
|
474
476
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
475
477
|
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
476
478
|
| **filters** | [**string**] | | (optional) defaults to undefined|
|
|
479
|
+
| **sorting** | [**string**] | | (optional) defaults to undefined|
|
|
477
480
|
| **status** | [**string**] | | (optional) defaults to undefined|
|
|
478
481
|
| **startDate** | [**string**] | | (optional) defaults to undefined|
|
|
479
482
|
| **endDate** | [**string**] | | (optional) defaults to undefined|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**invoices** | [**Array<EventBookingResponseInvoicesInner>**](EventBookingResponseInvoicesInner.md) | | [optional] [default to undefined]
|
|
12
12
|
**players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
|
|
13
|
+
**initialPlayers** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [optional] [default to undefined]
|
|
13
14
|
**paymentPerPlayers** | [**Array<EventBookingResponsePaymentPerPlayersInner>**](EventBookingResponsePaymentPerPlayersInner.md) | | [optional] [default to undefined]
|
|
14
15
|
**setupLimitDate** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**cancellationLimitDate** | **string** | | [optional] [default to undefined]
|
|
@@ -30,6 +31,7 @@ const instance: EventBookingResponse = {
|
|
|
30
31
|
teamName,
|
|
31
32
|
invoices,
|
|
32
33
|
players,
|
|
34
|
+
initialPlayers,
|
|
33
35
|
paymentPerPlayers,
|
|
34
36
|
setupLimitDate,
|
|
35
37
|
cancellationLimitDate,
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**amount** | **number** | | [optional] [default to undefined]
|
|
9
9
|
**status** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
|
|
10
10
|
**photo** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**id** | **string** | | [default to undefined]
|
|
@@ -21,6 +22,7 @@ const instance: EventBookingResponsePaymentPerPlayersInner = {
|
|
|
21
22
|
amount,
|
|
22
23
|
status,
|
|
23
24
|
photo,
|
|
25
|
+
username,
|
|
24
26
|
lastName,
|
|
25
27
|
firstName,
|
|
26
28
|
id,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**invoiceStatus** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
|
|
9
9
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
10
11
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**id** | **string** | | [default to undefined]
|
|
@@ -19,6 +20,7 @@ import { EventBookingResponsePlayersInner } from '@tennac-booking/sdk';
|
|
|
19
20
|
const instance: EventBookingResponsePlayersInner = {
|
|
20
21
|
invoiceStatus,
|
|
21
22
|
profilePicture,
|
|
23
|
+
username,
|
|
22
24
|
lastName,
|
|
23
25
|
firstName,
|
|
24
26
|
id,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**invoices** | [**Array<EventBookingResponseInvoicesInner>**](EventBookingResponseInvoicesInner.md) | | [optional] [default to undefined]
|
|
12
12
|
**players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
|
|
13
|
+
**initialPlayers** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [optional] [default to undefined]
|
|
13
14
|
**paymentPerPlayers** | [**Array<EventBookingResponsePaymentPerPlayersInner>**](EventBookingResponsePaymentPerPlayersInner.md) | | [optional] [default to undefined]
|
|
14
15
|
**setupLimitDate** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**cancellationLimitDate** | **string** | | [optional] [default to undefined]
|
|
@@ -33,6 +34,7 @@ const instance: GetOpenEventBookingsBySport200ResponseEventBookingsInner = {
|
|
|
33
34
|
teamName,
|
|
34
35
|
invoices,
|
|
35
36
|
players,
|
|
37
|
+
initialPlayers,
|
|
36
38
|
paymentPerPlayers,
|
|
37
39
|
setupLimitDate,
|
|
38
40
|
cancellationLimitDate,
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**playersPrices** | [**Array<PlayerPrice>**](PlayerPrice.md) | Détails de prix pour chaque joueur qui rejoint | [default to undefined]
|
|
10
10
|
**availableCreditsInCents** | **number** | Crédits disponibles pour l\'utilisateur qui demande à rejoindre (en centimes) | [default to undefined]
|
|
11
11
|
**availableSlots** | **number** | Nombre de places restantes | [default to undefined]
|
|
12
|
+
**needsToSetupPaymentMethod** | **boolean** | Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club. | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: OpenBookingJoinEstimateResponse = {
|
|
|
20
21
|
playersPrices,
|
|
21
22
|
availableCreditsInCents,
|
|
22
23
|
availableSlots,
|
|
24
|
+
needsToSetupPaymentMethod,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**picture** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**paymentFeature** | **boolean** | | [optional] [default to undefined]
|
|
13
13
|
**isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**isBookingEnabled** | **boolean** | | [optional] [default to undefined]
|
|
14
15
|
**bannerPictures** | **Array<string>** | | [optional] [default to undefined]
|
|
15
16
|
**galleryPictures** | **Array<string>** | | [optional] [default to undefined]
|
|
16
17
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
@@ -28,6 +29,7 @@ const instance: PartialClubActiveResponse = {
|
|
|
28
29
|
picture,
|
|
29
30
|
paymentFeature,
|
|
30
31
|
isNoShowEnabled,
|
|
32
|
+
isBookingEnabled,
|
|
31
33
|
bannerPictures,
|
|
32
34
|
galleryPictures,
|
|
33
35
|
tags,
|
|
@@ -7,6 +7,7 @@ Make all properties in T optional
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**isBookingEnabled** | **boolean** | | [optional] [default to undefined]
|
|
10
11
|
**requireOnlinePayment** | **boolean** | | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
@@ -16,6 +17,7 @@ import { PartialPaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
|
16
17
|
|
|
17
18
|
const instance: PartialPaymentRequirementsSettings = {
|
|
18
19
|
isNoShowEnabled,
|
|
20
|
+
isBookingEnabled,
|
|
19
21
|
requireOnlinePayment,
|
|
20
22
|
};
|
|
21
23
|
```
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**isNoShowEnabled** | **boolean** | | [default to undefined]
|
|
9
|
+
**isBookingEnabled** | **boolean** | | [default to undefined]
|
|
9
10
|
**requireOnlinePayment** | **boolean** | | [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
@@ -15,6 +16,7 @@ import { PaymentRequirementsSettings } from '@tennac-booking/sdk';
|
|
|
15
16
|
|
|
16
17
|
const instance: PaymentRequirementsSettings = {
|
|
17
18
|
isNoShowEnabled,
|
|
19
|
+
isBookingEnabled,
|
|
18
20
|
requireOnlinePayment,
|
|
19
21
|
};
|
|
20
22
|
```
|
package/docs/PlayerSummary.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
12
|
**description** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**avatar** | **string** | | [optional] [default to undefined]
|
|
14
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
15
16
|
**levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [optional] [default to undefined]
|
|
16
17
|
**characteristics** | [**Array<CharacteristicEntry>**](CharacteristicEntry.md) | | [optional] [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: PlayerSummary = {
|
|
|
31
32
|
lastName,
|
|
32
33
|
description,
|
|
33
34
|
profilePicture,
|
|
35
|
+
avatar,
|
|
34
36
|
gender,
|
|
35
37
|
levelBySports,
|
|
36
38
|
characteristics,
|