@wix/auto_sdk_legends_persona-chats 1.0.20 → 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.
- package/build/cjs/index.js +12 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +48 -0
- package/build/cjs/index.typings.js +12 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +30 -0
- package/build/cjs/meta.js +4 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +12 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +48 -0
- package/build/es/index.typings.mjs +12 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +30 -0
- package/build/es/meta.mjs +4 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +48 -0
- package/build/internal/cjs/meta.d.ts +30 -0
- package/build/internal/es/index.typings.d.mts +48 -0
- package/build/internal/es/meta.d.mts +30 -0
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -86,7 +86,8 @@ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
|
86
86
|
var TRANSFORM_PATHS_0 = [
|
|
87
87
|
{ path: "chat.createdDate" },
|
|
88
88
|
{ path: "chat.updatedDate" },
|
|
89
|
-
{ path: "chat.messages.createdDate" }
|
|
89
|
+
{ path: "chat.messages.createdDate" },
|
|
90
|
+
{ path: "chat.lastMessage.createdDate" }
|
|
90
91
|
];
|
|
91
92
|
var TRANSFORM_PATHS_1 = [
|
|
92
93
|
{ path: "chatConfig.inlineOverride.videoFrameSampleIntervalSec" }
|
|
@@ -98,7 +99,8 @@ var TRANSFORM_PATHS_5 = [{ path: "message.createdDate" }];
|
|
|
98
99
|
var TRANSFORM_PATHS_6 = [
|
|
99
100
|
{ path: "chats.createdDate" },
|
|
100
101
|
{ path: "chats.updatedDate" },
|
|
101
|
-
{ path: "chats.messages.createdDate" }
|
|
102
|
+
{ path: "chats.messages.createdDate" },
|
|
103
|
+
{ path: "chats.lastMessage.createdDate" }
|
|
102
104
|
];
|
|
103
105
|
var TRANSFORM_PATHS_7 = [
|
|
104
106
|
{ path: "vendorData.humeData.speed" },
|
|
@@ -1233,7 +1235,10 @@ async function sendChatMessageStreamed2(options) {
|
|
|
1233
1235
|
metadata: options?.metadata,
|
|
1234
1236
|
namespaceV2: options?.namespaceV2,
|
|
1235
1237
|
conversationLanguage: options?.conversationLanguage,
|
|
1236
|
-
includeCitations: options?.includeCitations
|
|
1238
|
+
includeCitations: options?.includeCitations,
|
|
1239
|
+
functionCallResults: options?.functionCallResults,
|
|
1240
|
+
clientTools: options?.clientTools,
|
|
1241
|
+
streamToolTurns: options?.streamToolTurns
|
|
1237
1242
|
});
|
|
1238
1243
|
const reqOpts = sendChatMessageStreamed(payload);
|
|
1239
1244
|
sideEffects?.onSiteCall?.();
|
|
@@ -1255,7 +1260,10 @@ async function sendChatMessageStreamed2(options) {
|
|
|
1255
1260
|
metadata: "$[0].metadata",
|
|
1256
1261
|
namespaceV2: "$[0].namespaceV2",
|
|
1257
1262
|
conversationLanguage: "$[0].conversationLanguage",
|
|
1258
|
-
includeCitations: "$[0].includeCitations"
|
|
1263
|
+
includeCitations: "$[0].includeCitations",
|
|
1264
|
+
functionCallResults: "$[0].functionCallResults",
|
|
1265
|
+
clientTools: "$[0].clientTools",
|
|
1266
|
+
streamToolTurns: "$[0].streamToolTurns"
|
|
1259
1267
|
},
|
|
1260
1268
|
singleArgumentUnchanged: false
|
|
1261
1269
|
},
|