@wowok/agent-mcp 2.4.1 → 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 (74) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +11 -1624
  3. package/dist/knowledge/guard-ledger.js +14 -0
  4. package/dist/knowledge/guard-lint.d.ts +1 -0
  5. package/dist/knowledge/guard-lint.js +83 -3
  6. package/dist/knowledge/guard-migration.d.ts +48 -0
  7. package/dist/knowledge/guard-migration.js +228 -0
  8. package/dist/knowledge/guard-risk.d.ts +2 -0
  9. package/dist/knowledge/guard-risk.js +827 -57
  10. package/dist/knowledge/guard-templates.d.ts +1 -0
  11. package/dist/knowledge/guard-templates.js +278 -2
  12. package/dist/project/graph.d.ts +1 -0
  13. package/dist/project/graph.js +27 -1
  14. package/dist/project/index.d.ts +1 -0
  15. package/dist/project/index.js +39 -2
  16. package/dist/project/namespace.d.ts +11 -1
  17. package/dist/project/namespace.js +27 -2
  18. package/dist/project/query.d.ts +2 -0
  19. package/dist/project/query.js +56 -15
  20. package/dist/rules.d.ts +12 -0
  21. package/dist/rules.js +9 -0
  22. package/dist/schema/call/allocation.d.ts +10 -10
  23. package/dist/schema/call/base.js +3 -3
  24. package/dist/schema/call/machine.d.ts +38 -38
  25. package/dist/schema/call/semantic.js +1 -1
  26. package/dist/schema/call/service.d.ts +7 -7
  27. package/dist/schema/operations.d.ts +48 -48
  28. package/dist/schema/query/index.d.ts +146 -146
  29. package/dist/schema/query/index.js +15 -9
  30. package/dist/schema/utils/guard-query-utils.d.ts +7 -0
  31. package/dist/schema/utils/guard-query-utils.js +14 -1
  32. package/dist/schemas/bridge_operation.output.json +1 -1
  33. package/dist/schemas/index.json +1 -1
  34. package/dist/schemas/messenger_operation.output.json +1 -1
  35. package/dist/schemas/onchain_events.output.json +1 -1
  36. package/dist/schemas/onchain_operations.output.json +2 -2
  37. package/dist/schemas/onchain_operations.schema.json +11 -20
  38. package/dist/schemas/onchain_operations_allocation.schema.json +7 -10
  39. package/dist/schemas/onchain_operations_machine.schema.json +2 -5
  40. package/dist/schemas/onchain_operations_service.schema.json +2 -5
  41. package/dist/schemas/onchain_table_data.output.json +6 -12
  42. package/dist/tools/handlers/bridge.d.ts +1 -0
  43. package/dist/tools/handlers/bridge.js +1 -0
  44. package/dist/tools/handlers/config.d.ts +2 -0
  45. package/dist/tools/handlers/config.js +71 -0
  46. package/dist/tools/handlers/file-export.d.ts +3 -0
  47. package/dist/tools/handlers/file-export.js +90 -0
  48. package/dist/tools/handlers/local.d.ts +30 -0
  49. package/dist/tools/handlers/local.js +27 -0
  50. package/dist/tools/handlers/messenger.d.ts +16 -0
  51. package/dist/tools/handlers/messenger.js +187 -0
  52. package/dist/tools/handlers/onchain.d.ts +2 -0
  53. package/dist/tools/handlers/onchain.js +246 -0
  54. package/dist/tools/handlers/project.d.ts +2 -0
  55. package/dist/tools/handlers/project.js +53 -0
  56. package/dist/tools/handlers/query.d.ts +5 -0
  57. package/dist/tools/handlers/query.js +256 -0
  58. package/dist/tools/handlers/schema-query.d.ts +2 -0
  59. package/dist/tools/handlers/schema-query.js +92 -0
  60. package/dist/tools/handlers/trust.d.ts +2 -0
  61. package/dist/tools/handlers/trust.js +194 -0
  62. package/dist/tools/handlers/wip.d.ts +2 -0
  63. package/dist/tools/handlers/wip.js +44 -0
  64. package/dist/tools/index.d.ts +13 -0
  65. package/dist/tools/index.js +479 -0
  66. package/dist/tools/rules-hook.d.ts +2 -0
  67. package/dist/tools/rules-hook.js +22 -0
  68. package/dist/tools/shared.d.ts +29 -0
  69. package/dist/tools/shared.js +130 -0
  70. package/dist/tools/types.d.ts +35 -0
  71. package/dist/tools/types.js +1 -0
  72. package/dist/tools/wrap.d.ts +6 -0
  73. package/dist/tools/wrap.js +55 -0
  74. package/package.json +19 -5
