@tennac-booking/sdk 1.0.118 → 1.0.120

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.
Files changed (67) hide show
  1. package/.openapi-generator/FILES +313 -309
  2. package/README.md +20 -16
  3. package/api.ts +1052 -641
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +826 -511
  8. package/dist/api.js +327 -235
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +826 -511
  16. package/dist/esm/api.js +326 -234
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingsStaffApi.md +117 -0
  28. package/docs/BookingsUserApi.md +1 -1
  29. package/docs/ClientApi.md +2 -49
  30. package/docs/ClientFullOnboardingResponseClub.md +0 -2
  31. package/docs/ClientOnboardingRequestBody.md +0 -2
  32. package/docs/ClubAnalyticsStaffApi.md +20 -4
  33. package/docs/ClubPlayersPaginatedResponse.md +28 -0
  34. package/docs/ClubSettingsManagerApi.md +2 -2
  35. package/docs/ClubsApi.md +2 -2
  36. package/docs/ClubsStaffApi.md +27 -2
  37. package/docs/CreateEventRequest.md +3 -1
  38. package/docs/EventResponse.md +5 -3
  39. package/docs/EventSponsor.md +24 -0
  40. package/docs/EventsApi.md +0 -115
  41. package/docs/JoinEventRequest.md +0 -2
  42. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
  43. package/docs/JoinEventResponse.md +0 -14
  44. package/docs/SendSubscriptionInvitationRequest.md +22 -0
  45. package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
  46. package/docs/StaffBookingCourtSummary.md +26 -0
  47. package/docs/StaffBookingCustomerPayload.md +28 -0
  48. package/docs/StaffBookingListItem.md +54 -0
  49. package/docs/StaffBookingPaymentState.md +18 -0
  50. package/docs/StaffBookingPaymentSummary.md +34 -0
  51. package/docs/StaffBookingSportSummary.md +24 -0
  52. package/docs/StaffBookingUserSummary.md +28 -0
  53. package/docs/StaffBookingsPaginatedResponse.md +28 -0
  54. package/docs/StaffCreateBookingRequest.md +26 -0
  55. package/docs/SubscriptionsStaffApi.md +55 -0
  56. package/docs/Team.md +1 -1
  57. package/docs/UpdateEventRequest.md +6 -0
  58. package/index.ts +1 -1
  59. package/package.json +1 -1
  60. package/docs/ClientSubscription.md +0 -31
  61. package/docs/ClientSubscriptionItem.md +0 -25
  62. package/docs/ClientSubscriptionsResponse.md +0 -21
  63. package/docs/EstimateEventPrice200Response.md +0 -32
  64. package/docs/EstimateEventPriceRequest.md +0 -26
  65. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  66. package/docs/EventUser.md +0 -28
  67. package/docs/JoinEventResponseOnsitePaymentsInner.md +0 -24
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.118
5
+ * The version of the OpenAPI document: 1.0.110
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.118
7
+ * The version of the OpenAPI document: 1.0.110
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.118
5
+ * The version of the OpenAPI document: 1.0.110
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.118
7
+ * The version of the OpenAPI document: 1.0.110
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.118
5
+ * The version of the OpenAPI document: 1.0.110
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.118
7
+ * The version of the OpenAPI document: 1.0.110
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.118
5
+ * The version of the OpenAPI document: 1.0.110
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.118
7
+ * The version of the OpenAPI document: 1.0.110
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.118
5
+ * The version of the OpenAPI document: 1.0.110
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.118
8
+ * The version of the OpenAPI document: 1.0.110
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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
+
@@ -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 Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
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 - Crée l\'utilisateur avec un Stripe Customer
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 - 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
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
- > Array<ClubPlayerResponse> getClubPlayers()
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
- const { status, data } = await apiInstance.getClubPlayers();
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
- This endpoint does not have any parameters.
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
- **Array<ClubPlayerResponse>**
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&lt;ClubPlayerResponse&gt;**](ClubPlayerResponse.md) | Joueurs trouvés | [default to undefined]
9
+ **page** | **number** | Page courante (1-based) | [default to undefined]
10
+ **pageSize** | **number** | Nombre d\&#39;é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)
@@ -4,9 +4,9 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**updateClubGeneralSettings**](#updateclubgeneralsettings) | **PATCH** /api/club-settings/settings/general | |
7
+ |[**updateClubGeneralSettings**](#updateclubgeneralsettings) | **PUT** /api/club-settings/settings/general | |
8
8
  |[**updateHoursSettings**](#updatehourssettings) | **PUT** /api/club-settings/hours | |
9
- |[**updatePresentationSettings**](#updatepresentationsettings) | **PATCH** /api/club-settings/presentation | |
9
+ |[**updatePresentationSettings**](#updatepresentationsettings) | **PUT** /api/club-settings/presentation | |
10
10
  |[**updateReservationSettings**](#updatereservationsettings) | **PUT** /api/club-settings/reservation | |
11
11
 
12
12
  # **updateClubGeneralSettings**
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 Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
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 Accessible sans token
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
 
@@ -353,11 +353,36 @@ import {
353
353
  const configuration = new Configuration();
354
354
  const apiInstance = new ClubsStaffApi(configuration);
355
355
 
356
- const { status, data } = await apiInstance.getInvoices();
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
- This endpoint does not have any parameters.
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&lt;SubscriberPrice&gt;**](SubscriberPrice.md) | | [optional] [default to undefined]
27
- **levels** | **Array&lt;number&gt;** | | [optional] [default to undefined]
27
+ **levels** | **Array&lt;string | null&gt;** | | [optional] [default to undefined]
28
+ **sponsors** | [**Array&lt;EventSponsor&gt;**](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
  ```
@@ -18,14 +18,15 @@ Name | Type | Description | Notes
18
18
  **recurringType** | **string** | | [default to undefined]
19
19
  **recurrenceEndDate** | **string** | | [optional] [default to undefined]
20
20
  **participationType** | **string** | | [default to undefined]
21
- **participants** | [**Array&lt;EventUser&gt;**](EventUser.md) | | [optional] [default to undefined]
21
+ **participants** | **Array&lt;string&gt;** | | [optional] [default to undefined]
22
22
  **teams** | [**Array&lt;Team&gt;**](Team.md) | | [optional] [default to undefined]
23
23
  **playerLimit** | **number** | | [optional] [default to undefined]
24
24
  **teamLimit** | **number** | | [optional] [default to undefined]
25
- **playersPerTeam** | **number** | | [optional] [default to undefined]
26
25
  **price** | **number** | | [optional] [default to undefined]
27
26
  **subscriberPrices** | [**Array&lt;SubscriberPrice&gt;**](SubscriberPrice.md) | | [optional] [default to undefined]
28
27
  **visibilityType** | **string** | | [default to undefined]
28
+ **levels** | **Array&lt;string | null&gt;** | | [optional] [default to undefined]
29
+ **sponsors** | [**Array&lt;EventSponsor&gt;**](EventSponsor.md) | | [optional] [default to undefined]
29
30
  **createdBy** | **string** | | [optional] [default to undefined]
30
31
  **isActive** | **boolean** | | [default to undefined]
31
32
  **createdAt** | **string** | | [default to undefined]
@@ -54,10 +55,11 @@ const instance: EventResponse = {
54
55
  teams,
55
56
  playerLimit,
56
57
  teamLimit,
57
- playersPerTeam,
58
58
  price,
59
59
  subscriberPrices,
60
60
  visibilityType,
61
+ levels,
62
+ sponsors,
61
63
  createdBy,
62
64
  isActive,
63
65
  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)