@wowok/agent-mcp 2.6.0 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/README.md +5 -3
  2. package/dist/customer/info-puzzle.d.ts +1 -1
  3. package/dist/customer/info-puzzle.js +4 -2
  4. package/dist/customer/risk-assessment.js +26 -4
  5. package/dist/customer/types.d.ts +2 -0
  6. package/dist/examples/guard-template-balance-check.json +38 -0
  7. package/dist/examples/guard-template-time-lock.json +39 -0
  8. package/dist/examples/machine-template-7node-rental.json +114 -0
  9. package/dist/examples/rental-ziroom-machine-create.json +137 -0
  10. package/dist/examples/rental-ziroom-permission-create.json +35 -0
  11. package/dist/examples/rental-ziroom-service-create.json +80 -0
  12. package/dist/examples/retail-myshop-service-create.json +88 -0
  13. package/dist/extensions/capability-manifest.d.ts +125 -0
  14. package/dist/extensions/capability-manifest.js +594 -0
  15. package/dist/extensions/constraint-registry.d.ts +24 -0
  16. package/dist/extensions/constraint-registry.js +196 -0
  17. package/dist/extensions/index.d.ts +12 -0
  18. package/dist/extensions/index.js +6 -0
  19. package/dist/extensions/metric-registry.d.ts +26 -0
  20. package/dist/extensions/metric-registry.js +257 -0
  21. package/dist/extensions/mode-evaluator.d.ts +15 -0
  22. package/dist/extensions/mode-evaluator.js +170 -0
  23. package/dist/extensions/modes.d.ts +2 -0
  24. package/dist/extensions/modes.js +493 -0
  25. package/dist/extensions/registry.d.ts +50 -0
  26. package/dist/extensions/registry.js +662 -0
  27. package/dist/extensions/types.d.ts +219 -0
  28. package/dist/extensions/types.js +1 -0
  29. package/dist/index.js +50 -0
  30. package/dist/knowledge/deployment-scanner.d.ts +3 -0
  31. package/dist/knowledge/deployment-scanner.js +64 -3
  32. package/dist/knowledge/fund-layer.d.ts +72 -0
  33. package/dist/knowledge/fund-layer.js +420 -0
  34. package/dist/knowledge/guard-render.d.ts +57 -0
  35. package/dist/knowledge/guard-render.js +700 -0
  36. package/dist/knowledge/guard-risk.d.ts +13 -0
  37. package/dist/knowledge/guard-risk.js +57 -0
  38. package/dist/knowledge/guard-submission-prompt.d.ts +31 -0
  39. package/dist/knowledge/guard-submission-prompt.js +171 -0
  40. package/dist/knowledge/guard-templates.js +278 -0
  41. package/dist/knowledge/machine-ledger.js +1 -1
  42. package/dist/knowledge/machine-render.d.ts +41 -0
  43. package/dist/knowledge/machine-render.js +565 -0
  44. package/dist/knowledge/machine-templates.js +24 -5
  45. package/dist/knowledge/reward-confirm.js +2 -2
  46. package/dist/knowledge/reward-puzzle.js +1 -1
  47. package/dist/knowledge/reward-risk.js +9 -9
  48. package/dist/knowledge/reward-templates.js +2 -2
  49. package/dist/knowledge/service-confirm.d.ts +15 -6
  50. package/dist/knowledge/service-confirm.js +119 -11
  51. package/dist/knowledge/service-context.js +1 -1
  52. package/dist/knowledge/service-ledger.js +1 -1
  53. package/dist/knowledge/service-risk.d.ts +1 -1
  54. package/dist/knowledge/service-risk.js +3 -3
  55. package/dist/knowledge/service-templates.js +2 -2
  56. package/dist/knowledge/service-translation.d.ts +1 -1
  57. package/dist/knowledge/service-translation.js +7 -7
  58. package/dist/knowledge/tool-constraints.js +6 -2
  59. package/dist/project/deployment-bridge.d.ts +1 -1
  60. package/dist/project/deployment-bridge.js +31 -7
  61. package/dist/project/deployment-doc.d.ts +3 -0
  62. package/dist/project/deployment-doc.js +76 -14
  63. package/dist/project/edit-planner.d.ts +123 -0
  64. package/dist/project/edit-planner.js +1371 -0
  65. package/dist/project/evaluation.d.ts +2 -0
  66. package/dist/project/evaluation.js +873 -88
  67. package/dist/project/graph-builder.d.ts +4 -1
  68. package/dist/project/graph-builder.js +132 -62
  69. package/dist/project/graph.d.ts +1 -0
  70. package/dist/project/handlers.d.ts +317 -6
  71. package/dist/project/handlers.js +1171 -19
  72. package/dist/project/stage-gate.d.ts +4 -0
  73. package/dist/project/stage-gate.js +64 -5
  74. package/dist/project/task-tracker.d.ts +26 -0
  75. package/dist/project/task-tracker.js +78 -0
  76. package/dist/safety/preview.js +16 -0
  77. package/dist/schema/call/allocation.d.ts +16 -16
  78. package/dist/schema/call/allocation.js +2 -2
  79. package/dist/schema/call/arbitration.js +19 -6
  80. package/dist/schema/call/base.d.ts +21 -13
  81. package/dist/schema/call/base.js +27 -6
  82. package/dist/schema/call/bridge.d.ts +5 -5
  83. package/dist/schema/call/bridge.js +3 -1
  84. package/dist/schema/call/contact.js +2 -2
  85. package/dist/schema/call/demand.d.ts +23 -31
  86. package/dist/schema/call/demand.js +2 -2
  87. package/dist/schema/call/guard.js +2 -2
  88. package/dist/schema/call/machine.d.ts +1976 -752
  89. package/dist/schema/call/machine.js +50 -4
  90. package/dist/schema/call/order.d.ts +149 -228
  91. package/dist/schema/call/order.js +4 -3
  92. package/dist/schema/call/payment.d.ts +183 -3
  93. package/dist/schema/call/payment.js +21 -3
  94. package/dist/schema/call/permission.js +2 -2
  95. package/dist/schema/call/personal.d.ts +241 -52
  96. package/dist/schema/call/progress.d.ts +53 -61
  97. package/dist/schema/call/progress.js +18 -4
  98. package/dist/schema/call/repository.d.ts +23 -31
  99. package/dist/schema/call/repository.js +2 -2
  100. package/dist/schema/call/reward.js +3 -3
  101. package/dist/schema/call/semantic.d.ts +1 -1
  102. package/dist/schema/call/semantic.js +37 -2
  103. package/dist/schema/call/service.d.ts +275 -127
  104. package/dist/schema/call/service.js +89 -13
  105. package/dist/schema/call/treasury.js +3 -3
  106. package/dist/schema/common/index.d.ts +13 -2
  107. package/dist/schema/common/index.js +80 -15
  108. package/dist/schema/local/index.d.ts +32 -35
  109. package/dist/schema/local/index.js +28 -6
  110. package/dist/schema/messenger/index.d.ts +274 -46
  111. package/dist/schema/operations.d.ts +1264 -544
  112. package/dist/schema/operations.js +65 -7
  113. package/dist/schema/project/index.d.ts +2846 -167
  114. package/dist/schema/project/index.js +570 -16
  115. package/dist/schema/query/index.d.ts +922 -349
  116. package/dist/schema/query/index.js +205 -42
  117. package/dist/schema/schema-query/index.d.ts +65 -3
  118. package/dist/schema/schema-query/index.js +38 -5
  119. package/dist/schema/utils/node-parser.js +20 -4
  120. package/dist/schema/utils/object-type-utils.d.ts +12 -0
  121. package/dist/schema/utils/object-type-utils.js +35 -0
  122. package/dist/schema/utils/permission-machine-check.d.ts +49 -0
  123. package/dist/schema/utils/permission-machine-check.js +121 -0
  124. package/dist/schema/utils/skills-recommendation.d.ts +2 -0
  125. package/dist/schema/utils/skills-recommendation.js +76 -0
  126. package/dist/schema-query/index.d.ts +20 -1
  127. package/dist/schema-query/index.js +306 -4
  128. package/dist/schemas/account_operation.output.json +7 -1
  129. package/dist/schemas/account_operation.schema.json +3 -3
  130. package/dist/schemas/bridge_operation.output.json +6 -0
  131. package/dist/schemas/bridge_operation.schema.json +1 -1
  132. package/dist/schemas/guard-templates.json +379 -0
  133. package/dist/schemas/guard2file.schema.json +1 -1
  134. package/dist/schemas/index.json +1 -1
  135. package/dist/schemas/local_info_operation.output.json +6 -0
  136. package/dist/schemas/local_mark_operation.output.json +7 -1
  137. package/dist/schemas/local_mark_operation.schema.json +1 -1
  138. package/dist/schemas/machineNode2file.schema.json +1 -1
  139. package/dist/schemas/messenger_operation.schema.json +4 -4
  140. package/dist/schemas/onchain_events.output.json +1 -1
  141. package/dist/schemas/onchain_operations.output.json +2820 -0
  142. package/dist/schemas/onchain_operations.schema.json +444 -330
  143. package/dist/schemas/onchain_operations_allocation.schema.json +37 -28
  144. package/dist/schemas/onchain_operations_arbitration.schema.json +16 -14
  145. package/dist/schemas/onchain_operations_contact.schema.json +10 -10
  146. package/dist/schemas/onchain_operations_demand.schema.json +10 -10
  147. package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -16
  148. package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
  149. package/dist/schemas/onchain_operations_guard.schema.json +2 -2
  150. package/dist/schemas/onchain_operations_machine.schema.json +43 -35
  151. package/dist/schemas/onchain_operations_order.schema.json +72 -78
  152. package/dist/schemas/onchain_operations_payment.schema.json +141 -111
  153. package/dist/schemas/onchain_operations_permission.schema.json +3 -3
  154. package/dist/schemas/onchain_operations_personal.schema.json +7 -7
  155. package/dist/schemas/onchain_operations_progress.schema.json +9 -9
  156. package/dist/schemas/onchain_operations_proof.schema.json +8 -8
  157. package/dist/schemas/onchain_operations_repository.schema.json +10 -10
  158. package/dist/schemas/onchain_operations_reward.schema.json +14 -14
  159. package/dist/schemas/onchain_operations_service.schema.json +119 -48
  160. package/dist/schemas/onchain_operations_treasury.schema.json +11 -11
  161. package/dist/schemas/onchain_table_data.output.json +33 -25
  162. package/dist/schemas/onchain_table_data.schema.json +22 -21
  163. package/dist/schemas/project_operation.output.json +2194 -23
  164. package/dist/schemas/project_operation.schema.json +84 -6
  165. package/dist/schemas/query_toolkit.output.json +108 -80
  166. package/dist/schemas/query_toolkit.schema.json +12 -12
  167. package/dist/schemas/schema_query.output.json +70 -3
  168. package/dist/schemas/schema_query.schema.json +18 -3
  169. package/dist/schemas/wowok_buildin_info.output.json +81 -8
  170. package/dist/schemas/wowok_buildin_info.schema.json +46 -2
  171. package/dist/tools/handlers/local.js +20 -5
  172. package/dist/tools/handlers/onchain.js +594 -6
  173. package/dist/tools/handlers/project.js +76 -4
  174. package/dist/tools/handlers/query.js +27 -0
  175. package/dist/tools/handlers/schema-query.js +43 -1
  176. package/dist/tools/handlers/task-status.d.ts +170 -0
  177. package/dist/tools/handlers/task-status.js +55 -0
  178. package/dist/tools/handlers/wip.js +47 -1
  179. package/dist/tools/index.d.ts +8 -0
  180. package/dist/tools/index.js +387 -12
  181. package/dist/tools/retry.d.ts +8 -0
  182. package/dist/tools/retry.js +85 -0
  183. package/dist/tools/wip-deploy-assist.d.ts +28 -0
  184. package/dist/tools/wip-deploy-assist.js +278 -0
  185. package/package.json +2 -2
  186. package/dist/schemas/guard-node-examples.md +0 -199