@@ -1025,7 +1025,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1025
1025
  customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1026
1026
  order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1027
1027
  description: z.ZodEffects<z.ZodString, string, string>;
1028
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1028
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1029
1029
  allocators: z.ZodArray<z.ZodObject<{
1030
1030
  guard: z.ZodEffects<z.ZodString, string, string>;
1031
1031
  sharing: z.ZodArray<z.ZodObject<{
@@ -1155,7 +1155,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
1155
1155
  }[];
1156
1156
  }, {
1157
1157
  description: string;
1158
- threshold: string | number;
1159
1158
  allocators: {
1160
1159
  guard: string;
1161
1160
  sharing: {
@@ -1175,6 +1174,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1175
1174
  max?: string | number | null | undefined;
1176
1175
  fix?: string | number | undefined;
1177
1176
  }[];
1177
+ threshold?: string | number | undefined;
1178
1178
  }>, z.ZodNull]>>;
1179
1179
  buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
1180
1180
  compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -1485,7 +1485,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
1485
1485
  machine?: string | null | undefined;
1486
1486
  order_allocators?: {
1487
1487
  description: string;
1488
- threshold: string | number;
1489
1488
  allocators: {
1490
1489
  guard: string;
1491
1490
  sharing: {
@@ -1505,6 +1504,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1505
1504
  max?: string | number | null | undefined;
1506
1505
  fix?: string | number | undefined;
1507
1506
  }[];
1507
+ threshold?: string | number | undefined;
1508
1508
  } | null | undefined;
1509
1509
  sales?: {
1510
1510
  op: "add";
@@ -2204,7 +2204,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2204
2204
  customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2205
2205
  order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2206
2206
  description: z.ZodEffects<z.ZodString, string, string>;
2207
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2207
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2208
2208
  allocators: z.ZodArray<z.ZodObject<{
2209
2209
  guard: z.ZodEffects<z.ZodString, string, string>;
2210
2210
  sharing: z.ZodArray<z.ZodObject<{
@@ -2334,7 +2334,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
2334
2334
  }[];
2335
2335
  }, {
2336
2336
  description: string;
2337
- threshold: string | number;
2338
2337
  allocators: {
2339
2338
  guard: string;
2340
2339
  sharing: {
@@ -2354,6 +2353,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2354
2353
  max?: string | number | null | undefined;
2355
2354
  fix?: string | number | undefined;
2356
2355
  }[];
2356
+ threshold?: string | number | undefined;
2357
2357
  }>, z.ZodNull]>>;
2358
2358
  buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2359
2359
  compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -2664,7 +2664,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
2664
2664
  machine?: string | null | undefined;
2665
2665
  order_allocators?: {
2666
2666
  description: string;
2667
- threshold: string | number;
2668
2667
  allocators: {
2669
2668
  guard: string;
2670
2669
  sharing: {
@@ -2684,6 +2683,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2684
2683
  max?: string | number | null | undefined;
2685
2684
  fix?: string | number | undefined;
2686
2685
  }[];
2686
+ threshold?: string | number | undefined;
2687
2687
  } | null | undefined;
2688
2688
  sales?: {
2689
2689
  op: "add";
@@ -3305,7 +3305,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
3305
3305
  machine?: string | null | undefined;
3306
3306
  order_allocators?: {
3307
3307
  description: string;
3308
- threshold: string | number;
3309
3308
  allocators: {
3310
3309
  guard: string;
3311
3310
  sharing: {
@@ -3325,6 +3324,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3325
3324
  max?: string | number | null | undefined;
3326
3325
  fix?: string | number | undefined;
3327
3326
  }[];
3327
+ threshold?: string | number | undefined;
3328
3328
  } | null | undefined;
3329
3329
  sales?: {
3330
3330
  op: "add";
@@ -547,7 +547,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
547
547
  customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
548
548
  order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
549
549
  description: z.ZodEffects<z.ZodString, string, string>;
550
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
550
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
551
551
  allocators: z.ZodArray<z.ZodObject<{
552
552
  guard: z.ZodEffects<z.ZodString, string, string>;
553
553
  sharing: z.ZodArray<z.ZodObject<{
@@ -677,7 +677,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
677
677
  }[];
678
678
  }, {
679
679
  description: string;
680
- threshold: string | number;
681
680
  allocators: {
682
681
  guard: string;
683
682
  sharing: {
@@ -697,6 +696,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
697
696
  max?: string | number | null | undefined;
698
697
  fix?: string | number | undefined;
699
698
  }[];
699
+ threshold?: string | number | undefined;
700
700
  }>, z.ZodNull]>>;
701
701
  buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
702
702
  compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -1007,7 +1007,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
1007
1007
  machine?: string | null | undefined;
1008
1008
  order_allocators?: {
1009
1009
  description: string;
1010
- threshold: string | number;
1011
1010
  allocators: {
1012
1011
  guard: string;
1013
1012
  sharing: {
@@ -1027,6 +1026,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
1027
1026
  max?: string | number | null | undefined;
1028
1027
  fix?: string | number | undefined;
1029
1028
  }[];
1029
+ threshold?: string | number | undefined;
1030
1030
  } | null | undefined;
1031
1031
  sales?: {
1032
1032
  op: "add";
@@ -1649,7 +1649,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
1649
1649
  machine?: string | null | undefined;
1650
1650
  order_allocators?: {
1651
1651
  description: string;
1652
- threshold: string | number;
1653
1652
  allocators: {
1654
1653
  guard: string;
1655
1654
  sharing: {
@@ -1669,6 +1668,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
1669
1668
  max?: string | number | null | undefined;
1670
1669
  fix?: string | number | undefined;
1671
1670
  }[];
1671
+ threshold?: string | number | undefined;
1672
1672
  } | null | undefined;
1673
1673
  sales?: {
1674
1674
  op: "add";
@@ -2096,7 +2096,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2096
2096
  name: z.ZodString;
2097
2097
  pairs: z.ZodArray<z.ZodObject<{
2098
2098
  prev_node: z.ZodString;
2099
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2099
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2100
2100
  forwards: z.ZodArray<z.ZodObject<{
2101
2101
  name: z.ZodString;
2102
2102
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -2155,8 +2155,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2155
2155
  namedOperator?: string | null | undefined;
2156
2156
  permissionIndex?: string | number | null | undefined;
2157
2157
  }[];
2158
- threshold: string | number;
2159
2158
  prev_node: string;
2159
+ threshold?: string | number | undefined;
2160
2160
  }>, "many">;
2161
2161
  }, "strict", z.ZodTypeAny, {
2162
2162
  name: string;
@@ -2187,8 +2187,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2187
2187
  namedOperator?: string | null | undefined;
2188
2188
  permissionIndex?: string | number | null | undefined;
2189
2189
  }[];
2190
- threshold: string | number;
2191
2190
  prev_node: string;
2191
+ threshold?: string | number | undefined;
2192
2192
  }[];
2193
2193
  }>, "many">;
2194
2194
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -2227,8 +2227,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2227
2227
  namedOperator?: string | null | undefined;
2228
2228
  permissionIndex?: string | number | null | undefined;
2229
2229
  }[];
2230
- threshold: string | number;
2231
2230
  prev_node: string;
2231
+ threshold?: string | number | undefined;
2232
2232
  }[];
2233
2233
  }[];
2234
2234
  bReplace?: boolean | undefined;
@@ -2238,7 +2238,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2238
2238
  name: z.ZodString;
2239
2239
  pairs: z.ZodArray<z.ZodObject<{
2240
2240
  prev_node: z.ZodString;
2241
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2241
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2242
2242
  forwards: z.ZodArray<z.ZodObject<{
2243
2243
  name: z.ZodString;
2244
2244
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -2297,8 +2297,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2297
2297
  namedOperator?: string | null | undefined;
2298
2298
  permissionIndex?: string | number | null | undefined;
2299
2299
  }[];
2300
- threshold: string | number;
2301
2300
  prev_node: string;
2301
+ threshold?: string | number | undefined;
2302
2302
  }>, "many">;
2303
2303
  }, "strict", z.ZodTypeAny, {
2304
2304
  name: string;
@@ -2329,8 +2329,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2329
2329
  namedOperator?: string | null | undefined;
2330
2330
  permissionIndex?: string | number | null | undefined;
2331
2331
  }[];
2332
- threshold: string | number;
2333
2332
  prev_node: string;
2333
+ threshold?: string | number | undefined;
2334
2334
  }[];
2335
2335
  }>, "many">;
2336
2336
  bReplace: z.ZodOptional<z.ZodBoolean>;
@@ -2369,8 +2369,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2369
2369
  namedOperator?: string | null | undefined;
2370
2370
  permissionIndex?: string | number | null | undefined;
2371
2371
  }[];
