@wowok/agent-mcp 2.5.2 → 2.5.4

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 (110) hide show
  1. package/dist/customer/index.d.ts +2 -2
  2. package/dist/customer/index.js +1 -1
  3. package/dist/customer/info-puzzle.d.ts +39 -2
  4. package/dist/customer/info-puzzle.js +370 -29
  5. package/dist/customer/risk-assessment.js +51 -14
  6. package/dist/customer/types.d.ts +85 -0
  7. package/dist/index.js +46 -6
  8. package/dist/knowledge/guard-design-patterns.js +104 -1
  9. package/dist/knowledge/guard-ledger.js +3 -3
  10. package/dist/knowledge/guard-lint.js +3 -3
  11. package/dist/knowledge/guard-risk.js +23 -15
  12. package/dist/knowledge/guard-templates.js +174 -2
  13. package/dist/knowledge/guard-translation.js +3 -3
  14. package/dist/knowledge/index.d.ts +3 -0
  15. package/dist/knowledge/index.js +9 -0
  16. package/dist/knowledge/machine-context.d.ts +1 -1
  17. package/dist/knowledge/machine-context.js +21 -0
  18. package/dist/knowledge/machine-ledger.d.ts +1 -0
  19. package/dist/knowledge/machine-ledger.js +60 -37
  20. package/dist/knowledge/machine-risk.js +23 -0
  21. package/dist/knowledge/machine-templates.js +150 -164
  22. package/dist/knowledge/overrides-loader.d.ts +13 -0
  23. package/dist/knowledge/overrides-loader.js +67 -0
  24. package/dist/knowledge/payment-risk.d.ts +4 -0
  25. package/dist/knowledge/payment-risk.js +67 -0
  26. package/dist/knowledge/repository-confirm.d.ts +4 -0
  27. package/dist/knowledge/repository-confirm.js +44 -0
  28. package/dist/knowledge/repository-risk.d.ts +8 -2
  29. package/dist/knowledge/repository-risk.js +61 -0
  30. package/dist/knowledge/repository-translation.js +23 -0
  31. package/dist/knowledge/reward-templates.d.ts +1 -1
  32. package/dist/knowledge/reward-templates.js +77 -5
  33. package/dist/knowledge/scenario-modes.js +22 -5
  34. package/dist/knowledge/service-templates.js +38 -0
  35. package/dist/knowledge/treasury-templates.js +42 -0
  36. package/dist/knowledge/trust-metrics.d.ts +4 -0
  37. package/dist/knowledge/trust-metrics.js +67 -7
  38. package/dist/loop-engineering/context-collect.d.ts +7 -0
  39. package/dist/loop-engineering/context-collect.js +83 -0
  40. package/dist/loop-engineering/improve.d.ts +29 -0
  41. package/dist/loop-engineering/improve.js +178 -0
  42. package/dist/project/context-assembly.d.ts +16 -0
  43. package/dist/project/context-assembly.js +130 -0
  44. package/dist/project/deployment-doc.d.ts +115 -0
  45. package/dist/project/deployment-doc.js +595 -0
  46. package/dist/project/index.js +37 -1
  47. package/dist/project/migration.d.ts +22 -0
  48. package/dist/project/migration.js +125 -0
  49. package/dist/project/project-store.d.ts +110 -0
  50. package/dist/project/project-store.js +425 -0
  51. package/dist/project/rollback-policy.d.ts +45 -0
  52. package/dist/project/rollback-policy.js +290 -0
  53. package/dist/project/stage-gate.d.ts +49 -0
  54. package/dist/project/stage-gate.js +310 -0
  55. package/dist/schema/call/allocation.d.ts +5 -0
  56. package/dist/schema/call/arbitration.d.ts +59 -54
  57. package/dist/schema/call/base.d.ts +3 -0
  58. package/dist/schema/call/base.js +1 -0
  59. package/dist/schema/call/bridge.d.ts +24 -0
  60. package/dist/schema/call/contact.d.ts +5 -0
  61. package/dist/schema/call/demand.d.ts +53 -48
  62. package/dist/schema/call/guard.d.ts +15 -0
  63. package/dist/schema/call/machine.d.ts +10 -0
  64. package/dist/schema/call/order.d.ts +5 -0
  65. package/dist/schema/call/payment.d.ts +5 -0
  66. package/dist/schema/call/permission.d.ts +5 -0
  67. package/dist/schema/call/personal.d.ts +5 -0
  68. package/dist/schema/call/progress.d.ts +5 -0
  69. package/dist/schema/call/proof.d.ts +10 -0
  70. package/dist/schema/call/repository.d.ts +5 -0
  71. package/dist/schema/call/reward.d.ts +5 -0
  72. package/dist/schema/call/service.d.ts +5 -0
  73. package/dist/schema/call/treasury.d.ts +5 -0
  74. package/dist/schema/operations.d.ts +286 -76
  75. package/dist/schema/operations.js +24 -0
  76. package/dist/schema/project/index.d.ts +2633 -120
  77. package/dist/schema/project/index.js +622 -2
  78. package/dist/schema/query/index.d.ts +601 -0
  79. package/dist/schema/query/index.js +61 -0
  80. package/dist/schema/trust/index.d.ts +10 -10
  81. package/dist/schemas/bridge_operation.schema.json +4 -0
  82. package/dist/schemas/guard2file.schema.json +4 -0
  83. package/dist/schemas/index.json +1 -1
  84. package/dist/schemas/machineNode2file.schema.json +4 -0
  85. package/dist/schemas/onchain_operations.schema.json +20 -0
  86. package/dist/schemas/onchain_operations_allocation.schema.json +4 -0
  87. package/dist/schemas/onchain_operations_arbitration.schema.json +4 -0
  88. package/dist/schemas/onchain_operations_contact.schema.json +4 -0
  89. package/dist/schemas/onchain_operations_demand.schema.json +4 -0
  90. package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
  91. package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
  92. package/dist/schemas/onchain_operations_guard.schema.json +4 -0
  93. package/dist/schemas/onchain_operations_machine.schema.json +4 -0
  94. package/dist/schemas/onchain_operations_order.schema.json +4 -0
  95. package/dist/schemas/onchain_operations_payment.schema.json +4 -0
  96. package/dist/schemas/onchain_operations_permission.schema.json +4 -0
  97. package/dist/schemas/onchain_operations_personal.schema.json +4 -0
  98. package/dist/schemas/onchain_operations_progress.schema.json +4 -0
  99. package/dist/schemas/onchain_operations_proof.schema.json +4 -0
  100. package/dist/schemas/onchain_operations_repository.schema.json +4 -0
  101. package/dist/schemas/onchain_operations_reward.schema.json +4 -0
  102. package/dist/schemas/onchain_operations_service.schema.json +4 -0
  103. package/dist/schemas/onchain_operations_treasury.schema.json +4 -0
  104. package/dist/schemas/project_operation.output.json +1798 -0
  105. package/dist/schemas/project_operation.schema.json +132 -2
  106. package/dist/schemas/query_toolkit.output.json +407 -1
  107. package/dist/schemas/query_toolkit.schema.json +132 -0
  108. package/dist/tools/handlers/project.js +742 -1
  109. package/dist/tools/handlers/query.js +38 -2
  110. package/package.json +2 -2
