@wowok/agent-mcp 2.6.1 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/customer/info-puzzle.d.ts +1 -1
  2. package/dist/customer/info-puzzle.js +4 -2
  3. package/dist/customer/risk-assessment.js +26 -4
  4. package/dist/customer/types.d.ts +2 -0
  5. package/dist/examples/guard-template-balance-check.json +38 -0
  6. package/dist/examples/guard-template-time-lock.json +39 -0
  7. package/dist/examples/machine-template-7node-rental.json +114 -0
  8. package/dist/examples/rental-ziroom-machine-create.json +137 -0
  9. package/dist/examples/rental-ziroom-permission-create.json +35 -0
  10. package/dist/examples/rental-ziroom-service-create.json +80 -0
  11. package/dist/examples/retail-myshop-service-create.json +88 -0
  12. package/dist/extensions/capability-manifest.js +24 -24
  13. package/dist/extensions/constraint-registry.js +18 -18
  14. package/dist/extensions/metric-registry.js +14 -14
  15. package/dist/extensions/mode-evaluator.js +16 -16
  16. package/dist/extensions/modes.js +131 -45
  17. package/dist/extensions/registry.d.ts +2 -0
  18. package/dist/extensions/registry.js +63 -30
  19. package/dist/extensions/types.d.ts +1 -0
  20. package/dist/index.js +50 -0
  21. package/dist/knowledge/deployment-scanner.js +1 -1
  22. package/dist/knowledge/fund-layer.d.ts +72 -0
  23. package/dist/knowledge/fund-layer.js +420 -0
  24. package/dist/knowledge/guard-render.d.ts +57 -0
  25. package/dist/knowledge/guard-render.js +700 -0
  26. package/dist/knowledge/guard-submission-prompt.d.ts +31 -0
  27. package/dist/knowledge/guard-submission-prompt.js +171 -0
  28. package/dist/knowledge/machine-ledger.js +1 -1
  29. package/dist/knowledge/machine-render.d.ts +41 -0
  30. package/dist/knowledge/machine-render.js +565 -0
  31. package/dist/knowledge/machine-templates.js +4 -4
  32. package/dist/knowledge/reward-confirm.js +2 -2
  33. package/dist/knowledge/reward-puzzle.js +1 -1
  34. package/dist/knowledge/reward-risk.js +9 -9
  35. package/dist/knowledge/reward-templates.js +2 -2
  36. package/dist/knowledge/service-confirm.d.ts +1 -1
  37. package/dist/knowledge/service-confirm.js +3 -3
  38. package/dist/knowledge/service-context.js +1 -1
  39. package/dist/knowledge/service-ledger.js +1 -1
  40. package/dist/knowledge/service-risk.d.ts +1 -1
  41. package/dist/knowledge/service-risk.js +3 -3
  42. package/dist/knowledge/service-templates.js +2 -2
  43. package/dist/knowledge/service-translation.d.ts +1 -1
  44. package/dist/knowledge/service-translation.js +7 -7
  45. package/dist/project/deployment-bridge.js +6 -5
  46. package/dist/project/deployment-doc.js +5 -5
  47. package/dist/project/edit-planner.d.ts +123 -0
  48. package/dist/project/edit-planner.js +1371 -0
  49. package/dist/project/evaluation.js +314 -14
  50. package/dist/project/graph-builder.js +6 -1
  51. package/dist/project/handlers.d.ts +99 -2
  52. package/dist/project/handlers.js +358 -16
  53. package/dist/project/stage-gate.js +4 -4
  54. package/dist/schema/call/allocation.js +2 -2
  55. package/dist/schema/call/arbitration.js +19 -6
  56. package/dist/schema/call/contact.js +2 -2
  57. package/dist/schema/call/demand.js +2 -2
  58. package/dist/schema/call/guard.js +1 -1
  59. package/dist/schema/call/machine.d.ts +1975 -777
  60. package/dist/schema/call/machine.js +50 -4
  61. package/dist/schema/call/order.js +3 -6
  62. package/dist/schema/call/permission.js +2 -2
  63. package/dist/schema/call/repository.js +2 -2
  64. package/dist/schema/call/reward.js +3 -3
  65. package/dist/schema/call/semantic.js +7 -1
  66. package/dist/schema/call/service.d.ts +180 -8
  67. package/dist/schema/call/service.js +82 -27
  68. package/dist/schema/call/treasury.js +3 -3
  69. package/dist/schema/common/index.d.ts +2 -0
  70. package/dist/schema/common/index.js +46 -10
  71. package/dist/schema/local/index.js +5 -1
  72. package/dist/schema/operations.d.ts +755 -176
  73. package/dist/schema/operations.js +43 -7
  74. package/dist/schema/project/index.d.ts +969 -6
  75. package/dist/schema/project/index.js +268 -4
  76. package/dist/schema/query/index.d.ts +217 -0
  77. package/dist/schema/query/index.js +63 -33
  78. package/dist/schema/schema-query/index.d.ts +53 -3
  79. package/dist/schema/schema-query/index.js +17 -2
  80. package/dist/schema/utils/node-parser.js +13 -0
  81. package/dist/schema/utils/object-type-utils.d.ts +12 -0
  82. package/dist/schema/utils/object-type-utils.js +35 -0
  83. package/dist/schema/utils/permission-machine-check.d.ts +49 -0
  84. package/dist/schema/utils/permission-machine-check.js +121 -0
  85. package/dist/schema/utils/skills-recommendation.d.ts +2 -0
  86. package/dist/schema/utils/skills-recommendation.js +76 -0
  87. package/dist/schema-query/index.d.ts +14 -1
  88. package/dist/schema-query/index.js +104 -2
  89. package/dist/schemas/account_operation.schema.json +1 -1
  90. package/dist/schemas/index.json +1 -1
  91. package/dist/schemas/onchain_events.output.json +1 -1
  92. package/dist/schemas/onchain_operations.output.json +2820 -0
  93. package/dist/schemas/onchain_operations.schema.json +115 -53
  94. package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
  95. package/dist/schemas/onchain_operations_arbitration.schema.json +9 -7
  96. package/dist/schemas/onchain_operations_contact.schema.json +3 -3
  97. package/dist/schemas/onchain_operations_demand.schema.json +3 -3
  98. package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -2
  99. package/dist/schemas/onchain_operations_guard.schema.json +1 -1
  100. package/dist/schemas/onchain_operations_machine.schema.json +4 -4
  101. package/dist/schemas/onchain_operations_order.schema.json +3 -3
  102. package/dist/schemas/onchain_operations_payment.schema.json +1 -1
  103. package/dist/schemas/onchain_operations_permission.schema.json +2 -2
  104. package/dist/schemas/onchain_operations_progress.schema.json +1 -1
  105. package/dist/schemas/onchain_operations_proof.schema.json +1 -1
  106. package/dist/schemas/onchain_operations_repository.schema.json +3 -3
  107. package/dist/schemas/onchain_operations_reward.schema.json +6 -6
  108. package/dist/schemas/onchain_operations_service.schema.json +77 -17
  109. package/dist/schemas/onchain_operations_treasury.schema.json +4 -4
  110. package/dist/schemas/onchain_table_data.output.json +1 -1
  111. package/dist/schemas/onchain_table_data.schema.json +10 -9
  112. package/dist/schemas/project_operation.output.json +1026 -7
  113. package/dist/schemas/project_operation.schema.json +46 -4
  114. package/dist/schemas/query_toolkit.output.json +15 -15
  115. package/dist/schemas/query_toolkit.schema.json +3 -3
  116. package/dist/schemas/schema_query.output.json +64 -1
  117. package/dist/schemas/schema_query.schema.json +3 -2
  118. package/dist/schemas/wowok_buildin_info.output.json +81 -8
  119. package/dist/schemas/wowok_buildin_info.schema.json +46 -2
  120. package/dist/tools/handlers/onchain.js +571 -6
  121. package/dist/tools/handlers/project.js +25 -2
  122. package/dist/tools/handlers/schema-query.js +24 -1
  123. package/dist/tools/index.d.ts +8 -0
  124. package/dist/tools/index.js +177 -6
  125. package/package.json +2 -2
@@ -284,7 +284,7 @@ export declare const NodeRemovePriorNodeDataSchema: z.ZodObject<{
284
284
  prior_node_name: string[];
285
285
  node_name: string;
286
286
  }>;
287
- export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
287
+ export declare const NodeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
288
288
  op: z.ZodLiteral<"add">;
289
289
  nodes: z.ZodArray<z.ZodObject<{
290
290
  name: z.ZodString;
@@ -785,7 +785,164 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
785
785
  node_name: string;
786
786
  }[];
787
787
  op: "remove forward";