@@ -73,7 +73,7 @@ export declare const BuySchema: z.ZodObject<{
73
73
  }>;
74
74
  export declare const DiscountSchema: z.ZodObject<{
75
75
  name: z.ZodString;
76
- discount_type: z.ZodUnion<[z.ZodLiteral<import("@wowok/wowok").DiscountType.RATES>, z.ZodLiteral<import("@wowok/wowok").DiscountType.FIXED>]>;
76
+ discount_type: z.ZodUnion<[z.ZodEnum<["RATES", "FIXED"]>, z.ZodEffects<z.ZodNumber, "FIXED" | "RATES", number>]>;
77
77
  discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
78
78
  benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
79
79
  time_ms_start: z.ZodOptional<z.ZodNumber>;
@@ -115,7 +115,7 @@ export declare const DiscountSchema: z.ZodObject<{
115
115
  check_all_founded?: boolean | undefined;
116
116
  };
117
117
  count: number;
118
- discount_type: import("@wowok/wowok").DiscountType;
118
+ discount_type: "FIXED" | "RATES";
119
119
  transferable: boolean;
120
120
  discount_value: string | number;
121
121
  time_ms_end: number;
@@ -131,7 +131,7 @@ export declare const DiscountSchema: z.ZodObject<{
131
131
  check_all_founded?: boolean | undefined;
132
132
  };
133
133
  count: number;
134
- discount_type: import("@wowok/wowok").DiscountType;
134
+ discount_type: number | "FIXED" | "RATES";
135
135
  transferable: boolean;
136
136
  discount_value: string | number;
137
137
  time_ms_end: number;
@@ -878,7 +878,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
878
878
  }, {
879
879
  op: "clear";
880
880
  }>]>>;
