@wowok/agent-mcp 2.3.18 → 2.4.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 (121) hide show
  1. package/dist/customer/industry-risks.js +31 -31
  2. package/dist/customer/order-monitor.js +57 -57
  3. package/dist/customer/order-strategy.js +89 -89
  4. package/dist/customer/post-purchase.js +97 -97
  5. package/dist/customer/reminder-system.js +26 -26
  6. package/dist/customer/risk-assessment.js +46 -46
  7. package/dist/customer/types.d.ts +4 -4
  8. package/dist/customer/types.js +4 -4
  9. package/dist/customer/user-preferences.js +50 -50
  10. package/dist/experience/intent-distill.js +6 -6
  11. package/dist/index.d.ts +2 -2
  12. package/dist/index.js +11 -1624
  13. package/dist/knowledge/acquisition-flywheel.js +64 -64
  14. package/dist/knowledge/arbitration-trust.js +10 -10
  15. package/dist/knowledge/demand-matching.js +8 -8
  16. package/dist/knowledge/dynamic-pricing.js +18 -18
  17. package/dist/knowledge/flywheel-loop.js +11 -11
  18. package/dist/knowledge/glossary.js +22 -22
  19. package/dist/knowledge/guard-ledger.d.ts +1 -1
  20. package/dist/knowledge/guard-ledger.js +145 -104
  21. package/dist/knowledge/guard-lint.d.ts +77 -0
  22. package/dist/knowledge/guard-lint.js +670 -0
  23. package/dist/knowledge/guard-migration.d.ts +48 -0
  24. package/dist/knowledge/guard-migration.js +228 -0
  25. package/dist/knowledge/guard-puzzle.d.ts +109 -14
  26. package/dist/knowledge/guard-puzzle.js +627 -101
  27. package/dist/knowledge/guard-risk.d.ts +10 -1
  28. package/dist/knowledge/guard-risk.js +1634 -292
  29. package/dist/knowledge/guard-templates.d.ts +38 -0
  30. package/dist/knowledge/guard-templates.js +605 -0
  31. package/dist/knowledge/guard-translation.d.ts +14 -2
  32. package/dist/knowledge/guard-translation.js +825 -194
  33. package/dist/knowledge/index.d.ts +8 -4
  34. package/dist/knowledge/index.js +9 -5
  35. package/dist/knowledge/industry-evolution.js +29 -29
  36. package/dist/knowledge/industry-generalizer.js +52 -52
  37. package/dist/knowledge/industry-registry.js +20 -33
  38. package/dist/knowledge/intent-metrics.js +67 -67
  39. package/dist/knowledge/process-model.js +80 -80
  40. package/dist/knowledge/reputation-rules.js +9 -9
  41. package/dist/knowledge/reward-templates.js +51 -51
  42. package/dist/knowledge/safety-rules.js +3 -3
  43. package/dist/knowledge/tool-constraints.js +20 -4
  44. package/dist/knowledge/trust-metrics.js +26 -26
  45. package/dist/project/graph.d.ts +1 -0
  46. package/dist/project/graph.js +27 -1
  47. package/dist/project/index.d.ts +1 -0
  48. package/dist/project/index.js +39 -2
  49. package/dist/project/namespace.d.ts +11 -1
  50. package/dist/project/namespace.js +27 -2
  51. package/dist/project/query.d.ts +2 -0
  52. package/dist/project/query.js +56 -15
  53. package/dist/rules.d.ts +12 -0
  54. package/dist/rules.js +9 -0
  55. package/dist/schema/call/allocation.d.ts +10 -10
  56. package/dist/schema/call/base.js +19 -19
  57. package/dist/schema/call/bridge.d.ts +32 -32
  58. package/dist/schema/call/demand.d.ts +84 -84
  59. package/dist/schema/call/guard.d.ts +153 -0
  60. package/dist/schema/call/guard.js +50 -0
  61. package/dist/schema/call/machine.d.ts +38 -38
  62. package/dist/schema/call/permission.d.ts +78 -78
  63. package/dist/schema/call/repository.d.ts +22 -22
  64. package/dist/schema/call/semantic.js +229 -25
  65. package/dist/schema/call/service.d.ts +7 -7
  66. package/dist/schema/local/wip.d.ts +39 -19
  67. package/dist/schema/local/wip.js +5 -5
  68. package/dist/schema/messenger/index.d.ts +26 -26
  69. package/dist/schema/messenger/index.js +2 -2
  70. package/dist/schema/operations.d.ts +270 -192
  71. package/dist/schema/query/index.d.ts +184 -184
  72. package/dist/schema/query/index.js +15 -9
  73. package/dist/schema/trust/index.d.ts +4 -4
  74. package/dist/schema/utils/guard-parser.js +4 -4
  75. package/dist/schema/utils/guard-query-utils.d.ts +7 -0
  76. package/dist/schema/utils/guard-query-utils.js +14 -1
  77. package/dist/schema/utils/node-parser.js +14 -14
  78. package/dist/schemas/bridge_operation.output.json +15 -15
  79. package/dist/schemas/index.json +1 -1
  80. package/dist/schemas/messenger_operation.output.json +18 -16
  81. package/dist/schemas/onchain_events.output.json +15 -15
  82. package/dist/schemas/onchain_operations.output.json +16 -16
  83. package/dist/schemas/onchain_operations.schema.json +11 -20
  84. package/dist/schemas/onchain_operations_allocation.schema.json +7 -10
  85. package/dist/schemas/onchain_operations_machine.schema.json +2 -5
  86. package/dist/schemas/onchain_operations_service.schema.json +2 -5
  87. package/dist/schemas/onchain_table_data.output.json +20 -26
  88. package/dist/schemas/wip_file.output.json +24 -1
  89. package/dist/tools/handlers/bridge.d.ts +1 -0
  90. package/dist/tools/handlers/bridge.js +1 -0
  91. package/dist/tools/handlers/config.d.ts +2 -0
  92. package/dist/tools/handlers/config.js +71 -0
  93. package/dist/tools/handlers/file-export.d.ts +3 -0
  94. package/dist/tools/handlers/file-export.js +90 -0
  95. package/dist/tools/handlers/local.d.ts +30 -0
  96. package/dist/tools/handlers/local.js +27 -0
  97. package/dist/tools/handlers/messenger.d.ts +16 -0
  98. package/dist/tools/handlers/messenger.js +187 -0
  99. package/dist/tools/handlers/onchain.d.ts +2 -0
  100. package/dist/tools/handlers/onchain.js +246 -0
  101. package/dist/tools/handlers/project.d.ts +2 -0
  102. package/dist/tools/handlers/project.js +53 -0
  103. package/dist/tools/handlers/query.d.ts +5 -0
  104. package/dist/tools/handlers/query.js +256 -0
  105. package/dist/tools/handlers/schema-query.d.ts +2 -0
  106. package/dist/tools/handlers/schema-query.js +92 -0
  107. package/dist/tools/handlers/trust.d.ts +2 -0
  108. package/dist/tools/handlers/trust.js +194 -0
  109. package/dist/tools/handlers/wip.d.ts +2 -0
  110. package/dist/tools/handlers/wip.js +44 -0
  111. package/dist/tools/index.d.ts +13 -0
  112. package/dist/tools/index.js +479 -0
  113. package/dist/tools/rules-hook.d.ts +2 -0
  114. package/dist/tools/rules-hook.js +22 -0
  115. package/dist/tools/shared.d.ts +29 -0
  116. package/dist/tools/shared.js +130 -0
  117. package/dist/tools/types.d.ts +35 -0
  118. package/dist/tools/types.js +1 -0
  119. package/dist/tools/wrap.d.ts +6 -0
  120. package/dist/tools/wrap.js +55 -0
  121. package/package.json +19 -5