2372
- threshold: string | number;
2373
2372
  prev_node: string;
2373
+ threshold?: string | number | undefined;
2374
2374
  }[];
2375
2375
  }[];
2376
2376
  bReplace?: boolean | undefined;
@@ -2811,8 +2811,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2811
2811
  namedOperator?: string | null | undefined;
2812
2812
  permissionIndex?: string | number | null | undefined;
2813
2813
  }[];
2814
- threshold: string | number;
2815
2814
  prev_node: string;
2815
+ threshold?: string | number | undefined;
2816
2816
  }[];
2817
2817
  }[];
2818
2818
  bReplace?: boolean | undefined;
@@ -2831,8 +2831,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
2831
2831
  namedOperator?: string | null | undefined;
2832
2832
  permissionIndex?: string | number | null | undefined;
2833
2833
  }[];
2834
- threshold: string | number;
2835
2834
  prev_node: string;
2835
+ threshold?: string | number | undefined;
2836
2836
  }[];
2837
2837
  }[];
2838
2838
  bReplace?: boolean | undefined;
@@ -3379,8 +3379,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
3379
3379
  namedOperator?: string | null | undefined;
3380
3380
  permissionIndex?: string | number | null | undefined;
3381
3381
  }[];
3382
- threshold: string | number;
3383
3382
  prev_node: string;
