@vendasta/meetings 0.93.1 → 0.93.5
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-source.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-type.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-source.mjs +1 -13
- package/esm2020/lib/_internal/objects/meeting-type.mjs +7 -1
- package/esm2020/lib/_internal/objects/shared.mjs +7 -1
- package/esm2020/lib/shared/meeting-type.mjs +7 -5
- package/esm2020/lib/shared/preferences.mjs +2 -1
- package/fesm2015/vendasta-meetings.mjs +19 -16
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +19 -16
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +4 -0
- package/lib/_internal/interfaces/meeting-source.interface.d.ts +0 -2
- package/lib/_internal/interfaces/meeting-type.interface.d.ts +1 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -0
- package/lib/_internal/objects/meeting-guest.d.ts +2 -2
- package/lib/_internal/objects/meeting-source.d.ts +0 -2
- package/lib/_internal/objects/meeting-type.d.ts +1 -0
- package/lib/_internal/objects/shared.d.ts +1 -0
- package/lib/shared/meeting-type.d.ts +1 -0
- package/lib/shared/preferences.d.ts +1 -0
- package/package.json +1 -1
|
@@ -161,12 +161,6 @@ class MeetingSourceInfo {
|
|
|
161
161
|
if (proto.status) {
|
|
162
162
|
m.status = enumStringToValue$b(MeetingSourceStatus, proto.status);
|
|
163
163
|
}
|
|
164
|
-
if (proto.created) {
|
|
165
|
-
m.created = new Date(proto.created);
|
|
166
|
-
}
|
|
167
|
-
if (proto.updated) {
|
|
168
|
-
m.updated = new Date(proto.updated);
|
|
169
|
-
}
|
|
170
164
|
return m;
|
|
171
165
|
}
|
|
172
166
|
constructor(kwargs) {
|
|
@@ -186,12 +180,6 @@ class MeetingSourceInfo {
|
|
|
186
180
|
if (typeof this.connectDisconnectUrl !== 'undefined') {
|
|
187
181
|
toReturn['connectDisconnectUrl'] = this.connectDisconnectUrl;
|
|
188
182
|
}
|
|
189
|
-
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
190
|
-
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
191
|
-
}
|
|
192
|
-
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
193
|
-
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
194
|
-
}
|
|
195
183
|
return toReturn;
|
|
196
184
|
}
|
|
197
185
|
}
|
|
@@ -1560,6 +1548,9 @@ class Preferences {
|
|
|
1560
1548
|
if (proto.noticeTime) {
|
|
1561
1549
|
m.noticeTime = parseInt(proto.noticeTime, 10);
|
|
1562
1550
|
}
|
|
1551
|
+
if (proto.bufferDurationBeforeMeeting) {
|
|
1552
|
+
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1553
|
+
}
|
|
1563
1554
|
return m;
|
|
1564
1555
|
}
|
|
1565
1556
|
constructor(kwargs) {
|
|
@@ -1588,6 +1579,9 @@ class Preferences {
|
|
|
1588
1579
|
if (typeof this.calendarSlug !== 'undefined') {
|
|
1589
1580
|
toReturn['calendarSlug'] = this.calendarSlug;
|
|
1590
1581
|
}
|
|
1582
|
+
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
1583
|
+
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
1584
|
+
}
|
|
1591
1585
|
return toReturn;
|
|
1592
1586
|
}
|
|
1593
1587
|
}
|
|
@@ -1704,6 +1698,9 @@ class MeetingType {
|
|
|
1704
1698
|
if (proto.hostUsers) {
|
|
1705
1699
|
m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
|
|
1706
1700
|
}
|
|
1701
|
+
if (proto.bufferDurationBeforeMeeting) {
|
|
1702
|
+
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1703
|
+
}
|
|
1707
1704
|
return m;
|
|
1708
1705
|
}
|
|
1709
1706
|
constructor(kwargs) {
|
|
@@ -1792,6 +1789,9 @@ class MeetingType {
|
|
|
1792
1789
|
if (typeof this.isVideoLinkDisabled !== 'undefined') {
|
|
1793
1790
|
toReturn['isVideoLinkDisabled'] = this.isVideoLinkDisabled;
|
|
1794
1791
|
}
|
|
1792
|
+
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
1793
|
+
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
1794
|
+
}
|
|
1795
1795
|
return toReturn;
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
@@ -5346,8 +5346,9 @@ function MeetingTypeFromApi(req) {
|
|
|
5346
5346
|
form: form,
|
|
5347
5347
|
hostUserIds: req.meetingTypeApi.hostUserIds || [],
|
|
5348
5348
|
availabilityIncrement: req.meetingTypeApi.availabilityIncrement || -1,
|
|
5349
|
-
bufferDurationAfterMeeting: req.meetingTypeApi.bufferDurationAfterMeeting ||
|
|
5350
|
-
|
|
5349
|
+
bufferDurationAfterMeeting: req.meetingTypeApi.bufferDurationAfterMeeting || 0,
|
|
5350
|
+
bufferDurationBeforeMeeting: req.meetingTypeApi.bufferDurationBeforeMeeting || 0,
|
|
5351
|
+
noticeTime: req.meetingTypeApi.noticeTime || 0,
|
|
5351
5352
|
location: req.meetingTypeApi.location || '',
|
|
5352
5353
|
locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
|
|
5353
5354
|
isClientChoice: req.meetingTypeApi.isClientChoice || false,
|
|
@@ -5377,8 +5378,8 @@ function MeetingTypeToApi(req) {
|
|
|
5377
5378
|
form: m.form || undefined,
|
|
5378
5379
|
hostUserIds: m.hostUserIds || undefined,
|
|
5379
5380
|
availabilityIncrement: m.availabilityIncrement || undefined,
|
|
5380
|
-
bufferDurationAfterMeeting: m.bufferDurationAfterMeeting ||
|
|
5381
|
-
noticeTime: m.noticeTime ||
|
|
5381
|
+
bufferDurationAfterMeeting: m.bufferDurationAfterMeeting || 0,
|
|
5382
|
+
noticeTime: m.noticeTime || 0,
|
|
5382
5383
|
location: m.location || undefined,
|
|
5383
5384
|
locationGuidelines: m.locationGuidelines || undefined,
|
|
5384
5385
|
emailSubject: m.emailSubject || undefined,
|
|
@@ -5390,6 +5391,7 @@ function MeetingTypeToApi(req) {
|
|
|
5390
5391
|
teamName: m.teamName || undefined,
|
|
5391
5392
|
isVideoLinkDisabled: m.isVideoLinkDisabled || false,
|
|
5392
5393
|
locationType: m.locationType || MeetingLocationType.VIDEO,
|
|
5394
|
+
bufferDurationBeforeMeeting: m.bufferDurationBeforeMeeting || 0,
|
|
5393
5395
|
};
|
|
5394
5396
|
}
|
|
5395
5397
|
|
|
@@ -5525,6 +5527,7 @@ function PreferencesFromApi(preferences) {
|
|
|
5525
5527
|
meetingIntegration: preferences.meetingIntegration || MeetingSource.MEETING_SOURCE_INVALID,
|
|
5526
5528
|
availabilityIncrement: preferences.availabilityIncrement || 0,
|
|
5527
5529
|
bufferDurationAfterMeeting: preferences.bufferDurationAfterMeeting || 0,
|
|
5530
|
+
bufferDurationBeforeMeeting: preferences.bufferDurationBeforeMeeting || 0,
|
|
5528
5531
|
noticeTime: preferences.noticeTime || 0,
|
|
5529
5532
|
calendarSlug: preferences.calendarSlug || '',
|
|
5530
5533
|
};
|