@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.d.ts CHANGED
@@ -2,6 +2,8 @@ import * as grpc from '@grpc/grpc-js';
2
2
  import { Metadata } from '@grpc/grpc-js';
3
3
  import * as jspb from 'google-protobuf';
4
4
  import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
5
+ import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
6
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
5
7
  import * as google_protobuf_wrappers_pb from 'google-protobuf/google/protobuf/wrappers_pb';
6
8
  import { NodeType, GetKeyRequestApiKey, GetKeyResponse, GetKeyRequestSignature } from '@avaprotocol/types';
7
9
 
@@ -232,6 +234,28 @@ declare namespace ETHTransferNode$1 {
232
234
  destination: string,
233
235
  amount: string,
234
236
  }
237
+
238
+
239
+ export class Output extends jspb.Message {
240
+ getTransactionHash(): string;
241
+ setTransactionHash(value: string): Output;
242
+
243
+ serializeBinary(): Uint8Array;
244
+ toObject(includeInstance?: boolean): Output.AsObject;
245
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
246
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
247
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
248
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
249
+ static deserializeBinary(bytes: Uint8Array): Output;
250
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
251
+ }
252
+
253
+ export namespace Output {
254
+ export type AsObject = {
255
+ transactionHash: string,
256
+ }
257
+ }
258
+
235
259
  }
236
260
 
237
261
  declare class ContractWriteNode$1 extends jspb.Message {
@@ -258,6 +282,37 @@ declare namespace ContractWriteNode$1 {
258
282
  callData: string,
259
283
  contractAbi: string,
260
284
  }
285
+
286
+
287
+ export class Output extends jspb.Message {
288
+
289
+ hasUserOp(): boolean;
290
+ clearUserOp(): void;
291
+ getUserOp(): Evm.UserOp | undefined;
292
+ setUserOp(value?: Evm.UserOp): Output;
293
+
294
+ hasTxReceipt(): boolean;
295
+ clearTxReceipt(): void;
296
+ getTxReceipt(): Evm.TransactionReceipt | undefined;
297
+ setTxReceipt(value?: Evm.TransactionReceipt): Output;
298
+
299
+ serializeBinary(): Uint8Array;
300
+ toObject(includeInstance?: boolean): Output.AsObject;
301
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
302
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
303
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
304
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
305
+ static deserializeBinary(bytes: Uint8Array): Output;
306
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
307
+ }
308
+
309
+ export namespace Output {
310
+ export type AsObject = {
311
+ userOp?: Evm.UserOp.AsObject,
312
+ txReceipt?: Evm.TransactionReceipt.AsObject,
313
+ }
314
+ }
315
+
261
316
  }
262
317
 
263
318
  declare class ContractReadNode$1 extends jspb.Message {
@@ -284,6 +339,30 @@ declare namespace ContractReadNode$1 {
284
339
  callData: string,
285
340
  contractAbi: string,
286
341
  }
342
+
343
+
344
+ export class Output extends jspb.Message {
345
+ clearDataList(): void;
346
+ getDataList(): Array<google_protobuf_struct_pb.Value>;
347
+ setDataList(value: Array<google_protobuf_struct_pb.Value>): Output;
348
+ addData(value?: google_protobuf_struct_pb.Value, index?: number): google_protobuf_struct_pb.Value;
349
+
350
+ serializeBinary(): Uint8Array;
351
+ toObject(includeInstance?: boolean): Output.AsObject;
352
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
353
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
354
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
355
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
356
+ static deserializeBinary(bytes: Uint8Array): Output;
357
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
358
+ }
359
+
360
+ export namespace Output {
361
+ export type AsObject = {
362
+ dataList: Array<google_protobuf_struct_pb.Value.AsObject>,
363
+ }
364
+ }
365
+
287
366
  }
288
367
 
289
368
  declare class GraphQLQueryNode$1 extends jspb.Message {
@@ -312,6 +391,31 @@ declare namespace GraphQLQueryNode$1 {
312
391
 
313
392
  variablesMap: Array<[string, string]>,
314
393
  }
394
+
395
+
396
+ export class Output extends jspb.Message {
397
+
398
+ hasData(): boolean;
399
+ clearData(): void;
400
+ getData(): google_protobuf_any_pb.Any | undefined;
401
+ setData(value?: google_protobuf_any_pb.Any): Output;
402
+
403
+ serializeBinary(): Uint8Array;
404
+ toObject(includeInstance?: boolean): Output.AsObject;
405
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
406
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
407
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
408
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
409
+ static deserializeBinary(bytes: Uint8Array): Output;
410
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
411
+ }
412
+
413
+ export namespace Output {
414
+ export type AsObject = {
415
+ data?: google_protobuf_any_pb.Any.AsObject,
416
+ }
417
+ }
418
+
315
419
  }