@@ -293,7 +293,7 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
293
293
  name: z.ZodString;
294
294
  pairs: z.ZodArray<z.ZodObject<{
295
295
  prev_node: z.ZodString;
296
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
296
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
297
297
  forwards: z.ZodArray<z.ZodObject<{
298
298
  name: z.ZodString;
299
299
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -352,8 +352,8 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
352
352
  namedOperator?: string | null | undefined;
353
353
  permissionIndex?: string | number | null | undefined;
354
354
  }[];
355
- threshold: string | number;
356
355
  prev_node: string;
356
+ threshold?: string | number | undefined;
357
357
  }>, "many">;
358
358
  }, "strict", z.ZodTypeAny, {
359
359
  name: string;
@@ -384,8 +384,8 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
384
384
  namedOperator?: string | null | undefined;
385
385
  permissionIndex?: string | number | null | undefined;
386
386
  }[];
387
- threshold: string | number;
388
387
  prev_node: string;
388
+ threshold?: string | number | undefined;
389
389
  }[];
390
390
  }>, "many">;
391
391
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -424,8 +424,8 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
424
424
  namedOperator?: string | null | undefined;
425
425
  permissionIndex?: string | number | null | undefined;
426
426
  }[];
427
- threshold: string | number;
428
427
  prev_node: string;
