@tennac-booking/sdk 1.0.127 → 1.0.129
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 +346 -334
- package/README.md +24 -11
- package/api.ts +1006 -422
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +853 -357
- package/dist/api.js +317 -164
- 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 +853 -357
- package/dist/esm/api.js +313 -160
- 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/BookingsStaffApi.md +10 -10
- package/docs/{PlanPriceInput.md → CheckInPlayersRequest.md} +5 -7
- package/docs/{CheckInPlayerResponse.md → CheckInPlayersResponse.md} +5 -5
- package/docs/ClubPlayerSubscriptionSummary.md +3 -3
- package/docs/ClubsStaffApi.md +0 -54
- package/docs/CreatePlan201Response.md +0 -2
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/CreateSubscriptionPlanRequestDiscount.md +0 -2
- package/docs/DeleteSubscriptionPlanResponse.md +0 -2
- package/docs/EventBookingDetailSummary.md +40 -0
- package/docs/EventBookingResponse.md +36 -0
- package/docs/EventBookingResponsePlayersInner.md +28 -0
- package/docs/{CheckInPlayerRequest.md → EventBookingResponsePlayersInnerInvoiceStatus.md} +3 -5
- package/docs/{GetClubType200Response.md → EventBookingResponseSetupStatus.md} +3 -5
- package/docs/EventBookingStatus.md +16 -0
- package/docs/EventsApi.md +4 -1
- package/docs/EventsManagerApi.md +110 -0
- package/docs/InvoiceStatusSETUPPENDING.md +8 -0
- package/docs/InvoiceStatusSETUPSUCCESS.md +8 -0
- package/docs/MonthlyTurnoverResponse.md +1 -0
- package/docs/OffPeakRule.md +0 -2
- package/docs/ParticipationType.md +10 -0
- package/docs/PublicSubscriptionPlanResponse.md +1 -5
- package/docs/PublishEventResponse.md +4 -0
- package/docs/RecurringDefinitionResponse.md +34 -0
- package/docs/SendSubscriptionInvitationRequest.md +0 -2
- package/docs/SubscriptionPlanResponse.md +1 -7
- package/docs/SubscriptionsManagerApi.md +1 -55
- package/docs/UpdateRecurringDefinition200Response.md +20 -0
- package/docs/UpdateRecurringDefinitionRequest.md +56 -0
- package/docs/UserEventParticipation.md +22 -0
- package/docs/UserEventSummary.md +44 -0
- package/docs/UserEventsResponse.md +28 -0
- package/docs/UsersApi.md +54 -0
- package/docs/VisibilityType.md +12 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/PlanPrice.md +0 -26
- package/docs/SubscriptionPlanDiscountResponse.md +0 -34
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
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/BookingsStaffApi.md
CHANGED
|
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
7
|
+
|[**checkInPlayers**](#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in | |
|
|
8
8
|
|[**createStaffBooking**](#createstaffbooking) | **POST** /api/bookings/staff | |
|
|
9
9
|
|[**getBookingById**](#getbookingbyid) | **GET** /api/bookings/{bookingId} | |
|
|
10
10
|
|[**getBookingHistoryStaff**](#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} | |
|
|
@@ -13,10 +13,10 @@ All URIs are relative to *http://localhost*
|
|
|
13
13
|
|[**getWeeklyBookings**](#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} | |
|
|
14
14
|
|[**listClubBookings**](#listclubbookings) | **GET** /api/bookings/staff | |
|
|
15
15
|
|
|
16
|
-
# **
|
|
17
|
-
>
|
|
16
|
+
# **checkInPlayers**
|
|
17
|
+
> CheckInPlayersResponse checkInPlayers(checkInPlayersRequest)
|
|
18
18
|
|
|
19
|
-
Check-in
|
|
19
|
+
Check-in des joueurs only for club with payment features
|
|
20
20
|
|
|
21
21
|
### Example
|
|
22
22
|
|
|
@@ -24,18 +24,18 @@ Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
|
24
24
|
import {
|
|
25
25
|
BookingsStaffApi,
|
|
26
26
|
Configuration,
|
|
27
|
-
|
|
27
|
+
CheckInPlayersRequest
|
|
28
28
|
} from '@tennac-booking/sdk';
|
|
29
29
|
|
|
30
30
|
const configuration = new Configuration();
|
|
31
31
|
const apiInstance = new BookingsStaffApi(configuration);
|
|
32
32
|
|
|
33
33
|
let bookingId: string; // (default to undefined)
|
|
34
|
-
let
|
|
34
|
+
let checkInPlayersRequest: CheckInPlayersRequest; //
|
|
35
35
|
|
|
36
|
-
const { status, data } = await apiInstance.
|
|
36
|
+
const { status, data } = await apiInstance.checkInPlayers(
|
|
37
37
|
bookingId,
|
|
38
|
-
|
|
38
|
+
checkInPlayersRequest
|
|
39
39
|
);
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -43,13 +43,13 @@ const { status, data } = await apiInstance.checkInPlayer(
|
|
|
43
43
|
|
|
44
44
|
|Name | Type | Description | Notes|
|
|
45
45
|
|------------- | ------------- | ------------- | -------------|
|
|
46
|
-
| **
|
|
46
|
+
| **checkInPlayersRequest** | **CheckInPlayersRequest**| | |
|
|
47
47
|
| **bookingId** | [**string**] | | defaults to undefined|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
### Return type
|
|
51
51
|
|
|
52
|
-
**
|
|
52
|
+
**CheckInPlayersResponse**
|
|
53
53
|
|
|
54
54
|
### Authorization
|
|
55
55
|
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CheckInPlayersRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
|
|
8
|
+
**playerIds** | **Array<string>** | Liste des IDs des joueurs qui ont payé/sont arrivés | [default to undefined]
|
|
10
9
|
|
|
11
10
|
## Example
|
|
12
11
|
|
|
13
12
|
```typescript
|
|
14
|
-
import {
|
|
13
|
+
import { CheckInPlayersRequest } from '@tennac-booking/sdk';
|
|
15
14
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
18
|
-
interval,
|
|
15
|
+
const instance: CheckInPlayersRequest = {
|
|
16
|
+
playerIds,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
21
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CheckInPlayersResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**message** | **string** | Message de confirmation | [default to undefined]
|
|
9
|
-
**
|
|
9
|
+
**invoices** | [**Array<CheckedInPlayer>**](CheckedInPlayer.md) | Joueurs ayant effectué le check-in | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { CheckInPlayersResponse } from '@tennac-booking/sdk';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: CheckInPlayersResponse = {
|
|
17
17
|
message,
|
|
18
|
-
|
|
18
|
+
invoices,
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | ID du plan d\'abonnement | [default to undefined]
|
|
9
9
|
**name** | **string** | Nom du plan | [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**amountInCents** | **number** | Montant en centimes | [default to undefined]
|
|
11
11
|
**currency** | **string** | Devise | [default to undefined]
|
|
12
|
-
**interval** | **string** | Intervalle
|
|
12
|
+
**interval** | **string** | Intervalle de facturation | [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ import { ClubPlayerSubscriptionSummary } from '@tennac-booking/sdk';
|
|
|
19
19
|
const instance: ClubPlayerSubscriptionSummary = {
|
|
20
20
|
id,
|
|
21
21
|
name,
|
|
22
|
-
|
|
22
|
+
amountInCents,
|
|
23
23
|
currency,
|
|
24
24
|
interval,
|
|
25
25
|
};
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -10,7 +10,6 @@ All URIs are relative to *http://localhost*
|
|
|
10
10
|
|[**getClubMembers**](#getclubmembers) | **GET** /api/clubs/members | |
|
|
11
11
|
|[**getClubPresentationSettings**](#getclubpresentationsettings) | **GET** /api/clubs/settings/presentation | |
|
|
12
12
|
|[**getClubRoles**](#getclubroles) | **GET** /api/clubs/roles | |
|
|
13
|
-
|[**getClubType**](#getclubtype) | **GET** /api/clubs/{clubId}/clubType | |
|
|
14
13
|
|[**getCourtsByClub**](#getcourtsbyclub) | **GET** /api/clubs/courts | |
|
|
15
14
|
|[**getInvoices**](#getinvoices) | **GET** /api/clubs/invoices | |
|
|
16
15
|
|[**getUserProfileStaff**](#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} | |
|
|
@@ -293,59 +292,6 @@ This endpoint does not have any parameters.
|
|
|
293
292
|
|
|
294
293
|
[[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)
|
|
295
294
|
|
|
296
|
-
# **getClubType**
|
|
297
|
-
> GetClubType200Response getClubType()
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
### Example
|
|
301
|
-
|
|
302
|
-
```typescript
|
|
303
|
-
import {
|
|
304
|
-
ClubsStaffApi,
|
|
305
|
-
Configuration
|
|
306
|
-
} from '@tennac-booking/sdk';
|
|
307
|
-
|
|
308
|
-
const configuration = new Configuration();
|
|
309
|
-
const apiInstance = new ClubsStaffApi(configuration);
|
|
310
|
-
|
|
311
|
-
let clubId: string; // (default to undefined)
|
|
312
|
-
|
|
313
|
-
const { status, data } = await apiInstance.getClubType(
|
|
314
|
-
clubId
|
|
315
|
-
);
|
|
316
|
-
```
|
|
317
|
-
|
|
318
|
-
### Parameters
|
|
319
|
-
|
|
320
|
-
|Name | Type | Description | Notes|
|
|
321
|
-
|------------- | ------------- | ------------- | -------------|
|
|
322
|
-
| **clubId** | [**string**] | | defaults to undefined|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
### Return type
|
|
326
|
-
|
|
327
|
-
**GetClubType200Response**
|
|
328
|
-
|
|
329
|
-
### Authorization
|
|
330
|
-
|
|
331
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
332
|
-
|
|
333
|
-
### HTTP request headers
|
|
334
|
-
|
|
335
|
-
- **Content-Type**: Not defined
|
|
336
|
-
- **Accept**: application/json
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
### HTTP response details
|
|
340
|
-
| Status code | Description | Response headers |
|
|
341
|
-
|-------------|-------------|------------------|
|
|
342
|
-
|**200** | Type de club | - |
|
|
343
|
-
|**400** | Bad Request | - |
|
|
344
|
-
|**404** | Club non trouvé | - |
|
|
345
|
-
|**500** | Server Error | - |
|
|
346
|
-
|
|
347
|
-
[[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)
|
|
348
|
-
|
|
349
295
|
# **getCourtsByClub**
|
|
350
296
|
> Array<CourtResponse> getCourtsByClub()
|
|
351
297
|
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**priceIds** | **Array<string>** | | [default to undefined]
|
|
9
8
|
**priceId** | **string** | | [default to undefined]
|
|
10
9
|
**productId** | **string** | | [default to undefined]
|
|
11
10
|
|
|
@@ -15,7 +14,6 @@ Name | Type | Description | Notes
|
|
|
15
14
|
import { CreatePlan201Response } from '@tennac-booking/sdk';
|
|
16
15
|
|
|
17
16
|
const instance: CreatePlan201Response = {
|
|
18
|
-
priceIds,
|
|
19
17
|
priceId,
|
|
20
18
|
productId,
|
|
21
19
|
};
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**clubId** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**
|
|
11
|
+
**amountInCents** | **number** | | [default to undefined]
|
|
12
12
|
**currency** | **string** | | [default to undefined]
|
|
13
13
|
**interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
|
|
14
14
|
**discount** | [**CreateSubscriptionPlanRequestDiscount**](CreateSubscriptionPlanRequestDiscount.md) | | [optional] [default to undefined]
|
|
@@ -22,7 +22,7 @@ const instance: CreateSubscriptionPlanRequest = {
|
|
|
22
22
|
clubId,
|
|
23
23
|
name,
|
|
24
24
|
description,
|
|
25
|
-
|
|
25
|
+
amountInCents,
|
|
26
26
|
currency,
|
|
27
27
|
interval,
|
|
28
28
|
discount,
|
|
@@ -7,7 +7,6 @@ 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. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club. | [optional] [default to undefined]
|
|
11
10
|
**validTo** | **string** | | [optional] [default to undefined]
|
|
12
11
|
**validFrom** | **string** | | [optional] [default to undefined]
|
|
13
12
|
**maxDiscountAmountInCents** | **number** | | [optional] [default to undefined]
|
|
@@ -22,7 +21,6 @@ import { CreateSubscriptionPlanRequestDiscount } from '@tennac-booking/sdk';
|
|
|
22
21
|
const instance: CreateSubscriptionPlanRequestDiscount = {
|
|
23
22
|
bookingFree,
|
|
24
23
|
offPeakRules,
|
|
25
|
-
offPeakRuleNames,
|
|
26
24
|
validTo,
|
|
27
25
|
validFrom,
|
|
28
26
|
maxDiscountAmountInCents,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**message** | **string** | | [default to undefined]
|
|
9
|
-
**archivedInstead** | **boolean** | | [optional] [default to undefined]
|
|
10
9
|
|
|
11
10
|
## Example
|
|
12
11
|
|
|
@@ -15,7 +14,6 @@ import { DeleteSubscriptionPlanResponse } from '@tennac-booking/sdk';
|
|
|
15
14
|
|
|
16
15
|
const instance: DeleteSubscriptionPlanResponse = {
|
|
17
16
|
message,
|
|
18
|
-
archivedInstead,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
21
19
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# EventBookingDetailSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
|
|
10
|
+
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**players** | **Array<string>** | | [default to undefined]
|
|
12
|
+
**invoices** | **Array<string>** | | [default to undefined]
|
|
13
|
+
**creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
15
|
+
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**createdAt** | **string** | | [default to undefined]
|
|
18
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { EventBookingDetailSummary } from '@tennac-booking/sdk';
|
|
24
|
+
|
|
25
|
+
const instance: EventBookingDetailSummary = {
|
|
26
|
+
id,
|
|
27
|
+
status,
|
|
28
|
+
teamName,
|
|
29
|
+
players,
|
|
30
|
+
invoices,
|
|
31
|
+
creatorPaymentMethodId,
|
|
32
|
+
paymentMethodSetupCompleted,
|
|
33
|
+
limitSetupDate,
|
|
34
|
+
limitCancellationDate,
|
|
35
|
+
createdAt,
|
|
36
|
+
updatedAt,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[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,36 @@
|
|
|
1
|
+
# EventBookingResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
|
|
10
|
+
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**players** | [**Array<EventBookingResponsePlayersInner>**](EventBookingResponsePlayersInner.md) | | [default to undefined]
|
|
12
|
+
**setupLimitDate** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**cancellationLimitDate** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**setupStatus** | [**EventBookingResponseSetupStatus**](EventBookingResponseSetupStatus.md) | | [optional] [default to undefined]
|
|
15
|
+
**createdAt** | **string** | | [default to undefined]
|
|
16
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { EventBookingResponse } from '@tennac-booking/sdk';
|
|
22
|
+
|
|
23
|
+
const instance: EventBookingResponse = {
|
|
24
|
+
id,
|
|
25
|
+
status,
|
|
26
|
+
teamName,
|
|
27
|
+
players,
|
|
28
|
+
setupLimitDate,
|
|
29
|
+
cancellationLimitDate,
|
|
30
|
+
setupStatus,
|
|
31
|
+
createdAt,
|
|
32
|
+
updatedAt,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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,28 @@
|
|
|
1
|
+
# EventBookingResponsePlayersInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**invoiceStatus** | [**EventBookingResponsePlayersInnerInvoiceStatus**](EventBookingResponsePlayersInnerInvoiceStatus.md) | | [optional] [default to undefined]
|
|
9
|
+
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**id** | **string** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { EventBookingResponsePlayersInner } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: EventBookingResponsePlayersInner = {
|
|
20
|
+
invoiceStatus,
|
|
21
|
+
profilePicture,
|
|
22
|
+
lastName,
|
|
23
|
+
firstName,
|
|
24
|
+
id,
|
|
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,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EventBookingResponsePlayersInnerInvoiceStatus
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**playerId** | **string** | ID du joueur qui a payé/est arrivé | [default to undefined]
|
|
9
8
|
|
|
10
9
|
## Example
|
|
11
10
|
|
|
12
11
|
```typescript
|
|
13
|
-
import {
|
|
12
|
+
import { EventBookingResponsePlayersInnerInvoiceStatus } from '@tennac-booking/sdk';
|
|
14
13
|
|
|
15
|
-
const instance:
|
|
16
|
-
playerId,
|
|
14
|
+
const instance: EventBookingResponsePlayersInnerInvoiceStatus = {
|
|
17
15
|
};
|
|
18
16
|
```
|
|
19
17
|
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EventBookingResponseSetupStatus
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubType** | **string** | | [default to undefined]
|
|
9
8
|
|
|
10
9
|
## Example
|
|
11
10
|
|
|
12
11
|
```typescript
|
|
13
|
-
import {
|
|
12
|
+
import { EventBookingResponseSetupStatus } from '@tennac-booking/sdk';
|
|
14
13
|
|
|
15
|
-
const instance:
|
|
16
|
-
clubType,
|
|
14
|
+
const instance: EventBookingResponseSetupStatus = {
|
|
17
15
|
};
|
|
18
16
|
```
|
|
19
17
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# EventBookingStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Pending` (value: `'pending'`)
|
|
7
|
+
|
|
8
|
+
* `Active` (value: `'active'`)
|
|
9
|
+
|
|
10
|
+
* `Paid` (value: `'paid'`)
|
|
11
|
+
|
|
12
|
+
* `Cancelled` (value: `'cancelled'`)
|
|
13
|
+
|
|
14
|
+
* `Expired` (value: `'expired'`)
|
|
15
|
+
|
|
16
|
+
[[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/docs/EventsApi.md
CHANGED
|
@@ -141,9 +141,11 @@ const configuration = new Configuration();
|
|
|
141
141
|
const apiInstance = new EventsApi(configuration);
|
|
142
142
|
|
|
143
143
|
let eventId: string; // (default to undefined)
|
|
144
|
+
let userId: string; // (optional) (default to undefined)
|
|
144
145
|
|
|
145
146
|
const { status, data } = await apiInstance.getEventById(
|
|
146
|
-
eventId
|
|
147
|
+
eventId,
|
|
148
|
+
userId
|
|
147
149
|
);
|
|
148
150
|
```
|
|
149
151
|
|
|
@@ -152,6 +154,7 @@ const { status, data } = await apiInstance.getEventById(
|
|
|
152
154
|
|Name | Type | Description | Notes|
|
|
153
155
|
|------------- | ------------- | ------------- | -------------|
|
|
154
156
|
| **eventId** | [**string**] | | defaults to undefined|
|
|
157
|
+
| **userId** | [**string**] | | (optional) defaults to undefined|
|
|
155
158
|
|
|
156
159
|
|
|
157
160
|
### Return type
|