316
420
 
317
421
  declare class RestAPINode$1 extends jspb.Message {
@@ -343,6 +447,31 @@ declare namespace RestAPINode$1 {
343
447
  body: string,
344
448
  method: string,
345
449
  }
450
+
451
+
452
+ export class Output extends jspb.Message {
453
+
454
+ hasData(): boolean;
455
+ clearData(): void;
456
+ getData(): google_protobuf_any_pb.Any | undefined;
457
+ setData(value?: google_protobuf_any_pb.Any): Output;
458
+
459
+ serializeBinary(): Uint8Array;
460
+ toObject(includeInstance?: boolean): Output.AsObject;
461
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
462
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
463
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
464
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
465
+ static deserializeBinary(bytes: Uint8Array): Output;
466
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
467
+ }
468
+
469
+ export namespace Output {
470
+ export type AsObject = {
471
+ data?: google_protobuf_any_pb.Any.AsObject,
472
+ }
473
+ }
474
+
346
475
  }
347
476
 
348
477
  declare class CustomCodeNode$1 extends jspb.Message {
@@ -366,6 +495,31 @@ declare namespace CustomCodeNode$1 {
366
495
  lang: CustomCodeLang,
367
496
  source: string,
368
497
  }
498
+
499
+
500
+ export class Output extends jspb.Message {
501
+
502
+ hasData(): boolean;
503
+ clearData(): void;
504
+ getData(): google_protobuf_any_pb.Any | undefined;
505
+ setData(value?: google_protobuf_any_pb.Any): Output;
506
+
507
+ serializeBinary(): Uint8Array;
508
+ toObject(includeInstance?: boolean): Output.AsObject;
509
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
510
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
511
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
512
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
513
+ static deserializeBinary(bytes: Uint8Array): Output;
514
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
515
+ }
516
+
517
+ export namespace Output {
518
+ export type AsObject = {
519
+ data?: google_protobuf_any_pb.Any.AsObject,
520
+ }
521
+ }
522
+
369
523
  }
370
524
 
