@vendasta/conversation 0.88.0 → 0.89.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.
@@ -2123,6 +2123,7 @@ class CreateMultiMessagesRequest {
2123
2123
  class CreateWidgetConversationRequest {
2124
2124
  widgetId;
2125
2125
  chatSourceUrl;
2126
+ greetingMessage;
2126
2127
  static fromProto(proto) {
2127
2128
  let m = new CreateWidgetConversationRequest();
2128
2129
  m = Object.assign(m, proto);
@@ -2142,12 +2143,16 @@ class CreateWidgetConversationRequest {
2142
2143
  if (typeof this.chatSourceUrl !== 'undefined') {
2143
2144
  toReturn['chatSourceUrl'] = this.chatSourceUrl;
2144
2145
  }
2146
+ if (typeof this.greetingMessage !== 'undefined') {
2147
+ toReturn['greetingMessage'] = this.greetingMessage;
2148
+ }
2145
2149
  return toReturn;
2146
2150
  }
2147
2151
  }
2148
2152
  class CreateWidgetConversationResponse {
2149
2153
  widgetParticipantToken;
2150
2154
  conversation;
2155
+ greetingMessageId;
2151
2156
  static fromProto(proto) {
2152
2157
  let m = new CreateWidgetConversationResponse();
2153
2158
  m = Object.assign(m, proto);
@@ -2170,6 +2175,9 @@ class CreateWidgetConversationResponse {
2170
2175
  if (typeof this.conversation !== 'undefined' && this.conversation !== null) {
2171
2176
  toReturn['conversation'] = 'toApiJson' in this.conversation ? this.conversation.toApiJson() : this.conversation;
2172
2177
  }
2178
+ if (typeof this.greetingMessageId !== 'undefined') {
2179
+ toReturn['greetingMessageId'] = this.greetingMessageId;
2180
+ }
2173
2181
  return toReturn;
2174
2182
  }
2175
2183
  }