@rapidaai/react 1.1.51 → 1.1.53
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/dist/{chunk-A2PCWS4P.mjs → chunk-4RUIGDSN.mjs} +3191 -2161
- package/dist/chunk-4RUIGDSN.mjs.map +1 -0
- package/dist/components/device-selector.d.mts +1 -1
- package/dist/components/device-selector.d.ts +1 -1
- package/dist/components/device-selector.js +3190 -2160
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-D2B4ipII.d.mts → device-selector-BL0WiuZJ.d.mts} +438 -239
- package/dist/{device-selector-D2B4ipII.d.ts → device-selector-BL0WiuZJ.d.ts} +438 -239
- package/dist/index.d.mts +14 -28
- package/dist/index.d.ts +14 -28
- package/dist/index.js +2662 -1420
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +402 -187
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-A2PCWS4P.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
require_talk_api_pb,
|
|
109
109
|
useObservableState,
|
|
110
110
|
useSelectInputDeviceAgent
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-4RUIGDSN.mjs";
|
|
112
112
|
import {
|
|
113
113
|
MultibandAudioVisualizerComponent
|
|
114
114
|
} from "./chunk-CVATR327.mjs";
|
|
@@ -136,8 +136,8 @@ var require_talk_api_pb_service = __commonJS({
|
|
|
136
136
|
service: TalkService2,
|
|
137
137
|
requestStream: true,
|
|
138
138
|
responseStream: true,
|
|
139
|
-
requestType: talk_api_pb.
|
|
140
|
-
responseType: talk_api_pb.
|
|
139
|
+
requestType: talk_api_pb.AssistantTalkInput,
|
|
140
|
+
responseType: talk_api_pb.AssistantTalkOutput
|
|
141
141
|
};
|
|
142
142
|
TalkService2.GetAllAssistantConversation = {
|
|
143
143
|
methodName: "GetAllAssistantConversation",
|
|
@@ -417,6 +417,70 @@ var require_talk_api_pb_service = __commonJS({
|
|
|
417
417
|
};
|
|
418
418
|
};
|
|
419
419
|
exports.TalkServiceClient = TalkServiceClient3;
|
|
420
|
+
var AgentKit = function() {
|
|
421
|
+
function AgentKit2() {
|
|
422
|
+
}
|
|
423
|
+
AgentKit2.serviceName = "talk_api.AgentKit";
|
|
424
|
+
return AgentKit2;
|
|
425
|
+
}();
|
|
426
|
+
AgentKit.Talk = {
|
|
427
|
+
methodName: "Talk",
|
|
428
|
+
service: AgentKit,
|
|
429
|
+
requestStream: true,
|
|
430
|
+
responseStream: true,
|
|
431
|
+
requestType: talk_api_pb.TalkInput,
|
|
432
|
+
responseType: talk_api_pb.TalkOutput
|
|
433
|
+
};
|
|
434
|
+
exports.AgentKit = AgentKit;
|
|
435
|
+
function AgentKitClient(serviceHost, options) {
|
|
436
|
+
this.serviceHost = serviceHost;
|
|
437
|
+
this.options = options || {};
|
|
438
|
+
}
|
|
439
|
+
AgentKitClient.prototype.talk = function talk(metadata) {
|
|
440
|
+
var listeners = {
|
|
441
|
+
data: [],
|
|
442
|
+
end: [],
|
|
443
|
+
status: []
|
|
444
|
+
};
|
|
445
|
+
var client = grpc2.client(AgentKit.Talk, {
|
|
446
|
+
host: this.serviceHost,
|
|
447
|
+
metadata,
|
|
448
|
+
transport: this.options.transport
|
|
449
|
+
});
|
|
450
|
+
client.onEnd(function(status, statusMessage, trailers) {
|
|
451
|
+
listeners.status.forEach(function(handler) {
|
|
452
|
+
handler({ code: status, details: statusMessage, metadata: trailers });
|
|
453
|
+
});
|
|
454
|
+
listeners.end.forEach(function(handler) {
|
|
455
|
+
handler({ code: status, details: statusMessage, metadata: trailers });
|
|
456
|
+
});
|
|
457
|
+
listeners = null;
|
|
458
|
+
});
|
|
459
|
+
client.onMessage(function(message) {
|
|
460
|
+
listeners.data.forEach(function(handler) {
|
|
461
|
+
handler(message);
|
|
462
|
+
});
|
|
463
|
+
});
|
|
464
|
+
client.start(metadata);
|
|
465
|
+
return {
|
|
466
|
+
on: function(type, handler) {
|
|
467
|
+
listeners[type].push(handler);
|
|
468
|
+
return this;
|
|
469
|
+
},
|
|
470
|
+
write: function(requestMessage) {
|
|
471
|
+
client.send(requestMessage);
|
|
472
|
+
return this;
|
|
473
|
+
},
|
|
474
|
+
end: function() {
|
|
475
|
+
client.finishSend();
|
|
476
|
+
},
|
|
477
|
+
cancel: function() {
|
|
478
|
+
listeners = null;
|
|
479
|
+
client.close();
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
exports.AgentKitClient = AgentKitClient;
|
|
420
484
|
}
|
|
421
485
|
});
|
|
422
486
|
|
|
@@ -9919,6 +9983,7 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
9919
9983
|
goog.exportSymbol("proto.knowledge_api.CreateKnowledgeResponse", null, global);
|
|
9920
9984
|
goog.exportSymbol("proto.knowledge_api.CreateKnowledgeTagRequest", null, global);
|
|
9921
9985
|
goog.exportSymbol("proto.knowledge_api.DeleteKnowledgeDocumentSegmentRequest", null, global);
|
|
9986
|
+
goog.exportSymbol("proto.knowledge_api.DocumentContent", null, global);
|
|
9922
9987
|
goog.exportSymbol("proto.knowledge_api.GetAllKnowledgeDocumentRequest", null, global);
|
|
9923
9988
|
goog.exportSymbol("proto.knowledge_api.GetAllKnowledgeDocumentResponse", null, global);
|
|
9924
9989
|
goog.exportSymbol("proto.knowledge_api.GetAllKnowledgeDocumentSegmentRequest", null, global);
|
|
@@ -10008,6 +10073,13 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
10008
10073
|
if (goog.DEBUG && !COMPILED) {
|
|
10009
10074
|
proto.knowledge_api.GetAllKnowledgeDocumentResponse.displayName = "proto.knowledge_api.GetAllKnowledgeDocumentResponse";
|
|
10010
10075
|
}
|
|
10076
|
+
proto.knowledge_api.DocumentContent = function(opt_data) {
|
|
10077
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
10078
|
+
};
|
|
10079
|
+
goog.inherits(proto.knowledge_api.DocumentContent, jspb.Message);
|
|
10080
|
+
if (goog.DEBUG && !COMPILED) {
|
|
10081
|
+
proto.knowledge_api.DocumentContent.displayName = "proto.knowledge_api.DocumentContent";
|
|
10082
|
+
}
|
|
10011
10083
|
proto.knowledge_api.CreateKnowledgeDocumentRequest = function(opt_data) {
|
|
10012
10084
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.knowledge_api.CreateKnowledgeDocumentRequest.repeatedFields_, null);
|
|
10013
10085
|
};
|
|
@@ -11923,6 +11995,187 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
11923
11995
|
proto.knowledge_api.GetAllKnowledgeDocumentResponse.prototype.hasPaginated = function() {
|
|
11924
11996
|
return jspb.Message.getField(this, 5) != null;
|
|
11925
11997
|
};
|
|
11998
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11999
|
+
proto.knowledge_api.DocumentContent.prototype.toObject = function(opt_includeInstance) {
|
|
12000
|
+
return proto.knowledge_api.DocumentContent.toObject(opt_includeInstance, this);
|
|
12001
|
+
};
|
|
12002
|
+
proto.knowledge_api.DocumentContent.toObject = function(includeInstance, msg) {
|
|
12003
|
+
var f, obj = {
|
|
12004
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12005
|
+
contenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12006
|
+
contentformat: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12007
|
+
content: msg.getContent_asB64(),
|
|
12008
|
+
meta: (f = msg.getMeta()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
12009
|
+
};
|
|
12010
|
+
if (includeInstance) {
|
|
12011
|
+
obj.$jspbMessageInstance = msg;
|
|
12012
|
+
}
|
|
12013
|
+
return obj;
|
|
12014
|
+
};
|
|
12015
|
+
}
|
|
12016
|
+
proto.knowledge_api.DocumentContent.deserializeBinary = function(bytes) {
|
|
12017
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12018
|
+
var msg = new proto.knowledge_api.DocumentContent();
|
|
12019
|
+
return proto.knowledge_api.DocumentContent.deserializeBinaryFromReader(msg, reader);
|
|
12020
|
+
};
|
|
12021
|
+
proto.knowledge_api.DocumentContent.deserializeBinaryFromReader = function(msg, reader) {
|
|
12022
|
+
while (reader.nextField()) {
|
|
12023
|
+
if (reader.isEndGroup()) {
|
|
12024
|
+
break;
|
|
12025
|
+
}
|
|
12026
|
+
var field = reader.getFieldNumber();
|
|
12027
|
+
switch (field) {
|
|
12028
|
+
case 1:
|
|
12029
|
+
var value = (
|
|
12030
|
+
/** @type {string} */
|
|
12031
|
+
reader.readString()
|
|
12032
|
+
);
|
|
12033
|
+
msg.setName(value);
|
|
12034
|
+
break;
|
|
12035
|
+
case 2:
|
|
12036
|
+
var value = (
|
|
12037
|
+
/** @type {string} */
|
|
12038
|
+
reader.readString()
|
|
12039
|
+
);
|
|
12040
|
+
msg.setContenttype(value);
|
|
12041
|
+
break;
|
|
12042
|
+
case 3:
|
|
12043
|
+
var value = (
|
|
12044
|
+
/** @type {string} */
|
|
12045
|
+
reader.readString()
|
|
12046
|
+
);
|
|
12047
|
+
msg.setContentformat(value);
|
|
12048
|
+
break;
|
|
12049
|
+
case 4:
|
|
12050
|
+
var value = (
|
|
12051
|
+
/** @type {!Uint8Array} */
|
|
12052
|
+
reader.readBytes()
|
|
12053
|
+
);
|
|
12054
|
+
msg.setContent(value);
|
|
12055
|
+
break;
|
|
12056
|
+
case 5:
|
|
12057
|
+
var value = new google_protobuf_struct_pb.Struct();
|
|
12058
|
+
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
12059
|
+
msg.setMeta(value);
|
|
12060
|
+
break;
|
|
12061
|
+
default:
|
|
12062
|
+
reader.skipField();
|
|
12063
|
+
break;
|
|
12064
|
+
}
|
|
12065
|
+
}
|
|
12066
|
+
return msg;
|
|
12067
|
+
};
|
|
12068
|
+
proto.knowledge_api.DocumentContent.prototype.serializeBinary = function() {
|
|
12069
|
+
var writer = new jspb.BinaryWriter();
|
|
12070
|
+
proto.knowledge_api.DocumentContent.serializeBinaryToWriter(this, writer);
|
|
12071
|
+
return writer.getResultBuffer();
|
|
12072
|
+
};
|
|
12073
|
+
proto.knowledge_api.DocumentContent.serializeBinaryToWriter = function(message, writer) {
|
|
12074
|
+
var f = void 0;
|
|
12075
|
+
f = message.getName();
|
|
12076
|
+
if (f.length > 0) {
|
|
12077
|
+
writer.writeString(
|
|
12078
|
+
1,
|
|
12079
|
+
f
|
|
12080
|
+
);
|
|
12081
|
+
}
|
|
12082
|
+
f = message.getContenttype();
|
|
12083
|
+
if (f.length > 0) {
|
|
12084
|
+
writer.writeString(
|
|
12085
|
+
2,
|
|
12086
|
+
f
|
|
12087
|
+
);
|
|
12088
|
+
}
|
|
12089
|
+
f = message.getContentformat();
|
|
12090
|
+
if (f.length > 0) {
|
|
12091
|
+
writer.writeString(
|
|
12092
|
+
3,
|
|
12093
|
+
f
|
|
12094
|
+
);
|
|
12095
|
+
}
|
|
12096
|
+
f = message.getContent_asU8();
|
|
12097
|
+
if (f.length > 0) {
|
|
12098
|
+
writer.writeBytes(
|
|
12099
|
+
4,
|
|
12100
|
+
f
|
|
12101
|
+
);
|
|
12102
|
+
}
|
|
12103
|
+
f = message.getMeta();
|
|
12104
|
+
if (f != null) {
|
|
12105
|
+
writer.writeMessage(
|
|
12106
|
+
5,
|
|
12107
|
+
f,
|
|
12108
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
12109
|
+
);
|
|
12110
|
+
}
|
|
12111
|
+
};
|
|
12112
|
+
proto.knowledge_api.DocumentContent.prototype.getName = function() {
|
|
12113
|
+
return (
|
|
12114
|
+
/** @type {string} */
|
|
12115
|
+
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
12116
|
+
);
|
|
12117
|
+
};
|
|
12118
|
+
proto.knowledge_api.DocumentContent.prototype.setName = function(value) {
|
|
12119
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12120
|
+
};
|
|
12121
|
+
proto.knowledge_api.DocumentContent.prototype.getContenttype = function() {
|
|
12122
|
+
return (
|
|
12123
|
+
/** @type {string} */
|
|
12124
|
+
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
12125
|
+
);
|
|
12126
|
+
};
|
|
12127
|
+
proto.knowledge_api.DocumentContent.prototype.setContenttype = function(value) {
|
|
12128
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12129
|
+
};
|
|
12130
|
+
proto.knowledge_api.DocumentContent.prototype.getContentformat = function() {
|
|
12131
|
+
return (
|
|
12132
|
+
/** @type {string} */
|
|
12133
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
12134
|
+
);
|
|
12135
|
+
};
|
|
12136
|
+
proto.knowledge_api.DocumentContent.prototype.setContentformat = function(value) {
|
|
12137
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12138
|
+
};
|
|
12139
|
+
proto.knowledge_api.DocumentContent.prototype.getContent = function() {
|
|
12140
|
+
return (
|
|
12141
|
+
/** @type {!(string|Uint8Array)} */
|
|
12142
|
+
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
12143
|
+
);
|
|
12144
|
+
};
|
|
12145
|
+
proto.knowledge_api.DocumentContent.prototype.getContent_asB64 = function() {
|
|
12146
|
+
return (
|
|
12147
|
+
/** @type {string} */
|
|
12148
|
+
jspb.Message.bytesAsB64(
|
|
12149
|
+
this.getContent()
|
|
12150
|
+
)
|
|
12151
|
+
);
|
|
12152
|
+
};
|
|
12153
|
+
proto.knowledge_api.DocumentContent.prototype.getContent_asU8 = function() {
|
|
12154
|
+
return (
|
|
12155
|
+
/** @type {!Uint8Array} */
|
|
12156
|
+
jspb.Message.bytesAsU8(
|
|
12157
|
+
this.getContent()
|
|
12158
|
+
)
|
|
12159
|
+
);
|
|
12160
|
+
};
|
|
12161
|
+
proto.knowledge_api.DocumentContent.prototype.setContent = function(value) {
|
|
12162
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
12163
|
+
};
|
|
12164
|
+
proto.knowledge_api.DocumentContent.prototype.getMeta = function() {
|
|
12165
|
+
return (
|
|
12166
|
+
/** @type{?proto.google.protobuf.Struct} */
|
|
12167
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5)
|
|
12168
|
+
);
|
|
12169
|
+
};
|
|
12170
|
+
proto.knowledge_api.DocumentContent.prototype.setMeta = function(value) {
|
|
12171
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
12172
|
+
};
|
|
12173
|
+
proto.knowledge_api.DocumentContent.prototype.clearMeta = function() {
|
|
12174
|
+
return this.setMeta(void 0);
|
|
12175
|
+
};
|
|
12176
|
+
proto.knowledge_api.DocumentContent.prototype.hasMeta = function() {
|
|
12177
|
+
return jspb.Message.getField(this, 5) != null;
|
|
12178
|
+
};
|
|
11926
12179
|
proto.knowledge_api.CreateKnowledgeDocumentRequest.repeatedFields_ = [5];
|
|
11927
12180
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11928
12181
|
proto.knowledge_api.CreateKnowledgeDocumentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -11935,7 +12188,7 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
11935
12188
|
datasource: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11936
12189
|
contentsList: jspb.Message.toObjectList(
|
|
11937
12190
|
msg.getContentsList(),
|
|
11938
|
-
|
|
12191
|
+
proto.knowledge_api.DocumentContent.toObject,
|
|
11939
12192
|
includeInstance
|
|
11940
12193
|
),
|
|
11941
12194
|
preprocess: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -11986,8 +12239,8 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
11986
12239
|
msg.setDatasource(value);
|
|
11987
12240
|
break;
|
|
11988
12241
|
case 5:
|
|
11989
|
-
var value = new
|
|
11990
|
-
reader.readMessage(value,
|
|
12242
|
+
var value = new proto.knowledge_api.DocumentContent();
|
|
12243
|
+
reader.readMessage(value, proto.knowledge_api.DocumentContent.deserializeBinaryFromReader);
|
|
11991
12244
|
msg.addContents(value);
|
|
11992
12245
|
break;
|
|
11993
12246
|
case 6:
|
|
@@ -12079,7 +12332,7 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
12079
12332
|
writer.writeRepeatedMessage(
|
|
12080
12333
|
5,
|
|
12081
12334
|
f,
|
|
12082
|
-
|
|
12335
|
+
proto.knowledge_api.DocumentContent.serializeBinaryToWriter
|
|
12083
12336
|
);
|
|
12084
12337
|
}
|
|
12085
12338
|
f = message.getPreprocess();
|
|
@@ -12169,15 +12422,15 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
12169
12422
|
};
|
|
12170
12423
|
proto.knowledge_api.CreateKnowledgeDocumentRequest.prototype.getContentsList = function() {
|
|
12171
12424
|
return (
|
|
12172
|
-
/** @type{!Array<!proto.
|
|
12173
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
12425
|
+
/** @type{!Array<!proto.knowledge_api.DocumentContent>} */
|
|
12426
|
+
jspb.Message.getRepeatedWrapperField(this, proto.knowledge_api.DocumentContent, 5)
|
|
12174
12427
|
);
|
|
12175
12428
|
};
|
|
12176
12429
|
proto.knowledge_api.CreateKnowledgeDocumentRequest.prototype.setContentsList = function(value) {
|
|
12177
12430
|
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
12178
12431
|
};
|
|
12179
12432
|
proto.knowledge_api.CreateKnowledgeDocumentRequest.prototype.addContents = function(opt_value, opt_index) {
|
|
12180
|
-
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.
|
|
12433
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.knowledge_api.DocumentContent, opt_index);
|
|
12181
12434
|
};
|
|
12182
12435
|
proto.knowledge_api.CreateKnowledgeDocumentRequest.prototype.clearContentsList = function() {
|
|
12183
12436
|
return this.setContentsList([]);
|
|
@@ -26237,11 +26490,7 @@ var require_invoker_api_pb = __commonJS({
|
|
|
26237
26490
|
var f, obj = {
|
|
26238
26491
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26239
26492
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
26240
|
-
dataList: jspb.Message.
|
|
26241
|
-
msg.getDataList(),
|
|
26242
|
-
common_pb.Content.toObject,
|
|
26243
|
-
includeInstance
|
|
26244
|
-
),
|
|
26493
|
+
dataList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? void 0 : f,
|
|
26245
26494
|
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
26246
26495
|
requestid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
26247
26496
|
timetaken: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -26285,8 +26534,10 @@ var require_invoker_api_pb = __commonJS({
|
|
|
26285
26534
|
msg.setSuccess(value);
|
|
26286
26535
|
break;
|
|
26287
26536
|
case 3:
|
|
26288
|
-
var value =
|
|
26289
|
-
|
|
26537
|
+
var value = (
|
|
26538
|
+
/** @type {string} */
|
|
26539
|
+
reader.readString()
|
|
26540
|
+
);
|
|
26290
26541
|
msg.addData(value);
|
|
26291
26542
|
break;
|
|
26292
26543
|
case 4:
|
|
@@ -26348,10 +26599,9 @@ var require_invoker_api_pb = __commonJS({
|
|
|
26348
26599
|
}
|
|
26349
26600
|
f = message.getDataList();
|
|
26350
26601
|
if (f.length > 0) {
|
|
26351
|
-
writer.
|
|
26602
|
+
writer.writeRepeatedString(
|
|
26352
26603
|
3,
|
|
26353
|
-
f
|
|
26354
|
-
common_pb.Content.serializeBinaryToWriter
|
|
26604
|
+
f
|
|
26355
26605
|
);
|
|
26356
26606
|
}
|
|
26357
26607
|
f = message.getError();
|
|
@@ -26413,15 +26663,15 @@ var require_invoker_api_pb = __commonJS({
|
|
|
26413
26663
|
};
|
|
26414
26664
|
proto.endpoint_api.InvokeResponse.prototype.getDataList = function() {
|
|
26415
26665
|
return (
|
|
26416
|
-
/** @type{!Array
|
|
26417
|
-
jspb.Message.
|
|
26666
|
+
/** @type {!Array<string>} */
|
|
26667
|
+
jspb.Message.getRepeatedField(this, 3)
|
|
26418
26668
|
);
|
|
26419
26669
|
};
|
|
26420
26670
|
proto.endpoint_api.InvokeResponse.prototype.setDataList = function(value) {
|
|
26421
|
-
return jspb.Message.
|
|
26671
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
26422
26672
|
};
|
|
26423
|
-
proto.endpoint_api.InvokeResponse.prototype.addData = function(
|
|
26424
|
-
return jspb.Message.
|
|
26673
|
+
proto.endpoint_api.InvokeResponse.prototype.addData = function(value, opt_index) {
|
|
26674
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
26425
26675
|
};
|
|
26426
26676
|
proto.endpoint_api.InvokeResponse.prototype.clearDataList = function() {
|
|
26427
26677
|
return this.setDataList([]);
|
|
@@ -28914,7 +29164,7 @@ var require_integration_api_pb = __commonJS({
|
|
|
28914
29164
|
proto.integration_api.Reranking.toObject = function(includeInstance, msg) {
|
|
28915
29165
|
var f, obj = {
|
|
28916
29166
|
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
28917
|
-
content:
|
|
29167
|
+
content: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
28918
29168
|
relevancescore: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0)
|
|
28919
29169
|
};
|
|
28920
29170
|
if (includeInstance) {
|
|
@@ -28943,8 +29193,10 @@ var require_integration_api_pb = __commonJS({
|
|
|
28943
29193
|
msg.setIndex(value);
|
|
28944
29194
|
break;
|
|
28945
29195
|
case 2:
|
|
28946
|
-
var value =
|
|
28947
|
-
|
|
29196
|
+
var value = (
|
|
29197
|
+
/** @type {string} */
|
|
29198
|
+
reader.readString()
|
|
29199
|
+
);
|
|
28948
29200
|
msg.setContent(value);
|
|
28949
29201
|
break;
|
|
28950
29202
|
case 3:
|
|
@@ -28976,11 +29228,10 @@ var require_integration_api_pb = __commonJS({
|
|
|
28976
29228
|
);
|
|
28977
29229
|
}
|
|
28978
29230
|
f = message.getContent();
|
|
28979
|
-
if (f
|
|
28980
|
-
writer.
|
|
29231
|
+
if (f.length > 0) {
|
|
29232
|
+
writer.writeString(
|
|
28981
29233
|
2,
|
|
28982
|
-
f
|
|
28983
|
-
common_pb.Content.serializeBinaryToWriter
|
|
29234
|
+
f
|
|
28984
29235
|
);
|
|
28985
29236
|
}
|
|
28986
29237
|
f = message.getRelevancescore();
|
|
@@ -29002,18 +29253,12 @@ var require_integration_api_pb = __commonJS({
|
|
|
29002
29253
|
};
|
|
29003
29254
|
proto.integration_api.Reranking.prototype.getContent = function() {
|
|
29004
29255
|
return (
|
|
29005
|
-
/** @type{
|
|
29006
|
-
jspb.Message.
|
|
29256
|
+
/** @type {string} */
|
|
29257
|
+
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
29007
29258
|
);
|
|
29008
29259
|
};
|
|
29009
29260
|
proto.integration_api.Reranking.prototype.setContent = function(value) {
|
|
29010
|
-
return jspb.Message.
|
|
29011
|
-
};
|
|
29012
|
-
proto.integration_api.Reranking.prototype.clearContent = function() {
|
|
29013
|
-
return this.setContent(void 0);
|
|
29014
|
-
};
|
|
29015
|
-
proto.integration_api.Reranking.prototype.hasContent = function() {
|
|
29016
|
-
return jspb.Message.getField(this, 2) != null;
|
|
29261
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
29017
29262
|
};
|
|
29018
29263
|
proto.integration_api.Reranking.prototype.getRelevancescore = function() {
|
|
29019
29264
|
return (
|
|
@@ -29032,7 +29277,7 @@ var require_integration_api_pb = __commonJS({
|
|
|
29032
29277
|
var f, obj = {
|
|
29033
29278
|
credential: (f = msg.getCredential()) && proto.integration_api.Credential.toObject(includeInstance, f),
|
|
29034
29279
|
query: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
29035
|
-
contentMap: (f = msg.getContentMap()) ? f.toObject(includeInstance,
|
|
29280
|
+
contentMap: (f = msg.getContentMap()) ? f.toObject(includeInstance, void 0) : [],
|
|
29036
29281
|
modelparametersMap: (f = msg.getModelparametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
|
|
29037
29282
|
additionaldataMap: (f = msg.getAdditionaldataMap()) ? f.toObject(includeInstance, void 0) : []
|
|
29038
29283
|
};
|
|
@@ -29069,7 +29314,7 @@ var require_integration_api_pb = __commonJS({
|
|
|
29069
29314
|
case 5:
|
|
29070
29315
|
var value = msg.getContentMap();
|
|
29071
29316
|
reader.readMessage(value, function(message, reader2) {
|
|
29072
|
-
jspb.Map.deserializeBinary(message, reader2, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.
|
|
29317
|
+
jspb.Map.deserializeBinary(message, reader2, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readString, null, 0, "");
|
|
29073
29318
|
});
|
|
29074
29319
|
break;
|
|
29075
29320
|
case 6:
|
|
@@ -29115,7 +29360,7 @@ var require_integration_api_pb = __commonJS({
|
|
|
29115
29360
|
}
|
|
29116
29361
|
f = message.getContentMap(true);
|
|
29117
29362
|
if (f && f.getLength() > 0) {
|
|
29118
|
-
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.
|
|
29363
|
+
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeString);
|
|
29119
29364
|
}
|
|
29120
29365
|
f = message.getModelparametersMap(true);
|
|
29121
29366
|
if (f && f.getLength() > 0) {
|
|
@@ -29152,12 +29397,12 @@ var require_integration_api_pb = __commonJS({
|
|
|
29152
29397
|
};
|
|
29153
29398
|
proto.integration_api.RerankingRequest.prototype.getContentMap = function(opt_noLazyCreate) {
|
|
29154
29399
|
return (
|
|
29155
|
-
/** @type {!jspb.Map<number
|
|
29400
|
+
/** @type {!jspb.Map<number,string>} */
|
|
29156
29401
|
jspb.Message.getMapField(
|
|
29157
29402
|
this,
|
|
29158
29403
|
5,
|
|
29159
29404
|
opt_noLazyCreate,
|
|
29160
|
-
|
|
29405
|
+
null
|
|
29161
29406
|
)
|
|
29162
29407
|
);
|
|
29163
29408
|
};
|
|
@@ -30152,7 +30397,7 @@ var require_integration_api_pb = __commonJS({
|
|
|
30152
30397
|
credential: (f = msg.getCredential()) && proto.integration_api.Credential.toObject(includeInstance, f),
|
|
30153
30398
|
model: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
30154
30399
|
version: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
30155
|
-
content:
|
|
30400
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
30156
30401
|
additionaldataMap: (f = msg.getAdditionaldataMap()) ? f.toObject(includeInstance, void 0) : [],
|
|
30157
30402
|
modelparametersMap: (f = msg.getModelparametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : []
|
|
30158
30403
|
};
|
|
@@ -30194,8 +30439,10 @@ var require_integration_api_pb = __commonJS({
|
|
|
30194
30439
|
msg.setVersion(value);
|
|
30195
30440
|
break;
|
|
30196
30441
|
case 4:
|
|
30197
|
-
var value =
|
|
30198
|
-
|
|
30442
|
+
var value = (
|
|
30443
|
+
/** @type {string} */
|
|
30444
|
+
reader.readString()
|
|
30445
|
+
);
|
|
30199
30446
|
msg.setContent(value);
|
|
30200
30447
|
break;
|
|
30201
30448
|
case 5:
|
|
@@ -30247,11 +30494,10 @@ var require_integration_api_pb = __commonJS({
|
|
|
30247
30494
|
);
|
|
30248
30495
|
}
|
|
30249
30496
|
f = message.getContent();
|
|
30250
|
-
if (f
|
|
30251
|
-
writer.
|
|
30497
|
+
if (f.length > 0) {
|
|
30498
|
+
writer.writeString(
|
|
30252
30499
|
4,
|
|
30253
|
-
f
|
|
30254
|
-
common_pb.Content.serializeBinaryToWriter
|
|
30500
|
+
f
|
|
30255
30501
|
);
|
|
30256
30502
|
}
|
|
30257
30503
|
f = message.getAdditionaldataMap(true);
|
|
@@ -30298,18 +30544,12 @@ var require_integration_api_pb = __commonJS({
|
|
|
30298
30544
|
};
|
|
30299
30545
|
proto.integration_api.GetModerationRequest.prototype.getContent = function() {
|
|
30300
30546
|
return (
|
|
30301
|
-
/** @type{
|
|
30302
|
-
jspb.Message.
|
|
30547
|
+
/** @type {string} */
|
|
30548
|
+
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
30303
30549
|
);
|
|
30304
30550
|
};
|
|
30305
30551
|
proto.integration_api.GetModerationRequest.prototype.setContent = function(value) {
|
|
30306
|
-
return jspb.Message.
|
|
30307
|
-
};
|
|
30308
|
-
proto.integration_api.GetModerationRequest.prototype.clearContent = function() {
|
|
30309
|
-
return this.setContent(void 0);
|
|
30310
|
-
};
|
|
30311
|
-
proto.integration_api.GetModerationRequest.prototype.hasContent = function() {
|
|
30312
|
-
return jspb.Message.getField(this, 4) != null;
|
|
30552
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
30313
30553
|
};
|
|
30314
30554
|
proto.integration_api.GetModerationRequest.prototype.getAdditionaldataMap = function(opt_noLazyCreate) {
|
|
30315
30555
|
return (
|
|
@@ -32466,36 +32706,6 @@ var require_integration_api_pb_service = __commonJS({
|
|
|
32466
32706
|
}
|
|
32467
32707
|
});
|
|
32468
32708
|
|
|
32469
|
-
// src/utils/rapida_content.ts
|
|
32470
|
-
var import_common_pb = __toESM(require_common_pb());
|
|
32471
|
-
var TEXT_CONTENT_FORMAT_RAW = "raw";
|
|
32472
|
-
var AUDIO_CONTENT_FORMAT_CHUNK = "chunk";
|
|
32473
|
-
var toTextContent = (str, format) => {
|
|
32474
|
-
const cnt = new import_common_pb.Content();
|
|
32475
|
-
if (format) cnt.setContentformat(format);
|
|
32476
|
-
else cnt.setContentformat(TEXT_CONTENT_FORMAT_RAW);
|
|
32477
|
-
cnt.setContenttype("text" /* TEXT_CONTENT */);
|
|
32478
|
-
cnt.setContent(new TextEncoder().encode(str));
|
|
32479
|
-
return cnt;
|
|
32480
|
-
};
|
|
32481
|
-
var toStreamAudioContent = (raw) => {
|
|
32482
|
-
const cnt = new import_common_pb.Content();
|
|
32483
|
-
cnt.setContentformat(AUDIO_CONTENT_FORMAT_CHUNK);
|
|
32484
|
-
cnt.setContenttype("audio" /* AUDIO_CONTENT */);
|
|
32485
|
-
cnt.setContent(raw);
|
|
32486
|
-
return cnt;
|
|
32487
|
-
};
|
|
32488
|
-
var toContentText = (cnt) => {
|
|
32489
|
-
if (!cnt) return "";
|
|
32490
|
-
return cnt.filter((x) => x.getContenttype() === "text").map((x) => {
|
|
32491
|
-
try {
|
|
32492
|
-
return new TextDecoder().decode(x.getContent());
|
|
32493
|
-
} catch (error) {
|
|
32494
|
-
return "";
|
|
32495
|
-
}
|
|
32496
|
-
}).join(" ");
|
|
32497
|
-
};
|
|
32498
|
-
|
|
32499
32709
|
// src/hooks/use-message-feedback.ts
|
|
32500
32710
|
import * as React from "react";
|
|
32501
32711
|
function useMessageFeedback(agent) {
|
|
@@ -32640,7 +32850,8 @@ var MediaDeviceFailure = /* @__PURE__ */ ((MediaDeviceFailure2) => {
|
|
|
32640
32850
|
})(MediaDeviceFailure || {});
|
|
32641
32851
|
|
|
32642
32852
|
// src/types/agent-config.ts
|
|
32643
|
-
var
|
|
32853
|
+
var import_common_pb = __toESM(require_common_pb());
|
|
32854
|
+
var import_talk_api_pb = __toESM(require_talk_api_pb());
|
|
32644
32855
|
|
|
32645
32856
|
// src/utils/rapida_value.ts
|
|
32646
32857
|
import { Any } from "google-protobuf/google/protobuf/any_pb";
|
|
@@ -32761,11 +32972,11 @@ var InputOptions = class {
|
|
|
32761
32972
|
* define audio codacs and sample rate. these will be directly translated to stt
|
|
32762
32973
|
*/
|
|
32763
32974
|
get defaultInputStreamOption() {
|
|
32764
|
-
const inputStreamConfig = new
|
|
32975
|
+
const inputStreamConfig = new import_talk_api_pb.StreamConfig();
|
|
32765
32976
|
if (this.channel == "audio" /* Audio */) {
|
|
32766
|
-
const inputAudioConfig = new
|
|
32977
|
+
const inputAudioConfig = new import_talk_api_pb.AudioConfig();
|
|
32767
32978
|
inputAudioConfig.setChannels(1);
|
|
32768
|
-
inputAudioConfig.setAudioformat(
|
|
32979
|
+
inputAudioConfig.setAudioformat(import_talk_api_pb.AudioConfig.AudioFormat.LINEAR16);
|
|
32769
32980
|
inputAudioConfig.setSamplerate(this.recorderOptions.sampleRate);
|
|
32770
32981
|
inputStreamConfig.setAudio(inputAudioConfig);
|
|
32771
32982
|
}
|
|
@@ -32818,11 +33029,11 @@ var OutputOptions = class {
|
|
|
32818
33029
|
* define audio codacs and sample rate. these will be directly translated to tts
|
|
32819
33030
|
*/
|
|
32820
33031
|
get defaultOutputStreamOption() {
|
|
32821
|
-
const inputStreamConfig = new
|
|
33032
|
+
const inputStreamConfig = new import_talk_api_pb.StreamConfig();
|
|
32822
33033
|
if (this.channel == "audio" /* Audio */) {
|
|
32823
|
-
const inputAudioConfig = new
|
|
33034
|
+
const inputAudioConfig = new import_talk_api_pb.AudioConfig();
|
|
32824
33035
|
inputAudioConfig.setChannels(1);
|
|
32825
|
-
inputAudioConfig.setAudioformat(
|
|
33036
|
+
inputAudioConfig.setAudioformat(import_talk_api_pb.AudioConfig.AudioFormat.LINEAR16);
|
|
32826
33037
|
inputAudioConfig.setSamplerate(this.playerOption.sampleRate);
|
|
32827
33038
|
inputStreamConfig.setAudio(inputAudioConfig);
|
|
32828
33039
|
}
|
|
@@ -32883,7 +33094,7 @@ var AgentConfig = class {
|
|
|
32883
33094
|
* @returns {AssistantDefinition} A configured `AssistantDefinition` instance with the agent's details.
|
|
32884
33095
|
*/
|
|
32885
33096
|
get definition() {
|
|
32886
|
-
const def = new
|
|
33097
|
+
const def = new import_common_pb.AssistantDefinition();
|
|
32887
33098
|
def.setAssistantid(this.id);
|
|
32888
33099
|
if (this.version) {
|
|
32889
33100
|
def.setVersion(this.version);
|
|
@@ -33443,7 +33654,7 @@ function Invoke(clientCfg, request, authHeader) {
|
|
|
33443
33654
|
|
|
33444
33655
|
// src/clients/auth.ts
|
|
33445
33656
|
var import_web_api_pb = __toESM(require_web_api_pb());
|
|
33446
|
-
var
|
|
33657
|
+
var import_common_pb2 = __toESM(require_common_pb());
|
|
33447
33658
|
function AuthenticateUser(config, email, password, cb) {
|
|
33448
33659
|
const requestObject = new import_web_api_pb.AuthenticateRequest();
|
|
33449
33660
|
requestObject.setEmail(email);
|
|
@@ -33499,9 +33710,9 @@ function UpdateUser(config, cb, authHeader, name) {
|
|
|
33499
33710
|
}
|
|
33500
33711
|
function GetAllUser(config, page, pageSize, criteria, cb, authHeader) {
|
|
33501
33712
|
const req = new import_web_api_pb.GetAllUserRequest();
|
|
33502
|
-
const paginate = new
|
|
33713
|
+
const paginate = new import_common_pb2.Paginate();
|
|
33503
33714
|
criteria.forEach(({ key, value }) => {
|
|
33504
|
-
const ctr = new
|
|
33715
|
+
const ctr = new import_common_pb2.Criteria();
|
|
33505
33716
|
ctr.setKey(key);
|
|
33506
33717
|
ctr.setValue(value);
|
|
33507
33718
|
req.addCriterias(ctr);
|
|
@@ -33612,14 +33823,14 @@ function GetOrganization(connectionConfig, authHeader, cb) {
|
|
|
33612
33823
|
}
|
|
33613
33824
|
|
|
33614
33825
|
// src/clients/activity.ts
|
|
33615
|
-
var
|
|
33826
|
+
var import_common_pb3 = __toESM(require_common_pb());
|
|
33616
33827
|
var import_audit_logging_api_pb = __toESM(require_audit_logging_api_pb());
|
|
33617
33828
|
function GetActivities(connectionConfig, projectId, page, pageSize, criteria, cb, authHeader) {
|
|
33618
33829
|
const req = new import_audit_logging_api_pb.GetAllAuditLogRequest();
|
|
33619
33830
|
req.setProjectid(projectId);
|
|
33620
|
-
const paginate = new
|
|
33831
|
+
const paginate = new import_common_pb3.Paginate();
|
|
33621
33832
|
criteria.forEach(({ key, value, logic }) => {
|
|
33622
|
-
const ctr = new
|
|
33833
|
+
const ctr = new import_common_pb3.Criteria();
|
|
33623
33834
|
ctr.setKey(key);
|
|
33624
33835
|
ctr.setValue(value);
|
|
33625
33836
|
ctr.setLogic(logic);
|
|
@@ -33646,13 +33857,13 @@ function GetActivity(connectionConfig, projectId, auditId, cb, authHeader) {
|
|
|
33646
33857
|
}
|
|
33647
33858
|
|
|
33648
33859
|
// src/clients/endpoint.ts
|
|
33649
|
-
var
|
|
33860
|
+
var import_common_pb4 = __toESM(require_common_pb());
|
|
33650
33861
|
var import_endpoint_api_pb = __toESM(require_endpoint_api_pb());
|
|
33651
33862
|
function GetAllEndpoint(config, page, pageSize, criteria, cb, authHeader) {
|
|
33652
33863
|
const req = new import_endpoint_api_pb.GetAllEndpointRequest();
|
|
33653
|
-
const paginate = new
|
|
33864
|
+
const paginate = new import_common_pb4.Paginate();
|
|
33654
33865
|
criteria.forEach(({ key, value, logic }) => {
|
|
33655
|
-
const ctr = new
|
|
33866
|
+
const ctr = new import_common_pb4.Criteria();
|
|
33656
33867
|
ctr.setKey(key);
|
|
33657
33868
|
ctr.setValue(value);
|
|
33658
33869
|
ctr.setLogic(logic);
|
|
@@ -33680,9 +33891,9 @@ function UpdateEndpointVersion(config, endpointId, endpointProviderModelId, auth
|
|
|
33680
33891
|
function GetAllEndpointProviderModel(config, endpointId, page, pageSize, criteria, cb, authHeader) {
|
|
33681
33892
|
const req = new import_endpoint_api_pb.GetAllEndpointProviderModelRequest();
|
|
33682
33893
|
req.setEndpointid(endpointId);
|
|
33683
|
-
const paginate = new
|
|
33894
|
+
const paginate = new import_common_pb4.Paginate();
|
|
33684
33895
|
criteria.forEach(({ key, value }) => {
|
|
33685
|
-
const ctr = new
|
|
33896
|
+
const ctr = new import_common_pb4.Criteria();
|
|
33686
33897
|
ctr.setKey(key);
|
|
33687
33898
|
ctr.setValue(value);
|
|
33688
33899
|
req.addCriterias(ctr);
|
|
@@ -33785,9 +33996,9 @@ function CreateEndpointCacheConfiguration(config, endpointId, cacheType, expiryI
|
|
|
33785
33996
|
function GetAllEndpointLog(config, endpointId, page, pageSize, criteria, cb, authHeader) {
|
|
33786
33997
|
const req = new import_endpoint_api_pb.GetAllEndpointLogRequest();
|
|
33787
33998
|
req.setEndpointid(endpointId);
|
|
33788
|
-
const paginate = new
|
|
33999
|
+
const paginate = new import_common_pb4.Paginate();
|
|
33789
34000
|
criteria.forEach(({ key, value, logic }) => {
|
|
33790
|
-
const ctr = new
|
|
34001
|
+
const ctr = new import_common_pb4.Criteria();
|
|
33791
34002
|
ctr.setKey(key);
|
|
33792
34003
|
ctr.setValue(value);
|
|
33793
34004
|
ctr.setLogic(logic);
|
|
@@ -33815,7 +34026,7 @@ function GetEndpointLog(config, endpointId, logId, cb, authHeader) {
|
|
|
33815
34026
|
|
|
33816
34027
|
// src/clients/vault.ts
|
|
33817
34028
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
33818
|
-
var
|
|
34029
|
+
var import_common_pb5 = __toESM(require_common_pb());
|
|
33819
34030
|
function CreateProviderKey(connectionConfig, req, authHeader) {
|
|
33820
34031
|
return new Promise((resolve, reject) => {
|
|
33821
34032
|
connectionConfig.vaultClient.createProviderCredential(
|
|
@@ -33839,9 +34050,9 @@ function DeleteProviderKey(connectionConfig, providerKeyId, cb, authHeader) {
|
|
|
33839
34050
|
}
|
|
33840
34051
|
function GetAllOrganizationCredential(connectionConfig, page, pageSize, criteria, cb, authHeader) {
|
|
33841
34052
|
const req = new import_vault_api_pb.GetAllOrganizationCredentialRequest();
|
|
33842
|
-
const paginate = new
|
|
34053
|
+
const paginate = new import_common_pb5.Paginate();
|
|
33843
34054
|
criteria.forEach((x) => {
|
|
33844
|
-
let ctr = new
|
|
34055
|
+
let ctr = new import_common_pb5.Criteria();
|
|
33845
34056
|
ctr.setKey(x.key);
|
|
33846
34057
|
ctr.setValue(x.value);
|
|
33847
34058
|
ctr.setLogic(x.logic);
|
|
@@ -33858,7 +34069,7 @@ function GetAllOrganizationCredential(connectionConfig, page, pageSize, criteria
|
|
|
33858
34069
|
}
|
|
33859
34070
|
|
|
33860
34071
|
// src/clients/knowledge.ts
|
|
33861
|
-
var
|
|
34072
|
+
var import_common_pb6 = __toESM(require_common_pb());
|
|
33862
34073
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
33863
34074
|
var import_knowledge_api_pb2 = __toESM(require_knowledge_api_pb());
|
|
33864
34075
|
function CreateKnowledge(connectionConfig, req, authHeader) {
|
|
@@ -33884,9 +34095,9 @@ function GetKnowledgeBase(config, knowledgeBaseId, cb, authHeader) {
|
|
|
33884
34095
|
}
|
|
33885
34096
|
function GetAllKnowledgeBases(config, page, pageSize, criteria, cb, authHeader) {
|
|
33886
34097
|
const req = new import_knowledge_api_pb.GetAllKnowledgeRequest();
|
|
33887
|
-
const paginate = new
|
|
34098
|
+
const paginate = new import_common_pb6.Paginate();
|
|
33888
34099
|
criteria.forEach(({ key, value, logic }) => {
|
|
33889
|
-
const ctr = new
|
|
34100
|
+
const ctr = new import_common_pb6.Criteria();
|
|
33890
34101
|
ctr.setKey(key);
|
|
33891
34102
|
ctr.setValue(value);
|
|
33892
34103
|
ctr.setLogic(logic);
|
|
@@ -33901,7 +34112,7 @@ function GetAllKnowledgeBases(config, page, pageSize, criteria, cb, authHeader)
|
|
|
33901
34112
|
cb
|
|
33902
34113
|
);
|
|
33903
34114
|
}
|
|
33904
|
-
function CreateKnowledgeDocument(config, knowledgeId, documentSource, datasource, documentType, preProcessor,
|
|
34115
|
+
function CreateKnowledgeDocument(config, knowledgeId, documentSource, datasource, documentType, preProcessor, DocumentContents, separator, maxchunksize, chunkoverlap, cb, authHeader) {
|
|
33905
34116
|
const req = new import_knowledge_api_pb.CreateKnowledgeDocumentRequest();
|
|
33906
34117
|
if (documentSource == "tool" /* TOOL */) {
|
|
33907
34118
|
req.setDocumentsource(1);
|
|
@@ -33913,7 +34124,7 @@ function CreateKnowledgeDocument(config, knowledgeId, documentSource, datasource
|
|
|
33913
34124
|
req.setKnowledgeid(knowledgeId);
|
|
33914
34125
|
req.setDatasource(datasource);
|
|
33915
34126
|
req.setPreprocess(import_knowledge_api_pb.CreateKnowledgeDocumentRequest.PRE_PROCESS[preProcessor]);
|
|
33916
|
-
req.setContentsList(
|
|
34127
|
+
req.setContentsList(DocumentContents);
|
|
33917
34128
|
if (preProcessor === "custom" /* CUSTOM */) {
|
|
33918
34129
|
req.setSeparator(separator);
|
|
33919
34130
|
req.setMaxchunksize(maxchunksize);
|
|
@@ -33928,9 +34139,9 @@ function CreateKnowledgeDocument(config, knowledgeId, documentSource, datasource
|
|
|
33928
34139
|
function GetAllKnowledgeDocument(config, knowledgeId, page, pageSize, criteria, cb, authHeader) {
|
|
33929
34140
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentRequest();
|
|
33930
34141
|
req.setKnowledgeid(knowledgeId);
|
|
33931
|
-
const paginate = new
|
|
34142
|
+
const paginate = new import_common_pb6.Paginate();
|
|
33932
34143
|
criteria.forEach(({ key, value }) => {
|
|
33933
|
-
const ctr = new
|
|
34144
|
+
const ctr = new import_common_pb6.Criteria();
|
|
33934
34145
|
ctr.setKey(key);
|
|
33935
34146
|
ctr.setValue(value);
|
|
33936
34147
|
req.addCriterias(ctr);
|
|
@@ -33947,9 +34158,9 @@ function GetAllKnowledgeDocument(config, knowledgeId, page, pageSize, criteria,
|
|
|
33947
34158
|
function GetAllKnowledgeDocumentSegment(config, knowledgeId, page, pageSize, criteria, cb, authHeader) {
|
|
33948
34159
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentSegmentRequest();
|
|
33949
34160
|
req.setKnowledgeid(knowledgeId);
|
|
33950
|
-
const paginate = new
|
|
34161
|
+
const paginate = new import_common_pb6.Paginate();
|
|
33951
34162
|
criteria.forEach(({ key, value }) => {
|
|
33952
|
-
const ctr = new
|
|
34163
|
+
const ctr = new import_common_pb6.Criteria();
|
|
33953
34164
|
ctr.setKey(key);
|
|
33954
34165
|
ctr.setValue(value);
|
|
33955
34166
|
req.addCriterias(ctr);
|
|
@@ -34042,7 +34253,7 @@ function GetAllKnowledgeLog(clientCfg, request, auth) {
|
|
|
34042
34253
|
|
|
34043
34254
|
// src/clients/project.ts
|
|
34044
34255
|
var import_web_api_pb3 = __toESM(require_web_api_pb());
|
|
34045
|
-
var
|
|
34256
|
+
var import_common_pb7 = __toESM(require_common_pb());
|
|
34046
34257
|
function AddUsersToProject(connectionConfig, email, role, projectIds, cb, authHeader) {
|
|
34047
34258
|
const requestObject = new import_web_api_pb3.AddUsersToProjectRequest();
|
|
34048
34259
|
requestObject.setEmail(email);
|
|
@@ -34078,9 +34289,9 @@ function UpdateProject(connectionConfig, projectId, cb, authHeader, projectName,
|
|
|
34078
34289
|
}
|
|
34079
34290
|
function GetAllProject(connectionConfig, page, pageSize, criteria, cb, authHeader) {
|
|
34080
34291
|
const req = new import_web_api_pb3.GetAllProjectRequest();
|
|
34081
|
-
const paginate = new
|
|
34292
|
+
const paginate = new import_common_pb7.Paginate();
|
|
34082
34293
|
criteria.forEach(({ key, value }) => {
|
|
34083
|
-
const ctr = new
|
|
34294
|
+
const ctr = new import_common_pb7.Criteria();
|
|
34084
34295
|
ctr.setKey(key);
|
|
34085
34296
|
ctr.setValue(value);
|
|
34086
34297
|
req.addCriterias(ctr);
|
|
@@ -34143,11 +34354,11 @@ var import_integration_api_pb_service = __toESM(require_integration_api_pb_servi
|
|
|
34143
34354
|
var import_audit_logging_api_pb2 = __toESM(require_audit_logging_api_pb());
|
|
34144
34355
|
var import_knowledge_api_pb_service2 = __toESM(require_knowledge_api_pb_service());
|
|
34145
34356
|
var import_vault_api_pb2 = __toESM(require_vault_api_pb());
|
|
34146
|
-
var
|
|
34357
|
+
var import_talk_api_pb2 = __toESM(require_talk_api_pb());
|
|
34147
34358
|
var import_assistant_analysis_pb = __toESM(require_assistant_analysis_pb());
|
|
34148
34359
|
var import_invoker_api_pb = __toESM(require_invoker_api_pb());
|
|
34149
34360
|
var import_web_api_pb4 = __toESM(require_web_api_pb());
|
|
34150
|
-
var
|
|
34361
|
+
var import_common_pb8 = __toESM(require_common_pb());
|
|
34151
34362
|
var import_assistant_api_pb_service2 = __toESM(require_assistant_api_pb_service());
|
|
34152
34363
|
var import_talk_api_pb_service2 = __toESM(require_talk_api_pb_service());
|
|
34153
34364
|
var import_assistant_webhook_pb = __toESM(require_assistant_webhook_pb());
|
|
@@ -34190,7 +34401,7 @@ function CreateBulkPhoneCall(clientCfg, request, authHeader) {
|
|
|
34190
34401
|
}
|
|
34191
34402
|
|
|
34192
34403
|
// src/index.ts
|
|
34193
|
-
var
|
|
34404
|
+
var import_talk_api_pb3 = __toESM(require_talk_api_pb());
|
|
34194
34405
|
var import_assistant_api_pb2 = __toESM(require_assistant_api_pb());
|
|
34195
34406
|
var import_notification_api_pb = __toESM(require_notification_api_pb());
|
|
34196
34407
|
|
|
@@ -34236,6 +34447,9 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
34236
34447
|
);
|
|
34237
34448
|
});
|
|
34238
34449
|
}
|
|
34450
|
+
|
|
34451
|
+
// src/index.ts
|
|
34452
|
+
var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
34239
34453
|
var export_AddUsersToProjectRequest = import_web_api_pb4.AddUsersToProjectRequest;
|
|
34240
34454
|
var export_AddUsersToProjectResponse = import_web_api_pb4.AddUsersToProjectResponse;
|
|
34241
34455
|
var export_AggregatedEndpointAnalytics = import_endpoint_api_pb2.AggregatedEndpointAnalytics;
|
|
@@ -34243,32 +34457,28 @@ var export_AnthropicService = import_integration_api_pb_service.AnthropicService
|
|
|
34243
34457
|
var export_AnthropicServiceClient = import_integration_api_pb_service.AnthropicServiceClient;
|
|
34244
34458
|
var export_ArchiveProjectRequest = import_web_api_pb4.ArchiveProjectRequest;
|
|
34245
34459
|
var export_ArchiveProjectResponse = import_web_api_pb4.ArchiveProjectResponse;
|
|
34246
|
-
var export_Argument =
|
|
34460
|
+
var export_Argument = import_common_pb8.Argument;
|
|
34247
34461
|
var export_Assistant = import_assistant_api_pb.Assistant;
|
|
34248
34462
|
var export_AssistantAnalysis = import_assistant_analysis_pb.AssistantAnalysis;
|
|
34249
34463
|
var export_AssistantApiDeployment = import_assistant_deployment_pb.AssistantApiDeployment;
|
|
34250
|
-
var export_AssistantConversation =
|
|
34251
|
-
var
|
|
34252
|
-
var
|
|
34253
|
-
var
|
|
34254
|
-
var
|
|
34255
|
-
var export_AssistantConversationMessage = import_common_pb9.AssistantConversationMessage;
|
|
34256
|
-
var export_AssistantConversationRecording = import_common_pb9.AssistantConversationRecording;
|
|
34257
|
-
var export_AssistantConversationTelephonyEvent = import_common_pb9.AssistantConversationTelephonyEvent;
|
|
34258
|
-
var export_AssistantConversationUserMessage = import_common_pb9.AssistantConversationUserMessage;
|
|
34464
|
+
var export_AssistantConversation = import_common_pb8.AssistantConversation;
|
|
34465
|
+
var export_AssistantConversationContext = import_common_pb8.AssistantConversationContext;
|
|
34466
|
+
var export_AssistantConversationMessage = import_common_pb8.AssistantConversationMessage;
|
|
34467
|
+
var export_AssistantConversationRecording = import_common_pb8.AssistantConversationRecording;
|
|
34468
|
+
var export_AssistantConversationTelephonyEvent = import_common_pb8.AssistantConversationTelephonyEvent;
|
|
34259
34469
|
var export_AssistantDebuggerDeployment = import_assistant_deployment_pb.AssistantDebuggerDeployment;
|
|
34260
|
-
var export_AssistantDefinition =
|
|
34470
|
+
var export_AssistantDefinition = import_common_pb8.AssistantDefinition;
|
|
34261
34471
|
var export_AssistantDeploymentService = import_assistant_deployment_pb_service2.AssistantDeploymentService;
|
|
34262
34472
|
var export_AssistantDeploymentServiceClient = import_assistant_deployment_pb_service2.AssistantDeploymentServiceClient;
|
|
34263
34473
|
var export_AssistantKnowledge = import_assistant_knowledge_pb.AssistantKnowledge;
|
|
34264
|
-
var export_AssistantMessagingRequest = import_talk_api_pb.AssistantMessagingRequest;
|
|
34265
|
-
var export_AssistantMessagingResponse = import_talk_api_pb.AssistantMessagingResponse;
|
|
34266
34474
|
var export_AssistantPhoneDeployment = import_assistant_deployment_pb.AssistantPhoneDeployment;
|
|
34267
34475
|
var export_AssistantProviderAgentkit = import_assistant_provider_pb.AssistantProviderAgentkit;
|
|
34268
34476
|
var export_AssistantProviderModel = import_assistant_provider_pb.AssistantProviderModel;
|
|
34269
34477
|
var export_AssistantProviderWebsocket = import_assistant_provider_pb.AssistantProviderWebsocket;
|
|
34270
34478
|
var export_AssistantService = import_assistant_api_pb_service2.AssistantService;
|
|
34271
34479
|
var export_AssistantServiceClient = import_assistant_api_pb_service2.AssistantServiceClient;
|
|
34480
|
+
var export_AssistantTalkInput = import_talk_api_pb2.AssistantTalkInput;
|
|
34481
|
+
var export_AssistantTalkOutput = import_talk_api_pb2.AssistantTalkOutput;
|
|
34272
34482
|
var export_AssistantTool = import_assistant_tool_pb.AssistantTool;
|
|
34273
34483
|
var export_AssistantToolLog = import_assistant_tool_pb.AssistantToolLog;
|
|
34274
34484
|
var export_AssistantWebhook = import_assistant_webhook_pb.AssistantWebhook;
|
|
@@ -34286,7 +34496,7 @@ var export_AuthenticationServiceClient = import_web_api_pb_service4.Authenticati
|
|
|
34286
34496
|
var export_AuthorizeRequest = import_web_api_pb4.AuthorizeRequest;
|
|
34287
34497
|
var export_AzureService = import_integration_api_pb_service.AzureService;
|
|
34288
34498
|
var export_AzureServiceClient = import_integration_api_pb_service.AzureServiceClient;
|
|
34289
|
-
var export_BaseResponse =
|
|
34499
|
+
var export_BaseResponse = import_common_pb8.BaseResponse;
|
|
34290
34500
|
var export_BedrockService = import_integration_api_pb_service.BedrockService;
|
|
34291
34501
|
var export_BedrockServiceClient = import_integration_api_pb_service.BedrockServiceClient;
|
|
34292
34502
|
var export_ChangePasswordRequest = import_web_api_pb4.ChangePasswordRequest;
|
|
@@ -34297,7 +34507,13 @@ var export_CohereService = import_integration_api_pb_service.CohereService;
|
|
|
34297
34507
|
var export_CohereServiceClient = import_integration_api_pb_service.CohereServiceClient;
|
|
34298
34508
|
var export_ConnectService = import_connect_api_pb_service2.ConnectService;
|
|
34299
34509
|
var export_ConnectServiceClient = import_connect_api_pb_service2.ConnectServiceClient;
|
|
34300
|
-
var
|
|
34510
|
+
var export_ConversationAssistantMessage = import_talk_api_pb4.ConversationAssistantMessage;
|
|
34511
|
+
var export_ConversationConfiguration = import_talk_api_pb4.ConversationConfiguration;
|
|
34512
|
+
var export_ConversationDirective = import_talk_api_pb4.ConversationDirective;
|
|
34513
|
+
var export_ConversationInterruption = import_talk_api_pb4.ConversationInterruption;
|
|
34514
|
+
var export_ConversationToolCall = import_talk_api_pb4.ConversationToolCall;
|
|
34515
|
+
var export_ConversationToolResult = import_talk_api_pb4.ConversationToolResult;
|
|
34516
|
+
var export_ConversationUserMessage = import_talk_api_pb4.ConversationUserMessage;
|
|
34301
34517
|
var export_CreateAssistantAnalysisRequest = import_assistant_analysis_pb.CreateAssistantAnalysisRequest;
|
|
34302
34518
|
var export_CreateAssistantDeploymentRequest = import_assistant_deployment_pb.CreateAssistantDeploymentRequest;
|
|
34303
34519
|
var export_CreateAssistantKnowledgeRequest = import_assistant_knowledge_pb.CreateAssistantKnowledgeRequest;
|
|
@@ -34306,10 +34522,10 @@ var export_CreateAssistantRequest = import_assistant_api_pb.CreateAssistantReque
|
|
|
34306
34522
|
var export_CreateAssistantTagRequest = import_assistant_api_pb.CreateAssistantTagRequest;
|
|
34307
34523
|
var export_CreateAssistantToolRequest = import_assistant_tool_pb.CreateAssistantToolRequest;
|
|
34308
34524
|
var export_CreateAssistantWebhookRequest = import_assistant_webhook_pb.CreateAssistantWebhookRequest;
|
|
34309
|
-
var export_CreateBulkPhoneCallRequest =
|
|
34310
|
-
var export_CreateBulkPhoneCallResponse =
|
|
34311
|
-
var export_CreateConversationMetricRequest =
|
|
34312
|
-
var export_CreateConversationMetricResponse =
|
|
34525
|
+
var export_CreateBulkPhoneCallRequest = import_talk_api_pb3.CreateBulkPhoneCallRequest;
|
|
34526
|
+
var export_CreateBulkPhoneCallResponse = import_talk_api_pb3.CreateBulkPhoneCallResponse;
|
|
34527
|
+
var export_CreateConversationMetricRequest = import_talk_api_pb2.CreateConversationMetricRequest;
|
|
34528
|
+
var export_CreateConversationMetricResponse = import_talk_api_pb2.CreateConversationMetricResponse;
|
|
34313
34529
|
var export_CreateEndpointCacheConfigurationRequest = import_endpoint_api_pb2.CreateEndpointCacheConfigurationRequest;
|
|
34314
34530
|
var export_CreateEndpointCacheConfigurationResponse = import_endpoint_api_pb2.CreateEndpointCacheConfigurationResponse;
|
|
34315
34531
|
var export_CreateEndpointProviderModelRequest = import_endpoint_api_pb2.CreateEndpointProviderModelRequest;
|
|
@@ -34324,23 +34540,23 @@ var export_CreateKnowledgeDocumentResponse = import_knowledge_api_pb3.CreateKnow
|
|
|
34324
34540
|
var export_CreateKnowledgeRequest = import_knowledge_api_pb3.CreateKnowledgeRequest;
|
|
34325
34541
|
var export_CreateKnowledgeResponse = import_knowledge_api_pb3.CreateKnowledgeResponse;
|
|
34326
34542
|
var export_CreateKnowledgeTagRequest = import_knowledge_api_pb3.CreateKnowledgeTagRequest;
|
|
34327
|
-
var export_CreateMessageMetricRequest =
|
|
34328
|
-
var export_CreateMessageMetricResponse =
|
|
34543
|
+
var export_CreateMessageMetricRequest = import_talk_api_pb2.CreateMessageMetricRequest;
|
|
34544
|
+
var export_CreateMessageMetricResponse = import_talk_api_pb2.CreateMessageMetricResponse;
|
|
34329
34545
|
var export_CreateMetadataRequest = import_audit_logging_api_pb2.CreateMetadataRequest;
|
|
34330
34546
|
var export_CreateMetadataResponse = import_audit_logging_api_pb2.CreateMetadataResponse;
|
|
34331
34547
|
var export_CreateOrganizationRequest = import_web_api_pb4.CreateOrganizationRequest;
|
|
34332
34548
|
var export_CreateOrganizationResponse = import_web_api_pb4.CreateOrganizationResponse;
|
|
34333
34549
|
var export_CreatePasswordRequest = import_web_api_pb4.CreatePasswordRequest;
|
|
34334
34550
|
var export_CreatePasswordResponse = import_web_api_pb4.CreatePasswordResponse;
|
|
34335
|
-
var export_CreatePhoneCallRequest =
|
|
34336
|
-
var export_CreatePhoneCallResponse =
|
|
34551
|
+
var export_CreatePhoneCallRequest = import_talk_api_pb3.CreatePhoneCallRequest;
|
|
34552
|
+
var export_CreatePhoneCallResponse = import_talk_api_pb3.CreatePhoneCallResponse;
|
|
34337
34553
|
var export_CreateProjectCredentialRequest = import_web_api_pb4.CreateProjectCredentialRequest;
|
|
34338
34554
|
var export_CreateProjectCredentialResponse = import_web_api_pb4.CreateProjectCredentialResponse;
|
|
34339
34555
|
var export_CreateProjectRequest = import_web_api_pb4.CreateProjectRequest;
|
|
34340
34556
|
var export_CreateProjectResponse = import_web_api_pb4.CreateProjectResponse;
|
|
34341
34557
|
var export_CreateProviderCredentialRequest = import_vault_api_pb2.CreateProviderCredentialRequest;
|
|
34342
34558
|
var export_Credential = import_integration_api_pb.Credential;
|
|
34343
|
-
var export_Criteria =
|
|
34559
|
+
var export_Criteria = import_common_pb8.Criteria;
|
|
34344
34560
|
var export_DeepInfraService = import_integration_api_pb_service.DeepInfraService;
|
|
34345
34561
|
var export_DeepInfraServiceClient = import_integration_api_pb_service.DeepInfraServiceClient;
|
|
34346
34562
|
var export_DeleteAssistantAnalysisRequest = import_assistant_analysis_pb.DeleteAssistantAnalysisRequest;
|
|
@@ -34367,13 +34583,13 @@ var export_EndpointProviderModelAttribute = import_endpoint_api_pb2.EndpointProv
|
|
|
34367
34583
|
var export_EndpointRetryConfiguration = import_endpoint_api_pb2.EndpointRetryConfiguration;
|
|
34368
34584
|
var export_EndpointService = import_endpoint_api_pb_service2.EndpointService;
|
|
34369
34585
|
var export_EndpointServiceClient = import_endpoint_api_pb_service2.EndpointServiceClient;
|
|
34370
|
-
var export_Error =
|
|
34586
|
+
var export_Error = import_common_pb8.Error;
|
|
34371
34587
|
var export_FeaturePermission = import_web_api_pb4.FeaturePermission;
|
|
34372
|
-
var export_FieldSelector =
|
|
34588
|
+
var export_FieldSelector = import_common_pb8.FieldSelector;
|
|
34373
34589
|
var export_ForgotPasswordRequest = import_web_api_pb4.ForgotPasswordRequest;
|
|
34374
34590
|
var export_ForgotPasswordResponse = import_web_api_pb4.ForgotPasswordResponse;
|
|
34375
34591
|
var export_ForkEndpointRequest = import_endpoint_api_pb2.ForkEndpointRequest;
|
|
34376
|
-
var export_FunctionCall =
|
|
34592
|
+
var export_FunctionCall = import_common_pb8.FunctionCall;
|
|
34377
34593
|
var export_FunctionDefinition = import_integration_api_pb.FunctionDefinition;
|
|
34378
34594
|
var export_FunctionParameter = import_integration_api_pb.FunctionParameter;
|
|
34379
34595
|
var export_FunctionParameterProperty = import_integration_api_pb.FunctionParameterProperty;
|
|
@@ -34381,8 +34597,8 @@ var export_GeneralConnectRequest = import_connect_api_pb2.GeneralConnectRequest;
|
|
|
34381
34597
|
var export_GeneralConnectResponse = import_connect_api_pb2.GeneralConnectResponse;
|
|
34382
34598
|
var export_GetAllAssistantAnalysisRequest = import_assistant_analysis_pb.GetAllAssistantAnalysisRequest;
|
|
34383
34599
|
var export_GetAllAssistantAnalysisResponse = import_assistant_analysis_pb.GetAllAssistantAnalysisResponse;
|
|
34384
|
-
var export_GetAllAssistantConversationRequest =
|
|
34385
|
-
var export_GetAllAssistantConversationResponse =
|
|
34600
|
+
var export_GetAllAssistantConversationRequest = import_common_pb8.GetAllAssistantConversationRequest;
|
|
34601
|
+
var export_GetAllAssistantConversationResponse = import_common_pb8.GetAllAssistantConversationResponse;
|
|
34386
34602
|
var export_GetAllAssistantKnowledgeRequest = import_assistant_knowledge_pb.GetAllAssistantKnowledgeRequest;
|
|
34387
34603
|
var export_GetAllAssistantKnowledgeResponse = import_assistant_knowledge_pb.GetAllAssistantKnowledgeResponse;
|
|
34388
34604
|
var export_GetAllAssistantMessageRequest = import_assistant_api_pb.GetAllAssistantMessageRequest;
|
|
@@ -34403,8 +34619,8 @@ var export_GetAllAssistantWebhookRequest = import_assistant_webhook_pb.GetAllAss
|
|
|
34403
34619
|
var export_GetAllAssistantWebhookResponse = import_assistant_webhook_pb.GetAllAssistantWebhookResponse;
|
|
34404
34620
|
var export_GetAllAuditLogRequest = import_audit_logging_api_pb2.GetAllAuditLogRequest;
|
|
34405
34621
|
var export_GetAllAuditLogResponse = import_audit_logging_api_pb2.GetAllAuditLogResponse;
|
|
34406
|
-
var export_GetAllConversationMessageRequest =
|
|
34407
|
-
var export_GetAllConversationMessageResponse =
|
|
34622
|
+
var export_GetAllConversationMessageRequest = import_common_pb8.GetAllConversationMessageRequest;
|
|
34623
|
+
var export_GetAllConversationMessageResponse = import_common_pb8.GetAllConversationMessageResponse;
|
|
34408
34624
|
var export_GetAllEndpointLogRequest = import_endpoint_api_pb2.GetAllEndpointLogRequest;
|
|
34409
34625
|
var export_GetAllEndpointLogResponse = import_endpoint_api_pb2.GetAllEndpointLogResponse;
|
|
34410
34626
|
var export_GetAllEndpointProviderModelRequest = import_endpoint_api_pb2.GetAllEndpointProviderModelRequest;
|
|
@@ -34481,14 +34697,14 @@ var export_IndexKnowledgeDocumentRequest = import_document_api_pb2.IndexKnowledg
|
|
|
34481
34697
|
var export_IndexKnowledgeDocumentResponse = import_document_api_pb2.IndexKnowledgeDocumentResponse;
|
|
34482
34698
|
var export_InvokeRequest = import_invoker_api_pb.InvokeRequest;
|
|
34483
34699
|
var export_InvokeResponse = import_invoker_api_pb.InvokeResponse;
|
|
34484
|
-
var export_Knowledge =
|
|
34700
|
+
var export_Knowledge = import_common_pb8.Knowledge;
|
|
34485
34701
|
var export_KnowledgeDocument = import_knowledge_api_pb3.KnowledgeDocument;
|
|
34486
34702
|
var export_KnowledgeDocumentSegment = import_knowledge_api_pb3.KnowledgeDocumentSegment;
|
|
34487
34703
|
var export_KnowledgeLog = import_knowledge_api_pb3.KnowledgeLog;
|
|
34488
34704
|
var export_KnowledgeService = import_knowledge_api_pb_service2.KnowledgeService;
|
|
34489
34705
|
var export_KnowledgeServiceClient = import_knowledge_api_pb_service2.KnowledgeServiceClient;
|
|
34490
|
-
var export_Metadata =
|
|
34491
|
-
var export_Metric =
|
|
34706
|
+
var export_Metadata = import_common_pb8.Metadata;
|
|
34707
|
+
var export_Metric = import_common_pb8.Metric;
|
|
34492
34708
|
var export_MistralService = import_integration_api_pb_service.MistralService;
|
|
34493
34709
|
var export_MistralServiceClient = import_integration_api_pb_service.MistralServiceClient;
|
|
34494
34710
|
var export_Moderation = import_integration_api_pb.Moderation;
|
|
@@ -34496,13 +34712,13 @@ var export_NotificationSetting = import_notification_api_pb.NotificationSetting;
|
|
|
34496
34712
|
var export_NotificationSettingResponse = import_notification_api_pb.NotificationSettingResponse;
|
|
34497
34713
|
var export_OpenAiService = import_integration_api_pb_service.OpenAiService;
|
|
34498
34714
|
var export_OpenAiServiceClient = import_integration_api_pb_service.OpenAiServiceClient;
|
|
34499
|
-
var export_Ordering =
|
|
34500
|
-
var export_Organization =
|
|
34715
|
+
var export_Ordering = import_common_pb8.Ordering;
|
|
34716
|
+
var export_Organization = import_common_pb8.Organization;
|
|
34501
34717
|
var export_OrganizationRole = import_web_api_pb4.OrganizationRole;
|
|
34502
34718
|
var export_OrganizationService = import_web_api_pb_service4.OrganizationService;
|
|
34503
34719
|
var export_OrganizationServiceClient = import_web_api_pb_service4.OrganizationServiceClient;
|
|
34504
|
-
var export_Paginate =
|
|
34505
|
-
var export_Paginated =
|
|
34720
|
+
var export_Paginate = import_common_pb8.Paginate;
|
|
34721
|
+
var export_Paginated = import_common_pb8.Paginated;
|
|
34506
34722
|
var export_ProbeRequest = import_invoker_api_pb.ProbeRequest;
|
|
34507
34723
|
var export_ProbeResponse = import_invoker_api_pb.ProbeResponse;
|
|
34508
34724
|
var export_Project = import_web_api_pb4.Project;
|
|
@@ -34510,7 +34726,7 @@ var export_ProjectCredential = import_web_api_pb4.ProjectCredential;
|
|
|
34510
34726
|
var export_ProjectRole = import_web_api_pb4.ProjectRole;
|
|
34511
34727
|
var export_ProjectService = import_web_api_pb_service4.ProjectService;
|
|
34512
34728
|
var export_ProjectServiceClient = import_web_api_pb_service4.ProjectServiceClient;
|
|
34513
|
-
var export_ProtoMessage =
|
|
34729
|
+
var export_ProtoMessage = import_common_pb8.Message;
|
|
34514
34730
|
var export_RegisterUserRequest = import_web_api_pb4.RegisterUserRequest;
|
|
34515
34731
|
var export_ReplicateService = import_integration_api_pb_service.ReplicateService;
|
|
34516
34732
|
var export_ReplicateServiceClient = import_integration_api_pb_service.ReplicateServiceClient;
|
|
@@ -34523,16 +34739,16 @@ var export_ScopedAuthenticationResponse = import_web_api_pb4.ScopedAuthenticatio
|
|
|
34523
34739
|
var export_SocialAuthenticationRequest = import_web_api_pb4.SocialAuthenticationRequest;
|
|
34524
34740
|
var export_StabilityAiService = import_integration_api_pb_service.StabilityAiService;
|
|
34525
34741
|
var export_StabilityAiServiceClient = import_integration_api_pb_service.StabilityAiServiceClient;
|
|
34526
|
-
var export_Tag =
|
|
34742
|
+
var export_Tag = import_common_pb8.Tag;
|
|
34527
34743
|
var export_TalkService = import_talk_api_pb_service2.TalkService;
|
|
34528
34744
|
var export_TalkServiceClient = import_talk_api_pb_service2.TalkServiceClient;
|
|
34529
|
-
var export_Telemetry =
|
|
34530
|
-
var export_TextChatCompletePrompt =
|
|
34531
|
-
var export_TextPrompt =
|
|
34745
|
+
var export_Telemetry = import_common_pb8.Telemetry;
|
|
34746
|
+
var export_TextChatCompletePrompt = import_common_pb8.TextChatCompletePrompt;
|
|
34747
|
+
var export_TextPrompt = import_common_pb8.TextPrompt;
|
|
34532
34748
|
var export_TogetherAiService = import_integration_api_pb_service.TogetherAiService;
|
|
34533
34749
|
var export_TogetherAiServiceClient = import_integration_api_pb_service.TogetherAiServiceClient;
|
|
34534
34750
|
var export_Token = import_web_api_pb4.Token;
|
|
34535
|
-
var export_ToolCall =
|
|
34751
|
+
var export_ToolCall = import_common_pb8.ToolCall;
|
|
34536
34752
|
var export_ToolDefinition = import_integration_api_pb.ToolDefinition;
|
|
34537
34753
|
var export_UpdateAssistantAnalysisRequest = import_assistant_analysis_pb.UpdateAssistantAnalysisRequest;
|
|
34538
34754
|
var export_UpdateAssistantDetailRequest = import_assistant_api_pb.UpdateAssistantDetailRequest;
|
|
@@ -34555,8 +34771,8 @@ var export_UpdateRequest = import_invoker_api_pb.UpdateRequest;
|
|
|
34555
34771
|
var export_UpdateResponse = import_invoker_api_pb.UpdateResponse;
|
|
34556
34772
|
var export_UpdateUserRequest = import_web_api_pb4.UpdateUserRequest;
|
|
34557
34773
|
var export_UpdateUserResponse = import_web_api_pb4.UpdateUserResponse;
|
|
34558
|
-
var export_User =
|
|
34559
|
-
var export_Variable =
|
|
34774
|
+
var export_User = import_common_pb8.User;
|
|
34775
|
+
var export_Variable = import_common_pb8.Variable;
|
|
34560
34776
|
var export_VaultCredential = import_vault_api_pb2.VaultCredential;
|
|
34561
34777
|
var export_VaultService = import_vault_api_pb_service2.VaultService;
|
|
34562
34778
|
var export_VaultServiceClient = import_vault_api_pb_service2.VaultServiceClient;
|
|
@@ -34587,21 +34803,15 @@ export {
|
|
|
34587
34803
|
export_AssistantAnalysis as AssistantAnalysis,
|
|
34588
34804
|
export_AssistantApiDeployment as AssistantApiDeployment,
|
|
34589
34805
|
export_AssistantConversation as AssistantConversation,
|
|
34590
|
-
export_AssistantConversationAssistantMessage as AssistantConversationAssistantMessage,
|
|
34591
|
-
export_AssistantConversationConfiguration as AssistantConversationConfiguration,
|
|
34592
34806
|
export_AssistantConversationContext as AssistantConversationContext,
|
|
34593
|
-
export_AssistantConversationInterruption as AssistantConversationInterruption,
|
|
34594
34807
|
export_AssistantConversationMessage as AssistantConversationMessage,
|
|
34595
34808
|
export_AssistantConversationRecording as AssistantConversationRecording,
|
|
34596
34809
|
export_AssistantConversationTelephonyEvent as AssistantConversationTelephonyEvent,
|
|
34597
|
-
export_AssistantConversationUserMessage as AssistantConversationUserMessage,
|
|
34598
34810
|
export_AssistantDebuggerDeployment as AssistantDebuggerDeployment,
|
|
34599
34811
|
export_AssistantDefinition as AssistantDefinition,
|
|
34600
34812
|
export_AssistantDeploymentService as AssistantDeploymentService,
|
|
34601
34813
|
export_AssistantDeploymentServiceClient as AssistantDeploymentServiceClient,
|
|
34602
34814
|
export_AssistantKnowledge as AssistantKnowledge,
|
|
34603
|
-
export_AssistantMessagingRequest as AssistantMessagingRequest,
|
|
34604
|
-
export_AssistantMessagingResponse as AssistantMessagingResponse,
|
|
34605
34815
|
export_AssistantPhoneDeployment as AssistantPhoneDeployment,
|
|
34606
34816
|
export_AssistantProviderAgentkit as AssistantProviderAgentkit,
|
|
34607
34817
|
export_AssistantProviderModel as AssistantProviderModel,
|
|
@@ -34609,6 +34819,8 @@ export {
|
|
|
34609
34819
|
export_AssistantService as AssistantService,
|
|
34610
34820
|
export_AssistantServiceClient as AssistantServiceClient,
|
|
34611
34821
|
AssistantTalk,
|
|
34822
|
+
export_AssistantTalkInput as AssistantTalkInput,
|
|
34823
|
+
export_AssistantTalkOutput as AssistantTalkOutput,
|
|
34612
34824
|
export_AssistantTool as AssistantTool,
|
|
34613
34825
|
export_AssistantToolLog as AssistantToolLog,
|
|
34614
34826
|
export_AssistantWebhook as AssistantWebhook,
|
|
@@ -34645,7 +34857,13 @@ export {
|
|
|
34645
34857
|
export_ConnectServiceClient as ConnectServiceClient,
|
|
34646
34858
|
ConnectionConfig,
|
|
34647
34859
|
ConnectionState,
|
|
34648
|
-
|
|
34860
|
+
export_ConversationAssistantMessage as ConversationAssistantMessage,
|
|
34861
|
+
export_ConversationConfiguration as ConversationConfiguration,
|
|
34862
|
+
export_ConversationDirective as ConversationDirective,
|
|
34863
|
+
export_ConversationInterruption as ConversationInterruption,
|
|
34864
|
+
export_ConversationToolCall as ConversationToolCall,
|
|
34865
|
+
export_ConversationToolResult as ConversationToolResult,
|
|
34866
|
+
export_ConversationUserMessage as ConversationUserMessage,
|
|
34649
34867
|
CreateAnalysis,
|
|
34650
34868
|
CreateAssistant,
|
|
34651
34869
|
export_CreateAssistantAnalysisRequest as CreateAssistantAnalysisRequest,
|
|
@@ -35075,9 +35293,6 @@ export {
|
|
|
35075
35293
|
fromStr,
|
|
35076
35294
|
getClientInfo,
|
|
35077
35295
|
getRapidaSourceValue,
|
|
35078
|
-
toContentText,
|
|
35079
|
-
toStreamAudioContent,
|
|
35080
|
-
toTextContent,
|
|
35081
35296
|
useAgentMessages,
|
|
35082
35297
|
useConnectAgent,
|
|
35083
35298
|
useConversationFeedback,
|