@vendasta/meetings 0.97.0 → 0.98.2
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/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/meeting-source.enum.mjs +7 -1
- package/esm2020/lib/_internal/interfaces/meeting-source.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/shared.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/meeting-source.mjs +4 -1
- package/esm2020/lib/_internal/objects/shared.mjs +7 -1
- package/esm2020/lib/index.mjs +2 -2
- package/esm2020/lib/shared/preferences.mjs +3 -2
- package/fesm2015/vendasta-meetings.mjs +17 -1
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +17 -1
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/meeting-source.enum.d.ts +5 -0
- package/lib/_internal/interfaces/meeting-source.interface.d.ts +1 -0
- package/lib/_internal/interfaces/shared.interface.d.ts +1 -0
- package/lib/_internal/objects/meeting-source.d.ts +1 -0
- package/lib/_internal/objects/shared.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/shared/preferences.d.ts +2 -1
- package/package.json +1 -1
|
@@ -10,6 +10,12 @@ import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
|
10
10
|
//
|
|
11
11
|
// Enums.
|
|
12
12
|
// *********************************
|
|
13
|
+
var CalendarSource;
|
|
14
|
+
(function (CalendarSource) {
|
|
15
|
+
CalendarSource[CalendarSource["CALENDAR_SOURCE_GOOGLE"] = 0] = "CALENDAR_SOURCE_GOOGLE";
|
|
16
|
+
CalendarSource[CalendarSource["CALENDAR_SOURCE_MICROSOFT"] = 1] = "CALENDAR_SOURCE_MICROSOFT";
|
|
17
|
+
CalendarSource[CalendarSource["CALENDAR_SOURCE_INVALID"] = -1] = "CALENDAR_SOURCE_INVALID";
|
|
18
|
+
})(CalendarSource || (CalendarSource = {}));
|
|
13
19
|
var MeetingSource;
|
|
14
20
|
(function (MeetingSource) {
|
|
15
21
|
MeetingSource[MeetingSource["MEETING_SOURCE_INVALID"] = 0] = "MEETING_SOURCE_INVALID";
|
|
@@ -181,6 +187,9 @@ class MeetingSourceInfo {
|
|
|
181
187
|
if (typeof this.connectDisconnectUrl !== 'undefined') {
|
|
182
188
|
toReturn['connectDisconnectUrl'] = this.connectDisconnectUrl;
|
|
183
189
|
}
|
|
190
|
+
if (typeof this.connectionLabel !== 'undefined') {
|
|
191
|
+
toReturn['connectionLabel'] = this.connectionLabel;
|
|
192
|
+
}
|
|
184
193
|
return toReturn;
|
|
185
194
|
}
|
|
186
195
|
}
|
|
@@ -1555,6 +1564,9 @@ class Preferences {
|
|
|
1555
1564
|
if (proto.bufferDurationBeforeMeeting) {
|
|
1556
1565
|
m.bufferDurationBeforeMeeting = parseInt(proto.bufferDurationBeforeMeeting, 10);
|
|
1557
1566
|
}
|
|
1567
|
+
if (proto.calendarIntegration) {
|
|
1568
|
+
m.calendarIntegration = enumStringToValue$9(CalendarSource, proto.calendarIntegration);
|
|
1569
|
+
}
|
|
1558
1570
|
return m;
|
|
1559
1571
|
}
|
|
1560
1572
|
constructor(kwargs) {
|
|
@@ -1586,6 +1598,9 @@ class Preferences {
|
|
|
1586
1598
|
if (typeof this.bufferDurationBeforeMeeting !== 'undefined') {
|
|
1587
1599
|
toReturn['bufferDurationBeforeMeeting'] = this.bufferDurationBeforeMeeting;
|
|
1588
1600
|
}
|
|
1601
|
+
if (typeof this.calendarIntegration !== 'undefined') {
|
|
1602
|
+
toReturn['calendarIntegration'] = this.calendarIntegration;
|
|
1603
|
+
}
|
|
1589
1604
|
return toReturn;
|
|
1590
1605
|
}
|
|
1591
1606
|
}
|
|
@@ -5732,6 +5747,7 @@ function PreferencesFromApi(preferences) {
|
|
|
5732
5747
|
bufferDurationBeforeMeeting: preferences.bufferDurationBeforeMeeting || 0,
|
|
5733
5748
|
noticeTime: preferences.noticeTime || 0,
|
|
5734
5749
|
calendarSlug: preferences.calendarSlug || '',
|
|
5750
|
+
calendarIntegration: preferences.calendarIntegration || CalendarSource.CALENDAR_SOURCE_INVALID,
|
|
5735
5751
|
};
|
|
5736
5752
|
}
|
|
5737
5753
|
|
|
@@ -6510,5 +6526,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
6510
6526
|
* Generated bundle index. Do not edit.
|
|
6511
6527
|
*/
|
|
6512
6528
|
|
|
6513
|
-
export { CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
6529
|
+
export { CalendarSource, CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingBotService, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceOrigin, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
|
|
6514
6530
|
//# sourceMappingURL=vendasta-meetings.mjs.map
|