@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.
Files changed (62) hide show
  1. package/README.md +1 -3
  2. package/dist/index.d.ts +86 -126
  3. package/dist/index.js +4 -1
  4. package/dist/schema/call/allocation.d.ts +1 -1
  5. package/dist/schema/call/arbitration.d.ts +1 -1
  6. package/dist/schema/call/arbitration.js +1 -1
  7. package/dist/schema/call/base.d.ts +830 -830
  8. package/dist/schema/call/contact.d.ts +1 -1
  9. package/dist/schema/call/demand.d.ts +1 -1
  10. package/dist/schema/call/demand.js +1 -1
  11. package/dist/schema/call/guard.d.ts +3 -3
  12. package/dist/schema/call/machine.d.ts +4 -4
  13. package/dist/schema/call/machine.js +1 -1
  14. package/dist/schema/call/order.d.ts +15 -15
  15. package/dist/schema/call/order.js +1 -1
  16. package/dist/schema/call/payment.d.ts +1 -1
  17. package/dist/schema/call/permission.d.ts +1 -1
  18. package/dist/schema/call/permission.js +1 -1
  19. package/dist/schema/call/personal.d.ts +1 -1
  20. package/dist/schema/call/progress.d.ts +1 -1
  21. package/dist/schema/call/proof.d.ts +13 -98
  22. package/dist/schema/call/proof.js +3 -3
  23. package/dist/schema/call/repository.d.ts +79 -79
  24. package/dist/schema/call/repository.js +4 -3
  25. package/dist/schema/call/reward.d.ts +1 -1
  26. package/dist/schema/call/reward.js +1 -1
  27. package/dist/schema/call/service.d.ts +46 -46
  28. package/dist/schema/call/service.js +3 -3
  29. package/dist/schema/call/treasury.d.ts +9 -69
  30. package/dist/schema/call/treasury.js +1 -1
  31. package/dist/schema/common/index.d.ts +46 -46
  32. package/dist/schema/common/index.js +5 -3
  33. package/dist/schema/local/index.d.ts +1906 -1906
  34. package/dist/schema/local/index.js +12 -12
  35. package/dist/schema/local/wip.d.ts +16 -16
  36. package/dist/schema/local/wip.js +2 -2
  37. package/dist/schema/messenger/index.d.ts +1 -1
  38. package/dist/schema/query/index.d.ts +6918 -6918
  39. package/dist/schema/query/index.js +6 -6
  40. package/dist/schemas/account_operation.schema.json +4 -2
  41. package/dist/schemas/guard2file.schema.json +2 -1
  42. package/dist/schemas/index.json +1 -1
  43. package/dist/schemas/machineNode2file.schema.json +2 -1
  44. package/dist/schemas/messenger_operation.schema.json +2 -1
  45. package/dist/schemas/onchain_events.schema.json +6 -2
  46. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  47. package/dist/schemas/onchain_operations_arbitration.schema.json +3 -2
  48. package/dist/schemas/onchain_operations_contact.schema.json +2 -1
  49. package/dist/schemas/onchain_operations_demand.schema.json +3 -2
  50. package/dist/schemas/onchain_operations_gen_passport.schema.json +4 -2
  51. package/dist/schemas/onchain_operations_guard.schema.json +2 -1
  52. package/dist/schemas/onchain_operations_machine.schema.json +10 -5
  53. package/dist/schemas/onchain_operations_order.schema.json +6 -5
  54. package/dist/schemas/onchain_operations_payment.schema.json +2 -1
  55. package/dist/schemas/onchain_operations_permission.schema.json +3 -2
  56. package/dist/schemas/onchain_operations_personal.schema.json +2 -1
  57. package/dist/schemas/onchain_operations_progress.schema.json +2 -1
  58. package/dist/schemas/onchain_operations_repository.schema.json +9 -5
  59. package/dist/schemas/onchain_operations_reward.schema.json +3 -2
  60. package/dist/schemas/onchain_operations_service.schema.json +6 -2
  61. package/dist/schemas/onchain_operations_treasury.schema.json +4 -3
  62. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const RepositoryIdSchema: z.ZodUnion<[z.ZodObject<{
2
+ export declare const RepositoryIdSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
3
3
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4
4
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
5
5
  }, "strict", z.ZodTypeAny, {
@@ -8,9 +8,9 @@ export declare const RepositoryIdSchema: z.ZodUnion<[z.ZodObject<{
8
8
  }, {
9
9
  name_or_address?: string | undefined;
10
10
  local_mark_first?: boolean | undefined;
11
- }>, z.ZodNumber]>;
11
+ }>]>;
12
12
  export declare const KeyDataSchema: z.ZodObject<{
13
- id: z.ZodUnion<[z.ZodObject<{
13
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
14
14
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
15
15
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
16
16
  }, "strict", z.ZodTypeAny, {
@@ -19,7 +19,7 @@ export declare const KeyDataSchema: z.ZodObject<{
19
19
  }, {
20
20
  name_or_address?: string | undefined;
21
21
  local_mark_first?: boolean | undefined;
22
- }>, z.ZodNumber]>;
22
+ }>]>;
23
23
  data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
