@clxmedia/types 1.0.149 → 1.0.151
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.
- package/dist/core/tasks/index.d.ts +10 -22
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import type { EnterpriseEventSlugs } from "../events";
|
|
|
4
4
|
export type CLXSortDirection = 'asc' | 'desc';
|
|
5
5
|
export type CLXTaskStatus = 'pending' | 'open' | 'done';
|
|
6
6
|
export type CLXTaskFilter = {
|
|
7
|
-
cliq_user_locator_slug
|
|
7
|
+
cliq_user_locator_slug?: CLiQuserLocatorSlug;
|
|
8
8
|
my_tasks?: boolean;
|
|
9
9
|
master_id?: number;
|
|
10
10
|
include_closed?: boolean;
|
|
@@ -80,30 +80,18 @@ export type Origin = {
|
|
|
80
80
|
path: string;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
|
-
export type
|
|
84
|
-
|
|
85
|
-
cc?: ProjectNotificationRecipientLocator | ProjectNotificationRecipientLocator[];
|
|
86
|
-
bcc?: ProjectNotificationRecipientLocator | ProjectNotificationRecipientLocator[];
|
|
83
|
+
export type TaskNotificationRecipientLocator = CLiQUserLocator | {
|
|
84
|
+
type: 'current_assignee';
|
|
87
85
|
};
|
|
88
86
|
export type TaskNotificationRecipients = {
|
|
89
87
|
to: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|
|
90
88
|
cc?: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|
|
91
89
|
bcc?: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|
|
92
90
|
};
|
|
93
|
-
export type
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
};
|
|
98
|
-
export type ProjectNotificationRecipientType = 'user' | 'group' | 'right' | 'role' | 'odoo_role';
|
|
99
|
-
export type TaskNotificationRecipientType = 'user' | 'group' | 'right' | 'role' | 'odoo_role' | 'current_assignee';
|
|
100
|
-
export type TaskNotificationRecipientLocator = {
|
|
101
|
-
recipientType: TaskNotificationRecipientType;
|
|
102
|
-
recipient: string;
|
|
103
|
-
};
|
|
104
|
-
export type ProjectNotificationRecipientLocator = {
|
|
105
|
-
recipientType: ProjectNotificationRecipientType;
|
|
106
|
-
recipient: string;
|
|
91
|
+
export type ProjectNotificationRecipients = {
|
|
92
|
+
to: CLiQUserLocator | CLiQUserLocator[];
|
|
93
|
+
cc?: CLiQUserLocator | CLiQUserLocator[];
|
|
94
|
+
bcc?: CLiQUserLocator | CLiQUserLocator[];
|
|
107
95
|
};
|
|
108
96
|
export type TaskNotificationConfig = {
|
|
109
97
|
onAction: CLXTaskActionType;
|
|
@@ -121,9 +109,9 @@ export type ProjectNotificationConfigs = {
|
|
|
121
109
|
configs: ProjectNotificationConfig[];
|
|
122
110
|
};
|
|
123
111
|
export type ProjectReminderRecipients = {
|
|
124
|
-
to:
|
|
125
|
-
cc?:
|
|
126
|
-
bcc?:
|
|
112
|
+
to: CLiQUserLocator | CLiQUserLocator[];
|
|
113
|
+
cc?: CLiQUserLocator | CLiQUserLocator[];
|
|
114
|
+
bcc?: CLiQUserLocator | CLiQUserLocator[];
|
|
127
115
|
};
|
|
128
116
|
export type TaskReminderRecipients = {
|
|
129
117
|
to: TaskNotificationRecipientLocator | TaskNotificationRecipientLocator[];
|