import { IPaginatedBase } from "../content/index.js"; import { EMicroServiceNames } from "../../micro-services/index.js"; export declare enum ENotificationType { USER_STATE_ACCEPTED = "user-state-accepted", USER_STATE_DECLINED = "user-state-declined", USER_STATE_FORCED = "user-state-forced", USER_STATE_REQUESTED = "user-state-requested", USER_IMPORT_STATUS = "user-import-status", USER_IMPORT_SKIPPED = "user-import-skipped", USER_ROLE_PROMOTION = "user-role-promotion", USER_EMAIL_VERIFICATION = "user-email-verification", USER_IMPORT_RETRY = "user-import-retry", USER_IMPORT_DUPLICATE_EMAIL = "user-import-duplicate-email", CONTENT_STATE_ACCEPTED = "content-state-accepted", CONTENT_STATE_DECLINED = "content-state-declined", CONTENT_STATE_FORCED = "content-state-forced", CONTENT_STATE_REQUESTED = "content-state-requested", CONTENT_POST_CREATE_FAILURE = "content-post-create-failure", CONTENT_POST_EDIT_FAILURE = "content-post-edit-failure", CONTENT_POST_DELETE_FAILURE = "content-post-delete-failure", COMMENT_CREATE_FAILURE = "comment-create-failure", COMMENT_EDIT_FAILURE = "comment-edit-failure", COMMENT_DELETE_FAILURE = "comment-delete-failure", GROUPING_OWNER_ACCEPTED = "grouping-owner-accepted", GROUPING_OWNER_DECLINED = "grouping-owner-declined", GROUPING_OWNER_FORCED = "grouping-owner-forced", GROUPING_OWNER_REQUESTED = "grouping-owner-requested", GROUPING_USER_EDIT_FAILURE = "grouping-user-edit-failure", BUSINESS_POST_NOTIFICATION = "business-post-notification", OWNER_ACCOUNT_READY = "owner-account-ready", ADMIN_ACCOUNT_READY = "admin-account-ready", USER_ACCOUNT_READY = "user-account-ready", SMS_INVITE_FAILED = "sms-invite-failed", SMS_PASSWORD_RESET_FAILED = "sms-password-reset-failed", ADMIN_SUPPORT_REQUEST = "admin-support-request", USER_SUPPORT_MESSAGE_CREATED = "user-support-message-created", USER_SUPPORT_MESSAGE_PROGRESS = "user-support-message-progress", USER_SUPPORT_MESSAGE_RESOLVED = "user-support-message-resolved" } export declare enum EButtonText { ACCEPT = "Accept", DECLINE = "Decline", VIEW = "View", SUPPORT = "Support", FAILURE = "Failure", SKIPPED = "Skipped" } export declare enum ENotificationInteraction { ACCEPT = "accept", DECLINE = "decline", SUPPORT = "support" } export declare enum EHttpMethods { GET = "GET", POST = "POST", PUT = "PUT", DELETE = "DELETE", PATCH = "PATCH" } export declare enum EActionType { SUPPORT = "support", HOOK = "hook", REDIRECT = "redirect", REQUEST = "request" } export interface INotificationAction { method: EHttpMethods; buttonText: EButtonText; buttonlink: string; actionType: EActionType; } export interface INotificationAttrs { _id: string; userId: string | null; senderId: string | null; type: ENotificationType; origin: EMicroServiceNames; description: string[]; readStatus?: boolean; error: string | null; dateCreated: number; tenant: string; action: INotificationAction[]; actionUrl: string | null; } export interface INotification { id: string; userId: string | null; senderId: string | null; type: ENotificationType; origin: EMicroServiceNames; description: string[]; readStatus: boolean; dateCreated: number; error: string | null; tenant: string; action: INotificationAction[]; actionUrl: string | null; version: number; } export interface INotificationPaginateResult extends IPaginatedBase { docs: Partial[]; } //# sourceMappingURL=interfaces.d.ts.map