/** * Recipient of an Action. One of userId contactId or roleId needs to be set. */ export interface RecipientObjectResponseBody { /** The ID of the contact. */ contactId?: string | undefined; /** How the user/contact/role should be notified. */ notificationTypes?: RecipientObjectResponseBody.NotificationTypes.Item[] | undefined; /** The ID of the role. */ roleId?: string | undefined; /** The type of recipients Valid values: `user`, `contact`, `role` */ type: RecipientObjectResponseBody.Type; /** The ID of the user. */ userId?: string | undefined; } export declare namespace RecipientObjectResponseBody { type NotificationTypes = NotificationTypes.Item[]; namespace NotificationTypes { /** The type of notification. Valid values: `push`, `sms`, `email` */ const Item: { readonly Push: "push"; readonly Sms: "sms"; readonly Email: "email"; }; type Item = (typeof Item)[keyof typeof Item]; } /** The type of recipients Valid values: `user`, `contact`, `role` */ const Type: { readonly User: "user"; readonly Contact: "contact"; readonly Role: "role"; }; type Type = (typeof Type)[keyof typeof Type]; }