@rapidaai/react 1.1.35 → 1.1.37

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.
@@ -20387,8 +20387,6 @@ var require_assistant_api_pb = __commonJS({
20387
20387
  goog.exportSymbol("proto.assistant_api.GetAllAssistantProviderModelResponse", null, global);
20388
20388
  goog.exportSymbol("proto.assistant_api.GetAllAssistantRequest", null, global);
20389
20389
  goog.exportSymbol("proto.assistant_api.GetAllAssistantResponse", null, global);
20390
- goog.exportSymbol("proto.assistant_api.GetAllAssistantUserConversationRequest", null, global);
20391
- goog.exportSymbol("proto.assistant_api.GetAllAssistantUserConversationResponse", null, global);
20392
20390
  goog.exportSymbol("proto.assistant_api.GetAllMessageRequest", null, global);
20393
20391
  goog.exportSymbol("proto.assistant_api.GetAllMessageResponse", null, global);
20394
20392
  goog.exportSymbol("proto.assistant_api.GetAssistantConversationRequest", null, global);
@@ -20531,20 +20529,6 @@ var require_assistant_api_pb = __commonJS({
20531
20529
  if (goog.DEBUG && !COMPILED) {
20532
20530
  proto.assistant_api.UpdateAssistantDetailRequest.displayName = "proto.assistant_api.UpdateAssistantDetailRequest";
20533
20531
  }
20534
- proto.assistant_api.GetAllAssistantUserConversationRequest = function(opt_data) {
20535
- jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAllAssistantUserConversationRequest.repeatedFields_, null);
20536
- };
20537
- goog.inherits(proto.assistant_api.GetAllAssistantUserConversationRequest, jspb.Message);
20538
- if (goog.DEBUG && !COMPILED) {
20539
- proto.assistant_api.GetAllAssistantUserConversationRequest.displayName = "proto.assistant_api.GetAllAssistantUserConversationRequest";
20540
- }
20541
- proto.assistant_api.GetAllAssistantUserConversationResponse = function(opt_data) {
20542
- jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAllAssistantUserConversationResponse.repeatedFields_, null);
20543
- };
20544
- goog.inherits(proto.assistant_api.GetAllAssistantUserConversationResponse, jspb.Message);
20545
- if (goog.DEBUG && !COMPILED) {
20546
- proto.assistant_api.GetAllAssistantUserConversationResponse.displayName = "proto.assistant_api.GetAllAssistantUserConversationResponse";
20547
- }
20548
20532
  proto.assistant_api.GetAssistantConversationRequest = function(opt_data) {
20549
20533
  jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAssistantConversationRequest.repeatedFields_, null);
20550
20534
  };
@@ -24305,337 +24289,6 @@ var require_assistant_api_pb = __commonJS({
24305
24289
  proto.assistant_api.UpdateAssistantDetailRequest.prototype.setDescription = function(value) {
24306
24290
  return jspb.Message.setProto3StringField(this, 3, value);
24307
24291
  };
24308
- proto.assistant_api.GetAllAssistantUserConversationRequest.repeatedFields_ = [3];
24309
- if (jspb.Message.GENERATE_TO_OBJECT) {
24310
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.toObject = function(opt_includeInstance) {
24311
- return proto.assistant_api.GetAllAssistantUserConversationRequest.toObject(opt_includeInstance, this);
24312
- };
24313
- proto.assistant_api.GetAllAssistantUserConversationRequest.toObject = function(includeInstance, msg) {
24314
- var f, obj = {
24315
- assistantid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
24316
- paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
24317
- criteriasList: jspb.Message.toObjectList(
24318
- msg.getCriteriasList(),
24319
- common_pb.Criteria.toObject,
24320
- includeInstance
24321
- ),
24322
- source: jspb.Message.getFieldWithDefault(msg, 7, 0)
24323
- };
24324
- if (includeInstance) {
24325
- obj.$jspbMessageInstance = msg;
24326
- }
24327
- return obj;
24328
- };
24329
- }
24330
- proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinary = function(bytes) {
24331
- var reader = new jspb.BinaryReader(bytes);
24332
- var msg = new proto.assistant_api.GetAllAssistantUserConversationRequest();
24333
- return proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinaryFromReader(msg, reader);
24334
- };
24335
- proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinaryFromReader = function(msg, reader) {
24336
- while (reader.nextField()) {
24337
- if (reader.isEndGroup()) {
24338
- break;
24339
- }
24340
- var field = reader.getFieldNumber();
24341
- switch (field) {
24342
- case 1:
24343
- var value = (
24344
- /** @type {string} */
24345
- reader.readUint64String()
24346
- );
24347
- msg.setAssistantid(value);
24348
- break;
24349
- case 2:
24350
- var value = new common_pb.Paginate();
24351
- reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
24352
- msg.setPaginate(value);
24353
- break;
24354
- case 3:
24355
- var value = new common_pb.Criteria();
24356
- reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
24357
- msg.addCriterias(value);
24358
- break;
24359
- case 7:
24360
- var value = (
24361
- /** @type {!proto.Source} */
24362
- reader.readEnum()
24363
- );
24364
- msg.setSource(value);
24365
- break;
24366
- default:
24367
- reader.skipField();
24368
- break;
24369
- }
24370
- }
24371
- return msg;
24372
- };
24373
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.serializeBinary = function() {
24374
- var writer = new jspb.BinaryWriter();
24375
- proto.assistant_api.GetAllAssistantUserConversationRequest.serializeBinaryToWriter(this, writer);
24376
- return writer.getResultBuffer();
24377
- };
24378
- proto.assistant_api.GetAllAssistantUserConversationRequest.serializeBinaryToWriter = function(message, writer) {
24379
- var f = void 0;
24380
- f = message.getAssistantid();
24381
- if (parseInt(f, 10) !== 0) {
24382
- writer.writeUint64String(
24383
- 1,
24384
- f
24385
- );
24386
- }
24387
- f = message.getPaginate();
24388
- if (f != null) {
24389
- writer.writeMessage(
24390
- 2,
24391
- f,
24392
- common_pb.Paginate.serializeBinaryToWriter
24393
- );
24394
- }
24395
- f = message.getCriteriasList();
24396
- if (f.length > 0) {
24397
- writer.writeRepeatedMessage(
24398
- 3,
24399
- f,
24400
- common_pb.Criteria.serializeBinaryToWriter
24401
- );
24402
- }
24403
- f = message.getSource();
24404
- if (f !== 0) {
24405
- writer.writeEnum(
24406
- 7,
24407
- f
24408
- );
24409
- }
24410
- };
24411
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getAssistantid = function() {
24412
- return (
24413
- /** @type {string} */
24414
- jspb.Message.getFieldWithDefault(this, 1, "0")
24415
- );
24416
- };
24417
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setAssistantid = function(value) {
24418
- return jspb.Message.setProto3StringIntField(this, 1, value);
24419
- };
24420
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getPaginate = function() {
24421
- return (
24422
- /** @type{?proto.Paginate} */
24423
- jspb.Message.getWrapperField(this, common_pb.Paginate, 2)
24424
- );
24425
- };
24426
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setPaginate = function(value) {
24427
- return jspb.Message.setWrapperField(this, 2, value);
24428
- };
24429
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.clearPaginate = function() {
24430
- return this.setPaginate(void 0);
24431
- };
24432
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.hasPaginate = function() {
24433
- return jspb.Message.getField(this, 2) != null;
24434
- };
24435
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getCriteriasList = function() {
24436
- return (
24437
- /** @type{!Array<!proto.Criteria>} */
24438
- jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 3)
24439
- );
24440
- };
24441
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setCriteriasList = function(value) {
24442
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
24443
- };
24444
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.addCriterias = function(opt_value, opt_index) {
24445
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.Criteria, opt_index);
24446
- };
24447
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.clearCriteriasList = function() {
24448
- return this.setCriteriasList([]);
24449
- };
24450
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getSource = function() {
24451
- return (
24452
- /** @type {!proto.Source} */
24453
- jspb.Message.getFieldWithDefault(this, 7, 0)
24454
- );
24455
- };
24456
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setSource = function(value) {
24457
- return jspb.Message.setProto3EnumField(this, 7, value);
24458
- };
24459
- proto.assistant_api.GetAllAssistantUserConversationResponse.repeatedFields_ = [3];
24460
- if (jspb.Message.GENERATE_TO_OBJECT) {
24461
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.toObject = function(opt_includeInstance) {
24462
- return proto.assistant_api.GetAllAssistantUserConversationResponse.toObject(opt_includeInstance, this);
24463
- };
24464
- proto.assistant_api.GetAllAssistantUserConversationResponse.toObject = function(includeInstance, msg) {
24465
- var f, obj = {
24466
- code: jspb.Message.getFieldWithDefault(msg, 1, 0),
24467
- success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
24468
- dataList: jspb.Message.toObjectList(
24469
- msg.getDataList(),
24470
- common_pb.AssistantConversation.toObject,
24471
- includeInstance
24472
- ),
24473
- error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
24474
- paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f)
24475
- };
24476
- if (includeInstance) {
24477
- obj.$jspbMessageInstance = msg;
24478
- }
24479
- return obj;
24480
- };
24481
- }
24482
- proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinary = function(bytes) {
24483
- var reader = new jspb.BinaryReader(bytes);
24484
- var msg = new proto.assistant_api.GetAllAssistantUserConversationResponse();
24485
- return proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinaryFromReader(msg, reader);
24486
- };
24487
- proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinaryFromReader = function(msg, reader) {
24488
- while (reader.nextField()) {
24489
- if (reader.isEndGroup()) {
24490
- break;
24491
- }
24492
- var field = reader.getFieldNumber();
24493
- switch (field) {
24494
- case 1:
24495
- var value = (
24496
- /** @type {number} */
24497
- reader.readInt32()
24498
- );
24499
- msg.setCode(value);
24500
- break;
24501
- case 2:
24502
- var value = (
24503
- /** @type {boolean} */
24504
- reader.readBool()
24505
- );
24506
- msg.setSuccess(value);
24507
- break;
24508
- case 3:
24509
- var value = new common_pb.AssistantConversation();
24510
- reader.readMessage(value, common_pb.AssistantConversation.deserializeBinaryFromReader);
24511
- msg.addData(value);
24512
- break;
24513
- case 4:
24514
- var value = new common_pb.Error();
24515
- reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
24516
- msg.setError(value);
24517
- break;
24518
- case 5:
24519
- var value = new common_pb.Paginated();
24520
- reader.readMessage(value, common_pb.Paginated.deserializeBinaryFromReader);
24521
- msg.setPaginated(value);
24522
- break;
24523
- default:
24524
- reader.skipField();
24525
- break;
24526
- }
24527
- }
24528
- return msg;
24529
- };
24530
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.serializeBinary = function() {
24531
- var writer = new jspb.BinaryWriter();
24532
- proto.assistant_api.GetAllAssistantUserConversationResponse.serializeBinaryToWriter(this, writer);
24533
- return writer.getResultBuffer();
24534
- };
24535
- proto.assistant_api.GetAllAssistantUserConversationResponse.serializeBinaryToWriter = function(message, writer) {
24536
- var f = void 0;
24537
- f = message.getCode();
24538
- if (f !== 0) {
24539
- writer.writeInt32(
24540
- 1,
24541
- f
24542
- );
24543
- }
24544
- f = message.getSuccess();
24545
- if (f) {
24546
- writer.writeBool(
24547
- 2,
24548
- f
24549
- );
24550
- }
24551
- f = message.getDataList();
24552
- if (f.length > 0) {
24553
- writer.writeRepeatedMessage(
24554
- 3,
24555
- f,
24556
- common_pb.AssistantConversation.serializeBinaryToWriter
24557
- );
24558
- }
24559
- f = message.getError();
24560
- if (f != null) {
24561
- writer.writeMessage(
24562
- 4,
24563
- f,
24564
- common_pb.Error.serializeBinaryToWriter
24565
- );
24566
- }
24567
- f = message.getPaginated();
24568
- if (f != null) {
24569
- writer.writeMessage(
24570
- 5,
24571
- f,
24572
- common_pb.Paginated.serializeBinaryToWriter
24573
- );
24574
- }
24575
- };
24576
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getCode = function() {
24577
- return (
24578
- /** @type {number} */
24579
- jspb.Message.getFieldWithDefault(this, 1, 0)
24580
- );
24581
- };
24582
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setCode = function(value) {
24583
- return jspb.Message.setProto3IntField(this, 1, value);
24584
- };
24585
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getSuccess = function() {
24586
- return (
24587
- /** @type {boolean} */
24588
- jspb.Message.getBooleanFieldWithDefault(this, 2, false)
24589
- );
24590
- };
24591
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setSuccess = function(value) {
24592
- return jspb.Message.setProto3BooleanField(this, 2, value);
24593
- };
24594
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getDataList = function() {
24595
- return (
24596
- /** @type{!Array<!proto.AssistantConversation>} */
24597
- jspb.Message.getRepeatedWrapperField(this, common_pb.AssistantConversation, 3)
24598
- );
24599
- };
24600
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setDataList = function(value) {
24601
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
24602
- };
24603
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.addData = function(opt_value, opt_index) {
24604
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversation, opt_index);
24605
- };
24606
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearDataList = function() {
24607
- return this.setDataList([]);
24608
- };
24609
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getError = function() {
24610
- return (
24611
- /** @type{?proto.Error} */
24612
- jspb.Message.getWrapperField(this, common_pb.Error, 4)
24613
- );
24614
- };
24615
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setError = function(value) {
24616
- return jspb.Message.setWrapperField(this, 4, value);
24617
- };
24618
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearError = function() {
24619
- return this.setError(void 0);
24620
- };
24621
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.hasError = function() {
24622
- return jspb.Message.getField(this, 4) != null;
24623
- };
24624
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getPaginated = function() {
24625
- return (
24626
- /** @type{?proto.Paginated} */
24627
- jspb.Message.getWrapperField(this, common_pb.Paginated, 5)
24628
- );
24629
- };
24630
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setPaginated = function(value) {
24631
- return jspb.Message.setWrapperField(this, 5, value);
24632
- };
24633
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearPaginated = function() {
24634
- return this.setPaginated(void 0);
24635
- };
24636
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.hasPaginated = function() {
24637
- return jspb.Message.getField(this, 5) != null;
24638
- };
24639
24292
  proto.assistant_api.GetAssistantConversationRequest.repeatedFields_ = [5];
