@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
@@ -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;
@@ -4165,7 +4165,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4165
4165
  id_from_submission?: number | undefined;
4166
4166
  data_from_submission?: number | undefined;
4167
4167
  }[];
4168
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4168
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4169
4169
  quote_guard?: string | null | undefined;
4170
4170
  }, {
4171
4171
  value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
@@ -4176,7 +4176,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4176
4176
  id_from_submission?: number | undefined;
4177
4177
  data_from_submission?: number | undefined;
4178
4178
  }[];
4179
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4179
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4180
4180
  quote_guard?: string | null | undefined;
4181
4181
  }>, "many">;
4182
4182
  }, "strict", z.ZodTypeAny, {
@@ -4190,7 +4190,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4190
4190
  id_from_submission?: number | undefined;
4191
4191
  data_from_submission?: number | undefined;
4192
4192
  }[];
4193
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4193
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4194
4194
  quote_guard?: string | null | undefined;
4195
4195
  }[];
4196
4196
  }, {
@@ -4204,7 +4204,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4204
4204
  id_from_submission?: number | undefined;
4205
4205
  data_from_submission?: number | undefined;
4206
4206
  }[];
4207
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4207
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4208
4208
  quote_guard?: string | null | undefined;
4209
4209
  }[];
4210
4210
  }>, z.ZodObject<{
@@ -4549,7 +4549,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4549
4549
  id_from_submission?: number | undefined;
4550
4550
  data_from_submission?: number | undefined;
4551
4551
  }[];
4552
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4552
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4553
4553
  quote_guard?: string | null | undefined;
4554
4554
  }[];
4555
4555
  } | {
@@ -4637,7 +4637,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4637
4637
  id_from_submission?: number | undefined;
4638
4638
  data_from_submission?: number | undefined;
4639
4639
  }[];
4640
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4640
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4641
4641
  quote_guard?: string | null | undefined;
4642
4642
  }[];
4643
4643
  } | {
@@ -4941,7 +4941,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
4941
4941
  id_from_submission?: number | undefined;
4942
4942
  data_from_submission?: number | undefined;
4943
4943
  }[];
4944
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
4944
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
4945
4945
  quote_guard?: string | null | undefined;
4946
4946
  }[];
4947
4947
  } | {
@@ -5071,7 +5071,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
5071
5071
  id_from_submission?: number | undefined;
5072
5072
  data_from_submission?: number | undefined;
5073
5073
  }[];
5074
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
5074
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
5075
5075
  quote_guard?: string | null | undefined;
5076
5076
  }[];
5077
5077
  } | {
@@ -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;
@@ -10355,19 +10355,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10355
10355
  };
10356
10356
  index: number[];
10357
10357
  } | undefined;
10358
- owner_receive?: {
10359
- received: {
10360
- id: string;
10361
- balance: string | number;
10362
- payment: string;
10363
- }[];
10364
- balance: string | number;
10365
- token_type: string;
10366
- } | "recently" | {
10367
- type: string;
10368
- id: string;
10369
- content_raw?: any;
10370
- }[] | undefined;
10371
10358
  entity?: {
10372
10359
  op: "swap";
10373
10360
  entity1: {
@@ -10405,6 +10392,19 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10405
10392
  local_mark_first?: boolean | undefined;
10406
10393
  };
10407
10394
  } | undefined;
10395
+ owner_receive?: {
10396
+ received: {
10397
+ id: string;
10398
+ balance: string | number;
10399
+ payment: string;
10400
+ }[];
10401
+ balance: string | number;
10402
+ token_type: string;
10403
+ } | "recently" | {
10404
+ type: string;
10405
+ id: string;
10406
+ content_raw?: any;
10407
+ }[] | undefined;
10408
10408
  um?: string | null | undefined;
10409
10409
  builder?: {
10410
10410
  name_or_address?: string | undefined;
@@ -10491,19 +10491,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10491
10491
  };
10492
10492
  index: number[];
10493
10493
  } | undefined;