3383
+ threshold?: string | number | undefined;
3384
3384
  }[];
3385
3385
  }[];
3386
3386
  bReplace?: boolean | undefined;
@@ -3399,8 +3399,8 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
3399
3399
  namedOperator?: string | null | undefined;
3400
3400
  permissionIndex?: string | number | null | undefined;
3401
3401
  }[];
3402
- threshold: string | number;
3403
3402
  prev_node: string;
3403
+ threshold?: string | number | undefined;
3404
3404
  }[];
3405
3405
  }[];
3406
3406
  bReplace?: boolean | undefined;
@@ -9036,7 +9036,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9036
9036
  }>;
9037
9037
  allocators: z.ZodObject<{
9038
9038
  description: z.ZodEffects<z.ZodString, string, string>;
9039
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
9039
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
9040
9040
  allocators: z.ZodArray<z.ZodObject<{
9041
9041
  guard: z.ZodEffects<z.ZodString, string, string>;
9042
9042
  sharing: z.ZodArray<z.ZodObject<{
@@ -9166,7 +9166,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9166
9166
  }[];
9167
9167
  }, {
9168
9168
  description: string;
9169
- threshold: string | number;
9170
9169
  allocators: {
9171
9170
  guard: string;
9172
9171
  sharing: {
@@ -9186,6 +9185,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9186
9185
  max?: string | number | null | undefined;
9187
9186
  fix?: string | number | undefined;
9188
9187
  }[];
9188
+ threshold?: string | number | undefined;
9189
9189
  }>;
9190
9190
  coin: z.ZodUnion<[z.ZodObject<{
9191
9191
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -9273,7 +9273,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9273
9273
  };
9274
9274
  allocators: {
9275
9275
  description: string;
9276
- threshold: string | number;
9277
9276
  allocators: {
9278
9277
  guard: string;
9279
9278
  sharing: {
@@ -9293,6 +9292,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9293
9292
  max?: string | number | null | undefined;
9294
9293
  fix?: string | number | undefined;
9295
9294
  }[];
9295
+ threshold?: string | number | undefined;
9296
9296
  };
9297
9297
  payment_info: {
9298
9298
  index: string | number;
@@ -9687,7 +9687,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9687
9687
  };
9688
9688
  allocators: {
9689
9689
  description: string;
9690
- threshold: string | number;
9691
9690
  allocators: {
9692
9691
  guard: string;
9693
9692
  sharing: {
@@ -9707,6 +9706,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
9707
9706
  max?: string | number | null | undefined;
9708
9707
  fix?: string | number | undefined;
9709
9708
  }[];
9709
+ threshold?: string | number | undefined;
9710
9710
  };
9711
9711
  payment_info: {
9712
9712
  index: string | number;
@@ -20820,7 +20820,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20820
20820
  name: z.ZodString;
20821
20821
  value: z.ZodArray<z.ZodObject<{
20822
20822
  prev_node: z.ZodString;
20823
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
20823
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
20824
20824
  forwards: z.ZodArray<z.ZodObject<{
20825
20825
  name: z.ZodString;
20826
20826
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -20879,8 +20879,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20879
20879
  namedOperator?: string | null | undefined;
20880
20880
  permissionIndex?: string | number | null | undefined;
20881
20881
  }[];
20882
- threshold: string | number;
20883
20882
  prev_node: string;
20883
+ threshold?: string | number | undefined;
20884
20884
  }>, "many">;
20885
20885
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20886
20886
  object: z.ZodString;
@@ -20955,7 +20955,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20955
20955
  name: z.ZodString;
20956
20956
  value: z.ZodArray<z.ZodObject<{
20957
20957
  prev_node: z.ZodString;
20958
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
20958
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
20959
20959
  forwards: z.ZodArray<z.ZodObject<{
20960
20960
  name: z.ZodString;
20961
20961
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21014,8 +21014,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21014
21014
  namedOperator?: string | null | undefined;
21015
21015
  permissionIndex?: string | number | null | undefined;
21016
21016
  }[];
21017
- threshold: string | number;
21018
21017
  prev_node: string;
21018
+ threshold?: string | number | undefined;
21019
21019
  }>, "many">;
21020
21020
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
21021
21021
  object: z.ZodString;
@@ -21090,7 +21090,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21090
21090
  name: z.ZodString;
21091
21091
  value: z.ZodArray<z.ZodObject<{
21092
21092
  prev_node: z.ZodString;
21093
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21093
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21094
21094
  forwards: z.ZodArray<z.ZodObject<{
21095
21095
  name: z.ZodString;
21096
21096
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21149,8 +21149,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21149
21149
  namedOperator?: string | null | undefined;
21150
21150
  permissionIndex?: string | number | null | undefined;
21151
21151
  }[];
21152
- threshold: string | number;
21153
21152
  prev_node: string;
21153
+ threshold?: string | number | undefined;
21154
21154
  }>, "many">;
21155
21155
  }, z.ZodTypeAny, "passthrough">>, z.ZodUndefined]>;
21156
21156
  }, "strip", z.ZodTypeAny, {
@@ -21228,7 +21228,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21228
21228
  name: z.ZodString;
21229
21229
  value: z.ZodArray<z.ZodObject<{
21230
21230
  prev_node: z.ZodString;
21231
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21231
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21232
21232
  forwards: z.ZodArray<z.ZodObject<{
21233
21233
  name: z.ZodString;
21234
21234
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21287,8 +21287,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21287
21287
  namedOperator?: string | null | undefined;
21288
21288
  permissionIndex?: string | number | null | undefined;
21289
21289
  }[];
21290
- threshold: string | number;
21291
21290
  prev_node: string;
21291
+ threshold?: string | number | undefined;
21292
21292
  }>, "many">;
21293
21293
  }, z.ZodTypeAny, "passthrough"> | undefined;
21294
21294
  }, {
@@ -21366,7 +21366,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21366
21366
  name: z.ZodString;
21367
21367
  value: z.ZodArray<z.ZodObject<{
21368
21368
  prev_node: z.ZodString;
21369
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21369
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21370
21370
  forwards: z.ZodArray<z.ZodObject<{
21371
21371
  name: z.ZodString;
21372
21372
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21425,8 +21425,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21425
21425
  namedOperator?: string | null | undefined;
21426
21426
  permissionIndex?: string | number | null | undefined;
21427
21427
  }[];
21428
- threshold: string | number;
21429
21428
  prev_node: string;
21429
+ threshold?: string | number | undefined;
21430
21430
  }>, "many">;
21431
21431
  }, z.ZodTypeAny, "passthrough"> | undefined;
21432
21432
  }>, z.ZodObject<{
@@ -21582,7 +21582,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21582
21582
  accomplished: boolean;
21583
21583
  }>, "many">;
21584
21584
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21585
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21585
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21586
21586
  }, "strip", z.ZodTypeAny, {
21587
21587
  forwards: {
21588
21588
  time: string | number;
@@ -21612,9 +21612,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21612
21612
  msg: string;
21613
21613
  accomplished: boolean;
21614
21614
  }[];
21615
- threshold: string | number;
21616
21615
  next_node: string;
21617
21616
  weights: string | number;
21617
+ threshold?: string | number | undefined;
21618
21618
  }>, "many">;