788
- }>]>;
788
+ }>]>, {
789
+ op: "add";
790
+ nodes: {
791
+ name: string;
792
+ pairs: {
793
+ forwards: {
794
+ name: string;
795
+ weight: string | number;
796
+ guard?: string | {
797
+ guard: string;
798
+ retained_submission?: (string | number)[] | null | undefined;
799
+ } | null | undefined;
800
+ namedOperator?: string | null | undefined;
801
+ permissionIndex?: string | number | null | undefined;
802
+ }[];
803
+ threshold: string | number;
804
+ prev_node: string;
805
+ }[];
806
+ }[];
807
+ bReplace?: boolean | undefined;
808
+ } | {
809
+ op: "set";
810
+ nodes: {
811
+ name: string;
812
+ pairs: {
813
+ forwards: {
814
+ name: string;
815
+ weight: string | number;
816
+ guard?: string | {
817
+ guard: string;
818
+ retained_submission?: (string | number)[] | null | undefined;
819
+ } | null | undefined;
820
+ namedOperator?: string | null | undefined;
821
+ permissionIndex?: string | number | null | undefined;
822
+ }[];
823
+ threshold: string | number;
824
+ prev_node: string;
825
+ }[];
826
+ }[];
827
+ bReplace?: boolean | undefined;
828
+ } | {
829
+ op: "remove";
830
+ nodes: string[];
831
+ } | {
832
+ op: "clear";
833
+ } | {
834
+ op: "exchange";
835
+ node_one: string;
836
+ node_other: string;
837
+ } | {
838
+ op: "rename";
839
+ node_name_old: string;
840
+ node_name_new: string;
841
+ } | {
842
+ op: "remove prior node";
843
+ pairs: {
844
+ prior_node_name: string[];
845
+ node_name: string;
846
+ }[];
847
+ } | {
848
+ data: {
849
+ forward: {
850
+ name: string;
851
+ weight: string | number;
852
+ guard?: string | {
853
+ guard: string;
854
+ retained_submission?: (string | number)[] | null | undefined;
855
+ } | null | undefined;
856
+ namedOperator?: string | null | undefined;
857
+ permissionIndex?: string | number | null | undefined;
858
+ }[];
859
+ prior_node_name: string;
860
+ node_name: string;
861
+ threshold?: number | null | undefined;
862
+ }[];
863
+ op: "add forward";
864
+ } | {
865
+ data: {
866
+ forward_name: string[];
867
+ prior_node_name: string;
868
+ node_name: string;
869
+ }[];
870
+ op: "remove forward";
871
+ }, {
872
+ op: "add";
873
+ nodes: {
874
+ name: string;
875
+ pairs: {
876
+ forwards: {
877
+ name: string;
878
+ weight: string | number;
879
+ guard?: unknown;
880
+ namedOperator?: string | null | undefined;
881
+ permissionIndex?: string | number | null | undefined;
882
+ }[];
883
+ prev_node: string;
884
+ threshold?: string | number | undefined;
885
+ }[];
886
+ }[];
887
+ bReplace?: boolean | undefined;
888
+ } | {
889
+ op: "set";
890
+ nodes: {
891
+ name: string;
892
+ pairs: {
893
+ forwards: {
894
+ name: string;
895
+ weight: string | number;
896
+ guard?: unknown;
897
+ namedOperator?: string | null | undefined;
898
+ permissionIndex?: string | number | null | undefined;
899
+ }[];
900
+ prev_node: string;
901
+ threshold?: string | number | undefined;
902
+ }[];
903
+ }[];
904
+ bReplace?: boolean | undefined;
905
+ } | {
906
+ op: "remove";
907
+ nodes: string[];
908
+ } | {
909
+ op: "clear";
910
+ } | {
911
+ op: "exchange";
912
+ node_one: string;
913
+ node_other: string;
914
+ } | {
915
+ op: "rename";
916
+ node_name_old: string;
917
+ node_name_new: string;
918
+ } | {
919
+ op: "remove prior node";
920
+ pairs: {
921
+ prior_node_name: string[];
922
+ node_name: string;
923
+ }[];
924
+ } | {
925
+ data: {
926
+ forward: {
927
+ name: string;
928
+ weight: string | number;
929
+ guard?: unknown;
930
+ namedOperator?: string | null | undefined;
931
+ permissionIndex?: string | number | null | undefined;
932
+ }[];
933
+ prior_node_name: string;
934
+ node_name: string;
935
+ threshold?: number | null | undefined;
936
+ }[];
937
+ op: "add forward";
938
+ } | {
939
+ data: {
940
+ forward_name: string[];
941
+ prior_node_name: string;
942
+ node_name: string;
943
+ }[];
944
+ op: "remove forward";
945
+ }>;
789
946
  export declare const NodeJsonOrMarkdownFileSchema: z.ZodObject<{
790
947
  json_or_markdown_file: z.ZodString;
791
948
  }, "strict", z.ZodTypeAny, {
@@ -793,7 +950,7 @@ export declare const NodeJsonOrMarkdownFileSchema: z.ZodObject<{
793
950
  }, {
794
951
  json_or_markdown_file: string;
795
952
  }>;
796
- export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
953
+ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
797
954
  op: z.ZodLiteral<"add">;
798
955
  nodes: z.ZodArray<z.ZodObject<{
799
956
  name: z.ZodString;
@@ -1294,49 +1451,206 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
1294
1451
  node_name: string;
1295
1452
  }[];
1296
1453
  op: "remove forward";
1297
- }>]>, z.ZodObject<{
1298
- json_or_markdown_file: z.ZodString;
1299
- }, "strict", z.ZodTypeAny, {
1300
- json_or_markdown_file: string;
1454
+ }>]>, {
1455
+ op: "add";
1456
+ nodes: {
1457
+ name: string;
1458
+ pairs: {
1459
+ forwards: {
1460
+ name: string;
1461
+ weight: string | number;
1462
+ guard?: string | {
1463
+ guard: string;
1464
+ retained_submission?: (string | number)[] | null | undefined;
1465
+ } | null | undefined;
1466
+ namedOperator?: string | null | undefined;
1467
+ permissionIndex?: string | number | null | undefined;
1468
+ }[];
1469
+ threshold: string | number;
1470
+ prev_node: string;
1471
+ }[];
1472
+ }[];
1473
+ bReplace?: boolean | undefined;
1474
+ } | {
1475
+ op: "set";
1476
+ nodes: {
1477
+ name: string;
1478
+ pairs: {
1479
+ forwards: {
1480
+ name: string;
1481
+ weight: string | number;
1482
+ guard?: string | {
1483
+ guard: string;
1484
+ retained_submission?: (string | number)[] | null | undefined;
1485
+ } | null | undefined;
1486
+ namedOperator?: string | null | undefined;
1487
+ permissionIndex?: string | number | null | undefined;
1488
+ }[];
1489
+ threshold: string | number;
1490
+ prev_node: string;
1491
+ }[];
1492
+ }[];
1493
+ bReplace?: boolean | undefined;
1494
+ } | {
1495
+ op: "remove";
1496
+ nodes: string[];
1497
+ } | {
1498
+ op: "clear";
1499
+ } | {
1500
+ op: "exchange";
1501
+ node_one: string;
1502
+ node_other: string;
1503
+ } | {
1504
+ op: "rename";
1505
+ node_name_old: string;
1506
+ node_name_new: string;
1507
+ } | {
1508
+ op: "remove prior node";
1509
+ pairs: {
1510
+ prior_node_name: string[];
1511
+ node_name: string;
1512
+ }[];
1513
+ } | {
1514
+ data: {
1515
+ forward: {
1516
+ name: string;
1517
+ weight: string | number;
1518
+ guard?: string | {
1519
+ guard: string;
1520
+ retained_submission?: (string | number)[] | null | undefined;
1521
+ } | null | undefined;
1522
+ namedOperator?: string | null | undefined;
1523
+ permissionIndex?: string | number | null | undefined;
1524
+ }[];
1525
+ prior_node_name: string;
1526
+ node_name: string;
1527
+ threshold?: number | null | undefined;
1528
+ }[];
1529
+ op: "add forward";
1530
+ } | {
1531
+ data: {
1532
+ forward_name: string[];
1533
+ prior_node_name: string;
1534
+ node_name: string;
1535
+ }[];
1536
+ op: "remove forward";
1301
1537
  }, {
1302
- json_or_markdown_file: string;
1303
- }>]>;
1304
- export declare const CallMachine_DataSchema: z.ZodObject<{
1305
- object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1306
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1307
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1308
- onChain: z.ZodOptional<z.ZodBoolean>;
1309
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
1310
- } & {
1311
- permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1312
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1313
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1314
- onChain: z.ZodOptional<z.ZodBoolean>;
1315
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
1316
- } & {
1317
- description: z.ZodOptional<z.ZodString>;
1318
- }, "strict", z.ZodTypeAny, {
1319
- name?: string | undefined;
1320
- description?: string | undefined;
1321
- replaceExistName?: boolean | undefined;
1322
- tags?: string[] | undefined;
1323
- onChain?: boolean | undefined;
1324
- }, {
1325
- name?: string | undefined;
1326
- description?: string | undefined;
1327
- replaceExistName?: boolean | undefined;
1328
- tags?: string[] | undefined;
1329
- onChain?: boolean | undefined;
1330
- }>]>>;
1331
- }, "strict", z.ZodTypeAny, {
1332
- name?: string | undefined;
1333
- permission?: string | {
1334
- name?: string | undefined;
1335
- description?: string | undefined;
1336
- replaceExistName?: boolean | undefined;
1337
- tags?: string[] | undefined;
1338
- onChain?: boolean | undefined;
1339
- } | undefined;
1538
+ op: "add";
1539
+ nodes: {
1540
+ name: string;
1541
+ pairs: {
1542
+ forwards: {
1543
+ name: string;
1544
+ weight: string | number;
1545
+ guard?: unknown;
1546
+ namedOperator?: string | null | undefined;
1547
+ permissionIndex?: string | number | null | undefined;
1548
+ }[];
1549
+ prev_node: string;
1550
+ threshold?: string | number | undefined;
1551
+ }[];
1552
+ }[];
1553
+ bReplace?: boolean | undefined;
1554
+ } | {
1555
+ op: "set";
1556
+ nodes: {
1557
+ name: string;
1558
+ pairs: {
1559
+ forwards: {
1560
+ name: string;
1561
+ weight: string | number;
1562
+ guard?: unknown;
1563
+ namedOperator?: string | null | undefined;
1564
+ permissionIndex?: string | number | null | undefined;
1565
+ }[];
1566
+ prev_node: string;
1567
+ threshold?: string | number | undefined;
1568
+ }[];
1569
+ }[];
1570
+ bReplace?: boolean | undefined;
1571
+ } | {
1572
+ op: "remove";
1573
+ nodes: string[];
1574
+ } | {
1575
+ op: "clear";
1576
+ } | {
1577
+ op: "exchange";
1578
+ node_one: string;
1579
+ node_other: string;
1580
+ } | {
1581
+ op: "rename";
1582
+ node_name_old: string;
1583
+ node_name_new: string;
1584
+ } | {
1585
+ op: "remove prior node";
1586
+ pairs: {
1587
+ prior_node_name: string[];
1588
+ node_name: string;
1589
+ }[];
1590
+ } | {
1591
+ data: {
1592
+ forward: {
1593
+ name: string;
1594
+ weight: string | number;
1595
+ guard?: unknown;
1596
+ namedOperator?: string | null | undefined;
1597
+ permissionIndex?: string | number | null | undefined;
1598
+ }[];
1599
+ prior_node_name: string;
1600
+ node_name: string;
1601
+ threshold?: number | null | undefined;
1602
+ }[];
1603
+ op: "add forward";
1604
+ } | {
1605
+ data: {
1606
+ forward_name: string[];
1607
+ prior_node_name: string;
1608
+ node_name: string;
1609
+ }[];
1610
+ op: "remove forward";
1611
+ }>, z.ZodObject<{
1612
+ json_or_markdown_file: z.ZodString;
1613
+ }, "strict", z.ZodTypeAny, {
1614
+ json_or_markdown_file: string;
1615
+ }, {
1616
+ json_or_markdown_file: string;
1617
+ }>]>;
1618
+ export declare const CallMachine_DataSchema: z.ZodEffects<z.ZodObject<{
1619
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1620
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1621
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1622
+ onChain: z.ZodOptional<z.ZodBoolean>;
1623
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1624
+ } & {
1625
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1626
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1627
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1628
+ onChain: z.ZodOptional<z.ZodBoolean>;
1629
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1630
+ } & {
1631
+ description: z.ZodOptional<z.ZodString>;
1632
+ }, "strict", z.ZodTypeAny, {
1633
+ name?: string | undefined;
1634
+ description?: string | undefined;
1635
+ replaceExistName?: boolean | undefined;
1636
+ tags?: string[] | undefined;
1637
+ onChain?: boolean | undefined;
1638
+ }, {
1639
+ name?: string | undefined;
1640
+ description?: string | undefined;
1641
+ replaceExistName?: boolean | undefined;
1642
+ tags?: string[] | undefined;
1643
+ onChain?: boolean | undefined;
1644
+ }>]>>;
1645
+ }, "strict", z.ZodTypeAny, {
1646
+ name?: string | undefined;
1647
+ permission?: string | {
1648
+ name?: string | undefined;
1649
+ description?: string | undefined;
1650
+ replaceExistName?: boolean | undefined;
1651
+ tags?: string[] | undefined;
1652
+ onChain?: boolean | undefined;
1653
+ } | undefined;
1340
1654
  replaceExistName?: boolean | undefined;
1341
1655
  tags?: string[] | undefined;
1342
1656
  onChain?: boolean | undefined;
@@ -1536,7 +1850,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1536
1850
  } | {
1537
1851
  op: "clear";
1538
1852
  }, unknown>>;
1539
- node: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1853
+ node: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1540
1854
  op: z.ZodLiteral<"add">;
1541
1855
  nodes: z.ZodArray<z.ZodObject<{
1542
1856
  name: z.ZodString;
@@ -2037,79 +2351,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2037
2351
  node_name: string;
2038
2352
  }[];
2039
2353
  op: "remove forward";