10494
- owner_receive?: {
10495
- received: {
10496
- id: string;
10497
- balance: string | number;
10498
- payment: string;
10499
- }[];
10500
- balance: string | number;
10501
- token_type: string;
10502
- } | "recently" | {
10503
- type: string;
10504
- id: string;
10505
- content_raw?: any;
10506
- }[] | undefined;
10507
10494
  entity?: {
10508
10495
  op: "swap";
10509
10496
  entity1: {
@@ -10541,6 +10528,19 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10541
10528
  local_mark_first?: boolean | undefined;
10542
10529
  };
10543
10530
  } | undefined;
10531
+ owner_receive?: {
10532
+ received: {
10533
+ id: string;
10534
+ balance: string | number;
10535
+ payment: string;
10536
+ }[];
10537
+ balance: string | number;
10538
+ token_type: string;
10539
+ } | "recently" | {
10540
+ type: string;
10541
+ id: string;
10542
+ content_raw?: any;
10543
+ }[] | undefined;
10544
10544
  um?: string | null | undefined;
10545
10545
  builder?: {
10546
10546
  name_or_address?: string | undefined;
@@ -10663,19 +10663,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10663
10663
  };
10664
10664
  index: number[];
10665
10665
  } | undefined;
10666
- owner_receive?: {
10667
- received: {
10668
- id: string;
10669
- balance: string | number;
10670
- payment: string;
10671
- }[];
10672
- balance: string | number;
10673
- token_type: string;
10674
- } | "recently" | {
10675
- type: string;
10676
- id: string;
10677
- content_raw?: any;
10678
- }[] | undefined;
10679
10666
  entity?: {
10680
10667
  op: "swap";
10681
10668
  entity1: {
@@ -10713,6 +10700,19 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10713
10700
  local_mark_first?: boolean | undefined;
10714
10701
  };
10715
10702
  } | undefined;
10703
+ owner_receive?: {
10704
+ received: {
10705
+ id: string;
10706
+ balance: string | number;
10707
+ payment: string;
10708
+ }[];
10709
+ balance: string | number;
10710
+ token_type: string;
10711
+ } | "recently" | {
10712
+ type: string;
10713
+ id: string;
10714
+ content_raw?: any;
10715
+ }[] | undefined;
10716
10716
  um?: string | null | undefined;
10717
10717
  builder?: {
10718
10718
  name_or_address?: string | undefined;
@@ -10814,19 +10814,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10814
10814
  };
10815
10815
  index: number[];
10816
10816
  } | undefined;
10817
- owner_receive?: {
10818
- received: {
10819
- id: string;
10820
- balance: string | number;
10821
- payment: string;
10822
- }[];
10823
- balance: string | number;
10824
- token_type: string;
10825
- } | "recently" | {
10826
- type: string;
10827
- id: string;
10828
- content_raw?: any;
10829
- }[] | undefined;
10830
10817
  entity?: {
10831
10818
  op: "swap";
10832
10819
  entity1: {
@@ -10864,6 +10851,19 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
10864
10851
  local_mark_first?: boolean | undefined;
10865
10852
  };
10866
10853
  } | undefined;
10854
+ owner_receive?: {
10855
+ received: {
10856
+ id: string;
10857
+ balance: string | number;
10858
+ payment: string;
10859
+ }[];
10860
+ balance: string | number;
10861
+ token_type: string;
10862
+ } | "recently" | {
10863
+ type: string;
10864
+ id: string;
10865
+ content_raw?: any;
10866
+ }[] | undefined;
10867
10867
  um?: string | null | undefined;
10868
10868
  builder?: {
10869
10869
  name_or_address?: string | undefined;
@@ -11017,6 +11017,28 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11017
11017
  guards: string[];
11018
11018
  logic_or?: boolean | undefined;
11019
11019
  }>>;