24640
24293
  if (jspb.Message.GENERATE_TO_OBJECT) {
24641
24294
  proto.assistant_api.GetAssistantConversationRequest.prototype.toObject = function(opt_includeInstance) {
@@ -24644,7 +24297,7 @@ var require_assistant_api_pb = __commonJS({
24644
24297
  proto.assistant_api.GetAssistantConversationRequest.toObject = function(includeInstance, msg) {
24645
24298
  var f, obj = {
24646
24299
  assistantid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
24647
- assistantconversationid: jspb.Message.getFieldWithDefault(msg, 2, "0"),
24300
+ id: jspb.Message.getFieldWithDefault(msg, 2, "0"),
24648
24301
  selectorsList: jspb.Message.toObjectList(
24649
24302
  msg.getSelectorsList(),
24650
24303
  common_pb.FieldSelector.toObject,
@@ -24681,7 +24334,7 @@ var require_assistant_api_pb = __commonJS({
24681
24334
  /** @type {string} */
24682
24335
  reader.readUint64String()
24683
24336
  );
24684
- msg.setAssistantconversationid(value);
24337
+ msg.setId(value);
24685
24338
  break;
24686
24339
  case 5:
24687
24340
  var value = new common_pb.FieldSelector();
@@ -24709,7 +24362,7 @@ var require_assistant_api_pb = __commonJS({
24709
24362
  f
24710
24363
  );
24711
24364
  }
24712
- f = message.getAssistantconversationid();
24365
+ f = message.getId();
24713
24366
  if (parseInt(f, 10) !== 0) {
24714
24367
  writer.writeUint64String(
24715
24368
  2,
@@ -24734,13 +24387,13 @@ var require_assistant_api_pb = __commonJS({
24734
24387
  proto.assistant_api.GetAssistantConversationRequest.prototype.setAssistantid = function(value) {
24735
24388
  return jspb.Message.setProto3StringIntField(this, 1, value);
24736
24389
  };
24737
- proto.assistant_api.GetAssistantConversationRequest.prototype.getAssistantconversationid = function() {
24390
+ proto.assistant_api.GetAssistantConversationRequest.prototype.getId = function() {
24738
24391
  return (
24739
24392
  /** @type {string} */
24740
24393
  jspb.Message.getFieldWithDefault(this, 2, "0")
24741
24394
  );
24742
24395
  };
24743
- proto.assistant_api.GetAssistantConversationRequest.prototype.setAssistantconversationid = function(value) {
24396
+ proto.assistant_api.GetAssistantConversationRequest.prototype.setId = function(value) {
24744
24397
  return jspb.Message.setProto3StringIntField(this, 2, value);
24745
24398
  };
24746
24399
  proto.assistant_api.GetAssistantConversationRequest.prototype.getSelectorsList = function() {
@@ -25656,26 +25309,6 @@ function GetMessages(connectionConfig, page, pageSize, criteria, selectors, cb,
25656
25309
  cb
25657
25310
  );
25658
25311
  }
25659
- function GetAllAssistantSession(connectionConfig, assistantId, page, pageSize, criteria, cb, authHeader) {
25660
- const req = new import_common_pb5.GetAllAssistantConversationRequest();
25661
- req.setAssistantid(assistantId);
25662
- const paginate = new import_common_pb4.Paginate();
25663
- criteria.forEach((x) => {
25664
- let ctr = new import_common_pb4.Criteria();
25665
- ctr.setKey(x.key);
25666
- ctr.setValue(x.value);
25667
- ctr.setLogic(x.logic);
25668
- req.addCriterias(ctr);
25669
- });
25670
- paginate.setPage(page);
25671
- paginate.setPagesize(pageSize);
25672
- req.setPaginate(paginate);
25673
- connectionConfig.assistantClient.getAllAssistantConversation(
25674
- req,
25675
- WithAuthContext(authHeader),
25676
- cb
25677
- );
25678
- }
25679
25312
  function GetAllAssistantConversationMessage(connectionConfig, assistantId, assistantConversationId, page, pageSize, criteria, authHeader, cb) {
25680
25313
  const req = new import_common_pb4.GetAllConversationMessageRequest();
25681
25314
  req.setAssistantid(assistantId);
@@ -27798,7 +27431,6 @@ export {
27798
27431
  UpdateAssistantDetail,
27799
27432
  GetAssistantMessages,
27800
27433
  GetMessages,
27801
- GetAllAssistantSession,
27802
27434
  GetAllAssistantConversationMessage,
27803
27435
  CreateAssistantDebuggerDeployment,
27804
27436
  GetAssistantDebuggerDeployment,
@@ -27845,4 +27477,4 @@ export {
27845
27477
  useSelectInputDeviceAgent,
27846
27478
  DeviceSelectorComponent
27847
27479
  };
27848
- //# sourceMappingURL=chunk-4BXVNAM6.mjs.map
27480
+ //# sourceMappingURL=chunk-UUWL3OO3.mjs.map