Skip to main content

Interface: RoutineVoiceReadinessWarningResponse

Defined in: packages/sdk/src/types/generated/routine.ts:190

One reason a Routine's scheduled outbound call would not be placed.

PHI-safe by construction. The audience is described by counts onlyaudienceSize and affectedMemberCount — never by names, phones, emails, or a matched-member list; the detector never loads a Member row. phoneNumberName is an operator-authored workspace resource name, and a workspace/Twilio number is not patient data.

eventRuleId / eventRuleUuid are None on the three audience-scoped codes: they describe the Routine's target cohort rather than any single action, and are reported once however many voice actions the Routine carries. On a rule-scoped code eventRuleUuid is the populated one — the preview's rule sources come from EventRuleData, which carries a client uuid and no database id.

code and targetKind are declared as their closed vocabularies rather than str so the generated TypeScript is an exhaustive union and the banner's switch fails to compile when a code is removed. The UI localizes from code and never interpolates backend prose.

Properties

actionType

actionType: string

Defined in: packages/sdk/src/types/generated/routine.ts:195


affectedMemberCount

affectedMemberCount: number

Defined in: packages/sdk/src/types/generated/routine.ts:199


audienceSize

audienceSize: number

Defined in: packages/sdk/src/types/generated/routine.ts:198


code

code: RoutineVoiceReadinessWarningResponseCode

Defined in: packages/sdk/src/types/generated/routine.ts:196


eventRuleId?

optional eventRuleId: number | null

Defined in: packages/sdk/src/types/generated/routine.ts:193


eventRuleUuid?

optional eventRuleUuid: string | null

Defined in: packages/sdk/src/types/generated/routine.ts:194


phoneNumberId?

optional phoneNumberId: number | null

Defined in: packages/sdk/src/types/generated/routine.ts:200


phoneNumberName?

optional phoneNumberName: string | null

Defined in: packages/sdk/src/types/generated/routine.ts:201


routineId?

optional routineId: number | null

Defined in: packages/sdk/src/types/generated/routine.ts:191


routineName?

optional routineName: string | null

Defined in: packages/sdk/src/types/generated/routine.ts:192


targetKind

targetKind: RoutineVoiceReadinessWarningResponseTargetKind

Defined in: packages/sdk/src/types/generated/routine.ts:197