shred-api-client 1.11.5 → 1.11.6

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.
@@ -91,12 +91,18 @@ type DenyFeedback = {
91
91
  resolved: boolean;
92
92
  categories?: string[];
93
93
  };
94
+ type TimelineItem = {
95
+ status: Status;
96
+ title: string;
97
+ description: string;
98
+ timestamp: number;
99
+ metadata: Record<string, any>;
100
+ };
94
101
  type Project = {
95
102
  id: string;
96
103
  title: string;
97
104
  instructions: string;
98
105
  submitMonth: string;
99
- status: Status;
100
106
  captionStyle: CaptionStyle;
101
107
  finalVideoId?: string;
102
108
  canRevision: boolean;
@@ -109,16 +115,17 @@ type Project = {
109
115
  assets?: Asset[];
110
116
  denyFeedback?: DenyFeedback[];
111
117
  approvedBy?: string;
112
- approveTimestamp?: number;
113
118
  expirationTimestamp: number;
119
+ timeline?: TimelineItem[];
120
+ status: Status;
121
+ approveTimestamp?: number;
114
122
  sentToApproveTimestamp?: number;
115
123
  submitTimestamp: number;
116
124
  editTimestamp?: number;
117
125
  completeTimestamp?: number;
118
126
  revisedAt?: number;
119
- isFreeProject?: boolean;
120
127
  scheduledAt?: number;
121
128
  scheduledTime?: number;
122
129
  tenantId?: string;
123
130
  };
124
- export { Project, ProjectAPISchema, ProjectEndpoints };
131
+ export { Project, ProjectAPISchema, ProjectEndpoints, TimelineItem };
@@ -3,7 +3,7 @@ import { Trigger as TTrigger, Criteria as TCriteria, NotificationDetail as TNCon
3
3
  import { System as TSystem, User as TUser, Preferences as UserPreferences, Role as TRole } from "./model/User.schema";
4
4
  import { Email as TEmail } from "./model/Email.schema";
5
5
  import { Asset as TAsset } from "./model/Asset.schema";
6
- import { Project as TProject } from "./model/Project.schema";
6
+ import { Project as TProject, TimelineItem as TTimlineItem } from "./model/Project.schema";
7
7
  import { Tenant as TTenant } from "./model/Tenant.schema";
8
8
  import { Track as TTrack } from "./model/Track.schema";
9
9
  import { Prompt as TPrompt, Script as TScript, Category as TCategory } from "./model/Prompt.schema";
@@ -19,6 +19,7 @@ export declare namespace Shred {
19
19
  type Email = TEmail;
20
20
  type System = TSystem;
21
21
  type Project = TProject;
22
+ type TimelineItem = TTimlineItem;
22
23
  type Asset = TAsset;
23
24
  type Track = TTrack;
24
25
  namespace PromptTypes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.11.5",
3
+ "version": "1.11.6",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",