@wix/auto_sdk_legends_persona-chats 1.0.21 → 1.0.22

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.
@@ -69,6 +69,18 @@ interface PersonaChat {
69
69
  * @maxLength 50
70
70
  */
71
71
  namespaceV2?: string | null;
72
+ /**
73
+ * The chat's latest message, its content cut to a preview. Set only when QueryPersonaChats answers a Symphony call,
74
+ * and missing on a chat with no messages.
75
+ * @readonly
76
+ */
77
+ lastMessage?: ChatMessage;
78
+ /**
79
+ * Whether the chat is the owner's own test: a signed-in Wix user who is the Legend's owner or the account that owns it.
80
+ * Set only when QueryPersonaChats answers a Symphony call.
81
+ * @readonly
82
+ */
83
+ ownerTest?: boolean | null;
72
84
  }
73
85
  declare enum Namespace {
74
86
  DOLLY = "DOLLY",
package/build/cjs/meta.js CHANGED
@@ -82,7 +82,8 @@ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
82
82
  var TRANSFORM_PATHS_0 = [
83
83
  { path: "chat.createdDate" },
84
84
  { path: "chat.updatedDate" },
85
- { path: "chat.messages.createdDate" }
85
+ { path: "chat.messages.createdDate" },
86
+ { path: "chat.lastMessage.createdDate" }
86
87
  ];
87
88
  var TRANSFORM_PATHS_1 = [
88
89
  { path: "chatConfig.inlineOverride.videoFrameSampleIntervalSec" }
@@ -94,7 +95,8 @@ var TRANSFORM_PATHS_5 = [{ path: "message.createdDate" }];
94
95
  var TRANSFORM_PATHS_6 = [
95
96
  { path: "chats.createdDate" },
96
97
  { path: "chats.updatedDate" },
97
- { path: "chats.messages.createdDate" }
98
+ { path: "chats.messages.createdDate" },
99
+ { path: "chats.lastMessage.createdDate" }
98
100
  ];
99
101
  var TRANSFORM_PATHS_7 = [
100
102
  { path: "vendorData.humeData.speed" },