@avaprotocol/sdk-js 1.3.8 → 1.4.0

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.js CHANGED
@@ -55,38 +55,57 @@ var require_avs_pb = __commonJS({
55
55
  goog.object.extend(proto, google_protobuf_wrappers_pb);
56
56
  var google_protobuf_timestamp_pb = require("google-protobuf/google/protobuf/timestamp_pb.js");
57
57
  goog.object.extend(proto, google_protobuf_timestamp_pb);
58
+ var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
59
+ goog.object.extend(proto, google_protobuf_any_pb);
60
+ var google_protobuf_struct_pb = require("google-protobuf/google/protobuf/struct_pb.js");
61
+ goog.object.extend(proto, google_protobuf_struct_pb);
58
62
  goog.exportSymbol("proto.aggregator.BlockCondition", null, global);
59
63
  goog.exportSymbol("proto.aggregator.BranchNode", null, global);
64
+ goog.exportSymbol("proto.aggregator.BranchNode.Output", null, global);
60
65
  goog.exportSymbol("proto.aggregator.Condition", null, global);
61
66
  goog.exportSymbol("proto.aggregator.ContractReadNode", null, global);
67
+ goog.exportSymbol("proto.aggregator.ContractReadNode.Output", null, global);
62
68
  goog.exportSymbol("proto.aggregator.ContractWriteNode", null, global);
69
+ goog.exportSymbol("proto.aggregator.ContractWriteNode.Output", null, global);
63
70
  goog.exportSymbol("proto.aggregator.CreateOrUpdateSecretReq", null, global);
64
71
  goog.exportSymbol("proto.aggregator.CreateTaskReq", null, global);
65
72
  goog.exportSymbol("proto.aggregator.CreateTaskResp", null, global);
66
73
  goog.exportSymbol("proto.aggregator.CronCondition", null, global);
67
74
  goog.exportSymbol("proto.aggregator.CustomCodeLang", null, global);
68
75
  goog.exportSymbol("proto.aggregator.CustomCodeNode", null, global);
76
+ goog.exportSymbol("proto.aggregator.CustomCodeNode.Output", null, global);
69
77
  goog.exportSymbol("proto.aggregator.DeleteSecretReq", null, global);
70
78
  goog.exportSymbol("proto.aggregator.ETHTransferNode", null, global);
79
+ goog.exportSymbol("proto.aggregator.ETHTransferNode.Output", null, global);
71
80
  goog.exportSymbol("proto.aggregator.Error", null, global);
72
81
  goog.exportSymbol("proto.aggregator.EventCondition", null, global);
73
82
  goog.exportSymbol("proto.aggregator.EventCondition.Matcher", null, global);
83
+ goog.exportSymbol("proto.aggregator.Evm", null, global);
84
+ goog.exportSymbol("proto.aggregator.Evm.Log", null, global);
85
+ goog.exportSymbol("proto.aggregator.Evm.TransactionReceipt", null, global);
86
+ goog.exportSymbol("proto.aggregator.Evm.UserOp", null, global);
74
87
  goog.exportSymbol("proto.aggregator.Execution", null, global);
75
88
  goog.exportSymbol("proto.aggregator.Execution.BlockOutput", null, global);
76
- goog.exportSymbol("proto.aggregator.Execution.EvmLogOutput", null, global);
77
89
  goog.exportSymbol("proto.aggregator.Execution.OutputDataCase", null, global);
78
90
  goog.exportSymbol("proto.aggregator.Execution.Step", null, global);
91
+ goog.exportSymbol("proto.aggregator.Execution.Step.OutputDataCase", null, global);
79
92
  goog.exportSymbol("proto.aggregator.Execution.TimeOutput", null, global);
80
93
  goog.exportSymbol("proto.aggregator.Execution.TransferLogOutput", null, global);
81
94
  goog.exportSymbol("proto.aggregator.ExecutionReq", null, global);
82
95
  goog.exportSymbol("proto.aggregator.ExecutionStatus", null, global);
83
96
  goog.exportSymbol("proto.aggregator.ExecutionStatusResp", null, global);
84
97
  goog.exportSymbol("proto.aggregator.FilterNode", null, global);
98
+ goog.exportSymbol("proto.aggregator.FilterNode.Output", null, global);
85
99
  goog.exportSymbol("proto.aggregator.FixedTimeCondition", null, global);
100
+ goog.exportSymbol("proto.aggregator.GetExecutionCountReq", null, global);
101
+ goog.exportSymbol("proto.aggregator.GetExecutionCountResp", null, global);
86
102
  goog.exportSymbol("proto.aggregator.GetKeyReq", null, global);
87
103
  goog.exportSymbol("proto.aggregator.GetWalletReq", null, global);
88
104
  goog.exportSymbol("proto.aggregator.GetWalletResp", null, global);
105
+ goog.exportSymbol("proto.aggregator.GetWorkflowCountReq", null, global);
106
+ goog.exportSymbol("proto.aggregator.GetWorkflowCountResp", null, global);
89
107
  goog.exportSymbol("proto.aggregator.GraphQLQueryNode", null, global);
108
+ goog.exportSymbol("proto.aggregator.GraphQLQueryNode.Output", null, global);
90
109
  goog.exportSymbol("proto.aggregator.IdReq", null, global);
91
110
  goog.exportSymbol("proto.aggregator.KeyResp", null, global);
92
111
  goog.exportSymbol("proto.aggregator.ListExecutionsReq", null, global);
@@ -100,10 +119,12 @@ var require_avs_pb = __commonJS({
100
119
  goog.exportSymbol("proto.aggregator.ListWalletReq", null, global);
101
120
  goog.exportSymbol("proto.aggregator.ListWalletResp", null, global);
102
121
  goog.exportSymbol("proto.aggregator.LoopNode", null, global);
122
+ goog.exportSymbol("proto.aggregator.LoopNode.Output", null, global);
103
123
  goog.exportSymbol("proto.aggregator.LoopNode.RunnerCase", null, global);
104
124
  goog.exportSymbol("proto.aggregator.NonceRequest", null, global);
105
125
  goog.exportSymbol("proto.aggregator.NonceResp", null, global);
106
126
  goog.exportSymbol("proto.aggregator.RestAPINode", null, global);
127
+ goog.exportSymbol("proto.aggregator.RestAPINode.Output", null, global);
107
128
  goog.exportSymbol("proto.aggregator.SmartWallet", null, global);
108
129
  goog.exportSymbol("proto.aggregator.Task", null, global);
109
130
  goog.exportSymbol("proto.aggregator.TaskEdge", null, global);
@@ -172,6 +193,13 @@ var require_avs_pb = __commonJS({
172
193
  if (goog.DEBUG && !COMPILED) {
173
194
  proto.aggregator.ETHTransferNode.displayName = "proto.aggregator.ETHTransferNode";
174
195
  }
196
+ proto.aggregator.ETHTransferNode.Output = function(opt_data) {
197
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
198
+ };
199
+ goog.inherits(proto.aggregator.ETHTransferNode.Output, jspb.Message);
200
+ if (goog.DEBUG && !COMPILED) {
201
+ proto.aggregator.ETHTransferNode.Output.displayName = "proto.aggregator.ETHTransferNode.Output";
202
+ }
175
203
  proto.aggregator.ContractWriteNode = function(opt_data) {
176
204
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
177
205
  };
@@ -179,6 +207,13 @@ var require_avs_pb = __commonJS({
179
207
  if (goog.DEBUG && !COMPILED) {
180
208
  proto.aggregator.ContractWriteNode.displayName = "proto.aggregator.ContractWriteNode";
181
209
  }
210
+ proto.aggregator.ContractWriteNode.Output = function(opt_data) {
211
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
212
+ };
213
+ goog.inherits(proto.aggregator.ContractWriteNode.Output, jspb.Message);
214
+ if (goog.DEBUG && !COMPILED) {
215
+ proto.aggregator.ContractWriteNode.Output.displayName = "proto.aggregator.ContractWriteNode.Output";
216
+ }
182
217
  proto.aggregator.ContractReadNode = function(opt_data) {
183
218
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
184
219
  };
@@ -186,6 +221,13 @@ var require_avs_pb = __commonJS({
186
221
  if (goog.DEBUG && !COMPILED) {
187
222
  proto.aggregator.ContractReadNode.displayName = "proto.aggregator.ContractReadNode";
188
223
  }
224
+ proto.aggregator.ContractReadNode.Output = function(opt_data) {
225
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.ContractReadNode.Output.repeatedFields_, null);
226
+ };
227
+ goog.inherits(proto.aggregator.ContractReadNode.Output, jspb.Message);
228
+ if (goog.DEBUG && !COMPILED) {
229
+ proto.aggregator.ContractReadNode.Output.displayName = "proto.aggregator.ContractReadNode.Output";
230
+ }
189
231
  proto.aggregator.GraphQLQueryNode = function(opt_data) {
190
232
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
191
233
  };
@@ -193,6 +235,13 @@ var require_avs_pb = __commonJS({
193
235
  if (goog.DEBUG && !COMPILED) {
194
236
  proto.aggregator.GraphQLQueryNode.displayName = "proto.aggregator.GraphQLQueryNode";
195
237
  }
238
+ proto.aggregator.GraphQLQueryNode.Output = function(opt_data) {
239
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
240
+ };
241
+ goog.inherits(proto.aggregator.GraphQLQueryNode.Output, jspb.Message);
242
+ if (goog.DEBUG && !COMPILED) {
243
+ proto.aggregator.GraphQLQueryNode.Output.displayName = "proto.aggregator.GraphQLQueryNode.Output";
244
+ }
196
245
  proto.aggregator.RestAPINode = function(opt_data) {
197
246
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
198
247
  };
@@ -200,6 +249,13 @@ var require_avs_pb = __commonJS({
200
249
  if (goog.DEBUG && !COMPILED) {
201
250
  proto.aggregator.RestAPINode.displayName = "proto.aggregator.RestAPINode";
202
251
  }
252
+ proto.aggregator.RestAPINode.Output = function(opt_data) {
253
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
254
+ };
255
+ goog.inherits(proto.aggregator.RestAPINode.Output, jspb.Message);
256
+ if (goog.DEBUG && !COMPILED) {
257
+ proto.aggregator.RestAPINode.Output.displayName = "proto.aggregator.RestAPINode.Output";
258
+ }
203
259
  proto.aggregator.CustomCodeNode = function(opt_data) {
204
260
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
205
261
  };
@@ -207,6 +263,13 @@ var require_avs_pb = __commonJS({
207
263
  if (goog.DEBUG && !COMPILED) {
208
264
  proto.aggregator.CustomCodeNode.displayName = "proto.aggregator.CustomCodeNode";
209
265
  }
266
+ proto.aggregator.CustomCodeNode.Output = function(opt_data) {
267
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
268
+ };
269
+ goog.inherits(proto.aggregator.CustomCodeNode.Output, jspb.Message);
270
+ if (goog.DEBUG && !COMPILED) {
271
+ proto.aggregator.CustomCodeNode.Output.displayName = "proto.aggregator.CustomCodeNode.Output";
272
+ }
210
273
  proto.aggregator.Condition = function(opt_data) {
211
274
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
212
275
  };
@@ -221,6 +284,13 @@ var require_avs_pb = __commonJS({
221
284
  if (goog.DEBUG && !COMPILED) {
222
285
  proto.aggregator.BranchNode.displayName = "proto.aggregator.BranchNode";
223
286
  }
287
+ proto.aggregator.BranchNode.Output = function(opt_data) {
288
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
289
+ };
290
+ goog.inherits(proto.aggregator.BranchNode.Output, jspb.Message);
291
+ if (goog.DEBUG && !COMPILED) {
292
+ proto.aggregator.BranchNode.Output.displayName = "proto.aggregator.BranchNode.Output";
293
+ }
224
294
  proto.aggregator.FilterNode = function(opt_data) {
225
295
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
226
296
  };
@@ -228,6 +298,13 @@ var require_avs_pb = __commonJS({
228
298
  if (goog.DEBUG && !COMPILED) {
229
299
  proto.aggregator.FilterNode.displayName = "proto.aggregator.FilterNode";
230
300
  }
301
+ proto.aggregator.FilterNode.Output = function(opt_data) {
302
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
303
+ };
304
+ goog.inherits(proto.aggregator.FilterNode.Output, jspb.Message);
305
+ if (goog.DEBUG && !COMPILED) {
306
+ proto.aggregator.FilterNode.Output.displayName = "proto.aggregator.FilterNode.Output";
307
+ }
231
308
  proto.aggregator.LoopNode = function(opt_data) {
232
309
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.aggregator.LoopNode.oneofGroups_);
233
310
  };
@@ -235,6 +312,13 @@ var require_avs_pb = __commonJS({
235
312
  if (goog.DEBUG && !COMPILED) {
236
313
  proto.aggregator.LoopNode.displayName = "proto.aggregator.LoopNode";
237
314
  }
315
+ proto.aggregator.LoopNode.Output = function(opt_data) {
316
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
317
+ };
318
+ goog.inherits(proto.aggregator.LoopNode.Output, jspb.Message);
319
+ if (goog.DEBUG && !COMPILED) {
320
+ proto.aggregator.LoopNode.Output.displayName = "proto.aggregator.LoopNode.Output";
321
+ }
238
322
  proto.aggregator.TaskEdge = function(opt_data) {
239
323
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
240
324
  };
@@ -257,7 +341,7 @@ var require_avs_pb = __commonJS({
257
341
  proto.aggregator.Execution.displayName = "proto.aggregator.Execution";
258
342
  }
259
343
  proto.aggregator.Execution.Step = function(opt_data) {
260
- jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.Execution.Step.repeatedFields_, null);
344
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.Execution.Step.repeatedFields_, proto.aggregator.Execution.Step.oneofGroups_);
261
345
  };
262
346
  goog.inherits(proto.aggregator.Execution.Step, jspb.Message);
263
347
  if (goog.DEBUG && !COMPILED) {
@@ -270,13 +354,6 @@ var require_avs_pb = __commonJS({
270
354
  if (goog.DEBUG && !COMPILED) {
271
355
  proto.aggregator.Execution.TransferLogOutput.displayName = "proto.aggregator.Execution.TransferLogOutput";
272
356
  }
273
- proto.aggregator.Execution.EvmLogOutput = function(opt_data) {
274
- jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.Execution.EvmLogOutput.repeatedFields_, null);
275
- };
276
- goog.inherits(proto.aggregator.Execution.EvmLogOutput, jspb.Message);
277
- if (goog.DEBUG && !COMPILED) {
278
- proto.aggregator.Execution.EvmLogOutput.displayName = "proto.aggregator.Execution.EvmLogOutput";
279
- }
280
357
  proto.aggregator.Execution.BlockOutput = function(opt_data) {
281
358
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
282
359
  };
@@ -480,6 +557,62 @@ var require_avs_pb = __commonJS({
480
557
  if (goog.DEBUG && !COMPILED) {
481
558
  proto.aggregator.DeleteSecretReq.displayName = "proto.aggregator.DeleteSecretReq";
482
559
  }
560
+ proto.aggregator.GetWorkflowCountReq = function(opt_data) {
561
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.GetWorkflowCountReq.repeatedFields_, null);
562
+ };
563
+ goog.inherits(proto.aggregator.GetWorkflowCountReq, jspb.Message);
564
+ if (goog.DEBUG && !COMPILED) {
565
+ proto.aggregator.GetWorkflowCountReq.displayName = "proto.aggregator.GetWorkflowCountReq";
566
+ }
567
+ proto.aggregator.GetWorkflowCountResp = function(opt_data) {
568
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
569
+ };
570
+ goog.inherits(proto.aggregator.GetWorkflowCountResp, jspb.Message);
571
+ if (goog.DEBUG && !COMPILED) {
572
+ proto.aggregator.GetWorkflowCountResp.displayName = "proto.aggregator.GetWorkflowCountResp";
573
+ }
574
+ proto.aggregator.GetExecutionCountReq = function(opt_data) {
575
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.GetExecutionCountReq.repeatedFields_, null);
576
+ };
577
+ goog.inherits(proto.aggregator.GetExecutionCountReq, jspb.Message);
578
+ if (goog.DEBUG && !COMPILED) {
579
+ proto.aggregator.GetExecutionCountReq.displayName = "proto.aggregator.GetExecutionCountReq";
580
+ }
581
+ proto.aggregator.GetExecutionCountResp = function(opt_data) {
582
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
583
+ };
584
+ goog.inherits(proto.aggregator.GetExecutionCountResp, jspb.Message);
585
+ if (goog.DEBUG && !COMPILED) {
586
+ proto.aggregator.GetExecutionCountResp.displayName = "proto.aggregator.GetExecutionCountResp";
587
+ }
588
+ proto.aggregator.Evm = function(opt_data) {
589
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
590
+ };
591
+ goog.inherits(proto.aggregator.Evm, jspb.Message);
592
+ if (goog.DEBUG && !COMPILED) {
593
+ proto.aggregator.Evm.displayName = "proto.aggregator.Evm";
594
+ }
595
+ proto.aggregator.Evm.Log = function(opt_data) {
596
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.Evm.Log.repeatedFields_, null);
597
+ };
598
+ goog.inherits(proto.aggregator.Evm.Log, jspb.Message);
599
+ if (goog.DEBUG && !COMPILED) {
600
+ proto.aggregator.Evm.Log.displayName = "proto.aggregator.Evm.Log";
601
+ }
602
+ proto.aggregator.Evm.TransactionReceipt = function(opt_data) {
603
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.aggregator.Evm.TransactionReceipt.repeatedFields_, null);
604
+ };
605
+ goog.inherits(proto.aggregator.Evm.TransactionReceipt, jspb.Message);
606
+ if (goog.DEBUG && !COMPILED) {
607
+ proto.aggregator.Evm.TransactionReceipt.displayName = "proto.aggregator.Evm.TransactionReceipt";
608
+ }
609
+ proto.aggregator.Evm.UserOp = function(opt_data) {
610
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
611
+ };
612
+ goog.inherits(proto.aggregator.Evm.UserOp, jspb.Message);
613
+ if (goog.DEBUG && !COMPILED) {
614
+ proto.aggregator.Evm.UserOp.displayName = "proto.aggregator.Evm.UserOp";
615
+ }
483
616
  if (jspb.Message.GENERATE_TO_OBJECT) {
484
617
  proto.aggregator.IdReq.prototype.toObject = function(opt_includeInstance) {
485
618
  return proto.aggregator.IdReq.toObject(opt_includeInstance, this);
@@ -1265,6 +1398,70 @@ var require_avs_pb = __commonJS({
1265
1398
  );
1266
1399
  }
1267
1400
  };
1401
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1402
+ proto.aggregator.ETHTransferNode.Output.prototype.toObject = function(opt_includeInstance) {
1403
+ return proto.aggregator.ETHTransferNode.Output.toObject(opt_includeInstance, this);
1404
+ };
1405
+ proto.aggregator.ETHTransferNode.Output.toObject = function(includeInstance, msg) {
1406
+ var f, obj = {
1407
+ transactionHash: jspb.Message.getFieldWithDefault(msg, 1, "")
1408
+ };
1409
+ if (includeInstance) {
1410
+ obj.$jspbMessageInstance = msg;
1411
+ }
1412
+ return obj;
1413
+ };
1414
+ }
1415
+ proto.aggregator.ETHTransferNode.Output.deserializeBinary = function(bytes) {
1416
+ var reader = new jspb.BinaryReader(bytes);
1417
+ var msg = new proto.aggregator.ETHTransferNode.Output();
1418
+ return proto.aggregator.ETHTransferNode.Output.deserializeBinaryFromReader(msg, reader);
1419
+ };
1420
+ proto.aggregator.ETHTransferNode.Output.deserializeBinaryFromReader = function(msg, reader) {
1421
+ while (reader.nextField()) {
1422
+ if (reader.isEndGroup()) {
1423
+ break;
1424
+ }
1425
+ var field = reader.getFieldNumber();
1426
+ switch (field) {
1427
+ case 1:
1428
+ var value = (
1429
+ /** @type {string} */
1430
+ reader.readString()
1431
+ );
1432
+ msg.setTransactionHash(value);
1433
+ break;
1434
+ default:
1435
+ reader.skipField();
1436
+ break;
1437
+ }
1438
+ }
1439
+ return msg;
1440
+ };
1441
+ proto.aggregator.ETHTransferNode.Output.prototype.serializeBinary = function() {
1442
+ var writer = new jspb.BinaryWriter();
1443
+ proto.aggregator.ETHTransferNode.Output.serializeBinaryToWriter(this, writer);
1444
+ return writer.getResultBuffer();
1445
+ };
1446
+ proto.aggregator.ETHTransferNode.Output.serializeBinaryToWriter = function(message, writer) {
1447
+ var f = void 0;
1448
+ f = message.getTransactionHash();
1449
+ if (f.length > 0) {
1450
+ writer.writeString(
1451
+ 1,
1452
+ f
1453
+ );
1454
+ }
1455
+ };
1456
+ proto.aggregator.ETHTransferNode.Output.prototype.getTransactionHash = function() {
1457
+ return (
1458
+ /** @type {string} */
1459
+ jspb.Message.getFieldWithDefault(this, 1, "")
1460
+ );
1461
+ };
1462
+ proto.aggregator.ETHTransferNode.Output.prototype.setTransactionHash = function(value) {
1463
+ return jspb.Message.setProto3StringField(this, 1, value);
1464
+ };
1268
1465
  proto.aggregator.ETHTransferNode.prototype.getDestination = function() {
1269
1466
  return (
1270
1467
  /** @type {string} */
@@ -1368,6 +1565,104 @@ var require_avs_pb = __commonJS({
1368
1565
  );
1369
1566
  }
1370
1567
  };
1568
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1569
+ proto.aggregator.ContractWriteNode.Output.prototype.toObject = function(opt_includeInstance) {
1570
+ return proto.aggregator.ContractWriteNode.Output.toObject(opt_includeInstance, this);
1571
+ };
1572
+ proto.aggregator.ContractWriteNode.Output.toObject = function(includeInstance, msg) {
1573
+ var f, obj = {
1574
+ userOp: (f = msg.getUserOp()) && proto.aggregator.Evm.UserOp.toObject(includeInstance, f),
1575
+ txReceipt: (f = msg.getTxReceipt()) && proto.aggregator.Evm.TransactionReceipt.toObject(includeInstance, f)
1576
+ };
1577
+ if (includeInstance) {
1578
+ obj.$jspbMessageInstance = msg;
1579
+ }
1580
+ return obj;
1581
+ };
1582
+ }
1583
+ proto.aggregator.ContractWriteNode.Output.deserializeBinary = function(bytes) {
1584
+ var reader = new jspb.BinaryReader(bytes);
1585
+ var msg = new proto.aggregator.ContractWriteNode.Output();
1586
+ return proto.aggregator.ContractWriteNode.Output.deserializeBinaryFromReader(msg, reader);
1587
+ };
1588
+ proto.aggregator.ContractWriteNode.Output.deserializeBinaryFromReader = function(msg, reader) {
1589
+ while (reader.nextField()) {
1590
+ if (reader.isEndGroup()) {
1591
+ break;
1592
+ }
1593
+ var field = reader.getFieldNumber();
1594
+ switch (field) {
1595
+ case 1:
1596
+ var value = new proto.aggregator.Evm.UserOp();
1597
+ reader.readMessage(value, proto.aggregator.Evm.UserOp.deserializeBinaryFromReader);
1598
+ msg.setUserOp(value);
1599
+ break;
1600
+ case 2:
1601
+ var value = new proto.aggregator.Evm.TransactionReceipt();
1602
+ reader.readMessage(value, proto.aggregator.Evm.TransactionReceipt.deserializeBinaryFromReader);
1603
+ msg.setTxReceipt(value);
1604
+ break;
1605
+ default:
1606
+ reader.skipField();
1607
+ break;
1608
+ }
1609
+ }
1610
+ return msg;
1611
+ };
1612
+ proto.aggregator.ContractWriteNode.Output.prototype.serializeBinary = function() {
1613
+ var writer = new jspb.BinaryWriter();
1614
+ proto.aggregator.ContractWriteNode.Output.serializeBinaryToWriter(this, writer);
1615
+ return writer.getResultBuffer();
1616
+ };
1617
+ proto.aggregator.ContractWriteNode.Output.serializeBinaryToWriter = function(message, writer) {
1618
+ var f = void 0;
1619
+ f = message.getUserOp();
1620
+ if (f != null) {
1621
+ writer.writeMessage(
1622
+ 1,
1623
+ f,
1624
+ proto.aggregator.Evm.UserOp.serializeBinaryToWriter
1625
+ );
1626
+ }
1627
+ f = message.getTxReceipt();
1628
+ if (f != null) {
1629
+ writer.writeMessage(
1630
+ 2,
1631
+ f,
1632
+ proto.aggregator.Evm.TransactionReceipt.serializeBinaryToWriter
1633
+ );
1634
+ }
1635
+ };
1636
+ proto.aggregator.ContractWriteNode.Output.prototype.getUserOp = function() {
1637
+ return (
1638
+ /** @type{?proto.aggregator.Evm.UserOp} */
1639
+ jspb.Message.getWrapperField(this, proto.aggregator.Evm.UserOp, 1)
1640
+ );
1641
+ };
1642
+ proto.aggregator.ContractWriteNode.Output.prototype.setUserOp = function(value) {
1643
+ return jspb.Message.setWrapperField(this, 1, value);
1644
+ };
1645
+ proto.aggregator.ContractWriteNode.Output.prototype.clearUserOp = function() {
1646
+ return this.setUserOp(void 0);
1647
+ };
1648
+ proto.aggregator.ContractWriteNode.Output.prototype.hasUserOp = function() {
1649
+ return jspb.Message.getField(this, 1) != null;
1650
+ };
1651
+ proto.aggregator.ContractWriteNode.Output.prototype.getTxReceipt = function() {
1652
+ return (
1653
+ /** @type{?proto.aggregator.Evm.TransactionReceipt} */
1654
+ jspb.Message.getWrapperField(this, proto.aggregator.Evm.TransactionReceipt, 2)
1655
+ );
1656
+ };
1657
+ proto.aggregator.ContractWriteNode.Output.prototype.setTxReceipt = function(value) {
1658
+ return jspb.Message.setWrapperField(this, 2, value);
1659
+ };
1660
+ proto.aggregator.ContractWriteNode.Output.prototype.clearTxReceipt = function() {
1661
+ return this.setTxReceipt(void 0);
1662
+ };
1663
+ proto.aggregator.ContractWriteNode.Output.prototype.hasTxReceipt = function() {
1664
+ return jspb.Message.getField(this, 2) != null;
1665
+ };
1371
1666
  proto.aggregator.ContractWriteNode.prototype.getContractAddress = function() {
1372
1667
  return (
1373
1668
  /** @type {string} */
@@ -1480,6 +1775,80 @@ var require_avs_pb = __commonJS({
1480
1775
  );
1481
1776
  }
1482
1777
  };
1778
+ proto.aggregator.ContractReadNode.Output.repeatedFields_ = [1];
1779
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1780
+ proto.aggregator.ContractReadNode.Output.prototype.toObject = function(opt_includeInstance) {
1781
+ return proto.aggregator.ContractReadNode.Output.toObject(opt_includeInstance, this);
1782
+ };
1783
+ proto.aggregator.ContractReadNode.Output.toObject = function(includeInstance, msg) {
1784
+ var f, obj = {
1785
+ dataList: jspb.Message.toObjectList(
1786
+ msg.getDataList(),
1787
+ google_protobuf_struct_pb.Value.toObject,
1788
+ includeInstance
1789
+ )
1790
+ };
1791
+ if (includeInstance) {
1792
+ obj.$jspbMessageInstance = msg;
1793
+ }
1794
+ return obj;
1795
+ };
1796
+ }
1797
+ proto.aggregator.ContractReadNode.Output.deserializeBinary = function(bytes) {
1798
+ var reader = new jspb.BinaryReader(bytes);
1799
+ var msg = new proto.aggregator.ContractReadNode.Output();
1800
+ return proto.aggregator.ContractReadNode.Output.deserializeBinaryFromReader(msg, reader);
1801
+ };
1802
+ proto.aggregator.ContractReadNode.Output.deserializeBinaryFromReader = function(msg, reader) {
1803
+ while (reader.nextField()) {
1804
+ if (reader.isEndGroup()) {
1805
+ break;
1806
+ }
1807
+ var field = reader.getFieldNumber();
1808
+ switch (field) {
1809
+ case 1:
1810
+ var value = new google_protobuf_struct_pb.Value();
1811
+ reader.readMessage(value, google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
1812
+ msg.addData(value);
1813
+ break;
1814
+ default:
1815
+ reader.skipField();
1816
+ break;
1817
+ }
1818
+ }
1819
+ return msg;
1820
+ };
1821
+ proto.aggregator.ContractReadNode.Output.prototype.serializeBinary = function() {
1822
+ var writer = new jspb.BinaryWriter();
1823
+ proto.aggregator.ContractReadNode.Output.serializeBinaryToWriter(this, writer);
1824
+ return writer.getResultBuffer();
1825
+ };
1826
+ proto.aggregator.ContractReadNode.Output.serializeBinaryToWriter = function(message, writer) {
1827
+ var f = void 0;
1828
+ f = message.getDataList();
1829
+ if (f.length > 0) {
1830
+ writer.writeRepeatedMessage(
1831
+ 1,
1832
+ f,
1833
+ google_protobuf_struct_pb.Value.serializeBinaryToWriter
1834
+ );
1835
+ }
1836
+ };
1837
+ proto.aggregator.ContractReadNode.Output.prototype.getDataList = function() {
1838
+ return (
1839
+ /** @type{!Array<!proto.google.protobuf.Value>} */
1840
+ jspb.Message.getRepeatedWrapperField(this, google_protobuf_struct_pb.Value, 1)
1841
+ );
1842
+ };
1843
+ proto.aggregator.ContractReadNode.Output.prototype.setDataList = function(value) {
1844
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1845
+ };
1846
+ proto.aggregator.ContractReadNode.Output.prototype.addData = function(opt_value, opt_index) {
1847
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.Value, opt_index);
1848
+ };
1849
+ proto.aggregator.ContractReadNode.Output.prototype.clearDataList = function() {
1850
+ return this.setDataList([]);
1851
+ };
1483
1852
  proto.aggregator.ContractReadNode.prototype.getContractAddress = function() {
1484
1853
  return (
1485
1854
  /** @type {string} */
@@ -1588,26 +1957,95 @@ var require_avs_pb = __commonJS({
1588
1957
  f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
1589
1958
  }
1590
1959
  };
1591
- proto.aggregator.GraphQLQueryNode.prototype.getUrl = function() {
1592
- return (
1593
- /** @type {string} */
1594
- jspb.Message.getFieldWithDefault(this, 1, "")
1595
- );
1596
- };
1597
- proto.aggregator.GraphQLQueryNode.prototype.setUrl = function(value) {
1598
- return jspb.Message.setProto3StringField(this, 1, value);
1599
- };
1600
- proto.aggregator.GraphQLQueryNode.prototype.getQuery = function() {
1601
- return (
1602
- /** @type {string} */
1603
- jspb.Message.getFieldWithDefault(this, 2, "")
1604
- );
1605
- };
1606
- proto.aggregator.GraphQLQueryNode.prototype.setQuery = function(value) {
1607
- return jspb.Message.setProto3StringField(this, 2, value);
1960
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1961
+ proto.aggregator.GraphQLQueryNode.Output.prototype.toObject = function(opt_includeInstance) {
1962
+ return proto.aggregator.GraphQLQueryNode.Output.toObject(opt_includeInstance, this);
1963
+ };
1964
+ proto.aggregator.GraphQLQueryNode.Output.toObject = function(includeInstance, msg) {
1965
+ var f, obj = {
1966
+ data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
1967
+ };
1968
+ if (includeInstance) {
1969
+ obj.$jspbMessageInstance = msg;
1970
+ }
1971
+ return obj;
1972
+ };
1973
+ }
1974
+ proto.aggregator.GraphQLQueryNode.Output.deserializeBinary = function(bytes) {
1975
+ var reader = new jspb.BinaryReader(bytes);
1976
+ var msg = new proto.aggregator.GraphQLQueryNode.Output();
1977
+ return proto.aggregator.GraphQLQueryNode.Output.deserializeBinaryFromReader(msg, reader);
1608
1978
  };
1609
- proto.aggregator.GraphQLQueryNode.prototype.getVariablesMap = function(opt_noLazyCreate) {
1610
- return (
1979
+ proto.aggregator.GraphQLQueryNode.Output.deserializeBinaryFromReader = function(msg, reader) {
1980
+ while (reader.nextField()) {
1981
+ if (reader.isEndGroup()) {
1982
+ break;
1983
+ }
1984
+ var field = reader.getFieldNumber();
1985
+ switch (field) {
1986
+ case 1:
1987
+ var value = new google_protobuf_any_pb.Any();
1988
+ reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
1989
+ msg.setData(value);
1990
+ break;
1991
+ default:
1992
+ reader.skipField();
1993
+ break;
1994
+ }
1995
+ }
1996
+ return msg;
1997
+ };
1998
+ proto.aggregator.GraphQLQueryNode.Output.prototype.serializeBinary = function() {
1999
+ var writer = new jspb.BinaryWriter();
2000
+ proto.aggregator.GraphQLQueryNode.Output.serializeBinaryToWriter(this, writer);
2001
+ return writer.getResultBuffer();
2002
+ };
2003
+ proto.aggregator.GraphQLQueryNode.Output.serializeBinaryToWriter = function(message, writer) {
2004
+ var f = void 0;
2005
+ f = message.getData();
2006
+ if (f != null) {
2007
+ writer.writeMessage(
2008
+ 1,
2009
+ f,
2010
+ google_protobuf_any_pb.Any.serializeBinaryToWriter
2011
+ );
2012
+ }
2013
+ };
2014
+ proto.aggregator.GraphQLQueryNode.Output.prototype.getData = function() {
2015
+ return (
2016
+ /** @type{?proto.google.protobuf.Any} */
2017
+ jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1)
2018
+ );
2019
+ };
2020
+ proto.aggregator.GraphQLQueryNode.Output.prototype.setData = function(value) {
2021
+ return jspb.Message.setWrapperField(this, 1, value);
2022
+ };
2023
+ proto.aggregator.GraphQLQueryNode.Output.prototype.clearData = function() {
2024
+ return this.setData(void 0);
2025
+ };
2026
+ proto.aggregator.GraphQLQueryNode.Output.prototype.hasData = function() {
2027
+ return jspb.Message.getField(this, 1) != null;
2028
+ };
2029
+ proto.aggregator.GraphQLQueryNode.prototype.getUrl = function() {
2030
+ return (
2031
+ /** @type {string} */
2032
+ jspb.Message.getFieldWithDefault(this, 1, "")
2033
+ );
2034
+ };
2035
+ proto.aggregator.GraphQLQueryNode.prototype.setUrl = function(value) {
2036
+ return jspb.Message.setProto3StringField(this, 1, value);
2037
+ };
2038
+ proto.aggregator.GraphQLQueryNode.prototype.getQuery = function() {
2039
+ return (
2040
+ /** @type {string} */
2041
+ jspb.Message.getFieldWithDefault(this, 2, "")
2042
+ );
2043
+ };
2044
+ proto.aggregator.GraphQLQueryNode.prototype.setQuery = function(value) {
2045
+ return jspb.Message.setProto3StringField(this, 2, value);
2046
+ };
2047
+ proto.aggregator.GraphQLQueryNode.prototype.getVariablesMap = function(opt_noLazyCreate) {
2048
+ return (
1611
2049
  /** @type {!jspb.Map<string,string>} */
1612
2050
  jspb.Message.getMapField(
1613
2051
  this,
@@ -1717,6 +2155,75 @@ var require_avs_pb = __commonJS({
1717
2155
  );
1718
2156
  }
1719
2157
  };
2158
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2159
+ proto.aggregator.RestAPINode.Output.prototype.toObject = function(opt_includeInstance) {
2160
+ return proto.aggregator.RestAPINode.Output.toObject(opt_includeInstance, this);
2161
+ };
2162
+ proto.aggregator.RestAPINode.Output.toObject = function(includeInstance, msg) {
2163
+ var f, obj = {
2164
+ data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
2165
+ };
2166
+ if (includeInstance) {
2167
+ obj.$jspbMessageInstance = msg;
2168
+ }
2169
+ return obj;
2170
+ };
2171
+ }
2172
+ proto.aggregator.RestAPINode.Output.deserializeBinary = function(bytes) {
2173
+ var reader = new jspb.BinaryReader(bytes);
2174
+ var msg = new proto.aggregator.RestAPINode.Output();
2175
+ return proto.aggregator.RestAPINode.Output.deserializeBinaryFromReader(msg, reader);
2176
+ };
2177
+ proto.aggregator.RestAPINode.Output.deserializeBinaryFromReader = function(msg, reader) {
2178
+ while (reader.nextField()) {
2179
+ if (reader.isEndGroup()) {
2180
+ break;
2181
+ }
2182
+ var field = reader.getFieldNumber();
2183
+ switch (field) {
2184
+ case 1:
2185
+ var value = new google_protobuf_any_pb.Any();
2186
+ reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
2187
+ msg.setData(value);
2188
+ break;
2189
+ default:
2190
+ reader.skipField();
2191
+ break;
2192
+ }
2193
+ }
2194
+ return msg;
2195
+ };
2196
+ proto.aggregator.RestAPINode.Output.prototype.serializeBinary = function() {
2197
+ var writer = new jspb.BinaryWriter();
2198
+ proto.aggregator.RestAPINode.Output.serializeBinaryToWriter(this, writer);
2199
+ return writer.getResultBuffer();
2200
+ };
2201
+ proto.aggregator.RestAPINode.Output.serializeBinaryToWriter = function(message, writer) {
2202
+ var f = void 0;
2203
+ f = message.getData();
2204
+ if (f != null) {
2205
+ writer.writeMessage(
2206
+ 1,
2207
+ f,
2208
+ google_protobuf_any_pb.Any.serializeBinaryToWriter
2209
+ );
2210
+ }
2211
+ };
2212
+ proto.aggregator.RestAPINode.Output.prototype.getData = function() {
2213
+ return (
2214
+ /** @type{?proto.google.protobuf.Any} */
2215
+ jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1)
2216
+ );
2217
+ };
2218
+ proto.aggregator.RestAPINode.Output.prototype.setData = function(value) {
2219
+ return jspb.Message.setWrapperField(this, 1, value);
2220
+ };
2221
+ proto.aggregator.RestAPINode.Output.prototype.clearData = function() {
2222
+ return this.setData(void 0);
2223
+ };
2224
+ proto.aggregator.RestAPINode.Output.prototype.hasData = function() {
2225
+ return jspb.Message.getField(this, 1) != null;
2226
+ };
1720
2227
  proto.aggregator.RestAPINode.prototype.getUrl = function() {
1721
2228
  return (
1722
2229
  /** @type {string} */
@@ -1829,6 +2336,75 @@ var require_avs_pb = __commonJS({
1829
2336
  );
1830
2337
  }
1831
2338
  };
2339
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2340
+ proto.aggregator.CustomCodeNode.Output.prototype.toObject = function(opt_includeInstance) {
2341
+ return proto.aggregator.CustomCodeNode.Output.toObject(opt_includeInstance, this);
2342
+ };
2343
+ proto.aggregator.CustomCodeNode.Output.toObject = function(includeInstance, msg) {
2344
+ var f, obj = {
2345
+ data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
2346
+ };
2347
+ if (includeInstance) {
2348
+ obj.$jspbMessageInstance = msg;
2349
+ }
2350
+ return obj;
2351
+ };
2352
+ }
2353
+ proto.aggregator.CustomCodeNode.Output.deserializeBinary = function(bytes) {
2354
+ var reader = new jspb.BinaryReader(bytes);
2355
+ var msg = new proto.aggregator.CustomCodeNode.Output();
2356
+ return proto.aggregator.CustomCodeNode.Output.deserializeBinaryFromReader(msg, reader);
2357
+ };
2358
+ proto.aggregator.CustomCodeNode.Output.deserializeBinaryFromReader = function(msg, reader) {
2359
+ while (reader.nextField()) {
2360
+ if (reader.isEndGroup()) {
2361
+ break;
2362
+ }
2363
+ var field = reader.getFieldNumber();
2364
+ switch (field) {
2365
+ case 1:
2366
+ var value = new google_protobuf_any_pb.Any();
2367
+ reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
2368
+ msg.setData(value);
2369
+ break;
2370
+ default:
2371
+ reader.skipField();
2372
+ break;
2373
+ }
2374
+ }
2375
+ return msg;
2376
+ };
2377
+ proto.aggregator.CustomCodeNode.Output.prototype.serializeBinary = function() {
2378
+ var writer = new jspb.BinaryWriter();
2379
+ proto.aggregator.CustomCodeNode.Output.serializeBinaryToWriter(this, writer);
2380
+ return writer.getResultBuffer();
2381
+ };
2382
+ proto.aggregator.CustomCodeNode.Output.serializeBinaryToWriter = function(message, writer) {
2383
+ var f = void 0;
2384
+ f = message.getData();
2385
+ if (f != null) {
2386
+ writer.writeMessage(
2387
+ 1,
2388
+ f,
2389
+ google_protobuf_any_pb.Any.serializeBinaryToWriter
2390
+ );
2391
+ }
2392
+ };
2393
+ proto.aggregator.CustomCodeNode.Output.prototype.getData = function() {
2394
+ return (
2395
+ /** @type{?proto.google.protobuf.Any} */
2396
+ jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1)
2397
+ );
2398
+ };
2399
+ proto.aggregator.CustomCodeNode.Output.prototype.setData = function(value) {
2400
+ return jspb.Message.setWrapperField(this, 1, value);
2401
+ };
2402
+ proto.aggregator.CustomCodeNode.Output.prototype.clearData = function() {
2403
+ return this.setData(void 0);
2404
+ };
2405
+ proto.aggregator.CustomCodeNode.Output.prototype.hasData = function() {
2406
+ return jspb.Message.getField(this, 1) != null;
2407
+ };
1832
2408
  proto.aggregator.CustomCodeNode.prototype.getLang = function() {
1833
2409
  return (
1834
2410
  /** @type {!proto.aggregator.CustomCodeLang} */
@@ -2018,6 +2594,70 @@ var require_avs_pb = __commonJS({
2018
2594
  );
2019
2595
  }
2020
2596
  };
2597
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2598
+ proto.aggregator.BranchNode.Output.prototype.toObject = function(opt_includeInstance) {
2599
+ return proto.aggregator.BranchNode.Output.toObject(opt_includeInstance, this);
2600
+ };
2601
+ proto.aggregator.BranchNode.Output.toObject = function(includeInstance, msg) {
2602
+ var f, obj = {
2603
+ conditionId: jspb.Message.getFieldWithDefault(msg, 1, "")
2604
+ };
2605
+ if (includeInstance) {
2606
+ obj.$jspbMessageInstance = msg;
2607
+ }
2608
+ return obj;
2609
+ };
2610
+ }
2611
+ proto.aggregator.BranchNode.Output.deserializeBinary = function(bytes) {
2612
+ var reader = new jspb.BinaryReader(bytes);
2613
+ var msg = new proto.aggregator.BranchNode.Output();
2614
+ return proto.aggregator.BranchNode.Output.deserializeBinaryFromReader(msg, reader);
2615
+ };
2616
+ proto.aggregator.BranchNode.Output.deserializeBinaryFromReader = function(msg, reader) {
2617
+ while (reader.nextField()) {
2618
+ if (reader.isEndGroup()) {
2619
+ break;
2620
+ }
2621
+ var field = reader.getFieldNumber();
2622
+ switch (field) {
2623
+ case 1:
2624
+ var value = (
2625
+ /** @type {string} */
2626
+ reader.readString()
2627
+ );
2628
+ msg.setConditionId(value);
2629
+ break;
2630
+ default:
2631
+ reader.skipField();
2632
+ break;
2633
+ }
2634
+ }
2635
+ return msg;
2636
+ };
2637
+ proto.aggregator.BranchNode.Output.prototype.serializeBinary = function() {
2638
+ var writer = new jspb.BinaryWriter();
2639
+ proto.aggregator.BranchNode.Output.serializeBinaryToWriter(this, writer);
2640
+ return writer.getResultBuffer();
2641
+ };
2642
+ proto.aggregator.BranchNode.Output.serializeBinaryToWriter = function(message, writer) {
2643
+ var f = void 0;
2644
+ f = message.getConditionId();
2645
+ if (f.length > 0) {
2646
+ writer.writeString(
2647
+ 1,
2648
+ f
2649
+ );
2650
+ }
2651
+ };
2652
+ proto.aggregator.BranchNode.Output.prototype.getConditionId = function() {
2653
+ return (
2654
+ /** @type {string} */
2655
+ jspb.Message.getFieldWithDefault(this, 1, "")
2656
+ );
2657
+ };
2658
+ proto.aggregator.BranchNode.Output.prototype.setConditionId = function(value) {
2659
+ return jspb.Message.setProto3StringField(this, 1, value);
2660
+ };
2021
2661
  proto.aggregator.BranchNode.prototype.getConditionsList = function() {
2022
2662
  return (
2023
2663
  /** @type{!Array<!proto.aggregator.Condition>} */
@@ -2103,6 +2743,75 @@ var require_avs_pb = __commonJS({
2103
2743
  );
2104
2744
  }
2105
2745
  };
2746
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2747
+ proto.aggregator.FilterNode.Output.prototype.toObject = function(opt_includeInstance) {
2748
+ return proto.aggregator.FilterNode.Output.toObject(opt_includeInstance, this);
2749
+ };
2750
+ proto.aggregator.FilterNode.Output.toObject = function(includeInstance, msg) {
2751
+ var f, obj = {
2752
+ data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
2753
+ };
2754
+ if (includeInstance) {
2755
+ obj.$jspbMessageInstance = msg;
2756
+ }
2757
+ return obj;
2758
+ };
2759
+ }
2760
+ proto.aggregator.FilterNode.Output.deserializeBinary = function(bytes) {
2761
+ var reader = new jspb.BinaryReader(bytes);
2762
+ var msg = new proto.aggregator.FilterNode.Output();
2763
+ return proto.aggregator.FilterNode.Output.deserializeBinaryFromReader(msg, reader);
2764
+ };
2765
+ proto.aggregator.FilterNode.Output.deserializeBinaryFromReader = function(msg, reader) {
2766
+ while (reader.nextField()) {
2767
+ if (reader.isEndGroup()) {
2768
+ break;
2769
+ }
2770
+ var field = reader.getFieldNumber();
2771
+ switch (field) {
2772
+ case 1:
2773
+ var value = new google_protobuf_any_pb.Any();
2774
+ reader.readMessage(value, google_protobuf_any_pb.Any.deserializeBinaryFromReader);
2775
+ msg.setData(value);
2776
+ break;
2777
+ default:
2778
+ reader.skipField();
2779
+ break;
2780
+ }
2781
+ }
2782
+ return msg;
2783
+ };
2784
+ proto.aggregator.FilterNode.Output.prototype.serializeBinary = function() {
2785
+ var writer = new jspb.BinaryWriter();
2786
+ proto.aggregator.FilterNode.Output.serializeBinaryToWriter(this, writer);
2787
+ return writer.getResultBuffer();
2788
+ };
2789
+ proto.aggregator.FilterNode.Output.serializeBinaryToWriter = function(message, writer) {
2790
+ var f = void 0;
2791
+ f = message.getData();
2792
+ if (f != null) {
2793
+ writer.writeMessage(
2794
+ 1,
2795
+ f,
2796
+ google_protobuf_any_pb.Any.serializeBinaryToWriter
2797
+ );
2798
+ }
2799
+ };
2800
+ proto.aggregator.FilterNode.Output.prototype.getData = function() {
2801
+ return (
2802
+ /** @type{?proto.google.protobuf.Any} */
2803
+ jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1)
2804
+ );
2805
+ };
2806
+ proto.aggregator.FilterNode.Output.prototype.setData = function(value) {
2807
+ return jspb.Message.setWrapperField(this, 1, value);
2808
+ };
2809
+ proto.aggregator.FilterNode.Output.prototype.clearData = function() {
2810
+ return this.setData(void 0);
2811
+ };
2812
+ proto.aggregator.FilterNode.Output.prototype.hasData = function() {
2813
+ return jspb.Message.getField(this, 1) != null;
2814
+ };
2106
2815
  proto.aggregator.FilterNode.prototype.getExpression = function() {
2107
2816
  return (
2108
2817
  /** @type {string} */
@@ -2306,13 +3015,77 @@ var require_avs_pb = __commonJS({
2306
3015
  );
2307
3016
  }
2308
3017
  };
2309
- proto.aggregator.LoopNode.prototype.getInput = function() {
2310
- return (
2311
- /** @type {string} */
2312
- jspb.Message.getFieldWithDefault(this, 1, "")
2313
- );
2314
- };
2315
- proto.aggregator.LoopNode.prototype.setInput = function(value) {
3018
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3019
+ proto.aggregator.LoopNode.Output.prototype.toObject = function(opt_includeInstance) {
3020
+ return proto.aggregator.LoopNode.Output.toObject(opt_includeInstance, this);
3021
+ };
3022
+ proto.aggregator.LoopNode.Output.toObject = function(includeInstance, msg) {
3023
+ var f, obj = {
3024
+ data: jspb.Message.getFieldWithDefault(msg, 1, "")
3025
+ };
3026
+ if (includeInstance) {
3027
+ obj.$jspbMessageInstance = msg;
3028
+ }
3029
+ return obj;
3030
+ };
3031
+ }
3032
+ proto.aggregator.LoopNode.Output.deserializeBinary = function(bytes) {
3033
+ var reader = new jspb.BinaryReader(bytes);
3034
+ var msg = new proto.aggregator.LoopNode.Output();
3035
+ return proto.aggregator.LoopNode.Output.deserializeBinaryFromReader(msg, reader);
3036
+ };
3037
+ proto.aggregator.LoopNode.Output.deserializeBinaryFromReader = function(msg, reader) {
3038
+ while (reader.nextField()) {
3039
+ if (reader.isEndGroup()) {
3040
+ break;
3041
+ }
3042
+ var field = reader.getFieldNumber();
3043
+ switch (field) {
3044
+ case 1:
3045
+ var value = (
3046
+ /** @type {string} */
3047
+ reader.readString()
3048
+ );
3049
+ msg.setData(value);
3050
+ break;
3051
+ default:
3052
+ reader.skipField();
3053
+ break;
3054
+ }
3055
+ }
3056
+ return msg;
3057
+ };
3058
+ proto.aggregator.LoopNode.Output.prototype.serializeBinary = function() {
3059
+ var writer = new jspb.BinaryWriter();
3060
+ proto.aggregator.LoopNode.Output.serializeBinaryToWriter(this, writer);
3061
+ return writer.getResultBuffer();
3062
+ };
3063
+ proto.aggregator.LoopNode.Output.serializeBinaryToWriter = function(message, writer) {
3064
+ var f = void 0;
3065
+ f = message.getData();
3066
+ if (f.length > 0) {
3067
+ writer.writeString(
3068
+ 1,
3069
+ f
3070
+ );
3071
+ }
3072
+ };
3073
+ proto.aggregator.LoopNode.Output.prototype.getData = function() {
3074
+ return (
3075
+ /** @type {string} */
3076
+ jspb.Message.getFieldWithDefault(this, 1, "")
3077
+ );
3078
+ };
3079
+ proto.aggregator.LoopNode.Output.prototype.setData = function(value) {
3080
+ return jspb.Message.setProto3StringField(this, 1, value);
3081
+ };
3082
+ proto.aggregator.LoopNode.prototype.getInput = function() {
3083
+ return (
3084
+ /** @type {string} */
3085
+ jspb.Message.getFieldWithDefault(this, 1, "")
3086
+ );
3087
+ };
3088
+ proto.aggregator.LoopNode.prototype.setInput = function(value) {
2316
3089
  return jspb.Message.setProto3StringField(this, 1, value);
2317
3090
  };
2318
3091
  proto.aggregator.LoopNode.prototype.getIterVal = function() {
@@ -2937,7 +3710,7 @@ var require_avs_pb = __commonJS({
2937
3710
  ),
2938
3711
  triggerName: jspb.Message.getFieldWithDefault(msg, 9, ""),
2939
3712
  transferLog: (f = msg.getTransferLog()) && proto.aggregator.Execution.TransferLogOutput.toObject(includeInstance, f),
2940
- evmLog: (f = msg.getEvmLog()) && proto.aggregator.Execution.EvmLogOutput.toObject(includeInstance, f),
3713
+ evmLog: (f = msg.getEvmLog()) && proto.aggregator.Evm.Log.toObject(includeInstance, f),
2941
3714
  block: (f = msg.getBlock()) && proto.aggregator.Execution.BlockOutput.toObject(includeInstance, f),
2942
3715
  time: (f = msg.getTime()) && proto.aggregator.Execution.TimeOutput.toObject(includeInstance, f)
2943
3716
  };
@@ -3017,8 +3790,8 @@ var require_avs_pb = __commonJS({
3017
3790
  msg.setTransferLog(value);
3018
3791
  break;
3019
3792
  case 11:
3020
- var value = new proto.aggregator.Execution.EvmLogOutput();
3021
- reader.readMessage(value, proto.aggregator.Execution.EvmLogOutput.deserializeBinaryFromReader);
3793
+ var value = new proto.aggregator.Evm.Log();
3794
+ reader.readMessage(value, proto.aggregator.Evm.Log.deserializeBinaryFromReader);
3022
3795
  msg.setEvmLog(value);
3023
3796
  break;
3024
3797
  case 12:
@@ -3116,7 +3889,7 @@ var require_avs_pb = __commonJS({
3116
3889
  writer.writeMessage(
3117
3890
  11,
3118
3891
  f,
3119
- proto.aggregator.Execution.EvmLogOutput.serializeBinaryToWriter
3892
+ proto.aggregator.Evm.Log.serializeBinaryToWriter
3120
3893
  );
3121
3894
  }
3122
3895
  f = message.getBlock();
@@ -3136,7 +3909,26 @@ var require_avs_pb = __commonJS({
3136
3909
  );
3137
3910
  }
3138
3911
  };
3139
- proto.aggregator.Execution.Step.repeatedFields_ = [8];
3912
+ proto.aggregator.Execution.Step.repeatedFields_ = [16];
3913
+ proto.aggregator.Execution.Step.oneofGroups_ = [[3, 4, 5, 6, 7, 8, 9, 10, 11]];
3914
+ proto.aggregator.Execution.Step.OutputDataCase = {
3915
+ OUTPUT_DATA_NOT_SET: 0,
3916
+ ETH_TRANSFER: 3,
3917
+ GRAPHQL: 4,
3918
+ CONTRACT_READ: 5,
3919
+ CONTRACT_WRITE: 6,
3920
+ CUSTOM_CODE: 7,
3921
+ REST_API: 8,
3922
+ BRANCH: 9,
3923
+ FILTER: 10,
3924
+ LOOP: 11
3925
+ };
3926
+ proto.aggregator.Execution.Step.prototype.getOutputDataCase = function() {
3927
+ return (
3928
+ /** @type {proto.aggregator.Execution.Step.OutputDataCase} */
3929
+ jspb.Message.computeOneofCase(this, proto.aggregator.Execution.Step.oneofGroups_[0])
3930
+ );
3931
+ };
3140
3932
  if (jspb.Message.GENERATE_TO_OBJECT) {
3141
3933
  proto.aggregator.Execution.Step.prototype.toObject = function(opt_includeInstance) {
3142
3934
  return proto.aggregator.Execution.Step.toObject(opt_includeInstance, this);
@@ -3145,12 +3937,20 @@ var require_avs_pb = __commonJS({
3145
3937
  var f, obj = {
3146
3938
  nodeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3147
3939
  success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
3148
- outputData: jspb.Message.getFieldWithDefault(msg, 3, ""),
3149
- log: jspb.Message.getFieldWithDefault(msg, 4, ""),
3150
- error: jspb.Message.getFieldWithDefault(msg, 5, ""),
3151
- startAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
3152
- endAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
3153
- inputsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? void 0 : f
3940
+ ethTransfer: (f = msg.getEthTransfer()) && proto.aggregator.ETHTransferNode.Output.toObject(includeInstance, f),
3941
+ graphql: (f = msg.getGraphql()) && proto.aggregator.GraphQLQueryNode.Output.toObject(includeInstance, f),
3942
+ contractRead: (f = msg.getContractRead()) && proto.aggregator.ContractReadNode.Output.toObject(includeInstance, f),
3943
+ contractWrite: (f = msg.getContractWrite()) && proto.aggregator.ContractWriteNode.Output.toObject(includeInstance, f),
3944
+ customCode: (f = msg.getCustomCode()) && proto.aggregator.CustomCodeNode.Output.toObject(includeInstance, f),
3945
+ restApi: (f = msg.getRestApi()) && proto.aggregator.RestAPINode.Output.toObject(includeInstance, f),
3946
+ branch: (f = msg.getBranch()) && proto.aggregator.BranchNode.Output.toObject(includeInstance, f),
3947
+ filter: (f = msg.getFilter()) && proto.aggregator.FilterNode.Output.toObject(includeInstance, f),
3948
+ loop: (f = msg.getLoop()) && proto.aggregator.LoopNode.Output.toObject(includeInstance, f),
3949
+ log: jspb.Message.getFieldWithDefault(msg, 12, ""),
3950
+ error: jspb.Message.getFieldWithDefault(msg, 13, ""),
3951
+ startAt: jspb.Message.getFieldWithDefault(msg, 14, 0),
3952
+ endAt: jspb.Message.getFieldWithDefault(msg, 15, 0),
3953
+ inputsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? void 0 : f
3154
3954
  };
3155
3955
  if (includeInstance) {
3156
3956
  obj.$jspbMessageInstance = msg;
@@ -3185,41 +3985,79 @@ var require_avs_pb = __commonJS({
3185
3985
  msg.setSuccess(value);
3186
3986
  break;
3187
3987
  case 3:
3188
- var value = (
3189
- /** @type {string} */
3190
- reader.readString()
3191
- );
3192
- msg.setOutputData(value);
3988
+ var value = new proto.aggregator.ETHTransferNode.Output();
3989
+ reader.readMessage(value, proto.aggregator.ETHTransferNode.Output.deserializeBinaryFromReader);
3990
+ msg.setEthTransfer(value);
3193
3991
  break;
3194
3992
  case 4:
3993
+ var value = new proto.aggregator.GraphQLQueryNode.Output();
3994
+ reader.readMessage(value, proto.aggregator.GraphQLQueryNode.Output.deserializeBinaryFromReader);
3995
+ msg.setGraphql(value);
3996
+ break;
3997
+ case 5:
3998
+ var value = new proto.aggregator.ContractReadNode.Output();
3999
+ reader.readMessage(value, proto.aggregator.ContractReadNode.Output.deserializeBinaryFromReader);
4000
+ msg.setContractRead(value);
4001
+ break;
4002
+ case 6:
4003
+ var value = new proto.aggregator.ContractWriteNode.Output();
4004
+ reader.readMessage(value, proto.aggregator.ContractWriteNode.Output.deserializeBinaryFromReader);
4005
+ msg.setContractWrite(value);
4006
+ break;
4007
+ case 7:
4008
+ var value = new proto.aggregator.CustomCodeNode.Output();
4009
+ reader.readMessage(value, proto.aggregator.CustomCodeNode.Output.deserializeBinaryFromReader);
4010
+ msg.setCustomCode(value);
4011
+ break;
4012
+ case 8:
4013
+ var value = new proto.aggregator.RestAPINode.Output();
4014
+ reader.readMessage(value, proto.aggregator.RestAPINode.Output.deserializeBinaryFromReader);
4015
+ msg.setRestApi(value);
4016
+ break;
4017
+ case 9:
4018
+ var value = new proto.aggregator.BranchNode.Output();
4019
+ reader.readMessage(value, proto.aggregator.BranchNode.Output.deserializeBinaryFromReader);
4020
+ msg.setBranch(value);
4021
+ break;
4022
+ case 10:
4023
+ var value = new proto.aggregator.FilterNode.Output();
4024
+ reader.readMessage(value, proto.aggregator.FilterNode.Output.deserializeBinaryFromReader);
4025
+ msg.setFilter(value);
4026
+ break;
4027
+ case 11:
4028
+ var value = new proto.aggregator.LoopNode.Output();
4029
+ reader.readMessage(value, proto.aggregator.LoopNode.Output.deserializeBinaryFromReader);
4030
+ msg.setLoop(value);
4031
+ break;
4032
+ case 12:
3195
4033
  var value = (
3196
4034
  /** @type {string} */
3197
4035
  reader.readString()
3198
4036
  );
3199
4037
  msg.setLog(value);
3200
4038
  break;
3201
- case 5:
4039
+ case 13:
3202
4040
  var value = (
3203
4041
  /** @type {string} */
3204
4042
  reader.readString()
3205
4043
  );
3206
4044
  msg.setError(value);
3207
4045
  break;
3208
- case 6:
4046
+ case 14:
3209
4047
  var value = (
3210
4048
  /** @type {number} */
3211
4049
  reader.readInt64()
3212
4050
  );
3213
4051
  msg.setStartAt(value);
3214
4052
  break;
3215
- case 7:
4053
+ case 15:
3216
4054
  var value = (
3217
4055
  /** @type {number} */
3218
4056
  reader.readInt64()
3219
4057
  );
3220
4058
  msg.setEndAt(value);
3221
4059
  break;
3222
- case 8:
4060
+ case 16:
3223
4061
  var value = (
3224
4062
  /** @type {string} */
3225
4063
  reader.readString()
@@ -3254,45 +4092,110 @@ var require_avs_pb = __commonJS({
3254
4092
  f
3255
4093
  );
3256
4094
  }
3257
- f = message.getOutputData();
3258
- if (f.length > 0) {
3259
- writer.writeString(
4095
+ f = message.getEthTransfer();
4096
+ if (f != null) {
4097
+ writer.writeMessage(
3260
4098
  3,
3261
- f
4099
+ f,
4100
+ proto.aggregator.ETHTransferNode.Output.serializeBinaryToWriter
4101
+ );
4102
+ }
4103
+ f = message.getGraphql();
4104
+ if (f != null) {
4105
+ writer.writeMessage(
4106
+ 4,
4107
+ f,
4108
+ proto.aggregator.GraphQLQueryNode.Output.serializeBinaryToWriter
4109
+ );
4110
+ }
4111
+ f = message.getContractRead();
4112
+ if (f != null) {
4113
+ writer.writeMessage(
4114
+ 5,
4115
+ f,
4116
+ proto.aggregator.ContractReadNode.Output.serializeBinaryToWriter
4117
+ );
4118
+ }
4119
+ f = message.getContractWrite();
4120
+ if (f != null) {
4121
+ writer.writeMessage(
4122
+ 6,
4123
+ f,
4124
+ proto.aggregator.ContractWriteNode.Output.serializeBinaryToWriter
4125
+ );
4126
+ }
4127
+ f = message.getCustomCode();
4128
+ if (f != null) {
4129
+ writer.writeMessage(
4130
+ 7,
4131
+ f,
4132
+ proto.aggregator.CustomCodeNode.Output.serializeBinaryToWriter
4133
+ );
4134
+ }
4135
+ f = message.getRestApi();
4136
+ if (f != null) {
4137
+ writer.writeMessage(
4138
+ 8,
4139
+ f,
4140
+ proto.aggregator.RestAPINode.Output.serializeBinaryToWriter
4141
+ );
4142
+ }
4143
+ f = message.getBranch();
4144
+ if (f != null) {
4145
+ writer.writeMessage(
4146
+ 9,
4147
+ f,
4148
+ proto.aggregator.BranchNode.Output.serializeBinaryToWriter
4149
+ );
4150
+ }
4151
+ f = message.getFilter();
4152
+ if (f != null) {
4153
+ writer.writeMessage(
4154
+ 10,
4155
+ f,
4156
+ proto.aggregator.FilterNode.Output.serializeBinaryToWriter
4157
+ );
4158
+ }
4159
+ f = message.getLoop();
4160
+ if (f != null) {
4161
+ writer.writeMessage(
4162
+ 11,
4163
+ f,
4164
+ proto.aggregator.LoopNode.Output.serializeBinaryToWriter
3262
4165
  );
3263
4166
  }
3264
4167
  f = message.getLog();
3265
4168
  if (f.length > 0) {
3266
4169
  writer.writeString(
3267
- 4,
4170
+ 12,
3268
4171
  f
3269
4172
  );
3270
4173
  }
3271
4174
  f = message.getError();
3272
4175
  if (f.length > 0) {
3273
4176
  writer.writeString(
3274
- 5,
4177
+ 13,
3275
4178
  f
3276
4179
  );
3277
4180
  }
3278
4181
  f = message.getStartAt();
3279
4182
  if (f !== 0) {
3280
4183
  writer.writeInt64(
3281
- 6,
4184
+ 14,
3282
4185
  f
3283
4186
  );
3284
4187
  }
3285
4188
  f = message.getEndAt();
3286
4189
  if (f !== 0) {
3287
4190
  writer.writeInt64(
3288
- 7,
4191
+ 15,
3289
4192
  f
3290
4193
  );
3291
4194
  }
3292
4195
  f = message.getInputsList();
3293
4196
  if (f.length > 0) {
3294
4197
  writer.writeRepeatedString(
3295
- 8,
4198
+ 16,
3296
4199
  f
3297
4200
  );
3298
4201
  }
@@ -3315,62 +4218,188 @@ var require_avs_pb = __commonJS({
3315
4218
  proto.aggregator.Execution.Step.prototype.setSuccess = function(value) {
3316
4219
  return jspb.Message.setProto3BooleanField(this, 2, value);
3317
4220
  };
3318
- proto.aggregator.Execution.Step.prototype.getOutputData = function() {
4221
+ proto.aggregator.Execution.Step.prototype.getEthTransfer = function() {
3319
4222
  return (
3320
- /** @type {string} */
3321
- jspb.Message.getFieldWithDefault(this, 3, "")
4223
+ /** @type{?proto.aggregator.ETHTransferNode.Output} */
4224
+ jspb.Message.getWrapperField(this, proto.aggregator.ETHTransferNode.Output, 3)
3322
4225
  );
3323
4226
  };
3324
- proto.aggregator.Execution.Step.prototype.setOutputData = function(value) {
3325
- return jspb.Message.setProto3StringField(this, 3, value);
4227
+ proto.aggregator.Execution.Step.prototype.setEthTransfer = function(value) {
4228
+ return jspb.Message.setOneofWrapperField(this, 3, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4229
+ };
4230
+ proto.aggregator.Execution.Step.prototype.clearEthTransfer = function() {
4231
+ return this.setEthTransfer(void 0);
4232
+ };
4233
+ proto.aggregator.Execution.Step.prototype.hasEthTransfer = function() {
4234
+ return jspb.Message.getField(this, 3) != null;
4235
+ };
4236
+ proto.aggregator.Execution.Step.prototype.getGraphql = function() {
4237
+ return (
4238
+ /** @type{?proto.aggregator.GraphQLQueryNode.Output} */
4239
+ jspb.Message.getWrapperField(this, proto.aggregator.GraphQLQueryNode.Output, 4)
4240
+ );
4241
+ };
4242
+ proto.aggregator.Execution.Step.prototype.setGraphql = function(value) {
4243
+ return jspb.Message.setOneofWrapperField(this, 4, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4244
+ };
4245
+ proto.aggregator.Execution.Step.prototype.clearGraphql = function() {
4246
+ return this.setGraphql(void 0);
4247
+ };
4248
+ proto.aggregator.Execution.Step.prototype.hasGraphql = function() {
4249
+ return jspb.Message.getField(this, 4) != null;
4250
+ };
4251
+ proto.aggregator.Execution.Step.prototype.getContractRead = function() {
4252
+ return (
4253
+ /** @type{?proto.aggregator.ContractReadNode.Output} */
4254
+ jspb.Message.getWrapperField(this, proto.aggregator.ContractReadNode.Output, 5)
4255
+ );
4256
+ };
4257
+ proto.aggregator.Execution.Step.prototype.setContractRead = function(value) {
4258
+ return jspb.Message.setOneofWrapperField(this, 5, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4259
+ };
4260
+ proto.aggregator.Execution.Step.prototype.clearContractRead = function() {
4261
+ return this.setContractRead(void 0);
4262
+ };
4263
+ proto.aggregator.Execution.Step.prototype.hasContractRead = function() {
4264
+ return jspb.Message.getField(this, 5) != null;
4265
+ };
4266
+ proto.aggregator.Execution.Step.prototype.getContractWrite = function() {
4267
+ return (
4268
+ /** @type{?proto.aggregator.ContractWriteNode.Output} */
4269
+ jspb.Message.getWrapperField(this, proto.aggregator.ContractWriteNode.Output, 6)
4270
+ );
4271
+ };
4272
+ proto.aggregator.Execution.Step.prototype.setContractWrite = function(value) {
4273
+ return jspb.Message.setOneofWrapperField(this, 6, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4274
+ };
4275
+ proto.aggregator.Execution.Step.prototype.clearContractWrite = function() {
4276
+ return this.setContractWrite(void 0);
4277
+ };
4278
+ proto.aggregator.Execution.Step.prototype.hasContractWrite = function() {
4279
+ return jspb.Message.getField(this, 6) != null;
4280
+ };
4281
+ proto.aggregator.Execution.Step.prototype.getCustomCode = function() {
4282
+ return (
4283
+ /** @type{?proto.aggregator.CustomCodeNode.Output} */
4284
+ jspb.Message.getWrapperField(this, proto.aggregator.CustomCodeNode.Output, 7)
4285
+ );
4286
+ };
4287
+ proto.aggregator.Execution.Step.prototype.setCustomCode = function(value) {
4288
+ return jspb.Message.setOneofWrapperField(this, 7, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4289
+ };
4290
+ proto.aggregator.Execution.Step.prototype.clearCustomCode = function() {
4291
+ return this.setCustomCode(void 0);
4292
+ };
4293
+ proto.aggregator.Execution.Step.prototype.hasCustomCode = function() {
4294
+ return jspb.Message.getField(this, 7) != null;
4295
+ };
4296
+ proto.aggregator.Execution.Step.prototype.getRestApi = function() {
4297
+ return (
4298
+ /** @type{?proto.aggregator.RestAPINode.Output} */
4299
+ jspb.Message.getWrapperField(this, proto.aggregator.RestAPINode.Output, 8)
4300
+ );
4301
+ };
4302
+ proto.aggregator.Execution.Step.prototype.setRestApi = function(value) {
4303
+ return jspb.Message.setOneofWrapperField(this, 8, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4304
+ };
4305
+ proto.aggregator.Execution.Step.prototype.clearRestApi = function() {
4306
+ return this.setRestApi(void 0);
4307
+ };
4308
+ proto.aggregator.Execution.Step.prototype.hasRestApi = function() {
4309
+ return jspb.Message.getField(this, 8) != null;
4310
+ };
4311
+ proto.aggregator.Execution.Step.prototype.getBranch = function() {
4312
+ return (
4313
+ /** @type{?proto.aggregator.BranchNode.Output} */
4314
+ jspb.Message.getWrapperField(this, proto.aggregator.BranchNode.Output, 9)
4315
+ );
4316
+ };
4317
+ proto.aggregator.Execution.Step.prototype.setBranch = function(value) {
4318
+ return jspb.Message.setOneofWrapperField(this, 9, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4319
+ };
4320
+ proto.aggregator.Execution.Step.prototype.clearBranch = function() {
4321
+ return this.setBranch(void 0);
4322
+ };
4323
+ proto.aggregator.Execution.Step.prototype.hasBranch = function() {
4324
+ return jspb.Message.getField(this, 9) != null;
4325
+ };
4326
+ proto.aggregator.Execution.Step.prototype.getFilter = function() {
4327
+ return (
4328
+ /** @type{?proto.aggregator.FilterNode.Output} */
4329
+ jspb.Message.getWrapperField(this, proto.aggregator.FilterNode.Output, 10)
4330
+ );
4331
+ };
4332
+ proto.aggregator.Execution.Step.prototype.setFilter = function(value) {
4333
+ return jspb.Message.setOneofWrapperField(this, 10, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4334
+ };
4335
+ proto.aggregator.Execution.Step.prototype.clearFilter = function() {
4336
+ return this.setFilter(void 0);
4337
+ };
4338
+ proto.aggregator.Execution.Step.prototype.hasFilter = function() {
4339
+ return jspb.Message.getField(this, 10) != null;
4340
+ };
4341
+ proto.aggregator.Execution.Step.prototype.getLoop = function() {
4342
+ return (
4343
+ /** @type{?proto.aggregator.LoopNode.Output} */
4344
+ jspb.Message.getWrapperField(this, proto.aggregator.LoopNode.Output, 11)
4345
+ );
4346
+ };
4347
+ proto.aggregator.Execution.Step.prototype.setLoop = function(value) {
4348
+ return jspb.Message.setOneofWrapperField(this, 11, proto.aggregator.Execution.Step.oneofGroups_[0], value);
4349
+ };
4350
+ proto.aggregator.Execution.Step.prototype.clearLoop = function() {
4351
+ return this.setLoop(void 0);
4352
+ };
4353
+ proto.aggregator.Execution.Step.prototype.hasLoop = function() {
4354
+ return jspb.Message.getField(this, 11) != null;
3326
4355
  };
3327
4356
  proto.aggregator.Execution.Step.prototype.getLog = function() {
3328
4357
  return (
3329
4358
  /** @type {string} */
3330
- jspb.Message.getFieldWithDefault(this, 4, "")
4359
+ jspb.Message.getFieldWithDefault(this, 12, "")
3331
4360
  );
3332
4361
  };
3333
4362
  proto.aggregator.Execution.Step.prototype.setLog = function(value) {
3334
- return jspb.Message.setProto3StringField(this, 4, value);
4363
+ return jspb.Message.setProto3StringField(this, 12, value);
3335
4364
  };
3336
4365
  proto.aggregator.Execution.Step.prototype.getError = function() {
3337
4366
  return (
3338
4367
  /** @type {string} */
3339
- jspb.Message.getFieldWithDefault(this, 5, "")
4368
+ jspb.Message.getFieldWithDefault(this, 13, "")
3340
4369
  );
3341
4370
  };
3342
4371
  proto.aggregator.Execution.Step.prototype.setError = function(value) {
3343
- return jspb.Message.setProto3StringField(this, 5, value);
4372
+ return jspb.Message.setProto3StringField(this, 13, value);
3344
4373
  };
3345
4374
  proto.aggregator.Execution.Step.prototype.getStartAt = function() {
3346
4375
  return (
3347
4376
  /** @type {number} */
3348
- jspb.Message.getFieldWithDefault(this, 6, 0)
4377
+ jspb.Message.getFieldWithDefault(this, 14, 0)
3349
4378
  );
3350
4379
  };
3351
4380
  proto.aggregator.Execution.Step.prototype.setStartAt = function(value) {
3352
- return jspb.Message.setProto3IntField(this, 6, value);
4381
+ return jspb.Message.setProto3IntField(this, 14, value);
3353
4382
  };
3354
4383
  proto.aggregator.Execution.Step.prototype.getEndAt = function() {
3355
4384
  return (
3356
4385
  /** @type {number} */
3357
- jspb.Message.getFieldWithDefault(this, 7, 0)
4386
+ jspb.Message.getFieldWithDefault(this, 15, 0)
3358
4387
  );
3359
4388
  };
3360
4389
  proto.aggregator.Execution.Step.prototype.setEndAt = function(value) {
3361
- return jspb.Message.setProto3IntField(this, 7, value);
4390
+ return jspb.Message.setProto3IntField(this, 15, value);
3362
4391
  };
3363
4392
  proto.aggregator.Execution.Step.prototype.getInputsList = function() {
3364
4393
  return (
3365
4394
  /** @type {!Array<string>} */
3366
- jspb.Message.getRepeatedField(this, 8)
4395
+ jspb.Message.getRepeatedField(this, 16)
3367
4396
  );
3368
4397
  };
3369
4398
  proto.aggregator.Execution.Step.prototype.setInputsList = function(value) {
3370
- return jspb.Message.setField(this, 8, value || []);
4399
+ return jspb.Message.setField(this, 16, value || []);
3371
4400
  };
3372
4401
  proto.aggregator.Execution.Step.prototype.addInputs = function(value, opt_index) {
3373
- return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
4402
+ return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
3374
4403
  };
3375
4404
  proto.aggregator.Execution.Step.prototype.clearInputsList = function() {
3376
4405
  return this.setInputsList([]);
@@ -3703,21 +4732,13 @@ var require_avs_pb = __commonJS({
3703
4732
  proto.aggregator.Execution.TransferLogOutput.prototype.setTransactionIndex = function(value) {
3704
4733
  return jspb.Message.setProto3IntField(this, 12, value);
3705
4734
  };
3706
- proto.aggregator.Execution.EvmLogOutput.repeatedFields_ = [6];
3707
4735
  if (jspb.Message.GENERATE_TO_OBJECT) {
3708
- proto.aggregator.Execution.EvmLogOutput.prototype.toObject = function(opt_includeInstance) {
3709
- return proto.aggregator.Execution.EvmLogOutput.toObject(opt_includeInstance, this);
4736
+ proto.aggregator.Execution.BlockOutput.prototype.toObject = function(opt_includeInstance) {
4737
+ return proto.aggregator.Execution.BlockOutput.toObject(opt_includeInstance, this);
3710
4738
  };
3711
- proto.aggregator.Execution.EvmLogOutput.toObject = function(includeInstance, msg) {
4739
+ proto.aggregator.Execution.BlockOutput.toObject = function(includeInstance, msg) {
3712
4740
  var f, obj = {
3713
- address: jspb.Message.getFieldWithDefault(msg, 1, ""),
3714
- blockHash: jspb.Message.getFieldWithDefault(msg, 2, ""),
3715
- blockNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
3716
- data: jspb.Message.getFieldWithDefault(msg, 4, ""),
3717
- index: jspb.Message.getFieldWithDefault(msg, 5, 0),
3718
- topicsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? void 0 : f,
3719
- transactionHash: jspb.Message.getFieldWithDefault(msg, 7, ""),
3720
- transactionIndex: jspb.Message.getFieldWithDefault(msg, 8, 0)
4741
+ blockNumber: jspb.Message.getFieldWithDefault(msg, 1, 0)
3721
4742
  };
3722
4743
  if (includeInstance) {
3723
4744
  obj.$jspbMessageInstance = msg;
@@ -3725,238 +4746,7 @@ var require_avs_pb = __commonJS({
3725
4746
  return obj;
3726
4747
  };
3727
4748
  }
3728
- proto.aggregator.Execution.EvmLogOutput.deserializeBinary = function(bytes) {
3729
- var reader = new jspb.BinaryReader(bytes);
3730
- var msg = new proto.aggregator.Execution.EvmLogOutput();
3731
- return proto.aggregator.Execution.EvmLogOutput.deserializeBinaryFromReader(msg, reader);
3732
- };
3733
- proto.aggregator.Execution.EvmLogOutput.deserializeBinaryFromReader = function(msg, reader) {
3734
- while (reader.nextField()) {
3735
- if (reader.isEndGroup()) {
3736
- break;
3737
- }
3738
- var field = reader.getFieldNumber();
3739
- switch (field) {
3740
- case 1:
3741
- var value = (
3742
- /** @type {string} */
3743
- reader.readString()
3744
- );
3745
- msg.setAddress(value);
3746
- break;
3747
- case 2:
3748
- var value = (
3749
- /** @type {string} */
3750
- reader.readString()
3751
- );
3752
- msg.setBlockHash(value);
3753
- break;
3754
- case 3:
3755
- var value = (
3756
- /** @type {number} */
3757
- reader.readUint64()
3758
- );
3759
- msg.setBlockNumber(value);
3760
- break;
3761
- case 4:
3762
- var value = (
3763
- /** @type {string} */
3764
- reader.readString()
3765
- );
3766
- msg.setData(value);
3767
- break;
3768
- case 5:
3769
- var value = (
3770
- /** @type {number} */
3771
- reader.readUint32()
3772
- );
3773
- msg.setIndex(value);
3774
- break;
3775
- case 6:
3776
- var value = (
3777
- /** @type {string} */
3778
- reader.readString()
3779
- );
3780
- msg.addTopics(value);
3781
- break;
3782
- case 7:
3783
- var value = (
3784
- /** @type {string} */
3785
- reader.readString()
3786
- );
3787
- msg.setTransactionHash(value);
3788
- break;
3789
- case 8:
3790
- var value = (
3791
- /** @type {number} */
3792
- reader.readUint32()
3793
- );
3794
- msg.setTransactionIndex(value);
3795
- break;
3796
- default:
3797
- reader.skipField();
3798
- break;
3799
- }
3800
- }
3801
- return msg;
3802
- };
3803
- proto.aggregator.Execution.EvmLogOutput.prototype.serializeBinary = function() {
3804
- var writer = new jspb.BinaryWriter();
3805
- proto.aggregator.Execution.EvmLogOutput.serializeBinaryToWriter(this, writer);
3806
- return writer.getResultBuffer();
3807
- };
3808
- proto.aggregator.Execution.EvmLogOutput.serializeBinaryToWriter = function(message, writer) {
3809
- var f = void 0;
3810
- f = message.getAddress();
3811
- if (f.length > 0) {
3812
- writer.writeString(
3813
- 1,
3814
- f
3815
- );
3816
- }
3817
- f = message.getBlockHash();
3818
- if (f.length > 0) {
3819
- writer.writeString(
3820
- 2,
3821
- f
3822
- );
3823
- }
3824
- f = message.getBlockNumber();
3825
- if (f !== 0) {
3826
- writer.writeUint64(
3827
- 3,
3828
- f
3829
- );
3830
- }
3831
- f = message.getData();
3832
- if (f.length > 0) {
3833
- writer.writeString(
3834
- 4,
3835
- f
3836
- );
3837
- }
3838
- f = message.getIndex();
3839
- if (f !== 0) {
3840
- writer.writeUint32(
3841
- 5,
3842
- f
3843
- );
3844
- }
3845
- f = message.getTopicsList();
3846
- if (f.length > 0) {
3847
- writer.writeRepeatedString(
3848
- 6,
3849
- f
3850
- );
3851
- }
3852
- f = message.getTransactionHash();
3853
- if (f.length > 0) {
3854
- writer.writeString(
3855
- 7,
3856
- f
3857
- );
3858
- }
3859
- f = message.getTransactionIndex();
3860
- if (f !== 0) {
3861
- writer.writeUint32(
3862
- 8,
3863
- f
3864
- );
3865
- }
3866
- };
3867
- proto.aggregator.Execution.EvmLogOutput.prototype.getAddress = function() {
3868
- return (
3869
- /** @type {string} */
3870
- jspb.Message.getFieldWithDefault(this, 1, "")
3871
- );
3872
- };
3873
- proto.aggregator.Execution.EvmLogOutput.prototype.setAddress = function(value) {
3874
- return jspb.Message.setProto3StringField(this, 1, value);
3875
- };
3876
- proto.aggregator.Execution.EvmLogOutput.prototype.getBlockHash = function() {
3877
- return (
3878
- /** @type {string} */
3879
- jspb.Message.getFieldWithDefault(this, 2, "")
3880
- );
3881
- };
3882
- proto.aggregator.Execution.EvmLogOutput.prototype.setBlockHash = function(value) {
3883
- return jspb.Message.setProto3StringField(this, 2, value);
3884
- };
3885
- proto.aggregator.Execution.EvmLogOutput.prototype.getBlockNumber = function() {
3886
- return (
3887
- /** @type {number} */
3888
- jspb.Message.getFieldWithDefault(this, 3, 0)
3889
- );
3890
- };
3891
- proto.aggregator.Execution.EvmLogOutput.prototype.setBlockNumber = function(value) {
3892
- return jspb.Message.setProto3IntField(this, 3, value);
3893
- };
3894
- proto.aggregator.Execution.EvmLogOutput.prototype.getData = function() {
3895
- return (
3896
- /** @type {string} */
3897
- jspb.Message.getFieldWithDefault(this, 4, "")
3898
- );
3899
- };
3900
- proto.aggregator.Execution.EvmLogOutput.prototype.setData = function(value) {
3901
- return jspb.Message.setProto3StringField(this, 4, value);
3902
- };
3903
- proto.aggregator.Execution.EvmLogOutput.prototype.getIndex = function() {
3904
- return (
3905
- /** @type {number} */
3906
- jspb.Message.getFieldWithDefault(this, 5, 0)
3907
- );
3908
- };
3909
- proto.aggregator.Execution.EvmLogOutput.prototype.setIndex = function(value) {
3910
- return jspb.Message.setProto3IntField(this, 5, value);
3911
- };
3912
- proto.aggregator.Execution.EvmLogOutput.prototype.getTopicsList = function() {
3913
- return (
3914
- /** @type {!Array<string>} */
3915
- jspb.Message.getRepeatedField(this, 6)
3916
- );
3917
- };
3918
- proto.aggregator.Execution.EvmLogOutput.prototype.setTopicsList = function(value) {
3919
- return jspb.Message.setField(this, 6, value || []);
3920
- };
3921
- proto.aggregator.Execution.EvmLogOutput.prototype.addTopics = function(value, opt_index) {
3922
- return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
3923
- };
3924
- proto.aggregator.Execution.EvmLogOutput.prototype.clearTopicsList = function() {
3925
- return this.setTopicsList([]);
3926
- };
3927
- proto.aggregator.Execution.EvmLogOutput.prototype.getTransactionHash = function() {
3928
- return (
3929
- /** @type {string} */
3930
- jspb.Message.getFieldWithDefault(this, 7, "")
3931
- );
3932
- };
3933
- proto.aggregator.Execution.EvmLogOutput.prototype.setTransactionHash = function(value) {
3934
- return jspb.Message.setProto3StringField(this, 7, value);
3935
- };
3936
- proto.aggregator.Execution.EvmLogOutput.prototype.getTransactionIndex = function() {
3937
- return (
3938
- /** @type {number} */
3939
- jspb.Message.getFieldWithDefault(this, 8, 0)
3940
- );
3941
- };
3942
- proto.aggregator.Execution.EvmLogOutput.prototype.setTransactionIndex = function(value) {
3943
- return jspb.Message.setProto3IntField(this, 8, value);
3944
- };
3945
- if (jspb.Message.GENERATE_TO_OBJECT) {
3946
- proto.aggregator.Execution.BlockOutput.prototype.toObject = function(opt_includeInstance) {
3947
- return proto.aggregator.Execution.BlockOutput.toObject(opt_includeInstance, this);
3948
- };
3949
- proto.aggregator.Execution.BlockOutput.toObject = function(includeInstance, msg) {
3950
- var f, obj = {
3951
- blockNumber: jspb.Message.getFieldWithDefault(msg, 1, 0)
3952
- };
3953
- if (includeInstance) {
3954
- obj.$jspbMessageInstance = msg;
3955
- }
3956
- return obj;
3957
- };
3958
- }
3959
- proto.aggregator.Execution.BlockOutput.deserializeBinary = function(bytes) {
4749
+ proto.aggregator.Execution.BlockOutput.deserializeBinary = function(bytes) {
3960
4750
  var reader = new jspb.BinaryReader(bytes);
3961
4751
  var msg = new proto.aggregator.Execution.BlockOutput();
3962
4752
  return proto.aggregator.Execution.BlockOutput.deserializeBinaryFromReader(msg, reader);
@@ -4171,8 +4961,8 @@ var require_avs_pb = __commonJS({
4171
4961
  };
4172
4962
  proto.aggregator.Execution.prototype.getEvmLog = function() {
4173
4963
  return (
4174
- /** @type{?proto.aggregator.Execution.EvmLogOutput} */
4175
- jspb.Message.getWrapperField(this, proto.aggregator.Execution.EvmLogOutput, 11)
4964
+ /** @type{?proto.aggregator.Evm.Log} */
4965
+ jspb.Message.getWrapperField(this, proto.aggregator.Evm.Log, 11)
4176
4966
  );
4177
4967
  };
4178
4968
  proto.aggregator.Execution.prototype.setEvmLog = function(value) {
@@ -7589,66 +8379,1237 @@ var require_avs_pb = __commonJS({
7589
8379
  );
7590
8380
  }
7591
8381
  };
7592
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getName = function() {
8382
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getName = function() {
8383
+ return (
8384
+ /** @type {string} */
8385
+ jspb.Message.getFieldWithDefault(this, 1, "")
8386
+ );
8387
+ };
8388
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setName = function(value) {
8389
+ return jspb.Message.setProto3StringField(this, 1, value);
8390
+ };
8391
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getScope = function() {
8392
+ return (
8393
+ /** @type {string} */
8394
+ jspb.Message.getFieldWithDefault(this, 2, "")
8395
+ );
8396
+ };
8397
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setScope = function(value) {
8398
+ return jspb.Message.setProto3StringField(this, 2, value);
8399
+ };
8400
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getWorkflowId = function() {
8401
+ return (
8402
+ /** @type {string} */
8403
+ jspb.Message.getFieldWithDefault(this, 4, "")
8404
+ );
8405
+ };
8406
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setWorkflowId = function(value) {
8407
+ return jspb.Message.setProto3StringField(this, 4, value);
8408
+ };
8409
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getOrgId = function() {
8410
+ return (
8411
+ /** @type {string} */
8412
+ jspb.Message.getFieldWithDefault(this, 5, "")
8413
+ );
8414
+ };
8415
+ proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setOrgId = function(value) {
8416
+ return jspb.Message.setProto3StringField(this, 5, value);
8417
+ };
8418
+ proto.aggregator.ListSecretsResp.prototype.getItemsList = function() {
8419
+ return (
8420
+ /** @type{!Array<!proto.aggregator.ListSecretsResp.ResponseSecret>} */
8421
+ jspb.Message.getRepeatedWrapperField(this, proto.aggregator.ListSecretsResp.ResponseSecret, 1)
8422
+ );
8423
+ };
8424
+ proto.aggregator.ListSecretsResp.prototype.setItemsList = function(value) {
8425
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
8426
+ };
8427
+ proto.aggregator.ListSecretsResp.prototype.addItems = function(opt_value, opt_index) {
8428
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.aggregator.ListSecretsResp.ResponseSecret, opt_index);
8429
+ };
8430
+ proto.aggregator.ListSecretsResp.prototype.clearItemsList = function() {
8431
+ return this.setItemsList([]);
8432
+ };
8433
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8434
+ proto.aggregator.DeleteSecretReq.prototype.toObject = function(opt_includeInstance) {
8435
+ return proto.aggregator.DeleteSecretReq.toObject(opt_includeInstance, this);
8436
+ };
8437
+ proto.aggregator.DeleteSecretReq.toObject = function(includeInstance, msg) {
8438
+ var f, obj = {
8439
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
8440
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
8441
+ orgId: jspb.Message.getFieldWithDefault(msg, 3, "")
8442
+ };
8443
+ if (includeInstance) {
8444
+ obj.$jspbMessageInstance = msg;
8445
+ }
8446
+ return obj;
8447
+ };
8448
+ }
8449
+ proto.aggregator.DeleteSecretReq.deserializeBinary = function(bytes) {
8450
+ var reader = new jspb.BinaryReader(bytes);
8451
+ var msg = new proto.aggregator.DeleteSecretReq();
8452
+ return proto.aggregator.DeleteSecretReq.deserializeBinaryFromReader(msg, reader);
8453
+ };
8454
+ proto.aggregator.DeleteSecretReq.deserializeBinaryFromReader = function(msg, reader) {
8455
+ while (reader.nextField()) {
8456
+ if (reader.isEndGroup()) {
8457
+ break;
8458
+ }
8459
+ var field = reader.getFieldNumber();
8460
+ switch (field) {
8461
+ case 1:
8462
+ var value = (
8463
+ /** @type {string} */
8464
+ reader.readString()
8465
+ );
8466
+ msg.setName(value);
8467
+ break;
8468
+ case 2:
8469
+ var value = (
8470
+ /** @type {string} */
8471
+ reader.readString()
8472
+ );
8473
+ msg.setWorkflowId(value);
8474
+ break;
8475
+ case 3:
8476
+ var value = (
8477
+ /** @type {string} */
8478
+ reader.readString()
8479
+ );
8480
+ msg.setOrgId(value);
8481
+ break;
8482
+ default:
8483
+ reader.skipField();
8484
+ break;
8485
+ }
8486
+ }
8487
+ return msg;
8488
+ };
8489
+ proto.aggregator.DeleteSecretReq.prototype.serializeBinary = function() {
8490
+ var writer = new jspb.BinaryWriter();
8491
+ proto.aggregator.DeleteSecretReq.serializeBinaryToWriter(this, writer);
8492
+ return writer.getResultBuffer();
8493
+ };
8494
+ proto.aggregator.DeleteSecretReq.serializeBinaryToWriter = function(message, writer) {
8495
+ var f = void 0;
8496
+ f = message.getName();
8497
+ if (f.length > 0) {
8498
+ writer.writeString(
8499
+ 1,
8500
+ f
8501
+ );
8502
+ }
8503
+ f = message.getWorkflowId();
8504
+ if (f.length > 0) {
8505
+ writer.writeString(
8506
+ 2,
8507
+ f
8508
+ );
8509
+ }
8510
+ f = message.getOrgId();
8511
+ if (f.length > 0) {
8512
+ writer.writeString(
8513
+ 3,
8514
+ f
8515
+ );
8516
+ }
8517
+ };
8518
+ proto.aggregator.DeleteSecretReq.prototype.getName = function() {
8519
+ return (
8520
+ /** @type {string} */
8521
+ jspb.Message.getFieldWithDefault(this, 1, "")
8522
+ );
8523
+ };
8524
+ proto.aggregator.DeleteSecretReq.prototype.setName = function(value) {
8525
+ return jspb.Message.setProto3StringField(this, 1, value);
8526
+ };
8527
+ proto.aggregator.DeleteSecretReq.prototype.getWorkflowId = function() {
8528
+ return (
8529
+ /** @type {string} */
8530
+ jspb.Message.getFieldWithDefault(this, 2, "")
8531
+ );
8532
+ };
8533
+ proto.aggregator.DeleteSecretReq.prototype.setWorkflowId = function(value) {
8534
+ return jspb.Message.setProto3StringField(this, 2, value);
8535
+ };
8536
+ proto.aggregator.DeleteSecretReq.prototype.getOrgId = function() {
8537
+ return (
8538
+ /** @type {string} */
8539
+ jspb.Message.getFieldWithDefault(this, 3, "")
8540
+ );
8541
+ };
8542
+ proto.aggregator.DeleteSecretReq.prototype.setOrgId = function(value) {
8543
+ return jspb.Message.setProto3StringField(this, 3, value);
8544
+ };
8545
+ proto.aggregator.GetWorkflowCountReq.repeatedFields_ = [1];
8546
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8547
+ proto.aggregator.GetWorkflowCountReq.prototype.toObject = function(opt_includeInstance) {
8548
+ return proto.aggregator.GetWorkflowCountReq.toObject(opt_includeInstance, this);
8549
+ };
8550
+ proto.aggregator.GetWorkflowCountReq.toObject = function(includeInstance, msg) {
8551
+ var f, obj = {
8552
+ addressesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? void 0 : f
8553
+ };
8554
+ if (includeInstance) {
8555
+ obj.$jspbMessageInstance = msg;
8556
+ }
8557
+ return obj;
8558
+ };
8559
+ }
8560
+ proto.aggregator.GetWorkflowCountReq.deserializeBinary = function(bytes) {
8561
+ var reader = new jspb.BinaryReader(bytes);
8562
+ var msg = new proto.aggregator.GetWorkflowCountReq();
8563
+ return proto.aggregator.GetWorkflowCountReq.deserializeBinaryFromReader(msg, reader);
8564
+ };
8565
+ proto.aggregator.GetWorkflowCountReq.deserializeBinaryFromReader = function(msg, reader) {
8566
+ while (reader.nextField()) {
8567
+ if (reader.isEndGroup()) {
8568
+ break;
8569
+ }
8570
+ var field = reader.getFieldNumber();
8571
+ switch (field) {
8572
+ case 1:
8573
+ var value = (
8574
+ /** @type {string} */
8575
+ reader.readString()
8576
+ );
8577
+ msg.addAddresses(value);
8578
+ break;
8579
+ default:
8580
+ reader.skipField();
8581
+ break;
8582
+ }
8583
+ }
8584
+ return msg;
8585
+ };
8586
+ proto.aggregator.GetWorkflowCountReq.prototype.serializeBinary = function() {
8587
+ var writer = new jspb.BinaryWriter();
8588
+ proto.aggregator.GetWorkflowCountReq.serializeBinaryToWriter(this, writer);
8589
+ return writer.getResultBuffer();
8590
+ };
8591
+ proto.aggregator.GetWorkflowCountReq.serializeBinaryToWriter = function(message, writer) {
8592
+ var f = void 0;
8593
+ f = message.getAddressesList();
8594
+ if (f.length > 0) {
8595
+ writer.writeRepeatedString(
8596
+ 1,
8597
+ f
8598
+ );
8599
+ }
8600
+ };
8601
+ proto.aggregator.GetWorkflowCountReq.prototype.getAddressesList = function() {
8602
+ return (
8603
+ /** @type {!Array<string>} */
8604
+ jspb.Message.getRepeatedField(this, 1)
8605
+ );
8606
+ };
8607
+ proto.aggregator.GetWorkflowCountReq.prototype.setAddressesList = function(value) {
8608
+ return jspb.Message.setField(this, 1, value || []);
8609
+ };
8610
+ proto.aggregator.GetWorkflowCountReq.prototype.addAddresses = function(value, opt_index) {
8611
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
8612
+ };
8613
+ proto.aggregator.GetWorkflowCountReq.prototype.clearAddressesList = function() {
8614
+ return this.setAddressesList([]);
8615
+ };
8616
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8617
+ proto.aggregator.GetWorkflowCountResp.prototype.toObject = function(opt_includeInstance) {
8618
+ return proto.aggregator.GetWorkflowCountResp.toObject(opt_includeInstance, this);
8619
+ };
8620
+ proto.aggregator.GetWorkflowCountResp.toObject = function(includeInstance, msg) {
8621
+ var f, obj = {
8622
+ total: jspb.Message.getFieldWithDefault(msg, 1, 0)
8623
+ };
8624
+ if (includeInstance) {
8625
+ obj.$jspbMessageInstance = msg;
8626
+ }
8627
+ return obj;
8628
+ };
8629
+ }
8630
+ proto.aggregator.GetWorkflowCountResp.deserializeBinary = function(bytes) {
8631
+ var reader = new jspb.BinaryReader(bytes);
8632
+ var msg = new proto.aggregator.GetWorkflowCountResp();
8633
+ return proto.aggregator.GetWorkflowCountResp.deserializeBinaryFromReader(msg, reader);
8634
+ };
8635
+ proto.aggregator.GetWorkflowCountResp.deserializeBinaryFromReader = function(msg, reader) {
8636
+ while (reader.nextField()) {
8637
+ if (reader.isEndGroup()) {
8638
+ break;
8639
+ }
8640
+ var field = reader.getFieldNumber();
8641
+ switch (field) {
8642
+ case 1:
8643
+ var value = (
8644
+ /** @type {number} */
8645
+ reader.readInt64()
8646
+ );
8647
+ msg.setTotal(value);
8648
+ break;
8649
+ default:
8650
+ reader.skipField();
8651
+ break;
8652
+ }
8653
+ }
8654
+ return msg;
8655
+ };
8656
+ proto.aggregator.GetWorkflowCountResp.prototype.serializeBinary = function() {
8657
+ var writer = new jspb.BinaryWriter();
8658
+ proto.aggregator.GetWorkflowCountResp.serializeBinaryToWriter(this, writer);
8659
+ return writer.getResultBuffer();
8660
+ };
8661
+ proto.aggregator.GetWorkflowCountResp.serializeBinaryToWriter = function(message, writer) {
8662
+ var f = void 0;
8663
+ f = message.getTotal();
8664
+ if (f !== 0) {
8665
+ writer.writeInt64(
8666
+ 1,
8667
+ f
8668
+ );
8669
+ }
8670
+ };
8671
+ proto.aggregator.GetWorkflowCountResp.prototype.getTotal = function() {
8672
+ return (
8673
+ /** @type {number} */
8674
+ jspb.Message.getFieldWithDefault(this, 1, 0)
8675
+ );
8676
+ };
8677
+ proto.aggregator.GetWorkflowCountResp.prototype.setTotal = function(value) {
8678
+ return jspb.Message.setProto3IntField(this, 1, value);
8679
+ };
8680
+ proto.aggregator.GetExecutionCountReq.repeatedFields_ = [1];
8681
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8682
+ proto.aggregator.GetExecutionCountReq.prototype.toObject = function(opt_includeInstance) {
8683
+ return proto.aggregator.GetExecutionCountReq.toObject(opt_includeInstance, this);
8684
+ };
8685
+ proto.aggregator.GetExecutionCountReq.toObject = function(includeInstance, msg) {
8686
+ var f, obj = {
8687
+ workflowIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? void 0 : f
8688
+ };
8689
+ if (includeInstance) {
8690
+ obj.$jspbMessageInstance = msg;
8691
+ }
8692
+ return obj;
8693
+ };
8694
+ }
8695
+ proto.aggregator.GetExecutionCountReq.deserializeBinary = function(bytes) {
8696
+ var reader = new jspb.BinaryReader(bytes);
8697
+ var msg = new proto.aggregator.GetExecutionCountReq();
8698
+ return proto.aggregator.GetExecutionCountReq.deserializeBinaryFromReader(msg, reader);
8699
+ };
8700
+ proto.aggregator.GetExecutionCountReq.deserializeBinaryFromReader = function(msg, reader) {
8701
+ while (reader.nextField()) {
8702
+ if (reader.isEndGroup()) {
8703
+ break;
8704
+ }
8705
+ var field = reader.getFieldNumber();
8706
+ switch (field) {
8707
+ case 1:
8708
+ var value = (
8709
+ /** @type {string} */
8710
+ reader.readString()
8711
+ );
8712
+ msg.addWorkflowIds(value);
8713
+ break;
8714
+ default:
8715
+ reader.skipField();
8716
+ break;
8717
+ }
8718
+ }
8719
+ return msg;
8720
+ };
8721
+ proto.aggregator.GetExecutionCountReq.prototype.serializeBinary = function() {
8722
+ var writer = new jspb.BinaryWriter();
8723
+ proto.aggregator.GetExecutionCountReq.serializeBinaryToWriter(this, writer);
8724
+ return writer.getResultBuffer();
8725
+ };
8726
+ proto.aggregator.GetExecutionCountReq.serializeBinaryToWriter = function(message, writer) {
8727
+ var f = void 0;
8728
+ f = message.getWorkflowIdsList();
8729
+ if (f.length > 0) {
8730
+ writer.writeRepeatedString(
8731
+ 1,
8732
+ f
8733
+ );
8734
+ }
8735
+ };
8736
+ proto.aggregator.GetExecutionCountReq.prototype.getWorkflowIdsList = function() {
8737
+ return (
8738
+ /** @type {!Array<string>} */
8739
+ jspb.Message.getRepeatedField(this, 1)
8740
+ );
8741
+ };
8742
+ proto.aggregator.GetExecutionCountReq.prototype.setWorkflowIdsList = function(value) {
8743
+ return jspb.Message.setField(this, 1, value || []);
8744
+ };
8745
+ proto.aggregator.GetExecutionCountReq.prototype.addWorkflowIds = function(value, opt_index) {
8746
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
8747
+ };
8748
+ proto.aggregator.GetExecutionCountReq.prototype.clearWorkflowIdsList = function() {
8749
+ return this.setWorkflowIdsList([]);
8750
+ };
8751
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8752
+ proto.aggregator.GetExecutionCountResp.prototype.toObject = function(opt_includeInstance) {
8753
+ return proto.aggregator.GetExecutionCountResp.toObject(opt_includeInstance, this);
8754
+ };
8755
+ proto.aggregator.GetExecutionCountResp.toObject = function(includeInstance, msg) {
8756
+ var f, obj = {
8757
+ total: jspb.Message.getFieldWithDefault(msg, 1, 0)
8758
+ };
8759
+ if (includeInstance) {
8760
+ obj.$jspbMessageInstance = msg;
8761
+ }
8762
+ return obj;
8763
+ };
8764
+ }
8765
+ proto.aggregator.GetExecutionCountResp.deserializeBinary = function(bytes) {
8766
+ var reader = new jspb.BinaryReader(bytes);
8767
+ var msg = new proto.aggregator.GetExecutionCountResp();
8768
+ return proto.aggregator.GetExecutionCountResp.deserializeBinaryFromReader(msg, reader);
8769
+ };
8770
+ proto.aggregator.GetExecutionCountResp.deserializeBinaryFromReader = function(msg, reader) {
8771
+ while (reader.nextField()) {
8772
+ if (reader.isEndGroup()) {
8773
+ break;
8774
+ }
8775
+ var field = reader.getFieldNumber();
8776
+ switch (field) {
8777
+ case 1:
8778
+ var value = (
8779
+ /** @type {number} */
8780
+ reader.readInt64()
8781
+ );
8782
+ msg.setTotal(value);
8783
+ break;
8784
+ default:
8785
+ reader.skipField();
8786
+ break;
8787
+ }
8788
+ }
8789
+ return msg;
8790
+ };
8791
+ proto.aggregator.GetExecutionCountResp.prototype.serializeBinary = function() {
8792
+ var writer = new jspb.BinaryWriter();
8793
+ proto.aggregator.GetExecutionCountResp.serializeBinaryToWriter(this, writer);
8794
+ return writer.getResultBuffer();
8795
+ };
8796
+ proto.aggregator.GetExecutionCountResp.serializeBinaryToWriter = function(message, writer) {
8797
+ var f = void 0;
8798
+ f = message.getTotal();
8799
+ if (f !== 0) {
8800
+ writer.writeInt64(
8801
+ 1,
8802
+ f
8803
+ );
8804
+ }
8805
+ };
8806
+ proto.aggregator.GetExecutionCountResp.prototype.getTotal = function() {
8807
+ return (
8808
+ /** @type {number} */
8809
+ jspb.Message.getFieldWithDefault(this, 1, 0)
8810
+ );
8811
+ };
8812
+ proto.aggregator.GetExecutionCountResp.prototype.setTotal = function(value) {
8813
+ return jspb.Message.setProto3IntField(this, 1, value);
8814
+ };
8815
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8816
+ proto.aggregator.Evm.prototype.toObject = function(opt_includeInstance) {
8817
+ return proto.aggregator.Evm.toObject(opt_includeInstance, this);
8818
+ };
8819
+ proto.aggregator.Evm.toObject = function(includeInstance, msg) {
8820
+ var f, obj = {};
8821
+ if (includeInstance) {
8822
+ obj.$jspbMessageInstance = msg;
8823
+ }
8824
+ return obj;
8825
+ };
8826
+ }
8827
+ proto.aggregator.Evm.deserializeBinary = function(bytes) {
8828
+ var reader = new jspb.BinaryReader(bytes);
8829
+ var msg = new proto.aggregator.Evm();
8830
+ return proto.aggregator.Evm.deserializeBinaryFromReader(msg, reader);
8831
+ };
8832
+ proto.aggregator.Evm.deserializeBinaryFromReader = function(msg, reader) {
8833
+ while (reader.nextField()) {
8834
+ if (reader.isEndGroup()) {
8835
+ break;
8836
+ }
8837
+ var field = reader.getFieldNumber();
8838
+ switch (field) {
8839
+ default:
8840
+ reader.skipField();
8841
+ break;
8842
+ }
8843
+ }
8844
+ return msg;
8845
+ };
8846
+ proto.aggregator.Evm.prototype.serializeBinary = function() {
8847
+ var writer = new jspb.BinaryWriter();
8848
+ proto.aggregator.Evm.serializeBinaryToWriter(this, writer);
8849
+ return writer.getResultBuffer();
8850
+ };
8851
+ proto.aggregator.Evm.serializeBinaryToWriter = function(message, writer) {
8852
+ var f = void 0;
8853
+ };
8854
+ proto.aggregator.Evm.Log.repeatedFields_ = [2];
8855
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8856
+ proto.aggregator.Evm.Log.prototype.toObject = function(opt_includeInstance) {
8857
+ return proto.aggregator.Evm.Log.toObject(opt_includeInstance, this);
8858
+ };
8859
+ proto.aggregator.Evm.Log.toObject = function(includeInstance, msg) {
8860
+ var f, obj = {
8861
+ address: jspb.Message.getFieldWithDefault(msg, 1, ""),
8862
+ topicsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? void 0 : f,
8863
+ data: jspb.Message.getFieldWithDefault(msg, 3, ""),
8864
+ blockNumber: jspb.Message.getFieldWithDefault(msg, 4, 0),
8865
+ transactionHash: jspb.Message.getFieldWithDefault(msg, 5, ""),
8866
+ transactionIndex: jspb.Message.getFieldWithDefault(msg, 6, 0),
8867
+ blockHash: jspb.Message.getFieldWithDefault(msg, 7, ""),
8868
+ index: jspb.Message.getFieldWithDefault(msg, 8, 0),
8869
+ removed: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
8870
+ };
8871
+ if (includeInstance) {
8872
+ obj.$jspbMessageInstance = msg;
8873
+ }
8874
+ return obj;
8875
+ };
8876
+ }
8877
+ proto.aggregator.Evm.Log.deserializeBinary = function(bytes) {
8878
+ var reader = new jspb.BinaryReader(bytes);
8879
+ var msg = new proto.aggregator.Evm.Log();
8880
+ return proto.aggregator.Evm.Log.deserializeBinaryFromReader(msg, reader);
8881
+ };
8882
+ proto.aggregator.Evm.Log.deserializeBinaryFromReader = function(msg, reader) {
8883
+ while (reader.nextField()) {
8884
+ if (reader.isEndGroup()) {
8885
+ break;
8886
+ }
8887
+ var field = reader.getFieldNumber();
8888
+ switch (field) {
8889
+ case 1:
8890
+ var value = (
8891
+ /** @type {string} */
8892
+ reader.readString()
8893
+ );
8894
+ msg.setAddress(value);
8895
+ break;
8896
+ case 2:
8897
+ var value = (
8898
+ /** @type {string} */
8899
+ reader.readString()
8900
+ );
8901
+ msg.addTopics(value);
8902
+ break;
8903
+ case 3:
8904
+ var value = (
8905
+ /** @type {string} */
8906
+ reader.readString()
8907
+ );
8908
+ msg.setData(value);
8909
+ break;
8910
+ case 4:
8911
+ var value = (
8912
+ /** @type {number} */
8913
+ reader.readUint64()
8914
+ );
8915
+ msg.setBlockNumber(value);
8916
+ break;
8917
+ case 5:
8918
+ var value = (
8919
+ /** @type {string} */
8920
+ reader.readString()
8921
+ );
8922
+ msg.setTransactionHash(value);
8923
+ break;
8924
+ case 6:
8925
+ var value = (
8926
+ /** @type {number} */
8927
+ reader.readUint32()
8928
+ );
8929
+ msg.setTransactionIndex(value);
8930
+ break;
8931
+ case 7:
8932
+ var value = (
8933
+ /** @type {string} */
8934
+ reader.readString()
8935
+ );
8936
+ msg.setBlockHash(value);
8937
+ break;
8938
+ case 8:
8939
+ var value = (
8940
+ /** @type {number} */
8941
+ reader.readUint32()
8942
+ );
8943
+ msg.setIndex(value);
8944
+ break;
8945
+ case 9:
8946
+ var value = (
8947
+ /** @type {boolean} */
8948
+ reader.readBool()
8949
+ );
8950
+ msg.setRemoved(value);
8951
+ break;
8952
+ default:
8953
+ reader.skipField();
8954
+ break;
8955
+ }
8956
+ }
8957
+ return msg;
8958
+ };
8959
+ proto.aggregator.Evm.Log.prototype.serializeBinary = function() {
8960
+ var writer = new jspb.BinaryWriter();
8961
+ proto.aggregator.Evm.Log.serializeBinaryToWriter(this, writer);
8962
+ return writer.getResultBuffer();
8963
+ };
8964
+ proto.aggregator.Evm.Log.serializeBinaryToWriter = function(message, writer) {
8965
+ var f = void 0;
8966
+ f = message.getAddress();
8967
+ if (f.length > 0) {
8968
+ writer.writeString(
8969
+ 1,
8970
+ f
8971
+ );
8972
+ }
8973
+ f = message.getTopicsList();
8974
+ if (f.length > 0) {
8975
+ writer.writeRepeatedString(
8976
+ 2,
8977
+ f
8978
+ );
8979
+ }
8980
+ f = message.getData();
8981
+ if (f.length > 0) {
8982
+ writer.writeString(
8983
+ 3,
8984
+ f
8985
+ );
8986
+ }
8987
+ f = message.getBlockNumber();
8988
+ if (f !== 0) {
8989
+ writer.writeUint64(
8990
+ 4,
8991
+ f
8992
+ );
8993
+ }
8994
+ f = message.getTransactionHash();
8995
+ if (f.length > 0) {
8996
+ writer.writeString(
8997
+ 5,
8998
+ f
8999
+ );
9000
+ }
9001
+ f = message.getTransactionIndex();
9002
+ if (f !== 0) {
9003
+ writer.writeUint32(
9004
+ 6,
9005
+ f
9006
+ );
9007
+ }
9008
+ f = message.getBlockHash();
9009
+ if (f.length > 0) {
9010
+ writer.writeString(
9011
+ 7,
9012
+ f
9013
+ );
9014
+ }
9015
+ f = message.getIndex();
9016
+ if (f !== 0) {
9017
+ writer.writeUint32(
9018
+ 8,
9019
+ f
9020
+ );
9021
+ }
9022
+ f = message.getRemoved();
9023
+ if (f) {
9024
+ writer.writeBool(
9025
+ 9,
9026
+ f
9027
+ );
9028
+ }
9029
+ };
9030
+ proto.aggregator.Evm.Log.prototype.getAddress = function() {
9031
+ return (
9032
+ /** @type {string} */
9033
+ jspb.Message.getFieldWithDefault(this, 1, "")
9034
+ );
9035
+ };
9036
+ proto.aggregator.Evm.Log.prototype.setAddress = function(value) {
9037
+ return jspb.Message.setProto3StringField(this, 1, value);
9038
+ };
9039
+ proto.aggregator.Evm.Log.prototype.getTopicsList = function() {
9040
+ return (
9041
+ /** @type {!Array<string>} */
9042
+ jspb.Message.getRepeatedField(this, 2)
9043
+ );
9044
+ };
9045
+ proto.aggregator.Evm.Log.prototype.setTopicsList = function(value) {
9046
+ return jspb.Message.setField(this, 2, value || []);
9047
+ };
9048
+ proto.aggregator.Evm.Log.prototype.addTopics = function(value, opt_index) {
9049
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
9050
+ };
9051
+ proto.aggregator.Evm.Log.prototype.clearTopicsList = function() {
9052
+ return this.setTopicsList([]);
9053
+ };
9054
+ proto.aggregator.Evm.Log.prototype.getData = function() {
9055
+ return (
9056
+ /** @type {string} */
9057
+ jspb.Message.getFieldWithDefault(this, 3, "")
9058
+ );
9059
+ };
9060
+ proto.aggregator.Evm.Log.prototype.setData = function(value) {
9061
+ return jspb.Message.setProto3StringField(this, 3, value);
9062
+ };
9063
+ proto.aggregator.Evm.Log.prototype.getBlockNumber = function() {
9064
+ return (
9065
+ /** @type {number} */
9066
+ jspb.Message.getFieldWithDefault(this, 4, 0)
9067
+ );
9068
+ };
9069
+ proto.aggregator.Evm.Log.prototype.setBlockNumber = function(value) {
9070
+ return jspb.Message.setProto3IntField(this, 4, value);
9071
+ };
9072
+ proto.aggregator.Evm.Log.prototype.getTransactionHash = function() {
9073
+ return (
9074
+ /** @type {string} */
9075
+ jspb.Message.getFieldWithDefault(this, 5, "")
9076
+ );
9077
+ };
9078
+ proto.aggregator.Evm.Log.prototype.setTransactionHash = function(value) {
9079
+ return jspb.Message.setProto3StringField(this, 5, value);
9080
+ };
9081
+ proto.aggregator.Evm.Log.prototype.getTransactionIndex = function() {
9082
+ return (
9083
+ /** @type {number} */
9084
+ jspb.Message.getFieldWithDefault(this, 6, 0)
9085
+ );
9086
+ };
9087
+ proto.aggregator.Evm.Log.prototype.setTransactionIndex = function(value) {
9088
+ return jspb.Message.setProto3IntField(this, 6, value);
9089
+ };
9090
+ proto.aggregator.Evm.Log.prototype.getBlockHash = function() {
9091
+ return (
9092
+ /** @type {string} */
9093
+ jspb.Message.getFieldWithDefault(this, 7, "")
9094
+ );
9095
+ };
9096
+ proto.aggregator.Evm.Log.prototype.setBlockHash = function(value) {
9097
+ return jspb.Message.setProto3StringField(this, 7, value);
9098
+ };
9099
+ proto.aggregator.Evm.Log.prototype.getIndex = function() {
9100
+ return (
9101
+ /** @type {number} */
9102
+ jspb.Message.getFieldWithDefault(this, 8, 0)
9103
+ );
9104
+ };
9105
+ proto.aggregator.Evm.Log.prototype.setIndex = function(value) {
9106
+ return jspb.Message.setProto3IntField(this, 8, value);
9107
+ };
9108
+ proto.aggregator.Evm.Log.prototype.getRemoved = function() {
9109
+ return (
9110
+ /** @type {boolean} */
9111
+ jspb.Message.getBooleanFieldWithDefault(this, 9, false)
9112
+ );
9113
+ };
9114
+ proto.aggregator.Evm.Log.prototype.setRemoved = function(value) {
9115
+ return jspb.Message.setProto3BooleanField(this, 9, value);
9116
+ };
9117
+ proto.aggregator.Evm.TransactionReceipt.repeatedFields_ = [12];
9118
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9119
+ proto.aggregator.Evm.TransactionReceipt.prototype.toObject = function(opt_includeInstance) {
9120
+ return proto.aggregator.Evm.TransactionReceipt.toObject(opt_includeInstance, this);
9121
+ };
9122
+ proto.aggregator.Evm.TransactionReceipt.toObject = function(includeInstance, msg) {
9123
+ var f, obj = {
9124
+ hash: jspb.Message.getFieldWithDefault(msg, 1, ""),
9125
+ blockHash: jspb.Message.getFieldWithDefault(msg, 2, ""),
9126
+ blockNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
9127
+ from: jspb.Message.getFieldWithDefault(msg, 4, ""),
9128
+ gasUsed: jspb.Message.getFieldWithDefault(msg, 6, 0),
9129
+ gasPrice: jspb.Message.getFieldWithDefault(msg, 7, 0),
9130
+ cumulativeGasUsed: jspb.Message.getFieldWithDefault(msg, 8, 0),
9131
+ fee: jspb.Message.getFieldWithDefault(msg, 9, 0),
9132
+ contractAddress: jspb.Message.getFieldWithDefault(msg, 10, ""),
9133
+ index: jspb.Message.getFieldWithDefault(msg, 11, 0),
9134
+ logsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? void 0 : f,
9135
+ logsBloom: jspb.Message.getFieldWithDefault(msg, 13, ""),
9136
+ root: jspb.Message.getFieldWithDefault(msg, 14, ""),
9137
+ status: jspb.Message.getFieldWithDefault(msg, 15, 0),
9138
+ type: jspb.Message.getFieldWithDefault(msg, 16, 0),
9139
+ blobGasPrice: jspb.Message.getFieldWithDefault(msg, 17, 0),
9140
+ blobGasUsed: jspb.Message.getFieldWithDefault(msg, 18, 0),
9141
+ to: jspb.Message.getFieldWithDefault(msg, 19, "")
9142
+ };
9143
+ if (includeInstance) {
9144
+ obj.$jspbMessageInstance = msg;
9145
+ }
9146
+ return obj;
9147
+ };
9148
+ }
9149
+ proto.aggregator.Evm.TransactionReceipt.deserializeBinary = function(bytes) {
9150
+ var reader = new jspb.BinaryReader(bytes);
9151
+ var msg = new proto.aggregator.Evm.TransactionReceipt();
9152
+ return proto.aggregator.Evm.TransactionReceipt.deserializeBinaryFromReader(msg, reader);
9153
+ };
9154
+ proto.aggregator.Evm.TransactionReceipt.deserializeBinaryFromReader = function(msg, reader) {
9155
+ while (reader.nextField()) {
9156
+ if (reader.isEndGroup()) {
9157
+ break;
9158
+ }
9159
+ var field = reader.getFieldNumber();
9160
+ switch (field) {
9161
+ case 1:
9162
+ var value = (
9163
+ /** @type {string} */
9164
+ reader.readString()
9165
+ );
9166
+ msg.setHash(value);
9167
+ break;
9168
+ case 2:
9169
+ var value = (
9170
+ /** @type {string} */
9171
+ reader.readString()
9172
+ );
9173
+ msg.setBlockHash(value);
9174
+ break;
9175
+ case 3:
9176
+ var value = (
9177
+ /** @type {number} */
9178
+ reader.readUint64()
9179
+ );
9180
+ msg.setBlockNumber(value);
9181
+ break;
9182
+ case 4:
9183
+ var value = (
9184
+ /** @type {string} */
9185
+ reader.readString()
9186
+ );
9187
+ msg.setFrom(value);
9188
+ break;
9189
+ case 6:
9190
+ var value = (
9191
+ /** @type {number} */
9192
+ reader.readUint64()
9193
+ );
9194
+ msg.setGasUsed(value);
9195
+ break;
9196
+ case 7:
9197
+ var value = (
9198
+ /** @type {number} */
9199
+ reader.readUint64()
9200
+ );
9201
+ msg.setGasPrice(value);
9202
+ break;
9203
+ case 8:
9204
+ var value = (
9205
+ /** @type {number} */
9206
+ reader.readUint64()
9207
+ );
9208
+ msg.setCumulativeGasUsed(value);
9209
+ break;
9210
+ case 9:
9211
+ var value = (
9212
+ /** @type {number} */
9213
+ reader.readUint64()
9214
+ );
9215
+ msg.setFee(value);
9216
+ break;
9217
+ case 10:
9218
+ var value = (
9219
+ /** @type {string} */
9220
+ reader.readString()
9221
+ );
9222
+ msg.setContractAddress(value);
9223
+ break;
9224
+ case 11:
9225
+ var value = (
9226
+ /** @type {number} */
9227
+ reader.readUint64()
9228
+ );
9229
+ msg.setIndex(value);
9230
+ break;
9231
+ case 12:
9232
+ var value = (
9233
+ /** @type {string} */
9234
+ reader.readString()
9235
+ );
9236
+ msg.addLogs(value);
9237
+ break;
9238
+ case 13:
9239
+ var value = (
9240
+ /** @type {string} */
9241
+ reader.readString()
9242
+ );
9243
+ msg.setLogsBloom(value);
9244
+ break;
9245
+ case 14:
9246
+ var value = (
9247
+ /** @type {string} */
9248
+ reader.readString()
9249
+ );
9250
+ msg.setRoot(value);
9251
+ break;
9252
+ case 15:
9253
+ var value = (
9254
+ /** @type {number} */
9255
+ reader.readUint32()
9256
+ );
9257
+ msg.setStatus(value);
9258
+ break;
9259
+ case 16:
9260
+ var value = (
9261
+ /** @type {number} */
9262
+ reader.readUint32()
9263
+ );
9264
+ msg.setType(value);
9265
+ break;
9266
+ case 17:
9267
+ var value = (
9268
+ /** @type {number} */
9269
+ reader.readUint64()
9270
+ );
9271
+ msg.setBlobGasPrice(value);
9272
+ break;
9273
+ case 18:
9274
+ var value = (
9275
+ /** @type {number} */
9276
+ reader.readUint64()
9277
+ );
9278
+ msg.setBlobGasUsed(value);
9279
+ break;
9280
+ case 19:
9281
+ var value = (
9282
+ /** @type {string} */
9283
+ reader.readString()
9284
+ );
9285
+ msg.setTo(value);
9286
+ break;
9287
+ default:
9288
+ reader.skipField();
9289
+ break;
9290
+ }
9291
+ }
9292
+ return msg;
9293
+ };
9294
+ proto.aggregator.Evm.TransactionReceipt.prototype.serializeBinary = function() {
9295
+ var writer = new jspb.BinaryWriter();
9296
+ proto.aggregator.Evm.TransactionReceipt.serializeBinaryToWriter(this, writer);
9297
+ return writer.getResultBuffer();
9298
+ };
9299
+ proto.aggregator.Evm.TransactionReceipt.serializeBinaryToWriter = function(message, writer) {
9300
+ var f = void 0;
9301
+ f = message.getHash();
9302
+ if (f.length > 0) {
9303
+ writer.writeString(
9304
+ 1,
9305
+ f
9306
+ );
9307
+ }
9308
+ f = message.getBlockHash();
9309
+ if (f.length > 0) {
9310
+ writer.writeString(
9311
+ 2,
9312
+ f
9313
+ );
9314
+ }
9315
+ f = message.getBlockNumber();
9316
+ if (f !== 0) {
9317
+ writer.writeUint64(
9318
+ 3,
9319
+ f
9320
+ );
9321
+ }
9322
+ f = message.getFrom();
9323
+ if (f.length > 0) {
9324
+ writer.writeString(
9325
+ 4,
9326
+ f
9327
+ );
9328
+ }
9329
+ f = message.getGasUsed();
9330
+ if (f !== 0) {
9331
+ writer.writeUint64(
9332
+ 6,
9333
+ f
9334
+ );
9335
+ }
9336
+ f = message.getGasPrice();
9337
+ if (f !== 0) {
9338
+ writer.writeUint64(
9339
+ 7,
9340
+ f
9341
+ );
9342
+ }
9343
+ f = message.getCumulativeGasUsed();
9344
+ if (f !== 0) {
9345
+ writer.writeUint64(
9346
+ 8,
9347
+ f
9348
+ );
9349
+ }
9350
+ f = message.getFee();
9351
+ if (f !== 0) {
9352
+ writer.writeUint64(
9353
+ 9,
9354
+ f
9355
+ );
9356
+ }
9357
+ f = message.getContractAddress();
9358
+ if (f.length > 0) {
9359
+ writer.writeString(
9360
+ 10,
9361
+ f
9362
+ );
9363
+ }
9364
+ f = message.getIndex();
9365
+ if (f !== 0) {
9366
+ writer.writeUint64(
9367
+ 11,
9368
+ f
9369
+ );
9370
+ }
9371
+ f = message.getLogsList();
9372
+ if (f.length > 0) {
9373
+ writer.writeRepeatedString(
9374
+ 12,
9375
+ f
9376
+ );
9377
+ }
9378
+ f = message.getLogsBloom();
9379
+ if (f.length > 0) {
9380
+ writer.writeString(
9381
+ 13,
9382
+ f
9383
+ );
9384
+ }
9385
+ f = message.getRoot();
9386
+ if (f.length > 0) {
9387
+ writer.writeString(
9388
+ 14,
9389
+ f
9390
+ );
9391
+ }
9392
+ f = message.getStatus();
9393
+ if (f !== 0) {
9394
+ writer.writeUint32(
9395
+ 15,
9396
+ f
9397
+ );
9398
+ }
9399
+ f = message.getType();
9400
+ if (f !== 0) {
9401
+ writer.writeUint32(
9402
+ 16,
9403
+ f
9404
+ );
9405
+ }
9406
+ f = message.getBlobGasPrice();
9407
+ if (f !== 0) {
9408
+ writer.writeUint64(
9409
+ 17,
9410
+ f
9411
+ );
9412
+ }
9413
+ f = message.getBlobGasUsed();
9414
+ if (f !== 0) {
9415
+ writer.writeUint64(
9416
+ 18,
9417
+ f
9418
+ );
9419
+ }
9420
+ f = message.getTo();
9421
+ if (f.length > 0) {
9422
+ writer.writeString(
9423
+ 19,
9424
+ f
9425
+ );
9426
+ }
9427
+ };
9428
+ proto.aggregator.Evm.TransactionReceipt.prototype.getHash = function() {
9429
+ return (
9430
+ /** @type {string} */
9431
+ jspb.Message.getFieldWithDefault(this, 1, "")
9432
+ );
9433
+ };
9434
+ proto.aggregator.Evm.TransactionReceipt.prototype.setHash = function(value) {
9435
+ return jspb.Message.setProto3StringField(this, 1, value);
9436
+ };
9437
+ proto.aggregator.Evm.TransactionReceipt.prototype.getBlockHash = function() {
9438
+ return (
9439
+ /** @type {string} */
9440
+ jspb.Message.getFieldWithDefault(this, 2, "")
9441
+ );
9442
+ };
9443
+ proto.aggregator.Evm.TransactionReceipt.prototype.setBlockHash = function(value) {
9444
+ return jspb.Message.setProto3StringField(this, 2, value);
9445
+ };
9446
+ proto.aggregator.Evm.TransactionReceipt.prototype.getBlockNumber = function() {
9447
+ return (
9448
+ /** @type {number} */
9449
+ jspb.Message.getFieldWithDefault(this, 3, 0)
9450
+ );
9451
+ };
9452
+ proto.aggregator.Evm.TransactionReceipt.prototype.setBlockNumber = function(value) {
9453
+ return jspb.Message.setProto3IntField(this, 3, value);
9454
+ };
9455
+ proto.aggregator.Evm.TransactionReceipt.prototype.getFrom = function() {
9456
+ return (
9457
+ /** @type {string} */
9458
+ jspb.Message.getFieldWithDefault(this, 4, "")
9459
+ );
9460
+ };
9461
+ proto.aggregator.Evm.TransactionReceipt.prototype.setFrom = function(value) {
9462
+ return jspb.Message.setProto3StringField(this, 4, value);
9463
+ };
9464
+ proto.aggregator.Evm.TransactionReceipt.prototype.getGasUsed = function() {
9465
+ return (
9466
+ /** @type {number} */
9467
+ jspb.Message.getFieldWithDefault(this, 6, 0)
9468
+ );
9469
+ };
9470
+ proto.aggregator.Evm.TransactionReceipt.prototype.setGasUsed = function(value) {
9471
+ return jspb.Message.setProto3IntField(this, 6, value);
9472
+ };
9473
+ proto.aggregator.Evm.TransactionReceipt.prototype.getGasPrice = function() {
9474
+ return (
9475
+ /** @type {number} */
9476
+ jspb.Message.getFieldWithDefault(this, 7, 0)
9477
+ );
9478
+ };
9479
+ proto.aggregator.Evm.TransactionReceipt.prototype.setGasPrice = function(value) {
9480
+ return jspb.Message.setProto3IntField(this, 7, value);
9481
+ };
9482
+ proto.aggregator.Evm.TransactionReceipt.prototype.getCumulativeGasUsed = function() {
9483
+ return (
9484
+ /** @type {number} */
9485
+ jspb.Message.getFieldWithDefault(this, 8, 0)
9486
+ );
9487
+ };
9488
+ proto.aggregator.Evm.TransactionReceipt.prototype.setCumulativeGasUsed = function(value) {
9489
+ return jspb.Message.setProto3IntField(this, 8, value);
9490
+ };
9491
+ proto.aggregator.Evm.TransactionReceipt.prototype.getFee = function() {
9492
+ return (
9493
+ /** @type {number} */
9494
+ jspb.Message.getFieldWithDefault(this, 9, 0)
9495
+ );
9496
+ };
9497
+ proto.aggregator.Evm.TransactionReceipt.prototype.setFee = function(value) {
9498
+ return jspb.Message.setProto3IntField(this, 9, value);
9499
+ };
9500
+ proto.aggregator.Evm.TransactionReceipt.prototype.getContractAddress = function() {
9501
+ return (
9502
+ /** @type {string} */
9503
+ jspb.Message.getFieldWithDefault(this, 10, "")
9504
+ );
9505
+ };
9506
+ proto.aggregator.Evm.TransactionReceipt.prototype.setContractAddress = function(value) {
9507
+ return jspb.Message.setProto3StringField(this, 10, value);
9508
+ };
9509
+ proto.aggregator.Evm.TransactionReceipt.prototype.getIndex = function() {
9510
+ return (
9511
+ /** @type {number} */
9512
+ jspb.Message.getFieldWithDefault(this, 11, 0)
9513
+ );
9514
+ };
9515
+ proto.aggregator.Evm.TransactionReceipt.prototype.setIndex = function(value) {
9516
+ return jspb.Message.setProto3IntField(this, 11, value);
9517
+ };
9518
+ proto.aggregator.Evm.TransactionReceipt.prototype.getLogsList = function() {
9519
+ return (
9520
+ /** @type {!Array<string>} */
9521
+ jspb.Message.getRepeatedField(this, 12)
9522
+ );
9523
+ };
9524
+ proto.aggregator.Evm.TransactionReceipt.prototype.setLogsList = function(value) {
9525
+ return jspb.Message.setField(this, 12, value || []);
9526
+ };
9527
+ proto.aggregator.Evm.TransactionReceipt.prototype.addLogs = function(value, opt_index) {
9528
+ return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
9529
+ };
9530
+ proto.aggregator.Evm.TransactionReceipt.prototype.clearLogsList = function() {
9531
+ return this.setLogsList([]);
9532
+ };
9533
+ proto.aggregator.Evm.TransactionReceipt.prototype.getLogsBloom = function() {
9534
+ return (
9535
+ /** @type {string} */
9536
+ jspb.Message.getFieldWithDefault(this, 13, "")
9537
+ );
9538
+ };
9539
+ proto.aggregator.Evm.TransactionReceipt.prototype.setLogsBloom = function(value) {
9540
+ return jspb.Message.setProto3StringField(this, 13, value);
9541
+ };
9542
+ proto.aggregator.Evm.TransactionReceipt.prototype.getRoot = function() {
7593
9543
  return (
7594
9544
  /** @type {string} */
7595
- jspb.Message.getFieldWithDefault(this, 1, "")
9545
+ jspb.Message.getFieldWithDefault(this, 14, "")
7596
9546
  );
7597
9547
  };
7598
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setName = function(value) {
7599
- return jspb.Message.setProto3StringField(this, 1, value);
9548
+ proto.aggregator.Evm.TransactionReceipt.prototype.setRoot = function(value) {
9549
+ return jspb.Message.setProto3StringField(this, 14, value);
7600
9550
  };
7601
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getScope = function() {
9551
+ proto.aggregator.Evm.TransactionReceipt.prototype.getStatus = function() {
7602
9552
  return (
7603
- /** @type {string} */
7604
- jspb.Message.getFieldWithDefault(this, 2, "")
9553
+ /** @type {number} */
9554
+ jspb.Message.getFieldWithDefault(this, 15, 0)
7605
9555
  );
7606
9556
  };
7607
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setScope = function(value) {
7608
- return jspb.Message.setProto3StringField(this, 2, value);
9557
+ proto.aggregator.Evm.TransactionReceipt.prototype.setStatus = function(value) {
9558
+ return jspb.Message.setProto3IntField(this, 15, value);
7609
9559
  };
7610
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getWorkflowId = function() {
9560
+ proto.aggregator.Evm.TransactionReceipt.prototype.getType = function() {
7611
9561
  return (
7612
- /** @type {string} */
7613
- jspb.Message.getFieldWithDefault(this, 4, "")
9562
+ /** @type {number} */
9563
+ jspb.Message.getFieldWithDefault(this, 16, 0)
7614
9564
  );
7615
9565
  };
7616
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setWorkflowId = function(value) {
7617
- return jspb.Message.setProto3StringField(this, 4, value);
9566
+ proto.aggregator.Evm.TransactionReceipt.prototype.setType = function(value) {
9567
+ return jspb.Message.setProto3IntField(this, 16, value);
7618
9568
  };
7619
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.getOrgId = function() {
9569
+ proto.aggregator.Evm.TransactionReceipt.prototype.getBlobGasPrice = function() {
7620
9570
  return (
7621
- /** @type {string} */
7622
- jspb.Message.getFieldWithDefault(this, 5, "")
9571
+ /** @type {number} */
9572
+ jspb.Message.getFieldWithDefault(this, 17, 0)
7623
9573
  );
7624
9574
  };
7625
- proto.aggregator.ListSecretsResp.ResponseSecret.prototype.setOrgId = function(value) {
7626
- return jspb.Message.setProto3StringField(this, 5, value);
9575
+ proto.aggregator.Evm.TransactionReceipt.prototype.setBlobGasPrice = function(value) {
9576
+ return jspb.Message.setProto3IntField(this, 17, value);
7627
9577
  };
7628
- proto.aggregator.ListSecretsResp.prototype.getItemsList = function() {
9578
+ proto.aggregator.Evm.TransactionReceipt.prototype.getBlobGasUsed = function() {
7629
9579
  return (
7630
- /** @type{!Array<!proto.aggregator.ListSecretsResp.ResponseSecret>} */
7631
- jspb.Message.getRepeatedWrapperField(this, proto.aggregator.ListSecretsResp.ResponseSecret, 1)
9580
+ /** @type {number} */
9581
+ jspb.Message.getFieldWithDefault(this, 18, 0)
7632
9582
  );
7633
9583
  };
7634
- proto.aggregator.ListSecretsResp.prototype.setItemsList = function(value) {
7635
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
9584
+ proto.aggregator.Evm.TransactionReceipt.prototype.setBlobGasUsed = function(value) {
9585
+ return jspb.Message.setProto3IntField(this, 18, value);
7636
9586
  };
7637
- proto.aggregator.ListSecretsResp.prototype.addItems = function(opt_value, opt_index) {
7638
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.aggregator.ListSecretsResp.ResponseSecret, opt_index);
9587
+ proto.aggregator.Evm.TransactionReceipt.prototype.getTo = function() {
9588
+ return (
9589
+ /** @type {string} */
9590
+ jspb.Message.getFieldWithDefault(this, 19, "")
9591
+ );
7639
9592
  };
7640
- proto.aggregator.ListSecretsResp.prototype.clearItemsList = function() {
7641
- return this.setItemsList([]);
9593
+ proto.aggregator.Evm.TransactionReceipt.prototype.setTo = function(value) {
9594
+ return jspb.Message.setProto3StringField(this, 19, value);
7642
9595
  };
7643
9596
  if (jspb.Message.GENERATE_TO_OBJECT) {
7644
- proto.aggregator.DeleteSecretReq.prototype.toObject = function(opt_includeInstance) {
7645
- return proto.aggregator.DeleteSecretReq.toObject(opt_includeInstance, this);
9597
+ proto.aggregator.Evm.UserOp.prototype.toObject = function(opt_includeInstance) {
9598
+ return proto.aggregator.Evm.UserOp.toObject(opt_includeInstance, this);
7646
9599
  };
7647
- proto.aggregator.DeleteSecretReq.toObject = function(includeInstance, msg) {
9600
+ proto.aggregator.Evm.UserOp.toObject = function(includeInstance, msg) {
7648
9601
  var f, obj = {
7649
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
7650
- workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
7651
- orgId: jspb.Message.getFieldWithDefault(msg, 3, "")
9602
+ sender: jspb.Message.getFieldWithDefault(msg, 1, ""),
9603
+ nonce: jspb.Message.getFieldWithDefault(msg, 2, ""),
9604
+ initCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
9605
+ callData: jspb.Message.getFieldWithDefault(msg, 4, ""),
9606
+ callGasLimit: jspb.Message.getFieldWithDefault(msg, 5, ""),
9607
+ verificationGasLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
9608
+ preVerificationGas: jspb.Message.getFieldWithDefault(msg, 7, ""),
9609
+ maxFeePerGas: jspb.Message.getFieldWithDefault(msg, 8, ""),
9610
+ maxPriorityFeePerGas: jspb.Message.getFieldWithDefault(msg, 9, ""),
9611
+ paymasterAndData: jspb.Message.getFieldWithDefault(msg, 10, ""),
9612
+ signature: jspb.Message.getFieldWithDefault(msg, 11, "")
7652
9613
  };
7653
9614
  if (includeInstance) {
7654
9615
  obj.$jspbMessageInstance = msg;
@@ -7656,12 +9617,12 @@ var require_avs_pb = __commonJS({
7656
9617
  return obj;
7657
9618
  };
7658
9619
  }
7659
- proto.aggregator.DeleteSecretReq.deserializeBinary = function(bytes) {
9620
+ proto.aggregator.Evm.UserOp.deserializeBinary = function(bytes) {
7660
9621
  var reader = new jspb.BinaryReader(bytes);
7661
- var msg = new proto.aggregator.DeleteSecretReq();
7662
- return proto.aggregator.DeleteSecretReq.deserializeBinaryFromReader(msg, reader);
9622
+ var msg = new proto.aggregator.Evm.UserOp();
9623
+ return proto.aggregator.Evm.UserOp.deserializeBinaryFromReader(msg, reader);
7663
9624
  };
7664
- proto.aggregator.DeleteSecretReq.deserializeBinaryFromReader = function(msg, reader) {
9625
+ proto.aggregator.Evm.UserOp.deserializeBinaryFromReader = function(msg, reader) {
7665
9626
  while (reader.nextField()) {
7666
9627
  if (reader.isEndGroup()) {
7667
9628
  break;
@@ -7673,21 +9634,77 @@ var require_avs_pb = __commonJS({
7673
9634
  /** @type {string} */
7674
9635
  reader.readString()
7675
9636
  );
7676
- msg.setName(value);
9637
+ msg.setSender(value);
7677
9638
  break;
7678
9639
  case 2:
7679
9640
  var value = (
7680
9641
  /** @type {string} */
7681
9642
  reader.readString()
7682
9643
  );
7683
- msg.setWorkflowId(value);
9644
+ msg.setNonce(value);
7684
9645
  break;
7685
9646
  case 3:
7686
9647
  var value = (
7687
9648
  /** @type {string} */
7688
9649
  reader.readString()
7689
9650
  );
7690
- msg.setOrgId(value);
9651
+ msg.setInitCode(value);
9652
+ break;
9653
+ case 4:
9654
+ var value = (
9655
+ /** @type {string} */
9656
+ reader.readString()
9657
+ );
9658
+ msg.setCallData(value);
9659
+ break;
9660
+ case 5:
9661
+ var value = (
9662
+ /** @type {string} */
9663
+ reader.readString()
9664
+ );
9665
+ msg.setCallGasLimit(value);
9666
+ break;
9667
+ case 6:
9668
+ var value = (
9669
+ /** @type {string} */
9670
+ reader.readString()
9671
+ );
9672
+ msg.setVerificationGasLimit(value);
9673
+ break;
9674
+ case 7:
9675
+ var value = (
9676
+ /** @type {string} */
9677
+ reader.readString()
9678
+ );
9679
+ msg.setPreVerificationGas(value);
9680
+ break;
9681
+ case 8:
9682
+ var value = (
9683
+ /** @type {string} */
9684
+ reader.readString()
9685
+ );
9686
+ msg.setMaxFeePerGas(value);
9687
+ break;
9688
+ case 9:
9689
+ var value = (
9690
+ /** @type {string} */
9691
+ reader.readString()
9692
+ );
9693
+ msg.setMaxPriorityFeePerGas(value);
9694
+ break;
9695
+ case 10:
9696
+ var value = (
9697
+ /** @type {string} */
9698
+ reader.readString()
9699
+ );
9700
+ msg.setPaymasterAndData(value);
9701
+ break;
9702
+ case 11:
9703
+ var value = (
9704
+ /** @type {string} */
9705
+ reader.readString()
9706
+ );
9707
+ msg.setSignature(value);
7691
9708
  break;
7692
9709
  default:
7693
9710
  reader.skipField();
@@ -7696,62 +9713,190 @@ var require_avs_pb = __commonJS({
7696
9713
  }
7697
9714
  return msg;
7698
9715
  };
7699
- proto.aggregator.DeleteSecretReq.prototype.serializeBinary = function() {
9716
+ proto.aggregator.Evm.UserOp.prototype.serializeBinary = function() {
7700
9717
  var writer = new jspb.BinaryWriter();
7701
- proto.aggregator.DeleteSecretReq.serializeBinaryToWriter(this, writer);
9718
+ proto.aggregator.Evm.UserOp.serializeBinaryToWriter(this, writer);
7702
9719
  return writer.getResultBuffer();
7703
9720
  };
7704
- proto.aggregator.DeleteSecretReq.serializeBinaryToWriter = function(message, writer) {
9721
+ proto.aggregator.Evm.UserOp.serializeBinaryToWriter = function(message, writer) {
7705
9722
  var f = void 0;
7706
- f = message.getName();
9723
+ f = message.getSender();
7707
9724
  if (f.length > 0) {
7708
9725
  writer.writeString(
7709
9726
  1,
7710
9727
  f
7711
9728
  );
7712
9729
  }
7713
- f = message.getWorkflowId();
9730
+ f = message.getNonce();
7714
9731
  if (f.length > 0) {
7715
9732
  writer.writeString(
7716
9733
  2,
7717
9734
  f
7718
9735
  );
7719
9736
  }
7720
- f = message.getOrgId();
9737
+ f = message.getInitCode();
7721
9738
  if (f.length > 0) {
7722
9739
  writer.writeString(
7723
9740
  3,
7724
9741
  f
7725
9742
  );
7726
9743
  }
9744
+ f = message.getCallData();
9745
+ if (f.length > 0) {
9746
+ writer.writeString(
9747
+ 4,
9748
+ f
9749
+ );
9750
+ }
9751
+ f = message.getCallGasLimit();
9752
+ if (f.length > 0) {
9753
+ writer.writeString(
9754
+ 5,
9755
+ f
9756
+ );
9757
+ }
9758
+ f = message.getVerificationGasLimit();
9759
+ if (f.length > 0) {
9760
+ writer.writeString(
9761
+ 6,
9762
+ f
9763
+ );
9764
+ }
9765
+ f = message.getPreVerificationGas();
9766
+ if (f.length > 0) {
9767
+ writer.writeString(
9768
+ 7,
9769
+ f
9770
+ );
9771
+ }
9772
+ f = message.getMaxFeePerGas();
9773
+ if (f.length > 0) {
9774
+ writer.writeString(
9775
+ 8,
9776
+ f
9777
+ );
9778
+ }
9779
+ f = message.getMaxPriorityFeePerGas();
9780
+ if (f.length > 0) {
9781
+ writer.writeString(
9782
+ 9,
9783
+ f
9784
+ );
9785
+ }
9786
+ f = message.getPaymasterAndData();
9787
+ if (f.length > 0) {
9788
+ writer.writeString(
9789
+ 10,
9790
+ f
9791
+ );
9792
+ }
9793
+ f = message.getSignature();
9794
+ if (f.length > 0) {
9795
+ writer.writeString(
9796
+ 11,
9797
+ f
9798
+ );
9799
+ }
7727
9800
  };
7728
- proto.aggregator.DeleteSecretReq.prototype.getName = function() {
9801
+ proto.aggregator.Evm.UserOp.prototype.getSender = function() {
7729
9802
  return (
7730
9803
  /** @type {string} */
7731
9804
  jspb.Message.getFieldWithDefault(this, 1, "")
7732
9805
  );
7733
9806
  };
7734
- proto.aggregator.DeleteSecretReq.prototype.setName = function(value) {
9807
+ proto.aggregator.Evm.UserOp.prototype.setSender = function(value) {
7735
9808
  return jspb.Message.setProto3StringField(this, 1, value);
7736
9809
  };
7737
- proto.aggregator.DeleteSecretReq.prototype.getWorkflowId = function() {
9810
+ proto.aggregator.Evm.UserOp.prototype.getNonce = function() {
7738
9811
  return (
7739
9812
  /** @type {string} */
7740
9813
  jspb.Message.getFieldWithDefault(this, 2, "")
7741
9814
  );
7742
9815
  };
7743
- proto.aggregator.DeleteSecretReq.prototype.setWorkflowId = function(value) {
9816
+ proto.aggregator.Evm.UserOp.prototype.setNonce = function(value) {
7744
9817
  return jspb.Message.setProto3StringField(this, 2, value);
7745
9818
  };
7746
- proto.aggregator.DeleteSecretReq.prototype.getOrgId = function() {
9819
+ proto.aggregator.Evm.UserOp.prototype.getInitCode = function() {
7747
9820
  return (
7748
9821
  /** @type {string} */
7749
9822
  jspb.Message.getFieldWithDefault(this, 3, "")
7750
9823
  );
7751
9824
  };
7752
- proto.aggregator.DeleteSecretReq.prototype.setOrgId = function(value) {
9825
+ proto.aggregator.Evm.UserOp.prototype.setInitCode = function(value) {
7753
9826
  return jspb.Message.setProto3StringField(this, 3, value);
7754
9827
  };
9828
+ proto.aggregator.Evm.UserOp.prototype.getCallData = function() {
9829
+ return (
9830
+ /** @type {string} */
9831
+ jspb.Message.getFieldWithDefault(this, 4, "")
9832
+ );
9833
+ };
9834
+ proto.aggregator.Evm.UserOp.prototype.setCallData = function(value) {
9835
+ return jspb.Message.setProto3StringField(this, 4, value);
9836
+ };
9837
+ proto.aggregator.Evm.UserOp.prototype.getCallGasLimit = function() {
9838
+ return (
9839
+ /** @type {string} */
9840
+ jspb.Message.getFieldWithDefault(this, 5, "")
9841
+ );
9842
+ };
9843
+ proto.aggregator.Evm.UserOp.prototype.setCallGasLimit = function(value) {
9844
+ return jspb.Message.setProto3StringField(this, 5, value);
9845
+ };
9846
+ proto.aggregator.Evm.UserOp.prototype.getVerificationGasLimit = function() {
9847
+ return (
9848
+ /** @type {string} */
9849
+ jspb.Message.getFieldWithDefault(this, 6, "")
9850
+ );
9851
+ };
9852
+ proto.aggregator.Evm.UserOp.prototype.setVerificationGasLimit = function(value) {
9853
+ return jspb.Message.setProto3StringField(this, 6, value);
9854
+ };
9855
+ proto.aggregator.Evm.UserOp.prototype.getPreVerificationGas = function() {
9856
+ return (
9857
+ /** @type {string} */
9858
+ jspb.Message.getFieldWithDefault(this, 7, "")
9859
+ );
9860
+ };
9861
+ proto.aggregator.Evm.UserOp.prototype.setPreVerificationGas = function(value) {
9862
+ return jspb.Message.setProto3StringField(this, 7, value);
9863
+ };
9864
+ proto.aggregator.Evm.UserOp.prototype.getMaxFeePerGas = function() {
9865
+ return (
9866
+ /** @type {string} */
9867
+ jspb.Message.getFieldWithDefault(this, 8, "")
9868
+ );
9869
+ };
9870
+ proto.aggregator.Evm.UserOp.prototype.setMaxFeePerGas = function(value) {
9871
+ return jspb.Message.setProto3StringField(this, 8, value);
9872
+ };
9873
+ proto.aggregator.Evm.UserOp.prototype.getMaxPriorityFeePerGas = function() {
9874
+ return (
9875
+ /** @type {string} */
9876
+ jspb.Message.getFieldWithDefault(this, 9, "")
9877
+ );
9878
+ };
9879
+ proto.aggregator.Evm.UserOp.prototype.setMaxPriorityFeePerGas = function(value) {
9880
+ return jspb.Message.setProto3StringField(this, 9, value);
9881
+ };
9882
+ proto.aggregator.Evm.UserOp.prototype.getPaymasterAndData = function() {
9883
+ return (
9884
+ /** @type {string} */
9885
+ jspb.Message.getFieldWithDefault(this, 10, "")
9886
+ );
9887
+ };
9888
+ proto.aggregator.Evm.UserOp.prototype.setPaymasterAndData = function(value) {
9889
+ return jspb.Message.setProto3StringField(this, 10, value);
9890
+ };
9891
+ proto.aggregator.Evm.UserOp.prototype.getSignature = function() {
9892
+ return (
9893
+ /** @type {string} */
9894
+ jspb.Message.getFieldWithDefault(this, 11, "")
9895
+ );
9896
+ };
9897
+ proto.aggregator.Evm.UserOp.prototype.setSignature = function(value) {
9898
+ return jspb.Message.setProto3StringField(this, 11, value);
9899
+ };
7755
9900
  proto.aggregator.Error = {
7756
9901
  UNKNOWERROR: 0,
7757
9902
  RPCNODEERROR: 1e3,
@@ -7789,6 +9934,8 @@ var require_avs_grpc_pb = __commonJS({
7789
9934
  var avs_pb22 = require_avs_pb();
7790
9935
  var google_protobuf_wrappers_pb = require("google-protobuf/google/protobuf/wrappers_pb.js");
7791
9936
  var google_protobuf_timestamp_pb = require("google-protobuf/google/protobuf/timestamp_pb.js");
9937
+ var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
9938
+ var google_protobuf_struct_pb = require("google-protobuf/google/protobuf/struct_pb.js");
7792
9939
  function serialize_aggregator_CreateOrUpdateSecretReq(arg) {
7793
9940
  if (!(arg instanceof avs_pb22.CreateOrUpdateSecretReq)) {
7794
9941
  throw new Error("Expected argument of type aggregator.CreateOrUpdateSecretReq");
@@ -7852,6 +9999,24 @@ var require_avs_grpc_pb = __commonJS({
7852
9999
  function deserialize_aggregator_ExecutionStatusResp(buffer_arg) {
7853
10000
  return avs_pb22.ExecutionStatusResp.deserializeBinary(new Uint8Array(buffer_arg));
7854
10001
  }
10002
+ function serialize_aggregator_GetExecutionCountReq(arg) {
10003
+ if (!(arg instanceof avs_pb22.GetExecutionCountReq)) {
10004
+ throw new Error("Expected argument of type aggregator.GetExecutionCountReq");
10005
+ }
10006
+ return Buffer.from(arg.serializeBinary());
10007
+ }
10008
+ function deserialize_aggregator_GetExecutionCountReq(buffer_arg) {
10009
+ return avs_pb22.GetExecutionCountReq.deserializeBinary(new Uint8Array(buffer_arg));
10010
+ }
10011
+ function serialize_aggregator_GetExecutionCountResp(arg) {
10012
+ if (!(arg instanceof avs_pb22.GetExecutionCountResp)) {
10013
+ throw new Error("Expected argument of type aggregator.GetExecutionCountResp");
10014
+ }
10015
+ return Buffer.from(arg.serializeBinary());
10016
+ }
10017
+ function deserialize_aggregator_GetExecutionCountResp(buffer_arg) {
10018
+ return avs_pb22.GetExecutionCountResp.deserializeBinary(new Uint8Array(buffer_arg));
10019
+ }
7855
10020
  function serialize_aggregator_GetKeyReq(arg) {
7856
10021
  if (!(arg instanceof avs_pb22.GetKeyReq)) {
7857
10022
  throw new Error("Expected argument of type aggregator.GetKeyReq");
@@ -7879,6 +10044,24 @@ var require_avs_grpc_pb = __commonJS({
7879
10044
  function deserialize_aggregator_GetWalletResp(buffer_arg) {
7880
10045
  return avs_pb22.GetWalletResp.deserializeBinary(new Uint8Array(buffer_arg));
7881
10046
  }
10047
+ function serialize_aggregator_GetWorkflowCountReq(arg) {
10048
+ if (!(arg instanceof avs_pb22.GetWorkflowCountReq)) {
10049
+ throw new Error("Expected argument of type aggregator.GetWorkflowCountReq");
10050
+ }
10051
+ return Buffer.from(arg.serializeBinary());
10052
+ }
10053
+ function deserialize_aggregator_GetWorkflowCountReq(buffer_arg) {
10054
+ return avs_pb22.GetWorkflowCountReq.deserializeBinary(new Uint8Array(buffer_arg));
10055
+ }
10056
+ function serialize_aggregator_GetWorkflowCountResp(arg) {
10057
+ if (!(arg instanceof avs_pb22.GetWorkflowCountResp)) {
10058
+ throw new Error("Expected argument of type aggregator.GetWorkflowCountResp");
10059
+ }
10060
+ return Buffer.from(arg.serializeBinary());
10061
+ }
10062
+ function deserialize_aggregator_GetWorkflowCountResp(buffer_arg) {
10063
+ return avs_pb22.GetWorkflowCountResp.deserializeBinary(new Uint8Array(buffer_arg));
10064
+ }
7882
10065
  function serialize_aggregator_IdReq(arg) {
7883
10066
  if (!(arg instanceof avs_pb22.IdReq)) {
7884
10067
  throw new Error("Expected argument of type aggregator.IdReq");
@@ -8220,6 +10403,38 @@ var require_avs_grpc_pb = __commonJS({
8220
10403
  requestDeserialize: deserialize_aggregator_CreateOrUpdateSecretReq,
8221
10404
  responseSerialize: serialize_google_protobuf_BoolValue,
8222
10405
  responseDeserialize: deserialize_google_protobuf_BoolValue
10406
+ },
10407
+ // The spec of these 2 RPCs are based on the following issue:
10408
+ // Reference: https://github.com/AvaProtocol/EigenLayer-AVS/issues/150
10409
+ // GetWorkflowCount returns the total count of workflows for the given eoa addresses or a list of smart wallet addresses belongs to the eoa in the auth key
10410
+ // When passing a list of smart wallet addresses, we will return the total count of workflows belongs to all of them
10411
+ // If the smart wallet address is not found in our system, we will ignore it and not count towards the total
10412
+ // if smart wallet address doesn't belong to the eoa in the auth key, we will also ignore it and not count towards the total
10413
+ getWorkflowCount: {
10414
+ path: "/aggregator.Aggregator/GetWorkflowCount",
10415
+ requestStream: false,
10416
+ responseStream: false,
10417
+ requestType: avs_pb22.GetWorkflowCountReq,
10418
+ responseType: avs_pb22.GetWorkflowCountResp,
10419
+ requestSerialize: serialize_aggregator_GetWorkflowCountReq,
10420
+ requestDeserialize: deserialize_aggregator_GetWorkflowCountReq,
10421
+ responseSerialize: serialize_aggregator_GetWorkflowCountResp,
10422
+ responseDeserialize: deserialize_aggregator_GetWorkflowCountResp
10423
+ },
10424
+ // GetExecutionCount returns the total number of executions for specified workflow IDs or all workflows linked to the EOA in the auth key.
10425
+ // If no workflow IDs are provided, it counts executions for all workflows of the EOA.
10426
+ // Workflow IDs not found in the system are ignored.
10427
+ // Workflow IDs not linked to the EOA in the auth key are also ignored.
10428
+ getExecutionCount: {
10429
+ path: "/aggregator.Aggregator/GetExecutionCount",
10430
+ requestStream: false,
10431
+ responseStream: false,
10432
+ requestType: avs_pb22.GetExecutionCountReq,
10433
+ responseType: avs_pb22.GetExecutionCountResp,
10434
+ requestSerialize: serialize_aggregator_GetExecutionCountReq,
10435
+ requestDeserialize: deserialize_aggregator_GetExecutionCountReq,
10436
+ responseSerialize: serialize_aggregator_GetExecutionCountResp,
10437
+ responseDeserialize: deserialize_aggregator_GetExecutionCountResp
8223
10438
  }
8224
10439
  };
8225
10440
  exports2.AggregatorClient = grpc.makeGenericClientConstructor(AggregatorService, "Aggregator");
@@ -8822,6 +11037,10 @@ var NodeFactory = class {
8822
11037
  return new branch_default(props);
8823
11038
  case import_types15.NodeType.Filter:
8824
11039
  return new filter_default(props);
11040
+ case import_types15.NodeType.Loop:
11041
+ throw new Error("Loop node type is not yet implemented");
11042
+ case import_types15.NodeType.Unset:
11043
+ throw new Error("Cannot create node with unset type");
8825
11044
  default:
8826
11045
  throw new Error(`Unsupported node type: ${props.type}`);
8827
11046
  }
@@ -9066,37 +11285,54 @@ var Step = class _Step {
9066
11285
  constructor(props) {
9067
11286
  this.nodeId = props.nodeId;
9068
11287
  this.success = props.success;
9069
- this.outputData = props.outputData;
9070
11288
  this.log = props.log;
9071
11289
  this.error = props.error;
9072
11290
  this.startAt = props.startAt;
9073
11291
  this.endAt = props.endAt;
9074
11292
  this.inputsList = props.inputsList;
11293
+ this.output = props.output;
11294
+ }
11295
+ static getOutput(step) {
11296
+ console.log("step.getOutput", step.toObject());
11297
+ const outputDataType = step.getOutputDataCase();
11298
+ console.log("step.getOutput.outputDataType", outputDataType);
11299
+ switch (outputDataType) {
11300
+ case avs_pb18.Execution.Step.OutputDataCase.ETH_TRANSFER:
11301
+ return step.getEthTransfer()?.toObject();
11302
+ case avs_pb18.Execution.Step.OutputDataCase.GRAPHQL:
11303
+ return step.getGraphql()?.toObject();
11304
+ case avs_pb18.Execution.Step.OutputDataCase.CONTRACT_READ:
11305
+ return step.getContractRead()?.toObject();
11306
+ case avs_pb18.Execution.Step.OutputDataCase.CONTRACT_WRITE:
11307
+ return step.getContractWrite()?.toObject();
11308
+ case avs_pb18.Execution.Step.OutputDataCase.CUSTOM_CODE:
11309
+ return step.getCustomCode()?.toObject();
11310
+ case avs_pb18.Execution.Step.OutputDataCase.REST_API:
11311
+ return step.getRestApi()?.toObject();
11312
+ case avs_pb18.Execution.Step.OutputDataCase.BRANCH:
11313
+ return step.getBranch()?.toObject();
11314
+ case avs_pb18.Execution.Step.OutputDataCase.FILTER:
11315
+ return step.getFilter()?.toObject();
11316
+ case avs_pb18.Execution.Step.OutputDataCase.LOOP:
11317
+ return step.getLoop()?.toObject();
11318
+ default:
11319
+ throw new Error(`Unknown output data type: ${outputDataType}`);
11320
+ }
9075
11321
  }
9076
11322
  static fromResponse(step) {
9077
11323
  return new _Step({
9078
11324
  nodeId: step.getNodeId(),
9079
11325
  success: step.getSuccess(),
9080
- outputData: step.getOutputData(),
9081
11326
  log: step.getLog(),
9082
11327
  error: step.getError(),
9083
11328
  startAt: step.getStartAt(),
9084
11329
  endAt: step.getEndAt(),
9085
- inputsList: step.getInputsList()
11330
+ inputsList: step.getInputsList(),
11331
+ output: _Step.getOutput(step)
11332
+ // static function of this class for switch conversion
9086
11333
  });
9087
11334
  }
9088
- toRequest() {
9089
- const step = new avs_pb18.Execution.Step();
9090
- step.setNodeId(this.nodeId);
9091
- step.setSuccess(this.success);
9092
- step.setOutputData(this.outputData);
9093
- step.setLog(this.log);
9094
- step.setError(this.error);
9095
- step.setStartAt(this.startAt);
9096
- step.setEndAt(this.endAt);
9097
- step.setInputsList(this.inputsList);
9098
- return step;
9099
- }
11335
+ // Client side does not generate the step, so there’s no toRequest() method
9100
11336
  };
9101
11337
  var step_default = Step;
9102
11338
 
@@ -9111,23 +11347,25 @@ var Execution3 = class _Execution {
9111
11347
  this.stepsList = props.stepsList;
9112
11348
  this.triggerName = props.triggerName;
9113
11349
  this.triggerReason = props.triggerReason;
9114
- this.outputData = props.outputData;
11350
+ this.triggerOutput = props.triggerOutput;
9115
11351
  }
9116
11352
  static fromResponse(execution) {
9117
- const outputDataType = execution.getOutputDataCase();
9118
- let outputData;
9119
- switch (outputDataType) {
11353
+ const triggerOutputDataType = execution.getOutputDataCase();
11354
+ console.log("execution.triggerOutputDataType", execution.toObject());
11355
+ console.log("execution.triggerOutputDataType", triggerOutputDataType);
11356
+ let triggerOutputData;
11357
+ switch (triggerOutputDataType) {
9120
11358
  case avs_pb19.Execution.OutputDataCase.EVM_LOG:
9121
- outputData = execution.getEvmLog()?.toObject();
11359
+ triggerOutputData = execution.getEvmLog()?.toObject();
9122
11360
  break;
9123
11361
  case avs_pb19.Execution.OutputDataCase.TRANSFER_LOG:
9124
- outputData = execution.getTransferLog()?.toObject();
11362
+ triggerOutputData = execution.getTransferLog()?.toObject();
9125
11363
  break;
9126
11364
  case avs_pb19.Execution.OutputDataCase.BLOCK:
9127
- outputData = execution.getBlock()?.toObject();
11365
+ triggerOutputData = execution.getBlock()?.toObject();
9128
11366
  break;
9129
11367
  case avs_pb19.Execution.OutputDataCase.TIME:
9130
- outputData = execution.getTime()?.toObject();
11368
+ triggerOutputData = execution.getTime()?.toObject();
9131
11369
  break;
9132
11370
  }
9133
11371
  return new _Execution({
@@ -9138,11 +11376,11 @@ var Execution3 = class _Execution {
9138
11376
  error: execution.getError(),
9139
11377
  triggerName: execution.getTriggerName(),
9140
11378
  triggerReason: reason_default.fromResponse(execution.getReason()),
9141
- stepsList: execution.getStepsList().map((step) => step_default.fromResponse(step)),
9142
- outputData
11379
+ triggerOutput: triggerOutputData,
11380
+ stepsList: execution.getStepsList().map((step) => step_default.fromResponse(step))
9143
11381
  });
9144
11382
  }
9145
- // Client side does not generate the exeuction, so there’s no toRequest() method
11383
+ // Client side does not generate the execution, so there’s no toRequest() method
9146
11384
  };
9147
11385
  var execution_default = Execution3;
9148
11386
 
@@ -9388,6 +11626,18 @@ var Client = class extends BaseClient {
9388
11626
  result: result.getItemsList().map((item) => workflow_default.fromListResponse(item))
9389
11627
  };
9390
11628
  }
11629
+ /**
11630
+ * Get the count of workflows for multiple addresses
11631
+ * @param addresses - The list of addresses
11632
+ * @param options - Request options
11633
+ * @returns {Promise<number>} - The count of workflows
11634
+ */
11635
+ async getWorkflowCount(addresses, options) {
11636
+ const request = new avs_pb21.GetWorkflowCountReq();
11637
+ request.setAddressesList(addresses);
11638
+ const result = await this.sendGrpcRequest("getWorkflowCount", request, options);
11639
+ return result.getTotal();
11640
+ }
9391
11641
  /**
9392
11642
  * Get the list of executions for multiple workflow given in the workflows argument.
9393
11643
  * @param {string[]} workflows - The list of workflow ids to fetch execution for
@@ -9425,6 +11675,18 @@ var Client = class extends BaseClient {
9425
11675
  const result = await this.sendGrpcRequest("getExecution", request, options);
9426
11676
  return execution_default.fromResponse(result);
9427
11677
  }
11678
+ /**
11679
+ * Get the count of executions for multiple workflows
11680
+ * @param workflowIds - The list of workflow ids
11681
+ * @param options - Request options
11682
+ * @returns {Promise<number>} - The count of executions
11683
+ */
11684
+ async getExecutionCount(workflowIds, options) {
11685
+ const request = new avs_pb21.GetExecutionCountReq();
11686
+ request.setWorkflowIdsList(workflowIds);
11687
+ const result = await this.sendGrpcRequest("getExecutionCount", request, options);
11688
+ return result.getTotal();
11689
+ }
9428
11690
  /**
9429
11691
  * Get status of an execution.
9430
11692
  *