wowok_agent 2.1.37 → 2.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/index.d.ts +45 -2
  2. package/dist/index.js +1 -1319
  3. package/dist/schema/call/allocation.js +1 -27
  4. package/dist/schema/call/arbitration.js +1 -106
  5. package/dist/schema/call/base.js +1 -152
  6. package/dist/schema/call/contact.js +1 -41
  7. package/dist/schema/call/demand.js +1 -51
  8. package/dist/schema/call/guard.d.ts +6 -6
  9. package/dist/schema/call/guard.js +1 -67
  10. package/dist/schema/call/handler.d.ts +0 -45
  11. package/dist/schema/call/handler.js +1 -214
  12. package/dist/schema/call/index.js +1 -19
  13. package/dist/schema/call/machine.js +1 -164
  14. package/dist/schema/call/order.js +1 -39
  15. package/dist/schema/call/payment.js +1 -20
  16. package/dist/schema/call/permission.js +1 -118
  17. package/dist/schema/call/personal.js +1 -81
  18. package/dist/schema/call/progress.js +1 -28
  19. package/dist/schema/call/proof.js +1 -27
  20. package/dist/schema/call/repository.js +1 -85
  21. package/dist/schema/call/reward.d.ts +12 -0
  22. package/dist/schema/call/reward.js +1 -46
  23. package/dist/schema/call/service.js +1 -88
  24. package/dist/schema/call/treasury.d.ts +84 -0
  25. package/dist/schema/call/treasury.js +1 -76
  26. package/dist/schema/common/index.js +1 -395
  27. package/dist/schema/index.js +1 -8
  28. package/dist/schema/local/index.js +1 -913
  29. package/dist/schema/local/wip.js +1 -230
  30. package/dist/schema/messenger/index.d.ts +0 -2
  31. package/dist/schema/messenger/index.js +1 -479
  32. package/dist/schema/query/index.d.ts +155 -0
  33. package/dist/schema/query/index.js +1 -1256
  34. package/dist/schema/utils/guard-parser.js +1 -410
  35. package/dist/schema/utils/guard-query-utils.js +1 -22
  36. package/dist/schema/utils/node-parser.d.ts +0 -14
  37. package/dist/schema/utils/node-parser.js +1 -382
  38. package/dist/schema/utils/permission-index-utils.js +1 -10
  39. package/package.json +5 -3