@@ -49021,6 +49021,239 @@ export declare const LocalQueryResultSchema: z.ZodUnion<[z.ZodObject<{
49021
49021
  };
49022
49022
  query_type: "account_balance";
49023
49023
  }>]>;
49024
+ export declare const TxObjectChangeSchema: z.ZodObject<{
49025
+ id: z.ZodString;
49026
+ type: z.ZodEnum<["created", "mutated", "deleted", "wrapped", "unwrapped"]>;
49027
+ object_type: z.ZodOptional<z.ZodString>;
49028
+ sender: z.ZodOptional<z.ZodString>;
49029
+ version: z.ZodOptional<z.ZodString>;
49030
+ previous_version: z.ZodOptional<z.ZodString>;
49031
+ digest: z.ZodOptional<z.ZodString>;
49032
+ }, "strict", z.ZodTypeAny, {
49033
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
49034
+ id: string;
49035
+ object_type?: string | undefined;
49036
+ version?: string | undefined;
49037
+ digest?: string | undefined;
49038
+ sender?: string | undefined;
49039
+ previous_version?: string | undefined;
49040
+ }, {
49041
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
49042
+ id: string;
49043
+ object_type?: string | undefined;
49044
+ version?: string | undefined;
49045
+ digest?: string | undefined;
49046
+ sender?: string | undefined;
49047
+ previous_version?: string | undefined;
49048
+ }>;
49049
+ export declare const TxBalanceChangeSchema: z.ZodObject<{
49050
+ owner: z.ZodString;
49051
+ coin_type: z.ZodString;
49052
+ amount: z.ZodString;
49053
+ }, "strict", z.ZodTypeAny, {
49054
+ owner: string;
49055
+ amount: string;
49056
+ coin_type: string;
49057
+ }, {
49058
+ owner: string;
49059
+ amount: string;
49060
+ coin_type: string;
49061
+ }>;
49062
+ export declare const TransactionDetailSchema: z.ZodObject<{
49063
+ digest: z.ZodString;
49064
+ status: z.ZodEnum<["success", "failed"]>;
49065
+ error: z.ZodOptional<z.ZodString>;
49066
+ timestamp_ms: z.ZodOptional<z.ZodString>;
49067
+ sender: z.ZodOptional<z.ZodString>;
49068
+ gas_used: z.ZodOptional<z.ZodString>;
49069
+ gas_budget: z.ZodOptional<z.ZodString>;
49070
+ kind: z.ZodOptional<z.ZodString>;
49071
+ object_changes: z.ZodArray<z.ZodObject<{
49072
+ id: z.ZodString;
49073
+ type: z.ZodEnum<["created", "mutated", "deleted", "wrapped", "unwrapped"]>;
49074
+ object_type: z.ZodOptional<z.ZodString>;
49075
+ sender: z.ZodOptional<z.ZodString>;
49076
+ version: z.ZodOptional<z.ZodString>;
49077
+ previous_version: z.ZodOptional<z.ZodString>;
49078
+ digest: z.ZodOptional<z.ZodString>;
49079
+ }, "strict", z.ZodTypeAny, {
49080
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
49081
+ id: string;
49082
+ object_type?: string | undefined;
49083
+ version?: string | undefined;
49084
+ digest?: string | undefined;
49085
+ sender?: string | undefined;
49086
+ previous_version?: string | undefined;
49087
+ }, {
49088
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
49089
+ id: string;
49090
+ object_type?: string | undefined;
49091
+ version?: string | undefined;
49092
+ digest?: string | undefined;
49093
+ sender?: string | undefined;
49094
+ previous_version?: string | undefined;
49095
+ }>, "many">;
49096
+ balance_changes: z.ZodArray<z.ZodObject<{
49097
+ owner: z.ZodString;
49098
+ coin_type: z.ZodString;
49099
+ amount: z.ZodString;
49100
+ }, "strict", z.ZodTypeAny, {
49101
+ owner: string;
49102
+ amount: string;
49103
+ coin_type: string;
49104
+ }, {
49105
+ owner: string;
49106
+ amount: string;
49107
+ coin_type: string;
49108
+ }>, "many">;
49109
+ event_count: z.ZodNumber;
49110
+ epoch: z.ZodOptional<z.ZodString>;
49111
+ is_system_tx: z.ZodOptional<z.ZodBoolean>;
49112
+ cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
49113
+ }, "strict", z.ZodTypeAny, {
49114
+ status: "success" | "failed";
49115
+ digest: string;
49116
+ object_changes: {
49117
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
49118
+ id: string;
49119
+ object_type?: string | undefined;
49120
+ version?: string | undefined;
49121
+ digest?: string | undefined;
49122
+ sender?: string | undefined;
49123
+ previous_version?: string | undefined;
49124
+ }[];
49125
+ balance_changes: {
49126
+ owner: string;
49127
+ amount: string;
49128
+ coin_type: string;
49129
+ }[];
49130
+ event_count: number;
49131
+ cache_expire?: number | "INFINITE" | undefined;
49132
+ error?: string | undefined;
49133
+ sender?: string | undefined;
49134
+ kind?: string | undefined;
49135
+ timestamp_ms?: string | undefined;
49136
+ gas_used?: string | undefined;
49137
+ gas_budget?: string | undefined;
49138
+ epoch?: string | undefined;
49139
+ is_system_tx?: boolean | undefined;
49140
+ }, {
49141
+ status: "success" | "failed";
49142
+ digest: string;
49143
+ object_changes: {
49144
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
49145
+ id: string;
49146
+ object_type?: string | undefined;
49147
+ version?: string | undefined;
49148
+ digest?: string | undefined;
49149
+ sender?: string | undefined;
49150
+ previous_version?: string | undefined;
49151
+ }[];
49152
+ balance_changes: {
49153
+ owner: string;
49154
+ amount: string;
49155
+ coin_type: string;
49156
+ }[];
49157
+ event_count: number;
49158
+ cache_expire?: number | "INFINITE" | undefined;
49159
+ error?: string | undefined;
49160
+ sender?: string | undefined;
49161
+ kind?: string | undefined;
49162
+ timestamp_ms?: string | undefined;
49163
+ gas_used?: string | undefined;
49164
+ gas_budget?: string | undefined;
49165
+ epoch?: string | undefined;
49166
+ is_system_tx?: boolean | undefined;
49167
+ }>;
49168
+ export declare const TransactionHistoryItemSchema: z.ZodObject<{
49169
+ digest: z.ZodString;
49170
+ status: z.ZodEnum<["success", "failed"]>;
49171
+ timestamp_ms: z.ZodOptional<z.ZodString>;
49172
+ sender: z.ZodOptional<z.ZodString>;
49173
+ kind: z.ZodOptional<z.ZodString>;
49174
+ gas_used: z.ZodOptional<z.ZodString>;
49175
+ objects_touched: z.ZodArray<z.ZodString, "many">;
49176
+ has_object_changes: z.ZodBoolean;
49177
+ }, "strict", z.ZodTypeAny, {
49178
+ status: "success" | "failed";
49179
+ digest: string;
49180
+ objects_touched: string[];
49181
+ has_object_changes: boolean;
49182
+ sender?: string | undefined;
49183
+ kind?: string | undefined;
49184
+ timestamp_ms?: string | undefined;
49185
+ gas_used?: string | undefined;
49186
+ }, {
49187
+ status: "success" | "failed";
49188
+ digest: string;
49189
+ objects_touched: string[];
49190
+ has_object_changes: boolean;
49191
+ sender?: string | undefined;
49192
+ kind?: string | undefined;
49193
+ timestamp_ms?: string | undefined;
49194
+ gas_used?: string | undefined;
49195
+ }>;
49196
+ export declare const TransactionHistoryAnswerSchema: z.ZodObject<{
49197
+ transactions: z.ZodArray<z.ZodObject<{
49198
+ digest: z.ZodString;
49199
+ status: z.ZodEnum<["success", "failed"]>;
49200
+ timestamp_ms: z.ZodOptional<z.ZodString>;
49201
+ sender: z.ZodOptional<z.ZodString>;
49202
+ kind: z.ZodOptional<z.ZodString>;
49203
+ gas_used: z.ZodOptional<z.ZodString>;
49204
+ objects_touched: z.ZodArray<z.ZodString, "many">;
49205
+ has_object_changes: z.ZodBoolean;
49206
+ }, "strict", z.ZodTypeAny, {
49207
+ status: "success" | "failed";
49208
+ digest: string;
49209
+ objects_touched: string[];
49210
+ has_object_changes: boolean;
49211
+ sender?: string | undefined;
49212
+ kind?: string | undefined;
49213
+ timestamp_ms?: string | undefined;
49214
+ gas_used?: string | undefined;
49215
+ }, {
49216
+ status: "success" | "failed";
49217
+ digest: string;
49218
+ objects_touched: string[];
49219
+ has_object_changes: boolean;
49220
+ sender?: string | undefined;
49221
+ kind?: string | undefined;
49222
+ timestamp_ms?: string | undefined;
49223
+ gas_used?: string | undefined;
49224
+ }>, "many">;
49225
+ next_cursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
49226
+ has_next_page: z.ZodBoolean;
49227
+ cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
49228
+ }, "strict", z.ZodTypeAny, {
49229
+ transactions: {
49230
+ status: "success" | "failed";
49231
+ digest: string;
49232
+ objects_touched: string[];
49233
+ has_object_changes: boolean;
49234
+ sender?: string | undefined;
49235
+ kind?: string | undefined;
49236
+ timestamp_ms?: string | undefined;
49237
+ gas_used?: string | undefined;
49238
+ }[];
49239
+ next_cursor: string | null;
49240
+ has_next_page: boolean;
49241
+ cache_expire?: number | "INFINITE" | undefined;
49242
+ }, {
49243
+ transactions: {
49244
+ status: "success" | "failed";
49245
+ digest: string;
49246
+ objects_touched: string[];
49247
+ has_object_changes: boolean;
49248
+ sender?: string | undefined;
49249
+ kind?: string | undefined;
49250
+ timestamp_ms?: string | undefined;
49251
+ gas_used?: string | undefined;
49252
+ }[];
49253
+ next_cursor: string | null;
49254
+ has_next_page: boolean;
49255
+ cache_expire?: number | "INFINITE" | undefined;
49256
+ }>;
49024
49257
  export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<[z.ZodObject<{
49025
49258
  query_type: z.ZodLiteral<"onchain_personal_profile">;
49026
49259
  result: z.ZodUnion<[z.ZodObject<{
@@ -74410,6 +74643,369 @@ export declare const OnchainQueryResultSchema_Part2: z.ZodUnion<[z.ZodObject<{
74410
74643
  }[];
74411
74644
  query_type: "onchain_received";
74412
74645
  }>]>;
74646
+ export declare const OnchainQueryResultSchema_Part3: z.ZodUnion<[z.ZodObject<{
74647
+ query_type: z.ZodLiteral<"onchain_transaction">;
74648
+ result: z.ZodUnion<[z.ZodObject<{
74649
+ digest: z.ZodString;
74650
+ status: z.ZodEnum<["success", "failed"]>;
74651
+ error: z.ZodOptional<z.ZodString>;
74652
+ timestamp_ms: z.ZodOptional<z.ZodString>;
74653
+ sender: z.ZodOptional<z.ZodString>;
74654
+ gas_used: z.ZodOptional<z.ZodString>;
74655
+ gas_budget: z.ZodOptional<z.ZodString>;
74656
+ kind: z.ZodOptional<z.ZodString>;
74657
+ object_changes: z.ZodArray<z.ZodObject<{
74658
+ id: z.ZodString;
74659
+ type: z.ZodEnum<["created", "mutated", "deleted", "wrapped", "unwrapped"]>;
74660
+ object_type: z.ZodOptional<z.ZodString>;
74661
+ sender: z.ZodOptional<z.ZodString>;
74662
+ version: z.ZodOptional<z.ZodString>;
74663
+ previous_version: z.ZodOptional<z.ZodString>;
74664
+ digest: z.ZodOptional<z.ZodString>;
74665
+ }, "strict", z.ZodTypeAny, {
74666
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
74667
+ id: string;
74668
+ object_type?: string | undefined;
74669
+ version?: string | undefined;
74670
+ digest?: string | undefined;
74671
+ sender?: string | undefined;
74672
+ previous_version?: string | undefined;
74673
+ }, {
74674
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
74675
+ id: string;
74676
+ object_type?: string | undefined;
74677
+ version?: string | undefined;
74678
+ digest?: string | undefined;
74679
+ sender?: string | undefined;
74680
+ previous_version?: string | undefined;
74681
+ }>, "many">;
74682
+ balance_changes: z.ZodArray<z.ZodObject<{
74683
+ owner: z.ZodString;
74684
+ coin_type: z.ZodString;
74685
+ amount: z.ZodString;
74686
+ }, "strict", z.ZodTypeAny, {
74687
+ owner: string;
74688
+ amount: string;
74689
+ coin_type: string;
74690
+ }, {
74691
+ owner: string;
74692
+ amount: string;
74693
+ coin_type: string;
74694
+ }>, "many">;
74695
+ event_count: z.ZodNumber;
74696
+ epoch: z.ZodOptional<z.ZodString>;
74697
+ is_system_tx: z.ZodOptional<z.ZodBoolean>;
74698
+ cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
74699
+ }, "strict", z.ZodTypeAny, {
74700
+ status: "success" | "failed";
74701
+ digest: string;
74702
+ object_changes: {
74703
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
74704
+ id: string;
74705
+ object_type?: string | undefined;
74706
+ version?: string | undefined;
74707
+ digest?: string | undefined;
74708
+ sender?: string | undefined;
74709
+ previous_version?: string | undefined;
74710
+ }[];
74711
+ balance_changes: {
74712
+ owner: string;
74713
+ amount: string;
74714
+ coin_type: string;
74715
+ }[];
74716
+ event_count: number;
74717
+ cache_expire?: number | "INFINITE" | undefined;
74718
+ error?: string | undefined;
74719
+ sender?: string | undefined;
74720
+ kind?: string | undefined;
74721
+ timestamp_ms?: string | undefined;
74722
+ gas_used?: string | undefined;
74723
+ gas_budget?: string | undefined;
74724
+ epoch?: string | undefined;
74725
+ is_system_tx?: boolean | undefined;
74726
+ }, {
74727
+ status: "success" | "failed";
74728
+ digest: string;
74729
+ object_changes: {
74730
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
74731
+ id: string;
74732
+ object_type?: string | undefined;
74733
+ version?: string | undefined;
74734
+ digest?: string | undefined;
74735
+ sender?: string | undefined;
74736
+ previous_version?: string | undefined;
74737
+ }[];
74738
+ balance_changes: {
74739
+ owner: string;
74740
+ amount: string;
74741
+ coin_type: string;
74742
+ }[];
74743
+ event_count: number;
74744
+ cache_expire?: number | "INFINITE" | undefined;
74745
+ error?: string | undefined;
74746
+ sender?: string | undefined;
74747
+ kind?: string | undefined;
74748
+ timestamp_ms?: string | undefined;
74749
+ gas_used?: string | undefined;
74750
+ gas_budget?: string | undefined;
74751
+ epoch?: string | undefined;
74752
+ is_system_tx?: boolean | undefined;
74753
+ }>, z.ZodUndefined]>;
74754
+ }, "strict", z.ZodTypeAny, {
74755
+ query_type: "onchain_transaction";
74756
+ result?: {
74757
+ status: "success" | "failed";
74758
+ digest: string;
74759
+ object_changes: {
74760
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
74761
+ id: string;
74762
+ object_type?: string | undefined;
74763
+ version?: string | undefined;
74764
+ digest?: string | undefined;
74765
+ sender?: string | undefined;
74766
+ previous_version?: string | undefined;
74767
+ }[];
74768
+ balance_changes: {
74769
+ owner: string;
74770
+ amount: string;
74771
+ coin_type: string;
74772
+ }[];
74773
+ event_count: number;
74774
+ cache_expire?: number | "INFINITE" | undefined;
74775
+ error?: string | undefined;
74776
+ sender?: string | undefined;
74777
+ kind?: string | undefined;
74778
+ timestamp_ms?: string | undefined;
74779
+ gas_used?: string | undefined;
74780
+ gas_budget?: string | undefined;
74781
+ epoch?: string | undefined;
74782
+ is_system_tx?: boolean | undefined;
74783
+ } | undefined;
74784
+ }, {
74785
+ query_type: "onchain_transaction";
74786
+ result?: {
74787
+ status: "success" | "failed";
74788
+ digest: string;
74789
+ object_changes: {
74790
+ type: "created" | "mutated" | "deleted" | "wrapped" | "unwrapped";
74791
+ id: string;
74792
+ object_type?: string | undefined;
74793
+ version?: string | undefined;
74794
+ digest?: string | undefined;
74795
+ sender?: string | undefined;
74796
+ previous_version?: string | undefined;
74797
+ }[];
74798
+ balance_changes: {
74799
+ owner: string;
74800
+ amount: string;
74801
+ coin_type: string;
74802
+ }[];
74803
+ event_count: number;
74804
+ cache_expire?: number | "INFINITE" | undefined;
74805
+ error?: string | undefined;
74806
+ sender?: string | undefined;
74807
+ kind?: string | undefined;
74808
+ timestamp_ms?: string | undefined;
74809
+ gas_used?: string | undefined;
74810
+ gas_budget?: string | undefined;
74811
+ epoch?: string | undefined;
74812
+ is_system_tx?: boolean | undefined;
74813
+ } | undefined;
74814
+ }>, z.ZodObject<{
74815
+ query_type: z.ZodLiteral<"onchain_object_history">;
74816
+ result: z.ZodUnion<[z.ZodObject<{
74817
+ transactions: z.ZodArray<z.ZodObject<{
74818
+ digest: z.ZodString;
74819
+ status: z.ZodEnum<["success", "failed"]>;
74820
+ timestamp_ms: z.ZodOptional<z.ZodString>;
74821
+ sender: z.ZodOptional<z.ZodString>;
74822
+ kind: z.ZodOptional<z.ZodString>;
74823
+ gas_used: z.ZodOptional<z.ZodString>;
74824
+ objects_touched: z.ZodArray<z.ZodString, "many">;
74825
+ has_object_changes: z.ZodBoolean;
74826
+ }, "strict", z.ZodTypeAny, {
74827
+ status: "success" | "failed";
74828
+ digest: string;
74829
+ objects_touched: string[];
74830
+ has_object_changes: boolean;
74831
+ sender?: string | undefined;
74832
+ kind?: string | undefined;
74833
+ timestamp_ms?: string | undefined;
74834
+ gas_used?: string | undefined;
74835
+ }, {
74836
+ status: "success" | "failed";
74837
+ digest: string;
74838
+ objects_touched: string[];
74839
+ has_object_changes: boolean;
74840
+ sender?: string | undefined;
74841
+ kind?: string | undefined;
74842
+ timestamp_ms?: string | undefined;
74843
+ gas_used?: string | undefined;
74844
+ }>, "many">;
74845
+ next_cursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
74846
+ has_next_page: z.ZodBoolean;
74847
+ cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
74848
+ }, "strict", z.ZodTypeAny, {
74849
+ transactions: {
74850
+ status: "success" | "failed";
74851
+ digest: string;
74852
+ objects_touched: string[];
74853
+ has_object_changes: boolean;
74854
+ sender?: string | undefined;
74855
+ kind?: string | undefined;
74856
+ timestamp_ms?: string | undefined;
74857
+ gas_used?: string | undefined;
74858
+ }[];
74859
+ next_cursor: string | null;
74860
+ has_next_page: boolean;
74861
+ cache_expire?: number | "INFINITE" | undefined;
74862
+ }, {
74863
+ transactions: {
74864
+ status: "success" | "failed";
74865
+ digest: string;
74866
+ objects_touched: string[];
74867
+ has_object_changes: boolean;
74868
+ sender?: string | undefined;
74869
+ kind?: string | undefined;
74870
+ timestamp_ms?: string | undefined;
74871
+ gas_used?: string | undefined;
74872
+ }[];
74873
+ next_cursor: string | null;
74874
+ has_next_page: boolean;
74875
+ cache_expire?: number | "INFINITE" | undefined;
74876
+ }>, z.ZodUndefined]>;
74877
+ }, "strict", z.ZodTypeAny, {
74878
+ query_type: "onchain_object_history";
74879
+ result?: {
74880
+ transactions: {
74881
+ status: "success" | "failed";
74882
+ digest: string;
74883
+ objects_touched: string[];
74884
+ has_object_changes: boolean;
74885
+ sender?: string | undefined;
74886
+ kind?: string | undefined;
74887
+ timestamp_ms?: string | undefined;
74888
+ gas_used?: string | undefined;
74889
+ }[];
74890
+ next_cursor: string | null;
74891
+ has_next_page: boolean;
74892
+ cache_expire?: number | "INFINITE" | undefined;
74893
+ } | undefined;
74894
+ }, {
74895
+ query_type: "onchain_object_history";
74896
+ result?: {
74897
+ transactions: {
74898
+ status: "success" | "failed";
74899
+ digest: string;
74900
+ objects_touched: string[];
74901
+ has_object_changes: boolean;
74902
+ sender?: string | undefined;
74903
+ kind?: string | undefined;
74904
+ timestamp_ms?: string | undefined;
74905
+ gas_used?: string | undefined;
74906
+ }[];
74907
+ next_cursor: string | null;
74908
+ has_next_page: boolean;
74909
+ cache_expire?: number | "INFINITE" | undefined;
74910
+ } | undefined;
74911
+ }>, z.ZodObject<{
74912
+ query_type: z.ZodLiteral<"onchain_address_activity">;
74913
+ result: z.ZodUnion<[z.ZodObject<{
74914
+ transactions: z.ZodArray<z.ZodObject<{
74915
+ digest: z.ZodString;
74916
+ status: z.ZodEnum<["success", "failed"]>;
74917
+ timestamp_ms: z.ZodOptional<z.ZodString>;
74918
+ sender: z.ZodOptional<z.ZodString>;
74919
+ kind: z.ZodOptional<z.ZodString>;
74920
+ gas_used: z.ZodOptional<z.ZodString>;
74921
+ objects_touched: z.ZodArray<z.ZodString, "many">;
74922
+ has_object_changes: z.ZodBoolean;
74923
+ }, "strict", z.ZodTypeAny, {
74924
+ status: "success" | "failed";
74925
+ digest: string;
74926
+ objects_touched: string[];
74927
+ has_object_changes: boolean;
74928
+ sender?: string | undefined;
74929
+ kind?: string | undefined;
74930
+ timestamp_ms?: string | undefined;
74931
+ gas_used?: string | undefined;
74932
+ }, {
74933
+ status: "success" | "failed";
74934
+ digest: string;
74935
+ objects_touched: string[];
74936
+ has_object_changes: boolean;
74937
+ sender?: string | undefined;
74938
+ kind?: string | undefined;
74939
+ timestamp_ms?: string | undefined;
74940
+ gas_used?: string | undefined;
74941
+ }>, "many">;
74942
+ next_cursor: z.ZodUnion<[z.ZodString, z.ZodNull]>;
74943
+ has_next_page: z.ZodBoolean;
74944
+ cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
74945
+ }, "strict", z.ZodTypeAny, {
74946
+ transactions: {
74947
+ status: "success" | "failed";
74948
+ digest: string;
74949
+ objects_touched: string[];
74950
+ has_object_changes: boolean;
74951
+ sender?: string | undefined;
74952
+ kind?: string | undefined;
74953
+ timestamp_ms?: string | undefined;
74954
+ gas_used?: string | undefined;
74955
+ }[];
74956
+ next_cursor: string | null;
74957
+ has_next_page: boolean;
74958
+ cache_expire?: number | "INFINITE" | undefined;
74959
+ }, {
74960
+ transactions: {
74961
+ status: "success" | "failed";
74962
+ digest: string;
74963
+ objects_touched: string[];
74964
+ has_object_changes: boolean;
74965
+ sender?: string | undefined;
74966
+ kind?: string | undefined;
74967
+ timestamp_ms?: string | undefined;
74968
+ gas_used?: string | undefined;
74969
+ }[];
74970
+ next_cursor: string | null;
74971
+ has_next_page: boolean;
74972
+ cache_expire?: number | "INFINITE" | undefined;
74973
+ }>, z.ZodUndefined]>;
74974
+ }, "strict", z.ZodTypeAny, {
74975
+ query_type: "onchain_address_activity";
74976
+ result?: {
74977
+ transactions: {
74978
+ status: "success" | "failed";
74979
+ digest: string;
74980
+ objects_touched: string[];
74981
+ has_object_changes: boolean;
74982
+ sender?: string | undefined;
74983
+ kind?: string | undefined;
74984
+ timestamp_ms?: string | undefined;
74985
+ gas_used?: string | undefined;
74986
+ }[];
74987
+ next_cursor: string | null;
74988
+ has_next_page: boolean;
74989
+ cache_expire?: number | "INFINITE" | undefined;
74990
+ } | undefined;
74991
+ }, {
74992
+ query_type: "onchain_address_activity";
74993
+ result?: {
74994
+ transactions: {
74995
+ status: "success" | "failed";
74996
+ digest: string;
74997
+ objects_touched: string[];
74998
+ has_object_changes: boolean;
74999
+ sender?: string | undefined;
75000
+ kind?: string | undefined;
75001
+ timestamp_ms?: string | undefined;
75002
+ gas_used?: string | undefined;
75003
+ }[];
75004
+ next_cursor: string | null;
75005
+ has_next_page: boolean;
75006
+ cache_expire?: number | "INFINITE" | undefined;
75007
+ } | undefined;
75008
+ }>]>;
74413
75009
  export declare const AllQueryResultsSchema: z.ZodType<any>;
74414
75010
  export declare const WatchQueryOperationsResultSchema: z.ZodType<{
74415
75011
  result: any;
@@ -74520,3 +75116,8 @@ export type EventAnswer = z.infer<typeof EventAnswerSchema>;
74520
75116
  export type EventQuery = z.infer<typeof EventQuerySchema>;
74521
75117
  export type OnchainEventsInput = z.infer<typeof OnchainEventsInputSchema>;
74522
75118
  export type OnchainEventsResult = z.infer<typeof OnchainEventsResultSchema>;
75119
+ export type TxObjectChange = z.infer<typeof TxObjectChangeSchema>;
75120
+ export type TxBalanceChange = z.infer<typeof TxBalanceChangeSchema>;
75121
+ export type TransactionDetail = z.infer<typeof TransactionDetailSchema>;
75122
+ export type TransactionHistoryItem = z.infer<typeof TransactionHistoryItemSchema>;
75123
+ export type TransactionHistoryAnswer = z.infer<typeof TransactionHistoryAnswerSchema>;