@rapidaai/nodejs 1.0.12 → 1.0.14
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/index.d.mts +58 -276
- package/dist/index.d.ts +58 -276
- package/dist/index.js +374 -1182
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +374 -1175
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.mjs
CHANGED
|
@@ -20727,8 +20727,6 @@ var require_assistant_api_pb = __commonJS({
|
|
|
20727
20727
|
goog.exportSymbol("proto.assistant_api.GetAllAssistantProviderModelResponse", null, global);
|
|
20728
20728
|
goog.exportSymbol("proto.assistant_api.GetAllAssistantRequest", null, global);
|
|
20729
20729
|
goog.exportSymbol("proto.assistant_api.GetAllAssistantResponse", null, global);
|
|
20730
|
-
goog.exportSymbol("proto.assistant_api.GetAllAssistantUserConversationRequest", null, global);
|
|
20731
|
-
goog.exportSymbol("proto.assistant_api.GetAllAssistantUserConversationResponse", null, global);
|
|
20732
20730
|
goog.exportSymbol("proto.assistant_api.GetAllMessageRequest", null, global);
|
|
20733
20731
|
goog.exportSymbol("proto.assistant_api.GetAllMessageResponse", null, global);
|
|
20734
20732
|
goog.exportSymbol("proto.assistant_api.GetAssistantConversationRequest", null, global);
|
|
@@ -20871,20 +20869,6 @@ var require_assistant_api_pb = __commonJS({
|
|
|
20871
20869
|
if (goog.DEBUG && !COMPILED) {
|
|
20872
20870
|
proto.assistant_api.UpdateAssistantDetailRequest.displayName = "proto.assistant_api.UpdateAssistantDetailRequest";
|
|
20873
20871
|
}
|
|
20874
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest = function(opt_data) {
|
|
20875
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAllAssistantUserConversationRequest.repeatedFields_, null);
|
|
20876
|
-
};
|
|
20877
|
-
goog.inherits(proto.assistant_api.GetAllAssistantUserConversationRequest, jspb.Message);
|
|
20878
|
-
if (goog.DEBUG && !COMPILED) {
|
|
20879
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.displayName = "proto.assistant_api.GetAllAssistantUserConversationRequest";
|
|
20880
|
-
}
|
|
20881
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse = function(opt_data) {
|
|
20882
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAllAssistantUserConversationResponse.repeatedFields_, null);
|
|
20883
|
-
};
|
|
20884
|
-
goog.inherits(proto.assistant_api.GetAllAssistantUserConversationResponse, jspb.Message);
|
|
20885
|
-
if (goog.DEBUG && !COMPILED) {
|
|
20886
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.displayName = "proto.assistant_api.GetAllAssistantUserConversationResponse";
|
|
20887
|
-
}
|
|
20888
20872
|
proto.assistant_api.GetAssistantConversationRequest = function(opt_data) {
|
|
20889
20873
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAssistantConversationRequest.repeatedFields_, null);
|
|
20890
20874
|
};
|
|
@@ -24645,337 +24629,6 @@ var require_assistant_api_pb = __commonJS({
|
|
|
24645
24629
|
proto.assistant_api.UpdateAssistantDetailRequest.prototype.setDescription = function(value) {
|
|
24646
24630
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
24647
24631
|
};
|
|
24648
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.repeatedFields_ = [3];
|
|
24649
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24650
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
24651
|
-
return proto.assistant_api.GetAllAssistantUserConversationRequest.toObject(opt_includeInstance, this);
|
|
24652
|
-
};
|
|
24653
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.toObject = function(includeInstance, msg) {
|
|
24654
|
-
var f, obj = {
|
|
24655
|
-
assistantid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
24656
|
-
paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
|
|
24657
|
-
criteriasList: jspb.Message.toObjectList(
|
|
24658
|
-
msg.getCriteriasList(),
|
|
24659
|
-
common_pb.Criteria.toObject,
|
|
24660
|
-
includeInstance
|
|
24661
|
-
),
|
|
24662
|
-
source: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
24663
|
-
};
|
|
24664
|
-
if (includeInstance) {
|
|
24665
|
-
obj.$jspbMessageInstance = msg;
|
|
24666
|
-
}
|
|
24667
|
-
return obj;
|
|
24668
|
-
};
|
|
24669
|
-
}
|
|
24670
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinary = function(bytes) {
|
|
24671
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
24672
|
-
var msg = new proto.assistant_api.GetAllAssistantUserConversationRequest();
|
|
24673
|
-
return proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinaryFromReader(msg, reader);
|
|
24674
|
-
};
|
|
24675
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
24676
|
-
while (reader.nextField()) {
|
|
24677
|
-
if (reader.isEndGroup()) {
|
|
24678
|
-
break;
|
|
24679
|
-
}
|
|
24680
|
-
var field = reader.getFieldNumber();
|
|
24681
|
-
switch (field) {
|
|
24682
|
-
case 1:
|
|
24683
|
-
var value = (
|
|
24684
|
-
/** @type {string} */
|
|
24685
|
-
reader.readUint64String()
|
|
24686
|
-
);
|
|
24687
|
-
msg.setAssistantid(value);
|
|
24688
|
-
break;
|
|
24689
|
-
case 2:
|
|
24690
|
-
var value = new common_pb.Paginate();
|
|
24691
|
-
reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
|
|
24692
|
-
msg.setPaginate(value);
|
|
24693
|
-
break;
|
|
24694
|
-
case 3:
|
|
24695
|
-
var value = new common_pb.Criteria();
|
|
24696
|
-
reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
|
|
24697
|
-
msg.addCriterias(value);
|
|
24698
|
-
break;
|
|
24699
|
-
case 7:
|
|
24700
|
-
var value = (
|
|
24701
|
-
/** @type {!proto.Source} */
|
|
24702
|
-
reader.readEnum()
|
|
24703
|
-
);
|
|
24704
|
-
msg.setSource(value);
|
|
24705
|
-
break;
|
|
24706
|
-
default:
|
|
24707
|
-
reader.skipField();
|
|
24708
|
-
break;
|
|
24709
|
-
}
|
|
24710
|
-
}
|
|
24711
|
-
return msg;
|
|
24712
|
-
};
|
|
24713
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.serializeBinary = function() {
|
|
24714
|
-
var writer = new jspb.BinaryWriter();
|
|
24715
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.serializeBinaryToWriter(this, writer);
|
|
24716
|
-
return writer.getResultBuffer();
|
|
24717
|
-
};
|
|
24718
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
24719
|
-
var f = void 0;
|
|
24720
|
-
f = message.getAssistantid();
|
|
24721
|
-
if (parseInt(f, 10) !== 0) {
|
|
24722
|
-
writer.writeUint64String(
|
|
24723
|
-
1,
|
|
24724
|
-
f
|
|
24725
|
-
);
|
|
24726
|
-
}
|
|
24727
|
-
f = message.getPaginate();
|
|
24728
|
-
if (f != null) {
|
|
24729
|
-
writer.writeMessage(
|
|
24730
|
-
2,
|
|
24731
|
-
f,
|
|
24732
|
-
common_pb.Paginate.serializeBinaryToWriter
|
|
24733
|
-
);
|
|
24734
|
-
}
|
|
24735
|
-
f = message.getCriteriasList();
|
|
24736
|
-
if (f.length > 0) {
|
|
24737
|
-
writer.writeRepeatedMessage(
|
|
24738
|
-
3,
|
|
24739
|
-
f,
|
|
24740
|
-
common_pb.Criteria.serializeBinaryToWriter
|
|
24741
|
-
);
|
|
24742
|
-
}
|
|
24743
|
-
f = message.getSource();
|
|
24744
|
-
if (f !== 0) {
|
|
24745
|
-
writer.writeEnum(
|
|
24746
|
-
7,
|
|
24747
|
-
f
|
|
24748
|
-
);
|
|
24749
|
-
}
|
|
24750
|
-
};
|
|
24751
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getAssistantid = function() {
|
|
24752
|
-
return (
|
|
24753
|
-
/** @type {string} */
|
|
24754
|
-
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
24755
|
-
);
|
|
24756
|
-
};
|
|
24757
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setAssistantid = function(value) {
|
|
24758
|
-
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
24759
|
-
};
|
|
24760
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getPaginate = function() {
|
|
24761
|
-
return (
|
|
24762
|
-
/** @type{?proto.Paginate} */
|
|
24763
|
-
jspb.Message.getWrapperField(this, common_pb.Paginate, 2)
|
|
24764
|
-
);
|
|
24765
|
-
};
|
|
24766
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setPaginate = function(value) {
|
|
24767
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
24768
|
-
};
|
|
24769
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.clearPaginate = function() {
|
|
24770
|
-
return this.setPaginate(void 0);
|
|
24771
|
-
};
|
|
24772
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.hasPaginate = function() {
|
|
24773
|
-
return jspb.Message.getField(this, 2) != null;
|
|
24774
|
-
};
|
|
24775
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getCriteriasList = function() {
|
|
24776
|
-
return (
|
|
24777
|
-
/** @type{!Array<!proto.Criteria>} */
|
|
24778
|
-
jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 3)
|
|
24779
|
-
);
|
|
24780
|
-
};
|
|
24781
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setCriteriasList = function(value) {
|
|
24782
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
24783
|
-
};
|
|
24784
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.addCriterias = function(opt_value, opt_index) {
|
|
24785
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.Criteria, opt_index);
|
|
24786
|
-
};
|
|
24787
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.clearCriteriasList = function() {
|
|
24788
|
-
return this.setCriteriasList([]);
|
|
24789
|
-
};
|
|
24790
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getSource = function() {
|
|
24791
|
-
return (
|
|
24792
|
-
/** @type {!proto.Source} */
|
|
24793
|
-
jspb.Message.getFieldWithDefault(this, 7, 0)
|
|
24794
|
-
);
|
|
24795
|
-
};
|
|
24796
|
-
proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setSource = function(value) {
|
|
24797
|
-
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
24798
|
-
};
|
|
24799
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.repeatedFields_ = [3];
|
|
24800
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24801
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
24802
|
-
return proto.assistant_api.GetAllAssistantUserConversationResponse.toObject(opt_includeInstance, this);
|
|
24803
|
-
};
|
|
24804
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.toObject = function(includeInstance, msg) {
|
|
24805
|
-
var f, obj = {
|
|
24806
|
-
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
24807
|
-
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
24808
|
-
dataList: jspb.Message.toObjectList(
|
|
24809
|
-
msg.getDataList(),
|
|
24810
|
-
common_pb.AssistantConversation.toObject,
|
|
24811
|
-
includeInstance
|
|
24812
|
-
),
|
|
24813
|
-
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
24814
|
-
paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f)
|
|
24815
|
-
};
|
|
24816
|
-
if (includeInstance) {
|
|
24817
|
-
obj.$jspbMessageInstance = msg;
|
|
24818
|
-
}
|
|
24819
|
-
return obj;
|
|
24820
|
-
};
|
|
24821
|
-
}
|
|
24822
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinary = function(bytes) {
|
|
24823
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
24824
|
-
var msg = new proto.assistant_api.GetAllAssistantUserConversationResponse();
|
|
24825
|
-
return proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinaryFromReader(msg, reader);
|
|
24826
|
-
};
|
|
24827
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
24828
|
-
while (reader.nextField()) {
|
|
24829
|
-
if (reader.isEndGroup()) {
|
|
24830
|
-
break;
|
|
24831
|
-
}
|
|
24832
|
-
var field = reader.getFieldNumber();
|
|
24833
|
-
switch (field) {
|
|
24834
|
-
case 1:
|
|
24835
|
-
var value = (
|
|
24836
|
-
/** @type {number} */
|
|
24837
|
-
reader.readInt32()
|
|
24838
|
-
);
|
|
24839
|
-
msg.setCode(value);
|
|
24840
|
-
break;
|
|
24841
|
-
case 2:
|
|
24842
|
-
var value = (
|
|
24843
|
-
/** @type {boolean} */
|
|
24844
|
-
reader.readBool()
|
|
24845
|
-
);
|
|
24846
|
-
msg.setSuccess(value);
|
|
24847
|
-
break;
|
|
24848
|
-
case 3:
|
|
24849
|
-
var value = new common_pb.AssistantConversation();
|
|
24850
|
-
reader.readMessage(value, common_pb.AssistantConversation.deserializeBinaryFromReader);
|
|
24851
|
-
msg.addData(value);
|
|
24852
|
-
break;
|
|
24853
|
-
case 4:
|
|
24854
|
-
var value = new common_pb.Error();
|
|
24855
|
-
reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
|
|
24856
|
-
msg.setError(value);
|
|
24857
|
-
break;
|
|
24858
|
-
case 5:
|
|
24859
|
-
var value = new common_pb.Paginated();
|
|
24860
|
-
reader.readMessage(value, common_pb.Paginated.deserializeBinaryFromReader);
|
|
24861
|
-
msg.setPaginated(value);
|
|
24862
|
-
break;
|
|
24863
|
-
default:
|
|
24864
|
-
reader.skipField();
|
|
24865
|
-
break;
|
|
24866
|
-
}
|
|
24867
|
-
}
|
|
24868
|
-
return msg;
|
|
24869
|
-
};
|
|
24870
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.serializeBinary = function() {
|
|
24871
|
-
var writer = new jspb.BinaryWriter();
|
|
24872
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.serializeBinaryToWriter(this, writer);
|
|
24873
|
-
return writer.getResultBuffer();
|
|
24874
|
-
};
|
|
24875
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
24876
|
-
var f = void 0;
|
|
24877
|
-
f = message.getCode();
|
|
24878
|
-
if (f !== 0) {
|
|
24879
|
-
writer.writeInt32(
|
|
24880
|
-
1,
|
|
24881
|
-
f
|
|
24882
|
-
);
|
|
24883
|
-
}
|
|
24884
|
-
f = message.getSuccess();
|
|
24885
|
-
if (f) {
|
|
24886
|
-
writer.writeBool(
|
|
24887
|
-
2,
|
|
24888
|
-
f
|
|
24889
|
-
);
|
|
24890
|
-
}
|
|
24891
|
-
f = message.getDataList();
|
|
24892
|
-
if (f.length > 0) {
|
|
24893
|
-
writer.writeRepeatedMessage(
|
|
24894
|
-
3,
|
|
24895
|
-
f,
|
|
24896
|
-
common_pb.AssistantConversation.serializeBinaryToWriter
|
|
24897
|
-
);
|
|
24898
|
-
}
|
|
24899
|
-
f = message.getError();
|
|
24900
|
-
if (f != null) {
|
|
24901
|
-
writer.writeMessage(
|
|
24902
|
-
4,
|
|
24903
|
-
f,
|
|
24904
|
-
common_pb.Error.serializeBinaryToWriter
|
|
24905
|
-
);
|
|
24906
|
-
}
|
|
24907
|
-
f = message.getPaginated();
|
|
24908
|
-
if (f != null) {
|
|
24909
|
-
writer.writeMessage(
|
|
24910
|
-
5,
|
|
24911
|
-
f,
|
|
24912
|
-
common_pb.Paginated.serializeBinaryToWriter
|
|
24913
|
-
);
|
|
24914
|
-
}
|
|
24915
|
-
};
|
|
24916
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getCode = function() {
|
|
24917
|
-
return (
|
|
24918
|
-
/** @type {number} */
|
|
24919
|
-
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
24920
|
-
);
|
|
24921
|
-
};
|
|
24922
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setCode = function(value) {
|
|
24923
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
24924
|
-
};
|
|
24925
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getSuccess = function() {
|
|
24926
|
-
return (
|
|
24927
|
-
/** @type {boolean} */
|
|
24928
|
-
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
24929
|
-
);
|
|
24930
|
-
};
|
|
24931
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setSuccess = function(value) {
|
|
24932
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
24933
|
-
};
|
|
24934
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getDataList = function() {
|
|
24935
|
-
return (
|
|
24936
|
-
/** @type{!Array<!proto.AssistantConversation>} */
|
|
24937
|
-
jspb.Message.getRepeatedWrapperField(this, common_pb.AssistantConversation, 3)
|
|
24938
|
-
);
|
|
24939
|
-
};
|
|
24940
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setDataList = function(value) {
|
|
24941
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
24942
|
-
};
|
|
24943
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.addData = function(opt_value, opt_index) {
|
|
24944
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversation, opt_index);
|
|
24945
|
-
};
|
|
24946
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearDataList = function() {
|
|
24947
|
-
return this.setDataList([]);
|
|
24948
|
-
};
|
|
24949
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getError = function() {
|
|
24950
|
-
return (
|
|
24951
|
-
/** @type{?proto.Error} */
|
|
24952
|
-
jspb.Message.getWrapperField(this, common_pb.Error, 4)
|
|
24953
|
-
);
|
|
24954
|
-
};
|
|
24955
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setError = function(value) {
|
|
24956
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
24957
|
-
};
|
|
24958
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearError = function() {
|
|
24959
|
-
return this.setError(void 0);
|
|
24960
|
-
};
|
|
24961
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.hasError = function() {
|
|
24962
|
-
return jspb.Message.getField(this, 4) != null;
|
|
24963
|
-
};
|
|
24964
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getPaginated = function() {
|
|
24965
|
-
return (
|
|
24966
|
-
/** @type{?proto.Paginated} */
|
|
24967
|
-
jspb.Message.getWrapperField(this, common_pb.Paginated, 5)
|
|
24968
|
-
);
|
|
24969
|
-
};
|
|
24970
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setPaginated = function(value) {
|
|
24971
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
24972
|
-
};
|
|
24973
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearPaginated = function() {
|
|
24974
|
-
return this.setPaginated(void 0);
|
|
24975
|
-
};
|
|
24976
|
-
proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.hasPaginated = function() {
|
|
24977
|
-
return jspb.Message.getField(this, 5) != null;
|
|
24978
|
-
};
|
|
24979
24632
|
proto.assistant_api.GetAssistantConversationRequest.repeatedFields_ = [5];
|
|
24980
24633
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24981
24634
|
proto.assistant_api.GetAssistantConversationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -24984,7 +24637,7 @@ var require_assistant_api_pb = __commonJS({
|
|
|
24984
24637
|
proto.assistant_api.GetAssistantConversationRequest.toObject = function(includeInstance, msg) {
|
|
24985
24638
|
var f, obj = {
|
|
24986
24639
|
assistantid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
24987
|
-
|
|
24640
|
+
id: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
24988
24641
|
selectorsList: jspb.Message.toObjectList(
|
|
24989
24642
|
msg.getSelectorsList(),
|
|
24990
24643
|
common_pb.FieldSelector.toObject,
|
|
@@ -25021,7 +24674,7 @@ var require_assistant_api_pb = __commonJS({
|
|
|
25021
24674
|
/** @type {string} */
|
|
25022
24675
|
reader.readUint64String()
|
|
25023
24676
|
);
|
|
25024
|
-
msg.
|
|
24677
|
+
msg.setId(value);
|
|
25025
24678
|
break;
|
|
25026
24679
|
case 5:
|
|
25027
24680
|
var value = new common_pb.FieldSelector();
|
|
@@ -25049,7 +24702,7 @@ var require_assistant_api_pb = __commonJS({
|
|
|
25049
24702
|
f
|
|
25050
24703
|
);
|
|
25051
24704
|
}
|
|
25052
|
-
f = message.
|
|
24705
|
+
f = message.getId();
|
|
25053
24706
|
if (parseInt(f, 10) !== 0) {
|
|
25054
24707
|
writer.writeUint64String(
|
|
25055
24708
|
2,
|
|
@@ -25074,13 +24727,13 @@ var require_assistant_api_pb = __commonJS({
|
|
|
25074
24727
|
proto.assistant_api.GetAssistantConversationRequest.prototype.setAssistantid = function(value) {
|
|
25075
24728
|
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
25076
24729
|
};
|
|
25077
|
-
proto.assistant_api.GetAssistantConversationRequest.prototype.
|
|
24730
|
+
proto.assistant_api.GetAssistantConversationRequest.prototype.getId = function() {
|
|
25078
24731
|
return (
|
|
25079
24732
|
/** @type {string} */
|
|
25080
24733
|
jspb.Message.getFieldWithDefault(this, 2, "0")
|
|
25081
24734
|
);
|
|
25082
24735
|
};
|
|
25083
|
-
proto.assistant_api.GetAssistantConversationRequest.prototype.
|
|
24736
|
+
proto.assistant_api.GetAssistantConversationRequest.prototype.setId = function(value) {
|
|
25084
24737
|
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
25085
24738
|
};
|
|
25086
24739
|
proto.assistant_api.GetAssistantConversationRequest.prototype.getSelectorsList = function() {
|
|
@@ -57601,29 +57254,11 @@ function GetAllDeployment(client, page, pageSize, criteria) {
|
|
|
57601
57254
|
}
|
|
57602
57255
|
|
|
57603
57256
|
// src/clients/invoke.ts
|
|
57604
|
-
|
|
57605
|
-
function Invoke(config, endpointId, parameters, version, metadata) {
|
|
57257
|
+
function Invoke(config, req, auth) {
|
|
57606
57258
|
return new Promise((resolve, reject) => {
|
|
57607
|
-
const req = new import_invoker_api_pb.InvokeRequest();
|
|
57608
|
-
const endpoint = new import_invoker_api_pb.EndpointDefinition();
|
|
57609
|
-
endpoint.setEndpointid(endpointId);
|
|
57610
|
-
if (version) {
|
|
57611
|
-
endpoint.setVersion(version);
|
|
57612
|
-
} else {
|
|
57613
|
-
endpoint.setVersion("latest");
|
|
57614
|
-
}
|
|
57615
|
-
req.setEndpoint(endpoint);
|
|
57616
|
-
parameters.forEach((value, key) => {
|
|
57617
|
-
req.getArgsMap().set(key, value);
|
|
57618
|
-
});
|
|
57619
|
-
if (metadata) {
|
|
57620
|
-
metadata.forEach((value, key) => {
|
|
57621
|
-
req.getMetadataMap().set(key, StringToAny(value));
|
|
57622
|
-
});
|
|
57623
|
-
}
|
|
57624
57259
|
return config.deploymentClient.invoke(
|
|
57625
57260
|
req,
|
|
57626
|
-
WithAuthContext(config.auth),
|
|
57261
|
+
WithAuthContext(auth || config.auth),
|
|
57627
57262
|
(err, response) => {
|
|
57628
57263
|
if (err) reject(err);
|
|
57629
57264
|
else resolve(response);
|
|
@@ -57974,30 +57609,11 @@ function GetOrganization(connectionConfig, authHeader) {
|
|
|
57974
57609
|
}
|
|
57975
57610
|
|
|
57976
57611
|
// src/clients/assistant.ts
|
|
57977
|
-
|
|
57978
|
-
var import_assistant_api_pb = __toESM(require_assistant_api_pb());
|
|
57979
|
-
var import_assistant_analysis_pb = __toESM(require_assistant_analysis_pb());
|
|
57980
|
-
var import_assistant_tool_pb = __toESM(require_assistant_tool_pb());
|
|
57981
|
-
var import_assistant_knowledge_pb = __toESM(require_assistant_knowledge_pb());
|
|
57982
|
-
var import_assistant_webhook_pb = __toESM(require_assistant_webhook_pb());
|
|
57983
|
-
var import_common_pb6 = __toESM(require_common_pb());
|
|
57984
|
-
import { Struct as Struct2 } from "google-protobuf/google/protobuf/struct_pb";
|
|
57985
|
-
function GetAllAssistant(connectionConfig, page, pageSize, criteria) {
|
|
57612
|
+
function GetAllAssistant(config, req, auth) {
|
|
57986
57613
|
return new Promise((resolve, reject) => {
|
|
57987
|
-
|
|
57988
|
-
const paginate = new import_common_pb5.Paginate();
|
|
57989
|
-
criteria.forEach(({ key, value }) => {
|
|
57990
|
-
const ctr = new import_common_pb5.Criteria();
|
|
57991
|
-
ctr.setKey(key);
|
|
57992
|
-
ctr.setValue(value);
|
|
57993
|
-
req.addCriterias(ctr);
|
|
57994
|
-
});
|
|
57995
|
-
paginate.setPage(page);
|
|
57996
|
-
paginate.setPagesize(pageSize);
|
|
57997
|
-
req.setPaginate(paginate);
|
|
57998
|
-
connectionConfig.assistantClient.getAllAssistant(
|
|
57614
|
+
config.assistantClient.getAllAssistant(
|
|
57999
57615
|
req,
|
|
58000
|
-
WithAuthContext(
|
|
57616
|
+
WithAuthContext(auth || config.auth),
|
|
58001
57617
|
(err, response) => {
|
|
58002
57618
|
if (err) reject(err);
|
|
58003
57619
|
else resolve(response);
|
|
@@ -58005,14 +57621,11 @@ function GetAllAssistant(connectionConfig, page, pageSize, criteria) {
|
|
|
58005
57621
|
);
|
|
58006
57622
|
});
|
|
58007
57623
|
}
|
|
58008
|
-
function UpdateAssistantVersion(
|
|
57624
|
+
function UpdateAssistantVersion(config, req, auth) {
|
|
58009
57625
|
return new Promise((resolve, reject) => {
|
|
58010
|
-
|
|
58011
|
-
req.setAssistantid(assistantId);
|
|
58012
|
-
req.setAssistantprovidermodelid(assistantProviderModelId);
|
|
58013
|
-
connectionConfig.assistantClient.updateAssistantVersion(
|
|
57626
|
+
config.assistantClient.updateAssistantVersion(
|
|
58014
57627
|
req,
|
|
58015
|
-
WithAuthContext(
|
|
57628
|
+
WithAuthContext(auth || config.auth),
|
|
58016
57629
|
(err, response) => {
|
|
58017
57630
|
if (err) reject(err);
|
|
58018
57631
|
else resolve(response);
|
|
@@ -58020,23 +57633,11 @@ function UpdateAssistantVersion(connectionConfig, assistantId, assistantProvider
|
|
|
58020
57633
|
);
|
|
58021
57634
|
});
|
|
58022
57635
|
}
|
|
58023
|
-
function GetAllAssistantProviderModel(
|
|
57636
|
+
function GetAllAssistantProviderModel(config, req, auth) {
|
|
58024
57637
|
return new Promise((resolve, reject) => {
|
|
58025
|
-
|
|
58026
|
-
req.setAssistantid(assistantId);
|
|
58027
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58028
|
-
criteria.forEach(({ key, value }) => {
|
|
58029
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58030
|
-
ctr.setKey(key);
|
|
58031
|
-
ctr.setValue(value);
|
|
58032
|
-
req.addCriterias(ctr);
|
|
58033
|
-
});
|
|
58034
|
-
paginate.setPage(page);
|
|
58035
|
-
paginate.setPagesize(pageSize);
|
|
58036
|
-
req.setPaginate(paginate);
|
|
58037
|
-
connectionConfig.assistantClient.getAllAssistantProviderModel(
|
|
57638
|
+
config.assistantClient.getAllAssistantProviderModel(
|
|
58038
57639
|
req,
|
|
58039
|
-
WithAuthContext(
|
|
57640
|
+
WithAuthContext(auth || config.auth),
|
|
58040
57641
|
(err, response) => {
|
|
58041
57642
|
if (err) reject(err);
|
|
58042
57643
|
else resolve(response);
|
|
@@ -58044,16 +57645,11 @@ function GetAllAssistantProviderModel(connectionConfig, assistantId, page, pageS
|
|
|
58044
57645
|
);
|
|
58045
57646
|
});
|
|
58046
57647
|
}
|
|
58047
|
-
function GetAssistant(
|
|
57648
|
+
function GetAssistant(config, req, auth) {
|
|
58048
57649
|
return new Promise((resolve, reject) => {
|
|
58049
|
-
|
|
58050
|
-
req.setId(assistantId);
|
|
58051
|
-
if (assistantProviderModelId) {
|
|
58052
|
-
req.setAssistantprovidermodelid(assistantProviderModelId);
|
|
58053
|
-
}
|
|
58054
|
-
connectionConfig.assistantClient.getAssistant(
|
|
57650
|
+
config.assistantClient.getAssistant(
|
|
58055
57651
|
req,
|
|
58056
|
-
WithAuthContext(
|
|
57652
|
+
WithAuthContext(auth || config.auth),
|
|
58057
57653
|
(err, response) => {
|
|
58058
57654
|
if (err) reject(err);
|
|
58059
57655
|
else resolve(response);
|
|
@@ -58061,18 +57657,11 @@ function GetAssistant(connectionConfig, assistantId, assistantProviderModelId) {
|
|
|
58061
57657
|
);
|
|
58062
57658
|
});
|
|
58063
57659
|
}
|
|
58064
|
-
function CreateAssistantProviderModel(
|
|
57660
|
+
function CreateAssistantProviderModel(config, req, auth) {
|
|
58065
57661
|
return new Promise((resolve, reject) => {
|
|
58066
|
-
|
|
58067
|
-
req.setAssistantid(assistantId);
|
|
58068
|
-
req.setDescription(description);
|
|
58069
|
-
req.setAssistantmodeloptionsList(modelProviderOptions);
|
|
58070
|
-
req.setModelproviderid(modelProviderId);
|
|
58071
|
-
req.setTemplate(template);
|
|
58072
|
-
req.setModelprovidername(modelProviderName);
|
|
58073
|
-
connectionConfig.assistantClient.createAssistantProviderModel(
|
|
57662
|
+
config.assistantClient.createAssistantProviderModel(
|
|
58074
57663
|
req,
|
|
58075
|
-
WithAuthContext(
|
|
57664
|
+
WithAuthContext(auth || config.auth),
|
|
58076
57665
|
(err, response) => {
|
|
58077
57666
|
if (err) reject(err);
|
|
58078
57667
|
else resolve(response);
|
|
@@ -58080,20 +57669,11 @@ function CreateAssistantProviderModel(connectionConfig, assistantId, template, m
|
|
|
58080
57669
|
);
|
|
58081
57670
|
});
|
|
58082
57671
|
}
|
|
58083
|
-
function CreateAssistant(
|
|
57672
|
+
function CreateAssistant(config, req, auth) {
|
|
58084
57673
|
return new Promise((resolve, reject) => {
|
|
58085
|
-
|
|
58086
|
-
req.setName(name);
|
|
58087
|
-
req.setDescription(description);
|
|
58088
|
-
req.setTagsList(tagsList);
|
|
58089
|
-
req.setAssistantprovidermodel(assistantProviderModel);
|
|
58090
|
-
if (assistantKnowledgeConfig)
|
|
58091
|
-
req.setAssistantknowledgesList(assistantKnowledgeConfig);
|
|
58092
|
-
if (assistantToolConfig) req.setAssistanttoolsList(assistantToolConfig);
|
|
58093
|
-
req.setTagsList(tags);
|
|
58094
|
-
connectionConfig.assistantClient.createAssistant(
|
|
57674
|
+
config.assistantClient.createAssistant(
|
|
58095
57675
|
req,
|
|
58096
|
-
WithAuthContext(
|
|
57676
|
+
WithAuthContext(auth || config.auth),
|
|
58097
57677
|
(err, response) => {
|
|
58098
57678
|
if (err) reject(err);
|
|
58099
57679
|
else resolve(response);
|
|
@@ -58101,14 +57681,11 @@ function CreateAssistant(connectionConfig, name, description, tagsList, assistan
|
|
|
58101
57681
|
);
|
|
58102
57682
|
});
|
|
58103
57683
|
}
|
|
58104
|
-
function CreateAssistantTag(
|
|
57684
|
+
function CreateAssistantTag(config, req, auth) {
|
|
58105
57685
|
return new Promise((resolve, reject) => {
|
|
58106
|
-
|
|
58107
|
-
req.setTagsList(tags);
|
|
58108
|
-
req.setAssistantid(assistantId);
|
|
58109
|
-
connectionConfig.assistantClient.createAssistantTag(
|
|
57686
|
+
config.assistantClient.createAssistantTag(
|
|
58110
57687
|
req,
|
|
58111
|
-
WithAuthContext(
|
|
57688
|
+
WithAuthContext(auth || config.auth),
|
|
58112
57689
|
(err, response) => {
|
|
58113
57690
|
if (err) reject(err);
|
|
58114
57691
|
else resolve(response);
|
|
@@ -58116,15 +57693,11 @@ function CreateAssistantTag(connectionConfig, assistantId, tags) {
|
|
|
58116
57693
|
);
|
|
58117
57694
|
});
|
|
58118
57695
|
}
|
|
58119
|
-
function UpdateAssistantDetail(
|
|
57696
|
+
function UpdateAssistantDetail(config, req, auth) {
|
|
58120
57697
|
return new Promise((resolve, reject) => {
|
|
58121
|
-
|
|
58122
|
-
req.setName(name);
|
|
58123
|
-
req.setDescription(description);
|
|
58124
|
-
req.setAssistantid(assistantId);
|
|
58125
|
-
connectionConfig.assistantClient.updateAssistantDetail(
|
|
57698
|
+
config.assistantClient.updateAssistantDetail(
|
|
58126
57699
|
req,
|
|
58127
|
-
WithAuthContext(
|
|
57700
|
+
WithAuthContext(auth || config.auth),
|
|
58128
57701
|
(err, response) => {
|
|
58129
57702
|
if (err) reject(err);
|
|
58130
57703
|
else resolve(response);
|
|
@@ -58132,33 +57705,11 @@ function UpdateAssistantDetail(connectionConfig, assistantId, name, description)
|
|
|
58132
57705
|
);
|
|
58133
57706
|
});
|
|
58134
57707
|
}
|
|
58135
|
-
function GetAssistantMessages(
|
|
57708
|
+
function GetAssistantMessages(config, req, auth) {
|
|
58136
57709
|
return new Promise((resolve, reject) => {
|
|
58137
|
-
|
|
58138
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58139
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58140
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58141
|
-
ctr.setKey(key);
|
|
58142
|
-
ctr.setValue(value);
|
|
58143
|
-
ctr.setLogic(logic);
|
|
58144
|
-
req.addCriterias(ctr);
|
|
58145
|
-
});
|
|
58146
|
-
req.setAssistantid(assistantId);
|
|
58147
|
-
selectors.forEach((v) => {
|
|
58148
|
-
const selectors2 = new import_common_pb5.FieldSelector();
|
|
58149
|
-
selectors2.setField(v);
|
|
58150
|
-
req.addSelectors(selectors2);
|
|
58151
|
-
});
|
|
58152
|
-
paginate.setPage(page);
|
|
58153
|
-
paginate.setPagesize(pageSize);
|
|
58154
|
-
const order = new import_common_pb5.Ordering();
|
|
58155
|
-
order.setColumn("created_date");
|
|
58156
|
-
order.setOrder("desc");
|
|
58157
|
-
req.setOrder(order);
|
|
58158
|
-
req.setPaginate(paginate);
|
|
58159
|
-
connectionConfig.assistantClient.getAllAssistantMessage(
|
|
57710
|
+
config.assistantClient.getAllAssistantMessage(
|
|
58160
57711
|
req,
|
|
58161
|
-
WithAuthContext(
|
|
57712
|
+
WithAuthContext(auth || config.auth),
|
|
58162
57713
|
(err, response) => {
|
|
58163
57714
|
if (err) reject(err);
|
|
58164
57715
|
else resolve(response);
|
|
@@ -58166,32 +57717,11 @@ function GetAssistantMessages(connectionConfig, assistantId, page, pageSize, cri
|
|
|
58166
57717
|
);
|
|
58167
57718
|
});
|
|
58168
57719
|
}
|
|
58169
|
-
function GetMessages(
|
|
57720
|
+
function GetMessages(config, req, auth) {
|
|
58170
57721
|
return new Promise((resolve, reject) => {
|
|
58171
|
-
|
|
58172
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58173
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58174
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58175
|
-
ctr.setKey(key);
|
|
58176
|
-
ctr.setValue(value);
|
|
58177
|
-
ctr.setLogic(logic);
|
|
58178
|
-
req.addCriterias(ctr);
|
|
58179
|
-
});
|
|
58180
|
-
selectors.forEach((v) => {
|
|
58181
|
-
const selectors2 = new import_common_pb5.FieldSelector();
|
|
58182
|
-
selectors2.setField(v);
|
|
58183
|
-
req.addSelectors(selectors2);
|
|
58184
|
-
});
|
|
58185
|
-
paginate.setPage(page);
|
|
58186
|
-
paginate.setPagesize(pageSize);
|
|
58187
|
-
const order = new import_common_pb5.Ordering();
|
|
58188
|
-
order.setColumn("created_date");
|
|
58189
|
-
order.setOrder("desc");
|
|
58190
|
-
req.setOrder(order);
|
|
58191
|
-
req.setPaginate(paginate);
|
|
58192
|
-
connectionConfig.assistantClient.getAllMessage(
|
|
57722
|
+
config.assistantClient.getAllMessage(
|
|
58193
57723
|
req,
|
|
58194
|
-
WithAuthContext(
|
|
57724
|
+
WithAuthContext(auth || config.auth),
|
|
58195
57725
|
(err, response) => {
|
|
58196
57726
|
if (err) reject(err);
|
|
58197
57727
|
else resolve(response);
|
|
@@ -58199,24 +57729,11 @@ function GetMessages(connectionConfig, page, pageSize, criteria, selectors) {
|
|
|
58199
57729
|
);
|
|
58200
57730
|
});
|
|
58201
57731
|
}
|
|
58202
|
-
function
|
|
57732
|
+
function GetAllAssistantConversation(config, req, auth) {
|
|
58203
57733
|
return new Promise((resolve, reject) => {
|
|
58204
|
-
|
|
58205
|
-
req.setAssistantid(assistantId);
|
|
58206
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58207
|
-
criteria.forEach((x) => {
|
|
58208
|
-
let ctr = new import_common_pb5.Criteria();
|
|
58209
|
-
ctr.setKey(x.key);
|
|
58210
|
-
ctr.setValue(x.value);
|
|
58211
|
-
ctr.setLogic(x.logic);
|
|
58212
|
-
req.addCriterias(ctr);
|
|
58213
|
-
});
|
|
58214
|
-
paginate.setPage(page);
|
|
58215
|
-
paginate.setPagesize(pageSize);
|
|
58216
|
-
req.setPaginate(paginate);
|
|
58217
|
-
connectionConfig.assistantClient.getAllAssistantConversation(
|
|
57734
|
+
config.assistantClient.getAllAssistantConversation(
|
|
58218
57735
|
req,
|
|
58219
|
-
WithAuthContext(
|
|
57736
|
+
WithAuthContext(auth || config.auth),
|
|
58220
57737
|
(err, response) => {
|
|
58221
57738
|
if (err) reject(err);
|
|
58222
57739
|
else resolve(response);
|
|
@@ -58224,24 +57741,11 @@ function GetAllAssistantSession(connectionConfig, assistantId, page, pageSize, c
|
|
|
58224
57741
|
);
|
|
58225
57742
|
});
|
|
58226
57743
|
}
|
|
58227
|
-
function GetAllAssistantConversationMessage(
|
|
57744
|
+
function GetAllAssistantConversationMessage(config, req, auth) {
|
|
58228
57745
|
return new Promise((resolve, reject) => {
|
|
58229
|
-
|
|
58230
|
-
req.setAssistantid(assistantId);
|
|
58231
|
-
req.setAssistantconversationid(assistantConversationId);
|
|
58232
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58233
|
-
criteria.forEach((x) => {
|
|
58234
|
-
let ctr = new import_common_pb5.Criteria();
|
|
58235
|
-
ctr.setKey(x.key);
|
|
58236
|
-
ctr.setValue(x.value);
|
|
58237
|
-
req.addCriterias(ctr);
|
|
58238
|
-
});
|
|
58239
|
-
paginate.setPage(page);
|
|
58240
|
-
paginate.setPagesize(pageSize);
|
|
58241
|
-
req.setPaginate(paginate);
|
|
58242
|
-
connectionConfig.assistantClient.getAllConversationMessage(
|
|
57746
|
+
config.assistantClient.getAllConversationMessage(
|
|
58243
57747
|
req,
|
|
58244
|
-
WithAuthContext(
|
|
57748
|
+
WithAuthContext(auth || config.auth),
|
|
58245
57749
|
(err, response) => {
|
|
58246
57750
|
if (err) reject(err);
|
|
58247
57751
|
else resolve(response);
|
|
@@ -58249,23 +57753,11 @@ function GetAllAssistantConversationMessage(connectionConfig, assistantId, assis
|
|
|
58249
57753
|
);
|
|
58250
57754
|
});
|
|
58251
57755
|
}
|
|
58252
|
-
function GetAllAssistantWebhook(
|
|
57756
|
+
function GetAllAssistantWebhook(config, req, auth) {
|
|
58253
57757
|
return new Promise((resolve, reject) => {
|
|
58254
|
-
|
|
58255
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58256
|
-
criteria.forEach(({ key, value }) => {
|
|
58257
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58258
|
-
ctr.setKey(key);
|
|
58259
|
-
ctr.setValue(value);
|
|
58260
|
-
req.addCriterias(ctr);
|
|
58261
|
-
});
|
|
58262
|
-
paginate.setPage(page);
|
|
58263
|
-
paginate.setPagesize(pageSize);
|
|
58264
|
-
req.setPaginate(paginate);
|
|
58265
|
-
req.setAssistantid(assistantId);
|
|
58266
|
-
return connectionConfig.assistantClient.getAllAssistantWebhook(
|
|
57758
|
+
config.assistantClient.getAllAssistantWebhook(
|
|
58267
57759
|
req,
|
|
58268
|
-
WithAuthContext(
|
|
57760
|
+
WithAuthContext(auth || config.auth),
|
|
58269
57761
|
(err, response) => {
|
|
58270
57762
|
if (err) reject(err);
|
|
58271
57763
|
else resolve(response);
|
|
@@ -58273,383 +57765,279 @@ function GetAllAssistantWebhook(connectionConfig, assistantId, page, pageSize, c
|
|
|
58273
57765
|
);
|
|
58274
57766
|
});
|
|
58275
57767
|
}
|
|
58276
|
-
function CreateWebhook(
|
|
57768
|
+
function CreateWebhook(config, req, auth) {
|
|
58277
57769
|
return new Promise((resolve, reject) => {
|
|
58278
|
-
|
|
58279
|
-
req.setAssistantid(assistantId);
|
|
58280
|
-
req.setHttpurl(endpoint);
|
|
58281
|
-
req.setHttpmethod(method);
|
|
58282
|
-
req.setAssistanteventsList(events);
|
|
58283
|
-
headers.forEach((k) => {
|
|
58284
|
-
req.getHttpheadersMap().set(k.key, k.value);
|
|
58285
|
-
});
|
|
58286
|
-
parameters.forEach((k) => {
|
|
58287
|
-
req.getHttpbodyMap().set(k.key, k.value);
|
|
58288
|
-
});
|
|
58289
|
-
req.setRetrystatuscodesList(retryOnStatus);
|
|
58290
|
-
req.setMaxretrycount(maxRetries);
|
|
58291
|
-
req.setTimeoutsecond(timeout);
|
|
58292
|
-
req.setExecutionpriority(priority);
|
|
58293
|
-
if (description) req.setDescription(description);
|
|
58294
|
-
connectionConfig.assistantClient.createAssistantWebhook(
|
|
57770
|
+
config.assistantClient.createAssistantWebhook(
|
|
58295
57771
|
req,
|
|
58296
|
-
WithAuthContext(
|
|
57772
|
+
WithAuthContext(auth || config.auth),
|
|
58297
57773
|
(err, response) => {
|
|
58298
|
-
if (err)
|
|
58299
|
-
|
|
58300
|
-
} else {
|
|
58301
|
-
resolve(response);
|
|
58302
|
-
}
|
|
57774
|
+
if (err) reject(err);
|
|
57775
|
+
else resolve(response);
|
|
58303
57776
|
}
|
|
58304
57777
|
);
|
|
58305
57778
|
});
|
|
58306
57779
|
}
|
|
58307
|
-
function UpdateWebhook(
|
|
58308
|
-
const req = new import_assistant_webhook_pb.UpdateAssistantWebhookRequest();
|
|
58309
|
-
req.setId(webhookId);
|
|
58310
|
-
req.setAssistantid(assistantId);
|
|
58311
|
-
req.setHttpurl(endpoint);
|
|
58312
|
-
req.setHttpmethod(method);
|
|
58313
|
-
req.setAssistanteventsList(events);
|
|
58314
|
-
headers.forEach((k) => req.getHttpheadersMap().set(k.key, k.value));
|
|
58315
|
-
parameters.forEach((k) => req.getHttpbodyMap().set(k.key, k.value));
|
|
58316
|
-
req.setRetrystatuscodesList(retryOnStatus);
|
|
58317
|
-
req.setMaxretrycount(maxRetries);
|
|
58318
|
-
req.setTimeoutsecond(timeout);
|
|
58319
|
-
req.setExecutionpriority(priority);
|
|
58320
|
-
if (description) req.setDescription(description);
|
|
57780
|
+
function UpdateWebhook(config, req, auth) {
|
|
58321
57781
|
return new Promise((resolve, reject) => {
|
|
58322
|
-
|
|
57782
|
+
config.assistantClient.updateAssistantWebhook(
|
|
58323
57783
|
req,
|
|
58324
|
-
WithAuthContext(
|
|
58325
|
-
(err, response) =>
|
|
57784
|
+
WithAuthContext(auth || config.auth),
|
|
57785
|
+
(err, response) => {
|
|
57786
|
+
if (err) reject(err);
|
|
57787
|
+
else resolve(response);
|
|
57788
|
+
}
|
|
58326
57789
|
);
|
|
58327
57790
|
});
|
|
58328
57791
|
}
|
|
58329
|
-
function GetAssistantWebhook(
|
|
58330
|
-
const req = new import_assistant_webhook_pb.GetAssistantWebhookRequest();
|
|
58331
|
-
req.setAssistantid(assistantId);
|
|
58332
|
-
req.setId(webhookId);
|
|
57792
|
+
function GetAssistantWebhook(config, req, auth) {
|
|
58333
57793
|
return new Promise((resolve, reject) => {
|
|
58334
|
-
|
|
57794
|
+
config.assistantClient.getAssistantWebhook(
|
|
58335
57795
|
req,
|
|
58336
|
-
WithAuthContext(
|
|
58337
|
-
(err, response) =>
|
|
57796
|
+
WithAuthContext(auth || config.auth),
|
|
57797
|
+
(err, response) => {
|
|
57798
|
+
if (err) reject(err);
|
|
57799
|
+
else resolve(response);
|
|
57800
|
+
}
|
|
58338
57801
|
);
|
|
58339
57802
|
});
|
|
58340
57803
|
}
|
|
58341
|
-
function DeleteAssistantWebhook(
|
|
58342
|
-
const req = new import_assistant_webhook_pb.DeleteAssistantWebhookRequest();
|
|
58343
|
-
req.setAssistantid(assistantId);
|
|
58344
|
-
req.setId(webhookId);
|
|
57804
|
+
function DeleteAssistantWebhook(config, req, auth) {
|
|
58345
57805
|
return new Promise((resolve, reject) => {
|
|
58346
|
-
|
|
57806
|
+
config.assistantClient.deleteAssistantWebhook(
|
|
58347
57807
|
req,
|
|
58348
|
-
WithAuthContext(
|
|
58349
|
-
(err, response) =>
|
|
57808
|
+
WithAuthContext(auth || config.auth),
|
|
57809
|
+
(err, response) => {
|
|
57810
|
+
if (err) reject(err);
|
|
57811
|
+
else resolve(response);
|
|
57812
|
+
}
|
|
58350
57813
|
);
|
|
58351
57814
|
});
|
|
58352
57815
|
}
|
|
58353
|
-
function GetAssistantConversation(
|
|
58354
|
-
const req = new import_assistant_api_pb.GetAssistantConversationRequest();
|
|
58355
|
-
req.setAssistantid(assistantId);
|
|
58356
|
-
req.setAssistantconversationid(conversaiontId);
|
|
57816
|
+
function GetAssistantConversation(config, req, auth) {
|
|
58357
57817
|
return new Promise((resolve, reject) => {
|
|
58358
|
-
|
|
57818
|
+
config.assistantClient.getAssistantConversation(
|
|
58359
57819
|
req,
|
|
58360
|
-
WithAuthContext(
|
|
58361
|
-
(err, response) =>
|
|
57820
|
+
WithAuthContext(auth || config.auth),
|
|
57821
|
+
(err, response) => {
|
|
57822
|
+
if (err) reject(err);
|
|
57823
|
+
else resolve(response);
|
|
57824
|
+
}
|
|
58362
57825
|
);
|
|
58363
57826
|
});
|
|
58364
57827
|
}
|
|
58365
|
-
function DeleteAssistant(
|
|
58366
|
-
const req = new import_assistant_api_pb.DeleteAssistantRequest();
|
|
58367
|
-
req.setId(assistantId);
|
|
57828
|
+
function DeleteAssistant(config, req, auth) {
|
|
58368
57829
|
return new Promise((resolve, reject) => {
|
|
58369
|
-
|
|
57830
|
+
config.assistantClient.deleteAssistant(
|
|
58370
57831
|
req,
|
|
58371
|
-
WithAuthContext(
|
|
58372
|
-
(err, response) =>
|
|
57832
|
+
WithAuthContext(auth || config.auth),
|
|
57833
|
+
(err, response) => {
|
|
57834
|
+
if (err) reject(err);
|
|
57835
|
+
else resolve(response);
|
|
57836
|
+
}
|
|
58373
57837
|
);
|
|
58374
57838
|
});
|
|
58375
57839
|
}
|
|
58376
|
-
function GetAllAssistantAnalysis(
|
|
58377
|
-
const req = new import_assistant_analysis_pb.GetAllAssistantAnalysisRequest();
|
|
58378
|
-
req.setAssistantid(assistantId);
|
|
58379
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58380
|
-
criteria.forEach(({ key, value }) => {
|
|
58381
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58382
|
-
ctr.setKey(key);
|
|
58383
|
-
ctr.setValue(value);
|
|
58384
|
-
req.addCriterias(ctr);
|
|
58385
|
-
});
|
|
58386
|
-
paginate.setPage(page);
|
|
58387
|
-
paginate.setPagesize(pageSize);
|
|
58388
|
-
req.setPaginate(paginate);
|
|
57840
|
+
function GetAllAssistantAnalysis(config, req, auth) {
|
|
58389
57841
|
return new Promise((resolve, reject) => {
|
|
58390
|
-
|
|
57842
|
+
config.assistantClient.getAllAssistantAnalysis(
|
|
58391
57843
|
req,
|
|
58392
|
-
WithAuthContext(
|
|
58393
|
-
(err, response) =>
|
|
57844
|
+
WithAuthContext(auth || config.auth),
|
|
57845
|
+
(err, response) => {
|
|
57846
|
+
if (err) reject(err);
|
|
57847
|
+
else resolve(response);
|
|
57848
|
+
}
|
|
58394
57849
|
);
|
|
58395
57850
|
});
|
|
58396
57851
|
}
|
|
58397
|
-
function CreateAnalysis(
|
|
58398
|
-
const req = new import_assistant_analysis_pb.CreateAssistantAnalysisRequest();
|
|
58399
|
-
req.setAssistantid(assistantId);
|
|
58400
|
-
req.setEndpointid(endpointid);
|
|
58401
|
-
req.setEndpointversion(endpointversion);
|
|
58402
|
-
req.setName(name);
|
|
58403
|
-
req.setExecutionpriority(executionpriority);
|
|
58404
|
-
parameters.forEach((k) => req.getEndpointparametersMap().set(k.key, k.value));
|
|
58405
|
-
if (description) req.setDescription(description);
|
|
57852
|
+
function CreateAnalysis(config, req, auth) {
|
|
58406
57853
|
return new Promise((resolve, reject) => {
|
|
58407
|
-
|
|
57854
|
+
config.assistantClient.createAssistantAnalysis(
|
|
58408
57855
|
req,
|
|
58409
|
-
WithAuthContext(
|
|
58410
|
-
(err, response) =>
|
|
57856
|
+
WithAuthContext(auth || config.auth),
|
|
57857
|
+
(err, response) => {
|
|
57858
|
+
if (err) reject(err);
|
|
57859
|
+
else resolve(response);
|
|
57860
|
+
}
|
|
58411
57861
|
);
|
|
58412
57862
|
});
|
|
58413
57863
|
}
|
|
58414
|
-
function UpdateAnalysis(
|
|
58415
|
-
const req = new import_assistant_analysis_pb.UpdateAssistantAnalysisRequest();
|
|
58416
|
-
req.setId(AnalysisId);
|
|
58417
|
-
req.setAssistantid(assistantId);
|
|
58418
|
-
req.setEndpointid(endpointid);
|
|
58419
|
-
req.setEndpointversion(endpointversion);
|
|
58420
|
-
req.setName(name);
|
|
58421
|
-
req.setExecutionpriority(executionpriority);
|
|
58422
|
-
parameters.forEach((k) => req.getEndpointparametersMap().set(k.key, k.value));
|
|
58423
|
-
if (description) req.setDescription(description);
|
|
57864
|
+
function UpdateAnalysis(config, req, auth) {
|
|
58424
57865
|
return new Promise((resolve, reject) => {
|
|
58425
|
-
|
|
57866
|
+
config.assistantClient.updateAssistantAnalysis(
|
|
58426
57867
|
req,
|
|
58427
|
-
WithAuthContext(
|
|
58428
|
-
(err, response) =>
|
|
57868
|
+
WithAuthContext(auth || config.auth),
|
|
57869
|
+
(err, response) => {
|
|
57870
|
+
if (err) reject(err);
|
|
57871
|
+
else resolve(response);
|
|
57872
|
+
}
|
|
58429
57873
|
);
|
|
58430
57874
|
});
|
|
58431
57875
|
}
|
|
58432
|
-
function GetAssistantAnalysis(
|
|
58433
|
-
const req = new import_assistant_analysis_pb.GetAssistantAnalysisRequest();
|
|
58434
|
-
req.setAssistantid(assistantId);
|
|
58435
|
-
req.setId(AnalysisId);
|
|
57876
|
+
function GetAssistantAnalysis(config, req, auth) {
|
|
58436
57877
|
return new Promise((resolve, reject) => {
|
|
58437
|
-
|
|
57878
|
+
config.assistantClient.getAssistantAnalysis(
|
|
58438
57879
|
req,
|
|
58439
|
-
WithAuthContext(
|
|
58440
|
-
(err, response) =>
|
|
57880
|
+
WithAuthContext(auth || config.auth),
|
|
57881
|
+
(err, response) => {
|
|
57882
|
+
if (err) reject(err);
|
|
57883
|
+
else resolve(response);
|
|
57884
|
+
}
|
|
58441
57885
|
);
|
|
58442
57886
|
});
|
|
58443
57887
|
}
|
|
58444
|
-
function DeleteAssistantAnalysis(
|
|
58445
|
-
const req = new import_assistant_analysis_pb.DeleteAssistantAnalysisRequest();
|
|
58446
|
-
req.setAssistantid(assistantId);
|
|
58447
|
-
req.setId(AnalysisId);
|
|
57888
|
+
function DeleteAssistantAnalysis(config, req, auth) {
|
|
58448
57889
|
return new Promise((resolve, reject) => {
|
|
58449
|
-
|
|
57890
|
+
config.assistantClient.deleteAssistantAnalysis(
|
|
58450
57891
|
req,
|
|
58451
|
-
WithAuthContext(
|
|
58452
|
-
(err, response) =>
|
|
57892
|
+
WithAuthContext(auth || config.auth),
|
|
57893
|
+
(err, response) => {
|
|
57894
|
+
if (err) reject(err);
|
|
57895
|
+
else resolve(response);
|
|
57896
|
+
}
|
|
58453
57897
|
);
|
|
58454
57898
|
});
|
|
58455
57899
|
}
|
|
58456
|
-
function GetAllWebhookLog(
|
|
58457
|
-
const req = new import_assistant_webhook_pb.GetAllAssistantWebhookLogRequest();
|
|
58458
|
-
req.setProjectid(projectId);
|
|
58459
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58460
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58461
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58462
|
-
ctr.setKey(key);
|
|
58463
|
-
ctr.setValue(value);
|
|
58464
|
-
ctr.setLogic(logic);
|
|
58465
|
-
req.addCriterias(ctr);
|
|
58466
|
-
});
|
|
58467
|
-
paginate.setPage(page);
|
|
58468
|
-
paginate.setPagesize(pageSize);
|
|
58469
|
-
req.setPaginate(paginate);
|
|
57900
|
+
function GetAllWebhookLog(config, req, auth) {
|
|
58470
57901
|
return new Promise((resolve, reject) => {
|
|
58471
|
-
|
|
57902
|
+
config.assistantClient.getAllAssistantWebhookLog(
|
|
58472
57903
|
req,
|
|
58473
|
-
WithAuthContext(
|
|
58474
|
-
(err, response) =>
|
|
57904
|
+
WithAuthContext(auth || config.auth),
|
|
57905
|
+
(err, response) => {
|
|
57906
|
+
if (err) reject(err);
|
|
57907
|
+
else resolve(response);
|
|
57908
|
+
}
|
|
58475
57909
|
);
|
|
58476
57910
|
});
|
|
58477
57911
|
}
|
|
58478
|
-
function GetWebhookLog(
|
|
58479
|
-
const req = new import_assistant_webhook_pb.GetAssistantWebhookLogRequest();
|
|
58480
|
-
req.setProjectid(projectId);
|
|
58481
|
-
req.setId(webhookLogId);
|
|
57912
|
+
function GetWebhookLog(config, req, auth) {
|
|
58482
57913
|
return new Promise((resolve, reject) => {
|
|
58483
|
-
|
|
57914
|
+
config.assistantClient.getAssistantWebhookLog(
|
|
58484
57915
|
req,
|
|
58485
|
-
WithAuthContext(
|
|
58486
|
-
(err, response) =>
|
|
57916
|
+
WithAuthContext(auth || config.auth),
|
|
57917
|
+
(err, response) => {
|
|
57918
|
+
if (err) reject(err);
|
|
57919
|
+
else resolve(response);
|
|
57920
|
+
}
|
|
58487
57921
|
);
|
|
58488
57922
|
});
|
|
58489
57923
|
}
|
|
58490
|
-
function GetAllAssistantTool(
|
|
58491
|
-
const req = new import_assistant_tool_pb.GetAllAssistantToolRequest();
|
|
58492
|
-
req.setAssistantid(assistantId);
|
|
58493
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58494
|
-
criteria.forEach(({ key, value }) => {
|
|
58495
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58496
|
-
ctr.setKey(key);
|
|
58497
|
-
ctr.setValue(value);
|
|
58498
|
-
req.addCriterias(ctr);
|
|
58499
|
-
});
|
|
58500
|
-
paginate.setPage(page);
|
|
58501
|
-
paginate.setPagesize(pageSize);
|
|
58502
|
-
req.setPaginate(paginate);
|
|
57924
|
+
function GetAllAssistantTool(config, req, auth) {
|
|
58503
57925
|
return new Promise((resolve, reject) => {
|
|
58504
|
-
|
|
57926
|
+
config.assistantClient.getAllAssistantTool(
|
|
58505
57927
|
req,
|
|
58506
|
-
WithAuthContext(
|
|
58507
|
-
(err, response) =>
|
|
57928
|
+
WithAuthContext(auth || config.auth),
|
|
57929
|
+
(err, response) => {
|
|
57930
|
+
if (err) reject(err);
|
|
57931
|
+
else resolve(response);
|
|
57932
|
+
}
|
|
58508
57933
|
);
|
|
58509
57934
|
});
|
|
58510
57935
|
}
|
|
58511
|
-
function CreateAssistantTool(
|
|
58512
|
-
const req = new import_assistant_tool_pb.CreateAssistantToolRequest();
|
|
58513
|
-
req.setAssistantid(assistantId);
|
|
58514
|
-
req.setName(name);
|
|
58515
|
-
req.setDescription(description);
|
|
58516
|
-
req.setFields(Struct2.fromJavaScript(fields));
|
|
58517
|
-
req.setExecutionmethod(executionMethod);
|
|
58518
|
-
executionOptions.forEach((x) => req.addExecutionoptions(x));
|
|
57936
|
+
function CreateAssistantTool(config, req, auth) {
|
|
58519
57937
|
return new Promise((resolve, reject) => {
|
|
58520
|
-
|
|
57938
|
+
config.assistantClient.createAssistantTool(
|
|
58521
57939
|
req,
|
|
58522
|
-
WithAuthContext(
|
|
58523
|
-
(err, response) =>
|
|
57940
|
+
WithAuthContext(auth || config.auth),
|
|
57941
|
+
(err, response) => {
|
|
57942
|
+
if (err) reject(err);
|
|
57943
|
+
else resolve(response);
|
|
57944
|
+
}
|
|
58524
57945
|
);
|
|
58525
57946
|
});
|
|
58526
57947
|
}
|
|
58527
|
-
function UpdateAssistantTool(
|
|
58528
|
-
const req = new import_assistant_tool_pb.UpdateAssistantToolRequest();
|
|
58529
|
-
req.setId(assistantToolId);
|
|
58530
|
-
req.setAssistantid(assistantId);
|
|
58531
|
-
req.setName(name);
|
|
58532
|
-
req.setDescription(description);
|
|
58533
|
-
req.setFields(Struct2.fromJavaScript(fields));
|
|
58534
|
-
req.setExecutionmethod(executionMethod);
|
|
58535
|
-
executionOptions.forEach((x) => req.addExecutionoptions(x));
|
|
57948
|
+
function UpdateAssistantTool(config, req, auth) {
|
|
58536
57949
|
return new Promise((resolve, reject) => {
|
|
58537
|
-
|
|
57950
|
+
config.assistantClient.updateAssistantTool(
|
|
58538
57951
|
req,
|
|
58539
|
-
WithAuthContext(
|
|
58540
|
-
(err, response) =>
|
|
57952
|
+
WithAuthContext(auth || config.auth),
|
|
57953
|
+
(err, response) => {
|
|
57954
|
+
if (err) reject(err);
|
|
57955
|
+
else resolve(response);
|
|
57956
|
+
}
|
|
58541
57957
|
);
|
|
58542
57958
|
});
|
|
58543
57959
|
}
|
|
58544
|
-
function GetAssistantTool(
|
|
58545
|
-
const req = new import_assistant_tool_pb.GetAssistantToolRequest();
|
|
58546
|
-
req.setAssistantid(assistantId);
|
|
58547
|
-
req.setId(ToolId);
|
|
57960
|
+
function GetAssistantTool(config, req, auth) {
|
|
58548
57961
|
return new Promise((resolve, reject) => {
|
|
58549
|
-
|
|
57962
|
+
config.assistantClient.getAssistantTool(
|
|
58550
57963
|
req,
|
|
58551
|
-
WithAuthContext(
|
|
58552
|
-
(err, response) =>
|
|
57964
|
+
WithAuthContext(auth || config.auth),
|
|
57965
|
+
(err, response) => {
|
|
57966
|
+
if (err) reject(err);
|
|
57967
|
+
else resolve(response);
|
|
57968
|
+
}
|
|
58553
57969
|
);
|
|
58554
57970
|
});
|
|
58555
57971
|
}
|
|
58556
|
-
function DeleteAssistantTool(
|
|
58557
|
-
const req = new import_assistant_tool_pb.DeleteAssistantToolRequest();
|
|
58558
|
-
req.setAssistantid(assistantId);
|
|
58559
|
-
req.setId(ToolId);
|
|
57972
|
+
function DeleteAssistantTool(config, req, auth) {
|
|
58560
57973
|
return new Promise((resolve, reject) => {
|
|
58561
|
-
|
|
57974
|
+
config.assistantClient.deleteAssistantTool(
|
|
58562
57975
|
req,
|
|
58563
|
-
WithAuthContext(
|
|
58564
|
-
(err, response) =>
|
|
57976
|
+
WithAuthContext(auth || config.auth),
|
|
57977
|
+
(err, response) => {
|
|
57978
|
+
if (err) reject(err);
|
|
57979
|
+
else resolve(response);
|
|
57980
|
+
}
|
|
58565
57981
|
);
|
|
58566
57982
|
});
|
|
58567
57983
|
}
|
|
58568
|
-
function GetAllAssistantKnowledge(
|
|
58569
|
-
const req = new import_assistant_knowledge_pb.GetAllAssistantKnowledgeRequest();
|
|
58570
|
-
req.setAssistantid(assistantId);
|
|
58571
|
-
const paginate = new import_common_pb5.Paginate();
|
|
58572
|
-
criteria.forEach(({ key, value }) => {
|
|
58573
|
-
const ctr = new import_common_pb5.Criteria();
|
|
58574
|
-
ctr.setKey(key);
|
|
58575
|
-
ctr.setValue(value);
|
|
58576
|
-
req.addCriterias(ctr);
|
|
58577
|
-
});
|
|
58578
|
-
paginate.setPage(page);
|
|
58579
|
-
paginate.setPagesize(pageSize);
|
|
58580
|
-
req.setPaginate(paginate);
|
|
57984
|
+
function GetAllAssistantKnowledge(config, req, auth) {
|
|
58581
57985
|
return new Promise((resolve, reject) => {
|
|
58582
|
-
|
|
57986
|
+
config.assistantClient.getAllAssistantKnowledge(
|
|
58583
57987
|
req,
|
|
58584
|
-
WithAuthContext(
|
|
58585
|
-
(err, response) =>
|
|
57988
|
+
WithAuthContext(auth || config.auth),
|
|
57989
|
+
(err, response) => {
|
|
57990
|
+
if (err) reject(err);
|
|
57991
|
+
else resolve(response);
|
|
57992
|
+
}
|
|
58586
57993
|
);
|
|
58587
57994
|
});
|
|
58588
57995
|
}
|
|
58589
|
-
function CreateAssistantKnowledge(
|
|
58590
|
-
const req = new import_assistant_knowledge_pb.CreateAssistantKnowledgeRequest();
|
|
58591
|
-
req.setKnowledgeid(knowledgeId);
|
|
58592
|
-
req.setAssistantid(assistantId);
|
|
58593
|
-
if (config.rerankingEnable) {
|
|
58594
|
-
req.setRerankerenable(config.rerankingEnable);
|
|
58595
|
-
req.setRerankermodelproviderid(config.rerankerModelProviderId);
|
|
58596
|
-
req.setRerankermodelprovidername(config.rerankerModelProvider);
|
|
58597
|
-
req.setAssistantknowledgererankeroptionsList(config.rerankerModelOptions);
|
|
58598
|
-
}
|
|
58599
|
-
req.setTopk(config.topK);
|
|
58600
|
-
req.setScorethreshold(config.scoreThreshold);
|
|
58601
|
-
req.setRetrievalmethod(config.searchMethod);
|
|
57996
|
+
function CreateAssistantKnowledge(config, req, auth) {
|
|
58602
57997
|
return new Promise((resolve, reject) => {
|
|
58603
|
-
|
|
57998
|
+
config.assistantClient.createAssistantKnowledge(
|
|
58604
57999
|
req,
|
|
58605
|
-
WithAuthContext(
|
|
58606
|
-
(err, response) =>
|
|
58000
|
+
WithAuthContext(auth || config.auth),
|
|
58001
|
+
(err, response) => {
|
|
58002
|
+
if (err) reject(err);
|
|
58003
|
+
else resolve(response);
|
|
58004
|
+
}
|
|
58607
58005
|
);
|
|
58608
58006
|
});
|
|
58609
58007
|
}
|
|
58610
|
-
function UpdateAssistantKnowledge(
|
|
58611
|
-
const req = new import_assistant_knowledge_pb.UpdateAssistantKnowledgeRequest();
|
|
58612
|
-
req.setKnowledgeid(knowledgeId);
|
|
58613
|
-
req.setAssistantid(assistantId);
|
|
58614
|
-
req.setId(id);
|
|
58615
|
-
if (config.rerankingEnable) {
|
|
58616
|
-
req.setRerankerenable(config.rerankingEnable);
|
|
58617
|
-
req.setRerankermodelproviderid(config.rerankerModelProviderId);
|
|
58618
|
-
req.setRerankermodelprovidername(config.rerankerModelProvider);
|
|
58619
|
-
req.setAssistantknowledgererankeroptionsList(config.rerankerModelOptions);
|
|
58620
|
-
}
|
|
58621
|
-
req.setTopk(config.topK);
|
|
58622
|
-
req.setScorethreshold(config.scoreThreshold);
|
|
58623
|
-
req.setRetrievalmethod(config.searchMethod);
|
|
58008
|
+
function UpdateAssistantKnowledge(config, req, auth) {
|
|
58624
58009
|
return new Promise((resolve, reject) => {
|
|
58625
|
-
|
|
58010
|
+
config.assistantClient.updateAssistantKnowledge(
|
|
58626
58011
|
req,
|
|
58627
|
-
WithAuthContext(
|
|
58628
|
-
(err, response) =>
|
|
58012
|
+
WithAuthContext(auth || config.auth),
|
|
58013
|
+
(err, response) => {
|
|
58014
|
+
if (err) reject(err);
|
|
58015
|
+
else resolve(response);
|
|
58016
|
+
}
|
|
58629
58017
|
);
|
|
58630
58018
|
});
|
|
58631
58019
|
}
|
|
58632
|
-
function GetAssistantKnowledge(
|
|
58633
|
-
const req = new import_assistant_knowledge_pb.GetAssistantKnowledgeRequest();
|
|
58634
|
-
req.setAssistantid(assistantId);
|
|
58635
|
-
req.setId(ToolId);
|
|
58020
|
+
function GetAssistantKnowledge(config, req, auth) {
|
|
58636
58021
|
return new Promise((resolve, reject) => {
|
|
58637
|
-
|
|
58022
|
+
config.assistantClient.getAssistantKnowledge(
|
|
58638
58023
|
req,
|
|
58639
|
-
WithAuthContext(
|
|
58640
|
-
(err, response) =>
|
|
58024
|
+
WithAuthContext(auth || config.auth),
|
|
58025
|
+
(err, response) => {
|
|
58026
|
+
if (err) reject(err);
|
|
58027
|
+
else resolve(response);
|
|
58028
|
+
}
|
|
58641
58029
|
);
|
|
58642
58030
|
});
|
|
58643
58031
|
}
|
|
58644
|
-
function DeleteAssistantKnowledge(
|
|
58645
|
-
const req = new import_assistant_knowledge_pb.DeleteAssistantKnowledgeRequest();
|
|
58646
|
-
req.setAssistantid(assistantId);
|
|
58647
|
-
req.setId(knowledgeId);
|
|
58032
|
+
function DeleteAssistantKnowledge(config, req, auth) {
|
|
58648
58033
|
return new Promise((resolve, reject) => {
|
|
58649
|
-
|
|
58034
|
+
config.assistantClient.deleteAssistantKnowledge(
|
|
58650
58035
|
req,
|
|
58651
|
-
WithAuthContext(
|
|
58652
|
-
(err, response) =>
|
|
58036
|
+
WithAuthContext(auth || config.auth),
|
|
58037
|
+
(err, response) => {
|
|
58038
|
+
if (err) reject(err);
|
|
58039
|
+
else resolve(response);
|
|
58040
|
+
}
|
|
58653
58041
|
);
|
|
58654
58042
|
});
|
|
58655
58043
|
}
|
|
@@ -58777,15 +58165,15 @@ function GetAssistantWhatsappDeployment(clientCfg, req, auth) {
|
|
|
58777
58165
|
}
|
|
58778
58166
|
|
|
58779
58167
|
// src/clients/activity.ts
|
|
58780
|
-
var
|
|
58168
|
+
var import_common_pb5 = __toESM(require_common_pb());
|
|
58781
58169
|
var import_audit_logging_api_pb = __toESM(require_audit_logging_api_pb());
|
|
58782
58170
|
function GetActivities(connectionConfig, projectId, page, pageSize, criteria) {
|
|
58783
58171
|
return new Promise((resolve, reject) => {
|
|
58784
58172
|
const req = new import_audit_logging_api_pb.GetAllAuditLogRequest();
|
|
58785
58173
|
req.setProjectid(projectId);
|
|
58786
|
-
const paginate = new
|
|
58174
|
+
const paginate = new import_common_pb5.Paginate();
|
|
58787
58175
|
criteria.forEach(({ key, value, logic }) => {
|
|
58788
|
-
const ctr = new
|
|
58176
|
+
const ctr = new import_common_pb5.Criteria();
|
|
58789
58177
|
ctr.setKey(key);
|
|
58790
58178
|
ctr.setValue(value);
|
|
58791
58179
|
ctr.setLogic(logic);
|
|
@@ -58821,25 +58209,11 @@ function GetActivity(connectionConfig, projectId, auditId) {
|
|
|
58821
58209
|
}
|
|
58822
58210
|
|
|
58823
58211
|
// src/clients/endpoint.ts
|
|
58824
|
-
|
|
58825
|
-
var import_endpoint_api_pb = __toESM(require_endpoint_api_pb());
|
|
58826
|
-
function GetAllEndpoint(config, page, pageSize, criteria) {
|
|
58212
|
+
function GetAllEndpoint(config, req, auth) {
|
|
58827
58213
|
return new Promise((resolve, reject) => {
|
|
58828
|
-
const req = new import_endpoint_api_pb.GetAllEndpointRequest();
|
|
58829
|
-
const paginate = new import_common_pb8.Paginate();
|
|
58830
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
58831
|
-
const ctr = new import_common_pb8.Criteria();
|
|
58832
|
-
ctr.setKey(key);
|
|
58833
|
-
ctr.setValue(value);
|
|
58834
|
-
ctr.setLogic(logic);
|
|
58835
|
-
req.addCriterias(ctr);
|
|
58836
|
-
});
|
|
58837
|
-
paginate.setPage(page);
|
|
58838
|
-
paginate.setPagesize(pageSize);
|
|
58839
|
-
req.setPaginate(paginate);
|
|
58840
58214
|
config.endpointClient.getAllEndpoint(
|
|
58841
58215
|
req,
|
|
58842
|
-
WithAuthContext(config.auth),
|
|
58216
|
+
WithAuthContext(auth || config.auth),
|
|
58843
58217
|
(err, response) => {
|
|
58844
58218
|
if (err) reject(err);
|
|
58845
58219
|
else resolve(response);
|
|
@@ -58847,14 +58221,11 @@ function GetAllEndpoint(config, page, pageSize, criteria) {
|
|
|
58847
58221
|
);
|
|
58848
58222
|
});
|
|
58849
58223
|
}
|
|
58850
|
-
function UpdateEndpointVersion(config,
|
|
58224
|
+
function UpdateEndpointVersion(config, req, auth) {
|
|
58851
58225
|
return new Promise((resolve, reject) => {
|
|
58852
|
-
const req = new import_endpoint_api_pb.UpdateEndpointVersionRequest();
|
|
58853
|
-
req.setEndpointid(endpointId);
|
|
58854
|
-
req.setEndpointprovidermodelid(endpointProviderModelId);
|
|
58855
58226
|
config.endpointClient.updateEndpointVersion(
|
|
58856
58227
|
req,
|
|
58857
|
-
WithAuthContext(config.auth),
|
|
58228
|
+
WithAuthContext(auth || config.auth),
|
|
58858
58229
|
(err, response) => {
|
|
58859
58230
|
if (err) reject(err);
|
|
58860
58231
|
else resolve(response);
|
|
@@ -58862,23 +58233,11 @@ function UpdateEndpointVersion(config, endpointId, endpointProviderModelId) {
|
|
|
58862
58233
|
);
|
|
58863
58234
|
});
|
|
58864
58235
|
}
|
|
58865
|
-
function GetAllEndpointProviderModel(config,
|
|
58236
|
+
function GetAllEndpointProviderModel(config, req, auth) {
|
|
58866
58237
|
return new Promise((resolve, reject) => {
|
|
58867
|
-
const req = new import_endpoint_api_pb.GetAllEndpointProviderModelRequest();
|
|
58868
|
-
req.setEndpointid(endpointId);
|
|
58869
|
-
const paginate = new import_common_pb8.Paginate();
|
|
58870
|
-
criteria.forEach(({ key, value }) => {
|
|
58871
|
-
const ctr = new import_common_pb8.Criteria();
|
|
58872
|
-
ctr.setKey(key);
|
|
58873
|
-
ctr.setValue(value);
|
|
58874
|
-
req.addCriterias(ctr);
|
|
58875
|
-
});
|
|
58876
|
-
paginate.setPage(page);
|
|
58877
|
-
paginate.setPagesize(pageSize);
|
|
58878
|
-
req.setPaginate(paginate);
|
|
58879
58238
|
config.endpointClient.getAllEndpointProviderModel(
|
|
58880
58239
|
req,
|
|
58881
|
-
WithAuthContext(config.auth),
|
|
58240
|
+
WithAuthContext(auth || config.auth),
|
|
58882
58241
|
(err, response) => {
|
|
58883
58242
|
if (err) reject(err);
|
|
58884
58243
|
else resolve(response);
|
|
@@ -58886,31 +58245,11 @@ function GetAllEndpointProviderModel(config, endpointId, page, pageSize, criteri
|
|
|
58886
58245
|
);
|
|
58887
58246
|
});
|
|
58888
58247
|
}
|
|
58889
|
-
function GetEndpoint(config,
|
|
58248
|
+
function GetEndpoint(config, req, auth) {
|
|
58890
58249
|
return new Promise((resolve, reject) => {
|
|
58891
|
-
const req = new import_endpoint_api_pb.GetEndpointRequest();
|
|
58892
|
-
req.setId(endpointId);
|
|
58893
|
-
if (endpointProviderModelId) {
|
|
58894
|
-
req.setEndpointprovidermodelid(endpointProviderModelId);
|
|
58895
|
-
}
|
|
58896
58250
|
config.endpointClient.getEndpoint(
|
|
58897
58251
|
req,
|
|
58898
|
-
WithAuthContext(config.auth),
|
|
58899
|
-
(err, response) => {
|
|
58900
|
-
if (err) reject(err);
|
|
58901
|
-
else resolve(response);
|
|
58902
|
-
}
|
|
58903
|
-
);
|
|
58904
|
-
});
|
|
58905
|
-
}
|
|
58906
|
-
function CreateEndpointProviderModel(config, endpointId, endpointProviderModel) {
|
|
58907
|
-
return new Promise((resolve, reject) => {
|
|
58908
|
-
const req = new import_endpoint_api_pb.CreateEndpointProviderModelRequest();
|
|
58909
|
-
req.setEndpointid(endpointId);
|
|
58910
|
-
req.setEndpointprovidermodelattribute(endpointProviderModel);
|
|
58911
|
-
config.endpointClient.createEndpointProviderModel(
|
|
58912
|
-
req,
|
|
58913
|
-
WithAuthContext(config.auth),
|
|
58252
|
+
WithAuthContext(auth || config.auth),
|
|
58914
58253
|
(err, response) => {
|
|
58915
58254
|
if (err) reject(err);
|
|
58916
58255
|
else resolve(response);
|
|
@@ -58918,113 +58257,11 @@ function CreateEndpointProviderModel(config, endpointId, endpointProviderModel)
|
|
|
58918
58257
|
);
|
|
58919
58258
|
});
|
|
58920
58259
|
}
|
|
58921
|
-
function
|
|
58260
|
+
function CreateEndpointRetryConfiguration(config, req, auth) {
|
|
58922
58261
|
return new Promise((resolve, reject) => {
|
|
58923
|
-
const req = new import_endpoint_api_pb.CreateEndpointRequest();
|
|
58924
|
-
req.setEndpointattribute(endpointAttributes);
|
|
58925
|
-
req.setEndpointprovidermodelattribute(endpointProviderModel);
|
|
58926
|
-
if (cacheConfig) req.setCacheconfiguration(cacheConfig);
|
|
58927
|
-
if (retryConfig) req.setRetryconfiguration(retryConfig);
|
|
58928
|
-
req.setTagsList(tags);
|
|
58929
|
-
config.endpointClient.createEndpoint(
|
|
58930
|
-
req,
|
|
58931
|
-
WithAuthContext(config.auth),
|
|
58932
|
-
(err, response) => {
|
|
58933
|
-
if (err) reject(err);
|
|
58934
|
-
else resolve(response);
|
|
58935
|
-
}
|
|
58936
|
-
);
|
|
58937
|
-
});
|
|
58938
|
-
}
|
|
58939
|
-
function CreateEndpointTag(config, endpointId, tags) {
|
|
58940
|
-
return new Promise((resolve, reject) => {
|
|
58941
|
-
const req = new import_endpoint_api_pb.CreateEndpointTagRequest();
|
|
58942
|
-
req.setTagsList(tags);
|
|
58943
|
-
req.setEndpointid(endpointId);
|
|
58944
|
-
config.endpointClient.createEndpointTag(
|
|
58945
|
-
req,
|
|
58946
|
-
WithAuthContext(config.auth),
|
|
58947
|
-
(err, response) => {
|
|
58948
|
-
if (err) reject(err);
|
|
58949
|
-
else resolve(response);
|
|
58950
|
-
}
|
|
58951
|
-
);
|
|
58952
|
-
});
|
|
58953
|
-
}
|
|
58954
|
-
function UpdateEndpointDetail(config, endpointId, name, description) {
|
|
58955
|
-
return new Promise((resolve, reject) => {
|
|
58956
|
-
const req = new import_endpoint_api_pb.UpdateEndpointDetailRequest();
|
|
58957
|
-
req.setName(name);
|
|
58958
|
-
req.setDescription(description);
|
|
58959
|
-
req.setEndpointid(endpointId);
|
|
58960
|
-
config.endpointClient.updateEndpointDetail(
|
|
58961
|
-
req,
|
|
58962
|
-
WithAuthContext(config.auth),
|
|
58963
|
-
(err, response) => {
|
|
58964
|
-
if (err) reject(err);
|
|
58965
|
-
else resolve(response);
|
|
58966
|
-
}
|
|
58967
|
-
);
|
|
58968
|
-
});
|
|
58969
|
-
}
|
|
58970
|
-
function CreateEndpointRetryConfiguration(config, endpointId, retryType, maxAttempts, delaySeconds, exponentialBackoff, retryables) {
|
|
58971
|
-
return new Promise((resolve, reject) => {
|
|
58972
|
-
const request = new import_endpoint_api_pb.CreateEndpointRetryConfigurationRequest();
|
|
58973
|
-
const data = new import_endpoint_api_pb.EndpointRetryConfiguration();
|
|
58974
|
-
data.setRetryablesList(retryables);
|
|
58975
|
-
data.setExponentialbackoff(exponentialBackoff);
|
|
58976
|
-
data.setDelayseconds(delaySeconds);
|
|
58977
|
-
data.setMaxattempts(maxAttempts);
|
|
58978
|
-
data.setRetrytype(retryType);
|
|
58979
|
-
request.setEndpointid(endpointId);
|
|
58980
|
-
request.setData(data);
|
|
58981
58262
|
config.endpointClient.createEndpointRetryConfiguration(
|
|
58982
|
-
request,
|
|
58983
|
-
WithAuthContext(config.auth),
|
|
58984
|
-
(err, response) => {
|
|
58985
|
-
if (err) reject(err);
|
|
58986
|
-
else resolve(response);
|
|
58987
|
-
}
|
|
58988
|
-
);
|
|
58989
|
-
});
|
|
58990
|
-
}
|
|
58991
|
-
function CreateEndpointCacheConfiguration(config, endpointId, cacheType, expiryInterval, matchThreshold) {
|
|
58992
|
-
return new Promise((resolve, reject) => {
|
|
58993
|
-
const request = new import_endpoint_api_pb.CreateEndpointCacheConfigurationRequest();
|
|
58994
|
-
const data = new import_endpoint_api_pb.EndpointCacheConfiguration();
|
|
58995
|
-
data.setMatchthreshold(matchThreshold);
|
|
58996
|
-
data.setExpiryinterval(expiryInterval);
|
|
58997
|
-
data.setCachetype(cacheType);
|
|
58998
|
-
request.setEndpointid(endpointId);
|
|
58999
|
-
request.setData(data);
|
|
59000
|
-
config.endpointClient.createEndpointCacheConfiguration(
|
|
59001
|
-
request,
|
|
59002
|
-
WithAuthContext(config.auth),
|
|
59003
|
-
(err, response) => {
|
|
59004
|
-
if (err) reject(err);
|
|
59005
|
-
else resolve(response);
|
|
59006
|
-
}
|
|
59007
|
-
);
|
|
59008
|
-
});
|
|
59009
|
-
}
|
|
59010
|
-
function GetAllEndpointLog(config, endpointId, page, pageSize, criteria) {
|
|
59011
|
-
return new Promise((resolve, reject) => {
|
|
59012
|
-
const req = new import_endpoint_api_pb.GetAllEndpointLogRequest();
|
|
59013
|
-
req.setEndpointid(endpointId);
|
|
59014
|
-
const paginate = new import_common_pb8.Paginate();
|
|
59015
|
-
criteria.forEach(({ key, value, logic }) => {
|
|
59016
|
-
const ctr = new import_common_pb8.Criteria();
|
|
59017
|
-
ctr.setKey(key);
|
|
59018
|
-
ctr.setValue(value);
|
|
59019
|
-
ctr.setLogic(logic);
|
|
59020
|
-
req.addCriterias(ctr);
|
|
59021
|
-
});
|
|
59022
|
-
paginate.setPage(page);
|
|
59023
|
-
paginate.setPagesize(pageSize);
|
|
59024
|
-
req.setPaginate(paginate);
|
|
59025
|
-
config.endpointClient.getAllEndpointLog(
|
|
59026
58263
|
req,
|
|
59027
|
-
WithAuthContext(config.auth),
|
|
58264
|
+
WithAuthContext(auth || config.auth),
|
|
59028
58265
|
(err, response) => {
|
|
59029
58266
|
if (err) reject(err);
|
|
59030
58267
|
else resolve(response);
|
|
@@ -59032,14 +58269,11 @@ function GetAllEndpointLog(config, endpointId, page, pageSize, criteria) {
|
|
|
59032
58269
|
);
|
|
59033
58270
|
});
|
|
59034
58271
|
}
|
|
59035
|
-
function GetEndpointLog(config,
|
|
58272
|
+
function GetEndpointLog(config, req, auth) {
|
|
59036
58273
|
return new Promise((resolve, reject) => {
|
|
59037
|
-
const req = new import_endpoint_api_pb.GetEndpointLogRequest();
|
|
59038
|
-
req.setEndpointid(endpointId);
|
|
59039
|
-
req.setId(logId);
|
|
59040
58274
|
config.endpointClient.getEndpointLog(
|
|
59041
58275
|
req,
|
|
59042
|
-
WithAuthContext(config.auth),
|
|
58276
|
+
WithAuthContext(auth || config.auth),
|
|
59043
58277
|
(err, response) => {
|
|
59044
58278
|
if (err) reject(err);
|
|
59045
58279
|
else resolve(response);
|
|
@@ -59050,14 +58284,14 @@ function GetEndpointLog(config, endpointId, logId) {
|
|
|
59050
58284
|
|
|
59051
58285
|
// src/clients/vault.ts
|
|
59052
58286
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
59053
|
-
var
|
|
59054
|
-
import { Struct as
|
|
58287
|
+
var import_common_pb6 = __toESM(require_common_pb());
|
|
58288
|
+
import { Struct as Struct2 } from "google-protobuf/google/protobuf/struct_pb";
|
|
59055
58289
|
function CreateProviderKey(connectionConfig, providerId, providerName, credential, name, authHeader) {
|
|
59056
58290
|
return new Promise((resolve, reject) => {
|
|
59057
58291
|
const requestObject = new import_vault_api_pb.CreateProviderCredentialRequest();
|
|
59058
58292
|
requestObject.setProviderid(providerId);
|
|
59059
58293
|
requestObject.setProvidername(providerName);
|
|
59060
|
-
requestObject.setCredential(
|
|
58294
|
+
requestObject.setCredential(Struct2.fromJavaScript(credential));
|
|
59061
58295
|
requestObject.setName(name);
|
|
59062
58296
|
connectionConfig.vaultClient.createProviderCredential(
|
|
59063
58297
|
requestObject,
|
|
@@ -59086,9 +58320,9 @@ function DeleteProviderKey(connectionConfig, providerKeyId, authHeader) {
|
|
|
59086
58320
|
function AllOrganizationCredential(connectionConfig, page, pageSize, criteria, authHeader) {
|
|
59087
58321
|
return new Promise((resolve, reject) => {
|
|
59088
58322
|
const req = new import_vault_api_pb.GetAllOrganizationCredentialRequest();
|
|
59089
|
-
const paginate = new
|
|
58323
|
+
const paginate = new import_common_pb6.Paginate();
|
|
59090
58324
|
criteria.forEach((x) => {
|
|
59091
|
-
let ctr = new
|
|
58325
|
+
let ctr = new import_common_pb6.Criteria();
|
|
59092
58326
|
ctr.setKey(x.key);
|
|
59093
58327
|
ctr.setValue(x.value);
|
|
59094
58328
|
req.addCriterias(ctr);
|
|
@@ -59111,7 +58345,7 @@ function CreateToolCredential(connectionConfig, toolId, toolName, credential, na
|
|
|
59111
58345
|
const requestObject = new import_vault_api_pb.CreateToolCredentialRequest();
|
|
59112
58346
|
requestObject.setToolid(toolId);
|
|
59113
58347
|
requestObject.setToolname(toolName);
|
|
59114
|
-
requestObject.setCredential(
|
|
58348
|
+
requestObject.setCredential(Struct2.fromJavaScript(credential));
|
|
59115
58349
|
requestObject.setName(name);
|
|
59116
58350
|
connectionConfig.vaultClient.createToolCredential(
|
|
59117
58351
|
requestObject,
|
|
@@ -59125,8 +58359,8 @@ function CreateToolCredential(connectionConfig, toolId, toolName, credential, na
|
|
|
59125
58359
|
}
|
|
59126
58360
|
|
|
59127
58361
|
// src/clients/talk.ts
|
|
59128
|
-
var
|
|
59129
|
-
var
|
|
58362
|
+
var import_common_pb7 = __toESM(require_common_pb());
|
|
58363
|
+
var import_common_pb8 = __toESM(require_common_pb());
|
|
59130
58364
|
var import_talk_api_pb = __toESM(require_talk_api_pb());
|
|
59131
58365
|
var import_talk_api_pb2 = __toESM(require_talk_api_pb());
|
|
59132
58366
|
function AssistantTalk(conversationStreamClient, authHeader) {
|
|
@@ -59139,7 +58373,7 @@ function CreateMessageMetric(connectionConfig, assistantId, assistantConversatio
|
|
|
59139
58373
|
req.setAssistantconversationid(assistantConversationId);
|
|
59140
58374
|
req.setMessageid(messageId);
|
|
59141
58375
|
for (var mtr of metrics) {
|
|
59142
|
-
const _m = new
|
|
58376
|
+
const _m = new import_common_pb7.Metric();
|
|
59143
58377
|
_m.setName(mtr.name);
|
|
59144
58378
|
_m.setValue(mtr.value);
|
|
59145
58379
|
_m.setDescription(mtr.description);
|
|
@@ -59161,7 +58395,7 @@ function CreateConversationMetric(connectionConfig, assistantId, assistantConver
|
|
|
59161
58395
|
req.setAssistantid(assistantId);
|
|
59162
58396
|
req.setAssistantconversationid(assistantConversationId);
|
|
59163
58397
|
for (var mtr of metrics) {
|
|
59164
|
-
const _m = new
|
|
58398
|
+
const _m = new import_common_pb7.Metric();
|
|
59165
58399
|
_m.setName(mtr.name);
|
|
59166
58400
|
_m.setValue(mtr.value);
|
|
59167
58401
|
_m.setDescription(mtr.description);
|
|
@@ -59177,33 +58411,9 @@ function CreateConversationMetric(connectionConfig, assistantId, assistantConver
|
|
|
59177
58411
|
);
|
|
59178
58412
|
});
|
|
59179
58413
|
}
|
|
59180
|
-
function GetAllAssistantConversation(connectionConfig, assistantId, page, pageSize, criteria) {
|
|
59181
|
-
return new Promise((resolve, reject) => {
|
|
59182
|
-
const req = new import_common_pb10.GetAllAssistantConversationRequest();
|
|
59183
|
-
req.setAssistantid(assistantId);
|
|
59184
|
-
const paginate = new import_common_pb11.Paginate();
|
|
59185
|
-
criteria.forEach((x) => {
|
|
59186
|
-
let ctr = new import_common_pb11.Criteria();
|
|
59187
|
-
ctr.setKey(x.key);
|
|
59188
|
-
ctr.setValue(x.value);
|
|
59189
|
-
req.addCriterias(ctr);
|
|
59190
|
-
});
|
|
59191
|
-
paginate.setPage(page);
|
|
59192
|
-
paginate.setPagesize(pageSize);
|
|
59193
|
-
req.setPaginate(paginate);
|
|
59194
|
-
connectionConfig.conversationClient.getAllAssistantConversation(
|
|
59195
|
-
req,
|
|
59196
|
-
WithAuthContext(connectionConfig.auth),
|
|
59197
|
-
(err, uvcr) => {
|
|
59198
|
-
if (err) reject(err);
|
|
59199
|
-
else resolve(uvcr);
|
|
59200
|
-
}
|
|
59201
|
-
);
|
|
59202
|
-
});
|
|
59203
|
-
}
|
|
59204
58414
|
|
|
59205
58415
|
// src/clients/knowledge.ts
|
|
59206
|
-
var
|
|
58416
|
+
var import_common_pb9 = __toESM(require_common_pb());
|
|
59207
58417
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
59208
58418
|
var import_knowledge_api_pb2 = __toESM(require_knowledge_api_pb());
|
|
59209
58419
|
function CreateKnowledge(config, provider, name, description, tags) {
|
|
@@ -59242,9 +58452,9 @@ function GetKnowledgeBase(config, knowledgeBaseId) {
|
|
|
59242
58452
|
function GetAllKnowledgeBases(config, page, pageSize, criteria) {
|
|
59243
58453
|
return new Promise((resolve, reject) => {
|
|
59244
58454
|
const req = new import_knowledge_api_pb.GetAllKnowledgeRequest();
|
|
59245
|
-
const paginate = new
|
|
58455
|
+
const paginate = new import_common_pb9.Paginate();
|
|
59246
58456
|
criteria.forEach(({ key, value, logic }) => {
|
|
59247
|
-
const ctr = new
|
|
58457
|
+
const ctr = new import_common_pb9.Criteria();
|
|
59248
58458
|
ctr.setKey(key);
|
|
59249
58459
|
ctr.setValue(value);
|
|
59250
58460
|
ctr.setLogic(logic);
|
|
@@ -59296,9 +58506,9 @@ function GetAllKnowledgeDocument(config, knowledgeId, page, pageSize, criteria)
|
|
|
59296
58506
|
return new Promise((resolve, reject) => {
|
|
59297
58507
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentRequest();
|
|
59298
58508
|
req.setKnowledgeid(knowledgeId);
|
|
59299
|
-
const paginate = new
|
|
58509
|
+
const paginate = new import_common_pb9.Paginate();
|
|
59300
58510
|
criteria.forEach(({ key, value }) => {
|
|
59301
|
-
const ctr = new
|
|
58511
|
+
const ctr = new import_common_pb9.Criteria();
|
|
59302
58512
|
ctr.setKey(key);
|
|
59303
58513
|
ctr.setValue(value);
|
|
59304
58514
|
req.addCriterias(ctr);
|
|
@@ -59320,9 +58530,9 @@ function GetAllKnowledgeDocumentSegment(config, knowledgeId, page, pageSize, cri
|
|
|
59320
58530
|
return new Promise((resolve, reject) => {
|
|
59321
58531
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentSegmentRequest();
|
|
59322
58532
|
req.setKnowledgeid(knowledgeId);
|
|
59323
|
-
const paginate = new
|
|
58533
|
+
const paginate = new import_common_pb9.Paginate();
|
|
59324
58534
|
criteria.forEach(({ key, value }) => {
|
|
59325
|
-
const ctr = new
|
|
58535
|
+
const ctr = new import_common_pb9.Criteria();
|
|
59326
58536
|
ctr.setKey(key);
|
|
59327
58537
|
ctr.setValue(value);
|
|
59328
58538
|
req.addCriterias(ctr);
|
|
@@ -59415,7 +58625,7 @@ function UpdateKnowledgeDocumentSegment(config, documentId, index, organizations
|
|
|
59415
58625
|
|
|
59416
58626
|
// src/clients/project.ts
|
|
59417
58627
|
var import_web_api_pb3 = __toESM(require_web_api_pb());
|
|
59418
|
-
var
|
|
58628
|
+
var import_common_pb10 = __toESM(require_common_pb());
|
|
59419
58629
|
function AddUsersToProject(connectionConfig, email, role, projectIds, authHeader) {
|
|
59420
58630
|
return new Promise((resolve, reject) => {
|
|
59421
58631
|
const requestObject = new import_web_api_pb3.AddUsersToProjectRequest();
|
|
@@ -59467,9 +58677,9 @@ function UpdateProject(connectionConfig, projectId, authHeader, projectName, pro
|
|
|
59467
58677
|
function GetAllProject(connectionConfig, page, pageSize, criteria, authHeader) {
|
|
59468
58678
|
return new Promise((resolve, reject) => {
|
|
59469
58679
|
const req = new import_web_api_pb3.GetAllProjectRequest();
|
|
59470
|
-
const paginate = new
|
|
58680
|
+
const paginate = new import_common_pb10.Paginate();
|
|
59471
58681
|
criteria.forEach(({ key, value }) => {
|
|
59472
|
-
const ctr = new
|
|
58682
|
+
const ctr = new import_common_pb10.Criteria();
|
|
59473
58683
|
ctr.setKey(key);
|
|
59474
58684
|
ctr.setValue(value);
|
|
59475
58685
|
req.addCriterias(ctr);
|
|
@@ -59546,25 +58756,25 @@ function CreateProjectCredential(connectionConfig, projectId, name, authHeader)
|
|
|
59546
58756
|
}
|
|
59547
58757
|
|
|
59548
58758
|
// src/index.ts
|
|
59549
|
-
var
|
|
58759
|
+
var import_assistant_knowledge_pb = __toESM(require_assistant_knowledge_pb());
|
|
59550
58760
|
var import_marketplace_api_pb2 = __toESM(require_marketplace_api_pb());
|
|
59551
58761
|
var import_audit_logging_api_pb2 = __toESM(require_audit_logging_api_pb());
|
|
59552
58762
|
var import_provider_api_pb2 = __toESM(require_provider_api_pb());
|
|
59553
58763
|
var import_vault_api_pb2 = __toESM(require_vault_api_pb());
|
|
59554
58764
|
var import_talk_api_pb3 = __toESM(require_talk_api_pb());
|
|
59555
|
-
var
|
|
58765
|
+
var import_assistant_analysis_pb = __toESM(require_assistant_analysis_pb());
|
|
59556
58766
|
var import_sendgrid_api_pb = __toESM(require_sendgrid_api_pb());
|
|
59557
|
-
var
|
|
58767
|
+
var import_invoker_api_pb = __toESM(require_invoker_api_pb());
|
|
59558
58768
|
var import_web_api_pb4 = __toESM(require_web_api_pb());
|
|
59559
|
-
var
|
|
59560
|
-
var
|
|
58769
|
+
var import_common_pb11 = __toESM(require_common_pb());
|
|
58770
|
+
var import_assistant_webhook_pb = __toESM(require_assistant_webhook_pb());
|
|
59561
58771
|
var import_connect_api_pb2 = __toESM(require_connect_api_pb());
|
|
59562
|
-
var
|
|
59563
|
-
var
|
|
58772
|
+
var import_endpoint_api_pb = __toESM(require_endpoint_api_pb());
|
|
58773
|
+
var import_assistant_tool_pb = __toESM(require_assistant_tool_pb());
|
|
59564
58774
|
var import_integration_api_pb = __toESM(require_integration_api_pb());
|
|
59565
58775
|
var import_assistant_deployment_pb = __toESM(require_assistant_deployment_pb());
|
|
59566
58776
|
var import_knowledge_api_pb3 = __toESM(require_knowledge_api_pb());
|
|
59567
|
-
var
|
|
58777
|
+
var import_assistant_api_pb = __toESM(require_assistant_api_pb());
|
|
59568
58778
|
|
|
59569
58779
|
// src/clients/call.ts
|
|
59570
58780
|
function CreatePhoneCall(clientCfg, request) {
|
|
@@ -59598,31 +58808,31 @@ var export_ActionConnectRequest = import_connect_api_pb2.ActionConnectRequest;
|
|
|
59598
58808
|
var export_ActionConnectResponse = import_connect_api_pb2.ActionConnectResponse;
|
|
59599
58809
|
var export_AddUsersToProjectRequest = import_web_api_pb4.AddUsersToProjectRequest;
|
|
59600
58810
|
var export_AddUsersToProjectResponse = import_web_api_pb4.AddUsersToProjectResponse;
|
|
59601
|
-
var export_AggregatedEndpointAnalytics =
|
|
58811
|
+
var export_AggregatedEndpointAnalytics = import_endpoint_api_pb.AggregatedEndpointAnalytics;
|
|
59602
58812
|
var export_ArchiveProjectRequest = import_web_api_pb4.ArchiveProjectRequest;
|
|
59603
58813
|
var export_ArchiveProjectResponse = import_web_api_pb4.ArchiveProjectResponse;
|
|
59604
|
-
var export_Argument =
|
|
59605
|
-
var export_Assistant =
|
|
59606
|
-
var export_AssistantAnalysis =
|
|
58814
|
+
var export_Argument = import_common_pb11.Argument;
|
|
58815
|
+
var export_Assistant = import_assistant_api_pb.Assistant;
|
|
58816
|
+
var export_AssistantAnalysis = import_assistant_analysis_pb.AssistantAnalysis;
|
|
59607
58817
|
var export_AssistantApiDeployment = import_assistant_deployment_pb.AssistantApiDeployment;
|
|
59608
|
-
var export_AssistantConversation =
|
|
58818
|
+
var export_AssistantConversation = import_common_pb11.AssistantConversation;
|
|
59609
58819
|
var export_AssistantConversationAssistantMessage = import_talk_api_pb3.AssistantConversationAssistantMessage;
|
|
59610
58820
|
var export_AssistantConversationConfiguration = import_talk_api_pb3.AssistantConversationConfiguration;
|
|
59611
|
-
var export_AssistantConversationContext =
|
|
58821
|
+
var export_AssistantConversationContext = import_common_pb11.AssistantConversationContext;
|
|
59612
58822
|
var export_AssistantConversationInterruption = import_talk_api_pb3.AssistantConversationInterruption;
|
|
59613
|
-
var export_AssistantConversationMessage =
|
|
58823
|
+
var export_AssistantConversationMessage = import_common_pb11.AssistantConversationMessage;
|
|
59614
58824
|
var export_AssistantConversationUserMessage = import_talk_api_pb3.AssistantConversationUserMessage;
|
|
59615
58825
|
var export_AssistantDebuggerDeployment = import_assistant_deployment_pb.AssistantDebuggerDeployment;
|
|
59616
58826
|
var export_AssistantDefinition = import_talk_api_pb3.AssistantDefinition;
|
|
59617
|
-
var export_AssistantKnowledge =
|
|
59618
|
-
var export_AssistantMessageStage =
|
|
58827
|
+
var export_AssistantKnowledge = import_assistant_knowledge_pb.AssistantKnowledge;
|
|
58828
|
+
var export_AssistantMessageStage = import_common_pb11.AssistantMessageStage;
|
|
59619
58829
|
var export_AssistantMessagingRequest = import_talk_api_pb3.AssistantMessagingRequest;
|
|
59620
58830
|
var export_AssistantMessagingResponse = import_talk_api_pb3.AssistantMessagingResponse;
|
|
59621
58831
|
var export_AssistantPhoneDeployment = import_assistant_deployment_pb.AssistantPhoneDeployment;
|
|
59622
|
-
var export_AssistantProviderModel =
|
|
59623
|
-
var export_AssistantTool =
|
|
59624
|
-
var export_AssistantWebhook =
|
|
59625
|
-
var export_AssistantWebhookLog =
|
|
58832
|
+
var export_AssistantProviderModel = import_assistant_api_pb.AssistantProviderModel;
|
|
58833
|
+
var export_AssistantTool = import_assistant_tool_pb.AssistantTool;
|
|
58834
|
+
var export_AssistantWebhook = import_assistant_webhook_pb.AssistantWebhook;
|
|
58835
|
+
var export_AssistantWebhookLog = import_assistant_webhook_pb.AssistantWebhookLog;
|
|
59626
58836
|
var export_AssistantWebpluginDeployment = import_assistant_deployment_pb.AssistantWebpluginDeployment;
|
|
59627
58837
|
var export_AssistantWhatsappDeployment = import_assistant_deployment_pb.AssistantWhatsappDeployment;
|
|
59628
58838
|
var export_AuditLog = import_audit_logging_api_pb2.AuditLog;
|
|
@@ -59631,31 +58841,31 @@ var export_AuthenticateResponse = import_web_api_pb4.AuthenticateResponse;
|
|
|
59631
58841
|
var export_Authentication = import_web_api_pb4.Authentication;
|
|
59632
58842
|
var export_AuthenticationError = import_web_api_pb4.AuthenticationError;
|
|
59633
58843
|
var export_AuthorizeRequest = import_web_api_pb4.AuthorizeRequest;
|
|
59634
|
-
var export_BaseResponse =
|
|
58844
|
+
var export_BaseResponse = import_common_pb11.BaseResponse;
|
|
59635
58845
|
var export_ChatRequest = import_integration_api_pb.ChatRequest;
|
|
59636
58846
|
var export_ChatResponse = import_integration_api_pb.ChatResponse;
|
|
59637
58847
|
var export_Contact = import_sendgrid_api_pb.Contact;
|
|
59638
|
-
var export_Content =
|
|
59639
|
-
var export_CreateAssistantAnalysisRequest =
|
|
59640
|
-
var export_CreateAssistantKnowledgeRequest =
|
|
59641
|
-
var export_CreateAssistantProviderModelRequest =
|
|
59642
|
-
var export_CreateAssistantRequest =
|
|
59643
|
-
var export_CreateAssistantTagRequest =
|
|
59644
|
-
var export_CreateAssistantToolRequest =
|
|
59645
|
-
var export_CreateAssistantWebhookRequest =
|
|
58848
|
+
var export_Content = import_common_pb11.Content;
|
|
58849
|
+
var export_CreateAssistantAnalysisRequest = import_assistant_analysis_pb.CreateAssistantAnalysisRequest;
|
|
58850
|
+
var export_CreateAssistantKnowledgeRequest = import_assistant_knowledge_pb.CreateAssistantKnowledgeRequest;
|
|
58851
|
+
var export_CreateAssistantProviderModelRequest = import_assistant_api_pb.CreateAssistantProviderModelRequest;
|
|
58852
|
+
var export_CreateAssistantRequest = import_assistant_api_pb.CreateAssistantRequest;
|
|
58853
|
+
var export_CreateAssistantTagRequest = import_assistant_api_pb.CreateAssistantTagRequest;
|
|
58854
|
+
var export_CreateAssistantToolRequest = import_assistant_tool_pb.CreateAssistantToolRequest;
|
|
58855
|
+
var export_CreateAssistantWebhookRequest = import_assistant_webhook_pb.CreateAssistantWebhookRequest;
|
|
59646
58856
|
var export_CreateBulkPhoneCallRequest = import_talk_api_pb4.CreateBulkPhoneCallRequest;
|
|
59647
58857
|
var export_CreateBulkPhoneCallResponse = import_talk_api_pb4.CreateBulkPhoneCallResponse;
|
|
59648
58858
|
var export_CreateConversationMetricRequest = import_talk_api_pb3.CreateConversationMetricRequest;
|
|
59649
58859
|
var export_CreateConversationMetricResponse = import_talk_api_pb3.CreateConversationMetricResponse;
|
|
59650
|
-
var export_CreateEndpointCacheConfigurationRequest =
|
|
59651
|
-
var export_CreateEndpointCacheConfigurationResponse =
|
|
59652
|
-
var export_CreateEndpointProviderModelRequest =
|
|
59653
|
-
var export_CreateEndpointProviderModelResponse =
|
|
59654
|
-
var export_CreateEndpointRequest =
|
|
59655
|
-
var export_CreateEndpointResponse =
|
|
59656
|
-
var export_CreateEndpointRetryConfigurationRequest =
|
|
59657
|
-
var export_CreateEndpointRetryConfigurationResponse =
|
|
59658
|
-
var export_CreateEndpointTagRequest =
|
|
58860
|
+
var export_CreateEndpointCacheConfigurationRequest = import_endpoint_api_pb.CreateEndpointCacheConfigurationRequest;
|
|
58861
|
+
var export_CreateEndpointCacheConfigurationResponse = import_endpoint_api_pb.CreateEndpointCacheConfigurationResponse;
|
|
58862
|
+
var export_CreateEndpointProviderModelRequest = import_endpoint_api_pb.CreateEndpointProviderModelRequest;
|
|
58863
|
+
var export_CreateEndpointProviderModelResponse = import_endpoint_api_pb.CreateEndpointProviderModelResponse;
|
|
58864
|
+
var export_CreateEndpointRequest = import_endpoint_api_pb.CreateEndpointRequest;
|
|
58865
|
+
var export_CreateEndpointResponse = import_endpoint_api_pb.CreateEndpointResponse;
|
|
58866
|
+
var export_CreateEndpointRetryConfigurationRequest = import_endpoint_api_pb.CreateEndpointRetryConfigurationRequest;
|
|
58867
|
+
var export_CreateEndpointRetryConfigurationResponse = import_endpoint_api_pb.CreateEndpointRetryConfigurationResponse;
|
|
58868
|
+
var export_CreateEndpointTagRequest = import_endpoint_api_pb.CreateEndpointTagRequest;
|
|
59659
58869
|
var export_CreateKnowledgeDocumentRequest = import_knowledge_api_pb3.CreateKnowledgeDocumentRequest;
|
|
59660
58870
|
var export_CreateKnowledgeDocumentResponse = import_knowledge_api_pb3.CreateKnowledgeDocumentResponse;
|
|
59661
58871
|
var export_CreateKnowledgeRequest = import_knowledge_api_pb3.CreateKnowledgeRequest;
|
|
@@ -59678,78 +58888,76 @@ var export_CreateProjectResponse = import_web_api_pb4.CreateProjectResponse;
|
|
|
59678
58888
|
var export_CreateProviderCredentialRequest = import_vault_api_pb2.CreateProviderCredentialRequest;
|
|
59679
58889
|
var export_CreateToolCredentialRequest = import_vault_api_pb2.CreateToolCredentialRequest;
|
|
59680
58890
|
var export_Credential = import_integration_api_pb.Credential;
|
|
59681
|
-
var export_Criteria =
|
|
59682
|
-
var export_DeleteAssistantAnalysisRequest =
|
|
59683
|
-
var export_DeleteAssistantKnowledgeRequest =
|
|
59684
|
-
var export_DeleteAssistantRequest =
|
|
59685
|
-
var export_DeleteAssistantToolRequest =
|
|
59686
|
-
var export_DeleteAssistantWebhookRequest =
|
|
58891
|
+
var export_Criteria = import_common_pb11.Criteria;
|
|
58892
|
+
var export_DeleteAssistantAnalysisRequest = import_assistant_analysis_pb.DeleteAssistantAnalysisRequest;
|
|
58893
|
+
var export_DeleteAssistantKnowledgeRequest = import_assistant_knowledge_pb.DeleteAssistantKnowledgeRequest;
|
|
58894
|
+
var export_DeleteAssistantRequest = import_assistant_api_pb.DeleteAssistantRequest;
|
|
58895
|
+
var export_DeleteAssistantToolRequest = import_assistant_tool_pb.DeleteAssistantToolRequest;
|
|
58896
|
+
var export_DeleteAssistantWebhookRequest = import_assistant_webhook_pb.DeleteAssistantWebhookRequest;
|
|
59687
58897
|
var export_DeleteCredentialRequest = import_vault_api_pb2.DeleteCredentialRequest;
|
|
59688
58898
|
var export_DeleteKnowledgeDocumentSegmentRequest = import_knowledge_api_pb3.DeleteKnowledgeDocumentSegmentRequest;
|
|
59689
58899
|
var export_DeploymentAudioProvider = import_assistant_deployment_pb.DeploymentAudioProvider;
|
|
59690
58900
|
var export_Embedding = import_integration_api_pb.Embedding;
|
|
59691
58901
|
var export_EmbeddingRequest = import_integration_api_pb.EmbeddingRequest;
|
|
59692
58902
|
var export_EmbeddingResponse = import_integration_api_pb.EmbeddingResponse;
|
|
59693
|
-
var export_Endpoint =
|
|
59694
|
-
var export_EndpointAttribute =
|
|
59695
|
-
var export_EndpointCacheConfiguration =
|
|
59696
|
-
var export_EndpointDefinition =
|
|
59697
|
-
var export_EndpointLog =
|
|
59698
|
-
var export_EndpointProviderModel =
|
|
59699
|
-
var export_EndpointProviderModelAttribute =
|
|
59700
|
-
var export_EndpointRetryConfiguration =
|
|
59701
|
-
var export_Error =
|
|
58903
|
+
var export_Endpoint = import_endpoint_api_pb.Endpoint;
|
|
58904
|
+
var export_EndpointAttribute = import_endpoint_api_pb.EndpointAttribute;
|
|
58905
|
+
var export_EndpointCacheConfiguration = import_endpoint_api_pb.EndpointCacheConfiguration;
|
|
58906
|
+
var export_EndpointDefinition = import_invoker_api_pb.EndpointDefinition;
|
|
58907
|
+
var export_EndpointLog = import_endpoint_api_pb.EndpointLog;
|
|
58908
|
+
var export_EndpointProviderModel = import_endpoint_api_pb.EndpointProviderModel;
|
|
58909
|
+
var export_EndpointProviderModelAttribute = import_endpoint_api_pb.EndpointProviderModelAttribute;
|
|
58910
|
+
var export_EndpointRetryConfiguration = import_endpoint_api_pb.EndpointRetryConfiguration;
|
|
58911
|
+
var export_Error = import_common_pb11.Error;
|
|
59702
58912
|
var export_FeaturePermission = import_web_api_pb4.FeaturePermission;
|
|
59703
|
-
var export_FieldSelector =
|
|
58913
|
+
var export_FieldSelector = import_common_pb11.FieldSelector;
|
|
59704
58914
|
var export_ForgotPasswordRequest = import_web_api_pb4.ForgotPasswordRequest;
|
|
59705
58915
|
var export_ForgotPasswordResponse = import_web_api_pb4.ForgotPasswordResponse;
|
|
59706
|
-
var export_ForkEndpointRequest =
|
|
59707
|
-
var export_FunctionCall =
|
|
58916
|
+
var export_ForkEndpointRequest = import_endpoint_api_pb.ForkEndpointRequest;
|
|
58917
|
+
var export_FunctionCall = import_common_pb11.FunctionCall;
|
|
59708
58918
|
var export_FunctionDefinition = import_integration_api_pb.FunctionDefinition;
|
|
59709
58919
|
var export_FunctionParameter = import_integration_api_pb.FunctionParameter;
|
|
59710
58920
|
var export_FunctionParameterProperty = import_integration_api_pb.FunctionParameterProperty;
|
|
59711
58921
|
var export_GeneralConnectRequest = import_connect_api_pb2.GeneralConnectRequest;
|
|
59712
58922
|
var export_GeneralConnectResponse = import_connect_api_pb2.GeneralConnectResponse;
|
|
59713
|
-
var export_GetAllAssistantAnalysisRequest =
|
|
59714
|
-
var export_GetAllAssistantAnalysisResponse =
|
|
59715
|
-
var export_GetAllAssistantConversationRequest =
|
|
59716
|
-
var export_GetAllAssistantConversationResponse =
|
|
59717
|
-
var export_GetAllAssistantKnowledgeRequest =
|
|
59718
|
-
var export_GetAllAssistantKnowledgeResponse =
|
|
59719
|
-
var export_GetAllAssistantMessageRequest =
|
|
59720
|
-
var export_GetAllAssistantMessageResponse =
|
|
59721
|
-
var export_GetAllAssistantProviderModelRequest =
|
|
59722
|
-
var export_GetAllAssistantProviderModelResponse =
|
|
59723
|
-
var export_GetAllAssistantRequest =
|
|
59724
|
-
var export_GetAllAssistantResponse =
|
|
59725
|
-
var export_GetAllAssistantToolRequest =
|
|
59726
|
-
var export_GetAllAssistantToolResponse =
|
|
59727
|
-
var
|
|
59728
|
-
var
|
|
59729
|
-
var
|
|
59730
|
-
var
|
|
59731
|
-
var export_GetAllAssistantWebhookRequest = import_assistant_webhook_pb2.GetAllAssistantWebhookRequest;
|
|
59732
|
-
var export_GetAllAssistantWebhookResponse = import_assistant_webhook_pb2.GetAllAssistantWebhookResponse;
|
|
58923
|
+
var export_GetAllAssistantAnalysisRequest = import_assistant_analysis_pb.GetAllAssistantAnalysisRequest;
|
|
58924
|
+
var export_GetAllAssistantAnalysisResponse = import_assistant_analysis_pb.GetAllAssistantAnalysisResponse;
|
|
58925
|
+
var export_GetAllAssistantConversationRequest = import_common_pb11.GetAllAssistantConversationRequest;
|
|
58926
|
+
var export_GetAllAssistantConversationResponse = import_common_pb11.GetAllAssistantConversationResponse;
|
|
58927
|
+
var export_GetAllAssistantKnowledgeRequest = import_assistant_knowledge_pb.GetAllAssistantKnowledgeRequest;
|
|
58928
|
+
var export_GetAllAssistantKnowledgeResponse = import_assistant_knowledge_pb.GetAllAssistantKnowledgeResponse;
|
|
58929
|
+
var export_GetAllAssistantMessageRequest = import_assistant_api_pb.GetAllAssistantMessageRequest;
|
|
58930
|
+
var export_GetAllAssistantMessageResponse = import_assistant_api_pb.GetAllAssistantMessageResponse;
|
|
58931
|
+
var export_GetAllAssistantProviderModelRequest = import_assistant_api_pb.GetAllAssistantProviderModelRequest;
|
|
58932
|
+
var export_GetAllAssistantProviderModelResponse = import_assistant_api_pb.GetAllAssistantProviderModelResponse;
|
|
58933
|
+
var export_GetAllAssistantRequest = import_assistant_api_pb.GetAllAssistantRequest;
|
|
58934
|
+
var export_GetAllAssistantResponse = import_assistant_api_pb.GetAllAssistantResponse;
|
|
58935
|
+
var export_GetAllAssistantToolRequest = import_assistant_tool_pb.GetAllAssistantToolRequest;
|
|
58936
|
+
var export_GetAllAssistantToolResponse = import_assistant_tool_pb.GetAllAssistantToolResponse;
|
|
58937
|
+
var export_GetAllAssistantWebhookLogRequest = import_assistant_webhook_pb.GetAllAssistantWebhookLogRequest;
|
|
58938
|
+
var export_GetAllAssistantWebhookLogResponse = import_assistant_webhook_pb.GetAllAssistantWebhookLogResponse;
|
|
58939
|
+
var export_GetAllAssistantWebhookRequest = import_assistant_webhook_pb.GetAllAssistantWebhookRequest;
|
|
58940
|
+
var export_GetAllAssistantWebhookResponse = import_assistant_webhook_pb.GetAllAssistantWebhookResponse;
|
|
59733
58941
|
var export_GetAllAuditLogRequest = import_audit_logging_api_pb2.GetAllAuditLogRequest;
|
|
59734
58942
|
var export_GetAllAuditLogResponse = import_audit_logging_api_pb2.GetAllAuditLogResponse;
|
|
59735
|
-
var export_GetAllConversationMessageRequest =
|
|
59736
|
-
var export_GetAllConversationMessageResponse =
|
|
58943
|
+
var export_GetAllConversationMessageRequest = import_common_pb11.GetAllConversationMessageRequest;
|
|
58944
|
+
var export_GetAllConversationMessageResponse = import_common_pb11.GetAllConversationMessageResponse;
|
|
59737
58945
|
var export_GetAllDeploymentRequest = import_marketplace_api_pb2.GetAllDeploymentRequest;
|
|
59738
58946
|
var export_GetAllDeploymentResponse = import_marketplace_api_pb2.GetAllDeploymentResponse;
|
|
59739
|
-
var export_GetAllEndpointLogRequest =
|
|
59740
|
-
var export_GetAllEndpointLogResponse =
|
|
59741
|
-
var export_GetAllEndpointProviderModelRequest =
|
|
59742
|
-
var export_GetAllEndpointProviderModelResponse =
|
|
59743
|
-
var export_GetAllEndpointRequest =
|
|
59744
|
-
var export_GetAllEndpointResponse =
|
|
58947
|
+
var export_GetAllEndpointLogRequest = import_endpoint_api_pb.GetAllEndpointLogRequest;
|
|
58948
|
+
var export_GetAllEndpointLogResponse = import_endpoint_api_pb.GetAllEndpointLogResponse;
|
|
58949
|
+
var export_GetAllEndpointProviderModelRequest = import_endpoint_api_pb.GetAllEndpointProviderModelRequest;
|
|
58950
|
+
var export_GetAllEndpointProviderModelResponse = import_endpoint_api_pb.GetAllEndpointProviderModelResponse;
|
|
58951
|
+
var export_GetAllEndpointRequest = import_endpoint_api_pb.GetAllEndpointRequest;
|
|
58952
|
+
var export_GetAllEndpointResponse = import_endpoint_api_pb.GetAllEndpointResponse;
|
|
59745
58953
|
var export_GetAllKnowledgeDocumentRequest = import_knowledge_api_pb3.GetAllKnowledgeDocumentRequest;
|
|
59746
58954
|
var export_GetAllKnowledgeDocumentResponse = import_knowledge_api_pb3.GetAllKnowledgeDocumentResponse;
|
|
59747
58955
|
var export_GetAllKnowledgeDocumentSegmentRequest = import_knowledge_api_pb3.GetAllKnowledgeDocumentSegmentRequest;
|
|
59748
58956
|
var export_GetAllKnowledgeDocumentSegmentResponse = import_knowledge_api_pb3.GetAllKnowledgeDocumentSegmentResponse;
|
|
59749
58957
|
var export_GetAllKnowledgeRequest = import_knowledge_api_pb3.GetAllKnowledgeRequest;
|
|
59750
58958
|
var export_GetAllKnowledgeResponse = import_knowledge_api_pb3.GetAllKnowledgeResponse;
|
|
59751
|
-
var export_GetAllMessageRequest =
|
|
59752
|
-
var export_GetAllMessageResponse =
|
|
58959
|
+
var export_GetAllMessageRequest = import_assistant_api_pb.GetAllMessageRequest;
|
|
58960
|
+
var export_GetAllMessageResponse = import_assistant_api_pb.GetAllMessageResponse;
|
|
59753
58961
|
var export_GetAllModelProviderRequest = import_provider_api_pb2.GetAllModelProviderRequest;
|
|
59754
58962
|
var export_GetAllModelProviderResponse = import_provider_api_pb2.GetAllModelProviderResponse;
|
|
59755
58963
|
var export_GetAllOrganizationCredentialRequest = import_vault_api_pb2.GetAllOrganizationCredentialRequest;
|
|
@@ -59762,31 +58970,31 @@ var export_GetAllToolProviderRequest = import_provider_api_pb2.GetAllToolProvide
|
|
|
59762
58970
|
var export_GetAllToolProviderResponse = import_provider_api_pb2.GetAllToolProviderResponse;
|
|
59763
58971
|
var export_GetAllUserRequest = import_web_api_pb4.GetAllUserRequest;
|
|
59764
58972
|
var export_GetAllUserResponse = import_web_api_pb4.GetAllUserResponse;
|
|
59765
|
-
var export_GetAssistantAnalysisRequest =
|
|
59766
|
-
var export_GetAssistantAnalysisResponse =
|
|
59767
|
-
var export_GetAssistantConversationRequest =
|
|
59768
|
-
var export_GetAssistantConversationResponse =
|
|
58973
|
+
var export_GetAssistantAnalysisRequest = import_assistant_analysis_pb.GetAssistantAnalysisRequest;
|
|
58974
|
+
var export_GetAssistantAnalysisResponse = import_assistant_analysis_pb.GetAssistantAnalysisResponse;
|
|
58975
|
+
var export_GetAssistantConversationRequest = import_assistant_api_pb.GetAssistantConversationRequest;
|
|
58976
|
+
var export_GetAssistantConversationResponse = import_assistant_api_pb.GetAssistantConversationResponse;
|
|
59769
58977
|
var export_GetAssistantDeploymentRequest = import_assistant_deployment_pb.GetAssistantDeploymentRequest;
|
|
59770
|
-
var export_GetAssistantKnowledgeRequest =
|
|
59771
|
-
var export_GetAssistantKnowledgeResponse =
|
|
59772
|
-
var export_GetAssistantProviderModelResponse =
|
|
59773
|
-
var export_GetAssistantRequest =
|
|
59774
|
-
var export_GetAssistantResponse =
|
|
59775
|
-
var export_GetAssistantToolRequest =
|
|
59776
|
-
var export_GetAssistantToolResponse =
|
|
59777
|
-
var export_GetAssistantWebhookLogRequest =
|
|
59778
|
-
var export_GetAssistantWebhookLogResponse =
|
|
59779
|
-
var export_GetAssistantWebhookRequest =
|
|
59780
|
-
var export_GetAssistantWebhookResponse =
|
|
58978
|
+
var export_GetAssistantKnowledgeRequest = import_assistant_knowledge_pb.GetAssistantKnowledgeRequest;
|
|
58979
|
+
var export_GetAssistantKnowledgeResponse = import_assistant_knowledge_pb.GetAssistantKnowledgeResponse;
|
|
58980
|
+
var export_GetAssistantProviderModelResponse = import_assistant_api_pb.GetAssistantProviderModelResponse;
|
|
58981
|
+
var export_GetAssistantRequest = import_assistant_api_pb.GetAssistantRequest;
|
|
58982
|
+
var export_GetAssistantResponse = import_assistant_api_pb.GetAssistantResponse;
|
|
58983
|
+
var export_GetAssistantToolRequest = import_assistant_tool_pb.GetAssistantToolRequest;
|
|
58984
|
+
var export_GetAssistantToolResponse = import_assistant_tool_pb.GetAssistantToolResponse;
|
|
58985
|
+
var export_GetAssistantWebhookLogRequest = import_assistant_webhook_pb.GetAssistantWebhookLogRequest;
|
|
58986
|
+
var export_GetAssistantWebhookLogResponse = import_assistant_webhook_pb.GetAssistantWebhookLogResponse;
|
|
58987
|
+
var export_GetAssistantWebhookRequest = import_assistant_webhook_pb.GetAssistantWebhookRequest;
|
|
58988
|
+
var export_GetAssistantWebhookResponse = import_assistant_webhook_pb.GetAssistantWebhookResponse;
|
|
59781
58989
|
var export_GetAuditLogRequest = import_audit_logging_api_pb2.GetAuditLogRequest;
|
|
59782
58990
|
var export_GetAuditLogResponse = import_audit_logging_api_pb2.GetAuditLogResponse;
|
|
59783
58991
|
var export_GetConnectorFilesRequest = import_connect_api_pb2.GetConnectorFilesRequest;
|
|
59784
58992
|
var export_GetConnectorFilesResponse = import_connect_api_pb2.GetConnectorFilesResponse;
|
|
59785
58993
|
var export_GetCredentialResponse = import_vault_api_pb2.GetCredentialResponse;
|
|
59786
|
-
var export_GetEndpointLogRequest =
|
|
59787
|
-
var export_GetEndpointLogResponse =
|
|
59788
|
-
var export_GetEndpointRequest =
|
|
59789
|
-
var export_GetEndpointResponse =
|
|
58994
|
+
var export_GetEndpointLogRequest = import_endpoint_api_pb.GetEndpointLogRequest;
|
|
58995
|
+
var export_GetEndpointLogResponse = import_endpoint_api_pb.GetEndpointLogResponse;
|
|
58996
|
+
var export_GetEndpointRequest = import_endpoint_api_pb.GetEndpointRequest;
|
|
58997
|
+
var export_GetEndpointResponse = import_endpoint_api_pb.GetEndpointResponse;
|
|
59790
58998
|
var export_GetKnowledgeRequest = import_knowledge_api_pb3.GetKnowledgeRequest;
|
|
59791
58999
|
var export_GetKnowledgeResponse = import_knowledge_api_pb3.GetKnowledgeResponse;
|
|
59792
59000
|
var export_GetModerationRequest = import_integration_api_pb.GetModerationRequest;
|
|
@@ -59800,29 +59008,29 @@ var export_GetUserRequest = import_web_api_pb4.GetUserRequest;
|
|
|
59800
59008
|
var export_GetUserResponse = import_web_api_pb4.GetUserResponse;
|
|
59801
59009
|
var export_InviteMemeberEmailRequest = import_sendgrid_api_pb.InviteMemeberEmailRequest;
|
|
59802
59010
|
var export_InviteMemeberEmailResponse = import_sendgrid_api_pb.InviteMemeberEmailResponse;
|
|
59803
|
-
var export_InvokeRequest =
|
|
59804
|
-
var export_InvokeResponse =
|
|
59805
|
-
var export_Knowledge =
|
|
59011
|
+
var export_InvokeRequest = import_invoker_api_pb.InvokeRequest;
|
|
59012
|
+
var export_InvokeResponse = import_invoker_api_pb.InvokeResponse;
|
|
59013
|
+
var export_Knowledge = import_common_pb11.Knowledge;
|
|
59806
59014
|
var export_KnowledgeConnectRequest = import_connect_api_pb2.KnowledgeConnectRequest;
|
|
59807
59015
|
var export_KnowledgeConnectResponse = import_connect_api_pb2.KnowledgeConnectResponse;
|
|
59808
59016
|
var export_KnowledgeDocument = import_knowledge_api_pb3.KnowledgeDocument;
|
|
59809
59017
|
var export_KnowledgeDocumentSegment = import_knowledge_api_pb3.KnowledgeDocumentSegment;
|
|
59810
|
-
var export_Metadata =
|
|
59811
|
-
var export_Metric =
|
|
59018
|
+
var export_Metadata = import_common_pb11.Metadata;
|
|
59019
|
+
var export_Metric = import_common_pb11.Metric;
|
|
59812
59020
|
var export_Moderation = import_integration_api_pb.Moderation;
|
|
59813
|
-
var export_Ordering =
|
|
59814
|
-
var export_Organization =
|
|
59021
|
+
var export_Ordering = import_common_pb11.Ordering;
|
|
59022
|
+
var export_Organization = import_common_pb11.Organization;
|
|
59815
59023
|
var export_OrganizationError = import_web_api_pb4.OrganizationError;
|
|
59816
59024
|
var export_OrganizationRole = import_web_api_pb4.OrganizationRole;
|
|
59817
|
-
var export_Paginate =
|
|
59818
|
-
var export_Paginated =
|
|
59819
|
-
var export_ProbeRequest =
|
|
59820
|
-
var export_ProbeResponse =
|
|
59025
|
+
var export_Paginate = import_common_pb11.Paginate;
|
|
59026
|
+
var export_Paginated = import_common_pb11.Paginated;
|
|
59027
|
+
var export_ProbeRequest = import_invoker_api_pb.ProbeRequest;
|
|
59028
|
+
var export_ProbeResponse = import_invoker_api_pb.ProbeResponse;
|
|
59821
59029
|
var export_Project = import_web_api_pb4.Project;
|
|
59822
59030
|
var export_ProjectCredential = import_web_api_pb4.ProjectCredential;
|
|
59823
59031
|
var export_ProjectRole = import_web_api_pb4.ProjectRole;
|
|
59824
|
-
var export_ProtoMessage =
|
|
59825
|
-
var export_Provider =
|
|
59032
|
+
var export_ProtoMessage = import_common_pb11.Message;
|
|
59033
|
+
var export_Provider = import_common_pb11.Provider;
|
|
59826
59034
|
var export_RegisterUserRequest = import_web_api_pb4.RegisterUserRequest;
|
|
59827
59035
|
var export_Reranking = import_integration_api_pb.Reranking;
|
|
59828
59036
|
var export_RerankingRequest = import_integration_api_pb.RerankingRequest;
|
|
@@ -59834,35 +59042,35 @@ var export_ScopedAuthentication = import_web_api_pb4.ScopedAuthentication;
|
|
|
59834
59042
|
var export_ScopedAuthenticationResponse = import_web_api_pb4.ScopedAuthenticationResponse;
|
|
59835
59043
|
var export_SearchableDeployment = import_marketplace_api_pb2.SearchableDeployment;
|
|
59836
59044
|
var export_SocialAuthenticationRequest = import_web_api_pb4.SocialAuthenticationRequest;
|
|
59837
|
-
var export_Tag =
|
|
59838
|
-
var export_TextChatCompletePrompt =
|
|
59839
|
-
var export_TextPrompt =
|
|
59045
|
+
var export_Tag = import_common_pb11.Tag;
|
|
59046
|
+
var export_TextChatCompletePrompt = import_common_pb11.TextChatCompletePrompt;
|
|
59047
|
+
var export_TextPrompt = import_common_pb11.TextPrompt;
|
|
59840
59048
|
var export_Token = import_web_api_pb4.Token;
|
|
59841
|
-
var export_ToolCall =
|
|
59049
|
+
var export_ToolCall = import_common_pb11.ToolCall;
|
|
59842
59050
|
var export_ToolDefinition = import_integration_api_pb.ToolDefinition;
|
|
59843
59051
|
var export_ToolProvider = import_provider_api_pb2.ToolProvider;
|
|
59844
|
-
var export_UpdateAssistantAnalysisRequest =
|
|
59845
|
-
var export_UpdateAssistantDetailRequest =
|
|
59846
|
-
var export_UpdateAssistantKnowledgeRequest =
|
|
59847
|
-
var export_UpdateAssistantToolRequest =
|
|
59848
|
-
var export_UpdateAssistantVersionRequest =
|
|
59849
|
-
var export_UpdateAssistantWebhookRequest =
|
|
59052
|
+
var export_UpdateAssistantAnalysisRequest = import_assistant_analysis_pb.UpdateAssistantAnalysisRequest;
|
|
59053
|
+
var export_UpdateAssistantDetailRequest = import_assistant_api_pb.UpdateAssistantDetailRequest;
|
|
59054
|
+
var export_UpdateAssistantKnowledgeRequest = import_assistant_knowledge_pb.UpdateAssistantKnowledgeRequest;
|
|
59055
|
+
var export_UpdateAssistantToolRequest = import_assistant_tool_pb.UpdateAssistantToolRequest;
|
|
59056
|
+
var export_UpdateAssistantVersionRequest = import_assistant_api_pb.UpdateAssistantVersionRequest;
|
|
59057
|
+
var export_UpdateAssistantWebhookRequest = import_assistant_webhook_pb.UpdateAssistantWebhookRequest;
|
|
59850
59058
|
var export_UpdateBillingInformationRequest = import_web_api_pb4.UpdateBillingInformationRequest;
|
|
59851
|
-
var export_UpdateEndpointDetailRequest =
|
|
59852
|
-
var export_UpdateEndpointVersionRequest =
|
|
59853
|
-
var export_UpdateEndpointVersionResponse =
|
|
59059
|
+
var export_UpdateEndpointDetailRequest = import_endpoint_api_pb.UpdateEndpointDetailRequest;
|
|
59060
|
+
var export_UpdateEndpointVersionRequest = import_endpoint_api_pb.UpdateEndpointVersionRequest;
|
|
59061
|
+
var export_UpdateEndpointVersionResponse = import_endpoint_api_pb.UpdateEndpointVersionResponse;
|
|
59854
59062
|
var export_UpdateKnowledgeDetailRequest = import_knowledge_api_pb3.UpdateKnowledgeDetailRequest;
|
|
59855
59063
|
var export_UpdateKnowledgeDocumentSegmentRequest = import_knowledge_api_pb3.UpdateKnowledgeDocumentSegmentRequest;
|
|
59856
59064
|
var export_UpdateOrganizationRequest = import_web_api_pb4.UpdateOrganizationRequest;
|
|
59857
59065
|
var export_UpdateOrganizationResponse = import_web_api_pb4.UpdateOrganizationResponse;
|
|
59858
59066
|
var export_UpdateProjectRequest = import_web_api_pb4.UpdateProjectRequest;
|
|
59859
59067
|
var export_UpdateProjectResponse = import_web_api_pb4.UpdateProjectResponse;
|
|
59860
|
-
var export_UpdateRequest =
|
|
59861
|
-
var export_UpdateResponse =
|
|
59068
|
+
var export_UpdateRequest = import_invoker_api_pb.UpdateRequest;
|
|
59069
|
+
var export_UpdateResponse = import_invoker_api_pb.UpdateResponse;
|
|
59862
59070
|
var export_UpdateUserRequest = import_web_api_pb4.UpdateUserRequest;
|
|
59863
59071
|
var export_UpdateUserResponse = import_web_api_pb4.UpdateUserResponse;
|
|
59864
|
-
var export_User =
|
|
59865
|
-
var export_Variable =
|
|
59072
|
+
var export_User = import_common_pb11.User;
|
|
59073
|
+
var export_Variable = import_common_pb11.Variable;
|
|
59866
59074
|
var export_VaultCredential = import_vault_api_pb2.VaultCredential;
|
|
59867
59075
|
var export_VerifyCredentialRequest = import_integration_api_pb.VerifyCredentialRequest;
|
|
59868
59076
|
var export_VerifyCredentialResponse = import_integration_api_pb.VerifyCredentialResponse;
|
|
@@ -59952,11 +59160,8 @@ export {
|
|
|
59952
59160
|
CreateConversationMetric,
|
|
59953
59161
|
export_CreateConversationMetricRequest as CreateConversationMetricRequest,
|
|
59954
59162
|
export_CreateConversationMetricResponse as CreateConversationMetricResponse,
|
|
59955
|
-
CreateEndpoint,
|
|
59956
|
-
CreateEndpointCacheConfiguration,
|
|
59957
59163
|
export_CreateEndpointCacheConfigurationRequest as CreateEndpointCacheConfigurationRequest,
|
|
59958
59164
|
export_CreateEndpointCacheConfigurationResponse as CreateEndpointCacheConfigurationResponse,
|
|
59959
|
-
CreateEndpointProviderModel,
|
|
59960
59165
|
export_CreateEndpointProviderModelRequest as CreateEndpointProviderModelRequest,
|
|
59961
59166
|
export_CreateEndpointProviderModelResponse as CreateEndpointProviderModelResponse,
|
|
59962
59167
|
export_CreateEndpointRequest as CreateEndpointRequest,
|
|
@@ -59964,7 +59169,6 @@ export {
|
|
|
59964
59169
|
CreateEndpointRetryConfiguration,
|
|
59965
59170
|
export_CreateEndpointRetryConfigurationRequest as CreateEndpointRetryConfigurationRequest,
|
|
59966
59171
|
export_CreateEndpointRetryConfigurationResponse as CreateEndpointRetryConfigurationResponse,
|
|
59967
|
-
CreateEndpointTag,
|
|
59968
59172
|
export_CreateEndpointTagRequest as CreateEndpointTagRequest,
|
|
59969
59173
|
CreateKnowledge,
|
|
59970
59174
|
CreateKnowledgeDocument,
|
|
@@ -60063,12 +59267,9 @@ export {
|
|
|
60063
59267
|
export_GetAllAssistantProviderModelResponse as GetAllAssistantProviderModelResponse,
|
|
60064
59268
|
export_GetAllAssistantRequest as GetAllAssistantRequest,
|
|
60065
59269
|
export_GetAllAssistantResponse as GetAllAssistantResponse,
|
|
60066
|
-
GetAllAssistantSession,
|
|
60067
59270
|
GetAllAssistantTool,
|
|
60068
59271
|
export_GetAllAssistantToolRequest as GetAllAssistantToolRequest,
|
|
60069
59272
|
export_GetAllAssistantToolResponse as GetAllAssistantToolResponse,
|
|
60070
|
-
export_GetAllAssistantUserConversationRequest as GetAllAssistantUserConversationRequest,
|
|
60071
|
-
export_GetAllAssistantUserConversationResponse as GetAllAssistantUserConversationResponse,
|
|
60072
59273
|
GetAllAssistantWebhook,
|
|
60073
59274
|
export_GetAllAssistantWebhookLogRequest as GetAllAssistantWebhookLogRequest,
|
|
60074
59275
|
export_GetAllAssistantWebhookLogResponse as GetAllAssistantWebhookLogResponse,
|
|
@@ -60082,7 +59283,6 @@ export {
|
|
|
60082
59283
|
export_GetAllDeploymentRequest as GetAllDeploymentRequest,
|
|
60083
59284
|
export_GetAllDeploymentResponse as GetAllDeploymentResponse,
|
|
60084
59285
|
GetAllEndpoint,
|
|
60085
|
-
GetAllEndpointLog,
|
|
60086
59286
|
export_GetAllEndpointLogRequest as GetAllEndpointLogRequest,
|
|
60087
59287
|
export_GetAllEndpointLogResponse as GetAllEndpointLogResponse,
|
|
60088
59288
|
GetAllEndpointProviderModel,
|
|
@@ -60269,7 +59469,6 @@ export {
|
|
|
60269
59469
|
export_UpdateAssistantVersionRequest as UpdateAssistantVersionRequest,
|
|
60270
59470
|
export_UpdateAssistantWebhookRequest as UpdateAssistantWebhookRequest,
|
|
60271
59471
|
export_UpdateBillingInformationRequest as UpdateBillingInformationRequest,
|
|
60272
|
-
UpdateEndpointDetail,
|
|
60273
59472
|
export_UpdateEndpointDetailRequest as UpdateEndpointDetailRequest,
|
|
60274
59473
|
UpdateEndpointVersion,
|
|
60275
59474
|
export_UpdateEndpointVersionRequest as UpdateEndpointVersionRequest,
|