@stacklink/sdk 0.6.2 → 0.6.3

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.
@@ -1,4 +1,413 @@
1
1
  import { z } from 'zod';
2
+ import type { BotAvatarRecipe } from './bot-avatar.js';
3
+ /** Explicit authoring references, never inferred from names or prompt text. */
4
+ export declare const workflowMentionKindSchema: z.ZodEnum<["app", "bot", "workflow", "api"]>;
5
+ export declare const workflowMentionReferenceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
6
+ kind: z.ZodLiteral<"app">;
7
+ id: z.ZodString;
8
+ }, "strict", z.ZodTypeAny, {
9
+ id: string;
10
+ kind: "app";
11
+ }, {
12
+ id: string;
13
+ kind: "app";
14
+ }>, z.ZodObject<{
15
+ kind: z.ZodLiteral<"bot">;
16
+ id: z.ZodString;
17
+ }, "strict", z.ZodTypeAny, {
18
+ id: string;
19
+ kind: "bot";
20
+ }, {
21
+ id: string;
22
+ kind: "bot";
23
+ }>, z.ZodObject<{
24
+ kind: z.ZodLiteral<"workflow">;
25
+ id: z.ZodString;
26
+ }, "strict", z.ZodTypeAny, {
27
+ id: string;
28
+ kind: "workflow";
29
+ }, {
30
+ id: string;
31
+ kind: "workflow";
32
+ }>, z.ZodObject<{
33
+ kind: z.ZodLiteral<"api">;
34
+ id: z.ZodString;
35
+ callId: z.ZodString;
36
+ }, "strict", z.ZodTypeAny, {
37
+ id: string;
38
+ kind: "api";
39
+ callId: string;
40
+ }, {
41
+ id: string;
42
+ kind: "api";
43
+ callId: string;
44
+ }>]>;
45
+ export declare const workflowMentionSchema: z.ZodObject<{
46
+ reference: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
47
+ kind: z.ZodLiteral<"app">;
48
+ id: z.ZodString;
49
+ }, "strict", z.ZodTypeAny, {
50
+ id: string;
51
+ kind: "app";
52
+ }, {
53
+ id: string;
54
+ kind: "app";
55
+ }>, z.ZodObject<{
56
+ kind: z.ZodLiteral<"bot">;
57
+ id: z.ZodString;
58
+ }, "strict", z.ZodTypeAny, {
59
+ id: string;
60
+ kind: "bot";
61
+ }, {
62
+ id: string;
63
+ kind: "bot";
64
+ }>, z.ZodObject<{
65
+ kind: z.ZodLiteral<"workflow">;
66
+ id: z.ZodString;
67
+ }, "strict", z.ZodTypeAny, {
68
+ id: string;
69
+ kind: "workflow";
70
+ }, {
71
+ id: string;
72
+ kind: "workflow";
73
+ }>, z.ZodObject<{
74
+ kind: z.ZodLiteral<"api">;
75
+ id: z.ZodString;
76
+ callId: z.ZodString;
77
+ }, "strict", z.ZodTypeAny, {
78
+ id: string;
79
+ kind: "api";
80
+ callId: string;
81
+ }, {
82
+ id: string;
83
+ kind: "api";
84
+ callId: string;
85
+ }>]>;
86
+ start: z.ZodNumber;
87
+ end: z.ZodNumber;
88
+ }, "strict", z.ZodTypeAny, {
89
+ reference: {
90
+ id: string;
91
+ kind: "app";
92
+ } | {
93
+ id: string;
94
+ kind: "bot";
95
+ } | {
96
+ id: string;
97
+ kind: "workflow";
98
+ } | {
99
+ id: string;
100
+ kind: "api";
101
+ callId: string;
102
+ };
103
+ start: number;
104
+ end: number;
105
+ }, {
106
+ reference: {
107
+ id: string;
108
+ kind: "app";
109
+ } | {
110
+ id: string;
111
+ kind: "bot";
112
+ } | {
113
+ id: string;
114
+ kind: "workflow";
115
+ } | {
116
+ id: string;
117
+ kind: "api";
118
+ callId: string;
119
+ };
120
+ start: number;
121
+ end: number;
122
+ }>;
123
+ export declare const workflowSuggestionSchema: z.ZodEffects<z.ZodObject<{
124
+ description: z.ZodString;
125
+ revision: z.ZodNumber;
126
+ sessionId: z.ZodOptional<z.ZodString>;
127
+ mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
128
+ reference: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
129
+ kind: z.ZodLiteral<"app">;
130
+ id: z.ZodString;
131
+ }, "strict", z.ZodTypeAny, {
132
+ id: string;
133
+ kind: "app";
134
+ }, {
135
+ id: string;
136
+ kind: "app";
137
+ }>, z.ZodObject<{
138
+ kind: z.ZodLiteral<"bot">;
139
+ id: z.ZodString;
140
+ }, "strict", z.ZodTypeAny, {
141
+ id: string;
142
+ kind: "bot";
143
+ }, {
144
+ id: string;
145
+ kind: "bot";
146
+ }>, z.ZodObject<{
147
+ kind: z.ZodLiteral<"workflow">;
148
+ id: z.ZodString;
149
+ }, "strict", z.ZodTypeAny, {
150
+ id: string;
151
+ kind: "workflow";
152
+ }, {
153
+ id: string;
154
+ kind: "workflow";
155
+ }>, z.ZodObject<{
156
+ kind: z.ZodLiteral<"api">;
157
+ id: z.ZodString;
158
+ callId: z.ZodString;
159
+ }, "strict", z.ZodTypeAny, {
160
+ id: string;
161
+ kind: "api";
162
+ callId: string;
163
+ }, {
164
+ id: string;
165
+ kind: "api";
166
+ callId: string;
167
+ }>]>;
168
+ start: z.ZodNumber;
169
+ end: z.ZodNumber;
170
+ }, "strict", z.ZodTypeAny, {
171
+ reference: {
172
+ id: string;
173
+ kind: "app";
174
+ } | {
175
+ id: string;
176
+ kind: "bot";
177
+ } | {
178
+ id: string;
179
+ kind: "workflow";
180
+ } | {
181
+ id: string;
182
+ kind: "api";
183
+ callId: string;
184
+ };
185
+ start: number;
186
+ end: number;
187
+ }, {
188
+ reference: {
189
+ id: string;
190
+ kind: "app";
191
+ } | {
192
+ id: string;
193
+ kind: "bot";
194
+ } | {
195
+ id: string;
196
+ kind: "workflow";
197
+ } | {
198
+ id: string;
199
+ kind: "api";
200
+ callId: string;
201
+ };
202
+ start: number;
203
+ end: number;
204
+ }>, "many">>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ description: string;
207
+ revision: number;
208
+ mentions: {
209
+ reference: {
210
+ id: string;
211
+ kind: "app";
212
+ } | {
213
+ id: string;
214
+ kind: "bot";
215
+ } | {
216
+ id: string;
217
+ kind: "workflow";
218
+ } | {
219
+ id: string;
220
+ kind: "api";
221
+ callId: string;
222
+ };
223
+ start: number;
224
+ end: number;
225
+ }[];
226
+ sessionId?: string | undefined;
227
+ }, {
228
+ description: string;
229
+ revision: number;
230
+ sessionId?: string | undefined;
231
+ mentions?: {
232
+ reference: {
233
+ id: string;
234
+ kind: "app";
235
+ } | {
236
+ id: string;
237
+ kind: "bot";
238
+ } | {
239
+ id: string;
240
+ kind: "workflow";
241
+ } | {
242
+ id: string;
243
+ kind: "api";
244
+ callId: string;
245
+ };
246
+ start: number;
247
+ end: number;
248
+ }[] | undefined;
249
+ }>, {
250
+ description: string;
251
+ revision: number;
252
+ mentions: {
253
+ reference: {
254
+ id: string;
255
+ kind: "app";
256
+ } | {
257
+ id: string;
258
+ kind: "bot";
259
+ } | {
260
+ id: string;
261
+ kind: "workflow";
262
+ } | {
263
+ id: string;
264
+ kind: "api";
265
+ callId: string;
266
+ };
267
+ start: number;
268
+ end: number;
269
+ }[];
270
+ sessionId?: string | undefined;
271
+ }, {
272
+ description: string;
273
+ revision: number;
274
+ sessionId?: string | undefined;
275
+ mentions?: {
276
+ reference: {
277
+ id: string;
278
+ kind: "app";
279
+ } | {
280
+ id: string;
281
+ kind: "bot";
282
+ } | {
283
+ id: string;
284
+ kind: "workflow";
285
+ } | {
286
+ id: string;
287
+ kind: "api";
288
+ callId: string;
289
+ };
290
+ start: number;
291
+ end: number;
292
+ }[] | undefined;
293
+ }>;
294
+ export declare const workflowMentionSearchSchema: z.ZodObject<{
295
+ search: z.ZodDefault<z.ZodString>;
296
+ workflowId: z.ZodOptional<z.ZodString>;
297
+ kind: z.ZodOptional<z.ZodEnum<["app", "bot", "workflow", "api"]>>;
298
+ offset: z.ZodDefault<z.ZodNumber>;
299
+ limit: z.ZodDefault<z.ZodNumber>;
300
+ }, "strict", z.ZodTypeAny, {
301
+ offset: number;
302
+ search: string;
303
+ limit: number;
304
+ kind?: "bot" | "app" | "workflow" | "api" | undefined;
305
+ workflowId?: string | undefined;
306
+ }, {
307
+ offset?: number | undefined;
308
+ kind?: "bot" | "app" | "workflow" | "api" | undefined;
309
+ search?: string | undefined;
310
+ limit?: number | undefined;
311
+ workflowId?: string | undefined;
312
+ }>;
313
+ export declare const workflowMentionResolveSchema: z.ZodObject<{
314
+ workflowId: z.ZodOptional<z.ZodString>;
315
+ references: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
316
+ kind: z.ZodLiteral<"app">;
317
+ id: z.ZodString;
318
+ }, "strict", z.ZodTypeAny, {
319
+ id: string;
320
+ kind: "app";
321
+ }, {
322
+ id: string;
323
+ kind: "app";
324
+ }>, z.ZodObject<{
325
+ kind: z.ZodLiteral<"bot">;
326
+ id: z.ZodString;
327
+ }, "strict", z.ZodTypeAny, {
328
+ id: string;
329
+ kind: "bot";
330
+ }, {
331
+ id: string;
332
+ kind: "bot";
333
+ }>, z.ZodObject<{
334
+ kind: z.ZodLiteral<"workflow">;
335
+ id: z.ZodString;
336
+ }, "strict", z.ZodTypeAny, {
337
+ id: string;
338
+ kind: "workflow";
339
+ }, {
340
+ id: string;
341
+ kind: "workflow";
342
+ }>, z.ZodObject<{
343
+ kind: z.ZodLiteral<"api">;
344
+ id: z.ZodString;
345
+ callId: z.ZodString;
346
+ }, "strict", z.ZodTypeAny, {
347
+ id: string;
348
+ kind: "api";
349
+ callId: string;
350
+ }, {
351
+ id: string;
352
+ kind: "api";
353
+ callId: string;
354
+ }>]>, "many">;
355
+ }, "strict", z.ZodTypeAny, {
356
+ references: ({
357
+ id: string;
358
+ kind: "app";
359
+ } | {
360
+ id: string;
361
+ kind: "bot";
362
+ } | {
363
+ id: string;
364
+ kind: "workflow";
365
+ } | {
366
+ id: string;
367
+ kind: "api";
368
+ callId: string;
369
+ })[];
370
+ workflowId?: string | undefined;
371
+ }, {
372
+ references: ({
373
+ id: string;
374
+ kind: "app";
375
+ } | {
376
+ id: string;
377
+ kind: "bot";
378
+ } | {
379
+ id: string;
380
+ kind: "workflow";
381
+ } | {
382
+ id: string;
383
+ kind: "api";
384
+ callId: string;
385
+ })[];
386
+ workflowId?: string | undefined;
387
+ }>;
388
+ export type WorkflowMentionReference = z.infer<typeof workflowMentionReferenceSchema>;
389
+ export type WorkflowMention = z.infer<typeof workflowMentionSchema>;
390
+ export type WorkflowMentionItem = {
391
+ reference: WorkflowMentionReference;
392
+ label: string;
393
+ description: string;
394
+ subtitle: string;
395
+ state: string;
396
+ available: boolean;
397
+ unavailableReason: string | null;
398
+ logoUrl: string | null;
399
+ pictureUrl: string | null;
400
+ avatar: BotAvatarRecipe | null;
401
+ };
402
+ export type WorkflowMentionGroup = {
403
+ kind: WorkflowMentionReference['kind'];
404
+ items: WorkflowMentionItem[];
405
+ total: number;
406
+ nextOffset: number | null;
407
+ };
408
+ export type WorkflowMentionCatalog = {
409
+ groups: WorkflowMentionGroup[];
410
+ };
2
411
  export declare const workflowValueSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3