428
+ threshold?: string | number | undefined;
429
429
  }[];
430
430
  }[];
431
431
  bReplace?: boolean | undefined;
@@ -435,7 +435,7 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
435
435
  name: z.ZodString;
436
436
  pairs: z.ZodArray<z.ZodObject<{
437
437
  prev_node: z.ZodString;
438
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
438
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
439
439
  forwards: z.ZodArray<z.ZodObject<{
440
440
  name: z.ZodString;
441
441
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -494,8 +494,8 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
494
494
  namedOperator?: string | null | undefined;
495
495
  permissionIndex?: string | number | null | undefined;
496
496
  }[];
497
- threshold: string | number;
498
497
  prev_node: string;
498
+ threshold?: string | number | undefined;
499
499
  }>, "many">;
500
500
  }, "strict", z.ZodTypeAny, {
501
501
  name: string;
@@ -526,8 +526,8 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
526
526
  namedOperator?: string | null | undefined;
527
527
  permissionIndex?: string | number | null | undefined;
528
528
  }[];
529
- threshold: string | number;
530
529
  prev_node: string;
530
+ threshold?: string | number | undefined;
531
531
  }[];
532
532
  }>, "many">;
533
533
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -566,8 +566,8 @@ export declare const NodeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
566
566
  namedOperator?: string | null | undefined;
567
567
  permissionIndex?: string | number | null | undefined;
568
568
  }[];
569
- threshold: string | number;
570
569
  prev_node: string;
570
+ threshold?: string | number | undefined;
571
571
  }[];
572
572
  }[];
573
573
  bReplace?: boolean | undefined;
@@ -780,7 +780,7 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
780
780
  name: z.ZodString;
781
781
  pairs: z.ZodArray<z.ZodObject<{
782
782
  prev_node: z.ZodString;
783
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
783
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
784
784
  forwards: z.ZodArray<z.ZodObject<{
785
785
  name: z.ZodString;
786
786
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -839,8 +839,8 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
839
839
  namedOperator?: string | null | undefined;
840
840
  permissionIndex?: string | number | null | undefined;
841
841
  }[];
842
- threshold: string | number;
843
842
  prev_node: string;
843
+ threshold?: string | number | undefined;
844
844
  }>, "many">;
845
845
  }, "strict", z.ZodTypeAny, {
846
846
  name: string;
@@ -871,8 +871,8 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
871
871
  namedOperator?: string | null | undefined;
872
872
  permissionIndex?: string | number | null | undefined;
873
873
  }[];
874
- threshold: string | number;
875
874
  prev_node: string;
875
+ threshold?: string | number | undefined;
876
876
  }[];
877
877
  }>, "many">;
878
878
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -911,8 +911,8 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
911
911
  namedOperator?: string | null | undefined;
912
912
  permissionIndex?: string | number | null | undefined;
913
913
  }[];
914
- threshold: string | number;
915
914
  prev_node: string;
915
+ threshold?: string | number | undefined;
916
916
  }[];
917
917
  }[];
918
918
  bReplace?: boolean | undefined;
@@ -922,7 +922,7 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
922
922
  name: z.ZodString;
923
923
  pairs: z.ZodArray<z.ZodObject<{
924
924
  prev_node: z.ZodString;
925
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
925
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
926
926
  forwards: z.ZodArray<z.ZodObject<{
927
927
  name: z.ZodString;
928
928
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -981,8 +981,8 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
981
981
  namedOperator?: string | null | undefined;
982
982
  permissionIndex?: string | number | null | undefined;
983
983
  }[];
984
- threshold: string | number;
985
984
  prev_node: string;
985
+ threshold?: string | number | undefined;
986
986
  }>, "many">;