371
525
  declare class Condition extends jspb.Message {
@@ -414,6 +568,28 @@ declare namespace BranchNode$1 {
414
568
  export type AsObject = {
415
569
  conditionsList: Array<Condition.AsObject>,
416
570
  }
571
+
572
+
573
+ export class Output extends jspb.Message {
574
+ getConditionId(): string;
575
+ setConditionId(value: string): Output;
576
+
577
+ serializeBinary(): Uint8Array;
578
+ toObject(includeInstance?: boolean): Output.AsObject;
579
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
580
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
581
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
582
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
583
+ static deserializeBinary(bytes: Uint8Array): Output;
584
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
585
+ }
586
+
587
+ export namespace Output {
588
+ export type AsObject = {
589
+ conditionId: string,
590
+ }
591
+ }
592
+
417
593
  }
418
594
 
419
595
  declare class FilterNode$1 extends jspb.Message {
@@ -437,6 +613,31 @@ declare namespace FilterNode$1 {
437
613
  expression: string,
438
614
  input: string,
439
615
  }
616
+
617
+
618
+ export class Output extends jspb.Message {
619
+
620
+ hasData(): boolean;
621
+ clearData(): void;
622
+ getData(): google_protobuf_any_pb.Any | undefined;
623
+ setData(value?: google_protobuf_any_pb.Any): Output;
624
+
625
+ serializeBinary(): Uint8Array;
626
+ toObject(includeInstance?: boolean): Output.AsObject;
627
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
628
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
629
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
630
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
631
+ static deserializeBinary(bytes: Uint8Array): Output;
632
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
633
+ }
634
+
635
+ export namespace Output {
636
+ export type AsObject = {
637
+ data?: google_protobuf_any_pb.Any.AsObject,
638
+ }
639
+ }
640
+
440
641
  }
441
642
 
442
643
  declare class LoopNode extends jspb.Message {
@@ -502,6 +703,28 @@ declare namespace LoopNode {
502
703
  customCode?: CustomCodeNode$1.AsObject,
503
704
  }
504
705
 
706
+
707
+ export class Output extends jspb.Message {
708
+ getData(): string;
709
+ setData(value: string): Output;
710
+
711
+ serializeBinary(): Uint8Array;
712
+ toObject(includeInstance?: boolean): Output.AsObject;
713
+ static toObject(includeInstance: boolean, msg: Output): Output.AsObject;
714
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
715
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
716
+ static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void;
717
+ static deserializeBinary(bytes: Uint8Array): Output;
718
+ static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output;
719
+ }
720
+
721
+ export namespace Output {
722
+ export type AsObject = {
723
+ data: string,
724
+ }
725
+ }
726
+
727
+
505
728
  export enum RunnerCase {
506
729
  RUNNER_NOT_SET = 0,
507
730
  ETH_TRANSFER = 10,
@@ -663,8 +886,8 @@ declare class Execution$1 extends jspb.Message {
663
886
 
664
887
  hasEvmLog(): boolean;
665
888
  clearEvmLog(): void;
666
- getEvmLog(): Execution$1.EvmLogOutput | undefined;
667
- setEvmLog(value?: Execution$1.EvmLogOutput): Execution$1;
889
+ getEvmLog(): Evm.Log | undefined;
890
+ setEvmLog(value?: Evm.Log): Execution$1;
668
891
 
669
892
  hasBlock(): boolean;
670
893
  clearBlock(): void;
@@ -699,7 +922,7 @@ declare namespace Execution$1 {
699
922
  stepsList: Array<Execution$1.Step.AsObject>,
700
923
  triggerName: string,
701
924
  transferLog?: Execution$1.TransferLogOutput.AsObject,
702
- evmLog?: Execution$1.EvmLogOutput.AsObject,
925
+ evmLog?: Evm.Log.AsObject,
703
926
  block?: Execution$1.BlockOutput.AsObject,
704
927
  time?: Execution$1.TimeOutput.AsObject,
705
928
  }
@@ -710,8 +933,51 @@ declare namespace Execution$1 {
710
933
  setNodeId(value: string): Step;
711
934
  getSuccess(): boolean;
712
935
  setSuccess(value: boolean): Step;
713
- getOutputData(): string;
714
- setOutputData(value: string): Step;
936
+
937
+ hasEthTransfer(): boolean;
938
+ clearEthTransfer(): void;
939
+ getEthTransfer(): ETHTransferNode$1.Output | undefined;
940
+ setEthTransfer(value?: ETHTransferNode$1.Output): Step;
941
+
942
+ hasGraphql(): boolean;
943
+ clearGraphql(): void;
944
+ getGraphql(): GraphQLQueryNode$1.Output | undefined;
945
+ setGraphql(value?: GraphQLQueryNode$1.Output): Step;
946
+
947
+ hasContractRead(): boolean;
948
+ clearContractRead(): void;
949
+ getContractRead(): ContractReadNode$1.Output | undefined;
950
+ setContractRead(value?: ContractReadNode$1.Output): Step;
951
+
952
+ hasContractWrite(): boolean;
953
+ clearContractWrite(): void;
954
+ getContractWrite(): ContractWriteNode$1.Output | undefined;
955
+ setContractWrite(value?: ContractWriteNode$1.Output): Step;
956
+
957
+ hasCustomCode(): boolean;
958
+ clearCustomCode(): void;
959
+ getCustomCode(): CustomCodeNode$1.Output | undefined;
960
+ setCustomCode(value?: CustomCodeNode$1.Output): Step;
961
+
962
+ hasRestApi(): boolean;
963
+ clearRestApi(): void;
964
+ getRestApi(): RestAPINode$1.Output | undefined;
965
+ setRestApi(value?: RestAPINode$1.Output): Step;
966
+
967
+ hasBranch(): boolean;
968
+ clearBranch(): void;
969
+ getBranch(): BranchNode$1.Output | undefined;
970
+ setBranch(value?: BranchNode$1.Output): Step;
971
+
972
+ hasFilter(): boolean;
973
+ clearFilter(): void;
974
+ getFilter(): FilterNode$1.Output | undefined;
975
+ setFilter(value?: FilterNode$1.Output): Step;
976
+
977
+ hasLoop(): boolean;
978
+ clearLoop(): void;
979
+ getLoop(): LoopNode.Output | undefined;
980
+ setLoop(value?: LoopNode.Output): Step;
715
981
  getLog(): string;
716
982
  setLog(value: string): Step;
717
983
  getError(): string;
@@ -725,6 +991,8 @@ declare namespace Execution$1 {
725
991
  setInputsList(value: Array<string>): Step;
726
992
  addInputs(value: string, index?: number): string;
727
993
 
994
+ getOutputDataCase(): Step.OutputDataCase;
995
+
728
996
  serializeBinary(): Uint8Array;
729
997
  toObject(includeInstance?: boolean): Step.AsObject;
730
998
  static toObject(includeInstance: boolean, msg: Step): Step.AsObject;
@@ -739,13 +1007,35 @@ declare namespace Execution$1 {
739
1007
  export type AsObject = {
740
1008
  nodeId: string,
741
1009
  success: boolean,
742
- outputData: string,
1010
+ ethTransfer?: ETHTransferNode$1.Output.AsObject,
1011
+ graphql?: GraphQLQueryNode$1.Output.AsObject,
1012
+ contractRead?: ContractReadNode$1.Output.AsObject,
1013
+ contractWrite?: ContractWriteNode$1.Output.AsObject,
1014
+ customCode?: CustomCodeNode$1.Output.AsObject,
1015
+ restApi?: RestAPINode$1.Output.AsObject,
1016
+ branch?: BranchNode$1.Output.AsObject,
1017
+ filter?: FilterNode$1.Output.AsObject,
1018
+ loop?: LoopNode.Output.AsObject,
743
1019
  log: string,
744
1020
  error: string,
745
1021
  startAt: number,
746
1022
  endAt: number,
747
1023
  inputsList: Array<string>,
748
1024
  }
1025
+
1026
+ export enum OutputDataCase {
1027
+ OUTPUT_DATA_NOT_SET = 0,
1028
+ ETH_TRANSFER = 3,
1029
+ GRAPHQL = 4,
1030
+ CONTRACT_READ = 5,
1031
+ CONTRACT_WRITE = 6,
1032
+ CUSTOM_CODE = 7,
1033
+ REST_API = 8,
1034
+ BRANCH = 9,
1035
+ FILTER = 10,
1036
+ LOOP = 11,
1037
+ }
1038
+
749
1039
  }
750
1040
 
751
1041
  export class TransferLogOutput extends jspb.Message {
@@ -801,49 +1091,6 @@ declare namespace Execution$1 {
801
1091
  }
802
1092
  }
803
1093
 
804
- export class EvmLogOutput extends jspb.Message {
805
- getAddress(): string;
806
- setAddress(value: string): EvmLogOutput;
807
- getBlockHash(): string;
808
- setBlockHash(value: string): EvmLogOutput;
809
- getBlockNumber(): number;
810
- setBlockNumber(value: number): EvmLogOutput;
811
- getData(): string;
812
- setData(value: string): EvmLogOutput;
813
- getIndex(): number;
814
- setIndex(value: number): EvmLogOutput;
815
- clearTopicsList(): void;
816
- getTopicsList(): Array<string>;
817
- setTopicsList(value: Array<string>): EvmLogOutput;
818
- addTopics(value: string, index?: number): string;
819
- getTransactionHash(): string;
820
- setTransactionHash(value: string): EvmLogOutput;
821
- getTransactionIndex(): number;
822
- setTransactionIndex(value: number): EvmLogOutput;
823
-
824
- serializeBinary(): Uint8Array;
825
- toObject(includeInstance?: boolean): EvmLogOutput.AsObject;
826
- static toObject(includeInstance: boolean, msg: EvmLogOutput): EvmLogOutput.AsObject;
827
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
828
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
829
- static serializeBinaryToWriter(message: EvmLogOutput, writer: jspb.BinaryWriter): void;
830
- static deserializeBinary(bytes: Uint8Array): EvmLogOutput;
831
- static deserializeBinaryFromReader(message: EvmLogOutput, reader: jspb.BinaryReader): EvmLogOutput;
832
- }
833
-
834
- export namespace EvmLogOutput {
835
- export type AsObject = {
836
- address: string,
837
- blockHash: string,
838
- blockNumber: number,
839
- data: string,
840
- index: number,
841
- topicsList: Array<string>,
842
- transactionHash: string,
843
- transactionIndex: number,
844
- }
845
- }
846
-
847
1094
  export class BlockOutput extends jspb.Message {
848
1095
  getBlockNumber(): number;
849
1096
  setBlockNumber(value: number): BlockOutput;
@@ -1697,6 +1944,278 @@ declare namespace DeleteSecretReq {
1697
1944
  }
1698
1945
  }
1699
1946
 
1947
+ declare class GetWorkflowCountReq extends jspb.Message {
1948
+ clearAddressesList(): void;
1949
+ getAddressesList(): Array<string>;
1950
+ setAddressesList(value: Array<string>): GetWorkflowCountReq;
1951
+ addAddresses(value: string, index?: number): string;
1952
+
1953
+ serializeBinary(): Uint8Array;
1954
+ toObject(includeInstance?: boolean): GetWorkflowCountReq.AsObject;
1955
+ static toObject(includeInstance: boolean, msg: GetWorkflowCountReq): GetWorkflowCountReq.AsObject;
1956
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1957
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1958
+ static serializeBinaryToWriter(message: GetWorkflowCountReq, writer: jspb.BinaryWriter): void;
1959
+ static deserializeBinary(bytes: Uint8Array): GetWorkflowCountReq;
1960
+ static deserializeBinaryFromReader(message: GetWorkflowCountReq, reader: jspb.BinaryReader): GetWorkflowCountReq;
1961
+ }
1962
+
1963
+ declare namespace GetWorkflowCountReq {
1964
+ export type AsObject = {
1965
+ addressesList: Array<string>,
1966
+ }
1967
+ }
1968
+
1969
+ declare class GetWorkflowCountResp extends jspb.Message {
1970
+ getTotal(): number;
1971
+ setTotal(value: number): GetWorkflowCountResp;
1972
+
1973
+ serializeBinary(): Uint8Array;
1974
+ toObject(includeInstance?: boolean): GetWorkflowCountResp.AsObject;
1975
+ static toObject(includeInstance: boolean, msg: GetWorkflowCountResp): GetWorkflowCountResp.AsObject;
1976
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1977
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1978
+ static serializeBinaryToWriter(message: GetWorkflowCountResp, writer: jspb.BinaryWriter): void;
1979
+ static deserializeBinary(bytes: Uint8Array): GetWorkflowCountResp;
1980
+ static deserializeBinaryFromReader(message: GetWorkflowCountResp, reader: jspb.BinaryReader): GetWorkflowCountResp;
1981
+ }
1982
+
1983
+ declare namespace GetWorkflowCountResp {
1984
+ export type AsObject = {
1985
+ total: number,
1986
+ }
1987
+ }
1988
+
1989
+ declare class GetExecutionCountReq extends jspb.Message {
1990
+ clearWorkflowIdsList(): void;
1991
+ getWorkflowIdsList(): Array<string>;
1992
+ setWorkflowIdsList(value: Array<string>): GetExecutionCountReq;
1993
+ addWorkflowIds(value: string, index?: number): string;
1994
+
1995
+ serializeBinary(): Uint8Array;
1996
+ toObject(includeInstance?: boolean): GetExecutionCountReq.AsObject;
1997
+ static toObject(includeInstance: boolean, msg: GetExecutionCountReq): GetExecutionCountReq.AsObject;
1998
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1999
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2000
+ static serializeBinaryToWriter(message: GetExecutionCountReq, writer: jspb.BinaryWriter): void;
2001
+ static deserializeBinary(bytes: Uint8Array): GetExecutionCountReq;
2002
+ static deserializeBinaryFromReader(message: GetExecutionCountReq, reader: jspb.BinaryReader): GetExecutionCountReq;
2003
+ }
2004
+
2005
+ declare namespace GetExecutionCountReq {
2006
+ export type AsObject = {
2007
+ workflowIdsList: Array<string>,
2008
+ }
2009
+ }
2010
+
2011
+ declare class GetExecutionCountResp extends jspb.Message {
2012
+ getTotal(): number;
2013
+ setTotal(value: number): GetExecutionCountResp;
2014
+
2015
+ serializeBinary(): Uint8Array;
2016
+ toObject(includeInstance?: boolean): GetExecutionCountResp.AsObject;
2017
+ static toObject(includeInstance: boolean, msg: GetExecutionCountResp): GetExecutionCountResp.AsObject;
2018
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2019
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2020
+ static serializeBinaryToWriter(message: GetExecutionCountResp, writer: jspb.BinaryWriter): void;
2021
+ static deserializeBinary(bytes: Uint8Array): GetExecutionCountResp;
2022
+ static deserializeBinaryFromReader(message: GetExecutionCountResp, reader: jspb.BinaryReader): GetExecutionCountResp;
2023
+ }
2024
+
2025
+ declare namespace GetExecutionCountResp {
2026
+ export type AsObject = {
2027
+ total: number,
2028
+ }
2029
+ }
2030
+
2031
+ declare class Evm extends jspb.Message {
2032
+
2033
+ serializeBinary(): Uint8Array;
2034
+ toObject(includeInstance?: boolean): Evm.AsObject;
2035
+ static toObject(includeInstance: boolean, msg: Evm): Evm.AsObject;
2036
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2037
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2038
+ static serializeBinaryToWriter(message: Evm, writer: jspb.BinaryWriter): void;
2039
+ static deserializeBinary(bytes: Uint8Array): Evm;
2040
+ static deserializeBinaryFromReader(message: Evm, reader: jspb.BinaryReader): Evm;
2041
+ }
2042
+
2043
+ declare namespace Evm {
2044
+ export type AsObject = {
2045
+ }
2046
+
2047
+
2048
+ export class Log extends jspb.Message {
2049
+ getAddress(): string;
2050
+ setAddress(value: string): Log;
2051
+ clearTopicsList(): void;
2052
+ getTopicsList(): Array<string>;
2053
+ setTopicsList(value: Array<string>): Log;
2054
+ addTopics(value: string, index?: number): string;
2055
+ getData(): string;
2056
+ setData(value: string): Log;
2057
+ getBlockNumber(): number;
2058
+ setBlockNumber(value: number): Log;
2059
+ getTransactionHash(): string;
2060
+ setTransactionHash(value: string): Log;
2061
+ getTransactionIndex(): number;
2062
+ setTransactionIndex(value: number): Log;
2063
+ getBlockHash(): string;
2064
+ setBlockHash(value: string): Log;
2065
+ getIndex(): number;
2066
+ setIndex(value: number): Log;
2067
+ getRemoved(): boolean;
2068
+ setRemoved(value: boolean): Log;
2069
+
2070
+ serializeBinary(): Uint8Array;
2071
+ toObject(includeInstance?: boolean): Log.AsObject;
2072
+ static toObject(includeInstance: boolean, msg: Log): Log.AsObject;
2073
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2074
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2075
+ static serializeBinaryToWriter(message: Log, writer: jspb.BinaryWriter): void;
2076
+ static deserializeBinary(bytes: Uint8Array): Log;
2077
+ static deserializeBinaryFromReader(message: Log, reader: jspb.BinaryReader): Log;
2078
+ }
2079
+
2080
+ export namespace Log {
2081
+ export type AsObject = {
2082
+ address: string,
2083
+ topicsList: Array<string>,
2084
+ data: string,
2085
+ blockNumber: number,
2086
+ transactionHash: string,
2087
+ transactionIndex: number,
2088
+ blockHash: string,
2089
+ index: number,
2090
+ removed: boolean,
2091
+ }
2092
+ }
2093
+
2094
+ export class TransactionReceipt extends jspb.Message {
2095
+ getHash(): string;
2096
+ setHash(value: string): TransactionReceipt;
2097
+ getBlockHash(): string;
2098
+ setBlockHash(value: string): TransactionReceipt;
2099
+ getBlockNumber(): number;
2100
+ setBlockNumber(value: number): TransactionReceipt;
2101
+ getFrom(): string;
2102
+ setFrom(value: string): TransactionReceipt;
2103
+ getGasUsed(): number;
2104
+ setGasUsed(value: number): TransactionReceipt;
2105
+ getGasPrice(): number;
2106
+ setGasPrice(value: number): TransactionReceipt;
2107
+ getCumulativeGasUsed(): number;
2108
+ setCumulativeGasUsed(value: number): TransactionReceipt;
2109
+ getFee(): number;
2110
+ setFee(value: number): TransactionReceipt;
2111
+ getContractAddress(): string;
2112
+ setContractAddress(value: string): TransactionReceipt;
2113
+ getIndex(): number;
2114
+ setIndex(value: number): TransactionReceipt;
2115
+ clearLogsList(): void;
2116
+ getLogsList(): Array<string>;
2117
+ setLogsList(value: Array<string>): TransactionReceipt;
2118
+ addLogs(value: string, index?: number): string;
2119
+ getLogsBloom(): string;
2120
+ setLogsBloom(value: string): TransactionReceipt;
2121
+ getRoot(): string;
2122
+ setRoot(value: string): TransactionReceipt;
2123
+ getStatus(): number;
2124
+ setStatus(value: number): TransactionReceipt;
2125
+ getType(): number;
2126
+ setType(value: number): TransactionReceipt;
2127
+ getBlobGasPrice(): number;
2128
+ setBlobGasPrice(value: number): TransactionReceipt;
2129
+ getBlobGasUsed(): number;
2130
+ setBlobGasUsed(value: number): TransactionReceipt;
2131
+ getTo(): string;
2132
+ setTo(value: string): TransactionReceipt;
2133
+
2134
+ serializeBinary(): Uint8Array;
2135
+ toObject(includeInstance?: boolean): TransactionReceipt.AsObject;
2136
+ static toObject(includeInstance: boolean, msg: TransactionReceipt): TransactionReceipt.AsObject;
2137
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2138
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2139
+ static serializeBinaryToWriter(message: TransactionReceipt, writer: jspb.BinaryWriter): void;
2140
+ static deserializeBinary(bytes: Uint8Array): TransactionReceipt;
2141
+ static deserializeBinaryFromReader(message: TransactionReceipt, reader: jspb.BinaryReader): TransactionReceipt;
2142
+ }
2143
+
2144
+ export namespace TransactionReceipt {
2145
+ export type AsObject = {
2146
+ hash: string,
2147
+ blockHash: string,
2148
+ blockNumber: number,
2149
+ from: string,
2150
+ gasUsed: number,
2151
+ gasPrice: number,
2152
+ cumulativeGasUsed: number,
2153
+ fee: number,
2154
+ contractAddress: string,
2155
+ index: number,
2156
+ logsList: Array<string>,
2157
+ logsBloom: string,
2158
+ root: string,
2159
+ status: number,
2160
+ type: number,
2161
+ blobGasPrice: number,
2162
+ blobGasUsed: number,
2163
+ to: string,
2164
+ }
2165
+ }
2166
+
2167
+ export class UserOp extends jspb.Message {
2168
+ getSender(): string;
2169
+ setSender(value: string): UserOp;
2170
+ getNonce(): string;
2171
+ setNonce(value: string): UserOp;
2172
+ getInitCode(): string;
2173
+ setInitCode(value: string): UserOp;
2174
+ getCallData(): string;
2175
+ setCallData(value: string): UserOp;
2176
+ getCallGasLimit(): string;
2177
+ setCallGasLimit(value: string): UserOp;
2178
+ getVerificationGasLimit(): string;
2179
+ setVerificationGasLimit(value: string): UserOp;
2180
+ getPreVerificationGas(): string;
2181
+ setPreVerificationGas(value: string): UserOp;
2182
+ getMaxFeePerGas(): string;
2183
+ setMaxFeePerGas(value: string): UserOp;
2184
+ getMaxPriorityFeePerGas(): string;
2185
+ setMaxPriorityFeePerGas(value: string): UserOp;
2186
+ getPaymasterAndData(): string;
2187
+ setPaymasterAndData(value: string): UserOp;
2188
+ getSignature(): string;
2189
+ setSignature(value: string): UserOp;
2190
+
2191
+ serializeBinary(): Uint8Array;
2192
+ toObject(includeInstance?: boolean): UserOp.AsObject;
2193
+ static toObject(includeInstance: boolean, msg: UserOp): UserOp.AsObject;
2194
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
2195
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
2196
+ static serializeBinaryToWriter(message: UserOp, writer: jspb.BinaryWriter): void;
2197
+ static deserializeBinary(bytes: Uint8Array): UserOp;
2198
+ static deserializeBinaryFromReader(message: UserOp, reader: jspb.BinaryReader): UserOp;
2199
+ }
2200
+
2201
+ export namespace UserOp {
2202
+ export type AsObject = {
2203
+ sender: string,
2204
+ nonce: string,
2205
+ initCode: string,
2206
+ callData: string,
2207
+ callGasLimit: string,
2208
+ verificationGasLimit: string,
2209
+ preVerificationGas: string,
2210
+ maxFeePerGas: string,
2211
+ maxPriorityFeePerGas: string,
2212
+ paymasterAndData: string,
2213
+ signature: string,
2214
+ }
2215
+ }
2216
+
2217
+ }
2218
+
1700
2219
  declare enum TaskStatus {
1701
2220
  ACTIVE = 0,
1702
2221
  COMPLETED = 1,
@@ -1771,6 +2290,12 @@ interface IAggregatorClient {
1771
2290
  updateSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
1772
2291
  updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
1773
2292
  updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
2293
+ getWorkflowCount(request: GetWorkflowCountReq, callback: (error: grpc.ServiceError | null, response: GetWorkflowCountResp) => void): grpc.ClientUnaryCall;
2294
+ getWorkflowCount(request: GetWorkflowCountReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: GetWorkflowCountResp) => void): grpc.ClientUnaryCall;
2295
+ getWorkflowCount(request: GetWorkflowCountReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: GetWorkflowCountResp) => void): grpc.ClientUnaryCall;
2296
+ getExecutionCount(request: GetExecutionCountReq, callback: (error: grpc.ServiceError | null, response: GetExecutionCountResp) => void): grpc.ClientUnaryCall;
2297
+ getExecutionCount(request: GetExecutionCountReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: GetExecutionCountResp) => void): grpc.ClientUnaryCall;
2298
+ getExecutionCount(request: GetExecutionCountReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: GetExecutionCountResp) => void): grpc.ClientUnaryCall;
1774
2299
  }
1775
2300
 
1776
2301
  declare class AggregatorClient extends grpc.Client implements IAggregatorClient {
@@ -1826,6 +2351,12 @@ declare class AggregatorClient extends grpc.Client implements IAggregatorClient
1826
2351
  public updateSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
1827
2352
  public updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
1828
2353
  public updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
2354
+ public getWorkflowCount(request: GetWorkflowCountReq, callback: (error: grpc.ServiceError | null, response: GetWorkflowCountResp) => void): grpc.ClientUnaryCall;
2355
+ public getWorkflowCount(request: GetWorkflowCountReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: GetWorkflowCountResp) => void): grpc.ClientUnaryCall;
2356
+ public getWorkflowCount(request: GetWorkflowCountReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: GetWorkflowCountResp) => void): grpc.ClientUnaryCall;
2357
+ public getExecutionCount(request: GetExecutionCountReq, callback: (error: grpc.ServiceError | null, response: GetExecutionCountResp) => void): grpc.ClientUnaryCall;
2358
+ public getExecutionCount(request: GetExecutionCountReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: GetExecutionCountResp) => void): grpc.ClientUnaryCall;
2359
+ public getExecutionCount(request: GetExecutionCountReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: GetExecutionCountResp) => void): grpc.ClientUnaryCall;
1829
2360
  }