2040
- }>]>, z.ZodObject<{
2041
- json_or_markdown_file: z.ZodString;
2042
- }, "strict", z.ZodTypeAny, {
2043
- json_or_markdown_file: string;
2044
- }, {
2045
- json_or_markdown_file: string;
2046
- }>]>>;
2047
- pause: z.ZodOptional<z.ZodBoolean>;
2048
- publish: z.ZodOptional<z.ZodBoolean>;
2049
- owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2050
- id: z.ZodString;
2051
- type: z.ZodString;
2052
- content_raw: z.ZodOptional<z.ZodAny>;
2053
- }, "strict", z.ZodTypeAny, {
2054
- type: string;
2055
- id: string;
2056
- content_raw?: any;
2057
- }, {
2058
- type: string;
2059
- id: string;
2060
- content_raw?: any;
2061
- }>, "many">, z.ZodObject<{
2062
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2063
- token_type: z.ZodEffects<z.ZodString, string, string>;
2064
- received: z.ZodArray<z.ZodObject<{
2065
- id: z.ZodString;
2066
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2067
- payment: z.ZodString;
2068
- }, "strict", z.ZodTypeAny, {
2069
- id: string;
2070
- balance: string | number;
2071
- payment: string;
2072
- }, {
2073
- id: string;
2074
- balance: string | number;
2075
- payment: string;
2076
- }>, "many">;
2077
- }, "strict", z.ZodTypeAny, {
2078
- received: {
2079
- id: string;
2080
- balance: string | number;
2081
- payment: string;
2082
- }[];
2083
- balance: string | number;
2084
- token_type: string;
2085
- }, {
2086
- received: {
2087
- id: string;
2088
- balance: string | number;
2089
- payment: string;
2090
- }[];
2091
- balance: string | number;
2092
- token_type: string;
2093
- }>, z.ZodLiteral<"recently">]>>;
2094
- um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2095
- }, "strict", z.ZodTypeAny, {
2096
- object: string | {
2097
- name?: string | undefined;
2098
- permission?: string | {
2099
- name?: string | undefined;
2100
- description?: string | undefined;
2101
- replaceExistName?: boolean | undefined;
2102
- tags?: string[] | undefined;
2103
- onChain?: boolean | undefined;
2104
- } | undefined;
2105
- replaceExistName?: boolean | undefined;
2106
- tags?: string[] | undefined;
2107
- onChain?: boolean | undefined;
2108
- };
2109
- description?: string | undefined;
2110
- publish?: boolean | undefined;
2111
- pause?: boolean | undefined;
2112
- node?: {
2354
+ }>]>, {
2113
2355
  op: "add";
2114
2356
  nodes: {
2115
2357
  name: string;
@@ -2192,79 +2434,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2192
2434
  node_name: string;
2193
2435
  }[];
2194
2436
  op: "remove forward";
2195
- } | {
2196
- json_or_markdown_file: string;
2197
- } | undefined;
2198
- repository?: {
2199
- op: "set" | "add";
2200
- objects: string[];
2201
- } | {
2202
- op: "remove";
2203
- objects: string[];
2204
- } | {
2205
- op: "clear";
2206
- } | undefined;
2207
- um?: string | null | undefined;
2208
- owner_receive?: {
2209
- received: {
2210
- id: string;
2211
- balance: string | number;
2212
- payment: string;
2213
- }[];
2214
- balance: string | number;
2215
- token_type: string;
2216
- } | "recently" | {
2217
- type: string;
2218
- id: string;
2219
- content_raw?: any;
2220
- }[] | undefined;
2221
- progress_new?: {
2222
- namedNew?: {
2223
- name?: string | undefined;
2224
- replaceExistName?: boolean | undefined;
2225
- tags?: string[] | undefined;
2226
- onChain?: boolean | undefined;
2227
- } | undefined;
2228
- repository?: {
2229
- op: "set" | "add";
2230
- objects: string[];
2231
- } | {
2232
- op: "remove";
2233
- objects: string[];
2234
- } | {
2235
- op: "clear";
2236
- } | undefined;
2237
- task?: string | null | undefined;
2238
- progress_namedOperator?: {
2239
- name: string;
2240
- op: "set" | "add" | "remove";
2241
- operators: {
2242
- entities: {
2243
- name_or_address?: string | undefined;
2244
- local_mark_first?: boolean | undefined;
2245
- }[];
2246
- check_all_founded?: boolean | undefined;
2247
- };
2248
- } | undefined;
2249
- } | undefined;
2250
- }, {
2251
- object: string | {
2252
- name?: string | undefined;
2253
- permission?: string | {
2254
- name?: string | undefined;
2255
- description?: string | undefined;
2256
- replaceExistName?: boolean | undefined;
2257
- tags?: string[] | undefined;
2258
- onChain?: boolean | undefined;
2259
- } | undefined;
2260
- replaceExistName?: boolean | undefined;
2261
- tags?: string[] | undefined;
2262
- onChain?: boolean | undefined;
2263
- };
2264
- description?: string | undefined;
2265
- publish?: boolean | undefined;
2266
- pause?: boolean | undefined;
2267
- node?: {
2437
+ }, {
2268
2438
  op: "add";
2269
2439
  nodes: {
2270
2440
  name: string;
@@ -2338,10 +2508,173 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2338
2508
  node_name: string;
2339
2509
  }[];
2340
2510
  op: "remove forward";
2341
- } | {
2342
- json_or_markdown_file: string;
2511
+ }>, z.ZodObject<{
2512
+ json_or_markdown_file: z.ZodString;
2513
+ }, "strict", z.ZodTypeAny, {
2514
+ json_or_markdown_file: string;
2515
+ }, {
2516
+ json_or_markdown_file: string;
2517
+ }>]>>;
2518
+ pause: z.ZodOptional<z.ZodBoolean>;
2519
+ publish: z.ZodOptional<z.ZodBoolean>;
2520
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2521
+ id: z.ZodString;
2522
+ type: z.ZodString;
2523
+ content_raw: z.ZodOptional<z.ZodAny>;
2524
+ }, "strict", z.ZodTypeAny, {
2525
+ type: string;
2526
+ id: string;
2527
+ content_raw?: any;
2528
+ }, {
2529
+ type: string;
2530
+ id: string;
2531
+ content_raw?: any;
2532
+ }>, "many">, z.ZodObject<{
2533
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2534
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2535
+ received: z.ZodArray<z.ZodObject<{
2536
+ id: z.ZodString;
2537
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2538
+ payment: z.ZodString;
2539
+ }, "strict", z.ZodTypeAny, {
2540
+ id: string;
2541
+ balance: string | number;
2542
+ payment: string;
2543
+ }, {
2544
+ id: string;
2545
+ balance: string | number;
2546
+ payment: string;
2547
+ }>, "many">;
2548
+ }, "strict", z.ZodTypeAny, {
2549
+ received: {
2550
+ id: string;
2551
+ balance: string | number;
2552
+ payment: string;
2553
+ }[];
2554
+ balance: string | number;
2555
+ token_type: string;
2556
+ }, {
2557
+ received: {
2558
+ id: string;
2559
+ balance: string | number;
2560
+ payment: string;
2561
+ }[];
2562
+ balance: string | number;
2563
+ token_type: string;
2564
+ }>, z.ZodLiteral<"recently">]>>;
2565
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2566
+ }, "strict", z.ZodTypeAny, {
2567
+ object: string | {
2568
+ name?: string | undefined;
2569
+ permission?: string | {
2570
+ name?: string | undefined;
2571
+ description?: string | undefined;
2572
+ replaceExistName?: boolean | undefined;
2573
+ tags?: string[] | undefined;
2574
+ onChain?: boolean | undefined;
2575
+ } | undefined;
2576
+ replaceExistName?: boolean | undefined;
2577
+ tags?: string[] | undefined;
2578
+ onChain?: boolean | undefined;
2579
+ };
2580
+ description?: string | undefined;
2581
+ publish?: boolean | undefined;
2582
+ pause?: boolean | undefined;
2583
+ node?: {
2584
+ op: "add";
2585
+ nodes: {
2586
+ name: string;
2587
+ pairs: {
2588
+ forwards: {
2589
+ name: string;
2590
+ weight: string | number;
2591
+ guard?: string | {
2592
+ guard: string;
2593
+ retained_submission?: (string | number)[] | null | undefined;
2594
+ } | null | undefined;
2595
+ namedOperator?: string | null | undefined;
2596
+ permissionIndex?: string | number | null | undefined;
2597
+ }[];
2598
+ threshold: string | number;
2599
+ prev_node: string;
2600
+ }[];
2601
+ }[];
2602
+ bReplace?: boolean | undefined;
2603
+ } | {
2604
+ op: "set";
2605
+ nodes: {
2606
+ name: string;
2607
+ pairs: {
2608
+ forwards: {
2609
+ name: string;
2610
+ weight: string | number;
2611
+ guard?: string | {
2612
+ guard: string;
2613
+ retained_submission?: (string | number)[] | null | undefined;
2614
+ } | null | undefined;
2615
+ namedOperator?: string | null | undefined;
2616
+ permissionIndex?: string | number | null | undefined;
2617
+ }[];
2618
+ threshold: string | number;
2619
+ prev_node: string;
2620
+ }[];
2621
+ }[];
2622
+ bReplace?: boolean | undefined;
2623
+ } | {
2624
+ op: "remove";
2625
+ nodes: string[];
2626
+ } | {
2627
+ op: "clear";
2628
+ } | {
2629
+ op: "exchange";
2630
+ node_one: string;
2631
+ node_other: string;
2632
+ } | {
2633
+ op: "rename";
2634
+ node_name_old: string;
2635
+ node_name_new: string;
2636
+ } | {
2637
+ op: "remove prior node";
2638
+ pairs: {
2639
+ prior_node_name: string[];
2640
+ node_name: string;
2641
+ }[];
2642
+ } | {
2643
+ data: {
2644
+ forward: {
2645
+ name: string;
2646
+ weight: string | number;
2647
+ guard?: string | {
2648
+ guard: string;
2649
+ retained_submission?: (string | number)[] | null | undefined;
2650
+ } | null | undefined;
2651
+ namedOperator?: string | null | undefined;
2652
+ permissionIndex?: string | number | null | undefined;
2653
+ }[];
2654
+ prior_node_name: string;
2655
+ node_name: string;
2656
+ threshold?: number | null | undefined;
2657
+ }[];
2658
+ op: "add forward";
2659
+ } | {
2660
+ data: {
2661
+ forward_name: string[];
2662
+ prior_node_name: string;
2663
+ node_name: string;
2664
+ }[];
2665
+ op: "remove forward";
2666
+ } | {
2667
+ json_or_markdown_file: string;
2668
+ } | undefined;
2669
+ repository?: {
2670
+ op: "set" | "add";
2671
+ objects: string[];
2672
+ } | {
2673
+ op: "remove";
2674
+ objects: string[];
2675
+ } | {
2676
+ op: "clear";
2343
2677
  } | undefined;
2344
- repository?: unknown;
2345
2678
  um?: string | null | undefined;
2346
2679
  owner_receive?: {
2347
2680
  received: {
@@ -2363,7 +2696,15 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2363
2696
  tags?: string[] | undefined;
2364
2697
  onChain?: boolean | undefined;
2365
2698
  } | undefined;
2366
- repository?: unknown;
2699
+ repository?: {
2700
+ op: "set" | "add";
2701
+ objects: string[];
2702
+ } | {
2703
+ op: "remove";
2704
+ objects: string[];
2705
+ } | {
2706
+ op: "clear";
2707
+ } | undefined;
2367
2708
  task?: string | null | undefined;
2368
2709
  progress_namedOperator?: {
2369
2710
  name: string;
@@ -2377,84 +2718,499 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2377
2718
  };
2378
2719
  } | undefined;
2379
2720
  } | undefined;
