@wowok/agent-mcp 2.2.21 → 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/README.md +1 -3
- package/dist/index.d.ts +86 -126
- package/dist/index.js +4 -1
- 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 +830 -830
- 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 +46 -46
- package/dist/schema/common/index.js +5 -3
- package/dist/schema/local/index.d.ts +1906 -1906
- package/dist/schema/local/index.js +12 -12
- package/dist/schema/local/wip.d.ts +16 -16
- package/dist/schema/local/wip.js +2 -2
- package/dist/schema/messenger/index.d.ts +1 -1
- package/dist/schema/query/index.d.ts +6918 -6918
- package/dist/schema/query/index.js +6 -6
- 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 +6 -2
- 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
|
@@ -824,7 +824,7 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
824
824
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
825
825
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
826
826
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
827
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
827
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
828
828
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
829
829
|
}, "strict", z.ZodTypeAny, {
|
|
830
830
|
account: string;
|
|
@@ -21,7 +21,7 @@ export const CallReward_DataSchema = z.object({
|
|
|
21
21
|
guard_remove_expired: z.boolean().optional().describe("Whether to remove expired Guard."),
|
|
22
22
|
guard_expiration_time: z.union([z.number().int().min(1), z.null()]).optional().describe("Add expiration time(ms). Before this time expires, new Guard and fund allocation rules cannot be added."),
|
|
23
23
|
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."),
|
|
24
|
-
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object."),
|
|
24
|
+
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
|
|
25
25
|
}).strict().describe("On-chain Reward operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create a Reward. 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.");
|
|
26
26
|
export const CallReward_InputSchema = z.object({
|
|
27
27
|
data: CallReward_DataSchema,
|
|
@@ -77,8 +77,8 @@ export declare const DiscountSchema: z.ZodObject<{
|
|
|
77
77
|
discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
78
78
|
benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
79
79
|
time_ms_start: z.ZodOptional<z.ZodNumber>;
|
|
80
|
-
time_ms_end: z.
|
|
81
|
-
count: z.
|
|
80
|
+
time_ms_end: z.ZodNumber;
|
|
81
|
+
count: z.ZodNumber;
|
|
82
82
|
recipient: z.ZodObject<{
|
|
83
83
|
entities: z.ZodArray<z.ZodObject<{
|
|
84
84
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -104,7 +104,7 @@ export declare const DiscountSchema: z.ZodObject<{
|
|
|
104
104
|
}[];
|
|
105
105
|
check_all_founded?: boolean | undefined;
|
|
106
106
|
}>;
|
|
107
|
-
transferable: z.
|
|
107
|
+
transferable: z.ZodBoolean;
|
|
108
108
|
}, "strict", z.ZodTypeAny, {
|
|
109
109
|
name: string;
|
|
110
110
|
recipient: {
|
|
@@ -114,13 +114,13 @@ export declare const DiscountSchema: z.ZodObject<{
|
|
|
114
114
|
}[];
|
|
115
115
|
check_all_founded?: boolean | undefined;
|
|
116
116
|
};
|
|
117
|
+
count: number;
|
|
117
118
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
119
|
+
transferable: boolean;
|
|
118
120
|
discount_value: string | number;
|
|
119
|
-
|
|
121
|
+
time_ms_end: number;
|
|
120
122
|
benchmark?: string | number | undefined;
|
|
121
|
-
transferable?: boolean | undefined;
|
|
122
123
|
time_ms_start?: number | undefined;
|
|
123
|
-
time_ms_end?: number | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
name: string;
|
|
126
126
|
recipient: {
|
|
@@ -130,13 +130,13 @@ export declare const DiscountSchema: z.ZodObject<{
|
|
|
130
130
|
}[];
|
|
131
131
|
check_all_founded?: boolean | undefined;
|
|
132
132
|
};
|
|
133
|
+
count: number;
|
|
133
134
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
135
|
+
transferable: boolean;
|
|
134
136
|
discount_value: string | number;
|
|
135
|
-
|
|
137
|
+
time_ms_end: number;
|
|
136
138
|
benchmark?: string | number | undefined;
|
|
137
|
-
transferable?: boolean | undefined;
|
|
138
139
|
time_ms_start?: number | undefined;
|
|
139
|
-
time_ms_end?: number | undefined;
|
|
140
140
|
}>;
|
|
141
141
|
export declare const OrderNewSchema: z.ZodObject<{
|
|
142
142
|
buy: z.ZodObject<{
|
|
@@ -960,8 +960,8 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
960
960
|
discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
961
961
|
benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
962
962
|
time_ms_start: z.ZodOptional<z.ZodNumber>;
|
|
963
|
-
time_ms_end: z.
|
|
964
|
-
count: z.
|
|
963
|
+
time_ms_end: z.ZodNumber;
|
|
964
|
+
count: z.ZodNumber;
|
|
965
965
|
recipient: z.ZodObject<{
|
|
966
966
|
entities: z.ZodArray<z.ZodObject<{
|
|
967
967
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -987,7 +987,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
987
987
|
}[];
|
|
988
988
|
check_all_founded?: boolean | undefined;
|
|
989
989
|
}>;
|
|
990
|
-
transferable: z.
|
|
990
|
+
transferable: z.ZodBoolean;
|
|
991
991
|
}, "strict", z.ZodTypeAny, {
|
|
992
992
|
name: string;
|
|
993
993
|
recipient: {
|
|
@@ -997,13 +997,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
997
997
|
}[];
|
|
998
998
|
check_all_founded?: boolean | undefined;
|
|
999
999
|
};
|
|
1000
|
+
count: number;
|
|
1000
1001
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
1002
|
+
transferable: boolean;
|
|
1001
1003
|
discount_value: string | number;
|
|
1002
|
-
|
|
1004
|
+
time_ms_end: number;
|
|
1003
1005
|
benchmark?: string | number | undefined;
|
|
1004
|
-
transferable?: boolean | undefined;
|
|
1005
1006
|
time_ms_start?: number | undefined;
|
|
1006
|
-
time_ms_end?: number | undefined;
|
|
1007
1007
|
}, {
|
|
1008
1008
|
name: string;
|
|
1009
1009
|
recipient: {
|
|
@@ -1013,13 +1013,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1013
1013
|
}[];
|
|
1014
1014
|
check_all_founded?: boolean | undefined;
|
|
1015
1015
|
};
|
|
1016
|
+
count: number;
|
|
1016
1017
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
1018
|
+
transferable: boolean;
|
|
1017
1019
|
discount_value: string | number;
|
|
1018
|
-
|
|
1020
|
+
time_ms_end: number;
|
|
1019
1021
|
benchmark?: string | number | undefined;
|
|
1020
|
-
transferable?: boolean | undefined;
|
|
1021
1022
|
time_ms_start?: number | undefined;
|
|
1022
|
-
time_ms_end?: number | undefined;
|
|
1023
1023
|
}>>;
|
|
1024
1024
|
discount_destroy: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1025
1025
|
customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
@@ -1321,13 +1321,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1321
1321
|
}[];
|
|
1322
1322
|
check_all_founded?: boolean | undefined;
|
|
1323
1323
|
};
|
|
1324
|
+
count: number;
|
|
1324
1325
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
1326
|
+
transferable: boolean;
|
|
1325
1327
|
discount_value: string | number;
|
|
1326
|
-
|
|
1328
|
+
time_ms_end: number;
|
|
1327
1329
|
benchmark?: string | number | undefined;
|
|
1328
|
-
transferable?: boolean | undefined;
|
|
1329
1330
|
time_ms_start?: number | undefined;
|
|
1330
|
-
time_ms_end?: number | undefined;
|
|
1331
1331
|
} | undefined;
|
|
1332
1332
|
machine?: string | null | undefined;
|
|
1333
1333
|
sales?: {
|
|
@@ -1513,13 +1513,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1513
1513
|
}[];
|
|
1514
1514
|
check_all_founded?: boolean | undefined;
|
|
1515
1515
|
};
|
|
1516
|
+
count: number;
|
|
1516
1517
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
1518
|
+
transferable: boolean;
|
|
1517
1519
|
discount_value: string | number;
|
|
1518
|
-
|
|
1520
|
+
time_ms_end: number;
|
|
1519
1521
|
benchmark?: string | number | undefined;
|
|
1520
|
-
transferable?: boolean | undefined;
|
|
1521
1522
|
time_ms_start?: number | undefined;
|
|
1522
|
-
time_ms_end?: number | undefined;
|
|
1523
1523
|
} | undefined;
|
|
1524
1524
|
machine?: string | null | undefined;
|
|
1525
1525
|
sales?: {
|
|
@@ -2139,8 +2139,8 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2139
2139
|
discount_value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2140
2140
|
benchmark: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
2141
2141
|
time_ms_start: z.ZodOptional<z.ZodNumber>;
|
|
2142
|
-
time_ms_end: z.
|
|
2143
|
-
count: z.
|
|
2142
|
+
time_ms_end: z.ZodNumber;
|
|
2143
|
+
count: z.ZodNumber;
|
|
2144
2144
|
recipient: z.ZodObject<{
|
|
2145
2145
|
entities: z.ZodArray<z.ZodObject<{
|
|
2146
2146
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -2166,7 +2166,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2166
2166
|
}[];
|
|
2167
2167
|
check_all_founded?: boolean | undefined;
|
|
2168
2168
|
}>;
|
|
2169
|
-
transferable: z.
|
|
2169
|
+
transferable: z.ZodBoolean;
|
|
2170
2170
|
}, "strict", z.ZodTypeAny, {
|
|
2171
2171
|
name: string;
|
|
2172
2172
|
recipient: {
|
|
@@ -2176,13 +2176,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2176
2176
|
}[];
|
|
2177
2177
|
check_all_founded?: boolean | undefined;
|
|
2178
2178
|
};
|
|
2179
|
+
count: number;
|
|
2179
2180
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
2181
|
+
transferable: boolean;
|
|
2180
2182
|
discount_value: string | number;
|
|
2181
|
-
|
|
2183
|
+
time_ms_end: number;
|
|
2182
2184
|
benchmark?: string | number | undefined;
|
|
2183
|
-
transferable?: boolean | undefined;
|
|
2184
2185
|
time_ms_start?: number | undefined;
|
|
2185
|
-
time_ms_end?: number | undefined;
|
|
2186
2186
|
}, {
|
|
2187
2187
|
name: string;
|
|
2188
2188
|
recipient: {
|
|
@@ -2192,13 +2192,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2192
2192
|
}[];
|
|
2193
2193
|
check_all_founded?: boolean | undefined;
|
|
2194
2194
|
};
|
|
2195
|
+
count: number;
|
|
2195
2196
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
2197
|
+
transferable: boolean;
|
|
2196
2198
|
discount_value: string | number;
|
|
2197
|
-
|
|
2199
|
+
time_ms_end: number;
|
|
2198
2200
|
benchmark?: string | number | undefined;
|
|
2199
|
-
transferable?: boolean | undefined;
|
|
2200
2201
|
time_ms_start?: number | undefined;
|
|
2201
|
-
time_ms_end?: number | undefined;
|
|
2202
2202
|
}>>;
|
|
2203
2203
|
discount_destroy: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
2204
2204
|
customer_required: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
@@ -2500,13 +2500,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2500
2500
|
}[];
|
|
2501
2501
|
check_all_founded?: boolean | undefined;
|
|
2502
2502
|
};
|
|
2503
|
+
count: number;
|
|
2503
2504
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
2505
|
+
transferable: boolean;
|
|
2504
2506
|
discount_value: string | number;
|
|
2505
|
-
|
|
2507
|
+
time_ms_end: number;
|
|
2506
2508
|
benchmark?: string | number | undefined;
|
|
2507
|
-
transferable?: boolean | undefined;
|
|
2508
2509
|
time_ms_start?: number | undefined;
|
|
2509
|
-
time_ms_end?: number | undefined;
|
|
2510
2510
|
} | undefined;
|
|
2511
2511
|
machine?: string | null | undefined;
|
|
2512
2512
|
sales?: {
|
|
@@ -2692,13 +2692,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2692
2692
|
}[];
|
|
2693
2693
|
check_all_founded?: boolean | undefined;
|
|
2694
2694
|
};
|
|
2695
|
+
count: number;
|
|
2695
2696
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
2697
|
+
transferable: boolean;
|
|
2696
2698
|
discount_value: string | number;
|
|
2697
|
-
|
|
2699
|
+
time_ms_end: number;
|
|
2698
2700
|
benchmark?: string | number | undefined;
|
|
2699
|
-
transferable?: boolean | undefined;
|
|
2700
2701
|
time_ms_start?: number | undefined;
|
|
2701
|
-
time_ms_end?: number | undefined;
|
|
2702
2702
|
} | undefined;
|
|
2703
2703
|
machine?: string | null | undefined;
|
|
2704
2704
|
sales?: {
|
|
@@ -2840,7 +2840,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2840
2840
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2841
2841
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2842
2842
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
2843
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
2843
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
2844
2844
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2845
2845
|
}, "strict", z.ZodTypeAny, {
|
|
2846
2846
|
account: string;
|
|
@@ -3085,13 +3085,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3085
3085
|
}[];
|
|
3086
3086
|
check_all_founded?: boolean | undefined;
|
|
3087
3087
|
};
|
|
3088
|
+
count: number;
|
|
3088
3089
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
3090
|
+
transferable: boolean;
|
|
3089
3091
|
discount_value: string | number;
|
|
3090
|
-
|
|
3092
|
+
time_ms_end: number;
|
|
3091
3093
|
benchmark?: string | number | undefined;
|
|
3092
|
-
transferable?: boolean | undefined;
|
|
3093
3094
|
time_ms_start?: number | undefined;
|
|
3094
|
-
time_ms_end?: number | undefined;
|
|
3095
3095
|
} | undefined;
|
|
3096
3096
|
machine?: string | null | undefined;
|
|
3097
3097
|
sales?: {
|
|
@@ -3313,13 +3313,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3313
3313
|
}[];
|
|
3314
3314
|
check_all_founded?: boolean | undefined;
|
|
3315
3315
|
};
|
|
3316
|
+
count: number;
|
|
3316
3317
|
discount_type: import("@wowok/wowok").DiscountType;
|
|
3318
|
+
transferable: boolean;
|
|
3317
3319
|
discount_value: string | number;
|
|
3318
|
-
|
|
3320
|
+
time_ms_end: number;
|
|
3319
3321
|
benchmark?: string | number | undefined;
|
|
3320
|
-
transferable?: boolean | undefined;
|
|
3321
3322
|
time_ms_start?: number | undefined;
|
|
3322
|
-
time_ms_end?: number | undefined;
|
|
3323
3323
|
} | undefined;
|
|
3324
3324
|
machine?: string | null | undefined;
|
|
3325
3325
|
sales?: {
|
|
@@ -21,10 +21,10 @@ export const DiscountSchema = z.object({
|
|
|
21
21
|
discount_value: BalanceTypeSchema.describe("Discount value"),
|
|
22
22
|
benchmark: z.union([z.number(), z.string()]).optional().describe("Discount benchmark value. Discount is only applied if the amount exceeds this value"),
|
|
23
23
|
time_ms_start: z.number().optional().describe("Discount start time (milliseconds)"),
|
|
24
|
-
time_ms_end: z.number().
|
|
25
|
-
count: z.number().
|
|
24
|
+
time_ms_end: z.number().describe("Discount end time (milliseconds)"),
|
|
25
|
+
count: z.number().describe("Discount usage count"),
|
|
26
26
|
recipient: ManyAccountOrMark_AddressSchema.describe("Discount recipient"),
|
|
27
|
-
transferable: z.boolean().
|
|
27
|
+
transferable: z.boolean().describe("Whether the discount object recipient can transfer the discount object"),
|
|
28
28
|
}).strict();
|
|
29
29
|
export const OrderNewSchema = z.object({
|
|
30
30
|
buy: BuySchema,
|
|
@@ -804,22 +804,7 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
|
|
|
804
804
|
balance: string | number;
|
|
805
805
|
token_type: string;
|
|
806
806
|
}>, z.ZodLiteral<"recently">]>>;
|
|
807
|
-
um: z.ZodOptional<z.ZodUnion<[z.
|
|
808
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
809
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
810
|
-
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
811
|
-
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
812
|
-
}, "strict", z.ZodTypeAny, {
|
|
813
|
-
name?: string | undefined;
|
|
814
|
-
replaceExistName?: boolean | undefined;
|
|
815
|
-
tags?: string[] | undefined;
|
|
816
|
-
onChain?: boolean | undefined;
|
|
817
|
-
}, {
|
|
818
|
-
name?: string | undefined;
|
|
819
|
-
replaceExistName?: boolean | undefined;
|
|
820
|
-
tags?: string[] | undefined;
|
|
821
|
-
onChain?: boolean | undefined;
|
|
822
|
-
}>, z.ZodNull]>>;
|
|
807
|
+
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
823
808
|
}, "strict", z.ZodTypeAny, {
|
|
824
809
|
object: string | {
|
|
825
810
|
type_parameter: string;
|
|
@@ -849,12 +834,7 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
|
|
|
849
834
|
id: string;
|
|
850
835
|
content_raw?: any;
|
|
851
836
|
}[] | undefined;
|
|
852
|
-
um?:
|
|
853
|
-
name?: string | undefined;
|
|
854
|
-
replaceExistName?: boolean | undefined;
|
|
855
|
-
tags?: string[] | undefined;
|
|
856
|
-
onChain?: boolean | undefined;
|
|
857
|
-
} | null | undefined;
|
|
837
|
+
um?: string | null | undefined;
|
|
858
838
|
external_deposit_guard?: {
|
|
859
839
|
op: "add";
|
|
860
840
|
guards: {
|
|
@@ -976,12 +956,7 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
|
|
|
976
956
|
id: string;
|
|
977
957
|
content_raw?: any;
|
|
978
958
|
}[] | undefined;
|
|
979
|
-
um?:
|
|
980
|
-
name?: string | undefined;
|
|
981
|
-
replaceExistName?: boolean | undefined;
|
|
982
|
-
tags?: string[] | undefined;
|
|
983
|
-
onChain?: boolean | undefined;
|
|
984
|
-
} | null | undefined;
|
|
959
|
+
um?: string | null | undefined;
|
|
985
960
|
external_deposit_guard?: {
|
|
986
961
|
op: "add";
|
|
987
962
|
guards: {
|
|
@@ -1546,22 +1521,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1546
1521
|
balance: string | number;
|
|
1547
1522
|
token_type: string;
|
|
1548
1523
|
}>, z.ZodLiteral<"recently">]>>;
|
|
1549
|
-
um: z.ZodOptional<z.ZodUnion<[z.
|
|
1550
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1551
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1552
|
-
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
1553
|
-
replaceExistName: z.ZodOptional<z.ZodBoolean>;
|
|
1554
|
-
}, "strict", z.ZodTypeAny, {
|
|
1555
|
-
name?: string | undefined;
|
|
1556
|
-
replaceExistName?: boolean | undefined;
|
|
1557
|
-
tags?: string[] | undefined;
|
|
1558
|
-
onChain?: boolean | undefined;
|
|
1559
|
-
}, {
|
|
1560
|
-
name?: string | undefined;
|
|
1561
|
-
replaceExistName?: boolean | undefined;
|
|
1562
|
-
tags?: string[] | undefined;
|
|
1563
|
-
onChain?: boolean | undefined;
|
|
1564
|
-
}>, z.ZodNull]>>;
|
|
1524
|
+
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
1565
1525
|
}, "strict", z.ZodTypeAny, {
|
|
1566
1526
|
object: string | {
|
|
1567
1527
|
type_parameter: string;
|
|
@@ -1591,12 +1551,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1591
1551
|
id: string;
|
|
1592
1552
|
content_raw?: any;
|
|
1593
1553
|
}[] | undefined;
|
|
1594
|
-
um?:
|
|
1595
|
-
name?: string | undefined;
|
|
1596
|
-
replaceExistName?: boolean | undefined;
|
|
1597
|
-
tags?: string[] | undefined;
|
|
1598
|
-
onChain?: boolean | undefined;
|
|
1599
|
-
} | null | undefined;
|
|
1554
|
+
um?: string | null | undefined;
|
|
1600
1555
|
external_deposit_guard?: {
|
|
1601
1556
|
op: "add";
|
|
1602
1557
|
guards: {
|
|
@@ -1718,12 +1673,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1718
1673
|
id: string;
|
|
1719
1674
|
content_raw?: any;
|
|
1720
1675
|
}[] | undefined;
|
|
1721
|
-
um?:
|
|
1722
|
-
name?: string | undefined;
|
|
1723
|
-
replaceExistName?: boolean | undefined;
|
|
1724
|
-
tags?: string[] | undefined;
|
|
1725
|
-
onChain?: boolean | undefined;
|
|
1726
|
-
} | null | undefined;
|
|
1676
|
+
um?: string | null | undefined;
|
|
1727
1677
|
external_deposit_guard?: {
|
|
1728
1678
|
op: "add";
|
|
1729
1679
|
guards: {
|
|
@@ -1821,7 +1771,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1821
1771
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1822
1772
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1823
1773
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
1824
|
-
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
|
|
1774
|
+
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
|
|
1825
1775
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1826
1776
|
}, "strict", z.ZodTypeAny, {
|
|
1827
1777
|
account: string;
|
|
@@ -2046,12 +1996,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
2046
1996
|
id: string;
|
|
2047
1997
|
content_raw?: any;
|
|
2048
1998
|
}[] | undefined;
|
|
2049
|
-
um?:
|
|
2050
|
-
name?: string | undefined;
|
|
2051
|
-
replaceExistName?: boolean | undefined;
|
|
2052
|
-
tags?: string[] | undefined;
|
|
2053
|
-
onChain?: boolean | undefined;
|
|
2054
|
-
} | null | undefined;
|
|
1999
|
+
um?: string | null | undefined;
|
|
2055
2000
|
external_deposit_guard?: {
|
|
2056
2001
|
op: "add";
|
|
2057
2002
|
guards: {
|
|
@@ -2209,12 +2154,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
2209
2154
|
id: string;
|
|
2210
2155
|
content_raw?: any;
|
|
2211
2156
|
}[] | undefined;
|
|
2212
|
-
um?:
|
|
2213
|
-
name?: string | undefined;
|
|
2214
|
-
replaceExistName?: boolean | undefined;
|
|
2215
|
-
tags?: string[] | undefined;
|
|
2216
|
-
onChain?: boolean | undefined;
|
|
2217
|
-
} | null | undefined;
|
|
2157
|
+
um?: string | null | undefined;
|
|
2218
2158
|
external_deposit_guard?: {
|
|
2219
2159
|
op: "add";
|
|
2220
2160
|
guards: {
|
|
@@ -62,7 +62,7 @@ export const CallTreasury_DataSchema = z.object({
|
|
|
62
62
|
external_deposit_guard: ExternalDepositGuardSchema.optional().describe("Set external deposit Guard for Treasury object"),
|
|
63
63
|
external_withdraw_guard: ExternalWithdrawGuardSchema.optional().describe("Set external withdrawal Guard for Treasury object"),
|
|
64
64
|
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."),
|
|
65
|
-
um: z.union([
|
|
65
|
+
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
|
|
66
66
|
}).strict().describe("On-chain Treasury operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create a Treasury. 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.");
|
|
67
67
|
export const CallTreasury_InputSchema = z.object({
|
|
68
68
|
data: CallTreasury_DataSchema,
|