987
987
  }, "strict", z.ZodTypeAny, {
988
988
  name: string;
@@ -1013,8 +1013,8 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
1013
1013
  namedOperator?: string | null | undefined;
1014
1014
  permissionIndex?: string | number | null | undefined;
1015
1015
  }[];
1016
- threshold: string | number;
1017
1016
  prev_node: string;
1017
+ threshold?: string | number | undefined;
1018
1018
  }[];
1019
1019
  }>, "many">;
1020
1020
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -1053,8 +1053,8 @@ export declare const NodeFieldSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"op",
1053
1053
  namedOperator?: string | null | undefined;
1054
1054
  permissionIndex?: string | number | null | undefined;
1055
1055
  }[];
1056
- threshold: string | number;
1057
1056
  prev_node: string;
1057
+ threshold?: string | number | undefined;
1058
1058
  }[];
1059
1059
  }[];
1060
1060
  bReplace?: boolean | undefined;
@@ -1493,7 +1493,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1493
1493
  name: z.ZodString;
1494
1494
  pairs: z.ZodArray<z.ZodObject<{
1495
1495
  prev_node: z.ZodString;
1496
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1496
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1497
1497
  forwards: z.ZodArray<z.ZodObject<{
1498
1498
  name: z.ZodString;
1499
1499
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -1552,8 +1552,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1552
1552
  namedOperator?: string | null | undefined;
1553
1553
  permissionIndex?: string | number | null | undefined;
1554
1554
  }[];
1555
- threshold: string | number;
1556
1555
  prev_node: string;
1556
+ threshold?: string | number | undefined;
1557
1557
  }>, "many">;
1558
1558
  }, "strict", z.ZodTypeAny, {
1559
1559
  name: string;
@@ -1584,8 +1584,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1584
1584
  namedOperator?: string | null | undefined;
1585
1585
  permissionIndex?: string | number | null | undefined;
1586
1586
  }[];
1587
- threshold: string | number;
1588
1587
  prev_node: string;
1588
+ threshold?: string | number | undefined;
1589
1589
  }[];
1590
1590
  }>, "many">;
1591
1591
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -1624,8 +1624,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1624
1624
  namedOperator?: string | null | undefined;
1625
1625
  permissionIndex?: string | number | null | undefined;
1626
1626
  }[];
1627
- threshold: string | number;
1628
1627
  prev_node: string;
1628
+ threshold?: string | number | undefined;
1629
1629
  }[];
1630
1630
  }[];
1631
1631
  bReplace?: boolean | undefined;
@@ -1635,7 +1635,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1635
1635
  name: z.ZodString;
1636
1636
  pairs: z.ZodArray<z.ZodObject<{
1637
1637
  prev_node: z.ZodString;
1638
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1638
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1639
1639
  forwards: z.ZodArray<z.ZodObject<{
1640
1640
  name: z.ZodString;
1641
1641
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -1694,8 +1694,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1694
1694
  namedOperator?: string | null | undefined;
1695
1695
  permissionIndex?: string | number | null | undefined;
1696
1696
  }[];
1697
- threshold: string | number;
1698
1697
  prev_node: string;
1698
+ threshold?: string | number | undefined;
1699
1699
  }>, "many">;
1700
1700
  }, "strict", z.ZodTypeAny, {
1701
1701
  name: string;
@@ -1726,8 +1726,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1726
1726
  namedOperator?: string | null | undefined;
1727
1727
  permissionIndex?: string | number | null | undefined;
1728
1728
  }[];
1729
- threshold: string | number;
1730
1729
  prev_node: string;
1730
+ threshold?: string | number | undefined;
1731
1731
  }[];
1732
1732
  }>, "many">;
1733
1733
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -1766,8 +1766,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1766
1766
  namedOperator?: string | null | undefined;
1767
1767
  permissionIndex?: string | number | null | undefined;
1768
1768
  }[];
1769
- threshold: string | number;
1770
1769
  prev_node: string;
1770
+ threshold?: string | number | undefined;
1771
1771
  }[];
1772
1772
  }[];
1773
1773
  bReplace?: boolean | undefined;
@@ -2208,8 +2208,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2208
2208
  namedOperator?: string | null | undefined;
2209
2209
  permissionIndex?: string | number | null | undefined;
2210
2210
  }[];
2211
- threshold: string | number;
2212
2211
  prev_node: string;
2212
+ threshold?: string | number | undefined;
2213
2213
  }[];