881
- repositories: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
881
+ repositories: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
882
882
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
883
883
  objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
884
884
  }, "strict", z.ZodTypeAny, {
@@ -902,8 +902,16 @@ export declare const CallService_DataSchema: z.ZodObject<{
902
902
  op: "clear";
903
903
  }, {
904
904
  op: "clear";
905
- }>]>>;
906
- rewards: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
905
+ }>]>, {
906
+ op: "set" | "add";
907
+ objects: string[];
908
+ } | {
909
+ op: "remove";
910
+ objects: string[];
911
+ } | {
912
+ op: "clear";
913
+ }, unknown>>;
914
+ rewards: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
907
915
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
908
916
  objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
909
917
  }, "strict", z.ZodTypeAny, {
@@ -927,8 +935,16 @@ export declare const CallService_DataSchema: z.ZodObject<{
927
935
  op: "clear";
928
936
  }, {
929
937
  op: "clear";
930
- }>]>>;
931
- arbitrations: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
938
+ }>]>, {
939
+ op: "set" | "add";
940
+ objects: string[];
941
+ } | {
942
+ op: "remove";
943
+ objects: string[];
944
+ } | {
945
+ op: "clear";
946
+ }, unknown>>;
947
+ arbitrations: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
932
948
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
933
949
  objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
934
950
  }, "strict", z.ZodTypeAny, {
@@ -952,11 +968,19 @@ export declare const CallService_DataSchema: z.ZodObject<{
952
968
  op: "clear";
953
969
  }, {
954
970
  op: "clear";
955
- }>]>>;
971
+ }>]>, {
972
+ op: "set" | "add";
973
+ objects: string[];
974
+ } | {
975
+ op: "remove";
976
+ objects: string[];
977
+ } | {
978
+ op: "clear";
979
+ }, unknown>>;
956
980
  machine: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
957
981
  discount: z.ZodOptional<z.ZodObject<{
958
982
  name: z.ZodString;
959
- discount_type: z.ZodUnion<[z.ZodLiteral<import("@wowok/wowok").DiscountType.RATES>, z.ZodLiteral<import("@wowok/wowok").DiscountType.FIXED>]>;
983
+ discount_type: z.ZodUnion<[z.ZodEnum<["RATES", "FIXED"]>, z.ZodEffects<z.ZodNumber, "FIXED" | "RATES", number>]>;
960
984
  discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
961
985
  benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
962
986
  time_ms_start: z.ZodOptional<z.ZodNumber>;
@@ -998,7 +1022,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
998
1022
  check_all_founded?: boolean | undefined;
999
1023
  };