11020
+ binding_hint: z.ZodOptional<z.ZodObject<{
11021
+ action: z.ZodEnum<["buy", "forward", "allocate", "claim_reward", "vote", "dispute", "write_repository", "submit_progress", "gen_passport", "custom"]>;
11022
+ host_object: z.ZodEnum<["Service", "Machine", "Arbitration", "Reward", "Repository", "Progress", "Demand", "Standalone"]>;
11023
+ binding_field: z.ZodEnum<["buy_guard", "order_allocators", "Forward.guard", "submission", "guard", "write_guard", "usage_guard", "voting_guard", "ServiceGuard", "none"]>;
11024
+ rule_sentence: z.ZodOptional<z.ZodString>;
11025
+ failure_conditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11026
+ circular_reference: z.ZodOptional<z.ZodBoolean>;
11027
+ }, "strict", z.ZodTypeAny, {
11028
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11029
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11030
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11031
+ rule_sentence?: string | undefined;
11032
+ failure_conditions?: string[] | undefined;
11033
+ circular_reference?: boolean | undefined;
11034
+ }, {
11035
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11036
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11037
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11038
+ rule_sentence?: string | undefined;
11039
+ failure_conditions?: string[] | undefined;
11040
+ circular_reference?: boolean | undefined;
11041
+ }>>;
11020
11042
  }, "strict", z.ZodTypeAny, {
11021
11043
  description?: string | undefined;
11022
11044
  table?: {
@@ -11046,6 +11068,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11046
11068
  tags?: string[] | undefined;
11047
11069
  onChain?: boolean | undefined;
11048
11070
  } | undefined;
11071
+ binding_hint?: {
11072
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11073
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11074
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11075
+ rule_sentence?: string | undefined;
11076
+ failure_conditions?: string[] | undefined;
11077
+ circular_reference?: boolean | undefined;
11078
+ } | undefined;
11049
11079
  }, {
11050
11080
  description?: string | undefined;
11051
11081
  table?: {
@@ -11075,6 +11105,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11075
11105
  tags?: string[] | undefined;
11076
11106
  onChain?: boolean | undefined;
11077
11107
  } | undefined;
11108
+ binding_hint?: {
11109
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11110
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11111
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11112
+ rule_sentence?: string | undefined;
11113
+ failure_conditions?: string[] | undefined;
11114
+ circular_reference?: boolean | undefined;
11115
+ } | undefined;
11078
11116
  }>, {
11079
11117
  description?: string | undefined;
11080
11118
  table?: {
@@ -11104,6 +11142,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11104
11142
  tags?: string[] | undefined;
11105
11143
  onChain?: boolean | undefined;
11106
11144
  } | undefined;
11145
+ binding_hint?: {
11146
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11147
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11148
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11149
+ rule_sentence?: string | undefined;
11150
+ failure_conditions?: string[] | undefined;
11151
+ circular_reference?: boolean | undefined;
11152
+ } | undefined;
11107
11153
  }, {
11108
11154
  description?: string | undefined;
11109
11155
  table?: {
@@ -11133,6 +11179,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11133
11179
  tags?: string[] | undefined;
11134
11180
  onChain?: boolean | undefined;
11135
11181
  } | undefined;
11182
+ binding_hint?: {
11183
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11184
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11185
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11186
+ rule_sentence?: string | undefined;
11187
+ failure_conditions?: string[] | undefined;
11188
+ circular_reference?: boolean | undefined;
11189
+ } | undefined;
11136
11190
  }>;
11137
11191
  env: z.ZodOptional<z.ZodObject<{
11138
11192
  account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -11198,6 +11252,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11198
11252
  tags?: string[] | undefined;
11199
11253
  onChain?: boolean | undefined;
11200
11254
  } | undefined;
11255
+ binding_hint?: {
11256
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11257
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11258
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11259
+ rule_sentence?: string | undefined;
11260
+ failure_conditions?: string[] | undefined;
11261
+ circular_reference?: boolean | undefined;
11262
+ } | undefined;
11201
11263
  };
11202
11264
  operation_type: "guard";
11203
11265
  env?: {
@@ -11242,6 +11304,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
11242
11304
  tags?: string[] | undefined;
11243
11305
  onChain?: boolean | undefined;
11244
11306
  } | undefined;
