@vendasta/conversation 0.31.0 → 0.32.0

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.
@@ -1517,6 +1517,9 @@ class GetParticipantsByKeyResponse {
1517
1517
  if (proto.participants) {
1518
1518
  m.participants = proto.participants.map(Participant.fromProto);
1519
1519
  }
1520
+ if (proto.participant) {
1521
+ m.participant = Participant.fromProto(proto.participant);
1522
+ }
1520
1523
  return m;
1521
1524
  }
1522
1525
  constructor(kwargs) {
@@ -1530,6 +1533,9 @@ class GetParticipantsByKeyResponse {
1530
1533
  if (typeof this.participants !== 'undefined' && this.participants !== null) {
1531
1534
  toReturn['participants'] = 'toApiJson' in this.participants ? this.participants.toApiJson() : this.participants;
1532
1535
  }
1536
+ if (typeof this.participant !== 'undefined' && this.participant !== null) {
1537
+ toReturn['participant'] = 'toApiJson' in this.participant ? this.participant.toApiJson() : this.participant;
1538
+ }
1533
1539
  return toReturn;
1534
1540
  }
1535
1541
  }