1830
2361
 
1831
2362
  type NodeData = ETHTransferNode$1.AsObject | ContractWriteNode$1.AsObject | ContractReadNode$1.AsObject | GraphQLQueryNode$1.AsObject | RestAPINode$1.AsObject | BranchNode$1.AsObject | FilterNode$1.AsObject | LoopNode.AsObject | CustomCodeNode$1.AsObject;
@@ -2001,26 +2532,29 @@ declare class TriggerReason {
2001
2532
  toRequest(): TriggerReason$1;
2002
2533
  }
2003
2534
 
2004
- type StepProps = Execution$1.Step.AsObject;
2535
+ type StepProps = Execution$1.Step.AsObject & {
2536
+ output: OutputDataProps$1;
2537
+ };
2538
+ type OutputDataProps$1 = ETHTransferNode$1.Output.AsObject | GraphQLQueryNode$1.Output.AsObject | ContractReadNode$1.Output.AsObject | ContractWriteNode$1.Output.AsObject | CustomCodeNode$1.Output.AsObject | RestAPINode$1.Output.AsObject | BranchNode$1.Output.AsObject | FilterNode$1.Output.AsObject | LoopNode.Output.AsObject;
2005
2539
  declare class Step implements StepProps {
2006
2540
  nodeId: string;
2007
2541
  success: boolean;
2008
- outputData: string;
2009
2542
  log: string;
2010
2543
  error: string;
2011
2544
  startAt: number;
2012
2545
  endAt: number;
2013
2546
  inputsList: string[];
2547
+ output: OutputDataProps$1;
2014
2548
  constructor(props: StepProps);
2549
+ static getOutput(step: Execution$1.Step): OutputDataProps$1;
2015
2550
  static fromResponse(step: Execution$1.Step): Step;
2016
- toRequest(): Execution$1.Step;
2017
2551
  }