11307
+ binding_hint?: {
11308
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
11309
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
11310
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
11311
+ rule_sentence?: string | undefined;
11312
+ failure_conditions?: string[] | undefined;
11313
+ circular_reference?: boolean | undefined;
11314
+ } | undefined;
11245
11315
  };
11246
11316
  operation_type: "guard";
11247
11317
  env?: {
@@ -12334,20 +12404,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12334
12404
  } | {
12335
12405
  op: "clear";
12336
12406
  } | undefined;
12337
- location?: string | undefined;
12338
- owner_receive?: {
12339
- received: {
12340
- id: string;
12341
- balance: string | number;
12342
- payment: string;
12343
- }[];
12344
- balance: string | number;
12345
- token_type: string;
12346
- } | "recently" | {
12347
- type: string;
12348
- id: string;
12349
- content_raw?: any;
12350
- }[] | undefined;
12351
12407
  guards?: {
12352
12408
  op: "add";
12353
12409
  guard: {
@@ -12366,6 +12422,20 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12366
12422
  } | {
12367
12423
  op: "clear";
12368
12424
  } | undefined;
12425
+ location?: string | undefined;
12426
+ owner_receive?: {
12427
+ received: {
12428
+ id: string;
12429
+ balance: string | number;
12430
+ payment: string;
12431
+ }[];
12432
+ balance: string | number;
12433
+ token_type: string;
12434
+ } | "recently" | {
12435
+ type: string;
12436
+ id: string;
12437
+ content_raw?: any;
12438
+ }[] | undefined;
12369
12439
  um?: string | null | undefined;
12370
12440
  feedback?: {
12371
12441
  who: {
@@ -12404,20 +12474,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12404
12474
  } | {
12405
12475
  op: "clear";
12406
12476
  } | undefined;
12407
- location?: string | undefined;
12408
- owner_receive?: {
12409
- received: {
12410
- id: string;
12411
- balance: string | number;
12412
- payment: string;
12413
- }[];
12414
- balance: string | number;
12415
- token_type: string;
12416
- } | "recently" | {
12417
- type: string;
12418
- id: string;
12419
- content_raw?: any;
12420
- }[] | undefined;
12421
12477
  guards?: {
12422
12478
  op: "add";
12423
12479
  guard: {
@@ -12436,6 +12492,20 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12436
12492
  } | {
12437
12493
  op: "clear";
12438
12494
  } | undefined;
12495
+ location?: string | undefined;
12496
+ owner_receive?: {
12497
+ received: {
12498
+ id: string;
12499
+ balance: string | number;
12500
+ payment: string;
12501
+ }[];
12502
+ balance: string | number;
12503
+ token_type: string;
12504
+ } | "recently" | {
12505
+ type: string;
12506
+ id: string;
12507
+ content_raw?: any;
12508
+ }[] | undefined;
12439
12509
  um?: string | null | undefined;
12440
12510
  feedback?: {
12441
12511
  who: {
@@ -12690,20 +12760,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12690
12760
  } | {
12691
12761
  op: "clear";
12692
12762
  } | undefined;
12693
- location?: string | undefined;
12694
- owner_receive?: {
12695
- received: {
12696
- id: string;
12697
- balance: string | number;
12698
- payment: string;
12699
- }[];
12700
- balance: string | number;
12701
- token_type: string;
12702
- } | "recently" | {
12703
- type: string;
12704
- id: string;
12705
- content_raw?: any;
12706
- }[] | undefined;
12707
12763
  guards?: {
12708
12764
  op: "add";
12709
12765
  guard: {
@@ -12722,6 +12778,20 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12722
12778
  } | {
12723
12779
  op: "clear";
12724
12780
  } | undefined;
12781
+ location?: string | undefined;
12782
+ owner_receive?: {
12783
+ received: {
12784
+ id: string;
12785
+ balance: string | number;
12786
+ payment: string;
12787
+ }[];
12788
+ balance: string | number;
12789
+ token_type: string;
12790
+ } | "recently" | {
12791
+ type: string;
12792
+ id: string;
12793
+ content_raw?: any;
12794
+ }[] | undefined;
12725
12795
  um?: string | null | undefined;
12726
12796
  feedback?: {
12727
12797
  who: {
@@ -12802,20 +12872,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12802
12872
  } | {
12803
12873
  op: "clear";
12804
12874
  } | undefined;
12805
- location?: string | undefined;
12806
- owner_receive?: {
12807
- received: {
12808
- id: string;
12809
- balance: string | number;
12810
- payment: string;
12811
- }[];
12812
- balance: string | number;
12813
- token_type: string;
12814
- } | "recently" | {
12815
- type: string;
12816
- id: string;
12817
- content_raw?: any;
12818
- }[] | undefined;
12819
12875
  guards?: {
12820
12876
  op: "add";
12821
12877
  guard: {
@@ -12834,6 +12890,20 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
12834
12890
  } | {
12835
12891
  op: "clear";
12836
12892
  } | undefined;
12893
+ location?: string | undefined;
12894
+ owner_receive?: {
12895
+ received: {
12896
+ id: string;
12897
+ balance: string | number;
12898
+ payment: string;
12899
+ }[];
12900
+ balance: string | number;
12901
+ token_type: string;
12902
+ } | "recently" | {
12903
+ type: string;
12904
+ id: string;
12905
+ content_raw?: any;
12906
+ }[] | undefined;
12837
12907
  um?: string | null | undefined;
12838
12908
  feedback?: {
12839
12909
  who: {
@@ -14894,7 +14964,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
14894
14964
  id_from_submission?: number | undefined;
14895
14965
  data_from_submission?: number | undefined;
14896
14966
  }[];
14897
- id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "None" | "clock";
14967
+ id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
14898
14968
  quote_guard?: string | null | undefined;
14899
14969
  }[];
14900
14970
  } | {
@@ -15648,19 +15718,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
15648
15718
  };
15649
15719
  index: number[];
15650
15720
  } | undefined;
15651
- owner_receive?: {
15652
- received: {
15653
- id: string;
15654
- balance: string | number;
15655
- payment: string;
15656
- }[];
15657
- balance: string | number;
15658
- token_type: string;
15659
- } | "recently" | {
15660
- type: string;
15661
- id: string;
15662
- content_raw?: any;
15663
- }[] | undefined;
15664
15721
  entity?: {
15665
15722
  op: "swap";
15666
15723
  entity1: {
@@ -15698,6 +15755,19 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
15698
15755
  local_mark_first?: boolean | undefined;
15699
15756
  };
15700
15757
  } | undefined;
15758
+ owner_receive?: {
15759
+ received: {
15760
+ id: string;
15761
+ balance: string | number;
15762
+ payment: string;
15763
+ }[];
15764
+ balance: string | number;
15765
+ token_type: string;
15766
+ } | "recently" | {
15767
+ type: string;
15768
+ id: string;
15769
+ content_raw?: any;
15770
+ }[] | undefined;
15701
15771
  um?: string | null | undefined;
15702
15772
  builder?: {
15703
15773
  name_or_address?: string | undefined;
@@ -15768,6 +15838,14 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
15768
15838
  tags?: string[] | undefined;
15769
15839
  onChain?: boolean | undefined;
15770
15840
  } | undefined;
15841
+ binding_hint?: {
15842
+ action: "custom" | "gen_passport" | "buy" | "dispute" | "forward" | "allocate" | "claim_reward" | "vote" | "write_repository" | "submit_progress";
15843
+ host_object: "Machine" | "Progress" | "Service" | "Arbitration" | "Demand" | "Reward" | "Repository" | "Standalone";
15844
+ binding_field: "guard" | "none" | "submission" | "buy_guard" | "order_allocators" | "Forward.guard" | "write_guard" | "usage_guard" | "voting_guard" | "ServiceGuard";
15845
+ rule_sentence?: string | undefined;
15846
+ failure_conditions?: string[] | undefined;
15847
+ circular_reference?: boolean | undefined;
15848
+ } | undefined;
15771
15849
  };
15772
15850
  operation_type: "guard";
15773
15851
  env?: {
@@ -15921,20 +15999,6 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
15921
15999
  } | {
15922
16000
  op: "clear";
15923
16001
  } | undefined;
15924
- location?: string | undefined;
15925
- owner_receive?: {
15926
- received: {
15927
- id: string;
15928
- balance: string | number;
15929
- payment: string;
15930
- }[];
15931
- balance: string | number;
15932
- token_type: string;
15933
- } | "recently" | {
15934
- type: string;
15935
- id: string;
15936
- content_raw?: any;
15937
- }[] | undefined;
15938
16002
  guards?: {
15939
16003
  op: "add";
15940
16004
  guard: {
@@ -15953,6 +16017,20 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
15953
16017
  } | {
15954
16018
  op: "clear";
15955
16019
  } | undefined;
16020
+ location?: string | undefined;
16021
+ owner_receive?: {
16022
+ received: {
16023
+ id: string;
16024
+ balance: string | number;
16025
+ payment: string;
16026
+ }[];
16027
+ balance: string | number;
16028
+ token_type: string;
16029
+ } | "recently" | {
16030
+ type: string;
16031
+ id: string;
16032
+ content_raw?: any;
16033
+ }[] | undefined;
15956
16034
  um?: string | null | undefined;
15957
16035
  feedback?: {
15958
16036
  who: {
@@ -20742,7 +20820,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20742
20820
  name: z.ZodString;
20743
20821
  value: z.ZodArray<z.ZodObject<{
20744
20822
  prev_node: z.ZodString;
20745
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
20823
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
20746
20824
  forwards: z.ZodArray<z.ZodObject<{
20747
20825
  name: z.ZodString;
20748
20826
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -20801,8 +20879,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20801
20879
  namedOperator?: string | null | undefined;
20802
20880
  permissionIndex?: string | number | null | undefined;
20803
20881
  }[];
20804
- threshold: string | number;
20805
20882
  prev_node: string;
20883
+ threshold?: string | number | undefined;
20806
20884
  }>, "many">;
20807
20885
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20808
20886
  object: z.ZodString;
@@ -20877,7 +20955,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20877
20955
  name: z.ZodString;
20878
20956
  value: z.ZodArray<z.ZodObject<{
20879
20957
  prev_node: z.ZodString;
20880
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
20958
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
20881
20959
  forwards: z.ZodArray<z.ZodObject<{
20882
20960
  name: z.ZodString;
20883
20961
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -20936,8 +21014,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
20936
21014
  namedOperator?: string | null | undefined;
20937
21015
  permissionIndex?: string | number | null | undefined;
20938
21016
  }[];
20939
- threshold: string | number;
20940
21017
  prev_node: string;
21018
+ threshold?: string | number | undefined;
20941
21019
  }>, "many">;
20942
21020
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
20943
21021
  object: z.ZodString;
@@ -21012,7 +21090,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21012
21090
  name: z.ZodString;
21013
21091
  value: z.ZodArray<z.ZodObject<{
21014
21092
  prev_node: z.ZodString;
21015
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21093
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21016
21094
  forwards: z.ZodArray<z.ZodObject<{
21017
21095
  name: z.ZodString;
21018
21096
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21071,8 +21149,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21071
21149
  namedOperator?: string | null | undefined;
21072
21150
  permissionIndex?: string | number | null | undefined;
21073
21151
  }[];
21074
- threshold: string | number;
21075
21152
  prev_node: string;
21153
+ threshold?: string | number | undefined;
21076
21154
  }>, "many">;
21077
21155
  }, z.ZodTypeAny, "passthrough">>, z.ZodUndefined]>;
21078
21156
  }, "strip", z.ZodTypeAny, {
@@ -21150,7 +21228,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21150
21228
  name: z.ZodString;
21151
21229
  value: z.ZodArray<z.ZodObject<{
21152
21230
  prev_node: z.ZodString;
21153
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21231
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21154
21232
  forwards: z.ZodArray<z.ZodObject<{
21155
21233
  name: z.ZodString;
21156
21234
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21209,8 +21287,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21209
21287
  namedOperator?: string | null | undefined;
21210
21288
  permissionIndex?: string | number | null | undefined;
21211
21289
  }[];
21212
- threshold: string | number;
21213
21290
  prev_node: string;
21291
+ threshold?: string | number | undefined;
21214
21292
  }>, "many">;
21215
21293
  }, z.ZodTypeAny, "passthrough"> | undefined;
21216
21294
  }, {
@@ -21288,7 +21366,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21288
21366
  name: z.ZodString;
21289
21367
  value: z.ZodArray<z.ZodObject<{
21290
21368
  prev_node: z.ZodString;
21291
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21369
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21292
21370
  forwards: z.ZodArray<z.ZodObject<{
21293
21371
  name: z.ZodString;
21294
21372
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -21347,8 +21425,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21347
21425
  namedOperator?: string | null | undefined;
21348
21426
  permissionIndex?: string | number | null | undefined;
21349
21427
  }[];
21350
- threshold: string | number;
21351
21428
  prev_node: string;
21429
+ threshold?: string | number | undefined;
21352
21430
  }>, "many">;
21353
21431
  }, z.ZodTypeAny, "passthrough"> | undefined;
21354
21432
  }>, z.ZodObject<{
@@ -21504,7 +21582,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21504
21582
  accomplished: boolean;
21505
21583
  }>, "many">;
21506
21584
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21507
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21585
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21508
21586
  }, "strip", z.ZodTypeAny, {
21509
21587
  forwards: {
21510
21588
  time: string | number;
@@ -21534,9 +21612,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21534
21612
  msg: string;
21535
21613
  accomplished: boolean;
21536
21614
  }[];
21537
- threshold: string | number;
21538
21615
  next_node: string;
21539
21616
  weights: string | number;
21617
+ threshold?: string | number | undefined;
21540
21618
  }>, "many">;
21541
21619
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
21542
21620
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -21690,7 +21768,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21690
21768
  accomplished: boolean;
21691
21769
  }>, "many">;
