@vendasta/conversation 0.43.0 → 0.44.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.
@@ -215,6 +215,9 @@ class Conversation {
215
215
  if (proto.lastSeenByParticipant) {
216
216
  m.lastSeenByParticipant = proto.lastSeenByParticipant.map(LastSeenByParticipant.fromProto);
217
217
  }
218
+ if (proto.subjectParticipants) {
219
+ m.subjectParticipants = proto.subjectParticipants.map(SubjectParticipant.fromProto);
220
+ }
218
221
  return m;
219
222
  }
220
223
  constructor(kwargs) {
@@ -261,6 +264,12 @@ class Conversation {
261
264
  if (typeof this.conversationViewIds !== 'undefined') {
262
265
  toReturn['conversationViewIds'] = this.conversationViewIds;
263
266
  }
267
+ if (typeof this.subjectParticipantsKey !== 'undefined') {
268
+ toReturn['subjectParticipantsKey'] = this.subjectParticipantsKey;
269
+ }
270
+ if (typeof this.subjectParticipants !== 'undefined' && this.subjectParticipants !== null) {
271
+ toReturn['subjectParticipants'] = 'toApiJson' in this.subjectParticipants ? this.subjectParticipants.toApiJson() : this.subjectParticipants;
272
+ }
264
273
  return toReturn;
265
274
  }
266
275
  }