@purpleschool/gptbot-tools 0.2.55 → 0.2.56-stage2

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.
Files changed (103) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
  3. package/build/index.d.ts +3 -0
  4. package/build/index.js +3 -0
  5. package/build/marketplace-card/models/marketplace-card-config.schema.d.ts +0 -1
  6. package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +0 -1
  7. package/build/marketplace-card/models/marketplace-card-model.schema.js +0 -1
  8. package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +0 -2
  9. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
  10. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
  11. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
  12. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
  13. package/build/photo-sessions/commands/admin/index.d.ts +3 -0
  14. package/build/photo-sessions/commands/admin/index.js +19 -0
  15. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
  16. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
  17. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
  18. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
  19. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
  20. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
  21. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
  22. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
  23. package/build/photo-sessions/commands/index.d.ts +10 -0
  24. package/build/photo-sessions/commands/index.js +26 -0
  25. package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
  26. package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
  27. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
  28. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
  29. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
  30. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
  31. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
  32. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
  33. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
  34. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
  35. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
  36. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
  37. package/build/photo-sessions/enums/index.d.ts +2 -0
  38. package/build/photo-sessions/enums/index.js +18 -0
  39. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
  40. package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
  41. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
  42. package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
  43. package/build/photo-sessions/index.d.ts +5 -0
  44. package/build/photo-sessions/index.js +21 -0
  45. package/build/photo-sessions/models/index.d.ts +4 -0
  46. package/build/photo-sessions/models/index.js +20 -0
  47. package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
  48. package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
  49. package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
  50. package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
  51. package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
  52. package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
  53. package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
  54. package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
  55. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
  56. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
  57. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
  58. package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
  59. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
  60. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
  61. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +130 -0
  62. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +28 -0
  63. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
  64. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
  65. package/build/photo-sessions/queries/index.d.ts +5 -0
  66. package/build/photo-sessions/queries/index.js +21 -0
  67. package/build/photo-sessions/routes/index.d.ts +2 -0
  68. package/build/photo-sessions/routes/index.js +18 -0
  69. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
  70. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
  71. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
  72. package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
  73. package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
  74. package/build/tools/enums/tool-content-type.enum.js +1 -0
  75. package/build/tools/enums/tool-type.enum.d.ts +1 -0
  76. package/build/tools/enums/tool-type.enum.js +1 -0
  77. package/build/tools/models/global-tools-config.schema.d.ts +96 -1
  78. package/build/tools/models/global-tools-config.schema.js +2 -0
  79. package/build/tools/models/tools-with-configs.schema.d.ts +62 -2
  80. package/build/tools/queries/get-global-tools-config.query.d.ts +192 -2
  81. package/build/tools/queries/get-tools-with-configs.query.d.ts +62 -2
  82. package/build/video-editor/commands/edit-video.command.d.ts +57 -0
  83. package/build/video-editor/commands/edit-video.command.js +1 -1
  84. package/build/video-editor/commands/get-video-editor-price.command.d.ts +1 -0
  85. package/build/video-editor/commands/retry-video-editor-job.command.d.ts +57 -0
  86. package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +38 -0
  87. package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +38 -0
  88. package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +38 -0
  89. package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +38 -0
  90. package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +62 -0
  91. package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
  92. package/build/video-editor/enums/video-editor-model-limitation.enum.js +1 -0
  93. package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +2 -5
  94. package/build/video-editor/enums/video-editor-model-strategy.enum.js +2 -5
  95. package/build/video-editor/models/video-editor-config.schema.d.ts +31 -0
  96. package/build/video-editor/models/video-editor-job.schema.d.ts +38 -0
  97. package/build/video-editor/models/video-editor-job.schema.js +9 -0
  98. package/build/video-editor/models/video-editor-model.schema.d.ts +64 -0
  99. package/build/video-editor/models/video-editor-model.schema.js +40 -0
  100. package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +38 -0
  101. package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +38 -0
  102. package/build/video-editor/queries/get-video-editor-config.query.d.ts +62 -0
  103. package/package.json +1 -1
