Edit SMS automation

This commit is contained in:
2026-09-13 21:22:41 +03:30
parent cc23e453de
commit 8925c77ae0
8 changed files with 410 additions and 56 deletions
+8 -1
View File
@@ -2261,7 +2261,12 @@ export type MessageAutomationTrigger =
| "activity_created"
| "activity_done";
export type MessageAutomationDelayUnit = "minutes" | "hours" | "days";
export type MessageAutomationDelayUnit =
| "minutes"
| "hours"
| "days"
| "weeks"
| "months";
export type MessageAutomationChannel = "app" | "sms" | "both";
export type MessageAutomationTarget = "staff" | "person" | "both";
@@ -2305,6 +2310,8 @@ export const MESSAGE_AUTOMATION_UNIT_LABELS: Record<
minutes: "دقیقه",
hours: "ساعت",
days: "روز",
weeks: "هفته",
months: "ماه",
};
export const MESSAGE_AUTOMATION_CHANNEL_LABELS: Record<