shred-api-client 2.1.6 → 2.2.0

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/index.d.mts CHANGED
@@ -1364,41 +1364,6 @@ declare const TimelineItemSchema: z.ZodObject<{
1364
1364
  description: string;
1365
1365
  timestamp: number;
1366
1366
  }>;
1367
- declare const FeedbackSchema: z.ZodObject<{
1368
- criteria: z.ZodArray<z.ZodObject<{
1369
- id: z.ZodString;
1370
- label: z.ZodString;
1371
- score: z.ZodNumber;
1372
- comment: z.ZodOptional<z.ZodString>;
1373
- }, "strip", z.ZodTypeAny, {
1374
- id: string;
1375
- label: string;
1376
- score: number;
1377
- comment?: string | undefined;
1378
- }, {
1379
- id: string;
1380
- label: string;
1381
- score: number;
1382
- comment?: string | undefined;
1383
- }>, "many">;
1384
- comment: z.ZodOptional<z.ZodString>;
1385
- }, "strip", z.ZodTypeAny, {
1386
- criteria: {
1387
- id: string;
1388
- label: string;
1389
- score: number;
1390
- comment?: string | undefined;
1391
- }[];
1392
- comment?: string | undefined;
1393
- }, {
1394
- criteria: {
1395
- id: string;
1396
- label: string;
1397
- score: number;
1398
- comment?: string | undefined;
1399
- }[];
1400
- comment?: string | undefined;
1401
- }>;
1402
1367
  declare const ProjectSchema: z.ZodObject<{
1403
1368
  id: z.ZodString;
1404
1369
  title: z.ZodString;
@@ -1408,9 +1373,6 @@ declare const ProjectSchema: z.ZodObject<{
1408
1373
  finalVideoId: z.ZodOptional<z.ZodString>;
1409
1374
  thumbnailUrl: z.ZodOptional<z.ZodString>;
1410
1375
  modified: z.ZodNumber;
1411
- captionSuggestion: z.ZodOptional<z.ZodString>;
1412
- editorId: z.ZodOptional<z.ZodString>;
1413
- userId: z.ZodString;
1414
1376
  feedback: z.ZodOptional<z.ZodObject<{
1415
1377
  criteria: z.ZodArray<z.ZodObject<{
1416
1378
  id: z.ZodString;
@@ -1446,6 +1408,9 @@ declare const ProjectSchema: z.ZodObject<{
1446
1408
  }[];
1447
1409
  comment?: string | undefined;
1448
1410
  }>>;
1411
+ captionSuggestion: z.ZodOptional<z.ZodString>;
1412
+ editorId: z.ZodOptional<z.ZodString>;
1413
+ userId: z.ZodString;
1449
1414
  assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1450
1415
  assetId: z.ZodString;
1451
1416
  fileName: z.ZodString;
@@ -1532,7 +1497,6 @@ declare const ProjectSchema: z.ZodObject<{
1532
1497
  editorId?: string | undefined;
1533
1498
  thumbnailUrl?: string | undefined;
1534
1499
  finalVideoId?: string | undefined;
1535
- captionSuggestion?: string | undefined;
1536
1500
  feedback?: {
1537
1501
  criteria: {
1538
1502
  id: string;
@@ -1542,6 +1506,7 @@ declare const ProjectSchema: z.ZodObject<{
1542
1506
  }[];
1543
1507
  comment?: string | undefined;
1544
1508
  } | undefined;
1509
+ captionSuggestion?: string | undefined;
1545
1510
  assets?: {
1546
1511
  type: string;
1547
1512
  assetId: string;
@@ -1579,7 +1544,6 @@ declare const ProjectSchema: z.ZodObject<{
1579
1544
  editorId?: string | undefined;
1580
1545
  thumbnailUrl?: string | undefined;
1581
1546
  finalVideoId?: string | undefined;
1582
- captionSuggestion?: string | undefined;
1583
1547
  feedback?: {
1584
1548
  criteria: {
1585
1549
  id: string;
@@ -1589,6 +1553,7 @@ declare const ProjectSchema: z.ZodObject<{
1589
1553
  }[];
1590
1554
  comment?: string | undefined;
1591
1555
  } | undefined;
1556
+ captionSuggestion?: string | undefined;
1592
1557
  assets?: {
1593
1558
  type: string;
1594
1559
  assetId: string;
@@ -1617,7 +1582,6 @@ type Approve = {
1617
1582
  };
1618
1583
  type Project = z.infer<typeof ProjectSchema>;
1619
1584
  type TimelineItem = z.infer<typeof TimelineItemSchema>;
1620
- type Feedback = z.infer<typeof FeedbackSchema>;
1621
1585
 
1622
1586
  interface IAPI$4 {
1623
1587
  reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
@@ -1713,8 +1677,6 @@ declare const Endpoints$3: {
1713
1677
  type index$5_Approve = Approve;
1714
1678
  type index$5_CaptionStyle = CaptionStyle;
1715
1679
  declare const index$5_CaptionStyle: typeof CaptionStyle;
1716
- type index$5_Feedback = Feedback;
1717
- declare const index$5_FeedbackSchema: typeof FeedbackSchema;
1718
1680
  type index$5_ProjectCreation = ProjectCreation;
1719
1681
  declare const index$5_ProjectSchema: typeof ProjectSchema;
1720
1682
  type index$5_SendToApproval = SendToApproval;
@@ -1723,7 +1685,7 @@ declare const index$5_Styles: typeof Styles;
1723
1685
  type index$5_TimelineItem = TimelineItem;
1724
1686
  declare const index$5_TimelineItemSchema: typeof TimelineItemSchema;
1725
1687
  declare namespace index$5 {
1726
- export { type index$5_Approve as Approve, index$5_CaptionStyle as CaptionStyle, Endpoints$3 as Endpoints, type Project as Entity, type index$5_Feedback as Feedback, index$5_FeedbackSchema as FeedbackSchema, type IAPI$4 as IAPI, type index$5_ProjectCreation as ProjectCreation, index$5_ProjectSchema as ProjectSchema, type index$5_SendToApproval as SendToApproval, Status$1 as Status, type index$5_Style as Style, index$5_Styles as Styles, type index$5_TimelineItem as TimelineItem, index$5_TimelineItemSchema as TimelineItemSchema };
1688
+ export { type index$5_Approve as Approve, index$5_CaptionStyle as CaptionStyle, Endpoints$3 as Endpoints, type Project as Entity, type IAPI$4 as IAPI, type index$5_ProjectCreation as ProjectCreation, index$5_ProjectSchema as ProjectSchema, type index$5_SendToApproval as SendToApproval, Status$1 as Status, type index$5_Style as Style, index$5_Styles as Styles, type index$5_TimelineItem as TimelineItem, index$5_TimelineItemSchema as TimelineItemSchema };
1727
1689
  }
1728
1690
 
1729
1691
  declare const DailyMilestoneSchema: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -1364,41 +1364,6 @@ declare const TimelineItemSchema: z.ZodObject<{
1364
1364
  description: string;
1365
1365
  timestamp: number;
1366
1366
  }>;
1367
- declare const FeedbackSchema: z.ZodObject<{
1368
- criteria: z.ZodArray<z.ZodObject<{
1369
- id: z.ZodString;
1370
- label: z.ZodString;
1371
- score: z.ZodNumber;
1372
- comment: z.ZodOptional<z.ZodString>;
1373
- }, "strip", z.ZodTypeAny, {
1374
- id: string;
1375
- label: string;
1376
- score: number;
1377
- comment?: string | undefined;
1378
- }, {
1379
- id: string;
1380
- label: string;
1381
- score: number;
1382
- comment?: string | undefined;
1383
- }>, "many">;
1384
- comment: z.ZodOptional<z.ZodString>;
1385
- }, "strip", z.ZodTypeAny, {
1386
- criteria: {
1387
- id: string;
1388
- label: string;
1389
- score: number;
1390
- comment?: string | undefined;
1391
- }[];
1392
- comment?: string | undefined;
1393
- }, {
1394
- criteria: {
1395
- id: string;
1396
- label: string;
1397
- score: number;
1398
- comment?: string | undefined;
1399
- }[];
1400
- comment?: string | undefined;
1401
- }>;
1402
1367
  declare const ProjectSchema: z.ZodObject<{
1403
1368
  id: z.ZodString;
1404
1369
  title: z.ZodString;
@@ -1408,9 +1373,6 @@ declare const ProjectSchema: z.ZodObject<{
1408
1373
  finalVideoId: z.ZodOptional<z.ZodString>;
1409
1374
  thumbnailUrl: z.ZodOptional<z.ZodString>;
1410
1375
  modified: z.ZodNumber;
1411
- captionSuggestion: z.ZodOptional<z.ZodString>;
1412
- editorId: z.ZodOptional<z.ZodString>;
1413
- userId: z.ZodString;
1414
1376
  feedback: z.ZodOptional<z.ZodObject<{
1415
1377
  criteria: z.ZodArray<z.ZodObject<{
1416
1378
  id: z.ZodString;
@@ -1446,6 +1408,9 @@ declare const ProjectSchema: z.ZodObject<{
1446
1408
  }[];
1447
1409
  comment?: string | undefined;
1448
1410
  }>>;
1411
+ captionSuggestion: z.ZodOptional<z.ZodString>;
1412
+ editorId: z.ZodOptional<z.ZodString>;
1413
+ userId: z.ZodString;
1449
1414
  assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1450
1415
  assetId: z.ZodString;
1451
1416
  fileName: z.ZodString;
@@ -1532,7 +1497,6 @@ declare const ProjectSchema: z.ZodObject<{
1532
1497
  editorId?: string | undefined;
1533
1498
  thumbnailUrl?: string | undefined;
1534
1499
  finalVideoId?: string | undefined;
1535
- captionSuggestion?: string | undefined;
1536
1500
  feedback?: {
1537
1501
  criteria: {
1538
1502
  id: string;
@@ -1542,6 +1506,7 @@ declare const ProjectSchema: z.ZodObject<{
1542
1506
  }[];
1543
1507
  comment?: string | undefined;
1544
1508
  } | undefined;
1509
+ captionSuggestion?: string | undefined;
1545
1510
  assets?: {
1546
1511
  type: string;
1547
1512
  assetId: string;
@@ -1579,7 +1544,6 @@ declare const ProjectSchema: z.ZodObject<{
1579
1544
  editorId?: string | undefined;
1580
1545
  thumbnailUrl?: string | undefined;
1581
1546
  finalVideoId?: string | undefined;
1582
- captionSuggestion?: string | undefined;
1583
1547
  feedback?: {
1584
1548
  criteria: {
1585
1549
  id: string;
@@ -1589,6 +1553,7 @@ declare const ProjectSchema: z.ZodObject<{
1589
1553
  }[];
1590
1554
  comment?: string | undefined;
1591
1555
  } | undefined;
1556
+ captionSuggestion?: string | undefined;
1592
1557
  assets?: {
1593
1558
  type: string;
1594
1559
  assetId: string;
@@ -1617,7 +1582,6 @@ type Approve = {
1617
1582
  };
1618
1583
  type Project = z.infer<typeof ProjectSchema>;
1619
1584
  type TimelineItem = z.infer<typeof TimelineItemSchema>;
1620
- type Feedback = z.infer<typeof FeedbackSchema>;
1621
1585
 
1622
1586
  interface IAPI$4 {
1623
1587
  reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
@@ -1713,8 +1677,6 @@ declare const Endpoints$3: {
1713
1677
  type index$5_Approve = Approve;
1714
1678
  type index$5_CaptionStyle = CaptionStyle;
1715
1679
  declare const index$5_CaptionStyle: typeof CaptionStyle;
1716
- type index$5_Feedback = Feedback;
1717
- declare const index$5_FeedbackSchema: typeof FeedbackSchema;
1718
1680
  type index$5_ProjectCreation = ProjectCreation;
1719
1681
  declare const index$5_ProjectSchema: typeof ProjectSchema;
1720
1682
  type index$5_SendToApproval = SendToApproval;
@@ -1723,7 +1685,7 @@ declare const index$5_Styles: typeof Styles;
1723
1685
  type index$5_TimelineItem = TimelineItem;
1724
1686
  declare const index$5_TimelineItemSchema: typeof TimelineItemSchema;
1725
1687
  declare namespace index$5 {
1726
- export { type index$5_Approve as Approve, index$5_CaptionStyle as CaptionStyle, Endpoints$3 as Endpoints, type Project as Entity, type index$5_Feedback as Feedback, index$5_FeedbackSchema as FeedbackSchema, type IAPI$4 as IAPI, type index$5_ProjectCreation as ProjectCreation, index$5_ProjectSchema as ProjectSchema, type index$5_SendToApproval as SendToApproval, Status$1 as Status, type index$5_Style as Style, index$5_Styles as Styles, type index$5_TimelineItem as TimelineItem, index$5_TimelineItemSchema as TimelineItemSchema };
1688
+ export { type index$5_Approve as Approve, index$5_CaptionStyle as CaptionStyle, Endpoints$3 as Endpoints, type Project as Entity, type IAPI$4 as IAPI, type index$5_ProjectCreation as ProjectCreation, index$5_ProjectSchema as ProjectSchema, type index$5_SendToApproval as SendToApproval, Status$1 as Status, type index$5_Style as Style, index$5_Styles as Styles, type index$5_TimelineItem as TimelineItem, index$5_TimelineItemSchema as TimelineItemSchema };
1727
1689
  }
1728
1690
 
1729
1691
  declare const DailyMilestoneSchema: z.ZodObject<{
package/dist/index.js CHANGED
@@ -880,7 +880,6 @@ var project_exports = {};
880
880
  __export(project_exports, {
881
881
  CaptionStyle: () => CaptionStyle,
882
882
  Endpoints: () => Endpoints3,
883
- FeedbackSchema: () => FeedbackSchema,
884
883
  ProjectSchema: () => ProjectSchema,
885
884
  Status: () => Status2,
886
885
  Styles: () => Styles,
@@ -969,10 +968,10 @@ var ProjectSchema = import_zod4.z.object({
969
968
  finalVideoId: import_zod4.z.string().optional(),
970
969
  thumbnailUrl: import_zod4.z.string().optional(),
971
970
  modified: import_zod4.z.number(),
971
+ feedback: FeedbackSchema.optional(),
972
972
  captionSuggestion: import_zod4.z.string().optional(),
973
973
  editorId: import_zod4.z.string().optional(),
974
974
  userId: import_zod4.z.string(),
975
- feedback: FeedbackSchema.optional(),
976
975
  assets: import_zod4.z.array(AssetSchema).optional(),
977
976
  expirationTimestamp: import_zod4.z.number(),
978
977
  isFree: import_zod4.z.boolean().optional(),