@avaprotocol/sdk-js 1.2.1-dev.6 → 1.2.1-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +123 -49
- package/dist/index.d.ts +123 -49
- package/dist/index.js +473 -226
- package/dist/index.mjs +471 -224
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -930,8 +930,10 @@ declare namespace ListWalletResp {
|
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
declare class ListTasksReq extends jspb.Message {
|
|
933
|
-
|
|
934
|
-
|
|
933
|
+
clearSmartWalletAddressList(): void;
|
|
934
|
+
getSmartWalletAddressList(): Array<string>;
|
|
935
|
+
setSmartWalletAddressList(value: Array<string>): ListTasksReq;
|
|
936
|
+
addSmartWalletAddress(value: string, index?: number): string;
|
|
935
937
|
getCursor(): string;
|
|
936
938
|
setCursor(value: string): ListTasksReq;
|
|
937
939
|
getItemPerPage(): number;
|
|
@@ -949,7 +951,7 @@ declare class ListTasksReq extends jspb.Message {
|
|
|
949
951
|
|
|
950
952
|
declare namespace ListTasksReq {
|
|
951
953
|
export type AsObject = {
|
|
952
|
-
|
|
954
|
+
smartWalletAddressList: Array<string>,
|
|
953
955
|
cursor: string,
|
|
954
956
|
itemPerPage: number,
|
|
955
957
|
}
|
|
@@ -962,6 +964,8 @@ declare class ListTasksResp extends jspb.Message {
|
|
|
962
964
|
addItems(value?: ListTasksResp.Item, index?: number): ListTasksResp.Item;
|
|
963
965
|
getCursor(): string;
|
|
964
966
|
setCursor(value: string): ListTasksResp;
|
|
967
|
+
getHasMore(): boolean;
|
|
968
|
+
setHasMore(value: boolean): ListTasksResp;
|
|
965
969
|
|
|
966
970
|
serializeBinary(): Uint8Array;
|
|
967
971
|
toObject(includeInstance?: boolean): ListTasksResp.AsObject;
|
|
@@ -977,6 +981,7 @@ declare namespace ListTasksResp {
|
|
|
977
981
|
export type AsObject = {
|
|
978
982
|
itemsList: Array<ListTasksResp.Item.AsObject>,
|
|
979
983
|
cursor: string,
|
|
984
|
+
hasMore: boolean,
|
|
980
985
|
}
|
|
981
986
|
|
|
982
987
|
|
|
@@ -1039,8 +1044,10 @@ declare namespace ListTasksResp {
|
|
|
1039
1044
|
}
|
|
1040
1045
|
|
|
1041
1046
|
declare class ListExecutionsReq extends jspb.Message {
|
|
1042
|
-
|
|
1043
|
-
|
|
1047
|
+
clearTaskIdsList(): void;
|
|
1048
|
+
getTaskIdsList(): Array<string>;
|
|
1049
|
+
setTaskIdsList(value: Array<string>): ListExecutionsReq;
|
|
1050
|
+
addTaskIds(value: string, index?: number): string;
|
|
1044
1051
|
getCursor(): string;
|
|
1045
1052
|
setCursor(value: string): ListExecutionsReq;
|
|
1046
1053
|
getItemPerPage(): number;
|
|
@@ -1058,7 +1065,7 @@ declare class ListExecutionsReq extends jspb.Message {
|
|
|
1058
1065
|
|
|
1059
1066
|
declare namespace ListExecutionsReq {
|
|
1060
1067
|
export type AsObject = {
|
|
1061
|
-
|
|
1068
|
+
taskIdsList: Array<string>,
|
|
1062
1069
|
cursor: string,
|
|
1063
1070
|
itemPerPage: number,
|
|
1064
1071
|
}
|
|
@@ -1071,6 +1078,8 @@ declare class ListExecutionsResp extends jspb.Message {
|
|
|
1071
1078
|
addItems(value?: Execution$1, index?: number): Execution$1;
|
|
1072
1079
|
getCursor(): string;
|
|
1073
1080
|
setCursor(value: string): ListExecutionsResp;
|
|
1081
|
+
getHasMore(): boolean;
|
|
1082
|
+
setHasMore(value: boolean): ListExecutionsResp;
|
|
1074
1083
|
|
|
1075
1084
|
serializeBinary(): Uint8Array;
|
|
1076
1085
|
toObject(includeInstance?: boolean): ListExecutionsResp.AsObject;
|
|
@@ -1086,6 +1095,30 @@ declare namespace ListExecutionsResp {
|
|
|
1086
1095
|
export type AsObject = {
|
|
1087
1096
|
itemsList: Array<Execution$1.AsObject>,
|
|
1088
1097
|
cursor: string,
|
|
1098
|
+
hasMore: boolean,
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
declare class GetExecutionReq extends jspb.Message {
|
|
1103
|
+
getTaskId(): string;
|
|
1104
|
+
setTaskId(value: string): GetExecutionReq;
|
|
1105
|
+
getExecutionId(): string;
|
|
1106
|
+
setExecutionId(value: string): GetExecutionReq;
|
|
1107
|
+
|
|
1108
|
+
serializeBinary(): Uint8Array;
|
|
1109
|
+
toObject(includeInstance?: boolean): GetExecutionReq.AsObject;
|
|
1110
|
+
static toObject(includeInstance: boolean, msg: GetExecutionReq): GetExecutionReq.AsObject;
|
|
1111
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1112
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1113
|
+
static serializeBinaryToWriter(message: GetExecutionReq, writer: jspb.BinaryWriter): void;
|
|
1114
|
+
static deserializeBinary(bytes: Uint8Array): GetExecutionReq;
|
|
1115
|
+
static deserializeBinaryFromReader(message: GetExecutionReq, reader: jspb.BinaryReader): GetExecutionReq;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
declare namespace GetExecutionReq {
|
|
1119
|
+
export type AsObject = {
|
|
1120
|
+
taskId: string,
|
|
1121
|
+
executionId: string,
|
|
1089
1122
|
}
|
|
1090
1123
|
}
|
|
1091
1124
|
|
|
@@ -1144,6 +1177,8 @@ declare class TriggerMetadata$1 extends jspb.Message {
|
|
|
1144
1177
|
setTxHash(value: string): TriggerMetadata$1;
|
|
1145
1178
|
getEpoch(): number;
|
|
1146
1179
|
setEpoch(value: number): TriggerMetadata$1;
|
|
1180
|
+
getType(): TriggerMetadata$1.TriggerType;
|
|
1181
|
+
setType(value: TriggerMetadata$1.TriggerType): TriggerMetadata$1;
|
|
1147
1182
|
|
|
1148
1183
|
serializeBinary(): Uint8Array;
|
|
1149
1184
|
toObject(includeInstance?: boolean): TriggerMetadata$1.AsObject;
|
|
@@ -1161,7 +1196,18 @@ declare namespace TriggerMetadata$1 {
|
|
|
1161
1196
|
logIndex: number,
|
|
1162
1197
|
txHash: string,
|
|
1163
1198
|
epoch: number,
|
|
1199
|
+
type: TriggerMetadata$1.TriggerType,
|
|
1164
1200
|
}
|
|
1201
|
+
|
|
1202
|
+
export enum TriggerType {
|
|
1203
|
+
UNSET = 0,
|
|
1204
|
+
MANUAL = 2,
|
|
1205
|
+
FIXEDTIME = 3,
|
|
1206
|
+
CRON = 4,
|
|
1207
|
+
BLOCK = 5,
|
|
1208
|
+
EVENT = 6,
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1165
1211
|
}
|
|
1166
1212
|
|
|
1167
1213
|
declare class GetWalletReq extends jspb.Message {
|
|
@@ -1247,8 +1293,6 @@ declare class UserTriggerTaskResp extends jspb.Message {
|
|
|
1247
1293
|
setResult(value: boolean): UserTriggerTaskResp;
|
|
1248
1294
|
getExecutionId(): string;
|
|
1249
1295
|
setExecutionId(value: string): UserTriggerTaskResp;
|
|
1250
|
-
getJobId(): string;
|
|
1251
|
-
setJobId(value: string): UserTriggerTaskResp;
|
|
1252
1296
|
|
|
1253
1297
|
serializeBinary(): Uint8Array;
|
|
1254
1298
|
toObject(includeInstance?: boolean): UserTriggerTaskResp.AsObject;
|
|
@@ -1264,7 +1308,6 @@ declare namespace UserTriggerTaskResp {
|
|
|
1264
1308
|
export type AsObject = {
|
|
1265
1309
|
result: boolean,
|
|
1266
1310
|
executionId: string,
|
|
1267
|
-
jobId: string,
|
|
1268
1311
|
}
|
|
1269
1312
|
}
|
|
1270
1313
|
|
|
@@ -1310,6 +1353,9 @@ interface IAggregatorClient {
|
|
|
1310
1353
|
listExecutions(request: ListExecutionsReq, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1311
1354
|
listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1312
1355
|
listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1356
|
+
getExecution(request: GetExecutionReq, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1357
|
+
getExecution(request: GetExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1358
|
+
getExecution(request: GetExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1313
1359
|
cancelTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1314
1360
|
cancelTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1315
1361
|
cancelTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
@@ -1347,6 +1393,9 @@ declare class AggregatorClient extends grpc.Client implements IAggregatorClient
|
|
|
1347
1393
|
public listExecutions(request: ListExecutionsReq, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1348
1394
|
public listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1349
1395
|
public listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1396
|
+
public getExecution(request: GetExecutionReq, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1397
|
+
public getExecution(request: GetExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1398
|
+
public getExecution(request: GetExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1350
1399
|
public cancelTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1351
1400
|
public cancelTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1352
1401
|
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;
|
|
@@ -1384,8 +1433,48 @@ declare class Edge implements EdgeProps {
|
|
|
1384
1433
|
toRequest(): TaskEdge;
|
|
1385
1434
|
}
|
|
1386
1435
|
|
|
1387
|
-
|
|
1388
|
-
|
|
1436
|
+
type Environment = "production" | "development" | "staging";
|
|
1437
|
+
declare const AUTH_KEY_HEADER = "authkey";
|
|
1438
|
+
declare const DEFAULT_LIMIT = 10;
|
|
1439
|
+
interface RequestOptions {
|
|
1440
|
+
authKey?: string;
|
|
1441
|
+
}
|
|
1442
|
+
interface GetExecutionsRequest extends RequestOptions {
|
|
1443
|
+
cursor?: string;
|
|
1444
|
+
limit?: number;
|
|
1445
|
+
}
|
|
1446
|
+
interface GetWorkflowsRequest extends RequestOptions {
|
|
1447
|
+
cursor?: string;
|
|
1448
|
+
limit?: number;
|
|
1449
|
+
}
|
|
1450
|
+
interface GetKeyResponse {
|
|
1451
|
+
authKey: string;
|
|
1452
|
+
}
|
|
1453
|
+
interface GetWalletRequest {
|
|
1454
|
+
salt: string;
|
|
1455
|
+
factoryAddress?: string;
|
|
1456
|
+
}
|
|
1457
|
+
interface ClientOption {
|
|
1458
|
+
endpoint: string;
|
|
1459
|
+
factoryAddress?: string;
|
|
1460
|
+
}
|
|
1461
|
+
declare enum WorkflowStatus {
|
|
1462
|
+
Active = "active",
|
|
1463
|
+
Completed = "completed",
|
|
1464
|
+
Failed = "failed",
|
|
1465
|
+
Canceled = "canceled",
|
|
1466
|
+
Executing = "executing"
|
|
1467
|
+
}
|
|
1468
|
+
declare enum TriggerType {
|
|
1469
|
+
Manual = "manual",
|
|
1470
|
+
FixedTime = "fixed_time",
|
|
1471
|
+
Cron = "cron",
|
|
1472
|
+
Block = "block",
|
|
1473
|
+
Event = "event",
|
|
1474
|
+
Unset = "unset"
|
|
1475
|
+
}
|
|
1476
|
+
type SmartWallet = SmartWallet$1.AsObject;
|
|
1477
|
+
|
|
1389
1478
|
type TriggerData = FixedTimeCondition.AsObject | CronCondition.AsObject | BlockCondition.AsObject | EventCondition.AsObject | null;
|
|
1390
1479
|
type TriggerProps = Omit<TaskTrigger.AsObject, "manual" | "fixedTime" | "cron" | "block" | "event"> & {
|
|
1391
1480
|
type: TriggerType;
|
|
@@ -1403,8 +1492,6 @@ declare class Trigger implements TriggerProps {
|
|
|
1403
1492
|
toRequest(): TaskTrigger;
|
|
1404
1493
|
}
|
|
1405
1494
|
|
|
1406
|
-
declare const WorkflowStatuses: typeof TaskStatus;
|
|
1407
|
-
type WorkflowStatus = TaskStatus;
|
|
1408
1495
|
type WorkflowProps = Omit<Task.AsObject, "id" | "owner" | "completedAt" | "status" | "executionsList" | "memo" | "trigger" | "nodesList" | "edgesList" | "totalExecution" | "lastRanAt"> & {
|
|
1409
1496
|
id?: string;
|
|
1410
1497
|
owner?: string;
|
|
@@ -1452,19 +1539,23 @@ declare class Workflow implements WorkflowProps {
|
|
|
1452
1539
|
}
|
|
1453
1540
|
|
|
1454
1541
|
type TriggerMetadataProps = {
|
|
1455
|
-
type:
|
|
1542
|
+
type: TriggerType.FixedTime;
|
|
1456
1543
|
epoch: number;
|
|
1457
1544
|
} | {
|
|
1458
|
-
type:
|
|
1545
|
+
type: TriggerType.Cron;
|
|
1459
1546
|
epoch: number;
|
|
1460
1547
|
} | {
|
|
1461
|
-
type:
|
|
1548
|
+
type: TriggerType.Block;
|
|
1462
1549
|
blockNumber: number;
|
|
1463
1550
|
} | {
|
|
1464
|
-
type:
|
|
1551
|
+
type: TriggerType.Event;
|
|
1465
1552
|
blockNumber: number;
|
|
1466
1553
|
logIndex: number;
|
|
1467
1554
|
txHash: string;
|
|
1555
|
+
} | {
|
|
1556
|
+
type: TriggerType.Manual;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: TriggerType.Unset;
|
|
1468
1559
|
};
|
|
1469
1560
|
declare class TriggerMetadata {
|
|
1470
1561
|
type: TriggerType;
|
|
@@ -1641,33 +1732,6 @@ declare class TriggerFactory {
|
|
|
1641
1732
|
static fromResponse(raw: TaskTrigger): Trigger;
|
|
1642
1733
|
}
|
|
1643
1734
|
|
|
1644
|
-
type Environment = "production" | "development" | "staging";
|
|
1645
|
-
declare const AUTH_KEY_HEADER = "authkey";
|
|
1646
|
-
declare const DEFAULT_LIMIT = 10;
|
|
1647
|
-
interface RequestOptions {
|
|
1648
|
-
authKey?: string;
|
|
1649
|
-
}
|
|
1650
|
-
interface GetExecutionsRequest extends RequestOptions {
|
|
1651
|
-
cursor?: string;
|
|
1652
|
-
limit?: number;
|
|
1653
|
-
}
|
|
1654
|
-
interface GetWorkflowsRequest extends RequestOptions {
|
|
1655
|
-
cursor?: string;
|
|
1656
|
-
limit?: number;
|
|
1657
|
-
}
|
|
1658
|
-
interface GetKeyResponse {
|
|
1659
|
-
authKey: string;
|
|
1660
|
-
}
|
|
1661
|
-
interface GetWalletRequest {
|
|
1662
|
-
salt: string;
|
|
1663
|
-
factoryAddress?: string;
|
|
1664
|
-
}
|
|
1665
|
-
interface ClientOption {
|
|
1666
|
-
endpoint: string;
|
|
1667
|
-
factoryAddress?: string;
|
|
1668
|
-
}
|
|
1669
|
-
type SmartWallet = SmartWallet$1.AsObject;
|
|
1670
|
-
|
|
1671
1735
|
declare class BaseClient {
|
|
1672
1736
|
readonly endpoint: string;
|
|
1673
1737
|
readonly rpcClient: AggregatorClient;
|
|
@@ -1759,23 +1823,33 @@ declare class Client extends BaseClient {
|
|
|
1759
1823
|
* @param {RequestOptions} options - Request options
|
|
1760
1824
|
* @returns {Promise<{ cursor: string; result: Workflow[] }>} - The list of Workflow objects
|
|
1761
1825
|
*/
|
|
1762
|
-
getWorkflows(
|
|
1826
|
+
getWorkflows(addresses: string[], options?: GetWorkflowsRequest): Promise<{
|
|
1763
1827
|
cursor: string;
|
|
1764
1828
|
result: Workflow[];
|
|
1829
|
+
hasMore: boolean;
|
|
1765
1830
|
}>;
|
|
1766
1831
|
/**
|
|
1767
|
-
* Get the list of executions for
|
|
1768
|
-
* @param {string}
|
|
1832
|
+
* Get the list of executions for multiple workflow given in the workflows argument.
|
|
1833
|
+
* @param {string[]} workflows - The list of workflow ids to fetch execution for
|
|
1769
1834
|
* @param {GetExecutionsRequest} options - Request options
|
|
1770
1835
|
* @param {string} [options.cursor] - The cursor for pagination
|
|
1771
1836
|
* @param {number} [options.limit] - The page limit of the response; default is 10
|
|
1772
1837
|
* @param {string} [options.authKey] - The auth key for the request
|
|
1773
1838
|
* @returns {Promise<{ cursor: string; result: Execution[] }>} - The list of Executions
|
|
1774
1839
|
*/
|
|
1775
|
-
getExecutions(
|
|
1840
|
+
getExecutions(workflows: string[], options?: GetExecutionsRequest): Promise<{
|
|
1776
1841
|
cursor: string;
|
|
1777
1842
|
result: Execution[];
|
|
1843
|
+
hasMore: boolean;
|
|
1778
1844
|
}>;
|
|
1845
|
+
/**
|
|
1846
|
+
* Get a single execution for given workflow and execution id
|
|
1847
|
+
* @param {string} workflowId - The workflow id
|
|
1848
|
+
* @param {string} executionId - The exectuion id
|
|
1849
|
+
* @param {GetExecutionsRequest} options - Request options
|
|
1850
|
+
* @returns {Promise<Execution>} - The result execution if it is existed
|
|
1851
|
+
*/
|
|
1852
|
+
getExecution(taskId: string, executionId: string, options?: RequestOptions): Promise<Execution>;
|
|
1779
1853
|
/**
|
|
1780
1854
|
* Get a workflow by its Id
|
|
1781
1855
|
* @param {string} id - The Id of the workflow
|
|
@@ -1812,4 +1886,4 @@ declare class Client extends BaseClient {
|
|
|
1812
1886
|
deleteWorkflow(id: string, options?: RequestOptions): Promise<boolean>;
|
|
1813
1887
|
}
|
|
1814
1888
|
|
|
1815
|
-
export { AUTH_KEY_HEADER, BlockTrigger, type BlockTriggerProps, BranchNode, type BranchNodeData, type BranchNodeProps, type ClientOption, ContractReadNode, type ContractReadNodeProps, ContractWriteNode, type ContractWriteNodeProps, CronTrigger, type CronTriggerProps, CustomCodeLangs, CustomCodeNode, type CustomCodeNodeProps, DEFAULT_LIMIT, ETHTransferNode, type ETHTransferNodeProps, Edge, type EdgeProps, type Environment, EventTrigger, type EventTriggerProps, Execution, FixedTimeTrigger, type FixedTimeTriggerProps, type GetExecutionsRequest, type GetKeyResponse, type GetWalletRequest, type GetWorkflowsRequest, GraphQLQueryNode, type GraphQLQueryNodeProps, Node, NodeFactory, type NodeProps, type NodeType, NodeTypes, type RequestOptions, RestAPINode, type RestAPINodeProps, type SmartWallet, Trigger, TriggerFactory, type TriggerProps,
|
|
1889
|
+
export { AUTH_KEY_HEADER, BlockTrigger, type BlockTriggerProps, BranchNode, type BranchNodeData, type BranchNodeProps, type ClientOption, ContractReadNode, type ContractReadNodeProps, ContractWriteNode, type ContractWriteNodeProps, CronTrigger, type CronTriggerProps, CustomCodeLangs, CustomCodeNode, type CustomCodeNodeProps, DEFAULT_LIMIT, ETHTransferNode, type ETHTransferNodeProps, Edge, type EdgeProps, type Environment, EventTrigger, type EventTriggerProps, Execution, FixedTimeTrigger, type FixedTimeTriggerProps, type GetExecutionsRequest, type GetKeyResponse, type GetWalletRequest, type GetWorkflowsRequest, GraphQLQueryNode, type GraphQLQueryNodeProps, Node, NodeFactory, type NodeProps, type NodeType, NodeTypes, type RequestOptions, RestAPINode, type RestAPINodeProps, type SmartWallet, Trigger, TriggerFactory, type TriggerProps, TriggerType, Workflow, type WorkflowProps, WorkflowStatus, Client as default, getKeyRequestMessage };
|
package/dist/index.d.ts
CHANGED
|
@@ -930,8 +930,10 @@ declare namespace ListWalletResp {
|
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
declare class ListTasksReq extends jspb.Message {
|
|
933
|
-
|
|
934
|
-
|
|
933
|
+
clearSmartWalletAddressList(): void;
|
|
934
|
+
getSmartWalletAddressList(): Array<string>;
|
|
935
|
+
setSmartWalletAddressList(value: Array<string>): ListTasksReq;
|
|
936
|
+
addSmartWalletAddress(value: string, index?: number): string;
|
|
935
937
|
getCursor(): string;
|
|
936
938
|
setCursor(value: string): ListTasksReq;
|
|
937
939
|
getItemPerPage(): number;
|
|
@@ -949,7 +951,7 @@ declare class ListTasksReq extends jspb.Message {
|
|
|
949
951
|
|
|
950
952
|
declare namespace ListTasksReq {
|
|
951
953
|
export type AsObject = {
|
|
952
|
-
|
|
954
|
+
smartWalletAddressList: Array<string>,
|
|
953
955
|
cursor: string,
|
|
954
956
|
itemPerPage: number,
|
|
955
957
|
}
|
|
@@ -962,6 +964,8 @@ declare class ListTasksResp extends jspb.Message {
|
|
|
962
964
|
addItems(value?: ListTasksResp.Item, index?: number): ListTasksResp.Item;
|
|
963
965
|
getCursor(): string;
|
|
964
966
|
setCursor(value: string): ListTasksResp;
|
|
967
|
+
getHasMore(): boolean;
|
|
968
|
+
setHasMore(value: boolean): ListTasksResp;
|
|
965
969
|
|
|
966
970
|
serializeBinary(): Uint8Array;
|
|
967
971
|
toObject(includeInstance?: boolean): ListTasksResp.AsObject;
|
|
@@ -977,6 +981,7 @@ declare namespace ListTasksResp {
|
|
|
977
981
|
export type AsObject = {
|
|
978
982
|
itemsList: Array<ListTasksResp.Item.AsObject>,
|
|
979
983
|
cursor: string,
|
|
984
|
+
hasMore: boolean,
|
|
980
985
|
}
|
|
981
986
|
|
|
982
987
|
|
|
@@ -1039,8 +1044,10 @@ declare namespace ListTasksResp {
|
|
|
1039
1044
|
}
|
|
1040
1045
|
|
|
1041
1046
|
declare class ListExecutionsReq extends jspb.Message {
|
|
1042
|
-
|
|
1043
|
-
|
|
1047
|
+
clearTaskIdsList(): void;
|
|
1048
|
+
getTaskIdsList(): Array<string>;
|
|
1049
|
+
setTaskIdsList(value: Array<string>): ListExecutionsReq;
|
|
1050
|
+
addTaskIds(value: string, index?: number): string;
|
|
1044
1051
|
getCursor(): string;
|
|
1045
1052
|
setCursor(value: string): ListExecutionsReq;
|
|
1046
1053
|
getItemPerPage(): number;
|
|
@@ -1058,7 +1065,7 @@ declare class ListExecutionsReq extends jspb.Message {
|
|
|
1058
1065
|
|
|
1059
1066
|
declare namespace ListExecutionsReq {
|
|
1060
1067
|
export type AsObject = {
|
|
1061
|
-
|
|
1068
|
+
taskIdsList: Array<string>,
|
|
1062
1069
|
cursor: string,
|
|
1063
1070
|
itemPerPage: number,
|
|
1064
1071
|
}
|
|
@@ -1071,6 +1078,8 @@ declare class ListExecutionsResp extends jspb.Message {
|
|
|
1071
1078
|
addItems(value?: Execution$1, index?: number): Execution$1;
|
|
1072
1079
|
getCursor(): string;
|
|
1073
1080
|
setCursor(value: string): ListExecutionsResp;
|
|
1081
|
+
getHasMore(): boolean;
|
|
1082
|
+
setHasMore(value: boolean): ListExecutionsResp;
|
|
1074
1083
|
|
|
1075
1084
|
serializeBinary(): Uint8Array;
|
|
1076
1085
|
toObject(includeInstance?: boolean): ListExecutionsResp.AsObject;
|
|
@@ -1086,6 +1095,30 @@ declare namespace ListExecutionsResp {
|
|
|
1086
1095
|
export type AsObject = {
|
|
1087
1096
|
itemsList: Array<Execution$1.AsObject>,
|
|
1088
1097
|
cursor: string,
|
|
1098
|
+
hasMore: boolean,
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
declare class GetExecutionReq extends jspb.Message {
|
|
1103
|
+
getTaskId(): string;
|
|
1104
|
+
setTaskId(value: string): GetExecutionReq;
|
|
1105
|
+
getExecutionId(): string;
|
|
1106
|
+
setExecutionId(value: string): GetExecutionReq;
|
|
1107
|
+
|
|
1108
|
+
serializeBinary(): Uint8Array;
|
|
1109
|
+
toObject(includeInstance?: boolean): GetExecutionReq.AsObject;
|
|
1110
|
+
static toObject(includeInstance: boolean, msg: GetExecutionReq): GetExecutionReq.AsObject;
|
|
1111
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1112
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1113
|
+
static serializeBinaryToWriter(message: GetExecutionReq, writer: jspb.BinaryWriter): void;
|
|
1114
|
+
static deserializeBinary(bytes: Uint8Array): GetExecutionReq;
|
|
1115
|
+
static deserializeBinaryFromReader(message: GetExecutionReq, reader: jspb.BinaryReader): GetExecutionReq;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
declare namespace GetExecutionReq {
|
|
1119
|
+
export type AsObject = {
|
|
1120
|
+
taskId: string,
|
|
1121
|
+
executionId: string,
|
|
1089
1122
|
}
|
|
1090
1123
|
}
|
|
1091
1124
|
|
|
@@ -1144,6 +1177,8 @@ declare class TriggerMetadata$1 extends jspb.Message {
|
|
|
1144
1177
|
setTxHash(value: string): TriggerMetadata$1;
|
|
1145
1178
|
getEpoch(): number;
|
|
1146
1179
|
setEpoch(value: number): TriggerMetadata$1;
|
|
1180
|
+
getType(): TriggerMetadata$1.TriggerType;
|
|
1181
|
+
setType(value: TriggerMetadata$1.TriggerType): TriggerMetadata$1;
|
|
1147
1182
|
|
|
1148
1183
|
serializeBinary(): Uint8Array;
|
|
1149
1184
|
toObject(includeInstance?: boolean): TriggerMetadata$1.AsObject;
|
|
@@ -1161,7 +1196,18 @@ declare namespace TriggerMetadata$1 {
|
|
|
1161
1196
|
logIndex: number,
|
|
1162
1197
|
txHash: string,
|
|
1163
1198
|
epoch: number,
|
|
1199
|
+
type: TriggerMetadata$1.TriggerType,
|
|
1164
1200
|
}
|
|
1201
|
+
|
|
1202
|
+
export enum TriggerType {
|
|
1203
|
+
UNSET = 0,
|
|
1204
|
+
MANUAL = 2,
|
|
1205
|
+
FIXEDTIME = 3,
|
|
1206
|
+
CRON = 4,
|
|
1207
|
+
BLOCK = 5,
|
|
1208
|
+
EVENT = 6,
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1165
1211
|
}
|
|
1166
1212
|
|
|
1167
1213
|
declare class GetWalletReq extends jspb.Message {
|
|
@@ -1247,8 +1293,6 @@ declare class UserTriggerTaskResp extends jspb.Message {
|
|
|
1247
1293
|
setResult(value: boolean): UserTriggerTaskResp;
|
|
1248
1294
|
getExecutionId(): string;
|
|
1249
1295
|
setExecutionId(value: string): UserTriggerTaskResp;
|
|
1250
|
-
getJobId(): string;
|
|
1251
|
-
setJobId(value: string): UserTriggerTaskResp;
|
|
1252
1296
|
|
|
1253
1297
|
serializeBinary(): Uint8Array;
|
|
1254
1298
|
toObject(includeInstance?: boolean): UserTriggerTaskResp.AsObject;
|
|
@@ -1264,7 +1308,6 @@ declare namespace UserTriggerTaskResp {
|
|
|
1264
1308
|
export type AsObject = {
|
|
1265
1309
|
result: boolean,
|
|
1266
1310
|
executionId: string,
|
|
1267
|
-
jobId: string,
|
|
1268
1311
|
}
|
|
1269
1312
|
}
|
|
1270
1313
|
|
|
@@ -1310,6 +1353,9 @@ interface IAggregatorClient {
|
|
|
1310
1353
|
listExecutions(request: ListExecutionsReq, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1311
1354
|
listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1312
1355
|
listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1356
|
+
getExecution(request: GetExecutionReq, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1357
|
+
getExecution(request: GetExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1358
|
+
getExecution(request: GetExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1313
1359
|
cancelTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1314
1360
|
cancelTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1315
1361
|
cancelTask(request: IdReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
@@ -1347,6 +1393,9 @@ declare class AggregatorClient extends grpc.Client implements IAggregatorClient
|
|
|
1347
1393
|
public listExecutions(request: ListExecutionsReq, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1348
1394
|
public listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1349
1395
|
public listExecutions(request: ListExecutionsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: ListExecutionsResp) => void): grpc.ClientUnaryCall;
|
|
1396
|
+
public getExecution(request: GetExecutionReq, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1397
|
+
public getExecution(request: GetExecutionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1398
|
+
public getExecution(request: GetExecutionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: Execution$1) => void): grpc.ClientUnaryCall;
|
|
1350
1399
|
public cancelTask(request: IdReq, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1351
1400
|
public cancelTask(request: IdReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_wrappers_pb.BoolValue) => void): grpc.ClientUnaryCall;
|
|
1352
1401
|
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;
|
|
@@ -1384,8 +1433,48 @@ declare class Edge implements EdgeProps {
|
|
|
1384
1433
|
toRequest(): TaskEdge;
|
|
1385
1434
|
}
|
|
1386
1435
|
|
|
1387
|
-
|
|
1388
|
-
|
|
1436
|
+
type Environment = "production" | "development" | "staging";
|
|
1437
|
+
declare const AUTH_KEY_HEADER = "authkey";
|
|
1438
|
+
declare const DEFAULT_LIMIT = 10;
|
|
1439
|
+
interface RequestOptions {
|
|
1440
|
+
authKey?: string;
|
|
1441
|
+
}
|
|
1442
|
+
interface GetExecutionsRequest extends RequestOptions {
|
|
1443
|
+
cursor?: string;
|
|
1444
|
+
limit?: number;
|
|
1445
|
+
}
|
|
1446
|
+
interface GetWorkflowsRequest extends RequestOptions {
|
|
1447
|
+
cursor?: string;
|
|
1448
|
+
limit?: number;
|
|
1449
|
+
}
|
|
1450
|
+
interface GetKeyResponse {
|
|
1451
|
+
authKey: string;
|
|
1452
|
+
}
|
|
1453
|
+
interface GetWalletRequest {
|
|
1454
|
+
salt: string;
|
|
1455
|
+
factoryAddress?: string;
|
|
1456
|
+
}
|
|
1457
|
+
interface ClientOption {
|
|
1458
|
+
endpoint: string;
|
|
1459
|
+
factoryAddress?: string;
|
|
1460
|
+
}
|
|
1461
|
+
declare enum WorkflowStatus {
|
|
1462
|
+
Active = "active",
|
|
1463
|
+
Completed = "completed",
|
|
1464
|
+
Failed = "failed",
|
|
1465
|
+
Canceled = "canceled",
|
|
1466
|
+
Executing = "executing"
|
|
1467
|
+
}
|
|
1468
|
+
declare enum TriggerType {
|
|
1469
|
+
Manual = "manual",
|
|
1470
|
+
FixedTime = "fixed_time",
|
|
1471
|
+
Cron = "cron",
|
|
1472
|
+
Block = "block",
|
|
1473
|
+
Event = "event",
|
|
1474
|
+
Unset = "unset"
|
|
1475
|
+
}
|
|
1476
|
+
type SmartWallet = SmartWallet$1.AsObject;
|
|
1477
|
+
|
|
1389
1478
|
type TriggerData = FixedTimeCondition.AsObject | CronCondition.AsObject | BlockCondition.AsObject | EventCondition.AsObject | null;
|
|
1390
1479
|
type TriggerProps = Omit<TaskTrigger.AsObject, "manual" | "fixedTime" | "cron" | "block" | "event"> & {
|
|
1391
1480
|
type: TriggerType;
|
|
@@ -1403,8 +1492,6 @@ declare class Trigger implements TriggerProps {
|
|
|
1403
1492
|
toRequest(): TaskTrigger;
|
|
1404
1493
|
}
|
|
1405
1494
|
|
|
1406
|
-
declare const WorkflowStatuses: typeof TaskStatus;
|
|
1407
|
-
type WorkflowStatus = TaskStatus;
|
|
1408
1495
|
type WorkflowProps = Omit<Task.AsObject, "id" | "owner" | "completedAt" | "status" | "executionsList" | "memo" | "trigger" | "nodesList" | "edgesList" | "totalExecution" | "lastRanAt"> & {
|
|
1409
1496
|
id?: string;
|
|
1410
1497
|
owner?: string;
|
|
@@ -1452,19 +1539,23 @@ declare class Workflow implements WorkflowProps {
|
|
|
1452
1539
|
}
|
|
1453
1540
|
|
|
1454
1541
|
type TriggerMetadataProps = {
|
|
1455
|
-
type:
|
|
1542
|
+
type: TriggerType.FixedTime;
|
|
1456
1543
|
epoch: number;
|
|
1457
1544
|
} | {
|
|
1458
|
-
type:
|
|
1545
|
+
type: TriggerType.Cron;
|
|
1459
1546
|
epoch: number;
|
|
1460
1547
|
} | {
|
|
1461
|
-
type:
|
|
1548
|
+
type: TriggerType.Block;
|
|
1462
1549
|
blockNumber: number;
|
|
1463
1550
|
} | {
|
|
1464
|
-
type:
|
|
1551
|
+
type: TriggerType.Event;
|
|
1465
1552
|
blockNumber: number;
|
|
1466
1553
|
logIndex: number;
|
|
1467
1554
|
txHash: string;
|
|
1555
|
+
} | {
|
|
1556
|
+
type: TriggerType.Manual;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: TriggerType.Unset;
|
|
1468
1559
|
};
|
|
1469
1560
|
declare class TriggerMetadata {
|
|
1470
1561
|
type: TriggerType;
|
|
@@ -1641,33 +1732,6 @@ declare class TriggerFactory {
|
|
|
1641
1732
|
static fromResponse(raw: TaskTrigger): Trigger;
|
|
1642
1733
|
}
|
|
1643
1734
|
|
|
1644
|
-
type Environment = "production" | "development" | "staging";
|
|
1645
|
-
declare const AUTH_KEY_HEADER = "authkey";
|
|
1646
|
-
declare const DEFAULT_LIMIT = 10;
|
|
1647
|
-
interface RequestOptions {
|
|
1648
|
-
authKey?: string;
|
|
1649
|
-
}
|
|
1650
|
-
interface GetExecutionsRequest extends RequestOptions {
|
|
1651
|
-
cursor?: string;
|
|
1652
|
-
limit?: number;
|
|
1653
|
-
}
|
|
1654
|
-
interface GetWorkflowsRequest extends RequestOptions {
|
|
1655
|
-
cursor?: string;
|
|
1656
|
-
limit?: number;
|
|
1657
|
-
}
|
|
1658
|
-
interface GetKeyResponse {
|
|
1659
|
-
authKey: string;
|
|
1660
|
-
}
|
|
1661
|
-
interface GetWalletRequest {
|
|
1662
|
-
salt: string;
|
|
1663
|
-
factoryAddress?: string;
|
|
1664
|
-
}
|
|
1665
|
-
interface ClientOption {
|
|
1666
|
-
endpoint: string;
|
|
1667
|
-
factoryAddress?: string;
|
|
1668
|
-
}
|
|
1669
|
-
type SmartWallet = SmartWallet$1.AsObject;
|
|
1670
|
-
|
|
1671
1735
|
declare class BaseClient {
|
|
1672
1736
|
readonly endpoint: string;
|
|
1673
1737
|
readonly rpcClient: AggregatorClient;
|
|
@@ -1759,23 +1823,33 @@ declare class Client extends BaseClient {
|
|
|
1759
1823
|
* @param {RequestOptions} options - Request options
|
|
1760
1824
|
* @returns {Promise<{ cursor: string; result: Workflow[] }>} - The list of Workflow objects
|
|
1761
1825
|
*/
|
|
1762
|
-
getWorkflows(
|
|
1826
|
+
getWorkflows(addresses: string[], options?: GetWorkflowsRequest): Promise<{
|
|
1763
1827
|
cursor: string;
|
|
1764
1828
|
result: Workflow[];
|
|
1829
|
+
hasMore: boolean;
|
|
1765
1830
|
}>;
|
|
1766
1831
|
/**
|
|
1767
|
-
* Get the list of executions for
|
|
1768
|
-
* @param {string}
|
|
1832
|
+
* Get the list of executions for multiple workflow given in the workflows argument.
|
|
1833
|
+
* @param {string[]} workflows - The list of workflow ids to fetch execution for
|
|
1769
1834
|
* @param {GetExecutionsRequest} options - Request options
|
|
1770
1835
|
* @param {string} [options.cursor] - The cursor for pagination
|
|
1771
1836
|
* @param {number} [options.limit] - The page limit of the response; default is 10
|
|
1772
1837
|
* @param {string} [options.authKey] - The auth key for the request
|
|
1773
1838
|
* @returns {Promise<{ cursor: string; result: Execution[] }>} - The list of Executions
|
|
1774
1839
|
*/
|
|
1775
|
-
getExecutions(
|
|
1840
|
+
getExecutions(workflows: string[], options?: GetExecutionsRequest): Promise<{
|
|
1776
1841
|
cursor: string;
|
|
1777
1842
|
result: Execution[];
|
|
1843
|
+
hasMore: boolean;
|
|
1778
1844
|
}>;
|
|
1845
|
+
/**
|
|
1846
|
+
* Get a single execution for given workflow and execution id
|
|
1847
|
+
* @param {string} workflowId - The workflow id
|
|
1848
|
+
* @param {string} executionId - The exectuion id
|
|
1849
|
+
* @param {GetExecutionsRequest} options - Request options
|
|
1850
|
+
* @returns {Promise<Execution>} - The result execution if it is existed
|
|
1851
|
+
*/
|
|
1852
|
+
getExecution(taskId: string, executionId: string, options?: RequestOptions): Promise<Execution>;
|
|
1779
1853
|
/**
|
|
1780
1854
|
* Get a workflow by its Id
|
|
1781
1855
|
* @param {string} id - The Id of the workflow
|
|
@@ -1812,4 +1886,4 @@ declare class Client extends BaseClient {
|
|
|
1812
1886
|
deleteWorkflow(id: string, options?: RequestOptions): Promise<boolean>;
|
|
1813
1887
|
}
|
|
1814
1888
|
|
|
1815
|
-
export { AUTH_KEY_HEADER, BlockTrigger, type BlockTriggerProps, BranchNode, type BranchNodeData, type BranchNodeProps, type ClientOption, ContractReadNode, type ContractReadNodeProps, ContractWriteNode, type ContractWriteNodeProps, CronTrigger, type CronTriggerProps, CustomCodeLangs, CustomCodeNode, type CustomCodeNodeProps, DEFAULT_LIMIT, ETHTransferNode, type ETHTransferNodeProps, Edge, type EdgeProps, type Environment, EventTrigger, type EventTriggerProps, Execution, FixedTimeTrigger, type FixedTimeTriggerProps, type GetExecutionsRequest, type GetKeyResponse, type GetWalletRequest, type GetWorkflowsRequest, GraphQLQueryNode, type GraphQLQueryNodeProps, Node, NodeFactory, type NodeProps, type NodeType, NodeTypes, type RequestOptions, RestAPINode, type RestAPINodeProps, type SmartWallet, Trigger, TriggerFactory, type TriggerProps,
|
|
1889
|
+
export { AUTH_KEY_HEADER, BlockTrigger, type BlockTriggerProps, BranchNode, type BranchNodeData, type BranchNodeProps, type ClientOption, ContractReadNode, type ContractReadNodeProps, ContractWriteNode, type ContractWriteNodeProps, CronTrigger, type CronTriggerProps, CustomCodeLangs, CustomCodeNode, type CustomCodeNodeProps, DEFAULT_LIMIT, ETHTransferNode, type ETHTransferNodeProps, Edge, type EdgeProps, type Environment, EventTrigger, type EventTriggerProps, Execution, FixedTimeTrigger, type FixedTimeTriggerProps, type GetExecutionsRequest, type GetKeyResponse, type GetWalletRequest, type GetWorkflowsRequest, GraphQLQueryNode, type GraphQLQueryNodeProps, Node, NodeFactory, type NodeProps, type NodeType, NodeTypes, type RequestOptions, RestAPINode, type RestAPINodeProps, type SmartWallet, Trigger, TriggerFactory, type TriggerProps, TriggerType, Workflow, type WorkflowProps, WorkflowStatus, Client as default, getKeyRequestMessage };
|