21692
21770
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21693
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21771
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21694
21772
  }, "strip", z.ZodTypeAny, {
21695
21773
  forwards: {
21696
21774
  time: string | number;
@@ -21720,9 +21798,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21720
21798
  msg: string;
21721
21799
  accomplished: boolean;
21722
21800
  }[];
21723
- threshold: string | number;
21724
21801
  next_node: string;
21725
21802
  weights: string | number;
21803
+ threshold?: string | number | undefined;
21726
21804
  }>, "many">;
21727
21805
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
21728
21806
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -21876,7 +21954,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21876
21954
  accomplished: boolean;
21877
21955
  }>, "many">;
21878
21956
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21879
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
21957
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
21880
21958
  }, "strip", z.ZodTypeAny, {
21881
21959
  forwards: {
21882
21960
  time: string | number;
@@ -21906,9 +21984,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
21906
21984
  msg: string;
21907
21985
  accomplished: boolean;
21908
21986
  }[];
21909
- threshold: string | number;
21910
21987
  next_node: string;
21911
21988
  weights: string | number;
21989
+ threshold?: string | number | undefined;
21912
21990
  }>, "many">;
21913
21991
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
21914
21992
  }, z.ZodTypeAny, "passthrough">>, z.ZodUndefined]>;
@@ -22065,7 +22143,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22065
22143
  accomplished: boolean;
