2026-05-20 21:39:12 +08:00

34 lines
822 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

runtime: node
entrypoint: scripts/index.cjs
timeout: 120000
interface:
input:
order:
type: object
required: true
description: 阿维塔订单/H5 提交字段,需包含购买时间或购买时间范围用于校验保单保险期间
attachments:
type: object
required: false
description: 商业险保单、环车视频、DOT 等附件 URL
commercialPolicyOcr:
type: object
required: false
description: avatr-commercial-policy-ocr 输出包含保单号、姓名候选、VIN、使用性质和保险期间
output:
success:
type: boolean
decision:
type: string
reasons:
type: array
fieldChecks:
type: array
riskFlags:
type: array
suggestedAction:
type: string
summary:
type: object