2214
2214
  }[];
2215
2215
  bReplace?: boolean | undefined;
@@ -2228,8 +2228,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2228
2228
  namedOperator?: string | null | undefined;
2229
2229
  permissionIndex?: string | number | null | undefined;
2230
2230
  }[];
2231
- threshold: string | number;
2232
2231
  prev_node: string;
2232
+ threshold?: string | number | undefined;
2233
2233
  }[];
2234
2234
  }[];
2235
2235
  bReplace?: boolean | undefined;
@@ -2566,7 +2566,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2566
2566
  name: z.ZodString;
2567
2567
  pairs: z.ZodArray<z.ZodObject<{
2568
2568
  prev_node: z.ZodString;
2569
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2569
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2570
2570
  forwards: z.ZodArray<z.ZodObject<{
2571
2571
  name: z.ZodString;
2572
2572
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -2625,8 +2625,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2625
2625
  namedOperator?: string | null | undefined;
2626
2626
  permissionIndex?: string | number | null | undefined;
2627
2627
  }[];
2628
- threshold: string | number;
2629
2628
  prev_node: string;
2629
+ threshold?: string | number | undefined;
2630
2630
  }>, "many">;
2631
2631
  }, "strict", z.ZodTypeAny, {
2632
2632
  name: string;
@@ -2657,8 +2657,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2657
2657
  namedOperator?: string | null | undefined;
2658
2658
  permissionIndex?: string | number | null | undefined;
2659
2659
  }[];
2660
- threshold: string | number;
2661
2660
  prev_node: string;
2661
+ threshold?: string | number | undefined;
2662
2662
  }[];
2663
2663
  }>, "many">;
2664
2664
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -2697,8 +2697,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2697
2697
  namedOperator?: string | null | undefined;
2698
2698
  permissionIndex?: string | number | null | undefined;
2699
2699
  }[];
2700
- threshold: string | number;
2701
2700
  prev_node: string;
2701
+ threshold?: string | number | undefined;
2702
2702
  }[];
2703
2703
  }[];
2704
2704
  bReplace?: boolean | undefined;
@@ -2708,7 +2708,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2708
2708
  name: z.ZodString;
2709
2709
  pairs: z.ZodArray<z.ZodObject<{
2710
2710
  prev_node: z.ZodString;
2711
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2711
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2712
2712
  forwards: z.ZodArray<z.ZodObject<{
2713
2713
  name: z.ZodString;
2714
2714
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -2767,8 +2767,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2767
2767
  namedOperator?: string | null | undefined;
2768
2768
  permissionIndex?: string | number | null | undefined;
2769
2769
  }[];
2770
- threshold: string | number;
2771
2770
  prev_node: string;
2771
+ threshold?: string | number | undefined;
2772
2772
  }>, "many">;
2773
2773
  }, "strict", z.ZodTypeAny, {
2774
2774
  name: string;
@@ -2799,8 +2799,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2799
2799
  namedOperator?: string | null | undefined;
2800
2800
  permissionIndex?: string | number | null | undefined;
2801
2801
  }[];
2802
- threshold: string | number;
2803
2802
  prev_node: string;
2803
+ threshold?: string | number | undefined;
2804
2804
  }[];
2805
2805
  }>, "many">;
2806
2806
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -2839,8 +2839,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2839
2839
  namedOperator?: string | null | undefined;
2840
2840
  permissionIndex?: string | number | null | undefined;
2841
2841
  }[];
2842
- threshold: string | number;
2843
2842
  prev_node: string;
2843
+ threshold?: string | number | undefined;
2844
2844
  }[];
2845
2845
  }[];
2846
2846
  bReplace?: boolean | undefined;
@@ -3281,8 +3281,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3281
3281
  namedOperator?: string | null | undefined;
3282
3282
  permissionIndex?: string | number | null | undefined;
3283
3283
  }[];
3284
- threshold: string | number;
3285
3284
  prev_node: string;
3285
+ threshold?: string | number | undefined;
3286
3286
  }[];
3287
3287
  }[];
3288
3288
  bReplace?: boolean | undefined;
@@ -3301,8 +3301,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3301
3301
  namedOperator?: string | null | undefined;
3302
3302
  permissionIndex?: string | number | null | undefined;
3303
3303
  }[];
