@rapidaai/react 1.1.55 → 1.1.57

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.
@@ -4465,7 +4465,8 @@ var require_common_pb = __commonJS({
4465
4465
  proto.AssistantConversationRecording.toObject = function(includeInstance, msg) {
4466
4466
  var f, obj = {
4467
4467
  id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
4468
- recordingurl: jspb.Message.getFieldWithDefault(msg, 2, "")
4468
+ assistantrecordingurl: jspb.Message.getFieldWithDefault(msg, 2, ""),
4469
+ userrecordingurl: jspb.Message.getFieldWithDefault(msg, 3, "")
4469
4470
  };
4470
4471
  if (includeInstance) {
4471
4472
  obj.$jspbMessageInstance = msg;
@@ -4497,7 +4498,14 @@ var require_common_pb = __commonJS({
4497
4498
  /** @type {string} */
4498
4499
  reader.readString()
4499
4500
  );
4500
- msg.setRecordingurl(value);
4501
+ msg.setAssistantrecordingurl(value);
4502
+ break;
4503
+ case 3:
4504
+ var value = (
4505
+ /** @type {string} */
4506
+ reader.readString()
4507
+ );
4508
+ msg.setUserrecordingurl(value);
4501
4509
  break;
4502
4510
  default:
4503
4511
  reader.skipField();
@@ -4520,13 +4528,20 @@ var require_common_pb = __commonJS({
4520
4528
  f
4521
4529
  );
4522
4530
  }
4523
- f = message.getRecordingurl();
4531
+ f = message.getAssistantrecordingurl();
4524
4532
  if (f.length > 0) {
4525
4533
  writer.writeString(
4526
4534
  2,
4527
4535
  f
4528
4536
  );
4529
4537
  }
4538
+ f = message.getUserrecordingurl();
4539
+ if (f.length > 0) {
4540
+ writer.writeString(
4541
+ 3,
4542
+ f
4543
+ );
4544
+ }
4530
4545
  };
4531
4546
  proto.AssistantConversationRecording.prototype.getId = function() {
4532
4547
  return (
@@ -4537,15 +4552,24 @@ var require_common_pb = __commonJS({
4537
4552
  proto.AssistantConversationRecording.prototype.setId = function(value) {
4538
4553
  return jspb.Message.setProto3StringIntField(this, 1, value);
4539
4554
  };
4540
- proto.AssistantConversationRecording.prototype.getRecordingurl = function() {
4555
+ proto.AssistantConversationRecording.prototype.getAssistantrecordingurl = function() {
4541
4556
  return (
4542
4557
  /** @type {string} */
4543
4558
  jspb.Message.getFieldWithDefault(this, 2, "")
4544
4559
  );
4545
4560
  };
4546
- proto.AssistantConversationRecording.prototype.setRecordingurl = function(value) {
4561
+ proto.AssistantConversationRecording.prototype.setAssistantrecordingurl = function(value) {
4547
4562
  return jspb.Message.setProto3StringField(this, 2, value);
4548
4563
  };
4564
+ proto.AssistantConversationRecording.prototype.getUserrecordingurl = function() {
4565
+ return (
4566
+ /** @type {string} */
4567
+ jspb.Message.getFieldWithDefault(this, 3, "")
4568
+ );
4569
+ };
4570
+ proto.AssistantConversationRecording.prototype.setUserrecordingurl = function(value) {
4571
+ return jspb.Message.setProto3StringField(this, 3, value);
4572
+ };
4549
4573
  if (jspb.Message.GENERATE_TO_OBJECT) {
4550
4574
  proto.AssistantConversationTelephonyEvent.prototype.toObject = function(opt_includeInstance) {
4551
4575
  return proto.AssistantConversationTelephonyEvent.toObject(opt_includeInstance, this);
@@ -30628,9 +30652,9 @@ import { Subject, map, Observable, startWith, finalize, concat } from "rxjs";
30628
30652
 
30629
30653
  // src/constants/index.ts
30630
30654
  var DEFAULT_DEVICE_ID = "default";
30631
- var ASSISTANT_API = "https://assistant-01.rapida.ai";
30632
- var WEB_API = "https://api.rapida.ai";
30633
- var ENDPOINT_API = "https://api.rapida.ai";
30655
+ var ASSISTANT_API = "https://assistant-01.in.rapida.ai";
30656
+ var WEB_API = "https://api-01.in.rapida.ai";
30657
+ var ENDPOINT_API = "https://api-01.in.rapida.ai";
30634
30658
  var LOCAL_ASSISTANT_API = "http://assistant.rapida.local";
30635
30659
  var LOCAL_WEB_API = "http://dev.rapida.local";
30636
30660
  var LOCAL_ENDPOINT_API = "http://dev.rapida.local";
@@ -31099,25 +31123,6 @@ function CreateConversationMetric(connectionConfig, req, authHeader) {
31099
31123
  );
31100
31124
  });
31101
31125
  }
31102
- function GetAllAssistantConversation(connectionConfig, assistantId, page, pageSize, criteria, cb, authHeader) {
31103
- const req = new import_common_pb.GetAllAssistantConversationRequest();
31104
- req.setAssistantid(assistantId);
31105
- const paginate = new import_common_pb2.Paginate();
31106
- criteria.forEach((x) => {
31107
- let ctr = new import_common_pb2.Criteria();
31108
- ctr.setKey(x.key);
31109
- ctr.setValue(x.value);
31110
- req.addCriterias(ctr);
31111
- });
31112
- paginate.setPage(page);
31113
- paginate.setPagesize(pageSize);
31114
- req.setPaginate(paginate);
31115
- connectionConfig.conversationClient.getAllAssistantConversation(
31116
- req,
31117
- WithAuthContext(authHeader),
31118
- cb
31119
- );
31120
- }
31121
31126
 
31122
31127
  // src/types/feedback.ts
31123
31128
  var Feedback = /* @__PURE__ */ ((Feedback2) => {
@@ -31314,6 +31319,26 @@ function GetMessages(connectionConfig, page, pageSize, criteria, selectors, cb,
31314
31319
  cb
31315
31320
  );
31316
31321
  }
31322
+ function GetAllAssistantConversation(connectionConfig, assistantId, page, pageSize, criteria, cb, authHeader) {
31323
+ const req = new import_common_pb4.GetAllAssistantConversationRequest();
31324
+ req.setAssistantid(assistantId);
31325
+ const paginate = new import_common_pb3.Paginate();
31326
+ criteria.forEach((x) => {
31327
+ let ctr = new import_common_pb3.Criteria();
31328
+ ctr.setKey(x.key);
31329
+ ctr.setValue(x.value);
31330
+ ctr.setLogic(x.logic);
31331
+ req.addCriterias(ctr);
31332
+ });
31333
+ paginate.setPage(page);
31334
+ paginate.setPagesize(pageSize);
31335
+ req.setPaginate(paginate);
31336
+ connectionConfig.assistantClient.getAllAssistantConversation(
31337
+ req,
31338
+ WithAuthContext(authHeader),
31339
+ cb
31340
+ );
31341
+ }
31317
31342
  function GetAllAssistantConversationMessage(connectionConfig, assistantId, assistantConversationId, page, pageSize, criteria, authHeader, cb) {
31318
31343
  const req = new import_common_pb3.GetAllConversationMessageRequest();
31319
31344
  req.setAssistantid(assistantId);
@@ -31605,7 +31630,6 @@ function UpdateAnalysis(connectionConfig, assistantId, AnalysisId, name, endpoin
31605
31630
  req.setEndpointversion(endpointversion);
31606
31631
  req.setName(name);
31607
31632
  req.setExecutionpriority(executionpriority);
31608
- console.dir(parameters);
31609
31633
  parameters.forEach((k) => {
31610
31634
  req.getEndpointparametersMap().set(k.key, k.value);
31611
31635
  });
@@ -33903,7 +33927,6 @@ export {
33903
33927
  AssistantTalk,
33904
33928
  CreateMessageMetric,
33905
33929
  CreateConversationMetric,
33906
- GetAllAssistantConversation,
33907
33930
  Feedback,
33908
33931
  require_assistant_deployment_pb,
33909
33932
  require_assistant_tool_pb,
@@ -33922,6 +33945,7 @@ export {
33922
33945
  UpdateAssistantDetail,
33923
33946
  GetAssistantMessages,
33924
33947
  GetMessages,
33948
+ GetAllAssistantConversation,
33925
33949
  GetAllAssistantConversationMessage,
33926
33950
  CreateAssistantDebuggerDeployment,
33927
33951
  GetAssistantDebuggerDeployment,
@@ -33972,4 +33996,4 @@ export {
33972
33996
  useSelectInputDeviceAgent,
33973
33997
  DeviceSelectorComponent
33974
33998
  };
33975
- //# sourceMappingURL=chunk-WIQDM3QW.mjs.map
33999
+ //# sourceMappingURL=chunk-QS2FF3PJ.mjs.map