@tennac-booking/sdk 1.0.184 → 1.0.186

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 (54) hide show
  1. package/.openapi-generator/FILES +2 -19
  2. package/README.md +7 -29
  3. package/api.ts +334 -1613
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +254 -1113
  8. package/dist/api.js +186 -893
  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 +254 -1113
  16. package/dist/esm/api.js +182 -876
  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/BookingsApi.md +5 -5
  28. package/docs/BookingsStaffApi.md +1 -57
  29. package/docs/EventsStaffApi.md +119 -25
  30. package/docs/JoinOpenBookingRequest.md +26 -0
  31. package/docs/StaffEventsPageResponse.md +22 -0
  32. package/docs/UserClubMembership.md +2 -0
  33. package/docs/UserProfileResponse.md +2 -0
  34. package/index.ts +1 -1
  35. package/package.json +1 -1
  36. package/docs/CheckInPlayerSumupRequest.md +0 -22
  37. package/docs/CheckInPlayerSumupResponse.md +0 -24
  38. package/docs/CheckInSumupPaymentInfo.md +0 -26
  39. package/docs/PaymentIntentResult.md +0 -28
  40. package/docs/PaymentProviderType.md +0 -10
  41. package/docs/PaymentStatus.md +0 -14
  42. package/docs/PaymentsStaffApi.md +0 -124
  43. package/docs/StaffEventsPaginatedResponse.md +0 -26
  44. package/docs/SumUpApi.md +0 -63
  45. package/docs/SumUpManagerApi.md +0 -332
  46. package/docs/SumupAccountStatusResponse.md +0 -32
  47. package/docs/SumupCancelPaymentRequest.md +0 -20
  48. package/docs/SumupConnectUrlResponse.md +0 -20
  49. package/docs/SumupCreatePaymentRequest.md +0 -32
  50. package/docs/SumupOAuthCallbackResponse.md +0 -24
  51. package/docs/SumupPairReaderRequest.md +0 -22
  52. package/docs/SumupPairReaderResponse.md +0 -20
  53. package/docs/SumupReaderInfo.md +0 -34
  54. package/docs/SumupReadersResponse.md +0 -20
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.177
5
+ * The version of the OpenAPI document: 1.0.185
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.177
7
+ * The version of the OpenAPI document: 1.0.185
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.177
5
+ * The version of the OpenAPI document: 1.0.185
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.177
7
+ * The version of the OpenAPI document: 1.0.185
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.177
5
+ * The version of the OpenAPI document: 1.0.185
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.177
7
+ * The version of the OpenAPI document: 1.0.185
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.177
5
+ * The version of the OpenAPI document: 1.0.185
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.177
7
+ * The version of the OpenAPI document: 1.0.185
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.177
5
+ * The version of the OpenAPI document: 1.0.185
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.177
8
+ * The version of the OpenAPI document: 1.0.185
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -513,7 +513,7 @@ No authorization required
513
513
  [[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)
514
514
 
515
515
  # **joinOpenBooking**
516
- > JoinOpenBookingResponse joinOpenBooking(joinOpenEventBookingRequest)
516
+ > JoinOpenBookingResponse joinOpenBooking(joinOpenBookingRequest)
517
517
 
518
518
 
519
519
  ### Example
@@ -522,18 +522,18 @@ No authorization required
522
522
  import {
523
523
  BookingsApi,
524
524
  Configuration,
525
- JoinOpenEventBookingRequest
525
+ JoinOpenBookingRequest
526
526
  } from '@tennac-booking/sdk';
527
527
 
528
528
  const configuration = new Configuration();
529
529
  const apiInstance = new BookingsApi(configuration);
530
530
 
531
531
  let bookingId: string; // (default to undefined)
532
- let joinOpenEventBookingRequest: JoinOpenEventBookingRequest; //
532
+ let joinOpenBookingRequest: JoinOpenBookingRequest; //
533
533
 
534
534
  const { status, data } = await apiInstance.joinOpenBooking(
535
535
  bookingId,
536
- joinOpenEventBookingRequest
536
+ joinOpenBookingRequest
537
537
  );
538
538
  ```
539
539
 
@@ -541,7 +541,7 @@ const { status, data } = await apiInstance.joinOpenBooking(
541
541
 
542
542
  |Name | Type | Description | Notes|
543
543
  |------------- | ------------- | ------------- | -------------|
544
- | **joinOpenEventBookingRequest** | **JoinOpenEventBookingRequest**| | |
544
+ | **joinOpenBookingRequest** | **JoinOpenBookingRequest**| | |
545
545
  | **bookingId** | [**string**] | | defaults to undefined|
546
546
 
547
547
 
@@ -5,7 +5,6 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**checkInPlayer**](#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in | |
8
- |[**checkInPlayerWithSumup**](#checkinplayerwithsumup) | **POST** /api/bookings/{bookingId}/check-in/sumup | |
9
8
  |[**createStaffBooking**](#createstaffbooking) | **POST** /api/bookings/staff | |
10
9
  |[**getBookingById**](#getbookingbyid) | **GET** /api/bookings/{bookingId} | |
11
10
  |[**getBookingHistoryStaff**](#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} | |
@@ -17,7 +16,7 @@ All URIs are relative to *http://localhost*
17
16
  # **checkInPlayer**
18
17
  > CheckInPlayerResponse checkInPlayer(checkInPlayerRequest)
19
18
 
20
- Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
19
+ Check-in d\'un joueur (paiement en ligne ou sur place)
21
20
 
22
21
  ### Example
23
22
 
@@ -69,61 +68,6 @@ const { status, data } = await apiInstance.checkInPlayer(
69
68
 
70
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)
71
70
 
72
- # **checkInPlayerWithSumup**
73
- > CheckInPlayerSumupResponse checkInPlayerWithSumup(checkInPlayerSumupRequest)
74
-
75
- Check-in d\'un joueur avec création d\'un checkout SumUp
76
-
77
- ### Example
78
-
79
- ```typescript
80
- import {
81
- BookingsStaffApi,
82
- Configuration,
83
- CheckInPlayerSumupRequest
84
- } from '@tennac-booking/sdk';
85
-
86
- const configuration = new Configuration();
87
- const apiInstance = new BookingsStaffApi(configuration);
88
-
89
- let bookingId: string; // (default to undefined)
90
- let checkInPlayerSumupRequest: CheckInPlayerSumupRequest; //
91
-
92
- const { status, data } = await apiInstance.checkInPlayerWithSumup(
93
- bookingId,
94
- checkInPlayerSumupRequest
95
- );
96
- ```
97
-
98
- ### Parameters
99
-
100
- |Name | Type | Description | Notes|
101
- |------------- | ------------- | ------------- | -------------|
102
- | **checkInPlayerSumupRequest** | **CheckInPlayerSumupRequest**| | |
103
- | **bookingId** | [**string**] | | defaults to undefined|
104
-
105
-
106
- ### Return type
107
-
108
- **CheckInPlayerSumupResponse**
109
-
110
- ### Authorization
111
-
112
- [bearerAuth](../README.md#bearerAuth)
113
-
114
- ### HTTP request headers
115
-
116
- - **Content-Type**: application/json
117
- - **Accept**: application/json
118
-
119
-
120
- ### HTTP response details
121
- | Status code | Description | Response headers |
122
- |-------------|-------------|------------------|
123
- |**200** | Checkout SumUp déclenché | - |
124
-
125
- [[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)
126
-
127
71
  # **createStaffBooking**
128
72
  > BookingResponse createStaffBooking(staffCreateBookingRequest)
129
73
 
@@ -6,9 +6,11 @@ All URIs are relative to *http://localhost*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**checkInEventParticipants**](#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in | |
8
8
  |[**getDailyEvents**](#getdailyevents) | **GET** /api/events/calendar/daily | |
9
+ |[**getDraftEventsByClub**](#getdrafteventsbyclub) | **GET** /api/events/staff/getEvents/drafts | |
9
10
  |[**getEventByIdForStaff**](#geteventbyidforstaff) | **GET** /api/events/staff/{eventId} | |
10
- |[**getEventsByClub**](#geteventsbyclub) | **GET** /api/events/staff/getEvents | |
11
11
  |[**getMonthlyEvents**](#getmonthlyevents) | **GET** /api/events/calendar/monthly | |
12
+ |[**getPastEventsByClub**](#getpasteventsbyclub) | **GET** /api/events/staff/getEvents/past | |
13
+ |[**getUpcomingEventsByClub**](#getupcomingeventsbyclub) | **GET** /api/events/staff/getEvents/upcoming | |
12
14
  |[**getWeeklyEvents**](#getweeklyevents) | **GET** /api/events/calendar/weekly | |
13
15
 
14
16
  # **checkInEventParticipants**
@@ -134,10 +136,9 @@ const { status, data } = await apiInstance.getDailyEvents(
134
136
 
135
137
  [[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)
136
138
 
137
- # **getEventByIdForStaff**
138
- > StaffEventDetailResponse getEventByIdForStaff()
139
+ # **getDraftEventsByClub**
140
+ > StaffEventsPageResponse getDraftEventsByClub()
139
141
 
140
- Get a specific event by ID (staff)
141
142
 
142
143
  ### Example
143
144
 
@@ -150,23 +151,16 @@ import {
150
151
  const configuration = new Configuration();
151
152
  const apiInstance = new EventsStaffApi(configuration);
152
153
 
153
- let eventId: string; // (default to undefined)
154
-
155
- const { status, data } = await apiInstance.getEventByIdForStaff(
156
- eventId
157
- );
154
+ const { status, data } = await apiInstance.getDraftEventsByClub();
158
155
  ```
159
156
 
160
157
  ### Parameters
161
-
162
- |Name | Type | Description | Notes|
163
- |------------- | ------------- | ------------- | -------------|
164
- | **eventId** | [**string**] | | defaults to undefined|
158
+ This endpoint does not have any parameters.
165
159
 
166
160
 
167
161
  ### Return type
168
162
 
169
- **StaffEventDetailResponse**
163
+ **StaffEventsPageResponse**
170
164
 
171
165
  ### Authorization
172
166
 
@@ -181,16 +175,17 @@ const { status, data } = await apiInstance.getEventByIdForStaff(
181
175
  ### HTTP response details
182
176
  | Status code | Description | Response headers |
183
177
  |-------------|-------------|------------------|
184
- |**200** | Event details | - |
178
+ |**200** | Draft events | - |
185
179
  |**400** | Bad Request | - |
186
- |**404** | Not Found | - |
180
+ |**401** | Unauthorized | - |
181
+ |**500** | Server Error | - |
187
182
 
188
183
  [[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)
189
184
 
190
- # **getEventsByClub**
191
- > StaffEventsPaginatedResponse getEventsByClub()
185
+ # **getEventByIdForStaff**
186
+ > StaffEventDetailResponse getEventByIdForStaff()
192
187
 
193
- // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
188
+ Get a specific event by ID (staff)
194
189
 
195
190
  ### Example
196
191
 
@@ -203,16 +198,23 @@ import {
203
198
  const configuration = new Configuration();
204
199
  const apiInstance = new EventsStaffApi(configuration);
205
200
 
206
- const { status, data } = await apiInstance.getEventsByClub();
201
+ let eventId: string; // (default to undefined)
202
+
203
+ const { status, data } = await apiInstance.getEventByIdForStaff(
204
+ eventId
205
+ );
207
206
  ```
208
207
 
209
208
  ### Parameters
210
- This endpoint does not have any parameters.
209
+
210
+ |Name | Type | Description | Notes|
211
+ |------------- | ------------- | ------------- | -------------|
212
+ | **eventId** | [**string**] | | defaults to undefined|
211
213
 
212
214
 
213
215
  ### Return type
214
216
 
215
- **StaffEventsPaginatedResponse**
217
+ **StaffEventDetailResponse**
216
218
 
217
219
  ### Authorization
218
220
 
@@ -227,10 +229,9 @@ This endpoint does not have any parameters.
227
229
  ### HTTP response details
228
230
  | Status code | Description | Response headers |
229
231
  |-------------|-------------|------------------|
230
- |**200** | List of events | - |
232
+ |**200** | Event details | - |
231
233
  |**400** | Bad Request | - |
232
- |**401** | Unauthorized | - |
233
- |**500** | Server Error | - |
234
+ |**404** | Not Found | - |
234
235
 
235
236
  [[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)
236
237
 
@@ -299,6 +300,99 @@ const { status, data } = await apiInstance.getMonthlyEvents(
299
300
 
300
301
  [[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)
301
302
 
303
+ # **getPastEventsByClub**
304
+ > StaffEventsPageResponse getPastEventsByClub()
305
+
306
+
307
+ ### Example
308
+
309
+ ```typescript
310
+ import {
311
+ EventsStaffApi,
312
+ Configuration
313
+ } from '@tennac-booking/sdk';
314
+
315
+ const configuration = new Configuration();
316
+ const apiInstance = new EventsStaffApi(configuration);
317
+
318
+ const { status, data } = await apiInstance.getPastEventsByClub();
319
+ ```
320
+
321
+ ### Parameters
322
+ This endpoint does not have any parameters.
323
+
324
+
325
+ ### Return type
326
+
327
+ **StaffEventsPageResponse**
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** | Past events | - |
343
+ |**400** | Bad Request | - |
344
+ |**401** | Unauthorized | - |
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
+ # **getUpcomingEventsByClub**
350
+ > StaffEventsPageResponse getUpcomingEventsByClub()
351
+
352
+ // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
353
+
354
+ ### Example
355
+
356
+ ```typescript
357
+ import {
358
+ EventsStaffApi,
359
+ Configuration
360
+ } from '@tennac-booking/sdk';
361
+
362
+ const configuration = new Configuration();
363
+ const apiInstance = new EventsStaffApi(configuration);
364
+
365
+ const { status, data } = await apiInstance.getUpcomingEventsByClub();
366
+ ```
367
+
368
+ ### Parameters
369
+ This endpoint does not have any parameters.
370
+
371
+
372
+ ### Return type
373
+
374
+ **StaffEventsPageResponse**
375
+
376
+ ### Authorization
377
+
378
+ [bearerAuth](../README.md#bearerAuth)
379
+
380
+ ### HTTP request headers
381
+
382
+ - **Content-Type**: Not defined
383
+ - **Accept**: application/json
384
+
385
+
386
+ ### HTTP response details
387
+ | Status code | Description | Response headers |
388
+ |-------------|-------------|------------------|
389
+ |**200** | Upcoming events | - |
390
+ |**400** | Bad Request | - |
391
+ |**401** | Unauthorized | - |
392
+ |**500** | Server Error | - |
393
+
394
+ [[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)
395
+
302
396
  # **getWeeklyEvents**
303
397
  > EventsListResponse getWeeklyEvents()
304
398
 
@@ -0,0 +1,26 @@
1
+ # JoinOpenBookingRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
9
+ **useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined]
10
+ **creditToUseInCents** | **number** | Crédit à utiliser en centimes | [optional] [default to undefined]
11
+ **players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste des autres joueurs qui rejoignent également (n\'inclut PAS le joueur qui fait la requête, chacun paie sa part) | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { JoinOpenBookingRequest } from '@tennac-booking/sdk';
17
+
18
+ const instance: JoinOpenBookingRequest = {
19
+ paymentMethod,
20
+ useDefaultPaymentMethod,
21
+ creditToUseInCents,
22
+ players,
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,22 @@
1
+ # StaffEventsPageResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **events** | [**Array<EventResponse>**](EventResponse.md) | | [default to undefined]
9
+ **pagination** | [**PaginationInfo**](PaginationInfo.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { StaffEventsPageResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: StaffEventsPageResponse = {
17
+ events,
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)
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **clubId** | **string** | | [default to undefined]
9
9
  **clubName** | **string** | | [default to undefined]
10
10
  **clubPicture** | **string** | | [default to undefined]
11
+ **bannerPictures** | **Array<string>** | | [optional] [default to undefined]
11
12
  **address** | **string** | | [optional] [default to undefined]
12
13
  **description** | **string** | | [optional] [default to undefined]
13
14
  **tags** | **Array<string>** | | [optional] [default to undefined]
@@ -29,6 +30,7 @@ const instance: UserClubMembership = {
29
30
  clubId,
30
31
  clubName,
31
32
  clubPicture,
33
+ bannerPictures,
32
34
  address,
33
35
  description,
34
36
  tags,
@@ -42,6 +42,7 @@ Name | Type | Description | Notes
42
42
  **subscriptionsCount** | **number** | | [optional] [default to undefined]
43
43
  **subscriptions** | [**Array<ClubSubscriptions>**](ClubSubscriptions.md) | | [optional] [default to undefined]
44
44
  **clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [optional] [default to undefined]
45
+ **favoriteClubsDetails** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
45
46
  **frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
46
47
  **frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
47
48
  **stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
@@ -91,6 +92,7 @@ const instance: UserProfileResponse = {
91
92
  subscriptionsCount,
92
93
  subscriptions,
93
94
  clubs,
95
+ favoriteClubsDetails,
94
96
  frequentlyVisitedClubs,
95
97
  frequentlyPlayedWith,
96
98
  stripeLinks,
package/index.ts 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.177
7
+ * The version of the OpenAPI document: 1.0.185
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.184",
3
+ "version": "1.0.186",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,22 +0,0 @@
1
- # CheckInPlayerSumupRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **playerId** | **string** | ID du joueur qui a payé/est arrivé | [default to undefined]
9
- **readerId** | **string** | Reader SumUp ciblé (optionnel) | [optional] [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { CheckInPlayerSumupRequest } from '@tennac-booking/sdk';
15
-
16
- const instance: CheckInPlayerSumupRequest = {
17
- playerId,
18
- readerId,
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)
@@ -1,24 +0,0 @@
1
- # CheckInPlayerSumupResponse
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **message** | **string** | Message de confirmation | [default to undefined]
9
- **invoice** | [**CheckedInPlayer**](CheckedInPlayer.md) | | [default to undefined]
10
- **sumupPayment** | [**CheckInSumupPaymentInfo**](CheckInSumupPaymentInfo.md) | | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { CheckInPlayerSumupResponse } from '@tennac-booking/sdk';
16
-
17
- const instance: CheckInPlayerSumupResponse = {
18
- message,
19
- invoice,
20
- sumupPayment,
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)
@@ -1,26 +0,0 @@
1
- # CheckInSumupPaymentInfo
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **paymentId** | **string** | ID du paiement SumUp | [default to undefined]
9
- **checkoutId** | **string** | ID du checkout SumUp | [optional] [default to undefined]
10
- **status** | [**PaymentStatus**](PaymentStatus.md) | | [default to undefined]
11
- **readerId** | **string** | Reader SumUp utilisé | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { CheckInSumupPaymentInfo } from '@tennac-booking/sdk';
17
-
18
- const instance: CheckInSumupPaymentInfo = {
19
- paymentId,
20
- checkoutId,
21
- status,
22
- readerId,
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)
@@ -1,28 +0,0 @@
1
- # PaymentIntentResult
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **paymentId** | **string** | | [default to undefined]
9
- **externalId** | **string** | | [default to undefined]
10
- **status** | [**PaymentStatus**](PaymentStatus.md) | | [default to undefined]
11
- **provider** | [**PaymentProviderType**](PaymentProviderType.md) | | [default to undefined]
12
- **readerId** | **string** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { PaymentIntentResult } from '@tennac-booking/sdk';
18
-
19
- const instance: PaymentIntentResult = {
20
- paymentId,
21
- externalId,
22
- status,
23
- provider,
24
- readerId,
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,10 +0,0 @@
1
- # PaymentProviderType
2
-
3
-
4
- ## Enum
5
-
6
- * `Stripe` (value: `'stripe'`)
7
-
8
- * `Sumup` (value: `'sumup'`)
9
-
10
- [[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,14 +0,0 @@
1
- # PaymentStatus
2
-
3
-
4
- ## Enum
5
-
6
- * `Pending` (value: `'pending'`)
7
-
8
- * `Succeeded` (value: `'succeeded'`)
9
-
10
- * `Failed` (value: `'failed'`)
11
-
12
- * `Cancelled` (value: `'cancelled'`)
13
-
14
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)