@clxmedia/types 1.0.143 → 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 = {
@@ -231,7 +231,7 @@ export type CLXTaskTriggerConstraint = 'event_user_to_onboarding_recipient_match
231
231
  export type CLXTaskTriggerConfig = {
232
232
  constraints: CLXTaskTriggerConstraint[];
233
233
  };
234
- export type CLXTaskTriggerAction = 'activate' | 'start' | 'complete' | 'close' | 'require' | 'optional';
234
+ export type CLXTaskTriggerAction = 'activate' | 'start' | 'complete' | 'close' | 'require' | 'optional' | 'delete';
235
235
  export type CLXTaskTrigger = {
236
236
  id: number;
237
237
  trigger_slug: EnterpriseEventSlugs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.143",
3
+ "version": "1.0.145",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",