2380
- }>;
2381
- export declare const CallMachine_InputSchema: z.ZodObject<{
2382
- data: z.ZodObject<{
2383
- object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
2384
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2385
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2386
- onChain: z.ZodOptional<z.ZodBoolean>;
2387
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
2388
- } & {
2389
- permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
2390
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2391
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2392
- onChain: z.ZodOptional<z.ZodBoolean>;
2393
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
2394
- } & {
2395
- description: z.ZodOptional<z.ZodString>;
2396
- }, "strict", z.ZodTypeAny, {
2397
- name?: string | undefined;
2398
- description?: string | undefined;
2399
- replaceExistName?: boolean | undefined;
2400
- tags?: string[] | undefined;
2401
- onChain?: boolean | undefined;
2402
- }, {
2403
- name?: string | undefined;
2404
- description?: string | undefined;
2405
- replaceExistName?: boolean | undefined;
2406
- tags?: string[] | undefined;
2407
- onChain?: boolean | undefined;
2408
- }>]>>;
2409
- }, "strict", z.ZodTypeAny, {
2410
- name?: string | undefined;
2411
- permission?: string | {
2412
- name?: string | undefined;
2413
- description?: string | undefined;
2414
- replaceExistName?: boolean | undefined;
2415
- tags?: string[] | undefined;
2416
- onChain?: boolean | undefined;
2417
- } | undefined;
2418
- replaceExistName?: boolean | undefined;
2419
- tags?: string[] | undefined;
2420
- onChain?: boolean | undefined;
2421
- }, {
2721
+ }, {
2722
+ object: string | {
2723
+ name?: string | undefined;
2724
+ permission?: string | {
2422
2725
  name?: string | undefined;
2423
- permission?: string | {
2424
- name?: string | undefined;
2425
- description?: string | undefined;
2426
- replaceExistName?: boolean | undefined;
2427
- tags?: string[] | undefined;
2428
- onChain?: boolean | undefined;
2429
- } | undefined;
2726
+ description?: string | undefined;
2430
2727
  replaceExistName?: boolean | undefined;
2431
2728
  tags?: string[] | undefined;
2432
2729
  onChain?: boolean | undefined;
2433
- }>]>;
2434
- progress_new: z.ZodOptional<z.ZodObject<{
2435
- task: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2436
- repository: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2437
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2438
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2439
- }, "strict", z.ZodTypeAny, {
2440
- op: "set" | "add";
2441
- objects: string[];
2442
- }, {
2443
- op: "set" | "add";
2444
- objects: string[];
2445
- }>, z.ZodObject<{
2446
- op: z.ZodLiteral<"remove">;
2447
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2448
- }, "strict", z.ZodTypeAny, {
2449
- op: "remove";
2450
- objects: string[];
2451
- }, {
2452
- op: "remove";
2453
- objects: string[];
2454
- }>, z.ZodObject<{
2455
- op: z.ZodLiteral<"clear">;
2456
- }, "strict", z.ZodTypeAny, {
2457
- op: "clear";
2730
+ } | undefined;
2731
+ replaceExistName?: boolean | undefined;
2732
+ tags?: string[] | undefined;
2733
+ onChain?: boolean | undefined;
2734
+ };
2735
+ description?: string | undefined;
2736
+ publish?: boolean | undefined;
2737
+ pause?: boolean | undefined;
2738
+ node?: {
2739
+ op: "add";
2740
+ nodes: {
2741
+ name: string;
2742
+ pairs: {
2743
+ forwards: {
2744
+ name: string;
2745
+ weight: string | number;
2746
+ guard?: unknown;
2747
+ namedOperator?: string | null | undefined;
2748
+ permissionIndex?: string | number | null | undefined;
2749
+ }[];
2750
+ prev_node: string;
2751
+ threshold?: string | number | undefined;
2752
+ }[];
2753
+ }[];
2754
+ bReplace?: boolean | undefined;
2755
+ } | {
2756
+ op: "set";
2757
+ nodes: {
2758
+ name: string;
2759
+ pairs: {
2760
+ forwards: {
2761
+ name: string;
2762
+ weight: string | number;
2763
+ guard?: unknown;
2764
+ namedOperator?: string | null | undefined;
2765
+ permissionIndex?: string | number | null | undefined;
2766
+ }[];
2767
+ prev_node: string;
2768
+ threshold?: string | number | undefined;
2769
+ }[];
2770
+ }[];
2771
+ bReplace?: boolean | undefined;
2772
+ } | {
2773
+ op: "remove";
2774
+ nodes: string[];
2775
+ } | {
2776
+ op: "clear";
2777
+ } | {
2778
+ op: "exchange";
2779
+ node_one: string;
2780
+ node_other: string;
2781
+ } | {
2782
+ op: "rename";
2783
+ node_name_old: string;
2784
+ node_name_new: string;
2785
+ } | {
2786
+ op: "remove prior node";
2787
+ pairs: {
2788
+ prior_node_name: string[];
2789
+ node_name: string;
2790
+ }[];
2791
+ } | {
2792
+ data: {
2793
+ forward: {
2794
+ name: string;
2795
+ weight: string | number;
2796
+ guard?: unknown;
2797
+ namedOperator?: string | null | undefined;
2798
+ permissionIndex?: string | number | null | undefined;
2799
+ }[];
2800
+ prior_node_name: string;
2801
+ node_name: string;
2802
+ threshold?: number | null | undefined;
2803
+ }[];
2804
+ op: "add forward";
2805
+ } | {
2806
+ data: {
2807
+ forward_name: string[];
2808
+ prior_node_name: string;
2809
+ node_name: string;
2810
+ }[];
2811
+ op: "remove forward";
2812
+ } | {
2813
+ json_or_markdown_file: string;
2814
+ } | undefined;
2815
+ repository?: unknown;
2816
+ um?: string | null | undefined;
2817
+ owner_receive?: {
2818
+ received: {
2819
+ id: string;
2820
+ balance: string | number;
2821
+ payment: string;
2822
+ }[];
2823
+ balance: string | number;
2824
+ token_type: string;
2825
+ } | "recently" | {
2826
+ type: string;
2827
+ id: string;
2828
+ content_raw?: any;
2829
+ }[] | undefined;
2830
+ progress_new?: {
2831
+ namedNew?: {
2832
+ name?: string | undefined;
2833
+ replaceExistName?: boolean | undefined;
2834
+ tags?: string[] | undefined;
2835
+ onChain?: boolean | undefined;
2836
+ } | undefined;
2837
+ repository?: unknown;
2838
+ task?: string | null | undefined;
2839
+ progress_namedOperator?: {
2840
+ name: string;
2841
+ op: "set" | "add" | "remove";
2842
+ operators: {
2843
+ entities: {
2844
+ name_or_address?: string | undefined;
2845
+ local_mark_first?: boolean | undefined;
2846
+ }[];
2847
+ check_all_founded?: boolean | undefined;
2848
+ };
2849
+ } | undefined;
2850
+ } | undefined;
2851
+ }>, {
2852
+ object: string | {
2853
+ name?: string | undefined;
2854
+ permission?: string | {
2855
+ name?: string | undefined;
2856
+ description?: string | undefined;
2857
+ replaceExistName?: boolean | undefined;
2858
+ tags?: string[] | undefined;
2859
+ onChain?: boolean | undefined;
2860
+ } | undefined;
2861
+ replaceExistName?: boolean | undefined;
2862
+ tags?: string[] | undefined;
2863
+ onChain?: boolean | undefined;
2864
+ };
2865
+ description?: string | undefined;
2866
+ publish?: boolean | undefined;
2867
+ pause?: boolean | undefined;
2868
+ node?: {
2869
+ op: "add";
2870
+ nodes: {
2871
+ name: string;
2872
+ pairs: {
2873
+ forwards: {
2874
+ name: string;
2875
+ weight: string | number;
2876
+ guard?: string | {
2877
+ guard: string;
2878
+ retained_submission?: (string | number)[] | null | undefined;
2879
+ } | null | undefined;
2880
+ namedOperator?: string | null | undefined;
2881
+ permissionIndex?: string | number | null | undefined;
2882
+ }[];
2883
+ threshold: string | number;
2884
+ prev_node: string;
2885
+ }[];
2886
+ }[];
2887
+ bReplace?: boolean | undefined;
2888
+ } | {
2889
+ op: "set";
2890
+ nodes: {
2891
+ name: string;
2892
+ pairs: {
2893
+ forwards: {
2894
+ name: string;
2895
+ weight: string | number;
2896
+ guard?: string | {
2897
+ guard: string;
2898
+ retained_submission?: (string | number)[] | null | undefined;
2899
+ } | null | undefined;
2900
+ namedOperator?: string | null | undefined;
2901
+ permissionIndex?: string | number | null | undefined;
2902
+ }[];
2903
+ threshold: string | number;
2904
+ prev_node: string;
2905
+ }[];
2906
+ }[];
2907
+ bReplace?: boolean | undefined;
2908
+ } | {
2909
+ op: "remove";
2910
+ nodes: string[];
2911
+ } | {
2912
+ op: "clear";
2913
+ } | {
2914
+ op: "exchange";
2915
+ node_one: string;
2916
+ node_other: string;
2917
+ } | {
2918
+ op: "rename";
2919
+ node_name_old: string;
2920
+ node_name_new: string;
2921
+ } | {
2922
+ op: "remove prior node";
2923
+ pairs: {
2924
+ prior_node_name: string[];
2925
+ node_name: string;
2926
+ }[];
2927
+ } | {
2928
+ data: {
2929
+ forward: {
2930
+ name: string;
2931
+ weight: string | number;
2932
+ guard?: string | {
2933
+ guard: string;
2934
+ retained_submission?: (string | number)[] | null | undefined;
2935
+ } | null | undefined;
2936
+ namedOperator?: string | null | undefined;
2937
+ permissionIndex?: string | number | null | undefined;
2938
+ }[];
2939
+ prior_node_name: string;
2940
+ node_name: string;
2941
+ threshold?: number | null | undefined;
2942
+ }[];
2943
+ op: "add forward";
2944
+ } | {
2945
+ data: {
2946
+ forward_name: string[];
2947
+ prior_node_name: string;
2948
+ node_name: string;
2949
+ }[];
2950
+ op: "remove forward";
2951
+ } | {
2952
+ json_or_markdown_file: string;
2953
+ } | undefined;
2954
+ repository?: {
2955
+ op: "set" | "add";
2956
+ objects: string[];
2957
+ } | {
2958
+ op: "remove";
2959
+ objects: string[];
2960
+ } | {
2961
+ op: "clear";
2962
+ } | undefined;
2963
+ um?: string | null | undefined;
2964
+ owner_receive?: {
2965
+ received: {
2966
+ id: string;
2967
+ balance: string | number;
2968
+ payment: string;
2969
+ }[];
2970
+ balance: string | number;
2971
+ token_type: string;
2972
+ } | "recently" | {
2973
+ type: string;
2974
+ id: string;
2975
+ content_raw?: any;
2976
+ }[] | undefined;
2977
+ progress_new?: {
2978
+ namedNew?: {
2979
+ name?: string | undefined;
2980
+ replaceExistName?: boolean | undefined;
2981
+ tags?: string[] | undefined;
2982
+ onChain?: boolean | undefined;
2983
+ } | undefined;
2984
+ repository?: {
2985
+ op: "set" | "add";
2986
+ objects: string[];
2987
+ } | {
2988
+ op: "remove";
2989
+ objects: string[];
2990
+ } | {
2991
+ op: "clear";
2992
+ } | undefined;
2993
+ task?: string | null | undefined;
2994
+ progress_namedOperator?: {
2995
+ name: string;
2996
+ op: "set" | "add" | "remove";
2997
+ operators: {
2998
+ entities: {
2999
+ name_or_address?: string | undefined;
3000
+ local_mark_first?: boolean | undefined;
3001
+ }[];
3002
+ check_all_founded?: boolean | undefined;
3003
+ };
3004
+ } | undefined;
3005
+ } | undefined;
3006
+ }, {
3007
+ object: string | {
3008
+ name?: string | undefined;
3009
+ permission?: string | {
3010
+ name?: string | undefined;
3011
+ description?: string | undefined;
3012
+ replaceExistName?: boolean | undefined;
3013
+ tags?: string[] | undefined;
3014
+ onChain?: boolean | undefined;
3015
+ } | undefined;
3016
+ replaceExistName?: boolean | undefined;
3017
+ tags?: string[] | undefined;
3018
+ onChain?: boolean | undefined;
3019
+ };
3020
+ description?: string | undefined;
3021
+ publish?: boolean | undefined;
3022
+ pause?: boolean | undefined;
3023
+ node?: {
3024
+ op: "add";
3025
+ nodes: {
3026
+ name: string;
3027
+ pairs: {
3028
+ forwards: {
3029
+ name: string;
3030
+ weight: string | number;
3031
+ guard?: unknown;
3032
+ namedOperator?: string | null | undefined;
3033
+ permissionIndex?: string | number | null | undefined;
3034
+ }[];
3035
+ prev_node: string;
3036
+ threshold?: string | number | undefined;
3037
+ }[];
3038
+ }[];
3039
+ bReplace?: boolean | undefined;
3040
+ } | {
3041
+ op: "set";
3042
+ nodes: {
3043
+ name: string;
3044
+ pairs: {
3045
+ forwards: {
3046
+ name: string;
3047
+ weight: string | number;
3048
+ guard?: unknown;
3049
+ namedOperator?: string | null | undefined;
3050
+ permissionIndex?: string | number | null | undefined;
3051
+ }[];
3052
+ prev_node: string;
3053
+ threshold?: string | number | undefined;
3054
+ }[];
3055
+ }[];
3056
+ bReplace?: boolean | undefined;
3057
+ } | {
3058
+ op: "remove";
3059
+ nodes: string[];
3060
+ } | {
3061
+ op: "clear";
3062
+ } | {
3063
+ op: "exchange";
3064
+ node_one: string;
3065
+ node_other: string;
3066
+ } | {
3067
+ op: "rename";
3068
+ node_name_old: string;
3069
+ node_name_new: string;
3070
+ } | {
3071
+ op: "remove prior node";
3072
+ pairs: {
3073
+ prior_node_name: string[];
3074
+ node_name: string;
3075
+ }[];
3076
+ } | {
3077
+ data: {
3078
+ forward: {
3079
+ name: string;
3080
+ weight: string | number;
3081
+ guard?: unknown;
3082
+ namedOperator?: string | null | undefined;
3083
+ permissionIndex?: string | number | null | undefined;
3084
+ }[];
3085
+ prior_node_name: string;
3086
+ node_name: string;
3087
+ threshold?: number | null | undefined;
3088
+ }[];
3089
+ op: "add forward";
3090
+ } | {
3091
+ data: {
3092
+ forward_name: string[];
3093
+ prior_node_name: string;
3094
+ node_name: string;
3095
+ }[];
3096
+ op: "remove forward";
3097
+ } | {
3098
+ json_or_markdown_file: string;
3099
+ } | undefined;
3100
+ repository?: unknown;
3101
+ um?: string | null | undefined;
3102
+ owner_receive?: {
3103
+ received: {
3104
+ id: string;
3105
+ balance: string | number;
3106
+ payment: string;
3107
+ }[];
3108
+ balance: string | number;
3109
+ token_type: string;
3110
+ } | "recently" | {
3111
+ type: string;
3112
+ id: string;
3113
+ content_raw?: any;
3114
+ }[] | undefined;
3115
+ progress_new?: {
3116
+ namedNew?: {
3117
+ name?: string | undefined;
3118
+ replaceExistName?: boolean | undefined;
3119
+ tags?: string[] | undefined;
3120
+ onChain?: boolean | undefined;
3121
+ } | undefined;
3122
+ repository?: unknown;
3123
+ task?: string | null | undefined;
3124
+ progress_namedOperator?: {
3125
+ name: string;
3126
+ op: "set" | "add" | "remove";
3127
+ operators: {
3128
+ entities: {
3129
+ name_or_address?: string | undefined;
3130
+ local_mark_first?: boolean | undefined;
3131
+ }[];
3132
+ check_all_founded?: boolean | undefined;
3133
+ };
3134
+ } | undefined;
3135
+ } | undefined;
3136
+ }>;
3137
+ export declare const CallMachine_InputSchema: z.ZodObject<{
3138
+ data: z.ZodEffects<z.ZodObject<{
3139
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
3140
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3141
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3142
+ onChain: z.ZodOptional<z.ZodBoolean>;
3143
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
3144
+ } & {
3145
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
3146
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3147
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3148
+ onChain: z.ZodOptional<z.ZodBoolean>;
3149
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
3150
+ } & {
3151
+ description: z.ZodOptional<z.ZodString>;
3152
+ }, "strict", z.ZodTypeAny, {
3153
+ name?: string | undefined;
3154
+ description?: string | undefined;
3155
+ replaceExistName?: boolean | undefined;
3156
+ tags?: string[] | undefined;
3157
+ onChain?: boolean | undefined;
3158
+ }, {
3159
+ name?: string | undefined;
3160
+ description?: string | undefined;
3161
+ replaceExistName?: boolean | undefined;
3162
+ tags?: string[] | undefined;
3163
+ onChain?: boolean | undefined;
3164
+ }>]>>;
3165
+ }, "strict", z.ZodTypeAny, {
3166
+ name?: string | undefined;
3167
+ permission?: string | {
3168
+ name?: string | undefined;
3169
+ description?: string | undefined;
3170
+ replaceExistName?: boolean | undefined;
3171
+ tags?: string[] | undefined;
3172
+ onChain?: boolean | undefined;
3173
+ } | undefined;
3174
+ replaceExistName?: boolean | undefined;
3175
+ tags?: string[] | undefined;
3176
+ onChain?: boolean | undefined;
3177
+ }, {
3178
+ name?: string | undefined;
3179
+ permission?: string | {
3180
+ name?: string | undefined;
3181
+ description?: string | undefined;
3182
+ replaceExistName?: boolean | undefined;
3183
+ tags?: string[] | undefined;
3184
+ onChain?: boolean | undefined;
3185
+ } | undefined;
3186
+ replaceExistName?: boolean | undefined;
3187
+ tags?: string[] | undefined;
3188
+ onChain?: boolean | undefined;
3189
+ }>]>;
3190
+ progress_new: z.ZodOptional<z.ZodObject<{
3191
+ task: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
3192
+ repository: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
3193
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
3194
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3195
+ }, "strict", z.ZodTypeAny, {
3196
+ op: "set" | "add";
3197
+ objects: string[];
3198
+ }, {
3199
+ op: "set" | "add";
3200
+ objects: string[];
3201
+ }>, z.ZodObject<{
3202
+ op: z.ZodLiteral<"remove">;
3203
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3204
+ }, "strict", z.ZodTypeAny, {
3205
+ op: "remove";
3206
+ objects: string[];
3207
+ }, {
3208
+ op: "remove";
3209
+ objects: string[];
3210
+ }>, z.ZodObject<{
3211
+ op: z.ZodLiteral<"clear">;
3212
+ }, "strict", z.ZodTypeAny, {
3213
+ op: "clear";
2458
3214
  }, {
2459
3215
  op: "clear";
2460
3216
  }>]>, {
@@ -2480,182 +3236,646 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2480
3236
  name_or_address?: string | undefined;
2481
3237
  local_mark_first?: boolean | undefined;
2482
3238
  }>, "many">;
