Redesign of the SMS automation page
This commit is contained in:
@@ -2314,6 +2314,16 @@ export const MESSAGE_AUTOMATION_UNIT_LABELS: Record<
|
||||
months: "ماه",
|
||||
};
|
||||
|
||||
export const MESSAGE_AUTOMATION_FIELDS = [
|
||||
{ token: "{نام}", label: "نام مشتری" },
|
||||
{ token: "{شماره}", label: "شماره موبایل" },
|
||||
{ token: "{تاریخ}", label: "تاریخ ارسال" },
|
||||
{ token: "{عنوان}", label: "عنوان رکورد" },
|
||||
{ token: "{شرکت}", label: "نام شرکت" },
|
||||
] as const;
|
||||
|
||||
export const MESSAGE_AUTOMATION_SMS_SEGMENT = 70;
|
||||
|
||||
export const MESSAGE_AUTOMATION_CHANNEL_LABELS: Record<
|
||||
MessageAutomationChannel,
|
||||
string
|
||||
@@ -2345,6 +2355,7 @@ export interface MessageAutomationRuleDto {
|
||||
notifyTarget: MessageAutomationTarget;
|
||||
channel: MessageAutomationChannel;
|
||||
title: string;
|
||||
description: string | null;
|
||||
body: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
@@ -2362,6 +2373,7 @@ export interface CreateMessageAutomationRuleRequest {
|
||||
notifyTarget?: MessageAutomationTarget;
|
||||
channel?: MessageAutomationChannel;
|
||||
title: string;
|
||||
description?: string | null;
|
||||
body: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user