@avaprotocol/sdk-js 1.3.4-dev.3 → 1.3.5-dev.2
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/index.d.mts +54 -59
- package/dist/index.d.ts +54 -59
- package/dist/index.js +253 -253
- package/dist/index.mjs +252 -251
- package/package.json +3 -7
package/dist/index.mjs
CHANGED
|
@@ -140,7 +140,7 @@ var require_avs_pb = __commonJS({
|
|
|
140
140
|
proto.aggregator.BlockCondition.displayName = "proto.aggregator.BlockCondition";
|
|
141
141
|
}
|
|
142
142
|
proto.aggregator.EventCondition = function(opt_data) {
|
|
143
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
143
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.EventCondition.repeatedFields_, null);
|
|
144
144
|
};
|
|
145
145
|
goog.inherits(proto.aggregator.EventCondition, jspb.Message);
|
|
146
146
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -719,13 +719,19 @@ var require_avs_pb = __commonJS({
|
|
|
719
719
|
proto.aggregator.BlockCondition.prototype.setInterval = function(value) {
|
|
720
720
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
721
721
|
};
|
|
722
|
+
proto.aggregator.EventCondition.repeatedFields_ = [1];
|
|
722
723
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
723
724
|
proto.aggregator.EventCondition.prototype.toObject = function(opt_includeInstance) {
|
|
724
725
|
return proto.aggregator.EventCondition.toObject(opt_includeInstance, this);
|
|
725
726
|
};
|
|
726
727
|
proto.aggregator.EventCondition.toObject = function(includeInstance, msg) {
|
|
727
728
|
var f, obj = {
|
|
728
|
-
|
|
729
|
+
matcherList: jspb.Message.toObjectList(
|
|
730
|
+
msg.getMatcherList(),
|
|
731
|
+
proto.aggregator.EventCondition.Matcher.toObject,
|
|
732
|
+
includeInstance
|
|
733
|
+
),
|
|
734
|
+
expression: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
729
735
|
};
|
|
730
736
|
if (includeInstance) {
|
|
731
737
|
obj.$jspbMessageInstance = msg;
|
|
@@ -746,6 +752,11 @@ var require_avs_pb = __commonJS({
|
|
|
746
752
|
var field = reader.getFieldNumber();
|
|
747
753
|
switch (field) {
|
|
748
754
|
case 1:
|
|
755
|
+
var value = new proto.aggregator.EventCondition.Matcher();
|
|
756
|
+
reader.readMessage(value, proto.aggregator.EventCondition.Matcher.deserializeBinaryFromReader);
|
|
757
|
+
msg.addMatcher(value);
|
|
758
|
+
break;
|
|
759
|
+
case 2:
|
|
749
760
|
var value = (
|
|
750
761
|
/** @type {string} */
|
|
751
762
|
reader.readString()
|
|
@@ -766,10 +777,18 @@ var require_avs_pb = __commonJS({
|
|
|
766
777
|
};
|
|
767
778
|
proto.aggregator.EventCondition.serializeBinaryToWriter = function(message, writer) {
|
|
768
779
|
var f = void 0;
|
|
780
|
+
f = message.getMatcherList();
|
|
781
|
+
if (f.length > 0) {
|
|
782
|
+
writer.writeRepeatedMessage(
|
|
783
|
+
1,
|
|
784
|
+
f,
|
|
785
|
+
proto.aggregator.EventCondition.Matcher.serializeBinaryToWriter
|
|
786
|
+
);
|
|
787
|
+
}
|
|
769
788
|
f = message.getExpression();
|
|
770
789
|
if (f.length > 0) {
|
|
771
790
|
writer.writeString(
|
|
772
|
-
|
|
791
|
+
2,
|
|
773
792
|
f
|
|
774
793
|
);
|
|
775
794
|
}
|
|
@@ -869,14 +888,29 @@ var require_avs_pb = __commonJS({
|
|
|
869
888
|
proto.aggregator.EventCondition.Matcher.prototype.clearValueList = function() {
|
|
870
889
|
return this.setValueList([]);
|
|
871
890
|
};
|
|
891
|
+
proto.aggregator.EventCondition.prototype.getMatcherList = function() {
|
|
892
|
+
return (
|
|
893
|
+
/** @type{!Array<!proto.aggregator.EventCondition.Matcher>} */
|
|
894
|
+
jspb.Message.getRepeatedWrapperField(this, proto.aggregator.EventCondition.Matcher, 1)
|
|
895
|
+
);
|
|
896
|
+
};
|
|
897
|
+
proto.aggregator.EventCondition.prototype.setMatcherList = function(value) {
|
|
898
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
899
|
+
};
|
|
900
|
+
proto.aggregator.EventCondition.prototype.addMatcher = function(opt_value, opt_index) {
|
|
901
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.aggregator.EventCondition.Matcher, opt_index);
|
|
902
|
+
};
|
|
903
|
+
proto.aggregator.EventCondition.prototype.clearMatcherList = function() {
|
|
904
|
+
return this.setMatcherList([]);
|
|
905
|
+
};
|
|
872
906
|
proto.aggregator.EventCondition.prototype.getExpression = function() {
|
|
873
907
|
return (
|
|
874
908
|
/** @type {string} */
|
|
875
|
-
jspb.Message.getFieldWithDefault(this,
|
|
909
|
+
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
876
910
|
);
|
|
877
911
|
};
|
|
878
912
|
proto.aggregator.EventCondition.prototype.setExpression = function(value) {
|
|
879
|
-
return jspb.Message.setProto3StringField(this,
|
|
913
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
880
914
|
};
|
|
881
915
|
proto.aggregator.TaskTrigger.oneofGroups_ = [[2, 3, 4, 5, 6]];
|
|
882
916
|
proto.aggregator.TaskTrigger.TriggerTypeCase = {
|
|
@@ -1224,8 +1258,7 @@ var require_avs_pb = __commonJS({
|
|
|
1224
1258
|
var f, obj = {
|
|
1225
1259
|
contractAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1226
1260
|
callData: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1227
|
-
contractAbi: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1228
|
-
method: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1261
|
+
contractAbi: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1229
1262
|
};
|
|
1230
1263
|
if (includeInstance) {
|
|
1231
1264
|
obj.$jspbMessageInstance = msg;
|
|
@@ -1266,13 +1299,6 @@ var require_avs_pb = __commonJS({
|
|
|
1266
1299
|
);
|
|
1267
1300
|
msg.setContractAbi(value);
|
|
1268
1301
|
break;
|
|
1269
|
-
case 4:
|
|
1270
|
-
var value = (
|
|
1271
|
-
/** @type {string} */
|
|
1272
|
-
reader.readString()
|
|
1273
|
-
);
|
|
1274
|
-
msg.setMethod(value);
|
|
1275
|
-
break;
|
|
1276
1302
|
default:
|
|
1277
1303
|
reader.skipField();
|
|
1278
1304
|
break;
|
|
@@ -1308,13 +1334,6 @@ var require_avs_pb = __commonJS({
|
|
|
1308
1334
|
f
|
|
1309
1335
|
);
|
|
1310
1336
|
}
|
|
1311
|
-
f = message.getMethod();
|
|
1312
|
-
if (f.length > 0) {
|
|
1313
|
-
writer.writeString(
|
|
1314
|
-
4,
|
|
1315
|
-
f
|
|
1316
|
-
);
|
|
1317
|
-
}
|
|
1318
1337
|
};
|
|
1319
1338
|
proto.aggregator.ContractWriteNode.prototype.getContractAddress = function() {
|
|
1320
1339
|
return (
|
|
@@ -1343,15 +1362,6 @@ var require_avs_pb = __commonJS({
|
|
|
1343
1362
|
proto.aggregator.ContractWriteNode.prototype.setContractAbi = function(value) {
|
|
1344
1363
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1345
1364
|
};
|
|
1346
|
-
proto.aggregator.ContractWriteNode.prototype.getMethod = function() {
|
|
1347
|
-
return (
|
|
1348
|
-
/** @type {string} */
|
|
1349
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
1350
|
-
);
|
|
1351
|
-
};
|
|
1352
|
-
proto.aggregator.ContractWriteNode.prototype.setMethod = function(value) {
|
|
1353
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1354
|
-
};
|
|
1355
1365
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1356
1366
|
proto.aggregator.ContractReadNode.prototype.toObject = function(opt_includeInstance) {
|
|
1357
1367
|
return proto.aggregator.ContractReadNode.toObject(opt_includeInstance, this);
|
|
@@ -1360,8 +1370,7 @@ var require_avs_pb = __commonJS({
|
|
|
1360
1370
|
var f, obj = {
|
|
1361
1371
|
contractAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1362
1372
|
callData: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1363
|
-
contractAbi: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1364
|
-
method: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1373
|
+
contractAbi: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1365
1374
|
};
|
|
1366
1375
|
if (includeInstance) {
|
|
1367
1376
|
obj.$jspbMessageInstance = msg;
|
|
@@ -1402,13 +1411,6 @@ var require_avs_pb = __commonJS({
|
|
|
1402
1411
|
);
|
|
1403
1412
|
msg.setContractAbi(value);
|
|
1404
1413
|
break;
|
|
1405
|
-
case 4:
|
|
1406
|
-
var value = (
|
|
1407
|
-
/** @type {string} */
|
|
1408
|
-
reader.readString()
|
|
1409
|
-
);
|
|
1410
|
-
msg.setMethod(value);
|
|
1411
|
-
break;
|
|
1412
1414
|
default:
|
|
1413
1415
|
reader.skipField();
|
|
1414
1416
|
break;
|
|
@@ -1444,13 +1446,6 @@ var require_avs_pb = __commonJS({
|
|
|
1444
1446
|
f
|
|
1445
1447
|
);
|
|
1446
1448
|
}
|
|
1447
|
-
f = message.getMethod();
|
|
1448
|
-
if (f.length > 0) {
|
|
1449
|
-
writer.writeString(
|
|
1450
|
-
4,
|
|
1451
|
-
f
|
|
1452
|
-
);
|
|
1453
|
-
}
|
|
1454
1449
|
};
|
|
1455
1450
|
proto.aggregator.ContractReadNode.prototype.getContractAddress = function() {
|
|
1456
1451
|
return (
|
|
@@ -1479,15 +1474,6 @@ var require_avs_pb = __commonJS({
|
|
|
1479
1474
|
proto.aggregator.ContractReadNode.prototype.setContractAbi = function(value) {
|
|
1480
1475
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1481
1476
|
};
|
|
1482
|
-
proto.aggregator.ContractReadNode.prototype.getMethod = function() {
|
|
1483
|
-
return (
|
|
1484
|
-
/** @type {string} */
|
|
1485
|
-
jspb.Message.getFieldWithDefault(this, 4, "")
|
|
1486
|
-
);
|
|
1487
|
-
};
|
|
1488
|
-
proto.aggregator.ContractReadNode.prototype.setMethod = function(value) {
|
|
1489
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1490
|
-
};
|
|
1491
1477
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1492
1478
|
proto.aggregator.GraphQLQueryNode.prototype.toObject = function(opt_includeInstance) {
|
|
1493
1479
|
return proto.aggregator.GraphQLQueryNode.toObject(opt_includeInstance, this);
|
|
@@ -6911,233 +6897,233 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
6911
6897
|
"../../grpc_codegen/avs_grpc_pb.js"(exports) {
|
|
6912
6898
|
"use strict";
|
|
6913
6899
|
var grpc = __require("@grpc/grpc-js");
|
|
6914
|
-
var
|
|
6900
|
+
var avs_pb21 = require_avs_pb();
|
|
6915
6901
|
var google_protobuf_wrappers_pb = __require("google-protobuf/google/protobuf/wrappers_pb.js");
|
|
6916
6902
|
var google_protobuf_timestamp_pb = __require("google-protobuf/google/protobuf/timestamp_pb.js");
|
|
6917
6903
|
function serialize_aggregator_CreateOrUpdateSecretReq(arg) {
|
|
6918
|
-
if (!(arg instanceof
|
|
6904
|
+
if (!(arg instanceof avs_pb21.CreateOrUpdateSecretReq)) {
|
|
6919
6905
|
throw new Error("Expected argument of type aggregator.CreateOrUpdateSecretReq");
|
|
6920
6906
|
}
|
|
6921
6907
|
return Buffer.from(arg.serializeBinary());
|
|
6922
6908
|
}
|
|
6923
6909
|
function deserialize_aggregator_CreateOrUpdateSecretReq(buffer_arg) {
|
|
6924
|
-
return
|
|
6910
|
+
return avs_pb21.CreateOrUpdateSecretReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6925
6911
|
}
|
|
6926
6912
|
function serialize_aggregator_CreateTaskReq(arg) {
|
|
6927
|
-
if (!(arg instanceof
|
|
6913
|
+
if (!(arg instanceof avs_pb21.CreateTaskReq)) {
|
|
6928
6914
|
throw new Error("Expected argument of type aggregator.CreateTaskReq");
|
|
6929
6915
|
}
|
|
6930
6916
|
return Buffer.from(arg.serializeBinary());
|
|
6931
6917
|
}
|
|
6932
6918
|
function deserialize_aggregator_CreateTaskReq(buffer_arg) {
|
|
6933
|
-
return
|
|
6919
|
+
return avs_pb21.CreateTaskReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6934
6920
|
}
|
|
6935
6921
|
function serialize_aggregator_CreateTaskResp(arg) {
|
|
6936
|
-
if (!(arg instanceof
|
|
6922
|
+
if (!(arg instanceof avs_pb21.CreateTaskResp)) {
|
|
6937
6923
|
throw new Error("Expected argument of type aggregator.CreateTaskResp");
|
|
6938
6924
|
}
|
|
6939
6925
|
return Buffer.from(arg.serializeBinary());
|
|
6940
6926
|
}
|
|
6941
6927
|
function deserialize_aggregator_CreateTaskResp(buffer_arg) {
|
|
6942
|
-
return
|
|
6928
|
+
return avs_pb21.CreateTaskResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6943
6929
|
}
|
|
6944
6930
|
function serialize_aggregator_DeleteSecretReq(arg) {
|
|
6945
|
-
if (!(arg instanceof
|
|
6931
|
+
if (!(arg instanceof avs_pb21.DeleteSecretReq)) {
|
|
6946
6932
|
throw new Error("Expected argument of type aggregator.DeleteSecretReq");
|
|
6947
6933
|
}
|
|
6948
6934
|
return Buffer.from(arg.serializeBinary());
|
|
6949
6935
|
}
|
|
6950
6936
|
function deserialize_aggregator_DeleteSecretReq(buffer_arg) {
|
|
6951
|
-
return
|
|
6937
|
+
return avs_pb21.DeleteSecretReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6952
6938
|
}
|
|
6953
6939
|
function serialize_aggregator_Execution(arg) {
|
|
6954
|
-
if (!(arg instanceof
|
|
6940
|
+
if (!(arg instanceof avs_pb21.Execution)) {
|
|
6955
6941
|
throw new Error("Expected argument of type aggregator.Execution");
|
|
6956
6942
|
}
|
|
6957
6943
|
return Buffer.from(arg.serializeBinary());
|
|
6958
6944
|
}
|
|
6959
6945
|
function deserialize_aggregator_Execution(buffer_arg) {
|
|
6960
|
-
return
|
|
6946
|
+
return avs_pb21.Execution.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6961
6947
|
}
|
|
6962
6948
|
function serialize_aggregator_ExecutionReq(arg) {
|
|
6963
|
-
if (!(arg instanceof
|
|
6949
|
+
if (!(arg instanceof avs_pb21.ExecutionReq)) {
|
|
6964
6950
|
throw new Error("Expected argument of type aggregator.ExecutionReq");
|
|
6965
6951
|
}
|
|
6966
6952
|
return Buffer.from(arg.serializeBinary());
|
|
6967
6953
|
}
|
|
6968
6954
|
function deserialize_aggregator_ExecutionReq(buffer_arg) {
|
|
6969
|
-
return
|
|
6955
|
+
return avs_pb21.ExecutionReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6970
6956
|
}
|
|
6971
6957
|
function serialize_aggregator_ExecutionStatusResp(arg) {
|
|
6972
|
-
if (!(arg instanceof
|
|
6958
|
+
if (!(arg instanceof avs_pb21.ExecutionStatusResp)) {
|
|
6973
6959
|
throw new Error("Expected argument of type aggregator.ExecutionStatusResp");
|
|
6974
6960
|
}
|
|
6975
6961
|
return Buffer.from(arg.serializeBinary());
|
|
6976
6962
|
}
|
|
6977
6963
|
function deserialize_aggregator_ExecutionStatusResp(buffer_arg) {
|
|
6978
|
-
return
|
|
6964
|
+
return avs_pb21.ExecutionStatusResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6979
6965
|
}
|
|
6980
6966
|
function serialize_aggregator_GetKeyReq(arg) {
|
|
6981
|
-
if (!(arg instanceof
|
|
6967
|
+
if (!(arg instanceof avs_pb21.GetKeyReq)) {
|
|
6982
6968
|
throw new Error("Expected argument of type aggregator.GetKeyReq");
|
|
6983
6969
|
}
|
|
6984
6970
|
return Buffer.from(arg.serializeBinary());
|
|
6985
6971
|
}
|
|
6986
6972
|
function deserialize_aggregator_GetKeyReq(buffer_arg) {
|
|
6987
|
-
return
|
|
6973
|
+
return avs_pb21.GetKeyReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6988
6974
|
}
|
|
6989
6975
|
function serialize_aggregator_GetWalletReq(arg) {
|
|
6990
|
-
if (!(arg instanceof
|
|
6976
|
+
if (!(arg instanceof avs_pb21.GetWalletReq)) {
|
|
6991
6977
|
throw new Error("Expected argument of type aggregator.GetWalletReq");
|
|
6992
6978
|
}
|
|
6993
6979
|
return Buffer.from(arg.serializeBinary());
|
|
6994
6980
|
}
|
|
6995
6981
|
function deserialize_aggregator_GetWalletReq(buffer_arg) {
|
|
6996
|
-
return
|
|
6982
|
+
return avs_pb21.GetWalletReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
6997
6983
|
}
|
|
6998
6984
|
function serialize_aggregator_GetWalletResp(arg) {
|
|
6999
|
-
if (!(arg instanceof
|
|
6985
|
+
if (!(arg instanceof avs_pb21.GetWalletResp)) {
|
|
7000
6986
|
throw new Error("Expected argument of type aggregator.GetWalletResp");
|
|
7001
6987
|
}
|
|
7002
6988
|
return Buffer.from(arg.serializeBinary());
|
|
7003
6989
|
}
|
|
7004
6990
|
function deserialize_aggregator_GetWalletResp(buffer_arg) {
|
|
7005
|
-
return
|
|
6991
|
+
return avs_pb21.GetWalletResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7006
6992
|
}
|
|
7007
6993
|
function serialize_aggregator_IdReq(arg) {
|
|
7008
|
-
if (!(arg instanceof
|
|
6994
|
+
if (!(arg instanceof avs_pb21.IdReq)) {
|
|
7009
6995
|
throw new Error("Expected argument of type aggregator.IdReq");
|
|
7010
6996
|
}
|
|
7011
6997
|
return Buffer.from(arg.serializeBinary());
|
|
7012
6998
|
}
|
|
7013
6999
|
function deserialize_aggregator_IdReq(buffer_arg) {
|
|
7014
|
-
return
|
|
7000
|
+
return avs_pb21.IdReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7015
7001
|
}
|
|
7016
7002
|
function serialize_aggregator_KeyResp(arg) {
|
|
7017
|
-
if (!(arg instanceof
|
|
7003
|
+
if (!(arg instanceof avs_pb21.KeyResp)) {
|
|
7018
7004
|
throw new Error("Expected argument of type aggregator.KeyResp");
|
|
7019
7005
|
}
|
|
7020
7006
|
return Buffer.from(arg.serializeBinary());
|
|
7021
7007
|
}
|
|
7022
7008
|
function deserialize_aggregator_KeyResp(buffer_arg) {
|
|
7023
|
-
return
|
|
7009
|
+
return avs_pb21.KeyResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7024
7010
|
}
|
|
7025
7011
|
function serialize_aggregator_ListExecutionsReq(arg) {
|
|
7026
|
-
if (!(arg instanceof
|
|
7012
|
+
if (!(arg instanceof avs_pb21.ListExecutionsReq)) {
|
|
7027
7013
|
throw new Error("Expected argument of type aggregator.ListExecutionsReq");
|
|
7028
7014
|
}
|
|
7029
7015
|
return Buffer.from(arg.serializeBinary());
|
|
7030
7016
|
}
|
|
7031
7017
|
function deserialize_aggregator_ListExecutionsReq(buffer_arg) {
|
|
7032
|
-
return
|
|
7018
|
+
return avs_pb21.ListExecutionsReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7033
7019
|
}
|
|
7034
7020
|
function serialize_aggregator_ListExecutionsResp(arg) {
|
|
7035
|
-
if (!(arg instanceof
|
|
7021
|
+
if (!(arg instanceof avs_pb21.ListExecutionsResp)) {
|
|
7036
7022
|
throw new Error("Expected argument of type aggregator.ListExecutionsResp");
|
|
7037
7023
|
}
|
|
7038
7024
|
return Buffer.from(arg.serializeBinary());
|
|
7039
7025
|
}
|
|
7040
7026
|
function deserialize_aggregator_ListExecutionsResp(buffer_arg) {
|
|
7041
|
-
return
|
|
7027
|
+
return avs_pb21.ListExecutionsResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7042
7028
|
}
|
|
7043
7029
|
function serialize_aggregator_ListSecretsReq(arg) {
|
|
7044
|
-
if (!(arg instanceof
|
|
7030
|
+
if (!(arg instanceof avs_pb21.ListSecretsReq)) {
|
|
7045
7031
|
throw new Error("Expected argument of type aggregator.ListSecretsReq");
|
|
7046
7032
|
}
|
|
7047
7033
|
return Buffer.from(arg.serializeBinary());
|
|
7048
7034
|
}
|
|
7049
7035
|
function deserialize_aggregator_ListSecretsReq(buffer_arg) {
|
|
7050
|
-
return
|
|
7036
|
+
return avs_pb21.ListSecretsReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7051
7037
|
}
|
|
7052
7038
|
function serialize_aggregator_ListSecretsResp(arg) {
|
|
7053
|
-
if (!(arg instanceof
|
|
7039
|
+
if (!(arg instanceof avs_pb21.ListSecretsResp)) {
|
|
7054
7040
|
throw new Error("Expected argument of type aggregator.ListSecretsResp");
|
|
7055
7041
|
}
|
|
7056
7042
|
return Buffer.from(arg.serializeBinary());
|
|
7057
7043
|
}
|
|
7058
7044
|
function deserialize_aggregator_ListSecretsResp(buffer_arg) {
|
|
7059
|
-
return
|
|
7045
|
+
return avs_pb21.ListSecretsResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7060
7046
|
}
|
|
7061
7047
|
function serialize_aggregator_ListTasksReq(arg) {
|
|
7062
|
-
if (!(arg instanceof
|
|
7048
|
+
if (!(arg instanceof avs_pb21.ListTasksReq)) {
|
|
7063
7049
|
throw new Error("Expected argument of type aggregator.ListTasksReq");
|
|
7064
7050
|
}
|
|
7065
7051
|
return Buffer.from(arg.serializeBinary());
|
|
7066
7052
|
}
|
|
7067
7053
|
function deserialize_aggregator_ListTasksReq(buffer_arg) {
|
|
7068
|
-
return
|
|
7054
|
+
return avs_pb21.ListTasksReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7069
7055
|
}
|
|
7070
7056
|
function serialize_aggregator_ListTasksResp(arg) {
|
|
7071
|
-
if (!(arg instanceof
|
|
7057
|
+
if (!(arg instanceof avs_pb21.ListTasksResp)) {
|
|
7072
7058
|
throw new Error("Expected argument of type aggregator.ListTasksResp");
|
|
7073
7059
|
}
|
|
7074
7060
|
return Buffer.from(arg.serializeBinary());
|
|
7075
7061
|
}
|
|
7076
7062
|
function deserialize_aggregator_ListTasksResp(buffer_arg) {
|
|
7077
|
-
return
|
|
7063
|
+
return avs_pb21.ListTasksResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7078
7064
|
}
|
|
7079
7065
|
function serialize_aggregator_ListWalletReq(arg) {
|
|
7080
|
-
if (!(arg instanceof
|
|
7066
|
+
if (!(arg instanceof avs_pb21.ListWalletReq)) {
|
|
7081
7067
|
throw new Error("Expected argument of type aggregator.ListWalletReq");
|
|
7082
7068
|
}
|
|
7083
7069
|
return Buffer.from(arg.serializeBinary());
|
|
7084
7070
|
}
|
|
7085
7071
|
function deserialize_aggregator_ListWalletReq(buffer_arg) {
|
|
7086
|
-
return
|
|
7072
|
+
return avs_pb21.ListWalletReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7087
7073
|
}
|
|
7088
7074
|
function serialize_aggregator_ListWalletResp(arg) {
|
|
7089
|
-
if (!(arg instanceof
|
|
7075
|
+
if (!(arg instanceof avs_pb21.ListWalletResp)) {
|
|
7090
7076
|
throw new Error("Expected argument of type aggregator.ListWalletResp");
|
|
7091
7077
|
}
|
|
7092
7078
|
return Buffer.from(arg.serializeBinary());
|
|
7093
7079
|
}
|
|
7094
7080
|
function deserialize_aggregator_ListWalletResp(buffer_arg) {
|
|
7095
|
-
return
|
|
7081
|
+
return avs_pb21.ListWalletResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7096
7082
|
}
|
|
7097
7083
|
function serialize_aggregator_NonceRequest(arg) {
|
|
7098
|
-
if (!(arg instanceof
|
|
7084
|
+
if (!(arg instanceof avs_pb21.NonceRequest)) {
|
|
7099
7085
|
throw new Error("Expected argument of type aggregator.NonceRequest");
|
|
7100
7086
|
}
|
|
7101
7087
|
return Buffer.from(arg.serializeBinary());
|
|
7102
7088
|
}
|
|
7103
7089
|
function deserialize_aggregator_NonceRequest(buffer_arg) {
|
|
7104
|
-
return
|
|
7090
|
+
return avs_pb21.NonceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7105
7091
|
}
|
|
7106
7092
|
function serialize_aggregator_NonceResp(arg) {
|
|
7107
|
-
if (!(arg instanceof
|
|
7093
|
+
if (!(arg instanceof avs_pb21.NonceResp)) {
|
|
7108
7094
|
throw new Error("Expected argument of type aggregator.NonceResp");
|
|
7109
7095
|
}
|
|
7110
7096
|
return Buffer.from(arg.serializeBinary());
|
|
7111
7097
|
}
|
|
7112
7098
|
function deserialize_aggregator_NonceResp(buffer_arg) {
|
|
7113
|
-
return
|
|
7099
|
+
return avs_pb21.NonceResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7114
7100
|
}
|
|
7115
7101
|
function serialize_aggregator_Task(arg) {
|
|
7116
|
-
if (!(arg instanceof
|
|
7102
|
+
if (!(arg instanceof avs_pb21.Task)) {
|
|
7117
7103
|
throw new Error("Expected argument of type aggregator.Task");
|
|
7118
7104
|
}
|
|
7119
7105
|
return Buffer.from(arg.serializeBinary());
|
|
7120
7106
|
}
|
|
7121
7107
|
function deserialize_aggregator_Task(buffer_arg) {
|
|
7122
|
-
return
|
|
7108
|
+
return avs_pb21.Task.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7123
7109
|
}
|
|
7124
7110
|
function serialize_aggregator_UserTriggerTaskReq(arg) {
|
|
7125
|
-
if (!(arg instanceof
|
|
7111
|
+
if (!(arg instanceof avs_pb21.UserTriggerTaskReq)) {
|
|
7126
7112
|
throw new Error("Expected argument of type aggregator.UserTriggerTaskReq");
|
|
7127
7113
|
}
|
|
7128
7114
|
return Buffer.from(arg.serializeBinary());
|
|
7129
7115
|
}
|
|
7130
7116
|
function deserialize_aggregator_UserTriggerTaskReq(buffer_arg) {
|
|
7131
|
-
return
|
|
7117
|
+
return avs_pb21.UserTriggerTaskReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7132
7118
|
}
|
|
7133
7119
|
function serialize_aggregator_UserTriggerTaskResp(arg) {
|
|
7134
|
-
if (!(arg instanceof
|
|
7120
|
+
if (!(arg instanceof avs_pb21.UserTriggerTaskResp)) {
|
|
7135
7121
|
throw new Error("Expected argument of type aggregator.UserTriggerTaskResp");
|
|
7136
7122
|
}
|
|
7137
7123
|
return Buffer.from(arg.serializeBinary());
|
|
7138
7124
|
}
|
|
7139
7125
|
function deserialize_aggregator_UserTriggerTaskResp(buffer_arg) {
|
|
7140
|
-
return
|
|
7126
|
+
return avs_pb21.UserTriggerTaskResp.deserializeBinary(new Uint8Array(buffer_arg));
|
|
7141
7127
|
}
|
|
7142
7128
|
function serialize_google_protobuf_BoolValue(arg) {
|
|
7143
7129
|
if (!(arg instanceof google_protobuf_wrappers_pb.BoolValue)) {
|
|
@@ -7154,8 +7140,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7154
7140
|
path: "/aggregator.Aggregator/GetKey",
|
|
7155
7141
|
requestStream: false,
|
|
7156
7142
|
responseStream: false,
|
|
7157
|
-
requestType:
|
|
7158
|
-
responseType:
|
|
7143
|
+
requestType: avs_pb21.GetKeyReq,
|
|
7144
|
+
responseType: avs_pb21.KeyResp,
|
|
7159
7145
|
requestSerialize: serialize_aggregator_GetKeyReq,
|
|
7160
7146
|
requestDeserialize: deserialize_aggregator_GetKeyReq,
|
|
7161
7147
|
responseSerialize: serialize_aggregator_KeyResp,
|
|
@@ -7166,8 +7152,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7166
7152
|
path: "/aggregator.Aggregator/GetNonce",
|
|
7167
7153
|
requestStream: false,
|
|
7168
7154
|
responseStream: false,
|
|
7169
|
-
requestType:
|
|
7170
|
-
responseType:
|
|
7155
|
+
requestType: avs_pb21.NonceRequest,
|
|
7156
|
+
responseType: avs_pb21.NonceResp,
|
|
7171
7157
|
requestSerialize: serialize_aggregator_NonceRequest,
|
|
7172
7158
|
requestDeserialize: deserialize_aggregator_NonceRequest,
|
|
7173
7159
|
responseSerialize: serialize_aggregator_NonceResp,
|
|
@@ -7177,8 +7163,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7177
7163
|
path: "/aggregator.Aggregator/GetWallet",
|
|
7178
7164
|
requestStream: false,
|
|
7179
7165
|
responseStream: false,
|
|
7180
|
-
requestType:
|
|
7181
|
-
responseType:
|
|
7166
|
+
requestType: avs_pb21.GetWalletReq,
|
|
7167
|
+
responseType: avs_pb21.GetWalletResp,
|
|
7182
7168
|
requestSerialize: serialize_aggregator_GetWalletReq,
|
|
7183
7169
|
requestDeserialize: deserialize_aggregator_GetWalletReq,
|
|
7184
7170
|
responseSerialize: serialize_aggregator_GetWalletResp,
|
|
@@ -7188,8 +7174,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7188
7174
|
path: "/aggregator.Aggregator/ListWallets",
|
|
7189
7175
|
requestStream: false,
|
|
7190
7176
|
responseStream: false,
|
|
7191
|
-
requestType:
|
|
7192
|
-
responseType:
|
|
7177
|
+
requestType: avs_pb21.ListWalletReq,
|
|
7178
|
+
responseType: avs_pb21.ListWalletResp,
|
|
7193
7179
|
requestSerialize: serialize_aggregator_ListWalletReq,
|
|
7194
7180
|
requestDeserialize: deserialize_aggregator_ListWalletReq,
|
|
7195
7181
|
responseSerialize: serialize_aggregator_ListWalletResp,
|
|
@@ -7200,8 +7186,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7200
7186
|
path: "/aggregator.Aggregator/CreateTask",
|
|
7201
7187
|
requestStream: false,
|
|
7202
7188
|
responseStream: false,
|
|
7203
|
-
requestType:
|
|
7204
|
-
responseType:
|
|
7189
|
+
requestType: avs_pb21.CreateTaskReq,
|
|
7190
|
+
responseType: avs_pb21.CreateTaskResp,
|
|
7205
7191
|
requestSerialize: serialize_aggregator_CreateTaskReq,
|
|
7206
7192
|
requestDeserialize: deserialize_aggregator_CreateTaskReq,
|
|
7207
7193
|
responseSerialize: serialize_aggregator_CreateTaskResp,
|
|
@@ -7211,8 +7197,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7211
7197
|
path: "/aggregator.Aggregator/ListTasks",
|
|
7212
7198
|
requestStream: false,
|
|
7213
7199
|
responseStream: false,
|
|
7214
|
-
requestType:
|
|
7215
|
-
responseType:
|
|
7200
|
+
requestType: avs_pb21.ListTasksReq,
|
|
7201
|
+
responseType: avs_pb21.ListTasksResp,
|
|
7216
7202
|
requestSerialize: serialize_aggregator_ListTasksReq,
|
|
7217
7203
|
requestDeserialize: deserialize_aggregator_ListTasksReq,
|
|
7218
7204
|
responseSerialize: serialize_aggregator_ListTasksResp,
|
|
@@ -7222,8 +7208,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7222
7208
|
path: "/aggregator.Aggregator/GetTask",
|
|
7223
7209
|
requestStream: false,
|
|
7224
7210
|
responseStream: false,
|
|
7225
|
-
requestType:
|
|
7226
|
-
responseType:
|
|
7211
|
+
requestType: avs_pb21.IdReq,
|
|
7212
|
+
responseType: avs_pb21.Task,
|
|
7227
7213
|
requestSerialize: serialize_aggregator_IdReq,
|
|
7228
7214
|
requestDeserialize: deserialize_aggregator_IdReq,
|
|
7229
7215
|
responseSerialize: serialize_aggregator_Task,
|
|
@@ -7233,8 +7219,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7233
7219
|
path: "/aggregator.Aggregator/ListExecutions",
|
|
7234
7220
|
requestStream: false,
|
|
7235
7221
|
responseStream: false,
|
|
7236
|
-
requestType:
|
|
7237
|
-
responseType:
|
|
7222
|
+
requestType: avs_pb21.ListExecutionsReq,
|
|
7223
|
+
responseType: avs_pb21.ListExecutionsResp,
|
|
7238
7224
|
requestSerialize: serialize_aggregator_ListExecutionsReq,
|
|
7239
7225
|
requestDeserialize: deserialize_aggregator_ListExecutionsReq,
|
|
7240
7226
|
responseSerialize: serialize_aggregator_ListExecutionsResp,
|
|
@@ -7244,8 +7230,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7244
7230
|
path: "/aggregator.Aggregator/GetExecution",
|
|
7245
7231
|
requestStream: false,
|
|
7246
7232
|
responseStream: false,
|
|
7247
|
-
requestType:
|
|
7248
|
-
responseType:
|
|
7233
|
+
requestType: avs_pb21.ExecutionReq,
|
|
7234
|
+
responseType: avs_pb21.Execution,
|
|
7249
7235
|
requestSerialize: serialize_aggregator_ExecutionReq,
|
|
7250
7236
|
requestDeserialize: deserialize_aggregator_ExecutionReq,
|
|
7251
7237
|
responseSerialize: serialize_aggregator_Execution,
|
|
@@ -7255,8 +7241,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7255
7241
|
path: "/aggregator.Aggregator/GetExecutionStatus",
|
|
7256
7242
|
requestStream: false,
|
|
7257
7243
|
responseStream: false,
|
|
7258
|
-
requestType:
|
|
7259
|
-
responseType:
|
|
7244
|
+
requestType: avs_pb21.ExecutionReq,
|
|
7245
|
+
responseType: avs_pb21.ExecutionStatusResp,
|
|
7260
7246
|
requestSerialize: serialize_aggregator_ExecutionReq,
|
|
7261
7247
|
requestDeserialize: deserialize_aggregator_ExecutionReq,
|
|
7262
7248
|
responseSerialize: serialize_aggregator_ExecutionStatusResp,
|
|
@@ -7266,7 +7252,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7266
7252
|
path: "/aggregator.Aggregator/CancelTask",
|
|
7267
7253
|
requestStream: false,
|
|
7268
7254
|
responseStream: false,
|
|
7269
|
-
requestType:
|
|
7255
|
+
requestType: avs_pb21.IdReq,
|
|
7270
7256
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7271
7257
|
requestSerialize: serialize_aggregator_IdReq,
|
|
7272
7258
|
requestDeserialize: deserialize_aggregator_IdReq,
|
|
@@ -7277,7 +7263,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7277
7263
|
path: "/aggregator.Aggregator/DeleteTask",
|
|
7278
7264
|
requestStream: false,
|
|
7279
7265
|
responseStream: false,
|
|
7280
|
-
requestType:
|
|
7266
|
+
requestType: avs_pb21.IdReq,
|
|
7281
7267
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7282
7268
|
requestSerialize: serialize_aggregator_IdReq,
|
|
7283
7269
|
requestDeserialize: deserialize_aggregator_IdReq,
|
|
@@ -7288,8 +7274,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7288
7274
|
path: "/aggregator.Aggregator/TriggerTask",
|
|
7289
7275
|
requestStream: false,
|
|
7290
7276
|
responseStream: false,
|
|
7291
|
-
requestType:
|
|
7292
|
-
responseType:
|
|
7277
|
+
requestType: avs_pb21.UserTriggerTaskReq,
|
|
7278
|
+
responseType: avs_pb21.UserTriggerTaskResp,
|
|
7293
7279
|
requestSerialize: serialize_aggregator_UserTriggerTaskReq,
|
|
7294
7280
|
requestDeserialize: deserialize_aggregator_UserTriggerTaskReq,
|
|
7295
7281
|
responseSerialize: serialize_aggregator_UserTriggerTaskResp,
|
|
@@ -7302,7 +7288,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7302
7288
|
path: "/aggregator.Aggregator/CreateSecret",
|
|
7303
7289
|
requestStream: false,
|
|
7304
7290
|
responseStream: false,
|
|
7305
|
-
requestType:
|
|
7291
|
+
requestType: avs_pb21.CreateOrUpdateSecretReq,
|
|
7306
7292
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7307
7293
|
requestSerialize: serialize_aggregator_CreateOrUpdateSecretReq,
|
|
7308
7294
|
requestDeserialize: deserialize_aggregator_CreateOrUpdateSecretReq,
|
|
@@ -7313,7 +7299,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7313
7299
|
path: "/aggregator.Aggregator/DeleteSecret",
|
|
7314
7300
|
requestStream: false,
|
|
7315
7301
|
responseStream: false,
|
|
7316
|
-
requestType:
|
|
7302
|
+
requestType: avs_pb21.DeleteSecretReq,
|
|
7317
7303
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7318
7304
|
requestSerialize: serialize_aggregator_DeleteSecretReq,
|
|
7319
7305
|
requestDeserialize: deserialize_aggregator_DeleteSecretReq,
|
|
@@ -7326,8 +7312,8 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7326
7312
|
path: "/aggregator.Aggregator/ListSecrets",
|
|
7327
7313
|
requestStream: false,
|
|
7328
7314
|
responseStream: false,
|
|
7329
|
-
requestType:
|
|
7330
|
-
responseType:
|
|
7315
|
+
requestType: avs_pb21.ListSecretsReq,
|
|
7316
|
+
responseType: avs_pb21.ListSecretsResp,
|
|
7331
7317
|
requestSerialize: serialize_aggregator_ListSecretsReq,
|
|
7332
7318
|
requestDeserialize: deserialize_aggregator_ListSecretsReq,
|
|
7333
7319
|
responseSerialize: serialize_aggregator_ListSecretsResp,
|
|
@@ -7339,7 +7325,7 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7339
7325
|
path: "/aggregator.Aggregator/UpdateSecret",
|
|
7340
7326
|
requestStream: false,
|
|
7341
7327
|
responseStream: false,
|
|
7342
|
-
requestType:
|
|
7328
|
+
requestType: avs_pb21.CreateOrUpdateSecretReq,
|
|
7343
7329
|
responseType: google_protobuf_wrappers_pb.BoolValue,
|
|
7344
7330
|
requestSerialize: serialize_aggregator_CreateOrUpdateSecretReq,
|
|
7345
7331
|
requestDeserialize: deserialize_aggregator_CreateOrUpdateSecretReq,
|
|
@@ -7351,30 +7337,16 @@ var require_avs_grpc_pb = __commonJS({
|
|
|
7351
7337
|
}
|
|
7352
7338
|
});
|
|
7353
7339
|
|
|
7354
|
-
// src/index.ts
|
|
7355
|
-
import _3 from "lodash";
|
|
7356
|
-
import { credentials, Metadata } from "@grpc/grpc-js";
|
|
7357
|
-
|
|
7358
|
-
// src/auth.ts
|
|
7359
|
-
var getKeyRequestMessage = (chainId, address, issuedAt, expiredAt) => {
|
|
7360
|
-
return `Please sign the below text for ownership verification.
|
|
7361
|
-
|
|
7362
|
-
URI: https://app.avaprotocol.org
|
|
7363
|
-
Chain ID: ${chainId}
|
|
7364
|
-
Version: 1
|
|
7365
|
-
Issued At: ${issuedAt}
|
|
7366
|
-
Expire At: ${expiredAt}
|
|
7367
|
-
Wallet: ${address}`;
|
|
7368
|
-
};
|
|
7369
|
-
|
|
7370
7340
|
// src/index.ts
|
|
7371
7341
|
var import_avs_grpc_pb = __toESM(require_avs_grpc_pb());
|
|
7372
|
-
var
|
|
7342
|
+
var avs_pb20 = __toESM(require_avs_pb());
|
|
7343
|
+
import _4 from "lodash";
|
|
7344
|
+
import { credentials, Metadata } from "@grpc/grpc-js";
|
|
7373
7345
|
import { Timestamp } from "google-protobuf/google/protobuf/timestamp_pb";
|
|
7374
7346
|
|
|
7375
7347
|
// src/models/workflow.ts
|
|
7376
7348
|
var avs_pb16 = __toESM(require_avs_pb());
|
|
7377
|
-
import
|
|
7349
|
+
import _3 from "lodash";
|
|
7378
7350
|
|
|
7379
7351
|
// src/models/edge.ts
|
|
7380
7352
|
var avs_pb = __toESM(require_avs_pb());
|
|
@@ -7394,13 +7366,6 @@ var Edge = class _Edge {
|
|
|
7394
7366
|
edge.setTarget(this.target);
|
|
7395
7367
|
return edge;
|
|
7396
7368
|
}
|
|
7397
|
-
toJson() {
|
|
7398
|
-
return {
|
|
7399
|
-
id: this.id,
|
|
7400
|
-
source: this.source,
|
|
7401
|
-
target: this.target
|
|
7402
|
-
};
|
|
7403
|
-
}
|
|
7404
7369
|
};
|
|
7405
7370
|
var edge_default = Edge;
|
|
7406
7371
|
|
|
@@ -7422,14 +7387,6 @@ var Trigger = class {
|
|
|
7422
7387
|
toRequest() {
|
|
7423
7388
|
throw new Error("Method not implemented.");
|
|
7424
7389
|
}
|
|
7425
|
-
toJson() {
|
|
7426
|
-
return {
|
|
7427
|
-
id: this.id,
|
|
7428
|
-
name: this.name,
|
|
7429
|
-
type: this.type,
|
|
7430
|
-
data: this.data
|
|
7431
|
-
};
|
|
7432
|
-
}
|
|
7433
7390
|
};
|
|
7434
7391
|
var interface_default = Trigger;
|
|
7435
7392
|
|
|
@@ -7539,17 +7496,42 @@ var EventTrigger = class _EventTrigger extends interface_default {
|
|
|
7539
7496
|
throw new Error(`Trigger data is missing for ${this.type}`);
|
|
7540
7497
|
}
|
|
7541
7498
|
const condition = new avs_pb5.EventCondition();
|
|
7542
|
-
|
|
7499
|
+
const expression = this.data.expression;
|
|
7500
|
+
const matcher = this.data.matcher;
|
|
7501
|
+
if (expression && expression != "") {
|
|
7502
|
+
condition.setExpression(expression);
|
|
7503
|
+
}
|
|
7504
|
+
if (matcher && matcher.length >= 1) {
|
|
7505
|
+
condition.setMatcherList(matcher.map((element) => {
|
|
7506
|
+
const m = new avs_pb5.EventCondition.Matcher();
|
|
7507
|
+
m.setType(element["type"]);
|
|
7508
|
+
m.setValueList(element["value"]);
|
|
7509
|
+
return m;
|
|
7510
|
+
}));
|
|
7511
|
+
}
|
|
7543
7512
|
request.setEvent(condition);
|
|
7513
|
+
console.log("EventTrigger.toRequest.request:", request.toObject());
|
|
7544
7514
|
return request;
|
|
7545
7515
|
}
|
|
7546
7516
|
static fromResponse(raw) {
|
|
7547
7517
|
const obj = raw.toObject();
|
|
7548
7518
|
console.log("EventTrigger.fromResponse.obj:", obj);
|
|
7519
|
+
let data = {};
|
|
7520
|
+
if (raw.getEvent().getExpression()) {
|
|
7521
|
+
data.expression = raw.getEvent().getExpression();
|
|
7522
|
+
}
|
|
7523
|
+
if (raw.getEvent().getMatcherList()) {
|
|
7524
|
+
data.matcher = raw.getEvent().getMatcherList().map((item) => {
|
|
7525
|
+
return {
|
|
7526
|
+
type: item.getType(),
|
|
7527
|
+
value: item.getValueList()
|
|
7528
|
+
};
|
|
7529
|
+
});
|
|
7530
|
+
}
|
|
7549
7531
|
return new _EventTrigger({
|
|
7550
7532
|
...obj,
|
|
7551
7533
|
type: "event" /* Event */,
|
|
7552
|
-
data
|
|
7534
|
+
data
|
|
7553
7535
|
});
|
|
7554
7536
|
}
|
|
7555
7537
|
};
|
|
@@ -7634,11 +7616,12 @@ var TriggerFactory = class {
|
|
|
7634
7616
|
var factory_default = TriggerFactory;
|
|
7635
7617
|
|
|
7636
7618
|
// src/models/node/factory.ts
|
|
7637
|
-
import
|
|
7619
|
+
import _2 from "lodash";
|
|
7638
7620
|
|
|
7639
7621
|
// src/models/node/interface.ts
|
|
7640
7622
|
var avs_pb7 = __toESM(require_avs_pb());
|
|
7641
7623
|
import { NodeType } from "@avaprotocol/types";
|
|
7624
|
+
import _ from "lodash";
|
|
7642
7625
|
var Node = class {
|
|
7643
7626
|
constructor(props) {
|
|
7644
7627
|
this.id = props.id;
|
|
@@ -7647,15 +7630,13 @@ var Node = class {
|
|
|
7647
7630
|
this.data = props.data;
|
|
7648
7631
|
}
|
|
7649
7632
|
toRequest() {
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
data: this.data
|
|
7658
|
-
};
|
|
7633
|
+
const request = new avs_pb7.TaskNode();
|
|
7634
|
+
const raw = request.serializeBinary();
|
|
7635
|
+
const parsed = avs_pb7.TaskNode.deserializeBinary(raw);
|
|
7636
|
+
if (!_.isEqual(request, parsed)) {
|
|
7637
|
+
throw new Error("Invalid request object");
|
|
7638
|
+
}
|
|
7639
|
+
return request;
|
|
7659
7640
|
}
|
|
7660
7641
|
};
|
|
7661
7642
|
var interface_default2 = Node;
|
|
@@ -7685,7 +7666,6 @@ var ContractWriteNode2 = class _ContractWriteNode extends interface_default2 {
|
|
|
7685
7666
|
);
|
|
7686
7667
|
nodeData.setCallData(this.data.callData);
|
|
7687
7668
|
nodeData.setContractAbi(this.data.contractAbi);
|
|
7688
|
-
nodeData.setMethod(this.data.method);
|
|
7689
7669
|
request.setContractWrite(nodeData);
|
|
7690
7670
|
return request;
|
|
7691
7671
|
}
|
|
@@ -7817,7 +7797,6 @@ var ContractReadNode2 = class _ContractReadNode extends interface_default2 {
|
|
|
7817
7797
|
);
|
|
7818
7798
|
nodeData.setCallData(this.data.callData);
|
|
7819
7799
|
nodeData.setContractAbi(this.data.contractAbi);
|
|
7820
|
-
nodeData.setMethod(this.data.method);
|
|
7821
7800
|
request.setContractRead(nodeData);
|
|
7822
7801
|
return request;
|
|
7823
7802
|
}
|
|
@@ -7941,7 +7920,7 @@ var NodeFactory = class {
|
|
|
7941
7920
|
}
|
|
7942
7921
|
}
|
|
7943
7922
|
static createNodes(props) {
|
|
7944
|
-
return
|
|
7923
|
+
return _2.map(props, (node) => this.create(node));
|
|
7945
7924
|
}
|
|
7946
7925
|
static fromResponse(raw) {
|
|
7947
7926
|
switch (true) {
|
|
@@ -8013,11 +7992,11 @@ var Workflow = class _Workflow {
|
|
|
8013
7992
|
if (!trigger) {
|
|
8014
7993
|
throw new Error("Trigger is undefined in fromResponse()");
|
|
8015
7994
|
}
|
|
8016
|
-
const nodes =
|
|
7995
|
+
const nodes = _3.map(
|
|
8017
7996
|
obj.getNodesList(),
|
|
8018
7997
|
(node) => factory_default2.fromResponse(node)
|
|
8019
7998
|
);
|
|
8020
|
-
const edges =
|
|
7999
|
+
const edges = _3.map(obj.getEdgesList(), (edge) => edge_default.fromResponse(edge));
|
|
8021
8000
|
const workflow = new _Workflow({
|
|
8022
8001
|
id: obj.getId(),
|
|
8023
8002
|
owner: obj.getOwner(),
|
|
@@ -8066,8 +8045,8 @@ var Workflow = class _Workflow {
|
|
|
8066
8045
|
const request = new avs_pb16.CreateTaskReq();
|
|
8067
8046
|
request.setSmartWalletAddress(this.smartWalletAddress);
|
|
8068
8047
|
request.setTrigger(this.trigger.toRequest());
|
|
8069
|
-
|
|
8070
|
-
|
|
8048
|
+
_3.map(this.nodes, (node) => request.addNodes(node.toRequest()));
|
|
8049
|
+
_3.map(this.edges, (edge) => request.addEdges(edge.toRequest()));
|
|
8071
8050
|
request.setStartAt(this.startAt);
|
|
8072
8051
|
request.setExpiredAt(this.expiredAt);
|
|
8073
8052
|
request.setMaxExecution(this.maxExecution);
|
|
@@ -8254,26 +8233,6 @@ var Execution3 = class _Execution {
|
|
|
8254
8233
|
};
|
|
8255
8234
|
var execution_default = Execution3;
|
|
8256
8235
|
|
|
8257
|
-
// src/models/secret.ts
|
|
8258
|
-
var avs_pb20 = __toESM(require_avs_pb());
|
|
8259
|
-
var Secret = class {
|
|
8260
|
-
constructor(props) {
|
|
8261
|
-
this.name = props.name;
|
|
8262
|
-
this.secret = props.secret;
|
|
8263
|
-
this.workflowId = props.workflowId;
|
|
8264
|
-
this.orgId = props.orgId;
|
|
8265
|
-
}
|
|
8266
|
-
toRequest() {
|
|
8267
|
-
const request = new avs_pb20.CreateOrUpdateSecretReq();
|
|
8268
|
-
request.setName(this.name);
|
|
8269
|
-
request.setSecret(this.secret);
|
|
8270
|
-
request.setOrgId(this.orgId);
|
|
8271
|
-
request.setWorkflowId(this.workflowId);
|
|
8272
|
-
return request;
|
|
8273
|
-
}
|
|
8274
|
-
};
|
|
8275
|
-
var secret_default = Secret;
|
|
8276
|
-
|
|
8277
8236
|
// src/index.ts
|
|
8278
8237
|
var BaseClient = class {
|
|
8279
8238
|
constructor(opts) {
|
|
@@ -8302,10 +8261,12 @@ var BaseClient = class {
|
|
|
8302
8261
|
}
|
|
8303
8262
|
}
|
|
8304
8263
|
/**
|
|
8305
|
-
* The API key could retrieve a wallet
|
|
8264
|
+
* The API key could retrieve a wallet's authKey by skipping its signature verification
|
|
8265
|
+
* @param chainId - The chain id
|
|
8306
8266
|
* @param address - The address of the EOA wallet
|
|
8267
|
+
* @param issuedAt - The issued at timestamp
|
|
8268
|
+
* @param expiredAt - The expiration timestamp
|
|
8307
8269
|
* @param apiKey - The API key
|
|
8308
|
-
* @param expiredAtEpoch - The expiration epoch
|
|
8309
8270
|
* @returns {Promise<GetKeyResponse>} - The response from the auth call
|
|
8310
8271
|
*/
|
|
8311
8272
|
async authWithAPIKey({
|
|
@@ -8315,7 +8276,7 @@ var BaseClient = class {
|
|
|
8315
8276
|
expiredAt,
|
|
8316
8277
|
apiKey
|
|
8317
8278
|
}) {
|
|
8318
|
-
const request = new
|
|
8279
|
+
const request = new avs_pb20.GetKeyReq();
|
|
8319
8280
|
request.setChainId(chainId);
|
|
8320
8281
|
request.setOwner(address);
|
|
8321
8282
|
const issueTs = Timestamp.fromDate(issuedAt);
|
|
@@ -8328,9 +8289,11 @@ var BaseClient = class {
|
|
|
8328
8289
|
}
|
|
8329
8290
|
/**
|
|
8330
8291
|
* Getting an authKey from the server by verifying the signature of an EOA wallet
|
|
8292
|
+
* @param chainId - The chain id
|
|
8331
8293
|
* @param address - The address of the EOA wallet
|
|
8294
|
+
* @param issuedAt - The issued at timestamp
|
|
8295
|
+
* @param expiredAt - The expiration timestamp
|
|
8332
8296
|
* @param signature - The signature of the EOA wallet
|
|
8333
|
-
* @param expiredAtEpoch - The expiration epoch
|
|
8334
8297
|
* @returns {Promise<GetKeyResponse>} - The response from the auth call
|
|
8335
8298
|
*/
|
|
8336
8299
|
async authWithSignature({
|
|
@@ -8340,7 +8303,7 @@ var BaseClient = class {
|
|
|
8340
8303
|
expiredAt,
|
|
8341
8304
|
signature
|
|
8342
8305
|
}) {
|
|
8343
|
-
const request = new
|
|
8306
|
+
const request = new avs_pb20.GetKeyReq();
|
|
8344
8307
|
request.setChainId(chainId);
|
|
8345
8308
|
request.setOwner(address);
|
|
8346
8309
|
const issueTs = Timestamp.fromDate(issuedAt);
|
|
@@ -8363,7 +8326,7 @@ var BaseClient = class {
|
|
|
8363
8326
|
this.authKey = authKey;
|
|
8364
8327
|
}
|
|
8365
8328
|
/**
|
|
8366
|
-
* Get the auth key if it
|
|
8329
|
+
* Get the auth key if it's set in the client
|
|
8367
8330
|
* @returns {string | undefined} - The auth key
|
|
8368
8331
|
*/
|
|
8369
8332
|
getAuthKey() {
|
|
@@ -8377,7 +8340,7 @@ var BaseClient = class {
|
|
|
8377
8340
|
this.factoryAddress = address;
|
|
8378
8341
|
}
|
|
8379
8342
|
/**
|
|
8380
|
-
* Get the factory address if it
|
|
8343
|
+
* Get the factory address if it's set in the client
|
|
8381
8344
|
* @returns {string | undefined} - The factory address
|
|
8382
8345
|
*/
|
|
8383
8346
|
getFactoryAddress() {
|
|
@@ -8391,7 +8354,7 @@ var BaseClient = class {
|
|
|
8391
8354
|
* @returns {Promise<TResponse>} - The response from the gRPC call
|
|
8392
8355
|
*/
|
|
8393
8356
|
sendGrpcRequest(method, request, options) {
|
|
8394
|
-
const metadata =
|
|
8357
|
+
const metadata = _4.cloneDeep(this.metadata);
|
|
8395
8358
|
if (options?.authKey) {
|
|
8396
8359
|
metadata.set(AUTH_KEY_HEADER, options.authKey);
|
|
8397
8360
|
} else if (this.authKey) {
|
|
@@ -8419,7 +8382,7 @@ var Client = class extends BaseClient {
|
|
|
8419
8382
|
* @returns {Promise<SmartWallet[]>} - The list of SmartWallet objects
|
|
8420
8383
|
*/
|
|
8421
8384
|
async getWallets(options) {
|
|
8422
|
-
const request = new
|
|
8385
|
+
const request = new avs_pb20.ListWalletReq();
|
|
8423
8386
|
const result = await this.sendGrpcRequest("listWallets", request, options);
|
|
8424
8387
|
return result.getItemsList().map((item) => item.toObject());
|
|
8425
8388
|
}
|
|
@@ -8431,7 +8394,7 @@ var Client = class extends BaseClient {
|
|
|
8431
8394
|
* @returns {Promise<SmartWallet>} - The added SmartWallet object
|
|
8432
8395
|
*/
|
|
8433
8396
|
async getWallet({ salt, factoryAddress }, options) {
|
|
8434
|
-
const request = new
|
|
8397
|
+
const request = new avs_pb20.GetWalletReq();
|
|
8435
8398
|
request.setSalt(salt);
|
|
8436
8399
|
if (factoryAddress) {
|
|
8437
8400
|
request.setFactoryAddress(factoryAddress);
|
|
@@ -8473,7 +8436,7 @@ var Client = class extends BaseClient {
|
|
|
8473
8436
|
* @returns {Promise<{ cursor: string; result: Workflow[] }>} - The list of Workflow objects
|
|
8474
8437
|
*/
|
|
8475
8438
|
async getWorkflows(addresses, options) {
|
|
8476
|
-
const request = new
|
|
8439
|
+
const request = new avs_pb20.ListTasksReq();
|
|
8477
8440
|
for (const a of addresses) {
|
|
8478
8441
|
request.addSmartWalletAddress(a);
|
|
8479
8442
|
}
|
|
@@ -8498,7 +8461,7 @@ var Client = class extends BaseClient {
|
|
|
8498
8461
|
* @returns {Promise<{ cursor: string; result: Execution[] }>} - The list of Executions
|
|
8499
8462
|
*/
|
|
8500
8463
|
async getExecutions(workflows, options) {
|
|
8501
|
-
const request = new
|
|
8464
|
+
const request = new avs_pb20.ListExecutionsReq();
|
|
8502
8465
|
request.setTaskIdsList(workflows);
|
|
8503
8466
|
if (options?.cursor && options?.cursor != "") {
|
|
8504
8467
|
request.setCursor(options.cursor);
|
|
@@ -8519,7 +8482,7 @@ var Client = class extends BaseClient {
|
|
|
8519
8482
|
* @returns {Promise<Execution>} - The result execution if it is existed
|
|
8520
8483
|
*/
|
|
8521
8484
|
async getExecution(taskId, executionId, options) {
|
|
8522
|
-
const request = new
|
|
8485
|
+
const request = new avs_pb20.ExecutionReq();
|
|
8523
8486
|
request.setTaskId(taskId);
|
|
8524
8487
|
request.setExecutionId(executionId);
|
|
8525
8488
|
const result = await this.sendGrpcRequest("getExecution", request, options);
|
|
@@ -8536,7 +8499,7 @@ var Client = class extends BaseClient {
|
|
|
8536
8499
|
* @returns {Promise<ExecutionStatus>} - The result execution if it is existed
|
|
8537
8500
|
*/
|
|
8538
8501
|
async getExecutionStatus(taskId, executionId, options) {
|
|
8539
|
-
const request = new
|
|
8502
|
+
const request = new avs_pb20.ExecutionReq();
|
|
8540
8503
|
request.setTaskId(taskId);
|
|
8541
8504
|
request.setExecutionId(executionId);
|
|
8542
8505
|
const result = await this.sendGrpcRequest("getExecutionStatus", request, options);
|
|
@@ -8549,7 +8512,7 @@ var Client = class extends BaseClient {
|
|
|
8549
8512
|
* @returns {Promise<Workflow>} - The Workflow object
|
|
8550
8513
|
*/
|
|
8551
8514
|
async getWorkflow(id, options) {
|
|
8552
|
-
const request = new
|
|
8515
|
+
const request = new avs_pb20.IdReq();
|
|
8553
8516
|
request.setId(id);
|
|
8554
8517
|
const result = await this.sendGrpcRequest(
|
|
8555
8518
|
"getTask",
|
|
@@ -8571,7 +8534,7 @@ var Client = class extends BaseClient {
|
|
|
8571
8534
|
data,
|
|
8572
8535
|
isBlocking = false
|
|
8573
8536
|
}, options) {
|
|
8574
|
-
const request = new
|
|
8537
|
+
const request = new avs_pb20.UserTriggerTaskReq();
|
|
8575
8538
|
request.setTaskId(id);
|
|
8576
8539
|
request.setTriggerMetadata(new metadata_default(data).toRequest());
|
|
8577
8540
|
request.setIsBlocking(isBlocking);
|
|
@@ -8585,7 +8548,7 @@ var Client = class extends BaseClient {
|
|
|
8585
8548
|
* @returns {Promise<boolean>} - Whether the workflow was successfully canceled
|
|
8586
8549
|
*/
|
|
8587
8550
|
async cancelWorkflow(id, options) {
|
|
8588
|
-
const request = new
|
|
8551
|
+
const request = new avs_pb20.IdReq();
|
|
8589
8552
|
request.setId(id);
|
|
8590
8553
|
const result = await this.sendGrpcRequest(
|
|
8591
8554
|
"cancelTask",
|
|
@@ -8601,7 +8564,7 @@ var Client = class extends BaseClient {
|
|
|
8601
8564
|
* @returns {Promise<boolean>} - Whether the workflow was successfully deleted
|
|
8602
8565
|
*/
|
|
8603
8566
|
async deleteWorkflow(id, options) {
|
|
8604
|
-
const request = new
|
|
8567
|
+
const request = new avs_pb20.IdReq();
|
|
8605
8568
|
request.setId(id);
|
|
8606
8569
|
const result = await this.sendGrpcRequest(
|
|
8607
8570
|
"deleteTask",
|
|
@@ -8610,39 +8573,78 @@ var Client = class extends BaseClient {
|
|
|
8610
8573
|
);
|
|
8611
8574
|
return result.getValue();
|
|
8612
8575
|
}
|
|
8613
|
-
async createSecret(
|
|
8614
|
-
const request =
|
|
8576
|
+
async createSecret(name, value, options) {
|
|
8577
|
+
const request = new avs_pb20.CreateOrUpdateSecretReq();
|
|
8578
|
+
request.setName(name);
|
|
8579
|
+
request.setSecret(value);
|
|
8580
|
+
if (options?.workflowId) {
|
|
8581
|
+
request.setWorkflowId(options.workflowId);
|
|
8582
|
+
}
|
|
8583
|
+
if (options?.orgId) {
|
|
8584
|
+
request.setOrgId(options.orgId);
|
|
8585
|
+
}
|
|
8615
8586
|
const result = await this.sendGrpcRequest("createSecret", request, options);
|
|
8616
8587
|
return result.getValue();
|
|
8617
8588
|
}
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8589
|
+
/**
|
|
8590
|
+
* Update an existing secret; the secret is updated in the user scope by default, derived from the auth key.
|
|
8591
|
+
* @param secret - The secret object containing updated information
|
|
8592
|
+
* @param options - Request options, including workflowId and orgId for scoping
|
|
8593
|
+
* @returns {Promise<boolean>} - Whether the secret was successfully updated
|
|
8594
|
+
*/
|
|
8595
|
+
async updateSecret(name, value, options) {
|
|
8596
|
+
const request = new avs_pb20.CreateOrUpdateSecretReq();
|
|
8597
|
+
request.setName(name);
|
|
8598
|
+
request.setSecret(value);
|
|
8599
|
+
if (options?.workflowId) {
|
|
8600
|
+
request.setWorkflowId(options.workflowId);
|
|
8601
|
+
}
|
|
8602
|
+
if (options?.orgId) {
|
|
8603
|
+
request.setOrgId(options.orgId);
|
|
8604
|
+
}
|
|
8605
|
+
const result = await this.sendGrpcRequest("updateSecret", request, options);
|
|
8606
|
+
return result.getValue();
|
|
8607
|
+
}
|
|
8608
|
+
/**
|
|
8609
|
+
* Retrieve a list of secrets; secrets can be filtered by workflowId or orgId.
|
|
8610
|
+
* @param params - Parameters for listing secrets
|
|
8611
|
+
* @param options - Request options, including workflowId and orgId for filtering
|
|
8612
|
+
* @returns {Promise<ListSecretResponse[]>} - The list of secrets
|
|
8613
|
+
*/
|
|
8614
|
+
async listSecrets(options) {
|
|
8615
|
+
const request = new avs_pb20.ListSecretsReq();
|
|
8616
|
+
if (options?.workflowId) {
|
|
8617
|
+
request.setWorkflowId(options.workflowId);
|
|
8618
|
+
}
|
|
8619
|
+
if (options?.orgId) {
|
|
8622
8620
|
}
|
|
8623
8621
|
const result = await this.sendGrpcRequest("listSecrets", request, options);
|
|
8624
|
-
return result.getItemsList().map((item) => {
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
};
|
|
8630
|
-
});
|
|
8622
|
+
return result.getItemsList().map((item) => ({
|
|
8623
|
+
name: item.getName(),
|
|
8624
|
+
workflowId: item.getWorkflowId(),
|
|
8625
|
+
orgId: item.getOrgId()
|
|
8626
|
+
}));
|
|
8631
8627
|
}
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8628
|
+
/**
|
|
8629
|
+
* Delete a secret by its name; by default, the secret is deleted from the user scope, derived from the auth key
|
|
8630
|
+
* @param name - The name of the secret
|
|
8631
|
+
* @param options - Request options
|
|
8632
|
+
* @param options.workflowId - The workflow id; if specified, the secret will be deleted from the workflow scope
|
|
8633
|
+
* @param options.orgId - The organization id; if specified, the secret will be deleted from the organization scope
|
|
8634
|
+
* @returns {Promise<boolean>} - Whether the secret was successfully deleted
|
|
8635
|
+
*/
|
|
8636
|
+
async deleteSecret(name, options) {
|
|
8637
|
+
const request = new avs_pb20.DeleteSecretReq();
|
|
8638
|
+
request.setName(name);
|
|
8639
|
+
if (options?.workflowId) {
|
|
8640
|
+
request.setWorkflowId(options.workflowId);
|
|
8641
|
+
}
|
|
8642
|
+
if (options?.orgId) {
|
|
8643
|
+
request.setOrgId(options.orgId);
|
|
8637
8644
|
}
|
|
8638
8645
|
const result = await this.sendGrpcRequest("deleteSecret", request, options);
|
|
8639
8646
|
return result.getValue();
|
|
8640
8647
|
}
|
|
8641
|
-
async updateSecret(secret, options) {
|
|
8642
|
-
const request = secret.toRequest();
|
|
8643
|
-
const result = await this.sendGrpcRequest("updateSecret", request, options);
|
|
8644
|
-
return result.getValue();
|
|
8645
|
-
}
|
|
8646
8648
|
};
|
|
8647
8649
|
export {
|
|
8648
8650
|
AUTH_KEY_HEADER,
|
|
@@ -8665,12 +8667,11 @@ export {
|
|
|
8665
8667
|
interface_default2 as Node,
|
|
8666
8668
|
factory_default2 as NodeFactory,
|
|
8667
8669
|
restApi_default as RestAPINode,
|
|
8668
|
-
|
|
8670
|
+
step_default as Step,
|
|
8669
8671
|
interface_default as Trigger,
|
|
8670
8672
|
factory_default as TriggerFactory,
|
|
8671
8673
|
TriggerType,
|
|
8672
8674
|
workflow_default as Workflow,
|
|
8673
8675
|
WorkflowStatus,
|
|
8674
|
-
Client as default
|
|
8675
|
-
getKeyRequestMessage
|
|
8676
|
+
Client as default
|
|
8676
8677
|
};
|