── 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.
Items to evaluate. Applicable programs are resolved per item (HS-driven); one session line per (item, program). Omit it for a CATALOG_ITEM container and the single item is hydrated from the facts snapshotted for containerId — every other container type must supply it, having no snapshot to read.
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 attestation cannot be completed — there is deliberately no name/phone/email question to fall back to, so a certifier with no party record is created in PartyDgs first and that PII stays in the one system that owns it.
Program types to open questionnaire lines for. Null/empty = every type the flow surfaces (PGA + FTA + TARIFF_MEASURE); pass [PGA] to drop trade-agreement paperwork. Narrows within the surfaced set, so a type not yet surfaced (OTHER) stays excluded even when named. Independent of regulationsApply's agencies: that picks WHICH PGA, this picks WHICH KIND of paperwork.
Destination the questionnaire is scoped to. Required whenever items is supplied. On the snapshot-hydrated path it may be omitted, and defaults to the route the open session is already being answered under, then to the organization's single active requirement route.
Fields
containerId
ID!
Required
containerType
ContainerType!
Required
items
[QuestionnaireInferItemInput!]
containerId— every other container type must supply it, having no snapshot to read.languageCode
LanguageCode
partyId
ID
programTypes
[ComplianceProgramType!]
[PGA]to drop trade-agreement paperwork. Narrows within the surfaced set, so a type not yet surfaced (OTHER) stays excluded even when named. Independent of regulationsApply'sagencies: that picks WHICH PGA, this picks WHICH KIND of paperwork.regulationResultId
ID
shipFromCountry
CountryCode
shipToCountry
CountryCode
itemsis supplied. On the snapshot-hydrated path it may be omitted, and defaults to the route the open session is already being answered under, then to the organization's single active requirement route.