@@ -472,18 +472,49 @@ export declare namespace GetGlobalToolsConfigQuery {
472
472
  maxInputVideoDurationInSeconds: number;
473
473
  supportedFormats: string[];
474
474
  params: {
475
+ imageAttachment?: {
476
+ supported: boolean;
477
+ maxImages: number;
478
+ maxFileSizeMb?: number | undefined;
479
+ } | undefined;
480
+ referenceImageAttachment?: {
481
+ supported: boolean;
482
+ maxImages: number;
483
+ formats?: string[] | undefined;
484
+ minWidthToHeightRatio?: number | undefined;
485
+ maxWidthToHeightRatio?: number | undefined;
486
+ minWidthPx?: number | undefined;
487
+ maxWidthPx?: number | undefined;
488
+ minHeightPx?: number | undefined;
489
+ maxHeightPx?: number | undefined;
490
+ maxFileSizeMb?: number | undefined;
491
+ } | undefined;
492
+ audioAttachment?: {
493
+ supported: boolean;
494
+ maxAudios: number;
495
+ maxDurationSeconds: number;
496
+ minDurationSeconds?: number | undefined;
497
+ maxTotalDurationSeconds?: number | undefined;
498
+ maxFileSizeMb?: number | undefined;
499
+ formats?: string[] | undefined;
500
+ mimeTypes?: string[] | undefined;
501
+ } | undefined;
475
502
  duration?: {
476
503
  options: number[];
477
504
  } | undefined;
478
505
  resolution?: {
479
506
  options: string[];
480
507
  } | undefined;
508
+ aspectRatio?: {
509
+ options: string[];
510
+ } | undefined;
481
511
  };
482
512
  pricingRules: {
483
513
  type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
484
514
  condition: {
485
515
  duration?: number | undefined;
486
516
  resolution?: string | undefined;
517
+ aspectRatio?: string | undefined;
487
518
  };
488
519
  value: number;
489
520
  }[];
@@ -681,7 +712,6 @@ export declare namespace GetGlobalToolsConfigQuery {
681
712
  };
682
713
  maxPromptLength: number;
683
714
  supportsImageAttachment: boolean;
684
- maxAttachedImages: number;
685
715
  createdAt: Date;
686
716
  updatedAt: Date;
687
717
  }[];
@@ -876,6 +906,71 @@ export declare namespace GetGlobalToolsConfigQuery {
876
906
  }[];
877
907
  maxAttachmentsCount: number;
878
908
  };