1000
1024
  count: number;
1001
- discount_type: import("@wowok/wowok").DiscountType;
1025
+ discount_type: "FIXED" | "RATES";
1002
1026
  transferable: boolean;
1003
1027
  discount_value: string | number;
1004
1028
  time_ms_end: number;
@@ -1014,7 +1038,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1014
1038
  check_all_founded?: boolean | undefined;
1015
1039
  };
1016
1040
  count: number;
1017
- discount_type: import("@wowok/wowok").DiscountType;
1041
+ discount_type: number | "FIXED" | "RATES";
1018
1042
  transferable: boolean;
1019
1043
  discount_value: string | number;
1020
1044
  time_ms_end: number;
@@ -1064,7 +1088,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1064
1088
  Signer: "signer";
1065
1089
  }>]>;
1066
1090
  sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1067
- mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
1091
+ mode: z.ZodUnion<[z.ZodEnum<["Amount", "Rate", "Surplus"]>, z.ZodEffects<z.ZodNumber, "Amount" | "Rate" | "Surplus", number>]>;
1068
1092
  }, "strip", z.ZodTypeAny, {
1069
1093
  mode: "Amount" | "Rate" | "Surplus";
1070
1094
  sharing: string | number;
@@ -1079,7 +1103,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1079
1103
  Signer: "signer";
1080
1104
  };
