@clxmedia/types 1.0.202 → 1.0.204

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.
@@ -196,7 +196,7 @@ export type CLXTaskTriggerConstraint = "event_user_to_onboarding_recipient_match
196
196
  export type CLXTaskTriggerConfig = {
197
197
  constraints: CLXTaskTriggerConstraint[];
198
198
  };
199
- export type CLXTaskTriggerAction = "activate" | "skip" | "complete" | "require" | "optional" | "delete";
199
+ export type CLXTaskTriggerAction = "create" | "activate" | "skip" | "complete" | "require" | "optional" | "delete";
200
200
  export type CLXTaskTrigger = {
201
201
  trigger_slug: EnterpriseEventSlugs;
202
202
  action_type: CLXTaskTriggerAction;
@@ -256,9 +256,17 @@ export type CLXTaskHistoryEntry = {
256
256
  email: string;
257
257
  };
258
258
  };
259
+ export type TaskChecklistItem = {
260
+ id: number;
261
+ task_id: number;
262
+ description: string;
263
+ required: boolean;
264
+ completed_by: number | null;
265
+ order_num: number;
266
+ };
259
267
  export type CLXTaskWithHistory = CLXTask & {
260
268
  history: CLXTaskHistoryEntry[];
261
- checklist?: CLXTaskChecklistItem[];
269
+ checklist?: TaskChecklistItem[];
262
270
  project_step?: {
263
271
  id: number;
264
272
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.202",
3
+ "version": "1.0.204",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",