3304
- threshold: string | number;
3305
3304
  prev_node: string;
3305
+ threshold?: string | number | undefined;
3306
3306
  }[];
3307
3307
  }[];
3308
3308
  bReplace?: boolean | undefined;
@@ -3848,8 +3848,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3848
3848
  namedOperator?: string | null | undefined;
3849
3849
  permissionIndex?: string | number | null | undefined;
3850
3850
  }[];
3851
- threshold: string | number;
3852
3851
  prev_node: string;
3852
+ threshold?: string | number | undefined;
3853
3853
  }[];
3854
3854
  }[];
3855
3855
  bReplace?: boolean | undefined;
@@ -3868,8 +3868,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3868
3868
  namedOperator?: string | null | undefined;
3869
3869
  permissionIndex?: string | number | null | undefined;
3870
3870
  }[];
3871
- threshold: string | number;
3872
3871
  prev_node: string;
3872
+ threshold?: string | number | undefined;
3873
3873
  }[];
3874
3874
  }[];
3875
3875
  bReplace?: boolean | undefined;
@@ -1445,19 +1445,6 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
1445
1445
  };
1446
1446
  index: number[];
1447
1447
  } | undefined;
1448
- owner_receive?: {
1449
- received: {
1450
- id: string;
1451
- balance: string | number;
1452
- payment: string;
1453
- }[];
1454
- balance: string | number;
1455
- token_type: string;
1456
- } | "recently" | {
1457
- type: string;
1458
- id: string;
1459
- content_raw?: any;
1460
- }[] | undefined;
1461
1448
  entity?: {
1462
1449
  op: "swap";
1463
1450
  entity1: {
@@ -1495,6 +1482,19 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
1495
1482
  local_mark_first?: boolean | undefined;
1496
1483
  };
1497
1484
  } | undefined;
1485
+ owner_receive?: {
1486
+ received: {
1487
+ id: string;
1488
+ balance: string | number;
1489
+ payment: string;
1490
+ }[];
1491
+ balance: string | number;
1492
+ token_type: string;
1493
+ } | "recently" | {
1494
+ type: string;
1495
+ id: string;
1496
+ content_raw?: any;
1497
+ }[] | undefined;
1498
1498
  um?: string | null | undefined;
1499
1499
  builder?: {
1500
1500
  name_or_address?: string | undefined;
@@ -1581,19 +1581,6 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
1581
1581
  };
1582
1582
  index: number[];
1583
1583
  } | undefined;
1584
- owner_receive?: {
1585
- received: {
1586
- id: string;
1587
- balance: string | number;
1588
- payment: string;
1589
- }[];
1590
- balance: string | number;
1591
- token_type: string;
1592
- } | "recently" | {
1593
- type: string;
1594
- id: string;
1595
- content_raw?: any;
1596
- }[] | undefined;
1597
1584
  entity?: {
1598
1585
  op: "swap";
1599
1586
  entity1: {
@@ -1631,6 +1618,19 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
1631
1618
  local_mark_first?: boolean | undefined;
1632
1619
  };
1633
1620
  } | undefined;
1621
+ owner_receive?: {
1622
+ received: {
1623
+ id: string;
1624
+ balance: string | number;
1625
+ payment: string;
1626
+ }[];
1627
+ balance: string | number;
1628
+ token_type: string;
1629
+ } | "recently" | {
1630
+ type: string;
1631
+ id: string;
1632
+ content_raw?: any;
1633
+ }[] | undefined;
1634
1634
  um?: string | null | undefined;
1635
1635
  builder?: {
1636
1636
  name_or_address?: string | undefined;
@@ -2245,19 +2245,6 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2245
2245
  };
2246
2246
  index: number[];
2247
2247
  } | undefined;
2248
- owner_receive?: {
2249
- received: {
2250
- id: string;
2251
- balance: string | number;
2252
- payment: string;
2253
- }[];
2254
- balance: string | number;
2255
- token_type: string;
2256
- } | "recently" | {
2257
- type: string;
2258
- id: string;
2259
- content_raw?: any;
2260
- }[] | undefined;
2261
2248
  entity?: {
2262
2249
  op: "swap";
2263
2250
  entity1: {
@@ -2295,6 +2282,19 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2295
2282
  local_mark_first?: boolean | undefined;
2296
2283
  };
2297
2284
  } | undefined;
