wowok_agent 1.6.6 → 2.1.8

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.

Potentially problematic release.


This version of wowok_agent might be problematic. Click here for more details.

Files changed (181) hide show
  1. package/README.md +20 -40
  2. package/dist/index.d.ts +13528 -27
  3. package/dist/index.js +1026 -27
  4. package/dist/schema/call/allocation.d.ts +1370 -0
  5. package/dist/schema/call/allocation.js +27 -0
  6. package/dist/schema/call/arbitration.d.ts +1902 -0
  7. package/dist/schema/call/arbitration.js +106 -0
  8. package/dist/schema/call/base.d.ts +6381 -0
  9. package/dist/schema/call/base.js +152 -0
  10. package/dist/schema/call/contact.d.ts +898 -0
  11. package/dist/schema/call/contact.js +41 -0
  12. package/dist/schema/call/demand.d.ts +1193 -0
  13. package/dist/schema/call/demand.js +51 -0
  14. package/dist/schema/call/guard.d.ts +819 -0
  15. package/dist/schema/call/guard.js +67 -0
  16. package/dist/schema/call/handler.d.ts +80 -0
  17. package/dist/schema/call/handler.js +177 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +19 -0
  20. package/dist/schema/call/machine.d.ts +3906 -0
  21. package/dist/schema/call/machine.js +164 -0
  22. package/dist/schema/call/order.d.ts +994 -0
  23. package/dist/schema/call/order.js +39 -0
  24. package/dist/schema/call/payment.d.ts +408 -0
  25. package/dist/schema/call/payment.js +20 -0
  26. package/dist/schema/call/permission.d.ts +2945 -0
  27. package/dist/schema/call/permission.js +118 -0
  28. package/dist/schema/call/personal.d.ts +1498 -0
  29. package/dist/schema/call/personal.js +81 -0
  30. package/dist/schema/call/progress.d.ts +847 -0
  31. package/dist/schema/call/progress.js +37 -0
  32. package/dist/schema/call/proof.d.ts +328 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2220 -0
  35. package/dist/schema/call/repository.js +85 -0
  36. package/dist/schema/call/reward.d.ts +1178 -0
  37. package/dist/schema/call/reward.js +46 -0
  38. package/dist/schema/call/service.d.ts +3534 -0
  39. package/dist/schema/call/service.js +87 -0
  40. package/dist/schema/call/treasury.d.ts +2399 -0
  41. package/dist/schema/call/treasury.js +76 -0
  42. package/dist/schema/common/index.d.ts +623 -0
  43. package/dist/schema/common/index.js +331 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +8 -0
  46. package/dist/schema/local/index.d.ts +7824 -0
  47. package/dist/schema/local/index.js +913 -0
  48. package/dist/schema/local/wip.d.ts +781 -0
  49. package/dist/schema/local/wip.js +229 -0
  50. package/dist/schema/messenger/index.d.ts +3624 -0
  51. package/dist/schema/messenger/index.js +407 -0
  52. package/dist/schema/query/index.d.ts +27176 -0
  53. package/dist/schema/query/index.js +1313 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +410 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +59 -0
  59. package/dist/schema/utils/node-parser.js +382 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +10 -0
  62. package/package.json +31 -49
  63. package/LICENSE +0 -201
  64. package/dist/call/arbitration.d.ts +0 -57
  65. package/dist/call/arbitration.d.ts.map +0 -1
  66. package/dist/call/arbitration.js +0 -245
  67. package/dist/call/arbitration.js.map +0 -1
  68. package/dist/call/base.d.ts +0 -85
  69. package/dist/call/base.d.ts.map +0 -1
  70. package/dist/call/base.js +0 -231
  71. package/dist/call/base.js.map +0 -1
  72. package/dist/call/call.d.ts +0 -95
  73. package/dist/call/call.d.ts.map +0 -1
  74. package/dist/call/call.js +0 -149
  75. package/dist/call/call.js.map +0 -1
  76. package/dist/call/demand.d.ts +0 -46
  77. package/dist/call/demand.d.ts.map +0 -1
  78. package/dist/call/demand.js +0 -201
  79. package/dist/call/demand.js.map +0 -1
  80. package/dist/call/guard.d.ts +0 -53
  81. package/dist/call/guard.d.ts.map +0 -1
  82. package/dist/call/guard.js +0 -386
  83. package/dist/call/guard.js.map +0 -1
  84. package/dist/call/machine.d.ts +0 -97
  85. package/dist/call/machine.d.ts.map +0 -1
  86. package/dist/call/machine.js +0 -342
  87. package/dist/call/machine.js.map +0 -1
  88. package/dist/call/object_permission.d.ts +0 -14
  89. package/dist/call/object_permission.d.ts.map +0 -1
  90. package/dist/call/object_permission.js +0 -59
  91. package/dist/call/object_permission.js.map +0 -1
  92. package/dist/call/permission.d.ts +0 -63
  93. package/dist/call/permission.d.ts.map +0 -1
  94. package/dist/call/permission.js +0 -137
  95. package/dist/call/permission.js.map +0 -1
  96. package/dist/call/personal.d.ts +0 -47
  97. package/dist/call/personal.d.ts.map +0 -1
  98. package/dist/call/personal.js +0 -119
  99. package/dist/call/personal.js.map +0 -1
  100. package/dist/call/repository.d.ts +0 -117
  101. package/dist/call/repository.d.ts.map +0 -1
  102. package/dist/call/repository.js +0 -408
  103. package/dist/call/repository.js.map +0 -1
  104. package/dist/call/service.d.ts +0 -115
  105. package/dist/call/service.d.ts.map +0 -1
  106. package/dist/call/service.js +0 -550
  107. package/dist/call/service.js.map +0 -1
  108. package/dist/call/treasury.d.ts +0 -46
  109. package/dist/call/treasury.d.ts.map +0 -1
  110. package/dist/call/treasury.js +0 -222
  111. package/dist/call/treasury.js.map +0 -1
  112. package/dist/common.d.ts +0 -12
  113. package/dist/common.d.ts.map +0 -1
  114. package/dist/common.js +0 -71
  115. package/dist/common.js.map +0 -1
  116. package/dist/index.d.ts.map +0 -1
  117. package/dist/index.js.map +0 -1
  118. package/dist/local/.d.ts +0 -20
  119. package/dist/local/.d.ts.map +0 -1
  120. package/dist/local/.js +0 -76
  121. package/dist/local/.js.map +0 -1
  122. package/dist/local/account.d.ts +0 -42
  123. package/dist/local/account.d.ts.map +0 -1
  124. package/dist/local/account.js +0 -335
  125. package/dist/local/account.js.map +0 -1
  126. package/dist/local/cache.d.ts +0 -32
  127. package/dist/local/cache.d.ts.map +0 -1
  128. package/dist/local/cache.js +0 -77
  129. package/dist/local/cache.js.map +0 -1
  130. package/dist/local/coin.d.ts +0 -22
  131. package/dist/local/coin.d.ts.map +0 -1
  132. package/dist/local/coin.js +0 -123
  133. package/dist/local/coin.js.map +0 -1
  134. package/dist/local/config.d.ts +0 -20
  135. package/dist/local/config.d.ts.map +0 -1
  136. package/dist/local/config.js +0 -75
  137. package/dist/local/config.js.map +0 -1
  138. package/dist/local/index.d.ts +0 -110
  139. package/dist/local/index.d.ts.map +0 -1
  140. package/dist/local/index.js +0 -122
  141. package/dist/local/index.js.map +0 -1
  142. package/dist/local/local.d.ts +0 -55
  143. package/dist/local/local.d.ts.map +0 -1
  144. package/dist/local/local.js +0 -248
  145. package/dist/local/local.js.map +0 -1
  146. package/dist/query/events.d.ts +0 -65
  147. package/dist/query/events.d.ts.map +0 -1
  148. package/dist/query/events.js +0 -75
  149. package/dist/query/events.js.map +0 -1
  150. package/dist/query/objects.d.ts +0 -346
  151. package/dist/query/objects.d.ts.map +0 -1
  152. package/dist/query/objects.js +0 -472
  153. package/dist/query/objects.js.map +0 -1
  154. package/dist/query/permission.d.ts +0 -15
  155. package/dist/query/permission.d.ts.map +0 -1
  156. package/dist/query/permission.js +0 -45
  157. package/dist/query/permission.js.map +0 -1
  158. package/dist/query/received.d.ts +0 -16
  159. package/dist/query/received.d.ts.map +0 -1
  160. package/dist/query/received.js +0 -16
  161. package/dist/query/received.js.map +0 -1
  162. package/dist/schema/call.d.ts +0 -13005
  163. package/dist/schema/call.d.ts.map +0 -1
  164. package/dist/schema/call.js +0 -997
  165. package/dist/schema/call.js.map +0 -1
  166. package/dist/schema/const.d.ts +0 -254
  167. package/dist/schema/const.d.ts.map +0 -1
  168. package/dist/schema/const.js +0 -305
  169. package/dist/schema/const.js.map +0 -1
  170. package/dist/schema/local.d.ts +0 -702
  171. package/dist/schema/local.d.ts.map +0 -1
  172. package/dist/schema/local.js +0 -150
  173. package/dist/schema/local.js.map +0 -1
  174. package/dist/schema/query.d.ts +0 -1465
  175. package/dist/schema/query.d.ts.map +0 -1
  176. package/dist/schema/query.js +0 -224
  177. package/dist/schema/query.js.map +0 -1
  178. package/dist/schema/util.d.ts +0 -71
  179. package/dist/schema/util.d.ts.map +0 -1
  180. package/dist/schema/util.js +0 -139
  181. package/dist/schema/util.js.map +0 -1
