@clxmedia/types 1.0.200 → 1.0.202

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.
@@ -27,7 +27,7 @@ export type CLXProjectStepInstance = {
27
27
  project_id: number;
28
28
  name: string;
29
29
  status: CLXTaskStatus;
30
- project_tasks: CLXTaskWithStatus[];
30
+ project_tasks: CLXTask[];
31
31
  };
32
32
  export type CLXUserInstance = {
33
33
  id: number;
@@ -191,7 +191,6 @@ export type CLXTaskMetaData = {
191
191
  notifications?: TaskNotificationConfig[];
192
192
  due_date?: ISODateString;
193
193
  priority?: CLXPriority;
194
- checklist?: CLXTaskChecklistItem[];
195
194
  };
196
195
  export type CLXTaskTriggerConstraint = "event_user_to_onboarding_recipient_match" | "project_id_match";
197
196
  export type CLXTaskTriggerConfig = {
@@ -240,6 +239,9 @@ export type CLXTask = CLXTaskBase & {
240
239
  target: CLXTaskTargetNone | CLXTaskTarget;
241
240
  resolution: CLXTaskResolution;
242
241
  priority: number;
242
+ activated_at: Date | null;
243
+ responsibility: "internal" | "external";
244
+ status: CLXTaskStatus;
243
245
  tags: CLXTaskTag[];
244
246
  };
245
247
  export type CLXTaskHistoryEntry = {
@@ -254,13 +256,9 @@ export type CLXTaskHistoryEntry = {
254
256
  email: string;
255
257
  };
256
258
  };
257
- export type CLXTaskWithStatus = CLXTask & {
258
- activated_at: Date | null;
259
- responsibility: "internal" | "external";
260
- status: CLXTaskStatus;
261
- };
262
- export type CLXTaskWithHistory = CLXTaskWithStatus & {
259
+ export type CLXTaskWithHistory = CLXTask & {
263
260
  history: CLXTaskHistoryEntry[];
261
+ checklist?: CLXTaskChecklistItem[];
264
262
  project_step?: {
265
263
  id: number;
266
264
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.200",
3
+ "version": "1.0.202",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",