@rapidaai/react 1.1.43 → 1.1.44
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-HQHWE2DO.mjs} +415 -303
- package/dist/chunk-HQHWE2DO.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 +414 -302
- 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-C2no2MF2.d.mts} +87 -369
- package/dist/{device-selector-AXkdmexr.d.ts → device-selector-C2no2MF2.d.ts} +87 -369
- package/dist/index.d.mts +5 -45
- package/dist/index.d.ts +5 -45
- package/dist/index.js +565 -1685
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +152 -1381
- 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
|
@@ -8877,7 +8877,7 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
8877
8877
|
proto.assistant_api.AssistantWhatsappDeployment.displayName = "proto.assistant_api.AssistantWhatsappDeployment";
|
|
8878
8878
|
}
|
|
8879
8879
|
proto.assistant_api.AssistantDebuggerDeployment = function(opt_data) {
|
|
8880
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
8880
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_);
|
|
8881
8881
|
};
|
|
8882
8882
|
goog.inherits(proto.assistant_api.AssistantDebuggerDeployment, jspb.Message);
|
|
8883
8883
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -8953,7 +8953,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
8953
8953
|
common_pb.Metadata.toObject,
|
|
8954
8954
|
includeInstance
|
|
8955
8955
|
),
|
|
8956
|
-
audioproviderid: jspb.Message.getFieldWithDefault(msg, 4, "0"),
|
|
8957
8956
|
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
8958
8957
|
audiotype: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
8959
8958
|
};
|
|
@@ -8994,13 +8993,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
8994
8993
|
reader.readMessage(value, common_pb.Metadata.deserializeBinaryFromReader);
|
|
8995
8994
|
msg.addAudiooptions(value);
|
|
8996
8995
|
break;
|
|
8997
|
-
case 4:
|
|
8998
|
-
var value = (
|
|
8999
|
-
/** @type {string} */
|
|
9000
|
-
reader.readUint64String()
|
|
9001
|
-
);
|
|
9002
|
-
msg.setAudioproviderid(value);
|
|
9003
|
-
break;
|
|
9004
8996
|
case 5:
|
|
9005
8997
|
var value = (
|
|
9006
8998
|
/** @type {string} */
|
|
@@ -9051,13 +9043,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9051
9043
|
common_pb.Metadata.serializeBinaryToWriter
|
|
9052
9044
|
);
|
|
9053
9045
|
}
|
|
9054
|
-
f = message.getAudioproviderid();
|
|
9055
|
-
if (parseInt(f, 10) !== 0) {
|
|
9056
|
-
writer.writeUint64String(
|
|
9057
|
-
4,
|
|
9058
|
-
f
|
|
9059
|
-
);
|
|
9060
|
-
}
|
|
9061
9046
|
f = message.getStatus();
|
|
9062
9047
|
if (f.length > 0) {
|
|
9063
9048
|
writer.writeString(
|
|
@@ -9106,15 +9091,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9106
9091
|
proto.assistant_api.DeploymentAudioProvider.prototype.clearAudiooptionsList = function() {
|
|
9107
9092
|
return this.setAudiooptionsList([]);
|
|
9108
9093
|
};
|
|
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
9094
|
proto.assistant_api.DeploymentAudioProvider.prototype.getStatus = function() {
|
|
9119
9095
|
return (
|
|
9120
9096
|
/** @type {string} */
|
|
@@ -9157,7 +9133,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9157
9133
|
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9158
9134
|
greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
9159
9135
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9160
|
-
ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9161
9136
|
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
9162
9137
|
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
9163
9138
|
url: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
@@ -9169,7 +9144,10 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9169
9144
|
uploadfileenabled: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
9170
9145
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
9171
9146
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
9172
|
-
status: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
9147
|
+
status: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
9148
|
+
maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
|
|
9149
|
+
idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
|
|
9150
|
+
idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
9173
9151
|
};
|
|
9174
9152
|
if (includeInstance) {
|
|
9175
9153
|
obj.$jspbMessageInstance = msg;
|
|
@@ -9224,13 +9202,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9224
9202
|
);
|
|
9225
9203
|
msg.setMistake(value);
|
|
9226
9204
|
break;
|
|
9227
|
-
case 12:
|
|
9228
|
-
var value = (
|
|
9229
|
-
/** @type {string} */
|
|
9230
|
-
reader.readString()
|
|
9231
|
-
);
|
|
9232
|
-
msg.setEnding(value);
|
|
9233
|
-
break;
|
|
9234
9205
|
case 13:
|
|
9235
9206
|
var value = new proto.assistant_api.DeploymentAudioProvider();
|
|
9236
9207
|
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
@@ -9305,6 +9276,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9305
9276
|
);
|
|
9306
9277
|
msg.setStatus(value);
|
|
9307
9278
|
break;
|
|
9279
|
+
case 29:
|
|
9280
|
+
var value = (
|
|
9281
|
+
/** @type {string} */
|
|
9282
|
+
reader.readUint64String()
|
|
9283
|
+
);
|
|
9284
|
+
msg.setMaxsessionduration(value);
|
|
9285
|
+
break;
|
|
9286
|
+
case 30:
|
|
9287
|
+
var value = (
|
|
9288
|
+
/** @type {string} */
|
|
9289
|
+
reader.readUint64String()
|
|
9290
|
+
);
|
|
9291
|
+
msg.setIdealtimeout(value);
|
|
9292
|
+
break;
|
|
9293
|
+
case 31:
|
|
9294
|
+
var value = (
|
|
9295
|
+
/** @type {string} */
|
|
9296
|
+
reader.readString()
|
|
9297
|
+
);
|
|
9298
|
+
msg.setIdealtimeoutmessage(value);
|
|
9299
|
+
break;
|
|
9308
9300
|
default:
|
|
9309
9301
|
reader.skipField();
|
|
9310
9302
|
break;
|
|
@@ -9356,14 +9348,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9356
9348
|
f
|
|
9357
9349
|
);
|
|
9358
9350
|
}
|
|
9359
|
-
f = /** @type {string} */
|
|
9360
|
-
jspb.Message.getField(message, 12);
|
|
9361
|
-
if (f != null) {
|
|
9362
|
-
writer.writeString(
|
|
9363
|
-
12,
|
|
9364
|
-
f
|
|
9365
|
-
);
|
|
9366
|
-
}
|
|
9367
9351
|
f = message.getInputaudio();
|
|
9368
9352
|
if (f != null) {
|
|
9369
9353
|
writer.writeMessage(
|
|
@@ -9454,6 +9438,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9454
9438
|
f
|
|
9455
9439
|
);
|
|
9456
9440
|
}
|
|
9441
|
+
f = message.getMaxsessionduration();
|
|
9442
|
+
if (parseInt(f, 10) !== 0) {
|
|
9443
|
+
writer.writeUint64String(
|
|
9444
|
+
29,
|
|
9445
|
+
f
|
|
9446
|
+
);
|
|
9447
|
+
}
|
|
9448
|
+
f = message.getIdealtimeout();
|
|
9449
|
+
if (parseInt(f, 10) !== 0) {
|
|
9450
|
+
writer.writeUint64String(
|
|
9451
|
+
30,
|
|
9452
|
+
f
|
|
9453
|
+
);
|
|
9454
|
+
}
|
|
9455
|
+
f = message.getIdealtimeoutmessage();
|
|
9456
|
+
if (f.length > 0) {
|
|
9457
|
+
writer.writeString(
|
|
9458
|
+
31,
|
|
9459
|
+
f
|
|
9460
|
+
);
|
|
9461
|
+
}
|
|
9457
9462
|
};
|
|
9458
9463
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.getId = function() {
|
|
9459
9464
|
return (
|
|
@@ -9512,21 +9517,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9512
9517
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.hasMistake = function() {
|
|
9513
9518
|
return jspb.Message.getField(this, 11) != null;
|
|
9514
9519
|
};
|
|
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
9520
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.getInputaudio = function() {
|
|
9531
9521
|
return (
|
|
9532
9522
|
/** @type{?proto.assistant_api.DeploymentAudioProvider} */
|
|
@@ -9677,6 +9667,33 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9677
9667
|
proto.assistant_api.AssistantWebpluginDeployment.prototype.setStatus = function(value) {
|
|
9678
9668
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
9679
9669
|
};
|
|
9670
|
+
proto.assistant_api.AssistantWebpluginDeployment.prototype.getMaxsessionduration = function() {
|
|
9671
|
+
return (
|
|
9672
|
+
/** @type {string} */
|
|
9673
|
+
jspb.Message.getFieldWithDefault(this, 29, "0")
|
|
9674
|
+
);
|
|
9675
|
+
};
|
|
9676
|
+
proto.assistant_api.AssistantWebpluginDeployment.prototype.setMaxsessionduration = function(value) {
|
|
9677
|
+
return jspb.Message.setProto3StringIntField(this, 29, value);
|
|
9678
|
+
};
|
|
9679
|
+
proto.assistant_api.AssistantWebpluginDeployment.prototype.getIdealtimeout = function() {
|
|
9680
|
+
return (
|
|
9681
|
+
/** @type {string} */
|
|
9682
|
+
jspb.Message.getFieldWithDefault(this, 30, "0")
|
|
9683
|
+
);
|
|
9684
|
+
};
|
|
9685
|
+
proto.assistant_api.AssistantWebpluginDeployment.prototype.setIdealtimeout = function(value) {
|
|
9686
|
+
return jspb.Message.setProto3StringIntField(this, 30, value);
|
|
9687
|
+
};
|
|
9688
|
+
proto.assistant_api.AssistantWebpluginDeployment.prototype.getIdealtimeoutmessage = function() {
|
|
9689
|
+
return (
|
|
9690
|
+
/** @type {string} */
|
|
9691
|
+
jspb.Message.getFieldWithDefault(this, 31, "")
|
|
9692
|
+
);
|
|
9693
|
+
};
|
|
9694
|
+
proto.assistant_api.AssistantWebpluginDeployment.prototype.setIdealtimeoutmessage = function(value) {
|
|
9695
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
9696
|
+
};
|
|
9680
9697
|
proto.assistant_api.AssistantPhoneDeployment.repeatedFields_ = [17];
|
|
9681
9698
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9682
9699
|
proto.assistant_api.AssistantPhoneDeployment.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -9688,11 +9705,9 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9688
9705
|
assistantid: jspb.Message.getFieldWithDefault(msg, 5, "0"),
|
|
9689
9706
|
greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
9690
9707
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9691
|
-
ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9692
9708
|
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
9693
9709
|
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
9694
9710
|
phoneprovidername: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
9695
|
-
phoneproviderid: jspb.Message.getFieldWithDefault(msg, 16, "0"),
|
|
9696
9711
|
phoneoptionsList: jspb.Message.toObjectList(
|
|
9697
9712
|
msg.getPhoneoptionsList(),
|
|
9698
9713
|
common_pb.Metadata.toObject,
|
|
@@ -9700,7 +9715,10 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9700
9715
|
),
|
|
9701
9716
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
9702
9717
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
9703
|
-
status: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
9718
|
+
status: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
9719
|
+
maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
|
|
9720
|
+
idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
|
|
9721
|
+
idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
9704
9722
|
};
|
|
9705
9723
|
if (includeInstance) {
|
|
9706
9724
|
obj.$jspbMessageInstance = msg;
|
|
@@ -9748,13 +9766,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9748
9766
|
);
|
|
9749
9767
|
msg.setMistake(value);
|
|
9750
9768
|
break;
|
|
9751
|
-
case 12:
|
|
9752
|
-
var value = (
|
|
9753
|
-
/** @type {string} */
|
|
9754
|
-
reader.readString()
|
|
9755
|
-
);
|
|
9756
|
-
msg.setEnding(value);
|
|
9757
|
-
break;
|
|
9758
9769
|
case 13:
|
|
9759
9770
|
var value = new proto.assistant_api.DeploymentAudioProvider();
|
|
9760
9771
|
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
@@ -9772,13 +9783,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9772
9783
|
);
|
|
9773
9784
|
msg.setPhoneprovidername(value);
|
|
9774
9785
|
break;
|
|
9775
|
-
case 16:
|
|
9776
|
-
var value = (
|
|
9777
|
-
/** @type {string} */
|
|
9778
|
-
reader.readUint64String()
|
|
9779
|
-
);
|
|
9780
|
-
msg.setPhoneproviderid(value);
|
|
9781
|
-
break;
|
|
9782
9786
|
case 17:
|
|
9783
9787
|
var value = new common_pb.Metadata();
|
|
9784
9788
|
reader.readMessage(value, common_pb.Metadata.deserializeBinaryFromReader);
|
|
@@ -9801,6 +9805,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9801
9805
|
);
|
|
9802
9806
|
msg.setStatus(value);
|
|
9803
9807
|
break;
|
|
9808
|
+
case 29:
|
|
9809
|
+
var value = (
|
|
9810
|
+
/** @type {string} */
|
|
9811
|
+
reader.readUint64String()
|
|
9812
|
+
);
|
|
9813
|
+
msg.setMaxsessionduration(value);
|
|
9814
|
+
break;
|
|
9815
|
+
case 30:
|
|
9816
|
+
var value = (
|
|
9817
|
+
/** @type {string} */
|
|
9818
|
+
reader.readUint64String()
|
|
9819
|
+
);
|
|
9820
|
+
msg.setIdealtimeout(value);
|
|
9821
|
+
break;
|
|
9822
|
+
case 31:
|
|
9823
|
+
var value = (
|
|
9824
|
+
/** @type {string} */
|
|
9825
|
+
reader.readString()
|
|
9826
|
+
);
|
|
9827
|
+
msg.setIdealtimeoutmessage(value);
|
|
9828
|
+
break;
|
|
9804
9829
|
default:
|
|
9805
9830
|
reader.skipField();
|
|
9806
9831
|
break;
|
|
@@ -9845,14 +9870,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9845
9870
|
f
|
|
9846
9871
|
);
|
|
9847
9872
|
}
|
|
9848
|
-
f = /** @type {string} */
|
|
9849
|
-
jspb.Message.getField(message, 12);
|
|
9850
|
-
if (f != null) {
|
|
9851
|
-
writer.writeString(
|
|
9852
|
-
12,
|
|
9853
|
-
f
|
|
9854
|
-
);
|
|
9855
|
-
}
|
|
9856
9873
|
f = message.getInputaudio();
|
|
9857
9874
|
if (f != null) {
|
|
9858
9875
|
writer.writeMessage(
|
|
@@ -9876,13 +9893,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9876
9893
|
f
|
|
9877
9894
|
);
|
|
9878
9895
|
}
|
|
9879
|
-
f = message.getPhoneproviderid();
|
|
9880
|
-
if (parseInt(f, 10) !== 0) {
|
|
9881
|
-
writer.writeUint64String(
|
|
9882
|
-
16,
|
|
9883
|
-
f
|
|
9884
|
-
);
|
|
9885
|
-
}
|
|
9886
9896
|
f = message.getPhoneoptionsList();
|
|
9887
9897
|
if (f.length > 0) {
|
|
9888
9898
|
writer.writeRepeatedMessage(
|
|
@@ -9914,6 +9924,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9914
9924
|
f
|
|
9915
9925
|
);
|
|
9916
9926
|
}
|
|
9927
|
+
f = message.getMaxsessionduration();
|
|
9928
|
+
if (parseInt(f, 10) !== 0) {
|
|
9929
|
+
writer.writeUint64String(
|
|
9930
|
+
29,
|
|
9931
|
+
f
|
|
9932
|
+
);
|
|
9933
|
+
}
|
|
9934
|
+
f = message.getIdealtimeout();
|
|
9935
|
+
if (parseInt(f, 10) !== 0) {
|
|
9936
|
+
writer.writeUint64String(
|
|
9937
|
+
30,
|
|
9938
|
+
f
|
|
9939
|
+
);
|
|
9940
|
+
}
|
|
9941
|
+
f = message.getIdealtimeoutmessage();
|
|
9942
|
+
if (f.length > 0) {
|
|
9943
|
+
writer.writeString(
|
|
9944
|
+
31,
|
|
9945
|
+
f
|
|
9946
|
+
);
|
|
9947
|
+
}
|
|
9917
9948
|
};
|
|
9918
9949
|
proto.assistant_api.AssistantPhoneDeployment.prototype.getId = function() {
|
|
9919
9950
|
return (
|
|
@@ -9963,21 +9994,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
9963
9994
|
proto.assistant_api.AssistantPhoneDeployment.prototype.hasMistake = function() {
|
|
9964
9995
|
return jspb.Message.getField(this, 11) != null;
|
|
9965
9996
|
};
|
|
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
9997
|
proto.assistant_api.AssistantPhoneDeployment.prototype.getInputaudio = function() {
|
|
9982
9998
|
return (
|
|
9983
9999
|
/** @type{?proto.assistant_api.DeploymentAudioProvider} */
|
|
@@ -10017,15 +10033,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10017
10033
|
proto.assistant_api.AssistantPhoneDeployment.prototype.setPhoneprovidername = function(value) {
|
|
10018
10034
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
10019
10035
|
};
|
|
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
10036
|
proto.assistant_api.AssistantPhoneDeployment.prototype.getPhoneoptionsList = function() {
|
|
10030
10037
|
return (
|
|
10031
10038
|
/** @type{!Array<!proto.Metadata>} */
|
|
@@ -10080,6 +10087,33 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10080
10087
|
proto.assistant_api.AssistantPhoneDeployment.prototype.setStatus = function(value) {
|
|
10081
10088
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
10082
10089
|
};
|
|
10090
|
+
proto.assistant_api.AssistantPhoneDeployment.prototype.getMaxsessionduration = function() {
|
|
10091
|
+
return (
|
|
10092
|
+
/** @type {string} */
|
|
10093
|
+
jspb.Message.getFieldWithDefault(this, 29, "0")
|
|
10094
|
+
);
|
|
10095
|
+
};
|
|
10096
|
+
proto.assistant_api.AssistantPhoneDeployment.prototype.setMaxsessionduration = function(value) {
|
|
10097
|
+
return jspb.Message.setProto3StringIntField(this, 29, value);
|
|
10098
|
+
};
|
|
10099
|
+
proto.assistant_api.AssistantPhoneDeployment.prototype.getIdealtimeout = function() {
|
|
10100
|
+
return (
|
|
10101
|
+
/** @type {string} */
|
|
10102
|
+
jspb.Message.getFieldWithDefault(this, 30, "0")
|
|
10103
|
+
);
|
|
10104
|
+
};
|
|
10105
|
+
proto.assistant_api.AssistantPhoneDeployment.prototype.setIdealtimeout = function(value) {
|
|
10106
|
+
return jspb.Message.setProto3StringIntField(this, 30, value);
|
|
10107
|
+
};
|
|
10108
|
+
proto.assistant_api.AssistantPhoneDeployment.prototype.getIdealtimeoutmessage = function() {
|
|
10109
|
+
return (
|
|
10110
|
+
/** @type {string} */
|
|
10111
|
+
jspb.Message.getFieldWithDefault(this, 31, "")
|
|
10112
|
+
);
|
|
10113
|
+
};
|
|
10114
|
+
proto.assistant_api.AssistantPhoneDeployment.prototype.setIdealtimeoutmessage = function(value) {
|
|
10115
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
10116
|
+
};
|
|
10083
10117
|
proto.assistant_api.AssistantWhatsappDeployment.repeatedFields_ = [17];
|
|
10084
10118
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10085
10119
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -10092,9 +10126,9 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10092
10126
|
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10093
10127
|
greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
10094
10128
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
10095
|
-
|
|
10129
|
+
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10130
|
+
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10096
10131
|
whatsappprovidername: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
10097
|
-
whatsappproviderid: jspb.Message.getFieldWithDefault(msg, 16, "0"),
|
|
10098
10132
|
whatsappoptionsList: jspb.Message.toObjectList(
|
|
10099
10133
|
msg.getWhatsappoptionsList(),
|
|
10100
10134
|
common_pb.Metadata.toObject,
|
|
@@ -10102,7 +10136,10 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10102
10136
|
),
|
|
10103
10137
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10104
10138
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10105
|
-
status: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
10139
|
+
status: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
10140
|
+
maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
|
|
10141
|
+
idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
|
|
10142
|
+
idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
10106
10143
|
};
|
|
10107
10144
|
if (includeInstance) {
|
|
10108
10145
|
obj.$jspbMessageInstance = msg;
|
|
@@ -10157,12 +10194,15 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10157
10194
|
);
|
|
10158
10195
|
msg.setMistake(value);
|
|
10159
10196
|
break;
|
|
10160
|
-
case
|
|
10161
|
-
var value = (
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10197
|
+
case 13:
|
|
10198
|
+
var value = new proto.assistant_api.DeploymentAudioProvider();
|
|
10199
|
+
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
10200
|
+
msg.setInputaudio(value);
|
|
10201
|
+
break;
|
|
10202
|
+
case 14:
|
|
10203
|
+
var value = new proto.assistant_api.DeploymentAudioProvider();
|
|
10204
|
+
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
10205
|
+
msg.setOutputaudio(value);
|
|
10166
10206
|
break;
|
|
10167
10207
|
case 15:
|
|
10168
10208
|
var value = (
|
|
@@ -10171,13 +10211,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10171
10211
|
);
|
|
10172
10212
|
msg.setWhatsappprovidername(value);
|
|
10173
10213
|
break;
|
|
10174
|
-
case 16:
|
|
10175
|
-
var value = (
|
|
10176
|
-
/** @type {string} */
|
|
10177
|
-
reader.readUint64String()
|
|
10178
|
-
);
|
|
10179
|
-
msg.setWhatsappproviderid(value);
|
|
10180
|
-
break;
|
|
10181
10214
|
case 17:
|
|
10182
10215
|
var value = new common_pb.Metadata();
|
|
10183
10216
|
reader.readMessage(value, common_pb.Metadata.deserializeBinaryFromReader);
|
|
@@ -10200,6 +10233,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10200
10233
|
);
|
|
10201
10234
|
msg.setStatus(value);
|
|
10202
10235
|
break;
|
|
10236
|
+
case 29:
|
|
10237
|
+
var value = (
|
|
10238
|
+
/** @type {string} */
|
|
10239
|
+
reader.readUint64String()
|
|
10240
|
+
);
|
|
10241
|
+
msg.setMaxsessionduration(value);
|
|
10242
|
+
break;
|
|
10243
|
+
case 30:
|
|
10244
|
+
var value = (
|
|
10245
|
+
/** @type {string} */
|
|
10246
|
+
reader.readUint64String()
|
|
10247
|
+
);
|
|
10248
|
+
msg.setIdealtimeout(value);
|
|
10249
|
+
break;
|
|
10250
|
+
case 31:
|
|
10251
|
+
var value = (
|
|
10252
|
+
/** @type {string} */
|
|
10253
|
+
reader.readString()
|
|
10254
|
+
);
|
|
10255
|
+
msg.setIdealtimeoutmessage(value);
|
|
10256
|
+
break;
|
|
10203
10257
|
default:
|
|
10204
10258
|
reader.skipField();
|
|
10205
10259
|
break;
|
|
@@ -10251,12 +10305,20 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10251
10305
|
f
|
|
10252
10306
|
);
|
|
10253
10307
|
}
|
|
10254
|
-
f =
|
|
10255
|
-
jspb.Message.getField(message, 12);
|
|
10308
|
+
f = message.getInputaudio();
|
|
10256
10309
|
if (f != null) {
|
|
10257
|
-
writer.
|
|
10258
|
-
|
|
10259
|
-
f
|
|
10310
|
+
writer.writeMessage(
|
|
10311
|
+
13,
|
|
10312
|
+
f,
|
|
10313
|
+
proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
|
|
10314
|
+
);
|
|
10315
|
+
}
|
|
10316
|
+
f = message.getOutputaudio();
|
|
10317
|
+
if (f != null) {
|
|
10318
|
+
writer.writeMessage(
|
|
10319
|
+
14,
|
|
10320
|
+
f,
|
|
10321
|
+
proto.assistant_api.DeploymentAudioProvider.serializeBinaryToWriter
|
|
10260
10322
|
);
|
|
10261
10323
|
}
|
|
10262
10324
|
f = message.getWhatsappprovidername();
|
|
@@ -10266,13 +10328,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10266
10328
|
f
|
|
10267
10329
|
);
|
|
10268
10330
|
}
|
|
10269
|
-
f = message.getWhatsappproviderid();
|
|
10270
|
-
if (parseInt(f, 10) !== 0) {
|
|
10271
|
-
writer.writeUint64String(
|
|
10272
|
-
16,
|
|
10273
|
-
f
|
|
10274
|
-
);
|
|
10275
|
-
}
|
|
10276
10331
|
f = message.getWhatsappoptionsList();
|
|
10277
10332
|
if (f.length > 0) {
|
|
10278
10333
|
writer.writeRepeatedMessage(
|
|
@@ -10304,6 +10359,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10304
10359
|
f
|
|
10305
10360
|
);
|
|
10306
10361
|
}
|
|
10362
|
+
f = message.getMaxsessionduration();
|
|
10363
|
+
if (parseInt(f, 10) !== 0) {
|
|
10364
|
+
writer.writeUint64String(
|
|
10365
|
+
29,
|
|
10366
|
+
f
|
|
10367
|
+
);
|
|
10368
|
+
}
|
|
10369
|
+
f = message.getIdealtimeout();
|
|
10370
|
+
if (parseInt(f, 10) !== 0) {
|
|
10371
|
+
writer.writeUint64String(
|
|
10372
|
+
30,
|
|
10373
|
+
f
|
|
10374
|
+
);
|
|
10375
|
+
}
|
|
10376
|
+
f = message.getIdealtimeoutmessage();
|
|
10377
|
+
if (f.length > 0) {
|
|
10378
|
+
writer.writeString(
|
|
10379
|
+
31,
|
|
10380
|
+
f
|
|
10381
|
+
);
|
|
10382
|
+
}
|
|
10307
10383
|
};
|
|
10308
10384
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.getId = function() {
|
|
10309
10385
|
return (
|
|
@@ -10362,38 +10438,44 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10362
10438
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.hasMistake = function() {
|
|
10363
10439
|
return jspb.Message.getField(this, 11) != null;
|
|
10364
10440
|
};
|
|
10365
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10441
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getInputaudio = function() {
|
|
10366
10442
|
return (
|
|
10367
|
-
/** @type
|
|
10368
|
-
jspb.Message.
|
|
10443
|
+
/** @type{?proto.assistant_api.DeploymentAudioProvider} */
|
|
10444
|
+
jspb.Message.getWrapperField(this, proto.assistant_api.DeploymentAudioProvider, 13)
|
|
10369
10445
|
);
|
|
10370
10446
|
};
|
|
10371
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10372
|
-
return jspb.Message.
|
|
10447
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setInputaudio = function(value) {
|
|
10448
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
10373
10449
|
};
|
|
10374
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10375
|
-
return
|
|
10450
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.clearInputaudio = function() {
|
|
10451
|
+
return this.setInputaudio(void 0);
|
|
10376
10452
|
};
|
|
10377
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10378
|
-
return jspb.Message.getField(this,
|
|
10453
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.hasInputaudio = function() {
|
|
10454
|
+
return jspb.Message.getField(this, 13) != null;
|
|
10379
10455
|
};
|
|
10380
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10456
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getOutputaudio = function() {
|
|
10381
10457
|
return (
|
|
10382
|
-
/** @type
|
|
10383
|
-
jspb.Message.
|
|
10458
|
+
/** @type{?proto.assistant_api.DeploymentAudioProvider} */
|
|
10459
|
+
jspb.Message.getWrapperField(this, proto.assistant_api.DeploymentAudioProvider, 14)
|
|
10384
10460
|
);
|
|
10385
10461
|
};
|
|
10386
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10387
|
-
return jspb.Message.
|
|
10462
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setOutputaudio = function(value) {
|
|
10463
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
10388
10464
|
};
|
|
10389
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10465
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.clearOutputaudio = function() {
|
|
10466
|
+
return this.setOutputaudio(void 0);
|
|
10467
|
+
};
|
|
10468
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.hasOutputaudio = function() {
|
|
10469
|
+
return jspb.Message.getField(this, 14) != null;
|
|
10470
|
+
};
|
|
10471
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappprovidername = function() {
|
|
10390
10472
|
return (
|
|
10391
10473
|
/** @type {string} */
|
|
10392
|
-
jspb.Message.getFieldWithDefault(this,
|
|
10474
|
+
jspb.Message.getFieldWithDefault(this, 15, "")
|
|
10393
10475
|
);
|
|
10394
10476
|
};
|
|
10395
|
-
proto.assistant_api.AssistantWhatsappDeployment.prototype.
|
|
10396
|
-
return jspb.Message.
|
|
10477
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setWhatsappprovidername = function(value) {
|
|
10478
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
10397
10479
|
};
|
|
10398
10480
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.getWhatsappoptionsList = function() {
|
|
10399
10481
|
return (
|
|
@@ -10449,7 +10531,33 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10449
10531
|
proto.assistant_api.AssistantWhatsappDeployment.prototype.setStatus = function(value) {
|
|
10450
10532
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
10451
10533
|
};
|
|
10452
|
-
proto.assistant_api.
|
|
10534
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getMaxsessionduration = function() {
|
|
10535
|
+
return (
|
|
10536
|
+
/** @type {string} */
|
|
10537
|
+
jspb.Message.getFieldWithDefault(this, 29, "0")
|
|
10538
|
+
);
|
|
10539
|
+
};
|
|
10540
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setMaxsessionduration = function(value) {
|
|
10541
|
+
return jspb.Message.setProto3StringIntField(this, 29, value);
|
|
10542
|
+
};
|
|
10543
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getIdealtimeout = function() {
|
|
10544
|
+
return (
|
|
10545
|
+
/** @type {string} */
|
|
10546
|
+
jspb.Message.getFieldWithDefault(this, 30, "0")
|
|
10547
|
+
);
|
|
10548
|
+
};
|
|
10549
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setIdealtimeout = function(value) {
|
|
10550
|
+
return jspb.Message.setProto3StringIntField(this, 30, value);
|
|
10551
|
+
};
|
|
10552
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.getIdealtimeoutmessage = function() {
|
|
10553
|
+
return (
|
|
10554
|
+
/** @type {string} */
|
|
10555
|
+
jspb.Message.getFieldWithDefault(this, 31, "")
|
|
10556
|
+
);
|
|
10557
|
+
};
|
|
10558
|
+
proto.assistant_api.AssistantWhatsappDeployment.prototype.setIdealtimeoutmessage = function(value) {
|
|
10559
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
10560
|
+
};
|
|
10453
10561
|
proto.assistant_api.AssistantDebuggerDeployment.oneofGroups_ = [[15, 16]];
|
|
10454
10562
|
proto.assistant_api.AssistantDebuggerDeployment.IconCase = {
|
|
10455
10563
|
ICON_NOT_SET: 0,
|
|
@@ -10473,15 +10581,16 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10473
10581
|
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10474
10582
|
greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
10475
10583
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
10476
|
-
ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
10477
10584
|
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10478
10585
|
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10479
10586
|
url: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
10480
10587
|
raw: (f = msg.getRaw()) && common_pb.Content.toObject(includeInstance, f),
|
|
10481
|
-
suggestionList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? void 0 : f,
|
|
10482
10588
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10483
10589
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10484
|
-
status: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
10590
|
+
status: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
10591
|
+
maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
|
|
10592
|
+
idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
|
|
10593
|
+
idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
10485
10594
|
};
|
|
10486
10595
|
if (includeInstance) {
|
|
10487
10596
|
obj.$jspbMessageInstance = msg;
|
|
@@ -10536,13 +10645,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10536
10645
|
);
|
|
10537
10646
|
msg.setMistake(value);
|
|
10538
10647
|
break;
|
|
10539
|
-
case 12:
|
|
10540
|
-
var value = (
|
|
10541
|
-
/** @type {string} */
|
|
10542
|
-
reader.readString()
|
|
10543
|
-
);
|
|
10544
|
-
msg.setEnding(value);
|
|
10545
|
-
break;
|
|
10546
10648
|
case 13:
|
|
10547
10649
|
var value = new proto.assistant_api.DeploymentAudioProvider();
|
|
10548
10650
|
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
@@ -10565,13 +10667,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10565
10667
|
reader.readMessage(value, common_pb.Content.deserializeBinaryFromReader);
|
|
10566
10668
|
msg.setRaw(value);
|
|
10567
10669
|
break;
|
|
10568
|
-
case 20:
|
|
10569
|
-
var value = (
|
|
10570
|
-
/** @type {string} */
|
|
10571
|
-
reader.readString()
|
|
10572
|
-
);
|
|
10573
|
-
msg.addSuggestion(value);
|
|
10574
|
-
break;
|
|
10575
10670
|
case 26:
|
|
10576
10671
|
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
10577
10672
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
@@ -10589,6 +10684,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10589
10684
|
);
|
|
10590
10685
|
msg.setStatus(value);
|
|
10591
10686
|
break;
|
|
10687
|
+
case 29:
|
|
10688
|
+
var value = (
|
|
10689
|
+
/** @type {string} */
|
|
10690
|
+
reader.readUint64String()
|
|
10691
|
+
);
|
|
10692
|
+
msg.setMaxsessionduration(value);
|
|
10693
|
+
break;
|
|
10694
|
+
case 30:
|
|
10695
|
+
var value = (
|
|
10696
|
+
/** @type {string} */
|
|
10697
|
+
reader.readUint64String()
|
|
10698
|
+
);
|
|
10699
|
+
msg.setIdealtimeout(value);
|
|
10700
|
+
break;
|
|
10701
|
+
case 31:
|
|
10702
|
+
var value = (
|
|
10703
|
+
/** @type {string} */
|
|
10704
|
+
reader.readString()
|
|
10705
|
+
);
|
|
10706
|
+
msg.setIdealtimeoutmessage(value);
|
|
10707
|
+
break;
|
|
10592
10708
|
default:
|
|
10593
10709
|
reader.skipField();
|
|
10594
10710
|
break;
|
|
@@ -10640,14 +10756,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10640
10756
|
f
|
|
10641
10757
|
);
|
|
10642
10758
|
}
|
|
10643
|
-
f = /** @type {string} */
|
|
10644
|
-
jspb.Message.getField(message, 12);
|
|
10645
|
-
if (f != null) {
|
|
10646
|
-
writer.writeString(
|
|
10647
|
-
12,
|
|
10648
|
-
f
|
|
10649
|
-
);
|
|
10650
|
-
}
|
|
10651
10759
|
f = message.getInputaudio();
|
|
10652
10760
|
if (f != null) {
|
|
10653
10761
|
writer.writeMessage(
|
|
@@ -10680,13 +10788,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10680
10788
|
common_pb.Content.serializeBinaryToWriter
|
|
10681
10789
|
);
|
|
10682
10790
|
}
|
|
10683
|
-
f = message.getSuggestionList();
|
|
10684
|
-
if (f.length > 0) {
|
|
10685
|
-
writer.writeRepeatedString(
|
|
10686
|
-
20,
|
|
10687
|
-
f
|
|
10688
|
-
);
|
|
10689
|
-
}
|
|
10690
10791
|
f = message.getCreateddate();
|
|
10691
10792
|
if (f != null) {
|
|
10692
10793
|
writer.writeMessage(
|
|
@@ -10710,6 +10811,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10710
10811
|
f
|
|
10711
10812
|
);
|
|
10712
10813
|
}
|
|
10814
|
+
f = message.getMaxsessionduration();
|
|
10815
|
+
if (parseInt(f, 10) !== 0) {
|
|
10816
|
+
writer.writeUint64String(
|
|
10817
|
+
29,
|
|
10818
|
+
f
|
|
10819
|
+
);
|
|
10820
|
+
}
|
|
10821
|
+
f = message.getIdealtimeout();
|
|
10822
|
+
if (parseInt(f, 10) !== 0) {
|
|
10823
|
+
writer.writeUint64String(
|
|
10824
|
+
30,
|
|
10825
|
+
f
|
|
10826
|
+
);
|
|
10827
|
+
}
|
|
10828
|
+
f = message.getIdealtimeoutmessage();
|
|
10829
|
+
if (f.length > 0) {
|
|
10830
|
+
writer.writeString(
|
|
10831
|
+
31,
|
|
10832
|
+
f
|
|
10833
|
+
);
|
|
10834
|
+
}
|
|
10713
10835
|
};
|
|
10714
10836
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.getId = function() {
|
|
10715
10837
|
return (
|
|
@@ -10768,21 +10890,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10768
10890
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.hasMistake = function() {
|
|
10769
10891
|
return jspb.Message.getField(this, 11) != null;
|
|
10770
10892
|
};
|
|
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
10893
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.getInputaudio = function() {
|
|
10787
10894
|
return (
|
|
10788
10895
|
/** @type{?proto.assistant_api.DeploymentAudioProvider} */
|
|
@@ -10843,21 +10950,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10843
10950
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.hasRaw = function() {
|
|
10844
10951
|
return jspb.Message.getField(this, 16) != null;
|
|
10845
10952
|
};
|
|
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
10953
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.getCreateddate = function() {
|
|
10862
10954
|
return (
|
|
10863
10955
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
@@ -10897,6 +10989,33 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10897
10989
|
proto.assistant_api.AssistantDebuggerDeployment.prototype.setStatus = function(value) {
|
|
10898
10990
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
10899
10991
|
};
|
|
10992
|
+
proto.assistant_api.AssistantDebuggerDeployment.prototype.getMaxsessionduration = function() {
|
|
10993
|
+
return (
|
|
10994
|
+
/** @type {string} */
|
|
10995
|
+
jspb.Message.getFieldWithDefault(this, 29, "0")
|
|
10996
|
+
);
|
|
10997
|
+
};
|
|
10998
|
+
proto.assistant_api.AssistantDebuggerDeployment.prototype.setMaxsessionduration = function(value) {
|
|
10999
|
+
return jspb.Message.setProto3StringIntField(this, 29, value);
|
|
11000
|
+
};
|
|
11001
|
+
proto.assistant_api.AssistantDebuggerDeployment.prototype.getIdealtimeout = function() {
|
|
11002
|
+
return (
|
|
11003
|
+
/** @type {string} */
|
|
11004
|
+
jspb.Message.getFieldWithDefault(this, 30, "0")
|
|
11005
|
+
);
|
|
11006
|
+
};
|
|
11007
|
+
proto.assistant_api.AssistantDebuggerDeployment.prototype.setIdealtimeout = function(value) {
|
|
11008
|
+
return jspb.Message.setProto3StringIntField(this, 30, value);
|
|
11009
|
+
};
|
|
11010
|
+
proto.assistant_api.AssistantDebuggerDeployment.prototype.getIdealtimeoutmessage = function() {
|
|
11011
|
+
return (
|
|
11012
|
+
/** @type {string} */
|
|
11013
|
+
jspb.Message.getFieldWithDefault(this, 31, "")
|
|
11014
|
+
);
|
|
11015
|
+
};
|
|
11016
|
+
proto.assistant_api.AssistantDebuggerDeployment.prototype.setIdealtimeoutmessage = function(value) {
|
|
11017
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
11018
|
+
};
|
|
10900
11019
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10901
11020
|
proto.assistant_api.AssistantApiDeployment.prototype.toObject = function(opt_includeInstance) {
|
|
10902
11021
|
return proto.assistant_api.AssistantApiDeployment.toObject(opt_includeInstance, this);
|
|
@@ -10907,12 +11026,14 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10907
11026
|
assistantid: jspb.Message.getFieldWithDefault(msg, 5, "0"),
|
|
10908
11027
|
greeting: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
10909
11028
|
mistake: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
10910
|
-
ending: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
10911
11029
|
inputaudio: (f = msg.getInputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10912
11030
|
outputaudio: (f = msg.getOutputaudio()) && proto.assistant_api.DeploymentAudioProvider.toObject(includeInstance, f),
|
|
10913
11031
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10914
11032
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10915
|
-
status: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
11033
|
+
status: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
11034
|
+
maxsessionduration: jspb.Message.getFieldWithDefault(msg, 29, "0"),
|
|
11035
|
+
idealtimeout: jspb.Message.getFieldWithDefault(msg, 30, "0"),
|
|
11036
|
+
idealtimeoutmessage: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
10916
11037
|
};
|
|
10917
11038
|
if (includeInstance) {
|
|
10918
11039
|
obj.$jspbMessageInstance = msg;
|
|
@@ -10960,13 +11081,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10960
11081
|
);
|
|
10961
11082
|
msg.setMistake(value);
|
|
10962
11083
|
break;
|
|
10963
|
-
case 12:
|
|
10964
|
-
var value = (
|
|
10965
|
-
/** @type {string} */
|
|
10966
|
-
reader.readString()
|
|
10967
|
-
);
|
|
10968
|
-
msg.setEnding(value);
|
|
10969
|
-
break;
|
|
10970
11084
|
case 13:
|
|
10971
11085
|
var value = new proto.assistant_api.DeploymentAudioProvider();
|
|
10972
11086
|
reader.readMessage(value, proto.assistant_api.DeploymentAudioProvider.deserializeBinaryFromReader);
|
|
@@ -10994,6 +11108,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
10994
11108
|
);
|
|
10995
11109
|
msg.setStatus(value);
|
|
10996
11110
|
break;
|
|
11111
|
+
case 29:
|
|
11112
|
+
var value = (
|
|
11113
|
+
/** @type {string} */
|
|
11114
|
+
reader.readUint64String()
|
|
11115
|
+
);
|
|
11116
|
+
msg.setMaxsessionduration(value);
|
|
11117
|
+
break;
|
|
11118
|
+
case 30:
|
|
11119
|
+
var value = (
|
|
11120
|
+
/** @type {string} */
|
|
11121
|
+
reader.readUint64String()
|
|
11122
|
+
);
|
|
11123
|
+
msg.setIdealtimeout(value);
|
|
11124
|
+
break;
|
|
11125
|
+
case 31:
|
|
11126
|
+
var value = (
|
|
11127
|
+
/** @type {string} */
|
|
11128
|
+
reader.readString()
|
|
11129
|
+
);
|
|
11130
|
+
msg.setIdealtimeoutmessage(value);
|
|
11131
|
+
break;
|
|
10997
11132
|
default:
|
|
10998
11133
|
reader.skipField();
|
|
10999
11134
|
break;
|
|
@@ -11038,14 +11173,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
11038
11173
|
f
|
|
11039
11174
|
);
|
|
11040
11175
|
}
|
|
11041
|
-
f = /** @type {string} */
|
|
11042
|
-
jspb.Message.getField(message, 12);
|
|
11043
|
-
if (f != null) {
|
|
11044
|
-
writer.writeString(
|
|
11045
|
-
12,
|
|
11046
|
-
f
|
|
11047
|
-
);
|
|
11048
|
-
}
|
|
11049
11176
|
f = message.getInputaudio();
|
|
11050
11177
|
if (f != null) {
|
|
11051
11178
|
writer.writeMessage(
|
|
@@ -11085,6 +11212,27 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
11085
11212
|
f
|
|
11086
11213
|
);
|
|
11087
11214
|
}
|
|
11215
|
+
f = message.getMaxsessionduration();
|
|
11216
|
+
if (parseInt(f, 10) !== 0) {
|
|
11217
|
+
writer.writeUint64String(
|
|
11218
|
+
29,
|
|
11219
|
+
f
|
|
11220
|
+
);
|
|
11221
|
+
}
|
|
11222
|
+
f = message.getIdealtimeout();
|
|
11223
|
+
if (parseInt(f, 10) !== 0) {
|
|
11224
|
+
writer.writeUint64String(
|
|
11225
|
+
30,
|
|
11226
|
+
f
|
|
11227
|
+
);
|
|
11228
|
+
}
|
|
11229
|
+
f = message.getIdealtimeoutmessage();
|
|
11230
|
+
if (f.length > 0) {
|
|
11231
|
+
writer.writeString(
|
|
11232
|
+
31,
|
|
11233
|
+
f
|
|
11234
|
+
);
|
|
11235
|
+
}
|
|
11088
11236
|
};
|
|
11089
11237
|
proto.assistant_api.AssistantApiDeployment.prototype.getId = function() {
|
|
11090
11238
|
return (
|
|
@@ -11134,21 +11282,6 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
11134
11282
|
proto.assistant_api.AssistantApiDeployment.prototype.hasMistake = function() {
|
|
11135
11283
|
return jspb.Message.getField(this, 11) != null;
|
|
11136
11284
|
};
|
|
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
11285
|
proto.assistant_api.AssistantApiDeployment.prototype.getInputaudio = function() {
|
|
11153
11286
|
return (
|
|
11154
11287
|
/** @type{?proto.assistant_api.DeploymentAudioProvider} */
|
|
@@ -11218,6 +11351,33 @@ var require_assistant_deployment_pb = __commonJS({
|
|
|
11218
11351
|
proto.assistant_api.AssistantApiDeployment.prototype.setStatus = function(value) {
|
|
11219
11352
|
return jspb.Message.setProto3StringField(this, 28, value);
|
|
11220
11353
|
};
|
|
11354
|
+
proto.assistant_api.AssistantApiDeployment.prototype.getMaxsessionduration = function() {
|
|
11355
|
+
return (
|
|
11356
|
+
/** @type {string} */
|
|
11357
|
+
jspb.Message.getFieldWithDefault(this, 29, "0")
|
|
11358
|
+
);
|
|
11359
|
+
};
|
|
11360
|
+
proto.assistant_api.AssistantApiDeployment.prototype.setMaxsessionduration = function(value) {
|
|
11361
|
+
return jspb.Message.setProto3StringIntField(this, 29, value);
|
|
11362
|
+
};
|
|
11363
|
+
proto.assistant_api.AssistantApiDeployment.prototype.getIdealtimeout = function() {
|
|
11364
|
+
return (
|
|
11365
|
+
/** @type {string} */
|
|
11366
|
+
jspb.Message.getFieldWithDefault(this, 30, "0")
|
|
11367
|
+
);
|
|
11368
|
+
};
|
|
11369
|
+
proto.assistant_api.AssistantApiDeployment.prototype.setIdealtimeout = function(value) {
|
|
11370
|
+
return jspb.Message.setProto3StringIntField(this, 30, value);
|
|
11371
|
+
};
|
|
11372
|
+
proto.assistant_api.AssistantApiDeployment.prototype.getIdealtimeoutmessage = function() {
|
|
11373
|
+
return (
|
|
11374
|
+
/** @type {string} */
|
|
11375
|
+
jspb.Message.getFieldWithDefault(this, 31, "")
|
|
11376
|
+
);
|
|
11377
|
+
};
|
|
11378
|
+
proto.assistant_api.AssistantApiDeployment.prototype.setIdealtimeoutmessage = function(value) {
|
|
11379
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
11380
|
+
};
|
|
11221
11381
|
proto.assistant_api.CreateAssistantDeploymentRequest.oneofGroups_ = [[1, 2, 3, 4, 5]];
|
|
11222
11382
|
proto.assistant_api.CreateAssistantDeploymentRequest.DeploymentCase = {
|
|
11223
11383
|
DEPLOYMENT_NOT_SET: 0,
|
|
@@ -21380,7 +21540,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
21380
21540
|
proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.toObject = function(includeInstance, msg) {
|
|
21381
21541
|
var f, obj = {
|
|
21382
21542
|
template: (f = msg.getTemplate()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
21383
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 21, "0"),
|
|
21384
21543
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
21385
21544
|
assistantmodeloptionsList: jspb.Message.toObjectList(
|
|
21386
21545
|
msg.getAssistantmodeloptionsList(),
|
|
@@ -21411,13 +21570,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
21411
21570
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
21412
21571
|
msg.setTemplate(value);
|
|
21413
21572
|
break;
|
|
21414
|
-
case 21:
|
|
21415
|
-
var value = (
|
|
21416
|
-
/** @type {string} */
|
|
21417
|
-
reader.readUint64String()
|
|
21418
|
-
);
|
|
21419
|
-
msg.setModelproviderid(value);
|
|
21420
|
-
break;
|
|
21421
21573
|
case 22:
|
|
21422
21574
|
var value = (
|
|
21423
21575
|
/** @type {string} */
|
|
@@ -21452,13 +21604,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
21452
21604
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
21453
21605
|
);
|
|
21454
21606
|
}
|
|
21455
|
-
f = message.getModelproviderid();
|
|
21456
|
-
if (parseInt(f, 10) !== 0) {
|
|
21457
|
-
writer.writeUint64String(
|
|
21458
|
-
21,
|
|
21459
|
-
f
|
|
21460
|
-
);
|
|
21461
|
-
}
|
|
21462
21607
|
f = message.getModelprovidername();
|
|
21463
21608
|
if (f.length > 0) {
|
|
21464
21609
|
writer.writeString(
|
|
@@ -21490,15 +21635,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
21490
21635
|
proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.prototype.hasTemplate = function() {
|
|
21491
21636
|
return jspb.Message.getField(this, 20) != null;
|
|
21492
21637
|
};
|
|
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
21638
|
proto.assistant_api.CreateAssistantProviderRequest.CreateAssistantProviderModel.prototype.getModelprovidername = function() {
|
|
21503
21639
|
return (
|
|
21504
21640
|
/** @type {string} */
|
|
@@ -22577,7 +22713,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
22577
22713
|
template: (f = msg.getTemplate()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
22578
22714
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
22579
22715
|
assistantid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
22580
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
22581
22716
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
22582
22717
|
assistantmodeloptionsList: jspb.Message.toObjectList(
|
|
22583
22718
|
msg.getAssistantmodeloptionsList(),
|
|
@@ -22636,13 +22771,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
22636
22771
|
);
|
|
22637
22772
|
msg.setAssistantid(value);
|
|
22638
22773
|
break;
|
|
22639
|
-
case 6:
|
|
22640
|
-
var value = (
|
|
22641
|
-
/** @type {string} */
|
|
22642
|
-
reader.readUint64String()
|
|
22643
|
-
);
|
|
22644
|
-
msg.setModelproviderid(value);
|
|
22645
|
-
break;
|
|
22646
22774
|
case 7:
|
|
22647
22775
|
var value = (
|
|
22648
22776
|
/** @type {string} */
|
|
@@ -22739,13 +22867,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
22739
22867
|
f
|
|
22740
22868
|
);
|
|
22741
22869
|
}
|
|
22742
|
-
f = message.getModelproviderid();
|
|
22743
|
-
if (parseInt(f, 10) !== 0) {
|
|
22744
|
-
writer.writeUint64String(
|
|
22745
|
-
6,
|
|
22746
|
-
f
|
|
22747
|
-
);
|
|
22748
|
-
}
|
|
22749
22870
|
f = message.getModelprovidername();
|
|
22750
22871
|
if (f.length > 0) {
|
|
22751
22872
|
writer.writeString(
|
|
@@ -22857,15 +22978,6 @@ var require_assistant_provider_pb = __commonJS({
|
|
|
22857
22978
|
proto.assistant_api.AssistantProviderModel.prototype.setAssistantid = function(value) {
|
|
22858
22979
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22859
22980
|
};
|
|
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
22981
|
proto.assistant_api.AssistantProviderModel.prototype.getModelprovidername = function() {
|
|
22870
22982
|
return (
|
|
22871
22983
|
/** @type {string} */
|
|
@@ -37018,7 +37130,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37018
37130
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
37019
37131
|
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? void 0 : f,
|
|
37020
37132
|
visibility: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
37021
|
-
embeddingmodelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
37022
37133
|
embeddingmodelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
37023
37134
|
knowledgeembeddingmodeloptionsList: jspb.Message.toObjectList(
|
|
37024
37135
|
msg.getKnowledgeembeddingmodeloptionsList(),
|
|
@@ -37072,13 +37183,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37072
37183
|
);
|
|
37073
37184
|
msg.setVisibility(value);
|
|
37074
37185
|
break;
|
|
37075
|
-
case 6:
|
|
37076
|
-
var value = (
|
|
37077
|
-
/** @type {string} */
|
|
37078
|
-
reader.readUint64String()
|
|
37079
|
-
);
|
|
37080
|
-
msg.setEmbeddingmodelproviderid(value);
|
|
37081
|
-
break;
|
|
37082
37186
|
case 7:
|
|
37083
37187
|
var value = (
|
|
37084
37188
|
/** @type {string} */
|
|
@@ -37133,13 +37237,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37133
37237
|
f
|
|
37134
37238
|
);
|
|
37135
37239
|
}
|
|
37136
|
-
f = message.getEmbeddingmodelproviderid();
|
|
37137
|
-
if (parseInt(f, 10) !== 0) {
|
|
37138
|
-
writer.writeUint64String(
|
|
37139
|
-
6,
|
|
37140
|
-
f
|
|
37141
|
-
);
|
|
37142
|
-
}
|
|
37143
37240
|
f = message.getEmbeddingmodelprovidername();
|
|
37144
37241
|
if (f.length > 0) {
|
|
37145
37242
|
writer.writeString(
|
|
@@ -37198,15 +37295,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
37198
37295
|
proto.knowledge_api.CreateKnowledgeRequest.prototype.setVisibility = function(value) {
|
|
37199
37296
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
37200
37297
|
};
|
|
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
37298
|
proto.knowledge_api.CreateKnowledgeRequest.prototype.getEmbeddingmodelprovidername = function() {
|
|
37211
37299
|
return (
|
|
37212
37300
|
/** @type {string} */
|
|
@@ -42810,13 +42898,11 @@ var require_vault_api_pb = __commonJS({
|
|
|
42810
42898
|
var common_pb = require_common_pb();
|
|
42811
42899
|
goog.object.extend(proto, common_pb);
|
|
42812
42900
|
goog.exportSymbol("proto.vault_api.CreateProviderCredentialRequest", null, global);
|
|
42813
|
-
goog.exportSymbol("proto.vault_api.CreateToolCredentialRequest", null, global);
|
|
42814
42901
|
goog.exportSymbol("proto.vault_api.DeleteCredentialRequest", null, global);
|
|
42815
42902
|
goog.exportSymbol("proto.vault_api.GetAllOrganizationCredentialRequest", null, global);
|
|
42816
42903
|
goog.exportSymbol("proto.vault_api.GetAllOrganizationCredentialResponse", null, global);
|
|
42817
42904
|
goog.exportSymbol("proto.vault_api.GetCredentialRequest", null, global);
|
|
42818
42905
|
goog.exportSymbol("proto.vault_api.GetCredentialResponse", null, global);
|
|
42819
|
-
goog.exportSymbol("proto.vault_api.GetProviderCredentialRequest", null, global);
|
|
42820
42906
|
goog.exportSymbol("proto.vault_api.VaultCredential", null, global);
|
|
42821
42907
|
proto.vault_api.VaultCredential = function(opt_data) {
|
|
42822
42908
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
@@ -42832,13 +42918,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
42832
42918
|
if (goog.DEBUG && !COMPILED) {
|
|
42833
42919
|
proto.vault_api.CreateProviderCredentialRequest.displayName = "proto.vault_api.CreateProviderCredentialRequest";
|
|
42834
42920
|
}
|
|
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
42921
|
proto.vault_api.DeleteCredentialRequest = function(opt_data) {
|
|
42843
42922
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42844
42923
|
};
|
|
@@ -42860,13 +42939,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
42860
42939
|
if (goog.DEBUG && !COMPILED) {
|
|
42861
42940
|
proto.vault_api.GetAllOrganizationCredentialResponse.displayName = "proto.vault_api.GetAllOrganizationCredentialResponse";
|
|
42862
42941
|
}
|
|
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
42942
|
proto.vault_api.GetCredentialResponse = function(opt_data) {
|
|
42871
42943
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42872
42944
|
};
|
|
@@ -42891,10 +42963,8 @@ var require_vault_api_pb = __commonJS({
|
|
|
42891
42963
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42892
42964
|
value: (f = msg.getValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
42893
42965
|
status: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
42894
|
-
|
|
42895
|
-
|
|
42896
|
-
vaulttype: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
42897
|
-
vaulttypeid: jspb.Message.getFieldWithDefault(msg, 8, "0"),
|
|
42966
|
+
provider: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
42967
|
+
organizationid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
42898
42968
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
42899
42969
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
42900
42970
|
lastuseddate: (f = msg.getLastuseddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -42948,28 +43018,14 @@ var require_vault_api_pb = __commonJS({
|
|
|
42948
43018
|
/** @type {string} */
|
|
42949
43019
|
reader.readString()
|
|
42950
43020
|
);
|
|
42951
|
-
msg.
|
|
43021
|
+
msg.setProvider(value);
|
|
42952
43022
|
break;
|
|
42953
43023
|
case 6:
|
|
42954
43024
|
var value = (
|
|
42955
43025
|
/** @type {string} */
|
|
42956
43026
|
reader.readUint64String()
|
|
42957
43027
|
);
|
|
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);
|
|
43028
|
+
msg.setOrganizationid(value);
|
|
42973
43029
|
break;
|
|
42974
43030
|
case 9:
|
|
42975
43031
|
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
@@ -43029,34 +43085,20 @@ var require_vault_api_pb = __commonJS({
|
|
|
43029
43085
|
f
|
|
43030
43086
|
);
|
|
43031
43087
|
}
|
|
43032
|
-
f = message.
|
|
43088
|
+
f = message.getProvider();
|
|
43033
43089
|
if (f.length > 0) {
|
|
43034
43090
|
writer.writeString(
|
|
43035
43091
|
5,
|
|
43036
43092
|
f
|
|
43037
43093
|
);
|
|
43038
43094
|
}
|
|
43039
|
-
f = message.
|
|
43095
|
+
f = message.getOrganizationid();
|
|
43040
43096
|
if (parseInt(f, 10) !== 0) {
|
|
43041
43097
|
writer.writeUint64String(
|
|
43042
43098
|
6,
|
|
43043
43099
|
f
|
|
43044
43100
|
);
|
|
43045
43101
|
}
|
|
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
43102
|
f = message.getCreateddate();
|
|
43061
43103
|
if (f != null) {
|
|
43062
43104
|
writer.writeMessage(
|
|
@@ -43124,42 +43166,24 @@ var require_vault_api_pb = __commonJS({
|
|
|
43124
43166
|
proto.vault_api.VaultCredential.prototype.setStatus = function(value) {
|
|
43125
43167
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43126
43168
|
};
|
|
43127
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43169
|
+
proto.vault_api.VaultCredential.prototype.getProvider = function() {
|
|
43128
43170
|
return (
|
|
43129
43171
|
/** @type {string} */
|
|
43130
43172
|
jspb.Message.getFieldWithDefault(this, 5, "")
|
|
43131
43173
|
);
|
|
43132
43174
|
};
|
|
43133
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43175
|
+
proto.vault_api.VaultCredential.prototype.setProvider = function(value) {
|
|
43134
43176
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
43135
43177
|
};
|
|
43136
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43178
|
+
proto.vault_api.VaultCredential.prototype.getOrganizationid = function() {
|
|
43137
43179
|
return (
|
|
43138
43180
|
/** @type {string} */
|
|
43139
43181
|
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
43140
43182
|
);
|
|
43141
43183
|
};
|
|
43142
|
-
proto.vault_api.VaultCredential.prototype.
|
|
43184
|
+
proto.vault_api.VaultCredential.prototype.setOrganizationid = function(value) {
|
|
43143
43185
|
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
43144
43186
|
};
|
|
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
43187
|
proto.vault_api.VaultCredential.prototype.getCreateddate = function() {
|
|
43164
43188
|
return (
|
|
43165
43189
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
@@ -43211,10 +43235,9 @@ var require_vault_api_pb = __commonJS({
|
|
|
43211
43235
|
};
|
|
43212
43236
|
proto.vault_api.CreateProviderCredentialRequest.toObject = function(includeInstance, msg) {
|
|
43213
43237
|
var f, obj = {
|
|
43214
|
-
providerid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
43215
43238
|
credential: (f = msg.getCredential()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
43216
43239
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
43217
|
-
|
|
43240
|
+
provider: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
43218
43241
|
};
|
|
43219
43242
|
if (includeInstance) {
|
|
43220
43243
|
obj.$jspbMessageInstance = msg;
|
|
@@ -43234,13 +43257,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43234
43257
|
}
|
|
43235
43258
|
var field = reader.getFieldNumber();
|
|
43236
43259
|
switch (field) {
|
|
43237
|
-
case 1:
|
|
43238
|
-
var value = (
|
|
43239
|
-
/** @type {string} */
|
|
43240
|
-
reader.readUint64String()
|
|
43241
|
-
);
|
|
43242
|
-
msg.setProviderid(value);
|
|
43243
|
-
break;
|
|
43244
43260
|
case 2:
|
|
43245
43261
|
var value = new google_protobuf_struct_pb.Struct();
|
|
43246
43262
|
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
@@ -43258,7 +43274,7 @@ var require_vault_api_pb = __commonJS({
|
|
|
43258
43274
|
/** @type {string} */
|
|
43259
43275
|
reader.readString()
|
|
43260
43276
|
);
|
|
43261
|
-
msg.
|
|
43277
|
+
msg.setProvider(value);
|
|
43262
43278
|
break;
|
|
43263
43279
|
default:
|
|
43264
43280
|
reader.skipField();
|
|
@@ -43274,13 +43290,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43274
43290
|
};
|
|
43275
43291
|
proto.vault_api.CreateProviderCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43276
43292
|
var f = void 0;
|
|
43277
|
-
f = message.getProviderid();
|
|
43278
|
-
if (parseInt(f, 10) !== 0) {
|
|
43279
|
-
writer.writeUint64String(
|
|
43280
|
-
1,
|
|
43281
|
-
f
|
|
43282
|
-
);
|
|
43283
|
-
}
|
|
43284
43293
|
f = message.getCredential();
|
|
43285
43294
|
if (f != null) {
|
|
43286
43295
|
writer.writeMessage(
|
|
@@ -43296,7 +43305,7 @@ var require_vault_api_pb = __commonJS({
|
|
|
43296
43305
|
f
|
|
43297
43306
|
);
|
|
43298
43307
|
}
|
|
43299
|
-
f = message.
|
|
43308
|
+
f = message.getProvider();
|
|
43300
43309
|
if (f.length > 0) {
|
|
43301
43310
|
writer.writeString(
|
|
43302
43311
|
4,
|
|
@@ -43304,15 +43313,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43304
43313
|
);
|
|
43305
43314
|
}
|
|
43306
43315
|
};
|
|
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
43316
|
proto.vault_api.CreateProviderCredentialRequest.prototype.getCredential = function() {
|
|
43317
43317
|
return (
|
|
43318
43318
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -43337,154 +43337,13 @@ var require_vault_api_pb = __commonJS({
|
|
|
43337
43337
|
proto.vault_api.CreateProviderCredentialRequest.prototype.setName = function(value) {
|
|
43338
43338
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
43339
43339
|
};
|
|
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() {
|
|
43340
|
+
proto.vault_api.CreateProviderCredentialRequest.prototype.getProvider = function() {
|
|
43482
43341
|
return (
|
|
43483
43342
|
/** @type {string} */
|
|
43484
43343
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
43485
43344
|
);
|
|
43486
43345
|
};
|
|
43487
|
-
proto.vault_api.
|
|
43346
|
+
proto.vault_api.CreateProviderCredentialRequest.prototype.setProvider = function(value) {
|
|
43488
43347
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43489
43348
|
};
|
|
43490
43349
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -43834,94 +43693,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
43834
43693
|
proto.vault_api.GetAllOrganizationCredentialResponse.prototype.hasPaginated = function() {
|
|
43835
43694
|
return jspb.Message.getField(this, 5) != null;
|
|
43836
43695
|
};
|
|
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
43696
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43926
43697
|
proto.vault_api.GetCredentialResponse.prototype.toObject = function(opt_includeInstance) {
|
|
43927
43698
|
return proto.vault_api.GetCredentialResponse.toObject(opt_includeInstance, this);
|
|
@@ -44156,14 +43927,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44156
43927
|
requestType: vault_api_pb.CreateProviderCredentialRequest,
|
|
44157
43928
|
responseType: vault_api_pb.GetCredentialResponse
|
|
44158
43929
|
};
|
|
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
43930
|
VaultService2.GetAllOrganizationCredential = {
|
|
44168
43931
|
methodName: "GetAllOrganizationCredential",
|
|
44169
43932
|
service: VaultService2,
|
|
@@ -44180,14 +43943,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44180
43943
|
requestType: vault_api_pb.DeleteCredentialRequest,
|
|
44181
43944
|
responseType: vault_api_pb.GetCredentialResponse
|
|
44182
43945
|
};
|
|
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
43946
|
VaultService2.GetCredential = {
|
|
44192
43947
|
methodName: "GetCredential",
|
|
44193
43948
|
service: VaultService2,
|
|
@@ -44239,36 +43994,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44239
43994
|
}
|
|
44240
43995
|
};
|
|
44241
43996
|
};
|
|
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
43997
|
VaultServiceClient3.prototype.getAllOrganizationCredential = function getAllOrganizationCredential(requestMessage, metadata, callback) {
|
|
44273
43998
|
if (arguments.length === 2) {
|
|
44274
43999
|
callback = arguments[1];
|
|
@@ -44329,36 +44054,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
44329
44054
|
}
|
|
44330
44055
|
};
|
|
44331
44056
|
};
|
|
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
44057
|
VaultServiceClient3.prototype.getCredential = function getCredential(requestMessage, metadata, callback) {
|
|
44363
44058
|
if (arguments.length === 2) {
|
|
44364
44059
|
callback = arguments[1];
|
|
@@ -44877,7 +44572,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
44877
44572
|
var f, obj = {
|
|
44878
44573
|
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
44879
44574
|
chatcompleteprompt: (f = msg.getChatcompleteprompt()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
44880
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
44881
44575
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
44882
44576
|
endpointmodeloptionsList: jspb.Message.toObjectList(
|
|
44883
44577
|
msg.getEndpointmodeloptionsList(),
|
|
@@ -44915,13 +44609,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
44915
44609
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
44916
44610
|
msg.setChatcompleteprompt(value);
|
|
44917
44611
|
break;
|
|
44918
|
-
case 6:
|
|
44919
|
-
var value = (
|
|
44920
|
-
/** @type {string} */
|
|
44921
|
-
reader.readUint64String()
|
|
44922
|
-
);
|
|
44923
|
-
msg.setModelproviderid(value);
|
|
44924
|
-
break;
|
|
44925
44612
|
case 7:
|
|
44926
44613
|
var value = (
|
|
44927
44614
|
/** @type {string} */
|
|
@@ -44963,13 +44650,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
44963
44650
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
44964
44651
|
);
|
|
44965
44652
|
}
|
|
44966
|
-
f = message.getModelproviderid();
|
|
44967
|
-
if (parseInt(f, 10) !== 0) {
|
|
44968
|
-
writer.writeUint64String(
|
|
44969
|
-
6,
|
|
44970
|
-
f
|
|
44971
|
-
);
|
|
44972
|
-
}
|
|
44973
44653
|
f = message.getModelprovidername();
|
|
44974
44654
|
if (f.length > 0) {
|
|
44975
44655
|
writer.writeString(
|
|
@@ -45010,15 +44690,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45010
44690
|
proto.endpoint_api.EndpointProviderModelAttribute.prototype.hasChatcompleteprompt = function() {
|
|
45011
44691
|
return jspb.Message.getField(this, 2) != null;
|
|
45012
44692
|
};
|
|
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
44693
|
proto.endpoint_api.EndpointProviderModelAttribute.prototype.getModelprovidername = function() {
|
|
45023
44694
|
return (
|
|
45024
44695
|
/** @type {string} */
|
|
@@ -45385,7 +45056,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45385
45056
|
var f, obj = {
|
|
45386
45057
|
id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
45387
45058
|
chatcompleteprompt: (f = msg.getChatcompleteprompt()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
45388
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
45389
45059
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
45390
45060
|
endpointmodeloptionsList: jspb.Message.toObjectList(
|
|
45391
45061
|
msg.getEndpointmodeloptionsList(),
|
|
@@ -45432,13 +45102,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45432
45102
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
45433
45103
|
msg.setChatcompleteprompt(value);
|
|
45434
45104
|
break;
|
|
45435
|
-
case 3:
|
|
45436
|
-
var value = (
|
|
45437
|
-
/** @type {string} */
|
|
45438
|
-
reader.readUint64String()
|
|
45439
|
-
);
|
|
45440
|
-
msg.setModelproviderid(value);
|
|
45441
|
-
break;
|
|
45442
45105
|
case 4:
|
|
45443
45106
|
var value = (
|
|
45444
45107
|
/** @type {string} */
|
|
@@ -45535,13 +45198,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45535
45198
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
45536
45199
|
);
|
|
45537
45200
|
}
|
|
45538
|
-
f = message.getModelproviderid();
|
|
45539
|
-
if (parseInt(f, 10) !== 0) {
|
|
45540
|
-
writer.writeUint64String(
|
|
45541
|
-
3,
|
|
45542
|
-
f
|
|
45543
|
-
);
|
|
45544
|
-
}
|
|
45545
45201
|
f = message.getModelprovidername();
|
|
45546
45202
|
if (f.length > 0) {
|
|
45547
45203
|
writer.writeString(
|
|
@@ -45649,15 +45305,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
45649
45305
|
proto.endpoint_api.EndpointProviderModel.prototype.hasChatcompleteprompt = function() {
|
|
45650
45306
|
return jspb.Message.getField(this, 2) != null;
|
|
45651
45307
|
};
|
|
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
45308
|
proto.endpoint_api.EndpointProviderModel.prototype.getModelprovidername = function() {
|
|
45662
45309
|
return (
|
|
45663
45310
|
/** @type {string} */
|
|
@@ -52514,28 +52161,10 @@ var require_connect_api_pb = __commonJS({
|
|
|
52514
52161
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
52515
52162
|
var common_pb = require_common_pb();
|
|
52516
52163
|
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
52164
|
goog.exportSymbol("proto.connect_api.GeneralConnectRequest", null, global);
|
|
52520
52165
|
goog.exportSymbol("proto.connect_api.GeneralConnectResponse", null, global);
|
|
52521
52166
|
goog.exportSymbol("proto.connect_api.GetConnectorFilesRequest", null, global);
|
|
52522
52167
|
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
52168
|
proto.connect_api.GeneralConnectRequest = function(opt_data) {
|
|
52540
52169
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
52541
52170
|
};
|
|
@@ -52550,20 +52179,6 @@ var require_connect_api_pb = __commonJS({
|
|
|
52550
52179
|
if (goog.DEBUG && !COMPILED) {
|
|
52551
52180
|
proto.connect_api.GeneralConnectResponse.displayName = "proto.connect_api.GeneralConnectResponse";
|
|
52552
52181
|
}
|
|
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
52182
|
proto.connect_api.GetConnectorFilesRequest = function(opt_data) {
|
|
52568
52183
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.connect_api.GetConnectorFilesRequest.repeatedFields_, null);
|
|
52569
52184
|
};
|
|
@@ -52579,10 +52194,10 @@ var require_connect_api_pb = __commonJS({
|
|
|
52579
52194
|
proto.connect_api.GetConnectorFilesResponse.displayName = "proto.connect_api.GetConnectorFilesResponse";
|
|
52580
52195
|
}
|
|
52581
52196
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52582
|
-
proto.connect_api.
|
|
52583
|
-
return proto.connect_api.
|
|
52197
|
+
proto.connect_api.GeneralConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
52198
|
+
return proto.connect_api.GeneralConnectRequest.toObject(opt_includeInstance, this);
|
|
52584
52199
|
};
|
|
52585
|
-
proto.connect_api.
|
|
52200
|
+
proto.connect_api.GeneralConnectRequest.toObject = function(includeInstance, msg) {
|
|
52586
52201
|
var f, obj = {
|
|
52587
52202
|
state: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
52588
52203
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -52595,12 +52210,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52595
52210
|
return obj;
|
|
52596
52211
|
};
|
|
52597
52212
|
}
|
|
52598
|
-
proto.connect_api.
|
|
52213
|
+
proto.connect_api.GeneralConnectRequest.deserializeBinary = function(bytes) {
|
|
52599
52214
|
var reader = new jspb.BinaryReader(bytes);
|
|
52600
|
-
var msg = new proto.connect_api.
|
|
52601
|
-
return proto.connect_api.
|
|
52215
|
+
var msg = new proto.connect_api.GeneralConnectRequest();
|
|
52216
|
+
return proto.connect_api.GeneralConnectRequest.deserializeBinaryFromReader(msg, reader);
|
|
52602
52217
|
};
|
|
52603
|
-
proto.connect_api.
|
|
52218
|
+
proto.connect_api.GeneralConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
52604
52219
|
while (reader.nextField()) {
|
|
52605
52220
|
if (reader.isEndGroup()) {
|
|
52606
52221
|
break;
|
|
@@ -52642,12 +52257,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52642
52257
|
}
|
|
52643
52258
|
return msg;
|
|
52644
52259
|
};
|
|
52645
|
-
proto.connect_api.
|
|
52260
|
+
proto.connect_api.GeneralConnectRequest.prototype.serializeBinary = function() {
|
|
52646
52261
|
var writer = new jspb.BinaryWriter();
|
|
52647
|
-
proto.connect_api.
|
|
52262
|
+
proto.connect_api.GeneralConnectRequest.serializeBinaryToWriter(this, writer);
|
|
52648
52263
|
return writer.getResultBuffer();
|
|
52649
52264
|
};
|
|
52650
|
-
proto.connect_api.
|
|
52265
|
+
proto.connect_api.GeneralConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
52651
52266
|
var f = void 0;
|
|
52652
52267
|
f = message.getState();
|
|
52653
52268
|
if (f.length > 0) {
|
|
@@ -52678,51 +52293,51 @@ var require_connect_api_pb = __commonJS({
|
|
|
52678
52293
|
);
|
|
52679
52294
|
}
|
|
52680
52295
|
};
|
|
52681
|
-
proto.connect_api.
|
|
52296
|
+
proto.connect_api.GeneralConnectRequest.prototype.getState = function() {
|
|
52682
52297
|
return (
|
|
52683
52298
|
/** @type {string} */
|
|
52684
52299
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
52685
52300
|
);
|
|
52686
52301
|
};
|
|
52687
|
-
proto.connect_api.
|
|
52302
|
+
proto.connect_api.GeneralConnectRequest.prototype.setState = function(value) {
|
|
52688
52303
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
52689
52304
|
};
|
|
52690
|
-
proto.connect_api.
|
|
52305
|
+
proto.connect_api.GeneralConnectRequest.prototype.getCode = function() {
|
|
52691
52306
|
return (
|
|
52692
52307
|
/** @type {string} */
|
|
52693
52308
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
52694
52309
|
);
|
|
52695
52310
|
};
|
|
52696
|
-
proto.connect_api.
|
|
52311
|
+
proto.connect_api.GeneralConnectRequest.prototype.setCode = function(value) {
|
|
52697
52312
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
52698
52313
|
};
|
|
52699
|
-
proto.connect_api.
|
|
52314
|
+
proto.connect_api.GeneralConnectRequest.prototype.getScope = function() {
|
|
52700
52315
|
return (
|
|
52701
52316
|
/** @type {string} */
|
|
52702
52317
|
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
52703
52318
|
);
|
|
52704
52319
|
};
|
|
52705
|
-
proto.connect_api.
|
|
52320
|
+
proto.connect_api.GeneralConnectRequest.prototype.setScope = function(value) {
|
|
52706
52321
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
52707
52322
|
};
|
|
52708
|
-
proto.connect_api.
|
|
52323
|
+
proto.connect_api.GeneralConnectRequest.prototype.getConnect = function() {
|
|
52709
52324
|
return (
|
|
52710
52325
|
/** @type {string} */
|
|
52711
52326
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
52712
52327
|
);
|
|
52713
52328
|
};
|
|
52714
|
-
proto.connect_api.
|
|
52329
|
+
proto.connect_api.GeneralConnectRequest.prototype.setConnect = function(value) {
|
|
52715
52330
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
52716
52331
|
};
|
|
52717
52332
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52718
|
-
proto.connect_api.
|
|
52719
|
-
return proto.connect_api.
|
|
52333
|
+
proto.connect_api.GeneralConnectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
52334
|
+
return proto.connect_api.GeneralConnectResponse.toObject(opt_includeInstance, this);
|
|
52720
52335
|
};
|
|
52721
|
-
proto.connect_api.
|
|
52336
|
+
proto.connect_api.GeneralConnectResponse.toObject = function(includeInstance, msg) {
|
|
52722
52337
|
var f, obj = {
|
|
52723
52338
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
52724
52339
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
52725
|
-
|
|
52340
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
52726
52341
|
redirectto: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
52727
52342
|
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f)
|
|
52728
52343
|
};
|
|
@@ -52732,12 +52347,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52732
52347
|
return obj;
|
|
52733
52348
|
};
|
|
52734
52349
|
}
|
|
52735
|
-
proto.connect_api.
|
|
52350
|
+
proto.connect_api.GeneralConnectResponse.deserializeBinary = function(bytes) {
|
|
52736
52351
|
var reader = new jspb.BinaryReader(bytes);
|
|
52737
|
-
var msg = new proto.connect_api.
|
|
52738
|
-
return proto.connect_api.
|
|
52352
|
+
var msg = new proto.connect_api.GeneralConnectResponse();
|
|
52353
|
+
return proto.connect_api.GeneralConnectResponse.deserializeBinaryFromReader(msg, reader);
|
|
52739
52354
|
};
|
|
52740
|
-
proto.connect_api.
|
|
52355
|
+
proto.connect_api.GeneralConnectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
52741
52356
|
while (reader.nextField()) {
|
|
52742
52357
|
if (reader.isEndGroup()) {
|
|
52743
52358
|
break;
|
|
@@ -52761,9 +52376,9 @@ var require_connect_api_pb = __commonJS({
|
|
|
52761
52376
|
case 3:
|
|
52762
52377
|
var value = (
|
|
52763
52378
|
/** @type {string} */
|
|
52764
|
-
reader.
|
|
52379
|
+
reader.readString()
|
|
52765
52380
|
);
|
|
52766
|
-
msg.
|
|
52381
|
+
msg.setProvider(value);
|
|
52767
52382
|
break;
|
|
52768
52383
|
case 4:
|
|
52769
52384
|
var value = (
|
|
@@ -52784,12 +52399,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52784
52399
|
}
|
|
52785
52400
|
return msg;
|
|
52786
52401
|
};
|
|
52787
|
-
proto.connect_api.
|
|
52402
|
+
proto.connect_api.GeneralConnectResponse.prototype.serializeBinary = function() {
|
|
52788
52403
|
var writer = new jspb.BinaryWriter();
|
|
52789
|
-
proto.connect_api.
|
|
52404
|
+
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter(this, writer);
|
|
52790
52405
|
return writer.getResultBuffer();
|
|
52791
52406
|
};
|
|
52792
|
-
proto.connect_api.
|
|
52407
|
+
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
52793
52408
|
var f = void 0;
|
|
52794
52409
|
f = message.getCode();
|
|
52795
52410
|
if (f !== 0) {
|
|
@@ -52805,9 +52420,9 @@ var require_connect_api_pb = __commonJS({
|
|
|
52805
52420
|
f
|
|
52806
52421
|
);
|
|
52807
52422
|
}
|
|
52808
|
-
f = message.
|
|
52809
|
-
if (
|
|
52810
|
-
writer.
|
|
52423
|
+
f = message.getProvider();
|
|
52424
|
+
if (f.length > 0) {
|
|
52425
|
+
writer.writeString(
|
|
52811
52426
|
3,
|
|
52812
52427
|
f
|
|
52813
52428
|
);
|
|
@@ -52828,67 +52443,71 @@ var require_connect_api_pb = __commonJS({
|
|
|
52828
52443
|
);
|
|
52829
52444
|
}
|
|
52830
52445
|
};
|
|
52831
|
-
proto.connect_api.
|
|
52446
|
+
proto.connect_api.GeneralConnectResponse.prototype.getCode = function() {
|
|
52832
52447
|
return (
|
|
52833
52448
|
/** @type {number} */
|
|
52834
52449
|
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
52835
52450
|
);
|
|
52836
52451
|
};
|
|
52837
|
-
proto.connect_api.
|
|
52452
|
+
proto.connect_api.GeneralConnectResponse.prototype.setCode = function(value) {
|
|
52838
52453
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
52839
52454
|
};
|
|
52840
|
-
proto.connect_api.
|
|
52455
|
+
proto.connect_api.GeneralConnectResponse.prototype.getSuccess = function() {
|
|
52841
52456
|
return (
|
|
52842
52457
|
/** @type {boolean} */
|
|
52843
52458
|
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
52844
52459
|
);
|
|
52845
52460
|
};
|
|
52846
|
-
proto.connect_api.
|
|
52461
|
+
proto.connect_api.GeneralConnectResponse.prototype.setSuccess = function(value) {
|
|
52847
52462
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
52848
52463
|
};
|
|
52849
|
-
proto.connect_api.
|
|
52464
|
+
proto.connect_api.GeneralConnectResponse.prototype.getProvider = function() {
|
|
52850
52465
|
return (
|
|
52851
52466
|
/** @type {string} */
|
|
52852
|
-
jspb.Message.getFieldWithDefault(this, 3, "
|
|
52467
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
52853
52468
|
);
|
|
52854
52469
|
};
|
|
52855
|
-
proto.connect_api.
|
|
52856
|
-
return jspb.Message.
|
|
52470
|
+
proto.connect_api.GeneralConnectResponse.prototype.setProvider = function(value) {
|
|
52471
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
52857
52472
|
};
|
|
52858
|
-
proto.connect_api.
|
|
52473
|
+
proto.connect_api.GeneralConnectResponse.prototype.getRedirectto = function() {
|
|
52859
52474
|
return (
|
|
52860
52475
|
/** @type {string} */
|
|
52861
52476
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
52862
52477
|
);
|
|
52863
52478
|
};
|
|
52864
|
-
proto.connect_api.
|
|
52479
|
+
proto.connect_api.GeneralConnectResponse.prototype.setRedirectto = function(value) {
|
|
52865
52480
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
52866
52481
|
};
|
|
52867
|
-
proto.connect_api.
|
|
52482
|
+
proto.connect_api.GeneralConnectResponse.prototype.getError = function() {
|
|
52868
52483
|
return (
|
|
52869
52484
|
/** @type{?proto.Error} */
|
|
52870
52485
|
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
52871
52486
|
);
|
|
52872
52487
|
};
|
|
52873
|
-
proto.connect_api.
|
|
52488
|
+
proto.connect_api.GeneralConnectResponse.prototype.setError = function(value) {
|
|
52874
52489
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
52875
52490
|
};
|
|
52876
|
-
proto.connect_api.
|
|
52491
|
+
proto.connect_api.GeneralConnectResponse.prototype.clearError = function() {
|
|
52877
52492
|
return this.setError(void 0);
|
|
52878
52493
|
};
|
|
52879
|
-
proto.connect_api.
|
|
52494
|
+
proto.connect_api.GeneralConnectResponse.prototype.hasError = function() {
|
|
52880
52495
|
return jspb.Message.getField(this, 5) != null;
|
|
52881
52496
|
};
|
|
52497
|
+
proto.connect_api.GetConnectorFilesRequest.repeatedFields_ = [2];
|
|
52882
52498
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52883
|
-
proto.connect_api.
|
|
52884
|
-
return proto.connect_api.
|
|
52499
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
52500
|
+
return proto.connect_api.GetConnectorFilesRequest.toObject(opt_includeInstance, this);
|
|
52885
52501
|
};
|
|
52886
|
-
proto.connect_api.
|
|
52502
|
+
proto.connect_api.GetConnectorFilesRequest.toObject = function(includeInstance, msg) {
|
|
52887
52503
|
var f, obj = {
|
|
52888
|
-
|
|
52889
|
-
|
|
52890
|
-
|
|
52891
|
-
|
|
52504
|
+
paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
|
|
52505
|
+
criteriasList: jspb.Message.toObjectList(
|
|
52506
|
+
msg.getCriteriasList(),
|
|
52507
|
+
common_pb.Criteria.toObject,
|
|
52508
|
+
includeInstance
|
|
52509
|
+
),
|
|
52510
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
52892
52511
|
};
|
|
52893
52512
|
if (includeInstance) {
|
|
52894
52513
|
obj.$jspbMessageInstance = msg;
|
|
@@ -52896,12 +52515,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
52896
52515
|
return obj;
|
|
52897
52516
|
};
|
|
52898
52517
|
}
|
|
52899
|
-
proto.connect_api.
|
|
52518
|
+
proto.connect_api.GetConnectorFilesRequest.deserializeBinary = function(bytes) {
|
|
52900
52519
|
var reader = new jspb.BinaryReader(bytes);
|
|
52901
|
-
var msg = new proto.connect_api.
|
|
52902
|
-
return proto.connect_api.
|
|
52520
|
+
var msg = new proto.connect_api.GetConnectorFilesRequest();
|
|
52521
|
+
return proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
52903
52522
|
};
|
|
52904
|
-
proto.connect_api.
|
|
52523
|
+
proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
52905
52524
|
while (reader.nextField()) {
|
|
52906
52525
|
if (reader.isEndGroup()) {
|
|
52907
52526
|
break;
|
|
@@ -52909,32 +52528,21 @@ var require_connect_api_pb = __commonJS({
|
|
|
52909
52528
|
var field = reader.getFieldNumber();
|
|
52910
52529
|
switch (field) {
|
|
52911
52530
|
case 1:
|
|
52912
|
-
var value = (
|
|
52913
|
-
|
|
52914
|
-
|
|
52915
|
-
);
|
|
52916
|
-
msg.setState(value);
|
|
52531
|
+
var value = new common_pb.Paginate();
|
|
52532
|
+
reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
|
|
52533
|
+
msg.setPaginate(value);
|
|
52917
52534
|
break;
|
|
52918
52535
|
case 2:
|
|
52919
|
-
var value = (
|
|
52920
|
-
|
|
52921
|
-
|
|
52922
|
-
);
|
|
52923
|
-
msg.setCode(value);
|
|
52536
|
+
var value = new common_pb.Criteria();
|
|
52537
|
+
reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
|
|
52538
|
+
msg.addCriterias(value);
|
|
52924
52539
|
break;
|
|
52925
52540
|
case 3:
|
|
52926
52541
|
var value = (
|
|
52927
52542
|
/** @type {string} */
|
|
52928
52543
|
reader.readString()
|
|
52929
52544
|
);
|
|
52930
|
-
msg.
|
|
52931
|
-
break;
|
|
52932
|
-
case 4:
|
|
52933
|
-
var value = (
|
|
52934
|
-
/** @type {string} */
|
|
52935
|
-
reader.readString()
|
|
52936
|
-
);
|
|
52937
|
-
msg.setConnect(value);
|
|
52545
|
+
msg.setProvider(value);
|
|
52938
52546
|
break;
|
|
52939
52547
|
default:
|
|
52940
52548
|
reader.skipField();
|
|
@@ -52943,89 +52551,93 @@ var require_connect_api_pb = __commonJS({
|
|
|
52943
52551
|
}
|
|
52944
52552
|
return msg;
|
|
52945
52553
|
};
|
|
52946
|
-
proto.connect_api.
|
|
52554
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.serializeBinary = function() {
|
|
52947
52555
|
var writer = new jspb.BinaryWriter();
|
|
52948
|
-
proto.connect_api.
|
|
52556
|
+
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter(this, writer);
|
|
52949
52557
|
return writer.getResultBuffer();
|
|
52950
52558
|
};
|
|
52951
|
-
proto.connect_api.
|
|
52559
|
+
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
52952
52560
|
var f = void 0;
|
|
52953
|
-
f = message.
|
|
52954
|
-
if (f
|
|
52955
|
-
writer.
|
|
52561
|
+
f = message.getPaginate();
|
|
52562
|
+
if (f != null) {
|
|
52563
|
+
writer.writeMessage(
|
|
52956
52564
|
1,
|
|
52957
|
-
f
|
|
52565
|
+
f,
|
|
52566
|
+
common_pb.Paginate.serializeBinaryToWriter
|
|
52958
52567
|
);
|
|
52959
52568
|
}
|
|
52960
|
-
f = message.
|
|
52569
|
+
f = message.getCriteriasList();
|
|
52961
52570
|
if (f.length > 0) {
|
|
52962
|
-
writer.
|
|
52571
|
+
writer.writeRepeatedMessage(
|
|
52963
52572
|
2,
|
|
52964
|
-
f
|
|
52573
|
+
f,
|
|
52574
|
+
common_pb.Criteria.serializeBinaryToWriter
|
|
52965
52575
|
);
|
|
52966
52576
|
}
|
|
52967
|
-
f = message.
|
|
52577
|
+
f = message.getProvider();
|
|
52968
52578
|
if (f.length > 0) {
|
|
52969
52579
|
writer.writeString(
|
|
52970
52580
|
3,
|
|
52971
52581
|
f
|
|
52972
52582
|
);
|
|
52973
52583
|
}
|
|
52974
|
-
f = message.getConnect();
|
|
52975
|
-
if (f.length > 0) {
|
|
52976
|
-
writer.writeString(
|
|
52977
|
-
4,
|
|
52978
|
-
f
|
|
52979
|
-
);
|
|
52980
|
-
}
|
|
52981
52584
|
};
|
|
52982
|
-
proto.connect_api.
|
|
52585
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getPaginate = function() {
|
|
52983
52586
|
return (
|
|
52984
|
-
/** @type
|
|
52985
|
-
jspb.Message.
|
|
52587
|
+
/** @type{?proto.Paginate} */
|
|
52588
|
+
jspb.Message.getWrapperField(this, common_pb.Paginate, 1)
|
|
52986
52589
|
);
|
|
52987
52590
|
};
|
|
52988
|
-
proto.connect_api.
|
|
52989
|
-
return jspb.Message.
|
|
52591
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setPaginate = function(value) {
|
|
52592
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
52990
52593
|
};
|
|
52991
|
-
proto.connect_api.
|
|
52992
|
-
return (
|
|
52993
|
-
/** @type {string} */
|
|
52994
|
-
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
52995
|
-
);
|
|
52594
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.clearPaginate = function() {
|
|
52595
|
+
return this.setPaginate(void 0);
|
|
52996
52596
|
};
|
|
52997
|
-
proto.connect_api.
|
|
52998
|
-
return jspb.Message.
|
|
52597
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.hasPaginate = function() {
|
|
52598
|
+
return jspb.Message.getField(this, 1) != null;
|
|
52999
52599
|
};
|
|
53000
|
-
proto.connect_api.
|
|
52600
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getCriteriasList = function() {
|
|
53001
52601
|
return (
|
|
53002
|
-
/** @type
|
|
53003
|
-
jspb.Message.
|
|
52602
|
+
/** @type{!Array<!proto.Criteria>} */
|
|
52603
|
+
jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 2)
|
|
53004
52604
|
);
|
|
53005
52605
|
};
|
|
53006
|
-
proto.connect_api.
|
|
53007
|
-
return jspb.Message.
|
|
52606
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setCriteriasList = function(value) {
|
|
52607
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
53008
52608
|
};
|
|
53009
|
-
proto.connect_api.
|
|
52609
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.addCriterias = function(opt_value, opt_index) {
|
|
52610
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Criteria, opt_index);
|
|
52611
|
+
};
|
|
52612
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.clearCriteriasList = function() {
|
|
52613
|
+
return this.setCriteriasList([]);
|
|
52614
|
+
};
|
|
52615
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getProvider = function() {
|
|
53010
52616
|
return (
|
|
53011
52617
|
/** @type {string} */
|
|
53012
|
-
jspb.Message.getFieldWithDefault(this,
|
|
52618
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
53013
52619
|
);
|
|
53014
52620
|
};
|
|
53015
|
-
proto.connect_api.
|
|
53016
|
-
return jspb.Message.setProto3StringField(this,
|
|
52621
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setProvider = function(value) {
|
|
52622
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
53017
52623
|
};
|
|
52624
|
+
proto.connect_api.GetConnectorFilesResponse.repeatedFields_ = [3];
|
|
53018
52625
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
53019
|
-
proto.connect_api.
|
|
53020
|
-
return proto.connect_api.
|
|
52626
|
+
proto.connect_api.GetConnectorFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
52627
|
+
return proto.connect_api.GetConnectorFilesResponse.toObject(opt_includeInstance, this);
|
|
53021
52628
|
};
|
|
53022
|
-
proto.connect_api.
|
|
52629
|
+
proto.connect_api.GetConnectorFilesResponse.toObject = function(includeInstance, msg) {
|
|
53023
52630
|
var f, obj = {
|
|
53024
52631
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
53025
52632
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
53026
|
-
|
|
53027
|
-
|
|
53028
|
-
|
|
52633
|
+
dataList: jspb.Message.toObjectList(
|
|
52634
|
+
msg.getDataList(),
|
|
52635
|
+
google_protobuf_struct_pb.Struct.toObject,
|
|
52636
|
+
includeInstance
|
|
52637
|
+
),
|
|
52638
|
+
paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f),
|
|
52639
|
+
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
52640
|
+
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, void 0) : []
|
|
53029
52641
|
};
|
|
53030
52642
|
if (includeInstance) {
|
|
53031
52643
|
obj.$jspbMessageInstance = msg;
|
|
@@ -53033,611 +52645,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
53033
52645
|
return obj;
|
|
53034
52646
|
};
|
|
53035
52647
|
}
|
|
53036
|
-
proto.connect_api.
|
|
52648
|
+
proto.connect_api.GetConnectorFilesResponse.deserializeBinary = function(bytes) {
|
|
53037
52649
|
var reader = new jspb.BinaryReader(bytes);
|
|
53038
|
-
var msg = new proto.connect_api.
|
|
53039
|
-
return proto.connect_api.
|
|
52650
|
+
var msg = new proto.connect_api.GetConnectorFilesResponse();
|
|
52651
|
+
return proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
53040
52652
|
};
|
|
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) {
|
|
52653
|
+
proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
53641
52654
|
while (reader.nextField()) {
|
|
53642
52655
|
if (reader.isEndGroup()) {
|
|
53643
52656
|
break;
|
|
@@ -53830,14 +52843,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53830
52843
|
ConnectService3.serviceName = "connect_api.ConnectService";
|
|
53831
52844
|
return ConnectService3;
|
|
53832
52845
|
}();
|
|
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
52846
|
ConnectService2.GeneralConnect = {
|
|
53842
52847
|
methodName: "GeneralConnect",
|
|
53843
52848
|
service: ConnectService2,
|
|
@@ -53846,14 +52851,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53846
52851
|
requestType: connect_api_pb.GeneralConnectRequest,
|
|
53847
52852
|
responseType: connect_api_pb.GeneralConnectResponse
|
|
53848
52853
|
};
|
|
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
52854
|
ConnectService2.GetConnectorFiles = {
|
|
53858
52855
|
methodName: "GetConnectorFiles",
|
|
53859
52856
|
service: ConnectService2,
|
|
@@ -53867,36 +52864,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53867
52864
|
this.serviceHost = serviceHost;
|
|
53868
52865
|
this.options = options || {};
|
|
53869
52866
|
}
|
|
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
52867
|
ConnectServiceClient3.prototype.generalConnect = function generalConnect(requestMessage, metadata, callback) {
|
|
53901
52868
|
if (arguments.length === 2) {
|
|
53902
52869
|
callback = arguments[1];
|
|
@@ -53927,36 +52894,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
53927
52894
|
}
|
|
53928
52895
|
};
|
|
53929
52896
|
};
|
|
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
52897
|
ConnectServiceClient3.prototype.getConnectorFiles = function getConnectorFiles(requestMessage, metadata, callback) {
|
|
53961
52898
|
if (arguments.length === 2) {
|
|
53962
52899
|
callback = arguments[1];
|
|
@@ -60366,9 +59303,6 @@ var require_integration_api_pb_service = __commonJS({
|
|
|
60366
59303
|
// src/index.ts
|
|
60367
59304
|
var index_exports = {};
|
|
60368
59305
|
__export(index_exports, {
|
|
60369
|
-
ActionConnect: () => ActionConnect,
|
|
60370
|
-
ActionConnectRequest: () => import_connect_api_pb2.ActionConnectRequest,
|
|
60371
|
-
ActionConnectResponse: () => import_connect_api_pb2.ActionConnectResponse,
|
|
60372
59306
|
AddUsersToProject: () => AddUsersToProject,
|
|
60373
59307
|
AddUsersToProjectRequest: () => import_web_api_pb4.AddUsersToProjectRequest,
|
|
60374
59308
|
AddUsersToProjectResponse: () => import_web_api_pb4.AddUsersToProjectResponse,
|
|
@@ -60516,8 +59450,6 @@ __export(index_exports, {
|
|
|
60516
59450
|
CreateProjectResponse: () => import_web_api_pb4.CreateProjectResponse,
|
|
60517
59451
|
CreateProviderCredentialRequest: () => import_vault_api_pb2.CreateProviderCredentialRequest,
|
|
60518
59452
|
CreateProviderKey: () => CreateProviderKey,
|
|
60519
|
-
CreateToolCredential: () => CreateToolCredential,
|
|
60520
|
-
CreateToolCredentialRequest: () => import_vault_api_pb2.CreateToolCredentialRequest,
|
|
60521
59453
|
CreateWebhook: () => CreateWebhook,
|
|
60522
59454
|
Credential: () => import_integration_api_pb.Credential,
|
|
60523
59455
|
Criteria: () => import_common_pb17.Criteria,
|
|
@@ -60714,7 +59646,6 @@ __export(index_exports, {
|
|
|
60714
59646
|
GetProject: () => GetProject,
|
|
60715
59647
|
GetProjectRequest: () => import_web_api_pb4.GetProjectRequest,
|
|
60716
59648
|
GetProjectResponse: () => import_web_api_pb4.GetProjectResponse,
|
|
60717
|
-
GetProviderCredentialRequest: () => import_vault_api_pb2.GetProviderCredentialRequest,
|
|
60718
59649
|
GetUser: () => GetUser,
|
|
60719
59650
|
GetUserRequest: () => import_web_api_pb4.GetUserRequest,
|
|
60720
59651
|
GetUserResponse: () => import_web_api_pb4.GetUserResponse,
|
|
@@ -60760,9 +59691,6 @@ __export(index_exports, {
|
|
|
60760
59691
|
InvokeResponse: () => import_invoker_api_pb.InvokeResponse,
|
|
60761
59692
|
JSONToAny: () => JSONToAny,
|
|
60762
59693
|
Knowledge: () => import_common_pb17.Knowledge,
|
|
60763
|
-
KnowledgeConnect: () => KnowledgeConnect,
|
|
60764
|
-
KnowledgeConnectRequest: () => import_connect_api_pb2.KnowledgeConnectRequest,
|
|
60765
|
-
KnowledgeConnectResponse: () => import_connect_api_pb2.KnowledgeConnectResponse,
|
|
60766
59694
|
KnowledgeDocument: () => import_knowledge_api_pb3.KnowledgeDocument,
|
|
60767
59695
|
KnowledgeDocumentSegment: () => import_knowledge_api_pb3.KnowledgeDocumentSegment,
|
|
60768
59696
|
KnowledgeLog: () => import_knowledge_api_pb3.KnowledgeLog,
|
|
@@ -64698,33 +63626,9 @@ function GeneralConnect(config, connect, code, state, scope, authHeader, cb) {
|
|
|
64698
63626
|
cb
|
|
64699
63627
|
);
|
|
64700
63628
|
}
|
|
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) {
|
|
63629
|
+
function GetConnectorFiles(config, provider, criterias, authHeader, cb) {
|
|
64726
63630
|
const req = new import_connect_api_pb.GetConnectorFilesRequest();
|
|
64727
|
-
req.
|
|
63631
|
+
req.setProvider(provider);
|
|
64728
63632
|
req.setCriteriasList(criterias);
|
|
64729
63633
|
return config.connectClient.getConnectorFiles(
|
|
64730
63634
|
req,
|
|
@@ -64978,7 +63882,6 @@ function GetEndpointLog(config, endpointId, logId, cb, authHeader) {
|
|
|
64978
63882
|
// src/clients/vault.ts
|
|
64979
63883
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
64980
63884
|
var import_common_pb14 = __toESM(require_common_pb());
|
|
64981
|
-
var import_struct_pb2 = require("google-protobuf/google/protobuf/struct_pb");
|
|
64982
63885
|
function CreateProviderKey(connectionConfig, req, authHeader) {
|
|
64983
63886
|
return new Promise((resolve, reject) => {
|
|
64984
63887
|
connectionConfig.vaultClient.createProviderCredential(
|
|
@@ -65019,36 +63922,22 @@ function GetAllOrganizationCredential(connectionConfig, page, pageSize, criteria
|
|
|
65019
63922
|
cb
|
|
65020
63923
|
);
|
|
65021
63924
|
}
|
|
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
63925
|
|
|
65035
63926
|
// src/clients/knowledge.ts
|
|
65036
63927
|
var import_common_pb15 = __toESM(require_common_pb());
|
|
65037
63928
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
65038
63929
|
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
|
-
);
|
|
63930
|
+
function CreateKnowledge(connectionConfig, req, authHeader) {
|
|
63931
|
+
return new Promise((resolve, reject) => {
|
|
63932
|
+
connectionConfig.knowledgeClient.createKnowledge(
|
|
63933
|
+
req,
|
|
63934
|
+
WithAuthContext(connectionConfig.auth || authHeader),
|
|
63935
|
+
(err, response) => {
|
|
63936
|
+
if (err) reject(err);
|
|
63937
|
+
else resolve(response);
|
|
63938
|
+
}
|
|
63939
|
+
);
|
|
63940
|
+
});
|
|
65052
63941
|
}
|
|
65053
63942
|
function GetKnowledgeBase(config, knowledgeBaseId, cb, authHeader) {
|
|
65054
63943
|
const req = new import_knowledge_api_pb.GetKnowledgeRequest();
|
|
@@ -65598,9 +64487,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65598
64487
|
}
|
|
65599
64488
|
// Annotate the CommonJS export names for ESM import in node:
|
|
65600
64489
|
0 && (module.exports = {
|
|
65601
|
-
ActionConnect,
|
|
65602
|
-
ActionConnectRequest,
|
|
65603
|
-
ActionConnectResponse,
|
|
65604
64490
|
AddUsersToProject,
|
|
65605
64491
|
AddUsersToProjectRequest,
|
|
65606
64492
|
AddUsersToProjectResponse,
|
|
@@ -65748,8 +64634,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65748
64634
|
CreateProjectResponse,
|
|
65749
64635
|
CreateProviderCredentialRequest,
|
|
65750
64636
|
CreateProviderKey,
|
|
65751
|
-
CreateToolCredential,
|
|
65752
|
-
CreateToolCredentialRequest,
|
|
65753
64637
|
CreateWebhook,
|
|
65754
64638
|
Credential,
|
|
65755
64639
|
Criteria,
|
|
@@ -65946,7 +64830,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65946
64830
|
GetProject,
|
|
65947
64831
|
GetProjectRequest,
|
|
65948
64832
|
GetProjectResponse,
|
|
65949
|
-
GetProviderCredentialRequest,
|
|
65950
64833
|
GetUser,
|
|
65951
64834
|
GetUserRequest,
|
|
65952
64835
|
GetUserResponse,
|
|
@@ -65992,9 +64875,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
65992
64875
|
InvokeResponse,
|
|
65993
64876
|
JSONToAny,
|
|
65994
64877
|
Knowledge,
|
|
65995
|
-
KnowledgeConnect,
|
|
65996
|
-
KnowledgeConnectRequest,
|
|
65997
|
-
KnowledgeConnectResponse,
|
|
65998
64878
|
KnowledgeDocument,
|
|
65999
64879
|
KnowledgeDocumentSegment,
|
|
66000
64880
|
KnowledgeLog,
|