@@ -1,88 +1 @@
1
- import { z } from "zod";
2
- import { TypedPermissionObjectSchema, CoinParamSchema, NamedObjectSchema, ObjectsSchema, CallEnvSchema, SubmissionCallSchema } from "./base.js";
3
- import { AllocatorsSchema, DiscountTypeSchema, ServiceSaleSchema } from "../query/index.js";
4
- import { AccountOrMark_AddressSchema, DescriptionSchema, LongNameSchema, ManyAccountOrMark_AddressSchema, NameOrAddressSchema, NotEmptyNameSchema, ReceivedBalanceOrRecentlySchema, ReceivedObjectsOrRecentlySchema } from "../common/index.js";
5
- import { BalanceTypeSchema } from "../common/index.js";
6
- // ServiceBuyItem 接口
7
- export const ServiceBuyItemSchema = z.object({
8
- name: LongNameSchema.describe("Name of the product or service to purchase"),
9
- stock: BalanceTypeSchema.describe("Quantity of the product or service to purchase"),
10
- wip_hash: z.string().describe("WIP file hash of the item"),
11
- }).strict();
12
- // Buy 接口
13
- export const BuySchema = z.object({
14
- items: z.array(ServiceBuyItemSchema).describe("List of products or services to purchase"),
15
- total_pay: CoinParamSchema.describe("Actual payment amount"),
16
- discount: z.string().optional().describe("Discount object ID or name"),
17
- payment_remark: z.string().optional().describe("Payment remark"),
18
- payment_index: z.number().optional().describe("Payment index"),
19
- }).strict();
20
- // Discount 接口
21
- export const DiscountSchema = z.object({
22
- name: z.string().describe("Discount name"),
23
- discount_type: DiscountTypeSchema.describe("Discount type"),
24
- discount_value: BalanceTypeSchema.describe("Discount value"),
25
- benchmark: z.union([z.number(), z.string()]).optional().describe("Discount benchmark value. Discount is only applied if the amount exceeds this value"),
26
- time_ms_start: z.number().optional().describe("Discount start time (milliseconds)"),
27
- time_ms_end: z.number().optional().describe("Discount end time (milliseconds)"),
28
- count: z.number().optional().describe("Discount usage count"),
29
- recipient: ManyAccountOrMark_AddressSchema.describe("Discount recipient"),
30
- transferable: z.boolean().optional().describe("Whether the discount object recipient can transfer the discount object"),
31
- }).strict();
32
- // OrderNew 接口
33
- export const OrderNewSchema = z.object({
34
- buy: BuySchema,
35
- agents: ManyAccountOrMark_AddressSchema.optional().describe("Order agents. Agents can operate the order, such as canceling the order, modifying the order status, etc.; but cannot receive the funds received by the order."),
36
- order_required_info: z.string().optional().describe("Contact object ID or WTS Proof object"),
37
- transfer: AccountOrMark_AddressSchema.optional().describe("Set the new owner of the order. Requires order owner permission to set."),
38
- namedNewOrder: NamedObjectSchema.optional().describe("Set the local name of the order object."),
39
- namedNewAllocation: NamedObjectSchema.optional().describe("Set the local name of the order's Allocation object."),
40
- namedNewProgress: NamedObjectSchema.optional().describe("Set the local name of the order's Progress object."),
41
- }).strict();
42
- // Sales 操作类型
43
- export const SalesSchema = z.discriminatedUnion("op", [
44
- z.object({
45
- op: z.literal("add"),
46
- sales: z.array(ServiceSaleSchema),
47
- }).strict().describe("Add new sales products or services."),
48
- z.object({
49
- op: z.literal("set"),
50
- sales: z.array(ServiceSaleSchema),
51
- }).strict().describe("Set sales products or services."),
52
- z.object({
53
- op: z.literal("remove"),
54
- sales_name: z.array(LongNameSchema.describe("Sales name")),
55
- }).strict().describe("Remove existing sales products or services."),
56
- z.object({
57
- op: z.literal("clear"),
58
- }).strict().describe("Clear all sales products or services."),
59
- ]);
60
- // CallService_Data 接口
61
- export const CallService_DataSchema = z.object({
62
- object: TypedPermissionObjectSchema,
63
- order_new: OrderNewSchema.optional().describe("Create new order."),
64
- description: DescriptionSchema.optional(),
65
- location: LongNameSchema.optional().describe("Location of the Service"),
66
- sales: SalesSchema.optional().describe("Service sales products or services list."),
67
- repositories: ObjectsSchema.optional().describe("Service Repository object list."),
68
- rewards: ObjectsSchema.optional().describe("Service Reward object list."),
69
- arbitrations: ObjectsSchema.optional().describe("Service Arbitration object list."),
70
- machine: z.union([NameOrAddressSchema, z.null()]).optional().describe("Service Machine object ID or name. The Machine object must be in published state."),
71
- discount: DiscountSchema.optional().describe("Issue discount."),
72
- discount_destroy: z.array(NameOrAddressSchema).optional().describe("Destroy existing discount object ID list."),
73
- customer_required: z.array(NotEmptyNameSchema).optional().describe("Customer required information. Such as phone, email, etc."),
74
- order_allocators: z.union([AllocatorsSchema, z.null()]).optional().describe("Order fund allocator."),
75
- buy_guard: z.union([NameOrAddressSchema, z.null()]).optional().describe("Buy guard object ID or name."),
76
- compensation_fund_add: CoinParamSchema.optional().describe("Compensation fund. Used to claim compensation based on the arbitration result of the Arb object when resolving order disputes."),
77
- compensation_locked_time_add: z.number().optional().describe("Lock time for compensation funds added to orders (milliseconds)."),
78
- compensation_fund_receive: ReceivedBalanceOrRecentlySchema.optional().describe("Receive order compensation funds."),
79
- 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."),
80
- um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
81
- pause: z.boolean().optional().describe("Whether to pause accepting new orders."),
82
- publish: z.boolean().optional().describe("Whether to publish the Service. After publishing, customers can place orders; at the same time, service commitments such as machine, order_allocators, arbitrations, etc. will be immutable."),
83
- }).strict().describe("On-chain Service operations. USAGE: (1) CREATE NEW: Set 'object' field with {name, type, permission, ...} to create a Service. 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 object ID or name. The 'object' field is CRITICAL and REQUIRED in both cases.");
84
- export const CallService_InputSchema = z.object({
85
- data: CallService_DataSchema,
86
- env: CallEnvSchema.optional(),
87
- submission: SubmissionCallSchema.optional(),
88
- }).strict();
1
+ import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,ObjectsSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{AllocatorsSchema,DiscountTypeSchema,ServiceSaleSchema}from'../query/index.js';import{AccountOrMark_AddressSchema,DescriptionSchema,LongNameSchema,ManyAccountOrMark_AddressSchema,NameOrAddressSchema,NotEmptyNameSchema,ReceivedBalanceOrRecentlySchema,ReceivedObjectsOrRecentlySchema}from'../common/index.js';import{BalanceTypeSchema}from'../common/index.js';export const ServiceBuyItemSchema=z['object']({'name':LongNameSchema['describe']('Name\x20of\x20the\x20product\x20or\x20service\x20to\x20purchase'),'stock':BalanceTypeSchema['describe']('Quantity\x20of\x20the\x20product\x20or\x20service\x20to\x20purchase'),'wip_hash':z['string']()['describe']('WIP\x20file\x20hash\x20of\x20the\x20item')})['strict']();export const BuySchema=z['object']({'items':z['array'](ServiceBuyItemSchema)['describe']('List\x20of\x20products\x20or\x20services\x20to\x20purchase'),'total_pay':CoinParamSchema['describe']('Actual\x20payment\x20amount'),'discount':z['string']()['optional']()['describe']('Discount\x20object\x20ID\x20or\x20name'),'payment_remark':z['string']()['optional']()['describe']('Payment\x20remark'),'payment_index':z['number']()['optional']()['describe']('Payment\x20index')})['strict']();export const DiscountSchema=z['object']({'name':z['string']()['describe']('Discount\x20name'),'discount_type':DiscountTypeSchema['describe']('Discount\x20type'),'discount_value':BalanceTypeSchema['describe']('Discount\x20value'),'benchmark':z['union']([z['number'](),z['string']()])['optional']()['describe']('Discount\x20benchmark\x20value.\x20Discount\x20is\x20only\x20applied\x20if\x20the\x20amount\x20exceeds\x20this\x20value'),'time_ms_start':z['number']()['optional']()['describe']('Discount\x20start\x20time\x20(milliseconds)'),'time_ms_end':z['number']()['optional']()['describe']('Discount\x20end\x20time\x20(milliseconds)'),'count':z['number']()['optional']()['describe']('Discount\x20usage\x20count'),'recipient':ManyAccountOrMark_AddressSchema['describe']('Discount\x20recipient'),'transferable':z['boolean']()['optional']()['describe']('Whether\x20the\x20discount\x20object\x20recipient\x20can\x20transfer\x20the\x20discount\x20object')})['strict']();export const OrderNewSchema=z['object']({'buy':BuySchema,'agents':ManyAccountOrMark_AddressSchema['optional']()['describe']('Order\x20agents.\x20Agents\x20can\x20operate\x20the\x20order,\x20such\x20as\x20canceling\x20the\x20order,\x20modifying\x20the\x20order\x20status,\x20etc.;\x20but\x20cannot\x20receive\x20the\x20funds\x20received\x20by\x20the\x20order.'),'order_required_info':z['string']()['optional']()['describe']('Contact\x20object\x20ID\x20or\x20WTS\x20Proof\x20object'),'transfer':AccountOrMark_AddressSchema['optional']()['describe']('Set\x20the\x20new\x20owner\x20of\x20the\x20order.\x20Requires\x20order\x20owner\x20permission\x20to\x20set.'),'namedNewOrder':NamedObjectSchema['optional']()['describe']('Set\x20the\x20local\x20name\x20of\x20the\x20order\x20object.'),'namedNewAllocation':NamedObjectSchema['optional']()['describe']('Set\x20the\x20local\x20name\x20of\x20the\x20order\x27s\x20Allocation\x20object.'),'namedNewProgress':NamedObjectSchema['optional']()['describe']('Set\x20the\x20local\x20name\x20of\x20the\x20order\x27s\x20Progress\x20object.')})['strict']();export const SalesSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'sales':z['array'](ServiceSaleSchema)})['strict']()['describe']('Add\x20new\x20sales\x20products\x20or\x20services.'),z['object']({'op':z['literal']('set'),'sales':z['array'](ServiceSaleSchema)})['strict']()['describe']('Set\x20sales\x20products\x20or\x20services.'),z['object']({'op':z['literal']('remove'),'sales_name':z['array'](LongNameSchema['describe']('Sales\x20name'))})['strict']()['describe']('Remove\x20existing\x20sales\x20products\x20or\x20services.'),z['object']({'op':z['literal']('clear')})['strict']()['describe']('Clear\x20all\x20sales\x20products\x20or\x20services.')]);export const CallService_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'order_new':OrderNewSchema['optional']()['describe']('Create\x20new\x20order.'),'description':DescriptionSchema['optional'](),'location':LongNameSchema['optional']()['describe']('Location\x20of\x20the\x20Service'),'sales':SalesSchema['optional']()['describe']('Service\x20sales\x20products\x20or\x20services\x20list.'),'repositories':ObjectsSchema['optional']()['describe']('Service\x20Repository\x20object\x20list.'),'rewards':ObjectsSchema['optional']()['describe']('Service\x20Reward\x20object\x20list.'),'arbitrations':ObjectsSchema['optional']()['describe']('Service\x20Arbitration\x20object\x20list.'),'machine':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Service\x20Machine\x20object\x20ID\x20or\x20name.\x20The\x20Machine\x20object\x20must\x20be\x20in\x20published\x20state.'),'discount':DiscountSchema['optional']()['describe']('Issue\x20discount.'),'discount_destroy':z['array'](NameOrAddressSchema)['optional']()['describe']('Destroy\x20existing\x20discount\x20object\x20ID\x20list.'),'customer_required':z['array'](NotEmptyNameSchema)['optional']()['describe']('Customer\x20required\x20information.\x20Such\x20as\x20phone,\x20email,\x20etc.'),'order_allocators':z['union']([AllocatorsSchema,z['null']()])['optional']()['describe']('Order\x20fund\x20allocator.'),'buy_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Buy\x20guard\x20object\x20ID\x20or\x20name.'),'compensation_fund_add':CoinParamSchema['optional']()['describe']('Compensation\x20fund.\x20Used\x20to\x20claim\x20compensation\x20based\x20on\x20the\x20arbitration\x20result\x20of\x20the\x20Arb\x20object\x20when\x20resolving\x20order\x20disputes.'),'compensation_locked_time_add':z['number']()['optional']()['describe']('Lock\x20time\x20for\x20compensation\x20funds\x20added\x20to\x20orders\x20(milliseconds).'),'compensation_fund_receive':ReceivedBalanceOrRecentlySchema['optional']()['describe']('Receive\x20order\x20compensation\x20funds.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20accepting\x20new\x20orders.'),'publish':z['boolean']()['optional']()['describe']('Whether\x20to\x20publish\x20the\x20Service.\x20After\x20publishing,\x20customers\x20can\x20place\x20orders;\x20at\x20the\x20same\x20time,\x20service\x20commitments\x20such\x20as\x20machine,\x20order_allocators,\x20arbitrations,\x20etc.\x20will\x20be\x20immutable.')})['strict']()['describe']('On-chain\x20Service\x20operations.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20a\x20Service.\x20NOTE:\x20\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallService_InputSchema=z['object']({'data':CallService_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
@@ -191,48 +191,58 @@ export declare const ExternalDepositGuardSchema: z.ZodDiscriminatedUnion<"op", [
191
191
  guards: z.ZodArray<z.ZodObject<{
192
192
  guard: z.ZodString;
193
193
  identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
194
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
194
195
  }, "strip", z.ZodTypeAny, {
195
196
  guard: string;
196
197
  identifier?: number | null | undefined;
198
+ store_from_id?: number | null | undefined;
197
199
  }, {
198
200
  guard: string;
199
201
  identifier?: number | null | undefined;
202
+ store_from_id?: number | null | undefined;
200
203
  }>, "many">;
201
204
  }, "strict", z.ZodTypeAny, {
202
205
  op: "add";
203
206
  guards: {
204
207
  guard: string;
205
208
  identifier?: number | null | undefined;
209
+ store_from_id?: number | null | undefined;
206
210
  }[];
207
211
  }, {
208
212
  op: "add";
209
213
  guards: {
210
214
  guard: string;
211
215
  identifier?: number | null | undefined;
216
+ store_from_id?: number | null | undefined;
212
217
  }[];
213
218
  }>, z.ZodObject<{
214
219
  op: z.ZodLiteral<"set">;
215
220
  guards: z.ZodArray<z.ZodObject<{
216
221
  guard: z.ZodString;
217
222
  identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
223
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
218
224
  }, "strip", z.ZodTypeAny, {
219
225
  guard: string;
220
226
  identifier?: number | null | undefined;
227
+ store_from_id?: number | null | undefined;
221
228
  }, {
222
229
  guard: string;
223
230
  identifier?: number | null | undefined;
231
+ store_from_id?: number | null | undefined;
224
232
  }>, "many">;
225
233
  }, "strict", z.ZodTypeAny, {
226
234
  op: "set";
227
235
  guards: {
228
236
  guard: string;
229
237
  identifier?: number | null | undefined;
238
+ store_from_id?: number | null | undefined;
230
239
  }[];
231
240
  }, {
232
241
  op: "set";
233
242
  guards: {
234
243
  guard: string;
235
244
  identifier?: number | null | undefined;
245
+ store_from_id?: number | null | undefined;
236
246
  }[];
237
247
  }>, z.ZodObject<{
238
248
  op: z.ZodLiteral<"remove">;
@@ -255,48 +265,58 @@ export declare const ExternalWithdrawGuardSchema: z.ZodDiscriminatedUnion<"op",
255
265
  guards: z.ZodArray<z.ZodObject<{
256
266
  guard: z.ZodString;
257
267
  identifier: z.ZodNumber;
268
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
258
269
  }, "strip", z.ZodTypeAny, {
259
270
  identifier: number;
260
271
  guard: string;
272
+ store_from_id?: number | null | undefined;
261
273
  }, {
262
274
  identifier: number;
263
275
  guard: string;
276
+ store_from_id?: number | null | undefined;
264
277
  }>, "many">;
265
278
  }, "strict", z.ZodTypeAny, {
266
279
  op: "add";
267
280
  guards: {
268
281
  identifier: number;
269
282
  guard: string;
283
+ store_from_id?: number | null | undefined;
270
284
  }[];
271
285
  }, {
272
286
  op: "add";
273
287
  guards: {
274
288
  identifier: number;
275
289
  guard: string;
290
+ store_from_id?: number | null | undefined;
276
291
  }[];
277
292
  }>, z.ZodObject<{
278
293
  op: z.ZodLiteral<"set">;
279
294
  guards: z.ZodArray<z.ZodObject<{
280
295
  guard: z.ZodString;
281
296
  identifier: z.ZodNumber;
297
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
282
298
  }, "strip", z.ZodTypeAny, {
283
299
  identifier: number;
284
300
  guard: string;
301
+ store_from_id?: number | null | undefined;
285
302
  }, {
286
303
  identifier: number;
287
304
  guard: string;
305
+ store_from_id?: number | null | undefined;
288
306
  }>, "many">;
289
307
  }, "strict", z.ZodTypeAny, {
290
308
  op: "set";
291
309
  guards: {
292
310
  identifier: number;
293
311
  guard: string;
312
+ store_from_id?: number | null | undefined;
294
313
  }[];
295
314
  }, {
296
315
  op: "set";
297
316
  guards: {
298
317
  identifier: number;
299
318
  guard: string;
319
+ store_from_id?: number | null | undefined;
300
320
  }[];
301
321
  }>, z.ZodObject<{
302
322
  op: z.ZodLiteral<"remove">;
@@ -596,48 +616,58 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
596
616
  guards: z.ZodArray<z.ZodObject<{
597
617
  guard: z.ZodString;
598
618
  identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
619
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
599
620
  }, "strip", z.ZodTypeAny, {
600
621
  guard: string;
601
622
  identifier?: number | null | undefined;
623
+ store_from_id?: number | null | undefined;
602
624
  }, {
603
625
  guard: string;
604
626
  identifier?: number | null | undefined;
627
+ store_from_id?: number | null | undefined;
605
628
  }>, "many">;
606
629
  }, "strict", z.ZodTypeAny, {
607
630
  op: "add";
608
631
  guards: {
609
632
  guard: string;
610
633
  identifier?: number | null | undefined;
634
+ store_from_id?: number | null | undefined;
611
635
  }[];
612
636
  }, {
613
637
  op: "add";
614
638
  guards: {
615
639
  guard: string;
616
640
  identifier?: number | null | undefined;
641
+ store_from_id?: number | null | undefined;
617
642
  }[];
618
643
  }>, z.ZodObject<{
619
644
  op: z.ZodLiteral<"set">;
620
645
  guards: z.ZodArray<z.ZodObject<{
621
646
  guard: z.ZodString;
622
647
  identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
648
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
623
649
  }, "strip", z.ZodTypeAny, {
624
650
  guard: string;
625
651
  identifier?: number | null | undefined;
652
+ store_from_id?: number | null | undefined;
626
653
  }, {
627
654
  guard: string;
628
655
  identifier?: number | null | undefined;
656
+ store_from_id?: number | null | undefined;
629
657
  }>, "many">;
630
658
  }, "strict", z.ZodTypeAny, {
631
659
  op: "set";
632
660
  guards: {
633
661
  guard: string;
634
662
  identifier?: number | null | undefined;
663
+ store_from_id?: number | null | undefined;
635
664
  }[];
636
665
  }, {
637
666
  op: "set";
638
667
  guards: {
639
668
  guard: string;
640
669
  identifier?: number | null | undefined;
670
+ store_from_id?: number | null | undefined;
641
671
  }[];
642
672
  }>, z.ZodObject<{
643
673
  op: z.ZodLiteral<"remove">;
@@ -660,48 +690,58 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
660
690
  guards: z.ZodArray<z.ZodObject<{
661
691
  guard: z.ZodString;
662
692
  identifier: z.ZodNumber;
693
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
663
694
  }, "strip", z.ZodTypeAny, {
664
695
  identifier: number;
665
696
  guard: string;
697
+ store_from_id?: number | null | undefined;
666
698
  }, {
667
699
  identifier: number;
668
700
  guard: string;
701
+ store_from_id?: number | null | undefined;
669
702
  }>, "many">;
670
703
  }, "strict", z.ZodTypeAny, {
671
704
  op: "add";
672
705
  guards: {
673
706
  identifier: number;
674
707
  guard: string;
708
+ store_from_id?: number | null | undefined;
675
709
  }[];
676
710
  }, {
677
711
  op: "add";
678
712
  guards: {
679
713
  identifier: number;
680
714
  guard: string;
715
+ store_from_id?: number | null | undefined;
681
716
  }[];
682
717
  }>, z.ZodObject<{
683
718
  op: z.ZodLiteral<"set">;
684
719
  guards: z.ZodArray<z.ZodObject<{
685
720
  guard: z.ZodString;
686
721
  identifier: z.ZodNumber;
722
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
687
723
  }, "strip", z.ZodTypeAny, {
688
724
  identifier: number;
689
725
  guard: string;
726
+ store_from_id?: number | null | undefined;
690
727
  }, {
691
728
  identifier: number;
692
729
  guard: string;
730
+ store_from_id?: number | null | undefined;
693
731
  }>, "many">;
694
732
  }, "strict", z.ZodTypeAny, {
695
733
  op: "set";
696
734
  guards: {
697
735
  identifier: number;
698
736
  guard: string;
737
+ store_from_id?: number | null | undefined;
699
738
  }[];
700
739
  }, {
701
740
  op: "set";
702
741
  guards: {
703
742
  identifier: number;
704
743
  guard: string;
744
+ store_from_id?: number | null | undefined;
705
745
  }[];
706
746
  }>, z.ZodObject<{
707
747
  op: z.ZodLiteral<"remove">;
@@ -816,12 +856,14 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
816
856
  guards: {
817
857
  guard: string;
818
858
  identifier?: number | null | undefined;
859
+ store_from_id?: number | null | undefined;
819
860
  }[];
820
861
  } | {
821
862
  op: "set";
822
863
  guards: {
823
864
  guard: string;
824
865
  identifier?: number | null | undefined;
866
+ store_from_id?: number | null | undefined;
825
867
  }[];
826
868
  } | {
827
869
  op: "remove";
@@ -834,12 +876,14 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
834
876
  guards: {
835
877
  identifier: number;
836
878
  guard: string;
879
+ store_from_id?: number | null | undefined;
837
880
  }[];
838
881
  } | {
839
882
  op: "set";
840
883
  guards: {
841
884
  identifier: number;
842
885
  guard: string;
886
+ store_from_id?: number | null | undefined;
843
887
  }[];
844
888
  } | {
845
889
  op: "remove";
@@ -938,12 +982,14 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
938
982
  guards: {
939
983
  guard: string;
940
984
  identifier?: number | null | undefined;
985
+ store_from_id?: number | null | undefined;
941
986
  }[];
942
987
  } | {
943
988
  op: "set";
944
989
  guards: {
945
990
  guard: string;
946
991
  identifier?: number | null | undefined;
992
+ store_from_id?: number | null | undefined;
947
993
  }[];
948
994
  } | {
949
995
  op: "remove";
@@ -956,12 +1002,14 @@ export declare const CallTreasury_DataSchema: z.ZodObject<{
956
1002
  guards: {
957
1003
  identifier: number;
958
1004
  guard: string;
1005
+ store_from_id?: number | null | undefined;
959
1006
  }[];
960
1007
  } | {
961
1008
  op: "set";
962
1009
  guards: {
963
1010
  identifier: number;
964
1011
  guard: string;
1012
+ store_from_id?: number | null | undefined;
965
1013
  }[];
966
1014
  } | {
967
1015
  op: "remove";
@@ -1305,48 +1353,58 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1305
1353
  guards: z.ZodArray<z.ZodObject<{
1306
1354
  guard: z.ZodString;
1307
1355
  identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1356
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1308
1357
  }, "strip", z.ZodTypeAny, {
1309
1358
  guard: string;
1310
1359
  identifier?: number | null | undefined;
1360
+ store_from_id?: number | null | undefined;
1311
1361
  }, {
1312
1362
  guard: string;
1313
1363
  identifier?: number | null | undefined;
1364
+ store_from_id?: number | null | undefined;
1314
1365
  }>, "many">;
1315
1366
  }, "strict", z.ZodTypeAny, {
1316
1367
  op: "add";
1317
1368
  guards: {
1318
1369
  guard: string;
1319
1370
  identifier?: number | null | undefined;
1371
+ store_from_id?: number | null | undefined;
1320
1372
  }[];
1321
1373
  }, {
1322
1374
  op: "add";
1323
1375
  guards: {
1324
1376
  guard: string;
1325
1377
  identifier?: number | null | undefined;
1378
+ store_from_id?: number | null | undefined;
1326
1379
  }[];
1327
1380
  }>, z.ZodObject<{
1328
1381
  op: z.ZodLiteral<"set">;
1329
1382
  guards: z.ZodArray<z.ZodObject<{
1330
1383
  guard: z.ZodString;
1331
1384
  identifier: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1385
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1332
1386
  }, "strip", z.ZodTypeAny, {
1333
1387
  guard: string;
1334
1388
  identifier?: number | null | undefined;
1389
+ store_from_id?: number | null | undefined;
1335
1390
  }, {
1336
1391
  guard: string;
1337
1392
  identifier?: number | null | undefined;
1393
+ store_from_id?: number | null | undefined;
1338
1394
  }>, "many">;
1339
1395
  }, "strict", z.ZodTypeAny, {
1340
1396
  op: "set";
1341
1397
  guards: {
1342
1398
  guard: string;
1343
1399
  identifier?: number | null | undefined;
1400
+ store_from_id?: number | null | undefined;
1344
1401
  }[];
1345
1402
  }, {
1346
1403
  op: "set";
1347
1404
  guards: {
1348
1405
  guard: string;
1349
1406
  identifier?: number | null | undefined;
1407
+ store_from_id?: number | null | undefined;
1350
1408
  }[];
1351
1409
  }>, z.ZodObject<{
1352
1410
  op: z.ZodLiteral<"remove">;
@@ -1369,48 +1427,58 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1369
1427
  guards: z.ZodArray<z.ZodObject<{
1370
1428
  guard: z.ZodString;
1371
1429
  identifier: z.ZodNumber;
1430
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1372
1431
  }, "strip", z.ZodTypeAny, {
1373
1432
  identifier: number;
1374
1433
  guard: string;
1434
+ store_from_id?: number | null | undefined;
1375
1435
  }, {
1376
1436
  identifier: number;
1377
1437
  guard: string;
1438
+ store_from_id?: number | null | undefined;
1378
1439
  }>, "many">;
1379
1440
  }, "strict", z.ZodTypeAny, {
1380
1441
  op: "add";
1381
1442
  guards: {
1382
1443
  identifier: number;
1383
1444
  guard: string;
1445
+ store_from_id?: number | null | undefined;
1384
1446
  }[];
1385
1447
  }, {
1386
1448
  op: "add";
1387
1449
  guards: {
1388
1450
  identifier: number;
1389
1451
  guard: string;
1452
+ store_from_id?: number | null | undefined;
1390
1453
  }[];
1391
1454
  }>, z.ZodObject<{
1392
1455
  op: z.ZodLiteral<"set">;
1393
1456
  guards: z.ZodArray<z.ZodObject<{
1394
1457
  guard: z.ZodString;
1395
1458
  identifier: z.ZodNumber;
1459
+ store_from_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
1396
1460
  }, "strip", z.ZodTypeAny, {
1397
1461
  identifier: number;
1398
1462
  guard: string;
1463
+ store_from_id?: number | null | undefined;
1399
1464
  }, {
1400
1465
  identifier: number;
1401
1466
  guard: string;
1467
+ store_from_id?: number | null | undefined;
1402
1468
  }>, "many">;
1403
1469
  }, "strict", z.ZodTypeAny, {
1404
1470
  op: "set";
1405
1471
  guards: {
1406
1472
  identifier: number;
1407
1473
  guard: string;
1474
+ store_from_id?: number | null | undefined;
1408
1475
  }[];
1409
1476
  }, {
1410
1477
  op: "set";
1411
1478
  guards: {
1412
1479
  identifier: number;
1413
1480
  guard: string;
1481
+ store_from_id?: number | null | undefined;
1414
1482
  }[];
1415
1483
  }>, z.ZodObject<{
1416
1484
  op: z.ZodLiteral<"remove">;
@@ -1525,12 +1593,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1525
1593
  guards: {
1526
1594
  guard: string;
1527
1595
  identifier?: number | null | undefined;
1596
+ store_from_id?: number | null | undefined;
1528
1597
  }[];
1529
1598
  } | {
1530
1599
  op: "set";
1531
1600
  guards: {
1532
1601
  guard: string;
1533
1602
  identifier?: number | null | undefined;
1603
+ store_from_id?: number | null | undefined;
1534
1604
  }[];
1535
1605
  } | {
1536
1606
  op: "remove";
@@ -1543,12 +1613,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1543
1613
  guards: {
1544
1614
  identifier: number;
1545
1615
  guard: string;
1616
+ store_from_id?: number | null | undefined;
1546
1617
  }[];
1547
1618
  } | {
1548
1619
  op: "set";
1549
1620
  guards: {
1550
1621
  identifier: number;
1551
1622
  guard: string;
1623
+ store_from_id?: number | null | undefined;
1552
1624
  }[];
1553
1625
  } | {
1554
1626
  op: "remove";
@@ -1647,12 +1719,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1647
1719
  guards: {
1648
1720
  guard: string;
1649
1721
  identifier?: number | null | undefined;
1722
+ store_from_id?: number | null | undefined;
1650
1723
  }[];
1651
1724
  } | {
1652
1725
  op: "set";
1653
1726
  guards: {
1654
1727
  guard: string;
1655
1728
  identifier?: number | null | undefined;
1729
+ store_from_id?: number | null | undefined;
1656
1730
  }[];
1657
1731
  } | {
1658
1732
  op: "remove";
@@ -1665,12 +1739,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1665
1739
  guards: {
1666
1740
  identifier: number;
1667
1741
  guard: string;
1742
+ store_from_id?: number | null | undefined;
1668
1743
  }[];
1669
1744
  } | {
1670
1745
  op: "set";
1671
1746
  guards: {
1672
1747
  identifier: number;
1673
1748
  guard: string;
1749
+ store_from_id?: number | null | undefined;
1674
1750
  }[];
1675
1751
  } | {
1676
1752
  op: "remove";
@@ -1970,12 +2046,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1970
2046
  guards: {
1971
2047
  guard: string;
1972
2048
  identifier?: number | null | undefined;
2049
+ store_from_id?: number | null | undefined;
1973
2050
  }[];
1974
2051
  } | {
1975
2052
  op: "set";
1976
2053
  guards: {
1977
2054
  guard: string;
1978
2055
  identifier?: number | null | undefined;
2056
+ store_from_id?: number | null | undefined;
1979
2057
  }[];
1980
2058
  } | {
1981
2059
  op: "remove";
@@ -1988,12 +2066,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
1988
2066
  guards: {
1989
2067
  identifier: number;
1990
2068
  guard: string;
2069
+ store_from_id?: number | null | undefined;
1991
2070
  }[];
1992
2071
  } | {
1993
2072
  op: "set";
1994
2073
  guards: {
1995
2074
  identifier: number;
1996
2075
  guard: string;
2076
+ store_from_id?: number | null | undefined;
1997
2077
  }[];
1998
2078
  } | {
1999
2079
  op: "remove";
@@ -2128,12 +2208,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2128
2208
  guards: {
2129
2209
  guard: string;
2130
2210
  identifier?: number | null | undefined;
2211
+ store_from_id?: number | null | undefined;
2131
2212
  }[];
2132
2213
  } | {
2133
2214
  op: "set";
2134
2215
  guards: {
2135
2216
  guard: string;
2136
2217
  identifier?: number | null | undefined;
2218
+ store_from_id?: number | null | undefined;
2137
2219
  }[];
2138
2220
  } | {
2139
2221
  op: "remove";
@@ -2146,12 +2228,14 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
2146
2228
  guards: {
2147
2229
  identifier: number;
2148
2230
  guard: string;
2231
+ store_from_id?: number | null | undefined;
2149
2232
  }[];
2150
2233
  } | {
2151
2234
  op: "set";
2152
2235
  guards: {
2153
2236
  identifier: number;
2154
2237
  guard: string;
2238
+ store_from_id?: number | null | undefined;
2155
2239
  }[];
2156
2240
  } | {
2157
2241
  op: "remove";