@ironflow/core 0.1.0-test.2
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/README.md +60 -0
- package/dist/constants.d.ts +219 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +233 -0
- package/dist/constants.js.map +1 -0
- package/dist/errors.d.ts +140 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +205 -0
- package/dist/errors.js.map +1 -0
- package/dist/gen/index.d.ts +7 -0
- package/dist/gen/index.d.ts.map +1 -0
- package/dist/gen/index.js +7 -0
- package/dist/gen/index.js.map +1 -0
- package/dist/gen/ironflow/v1/index.d.ts +13 -0
- package/dist/gen/ironflow/v1/index.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/index.js +15 -0
- package/dist/gen/ironflow/v1/index.js.map +1 -0
- package/dist/gen/ironflow/v1/ironflow_connect.d.ts +209 -0
- package/dist/gen/ironflow/v1/ironflow_connect.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/ironflow_connect.js +216 -0
- package/dist/gen/ironflow/v1/ironflow_connect.js.map +1 -0
- package/dist/gen/ironflow/v1/ironflow_pb.d.ts +814 -0
- package/dist/gen/ironflow/v1/ironflow_pb.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/ironflow_pb.js +157 -0
- package/dist/gen/ironflow/v1/ironflow_pb.js.map +1 -0
- package/dist/gen/ironflow/v1/pubsub_connect.d.ts +104 -0
- package/dist/gen/ironflow/v1/pubsub_connect.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/pubsub_connect.js +110 -0
- package/dist/gen/ironflow/v1/pubsub_connect.js.map +1 -0
- package/dist/gen/ironflow/v1/pubsub_pb.d.ts +814 -0
- package/dist/gen/ironflow/v1/pubsub_pb.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/pubsub_pb.js +202 -0
- package/dist/gen/ironflow/v1/pubsub_pb.js.map +1 -0
- package/dist/gen/ironflow/v1/types_pb.d.ts +698 -0
- package/dist/gen/ironflow/v1/types_pb.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/types_pb.js +217 -0
- package/dist/gen/ironflow/v1/types_pb.js.map +1 -0
- package/dist/gen/ironflow/v1/worker_connect.d.ts +20 -0
- package/dist/gen/ironflow/v1/worker_connect.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/worker_connect.js +26 -0
- package/dist/gen/ironflow/v1/worker_connect.js.map +1 -0
- package/dist/gen/ironflow/v1/worker_pb.d.ts +685 -0
- package/dist/gen/ironflow/v1/worker_pb.d.ts.map +1 -0
- package/dist/gen/ironflow/v1/worker_pb.js +135 -0
- package/dist/gen/ironflow/v1/worker_pb.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +51 -0
- package/dist/index.js.map +1 -0
- package/dist/logger.d.ts +26 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +78 -0
- package/dist/logger.js.map +1 -0
- package/dist/protocol.d.ts +250 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +34 -0
- package/dist/protocol.js.map +1 -0
- package/dist/schemas.d.ts +394 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +268 -0
- package/dist/schemas.js.map +1 -0
- package/dist/types.d.ts +577 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +49 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +60 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +109 -0
- package/dist/utils.js.map +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1,814 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ConcurrencyConfig, Error, ExecutionMode, Function, FunctionSchema, FunctionStatus, RetryConfig, Run, RunSchema, RunStatus, Step, StepSchema, Trigger } from "./types_pb.js";
|
|
3
|
+
import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ironflow/v1/ironflow.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ironflow_v1_ironflow: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message ironflow.v1.RegisterFunctionRequest
|
|
11
|
+
*/
|
|
12
|
+
export type RegisterFunctionRequest = Message<"ironflow.v1.RegisterFunctionRequest"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string id = 1;
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string name = 2;
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string description = 3;
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: repeated ironflow.v1.Trigger triggers = 4;
|
|
27
|
+
*/
|
|
28
|
+
triggers: Trigger[];
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: ironflow.v1.RetryConfig retry = 5;
|
|
31
|
+
*/
|
|
32
|
+
retry?: RetryConfig;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: int32 timeout_ms = 6;
|
|
35
|
+
*/
|
|
36
|
+
timeoutMs: number;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: ironflow.v1.ConcurrencyConfig concurrency = 7;
|
|
39
|
+
*/
|
|
40
|
+
concurrency?: ConcurrencyConfig;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: ironflow.v1.ExecutionMode preferred_mode = 8;
|
|
43
|
+
*/
|
|
44
|
+
preferredMode: ExecutionMode;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string endpoint_url = 9;
|
|
47
|
+
*/
|
|
48
|
+
endpointUrl: string;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string actor_key = 10;
|
|
51
|
+
*/
|
|
52
|
+
actorKey: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message ironflow.v1.RegisterFunctionRequest.
|
|
56
|
+
* Use `create(RegisterFunctionRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export declare const RegisterFunctionRequestSchema: GenMessage<RegisterFunctionRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from message ironflow.v1.RegisterFunctionResponse
|
|
61
|
+
*/
|
|
62
|
+
export type RegisterFunctionResponse = Message<"ironflow.v1.RegisterFunctionResponse"> & {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: ironflow.v1.Function function = 1;
|
|
65
|
+
*/
|
|
66
|
+
function?: Function;
|
|
67
|
+
/**
|
|
68
|
+
* true if new, false if updated
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: bool created = 2;
|
|
71
|
+
*/
|
|
72
|
+
created: boolean;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message ironflow.v1.RegisterFunctionResponse.
|
|
76
|
+
* Use `create(RegisterFunctionResponseSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const RegisterFunctionResponseSchema: GenMessage<RegisterFunctionResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message ironflow.v1.GetFunctionRequest
|
|
81
|
+
*/
|
|
82
|
+
export type GetFunctionRequest = Message<"ironflow.v1.GetFunctionRequest"> & {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string id = 1;
|
|
85
|
+
*/
|
|
86
|
+
id: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message ironflow.v1.GetFunctionRequest.
|
|
90
|
+
* Use `create(GetFunctionRequestSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export declare const GetFunctionRequestSchema: GenMessage<GetFunctionRequest>;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message ironflow.v1.ListFunctionsRequest
|
|
95
|
+
*/
|
|
96
|
+
export type ListFunctionsRequest = Message<"ironflow.v1.ListFunctionsRequest"> & {
|
|
97
|
+
/**
|
|
98
|
+
* Filter by status
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: ironflow.v1.FunctionStatus status = 1;
|
|
101
|
+
*/
|
|
102
|
+
status: FunctionStatus;
|
|
103
|
+
/**
|
|
104
|
+
* Default: 100
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: int32 limit = 2;
|
|
107
|
+
*/
|
|
108
|
+
limit: number;
|
|
109
|
+
/**
|
|
110
|
+
* Pagination cursor
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string cursor = 3;
|
|
113
|
+
*/
|
|
114
|
+
cursor: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Describes the message ironflow.v1.ListFunctionsRequest.
|
|
118
|
+
* Use `create(ListFunctionsRequestSchema)` to create a new message.
|
|
119
|
+
*/
|
|
120
|
+
export declare const ListFunctionsRequestSchema: GenMessage<ListFunctionsRequest>;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from message ironflow.v1.ListFunctionsResponse
|
|
123
|
+
*/
|
|
124
|
+
export type ListFunctionsResponse = Message<"ironflow.v1.ListFunctionsResponse"> & {
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: repeated ironflow.v1.Function functions = 1;
|
|
127
|
+
*/
|
|
128
|
+
functions: Function[];
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: string next_cursor = 2;
|
|
131
|
+
*/
|
|
132
|
+
nextCursor: string;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: int32 total_count = 3;
|
|
135
|
+
*/
|
|
136
|
+
totalCount: number;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message ironflow.v1.ListFunctionsResponse.
|
|
140
|
+
* Use `create(ListFunctionsResponseSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export declare const ListFunctionsResponseSchema: GenMessage<ListFunctionsResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from message ironflow.v1.UpdateFunctionStatusRequest
|
|
145
|
+
*/
|
|
146
|
+
export type UpdateFunctionStatusRequest = Message<"ironflow.v1.UpdateFunctionStatusRequest"> & {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string id = 1;
|
|
149
|
+
*/
|
|
150
|
+
id: string;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: ironflow.v1.FunctionStatus status = 2;
|
|
153
|
+
*/
|
|
154
|
+
status: FunctionStatus;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message ironflow.v1.UpdateFunctionStatusRequest.
|
|
158
|
+
* Use `create(UpdateFunctionStatusRequestSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export declare const UpdateFunctionStatusRequestSchema: GenMessage<UpdateFunctionStatusRequest>;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from message ironflow.v1.DeleteFunctionRequest
|
|
163
|
+
*/
|
|
164
|
+
export type DeleteFunctionRequest = Message<"ironflow.v1.DeleteFunctionRequest"> & {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: string id = 1;
|
|
167
|
+
*/
|
|
168
|
+
id: string;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message ironflow.v1.DeleteFunctionRequest.
|
|
172
|
+
* Use `create(DeleteFunctionRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const DeleteFunctionRequestSchema: GenMessage<DeleteFunctionRequest>;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from message ironflow.v1.TriggerRequest
|
|
177
|
+
*/
|
|
178
|
+
export type TriggerRequest = Message<"ironflow.v1.TriggerRequest"> & {
|
|
179
|
+
/**
|
|
180
|
+
* Event name
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: string event = 1;
|
|
183
|
+
*/
|
|
184
|
+
event: string;
|
|
185
|
+
/**
|
|
186
|
+
* Event payload
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: google.protobuf.Struct data = 2;
|
|
189
|
+
*/
|
|
190
|
+
data?: JsonObject;
|
|
191
|
+
/**
|
|
192
|
+
* Optional deduplication key
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: string idempotency_key = 3;
|
|
195
|
+
*/
|
|
196
|
+
idempotencyKey: string;
|
|
197
|
+
/**
|
|
198
|
+
* Optional metadata
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: google.protobuf.Struct metadata = 4;
|
|
201
|
+
*/
|
|
202
|
+
metadata?: JsonObject;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message ironflow.v1.TriggerRequest.
|
|
206
|
+
* Use `create(TriggerRequestSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export declare const TriggerRequestSchema: GenMessage<TriggerRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* @generated from message ironflow.v1.TriggerResponse
|
|
211
|
+
*/
|
|
212
|
+
export type TriggerResponse = Message<"ironflow.v1.TriggerResponse"> & {
|
|
213
|
+
/**
|
|
214
|
+
* IDs of created runs
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: repeated string run_ids = 1;
|
|
217
|
+
*/
|
|
218
|
+
runIds: string[];
|
|
219
|
+
/**
|
|
220
|
+
* ID of the stored event
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: string event_id = 2;
|
|
223
|
+
*/
|
|
224
|
+
eventId: string;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Describes the message ironflow.v1.TriggerResponse.
|
|
228
|
+
* Use `create(TriggerResponseSchema)` to create a new message.
|
|
229
|
+
*/
|
|
230
|
+
export declare const TriggerResponseSchema: GenMessage<TriggerResponse>;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from message ironflow.v1.TriggerSyncRequest
|
|
233
|
+
*/
|
|
234
|
+
export type TriggerSyncRequest = Message<"ironflow.v1.TriggerSyncRequest"> & {
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: string event = 1;
|
|
237
|
+
*/
|
|
238
|
+
event: string;
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: google.protobuf.Struct data = 2;
|
|
241
|
+
*/
|
|
242
|
+
data?: JsonObject;
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: string idempotency_key = 3;
|
|
245
|
+
*/
|
|
246
|
+
idempotencyKey: string;
|
|
247
|
+
/**
|
|
248
|
+
* Max wait time in ms (default: 30000)
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: int32 timeout_ms = 4;
|
|
251
|
+
*/
|
|
252
|
+
timeoutMs: number;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message ironflow.v1.TriggerSyncRequest.
|
|
256
|
+
* Use `create(TriggerSyncRequestSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export declare const TriggerSyncRequestSchema: GenMessage<TriggerSyncRequest>;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message ironflow.v1.TriggerSyncResponse
|
|
261
|
+
*/
|
|
262
|
+
export type TriggerSyncResponse = Message<"ironflow.v1.TriggerSyncResponse"> & {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: repeated ironflow.v1.RunResult results = 1;
|
|
265
|
+
*/
|
|
266
|
+
results: RunResult[];
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: string event_id = 2;
|
|
269
|
+
*/
|
|
270
|
+
eventId: string;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* Describes the message ironflow.v1.TriggerSyncResponse.
|
|
274
|
+
* Use `create(TriggerSyncResponseSchema)` to create a new message.
|
|
275
|
+
*/
|
|
276
|
+
export declare const TriggerSyncResponseSchema: GenMessage<TriggerSyncResponse>;
|
|
277
|
+
/**
|
|
278
|
+
* @generated from message ironflow.v1.RunResult
|
|
279
|
+
*/
|
|
280
|
+
export type RunResult = Message<"ironflow.v1.RunResult"> & {
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: string run_id = 1;
|
|
283
|
+
*/
|
|
284
|
+
runId: string;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: string function_id = 2;
|
|
287
|
+
*/
|
|
288
|
+
functionId: string;
|
|
289
|
+
/**
|
|
290
|
+
* @generated from field: ironflow.v1.RunStatus status = 3;
|
|
291
|
+
*/
|
|
292
|
+
status: RunStatus;
|
|
293
|
+
/**
|
|
294
|
+
* @generated from field: google.protobuf.Struct output = 4;
|
|
295
|
+
*/
|
|
296
|
+
output?: JsonObject;
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: ironflow.v1.Error error = 5;
|
|
299
|
+
*/
|
|
300
|
+
error?: Error;
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: int32 duration_ms = 6;
|
|
303
|
+
*/
|
|
304
|
+
durationMs: number;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Describes the message ironflow.v1.RunResult.
|
|
308
|
+
* Use `create(RunResultSchema)` to create a new message.
|
|
309
|
+
*/
|
|
310
|
+
export declare const RunResultSchema: GenMessage<RunResult>;
|
|
311
|
+
/**
|
|
312
|
+
* @generated from message ironflow.v1.TriggerBatchRequest
|
|
313
|
+
*/
|
|
314
|
+
export type TriggerBatchRequest = Message<"ironflow.v1.TriggerBatchRequest"> & {
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: repeated ironflow.v1.TriggerRequest events = 1;
|
|
317
|
+
*/
|
|
318
|
+
events: TriggerRequest[];
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Describes the message ironflow.v1.TriggerBatchRequest.
|
|
322
|
+
* Use `create(TriggerBatchRequestSchema)` to create a new message.
|
|
323
|
+
*/
|
|
324
|
+
export declare const TriggerBatchRequestSchema: GenMessage<TriggerBatchRequest>;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from message ironflow.v1.TriggerBatchResponse
|
|
327
|
+
*/
|
|
328
|
+
export type TriggerBatchResponse = Message<"ironflow.v1.TriggerBatchResponse"> & {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: repeated ironflow.v1.TriggerResponse results = 1;
|
|
331
|
+
*/
|
|
332
|
+
results: TriggerResponse[];
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Describes the message ironflow.v1.TriggerBatchResponse.
|
|
336
|
+
* Use `create(TriggerBatchResponseSchema)` to create a new message.
|
|
337
|
+
*/
|
|
338
|
+
export declare const TriggerBatchResponseSchema: GenMessage<TriggerBatchResponse>;
|
|
339
|
+
/**
|
|
340
|
+
* @generated from message ironflow.v1.GetRunRequest
|
|
341
|
+
*/
|
|
342
|
+
export type GetRunRequest = Message<"ironflow.v1.GetRunRequest"> & {
|
|
343
|
+
/**
|
|
344
|
+
* @generated from field: string id = 1;
|
|
345
|
+
*/
|
|
346
|
+
id: string;
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message ironflow.v1.GetRunRequest.
|
|
350
|
+
* Use `create(GetRunRequestSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const GetRunRequestSchema: GenMessage<GetRunRequest>;
|
|
353
|
+
/**
|
|
354
|
+
* @generated from message ironflow.v1.ListRunsRequest
|
|
355
|
+
*/
|
|
356
|
+
export type ListRunsRequest = Message<"ironflow.v1.ListRunsRequest"> & {
|
|
357
|
+
/**
|
|
358
|
+
* Filter by function
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: string function_id = 1;
|
|
361
|
+
*/
|
|
362
|
+
functionId: string;
|
|
363
|
+
/**
|
|
364
|
+
* Filter by status
|
|
365
|
+
*
|
|
366
|
+
* @generated from field: ironflow.v1.RunStatus status = 2;
|
|
367
|
+
*/
|
|
368
|
+
status: RunStatus;
|
|
369
|
+
/**
|
|
370
|
+
* Filter by time
|
|
371
|
+
*
|
|
372
|
+
* @generated from field: google.protobuf.Timestamp since = 3;
|
|
373
|
+
*/
|
|
374
|
+
since?: Timestamp;
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: google.protobuf.Timestamp until = 4;
|
|
377
|
+
*/
|
|
378
|
+
until?: Timestamp;
|
|
379
|
+
/**
|
|
380
|
+
* Default: 50
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: int32 limit = 5;
|
|
383
|
+
*/
|
|
384
|
+
limit: number;
|
|
385
|
+
/**
|
|
386
|
+
* Pagination cursor
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: string cursor = 6;
|
|
389
|
+
*/
|
|
390
|
+
cursor: string;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* Describes the message ironflow.v1.ListRunsRequest.
|
|
394
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
395
|
+
*/
|
|
396
|
+
export declare const ListRunsRequestSchema: GenMessage<ListRunsRequest>;
|
|
397
|
+
/**
|
|
398
|
+
* @generated from message ironflow.v1.ListRunsResponse
|
|
399
|
+
*/
|
|
400
|
+
export type ListRunsResponse = Message<"ironflow.v1.ListRunsResponse"> & {
|
|
401
|
+
/**
|
|
402
|
+
* @generated from field: repeated ironflow.v1.Run runs = 1;
|
|
403
|
+
*/
|
|
404
|
+
runs: Run[];
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string next_cursor = 2;
|
|
407
|
+
*/
|
|
408
|
+
nextCursor: string;
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: int32 total_count = 3;
|
|
411
|
+
*/
|
|
412
|
+
totalCount: number;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message ironflow.v1.ListRunsResponse.
|
|
416
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export declare const ListRunsResponseSchema: GenMessage<ListRunsResponse>;
|
|
419
|
+
/**
|
|
420
|
+
* @generated from message ironflow.v1.GetRunStepsRequest
|
|
421
|
+
*/
|
|
422
|
+
export type GetRunStepsRequest = Message<"ironflow.v1.GetRunStepsRequest"> & {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: string run_id = 1;
|
|
425
|
+
*/
|
|
426
|
+
runId: string;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Describes the message ironflow.v1.GetRunStepsRequest.
|
|
430
|
+
* Use `create(GetRunStepsRequestSchema)` to create a new message.
|
|
431
|
+
*/
|
|
432
|
+
export declare const GetRunStepsRequestSchema: GenMessage<GetRunStepsRequest>;
|
|
433
|
+
/**
|
|
434
|
+
* @generated from message ironflow.v1.GetRunStepsResponse
|
|
435
|
+
*/
|
|
436
|
+
export type GetRunStepsResponse = Message<"ironflow.v1.GetRunStepsResponse"> & {
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: repeated ironflow.v1.Step steps = 1;
|
|
439
|
+
*/
|
|
440
|
+
steps: Step[];
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Describes the message ironflow.v1.GetRunStepsResponse.
|
|
444
|
+
* Use `create(GetRunStepsResponseSchema)` to create a new message.
|
|
445
|
+
*/
|
|
446
|
+
export declare const GetRunStepsResponseSchema: GenMessage<GetRunStepsResponse>;
|
|
447
|
+
/**
|
|
448
|
+
* @generated from message ironflow.v1.CancelRunRequest
|
|
449
|
+
*/
|
|
450
|
+
export type CancelRunRequest = Message<"ironflow.v1.CancelRunRequest"> & {
|
|
451
|
+
/**
|
|
452
|
+
* @generated from field: string id = 1;
|
|
453
|
+
*/
|
|
454
|
+
id: string;
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: string reason = 2;
|
|
457
|
+
*/
|
|
458
|
+
reason: string;
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Describes the message ironflow.v1.CancelRunRequest.
|
|
462
|
+
* Use `create(CancelRunRequestSchema)` to create a new message.
|
|
463
|
+
*/
|
|
464
|
+
export declare const CancelRunRequestSchema: GenMessage<CancelRunRequest>;
|
|
465
|
+
/**
|
|
466
|
+
* @generated from message ironflow.v1.RetryRunRequest
|
|
467
|
+
*/
|
|
468
|
+
export type RetryRunRequest = Message<"ironflow.v1.RetryRunRequest"> & {
|
|
469
|
+
/**
|
|
470
|
+
* @generated from field: string id = 1;
|
|
471
|
+
*/
|
|
472
|
+
id: string;
|
|
473
|
+
/**
|
|
474
|
+
* Optional: retry from specific step
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: string from_step = 2;
|
|
477
|
+
*/
|
|
478
|
+
fromStep: string;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Describes the message ironflow.v1.RetryRunRequest.
|
|
482
|
+
* Use `create(RetryRunRequestSchema)` to create a new message.
|
|
483
|
+
*/
|
|
484
|
+
export declare const RetryRunRequestSchema: GenMessage<RetryRunRequest>;
|
|
485
|
+
/**
|
|
486
|
+
* @generated from message ironflow.v1.PatchStepRequest
|
|
487
|
+
*/
|
|
488
|
+
export type PatchStepRequest = Message<"ironflow.v1.PatchStepRequest"> & {
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: string step_id = 1;
|
|
491
|
+
*/
|
|
492
|
+
stepId: string;
|
|
493
|
+
/**
|
|
494
|
+
* New output value
|
|
495
|
+
*
|
|
496
|
+
* @generated from field: google.protobuf.Struct output = 2;
|
|
497
|
+
*/
|
|
498
|
+
output?: JsonObject;
|
|
499
|
+
/**
|
|
500
|
+
* Audit reason
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: string reason = 3;
|
|
503
|
+
*/
|
|
504
|
+
reason: string;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Describes the message ironflow.v1.PatchStepRequest.
|
|
508
|
+
* Use `create(PatchStepRequestSchema)` to create a new message.
|
|
509
|
+
*/
|
|
510
|
+
export declare const PatchStepRequestSchema: GenMessage<PatchStepRequest>;
|
|
511
|
+
/**
|
|
512
|
+
* @generated from message ironflow.v1.ResumeRunRequest
|
|
513
|
+
*/
|
|
514
|
+
export type ResumeRunRequest = Message<"ironflow.v1.ResumeRunRequest"> & {
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: string run_id = 1;
|
|
517
|
+
*/
|
|
518
|
+
runId: string;
|
|
519
|
+
/**
|
|
520
|
+
* Optional: resume from specific step
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: string from_step = 2;
|
|
523
|
+
*/
|
|
524
|
+
fromStep: string;
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* Describes the message ironflow.v1.ResumeRunRequest.
|
|
528
|
+
* Use `create(ResumeRunRequestSchema)` to create a new message.
|
|
529
|
+
*/
|
|
530
|
+
export declare const ResumeRunRequestSchema: GenMessage<ResumeRunRequest>;
|
|
531
|
+
/**
|
|
532
|
+
* @generated from message ironflow.v1.HealthRequest
|
|
533
|
+
*/
|
|
534
|
+
export type HealthRequest = Message<"ironflow.v1.HealthRequest"> & {};
|
|
535
|
+
/**
|
|
536
|
+
* Describes the message ironflow.v1.HealthRequest.
|
|
537
|
+
* Use `create(HealthRequestSchema)` to create a new message.
|
|
538
|
+
*/
|
|
539
|
+
export declare const HealthRequestSchema: GenMessage<HealthRequest>;
|
|
540
|
+
/**
|
|
541
|
+
* @generated from message ironflow.v1.HealthResponse
|
|
542
|
+
*/
|
|
543
|
+
export type HealthResponse = Message<"ironflow.v1.HealthResponse"> & {
|
|
544
|
+
/**
|
|
545
|
+
* "healthy" or "unhealthy"
|
|
546
|
+
*
|
|
547
|
+
* @generated from field: string status = 1;
|
|
548
|
+
*/
|
|
549
|
+
status: string;
|
|
550
|
+
/**
|
|
551
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
552
|
+
*/
|
|
553
|
+
timestamp?: Timestamp;
|
|
554
|
+
/**
|
|
555
|
+
* @generated from field: map<string, ironflow.v1.ComponentHealth> components = 3;
|
|
556
|
+
*/
|
|
557
|
+
components: {
|
|
558
|
+
[key: string]: ComponentHealth;
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Describes the message ironflow.v1.HealthResponse.
|
|
563
|
+
* Use `create(HealthResponseSchema)` to create a new message.
|
|
564
|
+
*/
|
|
565
|
+
export declare const HealthResponseSchema: GenMessage<HealthResponse>;
|
|
566
|
+
/**
|
|
567
|
+
* @generated from message ironflow.v1.ComponentHealth
|
|
568
|
+
*/
|
|
569
|
+
export type ComponentHealth = Message<"ironflow.v1.ComponentHealth"> & {
|
|
570
|
+
/**
|
|
571
|
+
* @generated from field: string status = 1;
|
|
572
|
+
*/
|
|
573
|
+
status: string;
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: string message = 2;
|
|
576
|
+
*/
|
|
577
|
+
message: string;
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* Describes the message ironflow.v1.ComponentHealth.
|
|
581
|
+
* Use `create(ComponentHealthSchema)` to create a new message.
|
|
582
|
+
*/
|
|
583
|
+
export declare const ComponentHealthSchema: GenMessage<ComponentHealth>;
|
|
584
|
+
/**
|
|
585
|
+
* @generated from message ironflow.v1.InfoRequest
|
|
586
|
+
*/
|
|
587
|
+
export type InfoRequest = Message<"ironflow.v1.InfoRequest"> & {};
|
|
588
|
+
/**
|
|
589
|
+
* Describes the message ironflow.v1.InfoRequest.
|
|
590
|
+
* Use `create(InfoRequestSchema)` to create a new message.
|
|
591
|
+
*/
|
|
592
|
+
export declare const InfoRequestSchema: GenMessage<InfoRequest>;
|
|
593
|
+
/**
|
|
594
|
+
* @generated from message ironflow.v1.InfoResponse
|
|
595
|
+
*/
|
|
596
|
+
export type InfoResponse = Message<"ironflow.v1.InfoResponse"> & {
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: string version = 1;
|
|
599
|
+
*/
|
|
600
|
+
version: string;
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: string go_version = 2;
|
|
603
|
+
*/
|
|
604
|
+
goVersion: string;
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
607
|
+
*/
|
|
608
|
+
startedAt?: Timestamp;
|
|
609
|
+
/**
|
|
610
|
+
* @generated from field: int32 function_count = 4;
|
|
611
|
+
*/
|
|
612
|
+
functionCount: number;
|
|
613
|
+
/**
|
|
614
|
+
* @generated from field: int32 active_runs = 5;
|
|
615
|
+
*/
|
|
616
|
+
activeRuns: number;
|
|
617
|
+
/**
|
|
618
|
+
* @generated from field: int32 connected_workers = 6;
|
|
619
|
+
*/
|
|
620
|
+
connectedWorkers: number;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Describes the message ironflow.v1.InfoResponse.
|
|
624
|
+
* Use `create(InfoResponseSchema)` to create a new message.
|
|
625
|
+
*/
|
|
626
|
+
export declare const InfoResponseSchema: GenMessage<InfoResponse>;
|
|
627
|
+
/**
|
|
628
|
+
* --- Function Management ---
|
|
629
|
+
*
|
|
630
|
+
* @generated from service ironflow.v1.IronflowService
|
|
631
|
+
*/
|
|
632
|
+
export declare const IronflowService: GenService<{
|
|
633
|
+
/**
|
|
634
|
+
* Register or update a function definition
|
|
635
|
+
*
|
|
636
|
+
* @generated from rpc ironflow.v1.IronflowService.RegisterFunction
|
|
637
|
+
*/
|
|
638
|
+
registerFunction: {
|
|
639
|
+
methodKind: "unary";
|
|
640
|
+
input: typeof RegisterFunctionRequestSchema;
|
|
641
|
+
output: typeof RegisterFunctionResponseSchema;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* Get a function by ID
|
|
645
|
+
*
|
|
646
|
+
* @generated from rpc ironflow.v1.IronflowService.GetFunction
|
|
647
|
+
*/
|
|
648
|
+
getFunction: {
|
|
649
|
+
methodKind: "unary";
|
|
650
|
+
input: typeof GetFunctionRequestSchema;
|
|
651
|
+
output: typeof FunctionSchema;
|
|
652
|
+
};
|
|
653
|
+
/**
|
|
654
|
+
* List all registered functions
|
|
655
|
+
*
|
|
656
|
+
* @generated from rpc ironflow.v1.IronflowService.ListFunctions
|
|
657
|
+
*/
|
|
658
|
+
listFunctions: {
|
|
659
|
+
methodKind: "unary";
|
|
660
|
+
input: typeof ListFunctionsRequestSchema;
|
|
661
|
+
output: typeof ListFunctionsResponseSchema;
|
|
662
|
+
};
|
|
663
|
+
/**
|
|
664
|
+
* Update function status (pause, activate, archive)
|
|
665
|
+
*
|
|
666
|
+
* @generated from rpc ironflow.v1.IronflowService.UpdateFunctionStatus
|
|
667
|
+
*/
|
|
668
|
+
updateFunctionStatus: {
|
|
669
|
+
methodKind: "unary";
|
|
670
|
+
input: typeof UpdateFunctionStatusRequestSchema;
|
|
671
|
+
output: typeof FunctionSchema;
|
|
672
|
+
};
|
|
673
|
+
/**
|
|
674
|
+
* Delete a function
|
|
675
|
+
*
|
|
676
|
+
* @generated from rpc ironflow.v1.IronflowService.DeleteFunction
|
|
677
|
+
*/
|
|
678
|
+
deleteFunction: {
|
|
679
|
+
methodKind: "unary";
|
|
680
|
+
input: typeof DeleteFunctionRequestSchema;
|
|
681
|
+
output: typeof EmptySchema;
|
|
682
|
+
};
|
|
683
|
+
/**
|
|
684
|
+
* Trigger an event (async by default)
|
|
685
|
+
*
|
|
686
|
+
* @generated from rpc ironflow.v1.IronflowService.Trigger
|
|
687
|
+
*/
|
|
688
|
+
trigger: {
|
|
689
|
+
methodKind: "unary";
|
|
690
|
+
input: typeof TriggerRequestSchema;
|
|
691
|
+
output: typeof TriggerResponseSchema;
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Emit an event (alias for Trigger with emit semantics)
|
|
695
|
+
*
|
|
696
|
+
* @generated from rpc ironflow.v1.IronflowService.Emit
|
|
697
|
+
*/
|
|
698
|
+
emit: {
|
|
699
|
+
methodKind: "unary";
|
|
700
|
+
input: typeof TriggerRequestSchema;
|
|
701
|
+
output: typeof TriggerResponseSchema;
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* Trigger and wait for completion (sync)
|
|
705
|
+
*
|
|
706
|
+
* @generated from rpc ironflow.v1.IronflowService.TriggerSync
|
|
707
|
+
*/
|
|
708
|
+
triggerSync: {
|
|
709
|
+
methodKind: "unary";
|
|
710
|
+
input: typeof TriggerSyncRequestSchema;
|
|
711
|
+
output: typeof TriggerSyncResponseSchema;
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* Batch trigger multiple events
|
|
715
|
+
*
|
|
716
|
+
* @generated from rpc ironflow.v1.IronflowService.TriggerBatch
|
|
717
|
+
*/
|
|
718
|
+
triggerBatch: {
|
|
719
|
+
methodKind: "unary";
|
|
720
|
+
input: typeof TriggerBatchRequestSchema;
|
|
721
|
+
output: typeof TriggerBatchResponseSchema;
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* Get a run by ID
|
|
725
|
+
*
|
|
726
|
+
* @generated from rpc ironflow.v1.IronflowService.GetRun
|
|
727
|
+
*/
|
|
728
|
+
getRun: {
|
|
729
|
+
methodKind: "unary";
|
|
730
|
+
input: typeof GetRunRequestSchema;
|
|
731
|
+
output: typeof RunSchema;
|
|
732
|
+
};
|
|
733
|
+
/**
|
|
734
|
+
* List runs with filtering
|
|
735
|
+
*
|
|
736
|
+
* @generated from rpc ironflow.v1.IronflowService.ListRuns
|
|
737
|
+
*/
|
|
738
|
+
listRuns: {
|
|
739
|
+
methodKind: "unary";
|
|
740
|
+
input: typeof ListRunsRequestSchema;
|
|
741
|
+
output: typeof ListRunsResponseSchema;
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* Get steps for a run
|
|
745
|
+
*
|
|
746
|
+
* @generated from rpc ironflow.v1.IronflowService.GetRunSteps
|
|
747
|
+
*/
|
|
748
|
+
getRunSteps: {
|
|
749
|
+
methodKind: "unary";
|
|
750
|
+
input: typeof GetRunStepsRequestSchema;
|
|
751
|
+
output: typeof GetRunStepsResponseSchema;
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* Cancel a running workflow
|
|
755
|
+
*
|
|
756
|
+
* @generated from rpc ironflow.v1.IronflowService.CancelRun
|
|
757
|
+
*/
|
|
758
|
+
cancelRun: {
|
|
759
|
+
methodKind: "unary";
|
|
760
|
+
input: typeof CancelRunRequestSchema;
|
|
761
|
+
output: typeof RunSchema;
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* Retry a failed run
|
|
765
|
+
*
|
|
766
|
+
* @generated from rpc ironflow.v1.IronflowService.RetryRun
|
|
767
|
+
*/
|
|
768
|
+
retryRun: {
|
|
769
|
+
methodKind: "unary";
|
|
770
|
+
input: typeof RetryRunRequestSchema;
|
|
771
|
+
output: typeof RunSchema;
|
|
772
|
+
};
|
|
773
|
+
/**
|
|
774
|
+
* Patch a step's output
|
|
775
|
+
*
|
|
776
|
+
* @generated from rpc ironflow.v1.IronflowService.PatchStep
|
|
777
|
+
*/
|
|
778
|
+
patchStep: {
|
|
779
|
+
methodKind: "unary";
|
|
780
|
+
input: typeof PatchStepRequestSchema;
|
|
781
|
+
output: typeof StepSchema;
|
|
782
|
+
};
|
|
783
|
+
/**
|
|
784
|
+
* Resume a paused/failed run
|
|
785
|
+
*
|
|
786
|
+
* @generated from rpc ironflow.v1.IronflowService.ResumeRun
|
|
787
|
+
*/
|
|
788
|
+
resumeRun: {
|
|
789
|
+
methodKind: "unary";
|
|
790
|
+
input: typeof ResumeRunRequestSchema;
|
|
791
|
+
output: typeof RunSchema;
|
|
792
|
+
};
|
|
793
|
+
/**
|
|
794
|
+
* Health check
|
|
795
|
+
*
|
|
796
|
+
* @generated from rpc ironflow.v1.IronflowService.Health
|
|
797
|
+
*/
|
|
798
|
+
health: {
|
|
799
|
+
methodKind: "unary";
|
|
800
|
+
input: typeof HealthRequestSchema;
|
|
801
|
+
output: typeof HealthResponseSchema;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* Server info
|
|
805
|
+
*
|
|
806
|
+
* @generated from rpc ironflow.v1.IronflowService.Info
|
|
807
|
+
*/
|
|
808
|
+
info: {
|
|
809
|
+
methodKind: "unary";
|
|
810
|
+
input: typeof InfoRequestSchema;
|
|
811
|
+
output: typeof InfoResponseSchema;
|
|
812
|
+
};
|
|
813
|
+
}>;
|
|
814
|
+
//# sourceMappingURL=ironflow_pb.d.ts.map
|