@gooday_corp/gooday-api-client 1.3.20 → 1.3.22
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 +113 -45
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -47,6 +47,30 @@ export interface AISuggestionEntity {
|
|
|
47
47
|
* @memberof AISuggestionEntity
|
|
48
48
|
*/
|
|
49
49
|
'userId': UserEntity;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {EventResponse}
|
|
53
|
+
* @memberof AISuggestionEntity
|
|
54
|
+
*/
|
|
55
|
+
'eventId'?: EventResponse;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {BookingEntity}
|
|
59
|
+
* @memberof AISuggestionEntity
|
|
60
|
+
*/
|
|
61
|
+
'bookId'?: BookingEntity;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AISuggestionEntity
|
|
66
|
+
*/
|
|
67
|
+
'createdAt': string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AISuggestionEntity
|
|
72
|
+
*/
|
|
73
|
+
'updatedAt': string;
|
|
50
74
|
}
|
|
51
75
|
/**
|
|
52
76
|
*
|
|
@@ -3036,43 +3060,6 @@ export interface CreateCustomerPayloadDTO {
|
|
|
3036
3060
|
*/
|
|
3037
3061
|
'venue': string;
|
|
3038
3062
|
}
|
|
3039
|
-
/**
|
|
3040
|
-
*
|
|
3041
|
-
* @export
|
|
3042
|
-
* @interface CreateEventCollaborator
|
|
3043
|
-
*/
|
|
3044
|
-
export interface CreateEventCollaborator {
|
|
3045
|
-
/**
|
|
3046
|
-
* The unique identifier of the customer
|
|
3047
|
-
* @type {string}
|
|
3048
|
-
* @memberof CreateEventCollaborator
|
|
3049
|
-
*/
|
|
3050
|
-
'_id'?: string;
|
|
3051
|
-
/**
|
|
3052
|
-
* The name of the customer
|
|
3053
|
-
* @type {string}
|
|
3054
|
-
* @memberof CreateEventCollaborator
|
|
3055
|
-
*/
|
|
3056
|
-
'name'?: string;
|
|
3057
|
-
/**
|
|
3058
|
-
* The mobile phone number of the customer
|
|
3059
|
-
* @type {string}
|
|
3060
|
-
* @memberof CreateEventCollaborator
|
|
3061
|
-
*/
|
|
3062
|
-
'mobile'?: string;
|
|
3063
|
-
/**
|
|
3064
|
-
* The email address of the customer
|
|
3065
|
-
* @type {string}
|
|
3066
|
-
* @memberof CreateEventCollaborator
|
|
3067
|
-
*/
|
|
3068
|
-
'email'?: string;
|
|
3069
|
-
/**
|
|
3070
|
-
* The goodayId for the customer
|
|
3071
|
-
* @type {string}
|
|
3072
|
-
* @memberof CreateEventCollaborator
|
|
3073
|
-
*/
|
|
3074
|
-
'goodayId'?: string;
|
|
3075
|
-
}
|
|
3076
3063
|
/**
|
|
3077
3064
|
*
|
|
3078
3065
|
* @export
|
|
@@ -3716,17 +3703,23 @@ export interface EventDeleteResponseDTO {
|
|
|
3716
3703
|
*/
|
|
3717
3704
|
export interface EventResponse {
|
|
3718
3705
|
/**
|
|
3719
|
-
*
|
|
3720
|
-
* @type {
|
|
3706
|
+
* Is recurring event
|
|
3707
|
+
* @type {boolean}
|
|
3721
3708
|
* @memberof EventResponse
|
|
3722
3709
|
*/
|
|
3723
|
-
'
|
|
3710
|
+
'isRecurring': boolean;
|
|
3724
3711
|
/**
|
|
3725
|
-
*
|
|
3712
|
+
* Duration in minutes
|
|
3713
|
+
* @type {number}
|
|
3714
|
+
* @memberof EventResponse
|
|
3715
|
+
*/
|
|
3716
|
+
'duration': number;
|
|
3717
|
+
/**
|
|
3718
|
+
* Repeat interval for event
|
|
3726
3719
|
* @type {string}
|
|
3727
3720
|
* @memberof EventResponse
|
|
3728
3721
|
*/
|
|
3729
|
-
'
|
|
3722
|
+
'repeat': EventResponseRepeatEnum;
|
|
3730
3723
|
/**
|
|
3731
3724
|
* The start date of the booking
|
|
3732
3725
|
* @type {string}
|
|
@@ -3739,12 +3732,54 @@ export interface EventResponse {
|
|
|
3739
3732
|
* @memberof EventResponse
|
|
3740
3733
|
*/
|
|
3741
3734
|
'endDate': string;
|
|
3735
|
+
/**
|
|
3736
|
+
* Recurrence pattern
|
|
3737
|
+
* @type {string}
|
|
3738
|
+
* @memberof EventResponse
|
|
3739
|
+
*/
|
|
3740
|
+
'pattern'?: string;
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {string}
|
|
3744
|
+
* @memberof EventResponse
|
|
3745
|
+
*/
|
|
3746
|
+
'byDay'?: string;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @type {string}
|
|
3750
|
+
* @memberof EventResponse
|
|
3751
|
+
*/
|
|
3752
|
+
'byMonthDay'?: string;
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {string}
|
|
3756
|
+
* @memberof EventResponse
|
|
3757
|
+
*/
|
|
3758
|
+
'byMonth'?: string;
|
|
3759
|
+
/**
|
|
3760
|
+
*
|
|
3761
|
+
* @type {string}
|
|
3762
|
+
* @memberof EventResponse
|
|
3763
|
+
*/
|
|
3764
|
+
'repeatBy'?: string;
|
|
3765
|
+
/**
|
|
3766
|
+
* The unique identifier of the customer
|
|
3767
|
+
* @type {string}
|
|
3768
|
+
* @memberof EventResponse
|
|
3769
|
+
*/
|
|
3770
|
+
'_id': string;
|
|
3771
|
+
/**
|
|
3772
|
+
* The title of the booking
|
|
3773
|
+
* @type {string}
|
|
3774
|
+
* @memberof EventResponse
|
|
3775
|
+
*/
|
|
3776
|
+
'title': string;
|
|
3742
3777
|
/**
|
|
3743
3778
|
* Create event customer
|
|
3744
|
-
* @type {Array<
|
|
3779
|
+
* @type {Array<CreateEventCollaboratorPayload>}
|
|
3745
3780
|
* @memberof EventResponse
|
|
3746
3781
|
*/
|
|
3747
|
-
'collaborators': Array<
|
|
3782
|
+
'collaborators': Array<CreateEventCollaboratorPayload>;
|
|
3748
3783
|
/**
|
|
3749
3784
|
* The user details
|
|
3750
3785
|
* @type {Array<UserEntity>}
|
|
@@ -3756,7 +3791,7 @@ export interface EventResponse {
|
|
|
3756
3791
|
* @type {string}
|
|
3757
3792
|
* @memberof EventResponse
|
|
3758
3793
|
*/
|
|
3759
|
-
'
|
|
3794
|
+
'notes': string;
|
|
3760
3795
|
/**
|
|
3761
3796
|
* Occasion id
|
|
3762
3797
|
* @type {string}
|
|
@@ -3769,8 +3804,41 @@ export interface EventResponse {
|
|
|
3769
3804
|
* @memberof EventResponse
|
|
3770
3805
|
*/
|
|
3771
3806
|
'calendar': CalendarListResponse;
|
|
3807
|
+
/**
|
|
3808
|
+
* Location details
|
|
3809
|
+
* @type {LocationDTO}
|
|
3810
|
+
* @memberof EventResponse
|
|
3811
|
+
*/
|
|
3812
|
+
'location': LocationDTO;
|
|
3813
|
+
/**
|
|
3814
|
+
* The user details
|
|
3815
|
+
* @type {UserEntity}
|
|
3816
|
+
* @memberof EventResponse
|
|
3817
|
+
*/
|
|
3818
|
+
'createdBy': UserEntity;
|
|
3819
|
+
/**
|
|
3820
|
+
* Booking Icon
|
|
3821
|
+
* @type {string}
|
|
3822
|
+
* @memberof EventResponse
|
|
3823
|
+
*/
|
|
3824
|
+
'icon': string;
|
|
3825
|
+
/**
|
|
3826
|
+
* Event images
|
|
3827
|
+
* @type {Array<string>}
|
|
3828
|
+
* @memberof EventResponse
|
|
3829
|
+
*/
|
|
3830
|
+
'images': Array<string>;
|
|
3772
3831
|
}
|
|
3773
3832
|
|
|
3833
|
+
export const EventResponseRepeatEnum = {
|
|
3834
|
+
None: 'NONE',
|
|
3835
|
+
Daily: 'DAILY',
|
|
3836
|
+
Weekly: 'WEEKLY',
|
|
3837
|
+
Monthly: 'MONTHLY',
|
|
3838
|
+
Year: 'YEAR'
|
|
3839
|
+
} as const;
|
|
3840
|
+
|
|
3841
|
+
export type EventResponseRepeatEnum = typeof EventResponseRepeatEnum[keyof typeof EventResponseRepeatEnum];
|
|
3774
3842
|
export const EventResponseStatusEnum = {
|
|
3775
3843
|
Confirmed: 'CONFIRMED',
|
|
3776
3844
|
Unconfirmed: 'UNCONFIRMED',
|