@gooday_corp/gooday-api-client 3.4.0 → 4.4.3
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 +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -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,6 +1033,12 @@ 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}
|
|
@@ -1306,6 +1312,12 @@ export interface BookingResponse {
|
|
|
1306
1312
|
* @memberof BookingResponse
|
|
1307
1313
|
*/
|
|
1308
1314
|
'whatsOn': string;
|
|
1315
|
+
/**
|
|
1316
|
+
*
|
|
1317
|
+
* @type {object}
|
|
1318
|
+
* @memberof BookingResponse
|
|
1319
|
+
*/
|
|
1320
|
+
'walking': object;
|
|
1309
1321
|
/**
|
|
1310
1322
|
* Staff members involved in the booking
|
|
1311
1323
|
* @type {BusinessStaffEntity}
|
|
@@ -6395,12 +6407,24 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
6395
6407
|
* @memberof MicrosoftCalendarAccessDTO
|
|
6396
6408
|
*/
|
|
6397
6409
|
'accessToken': string;
|
|
6410
|
+
/**
|
|
6411
|
+
* accessToken
|
|
6412
|
+
* @type {string}
|
|
6413
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
6414
|
+
*/
|
|
6415
|
+
'idToken'?: string;
|
|
6398
6416
|
/**
|
|
6399
6417
|
* refreshToken
|
|
6400
6418
|
* @type {string}
|
|
6401
6419
|
* @memberof MicrosoftCalendarAccessDTO
|
|
6402
6420
|
*/
|
|
6403
6421
|
'refreshToken': string;
|
|
6422
|
+
/**
|
|
6423
|
+
* refreshToken
|
|
6424
|
+
* @type {string}
|
|
6425
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
6426
|
+
*/
|
|
6427
|
+
'expiryTime'?: string;
|
|
6404
6428
|
}
|
|
6405
6429
|
/**
|
|
6406
6430
|
*
|
package/docs/BookingEntity.md
CHANGED
|
@@ -31,6 +31,7 @@ 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]
|
|
35
36
|
|
|
36
37
|
## Example
|
|
@@ -65,6 +66,7 @@ const instance: BookingEntity = {
|
|
|
65
66
|
paymentMethod,
|
|
66
67
|
tags,
|
|
67
68
|
whatsOn,
|
|
69
|
+
walking,
|
|
68
70
|
cancellationFee,
|
|
69
71
|
};
|
|
70
72
|
```
|
package/docs/BookingResponse.md
CHANGED
|
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
|
|
|
26
26
|
**serviceId** | [**PrepaidServiceEntity**](PrepaidServiceEntity.md) | | [default to undefined]
|
|
27
27
|
**paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [default to undefined]
|
|
28
28
|
**whatsOn** | **string** | | [default to undefined]
|
|
29
|
+
**walking** | **object** | | [default to undefined]
|
|
29
30
|
**selectedStaff** | [**BusinessStaffEntity**](BusinessStaffEntity.md) | Staff members involved in the booking | [default to undefined]
|
|
30
31
|
|
|
31
32
|
## Example
|
|
@@ -55,6 +56,7 @@ const instance: BookingResponse = {
|
|
|
55
56
|
serviceId,
|
|
56
57
|
paymentMethod,
|
|
57
58
|
whatsOn,
|
|
59
|
+
walking,
|
|
58
60
|
selectedStaff,
|
|
59
61
|
};
|
|
60
62
|
```
|
|
@@ -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-02T18:10:27+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-10-02T18:10:27+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]
|
|
@@ -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-02T18:10:27+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-10-02T18:10:27+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,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-02T18:10:27+05:30]
|
|
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-02T18:10:27+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-10-02T19:10:27+05:30]
|
|
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]
|