@gooday_corp/gooday-api-client 4.4.1 → 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 +42 -0
- package/docs/BookingEntity.md +4 -0
- package/docs/BookingResponse.md +2 -0
- package/docs/CreateBookingPayload.md +4 -2
- package/docs/CreateWalkInBookingPayload.md +4 -2
- package/docs/MicrosoftCalendarAccessDTO.md +4 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1033,12 +1033,24 @@ export interface BookingEntity {
|
|
|
1033
1033
|
* @memberof BookingEntity
|
|
1034
1034
|
*/
|
|
1035
1035
|
'whatsOn': WhatsOnEntity;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @type {object}
|
|
1039
|
+
* @memberof BookingEntity
|
|
1040
|
+
*/
|
|
1041
|
+
'walking': object;
|
|
1036
1042
|
/**
|
|
1037
1043
|
* Cancellation fee
|
|
1038
1044
|
* @type {object}
|
|
1039
1045
|
* @memberof BookingEntity
|
|
1040
1046
|
*/
|
|
1041
1047
|
'cancellationFee'?: object;
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* @type {Array<string>}
|
|
1051
|
+
* @memberof BookingEntity
|
|
1052
|
+
*/
|
|
1053
|
+
'images'?: Array<string>;
|
|
1042
1054
|
}
|
|
1043
1055
|
|
|
1044
1056
|
export const BookingEntityStatusEnum = {
|
|
@@ -1318,6 +1330,12 @@ export interface BookingResponse {
|
|
|
1318
1330
|
* @memberof BookingResponse
|
|
1319
1331
|
*/
|
|
1320
1332
|
'selectedStaff': BusinessStaffEntity;
|
|
1333
|
+
/**
|
|
1334
|
+
*
|
|
1335
|
+
* @type {Array<string>}
|
|
1336
|
+
* @memberof BookingResponse
|
|
1337
|
+
*/
|
|
1338
|
+
'images'?: Array<string>;
|
|
1321
1339
|
}
|
|
1322
1340
|
|
|
1323
1341
|
export const BookingResponseMethodEnum = {
|
|
@@ -3704,6 +3722,12 @@ export interface CreateBookingPayload {
|
|
|
3704
3722
|
* @memberof CreateBookingPayload
|
|
3705
3723
|
*/
|
|
3706
3724
|
'discountId'?: string;
|
|
3725
|
+
/**
|
|
3726
|
+
*
|
|
3727
|
+
* @type {Array<string>}
|
|
3728
|
+
* @memberof CreateBookingPayload
|
|
3729
|
+
*/
|
|
3730
|
+
'images'?: Array<string>;
|
|
3707
3731
|
}
|
|
3708
3732
|
/**
|
|
3709
3733
|
*
|
|
@@ -4143,6 +4167,12 @@ export interface CreateWalkInBookingPayload {
|
|
|
4143
4167
|
* @memberof CreateWalkInBookingPayload
|
|
4144
4168
|
*/
|
|
4145
4169
|
'walking': object;
|
|
4170
|
+
/**
|
|
4171
|
+
*
|
|
4172
|
+
* @type {Array<string>}
|
|
4173
|
+
* @memberof CreateWalkInBookingPayload
|
|
4174
|
+
*/
|
|
4175
|
+
'images': Array<string>;
|
|
4146
4176
|
}
|
|
4147
4177
|
/**
|
|
4148
4178
|
*
|
|
@@ -6401,12 +6431,24 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
6401
6431
|
* @memberof MicrosoftCalendarAccessDTO
|
|
6402
6432
|
*/
|
|
6403
6433
|
'accessToken': string;
|
|
6434
|
+
/**
|
|
6435
|
+
* accessToken
|
|
6436
|
+
* @type {string}
|
|
6437
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
6438
|
+
*/
|
|
6439
|
+
'idToken'?: string;
|
|
6404
6440
|
/**
|
|
6405
6441
|
* refreshToken
|
|
6406
6442
|
* @type {string}
|
|
6407
6443
|
* @memberof MicrosoftCalendarAccessDTO
|
|
6408
6444
|
*/
|
|
6409
6445
|
'refreshToken': string;
|
|
6446
|
+
/**
|
|
6447
|
+
* refreshToken
|
|
6448
|
+
* @type {string}
|
|
6449
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
6450
|
+
*/
|
|
6451
|
+
'expiryTime'?: string;
|
|
6410
6452
|
}
|
|
6411
6453
|
/**
|
|
6412
6454
|
*
|
package/docs/BookingEntity.md
CHANGED
|
@@ -31,7 +31,9 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [default to undefined]
|
|
32
32
|
**tags** | [**Array<TagsResponse>**](TagsResponse.md) | | [default to undefined]
|
|
33
33
|
**whatsOn** | [**WhatsOnEntity**](WhatsOnEntity.md) | | [default to undefined]
|
|
34
|
+
**walking** | **object** | | [default to undefined]
|
|
34
35
|
**cancellationFee** | **object** | Cancellation fee | [optional] [default to undefined]
|
|
36
|
+
**images** | **Array<string>** | | [optional] [default to undefined]
|
|
35
37
|
|
|
36
38
|
## Example
|
|
37
39
|
|
|
@@ -65,7 +67,9 @@ const instance: BookingEntity = {
|
|
|
65
67
|
paymentMethod,
|
|
66
68
|
tags,
|
|
67
69
|
whatsOn,
|
|
70
|
+
walking,
|
|
68
71
|
cancellationFee,
|
|
72
|
+
images,
|
|
69
73
|
};
|
|
70
74
|
```
|
|
71
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
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-
|
|
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
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-
|
|
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
|
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**accessToken** | **string** | accessToken | [default to undefined]
|
|
9
|
+
**idToken** | **string** | accessToken | [optional] [default to undefined]
|
|
9
10
|
**refreshToken** | **string** | refreshToken | [default to undefined]
|
|
11
|
+
**expiryTime** | **string** | refreshToken | [optional] [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -15,7 +17,9 @@ import { MicrosoftCalendarAccessDTO } from './api';
|
|
|
15
17
|
|
|
16
18
|
const instance: MicrosoftCalendarAccessDTO = {
|
|
17
19
|
accessToken,
|
|
20
|
+
idToken,
|
|
18
21
|
refreshToken,
|
|
22
|
+
expiryTime,
|
|
19
23
|
};
|
|
20
24
|
```
|
|
21
25
|
|
|
@@ -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-
|
|
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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-
|
|
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]
|