@gooday_corp/gooday-api-client 4.4.1 → 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 +18 -0
- package/docs/BookingEntity.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}
|
|
@@ -6401,12 +6407,24 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
6401
6407
|
* @memberof MicrosoftCalendarAccessDTO
|
|
6402
6408
|
*/
|
|
6403
6409
|
'accessToken': string;
|
|
6410
|
+
/**
|
|
6411
|
+
* accessToken
|
|
6412
|
+
* @type {string}
|
|
6413
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
6414
|
+
*/
|
|
6415
|
+
'idToken'?: string;
|
|
6404
6416
|
/**
|
|
6405
6417
|
* refreshToken
|
|
6406
6418
|
* @type {string}
|
|
6407
6419
|
* @memberof MicrosoftCalendarAccessDTO
|
|
6408
6420
|
*/
|
|
6409
6421
|
'refreshToken': string;
|
|
6422
|
+
/**
|
|
6423
|
+
* refreshToken
|
|
6424
|
+
* @type {string}
|
|
6425
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
6426
|
+
*/
|
|
6427
|
+
'expiryTime'?: string;
|
|
6410
6428
|
}
|
|
6411
6429
|
/**
|
|
6412
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
|
```
|
|
@@ -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]
|