@gooday_corp/gooday-api-client 1.3.20 → 1.3.21
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 +101 -45
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -47,6 +47,18 @@ 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;
|
|
50
62
|
}
|
|
51
63
|
/**
|
|
52
64
|
*
|
|
@@ -3036,43 +3048,6 @@ export interface CreateCustomerPayloadDTO {
|
|
|
3036
3048
|
*/
|
|
3037
3049
|
'venue': string;
|
|
3038
3050
|
}
|
|
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
3051
|
/**
|
|
3077
3052
|
*
|
|
3078
3053
|
* @export
|
|
@@ -3716,17 +3691,23 @@ export interface EventDeleteResponseDTO {
|
|
|
3716
3691
|
*/
|
|
3717
3692
|
export interface EventResponse {
|
|
3718
3693
|
/**
|
|
3719
|
-
*
|
|
3720
|
-
* @type {
|
|
3694
|
+
* Is recurring event
|
|
3695
|
+
* @type {boolean}
|
|
3721
3696
|
* @memberof EventResponse
|
|
3722
3697
|
*/
|
|
3723
|
-
'
|
|
3698
|
+
'isRecurring': boolean;
|
|
3724
3699
|
/**
|
|
3725
|
-
*
|
|
3700
|
+
* Duration in minutes
|
|
3701
|
+
* @type {number}
|
|
3702
|
+
* @memberof EventResponse
|
|
3703
|
+
*/
|
|
3704
|
+
'duration': number;
|
|
3705
|
+
/**
|
|
3706
|
+
* Repeat interval for event
|
|
3726
3707
|
* @type {string}
|
|
3727
3708
|
* @memberof EventResponse
|
|
3728
3709
|
*/
|
|
3729
|
-
'
|
|
3710
|
+
'repeat': EventResponseRepeatEnum;
|
|
3730
3711
|
/**
|
|
3731
3712
|
* The start date of the booking
|
|
3732
3713
|
* @type {string}
|
|
@@ -3739,12 +3720,54 @@ export interface EventResponse {
|
|
|
3739
3720
|
* @memberof EventResponse
|
|
3740
3721
|
*/
|
|
3741
3722
|
'endDate': string;
|
|
3723
|
+
/**
|
|
3724
|
+
* Recurrence pattern
|
|
3725
|
+
* @type {string}
|
|
3726
|
+
* @memberof EventResponse
|
|
3727
|
+
*/
|
|
3728
|
+
'pattern'?: string;
|
|
3729
|
+
/**
|
|
3730
|
+
*
|
|
3731
|
+
* @type {string}
|
|
3732
|
+
* @memberof EventResponse
|
|
3733
|
+
*/
|
|
3734
|
+
'byDay'?: string;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @type {string}
|
|
3738
|
+
* @memberof EventResponse
|
|
3739
|
+
*/
|
|
3740
|
+
'byMonthDay'?: string;
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {string}
|
|
3744
|
+
* @memberof EventResponse
|
|
3745
|
+
*/
|
|
3746
|
+
'byMonth'?: string;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @type {string}
|
|
3750
|
+
* @memberof EventResponse
|
|
3751
|
+
*/
|
|
3752
|
+
'repeatBy'?: string;
|
|
3753
|
+
/**
|
|
3754
|
+
* The unique identifier of the customer
|
|
3755
|
+
* @type {string}
|
|
3756
|
+
* @memberof EventResponse
|
|
3757
|
+
*/
|
|
3758
|
+
'_id': string;
|
|
3759
|
+
/**
|
|
3760
|
+
* The title of the booking
|
|
3761
|
+
* @type {string}
|
|
3762
|
+
* @memberof EventResponse
|
|
3763
|
+
*/
|
|
3764
|
+
'title': string;
|
|
3742
3765
|
/**
|
|
3743
3766
|
* Create event customer
|
|
3744
|
-
* @type {Array<
|
|
3767
|
+
* @type {Array<CreateEventCollaboratorPayload>}
|
|
3745
3768
|
* @memberof EventResponse
|
|
3746
3769
|
*/
|
|
3747
|
-
'collaborators': Array<
|
|
3770
|
+
'collaborators': Array<CreateEventCollaboratorPayload>;
|
|
3748
3771
|
/**
|
|
3749
3772
|
* The user details
|
|
3750
3773
|
* @type {Array<UserEntity>}
|
|
@@ -3756,7 +3779,7 @@ export interface EventResponse {
|
|
|
3756
3779
|
* @type {string}
|
|
3757
3780
|
* @memberof EventResponse
|
|
3758
3781
|
*/
|
|
3759
|
-
'
|
|
3782
|
+
'notes': string;
|
|
3760
3783
|
/**
|
|
3761
3784
|
* Occasion id
|
|
3762
3785
|
* @type {string}
|
|
@@ -3769,8 +3792,41 @@ export interface EventResponse {
|
|
|
3769
3792
|
* @memberof EventResponse
|
|
3770
3793
|
*/
|
|
3771
3794
|
'calendar': CalendarListResponse;
|
|
3795
|
+
/**
|
|
3796
|
+
* Location details
|
|
3797
|
+
* @type {LocationDTO}
|
|
3798
|
+
* @memberof EventResponse
|
|
3799
|
+
*/
|
|
3800
|
+
'location': LocationDTO;
|
|
3801
|
+
/**
|
|
3802
|
+
* The user details
|
|
3803
|
+
* @type {UserEntity}
|
|
3804
|
+
* @memberof EventResponse
|
|
3805
|
+
*/
|
|
3806
|
+
'createdBy': UserEntity;
|
|
3807
|
+
/**
|
|
3808
|
+
* Booking Icon
|
|
3809
|
+
* @type {string}
|
|
3810
|
+
* @memberof EventResponse
|
|
3811
|
+
*/
|
|
3812
|
+
'icon': string;
|
|
3813
|
+
/**
|
|
3814
|
+
* Event images
|
|
3815
|
+
* @type {Array<string>}
|
|
3816
|
+
* @memberof EventResponse
|
|
3817
|
+
*/
|
|
3818
|
+
'images': Array<string>;
|
|
3772
3819
|
}
|
|
3773
3820
|
|
|
3821
|
+
export const EventResponseRepeatEnum = {
|
|
3822
|
+
None: 'NONE',
|
|
3823
|
+
Daily: 'DAILY',
|
|
3824
|
+
Weekly: 'WEEKLY',
|
|
3825
|
+
Monthly: 'MONTHLY',
|
|
3826
|
+
Year: 'YEAR'
|
|
3827
|
+
} as const;
|
|
3828
|
+
|
|
3829
|
+
export type EventResponseRepeatEnum = typeof EventResponseRepeatEnum[keyof typeof EventResponseRepeatEnum];
|
|
3774
3830
|
export const EventResponseStatusEnum = {
|
|
3775
3831
|
Confirmed: 'CONFIRMED',
|
|
3776
3832
|
Unconfirmed: 'UNCONFIRMED',
|