@clxmedia/types 1.0.124 → 1.0.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,7 +48,7 @@ export type TimeDelay = {
|
|
|
48
48
|
export type CLXTaskNotificationType = 'default' | 'initial_notify' | 'first_reminder' | 'second_reminder' | 'third_reminder' | 'final_reminder' | 'alert';
|
|
49
49
|
export type CLXTaskReminderScheduleEntry = {
|
|
50
50
|
delay: TimeDelay;
|
|
51
|
-
type: 'complete' | 'verify';
|
|
51
|
+
type: 'start' | 'complete' | 'verify';
|
|
52
52
|
notificationSlug: string;
|
|
53
53
|
notificationType: CLXTaskNotificationType;
|
|
54
54
|
recipient: CLXTaskAssignment | 'current_assignee';
|
|
@@ -57,6 +57,7 @@ export type CLXTaskNotificationDefinition = {
|
|
|
57
57
|
on_action: CLXTaskActionType;
|
|
58
58
|
recipient: CLXTaskAssignment;
|
|
59
59
|
notificationSlug: string;
|
|
60
|
+
repeatable: boolean;
|
|
60
61
|
}[];
|
|
61
62
|
export type CLXTaskMetaData = {
|
|
62
63
|
verifier: CLXTaskAssignment | null;
|
|
@@ -72,6 +73,7 @@ export type CLXTask = {
|
|
|
72
73
|
requires_verification: boolean;
|
|
73
74
|
internal_only: boolean;
|
|
74
75
|
slug: EnterpriseEventSlugs;
|
|
76
|
+
start_slug: EnterpriseEventSlugs | null;
|
|
75
77
|
meta_data?: CLXTaskMetaData;
|
|
76
78
|
description?: string;
|
|
77
79
|
instructions?: string;
|
|
@@ -95,6 +97,7 @@ export type CLXTaskHistoryEntry = {
|
|
|
95
97
|
};
|
|
96
98
|
};
|
|
97
99
|
export type CLXTaskWithStatus = CLXTask & {
|
|
100
|
+
started_at: Date | null;
|
|
98
101
|
completed_at: Date | null;
|
|
99
102
|
verified_at: Date | null;
|
|
100
103
|
responsibility: 'internal' | 'external';
|