@rapidaai/react 1.1.44 → 1.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-HQHWE2DO.mjs → chunk-DRBNQMZR.mjs} +268 -151
- package/dist/chunk-DRBNQMZR.mjs.map +1 -0
- package/dist/components/device-selector.d.mts +1 -1
- package/dist/components/device-selector.d.ts +1 -1
- package/dist/components/device-selector.js +267 -150
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-C2no2MF2.d.mts → device-selector-D7AEGpZu.d.mts} +57 -40
- package/dist/{device-selector-C2no2MF2.d.ts → device-selector-D7AEGpZu.d.ts} +57 -40
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +271 -152
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-HQHWE2DO.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -61,6 +61,7 @@ var require_common_pb = __commonJS({
|
|
|
61
61
|
goog.exportSymbol("proto.AssistantConversationMessageTextContent", null, global);
|
|
62
62
|
goog.exportSymbol("proto.AssistantConversationPhoneCallTransferAction", null, global);
|
|
63
63
|
goog.exportSymbol("proto.AssistantConversationRecording", null, global);
|
|
64
|
+
goog.exportSymbol("proto.AssistantConversationTelephonyEvent", null, global);
|
|
64
65
|
goog.exportSymbol("proto.AssistantConversationUserMessage", null, global);
|
|
65
66
|
goog.exportSymbol("proto.AssistantConversationUserMessage.MessageCase", null, global);
|
|
66
67
|
goog.exportSymbol("proto.AssistantConverstationApiRequestAction", null, global);
|
|
@@ -276,6 +277,13 @@ var require_common_pb = __commonJS({
|
|
|
276
277
|
if (goog.DEBUG && !COMPILED) {
|
|
277
278
|
proto.AssistantConversationRecording.displayName = "proto.AssistantConversationRecording";
|
|
278
279
|
}
|
|
280
|
+
proto.AssistantConversationTelephonyEvent = function(opt_data) {
|
|
281
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
282
|
+
};
|
|
283
|
+
goog.inherits(proto.AssistantConversationTelephonyEvent, jspb.Message);
|
|
284
|
+
if (goog.DEBUG && !COMPILED) {
|
|
285
|
+
proto.AssistantConversationTelephonyEvent.displayName = "proto.AssistantConversationTelephonyEvent";
|
|
286
|
+
}
|
|
279
287
|
proto.AssistantConversation = function(opt_data) {
|
|
280
288
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.AssistantConversation.repeatedFields_, null);
|
|
281
289
|
};
|
|
@@ -4333,7 +4341,230 @@ var require_common_pb = __commonJS({
|
|
|
4333
4341
|
proto.AssistantConversationRecording.prototype.setRecordingurl = function(value) {
|
|
4334
4342
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4335
4343
|
};
|
|
4336
|
-
|
|
4344
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4345
|
+
proto.AssistantConversationTelephonyEvent.prototype.toObject = function(opt_includeInstance) {
|
|
4346
|
+
return proto.AssistantConversationTelephonyEvent.toObject(opt_includeInstance, this);
|
|
4347
|
+
};
|
|
4348
|
+
proto.AssistantConversationTelephonyEvent.toObject = function(includeInstance, msg) {
|
|
4349
|
+
var f, obj = {
|
|
4350
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
4351
|
+
assistantconversationid: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
4352
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4353
|
+
eventtype: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4354
|
+
payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
4355
|
+
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4356
|
+
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
4357
|
+
};
|
|
4358
|
+
if (includeInstance) {
|
|
4359
|
+
obj.$jspbMessageInstance = msg;
|
|
4360
|
+
}
|
|
4361
|
+
return obj;
|
|
4362
|
+
};
|
|
4363
|
+
}
|
|
4364
|
+
proto.AssistantConversationTelephonyEvent.deserializeBinary = function(bytes) {
|
|
4365
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4366
|
+
var msg = new proto.AssistantConversationTelephonyEvent();
|
|
4367
|
+
return proto.AssistantConversationTelephonyEvent.deserializeBinaryFromReader(msg, reader);
|
|
4368
|
+
};
|
|
4369
|
+
proto.AssistantConversationTelephonyEvent.deserializeBinaryFromReader = function(msg, reader) {
|
|
4370
|
+
while (reader.nextField()) {
|
|
4371
|
+
if (reader.isEndGroup()) {
|
|
4372
|
+
break;
|
|
4373
|
+
}
|
|
4374
|
+
var field = reader.getFieldNumber();
|
|
4375
|
+
switch (field) {
|
|
4376
|
+
case 1:
|
|
4377
|
+
var value = (
|
|
4378
|
+
/** @type {string} */
|
|
4379
|
+
reader.readUint64String()
|
|
4380
|
+
);
|
|
4381
|
+
msg.setId(value);
|
|
4382
|
+
break;
|
|
4383
|
+
case 2:
|
|
4384
|
+
var value = (
|
|
4385
|
+
/** @type {string} */
|
|
4386
|
+
reader.readUint64String()
|
|
4387
|
+
);
|
|
4388
|
+
msg.setAssistantconversationid(value);
|
|
4389
|
+
break;
|
|
4390
|
+
case 3:
|
|
4391
|
+
var value = (
|
|
4392
|
+
/** @type {string} */
|
|
4393
|
+
reader.readString()
|
|
4394
|
+
);
|
|
4395
|
+
msg.setProvider(value);
|
|
4396
|
+
break;
|
|
4397
|
+
case 4:
|
|
4398
|
+
var value = (
|
|
4399
|
+
/** @type {string} */
|
|
4400
|
+
reader.readString()
|
|
4401
|
+
);
|
|
4402
|
+
msg.setEventtype(value);
|
|
4403
|
+
break;
|
|
4404
|
+
case 5:
|
|
4405
|
+
var value = new google_protobuf_struct_pb.Struct();
|
|
4406
|
+
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
4407
|
+
msg.setPayload(value);
|
|
4408
|
+
break;
|
|
4409
|
+
case 6:
|
|
4410
|
+
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
4411
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4412
|
+
msg.setCreateddate(value);
|
|
4413
|
+
break;
|
|
4414
|
+
case 7:
|
|
4415
|
+
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
4416
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
4417
|
+
msg.setUpdateddate(value);
|
|
4418
|
+
break;
|
|
4419
|
+
default:
|
|
4420
|
+
reader.skipField();
|
|
4421
|
+
break;
|
|
4422
|
+
}
|
|
4423
|
+
}
|
|
4424
|
+
return msg;
|
|
4425
|
+
};
|
|
4426
|
+
proto.AssistantConversationTelephonyEvent.prototype.serializeBinary = function() {
|
|
4427
|
+
var writer = new jspb.BinaryWriter();
|
|
4428
|
+
proto.AssistantConversationTelephonyEvent.serializeBinaryToWriter(this, writer);
|
|
4429
|
+
return writer.getResultBuffer();
|
|
4430
|
+
};
|
|
4431
|
+
proto.AssistantConversationTelephonyEvent.serializeBinaryToWriter = function(message, writer) {
|
|
4432
|
+
var f = void 0;
|
|
4433
|
+
f = message.getId();
|
|
4434
|
+
if (parseInt(f, 10) !== 0) {
|
|
4435
|
+
writer.writeUint64String(
|
|
4436
|
+
1,
|
|
4437
|
+
f
|
|
4438
|
+
);
|
|
4439
|
+
}
|
|
4440
|
+
f = message.getAssistantconversationid();
|
|
4441
|
+
if (parseInt(f, 10) !== 0) {
|
|
4442
|
+
writer.writeUint64String(
|
|
4443
|
+
2,
|
|
4444
|
+
f
|
|
4445
|
+
);
|
|
4446
|
+
}
|
|
4447
|
+
f = message.getProvider();
|
|
4448
|
+
if (f.length > 0) {
|
|
4449
|
+
writer.writeString(
|
|
4450
|
+
3,
|
|
4451
|
+
f
|
|
4452
|
+
);
|
|
4453
|
+
}
|
|
4454
|
+
f = message.getEventtype();
|
|
4455
|
+
if (f.length > 0) {
|
|
4456
|
+
writer.writeString(
|
|
4457
|
+
4,
|
|
4458
|
+
f
|
|
4459
|
+
);
|
|
4460
|
+
}
|
|
4461
|
+
f = message.getPayload();
|
|
4462
|
+
if (f != null) {
|
|
4463
|
+
writer.writeMessage(
|
|
4464
|
+
5,
|
|
4465
|
+
f,
|
|
4466
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
4467
|
+
);
|
|
4468
|
+
}
|
|
4469
|
+
f = message.getCreateddate();
|
|
4470
|
+
if (f != null) {
|
|
4471
|
+
writer.writeMessage(
|
|
4472
|
+
6,
|
|
4473
|
+
f,
|
|
4474
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4475
|
+
);
|
|
4476
|
+
}
|
|
4477
|
+
f = message.getUpdateddate();
|
|
4478
|
+
if (f != null) {
|
|
4479
|
+
writer.writeMessage(
|
|
4480
|
+
7,
|
|
4481
|
+
f,
|
|
4482
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
4483
|
+
);
|
|
4484
|
+
}
|
|
4485
|
+
};
|
|
4486
|
+
proto.AssistantConversationTelephonyEvent.prototype.getId = function() {
|
|
4487
|
+
return (
|
|
4488
|
+
/** @type {string} */
|
|
4489
|
+
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
4490
|
+
);
|
|
4491
|
+
};
|
|
4492
|
+
proto.AssistantConversationTelephonyEvent.prototype.setId = function(value) {
|
|
4493
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
4494
|
+
};
|
|
4495
|
+
proto.AssistantConversationTelephonyEvent.prototype.getAssistantconversationid = function() {
|
|
4496
|
+
return (
|
|
4497
|
+
/** @type {string} */
|
|
4498
|
+
jspb.Message.getFieldWithDefault(this, 2, "0")
|
|
4499
|
+
);
|
|
4500
|
+
};
|
|
4501
|
+
proto.AssistantConversationTelephonyEvent.prototype.setAssistantconversationid = function(value) {
|
|
4502
|
+
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
4503
|
+
};
|
|
4504
|
+
proto.AssistantConversationTelephonyEvent.prototype.getProvider = function() {
|
|
4505
|
+
return (
|
|
4506
|
+
/** @type {string} */
|
|
4507
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
4508
|
+
);
|
|
4509
|
+
};
|
|
4510
|
+
proto.AssistantConversationTelephonyEvent.prototype.setProvider = function(value) {
|
|
4511
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4512
|
+
};
|
|
4513
|
+
proto.AssistantConversationTelephonyEvent.prototype.getEventtype = function() {
|
|
4514
|
+
return (
|
|
4515
|
+
/** @type {string} */
|
|
4516
|
+
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
4517
|
+
);
|
|
4518
|
+
};
|
|
4519
|
+
proto.AssistantConversationTelephonyEvent.prototype.setEventtype = function(value) {
|
|
4520
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4521
|
+
};
|
|
4522
|
+
proto.AssistantConversationTelephonyEvent.prototype.getPayload = function() {
|
|
4523
|
+
return (
|
|
4524
|
+
/** @type{?proto.google.protobuf.Struct} */
|
|
4525
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5)
|
|
4526
|
+
);
|
|
4527
|
+
};
|
|
4528
|
+
proto.AssistantConversationTelephonyEvent.prototype.setPayload = function(value) {
|
|
4529
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
4530
|
+
};
|
|
4531
|
+
proto.AssistantConversationTelephonyEvent.prototype.clearPayload = function() {
|
|
4532
|
+
return this.setPayload(void 0);
|
|
4533
|
+
};
|
|
4534
|
+
proto.AssistantConversationTelephonyEvent.prototype.hasPayload = function() {
|
|
4535
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4536
|
+
};
|
|
4537
|
+
proto.AssistantConversationTelephonyEvent.prototype.getCreateddate = function() {
|
|
4538
|
+
return (
|
|
4539
|
+
/** @type{?proto.google.protobuf.Timestamp} */
|
|
4540
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)
|
|
4541
|
+
);
|
|
4542
|
+
};
|
|
4543
|
+
proto.AssistantConversationTelephonyEvent.prototype.setCreateddate = function(value) {
|
|
4544
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
4545
|
+
};
|
|
4546
|
+
proto.AssistantConversationTelephonyEvent.prototype.clearCreateddate = function() {
|
|
4547
|
+
return this.setCreateddate(void 0);
|
|
4548
|
+
};
|
|
4549
|
+
proto.AssistantConversationTelephonyEvent.prototype.hasCreateddate = function() {
|
|
4550
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4551
|
+
};
|
|
4552
|
+
proto.AssistantConversationTelephonyEvent.prototype.getUpdateddate = function() {
|
|
4553
|
+
return (
|
|
4554
|
+
/** @type{?proto.google.protobuf.Timestamp} */
|
|
4555
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)
|
|
4556
|
+
);
|
|
4557
|
+
};
|
|
4558
|
+
proto.AssistantConversationTelephonyEvent.prototype.setUpdateddate = function(value) {
|
|
4559
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
4560
|
+
};
|
|
4561
|
+
proto.AssistantConversationTelephonyEvent.prototype.clearUpdateddate = function() {
|
|
4562
|
+
return this.setUpdateddate(void 0);
|
|
4563
|
+
};
|
|
4564
|
+
proto.AssistantConversationTelephonyEvent.prototype.hasUpdateddate = function() {
|
|
4565
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4566
|
+
};
|
|
4567
|
+
proto.AssistantConversation.repeatedFields_ = [13, 28, 30, 32, 31, 33, 35, 36];
|
|
4337
4568
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4338
4569
|
proto.AssistantConversation.prototype.toObject = function(opt_includeInstance) {
|
|
4339
4570
|
return proto.AssistantConversation.toObject(opt_includeInstance, this);
|
|
@@ -4390,6 +4621,11 @@ var require_common_pb = __commonJS({
|
|
|
4390
4621
|
msg.getRecordingsList(),
|
|
4391
4622
|
proto.AssistantConversationRecording.toObject,
|
|
4392
4623
|
includeInstance
|
|
4624
|
+
),
|
|
4625
|
+
telephonyeventsList: jspb.Message.toObjectList(
|
|
4626
|
+
msg.getTelephonyeventsList(),
|
|
4627
|
+
proto.AssistantConversationTelephonyEvent.toObject,
|
|
4628
|
+
includeInstance
|
|
4393
4629
|
)
|
|
4394
4630
|
};
|
|
4395
4631
|
if (includeInstance) {
|
|
@@ -4551,6 +4787,11 @@ var require_common_pb = __commonJS({
|
|
|
4551
4787
|
reader.readMessage(value, proto.AssistantConversationRecording.deserializeBinaryFromReader);
|
|
4552
4788
|
msg.addRecordings(value);
|
|
4553
4789
|
break;
|
|
4790
|
+
case 36:
|
|
4791
|
+
var value = new proto.AssistantConversationTelephonyEvent();
|
|
4792
|
+
reader.readMessage(value, proto.AssistantConversationTelephonyEvent.deserializeBinaryFromReader);
|
|
4793
|
+
msg.addTelephonyevents(value);
|
|
4794
|
+
break;
|
|
4554
4795
|
default:
|
|
4555
4796
|
reader.skipField();
|
|
4556
4797
|
break;
|
|
@@ -4736,6 +4977,14 @@ var require_common_pb = __commonJS({
|
|
|
4736
4977
|
proto.AssistantConversationRecording.serializeBinaryToWriter
|
|
4737
4978
|
);
|
|
4738
4979
|
}
|
|
4980
|
+
f = message.getTelephonyeventsList();
|
|
4981
|
+
if (f.length > 0) {
|
|
4982
|
+
writer.writeRepeatedMessage(
|
|
4983
|
+
36,
|
|
4984
|
+
f,
|
|
4985
|
+
proto.AssistantConversationTelephonyEvent.serializeBinaryToWriter
|
|
4986
|
+
);
|
|
4987
|
+
}
|
|
4739
4988
|
};
|
|
4740
4989
|
proto.AssistantConversation.prototype.getId = function() {
|
|
4741
4990
|
return (
|
|
@@ -5004,6 +5253,21 @@ var require_common_pb = __commonJS({
|
|
|
5004
5253
|
proto.AssistantConversation.prototype.clearRecordingsList = function() {
|
|
5005
5254
|
return this.setRecordingsList([]);
|
|
5006
5255
|
};
|
|
5256
|
+
proto.AssistantConversation.prototype.getTelephonyeventsList = function() {
|
|
5257
|
+
return (
|
|
5258
|
+
/** @type{!Array<!proto.AssistantConversationTelephonyEvent>} */
|
|
5259
|
+
jspb.Message.getRepeatedWrapperField(this, proto.AssistantConversationTelephonyEvent, 36)
|
|
5260
|
+
);
|
|
5261
|
+
};
|
|
5262
|
+
proto.AssistantConversation.prototype.setTelephonyeventsList = function(value) {
|
|
5263
|
+
return jspb.Message.setRepeatedWrapperField(this, 36, value);
|
|
5264
|
+
};
|
|
5265
|
+
proto.AssistantConversation.prototype.addTelephonyevents = function(opt_value, opt_index) {
|
|
5266
|
+
return jspb.Message.addToRepeatedWrapperField(this, 36, opt_value, proto.AssistantConversationTelephonyEvent, opt_index);
|
|
5267
|
+
};
|
|
5268
|
+
proto.AssistantConversation.prototype.clearTelephonyeventsList = function() {
|
|
5269
|
+
return this.setTelephonyeventsList([]);
|
|
5270
|
+
};
|
|
5007
5271
|
proto.GetAllAssistantConversationRequest.repeatedFields_ = [3];
|
|
5008
5272
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5009
5273
|
proto.GetAllAssistantConversationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -8834,10 +9098,8 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
8834
9098
|
goog.object.extend(proto, common_pb);
|
|
8835
9099
|
goog.exportSymbol("proto.assistant_api.AssistantApiDeployment", null, global);
|
|
8836
9100
|
goog.exportSymbol("proto.assistant_api.AssistantDebuggerDeployment", null, global);
|
|
8837
|
-
goog.exportSymbol("proto.assistant_api.AssistantDebuggerDeployment.IconCase", null, global);
|
|
8838
9101
|
goog.exportSymbol("proto.assistant_api.AssistantPhoneDeployment", null, global);
|
|
8839
9102
|
goog.exportSymbol("proto.assistant_api.AssistantWebpluginDeployment", null, global);
|
|
8840
|
-
goog.exportSymbol("proto.assistant_api.AssistantWebpluginDeployment.IconCase", null, global);
|
|
8841
9103
|
goog.exportSymbol("proto.assistant_api.AssistantWhatsappDeployment", null, global);
|
|
8842
9104
|
goog.exportSymbol("proto.assistant_api.CreateAssistantDeploymentRequest", null, global);
|
|
8843
9105
|
goog.exportSymbol("proto.assistant_api.CreateAssistantDeploymentRequest.DeploymentCase", null, global);
|
|
@@ -8856,7 +9118,7 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
8856
9118
|
proto.assistant_api.DeploymentAudioProvider.displayName = "proto.assistant_api.DeploymentAudioProvider";
|
|
8857
9119
|
}
|
|
8858
9120
|
proto.assistant_api.AssistantWebpluginDeployment = function(opt_data) {
|
|
8859
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.AssistantWebpluginDeployment.repeatedFields_,
|
|
9121
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.AssistantWebpluginDeployment.repeatedFields_, null);
|
|
8860
9122
|
};
|
|
8861
9123
|
goog.inherits(proto.assistant_api.AssistantWebpluginDeployment, jspb.Message);
|
|
8862
9124
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -8877,7 +9139,7 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
8877
9139
|
proto.assistant_api.AssistantWhatsappDeployment.displayName = "proto.assistant_api.AssistantWhatsappDeployment";
|
|
8878
9140
|
}
|
|
8879
9141
|
proto.assistant_api.AssistantDebuggerDeployment = function(opt_data) {
|
|
8880
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
9142
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8881
9143
|
};
|
|
8882
9144
|
goog.inherits(proto.assistant_api.AssistantDebuggerDeployment, jspb.Message);
|
|
8883
9145
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -9110,18 +9372,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9110
9372
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
9111
9373
|
};
|
|
9112
9374
|
proto.assistant_api.AssistantWebpluginDeployment.repeatedFields_ = [20];
|
|
9113
|
-
proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_ = [[15, 16]];
|
|
9114
|
-
proto.assistant_api.AssistantWebpluginDeployment.IconCase = {
|
|
9115
|
-
ICON_NOT_SET: 0,
|
|
9116
|
-
URL: 15,
|
|
9117
|
-
RAW: 16
|
|
9118
|
-
};
|
|
9119
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.getIconCase = function() {
|
|
9120
|
-
return (
|
|
9121
|
-
/** @type {proto.assistant_api.AssistantWebpluginDeployment.IconCase} */
|
|
9122
|
-
jspb.Message.computeOneofCase(this, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0])
|
|
9123
|
-
);
|
|
9124
|
-
};
|
|
9125
9375
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9126
9376
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.toObject = function(opt_includeInstance) {
|
|
9127
9377
|
return proto.assistant_api.AssistantWebpluginDeployment.toObject(opt_includeInstance, this);
|
|
@@ -9135,8 +9385,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9135
9385
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9136
9386
|
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
9137
9387
|
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
9138
|
-
url: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
9139
|
-
raw: (f = msg.getRaw()) && common_pb.Content.toObject(includeInstance, f),
|
|
9140
9388
|
suggestionList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? void 0 : f,
|
|
9141
9389
|
helpcenterenabled: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
9142
9390
|
productcatalogenabled: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
@@ -9212,18 +9460,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9212
9460
|
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
9213
9461
|
msg.setOutputaudio(value);
|
|
9214
9462
|
break;
|
|
9215
|
-
case 15:
|
|
9216
|
-
var value = (
|
|
9217
|
-
/** @type {string} */
|
|
9218
|
-
reader.readString()
|
|
9219
|
-
);
|
|
9220
|
-
msg.setUrl(value);
|
|
9221
|
-
break;
|
|
9222
|
-
case 16:
|
|
9223
|
-
var value = new common_pb.Content();
|
|
9224
|
-
reader.readMessage(value, common_pb.Content.deserializeBinaryFromReader);
|
|
9225
|
-
msg.setRaw(value);
|
|
9226
|
-
break;
|
|
9227
9463
|
case 20:
|
|
9228
9464
|
var value = (
|
|
9229
9465
|
/** @type {string} */
|
|
@@ -9364,22 +9600,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9364
9600
|
proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
|
|
9365
9601
|
);
|
|
9366
9602
|
}
|
|
9367
|
-
f = /** @type {string} */
|
|
9368
|
-
jspb.Message.getField(message, 15);
|
|
9369
|
-
if (f != null) {
|
|
9370
|
-
writer.writeString(
|
|
9371
|
-
15,
|
|
9372
|
-
f
|
|
9373
|
-
);
|
|
9374
|
-
}
|
|
9375
|
-
f = message.getRaw();
|
|
9376
|
-
if (f != null) {
|
|
9377
|
-
writer.writeMessage(
|
|
9378
|
-
16,
|
|
9379
|
-
f,
|
|
9380
|
-
common_pb.Content.serializeBinaryToWriter
|
|
9381
|
-
);
|
|
9382
|
-
}
|
|
9383
9603
|
f = message.getSuggestionList();
|
|
9384
9604
|
if (f.length > 0) {
|
|
9385
9605
|
writer.writeRepeatedString(
|
|
@@ -9547,36 +9767,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9547
9767
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.hasOutputaudio = function() {
|
|
9548
9768
|
return jspb.Message.getField(this, 14) != null;
|
|
9549
9769
|
};
|
|
9550
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.getUrl = function() {
|
|
9551
|
-
return (
|
|
9552
|
-
/** @type {string} */
|
|
9553
|
-
jspb.Message.getFieldWithDefault(this, 15, "")
|
|
9554
|
-
);
|
|
9555
|
-
};
|
|
9556
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.setUrl = function(value) {
|
|
9557
|
-
return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0], value);
|
|
9558
|
-
};
|
|
9559
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.clearUrl = function() {
|
|
9560
|
-
return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0], void 0);
|
|
9561
|
-
};
|
|
9562
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.hasUrl = function() {
|
|
9563
|
-
return jspb.Message.getField(this, 15) != null;
|
|
9564
|
-
};
|
|
9565
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.getRaw = function() {
|
|
9566
|
-
return (
|
|
9567
|
-
/** @type{?proto.Content} */
|
|
9568
|
-
jspb.Message.getWrapperField(this, common_pb.Content, 16)
|
|
9569
|
-
);
|
|
9570
|
-
};
|
|
9571
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.setRaw = function(value) {
|
|
9572
|
-
return jspb.Message.setOneofWrapperField(this, 16, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0], value);
|
|
9573
|
-
};
|
|
9574
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.clearRaw = function() {
|
|
9575
|
-
return this.setRaw(void 0);
|
|
9576
|
-
};
|
|
9577
|
-
proto.assistant_api.AssistantWebpluginDeployment.prototype.hasRaw = function() {
|
|
9578
|
-
return jspb.Message.getField(this, 16) != null;
|
|
9579
|
-
};
|
|
9580
9770
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.getSuggestionList = function() {
|
|
9581
9771
|
return (
|
|
9582
9772
|
/** @type {!Array<string>} */
|
|
@@ -10558,18 +10748,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10558
10748
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.setIdealtimeoutmessage = function(value) {
|
|
10559
10749
|
return jspb.Message.setProto3StringField(this, 31, value);
|
|
10560
10750
|
};
|
|
10561
|
-
proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_ = [[15, 16]];
|
|
10562
|
-
proto.assistant_api.AssistantDebuggerDeployment.IconCase = {
|
|
10563
|
-
ICON_NOT_SET: 0,
|
|
10564
|
-
URL: 15,
|
|
10565
|
-
RAW: 16
|
|
10566
|
-
};
|
|
10567
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.getIconCase = function() {
|
|
10568
|
-
return (
|
|
10569
|
-
/** @type {proto.assistant_api.AssistantDebuggerDeployment.IconCase} */
|
|
10570
|
-
jspb.Message.computeOneofCase(this, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0])
|
|
10571
|
-
);
|
|
10572
|
-
};
|
|
10573
10751
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10574
10752
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.toObject = function(opt_includeInstance) {
|
|
10575
10753
|
return proto.assistant_api.AssistantDebuggerDeployment.toObject(opt_includeInstance, this);
|
|
@@ -10583,8 +10761,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10583
10761
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
10584
10762
|
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10585
10763
|
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10586
|
-
url: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
10587
|
-
raw: (f = msg.getRaw()) && common_pb.Content.toObject(includeInstance, f),
|
|
10588
10764
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10589
10765
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10590
10766
|
status: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
@@ -10655,18 +10831,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10655
10831
|
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
10656
10832
|
msg.setOutputaudio(value);
|
|
10657
10833
|
break;
|
|
10658
|
-
case 15:
|
|
10659
|
-
var value = (
|
|
10660
|
-
/** @type {string} */
|
|
10661
|
-
reader.readString()
|
|
10662
|
-
);
|
|
10663
|
-
msg.setUrl(value);
|
|
10664
|
-
break;
|
|
10665
|
-
case 16:
|
|
10666
|
-
var value = new common_pb.Content();
|
|
10667
|
-
reader.readMessage(value, common_pb.Content.deserializeBinaryFromReader);
|
|
10668
|
-
msg.setRaw(value);
|
|
10669
|
-
break;
|
|
10670
10834
|
case 26:
|
|
10671
10835
|
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
10672
10836
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
@@ -10772,22 +10936,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10772
10936
|
proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
|
|
10773
10937
|
);
|
|
10774
10938
|
}
|
|
10775
|
-
f = /** @type {string} */
|
|
10776
|
-
jspb.Message.getField(message, 15);
|
|
10777
|
-
if (f != null) {
|
|
10778
|
-
writer.writeString(
|
|
10779
|
-
15,
|
|
10780
|
-
f
|
|
10781
|
-
);
|
|
10782
|
-
}
|
|
10783
|
-
f = message.getRaw();
|
|
10784
|
-
if (f != null) {
|
|
10785
|
-
writer.writeMessage(
|
|
10786
|
-
16,
|
|
10787
|
-
f,
|
|
10788
|
-
common_pb.Content.serializeBinaryToWriter
|
|
10789
|
-
);
|
|
10790
|
-
}
|
|
10791
10939
|
f = message.getCreateddate();
|
|
10792
10940
|
if (f != null) {
|
|
10793
10941
|
writer.writeMessage(
|
|
@@ -10920,36 +11068,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10920
11068
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.hasOutputaudio = function() {
|
|
10921
11069
|
return jspb.Message.getField(this, 14) != null;
|
|
10922
11070
|
};
|
|
10923
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.getUrl = function() {
|
|
10924
|
-
return (
|
|
10925
|
-
/** @type {string} */
|
|
10926
|
-
jspb.Message.getFieldWithDefault(this, 15, "")
|
|
10927
|
-
);
|
|
10928
|
-
};
|
|
10929
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.setUrl = function(value) {
|
|
10930
|
-
return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0], value);
|
|
10931
|
-
};
|
|
10932
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.clearUrl = function() {
|
|
10933
|
-
return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0], void 0);
|
|
10934
|
-
};
|
|
10935
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.hasUrl = function() {
|
|
10936
|
-
return jspb.Message.getField(this, 15) != null;
|
|
10937
|
-
};
|
|
10938
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.getRaw = function() {
|
|
10939
|
-
return (
|
|
10940
|
-
/** @type{?proto.Content} */
|
|
10941
|
-
jspb.Message.getWrapperField(this, common_pb.Content, 16)
|
|
10942
|
-
);
|
|
10943
|
-
};
|
|
10944
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.setRaw = function(value) {
|
|
10945
|
-
return jspb.Message.setOneofWrapperField(this, 16, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0], value);
|
|
10946
|
-
};
|
|
10947
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.clearRaw = function() {
|
|
10948
|
-
return this.setRaw(void 0);
|
|
10949
|
-
};
|
|
10950
|
-
proto.assistant_api.AssistantDebuggerDeployment.prototype.hasRaw = function() {
|
|
10951
|
-
return jspb.Message.getField(this, 16) != null;
|
|
10952
|
-
};
|
|
10953
11071
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.getCreateddate = function() {
|
|
10954
11072
|
return (
|
|
10955
11073
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
@@ -59329,6 +59447,7 @@ __export(index_exports, {
|
|
|
59329
59447
|
AssistantConversationInterruption: () => import_common_pb17.AssistantConversationInterruption,
|
|
59330
59448
|
AssistantConversationMessage: () => import_common_pb17.AssistantConversationMessage,
|
|
59331
59449
|
AssistantConversationRecording: () => import_common_pb17.AssistantConversationRecording,
|
|
59450
|
+
AssistantConversationTelephonyEvent: () => import_common_pb17.AssistantConversationTelephonyEvent,
|
|
59332
59451
|
AssistantConversationUserMessage: () => import_common_pb17.AssistantConversationUserMessage,
|
|
59333
59452
|
AssistantDebuggerDeployment: () => import_assistant_deployment_pb.AssistantDebuggerDeployment,
|
|
59334
59453
|
AssistantDefinition: () => import_common_pb17.AssistantDefinition,
|
|
@@ -61914,7 +62033,6 @@ var VoiceAgent = class extends Agent {
|
|
|
61914
62033
|
inputChannel = "audio" /* Audio */;
|
|
61915
62034
|
outputChannel = "audio" /* Audio */;
|
|
61916
62035
|
/**
|
|
61917
|
-
* Creates a new Room, the primary construct for a LiveKit session.
|
|
61918
62036
|
* @param options
|
|
61919
62037
|
*/
|
|
61920
62038
|
constructor(connection, agentConfig, agentCallback) {
|
|
@@ -62813,7 +62931,7 @@ var InputOptions = class {
|
|
|
62813
62931
|
*/
|
|
62814
62932
|
recorderOptions = {
|
|
62815
62933
|
format: "pcm",
|
|
62816
|
-
sampleRate:
|
|
62934
|
+
sampleRate: 16e3
|
|
62817
62935
|
};
|
|
62818
62936
|
get recorderOption() {
|
|
62819
62937
|
return this.recorderOptions;
|
|
@@ -62854,7 +62972,7 @@ var OutputOptions = class {
|
|
|
62854
62972
|
*/
|
|
62855
62973
|
playerOptions = {
|
|
62856
62974
|
format: "pcm",
|
|
62857
|
-
sampleRate:
|
|
62975
|
+
sampleRate: 16e3
|
|
62858
62976
|
};
|
|
62859
62977
|
get playerOption() {
|
|
62860
62978
|
return this.playerOptions;
|
|
@@ -64513,6 +64631,7 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
64513
64631
|
AssistantConversationInterruption,
|
|
64514
64632
|
AssistantConversationMessage,
|
|
64515
64633
|
AssistantConversationRecording,
|
|
64634
|
+
AssistantConversationTelephonyEvent,
|
|
64516
64635
|
AssistantConversationUserMessage,
|
|
64517
64636
|
AssistantDebuggerDeployment,
|
|
64518
64637
|
AssistantDefinition,
|