useDashboardScheduledEmails
Home > @gooddata/sdk-ui-dashboard > useDashboardScheduledEmails
useDashboardScheduledEmails variable
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Hook that handles schedule emailing dialogs.
Signature:
useDashboardScheduledEmails: () => {
scheduledExportToEdit: IAutomationMetadataObject | undefined;
isInitialized: boolean;
users: import("@gooddata/sdk-model").IWorkspaceUser[];
notificationChannels: import("@gooddata/sdk-model").INotificationChannelMetadataObject[];
automations: IAutomationMetadataObject[];
automationsCount: number;
numberOfAvailableDestinations: number;
widget: import("@gooddata/sdk-model").IWidget | import("../../index.js").ICustomWidget | undefined;
insight: import("@gooddata/sdk-model").IInsight | undefined;
automationsLoading: boolean;
automationsError: import("@gooddata/sdk-ui").GoodDataSdkError | undefined;
isScheduledEmailingVisible: boolean;
isScheduleEmailingDialogOpen: boolean;
defaultOnScheduleEmailing: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingOpen: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingCancel: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingCreateError: () => void;
onScheduleEmailingCreateSuccess: (scheduledEmail: IAutomationMetadataObject) => void;
onScheduleEmailingSaveError: () => void;
onScheduleEmailingSaveSuccess: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
isScheduledManagementEmailingVisible: boolean;
isScheduleEmailingManagementDialogOpen: boolean;
defaultOnScheduleEmailingManagement: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingManagementOpen: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingManagementEdit: (schedule: IAutomationMetadataObject, widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingManagementAdd: (widget?: import("@gooddata/sdk-model").IWidget | undefined) => void;
onScheduleEmailingManagementClose: () => void;
onScheduleEmailingManagementLoadingError: () => void;
onScheduleEmailingManagementDeleteSuccess: () => void;
onScheduleEmailingManagementDeleteError: () => void;
}