@tennac-booking/sdk 1.0.18 → 1.0.20

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 (58) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +31 -3
  3. package/api.ts +1983 -271
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1472 -245
  8. package/dist/api.js +944 -116
  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 +1472 -245
  16. package/dist/esm/api.js +927 -111
  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/BookingPaymentStatusResponse.md +24 -0
  28. package/docs/BookingPaymentStatusResponseBooking.md +26 -0
  29. package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
  30. package/docs/BookingPaymentStatusResponseSummary.md +28 -0
  31. package/docs/BookingsApi.md +68 -0
  32. package/docs/CancelBookingRequest.md +20 -0
  33. package/docs/CancelBookingResponse.md +2 -2
  34. package/docs/CancelBookingResponseBooking.md +6 -6
  35. package/docs/CheckInPlayersRequest.md +20 -0
  36. package/docs/CheckInPlayersResponse.md +30 -0
  37. package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
  38. package/docs/ClubAnalyticsApi.md +253 -0
  39. package/docs/ClubInfoResponse.md +2 -0
  40. package/docs/DailyTurnoverResponse.md +24 -0
  41. package/docs/GetLastSixMonthsTurnover200ResponseInner.md +1 -1
  42. package/docs/InvoicesResponse.md +22 -0
  43. package/docs/InvoicesResponseInvoicesInner.md +34 -0
  44. package/docs/InvoicesResponsePagination.md +26 -0
  45. package/docs/ManagerBookingsApi.md +243 -0
  46. package/docs/ManagerCancelBookingRequest.md +20 -0
  47. package/docs/ManagerCancelBookingResponse.md +2 -2
  48. package/docs/ManagerCancelBookingResponseBooking.md +6 -6
  49. package/docs/MonthlyTurnoverResponse.md +28 -0
  50. package/docs/NoShowFeeResponse.md +30 -0
  51. package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
  52. package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
  53. package/docs/StaffClubAnalyticsApi.md +3 -10
  54. package/docs/StaffClubSettingsApi.md +5 -13
  55. package/docs/YearlyTurnoverResponse.md +26 -0
  56. package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
  57. package/index.ts +1 -1
  58. package/package.json +1 -1
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **phone** | **string** | | [optional] [default to undefined]
15
15
  **email** | **string** | | [optional] [default to undefined]
16
16
  **website** | **string** | | [optional] [default to undefined]
17
+ **rib** | **string** | | [optional] [default to undefined]
17
18
  **description** | **string** | | [optional] [default to undefined]
18
19
  **logo** | **string** | | [optional] [default to undefined]
19
20
  **isActive** | **boolean** | | [optional] [default to undefined]
@@ -35,6 +36,7 @@ const instance: ClubInfoResponse = {
35
36
  phone,
36
37
  email,
37
38
  website,
39
+ rib,
38
40
  description,
39
41
  logo,
40
42
  isActive,
@@ -0,0 +1,24 @@
1
+ # DailyTurnoverResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **date** | **string** | | [optional] [default to undefined]
9
+ **totalTurnover** | **number** | | [optional] [default to undefined]
10
+ **invoiceCount** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DailyTurnoverResponse } from '@tennac-booking/sdk';
16
+
17
+ const instance: DailyTurnoverResponse = {
18
+ date,
19
+ totalTurnover,
20
+ invoiceCount,
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)
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **year** | **number** | | [optional] [default to undefined]
9
- **month** | **number** | | [optional] [default to undefined]
9
+ **month** | **string** | | [optional] [default to undefined]
10
10
  **total** | **number** | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
