@gooday_corp/gooday-api-client 4.4.38 → 4.5.1
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 +4 -1
- package/api.ts +668 -58
- package/docs/BookingApi.md +209 -0
- package/docs/BookingEntity.md +8 -0
- package/docs/BookingPaymentPayloadDTO.md +2 -0
- package/docs/{Discount.md → BookingRSVPResponse.md} +7 -9
- package/docs/BookingRSVPResponseDTO.md +22 -0
- package/docs/BookingResponse.md +8 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +58 -0
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +3 -1
- package/docs/PlansApi.md +156 -0
- package/docs/RSVPEvenPayloadDTO.md +3 -1
- package/docs/RSVPEventApi.md +60 -16
- package/docs/RSVPEventEntity.md +3 -1
- package/docs/RSVPEventFindDTO.md +28 -0
- package/docs/RSVPEventLocationDTO.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/TagsApi.md +2 -2
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnPayloadDTO.md +1 -1
- package/package.json +1 -1
package/docs/BookingApi.md
CHANGED
|
@@ -10,7 +10,9 @@ All URIs are relative to *http://localhost:8080*
|
|
|
10
10
|
|[**bookingControllerCalendarInvites**](#bookingcontrollercalendarinvites) | **POST** /v1/booking/calendar-shared | |
|
|
11
11
|
|[**bookingControllerCancelBooking**](#bookingcontrollercancelbooking) | **POST** /v1/booking/cancel-booking | |
|
|
12
12
|
|[**bookingControllerCreateBooking**](#bookingcontrollercreatebooking) | **POST** /v1/booking | |
|
|
13
|
+
|[**bookingControllerCreateRSVPEventBooking**](#bookingcontrollercreatersvpeventbooking) | **POST** /v1/booking/rsvp-booking | |
|
|
13
14
|
|[**bookingControllerCreateWalkInBooking**](#bookingcontrollercreatewalkinbooking) | **POST** /v1/booking/walk-in | |
|
|
15
|
+
|[**bookingControllerFindRSVPBookingDetails**](#bookingcontrollerfindrsvpbookingdetails) | **GET** /v1/booking/rsvp-booking-conformation/{id} | |
|
|
14
16
|
|[**bookingControllerGetBooking**](#bookingcontrollergetbooking) | **GET** /v1/booking/{id} | |
|
|
15
17
|
|[**bookingControllerLeaveBooking**](#bookingcontrollerleavebooking) | **POST** /v1/booking/leave-booking | |
|
|
16
18
|
|[**bookingControllerListBookings**](#bookingcontrollerlistbookings) | **POST** /v1/booking/list | |
|
|
@@ -21,8 +23,10 @@ All URIs are relative to *http://localhost:8080*
|
|
|
21
23
|
|[**bookingControllerRejectBookingInvite**](#bookingcontrollerrejectbookinginvite) | **POST** /v1/booking/reject | |
|
|
22
24
|
|[**bookingControllerRescheduleBooking**](#bookingcontrollerreschedulebooking) | **PUT** /v1/booking/reschedule/{id} | |
|
|
23
25
|
|[**bookingControllerRevertBookingStatus**](#bookingcontrollerrevertbookingstatus) | **POST** /v1/booking/revert-booking-status | |
|
|
26
|
+
|[**bookingControllerRsvpBookingDetail**](#bookingcontrollerrsvpbookingdetail) | **GET** /v1/booking/rsvp-booking-users/{id} | |
|
|
24
27
|
|[**bookingControllerTrendingEvents**](#bookingcontrollertrendingevents) | **POST** /v1/booking/trending-events | |
|
|
25
28
|
|[**bookingControllerUpdateBooking**](#bookingcontrollerupdatebooking) | **PUT** /v1/booking/{id} | |
|
|
29
|
+
|[**bookingControllerUpdateRSVPEventBooking**](#bookingcontrollerupdatersvpeventbooking) | **PUT** /v1/booking/rsvp-booking-patch/{id} | |
|
|
26
30
|
|
|
27
31
|
# **bookingControllerAcceptBookingInvite**
|
|
28
32
|
> BookingRequestResponseDTO bookingControllerAcceptBookingInvite(acceptBookingInvitePayload)
|
|
@@ -322,6 +326,57 @@ const { status, data } = await apiInstance.bookingControllerCreateBooking(
|
|
|
322
326
|
- **Accept**: application/json
|
|
323
327
|
|
|
324
328
|
|
|
329
|
+
### HTTP response details
|
|
330
|
+
| Status code | Description | Response headers |
|
|
331
|
+
|-------------|-------------|------------------|
|
|
332
|
+
|**0** | | - |
|
|
333
|
+
|
|
334
|
+
[[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)
|
|
335
|
+
|
|
336
|
+
# **bookingControllerCreateRSVPEventBooking**
|
|
337
|
+
> BookingResponseDTO bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload)
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
### Example
|
|
341
|
+
|
|
342
|
+
```typescript
|
|
343
|
+
import {
|
|
344
|
+
BookingApi,
|
|
345
|
+
Configuration,
|
|
346
|
+
CreateRSVPEventBookingPayload
|
|
347
|
+
} from './api';
|
|
348
|
+
|
|
349
|
+
const configuration = new Configuration();
|
|
350
|
+
const apiInstance = new BookingApi(configuration);
|
|
351
|
+
|
|
352
|
+
let createRSVPEventBookingPayload: CreateRSVPEventBookingPayload; //
|
|
353
|
+
|
|
354
|
+
const { status, data } = await apiInstance.bookingControllerCreateRSVPEventBooking(
|
|
355
|
+
createRSVPEventBookingPayload
|
|
356
|
+
);
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### Parameters
|
|
360
|
+
|
|
361
|
+
|Name | Type | Description | Notes|
|
|
362
|
+
|------------- | ------------- | ------------- | -------------|
|
|
363
|
+
| **createRSVPEventBookingPayload** | **CreateRSVPEventBookingPayload**| | |
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### Return type
|
|
367
|
+
|
|
368
|
+
**BookingResponseDTO**
|
|
369
|
+
|
|
370
|
+
### Authorization
|
|
371
|
+
|
|
372
|
+
No authorization required
|
|
373
|
+
|
|
374
|
+
### HTTP request headers
|
|
375
|
+
|
|
376
|
+
- **Content-Type**: application/json
|
|
377
|
+
- **Accept**: application/json
|
|
378
|
+
|
|
379
|
+
|
|
325
380
|
### HTTP response details
|
|
326
381
|
| Status code | Description | Response headers |
|
|
327
382
|
|-------------|-------------|------------------|
|
|
@@ -373,6 +428,56 @@ const { status, data } = await apiInstance.bookingControllerCreateWalkInBooking(
|
|
|
373
428
|
- **Accept**: application/json
|
|
374
429
|
|
|
375
430
|
|
|
431
|
+
### HTTP response details
|
|
432
|
+
| Status code | Description | Response headers |
|
|
433
|
+
|-------------|-------------|------------------|
|
|
434
|
+
|**0** | | - |
|
|
435
|
+
|
|
436
|
+
[[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)
|
|
437
|
+
|
|
438
|
+
# **bookingControllerFindRSVPBookingDetails**
|
|
439
|
+
> BookingRSVPResponseDTO bookingControllerFindRSVPBookingDetails()
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
### Example
|
|
443
|
+
|
|
444
|
+
```typescript
|
|
445
|
+
import {
|
|
446
|
+
BookingApi,
|
|
447
|
+
Configuration
|
|
448
|
+
} from './api';
|
|
449
|
+
|
|
450
|
+
const configuration = new Configuration();
|
|
451
|
+
const apiInstance = new BookingApi(configuration);
|
|
452
|
+
|
|
453
|
+
let id: string; // (default to undefined)
|
|
454
|
+
|
|
455
|
+
const { status, data } = await apiInstance.bookingControllerFindRSVPBookingDetails(
|
|
456
|
+
id
|
|
457
|
+
);
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
### Parameters
|
|
461
|
+
|
|
462
|
+
|Name | Type | Description | Notes|
|
|
463
|
+
|------------- | ------------- | ------------- | -------------|
|
|
464
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### Return type
|
|
468
|
+
|
|
469
|
+
**BookingRSVPResponseDTO**
|
|
470
|
+
|
|
471
|
+
### Authorization
|
|
472
|
+
|
|
473
|
+
No authorization required
|
|
474
|
+
|
|
475
|
+
### HTTP request headers
|
|
476
|
+
|
|
477
|
+
- **Content-Type**: Not defined
|
|
478
|
+
- **Accept**: application/json
|
|
479
|
+
|
|
480
|
+
|
|
376
481
|
### HTTP response details
|
|
377
482
|
| Status code | Description | Response headers |
|
|
378
483
|
|-------------|-------------|------------------|
|
|
@@ -885,6 +990,56 @@ const { status, data } = await apiInstance.bookingControllerRevertBookingStatus(
|
|
|
885
990
|
- **Accept**: application/json
|
|
886
991
|
|
|
887
992
|
|
|
993
|
+
### HTTP response details
|
|
994
|
+
| Status code | Description | Response headers |
|
|
995
|
+
|-------------|-------------|------------------|
|
|
996
|
+
|**0** | | - |
|
|
997
|
+
|
|
998
|
+
[[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)
|
|
999
|
+
|
|
1000
|
+
# **bookingControllerRsvpBookingDetail**
|
|
1001
|
+
> BookingRSVPResponseDTO bookingControllerRsvpBookingDetail()
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
### Example
|
|
1005
|
+
|
|
1006
|
+
```typescript
|
|
1007
|
+
import {
|
|
1008
|
+
BookingApi,
|
|
1009
|
+
Configuration
|
|
1010
|
+
} from './api';
|
|
1011
|
+
|
|
1012
|
+
const configuration = new Configuration();
|
|
1013
|
+
const apiInstance = new BookingApi(configuration);
|
|
1014
|
+
|
|
1015
|
+
let id: string; // (default to undefined)
|
|
1016
|
+
|
|
1017
|
+
const { status, data } = await apiInstance.bookingControllerRsvpBookingDetail(
|
|
1018
|
+
id
|
|
1019
|
+
);
|
|
1020
|
+
```
|
|
1021
|
+
|
|
1022
|
+
### Parameters
|
|
1023
|
+
|
|
1024
|
+
|Name | Type | Description | Notes|
|
|
1025
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1026
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
### Return type
|
|
1030
|
+
|
|
1031
|
+
**BookingRSVPResponseDTO**
|
|
1032
|
+
|
|
1033
|
+
### Authorization
|
|
1034
|
+
|
|
1035
|
+
No authorization required
|
|
1036
|
+
|
|
1037
|
+
### HTTP request headers
|
|
1038
|
+
|
|
1039
|
+
- **Content-Type**: Not defined
|
|
1040
|
+
- **Accept**: application/json
|
|
1041
|
+
|
|
1042
|
+
|
|
888
1043
|
### HTTP response details
|
|
889
1044
|
| Status code | Description | Response headers |
|
|
890
1045
|
|-------------|-------------|------------------|
|
|
@@ -997,3 +1152,57 @@ const { status, data } = await apiInstance.bookingControllerUpdateBooking(
|
|
|
997
1152
|
|
|
998
1153
|
[[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)
|
|
999
1154
|
|
|
1155
|
+
# **bookingControllerUpdateRSVPEventBooking**
|
|
1156
|
+
> BookingRSVPResponseDTO bookingControllerUpdateRSVPEventBooking(createRSVPEventBookingPayload)
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
### Example
|
|
1160
|
+
|
|
1161
|
+
```typescript
|
|
1162
|
+
import {
|
|
1163
|
+
BookingApi,
|
|
1164
|
+
Configuration,
|
|
1165
|
+
CreateRSVPEventBookingPayload
|
|
1166
|
+
} from './api';
|
|
1167
|
+
|
|
1168
|
+
const configuration = new Configuration();
|
|
1169
|
+
const apiInstance = new BookingApi(configuration);
|
|
1170
|
+
|
|
1171
|
+
let id: string; // (default to undefined)
|
|
1172
|
+
let createRSVPEventBookingPayload: CreateRSVPEventBookingPayload; //
|
|
1173
|
+
|
|
1174
|
+
const { status, data } = await apiInstance.bookingControllerUpdateRSVPEventBooking(
|
|
1175
|
+
id,
|
|
1176
|
+
createRSVPEventBookingPayload
|
|
1177
|
+
);
|
|
1178
|
+
```
|
|
1179
|
+
|
|
1180
|
+
### Parameters
|
|
1181
|
+
|
|
1182
|
+
|Name | Type | Description | Notes|
|
|
1183
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1184
|
+
| **createRSVPEventBookingPayload** | **CreateRSVPEventBookingPayload**| | |
|
|
1185
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
### Return type
|
|
1189
|
+
|
|
1190
|
+
**BookingRSVPResponseDTO**
|
|
1191
|
+
|
|
1192
|
+
### Authorization
|
|
1193
|
+
|
|
1194
|
+
No authorization required
|
|
1195
|
+
|
|
1196
|
+
### HTTP request headers
|
|
1197
|
+
|
|
1198
|
+
- **Content-Type**: application/json
|
|
1199
|
+
- **Accept**: application/json
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
### HTTP response details
|
|
1203
|
+
| Status code | Description | Response headers |
|
|
1204
|
+
|-------------|-------------|------------------|
|
|
1205
|
+
|**0** | | - |
|
|
1206
|
+
|
|
1207
|
+
[[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)
|
|
1208
|
+
|
package/docs/BookingEntity.md
CHANGED
|
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**notes** | **string** | Notes related to the booking | [default to undefined]
|
|
22
22
|
**status** | **string** | Status of the booking | [default to undefined]
|
|
23
23
|
**occasion** | **string** | Occasion for the booking | [default to undefined]
|
|
24
|
+
**paymentIntent** | **object** | | [optional] [default to undefined]
|
|
25
|
+
**discountCoupon** | **object** | | [optional] [default to undefined]
|
|
24
26
|
**calendar** | **Array<string>** | Calendar associated with the booking | [default to undefined]
|
|
25
27
|
**paymentMethodId** | **string** | Payment method ID for the booking | [default to undefined]
|
|
26
28
|
**method** | **string** | Booking method used | [default to undefined]
|
|
@@ -34,6 +36,8 @@ Name | Type | Description | Notes
|
|
|
34
36
|
**walking** | **object** | | [default to undefined]
|
|
35
37
|
**cancellationFee** | **object** | Cancellation fee | [optional] [default to undefined]
|
|
36
38
|
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
39
|
+
**createdDetails** | [**CreateBookingCollaboratorPayload**](CreateBookingCollaboratorPayload.md) | | [default to undefined]
|
|
40
|
+
**rsvpId** | [**RSVPEventEntity**](RSVPEventEntity.md) | | [default to undefined]
|
|
37
41
|
|
|
38
42
|
## Example
|
|
39
43
|
|
|
@@ -57,6 +61,8 @@ const instance: BookingEntity = {
|
|
|
57
61
|
notes,
|
|
58
62
|
status,
|
|
59
63
|
occasion,
|
|
64
|
+
paymentIntent,
|
|
65
|
+
discountCoupon,
|
|
60
66
|
calendar,
|
|
61
67
|
paymentMethodId,
|
|
62
68
|
method,
|
|
@@ -70,6 +76,8 @@ const instance: BookingEntity = {
|
|
|
70
76
|
walking,
|
|
71
77
|
cancellationFee,
|
|
72
78
|
images,
|
|
79
|
+
createdDetails,
|
|
80
|
+
rsvpId,
|
|
73
81
|
};
|
|
74
82
|
```
|
|
75
83
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | Booking ID | [default to undefined]
|
|
9
|
+
**mobile** | **string** | Mobile number | [optional] [default to undefined]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,6 +15,7 @@ import { BookingPaymentPayloadDTO } from './api';
|
|
|
14
15
|
|
|
15
16
|
const instance: BookingPaymentPayloadDTO = {
|
|
16
17
|
id,
|
|
18
|
+
mobile,
|
|
17
19
|
};
|
|
18
20
|
```
|
|
19
21
|
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BookingRSVPResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**percentage** | **string** | | [default to undefined]
|
|
8
|
+
**going** | [**UserEntity**](UserEntity.md) | | [default to undefined]
|
|
9
|
+
**invited** | [**UserEntity**](UserEntity.md) | | [default to undefined]
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
14
13
|
```typescript
|
|
15
|
-
import {
|
|
14
|
+
import { BookingRSVPResponse } from './api';
|
|
16
15
|
|
|
17
|
-
const instance:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
percentage,
|
|
16
|
+
const instance: BookingRSVPResponse = {
|
|
17
|
+
going,
|
|
18
|
+
invited,
|
|
21
19
|
};
|
|
22
20
|
```
|
|
23
21
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BookingRSVPResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**BookingRSVPResponse**](BookingRSVPResponse.md) | Booking response | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BookingRSVPResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BookingRSVPResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
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/BookingResponse.md
CHANGED
|
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**occasion** | **string** | Occasion id | [default to undefined]
|
|
18
18
|
**calendar** | **Array<string>** | Calendar attached with booking | [default to undefined]
|
|
19
19
|
**paymentMethodId** | **string** | Payment method Id | [default to undefined]
|
|
20
|
+
**paymentIntent** | **object** | | [optional] [default to undefined]
|
|
21
|
+
**discountCoupon** | **object** | | [optional] [default to undefined]
|
|
20
22
|
**collaborators** | [**Array<CreateBookingCollaboratorPayload>**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
|
|
21
23
|
**method** | **string** | Booking method | [default to MethodEnum_App]
|
|
22
24
|
**favorite** | [**BusinessVenueDTO**](BusinessVenueDTO.md) | Business venue favorite | [optional] [default to undefined]
|
|
@@ -29,6 +31,8 @@ Name | Type | Description | Notes
|
|
|
29
31
|
**walking** | **object** | | [default to undefined]
|
|
30
32
|
**selectedStaff** | [**BusinessStaffEntity**](BusinessStaffEntity.md) | Staff members involved in the booking | [default to undefined]
|
|
31
33
|
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
34
|
+
**createdDetails** | [**CreateBookingCollaboratorPayload**](CreateBookingCollaboratorPayload.md) | | [default to undefined]
|
|
35
|
+
**rsvpId** | [**RSVPEventEntity**](RSVPEventEntity.md) | | [default to undefined]
|
|
32
36
|
|
|
33
37
|
## Example
|
|
34
38
|
|
|
@@ -48,6 +52,8 @@ const instance: BookingResponse = {
|
|
|
48
52
|
occasion,
|
|
49
53
|
calendar,
|
|
50
54
|
paymentMethodId,
|
|
55
|
+
paymentIntent,
|
|
56
|
+
discountCoupon,
|
|
51
57
|
collaborators,
|
|
52
58
|
method,
|
|
53
59
|
favorite,
|
|
@@ -60,6 +66,8 @@ const instance: BookingResponse = {
|
|
|
60
66
|
walking,
|
|
61
67
|
selectedStaff,
|
|
62
68
|
images,
|
|
69
|
+
createdDetails,
|
|
70
|
+
rsvpId,
|
|
63
71
|
};
|
|
64
72
|
```
|
|
65
73
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2025-12-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-12T19:08:18+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-12T19:08:18+05:30]
|
|
11
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# CreateRSVPEventBookingPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-12-12T19:08:18+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-12T19:08:18+05:30]
|
|
11
|
+
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
|
+
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
|
+
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
14
|
+
**collaborators** | [**Array<CreateBookingCollaboratorPayload>**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
|
|
15
|
+
**customers** | **Array<string>** | The list of customers associated with the booking | [default to undefined]
|
|
16
|
+
**method** | **string** | Booking method | [default to 'APP']
|
|
17
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
|
+
**quantity** | **number** | | [default to undefined]
|
|
19
|
+
**rsvpId** | **string** | | [default to undefined]
|
|
20
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**createdDetails** | [**CreateBookingCollaboratorPayload**](CreateBookingCollaboratorPayload.md) | | [optional] [default to undefined]
|
|
23
|
+
**discountId** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**status** | **string** | Status of the booking | [optional] [default to undefined]
|
|
25
|
+
**paymentMethodId** | **string** | Payment method Id | [optional] [default to undefined]
|
|
26
|
+
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [optional] [default to undefined]
|
|
27
|
+
**images** | **Array<string>** | | [default to undefined]
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import { CreateRSVPEventBookingPayload } from './api';
|
|
33
|
+
|
|
34
|
+
const instance: CreateRSVPEventBookingPayload = {
|
|
35
|
+
title,
|
|
36
|
+
startDate,
|
|
37
|
+
endDate,
|
|
38
|
+
note,
|
|
39
|
+
occasion,
|
|
40
|
+
calendar,
|
|
41
|
+
collaborators,
|
|
42
|
+
customers,
|
|
43
|
+
method,
|
|
44
|
+
tags,
|
|
45
|
+
quantity,
|
|
46
|
+
rsvpId,
|
|
47
|
+
venue,
|
|
48
|
+
business,
|
|
49
|
+
createdDetails,
|
|
50
|
+
discountId,
|
|
51
|
+
status,
|
|
52
|
+
paymentMethodId,
|
|
53
|
+
paymentMethod,
|
|
54
|
+
images,
|
|
55
|
+
};
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
[[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,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**startDate** | **string** | The start date of the booking | [default to 2025-12-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-12-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-12-12T19:08:18+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-12T19:08:18+05:30]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**whatsOnId** | **string** | Event ID | [optional] [default to undefined]
|
|
9
|
-
**serviceId** | **string** |
|
|
9
|
+
**serviceId** | **string** | Service ID | [optional] [default to undefined]
|
|
10
|
+
**rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
|
|
10
11
|
**discountId** | **string** | Discount ID | [optional] [default to undefined]
|
|
11
12
|
**selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
|
|
12
13
|
**quantity** | **number** | | [optional] [default to 0]
|
|
@@ -20,6 +21,7 @@ import { PaymentDetailsPayload } from './api';
|
|
|
20
21
|
const instance: PaymentDetailsPayload = {
|
|
21
22
|
whatsOnId,
|
|
22
23
|
serviceId,
|
|
24
|
+
rsvpId,
|
|
23
25
|
discountId,
|
|
24
26
|
selectedStaff,
|
|
25
27
|
quantity,
|
package/docs/PlansApi.md
CHANGED
|
@@ -10,11 +10,14 @@ All URIs are relative to *http://localhost:8080*
|
|
|
10
10
|
|[**paymentControllerCreateSetupIntent**](#paymentcontrollercreatesetupintent) | **GET** /v1/payment/create-setup-intent | |
|
|
11
11
|
|[**paymentControllerGetPlans**](#paymentcontrollergetplans) | **GET** /v1/payment/plans | |
|
|
12
12
|
|[**paymentControllerPaymentDetails**](#paymentcontrollerpaymentdetails) | **POST** /v1/payment/booking/details | |
|
|
13
|
+
|[**paymentControllerPaymentRSVPDetails**](#paymentcontrollerpaymentrsvpdetails) | **POST** /v1/payment/booking/rsvp/details | |
|
|
13
14
|
|[**paymentControllerRetrieveConnectedAccount**](#paymentcontrollerretrieveconnectedaccount) | **GET** /v1/payment/connected-account | |
|
|
14
15
|
|[**paymentControllerRetrieveCouponCode**](#paymentcontrollerretrievecouponcode) | **POST** /v1/payment/promo-code | |
|
|
16
|
+
|[**paymentControllerRetrieveRSVPCouponCode**](#paymentcontrollerretrieversvpcouponcode) | **POST** /v1/payment/rsvp-promo-code | |
|
|
15
17
|
|[**paymentControllerRevenueCatWebhook**](#paymentcontrollerrevenuecatwebhook) | **POST** /v1/payment/revenuecat-webhook | |
|
|
16
18
|
|[**paymentControllerServiceById**](#paymentcontrollerservicebyid) | **GET** /v1/payment/stripe-plan/{id} | |
|
|
17
19
|
|[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
|
|
20
|
+
|[**paymentControllerSetupDashboardBookingPayment**](#paymentcontrollersetupdashboardbookingpayment) | **POST** /v1/payment/booking/rsvp | |
|
|
18
21
|
|[**paymentControllerStripeWebhook**](#paymentcontrollerstripewebhook) | **POST** /v1/payment/stripe-webhook | |
|
|
19
22
|
|
|
20
23
|
# **paymentControllerConnectAccount**
|
|
@@ -284,6 +287,57 @@ const { status, data } = await apiInstance.paymentControllerPaymentDetails(
|
|
|
284
287
|
- **Accept**: application/json
|
|
285
288
|
|
|
286
289
|
|
|
290
|
+
### HTTP response details
|
|
291
|
+
| Status code | Description | Response headers |
|
|
292
|
+
|-------------|-------------|------------------|
|
|
293
|
+
|**200** | | - |
|
|
294
|
+
|
|
295
|
+
[[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)
|
|
296
|
+
|
|
297
|
+
# **paymentControllerPaymentRSVPDetails**
|
|
298
|
+
> PaymentDetailsResponseDTO paymentControllerPaymentRSVPDetails(paymentDetailsPayload)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
### Example
|
|
302
|
+
|
|
303
|
+
```typescript
|
|
304
|
+
import {
|
|
305
|
+
PlansApi,
|
|
306
|
+
Configuration,
|
|
307
|
+
PaymentDetailsPayload
|
|
308
|
+
} from './api';
|
|
309
|
+
|
|
310
|
+
const configuration = new Configuration();
|
|
311
|
+
const apiInstance = new PlansApi(configuration);
|
|
312
|
+
|
|
313
|
+
let paymentDetailsPayload: PaymentDetailsPayload; //
|
|
314
|
+
|
|
315
|
+
const { status, data } = await apiInstance.paymentControllerPaymentRSVPDetails(
|
|
316
|
+
paymentDetailsPayload
|
|
317
|
+
);
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### Parameters
|
|
321
|
+
|
|
322
|
+
|Name | Type | Description | Notes|
|
|
323
|
+
|------------- | ------------- | ------------- | -------------|
|
|
324
|
+
| **paymentDetailsPayload** | **PaymentDetailsPayload**| | |
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
### Return type
|
|
328
|
+
|
|
329
|
+
**PaymentDetailsResponseDTO**
|
|
330
|
+
|
|
331
|
+
### Authorization
|
|
332
|
+
|
|
333
|
+
No authorization required
|
|
334
|
+
|
|
335
|
+
### HTTP request headers
|
|
336
|
+
|
|
337
|
+
- **Content-Type**: application/json
|
|
338
|
+
- **Accept**: application/json
|
|
339
|
+
|
|
340
|
+
|
|
287
341
|
### HTTP response details
|
|
288
342
|
| Status code | Description | Response headers |
|
|
289
343
|
|-------------|-------------|------------------|
|
|
@@ -378,6 +432,57 @@ const { status, data } = await apiInstance.paymentControllerRetrieveCouponCode(
|
|
|
378
432
|
- **Accept**: application/json
|
|
379
433
|
|
|
380
434
|
|
|
435
|
+
### HTTP response details
|
|
436
|
+
| Status code | Description | Response headers |
|
|
437
|
+
|-------------|-------------|------------------|
|
|
438
|
+
|**200** | | - |
|
|
439
|
+
|
|
440
|
+
[[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)
|
|
441
|
+
|
|
442
|
+
# **paymentControllerRetrieveRSVPCouponCode**
|
|
443
|
+
> PromoCodeResponseDTO paymentControllerRetrieveRSVPCouponCode(promoCode)
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
### Example
|
|
447
|
+
|
|
448
|
+
```typescript
|
|
449
|
+
import {
|
|
450
|
+
PlansApi,
|
|
451
|
+
Configuration,
|
|
452
|
+
PromoCode
|
|
453
|
+
} from './api';
|
|
454
|
+
|
|
455
|
+
const configuration = new Configuration();
|
|
456
|
+
const apiInstance = new PlansApi(configuration);
|
|
457
|
+
|
|
458
|
+
let promoCode: PromoCode; //
|
|
459
|
+
|
|
460
|
+
const { status, data } = await apiInstance.paymentControllerRetrieveRSVPCouponCode(
|
|
461
|
+
promoCode
|
|
462
|
+
);
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
### Parameters
|
|
466
|
+
|
|
467
|
+
|Name | Type | Description | Notes|
|
|
468
|
+
|------------- | ------------- | ------------- | -------------|
|
|
469
|
+
| **promoCode** | **PromoCode**| | |
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
### Return type
|
|
473
|
+
|
|
474
|
+
**PromoCodeResponseDTO**
|
|
475
|
+
|
|
476
|
+
### Authorization
|
|
477
|
+
|
|
478
|
+
No authorization required
|
|
479
|
+
|
|
480
|
+
### HTTP request headers
|
|
481
|
+
|
|
482
|
+
- **Content-Type**: application/json
|
|
483
|
+
- **Accept**: application/json
|
|
484
|
+
|
|
485
|
+
|
|
381
486
|
### HTTP response details
|
|
382
487
|
| Status code | Description | Response headers |
|
|
383
488
|
|-------------|-------------|------------------|
|
|
@@ -522,6 +627,57 @@ const { status, data } = await apiInstance.paymentControllerSetupBookingPayment(
|
|
|
522
627
|
- **Accept**: application/json
|
|
523
628
|
|
|
524
629
|
|
|
630
|
+
### HTTP response details
|
|
631
|
+
| Status code | Description | Response headers |
|
|
632
|
+
|-------------|-------------|------------------|
|
|
633
|
+
|**200** | | - |
|
|
634
|
+
|
|
635
|
+
[[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)
|
|
636
|
+
|
|
637
|
+
# **paymentControllerSetupDashboardBookingPayment**
|
|
638
|
+
> BookingPaymentCreateResponseDTO paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO)
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
### Example
|
|
642
|
+
|
|
643
|
+
```typescript
|
|
644
|
+
import {
|
|
645
|
+
PlansApi,
|
|
646
|
+
Configuration,
|
|
647
|
+
BookingPaymentPayloadDTO
|
|
648
|
+
} from './api';
|
|
649
|
+
|
|
650
|
+
const configuration = new Configuration();
|
|
651
|
+
const apiInstance = new PlansApi(configuration);
|
|
652
|
+
|
|
653
|
+
let bookingPaymentPayloadDTO: BookingPaymentPayloadDTO; //
|
|
654
|
+
|
|
655
|
+
const { status, data } = await apiInstance.paymentControllerSetupDashboardBookingPayment(
|
|
656
|
+
bookingPaymentPayloadDTO
|
|
657
|
+
);
|
|
658
|
+
```
|
|
659
|
+
|
|
660
|
+
### Parameters
|
|
661
|
+
|
|
662
|
+
|Name | Type | Description | Notes|
|
|
663
|
+
|------------- | ------------- | ------------- | -------------|
|
|
664
|
+
| **bookingPaymentPayloadDTO** | **BookingPaymentPayloadDTO**| | |
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
### Return type
|
|
668
|
+
|
|
669
|
+
**BookingPaymentCreateResponseDTO**
|
|
670
|
+
|
|
671
|
+
### Authorization
|
|
672
|
+
|
|
673
|
+
No authorization required
|
|
674
|
+
|
|
675
|
+
### HTTP request headers
|
|
676
|
+
|
|
677
|
+
- **Content-Type**: application/json
|
|
678
|
+
- **Accept**: application/json
|
|
679
|
+
|
|
680
|
+
|
|
525
681
|
### HTTP response details
|
|
526
682
|
| Status code | Description | Response headers |
|
|
527
683
|
|-------------|-------------|------------------|
|