21619
21619
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
21620
21620
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -21768,7 +21768,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21768
21768
  accomplished: boolean;
21769
21769
  }>, "many">;
21770
21770
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21771
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21771
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21772
21772
  }, "strip", z.ZodTypeAny, {
21773
21773
  forwards: {
21774
21774
  time: string | number;
@@ -21798,9 +21798,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21798
21798
  msg: string;
21799
21799
  accomplished: boolean;
21800
21800
  }[];
21801
- threshold: string | number;
21802
21801
  next_node: string;
21803
21802
  weights: string | number;
21803
+ threshold?: string | number | undefined;
21804
21804
  }>, "many">;
21805
21805
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
21806
21806
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -21954,7 +21954,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21954
21954
  accomplished: boolean;
21955
21955
  }>, "many">;
21956
21956
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21957
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21957
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21958
21958
  }, "strip", z.ZodTypeAny, {
21959
21959
  forwards: {
21960
21960
  time: string | number;
@@ -21984,9 +21984,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21984
21984
  msg: string;
21985
21985
  accomplished: boolean;
21986
21986
  }[];
21987
- threshold: string | number;
21988
21987
  next_node: string;
21989
21988
  weights: string | number;
21989
+ threshold?: string | number | undefined;
21990
21990
  }>, "many">;