22066
22144
  }>, "many">;
22067
22145
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22068
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22146
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
22069
22147
  }, "strip", z.ZodTypeAny, {
22070
22148
  forwards: {
22071
22149
  time: string | number;
@@ -22095,9 +22173,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22095
22173
  msg: string;
22096
22174
  accomplished: boolean;
22097
22175
  }[];
22098
- threshold: string | number;
22099
22176
  next_node: string;
22100
22177
  weights: string | number;
22178
+ threshold?: string | number | undefined;
22101
22179
  }>, "many">;
22102
22180
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
22103
22181
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -22254,7 +22332,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22254
22332
  accomplished: boolean;
22255
22333
  }>, "many">;
22256
22334
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22257
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
22335
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
22258
22336
  }, "strip", z.ZodTypeAny, {
22259
22337
  forwards: {
22260
22338
  time: string | number;
@@ -22284,9 +22362,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
22284
22362
  msg: string;
22285
22363
  accomplished: boolean;
22286
22364
  }[];
22287
- threshold: string | number;
22288
22365
  next_node: string;
22289
22366
  weights: string | number;
22367
+ threshold?: string | number | undefined;
22290
22368
  }>, "many">;
22291
22369
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
22292
22370
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -24436,7 +24514,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24436
24514
  name: z.ZodString;
