@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.
- package/dist/{chunk-TYICJNMK.mjs → chunk-DRBNQMZR.mjs} +689 -460
- 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 +688 -459
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-AXkdmexr.d.mts → device-selector-D7AEGpZu.d.mts} +143 -408
- package/dist/{device-selector-AXkdmexr.d.ts → device-selector-D7AEGpZu.d.ts} +143 -408
- package/dist/index.d.mts +5 -45
- package/dist/index.d.ts +5 -45
- package/dist/index.js +831 -1832
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +156 -1383
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-TYICJNMK.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,
|
|
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,6 +9512,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9305
9512
|
);
|
|
9306
9513
|
msg.setStatus(value);
|
|
9307
9514
|
break;
|
|
9515
|
+
case 29:
|
|
9516
|
+
var value = (
|
|
9517
|
+
/** @type {string} */
|
|
9518
|
+
reader.readUint64String()
|
|
9519
|
+
);
|
|
9520
|
+
msg.setMaxsessionduration(value);
|
|
9521
|
+
break;
|
|
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;
|
|
9308
9536
|
default:
|
|
9309
9537
|
reader.skipField();
|
|
9310
9538
|
break;
|
|
@@ -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
|
-
|
|
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
|
|
10161
|
-
var value = (
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
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 =
|
|
10255
|
-
jspb.Message.getField(message, 12);
|
|
10498
|
+
f = message.getInputaudio();
|
|
10256
10499
|
if (f != null) {
|
|
10257
|
-
writer.
|
|
10258
|
-
|
|
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.
|
|
10631
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getInputaudio = function() {
|
|
10366
10632
|
return (
|
|
10367
|
-
/** @type
|
|
10368
|
-
jspb.Message.
|
|
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.
|
|
10372
|
-
return jspb.Message.
|
|
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.
|
|
10375
|
-
return
|
|
10640
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.clearInputaudio = function() {
|
|
10641
|
+
return this.setInputaudio(void 0);
|
|
10376
10642
|
};
|
|
10377
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10378
|
-
return jspb.Message.getField(this,
|
|
10643
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.hasInputaudio = function() {
|
|
10644
|
+
return jspb.Message.getField(this, 13) != null;
|
|
10379
10645
|
};
|
|
10380
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10646
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getOutputaudio = function() {
|
|
10381
10647
|
return (
|
|
10382
|
-
/** @type
|
|
10383
|
-
jspb.Message.
|
|
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.
|
|
10387
|
-
return jspb.Message.
|
|
10652
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setOutputaudio = function(value) {
|
|
10653
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
10388
10654
|
};
|
|
10389
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
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;
|
|
10660
|
+
};
|
|
10661
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappprovidername = function() {
|
|
10390
10662
|
return (
|
|
10391
10663
|
/** @type {string} */
|
|
10392
|
-
jspb.Message.getFieldWithDefault(this,
|
|
10664
|
+
jspb.Message.getFieldWithDefault(this, 15, "")
|
|
10393
10665
|
);
|
|
10394
10666
|
};
|
|
10395
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10396
|
-
return jspb.Message.
|
|
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 (
|
|
@@ -10449,19 +10721,33 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10449
10721
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.setStatus = function(value) {
|
|
10450
10722
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
10451
10723
|
};
|
|
10452
|
-
proto.assistant_api.
|
|
10453
|
-
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
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);
|
|
10458
10732
|
};
|
|
10459
|
-
proto.assistant_api.
|
|
10733
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getIdealtimeout = function() {
|
|
10460
10734
|
return (
|
|
10461
|
-
/** @type {
|
|
10462
|
-
jspb.Message.
|
|
10735
|
+
/** @type {string} */
|
|
10736
|
+
jspb.Message.getFieldWithDefault(this, 30, "0")
|
|
10463
10737
|
);
|
|
10464
10738
|
};
|
|
10739
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setIdealtimeout = function(value) {
|
|
10740
|
+
return jspb.Message.setProto3StringIntField(this, 30, value);
|
|
10741
|
+
};
|
|
10742
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getIdealtimeoutmessage = function() {
|
|
10743
|
+
return (
|
|
10744
|
+
/** @type {string} */
|
|
10745
|
+
jspb.Message.getFieldWithDefault(this, 31, "")
|
|
10746
|
+
);
|
|
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} */
|
|
@@ -37018,7 +37248,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37018
37248
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
37019
37249
|
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? void 0 : f,
|
|
37020
37250
|
visibility: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
37021
|
-
embeddingmodelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
37022
37251
|
embeddingmodelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
37023
37252
|
knowledgeembeddingmodeloptionsList: jspb.Message.toObjectList(
|
|
37024
37253
|
msg.getKnowledgeembeddingmodeloptionsList(),
|
|
@@ -37072,13 +37301,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37072
37301
|
);
|
|
37073
37302
|
msg.setVisibility(value);
|
|
37074
37303
|
break;
|
|
37075
|
-
case 6:
|
|
37076
|
-
var value = (
|
|
37077
|
-
/** @type {string} */
|
|
37078
|
-
reader.readUint64String()
|
|
37079
|
-
);
|
|
37080
|
-
msg.setEmbeddingmodelproviderid(value);
|
|
37081
|
-
break;
|
|
37082
37304
|
case 7:
|
|
37083
37305
|
var value = (
|
|
37084
37306
|
/** @type {string} */
|
|
@@ -37133,13 +37355,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37133
37355
|
f
|
|
37134
37356
|
);
|
|
37135
37357
|
}
|
|
37136
|
-
f = message.getEmbeddingmodelproviderid();
|
|
37137
|
-
if (parseInt(f, 10) !== 0) {
|
|
37138
|
-
writer.writeUint64String(
|
|
37139
|
-
6,
|
|
37140
|
-
f
|
|
37141
|
-
);
|
|
37142
|
-
}
|
|
37143
37358
|
f = message.getEmbeddingmodelprovidername();
|
|
37144
37359
|
if (f.length > 0) {
|
|
37145
37360
|
writer.writeString(
|
|
@@ -37198,15 +37413,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37198
37413
|
proto.knowledge_api.CreateKnowledgeRequest.prototype.setVisibility = function(value) {
|
|
37199
37414
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
37200
37415
|
};
|
|
37201
|
-
proto.knowledge_api.CreateKnowledgeRequest.prototype.getEmbeddingmodelproviderid = function() {
|
|
37202
|
-
return (
|
|
37203
|
-
/** @type {string} */
|
|
37204
|
-
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
37205
|
-
);
|
|
37206
|
-
};
|
|
37207
|
-
proto.knowledge_api.CreateKnowledgeRequest.prototype.setEmbeddingmodelproviderid = function(value) {
|
|
37208
|
-
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
37209
|
-
};
|
|
37210
37416
|
proto.knowledge_api.CreateKnowledgeRequest.prototype.getEmbeddingmodelprovidername = function() {
|
|
37211
37417
|
return (
|
|
37212
37418
|
/** @type {string} */
|
|
@@ -42810,13 +43016,11 @@ var require_vault_api_pb = __commonJS({
|
|
|
42810
43016
|
var common_pb = require_common_pb();
|
|
42811
43017
|
goog.object.extend(proto, common_pb);
|
|
42812
43018
|
goog.exportSymbol("proto.vault_api.CreateProviderCredentialRequest", null, global);
|
|
42813
|
-
goog.exportSymbol("proto.vault_api.CreateToolCredentialRequest", null, global);
|
|
42814
43019
|
goog.exportSymbol("proto.vault_api.DeleteCredentialRequest", null, global);
|
|
42815
43020
|
goog.exportSymbol("proto.vault_api.GetAllOrganizationCredentialRequest", null, global);
|
|
42816
43021
|
goog.exportSymbol("proto.vault_api.GetAllOrganizationCredentialResponse", null, global);
|
|
42817
43022
|
goog.exportSymbol("proto.vault_api.GetCredentialRequest", null, global);
|
|
42818
43023
|
goog.exportSymbol("proto.vault_api.GetCredentialResponse", null, global);
|
|
42819
|
-
goog.exportSymbol("proto.vault_api.GetProviderCredentialRequest", null, global);
|
|
42820
43024
|
goog.exportSymbol("proto.vault_api.VaultCredential", null, global);
|
|
42821
43025
|
proto.vault_api.VaultCredential = function(opt_data) {
|
|
42822
43026
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
@@ -42832,13 +43036,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
42832
43036
|
if (goog.DEBUG && !COMPILED) {
|
|
42833
43037
|
proto.vault_api.CreateProviderCredentialRequest.displayName = "proto.vault_api.CreateProviderCredentialRequest";
|
|
42834
43038
|
}
|
|
42835
|
-
proto.vault_api.CreateToolCredentialRequest = function(opt_data) {
|
|
42836
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42837
|
-
};
|
|
42838
|
-
goog.inherits(proto.vault_api.CreateToolCredentialRequest, jspb.Message);
|
|
42839
|
-
if (goog.DEBUG && !COMPILED) {
|
|
42840
|
-
proto.vault_api.CreateToolCredentialRequest.displayName = "proto.vault_api.CreateToolCredentialRequest";
|
|
42841
|
-
}
|
|
42842
43039
|
proto.vault_api.DeleteCredentialRequest = function(opt_data) {
|
|
42843
43040
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42844
43041
|
};
|
|
@@ -42860,13 +43057,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
42860
43057
|
if (goog.DEBUG && !COMPILED) {
|
|
42861
43058
|
proto.vault_api.GetAllOrganizationCredentialResponse.displayName = "proto.vault_api.GetAllOrganizationCredentialResponse";
|
|
42862
43059
|
}
|
|
42863
|
-
proto.vault_api.GetProviderCredentialRequest = function(opt_data) {
|
|
42864
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42865
|
-
};
|
|
42866
|
-
goog.inherits(proto.vault_api.GetProviderCredentialRequest, jspb.Message);
|
|
42867
|
-
if (goog.DEBUG && !COMPILED) {
|
|
42868
|
-
proto.vault_api.GetProviderCredentialRequest.displayName = "proto.vault_api.GetProviderCredentialRequest";
|
|
42869
|
-
}
|
|
42870
43060
|
proto.vault_api.GetCredentialResponse = function(opt_data) {
|
|
42871
43061
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42872
43062
|
};
|
|
@@ -42891,10 +43081,8 @@ var require_vault_api_pb = __commonJS({
|
|
|
42891
43081
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42892
43082
|
value: (f = msg.getValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
42893
43083
|
status: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
42894
|
-
|
|
42895
|
-
|
|
42896
|
-
vaulttype: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
42897
|
-
vaulttypeid: jspb.Message.getFieldWithDefault(msg, 8, "0"),
|
|
43084
|
+
provider: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
43085
|
+
organizationid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
42898
43086
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
42899
43087
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
42900
43088
|
lastuseddate: (f = msg.getLastuseddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -42948,28 +43136,14 @@ var require_vault_api_pb = __commonJS({
|
|
|
42948
43136
|
/** @type {string} */
|
|
42949
43137
|
reader.readString()
|
|
42950
43138
|
);
|
|
42951
|
-
msg.
|
|
43139
|
+
msg.setProvider(value);
|
|
42952
43140
|
break;
|
|
42953
43141
|
case 6:
|
|
42954
43142
|
var value = (
|
|
42955
43143
|
/** @type {string} */
|
|
42956
43144
|
reader.readUint64String()
|
|
42957
43145
|
);
|
|
42958
|
-
msg.
|
|
42959
|
-
break;
|
|
42960
|
-
case 7:
|
|
42961
|
-
var value = (
|
|
42962
|
-
/** @type {string} */
|
|
42963
|
-
reader.readString()
|
|
42964
|
-
);
|
|
42965
|
-
msg.setVaulttype(value);
|
|
42966
|
-
break;
|
|
42967
|
-
case 8:
|
|
42968
|
-
var value = (
|
|
42969
|
-
/** @type {string} */
|
|
42970
|
-
reader.readUint64String()
|
|
42971
|
-
);
|
|
42972
|
-
msg.setVaulttypeid(value);
|
|
43146
|
+
msg.setOrganizationid(value);
|
|
42973
43147
|
break;
|
|
42974
43148
|
case 9:
|
|
42975
43149
|
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
@@ -43029,34 +43203,20 @@ var require_vault_api_pb = __commonJS({
|
|
|
43029
43203
|
f
|
|
43030
43204
|
);
|
|
43031
43205
|
}
|
|
43032
|
-
f = message.
|
|
43206
|
+
f = message.getProvider();
|
|
43033
43207
|
if (f.length > 0) {
|
|
43034
43208
|
writer.writeString(
|
|
43035
43209
|
5,
|
|
43036
43210
|
f
|
|
43037
43211
|
);
|
|
43038
43212
|
}
|
|
43039
|
-
f = message.
|
|
43213
|
+
f = message.getOrganizationid();
|
|
43040
43214
|
if (parseInt(f, 10) !== 0) {
|
|
43041
43215
|
writer.writeUint64String(
|
|
43042
43216
|
6,
|
|
43043
43217
|
f
|
|
43044
43218
|
);
|
|
43045
43219
|
}
|
|
43046
|
-
f = message.getVaulttype();
|
|
43047
|
-
if (f.length > 0) {
|
|
43048
|
-
writer.writeString(
|
|
43049
|
-
7,
|
|
43050
|
-
f
|
|
43051
|
-
);
|
|
43052
|
-
}
|
|
43053
|
-
f = message.getVaulttypeid();
|
|
43054
|
-
if (parseInt(f, 10) !== 0) {
|
|
43055
|
-
writer.writeUint64String(
|
|
43056
|
-
8,
|
|
43057
|
-
f
|
|
43058
|
-
);
|
|
43059
|
-
}
|
|
43060
43220
|
f = message.getCreateddate();
|
|
43061
43221
|
if (f != null) {
|
|
43062
43222
|
writer.writeMessage(
|
|
@@ -43124,42 +43284,24 @@ var require_vault_api_pb = __commonJS({
|
|
|
43124
43284
|
proto.vault_api.VaultCredential.prototype.setStatus = function(value) {
|
|
43125
43285
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43126
43286
|
};
|
|
43127
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43287
|
+
proto.vault_api.VaultCredential.prototype.getProvider = function() {
|
|
43128
43288
|
return (
|
|
43129
43289
|
/** @type {string} */
|
|
43130
43290
|
jspb.Message.getFieldWithDefault(this, 5, "")
|
|
43131
43291
|
);
|
|
43132
43292
|
};
|
|
43133
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43293
|
+
proto.vault_api.VaultCredential.prototype.setProvider = function(value) {
|
|
43134
43294
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
43135
43295
|
};
|
|
43136
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43296
|
+
proto.vault_api.VaultCredential.prototype.getOrganizationid = function() {
|
|
43137
43297
|
return (
|
|
43138
43298
|
/** @type {string} */
|
|
43139
43299
|
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
43140
43300
|
);
|
|
43141
43301
|
};
|
|
43142
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43302
|
+
proto.vault_api.VaultCredential.prototype.setOrganizationid = function(value) {
|
|
43143
43303
|
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
43144
43304
|
};
|
|
43145
|
-
proto.vault_api.VaultCredential.prototype.getVaulttype = function() {
|
|
43146
|
-
return (
|
|
43147
|
-
/** @type {string} */
|
|
43148
|
-
jspb.Message.getFieldWithDefault(this, 7, "")
|
|
43149
|
-
);
|
|
43150
|
-
};
|
|
43151
|
-
proto.vault_api.VaultCredential.prototype.setVaulttype = function(value) {
|
|
43152
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
43153
|
-
};
|
|
43154
|
-
proto.vault_api.VaultCredential.prototype.getVaulttypeid = function() {
|
|
43155
|
-
return (
|
|
43156
|
-
/** @type {string} */
|
|
43157
|
-
jspb.Message.getFieldWithDefault(this, 8, "0")
|
|
43158
|
-
);
|
|
43159
|
-
};
|
|
43160
|
-
proto.vault_api.VaultCredential.prototype.setVaulttypeid = function(value) {
|
|
43161
|
-
return jspb.Message.setProto3StringIntField(this, 8, value);
|
|
43162
|
-
};
|
|
43163
43305
|
proto.vault_api.VaultCredential.prototype.getCreateddate = function() {
|
|
43164
43306
|
return (
|
|
43165
43307
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
@@ -43211,10 +43353,9 @@ var require_vault_api_pb = __commonJS({
|
|
|
43211
43353
|
};
|
|
43212
43354
|
proto.vault_api.CreateProviderCredentialRequest.toObject = function(includeInstance, msg) {
|
|
43213
43355
|
var f, obj = {
|
|
43214
|
-
providerid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
43215
43356
|
credential: (f = msg.getCredential()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
43216
43357
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
43217
|
-
|
|
43358
|
+
provider: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
43218
43359
|
};
|
|
43219
43360
|
if (includeInstance) {
|
|
43220
43361
|
obj.$jspbMessageInstance = msg;
|
|
@@ -43234,13 +43375,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43234
43375
|
}
|
|
43235
43376
|
var field = reader.getFieldNumber();
|
|
43236
43377
|
switch (field) {
|
|
43237
|
-
case 1:
|
|
43238
|
-
var value = (
|
|
43239
|
-
/** @type {string} */
|
|
43240
|
-
reader.readUint64String()
|
|
43241
|
-
);
|
|
43242
|
-
msg.setProviderid(value);
|
|
43243
|
-
break;
|
|
43244
43378
|
case 2:
|
|
43245
43379
|
var value = new google_protobuf_struct_pb.Struct();
|
|
43246
43380
|
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
@@ -43258,7 +43392,7 @@ var require_vault_api_pb = __commonJS({
|
|
|
43258
43392
|
/** @type {string} */
|
|
43259
43393
|
reader.readString()
|
|
43260
43394
|
);
|
|
43261
|
-
msg.
|
|
43395
|
+
msg.setProvider(value);
|
|
43262
43396
|
break;
|
|
43263
43397
|
default:
|
|
43264
43398
|
reader.skipField();
|
|
@@ -43274,13 +43408,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43274
43408
|
};
|
|
43275
43409
|
proto.vault_api.CreateProviderCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43276
43410
|
var f = void 0;
|
|
43277
|
-
f = message.getProviderid();
|
|
43278
|
-
if (parseInt(f, 10) !== 0) {
|
|
43279
|
-
writer.writeUint64String(
|
|
43280
|
-
1,
|
|
43281
|
-
f
|
|
43282
|
-
);
|
|
43283
|
-
}
|
|
43284
43411
|
f = message.getCredential();
|
|
43285
43412
|
if (f != null) {
|
|
43286
43413
|
writer.writeMessage(
|
|
@@ -43296,7 +43423,7 @@ var require_vault_api_pb = __commonJS({
|
|
|
43296
43423
|
f
|
|
43297
43424
|
);
|
|
43298
43425
|
}
|
|
43299
|
-
f = message.
|
|
43426
|
+
f = message.getProvider();
|
|
43300
43427
|
if (f.length > 0) {
|
|
43301
43428
|
writer.writeString(
|
|
43302
43429
|
4,
|
|
@@ -43304,15 +43431,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43304
43431
|
);
|
|
43305
43432
|
}
|
|
43306
43433
|
};
|
|
43307
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.getProviderid = function() {
|
|
43308
|
-
return (
|
|
43309
|
-
/** @type {string} */
|
|
43310
|
-
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
43311
|
-
);
|
|
43312
|
-
};
|
|
43313
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.setProviderid = function(value) {
|
|
43314
|
-
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
43315
|
-
};
|
|
43316
43434
|
proto.vault_api.CreateProviderCredentialRequest.prototype.getCredential = function() {
|
|
43317
43435
|
return (
|
|
43318
43436
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -43337,154 +43455,13 @@ var require_vault_api_pb = __commonJS({
|
|
|
43337
43455
|
proto.vault_api.CreateProviderCredentialRequest.prototype.setName = function(value) {
|
|
43338
43456
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
43339
43457
|
};
|
|
43340
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.
|
|
43341
|
-
return (
|
|
43342
|
-
/** @type {string} */
|
|
43343
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
43344
|
-
);
|
|
43345
|
-
};
|
|
43346
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.setProvidername = function(value) {
|
|
43347
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43348
|
-
};
|
|
43349
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43350
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43351
|
-
return proto.vault_api.CreateToolCredentialRequest.toObject(opt_includeInstance, this);
|
|
43352
|
-
};
|
|
43353
|
-
proto.vault_api.CreateToolCredentialRequest.toObject = function(includeInstance, msg) {
|
|
43354
|
-
var f, obj = {
|
|
43355
|
-
toolid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
43356
|
-
credential: (f = msg.getCredential()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
43357
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
43358
|
-
toolname: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
43359
|
-
};
|
|
43360
|
-
if (includeInstance) {
|
|
43361
|
-
obj.$jspbMessageInstance = msg;
|
|
43362
|
-
}
|
|
43363
|
-
return obj;
|
|
43364
|
-
};
|
|
43365
|
-
}
|
|
43366
|
-
proto.vault_api.CreateToolCredentialRequest.deserializeBinary = function(bytes) {
|
|
43367
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
43368
|
-
var msg = new proto.vault_api.CreateToolCredentialRequest();
|
|
43369
|
-
return proto.vault_api.CreateToolCredentialRequest.deserializeBinaryFromReader(msg, reader);
|
|
43370
|
-
};
|
|
43371
|
-
proto.vault_api.CreateToolCredentialRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43372
|
-
while (reader.nextField()) {
|
|
43373
|
-
if (reader.isEndGroup()) {
|
|
43374
|
-
break;
|
|
43375
|
-
}
|
|
43376
|
-
var field = reader.getFieldNumber();
|
|
43377
|
-
switch (field) {
|
|
43378
|
-
case 1:
|
|
43379
|
-
var value = (
|
|
43380
|
-
/** @type {string} */
|
|
43381
|
-
reader.readUint64String()
|
|
43382
|
-
);
|
|
43383
|
-
msg.setToolid(value);
|
|
43384
|
-
break;
|
|
43385
|
-
case 2:
|
|
43386
|
-
var value = new google_protobuf_struct_pb.Struct();
|
|
43387
|
-
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
43388
|
-
msg.setCredential(value);
|
|
43389
|
-
break;
|
|
43390
|
-
case 3:
|
|
43391
|
-
var value = (
|
|
43392
|
-
/** @type {string} */
|
|
43393
|
-
reader.readString()
|
|
43394
|
-
);
|
|
43395
|
-
msg.setName(value);
|
|
43396
|
-
break;
|
|
43397
|
-
case 4:
|
|
43398
|
-
var value = (
|
|
43399
|
-
/** @type {string} */
|
|
43400
|
-
reader.readString()
|
|
43401
|
-
);
|
|
43402
|
-
msg.setToolname(value);
|
|
43403
|
-
break;
|
|
43404
|
-
default:
|
|
43405
|
-
reader.skipField();
|
|
43406
|
-
break;
|
|
43407
|
-
}
|
|
43408
|
-
}
|
|
43409
|
-
return msg;
|
|
43410
|
-
};
|
|
43411
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.serializeBinary = function() {
|
|
43412
|
-
var writer = new jspb.BinaryWriter();
|
|
43413
|
-
proto.vault_api.CreateToolCredentialRequest.serializeBinaryToWriter(this, writer);
|
|
43414
|
-
return writer.getResultBuffer();
|
|
43415
|
-
};
|
|
43416
|
-
proto.vault_api.CreateToolCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43417
|
-
var f = void 0;
|
|
43418
|
-
f = message.getToolid();
|
|
43419
|
-
if (parseInt(f, 10) !== 0) {
|
|
43420
|
-
writer.writeUint64String(
|
|
43421
|
-
1,
|
|
43422
|
-
f
|
|
43423
|
-
);
|
|
43424
|
-
}
|
|
43425
|
-
f = message.getCredential();
|
|
43426
|
-
if (f != null) {
|
|
43427
|
-
writer.writeMessage(
|
|
43428
|
-
2,
|
|
43429
|
-
f,
|
|
43430
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
43431
|
-
);
|
|
43432
|
-
}
|
|
43433
|
-
f = message.getName();
|
|
43434
|
-
if (f.length > 0) {
|
|
43435
|
-
writer.writeString(
|
|
43436
|
-
3,
|
|
43437
|
-
f
|
|
43438
|
-
);
|
|
43439
|
-
}
|
|
43440
|
-
f = message.getToolname();
|
|
43441
|
-
if (f.length > 0) {
|
|
43442
|
-
writer.writeString(
|
|
43443
|
-
4,
|
|
43444
|
-
f
|
|
43445
|
-
);
|
|
43446
|
-
}
|
|
43447
|
-
};
|
|
43448
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getToolid = function() {
|
|
43449
|
-
return (
|
|
43450
|
-
/** @type {string} */
|
|
43451
|
-
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
43452
|
-
);
|
|
43453
|
-
};
|
|
43454
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.setToolid = function(value) {
|
|
43455
|
-
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
43456
|
-
};
|
|
43457
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getCredential = function() {
|
|
43458
|
-
return (
|
|
43459
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
43460
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2)
|
|
43461
|
-
);
|
|
43462
|
-
};
|
|
43463
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.setCredential = function(value) {
|
|
43464
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
43465
|
-
};
|
|
43466
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.clearCredential = function() {
|
|
43467
|
-
return this.setCredential(void 0);
|
|
43468
|
-
};
|
|
43469
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.hasCredential = function() {
|
|
43470
|
-
return jspb.Message.getField(this, 2) != null;
|
|
43471
|
-
};
|
|
43472
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getName = function() {
|
|
43473
|
-
return (
|
|
43474
|
-
/** @type {string} */
|
|
43475
|
-
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
43476
|
-
);
|
|
43477
|
-
};
|
|
43478
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.setName = function(value) {
|
|
43479
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
43480
|
-
};
|
|
43481
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getToolname = function() {
|
|
43458
|
+
proto.vault_api.CreateProviderCredentialRequest.prototype.getProvider = function() {
|
|
43482
43459
|
return (
|
|
43483
43460
|
/** @type {string} */
|
|
43484
43461
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
43485
43462
|
);
|
|
43486
43463
|
};
|
|
43487
|
-
proto.vault_api.
|
|
43464
|
+
proto.vault_api.CreateProviderCredentialRequest.prototype.setProvider = function(value) {
|
|
43488
43465
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43489
43466
|
};
|
|
43490
43467
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -43834,94 +43811,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43834
43811
|
proto.vault_api.GetAllOrganizationCredentialResponse.prototype.hasPaginated = function() {
|
|
43835
43812
|
return jspb.Message.getField(this, 5) != null;
|
|
43836
43813
|
};
|
|
43837
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43838
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43839
|
-
return proto.vault_api.GetProviderCredentialRequest.toObject(opt_includeInstance, this);
|
|
43840
|
-
};
|
|
43841
|
-
proto.vault_api.GetProviderCredentialRequest.toObject = function(includeInstance, msg) {
|
|
43842
|
-
var f, obj = {
|
|
43843
|
-
providerid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
43844
|
-
organizationid: jspb.Message.getFieldWithDefault(msg, 4, "0")
|
|
43845
|
-
};
|
|
43846
|
-
if (includeInstance) {
|
|
43847
|
-
obj.$jspbMessageInstance = msg;
|
|
43848
|
-
}
|
|
43849
|
-
return obj;
|
|
43850
|
-
};
|
|
43851
|
-
}
|
|
43852
|
-
proto.vault_api.GetProviderCredentialRequest.deserializeBinary = function(bytes) {
|
|
43853
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
43854
|
-
var msg = new proto.vault_api.GetProviderCredentialRequest();
|
|
43855
|
-
return proto.vault_api.GetProviderCredentialRequest.deserializeBinaryFromReader(msg, reader);
|
|
43856
|
-
};
|
|
43857
|
-
proto.vault_api.GetProviderCredentialRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43858
|
-
while (reader.nextField()) {
|
|
43859
|
-
if (reader.isEndGroup()) {
|
|
43860
|
-
break;
|
|
43861
|
-
}
|
|
43862
|
-
var field = reader.getFieldNumber();
|
|
43863
|
-
switch (field) {
|
|
43864
|
-
case 3:
|
|
43865
|
-
var value = (
|
|
43866
|
-
/** @type {string} */
|
|
43867
|
-
reader.readUint64String()
|
|
43868
|
-
);
|
|
43869
|
-
msg.setProviderid(value);
|
|
43870
|
-
break;
|
|
43871
|
-
case 4:
|
|
43872
|
-
var value = (
|
|
43873
|
-
/** @type {string} */
|
|
43874
|
-
reader.readUint64String()
|
|
43875
|
-
);
|
|
43876
|
-
msg.setOrganizationid(value);
|
|
43877
|
-
break;
|
|
43878
|
-
default:
|
|
43879
|
-
reader.skipField();
|
|
43880
|
-
break;
|
|
43881
|
-
}
|
|
43882
|
-
}
|
|
43883
|
-
return msg;
|
|
43884
|
-
};
|
|
43885
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.serializeBinary = function() {
|
|
43886
|
-
var writer = new jspb.BinaryWriter();
|
|
43887
|
-
proto.vault_api.GetProviderCredentialRequest.serializeBinaryToWriter(this, writer);
|
|
43888
|
-
return writer.getResultBuffer();
|
|
43889
|
-
};
|
|
43890
|
-
proto.vault_api.GetProviderCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43891
|
-
var f = void 0;
|
|
43892
|
-
f = message.getProviderid();
|
|
43893
|
-
if (parseInt(f, 10) !== 0) {
|
|
43894
|
-
writer.writeUint64String(
|
|
43895
|
-
3,
|
|
43896
|
-
f
|
|
43897
|
-
);
|
|
43898
|
-
}
|
|
43899
|
-
f = message.getOrganizationid();
|
|
43900
|
-
if (parseInt(f, 10) !== 0) {
|
|
43901
|
-
writer.writeUint64String(
|
|
43902
|
-
4,
|
|
43903
|
-
f
|
|
43904
|
-
);
|
|
43905
|
-
}
|
|
43906
|
-
};
|
|
43907
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.getProviderid = function() {
|
|
43908
|
-
return (
|
|
43909
|
-
/** @type {string} */
|
|
43910
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
43911
|
-
);
|
|
43912
|
-
};
|
|
43913
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.setProviderid = function(value) {
|
|
43914
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
43915
|
-
};
|
|
43916
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.getOrganizationid = function() {
|
|
43917
|
-
return (
|
|
43918
|
-
/** @type {string} */
|
|
43919
|
-
jspb.Message.getFieldWithDefault(this, 4, "0")
|
|
43920
|
-
);
|
|
43921
|
-
};
|
|
43922
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.setOrganizationid = function(value) {
|
|
43923
|
-
return jspb.Message.setProto3StringIntField(this, 4, value);
|
|
43924
|
-
};
|
|
43925
43814
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43926
43815
|
proto.vault_api.GetCredentialResponse.prototype.toObject = function(opt_includeInstance) {
|
|
43927
43816
|
return proto.vault_api.GetCredentialResponse.toObject(opt_includeInstance, this);
|
|
@@ -44156,14 +44045,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44156
44045
|
requestType: vault_api_pb.CreateProviderCredentialRequest,
|
|
44157
44046
|
responseType: vault_api_pb.GetCredentialResponse
|
|
44158
44047
|
};
|
|
44159
|
-
VaultService2.CreateToolCredential = {
|
|
44160
|
-
methodName: "CreateToolCredential",
|
|
44161
|
-
service: VaultService2,
|
|
44162
|
-
requestStream: false,
|
|
44163
|
-
responseStream: false,
|
|
44164
|
-
requestType: vault_api_pb.CreateToolCredentialRequest,
|
|
44165
|
-
responseType: vault_api_pb.GetCredentialResponse
|
|
44166
|
-
};
|
|
44167
44048
|
VaultService2.GetAllOrganizationCredential = {
|
|
44168
44049
|
methodName: "GetAllOrganizationCredential",
|
|
44169
44050
|
service: VaultService2,
|
|
@@ -44180,14 +44061,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44180
44061
|
requestType: vault_api_pb.DeleteCredentialRequest,
|
|
44181
44062
|
responseType: vault_api_pb.GetCredentialResponse
|
|
44182
44063
|
};
|
|
44183
|
-
VaultService2.GetProviderCredential = {
|
|
44184
|
-
methodName: "GetProviderCredential",
|
|
44185
|
-
service: VaultService2,
|
|
44186
|
-
requestStream: false,
|
|
44187
|
-
responseStream: false,
|
|
44188
|
-
requestType: vault_api_pb.GetProviderCredentialRequest,
|
|
44189
|
-
responseType: vault_api_pb.GetCredentialResponse
|
|
44190
|
-
};
|
|
44191
44064
|
VaultService2.GetCredential = {
|
|
44192
44065
|
methodName: "GetCredential",
|
|
44193
44066
|
service: VaultService2,
|
|
@@ -44239,36 +44112,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44239
44112
|
}
|
|
44240
44113
|
};
|
|
44241
44114
|
};
|
|
44242
|
-
VaultServiceClient3.prototype.createToolCredential = function createToolCredential(requestMessage, metadata, callback) {
|
|
44243
|
-
if (arguments.length === 2) {
|
|
44244
|
-
callback = arguments[1];
|
|
44245
|
-
}
|
|
44246
|
-
var client = grpc3.unary(VaultService2.CreateToolCredential, {
|
|
44247
|
-
request: requestMessage,
|
|
44248
|
-
host: this.serviceHost,
|
|
44249
|
-
metadata,
|
|
44250
|
-
transport: this.options.transport,
|
|
44251
|
-
debug: this.options.debug,
|
|
44252
|
-
onEnd: function(response) {
|
|
44253
|
-
if (callback) {
|
|
44254
|
-
if (response.status !== grpc3.Code.OK) {
|
|
44255
|
-
var err = new Error(response.statusMessage);
|
|
44256
|
-
err.code = response.status;
|
|
44257
|
-
err.metadata = response.trailers;
|
|
44258
|
-
callback(err, null);
|
|
44259
|
-
} else {
|
|
44260
|
-
callback(null, response.message);
|
|
44261
|
-
}
|
|
44262
|
-
}
|
|
44263
|
-
}
|
|
44264
|
-
});
|
|
44265
|
-
return {
|
|
44266
|
-
cancel: function() {
|
|
44267
|
-
callback = null;
|
|
44268
|
-
client.close();
|
|
44269
|
-
}
|
|
44270
|
-
};
|
|
44271
|
-
};
|
|
44272
44115
|
VaultServiceClient3.prototype.getAllOrganizationCredential = function getAllOrganizationCredential(requestMessage, metadata, callback) {
|
|
44273
44116
|
if (arguments.length === 2) {
|
|
44274
44117
|
callback = arguments[1];
|
|
@@ -44329,36 +44172,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44329
44172
|
}
|
|
44330
44173
|
};
|
|
44331
44174
|
};
|
|
44332
|
-
VaultServiceClient3.prototype.getProviderCredential = function getProviderCredential(requestMessage, metadata, callback) {
|
|
44333
|
-
if (arguments.length === 2) {
|
|
44334
|
-
callback = arguments[1];
|
|
44335
|
-
}
|
|
44336
|
-
var client = grpc3.unary(VaultService2.GetProviderCredential, {
|
|
44337
|
-
request: requestMessage,
|
|
44338
|
-
host: this.serviceHost,
|
|
44339
|
-
metadata,
|
|
44340
|
-
transport: this.options.transport,
|
|
44341
|
-
debug: this.options.debug,
|
|
44342
|
-
onEnd: function(response) {
|
|
44343
|
-
if (callback) {
|
|
44344
|
-
if (response.status !== grpc3.Code.OK) {
|
|
44345
|
-
var err = new Error(response.statusMessage);
|
|
44346
|
-
err.code = response.status;
|
|
44347
|
-
err.metadata = response.trailers;
|
|
44348
|
-
callback(err, null);
|
|
44349
|
-
} else {
|
|
44350
|
-
callback(null, response.message);
|
|
44351
|
-
}
|
|
44352
|
-
}
|
|
44353
|
-
}
|
|
44354
|
-
});
|
|
44355
|
-
return {
|
|
44356
|
-
cancel: function() {
|
|
44357
|
-
callback = null;
|
|
44358
|
-
client.close();
|
|
44359
|
-
}
|
|
44360
|
-
};
|
|
44361
|
-
};
|
|
44362
44175
|
VaultServiceClient3.prototype.getCredential = function getCredential(requestMessage, metadata, callback) {
|
|
44363
44176
|
if (arguments.length === 2) {
|
|
44364
44177
|
callback = arguments[1];
|
|
@@ -44877,7 +44690,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
44877
44690
|
var f, obj = {
|
|
44878
44691
|
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
44879
44692
|
chatcompleteprompt: (f = msg.getChatcompleteprompt()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
44880
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
44881
44693
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
44882
44694
|
endpointmodeloptionsList: jspb.Message.toObjectList(
|
|
44883
44695
|
msg.getEndpointmodeloptionsList(),
|
|
@@ -44915,13 +44727,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
44915
44727
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
44916
44728
|
msg.setChatcompleteprompt(value);
|
|
44917
44729
|
break;
|
|
44918
|
-
case 6:
|
|
44919
|
-
var value = (
|
|
44920
|
-
/** @type {string} */
|
|
44921
|
-
reader.readUint64String()
|
|
44922
|
-
);
|
|
44923
|
-
msg.setModelproviderid(value);
|
|
44924
|
-
break;
|
|
44925
44730
|
case 7:
|
|
44926
44731
|
var value = (
|
|
44927
44732
|
/** @type {string} */
|
|
@@ -44963,13 +44768,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
44963
44768
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
44964
44769
|
);
|
|
44965
44770
|
}
|
|
44966
|
-
f = message.getModelproviderid();
|
|
44967
|
-
if (parseInt(f, 10) !== 0) {
|
|
44968
|
-
writer.writeUint64String(
|
|
44969
|
-
6,
|
|
44970
|
-
f
|
|
44971
|
-
);
|
|
44972
|
-
}
|
|
44973
44771
|
f = message.getModelprovidername();
|
|
44974
44772
|
if (f.length > 0) {
|
|
44975
44773
|
writer.writeString(
|
|
@@ -45010,15 +44808,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45010
44808
|
proto.endpoint_api.EndpointProviderModelAttribute.prototype.hasChatcompleteprompt = function() {
|
|
45011
44809
|
return jspb.Message.getField(this, 2) != null;
|
|
45012
44810
|
};
|
|
45013
|
-
proto.endpoint_api.EndpointProviderModelAttribute.prototype.getModelproviderid = function() {
|
|
45014
|
-
return (
|
|
45015
|
-
/** @type {string} */
|
|
45016
|
-
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
45017
|
-
);
|
|
45018
|
-
};
|
|
45019
|
-
proto.endpoint_api.EndpointProviderModelAttribute.prototype.setModelproviderid = function(value) {
|
|
45020
|
-
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
45021
|
-
};
|
|
45022
44811
|
proto.endpoint_api.EndpointProviderModelAttribute.prototype.getModelprovidername = function() {
|
|
45023
44812
|
return (
|
|
45024
44813
|
/** @type {string} */
|
|
@@ -45385,7 +45174,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45385
45174
|
var f, obj = {
|
|
45386
45175
|
id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
45387
45176
|
chatcompleteprompt: (f = msg.getChatcompleteprompt()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
45388
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
45389
45177
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
45390
45178
|
endpointmodeloptionsList: jspb.Message.toObjectList(
|
|
45391
45179
|
msg.getEndpointmodeloptionsList(),
|
|
@@ -45432,13 +45220,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45432
45220
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
45433
45221
|
msg.setChatcompleteprompt(value);
|
|
45434
45222
|
break;
|
|
45435
|
-
case 3:
|
|
45436
|
-
var value = (
|
|
45437
|
-
/** @type {string} */
|
|
45438
|
-
reader.readUint64String()
|
|
45439
|
-
);
|
|
45440
|
-
msg.setModelproviderid(value);
|
|
45441
|
-
break;
|
|
45442
45223
|
case 4:
|
|
45443
45224
|
var value = (
|
|
45444
45225
|
/** @type {string} */
|
|
@@ -45535,13 +45316,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45535
45316
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
45536
45317
|
);
|
|
45537
45318
|
}
|
|
45538
|
-
f = message.getModelproviderid();
|
|
45539
|
-
if (parseInt(f, 10) !== 0) {
|
|
45540
|
-
writer.writeUint64String(
|
|
45541
|
-
3,
|
|
45542
|
-
f
|
|
45543
|
-
);
|
|
45544
|
-
}
|
|
45545
45319
|
f = message.getModelprovidername();
|
|
45546
45320
|
if (f.length > 0) {
|
|
45547
45321
|
writer.writeString(
|
|
@@ -45649,15 +45423,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45649
45423
|
proto.endpoint_api.EndpointProviderModel.prototype.hasChatcompleteprompt = function() {
|
|
45650
45424
|
return jspb.Message.getField(this, 2) != null;
|
|
45651
45425
|
};
|
|
45652
|
-
proto.endpoint_api.EndpointProviderModel.prototype.getModelproviderid = function() {
|
|
45653
|
-
return (
|
|
45654
|
-
/** @type {string} */
|
|
45655
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
45656
|
-
);
|
|
45657
|
-
};
|
|
45658
|
-
proto.endpoint_api.EndpointProviderModel.prototype.setModelproviderid = function(value) {
|
|
45659
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
45660
|
-
};
|
|
45661
45426
|
proto.endpoint_api.EndpointProviderModel.prototype.getModelprovidername = function() {
|
|
45662
45427
|
return (
|
|
45663
45428
|
/** @type {string} */
|
|
@@ -52514,28 +52279,10 @@ var require_connect_api_pb = __commonJS({
|
|
|
52514
52279
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
52515
52280
|
var common_pb = require_common_pb();
|
|
52516
52281
|
goog.object.extend(proto, common_pb);
|
|
52517
|
-
goog.exportSymbol("proto.connect_api.ActionConnectRequest", null, global);
|
|
52518
|
-
goog.exportSymbol("proto.connect_api.ActionConnectResponse", null, global);
|
|
52519
52282
|
goog.exportSymbol("proto.connect_api.GeneralConnectRequest", null, global);
|
|
52520
52283
|
goog.exportSymbol("proto.connect_api.GeneralConnectResponse", null, global);
|
|
52521
52284
|
goog.exportSymbol("proto.connect_api.GetConnectorFilesRequest", null, global);
|
|
52522
52285
|
goog.exportSymbol("proto.connect_api.GetConnectorFilesResponse", null, global);
|
|
52523
|
-
goog.exportSymbol("proto.connect_api.KnowledgeConnectRequest", null, global);
|
|
52524
|
-
goog.exportSymbol("proto.connect_api.KnowledgeConnectResponse", null, global);
|
|
52525
|
-
proto.connect_api.KnowledgeConnectRequest = function(opt_data) {
|
|
52526
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
52527
|
-
};
|
|
52528
|
-
goog.inherits(proto.connect_api.KnowledgeConnectRequest, jspb.Message);
|
|
52529
|
-
if (goog.DEBUG && !COMPILED) {
|
|
52530
|
-
proto.connect_api.KnowledgeConnectRequest.displayName = "proto.connect_api.KnowledgeConnectRequest";
|
|
52531
|
-
}
|
|
52532
|
-
proto.connect_api.KnowledgeConnectResponse = function(opt_data) {
|
|
52533
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
52534
|
-
};
|
|
52535
|
-
goog.inherits(proto.connect_api.KnowledgeConnectResponse, jspb.Message);
|
|
52536
|
-
if (goog.DEBUG && !COMPILED) {
|
|
52537
|
-
proto.connect_api.KnowledgeConnectResponse.displayName = "proto.connect_api.KnowledgeConnectResponse";
|
|
52538
|
-
}
|
|
52539
52286
|
proto.connect_api.GeneralConnectRequest = function(opt_data) {
|
|
52540
52287
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
52541
52288
|
};
|
|
@@ -52550,20 +52297,6 @@ var require_connect_api_pb = __commonJS({
|
|
|
52550
52297
|
if (goog.DEBUG && !COMPILED) {
|
|
52551
52298
|
proto.connect_api.GeneralConnectResponse.displayName = "proto.connect_api.GeneralConnectResponse";
|
|
52552
52299
|
}
|
|
52553
|
-
proto.connect_api.ActionConnectRequest = function(opt_data) {
|
|
52554
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
52555
|
-
};
|
|
52556
|
-
goog.inherits(proto.connect_api.ActionConnectRequest, jspb.Message);
|
|
52557
|
-
if (goog.DEBUG && !COMPILED) {
|
|
52558
|
-
proto.connect_api.ActionConnectRequest.displayName = "proto.connect_api.ActionConnectRequest";
|
|
52559
|
-
}
|
|
52560
|
-
proto.connect_api.ActionConnectResponse = function(opt_data) {
|
|
52561
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
52562
|
-
};
|
|
52563
|
-
goog.inherits(proto.connect_api.ActionConnectResponse, jspb.Message);
|
|
52564
|
-
if (goog.DEBUG && !COMPILED) {
|
|
52565
|
-
proto.connect_api.ActionConnectResponse.displayName = "proto.connect_api.ActionConnectResponse";
|
|
52566
|
-
}
|
|
52567
52300
|
proto.connect_api.GetConnectorFilesRequest = function(opt_data) {
|
|
52568
52301
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.connect_api.GetConnectorFilesRequest.repeatedFields_, null);
|
|
52569
52302
|
};
|
|
@@ -52579,10 +52312,10 @@ var require_connect_api_pb = __commonJS({
|
|
|
52579
52312
|
proto.connect_api.GetConnectorFilesResponse.displayName = "proto.connect_api.GetConnectorFilesResponse";
|
|
52580
52313
|
}
|
|
52581
52314
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52582
|
-
proto.connect_api.
|
|
52583
|
-
return proto.connect_api.
|
|
52315
|
+
proto.connect_api.GeneralConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
52316
|
+
return proto.connect_api.GeneralConnectRequest.toObject(opt_includeInstance, this);
|
|
52584
52317
|
};
|
|
52585
|
-
proto.connect_api.
|
|
52318
|
+
proto.connect_api.GeneralConnectRequest.toObject = function(includeInstance, msg) {
|
|
52586
52319
|
var f, obj = {
|
|
52587
52320
|
state: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
52588
52321
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -52595,12 +52328,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52595
52328
|
return obj;
|
|
52596
52329
|
};
|
|
52597
52330
|
}
|
|
52598
|
-
proto.connect_api.
|
|
52331
|
+
proto.connect_api.GeneralConnectRequest.deserializeBinary = function(bytes) {
|
|
52599
52332
|
var reader = new jspb.BinaryReader(bytes);
|
|
52600
|
-
var msg = new proto.connect_api.
|
|
52601
|
-
return proto.connect_api.
|
|
52333
|
+
var msg = new proto.connect_api.GeneralConnectRequest();
|
|
52334
|
+
return proto.connect_api.GeneralConnectRequest.deserializeBinaryFromReader(msg, reader);
|
|
52602
52335
|
};
|
|
52603
|
-
proto.connect_api.
|
|
52336
|
+
proto.connect_api.GeneralConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
52604
52337
|
while (reader.nextField()) {
|
|
52605
52338
|
if (reader.isEndGroup()) {
|
|
52606
52339
|
break;
|
|
@@ -52642,12 +52375,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52642
52375
|
}
|
|
52643
52376
|
return msg;
|
|
52644
52377
|
};
|
|
52645
|
-
proto.connect_api.
|
|
52378
|
+
proto.connect_api.GeneralConnectRequest.prototype.serializeBinary = function() {
|
|
52646
52379
|
var writer = new jspb.BinaryWriter();
|
|
52647
|
-
proto.connect_api.
|
|
52380
|
+
proto.connect_api.GeneralConnectRequest.serializeBinaryToWriter(this, writer);
|
|
52648
52381
|
return writer.getResultBuffer();
|
|
52649
52382
|
};
|
|
52650
|
-
proto.connect_api.
|
|
52383
|
+
proto.connect_api.GeneralConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
52651
52384
|
var f = void 0;
|
|
52652
52385
|
f = message.getState();
|
|
52653
52386
|
if (f.length > 0) {
|
|
@@ -52678,51 +52411,51 @@ var require_connect_api_pb = __commonJS({
|
|
|
52678
52411
|
);
|
|
52679
52412
|
}
|
|
52680
52413
|
};
|
|
52681
|
-
proto.connect_api.
|
|
52414
|
+
proto.connect_api.GeneralConnectRequest.prototype.getState = function() {
|
|
52682
52415
|
return (
|
|
52683
52416
|
/** @type {string} */
|
|
52684
52417
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
52685
52418
|
);
|
|
52686
52419
|
};
|
|
52687
|
-
proto.connect_api.
|
|
52420
|
+
proto.connect_api.GeneralConnectRequest.prototype.setState = function(value) {
|
|
52688
52421
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
52689
52422
|
};
|
|
52690
|
-
proto.connect_api.
|
|
52423
|
+
proto.connect_api.GeneralConnectRequest.prototype.getCode = function() {
|
|
52691
52424
|
return (
|
|
52692
52425
|
/** @type {string} */
|
|
52693
52426
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
52694
52427
|
);
|
|
52695
52428
|
};
|
|
52696
|
-
proto.connect_api.
|
|
52429
|
+
proto.connect_api.GeneralConnectRequest.prototype.setCode = function(value) {
|
|
52697
52430
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
52698
52431
|
};
|
|
52699
|
-
proto.connect_api.
|
|
52432
|
+
proto.connect_api.GeneralConnectRequest.prototype.getScope = function() {
|
|
52700
52433
|
return (
|
|
52701
52434
|
/** @type {string} */
|
|
52702
52435
|
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
52703
52436
|
);
|
|
52704
52437
|
};
|
|
52705
|
-
proto.connect_api.
|
|
52438
|
+
proto.connect_api.GeneralConnectRequest.prototype.setScope = function(value) {
|
|
52706
52439
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
52707
52440
|
};
|
|
52708
|
-
proto.connect_api.
|
|
52441
|
+
proto.connect_api.GeneralConnectRequest.prototype.getConnect = function() {
|
|
52709
52442
|
return (
|
|
52710
52443
|
/** @type {string} */
|
|
52711
52444
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
52712
52445
|
);
|
|
52713
52446
|
};
|
|
52714
|
-
proto.connect_api.
|
|
52447
|
+
proto.connect_api.GeneralConnectRequest.prototype.setConnect = function(value) {
|
|
52715
52448
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
52716
52449
|
};
|
|
52717
52450
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52718
|
-
proto.connect_api.
|
|
52719
|
-
return proto.connect_api.
|
|
52451
|
+
proto.connect_api.GeneralConnectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
52452
|
+
return proto.connect_api.GeneralConnectResponse.toObject(opt_includeInstance, this);
|
|
52720
52453
|
};
|
|
52721
|
-
proto.connect_api.
|
|
52454
|
+
proto.connect_api.GeneralConnectResponse.toObject = function(includeInstance, msg) {
|
|
52722
52455
|
var f, obj = {
|
|
52723
52456
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
52724
52457
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
52725
|
-
|
|
52458
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
52726
52459
|
redirectto: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
52727
52460
|
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f)
|
|
52728
52461
|
};
|
|
@@ -52732,12 +52465,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52732
52465
|
return obj;
|
|
52733
52466
|
};
|
|
52734
52467
|
}
|
|
52735
|
-
proto.connect_api.
|
|
52468
|
+
proto.connect_api.GeneralConnectResponse.deserializeBinary = function(bytes) {
|
|
52736
52469
|
var reader = new jspb.BinaryReader(bytes);
|
|
52737
|
-
var msg = new proto.connect_api.
|
|
52738
|
-
return proto.connect_api.
|
|
52470
|
+
var msg = new proto.connect_api.GeneralConnectResponse();
|
|
52471
|
+
return proto.connect_api.GeneralConnectResponse.deserializeBinaryFromReader(msg, reader);
|
|
52739
52472
|
};
|
|
52740
|
-
proto.connect_api.
|
|
52473
|
+
proto.connect_api.GeneralConnectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
52741
52474
|
while (reader.nextField()) {
|
|
52742
52475
|
if (reader.isEndGroup()) {
|
|
52743
52476
|
break;
|
|
@@ -52761,9 +52494,9 @@ var require_connect_api_pb = __commonJS({
|
|
|
52761
52494
|
case 3:
|
|
52762
52495
|
var value = (
|
|
52763
52496
|
/** @type {string} */
|
|
52764
|
-
reader.
|
|
52497
|
+
reader.readString()
|
|
52765
52498
|
);
|
|
52766
|
-
msg.
|
|
52499
|
+
msg.setProvider(value);
|
|
52767
52500
|
break;
|
|
52768
52501
|
case 4:
|
|
52769
52502
|
var value = (
|
|
@@ -52784,12 +52517,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52784
52517
|
}
|
|
52785
52518
|
return msg;
|
|
52786
52519
|
};
|
|
52787
|
-
proto.connect_api.
|
|
52520
|
+
proto.connect_api.GeneralConnectResponse.prototype.serializeBinary = function() {
|
|
52788
52521
|
var writer = new jspb.BinaryWriter();
|
|
52789
|
-
proto.connect_api.
|
|
52522
|
+
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter(this, writer);
|
|
52790
52523
|
return writer.getResultBuffer();
|
|
52791
52524
|
};
|
|
52792
|
-
proto.connect_api.
|
|
52525
|
+
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
52793
52526
|
var f = void 0;
|
|
52794
52527
|
f = message.getCode();
|
|
52795
52528
|
if (f !== 0) {
|
|
@@ -52805,9 +52538,9 @@ var require_connect_api_pb = __commonJS({
|
|
|
52805
52538
|
f
|
|
52806
52539
|
);
|
|
52807
52540
|
}
|
|
52808
|
-
f = message.
|
|
52809
|
-
if (
|
|
52810
|
-
writer.
|
|
52541
|
+
f = message.getProvider();
|
|
52542
|
+
if (f.length > 0) {
|
|
52543
|
+
writer.writeString(
|
|
52811
52544
|
3,
|
|
52812
52545
|
f
|
|
52813
52546
|
);
|
|
@@ -52828,67 +52561,71 @@ var require_connect_api_pb = __commonJS({
|
|
|
52828
52561
|
);
|
|
52829
52562
|
}
|
|
52830
52563
|
};
|
|
52831
|
-
proto.connect_api.
|
|
52564
|
+
proto.connect_api.GeneralConnectResponse.prototype.getCode = function() {
|
|
52832
52565
|
return (
|
|
52833
52566
|
/** @type {number} */
|
|
52834
52567
|
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
52835
52568
|
);
|
|
52836
52569
|
};
|
|
52837
|
-
proto.connect_api.
|
|
52570
|
+
proto.connect_api.GeneralConnectResponse.prototype.setCode = function(value) {
|
|
52838
52571
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
52839
52572
|
};
|
|
52840
|
-
proto.connect_api.
|
|
52573
|
+
proto.connect_api.GeneralConnectResponse.prototype.getSuccess = function() {
|
|
52841
52574
|
return (
|
|
52842
52575
|
/** @type {boolean} */
|
|
52843
52576
|
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
52844
52577
|
);
|
|
52845
52578
|
};
|
|
52846
|
-
proto.connect_api.
|
|
52579
|
+
proto.connect_api.GeneralConnectResponse.prototype.setSuccess = function(value) {
|
|
52847
52580
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
52848
52581
|
};
|
|
52849
|
-
proto.connect_api.
|
|
52582
|
+
proto.connect_api.GeneralConnectResponse.prototype.getProvider = function() {
|
|
52850
52583
|
return (
|
|
52851
52584
|
/** @type {string} */
|
|
52852
|
-
jspb.Message.getFieldWithDefault(this, 3, "
|
|
52585
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
52853
52586
|
);
|
|
52854
52587
|
};
|
|
52855
|
-
proto.connect_api.
|
|
52856
|
-
return jspb.Message.
|
|
52588
|
+
proto.connect_api.GeneralConnectResponse.prototype.setProvider = function(value) {
|
|
52589
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
52857
52590
|
};
|
|
52858
|
-
proto.connect_api.
|
|
52591
|
+
proto.connect_api.GeneralConnectResponse.prototype.getRedirectto = function() {
|
|
52859
52592
|
return (
|
|
52860
52593
|
/** @type {string} */
|
|
52861
52594
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
52862
52595
|
);
|
|
52863
52596
|
};
|
|
52864
|
-
proto.connect_api.
|
|
52597
|
+
proto.connect_api.GeneralConnectResponse.prototype.setRedirectto = function(value) {
|
|
52865
52598
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
52866
52599
|
};
|
|
52867
|
-
proto.connect_api.
|
|
52600
|
+
proto.connect_api.GeneralConnectResponse.prototype.getError = function() {
|
|
52868
52601
|
return (
|
|
52869
52602
|
/** @type{?proto.Error} */
|
|
52870
52603
|
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
52871
52604
|
);
|
|
52872
52605
|
};
|
|
52873
|
-
proto.connect_api.
|
|
52606
|
+
proto.connect_api.GeneralConnectResponse.prototype.setError = function(value) {
|
|
52874
52607
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
52875
52608
|
};
|
|
52876
|
-
proto.connect_api.
|
|
52609
|
+
proto.connect_api.GeneralConnectResponse.prototype.clearError = function() {
|
|
52877
52610
|
return this.setError(void 0);
|
|
52878
52611
|
};
|
|
52879
|
-
proto.connect_api.
|
|
52612
|
+
proto.connect_api.GeneralConnectResponse.prototype.hasError = function() {
|
|
52880
52613
|
return jspb.Message.getField(this, 5) != null;
|
|
52881
52614
|
};
|
|
52615
|
+
proto.connect_api.GetConnectorFilesRequest.repeatedFields_ = [2];
|
|
52882
52616
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52883
|
-
proto.connect_api.
|
|
52884
|
-
return proto.connect_api.
|
|
52617
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
52618
|
+
return proto.connect_api.GetConnectorFilesRequest.toObject(opt_includeInstance, this);
|
|
52885
52619
|
};
|
|
52886
|
-
proto.connect_api.
|
|
52620
|
+
proto.connect_api.GetConnectorFilesRequest.toObject = function(includeInstance, msg) {
|
|
52887
52621
|
var f, obj = {
|
|
52888
|
-
|
|
52889
|
-
|
|
52890
|
-
|
|
52891
|
-
|
|
52622
|
+
paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
|
|
52623
|
+
criteriasList: jspb.Message.toObjectList(
|
|
52624
|
+
msg.getCriteriasList(),
|
|
52625
|
+
common_pb.Criteria.toObject,
|
|
52626
|
+
includeInstance
|
|
52627
|
+
),
|
|
52628
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
52892
52629
|
};
|
|
52893
52630
|
if (includeInstance) {
|
|
52894
52631
|
obj.$jspbMessageInstance = msg;
|
|
@@ -52896,12 +52633,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52896
52633
|
return obj;
|
|
52897
52634
|
};
|
|
52898
52635
|
}
|
|
52899
|
-
proto.connect_api.
|
|
52636
|
+
proto.connect_api.GetConnectorFilesRequest.deserializeBinary = function(bytes) {
|
|
52900
52637
|
var reader = new jspb.BinaryReader(bytes);
|
|
52901
|
-
var msg = new proto.connect_api.
|
|
52902
|
-
return proto.connect_api.
|
|
52638
|
+
var msg = new proto.connect_api.GetConnectorFilesRequest();
|
|
52639
|
+
return proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
52903
52640
|
};
|
|
52904
|
-
proto.connect_api.
|
|
52641
|
+
proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
52905
52642
|
while (reader.nextField()) {
|
|
52906
52643
|
if (reader.isEndGroup()) {
|
|
52907
52644
|
break;
|
|
@@ -52909,32 +52646,21 @@ var require_connect_api_pb = __commonJS({
|
|
|
52909
52646
|
var field = reader.getFieldNumber();
|
|
52910
52647
|
switch (field) {
|
|
52911
52648
|
case 1:
|
|
52912
|
-
var value = (
|
|
52913
|
-
|
|
52914
|
-
|
|
52915
|
-
);
|
|
52916
|
-
msg.setState(value);
|
|
52649
|
+
var value = new common_pb.Paginate();
|
|
52650
|
+
reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
|
|
52651
|
+
msg.setPaginate(value);
|
|
52917
52652
|
break;
|
|
52918
52653
|
case 2:
|
|
52919
|
-
var value = (
|
|
52920
|
-
|
|
52921
|
-
|
|
52922
|
-
);
|
|
52923
|
-
msg.setCode(value);
|
|
52654
|
+
var value = new common_pb.Criteria();
|
|
52655
|
+
reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
|
|
52656
|
+
msg.addCriterias(value);
|
|
52924
52657
|
break;
|
|
52925
52658
|
case 3:
|
|
52926
52659
|
var value = (
|
|
52927
52660
|
/** @type {string} */
|
|
52928
52661
|
reader.readString()
|
|
52929
52662
|
);
|
|
52930
|
-
msg.
|
|
52931
|
-
break;
|
|
52932
|
-
case 4:
|
|
52933
|
-
var value = (
|
|
52934
|
-
/** @type {string} */
|
|
52935
|
-
reader.readString()
|
|
52936
|
-
);
|
|
52937
|
-
msg.setConnect(value);
|
|
52663
|
+
msg.setProvider(value);
|
|
52938
52664
|
break;
|
|
52939
52665
|
default:
|
|
52940
52666
|
reader.skipField();
|
|
@@ -52943,89 +52669,93 @@ var require_connect_api_pb = __commonJS({
|
|
|
52943
52669
|
}
|
|
52944
52670
|
return msg;
|
|
52945
52671
|
};
|
|
52946
|
-
proto.connect_api.
|
|
52672
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.serializeBinary = function() {
|
|
52947
52673
|
var writer = new jspb.BinaryWriter();
|
|
52948
|
-
proto.connect_api.
|
|
52674
|
+
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter(this, writer);
|
|
52949
52675
|
return writer.getResultBuffer();
|
|
52950
52676
|
};
|
|
52951
|
-
proto.connect_api.
|
|
52677
|
+
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
52952
52678
|
var f = void 0;
|
|
52953
|
-
f = message.
|
|
52954
|
-
if (f
|
|
52955
|
-
writer.
|
|
52679
|
+
f = message.getPaginate();
|
|
52680
|
+
if (f != null) {
|
|
52681
|
+
writer.writeMessage(
|
|
52956
52682
|
1,
|
|
52957
|
-
f
|
|
52683
|
+
f,
|
|
52684
|
+
common_pb.Paginate.serializeBinaryToWriter
|
|
52958
52685
|
);
|
|
52959
52686
|
}
|
|
52960
|
-
f = message.
|
|
52687
|
+
f = message.getCriteriasList();
|
|
52961
52688
|
if (f.length > 0) {
|
|
52962
|
-
writer.
|
|
52689
|
+
writer.writeRepeatedMessage(
|
|
52963
52690
|
2,
|
|
52964
|
-
f
|
|
52691
|
+
f,
|
|
52692
|
+
common_pb.Criteria.serializeBinaryToWriter
|
|
52965
52693
|
);
|
|
52966
52694
|
}
|
|
52967
|
-
f = message.
|
|
52695
|
+
f = message.getProvider();
|
|
52968
52696
|
if (f.length > 0) {
|
|
52969
52697
|
writer.writeString(
|
|
52970
52698
|
3,
|
|
52971
52699
|
f
|
|
52972
52700
|
);
|
|
52973
52701
|
}
|
|
52974
|
-
f = message.getConnect();
|
|
52975
|
-
if (f.length > 0) {
|
|
52976
|
-
writer.writeString(
|
|
52977
|
-
4,
|
|
52978
|
-
f
|
|
52979
|
-
);
|
|
52980
|
-
}
|
|
52981
52702
|
};
|
|
52982
|
-
proto.connect_api.
|
|
52703
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getPaginate = function() {
|
|
52983
52704
|
return (
|
|
52984
|
-
/** @type
|
|
52985
|
-
jspb.Message.
|
|
52705
|
+
/** @type{?proto.Paginate} */
|
|
52706
|
+
jspb.Message.getWrapperField(this, common_pb.Paginate, 1)
|
|
52986
52707
|
);
|
|
52987
52708
|
};
|
|
52988
|
-
proto.connect_api.
|
|
52989
|
-
return jspb.Message.
|
|
52709
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setPaginate = function(value) {
|
|
52710
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
52990
52711
|
};
|
|
52991
|
-
proto.connect_api.
|
|
52992
|
-
return (
|
|
52993
|
-
/** @type {string} */
|
|
52994
|
-
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
52995
|
-
);
|
|
52712
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.clearPaginate = function() {
|
|
52713
|
+
return this.setPaginate(void 0);
|
|
52996
52714
|
};
|
|
52997
|
-
proto.connect_api.
|
|
52998
|
-
return jspb.Message.
|
|
52715
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.hasPaginate = function() {
|
|
52716
|
+
return jspb.Message.getField(this, 1) != null;
|
|
52999
52717
|
};
|
|
53000
|
-
proto.connect_api.
|
|
52718
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getCriteriasList = function() {
|
|
53001
52719
|
return (
|
|
53002
|
-
/** @type
|
|
53003
|
-
jspb.Message.
|
|
52720
|
+
/** @type{!Array<!proto.Criteria>} */
|
|
52721
|
+
jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 2)
|
|
53004
52722
|
);
|
|
53005
52723
|
};
|
|
53006
|
-
proto.connect_api.
|
|
53007
|
-
return jspb.Message.
|
|
52724
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setCriteriasList = function(value) {
|
|
52725
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
53008
52726
|
};
|
|
53009
|
-
proto.connect_api.
|
|
52727
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.addCriterias = function(opt_value, opt_index) {
|
|
52728
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Criteria, opt_index);
|
|
52729
|
+
};
|
|
52730
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.clearCriteriasList = function() {
|
|
52731
|
+
return this.setCriteriasList([]);
|
|
52732
|
+
};
|
|
52733
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getProvider = function() {
|
|
53010
52734
|
return (
|
|
53011
52735
|
/** @type {string} */
|
|
53012
|
-
jspb.Message.getFieldWithDefault(this,
|
|
52736
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
53013
52737
|
);
|
|
53014
52738
|
};
|
|
53015
|
-
proto.connect_api.
|
|
53016
|
-
return jspb.Message.setProto3StringField(this,
|
|
52739
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setProvider = function(value) {
|
|
52740
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
53017
52741
|
};
|
|
52742
|
+
proto.connect_api.GetConnectorFilesResponse.repeatedFields_ = [3];
|
|
53018
52743
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53019
|
-
proto.connect_api.
|
|
53020
|
-
return proto.connect_api.
|
|
52744
|
+
proto.connect_api.GetConnectorFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
52745
|
+
return proto.connect_api.GetConnectorFilesResponse.toObject(opt_includeInstance, this);
|
|
53021
52746
|
};
|
|
53022
|
-
proto.connect_api.
|
|
52747
|
+
proto.connect_api.GetConnectorFilesResponse.toObject = function(includeInstance, msg) {
|
|
53023
52748
|
var f, obj = {
|
|
53024
52749
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
53025
52750
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
53026
|
-
|
|
53027
|
-
|
|
53028
|
-
|
|
52751
|
+
dataList: jspb.Message.toObjectList(
|
|
52752
|
+
msg.getDataList(),
|
|
52753
|
+
google_protobuf_struct_pb.Struct.toObject,
|
|
52754
|
+
includeInstance
|
|
52755
|
+
),
|
|
52756
|
+
paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f),
|
|
52757
|
+
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
52758
|
+
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, void 0) : []
|
|
53029
52759
|
};
|
|
53030
52760
|
if (includeInstance) {
|
|
53031
52761
|
obj.$jspbMessageInstance = msg;
|
|
@@ -53033,611 +52763,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
53033
52763
|
return obj;
|
|
53034
52764
|
};
|
|
53035
52765
|
}
|
|
53036
|
-
proto.connect_api.
|
|
52766
|
+
proto.connect_api.GetConnectorFilesResponse.deserializeBinary = function(bytes) {
|
|
53037
52767
|
var reader = new jspb.BinaryReader(bytes);
|
|
53038
|
-
var msg = new proto.connect_api.
|
|
53039
|
-
return proto.connect_api.
|
|
52768
|
+
var msg = new proto.connect_api.GetConnectorFilesResponse();
|
|
52769
|
+
return proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
53040
52770
|
};
|
|
53041
|
-
proto.connect_api.
|
|
53042
|
-
while (reader.nextField()) {
|
|
53043
|
-
if (reader.isEndGroup()) {
|
|
53044
|
-
break;
|
|
53045
|
-
}
|
|
53046
|
-
var field = reader.getFieldNumber();
|
|
53047
|
-
switch (field) {
|
|
53048
|
-
case 1:
|
|
53049
|
-
var value = (
|
|
53050
|
-
/** @type {number} */
|
|
53051
|
-
reader.readInt32()
|
|
53052
|
-
);
|
|
53053
|
-
msg.setCode(value);
|
|
53054
|
-
break;
|
|
53055
|
-
case 2:
|
|
53056
|
-
var value = (
|
|
53057
|
-
/** @type {boolean} */
|
|
53058
|
-
reader.readBool()
|
|
53059
|
-
);
|
|
53060
|
-
msg.setSuccess(value);
|
|
53061
|
-
break;
|
|
53062
|
-
case 3:
|
|
53063
|
-
var value = (
|
|
53064
|
-
/** @type {string} */
|
|
53065
|
-
reader.readUint64String()
|
|
53066
|
-
);
|
|
53067
|
-
msg.setToolid(value);
|
|
53068
|
-
break;
|
|
53069
|
-
case 4:
|
|
53070
|
-
var value = (
|
|
53071
|
-
/** @type {string} */
|
|
53072
|
-
reader.readString()
|
|
53073
|
-
);
|
|
53074
|
-
msg.setRedirectto(value);
|
|
53075
|
-
break;
|
|
53076
|
-
case 5:
|
|
53077
|
-
var value = new common_pb.Error();
|
|
53078
|
-
reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
|
|
53079
|
-
msg.setError(value);
|
|
53080
|
-
break;
|
|
53081
|
-
default:
|
|
53082
|
-
reader.skipField();
|
|
53083
|
-
break;
|
|
53084
|
-
}
|
|
53085
|
-
}
|
|
53086
|
-
return msg;
|
|
53087
|
-
};
|
|
53088
|
-
proto.connect_api.GeneralConnectResponse.prototype.serializeBinary = function() {
|
|
53089
|
-
var writer = new jspb.BinaryWriter();
|
|
53090
|
-
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter(this, writer);
|
|
53091
|
-
return writer.getResultBuffer();
|
|
53092
|
-
};
|
|
53093
|
-
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
53094
|
-
var f = void 0;
|
|
53095
|
-
f = message.getCode();
|
|
53096
|
-
if (f !== 0) {
|
|
53097
|
-
writer.writeInt32(
|
|
53098
|
-
1,
|
|
53099
|
-
f
|
|
53100
|
-
);
|
|
53101
|
-
}
|
|
53102
|
-
f = message.getSuccess();
|
|
53103
|
-
if (f) {
|
|
53104
|
-
writer.writeBool(
|
|
53105
|
-
2,
|
|
53106
|
-
f
|
|
53107
|
-
);
|
|
53108
|
-
}
|
|
53109
|
-
f = message.getToolid();
|
|
53110
|
-
if (parseInt(f, 10) !== 0) {
|
|
53111
|
-
writer.writeUint64String(
|
|
53112
|
-
3,
|
|
53113
|
-
f
|
|
53114
|
-
);
|
|
53115
|
-
}
|
|
53116
|
-
f = message.getRedirectto();
|
|
53117
|
-
if (f.length > 0) {
|
|
53118
|
-
writer.writeString(
|
|
53119
|
-
4,
|
|
53120
|
-
f
|
|
53121
|
-
);
|
|
53122
|
-
}
|
|
53123
|
-
f = message.getError();
|
|
53124
|
-
if (f != null) {
|
|
53125
|
-
writer.writeMessage(
|
|
53126
|
-
5,
|
|
53127
|
-
f,
|
|
53128
|
-
common_pb.Error.serializeBinaryToWriter
|
|
53129
|
-
);
|
|
53130
|
-
}
|
|
53131
|
-
};
|
|
53132
|
-
proto.connect_api.GeneralConnectResponse.prototype.getCode = function() {
|
|
53133
|
-
return (
|
|
53134
|
-
/** @type {number} */
|
|
53135
|
-
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
53136
|
-
);
|
|
53137
|
-
};
|
|
53138
|
-
proto.connect_api.GeneralConnectResponse.prototype.setCode = function(value) {
|
|
53139
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
53140
|
-
};
|
|
53141
|
-
proto.connect_api.GeneralConnectResponse.prototype.getSuccess = function() {
|
|
53142
|
-
return (
|
|
53143
|
-
/** @type {boolean} */
|
|
53144
|
-
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
53145
|
-
);
|
|
53146
|
-
};
|
|
53147
|
-
proto.connect_api.GeneralConnectResponse.prototype.setSuccess = function(value) {
|
|
53148
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
53149
|
-
};
|
|
53150
|
-
proto.connect_api.GeneralConnectResponse.prototype.getToolid = function() {
|
|
53151
|
-
return (
|
|
53152
|
-
/** @type {string} */
|
|
53153
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
53154
|
-
);
|
|
53155
|
-
};
|
|
53156
|
-
proto.connect_api.GeneralConnectResponse.prototype.setToolid = function(value) {
|
|
53157
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
53158
|
-
};
|
|
53159
|
-
proto.connect_api.GeneralConnectResponse.prototype.getRedirectto = function() {
|
|
53160
|
-
return (
|
|
53161
|
-
/** @type {string} */
|
|
53162
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
53163
|
-
);
|
|
53164
|
-
};
|
|
53165
|
-
proto.connect_api.GeneralConnectResponse.prototype.setRedirectto = function(value) {
|
|
53166
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
53167
|
-
};
|
|
53168
|
-
proto.connect_api.GeneralConnectResponse.prototype.getError = function() {
|
|
53169
|
-
return (
|
|
53170
|
-
/** @type{?proto.Error} */
|
|
53171
|
-
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
53172
|
-
);
|
|
53173
|
-
};
|
|
53174
|
-
proto.connect_api.GeneralConnectResponse.prototype.setError = function(value) {
|
|
53175
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
53176
|
-
};
|
|
53177
|
-
proto.connect_api.GeneralConnectResponse.prototype.clearError = function() {
|
|
53178
|
-
return this.setError(void 0);
|
|
53179
|
-
};
|
|
53180
|
-
proto.connect_api.GeneralConnectResponse.prototype.hasError = function() {
|
|
53181
|
-
return jspb.Message.getField(this, 5) != null;
|
|
53182
|
-
};
|
|
53183
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53184
|
-
proto.connect_api.ActionConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
53185
|
-
return proto.connect_api.ActionConnectRequest.toObject(opt_includeInstance, this);
|
|
53186
|
-
};
|
|
53187
|
-
proto.connect_api.ActionConnectRequest.toObject = function(includeInstance, msg) {
|
|
53188
|
-
var f, obj = {
|
|
53189
|
-
state: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
53190
|
-
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
53191
|
-
scope: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
53192
|
-
connect: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
53193
|
-
};
|
|
53194
|
-
if (includeInstance) {
|
|
53195
|
-
obj.$jspbMessageInstance = msg;
|
|
53196
|
-
}
|
|
53197
|
-
return obj;
|
|
53198
|
-
};
|
|
53199
|
-
}
|
|
53200
|
-
proto.connect_api.ActionConnectRequest.deserializeBinary = function(bytes) {
|
|
53201
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
53202
|
-
var msg = new proto.connect_api.ActionConnectRequest();
|
|
53203
|
-
return proto.connect_api.ActionConnectRequest.deserializeBinaryFromReader(msg, reader);
|
|
53204
|
-
};
|
|
53205
|
-
proto.connect_api.ActionConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
53206
|
-
while (reader.nextField()) {
|
|
53207
|
-
if (reader.isEndGroup()) {
|
|
53208
|
-
break;
|
|
53209
|
-
}
|
|
53210
|
-
var field = reader.getFieldNumber();
|
|
53211
|
-
switch (field) {
|
|
53212
|
-
case 1:
|
|
53213
|
-
var value = (
|
|
53214
|
-
/** @type {string} */
|
|
53215
|
-
reader.readString()
|
|
53216
|
-
);
|
|
53217
|
-
msg.setState(value);
|
|
53218
|
-
break;
|
|
53219
|
-
case 2:
|
|
53220
|
-
var value = (
|
|
53221
|
-
/** @type {string} */
|
|
53222
|
-
reader.readString()
|
|
53223
|
-
);
|
|
53224
|
-
msg.setCode(value);
|
|
53225
|
-
break;
|
|
53226
|
-
case 3:
|
|
53227
|
-
var value = (
|
|
53228
|
-
/** @type {string} */
|
|
53229
|
-
reader.readString()
|
|
53230
|
-
);
|
|
53231
|
-
msg.setScope(value);
|
|
53232
|
-
break;
|
|
53233
|
-
case 4:
|
|
53234
|
-
var value = (
|
|
53235
|
-
/** @type {string} */
|
|
53236
|
-
reader.readString()
|
|
53237
|
-
);
|
|
53238
|
-
msg.setConnect(value);
|
|
53239
|
-
break;
|
|
53240
|
-
default:
|
|
53241
|
-
reader.skipField();
|
|
53242
|
-
break;
|
|
53243
|
-
}
|
|
53244
|
-
}
|
|
53245
|
-
return msg;
|
|
53246
|
-
};
|
|
53247
|
-
proto.connect_api.ActionConnectRequest.prototype.serializeBinary = function() {
|
|
53248
|
-
var writer = new jspb.BinaryWriter();
|
|
53249
|
-
proto.connect_api.ActionConnectRequest.serializeBinaryToWriter(this, writer);
|
|
53250
|
-
return writer.getResultBuffer();
|
|
53251
|
-
};
|
|
53252
|
-
proto.connect_api.ActionConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
53253
|
-
var f = void 0;
|
|
53254
|
-
f = message.getState();
|
|
53255
|
-
if (f.length > 0) {
|
|
53256
|
-
writer.writeString(
|
|
53257
|
-
1,
|
|
53258
|
-
f
|
|
53259
|
-
);
|
|
53260
|
-
}
|
|
53261
|
-
f = message.getCode();
|
|
53262
|
-
if (f.length > 0) {
|
|
53263
|
-
writer.writeString(
|
|
53264
|
-
2,
|
|
53265
|
-
f
|
|
53266
|
-
);
|
|
53267
|
-
}
|
|
53268
|
-
f = message.getScope();
|
|
53269
|
-
if (f.length > 0) {
|
|
53270
|
-
writer.writeString(
|
|
53271
|
-
3,
|
|
53272
|
-
f
|
|
53273
|
-
);
|
|
53274
|
-
}
|
|
53275
|
-
f = message.getConnect();
|
|
53276
|
-
if (f.length > 0) {
|
|
53277
|
-
writer.writeString(
|
|
53278
|
-
4,
|
|
53279
|
-
f
|
|
53280
|
-
);
|
|
53281
|
-
}
|
|
53282
|
-
};
|
|
53283
|
-
proto.connect_api.ActionConnectRequest.prototype.getState = function() {
|
|
53284
|
-
return (
|
|
53285
|
-
/** @type {string} */
|
|
53286
|
-
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
53287
|
-
);
|
|
53288
|
-
};
|
|
53289
|
-
proto.connect_api.ActionConnectRequest.prototype.setState = function(value) {
|
|
53290
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
53291
|
-
};
|
|
53292
|
-
proto.connect_api.ActionConnectRequest.prototype.getCode = function() {
|
|
53293
|
-
return (
|
|
53294
|
-
/** @type {string} */
|
|
53295
|
-
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
53296
|
-
);
|
|
53297
|
-
};
|
|
53298
|
-
proto.connect_api.ActionConnectRequest.prototype.setCode = function(value) {
|
|
53299
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
53300
|
-
};
|
|
53301
|
-
proto.connect_api.ActionConnectRequest.prototype.getScope = function() {
|
|
53302
|
-
return (
|
|
53303
|
-
/** @type {string} */
|
|
53304
|
-
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
53305
|
-
);
|
|
53306
|
-
};
|
|
53307
|
-
proto.connect_api.ActionConnectRequest.prototype.setScope = function(value) {
|
|
53308
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
53309
|
-
};
|
|
53310
|
-
proto.connect_api.ActionConnectRequest.prototype.getConnect = function() {
|
|
53311
|
-
return (
|
|
53312
|
-
/** @type {string} */
|
|
53313
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
53314
|
-
);
|
|
53315
|
-
};
|
|
53316
|
-
proto.connect_api.ActionConnectRequest.prototype.setConnect = function(value) {
|
|
53317
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
53318
|
-
};
|
|
53319
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53320
|
-
proto.connect_api.ActionConnectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
53321
|
-
return proto.connect_api.ActionConnectResponse.toObject(opt_includeInstance, this);
|
|
53322
|
-
};
|
|
53323
|
-
proto.connect_api.ActionConnectResponse.toObject = function(includeInstance, msg) {
|
|
53324
|
-
var f, obj = {
|
|
53325
|
-
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
53326
|
-
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
53327
|
-
toolid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
53328
|
-
redirectto: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
53329
|
-
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f)
|
|
53330
|
-
};
|
|
53331
|
-
if (includeInstance) {
|
|
53332
|
-
obj.$jspbMessageInstance = msg;
|
|
53333
|
-
}
|
|
53334
|
-
return obj;
|
|
53335
|
-
};
|
|
53336
|
-
}
|
|
53337
|
-
proto.connect_api.ActionConnectResponse.deserializeBinary = function(bytes) {
|
|
53338
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
53339
|
-
var msg = new proto.connect_api.ActionConnectResponse();
|
|
53340
|
-
return proto.connect_api.ActionConnectResponse.deserializeBinaryFromReader(msg, reader);
|
|
53341
|
-
};
|
|
53342
|
-
proto.connect_api.ActionConnectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
53343
|
-
while (reader.nextField()) {
|
|
53344
|
-
if (reader.isEndGroup()) {
|
|
53345
|
-
break;
|
|
53346
|
-
}
|
|
53347
|
-
var field = reader.getFieldNumber();
|
|
53348
|
-
switch (field) {
|
|
53349
|
-
case 1:
|
|
53350
|
-
var value = (
|
|
53351
|
-
/** @type {number} */
|
|
53352
|
-
reader.readInt32()
|
|
53353
|
-
);
|
|
53354
|
-
msg.setCode(value);
|
|
53355
|
-
break;
|
|
53356
|
-
case 2:
|
|
53357
|
-
var value = (
|
|
53358
|
-
/** @type {boolean} */
|
|
53359
|
-
reader.readBool()
|
|
53360
|
-
);
|
|
53361
|
-
msg.setSuccess(value);
|
|
53362
|
-
break;
|
|
53363
|
-
case 3:
|
|
53364
|
-
var value = (
|
|
53365
|
-
/** @type {string} */
|
|
53366
|
-
reader.readUint64String()
|
|
53367
|
-
);
|
|
53368
|
-
msg.setToolid(value);
|
|
53369
|
-
break;
|
|
53370
|
-
case 4:
|
|
53371
|
-
var value = (
|
|
53372
|
-
/** @type {string} */
|
|
53373
|
-
reader.readString()
|
|
53374
|
-
);
|
|
53375
|
-
msg.setRedirectto(value);
|
|
53376
|
-
break;
|
|
53377
|
-
case 5:
|
|
53378
|
-
var value = new common_pb.Error();
|
|
53379
|
-
reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
|
|
53380
|
-
msg.setError(value);
|
|
53381
|
-
break;
|
|
53382
|
-
default:
|
|
53383
|
-
reader.skipField();
|
|
53384
|
-
break;
|
|
53385
|
-
}
|
|
53386
|
-
}
|
|
53387
|
-
return msg;
|
|
53388
|
-
};
|
|
53389
|
-
proto.connect_api.ActionConnectResponse.prototype.serializeBinary = function() {
|
|
53390
|
-
var writer = new jspb.BinaryWriter();
|
|
53391
|
-
proto.connect_api.ActionConnectResponse.serializeBinaryToWriter(this, writer);
|
|
53392
|
-
return writer.getResultBuffer();
|
|
53393
|
-
};
|
|
53394
|
-
proto.connect_api.ActionConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
53395
|
-
var f = void 0;
|
|
53396
|
-
f = message.getCode();
|
|
53397
|
-
if (f !== 0) {
|
|
53398
|
-
writer.writeInt32(
|
|
53399
|
-
1,
|
|
53400
|
-
f
|
|
53401
|
-
);
|
|
53402
|
-
}
|
|
53403
|
-
f = message.getSuccess();
|
|
53404
|
-
if (f) {
|
|
53405
|
-
writer.writeBool(
|
|
53406
|
-
2,
|
|
53407
|
-
f
|
|
53408
|
-
);
|
|
53409
|
-
}
|
|
53410
|
-
f = message.getToolid();
|
|
53411
|
-
if (parseInt(f, 10) !== 0) {
|
|
53412
|
-
writer.writeUint64String(
|
|
53413
|
-
3,
|
|
53414
|
-
f
|
|
53415
|
-
);
|
|
53416
|
-
}
|
|
53417
|
-
f = message.getRedirectto();
|
|
53418
|
-
if (f.length > 0) {
|
|
53419
|
-
writer.writeString(
|
|
53420
|
-
4,
|
|
53421
|
-
f
|
|
53422
|
-
);
|
|
53423
|
-
}
|
|
53424
|
-
f = message.getError();
|
|
53425
|
-
if (f != null) {
|
|
53426
|
-
writer.writeMessage(
|
|
53427
|
-
5,
|
|
53428
|
-
f,
|
|
53429
|
-
common_pb.Error.serializeBinaryToWriter
|
|
53430
|
-
);
|
|
53431
|
-
}
|
|
53432
|
-
};
|
|
53433
|
-
proto.connect_api.ActionConnectResponse.prototype.getCode = function() {
|
|
53434
|
-
return (
|
|
53435
|
-
/** @type {number} */
|
|
53436
|
-
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
53437
|
-
);
|
|
53438
|
-
};
|
|
53439
|
-
proto.connect_api.ActionConnectResponse.prototype.setCode = function(value) {
|
|
53440
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
53441
|
-
};
|
|
53442
|
-
proto.connect_api.ActionConnectResponse.prototype.getSuccess = function() {
|
|
53443
|
-
return (
|
|
53444
|
-
/** @type {boolean} */
|
|
53445
|
-
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
53446
|
-
);
|
|
53447
|
-
};
|
|
53448
|
-
proto.connect_api.ActionConnectResponse.prototype.setSuccess = function(value) {
|
|
53449
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
53450
|
-
};
|
|
53451
|
-
proto.connect_api.ActionConnectResponse.prototype.getToolid = function() {
|
|
53452
|
-
return (
|
|
53453
|
-
/** @type {string} */
|
|
53454
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
53455
|
-
);
|
|
53456
|
-
};
|
|
53457
|
-
proto.connect_api.ActionConnectResponse.prototype.setToolid = function(value) {
|
|
53458
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
53459
|
-
};
|
|
53460
|
-
proto.connect_api.ActionConnectResponse.prototype.getRedirectto = function() {
|
|
53461
|
-
return (
|
|
53462
|
-
/** @type {string} */
|
|
53463
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
53464
|
-
);
|
|
53465
|
-
};
|
|
53466
|
-
proto.connect_api.ActionConnectResponse.prototype.setRedirectto = function(value) {
|
|
53467
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
53468
|
-
};
|
|
53469
|
-
proto.connect_api.ActionConnectResponse.prototype.getError = function() {
|
|
53470
|
-
return (
|
|
53471
|
-
/** @type{?proto.Error} */
|
|
53472
|
-
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
53473
|
-
);
|
|
53474
|
-
};
|
|
53475
|
-
proto.connect_api.ActionConnectResponse.prototype.setError = function(value) {
|
|
53476
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
53477
|
-
};
|
|
53478
|
-
proto.connect_api.ActionConnectResponse.prototype.clearError = function() {
|
|
53479
|
-
return this.setError(void 0);
|
|
53480
|
-
};
|
|
53481
|
-
proto.connect_api.ActionConnectResponse.prototype.hasError = function() {
|
|
53482
|
-
return jspb.Message.getField(this, 5) != null;
|
|
53483
|
-
};
|
|
53484
|
-
proto.connect_api.GetConnectorFilesRequest.repeatedFields_ = [2];
|
|
53485
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53486
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
53487
|
-
return proto.connect_api.GetConnectorFilesRequest.toObject(opt_includeInstance, this);
|
|
53488
|
-
};
|
|
53489
|
-
proto.connect_api.GetConnectorFilesRequest.toObject = function(includeInstance, msg) {
|
|
53490
|
-
var f, obj = {
|
|
53491
|
-
paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
|
|
53492
|
-
criteriasList: jspb.Message.toObjectList(
|
|
53493
|
-
msg.getCriteriasList(),
|
|
53494
|
-
common_pb.Criteria.toObject,
|
|
53495
|
-
includeInstance
|
|
53496
|
-
),
|
|
53497
|
-
toolid: jspb.Message.getFieldWithDefault(msg, 3, "0")
|
|
53498
|
-
};
|
|
53499
|
-
if (includeInstance) {
|
|
53500
|
-
obj.$jspbMessageInstance = msg;
|
|
53501
|
-
}
|
|
53502
|
-
return obj;
|
|
53503
|
-
};
|
|
53504
|
-
}
|
|
53505
|
-
proto.connect_api.GetConnectorFilesRequest.deserializeBinary = function(bytes) {
|
|
53506
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
53507
|
-
var msg = new proto.connect_api.GetConnectorFilesRequest();
|
|
53508
|
-
return proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
53509
|
-
};
|
|
53510
|
-
proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
53511
|
-
while (reader.nextField()) {
|
|
53512
|
-
if (reader.isEndGroup()) {
|
|
53513
|
-
break;
|
|
53514
|
-
}
|
|
53515
|
-
var field = reader.getFieldNumber();
|
|
53516
|
-
switch (field) {
|
|
53517
|
-
case 1:
|
|
53518
|
-
var value = new common_pb.Paginate();
|
|
53519
|
-
reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
|
|
53520
|
-
msg.setPaginate(value);
|
|
53521
|
-
break;
|
|
53522
|
-
case 2:
|
|
53523
|
-
var value = new common_pb.Criteria();
|
|
53524
|
-
reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
|
|
53525
|
-
msg.addCriterias(value);
|
|
53526
|
-
break;
|
|
53527
|
-
case 3:
|
|
53528
|
-
var value = (
|
|
53529
|
-
/** @type {string} */
|
|
53530
|
-
reader.readUint64String()
|
|
53531
|
-
);
|
|
53532
|
-
msg.setToolid(value);
|
|
53533
|
-
break;
|
|
53534
|
-
default:
|
|
53535
|
-
reader.skipField();
|
|
53536
|
-
break;
|
|
53537
|
-
}
|
|
53538
|
-
}
|
|
53539
|
-
return msg;
|
|
53540
|
-
};
|
|
53541
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.serializeBinary = function() {
|
|
53542
|
-
var writer = new jspb.BinaryWriter();
|
|
53543
|
-
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter(this, writer);
|
|
53544
|
-
return writer.getResultBuffer();
|
|
53545
|
-
};
|
|
53546
|
-
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
53547
|
-
var f = void 0;
|
|
53548
|
-
f = message.getPaginate();
|
|
53549
|
-
if (f != null) {
|
|
53550
|
-
writer.writeMessage(
|
|
53551
|
-
1,
|
|
53552
|
-
f,
|
|
53553
|
-
common_pb.Paginate.serializeBinaryToWriter
|
|
53554
|
-
);
|
|
53555
|
-
}
|
|
53556
|
-
f = message.getCriteriasList();
|
|
53557
|
-
if (f.length > 0) {
|
|
53558
|
-
writer.writeRepeatedMessage(
|
|
53559
|
-
2,
|
|
53560
|
-
f,
|
|
53561
|
-
common_pb.Criteria.serializeBinaryToWriter
|
|
53562
|
-
);
|
|
53563
|
-
}
|
|
53564
|
-
f = message.getToolid();
|
|
53565
|
-
if (parseInt(f, 10) !== 0) {
|
|
53566
|
-
writer.writeUint64String(
|
|
53567
|
-
3,
|
|
53568
|
-
f
|
|
53569
|
-
);
|
|
53570
|
-
}
|
|
53571
|
-
};
|
|
53572
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.getPaginate = function() {
|
|
53573
|
-
return (
|
|
53574
|
-
/** @type{?proto.Paginate} */
|
|
53575
|
-
jspb.Message.getWrapperField(this, common_pb.Paginate, 1)
|
|
53576
|
-
);
|
|
53577
|
-
};
|
|
53578
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.setPaginate = function(value) {
|
|
53579
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
53580
|
-
};
|
|
53581
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.clearPaginate = function() {
|
|
53582
|
-
return this.setPaginate(void 0);
|
|
53583
|
-
};
|
|
53584
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.hasPaginate = function() {
|
|
53585
|
-
return jspb.Message.getField(this, 1) != null;
|
|
53586
|
-
};
|
|
53587
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.getCriteriasList = function() {
|
|
53588
|
-
return (
|
|
53589
|
-
/** @type{!Array<!proto.Criteria>} */
|
|
53590
|
-
jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 2)
|
|
53591
|
-
);
|
|
53592
|
-
};
|
|
53593
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.setCriteriasList = function(value) {
|
|
53594
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
53595
|
-
};
|
|
53596
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.addCriterias = function(opt_value, opt_index) {
|
|
53597
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Criteria, opt_index);
|
|
53598
|
-
};
|
|
53599
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.clearCriteriasList = function() {
|
|
53600
|
-
return this.setCriteriasList([]);
|
|
53601
|
-
};
|
|
53602
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.getToolid = function() {
|
|
53603
|
-
return (
|
|
53604
|
-
/** @type {string} */
|
|
53605
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
53606
|
-
);
|
|
53607
|
-
};
|
|
53608
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.setToolid = function(value) {
|
|
53609
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
53610
|
-
};
|
|
53611
|
-
proto.connect_api.GetConnectorFilesResponse.repeatedFields_ = [3];
|
|
53612
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53613
|
-
proto.connect_api.GetConnectorFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
53614
|
-
return proto.connect_api.GetConnectorFilesResponse.toObject(opt_includeInstance, this);
|
|
53615
|
-
};
|
|
53616
|
-
proto.connect_api.GetConnectorFilesResponse.toObject = function(includeInstance, msg) {
|
|
53617
|
-
var f, obj = {
|
|
53618
|
-
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
53619
|
-
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
53620
|
-
dataList: jspb.Message.toObjectList(
|
|
53621
|
-
msg.getDataList(),
|
|
53622
|
-
google_protobuf_struct_pb.Struct.toObject,
|
|
53623
|
-
includeInstance
|
|
53624
|
-
),
|
|
53625
|
-
paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f),
|
|
53626
|
-
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
53627
|
-
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, void 0) : []
|
|
53628
|
-
};
|
|
53629
|
-
if (includeInstance) {
|
|
53630
|
-
obj.$jspbMessageInstance = msg;
|
|
53631
|
-
}
|
|
53632
|
-
return obj;
|
|
53633
|
-
};
|
|
53634
|
-
}
|
|
53635
|
-
proto.connect_api.GetConnectorFilesResponse.deserializeBinary = function(bytes) {
|
|
53636
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
53637
|
-
var msg = new proto.connect_api.GetConnectorFilesResponse();
|
|
53638
|
-
return proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
53639
|
-
};
|
|
53640
|
-
proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
52771
|
+
proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
53641
52772
|
while (reader.nextField()) {
|
|
53642
52773
|
if (reader.isEndGroup()) {
|
|
53643
52774
|
break;
|
|
@@ -53830,14 +52961,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53830
52961
|
ConnectService3.serviceName = "connect_api.ConnectService";
|
|
53831
52962
|
return ConnectService3;
|
|
53832
52963
|
}();
|
|
53833
|
-
ConnectService2.KnowledgeConnect = {
|
|
53834
|
-
methodName: "KnowledgeConnect",
|
|
53835
|
-
service: ConnectService2,
|
|
53836
|
-
requestStream: false,
|
|
53837
|
-
responseStream: false,
|
|
53838
|
-
requestType: connect_api_pb.KnowledgeConnectRequest,
|
|
53839
|
-
responseType: connect_api_pb.KnowledgeConnectResponse
|
|
53840
|
-
};
|
|
53841
52964
|
ConnectService2.GeneralConnect = {
|
|
53842
52965
|
methodName: "GeneralConnect",
|
|
53843
52966
|
service: ConnectService2,
|
|
@@ -53846,14 +52969,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53846
52969
|
requestType: connect_api_pb.GeneralConnectRequest,
|
|
53847
52970
|
responseType: connect_api_pb.GeneralConnectResponse
|
|
53848
52971
|
};
|
|
53849
|
-
ConnectService2.ActionConnect = {
|
|
53850
|
-
methodName: "ActionConnect",
|
|
53851
|
-
service: ConnectService2,
|
|
53852
|
-
requestStream: false,
|
|
53853
|
-
responseStream: false,
|
|
53854
|
-
requestType: connect_api_pb.ActionConnectRequest,
|
|
53855
|
-
responseType: connect_api_pb.ActionConnectResponse
|
|
53856
|
-
};
|
|
53857
52972
|
ConnectService2.GetConnectorFiles = {
|
|
53858
52973
|
methodName: "GetConnectorFiles",
|
|
53859
52974
|
service: ConnectService2,
|
|
@@ -53867,36 +52982,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53867
52982
|
this.serviceHost = serviceHost;
|
|
53868
52983
|
this.options = options || {};
|
|
53869
52984
|
}
|
|
53870
|
-
ConnectServiceClient3.prototype.knowledgeConnect = function knowledgeConnect(requestMessage, metadata, callback) {
|
|
53871
|
-
if (arguments.length === 2) {
|
|
53872
|
-
callback = arguments[1];
|
|
53873
|
-
}
|
|
53874
|
-
var client = grpc3.unary(ConnectService2.KnowledgeConnect, {
|
|
53875
|
-
request: requestMessage,
|
|
53876
|
-
host: this.serviceHost,
|
|
53877
|
-
metadata,
|
|
53878
|
-
transport: this.options.transport,
|
|
53879
|
-
debug: this.options.debug,
|
|
53880
|
-
onEnd: function(response) {
|
|
53881
|
-
if (callback) {
|
|
53882
|
-
if (response.status !== grpc3.Code.OK) {
|
|
53883
|
-
var err = new Error(response.statusMessage);
|
|
53884
|
-
err.code = response.status;
|
|
53885
|
-
err.metadata = response.trailers;
|
|
53886
|
-
callback(err, null);
|
|
53887
|
-
} else {
|
|
53888
|
-
callback(null, response.message);
|
|
53889
|
-
}
|
|
53890
|
-
}
|
|
53891
|
-
}
|
|
53892
|
-
});
|
|
53893
|
-
return {
|
|
53894
|
-
cancel: function() {
|
|
53895
|
-
callback = null;
|
|
53896
|
-
client.close();
|
|
53897
|
-
}
|
|
53898
|
-
};
|
|
53899
|
-
};
|
|
53900
52985
|
ConnectServiceClient3.prototype.generalConnect = function generalConnect(requestMessage, metadata, callback) {
|
|
53901
52986
|
if (arguments.length === 2) {
|
|
53902
52987
|
callback = arguments[1];
|
|
@@ -53927,36 +53012,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53927
53012
|
}
|
|
53928
53013
|
};
|
|
53929
53014
|
};
|
|
53930
|
-
ConnectServiceClient3.prototype.actionConnect = function actionConnect(requestMessage, metadata, callback) {
|
|
53931
|
-
if (arguments.length === 2) {
|
|
53932
|
-
callback = arguments[1];
|
|
53933
|
-
}
|
|
53934
|
-
var client = grpc3.unary(ConnectService2.ActionConnect, {
|
|
53935
|
-
request: requestMessage,
|
|
53936
|
-
host: this.serviceHost,
|
|
53937
|
-
metadata,
|
|
53938
|
-
transport: this.options.transport,
|
|
53939
|
-
debug: this.options.debug,
|
|
53940
|
-
onEnd: function(response) {
|
|
53941
|
-
if (callback) {
|
|
53942
|
-
if (response.status !== grpc3.Code.OK) {
|
|
53943
|
-
var err = new Error(response.statusMessage);
|
|
53944
|
-
err.code = response.status;
|
|
53945
|
-
err.metadata = response.trailers;
|
|
53946
|
-
callback(err, null);
|
|
53947
|
-
} else {
|
|
53948
|
-
callback(null, response.message);
|
|
53949
|
-
}
|
|
53950
|
-
}
|
|
53951
|
-
}
|
|
53952
|
-
});
|
|
53953
|
-
return {
|
|
53954
|
-
cancel: function() {
|
|
53955
|
-
callback = null;
|
|
53956
|
-
client.close();
|
|
53957
|
-
}
|
|
53958
|
-
};
|
|
53959
|
-
};
|
|
53960
53015
|
ConnectServiceClient3.prototype.getConnectorFiles = function getConnectorFiles(requestMessage, metadata, callback) {
|
|
53961
53016
|
if (arguments.length === 2) {
|
|
53962
53017
|
callback = arguments[1];
|
|
@@ -60366,9 +59421,6 @@ var require_integration_api_pb_service = __commonJS({
|
|
|
60366
59421
|
// src/index.ts
|
|
60367
59422
|
var index_exports = {};
|
|
60368
59423
|
__export(index_exports, {
|
|
60369
|
-
ActionConnect: () => ActionConnect,
|
|
60370
|
-
ActionConnectRequest: () => import_connect_api_pb2.ActionConnectRequest,
|
|
60371
|
-
ActionConnectResponse: () => import_connect_api_pb2.ActionConnectResponse,
|
|
60372
59424
|
AddUsersToProject: () => AddUsersToProject,
|
|
60373
59425
|
AddUsersToProjectRequest: () => import_web_api_pb4.AddUsersToProjectRequest,
|
|
60374
59426
|
AddUsersToProjectResponse: () => import_web_api_pb4.AddUsersToProjectResponse,
|
|
@@ -60395,6 +59447,7 @@ __export(index_exports, {
|
|
|
60395
59447
|
AssistantConversationInterruption: () => import_common_pb17.AssistantConversationInterruption,
|
|
60396
59448
|
AssistantConversationMessage: () => import_common_pb17.AssistantConversationMessage,
|
|
60397
59449
|
AssistantConversationRecording: () => import_common_pb17.AssistantConversationRecording,
|
|
59450
|
+
AssistantConversationTelephonyEvent: () => import_common_pb17.AssistantConversationTelephonyEvent,
|
|
60398
59451
|
AssistantConversationUserMessage: () => import_common_pb17.AssistantConversationUserMessage,
|
|
60399
59452
|
AssistantDebuggerDeployment: () => import_assistant_deployment_pb.AssistantDebuggerDeployment,
|
|
60400
59453
|
AssistantDefinition: () => import_common_pb17.AssistantDefinition,
|
|
@@ -60516,8 +59569,6 @@ __export(index_exports, {
|
|
|
60516
59569
|
CreateProjectResponse: () => import_web_api_pb4.CreateProjectResponse,
|
|
60517
59570
|
CreateProviderCredentialRequest: () => import_vault_api_pb2.CreateProviderCredentialRequest,
|
|
60518
59571
|
CreateProviderKey: () => CreateProviderKey,
|
|
60519
|
-
CreateToolCredential: () => CreateToolCredential,
|
|
60520
|
-
CreateToolCredentialRequest: () => import_vault_api_pb2.CreateToolCredentialRequest,
|
|
60521
59572
|
CreateWebhook: () => CreateWebhook,
|
|
60522
59573
|
Credential: () => import_integration_api_pb.Credential,
|
|
60523
59574
|
Criteria: () => import_common_pb17.Criteria,
|
|
@@ -60714,7 +59765,6 @@ __export(index_exports, {
|
|
|
60714
59765
|
GetProject: () => GetProject,
|
|
60715
59766
|
GetProjectRequest: () => import_web_api_pb4.GetProjectRequest,
|
|
60716
59767
|
GetProjectResponse: () => import_web_api_pb4.GetProjectResponse,
|
|
60717
|
-
GetProviderCredentialRequest: () => import_vault_api_pb2.GetProviderCredentialRequest,
|
|
60718
59768
|
GetUser: () => GetUser,
|
|
60719
59769
|
GetUserRequest: () => import_web_api_pb4.GetUserRequest,
|
|
60720
59770
|
GetUserResponse: () => import_web_api_pb4.GetUserResponse,
|
|
@@ -60760,9 +59810,6 @@ __export(index_exports, {
|
|
|
60760
59810
|
InvokeResponse: () => import_invoker_api_pb.InvokeResponse,
|
|
60761
59811
|
JSONToAny: () => JSONToAny,
|
|
60762
59812
|
Knowledge: () => import_common_pb17.Knowledge,
|
|
60763
|
-
KnowledgeConnect: () => KnowledgeConnect,
|
|
60764
|
-
KnowledgeConnectRequest: () => import_connect_api_pb2.KnowledgeConnectRequest,
|
|
60765
|
-
KnowledgeConnectResponse: () => import_connect_api_pb2.KnowledgeConnectResponse,
|
|
60766
59813
|
KnowledgeDocument: () => import_knowledge_api_pb3.KnowledgeDocument,
|
|
60767
59814
|
KnowledgeDocumentSegment: () => import_knowledge_api_pb3.KnowledgeDocumentSegment,
|
|
60768
59815
|
KnowledgeLog: () => import_knowledge_api_pb3.KnowledgeLog,
|
|
@@ -62986,7 +62033,6 @@ var VoiceAgent = class extends Agent {
|
|
|
62986
62033
|
inputChannel = "audio" /* Audio */;
|
|
62987
62034
|
outputChannel = "audio" /* Audio */;
|
|
62988
62035
|
/**
|
|
62989
|
-
* Creates a new Room, the primary construct for a LiveKit session.
|
|
62990
62036
|
* @param options
|
|
62991
62037
|
*/
|
|
62992
62038
|
constructor(connection, agentConfig, agentCallback) {
|
|
@@ -63885,7 +62931,7 @@ var InputOptions = class {
|
|
|
63885
62931
|
*/
|
|
63886
62932
|
recorderOptions = {
|
|
63887
62933
|
format: "pcm",
|
|
63888
|
-
sampleRate:
|
|
62934
|
+
sampleRate: 16e3
|
|
63889
62935
|
};
|
|
63890
62936
|
get recorderOption() {
|
|
63891
62937
|
return this.recorderOptions;
|
|
@@ -63926,7 +62972,7 @@ var OutputOptions = class {
|
|
|
63926
62972
|
*/
|
|
63927
62973
|
playerOptions = {
|
|
63928
62974
|
format: "pcm",
|
|
63929
|
-
sampleRate:
|
|
62975
|
+
sampleRate: 16e3
|
|
63930
62976
|
};
|
|
63931
62977
|
get playerOption() {
|
|
63932
62978
|
return this.playerOptions;
|
|
@@ -64698,33 +63744,9 @@ function GeneralConnect(config, connect, code, state, scope, authHeader, cb) {
|
|
|
64698
63744
|
cb
|
|
64699
63745
|
);
|
|
64700
63746
|
}
|
|
64701
|
-
function
|
|
64702
|
-
const req = new import_connect_api_pb.KnowledgeConnectRequest();
|
|
64703
|
-
req.setConnect(connect);
|
|
64704
|
-
req.setCode(code);
|
|
64705
|
-
req.setState(state);
|
|
64706
|
-
req.setScope(scope);
|
|
64707
|
-
return config.connectClient.knowledgeConnect(
|
|
64708
|
-
req,
|
|
64709
|
-
WithAuthContext(authHeader),
|
|
64710
|
-
cb
|
|
64711
|
-
);
|
|
64712
|
-
}
|
|
64713
|
-
function ActionConnect(config, connect, code, state, scope, authHeader, cb) {
|
|
64714
|
-
const req = new import_connect_api_pb.ActionConnectRequest();
|
|
64715
|
-
req.setConnect(connect);
|
|
64716
|
-
req.setCode(code);
|
|
64717
|
-
req.setState(state);
|
|
64718
|
-
req.setScope(scope);
|
|
64719
|
-
return config.connectClient.actionConnect(
|
|
64720
|
-
req,
|
|
64721
|
-
WithAuthContext(authHeader),
|
|
64722
|
-
cb
|
|
64723
|
-
);
|
|
64724
|
-
}
|
|
64725
|
-
function GetConnectorFiles(config, toolId, criterias, authHeader, cb) {
|
|
63747
|
+
function GetConnectorFiles(config, provider, criterias, authHeader, cb) {
|
|
64726
63748
|
const req = new import_connect_api_pb.GetConnectorFilesRequest();
|
|
64727
|
-
req.
|
|
63749
|
+
req.setProvider(provider);
|
|
64728
63750
|
req.setCriteriasList(criterias);
|
|
64729
63751
|
return config.connectClient.getConnectorFiles(
|
|
64730
63752
|
req,
|
|
@@ -64978,7 +64000,6 @@ function GetEndpointLog(config, endpointId, logId, cb, authHeader) {
|
|
|
64978
64000
|
// src/clients/vault.ts
|
|
64979
64001
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
64980
64002
|
var import_common_pb14 = __toESM(require_common_pb());
|
|
64981
|
-
var import_struct_pb2 = require("google-protobuf/google/protobuf/struct_pb");
|
|
64982
64003
|
function CreateProviderKey(connectionConfig, req, authHeader) {
|
|
64983
64004
|
return new Promise((resolve, reject) => {
|
|
64984
64005
|
connectionConfig.vaultClient.createProviderCredential(
|
|
@@ -65019,36 +64040,22 @@ function GetAllOrganizationCredential(connectionConfig, page, pageSize, criteria
|
|
|
65019
64040
|
cb
|
|
65020
64041
|
);
|
|
65021
64042
|
}
|
|
65022
|
-
function CreateToolCredential(connectionConfig, toolId, toolName, credential, name, cb, authHeader) {
|
|
65023
|
-
const requestObject = new import_vault_api_pb.CreateToolCredentialRequest();
|
|
65024
|
-
requestObject.setToolid(toolId);
|
|
65025
|
-
requestObject.setToolname(toolName);
|
|
65026
|
-
requestObject.setCredential(import_struct_pb2.Struct.fromJavaScript(credential));
|
|
65027
|
-
requestObject.setName(name);
|
|
65028
|
-
connectionConfig.vaultClient.createToolCredential(
|
|
65029
|
-
requestObject,
|
|
65030
|
-
WithAuthContext(authHeader),
|
|
65031
|
-
cb
|
|
65032
|
-
);
|
|
65033
|
-
}
|
|
65034
64043
|
|
|
65035
64044
|
// src/clients/knowledge.ts
|
|
65036
64045
|
var import_common_pb15 = __toESM(require_common_pb());
|
|
65037
64046
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
65038
64047
|
var import_knowledge_api_pb2 = __toESM(require_knowledge_api_pb());
|
|
65039
|
-
function CreateKnowledge(
|
|
65040
|
-
|
|
65041
|
-
|
|
65042
|
-
|
|
65043
|
-
|
|
65044
|
-
|
|
65045
|
-
|
|
65046
|
-
|
|
65047
|
-
|
|
65048
|
-
|
|
65049
|
-
|
|
65050
|
-
cb
|
|
65051
|
-
);
|
|
64048
|
+
function CreateKnowledge(connectionConfig, req, authHeader) {
|
|
64049
|
+
return new Promise((resolve, reject) => {
|
|
64050
|
+
connectionConfig.knowledgeClient.createKnowledge(
|
|
64051
|
+
req,
|
|
64052
|
+
WithAuthContext(connectionConfig.auth || authHeader),
|
|
64053
|
+
(err, response) => {
|
|
64054
|
+
if (err) reject(err);
|
|
64055
|
+
else resolve(response);
|
|
64056
|
+
}
|
|
64057
|
+
);
|
|
64058
|
+
});
|
|
65052
64059
|
}
|
|
65053
64060
|
function GetKnowledgeBase(config, knowledgeBaseId, cb, authHeader) {
|
|
65054
64061
|
const req = new import_knowledge_api_pb.GetKnowledgeRequest();
|
|
@@ -65598,9 +64605,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65598
64605
|
}
|
|
65599
64606
|
// Annotate the CommonJS export names for ESM import in node:
|
|
65600
64607
|
0 && (module.exports = {
|
|
65601
|
-
ActionConnect,
|
|
65602
|
-
ActionConnectRequest,
|
|
65603
|
-
ActionConnectResponse,
|
|
65604
64608
|
AddUsersToProject,
|
|
65605
64609
|
AddUsersToProjectRequest,
|
|
65606
64610
|
AddUsersToProjectResponse,
|
|
@@ -65627,6 +64631,7 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65627
64631
|
AssistantConversationInterruption,
|
|
65628
64632
|
AssistantConversationMessage,
|
|
65629
64633
|
AssistantConversationRecording,
|
|
64634
|
+
AssistantConversationTelephonyEvent,
|
|
65630
64635
|
AssistantConversationUserMessage,
|
|
65631
64636
|
AssistantDebuggerDeployment,
|
|
65632
64637
|
AssistantDefinition,
|
|
@@ -65748,8 +64753,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65748
64753
|
CreateProjectResponse,
|
|
65749
64754
|
CreateProviderCredentialRequest,
|
|
65750
64755
|
CreateProviderKey,
|
|
65751
|
-
CreateToolCredential,
|
|
65752
|
-
CreateToolCredentialRequest,
|
|
65753
64756
|
CreateWebhook,
|
|
65754
64757
|
Credential,
|
|
65755
64758
|
Criteria,
|
|
@@ -65946,7 +64949,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65946
64949
|
GetProject,
|
|
65947
64950
|
GetProjectRequest,
|
|
65948
64951
|
GetProjectResponse,
|
|
65949
|
-
GetProviderCredentialRequest,
|
|
65950
64952
|
GetUser,
|
|
65951
64953
|
GetUserRequest,
|
|
65952
64954
|
GetUserResponse,
|
|
@@ -65992,9 +64994,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65992
64994
|
InvokeResponse,
|
|
65993
64995
|
JSONToAny,
|
|
65994
64996
|
Knowledge,
|
|
65995
|
-
KnowledgeConnect,
|
|
65996
|
-
KnowledgeConnectRequest,
|
|
65997
|
-
KnowledgeConnectResponse,
|
|
65998
64997
|
KnowledgeDocument,
|
|
65999
64998
|
KnowledgeDocumentSegment,
|
|
66000
64999
|
KnowledgeLog,
|