@vendasta/meetings 1.8.1 → 1.9.1
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/esm2020/lib/_internal/enums/meeting-type.enum.mjs +3 -2
- package/esm2020/lib/_internal/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +61 -1
- package/esm2020/lib/_internal/objects/meeting-host.mjs +25 -1
- package/esm2020/lib/guest/guest.service.mjs +1 -1
- package/esm2020/lib/host/host.service.mjs +1 -1
- package/fesm2015/vendasta-meetings.mjs +86 -1
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +86 -1
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/meeting-type.enum.d.ts +3 -2
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +13 -0
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +4 -0
- package/lib/_internal/objects/meeting-guest.d.ts +13 -0
- package/lib/_internal/objects/meeting-host.d.ts +4 -0
- package/lib/guest/guest.service.d.ts +14 -0
- package/lib/host/host.service.d.ts +4 -0
- package/package.json +1 -1
|
@@ -8,9 +8,10 @@ export declare enum BookingSource {
|
|
|
8
8
|
BOOKING_SOURCE_BOOKING_FORM = 1,
|
|
9
9
|
BOOKING_SOURCE_AI_VOICE = 2,
|
|
10
10
|
BOOKING_SOURCE_AI_CHAT = 3,
|
|
11
|
-
|
|
11
|
+
BOOKING_SOURCE_HOST_CALENDAR_UI = 4,
|
|
12
12
|
BOOKING_SOURCE_API_INTEGRATION = 5,
|
|
13
|
-
BOOKING_SOURCE_CRM = 6
|
|
13
|
+
BOOKING_SOURCE_CRM = 6,
|
|
14
|
+
BOOKING_SOURCE_HOST_CALENDAR_WEBHOOK = 7
|
|
14
15
|
}
|
|
15
16
|
export declare enum DateRangeType {
|
|
16
17
|
RELATIVE = 0,
|
|
@@ -18,6 +18,7 @@ export interface BookBatchMeetingRequestInterface {
|
|
|
18
18
|
location?: string;
|
|
19
19
|
bookingSource?: e.BookingSource;
|
|
20
20
|
bookingOriginId?: string;
|
|
21
|
+
uniqueRequestId?: string;
|
|
21
22
|
}
|
|
22
23
|
export interface BookBatchMeetingResponseInterface {
|
|
23
24
|
bookingGroupId?: string;
|
|
@@ -38,6 +39,7 @@ export interface BookMeetingRequestInterface {
|
|
|
38
39
|
userId?: string;
|
|
39
40
|
bookingSource?: e.BookingSource;
|
|
40
41
|
hasSmsConsent?: boolean;
|
|
42
|
+
uniqueRequestId?: string;
|
|
41
43
|
}
|
|
42
44
|
export interface BookMeetingResponseInterface {
|
|
43
45
|
meetingId?: string;
|
|
@@ -46,6 +48,7 @@ export interface BookMeetingResponseInterface {
|
|
|
46
48
|
export interface CancelBatchMeetingRequestInterface {
|
|
47
49
|
id?: string;
|
|
48
50
|
cancellationReason?: string;
|
|
51
|
+
bookingSource?: e.BookingSource;
|
|
49
52
|
}
|
|
50
53
|
export interface CheckFeatureFlagRequestInterface {
|
|
51
54
|
fieldType?: e.FeatureFlagFieldType;
|
|
@@ -65,6 +68,8 @@ export interface GetGroupRequestInterface {
|
|
|
65
68
|
groupId?: string;
|
|
66
69
|
slug?: string;
|
|
67
70
|
hostId?: string;
|
|
71
|
+
uniqueRequestId?: string;
|
|
72
|
+
bookingSource?: e.BookingSource;
|
|
68
73
|
}
|
|
69
74
|
export interface GetGroupResponseInterface {
|
|
70
75
|
group?: GroupInterface;
|
|
@@ -87,6 +92,8 @@ export interface GetMeetingCalendarInfoResponseInterface {
|
|
|
87
92
|
export interface GetMeetingTypeRequestInterface {
|
|
88
93
|
calendarSlug?: string;
|
|
89
94
|
meetingTypeSlug?: string;
|
|
95
|
+
uniqueRequestId?: string;
|
|
96
|
+
bookingSource?: e.BookingSource;
|
|
90
97
|
}
|
|
91
98
|
export interface GetMeetingTypeResponseInterface {
|
|
92
99
|
meetingType?: MeetingTypeInterface;
|
|
@@ -95,6 +102,8 @@ export interface GetServiceRequestInterface {
|
|
|
95
102
|
serviceId?: string;
|
|
96
103
|
slug?: string;
|
|
97
104
|
hostId?: string;
|
|
105
|
+
uniqueRequestId?: string;
|
|
106
|
+
bookingSource?: e.BookingSource;
|
|
98
107
|
}
|
|
99
108
|
export interface GetServiceResponseInterface {
|
|
100
109
|
service?: ServiceInterface;
|
|
@@ -102,6 +111,7 @@ export interface GetServiceResponseInterface {
|
|
|
102
111
|
}
|
|
103
112
|
export interface GetServiceV2RequestInterface {
|
|
104
113
|
serviceId?: string;
|
|
114
|
+
uniqueRequestId?: string;
|
|
105
115
|
bookingSource?: e.BookingSource;
|
|
106
116
|
}
|
|
107
117
|
export interface GetServiceV2ResponseInterface {
|
|
@@ -147,6 +157,7 @@ export interface GuestCancelMeetingRequestInterface {
|
|
|
147
157
|
meetingId?: string;
|
|
148
158
|
authToken?: string;
|
|
149
159
|
cancellationReason?: string;
|
|
160
|
+
bookingSource?: e.BookingSource;
|
|
150
161
|
}
|
|
151
162
|
export interface GuestGetBookedMeetingRequestInterface {
|
|
152
163
|
meetingId?: string;
|
|
@@ -204,6 +215,7 @@ export interface GuestRescheduleMeetingRequestInterface {
|
|
|
204
215
|
start?: Date;
|
|
205
216
|
timeZone?: TimeZoneInterface;
|
|
206
217
|
location?: string;
|
|
218
|
+
bookingSource?: e.BookingSource;
|
|
207
219
|
}
|
|
208
220
|
export interface InviteeDeregisterSessionMeetingRequestInterface {
|
|
209
221
|
sessionInviteeId?: string;
|
|
@@ -307,6 +319,7 @@ export interface RescheduleBatchMeetingRequestInterface {
|
|
|
307
319
|
start?: Date;
|
|
308
320
|
timeZone?: TimeZoneInterface;
|
|
309
321
|
location?: string;
|
|
322
|
+
bookingSource?: e.BookingSource;
|
|
310
323
|
}
|
|
311
324
|
export interface ServiceEventTypeInterface {
|
|
312
325
|
id?: string;
|
|
@@ -53,6 +53,7 @@ export interface CancelMeetingRequestInterface {
|
|
|
53
53
|
cancellationReason?: string;
|
|
54
54
|
isSeriesCancellation?: boolean;
|
|
55
55
|
sessionId?: string;
|
|
56
|
+
bookingSource?: e.BookingSource;
|
|
56
57
|
}
|
|
57
58
|
export interface CheckEventTypeSlugExistRequestInterface {
|
|
58
59
|
calendarId?: string;
|
|
@@ -275,6 +276,7 @@ export interface HostBookSessionResponseInterface {
|
|
|
275
276
|
export interface HostCancelBatchMeetingRequestInterface {
|
|
276
277
|
id?: string;
|
|
277
278
|
cancellationReason?: string;
|
|
279
|
+
bookingSource?: e.BookingSource;
|
|
278
280
|
}
|
|
279
281
|
export interface HostDeleteAttendeesRequestInterface {
|
|
280
282
|
meetingId?: string;
|
|
@@ -317,6 +319,7 @@ export interface HostRescheduleBatchMeetingRequestInterface {
|
|
|
317
319
|
start?: Date;
|
|
318
320
|
location?: string;
|
|
319
321
|
timeZone?: TimeZoneInterface;
|
|
322
|
+
bookingSource?: e.BookingSource;
|
|
320
323
|
}
|
|
321
324
|
export interface GetHostsForCalendarResponseHostUserAvailabilityRuleEntryInterface {
|
|
322
325
|
key?: string;
|
|
@@ -477,6 +480,7 @@ export interface RescheduleMeetingRequestInterface {
|
|
|
477
480
|
start?: Date;
|
|
478
481
|
sessionId?: string;
|
|
479
482
|
isRecurring?: boolean;
|
|
483
|
+
bookingSource?: e.BookingSource;
|
|
480
484
|
}
|
|
481
485
|
export interface SendMeetingRequestEmailRequestInterface {
|
|
482
486
|
contactId?: string;
|
|
@@ -20,6 +20,7 @@ export declare class BookBatchMeetingRequest implements i.BookBatchMeetingReques
|
|
|
20
20
|
location: string;
|
|
21
21
|
bookingSource: e.BookingSource;
|
|
22
22
|
bookingOriginId: string;
|
|
23
|
+
uniqueRequestId: string;
|
|
23
24
|
static fromProto(proto: any): BookBatchMeetingRequest;
|
|
24
25
|
constructor(kwargs?: i.BookBatchMeetingRequestInterface);
|
|
25
26
|
toApiJson(): object;
|
|
@@ -46,6 +47,7 @@ export declare class BookMeetingRequest implements i.BookMeetingRequestInterface
|
|
|
46
47
|
userId: string;
|
|
47
48
|
bookingSource: e.BookingSource;
|
|
48
49
|
hasSmsConsent: boolean;
|
|
50
|
+
uniqueRequestId: string;
|
|
49
51
|
static fromProto(proto: any): BookMeetingRequest;
|
|
50
52
|
constructor(kwargs?: i.BookMeetingRequestInterface);
|
|
51
53
|
toApiJson(): object;
|
|
@@ -60,6 +62,7 @@ export declare class BookMeetingResponse implements i.BookMeetingResponseInterfa
|
|
|
60
62
|
export declare class CancelBatchMeetingRequest implements i.CancelBatchMeetingRequestInterface {
|
|
61
63
|
id: string;
|
|
62
64
|
cancellationReason: string;
|
|
65
|
+
bookingSource: e.BookingSource;
|
|
63
66
|
static fromProto(proto: any): CancelBatchMeetingRequest;
|
|
64
67
|
constructor(kwargs?: i.CancelBatchMeetingRequestInterface);
|
|
65
68
|
toApiJson(): object;
|
|
@@ -94,6 +97,8 @@ export declare class GetGroupRequest implements i.GetGroupRequestInterface {
|
|
|
94
97
|
groupId: string;
|
|
95
98
|
slug: string;
|
|
96
99
|
hostId: string;
|
|
100
|
+
uniqueRequestId: string;
|
|
101
|
+
bookingSource: e.BookingSource;
|
|
97
102
|
static fromProto(proto: any): GetGroupRequest;
|
|
98
103
|
constructor(kwargs?: i.GetGroupRequestInterface);
|
|
99
104
|
toApiJson(): object;
|
|
@@ -134,6 +139,8 @@ export declare class GetMeetingCalendarInfoResponse implements i.GetMeetingCalen
|
|
|
134
139
|
export declare class GetMeetingTypeRequest implements i.GetMeetingTypeRequestInterface {
|
|
135
140
|
calendarSlug: string;
|
|
136
141
|
meetingTypeSlug: string;
|
|
142
|
+
uniqueRequestId: string;
|
|
143
|
+
bookingSource: e.BookingSource;
|
|
137
144
|
static fromProto(proto: any): GetMeetingTypeRequest;
|
|
138
145
|
constructor(kwargs?: i.GetMeetingTypeRequestInterface);
|
|
139
146
|
toApiJson(): object;
|
|
@@ -148,6 +155,8 @@ export declare class GetServiceRequest implements i.GetServiceRequestInterface {
|
|
|
148
155
|
serviceId: string;
|
|
149
156
|
slug: string;
|
|
150
157
|
hostId: string;
|
|
158
|
+
uniqueRequestId: string;
|
|
159
|
+
bookingSource: e.BookingSource;
|
|
151
160
|
static fromProto(proto: any): GetServiceRequest;
|
|
152
161
|
constructor(kwargs?: i.GetServiceRequestInterface);
|
|
153
162
|
toApiJson(): object;
|
|
@@ -161,6 +170,7 @@ export declare class GetServiceResponse implements i.GetServiceResponseInterface
|
|
|
161
170
|
}
|
|
162
171
|
export declare class GetServiceV2Request implements i.GetServiceV2RequestInterface {
|
|
163
172
|
serviceId: string;
|
|
173
|
+
uniqueRequestId: string;
|
|
164
174
|
bookingSource: e.BookingSource;
|
|
165
175
|
static fromProto(proto: any): GetServiceV2Request;
|
|
166
176
|
constructor(kwargs?: i.GetServiceV2RequestInterface);
|
|
@@ -224,6 +234,7 @@ export declare class GuestCancelMeetingRequest implements i.GuestCancelMeetingRe
|
|
|
224
234
|
meetingId: string;
|
|
225
235
|
authToken: string;
|
|
226
236
|
cancellationReason: string;
|
|
237
|
+
bookingSource: e.BookingSource;
|
|
227
238
|
static fromProto(proto: any): GuestCancelMeetingRequest;
|
|
228
239
|
constructor(kwargs?: i.GuestCancelMeetingRequestInterface);
|
|
229
240
|
toApiJson(): object;
|
|
@@ -302,6 +313,7 @@ export declare class GuestRescheduleMeetingRequest implements i.GuestRescheduleM
|
|
|
302
313
|
start: Date;
|
|
303
314
|
timeZone: TimeZone;
|
|
304
315
|
location: string;
|
|
316
|
+
bookingSource: e.BookingSource;
|
|
305
317
|
static fromProto(proto: any): GuestRescheduleMeetingRequest;
|
|
306
318
|
constructor(kwargs?: i.GuestRescheduleMeetingRequestInterface);
|
|
307
319
|
toApiJson(): object;
|
|
@@ -453,6 +465,7 @@ export declare class RescheduleBatchMeetingRequest implements i.RescheduleBatchM
|
|
|
453
465
|
start: Date;
|
|
454
466
|
timeZone: TimeZone;
|
|
455
467
|
location: string;
|
|
468
|
+
bookingSource: e.BookingSource;
|
|
456
469
|
static fromProto(proto: any): RescheduleBatchMeetingRequest;
|
|
457
470
|
constructor(kwargs?: i.RescheduleBatchMeetingRequestInterface);
|
|
458
471
|
toApiJson(): object;
|
|
@@ -85,6 +85,7 @@ export declare class CancelMeetingRequest implements i.CancelMeetingRequestInter
|
|
|
85
85
|
cancellationReason: string;
|
|
86
86
|
isSeriesCancellation: boolean;
|
|
87
87
|
sessionId: string;
|
|
88
|
+
bookingSource: e.BookingSource;
|
|
88
89
|
static fromProto(proto: any): CancelMeetingRequest;
|
|
89
90
|
constructor(kwargs?: i.CancelMeetingRequestInterface);
|
|
90
91
|
toApiJson(): object;
|
|
@@ -454,6 +455,7 @@ export declare class HostBookSessionResponse implements i.HostBookSessionRespons
|
|
|
454
455
|
export declare class HostCancelBatchMeetingRequest implements i.HostCancelBatchMeetingRequestInterface {
|
|
455
456
|
id: string;
|
|
456
457
|
cancellationReason: string;
|
|
458
|
+
bookingSource: e.BookingSource;
|
|
457
459
|
static fromProto(proto: any): HostCancelBatchMeetingRequest;
|
|
458
460
|
constructor(kwargs?: i.HostCancelBatchMeetingRequestInterface);
|
|
459
461
|
toApiJson(): object;
|
|
@@ -529,6 +531,7 @@ export declare class HostRescheduleBatchMeetingRequest implements i.HostReschedu
|
|
|
529
531
|
start: Date;
|
|
530
532
|
location: string;
|
|
531
533
|
timeZone: TimeZone;
|
|
534
|
+
bookingSource: e.BookingSource;
|
|
532
535
|
static fromProto(proto: any): HostRescheduleBatchMeetingRequest;
|
|
533
536
|
constructor(kwargs?: i.HostRescheduleBatchMeetingRequestInterface);
|
|
534
537
|
toApiJson(): object;
|
|
@@ -788,6 +791,7 @@ export declare class RescheduleMeetingRequest implements i.RescheduleMeetingRequ
|
|
|
788
791
|
start: Date;
|
|
789
792
|
sessionId: string;
|
|
790
793
|
isRecurring: boolean;
|
|
794
|
+
bookingSource: e.BookingSource;
|
|
791
795
|
static fromProto(proto: any): RescheduleMeetingRequest;
|
|
792
796
|
constructor(kwargs?: i.RescheduleMeetingRequestInterface);
|
|
793
797
|
toApiJson(): object;
|
|
@@ -54,6 +54,8 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
54
54
|
metadata?: {
|
|
55
55
|
[name: string]: string;
|
|
56
56
|
};
|
|
57
|
+
uniqueRequestId?: string;
|
|
58
|
+
bookingSource?: BookingSource;
|
|
57
59
|
}): Observable<MeetingType>;
|
|
58
60
|
listMeetingTypes(req: {
|
|
59
61
|
hostId: string;
|
|
@@ -85,11 +87,13 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
85
87
|
userId?: string;
|
|
86
88
|
bookingSource?: BookingSource;
|
|
87
89
|
hasSmsConsent?: boolean;
|
|
90
|
+
uniqueRequestId?: string;
|
|
88
91
|
}): Observable<BookMeetingResponse>;
|
|
89
92
|
cancelMeeting(req: {
|
|
90
93
|
authToken: string;
|
|
91
94
|
meetingId: string;
|
|
92
95
|
cancellationReason: string;
|
|
96
|
+
bookingSource?: BookingSource;
|
|
93
97
|
}): Observable<null>;
|
|
94
98
|
rescheduleMeeting(req: {
|
|
95
99
|
authToken: string;
|
|
@@ -97,6 +101,7 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
97
101
|
start: Date;
|
|
98
102
|
timeZone?: TimeZoneInterface;
|
|
99
103
|
location?: string;
|
|
104
|
+
bookingSource?: BookingSource;
|
|
100
105
|
}): Observable<null>;
|
|
101
106
|
getHost(req: {
|
|
102
107
|
hostId: string;
|
|
@@ -111,6 +116,7 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
111
116
|
cancelBatchMeeting(req: {
|
|
112
117
|
id: string;
|
|
113
118
|
cancellationReason?: string;
|
|
119
|
+
bookingSource?: BookingSource;
|
|
114
120
|
}): Observable<null>;
|
|
115
121
|
isHostConfigured(req: {
|
|
116
122
|
hostId: string;
|
|
@@ -118,10 +124,14 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
118
124
|
getGroup(req: {
|
|
119
125
|
groupId: string;
|
|
120
126
|
slug: string;
|
|
127
|
+
uniqueRequestId?: string;
|
|
128
|
+
bookingSource?: BookingSource;
|
|
121
129
|
}): Observable<GetGroupResponse>;
|
|
122
130
|
getService(req: {
|
|
123
131
|
serviceId: string;
|
|
124
132
|
slug: string;
|
|
133
|
+
uniqueRequestId?: string;
|
|
134
|
+
bookingSource?: BookingSource;
|
|
125
135
|
}): Observable<GetServiceResponse>;
|
|
126
136
|
getSessionMeetingInfo(req: {
|
|
127
137
|
sessionMeetingId: string;
|
|
@@ -149,6 +159,8 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
149
159
|
}): Observable<CheckFeatureFlagResponse>;
|
|
150
160
|
getServiceV2(req: {
|
|
151
161
|
serviceId: string;
|
|
162
|
+
uniqueRequestId?: string;
|
|
163
|
+
bookingSource?: BookingSource;
|
|
152
164
|
}): Observable<GetServiceV2Response>;
|
|
153
165
|
listBatchAvailableTimeSlots(req: {
|
|
154
166
|
targets: BatchEventTypeTargetInterface[];
|
|
@@ -168,12 +180,14 @@ export declare class GuestService implements GuestServiceInterface {
|
|
|
168
180
|
location?: string;
|
|
169
181
|
bookingSource?: BookingSource;
|
|
170
182
|
bookingOriginId?: string;
|
|
183
|
+
uniqueRequestId?: string;
|
|
171
184
|
}): Observable<BookBatchMeetingResponse>;
|
|
172
185
|
rescheduleBatchMeeting(req: {
|
|
173
186
|
id: string;
|
|
174
187
|
start: Date;
|
|
175
188
|
timeZone?: TimeZoneInterface;
|
|
176
189
|
location?: string;
|
|
190
|
+
bookingSource?: BookingSource;
|
|
177
191
|
}): Observable<null>;
|
|
178
192
|
listGuestBookedMeetings(req: {
|
|
179
193
|
phoneNumber?: PhoneFieldsInterface;
|
|
@@ -91,10 +91,12 @@ export declare class HostService {
|
|
|
91
91
|
cancelMeeting(req: {
|
|
92
92
|
meetingId: string;
|
|
93
93
|
cancellationReason: string;
|
|
94
|
+
bookingSource?: BookingSource;
|
|
94
95
|
}): Observable<null>;
|
|
95
96
|
rescheduleMeeting(req: {
|
|
96
97
|
meetingId: string;
|
|
97
98
|
start: Date;
|
|
99
|
+
bookingSource?: BookingSource;
|
|
98
100
|
}): Observable<null>;
|
|
99
101
|
listAvailability(req: {
|
|
100
102
|
filters: ListAvailabilityRequestFiltersInterface;
|
|
@@ -154,10 +156,12 @@ export declare class HostService {
|
|
|
154
156
|
start: Date;
|
|
155
157
|
location?: string;
|
|
156
158
|
timeZone?: TimeZoneInterface;
|
|
159
|
+
bookingSource?: BookingSource;
|
|
157
160
|
}): Observable<null>;
|
|
158
161
|
hostCancelBatchMeeting(req: {
|
|
159
162
|
id: string;
|
|
160
163
|
cancellationReason?: string;
|
|
164
|
+
bookingSource?: BookingSource;
|
|
161
165
|
}): Observable<null>;
|
|
162
166
|
hostListBatchAvailableTimeSlots(req: {
|
|
163
167
|
hostId: string;
|