@rapidaai/react 1.1.43 → 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.
@@ -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
- proto.AssistantConversation.repeatedFields_ = [13, 28, 30, 32, 31, 33, 35];
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_, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_);
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, proto.assistant_api.AssistantDebuggerDeployment.repeatedFields_, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_);
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) {
@@ -8953,7 +9215,6 @@ var require_assistant_deployment_pb = __commonJS({
8953
9215
  common_pb.Metadata.toObject,
8954
9216
  includeInstance
8955
9217
  ),
8956
- audioproviderid: jspb.Message.getFieldWithDefault(msg, 4, "0"),
8957
9218
  status: jspb.Message.getFieldWithDefault(msg, 5, ""),
8958
9219
  audiotype: jspb.Message.getFieldWithDefault(msg, 6, "")
8959
9220
  };
@@ -8994,13 +9255,6 @@ var require_assistant_deployment_pb = __commonJS({
8994
9255
  reader.readMessage(value, common_pb.Metadata.deserializeBinaryFromReader);
8995
9256
  msg.addAudiooptions(value);
8996
9257
  break;
8997
- case 4:
8998
- var value = (
8999
- /** @type {string} */
9000
- reader.readUint64String()
9001
- );
9002
- msg.setAudioproviderid(value);
9003
- break;
9004
9258
  case 5:
9005
9259
  var value = (
9006
9260
  /** @type {string} */
@@ -9051,13 +9305,6 @@ var require_assistant_deployment_pb = __commonJS({
9051
9305
  common_pb.Metadata.serializeBinaryToWriter
9052
9306
  );
9053
9307
  }
9054
- f = message.getAudioproviderid();
9055
- if (parseInt(f, 10) !== 0) {
9056
- writer.writeUint64String(
9057
- 4,
9058
- f
9059
- );
9060
- }
9061
9308
  f = message.getStatus();
9062
9309
  if (f.length > 0) {
9063
9310
  writer.writeString(
@@ -9106,15 +9353,6 @@ var require_assistant_deployment_pb = __commonJS({
9106
9353
  proto.assistant_api.DeploymentAudioProvider.prototype.clearAudiooptionsList = function() {
9107
9354
  return this.setAudiooptionsList([]);
9108
9355
  };
9109
- proto.assistant_api.DeploymentAudioProvider.prototype.getAudioproviderid = function() {
9110
- return (
9111
- /** @type {string} */
9112
- jspb.Message.getFieldWithDefault(this, 4, "0")
9113
- );
9114
- };
9115
- proto.assistant_api.DeploymentAudioProvider.prototype.setAudioproviderid = function(value) {
9116
- return jspb.Message.setProto3StringIntField(this, 4, value);
9117
- };
9118
9356
  proto.assistant_api.DeploymentAudioProvider.prototype.getStatus = function() {
9119
9357
  return (
9120
9358
  /** @type {string} */
@@ -9134,18 +9372,6 @@ var require_assistant_deployment_pb = __commonJS({
9134
9372
  return jspb.Message.setProto3StringField(this, 6, value);
9135
9373
  };
9136
9374
  proto.assistant_api.AssistantWebpluginDeployment.repeatedFields_ = [20];
9137
- proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_ = [[15, 16]];
9138
- proto.assistant_api.AssistantWebpluginDeployment.IconCase = {
9139
- ICON_NOT_SET: 0,
9140
- URL: 15,
9141
- RAW: 16
9142
- };
9143
- proto.assistant_api.AssistantWebpluginDeployment.prototype.getIconCase = function() {
9144
- return (
9145
- /** @type {proto.assistant_api.AssistantWebpluginDeployment.IconCase} */
9146
- jspb.Message.computeOneofCase(this, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0])
9147
- );
9148
- };
9149
9375
  if (jspb.Message.GENERATE_TO_OBJECT) {
9150
9376
  proto.assistant_api.AssistantWebpluginDeployment.prototype.toObject = function(opt_includeInstance) {
9151
9377
  return proto.assistant_api.AssistantWebpluginDeployment.toObject(opt_includeInstance, this);
@@ -9157,11 +9383,8 @@ var require_assistant_deployment_pb = __commonJS({
9157
9383
  name: jspb.Message.getFieldWithDefault(msg, 6, ""),
9158
9384
  greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
9159
9385
  mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
9160
- ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
9161
9386
  inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
9162
9387
  outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
9163
- url: jspb.Message.getFieldWithDefault(msg, 15, ""),
9164
- raw: (f = msg.getRaw()) && common_pb.Content.toObject(includeInstance, f),
9165
9388
  suggestionList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? void 0 : f,
9166
9389
  helpcenterenabled: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
9167
9390
  productcatalogenabled: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
@@ -9169,7 +9392,10 @@ var require_assistant_deployment_pb = __commonJS({
9169
9392
  uploadfileenabled: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
9170
9393
  createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
9171
9394
  updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
9172
- status: jspb.Message.getFieldWithDefault(msg, 28, "")
9395
+ status: jspb.Message.getFieldWithDefault(msg, 28, ""),
9396
+ maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
9397
+ idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
9398
+ idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
9173
9399
  };
9174
9400
  if (includeInstance) {
9175
9401
  obj.$jspbMessageInstance = msg;
@@ -9224,13 +9450,6 @@ var require_assistant_deployment_pb = __commonJS({
9224
9450
  );
9225
9451
  msg.setMistake(value);
9226
9452
  break;
9227
- case 12:
9228
- var value = (
9229
- /** @type {string} */
9230
- reader.readString()
9231
- );
9232
- msg.setEnding(value);
9233
- break;
9234
9453
  case 13:
9235
9454
  var value = new proto.assistant_api.DeploymentAudioProvider();
9236
9455
  reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
@@ -9241,18 +9460,6 @@ var require_assistant_deployment_pb = __commonJS({
9241
9460
  reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
9242
9461
  msg.setOutputaudio(value);
9243
9462
  break;
9244
- case 15:
9245
- var value = (
9246
- /** @type {string} */
9247
- reader.readString()
9248
- );
9249
- msg.setUrl(value);
9250
- break;
9251
- case 16:
9252
- var value = new common_pb.Content();
9253
- reader.readMessage(value, common_pb.Content.deserializeBinaryFromReader);
9254
- msg.setRaw(value);
9255
- break;
9256
9463
  case 20:
9257
9464
  var value = (
9258
9465
  /** @type {string} */
@@ -9305,15 +9512,36 @@ var require_assistant_deployment_pb = __commonJS({
9305
9512
  );
9306
9513
  msg.setStatus(value);
9307
9514
  break;
9308
- default:
9309
- reader.skipField();
9515
+ case 29:
9516
+ var value = (
9517
+ /** @type {string} */
9518
+ reader.readUint64String()
9519
+ );
9520
+ msg.setMaxsessionduration(value);
9310
9521
  break;
9311
- }
9312
- }
9313
- return msg;
9314
- };
9315
- proto.assistant_api.AssistantWebpluginDeployment.prototype.serializeBinary = function() {
9316
- var writer = new jspb.BinaryWriter();
9522
+ case 30:
9523
+ var value = (
9524
+ /** @type {string} */
9525
+ reader.readUint64String()
9526
+ );
9527
+ msg.setIdealtimeout(value);
9528
+ break;
9529
+ case 31:
9530
+ var value = (
9531
+ /** @type {string} */
9532
+ reader.readString()
9533
+ );
9534
+ msg.setIdealtimeoutmessage(value);
9535
+ break;
9536
+ default:
9537
+ reader.skipField();
9538
+ break;
9539
+ }
9540
+ }
9541
+ return msg;
9542
+ };
9543
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.serializeBinary = function() {
9544
+ var writer = new jspb.BinaryWriter();
9317
9545
  proto.assistant_api.AssistantWebpluginDeployment.serializeBinaryToWriter(this, writer);
9318
9546
  return writer.getResultBuffer();
9319
9547
  };
@@ -9356,14 +9584,6 @@ var require_assistant_deployment_pb = __commonJS({
9356
9584
  f
9357
9585
  );
9358
9586
  }
9359
- f = /** @type {string} */
9360
- jspb.Message.getField(message, 12);
9361
- if (f != null) {
9362
- writer.writeString(
9363
- 12,
9364
- f
9365
- );
9366
- }
9367
9587
  f = message.getInputaudio();
9368
9588
  if (f != null) {
9369
9589
  writer.writeMessage(
@@ -9380,22 +9600,6 @@ var require_assistant_deployment_pb = __commonJS({
9380
9600
  proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
9381
9601
  );
9382
9602
  }
9383
- f = /** @type {string} */
9384
- jspb.Message.getField(message, 15);
9385
- if (f != null) {
9386
- writer.writeString(
9387
- 15,
9388
- f
9389
- );
9390
- }
9391
- f = message.getRaw();
9392
- if (f != null) {
9393
- writer.writeMessage(
9394
- 16,
9395
- f,
9396
- common_pb.Content.serializeBinaryToWriter
9397
- );
9398
- }
9399
9603
  f = message.getSuggestionList();
9400
9604
  if (f.length > 0) {
9401
9605
  writer.writeRepeatedString(
@@ -9454,6 +9658,27 @@ var require_assistant_deployment_pb = __commonJS({
9454
9658
  f
9455
9659
  );
9456
9660
  }
9661
+ f = message.getMaxsessionduration();
9662
+ if (parseInt(f, 10) !== 0) {
9663
+ writer.writeUint64String(
9664
+ 29,
9665
+ f
9666
+ );
9667
+ }
9668
+ f = message.getIdealtimeout();
9669
+ if (parseInt(f, 10) !== 0) {
9670
+ writer.writeUint64String(
9671
+ 30,
9672
+ f
9673
+ );
9674
+ }
9675
+ f = message.getIdealtimeoutmessage();
9676
+ if (f.length > 0) {
9677
+ writer.writeString(
9678
+ 31,
9679
+ f
9680
+ );
9681
+ }
9457
9682
  };
9458
9683
  proto.assistant_api.AssistantWebpluginDeployment.prototype.getId = function() {
9459
9684
  return (
@@ -9512,21 +9737,6 @@ var require_assistant_deployment_pb = __commonJS({
9512
9737
  proto.assistant_api.AssistantWebpluginDeployment.prototype.hasMistake = function() {
9513
9738
  return jspb.Message.getField(this, 11) != null;
9514
9739
  };
9515
- proto.assistant_api.AssistantWebpluginDeployment.prototype.getEnding = function() {
9516
- return (
9517
- /** @type {string} */
9518
- jspb.Message.getFieldWithDefault(this, 12, "")
9519
- );
9520
- };
9521
- proto.assistant_api.AssistantWebpluginDeployment.prototype.setEnding = function(value) {
9522
- return jspb.Message.setField(this, 12, value);
9523
- };
9524
- proto.assistant_api.AssistantWebpluginDeployment.prototype.clearEnding = function() {
9525
- return jspb.Message.setField(this, 12, void 0);
9526
- };
9527
- proto.assistant_api.AssistantWebpluginDeployment.prototype.hasEnding = function() {
9528
- return jspb.Message.getField(this, 12) != null;
9529
- };
9530
9740
  proto.assistant_api.AssistantWebpluginDeployment.prototype.getInputaudio = function() {
9531
9741
  return (
9532
9742
  /** @type{?proto.assistant_api.DeploymentAudioProvider} */
@@ -9557,36 +9767,6 @@ var require_assistant_deployment_pb = __commonJS({
9557
9767
  proto.assistant_api.AssistantWebpluginDeployment.prototype.hasOutputaudio = function() {
9558
9768
  return jspb.Message.getField(this, 14) != null;
9559
9769
  };
9560
- proto.assistant_api.AssistantWebpluginDeployment.prototype.getUrl = function() {
9561
- return (
9562
- /** @type {string} */
9563
- jspb.Message.getFieldWithDefault(this, 15, "")
9564
- );
9565
- };
9566
- proto.assistant_api.AssistantWebpluginDeployment.prototype.setUrl = function(value) {
9567
- return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0], value);
9568
- };
9569
- proto.assistant_api.AssistantWebpluginDeployment.prototype.clearUrl = function() {
9570
- return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0], void 0);
9571
- };
9572
- proto.assistant_api.AssistantWebpluginDeployment.prototype.hasUrl = function() {
9573
- return jspb.Message.getField(this, 15) != null;
9574
- };
9575
- proto.assistant_api.AssistantWebpluginDeployment.prototype.getRaw = function() {
9576
- return (
9577
- /** @type{?proto.Content} */
9578
- jspb.Message.getWrapperField(this, common_pb.Content, 16)
9579
- );
9580
- };
9581
- proto.assistant_api.AssistantWebpluginDeployment.prototype.setRaw = function(value) {
9582
- return jspb.Message.setOneofWrapperField(this, 16, proto.assistant_api.AssistantWebpluginDeployment.oneofGroups_[0], value);
9583
- };
9584
- proto.assistant_api.AssistantWebpluginDeployment.prototype.clearRaw = function() {
9585
- return this.setRaw(void 0);
9586
- };
9587
- proto.assistant_api.AssistantWebpluginDeployment.prototype.hasRaw = function() {
9588
- return jspb.Message.getField(this, 16) != null;
9589
- };
9590
9770
  proto.assistant_api.AssistantWebpluginDeployment.prototype.getSuggestionList = function() {
9591
9771
  return (
9592
9772
  /** @type {!Array<string>} */
@@ -9677,6 +9857,33 @@ var require_assistant_deployment_pb = __commonJS({
9677
9857
  proto.assistant_api.AssistantWebpluginDeployment.prototype.setStatus = function(value) {
9678
9858
  return jspb.Message.setProto3StringField(this, 28, value);
9679
9859
  };
9860
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.getMaxsessionduration = function() {
9861
+ return (
9862
+ /** @type {string} */
9863
+ jspb.Message.getFieldWithDefault(this, 29, "0")
9864
+ );
9865
+ };
9866
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.setMaxsessionduration = function(value) {
9867
+ return jspb.Message.setProto3StringIntField(this, 29, value);
9868
+ };
9869
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.getIdealtimeout = function() {
9870
+ return (
9871
+ /** @type {string} */
9872
+ jspb.Message.getFieldWithDefault(this, 30, "0")
9873
+ );
9874
+ };
9875
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.setIdealtimeout = function(value) {
9876
+ return jspb.Message.setProto3StringIntField(this, 30, value);
9877
+ };
9878
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.getIdealtimeoutmessage = function() {
9879
+ return (
9880
+ /** @type {string} */
9881
+ jspb.Message.getFieldWithDefault(this, 31, "")
9882
+ );
9883
+ };
9884
+ proto.assistant_api.AssistantWebpluginDeployment.prototype.setIdealtimeoutmessage = function(value) {
9885
+ return jspb.Message.setProto3StringField(this, 31, value);
9886
+ };
9680
9887
  proto.assistant_api.AssistantPhoneDeployment.repeatedFields_ = [17];
9681
9888
  if (jspb.Message.GENERATE_TO_OBJECT) {
9682
9889
  proto.assistant_api.AssistantPhoneDeployment.prototype.toObject = function(opt_includeInstance) {
@@ -9688,11 +9895,9 @@ var require_assistant_deployment_pb = __commonJS({
9688
9895
  assistantid: jspb.Message.getFieldWithDefault(msg, 5, "0"),
9689
9896
  greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
9690
9897
  mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
9691
- ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
9692
9898
  inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
9693
9899
  outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
9694
9900
  phoneprovidername: jspb.Message.getFieldWithDefault(msg, 15, ""),
9695
- phoneproviderid: jspb.Message.getFieldWithDefault(msg, 16, "0"),
9696
9901
  phoneoptionsList: jspb.Message.toObjectList(
9697
9902
  msg.getPhoneoptionsList(),
9698
9903
  common_pb.Metadata.toObject,
@@ -9700,7 +9905,10 @@ var require_assistant_deployment_pb = __commonJS({
9700
9905
  ),
9701
9906
  createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
9702
9907
  updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
9703
- status: jspb.Message.getFieldWithDefault(msg, 28, "")
9908
+ status: jspb.Message.getFieldWithDefault(msg, 28, ""),
9909
+ maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
9910
+ idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
9911
+ idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
9704
9912
  };
9705
9913
  if (includeInstance) {
9706
9914
  obj.$jspbMessageInstance = msg;
@@ -9748,13 +9956,6 @@ var require_assistant_deployment_pb = __commonJS({
9748
9956
  );
9749
9957
  msg.setMistake(value);
9750
9958
  break;
9751
- case 12:
9752
- var value = (
9753
- /** @type {string} */
9754
- reader.readString()
9755
- );
9756
- msg.setEnding(value);
9757
- break;
9758
9959
  case 13:
9759
9960
  var value = new proto.assistant_api.DeploymentAudioProvider();
9760
9961
  reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
@@ -9772,13 +9973,6 @@ var require_assistant_deployment_pb = __commonJS({
9772
9973
  );
9773
9974
  msg.setPhoneprovidername(value);
9774
9975
  break;
9775
- case 16:
9776
- var value = (
9777
- /** @type {string} */
9778
- reader.readUint64String()
9779
- );
9780
- msg.setPhoneproviderid(value);
9781
- break;
9782
9976
  case 17:
9783
9977
  var value = new common_pb.Metadata();
9784
9978
  reader.readMessage(value, common_pb.Metadata.deserializeBinaryFromReader);
@@ -9801,6 +9995,27 @@ var require_assistant_deployment_pb = __commonJS({
9801
9995
  );
9802
9996
  msg.setStatus(value);
9803
9997
  break;
9998
+ case 29:
9999
+ var value = (
10000
+ /** @type {string} */
10001
+ reader.readUint64String()
10002
+ );
10003
+ msg.setMaxsessionduration(value);
10004
+ break;
10005
+ case 30:
10006
+ var value = (
10007
+ /** @type {string} */
10008
+ reader.readUint64String()
10009
+ );
10010
+ msg.setIdealtimeout(value);
10011
+ break;
10012
+ case 31:
10013
+ var value = (
10014
+ /** @type {string} */
10015
+ reader.readString()
10016
+ );
10017
+ msg.setIdealtimeoutmessage(value);
10018
+ break;
9804
10019
  default:
9805
10020
  reader.skipField();
9806
10021
  break;
@@ -9845,14 +10060,6 @@ var require_assistant_deployment_pb = __commonJS({
9845
10060
  f
9846
10061
  );
9847
10062
  }
9848
- f = /** @type {string} */
9849
- jspb.Message.getField(message, 12);
9850
- if (f != null) {
9851
- writer.writeString(
9852
- 12,
9853
- f
9854
- );
9855
- }
9856
10063
  f = message.getInputaudio();
9857
10064
  if (f != null) {
9858
10065
  writer.writeMessage(
@@ -9876,13 +10083,6 @@ var require_assistant_deployment_pb = __commonJS({
9876
10083
  f
9877
10084
  );
9878
10085
  }
9879
- f = message.getPhoneproviderid();
9880
- if (parseInt(f, 10) !== 0) {
9881
- writer.writeUint64String(
9882
- 16,
9883
- f
9884
- );
9885
- }
9886
10086
  f = message.getPhoneoptionsList();
9887
10087
  if (f.length > 0) {
9888
10088
  writer.writeRepeatedMessage(
@@ -9914,6 +10114,27 @@ var require_assistant_deployment_pb = __commonJS({
9914
10114
  f
9915
10115
  );
9916
10116
  }
10117
+ f = message.getMaxsessionduration();
10118
+ if (parseInt(f, 10) !== 0) {
10119
+ writer.writeUint64String(
10120
+ 29,
10121
+ f
10122
+ );
10123
+ }
10124
+ f = message.getIdealtimeout();
10125
+ if (parseInt(f, 10) !== 0) {
10126
+ writer.writeUint64String(
10127
+ 30,
10128
+ f
10129
+ );
10130
+ }
10131
+ f = message.getIdealtimeoutmessage();
10132
+ if (f.length > 0) {
10133
+ writer.writeString(
10134
+ 31,
10135
+ f
10136
+ );
10137
+ }
9917
10138
  };
9918
10139
  proto.assistant_api.AssistantPhoneDeployment.prototype.getId = function() {
9919
10140
  return (
@@ -9963,21 +10184,6 @@ var require_assistant_deployment_pb = __commonJS({
9963
10184
  proto.assistant_api.AssistantPhoneDeployment.prototype.hasMistake = function() {
9964
10185
  return jspb.Message.getField(this, 11) != null;
9965
10186
  };
9966
- proto.assistant_api.AssistantPhoneDeployment.prototype.getEnding = function() {
9967
- return (
9968
- /** @type {string} */
9969
- jspb.Message.getFieldWithDefault(this, 12, "")
9970
- );
9971
- };
9972
- proto.assistant_api.AssistantPhoneDeployment.prototype.setEnding = function(value) {
9973
- return jspb.Message.setField(this, 12, value);
9974
- };
9975
- proto.assistant_api.AssistantPhoneDeployment.prototype.clearEnding = function() {
9976
- return jspb.Message.setField(this, 12, void 0);
9977
- };
9978
- proto.assistant_api.AssistantPhoneDeployment.prototype.hasEnding = function() {
9979
- return jspb.Message.getField(this, 12) != null;
9980
- };
9981
10187
  proto.assistant_api.AssistantPhoneDeployment.prototype.getInputaudio = function() {
9982
10188
  return (
9983
10189
  /** @type{?proto.assistant_api.DeploymentAudioProvider} */
@@ -10017,15 +10223,6 @@ var require_assistant_deployment_pb = __commonJS({
10017
10223
  proto.assistant_api.AssistantPhoneDeployment.prototype.setPhoneprovidername = function(value) {
10018
10224
  return jspb.Message.setProto3StringField(this, 15, value);
10019
10225
  };
10020
- proto.assistant_api.AssistantPhoneDeployment.prototype.getPhoneproviderid = function() {
10021
- return (
10022
- /** @type {string} */
10023
- jspb.Message.getFieldWithDefault(this, 16, "0")
10024
- );
10025
- };
10026
- proto.assistant_api.AssistantPhoneDeployment.prototype.setPhoneproviderid = function(value) {
10027
- return jspb.Message.setProto3StringIntField(this, 16, value);
10028
- };
10029
10226
  proto.assistant_api.AssistantPhoneDeployment.prototype.getPhoneoptionsList = function() {
10030
10227
  return (
10031
10228
  /** @type{!Array<!proto.Metadata>} */
@@ -10080,6 +10277,33 @@ var require_assistant_deployment_pb = __commonJS({
10080
10277
  proto.assistant_api.AssistantPhoneDeployment.prototype.setStatus = function(value) {
10081
10278
  return jspb.Message.setProto3StringField(this, 28, value);
10082
10279
  };
10280
+ proto.assistant_api.AssistantPhoneDeployment.prototype.getMaxsessionduration = function() {
10281
+ return (
10282
+ /** @type {string} */
10283
+ jspb.Message.getFieldWithDefault(this, 29, "0")
10284
+ );
10285
+ };
10286
+ proto.assistant_api.AssistantPhoneDeployment.prototype.setMaxsessionduration = function(value) {
10287
+ return jspb.Message.setProto3StringIntField(this, 29, value);
10288
+ };
10289
+ proto.assistant_api.AssistantPhoneDeployment.prototype.getIdealtimeout = function() {
10290
+ return (
10291
+ /** @type {string} */
10292
+ jspb.Message.getFieldWithDefault(this, 30, "0")
10293
+ );
10294
+ };
10295
+ proto.assistant_api.AssistantPhoneDeployment.prototype.setIdealtimeout = function(value) {
10296
+ return jspb.Message.setProto3StringIntField(this, 30, value);
10297
+ };
10298
+ proto.assistant_api.AssistantPhoneDeployment.prototype.getIdealtimeoutmessage = function() {
10299
+ return (
10300
+ /** @type {string} */
10301
+ jspb.Message.getFieldWithDefault(this, 31, "")
10302
+ );
10303
+ };
10304
+ proto.assistant_api.AssistantPhoneDeployment.prototype.setIdealtimeoutmessage = function(value) {
10305
+ return jspb.Message.setProto3StringField(this, 31, value);
10306
+ };
10083
10307
  proto.assistant_api.AssistantWhatsappDeployment.repeatedFields_ = [17];
10084
10308
  if (jspb.Message.GENERATE_TO_OBJECT) {
10085
10309
  proto.assistant_api.AssistantWhatsappDeployment.prototype.toObject = function(opt_includeInstance) {
@@ -10092,9 +10316,9 @@ var require_assistant_deployment_pb = __commonJS({
10092
10316
  name: jspb.Message.getFieldWithDefault(msg, 6, ""),
10093
10317
  greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
10094
10318
  mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
10095
- ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
10319
+ inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
10320
+ outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
10096
10321
  whatsappprovidername: jspb.Message.getFieldWithDefault(msg, 15, ""),
10097
- whatsappproviderid: jspb.Message.getFieldWithDefault(msg, 16, "0"),
10098
10322
  whatsappoptionsList: jspb.Message.toObjectList(
10099
10323
  msg.getWhatsappoptionsList(),
10100
10324
  common_pb.Metadata.toObject,
@@ -10102,7 +10326,10 @@ var require_assistant_deployment_pb = __commonJS({
10102
10326
  ),
10103
10327
  createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10104
10328
  updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10105
- status: jspb.Message.getFieldWithDefault(msg, 28, "")
10329
+ status: jspb.Message.getFieldWithDefault(msg, 28, ""),
10330
+ maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
10331
+ idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
10332
+ idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
10106
10333
  };
10107
10334
  if (includeInstance) {
10108
10335
  obj.$jspbMessageInstance = msg;
@@ -10157,12 +10384,15 @@ var require_assistant_deployment_pb = __commonJS({
10157
10384
  );
10158
10385
  msg.setMistake(value);
10159
10386
  break;
10160
- case 12:
10161
- var value = (
10162
- /** @type {string} */
10163
- reader.readString()
10164
- );
10165
- msg.setEnding(value);
10387
+ case 13:
10388
+ var value = new proto.assistant_api.DeploymentAudioProvider();
10389
+ reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
10390
+ msg.setInputaudio(value);
10391
+ break;
10392
+ case 14:
10393
+ var value = new proto.assistant_api.DeploymentAudioProvider();
10394
+ reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
10395
+ msg.setOutputaudio(value);
10166
10396
  break;
10167
10397
  case 15:
10168
10398
  var value = (
@@ -10171,13 +10401,6 @@ var require_assistant_deployment_pb = __commonJS({
10171
10401
  );
10172
10402
  msg.setWhatsappprovidername(value);
10173
10403
  break;
10174
- case 16:
10175
- var value = (
10176
- /** @type {string} */
10177
- reader.readUint64String()
10178
- );
10179
- msg.setWhatsappproviderid(value);
10180
- break;
10181
10404
  case 17:
10182
10405
  var value = new common_pb.Metadata();
10183
10406
  reader.readMessage(value, common_pb.Metadata.deserializeBinaryFromReader);
@@ -10200,6 +10423,27 @@ var require_assistant_deployment_pb = __commonJS({
10200
10423
  );
10201
10424
  msg.setStatus(value);
10202
10425
  break;
10426
+ case 29:
10427
+ var value = (
10428
+ /** @type {string} */
10429
+ reader.readUint64String()
10430
+ );
10431
+ msg.setMaxsessionduration(value);
10432
+ break;
10433
+ case 30:
10434
+ var value = (
10435
+ /** @type {string} */
10436
+ reader.readUint64String()
10437
+ );
10438
+ msg.setIdealtimeout(value);
10439
+ break;
10440
+ case 31:
10441
+ var value = (
10442
+ /** @type {string} */
10443
+ reader.readString()
10444
+ );
10445
+ msg.setIdealtimeoutmessage(value);
10446
+ break;
10203
10447
  default:
10204
10448
  reader.skipField();
10205
10449
  break;
@@ -10251,12 +10495,20 @@ var require_assistant_deployment_pb = __commonJS({
10251
10495
  f
10252
10496
  );
10253
10497
  }
10254
- f = /** @type {string} */
10255
- jspb.Message.getField(message, 12);
10498
+ f = message.getInputaudio();
10256
10499
  if (f != null) {
10257
- writer.writeString(
10258
- 12,
10259
- f
10500
+ writer.writeMessage(
10501
+ 13,
10502
+ f,
10503
+ proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
10504
+ );
10505
+ }
10506
+ f = message.getOutputaudio();
10507
+ if (f != null) {
10508
+ writer.writeMessage(
10509
+ 14,
10510
+ f,
10511
+ proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
10260
10512
  );
10261
10513
  }
10262
10514
  f = message.getWhatsappprovidername();
@@ -10266,13 +10518,6 @@ var require_assistant_deployment_pb = __commonJS({
10266
10518
  f
10267
10519
  );
10268
10520
  }
10269
- f = message.getWhatsappproviderid();
10270
- if (parseInt(f, 10) !== 0) {
10271
- writer.writeUint64String(
10272
- 16,
10273
- f
10274
- );
10275
- }
10276
10521
  f = message.getWhatsappoptionsList();
10277
10522
  if (f.length > 0) {
10278
10523
  writer.writeRepeatedMessage(
@@ -10304,6 +10549,27 @@ var require_assistant_deployment_pb = __commonJS({
10304
10549
  f
10305
10550
  );
10306
10551
  }
10552
+ f = message.getMaxsessionduration();
10553
+ if (parseInt(f, 10) !== 0) {
10554
+ writer.writeUint64String(
10555
+ 29,
10556
+ f
10557
+ );
10558
+ }
10559
+ f = message.getIdealtimeout();
10560
+ if (parseInt(f, 10) !== 0) {
10561
+ writer.writeUint64String(
10562
+ 30,
10563
+ f
10564
+ );
10565
+ }
10566
+ f = message.getIdealtimeoutmessage();
10567
+ if (f.length > 0) {
10568
+ writer.writeString(
10569
+ 31,
10570
+ f
10571
+ );
10572
+ }
10307
10573
  };
10308
10574
  proto.assistant_api.AssistantWhatsappDeployment.prototype.getId = function() {
10309
10575
  return (
@@ -10362,38 +10628,44 @@ var require_assistant_deployment_pb = __commonJS({
10362
10628
  proto.assistant_api.AssistantWhatsappDeployment.prototype.hasMistake = function() {
10363
10629
  return jspb.Message.getField(this, 11) != null;
10364
10630
  };
10365
- proto.assistant_api.AssistantWhatsappDeployment.prototype.getEnding = function() {
10631
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.getInputaudio = function() {
10366
10632
  return (
10367
- /** @type {string} */
10368
- jspb.Message.getFieldWithDefault(this, 12, "")
10633
+ /** @type{?proto.assistant_api.DeploymentAudioProvider} */
10634
+ jspb.Message.getWrapperField(this, proto.assistant_api.DeploymentAudioProvider, 13)
10369
10635
  );
10370
10636
  };
10371
- proto.assistant_api.AssistantWhatsappDeployment.prototype.setEnding = function(value) {
10372
- return jspb.Message.setField(this, 12, value);
10637
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setInputaudio = function(value) {
10638
+ return jspb.Message.setWrapperField(this, 13, value);
10373
10639
  };
10374
- proto.assistant_api.AssistantWhatsappDeployment.prototype.clearEnding = function() {
10375
- return jspb.Message.setField(this, 12, void 0);
10640
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.clearInputaudio = function() {
10641
+ return this.setInputaudio(void 0);
10376
10642
  };
10377
- proto.assistant_api.AssistantWhatsappDeployment.prototype.hasEnding = function() {
10378
- return jspb.Message.getField(this, 12) != null;
10643
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.hasInputaudio = function() {
10644
+ return jspb.Message.getField(this, 13) != null;
10379
10645
  };
10380
- proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappprovidername = function() {
10646
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.getOutputaudio = function() {
10381
10647
  return (
10382
- /** @type {string} */
10383
- jspb.Message.getFieldWithDefault(this, 15, "")
10648
+ /** @type{?proto.assistant_api.DeploymentAudioProvider} */
10649
+ jspb.Message.getWrapperField(this, proto.assistant_api.DeploymentAudioProvider, 14)
10384
10650
  );
10385
10651
  };
10386
- proto.assistant_api.AssistantWhatsappDeployment.prototype.setWhatsappprovidername = function(value) {
10387
- return jspb.Message.setProto3StringField(this, 15, value);
10652
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setOutputaudio = function(value) {
10653
+ return jspb.Message.setWrapperField(this, 14, value);
10654
+ };
10655
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.clearOutputaudio = function() {
10656
+ return this.setOutputaudio(void 0);
10657
+ };
10658
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.hasOutputaudio = function() {
10659
+ return jspb.Message.getField(this, 14) != null;
10388
10660
  };
10389
- proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappproviderid = function() {
10661
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappprovidername = function() {
10390
10662
  return (
10391
10663
  /** @type {string} */
10392
- jspb.Message.getFieldWithDefault(this, 16, "0")
10664
+ jspb.Message.getFieldWithDefault(this, 15, "")
10393
10665
  );
10394
10666
  };
10395
- proto.assistant_api.AssistantWhatsappDeployment.prototype.setWhatsappproviderid = function(value) {
10396
- return jspb.Message.setProto3StringIntField(this, 16, value);
10667
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setWhatsappprovidername = function(value) {
10668
+ return jspb.Message.setProto3StringField(this, 15, value);
10397
10669
  };
10398
10670
  proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappoptionsList = function() {
10399
10671
  return (
@@ -10443,25 +10715,39 @@ var require_assistant_deployment_pb = __commonJS({
10443
10715
  proto.assistant_api.AssistantWhatsappDeployment.prototype.getStatus = function() {
10444
10716
  return (
10445
10717
  /** @type {string} */
10446
- jspb.Message.getFieldWithDefault(this, 28, "")
10718
+ jspb.Message.getFieldWithDefault(this, 28, "")
10719
+ );
10720
+ };
10721
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setStatus = function(value) {
10722
+ return jspb.Message.setProto3StringField(this, 28, value);
10723
+ };
10724
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.getMaxsessionduration = function() {
10725
+ return (
10726
+ /** @type {string} */
10727
+ jspb.Message.getFieldWithDefault(this, 29, "0")
10728
+ );
10729
+ };
10730
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setMaxsessionduration = function(value) {
10731
+ return jspb.Message.setProto3StringIntField(this, 29, value);
10732
+ };
10733
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.getIdealtimeout = function() {
10734
+ return (
10735
+ /** @type {string} */
10736
+ jspb.Message.getFieldWithDefault(this, 30, "0")
10447
10737
  );
10448
10738
  };
10449
- proto.assistant_api.AssistantWhatsappDeployment.prototype.setStatus = function(value) {
10450
- return jspb.Message.setProto3StringField(this, 28, value);
10451
- };
10452
- proto.assistant_api.AssistantDebuggerDeployment.repeatedFields_ = [20];
10453
- proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_ = [[15, 16]];
10454
- proto.assistant_api.AssistantDebuggerDeployment.IconCase = {
10455
- ICON_NOT_SET: 0,
10456
- URL: 15,
10457
- RAW: 16
10739
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setIdealtimeout = function(value) {
10740
+ return jspb.Message.setProto3StringIntField(this, 30, value);
10458
10741
  };
10459
- proto.assistant_api.AssistantDebuggerDeployment.prototype.getIconCase = function() {
10742
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.getIdealtimeoutmessage = function() {
10460
10743
  return (
10461
- /** @type {proto.assistant_api.AssistantDebuggerDeployment.IconCase} */
10462
- jspb.Message.computeOneofCase(this, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0])
10744
+ /** @type {string} */
10745
+ jspb.Message.getFieldWithDefault(this, 31, "")
10463
10746
  );
10464
10747
  };
10748
+ proto.assistant_api.AssistantWhatsappDeployment.prototype.setIdealtimeoutmessage = function(value) {
10749
+ return jspb.Message.setProto3StringField(this, 31, value);
10750
+ };
10465
10751
  if (jspb.Message.GENERATE_TO_OBJECT) {
10466
10752
  proto.assistant_api.AssistantDebuggerDeployment.prototype.toObject = function(opt_includeInstance) {
10467
10753
  return proto.assistant_api.AssistantDebuggerDeployment.toObject(opt_includeInstance, this);
@@ -10473,15 +10759,14 @@ var require_assistant_deployment_pb = __commonJS({
10473
10759
  name: jspb.Message.getFieldWithDefault(msg, 6, ""),
10474
10760
  greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
10475
10761
  mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
10476
- ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
10477
10762
  inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
10478
10763
  outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
10479
- url: jspb.Message.getFieldWithDefault(msg, 15, ""),
10480
- raw: (f = msg.getRaw()) && common_pb.Content.toObject(includeInstance, f),
10481
- suggestionList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? void 0 : f,
10482
10764
  createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10483
10765
  updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10484
- status: jspb.Message.getFieldWithDefault(msg, 28, "")
10766
+ status: jspb.Message.getFieldWithDefault(msg, 28, ""),
10767
+ maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
10768
+ idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
10769
+ idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
10485
10770
  };
10486
10771
  if (includeInstance) {
10487
10772
  obj.$jspbMessageInstance = msg;
@@ -10536,13 +10821,6 @@ var require_assistant_deployment_pb = __commonJS({
10536
10821
  );
10537
10822
  msg.setMistake(value);
10538
10823
  break;
10539
- case 12:
10540
- var value = (
10541
- /** @type {string} */
10542
- reader.readString()
10543
- );
10544
- msg.setEnding(value);
10545
- break;
10546
10824
  case 13:
10547
10825
  var value = new proto.assistant_api.DeploymentAudioProvider();
10548
10826
  reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
@@ -10553,25 +10831,6 @@ var require_assistant_deployment_pb = __commonJS({
10553
10831
  reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
10554
10832
  msg.setOutputaudio(value);
10555
10833
  break;
10556
- case 15:
10557
- var value = (
10558
- /** @type {string} */
10559
- reader.readString()
10560
- );
10561
- msg.setUrl(value);
10562
- break;
10563
- case 16:
10564
- var value = new common_pb.Content();
10565
- reader.readMessage(value, common_pb.Content.deserializeBinaryFromReader);
10566
- msg.setRaw(value);
10567
- break;
10568
- case 20:
10569
- var value = (
10570
- /** @type {string} */
10571
- reader.readString()
10572
- );
10573
- msg.addSuggestion(value);
10574
- break;
10575
10834
  case 26:
10576
10835
  var value = new google_protobuf_timestamp_pb.Timestamp();
10577
10836
  reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
@@ -10589,6 +10848,27 @@ var require_assistant_deployment_pb = __commonJS({
10589
10848
  );
10590
10849
  msg.setStatus(value);
10591
10850
  break;
10851
+ case 29:
10852
+ var value = (
10853
+ /** @type {string} */
10854
+ reader.readUint64String()
10855
+ );
10856
+ msg.setMaxsessionduration(value);
10857
+ break;
10858
+ case 30:
10859
+ var value = (
10860
+ /** @type {string} */
10861
+ reader.readUint64String()
10862
+ );
10863
+ msg.setIdealtimeout(value);
10864
+ break;
10865
+ case 31:
10866
+ var value = (
10867
+ /** @type {string} */
10868
+ reader.readString()
10869
+ );
10870
+ msg.setIdealtimeoutmessage(value);
10871
+ break;
10592
10872
  default:
10593
10873
  reader.skipField();
10594
10874
  break;
@@ -10640,14 +10920,6 @@ var require_assistant_deployment_pb = __commonJS({
10640
10920
  f
10641
10921
  );
10642
10922
  }
10643
- f = /** @type {string} */
10644
- jspb.Message.getField(message, 12);
10645
- if (f != null) {
10646
- writer.writeString(
10647
- 12,
10648
- f
10649
- );
10650
- }
10651
10923
  f = message.getInputaudio();
10652
10924
  if (f != null) {
10653
10925
  writer.writeMessage(
@@ -10664,29 +10936,6 @@ var require_assistant_deployment_pb = __commonJS({
10664
10936
  proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
10665
10937
  );
10666
10938
  }
10667
- f = /** @type {string} */
10668
- jspb.Message.getField(message, 15);
10669
- if (f != null) {
10670
- writer.writeString(
10671
- 15,
10672
- f
10673
- );
10674
- }
10675
- f = message.getRaw();
10676
- if (f != null) {
10677
- writer.writeMessage(
10678
- 16,
10679
- f,
10680
- common_pb.Content.serializeBinaryToWriter
10681
- );
10682
- }
10683
- f = message.getSuggestionList();
10684
- if (f.length > 0) {
10685
- writer.writeRepeatedString(
10686
- 20,
10687
- f
10688
- );
10689
- }
10690
10939
  f = message.getCreateddate();
10691
10940
  if (f != null) {
10692
10941
  writer.writeMessage(
@@ -10710,6 +10959,27 @@ var require_assistant_deployment_pb = __commonJS({
10710
10959
  f
10711
10960
  );
10712
10961
  }
10962
+ f = message.getMaxsessionduration();
10963
+ if (parseInt(f, 10) !== 0) {
10964
+ writer.writeUint64String(
10965
+ 29,
10966
+ f
10967
+ );
10968
+ }
10969
+ f = message.getIdealtimeout();
10970
+ if (parseInt(f, 10) !== 0) {
10971
+ writer.writeUint64String(
10972
+ 30,
10973
+ f
10974
+ );
10975
+ }
10976
+ f = message.getIdealtimeoutmessage();
10977
+ if (f.length > 0) {
10978
+ writer.writeString(
10979
+ 31,
10980
+ f
10981
+ );
10982
+ }
10713
10983
  };
10714
10984
  proto.assistant_api.AssistantDebuggerDeployment.prototype.getId = function() {
10715
10985
  return (
@@ -10768,21 +11038,6 @@ var require_assistant_deployment_pb = __commonJS({
10768
11038
  proto.assistant_api.AssistantDebuggerDeployment.prototype.hasMistake = function() {
10769
11039
  return jspb.Message.getField(this, 11) != null;
10770
11040
  };
10771
- proto.assistant_api.AssistantDebuggerDeployment.prototype.getEnding = function() {
10772
- return (
10773
- /** @type {string} */
10774
- jspb.Message.getFieldWithDefault(this, 12, "")
10775
- );
10776
- };
10777
- proto.assistant_api.AssistantDebuggerDeployment.prototype.setEnding = function(value) {
10778
- return jspb.Message.setField(this, 12, value);
10779
- };
10780
- proto.assistant_api.AssistantDebuggerDeployment.prototype.clearEnding = function() {
10781
- return jspb.Message.setField(this, 12, void 0);
10782
- };
10783
- proto.assistant_api.AssistantDebuggerDeployment.prototype.hasEnding = function() {
10784
- return jspb.Message.getField(this, 12) != null;
10785
- };
10786
11041
  proto.assistant_api.AssistantDebuggerDeployment.prototype.getInputaudio = function() {
10787
11042
  return (
10788
11043
  /** @type{?proto.assistant_api.DeploymentAudioProvider} */
@@ -10813,51 +11068,6 @@ var require_assistant_deployment_pb = __commonJS({
10813
11068
  proto.assistant_api.AssistantDebuggerDeployment.prototype.hasOutputaudio = function() {
10814
11069
  return jspb.Message.getField(this, 14) != null;
10815
11070
  };
10816
- proto.assistant_api.AssistantDebuggerDeployment.prototype.getUrl = function() {
10817
- return (
10818
- /** @type {string} */
10819
- jspb.Message.getFieldWithDefault(this, 15, "")
10820
- );
10821
- };
10822
- proto.assistant_api.AssistantDebuggerDeployment.prototype.setUrl = function(value) {
10823
- return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0], value);
10824
- };
10825
- proto.assistant_api.AssistantDebuggerDeployment.prototype.clearUrl = function() {
10826
- return jspb.Message.setOneofField(this, 15, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0], void 0);
10827
- };
10828
- proto.assistant_api.AssistantDebuggerDeployment.prototype.hasUrl = function() {
10829
- return jspb.Message.getField(this, 15) != null;
10830
- };
10831
- proto.assistant_api.AssistantDebuggerDeployment.prototype.getRaw = function() {
10832
- return (
10833
- /** @type{?proto.Content} */
10834
- jspb.Message.getWrapperField(this, common_pb.Content, 16)
10835
- );
10836
- };
10837
- proto.assistant_api.AssistantDebuggerDeployment.prototype.setRaw = function(value) {
10838
- return jspb.Message.setOneofWrapperField(this, 16, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_[0], value);
10839
- };
10840
- proto.assistant_api.AssistantDebuggerDeployment.prototype.clearRaw = function() {
10841
- return this.setRaw(void 0);
10842
- };
10843
- proto.assistant_api.AssistantDebuggerDeployment.prototype.hasRaw = function() {
10844
- return jspb.Message.getField(this, 16) != null;
10845
- };
10846
- proto.assistant_api.AssistantDebuggerDeployment.prototype.getSuggestionList = function() {
10847
- return (
10848
- /** @type {!Array<string>} */
10849
- jspb.Message.getRepeatedField(this, 20)
10850
- );
10851
- };
10852
- proto.assistant_api.AssistantDebuggerDeployment.prototype.setSuggestionList = function(value) {
10853
- return jspb.Message.setField(this, 20, value || []);
10854
- };
10855
- proto.assistant_api.AssistantDebuggerDeployment.prototype.addSuggestion = function(value, opt_index) {
10856
- return jspb.Message.addToRepeatedField(this, 20, value, opt_index);
10857
- };
10858
- proto.assistant_api.AssistantDebuggerDeployment.prototype.clearSuggestionList = function() {
10859
- return this.setSuggestionList([]);
10860
- };
10861
11071
  proto.assistant_api.AssistantDebuggerDeployment.prototype.getCreateddate = function() {
10862
11072
  return (
10863
11073
  /** @type{?proto.google.protobuf.Timestamp} */
@@ -10897,6 +11107,33 @@ var require_assistant_deployment_pb = __commonJS({
10897
11107
  proto.assistant_api.AssistantDebuggerDeployment.prototype.setStatus = function(value) {
10898
11108
  return jspb.Message.setProto3StringField(this, 28, value);
10899
11109
  };
11110
+ proto.assistant_api.AssistantDebuggerDeployment.prototype.getMaxsessionduration = function() {
11111
+ return (
11112
+ /** @type {string} */
11113
+ jspb.Message.getFieldWithDefault(this, 29, "0")
11114
+ );
11115
+ };
11116
+ proto.assistant_api.AssistantDebuggerDeployment.prototype.setMaxsessionduration = function(value) {
11117
+ return jspb.Message.setProto3StringIntField(this, 29, value);
11118
+ };
11119
+ proto.assistant_api.AssistantDebuggerDeployment.prototype.getIdealtimeout = function() {
11120
+ return (
11121
+ /** @type {string} */
11122
+ jspb.Message.getFieldWithDefault(this, 30, "0")
11123
+ );
11124
+ };
11125
+ proto.assistant_api.AssistantDebuggerDeployment.prototype.setIdealtimeout = function(value) {
11126
+ return jspb.Message.setProto3StringIntField(this, 30, value);
11127
+ };
11128
+ proto.assistant_api.AssistantDebuggerDeployment.prototype.getIdealtimeoutmessage = function() {
11129
+ return (
11130
+ /** @type {string} */
11131
+ jspb.Message.getFieldWithDefault(this, 31, "")
11132
+ );
11133
+ };
11134
+ proto.assistant_api.AssistantDebuggerDeployment.prototype.setIdealtimeoutmessage = function(value) {
11135
+ return jspb.Message.setProto3StringField(this, 31, value);
11136
+ };
10900
11137
  if (jspb.Message.GENERATE_TO_OBJECT) {
10901
11138
  proto.assistant_api.AssistantApiDeployment.prototype.toObject = function(opt_includeInstance) {
10902
11139
  return proto.assistant_api.AssistantApiDeployment.toObject(opt_includeInstance, this);
@@ -10907,12 +11144,14 @@ var require_assistant_deployment_pb = __commonJS({
10907
11144
  assistantid: jspb.Message.getFieldWithDefault(msg, 5, "0"),
10908
11145
  greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
10909
11146
  mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
10910
- ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
10911
11147
  inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
10912
11148
  outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
10913
11149
  createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10914
11150
  updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10915
- status: jspb.Message.getFieldWithDefault(msg, 28, "")
11151
+ status: jspb.Message.getFieldWithDefault(msg, 28, ""),
11152
+ maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
11153
+ idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
11154
+ idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
10916
11155
  };
10917
11156
  if (includeInstance) {
10918
11157
  obj.$jspbMessageInstance = msg;
@@ -10960,13 +11199,6 @@ var require_assistant_deployment_pb = __commonJS({
10960
11199
  );
10961
11200
  msg.setMistake(value);
10962
11201
  break;
10963
- case 12:
10964
- var value = (
10965
- /** @type {string} */
10966
- reader.readString()
10967
- );
10968
- msg.setEnding(value);
10969
- break;
10970
11202
  case 13:
10971
11203
  var value = new proto.assistant_api.DeploymentAudioProvider();
10972
11204
  reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
@@ -10994,6 +11226,27 @@ var require_assistant_deployment_pb = __commonJS({
10994
11226
  );
10995
11227
  msg.setStatus(value);
10996
11228
  break;
11229
+ case 29:
11230
+ var value = (
11231
+ /** @type {string} */
11232
+ reader.readUint64String()
11233
+ );
11234
+ msg.setMaxsessionduration(value);
11235
+ break;
11236
+ case 30:
11237
+ var value = (
11238
+ /** @type {string} */
11239
+ reader.readUint64String()
11240
+ );
11241
+ msg.setIdealtimeout(value);
11242
+ break;
11243
+ case 31:
11244
+ var value = (
11245
+ /** @type {string} */
11246
+ reader.readString()
11247
+ );
11248
+ msg.setIdealtimeoutmessage(value);
11249
+ break;
10997
11250
  default:
10998
11251
  reader.skipField();
10999
11252
  break;
@@ -11038,14 +11291,6 @@ var require_assistant_deployment_pb = __commonJS({
11038
11291
  f
11039
11292
  );
11040
11293
  }
11041
- f = /** @type {string} */
11042
- jspb.Message.getField(message, 12);
11043
- if (f != null) {
11044
- writer.writeString(
11045
- 12,
11046
- f
11047
- );
11048
- }
11049
11294
  f = message.getInputaudio();
11050
11295
  if (f != null) {
11051
11296
  writer.writeMessage(
@@ -11085,6 +11330,27 @@ var require_assistant_deployment_pb = __commonJS({
11085
11330
  f
11086
11331
  );
11087
11332
  }
11333
+ f = message.getMaxsessionduration();
11334
+ if (parseInt(f, 10) !== 0) {
11335
+ writer.writeUint64String(
11336
+ 29,
11337
+ f
11338
+ );
11339
+ }
11340
+ f = message.getIdealtimeout();
11341
+ if (parseInt(f, 10) !== 0) {
11342
+ writer.writeUint64String(
11343
+ 30,
11344
+ f
11345
+ );
11346
+ }
11347
+ f = message.getIdealtimeoutmessage();
11348
+ if (f.length > 0) {
11349
+ writer.writeString(
11350
+ 31,
11351
+ f
11352
+ );
11353
+ }
11088
11354
  };
11089
11355
  proto.assistant_api.AssistantApiDeployment.prototype.getId = function() {
11090
11356
  return (
@@ -11134,21 +11400,6 @@ var require_assistant_deployment_pb = __commonJS({
11134
11400
  proto.assistant_api.AssistantApiDeployment.prototype.hasMistake = function() {
11135
11401
  return jspb.Message.getField(this, 11) != null;
11136
11402
  };
11137
- proto.assistant_api.AssistantApiDeployment.prototype.getEnding = function() {
11138
- return (
11139
- /** @type {string} */
11140
- jspb.Message.getFieldWithDefault(this, 12, "")
11141
- );
11142
- };
11143
- proto.assistant_api.AssistantApiDeployment.prototype.setEnding = function(value) {
11144
- return jspb.Message.setField(this, 12, value);
11145
- };
11146
- proto.assistant_api.AssistantApiDeployment.prototype.clearEnding = function() {
11147
- return jspb.Message.setField(this, 12, void 0);
11148
- };
11149
- proto.assistant_api.AssistantApiDeployment.prototype.hasEnding = function() {
11150
- return jspb.Message.getField(this, 12) != null;
11151
- };
11152
11403
  proto.assistant_api.AssistantApiDeployment.prototype.getInputaudio = function() {
11153
11404
  return (
11154
11405
  /** @type{?proto.assistant_api.DeploymentAudioProvider} */
@@ -11218,6 +11469,33 @@ var require_assistant_deployment_pb = __commonJS({
11218
11469
  proto.assistant_api.AssistantApiDeployment.prototype.setStatus = function(value) {
11219
11470
  return jspb.Message.setProto3StringField(this, 28, value);
11220
11471
  };
11472
+ proto.assistant_api.AssistantApiDeployment.prototype.getMaxsessionduration = function() {
11473
+ return (
11474
+ /** @type {string} */
11475
+ jspb.Message.getFieldWithDefault(this, 29, "0")
11476
+ );
11477
+ };
11478
+ proto.assistant_api.AssistantApiDeployment.prototype.setMaxsessionduration = function(value) {
11479
+ return jspb.Message.setProto3StringIntField(this, 29, value);
11480
+ };
11481
+ proto.assistant_api.AssistantApiDeployment.prototype.getIdealtimeout = function() {
11482
+ return (
11483
+ /** @type {string} */
11484
+ jspb.Message.getFieldWithDefault(this, 30, "0")
11485
+ );
11486
+ };
11487
+ proto.assistant_api.AssistantApiDeployment.prototype.setIdealtimeout = function(value) {
11488
+ return jspb.Message.setProto3StringIntField(this, 30, value);
11489
+ };
11490
+ proto.assistant_api.AssistantApiDeployment.prototype.getIdealtimeoutmessage = function() {
11491
+ return (
11492
+ /** @type {string} */
11493
+ jspb.Message.getFieldWithDefault(this, 31, "")
11494
+ );
11495
+ };
11496
+ proto.assistant_api.AssistantApiDeployment.prototype.setIdealtimeoutmessage = function(value) {
11497
+ return jspb.Message.setProto3StringField(this, 31, value);
11498
+ };
11221
11499
  proto.assistant_api.CreateAssistantDeploymentRequest.oneofGroups_ = [[1, 2, 3, 4, 5]];
11222
11500
  proto.assistant_api.CreateAssistantDeploymentRequest.DeploymentCase = {
11223
11501
  DEPLOYMENT_NOT_SET: 0,
@@ -21380,7 +21658,6 @@ var require_assistant_provider_pb = __commonJS({
21380
21658
  proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.toObject = function(includeInstance, msg) {
21381
21659
  var f, obj = {
21382
21660
  template: (f = msg.getTemplate()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
21383
- modelproviderid: jspb.Message.getFieldWithDefault(msg, 21, "0"),
21384
21661
  modelprovidername: jspb.Message.getFieldWithDefault(msg, 22, ""),
21385
21662
  assistantmodeloptionsList: jspb.Message.toObjectList(
21386
21663
  msg.getAssistantmodeloptionsList(),
@@ -21411,13 +21688,6 @@ var require_assistant_provider_pb = __commonJS({
21411
21688
  reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
21412
21689
  msg.setTemplate(value);
21413
21690
  break;
21414
- case 21:
21415
- var value = (
21416
- /** @type {string} */
21417
- reader.readUint64String()
21418
- );
21419
- msg.setModelproviderid(value);
21420
- break;
21421
21691
  case 22:
21422
21692
  var value = (
21423
21693
  /** @type {string} */
@@ -21452,13 +21722,6 @@ var require_assistant_provider_pb = __commonJS({
21452
21722
  common_pb.TextChatCompletePrompt.serializeBinaryToWriter
21453
21723
  );
21454
21724
  }
21455
- f = message.getModelproviderid();
21456
- if (parseInt(f, 10) !== 0) {
21457
- writer.writeUint64String(
21458
- 21,
21459
- f
21460
- );
21461
- }
21462
21725
  f = message.getModelprovidername();
21463
21726
  if (f.length > 0) {
21464
21727
  writer.writeString(
@@ -21490,15 +21753,6 @@ var require_assistant_provider_pb = __commonJS({
21490
21753
  proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.prototype.hasTemplate = function() {
21491
21754
  return jspb.Message.getField(this, 20) != null;
21492
21755
  };
21493
- proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.prototype.getModelproviderid = function() {
21494
- return (
21495
- /** @type {string} */
21496
- jspb.Message.getFieldWithDefault(this, 21, "0")
21497
- );
21498
- };
21499
- proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.prototype.setModelproviderid = function(value) {
21500
- return jspb.Message.setProto3StringIntField(this, 21, value);
21501
- };
21502
21756
  proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.prototype.getModelprovidername = function() {
21503
21757
  return (
21504
21758
  /** @type {string} */
@@ -22577,7 +22831,6 @@ var require_assistant_provider_pb = __commonJS({
22577
22831
  template: (f = msg.getTemplate()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
22578
22832
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
22579
22833
  assistantid: jspb.Message.getFieldWithDefault(msg, 4, 0),
22580
- modelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
22581
22834
  modelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
22582
22835
  assistantmodeloptionsList: jspb.Message.toObjectList(
22583
22836
  msg.getAssistantmodeloptionsList(),
@@ -22636,13 +22889,6 @@ var require_assistant_provider_pb = __commonJS({
22636
22889
  );
22637
22890
  msg.setAssistantid(value);
22638
22891
  break;
22639
- case 6:
22640
- var value = (
22641
- /** @type {string} */
22642
- reader.readUint64String()
22643
- );
22644
- msg.setModelproviderid(value);
22645
- break;
22646
22892
  case 7:
22647
22893
  var value = (
22648
22894
  /** @type {string} */
@@ -22739,13 +22985,6 @@ var require_assistant_provider_pb = __commonJS({
22739
22985
  f
22740
22986
  );
22741
22987
  }
22742
- f = message.getModelproviderid();
22743
- if (parseInt(f, 10) !== 0) {
22744
- writer.writeUint64String(
22745
- 6,
22746
- f
22747
- );
22748
- }
22749
22988
  f = message.getModelprovidername();
22750
22989
  if (f.length > 0) {
22751
22990
  writer.writeString(
@@ -22857,15 +23096,6 @@ var require_assistant_provider_pb = __commonJS({
22857
23096
  proto.assistant_api.AssistantProviderModel.prototype.setAssistantid = function(value) {
22858
23097
  return jspb.Message.setProto3IntField(this, 4, value);
22859
23098
  };
22860
- proto.assistant_api.AssistantProviderModel.prototype.getModelproviderid = function() {
22861
- return (
22862
- /** @type {string} */
22863
- jspb.Message.getFieldWithDefault(this, 6, "0")
22864
- );
22865
- };
22866
- proto.assistant_api.AssistantProviderModel.prototype.setModelproviderid = function(value) {
22867
- return jspb.Message.setProto3StringIntField(this, 6, value);
22868
- };
22869
23099
  proto.assistant_api.AssistantProviderModel.prototype.getModelprovidername = function() {
22870
23100
  return (
22871
23101
  /** @type {string} */
@@ -28355,7 +28585,6 @@ var VoiceAgent = class extends Agent {
28355
28585
  inputChannel = "audio" /* Audio */;
28356
28586
  outputChannel = "audio" /* Audio */;
28357
28587
  /**
28358
- * Creates a new Room, the primary construct for a LiveKit session.
28359
28588
  * @param options
28360
28589
  */
28361
28590
  constructor(connection, agentConfig, agentCallback) {