@gooday_corp/gooday-api-client 4.4.3 → 4.4.6
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 +24 -0
- package/docs/BookingEntity.md +2 -0
- package/docs/BookingResponse.md +2 -0
- package/docs/CreateBookingPayload.md +4 -2
- package/docs/CreateWalkInBookingPayload.md +4 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1045,6 +1045,12 @@ export interface BookingEntity {
|
|
|
1045
1045
|
* @memberof BookingEntity
|
|
1046
1046
|
*/
|
|
1047
1047
|
'cancellationFee'?: object;
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* @type {Array<string>}
|
|
1051
|
+
* @memberof BookingEntity
|
|
1052
|
+
*/
|
|
1053
|
+
'images'?: Array<string>;
|
|
1048
1054
|
}
|
|
1049
1055
|
|
|
1050
1056
|
export const BookingEntityStatusEnum = {
|
|
@@ -1324,6 +1330,12 @@ export interface BookingResponse {
|
|
|
1324
1330
|
* @memberof BookingResponse
|
|
1325
1331
|
*/
|
|
1326
1332
|
'selectedStaff': BusinessStaffEntity;
|
|
1333
|
+
/**
|
|
1334
|
+
*
|
|
1335
|
+
* @type {Array<string>}
|
|
1336
|
+
* @memberof BookingResponse
|
|
1337
|
+
*/
|
|
1338
|
+
'images'?: Array<string>;
|
|
1327
1339
|
}
|
|
1328
1340
|
|
|
1329
1341
|
export const BookingResponseMethodEnum = {
|
|
@@ -3710,6 +3722,12 @@ export interface CreateBookingPayload {
|
|
|
3710
3722
|
* @memberof CreateBookingPayload
|
|
3711
3723
|
*/
|
|
3712
3724
|
'discountId'?: string;
|
|
3725
|
+
/**
|
|
3726
|
+
*
|
|
3727
|
+
* @type {Array<string>}
|
|
3728
|
+
* @memberof CreateBookingPayload
|
|
3729
|
+
*/
|
|
3730
|
+
'images'?: Array<string>;
|
|
3713
3731
|
}
|
|
3714
3732
|
/**
|
|
3715
3733
|
*
|
|
@@ -4149,6 +4167,12 @@ export interface CreateWalkInBookingPayload {
|
|
|
4149
4167
|
* @memberof CreateWalkInBookingPayload
|
|
4150
4168
|
*/
|
|
4151
4169
|
'walking': object;
|
|
4170
|
+
/**
|
|
4171
|
+
*
|
|
4172
|
+
* @type {Array<string>}
|
|
4173
|
+
* @memberof CreateWalkInBookingPayload
|
|
4174
|
+
*/
|
|
4175
|
+
'images': Array<string>;
|
|
4152
4176
|
}
|
|
4153
4177
|
/**
|
|
4154
4178
|
*
|
package/docs/BookingEntity.md
CHANGED
|
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
|
|
|
33
33
|
**whatsOn** | [**WhatsOnEntity**](WhatsOnEntity.md) | | [default to undefined]
|
|
34
34
|
**walking** | **object** | | [default to undefined]
|
|
35
35
|
**cancellationFee** | **object** | Cancellation fee | [optional] [default to undefined]
|
|
36
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
36
37
|
|
|
37
38
|
## Example
|
|
38
39
|
|
|
@@ -68,6 +69,7 @@ const instance: BookingEntity = {
|
|
|
68
69
|
whatsOn,
|
|
69
70
|
walking,
|
|
70
71
|
cancellationFee,
|
|
72
|
+
images,
|
|
71
73
|
};
|
|
72
74
|
```
|
|
73
75
|
|
package/docs/BookingResponse.md
CHANGED
|
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
|
|
|
28
28
|
**whatsOn** | **string** | | [default to undefined]
|
|
29
29
|
**walking** | **object** | | [default to undefined]
|
|
30
30
|
**selectedStaff** | [**BusinessStaffEntity**](BusinessStaffEntity.md) | Staff members involved in the booking | [default to undefined]
|
|
31
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
31
32
|
|
|
32
33
|
## Example
|
|
33
34
|
|
|
@@ -58,6 +59,7 @@ const instance: BookingResponse = {
|
|
|
58
59
|
whatsOn,
|
|
59
60
|
walking,
|
|
60
61
|
selectedStaff,
|
|
62
|
+
images,
|
|
61
63
|
};
|
|
62
64
|
```
|
|
63
65
|
|
|
@@ -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-10-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-10-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-10-07T08:02:21Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-10-07T08:02:21Z]
|
|
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]
|
|
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**serviceId** | **string** | | [optional] [default to undefined]
|
|
28
28
|
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [optional] [default to undefined]
|
|
29
29
|
**discountId** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
30
31
|
|
|
31
32
|
## Example
|
|
32
33
|
|
|
@@ -56,6 +57,7 @@ const instance: CreateBookingPayload = {
|
|
|
56
57
|
serviceId,
|
|
57
58
|
paymentMethod,
|
|
58
59
|
discountId,
|
|
60
|
+
images,
|
|
59
61
|
};
|
|
60
62
|
```
|
|
61
63
|
|
|
@@ -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-10-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-10-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-10-07T08:02:21Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-10-07T08:02:21Z]
|
|
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]
|
|
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
18
|
**quantity** | **number** | | [default to undefined]
|
|
19
19
|
**walking** | **object** | | [default to undefined]
|
|
20
|
+
**images** | **Array<string>** | | [default to undefined]
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -36,6 +37,7 @@ const instance: CreateWalkInBookingPayload = {
|
|
|
36
37
|
tags,
|
|
37
38
|
quantity,
|
|
38
39
|
walking,
|
|
40
|
+
images,
|
|
39
41
|
};
|
|
40
42
|
```
|
|
41
43
|
|
|
@@ -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-10-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-10-07T08:02:21Z]
|
|
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-10-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-10-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-10-07T08:02:21Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-10-07T09:02:21Z]
|
|
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]
|