@vendasta/conversation 0.90.0 → 0.91.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.
@@ -2414,6 +2414,8 @@ class GetMultiConversationDetailsResponseDetailedConversation {
2414
2414
  latestMessage;
2415
2415
  participants;
2416
2416
  summary;
2417
+ event;
2418
+ message;
2417
2419
  static fromProto(proto) {
2418
2420
  let m = new GetMultiConversationDetailsResponseDetailedConversation();
2419
2421
  m = Object.assign(m, proto);
@@ -2426,6 +2428,12 @@ class GetMultiConversationDetailsResponseDetailedConversation {
2426
2428
  if (proto.participants) {
2427
2429
  m.participants = proto.participants.map(Participant.fromProto);
2428
2430
  }
2431
+ if (proto.event) {
2432
+ m.event = Event.fromProto(proto.event);
2433
+ }
2434
+ if (proto.message) {
2435
+ m.message = Message.fromProto(proto.message);
2436
+ }
2429
2437
  return m;
2430
2438
  }
2431
2439
  constructor(kwargs) {
@@ -2448,6 +2456,12 @@ class GetMultiConversationDetailsResponseDetailedConversation {
2448
2456
  if (typeof this.summary !== 'undefined') {
2449
2457
  toReturn['summary'] = this.summary;
2450
2458
  }
2459
+ if (typeof this.event !== 'undefined' && this.event !== null) {
2460
+ toReturn['event'] = 'toApiJson' in this.event ? this.event.toApiJson() : this.event;
2461
+ }
2462
+ if (typeof this.message !== 'undefined' && this.message !== null) {
2463
+ toReturn['message'] = 'toApiJson' in this.message ? this.message.toApiJson() : this.message;
2464
+ }
2451
2465
  return toReturn;
2452
2466
  }
2453
2467
  }