2018
2552
 
2019
- type OutputDataProps = Execution$1.EvmLogOutput.AsObject | Execution$1.TransferLogOutput.AsObject | Execution$1.BlockOutput.AsObject | Execution$1.TimeOutput.AsObject | undefined;
2553
+ type OutputDataProps = Execution$1.TransferLogOutput.AsObject | Execution$1.BlockOutput.AsObject | Execution$1.TimeOutput.AsObject | Evm.Log.AsObject | undefined;
2020
2554
  type ExecutionProps = Omit<Execution$1.AsObject, "stepsList" | "reason" | "transferLog" | "evmLog" | "block" | "time"> & {
2021
2555
  stepsList: Step[];
2022
2556
  triggerReason: TriggerReason | undefined;
2023
- outputData: OutputDataProps;
2557
+ triggerOutput: OutputDataProps;
2024
2558
  };
2025
2559
  declare class Execution implements ExecutionProps {
2026
2560
  id: string;
@@ -2031,7 +2565,7 @@ declare class Execution implements ExecutionProps {
2031
2565
  stepsList: Step[];
2032
2566
  triggerReason: TriggerReason | undefined;
2033
2567
  triggerName: string;
2034
- outputData: OutputDataProps;
2568
+ triggerOutput: OutputDataProps;
2035
2569
  constructor(props: ExecutionProps);
2036
2570
  static fromResponse(execution: Execution$1): Execution;
2037
2571
  }
@@ -2293,6 +2827,13 @@ declare class Client extends BaseClient {
2293
2827
  result: Workflow[];
2294
2828
  hasMore: boolean;
2295
2829
  }>;
2830
+ /**
2831
+ * Get the count of workflows for multiple addresses
2832
+ * @param addresses - The list of addresses
2833
+ * @param options - Request options
2834
+ * @returns {Promise<number>} - The count of workflows
2835
+ */
2836
+ getWorkflowCount(addresses: string[], options?: RequestOptions): Promise<number>;
2296
2837
  /**
2297
2838
  * Get the list of executions for multiple workflow given in the workflows argument.
2298
2839
  * @param {string[]} workflows - The list of workflow ids to fetch execution for
@@ -2315,6 +2856,13 @@ declare class Client extends BaseClient {
2315
2856
  * @returns {Promise<Execution>} - The result execution if it is existed
2316
2857
  */
2317
2858
  getExecution(taskId: string, executionId: string, options?: RequestOptions): Promise<Execution>;
2859
+ /**
2860
+ * Get the count of executions for multiple workflows
2861
+ * @param workflowIds - The list of workflow ids
2862
+ * @param options - Request options
2863
+ * @returns {Promise<number>} - The count of executions
2864
+ */
2865
+ getExecutionCount(workflowIds: string[], options?: RequestOptions): Promise<number>;
2318
2866
  /**
2319
2867
  * Get status of an execution.
2320
2868
  *