24
24
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
25
25
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -55,13 +55,13 @@ export declare const KeyDataSchema: z.ZodObject<{
55
55
  check_all_founded?: boolean | undefined;
56
56
  }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
57
57
  }, "strict", z.ZodTypeAny, {
58
- id: number | {
58
+ id: string | number | {
59
59
  name_or_address?: string | undefined;
60
60
  local_mark_first?: boolean | undefined;
61
61
  };
62
62
  data?: any;
63
63
  }, {
64
- id: number | {
64
+ id: string | number | {
65
65
  name_or_address?: string | undefined;
66
66
  local_mark_first?: boolean | undefined;
67
67
  };
@@ -69,7 +69,7 @@ export declare const KeyDataSchema: z.ZodObject<{
69
69
  }>;
70
70
  export declare const RepDataItemSchema: z.ZodObject<{
71
71
  data: z.ZodArray<z.ZodObject<{
72
- id: z.ZodUnion<[z.ZodObject<{
72
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
73
73
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
74
74
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
75
75
  }, "strict", z.ZodTypeAny, {
@@ -78,7 +78,7 @@ export declare const RepDataItemSchema: z.ZodObject<{
78
78
  }, {
79
79
  name_or_address?: string | undefined;
80
80
  local_mark_first?: boolean | undefined;
81
- }>, z.ZodNumber]>;
81
+ }>]>;
82
82
  data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
83
83
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
84
84
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -114,13 +114,13 @@ export declare const RepDataItemSchema: z.ZodObject<{
114
114
  check_all_founded?: boolean | undefined;
115
115
  }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
116
116
  }, "strict", z.ZodTypeAny, {
117
- id: number | {
117
+ id: string | number | {
118
118
  name_or_address?: string | undefined;
119
119
  local_mark_first?: boolean | undefined;
120
120
  };
121
121
  data?: any;
122
122
  }, {
123
- id: number | {
123
+ id: string | number | {
124
124
  name_or_address?: string | undefined;
125
125
  local_mark_first?: boolean | undefined;
126
126
  };
@@ -129,7 +129,7 @@ export declare const RepDataItemSchema: z.ZodObject<{
129
129
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
130
130
  }, "strict", z.ZodTypeAny, {
131
131
  data: {
132
- id: number | {
132
+ id: string | number | {
133
133
  name_or_address?: string | undefined;
134
134
  local_mark_first?: boolean | undefined;
135
135
  };
@@ -138,7 +138,7 @@ export declare const RepDataItemSchema: z.ZodObject<{
138
138
  write_guard?: string | undefined;
139
139
  }, {
140
140
  data: {
141
- id: number | {
141
+ id: string | number | {
142
142
  name_or_address?: string | undefined;
143
143
  local_mark_first?: boolean | undefined;
144
144
  };
@@ -203,7 +203,7 @@ export declare const SignerOrClockSchema: z.ZodObject<{
203
203
  write_guard?: string | undefined;
204
204
  }>;
205
205
  export declare const DataRemoveItemSchema: z.ZodObject<{
206
- id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
206
+ id: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
207
207
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
208
208
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
209
209
  }, "strict", z.ZodTypeAny, {
@@ -212,16 +212,16 @@ export declare const DataRemoveItemSchema: z.ZodObject<{
212
212
  }, {
213
213
  name_or_address?: string | undefined;
214
214
  local_mark_first?: boolean | undefined;
215
- }>, z.ZodNumber]>, "many">;
215
+ }>]>, "many">;
216
216
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
217
217
  }, "strict", z.ZodTypeAny, {
218
- id: (number | {
218
+ id: (string | number | {
219
219
  name_or_address?: string | undefined;
220
220
  local_mark_first?: boolean | undefined;
221
221
  })[];
222
222
  write_guard?: string | undefined;
223
223
  }, {
224
- id: (number | {
224
+ id: (string | number | {
225
225
  name_or_address?: string | undefined;
226
226
  local_mark_first?: boolean | undefined;
227
227
  })[];
@@ -409,7 +409,7 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
409
409
  name: z.ZodEffects<z.ZodString, string, string>;
410
410
  items: z.ZodArray<z.ZodObject<{
411
411
  data: z.ZodArray<z.ZodObject<{
412
- id: z.ZodUnion<[z.ZodObject<{
412
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
413
413
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
414
414
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
415
415
  }, "strict", z.ZodTypeAny, {
@@ -418,7 +418,7 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
418
418
  }, {
419
419
  name_or_address?: string | undefined;
420
420
  local_mark_first?: boolean | undefined;
421
- }>, z.ZodNumber]>;
421
+ }>]>;
422
422
  data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
423
423
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
424
424
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -454,13 +454,13 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
454
454
  check_all_founded?: boolean | undefined;
455
455
  }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
456
456
  }, "strict", z.ZodTypeAny, {
457
- id: number | {
457
+ id: string | number | {
458
458
  name_or_address?: string | undefined;
459
459
  local_mark_first?: boolean | undefined;
460
460
  };
461
461
  data?: any;
462
462
  }, {
463
- id: number | {
463
+ id: string | number | {
464
464
  name_or_address?: string | undefined;
465
465
  local_mark_first?: boolean | undefined;
466
466
  };
@@ -469,7 +469,7 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
469
469
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
470
470
  }, "strict", z.ZodTypeAny, {
471
471
  data: {
472
- id: number | {
472
+ id: string | number | {
473
473
  name_or_address?: string | undefined;
474
474
  local_mark_first?: boolean | undefined;
475
475
  };
@@ -478,7 +478,7 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
478
478
  write_guard?: string | undefined;
479
479
  }, {
480
480
  data: {
481
- id: number | {
481
+ id: string | number | {
482
482
  name_or_address?: string | undefined;
483
483
  local_mark_first?: boolean | undefined;
484
484
  };
@@ -490,7 +490,7 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
490
490
  name: string;
491
491
  items: {
492
492
  data: {
493
- id: number | {
493
+ id: string | number | {
494
494
  name_or_address?: string | undefined;
495
495
  local_mark_first?: boolean | undefined;
496
496
  };
@@ -502,7 +502,7 @@ export declare const DataAddWithItemsSchema: z.ZodObject<{
502
502
  name: string;
503
503
  items: {
504
504
  data: {
505
- id: number | {
505
+ id: string | number | {
506
506
  name_or_address?: string | undefined;
507
507
  local_mark_first?: boolean | undefined;
508
508
  };
@@ -560,7 +560,7 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
560
560
  name: z.ZodEffects<z.ZodString, string, string>;
561
561
  items: z.ZodArray<z.ZodObject<{
562
562
  data: z.ZodArray<z.ZodObject<{
563
- id: z.ZodUnion<[z.ZodObject<{
563
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
564
564
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
565
565
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
566
566
  }, "strict", z.ZodTypeAny, {
@@ -569,7 +569,7 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
569
569
  }, {
570
570
  name_or_address?: string | undefined;
571
571
  local_mark_first?: boolean | undefined;
572
- }>, z.ZodNumber]>;
572
+ }>]>;
573
573
  data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
574
574
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
575
575
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -605,13 +605,13 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
605
605
  check_all_founded?: boolean | undefined;
606
606
  }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
607
607
  }, "strict", z.ZodTypeAny, {
608
- id: number | {
608
+ id: string | number | {
609
609
  name_or_address?: string | undefined;
610
610
  local_mark_first?: boolean | undefined;
611
611
  };
612
612
  data?: any;
613
613
  }, {
614
- id: number | {
614
+ id: string | number | {
615
615
  name_or_address?: string | undefined;
616
616
  local_mark_first?: boolean | undefined;
617
617
  };
@@ -620,7 +620,7 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
620
620
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
621
621
  }, "strict", z.ZodTypeAny, {
622
622
  data: {
623
- id: number | {
623
+ id: string | number | {
624
624
  name_or_address?: string | undefined;
625
625
  local_mark_first?: boolean | undefined;
626
626
  };
@@ -629,7 +629,7 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
629
629
  write_guard?: string | undefined;
630
630
  }, {
631
631
  data: {
632
- id: number | {
632
+ id: string | number | {
633
633
  name_or_address?: string | undefined;
634
634
  local_mark_first?: boolean | undefined;
635
635
  };
@@ -641,7 +641,7 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
641
641
  name: string;
642
642
  items: {
643
643
  data: {
644
- id: number | {
644
+ id: string | number | {
645
645
  name_or_address?: string | undefined;
646
646
  local_mark_first?: boolean | undefined;
647
647
  };
@@ -653,7 +653,7 @@ export declare const DataAddSchema: z.ZodUnion<[z.ZodObject<{
653
653
  name: string;
654
654
  items: {
655
655
  data: {
656
- id: number | {
656
+ id: string | number | {
657
657
  name_or_address?: string | undefined;
658
658
  local_mark_first?: boolean | undefined;
659
659
  };
@@ -674,7 +674,7 @@ export declare const DataRemoveSchema: z.ZodUnion<[z.ZodObject<{
674
674
  }>, z.ZodObject<{
675
675
  name: z.ZodEffects<z.ZodString, string, string>;
676
676
  items: z.ZodArray<z.ZodObject<{
677
- id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
677
+ id: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
678
678
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
679
679
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
680
680
  }, "strict", z.ZodTypeAny, {
@@ -683,16 +683,16 @@ export declare const DataRemoveSchema: z.ZodUnion<[z.ZodObject<{
683
683
  }, {
684
684
  name_or_address?: string | undefined;
685
685
  local_mark_first?: boolean | undefined;
686
- }>, z.ZodNumber]>, "many">;
686
+ }>]>, "many">;
687
687
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
688
688
  }, "strict", z.ZodTypeAny, {
689
- id: (number | {
689
+ id: (string | number | {
690
690
  name_or_address?: string | undefined;
691
691
  local_mark_first?: boolean | undefined;
692
692
  })[];
693
693
  write_guard?: string | undefined;
694
694
  }, {
695
- id: (number | {
695
+ id: (string | number | {
696
696
  name_or_address?: string | undefined;
697
697
  local_mark_first?: boolean | undefined;
698
698
  })[];
@@ -701,7 +701,7 @@ export declare const DataRemoveSchema: z.ZodUnion<[z.ZodObject<{
701
701
  }, "strict", z.ZodTypeAny, {
702
702
  name: string;
703
703
  items: {
704
- id: (number | {
704
+ id: (string | number | {
705
705
  name_or_address?: string | undefined;
706
706
  local_mark_first?: boolean | undefined;
707
707
  })[];
@@ -710,7 +710,7 @@ export declare const DataRemoveSchema: z.ZodUnion<[z.ZodObject<{
710
710
  }, {
711
711
  name: string;
712
712
  items: {
713
- id: (number | {
713
+ id: (string | number | {
714
714
  name_or_address?: string | undefined;
715
715
  local_mark_first?: boolean | undefined;
716
716
  })[];
@@ -907,7 +907,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
907
907
  name: z.ZodEffects<z.ZodString, string, string>;
908
908
  items: z.ZodArray<z.ZodObject<{
909
909
  data: z.ZodArray<z.ZodObject<{
910
- id: z.ZodUnion<[z.ZodObject<{
910
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
911
911
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
912
912
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
913
913
  }, "strict", z.ZodTypeAny, {
@@ -916,7 +916,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
916
916
  }, {
917
917
  name_or_address?: string | undefined;
918
918
  local_mark_first?: boolean | undefined;
919
- }>, z.ZodNumber]>;
919
+ }>]>;
920
920
  data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
921
921
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
922
922
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -952,13 +952,13 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
952
952
  check_all_founded?: boolean | undefined;
953
953
  }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
954
954
  }, "strict", z.ZodTypeAny, {
955
- id: number | {
955
+ id: string | number | {
956
956
  name_or_address?: string | undefined;
957
957
  local_mark_first?: boolean | undefined;
958
958
  };
959
959
  data?: any;
960
960
  }, {
961
- id: number | {
961
+ id: string | number | {
962
962
  name_or_address?: string | undefined;
963
963
  local_mark_first?: boolean | undefined;
964
964
  };
@@ -967,7 +967,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
967
967
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
968
968
  }, "strict", z.ZodTypeAny, {
969
969
  data: {
970
- id: number | {
970
+ id: string | number | {
971
971
  name_or_address?: string | undefined;
972
972
  local_mark_first?: boolean | undefined;
973
973
  };
@@ -976,7 +976,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
976
976
  write_guard?: string | undefined;
977
977
  }, {
978
978
  data: {
979
- id: number | {
979
+ id: string | number | {
980
980
  name_or_address?: string | undefined;
981
981
  local_mark_first?: boolean | undefined;
982
982
  };
@@ -988,7 +988,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
988
988
  name: string;
989
989
  items: {
990
990
  data: {
991
- id: number | {
991
+ id: string | number | {
992
992
  name_or_address?: string | undefined;
993
993
  local_mark_first?: boolean | undefined;
994
994
  };
@@ -1000,7 +1000,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1000
1000
  name: string;
1001
1001
  items: {
1002
1002
  data: {
1003
- id: number | {
1003
+ id: string | number | {
1004
1004
  name_or_address?: string | undefined;
1005
1005
  local_mark_first?: boolean | undefined;
1006
1006
  };
@@ -1021,7 +1021,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1021
1021
  }>, z.ZodObject<{
1022
1022
  name: z.ZodEffects<z.ZodString, string, string>;
1023
1023
  items: z.ZodArray<z.ZodObject<{
1024
- id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1024
+ id: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1025
1025
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1026
1026
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1027
1027
  }, "strict", z.ZodTypeAny, {
@@ -1030,16 +1030,16 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1030
1030
  }, {
1031
1031
  name_or_address?: string | undefined;
1032
1032
  local_mark_first?: boolean | undefined;
1033
- }>, z.ZodNumber]>, "many">;
1033
+ }>]>, "many">;
1034
1034
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1035
1035
  }, "strict", z.ZodTypeAny, {
1036
- id: (number | {
1036
+ id: (string | number | {
1037
1037
  name_or_address?: string | undefined;
1038
1038
  local_mark_first?: boolean | undefined;
1039
1039
  })[];
1040
1040
  write_guard?: string | undefined;
1041
1041
  }, {
1042
- id: (number | {
1042
+ id: (string | number | {
1043
1043
  name_or_address?: string | undefined;
1044
1044
  local_mark_first?: boolean | undefined;
1045
1045
  })[];
@@ -1048,7 +1048,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1048
1048
  }, "strict", z.ZodTypeAny, {
1049
1049
  name: string;
1050
1050
  items: {
1051
- id: (number | {
1051
+ id: (string | number | {
1052
1052
  name_or_address?: string | undefined;
1053
1053
  local_mark_first?: boolean | undefined;
1054
1054
  })[];
@@ -1057,7 +1057,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1057
1057
  }, {
1058
1058
  name: string;
1059
1059
  items: {
1060
- id: (number | {
1060
+ id: (string | number | {
1061
1061
  name_or_address?: string | undefined;
1062
1062
  local_mark_first?: boolean | undefined;
1063
1063
  })[];
@@ -1201,7 +1201,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1201
1201
  name: string;
1202
1202
  items: {
1203
1203
  data: {
1204
- id: number | {
1204
+ id: string | number | {
1205
1205
  name_or_address?: string | undefined;
1206
1206
  local_mark_first?: boolean | undefined;
1207
1207
  };
@@ -1216,7 +1216,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1216
1216
  } | {
1217
1217
  name: string;
1218
1218
  items: {
1219
- id: (number | {
1219
+ id: (string | number | {
1220
1220
  name_or_address?: string | undefined;
1221
1221
  local_mark_first?: boolean | undefined;
1222
1222
  })[];
@@ -1289,7 +1289,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1289
1289
  name: string;
1290
1290
  items: {
1291
1291
  data: {
1292
- id: number | {
1292
+ id: string | number | {
1293
1293
  name_or_address?: string | undefined;
1294
1294
  local_mark_first?: boolean | undefined;
1295
1295
  };
@@ -1304,7 +1304,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
1304
1304
  } | {
1305
1305
  name: string;
1306
1306
  items: {
1307
- id: (number | {
1307
+ id: (string | number | {
1308
1308
  name_or_address?: string | undefined;
1309
1309
  local_mark_first?: boolean | undefined;
1310
1310
  })[];
@@ -1503,7 +1503,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1503
1503
  name: z.ZodEffects<z.ZodString, string, string>;
1504
1504
  items: z.ZodArray<z.ZodObject<{
1505
1505
  data: z.ZodArray<z.ZodObject<{
1506
- id: z.ZodUnion<[z.ZodObject<{
1506
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1507
1507
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1508
1508
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1509
1509
  }, "strict", z.ZodTypeAny, {
@@ -1512,7 +1512,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1512
1512
  }, {
1513
1513
  name_or_address?: string | undefined;
1514
1514
  local_mark_first?: boolean | undefined;
1515
- }>, z.ZodNumber]>;
1515
+ }>]>;
1516
1516
  data: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodObject<{
1517
1517
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1518
1518
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
@@ -1548,13 +1548,13 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1548
1548
  check_all_founded?: boolean | undefined;
1549
1549
  }>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>, z.ZodType<any, z.ZodTypeDef, any>]>;
1550
1550
  }, "strict", z.ZodTypeAny, {
1551
- id: number | {
1551
+ id: string | number | {
1552
1552
  name_or_address?: string | undefined;
1553
1553
  local_mark_first?: boolean | undefined;
1554
1554
  };
1555
1555
  data?: any;
1556
1556
  }, {
1557
- id: number | {
1557
+ id: string | number | {
1558
1558
  name_or_address?: string | undefined;
1559
1559
  local_mark_first?: boolean | undefined;
1560
1560
  };
@@ -1563,7 +1563,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1563
1563
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1564
1564
  }, "strict", z.ZodTypeAny, {
1565
1565
  data: {
1566
- id: number | {
1566
+ id: string | number | {
1567
1567
  name_or_address?: string | undefined;
1568
1568
  local_mark_first?: boolean | undefined;
1569
1569
  };
@@ -1572,7 +1572,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1572
1572
  write_guard?: string | undefined;
1573
1573
  }, {
1574
1574
  data: {
1575
- id: number | {
1575
+ id: string | number | {
1576
1576
  name_or_address?: string | undefined;
1577
1577
  local_mark_first?: boolean | undefined;
1578
1578
  };
@@ -1584,7 +1584,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1584
1584
  name: string;
1585
1585
  items: {
1586
1586
  data: {
1587
- id: number | {
1587
+ id: string | number | {
1588
1588
  name_or_address?: string | undefined;
1589
1589
  local_mark_first?: boolean | undefined;
1590
1590
  };
@@ -1596,7 +1596,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1596
1596
  name: string;
1597
1597
  items: {
1598
1598
  data: {
1599
- id: number | {
1599
+ id: string | number | {
1600
1600
  name_or_address?: string | undefined;
1601
1601
  local_mark_first?: boolean | undefined;
1602
1602
  };
@@ -1617,7 +1617,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1617
1617
  }>, z.ZodObject<{
1618
1618
  name: z.ZodEffects<z.ZodString, string, string>;
1619
1619
  items: z.ZodArray<z.ZodObject<{
1620
- id: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1620
+ id: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1621
1621
  name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1622
1622
  local_mark_first: z.ZodOptional<z.ZodBoolean>;
1623
1623
  }, "strict", z.ZodTypeAny, {
@@ -1626,16 +1626,16 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1626
1626
  }, {
1627
1627
  name_or_address?: string | undefined;
1628
1628
  local_mark_first?: boolean | undefined;
1629
- }>, z.ZodNumber]>, "many">;
1629
+ }>]>, "many">;
1630
1630
  write_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1631
1631
  }, "strict", z.ZodTypeAny, {
1632
- id: (number | {
1632
+ id: (string | number | {
1633
1633
  name_or_address?: string | undefined;
1634
1634
  local_mark_first?: boolean | undefined;
1635
1635
  })[];
1636
1636
  write_guard?: string | undefined;
1637
1637
  }, {
1638
- id: (number | {
1638
+ id: (string | number | {
1639
1639
  name_or_address?: string | undefined;
1640
1640
  local_mark_first?: boolean | undefined;
1641
1641
  })[];
@@ -1644,7 +1644,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1644
1644
  }, "strict", z.ZodTypeAny, {
1645
1645
  name: string;
1646
1646
  items: {
1647
- id: (number | {
1647
+ id: (string | number | {
1648
1648
  name_or_address?: string | undefined;
1649
1649
  local_mark_first?: boolean | undefined;
1650
1650
  })[];
@@ -1653,7 +1653,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1653
1653
  }, {
1654
1654
  name: string;
1655
1655
  items: {
1656
- id: (number | {
1656
+ id: (string | number | {
1657
1657
  name_or_address?: string | undefined;
1658
1658
  local_mark_first?: boolean | undefined;
1659
1659
  })[];
@@ -1797,7 +1797,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1797
1797
  name: string;
1798
1798
  items: {
1799
1799
  data: {
1800
- id: number | {
1800
+ id: string | number | {
1801
1801
  name_or_address?: string | undefined;
1802
1802
  local_mark_first?: boolean | undefined;
1803
1803
  };
@@ -1812,7 +1812,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1812
1812
  } | {
1813
1813
  name: string;
1814
1814
  items: {
1815
- id: (number | {
1815
+ id: (string | number | {
1816
1816
  name_or_address?: string | undefined;
1817
1817
  local_mark_first?: boolean | undefined;
1818
1818
  })[];
@@ -1885,7 +1885,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1885
1885
  name: string;
1886
1886
  items: {
1887
1887
  data: {
1888
- id: number | {
1888
+ id: string | number | {
1889
1889
  name_or_address?: string | undefined;
1890
1890
  local_mark_first?: boolean | undefined;
1891
1891
  };
@@ -1900,7 +1900,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1900
1900
  } | {
1901
1901
  name: string;
1902
1902
  items: {
1903
- id: (number | {
1903
+ id: (string | number | {
1904
1904
  name_or_address?: string | undefined;
1905
1905
  local_mark_first?: boolean | undefined;
1906
1906
  })[];
@@ -1912,7 +1912,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
1912
1912
  account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1913
1913
  permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1914
1914
  no_cache: z.ZodOptional<z.ZodBoolean>;
1915
- network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
1915
+ network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
1916
1916
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1917
1917
  }, "strict", z.ZodTypeAny, {
1918
1918
  account: string;
@@ -2174,7 +2174,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2174
2174
  name: string;
2175
2175
  items: {
2176
2176
  data: {
2177
- id: number | {
2177
+ id: string | number | {
2178
2178
  name_or_address?: string | undefined;
2179
2179
  local_mark_first?: boolean | undefined;
2180
2180
  };
@@ -2189,7 +2189,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2189
2189
  } | {
2190
2190
  name: string;
2191
2191
  items: {
2192
- id: (number | {
2192
+ id: (string | number | {
2193
2193
  name_or_address?: string | undefined;
2194
2194
  local_mark_first?: boolean | undefined;
2195
2195
  })[];
@@ -2298,7 +2298,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2298
2298
  name: string;
2299
2299
  items: {
2300
2300
  data: {
2301
- id: number | {
2301
+ id: string | number | {
2302
2302
  name_or_address?: string | undefined;
2303
2303
  local_mark_first?: boolean | undefined;
2304
2304
  };
@@ -2313,7 +2313,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
2313
2313
  } | {
2314
2314
  name: string;
2315
2315
  items: {
2316
- id: (number | {
2316
+ id: (string | number | {
2317
2317
  name_or_address?: string | undefined;
2318
2318
  local_mark_first?: boolean | undefined;
2319
2319
  })[];
@@ -4,9 +4,10 @@ import { AccountOrMark_AddressSchema, DescriptionSchema, NameOrAddressSchema, Na
4
4
  import { PolicyRuleSchema } from "../query/index.js";
5
5
  import { SupportedValueSchema } from "../common/index.js";
6
6
  export const RepositoryIdSchema = z.union([
7
+ z.string(),
8
+ z.number(),
7
9
  AccountOrMark_AddressSchema,
8
- z.number().int(),
9
- ]).describe("Data item ID. If a number (such as time) is specified, it will be automatically converted to an address or ID type.");
10
+ ]).describe("Data item ID. Supports: plain string(bigint), number (such as timestamp), or AccountOrMark_Address format.");
10
11
  export const KeyDataSchema = z.object({
11
12
  id: RepositoryIdSchema,
12
13
  data: SupportedValueSchema,
@@ -67,7 +68,7 @@ export const CallRepository_DataSchema = z.object({
67
68
  data_remove: DataRemoveSchema.optional().describe("Delete data items"),
68
69
  rewards: ObjectsSchema.optional().describe("Reward object list. Used for data contribution incentives."),
69
70
  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."),
70
- um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object."),
71
+ um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
71
72
  }).strict().describe("On-chain Repository operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, permission, ...} to create a Repository. 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.");
72
73
  export const CallRepository_InputSchema = z.object({
73
74
  data: CallRepository_DataSchema,