412
  kind: z.ZodLiteral<"literal">;
4
413
  value: z.ZodUnknown;
@@ -391,6 +800,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
391
800
  }>]>>>;
392
801
  }, "strict", z.ZodTypeAny, {
393
802
  revision: number;
803
+ callId: string;
394
804
  input: Record<string, {
395
805
  kind: "literal";
396
806
  value?: unknown;
@@ -403,11 +813,10 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
403
813
  stepId: string;
404
814
  }>;
405
815
  apiId: string;
406
- callId: string;
407
816
  }, {
408
817
  revision: number;
409
- apiId: string;
410
818
  callId: string;
819
+ apiId: string;
411
820
  input?: Record<string, {
412
821
  kind: "literal";
413
822
  value?: unknown;
@@ -452,6 +861,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
452
861
  name: string;
453
862
  config: {
454
863
  revision: number;
864
+ callId: string;
455
865
  input: Record<string, {
456
866
  kind: "literal";
457
867
  value?: unknown;
@@ -464,7 +874,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
464
874
  stepId: string;
465
875
  }>;
466
876
  apiId: string;
467
- callId: string;
468
877
  };
469
878
  position: {
470
879
  x: number;
@@ -482,8 +891,8 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
482
891
  name: string;
483
892
  config: {
484
893
  revision: number;
485
- apiId: string;
486
894
  callId: string;
895
+ apiId: string;
487
896
  input?: Record<string, {
488
897
  kind: "literal";
489
898
  value?: unknown;
@@ -544,7 +953,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
544
953
  limit: z.ZodDefault<z.ZodNumber>;
545
954
  }, "strict", z.ZodTypeAny, {
546
955
  operation: "save" | "recall";
547
- limit: number;
548
956
  text: {
549
957
  kind: "literal";
550
958
  value?: unknown;
@@ -556,6 +964,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
556
964
  kind: "step";
557
965
  stepId: string;
558
966
  };
967
+ limit: number;
559
968
  }, {
560
969
  operation: "save" | "recall";
561
970
  text: {
@@ -603,7 +1012,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
603
1012
  name: string;
604
1013
  config: {
605
1014
  operation: "save" | "recall";
606
- limit: number;
607
1015
  text: {
608
1016
  kind: "literal";
609
1017
  value?: unknown;
@@ -615,6 +1023,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
615
1023
  kind: "step";
616
1024
  stepId: string;
617
1025
  };
1026
+ limit: number;
618
1027
  };
619
1028
  position: {
620
1029
  x: number;
@@ -1230,6 +1639,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
1230
1639
  }>]>>>;
1231
1640
  }, "strict", z.ZodTypeAny, {
1232
1641
  version: number | "live";
1642
+ workflowId: string;
1233
1643
  input: Record<string, {
1234
1644
  kind: "literal";
1235
1645
  value?: unknown;
@@ -1241,7 +1651,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
1241
1651
  kind: "step";
1242
1652
  stepId: string;
1243
1653
  }>;
1244
- workflowId: string;
1245
1654
  }, {
1246
1655
  version: number | "live";
1247
1656
  workflowId: string;
@@ -1289,6 +1698,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
1289
1698
  name: string;
1290
1699
  config: {
1291
1700
  version: number | "live";
1701
+ workflowId: string;
1292
1702
  input: Record<string, {
1293
1703
  kind: "literal";
1294
1704
  value?: unknown;
@@ -1300,7 +1710,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
1300
1710
  kind: "step";
1301
1711
  stepId: string;
1302
1712
  }>;
1303
- workflowId: string;
1304
1713
  };
1305
1714
  position: {
1306
1715
  x: number;
@@ -2472,6 +2881,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
2472
2881
  concurrency: z.ZodDefault<z.ZodNumber>;
2473
2882
  }, "strict", z.ZodTypeAny, {
2474
2883
  version: number | "live";
2884
+ workflowId: string;
2475
2885
  input: Record<string, {
2476
2886
  kind: "literal";
2477
2887
  value?: unknown;
@@ -2483,7 +2893,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
2483
2893
  kind: "step";
2484
2894
  stepId: string;
2485
2895
  }>;
2486
- workflowId: string;
2487
2896
  items: {
2488
2897
  kind: "literal";
2489
2898
  value?: unknown;
@@ -2557,6 +2966,7 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
2557
2966
  name: string;
2558
2967
  config: {
2559
2968
  version: number | "live";
2969
+ workflowId: string;
2560
2970
  input: Record<string, {
2561
2971
  kind: "literal";
2562
2972
  value?: unknown;
@@ -2568,7 +2978,6 @@ export declare const workflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
2568
2978
  kind: "step";
2569
2979
  stepId: string;
2570
2980
  }>;
2571
- workflowId: string;
2572
2981
  items: {
2573
2982
  kind: "literal";
2574
2983
  value?: unknown;
@@ -4312,6 +4721,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4312
4721
  }>]>>>;
4313
4722
  }, "strict", z.ZodTypeAny, {
4314
4723
  revision: number;
4724
+ callId: string;
4315
4725
  input: Record<string, {
4316
4726
  kind: "literal";
4317
4727
  value?: unknown;
@@ -4324,11 +4734,10 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4324
4734
  stepId: string;
4325
4735
  }>;
4326
4736
  apiId: string;
4327
- callId: string;
4328
4737
  }, {
4329
4738
  revision: number;
4330
- apiId: string;
4331
4739
  callId: string;
4740
+ apiId: string;
4332
4741
  input?: Record<string, {
4333
4742
  kind: "literal";
4334
4743
  value?: unknown;
@@ -4373,6 +4782,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4373
4782
  name: string;
4374
4783
  config: {
4375
4784
  revision: number;
4785
+ callId: string;
4376
4786
  input: Record<string, {
4377
4787
  kind: "literal";
4378
4788
  value?: unknown;
@@ -4385,7 +4795,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4385
4795
  stepId: string;
4386
4796
  }>;
4387
4797
  apiId: string;
4388
- callId: string;
4389
4798
  };
4390
4799
  position: {
4391
4800
  x: number;
@@ -4403,8 +4812,8 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4403
4812
  name: string;
4404
4813
  config: {
4405
4814
  revision: number;
4406
- apiId: string;
4407
4815
  callId: string;
4816
+ apiId: string;
4408
4817
  input?: Record<string, {
4409
4818
  kind: "literal";
4410
4819
  value?: unknown;
@@ -4465,7 +4874,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4465
4874
  limit: z.ZodDefault<z.ZodNumber>;
4466
4875
  }, "strict", z.ZodTypeAny, {
4467
4876
  operation: "save" | "recall";
4468
- limit: number;
4469
4877
  text: {
4470
4878
  kind: "literal";
4471
4879
  value?: unknown;
@@ -4477,6 +4885,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4477
4885
  kind: "step";
4478
4886
  stepId: string;
4479
4887
  };
4888
+ limit: number;
4480
4889
  }, {
4481
4890
  operation: "save" | "recall";
4482
4891
  text: {
@@ -4524,7 +4933,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4524
4933
  name: string;
4525
4934
  config: {
4526
4935
  operation: "save" | "recall";
4527
- limit: number;
4528
4936
  text: {
4529
4937
  kind: "literal";
4530
4938
  value?: unknown;
@@ -4536,6 +4944,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
4536
4944
  kind: "step";
4537
4945
  stepId: string;
4538
4946
  };
4947
+ limit: number;
4539
4948
  };
4540
4949
  position: {
4541
4950
  x: number;
@@ -5151,6 +5560,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
5151
5560
  }>]>>>;
5152
5561
  }, "strict", z.ZodTypeAny, {
5153
5562
  version: number | "live";
5563
+ workflowId: string;
5154
5564
  input: Record<string, {
5155
5565
  kind: "literal";
5156
5566
  value?: unknown;
@@ -5162,7 +5572,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
5162
5572
  kind: "step";
5163
5573
  stepId: string;
5164
5574
  }>;
5165
- workflowId: string;
5166
5575
  }, {
5167
5576
  version: number | "live";
5168
5577
  workflowId: string;
@@ -5210,6 +5619,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
5210
5619
  name: string;
5211
5620
  config: {
5212
5621
  version: number | "live";
5622
+ workflowId: string;
5213
5623
  input: Record<string, {
5214
5624
  kind: "literal";
5215
5625
  value?: unknown;
@@ -5221,7 +5631,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
5221
5631
  kind: "step";
5222
5632
  stepId: string;
5223
5633
  }>;
5224
- workflowId: string;
5225
5634
  };
5226
5635
  position: {
5227
5636
  x: number;
@@ -6393,6 +6802,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
6393
6802
  concurrency: z.ZodDefault<z.ZodNumber>;
6394
6803
  }, "strict", z.ZodTypeAny, {
6395
6804
  version: number | "live";
6805
+ workflowId: string;
6396
6806
  input: Record<string, {
6397
6807
  kind: "literal";
6398
6808
  value?: unknown;
@@ -6404,7 +6814,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
6404
6814
  kind: "step";
6405
6815
  stepId: string;
6406
6816
  }>;
6407
- workflowId: string;
6408
6817
  items: {
6409
6818
  kind: "literal";
6410
6819
  value?: unknown;
@@ -6478,6 +6887,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
6478
6887
  name: string;
6479
6888
  config: {
6480
6889
  version: number | "live";
6890
+ workflowId: string;
6481
6891
  input: Record<string, {
6482
6892
  kind: "literal";
6483
6893
  value?: unknown;
@@ -6489,7 +6899,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
6489
6899
  kind: "step";
6490
6900
  stepId: string;
6491
6901
  }>;
6492
- workflowId: string;
6493
6902
  items: {
6494
6903
  kind: "literal";
6495
6904
  value?: unknown;
@@ -8100,6 +8509,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8100
8509
  name: string;
8101
8510
  config: {
8102
8511
  revision: number;
8512
+ callId: string;
8103
8513
  input: Record<string, {
8104
8514
  kind: "literal";
8105
8515
  value?: unknown;
@@ -8112,7 +8522,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8112
8522
  stepId: string;
8113
8523
  }>;
8114
8524
  apiId: string;
8115
- callId: string;
8116
8525
  };
8117
8526
  position: {
8118
8527
  x: number;
@@ -8130,7 +8539,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8130
8539
  name: string;
8131
8540
  config: {
8132
8541
  operation: "save" | "recall";
8133
- limit: number;
8134
8542
  text: {
8135
8543
  kind: "literal";
8136
8544
  value?: unknown;
@@ -8142,6 +8550,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8142
8550
  kind: "step";
8143
8551
  stepId: string;
8144
8552
  };
8553
+ limit: number;
8145
8554
  };
8146
8555
  position: {
8147
8556
  x: number;
@@ -8260,6 +8669,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8260
8669
  name: string;
8261
8670
  config: {
8262
8671
  version: number | "live";
8672
+ workflowId: string;
8263
8673
  input: Record<string, {
8264
8674
  kind: "literal";
8265
8675
  value?: unknown;
@@ -8271,7 +8681,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8271
8681
  kind: "step";
8272
8682
  stepId: string;
8273
8683
  }>;
8274
- workflowId: string;
8275
8684
  };
8276
8685
  position: {
8277
8686
  x: number;
@@ -8453,6 +8862,7 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8453
8862
  name: string;
8454
8863
  config: {
8455
8864
  version: number | "live";
8865
+ workflowId: string;
8456
8866
  input: Record<string, {
8457
8867
  kind: "literal";
8458
8868
  value?: unknown;
@@ -8464,7 +8874,6 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8464
8874
  kind: "step";
8465
8875
  stepId: string;
8466
8876
  }>;
8467
- workflowId: string;
8468
8877
  items: {
8469
8878
  kind: "literal";
8470
8879
  value?: unknown;
@@ -8856,8 +9265,8 @@ export declare const workflowDefinitionSchema: z.ZodObject<{
8856
9265
  name: string;
8857
9266
  config: {
8858
9267
  revision: number;
8859
- apiId: string;
8860
9268
  callId: string;
9269
+ apiId: string;
8861
9270
  input?: Record<string, {
8862
9271
  kind: "literal";
8863
9272
  value?: unknown;
@@ -9834,6 +10243,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
9834
10243
  }>]>>>;
9835
10244
  }, "strict", z.ZodTypeAny, {
9836
10245
  revision: number;
10246
+ callId: string;
9837
10247
  input: Record<string, {
9838
10248
  kind: "literal";
9839
10249
  value?: unknown;
@@ -9846,11 +10256,10 @@ export declare const workflowCreateSchema: z.ZodObject<{
9846
10256
  stepId: string;
9847
10257
  }>;
9848
10258
  apiId: string;
9849
- callId: string;
9850
10259
  }, {
9851
10260
  revision: number;
9852
- apiId: string;
9853
10261
  callId: string;
10262
+ apiId: string;
9854
10263
  input?: Record<string, {
9855
10264
  kind: "literal";
9856
10265
  value?: unknown;
@@ -9895,6 +10304,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
9895
10304
  name: string;
9896
10305
  config: {
9897
10306
  revision: number;
10307
+ callId: string;
9898
10308
  input: Record<string, {
9899
10309
  kind: "literal";
9900
10310
  value?: unknown;
@@ -9907,7 +10317,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
9907
10317
  stepId: string;
9908
10318
  }>;
9909
10319
  apiId: string;
9910
- callId: string;
9911
10320
  };
9912
10321
  position: {
9913
10322
  x: number;
@@ -9925,8 +10334,8 @@ export declare const workflowCreateSchema: z.ZodObject<{
9925
10334
  name: string;
9926
10335
  config: {
9927
10336
  revision: number;
9928
- apiId: string;
9929
10337
  callId: string;
10338
+ apiId: string;
9930
10339
  input?: Record<string, {
9931
10340
  kind: "literal";
9932
10341
  value?: unknown;
@@ -9987,7 +10396,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
9987
10396
  limit: z.ZodDefault<z.ZodNumber>;
9988
10397
  }, "strict", z.ZodTypeAny, {
9989
10398
  operation: "save" | "recall";
9990
- limit: number;
9991
10399
  text: {
9992
10400
  kind: "literal";
9993
10401
  value?: unknown;
@@ -9999,6 +10407,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
9999
10407
  kind: "step";
10000
10408
  stepId: string;
10001
10409
  };
10410
+ limit: number;
10002
10411
  }, {
10003
10412
  operation: "save" | "recall";
10004
10413
  text: {
@@ -10046,7 +10455,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
10046
10455
  name: string;
10047
10456
  config: {
10048
10457
  operation: "save" | "recall";
10049
- limit: number;
10050
10458
  text: {
10051
10459
  kind: "literal";
10052
10460
  value?: unknown;
@@ -10058,6 +10466,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
10058
10466
  kind: "step";
10059
10467
  stepId: string;
10060
10468
  };
10469
+ limit: number;
10061
10470
  };
10062
10471
  position: {
10063
10472
  x: number;
@@ -10673,6 +11082,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
10673
11082
  }>]>>>;
10674
11083
  }, "strict", z.ZodTypeAny, {
10675
11084
  version: number | "live";
11085
+ workflowId: string;
10676
11086
  input: Record<string, {
10677
11087
  kind: "literal";
10678
11088
  value?: unknown;
@@ -10684,7 +11094,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
10684
11094
  kind: "step";
10685
11095
  stepId: string;
10686
11096
  }>;
10687
- workflowId: string;
10688
11097
  }, {
10689
11098
  version: number | "live";
10690
11099
  workflowId: string;
@@ -10732,6 +11141,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
10732
11141
  name: string;
10733
11142
  config: {
10734
11143
  version: number | "live";
11144
+ workflowId: string;
10735
11145
  input: Record<string, {
10736
11146
  kind: "literal";
10737
11147
  value?: unknown;
@@ -10743,7 +11153,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
10743
11153
  kind: "step";
10744
11154
  stepId: string;
10745
11155
  }>;
10746
- workflowId: string;
10747
11156
  };
10748
11157
  position: {
10749
11158
  x: number;
@@ -11915,6 +12324,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
11915
12324
  concurrency: z.ZodDefault<z.ZodNumber>;
11916
12325
  }, "strict", z.ZodTypeAny, {
11917
12326
  version: number | "live";
12327
+ workflowId: string;
11918
12328
  input: Record<string, {
11919
12329
  kind: "literal";
11920
12330
  value?: unknown;
@@ -11926,7 +12336,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
11926
12336
  kind: "step";
11927
12337
  stepId: string;
11928
12338
  }>;
11929
- workflowId: string;
11930
12339
  items: {
11931
12340
  kind: "literal";
11932
12341
  value?: unknown;
@@ -12000,6 +12409,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
12000
12409
  name: string;
12001
12410
  config: {
12002
12411
  version: number | "live";
12412
+ workflowId: string;
12003
12413
  input: Record<string, {
12004
12414
  kind: "literal";
12005
12415
  value?: unknown;
@@ -12011,7 +12421,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
12011
12421
  kind: "step";
12012
12422
  stepId: string;
12013
12423
  }>;
12014
- workflowId: string;
12015
12424
  items: {
12016
12425
  kind: "literal";
12017
12426
  value?: unknown;
@@ -13622,6 +14031,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
13622
14031
  name: string;
13623
14032
  config: {
13624
14033
  revision: number;
14034
+ callId: string;
13625
14035
  input: Record<string, {
13626
14036
  kind: "literal";
13627
14037
  value?: unknown;
@@ -13634,7 +14044,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
13634
14044
  stepId: string;
13635
14045
  }>;
13636
14046
  apiId: string;
13637
- callId: string;
13638
14047
  };
13639
14048
  position: {
13640
14049
  x: number;
@@ -13652,7 +14061,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
13652
14061
  name: string;
13653
14062
  config: {
13654
14063
  operation: "save" | "recall";
13655
- limit: number;
13656
14064
  text: {
13657
14065
  kind: "literal";
13658
14066
  value?: unknown;
@@ -13664,6 +14072,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
13664
14072
  kind: "step";
13665
14073
  stepId: string;
13666
14074
  };
14075
+ limit: number;
13667
14076
  };
13668
14077
  position: {
13669
14078
  x: number;
@@ -13782,6 +14191,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
13782
14191
  name: string;
13783
14192
  config: {
13784
14193
  version: number | "live";
14194
+ workflowId: string;
13785
14195
  input: Record<string, {
13786
14196
  kind: "literal";
13787
14197
  value?: unknown;
@@ -13793,7 +14203,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
13793
14203
  kind: "step";
13794
14204
  stepId: string;
13795
14205
  }>;
13796
- workflowId: string;
13797
14206
  };
13798
14207
  position: {
13799
14208
  x: number;
@@ -13975,6 +14384,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
13975
14384
  name: string;
13976
14385
  config: {
13977
14386
  version: number | "live";
14387
+ workflowId: string;
13978
14388
  input: Record<string, {
13979
14389
  kind: "literal";
13980
14390
  value?: unknown;
@@ -13986,7 +14396,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
13986
14396
  kind: "step";
13987
14397
  stepId: string;
13988
14398
  }>;
13989
- workflowId: string;
13990
14399
  items: {
13991
14400
  kind: "literal";
13992
14401
  value?: unknown;
@@ -14378,8 +14787,8 @@ export declare const workflowCreateSchema: z.ZodObject<{
14378
14787
  name: string;
14379
14788
  config: {
14380
14789
  revision: number;
14381
- apiId: string;
14382
14790
  callId: string;
14791
+ apiId: string;
14383
14792
  input?: Record<string, {
14384
14793
  kind: "literal";
14385
14794
  value?: unknown;
@@ -15154,6 +15563,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
15154
15563
  name: string;
15155
15564
  config: {
15156
15565
  revision: number;
15566
+ callId: string;
15157
15567
  input: Record<string, {
15158
15568
  kind: "literal";
15159
15569
  value?: unknown;
@@ -15166,7 +15576,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
15166
15576
  stepId: string;
15167
15577
  }>;
15168
15578
  apiId: string;
15169
- callId: string;
15170
15579
  };
15171
15580
  position: {
15172
15581
  x: number;
@@ -15184,7 +15593,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
15184
15593
  name: string;
15185
15594
  config: {
15186
15595
  operation: "save" | "recall";
15187
- limit: number;
15188
15596
  text: {
15189
15597
  kind: "literal";
15190
15598
  value?: unknown;
@@ -15196,6 +15604,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
15196
15604
  kind: "step";
15197
15605
  stepId: string;
15198
15606
  };
15607
+ limit: number;
15199
15608
  };
15200
15609
  position: {
15201
15610
  x: number;
@@ -15314,6 +15723,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
15314
15723
  name: string;
15315
15724
  config: {
15316
15725
  version: number | "live";
15726
+ workflowId: string;
15317
15727
  input: Record<string, {
15318
15728
  kind: "literal";
15319
15729
  value?: unknown;
@@ -15325,7 +15735,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
15325
15735
  kind: "step";
15326
15736
  stepId: string;
15327
15737
  }>;
15328
- workflowId: string;
15329
15738
  };
15330
15739
  position: {
15331
15740
  x: number;
@@ -15507,6 +15916,7 @@ export declare const workflowCreateSchema: z.ZodObject<{
15507
15916
  name: string;
15508
15917
  config: {
15509
15918
  version: number | "live";
15919
+ workflowId: string;
15510
15920
  input: Record<string, {
15511
15921
  kind: "literal";
15512
15922
  value?: unknown;
@@ -15518,7 +15928,6 @@ export declare const workflowCreateSchema: z.ZodObject<{
15518
15928
  kind: "step";
15519
15929
  stepId: string;
15520
15930
  }>;
15521
- workflowId: string;
15522
15931
  items: {
15523
15932
  kind: "literal";
15524
15933
  value?: unknown;
@@ -15918,8 +16327,8 @@ export declare const workflowCreateSchema: z.ZodObject<{
15918
16327
  name: string;
15919
16328
  config: {
15920
16329
  revision: number;
15921
- apiId: string;
15922
16330
  callId: string;
16331
+ apiId: string;
15923
16332
  input?: Record<string, {
15924
16333
  kind: "literal";
15925
16334
  value?: unknown;
@@ -16885,6 +17294,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
16885
17294
  }>]>>>;
16886
17295
  }, "strict", z.ZodTypeAny, {
16887
17296
  revision: number;
17297
+ callId: string;
16888
17298
  input: Record<string, {
16889
17299
  kind: "literal";
16890
17300
  value?: unknown;
@@ -16897,11 +17307,10 @@ export declare const workflowUpdateSchema: z.ZodObject<{
16897
17307
  stepId: string;
16898
17308
  }>;
16899
17309
  apiId: string;
16900
- callId: string;
16901
17310
  }, {
16902
17311
  revision: number;
16903
- apiId: string;
16904
17312
  callId: string;
17313
+ apiId: string;
16905
17314
  input?: Record<string, {
16906
17315
  kind: "literal";
16907
17316
  value?: unknown;
@@ -16946,6 +17355,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
16946
17355
  name: string;
16947
17356
  config: {
16948
17357
  revision: number;
17358
+ callId: string;
16949
17359
  input: Record<string, {
16950
17360
  kind: "literal";
16951
17361
  value?: unknown;
@@ -16958,7 +17368,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
16958
17368
  stepId: string;
16959
17369
  }>;
16960
17370
  apiId: string;
16961
- callId: string;
16962
17371
  };
16963
17372
  position: {
16964
17373
  x: number;
@@ -16976,8 +17385,8 @@ export declare const workflowUpdateSchema: z.ZodObject<{
16976
17385
  name: string;
16977
17386
  config: {
16978
17387
  revision: number;
16979
- apiId: string;
16980
17388
  callId: string;
17389
+ apiId: string;
16981
17390
  input?: Record<string, {
16982
17391
  kind: "literal";
16983
17392
  value?: unknown;
@@ -17038,7 +17447,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17038
17447
  limit: z.ZodDefault<z.ZodNumber>;
17039
17448
  }, "strict", z.ZodTypeAny, {
17040
17449
  operation: "save" | "recall";
17041
- limit: number;
17042
17450
  text: {
17043
17451
  kind: "literal";
17044
17452
  value?: unknown;
@@ -17050,6 +17458,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17050
17458
  kind: "step";
17051
17459
  stepId: string;
17052
17460
  };
17461
+ limit: number;
17053
17462
  }, {
17054
17463
  operation: "save" | "recall";
17055
17464
  text: {
@@ -17097,7 +17506,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17097
17506
  name: string;
17098
17507
  config: {
17099
17508
  operation: "save" | "recall";
17100
- limit: number;
17101
17509
  text: {
17102
17510
  kind: "literal";
17103
17511
  value?: unknown;
@@ -17109,6 +17517,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17109
17517
  kind: "step";
17110
17518
  stepId: string;
17111
17519
  };
17520
+ limit: number;
17112
17521
  };
17113
17522
  position: {
17114
17523
  x: number;
@@ -17724,6 +18133,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17724
18133
  }>]>>>;
17725
18134
  }, "strict", z.ZodTypeAny, {
17726
18135
  version: number | "live";
18136
+ workflowId: string;
17727
18137
  input: Record<string, {
17728
18138
  kind: "literal";
17729
18139
  value?: unknown;
@@ -17735,7 +18145,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17735
18145
  kind: "step";
17736
18146
  stepId: string;
17737
18147
  }>;
17738
- workflowId: string;
17739
18148
  }, {
17740
18149
  version: number | "live";
17741
18150
  workflowId: string;
@@ -17783,6 +18192,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17783
18192
  name: string;
17784
18193
  config: {
17785
18194
  version: number | "live";
18195
+ workflowId: string;
17786
18196
  input: Record<string, {
17787
18197
  kind: "literal";
17788
18198
  value?: unknown;
@@ -17794,7 +18204,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
17794
18204
  kind: "step";
17795
18205
  stepId: string;
17796
18206
  }>;
17797
- workflowId: string;
17798
18207
  };
17799
18208
  position: {
17800
18209
  x: number;
@@ -18966,6 +19375,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
18966
19375
  concurrency: z.ZodDefault<z.ZodNumber>;
18967
19376
  }, "strict", z.ZodTypeAny, {
18968
19377
  version: number | "live";
19378
+ workflowId: string;
18969
19379
  input: Record<string, {
18970
19380
  kind: "literal";
18971
19381
  value?: unknown;
@@ -18977,7 +19387,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
18977
19387
  kind: "step";
18978
19388
  stepId: string;
18979
19389
  }>;
18980
- workflowId: string;
18981
19390
  items: {
18982
19391
  kind: "literal";
18983
19392
  value?: unknown;
@@ -19051,6 +19460,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
19051
19460
  name: string;
19052
19461
  config: {
19053
19462
  version: number | "live";
19463
+ workflowId: string;
19054
19464
  input: Record<string, {
19055
19465
  kind: "literal";
19056
19466
  value?: unknown;
@@ -19062,7 +19472,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
19062
19472
  kind: "step";
19063
19473
  stepId: string;
19064
19474
  }>;
19065
- workflowId: string;
19066
19475
  items: {
19067
19476
  kind: "literal";
19068
19477
  value?: unknown;
@@ -20673,6 +21082,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
20673
21082
  name: string;
20674
21083
  config: {
20675
21084
  revision: number;
21085
+ callId: string;
20676
21086
  input: Record<string, {
20677
21087
  kind: "literal";
20678
21088
  value?: unknown;
@@ -20685,7 +21095,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
20685
21095
  stepId: string;
20686
21096
  }>;
20687
21097
  apiId: string;
20688
- callId: string;
20689
21098
  };
20690
21099
  position: {
20691
21100
  x: number;
@@ -20703,7 +21112,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
20703
21112
  name: string;
20704
21113
  config: {
20705
21114
  operation: "save" | "recall";
20706
- limit: number;
20707
21115
  text: {
20708
21116
  kind: "literal";
20709
21117
  value?: unknown;
@@ -20715,6 +21123,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
20715
21123
  kind: "step";
20716
21124
  stepId: string;
20717
21125
  };
21126
+ limit: number;
20718
21127
  };
20719
21128
  position: {
20720
21129
  x: number;
@@ -20833,6 +21242,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
20833
21242
  name: string;
20834
21243
  config: {
20835
21244
  version: number | "live";
21245
+ workflowId: string;
20836
21246
  input: Record<string, {
20837
21247
  kind: "literal";
20838
21248
  value?: unknown;
@@ -20844,7 +21254,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
20844
21254
  kind: "step";
20845
21255
  stepId: string;
20846
21256
  }>;
20847
- workflowId: string;
20848
21257
  };
20849
21258
  position: {
20850
21259
  x: number;
@@ -21026,6 +21435,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
21026
21435
  name: string;
21027
21436
  config: {
21028
21437
  version: number | "live";
21438
+ workflowId: string;
21029
21439
  input: Record<string, {
21030
21440
  kind: "literal";
21031
21441
  value?: unknown;
@@ -21037,7 +21447,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
21037
21447
  kind: "step";
21038
21448
  stepId: string;
21039
21449
  }>;
21040
- workflowId: string;
21041
21450
  items: {
21042
21451
  kind: "literal";
21043
21452
  value?: unknown;
@@ -21429,8 +21838,8 @@ export declare const workflowUpdateSchema: z.ZodObject<{
21429
21838
  name: string;
21430
21839
  config: {
21431
21840
  revision: number;
21432
- apiId: string;
21433
21841
  callId: string;
21842
+ apiId: string;
21434
21843
  input?: Record<string, {
21435
21844
  kind: "literal";
21436
21845
  value?: unknown;
@@ -22207,6 +22616,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22207
22616
  name: string;
22208
22617
  config: {
22209
22618
  revision: number;
22619
+ callId: string;
22210
22620
  input: Record<string, {
22211
22621
  kind: "literal";
22212
22622
  value?: unknown;
@@ -22219,7 +22629,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22219
22629
  stepId: string;
22220
22630
  }>;
22221
22631
  apiId: string;
22222
- callId: string;
22223
22632
  };
22224
22633
  position: {
22225
22634
  x: number;
@@ -22237,7 +22646,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22237
22646
  name: string;
22238
22647
  config: {
22239
22648
  operation: "save" | "recall";
22240
- limit: number;
22241
22649
  text: {
22242
22650
  kind: "literal";
22243
22651
  value?: unknown;
@@ -22249,6 +22657,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22249
22657
  kind: "step";
22250
22658
  stepId: string;
22251
22659
  };
22660
+ limit: number;
22252
22661
  };
22253
22662
  position: {
22254
22663
  x: number;
@@ -22367,6 +22776,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22367
22776
  name: string;
22368
22777
  config: {
22369
22778
  version: number | "live";
22779
+ workflowId: string;
22370
22780
  input: Record<string, {
22371
22781
  kind: "literal";
22372
22782
  value?: unknown;
@@ -22378,7 +22788,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22378
22788
  kind: "step";
22379
22789
  stepId: string;
22380
22790
  }>;
22381
- workflowId: string;
22382
22791
  };
22383
22792
  position: {
22384
22793
  x: number;
@@ -22560,6 +22969,7 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22560
22969
  name: string;
22561
22970
  config: {
22562
22971
  version: number | "live";
22972
+ workflowId: string;
22563
22973
  input: Record<string, {
22564
22974
  kind: "literal";
22565
22975
  value?: unknown;
@@ -22571,7 +22981,6 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22571
22981
  kind: "step";
22572
22982
  stepId: string;
22573
22983
  }>;
22574
- workflowId: string;
22575
22984
  items: {
22576
22985
  kind: "literal";
22577
22986
  value?: unknown;
@@ -22973,8 +23382,8 @@ export declare const workflowUpdateSchema: z.ZodObject<{
22973
23382
  name: string;
22974
23383
  config: {
22975
23384
  revision: number;
22976
- apiId: string;
22977
23385
  callId: string;
23386
+ apiId: string;
22978
23387
  input?: Record<string, {
22979
23388
  kind: "literal";
22980
23389
  value?: unknown;
@@ -24049,13 +24458,13 @@ export declare const workflowEmbedConfigSchema: z.ZodObject<{
24049
24458
  customerHeader: z.ZodString;
24050
24459
  }, "strict", z.ZodTypeAny, {
24051
24460
  revision: number;
24052
- apiId: string;
24053
24461
  callId: string;
24462
+ apiId: string;
24054
24463
  customerHeader: string;
24055
24464
  }, {
24056
24465
  revision: number;
24057
- apiId: string;
24058
24466
  callId: string;
24467
+ apiId: string;
24059
24468
  customerHeader: string;
24060
24469
  }>, "many">>;
24061
24470
  stepTypes: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"start">, z.ZodEnum<["action", "api", "memory", "code", "bot", "ai", "workflow", "if", "switch", "filter", "parallel", "merge", "for_each", "wait", "event", "approval", "transform", "format", "split", "combine", "dedupe", "form", "return", "stop", "fail"]>]>, "many">>;
@@ -24069,11 +24478,11 @@ export declare const workflowEmbedConfigSchema: z.ZodObject<{
24069
24478
  workflowIds: string[];
24070
24479
  apiOperations: {
24071
24480
  revision: number;
24072
- apiId: string;
24073
24481
  callId: string;
24482
+ apiId: string;
24074
24483
  customerHeader: string;
24075
24484
  }[];
24076
- stepTypes: ("memory" | "ai" | "filter" | "code" | "merge" | "bot" | "start" | "action" | "api" | "workflow" | "if" | "switch" | "parallel" | "for_each" | "wait" | "event" | "approval" | "transform" | "format" | "split" | "combine" | "dedupe" | "form" | "return" | "stop" | "fail")[];
24485
+ stepTypes: ("memory" | "ai" | "filter" | "transform" | "stop" | "code" | "merge" | "bot" | "workflow" | "api" | "start" | "action" | "if" | "switch" | "parallel" | "for_each" | "wait" | "event" | "approval" | "format" | "split" | "combine" | "dedupe" | "form" | "return" | "fail")[];
24077
24486
  triggerKinds: ("form" | "schedule" | "webhook" | "app_event" | "workflow_failed")[];
24078
24487
  describeEnabled: boolean;
24079
24488
  }, {
@@ -24084,11 +24493,11 @@ export declare const workflowEmbedConfigSchema: z.ZodObject<{
24084
24493
  workflowIds?: string[] | undefined;
24085
24494
  apiOperations?: {
24086
24495
  revision: number;
24087
- apiId: string;
24088
24496
  callId: string;
24497
+ apiId: string;
24089
24498
  customerHeader: string;
24090
24499
  }[] | undefined;
24091
- stepTypes?: ("memory" | "ai" | "filter" | "code" | "merge" | "bot" | "start" | "action" | "api" | "workflow" | "if" | "switch" | "parallel" | "for_each" | "wait" | "event" | "approval" | "transform" | "format" | "split" | "combine" | "dedupe" | "form" | "return" | "stop" | "fail")[] | undefined;
24500
+ stepTypes?: ("memory" | "ai" | "filter" | "transform" | "stop" | "code" | "merge" | "bot" | "workflow" | "api" | "start" | "action" | "if" | "switch" | "parallel" | "for_each" | "wait" | "event" | "approval" | "format" | "split" | "combine" | "dedupe" | "form" | "return" | "fail")[] | undefined;
24092
24501
  triggerKinds?: ("form" | "schedule" | "webhook" | "app_event" | "workflow_failed")[] | undefined;
24093
24502
  describeEnabled?: boolean | undefined;
24094
24503
  }>;