@tennac-booking/sdk 1.0.117 → 1.0.119
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 +313 -308
- package/README.md +18 -13
- package/api.ts +1065 -611
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +841 -483
- package/dist/api.js +325 -233
- 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 +841 -483
- package/dist/esm/api.js +324 -232
- 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 +117 -0
- package/docs/BookingsUserApi.md +1 -1
- package/docs/ClientApi.md +2 -49
- package/docs/ClientFullOnboardingResponseClub.md +0 -2
- package/docs/ClientOnboardingRequestBody.md +0 -2
- package/docs/ClubAnalyticsStaffApi.md +20 -4
- package/docs/ClubPlayersPaginatedResponse.md +28 -0
- package/docs/ClubsApi.md +2 -2
- package/docs/ClubsStaffApi.md +27 -2
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +4 -0
- package/docs/EventSponsor.md +24 -0
- package/docs/EventsApi.md +0 -115
- package/docs/JoinEventRequest.md +0 -2
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
- package/docs/JoinEventResponse.md +0 -14
- package/docs/SendSubscriptionInvitationRequest.md +22 -0
- package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
- package/docs/StaffBookingCourtSummary.md +26 -0
- package/docs/StaffBookingCustomerPayload.md +28 -0
- package/docs/StaffBookingListItem.md +54 -0
- package/docs/StaffBookingPaymentState.md +18 -0
- package/docs/StaffBookingPaymentSummary.md +34 -0
- package/docs/StaffBookingSportSummary.md +24 -0
- package/docs/StaffBookingUserSummary.md +28 -0
- package/docs/StaffBookingsPaginatedResponse.md +28 -0
- package/docs/StaffCreateBookingRequest.md +26 -0
- package/docs/SubscriptionsStaffApi.md +55 -0
- package/docs/UpdateEventRequest.md +6 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ClientSubscription.md +0 -31
- package/docs/ClientSubscriptionItem.md +0 -25
- package/docs/ClientSubscriptionsResponse.md +0 -21
- package/docs/EstimateEventPrice200Response.md +0 -32
- package/docs/EstimateEventPriceRequest.md +0 -26
- package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
- package/docs/JoinEventResponseOnsitePaymentsInner.md +0 -24
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
|
@@ -5,11 +5,13 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**checkInPlayers**](#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in | |
|
|
8
|
+
|[**createStaffBooking**](#createstaffbooking) | **POST** /api/bookings/staff | |
|
|
8
9
|
|[**getBookingById**](#getbookingbyid) | **GET** /api/bookings/{bookingId} | |
|
|
9
10
|
|[**getBookingHistoryStaff**](#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} | |
|
|
10
11
|
|[**getBookingPaymentStatus**](#getbookingpaymentstatus) | **GET** /api/bookings/{bookingId}/payment-status | |
|
|
11
12
|
|[**getDailyBookings**](#getdailybookings) | **GET** /api/bookings/daily/{date} | |
|
|
12
13
|
|[**getWeeklyBookings**](#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} | |
|
|
14
|
+
|[**listClubBookings**](#listclubbookings) | **GET** /api/bookings/staff | |
|
|
13
15
|
|
|
14
16
|
# **checkInPlayers**
|
|
15
17
|
> CheckInPlayersResponse checkInPlayers(checkInPlayersRequest)
|
|
@@ -66,6 +68,58 @@ const { status, data } = await apiInstance.checkInPlayers(
|
|
|
66
68
|
|
|
67
69
|
[[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)
|
|
68
70
|
|
|
71
|
+
# **createStaffBooking**
|
|
72
|
+
> BookingResponse createStaffBooking(staffCreateBookingRequest)
|
|
73
|
+
|
|
74
|
+
Créer une réservation pour un joueur depuis l\'espace staff
|
|
75
|
+
|
|
76
|
+
### Example
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
import {
|
|
80
|
+
BookingsStaffApi,
|
|
81
|
+
Configuration,
|
|
82
|
+
StaffCreateBookingRequest
|
|
83
|
+
} from '@tennac-booking/sdk';
|
|
84
|
+
|
|
85
|
+
const configuration = new Configuration();
|
|
86
|
+
const apiInstance = new BookingsStaffApi(configuration);
|
|
87
|
+
|
|
88
|
+
let staffCreateBookingRequest: StaffCreateBookingRequest; //
|
|
89
|
+
|
|
90
|
+
const { status, data } = await apiInstance.createStaffBooking(
|
|
91
|
+
staffCreateBookingRequest
|
|
92
|
+
);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
|Name | Type | Description | Notes|
|
|
98
|
+
|------------- | ------------- | ------------- | -------------|
|
|
99
|
+
| **staffCreateBookingRequest** | **StaffCreateBookingRequest**| | |
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Return type
|
|
103
|
+
|
|
104
|
+
**BookingResponse**
|
|
105
|
+
|
|
106
|
+
### Authorization
|
|
107
|
+
|
|
108
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
109
|
+
|
|
110
|
+
### HTTP request headers
|
|
111
|
+
|
|
112
|
+
- **Content-Type**: application/json
|
|
113
|
+
- **Accept**: application/json
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### HTTP response details
|
|
117
|
+
| Status code | Description | Response headers |
|
|
118
|
+
|-------------|-------------|------------------|
|
|
119
|
+
|**201** | Réservation staff créée avec succès | - |
|
|
120
|
+
|
|
121
|
+
[[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)
|
|
122
|
+
|
|
69
123
|
# **getBookingById**
|
|
70
124
|
> BookingPopulated getBookingById()
|
|
71
125
|
|
|
@@ -321,3 +375,66 @@ const { status, data } = await apiInstance.getWeeklyBookings(
|
|
|
321
375
|
|
|
322
376
|
[[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)
|
|
323
377
|
|
|
378
|
+
# **listClubBookings**
|
|
379
|
+
> StaffBookingsPaginatedResponse listClubBookings()
|
|
380
|
+
|
|
381
|
+
Liste paginée des réservations du club pour le staff
|
|
382
|
+
|
|
383
|
+
### Example
|
|
384
|
+
|
|
385
|
+
```typescript
|
|
386
|
+
import {
|
|
387
|
+
BookingsStaffApi,
|
|
388
|
+
Configuration
|
|
389
|
+
} from '@tennac-booking/sdk';
|
|
390
|
+
|
|
391
|
+
const configuration = new Configuration();
|
|
392
|
+
const apiInstance = new BookingsStaffApi(configuration);
|
|
393
|
+
|
|
394
|
+
let page: number; // (optional) (default to undefined)
|
|
395
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
396
|
+
let search: string; // (optional) (default to undefined)
|
|
397
|
+
let filters: string; // (optional) (default to undefined)
|
|
398
|
+
let sorting: string; // (optional) (default to undefined)
|
|
399
|
+
|
|
400
|
+
const { status, data } = await apiInstance.listClubBookings(
|
|
401
|
+
page,
|
|
402
|
+
pageSize,
|
|
403
|
+
search,
|
|
404
|
+
filters,
|
|
405
|
+
sorting
|
|
406
|
+
);
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
### Parameters
|
|
410
|
+
|
|
411
|
+
|Name | Type | Description | Notes|
|
|
412
|
+
|------------- | ------------- | ------------- | -------------|
|
|
413
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
414
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
415
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
416
|
+
| **filters** | [**string**] | | (optional) defaults to undefined|
|
|
417
|
+
| **sorting** | [**string**] | | (optional) defaults to undefined|
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
### Return type
|
|
421
|
+
|
|
422
|
+
**StaffBookingsPaginatedResponse**
|
|
423
|
+
|
|
424
|
+
### Authorization
|
|
425
|
+
|
|
426
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
427
|
+
|
|
428
|
+
### HTTP request headers
|
|
429
|
+
|
|
430
|
+
- **Content-Type**: Not defined
|
|
431
|
+
- **Accept**: application/json
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
### HTTP response details
|
|
435
|
+
| Status code | Description | Response headers |
|
|
436
|
+
|-------------|-------------|------------------|
|
|
437
|
+
|**200** | Réservations récupérées | - |
|
|
438
|
+
|
|
439
|
+
[[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)
|
|
440
|
+
|
package/docs/BookingsUserApi.md
CHANGED
|
@@ -61,7 +61,7 @@ const { status, data } = await apiInstance.cancelBooking(
|
|
|
61
61
|
# **createBooking**
|
|
62
62
|
> BookingResponse createBooking(createBookingRequest)
|
|
63
63
|
|
|
64
|
-
Créer une réservation
|
|
64
|
+
Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
65
65
|
|
|
66
66
|
### Example
|
|
67
67
|
|
package/docs/ClientApi.md
CHANGED
|
@@ -5,14 +5,13 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**clientRegister**](#clientregister) | **POST** /clients/register | |
|
|
8
|
-
|[**getClientSubscriptions**](#getclientsubscriptions) | **GET** /clients/subscriptions | |
|
|
9
8
|
|[**getManagedClubs**](#getmanagedclubs) | **GET** /clients/managed-clubs | |
|
|
10
9
|
|[**onboardClub**](#onboardclub) | **POST** /clients/onboarding | |
|
|
11
10
|
|
|
12
11
|
# **clientRegister**
|
|
13
12
|
> ClientRegister201Response clientRegister(clientRegisterRequest)
|
|
14
13
|
|
|
15
|
-
Enregistre un nouvel utilisateur client
|
|
14
|
+
Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
16
15
|
|
|
17
16
|
### Example
|
|
18
17
|
|
|
@@ -63,52 +62,6 @@ No authorization required
|
|
|
63
62
|
|
|
64
63
|
[[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)
|
|
65
64
|
|
|
66
|
-
# **getClientSubscriptions**
|
|
67
|
-
> ClientSubscriptionsResponse getClientSubscriptions()
|
|
68
|
-
|
|
69
|
-
Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
70
|
-
|
|
71
|
-
### Example
|
|
72
|
-
|
|
73
|
-
```typescript
|
|
74
|
-
import {
|
|
75
|
-
ClientApi,
|
|
76
|
-
Configuration
|
|
77
|
-
} from '@tennac-booking/sdk';
|
|
78
|
-
|
|
79
|
-
const configuration = new Configuration();
|
|
80
|
-
const apiInstance = new ClientApi(configuration);
|
|
81
|
-
|
|
82
|
-
const { status, data } = await apiInstance.getClientSubscriptions();
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Parameters
|
|
86
|
-
This endpoint does not have any parameters.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Return type
|
|
90
|
-
|
|
91
|
-
**ClientSubscriptionsResponse**
|
|
92
|
-
|
|
93
|
-
### Authorization
|
|
94
|
-
|
|
95
|
-
[clientAuth](../README.md#clientAuth)
|
|
96
|
-
|
|
97
|
-
### HTTP request headers
|
|
98
|
-
|
|
99
|
-
- **Content-Type**: Not defined
|
|
100
|
-
- **Accept**: application/json
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
### HTTP response details
|
|
104
|
-
| Status code | Description | Response headers |
|
|
105
|
-
|-------------|-------------|------------------|
|
|
106
|
-
|**200** | Abonnements récupérés | - |
|
|
107
|
-
|**401** | Non authentifié | - |
|
|
108
|
-
|**404** | Compte client introuvable | - |
|
|
109
|
-
|
|
110
|
-
[[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)
|
|
111
|
-
|
|
112
65
|
# **getManagedClubs**
|
|
113
66
|
> ManagedClubsResponse getManagedClubs()
|
|
114
67
|
|
|
@@ -158,7 +111,7 @@ This endpoint does not have any parameters.
|
|
|
158
111
|
# **onboardClub**
|
|
159
112
|
> ClientFullOnboardingResponse onboardClub(clientOnboardingRequestBody)
|
|
160
113
|
|
|
161
|
-
Enregistre un nouveau club pour la plateforme
|
|
114
|
+
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
115
|
|
|
163
116
|
### Example
|
|
164
117
|
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubType** | **string** | | [optional] [default to undefined]
|
|
9
8
|
**clubOnboardingLink** | **string** | | [optional] [default to undefined]
|
|
10
9
|
**stripeAccountId** | **string** | | [default to undefined]
|
|
11
10
|
**clubId** | **string** | | [default to undefined]
|
|
@@ -16,7 +15,6 @@ Name | Type | Description | Notes
|
|
|
16
15
|
import { ClientFullOnboardingResponseClub } from '@tennac-booking/sdk';
|
|
17
16
|
|
|
18
17
|
const instance: ClientFullOnboardingResponseClub = {
|
|
19
|
-
clubType,
|
|
20
18
|
clubOnboardingLink,
|
|
21
19
|
stripeAccountId,
|
|
22
20
|
clubId,
|
|
@@ -13,7 +13,6 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**city** | **string** | Ville du club (optionnel) | [optional] [default to undefined]
|
|
14
14
|
**postalCode** | **string** | Code postal du club (optionnel) | [optional] [default to undefined]
|
|
15
15
|
**country** | **string** | Pays du club (optionnel) | [optional] [default to undefined]
|
|
16
|
-
**clubType** | **string** | Type de club souhaité (public | school) | [optional] [default to undefined]
|
|
17
16
|
|
|
18
17
|
## Example
|
|
19
18
|
|
|
@@ -28,7 +27,6 @@ const instance: ClientOnboardingRequestBody = {
|
|
|
28
27
|
city,
|
|
29
28
|
postalCode,
|
|
30
29
|
country,
|
|
31
|
-
clubType,
|
|
32
30
|
};
|
|
33
31
|
```
|
|
34
32
|
|
|
@@ -246,7 +246,7 @@ const { status, data } = await apiInstance.getClubPlayerStatisticsById(
|
|
|
246
246
|
[[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)
|
|
247
247
|
|
|
248
248
|
# **getClubPlayers**
|
|
249
|
-
>
|
|
249
|
+
> ClubPlayersPaginatedResponse getClubPlayers()
|
|
250
250
|
|
|
251
251
|
Récupère la liste des joueurs du club
|
|
252
252
|
|
|
@@ -261,16 +261,32 @@ import {
|
|
|
261
261
|
const configuration = new Configuration();
|
|
262
262
|
const apiInstance = new ClubAnalyticsStaffApi(configuration);
|
|
263
263
|
|
|
264
|
-
|
|
264
|
+
let page: number; // (optional) (default to undefined)
|
|
265
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
266
|
+
let search: string; // (optional) (default to undefined)
|
|
267
|
+
let filters: string; // (optional) (default to undefined)
|
|
268
|
+
|
|
269
|
+
const { status, data } = await apiInstance.getClubPlayers(
|
|
270
|
+
page,
|
|
271
|
+
pageSize,
|
|
272
|
+
search,
|
|
273
|
+
filters
|
|
274
|
+
);
|
|
265
275
|
```
|
|
266
276
|
|
|
267
277
|
### Parameters
|
|
268
|
-
|
|
278
|
+
|
|
279
|
+
|Name | Type | Description | Notes|
|
|
280
|
+
|------------- | ------------- | ------------- | -------------|
|
|
281
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
282
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
283
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
284
|
+
| **filters** | [**string**] | | (optional) defaults to undefined|
|
|
269
285
|
|
|
270
286
|
|
|
271
287
|
### Return type
|
|
272
288
|
|
|
273
|
-
**
|
|
289
|
+
**ClubPlayersPaginatedResponse**
|
|
274
290
|
|
|
275
291
|
### Authorization
|
|
276
292
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ClubPlayersPaginatedResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**players** | [**Array<ClubPlayerResponse>**](ClubPlayerResponse.md) | Joueurs trouvés | [default to undefined]
|
|
9
|
+
**page** | **number** | Page courante (1-based) | [default to undefined]
|
|
10
|
+
**pageSize** | **number** | Nombre d\'éléments par page | [default to undefined]
|
|
11
|
+
**total** | **number** | Nombre total de joueurs | [default to undefined]
|
|
12
|
+
**totalPages** | **number** | Nombre total de pages disponibles | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ClubPlayersPaginatedResponse } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: ClubPlayersPaginatedResponse = {
|
|
20
|
+
players,
|
|
21
|
+
page,
|
|
22
|
+
pageSize,
|
|
23
|
+
total,
|
|
24
|
+
totalPages,
|
|
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)
|
package/docs/ClubsApi.md
CHANGED
|
@@ -22,7 +22,7 @@ All URIs are relative to *http://localhost*
|
|
|
22
22
|
# **getActiveClubs**
|
|
23
23
|
> Array<PartialClubActiveResponse> getActiveClubs()
|
|
24
24
|
|
|
25
|
-
Récupère la liste des clubs actifs publics
|
|
25
|
+
Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
26
26
|
|
|
27
27
|
### Example
|
|
28
28
|
|
|
@@ -476,7 +476,7 @@ No authorization required
|
|
|
476
476
|
# **getClubsWithVerificationDomains**
|
|
477
477
|
> Array<GetClubsWithVerificationDomains200ResponseInner> getClubsWithVerificationDomains()
|
|
478
478
|
|
|
479
|
-
Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
479
|
+
Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
480
480
|
|
|
481
481
|
### Example
|
|
482
482
|
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -353,11 +353,36 @@ import {
|
|
|
353
353
|
const configuration = new Configuration();
|
|
354
354
|
const apiInstance = new ClubsStaffApi(configuration);
|
|
355
355
|
|
|
356
|
-
|
|
356
|
+
let page: number; // (optional) (default to undefined)
|
|
357
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
358
|
+
let search: string; // (optional) (default to undefined)
|
|
359
|
+
let filters: string; // (optional) (default to undefined)
|
|
360
|
+
let status: string; // (optional) (default to undefined)
|
|
361
|
+
let startDate: string; // (optional) (default to undefined)
|
|
362
|
+
let endDate: string; // (optional) (default to undefined)
|
|
363
|
+
|
|
364
|
+
const { status, data } = await apiInstance.getInvoices(
|
|
365
|
+
page,
|
|
366
|
+
pageSize,
|
|
367
|
+
search,
|
|
368
|
+
filters,
|
|
369
|
+
status,
|
|
370
|
+
startDate,
|
|
371
|
+
endDate
|
|
372
|
+
);
|
|
357
373
|
```
|
|
358
374
|
|
|
359
375
|
### Parameters
|
|
360
|
-
|
|
376
|
+
|
|
377
|
+
|Name | Type | Description | Notes|
|
|
378
|
+
|------------- | ------------- | ------------- | -------------|
|
|
379
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
380
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
381
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
382
|
+
| **filters** | [**string**] | | (optional) defaults to undefined|
|
|
383
|
+
| **status** | [**string**] | | (optional) defaults to undefined|
|
|
384
|
+
| **startDate** | [**string**] | | (optional) defaults to undefined|
|
|
385
|
+
| **endDate** | [**string**] | | (optional) defaults to undefined|
|
|
361
386
|
|
|
362
387
|
|
|
363
388
|
### Return type
|
|
@@ -24,7 +24,8 @@ Name | Type | Description | Notes
|
|
|
24
24
|
**teamLimit** | **number** | | [optional] [default to undefined]
|
|
25
25
|
**price** | **number** | | [optional] [default to undefined]
|
|
26
26
|
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
|
|
27
|
-
**levels** | **Array<
|
|
27
|
+
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
28
|
+
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
28
29
|
**visibilityType** | **string** | | [default to undefined]
|
|
29
30
|
|
|
30
31
|
## Example
|
|
@@ -53,6 +54,7 @@ const instance: CreateEventRequest = {
|
|
|
53
54
|
price,
|
|
54
55
|
subscriberPrices,
|
|
55
56
|
levels,
|
|
57
|
+
sponsors,
|
|
56
58
|
visibilityType,
|
|
57
59
|
};
|
|
58
60
|
```
|
package/docs/EventResponse.md
CHANGED
|
@@ -26,6 +26,8 @@ Name | Type | Description | Notes
|
|
|
26
26
|
**price** | **number** | | [optional] [default to undefined]
|
|
27
27
|
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
|
|
28
28
|
**visibilityType** | **string** | | [default to undefined]
|
|
29
|
+
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
30
|
+
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
29
31
|
**createdBy** | **string** | | [optional] [default to undefined]
|
|
30
32
|
**isActive** | **boolean** | | [default to undefined]
|
|
31
33
|
**createdAt** | **string** | | [default to undefined]
|
|
@@ -58,6 +60,8 @@ const instance: EventResponse = {
|
|
|
58
60
|
price,
|
|
59
61
|
subscriberPrices,
|
|
60
62
|
visibilityType,
|
|
63
|
+
levels,
|
|
64
|
+
sponsors,
|
|
61
65
|
createdBy,
|
|
62
66
|
isActive,
|
|
63
67
|
createdAt,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# EventSponsor
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**website** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**logo** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { EventSponsor } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: EventSponsor = {
|
|
18
|
+
name,
|
|
19
|
+
website,
|
|
20
|
+
logo,
|
|
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)
|