DEV

Input.

ComplianceQuestionnaireInferInput

── complianceQuestionnaireInfer (supersedes complianceInferAndPrefill) ─────────────────────── Provider-agnostic noun-then-verb naming; drops the 'prefill' verb. Behavior is identical to the deprecated complianceInferAndPrefill family — see those types for full field semantics.

Fields

containerId

ID!

Required

No description

containerType

ContainerType!

Required

Grouping container the flow is scoped to.
Items to evaluate. Applicable programs are resolved per item (HS-driven); one session line per (item, program).

languageCode

LanguageCode

Language to render question/answer/option text in; falls back to Accept-Language, then English.

partyId

ID

The party certifying this session's attestations — a PartyDgs id, verified before it is used. Where an attestation names a certifier (EPA TS1, and the FTA origin block), the party question is pre-answered with this id for the filer to confirm, and the certifier's name, phone and email are never copied here: they stay in PartyDgs and the filing resolves them from the id. Omit it (or pass one this caller cannot see) and the filer supplies the certifier by hand instead.
Program types to open questionnaire lines for. Null/empty = every type the flow surfaces (PGA + FTA); pass [PGA] to drop trade-agreement paperwork. Narrows within the surfaced set, so types not yet surfaced (TARIFF_MEASURE, OTHER) stay excluded even when named. Independent of regulationsApply's agencies: that picks WHICH PGA, this picks WHICH KIND of paperwork.

regulationResultId

ID

Optional pre-run inference result. When absent, regulationsApply runs inline (FDA) for the items.

shipFromCountry

CountryCode

No description

shipToCountry

CountryCode!

Required

No description
Book a demo

Was this page helpful?