34 lines
822 B
YAML
34 lines
822 B
YAML
|
|
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
|