@vendasta/meetings 1.10.1 → 1.11.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/interfaces/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +13 -1
- package/esm2020/lib/_internal/objects/meeting-host.mjs +7 -7
- package/esm2020/lib/_internal/objects/shared.mjs +4 -1
- package/esm2020/lib/guest/guest.service.mjs +2 -17
- package/esm2020/lib/shared/host-user.mjs +2 -1
- package/fesm2015/vendasta-meetings.mjs +23 -22
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +23 -22
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +3 -0
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +1 -1
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -0
- package/lib/_internal/objects/meeting-guest.d.ts +3 -0
- package/lib/_internal/objects/meeting-host.d.ts +1 -1
- package/lib/_internal/objects/shared.d.ts +1 -0
- package/lib/guest/guest.service.d.ts +7 -3
- package/lib/shared/host-user.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1917,6 +1917,9 @@ class HostUser {
|
|
|
1917
1917
|
if (typeof this.isConnected !== 'undefined') {
|
|
1918
1918
|
toReturn['isConnected'] = this.isConnected;
|
|
1919
1919
|
}
|
|
1920
|
+
if (typeof this.isDeleted !== 'undefined') {
|
|
1921
|
+
toReturn['isDeleted'] = this.isDeleted;
|
|
1922
|
+
}
|
|
1920
1923
|
return toReturn;
|
|
1921
1924
|
}
|
|
1922
1925
|
}
|
|
@@ -5271,6 +5274,9 @@ class ListMeetingTypesRequest {
|
|
|
5271
5274
|
static fromProto(proto) {
|
|
5272
5275
|
let m = new ListMeetingTypesRequest();
|
|
5273
5276
|
m = Object.assign(m, proto);
|
|
5277
|
+
if (proto.bookingSource) {
|
|
5278
|
+
m.bookingSource = enumStringToValue$6(BookingSource, proto.bookingSource);
|
|
5279
|
+
}
|
|
5274
5280
|
return m;
|
|
5275
5281
|
}
|
|
5276
5282
|
constructor(kwargs) {
|
|
@@ -5284,6 +5290,12 @@ class ListMeetingTypesRequest {
|
|
|
5284
5290
|
if (typeof this.hostId !== 'undefined') {
|
|
5285
5291
|
toReturn['hostId'] = this.hostId;
|
|
5286
5292
|
}
|
|
5293
|
+
if (typeof this.uniqueRequestId !== 'undefined') {
|
|
5294
|
+
toReturn['uniqueRequestId'] = this.uniqueRequestId;
|
|
5295
|
+
}
|
|
5296
|
+
if (typeof this.bookingSource !== 'undefined') {
|
|
5297
|
+
toReturn['bookingSource'] = this.bookingSource;
|
|
5298
|
+
}
|
|
5287
5299
|
return toReturn;
|
|
5288
5300
|
}
|
|
5289
5301
|
}
|
|
@@ -5307,6 +5319,9 @@ class ListMeetingTypesResponse {
|
|
|
5307
5319
|
if (typeof this.meetingTypes !== 'undefined' && this.meetingTypes !== null) {
|
|
5308
5320
|
toReturn['meetingTypes'] = 'toApiJson' in this.meetingTypes ? this.meetingTypes.toApiJson() : this.meetingTypes;
|
|
5309
5321
|
}
|
|
5322
|
+
if (typeof this.businessDisplayLogoUrl !== 'undefined') {
|
|
5323
|
+
toReturn['businessDisplayLogoUrl'] = this.businessDisplayLogoUrl;
|
|
5324
|
+
}
|
|
5310
5325
|
return toReturn;
|
|
5311
5326
|
}
|
|
5312
5327
|
}
|
|
@@ -7330,12 +7345,12 @@ class EventTypeSummary {
|
|
|
7330
7345
|
if (proto.dateRange) {
|
|
7331
7346
|
m.dateRange = EventTypeDateRange.fromProto(proto.dateRange);
|
|
7332
7347
|
}
|
|
7333
|
-
if (proto.bufferDurationBeforeMeeting) {
|
|
7334
|
-
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
7335
|
-
}
|
|
7336
7348
|
if (proto.bufferDurationAfterMeeting) {
|
|
7337
7349
|
m.bufferDurationAfterMeeting = parseInt(proto.bufferDurationAfterMeeting, 10);
|
|
7338
7350
|
}
|
|
7351
|
+
if (proto.bufferDurationBeforeMeeting) {
|
|
7352
|
+
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
7353
|
+
}
|
|
7339
7354
|
return m;
|
|
7340
7355
|
}
|
|
7341
7356
|
constructor(kwargs) {
|
|
@@ -7394,12 +7409,12 @@ class EventTypeSummary {
|
|
|
7394
7409
|
if (typeof this.description !== 'undefined') {
|
|
7395
7410
|
toReturn['description'] = this.description;
|
|
7396
7411
|
}
|
|
7397
|
-
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
7398
|
-
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
7399
|
-
}
|
|
7400
7412
|
if (typeof this.bufferDurationAfterMeeting !== 'undefined') {
|
|
7401
7413
|
toReturn['bufferDurationAfterMeeting'] = this.bufferDurationAfterMeeting;
|
|
7402
7414
|
}
|
|
7415
|
+
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
7416
|
+
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
7417
|
+
}
|
|
7403
7418
|
return toReturn;
|
|
7404
7419
|
}
|
|
7405
7420
|
}
|
|
@@ -11219,6 +11234,7 @@ function hostUserFromApi(hostUser) {
|
|
|
11219
11234
|
displayName: hostUser.displayName || '',
|
|
11220
11235
|
isConfigured: hostUser.isConfigured || false,
|
|
11221
11236
|
isConnected: hostUser.isConnected || false,
|
|
11237
|
+
isDeleted: hostUser.isDeleted || false,
|
|
11222
11238
|
};
|
|
11223
11239
|
}
|
|
11224
11240
|
|
|
@@ -11374,22 +11390,7 @@ class GuestService {
|
|
|
11374
11390
|
}));
|
|
11375
11391
|
}
|
|
11376
11392
|
listMeetingTypes(req) {
|
|
11377
|
-
return this.guestAPIService.listMeetingTypes(req)
|
|
11378
|
-
if (!resp || !resp.meetingTypes) {
|
|
11379
|
-
return [];
|
|
11380
|
-
}
|
|
11381
|
-
return resp.meetingTypes.map((mt) => {
|
|
11382
|
-
return MeetingTypeFromApi({
|
|
11383
|
-
environment: onProductionGlobal()
|
|
11384
|
-
? Environment.PROD
|
|
11385
|
-
: Environment.DEMO,
|
|
11386
|
-
calendarId: req.hostId,
|
|
11387
|
-
meetingTypeApi: mt,
|
|
11388
|
-
metadata: req.metadata,
|
|
11389
|
-
calendarSlug: req.calendarSlug,
|
|
11390
|
-
});
|
|
11391
|
-
});
|
|
11392
|
-
}));
|
|
11393
|
+
return this.guestAPIService.listMeetingTypes(req);
|
|
11393
11394
|
}
|
|
11394
11395
|
listAvailableTimeSlots(req) {
|
|
11395
11396
|
return this.guestAPIService
|