1081
1105
  }, {
1082
- mode: "Amount" | "Rate" | "Surplus";
1106
+ mode: number | "Amount" | "Rate" | "Surplus";
1083
1107
  sharing: string | number;
1084
1108
  who: {
1085
1109
  GuardIdentifier: number;
@@ -1115,7 +1139,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1115
1139
  }, {
1116
1140
  guard: string;
1117
1141
  sharing: {
1118
- mode: "Amount" | "Rate" | "Surplus";
1142
+ mode: number | "Amount" | "Rate" | "Surplus";
1119
1143
  sharing: string | number;
1120
1144
  who: {
1121
1145
  GuardIdentifier: number;
@@ -1158,7 +1182,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1158
1182
  allocators: {
1159
1183
  guard: string;
1160
1184
  sharing: {
1161
- mode: "Amount" | "Rate" | "Surplus";
1185
+ mode: number | "Amount" | "Rate" | "Surplus";
1162
1186
  sharing: string | number;
1163
1187
  who: {
1164
1188
  GuardIdentifier: number;
@@ -1190,7 +1214,57 @@ export declare const CallService_DataSchema: z.ZodObject<{
1190
1214
  }, {
1191
1215
  coin: string;
1192
1216
  }>]>>;
1193
- setting_locked_time_add: z.ZodOptional<z.ZodNumber>;
1217
+ compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
1218
+ receipt: z.ZodObject<{
1219
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1220
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1221
+ }, "strict", z.ZodTypeAny, {
1222
+ name_or_address?: string | undefined;
1223
+ local_mark_first?: boolean | undefined;
1224
+ }, {
1225
+ name_or_address?: string | undefined;
1226
+ local_mark_first?: boolean | undefined;
1227
+ }>;
1228
+ payment_info: z.ZodObject<{
1229
+ for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1230
+ for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1231
+ remark: z.ZodString;
1232
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ index: string | number;
1235
+ remark: string;
1236
+ for_object?: string | null | undefined;
1237
+ for_guard?: string | null | undefined;
1238
+ }, {
1239
+ index: string | number;
1240
+ remark: string;
1241
+ for_object?: string | null | undefined;
1242
+ for_guard?: string | null | undefined;
1243
+ }>;
1244
+ }, "strict", z.ZodTypeAny, {
1245
+ payment_info: {
1246
+ index: string | number;
1247
+ remark: string;
1248
+ for_object?: string | null | undefined;
1249
+ for_guard?: string | null | undefined;
1250
+ };
1251
+ receipt: {
1252
+ name_or_address?: string | undefined;
1253
+ local_mark_first?: boolean | undefined;
1254
+ };
1255
+ }, {
1256
+ payment_info: {
1257
+ index: string | number;
1258
+ remark: string;
1259
+ for_object?: string | null | undefined;
1260
+ for_guard?: string | null | undefined;
1261
+ };
1262
+ receipt: {
1263
+ name_or_address?: string | undefined;
1264
+ local_mark_first?: boolean | undefined;
1265
+ };
1266
+ }>>;
1267
+ setting_lock_duration_add: z.ZodOptional<z.ZodNumber>;
1194
1268
  compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1195
1269
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1196
1270
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -1350,7 +1424,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1350
1424
  check_all_founded?: boolean | undefined;
1351
1425
  };
1352
1426
  count: number;
1353
- discount_type: import("@wowok/wowok").DiscountType;
1427
+ discount_type: "FIXED" | "RATES";
1354
1428
  transferable: boolean;
1355
1429
  discount_value: string | number;
1356
1430
  time_ms_end: number;
@@ -1406,6 +1480,18 @@ export declare const CallService_DataSchema: z.ZodObject<{
1406
1480
  } | {
1407
1481
  coin: string;
1408
1482
  } | undefined;
1483
+ compensation_fund_withdraw?: {
1484
+ payment_info: {
1485
+ index: string | number;
1486
+ remark: string;
1487
+ for_object?: string | null | undefined;
1488
+ for_guard?: string | null | undefined;
1489
+ };
1490
+ receipt: {
1491
+ name_or_address?: string | undefined;
1492
+ local_mark_first?: boolean | undefined;
1493
+ };
1494
+ } | undefined;
1409
1495
  compensation_fund_receive?: {
1410
1496
  received: {
1411
1497
  id: string;
@@ -1415,7 +1501,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1415
1501
  balance: string | number;
1416
1502
  token_type: string;
1417
1503
  } | "recently" | undefined;
1418
- setting_locked_time_add?: number | undefined;
1504
+ setting_lock_duration_add?: number | undefined;
1419
1505
  order_new?: {
1420
1506
  buy: {
1421
1507
  items: {
@@ -1488,7 +1574,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1488
1574
  allocators: {
1489
1575
  guard: string;
1490
1576
  sharing: {
1491
- mode: "Amount" | "Rate" | "Surplus";
1577
+ mode: number | "Amount" | "Rate" | "Surplus";
1492
1578
  sharing: string | number;
1493
1579
  who: {
1494
1580
  GuardIdentifier: number;
@@ -1542,31 +1628,15 @@ export declare const CallService_DataSchema: z.ZodObject<{
1542
1628
  check_all_founded?: boolean | undefined;
1543
1629
  };
1544
1630
  count: number;
1545
- discount_type: import("@wowok/wowok").DiscountType;
1631
+ discount_type: number | "FIXED" | "RATES";
1546
1632
  transferable: boolean;
1547
1633
  discount_value: string | number;
1548
1634
  time_ms_end: number;
1549
1635
  benchmark?: string | number | undefined;
1550
1636
  time_ms_start?: number | undefined;
1551
1637
  } | undefined;
1552
- rewards?: {
1553
- op: "set" | "add";
1554
- objects: string[];
1555
- } | {
1556
- op: "remove";
1557
- objects: string[];
1558
- } | {
1559
- op: "clear";
1560
- } | undefined;
1561
- arbitrations?: {
1562
- op: "set" | "add";
1563
- objects: string[];
1564
- } | {
1565
- op: "remove";
1566
- objects: string[];
1567
- } | {
1568
- op: "clear";
1569
- } | undefined;
1638
+ rewards?: unknown;
1639
+ arbitrations?: unknown;
1570
1640
  pause?: boolean | undefined;
1571
1641
  um?: string | null | undefined;
1572
1642
  owner_receive?: {
@@ -1582,15 +1652,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1582
1652
  id: string;
1583
1653
  content_raw?: any;
1584
1654
  }[] | undefined;
1585
- repositories?: {
1586
- op: "set" | "add";
1587
- objects: string[];
1588
- } | {
1589
- op: "remove";
1590
- objects: string[];
1591
- } | {
1592
- op: "clear";
1593
- } | undefined;
1655
+ repositories?: unknown;
1594
1656
  customer_required?: string[] | undefined;
1595
1657
  location?: string | undefined;
1596
1658
  compensation_fund_add?: {
@@ -1598,6 +1660,18 @@ export declare const CallService_DataSchema: z.ZodObject<{
1598
1660
  } | {
1599
1661
  coin: string;
1600
1662
  } | undefined;
1663
+ compensation_fund_withdraw?: {
1664
+ payment_info: {
1665
+ index: string | number;
1666
+ remark: string;
1667
+ for_object?: string | null | undefined;
1668
+ for_guard?: string | null | undefined;
1669
+ };
1670
+ receipt: {
1671
+ name_or_address?: string | undefined;
1672
+ local_mark_first?: boolean | undefined;
1673
+ };
1674
+ } | undefined;
1601
1675
  compensation_fund_receive?: {
1602
1676
  received: {
1603
1677
  id: string;
@@ -1607,7 +1681,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
1607
1681
  balance: string | number;
1608
1682
  token_type: string;
1609
1683
  } | "recently" | undefined;
1610
- setting_locked_time_add?: number | undefined;
1684
+ setting_lock_duration_add?: number | undefined;
1611
1685
  order_new?: {
1612
1686
  buy: {
1613
1687
  items: {
@@ -2057,7 +2131,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2057
2131
  }, {
2058
2132
  op: "clear";
2059
2133
  }>]>>;
2060
- repositories: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2134
+ repositories: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2061
2135
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2062
2136
  objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2063
2137
  }, "strict", z.ZodTypeAny, {
@@ -2081,8 +2155,16 @@ export declare const CallService_InputSchema: z.ZodObject<{
2081
2155
  op: "clear";
2082
2156
  }, {
2083
2157
  op: "clear";
2084
- }>]>>;
2085
- rewards: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2158
+ }>]>, {
2159
+ op: "set" | "add";
2160
+ objects: string[];
2161
+ } | {
2162
+ op: "remove";
2163
+ objects: string[];
2164
+ } | {
2165
+ op: "clear";
2166
+ }, unknown>>;
2167
+ rewards: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2086
2168
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2087
2169
  objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2088
2170
  }, "strict", z.ZodTypeAny, {
@@ -2106,8 +2188,16 @@ export declare const CallService_InputSchema: z.ZodObject<{
2106
2188
  op: "clear";
2107
2189
  }, {
2108
2190
  op: "clear";
2109
- }>]>>;
2110
- arbitrations: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2191
+ }>]>, {
2192
+ op: "set" | "add";
2193
+ objects: string[];
2194
+ } | {
2195
+ op: "remove";
2196
+ objects: string[];
2197
+ } | {
2198
+ op: "clear";
2199
+ }, unknown>>;
2200
+ arbitrations: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
2111
2201
  op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2112
2202
  objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2113
2203
  }, "strict", z.ZodTypeAny, {
@@ -2131,11 +2221,19 @@ export declare const CallService_InputSchema: z.ZodObject<{
2131
2221
  op: "clear";
2132
2222
  }, {
2133
2223
  op: "clear";
2134
- }>]>>;
2224
+ }>]>, {
2225
+ op: "set" | "add";
2226
+ objects: string[];
2227
+ } | {
2228
+ op: "remove";
2229
+ objects: string[];
2230
+ } | {
2231
+ op: "clear";
2232
+ }, unknown>>;
2135
2233
  machine: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
2136
2234
  discount: z.ZodOptional<z.ZodObject<{
2137
2235
  name: z.ZodString;
2138
- discount_type: z.ZodUnion<[z.ZodLiteral<import("@wowok/wowok").DiscountType.RATES>, z.ZodLiteral<import("@wowok/wowok").DiscountType.FIXED>]>;
2236
+ discount_type: z.ZodUnion<[z.ZodEnum<["RATES", "FIXED"]>, z.ZodEffects<z.ZodNumber, "FIXED" | "RATES", number>]>;
2139
2237
  discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2140
2238
  benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2141
2239
  time_ms_start: z.ZodOptional<z.ZodNumber>;
@@ -2177,7 +2275,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2177
2275
  check_all_founded?: boolean | undefined;
2178
2276
  };
2179
2277
  count: number;
2180
- discount_type: import("@wowok/wowok").DiscountType;
2278
+ discount_type: "FIXED" | "RATES";
2181
2279
  transferable: boolean;
2182
2280
  discount_value: string | number;
2183
2281
  time_ms_end: number;
@@ -2193,7 +2291,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2193
2291
  check_all_founded?: boolean | undefined;
2194
2292
  };
2195
2293
  count: number;
2196
- discount_type: import("@wowok/wowok").DiscountType;
2294
+ discount_type: number | "FIXED" | "RATES";
2197
2295
  transferable: boolean;
2198
2296
  discount_value: string | number;
2199
2297
  time_ms_end: number;
@@ -2243,7 +2341,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2243
2341
  Signer: "signer";
2244
2342
  }>]>;
2245
2343
  sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2246
- mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
2344
+ mode: z.ZodUnion<[z.ZodEnum<["Amount", "Rate", "Surplus"]>, z.ZodEffects<z.ZodNumber, "Amount" | "Rate" | "Surplus", number>]>;
2247
2345
  }, "strip", z.ZodTypeAny, {
2248
2346
  mode: "Amount" | "Rate" | "Surplus";
2249
2347
  sharing: string | number;
@@ -2258,7 +2356,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2258
2356
  Signer: "signer";
2259
2357
  };