@@ -0,0 +1,3534 @@
1
+ import { z } from "zod";
2
+ export declare const ServiceBuyItemSchema: z.ZodObject<{
3
+ name: z.ZodEffects<z.ZodString, string, string>;
4
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
5
+ wip_hash: z.ZodString;
6
+ }, "strict", z.ZodTypeAny, {
7
+ name: string;
8
+ stock: string | number;
9
+ wip_hash: string;
10
+ }, {
11
+ name: string;
12
+ stock: string | number;
13
+ wip_hash: string;
14
+ }>;
15
+ export declare const BuySchema: z.ZodObject<{
16
+ items: z.ZodArray<z.ZodObject<{
17
+ name: z.ZodEffects<z.ZodString, string, string>;
18
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19
+ wip_hash: z.ZodString;
20
+ }, "strict", z.ZodTypeAny, {
21
+ name: string;
22
+ stock: string | number;
23
+ wip_hash: string;
24
+ }, {
25
+ name: string;
26
+ stock: string | number;
27
+ wip_hash: string;
28
+ }>, "many">;
29
+ total_pay: z.ZodUnion<[z.ZodObject<{
30
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ balance: string | number;
33
+ }, {
34
+ balance: string | number;
35
+ }>, z.ZodObject<{
36
+ coin: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ coin: string;
39
+ }, {
40
+ coin: string;
41
+ }>]>;
42
+ discount: z.ZodOptional<z.ZodString>;
43
+ payment_remark: z.ZodOptional<z.ZodString>;
44
+ payment_index: z.ZodOptional<z.ZodNumber>;
45
+ }, "strict", z.ZodTypeAny, {
46
+ items: {
47
+ name: string;
48
+ stock: string | number;
49
+ wip_hash: string;
50
+ }[];
51
+ total_pay: {
52
+ balance: string | number;
53
+ } | {
54
+ coin: string;
55
+ };
56
+ discount?: string | undefined;
57
+ payment_remark?: string | undefined;
58
+ payment_index?: number | undefined;
59
+ }, {
60
+ items: {
61
+ name: string;
62
+ stock: string | number;
63
+ wip_hash: string;
64
+ }[];
65
+ total_pay: {
66
+ balance: string | number;
67
+ } | {
68
+ coin: string;
69
+ };
70
+ discount?: string | undefined;
71
+ payment_remark?: string | undefined;
72
+ payment_index?: number | undefined;
73
+ }>;
74
+ export declare const DiscountSchema: z.ZodObject<{
75
+ name: z.ZodString;
76
+ discount_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>]>;
77
+ discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
78
+ benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
79
+ time_ms_start: z.ZodOptional<z.ZodNumber>;
80
+ time_ms_end: z.ZodOptional<z.ZodNumber>;
81
+ count: z.ZodOptional<z.ZodNumber>;
82
+ recipient: z.ZodObject<{
83
+ entities: z.ZodArray<z.ZodObject<{
84
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
85
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
86
+ }, "strict", z.ZodTypeAny, {
87
+ name_or_address?: string | undefined;
88
+ local_mark_first?: boolean | undefined;
89
+ }, {
90
+ name_or_address?: string | undefined;
91
+ local_mark_first?: boolean | undefined;
92
+ }>, "many">;
93
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
94
+ }, "strict", z.ZodTypeAny, {
95
+ entities: {
96
+ name_or_address?: string | undefined;
97
+ local_mark_first?: boolean | undefined;
98
+ }[];
99
+ check_all_founded?: boolean | undefined;
100
+ }, {
101
+ entities: {
102
+ name_or_address?: string | undefined;
103
+ local_mark_first?: boolean | undefined;
104
+ }[];
105
+ check_all_founded?: boolean | undefined;
106
+ }>;
107
+ transferable: z.ZodOptional<z.ZodBoolean>;
108
+ }, "strict", z.ZodTypeAny, {
109
+ [x: string]: any;
110
+ name?: unknown;
111
+ discount_type?: unknown;
112
+ discount_value?: unknown;
113
+ benchmark?: unknown;
114
+ time_ms_start?: unknown;
115
+ time_ms_end?: unknown;
116
+ count?: unknown;
117
+ recipient?: unknown;
118
+ transferable?: unknown;
119
+ }, {
120
+ [x: string]: any;
121
+ name?: unknown;
122
+ discount_type?: unknown;
123
+ discount_value?: unknown;
124
+ benchmark?: unknown;
125
+ time_ms_start?: unknown;
126
+ time_ms_end?: unknown;
127
+ count?: unknown;
128
+ recipient?: unknown;
129
+ transferable?: unknown;
130
+ }>;
131
+ export declare const OrderNewSchema: z.ZodObject<{
132
+ buy: z.ZodObject<{
133
+ items: z.ZodArray<z.ZodObject<{
134
+ name: z.ZodEffects<z.ZodString, string, string>;
135
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
136
+ wip_hash: z.ZodString;
137
+ }, "strict", z.ZodTypeAny, {
138
+ name: string;
139
+ stock: string | number;
140
+ wip_hash: string;
141
+ }, {
142
+ name: string;
143
+ stock: string | number;
144
+ wip_hash: string;
145
+ }>, "many">;
146
+ total_pay: z.ZodUnion<[z.ZodObject<{
147
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ balance: string | number;
150
+ }, {
151
+ balance: string | number;
152
+ }>, z.ZodObject<{
153
+ coin: z.ZodString;
154
+ }, "strip", z.ZodTypeAny, {
155
+ coin: string;
156
+ }, {
157
+ coin: string;
158
+ }>]>;
159
+ discount: z.ZodOptional<z.ZodString>;
160
+ payment_remark: z.ZodOptional<z.ZodString>;
161
+ payment_index: z.ZodOptional<z.ZodNumber>;
162
+ }, "strict", z.ZodTypeAny, {
163
+ items: {
164
+ name: string;
165
+ stock: string | number;
166
+ wip_hash: string;
167
+ }[];
168
+ total_pay: {
169
+ balance: string | number;
170
+ } | {
171
+ coin: string;
172
+ };
173
+ discount?: string | undefined;
174
+ payment_remark?: string | undefined;
175
+ payment_index?: number | undefined;
176
+ }, {
177
+ items: {
178
+ name: string;
179
+ stock: string | number;
180
+ wip_hash: string;
181
+ }[];
182
+ total_pay: {
183
+ balance: string | number;
184
+ } | {
185
+ coin: string;
186
+ };
187
+ discount?: string | undefined;
188
+ payment_remark?: string | undefined;
189
+ payment_index?: number | undefined;
190
+ }>;
191
+ agents: z.ZodOptional<z.ZodObject<{
192
+ entities: z.ZodArray<z.ZodObject<{
193
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
194
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
195
+ }, "strict", z.ZodTypeAny, {
196
+ name_or_address?: string | undefined;
197
+ local_mark_first?: boolean | undefined;
198
+ }, {
199
+ name_or_address?: string | undefined;
200
+ local_mark_first?: boolean | undefined;
201
+ }>, "many">;
202
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
203
+ }, "strict", z.ZodTypeAny, {
204
+ entities: {
205
+ name_or_address?: string | undefined;
206
+ local_mark_first?: boolean | undefined;
207
+ }[];
208
+ check_all_founded?: boolean | undefined;
209
+ }, {
210
+ entities: {
211
+ name_or_address?: string | undefined;
212
+ local_mark_first?: boolean | undefined;
213
+ }[];
214
+ check_all_founded?: boolean | undefined;
215
+ }>>;
216
+ order_required_info: z.ZodString;
217
+ transfer: z.ZodOptional<z.ZodObject<{
218
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
219
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
220
+ }, "strict", z.ZodTypeAny, {
221
+ name_or_address?: string | undefined;
222
+ local_mark_first?: boolean | undefined;
223
+ }, {
224
+ name_or_address?: string | undefined;
225
+ local_mark_first?: boolean | undefined;
226
+ }>>;
227
+ namedNewOrder: z.ZodOptional<z.ZodObject<{
228
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
229
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
230
+ onChain: z.ZodOptional<z.ZodBoolean>;
231
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
232
+ }, "strict", z.ZodTypeAny, {
233
+ name?: string | undefined;
234
+ replaceExistName?: boolean | undefined;
235
+ tags?: string[] | undefined;
236
+ onChain?: boolean | undefined;
237
+ }, {
238
+ name?: string | undefined;
239
+ replaceExistName?: boolean | undefined;
240
+ tags?: string[] | undefined;
241
+ onChain?: boolean | undefined;
242
+ }>>;
243
+ namedNewAllocation: z.ZodOptional<z.ZodObject<{
244
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
245
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
246
+ onChain: z.ZodOptional<z.ZodBoolean>;
247
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
248
+ }, "strict", z.ZodTypeAny, {
249
+ name?: string | undefined;
250
+ replaceExistName?: boolean | undefined;
251
+ tags?: string[] | undefined;
252
+ onChain?: boolean | undefined;
253
+ }, {
254
+ name?: string | undefined;
255
+ replaceExistName?: boolean | undefined;
256
+ tags?: string[] | undefined;
257
+ onChain?: boolean | undefined;
258
+ }>>;
259
+ namedNewProgress: z.ZodOptional<z.ZodObject<{
260
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
261
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
262
+ onChain: z.ZodOptional<z.ZodBoolean>;
263
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
264
+ }, "strict", z.ZodTypeAny, {
265
+ name?: string | undefined;
266
+ replaceExistName?: boolean | undefined;
267
+ tags?: string[] | undefined;
268
+ onChain?: boolean | undefined;
269
+ }, {
270
+ name?: string | undefined;
271
+ replaceExistName?: boolean | undefined;
272
+ tags?: string[] | undefined;
273
+ onChain?: boolean | undefined;
274
+ }>>;
275
+ }, "strict", z.ZodTypeAny, {
276
+ buy: {
277
+ items: {
278
+ name: string;
279
+ stock: string | number;
280
+ wip_hash: string;
281
+ }[];
282
+ total_pay: {
283
+ balance: string | number;
284
+ } | {
285
+ coin: string;
286
+ };
287
+ discount?: string | undefined;
288
+ payment_remark?: string | undefined;
289
+ payment_index?: number | undefined;
290
+ };
291
+ order_required_info: string;
292
+ transfer?: {
293
+ name_or_address?: string | undefined;
294
+ local_mark_first?: boolean | undefined;
295
+ } | undefined;
296
+ agents?: {
297
+ entities: {
298
+ name_or_address?: string | undefined;
299
+ local_mark_first?: boolean | undefined;
300
+ }[];
301
+ check_all_founded?: boolean | undefined;
302
+ } | undefined;
303
+ namedNewOrder?: {
304
+ name?: string | undefined;
305
+ replaceExistName?: boolean | undefined;
306
+ tags?: string[] | undefined;
307
+ onChain?: boolean | undefined;
308
+ } | undefined;
309
+ namedNewAllocation?: {
310
+ name?: string | undefined;
311
+ replaceExistName?: boolean | undefined;
312
+ tags?: string[] | undefined;
313
+ onChain?: boolean | undefined;
314
+ } | undefined;
315
+ namedNewProgress?: {
316
+ name?: string | undefined;
317
+ replaceExistName?: boolean | undefined;
318
+ tags?: string[] | undefined;
319
+ onChain?: boolean | undefined;
320
+ } | undefined;
321
+ }, {
322
+ buy: {
323
+ items: {
324
+ name: string;
325
+ stock: string | number;
326
+ wip_hash: string;
327
+ }[];
328
+ total_pay: {
329
+ balance: string | number;
330
+ } | {
331
+ coin: string;
332
+ };
333
+ discount?: string | undefined;
334
+ payment_remark?: string | undefined;
335
+ payment_index?: number | undefined;
336
+ };
337
+ order_required_info: string;
338
+ transfer?: {
339
+ name_or_address?: string | undefined;
340
+ local_mark_first?: boolean | undefined;
341
+ } | undefined;
342
+ agents?: {
343
+ entities: {
344
+ name_or_address?: string | undefined;
345
+ local_mark_first?: boolean | undefined;
346
+ }[];
347
+ check_all_founded?: boolean | undefined;
348
+ } | undefined;
349
+ namedNewOrder?: {
350
+ name?: string | undefined;
351
+ replaceExistName?: boolean | undefined;
352
+ tags?: string[] | undefined;
353
+ onChain?: boolean | undefined;
354
+ } | undefined;
355
+ namedNewAllocation?: {
356
+ name?: string | undefined;
357
+ replaceExistName?: boolean | undefined;
358
+ tags?: string[] | undefined;
359
+ onChain?: boolean | undefined;
360
+ } | undefined;
361
+ namedNewProgress?: {
362
+ name?: string | undefined;
363
+ replaceExistName?: boolean | undefined;
364
+ tags?: string[] | undefined;
365
+ onChain?: boolean | undefined;
366
+ } | undefined;
367
+ }>;
368
+ export declare const SalesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
369
+ op: z.ZodLiteral<"add">;
370
+ sales: z.ZodArray<z.ZodObject<{
371
+ name: z.ZodEffects<z.ZodString, string, string>;
372
+ price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
373
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
374
+ suspension: z.ZodBoolean;
375
+ wip: z.ZodString;
376
+ wip_hash: z.ZodString;
377
+ }, "strip", z.ZodTypeAny, {
378
+ name: string;
379
+ wip: string;
380
+ price: string | number;
381
+ stock: string | number;
382
+ suspension: boolean;
383
+ wip_hash: string;
384
+ }, {
385
+ name: string;
386
+ wip: string;
387
+ price: string | number;
388
+ stock: string | number;
389
+ suspension: boolean;
390
+ wip_hash: string;
391
+ }>, "many">;
392
+ }, "strict", z.ZodTypeAny, {
393
+ op: "add";
394
+ sales: {
395
+ name: string;
396
+ wip: string;
397
+ price: string | number;
398
+ stock: string | number;
399
+ suspension: boolean;
400
+ wip_hash: string;
401
+ }[];
402
+ }, {
403
+ op: "add";
404
+ sales: {
405
+ name: string;
406
+ wip: string;
407
+ price: string | number;
408
+ stock: string | number;
409
+ suspension: boolean;
410
+ wip_hash: string;
411
+ }[];
412
+ }>, z.ZodObject<{
413
+ op: z.ZodLiteral<"set">;
414
+ sales: z.ZodArray<z.ZodObject<{
415
+ name: z.ZodEffects<z.ZodString, string, string>;
416
+ price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
417
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
418
+ suspension: z.ZodBoolean;
419
+ wip: z.ZodString;
420
+ wip_hash: z.ZodString;
421
+ }, "strip", z.ZodTypeAny, {
422
+ name: string;
423
+ wip: string;
424
+ price: string | number;
425
+ stock: string | number;
426
+ suspension: boolean;
427
+ wip_hash: string;
428
+ }, {
429
+ name: string;
430
+ wip: string;
431
+ price: string | number;
432
+ stock: string | number;
433
+ suspension: boolean;
434
+ wip_hash: string;
435
+ }>, "many">;
436
+ }, "strict", z.ZodTypeAny, {
437
+ op: "set";
438
+ sales: {
439
+ name: string;
440
+ wip: string;
441
+ price: string | number;
442
+ stock: string | number;
443
+ suspension: boolean;
444
+ wip_hash: string;
445
+ }[];
446
+ }, {
447
+ op: "set";
448
+ sales: {
449
+ name: string;
450
+ wip: string;
451
+ price: string | number;
452
+ stock: string | number;
453
+ suspension: boolean;
454
+ wip_hash: string;
455
+ }[];
456
+ }>, z.ZodObject<{
457
+ op: z.ZodLiteral<"remove">;
458
+ sales_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
459
+ }, "strict", z.ZodTypeAny, {
460
+ op: "remove";
461
+ sales_name: string[];
462
+ }, {
463
+ op: "remove";
464
+ sales_name: string[];
465
+ }>, z.ZodObject<{
466
+ op: z.ZodLiteral<"clear">;
467
+ }, "strict", z.ZodTypeAny, {
468
+ op: "clear";
469
+ }, {
470
+ op: "clear";
471
+ }>]>;
472
+ export declare const CallService_DataSchema: z.ZodObject<{
473
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
474
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
475
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
476
+ onChain: z.ZodOptional<z.ZodBoolean>;
477
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
478
+ } & {
479
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
480
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
481
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
482
+ onChain: z.ZodOptional<z.ZodBoolean>;
483
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
484
+ } & {
485
+ description: z.ZodOptional<z.ZodString>;
486
+ }, "strict", z.ZodTypeAny, {
487
+ name?: string | undefined;
488
+ replaceExistName?: boolean | undefined;
489
+ tags?: string[] | undefined;
490
+ description?: string | undefined;
491
+ onChain?: boolean | undefined;
492
+ }, {
493
+ name?: string | undefined;
494
+ replaceExistName?: boolean | undefined;
495
+ tags?: string[] | undefined;
496
+ description?: string | undefined;
497
+ onChain?: boolean | undefined;
498
+ }>]>>;
499
+ } & {
500
+ type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
501
+ }, "strict", z.ZodTypeAny, {
502
+ type_parameter: string;
503
+ name?: string | undefined;
504
+ replaceExistName?: boolean | undefined;
505
+ tags?: string[] | undefined;
506
+ onChain?: boolean | undefined;
507
+ permission?: string | {
508
+ name?: string | undefined;
509
+ replaceExistName?: boolean | undefined;
510
+ tags?: string[] | undefined;
511
+ description?: string | undefined;
512
+ onChain?: boolean | undefined;
513
+ } | undefined;
514
+ }, {
515
+ name?: string | undefined;
516
+ replaceExistName?: boolean | undefined;
517
+ tags?: string[] | undefined;
518
+ onChain?: boolean | undefined;
519
+ type_parameter?: string | undefined;
520
+ permission?: string | {
521
+ name?: string | undefined;
522
+ replaceExistName?: boolean | undefined;
523
+ tags?: string[] | undefined;
524
+ description?: string | undefined;
525
+ onChain?: boolean | undefined;
526
+ } | undefined;
527
+ }>]>;
528
+ order_new: z.ZodOptional<z.ZodObject<{
529
+ buy: z.ZodObject<{
530
+ items: z.ZodArray<z.ZodObject<{
531
+ name: z.ZodEffects<z.ZodString, string, string>;
532
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
533
+ wip_hash: z.ZodString;
534
+ }, "strict", z.ZodTypeAny, {
535
+ name: string;
536
+ stock: string | number;
537
+ wip_hash: string;
538
+ }, {
539
+ name: string;
540
+ stock: string | number;
541
+ wip_hash: string;
542
+ }>, "many">;
543
+ total_pay: z.ZodUnion<[z.ZodObject<{
544
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ balance: string | number;
547
+ }, {
548
+ balance: string | number;
549
+ }>, z.ZodObject<{
550
+ coin: z.ZodString;
551
+ }, "strip", z.ZodTypeAny, {
552
+ coin: string;
553
+ }, {
554
+ coin: string;
555
+ }>]>;
556
+ discount: z.ZodOptional<z.ZodString>;
557
+ payment_remark: z.ZodOptional<z.ZodString>;
558
+ payment_index: z.ZodOptional<z.ZodNumber>;
559
+ }, "strict", z.ZodTypeAny, {
560
+ items: {
561
+ name: string;
562
+ stock: string | number;
563
+ wip_hash: string;
564
+ }[];
565
+ total_pay: {
566
+ balance: string | number;
567
+ } | {
568
+ coin: string;
569
+ };
570
+ discount?: string | undefined;
571
+ payment_remark?: string | undefined;
572
+ payment_index?: number | undefined;
573
+ }, {
574
+ items: {
575
+ name: string;
576
+ stock: string | number;
577
+ wip_hash: string;
578
+ }[];
579
+ total_pay: {
580
+ balance: string | number;
581
+ } | {
582
+ coin: string;
583
+ };
584
+ discount?: string | undefined;
585
+ payment_remark?: string | undefined;
586
+ payment_index?: number | undefined;
587
+ }>;
588
+ agents: z.ZodOptional<z.ZodObject<{
589
+ entities: z.ZodArray<z.ZodObject<{
590
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
591
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
592
+ }, "strict", z.ZodTypeAny, {
593
+ name_or_address?: string | undefined;
594
+ local_mark_first?: boolean | undefined;
595
+ }, {
596
+ name_or_address?: string | undefined;
597
+ local_mark_first?: boolean | undefined;
598
+ }>, "many">;
599
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
600
+ }, "strict", z.ZodTypeAny, {
601
+ entities: {
602
+ name_or_address?: string | undefined;
603
+ local_mark_first?: boolean | undefined;
604
+ }[];
605
+ check_all_founded?: boolean | undefined;
606
+ }, {
607
+ entities: {
608
+ name_or_address?: string | undefined;
609
+ local_mark_first?: boolean | undefined;
610
+ }[];
611
+ check_all_founded?: boolean | undefined;
612
+ }>>;
613
+ order_required_info: z.ZodString;
614
+ transfer: z.ZodOptional<z.ZodObject<{
615
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
616
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
617
+ }, "strict", z.ZodTypeAny, {
618
+ name_or_address?: string | undefined;
619
+ local_mark_first?: boolean | undefined;
620
+ }, {
621
+ name_or_address?: string | undefined;
622
+ local_mark_first?: boolean | undefined;
623
+ }>>;
624
+ namedNewOrder: z.ZodOptional<z.ZodObject<{
625
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
626
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
627
+ onChain: z.ZodOptional<z.ZodBoolean>;
628
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
629
+ }, "strict", z.ZodTypeAny, {
630
+ name?: string | undefined;
631
+ replaceExistName?: boolean | undefined;
632
+ tags?: string[] | undefined;
633
+ onChain?: boolean | undefined;
634
+ }, {
635
+ name?: string | undefined;
636
+ replaceExistName?: boolean | undefined;
637
+ tags?: string[] | undefined;
638
+ onChain?: boolean | undefined;
639
+ }>>;
640
+ namedNewAllocation: z.ZodOptional<z.ZodObject<{
641
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
642
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
643
+ onChain: z.ZodOptional<z.ZodBoolean>;
644
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
645
+ }, "strict", z.ZodTypeAny, {
646
+ name?: string | undefined;
647
+ replaceExistName?: boolean | undefined;
648
+ tags?: string[] | undefined;
649
+ onChain?: boolean | undefined;
650
+ }, {
651
+ name?: string | undefined;
652
+ replaceExistName?: boolean | undefined;
653
+ tags?: string[] | undefined;
654
+ onChain?: boolean | undefined;
655
+ }>>;
656
+ namedNewProgress: z.ZodOptional<z.ZodObject<{
657
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
658
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
+ onChain: z.ZodOptional<z.ZodBoolean>;
660
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
661
+ }, "strict", z.ZodTypeAny, {
662
+ name?: string | undefined;
663
+ replaceExistName?: boolean | undefined;
664
+ tags?: string[] | undefined;
665
+ onChain?: boolean | undefined;
666
+ }, {
667
+ name?: string | undefined;
668
+ replaceExistName?: boolean | undefined;
669
+ tags?: string[] | undefined;
670
+ onChain?: boolean | undefined;
671
+ }>>;
672
+ }, "strict", z.ZodTypeAny, {
673
+ buy: {
674
+ items: {
675
+ name: string;
676
+ stock: string | number;
677
+ wip_hash: string;
678
+ }[];
679
+ total_pay: {
680
+ balance: string | number;
681
+ } | {
682
+ coin: string;
683
+ };
684
+ discount?: string | undefined;
685
+ payment_remark?: string | undefined;
686
+ payment_index?: number | undefined;
687
+ };
688
+ order_required_info: string;
689
+ transfer?: {
690
+ name_or_address?: string | undefined;
691
+ local_mark_first?: boolean | undefined;
692
+ } | undefined;
693
+ agents?: {
694
+ entities: {
695
+ name_or_address?: string | undefined;
696
+ local_mark_first?: boolean | undefined;
697
+ }[];
698
+ check_all_founded?: boolean | undefined;
699
+ } | undefined;
700
+ namedNewOrder?: {
701
+ name?: string | undefined;
702
+ replaceExistName?: boolean | undefined;
703
+ tags?: string[] | undefined;
704
+ onChain?: boolean | undefined;
705
+ } | undefined;
706
+ namedNewAllocation?: {
707
+ name?: string | undefined;
708
+ replaceExistName?: boolean | undefined;
709
+ tags?: string[] | undefined;
710
+ onChain?: boolean | undefined;
711
+ } | undefined;
712
+ namedNewProgress?: {
713
+ name?: string | undefined;
714
+ replaceExistName?: boolean | undefined;
715
+ tags?: string[] | undefined;
716
+ onChain?: boolean | undefined;
717
+ } | undefined;
718
+ }, {
719
+ buy: {
720
+ items: {
721
+ name: string;
722
+ stock: string | number;
723
+ wip_hash: string;
724
+ }[];
725
+ total_pay: {
726
+ balance: string | number;
727
+ } | {
728
+ coin: string;
729
+ };
730
+ discount?: string | undefined;
731
+ payment_remark?: string | undefined;
732
+ payment_index?: number | undefined;
733
+ };
734
+ order_required_info: string;
735
+ transfer?: {
736
+ name_or_address?: string | undefined;
737
+ local_mark_first?: boolean | undefined;
738
+ } | undefined;
739
+ agents?: {
740
+ entities: {
741
+ name_or_address?: string | undefined;
742
+ local_mark_first?: boolean | undefined;
743
+ }[];
744
+ check_all_founded?: boolean | undefined;
745
+ } | undefined;
746
+ namedNewOrder?: {
747
+ name?: string | undefined;
748
+ replaceExistName?: boolean | undefined;
749
+ tags?: string[] | undefined;
750
+ onChain?: boolean | undefined;
751
+ } | undefined;
752
+ namedNewAllocation?: {
753
+ name?: string | undefined;
754
+ replaceExistName?: boolean | undefined;
755
+ tags?: string[] | undefined;
756
+ onChain?: boolean | undefined;
757
+ } | undefined;
758
+ namedNewProgress?: {
759
+ name?: string | undefined;
760
+ replaceExistName?: boolean | undefined;
761
+ tags?: string[] | undefined;
762
+ onChain?: boolean | undefined;
763
+ } | undefined;
764
+ }>>;
765
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
766
+ location: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
767
+ sales: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
768
+ op: z.ZodLiteral<"add">;
769
+ sales: z.ZodArray<z.ZodObject<{
770
+ name: z.ZodEffects<z.ZodString, string, string>;
771
+ price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
772
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
773
+ suspension: z.ZodBoolean;
774
+ wip: z.ZodString;
775
+ wip_hash: z.ZodString;
776
+ }, "strip", z.ZodTypeAny, {
777
+ name: string;
778
+ wip: string;
779
+ price: string | number;
780
+ stock: string | number;
781
+ suspension: boolean;
782
+ wip_hash: string;
783
+ }, {
784
+ name: string;
785
+ wip: string;
786
+ price: string | number;
787
+ stock: string | number;
788
+ suspension: boolean;
789
+ wip_hash: string;
790
+ }>, "many">;
791
+ }, "strict", z.ZodTypeAny, {
792
+ op: "add";
793
+ sales: {
794
+ name: string;
795
+ wip: string;
796
+ price: string | number;
797
+ stock: string | number;
798
+ suspension: boolean;
799
+ wip_hash: string;
800
+ }[];
801
+ }, {
802
+ op: "add";
803
+ sales: {
804
+ name: string;
805
+ wip: string;
806
+ price: string | number;
807
+ stock: string | number;
808
+ suspension: boolean;
809
+ wip_hash: string;
810
+ }[];
811
+ }>, z.ZodObject<{
812
+ op: z.ZodLiteral<"set">;
813
+ sales: z.ZodArray<z.ZodObject<{
814
+ name: z.ZodEffects<z.ZodString, string, string>;
815
+ price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
816
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
817
+ suspension: z.ZodBoolean;
818
+ wip: z.ZodString;
819
+ wip_hash: z.ZodString;
820
+ }, "strip", z.ZodTypeAny, {
821
+ name: string;
822
+ wip: string;
823
+ price: string | number;
824
+ stock: string | number;
825
+ suspension: boolean;
826
+ wip_hash: string;
827
+ }, {
828
+ name: string;
829
+ wip: string;
830
+ price: string | number;
831
+ stock: string | number;
832
+ suspension: boolean;
833
+ wip_hash: string;
834
+ }>, "many">;
835
+ }, "strict", z.ZodTypeAny, {
836
+ op: "set";
837
+ sales: {
838
+ name: string;
839
+ wip: string;
840
+ price: string | number;
841
+ stock: string | number;
842
+ suspension: boolean;
843
+ wip_hash: string;
844
+ }[];
845
+ }, {
846
+ op: "set";
847
+ sales: {
848
+ name: string;
849
+ wip: string;
850
+ price: string | number;
851
+ stock: string | number;
852
+ suspension: boolean;
853
+ wip_hash: string;
854
+ }[];
855
+ }>, z.ZodObject<{
856
+ op: z.ZodLiteral<"remove">;
857
+ sales_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
858
+ }, "strict", z.ZodTypeAny, {
859
+ op: "remove";
860
+ sales_name: string[];
861
+ }, {
862
+ op: "remove";
863
+ sales_name: string[];
864
+ }>, z.ZodObject<{
865
+ op: z.ZodLiteral<"clear">;
866
+ }, "strict", z.ZodTypeAny, {
867
+ op: "clear";
868
+ }, {
869
+ op: "clear";
870
+ }>]>>;
871
+ repositories: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
872
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
873
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
874
+ }, "strict", z.ZodTypeAny, {
875
+ op: "set" | "add";
876
+ objects: string[];
877
+ }, {
878
+ op: "set" | "add";
879
+ objects: string[];
880
+ }>, z.ZodObject<{
881
+ op: z.ZodLiteral<"remove">;
882
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
883
+ }, "strict", z.ZodTypeAny, {
884
+ op: "remove";
885
+ objects: string[];
886
+ }, {
887
+ op: "remove";
888
+ objects: string[];
889
+ }>, z.ZodObject<{
890
+ op: z.ZodLiteral<"clear">;
891
+ }, "strict", z.ZodTypeAny, {
892
+ op: "clear";
893
+ }, {
894
+ op: "clear";
895
+ }>]>>;
896
+ rewards: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
897
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
898
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
899
+ }, "strict", z.ZodTypeAny, {
900
+ op: "set" | "add";
901
+ objects: string[];
902
+ }, {
903
+ op: "set" | "add";
904
+ objects: string[];
905
+ }>, z.ZodObject<{
906
+ op: z.ZodLiteral<"remove">;
907
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
908
+ }, "strict", z.ZodTypeAny, {
909
+ op: "remove";
910
+ objects: string[];
911
+ }, {
912
+ op: "remove";
913
+ objects: string[];
914
+ }>, z.ZodObject<{
915
+ op: z.ZodLiteral<"clear">;
916
+ }, "strict", z.ZodTypeAny, {
917
+ op: "clear";
918
+ }, {
919
+ op: "clear";
920
+ }>]>>;
921
+ arbitrations: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
922
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
923
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
924
+ }, "strict", z.ZodTypeAny, {
925
+ op: "set" | "add";
926
+ objects: string[];
927
+ }, {
928
+ op: "set" | "add";
929
+ objects: string[];
930
+ }>, z.ZodObject<{
931
+ op: z.ZodLiteral<"remove">;
932
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
933
+ }, "strict", z.ZodTypeAny, {
934
+ op: "remove";
935
+ objects: string[];
936
+ }, {
937
+ op: "remove";
938
+ objects: string[];
939
+ }>, z.ZodObject<{
940
+ op: z.ZodLiteral<"clear">;
941
+ }, "strict", z.ZodTypeAny, {
942
+ op: "clear";
943
+ }, {
944
+ op: "clear";
945
+ }>]>>;
946
+ machine: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
947
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
948
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
949
+ onChain: z.ZodOptional<z.ZodBoolean>;
950
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
951
+ }, "strict", z.ZodTypeAny, {
952
+ name?: string | undefined;
953
+ replaceExistName?: boolean | undefined;
954
+ tags?: string[] | undefined;
955
+ onChain?: boolean | undefined;
956
+ }, {
957
+ name?: string | undefined;
958
+ replaceExistName?: boolean | undefined;
959
+ tags?: string[] | undefined;
960
+ onChain?: boolean | undefined;
961
+ }>, z.ZodNull]>>;
962
+ discount: z.ZodOptional<z.ZodObject<{
963
+ name: z.ZodString;
964
+ discount_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>]>;
965
+ discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
966
+ benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
967
+ time_ms_start: z.ZodOptional<z.ZodNumber>;
968
+ time_ms_end: z.ZodOptional<z.ZodNumber>;
969
+ count: z.ZodOptional<z.ZodNumber>;
970
+ recipient: z.ZodObject<{
971
+ entities: z.ZodArray<z.ZodObject<{
972
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
973
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
974
+ }, "strict", z.ZodTypeAny, {
975
+ name_or_address?: string | undefined;
976
+ local_mark_first?: boolean | undefined;
977
+ }, {
978
+ name_or_address?: string | undefined;
979
+ local_mark_first?: boolean | undefined;
980
+ }>, "many">;
981
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
982
+ }, "strict", z.ZodTypeAny, {
983
+ entities: {
984
+ name_or_address?: string | undefined;
985
+ local_mark_first?: boolean | undefined;
986
+ }[];
987
+ check_all_founded?: boolean | undefined;
988
+ }, {
989
+ entities: {
990
+ name_or_address?: string | undefined;
991
+ local_mark_first?: boolean | undefined;
992
+ }[];
993
+ check_all_founded?: boolean | undefined;
994
+ }>;
995
+ transferable: z.ZodOptional<z.ZodBoolean>;
996
+ }, "strict", z.ZodTypeAny, {
997
+ [x: string]: any;
998
+ name?: unknown;
999
+ discount_type?: unknown;
1000
+ discount_value?: unknown;
1001
+ benchmark?: unknown;
1002
+ time_ms_start?: unknown;
1003
+ time_ms_end?: unknown;
1004
+ count?: unknown;
1005
+ recipient?: unknown;
1006
+ transferable?: unknown;
1007
+ }, {
1008
+ [x: string]: any;
1009
+ name?: unknown;
1010
+ discount_type?: unknown;
1011
+ discount_value?: unknown;
1012
+ benchmark?: unknown;
1013
+ time_ms_start?: unknown;
1014
+ time_ms_end?: unknown;
1015
+ count?: unknown;
1016
+ recipient?: unknown;
1017
+ transferable?: unknown;
1018
+ }>>;
1019
+ discount_destroy: z.ZodOptional<z.ZodArray<z.ZodObject<{
1020
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1021
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1022
+ onChain: z.ZodOptional<z.ZodBoolean>;
1023
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1024
+ }, "strict", z.ZodTypeAny, {
1025
+ name?: string | undefined;
1026
+ replaceExistName?: boolean | undefined;
1027
+ tags?: string[] | undefined;
1028
+ onChain?: boolean | undefined;
1029
+ }, {
1030
+ name?: string | undefined;
1031
+ replaceExistName?: boolean | undefined;
1032
+ tags?: string[] | undefined;
1033
+ onChain?: boolean | undefined;
1034
+ }>, "many">>;
1035
+ customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1036
+ order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1037
+ description: z.ZodEffects<z.ZodString, string, string>;
1038
+ threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1039
+ allocators: z.ZodArray<z.ZodObject<{
1040
+ guard: z.ZodEffects<z.ZodString, string, string>;
1041
+ sharing: z.ZodArray<z.ZodObject<{
1042
+ who: z.ZodUnion<[z.ZodObject<{
1043
+ GuardIdentifier: z.ZodNumber;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ GuardIdentifier: number;
1046
+ }, {
1047
+ GuardIdentifier: number;
1048
+ }>, z.ZodObject<{
1049
+ Entity: z.ZodObject<{
1050
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1051
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1052
+ }, "strict", z.ZodTypeAny, {
1053
+ name_or_address?: string | undefined;
1054
+ local_mark_first?: boolean | undefined;
1055
+ }, {
1056
+ name_or_address?: string | undefined;
1057
+ local_mark_first?: boolean | undefined;
1058
+ }>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ Entity: {
1061
+ name_or_address?: string | undefined;
1062
+ local_mark_first?: boolean | undefined;
1063
+ };
1064
+ }, {
1065
+ Entity: {
1066
+ name_or_address?: string | undefined;
1067
+ local_mark_first?: boolean | undefined;
1068
+ };
1069
+ }>, z.ZodObject<{
1070
+ Signer: z.ZodLiteral<"signer">;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ Signer: "signer";
1073
+ }, {
1074
+ Signer: "signer";
1075
+ }>]>;
1076
+ sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1077
+ mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ who: {
1080
+ GuardIdentifier: number;
1081
+ } | {
1082
+ Entity: {
1083
+ name_or_address?: string | undefined;
1084
+ local_mark_first?: boolean | undefined;
1085
+ };
1086
+ } | {
1087
+ Signer: "signer";
1088
+ };
1089
+ sharing: string | number;
1090
+ mode: "Amount" | "Rate" | "Surplus";
1091
+ }, {
1092
+ who: {
1093
+ GuardIdentifier: number;
1094
+ } | {
1095
+ Entity: {
1096
+ name_or_address?: string | undefined;
1097
+ local_mark_first?: boolean | undefined;
1098
+ };
1099
+ } | {
1100
+ Signer: "signer";
1101
+ };
1102
+ sharing: string | number;
1103
+ mode: "Amount" | "Rate" | "Surplus";
1104
+ }>, "many">;
1105
+ fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1106
+ max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
1107
+ }, "strip", z.ZodTypeAny, {
1108
+ guard: string;
1109
+ sharing: {
1110
+ who: {
1111
+ GuardIdentifier: number;
1112
+ } | {
1113
+ Entity: {
1114
+ name_or_address?: string | undefined;
1115
+ local_mark_first?: boolean | undefined;
1116
+ };
1117
+ } | {
1118
+ Signer: "signer";
1119
+ };
1120
+ sharing: string | number;
1121
+ mode: "Amount" | "Rate" | "Surplus";
1122
+ }[];
1123
+ max?: string | number | null | undefined;
1124
+ fix?: string | number | undefined;
1125
+ }, {
1126
+ guard: string;
1127
+ sharing: {
1128
+ who: {
1129
+ GuardIdentifier: number;
1130
+ } | {
1131
+ Entity: {
1132
+ name_or_address?: string | undefined;
1133
+ local_mark_first?: boolean | undefined;
1134
+ };
1135
+ } | {
1136
+ Signer: "signer";
1137
+ };
1138
+ sharing: string | number;
1139
+ mode: "Amount" | "Rate" | "Surplus";
1140
+ }[];
1141
+ max?: string | number | null | undefined;
1142
+ fix?: string | number | undefined;
1143
+ }>, "many">;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ description: string;
1146
+ threshold: string | number;
1147
+ allocators: {
1148
+ guard: string;
1149
+ sharing: {
1150
+ who: {
1151
+ GuardIdentifier: number;
1152
+ } | {
1153
+ Entity: {
1154
+ name_or_address?: string | undefined;
1155
+ local_mark_first?: boolean | undefined;
1156
+ };
1157
+ } | {
1158
+ Signer: "signer";
1159
+ };
1160
+ sharing: string | number;
1161
+ mode: "Amount" | "Rate" | "Surplus";
1162
+ }[];
1163
+ max?: string | number | null | undefined;
1164
+ fix?: string | number | undefined;
1165
+ }[];
1166
+ }, {
1167
+ description: string;
1168
+ threshold: string | number;
1169
+ allocators: {
1170
+ guard: string;
1171
+ sharing: {
1172
+ who: {
1173
+ GuardIdentifier: number;
1174
+ } | {
1175
+ Entity: {
1176
+ name_or_address?: string | undefined;
1177
+ local_mark_first?: boolean | undefined;
1178
+ };
1179
+ } | {
1180
+ Signer: "signer";
1181
+ };
1182
+ sharing: string | number;
1183
+ mode: "Amount" | "Rate" | "Surplus";
1184
+ }[];
1185
+ max?: string | number | null | undefined;
1186
+ fix?: string | number | undefined;
1187
+ }[];
1188
+ }>, z.ZodNull]>>;
1189
+ compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1190
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ balance: string | number;
1193
+ }, {
1194
+ balance: string | number;
1195
+ }>, z.ZodObject<{
1196
+ coin: z.ZodString;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ coin: string;
1199
+ }, {
1200
+ coin: string;
1201
+ }>]>>;
1202
+ compensation_locked_time_add: z.ZodOptional<z.ZodNumber>;
1203
+ compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1204
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1205
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1206
+ received: z.ZodArray<z.ZodObject<{
1207
+ id: z.ZodString;
1208
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1209
+ payment: z.ZodString;
1210
+ }, "strict", z.ZodTypeAny, {
1211
+ id: string;
1212
+ balance: string | number;
1213
+ payment: string;
1214
+ }, {
1215
+ id: string;
1216
+ balance: string | number;
1217
+ payment: string;
1218
+ }>, "many">;
1219
+ }, "strict", z.ZodTypeAny, {
1220
+ received: {
1221
+ id: string;
1222
+ balance: string | number;
1223
+ payment: string;
1224
+ }[];
1225
+ balance: string | number;
1226
+ token_type: string;
1227
+ }, {
1228
+ received: {
1229
+ id: string;
1230
+ balance: string | number;
1231
+ payment: string;
1232
+ }[];
1233
+ balance: string | number;
1234
+ token_type: string;
1235
+ }>, z.ZodLiteral<"recently">]>>;
1236
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1237
+ id: z.ZodString;
1238
+ type: z.ZodString;
1239
+ }, "strict", z.ZodTypeAny, {
1240
+ type: string;
1241
+ id: string;
1242
+ }, {
1243
+ type: string;
1244
+ id: string;
1245
+ }>, "many">, z.ZodObject<{
1246
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1247
+ token_type: z.ZodEffects<z.ZodString, string, string>;
1248
+ received: z.ZodArray<z.ZodObject<{
1249
+ id: z.ZodString;
1250
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1251
+ payment: z.ZodString;
1252
+ }, "strict", z.ZodTypeAny, {
1253
+ id: string;
1254
+ balance: string | number;
1255
+ payment: string;
1256
+ }, {
1257
+ id: string;
1258
+ balance: string | number;
1259
+ payment: string;
1260
+ }>, "many">;
1261
+ }, "strict", z.ZodTypeAny, {
1262
+ received: {
1263
+ id: string;
1264
+ balance: string | number;
1265
+ payment: string;
1266
+ }[];
1267
+ balance: string | number;
1268
+ token_type: string;
1269
+ }, {
1270
+ received: {
1271
+ id: string;
1272
+ balance: string | number;
1273
+ payment: string;
1274
+ }[];
1275
+ balance: string | number;
1276
+ token_type: string;
1277
+ }>, z.ZodLiteral<"recently">]>>;
1278
+ um: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1279
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1280
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1281
+ onChain: z.ZodOptional<z.ZodBoolean>;
1282
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1283
+ }, "strict", z.ZodTypeAny, {
1284
+ name?: string | undefined;
1285
+ replaceExistName?: boolean | undefined;
1286
+ tags?: string[] | undefined;
1287
+ onChain?: boolean | undefined;
1288
+ }, {
1289
+ name?: string | undefined;
1290
+ replaceExistName?: boolean | undefined;
1291
+ tags?: string[] | undefined;
1292
+ onChain?: boolean | undefined;
1293
+ }>, z.ZodNull]>>;
1294
+ pause: z.ZodOptional<z.ZodBoolean>;
1295
+ publish: z.ZodOptional<z.ZodBoolean>;
1296
+ }, "strict", z.ZodTypeAny, {
1297
+ object: string | {
1298
+ type_parameter: string;
1299
+ name?: string | undefined;
1300
+ replaceExistName?: boolean | undefined;
1301
+ tags?: string[] | undefined;
1302
+ onChain?: boolean | undefined;
1303
+ permission?: string | {
1304
+ name?: string | undefined;
1305
+ replaceExistName?: boolean | undefined;
1306
+ tags?: string[] | undefined;
1307
+ description?: string | undefined;
1308
+ onChain?: boolean | undefined;
1309
+ } | undefined;
1310
+ };
1311
+ description?: string | undefined;
1312
+ location?: string | undefined;
1313
+ owner_receive?: {
1314
+ received: {
1315
+ id: string;
1316
+ balance: string | number;
1317
+ payment: string;
1318
+ }[];
1319
+ balance: string | number;
1320
+ token_type: string;
1321
+ } | "recently" | {
1322
+ type: string;
1323
+ id: string;
1324
+ }[] | undefined;
1325
+ rewards?: {
1326
+ op: "set" | "add";
1327
+ objects: string[];
1328
+ } | {
1329
+ op: "remove";
1330
+ objects: string[];
1331
+ } | {
1332
+ op: "clear";
1333
+ } | undefined;
1334
+ um?: {
1335
+ name?: string | undefined;
1336
+ replaceExistName?: boolean | undefined;
1337
+ tags?: string[] | undefined;
1338
+ onChain?: boolean | undefined;
1339
+ } | null | undefined;
1340
+ discount?: {
1341
+ [x: string]: any;
1342
+ name?: unknown;
1343
+ discount_type?: unknown;
1344
+ discount_value?: unknown;
1345
+ benchmark?: unknown;
1346
+ time_ms_start?: unknown;
1347
+ time_ms_end?: unknown;
1348
+ count?: unknown;
1349
+ recipient?: unknown;
1350
+ transferable?: unknown;
1351
+ } | undefined;
1352
+ machine?: {
1353
+ name?: string | undefined;
1354
+ replaceExistName?: boolean | undefined;
1355
+ tags?: string[] | undefined;
1356
+ onChain?: boolean | undefined;
1357
+ } | null | undefined;
1358
+ sales?: {
1359
+ op: "add";
1360
+ sales: {
1361
+ name: string;
1362
+ wip: string;
1363
+ price: string | number;
1364
+ stock: string | number;
1365
+ suspension: boolean;
1366
+ wip_hash: string;
1367
+ }[];
1368
+ } | {
1369
+ op: "set";
1370
+ sales: {
1371
+ name: string;
1372
+ wip: string;
1373
+ price: string | number;
1374
+ stock: string | number;
1375
+ suspension: boolean;
1376
+ wip_hash: string;
1377
+ }[];
1378
+ } | {
1379
+ op: "remove";
1380
+ sales_name: string[];
1381
+ } | {
1382
+ op: "clear";
1383
+ } | undefined;
1384
+ repositories?: {
1385
+ op: "set" | "add";
1386
+ objects: string[];
1387
+ } | {
1388
+ op: "remove";
1389
+ objects: string[];
1390
+ } | {
1391
+ op: "clear";
1392
+ } | undefined;
1393
+ customer_required?: string[] | undefined;
1394
+ arbitrations?: {
1395
+ op: "set" | "add";
1396
+ objects: string[];
1397
+ } | {
1398
+ op: "remove";
1399
+ objects: string[];
1400
+ } | {
1401
+ op: "clear";
1402
+ } | undefined;
1403
+ order_allocators?: {
1404
+ description: string;
1405
+ threshold: string | number;
1406
+ allocators: {
1407
+ guard: string;
1408
+ sharing: {
1409
+ who: {
1410
+ GuardIdentifier: number;
1411
+ } | {
1412
+ Entity: {
1413
+ name_or_address?: string | undefined;
1414
+ local_mark_first?: boolean | undefined;
1415
+ };
1416
+ } | {
1417
+ Signer: "signer";
1418
+ };
1419
+ sharing: string | number;
1420
+ mode: "Amount" | "Rate" | "Surplus";
1421
+ }[];
1422
+ max?: string | number | null | undefined;
1423
+ fix?: string | number | undefined;
1424
+ }[];
1425
+ } | null | undefined;
1426
+ pause?: boolean | undefined;
1427
+ publish?: boolean | undefined;
1428
+ order_new?: {
1429
+ buy: {
1430
+ items: {
1431
+ name: string;
1432
+ stock: string | number;
1433
+ wip_hash: string;
1434
+ }[];
1435
+ total_pay: {
1436
+ balance: string | number;
1437
+ } | {
1438
+ coin: string;
1439
+ };
1440
+ discount?: string | undefined;
1441
+ payment_remark?: string | undefined;
1442
+ payment_index?: number | undefined;
1443
+ };
1444
+ order_required_info: string;
1445
+ transfer?: {
1446
+ name_or_address?: string | undefined;
1447
+ local_mark_first?: boolean | undefined;
1448
+ } | undefined;
1449
+ agents?: {
1450
+ entities: {
1451
+ name_or_address?: string | undefined;
1452
+ local_mark_first?: boolean | undefined;
1453
+ }[];
1454
+ check_all_founded?: boolean | undefined;
1455
+ } | undefined;
1456
+ namedNewOrder?: {
1457
+ name?: string | undefined;
1458
+ replaceExistName?: boolean | undefined;
1459
+ tags?: string[] | undefined;
1460
+ onChain?: boolean | undefined;
1461
+ } | undefined;
1462
+ namedNewAllocation?: {
1463
+ name?: string | undefined;
1464
+ replaceExistName?: boolean | undefined;
1465
+ tags?: string[] | undefined;
1466
+ onChain?: boolean | undefined;
1467
+ } | undefined;
1468
+ namedNewProgress?: {
1469
+ name?: string | undefined;
1470
+ replaceExistName?: boolean | undefined;
1471
+ tags?: string[] | undefined;
1472
+ onChain?: boolean | undefined;
1473
+ } | undefined;
1474
+ } | undefined;
1475
+ discount_destroy?: {
1476
+ name?: string | undefined;
1477
+ replaceExistName?: boolean | undefined;
1478
+ tags?: string[] | undefined;
1479
+ onChain?: boolean | undefined;
1480
+ }[] | undefined;
1481
+ compensation_fund_add?: {
1482
+ balance: string | number;
1483
+ } | {
1484
+ coin: string;
1485
+ } | undefined;
1486
+ compensation_locked_time_add?: number | undefined;
1487
+ compensation_fund_receive?: {
1488
+ received: {
1489
+ id: string;
1490
+ balance: string | number;
1491
+ payment: string;
1492
+ }[];
1493
+ balance: string | number;
1494
+ token_type: string;
1495
+ } | "recently" | undefined;
1496
+ }, {
1497
+ object: string | {
1498
+ name?: string | undefined;
1499
+ replaceExistName?: boolean | undefined;
1500
+ tags?: string[] | undefined;
1501
+ onChain?: boolean | undefined;
1502
+ type_parameter?: string | undefined;
1503
+ permission?: string | {
1504
+ name?: string | undefined;
1505
+ replaceExistName?: boolean | undefined;
1506
+ tags?: string[] | undefined;
1507
+ description?: string | undefined;
1508
+ onChain?: boolean | undefined;
1509
+ } | undefined;
1510
+ };
1511
+ description?: string | undefined;
1512
+ location?: string | undefined;
1513
+ owner_receive?: {
1514
+ received: {
1515
+ id: string;
1516
+ balance: string | number;
1517
+ payment: string;
1518
+ }[];
1519
+ balance: string | number;
1520
+ token_type: string;
1521
+ } | "recently" | {
1522
+ type: string;
1523
+ id: string;
1524
+ }[] | undefined;
1525
+ rewards?: {
1526
+ op: "set" | "add";
1527
+ objects: string[];
1528
+ } | {
1529
+ op: "remove";
1530
+ objects: string[];
1531
+ } | {
1532
+ op: "clear";
1533
+ } | undefined;
1534
+ um?: {
1535
+ name?: string | undefined;
1536
+ replaceExistName?: boolean | undefined;
1537
+ tags?: string[] | undefined;
1538
+ onChain?: boolean | undefined;
1539
+ } | null | undefined;
1540
+ discount?: {
1541
+ [x: string]: any;
1542
+ name?: unknown;
1543
+ discount_type?: unknown;
1544
+ discount_value?: unknown;
1545
+ benchmark?: unknown;
1546
+ time_ms_start?: unknown;
1547
+ time_ms_end?: unknown;
1548
+ count?: unknown;
1549
+ recipient?: unknown;
1550
+ transferable?: unknown;
1551
+ } | undefined;
1552
+ machine?: {
1553
+ name?: string | undefined;
1554
+ replaceExistName?: boolean | undefined;
1555
+ tags?: string[] | undefined;
1556
+ onChain?: boolean | undefined;
1557
+ } | null | undefined;
1558
+ sales?: {
1559
+ op: "add";
1560
+ sales: {
1561
+ name: string;
1562
+ wip: string;
1563
+ price: string | number;
1564
+ stock: string | number;
1565
+ suspension: boolean;
1566
+ wip_hash: string;
1567
+ }[];
1568
+ } | {
1569
+ op: "set";
1570
+ sales: {
1571
+ name: string;
1572
+ wip: string;
1573
+ price: string | number;
1574
+ stock: string | number;
1575
+ suspension: boolean;
1576
+ wip_hash: string;
1577
+ }[];
1578
+ } | {
1579
+ op: "remove";
1580
+ sales_name: string[];
1581
+ } | {
1582
+ op: "clear";
1583
+ } | undefined;
1584
+ repositories?: {
1585
+ op: "set" | "add";
1586
+ objects: string[];
1587
+ } | {
1588
+ op: "remove";
1589
+ objects: string[];
1590
+ } | {
1591
+ op: "clear";
1592
+ } | undefined;
1593
+ customer_required?: string[] | undefined;
1594
+ arbitrations?: {
1595
+ op: "set" | "add";
1596
+ objects: string[];
1597
+ } | {
1598
+ op: "remove";
1599
+ objects: string[];
1600
+ } | {
1601
+ op: "clear";
1602
+ } | undefined;
1603
+ order_allocators?: {
1604
+ description: string;
1605
+ threshold: string | number;
1606
+ allocators: {
1607
+ guard: string;
1608
+ sharing: {
1609
+ who: {
1610
+ GuardIdentifier: number;
1611
+ } | {
1612
+ Entity: {
1613
+ name_or_address?: string | undefined;
1614
+ local_mark_first?: boolean | undefined;
1615
+ };
1616
+ } | {
1617
+ Signer: "signer";
1618
+ };
1619
+ sharing: string | number;
1620
+ mode: "Amount" | "Rate" | "Surplus";
1621
+ }[];
1622
+ max?: string | number | null | undefined;
1623
+ fix?: string | number | undefined;
1624
+ }[];
1625
+ } | null | undefined;
1626
+ pause?: boolean | undefined;
1627
+ publish?: boolean | undefined;
1628
+ order_new?: {
1629
+ buy: {
1630
+ items: {
1631
+ name: string;
1632
+ stock: string | number;
1633
+ wip_hash: string;
1634
+ }[];
1635
+ total_pay: {
1636
+ balance: string | number;
1637
+ } | {
1638
+ coin: string;
1639
+ };
1640
+ discount?: string | undefined;
1641
+ payment_remark?: string | undefined;
1642
+ payment_index?: number | undefined;
1643
+ };
1644
+ order_required_info: string;
1645
+ transfer?: {
1646
+ name_or_address?: string | undefined;
1647
+ local_mark_first?: boolean | undefined;
1648
+ } | undefined;
1649
+ agents?: {
1650
+ entities: {
1651
+ name_or_address?: string | undefined;
1652
+ local_mark_first?: boolean | undefined;
1653
+ }[];
1654
+ check_all_founded?: boolean | undefined;
1655
+ } | undefined;
1656
+ namedNewOrder?: {
1657
+ name?: string | undefined;
1658
+ replaceExistName?: boolean | undefined;
1659
+ tags?: string[] | undefined;
1660
+ onChain?: boolean | undefined;
1661
+ } | undefined;
1662
+ namedNewAllocation?: {
1663
+ name?: string | undefined;
1664
+ replaceExistName?: boolean | undefined;
1665
+ tags?: string[] | undefined;
1666
+ onChain?: boolean | undefined;
1667
+ } | undefined;
1668
+ namedNewProgress?: {
1669
+ name?: string | undefined;
1670
+ replaceExistName?: boolean | undefined;
1671
+ tags?: string[] | undefined;
1672
+ onChain?: boolean | undefined;
1673
+ } | undefined;
1674
+ } | undefined;
1675
+ discount_destroy?: {
1676
+ name?: string | undefined;
1677
+ replaceExistName?: boolean | undefined;
1678
+ tags?: string[] | undefined;
1679
+ onChain?: boolean | undefined;
1680
+ }[] | undefined;
1681
+ compensation_fund_add?: {
1682
+ balance: string | number;
1683
+ } | {
1684
+ coin: string;
1685
+ } | undefined;
1686
+ compensation_locked_time_add?: number | undefined;
1687
+ compensation_fund_receive?: {
1688
+ received: {
1689
+ id: string;
1690
+ balance: string | number;
1691
+ payment: string;
1692
+ }[];
1693
+ balance: string | number;
1694
+ token_type: string;
1695
+ } | "recently" | undefined;
1696
+ }>;
1697
+ export declare const CallService_InputSchema: z.ZodObject<{
1698
+ data: z.ZodObject<{
1699
+ object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1700
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1701
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1702
+ onChain: z.ZodOptional<z.ZodBoolean>;
1703
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1704
+ } & {
1705
+ permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1706
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1707
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1708
+ onChain: z.ZodOptional<z.ZodBoolean>;
1709
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1710
+ } & {
1711
+ description: z.ZodOptional<z.ZodString>;
1712
+ }, "strict", z.ZodTypeAny, {
1713
+ name?: string | undefined;
1714
+ replaceExistName?: boolean | undefined;
1715
+ tags?: string[] | undefined;
1716
+ description?: string | undefined;
1717
+ onChain?: boolean | undefined;
1718
+ }, {
1719
+ name?: string | undefined;
1720
+ replaceExistName?: boolean | undefined;
1721
+ tags?: string[] | undefined;
1722
+ description?: string | undefined;
1723
+ onChain?: boolean | undefined;
1724
+ }>]>>;
1725
+ } & {
1726
+ type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
1727
+ }, "strict", z.ZodTypeAny, {
1728
+ type_parameter: string;
1729
+ name?: string | undefined;
1730
+ replaceExistName?: boolean | undefined;
1731
+ tags?: string[] | undefined;
1732
+ onChain?: boolean | undefined;
1733
+ permission?: string | {
1734
+ name?: string | undefined;
1735
+ replaceExistName?: boolean | undefined;
1736
+ tags?: string[] | undefined;
1737
+ description?: string | undefined;
1738
+ onChain?: boolean | undefined;
1739
+ } | undefined;
1740
+ }, {
1741
+ name?: string | undefined;
1742
+ replaceExistName?: boolean | undefined;
1743
+ tags?: string[] | undefined;
1744
+ onChain?: boolean | undefined;
1745
+ type_parameter?: string | undefined;
1746
+ permission?: string | {
1747
+ name?: string | undefined;
1748
+ replaceExistName?: boolean | undefined;
1749
+ tags?: string[] | undefined;
1750
+ description?: string | undefined;
1751
+ onChain?: boolean | undefined;
1752
+ } | undefined;
1753
+ }>]>;
1754
+ order_new: z.ZodOptional<z.ZodObject<{
1755
+ buy: z.ZodObject<{
1756
+ items: z.ZodArray<z.ZodObject<{
1757
+ name: z.ZodEffects<z.ZodString, string, string>;
1758
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1759
+ wip_hash: z.ZodString;
1760
+ }, "strict", z.ZodTypeAny, {
1761
+ name: string;
1762
+ stock: string | number;
1763
+ wip_hash: string;
1764
+ }, {
1765
+ name: string;
1766
+ stock: string | number;
1767
+ wip_hash: string;
1768
+ }>, "many">;
1769
+ total_pay: z.ZodUnion<[z.ZodObject<{
1770
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ balance: string | number;
1773
+ }, {
1774
+ balance: string | number;
1775
+ }>, z.ZodObject<{
1776
+ coin: z.ZodString;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ coin: string;
1779
+ }, {
1780
+ coin: string;
1781
+ }>]>;
1782
+ discount: z.ZodOptional<z.ZodString>;
1783
+ payment_remark: z.ZodOptional<z.ZodString>;
1784
+ payment_index: z.ZodOptional<z.ZodNumber>;
1785
+ }, "strict", z.ZodTypeAny, {
1786
+ items: {
1787
+ name: string;
1788
+ stock: string | number;
1789
+ wip_hash: string;
1790
+ }[];
1791
+ total_pay: {
1792
+ balance: string | number;
1793
+ } | {
1794
+ coin: string;
1795
+ };
1796
+ discount?: string | undefined;
1797
+ payment_remark?: string | undefined;
1798
+ payment_index?: number | undefined;
1799
+ }, {
1800
+ items: {
1801
+ name: string;
1802
+ stock: string | number;
1803
+ wip_hash: string;
1804
+ }[];
1805
+ total_pay: {
1806
+ balance: string | number;
1807
+ } | {
1808
+ coin: string;
1809
+ };
1810
+ discount?: string | undefined;
1811
+ payment_remark?: string | undefined;
1812
+ payment_index?: number | undefined;
1813
+ }>;
1814
+ agents: z.ZodOptional<z.ZodObject<{
1815
+ entities: z.ZodArray<z.ZodObject<{
1816
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1817
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1818
+ }, "strict", z.ZodTypeAny, {
1819
+ name_or_address?: string | undefined;
1820
+ local_mark_first?: boolean | undefined;
1821
+ }, {
1822
+ name_or_address?: string | undefined;
1823
+ local_mark_first?: boolean | undefined;
1824
+ }>, "many">;
1825
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
1826
+ }, "strict", z.ZodTypeAny, {
1827
+ entities: {
1828
+ name_or_address?: string | undefined;
1829
+ local_mark_first?: boolean | undefined;
1830
+ }[];
1831
+ check_all_founded?: boolean | undefined;
1832
+ }, {
1833
+ entities: {
1834
+ name_or_address?: string | undefined;
1835
+ local_mark_first?: boolean | undefined;
1836
+ }[];
1837
+ check_all_founded?: boolean | undefined;
1838
+ }>>;
1839
+ order_required_info: z.ZodString;
1840
+ transfer: z.ZodOptional<z.ZodObject<{
1841
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1842
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
1843
+ }, "strict", z.ZodTypeAny, {
1844
+ name_or_address?: string | undefined;
1845
+ local_mark_first?: boolean | undefined;
1846
+ }, {
1847
+ name_or_address?: string | undefined;
1848
+ local_mark_first?: boolean | undefined;
1849
+ }>>;
1850
+ namedNewOrder: z.ZodOptional<z.ZodObject<{
1851
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1852
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1853
+ onChain: z.ZodOptional<z.ZodBoolean>;
1854
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1855
+ }, "strict", z.ZodTypeAny, {
1856
+ name?: string | undefined;
1857
+ replaceExistName?: boolean | undefined;
1858
+ tags?: string[] | undefined;
1859
+ onChain?: boolean | undefined;
1860
+ }, {
1861
+ name?: string | undefined;
1862
+ replaceExistName?: boolean | undefined;
1863
+ tags?: string[] | undefined;
1864
+ onChain?: boolean | undefined;
1865
+ }>>;
1866
+ namedNewAllocation: z.ZodOptional<z.ZodObject<{
1867
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1868
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1869
+ onChain: z.ZodOptional<z.ZodBoolean>;
1870
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1871
+ }, "strict", z.ZodTypeAny, {
1872
+ name?: string | undefined;
1873
+ replaceExistName?: boolean | undefined;
1874
+ tags?: string[] | undefined;
1875
+ onChain?: boolean | undefined;
1876
+ }, {
1877
+ name?: string | undefined;
1878
+ replaceExistName?: boolean | undefined;
1879
+ tags?: string[] | undefined;
1880
+ onChain?: boolean | undefined;
1881
+ }>>;
1882
+ namedNewProgress: z.ZodOptional<z.ZodObject<{
1883
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1884
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1885
+ onChain: z.ZodOptional<z.ZodBoolean>;
1886
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
1887
+ }, "strict", z.ZodTypeAny, {
1888
+ name?: string | undefined;
1889
+ replaceExistName?: boolean | undefined;
1890
+ tags?: string[] | undefined;
1891
+ onChain?: boolean | undefined;
1892
+ }, {
1893
+ name?: string | undefined;
1894
+ replaceExistName?: boolean | undefined;
1895
+ tags?: string[] | undefined;
1896
+ onChain?: boolean | undefined;
1897
+ }>>;
1898
+ }, "strict", z.ZodTypeAny, {
1899
+ buy: {
1900
+ items: {
1901
+ name: string;
1902
+ stock: string | number;
1903
+ wip_hash: string;
1904
+ }[];
1905
+ total_pay: {
1906
+ balance: string | number;
1907
+ } | {
1908
+ coin: string;
1909
+ };
1910
+ discount?: string | undefined;
1911
+ payment_remark?: string | undefined;
1912
+ payment_index?: number | undefined;
1913
+ };
1914
+ order_required_info: string;
1915
+ transfer?: {
1916
+ name_or_address?: string | undefined;
1917
+ local_mark_first?: boolean | undefined;
1918
+ } | undefined;
1919
+ agents?: {
1920
+ entities: {
1921
+ name_or_address?: string | undefined;
1922
+ local_mark_first?: boolean | undefined;
1923
+ }[];
1924
+ check_all_founded?: boolean | undefined;
1925
+ } | undefined;
1926
+ namedNewOrder?: {
1927
+ name?: string | undefined;
1928
+ replaceExistName?: boolean | undefined;
1929
+ tags?: string[] | undefined;
1930
+ onChain?: boolean | undefined;
1931
+ } | undefined;
1932
+ namedNewAllocation?: {
1933
+ name?: string | undefined;
1934
+ replaceExistName?: boolean | undefined;
1935
+ tags?: string[] | undefined;
1936
+ onChain?: boolean | undefined;
1937
+ } | undefined;
1938
+ namedNewProgress?: {
1939
+ name?: string | undefined;
1940
+ replaceExistName?: boolean | undefined;
1941
+ tags?: string[] | undefined;
1942
+ onChain?: boolean | undefined;
1943
+ } | undefined;
1944
+ }, {
1945
+ buy: {
1946
+ items: {
1947
+ name: string;
1948
+ stock: string | number;
1949
+ wip_hash: string;
1950
+ }[];
1951
+ total_pay: {
1952
+ balance: string | number;
1953
+ } | {
1954
+ coin: string;
1955
+ };
1956
+ discount?: string | undefined;
1957
+ payment_remark?: string | undefined;
1958
+ payment_index?: number | undefined;
1959
+ };
1960
+ order_required_info: string;
1961
+ transfer?: {
1962
+ name_or_address?: string | undefined;
1963
+ local_mark_first?: boolean | undefined;
1964
+ } | undefined;
1965
+ agents?: {
1966
+ entities: {
1967
+ name_or_address?: string | undefined;
1968
+ local_mark_first?: boolean | undefined;
1969
+ }[];
1970
+ check_all_founded?: boolean | undefined;
1971
+ } | undefined;
1972
+ namedNewOrder?: {
1973
+ name?: string | undefined;
1974
+ replaceExistName?: boolean | undefined;
1975
+ tags?: string[] | undefined;
1976
+ onChain?: boolean | undefined;
1977
+ } | undefined;
1978
+ namedNewAllocation?: {
1979
+ name?: string | undefined;
1980
+ replaceExistName?: boolean | undefined;
1981
+ tags?: string[] | undefined;
1982
+ onChain?: boolean | undefined;
1983
+ } | undefined;
1984
+ namedNewProgress?: {
1985
+ name?: string | undefined;
1986
+ replaceExistName?: boolean | undefined;
1987
+ tags?: string[] | undefined;
1988
+ onChain?: boolean | undefined;
1989
+ } | undefined;
1990
+ }>>;
1991
+ description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1992
+ location: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1993
+ sales: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1994
+ op: z.ZodLiteral<"add">;
1995
+ sales: z.ZodArray<z.ZodObject<{
1996
+ name: z.ZodEffects<z.ZodString, string, string>;
1997
+ price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1998
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1999
+ suspension: z.ZodBoolean;
2000
+ wip: z.ZodString;
2001
+ wip_hash: z.ZodString;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ name: string;
2004
+ wip: string;
2005
+ price: string | number;
2006
+ stock: string | number;
2007
+ suspension: boolean;
2008
+ wip_hash: string;
2009
+ }, {
2010
+ name: string;
2011
+ wip: string;
2012
+ price: string | number;
2013
+ stock: string | number;
2014
+ suspension: boolean;
2015
+ wip_hash: string;
2016
+ }>, "many">;
2017
+ }, "strict", z.ZodTypeAny, {
2018
+ op: "add";
2019
+ sales: {
2020
+ name: string;
2021
+ wip: string;
2022
+ price: string | number;
2023
+ stock: string | number;
2024
+ suspension: boolean;
2025
+ wip_hash: string;
2026
+ }[];
2027
+ }, {
2028
+ op: "add";
2029
+ sales: {
2030
+ name: string;
2031
+ wip: string;
2032
+ price: string | number;
2033
+ stock: string | number;
2034
+ suspension: boolean;
2035
+ wip_hash: string;
2036
+ }[];
2037
+ }>, z.ZodObject<{
2038
+ op: z.ZodLiteral<"set">;
2039
+ sales: z.ZodArray<z.ZodObject<{
2040
+ name: z.ZodEffects<z.ZodString, string, string>;
2041
+ price: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2042
+ stock: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2043
+ suspension: z.ZodBoolean;
2044
+ wip: z.ZodString;
2045
+ wip_hash: z.ZodString;
2046
+ }, "strip", z.ZodTypeAny, {
2047
+ name: string;
2048
+ wip: string;
2049
+ price: string | number;
2050
+ stock: string | number;
2051
+ suspension: boolean;
2052
+ wip_hash: string;
2053
+ }, {
2054
+ name: string;
2055
+ wip: string;
2056
+ price: string | number;
2057
+ stock: string | number;
2058
+ suspension: boolean;
2059
+ wip_hash: string;
2060
+ }>, "many">;
2061
+ }, "strict", z.ZodTypeAny, {
2062
+ op: "set";
2063
+ sales: {
2064
+ name: string;
2065
+ wip: string;
2066
+ price: string | number;
2067
+ stock: string | number;
2068
+ suspension: boolean;
2069
+ wip_hash: string;
2070
+ }[];
2071
+ }, {
2072
+ op: "set";
2073
+ sales: {
2074
+ name: string;
2075
+ wip: string;
2076
+ price: string | number;
2077
+ stock: string | number;
2078
+ suspension: boolean;
2079
+ wip_hash: string;
2080
+ }[];
2081
+ }>, z.ZodObject<{
2082
+ op: z.ZodLiteral<"remove">;
2083
+ sales_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2084
+ }, "strict", z.ZodTypeAny, {
2085
+ op: "remove";
2086
+ sales_name: string[];
2087
+ }, {
2088
+ op: "remove";
2089
+ sales_name: string[];
2090
+ }>, z.ZodObject<{
2091
+ op: z.ZodLiteral<"clear">;
2092
+ }, "strict", z.ZodTypeAny, {
2093
+ op: "clear";
2094
+ }, {
2095
+ op: "clear";
2096
+ }>]>>;
2097
+ repositories: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2098
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2099
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2100
+ }, "strict", z.ZodTypeAny, {
2101
+ op: "set" | "add";
2102
+ objects: string[];
2103
+ }, {
2104
+ op: "set" | "add";
2105
+ objects: string[];
2106
+ }>, z.ZodObject<{
2107
+ op: z.ZodLiteral<"remove">;
2108
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2109
+ }, "strict", z.ZodTypeAny, {
2110
+ op: "remove";
2111
+ objects: string[];
2112
+ }, {
2113
+ op: "remove";
2114
+ objects: string[];
2115
+ }>, z.ZodObject<{
2116
+ op: z.ZodLiteral<"clear">;
2117
+ }, "strict", z.ZodTypeAny, {
2118
+ op: "clear";
2119
+ }, {
2120
+ op: "clear";
2121
+ }>]>>;
2122
+ rewards: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2123
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2124
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2125
+ }, "strict", z.ZodTypeAny, {
2126
+ op: "set" | "add";
2127
+ objects: string[];
2128
+ }, {
2129
+ op: "set" | "add";
2130
+ objects: string[];
2131
+ }>, z.ZodObject<{
2132
+ op: z.ZodLiteral<"remove">;
2133
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2134
+ }, "strict", z.ZodTypeAny, {
2135
+ op: "remove";
2136
+ objects: string[];
2137
+ }, {
2138
+ op: "remove";
2139
+ objects: string[];
2140
+ }>, z.ZodObject<{
2141
+ op: z.ZodLiteral<"clear">;
2142
+ }, "strict", z.ZodTypeAny, {
2143
+ op: "clear";
2144
+ }, {
2145
+ op: "clear";
2146
+ }>]>>;
2147
+ arbitrations: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2148
+ op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
2149
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2150
+ }, "strict", z.ZodTypeAny, {
2151
+ op: "set" | "add";
2152
+ objects: string[];
2153
+ }, {
2154
+ op: "set" | "add";
2155
+ objects: string[];
2156
+ }>, z.ZodObject<{
2157
+ op: z.ZodLiteral<"remove">;
2158
+ objects: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2159
+ }, "strict", z.ZodTypeAny, {
2160
+ op: "remove";
2161
+ objects: string[];
2162
+ }, {
2163
+ op: "remove";
2164
+ objects: string[];
2165
+ }>, z.ZodObject<{
2166
+ op: z.ZodLiteral<"clear">;
2167
+ }, "strict", z.ZodTypeAny, {
2168
+ op: "clear";
2169
+ }, {
2170
+ op: "clear";
2171
+ }>]>>;
2172
+ machine: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2173
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2174
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2175
+ onChain: z.ZodOptional<z.ZodBoolean>;
2176
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2177
+ }, "strict", z.ZodTypeAny, {
2178
+ name?: string | undefined;
2179
+ replaceExistName?: boolean | undefined;
2180
+ tags?: string[] | undefined;
2181
+ onChain?: boolean | undefined;
2182
+ }, {
2183
+ name?: string | undefined;
2184
+ replaceExistName?: boolean | undefined;
2185
+ tags?: string[] | undefined;
2186
+ onChain?: boolean | undefined;
2187
+ }>, z.ZodNull]>>;
2188
+ discount: z.ZodOptional<z.ZodObject<{
2189
+ name: z.ZodString;
2190
+ discount_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>]>;
2191
+ discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2192
+ benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2193
+ time_ms_start: z.ZodOptional<z.ZodNumber>;
2194
+ time_ms_end: z.ZodOptional<z.ZodNumber>;
2195
+ count: z.ZodOptional<z.ZodNumber>;
2196
+ recipient: z.ZodObject<{
2197
+ entities: z.ZodArray<z.ZodObject<{
2198
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2199
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2200
+ }, "strict", z.ZodTypeAny, {
2201
+ name_or_address?: string | undefined;
2202
+ local_mark_first?: boolean | undefined;
2203
+ }, {
2204
+ name_or_address?: string | undefined;
2205
+ local_mark_first?: boolean | undefined;
2206
+ }>, "many">;
2207
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2208
+ }, "strict", z.ZodTypeAny, {
2209
+ entities: {
2210
+ name_or_address?: string | undefined;
2211
+ local_mark_first?: boolean | undefined;
2212
+ }[];
2213
+ check_all_founded?: boolean | undefined;
2214
+ }, {
2215
+ entities: {
2216
+ name_or_address?: string | undefined;
2217
+ local_mark_first?: boolean | undefined;
2218
+ }[];
2219
+ check_all_founded?: boolean | undefined;
2220
+ }>;
2221
+ transferable: z.ZodOptional<z.ZodBoolean>;
2222
+ }, "strict", z.ZodTypeAny, {
2223
+ [x: string]: any;
2224
+ name?: unknown;
2225
+ discount_type?: unknown;
2226
+ discount_value?: unknown;
2227
+ benchmark?: unknown;
2228
+ time_ms_start?: unknown;
2229
+ time_ms_end?: unknown;
2230
+ count?: unknown;
2231
+ recipient?: unknown;
2232
+ transferable?: unknown;
2233
+ }, {
2234
+ [x: string]: any;
2235
+ name?: unknown;
2236
+ discount_type?: unknown;
2237
+ discount_value?: unknown;
2238
+ benchmark?: unknown;
2239
+ time_ms_start?: unknown;
2240
+ time_ms_end?: unknown;
2241
+ count?: unknown;
2242
+ recipient?: unknown;
2243
+ transferable?: unknown;
2244
+ }>>;
2245
+ discount_destroy: z.ZodOptional<z.ZodArray<z.ZodObject<{
2246
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2247
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2248
+ onChain: z.ZodOptional<z.ZodBoolean>;
2249
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2250
+ }, "strict", z.ZodTypeAny, {
2251
+ name?: string | undefined;
2252
+ replaceExistName?: boolean | undefined;
2253
+ tags?: string[] | undefined;
2254
+ onChain?: boolean | undefined;
2255
+ }, {
2256
+ name?: string | undefined;
2257
+ replaceExistName?: boolean | undefined;
2258
+ tags?: string[] | undefined;
2259
+ onChain?: boolean | undefined;
2260
+ }>, "many">>;
2261
+ customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2262
+ order_allocators: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2263
+ description: z.ZodEffects<z.ZodString, string, string>;
2264
+ threshold: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2265
+ allocators: z.ZodArray<z.ZodObject<{
2266
+ guard: z.ZodEffects<z.ZodString, string, string>;
2267
+ sharing: z.ZodArray<z.ZodObject<{
2268
+ who: z.ZodUnion<[z.ZodObject<{
2269
+ GuardIdentifier: z.ZodNumber;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ GuardIdentifier: number;
2272
+ }, {
2273
+ GuardIdentifier: number;
2274
+ }>, z.ZodObject<{
2275
+ Entity: z.ZodObject<{
2276
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2277
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2278
+ }, "strict", z.ZodTypeAny, {
2279
+ name_or_address?: string | undefined;
2280
+ local_mark_first?: boolean | undefined;
2281
+ }, {
2282
+ name_or_address?: string | undefined;
2283
+ local_mark_first?: boolean | undefined;
2284
+ }>;
2285
+ }, "strip", z.ZodTypeAny, {
2286
+ Entity: {
2287
+ name_or_address?: string | undefined;
2288
+ local_mark_first?: boolean | undefined;
2289
+ };
2290
+ }, {
2291
+ Entity: {
2292
+ name_or_address?: string | undefined;
2293
+ local_mark_first?: boolean | undefined;
2294
+ };
2295
+ }>, z.ZodObject<{
2296
+ Signer: z.ZodLiteral<"signer">;
2297
+ }, "strip", z.ZodTypeAny, {
2298
+ Signer: "signer";
2299
+ }, {
2300
+ Signer: "signer";
2301
+ }>]>;
2302
+ sharing: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2303
+ mode: z.ZodEnum<["Amount", "Rate", "Surplus"]>;
2304
+ }, "strip", z.ZodTypeAny, {
2305
+ who: {
2306
+ GuardIdentifier: number;
2307
+ } | {
2308
+ Entity: {
2309
+ name_or_address?: string | undefined;
2310
+ local_mark_first?: boolean | undefined;
2311
+ };
2312
+ } | {
2313
+ Signer: "signer";
2314
+ };
2315
+ sharing: string | number;
2316
+ mode: "Amount" | "Rate" | "Surplus";
2317
+ }, {
2318
+ who: {
2319
+ GuardIdentifier: number;
2320
+ } | {
2321
+ Entity: {
2322
+ name_or_address?: string | undefined;
2323
+ local_mark_first?: boolean | undefined;
2324
+ };
2325
+ } | {
2326
+ Signer: "signer";
2327
+ };
2328
+ sharing: string | number;
2329
+ mode: "Amount" | "Rate" | "Surplus";
2330
+ }>, "many">;
2331
+ fix: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2332
+ max: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
2333
+ }, "strip", z.ZodTypeAny, {
2334
+ guard: string;
2335
+ sharing: {
2336
+ who: {
2337
+ GuardIdentifier: number;
2338
+ } | {
2339
+ Entity: {
2340
+ name_or_address?: string | undefined;
2341
+ local_mark_first?: boolean | undefined;
2342
+ };
2343
+ } | {
2344
+ Signer: "signer";
2345
+ };
2346
+ sharing: string | number;
2347
+ mode: "Amount" | "Rate" | "Surplus";
2348
+ }[];
2349
+ max?: string | number | null | undefined;
2350
+ fix?: string | number | undefined;
2351
+ }, {
2352
+ guard: string;
2353
+ sharing: {
2354
+ who: {
2355
+ GuardIdentifier: number;
2356
+ } | {
2357
+ Entity: {
2358
+ name_or_address?: string | undefined;
2359
+ local_mark_first?: boolean | undefined;
2360
+ };
2361
+ } | {
2362
+ Signer: "signer";
2363
+ };
2364
+ sharing: string | number;
2365
+ mode: "Amount" | "Rate" | "Surplus";
2366
+ }[];
2367
+ max?: string | number | null | undefined;
2368
+ fix?: string | number | undefined;
2369
+ }>, "many">;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ description: string;
2372
+ threshold: string | number;
2373
+ allocators: {
2374
+ guard: string;
2375
+ sharing: {
2376
+ who: {
2377
+ GuardIdentifier: number;
2378
+ } | {
2379
+ Entity: {
2380
+ name_or_address?: string | undefined;
2381
+ local_mark_first?: boolean | undefined;
2382
+ };
2383
+ } | {
2384
+ Signer: "signer";
2385
+ };
2386
+ sharing: string | number;
2387
+ mode: "Amount" | "Rate" | "Surplus";
2388
+ }[];
2389
+ max?: string | number | null | undefined;
2390
+ fix?: string | number | undefined;
2391
+ }[];
2392
+ }, {
2393
+ description: string;
2394
+ threshold: string | number;
2395
+ allocators: {
2396
+ guard: string;
2397
+ sharing: {
2398
+ who: {
2399
+ GuardIdentifier: number;
2400
+ } | {
2401
+ Entity: {
2402
+ name_or_address?: string | undefined;
2403
+ local_mark_first?: boolean | undefined;
2404
+ };
2405
+ } | {
2406
+ Signer: "signer";
2407
+ };
2408
+ sharing: string | number;
2409
+ mode: "Amount" | "Rate" | "Surplus";
2410
+ }[];
2411
+ max?: string | number | null | undefined;
2412
+ fix?: string | number | undefined;
2413
+ }[];
2414
+ }>, z.ZodNull]>>;
2415
+ compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2416
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2417
+ }, "strip", z.ZodTypeAny, {
2418
+ balance: string | number;
2419
+ }, {
2420
+ balance: string | number;
2421
+ }>, z.ZodObject<{
2422
+ coin: z.ZodString;
2423
+ }, "strip", z.ZodTypeAny, {
2424
+ coin: string;
2425
+ }, {
2426
+ coin: string;
2427
+ }>]>>;
2428
+ compensation_locked_time_add: z.ZodOptional<z.ZodNumber>;
2429
+ compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2430
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2431
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2432
+ received: z.ZodArray<z.ZodObject<{
2433
+ id: z.ZodString;
2434
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2435
+ payment: z.ZodString;
2436
+ }, "strict", z.ZodTypeAny, {
2437
+ id: string;
2438
+ balance: string | number;
2439
+ payment: string;
2440
+ }, {
2441
+ id: string;
2442
+ balance: string | number;
2443
+ payment: string;
2444
+ }>, "many">;
2445
+ }, "strict", z.ZodTypeAny, {
2446
+ received: {
2447
+ id: string;
2448
+ balance: string | number;
2449
+ payment: string;
2450
+ }[];
2451
+ balance: string | number;
2452
+ token_type: string;
2453
+ }, {
2454
+ received: {
2455
+ id: string;
2456
+ balance: string | number;
2457
+ payment: string;
2458
+ }[];
2459
+ balance: string | number;
2460
+ token_type: string;
2461
+ }>, z.ZodLiteral<"recently">]>>;
2462
+ owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2463
+ id: z.ZodString;
2464
+ type: z.ZodString;
2465
+ }, "strict", z.ZodTypeAny, {
2466
+ type: string;
2467
+ id: string;
2468
+ }, {
2469
+ type: string;
2470
+ id: string;
2471
+ }>, "many">, z.ZodObject<{
2472
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2473
+ token_type: z.ZodEffects<z.ZodString, string, string>;
2474
+ received: z.ZodArray<z.ZodObject<{
2475
+ id: z.ZodString;
2476
+ balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2477
+ payment: z.ZodString;
2478
+ }, "strict", z.ZodTypeAny, {
2479
+ id: string;
2480
+ balance: string | number;
2481
+ payment: string;
2482
+ }, {
2483
+ id: string;
2484
+ balance: string | number;
2485
+ payment: string;
2486
+ }>, "many">;
2487
+ }, "strict", z.ZodTypeAny, {
2488
+ received: {
2489
+ id: string;
2490
+ balance: string | number;
2491
+ payment: string;
2492
+ }[];
2493
+ balance: string | number;
2494
+ token_type: string;
2495
+ }, {
2496
+ received: {
2497
+ id: string;
2498
+ balance: string | number;
2499
+ payment: string;
2500
+ }[];
2501
+ balance: string | number;
2502
+ token_type: string;
2503
+ }>, z.ZodLiteral<"recently">]>>;
2504
+ um: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2505
+ name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2506
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2507
+ onChain: z.ZodOptional<z.ZodBoolean>;
2508
+ replaceExistName: z.ZodOptional<z.ZodBoolean>;
2509
+ }, "strict", z.ZodTypeAny, {
2510
+ name?: string | undefined;
2511
+ replaceExistName?: boolean | undefined;
2512
+ tags?: string[] | undefined;
2513
+ onChain?: boolean | undefined;
2514
+ }, {
2515
+ name?: string | undefined;
2516
+ replaceExistName?: boolean | undefined;
2517
+ tags?: string[] | undefined;
2518
+ onChain?: boolean | undefined;
2519
+ }>, z.ZodNull]>>;
2520
+ pause: z.ZodOptional<z.ZodBoolean>;
2521
+ publish: z.ZodOptional<z.ZodBoolean>;
2522
+ }, "strict", z.ZodTypeAny, {
2523
+ object: string | {
2524
+ type_parameter: string;
2525
+ name?: string | undefined;
2526
+ replaceExistName?: boolean | undefined;
2527
+ tags?: string[] | undefined;
2528
+ onChain?: boolean | undefined;
2529
+ permission?: string | {
2530
+ name?: string | undefined;
2531
+ replaceExistName?: boolean | undefined;
2532
+ tags?: string[] | undefined;
2533
+ description?: string | undefined;
2534
+ onChain?: boolean | undefined;
2535
+ } | undefined;
2536
+ };
2537
+ description?: string | undefined;
2538
+ location?: string | undefined;
2539
+ owner_receive?: {
2540
+ received: {
2541
+ id: string;
2542
+ balance: string | number;
2543
+ payment: string;
2544
+ }[];
2545
+ balance: string | number;
2546
+ token_type: string;
2547
+ } | "recently" | {
2548
+ type: string;
2549
+ id: string;
2550
+ }[] | undefined;
2551
+ rewards?: {
2552
+ op: "set" | "add";
2553
+ objects: string[];
2554
+ } | {
2555
+ op: "remove";
2556
+ objects: string[];
2557
+ } | {
2558
+ op: "clear";
2559
+ } | undefined;
2560
+ um?: {
2561
+ name?: string | undefined;
2562
+ replaceExistName?: boolean | undefined;
2563
+ tags?: string[] | undefined;
2564
+ onChain?: boolean | undefined;
2565
+ } | null | undefined;
2566
+ discount?: {
2567
+ [x: string]: any;
2568
+ name?: unknown;
2569
+ discount_type?: unknown;
2570
+ discount_value?: unknown;
2571
+ benchmark?: unknown;
2572
+ time_ms_start?: unknown;
2573
+ time_ms_end?: unknown;
2574
+ count?: unknown;
2575
+ recipient?: unknown;
2576
+ transferable?: unknown;
2577
+ } | undefined;
2578
+ machine?: {
2579
+ name?: string | undefined;
2580
+ replaceExistName?: boolean | undefined;
2581
+ tags?: string[] | undefined;
2582
+ onChain?: boolean | undefined;
2583
+ } | null | undefined;
2584
+ sales?: {
2585
+ op: "add";
2586
+ sales: {
2587
+ name: string;
2588
+ wip: string;
2589
+ price: string | number;
2590
+ stock: string | number;
2591
+ suspension: boolean;
2592
+ wip_hash: string;
2593
+ }[];
2594
+ } | {
2595
+ op: "set";
2596
+ sales: {
2597
+ name: string;
2598
+ wip: string;
2599
+ price: string | number;
2600
+ stock: string | number;
2601
+ suspension: boolean;
2602
+ wip_hash: string;
2603
+ }[];
2604
+ } | {
2605
+ op: "remove";
2606
+ sales_name: string[];
2607
+ } | {
2608
+ op: "clear";
2609
+ } | undefined;
2610
+ repositories?: {
2611
+ op: "set" | "add";
2612
+ objects: string[];
2613
+ } | {
2614
+ op: "remove";
2615
+ objects: string[];
2616
+ } | {
2617
+ op: "clear";
2618
+ } | undefined;
2619
+ customer_required?: string[] | undefined;
2620
+ arbitrations?: {
2621
+ op: "set" | "add";
2622
+ objects: string[];
2623
+ } | {
2624
+ op: "remove";
2625
+ objects: string[];
2626
+ } | {
2627
+ op: "clear";
2628
+ } | undefined;
2629
+ order_allocators?: {
2630
+ description: string;
2631
+ threshold: string | number;
2632
+ allocators: {
2633
+ guard: string;
2634
+ sharing: {
2635
+ who: {
2636
+ GuardIdentifier: number;
2637
+ } | {
2638
+ Entity: {
2639
+ name_or_address?: string | undefined;
2640
+ local_mark_first?: boolean | undefined;
2641
+ };
2642
+ } | {
2643
+ Signer: "signer";
2644
+ };
2645
+ sharing: string | number;
2646
+ mode: "Amount" | "Rate" | "Surplus";
2647
+ }[];
2648
+ max?: string | number | null | undefined;
2649
+ fix?: string | number | undefined;
2650
+ }[];
2651
+ } | null | undefined;
2652
+ pause?: boolean | undefined;
2653
+ publish?: boolean | undefined;
2654
+ order_new?: {
2655
+ buy: {
2656
+ items: {
2657
+ name: string;
2658
+ stock: string | number;
2659
+ wip_hash: string;
2660
+ }[];
2661
+ total_pay: {
2662
+ balance: string | number;
2663
+ } | {
2664
+ coin: string;
2665
+ };
2666
+ discount?: string | undefined;
2667
+ payment_remark?: string | undefined;
2668
+ payment_index?: number | undefined;
2669
+ };
2670
+ order_required_info: string;
2671
+ transfer?: {
2672
+ name_or_address?: string | undefined;
2673
+ local_mark_first?: boolean | undefined;
2674
+ } | undefined;
2675
+ agents?: {
2676
+ entities: {
2677
+ name_or_address?: string | undefined;
2678
+ local_mark_first?: boolean | undefined;
2679
+ }[];
2680
+ check_all_founded?: boolean | undefined;
2681
+ } | undefined;
2682
+ namedNewOrder?: {
2683
+ name?: string | undefined;
2684
+ replaceExistName?: boolean | undefined;
2685
+ tags?: string[] | undefined;
2686
+ onChain?: boolean | undefined;
2687
+ } | undefined;
2688
+ namedNewAllocation?: {
2689
+ name?: string | undefined;
2690
+ replaceExistName?: boolean | undefined;
2691
+ tags?: string[] | undefined;
2692
+ onChain?: boolean | undefined;
2693
+ } | undefined;
2694
+ namedNewProgress?: {
2695
+ name?: string | undefined;
2696
+ replaceExistName?: boolean | undefined;
2697
+ tags?: string[] | undefined;
2698
+ onChain?: boolean | undefined;
2699
+ } | undefined;
2700
+ } | undefined;
2701
+ discount_destroy?: {
2702
+ name?: string | undefined;
2703
+ replaceExistName?: boolean | undefined;
2704
+ tags?: string[] | undefined;
2705
+ onChain?: boolean | undefined;
2706
+ }[] | undefined;
2707
+ compensation_fund_add?: {
2708
+ balance: string | number;
2709
+ } | {
2710
+ coin: string;
2711
+ } | undefined;
2712
+ compensation_locked_time_add?: number | undefined;
2713
+ compensation_fund_receive?: {
2714
+ received: {
2715
+ id: string;
2716
+ balance: string | number;
2717
+ payment: string;
2718
+ }[];
2719
+ balance: string | number;
2720
+ token_type: string;
2721
+ } | "recently" | undefined;
2722
+ }, {
2723
+ object: string | {
2724
+ name?: string | undefined;
2725
+ replaceExistName?: boolean | undefined;
2726
+ tags?: string[] | undefined;
2727
+ onChain?: boolean | undefined;
2728
+ type_parameter?: string | undefined;
2729
+ permission?: string | {
2730
+ name?: string | undefined;
2731
+ replaceExistName?: boolean | undefined;
2732
+ tags?: string[] | undefined;
2733
+ description?: string | undefined;
2734
+ onChain?: boolean | undefined;
2735
+ } | undefined;
2736
+ };
2737
+ description?: string | undefined;
2738
+ location?: string | undefined;
2739
+ owner_receive?: {
2740
+ received: {
2741
+ id: string;
2742
+ balance: string | number;
2743
+ payment: string;
2744
+ }[];
2745
+ balance: string | number;
2746
+ token_type: string;
2747
+ } | "recently" | {
2748
+ type: string;
2749
+ id: string;
2750
+ }[] | undefined;
2751
+ rewards?: {
2752
+ op: "set" | "add";
2753
+ objects: string[];
2754
+ } | {
2755
+ op: "remove";
2756
+ objects: string[];
2757
+ } | {
2758
+ op: "clear";
2759
+ } | undefined;
2760
+ um?: {
2761
+ name?: string | undefined;
2762
+ replaceExistName?: boolean | undefined;
2763
+ tags?: string[] | undefined;
2764
+ onChain?: boolean | undefined;
2765
+ } | null | undefined;
2766
+ discount?: {
2767
+ [x: string]: any;
2768
+ name?: unknown;
2769
+ discount_type?: unknown;
2770
+ discount_value?: unknown;
2771
+ benchmark?: unknown;
2772
+ time_ms_start?: unknown;
2773
+ time_ms_end?: unknown;
2774
+ count?: unknown;
2775
+ recipient?: unknown;
2776
+ transferable?: unknown;
2777
+ } | undefined;
2778
+ machine?: {
2779
+ name?: string | undefined;
2780
+ replaceExistName?: boolean | undefined;
2781
+ tags?: string[] | undefined;
2782
+ onChain?: boolean | undefined;
2783
+ } | null | undefined;
2784
+ sales?: {
2785
+ op: "add";
2786
+ sales: {
2787
+ name: string;
2788
+ wip: string;
2789
+ price: string | number;
2790
+ stock: string | number;
2791
+ suspension: boolean;
2792
+ wip_hash: string;
2793
+ }[];
2794
+ } | {
2795
+ op: "set";
2796
+ sales: {
2797
+ name: string;
2798
+ wip: string;
2799
+ price: string | number;
2800
+ stock: string | number;
2801
+ suspension: boolean;
2802
+ wip_hash: string;
2803
+ }[];
2804
+ } | {
2805
+ op: "remove";
2806
+ sales_name: string[];
2807
+ } | {
2808
+ op: "clear";
2809
+ } | undefined;
2810
+ repositories?: {
2811
+ op: "set" | "add";
2812
+ objects: string[];
2813
+ } | {
2814
+ op: "remove";
2815
+ objects: string[];
2816
+ } | {
2817
+ op: "clear";
2818
+ } | undefined;
2819
+ customer_required?: string[] | undefined;
2820
+ arbitrations?: {
2821
+ op: "set" | "add";
2822
+ objects: string[];
2823
+ } | {
2824
+ op: "remove";
2825
+ objects: string[];
2826
+ } | {
2827
+ op: "clear";
2828
+ } | undefined;
2829
+ order_allocators?: {
2830
+ description: string;
2831
+ threshold: string | number;
2832
+ allocators: {
2833
+ guard: string;
2834
+ sharing: {
2835
+ who: {
2836
+ GuardIdentifier: number;
2837
+ } | {
2838
+ Entity: {
2839
+ name_or_address?: string | undefined;
2840
+ local_mark_first?: boolean | undefined;
2841
+ };
2842
+ } | {
2843
+ Signer: "signer";
2844
+ };
2845
+ sharing: string | number;
2846
+ mode: "Amount" | "Rate" | "Surplus";
2847
+ }[];
2848
+ max?: string | number | null | undefined;
2849
+ fix?: string | number | undefined;
2850
+ }[];
2851
+ } | null | undefined;
2852
+ pause?: boolean | undefined;
2853
+ publish?: boolean | undefined;
2854
+ order_new?: {
2855
+ buy: {
2856
+ items: {
2857
+ name: string;
2858
+ stock: string | number;
2859
+ wip_hash: string;
2860
+ }[];
2861
+ total_pay: {
2862
+ balance: string | number;
2863
+ } | {
2864
+ coin: string;
2865
+ };
2866
+ discount?: string | undefined;
2867
+ payment_remark?: string | undefined;
2868
+ payment_index?: number | undefined;
2869
+ };
2870
+ order_required_info: string;
2871
+ transfer?: {
2872
+ name_or_address?: string | undefined;
2873
+ local_mark_first?: boolean | undefined;
2874
+ } | undefined;
2875
+ agents?: {
2876
+ entities: {
2877
+ name_or_address?: string | undefined;
2878
+ local_mark_first?: boolean | undefined;
2879
+ }[];
2880
+ check_all_founded?: boolean | undefined;
2881
+ } | undefined;
2882
+ namedNewOrder?: {
2883
+ name?: string | undefined;
2884
+ replaceExistName?: boolean | undefined;
2885
+ tags?: string[] | undefined;
2886
+ onChain?: boolean | undefined;
2887
+ } | undefined;
2888
+ namedNewAllocation?: {
2889
+ name?: string | undefined;
2890
+ replaceExistName?: boolean | undefined;
2891
+ tags?: string[] | undefined;
2892
+ onChain?: boolean | undefined;
2893
+ } | undefined;
2894
+ namedNewProgress?: {
2895
+ name?: string | undefined;
2896
+ replaceExistName?: boolean | undefined;
2897
+ tags?: string[] | undefined;
2898
+ onChain?: boolean | undefined;
2899
+ } | undefined;
2900
+ } | undefined;
2901
+ discount_destroy?: {
2902
+ name?: string | undefined;
2903
+ replaceExistName?: boolean | undefined;
2904
+ tags?: string[] | undefined;
2905
+ onChain?: boolean | undefined;
2906
+ }[] | undefined;
2907
+ compensation_fund_add?: {
2908
+ balance: string | number;
2909
+ } | {
2910
+ coin: string;
2911
+ } | undefined;
2912
+ compensation_locked_time_add?: number | undefined;
2913
+ compensation_fund_receive?: {
2914
+ received: {
2915
+ id: string;
2916
+ balance: string | number;
2917
+ payment: string;
2918
+ }[];
2919
+ balance: string | number;
2920
+ token_type: string;
2921
+ } | "recently" | undefined;
2922
+ }>;
2923
+ env: z.ZodOptional<z.ZodObject<{
2924
+ account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2925
+ permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2926
+ no_cache: z.ZodOptional<z.ZodBoolean>;
2927
+ network: z.ZodOptional<z.ZodEnum<any>>;
2928
+ referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2929
+ }, "strict", z.ZodTypeAny, {
2930
+ [x: string]: any;
2931
+ account?: unknown;
2932
+ permission_guard?: unknown;
2933
+ no_cache?: unknown;
2934
+ network?: unknown;
2935
+ referrer?: unknown;
2936
+ }, {
2937
+ [x: string]: any;
2938
+ account?: unknown;
2939
+ permission_guard?: unknown;
2940
+ no_cache?: unknown;
2941
+ network?: unknown;
2942
+ referrer?: unknown;
2943
+ }>>;
2944
+ submission: z.ZodOptional<z.ZodObject<{
2945
+ type: z.ZodLiteral<"submission">;
2946
+ guard: z.ZodArray<z.ZodObject<{
2947
+ object: z.ZodEffects<z.ZodString, string, string>;
2948
+ impack: z.ZodBoolean;
2949
+ }, "strict", z.ZodTypeAny, {
2950
+ object: string;
2951
+ impack: boolean;
2952
+ }, {
2953
+ object: string;
2954
+ impack: boolean;
2955
+ }>, "many">;
2956
+ submission: z.ZodArray<z.ZodObject<{
2957
+ guard: z.ZodEffects<z.ZodString, string, string>;
2958
+ submission: z.ZodArray<z.ZodObject<{
2959
+ identifier: z.ZodNumber;
2960
+ b_submission: z.ZodBoolean;
2961
+ value_type: z.ZodUnion<[z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<any>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
2962
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
2963
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2964
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2965
+ }, "strict", z.ZodTypeAny, {
2966
+ name_or_address?: string | undefined;
2967
+ local_mark_first?: boolean | undefined;
2968
+ }, {
2969
+ name_or_address?: string | undefined;
2970
+ local_mark_first?: boolean | undefined;
2971
+ }>, z.ZodString]>, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodBoolean, "many">, z.ZodUnion<[z.ZodObject<{
2972
+ entities: z.ZodArray<z.ZodObject<{
2973
+ name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2974
+ local_mark_first: z.ZodOptional<z.ZodBoolean>;
2975
+ }, "strict", z.ZodTypeAny, {
2976
+ name_or_address?: string | undefined;
2977
+ local_mark_first?: boolean | undefined;
2978
+ }, {
2979
+ name_or_address?: string | undefined;
2980
+ local_mark_first?: boolean | undefined;
2981
+ }>, "many">;
2982
+ check_all_founded: z.ZodOptional<z.ZodBoolean>;
2983
+ }, "strict", z.ZodTypeAny, {
2984
+ entities: {
2985
+ name_or_address?: string | undefined;
2986
+ local_mark_first?: boolean | undefined;
2987
+ }[];
2988
+ check_all_founded?: boolean | undefined;
2989
+ }, {
2990
+ entities: {
2991
+ name_or_address?: string | undefined;
2992
+ local_mark_first?: boolean | undefined;
2993
+ }[];
2994
+ check_all_founded?: boolean | undefined;
2995
+ }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>>;
2996
+ name: z.ZodDefault<z.ZodString>;
2997
+ } & {
2998
+ object_type: z.ZodOptional<z.ZodEnum<any>>;
2999
+ }, "strict", z.ZodTypeAny, {
3000
+ [x: string]: any;
3001
+ identifier?: unknown;
3002
+ b_submission?: unknown;
3003
+ value_type?: unknown;
3004
+ value?: unknown;
3005
+ name?: unknown;
3006
+ object_type?: unknown;
3007
+ }, {
3008
+ [x: string]: any;
3009
+ identifier?: unknown;
3010
+ b_submission?: unknown;
3011
+ value_type?: unknown;
3012
+ value?: unknown;
3013
+ name?: unknown;
3014
+ object_type?: unknown;
3015
+ }>, "many">;
3016
+ }, "strict", z.ZodTypeAny, {
3017
+ guard: string;
3018
+ submission: {
3019
+ [x: string]: any;
3020
+ identifier?: unknown;
3021
+ b_submission?: unknown;
3022
+ value_type?: unknown;
3023
+ value?: unknown;
3024
+ name?: unknown;
3025
+ object_type?: unknown;
3026
+ }[];
3027
+ }, {
3028
+ guard: string;
3029
+ submission: {
3030
+ [x: string]: any;
3031
+ identifier?: unknown;
3032
+ b_submission?: unknown;
3033
+ value_type?: unknown;
3034
+ value?: unknown;
3035
+ name?: unknown;
3036
+ object_type?: unknown;
3037
+ }[];
3038
+ }>, "many">;
3039
+ }, "strict", z.ZodTypeAny, {
3040
+ type: "submission";
3041
+ guard: {
3042
+ object: string;
3043
+ impack: boolean;
3044
+ }[];
3045
+ submission: {
3046
+ guard: string;
3047
+ submission: {
3048
+ [x: string]: any;
3049
+ identifier?: unknown;
3050
+ b_submission?: unknown;
3051
+ value_type?: unknown;
3052
+ value?: unknown;
3053
+ name?: unknown;
3054
+ object_type?: unknown;
3055
+ }[];
3056
+ }[];
3057
+ }, {
3058
+ type: "submission";
3059
+ guard: {
3060
+ object: string;
3061
+ impack: boolean;
3062
+ }[];
3063
+ submission: {
3064
+ guard: string;
3065
+ submission: {
3066
+ [x: string]: any;
3067
+ identifier?: unknown;
3068
+ b_submission?: unknown;
3069
+ value_type?: unknown;
3070
+ value?: unknown;
3071
+ name?: unknown;
3072
+ object_type?: unknown;
3073
+ }[];
3074
+ }[];
3075
+ }>>;
3076
+ }, "strict", z.ZodTypeAny, {
3077
+ data: {
3078
+ object: string | {
3079
+ type_parameter: string;
3080
+ name?: string | undefined;
3081
+ replaceExistName?: boolean | undefined;
3082
+ tags?: string[] | undefined;
3083
+ onChain?: boolean | undefined;
3084
+ permission?: string | {
3085
+ name?: string | undefined;
3086
+ replaceExistName?: boolean | undefined;
3087
+ tags?: string[] | undefined;
3088
+ description?: string | undefined;
3089
+ onChain?: boolean | undefined;
3090
+ } | undefined;
3091
+ };
3092
+ description?: string | undefined;
3093
+ location?: string | undefined;
3094
+ owner_receive?: {
3095
+ received: {
3096
+ id: string;
3097
+ balance: string | number;
3098
+ payment: string;
3099
+ }[];
3100
+ balance: string | number;
3101
+ token_type: string;
3102
+ } | "recently" | {
3103
+ type: string;
3104
+ id: string;
3105
+ }[] | undefined;
3106
+ rewards?: {
3107
+ op: "set" | "add";
3108
+ objects: string[];
3109
+ } | {
3110
+ op: "remove";
3111
+ objects: string[];
3112
+ } | {
3113
+ op: "clear";
3114
+ } | undefined;
3115
+ um?: {
3116
+ name?: string | undefined;
3117
+ replaceExistName?: boolean | undefined;
3118
+ tags?: string[] | undefined;
3119
+ onChain?: boolean | undefined;
3120
+ } | null | undefined;
3121
+ discount?: {
3122
+ [x: string]: any;
3123
+ name?: unknown;
3124
+ discount_type?: unknown;
3125
+ discount_value?: unknown;
3126
+ benchmark?: unknown;
3127
+ time_ms_start?: unknown;
3128
+ time_ms_end?: unknown;
3129
+ count?: unknown;
3130
+ recipient?: unknown;
3131
+ transferable?: unknown;
3132
+ } | undefined;
3133
+ machine?: {
3134
+ name?: string | undefined;
3135
+ replaceExistName?: boolean | undefined;
3136
+ tags?: string[] | undefined;
3137
+ onChain?: boolean | undefined;
3138
+ } | null | undefined;
3139
+ sales?: {
3140
+ op: "add";
3141
+ sales: {
3142
+ name: string;
3143
+ wip: string;
3144
+ price: string | number;
3145
+ stock: string | number;
3146
+ suspension: boolean;
3147
+ wip_hash: string;
3148
+ }[];
3149
+ } | {
3150
+ op: "set";
3151
+ sales: {
3152
+ name: string;
3153
+ wip: string;
3154
+ price: string | number;
3155
+ stock: string | number;
3156
+ suspension: boolean;
3157
+ wip_hash: string;
3158
+ }[];
3159
+ } | {
3160
+ op: "remove";
3161
+ sales_name: string[];
3162
+ } | {
3163
+ op: "clear";
3164
+ } | undefined;
3165
+ repositories?: {
3166
+ op: "set" | "add";
3167
+ objects: string[];
3168
+ } | {
3169
+ op: "remove";
3170
+ objects: string[];
3171
+ } | {
3172
+ op: "clear";
3173
+ } | undefined;
3174
+ customer_required?: string[] | undefined;
3175
+ arbitrations?: {
3176
+ op: "set" | "add";
3177
+ objects: string[];
3178
+ } | {
3179
+ op: "remove";
3180
+ objects: string[];
3181
+ } | {
3182
+ op: "clear";
3183
+ } | undefined;
3184
+ order_allocators?: {
3185
+ description: string;
3186
+ threshold: string | number;
3187
+ allocators: {
3188
+ guard: string;
3189
+ sharing: {
3190
+ who: {
3191
+ GuardIdentifier: number;
3192
+ } | {
3193
+ Entity: {
3194
+ name_or_address?: string | undefined;
3195
+ local_mark_first?: boolean | undefined;
3196
+ };
3197
+ } | {
3198
+ Signer: "signer";
3199
+ };
3200
+ sharing: string | number;
3201
+ mode: "Amount" | "Rate" | "Surplus";
3202
+ }[];
3203
+ max?: string | number | null | undefined;
3204
+ fix?: string | number | undefined;
3205
+ }[];
3206
+ } | null | undefined;
3207
+ pause?: boolean | undefined;
3208
+ publish?: boolean | undefined;
3209
+ order_new?: {
3210
+ buy: {
3211
+ items: {
3212
+ name: string;
3213
+ stock: string | number;
3214
+ wip_hash: string;
3215
+ }[];
3216
+ total_pay: {
3217
+ balance: string | number;
3218
+ } | {
3219
+ coin: string;
3220
+ };
3221
+ discount?: string | undefined;
3222
+ payment_remark?: string | undefined;
3223
+ payment_index?: number | undefined;
3224
+ };
3225
+ order_required_info: string;
3226
+ transfer?: {
3227
+ name_or_address?: string | undefined;
3228
+ local_mark_first?: boolean | undefined;
3229
+ } | undefined;
3230
+ agents?: {
3231
+ entities: {
3232
+ name_or_address?: string | undefined;
3233
+ local_mark_first?: boolean | undefined;
3234
+ }[];
3235
+ check_all_founded?: boolean | undefined;
3236
+ } | undefined;
3237
+ namedNewOrder?: {
3238
+ name?: string | undefined;
3239
+ replaceExistName?: boolean | undefined;
3240
+ tags?: string[] | undefined;
3241
+ onChain?: boolean | undefined;
3242
+ } | undefined;
3243
+ namedNewAllocation?: {
3244
+ name?: string | undefined;
3245
+ replaceExistName?: boolean | undefined;
3246
+ tags?: string[] | undefined;
3247
+ onChain?: boolean | undefined;
3248
+ } | undefined;
3249
+ namedNewProgress?: {
3250
+ name?: string | undefined;
3251
+ replaceExistName?: boolean | undefined;
3252
+ tags?: string[] | undefined;
3253
+ onChain?: boolean | undefined;
3254
+ } | undefined;
3255
+ } | undefined;
3256
+ discount_destroy?: {
3257
+ name?: string | undefined;
3258
+ replaceExistName?: boolean | undefined;
3259
+ tags?: string[] | undefined;
3260
+ onChain?: boolean | undefined;
3261
+ }[] | undefined;
3262
+ compensation_fund_add?: {
3263
+ balance: string | number;
3264
+ } | {
3265
+ coin: string;
3266
+ } | undefined;
3267
+ compensation_locked_time_add?: number | undefined;
3268
+ compensation_fund_receive?: {
3269
+ received: {
3270
+ id: string;
3271
+ balance: string | number;
3272
+ payment: string;
3273
+ }[];
3274
+ balance: string | number;
3275
+ token_type: string;
3276
+ } | "recently" | undefined;
3277
+ };
3278
+ submission?: {
3279
+ type: "submission";
3280
+ guard: {
3281
+ object: string;
3282
+ impack: boolean;
3283
+ }[];
3284
+ submission: {
3285
+ guard: string;
3286
+ submission: {
3287
+ [x: string]: any;
3288
+ identifier?: unknown;
3289
+ b_submission?: unknown;
3290
+ value_type?: unknown;
3291
+ value?: unknown;
3292
+ name?: unknown;
3293
+ object_type?: unknown;
3294
+ }[];
3295
+ }[];
3296
+ } | undefined;
3297
+ env?: {
3298
+ [x: string]: any;
3299
+ account?: unknown;
3300
+ permission_guard?: unknown;
3301
+ no_cache?: unknown;
3302
+ network?: unknown;
3303
+ referrer?: unknown;
3304
+ } | undefined;
3305
+ }, {
3306
+ data: {
3307
+ object: string | {
3308
+ name?: string | undefined;
3309
+ replaceExistName?: boolean | undefined;
3310
+ tags?: string[] | undefined;
3311
+ onChain?: boolean | undefined;
3312
+ type_parameter?: string | undefined;
3313
+ permission?: string | {
3314
+ name?: string | undefined;
3315
+ replaceExistName?: boolean | undefined;
3316
+ tags?: string[] | undefined;
3317
+ description?: string | undefined;
3318
+ onChain?: boolean | undefined;
3319
+ } | undefined;
3320
+ };
3321
+ description?: string | undefined;
3322
+ location?: string | undefined;
3323
+ owner_receive?: {
3324
+ received: {
3325
+ id: string;
3326
+ balance: string | number;
3327
+ payment: string;
3328
+ }[];
3329
+ balance: string | number;
3330
+ token_type: string;
3331
+ } | "recently" | {
3332
+ type: string;
3333
+ id: string;
3334
+ }[] | undefined;
3335
+ rewards?: {
3336
+ op: "set" | "add";
3337
+ objects: string[];
3338
+ } | {
3339
+ op: "remove";
3340
+ objects: string[];
3341
+ } | {
3342
+ op: "clear";
3343
+ } | undefined;
3344
+ um?: {
3345
+ name?: string | undefined;
3346
+ replaceExistName?: boolean | undefined;
3347
+ tags?: string[] | undefined;
3348
+ onChain?: boolean | undefined;
3349
+ } | null | undefined;
3350
+ discount?: {
3351
+ [x: string]: any;
3352
+ name?: unknown;
3353
+ discount_type?: unknown;
3354
+ discount_value?: unknown;
3355
+ benchmark?: unknown;
3356
+ time_ms_start?: unknown;
3357
+ time_ms_end?: unknown;
3358
+ count?: unknown;
3359
+ recipient?: unknown;
3360
+ transferable?: unknown;
3361
+ } | undefined;
3362
+ machine?: {
3363
+ name?: string | undefined;
3364
+ replaceExistName?: boolean | undefined;
3365
+ tags?: string[] | undefined;
3366
+ onChain?: boolean | undefined;
3367
+ } | null | undefined;
3368
+ sales?: {
3369
+ op: "add";
3370
+ sales: {
3371
+ name: string;
3372
+ wip: string;
3373
+ price: string | number;
3374
+ stock: string | number;
3375
+ suspension: boolean;
3376
+ wip_hash: string;
3377
+ }[];
3378
+ } | {
3379
+ op: "set";
3380
+ sales: {
3381
+ name: string;
3382
+ wip: string;
3383
+ price: string | number;
3384
+ stock: string | number;
3385
+ suspension: boolean;
3386
+ wip_hash: string;
3387
+ }[];
3388
+ } | {
3389
+ op: "remove";
3390
+ sales_name: string[];
3391
+ } | {
3392
+ op: "clear";
3393
+ } | undefined;
3394
+ repositories?: {
3395
+ op: "set" | "add";
3396
+ objects: string[];
3397
+ } | {
3398
+ op: "remove";
3399
+ objects: string[];
3400
+ } | {
3401
+ op: "clear";
3402
+ } | undefined;
3403
+ customer_required?: string[] | undefined;
3404
+ arbitrations?: {
3405
+ op: "set" | "add";
3406
+ objects: string[];
3407
+ } | {
3408
+ op: "remove";
3409
+ objects: string[];
3410
+ } | {
3411
+ op: "clear";
3412
+ } | undefined;
3413
+ order_allocators?: {
3414
+ description: string;
3415
+ threshold: string | number;
3416
+ allocators: {
3417
+ guard: string;
3418
+ sharing: {
3419
+ who: {
3420
+ GuardIdentifier: number;
3421
+ } | {
3422
+ Entity: {
3423
+ name_or_address?: string | undefined;
3424
+ local_mark_first?: boolean | undefined;
3425
+ };
3426
+ } | {
3427
+ Signer: "signer";
3428
+ };
3429
+ sharing: string | number;
3430
+ mode: "Amount" | "Rate" | "Surplus";
3431
+ }[];
3432
+ max?: string | number | null | undefined;
3433
+ fix?: string | number | undefined;
3434
+ }[];
3435
+ } | null | undefined;
3436
+ pause?: boolean | undefined;
3437
+ publish?: boolean | undefined;
3438
+ order_new?: {
3439
+ buy: {
3440
+ items: {
3441
+ name: string;
3442
+ stock: string | number;
3443
+ wip_hash: string;
3444
+ }[];
3445
+ total_pay: {
3446
+ balance: string | number;
3447
+ } | {
3448
+ coin: string;
3449
+ };
3450
+ discount?: string | undefined;
3451
+ payment_remark?: string | undefined;
3452
+ payment_index?: number | undefined;
3453
+ };
3454
+ order_required_info: string;
3455
+ transfer?: {
3456
+ name_or_address?: string | undefined;
3457
+ local_mark_first?: boolean | undefined;
3458
+ } | undefined;
3459
+ agents?: {
3460
+ entities: {
3461
+ name_or_address?: string | undefined;
3462
+ local_mark_first?: boolean | undefined;
3463
+ }[];
3464
+ check_all_founded?: boolean | undefined;
3465
+ } | undefined;
3466
+ namedNewOrder?: {
3467
+ name?: string | undefined;
3468
+ replaceExistName?: boolean | undefined;
3469
+ tags?: string[] | undefined;
3470
+ onChain?: boolean | undefined;
3471
+ } | undefined;
3472
+ namedNewAllocation?: {
3473
+ name?: string | undefined;
3474
+ replaceExistName?: boolean | undefined;
3475
+ tags?: string[] | undefined;
3476
+ onChain?: boolean | undefined;
3477
+ } | undefined;
3478
+ namedNewProgress?: {
3479
+ name?: string | undefined;
3480
+ replaceExistName?: boolean | undefined;
3481
+ tags?: string[] | undefined;
3482
+ onChain?: boolean | undefined;
3483
+ } | undefined;
3484
+ } | undefined;
3485
+ discount_destroy?: {
3486
+ name?: string | undefined;
3487
+ replaceExistName?: boolean | undefined;
3488
+ tags?: string[] | undefined;
3489
+ onChain?: boolean | undefined;
3490
+ }[] | undefined;
3491
+ compensation_fund_add?: {
3492
+ balance: string | number;
3493
+ } | {
3494
+ coin: string;
3495
+ } | undefined;
3496
+ compensation_locked_time_add?: number | undefined;
3497
+ compensation_fund_receive?: {
3498
+ received: {
3499
+ id: string;
3500
+ balance: string | number;
3501
+ payment: string;
3502
+ }[];
3503
+ balance: string | number;
3504
+ token_type: string;
3505
+ } | "recently" | undefined;
3506
+ };
3507
+ submission?: {
3508
+ type: "submission";
3509
+ guard: {
3510
+ object: string;
3511
+ impack: boolean;
3512
+ }[];
3513
+ submission: {
3514
+ guard: string;
3515
+ submission: {
3516
+ [x: string]: any;
3517
+ identifier?: unknown;
3518
+ b_submission?: unknown;
3519
+ value_type?: unknown;
3520
+ value?: unknown;
3521
+ name?: unknown;
3522
+ object_type?: unknown;
3523
+ }[];
3524
+ }[];
3525
+ } | undefined;
3526
+ env?: {
3527
+ [x: string]: any;
3528
+ account?: unknown;
3529
+ permission_guard?: unknown;
3530
+ no_cache?: unknown;
3531
+ network?: unknown;
3532
+ referrer?: unknown;
3533
+ } | undefined;
3534
+ }>;