909
+ PHOTO_SESSIONS: {
910
+ models: {
911
+ uuid: string;
912
+ title: string;
913
+ description: string;
914
+ aiModel: string;
915
+ isNew: boolean;
916
+ tierLabel: string;
917
+ pricePerImage: number;
918
+ order: number;
919
+ status: import("../..").TOOL_MODEL_STATUS;
920
+ icons: {
921
+ light: {
922
+ svg: string;
923
+ png: string;
924
+ };
925
+ dark: {
926
+ svg: string;
927
+ png: string;
928
+ };
929
+ };
930
+ strategy: import("../..").PHOTO_SESSION_STRATEGY;
931
+ maxInputLength: number;
932
+ params: {
933
+ imageAttachment: {
934
+ supported: boolean;
935
+ maxImages: number;
936
+ acceptedTypes: string[];
937
+ };
938
+ aspectRatio: Record<string, {
939
+ width: number;
940
+ height: number;
941
+ }>;
942
+ };
943
+ pricingRules: {
944
+ condition: {
945
+ withoutSub?: boolean | undefined;
946
+ };
947
+ value: number;
948
+ }[];
949
+ createdAt: Date;
950
+ updatedAt: Date;
951
+ }[];
952
+ styles: {
953
+ uuid: string;
954
+ code: string;
955
+ title: string;
956
+ description?: string | null | undefined;
957
+ references: {
958
+ uuid: string;
959
+ styleId: string;
960
+ photoUrl: string;
961
+ description?: string | null | undefined;
962
+ order: number;
963
+ createdAt: Date;
964
+ updatedAt: Date;
965
+ }[];
966
+ createdAt: Date;
967
+ updatedAt: Date;
968
+ }[];
969
+ looks: {
970
+ type: import("../..").PHOTO_SESSION_LOOK_TYPE;
971
+ maxPhotos: number;
972
+ }[];
973
+ };
879
974
  IMAGE_RECOGNITION: {
880
975
  models: {
881
976
  uuid: string;
@@ -1393,18 +1488,49 @@ export declare namespace GetGlobalToolsConfigQuery {
1393
1488
  maxInputVideoDurationInSeconds: number;
1394
1489
  supportedFormats: string[];
1395
1490
  params: {
1491
+ imageAttachment?: {
1492
+ supported: boolean;
1493
+ maxImages: number;
1494
+ maxFileSizeMb?: number | undefined;
1495
+ } | undefined;
1496
+ referenceImageAttachment?: {
1497
+ supported: boolean;
1498
+ maxImages: number;
1499
+ formats?: string[] | undefined;
1500
+ minWidthToHeightRatio?: number | undefined;
1501
+ maxWidthToHeightRatio?: number | undefined;
1502
+ minWidthPx?: number | undefined;
1503
+ maxWidthPx?: number | undefined;
1504
+ minHeightPx?: number | undefined;
1505
+ maxHeightPx?: number | undefined;
1506
+ maxFileSizeMb?: number | undefined;
1507
+ } | undefined;
1508
+ audioAttachment?: {
1509
+ supported: boolean;
1510
+ maxAudios: number;
1511
+ maxDurationSeconds: number;
1512
+ minDurationSeconds?: number | undefined;
1513
+ maxTotalDurationSeconds?: number | undefined;
1514
+ maxFileSizeMb?: number | undefined;
1515
+ formats?: string[] | undefined;
1516
+ mimeTypes?: string[] | undefined;
1517
+ } | undefined;
1396
1518
  duration?: {
1397
1519
  options: number[];
1398
1520
  } | undefined;
1399
1521
  resolution?: {
1400
1522
  options: string[];
1401
1523
  } | undefined;
1524
+ aspectRatio?: {
1525
+ options: string[];
1526
+ } | undefined;
1402
1527
  };
1403
1528
  pricingRules: {
1404
1529
  type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
1405
1530
  condition: {
1406
1531
  duration?: number | undefined;
1407
1532
  resolution?: string | undefined;
1533
+ aspectRatio?: string | undefined;
1408
1534
  };
1409
1535
  value: number;
1410
1536
  }[];
@@ -1602,7 +1728,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1602
1728
  };
1603
1729
  maxPromptLength: number;
1604
1730
  supportsImageAttachment: boolean;
1605
- maxAttachedImages: number;
1606
1731
  createdAt: Date;
1607
1732
  updatedAt: Date;
1608
1733
  }[];
@@ -1797,6 +1922,71 @@ export declare namespace GetGlobalToolsConfigQuery {
1797
1922
  }[];
1798
1923
  maxAttachmentsCount: number;
1799
1924
  };