2260
2358
  }, {
2261
- mode: "Amount" | "Rate" | "Surplus";
2359
+ mode: number | "Amount" | "Rate" | "Surplus";
2262
2360
  sharing: string | number;
2263
2361
  who: {
2264
2362
  GuardIdentifier: number;
@@ -2294,7 +2392,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2294
2392
  }, {
2295
2393
  guard: string;
2296
2394
  sharing: {
2297
- mode: "Amount" | "Rate" | "Surplus";
2395
+ mode: number | "Amount" | "Rate" | "Surplus";
2298
2396
  sharing: string | number;
2299
2397
  who: {
2300
2398
  GuardIdentifier: number;
@@ -2337,7 +2435,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2337
2435
  allocators: {
2338
2436
  guard: string;
2339
2437
  sharing: {
2340
- mode: "Amount" | "Rate" | "Surplus";
2438
+ mode: number | "Amount" | "Rate" | "Surplus";
2341
2439
  sharing: string | number;
2342
2440
  who: {
2343
2441
  GuardIdentifier: number;
@@ -2369,7 +2467,57 @@ export declare const CallService_InputSchema: z.ZodObject<{
2369
2467
  }, {
2370
2468
  coin: string;
2371
2469
  }>]>>;
2372
- setting_locked_time_add: z.ZodOptional<z.ZodNumber>;
2470
+ compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
2471
+ receipt: z.ZodObject<{
2472
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2473
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2474
+ }, "strict", z.ZodTypeAny, {
2475
+ name_or_address?: string | undefined;
2476
+ local_mark_first?: boolean | undefined;
2477
+ }, {
2478
+ name_or_address?: string | undefined;
2479
+ local_mark_first?: boolean | undefined;
2480
+ }>;
2481
+ payment_info: z.ZodObject<{
2482
+ for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2483
+ for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
2484
+ remark: z.ZodString;
2485
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2486
+ }, "strip", z.ZodTypeAny, {
2487
+ index: string | number;
2488
+ remark: string;
2489
+ for_object?: string | null | undefined;
2490
+ for_guard?: string | null | undefined;
2491
+ }, {
2492
+ index: string | number;
2493
+ remark: string;
2494
+ for_object?: string | null | undefined;
2495
+ for_guard?: string | null | undefined;
2496
+ }>;
2497
+ }, "strict", z.ZodTypeAny, {
2498
+ payment_info: {
2499
+ index: string | number;
2500
+ remark: string;
2501
+ for_object?: string | null | undefined;
2502
+ for_guard?: string | null | undefined;
2503
+ };
2504
+ receipt: {
2505
+ name_or_address?: string | undefined;
2506
+ local_mark_first?: boolean | undefined;
2507
+ };
2508
+ }, {
2509
+ payment_info: {
2510
+ index: string | number;
2511
+ remark: string;
2512
+ for_object?: string | null | undefined;
2513
+ for_guard?: string | null | undefined;
2514
+ };
2515
+ receipt: {
2516
+ name_or_address?: string | undefined;
2517
+ local_mark_first?: boolean | undefined;
2518
+ };
2519
+ }>>;
2520
+ setting_lock_duration_add: z.ZodOptional<z.ZodNumber>;
2373
2521
  compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2374
2522
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2375
2523
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -2529,7 +2677,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2529
2677
  check_all_founded?: boolean | undefined;
2530
2678
  };
2531
2679
  count: number;
2532
- discount_type: import("@wowok/wowok").DiscountType;
2680
+ discount_type: "FIXED" | "RATES";
2533
2681
  transferable: boolean;
2534
2682
  discount_value: string | number;
2535
2683
  time_ms_end: number;
@@ -2585,6 +2733,18 @@ export declare const CallService_InputSchema: z.ZodObject<{
2585
2733
  } | {
2586
2734
  coin: string;
2587
2735
  } | undefined;
2736
+ compensation_fund_withdraw?: {
2737
+ payment_info: {
2738
+ index: string | number;
2739
+ remark: string;
2740
+ for_object?: string | null | undefined;
2741
+ for_guard?: string | null | undefined;
2742
+ };
2743
+ receipt: {
2744
+ name_or_address?: string | undefined;
2745
+ local_mark_first?: boolean | undefined;
2746
+ };
2747
+ } | undefined;
2588
2748
  compensation_fund_receive?: {
2589
2749
  received: {
2590
2750
  id: string;
@@ -2594,7 +2754,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2594
2754
  balance: string | number;
2595
2755
  token_type: string;
2596
2756
  } | "recently" | undefined;
2597
- setting_locked_time_add?: number | undefined;
2757
+ setting_lock_duration_add?: number | undefined;
2598
2758
  order_new?: {
2599
2759
  buy: {
2600
2760
  items: {
@@ -2667,7 +2827,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2667
2827
  allocators: {
2668
2828
  guard: string;
2669
2829
  sharing: {
2670
- mode: "Amount" | "Rate" | "Surplus";
2830
+ mode: number | "Amount" | "Rate" | "Surplus";
2671
2831
  sharing: string | number;
2672
2832
  who: {
2673
2833
  GuardIdentifier: number;
@@ -2721,31 +2881,15 @@ export declare const CallService_InputSchema: z.ZodObject<{
2721
2881
  check_all_founded?: boolean | undefined;
2722
2882
  };
2723
2883
  count: number;
2724
- discount_type: import("@wowok/wowok").DiscountType;
2884
+ discount_type: number | "FIXED" | "RATES";
2725
2885
  transferable: boolean;
2726
2886
  discount_value: string | number;
2727
2887
  time_ms_end: number;
2728
2888
  benchmark?: string | number | undefined;
2729
2889
  time_ms_start?: number | undefined;
2730
2890
  } | undefined;
2731
- rewards?: {
2732
- op: "set" | "add";
2733
- objects: string[];
2734
- } | {
2735
- op: "remove";
2736
- objects: string[];
2737
- } | {
2738
- op: "clear";
2739
- } | undefined;
2740
- arbitrations?: {
2741
- op: "set" | "add";
2742
- objects: string[];
2743
- } | {
2744
- op: "remove";
2745
- objects: string[];
2746
- } | {
2747
- op: "clear";
2748
- } | undefined;
2891
+ rewards?: unknown;
2892
+ arbitrations?: unknown;
2749
2893
  pause?: boolean | undefined;
2750
2894
  um?: string | null | undefined;
2751
2895
  owner_receive?: {
@@ -2761,15 +2905,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2761
2905
  id: string;
2762
2906
  content_raw?: any;
2763
2907
  }[] | undefined;
2764
- repositories?: {
2765
- op: "set" | "add";
2766
- objects: string[];
2767
- } | {
2768
- op: "remove";
2769
- objects: string[];
2770
- } | {
2771
- op: "clear";
2772
- } | undefined;
2908
+ repositories?: unknown;
2773
2909
  customer_required?: string[] | undefined;
2774
2910
  location?: string | undefined;
2775
2911
  compensation_fund_add?: {
@@ -2777,6 +2913,18 @@ export declare const CallService_InputSchema: z.ZodObject<{
2777
2913
  } | {
2778
2914
  coin: string;
2779
2915
  } | undefined;
2916
+ compensation_fund_withdraw?: {
2917
+ payment_info: {
2918
+ index: string | number;
2919
+ remark: string;
2920
+ for_object?: string | null | undefined;
2921
+ for_guard?: string | null | undefined;
2922
+ };
2923
+ receipt: {
2924
+ name_or_address?: string | undefined;
2925
+ local_mark_first?: boolean | undefined;
2926
+ };
2927
+ } | undefined;
2780
2928
  compensation_fund_receive?: {
2781
2929
  received: {
2782
2930
  id: string;
@@ -2786,7 +2934,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
2786
2934
  balance: string | number;
2787
2935
  token_type: string;
2788
2936
  } | "recently" | undefined;
2789
- setting_locked_time_add?: number | undefined;
2937
+ setting_lock_duration_add?: number | undefined;
2790
2938
  order_new?: {
2791
2939
  buy: {
2792
2940
  items: {
@@ -3132,7 +3280,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3132
3280
  check_all_founded?: boolean | undefined;
3133
3281
  };
3134
3282
  count: number;
3135
- discount_type: import("@wowok/wowok").DiscountType;
3283
+ discount_type: "FIXED" | "RATES";
3136
3284
  transferable: boolean;
3137
3285
  discount_value: string | number;
3138
3286
  time_ms_end: number;
@@ -3188,6 +3336,18 @@ export declare const CallService_InputSchema: z.ZodObject<{
3188
3336
  } | {
3189
3337
  coin: string;
3190
3338
  } | undefined;
3339
+ compensation_fund_withdraw?: {
3340
+ payment_info: {
3341
+ index: string | number;
3342
+ remark: string;
3343
+ for_object?: string | null | undefined;
3344
+ for_guard?: string | null | undefined;
3345
+ };
3346
+ receipt: {
3347
+ name_or_address?: string | undefined;
3348
+ local_mark_first?: boolean | undefined;
3349
+ };
3350
+ } | undefined;
3191
3351
  compensation_fund_receive?: {
3192
3352
  received: {
3193
3353
  id: string;
@@ -3197,7 +3357,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3197
3357
  balance: string | number;
3198
3358
  token_type: string;
3199
3359
  } | "recently" | undefined;
3200
- setting_locked_time_add?: number | undefined;
3360
+ setting_lock_duration_add?: number | undefined;
3201
3361
  order_new?: {
3202
3362
  buy: {
3203
3363
  items: {
@@ -3312,7 +3472,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3312
3472
  allocators: {
3313
3473
  guard: string;
3314
3474
  sharing: {
3315
- mode: "Amount" | "Rate" | "Surplus";
3475
+ mode: number | "Amount" | "Rate" | "Surplus";
3316
3476
  sharing: string | number;
3317
3477
  who: {
3318
3478
  GuardIdentifier: number;
@@ -3366,31 +3526,15 @@ export declare const CallService_InputSchema: z.ZodObject<{
3366
3526
  check_all_founded?: boolean | undefined;
3367
3527
  };
3368
3528
  count: number;
3369
- discount_type: import("@wowok/wowok").DiscountType;
3529
+ discount_type: number | "FIXED" | "RATES";
3370
3530
  transferable: boolean;
3371
3531
  discount_value: string | number;
3372
3532
  time_ms_end: number;
3373
3533
  benchmark?: string | number | undefined;
3374
3534
  time_ms_start?: number | undefined;
3375
3535
  } | undefined;
3376
- rewards?: {
3377
- op: "set" | "add";
3378
- objects: string[];
3379
- } | {
3380
- op: "remove";
3381
- objects: string[];
3382
- } | {
3383
- op: "clear";
3384
- } | undefined;
3385
- arbitrations?: {
3386
- op: "set" | "add";
3387
- objects: string[];
3388
- } | {
3389
- op: "remove";
3390
- objects: string[];
3391
- } | {
3392
- op: "clear";
3393
- } | undefined;
3536
+ rewards?: unknown;
3537
+ arbitrations?: unknown;
3394
3538
  pause?: boolean | undefined;
3395
3539
  um?: string | null | undefined;
3396
3540
  owner_receive?: {
@@ -3406,15 +3550,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3406
3550
  id: string;
3407
3551
  content_raw?: any;
3408
3552
  }[] | undefined;
3409
- repositories?: {
3410
- op: "set" | "add";
3411
- objects: string[];
3412
- } | {
3413
- op: "remove";
3414
- objects: string[];
3415
- } | {
3416
- op: "clear";
3417
- } | undefined;
3553
+ repositories?: unknown;
3418
3554
  customer_required?: string[] | undefined;
3419
3555
  location?: string | undefined;
3420
3556
  compensation_fund_add?: {
@@ -3422,6 +3558,18 @@ export declare const CallService_InputSchema: z.ZodObject<{
3422
3558
  } | {
3423
3559
  coin: string;
3424
3560
  } | undefined;
3561
+ compensation_fund_withdraw?: {
3562
+ payment_info: {
3563
+ index: string | number;
3564
+ remark: string;
3565
+ for_object?: string | null | undefined;
3566
+ for_guard?: string | null | undefined;
3567
+ };
3568
+ receipt: {
3569
+ name_or_address?: string | undefined;
3570
+ local_mark_first?: boolean | undefined;
3571
+ };
3572
+ } | undefined;
3425
3573
  compensation_fund_receive?: {
3426
3574
  received: {
3427
3575
  id: string;
@@ -3431,7 +3579,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
3431
3579
  balance: string | number;
3432
3580
  token_type: string;
3433
3581
  } | "recently" | undefined;
3434
- setting_locked_time_add?: number | undefined;
3582
+ setting_lock_duration_add?: number | undefined;
3435
3583
  order_new?: {
3436
3584
  buy: {
3437
3585
  items: {