2483
- check_all_founded: z.ZodOptional<z.ZodBoolean>;
3239
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
3240
+ }, "strict", z.ZodTypeAny, {
3241
+ entities: {
3242
+ name_or_address?: string | undefined;
3243
+ local_mark_first?: boolean | undefined;
3244
+ }[];
3245
+ check_all_founded?: boolean | undefined;
3246
+ }, {
3247
+ entities: {
3248
+ name_or_address?: string | undefined;
3249
+ local_mark_first?: boolean | undefined;
3250
+ }[];
3251
+ check_all_founded?: boolean | undefined;
3252
+ }>;
3253
+ }, "strict", z.ZodTypeAny, {
3254
+ name: string;
3255
+ op: "set" | "add" | "remove";
3256
+ operators: {
3257
+ entities: {
3258
+ name_or_address?: string | undefined;
3259
+ local_mark_first?: boolean | undefined;
3260
+ }[];
3261
+ check_all_founded?: boolean | undefined;
3262
+ };
3263
+ }, {
3264
+ name: string;
3265
+ op: "set" | "add" | "remove";
3266
+ operators: {
3267
+ entities: {
3268
+ name_or_address?: string | undefined;
3269
+ local_mark_first?: boolean | undefined;
3270
+ }[];
3271
+ check_all_founded?: boolean | undefined;
3272
+ };
3273
+ }>>;
3274
+ namedNew: z.ZodOptional<z.ZodObject<{
3275
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3276
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3277
+ onChain: z.ZodOptional<z.ZodBoolean>;
3278
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
3279
+ }, "strict", z.ZodTypeAny, {
3280
+ name?: string | undefined;
3281
+ replaceExistName?: boolean | undefined;
3282
+ tags?: string[] | undefined;
3283
+ onChain?: boolean | undefined;
3284
+ }, {
3285
+ name?: string | undefined;
3286
+ replaceExistName?: boolean | undefined;
3287
+ tags?: string[] | undefined;
3288
+ onChain?: boolean | undefined;
3289
+ }>>;
3290
+ }, "strict", z.ZodTypeAny, {
3291
+ namedNew?: {
3292
+ name?: string | undefined;
3293
+ replaceExistName?: boolean | undefined;
3294
+ tags?: string[] | undefined;
3295
+ onChain?: boolean | undefined;
3296
+ } | undefined;
3297
+ repository?: {
3298
+ op: "set" | "add";
3299
+ objects: string[];
3300
+ } | {
3301
+ op: "remove";
3302
+ objects: string[];
3303
+ } | {
3304
+ op: "clear";
3305
+ } | undefined;
3306
+ task?: string | null | undefined;
3307
+ progress_namedOperator?: {
3308
+ name: string;
3309
+ op: "set" | "add" | "remove";
3310
+ operators: {
3311
+ entities: {
3312
+ name_or_address?: string | undefined;
3313
+ local_mark_first?: boolean | undefined;
3314
+ }[];
3315
+ check_all_founded?: boolean | undefined;
3316
+ };
3317
+ } | undefined;
3318
+ }, {
3319
+ namedNew?: {
3320
+ name?: string | undefined;
3321
+ replaceExistName?: boolean | undefined;
3322
+ tags?: string[] | undefined;
3323
+ onChain?: boolean | undefined;
3324
+ } | undefined;
3325
+ repository?: unknown;
3326
+ task?: string | null | undefined;
3327
+ progress_namedOperator?: {
3328
+ name: string;
3329
+ op: "set" | "add" | "remove";
3330
+ operators: {
3331
+ entities: {
3332
+ name_or_address?: string | undefined;
3333
+ local_mark_first?: boolean | undefined;
3334
+ }[];
3335
+ check_all_founded?: boolean | undefined;
3336
+ };
3337
+ } | undefined;
3338
+ }>>;
3339
+ description: z.ZodOptional<z.ZodString>;
3340
+ repository: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
3341
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
3342
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3343
+ }, "strict", z.ZodTypeAny, {
3344
+ op: "set" | "add";
3345
+ objects: string[];
3346
+ }, {
3347
+ op: "set" | "add";
3348
+ objects: string[];
3349
+ }>, z.ZodObject<{
3350
+ op: z.ZodLiteral<"remove">;
3351
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3352
+ }, "strict", z.ZodTypeAny, {
3353
+ op: "remove";
3354
+ objects: string[];
3355
+ }, {
3356
+ op: "remove";
3357
+ objects: string[];
3358
+ }>, z.ZodObject<{
3359
+ op: z.ZodLiteral<"clear">;
3360
+ }, "strict", z.ZodTypeAny, {
3361
+ op: "clear";
3362
+ }, {
3363
+ op: "clear";
3364
+ }>]>, {
3365
+ op: "set" | "add";
3366
+ objects: string[];
3367
+ } | {
3368
+ op: "remove";
3369
+ objects: string[];
3370
+ } | {
3371
+ op: "clear";
3372
+ }, unknown>>;
3373
+ node: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
3374
+ op: z.ZodLiteral<"add">;
3375
+ nodes: z.ZodArray<z.ZodObject<{
3376
+ name: z.ZodString;
3377
+ pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
3378
+ prev_node: z.ZodString;
3379
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3380
+ forwards: z.ZodArray<z.ZodObject<{
3381
+ name: z.ZodString;
3382
+ namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
3383
+ permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
3384
+ weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3385
+ guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3386
+ guard: z.ZodString;
3387
+ retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
3388
+ }, "strict", z.ZodTypeAny, {
3389
+ guard: string;
3390
+ retained_submission?: (string | number)[] | null | undefined;
3391
+ }, {
3392
+ guard: string;
3393
+ retained_submission?: (string | number)[] | null | undefined;
3394
+ }>, z.ZodString]>>>, string | {
3395
+ guard: string;
3396
+ retained_submission?: (string | number)[] | null | undefined;
3397
+ } | null | undefined, unknown>;
3398
+ }, "strict", z.ZodTypeAny, {
3399
+ name: string;
3400
+ weight: string | number;
3401
+ guard?: string | {
3402
+ guard: string;
3403
+ retained_submission?: (string | number)[] | null | undefined;
3404
+ } | null | undefined;
3405
+ namedOperator?: string | null | undefined;
3406
+ permissionIndex?: string | number | null | undefined;
3407
+ }, {
3408
+ name: string;
3409
+ weight: string | number;
3410
+ guard?: unknown;
3411
+ namedOperator?: string | null | undefined;
3412
+ permissionIndex?: string | number | null | undefined;
3413
+ }>, "many">;
2484
3414
  }, "strict", z.ZodTypeAny, {
2485
- entities: {
2486
- name_or_address?: string | undefined;
2487
- local_mark_first?: boolean | undefined;
3415
+ forwards: {
3416
+ name: string;
3417
+ weight: string | number;
3418
+ guard?: string | {
3419
+ guard: string;
3420
+ retained_submission?: (string | number)[] | null | undefined;
3421
+ } | null | undefined;
3422
+ namedOperator?: string | null | undefined;
3423
+ permissionIndex?: string | number | null | undefined;
2488
3424
  }[];
2489
- check_all_founded?: boolean | undefined;
3425
+ threshold: string | number;
3426
+ prev_node: string;
2490
3427
  }, {
2491
- entities: {
2492
- name_or_address?: string | undefined;
2493
- local_mark_first?: boolean | undefined;
3428
+ forwards: {
3429
+ name: string;
3430
+ weight: string | number;
3431
+ guard?: unknown;
3432
+ namedOperator?: string | null | undefined;
3433
+ permissionIndex?: string | number | null | undefined;
2494
3434
  }[];
2495
- check_all_founded?: boolean | undefined;
2496
- }>;
3435
+ prev_node: string;
3436
+ threshold?: string | number | undefined;
3437
+ }>, {
3438
+ forwards: {
3439
+ name: string;
3440
+ weight: string | number;
3441
+ guard?: string | {
3442
+ guard: string;
3443
+ retained_submission?: (string | number)[] | null | undefined;
3444
+ } | null | undefined;
3445
+ namedOperator?: string | null | undefined;
3446
+ permissionIndex?: string | number | null | undefined;
3447
+ }[];
3448
+ threshold: string | number;
3449
+ prev_node: string;
3450
+ }, {
3451
+ forwards: {
3452
+ name: string;
3453
+ weight: string | number;
3454
+ guard?: unknown;
3455
+ namedOperator?: string | null | undefined;
3456
+ permissionIndex?: string | number | null | undefined;
3457
+ }[];
3458
+ prev_node: string;
3459
+ threshold?: string | number | undefined;
3460
+ }>, "many">;
2497
3461
  }, "strict", z.ZodTypeAny, {
2498
3462
  name: string;
2499
- op: "set" | "add" | "remove";
2500
- operators: {
2501
- entities: {
2502
- name_or_address?: string | undefined;
2503
- local_mark_first?: boolean | undefined;
3463
+ pairs: {
3464
+ forwards: {
3465
+ name: string;
3466
+ weight: string | number;
3467
+ guard?: string | {
3468
+ guard: string;
3469
+ retained_submission?: (string | number)[] | null | undefined;
3470
+ } | null | undefined;
3471
+ namedOperator?: string | null | undefined;
3472
+ permissionIndex?: string | number | null | undefined;
2504
3473
  }[];
2505
- check_all_founded?: boolean | undefined;
2506
- };
3474
+ threshold: string | number;
3475
+ prev_node: string;
3476
+ }[];
2507
3477
  }, {
2508
3478
  name: string;
2509
- op: "set" | "add" | "remove";
2510
- operators: {
2511
- entities: {
2512
- name_or_address?: string | undefined;
2513
- local_mark_first?: boolean | undefined;
3479
+ pairs: {
3480
+ forwards: {
3481
+ name: string;
3482
+ weight: string | number;
3483
+ guard?: unknown;
3484
+ namedOperator?: string | null | undefined;
3485
+ permissionIndex?: string | number | null | undefined;
2514
3486
  }[];
2515
- check_all_founded?: boolean | undefined;
2516
- };
2517
- }>>;
2518
- namedNew: z.ZodOptional<z.ZodObject<{
2519
- name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2520
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2521
- onChain: z.ZodOptional<z.ZodBoolean>;
2522
- replaceExistName: z.ZodOptional<z.ZodBoolean>;
3487
+ prev_node: string;
3488
+ threshold?: string | number | undefined;
3489
+ }[];
3490
+ }>, "many">;
3491
+ bReplace: z.ZodOptional<z.ZodBoolean>;
3492
+ }, "strict", z.ZodTypeAny, {
3493
+ op: "add";
3494
+ nodes: {
3495
+ name: string;
3496
+ pairs: {
3497
+ forwards: {
3498
+ name: string;
3499
+ weight: string | number;
3500
+ guard?: string | {
3501
+ guard: string;
3502
+ retained_submission?: (string | number)[] | null | undefined;
3503
+ } | null | undefined;
3504
+ namedOperator?: string | null | undefined;
3505
+ permissionIndex?: string | number | null | undefined;
3506
+ }[];
3507
+ threshold: string | number;
3508
+ prev_node: string;
3509
+ }[];
3510
+ }[];
3511
+ bReplace?: boolean | undefined;
3512
+ }, {
3513
+ op: "add";
3514
+ nodes: {
3515
+ name: string;
3516
+ pairs: {
3517
+ forwards: {
3518
+ name: string;
3519
+ weight: string | number;
3520
+ guard?: unknown;
3521
+ namedOperator?: string | null | undefined;
3522
+ permissionIndex?: string | number | null | undefined;
3523
+ }[];
3524
+ prev_node: string;
3525
+ threshold?: string | number | undefined;
3526
+ }[];
3527
+ }[];
3528
+ bReplace?: boolean | undefined;
3529
+ }>, z.ZodObject<{
3530
+ op: z.ZodLiteral<"set">;
3531
+ nodes: z.ZodArray<z.ZodObject<{
3532
+ name: z.ZodString;
3533
+ pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
3534
+ prev_node: z.ZodString;
3535
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
3536
+ forwards: z.ZodArray<z.ZodObject<{
3537
+ name: z.ZodString;
3538
+ namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
3539
+ permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
3540
+ weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3541
+ guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3542
+ guard: z.ZodString;
3543
+ retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
3544
+ }, "strict", z.ZodTypeAny, {
3545
+ guard: string;
3546
+ retained_submission?: (string | number)[] | null | undefined;
3547
+ }, {
3548
+ guard: string;
3549
+ retained_submission?: (string | number)[] | null | undefined;
3550
+ }>, z.ZodString]>>>, string | {
3551
+ guard: string;
3552
+ retained_submission?: (string | number)[] | null | undefined;
3553
+ } | null | undefined, unknown>;
3554
+ }, "strict", z.ZodTypeAny, {
3555
+ name: string;
3556
+ weight: string | number;
3557
+ guard?: string | {
3558
+ guard: string;
3559
+ retained_submission?: (string | number)[] | null | undefined;
3560
+ } | null | undefined;
3561
+ namedOperator?: string | null | undefined;
3562
+ permissionIndex?: string | number | null | undefined;
3563
+ }, {
3564
+ name: string;
3565
+ weight: string | number;
3566
+ guard?: unknown;
3567
+ namedOperator?: string | null | undefined;
3568
+ permissionIndex?: string | number | null | undefined;
3569
+ }>, "many">;
3570
+ }, "strict", z.ZodTypeAny, {
3571
+ forwards: {
3572
+ name: string;
3573
+ weight: string | number;
3574
+ guard?: string | {
3575
+ guard: string;
3576
+ retained_submission?: (string | number)[] | null | undefined;
3577
+ } | null | undefined;
3578
+ namedOperator?: string | null | undefined;
3579
+ permissionIndex?: string | number | null | undefined;
3580
+ }[];
3581
+ threshold: string | number;
3582
+ prev_node: string;
3583
+ }, {
3584
+ forwards: {
3585
+ name: string;
3586
+ weight: string | number;
3587
+ guard?: unknown;
3588
+ namedOperator?: string | null | undefined;
3589
+ permissionIndex?: string | number | null | undefined;
3590
+ }[];
3591
+ prev_node: string;
3592
+ threshold?: string | number | undefined;
3593
+ }>, {
3594
+ forwards: {
3595
+ name: string;
3596
+ weight: string | number;
3597
+ guard?: string | {
3598
+ guard: string;
3599
+ retained_submission?: (string | number)[] | null | undefined;
3600
+ } | null | undefined;
3601
+ namedOperator?: string | null | undefined;
3602
+ permissionIndex?: string | number | null | undefined;
3603
+ }[];
3604
+ threshold: string | number;
3605
+ prev_node: string;
3606
+ }, {
3607
+ forwards: {
3608
+ name: string;
3609
+ weight: string | number;
3610
+ guard?: unknown;
3611
+ namedOperator?: string | null | undefined;
3612
+ permissionIndex?: string | number | null | undefined;
3613
+ }[];
3614
+ prev_node: string;
3615
+ threshold?: string | number | undefined;
3616
+ }>, "many">;
2523
3617
  }, "strict", z.ZodTypeAny, {
2524
- name?: string | undefined;
2525
- replaceExistName?: boolean | undefined;
2526
- tags?: string[] | undefined;
2527
- onChain?: boolean | undefined;
3618
+ name: string;
3619
+ pairs: {
3620
+ forwards: {
3621
+ name: string;
3622
+ weight: string | number;
3623
+ guard?: string | {
3624
+ guard: string;
3625
+ retained_submission?: (string | number)[] | null | undefined;
3626
+ } | null | undefined;
3627
+ namedOperator?: string | null | undefined;
3628
+ permissionIndex?: string | number | null | undefined;
3629
+ }[];
3630
+ threshold: string | number;
3631
+ prev_node: string;
3632
+ }[];
2528
3633
  }, {
2529
- name?: string | undefined;
2530
- replaceExistName?: boolean | undefined;
2531
- tags?: string[] | undefined;
2532
- onChain?: boolean | undefined;
2533
- }>>;
3634
+ name: string;
3635
+ pairs: {
3636
+ forwards: {
3637
+ name: string;
3638
+ weight: string | number;
3639
+ guard?: unknown;
3640
+ namedOperator?: string | null | undefined;
3641
+ permissionIndex?: string | number | null | undefined;
3642
+ }[];
3643
+ prev_node: string;
3644
+ threshold?: string | number | undefined;
3645
+ }[];
3646
+ }>, "many">;
3647
+ bReplace: z.ZodOptional<z.ZodBoolean>;
2534
3648
  }, "strict", z.ZodTypeAny, {
2535
- namedNew?: {
2536
- name?: string | undefined;
2537
- replaceExistName?: boolean | undefined;
2538
- tags?: string[] | undefined;
2539
- onChain?: boolean | undefined;
2540
- } | undefined;
2541
- repository?: {
2542
- op: "set" | "add";
2543
- objects: string[];
2544
- } | {
2545
- op: "remove";
2546
- objects: string[];
2547
- } | {
2548
- op: "clear";
2549
- } | undefined;
2550
- task?: string | null | undefined;
2551
- progress_namedOperator?: {
3649
+ op: "set";
3650
+ nodes: {
2552
3651
  name: string;
2553
- op: "set" | "add" | "remove";
2554
- operators: {
2555
- entities: {
2556
- name_or_address?: string | undefined;
2557
- local_mark_first?: boolean | undefined;
3652
+ pairs: {
3653
+ forwards: {
3654
+ name: string;
3655
+ weight: string | number;
3656
+ guard?: string | {
3657
+ guard: string;
3658
+ retained_submission?: (string | number)[] | null | undefined;
3659
+ } | null | undefined;
3660
+ namedOperator?: string | null | undefined;
3661
+ permissionIndex?: string | number | null | undefined;
2558
3662
  }[];
2559
- check_all_founded?: boolean | undefined;
2560
- };
2561
- } | undefined;
3663
+ threshold: string | number;
3664
+ prev_node: string;
3665
+ }[];
3666
+ }[];
3667
+ bReplace?: boolean | undefined;
2562
3668
  }, {
2563
- namedNew?: {
2564
- name?: string | undefined;
2565
- replaceExistName?: boolean | undefined;
2566
- tags?: string[] | undefined;
2567
- onChain?: boolean | undefined;
2568
- } | undefined;
2569
- repository?: unknown;
2570
- task?: string | null | undefined;
2571
- progress_namedOperator?: {
3669
+ op: "set";
3670
+ nodes: {
2572
3671
  name: string;
2573
- op: "set" | "add" | "remove";
2574
- operators: {
2575
- entities: {
2576
- name_or_address?: string | undefined;
2577
- local_mark_first?: boolean | undefined;
3672
+ pairs: {
3673
+ forwards: {
3674
+ name: string;
3675
+ weight: string | number;
3676
+ guard?: unknown;
3677
+ namedOperator?: string | null | undefined;
3678
+ permissionIndex?: string | number | null | undefined;
2578
3679
  }[];
2579
- check_all_founded?: boolean | undefined;
2580
- };
2581
- } | undefined;
2582
- }>>;
2583
- description: z.ZodOptional<z.ZodString>;
2584
- repository: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2585
- op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2586
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2587
- }, "strict", z.ZodTypeAny, {
2588
- op: "set" | "add";
2589
- objects: string[];
2590
- }, {
2591
- op: "set" | "add";
2592
- objects: string[];
3680
+ prev_node: string;
3681
+ threshold?: string | number | undefined;
3682
+ }[];
3683
+ }[];
3684
+ bReplace?: boolean | undefined;
2593
3685
  }>, z.ZodObject<{
2594
3686
  op: z.ZodLiteral<"remove">;
2595
- objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3687
+ nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2596
3688
  }, "strict", z.ZodTypeAny, {
2597
3689
  op: "remove";
2598
- objects: string[];
3690
+ nodes: string[];
2599
3691
  }, {
2600
3692
  op: "remove";
2601
- objects: string[];
3693
+ nodes: string[];
2602
3694
  }>, z.ZodObject<{
2603
3695
  op: z.ZodLiteral<"clear">;
2604
3696
  }, "strict", z.ZodTypeAny, {
2605
- op: "clear";
3697
+ op: "clear";
3698
+ }, {
3699
+ op: "clear";
3700
+ }>, z.ZodObject<{
3701
+ op: z.ZodLiteral<"exchange">;
3702
+ node_one: z.ZodEffects<z.ZodString, string, string>;
3703
+ node_other: z.ZodEffects<z.ZodString, string, string>;
3704
+ }, "strict", z.ZodTypeAny, {
3705
+ op: "exchange";
3706
+ node_one: string;
3707
+ node_other: string;
3708
+ }, {
3709
+ op: "exchange";
3710
+ node_one: string;
3711
+ node_other: string;
3712
+ }>, z.ZodObject<{
3713
+ op: z.ZodLiteral<"rename">;
3714
+ node_name_old: z.ZodEffects<z.ZodString, string, string>;
3715
+ node_name_new: z.ZodEffects<z.ZodString, string, string>;
3716
+ }, "strict", z.ZodTypeAny, {
3717
+ op: "rename";
3718
+ node_name_old: string;
3719
+ node_name_new: string;
3720
+ }, {
3721
+ op: "rename";
3722
+ node_name_old: string;
3723
+ node_name_new: string;
3724
+ }>, z.ZodObject<{
3725
+ op: z.ZodLiteral<"remove prior node">;
3726
+ pairs: z.ZodArray<z.ZodObject<{
3727
+ prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3728
+ node_name: z.ZodEffects<z.ZodString, string, string>;
3729
+ }, "strict", z.ZodTypeAny, {
3730
+ prior_node_name: string[];
3731
+ node_name: string;
3732
+ }, {
3733
+ prior_node_name: string[];
3734
+ node_name: string;
3735
+ }>, "many">;
3736
+ }, "strict", z.ZodTypeAny, {
3737
+ op: "remove prior node";
3738
+ pairs: {
3739
+ prior_node_name: string[];
3740
+ node_name: string;
3741
+ }[];
3742
+ }, {
3743
+ op: "remove prior node";
3744
+ pairs: {
3745
+ prior_node_name: string[];
3746
+ node_name: string;
3747
+ }[];
3748
+ }>, z.ZodObject<{
3749
+ op: z.ZodLiteral<"add forward">;
3750
+ data: z.ZodArray<z.ZodObject<{
3751
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
3752
+ node_name: z.ZodEffects<z.ZodString, string, string>;
3753
+ forward: z.ZodArray<z.ZodObject<{
3754
+ name: z.ZodString;
3755
+ namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
3756
+ permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
3757
+ weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3758
+ guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3759
+ guard: z.ZodString;
3760
+ retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
3761
+ }, "strict", z.ZodTypeAny, {
3762
+ guard: string;
3763
+ retained_submission?: (string | number)[] | null | undefined;
3764
+ }, {
3765
+ guard: string;
3766
+ retained_submission?: (string | number)[] | null | undefined;
3767
+ }>, z.ZodString]>>>, string | {
3768
+ guard: string;
3769
+ retained_submission?: (string | number)[] | null | undefined;
3770
+ } | null | undefined, unknown>;
3771
+ }, "strict", z.ZodTypeAny, {
3772
+ name: string;
3773
+ weight: string | number;
3774
+ guard?: string | {
3775
+ guard: string;
3776
+ retained_submission?: (string | number)[] | null | undefined;
3777
+ } | null | undefined;
3778
+ namedOperator?: string | null | undefined;
3779
+ permissionIndex?: string | number | null | undefined;
3780
+ }, {
3781
+ name: string;
3782
+ weight: string | number;
3783
+ guard?: unknown;
3784
+ namedOperator?: string | null | undefined;
3785
+ permissionIndex?: string | number | null | undefined;
3786
+ }>, "many">;
3787
+ threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
3788
+ }, "strict", z.ZodTypeAny, {
3789
+ forward: {
3790
+ name: string;
3791
+ weight: string | number;
3792
+ guard?: string | {
3793
+ guard: string;
3794
+ retained_submission?: (string | number)[] | null | undefined;
3795
+ } | null | undefined;
3796
+ namedOperator?: string | null | undefined;
3797
+ permissionIndex?: string | number | null | undefined;
3798
+ }[];
3799
+ prior_node_name: string;
3800
+ node_name: string;
3801
+ threshold?: number | null | undefined;
3802
+ }, {
3803
+ forward: {
3804
+ name: string;
3805
+ weight: string | number;
3806
+ guard?: unknown;
3807
+ namedOperator?: string | null | undefined;
3808
+ permissionIndex?: string | number | null | undefined;
3809
+ }[];
3810
+ prior_node_name: string;
3811
+ node_name: string;
3812
+ threshold?: number | null | undefined;
3813
+ }>, "many">;
3814
+ }, "strict", z.ZodTypeAny, {
3815
+ data: {
3816
+ forward: {
3817
+ name: string;
3818
+ weight: string | number;
3819
+ guard?: string | {
3820
+ guard: string;
3821
+ retained_submission?: (string | number)[] | null | undefined;
3822
+ } | null | undefined;
3823
+ namedOperator?: string | null | undefined;
3824
+ permissionIndex?: string | number | null | undefined;
3825
+ }[];
3826
+ prior_node_name: string;
3827
+ node_name: string;
3828
+ threshold?: number | null | undefined;
3829
+ }[];
3830
+ op: "add forward";
3831
+ }, {
3832
+ data: {
3833
+ forward: {
3834
+ name: string;
3835
+ weight: string | number;
3836
+ guard?: unknown;
3837
+ namedOperator?: string | null | undefined;
3838
+ permissionIndex?: string | number | null | undefined;
3839
+ }[];
3840
+ prior_node_name: string;
3841
+ node_name: string;
3842
+ threshold?: number | null | undefined;
3843
+ }[];
3844
+ op: "add forward";
3845
+ }>, z.ZodObject<{
3846
+ op: z.ZodLiteral<"remove forward">;
3847
+ data: z.ZodArray<z.ZodObject<{
3848
+ prior_node_name: z.ZodEffects<z.ZodString, string, string>;
3849
+ node_name: z.ZodEffects<z.ZodString, string, string>;
3850
+ forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3851
+ }, "strict", z.ZodTypeAny, {
3852
+ forward_name: string[];
3853
+ prior_node_name: string;
3854
+ node_name: string;
3855
+ }, {
3856
+ forward_name: string[];
3857
+ prior_node_name: string;
3858
+ node_name: string;
3859
+ }>, "many">;
3860
+ }, "strict", z.ZodTypeAny, {
3861
+ data: {
3862
+ forward_name: string[];
3863
+ prior_node_name: string;
3864
+ node_name: string;
3865
+ }[];
3866
+ op: "remove forward";
2606
3867
  }, {
2607
- op: "clear";
3868
+ data: {
3869
+ forward_name: string[];
3870
+ prior_node_name: string;
3871
+ node_name: string;
3872
+ }[];
3873
+ op: "remove forward";
2608
3874
  }>]>, {
2609
- op: "set" | "add";
2610
- objects: string[];
2611
- } | {
2612
- op: "remove";
2613
- objects: string[];
2614
- } | {
2615
- op: "clear";
2616
- }, unknown>>;
2617
- node: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
2618
- op: z.ZodLiteral<"add">;
2619
- nodes: z.ZodArray<z.ZodObject<{
2620
- name: z.ZodString;
2621
- pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
2622
- prev_node: z.ZodString;
2623
- threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2624
- forwards: z.ZodArray<z.ZodObject<{
2625
- name: z.ZodString;
2626
- namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
2627
- permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
2628
- weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2629
- guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2630
- guard: z.ZodString;
2631
- retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
2632
- }, "strict", z.ZodTypeAny, {
2633
- guard: string;
2634
- retained_submission?: (string | number)[] | null | undefined;
2635
- }, {
2636
- guard: string;
2637
- retained_submission?: (string | number)[] | null | undefined;
2638
- }>, z.ZodString]>>>, string | {
2639
- guard: string;
2640
- retained_submission?: (string | number)[] | null | undefined;
2641
- } | null | undefined, unknown>;
2642
- }, "strict", z.ZodTypeAny, {
2643
- name: string;
2644
- weight: string | number;
2645
- guard?: string | {
2646
- guard: string;
2647
- retained_submission?: (string | number)[] | null | undefined;
2648
- } | null | undefined;
2649
- namedOperator?: string | null | undefined;
2650
- permissionIndex?: string | number | null | undefined;
2651
- }, {
2652
- name: string;
2653
- weight: string | number;
2654
- guard?: unknown;
2655
- namedOperator?: string | null | undefined;
2656
- permissionIndex?: string | number | null | undefined;
2657
- }>, "many">;
2658
- }, "strict", z.ZodTypeAny, {
3875
+ op: "add";
3876
+ nodes: {
3877
+ name: string;
3878
+ pairs: {
2659
3879
  forwards: {
2660
3880
  name: string;
2661
3881
  weight: string | number;
@@ -2668,17 +3888,14 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2668
3888
  }[];
2669
3889
  threshold: string | number;
2670
3890
  prev_node: string;
2671
- }, {
2672
- forwards: {
2673
- name: string;
2674
- weight: string | number;
2675
- guard?: unknown;
2676
- namedOperator?: string | null | undefined;
2677
- permissionIndex?: string | number | null | undefined;
2678
- }[];
2679
- prev_node: string;
2680
- threshold?: string | number | undefined;
2681
- }>, {
3891
+ }[];
3892
+ }[];
3893
+ bReplace?: boolean | undefined;
3894
+ } | {
3895
+ op: "set";
3896
+ nodes: {
3897
+ name: string;
3898
+ pairs: {
2682
3899
  forwards: {
2683
3900
  name: string;
2684
3901
  weight: string | number;
@@ -2691,34 +3908,72 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2691
3908
  }[];
2692
3909
  threshold: string | number;
2693
3910
  prev_node: string;
2694
- }, {
2695
- forwards: {
2696
- name: string;
2697
- weight: string | number;
2698
- guard?: unknown;
2699
- namedOperator?: string | null | undefined;
2700
- permissionIndex?: string | number | null | undefined;
2701
- }[];
2702
- prev_node: string;
2703
- threshold?: string | number | undefined;
2704
- }>, "many">;
2705
- }, "strict", z.ZodTypeAny, {
3911
+ }[];
3912
+ }[];
3913
+ bReplace?: boolean | undefined;
3914
+ } | {
3915
+ op: "remove";
3916
+ nodes: string[];
3917
+ } | {
3918
+ op: "clear";
3919
+ } | {
3920
+ op: "exchange";
3921
+ node_one: string;
3922
+ node_other: string;
3923
+ } | {
3924
+ op: "rename";
3925
+ node_name_old: string;
3926
+ node_name_new: string;
3927
+ } | {
3928
+ op: "remove prior node";
3929
+ pairs: {
3930
+ prior_node_name: string[];
3931
+ node_name: string;
3932
+ }[];
3933
+ } | {
3934
+ data: {
3935
+ forward: {
3936
+ name: string;
3937
+ weight: string | number;
3938
+ guard?: string | {
3939
+ guard: string;
3940
+ retained_submission?: (string | number)[] | null | undefined;
3941
+ } | null | undefined;
3942
+ namedOperator?: string | null | undefined;
3943
+ permissionIndex?: string | number | null | undefined;
3944
+ }[];
3945
+ prior_node_name: string;
3946
+ node_name: string;
3947
+ threshold?: number | null | undefined;
3948
+ }[];
3949
+ op: "add forward";
3950
+ } | {
3951
+ data: {
3952
+ forward_name: string[];
3953
+ prior_node_name: string;
3954
+ node_name: string;
3955
+ }[];
3956
+ op: "remove forward";
3957
+ }, {
3958
+ op: "add";
3959
+ nodes: {
2706
3960
  name: string;
2707
3961
  pairs: {
2708
3962
  forwards: {
2709
3963
  name: string;
2710
3964
  weight: string | number;
2711
- guard?: string | {
2712
- guard: string;
2713
- retained_submission?: (string | number)[] | null | undefined;
2714
- } | null | undefined;
3965
+ guard?: unknown;
2715
3966
  namedOperator?: string | null | undefined;
2716
3967
  permissionIndex?: string | number | null | undefined;
2717
3968
  }[];
2718
- threshold: string | number;
2719
3969
  prev_node: string;
3970
+ threshold?: string | number | undefined;
2720
3971
  }[];
2721
- }, {
3972
+ }[];
3973
+ bReplace?: boolean | undefined;
3974
+ } | {
3975
+ op: "set";
3976
+ nodes: {
2722
3977
  name: string;
2723
3978
  pairs: {
2724
3979
  forwards: {
@@ -2731,9 +3986,121 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2731
3986
  prev_node: string;
2732
3987
  threshold?: string | number | undefined;
2733
3988
  }[];
3989
+ }[];
3990
+ bReplace?: boolean | undefined;
3991
+ } | {
3992
+ op: "remove";
3993
+ nodes: string[];
3994
+ } | {
3995
+ op: "clear";
3996
+ } | {
3997
+ op: "exchange";
3998
+ node_one: string;
3999
+ node_other: string;
4000
+ } | {
4001
+ op: "rename";
4002
+ node_name_old: string;
4003
+ node_name_new: string;
4004
+ } | {
4005
+ op: "remove prior node";
4006
+ pairs: {
4007
+ prior_node_name: string[];
4008
+ node_name: string;
4009
+ }[];
4010
+ } | {
4011
+ data: {
4012
+ forward: {
4013
+ name: string;
4014
+ weight: string | number;
4015
+ guard?: unknown;
4016
+ namedOperator?: string | null | undefined;
4017
+ permissionIndex?: string | number | null | undefined;
4018
+ }[];
4019
+ prior_node_name: string;
4020
+ node_name: string;
4021
+ threshold?: number | null | undefined;
4022
+ }[];
4023
+ op: "add forward";
4024
+ } | {
4025
+ data: {
4026
+ forward_name: string[];
4027
+ prior_node_name: string;
4028
+ node_name: string;
4029
+ }[];
4030
+ op: "remove forward";
4031
+ }>, z.ZodObject<{
4032
+ json_or_markdown_file: z.ZodString;
4033
+ }, "strict", z.ZodTypeAny, {
4034
+ json_or_markdown_file: string;
4035
+ }, {
4036
+ json_or_markdown_file: string;
4037
+ }>]>>;
4038
+ pause: z.ZodOptional<z.ZodBoolean>;
4039
+ publish: z.ZodOptional<z.ZodBoolean>;
4040
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
4041
+ id: z.ZodString;
4042
+ type: z.ZodString;
4043
+ content_raw: z.ZodOptional<z.ZodAny>;
4044
+ }, "strict", z.ZodTypeAny, {
4045
+ type: string;
4046
+ id: string;
4047
+ content_raw?: any;
4048
+ }, {
4049
+ type: string;
4050
+ id: string;
4051
+ content_raw?: any;
4052
+ }>, "many">, z.ZodObject<{
4053
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4054
+ token_type: z.ZodEffects<z.ZodString, string, string>;
4055
+ received: z.ZodArray<z.ZodObject<{
4056
+ id: z.ZodString;
4057
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4058
+ payment: z.ZodString;
4059
+ }, "strict", z.ZodTypeAny, {
4060
+ id: string;
4061
+ balance: string | number;
4062
+ payment: string;
4063
+ }, {
4064
+ id: string;
4065
+ balance: string | number;
4066
+ payment: string;
2734
4067
  }>, "many">;
2735
- bReplace: z.ZodOptional<z.ZodBoolean>;
2736
4068
  }, "strict", z.ZodTypeAny, {
4069
+ received: {
4070
+ id: string;
4071
+ balance: string | number;
4072
+ payment: string;
4073
+ }[];
4074
+ balance: string | number;
4075
+ token_type: string;
4076
+ }, {
4077
+ received: {
4078
+ id: string;
4079
+ balance: string | number;
4080
+ payment: string;
4081
+ }[];
4082
+ balance: string | number;
4083
+ token_type: string;
4084
+ }>, z.ZodLiteral<"recently">]>>;
4085
+ um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
4086
+ }, "strict", z.ZodTypeAny, {
4087
+ object: string | {
4088
+ name?: string | undefined;
4089
+ permission?: string | {
4090
+ name?: string | undefined;
4091
+ description?: string | undefined;
4092
+ replaceExistName?: boolean | undefined;
4093
+ tags?: string[] | undefined;
4094
+ onChain?: boolean | undefined;
4095
+ } | undefined;
4096
+ replaceExistName?: boolean | undefined;
4097
+ tags?: string[] | undefined;
4098
+ onChain?: boolean | undefined;
4099
+ };
4100
+ description?: string | undefined;
4101
+ publish?: boolean | undefined;
4102
+ pause?: boolean | undefined;
4103
+ node?: {
2737
4104
  op: "add";
2738
4105
  nodes: {
2739
4106
  name: string;
@@ -2753,112 +4120,9 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2753
4120
  }[];
2754
4121
  }[];
2755
4122
  bReplace?: boolean | undefined;
2756
- }, {
2757
- op: "add";
4123
+ } | {
4124
+ op: "set";
2758
4125
  nodes: {
2759
- name: string;
2760
- pairs: {
2761
- forwards: {
2762
- name: string;
2763
- weight: string | number;
2764
- guard?: unknown;
2765
- namedOperator?: string | null | undefined;
2766
- permissionIndex?: string | number | null | undefined;
2767
- }[];
2768
- prev_node: string;
2769
- threshold?: string | number | undefined;
2770
- }[];
2771
- }[];
2772
- bReplace?: boolean | undefined;
2773
- }>, z.ZodObject<{
2774
- op: z.ZodLiteral<"set">;
2775
- nodes: z.ZodArray<z.ZodObject<{
2776
- name: z.ZodString;
2777
- pairs: z.ZodArray<z.ZodEffects<z.ZodObject<{
2778
- prev_node: z.ZodString;
2779
- threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2780
- forwards: z.ZodArray<z.ZodObject<{
2781
- name: z.ZodString;
2782
- namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
2783
- permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
2784
- weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2785
- guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2786
- guard: z.ZodString;
2787
- retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
2788
- }, "strict", z.ZodTypeAny, {
2789
- guard: string;
2790
- retained_submission?: (string | number)[] | null | undefined;
2791
- }, {
2792
- guard: string;
2793
- retained_submission?: (string | number)[] | null | undefined;
2794
- }>, z.ZodString]>>>, string | {
2795
- guard: string;
2796
- retained_submission?: (string | number)[] | null | undefined;
2797
- } | null | undefined, unknown>;
2798
- }, "strict", z.ZodTypeAny, {
2799
- name: string;
2800
- weight: string | number;
2801
- guard?: string | {
2802
- guard: string;
2803
- retained_submission?: (string | number)[] | null | undefined;
2804
- } | null | undefined;
2805
- namedOperator?: string | null | undefined;
2806
- permissionIndex?: string | number | null | undefined;
2807
- }, {
2808
- name: string;
2809
- weight: string | number;
2810
- guard?: unknown;
2811
- namedOperator?: string | null | undefined;
2812
- permissionIndex?: string | number | null | undefined;
2813
- }>, "many">;
2814
- }, "strict", z.ZodTypeAny, {
2815
- forwards: {
2816
- name: string;
2817
- weight: string | number;
2818
- guard?: string | {
2819
- guard: string;
2820
- retained_submission?: (string | number)[] | null | undefined;
2821
- } | null | undefined;
2822
- namedOperator?: string | null | undefined;
2823
- permissionIndex?: string | number | null | undefined;
2824
- }[];
2825
- threshold: string | number;
2826
- prev_node: string;
2827
- }, {
2828
- forwards: {
2829
- name: string;
2830
- weight: string | number;
2831
- guard?: unknown;
2832
- namedOperator?: string | null | undefined;
2833
- permissionIndex?: string | number | null | undefined;
2834
- }[];
2835
- prev_node: string;
2836
- threshold?: string | number | undefined;
2837
- }>, {
2838
- forwards: {
2839
- name: string;
2840
- weight: string | number;
2841
- guard?: string | {
2842
- guard: string;
2843
- retained_submission?: (string | number)[] | null | undefined;
2844
- } | null | undefined;
2845
- namedOperator?: string | null | undefined;
2846
- permissionIndex?: string | number | null | undefined;
2847
- }[];
2848
- threshold: string | number;
2849
- prev_node: string;
2850
- }, {
2851
- forwards: {
2852
- name: string;
2853
- weight: string | number;
2854
- guard?: unknown;
2855
- namedOperator?: string | null | undefined;
2856
- permissionIndex?: string | number | null | undefined;
2857
- }[];
2858
- prev_node: string;
2859
- threshold?: string | number | undefined;
2860
- }>, "many">;
2861
- }, "strict", z.ZodTypeAny, {
2862
4126
  name: string;
2863
4127
  pairs: {
2864
4128
  forwards: {
@@ -2874,42 +4138,141 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2874
4138
  threshold: string | number;
2875
4139
  prev_node: string;
2876
4140
  }[];
2877
- }, {
4141
+ }[];
4142
+ bReplace?: boolean | undefined;
4143
+ } | {
4144
+ op: "remove";
4145
+ nodes: string[];
4146
+ } | {
4147
+ op: "clear";
4148
+ } | {
4149
+ op: "exchange";
4150
+ node_one: string;
4151
+ node_other: string;
4152
+ } | {
4153
+ op: "rename";
4154
+ node_name_old: string;
4155
+ node_name_new: string;
4156
+ } | {
4157
+ op: "remove prior node";
4158
+ pairs: {
4159
+ prior_node_name: string[];
4160
+ node_name: string;
4161
+ }[];
4162
+ } | {
4163
+ data: {
4164
+ forward: {
4165
+ name: string;
4166
+ weight: string | number;
4167
+ guard?: string | {
4168
+ guard: string;
4169
+ retained_submission?: (string | number)[] | null | undefined;
4170
+ } | null | undefined;
4171
+ namedOperator?: string | null | undefined;
4172
+ permissionIndex?: string | number | null | undefined;
4173
+ }[];
4174
+ prior_node_name: string;
4175
+ node_name: string;
4176
+ threshold?: number | null | undefined;
4177
+ }[];
4178
+ op: "add forward";
4179
+ } | {
4180
+ data: {
4181
+ forward_name: string[];
4182
+ prior_node_name: string;
4183
+ node_name: string;
4184
+ }[];
4185
+ op: "remove forward";
4186
+ } | {
4187
+ json_or_markdown_file: string;
4188
+ } | undefined;
4189
+ repository?: {
4190
+ op: "set" | "add";
4191
+ objects: string[];
4192
+ } | {
4193
+ op: "remove";
4194
+ objects: string[];
4195
+ } | {
4196
+ op: "clear";
4197
+ } | undefined;
4198
+ um?: string | null | undefined;
4199
+ owner_receive?: {
4200
+ received: {
4201
+ id: string;
4202
+ balance: string | number;
4203
+ payment: string;
4204
+ }[];
4205
+ balance: string | number;
4206
+ token_type: string;
4207
+ } | "recently" | {
4208
+ type: string;
4209
+ id: string;
4210
+ content_raw?: any;
4211
+ }[] | undefined;
4212
+ progress_new?: {
4213
+ namedNew?: {
4214
+ name?: string | undefined;
4215
+ replaceExistName?: boolean | undefined;
4216
+ tags?: string[] | undefined;
4217
+ onChain?: boolean | undefined;
4218
+ } | undefined;
4219
+ repository?: {
4220
+ op: "set" | "add";
4221
+ objects: string[];
4222
+ } | {
4223
+ op: "remove";
4224
+ objects: string[];
4225
+ } | {
4226
+ op: "clear";
4227
+ } | undefined;
4228
+ task?: string | null | undefined;
4229
+ progress_namedOperator?: {
2878
4230
  name: string;
2879
- pairs: {
2880
- forwards: {
2881
- name: string;
2882
- weight: string | number;
2883
- guard?: unknown;
2884
- namedOperator?: string | null | undefined;
2885
- permissionIndex?: string | number | null | undefined;
4231
+ op: "set" | "add" | "remove";
4232
+ operators: {
4233
+ entities: {
4234
+ name_or_address?: string | undefined;
4235
+ local_mark_first?: boolean | undefined;
2886
4236
  }[];
2887
- prev_node: string;
2888
- threshold?: string | number | undefined;
2889
- }[];
2890
- }>, "many">;
2891
- bReplace: z.ZodOptional<z.ZodBoolean>;
2892
- }, "strict", z.ZodTypeAny, {
2893
- op: "set";
4237
+ check_all_founded?: boolean | undefined;
4238
+ };
4239
+ } | undefined;
4240
+ } | undefined;
4241
+ }, {
4242
+ object: string | {
4243
+ name?: string | undefined;
4244
+ permission?: string | {
4245
+ name?: string | undefined;
4246
+ description?: string | undefined;
4247
+ replaceExistName?: boolean | undefined;
4248
+ tags?: string[] | undefined;
4249
+ onChain?: boolean | undefined;
4250
+ } | undefined;
4251
+ replaceExistName?: boolean | undefined;
4252
+ tags?: string[] | undefined;
4253
+ onChain?: boolean | undefined;
4254
+ };
4255
+ description?: string | undefined;
4256
+ publish?: boolean | undefined;
4257
+ pause?: boolean | undefined;
4258
+ node?: {
4259
+ op: "add";
2894
4260
  nodes: {
2895
4261
  name: string;
2896
4262
  pairs: {
2897
4263
  forwards: {
2898
4264
  name: string;
2899
4265
  weight: string | number;
2900
- guard?: string | {
2901
- guard: string;
2902
- retained_submission?: (string | number)[] | null | undefined;
2903
- } | null | undefined;
4266
+ guard?: unknown;
2904
4267
  namedOperator?: string | null | undefined;
2905
4268
  permissionIndex?: string | number | null | undefined;
2906
4269
  }[];
2907
- threshold: string | number;
2908
4270
  prev_node: string;
4271
+ threshold?: string | number | undefined;
2909
4272
  }[];
2910
4273
  }[];
2911
4274
  bReplace?: boolean | undefined;
2912
- }, {
4275
+ } | {
2913
4276
  op: "set";
2914
4277
  nodes: {
2915
4278
  name: string;
@@ -2926,153 +4289,26 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2926
4289
  }[];
2927
4290
  }[];
2928
4291
  bReplace?: boolean | undefined;
2929
- }>, z.ZodObject<{
2930
- op: z.ZodLiteral<"remove">;
2931
- nodes: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2932
- }, "strict", z.ZodTypeAny, {
2933
- op: "remove";
2934
- nodes: string[];
2935
- }, {
4292
+ } | {
2936
4293
  op: "remove";
2937
4294
  nodes: string[];
2938
- }>, z.ZodObject<{
2939
- op: z.ZodLiteral<"clear">;
2940
- }, "strict", z.ZodTypeAny, {
2941
- op: "clear";
2942
- }, {
4295
+ } | {
2943
4296
  op: "clear";
2944
- }>, z.ZodObject<{
2945
- op: z.ZodLiteral<"exchange">;
2946
- node_one: z.ZodEffects<z.ZodString, string, string>;
2947
- node_other: z.ZodEffects<z.ZodString, string, string>;
2948
- }, "strict", z.ZodTypeAny, {
2949
- op: "exchange";
2950
- node_one: string;
2951
- node_other: string;
2952
- }, {
4297
+ } | {
2953
4298
  op: "exchange";
2954
4299
  node_one: string;
2955
4300
  node_other: string;
2956
- }>, z.ZodObject<{
2957
- op: z.ZodLiteral<"rename">;
2958
- node_name_old: z.ZodEffects<z.ZodString, string, string>;
2959
- node_name_new: z.ZodEffects<z.ZodString, string, string>;
2960
- }, "strict", z.ZodTypeAny, {
2961
- op: "rename";
2962
- node_name_old: string;
2963
- node_name_new: string;
2964
- }, {
4301
+ } | {
2965
4302
  op: "rename";
2966
4303
  node_name_old: string;
2967
4304
  node_name_new: string;
2968
- }>, z.ZodObject<{
2969
- op: z.ZodLiteral<"remove prior node">;
2970
- pairs: z.ZodArray<z.ZodObject<{
2971
- prior_node_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2972
- node_name: z.ZodEffects<z.ZodString, string, string>;
2973
- }, "strict", z.ZodTypeAny, {
2974
- prior_node_name: string[];
2975
- node_name: string;
2976
- }, {
2977
- prior_node_name: string[];
2978
- node_name: string;
2979
- }>, "many">;
2980
- }, "strict", z.ZodTypeAny, {
2981
- op: "remove prior node";
2982
- pairs: {
2983
- prior_node_name: string[];
2984
- node_name: string;
2985
- }[];
2986
- }, {
4305
+ } | {
2987
4306
  op: "remove prior node";
2988
4307
  pairs: {
2989
4308
  prior_node_name: string[];
2990
4309
  node_name: string;
2991
4310
  }[];
2992
- }>, z.ZodObject<{
2993
- op: z.ZodLiteral<"add forward">;
2994
- data: z.ZodArray<z.ZodObject<{
2995
- prior_node_name: z.ZodEffects<z.ZodString, string, string>;
2996
- node_name: z.ZodEffects<z.ZodString, string, string>;
2997
- forward: z.ZodArray<z.ZodObject<{
2998
- name: z.ZodString;
2999
- namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
3000
- permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
3001
- weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3002
- guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3003
- guard: z.ZodString;
3004
- retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
3005
- }, "strict", z.ZodTypeAny, {
3006
- guard: string;
3007
- retained_submission?: (string | number)[] | null | undefined;
3008
- }, {
3009
- guard: string;
3010
- retained_submission?: (string | number)[] | null | undefined;
3011
- }>, z.ZodString]>>>, string | {
3012
- guard: string;
3013
- retained_submission?: (string | number)[] | null | undefined;
3014
- } | null | undefined, unknown>;
3015
- }, "strict", z.ZodTypeAny, {
3016
- name: string;
3017
- weight: string | number;
3018
- guard?: string | {
3019
- guard: string;
3020
- retained_submission?: (string | number)[] | null | undefined;
3021
- } | null | undefined;
3022
- namedOperator?: string | null | undefined;
3023
- permissionIndex?: string | number | null | undefined;
3024
- }, {
3025
- name: string;
3026
- weight: string | number;
3027
- guard?: unknown;
3028
- namedOperator?: string | null | undefined;
3029
- permissionIndex?: string | number | null | undefined;
3030
- }>, "many">;
3031
- threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
3032
- }, "strict", z.ZodTypeAny, {
3033
- forward: {
3034
- name: string;
3035
- weight: string | number;
3036
- guard?: string | {
3037
- guard: string;
3038
- retained_submission?: (string | number)[] | null | undefined;
3039
- } | null | undefined;
3040
- namedOperator?: string | null | undefined;
3041
- permissionIndex?: string | number | null | undefined;
3042
- }[];
3043
- prior_node_name: string;
3044
- node_name: string;
3045
- threshold?: number | null | undefined;
3046
- }, {
3047
- forward: {
3048
- name: string;
3049
- weight: string | number;
3050
- guard?: unknown;
3051
- namedOperator?: string | null | undefined;
3052
- permissionIndex?: string | number | null | undefined;
3053
- }[];
3054
- prior_node_name: string;
3055
- node_name: string;
3056
- threshold?: number | null | undefined;
3057
- }>, "many">;
3058
- }, "strict", z.ZodTypeAny, {
3059
- data: {
3060
- forward: {
3061
- name: string;
3062
- weight: string | number;
3063
- guard?: string | {
3064
- guard: string;
3065
- retained_submission?: (string | number)[] | null | undefined;
3066
- } | null | undefined;
3067
- namedOperator?: string | null | undefined;
3068
- permissionIndex?: string | number | null | undefined;
3069
- }[];
3070
- prior_node_name: string;
3071
- node_name: string;
3072
- threshold?: number | null | undefined;
3073
- }[];
3074
- op: "add forward";
3075
- }, {
4311
+ } | {
3076
4312
  data: {
3077
4313
  forward: {
3078
4314
  name: string;
@@ -3086,81 +4322,19 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3086
4322
  threshold?: number | null | undefined;
3087
4323
  }[];
3088
4324
  op: "add forward";
3089
- }>, z.ZodObject<{
3090
- op: z.ZodLiteral<"remove forward">;
3091
- data: z.ZodArray<z.ZodObject<{
3092
- prior_node_name: z.ZodEffects<z.ZodString, string, string>;
3093
- node_name: z.ZodEffects<z.ZodString, string, string>;
3094
- forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
3095
- }, "strict", z.ZodTypeAny, {
3096
- forward_name: string[];
3097
- prior_node_name: string;
3098
- node_name: string;
3099
- }, {
3100
- forward_name: string[];
3101
- prior_node_name: string;
3102
- node_name: string;
3103
- }>, "many">;
3104
- }, "strict", z.ZodTypeAny, {
3105
- data: {
3106
- forward_name: string[];
3107
- prior_node_name: string;
3108
- node_name: string;
3109
- }[];
3110
- op: "remove forward";
3111
- }, {
4325
+ } | {
3112
4326
  data: {
3113
4327
  forward_name: string[];
3114
4328
  prior_node_name: string;
3115
4329
  node_name: string;
3116
4330
  }[];
3117
4331
  op: "remove forward";
3118
- }>]>, z.ZodObject<{
3119
- json_or_markdown_file: z.ZodString;
3120
- }, "strict", z.ZodTypeAny, {
3121
- json_or_markdown_file: string;
3122
- }, {
4332
+ } | {
3123
4333
  json_or_markdown_file: string;
3124
- }>]>>;
3125
- pause: z.ZodOptional<z.ZodBoolean>;
3126
- publish: z.ZodOptional<z.ZodBoolean>;
3127
- owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
3128
- id: z.ZodString;
3129
- type: z.ZodString;
3130
- content_raw: z.ZodOptional<z.ZodAny>;
3131
- }, "strict", z.ZodTypeAny, {
3132
- type: string;
3133
- id: string;
3134
- content_raw?: any;
3135
- }, {
3136
- type: string;
3137
- id: string;
3138
- content_raw?: any;
3139
- }>, "many">, z.ZodObject<{
3140
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3141
- token_type: z.ZodEffects<z.ZodString, string, string>;
3142
- received: z.ZodArray<z.ZodObject<{
3143
- id: z.ZodString;
3144
- balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3145
- payment: z.ZodString;
3146
- }, "strict", z.ZodTypeAny, {
3147
- id: string;
3148
- balance: string | number;
3149
- payment: string;
3150
- }, {
3151
- id: string;
3152
- balance: string | number;
3153
- payment: string;
3154
- }>, "many">;
3155
- }, "strict", z.ZodTypeAny, {
3156
- received: {
3157
- id: string;
3158
- balance: string | number;
3159
- payment: string;
3160
- }[];
3161
- balance: string | number;
3162
- token_type: string;
3163
- }, {
4334
+ } | undefined;
4335
+ repository?: unknown;
4336
+ um?: string | null | undefined;
4337
+ owner_receive?: {
3164
4338
  received: {
3165
4339
  id: string;
3166
4340
  balance: string | number;
@@ -3168,9 +4342,33 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3168
4342
  }[];
3169
4343
  balance: string | number;
3170
4344
  token_type: string;
3171
- }>, z.ZodLiteral<"recently">]>>;
3172
- um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
3173
- }, "strict", z.ZodTypeAny, {
4345
+ } | "recently" | {
4346
+ type: string;
4347
+ id: string;
4348
+ content_raw?: any;
4349
+ }[] | undefined;
4350
+ progress_new?: {
4351
+ namedNew?: {
4352
+ name?: string | undefined;
4353
+ replaceExistName?: boolean | undefined;
4354
+ tags?: string[] | undefined;
4355
+ onChain?: boolean | undefined;
4356
+ } | undefined;
4357
+ repository?: unknown;
4358
+ task?: string | null | undefined;
4359
+ progress_namedOperator?: {
4360
+ name: string;
4361
+ op: "set" | "add" | "remove";
4362
+ operators: {
4363
+ entities: {
4364
+ name_or_address?: string | undefined;
4365
+ local_mark_first?: boolean | undefined;
4366
+ }[];
4367
+ check_all_founded?: boolean | undefined;
4368
+ };
4369
+ } | undefined;
4370
+ } | undefined;
4371
+ }>, {
3174
4372
  object: string | {
3175
4373
  name?: string | undefined;
3176
4374
  permission?: string | {