@gooday_corp/gooday-api-client 4.5.1 → 4.5.4
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/api.ts +13 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +4 -0
- package/docs/RSVPEvenPayloadDTO.md +2 -0
- package/docs/RSVPEventEntity.md +2 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3454,6 +3454,14 @@ export interface PaymentDetailsPayload {
|
|
|
3454
3454
|
* RSVP ID
|
|
3455
3455
|
*/
|
|
3456
3456
|
'rsvpId'?: string;
|
|
3457
|
+
/**
|
|
3458
|
+
* The start date of the booking
|
|
3459
|
+
*/
|
|
3460
|
+
'startDate'?: string;
|
|
3461
|
+
/**
|
|
3462
|
+
* The end date of the booking
|
|
3463
|
+
*/
|
|
3464
|
+
'endDate'?: string;
|
|
3457
3465
|
/**
|
|
3458
3466
|
* Discount ID
|
|
3459
3467
|
*/
|
|
@@ -3862,6 +3870,10 @@ export interface RSVPEvenPayloadDTO {
|
|
|
3862
3870
|
* Business
|
|
3863
3871
|
*/
|
|
3864
3872
|
'business'?: string;
|
|
3873
|
+
/**
|
|
3874
|
+
* Email template
|
|
3875
|
+
*/
|
|
3876
|
+
'emailTemplate'?: string;
|
|
3865
3877
|
/**
|
|
3866
3878
|
* Business venue
|
|
3867
3879
|
*/
|
|
@@ -3981,6 +3993,7 @@ export interface RSVPEventEntity {
|
|
|
3981
3993
|
*/
|
|
3982
3994
|
'meta'?: RSVPEventMetaDataDTO;
|
|
3983
3995
|
'stripeProduct'?: string;
|
|
3996
|
+
'emailTemplate'?: string;
|
|
3984
3997
|
'discounts'?: Array<object>;
|
|
3985
3998
|
}
|
|
3986
3999
|
|
|
@@ -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-14T13:26:33Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-14T13:26:33Z]
|
|
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]
|
|
@@ -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-14T13:26:33Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-14T13:26:33Z]
|
|
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,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-14T13:26:33Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-14T13:26:33Z]
|
|
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]
|
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**whatsOnId** | **string** | Event ID | [optional] [default to undefined]
|
|
9
9
|
**serviceId** | **string** | Service ID | [optional] [default to undefined]
|
|
10
10
|
**rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2025-12-14T13:26:31Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2025-12-14T13:26:31Z]
|
|
11
13
|
**discountId** | **string** | Discount ID | [optional] [default to undefined]
|
|
12
14
|
**selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
|
|
13
15
|
**quantity** | **number** | | [optional] [default to 0]
|
|
@@ -22,6 +24,8 @@ const instance: PaymentDetailsPayload = {
|
|
|
22
24
|
whatsOnId,
|
|
23
25
|
serviceId,
|
|
24
26
|
rsvpId,
|
|
27
|
+
startDate,
|
|
28
|
+
endDate,
|
|
25
29
|
discountId,
|
|
26
30
|
selectedStaff,
|
|
27
31
|
quantity,
|
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**capacity** | **number** | | [default to undefined]
|
|
22
22
|
**userId** | **string** | user | [optional] [default to undefined]
|
|
23
23
|
**business** | **string** | Business | [optional] [default to undefined]
|
|
24
|
+
**emailTemplate** | **string** | Email template | [optional] [default to undefined]
|
|
24
25
|
**venue** | **string** | Business venue | [optional] [default to undefined]
|
|
25
26
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
26
27
|
**hideLocation** | **boolean** | | [optional] [default to undefined]
|
|
@@ -58,6 +59,7 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
58
59
|
capacity,
|
|
59
60
|
userId,
|
|
60
61
|
business,
|
|
62
|
+
emailTemplate,
|
|
61
63
|
venue,
|
|
62
64
|
tags,
|
|
63
65
|
hideLocation,
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -36,6 +36,7 @@ Name | Type | Description | Notes
|
|
|
36
36
|
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
37
37
|
**meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
38
38
|
**stripeProduct** | **string** | | [optional] [default to undefined]
|
|
39
|
+
**emailTemplate** | **string** | | [optional] [default to undefined]
|
|
39
40
|
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
40
41
|
|
|
41
42
|
## Example
|
|
@@ -75,6 +76,7 @@ const instance: RSVPEventEntity = {
|
|
|
75
76
|
location,
|
|
76
77
|
meta,
|
|
77
78
|
stripeProduct,
|
|
79
|
+
emailTemplate,
|
|
78
80
|
discounts,
|
|
79
81
|
};
|
|
80
82
|
```
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-12-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-14T13:26:33Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2025-12-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-12-14T13:26:33Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-14T14:26:33Z]
|
|
10
10
|
**venue** | **string** | The venue of the waitlist | [default to undefined]
|
|
11
11
|
**business** | **string** | The business associated with the waitlist | [default to undefined]
|
|
12
12
|
**collaborators** | [**Array<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|