24437
24515
  value: z.ZodArray<z.ZodObject<{
24438
24516
  prev_node: z.ZodString;
24439
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24517
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
24440
24518
  forwards: z.ZodArray<z.ZodObject<{
24441
24519
  name: z.ZodString;
24442
24520
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -24495,8 +24573,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24495
24573
  namedOperator?: string | null | undefined;
24496
24574
  permissionIndex?: string | number | null | undefined;
24497
24575
  }[];
24498
- threshold: string | number;
24499
24576
  prev_node: string;
24577
+ threshold?: string | number | undefined;
24500
24578
  }>, "many">;
24501
24579
  }, z.ZodTypeAny, "passthrough"> | undefined;
24502
24580
  } | {
@@ -24652,7 +24730,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24652
24730
  accomplished: boolean;
24653
24731
  }>, "many">;
24654
24732
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24655
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24733
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
24656
24734
  }, "strip", z.ZodTypeAny, {
24657
24735
  forwards: {
24658
24736
  time: string | number;
@@ -24682,9 +24760,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
24682
24760
  msg: string;
24683
24761
  accomplished: boolean;
24684
24762
  }[];
24685
- threshold: string | number;
24686
24763
  next_node: string;
24687
24764
  weights: string | number;
24765
+ threshold?: string | number | undefined;
24688
24766
  }>, "many">;
