@vendasta/meetings 0.92.1 → 0.92.3

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.
@@ -111,6 +111,12 @@ var FormFieldType;
111
111
  FormFieldType[FormFieldType["FORM_FIELD_TYPE_PHONE_NUMBER"] = 3] = "FORM_FIELD_TYPE_PHONE_NUMBER";
112
112
  FormFieldType[FormFieldType["FORM_FIELD_TYPE_SELECT"] = 4] = "FORM_FIELD_TYPE_SELECT";
113
113
  })(FormFieldType || (FormFieldType = {}));
114
+ var MeetingLocationType;
115
+ (function (MeetingLocationType) {
116
+ MeetingLocationType[MeetingLocationType["VIDEO"] = 0] = "VIDEO";
117
+ MeetingLocationType[MeetingLocationType["IN_PERSON_USER_SITE"] = 1] = "IN_PERSON_USER_SITE";
118
+ MeetingLocationType[MeetingLocationType["IN_PERSON_CLIENT_SITE"] = 2] = "IN_PERSON_CLIENT_SITE";
119
+ })(MeetingLocationType || (MeetingLocationType = {}));
114
120
 
115
121
  // *********************************
116
122
  // Code generated by sdkgen
@@ -1673,6 +1679,9 @@ class MeetingType {
1673
1679
  if (proto.hostUsers) {
1674
1680
  m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
1675
1681
  }
1682
+ if (proto.locationType) {
1683
+ m.locationType = enumStringToValue$7(MeetingLocationType, proto.locationType);
1684
+ }
1676
1685
  return m;
1677
1686
  }
1678
1687
  constructor(kwargs) {
@@ -1731,9 +1740,6 @@ class MeetingType {
1731
1740
  if (typeof this.location !== 'undefined') {
1732
1741
  toReturn['location'] = this.location;
1733
1742
  }
1734
- if (typeof this.isClientSiteMeeting !== 'undefined') {
1735
- toReturn['isClientSiteMeeting'] = this.isClientSiteMeeting;
1736
- }
1737
1743
  if (typeof this.locationGuidelines !== 'undefined') {
1738
1744
  toReturn['locationGuidelines'] = this.locationGuidelines;
1739
1745
  }
@@ -1758,6 +1764,20 @@ class MeetingType {
1758
1764
  if (typeof this.teamName !== 'undefined') {
1759
1765
  toReturn['teamName'] = this.teamName;
1760
1766
  }
1767
+ // isVideoLinkDisabled set default as 'false' to handle old records
1768
+ if (typeof this.isVideoLinkDisabled !== 'undefined') {
1769
+ toReturn['isVideoLinkDisabled'] = this.isVideoLinkDisabled;
1770
+ }
1771
+ else {
1772
+ toReturn['isVideoLinkDisabled'] = false;
1773
+ }
1774
+ // locationType set default as 'Video' to handle old records
1775
+ if (typeof this.locationType !== 'undefined') {
1776
+ toReturn['locationType'] = this.locationType;
1777
+ }
1778
+ else {
1779
+ toReturn['locationType'] = MeetingLocationType.VIDEO;
1780
+ }
1761
1781
  return toReturn;
1762
1782
  }
1763
1783
  }
@@ -5204,14 +5224,15 @@ function MeetingTypeFromApi(req) {
5204
5224
  noticeTime: req.meetingTypeApi.noticeTime || -1,
5205
5225
  location: req.meetingTypeApi.location || '',
5206
5226
  locationGuidelines: req.meetingTypeApi.locationGuidelines || '',
5207
- isClientSiteMeeting: req.meetingTypeApi.isClientSiteMeeting || false,
5208
5227
  isClientChoice: req.meetingTypeApi.isClientChoice || false,
5209
5228
  emailSubject: req.meetingTypeApi.emailSubject || '',
5210
5229
  emailDescription: req.meetingTypeApi.emailDescription || '',
5211
5230
  isPinned: req.meetingTypeApi.isPinned || false,
5212
5231
  CalendarType: req.meetingTypeApi.calendarType || '',
5213
5232
  hostUsers: req.meetingTypeApi.hostUsers || [],
5214
- teamName: req.meetingTypeApi.teamName || ''
5233
+ teamName: req.meetingTypeApi.teamName || '',
5234
+ isVideoLinkDisabled: req.meetingTypeApi.isVideoLinkDisabled || false,
5235
+ locationType: req.meetingTypeApi.locationType || MeetingLocationType.VIDEO,
5215
5236
  };
5216
5237
  }
5217
5238
  function MeetingTypeToApi(req) {
@@ -5234,14 +5255,15 @@ function MeetingTypeToApi(req) {
5234
5255
  noticeTime: m.noticeTime || undefined,
5235
5256
  location: m.location || undefined,
5236
5257
  locationGuidelines: m.locationGuidelines || undefined,
5237
- isClientSiteMeeting: m.isClientSiteMeeting || undefined,
5238
5258
  emailSubject: m.emailSubject || undefined,
5239
5259
  emailDescription: m.emailDescription || undefined,
5240
5260
  isClientChoice: m.isClientChoice || undefined,
5241
5261
  isPinned: m.isPinned || undefined,
5242
5262
  calendarType: m.CalendarType || undefined,
5243
5263
  hostUsers: m.hostUsers || undefined,
5244
- teamName: m.teamName || undefined
5264
+ teamName: m.teamName || undefined,
5265
+ isVideoLinkDisabled: m.isVideoLinkDisabled || false,
5266
+ locationType: m.locationType || MeetingLocationType.VIDEO,
5245
5267
  };
5246
5268
  }
5247
5269
 
@@ -6014,5 +6036,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
6014
6036
  * Generated bundle index. Do not edit.
6015
6037
  */
6016
6038
 
6017
- export { CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
6039
+ export { CalendarType, Contact, CreateCalendarRequest, CreateCalendarResponse, DayOfWeek, FormFieldType, GuestService, HostService, KnownCalendarApplicationContextKeys, KnownCalendarExternalIntegrations, MeetingLocationType, MeetingSource, MeetingSourceInfo, MeetingSourceListResponse, MeetingSourceQuery, MeetingSourceStatus, MeetingsService, PagedResponse, WeekdayAvailability, WellKnownFormFieldIds, WellKnownMeetingMetadataKeys, addMetadataToBookingLink, durationFromString, durationStringToMinutes, durationToString, meetingSchedulerIdToMetadataKey, newBusinessCenterApplicationContextProperties, newPartnerCenterApplicationContextProperties, newSalesCenterApplicationContextProperties };
6018
6040
  //# sourceMappingURL=vendasta-meetings.mjs.map