2285
+ owner_receive?: {
2286
+ received: {
2287
+ id: string;
2288
+ balance: string | number;
2289
+ payment: string;
2290
+ }[];
2291
+ balance: string | number;
2292
+ token_type: string;
2293
+ } | "recently" | {
2294
+ type: string;
2295
+ id: string;
2296
+ content_raw?: any;
2297
+ }[] | undefined;
2298
2298
  um?: string | null | undefined;
2299
2299
  builder?: {
2300
2300
  name_or_address?: string | undefined;
@@ -2381,19 +2381,6 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2381
2381
  };
2382
2382
  index: number[];
2383
2383
  } | undefined;
2384
- owner_receive?: {
2385
- received: {
2386
- id: string;
2387
- balance: string | number;
2388
- payment: string;
2389
- }[];
2390
- balance: string | number;
2391
- token_type: string;
2392
- } | "recently" | {
2393
- type: string;
2394
- id: string;
2395
- content_raw?: any;
2396
- }[] | undefined;
2397
2384
  entity?: {
2398
2385
  op: "swap";
2399
2386
  entity1: {
@@ -2431,6 +2418,19 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2431
2418
  local_mark_first?: boolean | undefined;
2432
2419
  };
2433
2420
  } | undefined;
2421
+ owner_receive?: {
2422
+ received: {
2423
+ id: string;
2424
+ balance: string | number;
2425
+ payment: string;
2426
+ }[];
2427
+ balance: string | number;
2428
+ token_type: string;
2429
+ } | "recently" | {
2430
+ type: string;
2431
+ id: string;
2432
+ content_raw?: any;
2433
+ }[] | undefined;
2434
2434
  um?: string | null | undefined;
2435
2435
  builder?: {
2436
2436
  name_or_address?: string | undefined;
@@ -2733,19 +2733,6 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2733
2733
  };
2734
2734
  index: number[];
2735
2735
  } | undefined;
2736
- owner_receive?: {
2737
- received: {
2738
- id: string;
2739
- balance: string | number;
2740
- payment: string;
2741
- }[];
2742
- balance: string | number;
2743
- token_type: string;
2744
- } | "recently" | {
2745
- type: string;
2746
- id: string;
2747
- content_raw?: any;
2748
- }[] | undefined;
2749
2736
  entity?: {
2750
2737
  op: "swap";
2751
2738
  entity1: {
@@ -2783,6 +2770,19 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2783
2770
  local_mark_first?: boolean | undefined;
2784
2771
  };
2785
2772
  } | undefined;
2773
+ owner_receive?: {
2774
+ received: {
2775
+ id: string;
2776
+ balance: string | number;
2777
+ payment: string;
2778
+ }[];
2779
+ balance: string | number;
2780
+ token_type: string;
2781
+ } | "recently" | {
2782
+ type: string;
2783
+ id: string;
2784
+ content_raw?: any;
2785
+ }[] | undefined;
2786
2786
  um?: string | null | undefined;
2787
2787
  builder?: {
2788
2788
  name_or_address?: string | undefined;
@@ -2910,19 +2910,6 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2910
2910
  };
2911
2911
  index: number[];
2912
2912
  } | undefined;
2913
- owner_receive?: {
2914
- received: {
2915
- id: string;
2916
- balance: string | number;
2917
- payment: string;
2918
- }[];
2919
- balance: string | number;
2920
- token_type: string;
2921
- } | "recently" | {
2922
- type: string;
2923
- id: string;
2924
- content_raw?: any;
2925
- }[] | undefined;
2926
2913
  entity?: {
2927
2914
  op: "swap";
2928
2915
  entity1: {
@@ -2960,6 +2947,19 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
2960
2947
  local_mark_first?: boolean | undefined;
2961
2948
  };
2962
2949
  } | undefined;
2950
+ owner_receive?: {
2951
+ received: {
2952
+ id: string;
2953
+ balance: string | number;
2954
+ payment: string;
2955
+ }[];
2956
+ balance: string | number;
2957
+ token_type: string;
2958
+ } | "recently" | {
2959
+ type: string;
2960
+ id: string;
2961
+ content_raw?: any;
2962
+ }[] | undefined;
2963
2963
  um?: string | null | undefined;
2964
2964
  builder?: {
2965
2965
  name_or_address?: string | undefined;