@rapidaai/react 1.1.43 → 1.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TYICJNMK.mjs → chunk-DRBNQMZR.mjs} +689 -460
- package/dist/chunk-DRBNQMZR.mjs.map +1 -0
- package/dist/components/device-selector.d.mts +1 -1
- package/dist/components/device-selector.d.ts +1 -1
- package/dist/components/device-selector.js +688 -459
- package/dist/components/device-selector.js.map +1 -1
- package/dist/components/device-selector.mjs +1 -1
- package/dist/{device-selector-AXkdmexr.d.mts → device-selector-D7AEGpZu.d.mts} +143 -408
- package/dist/{device-selector-AXkdmexr.d.ts → device-selector-D7AEGpZu.d.ts} +143 -408
- package/dist/index.d.mts +5 -45
- package/dist/index.d.ts +5 -45
- package/dist/index.js +831 -1832
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +156 -1383
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-TYICJNMK.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
toTextContent,
|
|
112
112
|
useObservableState,
|
|
113
113
|
useSelectInputDeviceAgent
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-DRBNQMZR.mjs";
|
|
115
115
|
import {
|
|
116
116
|
MultibandAudioVisualizerComponent
|
|
117
117
|
} from "./chunk-CVATR327.mjs";
|
|
@@ -10127,7 +10127,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
10127
10127
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10128
10128
|
tagsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? void 0 : f,
|
|
10129
10129
|
visibility: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10130
|
-
embeddingmodelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
10131
10130
|
embeddingmodelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10132
10131
|
knowledgeembeddingmodeloptionsList: jspb.Message.toObjectList(
|
|
10133
10132
|
msg.getKnowledgeembeddingmodeloptionsList(),
|
|
@@ -10181,13 +10180,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
10181
10180
|
);
|
|
10182
10181
|
msg.setVisibility(value);
|
|
10183
10182
|
break;
|
|
10184
|
-
case 6:
|
|
10185
|
-
var value = (
|
|
10186
|
-
/** @type {string} */
|
|
10187
|
-
reader.readUint64String()
|
|
10188
|
-
);
|
|
10189
|
-
msg.setEmbeddingmodelproviderid(value);
|
|
10190
|
-
break;
|
|
10191
10183
|
case 7:
|
|
10192
10184
|
var value = (
|
|
10193
10185
|
/** @type {string} */
|
|
@@ -10242,13 +10234,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
10242
10234
|
f
|
|
10243
10235
|
);
|
|
10244
10236
|
}
|
|
10245
|
-
f = message.getEmbeddingmodelproviderid();
|
|
10246
|
-
if (parseInt(f, 10) !== 0) {
|
|
10247
|
-
writer.writeUint64String(
|
|
10248
|
-
6,
|
|
10249
|
-
f
|
|
10250
|
-
);
|
|
10251
|
-
}
|
|
10252
10237
|
f = message.getEmbeddingmodelprovidername();
|
|
10253
10238
|
if (f.length > 0) {
|
|
10254
10239
|
writer.writeString(
|
|
@@ -10307,15 +10292,6 @@ var require_knowledge_api_pb = __commonJS({
|
|
|
10307
10292
|
proto.knowledge_api.CreateKnowledgeRequest.prototype.setVisibility = function(value) {
|
|
10308
10293
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
10309
10294
|
};
|
|
10310
|
-
proto.knowledge_api.CreateKnowledgeRequest.prototype.getEmbeddingmodelproviderid = function() {
|
|
10311
|
-
return (
|
|
10312
|
-
/** @type {string} */
|
|
10313
|
-
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
10314
|
-
);
|
|
10315
|
-
};
|
|
10316
|
-
proto.knowledge_api.CreateKnowledgeRequest.prototype.setEmbeddingmodelproviderid = function(value) {
|
|
10317
|
-
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
10318
|
-
};
|
|
10319
10295
|
proto.knowledge_api.CreateKnowledgeRequest.prototype.getEmbeddingmodelprovidername = function() {
|
|
10320
10296
|
return (
|
|
10321
10297
|
/** @type {string} */
|
|
@@ -15919,13 +15895,11 @@ var require_vault_api_pb = __commonJS({
|
|
|
15919
15895
|
var common_pb = require_common_pb();
|
|
15920
15896
|
goog.object.extend(proto, common_pb);
|
|
15921
15897
|
goog.exportSymbol("proto.vault_api.CreateProviderCredentialRequest", null, global);
|
|
15922
|
-
goog.exportSymbol("proto.vault_api.CreateToolCredentialRequest", null, global);
|
|
15923
15898
|
goog.exportSymbol("proto.vault_api.DeleteCredentialRequest", null, global);
|
|
15924
15899
|
goog.exportSymbol("proto.vault_api.GetAllOrganizationCredentialRequest", null, global);
|
|
15925
15900
|
goog.exportSymbol("proto.vault_api.GetAllOrganizationCredentialResponse", null, global);
|
|
15926
15901
|
goog.exportSymbol("proto.vault_api.GetCredentialRequest", null, global);
|
|
15927
15902
|
goog.exportSymbol("proto.vault_api.GetCredentialResponse", null, global);
|
|
15928
|
-
goog.exportSymbol("proto.vault_api.GetProviderCredentialRequest", null, global);
|
|
15929
15903
|
goog.exportSymbol("proto.vault_api.VaultCredential", null, global);
|
|
15930
15904
|
proto.vault_api.VaultCredential = function(opt_data) {
|
|
15931
15905
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
@@ -15941,13 +15915,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
15941
15915
|
if (goog.DEBUG && !COMPILED) {
|
|
15942
15916
|
proto.vault_api.CreateProviderCredentialRequest.displayName = "proto.vault_api.CreateProviderCredentialRequest";
|
|
15943
15917
|
}
|
|
15944
|
-
proto.vault_api.CreateToolCredentialRequest = function(opt_data) {
|
|
15945
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
15946
|
-
};
|
|
15947
|
-
goog.inherits(proto.vault_api.CreateToolCredentialRequest, jspb.Message);
|
|
15948
|
-
if (goog.DEBUG && !COMPILED) {
|
|
15949
|
-
proto.vault_api.CreateToolCredentialRequest.displayName = "proto.vault_api.CreateToolCredentialRequest";
|
|
15950
|
-
}
|
|
15951
15918
|
proto.vault_api.DeleteCredentialRequest = function(opt_data) {
|
|
15952
15919
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
15953
15920
|
};
|
|
@@ -15969,13 +15936,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
15969
15936
|
if (goog.DEBUG && !COMPILED) {
|
|
15970
15937
|
proto.vault_api.GetAllOrganizationCredentialResponse.displayName = "proto.vault_api.GetAllOrganizationCredentialResponse";
|
|
15971
15938
|
}
|
|
15972
|
-
proto.vault_api.GetProviderCredentialRequest = function(opt_data) {
|
|
15973
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
15974
|
-
};
|
|
15975
|
-
goog.inherits(proto.vault_api.GetProviderCredentialRequest, jspb.Message);
|
|
15976
|
-
if (goog.DEBUG && !COMPILED) {
|
|
15977
|
-
proto.vault_api.GetProviderCredentialRequest.displayName = "proto.vault_api.GetProviderCredentialRequest";
|
|
15978
|
-
}
|
|
15979
15939
|
proto.vault_api.GetCredentialResponse = function(opt_data) {
|
|
15980
15940
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
15981
15941
|
};
|
|
@@ -16000,10 +15960,8 @@ var require_vault_api_pb = __commonJS({
|
|
|
16000
15960
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16001
15961
|
value: (f = msg.getValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
16002
15962
|
status: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
vaulttype: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
16006
|
-
vaulttypeid: jspb.Message.getFieldWithDefault(msg, 8, "0"),
|
|
15963
|
+
provider: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15964
|
+
organizationid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
16007
15965
|
createddate: (f = msg.getCreateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16008
15966
|
updateddate: (f = msg.getUpdateddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
16009
15967
|
lastuseddate: (f = msg.getLastuseddate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -16057,28 +16015,14 @@ var require_vault_api_pb = __commonJS({
|
|
|
16057
16015
|
/** @type {string} */
|
|
16058
16016
|
reader.readString()
|
|
16059
16017
|
);
|
|
16060
|
-
msg.
|
|
16018
|
+
msg.setProvider(value);
|
|
16061
16019
|
break;
|
|
16062
16020
|
case 6:
|
|
16063
16021
|
var value = (
|
|
16064
16022
|
/** @type {string} */
|
|
16065
16023
|
reader.readUint64String()
|
|
16066
16024
|
);
|
|
16067
|
-
msg.
|
|
16068
|
-
break;
|
|
16069
|
-
case 7:
|
|
16070
|
-
var value = (
|
|
16071
|
-
/** @type {string} */
|
|
16072
|
-
reader.readString()
|
|
16073
|
-
);
|
|
16074
|
-
msg.setVaulttype(value);
|
|
16075
|
-
break;
|
|
16076
|
-
case 8:
|
|
16077
|
-
var value = (
|
|
16078
|
-
/** @type {string} */
|
|
16079
|
-
reader.readUint64String()
|
|
16080
|
-
);
|
|
16081
|
-
msg.setVaulttypeid(value);
|
|
16025
|
+
msg.setOrganizationid(value);
|
|
16082
16026
|
break;
|
|
16083
16027
|
case 9:
|
|
16084
16028
|
var value = new google_protobuf_timestamp_pb.Timestamp();
|
|
@@ -16138,34 +16082,20 @@ var require_vault_api_pb = __commonJS({
|
|
|
16138
16082
|
f
|
|
16139
16083
|
);
|
|
16140
16084
|
}
|
|
16141
|
-
f = message.
|
|
16085
|
+
f = message.getProvider();
|
|
16142
16086
|
if (f.length > 0) {
|
|
16143
16087
|
writer.writeString(
|
|
16144
16088
|
5,
|
|
16145
16089
|
f
|
|
16146
16090
|
);
|
|
16147
16091
|
}
|
|
16148
|
-
f = message.
|
|
16092
|
+
f = message.getOrganizationid();
|
|
16149
16093
|
if (parseInt(f, 10) !== 0) {
|
|
16150
16094
|
writer.writeUint64String(
|
|
16151
16095
|
6,
|
|
16152
16096
|
f
|
|
16153
16097
|
);
|
|
16154
16098
|
}
|
|
16155
|
-
f = message.getVaulttype();
|
|
16156
|
-
if (f.length > 0) {
|
|
16157
|
-
writer.writeString(
|
|
16158
|
-
7,
|
|
16159
|
-
f
|
|
16160
|
-
);
|
|
16161
|
-
}
|
|
16162
|
-
f = message.getVaulttypeid();
|
|
16163
|
-
if (parseInt(f, 10) !== 0) {
|
|
16164
|
-
writer.writeUint64String(
|
|
16165
|
-
8,
|
|
16166
|
-
f
|
|
16167
|
-
);
|
|
16168
|
-
}
|
|
16169
16099
|
f = message.getCreateddate();
|
|
16170
16100
|
if (f != null) {
|
|
16171
16101
|
writer.writeMessage(
|
|
@@ -16233,42 +16163,24 @@ var require_vault_api_pb = __commonJS({
|
|
|
16233
16163
|
proto.vault_api.VaultCredential.prototype.setStatus = function(value) {
|
|
16234
16164
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
16235
16165
|
};
|
|
16236
|
-
proto.vault_api.VaultCredential.prototype.
|
|
16166
|
+
proto.vault_api.VaultCredential.prototype.getProvider = function() {
|
|
16237
16167
|
return (
|
|
16238
16168
|
/** @type {string} */
|
|
16239
16169
|
jspb.Message.getFieldWithDefault(this, 5, "")
|
|
16240
16170
|
);
|
|
16241
16171
|
};
|
|
16242
|
-
proto.vault_api.VaultCredential.prototype.
|
|
16172
|
+
proto.vault_api.VaultCredential.prototype.setProvider = function(value) {
|
|
16243
16173
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
16244
16174
|
};
|
|
16245
|
-
proto.vault_api.VaultCredential.prototype.
|
|
16175
|
+
proto.vault_api.VaultCredential.prototype.getOrganizationid = function() {
|
|
16246
16176
|
return (
|
|
16247
16177
|
/** @type {string} */
|
|
16248
16178
|
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
16249
16179
|
);
|
|
16250
16180
|
};
|
|
16251
|
-
proto.vault_api.VaultCredential.prototype.
|
|
16181
|
+
proto.vault_api.VaultCredential.prototype.setOrganizationid = function(value) {
|
|
16252
16182
|
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
16253
16183
|
};
|
|
16254
|
-
proto.vault_api.VaultCredential.prototype.getVaulttype = function() {
|
|
16255
|
-
return (
|
|
16256
|
-
/** @type {string} */
|
|
16257
|
-
jspb.Message.getFieldWithDefault(this, 7, "")
|
|
16258
|
-
);
|
|
16259
|
-
};
|
|
16260
|
-
proto.vault_api.VaultCredential.prototype.setVaulttype = function(value) {
|
|
16261
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
16262
|
-
};
|
|
16263
|
-
proto.vault_api.VaultCredential.prototype.getVaulttypeid = function() {
|
|
16264
|
-
return (
|
|
16265
|
-
/** @type {string} */
|
|
16266
|
-
jspb.Message.getFieldWithDefault(this, 8, "0")
|
|
16267
|
-
);
|
|
16268
|
-
};
|
|
16269
|
-
proto.vault_api.VaultCredential.prototype.setVaulttypeid = function(value) {
|
|
16270
|
-
return jspb.Message.setProto3StringIntField(this, 8, value);
|
|
16271
|
-
};
|
|
16272
16184
|
proto.vault_api.VaultCredential.prototype.getCreateddate = function() {
|
|
16273
16185
|
return (
|
|
16274
16186
|
/** @type{?proto.google.protobuf.Timestamp} */
|
|
@@ -16320,10 +16232,9 @@ var require_vault_api_pb = __commonJS({
|
|
|
16320
16232
|
};
|
|
16321
16233
|
proto.vault_api.CreateProviderCredentialRequest.toObject = function(includeInstance, msg) {
|
|
16322
16234
|
var f, obj = {
|
|
16323
|
-
providerid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
16324
16235
|
credential: (f = msg.getCredential()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
16325
16236
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16326
|
-
|
|
16237
|
+
provider: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
16327
16238
|
};
|
|
16328
16239
|
if (includeInstance) {
|
|
16329
16240
|
obj.$jspbMessageInstance = msg;
|
|
@@ -16343,13 +16254,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
16343
16254
|
}
|
|
16344
16255
|
var field = reader.getFieldNumber();
|
|
16345
16256
|
switch (field) {
|
|
16346
|
-
case 1:
|
|
16347
|
-
var value = (
|
|
16348
|
-
/** @type {string} */
|
|
16349
|
-
reader.readUint64String()
|
|
16350
|
-
);
|
|
16351
|
-
msg.setProviderid(value);
|
|
16352
|
-
break;
|
|
16353
16257
|
case 2:
|
|
16354
16258
|
var value = new google_protobuf_struct_pb.Struct();
|
|
16355
16259
|
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
@@ -16367,7 +16271,7 @@ var require_vault_api_pb = __commonJS({
|
|
|
16367
16271
|
/** @type {string} */
|
|
16368
16272
|
reader.readString()
|
|
16369
16273
|
);
|
|
16370
|
-
msg.
|
|
16274
|
+
msg.setProvider(value);
|
|
16371
16275
|
break;
|
|
16372
16276
|
default:
|
|
16373
16277
|
reader.skipField();
|
|
@@ -16383,13 +16287,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
16383
16287
|
};
|
|
16384
16288
|
proto.vault_api.CreateProviderCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16385
16289
|
var f = void 0;
|
|
16386
|
-
f = message.getProviderid();
|
|
16387
|
-
if (parseInt(f, 10) !== 0) {
|
|
16388
|
-
writer.writeUint64String(
|
|
16389
|
-
1,
|
|
16390
|
-
f
|
|
16391
|
-
);
|
|
16392
|
-
}
|
|
16393
16290
|
f = message.getCredential();
|
|
16394
16291
|
if (f != null) {
|
|
16395
16292
|
writer.writeMessage(
|
|
@@ -16405,7 +16302,7 @@ var require_vault_api_pb = __commonJS({
|
|
|
16405
16302
|
f
|
|
16406
16303
|
);
|
|
16407
16304
|
}
|
|
16408
|
-
f = message.
|
|
16305
|
+
f = message.getProvider();
|
|
16409
16306
|
if (f.length > 0) {
|
|
16410
16307
|
writer.writeString(
|
|
16411
16308
|
4,
|
|
@@ -16413,15 +16310,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
16413
16310
|
);
|
|
16414
16311
|
}
|
|
16415
16312
|
};
|
|
16416
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.getProviderid = function() {
|
|
16417
|
-
return (
|
|
16418
|
-
/** @type {string} */
|
|
16419
|
-
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
16420
|
-
);
|
|
16421
|
-
};
|
|
16422
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.setProviderid = function(value) {
|
|
16423
|
-
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
16424
|
-
};
|
|
16425
16313
|
proto.vault_api.CreateProviderCredentialRequest.prototype.getCredential = function() {
|
|
16426
16314
|
return (
|
|
16427
16315
|
/** @type{?proto.google.protobuf.Struct} */
|
|
@@ -16446,154 +16334,13 @@ var require_vault_api_pb = __commonJS({
|
|
|
16446
16334
|
proto.vault_api.CreateProviderCredentialRequest.prototype.setName = function(value) {
|
|
16447
16335
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
16448
16336
|
};
|
|
16449
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.
|
|
16450
|
-
return (
|
|
16451
|
-
/** @type {string} */
|
|
16452
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
16453
|
-
);
|
|
16454
|
-
};
|
|
16455
|
-
proto.vault_api.CreateProviderCredentialRequest.prototype.setProvidername = function(value) {
|
|
16456
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
16457
|
-
};
|
|
16458
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16459
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16460
|
-
return proto.vault_api.CreateToolCredentialRequest.toObject(opt_includeInstance, this);
|
|
16461
|
-
};
|
|
16462
|
-
proto.vault_api.CreateToolCredentialRequest.toObject = function(includeInstance, msg) {
|
|
16463
|
-
var f, obj = {
|
|
16464
|
-
toolid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
16465
|
-
credential: (f = msg.getCredential()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
16466
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16467
|
-
toolname: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
16468
|
-
};
|
|
16469
|
-
if (includeInstance) {
|
|
16470
|
-
obj.$jspbMessageInstance = msg;
|
|
16471
|
-
}
|
|
16472
|
-
return obj;
|
|
16473
|
-
};
|
|
16474
|
-
}
|
|
16475
|
-
proto.vault_api.CreateToolCredentialRequest.deserializeBinary = function(bytes) {
|
|
16476
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
16477
|
-
var msg = new proto.vault_api.CreateToolCredentialRequest();
|
|
16478
|
-
return proto.vault_api.CreateToolCredentialRequest.deserializeBinaryFromReader(msg, reader);
|
|
16479
|
-
};
|
|
16480
|
-
proto.vault_api.CreateToolCredentialRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16481
|
-
while (reader.nextField()) {
|
|
16482
|
-
if (reader.isEndGroup()) {
|
|
16483
|
-
break;
|
|
16484
|
-
}
|
|
16485
|
-
var field = reader.getFieldNumber();
|
|
16486
|
-
switch (field) {
|
|
16487
|
-
case 1:
|
|
16488
|
-
var value = (
|
|
16489
|
-
/** @type {string} */
|
|
16490
|
-
reader.readUint64String()
|
|
16491
|
-
);
|
|
16492
|
-
msg.setToolid(value);
|
|
16493
|
-
break;
|
|
16494
|
-
case 2:
|
|
16495
|
-
var value = new google_protobuf_struct_pb.Struct();
|
|
16496
|
-
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
16497
|
-
msg.setCredential(value);
|
|
16498
|
-
break;
|
|
16499
|
-
case 3:
|
|
16500
|
-
var value = (
|
|
16501
|
-
/** @type {string} */
|
|
16502
|
-
reader.readString()
|
|
16503
|
-
);
|
|
16504
|
-
msg.setName(value);
|
|
16505
|
-
break;
|
|
16506
|
-
case 4:
|
|
16507
|
-
var value = (
|
|
16508
|
-
/** @type {string} */
|
|
16509
|
-
reader.readString()
|
|
16510
|
-
);
|
|
16511
|
-
msg.setToolname(value);
|
|
16512
|
-
break;
|
|
16513
|
-
default:
|
|
16514
|
-
reader.skipField();
|
|
16515
|
-
break;
|
|
16516
|
-
}
|
|
16517
|
-
}
|
|
16518
|
-
return msg;
|
|
16519
|
-
};
|
|
16520
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.serializeBinary = function() {
|
|
16521
|
-
var writer = new jspb.BinaryWriter();
|
|
16522
|
-
proto.vault_api.CreateToolCredentialRequest.serializeBinaryToWriter(this, writer);
|
|
16523
|
-
return writer.getResultBuffer();
|
|
16524
|
-
};
|
|
16525
|
-
proto.vault_api.CreateToolCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16526
|
-
var f = void 0;
|
|
16527
|
-
f = message.getToolid();
|
|
16528
|
-
if (parseInt(f, 10) !== 0) {
|
|
16529
|
-
writer.writeUint64String(
|
|
16530
|
-
1,
|
|
16531
|
-
f
|
|
16532
|
-
);
|
|
16533
|
-
}
|
|
16534
|
-
f = message.getCredential();
|
|
16535
|
-
if (f != null) {
|
|
16536
|
-
writer.writeMessage(
|
|
16537
|
-
2,
|
|
16538
|
-
f,
|
|
16539
|
-
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
16540
|
-
);
|
|
16541
|
-
}
|
|
16542
|
-
f = message.getName();
|
|
16543
|
-
if (f.length > 0) {
|
|
16544
|
-
writer.writeString(
|
|
16545
|
-
3,
|
|
16546
|
-
f
|
|
16547
|
-
);
|
|
16548
|
-
}
|
|
16549
|
-
f = message.getToolname();
|
|
16550
|
-
if (f.length > 0) {
|
|
16551
|
-
writer.writeString(
|
|
16552
|
-
4,
|
|
16553
|
-
f
|
|
16554
|
-
);
|
|
16555
|
-
}
|
|
16556
|
-
};
|
|
16557
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getToolid = function() {
|
|
16558
|
-
return (
|
|
16559
|
-
/** @type {string} */
|
|
16560
|
-
jspb.Message.getFieldWithDefault(this, 1, "0")
|
|
16561
|
-
);
|
|
16562
|
-
};
|
|
16563
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.setToolid = function(value) {
|
|
16564
|
-
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
16565
|
-
};
|
|
16566
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getCredential = function() {
|
|
16567
|
-
return (
|
|
16568
|
-
/** @type{?proto.google.protobuf.Struct} */
|
|
16569
|
-
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2)
|
|
16570
|
-
);
|
|
16571
|
-
};
|
|
16572
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.setCredential = function(value) {
|
|
16573
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
16574
|
-
};
|
|
16575
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.clearCredential = function() {
|
|
16576
|
-
return this.setCredential(void 0);
|
|
16577
|
-
};
|
|
16578
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.hasCredential = function() {
|
|
16579
|
-
return jspb.Message.getField(this, 2) != null;
|
|
16580
|
-
};
|
|
16581
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getName = function() {
|
|
16582
|
-
return (
|
|
16583
|
-
/** @type {string} */
|
|
16584
|
-
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
16585
|
-
);
|
|
16586
|
-
};
|
|
16587
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.setName = function(value) {
|
|
16588
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
16589
|
-
};
|
|
16590
|
-
proto.vault_api.CreateToolCredentialRequest.prototype.getToolname = function() {
|
|
16337
|
+
proto.vault_api.CreateProviderCredentialRequest.prototype.getProvider = function() {
|
|
16591
16338
|
return (
|
|
16592
16339
|
/** @type {string} */
|
|
16593
16340
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
16594
16341
|
);
|
|
16595
16342
|
};
|
|
16596
|
-
proto.vault_api.
|
|
16343
|
+
proto.vault_api.CreateProviderCredentialRequest.prototype.setProvider = function(value) {
|
|
16597
16344
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
16598
16345
|
};
|
|
16599
16346
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -16943,94 +16690,6 @@ var require_vault_api_pb = __commonJS({
|
|
|
16943
16690
|
proto.vault_api.GetAllOrganizationCredentialResponse.prototype.hasPaginated = function() {
|
|
16944
16691
|
return jspb.Message.getField(this, 5) != null;
|
|
16945
16692
|
};
|
|
16946
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16947
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16948
|
-
return proto.vault_api.GetProviderCredentialRequest.toObject(opt_includeInstance, this);
|
|
16949
|
-
};
|
|
16950
|
-
proto.vault_api.GetProviderCredentialRequest.toObject = function(includeInstance, msg) {
|
|
16951
|
-
var f, obj = {
|
|
16952
|
-
providerid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
16953
|
-
organizationid: jspb.Message.getFieldWithDefault(msg, 4, "0")
|
|
16954
|
-
};
|
|
16955
|
-
if (includeInstance) {
|
|
16956
|
-
obj.$jspbMessageInstance = msg;
|
|
16957
|
-
}
|
|
16958
|
-
return obj;
|
|
16959
|
-
};
|
|
16960
|
-
}
|
|
16961
|
-
proto.vault_api.GetProviderCredentialRequest.deserializeBinary = function(bytes) {
|
|
16962
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
16963
|
-
var msg = new proto.vault_api.GetProviderCredentialRequest();
|
|
16964
|
-
return proto.vault_api.GetProviderCredentialRequest.deserializeBinaryFromReader(msg, reader);
|
|
16965
|
-
};
|
|
16966
|
-
proto.vault_api.GetProviderCredentialRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16967
|
-
while (reader.nextField()) {
|
|
16968
|
-
if (reader.isEndGroup()) {
|
|
16969
|
-
break;
|
|
16970
|
-
}
|
|
16971
|
-
var field = reader.getFieldNumber();
|
|
16972
|
-
switch (field) {
|
|
16973
|
-
case 3:
|
|
16974
|
-
var value = (
|
|
16975
|
-
/** @type {string} */
|
|
16976
|
-
reader.readUint64String()
|
|
16977
|
-
);
|
|
16978
|
-
msg.setProviderid(value);
|
|
16979
|
-
break;
|
|
16980
|
-
case 4:
|
|
16981
|
-
var value = (
|
|
16982
|
-
/** @type {string} */
|
|
16983
|
-
reader.readUint64String()
|
|
16984
|
-
);
|
|
16985
|
-
msg.setOrganizationid(value);
|
|
16986
|
-
break;
|
|
16987
|
-
default:
|
|
16988
|
-
reader.skipField();
|
|
16989
|
-
break;
|
|
16990
|
-
}
|
|
16991
|
-
}
|
|
16992
|
-
return msg;
|
|
16993
|
-
};
|
|
16994
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.serializeBinary = function() {
|
|
16995
|
-
var writer = new jspb.BinaryWriter();
|
|
16996
|
-
proto.vault_api.GetProviderCredentialRequest.serializeBinaryToWriter(this, writer);
|
|
16997
|
-
return writer.getResultBuffer();
|
|
16998
|
-
};
|
|
16999
|
-
proto.vault_api.GetProviderCredentialRequest.serializeBinaryToWriter = function(message, writer) {
|
|
17000
|
-
var f = void 0;
|
|
17001
|
-
f = message.getProviderid();
|
|
17002
|
-
if (parseInt(f, 10) !== 0) {
|
|
17003
|
-
writer.writeUint64String(
|
|
17004
|
-
3,
|
|
17005
|
-
f
|
|
17006
|
-
);
|
|
17007
|
-
}
|
|
17008
|
-
f = message.getOrganizationid();
|
|
17009
|
-
if (parseInt(f, 10) !== 0) {
|
|
17010
|
-
writer.writeUint64String(
|
|
17011
|
-
4,
|
|
17012
|
-
f
|
|
17013
|
-
);
|
|
17014
|
-
}
|
|
17015
|
-
};
|
|
17016
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.getProviderid = function() {
|
|
17017
|
-
return (
|
|
17018
|
-
/** @type {string} */
|
|
17019
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
17020
|
-
);
|
|
17021
|
-
};
|
|
17022
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.setProviderid = function(value) {
|
|
17023
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
17024
|
-
};
|
|
17025
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.getOrganizationid = function() {
|
|
17026
|
-
return (
|
|
17027
|
-
/** @type {string} */
|
|
17028
|
-
jspb.Message.getFieldWithDefault(this, 4, "0")
|
|
17029
|
-
);
|
|
17030
|
-
};
|
|
17031
|
-
proto.vault_api.GetProviderCredentialRequest.prototype.setOrganizationid = function(value) {
|
|
17032
|
-
return jspb.Message.setProto3StringIntField(this, 4, value);
|
|
17033
|
-
};
|
|
17034
16693
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17035
16694
|
proto.vault_api.GetCredentialResponse.prototype.toObject = function(opt_includeInstance) {
|
|
17036
16695
|
return proto.vault_api.GetCredentialResponse.toObject(opt_includeInstance, this);
|
|
@@ -17265,14 +16924,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
17265
16924
|
requestType: vault_api_pb.CreateProviderCredentialRequest,
|
|
17266
16925
|
responseType: vault_api_pb.GetCredentialResponse
|
|
17267
16926
|
};
|
|
17268
|
-
VaultService2.CreateToolCredential = {
|
|
17269
|
-
methodName: "CreateToolCredential",
|
|
17270
|
-
service: VaultService2,
|
|
17271
|
-
requestStream: false,
|
|
17272
|
-
responseStream: false,
|
|
17273
|
-
requestType: vault_api_pb.CreateToolCredentialRequest,
|
|
17274
|
-
responseType: vault_api_pb.GetCredentialResponse
|
|
17275
|
-
};
|
|
17276
16927
|
VaultService2.GetAllOrganizationCredential = {
|
|
17277
16928
|
methodName: "GetAllOrganizationCredential",
|
|
17278
16929
|
service: VaultService2,
|
|
@@ -17289,14 +16940,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
17289
16940
|
requestType: vault_api_pb.DeleteCredentialRequest,
|
|
17290
16941
|
responseType: vault_api_pb.GetCredentialResponse
|
|
17291
16942
|
};
|
|
17292
|
-
VaultService2.GetProviderCredential = {
|
|
17293
|
-
methodName: "GetProviderCredential",
|
|
17294
|
-
service: VaultService2,
|
|
17295
|
-
requestStream: false,
|
|
17296
|
-
responseStream: false,
|
|
17297
|
-
requestType: vault_api_pb.GetProviderCredentialRequest,
|
|
17298
|
-
responseType: vault_api_pb.GetCredentialResponse
|
|
17299
|
-
};
|
|
17300
16943
|
VaultService2.GetCredential = {
|
|
17301
16944
|
methodName: "GetCredential",
|
|
17302
16945
|
service: VaultService2,
|
|
@@ -17348,36 +16991,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
17348
16991
|
}
|
|
17349
16992
|
};
|
|
17350
16993
|
};
|
|
17351
|
-
VaultServiceClient3.prototype.createToolCredential = function createToolCredential(requestMessage, metadata, callback) {
|
|
17352
|
-
if (arguments.length === 2) {
|
|
17353
|
-
callback = arguments[1];
|
|
17354
|
-
}
|
|
17355
|
-
var client = grpc2.unary(VaultService2.CreateToolCredential, {
|
|
17356
|
-
request: requestMessage,
|
|
17357
|
-
host: this.serviceHost,
|
|
17358
|
-
metadata,
|
|
17359
|
-
transport: this.options.transport,
|
|
17360
|
-
debug: this.options.debug,
|
|
17361
|
-
onEnd: function(response) {
|
|
17362
|
-
if (callback) {
|
|
17363
|
-
if (response.status !== grpc2.Code.OK) {
|
|
17364
|
-
var err = new Error(response.statusMessage);
|
|
17365
|
-
err.code = response.status;
|
|
17366
|
-
err.metadata = response.trailers;
|
|
17367
|
-
callback(err, null);
|
|
17368
|
-
} else {
|
|
17369
|
-
callback(null, response.message);
|
|
17370
|
-
}
|
|
17371
|
-
}
|
|
17372
|
-
}
|
|
17373
|
-
});
|
|
17374
|
-
return {
|
|
17375
|
-
cancel: function() {
|
|
17376
|
-
callback = null;
|
|
17377
|
-
client.close();
|
|
17378
|
-
}
|
|
17379
|
-
};
|
|
17380
|
-
};
|
|
17381
16994
|
VaultServiceClient3.prototype.getAllOrganizationCredential = function getAllOrganizationCredential(requestMessage, metadata, callback) {
|
|
17382
16995
|
if (arguments.length === 2) {
|
|
17383
16996
|
callback = arguments[1];
|
|
@@ -17438,36 +17051,6 @@ var require_vault_api_pb_service = __commonJS({
|
|
|
17438
17051
|
}
|
|
17439
17052
|
};
|
|
17440
17053
|
};
|
|
17441
|
-
VaultServiceClient3.prototype.getProviderCredential = function getProviderCredential(requestMessage, metadata, callback) {
|
|
17442
|
-
if (arguments.length === 2) {
|
|
17443
|
-
callback = arguments[1];
|
|
17444
|
-
}
|
|
17445
|
-
var client = grpc2.unary(VaultService2.GetProviderCredential, {
|
|
17446
|
-
request: requestMessage,
|
|
17447
|
-
host: this.serviceHost,
|
|
17448
|
-
metadata,
|
|
17449
|
-
transport: this.options.transport,
|
|
17450
|
-
debug: this.options.debug,
|
|
17451
|
-
onEnd: function(response) {
|
|
17452
|
-
if (callback) {
|
|
17453
|
-
if (response.status !== grpc2.Code.OK) {
|
|
17454
|
-
var err = new Error(response.statusMessage);
|
|
17455
|
-
err.code = response.status;
|
|
17456
|
-
err.metadata = response.trailers;
|
|
17457
|
-
callback(err, null);
|
|
17458
|
-
} else {
|
|
17459
|
-
callback(null, response.message);
|
|
17460
|
-
}
|
|
17461
|
-
}
|
|
17462
|
-
}
|
|
17463
|
-
});
|
|
17464
|
-
return {
|
|
17465
|
-
cancel: function() {
|
|
17466
|
-
callback = null;
|
|
17467
|
-
client.close();
|
|
17468
|
-
}
|
|
17469
|
-
};
|
|
17470
|
-
};
|
|
17471
17054
|
VaultServiceClient3.prototype.getCredential = function getCredential(requestMessage, metadata, callback) {
|
|
17472
17055
|
if (arguments.length === 2) {
|
|
17473
17056
|
callback = arguments[1];
|
|
@@ -17986,7 +17569,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
17986
17569
|
var f, obj = {
|
|
17987
17570
|
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17988
17571
|
chatcompleteprompt: (f = msg.getChatcompleteprompt()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
17989
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 6, "0"),
|
|
17990
17572
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
17991
17573
|
endpointmodeloptionsList: jspb.Message.toObjectList(
|
|
17992
17574
|
msg.getEndpointmodeloptionsList(),
|
|
@@ -18024,13 +17606,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18024
17606
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
18025
17607
|
msg.setChatcompleteprompt(value);
|
|
18026
17608
|
break;
|
|
18027
|
-
case 6:
|
|
18028
|
-
var value = (
|
|
18029
|
-
/** @type {string} */
|
|
18030
|
-
reader.readUint64String()
|
|
18031
|
-
);
|
|
18032
|
-
msg.setModelproviderid(value);
|
|
18033
|
-
break;
|
|
18034
17609
|
case 7:
|
|
18035
17610
|
var value = (
|
|
18036
17611
|
/** @type {string} */
|
|
@@ -18072,13 +17647,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18072
17647
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
18073
17648
|
);
|
|
18074
17649
|
}
|
|
18075
|
-
f = message.getModelproviderid();
|
|
18076
|
-
if (parseInt(f, 10) !== 0) {
|
|
18077
|
-
writer.writeUint64String(
|
|
18078
|
-
6,
|
|
18079
|
-
f
|
|
18080
|
-
);
|
|
18081
|
-
}
|
|
18082
17650
|
f = message.getModelprovidername();
|
|
18083
17651
|
if (f.length > 0) {
|
|
18084
17652
|
writer.writeString(
|
|
@@ -18119,15 +17687,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18119
17687
|
proto.endpoint_api.EndpointProviderModelAttribute.prototype.hasChatcompleteprompt = function() {
|
|
18120
17688
|
return jspb.Message.getField(this, 2) != null;
|
|
18121
17689
|
};
|
|
18122
|
-
proto.endpoint_api.EndpointProviderModelAttribute.prototype.getModelproviderid = function() {
|
|
18123
|
-
return (
|
|
18124
|
-
/** @type {string} */
|
|
18125
|
-
jspb.Message.getFieldWithDefault(this, 6, "0")
|
|
18126
|
-
);
|
|
18127
|
-
};
|
|
18128
|
-
proto.endpoint_api.EndpointProviderModelAttribute.prototype.setModelproviderid = function(value) {
|
|
18129
|
-
return jspb.Message.setProto3StringIntField(this, 6, value);
|
|
18130
|
-
};
|
|
18131
17690
|
proto.endpoint_api.EndpointProviderModelAttribute.prototype.getModelprovidername = function() {
|
|
18132
17691
|
return (
|
|
18133
17692
|
/** @type {string} */
|
|
@@ -18494,7 +18053,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18494
18053
|
var f, obj = {
|
|
18495
18054
|
id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
18496
18055
|
chatcompleteprompt: (f = msg.getChatcompleteprompt()) && common_pb.TextChatCompletePrompt.toObject(includeInstance, f),
|
|
18497
|
-
modelproviderid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
18498
18056
|
modelprovidername: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18499
18057
|
endpointmodeloptionsList: jspb.Message.toObjectList(
|
|
18500
18058
|
msg.getEndpointmodeloptionsList(),
|
|
@@ -18541,13 +18099,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18541
18099
|
reader.readMessage(value, common_pb.TextChatCompletePrompt.deserializeBinaryFromReader);
|
|
18542
18100
|
msg.setChatcompleteprompt(value);
|
|
18543
18101
|
break;
|
|
18544
|
-
case 3:
|
|
18545
|
-
var value = (
|
|
18546
|
-
/** @type {string} */
|
|
18547
|
-
reader.readUint64String()
|
|
18548
|
-
);
|
|
18549
|
-
msg.setModelproviderid(value);
|
|
18550
|
-
break;
|
|
18551
18102
|
case 4:
|
|
18552
18103
|
var value = (
|
|
18553
18104
|
/** @type {string} */
|
|
@@ -18644,13 +18195,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18644
18195
|
common_pb.TextChatCompletePrompt.serializeBinaryToWriter
|
|
18645
18196
|
);
|
|
18646
18197
|
}
|
|
18647
|
-
f = message.getModelproviderid();
|
|
18648
|
-
if (parseInt(f, 10) !== 0) {
|
|
18649
|
-
writer.writeUint64String(
|
|
18650
|
-
3,
|
|
18651
|
-
f
|
|
18652
|
-
);
|
|
18653
|
-
}
|
|
18654
18198
|
f = message.getModelprovidername();
|
|
18655
18199
|
if (f.length > 0) {
|
|
18656
18200
|
writer.writeString(
|
|
@@ -18758,15 +18302,6 @@ var require_endpoint_api_pb = __commonJS({
|
|
|
18758
18302
|
proto.endpoint_api.EndpointProviderModel.prototype.hasChatcompleteprompt = function() {
|
|
18759
18303
|
return jspb.Message.getField(this, 2) != null;
|
|
18760
18304
|
};
|
|
18761
|
-
proto.endpoint_api.EndpointProviderModel.prototype.getModelproviderid = function() {
|
|
18762
|
-
return (
|
|
18763
|
-
/** @type {string} */
|
|
18764
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
18765
|
-
);
|
|
18766
|
-
};
|
|
18767
|
-
proto.endpoint_api.EndpointProviderModel.prototype.setModelproviderid = function(value) {
|
|
18768
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
18769
|
-
};
|
|
18770
18305
|
proto.endpoint_api.EndpointProviderModel.prototype.getModelprovidername = function() {
|
|
18771
18306
|
return (
|
|
18772
18307
|
/** @type {string} */
|
|
@@ -25623,28 +25158,10 @@ var require_connect_api_pb = __commonJS({
|
|
|
25623
25158
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
25624
25159
|
var common_pb = require_common_pb();
|
|
25625
25160
|
goog.object.extend(proto, common_pb);
|
|
25626
|
-
goog.exportSymbol("proto.connect_api.ActionConnectRequest", null, global);
|
|
25627
|
-
goog.exportSymbol("proto.connect_api.ActionConnectResponse", null, global);
|
|
25628
25161
|
goog.exportSymbol("proto.connect_api.GeneralConnectRequest", null, global);
|
|
25629
25162
|
goog.exportSymbol("proto.connect_api.GeneralConnectResponse", null, global);
|
|
25630
25163
|
goog.exportSymbol("proto.connect_api.GetConnectorFilesRequest", null, global);
|
|
25631
25164
|
goog.exportSymbol("proto.connect_api.GetConnectorFilesResponse", null, global);
|
|
25632
|
-
goog.exportSymbol("proto.connect_api.KnowledgeConnectRequest", null, global);
|
|
25633
|
-
goog.exportSymbol("proto.connect_api.KnowledgeConnectResponse", null, global);
|
|
25634
|
-
proto.connect_api.KnowledgeConnectRequest = function(opt_data) {
|
|
25635
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
25636
|
-
};
|
|
25637
|
-
goog.inherits(proto.connect_api.KnowledgeConnectRequest, jspb.Message);
|
|
25638
|
-
if (goog.DEBUG && !COMPILED) {
|
|
25639
|
-
proto.connect_api.KnowledgeConnectRequest.displayName = "proto.connect_api.KnowledgeConnectRequest";
|
|
25640
|
-
}
|
|
25641
|
-
proto.connect_api.KnowledgeConnectResponse = function(opt_data) {
|
|
25642
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
25643
|
-
};
|
|
25644
|
-
goog.inherits(proto.connect_api.KnowledgeConnectResponse, jspb.Message);
|
|
25645
|
-
if (goog.DEBUG && !COMPILED) {
|
|
25646
|
-
proto.connect_api.KnowledgeConnectResponse.displayName = "proto.connect_api.KnowledgeConnectResponse";
|
|
25647
|
-
}
|
|
25648
25165
|
proto.connect_api.GeneralConnectRequest = function(opt_data) {
|
|
25649
25166
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
25650
25167
|
};
|
|
@@ -25659,20 +25176,6 @@ var require_connect_api_pb = __commonJS({
|
|
|
25659
25176
|
if (goog.DEBUG && !COMPILED) {
|
|
25660
25177
|
proto.connect_api.GeneralConnectResponse.displayName = "proto.connect_api.GeneralConnectResponse";
|
|
25661
25178
|
}
|
|
25662
|
-
proto.connect_api.ActionConnectRequest = function(opt_data) {
|
|
25663
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
25664
|
-
};
|
|
25665
|
-
goog.inherits(proto.connect_api.ActionConnectRequest, jspb.Message);
|
|
25666
|
-
if (goog.DEBUG && !COMPILED) {
|
|
25667
|
-
proto.connect_api.ActionConnectRequest.displayName = "proto.connect_api.ActionConnectRequest";
|
|
25668
|
-
}
|
|
25669
|
-
proto.connect_api.ActionConnectResponse = function(opt_data) {
|
|
25670
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
25671
|
-
};
|
|
25672
|
-
goog.inherits(proto.connect_api.ActionConnectResponse, jspb.Message);
|
|
25673
|
-
if (goog.DEBUG && !COMPILED) {
|
|
25674
|
-
proto.connect_api.ActionConnectResponse.displayName = "proto.connect_api.ActionConnectResponse";
|
|
25675
|
-
}
|
|
25676
25179
|
proto.connect_api.GetConnectorFilesRequest = function(opt_data) {
|
|
25677
25180
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.connect_api.GetConnectorFilesRequest.repeatedFields_, null);
|
|
25678
25181
|
};
|
|
@@ -25688,10 +25191,10 @@ var require_connect_api_pb = __commonJS({
|
|
|
25688
25191
|
proto.connect_api.GetConnectorFilesResponse.displayName = "proto.connect_api.GetConnectorFilesResponse";
|
|
25689
25192
|
}
|
|
25690
25193
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25691
|
-
proto.connect_api.
|
|
25692
|
-
return proto.connect_api.
|
|
25194
|
+
proto.connect_api.GeneralConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
25195
|
+
return proto.connect_api.GeneralConnectRequest.toObject(opt_includeInstance, this);
|
|
25693
25196
|
};
|
|
25694
|
-
proto.connect_api.
|
|
25197
|
+
proto.connect_api.GeneralConnectRequest.toObject = function(includeInstance, msg) {
|
|
25695
25198
|
var f, obj = {
|
|
25696
25199
|
state: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
25697
25200
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -25704,12 +25207,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
25704
25207
|
return obj;
|
|
25705
25208
|
};
|
|
25706
25209
|
}
|
|
25707
|
-
proto.connect_api.
|
|
25210
|
+
proto.connect_api.GeneralConnectRequest.deserializeBinary = function(bytes) {
|
|
25708
25211
|
var reader = new jspb.BinaryReader(bytes);
|
|
25709
|
-
var msg = new proto.connect_api.
|
|
25710
|
-
return proto.connect_api.
|
|
25212
|
+
var msg = new proto.connect_api.GeneralConnectRequest();
|
|
25213
|
+
return proto.connect_api.GeneralConnectRequest.deserializeBinaryFromReader(msg, reader);
|
|
25711
25214
|
};
|
|
25712
|
-
proto.connect_api.
|
|
25215
|
+
proto.connect_api.GeneralConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
25713
25216
|
while (reader.nextField()) {
|
|
25714
25217
|
if (reader.isEndGroup()) {
|
|
25715
25218
|
break;
|
|
@@ -25751,12 +25254,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
25751
25254
|
}
|
|
25752
25255
|
return msg;
|
|
25753
25256
|
};
|
|
25754
|
-
proto.connect_api.
|
|
25257
|
+
proto.connect_api.GeneralConnectRequest.prototype.serializeBinary = function() {
|
|
25755
25258
|
var writer = new jspb.BinaryWriter();
|
|
25756
|
-
proto.connect_api.
|
|
25259
|
+
proto.connect_api.GeneralConnectRequest.serializeBinaryToWriter(this, writer);
|
|
25757
25260
|
return writer.getResultBuffer();
|
|
25758
25261
|
};
|
|
25759
|
-
proto.connect_api.
|
|
25262
|
+
proto.connect_api.GeneralConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
25760
25263
|
var f = void 0;
|
|
25761
25264
|
f = message.getState();
|
|
25762
25265
|
if (f.length > 0) {
|
|
@@ -25787,51 +25290,51 @@ var require_connect_api_pb = __commonJS({
|
|
|
25787
25290
|
);
|
|
25788
25291
|
}
|
|
25789
25292
|
};
|
|
25790
|
-
proto.connect_api.
|
|
25293
|
+
proto.connect_api.GeneralConnectRequest.prototype.getState = function() {
|
|
25791
25294
|
return (
|
|
25792
25295
|
/** @type {string} */
|
|
25793
25296
|
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
25794
25297
|
);
|
|
25795
25298
|
};
|
|
25796
|
-
proto.connect_api.
|
|
25299
|
+
proto.connect_api.GeneralConnectRequest.prototype.setState = function(value) {
|
|
25797
25300
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
25798
25301
|
};
|
|
25799
|
-
proto.connect_api.
|
|
25302
|
+
proto.connect_api.GeneralConnectRequest.prototype.getCode = function() {
|
|
25800
25303
|
return (
|
|
25801
25304
|
/** @type {string} */
|
|
25802
25305
|
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
25803
25306
|
);
|
|
25804
25307
|
};
|
|
25805
|
-
proto.connect_api.
|
|
25308
|
+
proto.connect_api.GeneralConnectRequest.prototype.setCode = function(value) {
|
|
25806
25309
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
25807
25310
|
};
|
|
25808
|
-
proto.connect_api.
|
|
25311
|
+
proto.connect_api.GeneralConnectRequest.prototype.getScope = function() {
|
|
25809
25312
|
return (
|
|
25810
25313
|
/** @type {string} */
|
|
25811
25314
|
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
25812
25315
|
);
|
|
25813
25316
|
};
|
|
25814
|
-
proto.connect_api.
|
|
25317
|
+
proto.connect_api.GeneralConnectRequest.prototype.setScope = function(value) {
|
|
25815
25318
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
25816
25319
|
};
|
|
25817
|
-
proto.connect_api.
|
|
25320
|
+
proto.connect_api.GeneralConnectRequest.prototype.getConnect = function() {
|
|
25818
25321
|
return (
|
|
25819
25322
|
/** @type {string} */
|
|
25820
25323
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
25821
25324
|
);
|
|
25822
25325
|
};
|
|
25823
|
-
proto.connect_api.
|
|
25326
|
+
proto.connect_api.GeneralConnectRequest.prototype.setConnect = function(value) {
|
|
25824
25327
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
25825
25328
|
};
|
|
25826
25329
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25827
|
-
proto.connect_api.
|
|
25828
|
-
return proto.connect_api.
|
|
25330
|
+
proto.connect_api.GeneralConnectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
25331
|
+
return proto.connect_api.GeneralConnectResponse.toObject(opt_includeInstance, this);
|
|
25829
25332
|
};
|
|
25830
|
-
proto.connect_api.
|
|
25333
|
+
proto.connect_api.GeneralConnectResponse.toObject = function(includeInstance, msg) {
|
|
25831
25334
|
var f, obj = {
|
|
25832
25335
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25833
25336
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
25834
|
-
|
|
25337
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
25835
25338
|
redirectto: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
25836
25339
|
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f)
|
|
25837
25340
|
};
|
|
@@ -25841,12 +25344,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
25841
25344
|
return obj;
|
|
25842
25345
|
};
|
|
25843
25346
|
}
|
|
25844
|
-
proto.connect_api.
|
|
25347
|
+
proto.connect_api.GeneralConnectResponse.deserializeBinary = function(bytes) {
|
|
25845
25348
|
var reader = new jspb.BinaryReader(bytes);
|
|
25846
|
-
var msg = new proto.connect_api.
|
|
25847
|
-
return proto.connect_api.
|
|
25349
|
+
var msg = new proto.connect_api.GeneralConnectResponse();
|
|
25350
|
+
return proto.connect_api.GeneralConnectResponse.deserializeBinaryFromReader(msg, reader);
|
|
25848
25351
|
};
|
|
25849
|
-
proto.connect_api.
|
|
25352
|
+
proto.connect_api.GeneralConnectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
25850
25353
|
while (reader.nextField()) {
|
|
25851
25354
|
if (reader.isEndGroup()) {
|
|
25852
25355
|
break;
|
|
@@ -25870,9 +25373,9 @@ var require_connect_api_pb = __commonJS({
|
|
|
25870
25373
|
case 3:
|
|
25871
25374
|
var value = (
|
|
25872
25375
|
/** @type {string} */
|
|
25873
|
-
reader.
|
|
25376
|
+
reader.readString()
|
|
25874
25377
|
);
|
|
25875
|
-
msg.
|
|
25378
|
+
msg.setProvider(value);
|
|
25876
25379
|
break;
|
|
25877
25380
|
case 4:
|
|
25878
25381
|
var value = (
|
|
@@ -25893,12 +25396,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
25893
25396
|
}
|
|
25894
25397
|
return msg;
|
|
25895
25398
|
};
|
|
25896
|
-
proto.connect_api.
|
|
25399
|
+
proto.connect_api.GeneralConnectResponse.prototype.serializeBinary = function() {
|
|
25897
25400
|
var writer = new jspb.BinaryWriter();
|
|
25898
|
-
proto.connect_api.
|
|
25401
|
+
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter(this, writer);
|
|
25899
25402
|
return writer.getResultBuffer();
|
|
25900
25403
|
};
|
|
25901
|
-
proto.connect_api.
|
|
25404
|
+
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
25902
25405
|
var f = void 0;
|
|
25903
25406
|
f = message.getCode();
|
|
25904
25407
|
if (f !== 0) {
|
|
@@ -25914,9 +25417,9 @@ var require_connect_api_pb = __commonJS({
|
|
|
25914
25417
|
f
|
|
25915
25418
|
);
|
|
25916
25419
|
}
|
|
25917
|
-
f = message.
|
|
25918
|
-
if (
|
|
25919
|
-
writer.
|
|
25420
|
+
f = message.getProvider();
|
|
25421
|
+
if (f.length > 0) {
|
|
25422
|
+
writer.writeString(
|
|
25920
25423
|
3,
|
|
25921
25424
|
f
|
|
25922
25425
|
);
|
|
@@ -25937,67 +25440,71 @@ var require_connect_api_pb = __commonJS({
|
|
|
25937
25440
|
);
|
|
25938
25441
|
}
|
|
25939
25442
|
};
|
|
25940
|
-
proto.connect_api.
|
|
25443
|
+
proto.connect_api.GeneralConnectResponse.prototype.getCode = function() {
|
|
25941
25444
|
return (
|
|
25942
25445
|
/** @type {number} */
|
|
25943
25446
|
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
25944
25447
|
);
|
|
25945
25448
|
};
|
|
25946
|
-
proto.connect_api.
|
|
25449
|
+
proto.connect_api.GeneralConnectResponse.prototype.setCode = function(value) {
|
|
25947
25450
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
25948
25451
|
};
|
|
25949
|
-
proto.connect_api.
|
|
25452
|
+
proto.connect_api.GeneralConnectResponse.prototype.getSuccess = function() {
|
|
25950
25453
|
return (
|
|
25951
25454
|
/** @type {boolean} */
|
|
25952
25455
|
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
25953
25456
|
);
|
|
25954
25457
|
};
|
|
25955
|
-
proto.connect_api.
|
|
25458
|
+
proto.connect_api.GeneralConnectResponse.prototype.setSuccess = function(value) {
|
|
25956
25459
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
25957
25460
|
};
|
|
25958
|
-
proto.connect_api.
|
|
25461
|
+
proto.connect_api.GeneralConnectResponse.prototype.getProvider = function() {
|
|
25959
25462
|
return (
|
|
25960
25463
|
/** @type {string} */
|
|
25961
|
-
jspb.Message.getFieldWithDefault(this, 3, "
|
|
25464
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
25962
25465
|
);
|
|
25963
25466
|
};
|
|
25964
|
-
proto.connect_api.
|
|
25965
|
-
return jspb.Message.
|
|
25467
|
+
proto.connect_api.GeneralConnectResponse.prototype.setProvider = function(value) {
|
|
25468
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
25966
25469
|
};
|
|
25967
|
-
proto.connect_api.
|
|
25470
|
+
proto.connect_api.GeneralConnectResponse.prototype.getRedirectto = function() {
|
|
25968
25471
|
return (
|
|
25969
25472
|
/** @type {string} */
|
|
25970
25473
|
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
25971
25474
|
);
|
|
25972
25475
|
};
|
|
25973
|
-
proto.connect_api.
|
|
25476
|
+
proto.connect_api.GeneralConnectResponse.prototype.setRedirectto = function(value) {
|
|
25974
25477
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
25975
25478
|
};
|
|
25976
|
-
proto.connect_api.
|
|
25479
|
+
proto.connect_api.GeneralConnectResponse.prototype.getError = function() {
|
|
25977
25480
|
return (
|
|
25978
25481
|
/** @type{?proto.Error} */
|
|
25979
25482
|
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
25980
25483
|
);
|
|
25981
25484
|
};
|
|
25982
|
-
proto.connect_api.
|
|
25485
|
+
proto.connect_api.GeneralConnectResponse.prototype.setError = function(value) {
|
|
25983
25486
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
25984
25487
|
};
|
|
25985
|
-
proto.connect_api.
|
|
25488
|
+
proto.connect_api.GeneralConnectResponse.prototype.clearError = function() {
|
|
25986
25489
|
return this.setError(void 0);
|
|
25987
25490
|
};
|
|
25988
|
-
proto.connect_api.
|
|
25491
|
+
proto.connect_api.GeneralConnectResponse.prototype.hasError = function() {
|
|
25989
25492
|
return jspb.Message.getField(this, 5) != null;
|
|
25990
25493
|
};
|
|
25494
|
+
proto.connect_api.GetConnectorFilesRequest.repeatedFields_ = [2];
|
|
25991
25495
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25992
|
-
proto.connect_api.
|
|
25993
|
-
return proto.connect_api.
|
|
25496
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
25497
|
+
return proto.connect_api.GetConnectorFilesRequest.toObject(opt_includeInstance, this);
|
|
25994
25498
|
};
|
|
25995
|
-
proto.connect_api.
|
|
25499
|
+
proto.connect_api.GetConnectorFilesRequest.toObject = function(includeInstance, msg) {
|
|
25996
25500
|
var f, obj = {
|
|
25997
|
-
|
|
25998
|
-
|
|
25999
|
-
|
|
26000
|
-
|
|
25501
|
+
paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
|
|
25502
|
+
criteriasList: jspb.Message.toObjectList(
|
|
25503
|
+
msg.getCriteriasList(),
|
|
25504
|
+
common_pb.Criteria.toObject,
|
|
25505
|
+
includeInstance
|
|
25506
|
+
),
|
|
25507
|
+
provider: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
26001
25508
|
};
|
|
26002
25509
|
if (includeInstance) {
|
|
26003
25510
|
obj.$jspbMessageInstance = msg;
|
|
@@ -26005,12 +25512,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
26005
25512
|
return obj;
|
|
26006
25513
|
};
|
|
26007
25514
|
}
|
|
26008
|
-
proto.connect_api.
|
|
25515
|
+
proto.connect_api.GetConnectorFilesRequest.deserializeBinary = function(bytes) {
|
|
26009
25516
|
var reader = new jspb.BinaryReader(bytes);
|
|
26010
|
-
var msg = new proto.connect_api.
|
|
26011
|
-
return proto.connect_api.
|
|
25517
|
+
var msg = new proto.connect_api.GetConnectorFilesRequest();
|
|
25518
|
+
return proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
26012
25519
|
};
|
|
26013
|
-
proto.connect_api.
|
|
25520
|
+
proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
26014
25521
|
while (reader.nextField()) {
|
|
26015
25522
|
if (reader.isEndGroup()) {
|
|
26016
25523
|
break;
|
|
@@ -26018,32 +25525,21 @@ var require_connect_api_pb = __commonJS({
|
|
|
26018
25525
|
var field = reader.getFieldNumber();
|
|
26019
25526
|
switch (field) {
|
|
26020
25527
|
case 1:
|
|
26021
|
-
var value = (
|
|
26022
|
-
|
|
26023
|
-
|
|
26024
|
-
);
|
|
26025
|
-
msg.setState(value);
|
|
25528
|
+
var value = new common_pb.Paginate();
|
|
25529
|
+
reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
|
|
25530
|
+
msg.setPaginate(value);
|
|
26026
25531
|
break;
|
|
26027
25532
|
case 2:
|
|
26028
|
-
var value = (
|
|
26029
|
-
|
|
26030
|
-
|
|
26031
|
-
);
|
|
26032
|
-
msg.setCode(value);
|
|
25533
|
+
var value = new common_pb.Criteria();
|
|
25534
|
+
reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
|
|
25535
|
+
msg.addCriterias(value);
|
|
26033
25536
|
break;
|
|
26034
25537
|
case 3:
|
|
26035
25538
|
var value = (
|
|
26036
25539
|
/** @type {string} */
|
|
26037
25540
|
reader.readString()
|
|
26038
25541
|
);
|
|
26039
|
-
msg.
|
|
26040
|
-
break;
|
|
26041
|
-
case 4:
|
|
26042
|
-
var value = (
|
|
26043
|
-
/** @type {string} */
|
|
26044
|
-
reader.readString()
|
|
26045
|
-
);
|
|
26046
|
-
msg.setConnect(value);
|
|
25542
|
+
msg.setProvider(value);
|
|
26047
25543
|
break;
|
|
26048
25544
|
default:
|
|
26049
25545
|
reader.skipField();
|
|
@@ -26052,89 +25548,93 @@ var require_connect_api_pb = __commonJS({
|
|
|
26052
25548
|
}
|
|
26053
25549
|
return msg;
|
|
26054
25550
|
};
|
|
26055
|
-
proto.connect_api.
|
|
25551
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.serializeBinary = function() {
|
|
26056
25552
|
var writer = new jspb.BinaryWriter();
|
|
26057
|
-
proto.connect_api.
|
|
25553
|
+
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter(this, writer);
|
|
26058
25554
|
return writer.getResultBuffer();
|
|
26059
25555
|
};
|
|
26060
|
-
proto.connect_api.
|
|
25556
|
+
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
26061
25557
|
var f = void 0;
|
|
26062
|
-
f = message.
|
|
26063
|
-
if (f
|
|
26064
|
-
writer.
|
|
25558
|
+
f = message.getPaginate();
|
|
25559
|
+
if (f != null) {
|
|
25560
|
+
writer.writeMessage(
|
|
26065
25561
|
1,
|
|
26066
|
-
f
|
|
25562
|
+
f,
|
|
25563
|
+
common_pb.Paginate.serializeBinaryToWriter
|
|
26067
25564
|
);
|
|
26068
25565
|
}
|
|
26069
|
-
f = message.
|
|
25566
|
+
f = message.getCriteriasList();
|
|
26070
25567
|
if (f.length > 0) {
|
|
26071
|
-
writer.
|
|
25568
|
+
writer.writeRepeatedMessage(
|
|
26072
25569
|
2,
|
|
26073
|
-
f
|
|
25570
|
+
f,
|
|
25571
|
+
common_pb.Criteria.serializeBinaryToWriter
|
|
26074
25572
|
);
|
|
26075
25573
|
}
|
|
26076
|
-
f = message.
|
|
25574
|
+
f = message.getProvider();
|
|
26077
25575
|
if (f.length > 0) {
|
|
26078
25576
|
writer.writeString(
|
|
26079
25577
|
3,
|
|
26080
25578
|
f
|
|
26081
25579
|
);
|
|
26082
25580
|
}
|
|
26083
|
-
f = message.getConnect();
|
|
26084
|
-
if (f.length > 0) {
|
|
26085
|
-
writer.writeString(
|
|
26086
|
-
4,
|
|
26087
|
-
f
|
|
26088
|
-
);
|
|
26089
|
-
}
|
|
26090
25581
|
};
|
|
26091
|
-
proto.connect_api.
|
|
25582
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getPaginate = function() {
|
|
26092
25583
|
return (
|
|
26093
|
-
/** @type
|
|
26094
|
-
jspb.Message.
|
|
25584
|
+
/** @type{?proto.Paginate} */
|
|
25585
|
+
jspb.Message.getWrapperField(this, common_pb.Paginate, 1)
|
|
26095
25586
|
);
|
|
26096
25587
|
};
|
|
26097
|
-
proto.connect_api.
|
|
26098
|
-
return jspb.Message.
|
|
25588
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setPaginate = function(value) {
|
|
25589
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
26099
25590
|
};
|
|
26100
|
-
proto.connect_api.
|
|
26101
|
-
return (
|
|
26102
|
-
/** @type {string} */
|
|
26103
|
-
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
26104
|
-
);
|
|
25591
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.clearPaginate = function() {
|
|
25592
|
+
return this.setPaginate(void 0);
|
|
26105
25593
|
};
|
|
26106
|
-
proto.connect_api.
|
|
26107
|
-
return jspb.Message.
|
|
25594
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.hasPaginate = function() {
|
|
25595
|
+
return jspb.Message.getField(this, 1) != null;
|
|
26108
25596
|
};
|
|
26109
|
-
proto.connect_api.
|
|
25597
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getCriteriasList = function() {
|
|
26110
25598
|
return (
|
|
26111
|
-
/** @type
|
|
26112
|
-
jspb.Message.
|
|
25599
|
+
/** @type{!Array<!proto.Criteria>} */
|
|
25600
|
+
jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 2)
|
|
26113
25601
|
);
|
|
26114
25602
|
};
|
|
26115
|
-
proto.connect_api.
|
|
26116
|
-
return jspb.Message.
|
|
25603
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setCriteriasList = function(value) {
|
|
25604
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
26117
25605
|
};
|
|
26118
|
-
proto.connect_api.
|
|
25606
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.addCriterias = function(opt_value, opt_index) {
|
|
25607
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Criteria, opt_index);
|
|
25608
|
+
};
|
|
25609
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.clearCriteriasList = function() {
|
|
25610
|
+
return this.setCriteriasList([]);
|
|
25611
|
+
};
|
|
25612
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.getProvider = function() {
|
|
26119
25613
|
return (
|
|
26120
25614
|
/** @type {string} */
|
|
26121
|
-
jspb.Message.getFieldWithDefault(this,
|
|
25615
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
26122
25616
|
);
|
|
26123
25617
|
};
|
|
26124
|
-
proto.connect_api.
|
|
26125
|
-
return jspb.Message.setProto3StringField(this,
|
|
25618
|
+
proto.connect_api.GetConnectorFilesRequest.prototype.setProvider = function(value) {
|
|
25619
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
26126
25620
|
};
|
|
25621
|
+
proto.connect_api.GetConnectorFilesResponse.repeatedFields_ = [3];
|
|
26127
25622
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26128
|
-
proto.connect_api.
|
|
26129
|
-
return proto.connect_api.
|
|
25623
|
+
proto.connect_api.GetConnectorFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
25624
|
+
return proto.connect_api.GetConnectorFilesResponse.toObject(opt_includeInstance, this);
|
|
26130
25625
|
};
|
|
26131
|
-
proto.connect_api.
|
|
25626
|
+
proto.connect_api.GetConnectorFilesResponse.toObject = function(includeInstance, msg) {
|
|
26132
25627
|
var f, obj = {
|
|
26133
25628
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26134
25629
|
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
26135
|
-
|
|
26136
|
-
|
|
26137
|
-
|
|
25630
|
+
dataList: jspb.Message.toObjectList(
|
|
25631
|
+
msg.getDataList(),
|
|
25632
|
+
google_protobuf_struct_pb.Struct.toObject,
|
|
25633
|
+
includeInstance
|
|
25634
|
+
),
|
|
25635
|
+
paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f),
|
|
25636
|
+
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
25637
|
+
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, void 0) : []
|
|
26138
25638
|
};
|
|
26139
25639
|
if (includeInstance) {
|
|
26140
25640
|
obj.$jspbMessageInstance = msg;
|
|
@@ -26142,611 +25642,12 @@ var require_connect_api_pb = __commonJS({
|
|
|
26142
25642
|
return obj;
|
|
26143
25643
|
};
|
|
26144
25644
|
}
|
|
26145
|
-
proto.connect_api.
|
|
25645
|
+
proto.connect_api.GetConnectorFilesResponse.deserializeBinary = function(bytes) {
|
|
26146
25646
|
var reader = new jspb.BinaryReader(bytes);
|
|
26147
|
-
var msg = new proto.connect_api.
|
|
26148
|
-
return proto.connect_api.
|
|
25647
|
+
var msg = new proto.connect_api.GetConnectorFilesResponse();
|
|
25648
|
+
return proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
26149
25649
|
};
|
|
26150
|
-
proto.connect_api.
|
|
26151
|
-
while (reader.nextField()) {
|
|
26152
|
-
if (reader.isEndGroup()) {
|
|
26153
|
-
break;
|
|
26154
|
-
}
|
|
26155
|
-
var field = reader.getFieldNumber();
|
|
26156
|
-
switch (field) {
|
|
26157
|
-
case 1:
|
|
26158
|
-
var value = (
|
|
26159
|
-
/** @type {number} */
|
|
26160
|
-
reader.readInt32()
|
|
26161
|
-
);
|
|
26162
|
-
msg.setCode(value);
|
|
26163
|
-
break;
|
|
26164
|
-
case 2:
|
|
26165
|
-
var value = (
|
|
26166
|
-
/** @type {boolean} */
|
|
26167
|
-
reader.readBool()
|
|
26168
|
-
);
|
|
26169
|
-
msg.setSuccess(value);
|
|
26170
|
-
break;
|
|
26171
|
-
case 3:
|
|
26172
|
-
var value = (
|
|
26173
|
-
/** @type {string} */
|
|
26174
|
-
reader.readUint64String()
|
|
26175
|
-
);
|
|
26176
|
-
msg.setToolid(value);
|
|
26177
|
-
break;
|
|
26178
|
-
case 4:
|
|
26179
|
-
var value = (
|
|
26180
|
-
/** @type {string} */
|
|
26181
|
-
reader.readString()
|
|
26182
|
-
);
|
|
26183
|
-
msg.setRedirectto(value);
|
|
26184
|
-
break;
|
|
26185
|
-
case 5:
|
|
26186
|
-
var value = new common_pb.Error();
|
|
26187
|
-
reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
|
|
26188
|
-
msg.setError(value);
|
|
26189
|
-
break;
|
|
26190
|
-
default:
|
|
26191
|
-
reader.skipField();
|
|
26192
|
-
break;
|
|
26193
|
-
}
|
|
26194
|
-
}
|
|
26195
|
-
return msg;
|
|
26196
|
-
};
|
|
26197
|
-
proto.connect_api.GeneralConnectResponse.prototype.serializeBinary = function() {
|
|
26198
|
-
var writer = new jspb.BinaryWriter();
|
|
26199
|
-
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter(this, writer);
|
|
26200
|
-
return writer.getResultBuffer();
|
|
26201
|
-
};
|
|
26202
|
-
proto.connect_api.GeneralConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
26203
|
-
var f = void 0;
|
|
26204
|
-
f = message.getCode();
|
|
26205
|
-
if (f !== 0) {
|
|
26206
|
-
writer.writeInt32(
|
|
26207
|
-
1,
|
|
26208
|
-
f
|
|
26209
|
-
);
|
|
26210
|
-
}
|
|
26211
|
-
f = message.getSuccess();
|
|
26212
|
-
if (f) {
|
|
26213
|
-
writer.writeBool(
|
|
26214
|
-
2,
|
|
26215
|
-
f
|
|
26216
|
-
);
|
|
26217
|
-
}
|
|
26218
|
-
f = message.getToolid();
|
|
26219
|
-
if (parseInt(f, 10) !== 0) {
|
|
26220
|
-
writer.writeUint64String(
|
|
26221
|
-
3,
|
|
26222
|
-
f
|
|
26223
|
-
);
|
|
26224
|
-
}
|
|
26225
|
-
f = message.getRedirectto();
|
|
26226
|
-
if (f.length > 0) {
|
|
26227
|
-
writer.writeString(
|
|
26228
|
-
4,
|
|
26229
|
-
f
|
|
26230
|
-
);
|
|
26231
|
-
}
|
|
26232
|
-
f = message.getError();
|
|
26233
|
-
if (f != null) {
|
|
26234
|
-
writer.writeMessage(
|
|
26235
|
-
5,
|
|
26236
|
-
f,
|
|
26237
|
-
common_pb.Error.serializeBinaryToWriter
|
|
26238
|
-
);
|
|
26239
|
-
}
|
|
26240
|
-
};
|
|
26241
|
-
proto.connect_api.GeneralConnectResponse.prototype.getCode = function() {
|
|
26242
|
-
return (
|
|
26243
|
-
/** @type {number} */
|
|
26244
|
-
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
26245
|
-
);
|
|
26246
|
-
};
|
|
26247
|
-
proto.connect_api.GeneralConnectResponse.prototype.setCode = function(value) {
|
|
26248
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
26249
|
-
};
|
|
26250
|
-
proto.connect_api.GeneralConnectResponse.prototype.getSuccess = function() {
|
|
26251
|
-
return (
|
|
26252
|
-
/** @type {boolean} */
|
|
26253
|
-
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
26254
|
-
);
|
|
26255
|
-
};
|
|
26256
|
-
proto.connect_api.GeneralConnectResponse.prototype.setSuccess = function(value) {
|
|
26257
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
26258
|
-
};
|
|
26259
|
-
proto.connect_api.GeneralConnectResponse.prototype.getToolid = function() {
|
|
26260
|
-
return (
|
|
26261
|
-
/** @type {string} */
|
|
26262
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
26263
|
-
);
|
|
26264
|
-
};
|
|
26265
|
-
proto.connect_api.GeneralConnectResponse.prototype.setToolid = function(value) {
|
|
26266
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
26267
|
-
};
|
|
26268
|
-
proto.connect_api.GeneralConnectResponse.prototype.getRedirectto = function() {
|
|
26269
|
-
return (
|
|
26270
|
-
/** @type {string} */
|
|
26271
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
26272
|
-
);
|
|
26273
|
-
};
|
|
26274
|
-
proto.connect_api.GeneralConnectResponse.prototype.setRedirectto = function(value) {
|
|
26275
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
26276
|
-
};
|
|
26277
|
-
proto.connect_api.GeneralConnectResponse.prototype.getError = function() {
|
|
26278
|
-
return (
|
|
26279
|
-
/** @type{?proto.Error} */
|
|
26280
|
-
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
26281
|
-
);
|
|
26282
|
-
};
|
|
26283
|
-
proto.connect_api.GeneralConnectResponse.prototype.setError = function(value) {
|
|
26284
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
26285
|
-
};
|
|
26286
|
-
proto.connect_api.GeneralConnectResponse.prototype.clearError = function() {
|
|
26287
|
-
return this.setError(void 0);
|
|
26288
|
-
};
|
|
26289
|
-
proto.connect_api.GeneralConnectResponse.prototype.hasError = function() {
|
|
26290
|
-
return jspb.Message.getField(this, 5) != null;
|
|
26291
|
-
};
|
|
26292
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26293
|
-
proto.connect_api.ActionConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
26294
|
-
return proto.connect_api.ActionConnectRequest.toObject(opt_includeInstance, this);
|
|
26295
|
-
};
|
|
26296
|
-
proto.connect_api.ActionConnectRequest.toObject = function(includeInstance, msg) {
|
|
26297
|
-
var f, obj = {
|
|
26298
|
-
state: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
26299
|
-
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
26300
|
-
scope: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
26301
|
-
connect: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
26302
|
-
};
|
|
26303
|
-
if (includeInstance) {
|
|
26304
|
-
obj.$jspbMessageInstance = msg;
|
|
26305
|
-
}
|
|
26306
|
-
return obj;
|
|
26307
|
-
};
|
|
26308
|
-
}
|
|
26309
|
-
proto.connect_api.ActionConnectRequest.deserializeBinary = function(bytes) {
|
|
26310
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
26311
|
-
var msg = new proto.connect_api.ActionConnectRequest();
|
|
26312
|
-
return proto.connect_api.ActionConnectRequest.deserializeBinaryFromReader(msg, reader);
|
|
26313
|
-
};
|
|
26314
|
-
proto.connect_api.ActionConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
26315
|
-
while (reader.nextField()) {
|
|
26316
|
-
if (reader.isEndGroup()) {
|
|
26317
|
-
break;
|
|
26318
|
-
}
|
|
26319
|
-
var field = reader.getFieldNumber();
|
|
26320
|
-
switch (field) {
|
|
26321
|
-
case 1:
|
|
26322
|
-
var value = (
|
|
26323
|
-
/** @type {string} */
|
|
26324
|
-
reader.readString()
|
|
26325
|
-
);
|
|
26326
|
-
msg.setState(value);
|
|
26327
|
-
break;
|
|
26328
|
-
case 2:
|
|
26329
|
-
var value = (
|
|
26330
|
-
/** @type {string} */
|
|
26331
|
-
reader.readString()
|
|
26332
|
-
);
|
|
26333
|
-
msg.setCode(value);
|
|
26334
|
-
break;
|
|
26335
|
-
case 3:
|
|
26336
|
-
var value = (
|
|
26337
|
-
/** @type {string} */
|
|
26338
|
-
reader.readString()
|
|
26339
|
-
);
|
|
26340
|
-
msg.setScope(value);
|
|
26341
|
-
break;
|
|
26342
|
-
case 4:
|
|
26343
|
-
var value = (
|
|
26344
|
-
/** @type {string} */
|
|
26345
|
-
reader.readString()
|
|
26346
|
-
);
|
|
26347
|
-
msg.setConnect(value);
|
|
26348
|
-
break;
|
|
26349
|
-
default:
|
|
26350
|
-
reader.skipField();
|
|
26351
|
-
break;
|
|
26352
|
-
}
|
|
26353
|
-
}
|
|
26354
|
-
return msg;
|
|
26355
|
-
};
|
|
26356
|
-
proto.connect_api.ActionConnectRequest.prototype.serializeBinary = function() {
|
|
26357
|
-
var writer = new jspb.BinaryWriter();
|
|
26358
|
-
proto.connect_api.ActionConnectRequest.serializeBinaryToWriter(this, writer);
|
|
26359
|
-
return writer.getResultBuffer();
|
|
26360
|
-
};
|
|
26361
|
-
proto.connect_api.ActionConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
26362
|
-
var f = void 0;
|
|
26363
|
-
f = message.getState();
|
|
26364
|
-
if (f.length > 0) {
|
|
26365
|
-
writer.writeString(
|
|
26366
|
-
1,
|
|
26367
|
-
f
|
|
26368
|
-
);
|
|
26369
|
-
}
|
|
26370
|
-
f = message.getCode();
|
|
26371
|
-
if (f.length > 0) {
|
|
26372
|
-
writer.writeString(
|
|
26373
|
-
2,
|
|
26374
|
-
f
|
|
26375
|
-
);
|
|
26376
|
-
}
|
|
26377
|
-
f = message.getScope();
|
|
26378
|
-
if (f.length > 0) {
|
|
26379
|
-
writer.writeString(
|
|
26380
|
-
3,
|
|
26381
|
-
f
|
|
26382
|
-
);
|
|
26383
|
-
}
|
|
26384
|
-
f = message.getConnect();
|
|
26385
|
-
if (f.length > 0) {
|
|
26386
|
-
writer.writeString(
|
|
26387
|
-
4,
|
|
26388
|
-
f
|
|
26389
|
-
);
|
|
26390
|
-
}
|
|
26391
|
-
};
|
|
26392
|
-
proto.connect_api.ActionConnectRequest.prototype.getState = function() {
|
|
26393
|
-
return (
|
|
26394
|
-
/** @type {string} */
|
|
26395
|
-
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
26396
|
-
);
|
|
26397
|
-
};
|
|
26398
|
-
proto.connect_api.ActionConnectRequest.prototype.setState = function(value) {
|
|
26399
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
26400
|
-
};
|
|
26401
|
-
proto.connect_api.ActionConnectRequest.prototype.getCode = function() {
|
|
26402
|
-
return (
|
|
26403
|
-
/** @type {string} */
|
|
26404
|
-
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
26405
|
-
);
|
|
26406
|
-
};
|
|
26407
|
-
proto.connect_api.ActionConnectRequest.prototype.setCode = function(value) {
|
|
26408
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
26409
|
-
};
|
|
26410
|
-
proto.connect_api.ActionConnectRequest.prototype.getScope = function() {
|
|
26411
|
-
return (
|
|
26412
|
-
/** @type {string} */
|
|
26413
|
-
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
26414
|
-
);
|
|
26415
|
-
};
|
|
26416
|
-
proto.connect_api.ActionConnectRequest.prototype.setScope = function(value) {
|
|
26417
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
26418
|
-
};
|
|
26419
|
-
proto.connect_api.ActionConnectRequest.prototype.getConnect = function() {
|
|
26420
|
-
return (
|
|
26421
|
-
/** @type {string} */
|
|
26422
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
26423
|
-
);
|
|
26424
|
-
};
|
|
26425
|
-
proto.connect_api.ActionConnectRequest.prototype.setConnect = function(value) {
|
|
26426
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
26427
|
-
};
|
|
26428
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26429
|
-
proto.connect_api.ActionConnectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
26430
|
-
return proto.connect_api.ActionConnectResponse.toObject(opt_includeInstance, this);
|
|
26431
|
-
};
|
|
26432
|
-
proto.connect_api.ActionConnectResponse.toObject = function(includeInstance, msg) {
|
|
26433
|
-
var f, obj = {
|
|
26434
|
-
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26435
|
-
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
26436
|
-
toolid: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
26437
|
-
redirectto: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
26438
|
-
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f)
|
|
26439
|
-
};
|
|
26440
|
-
if (includeInstance) {
|
|
26441
|
-
obj.$jspbMessageInstance = msg;
|
|
26442
|
-
}
|
|
26443
|
-
return obj;
|
|
26444
|
-
};
|
|
26445
|
-
}
|
|
26446
|
-
proto.connect_api.ActionConnectResponse.deserializeBinary = function(bytes) {
|
|
26447
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
26448
|
-
var msg = new proto.connect_api.ActionConnectResponse();
|
|
26449
|
-
return proto.connect_api.ActionConnectResponse.deserializeBinaryFromReader(msg, reader);
|
|
26450
|
-
};
|
|
26451
|
-
proto.connect_api.ActionConnectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
26452
|
-
while (reader.nextField()) {
|
|
26453
|
-
if (reader.isEndGroup()) {
|
|
26454
|
-
break;
|
|
26455
|
-
}
|
|
26456
|
-
var field = reader.getFieldNumber();
|
|
26457
|
-
switch (field) {
|
|
26458
|
-
case 1:
|
|
26459
|
-
var value = (
|
|
26460
|
-
/** @type {number} */
|
|
26461
|
-
reader.readInt32()
|
|
26462
|
-
);
|
|
26463
|
-
msg.setCode(value);
|
|
26464
|
-
break;
|
|
26465
|
-
case 2:
|
|
26466
|
-
var value = (
|
|
26467
|
-
/** @type {boolean} */
|
|
26468
|
-
reader.readBool()
|
|
26469
|
-
);
|
|
26470
|
-
msg.setSuccess(value);
|
|
26471
|
-
break;
|
|
26472
|
-
case 3:
|
|
26473
|
-
var value = (
|
|
26474
|
-
/** @type {string} */
|
|
26475
|
-
reader.readUint64String()
|
|
26476
|
-
);
|
|
26477
|
-
msg.setToolid(value);
|
|
26478
|
-
break;
|
|
26479
|
-
case 4:
|
|
26480
|
-
var value = (
|
|
26481
|
-
/** @type {string} */
|
|
26482
|
-
reader.readString()
|
|
26483
|
-
);
|
|
26484
|
-
msg.setRedirectto(value);
|
|
26485
|
-
break;
|
|
26486
|
-
case 5:
|
|
26487
|
-
var value = new common_pb.Error();
|
|
26488
|
-
reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
|
|
26489
|
-
msg.setError(value);
|
|
26490
|
-
break;
|
|
26491
|
-
default:
|
|
26492
|
-
reader.skipField();
|
|
26493
|
-
break;
|
|
26494
|
-
}
|
|
26495
|
-
}
|
|
26496
|
-
return msg;
|
|
26497
|
-
};
|
|
26498
|
-
proto.connect_api.ActionConnectResponse.prototype.serializeBinary = function() {
|
|
26499
|
-
var writer = new jspb.BinaryWriter();
|
|
26500
|
-
proto.connect_api.ActionConnectResponse.serializeBinaryToWriter(this, writer);
|
|
26501
|
-
return writer.getResultBuffer();
|
|
26502
|
-
};
|
|
26503
|
-
proto.connect_api.ActionConnectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
26504
|
-
var f = void 0;
|
|
26505
|
-
f = message.getCode();
|
|
26506
|
-
if (f !== 0) {
|
|
26507
|
-
writer.writeInt32(
|
|
26508
|
-
1,
|
|
26509
|
-
f
|
|
26510
|
-
);
|
|
26511
|
-
}
|
|
26512
|
-
f = message.getSuccess();
|
|
26513
|
-
if (f) {
|
|
26514
|
-
writer.writeBool(
|
|
26515
|
-
2,
|
|
26516
|
-
f
|
|
26517
|
-
);
|
|
26518
|
-
}
|
|
26519
|
-
f = message.getToolid();
|
|
26520
|
-
if (parseInt(f, 10) !== 0) {
|
|
26521
|
-
writer.writeUint64String(
|
|
26522
|
-
3,
|
|
26523
|
-
f
|
|
26524
|
-
);
|
|
26525
|
-
}
|
|
26526
|
-
f = message.getRedirectto();
|
|
26527
|
-
if (f.length > 0) {
|
|
26528
|
-
writer.writeString(
|
|
26529
|
-
4,
|
|
26530
|
-
f
|
|
26531
|
-
);
|
|
26532
|
-
}
|
|
26533
|
-
f = message.getError();
|
|
26534
|
-
if (f != null) {
|
|
26535
|
-
writer.writeMessage(
|
|
26536
|
-
5,
|
|
26537
|
-
f,
|
|
26538
|
-
common_pb.Error.serializeBinaryToWriter
|
|
26539
|
-
);
|
|
26540
|
-
}
|
|
26541
|
-
};
|
|
26542
|
-
proto.connect_api.ActionConnectResponse.prototype.getCode = function() {
|
|
26543
|
-
return (
|
|
26544
|
-
/** @type {number} */
|
|
26545
|
-
jspb.Message.getFieldWithDefault(this, 1, 0)
|
|
26546
|
-
);
|
|
26547
|
-
};
|
|
26548
|
-
proto.connect_api.ActionConnectResponse.prototype.setCode = function(value) {
|
|
26549
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
26550
|
-
};
|
|
26551
|
-
proto.connect_api.ActionConnectResponse.prototype.getSuccess = function() {
|
|
26552
|
-
return (
|
|
26553
|
-
/** @type {boolean} */
|
|
26554
|
-
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
|
26555
|
-
);
|
|
26556
|
-
};
|
|
26557
|
-
proto.connect_api.ActionConnectResponse.prototype.setSuccess = function(value) {
|
|
26558
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
26559
|
-
};
|
|
26560
|
-
proto.connect_api.ActionConnectResponse.prototype.getToolid = function() {
|
|
26561
|
-
return (
|
|
26562
|
-
/** @type {string} */
|
|
26563
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
26564
|
-
);
|
|
26565
|
-
};
|
|
26566
|
-
proto.connect_api.ActionConnectResponse.prototype.setToolid = function(value) {
|
|
26567
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
26568
|
-
};
|
|
26569
|
-
proto.connect_api.ActionConnectResponse.prototype.getRedirectto = function() {
|
|
26570
|
-
return (
|
|
26571
|
-
/** @type {string} */
|
|
26572
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
26573
|
-
);
|
|
26574
|
-
};
|
|
26575
|
-
proto.connect_api.ActionConnectResponse.prototype.setRedirectto = function(value) {
|
|
26576
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
26577
|
-
};
|
|
26578
|
-
proto.connect_api.ActionConnectResponse.prototype.getError = function() {
|
|
26579
|
-
return (
|
|
26580
|
-
/** @type{?proto.Error} */
|
|
26581
|
-
jspb.Message.getWrapperField(this, common_pb.Error, 5)
|
|
26582
|
-
);
|
|
26583
|
-
};
|
|
26584
|
-
proto.connect_api.ActionConnectResponse.prototype.setError = function(value) {
|
|
26585
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
26586
|
-
};
|
|
26587
|
-
proto.connect_api.ActionConnectResponse.prototype.clearError = function() {
|
|
26588
|
-
return this.setError(void 0);
|
|
26589
|
-
};
|
|
26590
|
-
proto.connect_api.ActionConnectResponse.prototype.hasError = function() {
|
|
26591
|
-
return jspb.Message.getField(this, 5) != null;
|
|
26592
|
-
};
|
|
26593
|
-
proto.connect_api.GetConnectorFilesRequest.repeatedFields_ = [2];
|
|
26594
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26595
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
26596
|
-
return proto.connect_api.GetConnectorFilesRequest.toObject(opt_includeInstance, this);
|
|
26597
|
-
};
|
|
26598
|
-
proto.connect_api.GetConnectorFilesRequest.toObject = function(includeInstance, msg) {
|
|
26599
|
-
var f, obj = {
|
|
26600
|
-
paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
|
|
26601
|
-
criteriasList: jspb.Message.toObjectList(
|
|
26602
|
-
msg.getCriteriasList(),
|
|
26603
|
-
common_pb.Criteria.toObject,
|
|
26604
|
-
includeInstance
|
|
26605
|
-
),
|
|
26606
|
-
toolid: jspb.Message.getFieldWithDefault(msg, 3, "0")
|
|
26607
|
-
};
|
|
26608
|
-
if (includeInstance) {
|
|
26609
|
-
obj.$jspbMessageInstance = msg;
|
|
26610
|
-
}
|
|
26611
|
-
return obj;
|
|
26612
|
-
};
|
|
26613
|
-
}
|
|
26614
|
-
proto.connect_api.GetConnectorFilesRequest.deserializeBinary = function(bytes) {
|
|
26615
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
26616
|
-
var msg = new proto.connect_api.GetConnectorFilesRequest();
|
|
26617
|
-
return proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
26618
|
-
};
|
|
26619
|
-
proto.connect_api.GetConnectorFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
26620
|
-
while (reader.nextField()) {
|
|
26621
|
-
if (reader.isEndGroup()) {
|
|
26622
|
-
break;
|
|
26623
|
-
}
|
|
26624
|
-
var field = reader.getFieldNumber();
|
|
26625
|
-
switch (field) {
|
|
26626
|
-
case 1:
|
|
26627
|
-
var value = new common_pb.Paginate();
|
|
26628
|
-
reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
|
|
26629
|
-
msg.setPaginate(value);
|
|
26630
|
-
break;
|
|
26631
|
-
case 2:
|
|
26632
|
-
var value = new common_pb.Criteria();
|
|
26633
|
-
reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
|
|
26634
|
-
msg.addCriterias(value);
|
|
26635
|
-
break;
|
|
26636
|
-
case 3:
|
|
26637
|
-
var value = (
|
|
26638
|
-
/** @type {string} */
|
|
26639
|
-
reader.readUint64String()
|
|
26640
|
-
);
|
|
26641
|
-
msg.setToolid(value);
|
|
26642
|
-
break;
|
|
26643
|
-
default:
|
|
26644
|
-
reader.skipField();
|
|
26645
|
-
break;
|
|
26646
|
-
}
|
|
26647
|
-
}
|
|
26648
|
-
return msg;
|
|
26649
|
-
};
|
|
26650
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.serializeBinary = function() {
|
|
26651
|
-
var writer = new jspb.BinaryWriter();
|
|
26652
|
-
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter(this, writer);
|
|
26653
|
-
return writer.getResultBuffer();
|
|
26654
|
-
};
|
|
26655
|
-
proto.connect_api.GetConnectorFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
26656
|
-
var f = void 0;
|
|
26657
|
-
f = message.getPaginate();
|
|
26658
|
-
if (f != null) {
|
|
26659
|
-
writer.writeMessage(
|
|
26660
|
-
1,
|
|
26661
|
-
f,
|
|
26662
|
-
common_pb.Paginate.serializeBinaryToWriter
|
|
26663
|
-
);
|
|
26664
|
-
}
|
|
26665
|
-
f = message.getCriteriasList();
|
|
26666
|
-
if (f.length > 0) {
|
|
26667
|
-
writer.writeRepeatedMessage(
|
|
26668
|
-
2,
|
|
26669
|
-
f,
|
|
26670
|
-
common_pb.Criteria.serializeBinaryToWriter
|
|
26671
|
-
);
|
|
26672
|
-
}
|
|
26673
|
-
f = message.getToolid();
|
|
26674
|
-
if (parseInt(f, 10) !== 0) {
|
|
26675
|
-
writer.writeUint64String(
|
|
26676
|
-
3,
|
|
26677
|
-
f
|
|
26678
|
-
);
|
|
26679
|
-
}
|
|
26680
|
-
};
|
|
26681
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.getPaginate = function() {
|
|
26682
|
-
return (
|
|
26683
|
-
/** @type{?proto.Paginate} */
|
|
26684
|
-
jspb.Message.getWrapperField(this, common_pb.Paginate, 1)
|
|
26685
|
-
);
|
|
26686
|
-
};
|
|
26687
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.setPaginate = function(value) {
|
|
26688
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
26689
|
-
};
|
|
26690
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.clearPaginate = function() {
|
|
26691
|
-
return this.setPaginate(void 0);
|
|
26692
|
-
};
|
|
26693
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.hasPaginate = function() {
|
|
26694
|
-
return jspb.Message.getField(this, 1) != null;
|
|
26695
|
-
};
|
|
26696
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.getCriteriasList = function() {
|
|
26697
|
-
return (
|
|
26698
|
-
/** @type{!Array<!proto.Criteria>} */
|
|
26699
|
-
jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 2)
|
|
26700
|
-
);
|
|
26701
|
-
};
|
|
26702
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.setCriteriasList = function(value) {
|
|
26703
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
26704
|
-
};
|
|
26705
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.addCriterias = function(opt_value, opt_index) {
|
|
26706
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Criteria, opt_index);
|
|
26707
|
-
};
|
|
26708
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.clearCriteriasList = function() {
|
|
26709
|
-
return this.setCriteriasList([]);
|
|
26710
|
-
};
|
|
26711
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.getToolid = function() {
|
|
26712
|
-
return (
|
|
26713
|
-
/** @type {string} */
|
|
26714
|
-
jspb.Message.getFieldWithDefault(this, 3, "0")
|
|
26715
|
-
);
|
|
26716
|
-
};
|
|
26717
|
-
proto.connect_api.GetConnectorFilesRequest.prototype.setToolid = function(value) {
|
|
26718
|
-
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
26719
|
-
};
|
|
26720
|
-
proto.connect_api.GetConnectorFilesResponse.repeatedFields_ = [3];
|
|
26721
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26722
|
-
proto.connect_api.GetConnectorFilesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
26723
|
-
return proto.connect_api.GetConnectorFilesResponse.toObject(opt_includeInstance, this);
|
|
26724
|
-
};
|
|
26725
|
-
proto.connect_api.GetConnectorFilesResponse.toObject = function(includeInstance, msg) {
|
|
26726
|
-
var f, obj = {
|
|
26727
|
-
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26728
|
-
success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
26729
|
-
dataList: jspb.Message.toObjectList(
|
|
26730
|
-
msg.getDataList(),
|
|
26731
|
-
google_protobuf_struct_pb.Struct.toObject,
|
|
26732
|
-
includeInstance
|
|
26733
|
-
),
|
|
26734
|
-
paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f),
|
|
26735
|
-
error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
|
|
26736
|
-
argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, void 0) : []
|
|
26737
|
-
};
|
|
26738
|
-
if (includeInstance) {
|
|
26739
|
-
obj.$jspbMessageInstance = msg;
|
|
26740
|
-
}
|
|
26741
|
-
return obj;
|
|
26742
|
-
};
|
|
26743
|
-
}
|
|
26744
|
-
proto.connect_api.GetConnectorFilesResponse.deserializeBinary = function(bytes) {
|
|
26745
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
26746
|
-
var msg = new proto.connect_api.GetConnectorFilesResponse();
|
|
26747
|
-
return proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader(msg, reader);
|
|
26748
|
-
};
|
|
26749
|
-
proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
25650
|
+
proto.connect_api.GetConnectorFilesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
26750
25651
|
while (reader.nextField()) {
|
|
26751
25652
|
if (reader.isEndGroup()) {
|
|
26752
25653
|
break;
|
|
@@ -26939,14 +25840,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
26939
25840
|
ConnectService3.serviceName = "connect_api.ConnectService";
|
|
26940
25841
|
return ConnectService3;
|
|
26941
25842
|
}();
|
|
26942
|
-
ConnectService2.KnowledgeConnect = {
|
|
26943
|
-
methodName: "KnowledgeConnect",
|
|
26944
|
-
service: ConnectService2,
|
|
26945
|
-
requestStream: false,
|
|
26946
|
-
responseStream: false,
|
|
26947
|
-
requestType: connect_api_pb.KnowledgeConnectRequest,
|
|
26948
|
-
responseType: connect_api_pb.KnowledgeConnectResponse
|
|
26949
|
-
};
|
|
26950
25843
|
ConnectService2.GeneralConnect = {
|
|
26951
25844
|
methodName: "GeneralConnect",
|
|
26952
25845
|
service: ConnectService2,
|
|
@@ -26955,14 +25848,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
26955
25848
|
requestType: connect_api_pb.GeneralConnectRequest,
|
|
26956
25849
|
responseType: connect_api_pb.GeneralConnectResponse
|
|
26957
25850
|
};
|
|
26958
|
-
ConnectService2.ActionConnect = {
|
|
26959
|
-
methodName: "ActionConnect",
|
|
26960
|
-
service: ConnectService2,
|
|
26961
|
-
requestStream: false,
|
|
26962
|
-
responseStream: false,
|
|
26963
|
-
requestType: connect_api_pb.ActionConnectRequest,
|
|
26964
|
-
responseType: connect_api_pb.ActionConnectResponse
|
|
26965
|
-
};
|
|
26966
25851
|
ConnectService2.GetConnectorFiles = {
|
|
26967
25852
|
methodName: "GetConnectorFiles",
|
|
26968
25853
|
service: ConnectService2,
|
|
@@ -26976,36 +25861,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
26976
25861
|
this.serviceHost = serviceHost;
|
|
26977
25862
|
this.options = options || {};
|
|
26978
25863
|
}
|
|
26979
|
-
ConnectServiceClient3.prototype.knowledgeConnect = function knowledgeConnect(requestMessage, metadata, callback) {
|
|
26980
|
-
if (arguments.length === 2) {
|
|
26981
|
-
callback = arguments[1];
|
|
26982
|
-
}
|
|
26983
|
-
var client = grpc2.unary(ConnectService2.KnowledgeConnect, {
|
|
26984
|
-
request: requestMessage,
|
|
26985
|
-
host: this.serviceHost,
|
|
26986
|
-
metadata,
|
|
26987
|
-
transport: this.options.transport,
|
|
26988
|
-
debug: this.options.debug,
|
|
26989
|
-
onEnd: function(response) {
|
|
26990
|
-
if (callback) {
|
|
26991
|
-
if (response.status !== grpc2.Code.OK) {
|
|
26992
|
-
var err = new Error(response.statusMessage);
|
|
26993
|
-
err.code = response.status;
|
|
26994
|
-
err.metadata = response.trailers;
|
|
26995
|
-
callback(err, null);
|
|
26996
|
-
} else {
|
|
26997
|
-
callback(null, response.message);
|
|
26998
|
-
}
|
|
26999
|
-
}
|
|
27000
|
-
}
|
|
27001
|
-
});
|
|
27002
|
-
return {
|
|
27003
|
-
cancel: function() {
|
|
27004
|
-
callback = null;
|
|
27005
|
-
client.close();
|
|
27006
|
-
}
|
|
27007
|
-
};
|
|
27008
|
-
};
|
|
27009
25864
|
ConnectServiceClient3.prototype.generalConnect = function generalConnect(requestMessage, metadata, callback) {
|
|
27010
25865
|
if (arguments.length === 2) {
|
|
27011
25866
|
callback = arguments[1];
|
|
@@ -27036,36 +25891,6 @@ var require_connect_api_pb_service = __commonJS({
|
|
|
27036
25891
|
}
|
|
27037
25892
|
};
|
|
27038
25893
|
};
|
|
27039
|
-
ConnectServiceClient3.prototype.actionConnect = function actionConnect(requestMessage, metadata, callback) {
|
|
27040
|
-
if (arguments.length === 2) {
|
|
27041
|
-
callback = arguments[1];
|
|
27042
|
-
}
|
|
27043
|
-
var client = grpc2.unary(ConnectService2.ActionConnect, {
|
|
27044
|
-
request: requestMessage,
|
|
27045
|
-
host: this.serviceHost,
|
|
27046
|
-
metadata,
|
|
27047
|
-
transport: this.options.transport,
|
|
27048
|
-
debug: this.options.debug,
|
|
27049
|
-
onEnd: function(response) {
|
|
27050
|
-
if (callback) {
|
|
27051
|
-
if (response.status !== grpc2.Code.OK) {
|
|
27052
|
-
var err = new Error(response.statusMessage);
|
|
27053
|
-
err.code = response.status;
|
|
27054
|
-
err.metadata = response.trailers;
|
|
27055
|
-
callback(err, null);
|
|
27056
|
-
} else {
|
|
27057
|
-
callback(null, response.message);
|
|
27058
|
-
}
|
|
27059
|
-
}
|
|
27060
|
-
}
|
|
27061
|
-
});
|
|
27062
|
-
return {
|
|
27063
|
-
cancel: function() {
|
|
27064
|
-
callback = null;
|
|
27065
|
-
client.close();
|
|
27066
|
-
}
|
|
27067
|
-
};
|
|
27068
|
-
};
|
|
27069
25894
|
ConnectServiceClient3.prototype.getConnectorFiles = function getConnectorFiles(requestMessage, metadata, callback) {
|
|
27070
25895
|
if (arguments.length === 2) {
|
|
27071
25896
|
callback = arguments[1];
|
|
@@ -33720,7 +32545,7 @@ var InputOptions = class {
|
|
|
33720
32545
|
*/
|
|
33721
32546
|
recorderOptions = {
|
|
33722
32547
|
format: "pcm",
|
|
33723
|
-
sampleRate:
|
|
32548
|
+
sampleRate: 16e3
|
|
33724
32549
|
};
|
|
33725
32550
|
get recorderOption() {
|
|
33726
32551
|
return this.recorderOptions;
|
|
@@ -33761,7 +32586,7 @@ var OutputOptions = class {
|
|
|
33761
32586
|
*/
|
|
33762
32587
|
playerOptions = {
|
|
33763
32588
|
format: "pcm",
|
|
33764
|
-
sampleRate:
|
|
32589
|
+
sampleRate: 16e3
|
|
33765
32590
|
};
|
|
33766
32591
|
get playerOption() {
|
|
33767
32592
|
return this.playerOptions;
|
|
@@ -34533,33 +33358,9 @@ function GeneralConnect(config, connect, code, state, scope, authHeader, cb) {
|
|
|
34533
33358
|
cb
|
|
34534
33359
|
);
|
|
34535
33360
|
}
|
|
34536
|
-
function
|
|
34537
|
-
const req = new import_connect_api_pb.KnowledgeConnectRequest();
|
|
34538
|
-
req.setConnect(connect);
|
|
34539
|
-
req.setCode(code);
|
|
34540
|
-
req.setState(state);
|
|
34541
|
-
req.setScope(scope);
|
|
34542
|
-
return config.connectClient.knowledgeConnect(
|
|
34543
|
-
req,
|
|
34544
|
-
WithAuthContext(authHeader),
|
|
34545
|
-
cb
|
|
34546
|
-
);
|
|
34547
|
-
}
|
|
34548
|
-
function ActionConnect(config, connect, code, state, scope, authHeader, cb) {
|
|
34549
|
-
const req = new import_connect_api_pb.ActionConnectRequest();
|
|
34550
|
-
req.setConnect(connect);
|
|
34551
|
-
req.setCode(code);
|
|
34552
|
-
req.setState(state);
|
|
34553
|
-
req.setScope(scope);
|
|
34554
|
-
return config.connectClient.actionConnect(
|
|
34555
|
-
req,
|
|
34556
|
-
WithAuthContext(authHeader),
|
|
34557
|
-
cb
|
|
34558
|
-
);
|
|
34559
|
-
}
|
|
34560
|
-
function GetConnectorFiles(config, toolId, criterias, authHeader, cb) {
|
|
33361
|
+
function GetConnectorFiles(config, provider, criterias, authHeader, cb) {
|
|
34561
33362
|
const req = new import_connect_api_pb.GetConnectorFilesRequest();
|
|
34562
|
-
req.
|
|
33363
|
+
req.setProvider(provider);
|
|
34563
33364
|
req.setCriteriasList(criterias);
|
|
34564
33365
|
return config.connectClient.getConnectorFiles(
|
|
34565
33366
|
req,
|
|
@@ -34813,7 +33614,6 @@ function GetEndpointLog(config, endpointId, logId, cb, authHeader) {
|
|
|
34813
33614
|
// src/clients/vault.ts
|
|
34814
33615
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
34815
33616
|
var import_common_pb5 = __toESM(require_common_pb());
|
|
34816
|
-
import { Struct } from "google-protobuf/google/protobuf/struct_pb";
|
|
34817
33617
|
function CreateProviderKey(connectionConfig, req, authHeader) {
|
|
34818
33618
|
return new Promise((resolve, reject) => {
|
|
34819
33619
|
connectionConfig.vaultClient.createProviderCredential(
|
|
@@ -34854,36 +33654,22 @@ function GetAllOrganizationCredential(connectionConfig, page, pageSize, criteria
|
|
|
34854
33654
|
cb
|
|
34855
33655
|
);
|
|
34856
33656
|
}
|
|
34857
|
-
function CreateToolCredential(connectionConfig, toolId, toolName, credential, name, cb, authHeader) {
|
|
34858
|
-
const requestObject = new import_vault_api_pb.CreateToolCredentialRequest();
|
|
34859
|
-
requestObject.setToolid(toolId);
|
|
34860
|
-
requestObject.setToolname(toolName);
|
|
34861
|
-
requestObject.setCredential(Struct.fromJavaScript(credential));
|
|
34862
|
-
requestObject.setName(name);
|
|
34863
|
-
connectionConfig.vaultClient.createToolCredential(
|
|
34864
|
-
requestObject,
|
|
34865
|
-
WithAuthContext(authHeader),
|
|
34866
|
-
cb
|
|
34867
|
-
);
|
|
34868
|
-
}
|
|
34869
33657
|
|
|
34870
33658
|
// src/clients/knowledge.ts
|
|
34871
33659
|
var import_common_pb6 = __toESM(require_common_pb());
|
|
34872
33660
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
34873
33661
|
var import_knowledge_api_pb2 = __toESM(require_knowledge_api_pb());
|
|
34874
|
-
function CreateKnowledge(
|
|
34875
|
-
|
|
34876
|
-
|
|
34877
|
-
|
|
34878
|
-
|
|
34879
|
-
|
|
34880
|
-
|
|
34881
|
-
|
|
34882
|
-
|
|
34883
|
-
|
|
34884
|
-
|
|
34885
|
-
cb
|
|
34886
|
-
);
|
|
33662
|
+
function CreateKnowledge(connectionConfig, req, authHeader) {
|
|
33663
|
+
return new Promise((resolve, reject) => {
|
|
33664
|
+
connectionConfig.knowledgeClient.createKnowledge(
|
|
33665
|
+
req,
|
|
33666
|
+
WithAuthContext(connectionConfig.auth || authHeader),
|
|
33667
|
+
(err, response) => {
|
|
33668
|
+
if (err) reject(err);
|
|
33669
|
+
else resolve(response);
|
|
33670
|
+
}
|
|
33671
|
+
);
|
|
33672
|
+
});
|
|
34887
33673
|
}
|
|
34888
33674
|
function GetKnowledgeBase(config, knowledgeBaseId, cb, authHeader) {
|
|
34889
33675
|
const req = new import_knowledge_api_pb.GetKnowledgeRequest();
|
|
@@ -35248,8 +34034,6 @@ function GetNotificationSetting(clientCfg, request, auth) {
|
|
|
35248
34034
|
);
|
|
35249
34035
|
});
|
|
35250
34036
|
}
|
|
35251
|
-
var export_ActionConnectRequest = import_connect_api_pb2.ActionConnectRequest;
|
|
35252
|
-
var export_ActionConnectResponse = import_connect_api_pb2.ActionConnectResponse;
|
|
35253
34037
|
var export_AddUsersToProjectRequest = import_web_api_pb4.AddUsersToProjectRequest;
|
|
35254
34038
|
var export_AddUsersToProjectResponse = import_web_api_pb4.AddUsersToProjectResponse;
|
|
35255
34039
|
var export_AggregatedEndpointAnalytics = import_endpoint_api_pb2.AggregatedEndpointAnalytics;
|
|
@@ -35268,6 +34052,7 @@ var export_AssistantConversationContext = import_common_pb8.AssistantConversatio
|
|
|
35268
34052
|
var export_AssistantConversationInterruption = import_common_pb8.AssistantConversationInterruption;
|
|
35269
34053
|
var export_AssistantConversationMessage = import_common_pb8.AssistantConversationMessage;
|
|
35270
34054
|
var export_AssistantConversationRecording = import_common_pb8.AssistantConversationRecording;
|
|
34055
|
+
var export_AssistantConversationTelephonyEvent = import_common_pb8.AssistantConversationTelephonyEvent;
|
|
35271
34056
|
var export_AssistantConversationUserMessage = import_common_pb8.AssistantConversationUserMessage;
|
|
35272
34057
|
var export_AssistantDebuggerDeployment = import_assistant_deployment_pb.AssistantDebuggerDeployment;
|
|
35273
34058
|
var export_AssistantDefinition = import_common_pb8.AssistantDefinition;
|
|
@@ -35352,7 +34137,6 @@ var export_CreateProjectCredentialResponse = import_web_api_pb4.CreateProjectCre
|
|
|
35352
34137
|
var export_CreateProjectRequest = import_web_api_pb4.CreateProjectRequest;
|
|
35353
34138
|
var export_CreateProjectResponse = import_web_api_pb4.CreateProjectResponse;
|
|
35354
34139
|
var export_CreateProviderCredentialRequest = import_vault_api_pb2.CreateProviderCredentialRequest;
|
|
35355
|
-
var export_CreateToolCredentialRequest = import_vault_api_pb2.CreateToolCredentialRequest;
|
|
35356
34140
|
var export_Credential = import_integration_api_pb.Credential;
|
|
35357
34141
|
var export_Criteria = import_common_pb8.Criteria;
|
|
35358
34142
|
var export_DeepInfraService = import_integration_api_pb_service.DeepInfraService;
|
|
@@ -35487,7 +34271,6 @@ var export_GetOrganizationRequest = import_web_api_pb4.GetOrganizationRequest;
|
|
|
35487
34271
|
var export_GetOrganizationResponse = import_web_api_pb4.GetOrganizationResponse;
|
|
35488
34272
|
var export_GetProjectRequest = import_web_api_pb4.GetProjectRequest;
|
|
35489
34273
|
var export_GetProjectResponse = import_web_api_pb4.GetProjectResponse;
|
|
35490
|
-
var export_GetProviderCredentialRequest = import_vault_api_pb2.GetProviderCredentialRequest;
|
|
35491
34274
|
var export_GetUserRequest = import_web_api_pb4.GetUserRequest;
|
|
35492
34275
|
var export_GetUserResponse = import_web_api_pb4.GetUserResponse;
|
|
35493
34276
|
var export_GoogleService = import_integration_api_pb_service.GoogleService;
|
|
@@ -35499,8 +34282,6 @@ var export_IndexKnowledgeDocumentResponse = import_document_api_pb2.IndexKnowled
|
|
|
35499
34282
|
var export_InvokeRequest = import_invoker_api_pb.InvokeRequest;
|
|
35500
34283
|
var export_InvokeResponse = import_invoker_api_pb.InvokeResponse;
|
|
35501
34284
|
var export_Knowledge = import_common_pb8.Knowledge;
|
|
35502
|
-
var export_KnowledgeConnectRequest = import_connect_api_pb2.KnowledgeConnectRequest;
|
|
35503
|
-
var export_KnowledgeConnectResponse = import_connect_api_pb2.KnowledgeConnectResponse;
|
|
35504
34285
|
var export_KnowledgeDocument = import_knowledge_api_pb3.KnowledgeDocument;
|
|
35505
34286
|
var export_KnowledgeDocumentSegment = import_knowledge_api_pb3.KnowledgeDocumentSegment;
|
|
35506
34287
|
var export_KnowledgeLog = import_knowledge_api_pb3.KnowledgeLog;
|
|
@@ -35586,9 +34367,6 @@ var export_VerifyTokenResponse = import_web_api_pb4.VerifyTokenResponse;
|
|
|
35586
34367
|
var export_VoyageAiService = import_integration_api_pb_service.VoyageAiService;
|
|
35587
34368
|
var export_VoyageAiServiceClient = import_integration_api_pb_service.VoyageAiServiceClient;
|
|
35588
34369
|
export {
|
|
35589
|
-
ActionConnect,
|
|
35590
|
-
export_ActionConnectRequest as ActionConnectRequest,
|
|
35591
|
-
export_ActionConnectResponse as ActionConnectResponse,
|
|
35592
34370
|
AddUsersToProject,
|
|
35593
34371
|
export_AddUsersToProjectRequest as AddUsersToProjectRequest,
|
|
35594
34372
|
export_AddUsersToProjectResponse as AddUsersToProjectResponse,
|
|
@@ -35615,6 +34393,7 @@ export {
|
|
|
35615
34393
|
export_AssistantConversationInterruption as AssistantConversationInterruption,
|
|
35616
34394
|
export_AssistantConversationMessage as AssistantConversationMessage,
|
|
35617
34395
|
export_AssistantConversationRecording as AssistantConversationRecording,
|
|
34396
|
+
export_AssistantConversationTelephonyEvent as AssistantConversationTelephonyEvent,
|
|
35618
34397
|
export_AssistantConversationUserMessage as AssistantConversationUserMessage,
|
|
35619
34398
|
export_AssistantDebuggerDeployment as AssistantDebuggerDeployment,
|
|
35620
34399
|
export_AssistantDefinition as AssistantDefinition,
|
|
@@ -35736,8 +34515,6 @@ export {
|
|
|
35736
34515
|
export_CreateProjectResponse as CreateProjectResponse,
|
|
35737
34516
|
export_CreateProviderCredentialRequest as CreateProviderCredentialRequest,
|
|
35738
34517
|
CreateProviderKey,
|
|
35739
|
-
CreateToolCredential,
|
|
35740
|
-
export_CreateToolCredentialRequest as CreateToolCredentialRequest,
|
|
35741
34518
|
CreateWebhook,
|
|
35742
34519
|
export_Credential as Credential,
|
|
35743
34520
|
export_Criteria as Criteria,
|
|
@@ -35934,7 +34711,6 @@ export {
|
|
|
35934
34711
|
GetProject,
|
|
35935
34712
|
export_GetProjectRequest as GetProjectRequest,
|
|
35936
34713
|
export_GetProjectResponse as GetProjectResponse,
|
|
35937
|
-
export_GetProviderCredentialRequest as GetProviderCredentialRequest,
|
|
35938
34714
|
GetUser,
|
|
35939
34715
|
export_GetUserRequest as GetUserRequest,
|
|
35940
34716
|
export_GetUserResponse as GetUserResponse,
|
|
@@ -35980,9 +34756,6 @@ export {
|
|
|
35980
34756
|
export_InvokeResponse as InvokeResponse,
|
|
35981
34757
|
JSONToAny,
|
|
35982
34758
|
export_Knowledge as Knowledge,
|
|
35983
|
-
KnowledgeConnect,
|
|
35984
|
-
export_KnowledgeConnectRequest as KnowledgeConnectRequest,
|
|
35985
|
-
export_KnowledgeConnectResponse as KnowledgeConnectResponse,
|
|
35986
34759
|
export_KnowledgeDocument as KnowledgeDocument,
|
|
35987
34760
|
export_KnowledgeDocumentSegment as KnowledgeDocumentSegment,
|
|
35988
34761
|
export_KnowledgeLog as KnowledgeLog,
|