@rapidaai/nodejs 1.0.13 → 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.js 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
- assistantconversationid: jspb.Message.getFieldWithDefault(msg, 2, "0"),
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.setAssistantconversationid(value);
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.getAssistantconversationid();
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.getAssistantconversationid = function() {
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.setAssistantconversationid = function(value) {
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() {
@@ -57136,8 +56789,6 @@ __export(index_exports, {
57136
56789
  GetAllAssistantTool: () => GetAllAssistantTool,
57137
56790
  GetAllAssistantToolRequest: () => import_assistant_tool_pb.GetAllAssistantToolRequest,
57138
56791
  GetAllAssistantToolResponse: () => import_assistant_tool_pb.GetAllAssistantToolResponse,
57139
- GetAllAssistantUserConversationRequest: () => import_assistant_api_pb.GetAllAssistantUserConversationRequest,
57140
- GetAllAssistantUserConversationResponse: () => import_assistant_api_pb.GetAllAssistantUserConversationResponse,
57141
56792
  GetAllAssistantWebhook: () => GetAllAssistantWebhook,
57142
56793
  GetAllAssistantWebhookLogRequest: () => import_assistant_webhook_pb.GetAllAssistantWebhookLogRequest,
57143
56794
  GetAllAssistantWebhookLogResponse: () => import_assistant_webhook_pb.GetAllAssistantWebhookLogResponse,
@@ -59764,8 +59415,6 @@ var import_talk_api_pb4 = __toESM(require_talk_api_pb());
59764
59415
  GetAllAssistantTool,
59765
59416
  GetAllAssistantToolRequest,
59766
59417
  GetAllAssistantToolResponse,
59767
- GetAllAssistantUserConversationRequest,
59768
- GetAllAssistantUserConversationResponse,
59769
59418
  GetAllAssistantWebhook,
59770
59419
  GetAllAssistantWebhookLogRequest,
59771
59420
  GetAllAssistantWebhookLogResponse,