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