diff --git a/src/enums.ts b/src/enums.ts index e12cfdb..ae62553 100644 --- a/src/enums.ts +++ b/src/enums.ts @@ -379,7 +379,7 @@ export type CaseSubState = | 'FAIL_REFERRED_TO_LEGAL' | 'FAIL_CUSTOMER_UNSATISFIED' | 'FAIL_MISSING_DOCUMENTS' - | 'FAIL_INSURER_DENIED' + | 'FAIL_INSURANCE_COMPANY_DENIED' | 'FAIL_CONDITIONS_NOT_MET' | 'OPEN_INITIAL' | 'OPEN_COLLECTING_INFORMATION' diff --git a/src/events.ts b/src/events.ts index d9a9249..b96ac7b 100644 --- a/src/events.ts +++ b/src/events.ts @@ -71,7 +71,7 @@ export interface EventPayloads { startDate: string; endDate: string; }; - /** A policy was received from the insurer. */ + /** A policy was received from the insurance company. */ onPolicyReceived: { success: boolean; errorMessage: string | null;