@vendasta/meetings 1.7.6 → 1.7.7

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.
@@ -2423,6 +2423,12 @@ class EventGroupAndServiceAssociations {
2423
2423
  static fromProto(proto) {
2424
2424
  let m = new EventGroupAndServiceAssociations();
2425
2425
  m = Object.assign(m, proto);
2426
+ if (proto.hostUsers) {
2427
+ m.hostUsers = proto.hostUsers.map(HostUser.fromProto);
2428
+ }
2429
+ if (proto.teamMeetingType) {
2430
+ m.teamMeetingType = enumStringToValue$8(TeamEventMeetingType, proto.teamMeetingType);
2431
+ }
2426
2432
  return m;
2427
2433
  }
2428
2434
  constructor(kwargs) {
@@ -2466,6 +2472,12 @@ class EventGroupAndServiceAssociations {
2466
2472
  if (typeof this.bookingUrl !== 'undefined') {
2467
2473
  toReturn['bookingUrl'] = this.bookingUrl;
2468
2474
  }
2475
+ if (typeof this.hostUsers !== 'undefined' && this.hostUsers !== null) {
2476
+ toReturn['hostUsers'] = 'toApiJson' in this.hostUsers ? this.hostUsers.toApiJson() : this.hostUsers;
2477
+ }
2478
+ if (typeof this.teamMeetingType !== 'undefined') {
2479
+ toReturn['teamMeetingType'] = this.teamMeetingType;
2480
+ }
2469
2481
  return toReturn;
2470
2482
  }
2471
2483
  }