@tennac-booking/sdk 1.0.109 → 1.0.110
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 +292 -292
- package/README.md +20 -25
- package/api.ts +952 -1663
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +563 -953
- package/dist/api.js +509 -1063
- 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 +563 -953
- package/dist/esm/api.js +501 -1051
- 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/CheckInEventParticipants200Response.md +22 -0
- package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
- package/docs/{ClientRegisterResponse.md → CheckInEventParticipantsRequest.md} +5 -7
- package/docs/ClientApi.md +59 -4
- package/docs/{ClientAccountOnboardingResponse.md → ClientFullOnboardingResponse.md} +7 -11
- package/docs/ClientFullOnboardingResponseClub.md +24 -0
- package/docs/ClientRegister201Response.md +26 -0
- package/docs/{ClientRegisterRequestBody.md → ClientRegisterRequest.md} +7 -7
- package/docs/ClubPlayerDetailResponse.md +0 -2
- package/docs/ClubSummary.md +2 -8
- package/docs/ClubsStaffApi.md +59 -55
- package/docs/CreateEventRequest.md +1 -3
- package/docs/CreateOnsiteInvoiceRequest.md +28 -0
- package/docs/CreateOnsiteInvoiceResponse.md +22 -0
- package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
- package/docs/EventConflictCheckRequest.md +28 -0
- package/docs/EventConflictCheckResponse.md +26 -0
- package/docs/EventsManagerApi.md +114 -0
- package/docs/EventsStaffApi.md +20 -159
- package/docs/JoinEventRequest.md +8 -0
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +22 -0
- package/docs/PaymentMethod.md +4 -0
- package/docs/PublishEventResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ActiveSubscriptionResponse.md +0 -22
- package/docs/ClientAccountOnboardingRequest.md +0 -29
- package/docs/ClientAccountResponse.md +0 -44
- package/docs/ClientAccountsApi.md +0 -408
- package/docs/ClientMeResponse.md +0 -28
- package/docs/ClientOnboardingResponse.md +0 -27
- package/docs/ClientSubscriptionResponse.md +0 -34
- package/docs/GetSubscriptionsHistory200Response.md +0 -22
- package/docs/UpdateUserCreditsRequest.md +0 -20
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# EventConflictCheckRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**eventId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**clubId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**startDate** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**endDate** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**courts** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { EventConflictCheckRequest } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: EventConflictCheckRequest = {
|
|
20
|
+
eventId,
|
|
21
|
+
clubId,
|
|
22
|
+
startDate,
|
|
23
|
+
endDate,
|
|
24
|
+
courts,
|
|
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,26 @@
|
|
|
1
|
+
# EventConflictCheckResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**hasRegularBookings** | **boolean** | | [default to undefined]
|
|
9
|
+
**regularBookingsCount** | **number** | | [default to undefined]
|
|
10
|
+
**hasEventBookings** | **boolean** | | [default to undefined]
|
|
11
|
+
**eventBookingsCount** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { EventConflictCheckResponse } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: EventConflictCheckResponse = {
|
|
19
|
+
hasRegularBookings,
|
|
20
|
+
regularBookingsCount,
|
|
21
|
+
hasEventBookings,
|
|
22
|
+
eventBookingsCount,
|
|
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)
|
package/docs/EventsManagerApi.md
CHANGED
|
@@ -4,11 +4,68 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**checkEventConflicts**](#checkeventconflicts) | **POST** /api/events/manager/checkConflicts | |
|
|
7
8
|
|[**createEvent**](#createevent) | **POST** /api/events/manager/createEvent | |
|
|
8
9
|
|[**deleteEvent**](#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} | |
|
|
9
10
|
|[**publishEvent**](#publishevent) | **PUT** /api/events/manager/publishEvent/{eventId} | |
|
|
10
11
|
|[**unpublishEvent**](#unpublishevent) | **PUT** /api/events/manager/unpublishEvent/{eventId} | |
|
|
11
12
|
|[**updateEvent**](#updateevent) | **PUT** /api/events/manager/updateEvent/{eventId} | |
|
|
13
|
+
|[**updatePublishedEvent**](#updatepublishedevent) | **PUT** /api/events/manager/updatePublishedEvent/{eventId} | |
|
|
14
|
+
|
|
15
|
+
# **checkEventConflicts**
|
|
16
|
+
> EventConflictCheckResponse checkEventConflicts(eventConflictCheckRequest)
|
|
17
|
+
|
|
18
|
+
Check if there are bookings overlapping an event window (for create/update/delete)
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
EventsManagerApi,
|
|
25
|
+
Configuration,
|
|
26
|
+
EventConflictCheckRequest
|
|
27
|
+
} from '@tennac-booking/sdk';
|
|
28
|
+
|
|
29
|
+
const configuration = new Configuration();
|
|
30
|
+
const apiInstance = new EventsManagerApi(configuration);
|
|
31
|
+
|
|
32
|
+
let eventConflictCheckRequest: EventConflictCheckRequest; //
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.checkEventConflicts(
|
|
35
|
+
eventConflictCheckRequest
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
|Name | Type | Description | Notes|
|
|
42
|
+
|------------- | ------------- | ------------- | -------------|
|
|
43
|
+
| **eventConflictCheckRequest** | **EventConflictCheckRequest**| | |
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
**EventConflictCheckResponse**
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: application/json
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | Conflict counts retrieved | - |
|
|
64
|
+
|**400** | Bad Request | - |
|
|
65
|
+
|**401** | Unauthorized | - |
|
|
66
|
+
|**404** | Not Found | - |
|
|
67
|
+
|
|
68
|
+
[[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)
|
|
12
69
|
|
|
13
70
|
# **createEvent**
|
|
14
71
|
> PublishEventResponse createEvent(createEventRequest)
|
|
@@ -282,3 +339,60 @@ const { status, data } = await apiInstance.updateEvent(
|
|
|
282
339
|
|
|
283
340
|
[[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)
|
|
284
341
|
|
|
342
|
+
# **updatePublishedEvent**
|
|
343
|
+
> PublishEventResponse updatePublishedEvent(updateEventRequest)
|
|
344
|
+
|
|
345
|
+
Update a published event (manager) and propagate slot changes and conflicts
|
|
346
|
+
|
|
347
|
+
### Example
|
|
348
|
+
|
|
349
|
+
```typescript
|
|
350
|
+
import {
|
|
351
|
+
EventsManagerApi,
|
|
352
|
+
Configuration,
|
|
353
|
+
UpdateEventRequest
|
|
354
|
+
} from '@tennac-booking/sdk';
|
|
355
|
+
|
|
356
|
+
const configuration = new Configuration();
|
|
357
|
+
const apiInstance = new EventsManagerApi(configuration);
|
|
358
|
+
|
|
359
|
+
let eventId: string; // (default to undefined)
|
|
360
|
+
let updateEventRequest: UpdateEventRequest; //
|
|
361
|
+
|
|
362
|
+
const { status, data } = await apiInstance.updatePublishedEvent(
|
|
363
|
+
eventId,
|
|
364
|
+
updateEventRequest
|
|
365
|
+
);
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Parameters
|
|
369
|
+
|
|
370
|
+
|Name | Type | Description | Notes|
|
|
371
|
+
|------------- | ------------- | ------------- | -------------|
|
|
372
|
+
| **updateEventRequest** | **UpdateEventRequest**| | |
|
|
373
|
+
| **eventId** | [**string**] | | defaults to undefined|
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Return type
|
|
377
|
+
|
|
378
|
+
**PublishEventResponse**
|
|
379
|
+
|
|
380
|
+
### Authorization
|
|
381
|
+
|
|
382
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
383
|
+
|
|
384
|
+
### HTTP request headers
|
|
385
|
+
|
|
386
|
+
- **Content-Type**: application/json
|
|
387
|
+
- **Accept**: application/json
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### HTTP response details
|
|
391
|
+
| Status code | Description | Response headers |
|
|
392
|
+
|-------------|-------------|------------------|
|
|
393
|
+
|**200** | Published event updated | - |
|
|
394
|
+
|**404** | Not Found | - |
|
|
395
|
+
|**500** | Server Error | - |
|
|
396
|
+
|
|
397
|
+
[[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)
|
|
398
|
+
|
package/docs/EventsStaffApi.md
CHANGED
|
@@ -4,39 +4,32 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
7
|
+
|[**checkInEventParticipants**](#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in | |
|
|
8
8
|
|[**getEventsByClub**](#geteventsbyclub) | **GET** /api/events/staff/getEvents | |
|
|
9
|
-
|[**getMonthlyEvents**](#getmonthlyevents) | **GET** /api/events/calendar/monthly | |
|
|
10
|
-
|[**getWeeklyEvents**](#getweeklyevents) | **GET** /api/events/calendar/weekly | |
|
|
11
9
|
|
|
12
|
-
# **
|
|
13
|
-
>
|
|
10
|
+
# **checkInEventParticipants**
|
|
11
|
+
> CheckInEventParticipants200Response checkInEventParticipants(checkInEventParticipantsRequest)
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
Check-in des participants d\'un EventBooking (clubs avec paiements)
|
|
16
14
|
|
|
17
15
|
### Example
|
|
18
16
|
|
|
19
17
|
```typescript
|
|
20
18
|
import {
|
|
21
19
|
EventsStaffApi,
|
|
22
|
-
Configuration
|
|
20
|
+
Configuration,
|
|
21
|
+
CheckInEventParticipantsRequest
|
|
23
22
|
} from '@tennac-booking/sdk';
|
|
24
23
|
|
|
25
24
|
const configuration = new Configuration();
|
|
26
25
|
const apiInstance = new EventsStaffApi(configuration);
|
|
27
26
|
|
|
28
|
-
let
|
|
29
|
-
let
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const { status, data } = await apiInstance.getDailyEvents(
|
|
35
|
-
clubId,
|
|
36
|
-
date,
|
|
37
|
-
visibilityType,
|
|
38
|
-
type,
|
|
39
|
-
sportId
|
|
27
|
+
let eventBookingId: string; // (default to undefined)
|
|
28
|
+
let checkInEventParticipantsRequest: CheckInEventParticipantsRequest; //
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.checkInEventParticipants(
|
|
31
|
+
eventBookingId,
|
|
32
|
+
checkInEventParticipantsRequest
|
|
40
33
|
);
|
|
41
34
|
```
|
|
42
35
|
|
|
@@ -44,16 +37,13 @@ const { status, data } = await apiInstance.getDailyEvents(
|
|
|
44
37
|
|
|
45
38
|
|Name | Type | Description | Notes|
|
|
46
39
|
|------------- | ------------- | ------------- | -------------|
|
|
47
|
-
| **
|
|
48
|
-
| **
|
|
49
|
-
| **visibilityType** | [**'public' | 'private' | 'invitation'**]**Array<'public' | 'private' | 'invitation'>** | | (optional) defaults to undefined|
|
|
50
|
-
| **type** | [**'event' | 'closure'**]**Array<'event' | 'closure'>** | | (optional) defaults to undefined|
|
|
51
|
-
| **sportId** | [**string**] | | (optional) defaults to undefined|
|
|
40
|
+
| **checkInEventParticipantsRequest** | **CheckInEventParticipantsRequest**| | |
|
|
41
|
+
| **eventBookingId** | [**string**] | | defaults to undefined|
|
|
52
42
|
|
|
53
43
|
|
|
54
44
|
### Return type
|
|
55
45
|
|
|
56
|
-
**
|
|
46
|
+
**CheckInEventParticipants200Response**
|
|
57
47
|
|
|
58
48
|
### Authorization
|
|
59
49
|
|
|
@@ -61,16 +51,17 @@ const { status, data } = await apiInstance.getDailyEvents(
|
|
|
61
51
|
|
|
62
52
|
### HTTP request headers
|
|
63
53
|
|
|
64
|
-
- **Content-Type**:
|
|
54
|
+
- **Content-Type**: application/json
|
|
65
55
|
- **Accept**: application/json
|
|
66
56
|
|
|
67
57
|
|
|
68
58
|
### HTTP response details
|
|
69
59
|
| Status code | Description | Response headers |
|
|
70
60
|
|-------------|-------------|------------------|
|
|
71
|
-
|**200** |
|
|
72
|
-
|**400** |
|
|
73
|
-
|**
|
|
61
|
+
|**200** | Check-in effectué avec succès | - |
|
|
62
|
+
|**400** | Requête invalide | - |
|
|
63
|
+
|**404** | EventBooking non trouvé | - |
|
|
64
|
+
|**500** | Erreur serveur | - |
|
|
74
65
|
|
|
75
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)
|
|
76
67
|
|
|
@@ -121,133 +112,3 @@ This endpoint does not have any parameters.
|
|
|
121
112
|
|
|
122
113
|
[[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)
|
|
123
114
|
|
|
124
|
-
# **getMonthlyEvents**
|
|
125
|
-
> EventsListResponse getMonthlyEvents()
|
|
126
|
-
|
|
127
|
-
Get events for the entire month view (including recurring occurrences)
|
|
128
|
-
|
|
129
|
-
### Example
|
|
130
|
-
|
|
131
|
-
```typescript
|
|
132
|
-
import {
|
|
133
|
-
EventsStaffApi,
|
|
134
|
-
Configuration
|
|
135
|
-
} from '@tennac-booking/sdk';
|
|
136
|
-
|
|
137
|
-
const configuration = new Configuration();
|
|
138
|
-
const apiInstance = new EventsStaffApi(configuration);
|
|
139
|
-
|
|
140
|
-
let clubId: string; // (optional) (default to undefined)
|
|
141
|
-
let date: string; // (optional) (default to undefined)
|
|
142
|
-
let visibilityType: 'public' | 'private' | 'invitation'; // (optional) (default to undefined)
|
|
143
|
-
let type: 'event' | 'closure'; // (optional) (default to undefined)
|
|
144
|
-
let sportId: string; // (optional) (default to undefined)
|
|
145
|
-
|
|
146
|
-
const { status, data } = await apiInstance.getMonthlyEvents(
|
|
147
|
-
clubId,
|
|
148
|
-
date,
|
|
149
|
-
visibilityType,
|
|
150
|
-
type,
|
|
151
|
-
sportId
|
|
152
|
-
);
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
### Parameters
|
|
156
|
-
|
|
157
|
-
|Name | Type | Description | Notes|
|
|
158
|
-
|------------- | ------------- | ------------- | -------------|
|
|
159
|
-
| **clubId** | [**string**] | | (optional) defaults to undefined|
|
|
160
|
-
| **date** | [**string**] | | (optional) defaults to undefined|
|
|
161
|
-
| **visibilityType** | [**'public' | 'private' | 'invitation'**]**Array<'public' | 'private' | 'invitation'>** | | (optional) defaults to undefined|
|
|
162
|
-
| **type** | [**'event' | 'closure'**]**Array<'event' | 'closure'>** | | (optional) defaults to undefined|
|
|
163
|
-
| **sportId** | [**string**] | | (optional) defaults to undefined|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
### Return type
|
|
167
|
-
|
|
168
|
-
**EventsListResponse**
|
|
169
|
-
|
|
170
|
-
### Authorization
|
|
171
|
-
|
|
172
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
173
|
-
|
|
174
|
-
### HTTP request headers
|
|
175
|
-
|
|
176
|
-
- **Content-Type**: Not defined
|
|
177
|
-
- **Accept**: application/json
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
### HTTP response details
|
|
181
|
-
| Status code | Description | Response headers |
|
|
182
|
-
|-------------|-------------|------------------|
|
|
183
|
-
|**200** | List of events for the selected month | - |
|
|
184
|
-
|**400** | Bad Request | - |
|
|
185
|
-
|**500** | Server Error | - |
|
|
186
|
-
|
|
187
|
-
[[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)
|
|
188
|
-
|
|
189
|
-
# **getWeeklyEvents**
|
|
190
|
-
> EventsListResponse getWeeklyEvents()
|
|
191
|
-
|
|
192
|
-
Get events for the week view (30 day sliding window)
|
|
193
|
-
|
|
194
|
-
### Example
|
|
195
|
-
|
|
196
|
-
```typescript
|
|
197
|
-
import {
|
|
198
|
-
EventsStaffApi,
|
|
199
|
-
Configuration
|
|
200
|
-
} from '@tennac-booking/sdk';
|
|
201
|
-
|
|
202
|
-
const configuration = new Configuration();
|
|
203
|
-
const apiInstance = new EventsStaffApi(configuration);
|
|
204
|
-
|
|
205
|
-
let clubId: string; // (optional) (default to undefined)
|
|
206
|
-
let date: string; // (optional) (default to undefined)
|
|
207
|
-
let visibilityType: 'public' | 'private' | 'invitation'; // (optional) (default to undefined)
|
|
208
|
-
let type: 'event' | 'closure'; // (optional) (default to undefined)
|
|
209
|
-
let sportId: string; // (optional) (default to undefined)
|
|
210
|
-
|
|
211
|
-
const { status, data } = await apiInstance.getWeeklyEvents(
|
|
212
|
-
clubId,
|
|
213
|
-
date,
|
|
214
|
-
visibilityType,
|
|
215
|
-
type,
|
|
216
|
-
sportId
|
|
217
|
-
);
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Parameters
|
|
221
|
-
|
|
222
|
-
|Name | Type | Description | Notes|
|
|
223
|
-
|------------- | ------------- | ------------- | -------------|
|
|
224
|
-
| **clubId** | [**string**] | | (optional) defaults to undefined|
|
|
225
|
-
| **date** | [**string**] | | (optional) defaults to undefined|
|
|
226
|
-
| **visibilityType** | [**'public' | 'private' | 'invitation'**]**Array<'public' | 'private' | 'invitation'>** | | (optional) defaults to undefined|
|
|
227
|
-
| **type** | [**'event' | 'closure'**]**Array<'event' | 'closure'>** | | (optional) defaults to undefined|
|
|
228
|
-
| **sportId** | [**string**] | | (optional) defaults to undefined|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
### Return type
|
|
232
|
-
|
|
233
|
-
**EventsListResponse**
|
|
234
|
-
|
|
235
|
-
### Authorization
|
|
236
|
-
|
|
237
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
238
|
-
|
|
239
|
-
### HTTP request headers
|
|
240
|
-
|
|
241
|
-
- **Content-Type**: Not defined
|
|
242
|
-
- **Accept**: application/json
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
### HTTP response details
|
|
246
|
-
| Status code | Description | Response headers |
|
|
247
|
-
|-------------|-------------|------------------|
|
|
248
|
-
|**200** | List of events for the weekly view | - |
|
|
249
|
-
|**400** | Bad Request | - |
|
|
250
|
-
|**500** | Server Error | - |
|
|
251
|
-
|
|
252
|
-
[[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)
|
|
253
|
-
|
package/docs/JoinEventRequest.md
CHANGED
|
@@ -7,6 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**players** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
12
|
+
**playersPaymentMethods** | [**Array<JoinEventRequestPlayersPaymentMethodsInner>**](JoinEventRequestPlayersPaymentMethodsInner.md) | | [optional] [default to undefined]
|
|
13
|
+
**useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
|
|
10
14
|
|
|
11
15
|
## Example
|
|
12
16
|
|
|
@@ -16,6 +20,10 @@ import { JoinEventRequest } from '@tennac-booking/sdk';
|
|
|
16
20
|
const instance: JoinEventRequest = {
|
|
17
21
|
teamName,
|
|
18
22
|
players,
|
|
23
|
+
isCreatorPayingAll,
|
|
24
|
+
paymentMethod,
|
|
25
|
+
playersPaymentMethods,
|
|
26
|
+
useDefaultPaymentMethod,
|
|
19
27
|
};
|
|
20
28
|
```
|
|
21
29
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# JoinEventRequestPlayersPaymentMethodsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
9
|
+
**id** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { JoinEventRequestPlayersPaymentMethodsInner } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: JoinEventRequestPlayersPaymentMethodsInner = {
|
|
17
|
+
paymentMethod,
|
|
18
|
+
id,
|
|
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)
|
package/docs/PaymentMethod.md
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
* `Onsite` (value: `'onsite'`)
|
|
9
9
|
|
|
10
|
+
* `OnsiteCard` (value: `'onsite_card'`)
|
|
11
|
+
|
|
12
|
+
* `OnsiteCash` (value: `'onsite_cash'`)
|
|
13
|
+
|
|
10
14
|
* `Free` (value: `'free'`)
|
|
11
15
|
|
|
12
16
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
|
|
9
|
+
**refundedBookingIds** | **Array<string>** | | [optional] [default to undefined]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,6 +15,7 @@ import { PublishEventResponse } from '@tennac-booking/sdk';
|
|
|
14
15
|
|
|
15
16
|
const instance: PublishEventResponse = {
|
|
16
17
|
event,
|
|
18
|
+
refundedBookingIds,
|
|
17
19
|
};
|
|
18
20
|
```
|
|
19
21
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ActiveSubscriptionResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clientAccountId** | **string** | | [default to undefined]
|
|
9
|
-
**subscription** | [**ClientSubscriptionResponse**](ClientSubscriptionResponse.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ActiveSubscriptionResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: ActiveSubscriptionResponse = {
|
|
17
|
-
clientAccountId,
|
|
18
|
-
subscription,
|
|
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,29 +0,0 @@
|
|
|
1
|
-
# ClientAccountOnboardingRequest
|
|
2
|
-
|
|
3
|
-
Types pour les requêtes/réponses
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**businessName** | **string** | | [default to undefined]
|
|
10
|
-
**businessType** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**subscriptionType** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**isPublicOrganization** | **boolean** | | [optional] [default to undefined]
|
|
13
|
-
**priceId** | **string** | | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { ClientAccountOnboardingRequest } from '@tennac-booking/sdk';
|
|
19
|
-
|
|
20
|
-
const instance: ClientAccountOnboardingRequest = {
|
|
21
|
-
businessName,
|
|
22
|
-
businessType,
|
|
23
|
-
subscriptionType,
|
|
24
|
-
isPublicOrganization,
|
|
25
|
-
priceId,
|
|
26
|
-
};
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
[[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,44 +0,0 @@
|
|
|
1
|
-
# ClientAccountResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [default to undefined]
|
|
9
|
-
**email** | **string** | | [default to undefined]
|
|
10
|
-
**businessName** | **string** | | [default to undefined]
|
|
11
|
-
**businessType** | **string** | | [default to undefined]
|
|
12
|
-
**subscriptionType** | **string** | | [default to undefined]
|
|
13
|
-
**status** | **string** | | [default to undefined]
|
|
14
|
-
**platformPaymentMethodSetup** | **boolean** | | [default to undefined]
|
|
15
|
-
**stripeConnectedAccountId** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**connectedAccountOnboardingRequired** | **boolean** | | [optional] [default to undefined]
|
|
17
|
-
**isPublicOrganization** | **boolean** | | [default to undefined]
|
|
18
|
-
**manualInvoiceRequired** | **boolean** | | [optional] [default to undefined]
|
|
19
|
-
**createdAt** | **string** | | [default to undefined]
|
|
20
|
-
**updatedAt** | **string** | | [default to undefined]
|
|
21
|
-
|
|
22
|
-
## Example
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { ClientAccountResponse } from '@tennac-booking/sdk';
|
|
26
|
-
|
|
27
|
-
const instance: ClientAccountResponse = {
|
|
28
|
-
id,
|
|
29
|
-
email,
|
|
30
|
-
businessName,
|
|
31
|
-
businessType,
|
|
32
|
-
subscriptionType,
|
|
33
|
-
status,
|
|
34
|
-
platformPaymentMethodSetup,
|
|
35
|
-
stripeConnectedAccountId,
|
|
36
|
-
connectedAccountOnboardingRequired,
|
|
37
|
-
isPublicOrganization,
|
|
38
|
-
manualInvoiceRequired,
|
|
39
|
-
createdAt,
|
|
40
|
-
updatedAt,
|
|
41
|
-
};
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|