@clxmedia/types 1.0.144 → 1.0.145
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.
|
@@ -108,8 +108,8 @@ export type NotificationRecipientLocator = {
|
|
|
108
108
|
recipientType: NotificationRecipientType;
|
|
109
109
|
recipient: string | null;
|
|
110
110
|
};
|
|
111
|
-
export type ProjectNotificationRecipientType = 'user' | 'group' | 'right' | 'role';
|
|
112
|
-
export type TaskNotificationRecipientType = 'user' | 'group' | 'right' | 'role' | 'current_assignee';
|
|
111
|
+
export type ProjectNotificationRecipientType = 'user' | 'group' | 'right' | 'role' | 'odoo_role';
|
|
112
|
+
export type TaskNotificationRecipientType = 'user' | 'group' | 'right' | 'role' | 'odoo_role' | 'current_assignee';
|
|
113
113
|
export type TaskNotificationRecipientLocator = {
|
|
114
114
|
recipientType: TaskNotificationRecipientType;
|
|
115
115
|
recipient: string;
|
|
@@ -134,14 +134,14 @@ export type ProjectNotificationConfigs = {
|
|
|
134
134
|
configs: ProjectNotificationConfig[];
|
|
135
135
|
};
|
|
136
136
|
export type ProjectReminderRecipients = {
|
|
137
|
-
to: ProjectNotificationRecipientLocator;
|
|
138
|
-
cc?: ProjectNotificationRecipientLocator;
|
|
139
|
-
bcc?: ProjectNotificationRecipientLocator;
|
|
137
|
+
to: ProjectNotificationRecipientLocator | ProjectNotificationRecipientLocator[];
|
|
138
|
+
cc?: ProjectNotificationRecipientLocator | ProjectNotificationRecipientLocator[];
|
|
139
|
+
bcc?: ProjectNotificationRecipientLocator | ProjectNotificationRecipientLocator[];
|
|
140
140
|
};
|
|
141
141
|
export type TaskReminderRecipients = {
|
|
142
|
-
to: TaskNotificationRecipientLocator;
|
|
143
|
-
cc?: TaskNotificationRecipientLocator;
|
|
144
|
-
bcc?: TaskNotificationRecipientLocator;
|
|
142
|
+
to: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|
|
143
|
+
cc?: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|
|
144
|
+
bcc?: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|
|
145
145
|
};
|
|
146
146
|
export type ReminderRecipients = TaskReminderRecipients | ProjectReminderRecipients;
|
|
147
147
|
type OriginLocatorBase = {
|