21991
21991
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
21992
21992
  }, z.ZodTypeAny, "passthrough">>, z.ZodUndefined]>;
@@ -22143,7 +22143,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22143
22143
  accomplished: boolean;
22144
22144
  }>, "many">;
22145
22145
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22146
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22146
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
22147
22147
  }, "strip", z.ZodTypeAny, {
22148
22148
  forwards: {
22149
22149
  time: string | number;
@@ -22173,9 +22173,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22173
22173
  msg: string;
22174
22174
  accomplished: boolean;
22175
22175
  }[];
22176
- threshold: string | number;
22177
22176
  next_node: string;
22178
22177
  weights: string | number;
22178
+ threshold?: string | number | undefined;
22179
22179
  }>, "many">;
22180
22180
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
22181
22181
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -22332,7 +22332,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22332
22332
  accomplished: boolean;
22333
22333
  }>, "many">;
22334
22334
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22335
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22335
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
22336
22336
  }, "strip", z.ZodTypeAny, {
22337
22337
  forwards: {
22338
22338
  time: string | number;
@@ -22362,9 +22362,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22362
22362
  msg: string;
22363
22363
  accomplished: boolean;
22364
22364
  }[];
22365
- threshold: string | number;
22366
22365
  next_node: string;
22367
22366
  weights: string | number;
22367
+ threshold?: string | number | undefined;
22368
22368
  }>, "many">;
