@gooday_corp/gooday-api-client 1.4.2 → 1.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 +66 -0
- package/docs/BlockoutEntity.md +2 -0
- package/docs/BlockoutPayloadDTO.md +2 -0
- package/docs/CalendarEventResponse.md +2 -0
- package/docs/CreateBookingPayload.md +3 -1
- package/docs/CreateEventPayloadDTO.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/PrepaidServiceEntity.md +2 -0
- package/docs/PrepaidServicePayloadDTO.md +2 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/StandardBookingSlotsPayload.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnEntity.md +2 -0
- package/docs/WhatsOnPayloadDTO.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -511,6 +511,12 @@ export interface BlockoutEntity {
|
|
|
511
511
|
* @memberof BlockoutEntity
|
|
512
512
|
*/
|
|
513
513
|
'endDate': string;
|
|
514
|
+
/**
|
|
515
|
+
* Recurrence end date of an event
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof BlockoutEntity
|
|
518
|
+
*/
|
|
519
|
+
'recurrenceEndDate': string;
|
|
514
520
|
/**
|
|
515
521
|
* Recurrence pattern
|
|
516
522
|
* @type {string}
|
|
@@ -595,6 +601,12 @@ export interface BlockoutPayloadDTO {
|
|
|
595
601
|
* @memberof BlockoutPayloadDTO
|
|
596
602
|
*/
|
|
597
603
|
'endDate': string;
|
|
604
|
+
/**
|
|
605
|
+
* Recurrence End date of event
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof BlockoutPayloadDTO
|
|
608
|
+
*/
|
|
609
|
+
'recurrenceEndDate': string;
|
|
598
610
|
/**
|
|
599
611
|
* Start hour of an event
|
|
600
612
|
* @type {string}
|
|
@@ -2658,6 +2670,12 @@ export interface CalendarEventResponse {
|
|
|
2658
2670
|
* @memberof CalendarEventResponse
|
|
2659
2671
|
*/
|
|
2660
2672
|
'endDate': string;
|
|
2673
|
+
/**
|
|
2674
|
+
*
|
|
2675
|
+
* @type {string}
|
|
2676
|
+
* @memberof CalendarEventResponse
|
|
2677
|
+
*/
|
|
2678
|
+
'recurrenceEndDate': string;
|
|
2661
2679
|
/**
|
|
2662
2680
|
*
|
|
2663
2681
|
* @type {Array<UserEntity>}
|
|
@@ -3130,6 +3148,12 @@ export interface CreateBookingPayload {
|
|
|
3130
3148
|
* @memberof CreateBookingPayload
|
|
3131
3149
|
*/
|
|
3132
3150
|
'date': string;
|
|
3151
|
+
/**
|
|
3152
|
+
* The start date of the booking
|
|
3153
|
+
* @type {string}
|
|
3154
|
+
* @memberof CreateBookingPayload
|
|
3155
|
+
*/
|
|
3156
|
+
'recurrenceEndDate'?: string;
|
|
3133
3157
|
/**
|
|
3134
3158
|
*
|
|
3135
3159
|
* @type {string}
|
|
@@ -3389,6 +3413,12 @@ export interface CreateEventPayloadDTO {
|
|
|
3389
3413
|
* @memberof CreateEventPayloadDTO
|
|
3390
3414
|
*/
|
|
3391
3415
|
'endDate': string;
|
|
3416
|
+
/**
|
|
3417
|
+
* Recurrence End date of event
|
|
3418
|
+
* @type {string}
|
|
3419
|
+
* @memberof CreateEventPayloadDTO
|
|
3420
|
+
*/
|
|
3421
|
+
'recurrenceEndDate': string;
|
|
3392
3422
|
/**
|
|
3393
3423
|
* Start hour of an event
|
|
3394
3424
|
* @type {string}
|
|
@@ -4005,6 +4035,12 @@ export interface EventResponse {
|
|
|
4005
4035
|
* @memberof EventResponse
|
|
4006
4036
|
*/
|
|
4007
4037
|
'endDate': string;
|
|
4038
|
+
/**
|
|
4039
|
+
* Recurrence end date of an event
|
|
4040
|
+
* @type {string}
|
|
4041
|
+
* @memberof EventResponse
|
|
4042
|
+
*/
|
|
4043
|
+
'recurrenceEndDate': string;
|
|
4008
4044
|
/**
|
|
4009
4045
|
* Recurrence pattern
|
|
4010
4046
|
* @type {string}
|
|
@@ -6417,6 +6453,12 @@ export interface PrepaidServiceEntity {
|
|
|
6417
6453
|
* @memberof PrepaidServiceEntity
|
|
6418
6454
|
*/
|
|
6419
6455
|
'endDate': string;
|
|
6456
|
+
/**
|
|
6457
|
+
* Recurrence end date of an event
|
|
6458
|
+
* @type {string}
|
|
6459
|
+
* @memberof PrepaidServiceEntity
|
|
6460
|
+
*/
|
|
6461
|
+
'recurrenceEndDate': string;
|
|
6420
6462
|
/**
|
|
6421
6463
|
* Recurrence pattern
|
|
6422
6464
|
* @type {string}
|
|
@@ -6628,6 +6670,12 @@ export interface PrepaidServicePayloadDTO {
|
|
|
6628
6670
|
* @memberof PrepaidServicePayloadDTO
|
|
6629
6671
|
*/
|
|
6630
6672
|
'endDate': string;
|
|
6673
|
+
/**
|
|
6674
|
+
* Recurrence End date of event
|
|
6675
|
+
* @type {string}
|
|
6676
|
+
* @memberof PrepaidServicePayloadDTO
|
|
6677
|
+
*/
|
|
6678
|
+
'recurrenceEndDate': string;
|
|
6631
6679
|
/**
|
|
6632
6680
|
* Start hour of an event
|
|
6633
6681
|
* @type {string}
|
|
@@ -7604,6 +7652,12 @@ export interface StandardBookingSlotsPayload {
|
|
|
7604
7652
|
* @memberof StandardBookingSlotsPayload
|
|
7605
7653
|
*/
|
|
7606
7654
|
'id'?: string;
|
|
7655
|
+
/**
|
|
7656
|
+
*
|
|
7657
|
+
* @type {boolean}
|
|
7658
|
+
* @memberof StandardBookingSlotsPayload
|
|
7659
|
+
*/
|
|
7660
|
+
'activityUser'?: boolean;
|
|
7607
7661
|
}
|
|
7608
7662
|
/**
|
|
7609
7663
|
*
|
|
@@ -9063,6 +9117,12 @@ export interface WhatsOnEntity {
|
|
|
9063
9117
|
* @memberof WhatsOnEntity
|
|
9064
9118
|
*/
|
|
9065
9119
|
'endDate': string;
|
|
9120
|
+
/**
|
|
9121
|
+
* Recurrence end date of an event
|
|
9122
|
+
* @type {string}
|
|
9123
|
+
* @memberof WhatsOnEntity
|
|
9124
|
+
*/
|
|
9125
|
+
'recurrenceEndDate': string;
|
|
9066
9126
|
/**
|
|
9067
9127
|
* Recurrence pattern
|
|
9068
9128
|
* @type {string}
|
|
@@ -9562,6 +9622,12 @@ export interface WhatsOnPayloadDTO {
|
|
|
9562
9622
|
* @memberof WhatsOnPayloadDTO
|
|
9563
9623
|
*/
|
|
9564
9624
|
'endDate': string;
|
|
9625
|
+
/**
|
|
9626
|
+
* Recurrence End date of event
|
|
9627
|
+
* @type {string}
|
|
9628
|
+
* @memberof WhatsOnPayloadDTO
|
|
9629
|
+
*/
|
|
9630
|
+
'recurrenceEndDate': string;
|
|
9565
9631
|
/**
|
|
9566
9632
|
* Start hour of an event
|
|
9567
9633
|
* @type {string}
|
package/docs/BlockoutEntity.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | Start date of an event | [default to undefined]
|
|
12
12
|
**endDate** | **string** | End date of an event | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: BlockoutEntity = {
|
|
|
31
32
|
repeat,
|
|
32
33
|
startDate,
|
|
33
34
|
endDate,
|
|
35
|
+
recurrenceEndDate,
|
|
34
36
|
pattern,
|
|
35
37
|
byDay,
|
|
36
38
|
byMonthDay,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -25,6 +26,7 @@ import { BlockoutPayloadDTO } from './api';
|
|
|
25
26
|
const instance: BlockoutPayloadDTO = {
|
|
26
27
|
startDate,
|
|
27
28
|
endDate,
|
|
29
|
+
recurrenceEndDate,
|
|
28
30
|
from,
|
|
29
31
|
to,
|
|
30
32
|
repeat,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**createdBy** | **string** | | [default to undefined]
|
|
11
11
|
**startDate** | **string** | | [default to undefined]
|
|
12
12
|
**endDate** | **string** | | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | | [default to undefined]
|
|
13
14
|
**collaborators** | [**Array<UserEntity>**](UserEntity.md) | | [default to undefined]
|
|
14
15
|
**profile** | **string** | | [default to undefined]
|
|
15
16
|
**calendar** | **Array<string>** | | [default to undefined]
|
|
@@ -27,6 +28,7 @@ const instance: CalendarEventResponse = {
|
|
|
27
28
|
createdBy,
|
|
28
29
|
startDate,
|
|
29
30
|
endDate,
|
|
31
|
+
recurrenceEndDate,
|
|
30
32
|
collaborators,
|
|
31
33
|
profile,
|
|
32
34
|
calendar,
|
|
@@ -6,7 +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-06-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-20T10:41:29+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-06-20T10:41:29+05:30]
|
|
10
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -35,6 +36,7 @@ import { CreateBookingPayload } from './api';
|
|
|
35
36
|
const instance: CreateBookingPayload = {
|
|
36
37
|
title,
|
|
37
38
|
date,
|
|
39
|
+
recurrenceEndDate,
|
|
38
40
|
from,
|
|
39
41
|
to,
|
|
40
42
|
venue,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -30,6 +31,7 @@ import { CreateEventPayloadDTO } from './api';
|
|
|
30
31
|
const instance: CreateEventPayloadDTO = {
|
|
31
32
|
startDate,
|
|
32
33
|
endDate,
|
|
34
|
+
recurrenceEndDate,
|
|
33
35
|
from,
|
|
34
36
|
to,
|
|
35
37
|
repeat,
|
package/docs/EventResponse.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | The start date of the booking | [default to undefined]
|
|
12
12
|
**endDate** | **string** | The end date of the booking | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -38,6 +39,7 @@ const instance: EventResponse = {
|
|
|
38
39
|
repeat,
|
|
39
40
|
startDate,
|
|
40
41
|
endDate,
|
|
42
|
+
recurrenceEndDate,
|
|
41
43
|
pattern,
|
|
42
44
|
byDay,
|
|
43
45
|
byMonthDay,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | Start date of an event | [default to undefined]
|
|
12
12
|
**endDate** | **string** | End date of an event | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -47,6 +48,7 @@ const instance: PrepaidServiceEntity = {
|
|
|
47
48
|
repeat,
|
|
48
49
|
startDate,
|
|
49
50
|
endDate,
|
|
51
|
+
recurrenceEndDate,
|
|
50
52
|
pattern,
|
|
51
53
|
byDay,
|
|
52
54
|
byMonthDay,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -41,6 +42,7 @@ import { PrepaidServicePayloadDTO } from './api';
|
|
|
41
42
|
const instance: PrepaidServicePayloadDTO = {
|
|
42
43
|
startDate,
|
|
43
44
|
endDate,
|
|
45
|
+
recurrenceEndDate,
|
|
44
46
|
from,
|
|
45
47
|
to,
|
|
46
48
|
repeat,
|
|
@@ -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-06-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-20T10:41:29+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**collaborators** | **Array<string>** | List of collaborators associated with the booking | [default to undefined]
|
|
11
11
|
**staffs** | **Array<string>** | List of staff associated with the booking | [default to undefined]
|
|
12
12
|
**id** | **string** | Venue ID | [optional] [default to undefined]
|
|
13
|
+
**activityUser** | **boolean** | | [optional] [default to false]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: StandardBookingSlotsPayload = {
|
|
|
22
23
|
collaborators,
|
|
23
24
|
staffs,
|
|
24
25
|
id,
|
|
26
|
+
activityUser,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -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-06-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-06-20T10:41:29+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-20T11:41:29+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]
|
package/docs/WhatsOnEntity.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | Start date of an event | [default to undefined]
|
|
12
12
|
**endDate** | **string** | End date of an event | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -45,6 +46,7 @@ const instance: WhatsOnEntity = {
|
|
|
45
46
|
repeat,
|
|
46
47
|
startDate,
|
|
47
48
|
endDate,
|
|
49
|
+
recurrenceEndDate,
|
|
48
50
|
pattern,
|
|
49
51
|
byDay,
|
|
50
52
|
byMonthDay,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -38,6 +39,7 @@ import { WhatsOnPayloadDTO } from './api';
|
|
|
38
39
|
const instance: WhatsOnPayloadDTO = {
|
|
39
40
|
startDate,
|
|
40
41
|
endDate,
|
|
42
|
+
recurrenceEndDate,
|
|
41
43
|
from,
|
|
42
44
|
to,
|
|
43
45
|
repeat,
|