@mimicprotocol/sdk 0.0.1-rc.0 → 0.0.1-rc.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/dist/axia/constants.d.ts +1 -0
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +2 -1
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/types.d.ts +3 -1
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +54 -0
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +14 -1
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/core/config.d.ts +1 -1
- package/dist/client/core/config.d.ts.map +1 -1
- package/dist/client/core/config.js +1 -0
- package/dist/client/core/config.js.map +1 -1
- package/dist/client/core/http/FetchHttpClient.js +1 -1
- package/dist/client/core/http/FetchHttpClient.js.map +1 -1
- package/dist/client/core/http/utils.d.ts +7 -0
- package/dist/client/core/http/utils.d.ts.map +1 -1
- package/dist/client/core/http/utils.js +22 -0
- package/dist/client/core/http/utils.js.map +1 -1
- package/dist/client/domains/Client.d.ts +6 -3
- package/dist/client/domains/Client.d.ts.map +1 -1
- package/dist/client/domains/Client.js +6 -1
- package/dist/client/domains/Client.js.map +1 -1
- package/dist/client/domains/ConfigsClient.d.ts +9 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +36 -0
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +26 -0
- package/dist/client/domains/IntentsClient.d.ts.map +1 -0
- package/dist/client/domains/IntentsClient.js +74 -0
- package/dist/client/domains/IntentsClient.js.map +1 -0
- package/dist/client/domains/TasksClient.d.ts +2 -1
- package/dist/client/domains/TasksClient.d.ts.map +1 -1
- package/dist/client/domains/TasksClient.js +9 -0
- package/dist/client/domains/TasksClient.js.map +1 -1
- package/dist/client/domains/index.d.ts +1 -0
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +3 -1
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +4 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +4 -3
- package/dist/client/index.js.map +1 -1
- package/dist/registry/ConfigSigner.d.ts +16 -6
- package/dist/registry/ConfigSigner.d.ts.map +1 -1
- package/dist/registry/ConfigSigner.js +51 -4
- package/dist/registry/ConfigSigner.js.map +1 -1
- package/dist/registry/eip712Types.d.ts +6 -18
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +15 -13
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/types.d.ts +8 -8
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js.map +1 -1
- package/dist/registry/validators.d.ts +200 -1699
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +15 -21
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/types.d.ts +2 -1
- package/dist/relayer/types.d.ts.map +1 -1
- package/dist/relayer/validators.d.ts +782 -0
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +12 -11
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +453 -3
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +3 -1
- package/dist/runner/validators.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +18 -1
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +50 -6
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts +17 -0
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -0
- package/dist/shared/signer/WindowEthereumSigner.js +50 -0
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -0
- package/dist/shared/signer/index.d.ts +1 -0
- package/dist/shared/signer/index.d.ts.map +1 -1
- package/dist/shared/signer/index.js +1 -0
- package/dist/shared/signer/index.js.map +1 -1
- package/dist/shared/signer/types.d.ts +7 -1
- package/dist/shared/signer/types.d.ts.map +1 -1
- package/dist/shared/utils/addresses.d.ts +0 -3
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +1 -7
- package/dist/shared/utils/addresses.js.map +1 -1
- package/dist/shared/utils/chains.d.ts +1 -1
- package/dist/shared/utils/chains.js +1 -1
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/tokens.d.ts +7 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared/utils/tokens.js +16 -0
- package/dist/shared/utils/tokens.js.map +1 -0
- package/dist/shared/validators/eip712Types.d.ts +6 -0
- package/dist/shared/validators/eip712Types.d.ts.map +1 -0
- package/dist/shared/validators/eip712Types.js +12 -0
- package/dist/shared/validators/eip712Types.js.map +1 -0
- package/dist/shared/validators/index.d.ts +1 -0
- package/dist/shared/validators/index.d.ts.map +1 -1
- package/dist/shared/validators/index.js +1 -0
- package/dist/shared/validators/index.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +10 -0
- package/dist/validator/ValidatorSigner.d.ts.map +1 -0
- package/dist/validator/ValidatorSigner.js +27 -0
- package/dist/validator/ValidatorSigner.js.map +1 -0
- package/dist/validator/eip712Types.d.ts +17 -0
- package/dist/validator/eip712Types.d.ts.map +1 -0
- package/dist/validator/eip712Types.js +14 -0
- package/dist/validator/eip712Types.js.map +1 -0
- package/dist/validator/index.d.ts +2 -0
- package/dist/validator/index.d.ts.map +1 -1
- package/dist/validator/index.js +2 -0
- package/dist/validator/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,14 +12,14 @@ export declare const CronTriggerValidator: z.ZodObject<{
|
|
|
12
12
|
endDate: z.ZodNumber;
|
|
13
13
|
}, "strict", z.ZodTypeAny, {
|
|
14
14
|
type: TriggerType.Cron;
|
|
15
|
+
schedule: string;
|
|
15
16
|
delta: string;
|
|
16
17
|
endDate: number;
|
|
17
|
-
schedule: string;
|
|
18
18
|
}, {
|
|
19
19
|
type: TriggerType.Cron;
|
|
20
|
+
schedule: string;
|
|
20
21
|
delta: string;
|
|
21
22
|
endDate: number;
|
|
22
|
-
schedule: string;
|
|
23
23
|
}>;
|
|
24
24
|
export declare const EventTriggerValidator: z.ZodObject<{
|
|
25
25
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
@@ -65,14 +65,14 @@ export declare const TriggerValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
65
65
|
endDate: z.ZodNumber;
|
|
66
66
|
}, "strict", z.ZodTypeAny, {
|
|
67
67
|
type: TriggerType.Cron;
|
|
68
|
+
schedule: string;
|
|
68
69
|
delta: string;
|
|
69
70
|
endDate: number;
|
|
70
|
-
schedule: string;
|
|
71
71
|
}, {
|
|
72
72
|
type: TriggerType.Cron;
|
|
73
|
+
schedule: string;
|
|
73
74
|
delta: string;
|
|
74
75
|
endDate: number;
|
|
75
|
-
schedule: string;
|
|
76
76
|
}>]>;
|
|
77
77
|
export declare const ManifestInputsValidator: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
78
78
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -108,24 +108,24 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
108
108
|
}>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
name: string;
|
|
111
|
+
version: string;
|
|
111
112
|
description: string;
|
|
112
113
|
inputs: Record<string, string | {
|
|
113
114
|
type: string;
|
|
114
115
|
description?: string | undefined;
|
|
115
116
|
}>;
|
|
116
|
-
version: string;
|
|
117
117
|
abis: Record<string, string>;
|
|
118
118
|
metadata: {
|
|
119
119
|
libVersion: string;
|
|
120
120
|
};
|
|
121
121
|
}, {
|
|
122
122
|
name: string;
|
|
123
|
+
version: string;
|
|
123
124
|
description: string;
|
|
124
125
|
inputs: Record<string, string | {
|
|
125
126
|
type: string;
|
|
126
127
|
description?: string | undefined;
|
|
127
128
|
}>;
|
|
128
|
-
version: string;
|
|
129
129
|
abis: Record<string, string>;
|
|
130
130
|
metadata: {
|
|
131
131
|
libVersion: string;
|
|
@@ -335,17 +335,17 @@ export declare const TaskValidator: z.ZodObject<{
|
|
|
335
335
|
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
336
336
|
createdAt: z.ZodDate;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
createdAt: Date;
|
|
339
338
|
name: string;
|
|
340
|
-
|
|
339
|
+
createdAt: Date;
|
|
341
340
|
version: string;
|
|
341
|
+
description: string;
|
|
342
342
|
creator: string;
|
|
343
343
|
CID: string;
|
|
344
344
|
}, {
|
|
345
|
-
createdAt: Date;
|
|
346
345
|
name: string;
|
|
347
|
-
|
|
346
|
+
createdAt: Date;
|
|
348
347
|
version: string;
|
|
348
|
+
description: string;
|
|
349
349
|
creator: string;
|
|
350
350
|
CID: string;
|
|
351
351
|
}>;
|
|
@@ -357,417 +357,70 @@ export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
|
357
357
|
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
358
358
|
createdAt: z.ZodDate;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
createdAt: Date;
|
|
361
360
|
name: string;
|
|
362
|
-
|
|
361
|
+
createdAt: Date;
|
|
363
362
|
version: string;
|
|
363
|
+
description: string;
|
|
364
364
|
creator: string;
|
|
365
365
|
CID: string;
|
|
366
366
|
}, {
|
|
367
|
-
createdAt: Date;
|
|
368
367
|
name: string;
|
|
369
|
-
|
|
368
|
+
createdAt: Date;
|
|
370
369
|
version: string;
|
|
370
|
+
description: string;
|
|
371
371
|
creator: string;
|
|
372
372
|
CID: string;
|
|
373
373
|
}>, "many">;
|
|
374
|
-
export declare const
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
}, "strip", z.ZodTypeAny, {
|
|
378
|
-
type: string;
|
|
379
|
-
name: string;
|
|
380
|
-
}, {
|
|
381
|
-
type: string;
|
|
382
|
-
name: string;
|
|
383
|
-
}>, z.ZodObject<{
|
|
384
|
-
name: z.ZodLiteral<string>;
|
|
385
|
-
type: z.ZodLiteral<string>;
|
|
386
|
-
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
type: string;
|
|
388
|
-
name: string;
|
|
389
|
-
}, {
|
|
390
|
-
type: string;
|
|
391
|
-
name: string;
|
|
392
|
-
}>, z.ZodObject<{
|
|
393
|
-
name: z.ZodLiteral<string>;
|
|
394
|
-
type: z.ZodLiteral<string>;
|
|
395
|
-
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
type: string;
|
|
397
|
-
name: string;
|
|
398
|
-
}, {
|
|
399
|
-
type: string;
|
|
400
|
-
name: string;
|
|
401
|
-
}>, z.ZodObject<{
|
|
402
|
-
name: z.ZodLiteral<string>;
|
|
403
|
-
type: z.ZodLiteral<string>;
|
|
404
|
-
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
type: string;
|
|
406
|
-
name: string;
|
|
407
|
-
}, {
|
|
408
|
-
type: string;
|
|
409
|
-
name: string;
|
|
410
|
-
}>], null>;
|
|
411
|
-
export declare const EventTriggerTypeValidator: z.ZodTuple<[z.ZodObject<{
|
|
412
|
-
name: z.ZodLiteral<string>;
|
|
413
|
-
type: z.ZodLiteral<string>;
|
|
414
|
-
}, "strip", z.ZodTypeAny, {
|
|
415
|
-
type: string;
|
|
416
|
-
name: string;
|
|
417
|
-
}, {
|
|
418
|
-
type: string;
|
|
419
|
-
name: string;
|
|
420
|
-
}>, z.ZodObject<{
|
|
421
|
-
name: z.ZodLiteral<string>;
|
|
422
|
-
type: z.ZodLiteral<string>;
|
|
423
|
-
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
type: string;
|
|
425
|
-
name: string;
|
|
426
|
-
}, {
|
|
427
|
-
type: string;
|
|
428
|
-
name: string;
|
|
429
|
-
}>, z.ZodObject<{
|
|
430
|
-
name: z.ZodLiteral<string>;
|
|
431
|
-
type: z.ZodLiteral<string>;
|
|
432
|
-
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
type: string;
|
|
434
|
-
name: string;
|
|
435
|
-
}, {
|
|
436
|
-
type: string;
|
|
437
|
-
name: string;
|
|
438
|
-
}>, z.ZodObject<{
|
|
439
|
-
name: z.ZodLiteral<string>;
|
|
440
|
-
type: z.ZodLiteral<string>;
|
|
441
|
-
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
type: string;
|
|
443
|
-
name: string;
|
|
444
|
-
}, {
|
|
445
|
-
type: string;
|
|
446
|
-
name: string;
|
|
447
|
-
}>, z.ZodObject<{
|
|
448
|
-
name: z.ZodLiteral<string>;
|
|
449
|
-
type: z.ZodLiteral<string>;
|
|
450
|
-
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
type: string;
|
|
452
|
-
name: string;
|
|
453
|
-
}, {
|
|
454
|
-
type: string;
|
|
455
|
-
name: string;
|
|
456
|
-
}>], null>;
|
|
457
|
-
export declare const TriggerTypeValidator: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
458
|
-
name: z.ZodLiteral<string>;
|
|
459
|
-
type: z.ZodLiteral<string>;
|
|
460
|
-
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
type: string;
|
|
462
|
-
name: string;
|
|
463
|
-
}, {
|
|
464
|
-
type: string;
|
|
465
|
-
name: string;
|
|
466
|
-
}>, z.ZodObject<{
|
|
467
|
-
name: z.ZodLiteral<string>;
|
|
468
|
-
type: z.ZodLiteral<string>;
|
|
469
|
-
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
type: string;
|
|
471
|
-
name: string;
|
|
472
|
-
}, {
|
|
473
|
-
type: string;
|
|
474
|
-
name: string;
|
|
475
|
-
}>, z.ZodObject<{
|
|
476
|
-
name: z.ZodLiteral<string>;
|
|
477
|
-
type: z.ZodLiteral<string>;
|
|
478
|
-
}, "strip", z.ZodTypeAny, {
|
|
479
|
-
type: string;
|
|
480
|
-
name: string;
|
|
481
|
-
}, {
|
|
482
|
-
type: string;
|
|
483
|
-
name: string;
|
|
484
|
-
}>, z.ZodObject<{
|
|
485
|
-
name: z.ZodLiteral<string>;
|
|
486
|
-
type: z.ZodLiteral<string>;
|
|
487
|
-
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
type: string;
|
|
489
|
-
name: string;
|
|
490
|
-
}, {
|
|
491
|
-
type: string;
|
|
492
|
-
name: string;
|
|
493
|
-
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
494
|
-
name: z.ZodLiteral<string>;
|
|
495
|
-
type: z.ZodLiteral<string>;
|
|
496
|
-
}, "strip", z.ZodTypeAny, {
|
|
497
|
-
type: string;
|
|
498
|
-
name: string;
|
|
499
|
-
}, {
|
|
500
|
-
type: string;
|
|
501
|
-
name: string;
|
|
502
|
-
}>, z.ZodObject<{
|
|
503
|
-
name: z.ZodLiteral<string>;
|
|
504
|
-
type: z.ZodLiteral<string>;
|
|
505
|
-
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
type: string;
|
|
507
|
-
name: string;
|
|
508
|
-
}, {
|
|
509
|
-
type: string;
|
|
510
|
-
name: string;
|
|
511
|
-
}>, z.ZodObject<{
|
|
512
|
-
name: z.ZodLiteral<string>;
|
|
513
|
-
type: z.ZodLiteral<string>;
|
|
514
|
-
}, "strip", z.ZodTypeAny, {
|
|
515
|
-
type: string;
|
|
516
|
-
name: string;
|
|
517
|
-
}, {
|
|
518
|
-
type: string;
|
|
519
|
-
name: string;
|
|
520
|
-
}>, z.ZodObject<{
|
|
521
|
-
name: z.ZodLiteral<string>;
|
|
522
|
-
type: z.ZodLiteral<string>;
|
|
523
|
-
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
type: string;
|
|
525
|
-
name: string;
|
|
526
|
-
}, {
|
|
527
|
-
type: string;
|
|
528
|
-
name: string;
|
|
529
|
-
}>, z.ZodObject<{
|
|
530
|
-
name: z.ZodLiteral<string>;
|
|
531
|
-
type: z.ZodLiteral<string>;
|
|
374
|
+
export declare const TaskCreateRequestValidator: z.ZodObject<{
|
|
375
|
+
manifestFile: z.ZodEffects<z.ZodType<File, z.ZodTypeDef, File>, File, File>;
|
|
376
|
+
wasmFile: z.ZodEffects<z.ZodType<File, z.ZodTypeDef, File>, File, File>;
|
|
532
377
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
|
|
534
|
-
|
|
378
|
+
manifestFile: File;
|
|
379
|
+
wasmFile: File;
|
|
535
380
|
}, {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}
|
|
381
|
+
manifestFile: File;
|
|
382
|
+
wasmFile: File;
|
|
383
|
+
}>;
|
|
384
|
+
export declare const CronTriggerTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
385
|
+
export declare const EventTriggerTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
386
|
+
export declare const TriggerTypeValidator: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
539
387
|
export declare const ConfigTypedDataFieldValidator: z.ZodObject<{
|
|
540
388
|
name: z.ZodString;
|
|
541
389
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
542
390
|
}, "strict", z.ZodTypeAny, {
|
|
543
|
-
type: string;
|
|
544
391
|
name: string;
|
|
545
|
-
}, {
|
|
546
392
|
type: string;
|
|
393
|
+
}, {
|
|
547
394
|
name: string;
|
|
395
|
+
type: string;
|
|
548
396
|
}>;
|
|
549
397
|
export declare const ConfigTypesValidator: z.ZodObject<{
|
|
550
398
|
Input: z.ZodArray<z.ZodObject<{
|
|
551
399
|
name: z.ZodString;
|
|
552
400
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
553
401
|
}, "strict", z.ZodTypeAny, {
|
|
554
|
-
type: string;
|
|
555
|
-
name: string;
|
|
556
|
-
}, {
|
|
557
|
-
type: string;
|
|
558
|
-
name: string;
|
|
559
|
-
}>, "many">;
|
|
560
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
561
|
-
name: z.ZodLiteral<string>;
|
|
562
|
-
type: z.ZodLiteral<string>;
|
|
563
|
-
}, "strip", z.ZodTypeAny, {
|
|
564
|
-
type: string;
|
|
565
|
-
name: string;
|
|
566
|
-
}, {
|
|
567
|
-
type: string;
|
|
568
|
-
name: string;
|
|
569
|
-
}>, z.ZodObject<{
|
|
570
|
-
name: z.ZodLiteral<string>;
|
|
571
|
-
type: z.ZodLiteral<string>;
|
|
572
|
-
}, "strip", z.ZodTypeAny, {
|
|
573
|
-
type: string;
|
|
574
|
-
name: string;
|
|
575
|
-
}, {
|
|
576
|
-
type: string;
|
|
577
|
-
name: string;
|
|
578
|
-
}>, z.ZodObject<{
|
|
579
|
-
name: z.ZodLiteral<string>;
|
|
580
|
-
type: z.ZodLiteral<string>;
|
|
581
|
-
}, "strip", z.ZodTypeAny, {
|
|
582
|
-
type: string;
|
|
583
|
-
name: string;
|
|
584
|
-
}, {
|
|
585
|
-
type: string;
|
|
586
|
-
name: string;
|
|
587
|
-
}>, z.ZodObject<{
|
|
588
|
-
name: z.ZodLiteral<string>;
|
|
589
|
-
type: z.ZodLiteral<string>;
|
|
590
|
-
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
type: string;
|
|
592
|
-
name: string;
|
|
593
|
-
}, {
|
|
594
|
-
type: string;
|
|
595
|
-
name: string;
|
|
596
|
-
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
597
|
-
name: z.ZodLiteral<string>;
|
|
598
|
-
type: z.ZodLiteral<string>;
|
|
599
|
-
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
type: string;
|
|
601
|
-
name: string;
|
|
602
|
-
}, {
|
|
603
|
-
type: string;
|
|
604
|
-
name: string;
|
|
605
|
-
}>, z.ZodObject<{
|
|
606
|
-
name: z.ZodLiteral<string>;
|
|
607
|
-
type: z.ZodLiteral<string>;
|
|
608
|
-
}, "strip", z.ZodTypeAny, {
|
|
609
|
-
type: string;
|
|
610
|
-
name: string;
|
|
611
|
-
}, {
|
|
612
|
-
type: string;
|
|
613
|
-
name: string;
|
|
614
|
-
}>, z.ZodObject<{
|
|
615
|
-
name: z.ZodLiteral<string>;
|
|
616
|
-
type: z.ZodLiteral<string>;
|
|
617
|
-
}, "strip", z.ZodTypeAny, {
|
|
618
|
-
type: string;
|
|
619
|
-
name: string;
|
|
620
|
-
}, {
|
|
621
|
-
type: string;
|
|
622
|
-
name: string;
|
|
623
|
-
}>, z.ZodObject<{
|
|
624
|
-
name: z.ZodLiteral<string>;
|
|
625
|
-
type: z.ZodLiteral<string>;
|
|
626
|
-
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
type: string;
|
|
628
|
-
name: string;
|
|
629
|
-
}, {
|
|
630
|
-
type: string;
|
|
631
|
-
name: string;
|
|
632
|
-
}>, z.ZodObject<{
|
|
633
|
-
name: z.ZodLiteral<string>;
|
|
634
|
-
type: z.ZodLiteral<string>;
|
|
635
|
-
}, "strip", z.ZodTypeAny, {
|
|
636
|
-
type: string;
|
|
637
|
-
name: string;
|
|
638
|
-
}, {
|
|
639
|
-
type: string;
|
|
640
|
-
name: string;
|
|
641
|
-
}>], null>]>;
|
|
642
|
-
Config: z.ZodTuple<[z.ZodObject<{
|
|
643
|
-
name: z.ZodLiteral<string>;
|
|
644
|
-
type: z.ZodLiteral<string>;
|
|
645
|
-
}, "strip", z.ZodTypeAny, {
|
|
646
|
-
type: string;
|
|
647
|
-
name: string;
|
|
648
|
-
}, {
|
|
649
|
-
type: string;
|
|
650
|
-
name: string;
|
|
651
|
-
}>, z.ZodObject<{
|
|
652
|
-
name: z.ZodLiteral<string>;
|
|
653
|
-
type: z.ZodLiteral<string>;
|
|
654
|
-
}, "strip", z.ZodTypeAny, {
|
|
655
|
-
type: string;
|
|
656
|
-
name: string;
|
|
657
|
-
}, {
|
|
658
|
-
type: string;
|
|
659
402
|
name: string;
|
|
660
|
-
}>, z.ZodObject<{
|
|
661
|
-
name: z.ZodLiteral<string>;
|
|
662
|
-
type: z.ZodLiteral<string>;
|
|
663
|
-
}, "strip", z.ZodTypeAny, {
|
|
664
403
|
type: string;
|
|
665
|
-
name: string;
|
|
666
404
|
}, {
|
|
667
|
-
type: string;
|
|
668
|
-
name: string;
|
|
669
|
-
}>, z.ZodObject<{
|
|
670
|
-
name: z.ZodLiteral<string>;
|
|
671
|
-
type: z.ZodLiteral<string>;
|
|
672
|
-
}, "strip", z.ZodTypeAny, {
|
|
673
|
-
type: string;
|
|
674
405
|
name: string;
|
|
675
|
-
}, {
|
|
676
406
|
type: string;
|
|
677
|
-
|
|
678
|
-
|
|
407
|
+
}>, "many">;
|
|
408
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
409
|
+
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
679
410
|
}, "strict", z.ZodTypeAny, {
|
|
411
|
+
Config: [any, ...any[]];
|
|
680
412
|
Input: {
|
|
681
|
-
type: string;
|
|
682
|
-
name: string;
|
|
683
|
-
}[];
|
|
684
|
-
Trigger: [{
|
|
685
|
-
type: string;
|
|
686
|
-
name: string;
|
|
687
|
-
}, {
|
|
688
|
-
type: string;
|
|
689
413
|
name: string;
|
|
690
|
-
}, {
|
|
691
414
|
type: string;
|
|
415
|
+
}[];
|
|
416
|
+
Trigger: [any, ...any[]];
|
|
417
|
+
}, {
|
|
418
|
+
Config: [any, ...any[]];
|
|
419
|
+
Input: {
|
|
692
420
|
name: string;
|
|
693
|
-
}, {
|
|
694
421
|
type: string;
|
|
695
|
-
name: string;
|
|
696
|
-
}] | [{
|
|
697
|
-
type: string;
|
|
698
|
-
name: string;
|
|
699
|
-
}, {
|
|
700
|
-
type: string;
|
|
701
|
-
name: string;
|
|
702
|
-
}, {
|
|
703
|
-
type: string;
|
|
704
|
-
name: string;
|
|
705
|
-
}, {
|
|
706
|
-
type: string;
|
|
707
|
-
name: string;
|
|
708
|
-
}, {
|
|
709
|
-
type: string;
|
|
710
|
-
name: string;
|
|
711
|
-
}];
|
|
712
|
-
Config: [{
|
|
713
|
-
type: string;
|
|
714
|
-
name: string;
|
|
715
|
-
}, {
|
|
716
|
-
type: string;
|
|
717
|
-
name: string;
|
|
718
|
-
}, {
|
|
719
|
-
type: string;
|
|
720
|
-
name: string;
|
|
721
|
-
}, {
|
|
722
|
-
type: string;
|
|
723
|
-
name: string;
|
|
724
|
-
}];
|
|
725
|
-
}, {
|
|
726
|
-
Input: {
|
|
727
|
-
type: string;
|
|
728
|
-
name: string;
|
|
729
422
|
}[];
|
|
730
|
-
Trigger: [
|
|
731
|
-
type: string;
|
|
732
|
-
name: string;
|
|
733
|
-
}, {
|
|
734
|
-
type: string;
|
|
735
|
-
name: string;
|
|
736
|
-
}, {
|
|
737
|
-
type: string;
|
|
738
|
-
name: string;
|
|
739
|
-
}, {
|
|
740
|
-
type: string;
|
|
741
|
-
name: string;
|
|
742
|
-
}] | [{
|
|
743
|
-
type: string;
|
|
744
|
-
name: string;
|
|
745
|
-
}, {
|
|
746
|
-
type: string;
|
|
747
|
-
name: string;
|
|
748
|
-
}, {
|
|
749
|
-
type: string;
|
|
750
|
-
name: string;
|
|
751
|
-
}, {
|
|
752
|
-
type: string;
|
|
753
|
-
name: string;
|
|
754
|
-
}, {
|
|
755
|
-
type: string;
|
|
756
|
-
name: string;
|
|
757
|
-
}];
|
|
758
|
-
Config: [{
|
|
759
|
-
type: string;
|
|
760
|
-
name: string;
|
|
761
|
-
}, {
|
|
762
|
-
type: string;
|
|
763
|
-
name: string;
|
|
764
|
-
}, {
|
|
765
|
-
type: string;
|
|
766
|
-
name: string;
|
|
767
|
-
}, {
|
|
768
|
-
type: string;
|
|
769
|
-
name: string;
|
|
770
|
-
}];
|
|
423
|
+
Trigger: [any, ...any[]];
|
|
771
424
|
}>;
|
|
772
425
|
export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
773
426
|
types: z.ZodObject<{
|
|
@@ -775,223 +428,28 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
775
428
|
name: z.ZodString;
|
|
776
429
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
777
430
|
}, "strict", z.ZodTypeAny, {
|
|
778
|
-
type: string;
|
|
779
|
-
name: string;
|
|
780
|
-
}, {
|
|
781
|
-
type: string;
|
|
782
|
-
name: string;
|
|
783
|
-
}>, "many">;
|
|
784
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
785
|
-
name: z.ZodLiteral<string>;
|
|
786
|
-
type: z.ZodLiteral<string>;
|
|
787
|
-
}, "strip", z.ZodTypeAny, {
|
|
788
|
-
type: string;
|
|
789
|
-
name: string;
|
|
790
|
-
}, {
|
|
791
|
-
type: string;
|
|
792
|
-
name: string;
|
|
793
|
-
}>, z.ZodObject<{
|
|
794
|
-
name: z.ZodLiteral<string>;
|
|
795
|
-
type: z.ZodLiteral<string>;
|
|
796
|
-
}, "strip", z.ZodTypeAny, {
|
|
797
|
-
type: string;
|
|
798
|
-
name: string;
|
|
799
|
-
}, {
|
|
800
|
-
type: string;
|
|
801
|
-
name: string;
|
|
802
|
-
}>, z.ZodObject<{
|
|
803
|
-
name: z.ZodLiteral<string>;
|
|
804
|
-
type: z.ZodLiteral<string>;
|
|
805
|
-
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
type: string;
|
|
807
|
-
name: string;
|
|
808
|
-
}, {
|
|
809
|
-
type: string;
|
|
810
|
-
name: string;
|
|
811
|
-
}>, z.ZodObject<{
|
|
812
|
-
name: z.ZodLiteral<string>;
|
|
813
|
-
type: z.ZodLiteral<string>;
|
|
814
|
-
}, "strip", z.ZodTypeAny, {
|
|
815
|
-
type: string;
|
|
816
|
-
name: string;
|
|
817
|
-
}, {
|
|
818
|
-
type: string;
|
|
819
|
-
name: string;
|
|
820
|
-
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
821
|
-
name: z.ZodLiteral<string>;
|
|
822
|
-
type: z.ZodLiteral<string>;
|
|
823
|
-
}, "strip", z.ZodTypeAny, {
|
|
824
|
-
type: string;
|
|
825
|
-
name: string;
|
|
826
|
-
}, {
|
|
827
|
-
type: string;
|
|
828
|
-
name: string;
|
|
829
|
-
}>, z.ZodObject<{
|
|
830
|
-
name: z.ZodLiteral<string>;
|
|
831
|
-
type: z.ZodLiteral<string>;
|
|
832
|
-
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
type: string;
|
|
834
|
-
name: string;
|
|
835
|
-
}, {
|
|
836
|
-
type: string;
|
|
837
|
-
name: string;
|
|
838
|
-
}>, z.ZodObject<{
|
|
839
|
-
name: z.ZodLiteral<string>;
|
|
840
|
-
type: z.ZodLiteral<string>;
|
|
841
|
-
}, "strip", z.ZodTypeAny, {
|
|
842
|
-
type: string;
|
|
843
|
-
name: string;
|
|
844
|
-
}, {
|
|
845
|
-
type: string;
|
|
846
|
-
name: string;
|
|
847
|
-
}>, z.ZodObject<{
|
|
848
|
-
name: z.ZodLiteral<string>;
|
|
849
|
-
type: z.ZodLiteral<string>;
|
|
850
|
-
}, "strip", z.ZodTypeAny, {
|
|
851
|
-
type: string;
|
|
852
|
-
name: string;
|
|
853
|
-
}, {
|
|
854
|
-
type: string;
|
|
855
|
-
name: string;
|
|
856
|
-
}>, z.ZodObject<{
|
|
857
|
-
name: z.ZodLiteral<string>;
|
|
858
|
-
type: z.ZodLiteral<string>;
|
|
859
|
-
}, "strip", z.ZodTypeAny, {
|
|
860
|
-
type: string;
|
|
861
|
-
name: string;
|
|
862
|
-
}, {
|
|
863
|
-
type: string;
|
|
864
|
-
name: string;
|
|
865
|
-
}>], null>]>;
|
|
866
|
-
Config: z.ZodTuple<[z.ZodObject<{
|
|
867
|
-
name: z.ZodLiteral<string>;
|
|
868
|
-
type: z.ZodLiteral<string>;
|
|
869
|
-
}, "strip", z.ZodTypeAny, {
|
|
870
|
-
type: string;
|
|
871
|
-
name: string;
|
|
872
|
-
}, {
|
|
873
|
-
type: string;
|
|
874
|
-
name: string;
|
|
875
|
-
}>, z.ZodObject<{
|
|
876
|
-
name: z.ZodLiteral<string>;
|
|
877
|
-
type: z.ZodLiteral<string>;
|
|
878
|
-
}, "strip", z.ZodTypeAny, {
|
|
879
|
-
type: string;
|
|
880
|
-
name: string;
|
|
881
|
-
}, {
|
|
882
|
-
type: string;
|
|
883
431
|
name: string;
|
|
884
|
-
}>, z.ZodObject<{
|
|
885
|
-
name: z.ZodLiteral<string>;
|
|
886
|
-
type: z.ZodLiteral<string>;
|
|
887
|
-
}, "strip", z.ZodTypeAny, {
|
|
888
432
|
type: string;
|
|
889
|
-
name: string;
|
|
890
433
|
}, {
|
|
891
|
-
type: string;
|
|
892
434
|
name: string;
|
|
893
|
-
}>, z.ZodObject<{
|
|
894
|
-
name: z.ZodLiteral<string>;
|
|
895
|
-
type: z.ZodLiteral<string>;
|
|
896
|
-
}, "strip", z.ZodTypeAny, {
|
|
897
|
-
type: string;
|
|
898
|
-
name: string;
|
|
899
|
-
}, {
|
|
900
435
|
type: string;
|
|
901
|
-
|
|
902
|
-
|
|
436
|
+
}>, "many">;
|
|
437
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
438
|
+
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
903
439
|
}, "strict", z.ZodTypeAny, {
|
|
440
|
+
Config: [any, ...any[]];
|
|
904
441
|
Input: {
|
|
905
|
-
type: string;
|
|
906
|
-
name: string;
|
|
907
|
-
}[];
|
|
908
|
-
Trigger: [{
|
|
909
|
-
type: string;
|
|
910
|
-
name: string;
|
|
911
|
-
}, {
|
|
912
|
-
type: string;
|
|
913
|
-
name: string;
|
|
914
|
-
}, {
|
|
915
|
-
type: string;
|
|
916
|
-
name: string;
|
|
917
|
-
}, {
|
|
918
|
-
type: string;
|
|
919
|
-
name: string;
|
|
920
|
-
}] | [{
|
|
921
|
-
type: string;
|
|
922
|
-
name: string;
|
|
923
|
-
}, {
|
|
924
|
-
type: string;
|
|
925
|
-
name: string;
|
|
926
|
-
}, {
|
|
927
|
-
type: string;
|
|
928
|
-
name: string;
|
|
929
|
-
}, {
|
|
930
|
-
type: string;
|
|
931
|
-
name: string;
|
|
932
|
-
}, {
|
|
933
|
-
type: string;
|
|
934
|
-
name: string;
|
|
935
|
-
}];
|
|
936
|
-
Config: [{
|
|
937
|
-
type: string;
|
|
938
|
-
name: string;
|
|
939
|
-
}, {
|
|
940
|
-
type: string;
|
|
941
|
-
name: string;
|
|
942
|
-
}, {
|
|
943
|
-
type: string;
|
|
944
442
|
name: string;
|
|
945
|
-
}, {
|
|
946
443
|
type: string;
|
|
947
|
-
|
|
948
|
-
|
|
444
|
+
}[];
|
|
445
|
+
Trigger: [any, ...any[]];
|
|
949
446
|
}, {
|
|
447
|
+
Config: [any, ...any[]];
|
|
950
448
|
Input: {
|
|
951
|
-
type: string;
|
|
952
|
-
name: string;
|
|
953
|
-
}[];
|
|
954
|
-
Trigger: [{
|
|
955
|
-
type: string;
|
|
956
|
-
name: string;
|
|
957
|
-
}, {
|
|
958
|
-
type: string;
|
|
959
|
-
name: string;
|
|
960
|
-
}, {
|
|
961
|
-
type: string;
|
|
962
|
-
name: string;
|
|
963
|
-
}, {
|
|
964
|
-
type: string;
|
|
965
|
-
name: string;
|
|
966
|
-
}] | [{
|
|
967
|
-
type: string;
|
|
968
|
-
name: string;
|
|
969
|
-
}, {
|
|
970
|
-
type: string;
|
|
971
|
-
name: string;
|
|
972
|
-
}, {
|
|
973
|
-
type: string;
|
|
974
|
-
name: string;
|
|
975
|
-
}, {
|
|
976
|
-
type: string;
|
|
977
|
-
name: string;
|
|
978
|
-
}, {
|
|
979
|
-
type: string;
|
|
980
|
-
name: string;
|
|
981
|
-
}];
|
|
982
|
-
Config: [{
|
|
983
|
-
type: string;
|
|
984
|
-
name: string;
|
|
985
|
-
}, {
|
|
986
|
-
type: string;
|
|
987
449
|
name: string;
|
|
988
|
-
}, {
|
|
989
450
|
type: string;
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
type: string;
|
|
993
|
-
name: string;
|
|
994
|
-
}];
|
|
451
|
+
}[];
|
|
452
|
+
Trigger: [any, ...any[]];
|
|
995
453
|
}>;
|
|
996
454
|
values: z.ZodObject<{
|
|
997
455
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1022,24 +480,25 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
1022
480
|
endDate: z.ZodNumber;
|
|
1023
481
|
}, "strict", z.ZodTypeAny, {
|
|
1024
482
|
type: TriggerType.Cron;
|
|
483
|
+
schedule: string;
|
|
1025
484
|
delta: string;
|
|
1026
485
|
endDate: number;
|
|
1027
|
-
schedule: string;
|
|
1028
486
|
}, {
|
|
1029
487
|
type: TriggerType.Cron;
|
|
488
|
+
schedule: string;
|
|
1030
489
|
delta: string;
|
|
1031
490
|
endDate: number;
|
|
1032
|
-
schedule: string;
|
|
1033
491
|
}>]>;
|
|
492
|
+
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1034
493
|
}, "strict", z.ZodTypeAny, {
|
|
1035
|
-
taskCid: string;
|
|
1036
494
|
version: string;
|
|
495
|
+
taskCid: string;
|
|
1037
496
|
input: Record<string, unknown>;
|
|
1038
497
|
trigger: {
|
|
1039
498
|
type: TriggerType.Cron;
|
|
499
|
+
schedule: string;
|
|
1040
500
|
delta: string;
|
|
1041
501
|
endDate: number;
|
|
1042
|
-
schedule: string;
|
|
1043
502
|
} | {
|
|
1044
503
|
chainId: number;
|
|
1045
504
|
type: TriggerType.Event;
|
|
@@ -1047,15 +506,16 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
1047
506
|
delta: string;
|
|
1048
507
|
event: string;
|
|
1049
508
|
};
|
|
509
|
+
executionFeeLimit: string;
|
|
1050
510
|
}, {
|
|
1051
|
-
taskCid: string;
|
|
1052
511
|
version: string;
|
|
512
|
+
taskCid: string;
|
|
1053
513
|
input: Record<string, unknown>;
|
|
1054
514
|
trigger: {
|
|
1055
515
|
type: TriggerType.Cron;
|
|
516
|
+
schedule: string;
|
|
1056
517
|
delta: string;
|
|
1057
518
|
endDate: number;
|
|
1058
|
-
schedule: string;
|
|
1059
519
|
} | {
|
|
1060
520
|
chainId: number;
|
|
1061
521
|
type: TriggerType.Event;
|
|
@@ -1063,17 +523,18 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
1063
523
|
delta: string;
|
|
1064
524
|
event: string;
|
|
1065
525
|
};
|
|
526
|
+
executionFeeLimit: string;
|
|
1066
527
|
}>;
|
|
1067
528
|
}, "strip", z.ZodTypeAny, {
|
|
1068
529
|
values: {
|
|
1069
|
-
taskCid: string;
|
|
1070
530
|
version: string;
|
|
531
|
+
taskCid: string;
|
|
1071
532
|
input: Record<string, unknown>;
|
|
1072
533
|
trigger: {
|
|
1073
534
|
type: TriggerType.Cron;
|
|
535
|
+
schedule: string;
|
|
1074
536
|
delta: string;
|
|
1075
537
|
endDate: number;
|
|
1076
|
-
schedule: string;
|
|
1077
538
|
} | {
|
|
1078
539
|
chainId: number;
|
|
1079
540
|
type: TriggerType.Event;
|
|
@@ -1081,345 +542,74 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
1081
542
|
delta: string;
|
|
1082
543
|
event: string;
|
|
1083
544
|
};
|
|
545
|
+
executionFeeLimit: string;
|
|
1084
546
|
};
|
|
1085
547
|
types: {
|
|
548
|
+
Config: [any, ...any[]];
|
|
1086
549
|
Input: {
|
|
1087
|
-
type: string;
|
|
1088
|
-
name: string;
|
|
1089
|
-
}[];
|
|
1090
|
-
Trigger: [{
|
|
1091
|
-
type: string;
|
|
1092
|
-
name: string;
|
|
1093
|
-
}, {
|
|
1094
|
-
type: string;
|
|
1095
|
-
name: string;
|
|
1096
|
-
}, {
|
|
1097
|
-
type: string;
|
|
1098
|
-
name: string;
|
|
1099
|
-
}, {
|
|
1100
|
-
type: string;
|
|
1101
|
-
name: string;
|
|
1102
|
-
}] | [{
|
|
1103
|
-
type: string;
|
|
1104
|
-
name: string;
|
|
1105
|
-
}, {
|
|
1106
|
-
type: string;
|
|
1107
550
|
name: string;
|
|
1108
|
-
}, {
|
|
1109
|
-
type: string;
|
|
1110
|
-
name: string;
|
|
1111
|
-
}, {
|
|
1112
|
-
type: string;
|
|
1113
|
-
name: string;
|
|
1114
|
-
}, {
|
|
1115
|
-
type: string;
|
|
1116
|
-
name: string;
|
|
1117
|
-
}];
|
|
1118
|
-
Config: [{
|
|
1119
|
-
type: string;
|
|
1120
|
-
name: string;
|
|
1121
|
-
}, {
|
|
1122
|
-
type: string;
|
|
1123
|
-
name: string;
|
|
1124
|
-
}, {
|
|
1125
|
-
type: string;
|
|
1126
|
-
name: string;
|
|
1127
|
-
}, {
|
|
1128
551
|
type: string;
|
|
1129
|
-
|
|
1130
|
-
|
|
552
|
+
}[];
|
|
553
|
+
Trigger: [any, ...any[]];
|
|
1131
554
|
};
|
|
1132
555
|
}, {
|
|
1133
556
|
values: {
|
|
1134
|
-
taskCid: string;
|
|
1135
557
|
version: string;
|
|
558
|
+
taskCid: string;
|
|
1136
559
|
input: Record<string, unknown>;
|
|
1137
560
|
trigger: {
|
|
1138
|
-
type: TriggerType.Cron;
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
} | {
|
|
1143
|
-
chainId: number;
|
|
1144
|
-
type: TriggerType.Event;
|
|
1145
|
-
contract: string;
|
|
1146
|
-
delta: string;
|
|
1147
|
-
event: string;
|
|
1148
|
-
};
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
type: string;
|
|
1169
|
-
name: string;
|
|
1170
|
-
}, {
|
|
1171
|
-
type: string;
|
|
1172
|
-
name: string;
|
|
1173
|
-
}, {
|
|
1174
|
-
type: string;
|
|
1175
|
-
name: string;
|
|
1176
|
-
}, {
|
|
1177
|
-
type: string;
|
|
1178
|
-
name: string;
|
|
1179
|
-
}, {
|
|
1180
|
-
type: string;
|
|
1181
|
-
name: string;
|
|
1182
|
-
}];
|
|
1183
|
-
Config: [{
|
|
1184
|
-
type: string;
|
|
1185
|
-
name: string;
|
|
1186
|
-
}, {
|
|
1187
|
-
type: string;
|
|
1188
|
-
name: string;
|
|
1189
|
-
}, {
|
|
1190
|
-
type: string;
|
|
1191
|
-
name: string;
|
|
1192
|
-
}, {
|
|
1193
|
-
type: string;
|
|
1194
|
-
name: string;
|
|
1195
|
-
}];
|
|
1196
|
-
};
|
|
1197
|
-
}>;
|
|
1198
|
-
export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
1199
|
-
description: z.ZodString;
|
|
1200
|
-
typedData: z.ZodObject<{
|
|
1201
|
-
types: z.ZodObject<{
|
|
1202
|
-
Input: z.ZodArray<z.ZodObject<{
|
|
1203
|
-
name: z.ZodString;
|
|
1204
|
-
type: z.ZodEffects<z.ZodString, string, string>;
|
|
1205
|
-
}, "strict", z.ZodTypeAny, {
|
|
1206
|
-
type: string;
|
|
1207
|
-
name: string;
|
|
1208
|
-
}, {
|
|
1209
|
-
type: string;
|
|
1210
|
-
name: string;
|
|
1211
|
-
}>, "many">;
|
|
1212
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
1213
|
-
name: z.ZodLiteral<string>;
|
|
1214
|
-
type: z.ZodLiteral<string>;
|
|
1215
|
-
}, "strip", z.ZodTypeAny, {
|
|
1216
|
-
type: string;
|
|
1217
|
-
name: string;
|
|
1218
|
-
}, {
|
|
1219
|
-
type: string;
|
|
1220
|
-
name: string;
|
|
1221
|
-
}>, z.ZodObject<{
|
|
1222
|
-
name: z.ZodLiteral<string>;
|
|
1223
|
-
type: z.ZodLiteral<string>;
|
|
1224
|
-
}, "strip", z.ZodTypeAny, {
|
|
1225
|
-
type: string;
|
|
1226
|
-
name: string;
|
|
1227
|
-
}, {
|
|
1228
|
-
type: string;
|
|
1229
|
-
name: string;
|
|
1230
|
-
}>, z.ZodObject<{
|
|
1231
|
-
name: z.ZodLiteral<string>;
|
|
1232
|
-
type: z.ZodLiteral<string>;
|
|
1233
|
-
}, "strip", z.ZodTypeAny, {
|
|
1234
|
-
type: string;
|
|
1235
|
-
name: string;
|
|
1236
|
-
}, {
|
|
1237
|
-
type: string;
|
|
1238
|
-
name: string;
|
|
1239
|
-
}>, z.ZodObject<{
|
|
1240
|
-
name: z.ZodLiteral<string>;
|
|
1241
|
-
type: z.ZodLiteral<string>;
|
|
1242
|
-
}, "strip", z.ZodTypeAny, {
|
|
1243
|
-
type: string;
|
|
1244
|
-
name: string;
|
|
1245
|
-
}, {
|
|
1246
|
-
type: string;
|
|
1247
|
-
name: string;
|
|
1248
|
-
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
1249
|
-
name: z.ZodLiteral<string>;
|
|
1250
|
-
type: z.ZodLiteral<string>;
|
|
1251
|
-
}, "strip", z.ZodTypeAny, {
|
|
1252
|
-
type: string;
|
|
1253
|
-
name: string;
|
|
1254
|
-
}, {
|
|
1255
|
-
type: string;
|
|
1256
|
-
name: string;
|
|
1257
|
-
}>, z.ZodObject<{
|
|
1258
|
-
name: z.ZodLiteral<string>;
|
|
1259
|
-
type: z.ZodLiteral<string>;
|
|
1260
|
-
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
type: string;
|
|
1262
|
-
name: string;
|
|
1263
|
-
}, {
|
|
1264
|
-
type: string;
|
|
1265
|
-
name: string;
|
|
1266
|
-
}>, z.ZodObject<{
|
|
1267
|
-
name: z.ZodLiteral<string>;
|
|
1268
|
-
type: z.ZodLiteral<string>;
|
|
1269
|
-
}, "strip", z.ZodTypeAny, {
|
|
1270
|
-
type: string;
|
|
1271
|
-
name: string;
|
|
1272
|
-
}, {
|
|
1273
|
-
type: string;
|
|
1274
|
-
name: string;
|
|
1275
|
-
}>, z.ZodObject<{
|
|
1276
|
-
name: z.ZodLiteral<string>;
|
|
1277
|
-
type: z.ZodLiteral<string>;
|
|
1278
|
-
}, "strip", z.ZodTypeAny, {
|
|
1279
|
-
type: string;
|
|
1280
|
-
name: string;
|
|
1281
|
-
}, {
|
|
1282
|
-
type: string;
|
|
1283
|
-
name: string;
|
|
1284
|
-
}>, z.ZodObject<{
|
|
1285
|
-
name: z.ZodLiteral<string>;
|
|
1286
|
-
type: z.ZodLiteral<string>;
|
|
1287
|
-
}, "strip", z.ZodTypeAny, {
|
|
1288
|
-
type: string;
|
|
1289
|
-
name: string;
|
|
1290
|
-
}, {
|
|
1291
|
-
type: string;
|
|
1292
|
-
name: string;
|
|
1293
|
-
}>], null>]>;
|
|
1294
|
-
Config: z.ZodTuple<[z.ZodObject<{
|
|
1295
|
-
name: z.ZodLiteral<string>;
|
|
1296
|
-
type: z.ZodLiteral<string>;
|
|
1297
|
-
}, "strip", z.ZodTypeAny, {
|
|
1298
|
-
type: string;
|
|
1299
|
-
name: string;
|
|
1300
|
-
}, {
|
|
1301
|
-
type: string;
|
|
1302
|
-
name: string;
|
|
1303
|
-
}>, z.ZodObject<{
|
|
1304
|
-
name: z.ZodLiteral<string>;
|
|
1305
|
-
type: z.ZodLiteral<string>;
|
|
1306
|
-
}, "strip", z.ZodTypeAny, {
|
|
1307
|
-
type: string;
|
|
1308
|
-
name: string;
|
|
1309
|
-
}, {
|
|
1310
|
-
type: string;
|
|
1311
|
-
name: string;
|
|
1312
|
-
}>, z.ZodObject<{
|
|
1313
|
-
name: z.ZodLiteral<string>;
|
|
1314
|
-
type: z.ZodLiteral<string>;
|
|
1315
|
-
}, "strip", z.ZodTypeAny, {
|
|
1316
|
-
type: string;
|
|
1317
|
-
name: string;
|
|
1318
|
-
}, {
|
|
1319
|
-
type: string;
|
|
1320
|
-
name: string;
|
|
1321
|
-
}>, z.ZodObject<{
|
|
1322
|
-
name: z.ZodLiteral<string>;
|
|
1323
|
-
type: z.ZodLiteral<string>;
|
|
1324
|
-
}, "strip", z.ZodTypeAny, {
|
|
1325
|
-
type: string;
|
|
1326
|
-
name: string;
|
|
1327
|
-
}, {
|
|
1328
|
-
type: string;
|
|
1329
|
-
name: string;
|
|
1330
|
-
}>], null>;
|
|
1331
|
-
}, "strict", z.ZodTypeAny, {
|
|
1332
|
-
Input: {
|
|
1333
|
-
type: string;
|
|
1334
|
-
name: string;
|
|
1335
|
-
}[];
|
|
1336
|
-
Trigger: [{
|
|
1337
|
-
type: string;
|
|
1338
|
-
name: string;
|
|
1339
|
-
}, {
|
|
1340
|
-
type: string;
|
|
1341
|
-
name: string;
|
|
1342
|
-
}, {
|
|
1343
|
-
type: string;
|
|
1344
|
-
name: string;
|
|
1345
|
-
}, {
|
|
1346
|
-
type: string;
|
|
1347
|
-
name: string;
|
|
1348
|
-
}] | [{
|
|
1349
|
-
type: string;
|
|
1350
|
-
name: string;
|
|
1351
|
-
}, {
|
|
1352
|
-
type: string;
|
|
1353
|
-
name: string;
|
|
1354
|
-
}, {
|
|
1355
|
-
type: string;
|
|
1356
|
-
name: string;
|
|
1357
|
-
}, {
|
|
1358
|
-
type: string;
|
|
1359
|
-
name: string;
|
|
1360
|
-
}, {
|
|
1361
|
-
type: string;
|
|
561
|
+
type: TriggerType.Cron;
|
|
562
|
+
schedule: string;
|
|
563
|
+
delta: string;
|
|
564
|
+
endDate: number;
|
|
565
|
+
} | {
|
|
566
|
+
chainId: number;
|
|
567
|
+
type: TriggerType.Event;
|
|
568
|
+
contract: string;
|
|
569
|
+
delta: string;
|
|
570
|
+
event: string;
|
|
571
|
+
};
|
|
572
|
+
executionFeeLimit: string;
|
|
573
|
+
};
|
|
574
|
+
types: {
|
|
575
|
+
Config: [any, ...any[]];
|
|
576
|
+
Input: {
|
|
577
|
+
name: string;
|
|
578
|
+
type: string;
|
|
579
|
+
}[];
|
|
580
|
+
Trigger: [any, ...any[]];
|
|
581
|
+
};
|
|
582
|
+
}>;
|
|
583
|
+
export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
584
|
+
description: z.ZodString;
|
|
585
|
+
typedData: z.ZodObject<{
|
|
586
|
+
types: z.ZodObject<{
|
|
587
|
+
Input: z.ZodArray<z.ZodObject<{
|
|
588
|
+
name: z.ZodString;
|
|
589
|
+
type: z.ZodEffects<z.ZodString, string, string>;
|
|
590
|
+
}, "strict", z.ZodTypeAny, {
|
|
1362
591
|
name: string;
|
|
1363
|
-
}];
|
|
1364
|
-
Config: [{
|
|
1365
592
|
type: string;
|
|
1366
|
-
name: string;
|
|
1367
593
|
}, {
|
|
1368
|
-
type: string;
|
|
1369
594
|
name: string;
|
|
1370
|
-
}, {
|
|
1371
595
|
type: string;
|
|
596
|
+
}>, "many">;
|
|
597
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
598
|
+
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
599
|
+
}, "strict", z.ZodTypeAny, {
|
|
600
|
+
Config: [any, ...any[]];
|
|
601
|
+
Input: {
|
|
1372
602
|
name: string;
|
|
1373
|
-
}, {
|
|
1374
603
|
type: string;
|
|
1375
|
-
|
|
1376
|
-
|
|
604
|
+
}[];
|
|
605
|
+
Trigger: [any, ...any[]];
|
|
1377
606
|
}, {
|
|
607
|
+
Config: [any, ...any[]];
|
|
1378
608
|
Input: {
|
|
1379
|
-
type: string;
|
|
1380
|
-
name: string;
|
|
1381
|
-
}[];
|
|
1382
|
-
Trigger: [{
|
|
1383
|
-
type: string;
|
|
1384
|
-
name: string;
|
|
1385
|
-
}, {
|
|
1386
|
-
type: string;
|
|
1387
|
-
name: string;
|
|
1388
|
-
}, {
|
|
1389
|
-
type: string;
|
|
1390
|
-
name: string;
|
|
1391
|
-
}, {
|
|
1392
|
-
type: string;
|
|
1393
|
-
name: string;
|
|
1394
|
-
}] | [{
|
|
1395
|
-
type: string;
|
|
1396
|
-
name: string;
|
|
1397
|
-
}, {
|
|
1398
|
-
type: string;
|
|
1399
|
-
name: string;
|
|
1400
|
-
}, {
|
|
1401
|
-
type: string;
|
|
1402
|
-
name: string;
|
|
1403
|
-
}, {
|
|
1404
|
-
type: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
}, {
|
|
1407
|
-
type: string;
|
|
1408
|
-
name: string;
|
|
1409
|
-
}];
|
|
1410
|
-
Config: [{
|
|
1411
|
-
type: string;
|
|
1412
|
-
name: string;
|
|
1413
|
-
}, {
|
|
1414
|
-
type: string;
|
|
1415
609
|
name: string;
|
|
1416
|
-
}, {
|
|
1417
|
-
type: string;
|
|
1418
|
-
name: string;
|
|
1419
|
-
}, {
|
|
1420
610
|
type: string;
|
|
1421
|
-
|
|
1422
|
-
|
|
611
|
+
}[];
|
|
612
|
+
Trigger: [any, ...any[]];
|
|
1423
613
|
}>;
|
|
1424
614
|
values: z.ZodObject<{
|
|
1425
615
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1450,24 +640,25 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1450
640
|
endDate: z.ZodNumber;
|
|
1451
641
|
}, "strict", z.ZodTypeAny, {
|
|
1452
642
|
type: TriggerType.Cron;
|
|
643
|
+
schedule: string;
|
|
1453
644
|
delta: string;
|
|
1454
645
|
endDate: number;
|
|
1455
|
-
schedule: string;
|
|
1456
646
|
}, {
|
|
1457
647
|
type: TriggerType.Cron;
|
|
648
|
+
schedule: string;
|
|
1458
649
|
delta: string;
|
|
1459
650
|
endDate: number;
|
|
1460
|
-
schedule: string;
|
|
1461
651
|
}>]>;
|
|
652
|
+
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1462
653
|
}, "strict", z.ZodTypeAny, {
|
|
1463
|
-
taskCid: string;
|
|
1464
654
|
version: string;
|
|
655
|
+
taskCid: string;
|
|
1465
656
|
input: Record<string, unknown>;
|
|
1466
657
|
trigger: {
|
|
1467
658
|
type: TriggerType.Cron;
|
|
659
|
+
schedule: string;
|
|
1468
660
|
delta: string;
|
|
1469
661
|
endDate: number;
|
|
1470
|
-
schedule: string;
|
|
1471
662
|
} | {
|
|
1472
663
|
chainId: number;
|
|
1473
664
|
type: TriggerType.Event;
|
|
@@ -1475,15 +666,16 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1475
666
|
delta: string;
|
|
1476
667
|
event: string;
|
|
1477
668
|
};
|
|
669
|
+
executionFeeLimit: string;
|
|
1478
670
|
}, {
|
|
1479
|
-
taskCid: string;
|
|
1480
671
|
version: string;
|
|
672
|
+
taskCid: string;
|
|
1481
673
|
input: Record<string, unknown>;
|
|
1482
674
|
trigger: {
|
|
1483
675
|
type: TriggerType.Cron;
|
|
676
|
+
schedule: string;
|
|
1484
677
|
delta: string;
|
|
1485
678
|
endDate: number;
|
|
1486
|
-
schedule: string;
|
|
1487
679
|
} | {
|
|
1488
680
|
chainId: number;
|
|
1489
681
|
type: TriggerType.Event;
|
|
@@ -1491,17 +683,18 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1491
683
|
delta: string;
|
|
1492
684
|
event: string;
|
|
1493
685
|
};
|
|
686
|
+
executionFeeLimit: string;
|
|
1494
687
|
}>;
|
|
1495
688
|
}, "strip", z.ZodTypeAny, {
|
|
1496
689
|
values: {
|
|
1497
|
-
taskCid: string;
|
|
1498
690
|
version: string;
|
|
691
|
+
taskCid: string;
|
|
1499
692
|
input: Record<string, unknown>;
|
|
1500
693
|
trigger: {
|
|
1501
694
|
type: TriggerType.Cron;
|
|
695
|
+
schedule: string;
|
|
1502
696
|
delta: string;
|
|
1503
697
|
endDate: number;
|
|
1504
|
-
schedule: string;
|
|
1505
698
|
} | {
|
|
1506
699
|
chainId: number;
|
|
1507
700
|
type: TriggerType.Event;
|
|
@@ -1509,64 +702,26 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1509
702
|
delta: string;
|
|
1510
703
|
event: string;
|
|
1511
704
|
};
|
|
705
|
+
executionFeeLimit: string;
|
|
1512
706
|
};
|
|
1513
707
|
types: {
|
|
708
|
+
Config: [any, ...any[]];
|
|
1514
709
|
Input: {
|
|
1515
|
-
type: string;
|
|
1516
|
-
name: string;
|
|
1517
|
-
}[];
|
|
1518
|
-
Trigger: [{
|
|
1519
|
-
type: string;
|
|
1520
|
-
name: string;
|
|
1521
|
-
}, {
|
|
1522
|
-
type: string;
|
|
1523
|
-
name: string;
|
|
1524
|
-
}, {
|
|
1525
|
-
type: string;
|
|
1526
|
-
name: string;
|
|
1527
|
-
}, {
|
|
1528
|
-
type: string;
|
|
1529
|
-
name: string;
|
|
1530
|
-
}] | [{
|
|
1531
|
-
type: string;
|
|
1532
|
-
name: string;
|
|
1533
|
-
}, {
|
|
1534
|
-
type: string;
|
|
1535
|
-
name: string;
|
|
1536
|
-
}, {
|
|
1537
|
-
type: string;
|
|
1538
|
-
name: string;
|
|
1539
|
-
}, {
|
|
1540
|
-
type: string;
|
|
1541
|
-
name: string;
|
|
1542
|
-
}, {
|
|
1543
|
-
type: string;
|
|
1544
|
-
name: string;
|
|
1545
|
-
}];
|
|
1546
|
-
Config: [{
|
|
1547
|
-
type: string;
|
|
1548
|
-
name: string;
|
|
1549
|
-
}, {
|
|
1550
|
-
type: string;
|
|
1551
|
-
name: string;
|
|
1552
|
-
}, {
|
|
1553
|
-
type: string;
|
|
1554
710
|
name: string;
|
|
1555
|
-
}, {
|
|
1556
711
|
type: string;
|
|
1557
|
-
|
|
1558
|
-
|
|
712
|
+
}[];
|
|
713
|
+
Trigger: [any, ...any[]];
|
|
1559
714
|
};
|
|
1560
715
|
}, {
|
|
1561
716
|
values: {
|
|
1562
|
-
taskCid: string;
|
|
1563
717
|
version: string;
|
|
718
|
+
taskCid: string;
|
|
1564
719
|
input: Record<string, unknown>;
|
|
1565
720
|
trigger: {
|
|
1566
721
|
type: TriggerType.Cron;
|
|
722
|
+
schedule: string;
|
|
1567
723
|
delta: string;
|
|
1568
724
|
endDate: number;
|
|
1569
|
-
schedule: string;
|
|
1570
725
|
} | {
|
|
1571
726
|
chainId: number;
|
|
1572
727
|
type: TriggerType.Event;
|
|
@@ -1574,53 +729,15 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1574
729
|
delta: string;
|
|
1575
730
|
event: string;
|
|
1576
731
|
};
|
|
732
|
+
executionFeeLimit: string;
|
|
1577
733
|
};
|
|
1578
734
|
types: {
|
|
735
|
+
Config: [any, ...any[]];
|
|
1579
736
|
Input: {
|
|
1580
|
-
type: string;
|
|
1581
|
-
name: string;
|
|
1582
|
-
}[];
|
|
1583
|
-
Trigger: [{
|
|
1584
|
-
type: string;
|
|
1585
|
-
name: string;
|
|
1586
|
-
}, {
|
|
1587
|
-
type: string;
|
|
1588
|
-
name: string;
|
|
1589
|
-
}, {
|
|
1590
|
-
type: string;
|
|
1591
|
-
name: string;
|
|
1592
|
-
}, {
|
|
1593
|
-
type: string;
|
|
1594
|
-
name: string;
|
|
1595
|
-
}] | [{
|
|
1596
|
-
type: string;
|
|
1597
|
-
name: string;
|
|
1598
|
-
}, {
|
|
1599
|
-
type: string;
|
|
1600
|
-
name: string;
|
|
1601
|
-
}, {
|
|
1602
|
-
type: string;
|
|
1603
|
-
name: string;
|
|
1604
|
-
}, {
|
|
1605
|
-
type: string;
|
|
1606
|
-
name: string;
|
|
1607
|
-
}, {
|
|
1608
|
-
type: string;
|
|
1609
|
-
name: string;
|
|
1610
|
-
}];
|
|
1611
|
-
Config: [{
|
|
1612
|
-
type: string;
|
|
1613
|
-
name: string;
|
|
1614
|
-
}, {
|
|
1615
|
-
type: string;
|
|
1616
737
|
name: string;
|
|
1617
|
-
}, {
|
|
1618
|
-
type: string;
|
|
1619
|
-
name: string;
|
|
1620
|
-
}, {
|
|
1621
738
|
type: string;
|
|
1622
|
-
|
|
1623
|
-
|
|
739
|
+
}[];
|
|
740
|
+
Trigger: [any, ...any[]];
|
|
1624
741
|
};
|
|
1625
742
|
}>;
|
|
1626
743
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1629,14 +746,14 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1629
746
|
description: string;
|
|
1630
747
|
typedData: {
|
|
1631
748
|
values: {
|
|
1632
|
-
taskCid: string;
|
|
1633
749
|
version: string;
|
|
750
|
+
taskCid: string;
|
|
1634
751
|
input: Record<string, unknown>;
|
|
1635
752
|
trigger: {
|
|
1636
753
|
type: TriggerType.Cron;
|
|
754
|
+
schedule: string;
|
|
1637
755
|
delta: string;
|
|
1638
756
|
endDate: number;
|
|
1639
|
-
schedule: string;
|
|
1640
757
|
} | {
|
|
1641
758
|
chainId: number;
|
|
1642
759
|
type: TriggerType.Event;
|
|
@@ -1644,53 +761,15 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1644
761
|
delta: string;
|
|
1645
762
|
event: string;
|
|
1646
763
|
};
|
|
764
|
+
executionFeeLimit: string;
|
|
1647
765
|
};
|
|
1648
766
|
types: {
|
|
767
|
+
Config: [any, ...any[]];
|
|
1649
768
|
Input: {
|
|
1650
|
-
type: string;
|
|
1651
|
-
name: string;
|
|
1652
|
-
}[];
|
|
1653
|
-
Trigger: [{
|
|
1654
|
-
type: string;
|
|
1655
|
-
name: string;
|
|
1656
|
-
}, {
|
|
1657
|
-
type: string;
|
|
1658
|
-
name: string;
|
|
1659
|
-
}, {
|
|
1660
|
-
type: string;
|
|
1661
|
-
name: string;
|
|
1662
|
-
}, {
|
|
1663
|
-
type: string;
|
|
1664
|
-
name: string;
|
|
1665
|
-
}] | [{
|
|
1666
|
-
type: string;
|
|
1667
|
-
name: string;
|
|
1668
|
-
}, {
|
|
1669
|
-
type: string;
|
|
1670
769
|
name: string;
|
|
1671
|
-
}, {
|
|
1672
|
-
type: string;
|
|
1673
|
-
name: string;
|
|
1674
|
-
}, {
|
|
1675
|
-
type: string;
|
|
1676
|
-
name: string;
|
|
1677
|
-
}, {
|
|
1678
|
-
type: string;
|
|
1679
|
-
name: string;
|
|
1680
|
-
}];
|
|
1681
|
-
Config: [{
|
|
1682
|
-
type: string;
|
|
1683
|
-
name: string;
|
|
1684
|
-
}, {
|
|
1685
|
-
type: string;
|
|
1686
|
-
name: string;
|
|
1687
|
-
}, {
|
|
1688
|
-
type: string;
|
|
1689
|
-
name: string;
|
|
1690
|
-
}, {
|
|
1691
770
|
type: string;
|
|
1692
|
-
|
|
1693
|
-
|
|
771
|
+
}[];
|
|
772
|
+
Trigger: [any, ...any[]];
|
|
1694
773
|
};
|
|
1695
774
|
};
|
|
1696
775
|
sig: string;
|
|
@@ -1699,68 +778,30 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
1699
778
|
description: string;
|
|
1700
779
|
typedData: {
|
|
1701
780
|
values: {
|
|
1702
|
-
taskCid: string;
|
|
1703
781
|
version: string;
|
|
782
|
+
taskCid: string;
|
|
1704
783
|
input: Record<string, unknown>;
|
|
1705
784
|
trigger: {
|
|
1706
785
|
type: TriggerType.Cron;
|
|
786
|
+
schedule: string;
|
|
1707
787
|
delta: string;
|
|
1708
788
|
endDate: number;
|
|
1709
|
-
schedule: string;
|
|
1710
789
|
} | {
|
|
1711
790
|
chainId: number;
|
|
1712
791
|
type: TriggerType.Event;
|
|
1713
792
|
contract: string;
|
|
1714
793
|
delta: string;
|
|
1715
|
-
event: string;
|
|
1716
|
-
};
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
}[];
|
|
1723
|
-
Trigger: [{
|
|
1724
|
-
type: string;
|
|
1725
|
-
name: string;
|
|
1726
|
-
}, {
|
|
1727
|
-
type: string;
|
|
1728
|
-
name: string;
|
|
1729
|
-
}, {
|
|
1730
|
-
type: string;
|
|
1731
|
-
name: string;
|
|
1732
|
-
}, {
|
|
1733
|
-
type: string;
|
|
1734
|
-
name: string;
|
|
1735
|
-
}] | [{
|
|
1736
|
-
type: string;
|
|
1737
|
-
name: string;
|
|
1738
|
-
}, {
|
|
1739
|
-
type: string;
|
|
1740
|
-
name: string;
|
|
1741
|
-
}, {
|
|
1742
|
-
type: string;
|
|
1743
|
-
name: string;
|
|
1744
|
-
}, {
|
|
1745
|
-
type: string;
|
|
1746
|
-
name: string;
|
|
1747
|
-
}, {
|
|
1748
|
-
type: string;
|
|
1749
|
-
name: string;
|
|
1750
|
-
}];
|
|
1751
|
-
Config: [{
|
|
1752
|
-
type: string;
|
|
1753
|
-
name: string;
|
|
1754
|
-
}, {
|
|
1755
|
-
type: string;
|
|
1756
|
-
name: string;
|
|
1757
|
-
}, {
|
|
1758
|
-
type: string;
|
|
794
|
+
event: string;
|
|
795
|
+
};
|
|
796
|
+
executionFeeLimit: string;
|
|
797
|
+
};
|
|
798
|
+
types: {
|
|
799
|
+
Config: [any, ...any[]];
|
|
800
|
+
Input: {
|
|
1759
801
|
name: string;
|
|
1760
|
-
}, {
|
|
1761
802
|
type: string;
|
|
1762
|
-
|
|
1763
|
-
|
|
803
|
+
}[];
|
|
804
|
+
Trigger: [any, ...any[]];
|
|
1764
805
|
};
|
|
1765
806
|
};
|
|
1766
807
|
sig: string;
|
|
@@ -1831,249 +872,55 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
1831
872
|
endDate: z.ZodNumber;
|
|
1832
873
|
}, "strict", z.ZodTypeAny, {
|
|
1833
874
|
type: TriggerType.Cron;
|
|
875
|
+
schedule: string;
|
|
1834
876
|
delta: string;
|
|
1835
877
|
endDate: number;
|
|
1836
|
-
schedule: string;
|
|
1837
878
|
}, {
|
|
1838
879
|
type: TriggerType.Cron;
|
|
880
|
+
schedule: string;
|
|
1839
881
|
delta: string;
|
|
1840
882
|
endDate: number;
|
|
1841
|
-
schedule: string;
|
|
1842
883
|
}>]>;
|
|
884
|
+
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1843
885
|
types: z.ZodObject<{
|
|
1844
886
|
Input: z.ZodArray<z.ZodObject<{
|
|
1845
887
|
name: z.ZodString;
|
|
1846
888
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
1847
889
|
}, "strict", z.ZodTypeAny, {
|
|
1848
|
-
type: string;
|
|
1849
|
-
name: string;
|
|
1850
|
-
}, {
|
|
1851
|
-
type: string;
|
|
1852
|
-
name: string;
|
|
1853
|
-
}>, "many">;
|
|
1854
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
1855
|
-
name: z.ZodLiteral<string>;
|
|
1856
|
-
type: z.ZodLiteral<string>;
|
|
1857
|
-
}, "strip", z.ZodTypeAny, {
|
|
1858
|
-
type: string;
|
|
1859
|
-
name: string;
|
|
1860
|
-
}, {
|
|
1861
|
-
type: string;
|
|
1862
|
-
name: string;
|
|
1863
|
-
}>, z.ZodObject<{
|
|
1864
|
-
name: z.ZodLiteral<string>;
|
|
1865
|
-
type: z.ZodLiteral<string>;
|
|
1866
|
-
}, "strip", z.ZodTypeAny, {
|
|
1867
|
-
type: string;
|
|
1868
|
-
name: string;
|
|
1869
|
-
}, {
|
|
1870
|
-
type: string;
|
|
1871
|
-
name: string;
|
|
1872
|
-
}>, z.ZodObject<{
|
|
1873
|
-
name: z.ZodLiteral<string>;
|
|
1874
|
-
type: z.ZodLiteral<string>;
|
|
1875
|
-
}, "strip", z.ZodTypeAny, {
|
|
1876
|
-
type: string;
|
|
1877
|
-
name: string;
|
|
1878
|
-
}, {
|
|
1879
|
-
type: string;
|
|
1880
|
-
name: string;
|
|
1881
|
-
}>, z.ZodObject<{
|
|
1882
|
-
name: z.ZodLiteral<string>;
|
|
1883
|
-
type: z.ZodLiteral<string>;
|
|
1884
|
-
}, "strip", z.ZodTypeAny, {
|
|
1885
|
-
type: string;
|
|
1886
|
-
name: string;
|
|
1887
|
-
}, {
|
|
1888
|
-
type: string;
|
|
1889
|
-
name: string;
|
|
1890
|
-
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
1891
|
-
name: z.ZodLiteral<string>;
|
|
1892
|
-
type: z.ZodLiteral<string>;
|
|
1893
|
-
}, "strip", z.ZodTypeAny, {
|
|
1894
|
-
type: string;
|
|
1895
|
-
name: string;
|
|
1896
|
-
}, {
|
|
1897
|
-
type: string;
|
|
1898
|
-
name: string;
|
|
1899
|
-
}>, z.ZodObject<{
|
|
1900
|
-
name: z.ZodLiteral<string>;
|
|
1901
|
-
type: z.ZodLiteral<string>;
|
|
1902
|
-
}, "strip", z.ZodTypeAny, {
|
|
1903
|
-
type: string;
|
|
1904
|
-
name: string;
|
|
1905
|
-
}, {
|
|
1906
|
-
type: string;
|
|
1907
|
-
name: string;
|
|
1908
|
-
}>, z.ZodObject<{
|
|
1909
|
-
name: z.ZodLiteral<string>;
|
|
1910
|
-
type: z.ZodLiteral<string>;
|
|
1911
|
-
}, "strip", z.ZodTypeAny, {
|
|
1912
|
-
type: string;
|
|
1913
|
-
name: string;
|
|
1914
|
-
}, {
|
|
1915
|
-
type: string;
|
|
1916
|
-
name: string;
|
|
1917
|
-
}>, z.ZodObject<{
|
|
1918
|
-
name: z.ZodLiteral<string>;
|
|
1919
|
-
type: z.ZodLiteral<string>;
|
|
1920
|
-
}, "strip", z.ZodTypeAny, {
|
|
1921
|
-
type: string;
|
|
1922
|
-
name: string;
|
|
1923
|
-
}, {
|
|
1924
|
-
type: string;
|
|
1925
|
-
name: string;
|
|
1926
|
-
}>, z.ZodObject<{
|
|
1927
|
-
name: z.ZodLiteral<string>;
|
|
1928
|
-
type: z.ZodLiteral<string>;
|
|
1929
|
-
}, "strip", z.ZodTypeAny, {
|
|
1930
|
-
type: string;
|
|
1931
|
-
name: string;
|
|
1932
|
-
}, {
|
|
1933
|
-
type: string;
|
|
1934
|
-
name: string;
|
|
1935
|
-
}>], null>]>;
|
|
1936
|
-
Config: z.ZodTuple<[z.ZodObject<{
|
|
1937
|
-
name: z.ZodLiteral<string>;
|
|
1938
|
-
type: z.ZodLiteral<string>;
|
|
1939
|
-
}, "strip", z.ZodTypeAny, {
|
|
1940
|
-
type: string;
|
|
1941
|
-
name: string;
|
|
1942
|
-
}, {
|
|
1943
|
-
type: string;
|
|
1944
|
-
name: string;
|
|
1945
|
-
}>, z.ZodObject<{
|
|
1946
|
-
name: z.ZodLiteral<string>;
|
|
1947
|
-
type: z.ZodLiteral<string>;
|
|
1948
|
-
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
type: string;
|
|
1950
|
-
name: string;
|
|
1951
|
-
}, {
|
|
1952
|
-
type: string;
|
|
1953
890
|
name: string;
|
|
1954
|
-
}>, z.ZodObject<{
|
|
1955
|
-
name: z.ZodLiteral<string>;
|
|
1956
|
-
type: z.ZodLiteral<string>;
|
|
1957
|
-
}, "strip", z.ZodTypeAny, {
|
|
1958
891
|
type: string;
|
|
1959
|
-
name: string;
|
|
1960
892
|
}, {
|
|
1961
|
-
type: string;
|
|
1962
|
-
name: string;
|
|
1963
|
-
}>, z.ZodObject<{
|
|
1964
|
-
name: z.ZodLiteral<string>;
|
|
1965
|
-
type: z.ZodLiteral<string>;
|
|
1966
|
-
}, "strip", z.ZodTypeAny, {
|
|
1967
|
-
type: string;
|
|
1968
893
|
name: string;
|
|
1969
|
-
}, {
|
|
1970
894
|
type: string;
|
|
1971
|
-
|
|
1972
|
-
|
|
895
|
+
}>, "many">;
|
|
896
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
897
|
+
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1973
898
|
}, "strict", z.ZodTypeAny, {
|
|
899
|
+
Config: [any, ...any[]];
|
|
1974
900
|
Input: {
|
|
1975
|
-
type: string;
|
|
1976
|
-
name: string;
|
|
1977
|
-
}[];
|
|
1978
|
-
Trigger: [{
|
|
1979
|
-
type: string;
|
|
1980
|
-
name: string;
|
|
1981
|
-
}, {
|
|
1982
|
-
type: string;
|
|
1983
901
|
name: string;
|
|
1984
|
-
}, {
|
|
1985
|
-
type: string;
|
|
1986
|
-
name: string;
|
|
1987
|
-
}, {
|
|
1988
|
-
type: string;
|
|
1989
|
-
name: string;
|
|
1990
|
-
}] | [{
|
|
1991
|
-
type: string;
|
|
1992
|
-
name: string;
|
|
1993
|
-
}, {
|
|
1994
|
-
type: string;
|
|
1995
|
-
name: string;
|
|
1996
|
-
}, {
|
|
1997
|
-
type: string;
|
|
1998
|
-
name: string;
|
|
1999
|
-
}, {
|
|
2000
|
-
type: string;
|
|
2001
|
-
name: string;
|
|
2002
|
-
}, {
|
|
2003
|
-
type: string;
|
|
2004
|
-
name: string;
|
|
2005
|
-
}];
|
|
2006
|
-
Config: [{
|
|
2007
|
-
type: string;
|
|
2008
|
-
name: string;
|
|
2009
|
-
}, {
|
|
2010
|
-
type: string;
|
|
2011
|
-
name: string;
|
|
2012
|
-
}, {
|
|
2013
|
-
type: string;
|
|
2014
|
-
name: string;
|
|
2015
|
-
}, {
|
|
2016
902
|
type: string;
|
|
2017
|
-
|
|
2018
|
-
|
|
903
|
+
}[];
|
|
904
|
+
Trigger: [any, ...any[]];
|
|
2019
905
|
}, {
|
|
906
|
+
Config: [any, ...any[]];
|
|
2020
907
|
Input: {
|
|
2021
|
-
type: string;
|
|
2022
908
|
name: string;
|
|
2023
|
-
}[];
|
|
2024
|
-
Trigger: [{
|
|
2025
|
-
type: string;
|
|
2026
|
-
name: string;
|
|
2027
|
-
}, {
|
|
2028
|
-
type: string;
|
|
2029
|
-
name: string;
|
|
2030
|
-
}, {
|
|
2031
|
-
type: string;
|
|
2032
|
-
name: string;
|
|
2033
|
-
}, {
|
|
2034
|
-
type: string;
|
|
2035
|
-
name: string;
|
|
2036
|
-
}] | [{
|
|
2037
|
-
type: string;
|
|
2038
|
-
name: string;
|
|
2039
|
-
}, {
|
|
2040
|
-
type: string;
|
|
2041
|
-
name: string;
|
|
2042
|
-
}, {
|
|
2043
|
-
type: string;
|
|
2044
|
-
name: string;
|
|
2045
|
-
}, {
|
|
2046
|
-
type: string;
|
|
2047
|
-
name: string;
|
|
2048
|
-
}, {
|
|
2049
|
-
type: string;
|
|
2050
|
-
name: string;
|
|
2051
|
-
}];
|
|
2052
|
-
Config: [{
|
|
2053
|
-
type: string;
|
|
2054
|
-
name: string;
|
|
2055
|
-
}, {
|
|
2056
|
-
type: string;
|
|
2057
|
-
name: string;
|
|
2058
|
-
}, {
|
|
2059
909
|
type: string;
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
type: string;
|
|
2063
|
-
name: string;
|
|
2064
|
-
}];
|
|
910
|
+
}[];
|
|
911
|
+
Trigger: [any, ...any[]];
|
|
2065
912
|
}>;
|
|
2066
913
|
}, "strip", z.ZodTypeAny, {
|
|
2067
914
|
createdAt: Date;
|
|
915
|
+
version: string;
|
|
2068
916
|
description: string;
|
|
2069
917
|
taskCid: string;
|
|
2070
|
-
version: string;
|
|
2071
918
|
input: Record<string, unknown>;
|
|
2072
919
|
trigger: {
|
|
2073
920
|
type: TriggerType.Cron;
|
|
921
|
+
schedule: string;
|
|
2074
922
|
delta: string;
|
|
2075
923
|
endDate: number;
|
|
2076
|
-
schedule: string;
|
|
2077
924
|
} | {
|
|
2078
925
|
chainId: number;
|
|
2079
926
|
type: TriggerType.Event;
|
|
@@ -2081,120 +928,44 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
2081
928
|
delta: string;
|
|
2082
929
|
event: string;
|
|
2083
930
|
};
|
|
931
|
+
executionFeeLimit: string;
|
|
2084
932
|
types: {
|
|
933
|
+
Config: [any, ...any[]];
|
|
2085
934
|
Input: {
|
|
2086
|
-
type: string;
|
|
2087
|
-
name: string;
|
|
2088
|
-
}[];
|
|
2089
|
-
Trigger: [{
|
|
2090
|
-
type: string;
|
|
2091
|
-
name: string;
|
|
2092
|
-
}, {
|
|
2093
|
-
type: string;
|
|
2094
|
-
name: string;
|
|
2095
|
-
}, {
|
|
2096
|
-
type: string;
|
|
2097
|
-
name: string;
|
|
2098
|
-
}, {
|
|
2099
|
-
type: string;
|
|
2100
|
-
name: string;
|
|
2101
|
-
}] | [{
|
|
2102
|
-
type: string;
|
|
2103
|
-
name: string;
|
|
2104
|
-
}, {
|
|
2105
|
-
type: string;
|
|
2106
|
-
name: string;
|
|
2107
|
-
}, {
|
|
2108
|
-
type: string;
|
|
2109
|
-
name: string;
|
|
2110
|
-
}, {
|
|
2111
|
-
type: string;
|
|
2112
|
-
name: string;
|
|
2113
|
-
}, {
|
|
2114
|
-
type: string;
|
|
2115
|
-
name: string;
|
|
2116
|
-
}];
|
|
2117
|
-
Config: [{
|
|
2118
|
-
type: string;
|
|
2119
|
-
name: string;
|
|
2120
|
-
}, {
|
|
2121
|
-
type: string;
|
|
2122
|
-
name: string;
|
|
2123
|
-
}, {
|
|
2124
|
-
type: string;
|
|
2125
935
|
name: string;
|
|
2126
|
-
}, {
|
|
2127
936
|
type: string;
|
|
2128
|
-
|
|
2129
|
-
|
|
937
|
+
}[];
|
|
938
|
+
Trigger: [any, ...any[]];
|
|
2130
939
|
};
|
|
2131
940
|
sig: string;
|
|
2132
941
|
signer: string;
|
|
2133
942
|
active: boolean;
|
|
2134
943
|
}, {
|
|
2135
944
|
createdAt: Date;
|
|
945
|
+
version: string;
|
|
2136
946
|
description: string;
|
|
2137
947
|
taskCid: string;
|
|
2138
|
-
version: string;
|
|
2139
948
|
input: Record<string, unknown>;
|
|
2140
949
|
trigger: {
|
|
2141
950
|
type: TriggerType.Cron;
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
} | {
|
|
2146
|
-
chainId: number;
|
|
2147
|
-
type: TriggerType.Event;
|
|
2148
|
-
contract: string;
|
|
2149
|
-
delta: string;
|
|
2150
|
-
event: string;
|
|
2151
|
-
};
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
}[];
|
|
2157
|
-
Trigger: [{
|
|
2158
|
-
type: string;
|
|
2159
|
-
name: string;
|
|
2160
|
-
}, {
|
|
2161
|
-
type: string;
|
|
2162
|
-
name: string;
|
|
2163
|
-
}, {
|
|
2164
|
-
type: string;
|
|
2165
|
-
name: string;
|
|
2166
|
-
}, {
|
|
2167
|
-
type: string;
|
|
2168
|
-
name: string;
|
|
2169
|
-
}] | [{
|
|
2170
|
-
type: string;
|
|
2171
|
-
name: string;
|
|
2172
|
-
}, {
|
|
2173
|
-
type: string;
|
|
2174
|
-
name: string;
|
|
2175
|
-
}, {
|
|
2176
|
-
type: string;
|
|
2177
|
-
name: string;
|
|
2178
|
-
}, {
|
|
2179
|
-
type: string;
|
|
2180
|
-
name: string;
|
|
2181
|
-
}, {
|
|
2182
|
-
type: string;
|
|
2183
|
-
name: string;
|
|
2184
|
-
}];
|
|
2185
|
-
Config: [{
|
|
2186
|
-
type: string;
|
|
2187
|
-
name: string;
|
|
2188
|
-
}, {
|
|
2189
|
-
type: string;
|
|
2190
|
-
name: string;
|
|
2191
|
-
}, {
|
|
2192
|
-
type: string;
|
|
951
|
+
schedule: string;
|
|
952
|
+
delta: string;
|
|
953
|
+
endDate: number;
|
|
954
|
+
} | {
|
|
955
|
+
chainId: number;
|
|
956
|
+
type: TriggerType.Event;
|
|
957
|
+
contract: string;
|
|
958
|
+
delta: string;
|
|
959
|
+
event: string;
|
|
960
|
+
};
|
|
961
|
+
executionFeeLimit: string;
|
|
962
|
+
types: {
|
|
963
|
+
Config: [any, ...any[]];
|
|
964
|
+
Input: {
|
|
2193
965
|
name: string;
|
|
2194
|
-
}, {
|
|
2195
966
|
type: string;
|
|
2196
|
-
|
|
2197
|
-
|
|
967
|
+
}[];
|
|
968
|
+
Trigger: [any, ...any[]];
|
|
2198
969
|
};
|
|
2199
970
|
sig: string;
|
|
2200
971
|
signer: string;
|
|
@@ -2234,249 +1005,55 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
2234
1005
|
endDate: z.ZodNumber;
|
|
2235
1006
|
}, "strict", z.ZodTypeAny, {
|
|
2236
1007
|
type: TriggerType.Cron;
|
|
1008
|
+
schedule: string;
|
|
2237
1009
|
delta: string;
|
|
2238
1010
|
endDate: number;
|
|
2239
|
-
schedule: string;
|
|
2240
1011
|
}, {
|
|
2241
1012
|
type: TriggerType.Cron;
|
|
1013
|
+
schedule: string;
|
|
2242
1014
|
delta: string;
|
|
2243
1015
|
endDate: number;
|
|
2244
|
-
schedule: string;
|
|
2245
1016
|
}>]>;
|
|
1017
|
+
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
2246
1018
|
types: z.ZodObject<{
|
|
2247
1019
|
Input: z.ZodArray<z.ZodObject<{
|
|
2248
1020
|
name: z.ZodString;
|
|
2249
1021
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
2250
1022
|
}, "strict", z.ZodTypeAny, {
|
|
2251
|
-
type: string;
|
|
2252
|
-
name: string;
|
|
2253
|
-
}, {
|
|
2254
|
-
type: string;
|
|
2255
|
-
name: string;
|
|
2256
|
-
}>, "many">;
|
|
2257
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodObject<{
|
|
2258
|
-
name: z.ZodLiteral<string>;
|
|
2259
|
-
type: z.ZodLiteral<string>;
|
|
2260
|
-
}, "strip", z.ZodTypeAny, {
|
|
2261
|
-
type: string;
|
|
2262
|
-
name: string;
|
|
2263
|
-
}, {
|
|
2264
|
-
type: string;
|
|
2265
|
-
name: string;
|
|
2266
|
-
}>, z.ZodObject<{
|
|
2267
|
-
name: z.ZodLiteral<string>;
|
|
2268
|
-
type: z.ZodLiteral<string>;
|
|
2269
|
-
}, "strip", z.ZodTypeAny, {
|
|
2270
|
-
type: string;
|
|
2271
|
-
name: string;
|
|
2272
|
-
}, {
|
|
2273
|
-
type: string;
|
|
2274
|
-
name: string;
|
|
2275
|
-
}>, z.ZodObject<{
|
|
2276
|
-
name: z.ZodLiteral<string>;
|
|
2277
|
-
type: z.ZodLiteral<string>;
|
|
2278
|
-
}, "strip", z.ZodTypeAny, {
|
|
2279
|
-
type: string;
|
|
2280
|
-
name: string;
|
|
2281
|
-
}, {
|
|
2282
|
-
type: string;
|
|
2283
|
-
name: string;
|
|
2284
|
-
}>, z.ZodObject<{
|
|
2285
|
-
name: z.ZodLiteral<string>;
|
|
2286
|
-
type: z.ZodLiteral<string>;
|
|
2287
|
-
}, "strip", z.ZodTypeAny, {
|
|
2288
|
-
type: string;
|
|
2289
|
-
name: string;
|
|
2290
|
-
}, {
|
|
2291
|
-
type: string;
|
|
2292
|
-
name: string;
|
|
2293
|
-
}>], null>, z.ZodTuple<[z.ZodObject<{
|
|
2294
|
-
name: z.ZodLiteral<string>;
|
|
2295
|
-
type: z.ZodLiteral<string>;
|
|
2296
|
-
}, "strip", z.ZodTypeAny, {
|
|
2297
|
-
type: string;
|
|
2298
|
-
name: string;
|
|
2299
|
-
}, {
|
|
2300
|
-
type: string;
|
|
2301
|
-
name: string;
|
|
2302
|
-
}>, z.ZodObject<{
|
|
2303
|
-
name: z.ZodLiteral<string>;
|
|
2304
|
-
type: z.ZodLiteral<string>;
|
|
2305
|
-
}, "strip", z.ZodTypeAny, {
|
|
2306
|
-
type: string;
|
|
2307
|
-
name: string;
|
|
2308
|
-
}, {
|
|
2309
|
-
type: string;
|
|
2310
|
-
name: string;
|
|
2311
|
-
}>, z.ZodObject<{
|
|
2312
|
-
name: z.ZodLiteral<string>;
|
|
2313
|
-
type: z.ZodLiteral<string>;
|
|
2314
|
-
}, "strip", z.ZodTypeAny, {
|
|
2315
|
-
type: string;
|
|
2316
|
-
name: string;
|
|
2317
|
-
}, {
|
|
2318
|
-
type: string;
|
|
2319
1023
|
name: string;
|
|
2320
|
-
}>, z.ZodObject<{
|
|
2321
|
-
name: z.ZodLiteral<string>;
|
|
2322
|
-
type: z.ZodLiteral<string>;
|
|
2323
|
-
}, "strip", z.ZodTypeAny, {
|
|
2324
|
-
type: string;
|
|
2325
|
-
name: string;
|
|
2326
|
-
}, {
|
|
2327
|
-
type: string;
|
|
2328
|
-
name: string;
|
|
2329
|
-
}>, z.ZodObject<{
|
|
2330
|
-
name: z.ZodLiteral<string>;
|
|
2331
|
-
type: z.ZodLiteral<string>;
|
|
2332
|
-
}, "strip", z.ZodTypeAny, {
|
|
2333
|
-
type: string;
|
|
2334
|
-
name: string;
|
|
2335
|
-
}, {
|
|
2336
|
-
type: string;
|
|
2337
|
-
name: string;
|
|
2338
|
-
}>], null>]>;
|
|
2339
|
-
Config: z.ZodTuple<[z.ZodObject<{
|
|
2340
|
-
name: z.ZodLiteral<string>;
|
|
2341
|
-
type: z.ZodLiteral<string>;
|
|
2342
|
-
}, "strip", z.ZodTypeAny, {
|
|
2343
|
-
type: string;
|
|
2344
|
-
name: string;
|
|
2345
|
-
}, {
|
|
2346
|
-
type: string;
|
|
2347
|
-
name: string;
|
|
2348
|
-
}>, z.ZodObject<{
|
|
2349
|
-
name: z.ZodLiteral<string>;
|
|
2350
|
-
type: z.ZodLiteral<string>;
|
|
2351
|
-
}, "strip", z.ZodTypeAny, {
|
|
2352
|
-
type: string;
|
|
2353
|
-
name: string;
|
|
2354
|
-
}, {
|
|
2355
|
-
type: string;
|
|
2356
|
-
name: string;
|
|
2357
|
-
}>, z.ZodObject<{
|
|
2358
|
-
name: z.ZodLiteral<string>;
|
|
2359
|
-
type: z.ZodLiteral<string>;
|
|
2360
|
-
}, "strip", z.ZodTypeAny, {
|
|
2361
1024
|
type: string;
|
|
2362
|
-
name: string;
|
|
2363
1025
|
}, {
|
|
2364
|
-
type: string;
|
|
2365
|
-
name: string;
|
|
2366
|
-
}>, z.ZodObject<{
|
|
2367
|
-
name: z.ZodLiteral<string>;
|
|
2368
|
-
type: z.ZodLiteral<string>;
|
|
2369
|
-
}, "strip", z.ZodTypeAny, {
|
|
2370
|
-
type: string;
|
|
2371
1026
|
name: string;
|
|
2372
|
-
}, {
|
|
2373
1027
|
type: string;
|
|
2374
|
-
|
|
2375
|
-
|
|
1028
|
+
}>, "many">;
|
|
1029
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1030
|
+
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
2376
1031
|
}, "strict", z.ZodTypeAny, {
|
|
1032
|
+
Config: [any, ...any[]];
|
|
2377
1033
|
Input: {
|
|
2378
|
-
type: string;
|
|
2379
|
-
name: string;
|
|
2380
|
-
}[];
|
|
2381
|
-
Trigger: [{
|
|
2382
|
-
type: string;
|
|
2383
|
-
name: string;
|
|
2384
|
-
}, {
|
|
2385
|
-
type: string;
|
|
2386
|
-
name: string;
|
|
2387
|
-
}, {
|
|
2388
|
-
type: string;
|
|
2389
|
-
name: string;
|
|
2390
|
-
}, {
|
|
2391
|
-
type: string;
|
|
2392
|
-
name: string;
|
|
2393
|
-
}] | [{
|
|
2394
|
-
type: string;
|
|
2395
|
-
name: string;
|
|
2396
|
-
}, {
|
|
2397
|
-
type: string;
|
|
2398
|
-
name: string;
|
|
2399
|
-
}, {
|
|
2400
|
-
type: string;
|
|
2401
|
-
name: string;
|
|
2402
|
-
}, {
|
|
2403
|
-
type: string;
|
|
2404
|
-
name: string;
|
|
2405
|
-
}, {
|
|
2406
|
-
type: string;
|
|
2407
|
-
name: string;
|
|
2408
|
-
}];
|
|
2409
|
-
Config: [{
|
|
2410
|
-
type: string;
|
|
2411
|
-
name: string;
|
|
2412
|
-
}, {
|
|
2413
|
-
type: string;
|
|
2414
1034
|
name: string;
|
|
2415
|
-
}, {
|
|
2416
|
-
type: string;
|
|
2417
|
-
name: string;
|
|
2418
|
-
}, {
|
|
2419
1035
|
type: string;
|
|
2420
|
-
|
|
2421
|
-
|
|
1036
|
+
}[];
|
|
1037
|
+
Trigger: [any, ...any[]];
|
|
2422
1038
|
}, {
|
|
1039
|
+
Config: [any, ...any[]];
|
|
2423
1040
|
Input: {
|
|
2424
|
-
type: string;
|
|
2425
|
-
name: string;
|
|
2426
|
-
}[];
|
|
2427
|
-
Trigger: [{
|
|
2428
|
-
type: string;
|
|
2429
|
-
name: string;
|
|
2430
|
-
}, {
|
|
2431
|
-
type: string;
|
|
2432
|
-
name: string;
|
|
2433
|
-
}, {
|
|
2434
|
-
type: string;
|
|
2435
|
-
name: string;
|
|
2436
|
-
}, {
|
|
2437
|
-
type: string;
|
|
2438
|
-
name: string;
|
|
2439
|
-
}] | [{
|
|
2440
|
-
type: string;
|
|
2441
|
-
name: string;
|
|
2442
|
-
}, {
|
|
2443
|
-
type: string;
|
|
2444
|
-
name: string;
|
|
2445
|
-
}, {
|
|
2446
|
-
type: string;
|
|
2447
|
-
name: string;
|
|
2448
|
-
}, {
|
|
2449
|
-
type: string;
|
|
2450
|
-
name: string;
|
|
2451
|
-
}, {
|
|
2452
|
-
type: string;
|
|
2453
|
-
name: string;
|
|
2454
|
-
}];
|
|
2455
|
-
Config: [{
|
|
2456
|
-
type: string;
|
|
2457
|
-
name: string;
|
|
2458
|
-
}, {
|
|
2459
|
-
type: string;
|
|
2460
|
-
name: string;
|
|
2461
|
-
}, {
|
|
2462
|
-
type: string;
|
|
2463
1041
|
name: string;
|
|
2464
|
-
}, {
|
|
2465
1042
|
type: string;
|
|
2466
|
-
|
|
2467
|
-
|
|
1043
|
+
}[];
|
|
1044
|
+
Trigger: [any, ...any[]];
|
|
2468
1045
|
}>;
|
|
2469
1046
|
}, "strip", z.ZodTypeAny, {
|
|
2470
1047
|
createdAt: Date;
|
|
1048
|
+
version: string;
|
|
2471
1049
|
description: string;
|
|
2472
1050
|
taskCid: string;
|
|
2473
|
-
version: string;
|
|
2474
1051
|
input: Record<string, unknown>;
|
|
2475
1052
|
trigger: {
|
|
2476
1053
|
type: TriggerType.Cron;
|
|
1054
|
+
schedule: string;
|
|
2477
1055
|
delta: string;
|
|
2478
1056
|
endDate: number;
|
|
2479
|
-
schedule: string;
|
|
2480
1057
|
} | {
|
|
2481
1058
|
chainId: number;
|
|
2482
1059
|
type: TriggerType.Event;
|
|
@@ -2484,67 +1061,29 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
2484
1061
|
delta: string;
|
|
2485
1062
|
event: string;
|
|
2486
1063
|
};
|
|
1064
|
+
executionFeeLimit: string;
|
|
2487
1065
|
types: {
|
|
1066
|
+
Config: [any, ...any[]];
|
|
2488
1067
|
Input: {
|
|
2489
|
-
type: string;
|
|
2490
|
-
name: string;
|
|
2491
|
-
}[];
|
|
2492
|
-
Trigger: [{
|
|
2493
|
-
type: string;
|
|
2494
|
-
name: string;
|
|
2495
|
-
}, {
|
|
2496
|
-
type: string;
|
|
2497
|
-
name: string;
|
|
2498
|
-
}, {
|
|
2499
|
-
type: string;
|
|
2500
|
-
name: string;
|
|
2501
|
-
}, {
|
|
2502
|
-
type: string;
|
|
2503
|
-
name: string;
|
|
2504
|
-
}] | [{
|
|
2505
|
-
type: string;
|
|
2506
|
-
name: string;
|
|
2507
|
-
}, {
|
|
2508
|
-
type: string;
|
|
2509
|
-
name: string;
|
|
2510
|
-
}, {
|
|
2511
|
-
type: string;
|
|
2512
|
-
name: string;
|
|
2513
|
-
}, {
|
|
2514
|
-
type: string;
|
|
2515
|
-
name: string;
|
|
2516
|
-
}, {
|
|
2517
|
-
type: string;
|
|
2518
|
-
name: string;
|
|
2519
|
-
}];
|
|
2520
|
-
Config: [{
|
|
2521
|
-
type: string;
|
|
2522
|
-
name: string;
|
|
2523
|
-
}, {
|
|
2524
|
-
type: string;
|
|
2525
1068
|
name: string;
|
|
2526
|
-
}, {
|
|
2527
|
-
type: string;
|
|
2528
|
-
name: string;
|
|
2529
|
-
}, {
|
|
2530
1069
|
type: string;
|
|
2531
|
-
|
|
2532
|
-
|
|
1070
|
+
}[];
|
|
1071
|
+
Trigger: [any, ...any[]];
|
|
2533
1072
|
};
|
|
2534
1073
|
sig: string;
|
|
2535
1074
|
signer: string;
|
|
2536
1075
|
active: boolean;
|
|
2537
1076
|
}, {
|
|
2538
1077
|
createdAt: Date;
|
|
1078
|
+
version: string;
|
|
2539
1079
|
description: string;
|
|
2540
1080
|
taskCid: string;
|
|
2541
|
-
version: string;
|
|
2542
1081
|
input: Record<string, unknown>;
|
|
2543
1082
|
trigger: {
|
|
2544
1083
|
type: TriggerType.Cron;
|
|
1084
|
+
schedule: string;
|
|
2545
1085
|
delta: string;
|
|
2546
1086
|
endDate: number;
|
|
2547
|
-
schedule: string;
|
|
2548
1087
|
} | {
|
|
2549
1088
|
chainId: number;
|
|
2550
1089
|
type: TriggerType.Event;
|
|
@@ -2552,52 +1091,14 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
2552
1091
|
delta: string;
|
|
2553
1092
|
event: string;
|
|
2554
1093
|
};
|
|
1094
|
+
executionFeeLimit: string;
|
|
2555
1095
|
types: {
|
|
1096
|
+
Config: [any, ...any[]];
|
|
2556
1097
|
Input: {
|
|
2557
|
-
type: string;
|
|
2558
|
-
name: string;
|
|
2559
|
-
}[];
|
|
2560
|
-
Trigger: [{
|
|
2561
|
-
type: string;
|
|
2562
|
-
name: string;
|
|
2563
|
-
}, {
|
|
2564
|
-
type: string;
|
|
2565
|
-
name: string;
|
|
2566
|
-
}, {
|
|
2567
|
-
type: string;
|
|
2568
|
-
name: string;
|
|
2569
|
-
}, {
|
|
2570
|
-
type: string;
|
|
2571
|
-
name: string;
|
|
2572
|
-
}] | [{
|
|
2573
|
-
type: string;
|
|
2574
|
-
name: string;
|
|
2575
|
-
}, {
|
|
2576
|
-
type: string;
|
|
2577
|
-
name: string;
|
|
2578
|
-
}, {
|
|
2579
|
-
type: string;
|
|
2580
|
-
name: string;
|
|
2581
|
-
}, {
|
|
2582
|
-
type: string;
|
|
2583
|
-
name: string;
|
|
2584
|
-
}, {
|
|
2585
|
-
type: string;
|
|
2586
|
-
name: string;
|
|
2587
|
-
}];
|
|
2588
|
-
Config: [{
|
|
2589
|
-
type: string;
|
|
2590
|
-
name: string;
|
|
2591
|
-
}, {
|
|
2592
|
-
type: string;
|
|
2593
|
-
name: string;
|
|
2594
|
-
}, {
|
|
2595
|
-
type: string;
|
|
2596
1098
|
name: string;
|
|
2597
|
-
}, {
|
|
2598
1099
|
type: string;
|
|
2599
|
-
|
|
2600
|
-
|
|
1100
|
+
}[];
|
|
1101
|
+
Trigger: [any, ...any[]];
|
|
2601
1102
|
};
|
|
2602
1103
|
sig: string;
|
|
2603
1104
|
signer: string;
|