1925
+ PHOTO_SESSIONS: {
1926
+ models: {
1927
+ uuid: string;
1928
+ title: string;
1929
+ description: string;
1930
+ aiModel: string;
1931
+ isNew: boolean;
1932
+ tierLabel: string;
1933
+ pricePerImage: number;
1934
+ order: number;
1935
+ status: import("../..").TOOL_MODEL_STATUS;
1936
+ icons: {
1937
+ light: {
1938
+ svg: string;
1939
+ png: string;
1940
+ };
1941
+ dark: {
1942
+ svg: string;
1943
+ png: string;
1944
+ };
1945
+ };
1946
+ strategy: import("../..").PHOTO_SESSION_STRATEGY;
1947
+ maxInputLength: number;
1948
+ params: {
1949
+ imageAttachment: {
1950
+ supported: boolean;
1951
+ maxImages: number;
1952
+ acceptedTypes: string[];
1953
+ };
1954
+ aspectRatio: Record<string, {
1955
+ width: number;
1956
+ height: number;
1957
+ }>;
1958
+ };
1959
+ pricingRules: {
1960
+ condition: {
1961
+ withoutSub?: boolean | undefined;
1962
+ };
1963
+ value: number;
1964
+ }[];
1965
+ createdAt: Date;
1966
+ updatedAt: Date;
1967
+ }[];
1968
+ styles: {
1969
+ uuid: string;
1970
+ code: string;
1971
+ title: string;
1972
+ description?: string | null | undefined;
1973
+ references: {
1974
+ uuid: string;
1975
+ styleId: string;
1976
+ photoUrl: string;
1977
+ description?: string | null | undefined;
1978
+ order: number;
1979
+ createdAt: Date;
1980
+ updatedAt: Date;
1981
+ }[];
1982
+ createdAt: Date;
1983
+ updatedAt: Date;
1984
+ }[];
1985
+ looks: {
1986
+ type: import("../..").PHOTO_SESSION_LOOK_TYPE;
1987
+ maxPhotos: number;
1988
+ }[];
1989
+ };
1800
1990
  IMAGE_RECOGNITION: {
1801
1991
  models: {
1802
1992
  uuid: string;
@@ -567,18 +567,49 @@ export declare namespace GetToolsWithConfigsQuery {
567
567
  maxInputVideoDurationInSeconds: number;
568
568
  supportedFormats: string[];
569
569
  params: {
570
+ imageAttachment?: {
571
+ supported: boolean;
572
+ maxImages: number;
573
+ maxFileSizeMb?: number | undefined;
574
+ } | undefined;
575
+ referenceImageAttachment?: {
576
+ supported: boolean;
577
+ maxImages: number;
578
+ formats?: string[] | undefined;
579
+ minWidthToHeightRatio?: number | undefined;
580
+ maxWidthToHeightRatio?: number | undefined;
581
+ minWidthPx?: number | undefined;
582
+ maxWidthPx?: number | undefined;
583
+ minHeightPx?: number | undefined;
584
+ maxHeightPx?: number | undefined;
585
+ maxFileSizeMb?: number | undefined;
586
+ } | undefined;
587
+ audioAttachment?: {
588
+ supported: boolean;
589
+ maxAudios: number;
590
+ maxDurationSeconds: number;
591
+ minDurationSeconds?: number | undefined;
592
+ maxTotalDurationSeconds?: number | undefined;
593
+ maxFileSizeMb?: number | undefined;
594
+ formats?: string[] | undefined;
595
+ mimeTypes?: string[] | undefined;
596
+ } | undefined;
570
597
  duration?: {
571
598
  options: number[];
572
599
  } | undefined;
573
600
  resolution?: {
574
601
  options: string[];
575
602
  } | undefined;
603
+ aspectRatio?: {
604
+ options: string[];
605
+ } | undefined;
576
606
  };
577
607
  pricingRules: {
578
608
  type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
579
609
  condition: {
580
610
  duration?: number | undefined;
581
611
  resolution?: string | undefined;
612
+ aspectRatio?: string | undefined;
582
613
  };
583
614
  value: number;
584
615
  }[];
@@ -812,7 +843,6 @@ export declare namespace GetToolsWithConfigsQuery {
812
843
  };
813
844
  maxPromptLength: number;
814
845
  supportsImageAttachment: boolean;
815
- maxAttachedImages: number;
816
846
  createdAt: Date;
817
847
  updatedAt: Date;
818
848
  }[];
@@ -1691,18 +1721,49 @@ export declare namespace GetToolsWithConfigsQuery {
1691
1721
  maxInputVideoDurationInSeconds: number;
1692
1722
  supportedFormats: string[];
1693
1723
  params: {
1724
+ imageAttachment?: {
1725
+ supported: boolean;
1726
+ maxImages: number;
1727
+ maxFileSizeMb?: number | undefined;
1728
+ } | undefined;
1729
+ referenceImageAttachment?: {
1730
+ supported: boolean;
1731
+ maxImages: number;
1732
+ formats?: string[] | undefined;
1733
+ minWidthToHeightRatio?: number | undefined;
1734
+ maxWidthToHeightRatio?: number | undefined;
1735
+ minWidthPx?: number | undefined;
1736
+ maxWidthPx?: number | undefined;
1737
+ minHeightPx?: number | undefined;
1738
+ maxHeightPx?: number | undefined;
1739
+ maxFileSizeMb?: number | undefined;
1740
+ } | undefined;
1741
+ audioAttachment?: {
1742
+ supported: boolean;
1743
+ maxAudios: number;
1744
+ maxDurationSeconds: number;
1745
+ minDurationSeconds?: number | undefined;
1746
+ maxTotalDurationSeconds?: number | undefined;
1747
+ maxFileSizeMb?: number | undefined;
1748
+ formats?: string[] | undefined;
1749
+ mimeTypes?: string[] | undefined;
1750
+ } | undefined;
1694
1751
  duration?: {
1695
1752
  options: number[];
1696
1753
  } | undefined;
1697
1754
  resolution?: {
1698
1755
  options: string[];
1699
1756
  } | undefined;
1757
+ aspectRatio?: {
1758
+ options: string[];
1759
+ } | undefined;
1700
1760
  };
1701
1761
  pricingRules: {
1702
1762
  type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
1703
1763
  condition: {
1704
1764
  duration?: number | undefined;
1705
1765
  resolution?: string | undefined;
1766
+ aspectRatio?: string | undefined;
1706
1767
  };
1707
1768
  value: number;
1708
1769
  }[];
@@ -1936,7 +1997,6 @@ export declare namespace GetToolsWithConfigsQuery {
1936
1997
  };
1937
1998
  maxPromptLength: number;
1938
1999
  supportsImageAttachment: boolean;
1939
- maxAttachedImages: number;
1940
2000
  createdAt: Date;
1941
2001
  updatedAt: Date;
1942
2002
  }[];
@@ -13,8 +13,27 @@ export declare namespace EditVideoCommand {
13
13
  tokenReservationId: z.ZodString;
14
14
  precalculatedPrice: z.ZodNumber;
15
15
  params: z.ZodOptional<z.ZodObject<{
16
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ uuid: z.ZodString;
18
+ url: z.ZodString;
19
+ name: z.ZodString;
20
+ mimeType: z.ZodString;
21
+ type: z.ZodString;
22
+ size: z.ZodNumber;
23
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
24
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26
+ }, z.core.$strip>>>;
27
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ videoUrls: z.ZodOptional<z.ZodNever>;
30
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
34
  duration: z.ZodOptional<z.ZodNumber>;
17
35
  resolution: z.ZodOptional<z.ZodString>;
36
+ aspectRatio: z.ZodOptional<z.ZodString>;
18
37
  }, z.core.$strip>>;
19
38
  }, z.core.$strip>;
20
39
  type Request = z.infer<typeof RequestSchema>;
@@ -37,8 +56,27 @@ export declare namespace EditVideoCommand {
37
56
  outputVideoId: string | null;
38
57
  previewUrl: string | null;
39
58
  params?: {
59
+ attachedFiles?: {
60
+ uuid: string;
61
+ url: string;
62
+ name: string;
63
+ mimeType: string;
64
+ type: string;
65
+ size: number;
66
+ duration?: number | null | undefined;
67
+ content?: string | null | undefined;
68
+ contentLength?: number | null | undefined;
69
+ }[] | undefined;
70
+ imageUrls?: string[] | undefined;
71
+ imageIds?: string[] | undefined;
72
+ videoUrls?: undefined;
73
+ referenceImages?: string[] | undefined;
74
+ referenceImageIds?: string[] | undefined;
75
+ audioUrls?: string[] | undefined;
76
+ audioIds?: string[] | undefined;
40
77
  duration?: number | undefined;
41
78
  resolution?: string | undefined;
79
+ aspectRatio?: string | undefined;
42
80
  } | undefined;
43
81
  duration: number;
44
82
  attempts: any[];
@@ -69,8 +107,27 @@ export declare namespace EditVideoCommand {
69
107
  outputVideoId: string | null;
70
108
  previewUrl: string | null;
71
109
  params?: {
110
+ attachedFiles?: {
111
+ uuid: string;
112
+ url: string;
113
+ name: string;
114
+ mimeType: string;
115
+ type: string;
116
+ size: number;
117
+ duration?: number | null | undefined;
118
+ content?: string | null | undefined;
119
+ contentLength?: number | null | undefined;
120
+ }[] | undefined;
121
+ imageUrls?: string[] | undefined;
122
+ imageIds?: string[] | undefined;
123
+ videoUrls?: undefined;
124
+ referenceImages?: string[] | undefined;
125
+ referenceImageIds?: string[] | undefined;
126
+ audioUrls?: string[] | undefined;
127
+ audioIds?: string[] | undefined;
72
128
  duration?: number | undefined;
73
129
  resolution?: string | undefined;
130
+ aspectRatio?: string | undefined;
74
131
  } | undefined;
75
132
  duration: number;
76
133
  attempts: any[];
@@ -13,7 +13,7 @@ var EditVideoCommand;
13
13
  scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
14
14
  prompt: zod_1.z.string(),
15
15
  inputVideoId: zod_1.z.string().uuid(),
16
- inputVideoUrl: zod_1.z.string(),
16
+ inputVideoUrl: zod_1.z.string().min(1),
17
17
  duration: zod_1.z.number(),
18
18
  modelId: zod_1.z.string().uuid(),
19
19
  tokenReservationId: zod_1.z.string().uuid(),
@@ -5,6 +5,7 @@ export declare namespace GetVideoEditorPriceCommand {
5
5
  params: z.ZodObject<{
6
6
  duration: z.ZodNumber;
7
7
  resolution: z.ZodOptional<z.ZodString>;
8
+ aspectRatio: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
@@ -12,8 +12,27 @@ export declare namespace RetryVideoEditorJobCommand {
12
12
  tokenReservationId: z.ZodString;
13
13
  precalculatedPrice: z.ZodNumber;
14
14
  params: z.ZodOptional<z.ZodObject<{
15
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ uuid: z.ZodString;
17
+ url: z.ZodString;
18
+ name: z.ZodString;
19
+ mimeType: z.ZodString;
20
+ type: z.ZodString;
21
+ size: z.ZodNumber;
22
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
23
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
25
+ }, z.core.$strip>>>;
26
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ videoUrls: z.ZodOptional<z.ZodNever>;
29
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
33
  duration: z.ZodOptional<z.ZodNumber>;
16
34
  resolution: z.ZodOptional<z.ZodString>;
35
+ aspectRatio: z.ZodOptional<z.ZodString>;
17
36
  }, z.core.$strip>>;
18
37
  }, z.core.$strip>;
19
38
  type Request = z.infer<typeof RequestSchema>;
@@ -36,8 +55,27 @@ export declare namespace RetryVideoEditorJobCommand {
36
55
  outputVideoId: string | null;
37
56
  previewUrl: string | null;
38
57
  params?: {
58
+ attachedFiles?: {
59
+ uuid: string;
60
+ url: string;
61
+ name: string;
62
+ mimeType: string;
63
+ type: string;
64
+ size: number;
65
+ duration?: number | null | undefined;
66
+ content?: string | null | undefined;
67
+ contentLength?: number | null | undefined;
68
+ }[] | undefined;
69
+ imageUrls?: string[] | undefined;
70
+ imageIds?: string[] | undefined;
71
+ videoUrls?: undefined;
72
+ referenceImages?: string[] | undefined;
73
+ referenceImageIds?: string[] | undefined;
74
+ audioUrls?: string[] | undefined;
75
+ audioIds?: string[] | undefined;
39
76
  duration?: number | undefined;
40
77
  resolution?: string | undefined;
78
+ aspectRatio?: string | undefined;
41
79
  } | undefined;
42
80
  duration: number;
43
81
  attempts: any[];
@@ -68,8 +106,27 @@ export declare namespace RetryVideoEditorJobCommand {
68
106
  outputVideoId: string | null;
69
107
  previewUrl: string | null;
70
108
  params?: {
109
+ attachedFiles?: {
110
+ uuid: string;
111
+ url: string;
112
+ name: string;
113
+ mimeType: string;
114
+ type: string;
115
+ size: number;
116
+ duration?: number | null | undefined;
117
+ content?: string | null | undefined;
118
+ contentLength?: number | null | undefined;
119
+ }[] | undefined;
120
+ imageUrls?: string[] | undefined;
121
+ imageIds?: string[] | undefined;
122
+ videoUrls?: undefined;
123
+ referenceImages?: string[] | undefined;
124
+ referenceImageIds?: string[] | undefined;
125
+ audioUrls?: string[] | undefined;
126
+ audioIds?: string[] | undefined;
71
127
  duration?: number | undefined;
72
128
  resolution?: string | undefined;
129
+ aspectRatio?: string | undefined;
73
130
  } | undefined;
74
131
  duration: number;
75
132
  attempts: any[];
@@ -28,8 +28,27 @@ export declare namespace SetReactionToVideoEditorJobCommand {
28
28
  outputVideoId: string | null;
29
29
  previewUrl: string | null;
30
30
  params?: {
31
+ attachedFiles?: {
32
+ uuid: string;
33
+ url: string;
34
+ name: string;
35
+ mimeType: string;
36
+ type: string;
37
+ size: number;
38
+ duration?: number | null | undefined;
39
+ content?: string | null | undefined;
40
+ contentLength?: number | null | undefined;
41
+ }[] | undefined;
42
+ imageUrls?: string[] | undefined;
43
+ imageIds?: string[] | undefined;
44
+ videoUrls?: undefined;
45
+ referenceImages?: string[] | undefined;
46
+ referenceImageIds?: string[] | undefined;
47
+ audioUrls?: string[] | undefined;
48
+ audioIds?: string[] | undefined;
31
49
  duration?: number | undefined;
32
50
  resolution?: string | undefined;
51
+ aspectRatio?: string | undefined;
33
52
  } | undefined;
34
53
  duration: number;
35
54
  attempts: any[];
@@ -60,8 +79,27 @@ export declare namespace SetReactionToVideoEditorJobCommand {
60
79
  outputVideoId: string | null;
61
80
  previewUrl: string | null;
62
81
  params?: {
82
+ attachedFiles?: {
83
+ uuid: string;
84
+ url: string;
85
+ name: string;
86
+ mimeType: string;
87
+ type: string;
88
+ size: number;
89
+ duration?: number | null | undefined;
90
+ content?: string | null | undefined;
91
+ contentLength?: number | null | undefined;
92
+ }[] | undefined;
93
+ imageUrls?: string[] | undefined;
94
+ imageIds?: string[] | undefined;
95
+ videoUrls?: undefined;
96
+ referenceImages?: string[] | undefined;
97
+ referenceImageIds?: string[] | undefined;
98
+ audioUrls?: string[] | undefined;
99
+ audioIds?: string[] | undefined;
63
100
  duration?: number | undefined;
64
101
  resolution?: string | undefined;
102
+ aspectRatio?: string | undefined;
65
103
  } | undefined;
66
104
  duration: number;
67
105
  attempts: any[];
@@ -31,8 +31,27 @@ export declare namespace UpdatePublishedStatusVideoEditorJobsCommand {
31
31
  outputVideoId: string | null;
32
32
  previewUrl: string | null;
33
33
  params?: {
34
+ attachedFiles?: {
35
+ uuid: string;
36
+ url: string;
37
+ name: string;
38
+ mimeType: string;
39
+ type: string;
40
+ size: number;
41
+ duration?: number | null | undefined;
42
+ content?: string | null | undefined;
43
+ contentLength?: number | null | undefined;
44
+ }[] | undefined;
45
+ imageUrls?: string[] | undefined;
46
+ imageIds?: string[] | undefined;
47
+ videoUrls?: undefined;
48
+ referenceImages?: string[] | undefined;
49
+ referenceImageIds?: string[] | undefined;
50
+ audioUrls?: string[] | undefined;
51
+ audioIds?: string[] | undefined;
34
52
  duration?: number | undefined;
35
53
  resolution?: string | undefined;
54
+ aspectRatio?: string | undefined;
36
55
  } | undefined;
37
56
  duration: number;
38
57
  attempts: any[];
@@ -63,8 +82,27 @@ export declare namespace UpdatePublishedStatusVideoEditorJobsCommand {
63
82
  outputVideoId: string | null;
64
83
  previewUrl: string | null;
65
84
  params?: {
85
+ attachedFiles?: {
86
+ uuid: string;
87
+ url: string;
88
+ name: string;
89
+ mimeType: string;
90
+ type: string;
91
+ size: number;
92
+ duration?: number | null | undefined;
93
+ content?: string | null | undefined;
94
+ contentLength?: number | null | undefined;
95
+ }[] | undefined;
96
+ imageUrls?: string[] | undefined;
97
+ imageIds?: string[] | undefined;
98
+ videoUrls?: undefined;
99
+ referenceImages?: string[] | undefined;
100
+ referenceImageIds?: string[] | undefined;
101
+ audioUrls?: string[] | undefined;
102
+ audioIds?: string[] | undefined;
66
103
  duration?: number | undefined;
67
104
  resolution?: string | undefined;
105
+ aspectRatio?: string | undefined;
68
106
  } | undefined;
69
107
  duration: number;
70
108
  attempts: any[];