@wowok/agent-mcp 2.7.5 → 2.7.7
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.
- package/dist/project/evaluation-fix.spec.d.ts +1 -0
- package/dist/project/evaluation-fix.spec.js +1 -0
- package/dist/project/evaluation.js +1 -1
- package/dist/project/index.js +1 -1
- package/dist/project/rollback-policy.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +9 -0
- package/dist/schema/call/arbitration.d.ts +10 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +10 -0
- package/dist/schema/call/machine.d.ts +10 -0
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +3 -3
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/repository.d.ts +10 -0
- package/dist/schema/call/reward.d.ts +16 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +16 -0
- package/dist/schema/call/treasury.d.ts +16 -0
- package/dist/schema/common/index.d.ts +21 -0
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/operations.d.ts +68 -1
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/index.d.ts +5 -0
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +274 -7
- package/dist/schemas/onchain_operations_allocation.schema.json +12 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +20 -0
- package/dist/schemas/onchain_operations_contact.schema.json +20 -0
- package/dist/schemas/onchain_operations_demand.schema.json +20 -0
- package/dist/schemas/onchain_operations_machine.schema.json +20 -0
- package/dist/schemas/onchain_operations_order.schema.json +20 -0
- package/dist/schemas/onchain_operations_payment.schema.json +6 -7
- package/dist/schemas/onchain_operations_permission.schema.json +20 -0
- package/dist/schemas/onchain_operations_progress.schema.json +20 -0
- package/dist/schemas/onchain_operations_repository.schema.json +20 -0
- package/dist/schemas/onchain_operations_reward.schema.json +32 -0
- package/dist/schemas/onchain_operations_service.schema.json +32 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +32 -0
- package/dist/schemas/query_toolkit.output.json +20 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/package.json +2 -2
|
@@ -186,6 +186,8 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
|
|
|
186
186
|
id: z.ZodString;
|
|
187
187
|
type: z.ZodString;
|
|
188
188
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
189
|
+
version: z.ZodOptional<z.ZodString>;
|
|
190
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
189
191
|
}, z.core.$strict>>, z.ZodObject<{
|
|
190
192
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
191
193
|
token_type: z.ZodString;
|
|
@@ -193,6 +195,9 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
|
|
|
193
195
|
id: z.ZodString;
|
|
194
196
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
195
197
|
payment: z.ZodString;
|
|
198
|
+
type: z.ZodOptional<z.ZodString>;
|
|
199
|
+
version: z.ZodOptional<z.ZodString>;
|
|
200
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
196
201
|
}, z.core.$strict>>;
|
|
197
202
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
198
203
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -301,6 +306,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
|
|
|
301
306
|
id: z.ZodString;
|
|
302
307
|
type: z.ZodString;
|
|
303
308
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
309
|
+
version: z.ZodOptional<z.ZodString>;
|
|
310
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
304
311
|
}, z.core.$strict>>, z.ZodObject<{
|
|
305
312
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
306
313
|
token_type: z.ZodString;
|
|
@@ -308,6 +315,9 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
|
|
|
308
315
|
id: z.ZodString;
|
|
309
316
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
310
317
|
payment: z.ZodString;
|
|
318
|
+
type: z.ZodOptional<z.ZodString>;
|
|
319
|
+
version: z.ZodOptional<z.ZodString>;
|
|
320
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
311
321
|
}, z.core.$strict>>;
|
|
312
322
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
313
323
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -60,6 +60,8 @@ export declare const CallContact_DataSchema: z.ZodObject<{
|
|
|
60
60
|
id: z.ZodString;
|
|
61
61
|
type: z.ZodString;
|
|
62
62
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
63
|
+
version: z.ZodOptional<z.ZodString>;
|
|
64
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
63
65
|
}, z.core.$strict>>, z.ZodObject<{
|
|
64
66
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
65
67
|
token_type: z.ZodString;
|
|
@@ -67,6 +69,9 @@ export declare const CallContact_DataSchema: z.ZodObject<{
|
|
|
67
69
|
id: z.ZodString;
|
|
68
70
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
69
71
|
payment: z.ZodString;
|
|
72
|
+
type: z.ZodOptional<z.ZodString>;
|
|
73
|
+
version: z.ZodOptional<z.ZodString>;
|
|
74
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
70
75
|
}, z.core.$strict>>;
|
|
71
76
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
72
77
|
}, z.core.$strict>;
|
|
@@ -110,6 +115,8 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
110
115
|
id: z.ZodString;
|
|
111
116
|
type: z.ZodString;
|
|
112
117
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
118
|
+
version: z.ZodOptional<z.ZodString>;
|
|
119
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
113
120
|
}, z.core.$strict>>, z.ZodObject<{
|
|
114
121
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
115
122
|
token_type: z.ZodString;
|
|
@@ -117,6 +124,9 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
117
124
|
id: z.ZodString;
|
|
118
125
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
119
126
|
payment: z.ZodString;
|
|
127
|
+
type: z.ZodOptional<z.ZodString>;
|
|
128
|
+
version: z.ZodOptional<z.ZodString>;
|
|
129
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
120
130
|
}, z.core.$strict>>;
|
|
121
131
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
122
132
|
}, z.core.$strict>;
|
|
@@ -90,6 +90,8 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
|
|
|
90
90
|
id: z.ZodString;
|
|
91
91
|
type: z.ZodString;
|
|
92
92
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
93
|
+
version: z.ZodOptional<z.ZodString>;
|
|
94
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
93
95
|
}, z.core.$strict>>, z.ZodObject<{
|
|
94
96
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
95
97
|
token_type: z.ZodString;
|
|
@@ -97,6 +99,9 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
|
|
|
97
99
|
id: z.ZodString;
|
|
98
100
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
99
101
|
payment: z.ZodString;
|
|
102
|
+
type: z.ZodOptional<z.ZodString>;
|
|
103
|
+
version: z.ZodOptional<z.ZodString>;
|
|
104
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
100
105
|
}, z.core.$strict>>;
|
|
101
106
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
102
107
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -162,6 +167,8 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
162
167
|
id: z.ZodString;
|
|
163
168
|
type: z.ZodString;
|
|
164
169
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
170
|
+
version: z.ZodOptional<z.ZodString>;
|
|
171
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
165
172
|
}, z.core.$strict>>, z.ZodObject<{
|
|
166
173
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
167
174
|
token_type: z.ZodString;
|
|
@@ -169,6 +176,9 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
169
176
|
id: z.ZodString;
|
|
170
177
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
171
178
|
payment: z.ZodString;
|
|
179
|
+
type: z.ZodOptional<z.ZodString>;
|
|
180
|
+
version: z.ZodOptional<z.ZodString>;
|
|
181
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
172
182
|
}, z.core.$strict>>;
|
|
173
183
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
174
184
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -381,6 +381,8 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
381
381
|
id: z.ZodString;
|
|
382
382
|
type: z.ZodString;
|
|
383
383
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
384
|
+
version: z.ZodOptional<z.ZodString>;
|
|
385
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
384
386
|
}, z.core.$strict>>, z.ZodObject<{
|
|
385
387
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
386
388
|
token_type: z.ZodString;
|
|
@@ -388,6 +390,9 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
388
390
|
id: z.ZodString;
|
|
389
391
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
390
392
|
payment: z.ZodString;
|
|
393
|
+
type: z.ZodOptional<z.ZodString>;
|
|
394
|
+
version: z.ZodOptional<z.ZodString>;
|
|
395
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
391
396
|
}, z.core.$strict>>;
|
|
392
397
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
393
398
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -538,6 +543,8 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
538
543
|
id: z.ZodString;
|
|
539
544
|
type: z.ZodString;
|
|
540
545
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
546
|
+
version: z.ZodOptional<z.ZodString>;
|
|
547
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
541
548
|
}, z.core.$strict>>, z.ZodObject<{
|
|
542
549
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
543
550
|
token_type: z.ZodString;
|
|
@@ -545,6 +552,9 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
545
552
|
id: z.ZodString;
|
|
546
553
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
547
554
|
payment: z.ZodString;
|
|
555
|
+
type: z.ZodOptional<z.ZodString>;
|
|
556
|
+
version: z.ZodOptional<z.ZodString>;
|
|
557
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
548
558
|
}, z.core.$strict>>;
|
|
549
559
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
550
560
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -52,6 +52,8 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
52
52
|
id: z.ZodString;
|
|
53
53
|
type: z.ZodString;
|
|
54
54
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
55
|
+
version: z.ZodOptional<z.ZodString>;
|
|
56
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
55
57
|
}, z.core.$strict>>, z.ZodObject<{
|
|
56
58
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
57
59
|
token_type: z.ZodString;
|
|
@@ -59,6 +61,9 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
59
61
|
id: z.ZodString;
|
|
60
62
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
61
63
|
payment: z.ZodString;
|
|
64
|
+
type: z.ZodOptional<z.ZodString>;
|
|
65
|
+
version: z.ZodOptional<z.ZodString>;
|
|
66
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
62
67
|
}, z.core.$strict>>;
|
|
63
68
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
64
69
|
transfer_to: z.ZodOptional<z.ZodObject<{
|
|
@@ -107,6 +112,8 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
107
112
|
id: z.ZodString;
|
|
108
113
|
type: z.ZodString;
|
|
109
114
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
115
|
+
version: z.ZodOptional<z.ZodString>;
|
|
116
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
110
117
|
}, z.core.$strict>>, z.ZodObject<{
|
|
111
118
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
112
119
|
token_type: z.ZodString;
|
|
@@ -114,6 +121,9 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
114
121
|
id: z.ZodString;
|
|
115
122
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
116
123
|
payment: z.ZodString;
|
|
124
|
+
type: z.ZodOptional<z.ZodString>;
|
|
125
|
+
version: z.ZodOptional<z.ZodString>;
|
|
126
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
117
127
|
}, z.core.$strict>>;
|
|
118
128
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
119
129
|
transfer_to: z.ZodOptional<z.ZodObject<{
|
|
@@ -37,7 +37,7 @@ export declare const CallPayment_CreateSchema: z.ZodObject<{
|
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
}, z.core.$strict>;
|
|
39
39
|
export declare const CallPayment_ReceiveSchema: z.ZodObject<{
|
|
40
|
-
object: z.ZodString
|
|
40
|
+
object: z.ZodOptional<z.ZodString>;
|
|
41
41
|
receive: z.ZodLiteral<true>;
|
|
42
42
|
type_parameter: z.ZodOptional<z.ZodString>;
|
|
43
43
|
}, z.core.$strict>;
|
|
@@ -67,7 +67,7 @@ export declare const CallPayment_DataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
67
67
|
index: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
-
object: z.ZodString
|
|
70
|
+
object: z.ZodOptional<z.ZodString>;
|
|
71
71
|
receive: z.ZodLiteral<true>;
|
|
72
72
|
type_parameter: z.ZodOptional<z.ZodString>;
|
|
73
73
|
}, z.core.$strict>]>;
|
|
@@ -98,7 +98,7 @@ export declare const CallPayment_InputSchema: z.ZodObject<{
|
|
|
98
98
|
index: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
99
99
|
}, z.core.$strip>;
|
|
100
100
|
}, z.core.$strict>, z.ZodObject<{
|
|
101
|
-
object: z.ZodString
|
|
101
|
+
object: z.ZodOptional<z.ZodString>;
|
|
102
102
|
receive: z.ZodLiteral<true>;
|
|
103
103
|
type_parameter: z.ZodOptional<z.ZodString>;
|
|
104
104
|
}, z.core.$strict>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';import{PaymentInfoSchema}from'../query/index.js';import{CoinParamSchema,CallEnvSchema,TypeNamedObjectSchema}from'./base.js';import{AccountOrMark_AddressSchema,NameOrAddressSchema}from'../common/index.js';export const RevenueSchema=z['object']({'recipient':AccountOrMark_AddressSchema,'amount':CoinParamSchema})['strict']()['describe']('Payment\x20recipient\x20and\x20amount');export const CallPayment_CreateSchema=z['object']({'object':TypeNamedObjectSchema,'revenue':z['array'](RevenueSchema)['describe']('Array\x20of\x20payment\x20recipients\x20and\x20amounts'),'info':PaymentInfoSchema})['strict']()['describe']('Create\x20a\x20new\x20Payment.\x20USAGE:\x20Set\x20\x27object\x27\x20field\x20with\x20{name,\x20type,\x20...}\x20to\x20create\x20a\x20named\x20Payment.\x20NOTE:\x20\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20Payment\x20is\x20an\x20immutable\x20object\x20-\x20it\x20can\x20only\x20be\x20created,\x20not\x20modified.\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED.');export const CallPayment_ReceiveSchema=z['object']({'object':NameOrAddressSchema['describe']('CoinWrapper\x20object\x20ID\x20(0x...)\x20or\x20local\x20name\x20to\x20unwrap.\x20'+'Find\x20received\x20CoinWrappers\x20via\x20query_toolkit\x20with\x20query_type=\x27onchain_received\x27.'),'receive':z['literal'](!![])['describe']('Set\x20to\x20true\x20to\x20activate\x20receive\x20mode.\x20'+'CoinWrapper\x20objects\x20ARE\x20transferred\x20to\x20recipients\x20via\x20transfer::public_transfer\x20(they\x20arrive\x20as\x20owned\x20objects),\x20'+'but\x20they\x20are\x20NOT\x20spendable\x20coins.\x20This\x20mode\x20unwraps\x20a\x20CoinWrapper\x20into\x20actual\x20coins\x20in\x20your\x20wallet\x20'+'via\x20payment::unwrap_to_myself.\x20The\x20caller\x20must\x20be\x20the\x20CoinWrapper\x27s\x20owner\x20(the\x20recipient\x20'+'specified\x20in\x20the\x20Allocation\x27s\x20revenue\x20split).'),'type_parameter':z['string']()['optional']()['describe']('Coin\x20type\x20of\x20the\x20CoinWrapper,\x20e.g.\x20\x270x2::wow::WOW\x27.\x20'+'OPTIONAL:\x20when\x20omitted\x20it\x20is\x20auto-derived\x20from\x20the\x20CoinWrapper\x27s\x20own\x20on-chain\x20type\x20'+'(the\x20inner\x20T\x20of\x20`CoinWrapper<T>`),\x20so\x20{object,\x20receive:true}\x20alone\x20unwraps\x20to\x20spendable\x20coins.\x20'+'Only\x20provide\x20it\x20explicitly\x20when\x20auto-derivation\x20fails.')})['strict']()['describe']('Receive\x20mode:\x20unwrap\x20a\x20CoinWrapper\x20to\x20the\x20caller\x27s\x20wallet.\x20Use\x20after\x20Allocation\x27s\x20alloc_by_guard\x20creates\x20a\x20Payment\x20with\x20your\x20address\x20as\x20a\x20revenue\x20recipient.\x20The\x20CoinWrapper\x20holds\x20your\x20share\x20—\x20call\x20this\x20to\x20convert\x20it\x20to\x20actual\x20coins\x20in\x20your\x20wallet.');export const CallPayment_DataSchema=z['union']([CallPayment_CreateSchema,CallPayment_ReceiveSchema])['describe']('On-chain\x20Payment\x20operations.\x20TWO\x20modes:\x0a'+'(1)\x20CREATE:\x20Set\x20\x27object\x27\x20with\x20{name,\x20type_parameter,\x20...},\x20\x27revenue\x27,\x20and\x20\x27info\x27\x20to\x20create\x20a\x20new\x20Payment.\x0a'+'(2)\x20RECEIVE:\x20Set\x20{
|
|
1
|
+
import{z}from'zod';import{PaymentInfoSchema}from'../query/index.js';import{CoinParamSchema,CallEnvSchema,TypeNamedObjectSchema}from'./base.js';import{AccountOrMark_AddressSchema,NameOrAddressSchema}from'../common/index.js';export const RevenueSchema=z['object']({'recipient':AccountOrMark_AddressSchema,'amount':CoinParamSchema})['strict']()['describe']('Payment\x20recipient\x20and\x20amount');export const CallPayment_CreateSchema=z['object']({'object':TypeNamedObjectSchema,'revenue':z['array'](RevenueSchema)['describe']('Array\x20of\x20payment\x20recipients\x20and\x20amounts'),'info':PaymentInfoSchema})['strict']()['describe']('Create\x20a\x20new\x20Payment.\x20USAGE:\x20Set\x20\x27object\x27\x20field\x20with\x20{name,\x20type,\x20...}\x20to\x20create\x20a\x20named\x20Payment.\x20NOTE:\x20\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20Payment\x20is\x20an\x20immutable\x20object\x20-\x20it\x20can\x20only\x20be\x20created,\x20not\x20modified.\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED.');export const CallPayment_ReceiveSchema=z['object']({'object':NameOrAddressSchema['optional']()['describe']('CoinWrapper\x20object\x20ID\x20(0x...)\x20or\x20local\x20name\x20to\x20unwrap.\x20'+'OPTIONAL:\x20when\x20omitted,\x20AUTO-RECEIVE\x20mode\x20unwraps\x20EVERY\x20CoinWrapper\x20'+'currently\x20owned\x20by\x20the\x20caller\x20in\x20a\x20single\x20transaction\x20—\x20no\x20need\x20to\x20look\x20up\x20IDs\x20first.\x20'+'Find\x20received\x20CoinWrappers\x20via\x20query_toolkit\x20with\x20query_type=\x27onchain_received\x27.'),'receive':z['literal'](!![])['describe']('Set\x20to\x20true\x20to\x20activate\x20receive\x20mode.\x20'+'CoinWrapper\x20objects\x20ARE\x20transferred\x20to\x20recipients\x20via\x20transfer::public_transfer\x20(they\x20arrive\x20as\x20owned\x20objects),\x20'+'but\x20they\x20are\x20NOT\x20spendable\x20coins.\x20This\x20mode\x20unwraps\x20a\x20CoinWrapper\x20into\x20actual\x20coins\x20in\x20your\x20wallet\x20'+'via\x20payment::unwrap_to_myself.\x20The\x20caller\x20must\x20be\x20the\x20CoinWrapper\x27s\x20owner\x20(the\x20recipient\x20'+'specified\x20in\x20the\x20Allocation\x27s\x20revenue\x20split).\x20'+'When\x20\x27object\x27\x20is\x20omitted,\x20every\x20CoinWrapper\x20owned\x20by\x20the\x20caller\x20is\x20unwrapped\x20at\x20once.'),'type_parameter':z['string']()['optional']()['describe']('Coin\x20type\x20of\x20the\x20CoinWrapper,\x20e.g.\x20\x270x2::wow::WOW\x27.\x20'+'OPTIONAL:\x20when\x20omitted\x20it\x20is\x20auto-derived\x20from\x20the\x20CoinWrapper\x27s\x20own\x20on-chain\x20type\x20'+'(the\x20inner\x20T\x20of\x20`CoinWrapper<T>`),\x20so\x20{object,\x20receive:true}\x20alone\x20unwraps\x20to\x20spendable\x20coins.\x20'+'Only\x20provide\x20it\x20explicitly\x20when\x20auto-derivation\x20fails.\x20In\x20AUTO-RECEIVE\x20mode\x20(no\x20object)\x20'+'the\x20type\x20is\x20always\x20derived\x20per-wrapper.')})['strict']()['describe']('Receive\x20mode:\x20unwrap\x20a\x20CoinWrapper\x20to\x20the\x20caller\x27s\x20wallet.\x20Use\x20after\x20Allocation\x27s\x20alloc_by_guard\x20creates\x20a\x20Payment\x20with\x20your\x20address\x20as\x20a\x20revenue\x20recipient.\x20The\x20CoinWrapper\x20holds\x20your\x20share\x20—\x20call\x20this\x20to\x20convert\x20it\x20to\x20actual\x20coins\x20in\x20your\x20wallet.\x20Provide\x20\x27object\x27\x20to\x20unwrap\x20a\x20specific\x20CoinWrapper,\x20or\x20OMIT\x20it\x20to\x20auto-unwrap\x20every\x20CoinWrapper\x20owned\x20by\x20the\x20caller.');export const CallPayment_DataSchema=z['union']([CallPayment_CreateSchema,CallPayment_ReceiveSchema])['describe']('On-chain\x20Payment\x20operations.\x20TWO\x20modes:\x0a'+'(1)\x20CREATE:\x20Set\x20\x27object\x27\x20with\x20{name,\x20type_parameter,\x20...},\x20\x27revenue\x27,\x20and\x20\x27info\x27\x20to\x20create\x20a\x20new\x20Payment.\x0a'+'(2)\x20RECEIVE:\x20Set\x20{receive:\x20true}\x20to\x20unwrap\x20CoinWrappers\x20to\x20your\x20wallet.\x20Provide\x20\x27object\x27\x20(<coinwrapper_id_or_name>)\x20to\x20unwrap\x20a\x20specific\x20one,\x20or\x20OMIT\x20it\x20to\x20auto-unwrap\x20every\x20CoinWrapper\x20owned\x20by\x20the\x20caller.\x20type_parameter\x20optional\x20—\x20auto-derived\x20from\x20the\x20CoinWrapper\x27s\x20type.');export const CallPayment_InputSchema=z['object']({'data':CallPayment_DataSchema,'env':CallEnvSchema['optional']()})['strict']();
|
|
@@ -345,6 +345,8 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
|
|
|
345
345
|
id: z.ZodString;
|
|
346
346
|
type: z.ZodString;
|
|
347
347
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
348
|
+
version: z.ZodOptional<z.ZodString>;
|
|
349
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
348
350
|
}, z.core.$strict>>, z.ZodObject<{
|
|
349
351
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
350
352
|
token_type: z.ZodString;
|
|
@@ -352,6 +354,9 @@ export declare const CallPermission_DataSchema: z.ZodObject<{
|
|
|
352
354
|
id: z.ZodString;
|
|
353
355
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
354
356
|
payment: z.ZodString;
|
|
357
|
+
type: z.ZodOptional<z.ZodString>;
|
|
358
|
+
version: z.ZodOptional<z.ZodString>;
|
|
359
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
355
360
|
}, z.core.$strict>>;
|
|
356
361
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
357
362
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -487,6 +492,8 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
|
|
|
487
492
|
id: z.ZodString;
|
|
488
493
|
type: z.ZodString;
|
|
489
494
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
495
|
+
version: z.ZodOptional<z.ZodString>;
|
|
496
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
490
497
|
}, z.core.$strict>>, z.ZodObject<{
|
|
491
498
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
492
499
|
token_type: z.ZodString;
|
|
@@ -494,6 +501,9 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
|
|
|
494
501
|
id: z.ZodString;
|
|
495
502
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
496
503
|
payment: z.ZodString;
|
|
504
|
+
type: z.ZodOptional<z.ZodString>;
|
|
505
|
+
version: z.ZodOptional<z.ZodString>;
|
|
506
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
497
507
|
}, z.core.$strict>>;
|
|
498
508
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
499
509
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -56,6 +56,8 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
56
56
|
id: z.ZodString;
|
|
57
57
|
type: z.ZodString;
|
|
58
58
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
59
|
+
version: z.ZodOptional<z.ZodString>;
|
|
60
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
59
61
|
}, z.core.$strict>>, z.ZodObject<{
|
|
60
62
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
61
63
|
token_type: z.ZodString;
|
|
@@ -63,6 +65,9 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
63
65
|
id: z.ZodString;
|
|
64
66
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
65
67
|
payment: z.ZodString;
|
|
68
|
+
type: z.ZodOptional<z.ZodString>;
|
|
69
|
+
version: z.ZodOptional<z.ZodString>;
|
|
70
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
66
71
|
}, z.core.$strict>>;
|
|
67
72
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
68
73
|
}, z.core.$strict>;
|
|
@@ -107,6 +112,8 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
107
112
|
id: z.ZodString;
|
|
108
113
|
type: z.ZodString;
|
|
109
114
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
115
|
+
version: z.ZodOptional<z.ZodString>;
|
|
116
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
110
117
|
}, z.core.$strict>>, z.ZodObject<{
|
|
111
118
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
112
119
|
token_type: z.ZodString;
|
|
@@ -114,6 +121,9 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
114
121
|
id: z.ZodString;
|
|
115
122
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
116
123
|
payment: z.ZodString;
|
|
124
|
+
type: z.ZodOptional<z.ZodString>;
|
|
125
|
+
version: z.ZodOptional<z.ZodString>;
|
|
126
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
117
127
|
}, z.core.$strict>>;
|
|
118
128
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
119
129
|
}, z.core.$strict>;
|
|
@@ -280,6 +280,8 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
280
280
|
id: z.ZodString;
|
|
281
281
|
type: z.ZodString;
|
|
282
282
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
283
|
+
version: z.ZodOptional<z.ZodString>;
|
|
284
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
283
285
|
}, z.core.$strict>>, z.ZodObject<{
|
|
284
286
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
285
287
|
token_type: z.ZodString;
|
|
@@ -287,6 +289,9 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
287
289
|
id: z.ZodString;
|
|
288
290
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
289
291
|
payment: z.ZodString;
|
|
292
|
+
type: z.ZodOptional<z.ZodString>;
|
|
293
|
+
version: z.ZodOptional<z.ZodString>;
|
|
294
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
290
295
|
}, z.core.$strict>>;
|
|
291
296
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
292
297
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -391,6 +396,8 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
391
396
|
id: z.ZodString;
|
|
392
397
|
type: z.ZodString;
|
|
393
398
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
399
|
+
version: z.ZodOptional<z.ZodString>;
|
|
400
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
394
401
|
}, z.core.$strict>>, z.ZodObject<{
|
|
395
402
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
396
403
|
token_type: z.ZodString;
|
|
@@ -398,6 +405,9 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
398
405
|
id: z.ZodString;
|
|
399
406
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
400
407
|
payment: z.ZodString;
|
|
408
|
+
type: z.ZodOptional<z.ZodString>;
|
|
409
|
+
version: z.ZodOptional<z.ZodString>;
|
|
410
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
401
411
|
}, z.core.$strict>>;
|
|
402
412
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
403
413
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -40,6 +40,9 @@ export declare const CallReward_DataSchema: z.ZodObject<{
|
|
|
40
40
|
id: z.ZodString;
|
|
41
41
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
42
42
|
payment: z.ZodString;
|
|
43
|
+
type: z.ZodOptional<z.ZodString>;
|
|
44
|
+
version: z.ZodOptional<z.ZodString>;
|
|
45
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
43
46
|
}, z.core.$strict>>;
|
|
44
47
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
45
48
|
guard_add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -70,6 +73,8 @@ export declare const CallReward_DataSchema: z.ZodObject<{
|
|
|
70
73
|
id: z.ZodString;
|
|
71
74
|
type: z.ZodString;
|
|
72
75
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
76
|
+
version: z.ZodOptional<z.ZodString>;
|
|
77
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
73
78
|
}, z.core.$strict>>, z.ZodObject<{
|
|
74
79
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
75
80
|
token_type: z.ZodString;
|
|
@@ -77,6 +82,9 @@ export declare const CallReward_DataSchema: z.ZodObject<{
|
|
|
77
82
|
id: z.ZodString;
|
|
78
83
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
79
84
|
payment: z.ZodString;
|
|
85
|
+
type: z.ZodOptional<z.ZodString>;
|
|
86
|
+
version: z.ZodOptional<z.ZodString>;
|
|
87
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
80
88
|
}, z.core.$strict>>;
|
|
81
89
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
82
90
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -111,6 +119,9 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
111
119
|
id: z.ZodString;
|
|
112
120
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
113
121
|
payment: z.ZodString;
|
|
122
|
+
type: z.ZodOptional<z.ZodString>;
|
|
123
|
+
version: z.ZodOptional<z.ZodString>;
|
|
124
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
114
125
|
}, z.core.$strict>>;
|
|
115
126
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
116
127
|
guard_add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -141,6 +152,8 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
141
152
|
id: z.ZodString;
|
|
142
153
|
type: z.ZodString;
|
|
143
154
|
content_raw: z.ZodOptional<z.ZodAny>;
|
|
155
|
+
version: z.ZodOptional<z.ZodString>;
|
|
156
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
144
157
|
}, z.core.$strict>>, z.ZodObject<{
|
|
145
158
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
146
159
|
token_type: z.ZodString;
|
|
@@ -148,6 +161,9 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
148
161
|
id: z.ZodString;
|
|
149
162
|
balance: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
150
163
|
payment: z.ZodString;
|
|
164
|
+
type: z.ZodOptional<z.ZodString>;
|
|
165
|
+
version: z.ZodOptional<z.ZodString>;
|
|
166
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
151
167
|
}, z.core.$strict>>;
|
|
152
168
|
}, z.core.$strict>, z.ZodLiteral<"recently">]>>;
|
|
153
169
|
um: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|