22369
22369
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
22370
22370
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -24514,7 +24514,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24514
24514
  name: z.ZodString;
24515
24515
  value: z.ZodArray<z.ZodObject<{
24516
24516
  prev_node: z.ZodString;
24517
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24517
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
24518
24518
  forwards: z.ZodArray<z.ZodObject<{
24519
24519
  name: z.ZodString;
24520
24520
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -24573,8 +24573,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24573
24573
  namedOperator?: string | null | undefined;
24574
24574
  permissionIndex?: string | number | null | undefined;
24575
24575
  }[];
24576
- threshold: string | number;
24577
24576
  prev_node: string;
24577
+ threshold?: string | number | undefined;
24578
24578
  }>, "many">;
24579
24579
  }, z.ZodTypeAny, "passthrough"> | undefined;
24580
24580
  } | {
@@ -24730,7 +24730,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24730
24730
  accomplished: boolean;
24731
24731
  }>, "many">;
24732
24732
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24733
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24733
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
24734
24734
  }, "strip", z.ZodTypeAny, {
24735
24735
  forwards: {
24736
24736
  time: string | number;
@@ -24760,9 +24760,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24760
24760
  msg: string;
24761
24761
  accomplished: boolean;
24762
24762
  }[];
24763
- threshold: string | number;
24764
24763
  next_node: string;
24765
24764
  weights: string | number;
24765
+ threshold?: string | number | undefined;
24766
24766
  }>, "many">;
24767
24767
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
24768
24768
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -25792,7 +25792,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
25792
25792
  name: z.ZodString;
25793
25793
  value: z.ZodArray<z.ZodObject<{
25794
25794
  prev_node: z.ZodString;
25795
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
25795
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
25796
25796
  forwards: z.ZodArray<z.ZodObject<{
25797
25797
  name: z.ZodString;
25798
25798
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -25851,8 +25851,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
25851
25851
  namedOperator?: string | null | undefined;
25852
25852
  permissionIndex?: string | number | null | undefined;
25853
25853
  }[];
25854
- threshold: string | number;
25855
25854
  prev_node: string;
25855
+ threshold?: string | number | undefined;
25856
25856
  }>, "many">;
25857
25857
  }, z.ZodTypeAny, "passthrough"> | undefined;
25858
25858
  } | {
@@ -26008,7 +26008,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
26008
26008
  accomplished: boolean;
26009
26009
  }>, "many">;
26010
26010
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
26011
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
26011
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
26012
26012
  }, "strip", z.ZodTypeAny, {
26013
26013
  forwards: {
26014
26014
  time: string | number;
@@ -26038,9 +26038,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
26038
26038
  msg: string;
26039
26039
  accomplished: boolean;
26040
26040
  }[];
26041
- threshold: string | number;
26042
26041
  next_node: string;
26043
26042
  weights: string | number;
26043
+ threshold?: string | number | undefined;
26044
26044
  }>, "many">;
26045
26045
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
26046
26046
  }, z.ZodTypeAny, "passthrough"> | undefined;