@wowok/agent-mcp 2.6.1 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/customer/info-puzzle.d.ts +1 -1
- package/dist/customer/info-puzzle.js +4 -2
- package/dist/customer/risk-assessment.js +26 -4
- package/dist/customer/types.d.ts +2 -0
- package/dist/examples/guard-template-balance-check.json +38 -0
- package/dist/examples/guard-template-time-lock.json +39 -0
- package/dist/examples/machine-template-7node-rental.json +114 -0
- package/dist/examples/rental-ziroom-machine-create.json +137 -0
- package/dist/examples/rental-ziroom-permission-create.json +35 -0
- package/dist/examples/rental-ziroom-service-create.json +80 -0
- package/dist/examples/retail-myshop-service-create.json +88 -0
- package/dist/extensions/capability-manifest.js +24 -24
- package/dist/extensions/constraint-registry.js +18 -18
- package/dist/extensions/metric-registry.js +14 -14
- package/dist/extensions/mode-evaluator.js +16 -16
- package/dist/extensions/modes.js +131 -45
- package/dist/extensions/registry.d.ts +2 -0
- package/dist/extensions/registry.js +63 -30
- package/dist/extensions/types.d.ts +1 -0
- package/dist/index.js +50 -0
- package/dist/knowledge/deployment-scanner.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +72 -0
- package/dist/knowledge/fund-layer.js +420 -0
- package/dist/knowledge/guard-render.d.ts +57 -0
- package/dist/knowledge/guard-render.js +700 -0
- package/dist/knowledge/guard-submission-prompt.d.ts +31 -0
- package/dist/knowledge/guard-submission-prompt.js +171 -0
- package/dist/knowledge/machine-ledger.js +1 -1
- package/dist/knowledge/machine-render.d.ts +41 -0
- package/dist/knowledge/machine-render.js +565 -0
- package/dist/knowledge/machine-templates.js +4 -4
- package/dist/knowledge/reward-confirm.js +2 -2
- package/dist/knowledge/reward-puzzle.js +1 -1
- package/dist/knowledge/reward-risk.js +9 -9
- package/dist/knowledge/reward-templates.js +2 -2
- package/dist/knowledge/service-confirm.d.ts +1 -1
- package/dist/knowledge/service-confirm.js +3 -3
- package/dist/knowledge/service-context.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-risk.d.ts +1 -1
- package/dist/knowledge/service-risk.js +3 -3
- package/dist/knowledge/service-templates.js +2 -2
- package/dist/knowledge/service-translation.d.ts +1 -1
- package/dist/knowledge/service-translation.js +7 -7
- package/dist/project/deployment-bridge.js +6 -5
- package/dist/project/deployment-doc.js +5 -5
- package/dist/project/edit-planner.d.ts +123 -0
- package/dist/project/edit-planner.js +1371 -0
- package/dist/project/evaluation.js +314 -14
- package/dist/project/graph-builder.js +6 -1
- package/dist/project/handlers.d.ts +99 -2
- package/dist/project/handlers.js +358 -16
- package/dist/project/stage-gate.js +4 -4
- package/dist/schema/call/allocation.js +2 -2
- package/dist/schema/call/arbitration.js +19 -6
- package/dist/schema/call/contact.js +2 -2
- package/dist/schema/call/demand.js +2 -2
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +1975 -777
- package/dist/schema/call/machine.js +50 -4
- package/dist/schema/call/order.js +3 -6
- package/dist/schema/call/permission.js +2 -2
- package/dist/schema/call/repository.js +2 -2
- package/dist/schema/call/reward.js +3 -3
- package/dist/schema/call/semantic.js +7 -1
- package/dist/schema/call/service.d.ts +180 -8
- package/dist/schema/call/service.js +82 -27
- package/dist/schema/call/treasury.js +3 -3
- package/dist/schema/common/index.d.ts +2 -0
- package/dist/schema/common/index.js +46 -10
- package/dist/schema/local/index.js +5 -1
- package/dist/schema/operations.d.ts +755 -176
- package/dist/schema/operations.js +43 -7
- package/dist/schema/project/index.d.ts +969 -6
- package/dist/schema/project/index.js +268 -4
- package/dist/schema/query/index.d.ts +217 -0
- package/dist/schema/query/index.js +63 -33
- package/dist/schema/schema-query/index.d.ts +53 -3
- package/dist/schema/schema-query/index.js +17 -2
- package/dist/schema/utils/node-parser.js +13 -0
- package/dist/schema/utils/object-type-utils.d.ts +12 -0
- package/dist/schema/utils/object-type-utils.js +35 -0
- package/dist/schema/utils/permission-machine-check.d.ts +49 -0
- package/dist/schema/utils/permission-machine-check.js +121 -0
- package/dist/schema/utils/skills-recommendation.d.ts +2 -0
- package/dist/schema/utils/skills-recommendation.js +76 -0
- package/dist/schema-query/index.d.ts +14 -1
- package/dist/schema-query/index.js +104 -2
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/onchain_events.output.json +1 -1
- package/dist/schemas/onchain_operations.output.json +2820 -0
- package/dist/schemas/onchain_operations.schema.json +115 -53
- package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -7
- package/dist/schemas/onchain_operations_contact.schema.json +3 -3
- package/dist/schemas/onchain_operations_demand.schema.json +3 -3
- package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -2
- package/dist/schemas/onchain_operations_guard.schema.json +1 -1
- package/dist/schemas/onchain_operations_machine.schema.json +4 -4
- package/dist/schemas/onchain_operations_order.schema.json +3 -3
- package/dist/schemas/onchain_operations_payment.schema.json +1 -1
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1
- package/dist/schemas/onchain_operations_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_repository.schema.json +3 -3
- package/dist/schemas/onchain_operations_reward.schema.json +6 -6
- package/dist/schemas/onchain_operations_service.schema.json +77 -17
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -4
- package/dist/schemas/onchain_table_data.output.json +1 -1
- package/dist/schemas/onchain_table_data.schema.json +10 -9
- package/dist/schemas/project_operation.output.json +1026 -7
- package/dist/schemas/project_operation.schema.json +46 -4
- package/dist/schemas/query_toolkit.output.json +15 -15
- package/dist/schemas/query_toolkit.schema.json +3 -3
- package/dist/schemas/schema_query.output.json +64 -1
- package/dist/schemas/schema_query.schema.json +3 -2
- package/dist/schemas/wowok_buildin_info.output.json +81 -8
- package/dist/schemas/wowok_buildin_info.schema.json +46 -2
- package/dist/tools/handlers/onchain.js +571 -6
- package/dist/tools/handlers/project.js +25 -2
- package/dist/tools/handlers/schema-query.js +24 -1
- package/dist/tools/index.d.ts +8 -0
- package/dist/tools/index.js +177 -6
- package/package.json +2 -2
|
@@ -736,7 +736,57 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
736
736
|
}, {
|
|
737
737
|
coin: string;
|
|
738
738
|
}>]>>;
|
|
739
|
-
|
|
739
|
+
compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
|
|
740
|
+
receipt: z.ZodObject<{
|
|
741
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
742
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
}, "strict", z.ZodTypeAny, {
|
|
744
|
+
name_or_address?: string | undefined;
|
|
745
|
+
local_mark_first?: boolean | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
name_or_address?: string | undefined;
|
|
748
|
+
local_mark_first?: boolean | undefined;
|
|
749
|
+
}>;
|
|
750
|
+
payment_info: z.ZodObject<{
|
|
751
|
+
for_object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
752
|
+
for_guard: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
753
|
+
remark: z.ZodString;
|
|
754
|
+
index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
index: string | number;
|
|
757
|
+
remark: string;
|
|
758
|
+
for_object?: string | null | undefined;
|
|
759
|
+
for_guard?: string | null | undefined;
|
|
760
|
+
}, {
|
|
761
|
+
index: string | number;
|
|
762
|
+
remark: string;
|
|
763
|
+
for_object?: string | null | undefined;
|
|
764
|
+
for_guard?: string | null | undefined;
|
|
765
|
+
}>;
|
|
766
|
+
}, "strict", z.ZodTypeAny, {
|
|
767
|
+
payment_info: {
|
|
768
|
+
index: string | number;
|
|
769
|
+
remark: string;
|
|
770
|
+
for_object?: string | null | undefined;
|
|
771
|
+
for_guard?: string | null | undefined;
|
|
772
|
+
};
|
|
773
|
+
receipt: {
|
|
774
|
+
name_or_address?: string | undefined;
|
|
775
|
+
local_mark_first?: boolean | undefined;
|
|
776
|
+
};
|
|
777
|
+
}, {
|
|
778
|
+
payment_info: {
|
|
779
|
+
index: string | number;
|
|
780
|
+
remark: string;
|
|
781
|
+
for_object?: string | null | undefined;
|
|
782
|
+
for_guard?: string | null | undefined;
|
|
783
|
+
};
|
|
784
|
+
receipt: {
|
|
785
|
+
name_or_address?: string | undefined;
|
|
786
|
+
local_mark_first?: boolean | undefined;
|
|
787
|
+
};
|
|
788
|
+
}>>;
|
|
789
|
+
setting_lock_duration_add: z.ZodOptional<z.ZodNumber>;
|
|
740
790
|
compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
741
791
|
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
742
792
|
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -952,6 +1002,18 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
952
1002
|
} | {
|
|
953
1003
|
coin: string;
|
|
954
1004
|
} | undefined;
|
|
1005
|
+
compensation_fund_withdraw?: {
|
|
1006
|
+
payment_info: {
|
|
1007
|
+
index: string | number;
|
|
1008
|
+
remark: string;
|
|
1009
|
+
for_object?: string | null | undefined;
|
|
1010
|
+
for_guard?: string | null | undefined;
|
|
1011
|
+
};
|
|
1012
|
+
receipt: {
|
|
1013
|
+
name_or_address?: string | undefined;
|
|
1014
|
+
local_mark_first?: boolean | undefined;
|
|
1015
|
+
};
|
|
1016
|
+
} | undefined;
|
|
955
1017
|
compensation_fund_receive?: {
|
|
956
1018
|
received: {
|
|
957
1019
|
id: string;
|
|
@@ -961,7 +1023,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
961
1023
|
balance: string | number;
|
|
962
1024
|
token_type: string;
|
|
963
1025
|
} | "recently" | undefined;
|
|
964
|
-
|
|
1026
|
+
setting_lock_duration_add?: number | undefined;
|
|
965
1027
|
order_new?: {
|
|
966
1028
|
buy: {
|
|
967
1029
|
items: {
|
|
@@ -1120,6 +1182,18 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1120
1182
|
} | {
|
|
1121
1183
|
coin: string;
|
|
1122
1184
|
} | undefined;
|
|
1185
|
+
compensation_fund_withdraw?: {
|
|
1186
|
+
payment_info: {
|
|
1187
|
+
index: string | number;
|
|
1188
|
+
remark: string;
|
|
1189
|
+
for_object?: string | null | undefined;
|
|
1190
|
+
for_guard?: string | null | undefined;
|
|
1191
|
+
};
|
|
1192
|
+
receipt: {
|
|
1193
|
+
name_or_address?: string | undefined;
|
|
1194
|
+
local_mark_first?: boolean | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
} | undefined;
|
|
1123
1197
|
compensation_fund_receive?: {
|
|
1124
1198
|
received: {
|
|
1125
1199
|
id: string;
|
|
@@ -1129,7 +1203,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1129
1203
|
balance: string | number;
|
|
1130
1204
|
token_type: string;
|
|
1131
1205
|
} | "recently" | undefined;
|
|
1132
|
-
|
|
1206
|
+
setting_lock_duration_add?: number | undefined;
|
|
1133
1207
|
order_new?: {
|
|
1134
1208
|
buy: {
|
|
1135
1209
|
items: {
|
|
@@ -1531,6 +1605,18 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1531
1605
|
} | {
|
|
1532
1606
|
coin: string;
|
|
1533
1607
|
} | undefined;
|
|
1608
|
+
compensation_fund_withdraw?: {
|
|
1609
|
+
payment_info: {
|
|
1610
|
+
index: string | number;
|
|
1611
|
+
remark: string;
|
|
1612
|
+
for_object?: string | null | undefined;
|
|
1613
|
+
for_guard?: string | null | undefined;
|
|
1614
|
+
};
|
|
1615
|
+
receipt: {
|
|
1616
|
+
name_or_address?: string | undefined;
|
|
1617
|
+
local_mark_first?: boolean | undefined;
|
|
1618
|
+
};
|
|
1619
|
+
} | undefined;
|
|
1534
1620
|
compensation_fund_receive?: {
|
|
1535
1621
|
received: {
|
|
1536
1622
|
id: string;
|
|
@@ -1540,7 +1626,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1540
1626
|
balance: string | number;
|
|
1541
1627
|
token_type: string;
|
|
1542
1628
|
} | "recently" | undefined;
|
|
1543
|
-
|
|
1629
|
+
setting_lock_duration_add?: number | undefined;
|
|
1544
1630
|
order_new?: {
|
|
1545
1631
|
buy: {
|
|
1546
1632
|
items: {
|
|
@@ -1742,6 +1828,18 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1742
1828
|
} | {
|
|
1743
1829
|
coin: string;
|
|
1744
1830
|
} | undefined;
|
|
1831
|
+
compensation_fund_withdraw?: {
|
|
1832
|
+
payment_info: {
|
|
1833
|
+
index: string | number;
|
|
1834
|
+
remark: string;
|
|
1835
|
+
for_object?: string | null | undefined;
|
|
1836
|
+
for_guard?: string | null | undefined;
|
|
1837
|
+
};
|
|
1838
|
+
receipt: {
|
|
1839
|
+
name_or_address?: string | undefined;
|
|
1840
|
+
local_mark_first?: boolean | undefined;
|
|
1841
|
+
};
|
|
1842
|
+
} | undefined;
|
|
1745
1843
|
compensation_fund_receive?: {
|
|
1746
1844
|
received: {
|
|
1747
1845
|
id: string;
|
|
@@ -1751,7 +1849,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1751
1849
|
balance: string | number;
|
|
1752
1850
|
token_type: string;
|
|
1753
1851
|
} | "recently" | undefined;
|
|
1754
|
-
|
|
1852
|
+
setting_lock_duration_add?: number | undefined;
|
|
1755
1853
|
order_new?: {
|
|
1756
1854
|
buy: {
|
|
1757
1855
|
items: {
|
|
@@ -1844,7 +1942,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1844
1942
|
} | undefined;
|
|
1845
1943
|
}>, z.ZodObject<{
|
|
1846
1944
|
operation_type: z.ZodLiteral<"machine">;
|
|
1847
|
-
data: z.ZodObject<{
|
|
1945
|
+
data: z.ZodEffects<z.ZodObject<{
|
|
1848
1946
|
object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
1849
1947
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1850
1948
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2079,7 +2177,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
2079
2177
|
} | {
|
|
2080
2178
|
op: "clear";
|
|
2081
2179
|
}, unknown>>;
|
|
2082
|
-
node: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
2180
|
+
node: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
2083
2181
|
op: z.ZodLiteral<"add">;
|
|
2084
2182
|
nodes: z.ZodArray<z.ZodObject<{
|
|
2085
2183
|
name: z.ZodString;
|
|
@@ -2448,96 +2546,576 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
2448
2546
|
prior_node_name: string[];
|
|
2449
2547
|
node_name: string;
|
|
2450
2548
|
}[];
|
|
2451
|
-
}, {
|
|
2549
|
+
}, {
|
|
2550
|
+
op: "remove prior node";
|
|
2551
|
+
pairs: {
|
|
2552
|
+
prior_node_name: string[];
|
|
2553
|
+
node_name: string;
|
|
2554
|
+
}[];
|
|
2555
|
+
}>, z.ZodObject<{
|
|
2556
|
+
op: z.ZodLiteral<"add forward">;
|
|
2557
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2558
|
+
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2559
|
+
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2560
|
+
forward: z.ZodArray<z.ZodObject<{
|
|
2561
|
+
name: z.ZodString;
|
|
2562
|
+
namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
|
|
2563
|
+
permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
|
|
2564
|
+
weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2565
|
+
guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
2566
|
+
guard: z.ZodString;
|
|
2567
|
+
retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
|
|
2568
|
+
}, "strict", z.ZodTypeAny, {
|
|
2569
|
+
guard: string;
|
|
2570
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2571
|
+
}, {
|
|
2572
|
+
guard: string;
|
|
2573
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2574
|
+
}>, z.ZodString]>>>, string | {
|
|
2575
|
+
guard: string;
|
|
2576
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2577
|
+
} | null | undefined, unknown>;
|
|
2578
|
+
}, "strict", z.ZodTypeAny, {
|
|
2579
|
+
name: string;
|
|
2580
|
+
weight: string | number;
|
|
2581
|
+
guard?: string | {
|
|
2582
|
+
guard: string;
|
|
2583
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2584
|
+
} | null | undefined;
|
|
2585
|
+
namedOperator?: string | null | undefined;
|
|
2586
|
+
permissionIndex?: string | number | null | undefined;
|
|
2587
|
+
}, {
|
|
2588
|
+
name: string;
|
|
2589
|
+
weight: string | number;
|
|
2590
|
+
guard?: unknown;
|
|
2591
|
+
namedOperator?: string | null | undefined;
|
|
2592
|
+
permissionIndex?: string | number | null | undefined;
|
|
2593
|
+
}>, "many">;
|
|
2594
|
+
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
2595
|
+
}, "strict", z.ZodTypeAny, {
|
|
2596
|
+
forward: {
|
|
2597
|
+
name: string;
|
|
2598
|
+
weight: string | number;
|
|
2599
|
+
guard?: string | {
|
|
2600
|
+
guard: string;
|
|
2601
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2602
|
+
} | null | undefined;
|
|
2603
|
+
namedOperator?: string | null | undefined;
|
|
2604
|
+
permissionIndex?: string | number | null | undefined;
|
|
2605
|
+
}[];
|
|
2606
|
+
prior_node_name: string;
|
|
2607
|
+
node_name: string;
|
|
2608
|
+
threshold?: number | null | undefined;
|
|
2609
|
+
}, {
|
|
2610
|
+
forward: {
|
|
2611
|
+
name: string;
|
|
2612
|
+
weight: string | number;
|
|
2613
|
+
guard?: unknown;
|
|
2614
|
+
namedOperator?: string | null | undefined;
|
|
2615
|
+
permissionIndex?: string | number | null | undefined;
|
|
2616
|
+
}[];
|
|
2617
|
+
prior_node_name: string;
|
|
2618
|
+
node_name: string;
|
|
2619
|
+
threshold?: number | null | undefined;
|
|
2620
|
+
}>, "many">;
|
|
2621
|
+
}, "strict", z.ZodTypeAny, {
|
|
2622
|
+
data: {
|
|
2623
|
+
forward: {
|
|
2624
|
+
name: string;
|
|
2625
|
+
weight: string | number;
|
|
2626
|
+
guard?: string | {
|
|
2627
|
+
guard: string;
|
|
2628
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2629
|
+
} | null | undefined;
|
|
2630
|
+
namedOperator?: string | null | undefined;
|
|
2631
|
+
permissionIndex?: string | number | null | undefined;
|
|
2632
|
+
}[];
|
|
2633
|
+
prior_node_name: string;
|
|
2634
|
+
node_name: string;
|
|
2635
|
+
threshold?: number | null | undefined;
|
|
2636
|
+
}[];
|
|
2637
|
+
op: "add forward";
|
|
2638
|
+
}, {
|
|
2639
|
+
data: {
|
|
2640
|
+
forward: {
|
|
2641
|
+
name: string;
|
|
2642
|
+
weight: string | number;
|
|
2643
|
+
guard?: unknown;
|
|
2644
|
+
namedOperator?: string | null | undefined;
|
|
2645
|
+
permissionIndex?: string | number | null | undefined;
|
|
2646
|
+
}[];
|
|
2647
|
+
prior_node_name: string;
|
|
2648
|
+
node_name: string;
|
|
2649
|
+
threshold?: number | null | undefined;
|
|
2650
|
+
}[];
|
|
2651
|
+
op: "add forward";
|
|
2652
|
+
}>, z.ZodObject<{
|
|
2653
|
+
op: z.ZodLiteral<"remove forward">;
|
|
2654
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2655
|
+
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2656
|
+
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2657
|
+
forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2658
|
+
}, "strict", z.ZodTypeAny, {
|
|
2659
|
+
forward_name: string[];
|
|
2660
|
+
prior_node_name: string;
|
|
2661
|
+
node_name: string;
|
|
2662
|
+
}, {
|
|
2663
|
+
forward_name: string[];
|
|
2664
|
+
prior_node_name: string;
|
|
2665
|
+
node_name: string;
|
|
2666
|
+
}>, "many">;
|
|
2667
|
+
}, "strict", z.ZodTypeAny, {
|
|
2668
|
+
data: {
|
|
2669
|
+
forward_name: string[];
|
|
2670
|
+
prior_node_name: string;
|
|
2671
|
+
node_name: string;
|
|
2672
|
+
}[];
|
|
2673
|
+
op: "remove forward";
|
|
2674
|
+
}, {
|
|
2675
|
+
data: {
|
|
2676
|
+
forward_name: string[];
|
|
2677
|
+
prior_node_name: string;
|
|
2678
|
+
node_name: string;
|
|
2679
|
+
}[];
|
|
2680
|
+
op: "remove forward";
|
|
2681
|
+
}>]>, {
|
|
2682
|
+
op: "add";
|
|
2683
|
+
nodes: {
|
|
2684
|
+
name: string;
|
|
2685
|
+
pairs: {
|
|
2686
|
+
forwards: {
|
|
2687
|
+
name: string;
|
|
2688
|
+
weight: string | number;
|
|
2689
|
+
guard?: string | {
|
|
2690
|
+
guard: string;
|
|
2691
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2692
|
+
} | null | undefined;
|
|
2693
|
+
namedOperator?: string | null | undefined;
|
|
2694
|
+
permissionIndex?: string | number | null | undefined;
|
|
2695
|
+
}[];
|
|
2696
|
+
threshold: string | number;
|
|
2697
|
+
prev_node: string;
|
|
2698
|
+
}[];
|
|
2699
|
+
}[];
|
|
2700
|
+
bReplace?: boolean | undefined;
|
|
2701
|
+
} | {
|
|
2702
|
+
op: "set";
|
|
2703
|
+
nodes: {
|
|
2704
|
+
name: string;
|
|
2705
|
+
pairs: {
|
|
2706
|
+
forwards: {
|
|
2707
|
+
name: string;
|
|
2708
|
+
weight: string | number;
|
|
2709
|
+
guard?: string | {
|
|
2710
|
+
guard: string;
|
|
2711
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2712
|
+
} | null | undefined;
|
|
2713
|
+
namedOperator?: string | null | undefined;
|
|
2714
|
+
permissionIndex?: string | number | null | undefined;
|
|
2715
|
+
}[];
|
|
2716
|
+
threshold: string | number;
|
|
2717
|
+
prev_node: string;
|
|
2718
|
+
}[];
|
|
2719
|
+
}[];
|
|
2720
|
+
bReplace?: boolean | undefined;
|
|
2721
|
+
} | {
|
|
2722
|
+
op: "remove";
|
|
2723
|
+
nodes: string[];
|
|
2724
|
+
} | {
|
|
2725
|
+
op: "clear";
|
|
2726
|
+
} | {
|
|
2727
|
+
op: "exchange";
|
|
2728
|
+
node_one: string;
|
|
2729
|
+
node_other: string;
|
|
2730
|
+
} | {
|
|
2731
|
+
op: "rename";
|
|
2732
|
+
node_name_old: string;
|
|
2733
|
+
node_name_new: string;
|
|
2734
|
+
} | {
|
|
2735
|
+
op: "remove prior node";
|
|
2736
|
+
pairs: {
|
|
2737
|
+
prior_node_name: string[];
|
|
2738
|
+
node_name: string;
|
|
2739
|
+
}[];
|
|
2740
|
+
} | {
|
|
2741
|
+
data: {
|
|
2742
|
+
forward: {
|
|
2743
|
+
name: string;
|
|
2744
|
+
weight: string | number;
|
|
2745
|
+
guard?: string | {
|
|
2746
|
+
guard: string;
|
|
2747
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2748
|
+
} | null | undefined;
|
|
2749
|
+
namedOperator?: string | null | undefined;
|
|
2750
|
+
permissionIndex?: string | number | null | undefined;
|
|
2751
|
+
}[];
|
|
2752
|
+
prior_node_name: string;
|
|
2753
|
+
node_name: string;
|
|
2754
|
+
threshold?: number | null | undefined;
|
|
2755
|
+
}[];
|
|
2756
|
+
op: "add forward";
|
|
2757
|
+
} | {
|
|
2758
|
+
data: {
|
|
2759
|
+
forward_name: string[];
|
|
2760
|
+
prior_node_name: string;
|
|
2761
|
+
node_name: string;
|
|
2762
|
+
}[];
|
|
2763
|
+
op: "remove forward";
|
|
2764
|
+
}, {
|
|
2765
|
+
op: "add";
|
|
2766
|
+
nodes: {
|
|
2767
|
+
name: string;
|
|
2768
|
+
pairs: {
|
|
2769
|
+
forwards: {
|
|
2770
|
+
name: string;
|
|
2771
|
+
weight: string | number;
|
|
2772
|
+
guard?: unknown;
|
|
2773
|
+
namedOperator?: string | null | undefined;
|
|
2774
|
+
permissionIndex?: string | number | null | undefined;
|
|
2775
|
+
}[];
|
|
2776
|
+
prev_node: string;
|
|
2777
|
+
threshold?: string | number | undefined;
|
|
2778
|
+
}[];
|
|
2779
|
+
}[];
|
|
2780
|
+
bReplace?: boolean | undefined;
|
|
2781
|
+
} | {
|
|
2782
|
+
op: "set";
|
|
2783
|
+
nodes: {
|
|
2784
|
+
name: string;
|
|
2785
|
+
pairs: {
|
|
2786
|
+
forwards: {
|
|
2787
|
+
name: string;
|
|
2788
|
+
weight: string | number;
|
|
2789
|
+
guard?: unknown;
|
|
2790
|
+
namedOperator?: string | null | undefined;
|
|
2791
|
+
permissionIndex?: string | number | null | undefined;
|
|
2792
|
+
}[];
|
|
2793
|
+
prev_node: string;
|
|
2794
|
+
threshold?: string | number | undefined;
|
|
2795
|
+
}[];
|
|
2796
|
+
}[];
|
|
2797
|
+
bReplace?: boolean | undefined;
|
|
2798
|
+
} | {
|
|
2799
|
+
op: "remove";
|
|
2800
|
+
nodes: string[];
|
|
2801
|
+
} | {
|
|
2802
|
+
op: "clear";
|
|
2803
|
+
} | {
|
|
2804
|
+
op: "exchange";
|
|
2805
|
+
node_one: string;
|
|
2806
|
+
node_other: string;
|
|
2807
|
+
} | {
|
|
2808
|
+
op: "rename";
|
|
2809
|
+
node_name_old: string;
|
|
2810
|
+
node_name_new: string;
|
|
2811
|
+
} | {
|
|
2812
|
+
op: "remove prior node";
|
|
2813
|
+
pairs: {
|
|
2814
|
+
prior_node_name: string[];
|
|
2815
|
+
node_name: string;
|
|
2816
|
+
}[];
|
|
2817
|
+
} | {
|
|
2818
|
+
data: {
|
|
2819
|
+
forward: {
|
|
2820
|
+
name: string;
|
|
2821
|
+
weight: string | number;
|
|
2822
|
+
guard?: unknown;
|
|
2823
|
+
namedOperator?: string | null | undefined;
|
|
2824
|
+
permissionIndex?: string | number | null | undefined;
|
|
2825
|
+
}[];
|
|
2826
|
+
prior_node_name: string;
|
|
2827
|
+
node_name: string;
|
|
2828
|
+
threshold?: number | null | undefined;
|
|
2829
|
+
}[];
|
|
2830
|
+
op: "add forward";
|
|
2831
|
+
} | {
|
|
2832
|
+
data: {
|
|
2833
|
+
forward_name: string[];
|
|
2834
|
+
prior_node_name: string;
|
|
2835
|
+
node_name: string;
|
|
2836
|
+
}[];
|
|
2837
|
+
op: "remove forward";
|
|
2838
|
+
}>, z.ZodObject<{
|
|
2839
|
+
json_or_markdown_file: z.ZodString;
|
|
2840
|
+
}, "strict", z.ZodTypeAny, {
|
|
2841
|
+
json_or_markdown_file: string;
|
|
2842
|
+
}, {
|
|
2843
|
+
json_or_markdown_file: string;
|
|
2844
|
+
}>]>>;
|
|
2845
|
+
pause: z.ZodOptional<z.ZodBoolean>;
|
|
2846
|
+
publish: z.ZodOptional<z.ZodBoolean>;
|
|
2847
|
+
owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
2848
|
+
id: z.ZodString;
|
|
2849
|
+
type: z.ZodString;
|
|
2850
|
+
content_raw: z.ZodOptional<z.ZodAny>;
|
|
2851
|
+
}, "strict", z.ZodTypeAny, {
|
|
2852
|
+
type: string;
|
|
2853
|
+
id: string;
|
|
2854
|
+
content_raw?: any;
|
|
2855
|
+
}, {
|
|
2856
|
+
type: string;
|
|
2857
|
+
id: string;
|
|
2858
|
+
content_raw?: any;
|
|
2859
|
+
}>, "many">, z.ZodObject<{
|
|
2860
|
+
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2861
|
+
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
2862
|
+
received: z.ZodArray<z.ZodObject<{
|
|
2863
|
+
id: z.ZodString;
|
|
2864
|
+
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2865
|
+
payment: z.ZodString;
|
|
2866
|
+
}, "strict", z.ZodTypeAny, {
|
|
2867
|
+
id: string;
|
|
2868
|
+
balance: string | number;
|
|
2869
|
+
payment: string;
|
|
2870
|
+
}, {
|
|
2871
|
+
id: string;
|
|
2872
|
+
balance: string | number;
|
|
2873
|
+
payment: string;
|
|
2874
|
+
}>, "many">;
|
|
2875
|
+
}, "strict", z.ZodTypeAny, {
|
|
2876
|
+
received: {
|
|
2877
|
+
id: string;
|
|
2878
|
+
balance: string | number;
|
|
2879
|
+
payment: string;
|
|
2880
|
+
}[];
|
|
2881
|
+
balance: string | number;
|
|
2882
|
+
token_type: string;
|
|
2883
|
+
}, {
|
|
2884
|
+
received: {
|
|
2885
|
+
id: string;
|
|
2886
|
+
balance: string | number;
|
|
2887
|
+
payment: string;
|
|
2888
|
+
}[];
|
|
2889
|
+
balance: string | number;
|
|
2890
|
+
token_type: string;
|
|
2891
|
+
}>, z.ZodLiteral<"recently">]>>;
|
|
2892
|
+
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
2893
|
+
}, "strict", z.ZodTypeAny, {
|
|
2894
|
+
object: string | {
|
|
2895
|
+
name?: string | undefined;
|
|
2896
|
+
permission?: string | {
|
|
2897
|
+
name?: string | undefined;
|
|
2898
|
+
description?: string | undefined;
|
|
2899
|
+
replaceExistName?: boolean | undefined;
|
|
2900
|
+
tags?: string[] | undefined;
|
|
2901
|
+
onChain?: boolean | undefined;
|
|
2902
|
+
} | undefined;
|
|
2903
|
+
replaceExistName?: boolean | undefined;
|
|
2904
|
+
tags?: string[] | undefined;
|
|
2905
|
+
onChain?: boolean | undefined;
|
|
2906
|
+
};
|
|
2907
|
+
description?: string | undefined;
|
|
2908
|
+
publish?: boolean | undefined;
|
|
2909
|
+
pause?: boolean | undefined;
|
|
2910
|
+
node?: {
|
|
2911
|
+
op: "add";
|
|
2912
|
+
nodes: {
|
|
2913
|
+
name: string;
|
|
2914
|
+
pairs: {
|
|
2915
|
+
forwards: {
|
|
2916
|
+
name: string;
|
|
2917
|
+
weight: string | number;
|
|
2918
|
+
guard?: string | {
|
|
2919
|
+
guard: string;
|
|
2920
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2921
|
+
} | null | undefined;
|
|
2922
|
+
namedOperator?: string | null | undefined;
|
|
2923
|
+
permissionIndex?: string | number | null | undefined;
|
|
2924
|
+
}[];
|
|
2925
|
+
threshold: string | number;
|
|
2926
|
+
prev_node: string;
|
|
2927
|
+
}[];
|
|
2928
|
+
}[];
|
|
2929
|
+
bReplace?: boolean | undefined;
|
|
2930
|
+
} | {
|
|
2931
|
+
op: "set";
|
|
2932
|
+
nodes: {
|
|
2933
|
+
name: string;
|
|
2934
|
+
pairs: {
|
|
2935
|
+
forwards: {
|
|
2936
|
+
name: string;
|
|
2937
|
+
weight: string | number;
|
|
2938
|
+
guard?: string | {
|
|
2939
|
+
guard: string;
|
|
2940
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2941
|
+
} | null | undefined;
|
|
2942
|
+
namedOperator?: string | null | undefined;
|
|
2943
|
+
permissionIndex?: string | number | null | undefined;
|
|
2944
|
+
}[];
|
|
2945
|
+
threshold: string | number;
|
|
2946
|
+
prev_node: string;
|
|
2947
|
+
}[];
|
|
2948
|
+
}[];
|
|
2949
|
+
bReplace?: boolean | undefined;
|
|
2950
|
+
} | {
|
|
2951
|
+
op: "remove";
|
|
2952
|
+
nodes: string[];
|
|
2953
|
+
} | {
|
|
2954
|
+
op: "clear";
|
|
2955
|
+
} | {
|
|
2956
|
+
op: "exchange";
|
|
2957
|
+
node_one: string;
|
|
2958
|
+
node_other: string;
|
|
2959
|
+
} | {
|
|
2960
|
+
op: "rename";
|
|
2961
|
+
node_name_old: string;
|
|
2962
|
+
node_name_new: string;
|
|
2963
|
+
} | {
|
|
2964
|
+
op: "remove prior node";
|
|
2965
|
+
pairs: {
|
|
2966
|
+
prior_node_name: string[];
|
|
2967
|
+
node_name: string;
|
|
2968
|
+
}[];
|
|
2969
|
+
} | {
|
|
2970
|
+
data: {
|
|
2971
|
+
forward: {
|
|
2972
|
+
name: string;
|
|
2973
|
+
weight: string | number;
|
|
2974
|
+
guard?: string | {
|
|
2975
|
+
guard: string;
|
|
2976
|
+
retained_submission?: (string | number)[] | null | undefined;
|
|
2977
|
+
} | null | undefined;
|
|
2978
|
+
namedOperator?: string | null | undefined;
|
|
2979
|
+
permissionIndex?: string | number | null | undefined;
|
|
2980
|
+
}[];
|
|
2981
|
+
prior_node_name: string;
|
|
2982
|
+
node_name: string;
|
|
2983
|
+
threshold?: number | null | undefined;
|
|
2984
|
+
}[];
|
|
2985
|
+
op: "add forward";
|
|
2986
|
+
} | {
|
|
2987
|
+
data: {
|
|
2988
|
+
forward_name: string[];
|
|
2989
|
+
prior_node_name: string;
|
|
2990
|
+
node_name: string;
|
|
2991
|
+
}[];
|
|
2992
|
+
op: "remove forward";
|
|
2993
|
+
} | {
|
|
2994
|
+
json_or_markdown_file: string;
|
|
2995
|
+
} | undefined;
|
|
2996
|
+
repository?: {
|
|
2997
|
+
op: "set" | "add";
|
|
2998
|
+
objects: string[];
|
|
2999
|
+
} | {
|
|
3000
|
+
op: "remove";
|
|
3001
|
+
objects: string[];
|
|
3002
|
+
} | {
|
|
3003
|
+
op: "clear";
|
|
3004
|
+
} | undefined;
|
|
3005
|
+
um?: string | null | undefined;
|
|
3006
|
+
owner_receive?: {
|
|
3007
|
+
received: {
|
|
3008
|
+
id: string;
|
|
3009
|
+
balance: string | number;
|
|
3010
|
+
payment: string;
|
|
3011
|
+
}[];
|
|
3012
|
+
balance: string | number;
|
|
3013
|
+
token_type: string;
|
|
3014
|
+
} | "recently" | {
|
|
3015
|
+
type: string;
|
|
3016
|
+
id: string;
|
|
3017
|
+
content_raw?: any;
|
|
3018
|
+
}[] | undefined;
|
|
3019
|
+
progress_new?: {
|
|
3020
|
+
namedNew?: {
|
|
3021
|
+
name?: string | undefined;
|
|
3022
|
+
replaceExistName?: boolean | undefined;
|
|
3023
|
+
tags?: string[] | undefined;
|
|
3024
|
+
onChain?: boolean | undefined;
|
|
3025
|
+
} | undefined;
|
|
3026
|
+
repository?: {
|
|
3027
|
+
op: "set" | "add";
|
|
3028
|
+
objects: string[];
|
|
3029
|
+
} | {
|
|
3030
|
+
op: "remove";
|
|
3031
|
+
objects: string[];
|
|
3032
|
+
} | {
|
|
3033
|
+
op: "clear";
|
|
3034
|
+
} | undefined;
|
|
3035
|
+
task?: string | null | undefined;
|
|
3036
|
+
progress_namedOperator?: {
|
|
3037
|
+
name: string;
|
|
3038
|
+
op: "set" | "add" | "remove";
|
|
3039
|
+
operators: {
|
|
3040
|
+
entities: {
|
|
3041
|
+
name_or_address?: string | undefined;
|
|
3042
|
+
local_mark_first?: boolean | undefined;
|
|
3043
|
+
}[];
|
|
3044
|
+
check_all_founded?: boolean | undefined;
|
|
3045
|
+
};
|
|
3046
|
+
} | undefined;
|
|
3047
|
+
} | undefined;
|
|
3048
|
+
}, {
|
|
3049
|
+
object: string | {
|
|
3050
|
+
name?: string | undefined;
|
|
3051
|
+
permission?: string | {
|
|
3052
|
+
name?: string | undefined;
|
|
3053
|
+
description?: string | undefined;
|
|
3054
|
+
replaceExistName?: boolean | undefined;
|
|
3055
|
+
tags?: string[] | undefined;
|
|
3056
|
+
onChain?: boolean | undefined;
|
|
3057
|
+
} | undefined;
|
|
3058
|
+
replaceExistName?: boolean | undefined;
|
|
3059
|
+
tags?: string[] | undefined;
|
|
3060
|
+
onChain?: boolean | undefined;
|
|
3061
|
+
};
|
|
3062
|
+
description?: string | undefined;
|
|
3063
|
+
publish?: boolean | undefined;
|
|
3064
|
+
pause?: boolean | undefined;
|
|
3065
|
+
node?: {
|
|
3066
|
+
op: "add";
|
|
3067
|
+
nodes: {
|
|
3068
|
+
name: string;
|
|
3069
|
+
pairs: {
|
|
3070
|
+
forwards: {
|
|
3071
|
+
name: string;
|
|
3072
|
+
weight: string | number;
|
|
3073
|
+
guard?: unknown;
|
|
3074
|
+
namedOperator?: string | null | undefined;
|
|
3075
|
+
permissionIndex?: string | number | null | undefined;
|
|
3076
|
+
}[];
|
|
3077
|
+
prev_node: string;
|
|
3078
|
+
threshold?: string | number | undefined;
|
|
3079
|
+
}[];
|
|
3080
|
+
}[];
|
|
3081
|
+
bReplace?: boolean | undefined;
|
|
3082
|
+
} | {
|
|
3083
|
+
op: "set";
|
|
3084
|
+
nodes: {
|
|
3085
|
+
name: string;
|
|
3086
|
+
pairs: {
|
|
3087
|
+
forwards: {
|
|
3088
|
+
name: string;
|
|
3089
|
+
weight: string | number;
|
|
3090
|
+
guard?: unknown;
|
|
3091
|
+
namedOperator?: string | null | undefined;
|
|
3092
|
+
permissionIndex?: string | number | null | undefined;
|
|
3093
|
+
}[];
|
|
3094
|
+
prev_node: string;
|
|
3095
|
+
threshold?: string | number | undefined;
|
|
3096
|
+
}[];
|
|
3097
|
+
}[];
|
|
3098
|
+
bReplace?: boolean | undefined;
|
|
3099
|
+
} | {
|
|
3100
|
+
op: "remove";
|
|
3101
|
+
nodes: string[];
|
|
3102
|
+
} | {
|
|
3103
|
+
op: "clear";
|
|
3104
|
+
} | {
|
|
3105
|
+
op: "exchange";
|
|
3106
|
+
node_one: string;
|
|
3107
|
+
node_other: string;
|
|
3108
|
+
} | {
|
|
3109
|
+
op: "rename";
|
|
3110
|
+
node_name_old: string;
|
|
3111
|
+
node_name_new: string;
|
|
3112
|
+
} | {
|
|
2452
3113
|
op: "remove prior node";
|
|
2453
3114
|
pairs: {
|
|
2454
3115
|
prior_node_name: string[];
|
|
2455
3116
|
node_name: string;
|
|
2456
3117
|
}[];
|
|
2457
|
-
}
|
|
2458
|
-
op: z.ZodLiteral<"add forward">;
|
|
2459
|
-
data: z.ZodArray<z.ZodObject<{
|
|
2460
|
-
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2461
|
-
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2462
|
-
forward: z.ZodArray<z.ZodObject<{
|
|
2463
|
-
name: z.ZodString;
|
|
2464
|
-
namedOperator: z.ZodUnion<[z.ZodString, z.ZodNull, z.ZodUndefined]>;
|
|
2465
|
-
permissionIndex: z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull, z.ZodUndefined]>;
|
|
2466
|
-
weight: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2467
|
-
guard: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
2468
|
-
guard: z.ZodString;
|
|
2469
|
-
retained_submission: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>;
|
|
2470
|
-
}, "strict", z.ZodTypeAny, {
|
|
2471
|
-
guard: string;
|
|
2472
|
-
retained_submission?: (string | number)[] | null | undefined;
|
|
2473
|
-
}, {
|
|
2474
|
-
guard: string;
|
|
2475
|
-
retained_submission?: (string | number)[] | null | undefined;
|
|
2476
|
-
}>, z.ZodString]>>>, string | {
|
|
2477
|
-
guard: string;
|
|
2478
|
-
retained_submission?: (string | number)[] | null | undefined;
|
|
2479
|
-
} | null | undefined, unknown>;
|
|
2480
|
-
}, "strict", z.ZodTypeAny, {
|
|
2481
|
-
name: string;
|
|
2482
|
-
weight: string | number;
|
|
2483
|
-
guard?: string | {
|
|
2484
|
-
guard: string;
|
|
2485
|
-
retained_submission?: (string | number)[] | null | undefined;
|
|
2486
|
-
} | null | undefined;
|
|
2487
|
-
namedOperator?: string | null | undefined;
|
|
2488
|
-
permissionIndex?: string | number | null | undefined;
|
|
2489
|
-
}, {
|
|
2490
|
-
name: string;
|
|
2491
|
-
weight: string | number;
|
|
2492
|
-
guard?: unknown;
|
|
2493
|
-
namedOperator?: string | null | undefined;
|
|
2494
|
-
permissionIndex?: string | number | null | undefined;
|
|
2495
|
-
}>, "many">;
|
|
2496
|
-
threshold: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
2497
|
-
}, "strict", z.ZodTypeAny, {
|
|
2498
|
-
forward: {
|
|
2499
|
-
name: string;
|
|
2500
|
-
weight: string | number;
|
|
2501
|
-
guard?: string | {
|
|
2502
|
-
guard: string;
|
|
2503
|
-
retained_submission?: (string | number)[] | null | undefined;
|
|
2504
|
-
} | null | undefined;
|
|
2505
|
-
namedOperator?: string | null | undefined;
|
|
2506
|
-
permissionIndex?: string | number | null | undefined;
|
|
2507
|
-
}[];
|
|
2508
|
-
prior_node_name: string;
|
|
2509
|
-
node_name: string;
|
|
2510
|
-
threshold?: number | null | undefined;
|
|
2511
|
-
}, {
|
|
2512
|
-
forward: {
|
|
2513
|
-
name: string;
|
|
2514
|
-
weight: string | number;
|
|
2515
|
-
guard?: unknown;
|
|
2516
|
-
namedOperator?: string | null | undefined;
|
|
2517
|
-
permissionIndex?: string | number | null | undefined;
|
|
2518
|
-
}[];
|
|
2519
|
-
prior_node_name: string;
|
|
2520
|
-
node_name: string;
|
|
2521
|
-
threshold?: number | null | undefined;
|
|
2522
|
-
}>, "many">;
|
|
2523
|
-
}, "strict", z.ZodTypeAny, {
|
|
2524
|
-
data: {
|
|
2525
|
-
forward: {
|
|
2526
|
-
name: string;
|
|
2527
|
-
weight: string | number;
|
|
2528
|
-
guard?: string | {
|
|
2529
|
-
guard: string;
|
|
2530
|
-
retained_submission?: (string | number)[] | null | undefined;
|
|
2531
|
-
} | null | undefined;
|
|
2532
|
-
namedOperator?: string | null | undefined;
|
|
2533
|
-
permissionIndex?: string | number | null | undefined;
|
|
2534
|
-
}[];
|
|
2535
|
-
prior_node_name: string;
|
|
2536
|
-
node_name: string;
|
|
2537
|
-
threshold?: number | null | undefined;
|
|
2538
|
-
}[];
|
|
2539
|
-
op: "add forward";
|
|
2540
|
-
}, {
|
|
3118
|
+
} | {
|
|
2541
3119
|
data: {
|
|
2542
3120
|
forward: {
|
|
2543
3121
|
name: string;
|
|
@@ -2551,81 +3129,19 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
2551
3129
|
threshold?: number | null | undefined;
|
|
2552
3130
|
}[];
|
|
2553
3131
|
op: "add forward";
|
|
2554
|
-
}
|
|
2555
|
-
op: z.ZodLiteral<"remove forward">;
|
|
2556
|
-
data: z.ZodArray<z.ZodObject<{
|
|
2557
|
-
prior_node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2558
|
-
node_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2559
|
-
forward_name: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2560
|
-
}, "strict", z.ZodTypeAny, {
|
|
2561
|
-
forward_name: string[];
|
|
2562
|
-
prior_node_name: string;
|
|
2563
|
-
node_name: string;
|
|
2564
|
-
}, {
|
|
2565
|
-
forward_name: string[];
|
|
2566
|
-
prior_node_name: string;
|
|
2567
|
-
node_name: string;
|
|
2568
|
-
}>, "many">;
|
|
2569
|
-
}, "strict", z.ZodTypeAny, {
|
|
2570
|
-
data: {
|
|
2571
|
-
forward_name: string[];
|
|
2572
|
-
prior_node_name: string;
|
|
2573
|
-
node_name: string;
|
|
2574
|
-
}[];
|
|
2575
|
-
op: "remove forward";
|
|
2576
|
-
}, {
|
|
3132
|
+
} | {
|
|
2577
3133
|
data: {
|
|
2578
3134
|
forward_name: string[];
|
|
2579
3135
|
prior_node_name: string;
|
|
2580
3136
|
node_name: string;
|
|
2581
3137
|
}[];
|
|
2582
3138
|
op: "remove forward";
|
|
2583
|
-
}
|
|
2584
|
-
json_or_markdown_file: z.ZodString;
|
|
2585
|
-
}, "strict", z.ZodTypeAny, {
|
|
2586
|
-
json_or_markdown_file: string;
|
|
2587
|
-
}, {
|
|
3139
|
+
} | {
|
|
2588
3140
|
json_or_markdown_file: string;
|
|
2589
|
-
}
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
owner_receive
|
|
2593
|
-
id: z.ZodString;
|
|
2594
|
-
type: z.ZodString;
|
|
2595
|
-
content_raw: z.ZodOptional<z.ZodAny>;
|
|
2596
|
-
}, "strict", z.ZodTypeAny, {
|
|
2597
|
-
type: string;
|
|
2598
|
-
id: string;
|
|
2599
|
-
content_raw?: any;
|
|
2600
|
-
}, {
|
|
2601
|
-
type: string;
|
|
2602
|
-
id: string;
|
|
2603
|
-
content_raw?: any;
|
|
2604
|
-
}>, "many">, z.ZodObject<{
|
|
2605
|
-
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2606
|
-
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
2607
|
-
received: z.ZodArray<z.ZodObject<{
|
|
2608
|
-
id: z.ZodString;
|
|
2609
|
-
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2610
|
-
payment: z.ZodString;
|
|
2611
|
-
}, "strict", z.ZodTypeAny, {
|
|
2612
|
-
id: string;
|
|
2613
|
-
balance: string | number;
|
|
2614
|
-
payment: string;
|
|
2615
|
-
}, {
|
|
2616
|
-
id: string;
|
|
2617
|
-
balance: string | number;
|
|
2618
|
-
payment: string;
|
|
2619
|
-
}>, "many">;
|
|
2620
|
-
}, "strict", z.ZodTypeAny, {
|
|
2621
|
-
received: {
|
|
2622
|
-
id: string;
|
|
2623
|
-
balance: string | number;
|
|
2624
|
-
payment: string;
|
|
2625
|
-
}[];
|
|
2626
|
-
balance: string | number;
|
|
2627
|
-
token_type: string;
|
|
2628
|
-
}, {
|
|
3141
|
+
} | undefined;
|
|
3142
|
+
repository?: unknown;
|
|
3143
|
+
um?: string | null | undefined;
|
|
3144
|
+
owner_receive?: {
|
|
2629
3145
|
received: {
|
|
2630
3146
|
id: string;
|
|
2631
3147
|
balance: string | number;
|
|
@@ -2633,9 +3149,33 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
2633
3149
|
}[];
|
|
2634
3150
|
balance: string | number;
|
|
2635
3151
|
token_type: string;
|
|
2636
|
-
}
|
|
2637
|
-
|
|
2638
|
-
|
|
3152
|
+
} | "recently" | {
|
|
3153
|
+
type: string;
|
|
3154
|
+
id: string;
|
|
3155
|
+
content_raw?: any;
|
|
3156
|
+
}[] | undefined;
|
|
3157
|
+
progress_new?: {
|
|
3158
|
+
namedNew?: {
|
|
3159
|
+
name?: string | undefined;
|
|
3160
|
+
replaceExistName?: boolean | undefined;
|
|
3161
|
+
tags?: string[] | undefined;
|
|
3162
|
+
onChain?: boolean | undefined;
|
|
3163
|
+
} | undefined;
|
|
3164
|
+
repository?: unknown;
|
|
3165
|
+
task?: string | null | undefined;
|
|
3166
|
+
progress_namedOperator?: {
|
|
3167
|
+
name: string;
|
|
3168
|
+
op: "set" | "add" | "remove";
|
|
3169
|
+
operators: {
|
|
3170
|
+
entities: {
|
|
3171
|
+
name_or_address?: string | undefined;
|
|
3172
|
+
local_mark_first?: boolean | undefined;
|
|
3173
|
+
}[];
|
|
3174
|
+
check_all_founded?: boolean | undefined;
|
|
3175
|
+
};
|
|
3176
|
+
} | undefined;
|
|
3177
|
+
} | undefined;
|
|
3178
|
+
}>, {
|
|
2639
3179
|
object: string | {
|
|
2640
3180
|
name?: string | undefined;
|
|
2641
3181
|
permission?: string | {
|
|
@@ -14586,6 +15126,18 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
14586
15126
|
} | {
|
|
14587
15127
|
coin: string;
|
|
14588
15128
|
} | undefined;
|
|
15129
|
+
compensation_fund_withdraw?: {
|
|
15130
|
+
payment_info: {
|
|
15131
|
+
index: string | number;
|
|
15132
|
+
remark: string;
|
|
15133
|
+
for_object?: string | null | undefined;
|
|
15134
|
+
for_guard?: string | null | undefined;
|
|
15135
|
+
};
|
|
15136
|
+
receipt: {
|
|
15137
|
+
name_or_address?: string | undefined;
|
|
15138
|
+
local_mark_first?: boolean | undefined;
|
|
15139
|
+
};
|
|
15140
|
+
} | undefined;
|
|
14589
15141
|
compensation_fund_receive?: {
|
|
14590
15142
|
received: {
|
|
14591
15143
|
id: string;
|
|
@@ -14595,7 +15147,7 @@ export declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
14595
15147
|
balance: string | number;
|
|
14596
15148
|
token_type: string;
|
|
14597
15149
|
} | "recently" | undefined;
|
|
14598
|
-
|
|
15150
|
+
setting_lock_duration_add?: number | undefined;
|
|
14599
15151
|
order_new?: {
|
|
14600
15152
|
buy: {
|
|
14601
15153
|
items: {
|
|
@@ -16587,7 +17139,10 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16587
17139
|
}>, z.ZodObject<{
|
|
16588
17140
|
query_type: z.ZodLiteral<"onchain_table_item_permission_perm">;
|
|
16589
17141
|
parent: z.ZodEffects<z.ZodString, string, string>;
|
|
16590
|
-
address: z.ZodUnion<[z.
|
|
17142
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
17143
|
+
name_or_address: string;
|
|
17144
|
+
local_mark_first: boolean;
|
|
17145
|
+
}, string>, z.ZodObject<{
|
|
16591
17146
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
16592
17147
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
16593
17148
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -16596,13 +17151,16 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16596
17151
|
}, {
|
|
16597
17152
|
name_or_address?: string | undefined;
|
|
16598
17153
|
local_mark_first?: boolean | undefined;
|
|
16599
|
-
}
|
|
17154
|
+
}>]>;
|
|
16600
17155
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
16601
17156
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
16602
17157
|
}, "strict", z.ZodTypeAny, {
|
|
16603
|
-
address:
|
|
17158
|
+
address: {
|
|
16604
17159
|
name_or_address?: string | undefined;
|
|
16605
17160
|
local_mark_first?: boolean | undefined;
|
|
17161
|
+
} | {
|
|
17162
|
+
name_or_address: string;
|
|
17163
|
+
local_mark_first: boolean;
|
|
16606
17164
|
};
|
|
16607
17165
|
parent: string;
|
|
16608
17166
|
query_type: "onchain_table_item_permission_perm";
|
|
@@ -16619,7 +17177,10 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16619
17177
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
16620
17178
|
}>, z.ZodObject<{
|
|
16621
17179
|
query_type: z.ZodLiteral<"onchain_table_item_entity_registrar">;
|
|
16622
|
-
address: z.ZodUnion<[z.
|
|
17180
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
17181
|
+
name_or_address: string;
|
|
17182
|
+
local_mark_first: boolean;
|
|
17183
|
+
}, string>, z.ZodObject<{
|
|
16623
17184
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
16624
17185
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
16625
17186
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -16628,13 +17189,16 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16628
17189
|
}, {
|
|
16629
17190
|
name_or_address?: string | undefined;
|
|
16630
17191
|
local_mark_first?: boolean | undefined;
|
|
16631
|
-
}
|
|
17192
|
+
}>]>;
|
|
16632
17193
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
16633
17194
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
16634
17195
|
}, "strict", z.ZodTypeAny, {
|
|
16635
|
-
address:
|
|
17196
|
+
address: {
|
|
16636
17197
|
name_or_address?: string | undefined;
|
|
16637
17198
|
local_mark_first?: boolean | undefined;
|
|
17199
|
+
} | {
|
|
17200
|
+
name_or_address: string;
|
|
17201
|
+
local_mark_first: boolean;
|
|
16638
17202
|
};
|
|
16639
17203
|
query_type: "onchain_table_item_entity_registrar";
|
|
16640
17204
|
no_cache?: boolean | undefined;
|
|
@@ -16649,7 +17213,10 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16649
17213
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
16650
17214
|
}>, z.ZodObject<{
|
|
16651
17215
|
query_type: z.ZodLiteral<"onchain_table_item_entity_linker">;
|
|
16652
|
-
address: z.ZodUnion<[z.
|
|
17216
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
17217
|
+
name_or_address: string;
|
|
17218
|
+
local_mark_first: boolean;
|
|
17219
|
+
}, string>, z.ZodObject<{
|
|
16653
17220
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
16654
17221
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
16655
17222
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -16658,13 +17225,16 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16658
17225
|
}, {
|
|
16659
17226
|
name_or_address?: string | undefined;
|
|
16660
17227
|
local_mark_first?: boolean | undefined;
|
|
16661
|
-
}
|
|
17228
|
+
}>]>;
|
|
16662
17229
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
16663
17230
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
16664
17231
|
}, "strict", z.ZodTypeAny, {
|
|
16665
|
-
address:
|
|
17232
|
+
address: {
|
|
16666
17233
|
name_or_address?: string | undefined;
|
|
16667
17234
|
local_mark_first?: boolean | undefined;
|
|
17235
|
+
} | {
|
|
17236
|
+
name_or_address: string;
|
|
17237
|
+
local_mark_first: boolean;
|
|
16668
17238
|
};
|
|
16669
17239
|
query_type: "onchain_table_item_entity_linker";
|
|
16670
17240
|
no_cache?: boolean | undefined;
|
|
@@ -16884,26 +17454,35 @@ export declare const OnchainTableDataSchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscr
|
|
|
16884
17454
|
no_cache?: boolean | undefined;
|
|
16885
17455
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
16886
17456
|
} | {
|
|
16887
|
-
address:
|
|
17457
|
+
address: {
|
|
16888
17458
|
name_or_address?: string | undefined;
|
|
16889
17459
|
local_mark_first?: boolean | undefined;
|
|
17460
|
+
} | {
|
|
17461
|
+
name_or_address: string;
|
|
17462
|
+
local_mark_first: boolean;
|
|
16890
17463
|
};
|
|
16891
17464
|
parent: string;
|
|
16892
17465
|
query_type: "onchain_table_item_permission_perm";
|
|
16893
17466
|
no_cache?: boolean | undefined;
|
|
16894
17467
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
16895
17468
|
} | {
|
|
16896
|
-
address:
|
|
17469
|
+
address: {
|
|
16897
17470
|
name_or_address?: string | undefined;
|
|
16898
17471
|
local_mark_first?: boolean | undefined;
|
|
17472
|
+
} | {
|
|
17473
|
+
name_or_address: string;
|
|
17474
|
+
local_mark_first: boolean;
|
|
16899
17475
|
};
|
|
16900
17476
|
query_type: "onchain_table_item_entity_registrar";
|
|
16901
17477
|
no_cache?: boolean | undefined;
|
|
16902
17478
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
16903
17479
|
} | {
|
|
16904
|
-
address:
|
|
17480
|
+
address: {
|
|
16905
17481
|
name_or_address?: string | undefined;
|
|
16906
17482
|
local_mark_first?: boolean | undefined;
|
|
17483
|
+
} | {
|
|
17484
|
+
name_or_address: string;
|
|
17485
|
+
local_mark_first: boolean;
|
|
16907
17486
|
};
|
|
16908
17487
|
query_type: "onchain_table_item_entity_linker";
|
|
16909
17488
|
no_cache?: boolean | undefined;
|