@wowok/agent-mcp 2.2.22 → 2.3.0
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/index.d.ts +86 -126
- package/dist/schema/call/allocation.d.ts +1 -1
- package/dist/schema/call/arbitration.d.ts +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +1 -1
- package/dist/schema/call/contact.d.ts +1 -1
- package/dist/schema/call/demand.d.ts +1 -1
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/guard.d.ts +3 -3
- package/dist/schema/call/machine.d.ts +4 -4
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +15 -15
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +1 -1
- package/dist/schema/call/permission.d.ts +1 -1
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +1 -1
- package/dist/schema/call/progress.d.ts +1 -1
- package/dist/schema/call/proof.d.ts +13 -98
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +79 -79
- package/dist/schema/call/repository.js +4 -3
- package/dist/schema/call/reward.d.ts +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/service.d.ts +46 -46
- package/dist/schema/call/service.js +3 -3
- package/dist/schema/call/treasury.d.ts +9 -69
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.d.ts +3 -3
- package/dist/schema/common/index.js +2 -0
- package/dist/schema/local/index.d.ts +11 -11
- package/dist/schema/messenger/index.d.ts +1 -1
- package/dist/schema/query/index.d.ts +58 -58
- package/dist/schema/query/index.js +2 -2
- package/dist/schemas/account_operation.schema.json +4 -2
- package/dist/schemas/guard2file.schema.json +2 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +2 -1
- package/dist/schemas/messenger_operation.schema.json +2 -1
- package/dist/schemas/onchain_events.schema.json +2 -1
- package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +3 -2
- package/dist/schemas/onchain_operations_contact.schema.json +2 -1
- package/dist/schemas/onchain_operations_demand.schema.json +3 -2
- package/dist/schemas/onchain_operations_gen_passport.schema.json +4 -2
- package/dist/schemas/onchain_operations_guard.schema.json +2 -1
- package/dist/schemas/onchain_operations_machine.schema.json +10 -5
- package/dist/schemas/onchain_operations_order.schema.json +6 -5
- package/dist/schemas/onchain_operations_payment.schema.json +2 -1
- package/dist/schemas/onchain_operations_permission.schema.json +3 -2
- package/dist/schemas/onchain_operations_personal.schema.json +2 -1
- package/dist/schemas/onchain_operations_progress.schema.json +2 -1
- package/dist/schemas/onchain_operations_repository.schema.json +9 -5
- package/dist/schemas/onchain_operations_reward.schema.json +3 -2
- package/dist/schemas/onchain_operations_service.schema.json +6 -2
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -3
- package/package.json +2 -2
|
@@ -1049,7 +1049,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
|
|
|
1049
1049
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1050
1050
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1051
1051
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
1052
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
1053
1053
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1054
1054
|
}, "strict", z.ZodTypeAny, {
|
|
1055
1055
|
account: string;
|
|
@@ -1471,7 +1471,7 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
|
|
|
1471
1471
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1472
1472
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1473
1473
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
1474
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
1474
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
1475
1475
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1476
1476
|
}, "strict", z.ZodTypeAny, {
|
|
1477
1477
|
account: string;
|
|
@@ -83,7 +83,7 @@ export const CallArbitration_DataSchema = z.object({
|
|
|
83
83
|
usage_guard: z.union([NameOrAddressSchema, z.null()]).optional().describe("Set Guard for verification when users apply for arbitration; if Guard verification fails, users will not be able to apply for arbitration."),
|
|
84
84
|
voting_guard: VotingGuardActionSchema.optional().describe("Set Guard for verification during arbitration voting; if Guard verification fails, arbitration voting will fail."),
|
|
85
85
|
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object."),
|
|
86
|
-
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object.")
|
|
86
|
+
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name.")
|
|
87
87
|
}).strict().describe("On-chain Arbitration operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create an Arbitration. NOTE:'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
|
|
88
88
|
export const CallArbitration_InputSchema = z.object({
|
|
89
89
|
data: CallArbitration_DataSchema,
|
|
@@ -216,7 +216,7 @@ export declare const CallEnvSchema: z.ZodObject<{
|
|
|
216
216
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
217
217
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
218
218
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
-
network: z.ZodOptional<z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet]>>;
|
|
219
|
+
network: z.ZodOptional<z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet, ENTRYPOINT.Devnet]>>;
|
|
220
220
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
221
221
|
}, "strict", z.ZodTypeAny, {
|
|
222
222
|
account: string;
|
|
@@ -600,7 +600,7 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
600
600
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
601
601
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
602
602
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
603
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
603
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
604
604
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
605
605
|
}, "strict", z.ZodTypeAny, {
|
|
606
606
|
account: string;
|
|
@@ -851,7 +851,7 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
851
851
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
852
852
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
853
853
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
854
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
854
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
855
855
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
856
856
|
}, "strict", z.ZodTypeAny, {
|
|
857
857
|
account: string;
|
|
@@ -38,7 +38,7 @@ export const CallDemand_DataSchema = z.object({
|
|
|
38
38
|
feedback: z.array(FeedbackInfoSchema).optional().describe('User feedback information for the Demand object'),
|
|
39
39
|
guards: GuardsSchema.optional().describe('Validation Guard list for the Demand object. Used to verify whether the service recommended by the user meets the requirements'),
|
|
40
40
|
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe('Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object.'),
|
|
41
|
-
um: z.union([NameOrAddressSchema, z.null()]).optional().describe('Contact object.'),
|
|
41
|
+
um: z.union([NameOrAddressSchema, z.null()]).optional().describe('Contact object ID or name.'),
|
|
42
42
|
}).strict().describe("On-chain Demand operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, permission, ...} to create a Demand. NOTE: 'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
|
|
43
43
|
export const CallDemand_InputSchema = z.object({
|
|
44
44
|
data: CallDemand_DataSchema,
|
|
@@ -412,7 +412,7 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
412
412
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
413
413
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
414
414
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
415
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
416
416
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
417
417
|
}, "strict", z.ZodTypeAny, {
|
|
418
418
|
account: string;
|
|
@@ -704,7 +704,7 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
704
704
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
705
705
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
706
706
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
707
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
707
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
708
708
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
709
709
|
}, "strict", z.ZodTypeAny, {
|
|
710
710
|
account: string;
|
|
@@ -800,7 +800,7 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
800
800
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
801
801
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
802
802
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
803
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
803
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
804
804
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
805
805
|
}, "strict", z.ZodTypeAny, {
|
|
806
806
|
account: string;
|
|
@@ -2020,7 +2020,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
|
|
|
2020
2020
|
balance: string | number;
|
|
2021
2021
|
token_type: string;
|
|
2022
2022
|
}>, z.ZodLiteral<"recently">]>>;
|
|
2023
|
-
um: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2023
|
+
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
2024
2024
|
}, "strict", z.ZodTypeAny, {
|
|
2025
2025
|
object: string | {
|
|
2026
2026
|
name?: string | undefined;
|
|
@@ -3093,7 +3093,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
3093
3093
|
balance: string | number;
|
|
3094
3094
|
token_type: string;
|
|
3095
3095
|
}>, z.ZodLiteral<"recently">]>>;
|
|
3096
|
-
um: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
3096
|
+
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
3097
3097
|
}, "strict", z.ZodTypeAny, {
|
|
3098
3098
|
object: string | {
|
|
3099
3099
|
name?: string | undefined;
|
|
@@ -3409,7 +3409,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
|
|
|
3409
3409
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
3410
3410
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3411
3411
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
3412
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
3412
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
3413
3413
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3414
3414
|
}, "strict", z.ZodTypeAny, {
|
|
3415
3415
|
account: string;
|
|
@@ -3995,7 +3995,7 @@ export declare const MachineNode2File_InputSchema: z.ZodObject<{
|
|
|
3995
3995
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
3996
3996
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3997
3997
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
3998
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
3998
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
3999
3999
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4000
4000
|
}, "strict", z.ZodTypeAny, {
|
|
4001
4001
|
account: string;
|
|
@@ -114,7 +114,7 @@ If parsing fails, error includes line number and column information.`),
|
|
|
114
114
|
pause: z.boolean().optional().describe('Whether to pause generating new Progress objects.'),
|
|
115
115
|
publish: z.boolean().optional().describe('Whether to publish the object. After the object is published, new Progress objects can be generated; and node settings will no longer be changeable.'),
|
|
116
116
|
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe('Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object.'),
|
|
117
|
-
um: z.union([
|
|
117
|
+
um: z.union([NameOrAddressSchema, z.null()]).optional().describe('Contact object ID or name.'),
|
|
118
118
|
}).strict().describe("On-chain Machine operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, permission, ...} to create a Machine. NOTE: 'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
|
|
119
119
|
export const CallMachine_InputSchema = z.object({
|
|
120
120
|
data: CallMachine_DataSchema,
|
|
@@ -34,7 +34,7 @@ export declare const ArbClaimCompensationSchema: z.ZodObject<{
|
|
|
34
34
|
}>;
|
|
35
35
|
export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
36
36
|
object: z.ZodEffects<z.ZodString, string, string>;
|
|
37
|
-
|
|
37
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
38
38
|
entities: z.ZodArray<z.ZodObject<{
|
|
39
39
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
40
40
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -220,14 +220,14 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
220
220
|
hold?: boolean | undefined;
|
|
221
221
|
adminUnhold?: boolean | undefined;
|
|
222
222
|
} | undefined;
|
|
223
|
-
|
|
224
|
-
agents?: {
|
|
223
|
+
agent?: {
|
|
225
224
|
entities: {
|
|
226
225
|
name_or_address?: string | undefined;
|
|
227
226
|
local_mark_first?: boolean | undefined;
|
|
228
227
|
}[];
|
|
229
228
|
check_all_founded?: boolean | undefined;
|
|
230
229
|
} | undefined;
|
|
230
|
+
required_info?: string | null | undefined;
|
|
231
231
|
arb_confirm?: {
|
|
232
232
|
arb: string;
|
|
233
233
|
confirm: boolean;
|
|
@@ -271,14 +271,14 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
271
271
|
hold?: boolean | undefined;
|
|
272
272
|
adminUnhold?: boolean | undefined;
|
|
273
273
|
} | undefined;
|
|
274
|
-
|
|
275
|
-
agents?: {
|
|
274
|
+
agent?: {
|
|
276
275
|
entities: {
|
|
277
276
|
name_or_address?: string | undefined;
|
|
278
277
|
local_mark_first?: boolean | undefined;
|
|
279
278
|
}[];
|
|
280
279
|
check_all_founded?: boolean | undefined;
|
|
281
280
|
} | undefined;
|
|
281
|
+
required_info?: string | null | undefined;
|
|
282
282
|
arb_confirm?: {
|
|
283
283
|
arb: string;
|
|
284
284
|
confirm: boolean;
|
|
@@ -315,7 +315,7 @@ export declare const CallOrder_DataSchema: z.ZodObject<{
|
|
|
315
315
|
export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
316
316
|
data: z.ZodObject<{
|
|
317
317
|
object: z.ZodEffects<z.ZodString, string, string>;
|
|
318
|
-
|
|
318
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
319
319
|
entities: z.ZodArray<z.ZodObject<{
|
|
320
320
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
321
321
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -501,14 +501,14 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
501
501
|
hold?: boolean | undefined;
|
|
502
502
|
adminUnhold?: boolean | undefined;
|
|
503
503
|
} | undefined;
|
|
504
|
-
|
|
505
|
-
agents?: {
|
|
504
|
+
agent?: {
|
|
506
505
|
entities: {
|
|
507
506
|
name_or_address?: string | undefined;
|
|
508
507
|
local_mark_first?: boolean | undefined;
|
|
509
508
|
}[];
|
|
510
509
|
check_all_founded?: boolean | undefined;
|
|
511
510
|
} | undefined;
|
|
511
|
+
required_info?: string | null | undefined;
|
|
512
512
|
arb_confirm?: {
|
|
513
513
|
arb: string;
|
|
514
514
|
confirm: boolean;
|
|
@@ -552,14 +552,14 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
552
552
|
hold?: boolean | undefined;
|
|
553
553
|
adminUnhold?: boolean | undefined;
|
|
554
554
|
} | undefined;
|
|
555
|
-
|
|
556
|
-
agents?: {
|
|
555
|
+
agent?: {
|
|
557
556
|
entities: {
|
|
558
557
|
name_or_address?: string | undefined;
|
|
559
558
|
local_mark_first?: boolean | undefined;
|
|
560
559
|
}[];
|
|
561
560
|
check_all_founded?: boolean | undefined;
|
|
562
561
|
} | undefined;
|
|
562
|
+
required_info?: string | null | undefined;
|
|
563
563
|
arb_confirm?: {
|
|
564
564
|
arb: string;
|
|
565
565
|
confirm: boolean;
|
|
@@ -597,7 +597,7 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
597
597
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
598
598
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
599
599
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
600
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
600
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
601
601
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
602
602
|
}, "strict", z.ZodTypeAny, {
|
|
603
603
|
account: string;
|
|
@@ -804,14 +804,14 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
804
804
|
hold?: boolean | undefined;
|
|
805
805
|
adminUnhold?: boolean | undefined;
|
|
806
806
|
} | undefined;
|
|
807
|
-
|
|
808
|
-
agents?: {
|
|
807
|
+
agent?: {
|
|
809
808
|
entities: {
|
|
810
809
|
name_or_address?: string | undefined;
|
|
811
810
|
local_mark_first?: boolean | undefined;
|
|
812
811
|
}[];
|
|
813
812
|
check_all_founded?: boolean | undefined;
|
|
814
813
|
} | undefined;
|
|
814
|
+
required_info?: string | null | undefined;
|
|
815
815
|
arb_confirm?: {
|
|
816
816
|
arb: string;
|
|
817
817
|
confirm: boolean;
|
|
@@ -891,14 +891,14 @@ export declare const CallOrder_InputSchema: z.ZodObject<{
|
|
|
891
891
|
hold?: boolean | undefined;
|
|
892
892
|
adminUnhold?: boolean | undefined;
|
|
893
893
|
} | undefined;
|
|
894
|
-
|
|
895
|
-
agents?: {
|
|
894
|
+
agent?: {
|
|
896
895
|
entities: {
|
|
897
896
|
name_or_address?: string | undefined;
|
|
898
897
|
local_mark_first?: boolean | undefined;
|
|
899
898
|
}[];
|
|
900
899
|
check_all_founded?: boolean | undefined;
|
|
901
900
|
} | undefined;
|
|
901
|
+
required_info?: string | null | undefined;
|
|
902
902
|
arb_confirm?: {
|
|
903
903
|
arb: string;
|
|
904
904
|
confirm: boolean;
|
|
@@ -18,7 +18,7 @@ export const ArbClaimCompensationSchema = z.object({
|
|
|
18
18
|
}).strict();
|
|
19
19
|
export const CallOrder_DataSchema = z.object({
|
|
20
20
|
object: NameOrAddressSchema.describe("Order object ID or name."),
|
|
21
|
-
|
|
21
|
+
agent: ManyAccountOrMark_AddressSchema.optional().describe("Order agent. Agents can operate the order, such as canceling the order, modifying the order status, etc.; but cannot receive the funds received by the order."),
|
|
22
22
|
required_info: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID (recipient) or WTS Proof object (delivery proof) that information has been delivered via Wowok Messenger."),
|
|
23
23
|
progress: OperateSchema.optional().describe("Advance order process"),
|
|
24
24
|
arb_confirm: ArbConfirmSchema.optional().describe("Submit compensation request and apply for arbitration"),
|
|
@@ -315,7 +315,7 @@ export declare const CallPayment_InputSchema: z.ZodObject<{
|
|
|
315
315
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
316
316
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
317
317
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
318
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
318
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
319
319
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
320
320
|
}, "strict", z.ZodTypeAny, {
|
|
321
321
|
account: string;
|
|
@@ -2462,7 +2462,7 @@ export declare const CallPermission_InputSchema: z.ZodObject<{
|
|
|
2462
2462
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2463
2463
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2464
2464
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
2465
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
2465
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
2466
2466
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2467
2467
|
}, "strict", z.ZodTypeAny, {
|
|
2468
2468
|
account: string;
|
|
@@ -96,7 +96,7 @@ export const CallPermission_DataSchema = z.object({
|
|
|
96
96
|
apply: z.array(NameOrAddressSchema).optional().describe("Array of object IDs or names to operate on, apply the Permission object to these objects' permission control. Note: The signer must be the owner of the existing Permission objects for these objects"),
|
|
97
97
|
builder: AccountOrMark_AddressSchema.optional().describe("Set or transfer ownership of the Permission object to the specified user ID. The creator automatically becomes the builder; only the builder can transfer ownership to other users."),
|
|
98
98
|
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe('Unwrap CoinWrapper objects and other objects received by this object and send them to the builder(owner).'),
|
|
99
|
-
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object."),
|
|
99
|
+
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
|
|
100
100
|
}).strict().describe("On-chain Permission operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, tags?, ...} to create a Permission. NOTE: 'name' goes INSIDE 'object', NOT at the data root level. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
|
|
101
101
|
export const CallPermission_InputSchema = z.object({
|
|
102
102
|
data: CallPermission_DataSchema,
|
|
@@ -1305,7 +1305,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1305
1305
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1306
1306
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1307
1307
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
1308
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
1308
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
1309
1309
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1310
1310
|
}, "strict", z.ZodTypeAny, {
|
|
1311
1311
|
account: string;
|
|
@@ -391,7 +391,7 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
391
391
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
392
392
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
393
393
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
394
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
394
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
395
395
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
396
396
|
}, "strict", z.ZodTypeAny, {
|
|
397
397
|
account: string;
|
|
@@ -22,22 +22,7 @@ export declare const CallProof_DataSchema: z.ZodObject<{
|
|
|
22
22
|
server_signature: z.ZodString;
|
|
23
23
|
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
24
24
|
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
25
|
-
about_address: z.ZodOptional<z.ZodUnion<[z.
|
|
26
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
27
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
|
-
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
}, "strict", z.ZodTypeAny, {
|
|
31
|
-
name?: string | undefined;
|
|
32
|
-
replaceExistName?: boolean | undefined;
|
|
33
|
-
tags?: string[] | undefined;
|
|
34
|
-
onChain?: boolean | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
name?: string | undefined;
|
|
37
|
-
replaceExistName?: boolean | undefined;
|
|
38
|
-
tags?: string[] | undefined;
|
|
39
|
-
onChain?: boolean | undefined;
|
|
40
|
-
}>, z.ZodNull]>>;
|
|
25
|
+
about_address: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
41
26
|
}, "strict", z.ZodTypeAny, {
|
|
42
27
|
proof: string;
|
|
43
28
|
server_pubkey: string;
|
|
@@ -45,12 +30,7 @@ export declare const CallProof_DataSchema: z.ZodObject<{
|
|
|
45
30
|
proof_type: string | number;
|
|
46
31
|
description?: string | undefined;
|
|
47
32
|
item_count?: string | number | null | undefined;
|
|
48
|
-
about_address?:
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
replaceExistName?: boolean | undefined;
|
|
51
|
-
tags?: string[] | undefined;
|
|
52
|
-
onChain?: boolean | undefined;
|
|
53
|
-
} | null | undefined;
|
|
33
|
+
about_address?: string | null | undefined;
|
|
54
34
|
namedNew?: {
|
|
55
35
|
name?: string | undefined;
|
|
56
36
|
replaceExistName?: boolean | undefined;
|
|
@@ -64,12 +44,7 @@ export declare const CallProof_DataSchema: z.ZodObject<{
|
|
|
64
44
|
proof_type: string | number;
|
|
65
45
|
description?: string | undefined;
|
|
66
46
|
item_count?: string | number | null | undefined;
|
|
67
|
-
about_address?:
|
|
68
|
-
name?: string | undefined;
|
|
69
|
-
replaceExistName?: boolean | undefined;
|
|
70
|
-
tags?: string[] | undefined;
|
|
71
|
-
onChain?: boolean | undefined;
|
|
72
|
-
} | null | undefined;
|
|
47
|
+
about_address?: string | null | undefined;
|
|
73
48
|
namedNew?: {
|
|
74
49
|
name?: string | undefined;
|
|
75
50
|
replaceExistName?: boolean | undefined;
|
|
@@ -101,22 +76,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
101
76
|
server_signature: z.ZodString;
|
|
102
77
|
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
103
78
|
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
104
|
-
about_address: z.ZodOptional<z.ZodUnion<[z.
|
|
105
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
106
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
|
-
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
}, "strict", z.ZodTypeAny, {
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
replaceExistName?: boolean | undefined;
|
|
112
|
-
tags?: string[] | undefined;
|
|
113
|
-
onChain?: boolean | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
name?: string | undefined;
|
|
116
|
-
replaceExistName?: boolean | undefined;
|
|
117
|
-
tags?: string[] | undefined;
|
|
118
|
-
onChain?: boolean | undefined;
|
|
119
|
-
}>, z.ZodNull]>>;
|
|
79
|
+
about_address: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
120
80
|
}, "strict", z.ZodTypeAny, {
|
|
121
81
|
proof: string;
|
|
122
82
|
server_pubkey: string;
|
|
@@ -124,12 +84,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
124
84
|
proof_type: string | number;
|
|
125
85
|
description?: string | undefined;
|
|
126
86
|
item_count?: string | number | null | undefined;
|
|
127
|
-
about_address?:
|
|
128
|
-
name?: string | undefined;
|
|
129
|
-
replaceExistName?: boolean | undefined;
|
|
130
|
-
tags?: string[] | undefined;
|
|
131
|
-
onChain?: boolean | undefined;
|
|
132
|
-
} | null | undefined;
|
|
87
|
+
about_address?: string | null | undefined;
|
|
133
88
|
namedNew?: {
|
|
134
89
|
name?: string | undefined;
|
|
135
90
|
replaceExistName?: boolean | undefined;
|
|
@@ -143,12 +98,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
143
98
|
proof_type: string | number;
|
|
144
99
|
description?: string | undefined;
|
|
145
100
|
item_count?: string | number | null | undefined;
|
|
146
|
-
about_address?:
|
|
147
|
-
name?: string | undefined;
|
|
148
|
-
replaceExistName?: boolean | undefined;
|
|
149
|
-
tags?: string[] | undefined;
|
|
150
|
-
onChain?: boolean | undefined;
|
|
151
|
-
} | null | undefined;
|
|
101
|
+
about_address?: string | null | undefined;
|
|
152
102
|
namedNew?: {
|
|
153
103
|
name?: string | undefined;
|
|
154
104
|
replaceExistName?: boolean | undefined;
|
|
@@ -160,7 +110,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
160
110
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
161
111
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
112
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
113
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
164
114
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
165
115
|
}, "strict", z.ZodTypeAny, {
|
|
166
116
|
account: string;
|
|
@@ -183,12 +133,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
183
133
|
proof_type: string | number;
|
|
184
134
|
description?: string | undefined;
|
|
185
135
|
item_count?: string | number | null | undefined;
|
|
186
|
-
about_address?:
|
|
187
|
-
name?: string | undefined;
|
|
188
|
-
replaceExistName?: boolean | undefined;
|
|
189
|
-
tags?: string[] | undefined;
|
|
190
|
-
onChain?: boolean | undefined;
|
|
191
|
-
} | null | undefined;
|
|
136
|
+
about_address?: string | null | undefined;
|
|
192
137
|
namedNew?: {
|
|
193
138
|
name?: string | undefined;
|
|
194
139
|
replaceExistName?: boolean | undefined;
|
|
@@ -211,12 +156,7 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
211
156
|
proof_type: string | number;
|
|
212
157
|
description?: string | undefined;
|
|
213
158
|
item_count?: string | number | null | undefined;
|
|
214
|
-
about_address?:
|
|
215
|
-
name?: string | undefined;
|
|
216
|
-
replaceExistName?: boolean | undefined;
|
|
217
|
-
tags?: string[] | undefined;
|
|
218
|
-
onChain?: boolean | undefined;
|
|
219
|
-
} | null | undefined;
|
|
159
|
+
about_address?: string | null | undefined;
|
|
220
160
|
namedNew?: {
|
|
221
161
|
name?: string | undefined;
|
|
222
162
|
replaceExistName?: boolean | undefined;
|
|
@@ -239,27 +179,12 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
239
179
|
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
240
180
|
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
241
181
|
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
242
|
-
about_address: z.ZodOptional<z.ZodUnion<[z.
|
|
243
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
244
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
245
|
-
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
-
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
247
|
-
}, "strict", z.ZodTypeAny, {
|
|
248
|
-
name?: string | undefined;
|
|
249
|
-
replaceExistName?: boolean | undefined;
|
|
250
|
-
tags?: string[] | undefined;
|
|
251
|
-
onChain?: boolean | undefined;
|
|
252
|
-
}, {
|
|
253
|
-
name?: string | undefined;
|
|
254
|
-
replaceExistName?: boolean | undefined;
|
|
255
|
-
tags?: string[] | undefined;
|
|
256
|
-
onChain?: boolean | undefined;
|
|
257
|
-
}>, z.ZodNull]>>;
|
|
182
|
+
about_address: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
258
183
|
env: z.ZodOptional<z.ZodObject<{
|
|
259
184
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
260
185
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
261
186
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
187
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
263
188
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
264
189
|
}, "strict", z.ZodTypeAny, {
|
|
265
190
|
account: string;
|
|
@@ -288,12 +213,7 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
288
213
|
referrer?: string | undefined;
|
|
289
214
|
} | undefined;
|
|
290
215
|
item_count?: string | number | null | undefined;
|
|
291
|
-
about_address?:
|
|
292
|
-
name?: string | undefined;
|
|
293
|
-
replaceExistName?: boolean | undefined;
|
|
294
|
-
tags?: string[] | undefined;
|
|
295
|
-
onChain?: boolean | undefined;
|
|
296
|
-
} | null | undefined;
|
|
216
|
+
about_address?: string | null | undefined;
|
|
297
217
|
}, {
|
|
298
218
|
proof: string;
|
|
299
219
|
server_pubkey: string;
|
|
@@ -308,12 +228,7 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
308
228
|
referrer?: string | undefined;
|
|
309
229
|
} | undefined;
|
|
310
230
|
item_count?: string | number | null | undefined;
|
|
311
|
-
about_address?:
|
|
312
|
-
name?: string | undefined;
|
|
313
|
-
replaceExistName?: boolean | undefined;
|
|
314
|
-
tags?: string[] | undefined;
|
|
315
|
-
onChain?: boolean | undefined;
|
|
316
|
-
} | null | undefined;
|
|
231
|
+
about_address?: string | null | undefined;
|
|
317
232
|
}>;
|
|
318
233
|
export type CallProof_Data = z.infer<typeof CallProof_DataSchema>;
|
|
319
234
|
export type CallProof_Input = z.infer<typeof CallProof_InputSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { CallEnvSchema, NamedObjectSchema } from './base.js';
|
|
3
|
-
import { DescriptionSchema } from '../common/index.js';
|
|
3
|
+
import { DescriptionSchema, NameOrAddressSchema } from '../common/index.js';
|
|
4
4
|
export const CallProof_DataSchema = z.object({
|
|
5
5
|
namedNew: NamedObjectSchema.optional(),
|
|
6
6
|
description: DescriptionSchema.optional(),
|
|
@@ -9,7 +9,7 @@ export const CallProof_DataSchema = z.object({
|
|
|
9
9
|
server_signature: z.string().max(40480).describe("Server signature"),
|
|
10
10
|
proof_type: z.union([z.number().int().min(0), z.string()]).describe("Proof type. 1: WTS proof; 1-100 reserved."),
|
|
11
11
|
item_count: z.union([z.number().int().min(0), z.string(), z.null()]).optional().describe("Item count. e.g. number of items in the merkle tree"),
|
|
12
|
-
about_address: z.union([
|
|
12
|
+
about_address: z.union([NameOrAddressSchema, z.null()]).optional().describe("About address. e.g. address of the entity being proved"),
|
|
13
13
|
}).strict().describe("On-chain Proof creation. USAGE: Set 'namedNew' field with {name, tag?} to create a named Proof. Proof is an immutable object - it can only be created, not modified. The 'namedNew' field is CRITICAL and REQUIRED.");
|
|
14
14
|
export const CallProof_InputSchema = z.object({
|
|
15
15
|
data: CallProof_DataSchema,
|
|
@@ -22,6 +22,6 @@ export const CallGenProof_InputSchema = z.object({
|
|
|
22
22
|
proof_type: z.union([z.number().int().min(0), z.string()]).describe("Proof type. 1: WTS proof; 1-100 reserved."),
|
|
23
23
|
description: DescriptionSchema.optional(),
|
|
24
24
|
item_count: z.union([z.number().int().min(0), z.string(), z.null()]).optional().describe("Item count. e.g. number of items in the merkle tree"),
|
|
25
|
-
about_address: z.union([
|
|
25
|
+
about_address: z.union([NameOrAddressSchema, z.null()]).optional().describe("About address. e.g. address of the entity being proved"),
|
|
26
26
|
env: CallEnvSchema.optional(),
|
|
27
27
|
}).strict().describe("Generate a new Proof object on-chain");
|