24689
24767
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
24690
24768
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -25714,7 +25792,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
25714
25792
  name: z.ZodString;
25715
25793
  value: z.ZodArray<z.ZodObject<{
25716
25794
  prev_node: z.ZodString;
25717
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
25795
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
25718
25796
  forwards: z.ZodArray<z.ZodObject<{
25719
25797
  name: z.ZodString;
25720
25798
  namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
@@ -25773,8 +25851,8 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
25773
25851
  namedOperator?: string | null | undefined;
25774
25852
  permissionIndex?: string | number | null | undefined;
25775
25853
  }[];
25776
- threshold: string | number;
25777
25854
  prev_node: string;
25855
+ threshold?: string | number | undefined;
25778
25856
  }>, "many">;
25779
25857
  }, z.ZodTypeAny, "passthrough"> | undefined;
25780
25858
  } | {
@@ -25930,7 +26008,7 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
25930
26008
  accomplished: boolean;
25931
26009
  }>, "many">;
25932
26010
  weights: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
25933
- threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
26011
+ threshold: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
25934
26012
  }, "strip", z.ZodTypeAny, {
25935
26013
  forwards: {
25936
26014
  time: string | number;
@@ -25960,9 +26038,9 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
25960
26038
  msg: string;
25961
26039
  accomplished: boolean;
25962
26040
  }[];
25963
- threshold: string | number;
25964
26041
  next_node: string;
25965
26042
  weights: string | number;
26043
+ threshold?: string | number | undefined;
25966
26044
  }>, "many">;
25967
26045
  time: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
25968
26046
  }, z.ZodTypeAny, "passthrough"> | undefined;