@avaprotocol/sdk-js 1.3.8 → 1.5.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 +81 -0
- package/README.md +122 -0
- package/dist/auth.d.ts +2 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +10 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +19 -0
- package/dist/index.d.ts +72 -2216
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3831 -801
- package/dist/index.mjs +3828 -793
- package/dist/models/edge.d.ts +12 -0
- package/dist/models/edge.d.ts.map +1 -0
- package/dist/models/edge.js +19 -0
- package/dist/models/execution.d.ts +25 -0
- package/dist/models/execution.d.ts.map +1 -0
- package/dist/models/execution.js +48 -0
- package/dist/models/node/branch.d.ts +14 -0
- package/dist/models/node/branch.d.ts.map +1 -0
- package/dist/models/node/branch.js +33 -0
- package/dist/models/node/contractRead.d.ts +14 -0
- package/dist/models/node/contractRead.d.ts.map +1 -0
- package/dist/models/node/contractRead.js +29 -0
- package/dist/models/node/contractWrite.d.ts +14 -0
- package/dist/models/node/contractWrite.d.ts.map +1 -0
- package/dist/models/node/contractWrite.js +29 -0
- package/dist/models/node/customCode.d.ts +15 -0
- package/dist/models/node/customCode.d.ts.map +1 -0
- package/dist/models/node/customCode.js +29 -0
- package/dist/models/node/ethTransfer.d.ts +14 -0
- package/dist/models/node/ethTransfer.d.ts.map +1 -0
- package/dist/models/node/ethTransfer.js +28 -0
- package/dist/models/node/factory.d.ts +20 -0
- package/dist/models/node/factory.d.ts.map +1 -0
- package/dist/models/node/factory.js +67 -0
- package/dist/models/node/filter.d.ts +14 -0
- package/dist/models/node/filter.d.ts.map +1 -0
- package/dist/models/node/filter.js +28 -0
- package/dist/models/node/graphqlQuery.d.ts +14 -0
- package/dist/models/node/graphqlQuery.d.ts.map +1 -0
- package/dist/models/node/graphqlQuery.js +37 -0
- package/dist/models/node/interface.d.ts +18 -0
- package/dist/models/node/interface.d.ts.map +1 -0
- package/dist/models/node/interface.js +37 -0
- package/dist/models/node/restApi.d.ts +15 -0
- package/dist/models/node/restApi.d.ts.map +1 -0
- package/dist/models/node/restApi.js +34 -0
- package/dist/models/secret.d.ts +17 -0
- package/dist/models/secret.d.ts.map +1 -0
- package/dist/models/secret.js +22 -0
- package/dist/models/step.d.ts +19 -0
- package/dist/models/step.d.ts.map +1 -0
- package/dist/models/step.js +78 -0
- package/dist/models/trigger/block.d.ts +13 -0
- package/dist/models/trigger/block.d.ts.map +1 -0
- package/dist/models/trigger/block.js +30 -0
- package/dist/models/trigger/cron.d.ts +13 -0
- package/dist/models/trigger/cron.d.ts.map +1 -0
- package/dist/models/trigger/cron.js +30 -0
- package/dist/models/trigger/event.d.ts +13 -0
- package/dist/models/trigger/event.d.ts.map +1 -0
- package/dist/models/trigger/event.js +61 -0
- package/dist/models/trigger/factory.d.ts +27 -0
- package/dist/models/trigger/factory.d.ts.map +1 -0
- package/dist/models/trigger/factory.js +49 -0
- package/dist/models/trigger/fixedTime.d.ts +13 -0
- package/dist/models/trigger/fixedTime.d.ts.map +1 -0
- package/dist/models/trigger/fixedTime.js +30 -0
- package/dist/models/trigger/interface.d.ts +21 -0
- package/dist/models/trigger/interface.d.ts.map +1 -0
- package/dist/models/trigger/interface.js +16 -0
- package/dist/models/trigger/reason.d.ts +33 -0
- package/dist/models/trigger/reason.d.ts.map +1 -0
- package/dist/models/trigger/reason.js +93 -0
- package/dist/models/workflow.d.ts +54 -0
- package/dist/models/workflow.d.ts.map +1 -0
- package/dist/models/workflow.js +118 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +37 -0
- package/package.json +7 -4
- package/dist/index.d.mts +0 -2389
package/dist/index.d.mts
DELETED
|
@@ -1,2389 +0,0 @@
|
|
|
1
|
-
import * as grpc from '@grpc/grpc-js';
|
|
2
|
-
import { Metadata } from '@grpc/grpc-js';
|
|
3
|
-
import * as jspb from 'google-protobuf';
|
|
4
|
-
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
5
|
-
import * as google_protobuf_wrappers_pb from 'google-protobuf/google/protobuf/wrappers_pb';
|
|
6
|
-
import { NodeType, GetKeyRequestApiKey, GetKeyResponse, GetKeyRequestSignature } from '@avaprotocol/types';
|
|
7
|
-
|
|
8
|
-
// package: aggregator
|
|
9
|
-
// file: avs.proto
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare class IdReq extends jspb.Message {
|
|
14
|
-
getId(): string;
|
|
15
|
-
setId(value: string): IdReq;
|
|
16
|
-
|
|
17
|
-
serializeBinary(): Uint8Array;
|
|
18
|
-
toObject(includeInstance?: boolean): IdReq.AsObject;
|
|
19
|
-
static toObject(includeInstance: boolean, msg: IdReq): IdReq.AsObject;
|
|
20
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
21
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
22
|
-
static serializeBinaryToWriter(message: IdReq, writer: jspb.BinaryWriter): void;
|
|
23
|
-
static deserializeBinary(bytes: Uint8Array): IdReq;
|
|
24
|
-
static deserializeBinaryFromReader(message: IdReq, reader: jspb.BinaryReader): IdReq;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare namespace IdReq {
|
|
28
|
-
export type AsObject = {
|
|
29
|
-
id: string,
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare class FixedTimeCondition extends jspb.Message {
|
|
34
|
-
clearEpochsList(): void;
|
|
35
|
-
getEpochsList(): Array<number>;
|
|
36
|
-
setEpochsList(value: Array<number>): FixedTimeCondition;
|
|
37
|
-
addEpochs(value: number, index?: number): number;
|
|
38
|
-
|
|
39
|
-
serializeBinary(): Uint8Array;
|
|
40
|
-
toObject(includeInstance?: boolean): FixedTimeCondition.AsObject;
|
|
41
|
-
static toObject(includeInstance: boolean, msg: FixedTimeCondition): FixedTimeCondition.AsObject;
|
|
42
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
43
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
44
|
-
static serializeBinaryToWriter(message: FixedTimeCondition, writer: jspb.BinaryWriter): void;
|
|
45
|
-
static deserializeBinary(bytes: Uint8Array): FixedTimeCondition;
|
|
46
|
-
static deserializeBinaryFromReader(message: FixedTimeCondition, reader: jspb.BinaryReader): FixedTimeCondition;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
declare namespace FixedTimeCondition {
|
|
50
|
-
export type AsObject = {
|
|
51
|
-
epochsList: Array<number>,
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
declare class CronCondition extends jspb.Message {
|
|
56
|
-
clearScheduleList(): void;
|
|
57
|
-
getScheduleList(): Array<string>;
|
|
58
|
-
setScheduleList(value: Array<string>): CronCondition;
|
|
59
|
-
addSchedule(value: string, index?: number): string;
|
|
60
|
-
|
|
61
|
-
serializeBinary(): Uint8Array;
|
|
62
|
-
toObject(includeInstance?: boolean): CronCondition.AsObject;
|
|
63
|
-
static toObject(includeInstance: boolean, msg: CronCondition): CronCondition.AsObject;
|
|
64
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
65
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
66
|
-
static serializeBinaryToWriter(message: CronCondition, writer: jspb.BinaryWriter): void;
|
|
67
|
-
static deserializeBinary(bytes: Uint8Array): CronCondition;
|
|
68
|
-
static deserializeBinaryFromReader(message: CronCondition, reader: jspb.BinaryReader): CronCondition;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
declare namespace CronCondition {
|
|
72
|
-
export type AsObject = {
|
|
73
|
-
scheduleList: Array<string>,
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
declare class BlockCondition extends jspb.Message {
|
|
78
|
-
getInterval(): number;
|
|
79
|
-
setInterval(value: number): BlockCondition;
|
|
80
|
-
|
|
81
|
-
serializeBinary(): Uint8Array;
|
|
82
|
-
toObject(includeInstance?: boolean): BlockCondition.AsObject;
|
|
83
|
-
static toObject(includeInstance: boolean, msg: BlockCondition): BlockCondition.AsObject;
|
|
84
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
85
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
86
|
-
static serializeBinaryToWriter(message: BlockCondition, writer: jspb.BinaryWriter): void;
|
|
87
|
-
static deserializeBinary(bytes: Uint8Array): BlockCondition;
|
|
88
|
-
static deserializeBinaryFromReader(message: BlockCondition, reader: jspb.BinaryReader): BlockCondition;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
declare namespace BlockCondition {
|
|
92
|
-
export type AsObject = {
|
|
93
|
-
interval: number,
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
declare class EventCondition extends jspb.Message {
|
|
98
|
-
clearMatcherList(): void;
|
|
99
|
-
getMatcherList(): Array<EventCondition.Matcher>;
|
|
100
|
-
setMatcherList(value: Array<EventCondition.Matcher>): EventCondition;
|
|
101
|
-
addMatcher(value?: EventCondition.Matcher, index?: number): EventCondition.Matcher;
|
|
102
|
-
getExpression(): string;
|
|
103
|
-
setExpression(value: string): EventCondition;
|
|
104
|
-
|
|
105
|
-
serializeBinary(): Uint8Array;
|
|
106
|
-
toObject(includeInstance?: boolean): EventCondition.AsObject;
|
|
107
|
-
static toObject(includeInstance: boolean, msg: EventCondition): EventCondition.AsObject;
|
|
108
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
109
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
110
|
-
static serializeBinaryToWriter(message: EventCondition, writer: jspb.BinaryWriter): void;
|
|
111
|
-
static deserializeBinary(bytes: Uint8Array): EventCondition;
|
|
112
|
-
static deserializeBinaryFromReader(message: EventCondition, reader: jspb.BinaryReader): EventCondition;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
declare namespace EventCondition {
|
|
116
|
-
export type AsObject = {
|
|
117
|
-
matcherList: Array<EventCondition.Matcher.AsObject>,
|
|
118
|
-
expression: string,
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
export class Matcher extends jspb.Message {
|
|
123
|
-
getType(): string;
|
|
124
|
-
setType(value: string): Matcher;
|
|
125
|
-
clearValueList(): void;
|
|
126
|
-
getValueList(): Array<string>;
|
|
127
|
-
setValueList(value: Array<string>): Matcher;
|
|
128
|
-
addValue(value: string, index?: number): string;
|
|
129
|
-
|
|
130
|
-
serializeBinary(): Uint8Array;
|
|
131
|
-
toObject(includeInstance?: boolean): Matcher.AsObject;
|
|
132
|
-
static toObject(includeInstance: boolean, msg: Matcher): Matcher.AsObject;
|
|
133
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
134
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
135
|
-
static serializeBinaryToWriter(message: Matcher, writer: jspb.BinaryWriter): void;
|
|
136
|
-
static deserializeBinary(bytes: Uint8Array): Matcher;
|
|
137
|
-
static deserializeBinaryFromReader(message: Matcher, reader: jspb.BinaryReader): Matcher;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export namespace Matcher {
|
|
141
|
-
export type AsObject = {
|
|
142
|
-
type: string,
|
|
143
|
-
valueList: Array<string>,
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
declare class TaskTrigger extends jspb.Message {
|
|
150
|
-
getName(): string;
|
|
151
|
-
setName(value: string): TaskTrigger;
|
|
152
|
-
|
|
153
|
-
hasManual(): boolean;
|
|
154
|
-
clearManual(): void;
|
|
155
|
-
getManual(): boolean;
|
|
156
|
-
setManual(value: boolean): TaskTrigger;
|
|
157
|
-
|
|
158
|
-
hasFixedTime(): boolean;
|
|
159
|
-
clearFixedTime(): void;
|
|
160
|
-
getFixedTime(): FixedTimeCondition | undefined;
|
|
161
|
-
setFixedTime(value?: FixedTimeCondition): TaskTrigger;
|
|
162
|
-
|
|
163
|
-
hasCron(): boolean;
|
|
164
|
-
clearCron(): void;
|
|
165
|
-
getCron(): CronCondition | undefined;
|
|
166
|
-
setCron(value?: CronCondition): TaskTrigger;
|
|
167
|
-
|
|
168
|
-
hasBlock(): boolean;
|
|
169
|
-
clearBlock(): void;
|
|
170
|
-
getBlock(): BlockCondition | undefined;
|
|
171
|
-
setBlock(value?: BlockCondition): TaskTrigger;
|
|
172
|
-
|
|
173
|
-
hasEvent(): boolean;
|
|
174
|
-
clearEvent(): void;
|
|
175
|
-
getEvent(): EventCondition | undefined;
|
|
176
|
-
setEvent(value?: EventCondition): TaskTrigger;
|
|
177
|
-
getId(): string;
|
|
178
|
-
setId(value: string): TaskTrigger;
|
|
179
|
-
|
|
180
|
-
getTriggerTypeCase(): TaskTrigger.TriggerTypeCase;
|
|
181
|
-
|
|
182
|
-
serializeBinary(): Uint8Array;
|
|
183
|
-
toObject(includeInstance?: boolean): TaskTrigger.AsObject;
|
|
184
|
-
static toObject(includeInstance: boolean, msg: TaskTrigger): TaskTrigger.AsObject;
|
|
185
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
186
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
187
|
-
static serializeBinaryToWriter(message: TaskTrigger, writer: jspb.BinaryWriter): void;
|
|
188
|
-
static deserializeBinary(bytes: Uint8Array): TaskTrigger;
|
|
189
|
-
static deserializeBinaryFromReader(message: TaskTrigger, reader: jspb.BinaryReader): TaskTrigger;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
declare namespace TaskTrigger {
|
|
193
|
-
export type AsObject = {
|
|
194
|
-
name: string,
|
|
195
|
-
manual: boolean,
|
|
196
|
-
fixedTime?: FixedTimeCondition.AsObject,
|
|
197
|
-
cron?: CronCondition.AsObject,
|
|
198
|
-
block?: BlockCondition.AsObject,
|
|
199
|
-
event?: EventCondition.AsObject,
|
|
200
|
-
id: string,
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export enum TriggerTypeCase {
|
|
204
|
-
TRIGGER_TYPE_NOT_SET = 0,
|
|
205
|
-
MANUAL = 2,
|
|
206
|
-
FIXED_TIME = 3,
|
|
207
|
-
CRON = 4,
|
|
208
|
-
BLOCK = 5,
|
|
209
|
-
EVENT = 6,
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
declare class ETHTransferNode$1 extends jspb.Message {
|
|
215
|
-
getDestination(): string;
|
|
216
|
-
setDestination(value: string): ETHTransferNode$1;
|
|
217
|
-
getAmount(): string;
|
|
218
|
-
setAmount(value: string): ETHTransferNode$1;
|
|
219
|
-
|
|
220
|
-
serializeBinary(): Uint8Array;
|
|
221
|
-
toObject(includeInstance?: boolean): ETHTransferNode$1.AsObject;
|
|
222
|
-
static toObject(includeInstance: boolean, msg: ETHTransferNode$1): ETHTransferNode$1.AsObject;
|
|
223
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
224
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
225
|
-
static serializeBinaryToWriter(message: ETHTransferNode$1, writer: jspb.BinaryWriter): void;
|
|
226
|
-
static deserializeBinary(bytes: Uint8Array): ETHTransferNode$1;
|
|
227
|
-
static deserializeBinaryFromReader(message: ETHTransferNode$1, reader: jspb.BinaryReader): ETHTransferNode$1;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
declare namespace ETHTransferNode$1 {
|
|
231
|
-
export type AsObject = {
|
|
232
|
-
destination: string,
|
|
233
|
-
amount: string,
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
declare class ContractWriteNode$1 extends jspb.Message {
|
|
238
|
-
getContractAddress(): string;
|
|
239
|
-
setContractAddress(value: string): ContractWriteNode$1;
|
|
240
|
-
getCallData(): string;
|
|
241
|
-
setCallData(value: string): ContractWriteNode$1;
|
|
242
|
-
getContractAbi(): string;
|
|
243
|
-
setContractAbi(value: string): ContractWriteNode$1;
|
|
244
|
-
|
|
245
|
-
serializeBinary(): Uint8Array;
|
|
246
|
-
toObject(includeInstance?: boolean): ContractWriteNode$1.AsObject;
|
|
247
|
-
static toObject(includeInstance: boolean, msg: ContractWriteNode$1): ContractWriteNode$1.AsObject;
|
|
248
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
249
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
250
|
-
static serializeBinaryToWriter(message: ContractWriteNode$1, writer: jspb.BinaryWriter): void;
|
|
251
|
-
static deserializeBinary(bytes: Uint8Array): ContractWriteNode$1;
|
|
252
|
-
static deserializeBinaryFromReader(message: ContractWriteNode$1, reader: jspb.BinaryReader): ContractWriteNode$1;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
declare namespace ContractWriteNode$1 {
|
|
256
|
-
export type AsObject = {
|
|
257
|
-
contractAddress: string,
|
|
258
|
-
callData: string,
|
|
259
|
-
contractAbi: string,
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
declare class ContractReadNode$1 extends jspb.Message {
|
|
264
|
-
getContractAddress(): string;
|
|
265
|
-
setContractAddress(value: string): ContractReadNode$1;
|
|
266
|
-
getCallData(): string;
|
|
267
|
-
setCallData(value: string): ContractReadNode$1;
|
|
268
|
-
getContractAbi(): string;
|
|
269
|
-
setContractAbi(value: string): ContractReadNode$1;
|
|
270
|
-
|
|
271
|
-
serializeBinary(): Uint8Array;
|
|
272
|
-
toObject(includeInstance?: boolean): ContractReadNode$1.AsObject;
|
|
273
|
-
static toObject(includeInstance: boolean, msg: ContractReadNode$1): ContractReadNode$1.AsObject;
|
|
274
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
275
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
276
|
-
static serializeBinaryToWriter(message: ContractReadNode$1, writer: jspb.BinaryWriter): void;
|
|
277
|
-
static deserializeBinary(bytes: Uint8Array): ContractReadNode$1;
|
|
278
|
-
static deserializeBinaryFromReader(message: ContractReadNode$1, reader: jspb.BinaryReader): ContractReadNode$1;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
declare namespace ContractReadNode$1 {
|
|
282
|
-
export type AsObject = {
|
|
283
|
-
contractAddress: string,
|
|
284
|
-
callData: string,
|
|
285
|
-
contractAbi: string,
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
declare class GraphQLQueryNode$1 extends jspb.Message {
|
|
290
|
-
getUrl(): string;
|
|
291
|
-
setUrl(value: string): GraphQLQueryNode$1;
|
|
292
|
-
getQuery(): string;
|
|
293
|
-
setQuery(value: string): GraphQLQueryNode$1;
|
|
294
|
-
|
|
295
|
-
getVariablesMap(): jspb.Map<string, string>;
|
|
296
|
-
clearVariablesMap(): void;
|
|
297
|
-
|
|
298
|
-
serializeBinary(): Uint8Array;
|
|
299
|
-
toObject(includeInstance?: boolean): GraphQLQueryNode$1.AsObject;
|
|
300
|
-
static toObject(includeInstance: boolean, msg: GraphQLQueryNode$1): GraphQLQueryNode$1.AsObject;
|
|
301
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
302
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
303
|
-
static serializeBinaryToWriter(message: GraphQLQueryNode$1, writer: jspb.BinaryWriter): void;
|
|
304
|
-
static deserializeBinary(bytes: Uint8Array): GraphQLQueryNode$1;
|
|
305
|
-
static deserializeBinaryFromReader(message: GraphQLQueryNode$1, reader: jspb.BinaryReader): GraphQLQueryNode$1;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
declare namespace GraphQLQueryNode$1 {
|
|
309
|
-
export type AsObject = {
|
|
310
|
-
url: string,
|
|
311
|
-
query: string,
|
|
312
|
-
|
|
313
|
-
variablesMap: Array<[string, string]>,
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
declare class RestAPINode$1 extends jspb.Message {
|
|
318
|
-
getUrl(): string;
|
|
319
|
-
setUrl(value: string): RestAPINode$1;
|
|
320
|
-
|
|
321
|
-
getHeadersMap(): jspb.Map<string, string>;
|
|
322
|
-
clearHeadersMap(): void;
|
|
323
|
-
getBody(): string;
|
|
324
|
-
setBody(value: string): RestAPINode$1;
|
|
325
|
-
getMethod(): string;
|
|
326
|
-
setMethod(value: string): RestAPINode$1;
|
|
327
|
-
|
|
328
|
-
serializeBinary(): Uint8Array;
|
|
329
|
-
toObject(includeInstance?: boolean): RestAPINode$1.AsObject;
|
|
330
|
-
static toObject(includeInstance: boolean, msg: RestAPINode$1): RestAPINode$1.AsObject;
|
|
331
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
332
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
333
|
-
static serializeBinaryToWriter(message: RestAPINode$1, writer: jspb.BinaryWriter): void;
|
|
334
|
-
static deserializeBinary(bytes: Uint8Array): RestAPINode$1;
|
|
335
|
-
static deserializeBinaryFromReader(message: RestAPINode$1, reader: jspb.BinaryReader): RestAPINode$1;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
declare namespace RestAPINode$1 {
|
|
339
|
-
export type AsObject = {
|
|
340
|
-
url: string,
|
|
341
|
-
|
|
342
|
-
headersMap: Array<[string, string]>,
|
|
343
|
-
body: string,
|
|
344
|
-
method: string,
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
declare class CustomCodeNode$1 extends jspb.Message {
|
|
349
|
-
getLang(): CustomCodeLang;
|
|
350
|
-
setLang(value: CustomCodeLang): CustomCodeNode$1;
|
|
351
|
-
getSource(): string;
|
|
352
|
-
setSource(value: string): CustomCodeNode$1;
|
|
353
|
-
|
|
354
|
-
serializeBinary(): Uint8Array;
|
|
355
|
-
toObject(includeInstance?: boolean): CustomCodeNode$1.AsObject;
|
|
356
|
-
static toObject(includeInstance: boolean, msg: CustomCodeNode$1): CustomCodeNode$1.AsObject;
|
|
357
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
358
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
359
|
-
static serializeBinaryToWriter(message: CustomCodeNode$1, writer: jspb.BinaryWriter): void;
|
|
360
|
-
static deserializeBinary(bytes: Uint8Array): CustomCodeNode$1;
|
|
361
|
-
static deserializeBinaryFromReader(message: CustomCodeNode$1, reader: jspb.BinaryReader): CustomCodeNode$1;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
declare namespace CustomCodeNode$1 {
|
|
365
|
-
export type AsObject = {
|
|
366
|
-
lang: CustomCodeLang,
|
|
367
|
-
source: string,
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
declare class Condition extends jspb.Message {
|
|
372
|
-
getId(): string;
|
|
373
|
-
setId(value: string): Condition;
|
|
374
|
-
getType(): string;
|
|
375
|
-
setType(value: string): Condition;
|
|
376
|
-
getExpression(): string;
|
|
377
|
-
setExpression(value: string): Condition;
|
|
378
|
-
|
|
379
|
-
serializeBinary(): Uint8Array;
|
|
380
|
-
toObject(includeInstance?: boolean): Condition.AsObject;
|
|
381
|
-
static toObject(includeInstance: boolean, msg: Condition): Condition.AsObject;
|
|
382
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
383
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
384
|
-
static serializeBinaryToWriter(message: Condition, writer: jspb.BinaryWriter): void;
|
|
385
|
-
static deserializeBinary(bytes: Uint8Array): Condition;
|
|
386
|
-
static deserializeBinaryFromReader(message: Condition, reader: jspb.BinaryReader): Condition;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
declare namespace Condition {
|
|
390
|
-
export type AsObject = {
|
|
391
|
-
id: string,
|
|
392
|
-
type: string,
|
|
393
|
-
expression: string,
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
declare class BranchNode$1 extends jspb.Message {
|
|
398
|
-
clearConditionsList(): void;
|
|
399
|
-
getConditionsList(): Array<Condition>;
|
|
400
|
-
setConditionsList(value: Array<Condition>): BranchNode$1;
|
|
401
|
-
addConditions(value?: Condition, index?: number): Condition;
|
|
402
|
-
|
|
403
|
-
serializeBinary(): Uint8Array;
|
|
404
|
-
toObject(includeInstance?: boolean): BranchNode$1.AsObject;
|
|
405
|
-
static toObject(includeInstance: boolean, msg: BranchNode$1): BranchNode$1.AsObject;
|
|
406
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
407
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
408
|
-
static serializeBinaryToWriter(message: BranchNode$1, writer: jspb.BinaryWriter): void;
|
|
409
|
-
static deserializeBinary(bytes: Uint8Array): BranchNode$1;
|
|
410
|
-
static deserializeBinaryFromReader(message: BranchNode$1, reader: jspb.BinaryReader): BranchNode$1;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
declare namespace BranchNode$1 {
|
|
414
|
-
export type AsObject = {
|
|
415
|
-
conditionsList: Array<Condition.AsObject>,
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
declare class FilterNode$1 extends jspb.Message {
|
|
420
|
-
getExpression(): string;
|
|
421
|
-
setExpression(value: string): FilterNode$1;
|
|
422
|
-
getInput(): string;
|
|
423
|
-
setInput(value: string): FilterNode$1;
|
|
424
|
-
|
|
425
|
-
serializeBinary(): Uint8Array;
|
|
426
|
-
toObject(includeInstance?: boolean): FilterNode$1.AsObject;
|
|
427
|
-
static toObject(includeInstance: boolean, msg: FilterNode$1): FilterNode$1.AsObject;
|
|
428
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
429
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
430
|
-
static serializeBinaryToWriter(message: FilterNode$1, writer: jspb.BinaryWriter): void;
|
|
431
|
-
static deserializeBinary(bytes: Uint8Array): FilterNode$1;
|
|
432
|
-
static deserializeBinaryFromReader(message: FilterNode$1, reader: jspb.BinaryReader): FilterNode$1;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
declare namespace FilterNode$1 {
|
|
436
|
-
export type AsObject = {
|
|
437
|
-
expression: string,
|
|
438
|
-
input: string,
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
declare class LoopNode extends jspb.Message {
|
|
443
|
-
getInput(): string;
|
|
444
|
-
setInput(value: string): LoopNode;
|
|
445
|
-
getIterVal(): string;
|
|
446
|
-
setIterVal(value: string): LoopNode;
|
|
447
|
-
getIterKey(): string;
|
|
448
|
-
setIterKey(value: string): LoopNode;
|
|
449
|
-
|
|
450
|
-
hasEthTransfer(): boolean;
|
|
451
|
-
clearEthTransfer(): void;
|
|
452
|
-
getEthTransfer(): ETHTransferNode$1 | undefined;
|
|
453
|
-
setEthTransfer(value?: ETHTransferNode$1): LoopNode;
|
|
454
|
-
|
|
455
|
-
hasContractWrite(): boolean;
|
|
456
|
-
clearContractWrite(): void;
|
|
457
|
-
getContractWrite(): ContractWriteNode$1 | undefined;
|
|
458
|
-
setContractWrite(value?: ContractWriteNode$1): LoopNode;
|
|
459
|
-
|
|
460
|
-
hasContractRead(): boolean;
|
|
461
|
-
clearContractRead(): void;
|
|
462
|
-
getContractRead(): ContractReadNode$1 | undefined;
|
|
463
|
-
setContractRead(value?: ContractReadNode$1): LoopNode;
|
|
464
|
-
|
|
465
|
-
hasGraphqlDataQuery(): boolean;
|
|
466
|
-
clearGraphqlDataQuery(): void;
|
|
467
|
-
getGraphqlDataQuery(): GraphQLQueryNode$1 | undefined;
|
|
468
|
-
setGraphqlDataQuery(value?: GraphQLQueryNode$1): LoopNode;
|
|
469
|
-
|
|
470
|
-
hasRestApi(): boolean;
|
|
471
|
-
clearRestApi(): void;
|
|
472
|
-
getRestApi(): RestAPINode$1 | undefined;
|
|
473
|
-
setRestApi(value?: RestAPINode$1): LoopNode;
|
|
474
|
-
|
|
475
|
-
hasCustomCode(): boolean;
|
|
476
|
-
clearCustomCode(): void;
|
|
477
|
-
getCustomCode(): CustomCodeNode$1 | undefined;
|
|
478
|
-
setCustomCode(value?: CustomCodeNode$1): LoopNode;
|
|
479
|
-
|
|
480
|
-
getRunnerCase(): LoopNode.RunnerCase;
|
|
481
|
-
|
|
482
|
-
serializeBinary(): Uint8Array;
|
|
483
|
-
toObject(includeInstance?: boolean): LoopNode.AsObject;
|
|
484
|
-
static toObject(includeInstance: boolean, msg: LoopNode): LoopNode.AsObject;
|
|
485
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
486
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
487
|
-
static serializeBinaryToWriter(message: LoopNode, writer: jspb.BinaryWriter): void;
|
|
488
|
-
static deserializeBinary(bytes: Uint8Array): LoopNode;
|
|
489
|
-
static deserializeBinaryFromReader(message: LoopNode, reader: jspb.BinaryReader): LoopNode;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
declare namespace LoopNode {
|
|
493
|
-
export type AsObject = {
|
|
494
|
-
input: string,
|
|
495
|
-
iterVal: string,
|
|
496
|
-
iterKey: string,
|
|
497
|
-
ethTransfer?: ETHTransferNode$1.AsObject,
|
|
498
|
-
contractWrite?: ContractWriteNode$1.AsObject,
|
|
499
|
-
contractRead?: ContractReadNode$1.AsObject,
|
|
500
|
-
graphqlDataQuery?: GraphQLQueryNode$1.AsObject,
|
|
501
|
-
restApi?: RestAPINode$1.AsObject,
|
|
502
|
-
customCode?: CustomCodeNode$1.AsObject,
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export enum RunnerCase {
|
|
506
|
-
RUNNER_NOT_SET = 0,
|
|
507
|
-
ETH_TRANSFER = 10,
|
|
508
|
-
CONTRACT_WRITE = 11,
|
|
509
|
-
CONTRACT_READ = 12,
|
|
510
|
-
GRAPHQL_DATA_QUERY = 13,
|
|
511
|
-
REST_API = 14,
|
|
512
|
-
CUSTOM_CODE = 15,
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
declare class TaskEdge extends jspb.Message {
|
|
518
|
-
getId(): string;
|
|
519
|
-
setId(value: string): TaskEdge;
|
|
520
|
-
getSource(): string;
|
|
521
|
-
setSource(value: string): TaskEdge;
|
|
522
|
-
getTarget(): string;
|
|
523
|
-
setTarget(value: string): TaskEdge;
|
|
524
|
-
|
|
525
|
-
serializeBinary(): Uint8Array;
|
|
526
|
-
toObject(includeInstance?: boolean): TaskEdge.AsObject;
|
|
527
|
-
static toObject(includeInstance: boolean, msg: TaskEdge): TaskEdge.AsObject;
|
|
528
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
529
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
530
|
-
static serializeBinaryToWriter(message: TaskEdge, writer: jspb.BinaryWriter): void;
|
|
531
|
-
static deserializeBinary(bytes: Uint8Array): TaskEdge;
|
|
532
|
-
static deserializeBinaryFromReader(message: TaskEdge, reader: jspb.BinaryReader): TaskEdge;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
declare namespace TaskEdge {
|
|
536
|
-
export type AsObject = {
|
|
537
|
-
id: string,
|
|
538
|
-
source: string,
|
|
539
|
-
target: string,
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
declare class TaskNode extends jspb.Message {
|
|
544
|
-
getId(): string;
|
|
545
|
-
setId(value: string): TaskNode;
|
|
546
|
-
getName(): string;
|
|
547
|
-
setName(value: string): TaskNode;
|
|
548
|
-
|
|
549
|
-
hasEthTransfer(): boolean;
|
|
550
|
-
clearEthTransfer(): void;
|
|
551
|
-
getEthTransfer(): ETHTransferNode$1 | undefined;
|
|
552
|
-
setEthTransfer(value?: ETHTransferNode$1): TaskNode;
|
|
553
|
-
|
|
554
|
-
hasContractWrite(): boolean;
|
|
555
|
-
clearContractWrite(): void;
|
|
556
|
-
getContractWrite(): ContractWriteNode$1 | undefined;
|
|
557
|
-
setContractWrite(value?: ContractWriteNode$1): TaskNode;
|
|
558
|
-
|
|
559
|
-
hasContractRead(): boolean;
|
|
560
|
-
clearContractRead(): void;
|
|
561
|
-
getContractRead(): ContractReadNode$1 | undefined;
|
|
562
|
-
setContractRead(value?: ContractReadNode$1): TaskNode;
|
|
563
|
-
|
|
564
|
-
hasGraphqlQuery(): boolean;
|
|
565
|
-
clearGraphqlQuery(): void;
|
|
566
|
-
getGraphqlQuery(): GraphQLQueryNode$1 | undefined;
|
|
567
|
-
setGraphqlQuery(value?: GraphQLQueryNode$1): TaskNode;
|
|
568
|
-
|
|
569
|
-
hasRestApi(): boolean;
|
|
570
|
-
clearRestApi(): void;
|
|
571
|
-
getRestApi(): RestAPINode$1 | undefined;
|
|
572
|
-
setRestApi(value?: RestAPINode$1): TaskNode;
|
|
573
|
-
|
|
574
|
-
hasBranch(): boolean;
|
|
575
|
-
clearBranch(): void;
|
|
576
|
-
getBranch(): BranchNode$1 | undefined;
|
|
577
|
-
setBranch(value?: BranchNode$1): TaskNode;
|
|
578
|
-
|
|
579
|
-
hasFilter(): boolean;
|
|
580
|
-
clearFilter(): void;
|
|
581
|
-
getFilter(): FilterNode$1 | undefined;
|
|
582
|
-
setFilter(value?: FilterNode$1): TaskNode;
|
|
583
|
-
|
|
584
|
-
hasLoop(): boolean;
|
|
585
|
-
clearLoop(): void;
|
|
586
|
-
getLoop(): LoopNode | undefined;
|
|
587
|
-
setLoop(value?: LoopNode): TaskNode;
|
|
588
|
-
|
|
589
|
-
hasCustomCode(): boolean;
|
|
590
|
-
clearCustomCode(): void;
|
|
591
|
-
getCustomCode(): CustomCodeNode$1 | undefined;
|
|
592
|
-
setCustomCode(value?: CustomCodeNode$1): TaskNode;
|
|
593
|
-
|
|
594
|
-
getTaskTypeCase(): TaskNode.TaskTypeCase;
|
|
595
|
-
|
|
596
|
-
serializeBinary(): Uint8Array;
|
|
597
|
-
toObject(includeInstance?: boolean): TaskNode.AsObject;
|
|
598
|
-
static toObject(includeInstance: boolean, msg: TaskNode): TaskNode.AsObject;
|
|
599
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
600
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
601
|
-
static serializeBinaryToWriter(message: TaskNode, writer: jspb.BinaryWriter): void;
|
|
602
|
-
static deserializeBinary(bytes: Uint8Array): TaskNode;
|
|
603
|
-
static deserializeBinaryFromReader(message: TaskNode, reader: jspb.BinaryReader): TaskNode;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
declare namespace TaskNode {
|
|
607
|
-
export type AsObject = {
|
|
608
|
-
id: string,
|
|
609
|
-
name: string,
|
|
610
|
-
ethTransfer?: ETHTransferNode$1.AsObject,
|
|
611
|
-
contractWrite?: ContractWriteNode$1.AsObject,
|
|
612
|
-
contractRead?: ContractReadNode$1.AsObject,
|
|
613
|
-
graphqlQuery?: GraphQLQueryNode$1.AsObject,
|
|
614
|
-
restApi?: RestAPINode$1.AsObject,
|
|
615
|
-
branch?: BranchNode$1.AsObject,
|
|
616
|
-
filter?: FilterNode$1.AsObject,
|
|
617
|
-
loop?: LoopNode.AsObject,
|
|
618
|
-
customCode?: CustomCodeNode$1.AsObject,
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
export enum TaskTypeCase {
|
|
622
|
-
TASK_TYPE_NOT_SET = 0,
|
|
623
|
-
ETH_TRANSFER = 10,
|
|
624
|
-
CONTRACT_WRITE = 11,
|
|
625
|
-
CONTRACT_READ = 12,
|
|
626
|
-
GRAPHQL_QUERY = 13,
|
|
627
|
-
REST_API = 14,
|
|
628
|
-
BRANCH = 15,
|
|
629
|
-
FILTER = 16,
|
|
630
|
-
LOOP = 17,
|
|
631
|
-
CUSTOM_CODE = 18,
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
declare class Execution$1 extends jspb.Message {
|
|
637
|
-
getId(): string;
|
|
638
|
-
setId(value: string): Execution$1;
|
|
639
|
-
getStartAt(): number;
|
|
640
|
-
setStartAt(value: number): Execution$1;
|
|
641
|
-
getEndAt(): number;
|
|
642
|
-
setEndAt(value: number): Execution$1;
|
|
643
|
-
getSuccess(): boolean;
|
|
644
|
-
setSuccess(value: boolean): Execution$1;
|
|
645
|
-
getError(): string;
|
|
646
|
-
setError(value: string): Execution$1;
|
|
647
|
-
|
|
648
|
-
hasReason(): boolean;
|
|
649
|
-
clearReason(): void;
|
|
650
|
-
getReason(): TriggerReason$1 | undefined;
|
|
651
|
-
setReason(value?: TriggerReason$1): Execution$1;
|
|
652
|
-
clearStepsList(): void;
|
|
653
|
-
getStepsList(): Array<Execution$1.Step>;
|
|
654
|
-
setStepsList(value: Array<Execution$1.Step>): Execution$1;
|
|
655
|
-
addSteps(value?: Execution$1.Step, index?: number): Execution$1.Step;
|
|
656
|
-
getTriggerName(): string;
|
|
657
|
-
setTriggerName(value: string): Execution$1;
|
|
658
|
-
|
|
659
|
-
hasTransferLog(): boolean;
|
|
660
|
-
clearTransferLog(): void;
|
|
661
|
-
getTransferLog(): Execution$1.TransferLogOutput | undefined;
|
|
662
|
-
setTransferLog(value?: Execution$1.TransferLogOutput): Execution$1;
|
|
663
|
-
|
|
664
|
-
hasEvmLog(): boolean;
|
|
665
|
-
clearEvmLog(): void;
|
|
666
|
-
getEvmLog(): Execution$1.EvmLogOutput | undefined;
|
|
667
|
-
setEvmLog(value?: Execution$1.EvmLogOutput): Execution$1;
|
|
668
|
-
|
|
669
|
-
hasBlock(): boolean;
|
|
670
|
-
clearBlock(): void;
|
|
671
|
-
getBlock(): Execution$1.BlockOutput | undefined;
|
|
672
|
-
setBlock(value?: Execution$1.BlockOutput): Execution$1;
|
|
673
|
-
|
|
674
|
-
hasTime(): boolean;
|
|
675
|
-
clearTime(): void;
|
|
676
|
-
getTime(): Execution$1.TimeOutput | undefined;
|
|
677
|
-
setTime(value?: Execution$1.TimeOutput): Execution$1;
|
|
678
|
-
|
|
679
|
-
getOutputDataCase(): Execution$1.OutputDataCase;
|
|
680
|
-
|
|
681
|
-
serializeBinary(): Uint8Array;
|
|
682
|
-
toObject(includeInstance?: boolean): Execution$1.AsObject;
|
|
683
|
-
static toObject(includeInstance: boolean, msg: Execution$1): Execution$1.AsObject;
|
|
684
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
685
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
686
|
-
static serializeBinaryToWriter(message: Execution$1, writer: jspb.BinaryWriter): void;
|
|
687
|
-
static deserializeBinary(bytes: Uint8Array): Execution$1;
|
|
688
|
-
static deserializeBinaryFromReader(message: Execution$1, reader: jspb.BinaryReader): Execution$1;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
declare namespace Execution$1 {
|
|
692
|
-
export type AsObject = {
|
|
693
|
-
id: string,
|
|
694
|
-
startAt: number,
|
|
695
|
-
endAt: number,
|
|
696
|
-
success: boolean,
|
|
697
|
-
error: string,
|
|
698
|
-
reason?: TriggerReason$1.AsObject,
|
|
699
|
-
stepsList: Array<Execution$1.Step.AsObject>,
|
|
700
|
-
triggerName: string,
|
|
701
|
-
transferLog?: Execution$1.TransferLogOutput.AsObject,
|
|
702
|
-
evmLog?: Execution$1.EvmLogOutput.AsObject,
|
|
703
|
-
block?: Execution$1.BlockOutput.AsObject,
|
|
704
|
-
time?: Execution$1.TimeOutput.AsObject,
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
export class Step extends jspb.Message {
|
|
709
|
-
getNodeId(): string;
|
|
710
|
-
setNodeId(value: string): Step;
|
|
711
|
-
getSuccess(): boolean;
|
|
712
|
-
setSuccess(value: boolean): Step;
|
|
713
|
-
getOutputData(): string;
|
|
714
|
-
setOutputData(value: string): Step;
|
|
715
|
-
getLog(): string;
|
|
716
|
-
setLog(value: string): Step;
|
|
717
|
-
getError(): string;
|
|
718
|
-
setError(value: string): Step;
|
|
719
|
-
getStartAt(): number;
|
|
720
|
-
setStartAt(value: number): Step;
|
|
721
|
-
getEndAt(): number;
|
|
722
|
-
setEndAt(value: number): Step;
|
|
723
|
-
clearInputsList(): void;
|
|
724
|
-
getInputsList(): Array<string>;
|
|
725
|
-
setInputsList(value: Array<string>): Step;
|
|
726
|
-
addInputs(value: string, index?: number): string;
|
|
727
|
-
|
|
728
|
-
serializeBinary(): Uint8Array;
|
|
729
|
-
toObject(includeInstance?: boolean): Step.AsObject;
|
|
730
|
-
static toObject(includeInstance: boolean, msg: Step): Step.AsObject;
|
|
731
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
732
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
733
|
-
static serializeBinaryToWriter(message: Step, writer: jspb.BinaryWriter): void;
|
|
734
|
-
static deserializeBinary(bytes: Uint8Array): Step;
|
|
735
|
-
static deserializeBinaryFromReader(message: Step, reader: jspb.BinaryReader): Step;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
export namespace Step {
|
|
739
|
-
export type AsObject = {
|
|
740
|
-
nodeId: string,
|
|
741
|
-
success: boolean,
|
|
742
|
-
outputData: string,
|
|
743
|
-
log: string,
|
|
744
|
-
error: string,
|
|
745
|
-
startAt: number,
|
|
746
|
-
endAt: number,
|
|
747
|
-
inputsList: Array<string>,
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
export class TransferLogOutput extends jspb.Message {
|
|
752
|
-
getTokenName(): string;
|
|
753
|
-
setTokenName(value: string): TransferLogOutput;
|
|
754
|
-
getTokenSymbol(): string;
|
|
755
|
-
setTokenSymbol(value: string): TransferLogOutput;
|
|
756
|
-
getTokenDecimals(): number;
|
|
757
|
-
setTokenDecimals(value: number): TransferLogOutput;
|
|
758
|
-
getTransactionHash(): string;
|
|
759
|
-
setTransactionHash(value: string): TransferLogOutput;
|
|
760
|
-
getAddress(): string;
|
|
761
|
-
setAddress(value: string): TransferLogOutput;
|
|
762
|
-
getBlockNumber(): number;
|
|
763
|
-
setBlockNumber(value: number): TransferLogOutput;
|
|
764
|
-
getBlockTimestamp(): number;
|
|
765
|
-
setBlockTimestamp(value: number): TransferLogOutput;
|
|
766
|
-
getFromAddress(): string;
|
|
767
|
-
setFromAddress(value: string): TransferLogOutput;
|
|
768
|
-
getToAddress(): string;
|
|
769
|
-
setToAddress(value: string): TransferLogOutput;
|
|
770
|
-
getValue(): string;
|
|
771
|
-
setValue(value: string): TransferLogOutput;
|
|
772
|
-
getValueFormatted(): string;
|
|
773
|
-
setValueFormatted(value: string): TransferLogOutput;
|
|
774
|
-
getTransactionIndex(): number;
|
|
775
|
-
setTransactionIndex(value: number): TransferLogOutput;
|
|
776
|
-
|
|
777
|
-
serializeBinary(): Uint8Array;
|
|
778
|
-
toObject(includeInstance?: boolean): TransferLogOutput.AsObject;
|
|
779
|
-
static toObject(includeInstance: boolean, msg: TransferLogOutput): TransferLogOutput.AsObject;
|
|
780
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
781
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
782
|
-
static serializeBinaryToWriter(message: TransferLogOutput, writer: jspb.BinaryWriter): void;
|
|
783
|
-
static deserializeBinary(bytes: Uint8Array): TransferLogOutput;
|
|
784
|
-
static deserializeBinaryFromReader(message: TransferLogOutput, reader: jspb.BinaryReader): TransferLogOutput;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
export namespace TransferLogOutput {
|
|
788
|
-
export type AsObject = {
|
|
789
|
-
tokenName: string,
|
|
790
|
-
tokenSymbol: string,
|
|
791
|
-
tokenDecimals: number,
|
|
792
|
-
transactionHash: string,
|
|
793
|
-
address: string,
|
|
794
|
-
blockNumber: number,
|
|
795
|
-
blockTimestamp: number,
|
|
796
|
-
fromAddress: string,
|
|
797
|
-
toAddress: string,
|
|
798
|
-
value: string,
|
|
799
|
-
valueFormatted: string,
|
|
800
|
-
transactionIndex: number,
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
|
|
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
|
-
export class BlockOutput extends jspb.Message {
|
|
848
|
-
getBlockNumber(): number;
|
|
849
|
-
setBlockNumber(value: number): BlockOutput;
|
|
850
|
-
|
|
851
|
-
serializeBinary(): Uint8Array;
|
|
852
|
-
toObject(includeInstance?: boolean): BlockOutput.AsObject;
|
|
853
|
-
static toObject(includeInstance: boolean, msg: BlockOutput): BlockOutput.AsObject;
|
|
854
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
855
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
856
|
-
static serializeBinaryToWriter(message: BlockOutput, writer: jspb.BinaryWriter): void;
|
|
857
|
-
static deserializeBinary(bytes: Uint8Array): BlockOutput;
|
|
858
|
-
static deserializeBinaryFromReader(message: BlockOutput, reader: jspb.BinaryReader): BlockOutput;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
export namespace BlockOutput {
|
|
862
|
-
export type AsObject = {
|
|
863
|
-
blockNumber: number,
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
export class TimeOutput extends jspb.Message {
|
|
868
|
-
getEpoch(): number;
|
|
869
|
-
setEpoch(value: number): TimeOutput;
|
|
870
|
-
|
|
871
|
-
serializeBinary(): Uint8Array;
|
|
872
|
-
toObject(includeInstance?: boolean): TimeOutput.AsObject;
|
|
873
|
-
static toObject(includeInstance: boolean, msg: TimeOutput): TimeOutput.AsObject;
|
|
874
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
875
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
876
|
-
static serializeBinaryToWriter(message: TimeOutput, writer: jspb.BinaryWriter): void;
|
|
877
|
-
static deserializeBinary(bytes: Uint8Array): TimeOutput;
|
|
878
|
-
static deserializeBinaryFromReader(message: TimeOutput, reader: jspb.BinaryReader): TimeOutput;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
export namespace TimeOutput {
|
|
882
|
-
export type AsObject = {
|
|
883
|
-
epoch: number,
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
export enum OutputDataCase {
|
|
889
|
-
OUTPUT_DATA_NOT_SET = 0,
|
|
890
|
-
TRANSFER_LOG = 10,
|
|
891
|
-
EVM_LOG = 11,
|
|
892
|
-
BLOCK = 12,
|
|
893
|
-
TIME = 13,
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
declare class Task extends jspb.Message {
|
|
899
|
-
getId(): string;
|
|
900
|
-
setId(value: string): Task;
|
|
901
|
-
getOwner(): string;
|
|
902
|
-
setOwner(value: string): Task;
|
|
903
|
-
getSmartWalletAddress(): string;
|
|
904
|
-
setSmartWalletAddress(value: string): Task;
|
|
905
|
-
getStartAt(): number;
|
|
906
|
-
setStartAt(value: number): Task;
|
|
907
|
-
getExpiredAt(): number;
|
|
908
|
-
setExpiredAt(value: number): Task;
|
|
909
|
-
getName(): string;
|
|
910
|
-
setName(value: string): Task;
|
|
911
|
-
getCompletedAt(): number;
|
|
912
|
-
setCompletedAt(value: number): Task;
|
|
913
|
-
getMaxExecution(): number;
|
|
914
|
-
setMaxExecution(value: number): Task;
|
|
915
|
-
getTotalExecution(): number;
|
|
916
|
-
setTotalExecution(value: number): Task;
|
|
917
|
-
getLastRanAt(): number;
|
|
918
|
-
setLastRanAt(value: number): Task;
|
|
919
|
-
getStatus(): TaskStatus;
|
|
920
|
-
setStatus(value: TaskStatus): Task;
|
|
921
|
-
|
|
922
|
-
hasTrigger(): boolean;
|
|
923
|
-
clearTrigger(): void;
|
|
924
|
-
getTrigger(): TaskTrigger | undefined;
|
|
925
|
-
setTrigger(value?: TaskTrigger): Task;
|
|
926
|
-
clearNodesList(): void;
|
|
927
|
-
getNodesList(): Array<TaskNode>;
|
|
928
|
-
setNodesList(value: Array<TaskNode>): Task;
|
|
929
|
-
addNodes(value?: TaskNode, index?: number): TaskNode;
|
|
930
|
-
clearEdgesList(): void;
|
|
931
|
-
getEdgesList(): Array<TaskEdge>;
|
|
932
|
-
setEdgesList(value: Array<TaskEdge>): Task;
|
|
933
|
-
addEdges(value?: TaskEdge, index?: number): TaskEdge;
|
|
934
|
-
|
|
935
|
-
serializeBinary(): Uint8Array;
|
|
936
|
-
toObject(includeInstance?: boolean): Task.AsObject;
|
|
937
|
-
static toObject(includeInstance: boolean, msg: Task): Task.AsObject;
|
|
938
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
939
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
940
|
-
static serializeBinaryToWriter(message: Task, writer: jspb.BinaryWriter): void;
|
|
941
|
-
static deserializeBinary(bytes: Uint8Array): Task;
|
|
942
|
-
static deserializeBinaryFromReader(message: Task, reader: jspb.BinaryReader): Task;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
declare namespace Task {
|
|
946
|
-
export type AsObject = {
|
|
947
|
-
id: string,
|
|
948
|
-
owner: string,
|
|
949
|
-
smartWalletAddress: string,
|
|
950
|
-
startAt: number,
|
|
951
|
-
expiredAt: number,
|
|
952
|
-
name: string,
|
|
953
|
-
completedAt: number,
|
|
954
|
-
maxExecution: number,
|
|
955
|
-
totalExecution: number,
|
|
956
|
-
lastRanAt: number,
|
|
957
|
-
status: TaskStatus,
|
|
958
|
-
trigger?: TaskTrigger.AsObject,
|
|
959
|
-
nodesList: Array<TaskNode.AsObject>,
|
|
960
|
-
edgesList: Array<TaskEdge.AsObject>,
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
declare class CreateTaskReq extends jspb.Message {
|
|
965
|
-
|
|
966
|
-
hasTrigger(): boolean;
|
|
967
|
-
clearTrigger(): void;
|
|
968
|
-
getTrigger(): TaskTrigger | undefined;
|
|
969
|
-
setTrigger(value?: TaskTrigger): CreateTaskReq;
|
|
970
|
-
getStartAt(): number;
|
|
971
|
-
setStartAt(value: number): CreateTaskReq;
|
|
972
|
-
getExpiredAt(): number;
|
|
973
|
-
setExpiredAt(value: number): CreateTaskReq;
|
|
974
|
-
getMaxExecution(): number;
|
|
975
|
-
setMaxExecution(value: number): CreateTaskReq;
|
|
976
|
-
getSmartWalletAddress(): string;
|
|
977
|
-
setSmartWalletAddress(value: string): CreateTaskReq;
|
|
978
|
-
getName(): string;
|
|
979
|
-
setName(value: string): CreateTaskReq;
|
|
980
|
-
clearNodesList(): void;
|
|
981
|
-
getNodesList(): Array<TaskNode>;
|
|
982
|
-
setNodesList(value: Array<TaskNode>): CreateTaskReq;
|
|
983
|
-
addNodes(value?: TaskNode, index?: number): TaskNode;
|
|
984
|
-
clearEdgesList(): void;
|
|
985
|
-
getEdgesList(): Array<TaskEdge>;
|
|
986
|
-
setEdgesList(value: Array<TaskEdge>): CreateTaskReq;
|
|
987
|
-
addEdges(value?: TaskEdge, index?: number): TaskEdge;
|
|
988
|
-
|
|
989
|
-
serializeBinary(): Uint8Array;
|
|
990
|
-
toObject(includeInstance?: boolean): CreateTaskReq.AsObject;
|
|
991
|
-
static toObject(includeInstance: boolean, msg: CreateTaskReq): CreateTaskReq.AsObject;
|
|
992
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
993
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
994
|
-
static serializeBinaryToWriter(message: CreateTaskReq, writer: jspb.BinaryWriter): void;
|
|
995
|
-
static deserializeBinary(bytes: Uint8Array): CreateTaskReq;
|
|
996
|
-
static deserializeBinaryFromReader(message: CreateTaskReq, reader: jspb.BinaryReader): CreateTaskReq;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
declare namespace CreateTaskReq {
|
|
1000
|
-
export type AsObject = {
|
|
1001
|
-
trigger?: TaskTrigger.AsObject,
|
|
1002
|
-
startAt: number,
|
|
1003
|
-
expiredAt: number,
|
|
1004
|
-
maxExecution: number,
|
|
1005
|
-
smartWalletAddress: string,
|
|
1006
|
-
name: string,
|
|
1007
|
-
nodesList: Array<TaskNode.AsObject>,
|
|
1008
|
-
edgesList: Array<TaskEdge.AsObject>,
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
declare class CreateTaskResp extends jspb.Message {
|
|
1013
|
-
getId(): string;
|
|
1014
|
-
setId(value: string): CreateTaskResp;
|
|
1015
|
-
|
|
1016
|
-
serializeBinary(): Uint8Array;
|
|
1017
|
-
toObject(includeInstance?: boolean): CreateTaskResp.AsObject;
|
|
1018
|
-
static toObject(includeInstance: boolean, msg: CreateTaskResp): CreateTaskResp.AsObject;
|
|
1019
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1020
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1021
|
-
static serializeBinaryToWriter(message: CreateTaskResp, writer: jspb.BinaryWriter): void;
|
|
1022
|
-
static deserializeBinary(bytes: Uint8Array): CreateTaskResp;
|
|
1023
|
-
static deserializeBinaryFromReader(message: CreateTaskResp, reader: jspb.BinaryReader): CreateTaskResp;
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
declare namespace CreateTaskResp {
|
|
1027
|
-
export type AsObject = {
|
|
1028
|
-
id: string,
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
declare class NonceRequest extends jspb.Message {
|
|
1033
|
-
getOwner(): string;
|
|
1034
|
-
setOwner(value: string): NonceRequest;
|
|
1035
|
-
|
|
1036
|
-
serializeBinary(): Uint8Array;
|
|
1037
|
-
toObject(includeInstance?: boolean): NonceRequest.AsObject;
|
|
1038
|
-
static toObject(includeInstance: boolean, msg: NonceRequest): NonceRequest.AsObject;
|
|
1039
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1040
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1041
|
-
static serializeBinaryToWriter(message: NonceRequest, writer: jspb.BinaryWriter): void;
|
|
1042
|
-
static deserializeBinary(bytes: Uint8Array): NonceRequest;
|
|
1043
|
-
static deserializeBinaryFromReader(message: NonceRequest, reader: jspb.BinaryReader): NonceRequest;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
declare namespace NonceRequest {
|
|
1047
|
-
export type AsObject = {
|
|
1048
|
-
owner: string,
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
declare class NonceResp extends jspb.Message {
|
|
1053
|
-
getNonce(): string;
|
|
1054
|
-
setNonce(value: string): NonceResp;
|
|
1055
|
-
|
|
1056
|
-
serializeBinary(): Uint8Array;
|
|
1057
|
-
toObject(includeInstance?: boolean): NonceResp.AsObject;
|
|
1058
|
-
static toObject(includeInstance: boolean, msg: NonceResp): NonceResp.AsObject;
|
|
1059
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1060
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1061
|
-
static serializeBinaryToWriter(message: NonceResp, writer: jspb.BinaryWriter): void;
|
|
1062
|
-
static deserializeBinary(bytes: Uint8Array): NonceResp;
|
|
1063
|
-
static deserializeBinaryFromReader(message: NonceResp, reader: jspb.BinaryReader): NonceResp;
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
declare namespace NonceResp {
|
|
1067
|
-
export type AsObject = {
|
|
1068
|
-
nonce: string,
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
declare class ListWalletReq extends jspb.Message {
|
|
1073
|
-
getFactoryAddress(): string;
|
|
1074
|
-
setFactoryAddress(value: string): ListWalletReq;
|
|
1075
|
-
getSalt(): string;
|
|
1076
|
-
setSalt(value: string): ListWalletReq;
|
|
1077
|
-
|
|
1078
|
-
serializeBinary(): Uint8Array;
|
|
1079
|
-
toObject(includeInstance?: boolean): ListWalletReq.AsObject;
|
|
1080
|
-
static toObject(includeInstance: boolean, msg: ListWalletReq): ListWalletReq.AsObject;
|
|
1081
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1082
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1083
|
-
static serializeBinaryToWriter(message: ListWalletReq, writer: jspb.BinaryWriter): void;
|
|
1084
|
-
static deserializeBinary(bytes: Uint8Array): ListWalletReq;
|
|
1085
|
-
static deserializeBinaryFromReader(message: ListWalletReq, reader: jspb.BinaryReader): ListWalletReq;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
declare namespace ListWalletReq {
|
|
1089
|
-
export type AsObject = {
|
|
1090
|
-
factoryAddress: string,
|
|
1091
|
-
salt: string,
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
declare class SmartWallet$1 extends jspb.Message {
|
|
1096
|
-
getAddress(): string;
|
|
1097
|
-
setAddress(value: string): SmartWallet$1;
|
|
1098
|
-
getSalt(): string;
|
|
1099
|
-
setSalt(value: string): SmartWallet$1;
|
|
1100
|
-
getFactory(): string;
|
|
1101
|
-
setFactory(value: string): SmartWallet$1;
|
|
1102
|
-
|
|
1103
|
-
serializeBinary(): Uint8Array;
|
|
1104
|
-
toObject(includeInstance?: boolean): SmartWallet$1.AsObject;
|
|
1105
|
-
static toObject(includeInstance: boolean, msg: SmartWallet$1): SmartWallet$1.AsObject;
|
|
1106
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1107
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1108
|
-
static serializeBinaryToWriter(message: SmartWallet$1, writer: jspb.BinaryWriter): void;
|
|
1109
|
-
static deserializeBinary(bytes: Uint8Array): SmartWallet$1;
|
|
1110
|
-
static deserializeBinaryFromReader(message: SmartWallet$1, reader: jspb.BinaryReader): SmartWallet$1;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
declare namespace SmartWallet$1 {
|
|
1114
|
-
export type AsObject = {
|
|
1115
|
-
address: string,
|
|
1116
|
-
salt: string,
|
|
1117
|
-
factory: string,
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
declare class ListWalletResp extends jspb.Message {
|
|
1122
|
-
clearItemsList(): void;
|
|
1123
|
-
getItemsList(): Array<SmartWallet$1>;
|
|
1124
|
-
setItemsList(value: Array<SmartWallet$1>): ListWalletResp;
|
|
1125
|
-
addItems(value?: SmartWallet$1, index?: number): SmartWallet$1;
|
|
1126
|
-
|
|
1127
|
-
serializeBinary(): Uint8Array;
|
|
1128
|
-
toObject(includeInstance?: boolean): ListWalletResp.AsObject;
|
|
1129
|
-
static toObject(includeInstance: boolean, msg: ListWalletResp): ListWalletResp.AsObject;
|
|
1130
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1131
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1132
|
-
static serializeBinaryToWriter(message: ListWalletResp, writer: jspb.BinaryWriter): void;
|
|
1133
|
-
static deserializeBinary(bytes: Uint8Array): ListWalletResp;
|
|
1134
|
-
static deserializeBinaryFromReader(message: ListWalletResp, reader: jspb.BinaryReader): ListWalletResp;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
declare namespace ListWalletResp {
|
|
1138
|
-
export type AsObject = {
|
|
1139
|
-
itemsList: Array<SmartWallet$1.AsObject>,
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
declare class ListTasksReq extends jspb.Message {
|
|
1144
|
-
clearSmartWalletAddressList(): void;
|
|
1145
|
-
getSmartWalletAddressList(): Array<string>;
|
|
1146
|
-
setSmartWalletAddressList(value: Array<string>): ListTasksReq;
|
|
1147
|
-
addSmartWalletAddress(value: string, index?: number): string;
|
|
1148
|
-
getCursor(): string;
|
|
1149
|
-
setCursor(value: string): ListTasksReq;
|
|
1150
|
-
getItemPerPage(): number;
|
|
1151
|
-
setItemPerPage(value: number): ListTasksReq;
|
|
1152
|
-
|
|
1153
|
-
serializeBinary(): Uint8Array;
|
|
1154
|
-
toObject(includeInstance?: boolean): ListTasksReq.AsObject;
|
|
1155
|
-
static toObject(includeInstance: boolean, msg: ListTasksReq): ListTasksReq.AsObject;
|
|
1156
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1157
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1158
|
-
static serializeBinaryToWriter(message: ListTasksReq, writer: jspb.BinaryWriter): void;
|
|
1159
|
-
static deserializeBinary(bytes: Uint8Array): ListTasksReq;
|
|
1160
|
-
static deserializeBinaryFromReader(message: ListTasksReq, reader: jspb.BinaryReader): ListTasksReq;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
declare namespace ListTasksReq {
|
|
1164
|
-
export type AsObject = {
|
|
1165
|
-
smartWalletAddressList: Array<string>,
|
|
1166
|
-
cursor: string,
|
|
1167
|
-
itemPerPage: number,
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
declare class ListTasksResp extends jspb.Message {
|
|
1172
|
-
clearItemsList(): void;
|
|
1173
|
-
getItemsList(): Array<ListTasksResp.Item>;
|
|
1174
|
-
setItemsList(value: Array<ListTasksResp.Item>): ListTasksResp;
|
|
1175
|
-
addItems(value?: ListTasksResp.Item, index?: number): ListTasksResp.Item;
|
|
1176
|
-
getCursor(): string;
|
|
1177
|
-
setCursor(value: string): ListTasksResp;
|
|
1178
|
-
getHasMore(): boolean;
|
|
1179
|
-
setHasMore(value: boolean): ListTasksResp;
|
|
1180
|
-
|
|
1181
|
-
serializeBinary(): Uint8Array;
|
|
1182
|
-
toObject(includeInstance?: boolean): ListTasksResp.AsObject;
|
|
1183
|
-
static toObject(includeInstance: boolean, msg: ListTasksResp): ListTasksResp.AsObject;
|
|
1184
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1185
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1186
|
-
static serializeBinaryToWriter(message: ListTasksResp, writer: jspb.BinaryWriter): void;
|
|
1187
|
-
static deserializeBinary(bytes: Uint8Array): ListTasksResp;
|
|
1188
|
-
static deserializeBinaryFromReader(message: ListTasksResp, reader: jspb.BinaryReader): ListTasksResp;
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
declare namespace ListTasksResp {
|
|
1192
|
-
export type AsObject = {
|
|
1193
|
-
itemsList: Array<ListTasksResp.Item.AsObject>,
|
|
1194
|
-
cursor: string,
|
|
1195
|
-
hasMore: boolean,
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
export class Item extends jspb.Message {
|
|
1200
|
-
getId(): string;
|
|
1201
|
-
setId(value: string): Item;
|
|
1202
|
-
getOwner(): string;
|
|
1203
|
-
setOwner(value: string): Item;
|
|
1204
|
-
getSmartWalletAddress(): string;
|
|
1205
|
-
setSmartWalletAddress(value: string): Item;
|
|
1206
|
-
getStartAt(): number;
|
|
1207
|
-
setStartAt(value: number): Item;
|
|
1208
|
-
getExpiredAt(): number;
|
|
1209
|
-
setExpiredAt(value: number): Item;
|
|
1210
|
-
getName(): string;
|
|
1211
|
-
setName(value: string): Item;
|
|
1212
|
-
getCompletedAt(): number;
|
|
1213
|
-
setCompletedAt(value: number): Item;
|
|
1214
|
-
getMaxExecution(): number;
|
|
1215
|
-
setMaxExecution(value: number): Item;
|
|
1216
|
-
getTotalExecution(): number;
|
|
1217
|
-
setTotalExecution(value: number): Item;
|
|
1218
|
-
getLastRanAt(): number;
|
|
1219
|
-
setLastRanAt(value: number): Item;
|
|
1220
|
-
getStatus(): TaskStatus;
|
|
1221
|
-
setStatus(value: TaskStatus): Item;
|
|
1222
|
-
|
|
1223
|
-
hasTrigger(): boolean;
|
|
1224
|
-
clearTrigger(): void;
|
|
1225
|
-
getTrigger(): TaskTrigger | undefined;
|
|
1226
|
-
setTrigger(value?: TaskTrigger): Item;
|
|
1227
|
-
|
|
1228
|
-
serializeBinary(): Uint8Array;
|
|
1229
|
-
toObject(includeInstance?: boolean): Item.AsObject;
|
|
1230
|
-
static toObject(includeInstance: boolean, msg: Item): Item.AsObject;
|
|
1231
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1232
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1233
|
-
static serializeBinaryToWriter(message: Item, writer: jspb.BinaryWriter): void;
|
|
1234
|
-
static deserializeBinary(bytes: Uint8Array): Item;
|
|
1235
|
-
static deserializeBinaryFromReader(message: Item, reader: jspb.BinaryReader): Item;
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
export namespace Item {
|
|
1239
|
-
export type AsObject = {
|
|
1240
|
-
id: string,
|
|
1241
|
-
owner: string,
|
|
1242
|
-
smartWalletAddress: string,
|
|
1243
|
-
startAt: number,
|
|
1244
|
-
expiredAt: number,
|
|
1245
|
-
name: string,
|
|
1246
|
-
completedAt: number,
|
|
1247
|
-
maxExecution: number,
|
|
1248
|
-
totalExecution: number,
|
|
1249
|
-
lastRanAt: number,
|
|
1250
|
-
status: TaskStatus,
|
|
1251
|
-
trigger?: TaskTrigger.AsObject,
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
declare class ListExecutionsReq extends jspb.Message {
|
|
1258
|
-
clearTaskIdsList(): void;
|
|
1259
|
-
getTaskIdsList(): Array<string>;
|
|
1260
|
-
setTaskIdsList(value: Array<string>): ListExecutionsReq;
|
|
1261
|
-
addTaskIds(value: string, index?: number): string;
|
|
1262
|
-
getCursor(): string;
|
|
1263
|
-
setCursor(value: string): ListExecutionsReq;
|
|
1264
|
-
getItemPerPage(): number;
|
|
1265
|
-
setItemPerPage(value: number): ListExecutionsReq;
|
|
1266
|
-
|
|
1267
|
-
serializeBinary(): Uint8Array;
|
|
1268
|
-
toObject(includeInstance?: boolean): ListExecutionsReq.AsObject;
|
|
1269
|
-
static toObject(includeInstance: boolean, msg: ListExecutionsReq): ListExecutionsReq.AsObject;
|
|
1270
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1271
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1272
|
-
static serializeBinaryToWriter(message: ListExecutionsReq, writer: jspb.BinaryWriter): void;
|
|
1273
|
-
static deserializeBinary(bytes: Uint8Array): ListExecutionsReq;
|
|
1274
|
-
static deserializeBinaryFromReader(message: ListExecutionsReq, reader: jspb.BinaryReader): ListExecutionsReq;
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
declare namespace ListExecutionsReq {
|
|
1278
|
-
export type AsObject = {
|
|
1279
|
-
taskIdsList: Array<string>,
|
|
1280
|
-
cursor: string,
|
|
1281
|
-
itemPerPage: number,
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
declare class ListExecutionsResp extends jspb.Message {
|
|
1286
|
-
clearItemsList(): void;
|
|
1287
|
-
getItemsList(): Array<Execution$1>;
|
|
1288
|
-
setItemsList(value: Array<Execution$1>): ListExecutionsResp;
|
|
1289
|
-
addItems(value?: Execution$1, index?: number): Execution$1;
|
|
1290
|
-
getCursor(): string;
|
|
1291
|
-
setCursor(value: string): ListExecutionsResp;
|
|
1292
|
-
getHasMore(): boolean;
|
|
1293
|
-
setHasMore(value: boolean): ListExecutionsResp;
|
|
1294
|
-
|
|
1295
|
-
serializeBinary(): Uint8Array;
|
|
1296
|
-
toObject(includeInstance?: boolean): ListExecutionsResp.AsObject;
|
|
1297
|
-
static toObject(includeInstance: boolean, msg: ListExecutionsResp): ListExecutionsResp.AsObject;
|
|
1298
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1299
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1300
|
-
static serializeBinaryToWriter(message: ListExecutionsResp, writer: jspb.BinaryWriter): void;
|
|
1301
|
-
static deserializeBinary(bytes: Uint8Array): ListExecutionsResp;
|
|
1302
|
-
static deserializeBinaryFromReader(message: ListExecutionsResp, reader: jspb.BinaryReader): ListExecutionsResp;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
declare namespace ListExecutionsResp {
|
|
1306
|
-
export type AsObject = {
|
|
1307
|
-
itemsList: Array<Execution$1.AsObject>,
|
|
1308
|
-
cursor: string,
|
|
1309
|
-
hasMore: boolean,
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
declare class ExecutionReq extends jspb.Message {
|
|
1314
|
-
getTaskId(): string;
|
|
1315
|
-
setTaskId(value: string): ExecutionReq;
|
|
1316
|
-
getExecutionId(): string;
|
|
1317
|
-
setExecutionId(value: string): ExecutionReq;
|
|
1318
|
-
|
|
1319
|
-
serializeBinary(): Uint8Array;
|
|
1320
|
-
toObject(includeInstance?: boolean): ExecutionReq.AsObject;
|
|
1321
|
-
static toObject(includeInstance: boolean, msg: ExecutionReq): ExecutionReq.AsObject;
|
|
1322
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1323
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1324
|
-
static serializeBinaryToWriter(message: ExecutionReq, writer: jspb.BinaryWriter): void;
|
|
1325
|
-
static deserializeBinary(bytes: Uint8Array): ExecutionReq;
|
|
1326
|
-
static deserializeBinaryFromReader(message: ExecutionReq, reader: jspb.BinaryReader): ExecutionReq;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
declare namespace ExecutionReq {
|
|
1330
|
-
export type AsObject = {
|
|
1331
|
-
taskId: string,
|
|
1332
|
-
executionId: string,
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
declare class ExecutionStatusResp extends jspb.Message {
|
|
1337
|
-
getStatus(): ExecutionStatus$1;
|
|
1338
|
-
setStatus(value: ExecutionStatus$1): ExecutionStatusResp;
|
|
1339
|
-
|
|
1340
|
-
serializeBinary(): Uint8Array;
|
|
1341
|
-
toObject(includeInstance?: boolean): ExecutionStatusResp.AsObject;
|
|
1342
|
-
static toObject(includeInstance: boolean, msg: ExecutionStatusResp): ExecutionStatusResp.AsObject;
|
|
1343
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1344
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1345
|
-
static serializeBinaryToWriter(message: ExecutionStatusResp, writer: jspb.BinaryWriter): void;
|
|
1346
|
-
static deserializeBinary(bytes: Uint8Array): ExecutionStatusResp;
|
|
1347
|
-
static deserializeBinaryFromReader(message: ExecutionStatusResp, reader: jspb.BinaryReader): ExecutionStatusResp;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
declare namespace ExecutionStatusResp {
|
|
1351
|
-
export type AsObject = {
|
|
1352
|
-
status: ExecutionStatus$1,
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
declare class GetKeyReq extends jspb.Message {
|
|
1357
|
-
getOwner(): string;
|
|
1358
|
-
setOwner(value: string): GetKeyReq;
|
|
1359
|
-
getChainId(): number;
|
|
1360
|
-
setChainId(value: number): GetKeyReq;
|
|
1361
|
-
|
|
1362
|
-
hasIssuedAt(): boolean;
|
|
1363
|
-
clearIssuedAt(): void;
|
|
1364
|
-
getIssuedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1365
|
-
setIssuedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetKeyReq;
|
|
1366
|
-
|
|
1367
|
-
hasExpiredAt(): boolean;
|
|
1368
|
-
clearExpiredAt(): void;
|
|
1369
|
-
getExpiredAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1370
|
-
setExpiredAt(value?: google_protobuf_timestamp_pb.Timestamp): GetKeyReq;
|
|
1371
|
-
getSignature(): string;
|
|
1372
|
-
setSignature(value: string): GetKeyReq;
|
|
1373
|
-
|
|
1374
|
-
serializeBinary(): Uint8Array;
|
|
1375
|
-
toObject(includeInstance?: boolean): GetKeyReq.AsObject;
|
|
1376
|
-
static toObject(includeInstance: boolean, msg: GetKeyReq): GetKeyReq.AsObject;
|
|
1377
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1378
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1379
|
-
static serializeBinaryToWriter(message: GetKeyReq, writer: jspb.BinaryWriter): void;
|
|
1380
|
-
static deserializeBinary(bytes: Uint8Array): GetKeyReq;
|
|
1381
|
-
static deserializeBinaryFromReader(message: GetKeyReq, reader: jspb.BinaryReader): GetKeyReq;
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
declare namespace GetKeyReq {
|
|
1385
|
-
export type AsObject = {
|
|
1386
|
-
owner: string,
|
|
1387
|
-
chainId: number,
|
|
1388
|
-
issuedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1389
|
-
expiredAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1390
|
-
signature: string,
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
declare class KeyResp extends jspb.Message {
|
|
1395
|
-
getKey(): string;
|
|
1396
|
-
setKey(value: string): KeyResp;
|
|
1397
|
-
|
|
1398
|
-
serializeBinary(): Uint8Array;
|
|
1399
|
-
toObject(includeInstance?: boolean): KeyResp.AsObject;
|
|
1400
|
-
static toObject(includeInstance: boolean, msg: KeyResp): KeyResp.AsObject;
|
|
1401
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1402
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1403
|
-
static serializeBinaryToWriter(message: KeyResp, writer: jspb.BinaryWriter): void;
|
|
1404
|
-
static deserializeBinary(bytes: Uint8Array): KeyResp;
|
|
1405
|
-
static deserializeBinaryFromReader(message: KeyResp, reader: jspb.BinaryReader): KeyResp;
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
declare namespace KeyResp {
|
|
1409
|
-
export type AsObject = {
|
|
1410
|
-
key: string,
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
declare class TriggerReason$1 extends jspb.Message {
|
|
1415
|
-
getBlockNumber(): number;
|
|
1416
|
-
setBlockNumber(value: number): TriggerReason$1;
|
|
1417
|
-
getLogIndex(): number;
|
|
1418
|
-
setLogIndex(value: number): TriggerReason$1;
|
|
1419
|
-
getTxHash(): string;
|
|
1420
|
-
setTxHash(value: string): TriggerReason$1;
|
|
1421
|
-
getEpoch(): number;
|
|
1422
|
-
setEpoch(value: number): TriggerReason$1;
|
|
1423
|
-
getType(): TriggerReason$1.TriggerType;
|
|
1424
|
-
setType(value: TriggerReason$1.TriggerType): TriggerReason$1;
|
|
1425
|
-
|
|
1426
|
-
serializeBinary(): Uint8Array;
|
|
1427
|
-
toObject(includeInstance?: boolean): TriggerReason$1.AsObject;
|
|
1428
|
-
static toObject(includeInstance: boolean, msg: TriggerReason$1): TriggerReason$1.AsObject;
|
|
1429
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1430
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1431
|
-
static serializeBinaryToWriter(message: TriggerReason$1, writer: jspb.BinaryWriter): void;
|
|
1432
|
-
static deserializeBinary(bytes: Uint8Array): TriggerReason$1;
|
|
1433
|
-
static deserializeBinaryFromReader(message: TriggerReason$1, reader: jspb.BinaryReader): TriggerReason$1;
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
declare namespace TriggerReason$1 {
|
|
1437
|
-
export type AsObject = {
|
|
1438
|
-
blockNumber: number,
|
|
1439
|
-
logIndex: number,
|
|
1440
|
-
txHash: string,
|
|
1441
|
-
epoch: number,
|
|
1442
|
-
type: TriggerReason$1.TriggerType,
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
export enum TriggerType {
|
|
1446
|
-
UNSET = 0,
|
|
1447
|
-
MANUAL = 2,
|
|
1448
|
-
FIXEDTIME = 3,
|
|
1449
|
-
CRON = 4,
|
|
1450
|
-
BLOCK = 5,
|
|
1451
|
-
EVENT = 6,
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
declare class GetWalletReq extends jspb.Message {
|
|
1457
|
-
getSalt(): string;
|
|
1458
|
-
setSalt(value: string): GetWalletReq;
|
|
1459
|
-
getFactoryAddress(): string;
|
|
1460
|
-
setFactoryAddress(value: string): GetWalletReq;
|
|
1461
|
-
|
|
1462
|
-
serializeBinary(): Uint8Array;
|
|
1463
|
-
toObject(includeInstance?: boolean): GetWalletReq.AsObject;
|
|
1464
|
-
static toObject(includeInstance: boolean, msg: GetWalletReq): GetWalletReq.AsObject;
|
|
1465
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1466
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1467
|
-
static serializeBinaryToWriter(message: GetWalletReq, writer: jspb.BinaryWriter): void;
|
|
1468
|
-
static deserializeBinary(bytes: Uint8Array): GetWalletReq;
|
|
1469
|
-
static deserializeBinaryFromReader(message: GetWalletReq, reader: jspb.BinaryReader): GetWalletReq;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
declare namespace GetWalletReq {
|
|
1473
|
-
export type AsObject = {
|
|
1474
|
-
salt: string,
|
|
1475
|
-
factoryAddress: string,
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
declare class GetWalletResp extends jspb.Message {
|
|
1480
|
-
getAddress(): string;
|
|
1481
|
-
setAddress(value: string): GetWalletResp;
|
|
1482
|
-
getSalt(): string;
|
|
1483
|
-
setSalt(value: string): GetWalletResp;
|
|
1484
|
-
getFactoryAddress(): string;
|
|
1485
|
-
setFactoryAddress(value: string): GetWalletResp;
|
|
1486
|
-
getTotalTaskCount(): number;
|
|
1487
|
-
setTotalTaskCount(value: number): GetWalletResp;
|
|
1488
|
-
getActiveTaskCount(): number;
|
|
1489
|
-
setActiveTaskCount(value: number): GetWalletResp;
|
|
1490
|
-
getCompletedTaskCount(): number;
|
|
1491
|
-
setCompletedTaskCount(value: number): GetWalletResp;
|
|
1492
|
-
getFailedTaskCount(): number;
|
|
1493
|
-
setFailedTaskCount(value: number): GetWalletResp;
|
|
1494
|
-
getCanceledTaskCount(): number;
|
|
1495
|
-
setCanceledTaskCount(value: number): GetWalletResp;
|
|
1496
|
-
|
|
1497
|
-
serializeBinary(): Uint8Array;
|
|
1498
|
-
toObject(includeInstance?: boolean): GetWalletResp.AsObject;
|
|
1499
|
-
static toObject(includeInstance: boolean, msg: GetWalletResp): GetWalletResp.AsObject;
|
|
1500
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1501
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1502
|
-
static serializeBinaryToWriter(message: GetWalletResp, writer: jspb.BinaryWriter): void;
|
|
1503
|
-
static deserializeBinary(bytes: Uint8Array): GetWalletResp;
|
|
1504
|
-
static deserializeBinaryFromReader(message: GetWalletResp, reader: jspb.BinaryReader): GetWalletResp;
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
declare namespace GetWalletResp {
|
|
1508
|
-
export type AsObject = {
|
|
1509
|
-
address: string,
|
|
1510
|
-
salt: string,
|
|
1511
|
-
factoryAddress: string,
|
|
1512
|
-
totalTaskCount: number,
|
|
1513
|
-
activeTaskCount: number,
|
|
1514
|
-
completedTaskCount: number,
|
|
1515
|
-
failedTaskCount: number,
|
|
1516
|
-
canceledTaskCount: number,
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
declare class UserTriggerTaskReq extends jspb.Message {
|
|
1521
|
-
getTaskId(): string;
|
|
1522
|
-
setTaskId(value: string): UserTriggerTaskReq;
|
|
1523
|
-
|
|
1524
|
-
hasReason(): boolean;
|
|
1525
|
-
clearReason(): void;
|
|
1526
|
-
getReason(): TriggerReason$1 | undefined;
|
|
1527
|
-
setReason(value?: TriggerReason$1): UserTriggerTaskReq;
|
|
1528
|
-
getIsBlocking(): boolean;
|
|
1529
|
-
setIsBlocking(value: boolean): UserTriggerTaskReq;
|
|
1530
|
-
|
|
1531
|
-
serializeBinary(): Uint8Array;
|
|
1532
|
-
toObject(includeInstance?: boolean): UserTriggerTaskReq.AsObject;
|
|
1533
|
-
static toObject(includeInstance: boolean, msg: UserTriggerTaskReq): UserTriggerTaskReq.AsObject;
|
|
1534
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1535
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1536
|
-
static serializeBinaryToWriter(message: UserTriggerTaskReq, writer: jspb.BinaryWriter): void;
|
|
1537
|
-
static deserializeBinary(bytes: Uint8Array): UserTriggerTaskReq;
|
|
1538
|
-
static deserializeBinaryFromReader(message: UserTriggerTaskReq, reader: jspb.BinaryReader): UserTriggerTaskReq;
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
declare namespace UserTriggerTaskReq {
|
|
1542
|
-
export type AsObject = {
|
|
1543
|
-
taskId: string,
|
|
1544
|
-
reason?: TriggerReason$1.AsObject,
|
|
1545
|
-
isBlocking: boolean,
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
declare class UserTriggerTaskResp extends jspb.Message {
|
|
1550
|
-
getExecutionId(): string;
|
|
1551
|
-
setExecutionId(value: string): UserTriggerTaskResp;
|
|
1552
|
-
getStatus(): ExecutionStatus$1;
|
|
1553
|
-
setStatus(value: ExecutionStatus$1): UserTriggerTaskResp;
|
|
1554
|
-
|
|
1555
|
-
serializeBinary(): Uint8Array;
|
|
1556
|
-
toObject(includeInstance?: boolean): UserTriggerTaskResp.AsObject;
|
|
1557
|
-
static toObject(includeInstance: boolean, msg: UserTriggerTaskResp): UserTriggerTaskResp.AsObject;
|
|
1558
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1559
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1560
|
-
static serializeBinaryToWriter(message: UserTriggerTaskResp, writer: jspb.BinaryWriter): void;
|
|
1561
|
-
static deserializeBinary(bytes: Uint8Array): UserTriggerTaskResp;
|
|
1562
|
-
static deserializeBinaryFromReader(message: UserTriggerTaskResp, reader: jspb.BinaryReader): UserTriggerTaskResp;
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
declare namespace UserTriggerTaskResp {
|
|
1566
|
-
export type AsObject = {
|
|
1567
|
-
executionId: string,
|
|
1568
|
-
status: ExecutionStatus$1,
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
declare class CreateOrUpdateSecretReq extends jspb.Message {
|
|
1573
|
-
getName(): string;
|
|
1574
|
-
setName(value: string): CreateOrUpdateSecretReq;
|
|
1575
|
-
getSecret(): string;
|
|
1576
|
-
setSecret(value: string): CreateOrUpdateSecretReq;
|
|
1577
|
-
getWorkflowId(): string;
|
|
1578
|
-
setWorkflowId(value: string): CreateOrUpdateSecretReq;
|
|
1579
|
-
getOrgId(): string;
|
|
1580
|
-
setOrgId(value: string): CreateOrUpdateSecretReq;
|
|
1581
|
-
|
|
1582
|
-
serializeBinary(): Uint8Array;
|
|
1583
|
-
toObject(includeInstance?: boolean): CreateOrUpdateSecretReq.AsObject;
|
|
1584
|
-
static toObject(includeInstance: boolean, msg: CreateOrUpdateSecretReq): CreateOrUpdateSecretReq.AsObject;
|
|
1585
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1586
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1587
|
-
static serializeBinaryToWriter(message: CreateOrUpdateSecretReq, writer: jspb.BinaryWriter): void;
|
|
1588
|
-
static deserializeBinary(bytes: Uint8Array): CreateOrUpdateSecretReq;
|
|
1589
|
-
static deserializeBinaryFromReader(message: CreateOrUpdateSecretReq, reader: jspb.BinaryReader): CreateOrUpdateSecretReq;
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
declare namespace CreateOrUpdateSecretReq {
|
|
1593
|
-
export type AsObject = {
|
|
1594
|
-
name: string,
|
|
1595
|
-
secret: string,
|
|
1596
|
-
workflowId: string,
|
|
1597
|
-
orgId: string,
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
declare class ListSecretsReq extends jspb.Message {
|
|
1602
|
-
getWorkflowId(): string;
|
|
1603
|
-
setWorkflowId(value: string): ListSecretsReq;
|
|
1604
|
-
|
|
1605
|
-
serializeBinary(): Uint8Array;
|
|
1606
|
-
toObject(includeInstance?: boolean): ListSecretsReq.AsObject;
|
|
1607
|
-
static toObject(includeInstance: boolean, msg: ListSecretsReq): ListSecretsReq.AsObject;
|
|
1608
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1609
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1610
|
-
static serializeBinaryToWriter(message: ListSecretsReq, writer: jspb.BinaryWriter): void;
|
|
1611
|
-
static deserializeBinary(bytes: Uint8Array): ListSecretsReq;
|
|
1612
|
-
static deserializeBinaryFromReader(message: ListSecretsReq, reader: jspb.BinaryReader): ListSecretsReq;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
declare namespace ListSecretsReq {
|
|
1616
|
-
export type AsObject = {
|
|
1617
|
-
workflowId: string,
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
declare class ListSecretsResp extends jspb.Message {
|
|
1622
|
-
clearItemsList(): void;
|
|
1623
|
-
getItemsList(): Array<ListSecretsResp.ResponseSecret>;
|
|
1624
|
-
setItemsList(value: Array<ListSecretsResp.ResponseSecret>): ListSecretsResp;
|
|
1625
|
-
addItems(value?: ListSecretsResp.ResponseSecret, index?: number): ListSecretsResp.ResponseSecret;
|
|
1626
|
-
|
|
1627
|
-
serializeBinary(): Uint8Array;
|
|
1628
|
-
toObject(includeInstance?: boolean): ListSecretsResp.AsObject;
|
|
1629
|
-
static toObject(includeInstance: boolean, msg: ListSecretsResp): ListSecretsResp.AsObject;
|
|
1630
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1631
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1632
|
-
static serializeBinaryToWriter(message: ListSecretsResp, writer: jspb.BinaryWriter): void;
|
|
1633
|
-
static deserializeBinary(bytes: Uint8Array): ListSecretsResp;
|
|
1634
|
-
static deserializeBinaryFromReader(message: ListSecretsResp, reader: jspb.BinaryReader): ListSecretsResp;
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
declare namespace ListSecretsResp {
|
|
1638
|
-
export type AsObject = {
|
|
1639
|
-
itemsList: Array<ListSecretsResp.ResponseSecret.AsObject>,
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
export class ResponseSecret extends jspb.Message {
|
|
1644
|
-
getName(): string;
|
|
1645
|
-
setName(value: string): ResponseSecret;
|
|
1646
|
-
getScope(): string;
|
|
1647
|
-
setScope(value: string): ResponseSecret;
|
|
1648
|
-
getWorkflowId(): string;
|
|
1649
|
-
setWorkflowId(value: string): ResponseSecret;
|
|
1650
|
-
getOrgId(): string;
|
|
1651
|
-
setOrgId(value: string): ResponseSecret;
|
|
1652
|
-
|
|
1653
|
-
serializeBinary(): Uint8Array;
|
|
1654
|
-
toObject(includeInstance?: boolean): ResponseSecret.AsObject;
|
|
1655
|
-
static toObject(includeInstance: boolean, msg: ResponseSecret): ResponseSecret.AsObject;
|
|
1656
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1657
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1658
|
-
static serializeBinaryToWriter(message: ResponseSecret, writer: jspb.BinaryWriter): void;
|
|
1659
|
-
static deserializeBinary(bytes: Uint8Array): ResponseSecret;
|
|
1660
|
-
static deserializeBinaryFromReader(message: ResponseSecret, reader: jspb.BinaryReader): ResponseSecret;
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
export namespace ResponseSecret {
|
|
1664
|
-
export type AsObject = {
|
|
1665
|
-
name: string,
|
|
1666
|
-
scope: string,
|
|
1667
|
-
workflowId: string,
|
|
1668
|
-
orgId: string,
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
declare class DeleteSecretReq extends jspb.Message {
|
|
1675
|
-
getName(): string;
|
|
1676
|
-
setName(value: string): DeleteSecretReq;
|
|
1677
|
-
getWorkflowId(): string;
|
|
1678
|
-
setWorkflowId(value: string): DeleteSecretReq;
|
|
1679
|
-
getOrgId(): string;
|
|
1680
|
-
setOrgId(value: string): DeleteSecretReq;
|
|
1681
|
-
|
|
1682
|
-
serializeBinary(): Uint8Array;
|
|
1683
|
-
toObject(includeInstance?: boolean): DeleteSecretReq.AsObject;
|
|
1684
|
-
static toObject(includeInstance: boolean, msg: DeleteSecretReq): DeleteSecretReq.AsObject;
|
|
1685
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1686
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1687
|
-
static serializeBinaryToWriter(message: DeleteSecretReq, writer: jspb.BinaryWriter): void;
|
|
1688
|
-
static deserializeBinary(bytes: Uint8Array): DeleteSecretReq;
|
|
1689
|
-
static deserializeBinaryFromReader(message: DeleteSecretReq, reader: jspb.BinaryReader): DeleteSecretReq;
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
declare namespace DeleteSecretReq {
|
|
1693
|
-
export type AsObject = {
|
|
1694
|
-
name: string,
|
|
1695
|
-
workflowId: string,
|
|
1696
|
-
orgId: string,
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
declare enum TaskStatus {
|
|
1701
|
-
ACTIVE = 0,
|
|
1702
|
-
COMPLETED = 1,
|
|
1703
|
-
FAILED = 2,
|
|
1704
|
-
CANCELED = 3,
|
|
1705
|
-
EXECUTING = 4,
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
declare enum ExecutionStatus$1 {
|
|
1709
|
-
QUEUED = 0,
|
|
1710
|
-
FINISHED = 2,
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
declare enum CustomCodeLang {
|
|
1714
|
-
JAVASCRIPT = 0,
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
// package: aggregator
|
|
1718
|
-
// file: avs.proto
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
interface IAggregatorClient {
|
|
1723
|
-
getKey(request: GetKeyReq, callback: (error: grpc.ServiceError | null, response: KeyResp) => void): grpc.ClientUnaryCall;
|
|
1724
|
-
getKey(request: GetKeyReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: KeyResp) => void): grpc.ClientUnaryCall;
|
|
1725
|
-
getKey(request: GetKeyReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: KeyResp) => void): grpc.ClientUnaryCall;
|
|
1726
|
-
getNonce(request: NonceRequest, callback: (error: grpc.ServiceError | null, response: NonceResp) => void): grpc.ClientUnaryCall;
|
|
1727
|
-
getNonce(request: NonceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: NonceResp) => void): grpc.ClientUnaryCall;
|
|
1728
|
-
getNonce(request: NonceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: NonceResp) => void): grpc.ClientUnaryCall;
|
|
1729
|
-
getWallet(request: GetWalletReq, callback: (error: grpc.ServiceError | null, response: GetWalletResp) => void): grpc.ClientUnaryCall;
|
|
1730
|
-
getWallet(request: GetWalletReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: GetWalletResp) => void): grpc.ClientUnaryCall;
|
|
1731
|
-
getWallet(request: GetWalletReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: GetWalletResp) => void): grpc.ClientUnaryCall;
|
|
1732
|
-
listWallets(request: ListWalletReq, callback: (error: grpc.ServiceError | null, response: ListWalletResp) => void): grpc.ClientUnaryCall;
|
|
1733
|
-
listWallets(request: ListWalletReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListWalletResp) => void): grpc.ClientUnaryCall;
|
|
1734
|
-
listWallets(request: ListWalletReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListWalletResp) => void): grpc.ClientUnaryCall;
|
|
1735
|
-
createTask(request: CreateTaskReq, callback: (error: grpc.ServiceError | null, response: CreateTaskResp) => void): grpc.ClientUnaryCall;
|
|
1736
|
-
createTask(request: CreateTaskReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: CreateTaskResp) => void): grpc.ClientUnaryCall;
|
|
1737
|
-
createTask(request: CreateTaskReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: CreateTaskResp) => void): grpc.ClientUnaryCall;
|
|
1738
|
-
listTasks(request: ListTasksReq, callback: (error: grpc.ServiceError | null, response: ListTasksResp) => void): grpc.ClientUnaryCall;
|
|
1739
|
-
listTasks(request: ListTasksReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListTasksResp) => void): grpc.ClientUnaryCall;
|
|
1740
|
-
listTasks(request: ListTasksReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListTasksResp) => void): grpc.ClientUnaryCall;
|
|
1741
|
-
getTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: Task) => void): grpc.ClientUnaryCall;
|
|
1742
|
-
getTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Task) => void): grpc.ClientUnaryCall;
|
|
1743
|
-
getTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Task) => void): grpc.ClientUnaryCall;
|
|
1744
|
-
listExecutions(request: ListExecutionsReq, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1745
|
-
listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1746
|
-
listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1747
|
-
getExecution(request: ExecutionReq, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1748
|
-
getExecution(request: ExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1749
|
-
getExecution(request: ExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1750
|
-
getExecutionStatus(request: ExecutionReq, callback: (error: grpc.ServiceError | null, response: ExecutionStatusResp) => void): grpc.ClientUnaryCall;
|
|
1751
|
-
getExecutionStatus(request: ExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ExecutionStatusResp) => void): grpc.ClientUnaryCall;
|
|
1752
|
-
getExecutionStatus(request: ExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ExecutionStatusResp) => void): grpc.ClientUnaryCall;
|
|
1753
|
-
cancelTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1754
|
-
cancelTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1755
|
-
cancelTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1756
|
-
deleteTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1757
|
-
deleteTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1758
|
-
deleteTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1759
|
-
triggerTask(request: UserTriggerTaskReq, callback: (error: grpc.ServiceError | null, response: UserTriggerTaskResp) => void): grpc.ClientUnaryCall;
|
|
1760
|
-
triggerTask(request: UserTriggerTaskReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: UserTriggerTaskResp) => void): grpc.ClientUnaryCall;
|
|
1761
|
-
triggerTask(request: UserTriggerTaskReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: UserTriggerTaskResp) => void): grpc.ClientUnaryCall;
|
|
1762
|
-
createSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1763
|
-
createSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1764
|
-
createSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1765
|
-
deleteSecret(request: DeleteSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1766
|
-
deleteSecret(request: DeleteSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1767
|
-
deleteSecret(request: DeleteSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1768
|
-
listSecrets(request: ListSecretsReq, callback: (error: grpc.ServiceError | null, response: ListSecretsResp) => void): grpc.ClientUnaryCall;
|
|
1769
|
-
listSecrets(request: ListSecretsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListSecretsResp) => void): grpc.ClientUnaryCall;
|
|
1770
|
-
listSecrets(request: ListSecretsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListSecretsResp) => void): grpc.ClientUnaryCall;
|
|
1771
|
-
updateSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1772
|
-
updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1773
|
-
updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
declare class AggregatorClient extends grpc.Client implements IAggregatorClient {
|
|
1777
|
-
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
1778
|
-
public getKey(request: GetKeyReq, callback: (error: grpc.ServiceError | null, response: KeyResp) => void): grpc.ClientUnaryCall;
|
|
1779
|
-
public getKey(request: GetKeyReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: KeyResp) => void): grpc.ClientUnaryCall;
|
|
1780
|
-
public getKey(request: GetKeyReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: KeyResp) => void): grpc.ClientUnaryCall;
|
|
1781
|
-
public getNonce(request: NonceRequest, callback: (error: grpc.ServiceError | null, response: NonceResp) => void): grpc.ClientUnaryCall;
|
|
1782
|
-
public getNonce(request: NonceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: NonceResp) => void): grpc.ClientUnaryCall;
|
|
1783
|
-
public getNonce(request: NonceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: NonceResp) => void): grpc.ClientUnaryCall;
|
|
1784
|
-
public getWallet(request: GetWalletReq, callback: (error: grpc.ServiceError | null, response: GetWalletResp) => void): grpc.ClientUnaryCall;
|
|
1785
|
-
public getWallet(request: GetWalletReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: GetWalletResp) => void): grpc.ClientUnaryCall;
|
|
1786
|
-
public getWallet(request: GetWalletReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: GetWalletResp) => void): grpc.ClientUnaryCall;
|
|
1787
|
-
public listWallets(request: ListWalletReq, callback: (error: grpc.ServiceError | null, response: ListWalletResp) => void): grpc.ClientUnaryCall;
|
|
1788
|
-
public listWallets(request: ListWalletReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListWalletResp) => void): grpc.ClientUnaryCall;
|
|
1789
|
-
public listWallets(request: ListWalletReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListWalletResp) => void): grpc.ClientUnaryCall;
|
|
1790
|
-
public createTask(request: CreateTaskReq, callback: (error: grpc.ServiceError | null, response: CreateTaskResp) => void): grpc.ClientUnaryCall;
|
|
1791
|
-
public createTask(request: CreateTaskReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: CreateTaskResp) => void): grpc.ClientUnaryCall;
|
|
1792
|
-
public createTask(request: CreateTaskReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: CreateTaskResp) => void): grpc.ClientUnaryCall;
|
|
1793
|
-
public listTasks(request: ListTasksReq, callback: (error: grpc.ServiceError | null, response: ListTasksResp) => void): grpc.ClientUnaryCall;
|
|
1794
|
-
public listTasks(request: ListTasksReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListTasksResp) => void): grpc.ClientUnaryCall;
|
|
1795
|
-
public listTasks(request: ListTasksReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListTasksResp) => void): grpc.ClientUnaryCall;
|
|
1796
|
-
public getTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: Task) => void): grpc.ClientUnaryCall;
|
|
1797
|
-
public getTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Task) => void): grpc.ClientUnaryCall;
|
|
1798
|
-
public getTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Task) => void): grpc.ClientUnaryCall;
|
|
1799
|
-
public listExecutions(request: ListExecutionsReq, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1800
|
-
public listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1801
|
-
public listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1802
|
-
public getExecution(request: ExecutionReq, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1803
|
-
public getExecution(request: ExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1804
|
-
public getExecution(request: ExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1805
|
-
public getExecutionStatus(request: ExecutionReq, callback: (error: grpc.ServiceError | null, response: ExecutionStatusResp) => void): grpc.ClientUnaryCall;
|
|
1806
|
-
public getExecutionStatus(request: ExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ExecutionStatusResp) => void): grpc.ClientUnaryCall;
|
|
1807
|
-
public getExecutionStatus(request: ExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ExecutionStatusResp) => void): grpc.ClientUnaryCall;
|
|
1808
|
-
public cancelTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1809
|
-
public cancelTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1810
|
-
public cancelTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1811
|
-
public deleteTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1812
|
-
public deleteTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1813
|
-
public deleteTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1814
|
-
public triggerTask(request: UserTriggerTaskReq, callback: (error: grpc.ServiceError | null, response: UserTriggerTaskResp) => void): grpc.ClientUnaryCall;
|
|
1815
|
-
public triggerTask(request: UserTriggerTaskReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: UserTriggerTaskResp) => void): grpc.ClientUnaryCall;
|
|
1816
|
-
public triggerTask(request: UserTriggerTaskReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: UserTriggerTaskResp) => void): grpc.ClientUnaryCall;
|
|
1817
|
-
public createSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1818
|
-
public createSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1819
|
-
public createSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1820
|
-
public deleteSecret(request: DeleteSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1821
|
-
public deleteSecret(request: DeleteSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1822
|
-
public deleteSecret(request: DeleteSecretReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1823
|
-
public listSecrets(request: ListSecretsReq, callback: (error: grpc.ServiceError | null, response: ListSecretsResp) => void): grpc.ClientUnaryCall;
|
|
1824
|
-
public listSecrets(request: ListSecretsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListSecretsResp) => void): grpc.ClientUnaryCall;
|
|
1825
|
-
public listSecrets(request: ListSecretsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListSecretsResp) => void): grpc.ClientUnaryCall;
|
|
1826
|
-
public updateSecret(request: CreateOrUpdateSecretReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1827
|
-
public updateSecret(request: CreateOrUpdateSecretReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1828
|
-
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;
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
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;
|
|
1832
|
-
type NodeProps = Omit<TaskNode.AsObject, "ethTransfer" | "contractWrite" | "contractRead" | "graphqlDataQuery" | "restApi" | "branch" | "filter" | "loop" | "customCode"> & {
|
|
1833
|
-
type: NodeType;
|
|
1834
|
-
data: NodeData;
|
|
1835
|
-
};
|
|
1836
|
-
declare class Node implements NodeProps {
|
|
1837
|
-
id: string;
|
|
1838
|
-
name: string;
|
|
1839
|
-
type: NodeType;
|
|
1840
|
-
data: NodeData;
|
|
1841
|
-
constructor(props: NodeProps);
|
|
1842
|
-
toRequest(): TaskNode;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
type EdgeProps = TaskEdge.AsObject;
|
|
1846
|
-
declare class Edge implements EdgeProps {
|
|
1847
|
-
id: string;
|
|
1848
|
-
source: string;
|
|
1849
|
-
target: string;
|
|
1850
|
-
constructor(edge: EdgeProps);
|
|
1851
|
-
static fromResponse(edge: TaskEdge): Edge;
|
|
1852
|
-
toRequest(): TaskEdge;
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
type Environment = "production" | "development" | "staging";
|
|
1856
|
-
declare const AUTH_KEY_HEADER = "authkey";
|
|
1857
|
-
declare const DEFAULT_LIMIT = 10;
|
|
1858
|
-
interface RequestOptions {
|
|
1859
|
-
authKey?: string;
|
|
1860
|
-
}
|
|
1861
|
-
interface GetExecutionsRequest extends RequestOptions {
|
|
1862
|
-
cursor?: string;
|
|
1863
|
-
limit?: number;
|
|
1864
|
-
}
|
|
1865
|
-
interface GetWorkflowsRequest extends RequestOptions {
|
|
1866
|
-
cursor?: string;
|
|
1867
|
-
limit?: number;
|
|
1868
|
-
}
|
|
1869
|
-
interface GetWalletRequest {
|
|
1870
|
-
salt: string;
|
|
1871
|
-
factoryAddress?: string;
|
|
1872
|
-
}
|
|
1873
|
-
interface ClientOption {
|
|
1874
|
-
endpoint: string;
|
|
1875
|
-
factoryAddress?: string;
|
|
1876
|
-
}
|
|
1877
|
-
declare enum WorkflowStatus {
|
|
1878
|
-
Active = "active",
|
|
1879
|
-
Completed = "completed",
|
|
1880
|
-
Failed = "failed",
|
|
1881
|
-
Canceled = "canceled",
|
|
1882
|
-
Executing = "executing"
|
|
1883
|
-
}
|
|
1884
|
-
declare enum TriggerType {
|
|
1885
|
-
Manual = "manual",
|
|
1886
|
-
FixedTime = "fixed_time",
|
|
1887
|
-
Cron = "cron",
|
|
1888
|
-
Block = "block",
|
|
1889
|
-
Event = "event",
|
|
1890
|
-
Unset = "unset"
|
|
1891
|
-
}
|
|
1892
|
-
type SmartWallet = SmartWallet$1.AsObject & {
|
|
1893
|
-
totalTaskCount?: number;
|
|
1894
|
-
activeTaskCount?: number;
|
|
1895
|
-
completedTaskCount?: number;
|
|
1896
|
-
failedTaskCount?: number;
|
|
1897
|
-
canceledTaskCount?: number;
|
|
1898
|
-
};
|
|
1899
|
-
declare const ExecutionStatus: typeof ExecutionStatus$1;
|
|
1900
|
-
interface ListSecretResponse {
|
|
1901
|
-
name: string;
|
|
1902
|
-
workflowId?: string;
|
|
1903
|
-
orgId?: string;
|
|
1904
|
-
}
|
|
1905
|
-
interface SecretRequestOptions extends RequestOptions {
|
|
1906
|
-
workflowId?: string;
|
|
1907
|
-
orgId?: string;
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
type TriggerData = FixedTimeCondition.AsObject | CronCondition.AsObject | BlockCondition.AsObject | EventCondition.AsObject | null;
|
|
1911
|
-
type TriggerProps = Omit<TaskTrigger.AsObject, "manual" | "fixedTime" | "cron" | "block" | "event"> & {
|
|
1912
|
-
type: TriggerType;
|
|
1913
|
-
data: TriggerData;
|
|
1914
|
-
};
|
|
1915
|
-
declare class Trigger implements TriggerProps {
|
|
1916
|
-
id: string;
|
|
1917
|
-
name: string;
|
|
1918
|
-
type: TriggerType;
|
|
1919
|
-
data: TriggerData;
|
|
1920
|
-
/**
|
|
1921
|
-
* Create an instance of Trigger from user inputs
|
|
1922
|
-
* @param props
|
|
1923
|
-
*/
|
|
1924
|
-
constructor(props: TriggerProps);
|
|
1925
|
-
toRequest(): TaskTrigger;
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
type WorkflowProps = Omit<Task.AsObject, "id" | "owner" | "completedAt" | "status" | "executionsList" | "name" | "trigger" | "nodesList" | "edgesList" | "totalExecution" | "lastRanAt"> & {
|
|
1929
|
-
id?: string;
|
|
1930
|
-
owner?: string;
|
|
1931
|
-
completedAt?: number;
|
|
1932
|
-
status?: WorkflowStatus;
|
|
1933
|
-
name?: string;
|
|
1934
|
-
trigger: Trigger;
|
|
1935
|
-
nodes: Node[];
|
|
1936
|
-
edges: Edge[];
|
|
1937
|
-
totalExecution?: number;
|
|
1938
|
-
lastRanAt?: number;
|
|
1939
|
-
};
|
|
1940
|
-
declare class Workflow implements WorkflowProps {
|
|
1941
|
-
smartWalletAddress: string;
|
|
1942
|
-
trigger: Trigger;
|
|
1943
|
-
nodes: Node[];
|
|
1944
|
-
edges: Edge[];
|
|
1945
|
-
startAt: number;
|
|
1946
|
-
expiredAt: number;
|
|
1947
|
-
maxExecution: number;
|
|
1948
|
-
id?: string;
|
|
1949
|
-
owner?: string;
|
|
1950
|
-
name?: string;
|
|
1951
|
-
completedAt?: number;
|
|
1952
|
-
status?: WorkflowStatus;
|
|
1953
|
-
totalExecution?: number;
|
|
1954
|
-
lastRanAt?: number;
|
|
1955
|
-
/**
|
|
1956
|
-
* Create an instance of Workflow from user inputs
|
|
1957
|
-
* @param props
|
|
1958
|
-
*/
|
|
1959
|
-
constructor(props: WorkflowProps);
|
|
1960
|
-
/**
|
|
1961
|
-
* Create an instance of Workflow from AVS getWorkflow response
|
|
1962
|
-
* @param res
|
|
1963
|
-
* @returns
|
|
1964
|
-
*/
|
|
1965
|
-
static fromResponse(obj: Task): Workflow;
|
|
1966
|
-
/**
|
|
1967
|
-
* Create an instance of Workflow with only selected fields
|
|
1968
|
-
* @param obj
|
|
1969
|
-
*/
|
|
1970
|
-
static fromListResponse(obj: ListTasksResp.Item): Workflow;
|
|
1971
|
-
toRequest(): CreateTaskReq;
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
type TriggerReasonProps = {
|
|
1975
|
-
type: TriggerType.FixedTime;
|
|
1976
|
-
epoch: number;
|
|
1977
|
-
} | {
|
|
1978
|
-
type: TriggerType.Cron;
|
|
1979
|
-
epoch: number;
|
|
1980
|
-
} | {
|
|
1981
|
-
type: TriggerType.Block;
|
|
1982
|
-
blockNumber: number;
|
|
1983
|
-
} | {
|
|
1984
|
-
type: TriggerType.Event;
|
|
1985
|
-
blockNumber: number;
|
|
1986
|
-
logIndex: number;
|
|
1987
|
-
txHash: string;
|
|
1988
|
-
} | {
|
|
1989
|
-
type: TriggerType.Manual;
|
|
1990
|
-
} | {
|
|
1991
|
-
type: TriggerType.Unset;
|
|
1992
|
-
};
|
|
1993
|
-
declare class TriggerReason {
|
|
1994
|
-
type: TriggerType;
|
|
1995
|
-
blockNumber?: number;
|
|
1996
|
-
epoch?: number;
|
|
1997
|
-
logIndex?: number;
|
|
1998
|
-
txHash?: string;
|
|
1999
|
-
constructor(props: TriggerReasonProps);
|
|
2000
|
-
static fromResponse(data: TriggerReason$1 | undefined): TriggerReason | undefined;
|
|
2001
|
-
toRequest(): TriggerReason$1;
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
type StepProps = Execution$1.Step.AsObject;
|
|
2005
|
-
declare class Step implements StepProps {
|
|
2006
|
-
nodeId: string;
|
|
2007
|
-
success: boolean;
|
|
2008
|
-
outputData: string;
|
|
2009
|
-
log: string;
|
|
2010
|
-
error: string;
|
|
2011
|
-
startAt: number;
|
|
2012
|
-
endAt: number;
|
|
2013
|
-
inputsList: string[];
|
|
2014
|
-
constructor(props: StepProps);
|
|
2015
|
-
static fromResponse(step: Execution$1.Step): Step;
|
|
2016
|
-
toRequest(): Execution$1.Step;
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
type OutputDataProps = Execution$1.EvmLogOutput.AsObject | Execution$1.TransferLogOutput.AsObject | Execution$1.BlockOutput.AsObject | Execution$1.TimeOutput.AsObject | undefined;
|
|
2020
|
-
type ExecutionProps = Omit<Execution$1.AsObject, "stepsList" | "reason" | "transferLog" | "evmLog" | "block" | "time"> & {
|
|
2021
|
-
stepsList: Step[];
|
|
2022
|
-
triggerReason: TriggerReason | undefined;
|
|
2023
|
-
outputData: OutputDataProps;
|
|
2024
|
-
};
|
|
2025
|
-
declare class Execution implements ExecutionProps {
|
|
2026
|
-
id: string;
|
|
2027
|
-
startAt: number;
|
|
2028
|
-
endAt: number;
|
|
2029
|
-
success: boolean;
|
|
2030
|
-
error: string;
|
|
2031
|
-
stepsList: Step[];
|
|
2032
|
-
triggerReason: TriggerReason | undefined;
|
|
2033
|
-
triggerName: string;
|
|
2034
|
-
outputData: OutputDataProps;
|
|
2035
|
-
constructor(props: ExecutionProps);
|
|
2036
|
-
static fromResponse(execution: Execution$1): Execution;
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
type ContractWriteNodeData = ContractWriteNode$1.AsObject;
|
|
2040
|
-
type ContractWriteNodeProps = NodeProps & {
|
|
2041
|
-
data: ContractWriteNodeData;
|
|
2042
|
-
};
|
|
2043
|
-
declare class ContractWriteNode extends Node {
|
|
2044
|
-
constructor(props: ContractWriteNodeProps);
|
|
2045
|
-
static fromResponse(raw: TaskNode): ContractWriteNode;
|
|
2046
|
-
toRequest(): TaskNode;
|
|
2047
|
-
}
|
|
2048
|
-
|
|
2049
|
-
type CustomCodeNodeData = CustomCodeNode$1.AsObject;
|
|
2050
|
-
declare const CustomCodeLangs: typeof CustomCodeLang;
|
|
2051
|
-
type CustomCodeNodeProps = NodeProps & {
|
|
2052
|
-
data: CustomCodeNodeData;
|
|
2053
|
-
};
|
|
2054
|
-
declare class CustomCodeNode extends Node {
|
|
2055
|
-
constructor(props: CustomCodeNodeProps);
|
|
2056
|
-
static fromResponse(raw: TaskNode): CustomCodeNode;
|
|
2057
|
-
toRequest(): TaskNode;
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
type GraphQLQueryNodeData = GraphQLQueryNode$1.AsObject;
|
|
2061
|
-
type GraphQLQueryNodeProps = NodeProps & {
|
|
2062
|
-
data: GraphQLQueryNodeData;
|
|
2063
|
-
};
|
|
2064
|
-
declare class GraphQLQueryNode extends Node {
|
|
2065
|
-
constructor(props: GraphQLQueryNodeProps);
|
|
2066
|
-
static fromResponse(raw: TaskNode): GraphQLQueryNode;
|
|
2067
|
-
toRequest(): TaskNode;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
type RestAPINodeData = RestAPINode$1.AsObject;
|
|
2071
|
-
type RestAPINodeProps = NodeProps & {
|
|
2072
|
-
data: RestAPINodeData;
|
|
2073
|
-
};
|
|
2074
|
-
declare class RestAPINode extends Node {
|
|
2075
|
-
constructor(props: RestAPINodeProps);
|
|
2076
|
-
static fromResponse(raw: TaskNode): RestAPINode;
|
|
2077
|
-
toRequest(): TaskNode;
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
type ContractReadNodeData = ContractReadNode$1.AsObject;
|
|
2081
|
-
type ContractReadNodeProps = NodeProps & {
|
|
2082
|
-
data: ContractReadNodeData;
|
|
2083
|
-
};
|
|
2084
|
-
declare class ContractReadNode extends Node {
|
|
2085
|
-
constructor(props: ContractReadNodeProps);
|
|
2086
|
-
static fromResponse(raw: TaskNode): ContractReadNode;
|
|
2087
|
-
toRequest(): TaskNode;
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
|
-
type ETHTransferNodeData = ETHTransferNode$1.AsObject;
|
|
2091
|
-
type ETHTransferNodeProps = NodeProps & {
|
|
2092
|
-
data: ETHTransferNodeData;
|
|
2093
|
-
};
|
|
2094
|
-
declare class ETHTransferNode extends Node {
|
|
2095
|
-
constructor(props: ETHTransferNodeProps);
|
|
2096
|
-
static fromResponse(raw: TaskNode): ETHTransferNode;
|
|
2097
|
-
toRequest(): TaskNode;
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
type BranchNodeData = BranchNode$1.AsObject;
|
|
2101
|
-
type BranchNodeProps = NodeProps & {
|
|
2102
|
-
data: BranchNodeData;
|
|
2103
|
-
};
|
|
2104
|
-
declare class BranchNode extends Node {
|
|
2105
|
-
constructor(props: BranchNodeProps);
|
|
2106
|
-
static fromResponse(raw: TaskNode): BranchNode;
|
|
2107
|
-
toRequest(): TaskNode;
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
type FilterNodeData = FilterNode$1.AsObject;
|
|
2111
|
-
type FilterNodeProps = NodeProps & {
|
|
2112
|
-
data: FilterNodeData;
|
|
2113
|
-
};
|
|
2114
|
-
declare class FilterNode extends Node {
|
|
2115
|
-
constructor(props: FilterNodeProps);
|
|
2116
|
-
static fromResponse(raw: TaskNode): FilterNode;
|
|
2117
|
-
toRequest(): TaskNode;
|
|
2118
|
-
}
|
|
2119
|
-
|
|
2120
|
-
declare class NodeFactory {
|
|
2121
|
-
static create(props: NodeProps): Node;
|
|
2122
|
-
static createNodes(props: NodeProps[]): Node[];
|
|
2123
|
-
static fromResponse(raw: TaskNode): Node;
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
type BlockTriggerDataType = BlockCondition.AsObject;
|
|
2127
|
-
type BlockTriggerProps = TriggerProps & {
|
|
2128
|
-
data: BlockTriggerDataType;
|
|
2129
|
-
};
|
|
2130
|
-
declare class BlockTrigger extends Trigger {
|
|
2131
|
-
constructor(props: BlockTriggerProps);
|
|
2132
|
-
toRequest(): TaskTrigger;
|
|
2133
|
-
static fromResponse(raw: TaskTrigger): BlockTrigger;
|
|
2134
|
-
}
|
|
2135
|
-
|
|
2136
|
-
type CronTriggerDataType = CronCondition.AsObject;
|
|
2137
|
-
type CronTriggerProps = TriggerProps & {
|
|
2138
|
-
data: CronTriggerDataType;
|
|
2139
|
-
};
|
|
2140
|
-
declare class CronTrigger extends Trigger {
|
|
2141
|
-
constructor(props: CronTriggerProps);
|
|
2142
|
-
toRequest(): TaskTrigger;
|
|
2143
|
-
static fromResponse(raw: TaskTrigger): CronTrigger;
|
|
2144
|
-
}
|
|
2145
|
-
|
|
2146
|
-
type EventTriggerDataType = EventCondition.AsObject;
|
|
2147
|
-
type EventTriggerProps = TriggerProps & {
|
|
2148
|
-
data: EventTriggerDataType;
|
|
2149
|
-
};
|
|
2150
|
-
declare class EventTrigger extends Trigger {
|
|
2151
|
-
constructor(props: EventTriggerProps);
|
|
2152
|
-
toRequest(): TaskTrigger;
|
|
2153
|
-
static fromResponse(raw: TaskTrigger): EventTrigger;
|
|
2154
|
-
}
|
|
2155
|
-
|
|
2156
|
-
type FixedTimeTriggerDataType = FixedTimeCondition.AsObject;
|
|
2157
|
-
type FixedTimeTriggerProps = TriggerProps & {
|
|
2158
|
-
data: FixedTimeTriggerDataType;
|
|
2159
|
-
};
|
|
2160
|
-
declare class FixedTimeTrigger extends Trigger {
|
|
2161
|
-
constructor(props: FixedTimeTriggerProps);
|
|
2162
|
-
toRequest(): TaskTrigger;
|
|
2163
|
-
static fromResponse(raw: TaskTrigger): FixedTimeTrigger;
|
|
2164
|
-
}
|
|
2165
|
-
|
|
2166
|
-
declare class TriggerFactory {
|
|
2167
|
-
/**
|
|
2168
|
-
* Static factory method to create Trigger instances
|
|
2169
|
-
* @param props
|
|
2170
|
-
* @returns
|
|
2171
|
-
*/
|
|
2172
|
-
static create(props: TriggerProps): Trigger;
|
|
2173
|
-
/**
|
|
2174
|
-
* Create an instance of Trigger from AVS getWorkflow or getWorkflows response
|
|
2175
|
-
* @param trigger
|
|
2176
|
-
* @returns
|
|
2177
|
-
*/
|
|
2178
|
-
static fromResponse(raw: TaskTrigger): Trigger;
|
|
2179
|
-
}
|
|
2180
|
-
|
|
2181
|
-
type SecretProps = {
|
|
2182
|
-
name: string;
|
|
2183
|
-
secret: string;
|
|
2184
|
-
workflowId?: string;
|
|
2185
|
-
orgId?: string;
|
|
2186
|
-
};
|
|
2187
|
-
declare class Secret implements SecretProps {
|
|
2188
|
-
name: string;
|
|
2189
|
-
secret: string;
|
|
2190
|
-
workflowId?: string;
|
|
2191
|
-
orgId?: string;
|
|
2192
|
-
constructor(props: SecretProps);
|
|
2193
|
-
toRequest(): CreateOrUpdateSecretReq;
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
declare class BaseClient {
|
|
2197
|
-
readonly endpoint: string;
|
|
2198
|
-
readonly rpcClient: AggregatorClient;
|
|
2199
|
-
protected metadata: Metadata;
|
|
2200
|
-
protected factoryAddress?: string;
|
|
2201
|
-
protected authKey?: string;
|
|
2202
|
-
constructor(opts: ClientOption);
|
|
2203
|
-
/**
|
|
2204
|
-
* Check if the auth key is valid by decoding the JWT token and checking the expiration
|
|
2205
|
-
* @param key - The auth key
|
|
2206
|
-
* @returns {boolean} - Whether the auth key is valid
|
|
2207
|
-
*/
|
|
2208
|
-
isAuthKeyValid(key: string): boolean;
|
|
2209
|
-
/**
|
|
2210
|
-
* The API key could retrieve a wallet's authKey by skipping its signature verification
|
|
2211
|
-
* @param chainId - The chain id
|
|
2212
|
-
* @param address - The address of the EOA wallet
|
|
2213
|
-
* @param issuedAt - The issued at timestamp
|
|
2214
|
-
* @param expiredAt - The expiration timestamp
|
|
2215
|
-
* @param apiKey - The API key
|
|
2216
|
-
* @returns {Promise<GetKeyResponse>} - The response from the auth call
|
|
2217
|
-
*/
|
|
2218
|
-
authWithAPIKey({ chainId, address, issuedAt, expiredAt, apiKey, }: GetKeyRequestApiKey): Promise<GetKeyResponse>;
|
|
2219
|
-
/**
|
|
2220
|
-
* Getting an authKey from the server by verifying the signature of an EOA wallet
|
|
2221
|
-
* @param chainId - The chain id
|
|
2222
|
-
* @param address - The address of the EOA wallet
|
|
2223
|
-
* @param issuedAt - The issued at timestamp
|
|
2224
|
-
* @param expiredAt - The expiration timestamp
|
|
2225
|
-
* @param signature - The signature of the EOA wallet
|
|
2226
|
-
* @returns {Promise<GetKeyResponse>} - The response from the auth call
|
|
2227
|
-
*/
|
|
2228
|
-
authWithSignature({ chainId, address, issuedAt, expiredAt, signature, }: GetKeyRequestSignature): Promise<GetKeyResponse>;
|
|
2229
|
-
/**
|
|
2230
|
-
* The client could choose to store the authKey and use it for all requests; setting it to undefined will unset the authKey
|
|
2231
|
-
* The authKey can be overridden at the request level by request options
|
|
2232
|
-
* @param authKey - The auth key
|
|
2233
|
-
*/
|
|
2234
|
-
setAuthKey(authKey: string | undefined): void;
|
|
2235
|
-
/**
|
|
2236
|
-
* Get the auth key if it's set in the client
|
|
2237
|
-
* @returns {string | undefined} - The auth key
|
|
2238
|
-
*/
|
|
2239
|
-
getAuthKey(): string | undefined;
|
|
2240
|
-
/**
|
|
2241
|
-
* Set the factory address of smart wallets for the client
|
|
2242
|
-
* @param address - The factory address
|
|
2243
|
-
*/
|
|
2244
|
-
setFactoryAddress(address: string): void;
|
|
2245
|
-
/**
|
|
2246
|
-
* Get the factory address if it's set in the client
|
|
2247
|
-
* @returns {string | undefined} - The factory address
|
|
2248
|
-
*/
|
|
2249
|
-
getFactoryAddress(): string | undefined;
|
|
2250
|
-
/**
|
|
2251
|
-
* Send a gRPC request with an auth key
|
|
2252
|
-
* @param method - The method name
|
|
2253
|
-
* @param request - The request message
|
|
2254
|
-
* @param options - The request options
|
|
2255
|
-
* @returns {Promise<TResponse>} - The response from the gRPC call
|
|
2256
|
-
*/
|
|
2257
|
-
protected sendGrpcRequest<TResponse, TRequest>(method: string, request: TRequest | any, options?: RequestOptions): Promise<TResponse>;
|
|
2258
|
-
}
|
|
2259
|
-
declare class Client extends BaseClient {
|
|
2260
|
-
constructor(config: ClientOption);
|
|
2261
|
-
/**
|
|
2262
|
-
* Get the list of smart wallets; new wallets can be added to the list by calling `getWallet`
|
|
2263
|
-
* @param {RequestOptions} options - Request options
|
|
2264
|
-
* @returns {Promise<SmartWallet[]>} - The list of SmartWallet objects
|
|
2265
|
-
*/
|
|
2266
|
-
getWallets(options?: RequestOptions): Promise<SmartWallet[]>;
|
|
2267
|
-
/**
|
|
2268
|
-
* Add a new smart wallet address to the wallet list
|
|
2269
|
-
* @param {string} salt - The salt for the wallet
|
|
2270
|
-
* @param {string} factoryAddress - Factory address for the wallet; if not provided, the address stored in the client will be used
|
|
2271
|
-
* @param {RequestOptions} options - Request options
|
|
2272
|
-
* @returns {Promise<SmartWallet>} - The added SmartWallet object
|
|
2273
|
-
*/
|
|
2274
|
-
getWallet({ salt, factoryAddress }: GetWalletRequest, options?: RequestOptions): Promise<SmartWallet>;
|
|
2275
|
-
/**
|
|
2276
|
-
* Submit a workflow to the AVS server; once the workflow is submitted, it cannot be modified
|
|
2277
|
-
* @param {Workflow} workflow - Workflow object to submit
|
|
2278
|
-
* @param {RequestOptions} options - Request options
|
|
2279
|
-
* @returns {Promise<string>} - The Id of the submitted workflow
|
|
2280
|
-
*/
|
|
2281
|
-
submitWorkflow(workflow: Workflow, options?: RequestOptions): Promise<string>;
|
|
2282
|
-
createWorkflow(props: WorkflowProps): Workflow;
|
|
2283
|
-
/**
|
|
2284
|
-
* Get the list of workflows; new workflows can be created by calling `submitWorkflow`
|
|
2285
|
-
* @param {string} address - The address of the smart wallet
|
|
2286
|
-
* @param {string} cursor - The cursor for the list
|
|
2287
|
-
* @param {number} limit - The limit for the list
|
|
2288
|
-
* @param {RequestOptions} options - Request options
|
|
2289
|
-
* @returns {Promise<{ cursor: string; result: Workflow[] }>} - The list of Workflow objects
|
|
2290
|
-
*/
|
|
2291
|
-
getWorkflows(addresses: string[], options?: GetWorkflowsRequest): Promise<{
|
|
2292
|
-
cursor: string;
|
|
2293
|
-
result: Workflow[];
|
|
2294
|
-
hasMore: boolean;
|
|
2295
|
-
}>;
|
|
2296
|
-
/**
|
|
2297
|
-
* Get the list of executions for multiple workflow given in the workflows argument.
|
|
2298
|
-
* @param {string[]} workflows - The list of workflow ids to fetch execution for
|
|
2299
|
-
* @param {GetExecutionsRequest} options - Request options
|
|
2300
|
-
* @param {string} [options.cursor] - The cursor for pagination
|
|
2301
|
-
* @param {number} [options.limit] - The page limit of the response; default is 10
|
|
2302
|
-
* @param {string} [options.authKey] - The auth key for the request
|
|
2303
|
-
* @returns {Promise<{ cursor: string; result: Execution[] }>} - The list of Executions
|
|
2304
|
-
*/
|
|
2305
|
-
getExecutions(workflows: string[], options?: GetExecutionsRequest): Promise<{
|
|
2306
|
-
cursor: string;
|
|
2307
|
-
result: Execution[];
|
|
2308
|
-
hasMore: boolean;
|
|
2309
|
-
}>;
|
|
2310
|
-
/**
|
|
2311
|
-
* Get a single execution for given workflow and execution id
|
|
2312
|
-
* @param {string} workflowId - The workflow id
|
|
2313
|
-
* @param {string} executionId - The exectuion id
|
|
2314
|
-
* @param {GetExecutionsRequest} options - Request options
|
|
2315
|
-
* @returns {Promise<Execution>} - The result execution if it is existed
|
|
2316
|
-
*/
|
|
2317
|
-
getExecution(taskId: string, executionId: string, options?: RequestOptions): Promise<Execution>;
|
|
2318
|
-
/**
|
|
2319
|
-
* Get status of an execution.
|
|
2320
|
-
*
|
|
2321
|
-
* When a task is trigger in async manner, it has not run yet, so the data isn't available to return in GetExecution. Calling GetExecution will return in execution not found. We can instad call getExecutionStatus to check whether the execution is finished or not.
|
|
2322
|
-
*
|
|
2323
|
-
* @param {string} workflowId - The workflow id
|
|
2324
|
-
* @param {string} executionId - The exectuion id
|
|
2325
|
-
* @param {GetExecutionsRequest} options - Request options
|
|
2326
|
-
* @returns {Promise<ExecutionStatus>} - The result execution if it is existed
|
|
2327
|
-
*/
|
|
2328
|
-
getExecutionStatus(taskId: string, executionId: string, options?: RequestOptions): Promise<ExecutionStatus$1>;
|
|
2329
|
-
/**
|
|
2330
|
-
* Get a workflow by its Id
|
|
2331
|
-
* @param {string} id - The Id of the workflow
|
|
2332
|
-
* @param {RequestOptions} options - Request options
|
|
2333
|
-
* @returns {Promise<Workflow>} - The Workflow object
|
|
2334
|
-
*/
|
|
2335
|
-
getWorkflow(id: string, options?: RequestOptions): Promise<Workflow>;
|
|
2336
|
-
/**
|
|
2337
|
-
* Manually trigger a workflow by its Id, and manual trigger data input
|
|
2338
|
-
* @param id - The Id of the workflow
|
|
2339
|
-
* @param triggerData - The data of the trigger
|
|
2340
|
-
* @param isBlocking - Whether the trigger is blocking
|
|
2341
|
-
* @param options - Request options
|
|
2342
|
-
* @returns {Promise<avs_pb.UserTriggerTaskResp>} - The response from the trigger workflow call
|
|
2343
|
-
*/
|
|
2344
|
-
triggerWorkflow({ id, reason, isBlocking, }: {
|
|
2345
|
-
id: string;
|
|
2346
|
-
reason: TriggerReasonProps;
|
|
2347
|
-
isBlocking: boolean;
|
|
2348
|
-
}, options?: RequestOptions): Promise<UserTriggerTaskResp.AsObject>;
|
|
2349
|
-
/**
|
|
2350
|
-
* Cancel a workflow by its Id
|
|
2351
|
-
* @param {string} id - The Id of the workflow
|
|
2352
|
-
* @param {RequestOptions} options - Request options
|
|
2353
|
-
* @returns {Promise<boolean>} - Whether the workflow was successfully canceled
|
|
2354
|
-
*/
|
|
2355
|
-
cancelWorkflow(id: string, options?: RequestOptions): Promise<boolean>;
|
|
2356
|
-
/**
|
|
2357
|
-
* Delete a workflow by its Id
|
|
2358
|
-
* @param {string} id - The Id of the workflow
|
|
2359
|
-
* @param {RequestOptions} options - Request options
|
|
2360
|
-
* @returns {Promise<boolean>} - Whether the workflow was successfully deleted
|
|
2361
|
-
*/
|
|
2362
|
-
deleteWorkflow(id: string, options?: RequestOptions): Promise<boolean>;
|
|
2363
|
-
createSecret(name: string, value: string, options?: SecretRequestOptions): Promise<boolean>;
|
|
2364
|
-
/**
|
|
2365
|
-
* Update an existing secret; the secret is updated in the user scope by default, derived from the auth key.
|
|
2366
|
-
* @param secret - The secret object containing updated information
|
|
2367
|
-
* @param options - Request options, including workflowId and orgId for scoping
|
|
2368
|
-
* @returns {Promise<boolean>} - Whether the secret was successfully updated
|
|
2369
|
-
*/
|
|
2370
|
-
updateSecret(name: string, value: string, options?: SecretRequestOptions): Promise<boolean>;
|
|
2371
|
-
/**
|
|
2372
|
-
* Retrieve a list of secrets; secrets can be filtered by workflowId or orgId.
|
|
2373
|
-
* @param params - Parameters for listing secrets
|
|
2374
|
-
* @param options - Request options, including workflowId and orgId for filtering
|
|
2375
|
-
* @returns {Promise<ListSecretResponse[]>} - The list of secrets
|
|
2376
|
-
*/
|
|
2377
|
-
listSecrets(options?: SecretRequestOptions): Promise<ListSecretResponse[]>;
|
|
2378
|
-
/**
|
|
2379
|
-
* Delete a secret by its name; by default, the secret is deleted from the user scope, derived from the auth key
|
|
2380
|
-
* @param name - The name of the secret
|
|
2381
|
-
* @param options - Request options
|
|
2382
|
-
* @param options.workflowId - The workflow id; if specified, the secret will be deleted from the workflow scope
|
|
2383
|
-
* @param options.orgId - The organization id; if specified, the secret will be deleted from the organization scope
|
|
2384
|
-
* @returns {Promise<boolean>} - Whether the secret was successfully deleted
|
|
2385
|
-
*/
|
|
2386
|
-
deleteSecret(name: string, options?: SecretRequestOptions): Promise<boolean>;
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
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 };
|