UNPKG

@anoki/fse-common

Version:

Common types for FSE

23 lines (20 loc) 439 B
export type Subscription = { id: number firstAccess?: boolean recipientSms?: string recipientMail?: string notifications: NotificationConsent[] } export type NotificationConsent = { id: number code?: string label?: string description?: string mandatory?: boolean consents: RecipientConsent[] } export type RecipientConsent = { id: number notificationType: 'PUSH' | 'SMS' | 'MAIL' | 'APPIO' enabled: boolean }