@@ -0,0 +1,22 @@
1
+ # InvoicesResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **invoices** | [**Array<InvoicesResponseInvoicesInner>**](InvoicesResponseInvoicesInner.md) | | [optional] [default to undefined]
9
+ **pagination** | [**InvoicesResponsePagination**](InvoicesResponsePagination.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { InvoicesResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: InvoicesResponse = {
17
+ invoices,
18
+ pagination,
19
+ };
20
+ ```
21
+
22
+ [[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,34 @@
1
+ # InvoicesResponseInvoicesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **billNumber** | **string** | | [optional] [default to undefined]
9
+ **date** | **string** | | [optional] [default to undefined]
10
+ **clientFirstName** | **string** | | [optional] [default to undefined]
11
+ **clientLastName** | **string** | | [optional] [default to undefined]
12
+ **clientEmail** | **string** | | [optional] [default to undefined]
13
+ **totalCost** | **number** | | [optional] [default to undefined]
14
+ **status** | **string** | | [optional] [default to undefined]
15
+ **linkToInvoicePDF** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { InvoicesResponseInvoicesInner } from '@tennac-booking/sdk';
21
+
22
+ const instance: InvoicesResponseInvoicesInner = {
23
+ billNumber,
24
+ date,
25
+ clientFirstName,
26
+ clientLastName,
27
+ clientEmail,
28
+ totalCost,
29
+ status,
30
+ linkToInvoicePDF,
31
+ };
32
+ ```
33
+
34
+ [[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,26 @@
1
+ # InvoicesResponsePagination
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [optional] [default to undefined]
9
+ **page** | **number** | | [optional] [default to undefined]
10
+ **limit** | **number** | | [optional] [default to undefined]
11
+ **totalPages** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { InvoicesResponsePagination } from '@tennac-booking/sdk';
17
+
18
+ const instance: InvoicesResponsePagination = {
19
+ total,
20
+ page,
21
+ limit,
22
+ totalPages,
23
+ };
24
+ ```
25
+
26
+ [[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,243 @@
1
+ # ManagerBookingsApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**applyNoShowFee**](#applynoshowfee) | **POST** /api/bookings/{bookingId}/apply-noshow-fee | Appliquer les frais de no-show|
8
+ |[**checkInPlayers**](#checkinplayers) | **POST** /api/bookings/{bookingId}/checkin-players | Enregistrer l\'arrivée des joueurs|
9
+ |[**getBookingPaymentStatus**](#getbookingpaymentstatus) | **GET** /api/bookings/{bookingId}/payment-status | Obtenir le statut des paiements d\'une réservation|
10
+ |[**managerCancelBooking**](#managercancelbooking) | **DELETE** /api/bookings/{bookingId}/manager-cancel | Annuler une réservation (gestionnaire)|
11
+
12
+ # **applyNoShowFee**
13
+ > NoShowFeeResponse applyNoShowFee()
14
+
15
+ Applique les frais de no-show à une réservation. Capture automatiquement les paiements autorisés et charge le créateur pour le montant manquant.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ ManagerBookingsApi,
22
+ Configuration
23
+ } from '@tennac-booking/sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new ManagerBookingsApi(configuration);
27
+
28
+ let bookingId: string; //ID MongoDB de la réservation (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.applyNoShowFee(
31
+ bookingId
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **bookingId** | [**string**] | ID MongoDB de la réservation | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **NoShowFeeResponse**
45
+
46
+ ### Authorization
47
+
48
+ [bearerAuth](../README.md#bearerAuth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Frais de no-show appliqués avec succès | - |
60
+ |**400** | Requête invalide | - |
61
+ |**401** | Non autorisé | - |
62
+ |**403** | Accès interdit | - |
63
+ |**404** | Ressource non trouvée | - |
64
+ |**500** | Erreur serveur interne | - |
65
+
66
+ [[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)
67
+
68
+ # **checkInPlayers**
69
+ > CheckInPlayersResponse checkInPlayers(checkInPlayersRequest)
70
+
71
+ Enregistre l\'arrivée et le paiement des joueurs pour une réservation avec paiement sur place. Met à jour le statut des factures.
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ ManagerBookingsApi,
78
+ Configuration,
79
+ CheckInPlayersRequest
80
+ } from '@tennac-booking/sdk';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new ManagerBookingsApi(configuration);
84
+
85
+ let bookingId: string; //ID MongoDB de la réservation (default to undefined)
86
+ let checkInPlayersRequest: CheckInPlayersRequest; //
87
+
88
+ const { status, data } = await apiInstance.checkInPlayers(
89
+ bookingId,
90
+ checkInPlayersRequest
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **checkInPlayersRequest** | **CheckInPlayersRequest**| | |
99
+ | **bookingId** | [**string**] | ID MongoDB de la réservation | defaults to undefined|
100
+
101
+
102
+ ### Return type
103
+
104
+ **CheckInPlayersResponse**
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
+ |**200** | Check-in effectué avec succès | - |
120
+ |**400** | Requête invalide | - |
121
+ |**401** | Non autorisé | - |
122
+ |**403** | Accès interdit | - |
123
+ |**404** | Réservation non trouvée | - |
124
+ |**500** | Erreur serveur interne | - |
125
+
126
+ [[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)
127
+
128
+ # **getBookingPaymentStatus**
129
+ > BookingPaymentStatusResponse getBookingPaymentStatus()
130
+
131
+ Récupère le statut détaillé des paiements pour tous les joueurs d\'une réservation. Utile pour l\'interface de check-in.
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ ManagerBookingsApi,
138
+ Configuration
139
+ } from '@tennac-booking/sdk';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new ManagerBookingsApi(configuration);
143
+
144
+ let bookingId: string; //ID MongoDB de la réservation (default to undefined)
145
+
146
+ const { status, data } = await apiInstance.getBookingPaymentStatus(
147
+ bookingId
148
+ );
149
+ ```
150
+
151
+ ### Parameters
152
+
153
+ |Name | Type | Description | Notes|
154
+ |------------- | ------------- | ------------- | -------------|
155
+ | **bookingId** | [**string**] | ID MongoDB de la réservation | defaults to undefined|
156
+
157
+
158
+ ### Return type
159
+
160
+ **BookingPaymentStatusResponse**
161
+
162
+ ### Authorization
163
+
164
+ [bearerAuth](../README.md#bearerAuth)
165
+
166
+ ### HTTP request headers
167
+
168
+ - **Content-Type**: Not defined
169
+ - **Accept**: application/json
170
+
171
+
172
+ ### HTTP response details
173
+ | Status code | Description | Response headers |
174
+ |-------------|-------------|------------------|
175
+ |**200** | Statut des paiements récupéré avec succès | - |
176
+ |**400** | ID de réservation invalide | - |
177
+ |**401** | Non autorisé | - |
178
+ |**403** | Accès interdit | - |
179
+ |**404** | Réservation non trouvée | - |
180
+ |**500** | Erreur serveur interne | - |
181
+
182
+ [[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)
183
+
184
+ # **managerCancelBooking**
185
+ > ManagerCancelBookingResponse managerCancelBooking(managerCancelBookingRequest)
186
+
187
+ Permet à un gestionnaire d\'annuler n\'importe quelle réservation avec une raison obligatoire. Effectue un remboursement automatique si le paiement a été fait en ligne.
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ ManagerBookingsApi,
194
+ Configuration,
195
+ ManagerCancelBookingRequest
196
+ } from '@tennac-booking/sdk';
197
+
198
+ const configuration = new Configuration();
199
+ const apiInstance = new ManagerBookingsApi(configuration);
200
+
201
+ let bookingId: string; //ID MongoDB de la réservation à annuler (default to undefined)
202
+ let managerCancelBookingRequest: ManagerCancelBookingRequest; //
203
+
204
+ const { status, data } = await apiInstance.managerCancelBooking(
205
+ bookingId,
206
+ managerCancelBookingRequest
207
+ );
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ |Name | Type | Description | Notes|
213
+ |------------- | ------------- | ------------- | -------------|
214
+ | **managerCancelBookingRequest** | **ManagerCancelBookingRequest**| | |
215
+ | **bookingId** | [**string**] | ID MongoDB de la réservation à annuler | defaults to undefined|
216
+
217
+
218
+ ### Return type
219
+
220
+ **ManagerCancelBookingResponse**
221
+
222
+ ### Authorization
223
+
224
+ [bearerAuth](../README.md#bearerAuth)
225
+
226
+ ### HTTP request headers
227
+
228
+ - **Content-Type**: application/json
229
+ - **Accept**: application/json
230
+
231
+
232
+ ### HTTP response details
233
+ | Status code | Description | Response headers |
234
+ |-------------|-------------|------------------|
235
+ |**200** | Réservation annulée par le gestionnaire avec succès | - |
236
+ |**400** | Requête invalide | - |
237
+ |**401** | Non autorisé | - |
238
+ |**403** | Accès interdit | - |
239
+ |**404** | Réservation non trouvée | - |
240
+ |**500** | Erreur serveur interne | - |
241
+
242
+ [[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)
243
+
@@ -0,0 +1,20 @@
1
+ # ManagerCancelBookingRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **reason** | **string** | Raison obligatoire de l\'annulation par le gestionnaire | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ManagerCancelBookingRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: ManagerCancelBookingRequest = {
16
+ reason,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [default to undefined]
9
- **booking** | [**ManagerCancelBookingResponseBooking**](ManagerCancelBookingResponseBooking.md) | | [default to undefined]
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **booking** | [**ManagerCancelBookingResponseBooking**](ManagerCancelBookingResponseBooking.md) | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -5,12 +5,12 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | ID de la réservation | [default to undefined]
9
- **status** | **string** | Nouveau statut de la réservation | [default to undefined]
10
- **cancellationReason** | **string** | Raison de l\'annulation par le gestionnaire | [default to undefined]
11
- **cancelledAt** | **string** | Date et heure d\'annulation | [default to undefined]
12
- **cancelledBy** | **string** | ID du gestionnaire qui a annulé | [default to undefined]
13
- **cancelledByManager** | **boolean** | Toujours true pour les annulations par gestionnaire | [default to undefined]
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+ **cancellationReason** | **string** | | [optional] [default to undefined]
11
+ **cancelledAt** | **string** | | [optional] [default to undefined]
12
+ **cancelledBy** | **string** | | [optional] [default to undefined]
13
+ **cancelledByManager** | **boolean** | | [optional] [default to undefined]
14
14
 
15
15
  ## Example
16
16
 
@@ -0,0 +1,28 @@
1
+ # MonthlyTurnoverResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **year** | **number** | | [optional] [default to undefined]
9
+ **month** | **number** | | [optional] [default to undefined]
10
+ **totalTurnover** | **number** | | [optional] [default to undefined]
11
+ **invoiceCount** | **number** | | [optional] [default to undefined]
12
+ **period** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { MonthlyTurnoverResponse } from '@tennac-booking/sdk';
18
+
19
+ const instance: MonthlyTurnoverResponse = {
20
+ year,
21
+ month,
22
+ totalTurnover,
23
+ invoiceCount,
24
+ period,
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)
@@ -0,0 +1,30 @@
1
+ # NoShowFeeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **totalExpected** | **number** | | [optional] [default to undefined]
10
+ **totalCaptured** | **number** | | [optional] [default to undefined]
11
+ **missingAmount** | **number** | | [optional] [default to undefined]
12
+ **captureResults** | [**Array<NoShowFeeResponseCaptureResultsInner>**](NoShowFeeResponseCaptureResultsInner.md) | | [optional] [default to undefined]
13
+ **creatorChargeResult** | [**NoShowFeeResponseCreatorChargeResult**](NoShowFeeResponseCreatorChargeResult.md) | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { NoShowFeeResponse } from '@tennac-booking/sdk';
19
+
20
+ const instance: NoShowFeeResponse = {
21
+ message,
22
+ totalExpected,
23
+ totalCaptured,
24
+ missingAmount,
25
+ captureResults,
26
+ creatorChargeResult,
27
+ };
28
+ ```
29
+
30
+ [[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,30 @@
1
+ # NoShowFeeResponseCaptureResultsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **playerId** | **string** | | [optional] [default to undefined]
10
+ **paymentIntentId** | **string** | | [optional] [default to undefined]
11
+ **amount** | **number** | | [optional] [default to undefined]
12
+ **status** | **string** | | [optional] [default to undefined]
13
+ **error** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { NoShowFeeResponseCaptureResultsInner } from '@tennac-booking/sdk';
19
+
20
+ const instance: NoShowFeeResponseCaptureResultsInner = {
21
+ type,
22
+ playerId,
23
+ paymentIntentId,
24
+ amount,
25
+ status,
26
+ error,
27
+ };
28
+ ```
29
+
30
+ [[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,26 @@
1
+ # NoShowFeeResponseCreatorChargeResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **success** | **boolean** | | [optional] [default to undefined]
9
+ **paymentIntentId** | **string** | | [optional] [default to undefined]
10
+ **amount** | **number** | | [optional] [default to undefined]
11
+ **error** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { NoShowFeeResponseCreatorChargeResult } from '@tennac-booking/sdk';
17
+
18
+ const instance: NoShowFeeResponseCreatorChargeResult = {
19
+ success,
20
+ paymentIntentId,
21
+ amount,
22
+ error,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,7 @@ All URIs are relative to *https://api.mon-domaine.com*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getLastSixMonthsTurnover**](#getlastsixmonthsturnover) | **GET** /api/clubs/{id}/turnover | Get monthly turnover for the last six months|
8
- |[**getNumberOfClubUsers**](#getnumberofclubusers) | **GET** /api/clubs/{id}/user-count | Get number of users subscribed to the club|
8
+ |[**getNumberOfClubUsers**](#getnumberofclubusers) | **GET** /api/clubs/user-count | Get number of users subscribed to the club|
9
9
 
10
10
  # **getLastSixMonthsTurnover**
11
11
  > Array<GetLastSixMonthsTurnover200ResponseInner> getLastSixMonthsTurnover()
@@ -73,18 +73,11 @@ import {
73
73
  const configuration = new Configuration();
74
74
  const apiInstance = new StaffClubAnalyticsApi(configuration);
75
75
 
76
- let id: string; //ID du club (default to undefined)
77
-
78
- const { status, data } = await apiInstance.getNumberOfClubUsers(
79
- id
80
- );
76
+ const { status, data } = await apiInstance.getNumberOfClubUsers();
81
77
  ```
82
78
 
83
79
  ### Parameters
84
-
85
- |Name | Type | Description | Notes|
86
- |------------- | ------------- | ------------- | -------------|
87
- | **id** | [**string**] | ID du club | defaults to undefined|
80
+ This endpoint does not have any parameters.
88
81
 
89
82
 
90
83
  ### Return type
@@ -7,7 +7,7 @@ All URIs are relative to *https://api.mon-domaine.com*
7
7
  |[**getClubSettings**](#getclubsettings) | **GET** /api/club-settings | Récupère les paramètres d\&#39;un club|
8
8
 
9
9
  # **getClubSettings**
10
- > ClubSettings getClubSettings(getClubSettingsRequest)
10
+ > ClubSettings getClubSettings()
11
11
 
12
12
 
13
13
  ### Example
@@ -15,25 +15,17 @@ All URIs are relative to *https://api.mon-domaine.com*
15
15
  ```typescript
16
16
  import {
17
17
  StaffClubSettingsApi,
18
- Configuration,
19
- GetClubSettingsRequest
18
+ Configuration
20
19
  } from '@tennac-booking/sdk';
21
20
 
22
21
  const configuration = new Configuration();
23
22
  const apiInstance = new StaffClubSettingsApi(configuration);
24
23
 
25
- let getClubSettingsRequest: GetClubSettingsRequest; //
26
-
27
- const { status, data } = await apiInstance.getClubSettings(
28
- getClubSettingsRequest
29
- );
24
+ const { status, data } = await apiInstance.getClubSettings();
30
25
  ```
31
26
 
32
27
  ### Parameters
33
-
34
- |Name | Type | Description | Notes|
35
- |------------- | ------------- | ------------- | -------------|
36
- | **getClubSettingsRequest** | **GetClubSettingsRequest**| | |
28
+ This endpoint does not have any parameters.
37
29
 
38
30
 
39
31
  ### Return type
@@ -46,7 +38,7 @@ const { status, data } = await apiInstance.getClubSettings(
46
38
 
47
39
  ### HTTP request headers
48
40
 
49
- - **Content-Type**: application/json
41
+ - **Content-Type**: Not defined
50
42
  - **Accept**: application/json
51
43
 
52
44
 
@@ -0,0 +1,26 @@
1
+ # YearlyTurnoverResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **year** | **number** | | [optional] [default to undefined]
9
+ **totalTurnover** | **number** | | [optional] [default to undefined]
10
+ **totalInvoices** | **number** | | [optional] [default to undefined]
11
+ **monthlyBreakdown** | [**Array&lt;YearlyTurnoverResponseMonthlyBreakdownInner&gt;**](YearlyTurnoverResponseMonthlyBreakdownInner.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { YearlyTurnoverResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: YearlyTurnoverResponse = {
19
+ year,
20
+ totalTurnover,
21
+ totalInvoices,
22
+ monthlyBreakdown,
23
+ };
24
+ ```
25
+
26
+ [[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,24 @@
1
+ # YearlyTurnoverResponseMonthlyBreakdownInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **month** | **number** | | [optional] [default to undefined]
9
+ **monthlyTurnover** | **number** | | [optional] [default to undefined]
10
+ **invoiceCount** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { YearlyTurnoverResponseMonthlyBreakdownInner } from '@tennac-booking/sdk';
16
+
17
+ const instance: YearlyTurnoverResponseMonthlyBreakdownInner = {
18
+ month,
19
+ monthlyTurnover,
20
+ invoiceCount,
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)