@wowok/agent-mcp 2.3.14 → 2.3.18
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/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +40 -0
- package/dist/customer/industry-risks.js +438 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +70 -0
- package/dist/customer/user-preferences.js +460 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +94 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/index.js +842 -371
- package/dist/knowledge/acquisition-flywheel.d.ts +53 -0
- package/dist/knowledge/acquisition-flywheel.js +192 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +77 -0
- package/dist/knowledge/index.js +79 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +48 -0
- package/dist/knowledge/industry-registry.js +187 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +232 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +175 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/diagnose.d.ts +3 -2
- package/dist/loop-engineering/diagnose.js +94 -0
- package/dist/loop-engineering/improve.d.ts +1 -1
- package/dist/loop-engineering/improve.js +52 -1
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +17 -0
- package/dist/safety/confirm-gate.js +88 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +39 -14
- package/dist/schema/call/arbitration.d.ts +187 -162
- package/dist/schema/call/base.d.ts +1971 -87
- package/dist/schema/call/base.js +135 -3
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +1478 -53
- package/dist/schema/call/bridge.js +50 -2
- package/dist/schema/call/contact.d.ts +25 -0
- package/dist/schema/call/demand.d.ts +79 -54
- package/dist/schema/call/guard.d.ts +125 -50
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +60 -14
- package/dist/schema/call/machine.d.ts +988 -938
- package/dist/schema/call/order.d.ts +25 -0
- package/dist/schema/call/payment.d.ts +25 -0
- package/dist/schema/call/permission.d.ts +244 -219
- package/dist/schema/call/personal.d.ts +25 -0
- package/dist/schema/call/progress.d.ts +25 -0
- package/dist/schema/call/proof.d.ts +62 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +101 -76
- package/dist/schema/call/reward.d.ts +55 -30
- package/dist/schema/call/semantic.d.ts +10 -2
- package/dist/schema/call/semantic.js +616 -11
- package/dist/schema/call/service.d.ts +442 -417
- package/dist/schema/call/treasury.d.ts +25 -0
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +237 -81
- package/dist/schema/local/index.js +42 -6
- package/dist/schema/messenger/index.d.ts +1018 -79
- package/dist/schema/messenger/index.js +26 -17
- package/dist/schema/operations.d.ts +3192 -1746
- package/dist/schema/operations.js +93 -98
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +2762 -1856
- package/dist/schema/query/index.js +38 -35
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/account_operation.output.json +25 -16
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/bridge_operation.output.json +744 -0
- package/dist/schemas/bridge_operation.schema.json +82 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +23 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/local_info_operation.output.json +23 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +24 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +23 -0
- package/dist/schemas/messenger_operation.output.json +752 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +627 -18
- package/dist/schemas/onchain_operations.schema.json +115 -39
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +23 -0
- package/dist/schemas/onchain_operations_contact.schema.json +23 -0
- package/dist/schemas/onchain_operations_demand.schema.json +23 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +46 -0
- package/dist/schemas/onchain_operations_guard.schema.json +26 -16
- package/dist/schemas/onchain_operations_machine.schema.json +89 -23
- package/dist/schemas/onchain_operations_order.schema.json +23 -0
- package/dist/schemas/onchain_operations_payment.schema.json +23 -0
- package/dist/schemas/onchain_operations_permission.schema.json +23 -0
- package/dist/schemas/onchain_operations_personal.schema.json +23 -0
- package/dist/schemas/onchain_operations_progress.schema.json +23 -0
- package/dist/schemas/onchain_operations_repository.schema.json +23 -0
- package/dist/schemas/onchain_operations_reward.schema.json +23 -0
- package/dist/schemas/onchain_operations_service.schema.json +23 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +23 -0
- package/dist/schemas/onchain_table_data.output.json +939 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -218,18 +218,33 @@ export declare const CallEnvSchema: z.ZodObject<{
|
|
|
218
218
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
219
219
|
network: z.ZodOptional<z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet, ENTRYPOINT.Mainnet]>>;
|
|
220
220
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
221
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
223
|
+
project: z.ZodOptional<z.ZodString>;
|
|
224
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
225
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
221
226
|
}, "strict", z.ZodTypeAny, {
|
|
222
227
|
account: string;
|
|
223
228
|
no_cache?: boolean | undefined;
|
|
224
229
|
network?: ENTRYPOINT | undefined;
|
|
225
230
|
permission_guard?: string[] | undefined;
|
|
226
231
|
referrer?: string | undefined;
|
|
232
|
+
confirmed?: boolean | undefined;
|
|
233
|
+
user_intent_phrases?: string[] | undefined;
|
|
234
|
+
project?: string | undefined;
|
|
235
|
+
client_schema_version?: string | undefined;
|
|
236
|
+
schema_strict_mode?: boolean | undefined;
|
|
227
237
|
}, {
|
|
228
238
|
no_cache?: boolean | undefined;
|
|
229
239
|
network?: ENTRYPOINT | undefined;
|
|
230
240
|
account?: string | undefined;
|
|
231
241
|
permission_guard?: string[] | undefined;
|
|
232
242
|
referrer?: string | undefined;
|
|
243
|
+
confirmed?: boolean | undefined;
|
|
244
|
+
user_intent_phrases?: string[] | undefined;
|
|
245
|
+
project?: string | undefined;
|
|
246
|
+
client_schema_version?: string | undefined;
|
|
247
|
+
schema_strict_mode?: boolean | undefined;
|
|
233
248
|
}>;
|
|
234
249
|
export declare const ObjectsOpSchema: z.ZodUnion<[z.ZodObject<{
|
|
235
250
|
op: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"set">, z.ZodLiteral<"add">]>, z.ZodLiteral<"remove">]>;
|
|
@@ -552,6 +567,367 @@ export declare const EventSemanticSchema: z.ZodObject<{
|
|
|
552
567
|
related_object?: string | undefined;
|
|
553
568
|
side_effect?: string | undefined;
|
|
554
569
|
}>;
|
|
570
|
+
export declare const ExperienceSchema: z.ZodObject<{
|
|
571
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
572
|
+
avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
573
|
+
relevance: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
matched_scenario: z.ZodOptional<z.ZodString>;
|
|
575
|
+
}, "strict", z.ZodTypeAny, {
|
|
576
|
+
advice?: string | undefined;
|
|
577
|
+
avoid?: string[] | undefined;
|
|
578
|
+
relevance?: number | undefined;
|
|
579
|
+
matched_scenario?: string | undefined;
|
|
580
|
+
}, {
|
|
581
|
+
advice?: string | undefined;
|
|
582
|
+
avoid?: string[] | undefined;
|
|
583
|
+
relevance?: number | undefined;
|
|
584
|
+
matched_scenario?: string | undefined;
|
|
585
|
+
}>;
|
|
586
|
+
export declare const ServiceStatusSchema: z.ZodObject<{
|
|
587
|
+
active: z.ZodArray<z.ZodString, "many">;
|
|
588
|
+
inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
589
|
+
}, "strict", z.ZodTypeAny, {
|
|
590
|
+
active: string[];
|
|
591
|
+
inactive?: string[] | undefined;
|
|
592
|
+
}, {
|
|
593
|
+
active: string[];
|
|
594
|
+
inactive?: string[] | undefined;
|
|
595
|
+
}>;
|
|
596
|
+
export declare const CustomerReminderSchema: z.ZodObject<{
|
|
597
|
+
id: z.ZodString;
|
|
598
|
+
stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
|
|
599
|
+
priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
|
|
600
|
+
message: z.ZodString;
|
|
601
|
+
action: z.ZodOptional<z.ZodString>;
|
|
602
|
+
}, "strict", z.ZodTypeAny, {
|
|
603
|
+
message: string;
|
|
604
|
+
id: string;
|
|
605
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
606
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
607
|
+
action?: string | undefined;
|
|
608
|
+
}, {
|
|
609
|
+
message: string;
|
|
610
|
+
id: string;
|
|
611
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
612
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
613
|
+
action?: string | undefined;
|
|
614
|
+
}>;
|
|
615
|
+
export declare const PreferenceMatchSchema: z.ZodObject<{
|
|
616
|
+
score: z.ZodNumber;
|
|
617
|
+
matches: z.ZodArray<z.ZodString, "many">;
|
|
618
|
+
mismatches: z.ZodArray<z.ZodString, "many">;
|
|
619
|
+
}, "strict", z.ZodTypeAny, {
|
|
620
|
+
score: number;
|
|
621
|
+
matches: string[];
|
|
622
|
+
mismatches: string[];
|
|
623
|
+
}, {
|
|
624
|
+
score: number;
|
|
625
|
+
matches: string[];
|
|
626
|
+
mismatches: string[];
|
|
627
|
+
}>;
|
|
628
|
+
export declare const CustomerAdviceSchema: z.ZodObject<{
|
|
629
|
+
risk_score: z.ZodOptional<z.ZodNumber>;
|
|
630
|
+
risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
|
|
631
|
+
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
632
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
633
|
+
id: z.ZodString;
|
|
634
|
+
stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
|
|
635
|
+
priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
|
|
636
|
+
message: z.ZodString;
|
|
637
|
+
action: z.ZodOptional<z.ZodString>;
|
|
638
|
+
}, "strict", z.ZodTypeAny, {
|
|
639
|
+
message: string;
|
|
640
|
+
id: string;
|
|
641
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
642
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
643
|
+
action?: string | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
message: string;
|
|
646
|
+
id: string;
|
|
647
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
648
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
649
|
+
action?: string | undefined;
|
|
650
|
+
}>, "many">;
|
|
651
|
+
preference_match: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
score: z.ZodNumber;
|
|
653
|
+
matches: z.ZodArray<z.ZodString, "many">;
|
|
654
|
+
mismatches: z.ZodArray<z.ZodString, "many">;
|
|
655
|
+
}, "strict", z.ZodTypeAny, {
|
|
656
|
+
score: number;
|
|
657
|
+
matches: string[];
|
|
658
|
+
mismatches: string[];
|
|
659
|
+
}, {
|
|
660
|
+
score: number;
|
|
661
|
+
matches: string[];
|
|
662
|
+
mismatches: string[];
|
|
663
|
+
}>>;
|
|
664
|
+
}, "strict", z.ZodTypeAny, {
|
|
665
|
+
recommendations: string[];
|
|
666
|
+
reminders: {
|
|
667
|
+
message: string;
|
|
668
|
+
id: string;
|
|
669
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
670
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
671
|
+
action?: string | undefined;
|
|
672
|
+
}[];
|
|
673
|
+
risk_score?: number | undefined;
|
|
674
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
675
|
+
preference_match?: {
|
|
676
|
+
score: number;
|
|
677
|
+
matches: string[];
|
|
678
|
+
mismatches: string[];
|
|
679
|
+
} | undefined;
|
|
680
|
+
}, {
|
|
681
|
+
recommendations: string[];
|
|
682
|
+
reminders: {
|
|
683
|
+
message: string;
|
|
684
|
+
id: string;
|
|
685
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
686
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
687
|
+
action?: string | undefined;
|
|
688
|
+
}[];
|
|
689
|
+
risk_score?: number | undefined;
|
|
690
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
691
|
+
preference_match?: {
|
|
692
|
+
score: number;
|
|
693
|
+
matches: string[];
|
|
694
|
+
mismatches: string[];
|
|
695
|
+
} | undefined;
|
|
696
|
+
}>;
|
|
697
|
+
export declare const EvolutionContextSchema: z.ZodObject<{
|
|
698
|
+
industry_signal: z.ZodOptional<z.ZodString>;
|
|
699
|
+
evolution_advice: z.ZodOptional<z.ZodString>;
|
|
700
|
+
confidence: z.ZodNumber;
|
|
701
|
+
health_score: z.ZodOptional<z.ZodNumber>;
|
|
702
|
+
pending_suggestions: z.ZodOptional<z.ZodNumber>;
|
|
703
|
+
intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
|
|
704
|
+
role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
705
|
+
role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
|
|
706
|
+
}, "strict", z.ZodTypeAny, {
|
|
707
|
+
confidence: number;
|
|
708
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
709
|
+
industry_signal?: string | undefined;
|
|
710
|
+
evolution_advice?: string | undefined;
|
|
711
|
+
health_score?: number | undefined;
|
|
712
|
+
pending_suggestions?: number | undefined;
|
|
713
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
714
|
+
role_advice?: string[] | undefined;
|
|
715
|
+
}, {
|
|
716
|
+
confidence: number;
|
|
717
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
718
|
+
industry_signal?: string | undefined;
|
|
719
|
+
evolution_advice?: string | undefined;
|
|
720
|
+
health_score?: number | undefined;
|
|
721
|
+
pending_suggestions?: number | undefined;
|
|
722
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
723
|
+
role_advice?: string[] | undefined;
|
|
724
|
+
}>;
|
|
725
|
+
export declare const GuardPuzzleStatusSchema: z.ZodObject<{
|
|
726
|
+
intent: z.ZodBoolean;
|
|
727
|
+
binding: z.ZodBoolean;
|
|
728
|
+
data: z.ZodBoolean;
|
|
729
|
+
query: z.ZodBoolean;
|
|
730
|
+
logic: z.ZodBoolean;
|
|
731
|
+
constraints: z.ZodBoolean;
|
|
732
|
+
}, "strict", z.ZodTypeAny, {
|
|
733
|
+
data: boolean;
|
|
734
|
+
intent: boolean;
|
|
735
|
+
binding: boolean;
|
|
736
|
+
query: boolean;
|
|
737
|
+
logic: boolean;
|
|
738
|
+
constraints: boolean;
|
|
739
|
+
}, {
|
|
740
|
+
data: boolean;
|
|
741
|
+
intent: boolean;
|
|
742
|
+
binding: boolean;
|
|
743
|
+
query: boolean;
|
|
744
|
+
logic: boolean;
|
|
745
|
+
constraints: boolean;
|
|
746
|
+
}>;
|
|
747
|
+
export declare const GuardAvailableQuerySchema: z.ZodObject<{
|
|
748
|
+
id: z.ZodNumber;
|
|
749
|
+
name: z.ZodString;
|
|
750
|
+
objectType: z.ZodString;
|
|
751
|
+
returnType: z.ZodString;
|
|
752
|
+
description: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, "strict", z.ZodTypeAny, {
|
|
754
|
+
name: string;
|
|
755
|
+
id: number;
|
|
756
|
+
objectType: string;
|
|
757
|
+
returnType: string;
|
|
758
|
+
description?: string | undefined;
|
|
759
|
+
}, {
|
|
760
|
+
name: string;
|
|
761
|
+
id: number;
|
|
762
|
+
objectType: string;
|
|
763
|
+
returnType: string;
|
|
764
|
+
description?: string | undefined;
|
|
765
|
+
}>;
|
|
766
|
+
export declare const GuardAdviceSchema: z.ZodObject<{
|
|
767
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
768
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
769
|
+
intent: z.ZodBoolean;
|
|
770
|
+
binding: z.ZodBoolean;
|
|
771
|
+
data: z.ZodBoolean;
|
|
772
|
+
query: z.ZodBoolean;
|
|
773
|
+
logic: z.ZodBoolean;
|
|
774
|
+
constraints: z.ZodBoolean;
|
|
775
|
+
}, "strict", z.ZodTypeAny, {
|
|
776
|
+
data: boolean;
|
|
777
|
+
intent: boolean;
|
|
778
|
+
binding: boolean;
|
|
779
|
+
query: boolean;
|
|
780
|
+
logic: boolean;
|
|
781
|
+
constraints: boolean;
|
|
782
|
+
}, {
|
|
783
|
+
data: boolean;
|
|
784
|
+
intent: boolean;
|
|
785
|
+
binding: boolean;
|
|
786
|
+
query: boolean;
|
|
787
|
+
logic: boolean;
|
|
788
|
+
constraints: boolean;
|
|
789
|
+
}>>;
|
|
790
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
791
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
792
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
793
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
794
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
|
+
id: z.ZodNumber;
|
|
796
|
+
name: z.ZodString;
|
|
797
|
+
objectType: z.ZodString;
|
|
798
|
+
returnType: z.ZodString;
|
|
799
|
+
description: z.ZodOptional<z.ZodString>;
|
|
800
|
+
}, "strict", z.ZodTypeAny, {
|
|
801
|
+
name: string;
|
|
802
|
+
id: number;
|
|
803
|
+
objectType: string;
|
|
804
|
+
returnType: string;
|
|
805
|
+
description?: string | undefined;
|
|
806
|
+
}, {
|
|
807
|
+
name: string;
|
|
808
|
+
id: number;
|
|
809
|
+
objectType: string;
|
|
810
|
+
returnType: string;
|
|
811
|
+
description?: string | undefined;
|
|
812
|
+
}>, "many">>;
|
|
813
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
814
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
815
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
816
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
817
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
818
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
819
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
820
|
+
}, "strip", z.ZodTypeAny, {
|
|
821
|
+
status: "pass" | "fail" | "not_tested";
|
|
822
|
+
failure_node?: string | undefined;
|
|
823
|
+
passport_id?: string | undefined;
|
|
824
|
+
}, {
|
|
825
|
+
status: "pass" | "fail" | "not_tested";
|
|
826
|
+
failure_node?: string | undefined;
|
|
827
|
+
passport_id?: string | undefined;
|
|
828
|
+
}>>;
|
|
829
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
830
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
831
|
+
risk_count: z.ZodNumber;
|
|
832
|
+
critical_count: z.ZodNumber;
|
|
833
|
+
high_count: z.ZodNumber;
|
|
834
|
+
needs_human_review: z.ZodBoolean;
|
|
835
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
836
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
837
|
+
}, "strip", z.ZodTypeAny, {
|
|
838
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
839
|
+
risk_count: number;
|
|
840
|
+
critical_count: number;
|
|
841
|
+
high_count: number;
|
|
842
|
+
needs_human_review: boolean;
|
|
843
|
+
top_risks: string[];
|
|
844
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
845
|
+
}, {
|
|
846
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
847
|
+
risk_count: number;
|
|
848
|
+
critical_count: number;
|
|
849
|
+
high_count: number;
|
|
850
|
+
needs_human_review: boolean;
|
|
851
|
+
top_risks: string[];
|
|
852
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
853
|
+
}>>;
|
|
854
|
+
}, "strict", z.ZodTypeAny, {
|
|
855
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
856
|
+
puzzle_status?: {
|
|
857
|
+
data: boolean;
|
|
858
|
+
intent: boolean;
|
|
859
|
+
binding: boolean;
|
|
860
|
+
query: boolean;
|
|
861
|
+
logic: boolean;
|
|
862
|
+
constraints: boolean;
|
|
863
|
+
} | undefined;
|
|
864
|
+
matched_scene?: string | undefined;
|
|
865
|
+
scene_description?: string | undefined;
|
|
866
|
+
scene_constraints?: string[] | undefined;
|
|
867
|
+
suggested_patterns?: string[] | undefined;
|
|
868
|
+
available_queries?: {
|
|
869
|
+
name: string;
|
|
870
|
+
id: number;
|
|
871
|
+
objectType: string;
|
|
872
|
+
returnType: string;
|
|
873
|
+
description?: string | undefined;
|
|
874
|
+
}[] | undefined;
|
|
875
|
+
risk_warnings?: string[] | undefined;
|
|
876
|
+
pending_questions?: string[] | undefined;
|
|
877
|
+
confirmation_text?: string | undefined;
|
|
878
|
+
test_result?: {
|
|
879
|
+
status: "pass" | "fail" | "not_tested";
|
|
880
|
+
failure_node?: string | undefined;
|
|
881
|
+
passport_id?: string | undefined;
|
|
882
|
+
} | undefined;
|
|
883
|
+
risk_assessment?: {
|
|
884
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
885
|
+
risk_count: number;
|
|
886
|
+
critical_count: number;
|
|
887
|
+
high_count: number;
|
|
888
|
+
needs_human_review: boolean;
|
|
889
|
+
top_risks: string[];
|
|
890
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
891
|
+
} | undefined;
|
|
892
|
+
}, {
|
|
893
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
894
|
+
puzzle_status?: {
|
|
895
|
+
data: boolean;
|
|
896
|
+
intent: boolean;
|
|
897
|
+
binding: boolean;
|
|
898
|
+
query: boolean;
|
|
899
|
+
logic: boolean;
|
|
900
|
+
constraints: boolean;
|
|
901
|
+
} | undefined;
|
|
902
|
+
matched_scene?: string | undefined;
|
|
903
|
+
scene_description?: string | undefined;
|
|
904
|
+
scene_constraints?: string[] | undefined;
|
|
905
|
+
suggested_patterns?: string[] | undefined;
|
|
906
|
+
available_queries?: {
|
|
907
|
+
name: string;
|
|
908
|
+
id: number;
|
|
909
|
+
objectType: string;
|
|
910
|
+
returnType: string;
|
|
911
|
+
description?: string | undefined;
|
|
912
|
+
}[] | undefined;
|
|
913
|
+
risk_warnings?: string[] | undefined;
|
|
914
|
+
pending_questions?: string[] | undefined;
|
|
915
|
+
confirmation_text?: string | undefined;
|
|
916
|
+
test_result?: {
|
|
917
|
+
status: "pass" | "fail" | "not_tested";
|
|
918
|
+
failure_node?: string | undefined;
|
|
919
|
+
passport_id?: string | undefined;
|
|
920
|
+
} | undefined;
|
|
921
|
+
risk_assessment?: {
|
|
922
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
923
|
+
risk_count: number;
|
|
924
|
+
critical_count: number;
|
|
925
|
+
high_count: number;
|
|
926
|
+
needs_human_review: boolean;
|
|
927
|
+
top_risks: string[];
|
|
928
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
}>;
|
|
555
931
|
export declare const SemanticSummarySchema: z.ZodObject<{
|
|
556
932
|
intent: z.ZodString;
|
|
557
933
|
status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
|
|
@@ -682,6 +1058,294 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
682
1058
|
prerequisite?: string | undefined;
|
|
683
1059
|
}>, "many">>;
|
|
684
1060
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1061
|
+
experience: z.ZodOptional<z.ZodObject<{
|
|
1062
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1064
|
+
relevance: z.ZodOptional<z.ZodNumber>;
|
|
1065
|
+
matched_scenario: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
}, "strict", z.ZodTypeAny, {
|
|
1067
|
+
advice?: string | undefined;
|
|
1068
|
+
avoid?: string[] | undefined;
|
|
1069
|
+
relevance?: number | undefined;
|
|
1070
|
+
matched_scenario?: string | undefined;
|
|
1071
|
+
}, {
|
|
1072
|
+
advice?: string | undefined;
|
|
1073
|
+
avoid?: string[] | undefined;
|
|
1074
|
+
relevance?: number | undefined;
|
|
1075
|
+
matched_scenario?: string | undefined;
|
|
1076
|
+
}>>;
|
|
1077
|
+
service_status: z.ZodOptional<z.ZodObject<{
|
|
1078
|
+
active: z.ZodArray<z.ZodString, "many">;
|
|
1079
|
+
inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1080
|
+
}, "strict", z.ZodTypeAny, {
|
|
1081
|
+
active: string[];
|
|
1082
|
+
inactive?: string[] | undefined;
|
|
1083
|
+
}, {
|
|
1084
|
+
active: string[];
|
|
1085
|
+
inactive?: string[] | undefined;
|
|
1086
|
+
}>>;
|
|
1087
|
+
customer_advice: z.ZodOptional<z.ZodObject<{
|
|
1088
|
+
risk_score: z.ZodOptional<z.ZodNumber>;
|
|
1089
|
+
risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
|
|
1090
|
+
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
1091
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
1092
|
+
id: z.ZodString;
|
|
1093
|
+
stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
|
|
1094
|
+
priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
|
|
1095
|
+
message: z.ZodString;
|
|
1096
|
+
action: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
}, "strict", z.ZodTypeAny, {
|
|
1098
|
+
message: string;
|
|
1099
|
+
id: string;
|
|
1100
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
1101
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
1102
|
+
action?: string | undefined;
|
|
1103
|
+
}, {
|
|
1104
|
+
message: string;
|
|
1105
|
+
id: string;
|
|
1106
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
1107
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
1108
|
+
action?: string | undefined;
|
|
1109
|
+
}>, "many">;
|
|
1110
|
+
preference_match: z.ZodOptional<z.ZodObject<{
|
|
1111
|
+
score: z.ZodNumber;
|
|
1112
|
+
matches: z.ZodArray<z.ZodString, "many">;
|
|
1113
|
+
mismatches: z.ZodArray<z.ZodString, "many">;
|
|
1114
|
+
}, "strict", z.ZodTypeAny, {
|
|
1115
|
+
score: number;
|
|
1116
|
+
matches: string[];
|
|
1117
|
+
mismatches: string[];
|
|
1118
|
+
}, {
|
|
1119
|
+
score: number;
|
|
1120
|
+
matches: string[];
|
|
1121
|
+
mismatches: string[];
|
|
1122
|
+
}>>;
|
|
1123
|
+
}, "strict", z.ZodTypeAny, {
|
|
1124
|
+
recommendations: string[];
|
|
1125
|
+
reminders: {
|
|
1126
|
+
message: string;
|
|
1127
|
+
id: string;
|
|
1128
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
1129
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
1130
|
+
action?: string | undefined;
|
|
1131
|
+
}[];
|
|
1132
|
+
risk_score?: number | undefined;
|
|
1133
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
1134
|
+
preference_match?: {
|
|
1135
|
+
score: number;
|
|
1136
|
+
matches: string[];
|
|
1137
|
+
mismatches: string[];
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
}, {
|
|
1140
|
+
recommendations: string[];
|
|
1141
|
+
reminders: {
|
|
1142
|
+
message: string;
|
|
1143
|
+
id: string;
|
|
1144
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
1145
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
1146
|
+
action?: string | undefined;
|
|
1147
|
+
}[];
|
|
1148
|
+
risk_score?: number | undefined;
|
|
1149
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
1150
|
+
preference_match?: {
|
|
1151
|
+
score: number;
|
|
1152
|
+
matches: string[];
|
|
1153
|
+
mismatches: string[];
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
}>>;
|
|
1156
|
+
evolution_context: z.ZodOptional<z.ZodObject<{
|
|
1157
|
+
industry_signal: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
evolution_advice: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
confidence: z.ZodNumber;
|
|
1160
|
+
health_score: z.ZodOptional<z.ZodNumber>;
|
|
1161
|
+
pending_suggestions: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
|
|
1163
|
+
role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1164
|
+
role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
|
|
1165
|
+
}, "strict", z.ZodTypeAny, {
|
|
1166
|
+
confidence: number;
|
|
1167
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
1168
|
+
industry_signal?: string | undefined;
|
|
1169
|
+
evolution_advice?: string | undefined;
|
|
1170
|
+
health_score?: number | undefined;
|
|
1171
|
+
pending_suggestions?: number | undefined;
|
|
1172
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
1173
|
+
role_advice?: string[] | undefined;
|
|
1174
|
+
}, {
|
|
1175
|
+
confidence: number;
|
|
1176
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
1177
|
+
industry_signal?: string | undefined;
|
|
1178
|
+
evolution_advice?: string | undefined;
|
|
1179
|
+
health_score?: number | undefined;
|
|
1180
|
+
pending_suggestions?: number | undefined;
|
|
1181
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
1182
|
+
role_advice?: string[] | undefined;
|
|
1183
|
+
}>>;
|
|
1184
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
1185
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
1186
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
1187
|
+
intent: z.ZodBoolean;
|
|
1188
|
+
binding: z.ZodBoolean;
|
|
1189
|
+
data: z.ZodBoolean;
|
|
1190
|
+
query: z.ZodBoolean;
|
|
1191
|
+
logic: z.ZodBoolean;
|
|
1192
|
+
constraints: z.ZodBoolean;
|
|
1193
|
+
}, "strict", z.ZodTypeAny, {
|
|
1194
|
+
data: boolean;
|
|
1195
|
+
intent: boolean;
|
|
1196
|
+
binding: boolean;
|
|
1197
|
+
query: boolean;
|
|
1198
|
+
logic: boolean;
|
|
1199
|
+
constraints: boolean;
|
|
1200
|
+
}, {
|
|
1201
|
+
data: boolean;
|
|
1202
|
+
intent: boolean;
|
|
1203
|
+
binding: boolean;
|
|
1204
|
+
query: boolean;
|
|
1205
|
+
logic: boolean;
|
|
1206
|
+
constraints: boolean;
|
|
1207
|
+
}>>;
|
|
1208
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1211
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1212
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1213
|
+
id: z.ZodNumber;
|
|
1214
|
+
name: z.ZodString;
|
|
1215
|
+
objectType: z.ZodString;
|
|
1216
|
+
returnType: z.ZodString;
|
|
1217
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
}, "strict", z.ZodTypeAny, {
|
|
1219
|
+
name: string;
|
|
1220
|
+
id: number;
|
|
1221
|
+
objectType: string;
|
|
1222
|
+
returnType: string;
|
|
1223
|
+
description?: string | undefined;
|
|
1224
|
+
}, {
|
|
1225
|
+
name: string;
|
|
1226
|
+
id: number;
|
|
1227
|
+
objectType: string;
|
|
1228
|
+
returnType: string;
|
|
1229
|
+
description?: string | undefined;
|
|
1230
|
+
}>, "many">>;
|
|
1231
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1232
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1233
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
1235
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
1236
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
}, "strip", z.ZodTypeAny, {
|
|
1239
|
+
status: "pass" | "fail" | "not_tested";
|
|
1240
|
+
failure_node?: string | undefined;
|
|
1241
|
+
passport_id?: string | undefined;
|
|
1242
|
+
}, {
|
|
1243
|
+
status: "pass" | "fail" | "not_tested";
|
|
1244
|
+
failure_node?: string | undefined;
|
|
1245
|
+
passport_id?: string | undefined;
|
|
1246
|
+
}>>;
|
|
1247
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
1248
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
1249
|
+
risk_count: z.ZodNumber;
|
|
1250
|
+
critical_count: z.ZodNumber;
|
|
1251
|
+
high_count: z.ZodNumber;
|
|
1252
|
+
needs_human_review: z.ZodBoolean;
|
|
1253
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
1254
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1255
|
+
}, "strip", z.ZodTypeAny, {
|
|
1256
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1257
|
+
risk_count: number;
|
|
1258
|
+
critical_count: number;
|
|
1259
|
+
high_count: number;
|
|
1260
|
+
needs_human_review: boolean;
|
|
1261
|
+
top_risks: string[];
|
|
1262
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1263
|
+
}, {
|
|
1264
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1265
|
+
risk_count: number;
|
|
1266
|
+
critical_count: number;
|
|
1267
|
+
high_count: number;
|
|
1268
|
+
needs_human_review: boolean;
|
|
1269
|
+
top_risks: string[];
|
|
1270
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1271
|
+
}>>;
|
|
1272
|
+
}, "strict", z.ZodTypeAny, {
|
|
1273
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1274
|
+
puzzle_status?: {
|
|
1275
|
+
data: boolean;
|
|
1276
|
+
intent: boolean;
|
|
1277
|
+
binding: boolean;
|
|
1278
|
+
query: boolean;
|
|
1279
|
+
logic: boolean;
|
|
1280
|
+
constraints: boolean;
|
|
1281
|
+
} | undefined;
|
|
1282
|
+
matched_scene?: string | undefined;
|
|
1283
|
+
scene_description?: string | undefined;
|
|
1284
|
+
scene_constraints?: string[] | undefined;
|
|
1285
|
+
suggested_patterns?: string[] | undefined;
|
|
1286
|
+
available_queries?: {
|
|
1287
|
+
name: string;
|
|
1288
|
+
id: number;
|
|
1289
|
+
objectType: string;
|
|
1290
|
+
returnType: string;
|
|
1291
|
+
description?: string | undefined;
|
|
1292
|
+
}[] | undefined;
|
|
1293
|
+
risk_warnings?: string[] | undefined;
|
|
1294
|
+
pending_questions?: string[] | undefined;
|
|
1295
|
+
confirmation_text?: string | undefined;
|
|
1296
|
+
test_result?: {
|
|
1297
|
+
status: "pass" | "fail" | "not_tested";
|
|
1298
|
+
failure_node?: string | undefined;
|
|
1299
|
+
passport_id?: string | undefined;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
risk_assessment?: {
|
|
1302
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1303
|
+
risk_count: number;
|
|
1304
|
+
critical_count: number;
|
|
1305
|
+
high_count: number;
|
|
1306
|
+
needs_human_review: boolean;
|
|
1307
|
+
top_risks: string[];
|
|
1308
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1309
|
+
} | undefined;
|
|
1310
|
+
}, {
|
|
1311
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1312
|
+
puzzle_status?: {
|
|
1313
|
+
data: boolean;
|
|
1314
|
+
intent: boolean;
|
|
1315
|
+
binding: boolean;
|
|
1316
|
+
query: boolean;
|
|
1317
|
+
logic: boolean;
|
|
1318
|
+
constraints: boolean;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
matched_scene?: string | undefined;
|
|
1321
|
+
scene_description?: string | undefined;
|
|
1322
|
+
scene_constraints?: string[] | undefined;
|
|
1323
|
+
suggested_patterns?: string[] | undefined;
|
|
1324
|
+
available_queries?: {
|
|
1325
|
+
name: string;
|
|
1326
|
+
id: number;
|
|
1327
|
+
objectType: string;
|
|
1328
|
+
returnType: string;
|
|
1329
|
+
description?: string | undefined;
|
|
1330
|
+
}[] | undefined;
|
|
1331
|
+
risk_warnings?: string[] | undefined;
|
|
1332
|
+
pending_questions?: string[] | undefined;
|
|
1333
|
+
confirmation_text?: string | undefined;
|
|
1334
|
+
test_result?: {
|
|
1335
|
+
status: "pass" | "fail" | "not_tested";
|
|
1336
|
+
failure_node?: string | undefined;
|
|
1337
|
+
passport_id?: string | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
risk_assessment?: {
|
|
1340
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1341
|
+
risk_count: number;
|
|
1342
|
+
critical_count: number;
|
|
1343
|
+
high_count: number;
|
|
1344
|
+
needs_human_review: boolean;
|
|
1345
|
+
top_risks: string[];
|
|
1346
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1347
|
+
} | undefined;
|
|
1348
|
+
}>>;
|
|
685
1349
|
}, "strict", z.ZodTypeAny, {
|
|
686
1350
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
687
1351
|
intent: string;
|
|
@@ -728,6 +1392,82 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
728
1392
|
prerequisite?: string | undefined;
|
|
729
1393
|
}[] | undefined;
|
|
730
1394
|
warnings?: string[] | undefined;
|
|
1395
|
+
experience?: {
|
|
1396
|
+
advice?: string | undefined;
|
|
1397
|
+
avoid?: string[] | undefined;
|
|
1398
|
+
relevance?: number | undefined;
|
|
1399
|
+
matched_scenario?: string | undefined;
|
|
1400
|
+
} | undefined;
|
|
1401
|
+
service_status?: {
|
|
1402
|
+
active: string[];
|
|
1403
|
+
inactive?: string[] | undefined;
|
|
1404
|
+
} | undefined;
|
|
1405
|
+
customer_advice?: {
|
|
1406
|
+
recommendations: string[];
|
|
1407
|
+
reminders: {
|
|
1408
|
+
message: string;
|
|
1409
|
+
id: string;
|
|
1410
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
1411
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
1412
|
+
action?: string | undefined;
|
|
1413
|
+
}[];
|
|
1414
|
+
risk_score?: number | undefined;
|
|
1415
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
1416
|
+
preference_match?: {
|
|
1417
|
+
score: number;
|
|
1418
|
+
matches: string[];
|
|
1419
|
+
mismatches: string[];
|
|
1420
|
+
} | undefined;
|
|
1421
|
+
} | undefined;
|
|
1422
|
+
evolution_context?: {
|
|
1423
|
+
confidence: number;
|
|
1424
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
1425
|
+
industry_signal?: string | undefined;
|
|
1426
|
+
evolution_advice?: string | undefined;
|
|
1427
|
+
health_score?: number | undefined;
|
|
1428
|
+
pending_suggestions?: number | undefined;
|
|
1429
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
1430
|
+
role_advice?: string[] | undefined;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
guard_advice?: {
|
|
1433
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1434
|
+
puzzle_status?: {
|
|
1435
|
+
data: boolean;
|
|
1436
|
+
intent: boolean;
|
|
1437
|
+
binding: boolean;
|
|
1438
|
+
query: boolean;
|
|
1439
|
+
logic: boolean;
|
|
1440
|
+
constraints: boolean;
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
matched_scene?: string | undefined;
|
|
1443
|
+
scene_description?: string | undefined;
|
|
1444
|
+
scene_constraints?: string[] | undefined;
|
|
1445
|
+
suggested_patterns?: string[] | undefined;
|
|
1446
|
+
available_queries?: {
|
|
1447
|
+
name: string;
|
|
1448
|
+
id: number;
|
|
1449
|
+
objectType: string;
|
|
1450
|
+
returnType: string;
|
|
1451
|
+
description?: string | undefined;
|
|
1452
|
+
}[] | undefined;
|
|
1453
|
+
risk_warnings?: string[] | undefined;
|
|
1454
|
+
pending_questions?: string[] | undefined;
|
|
1455
|
+
confirmation_text?: string | undefined;
|
|
1456
|
+
test_result?: {
|
|
1457
|
+
status: "pass" | "fail" | "not_tested";
|
|
1458
|
+
failure_node?: string | undefined;
|
|
1459
|
+
passport_id?: string | undefined;
|
|
1460
|
+
} | undefined;
|
|
1461
|
+
risk_assessment?: {
|
|
1462
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1463
|
+
risk_count: number;
|
|
1464
|
+
critical_count: number;
|
|
1465
|
+
high_count: number;
|
|
1466
|
+
needs_human_review: boolean;
|
|
1467
|
+
top_risks: string[];
|
|
1468
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
} | undefined;
|
|
731
1471
|
}, {
|
|
732
1472
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
733
1473
|
intent: string;
|
|
@@ -774,28 +1514,258 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
774
1514
|
prerequisite?: string | undefined;
|
|
775
1515
|
}[] | undefined;
|
|
776
1516
|
warnings?: string[] | undefined;
|
|
1517
|
+
experience?: {
|
|
1518
|
+
advice?: string | undefined;
|
|
1519
|
+
avoid?: string[] | undefined;
|
|
1520
|
+
relevance?: number | undefined;
|
|
1521
|
+
matched_scenario?: string | undefined;
|
|
1522
|
+
} | undefined;
|
|
1523
|
+
service_status?: {
|
|
1524
|
+
active: string[];
|
|
1525
|
+
inactive?: string[] | undefined;
|
|
1526
|
+
} | undefined;
|
|
1527
|
+
customer_advice?: {
|
|
1528
|
+
recommendations: string[];
|
|
1529
|
+
reminders: {
|
|
1530
|
+
message: string;
|
|
1531
|
+
id: string;
|
|
1532
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
1533
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
1534
|
+
action?: string | undefined;
|
|
1535
|
+
}[];
|
|
1536
|
+
risk_score?: number | undefined;
|
|
1537
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
1538
|
+
preference_match?: {
|
|
1539
|
+
score: number;
|
|
1540
|
+
matches: string[];
|
|
1541
|
+
mismatches: string[];
|
|
1542
|
+
} | undefined;
|
|
1543
|
+
} | undefined;
|
|
1544
|
+
evolution_context?: {
|
|
1545
|
+
confidence: number;
|
|
1546
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
1547
|
+
industry_signal?: string | undefined;
|
|
1548
|
+
evolution_advice?: string | undefined;
|
|
1549
|
+
health_score?: number | undefined;
|
|
1550
|
+
pending_suggestions?: number | undefined;
|
|
1551
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
1552
|
+
role_advice?: string[] | undefined;
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
guard_advice?: {
|
|
1555
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1556
|
+
puzzle_status?: {
|
|
1557
|
+
data: boolean;
|
|
1558
|
+
intent: boolean;
|
|
1559
|
+
binding: boolean;
|
|
1560
|
+
query: boolean;
|
|
1561
|
+
logic: boolean;
|
|
1562
|
+
constraints: boolean;
|
|
1563
|
+
} | undefined;
|
|
1564
|
+
matched_scene?: string | undefined;
|
|
1565
|
+
scene_description?: string | undefined;
|
|
1566
|
+
scene_constraints?: string[] | undefined;
|
|
1567
|
+
suggested_patterns?: string[] | undefined;
|
|
1568
|
+
available_queries?: {
|
|
1569
|
+
name: string;
|
|
1570
|
+
id: number;
|
|
1571
|
+
objectType: string;
|
|
1572
|
+
returnType: string;
|
|
1573
|
+
description?: string | undefined;
|
|
1574
|
+
}[] | undefined;
|
|
1575
|
+
risk_warnings?: string[] | undefined;
|
|
1576
|
+
pending_questions?: string[] | undefined;
|
|
1577
|
+
confirmation_text?: string | undefined;
|
|
1578
|
+
test_result?: {
|
|
1579
|
+
status: "pass" | "fail" | "not_tested";
|
|
1580
|
+
failure_node?: string | undefined;
|
|
1581
|
+
passport_id?: string | undefined;
|
|
1582
|
+
} | undefined;
|
|
1583
|
+
risk_assessment?: {
|
|
1584
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1585
|
+
risk_count: number;
|
|
1586
|
+
critical_count: number;
|
|
1587
|
+
high_count: number;
|
|
1588
|
+
needs_human_review: boolean;
|
|
1589
|
+
top_risks: string[];
|
|
1590
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1591
|
+
} | undefined;
|
|
1592
|
+
} | undefined;
|
|
777
1593
|
}>;
|
|
778
1594
|
export declare const CallResponseErrorSchema: z.ZodObject<{
|
|
779
1595
|
type: z.ZodLiteral<"error">;
|
|
780
1596
|
error: z.ZodString;
|
|
781
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
1597
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "unknown"]>>;
|
|
782
1598
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
783
1599
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
784
1600
|
related_object: z.ZodOptional<z.ZodString>;
|
|
785
1601
|
}, "strip", z.ZodTypeAny, {
|
|
786
1602
|
type: "error";
|
|
787
1603
|
error: string;
|
|
788
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
789
|
-
related_object?: string | undefined;
|
|
1604
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
790
1605
|
retryable?: boolean | undefined;
|
|
791
1606
|
recovery_hint?: string | undefined;
|
|
1607
|
+
related_object?: string | undefined;
|
|
792
1608
|
}, {
|
|
793
1609
|
type: "error";
|
|
794
1610
|
error: string;
|
|
795
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
796
|
-
related_object?: string | undefined;
|
|
1611
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
797
1612
|
retryable?: boolean | undefined;
|
|
798
1613
|
recovery_hint?: string | undefined;
|
|
1614
|
+
related_object?: string | undefined;
|
|
1615
|
+
}>;
|
|
1616
|
+
export declare const OperationPreviewSchema: z.ZodObject<{
|
|
1617
|
+
level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
|
|
1618
|
+
operation: z.ZodString;
|
|
1619
|
+
object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
1620
|
+
network: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
amount: z.ZodOptional<z.ZodObject<{
|
|
1623
|
+
value: z.ZodString;
|
|
1624
|
+
token: z.ZodString;
|
|
1625
|
+
human_readable: z.ZodString;
|
|
1626
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
}, "strip", z.ZodTypeAny, {
|
|
1628
|
+
value: string;
|
|
1629
|
+
token: string;
|
|
1630
|
+
human_readable: string;
|
|
1631
|
+
recipient?: string | undefined;
|
|
1632
|
+
}, {
|
|
1633
|
+
value: string;
|
|
1634
|
+
token: string;
|
|
1635
|
+
human_readable: string;
|
|
1636
|
+
recipient?: string | undefined;
|
|
1637
|
+
}>>;
|
|
1638
|
+
immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1639
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1640
|
+
irreversible: z.ZodOptional<z.ZodBoolean>;
|
|
1641
|
+
}, "strict", z.ZodTypeAny, {
|
|
1642
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
1643
|
+
operation: string;
|
|
1644
|
+
object?: string | Record<string, any> | null | undefined;
|
|
1645
|
+
network?: string | undefined;
|
|
1646
|
+
account?: string | undefined;
|
|
1647
|
+
amount?: {
|
|
1648
|
+
value: string;
|
|
1649
|
+
token: string;
|
|
1650
|
+
human_readable: string;
|
|
1651
|
+
recipient?: string | undefined;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
warnings?: string[] | undefined;
|
|
1654
|
+
irreversible?: boolean | undefined;
|
|
1655
|
+
immutable_after?: string[] | undefined;
|
|
1656
|
+
}, {
|
|
1657
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
1658
|
+
operation: string;
|
|
1659
|
+
object?: string | Record<string, any> | null | undefined;
|
|
1660
|
+
network?: string | undefined;
|
|
1661
|
+
account?: string | undefined;
|
|
1662
|
+
amount?: {
|
|
1663
|
+
value: string;
|
|
1664
|
+
token: string;
|
|
1665
|
+
human_readable: string;
|
|
1666
|
+
recipient?: string | undefined;
|
|
1667
|
+
} | undefined;
|
|
1668
|
+
warnings?: string[] | undefined;
|
|
1669
|
+
irreversible?: boolean | undefined;
|
|
1670
|
+
immutable_after?: string[] | undefined;
|
|
1671
|
+
}>;
|
|
1672
|
+
export declare const CallPendingConfirmationSchema: z.ZodObject<{
|
|
1673
|
+
type: z.ZodLiteral<"pending_confirmation">;
|
|
1674
|
+
preview: z.ZodObject<{
|
|
1675
|
+
level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
|
|
1676
|
+
operation: z.ZodString;
|
|
1677
|
+
object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
1678
|
+
network: z.ZodOptional<z.ZodString>;
|
|
1679
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
amount: z.ZodOptional<z.ZodObject<{
|
|
1681
|
+
value: z.ZodString;
|
|
1682
|
+
token: z.ZodString;
|
|
1683
|
+
human_readable: z.ZodString;
|
|
1684
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
1685
|
+
}, "strip", z.ZodTypeAny, {
|
|
1686
|
+
value: string;
|
|
1687
|
+
token: string;
|
|
1688
|
+
human_readable: string;
|
|
1689
|
+
recipient?: string | undefined;
|
|
1690
|
+
}, {
|
|
1691
|
+
value: string;
|
|
1692
|
+
token: string;
|
|
1693
|
+
human_readable: string;
|
|
1694
|
+
recipient?: string | undefined;
|
|
1695
|
+
}>>;
|
|
1696
|
+
immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1697
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1698
|
+
irreversible: z.ZodOptional<z.ZodBoolean>;
|
|
1699
|
+
}, "strict", z.ZodTypeAny, {
|
|
1700
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
1701
|
+
operation: string;
|
|
1702
|
+
object?: string | Record<string, any> | null | undefined;
|
|
1703
|
+
network?: string | undefined;
|
|
1704
|
+
account?: string | undefined;
|
|
1705
|
+
amount?: {
|
|
1706
|
+
value: string;
|
|
1707
|
+
token: string;
|
|
1708
|
+
human_readable: string;
|
|
1709
|
+
recipient?: string | undefined;
|
|
1710
|
+
} | undefined;
|
|
1711
|
+
warnings?: string[] | undefined;
|
|
1712
|
+
irreversible?: boolean | undefined;
|
|
1713
|
+
immutable_after?: string[] | undefined;
|
|
1714
|
+
}, {
|
|
1715
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
1716
|
+
operation: string;
|
|
1717
|
+
object?: string | Record<string, any> | null | undefined;
|
|
1718
|
+
network?: string | undefined;
|
|
1719
|
+
account?: string | undefined;
|
|
1720
|
+
amount?: {
|
|
1721
|
+
value: string;
|
|
1722
|
+
token: string;
|
|
1723
|
+
human_readable: string;
|
|
1724
|
+
recipient?: string | undefined;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
warnings?: string[] | undefined;
|
|
1727
|
+
irreversible?: boolean | undefined;
|
|
1728
|
+
immutable_after?: string[] | undefined;
|
|
1729
|
+
}>;
|
|
1730
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
}, "strip", z.ZodTypeAny, {
|
|
1732
|
+
type: "pending_confirmation";
|
|
1733
|
+
preview: {
|
|
1734
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
1735
|
+
operation: string;
|
|
1736
|
+
object?: string | Record<string, any> | null | undefined;
|
|
1737
|
+
network?: string | undefined;
|
|
1738
|
+
account?: string | undefined;
|
|
1739
|
+
amount?: {
|
|
1740
|
+
value: string;
|
|
1741
|
+
token: string;
|
|
1742
|
+
human_readable: string;
|
|
1743
|
+
recipient?: string | undefined;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
warnings?: string[] | undefined;
|
|
1746
|
+
irreversible?: boolean | undefined;
|
|
1747
|
+
immutable_after?: string[] | undefined;
|
|
1748
|
+
};
|
|
1749
|
+
rule_id?: string | undefined;
|
|
1750
|
+
}, {
|
|
1751
|
+
type: "pending_confirmation";
|
|
1752
|
+
preview: {
|
|
1753
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
1754
|
+
operation: string;
|
|
1755
|
+
object?: string | Record<string, any> | null | undefined;
|
|
1756
|
+
network?: string | undefined;
|
|
1757
|
+
account?: string | undefined;
|
|
1758
|
+
amount?: {
|
|
1759
|
+
value: string;
|
|
1760
|
+
token: string;
|
|
1761
|
+
human_readable: string;
|
|
1762
|
+
recipient?: string | undefined;
|
|
1763
|
+
} | undefined;
|
|
1764
|
+
warnings?: string[] | undefined;
|
|
1765
|
+
irreversible?: boolean | undefined;
|
|
1766
|
+
immutable_after?: string[] | undefined;
|
|
1767
|
+
};
|
|
1768
|
+
rule_id?: string | undefined;
|
|
799
1769
|
}>;
|
|
800
1770
|
export declare const GuardSubmissionToFillSchema: z.ZodObject<{
|
|
801
1771
|
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2293,7 +3263,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2293
3263
|
txDigest: string;
|
|
2294
3264
|
}>;
|
|
2295
3265
|
packageId: z.ZodString;
|
|
2296
|
-
parsedJson: z.ZodRecord<z.ZodString, z.
|
|
3266
|
+
parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2297
3267
|
sender: z.ZodString;
|
|
2298
3268
|
timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2299
3269
|
transactionModule: z.ZodString;
|
|
@@ -2308,7 +3278,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2308
3278
|
};
|
|
2309
3279
|
bcsEncoding: "base64";
|
|
2310
3280
|
packageId: string;
|
|
2311
|
-
parsedJson: Record<string,
|
|
3281
|
+
parsedJson: Record<string, unknown>;
|
|
2312
3282
|
sender: string;
|
|
2313
3283
|
transactionModule: string;
|
|
2314
3284
|
bcs: string;
|
|
@@ -2321,7 +3291,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2321
3291
|
};
|
|
2322
3292
|
bcsEncoding: "base64";
|
|
2323
3293
|
packageId: string;
|
|
2324
|
-
parsedJson: Record<string,
|
|
3294
|
+
parsedJson: Record<string, unknown>;
|
|
2325
3295
|
sender: string;
|
|
2326
3296
|
transactionModule: string;
|
|
2327
3297
|
bcs: string;
|
|
@@ -2338,7 +3308,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2338
3308
|
txDigest: string;
|
|
2339
3309
|
}>;
|
|
2340
3310
|
packageId: z.ZodString;
|
|
2341
|
-
parsedJson: z.ZodRecord<z.ZodString, z.
|
|
3311
|
+
parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2342
3312
|
sender: z.ZodString;
|
|
2343
3313
|
timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
2344
3314
|
transactionModule: z.ZodString;
|
|
@@ -2353,7 +3323,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2353
3323
|
};
|
|
2354
3324
|
bcsEncoding: "base58";
|
|
2355
3325
|
packageId: string;
|
|
2356
|
-
parsedJson: Record<string,
|
|
3326
|
+
parsedJson: Record<string, unknown>;
|
|
2357
3327
|
sender: string;
|
|
2358
3328
|
transactionModule: string;
|
|
2359
3329
|
bcs: string;
|
|
@@ -2366,7 +3336,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2366
3336
|
};
|
|
2367
3337
|
bcsEncoding: "base58";
|
|
2368
3338
|
packageId: string;
|
|
2369
|
-
parsedJson: Record<string,
|
|
3339
|
+
parsedJson: Record<string, unknown>;
|
|
2370
3340
|
sender: string;
|
|
2371
3341
|
transactionModule: string;
|
|
2372
3342
|
bcs: string;
|
|
@@ -3046,7 +4016,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3046
4016
|
};
|
|
3047
4017
|
bcsEncoding: "base64";
|
|
3048
4018
|
packageId: string;
|
|
3049
|
-
parsedJson: Record<string,
|
|
4019
|
+
parsedJson: Record<string, unknown>;
|
|
3050
4020
|
sender: string;
|
|
3051
4021
|
transactionModule: string;
|
|
3052
4022
|
bcs: string;
|
|
@@ -3059,7 +4029,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3059
4029
|
};
|
|
3060
4030
|
bcsEncoding: "base58";
|
|
3061
4031
|
packageId: string;
|
|
3062
|
-
parsedJson: Record<string,
|
|
4032
|
+
parsedJson: Record<string, unknown>;
|
|
3063
4033
|
sender: string;
|
|
3064
4034
|
transactionModule: string;
|
|
3065
4035
|
bcs: string;
|
|
@@ -3336,7 +4306,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3336
4306
|
};
|
|
3337
4307
|
bcsEncoding: "base64";
|
|
3338
4308
|
packageId: string;
|
|
3339
|
-
parsedJson: Record<string,
|
|
4309
|
+
parsedJson: Record<string, unknown>;
|
|
3340
4310
|
sender: string;
|
|
3341
4311
|
transactionModule: string;
|
|
3342
4312
|
bcs: string;
|
|
@@ -3349,7 +4319,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3349
4319
|
};
|
|
3350
4320
|
bcsEncoding: "base58";
|
|
3351
4321
|
packageId: string;
|
|
3352
|
-
parsedJson: Record<string,
|
|
4322
|
+
parsedJson: Record<string, unknown>;
|
|
3353
4323
|
sender: string;
|
|
3354
4324
|
transactionModule: string;
|
|
3355
4325
|
bcs: string;
|
|
@@ -3443,24 +4413,24 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3443
4413
|
}>, z.ZodObject<{
|
|
3444
4414
|
type: z.ZodLiteral<"error">;
|
|
3445
4415
|
error: z.ZodString;
|
|
3446
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
4416
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "unknown"]>>;
|
|
3447
4417
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3448
4418
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
3449
4419
|
related_object: z.ZodOptional<z.ZodString>;
|
|
3450
4420
|
}, "strip", z.ZodTypeAny, {
|
|
3451
4421
|
type: "error";
|
|
3452
4422
|
error: string;
|
|
3453
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
3454
|
-
related_object?: string | undefined;
|
|
4423
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
3455
4424
|
retryable?: boolean | undefined;
|
|
3456
4425
|
recovery_hint?: string | undefined;
|
|
4426
|
+
related_object?: string | undefined;
|
|
3457
4427
|
}, {
|
|
3458
4428
|
type: "error";
|
|
3459
4429
|
error: string;
|
|
3460
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
3461
|
-
related_object?: string | undefined;
|
|
4430
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
3462
4431
|
retryable?: boolean | undefined;
|
|
3463
4432
|
recovery_hint?: string | undefined;
|
|
4433
|
+
related_object?: string | undefined;
|
|
3464
4434
|
}>, z.ZodObject<{
|
|
3465
4435
|
type: z.ZodLiteral<"data">;
|
|
3466
4436
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -3831,6 +4801,103 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3831
4801
|
type: "null";
|
|
3832
4802
|
}, {
|
|
3833
4803
|
type: "null";
|
|
4804
|
+
}>, z.ZodObject<{
|
|
4805
|
+
type: z.ZodLiteral<"pending_confirmation">;
|
|
4806
|
+
preview: z.ZodObject<{
|
|
4807
|
+
level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
|
|
4808
|
+
operation: z.ZodString;
|
|
4809
|
+
object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
4810
|
+
network: z.ZodOptional<z.ZodString>;
|
|
4811
|
+
account: z.ZodOptional<z.ZodString>;
|
|
4812
|
+
amount: z.ZodOptional<z.ZodObject<{
|
|
4813
|
+
value: z.ZodString;
|
|
4814
|
+
token: z.ZodString;
|
|
4815
|
+
human_readable: z.ZodString;
|
|
4816
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
4817
|
+
}, "strip", z.ZodTypeAny, {
|
|
4818
|
+
value: string;
|
|
4819
|
+
token: string;
|
|
4820
|
+
human_readable: string;
|
|
4821
|
+
recipient?: string | undefined;
|
|
4822
|
+
}, {
|
|
4823
|
+
value: string;
|
|
4824
|
+
token: string;
|
|
4825
|
+
human_readable: string;
|
|
4826
|
+
recipient?: string | undefined;
|
|
4827
|
+
}>>;
|
|
4828
|
+
immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4829
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4830
|
+
irreversible: z.ZodOptional<z.ZodBoolean>;
|
|
4831
|
+
}, "strict", z.ZodTypeAny, {
|
|
4832
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
4833
|
+
operation: string;
|
|
4834
|
+
object?: string | Record<string, any> | null | undefined;
|
|
4835
|
+
network?: string | undefined;
|
|
4836
|
+
account?: string | undefined;
|
|
4837
|
+
amount?: {
|
|
4838
|
+
value: string;
|
|
4839
|
+
token: string;
|
|
4840
|
+
human_readable: string;
|
|
4841
|
+
recipient?: string | undefined;
|
|
4842
|
+
} | undefined;
|
|
4843
|
+
warnings?: string[] | undefined;
|
|
4844
|
+
irreversible?: boolean | undefined;
|
|
4845
|
+
immutable_after?: string[] | undefined;
|
|
4846
|
+
}, {
|
|
4847
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
4848
|
+
operation: string;
|
|
4849
|
+
object?: string | Record<string, any> | null | undefined;
|
|
4850
|
+
network?: string | undefined;
|
|
4851
|
+
account?: string | undefined;
|
|
4852
|
+
amount?: {
|
|
4853
|
+
value: string;
|
|
4854
|
+
token: string;
|
|
4855
|
+
human_readable: string;
|
|
4856
|
+
recipient?: string | undefined;
|
|
4857
|
+
} | undefined;
|
|
4858
|
+
warnings?: string[] | undefined;
|
|
4859
|
+
irreversible?: boolean | undefined;
|
|
4860
|
+
immutable_after?: string[] | undefined;
|
|
4861
|
+
}>;
|
|
4862
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
4863
|
+
}, "strip", z.ZodTypeAny, {
|
|
4864
|
+
type: "pending_confirmation";
|
|
4865
|
+
preview: {
|
|
4866
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
4867
|
+
operation: string;
|
|
4868
|
+
object?: string | Record<string, any> | null | undefined;
|
|
4869
|
+
network?: string | undefined;
|
|
4870
|
+
account?: string | undefined;
|
|
4871
|
+
amount?: {
|
|
4872
|
+
value: string;
|
|
4873
|
+
token: string;
|
|
4874
|
+
human_readable: string;
|
|
4875
|
+
recipient?: string | undefined;
|
|
4876
|
+
} | undefined;
|
|
4877
|
+
warnings?: string[] | undefined;
|
|
4878
|
+
irreversible?: boolean | undefined;
|
|
4879
|
+
immutable_after?: string[] | undefined;
|
|
4880
|
+
};
|
|
4881
|
+
rule_id?: string | undefined;
|
|
4882
|
+
}, {
|
|
4883
|
+
type: "pending_confirmation";
|
|
4884
|
+
preview: {
|
|
4885
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
4886
|
+
operation: string;
|
|
4887
|
+
object?: string | Record<string, any> | null | undefined;
|
|
4888
|
+
network?: string | undefined;
|
|
4889
|
+
account?: string | undefined;
|
|
4890
|
+
amount?: {
|
|
4891
|
+
value: string;
|
|
4892
|
+
token: string;
|
|
4893
|
+
human_readable: string;
|
|
4894
|
+
recipient?: string | undefined;
|
|
4895
|
+
} | undefined;
|
|
4896
|
+
warnings?: string[] | undefined;
|
|
4897
|
+
irreversible?: boolean | undefined;
|
|
4898
|
+
immutable_after?: string[] | undefined;
|
|
4899
|
+
};
|
|
4900
|
+
rule_id?: string | undefined;
|
|
3834
4901
|
}>]>;
|
|
3835
4902
|
export declare const ObjectsSchema: z.ZodUnion<[z.ZodObject<{
|
|
3836
4903
|
op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"set">]>;
|
|
@@ -3867,13 +4934,13 @@ export declare const VerifyMismatchSchema: z.ZodObject<{
|
|
|
3867
4934
|
expected: string;
|
|
3868
4935
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3869
4936
|
actual: string;
|
|
3870
|
-
severity: "pass" | "
|
|
4937
|
+
severity: "pass" | "fail" | "warn";
|
|
3871
4938
|
detail: string;
|
|
3872
4939
|
}, {
|
|
3873
4940
|
expected: string;
|
|
3874
4941
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3875
4942
|
actual: string;
|
|
3876
|
-
severity: "pass" | "
|
|
4943
|
+
severity: "pass" | "fail" | "warn";
|
|
3877
4944
|
detail: string;
|
|
3878
4945
|
}>;
|
|
3879
4946
|
export declare const VerifyReportSchema: z.ZodObject<{
|
|
@@ -3888,38 +4955,38 @@ export declare const VerifyReportSchema: z.ZodObject<{
|
|
|
3888
4955
|
expected: string;
|
|
3889
4956
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3890
4957
|
actual: string;
|
|
3891
|
-
severity: "pass" | "
|
|
4958
|
+
severity: "pass" | "fail" | "warn";
|
|
3892
4959
|
detail: string;
|
|
3893
4960
|
}, {
|
|
3894
4961
|
expected: string;
|
|
3895
4962
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3896
4963
|
actual: string;
|
|
3897
|
-
severity: "pass" | "
|
|
4964
|
+
severity: "pass" | "fail" | "warn";
|
|
3898
4965
|
detail: string;
|
|
3899
4966
|
}>, "many">;
|
|
3900
4967
|
summary: z.ZodString;
|
|
3901
4968
|
timestamp: z.ZodString;
|
|
3902
4969
|
}, "strip", z.ZodTypeAny, {
|
|
3903
|
-
status: "pass" | "
|
|
3904
|
-
summary: string;
|
|
4970
|
+
status: "pass" | "fail" | "warn";
|
|
3905
4971
|
mismatches: {
|
|
3906
4972
|
expected: string;
|
|
3907
4973
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3908
4974
|
actual: string;
|
|
3909
|
-
severity: "pass" | "
|
|
4975
|
+
severity: "pass" | "fail" | "warn";
|
|
3910
4976
|
detail: string;
|
|
3911
4977
|
}[];
|
|
4978
|
+
summary: string;
|
|
3912
4979
|
timestamp: string;
|
|
3913
4980
|
}, {
|
|
3914
|
-
status: "pass" | "
|
|
3915
|
-
summary: string;
|
|
4981
|
+
status: "pass" | "fail" | "warn";
|
|
3916
4982
|
mismatches: {
|
|
3917
4983
|
expected: string;
|
|
3918
4984
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3919
4985
|
actual: string;
|
|
3920
|
-
severity: "pass" | "
|
|
4986
|
+
severity: "pass" | "fail" | "warn";
|
|
3921
4987
|
detail: string;
|
|
3922
4988
|
}[];
|
|
4989
|
+
summary: string;
|
|
3923
4990
|
timestamp: string;
|
|
3924
4991
|
}>;
|
|
3925
4992
|
export declare const RecoveryActionSchema: z.ZodObject<{
|
|
@@ -3960,38 +5027,38 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
3960
5027
|
expected: string;
|
|
3961
5028
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3962
5029
|
actual: string;
|
|
3963
|
-
severity: "pass" | "
|
|
5030
|
+
severity: "pass" | "fail" | "warn";
|
|
3964
5031
|
detail: string;
|
|
3965
5032
|
}, {
|
|
3966
5033
|
expected: string;
|
|
3967
5034
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3968
5035
|
actual: string;
|
|
3969
|
-
severity: "pass" | "
|
|
5036
|
+
severity: "pass" | "fail" | "warn";
|
|
3970
5037
|
detail: string;
|
|
3971
5038
|
}>, "many">;
|
|
3972
5039
|
summary: z.ZodString;
|
|
3973
5040
|
timestamp: z.ZodString;
|
|
3974
5041
|
}, "strip", z.ZodTypeAny, {
|
|
3975
|
-
status: "pass" | "
|
|
3976
|
-
summary: string;
|
|
5042
|
+
status: "pass" | "fail" | "warn";
|
|
3977
5043
|
mismatches: {
|
|
3978
5044
|
expected: string;
|
|
3979
5045
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3980
5046
|
actual: string;
|
|
3981
|
-
severity: "pass" | "
|
|
5047
|
+
severity: "pass" | "fail" | "warn";
|
|
3982
5048
|
detail: string;
|
|
3983
5049
|
}[];
|
|
5050
|
+
summary: string;
|
|
3984
5051
|
timestamp: string;
|
|
3985
5052
|
}, {
|
|
3986
|
-
status: "pass" | "
|
|
3987
|
-
summary: string;
|
|
5053
|
+
status: "pass" | "fail" | "warn";
|
|
3988
5054
|
mismatches: {
|
|
3989
5055
|
expected: string;
|
|
3990
5056
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3991
5057
|
actual: string;
|
|
3992
|
-
severity: "pass" | "
|
|
5058
|
+
severity: "pass" | "fail" | "warn";
|
|
3993
5059
|
detail: string;
|
|
3994
5060
|
}[];
|
|
5061
|
+
summary: string;
|
|
3995
5062
|
timestamp: string;
|
|
3996
5063
|
}>;
|
|
3997
5064
|
recovery: z.ZodOptional<z.ZodObject<{
|
|
@@ -4021,15 +5088,15 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4021
5088
|
}>>;
|
|
4022
5089
|
}, "strip", z.ZodTypeAny, {
|
|
4023
5090
|
verify: {
|
|
4024
|
-
status: "pass" | "
|
|
4025
|
-
summary: string;
|
|
5091
|
+
status: "pass" | "fail" | "warn";
|
|
4026
5092
|
mismatches: {
|
|
4027
5093
|
expected: string;
|
|
4028
5094
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4029
5095
|
actual: string;
|
|
4030
|
-
severity: "pass" | "
|
|
5096
|
+
severity: "pass" | "fail" | "warn";
|
|
4031
5097
|
detail: string;
|
|
4032
5098
|
}[];
|
|
5099
|
+
summary: string;
|
|
4033
5100
|
timestamp: string;
|
|
4034
5101
|
};
|
|
4035
5102
|
recovery?: {
|
|
@@ -4043,15 +5110,15 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4043
5110
|
} | undefined;
|
|
4044
5111
|
}, {
|
|
4045
5112
|
verify: {
|
|
4046
|
-
status: "pass" | "
|
|
4047
|
-
summary: string;
|
|
5113
|
+
status: "pass" | "fail" | "warn";
|
|
4048
5114
|
mismatches: {
|
|
4049
5115
|
expected: string;
|
|
4050
5116
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4051
5117
|
actual: string;
|
|
4052
|
-
severity: "pass" | "
|
|
5118
|
+
severity: "pass" | "fail" | "warn";
|
|
4053
5119
|
detail: string;
|
|
4054
5120
|
}[];
|
|
5121
|
+
summary: string;
|
|
4055
5122
|
timestamp: string;
|
|
4056
5123
|
};
|
|
4057
5124
|
recovery?: {
|
|
@@ -4064,6 +5131,37 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4064
5131
|
user_prompt?: string | undefined;
|
|
4065
5132
|
} | undefined;
|
|
4066
5133
|
}>;
|
|
5134
|
+
export declare const SchemaWarningSchema: z.ZodObject<{
|
|
5135
|
+
compatible: z.ZodBoolean;
|
|
5136
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
5137
|
+
client_version: z.ZodOptional<z.ZodString>;
|
|
5138
|
+
server_versions: z.ZodObject<{
|
|
5139
|
+
sdk: z.ZodString;
|
|
5140
|
+
mcp: z.ZodString;
|
|
5141
|
+
}, "strip", z.ZodTypeAny, {
|
|
5142
|
+
sdk: string;
|
|
5143
|
+
mcp: string;
|
|
5144
|
+
}, {
|
|
5145
|
+
sdk: string;
|
|
5146
|
+
mcp: string;
|
|
5147
|
+
}>;
|
|
5148
|
+
}, "strict", z.ZodTypeAny, {
|
|
5149
|
+
warnings: string[];
|
|
5150
|
+
compatible: boolean;
|
|
5151
|
+
server_versions: {
|
|
5152
|
+
sdk: string;
|
|
5153
|
+
mcp: string;
|
|
5154
|
+
};
|
|
5155
|
+
client_version?: string | undefined;
|
|
5156
|
+
}, {
|
|
5157
|
+
warnings: string[];
|
|
5158
|
+
compatible: boolean;
|
|
5159
|
+
server_versions: {
|
|
5160
|
+
sdk: string;
|
|
5161
|
+
mcp: string;
|
|
5162
|
+
};
|
|
5163
|
+
client_version?: string | undefined;
|
|
5164
|
+
}>;
|
|
4067
5165
|
export declare const CallOutputSchema: z.ZodObject<{
|
|
4068
5166
|
result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4069
5167
|
type: z.ZodLiteral<"submission">;
|
|
@@ -5140,7 +6238,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5140
6238
|
txDigest: string;
|
|
5141
6239
|
}>;
|
|
5142
6240
|
packageId: z.ZodString;
|
|
5143
|
-
parsedJson: z.ZodRecord<z.ZodString, z.
|
|
6241
|
+
parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5144
6242
|
sender: z.ZodString;
|
|
5145
6243
|
timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5146
6244
|
transactionModule: z.ZodString;
|
|
@@ -5155,7 +6253,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5155
6253
|
};
|
|
5156
6254
|
bcsEncoding: "base64";
|
|
5157
6255
|
packageId: string;
|
|
5158
|
-
parsedJson: Record<string,
|
|
6256
|
+
parsedJson: Record<string, unknown>;
|
|
5159
6257
|
sender: string;
|
|
5160
6258
|
transactionModule: string;
|
|
5161
6259
|
bcs: string;
|
|
@@ -5168,7 +6266,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5168
6266
|
};
|
|
5169
6267
|
bcsEncoding: "base64";
|
|
5170
6268
|
packageId: string;
|
|
5171
|
-
parsedJson: Record<string,
|
|
6269
|
+
parsedJson: Record<string, unknown>;
|
|
5172
6270
|
sender: string;
|
|
5173
6271
|
transactionModule: string;
|
|
5174
6272
|
bcs: string;
|
|
@@ -5185,7 +6283,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5185
6283
|
txDigest: string;
|
|
5186
6284
|
}>;
|
|
5187
6285
|
packageId: z.ZodString;
|
|
5188
|
-
parsedJson: z.ZodRecord<z.ZodString, z.
|
|
6286
|
+
parsedJson: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5189
6287
|
sender: z.ZodString;
|
|
5190
6288
|
timestampMs: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
5191
6289
|
transactionModule: z.ZodString;
|
|
@@ -5200,7 +6298,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5200
6298
|
};
|
|
5201
6299
|
bcsEncoding: "base58";
|
|
5202
6300
|
packageId: string;
|
|
5203
|
-
parsedJson: Record<string,
|
|
6301
|
+
parsedJson: Record<string, unknown>;
|
|
5204
6302
|
sender: string;
|
|
5205
6303
|
transactionModule: string;
|
|
5206
6304
|
bcs: string;
|
|
@@ -5213,7 +6311,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5213
6311
|
};
|
|
5214
6312
|
bcsEncoding: "base58";
|
|
5215
6313
|
packageId: string;
|
|
5216
|
-
parsedJson: Record<string,
|
|
6314
|
+
parsedJson: Record<string, unknown>;
|
|
5217
6315
|
sender: string;
|
|
5218
6316
|
transactionModule: string;
|
|
5219
6317
|
bcs: string;
|
|
@@ -5893,7 +6991,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5893
6991
|
};
|
|
5894
6992
|
bcsEncoding: "base64";
|
|
5895
6993
|
packageId: string;
|
|
5896
|
-
parsedJson: Record<string,
|
|
6994
|
+
parsedJson: Record<string, unknown>;
|
|
5897
6995
|
sender: string;
|
|
5898
6996
|
transactionModule: string;
|
|
5899
6997
|
bcs: string;
|
|
@@ -5906,7 +7004,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5906
7004
|
};
|
|
5907
7005
|
bcsEncoding: "base58";
|
|
5908
7006
|
packageId: string;
|
|
5909
|
-
parsedJson: Record<string,
|
|
7007
|
+
parsedJson: Record<string, unknown>;
|
|
5910
7008
|
sender: string;
|
|
5911
7009
|
transactionModule: string;
|
|
5912
7010
|
bcs: string;
|
|
@@ -6183,7 +7281,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6183
7281
|
};
|
|
6184
7282
|
bcsEncoding: "base64";
|
|
6185
7283
|
packageId: string;
|
|
6186
|
-
parsedJson: Record<string,
|
|
7284
|
+
parsedJson: Record<string, unknown>;
|
|
6187
7285
|
sender: string;
|
|
6188
7286
|
transactionModule: string;
|
|
6189
7287
|
bcs: string;
|
|
@@ -6196,7 +7294,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6196
7294
|
};
|
|
6197
7295
|
bcsEncoding: "base58";
|
|
6198
7296
|
packageId: string;
|
|
6199
|
-
parsedJson: Record<string,
|
|
7297
|
+
parsedJson: Record<string, unknown>;
|
|
6200
7298
|
sender: string;
|
|
6201
7299
|
transactionModule: string;
|
|
6202
7300
|
bcs: string;
|
|
@@ -6290,24 +7388,24 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6290
7388
|
}>, z.ZodObject<{
|
|
6291
7389
|
type: z.ZodLiteral<"error">;
|
|
6292
7390
|
error: z.ZodString;
|
|
6293
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
7391
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "unknown"]>>;
|
|
6294
7392
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6295
7393
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
6296
7394
|
related_object: z.ZodOptional<z.ZodString>;
|
|
6297
7395
|
}, "strip", z.ZodTypeAny, {
|
|
6298
7396
|
type: "error";
|
|
6299
7397
|
error: string;
|
|
6300
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
6301
|
-
related_object?: string | undefined;
|
|
7398
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
6302
7399
|
retryable?: boolean | undefined;
|
|
6303
7400
|
recovery_hint?: string | undefined;
|
|
7401
|
+
related_object?: string | undefined;
|
|
6304
7402
|
}, {
|
|
6305
7403
|
type: "error";
|
|
6306
7404
|
error: string;
|
|
6307
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
6308
|
-
related_object?: string | undefined;
|
|
7405
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
6309
7406
|
retryable?: boolean | undefined;
|
|
6310
7407
|
recovery_hint?: string | undefined;
|
|
7408
|
+
related_object?: string | undefined;
|
|
6311
7409
|
}>, z.ZodObject<{
|
|
6312
7410
|
type: z.ZodLiteral<"data">;
|
|
6313
7411
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -6678,6 +7776,103 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6678
7776
|
type: "null";
|
|
6679
7777
|
}, {
|
|
6680
7778
|
type: "null";
|
|
7779
|
+
}>, z.ZodObject<{
|
|
7780
|
+
type: z.ZodLiteral<"pending_confirmation">;
|
|
7781
|
+
preview: z.ZodObject<{
|
|
7782
|
+
level: z.ZodEnum<["none", "standard", "amount", "publish", "irreversible"]>;
|
|
7783
|
+
operation: z.ZodString;
|
|
7784
|
+
object: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
7785
|
+
network: z.ZodOptional<z.ZodString>;
|
|
7786
|
+
account: z.ZodOptional<z.ZodString>;
|
|
7787
|
+
amount: z.ZodOptional<z.ZodObject<{
|
|
7788
|
+
value: z.ZodString;
|
|
7789
|
+
token: z.ZodString;
|
|
7790
|
+
human_readable: z.ZodString;
|
|
7791
|
+
recipient: z.ZodOptional<z.ZodString>;
|
|
7792
|
+
}, "strip", z.ZodTypeAny, {
|
|
7793
|
+
value: string;
|
|
7794
|
+
token: string;
|
|
7795
|
+
human_readable: string;
|
|
7796
|
+
recipient?: string | undefined;
|
|
7797
|
+
}, {
|
|
7798
|
+
value: string;
|
|
7799
|
+
token: string;
|
|
7800
|
+
human_readable: string;
|
|
7801
|
+
recipient?: string | undefined;
|
|
7802
|
+
}>>;
|
|
7803
|
+
immutable_after: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7804
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7805
|
+
irreversible: z.ZodOptional<z.ZodBoolean>;
|
|
7806
|
+
}, "strict", z.ZodTypeAny, {
|
|
7807
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
7808
|
+
operation: string;
|
|
7809
|
+
object?: string | Record<string, any> | null | undefined;
|
|
7810
|
+
network?: string | undefined;
|
|
7811
|
+
account?: string | undefined;
|
|
7812
|
+
amount?: {
|
|
7813
|
+
value: string;
|
|
7814
|
+
token: string;
|
|
7815
|
+
human_readable: string;
|
|
7816
|
+
recipient?: string | undefined;
|
|
7817
|
+
} | undefined;
|
|
7818
|
+
warnings?: string[] | undefined;
|
|
7819
|
+
irreversible?: boolean | undefined;
|
|
7820
|
+
immutable_after?: string[] | undefined;
|
|
7821
|
+
}, {
|
|
7822
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
7823
|
+
operation: string;
|
|
7824
|
+
object?: string | Record<string, any> | null | undefined;
|
|
7825
|
+
network?: string | undefined;
|
|
7826
|
+
account?: string | undefined;
|
|
7827
|
+
amount?: {
|
|
7828
|
+
value: string;
|
|
7829
|
+
token: string;
|
|
7830
|
+
human_readable: string;
|
|
7831
|
+
recipient?: string | undefined;
|
|
7832
|
+
} | undefined;
|
|
7833
|
+
warnings?: string[] | undefined;
|
|
7834
|
+
irreversible?: boolean | undefined;
|
|
7835
|
+
immutable_after?: string[] | undefined;
|
|
7836
|
+
}>;
|
|
7837
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
7838
|
+
}, "strip", z.ZodTypeAny, {
|
|
7839
|
+
type: "pending_confirmation";
|
|
7840
|
+
preview: {
|
|
7841
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
7842
|
+
operation: string;
|
|
7843
|
+
object?: string | Record<string, any> | null | undefined;
|
|
7844
|
+
network?: string | undefined;
|
|
7845
|
+
account?: string | undefined;
|
|
7846
|
+
amount?: {
|
|
7847
|
+
value: string;
|
|
7848
|
+
token: string;
|
|
7849
|
+
human_readable: string;
|
|
7850
|
+
recipient?: string | undefined;
|
|
7851
|
+
} | undefined;
|
|
7852
|
+
warnings?: string[] | undefined;
|
|
7853
|
+
irreversible?: boolean | undefined;
|
|
7854
|
+
immutable_after?: string[] | undefined;
|
|
7855
|
+
};
|
|
7856
|
+
rule_id?: string | undefined;
|
|
7857
|
+
}, {
|
|
7858
|
+
type: "pending_confirmation";
|
|
7859
|
+
preview: {
|
|
7860
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
7861
|
+
operation: string;
|
|
7862
|
+
object?: string | Record<string, any> | null | undefined;
|
|
7863
|
+
network?: string | undefined;
|
|
7864
|
+
account?: string | undefined;
|
|
7865
|
+
amount?: {
|
|
7866
|
+
value: string;
|
|
7867
|
+
token: string;
|
|
7868
|
+
human_readable: string;
|
|
7869
|
+
recipient?: string | undefined;
|
|
7870
|
+
} | undefined;
|
|
7871
|
+
warnings?: string[] | undefined;
|
|
7872
|
+
irreversible?: boolean | undefined;
|
|
7873
|
+
immutable_after?: string[] | undefined;
|
|
7874
|
+
};
|
|
7875
|
+
rule_id?: string | undefined;
|
|
6681
7876
|
}>]>;
|
|
6682
7877
|
message: z.ZodOptional<z.ZodString>;
|
|
6683
7878
|
semantic: z.ZodOptional<z.ZodObject<{
|
|
@@ -6810,6 +8005,294 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6810
8005
|
prerequisite?: string | undefined;
|
|
6811
8006
|
}>, "many">>;
|
|
6812
8007
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8008
|
+
experience: z.ZodOptional<z.ZodObject<{
|
|
8009
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
8010
|
+
avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8011
|
+
relevance: z.ZodOptional<z.ZodNumber>;
|
|
8012
|
+
matched_scenario: z.ZodOptional<z.ZodString>;
|
|
8013
|
+
}, "strict", z.ZodTypeAny, {
|
|
8014
|
+
advice?: string | undefined;
|
|
8015
|
+
avoid?: string[] | undefined;
|
|
8016
|
+
relevance?: number | undefined;
|
|
8017
|
+
matched_scenario?: string | undefined;
|
|
8018
|
+
}, {
|
|
8019
|
+
advice?: string | undefined;
|
|
8020
|
+
avoid?: string[] | undefined;
|
|
8021
|
+
relevance?: number | undefined;
|
|
8022
|
+
matched_scenario?: string | undefined;
|
|
8023
|
+
}>>;
|
|
8024
|
+
service_status: z.ZodOptional<z.ZodObject<{
|
|
8025
|
+
active: z.ZodArray<z.ZodString, "many">;
|
|
8026
|
+
inactive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8027
|
+
}, "strict", z.ZodTypeAny, {
|
|
8028
|
+
active: string[];
|
|
8029
|
+
inactive?: string[] | undefined;
|
|
8030
|
+
}, {
|
|
8031
|
+
active: string[];
|
|
8032
|
+
inactive?: string[] | undefined;
|
|
8033
|
+
}>>;
|
|
8034
|
+
customer_advice: z.ZodOptional<z.ZodObject<{
|
|
8035
|
+
risk_score: z.ZodOptional<z.ZodNumber>;
|
|
8036
|
+
risk_level: z.ZodOptional<z.ZodEnum<["low", "medium_low", "medium_high", "high"]>>;
|
|
8037
|
+
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
8038
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
8039
|
+
id: z.ZodString;
|
|
8040
|
+
stage: z.ZodEnum<["browse", "evaluate", "preorder", "in_progress", "complete", "after_sale"]>;
|
|
8041
|
+
priority: z.ZodEnum<["required", "recommended", "info", "reminder"]>;
|
|
8042
|
+
message: z.ZodString;
|
|
8043
|
+
action: z.ZodOptional<z.ZodString>;
|
|
8044
|
+
}, "strict", z.ZodTypeAny, {
|
|
8045
|
+
message: string;
|
|
8046
|
+
id: string;
|
|
8047
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
8048
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
8049
|
+
action?: string | undefined;
|
|
8050
|
+
}, {
|
|
8051
|
+
message: string;
|
|
8052
|
+
id: string;
|
|
8053
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
8054
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
8055
|
+
action?: string | undefined;
|
|
8056
|
+
}>, "many">;
|
|
8057
|
+
preference_match: z.ZodOptional<z.ZodObject<{
|
|
8058
|
+
score: z.ZodNumber;
|
|
8059
|
+
matches: z.ZodArray<z.ZodString, "many">;
|
|
8060
|
+
mismatches: z.ZodArray<z.ZodString, "many">;
|
|
8061
|
+
}, "strict", z.ZodTypeAny, {
|
|
8062
|
+
score: number;
|
|
8063
|
+
matches: string[];
|
|
8064
|
+
mismatches: string[];
|
|
8065
|
+
}, {
|
|
8066
|
+
score: number;
|
|
8067
|
+
matches: string[];
|
|
8068
|
+
mismatches: string[];
|
|
8069
|
+
}>>;
|
|
8070
|
+
}, "strict", z.ZodTypeAny, {
|
|
8071
|
+
recommendations: string[];
|
|
8072
|
+
reminders: {
|
|
8073
|
+
message: string;
|
|
8074
|
+
id: string;
|
|
8075
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
8076
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
8077
|
+
action?: string | undefined;
|
|
8078
|
+
}[];
|
|
8079
|
+
risk_score?: number | undefined;
|
|
8080
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
8081
|
+
preference_match?: {
|
|
8082
|
+
score: number;
|
|
8083
|
+
matches: string[];
|
|
8084
|
+
mismatches: string[];
|
|
8085
|
+
} | undefined;
|
|
8086
|
+
}, {
|
|
8087
|
+
recommendations: string[];
|
|
8088
|
+
reminders: {
|
|
8089
|
+
message: string;
|
|
8090
|
+
id: string;
|
|
8091
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
8092
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
8093
|
+
action?: string | undefined;
|
|
8094
|
+
}[];
|
|
8095
|
+
risk_score?: number | undefined;
|
|
8096
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
8097
|
+
preference_match?: {
|
|
8098
|
+
score: number;
|
|
8099
|
+
matches: string[];
|
|
8100
|
+
mismatches: string[];
|
|
8101
|
+
} | undefined;
|
|
8102
|
+
}>>;
|
|
8103
|
+
evolution_context: z.ZodOptional<z.ZodObject<{
|
|
8104
|
+
industry_signal: z.ZodOptional<z.ZodString>;
|
|
8105
|
+
evolution_advice: z.ZodOptional<z.ZodString>;
|
|
8106
|
+
confidence: z.ZodNumber;
|
|
8107
|
+
health_score: z.ZodOptional<z.ZodNumber>;
|
|
8108
|
+
pending_suggestions: z.ZodOptional<z.ZodNumber>;
|
|
8109
|
+
intent: z.ZodOptional<z.ZodEnum<["default", "growth", "retention", "compliance", "efficiency", "trust_building", "custom"]>>;
|
|
8110
|
+
role_advice: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8111
|
+
role: z.ZodOptional<z.ZodEnum<["user", "merchant", "arbitrator"]>>;
|
|
8112
|
+
}, "strict", z.ZodTypeAny, {
|
|
8113
|
+
confidence: number;
|
|
8114
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
8115
|
+
industry_signal?: string | undefined;
|
|
8116
|
+
evolution_advice?: string | undefined;
|
|
8117
|
+
health_score?: number | undefined;
|
|
8118
|
+
pending_suggestions?: number | undefined;
|
|
8119
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
8120
|
+
role_advice?: string[] | undefined;
|
|
8121
|
+
}, {
|
|
8122
|
+
confidence: number;
|
|
8123
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
8124
|
+
industry_signal?: string | undefined;
|
|
8125
|
+
evolution_advice?: string | undefined;
|
|
8126
|
+
health_score?: number | undefined;
|
|
8127
|
+
pending_suggestions?: number | undefined;
|
|
8128
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
8129
|
+
role_advice?: string[] | undefined;
|
|
8130
|
+
}>>;
|
|
8131
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
8132
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
8133
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
8134
|
+
intent: z.ZodBoolean;
|
|
8135
|
+
binding: z.ZodBoolean;
|
|
8136
|
+
data: z.ZodBoolean;
|
|
8137
|
+
query: z.ZodBoolean;
|
|
8138
|
+
logic: z.ZodBoolean;
|
|
8139
|
+
constraints: z.ZodBoolean;
|
|
8140
|
+
}, "strict", z.ZodTypeAny, {
|
|
8141
|
+
data: boolean;
|
|
8142
|
+
intent: boolean;
|
|
8143
|
+
binding: boolean;
|
|
8144
|
+
query: boolean;
|
|
8145
|
+
logic: boolean;
|
|
8146
|
+
constraints: boolean;
|
|
8147
|
+
}, {
|
|
8148
|
+
data: boolean;
|
|
8149
|
+
intent: boolean;
|
|
8150
|
+
binding: boolean;
|
|
8151
|
+
query: boolean;
|
|
8152
|
+
logic: boolean;
|
|
8153
|
+
constraints: boolean;
|
|
8154
|
+
}>>;
|
|
8155
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
8156
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
8157
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8158
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8159
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8160
|
+
id: z.ZodNumber;
|
|
8161
|
+
name: z.ZodString;
|
|
8162
|
+
objectType: z.ZodString;
|
|
8163
|
+
returnType: z.ZodString;
|
|
8164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8165
|
+
}, "strict", z.ZodTypeAny, {
|
|
8166
|
+
name: string;
|
|
8167
|
+
id: number;
|
|
8168
|
+
objectType: string;
|
|
8169
|
+
returnType: string;
|
|
8170
|
+
description?: string | undefined;
|
|
8171
|
+
}, {
|
|
8172
|
+
name: string;
|
|
8173
|
+
id: number;
|
|
8174
|
+
objectType: string;
|
|
8175
|
+
returnType: string;
|
|
8176
|
+
description?: string | undefined;
|
|
8177
|
+
}>, "many">>;
|
|
8178
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8179
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8180
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
8181
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
8182
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
8183
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
8184
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
8185
|
+
}, "strip", z.ZodTypeAny, {
|
|
8186
|
+
status: "pass" | "fail" | "not_tested";
|
|
8187
|
+
failure_node?: string | undefined;
|
|
8188
|
+
passport_id?: string | undefined;
|
|
8189
|
+
}, {
|
|
8190
|
+
status: "pass" | "fail" | "not_tested";
|
|
8191
|
+
failure_node?: string | undefined;
|
|
8192
|
+
passport_id?: string | undefined;
|
|
8193
|
+
}>>;
|
|
8194
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
8195
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
8196
|
+
risk_count: z.ZodNumber;
|
|
8197
|
+
critical_count: z.ZodNumber;
|
|
8198
|
+
high_count: z.ZodNumber;
|
|
8199
|
+
needs_human_review: z.ZodBoolean;
|
|
8200
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
8201
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
8202
|
+
}, "strip", z.ZodTypeAny, {
|
|
8203
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8204
|
+
risk_count: number;
|
|
8205
|
+
critical_count: number;
|
|
8206
|
+
high_count: number;
|
|
8207
|
+
needs_human_review: boolean;
|
|
8208
|
+
top_risks: string[];
|
|
8209
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8210
|
+
}, {
|
|
8211
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8212
|
+
risk_count: number;
|
|
8213
|
+
critical_count: number;
|
|
8214
|
+
high_count: number;
|
|
8215
|
+
needs_human_review: boolean;
|
|
8216
|
+
top_risks: string[];
|
|
8217
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8218
|
+
}>>;
|
|
8219
|
+
}, "strict", z.ZodTypeAny, {
|
|
8220
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8221
|
+
puzzle_status?: {
|
|
8222
|
+
data: boolean;
|
|
8223
|
+
intent: boolean;
|
|
8224
|
+
binding: boolean;
|
|
8225
|
+
query: boolean;
|
|
8226
|
+
logic: boolean;
|
|
8227
|
+
constraints: boolean;
|
|
8228
|
+
} | undefined;
|
|
8229
|
+
matched_scene?: string | undefined;
|
|
8230
|
+
scene_description?: string | undefined;
|
|
8231
|
+
scene_constraints?: string[] | undefined;
|
|
8232
|
+
suggested_patterns?: string[] | undefined;
|
|
8233
|
+
available_queries?: {
|
|
8234
|
+
name: string;
|
|
8235
|
+
id: number;
|
|
8236
|
+
objectType: string;
|
|
8237
|
+
returnType: string;
|
|
8238
|
+
description?: string | undefined;
|
|
8239
|
+
}[] | undefined;
|
|
8240
|
+
risk_warnings?: string[] | undefined;
|
|
8241
|
+
pending_questions?: string[] | undefined;
|
|
8242
|
+
confirmation_text?: string | undefined;
|
|
8243
|
+
test_result?: {
|
|
8244
|
+
status: "pass" | "fail" | "not_tested";
|
|
8245
|
+
failure_node?: string | undefined;
|
|
8246
|
+
passport_id?: string | undefined;
|
|
8247
|
+
} | undefined;
|
|
8248
|
+
risk_assessment?: {
|
|
8249
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8250
|
+
risk_count: number;
|
|
8251
|
+
critical_count: number;
|
|
8252
|
+
high_count: number;
|
|
8253
|
+
needs_human_review: boolean;
|
|
8254
|
+
top_risks: string[];
|
|
8255
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8256
|
+
} | undefined;
|
|
8257
|
+
}, {
|
|
8258
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8259
|
+
puzzle_status?: {
|
|
8260
|
+
data: boolean;
|
|
8261
|
+
intent: boolean;
|
|
8262
|
+
binding: boolean;
|
|
8263
|
+
query: boolean;
|
|
8264
|
+
logic: boolean;
|
|
8265
|
+
constraints: boolean;
|
|
8266
|
+
} | undefined;
|
|
8267
|
+
matched_scene?: string | undefined;
|
|
8268
|
+
scene_description?: string | undefined;
|
|
8269
|
+
scene_constraints?: string[] | undefined;
|
|
8270
|
+
suggested_patterns?: string[] | undefined;
|
|
8271
|
+
available_queries?: {
|
|
8272
|
+
name: string;
|
|
8273
|
+
id: number;
|
|
8274
|
+
objectType: string;
|
|
8275
|
+
returnType: string;
|
|
8276
|
+
description?: string | undefined;
|
|
8277
|
+
}[] | undefined;
|
|
8278
|
+
risk_warnings?: string[] | undefined;
|
|
8279
|
+
pending_questions?: string[] | undefined;
|
|
8280
|
+
confirmation_text?: string | undefined;
|
|
8281
|
+
test_result?: {
|
|
8282
|
+
status: "pass" | "fail" | "not_tested";
|
|
8283
|
+
failure_node?: string | undefined;
|
|
8284
|
+
passport_id?: string | undefined;
|
|
8285
|
+
} | undefined;
|
|
8286
|
+
risk_assessment?: {
|
|
8287
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8288
|
+
risk_count: number;
|
|
8289
|
+
critical_count: number;
|
|
8290
|
+
high_count: number;
|
|
8291
|
+
needs_human_review: boolean;
|
|
8292
|
+
top_risks: string[];
|
|
8293
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8294
|
+
} | undefined;
|
|
8295
|
+
}>>;
|
|
6813
8296
|
}, "strict", z.ZodTypeAny, {
|
|
6814
8297
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
6815
8298
|
intent: string;
|
|
@@ -6856,6 +8339,82 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6856
8339
|
prerequisite?: string | undefined;
|
|
6857
8340
|
}[] | undefined;
|
|
6858
8341
|
warnings?: string[] | undefined;
|
|
8342
|
+
experience?: {
|
|
8343
|
+
advice?: string | undefined;
|
|
8344
|
+
avoid?: string[] | undefined;
|
|
8345
|
+
relevance?: number | undefined;
|
|
8346
|
+
matched_scenario?: string | undefined;
|
|
8347
|
+
} | undefined;
|
|
8348
|
+
service_status?: {
|
|
8349
|
+
active: string[];
|
|
8350
|
+
inactive?: string[] | undefined;
|
|
8351
|
+
} | undefined;
|
|
8352
|
+
customer_advice?: {
|
|
8353
|
+
recommendations: string[];
|
|
8354
|
+
reminders: {
|
|
8355
|
+
message: string;
|
|
8356
|
+
id: string;
|
|
8357
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
8358
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
8359
|
+
action?: string | undefined;
|
|
8360
|
+
}[];
|
|
8361
|
+
risk_score?: number | undefined;
|
|
8362
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
8363
|
+
preference_match?: {
|
|
8364
|
+
score: number;
|
|
8365
|
+
matches: string[];
|
|
8366
|
+
mismatches: string[];
|
|
8367
|
+
} | undefined;
|
|
8368
|
+
} | undefined;
|
|
8369
|
+
evolution_context?: {
|
|
8370
|
+
confidence: number;
|
|
8371
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
8372
|
+
industry_signal?: string | undefined;
|
|
8373
|
+
evolution_advice?: string | undefined;
|
|
8374
|
+
health_score?: number | undefined;
|
|
8375
|
+
pending_suggestions?: number | undefined;
|
|
8376
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
8377
|
+
role_advice?: string[] | undefined;
|
|
8378
|
+
} | undefined;
|
|
8379
|
+
guard_advice?: {
|
|
8380
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8381
|
+
puzzle_status?: {
|
|
8382
|
+
data: boolean;
|
|
8383
|
+
intent: boolean;
|
|
8384
|
+
binding: boolean;
|
|
8385
|
+
query: boolean;
|
|
8386
|
+
logic: boolean;
|
|
8387
|
+
constraints: boolean;
|
|
8388
|
+
} | undefined;
|
|
8389
|
+
matched_scene?: string | undefined;
|
|
8390
|
+
scene_description?: string | undefined;
|
|
8391
|
+
scene_constraints?: string[] | undefined;
|
|
8392
|
+
suggested_patterns?: string[] | undefined;
|
|
8393
|
+
available_queries?: {
|
|
8394
|
+
name: string;
|
|
8395
|
+
id: number;
|
|
8396
|
+
objectType: string;
|
|
8397
|
+
returnType: string;
|
|
8398
|
+
description?: string | undefined;
|
|
8399
|
+
}[] | undefined;
|
|
8400
|
+
risk_warnings?: string[] | undefined;
|
|
8401
|
+
pending_questions?: string[] | undefined;
|
|
8402
|
+
confirmation_text?: string | undefined;
|
|
8403
|
+
test_result?: {
|
|
8404
|
+
status: "pass" | "fail" | "not_tested";
|
|
8405
|
+
failure_node?: string | undefined;
|
|
8406
|
+
passport_id?: string | undefined;
|
|
8407
|
+
} | undefined;
|
|
8408
|
+
risk_assessment?: {
|
|
8409
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8410
|
+
risk_count: number;
|
|
8411
|
+
critical_count: number;
|
|
8412
|
+
high_count: number;
|
|
8413
|
+
needs_human_review: boolean;
|
|
8414
|
+
top_risks: string[];
|
|
8415
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8416
|
+
} | undefined;
|
|
8417
|
+
} | undefined;
|
|
6859
8418
|
}, {
|
|
6860
8419
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
6861
8420
|
intent: string;
|
|
@@ -6902,6 +8461,82 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6902
8461
|
prerequisite?: string | undefined;
|
|
6903
8462
|
}[] | undefined;
|
|
6904
8463
|
warnings?: string[] | undefined;
|
|
8464
|
+
experience?: {
|
|
8465
|
+
advice?: string | undefined;
|
|
8466
|
+
avoid?: string[] | undefined;
|
|
8467
|
+
relevance?: number | undefined;
|
|
8468
|
+
matched_scenario?: string | undefined;
|
|
8469
|
+
} | undefined;
|
|
8470
|
+
service_status?: {
|
|
8471
|
+
active: string[];
|
|
8472
|
+
inactive?: string[] | undefined;
|
|
8473
|
+
} | undefined;
|
|
8474
|
+
customer_advice?: {
|
|
8475
|
+
recommendations: string[];
|
|
8476
|
+
reminders: {
|
|
8477
|
+
message: string;
|
|
8478
|
+
id: string;
|
|
8479
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
8480
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
8481
|
+
action?: string | undefined;
|
|
8482
|
+
}[];
|
|
8483
|
+
risk_score?: number | undefined;
|
|
8484
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
8485
|
+
preference_match?: {
|
|
8486
|
+
score: number;
|
|
8487
|
+
matches: string[];
|
|
8488
|
+
mismatches: string[];
|
|
8489
|
+
} | undefined;
|
|
8490
|
+
} | undefined;
|
|
8491
|
+
evolution_context?: {
|
|
8492
|
+
confidence: number;
|
|
8493
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
8494
|
+
industry_signal?: string | undefined;
|
|
8495
|
+
evolution_advice?: string | undefined;
|
|
8496
|
+
health_score?: number | undefined;
|
|
8497
|
+
pending_suggestions?: number | undefined;
|
|
8498
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
8499
|
+
role_advice?: string[] | undefined;
|
|
8500
|
+
} | undefined;
|
|
8501
|
+
guard_advice?: {
|
|
8502
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8503
|
+
puzzle_status?: {
|
|
8504
|
+
data: boolean;
|
|
8505
|
+
intent: boolean;
|
|
8506
|
+
binding: boolean;
|
|
8507
|
+
query: boolean;
|
|
8508
|
+
logic: boolean;
|
|
8509
|
+
constraints: boolean;
|
|
8510
|
+
} | undefined;
|
|
8511
|
+
matched_scene?: string | undefined;
|
|
8512
|
+
scene_description?: string | undefined;
|
|
8513
|
+
scene_constraints?: string[] | undefined;
|
|
8514
|
+
suggested_patterns?: string[] | undefined;
|
|
8515
|
+
available_queries?: {
|
|
8516
|
+
name: string;
|
|
8517
|
+
id: number;
|
|
8518
|
+
objectType: string;
|
|
8519
|
+
returnType: string;
|
|
8520
|
+
description?: string | undefined;
|
|
8521
|
+
}[] | undefined;
|
|
8522
|
+
risk_warnings?: string[] | undefined;
|
|
8523
|
+
pending_questions?: string[] | undefined;
|
|
8524
|
+
confirmation_text?: string | undefined;
|
|
8525
|
+
test_result?: {
|
|
8526
|
+
status: "pass" | "fail" | "not_tested";
|
|
8527
|
+
failure_node?: string | undefined;
|
|
8528
|
+
passport_id?: string | undefined;
|
|
8529
|
+
} | undefined;
|
|
8530
|
+
risk_assessment?: {
|
|
8531
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8532
|
+
risk_count: number;
|
|
8533
|
+
critical_count: number;
|
|
8534
|
+
high_count: number;
|
|
8535
|
+
needs_human_review: boolean;
|
|
8536
|
+
top_risks: string[];
|
|
8537
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8538
|
+
} | undefined;
|
|
8539
|
+
} | undefined;
|
|
6905
8540
|
}>>;
|
|
6906
8541
|
harness_report: z.ZodOptional<z.ZodObject<{
|
|
6907
8542
|
verify: z.ZodObject<{
|
|
@@ -6916,38 +8551,38 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6916
8551
|
expected: string;
|
|
6917
8552
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6918
8553
|
actual: string;
|
|
6919
|
-
severity: "pass" | "
|
|
8554
|
+
severity: "pass" | "fail" | "warn";
|
|
6920
8555
|
detail: string;
|
|
6921
8556
|
}, {
|
|
6922
8557
|
expected: string;
|
|
6923
8558
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6924
8559
|
actual: string;
|
|
6925
|
-
severity: "pass" | "
|
|
8560
|
+
severity: "pass" | "fail" | "warn";
|
|
6926
8561
|
detail: string;
|
|
6927
8562
|
}>, "many">;
|
|
6928
8563
|
summary: z.ZodString;
|
|
6929
8564
|
timestamp: z.ZodString;
|
|
6930
8565
|
}, "strip", z.ZodTypeAny, {
|
|
6931
|
-
status: "pass" | "
|
|
6932
|
-
summary: string;
|
|
8566
|
+
status: "pass" | "fail" | "warn";
|
|
6933
8567
|
mismatches: {
|
|
6934
8568
|
expected: string;
|
|
6935
8569
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6936
8570
|
actual: string;
|
|
6937
|
-
severity: "pass" | "
|
|
8571
|
+
severity: "pass" | "fail" | "warn";
|
|
6938
8572
|
detail: string;
|
|
6939
8573
|
}[];
|
|
8574
|
+
summary: string;
|
|
6940
8575
|
timestamp: string;
|
|
6941
8576
|
}, {
|
|
6942
|
-
status: "pass" | "
|
|
6943
|
-
summary: string;
|
|
8577
|
+
status: "pass" | "fail" | "warn";
|
|
6944
8578
|
mismatches: {
|
|
6945
8579
|
expected: string;
|
|
6946
8580
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6947
8581
|
actual: string;
|
|
6948
|
-
severity: "pass" | "
|
|
8582
|
+
severity: "pass" | "fail" | "warn";
|
|
6949
8583
|
detail: string;
|
|
6950
8584
|
}[];
|
|
8585
|
+
summary: string;
|
|
6951
8586
|
timestamp: string;
|
|
6952
8587
|
}>;
|
|
6953
8588
|
recovery: z.ZodOptional<z.ZodObject<{
|
|
@@ -6977,15 +8612,15 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6977
8612
|
}>>;
|
|
6978
8613
|
}, "strip", z.ZodTypeAny, {
|
|
6979
8614
|
verify: {
|
|
6980
|
-
status: "pass" | "
|
|
6981
|
-
summary: string;
|
|
8615
|
+
status: "pass" | "fail" | "warn";
|
|
6982
8616
|
mismatches: {
|
|
6983
8617
|
expected: string;
|
|
6984
8618
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6985
8619
|
actual: string;
|
|
6986
|
-
severity: "pass" | "
|
|
8620
|
+
severity: "pass" | "fail" | "warn";
|
|
6987
8621
|
detail: string;
|
|
6988
8622
|
}[];
|
|
8623
|
+
summary: string;
|
|
6989
8624
|
timestamp: string;
|
|
6990
8625
|
};
|
|
6991
8626
|
recovery?: {
|
|
@@ -6999,15 +8634,15 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6999
8634
|
} | undefined;
|
|
7000
8635
|
}, {
|
|
7001
8636
|
verify: {
|
|
7002
|
-
status: "pass" | "
|
|
7003
|
-
summary: string;
|
|
8637
|
+
status: "pass" | "fail" | "warn";
|
|
7004
8638
|
mismatches: {
|
|
7005
8639
|
expected: string;
|
|
7006
8640
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7007
8641
|
actual: string;
|
|
7008
|
-
severity: "pass" | "
|
|
8642
|
+
severity: "pass" | "fail" | "warn";
|
|
7009
8643
|
detail: string;
|
|
7010
8644
|
}[];
|
|
8645
|
+
summary: string;
|
|
7011
8646
|
timestamp: string;
|
|
7012
8647
|
};
|
|
7013
8648
|
recovery?: {
|
|
@@ -7020,14 +8655,64 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7020
8655
|
user_prompt?: string | undefined;
|
|
7021
8656
|
} | undefined;
|
|
7022
8657
|
}>>;
|
|
8658
|
+
schema_warning: z.ZodOptional<z.ZodObject<{
|
|
8659
|
+
compatible: z.ZodBoolean;
|
|
8660
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
8661
|
+
client_version: z.ZodOptional<z.ZodString>;
|
|
8662
|
+
server_versions: z.ZodObject<{
|
|
8663
|
+
sdk: z.ZodString;
|
|
8664
|
+
mcp: z.ZodString;
|
|
8665
|
+
}, "strip", z.ZodTypeAny, {
|
|
8666
|
+
sdk: string;
|
|
8667
|
+
mcp: string;
|
|
8668
|
+
}, {
|
|
8669
|
+
sdk: string;
|
|
8670
|
+
mcp: string;
|
|
8671
|
+
}>;
|
|
8672
|
+
}, "strict", z.ZodTypeAny, {
|
|
8673
|
+
warnings: string[];
|
|
8674
|
+
compatible: boolean;
|
|
8675
|
+
server_versions: {
|
|
8676
|
+
sdk: string;
|
|
8677
|
+
mcp: string;
|
|
8678
|
+
};
|
|
8679
|
+
client_version?: string | undefined;
|
|
8680
|
+
}, {
|
|
8681
|
+
warnings: string[];
|
|
8682
|
+
compatible: boolean;
|
|
8683
|
+
server_versions: {
|
|
8684
|
+
sdk: string;
|
|
8685
|
+
mcp: string;
|
|
8686
|
+
};
|
|
8687
|
+
client_version?: string | undefined;
|
|
8688
|
+
}>>;
|
|
7023
8689
|
}, "strict", z.ZodTypeAny, {
|
|
7024
8690
|
result: {
|
|
7025
8691
|
type: "error";
|
|
7026
8692
|
error: string;
|
|
7027
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
7028
|
-
related_object?: string | undefined;
|
|
8693
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
7029
8694
|
retryable?: boolean | undefined;
|
|
7030
8695
|
recovery_hint?: string | undefined;
|
|
8696
|
+
related_object?: string | undefined;
|
|
8697
|
+
} | {
|
|
8698
|
+
type: "pending_confirmation";
|
|
8699
|
+
preview: {
|
|
8700
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
8701
|
+
operation: string;
|
|
8702
|
+
object?: string | Record<string, any> | null | undefined;
|
|
8703
|
+
network?: string | undefined;
|
|
8704
|
+
account?: string | undefined;
|
|
8705
|
+
amount?: {
|
|
8706
|
+
value: string;
|
|
8707
|
+
token: string;
|
|
8708
|
+
human_readable: string;
|
|
8709
|
+
recipient?: string | undefined;
|
|
8710
|
+
} | undefined;
|
|
8711
|
+
warnings?: string[] | undefined;
|
|
8712
|
+
irreversible?: boolean | undefined;
|
|
8713
|
+
immutable_after?: string[] | undefined;
|
|
8714
|
+
};
|
|
8715
|
+
rule_id?: string | undefined;
|
|
7031
8716
|
} | {
|
|
7032
8717
|
type: "submission";
|
|
7033
8718
|
guard: {
|
|
@@ -7240,7 +8925,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7240
8925
|
};
|
|
7241
8926
|
bcsEncoding: "base64";
|
|
7242
8927
|
packageId: string;
|
|
7243
|
-
parsedJson: Record<string,
|
|
8928
|
+
parsedJson: Record<string, unknown>;
|
|
7244
8929
|
sender: string;
|
|
7245
8930
|
transactionModule: string;
|
|
7246
8931
|
bcs: string;
|
|
@@ -7253,7 +8938,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7253
8938
|
};
|
|
7254
8939
|
bcsEncoding: "base58";
|
|
7255
8940
|
packageId: string;
|
|
7256
|
-
parsedJson: Record<string,
|
|
8941
|
+
parsedJson: Record<string, unknown>;
|
|
7257
8942
|
sender: string;
|
|
7258
8943
|
transactionModule: string;
|
|
7259
8944
|
bcs: string;
|
|
@@ -7468,18 +9153,94 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7468
9153
|
prerequisite?: string | undefined;
|
|
7469
9154
|
}[] | undefined;
|
|
7470
9155
|
warnings?: string[] | undefined;
|
|
9156
|
+
experience?: {
|
|
9157
|
+
advice?: string | undefined;
|
|
9158
|
+
avoid?: string[] | undefined;
|
|
9159
|
+
relevance?: number | undefined;
|
|
9160
|
+
matched_scenario?: string | undefined;
|
|
9161
|
+
} | undefined;
|
|
9162
|
+
service_status?: {
|
|
9163
|
+
active: string[];
|
|
9164
|
+
inactive?: string[] | undefined;
|
|
9165
|
+
} | undefined;
|
|
9166
|
+
customer_advice?: {
|
|
9167
|
+
recommendations: string[];
|
|
9168
|
+
reminders: {
|
|
9169
|
+
message: string;
|
|
9170
|
+
id: string;
|
|
9171
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
9172
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
9173
|
+
action?: string | undefined;
|
|
9174
|
+
}[];
|
|
9175
|
+
risk_score?: number | undefined;
|
|
9176
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
9177
|
+
preference_match?: {
|
|
9178
|
+
score: number;
|
|
9179
|
+
matches: string[];
|
|
9180
|
+
mismatches: string[];
|
|
9181
|
+
} | undefined;
|
|
9182
|
+
} | undefined;
|
|
9183
|
+
evolution_context?: {
|
|
9184
|
+
confidence: number;
|
|
9185
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
9186
|
+
industry_signal?: string | undefined;
|
|
9187
|
+
evolution_advice?: string | undefined;
|
|
9188
|
+
health_score?: number | undefined;
|
|
9189
|
+
pending_suggestions?: number | undefined;
|
|
9190
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
9191
|
+
role_advice?: string[] | undefined;
|
|
9192
|
+
} | undefined;
|
|
9193
|
+
guard_advice?: {
|
|
9194
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
9195
|
+
puzzle_status?: {
|
|
9196
|
+
data: boolean;
|
|
9197
|
+
intent: boolean;
|
|
9198
|
+
binding: boolean;
|
|
9199
|
+
query: boolean;
|
|
9200
|
+
logic: boolean;
|
|
9201
|
+
constraints: boolean;
|
|
9202
|
+
} | undefined;
|
|
9203
|
+
matched_scene?: string | undefined;
|
|
9204
|
+
scene_description?: string | undefined;
|
|
9205
|
+
scene_constraints?: string[] | undefined;
|
|
9206
|
+
suggested_patterns?: string[] | undefined;
|
|
9207
|
+
available_queries?: {
|
|
9208
|
+
name: string;
|
|
9209
|
+
id: number;
|
|
9210
|
+
objectType: string;
|
|
9211
|
+
returnType: string;
|
|
9212
|
+
description?: string | undefined;
|
|
9213
|
+
}[] | undefined;
|
|
9214
|
+
risk_warnings?: string[] | undefined;
|
|
9215
|
+
pending_questions?: string[] | undefined;
|
|
9216
|
+
confirmation_text?: string | undefined;
|
|
9217
|
+
test_result?: {
|
|
9218
|
+
status: "pass" | "fail" | "not_tested";
|
|
9219
|
+
failure_node?: string | undefined;
|
|
9220
|
+
passport_id?: string | undefined;
|
|
9221
|
+
} | undefined;
|
|
9222
|
+
risk_assessment?: {
|
|
9223
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
9224
|
+
risk_count: number;
|
|
9225
|
+
critical_count: number;
|
|
9226
|
+
high_count: number;
|
|
9227
|
+
needs_human_review: boolean;
|
|
9228
|
+
top_risks: string[];
|
|
9229
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
9230
|
+
} | undefined;
|
|
9231
|
+
} | undefined;
|
|
7471
9232
|
} | undefined;
|
|
7472
9233
|
harness_report?: {
|
|
7473
9234
|
verify: {
|
|
7474
|
-
status: "pass" | "
|
|
7475
|
-
summary: string;
|
|
9235
|
+
status: "pass" | "fail" | "warn";
|
|
7476
9236
|
mismatches: {
|
|
7477
9237
|
expected: string;
|
|
7478
9238
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7479
9239
|
actual: string;
|
|
7480
|
-
severity: "pass" | "
|
|
9240
|
+
severity: "pass" | "fail" | "warn";
|
|
7481
9241
|
detail: string;
|
|
7482
9242
|
}[];
|
|
9243
|
+
summary: string;
|
|
7483
9244
|
timestamp: string;
|
|
7484
9245
|
};
|
|
7485
9246
|
recovery?: {
|
|
@@ -7492,14 +9253,42 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7492
9253
|
user_prompt?: string | undefined;
|
|
7493
9254
|
} | undefined;
|
|
7494
9255
|
} | undefined;
|
|
9256
|
+
schema_warning?: {
|
|
9257
|
+
warnings: string[];
|
|
9258
|
+
compatible: boolean;
|
|
9259
|
+
server_versions: {
|
|
9260
|
+
sdk: string;
|
|
9261
|
+
mcp: string;
|
|
9262
|
+
};
|
|
9263
|
+
client_version?: string | undefined;
|
|
9264
|
+
} | undefined;
|
|
7495
9265
|
}, {
|
|
7496
9266
|
result: {
|
|
7497
9267
|
type: "error";
|
|
7498
9268
|
error: string;
|
|
7499
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
7500
|
-
related_object?: string | undefined;
|
|
9269
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
7501
9270
|
retryable?: boolean | undefined;
|
|
7502
9271
|
recovery_hint?: string | undefined;
|
|
9272
|
+
related_object?: string | undefined;
|
|
9273
|
+
} | {
|
|
9274
|
+
type: "pending_confirmation";
|
|
9275
|
+
preview: {
|
|
9276
|
+
level: "amount" | "none" | "standard" | "publish" | "irreversible";
|
|
9277
|
+
operation: string;
|
|
9278
|
+
object?: string | Record<string, any> | null | undefined;
|
|
9279
|
+
network?: string | undefined;
|
|
9280
|
+
account?: string | undefined;
|
|
9281
|
+
amount?: {
|
|
9282
|
+
value: string;
|
|
9283
|
+
token: string;
|
|
9284
|
+
human_readable: string;
|
|
9285
|
+
recipient?: string | undefined;
|
|
9286
|
+
} | undefined;
|
|
9287
|
+
warnings?: string[] | undefined;
|
|
9288
|
+
irreversible?: boolean | undefined;
|
|
9289
|
+
immutable_after?: string[] | undefined;
|
|
9290
|
+
};
|
|
9291
|
+
rule_id?: string | undefined;
|
|
7503
9292
|
} | {
|
|
7504
9293
|
type: "submission";
|
|
7505
9294
|
guard: {
|
|
@@ -7712,7 +9501,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7712
9501
|
};
|
|
7713
9502
|
bcsEncoding: "base64";
|
|
7714
9503
|
packageId: string;
|
|
7715
|
-
parsedJson: Record<string,
|
|
9504
|
+
parsedJson: Record<string, unknown>;
|
|
7716
9505
|
sender: string;
|
|
7717
9506
|
transactionModule: string;
|
|
7718
9507
|
bcs: string;
|
|
@@ -7725,7 +9514,7 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7725
9514
|
};
|
|
7726
9515
|
bcsEncoding: "base58";
|
|
7727
9516
|
packageId: string;
|
|
7728
|
-
parsedJson: Record<string,
|
|
9517
|
+
parsedJson: Record<string, unknown>;
|
|
7729
9518
|
sender: string;
|
|
7730
9519
|
transactionModule: string;
|
|
7731
9520
|
bcs: string;
|
|
@@ -7940,18 +9729,94 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7940
9729
|
prerequisite?: string | undefined;
|
|
7941
9730
|
}[] | undefined;
|
|
7942
9731
|
warnings?: string[] | undefined;
|
|
9732
|
+
experience?: {
|
|
9733
|
+
advice?: string | undefined;
|
|
9734
|
+
avoid?: string[] | undefined;
|
|
9735
|
+
relevance?: number | undefined;
|
|
9736
|
+
matched_scenario?: string | undefined;
|
|
9737
|
+
} | undefined;
|
|
9738
|
+
service_status?: {
|
|
9739
|
+
active: string[];
|
|
9740
|
+
inactive?: string[] | undefined;
|
|
9741
|
+
} | undefined;
|
|
9742
|
+
customer_advice?: {
|
|
9743
|
+
recommendations: string[];
|
|
9744
|
+
reminders: {
|
|
9745
|
+
message: string;
|
|
9746
|
+
id: string;
|
|
9747
|
+
priority: "required" | "recommended" | "info" | "reminder";
|
|
9748
|
+
stage: "browse" | "evaluate" | "preorder" | "in_progress" | "complete" | "after_sale";
|
|
9749
|
+
action?: string | undefined;
|
|
9750
|
+
}[];
|
|
9751
|
+
risk_score?: number | undefined;
|
|
9752
|
+
risk_level?: "low" | "medium_low" | "medium_high" | "high" | undefined;
|
|
9753
|
+
preference_match?: {
|
|
9754
|
+
score: number;
|
|
9755
|
+
matches: string[];
|
|
9756
|
+
mismatches: string[];
|
|
9757
|
+
} | undefined;
|
|
9758
|
+
} | undefined;
|
|
9759
|
+
evolution_context?: {
|
|
9760
|
+
confidence: number;
|
|
9761
|
+
role?: "user" | "merchant" | "arbitrator" | undefined;
|
|
9762
|
+
industry_signal?: string | undefined;
|
|
9763
|
+
evolution_advice?: string | undefined;
|
|
9764
|
+
health_score?: number | undefined;
|
|
9765
|
+
pending_suggestions?: number | undefined;
|
|
9766
|
+
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
9767
|
+
role_advice?: string[] | undefined;
|
|
9768
|
+
} | undefined;
|
|
9769
|
+
guard_advice?: {
|
|
9770
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
9771
|
+
puzzle_status?: {
|
|
9772
|
+
data: boolean;
|
|
9773
|
+
intent: boolean;
|
|
9774
|
+
binding: boolean;
|
|
9775
|
+
query: boolean;
|
|
9776
|
+
logic: boolean;
|
|
9777
|
+
constraints: boolean;
|
|
9778
|
+
} | undefined;
|
|
9779
|
+
matched_scene?: string | undefined;
|
|
9780
|
+
scene_description?: string | undefined;
|
|
9781
|
+
scene_constraints?: string[] | undefined;
|
|
9782
|
+
suggested_patterns?: string[] | undefined;
|
|
9783
|
+
available_queries?: {
|
|
9784
|
+
name: string;
|
|
9785
|
+
id: number;
|
|
9786
|
+
objectType: string;
|
|
9787
|
+
returnType: string;
|
|
9788
|
+
description?: string | undefined;
|
|
9789
|
+
}[] | undefined;
|
|
9790
|
+
risk_warnings?: string[] | undefined;
|
|
9791
|
+
pending_questions?: string[] | undefined;
|
|
9792
|
+
confirmation_text?: string | undefined;
|
|
9793
|
+
test_result?: {
|
|
9794
|
+
status: "pass" | "fail" | "not_tested";
|
|
9795
|
+
failure_node?: string | undefined;
|
|
9796
|
+
passport_id?: string | undefined;
|
|
9797
|
+
} | undefined;
|
|
9798
|
+
risk_assessment?: {
|
|
9799
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
9800
|
+
risk_count: number;
|
|
9801
|
+
critical_count: number;
|
|
9802
|
+
high_count: number;
|
|
9803
|
+
needs_human_review: boolean;
|
|
9804
|
+
top_risks: string[];
|
|
9805
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
9806
|
+
} | undefined;
|
|
9807
|
+
} | undefined;
|
|
7943
9808
|
} | undefined;
|
|
7944
9809
|
harness_report?: {
|
|
7945
9810
|
verify: {
|
|
7946
|
-
status: "pass" | "
|
|
7947
|
-
summary: string;
|
|
9811
|
+
status: "pass" | "fail" | "warn";
|
|
7948
9812
|
mismatches: {
|
|
7949
9813
|
expected: string;
|
|
7950
9814
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7951
9815
|
actual: string;
|
|
7952
|
-
severity: "pass" | "
|
|
9816
|
+
severity: "pass" | "fail" | "warn";
|
|
7953
9817
|
detail: string;
|
|
7954
9818
|
}[];
|
|
9819
|
+
summary: string;
|
|
7955
9820
|
timestamp: string;
|
|
7956
9821
|
};
|
|
7957
9822
|
recovery?: {
|
|
@@ -7964,6 +9829,15 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7964
9829
|
user_prompt?: string | undefined;
|
|
7965
9830
|
} | undefined;
|
|
7966
9831
|
} | undefined;
|
|
9832
|
+
schema_warning?: {
|
|
9833
|
+
warnings: string[];
|
|
9834
|
+
compatible: boolean;
|
|
9835
|
+
server_versions: {
|
|
9836
|
+
sdk: string;
|
|
9837
|
+
mcp: string;
|
|
9838
|
+
};
|
|
9839
|
+
client_version?: string | undefined;
|
|
9840
|
+
} | undefined;
|
|
7967
9841
|
}>;
|
|
7968
9842
|
export type NormalObject = z.infer<typeof NormalObjectSchema>;
|
|
7969
9843
|
export type NamedObject = z.infer<typeof NamedObjectSchema>;
|
|
@@ -7984,12 +9858,22 @@ export type TypedDescriptionObject = z.infer<typeof TypedDescriptionObjectSchema
|
|
|
7984
9858
|
export type WithPermissionObject = z.infer<typeof WithPermissionObjectSchema>;
|
|
7985
9859
|
export type CallResult = z.infer<typeof CallResultSchema>;
|
|
7986
9860
|
export type CallOutput = z.infer<typeof CallOutputSchema>;
|
|
9861
|
+
export type SchemaWarning = z.infer<typeof SchemaWarningSchema>;
|
|
7987
9862
|
export type ObjectRole = z.infer<typeof ObjectRoleSchema>;
|
|
7988
9863
|
export type FundRole = z.infer<typeof FundRoleSchema>;
|
|
7989
9864
|
export type NextAction = z.infer<typeof NextActionSchema>;
|
|
7990
9865
|
export type EventSemantic = z.infer<typeof EventSemanticSchema>;
|
|
9866
|
+
export type Experience = z.infer<typeof ExperienceSchema>;
|
|
9867
|
+
export type ServiceStatus = z.infer<typeof ServiceStatusSchema>;
|
|
7991
9868
|
export type SemanticSummary = z.infer<typeof SemanticSummarySchema>;
|
|
9869
|
+
export type CustomerReminder = z.infer<typeof CustomerReminderSchema>;
|
|
9870
|
+
export type PreferenceMatch = z.infer<typeof PreferenceMatchSchema>;
|
|
9871
|
+
export type CustomerAdvice = z.infer<typeof CustomerAdviceSchema>;
|
|
9872
|
+
export type EvolutionContext = z.infer<typeof EvolutionContextSchema>;
|
|
9873
|
+
export type GuardAdvice = z.infer<typeof GuardAdviceSchema>;
|
|
7992
9874
|
export type VerifyMismatch = z.infer<typeof VerifyMismatchSchema>;
|
|
7993
9875
|
export type VerifyReport = z.infer<typeof VerifyReportSchema>;
|
|
7994
9876
|
export type RecoveryAction = z.infer<typeof RecoveryActionSchema>;
|
|
7995
9877
|
export type HarnessReport = z.infer<typeof HarnessReportSchema>;
|
|
9878
|
+
export type OperationPreview = z.infer<typeof OperationPreviewSchema>;
|
|
9879
|
+
export type CallPendingConfirmation = z.infer<typeof CallPendingConfirmationSchema>;
|