@avaprotocol/sdk-js 1.3.6 → 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/CHANGELOG.md +70 -0
- package/README.md +122 -0
- package/dist/index.d.mts +788 -46
- package/dist/index.d.ts +788 -46
- package/dist/index.js +5301 -2117
- package/dist/index.mjs +5298 -2116
- package/package.json +2 -1
package/dist/index.d.mts
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,
|
|
@@ -645,16 +868,38 @@ declare class Execution$1 extends jspb.Message {
|
|
|
645
868
|
getError(): string;
|
|
646
869
|
setError(value: string): Execution$1;
|
|
647
870
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
getResult(): string;
|
|
653
|
-
setResult(value: string): Execution$1;
|
|
871
|
+
hasReason(): boolean;
|
|
872
|
+
clearReason(): void;
|
|
873
|
+
getReason(): TriggerReason$1 | undefined;
|
|
874
|
+
setReason(value?: TriggerReason$1): Execution$1;
|
|
654
875
|
clearStepsList(): void;
|
|
655
876
|
getStepsList(): Array<Execution$1.Step>;
|
|
656
877
|
setStepsList(value: Array<Execution$1.Step>): Execution$1;
|
|
657
878
|
addSteps(value?: Execution$1.Step, index?: number): Execution$1.Step;
|
|
879
|
+
getTriggerName(): string;
|
|
880
|
+
setTriggerName(value: string): Execution$1;
|
|
881
|
+
|
|
882
|
+
hasTransferLog(): boolean;
|
|
883
|
+
clearTransferLog(): void;
|
|
884
|
+
getTransferLog(): Execution$1.TransferLogOutput | undefined;
|
|
885
|
+
setTransferLog(value?: Execution$1.TransferLogOutput): Execution$1;
|
|
886
|
+
|
|
887
|
+
hasEvmLog(): boolean;
|
|
888
|
+
clearEvmLog(): void;
|
|
889
|
+
getEvmLog(): Evm.Log | undefined;
|
|
890
|
+
setEvmLog(value?: Evm.Log): Execution$1;
|
|
891
|
+
|
|
892
|
+
hasBlock(): boolean;
|
|
893
|
+
clearBlock(): void;
|
|
894
|
+
getBlock(): Execution$1.BlockOutput | undefined;
|
|
895
|
+
setBlock(value?: Execution$1.BlockOutput): Execution$1;
|
|
896
|
+
|
|
897
|
+
hasTime(): boolean;
|
|
898
|
+
clearTime(): void;
|
|
899
|
+
getTime(): Execution$1.TimeOutput | undefined;
|
|
900
|
+
setTime(value?: Execution$1.TimeOutput): Execution$1;
|
|
901
|
+
|
|
902
|
+
getOutputDataCase(): Execution$1.OutputDataCase;
|
|
658
903
|
|
|
659
904
|
serializeBinary(): Uint8Array;
|
|
660
905
|
toObject(includeInstance?: boolean): Execution$1.AsObject;
|
|
@@ -673,9 +918,13 @@ declare namespace Execution$1 {
|
|
|
673
918
|
endAt: number,
|
|
674
919
|
success: boolean,
|
|
675
920
|
error: string,
|
|
676
|
-
|
|
677
|
-
result: string,
|
|
921
|
+
reason?: TriggerReason$1.AsObject,
|
|
678
922
|
stepsList: Array<Execution$1.Step.AsObject>,
|
|
923
|
+
triggerName: string,
|
|
924
|
+
transferLog?: Execution$1.TransferLogOutput.AsObject,
|
|
925
|
+
evmLog?: Evm.Log.AsObject,
|
|
926
|
+
block?: Execution$1.BlockOutput.AsObject,
|
|
927
|
+
time?: Execution$1.TimeOutput.AsObject,
|
|
679
928
|
}
|
|
680
929
|
|
|
681
930
|
|
|
@@ -684,8 +933,51 @@ declare namespace Execution$1 {
|
|
|
684
933
|
setNodeId(value: string): Step;
|
|
685
934
|
getSuccess(): boolean;
|
|
686
935
|
setSuccess(value: boolean): Step;
|
|
687
|
-
|
|
688
|
-
|
|
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;
|
|
689
981
|
getLog(): string;
|
|
690
982
|
setLog(value: string): Step;
|
|
691
983
|
getError(): string;
|
|
@@ -694,6 +986,12 @@ declare namespace Execution$1 {
|
|
|
694
986
|
setStartAt(value: number): Step;
|
|
695
987
|
getEndAt(): number;
|
|
696
988
|
setEndAt(value: number): Step;
|
|
989
|
+
clearInputsList(): void;
|
|
990
|
+
getInputsList(): Array<string>;
|
|
991
|
+
setInputsList(value: Array<string>): Step;
|
|
992
|
+
addInputs(value: string, index?: number): string;
|
|
993
|
+
|
|
994
|
+
getOutputDataCase(): Step.OutputDataCase;
|
|
697
995
|
|
|
698
996
|
serializeBinary(): Uint8Array;
|
|
699
997
|
toObject(includeInstance?: boolean): Step.AsObject;
|
|
@@ -709,12 +1007,137 @@ declare namespace Execution$1 {
|
|
|
709
1007
|
export type AsObject = {
|
|
710
1008
|
nodeId: string,
|
|
711
1009
|
success: boolean,
|
|
712
|
-
|
|
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,
|
|
713
1019
|
log: string,
|
|
714
1020
|
error: string,
|
|
715
1021
|
startAt: number,
|
|
716
1022
|
endAt: number,
|
|
1023
|
+
inputsList: Array<string>,
|
|
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,
|
|
717
1037
|
}
|
|
1038
|
+
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export class TransferLogOutput extends jspb.Message {
|
|
1042
|
+
getTokenName(): string;
|
|
1043
|
+
setTokenName(value: string): TransferLogOutput;
|
|
1044
|
+
getTokenSymbol(): string;
|
|
1045
|
+
setTokenSymbol(value: string): TransferLogOutput;
|
|
1046
|
+
getTokenDecimals(): number;
|
|
1047
|
+
setTokenDecimals(value: number): TransferLogOutput;
|
|
1048
|
+
getTransactionHash(): string;
|
|
1049
|
+
setTransactionHash(value: string): TransferLogOutput;
|
|
1050
|
+
getAddress(): string;
|
|
1051
|
+
setAddress(value: string): TransferLogOutput;
|
|
1052
|
+
getBlockNumber(): number;
|
|
1053
|
+
setBlockNumber(value: number): TransferLogOutput;
|
|
1054
|
+
getBlockTimestamp(): number;
|
|
1055
|
+
setBlockTimestamp(value: number): TransferLogOutput;
|
|
1056
|
+
getFromAddress(): string;
|
|
1057
|
+
setFromAddress(value: string): TransferLogOutput;
|
|
1058
|
+
getToAddress(): string;
|
|
1059
|
+
setToAddress(value: string): TransferLogOutput;
|
|
1060
|
+
getValue(): string;
|
|
1061
|
+
setValue(value: string): TransferLogOutput;
|
|
1062
|
+
getValueFormatted(): string;
|
|
1063
|
+
setValueFormatted(value: string): TransferLogOutput;
|
|
1064
|
+
getTransactionIndex(): number;
|
|
1065
|
+
setTransactionIndex(value: number): TransferLogOutput;
|
|
1066
|
+
|
|
1067
|
+
serializeBinary(): Uint8Array;
|
|
1068
|
+
toObject(includeInstance?: boolean): TransferLogOutput.AsObject;
|
|
1069
|
+
static toObject(includeInstance: boolean, msg: TransferLogOutput): TransferLogOutput.AsObject;
|
|
1070
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1071
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1072
|
+
static serializeBinaryToWriter(message: TransferLogOutput, writer: jspb.BinaryWriter): void;
|
|
1073
|
+
static deserializeBinary(bytes: Uint8Array): TransferLogOutput;
|
|
1074
|
+
static deserializeBinaryFromReader(message: TransferLogOutput, reader: jspb.BinaryReader): TransferLogOutput;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
export namespace TransferLogOutput {
|
|
1078
|
+
export type AsObject = {
|
|
1079
|
+
tokenName: string,
|
|
1080
|
+
tokenSymbol: string,
|
|
1081
|
+
tokenDecimals: number,
|
|
1082
|
+
transactionHash: string,
|
|
1083
|
+
address: string,
|
|
1084
|
+
blockNumber: number,
|
|
1085
|
+
blockTimestamp: number,
|
|
1086
|
+
fromAddress: string,
|
|
1087
|
+
toAddress: string,
|
|
1088
|
+
value: string,
|
|
1089
|
+
valueFormatted: string,
|
|
1090
|
+
transactionIndex: number,
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export class BlockOutput extends jspb.Message {
|
|
1095
|
+
getBlockNumber(): number;
|
|
1096
|
+
setBlockNumber(value: number): BlockOutput;
|
|
1097
|
+
|
|
1098
|
+
serializeBinary(): Uint8Array;
|
|
1099
|
+
toObject(includeInstance?: boolean): BlockOutput.AsObject;
|
|
1100
|
+
static toObject(includeInstance: boolean, msg: BlockOutput): BlockOutput.AsObject;
|
|
1101
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1102
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1103
|
+
static serializeBinaryToWriter(message: BlockOutput, writer: jspb.BinaryWriter): void;
|
|
1104
|
+
static deserializeBinary(bytes: Uint8Array): BlockOutput;
|
|
1105
|
+
static deserializeBinaryFromReader(message: BlockOutput, reader: jspb.BinaryReader): BlockOutput;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export namespace BlockOutput {
|
|
1109
|
+
export type AsObject = {
|
|
1110
|
+
blockNumber: number,
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
export class TimeOutput extends jspb.Message {
|
|
1115
|
+
getEpoch(): number;
|
|
1116
|
+
setEpoch(value: number): TimeOutput;
|
|
1117
|
+
|
|
1118
|
+
serializeBinary(): Uint8Array;
|
|
1119
|
+
toObject(includeInstance?: boolean): TimeOutput.AsObject;
|
|
1120
|
+
static toObject(includeInstance: boolean, msg: TimeOutput): TimeOutput.AsObject;
|
|
1121
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1122
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1123
|
+
static serializeBinaryToWriter(message: TimeOutput, writer: jspb.BinaryWriter): void;
|
|
1124
|
+
static deserializeBinary(bytes: Uint8Array): TimeOutput;
|
|
1125
|
+
static deserializeBinaryFromReader(message: TimeOutput, reader: jspb.BinaryReader): TimeOutput;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
export namespace TimeOutput {
|
|
1129
|
+
export type AsObject = {
|
|
1130
|
+
epoch: number,
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
export enum OutputDataCase {
|
|
1136
|
+
OUTPUT_DATA_NOT_SET = 0,
|
|
1137
|
+
TRANSFER_LOG = 10,
|
|
1138
|
+
EVM_LOG = 11,
|
|
1139
|
+
BLOCK = 12,
|
|
1140
|
+
TIME = 13,
|
|
718
1141
|
}
|
|
719
1142
|
|
|
720
1143
|
}
|
|
@@ -1235,35 +1658,35 @@ declare namespace KeyResp {
|
|
|
1235
1658
|
}
|
|
1236
1659
|
}
|
|
1237
1660
|
|
|
1238
|
-
declare class
|
|
1661
|
+
declare class TriggerReason$1 extends jspb.Message {
|
|
1239
1662
|
getBlockNumber(): number;
|
|
1240
|
-
setBlockNumber(value: number):
|
|
1663
|
+
setBlockNumber(value: number): TriggerReason$1;
|
|
1241
1664
|
getLogIndex(): number;
|
|
1242
|
-
setLogIndex(value: number):
|
|
1665
|
+
setLogIndex(value: number): TriggerReason$1;
|
|
1243
1666
|
getTxHash(): string;
|
|
1244
|
-
setTxHash(value: string):
|
|
1667
|
+
setTxHash(value: string): TriggerReason$1;
|
|
1245
1668
|
getEpoch(): number;
|
|
1246
|
-
setEpoch(value: number):
|
|
1247
|
-
getType():
|
|
1248
|
-
setType(value:
|
|
1669
|
+
setEpoch(value: number): TriggerReason$1;
|
|
1670
|
+
getType(): TriggerReason$1.TriggerType;
|
|
1671
|
+
setType(value: TriggerReason$1.TriggerType): TriggerReason$1;
|
|
1249
1672
|
|
|
1250
1673
|
serializeBinary(): Uint8Array;
|
|
1251
|
-
toObject(includeInstance?: boolean):
|
|
1252
|
-
static toObject(includeInstance: boolean, msg:
|
|
1674
|
+
toObject(includeInstance?: boolean): TriggerReason$1.AsObject;
|
|
1675
|
+
static toObject(includeInstance: boolean, msg: TriggerReason$1): TriggerReason$1.AsObject;
|
|
1253
1676
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1254
1677
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1255
|
-
static serializeBinaryToWriter(message:
|
|
1256
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
1257
|
-
static deserializeBinaryFromReader(message:
|
|
1678
|
+
static serializeBinaryToWriter(message: TriggerReason$1, writer: jspb.BinaryWriter): void;
|
|
1679
|
+
static deserializeBinary(bytes: Uint8Array): TriggerReason$1;
|
|
1680
|
+
static deserializeBinaryFromReader(message: TriggerReason$1, reader: jspb.BinaryReader): TriggerReason$1;
|
|
1258
1681
|
}
|
|
1259
1682
|
|
|
1260
|
-
declare namespace
|
|
1683
|
+
declare namespace TriggerReason$1 {
|
|
1261
1684
|
export type AsObject = {
|
|
1262
1685
|
blockNumber: number,
|
|
1263
1686
|
logIndex: number,
|
|
1264
1687
|
txHash: string,
|
|
1265
1688
|
epoch: number,
|
|
1266
|
-
type:
|
|
1689
|
+
type: TriggerReason$1.TriggerType,
|
|
1267
1690
|
}
|
|
1268
1691
|
|
|
1269
1692
|
export enum TriggerType {
|
|
@@ -1345,10 +1768,10 @@ declare class UserTriggerTaskReq extends jspb.Message {
|
|
|
1345
1768
|
getTaskId(): string;
|
|
1346
1769
|
setTaskId(value: string): UserTriggerTaskReq;
|
|
1347
1770
|
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1771
|
+
hasReason(): boolean;
|
|
1772
|
+
clearReason(): void;
|
|
1773
|
+
getReason(): TriggerReason$1 | undefined;
|
|
1774
|
+
setReason(value?: TriggerReason$1): UserTriggerTaskReq;
|
|
1352
1775
|
getIsBlocking(): boolean;
|
|
1353
1776
|
setIsBlocking(value: boolean): UserTriggerTaskReq;
|
|
1354
1777
|
|
|
@@ -1365,7 +1788,7 @@ declare class UserTriggerTaskReq extends jspb.Message {
|
|
|
1365
1788
|
declare namespace UserTriggerTaskReq {
|
|
1366
1789
|
export type AsObject = {
|
|
1367
1790
|
taskId: string,
|
|
1368
|
-
|
|
1791
|
+
reason?: TriggerReason$1.AsObject,
|
|
1369
1792
|
isBlocking: boolean,
|
|
1370
1793
|
}
|
|
1371
1794
|
}
|
|
@@ -1521,6 +1944,278 @@ declare namespace DeleteSecretReq {
|
|
|
1521
1944
|
}
|
|
1522
1945
|
}
|
|
1523
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
|
+
|
|
1524
2219
|
declare enum TaskStatus {
|
|
1525
2220
|
ACTIVE = 0,
|
|
1526
2221
|
COMPLETED = 1,
|
|
@@ -1595,6 +2290,12 @@ interface IAggregatorClient {
|
|
|
1595
2290
|
updateSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1596
2291
|
updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1597
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;
|
|
1598
2299
|
}
|
|
1599
2300
|
|
|
1600
2301
|
declare class AggregatorClient extends grpc.Client implements IAggregatorClient {
|
|
@@ -1650,6 +2351,12 @@ declare class AggregatorClient extends grpc.Client implements IAggregatorClient
|
|
|
1650
2351
|
public updateSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1651
2352
|
public updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1652
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;
|
|
1653
2360
|
}
|
|
1654
2361
|
|
|
1655
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;
|
|
@@ -1795,7 +2502,7 @@ declare class Workflow implements WorkflowProps {
|
|
|
1795
2502
|
toRequest(): CreateTaskReq;
|
|
1796
2503
|
}
|
|
1797
2504
|
|
|
1798
|
-
type
|
|
2505
|
+
type TriggerReasonProps = {
|
|
1799
2506
|
type: TriggerType.FixedTime;
|
|
1800
2507
|
epoch: number;
|
|
1801
2508
|
} | {
|
|
@@ -1814,34 +2521,40 @@ type TriggerMetadataProps = {
|
|
|
1814
2521
|
} | {
|
|
1815
2522
|
type: TriggerType.Unset;
|
|
1816
2523
|
};
|
|
1817
|
-
declare class
|
|
2524
|
+
declare class TriggerReason {
|
|
1818
2525
|
type: TriggerType;
|
|
1819
2526
|
blockNumber?: number;
|
|
1820
2527
|
epoch?: number;
|
|
1821
2528
|
logIndex?: number;
|
|
1822
2529
|
txHash?: string;
|
|
1823
|
-
constructor(props:
|
|
1824
|
-
static fromResponse(data:
|
|
1825
|
-
toRequest():
|
|
2530
|
+
constructor(props: TriggerReasonProps);
|
|
2531
|
+
static fromResponse(data: TriggerReason$1 | undefined): TriggerReason | undefined;
|
|
2532
|
+
toRequest(): TriggerReason$1;
|
|
1826
2533
|
}
|
|
1827
2534
|
|
|
1828
|
-
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;
|
|
1829
2539
|
declare class Step implements StepProps {
|
|
1830
2540
|
nodeId: string;
|
|
1831
2541
|
success: boolean;
|
|
1832
|
-
outputData: string;
|
|
1833
2542
|
log: string;
|
|
1834
2543
|
error: string;
|
|
1835
2544
|
startAt: number;
|
|
1836
2545
|
endAt: number;
|
|
2546
|
+
inputsList: string[];
|
|
2547
|
+
output: OutputDataProps$1;
|
|
1837
2548
|
constructor(props: StepProps);
|
|
2549
|
+
static getOutput(step: Execution$1.Step): OutputDataProps$1;
|
|
1838
2550
|
static fromResponse(step: Execution$1.Step): Step;
|
|
1839
|
-
toRequest(): Execution$1.Step;
|
|
1840
2551
|
}
|
|
1841
2552
|
|
|
1842
|
-
type
|
|
2553
|
+
type OutputDataProps = Execution$1.TransferLogOutput.AsObject | Execution$1.BlockOutput.AsObject | Execution$1.TimeOutput.AsObject | Evm.Log.AsObject | undefined;
|
|
2554
|
+
type ExecutionProps = Omit<Execution$1.AsObject, "stepsList" | "reason" | "transferLog" | "evmLog" | "block" | "time"> & {
|
|
1843
2555
|
stepsList: Step[];
|
|
1844
|
-
|
|
2556
|
+
triggerReason: TriggerReason | undefined;
|
|
2557
|
+
triggerOutput: OutputDataProps;
|
|
1845
2558
|
};
|
|
1846
2559
|
declare class Execution implements ExecutionProps {
|
|
1847
2560
|
id: string;
|
|
@@ -1849,12 +2562,12 @@ declare class Execution implements ExecutionProps {
|
|
|
1849
2562
|
endAt: number;
|
|
1850
2563
|
success: boolean;
|
|
1851
2564
|
error: string;
|
|
1852
|
-
triggerMetadata: TriggerMetadata | undefined;
|
|
1853
|
-
result: string;
|
|
1854
2565
|
stepsList: Step[];
|
|
2566
|
+
triggerReason: TriggerReason | undefined;
|
|
2567
|
+
triggerName: string;
|
|
2568
|
+
triggerOutput: OutputDataProps;
|
|
1855
2569
|
constructor(props: ExecutionProps);
|
|
1856
2570
|
static fromResponse(execution: Execution$1): Execution;
|
|
1857
|
-
toRequest(): Execution$1;
|
|
1858
2571
|
}
|
|
1859
2572
|
|
|
1860
2573
|
type ContractWriteNodeData = ContractWriteNode$1.AsObject;
|
|
@@ -1999,6 +2712,21 @@ declare class TriggerFactory {
|
|
|
1999
2712
|
static fromResponse(raw: TaskTrigger): Trigger;
|
|
2000
2713
|
}
|
|
2001
2714
|
|
|
2715
|
+
type SecretProps = {
|
|
2716
|
+
name: string;
|
|
2717
|
+
secret: string;
|
|
2718
|
+
workflowId?: string;
|
|
2719
|
+
orgId?: string;
|
|
2720
|
+
};
|
|
2721
|
+
declare class Secret implements SecretProps {
|
|
2722
|
+
name: string;
|
|
2723
|
+
secret: string;
|
|
2724
|
+
workflowId?: string;
|
|
2725
|
+
orgId?: string;
|
|
2726
|
+
constructor(props: SecretProps);
|
|
2727
|
+
toRequest(): CreateOrUpdateSecretReq;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2002
2730
|
declare class BaseClient {
|
|
2003
2731
|
readonly endpoint: string;
|
|
2004
2732
|
readonly rpcClient: AggregatorClient;
|
|
@@ -2099,6 +2827,13 @@ declare class Client extends BaseClient {
|
|
|
2099
2827
|
result: Workflow[];
|
|
2100
2828
|
hasMore: boolean;
|
|
2101
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>;
|
|
2102
2837
|
/**
|
|
2103
2838
|
* Get the list of executions for multiple workflow given in the workflows argument.
|
|
2104
2839
|
* @param {string[]} workflows - The list of workflow ids to fetch execution for
|
|
@@ -2121,6 +2856,13 @@ declare class Client extends BaseClient {
|
|
|
2121
2856
|
* @returns {Promise<Execution>} - The result execution if it is existed
|
|
2122
2857
|
*/
|
|
2123
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>;
|
|
2124
2866
|
/**
|
|
2125
2867
|
* Get status of an execution.
|
|
2126
2868
|
*
|
|
@@ -2147,9 +2889,9 @@ declare class Client extends BaseClient {
|
|
|
2147
2889
|
* @param options - Request options
|
|
2148
2890
|
* @returns {Promise<avs_pb.UserTriggerTaskResp>} - The response from the trigger workflow call
|
|
2149
2891
|
*/
|
|
2150
|
-
triggerWorkflow({ id,
|
|
2892
|
+
triggerWorkflow({ id, reason, isBlocking, }: {
|
|
2151
2893
|
id: string;
|
|
2152
|
-
|
|
2894
|
+
reason: TriggerReasonProps;
|
|
2153
2895
|
isBlocking: boolean;
|
|
2154
2896
|
}, options?: RequestOptions): Promise<UserTriggerTaskResp.AsObject>;
|
|
2155
2897
|
/**
|
|
@@ -2192,4 +2934,4 @@ declare class Client extends BaseClient {
|
|
|
2192
2934
|
deleteSecret(name: string, options?: SecretRequestOptions): Promise<boolean>;
|
|
2193
2935
|
}
|
|
2194
2936
|
|
|
2195
|
-
export { AUTH_KEY_HEADER, BlockTrigger, type BlockTriggerDataType, type BlockTriggerProps, BranchNode, type BranchNodeData, type BranchNodeProps, type ClientOption, ContractReadNode, type ContractReadNodeData, type ContractReadNodeProps, ContractWriteNode, type ContractWriteNodeData, type ContractWriteNodeProps, CronTrigger, type CronTriggerDataType, type CronTriggerProps, CustomCodeLangs, CustomCodeNode, type CustomCodeNodeData, type CustomCodeNodeProps, DEFAULT_LIMIT, ETHTransferNode, type ETHTransferNodeData, type ETHTransferNodeProps, Edge, type EdgeProps, type Environment, EventTrigger, type EventTriggerDataType, type EventTriggerProps, Execution, type ExecutionProps, ExecutionStatus, FilterNode, type FilterNodeData, type FilterNodeProps, FixedTimeTrigger, type FixedTimeTriggerDataType, type FixedTimeTriggerProps, type GetExecutionsRequest, type GetWalletRequest, type GetWorkflowsRequest, GraphQLQueryNode, type GraphQLQueryNodeData, type GraphQLQueryNodeProps, type ListSecretResponse, Node, NodeFactory, type NodeProps, type RequestOptions, RestAPINode, type RestAPINodeData, type RestAPINodeProps, type SecretRequestOptions, type SmartWallet, Step, type StepProps, Trigger, TriggerFactory,
|
|
2937
|
+
export { AUTH_KEY_HEADER, BlockTrigger, type BlockTriggerDataType, type BlockTriggerProps, BranchNode, type BranchNodeData, type BranchNodeProps, Client, type ClientOption, ContractReadNode, type ContractReadNodeData, type ContractReadNodeProps, ContractWriteNode, type ContractWriteNodeData, type ContractWriteNodeProps, CronTrigger, type CronTriggerDataType, type CronTriggerProps, CustomCodeLangs, CustomCodeNode, type CustomCodeNodeData, type CustomCodeNodeProps, DEFAULT_LIMIT, ETHTransferNode, type ETHTransferNodeData, type ETHTransferNodeProps, Edge, type EdgeProps, type Environment, EventTrigger, type EventTriggerDataType, type EventTriggerProps, Execution, type ExecutionProps, ExecutionStatus, FilterNode, type FilterNodeData, type FilterNodeProps, FixedTimeTrigger, type FixedTimeTriggerDataType, type FixedTimeTriggerProps, type GetExecutionsRequest, type GetWalletRequest, type GetWorkflowsRequest, GraphQLQueryNode, type GraphQLQueryNodeData, type GraphQLQueryNodeProps, type ListSecretResponse, Node, NodeFactory, type NodeProps, type OutputDataProps, type RequestOptions, RestAPINode, type RestAPINodeData, type RestAPINodeProps, Secret, type SecretProps, type SecretRequestOptions, type SmartWallet, Step, type StepProps, Trigger, TriggerFactory, type TriggerProps, TriggerReason, type TriggerReasonProps, TriggerType, Workflow, type WorkflowProps, WorkflowStatus };
|