@vapi-network/mcp 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1586 @@
1
+ import { z } from "zod";
2
+ export declare const swarmSetupInputSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ agents: z.ZodOptional<z.ZodNumber>;
5
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ strategy: z.ZodOptional<z.ZodEnum<{
7
+ targets: "targets";
8
+ even: "even";
9
+ weights: "weights";
10
+ }>>;
11
+ targetsUsd: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
12
+ caps: z.ZodOptional<z.ZodObject<{
13
+ perCallUsd: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
+ perDayUsd: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
+ }, z.core.$strip>>;
16
+ treasuryCaps: z.ZodOptional<z.ZodObject<{
17
+ perCallUsd: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
18
+ perDayUsd: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
19
+ }, z.core.$strip>>;
20
+ network: z.ZodOptional<z.ZodEnum<{
21
+ base: "base";
22
+ arc: "arc";
23
+ }>>;
24
+ model: z.ZodOptional<z.ZodString>;
25
+ fundUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
26
+ from: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$strip>;
28
+ export declare const swarmAddInputSchema: z.ZodObject<{
29
+ name: z.ZodString;
30
+ role: z.ZodString;
31
+ targetUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
32
+ weight: z.ZodOptional<z.ZodNumber>;
33
+ }, z.core.$strip>;
34
+ export declare const swarmLeaveInputSchema: z.ZodObject<{
35
+ name: z.ZodString;
36
+ member: z.ZodString;
37
+ }, z.core.$strip>;
38
+ export declare const swarmFundInputSchema: z.ZodObject<{
39
+ name: z.ZodString;
40
+ amountUsd: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
41
+ from: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strip>;
43
+ export declare const swarmRebalanceInputSchema: z.ZodObject<{
44
+ name: z.ZodString;
45
+ targetsUsd: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
46
+ }, z.core.$strip>;
47
+ export declare const swarmStatusInputSchema: z.ZodObject<{
48
+ name: z.ZodString;
49
+ }, z.core.$strip>;
50
+ export declare const swarmDissolveInputSchema: z.ZodObject<{
51
+ name: z.ZodString;
52
+ }, z.core.$strip>;
53
+ export declare const swarmRebalanceOutputSchema: z.ZodObject<{
54
+ status: z.ZodEnum<{
55
+ sent: "sent";
56
+ incomplete: "incomplete";
57
+ resumed: "resumed";
58
+ balanced: "balanced";
59
+ }>;
60
+ movement: z.ZodOptional<z.ZodObject<{
61
+ movementId: z.ZodString;
62
+ reason: z.ZodString;
63
+ resumed: z.ZodBoolean;
64
+ legs: z.ZodArray<z.ZodObject<{
65
+ from: z.ZodString;
66
+ to: z.ZodString;
67
+ amountUsd: z.ZodString;
68
+ purpose: z.ZodEnum<{
69
+ send: "send";
70
+ sweep: "sweep";
71
+ }>;
72
+ status: z.ZodEnum<{
73
+ unknown: "unknown";
74
+ sent: "sent";
75
+ planned: "planned";
76
+ failed: "failed";
77
+ cancelled: "cancelled";
78
+ }>;
79
+ txHash: z.ZodOptional<z.ZodString>;
80
+ reason: z.ZodOptional<z.ZodString>;
81
+ }, z.core.$strip>>;
82
+ complete: z.ZodBoolean;
83
+ }, z.core.$strip>>;
84
+ blocked: z.ZodArray<z.ZodObject<{
85
+ to: z.ZodString;
86
+ amountUsd: z.ZodString;
87
+ reason: z.ZodString;
88
+ }, z.core.$strip>>;
89
+ skipped: z.ZodArray<z.ZodObject<{
90
+ account: z.ZodString;
91
+ reason: z.ZodString;
92
+ }, z.core.$strip>>;
93
+ message: z.ZodString;
94
+ }, z.core.$strip>;
95
+ export declare const swarmFundOutputSchema: z.ZodObject<{
96
+ status: z.ZodEnum<{
97
+ sent: "sent";
98
+ incomplete: "incomplete";
99
+ resumed: "resumed";
100
+ waiting_for_owner: "waiting_for_owner";
101
+ }>;
102
+ treasury: z.ZodObject<{
103
+ account: z.ZodString;
104
+ address: z.ZodString;
105
+ }, z.core.$strip>;
106
+ network: z.ZodEnum<{
107
+ "eip155:8453": "eip155:8453";
108
+ "eip155:5042": "eip155:5042";
109
+ }>;
110
+ amountUsd: z.ZodString;
111
+ fund: z.ZodOptional<z.ZodObject<{
112
+ movementId: z.ZodString;
113
+ reason: z.ZodString;
114
+ resumed: z.ZodBoolean;
115
+ legs: z.ZodArray<z.ZodObject<{
116
+ from: z.ZodString;
117
+ to: z.ZodString;
118
+ amountUsd: z.ZodString;
119
+ purpose: z.ZodEnum<{
120
+ send: "send";
121
+ sweep: "sweep";
122
+ }>;
123
+ status: z.ZodEnum<{
124
+ unknown: "unknown";
125
+ sent: "sent";
126
+ planned: "planned";
127
+ failed: "failed";
128
+ cancelled: "cancelled";
129
+ }>;
130
+ txHash: z.ZodOptional<z.ZodString>;
131
+ reason: z.ZodOptional<z.ZodString>;
132
+ }, z.core.$strip>>;
133
+ complete: z.ZodBoolean;
134
+ }, z.core.$strip>>;
135
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
136
+ movementId: z.ZodString;
137
+ reason: z.ZodString;
138
+ resumed: z.ZodBoolean;
139
+ legs: z.ZodArray<z.ZodObject<{
140
+ from: z.ZodString;
141
+ to: z.ZodString;
142
+ amountUsd: z.ZodString;
143
+ purpose: z.ZodEnum<{
144
+ send: "send";
145
+ sweep: "sweep";
146
+ }>;
147
+ status: z.ZodEnum<{
148
+ unknown: "unknown";
149
+ sent: "sent";
150
+ planned: "planned";
151
+ failed: "failed";
152
+ cancelled: "cancelled";
153
+ }>;
154
+ txHash: z.ZodOptional<z.ZodString>;
155
+ reason: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$strip>>;
157
+ complete: z.ZodBoolean;
158
+ }, z.core.$strip>, z.ZodObject<{
159
+ status: z.ZodEnum<{
160
+ sent: "sent";
161
+ incomplete: "incomplete";
162
+ resumed: "resumed";
163
+ balanced: "balanced";
164
+ }>;
165
+ movement: z.ZodOptional<z.ZodObject<{
166
+ movementId: z.ZodString;
167
+ reason: z.ZodString;
168
+ resumed: z.ZodBoolean;
169
+ legs: z.ZodArray<z.ZodObject<{
170
+ from: z.ZodString;
171
+ to: z.ZodString;
172
+ amountUsd: z.ZodString;
173
+ purpose: z.ZodEnum<{
174
+ send: "send";
175
+ sweep: "sweep";
176
+ }>;
177
+ status: z.ZodEnum<{
178
+ unknown: "unknown";
179
+ sent: "sent";
180
+ planned: "planned";
181
+ failed: "failed";
182
+ cancelled: "cancelled";
183
+ }>;
184
+ txHash: z.ZodOptional<z.ZodString>;
185
+ reason: z.ZodOptional<z.ZodString>;
186
+ }, z.core.$strip>>;
187
+ complete: z.ZodBoolean;
188
+ }, z.core.$strip>>;
189
+ blocked: z.ZodArray<z.ZodObject<{
190
+ to: z.ZodString;
191
+ amountUsd: z.ZodString;
192
+ reason: z.ZodString;
193
+ }, z.core.$strip>>;
194
+ skipped: z.ZodArray<z.ZodObject<{
195
+ account: z.ZodString;
196
+ reason: z.ZodString;
197
+ }, z.core.$strip>>;
198
+ message: z.ZodString;
199
+ }, z.core.$strip>]>>;
200
+ blocked: z.ZodArray<z.ZodObject<{
201
+ to: z.ZodString;
202
+ amountUsd: z.ZodString;
203
+ reason: z.ZodString;
204
+ }, z.core.$strip>>;
205
+ skipped: z.ZodArray<z.ZodObject<{
206
+ account: z.ZodString;
207
+ reason: z.ZodString;
208
+ }, z.core.$strip>>;
209
+ message: z.ZodString;
210
+ }, z.core.$strip>;
211
+ export declare const swarmSetupOutputSchema: z.ZodObject<{
212
+ swarm: z.ZodObject<{
213
+ v: z.ZodLiteral<1>;
214
+ name: z.ZodString;
215
+ device: z.ZodString;
216
+ network: z.ZodEnum<{
217
+ "eip155:8453": "eip155:8453";
218
+ "eip155:5042": "eip155:5042";
219
+ }>;
220
+ createdAt: z.ZodISODateTime;
221
+ treasury: z.ZodObject<{
222
+ account: z.ZodString;
223
+ address: z.ZodOptional<z.ZodString>;
224
+ steps: z.ZodObject<{
225
+ creating: z.ZodDefault<z.ZodBoolean>;
226
+ created: z.ZodBoolean;
227
+ capped: z.ZodBoolean;
228
+ linked: z.ZodBoolean;
229
+ }, z.core.$strict>;
230
+ }, z.core.$strict>;
231
+ members: z.ZodArray<z.ZodObject<{
232
+ account: z.ZodString;
233
+ address: z.ZodOptional<z.ZodString>;
234
+ role: z.ZodString;
235
+ weight: z.ZodNumber;
236
+ targetAtomic: z.ZodString;
237
+ ceilingAtomic: z.ZodNullable<z.ZodString>;
238
+ steps: z.ZodObject<{
239
+ profiled: z.ZodBoolean;
240
+ creating: z.ZodDefault<z.ZodBoolean>;
241
+ created: z.ZodBoolean;
242
+ capped: z.ZodBoolean;
243
+ linked: z.ZodBoolean;
244
+ }, z.core.$strict>;
245
+ }, z.core.$strict>>;
246
+ setupFunding: z.ZodOptional<z.ZodObject<{
247
+ amountUsd: z.ZodString;
248
+ from: z.ZodString;
249
+ movementId: z.ZodOptional<z.ZodString>;
250
+ status: z.ZodEnum<{
251
+ sent: "sent";
252
+ planned: "planned";
253
+ incomplete: "incomplete";
254
+ }>;
255
+ policy: z.ZodOptional<z.ZodObject<{
256
+ strategy: z.ZodEnum<{
257
+ even: "even";
258
+ weights: "weights";
259
+ targets: "targets";
260
+ }>;
261
+ movementId: z.ZodOptional<z.ZodString>;
262
+ status: z.ZodEnum<{
263
+ sent: "sent";
264
+ planned: "planned";
265
+ incomplete: "incomplete";
266
+ }>;
267
+ blocked: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
+ to: z.ZodString;
269
+ amountUsd: z.ZodString;
270
+ reason: z.ZodString;
271
+ }, z.core.$strict>>>;
272
+ }, z.core.$strict>>;
273
+ }, z.core.$strict>>;
274
+ policy: z.ZodObject<{
275
+ strategy: z.ZodEnum<{
276
+ even: "even";
277
+ weights: "weights";
278
+ targets: "targets";
279
+ }>;
280
+ treasuryCaps: z.ZodObject<{
281
+ perCallAtomic: z.ZodString;
282
+ perDayAtomic: z.ZodString;
283
+ }, z.core.$strict>;
284
+ }, z.core.$strict>;
285
+ }, z.core.$strict>;
286
+ members: z.ZodArray<z.ZodObject<{
287
+ account: z.ZodString;
288
+ address: z.ZodString;
289
+ role: z.ZodString;
290
+ created: z.ZodBoolean;
291
+ capped: z.ZodBoolean;
292
+ profiled: z.ZodBoolean;
293
+ linked: z.ZodBoolean;
294
+ }, z.core.$strip>>;
295
+ next: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
296
+ kind: z.ZodLiteral<"link">;
297
+ account: z.ZodString;
298
+ userCode: z.ZodString;
299
+ verificationUri: z.ZodURL;
300
+ expiresInSeconds: z.ZodNumber;
301
+ }, z.core.$strip>, z.ZodObject<{
302
+ kind: z.ZodLiteral<"caps">;
303
+ account: z.ZodString;
304
+ command: z.ZodString;
305
+ }, z.core.$strip>], "kind">>;
306
+ fund: z.ZodOptional<z.ZodObject<{
307
+ status: z.ZodEnum<{
308
+ sent: "sent";
309
+ incomplete: "incomplete";
310
+ resumed: "resumed";
311
+ waiting_for_owner: "waiting_for_owner";
312
+ }>;
313
+ treasury: z.ZodObject<{
314
+ account: z.ZodString;
315
+ address: z.ZodString;
316
+ }, z.core.$strip>;
317
+ network: z.ZodEnum<{
318
+ "eip155:8453": "eip155:8453";
319
+ "eip155:5042": "eip155:5042";
320
+ }>;
321
+ amountUsd: z.ZodString;
322
+ fund: z.ZodOptional<z.ZodObject<{
323
+ movementId: z.ZodString;
324
+ reason: z.ZodString;
325
+ resumed: z.ZodBoolean;
326
+ legs: z.ZodArray<z.ZodObject<{
327
+ from: z.ZodString;
328
+ to: z.ZodString;
329
+ amountUsd: z.ZodString;
330
+ purpose: z.ZodEnum<{
331
+ send: "send";
332
+ sweep: "sweep";
333
+ }>;
334
+ status: z.ZodEnum<{
335
+ unknown: "unknown";
336
+ sent: "sent";
337
+ planned: "planned";
338
+ failed: "failed";
339
+ cancelled: "cancelled";
340
+ }>;
341
+ txHash: z.ZodOptional<z.ZodString>;
342
+ reason: z.ZodOptional<z.ZodString>;
343
+ }, z.core.$strip>>;
344
+ complete: z.ZodBoolean;
345
+ }, z.core.$strip>>;
346
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
347
+ movementId: z.ZodString;
348
+ reason: z.ZodString;
349
+ resumed: z.ZodBoolean;
350
+ legs: z.ZodArray<z.ZodObject<{
351
+ from: z.ZodString;
352
+ to: z.ZodString;
353
+ amountUsd: z.ZodString;
354
+ purpose: z.ZodEnum<{
355
+ send: "send";
356
+ sweep: "sweep";
357
+ }>;
358
+ status: z.ZodEnum<{
359
+ unknown: "unknown";
360
+ sent: "sent";
361
+ planned: "planned";
362
+ failed: "failed";
363
+ cancelled: "cancelled";
364
+ }>;
365
+ txHash: z.ZodOptional<z.ZodString>;
366
+ reason: z.ZodOptional<z.ZodString>;
367
+ }, z.core.$strip>>;
368
+ complete: z.ZodBoolean;
369
+ }, z.core.$strip>, z.ZodObject<{
370
+ status: z.ZodEnum<{
371
+ sent: "sent";
372
+ incomplete: "incomplete";
373
+ resumed: "resumed";
374
+ balanced: "balanced";
375
+ }>;
376
+ movement: z.ZodOptional<z.ZodObject<{
377
+ movementId: z.ZodString;
378
+ reason: z.ZodString;
379
+ resumed: z.ZodBoolean;
380
+ legs: z.ZodArray<z.ZodObject<{
381
+ from: z.ZodString;
382
+ to: z.ZodString;
383
+ amountUsd: z.ZodString;
384
+ purpose: z.ZodEnum<{
385
+ send: "send";
386
+ sweep: "sweep";
387
+ }>;
388
+ status: z.ZodEnum<{
389
+ unknown: "unknown";
390
+ sent: "sent";
391
+ planned: "planned";
392
+ failed: "failed";
393
+ cancelled: "cancelled";
394
+ }>;
395
+ txHash: z.ZodOptional<z.ZodString>;
396
+ reason: z.ZodOptional<z.ZodString>;
397
+ }, z.core.$strip>>;
398
+ complete: z.ZodBoolean;
399
+ }, z.core.$strip>>;
400
+ blocked: z.ZodArray<z.ZodObject<{
401
+ to: z.ZodString;
402
+ amountUsd: z.ZodString;
403
+ reason: z.ZodString;
404
+ }, z.core.$strip>>;
405
+ skipped: z.ZodArray<z.ZodObject<{
406
+ account: z.ZodString;
407
+ reason: z.ZodString;
408
+ }, z.core.$strip>>;
409
+ message: z.ZodString;
410
+ }, z.core.$strip>]>>;
411
+ blocked: z.ZodArray<z.ZodObject<{
412
+ to: z.ZodString;
413
+ amountUsd: z.ZodString;
414
+ reason: z.ZodString;
415
+ }, z.core.$strip>>;
416
+ skipped: z.ZodArray<z.ZodObject<{
417
+ account: z.ZodString;
418
+ reason: z.ZodString;
419
+ }, z.core.$strip>>;
420
+ message: z.ZodString;
421
+ }, z.core.$strip>>;
422
+ message: z.ZodString;
423
+ }, z.core.$strip>;
424
+ export declare const swarmLeaveOutputSchema: z.ZodObject<{
425
+ status: z.ZodEnum<{
426
+ resumed: "resumed";
427
+ left: "left";
428
+ kept: "kept";
429
+ }>;
430
+ member: z.ZodString;
431
+ movement: z.ZodOptional<z.ZodObject<{
432
+ movementId: z.ZodString;
433
+ reason: z.ZodString;
434
+ resumed: z.ZodBoolean;
435
+ legs: z.ZodArray<z.ZodObject<{
436
+ from: z.ZodString;
437
+ to: z.ZodString;
438
+ amountUsd: z.ZodString;
439
+ purpose: z.ZodEnum<{
440
+ send: "send";
441
+ sweep: "sweep";
442
+ }>;
443
+ status: z.ZodEnum<{
444
+ unknown: "unknown";
445
+ sent: "sent";
446
+ planned: "planned";
447
+ failed: "failed";
448
+ cancelled: "cancelled";
449
+ }>;
450
+ txHash: z.ZodOptional<z.ZodString>;
451
+ reason: z.ZodOptional<z.ZodString>;
452
+ }, z.core.$strip>>;
453
+ complete: z.ZodBoolean;
454
+ }, z.core.$strip>>;
455
+ message: z.ZodString;
456
+ }, z.core.$strip>;
457
+ export declare const swarmDissolveOutputSchema: z.ZodObject<{
458
+ status: z.ZodEnum<{
459
+ incomplete: "incomplete";
460
+ resumed: "resumed";
461
+ dissolved: "dissolved";
462
+ }>;
463
+ movements: z.ZodArray<z.ZodObject<{
464
+ movementId: z.ZodString;
465
+ reason: z.ZodString;
466
+ resumed: z.ZodBoolean;
467
+ legs: z.ZodArray<z.ZodObject<{
468
+ from: z.ZodString;
469
+ to: z.ZodString;
470
+ amountUsd: z.ZodString;
471
+ purpose: z.ZodEnum<{
472
+ send: "send";
473
+ sweep: "sweep";
474
+ }>;
475
+ status: z.ZodEnum<{
476
+ unknown: "unknown";
477
+ sent: "sent";
478
+ planned: "planned";
479
+ failed: "failed";
480
+ cancelled: "cancelled";
481
+ }>;
482
+ txHash: z.ZodOptional<z.ZodString>;
483
+ reason: z.ZodOptional<z.ZodString>;
484
+ }, z.core.$strip>>;
485
+ complete: z.ZodBoolean;
486
+ }, z.core.$strip>>;
487
+ message: z.ZodString;
488
+ }, z.core.$strip>;
489
+ export declare const swarmStatusOutputSchema: z.ZodObject<{
490
+ swarm: z.ZodString;
491
+ network: z.ZodEnum<{
492
+ "eip155:8453": "eip155:8453";
493
+ "eip155:5042": "eip155:5042";
494
+ }>;
495
+ strategy: z.ZodEnum<{
496
+ targets: "targets";
497
+ even: "even";
498
+ weights: "weights";
499
+ }>;
500
+ treasury: z.ZodObject<{
501
+ account: z.ZodString;
502
+ address: z.ZodString;
503
+ linked: z.ZodBoolean;
504
+ balanceAtomic: z.ZodString;
505
+ balanceUsd: z.ZodString;
506
+ }, z.core.$strip>;
507
+ members: z.ZodArray<z.ZodObject<{
508
+ account: z.ZodString;
509
+ address: z.ZodString;
510
+ role: z.ZodString;
511
+ weight: z.ZodNumber;
512
+ targetUsd: z.ZodString;
513
+ ceilingUsd: z.ZodNullable<z.ZodString>;
514
+ linked: z.ZodBoolean;
515
+ profile: z.ZodBoolean;
516
+ balanceAtomic: z.ZodString;
517
+ balanceUsd: z.ZodString;
518
+ allocatedInUsd: z.ZodString;
519
+ sweptOutUsd: z.ZodString;
520
+ netUsd: z.ZodString;
521
+ }, z.core.$strip>>;
522
+ openMovements: z.ZodArray<z.ZodObject<{
523
+ id: z.ZodString;
524
+ from: z.ZodString;
525
+ network: z.ZodEnum<{
526
+ "eip155:8453": "eip155:8453";
527
+ "eip155:5042": "eip155:5042";
528
+ }>;
529
+ createdAt: z.ZodString;
530
+ pendingLegs: z.ZodNumber;
531
+ unknownLegs: z.ZodNumber;
532
+ }, z.core.$strip>>;
533
+ }, z.core.$strip>;
534
+ export type SwarmSetupInput = z.infer<typeof swarmSetupInputSchema>;
535
+ export type SwarmAddInput = z.infer<typeof swarmAddInputSchema>;
536
+ export type SwarmLeaveInput = z.infer<typeof swarmLeaveInputSchema>;
537
+ export type SwarmFundInput = z.infer<typeof swarmFundInputSchema>;
538
+ export type SwarmRebalanceInput = z.infer<typeof swarmRebalanceInputSchema>;
539
+ export type SwarmStatusInput = z.infer<typeof swarmStatusInputSchema>;
540
+ export type SwarmDissolveInput = z.infer<typeof swarmDissolveInputSchema>;
541
+ export type SwarmSetupOutput = z.infer<typeof swarmSetupOutputSchema>;
542
+ export type SwarmLeaveOutput = z.infer<typeof swarmLeaveOutputSchema>;
543
+ export type SwarmFundOutput = z.infer<typeof swarmFundOutputSchema>;
544
+ export type SwarmRebalanceOutput = z.infer<typeof swarmRebalanceOutputSchema>;
545
+ export type SwarmStatusOutput = z.infer<typeof swarmStatusOutputSchema>;
546
+ export type SwarmDissolveOutput = z.infer<typeof swarmDissolveOutputSchema>;
547
+ export declare const swarmSetup: import("./define.js").Action<{
548
+ name: string;
549
+ agents?: number | undefined;
550
+ roles?: string[] | undefined;
551
+ strategy?: "targets" | "even" | "weights" | undefined;
552
+ targetsUsd?: Record<string, string | number> | undefined;
553
+ caps?: {
554
+ perCallUsd: string | number;
555
+ perDayUsd: string | number;
556
+ } | undefined;
557
+ treasuryCaps?: {
558
+ perCallUsd: string | number;
559
+ perDayUsd: string | number;
560
+ } | undefined;
561
+ network?: "base" | "arc" | undefined;
562
+ model?: string | undefined;
563
+ fundUsd?: string | number | undefined;
564
+ from?: string | undefined;
565
+ }, {
566
+ swarm: {
567
+ v: 1;
568
+ name: string;
569
+ device: string;
570
+ network: "eip155:8453" | "eip155:5042";
571
+ createdAt: string;
572
+ treasury: {
573
+ account: string;
574
+ steps: {
575
+ creating: boolean;
576
+ created: boolean;
577
+ capped: boolean;
578
+ linked: boolean;
579
+ };
580
+ address?: string | undefined;
581
+ };
582
+ members: {
583
+ account: string;
584
+ role: string;
585
+ weight: number;
586
+ targetAtomic: string;
587
+ ceilingAtomic: string | null;
588
+ steps: {
589
+ profiled: boolean;
590
+ creating: boolean;
591
+ created: boolean;
592
+ capped: boolean;
593
+ linked: boolean;
594
+ };
595
+ address?: string | undefined;
596
+ }[];
597
+ policy: {
598
+ strategy: "targets" | "even" | "weights";
599
+ treasuryCaps: {
600
+ perCallAtomic: string;
601
+ perDayAtomic: string;
602
+ };
603
+ };
604
+ setupFunding?: {
605
+ amountUsd: string;
606
+ from: string;
607
+ status: "sent" | "incomplete" | "planned";
608
+ movementId?: string | undefined;
609
+ policy?: {
610
+ strategy: "targets" | "even" | "weights";
611
+ status: "sent" | "incomplete" | "planned";
612
+ movementId?: string | undefined;
613
+ blocked?: {
614
+ to: string;
615
+ amountUsd: string;
616
+ reason: string;
617
+ }[] | undefined;
618
+ } | undefined;
619
+ } | undefined;
620
+ };
621
+ members: {
622
+ account: string;
623
+ address: string;
624
+ role: string;
625
+ created: boolean;
626
+ capped: boolean;
627
+ profiled: boolean;
628
+ linked: boolean;
629
+ }[];
630
+ next: ({
631
+ kind: "link";
632
+ account: string;
633
+ userCode: string;
634
+ verificationUri: string;
635
+ expiresInSeconds: number;
636
+ } | {
637
+ kind: "caps";
638
+ account: string;
639
+ command: string;
640
+ })[];
641
+ message: string;
642
+ fund?: {
643
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
644
+ treasury: {
645
+ account: string;
646
+ address: string;
647
+ };
648
+ network: "eip155:8453" | "eip155:5042";
649
+ amountUsd: string;
650
+ blocked: {
651
+ to: string;
652
+ amountUsd: string;
653
+ reason: string;
654
+ }[];
655
+ skipped: {
656
+ account: string;
657
+ reason: string;
658
+ }[];
659
+ message: string;
660
+ fund?: {
661
+ movementId: string;
662
+ reason: string;
663
+ resumed: boolean;
664
+ legs: {
665
+ from: string;
666
+ to: string;
667
+ amountUsd: string;
668
+ purpose: "send" | "sweep";
669
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
670
+ txHash?: string | undefined;
671
+ reason?: string | undefined;
672
+ }[];
673
+ complete: boolean;
674
+ } | undefined;
675
+ policy?: {
676
+ movementId: string;
677
+ reason: string;
678
+ resumed: boolean;
679
+ legs: {
680
+ from: string;
681
+ to: string;
682
+ amountUsd: string;
683
+ purpose: "send" | "sweep";
684
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
685
+ txHash?: string | undefined;
686
+ reason?: string | undefined;
687
+ }[];
688
+ complete: boolean;
689
+ } | {
690
+ status: "sent" | "incomplete" | "resumed" | "balanced";
691
+ blocked: {
692
+ to: string;
693
+ amountUsd: string;
694
+ reason: string;
695
+ }[];
696
+ skipped: {
697
+ account: string;
698
+ reason: string;
699
+ }[];
700
+ message: string;
701
+ movement?: {
702
+ movementId: string;
703
+ reason: string;
704
+ resumed: boolean;
705
+ legs: {
706
+ from: string;
707
+ to: string;
708
+ amountUsd: string;
709
+ purpose: "send" | "sweep";
710
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
711
+ txHash?: string | undefined;
712
+ reason?: string | undefined;
713
+ }[];
714
+ complete: boolean;
715
+ } | undefined;
716
+ } | undefined;
717
+ } | undefined;
718
+ }>;
719
+ export declare const swarmAdd: import("./define.js").Action<{
720
+ name: string;
721
+ role: string;
722
+ targetUsd?: string | number | undefined;
723
+ weight?: number | undefined;
724
+ }, {
725
+ swarm: {
726
+ v: 1;
727
+ name: string;
728
+ device: string;
729
+ network: "eip155:8453" | "eip155:5042";
730
+ createdAt: string;
731
+ treasury: {
732
+ account: string;
733
+ steps: {
734
+ creating: boolean;
735
+ created: boolean;
736
+ capped: boolean;
737
+ linked: boolean;
738
+ };
739
+ address?: string | undefined;
740
+ };
741
+ members: {
742
+ account: string;
743
+ role: string;
744
+ weight: number;
745
+ targetAtomic: string;
746
+ ceilingAtomic: string | null;
747
+ steps: {
748
+ profiled: boolean;
749
+ creating: boolean;
750
+ created: boolean;
751
+ capped: boolean;
752
+ linked: boolean;
753
+ };
754
+ address?: string | undefined;
755
+ }[];
756
+ policy: {
757
+ strategy: "targets" | "even" | "weights";
758
+ treasuryCaps: {
759
+ perCallAtomic: string;
760
+ perDayAtomic: string;
761
+ };
762
+ };
763
+ setupFunding?: {
764
+ amountUsd: string;
765
+ from: string;
766
+ status: "sent" | "incomplete" | "planned";
767
+ movementId?: string | undefined;
768
+ policy?: {
769
+ strategy: "targets" | "even" | "weights";
770
+ status: "sent" | "incomplete" | "planned";
771
+ movementId?: string | undefined;
772
+ blocked?: {
773
+ to: string;
774
+ amountUsd: string;
775
+ reason: string;
776
+ }[] | undefined;
777
+ } | undefined;
778
+ } | undefined;
779
+ };
780
+ members: {
781
+ account: string;
782
+ address: string;
783
+ role: string;
784
+ created: boolean;
785
+ capped: boolean;
786
+ profiled: boolean;
787
+ linked: boolean;
788
+ }[];
789
+ next: ({
790
+ kind: "link";
791
+ account: string;
792
+ userCode: string;
793
+ verificationUri: string;
794
+ expiresInSeconds: number;
795
+ } | {
796
+ kind: "caps";
797
+ account: string;
798
+ command: string;
799
+ })[];
800
+ message: string;
801
+ fund?: {
802
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
803
+ treasury: {
804
+ account: string;
805
+ address: string;
806
+ };
807
+ network: "eip155:8453" | "eip155:5042";
808
+ amountUsd: string;
809
+ blocked: {
810
+ to: string;
811
+ amountUsd: string;
812
+ reason: string;
813
+ }[];
814
+ skipped: {
815
+ account: string;
816
+ reason: string;
817
+ }[];
818
+ message: string;
819
+ fund?: {
820
+ movementId: string;
821
+ reason: string;
822
+ resumed: boolean;
823
+ legs: {
824
+ from: string;
825
+ to: string;
826
+ amountUsd: string;
827
+ purpose: "send" | "sweep";
828
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
829
+ txHash?: string | undefined;
830
+ reason?: string | undefined;
831
+ }[];
832
+ complete: boolean;
833
+ } | undefined;
834
+ policy?: {
835
+ movementId: string;
836
+ reason: string;
837
+ resumed: boolean;
838
+ legs: {
839
+ from: string;
840
+ to: string;
841
+ amountUsd: string;
842
+ purpose: "send" | "sweep";
843
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
844
+ txHash?: string | undefined;
845
+ reason?: string | undefined;
846
+ }[];
847
+ complete: boolean;
848
+ } | {
849
+ status: "sent" | "incomplete" | "resumed" | "balanced";
850
+ blocked: {
851
+ to: string;
852
+ amountUsd: string;
853
+ reason: string;
854
+ }[];
855
+ skipped: {
856
+ account: string;
857
+ reason: string;
858
+ }[];
859
+ message: string;
860
+ movement?: {
861
+ movementId: string;
862
+ reason: string;
863
+ resumed: boolean;
864
+ legs: {
865
+ from: string;
866
+ to: string;
867
+ amountUsd: string;
868
+ purpose: "send" | "sweep";
869
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
870
+ txHash?: string | undefined;
871
+ reason?: string | undefined;
872
+ }[];
873
+ complete: boolean;
874
+ } | undefined;
875
+ } | undefined;
876
+ } | undefined;
877
+ }>;
878
+ export declare const swarmLeave: import("./define.js").Action<{
879
+ name: string;
880
+ member: string;
881
+ }, {
882
+ status: "resumed" | "left" | "kept";
883
+ member: string;
884
+ message: string;
885
+ movement?: {
886
+ movementId: string;
887
+ reason: string;
888
+ resumed: boolean;
889
+ legs: {
890
+ from: string;
891
+ to: string;
892
+ amountUsd: string;
893
+ purpose: "send" | "sweep";
894
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
895
+ txHash?: string | undefined;
896
+ reason?: string | undefined;
897
+ }[];
898
+ complete: boolean;
899
+ } | undefined;
900
+ }>;
901
+ export declare const swarmFund: import("./define.js").Action<{
902
+ name: string;
903
+ amountUsd: string | number;
904
+ from?: string | undefined;
905
+ }, {
906
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
907
+ treasury: {
908
+ account: string;
909
+ address: string;
910
+ };
911
+ network: "eip155:8453" | "eip155:5042";
912
+ amountUsd: string;
913
+ blocked: {
914
+ to: string;
915
+ amountUsd: string;
916
+ reason: string;
917
+ }[];
918
+ skipped: {
919
+ account: string;
920
+ reason: string;
921
+ }[];
922
+ message: string;
923
+ fund?: {
924
+ movementId: string;
925
+ reason: string;
926
+ resumed: boolean;
927
+ legs: {
928
+ from: string;
929
+ to: string;
930
+ amountUsd: string;
931
+ purpose: "send" | "sweep";
932
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
933
+ txHash?: string | undefined;
934
+ reason?: string | undefined;
935
+ }[];
936
+ complete: boolean;
937
+ } | undefined;
938
+ policy?: {
939
+ movementId: string;
940
+ reason: string;
941
+ resumed: boolean;
942
+ legs: {
943
+ from: string;
944
+ to: string;
945
+ amountUsd: string;
946
+ purpose: "send" | "sweep";
947
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
948
+ txHash?: string | undefined;
949
+ reason?: string | undefined;
950
+ }[];
951
+ complete: boolean;
952
+ } | {
953
+ status: "sent" | "incomplete" | "resumed" | "balanced";
954
+ blocked: {
955
+ to: string;
956
+ amountUsd: string;
957
+ reason: string;
958
+ }[];
959
+ skipped: {
960
+ account: string;
961
+ reason: string;
962
+ }[];
963
+ message: string;
964
+ movement?: {
965
+ movementId: string;
966
+ reason: string;
967
+ resumed: boolean;
968
+ legs: {
969
+ from: string;
970
+ to: string;
971
+ amountUsd: string;
972
+ purpose: "send" | "sweep";
973
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
974
+ txHash?: string | undefined;
975
+ reason?: string | undefined;
976
+ }[];
977
+ complete: boolean;
978
+ } | undefined;
979
+ } | undefined;
980
+ }>;
981
+ export declare const swarmRebalance: import("./define.js").Action<{
982
+ name: string;
983
+ targetsUsd?: Record<string, string | number> | undefined;
984
+ }, {
985
+ status: "sent" | "incomplete" | "resumed" | "balanced";
986
+ blocked: {
987
+ to: string;
988
+ amountUsd: string;
989
+ reason: string;
990
+ }[];
991
+ skipped: {
992
+ account: string;
993
+ reason: string;
994
+ }[];
995
+ message: string;
996
+ movement?: {
997
+ movementId: string;
998
+ reason: string;
999
+ resumed: boolean;
1000
+ legs: {
1001
+ from: string;
1002
+ to: string;
1003
+ amountUsd: string;
1004
+ purpose: "send" | "sweep";
1005
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1006
+ txHash?: string | undefined;
1007
+ reason?: string | undefined;
1008
+ }[];
1009
+ complete: boolean;
1010
+ } | undefined;
1011
+ }>;
1012
+ export declare const swarmStatus: import("./define.js").Action<{
1013
+ name: string;
1014
+ }, {
1015
+ swarm: string;
1016
+ network: "eip155:8453" | "eip155:5042";
1017
+ strategy: "targets" | "even" | "weights";
1018
+ treasury: {
1019
+ account: string;
1020
+ address: string;
1021
+ linked: boolean;
1022
+ balanceAtomic: string;
1023
+ balanceUsd: string;
1024
+ };
1025
+ members: {
1026
+ account: string;
1027
+ address: string;
1028
+ role: string;
1029
+ weight: number;
1030
+ targetUsd: string;
1031
+ ceilingUsd: string | null;
1032
+ linked: boolean;
1033
+ profile: boolean;
1034
+ balanceAtomic: string;
1035
+ balanceUsd: string;
1036
+ allocatedInUsd: string;
1037
+ sweptOutUsd: string;
1038
+ netUsd: string;
1039
+ }[];
1040
+ openMovements: {
1041
+ id: string;
1042
+ from: string;
1043
+ network: "eip155:8453" | "eip155:5042";
1044
+ createdAt: string;
1045
+ pendingLegs: number;
1046
+ unknownLegs: number;
1047
+ }[];
1048
+ }>;
1049
+ export declare const swarmDissolve: import("./define.js").Action<{
1050
+ name: string;
1051
+ }, {
1052
+ status: "incomplete" | "resumed" | "dissolved";
1053
+ movements: {
1054
+ movementId: string;
1055
+ reason: string;
1056
+ resumed: boolean;
1057
+ legs: {
1058
+ from: string;
1059
+ to: string;
1060
+ amountUsd: string;
1061
+ purpose: "send" | "sweep";
1062
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1063
+ txHash?: string | undefined;
1064
+ reason?: string | undefined;
1065
+ }[];
1066
+ complete: boolean;
1067
+ }[];
1068
+ message: string;
1069
+ }>;
1070
+ export declare const swarmActions: readonly [import("./define.js").Action<{
1071
+ name: string;
1072
+ agents?: number | undefined;
1073
+ roles?: string[] | undefined;
1074
+ strategy?: "targets" | "even" | "weights" | undefined;
1075
+ targetsUsd?: Record<string, string | number> | undefined;
1076
+ caps?: {
1077
+ perCallUsd: string | number;
1078
+ perDayUsd: string | number;
1079
+ } | undefined;
1080
+ treasuryCaps?: {
1081
+ perCallUsd: string | number;
1082
+ perDayUsd: string | number;
1083
+ } | undefined;
1084
+ network?: "base" | "arc" | undefined;
1085
+ model?: string | undefined;
1086
+ fundUsd?: string | number | undefined;
1087
+ from?: string | undefined;
1088
+ }, {
1089
+ swarm: {
1090
+ v: 1;
1091
+ name: string;
1092
+ device: string;
1093
+ network: "eip155:8453" | "eip155:5042";
1094
+ createdAt: string;
1095
+ treasury: {
1096
+ account: string;
1097
+ steps: {
1098
+ creating: boolean;
1099
+ created: boolean;
1100
+ capped: boolean;
1101
+ linked: boolean;
1102
+ };
1103
+ address?: string | undefined;
1104
+ };
1105
+ members: {
1106
+ account: string;
1107
+ role: string;
1108
+ weight: number;
1109
+ targetAtomic: string;
1110
+ ceilingAtomic: string | null;
1111
+ steps: {
1112
+ profiled: boolean;
1113
+ creating: boolean;
1114
+ created: boolean;
1115
+ capped: boolean;
1116
+ linked: boolean;
1117
+ };
1118
+ address?: string | undefined;
1119
+ }[];
1120
+ policy: {
1121
+ strategy: "targets" | "even" | "weights";
1122
+ treasuryCaps: {
1123
+ perCallAtomic: string;
1124
+ perDayAtomic: string;
1125
+ };
1126
+ };
1127
+ setupFunding?: {
1128
+ amountUsd: string;
1129
+ from: string;
1130
+ status: "sent" | "incomplete" | "planned";
1131
+ movementId?: string | undefined;
1132
+ policy?: {
1133
+ strategy: "targets" | "even" | "weights";
1134
+ status: "sent" | "incomplete" | "planned";
1135
+ movementId?: string | undefined;
1136
+ blocked?: {
1137
+ to: string;
1138
+ amountUsd: string;
1139
+ reason: string;
1140
+ }[] | undefined;
1141
+ } | undefined;
1142
+ } | undefined;
1143
+ };
1144
+ members: {
1145
+ account: string;
1146
+ address: string;
1147
+ role: string;
1148
+ created: boolean;
1149
+ capped: boolean;
1150
+ profiled: boolean;
1151
+ linked: boolean;
1152
+ }[];
1153
+ next: ({
1154
+ kind: "link";
1155
+ account: string;
1156
+ userCode: string;
1157
+ verificationUri: string;
1158
+ expiresInSeconds: number;
1159
+ } | {
1160
+ kind: "caps";
1161
+ account: string;
1162
+ command: string;
1163
+ })[];
1164
+ message: string;
1165
+ fund?: {
1166
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
1167
+ treasury: {
1168
+ account: string;
1169
+ address: string;
1170
+ };
1171
+ network: "eip155:8453" | "eip155:5042";
1172
+ amountUsd: string;
1173
+ blocked: {
1174
+ to: string;
1175
+ amountUsd: string;
1176
+ reason: string;
1177
+ }[];
1178
+ skipped: {
1179
+ account: string;
1180
+ reason: string;
1181
+ }[];
1182
+ message: string;
1183
+ fund?: {
1184
+ movementId: string;
1185
+ reason: string;
1186
+ resumed: boolean;
1187
+ legs: {
1188
+ from: string;
1189
+ to: string;
1190
+ amountUsd: string;
1191
+ purpose: "send" | "sweep";
1192
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1193
+ txHash?: string | undefined;
1194
+ reason?: string | undefined;
1195
+ }[];
1196
+ complete: boolean;
1197
+ } | undefined;
1198
+ policy?: {
1199
+ movementId: string;
1200
+ reason: string;
1201
+ resumed: boolean;
1202
+ legs: {
1203
+ from: string;
1204
+ to: string;
1205
+ amountUsd: string;
1206
+ purpose: "send" | "sweep";
1207
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1208
+ txHash?: string | undefined;
1209
+ reason?: string | undefined;
1210
+ }[];
1211
+ complete: boolean;
1212
+ } | {
1213
+ status: "sent" | "incomplete" | "resumed" | "balanced";
1214
+ blocked: {
1215
+ to: string;
1216
+ amountUsd: string;
1217
+ reason: string;
1218
+ }[];
1219
+ skipped: {
1220
+ account: string;
1221
+ reason: string;
1222
+ }[];
1223
+ message: string;
1224
+ movement?: {
1225
+ movementId: string;
1226
+ reason: string;
1227
+ resumed: boolean;
1228
+ legs: {
1229
+ from: string;
1230
+ to: string;
1231
+ amountUsd: string;
1232
+ purpose: "send" | "sweep";
1233
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1234
+ txHash?: string | undefined;
1235
+ reason?: string | undefined;
1236
+ }[];
1237
+ complete: boolean;
1238
+ } | undefined;
1239
+ } | undefined;
1240
+ } | undefined;
1241
+ }>, import("./define.js").Action<{
1242
+ name: string;
1243
+ role: string;
1244
+ targetUsd?: string | number | undefined;
1245
+ weight?: number | undefined;
1246
+ }, {
1247
+ swarm: {
1248
+ v: 1;
1249
+ name: string;
1250
+ device: string;
1251
+ network: "eip155:8453" | "eip155:5042";
1252
+ createdAt: string;
1253
+ treasury: {
1254
+ account: string;
1255
+ steps: {
1256
+ creating: boolean;
1257
+ created: boolean;
1258
+ capped: boolean;
1259
+ linked: boolean;
1260
+ };
1261
+ address?: string | undefined;
1262
+ };
1263
+ members: {
1264
+ account: string;
1265
+ role: string;
1266
+ weight: number;
1267
+ targetAtomic: string;
1268
+ ceilingAtomic: string | null;
1269
+ steps: {
1270
+ profiled: boolean;
1271
+ creating: boolean;
1272
+ created: boolean;
1273
+ capped: boolean;
1274
+ linked: boolean;
1275
+ };
1276
+ address?: string | undefined;
1277
+ }[];
1278
+ policy: {
1279
+ strategy: "targets" | "even" | "weights";
1280
+ treasuryCaps: {
1281
+ perCallAtomic: string;
1282
+ perDayAtomic: string;
1283
+ };
1284
+ };
1285
+ setupFunding?: {
1286
+ amountUsd: string;
1287
+ from: string;
1288
+ status: "sent" | "incomplete" | "planned";
1289
+ movementId?: string | undefined;
1290
+ policy?: {
1291
+ strategy: "targets" | "even" | "weights";
1292
+ status: "sent" | "incomplete" | "planned";
1293
+ movementId?: string | undefined;
1294
+ blocked?: {
1295
+ to: string;
1296
+ amountUsd: string;
1297
+ reason: string;
1298
+ }[] | undefined;
1299
+ } | undefined;
1300
+ } | undefined;
1301
+ };
1302
+ members: {
1303
+ account: string;
1304
+ address: string;
1305
+ role: string;
1306
+ created: boolean;
1307
+ capped: boolean;
1308
+ profiled: boolean;
1309
+ linked: boolean;
1310
+ }[];
1311
+ next: ({
1312
+ kind: "link";
1313
+ account: string;
1314
+ userCode: string;
1315
+ verificationUri: string;
1316
+ expiresInSeconds: number;
1317
+ } | {
1318
+ kind: "caps";
1319
+ account: string;
1320
+ command: string;
1321
+ })[];
1322
+ message: string;
1323
+ fund?: {
1324
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
1325
+ treasury: {
1326
+ account: string;
1327
+ address: string;
1328
+ };
1329
+ network: "eip155:8453" | "eip155:5042";
1330
+ amountUsd: string;
1331
+ blocked: {
1332
+ to: string;
1333
+ amountUsd: string;
1334
+ reason: string;
1335
+ }[];
1336
+ skipped: {
1337
+ account: string;
1338
+ reason: string;
1339
+ }[];
1340
+ message: string;
1341
+ fund?: {
1342
+ movementId: string;
1343
+ reason: string;
1344
+ resumed: boolean;
1345
+ legs: {
1346
+ from: string;
1347
+ to: string;
1348
+ amountUsd: string;
1349
+ purpose: "send" | "sweep";
1350
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1351
+ txHash?: string | undefined;
1352
+ reason?: string | undefined;
1353
+ }[];
1354
+ complete: boolean;
1355
+ } | undefined;
1356
+ policy?: {
1357
+ movementId: string;
1358
+ reason: string;
1359
+ resumed: boolean;
1360
+ legs: {
1361
+ from: string;
1362
+ to: string;
1363
+ amountUsd: string;
1364
+ purpose: "send" | "sweep";
1365
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1366
+ txHash?: string | undefined;
1367
+ reason?: string | undefined;
1368
+ }[];
1369
+ complete: boolean;
1370
+ } | {
1371
+ status: "sent" | "incomplete" | "resumed" | "balanced";
1372
+ blocked: {
1373
+ to: string;
1374
+ amountUsd: string;
1375
+ reason: string;
1376
+ }[];
1377
+ skipped: {
1378
+ account: string;
1379
+ reason: string;
1380
+ }[];
1381
+ message: string;
1382
+ movement?: {
1383
+ movementId: string;
1384
+ reason: string;
1385
+ resumed: boolean;
1386
+ legs: {
1387
+ from: string;
1388
+ to: string;
1389
+ amountUsd: string;
1390
+ purpose: "send" | "sweep";
1391
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1392
+ txHash?: string | undefined;
1393
+ reason?: string | undefined;
1394
+ }[];
1395
+ complete: boolean;
1396
+ } | undefined;
1397
+ } | undefined;
1398
+ } | undefined;
1399
+ }>, import("./define.js").Action<{
1400
+ name: string;
1401
+ member: string;
1402
+ }, {
1403
+ status: "resumed" | "left" | "kept";
1404
+ member: string;
1405
+ message: string;
1406
+ movement?: {
1407
+ movementId: string;
1408
+ reason: string;
1409
+ resumed: boolean;
1410
+ legs: {
1411
+ from: string;
1412
+ to: string;
1413
+ amountUsd: string;
1414
+ purpose: "send" | "sweep";
1415
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1416
+ txHash?: string | undefined;
1417
+ reason?: string | undefined;
1418
+ }[];
1419
+ complete: boolean;
1420
+ } | undefined;
1421
+ }>, import("./define.js").Action<{
1422
+ name: string;
1423
+ amountUsd: string | number;
1424
+ from?: string | undefined;
1425
+ }, {
1426
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
1427
+ treasury: {
1428
+ account: string;
1429
+ address: string;
1430
+ };
1431
+ network: "eip155:8453" | "eip155:5042";
1432
+ amountUsd: string;
1433
+ blocked: {
1434
+ to: string;
1435
+ amountUsd: string;
1436
+ reason: string;
1437
+ }[];
1438
+ skipped: {
1439
+ account: string;
1440
+ reason: string;
1441
+ }[];
1442
+ message: string;
1443
+ fund?: {
1444
+ movementId: string;
1445
+ reason: string;
1446
+ resumed: boolean;
1447
+ legs: {
1448
+ from: string;
1449
+ to: string;
1450
+ amountUsd: string;
1451
+ purpose: "send" | "sweep";
1452
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1453
+ txHash?: string | undefined;
1454
+ reason?: string | undefined;
1455
+ }[];
1456
+ complete: boolean;
1457
+ } | undefined;
1458
+ policy?: {
1459
+ movementId: string;
1460
+ reason: string;
1461
+ resumed: boolean;
1462
+ legs: {
1463
+ from: string;
1464
+ to: string;
1465
+ amountUsd: string;
1466
+ purpose: "send" | "sweep";
1467
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1468
+ txHash?: string | undefined;
1469
+ reason?: string | undefined;
1470
+ }[];
1471
+ complete: boolean;
1472
+ } | {
1473
+ status: "sent" | "incomplete" | "resumed" | "balanced";
1474
+ blocked: {
1475
+ to: string;
1476
+ amountUsd: string;
1477
+ reason: string;
1478
+ }[];
1479
+ skipped: {
1480
+ account: string;
1481
+ reason: string;
1482
+ }[];
1483
+ message: string;
1484
+ movement?: {
1485
+ movementId: string;
1486
+ reason: string;
1487
+ resumed: boolean;
1488
+ legs: {
1489
+ from: string;
1490
+ to: string;
1491
+ amountUsd: string;
1492
+ purpose: "send" | "sweep";
1493
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1494
+ txHash?: string | undefined;
1495
+ reason?: string | undefined;
1496
+ }[];
1497
+ complete: boolean;
1498
+ } | undefined;
1499
+ } | undefined;
1500
+ }>, import("./define.js").Action<{
1501
+ name: string;
1502
+ targetsUsd?: Record<string, string | number> | undefined;
1503
+ }, {
1504
+ status: "sent" | "incomplete" | "resumed" | "balanced";
1505
+ blocked: {
1506
+ to: string;
1507
+ amountUsd: string;
1508
+ reason: string;
1509
+ }[];
1510
+ skipped: {
1511
+ account: string;
1512
+ reason: string;
1513
+ }[];
1514
+ message: string;
1515
+ movement?: {
1516
+ movementId: string;
1517
+ reason: string;
1518
+ resumed: boolean;
1519
+ legs: {
1520
+ from: string;
1521
+ to: string;
1522
+ amountUsd: string;
1523
+ purpose: "send" | "sweep";
1524
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1525
+ txHash?: string | undefined;
1526
+ reason?: string | undefined;
1527
+ }[];
1528
+ complete: boolean;
1529
+ } | undefined;
1530
+ }>, import("./define.js").Action<{
1531
+ name: string;
1532
+ }, {
1533
+ swarm: string;
1534
+ network: "eip155:8453" | "eip155:5042";
1535
+ strategy: "targets" | "even" | "weights";
1536
+ treasury: {
1537
+ account: string;
1538
+ address: string;
1539
+ linked: boolean;
1540
+ balanceAtomic: string;
1541
+ balanceUsd: string;
1542
+ };
1543
+ members: {
1544
+ account: string;
1545
+ address: string;
1546
+ role: string;
1547
+ weight: number;
1548
+ targetUsd: string;
1549
+ ceilingUsd: string | null;
1550
+ linked: boolean;
1551
+ profile: boolean;
1552
+ balanceAtomic: string;
1553
+ balanceUsd: string;
1554
+ allocatedInUsd: string;
1555
+ sweptOutUsd: string;
1556
+ netUsd: string;
1557
+ }[];
1558
+ openMovements: {
1559
+ id: string;
1560
+ from: string;
1561
+ network: "eip155:8453" | "eip155:5042";
1562
+ createdAt: string;
1563
+ pendingLegs: number;
1564
+ unknownLegs: number;
1565
+ }[];
1566
+ }>, import("./define.js").Action<{
1567
+ name: string;
1568
+ }, {
1569
+ status: "incomplete" | "resumed" | "dissolved";
1570
+ movements: {
1571
+ movementId: string;
1572
+ reason: string;
1573
+ resumed: boolean;
1574
+ legs: {
1575
+ from: string;
1576
+ to: string;
1577
+ amountUsd: string;
1578
+ purpose: "send" | "sweep";
1579
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
1580
+ txHash?: string | undefined;
1581
+ reason?: string | undefined;
1582
+ }[];
1583
+ complete: boolean;
1584
+ }[];
1585
+ message: string;
1586
+ }>];