@purpleschool/gptbot-tools 0.4.15 → 0.4.17-stage-2

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 (34) hide show
  1. package/build/image-generation/commands/image-generation-model/get-image-generation-model-by-uuid.command.d.ts +0 -2
  2. package/build/image-generation/enums/index.d.ts +0 -1
  3. package/build/image-generation/enums/index.js +0 -1
  4. package/build/image-generation/models/image-generation-config.schema.d.ts +0 -1
  5. package/build/image-generation/models/image-generation-model.schema.d.ts +1 -2
  6. package/build/image-generation/models/image-generation-model.schema.js +0 -1
  7. package/build/image-generation/queries/get-image-generation-config.query.d.ts +0 -2
  8. package/build/index.d.ts +3 -0
  9. package/build/index.js +3 -0
  10. package/build/motion-control/commands.d.ts +669 -0
  11. package/build/motion-control/commands.js +128 -0
  12. package/build/motion-control/index.d.ts +5 -0
  13. package/build/motion-control/index.js +21 -0
  14. package/build/motion-control/models.d.ts +297 -0
  15. package/build/motion-control/models.js +93 -0
  16. package/build/motion-control/queries.d.ts +504 -0
  17. package/build/motion-control/queries.js +41 -0
  18. package/build/motion-control/routes.d.ts +18 -0
  19. package/build/motion-control/routes.js +21 -0
  20. package/build/motion-control/utils.d.ts +4 -0
  21. package/build/motion-control/utils.js +23 -0
  22. package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
  23. package/build/tools/enums/tool-content-type.enum.js +1 -0
  24. package/build/tools/enums/tool-type.enum.d.ts +1 -0
  25. package/build/tools/enums/tool-type.enum.js +1 -0
  26. package/build/tools/models/global-tools-config.schema.d.ts +81 -1
  27. package/build/tools/models/global-tools-config.schema.js +8 -6
  28. package/build/tools/models/tools-with-configs.schema.d.ts +186 -2
  29. package/build/tools/models/tools-with-configs.schema.js +11 -6
  30. package/build/tools/queries/get-global-tools-config.query.d.ts +144 -2
  31. package/build/tools/queries/get-tools-with-configs.query.d.ts +168 -2
  32. package/package.json +2 -2
  33. package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +0 -21
  34. package/build/image-generation/enums/image-generation-model-strategy.enum.js +0 -35
@@ -335,7 +335,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
335
335
  options: z.ZodArray<z.ZodEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
336
336
  }, z.core.$strip>>;
337
337
  }, z.core.$strip>;
338
- strategy: z.ZodEnum<typeof import("../..").IMAGE_GENERATION_MODEL_STRATEGY>;
339
338
  status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
340
339
  maxPromptLength: z.ZodNumber;
341
340
  iconVariants: z.ZodObject<{
@@ -541,6 +540,87 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
541
540
  updatedAt: z.ZodDate;
542
541
  }, z.core.$strip>>;
543
542
  }, z.core.$strip>;
543
+ MOTION_CONTROL: z.ZodObject<{
544
+ models: z.ZodArray<z.ZodObject<{
545
+ uuid: z.ZodUUID;
546
+ title: z.ZodString;
547
+ description: z.ZodString;
548
+ aiModel: z.ZodString;
549
+ status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
550
+ order: z.ZodNumber;
551
+ icons: z.ZodObject<{
552
+ light: z.ZodObject<{
553
+ svg: z.ZodString;
554
+ png: z.ZodString;
555
+ }, z.core.$strip>;
556
+ dark: z.ZodObject<{
557
+ svg: z.ZodString;
558
+ png: z.ZodString;
559
+ }, z.core.$strip>;
560
+ }, z.core.$strip>;
561
+ maxPromptLength: z.ZodNumber;
562
+ maxInputVideoSizeBytes: z.ZodNumber;
563
+ maxInputImageSizeBytes: z.ZodNumber;
564
+ supportedVideoFormats: z.ZodArray<z.ZodString>;
565
+ supportedImageFormats: z.ZodArray<z.ZodString>;
566
+ params: z.ZodObject<{
567
+ resolution: z.ZodObject<{
568
+ options: z.ZodArray<z.ZodEnum<{
569
+ "1080p": "1080p";
570
+ "720p": "720p";
571
+ }>>;
572
+ }, z.core.$strip>;
573
+ backgroundSource: z.ZodObject<{
574
+ options: z.ZodArray<z.ZodEnum<{
575
+ image: "image";
576
+ video: "video";
577
+ }>>;
578
+ }, z.core.$strip>;
579
+ duration: z.ZodObject<{
580
+ min: z.ZodNumber;
581
+ maxByBackgroundSource: z.ZodObject<{
582
+ image: z.ZodNumber;
583
+ video: z.ZodNumber;
584
+ }, z.core.$strip>;
585
+ }, z.core.$strip>;
586
+ geometry: z.ZodObject<{
587
+ minWidth: z.ZodNumber;
588
+ minHeight: z.ZodNumber;
589
+ maxWidth: z.ZodOptional<z.ZodNumber>;
590
+ maxHeight: z.ZodOptional<z.ZodNumber>;
591
+ minAspectRatio: z.ZodNumber;
592
+ maxAspectRatio: z.ZodNumber;
593
+ }, z.core.$strip>;
594
+ sourceGeometry: z.ZodOptional<z.ZodObject<{
595
+ image: z.ZodObject<{
596
+ minWidth: z.ZodNumber;
597
+ minHeight: z.ZodNumber;
598
+ maxWidth: z.ZodOptional<z.ZodNumber>;
599
+ maxHeight: z.ZodOptional<z.ZodNumber>;
600
+ minAspectRatio: z.ZodNumber;
601
+ maxAspectRatio: z.ZodNumber;
602
+ }, z.core.$strip>;
603
+ video: z.ZodNullable<z.ZodObject<{
604
+ minWidth: z.ZodNumber;
605
+ minHeight: z.ZodNumber;
606
+ maxWidth: z.ZodOptional<z.ZodNumber>;
607
+ maxHeight: z.ZodOptional<z.ZodNumber>;
608
+ minAspectRatio: z.ZodNumber;
609
+ maxAspectRatio: z.ZodNumber;
610
+ }, z.core.$strip>>;
611
+ }, z.core.$strip>>;
612
+ }, z.core.$strip>;
613
+ pricingRules: z.ZodArray<z.ZodObject<{
614
+ resolution: z.ZodEnum<{
615
+ "1080p": "1080p";
616
+ "720p": "720p";
617
+ }>;
618
+ pricePerSecond: z.ZodNumber;
619
+ }, z.core.$strip>>;
620
+ createdAt: z.ZodDate;
621
+ updatedAt: z.ZodDate;
622
+ }, z.core.$strip>>;
623
+ }, z.core.$strip>;
544
624
  TEXT_TO_SPEECH: z.ZodObject<{
545
625
  models: z.ZodArray<z.ZodObject<{
546
626
  uuid: z.ZodString;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GlobalToolsConfigSchema = void 0;
4
+ const models_1 = require("../../motion-control/models");
4
5
  const zod_1 = require("zod");
5
6
  const enums_1 = require("../enums");
6
7
  const video_1 = require("../../video");
@@ -13,16 +14,16 @@ const presentation_1 = require("../../presentation");
13
14
  const video_editor_1 = require("../../video-editor");
14
15
  const tts_1 = require("../../tts");
15
16
  const stt_1 = require("../../stt");
16
- const models_1 = require("../../marketplace-card/models");
17
+ const models_2 = require("../../marketplace-card/models");
17
18
  const interior_design_1 = require("../../interior-design");
18
19
  const solving_edu_task_1 = require("../../solving-edu-task");
19
20
  const spell_corrector_1 = require("../../spell-corrector");
20
21
  const diagrams_1 = require("../../diagrams");
21
- const models_2 = require("../../html-page-builder/models");
22
+ const models_3 = require("../../html-page-builder/models");
22
23
  const photo_sessions_1 = require("../../photo-sessions");
23
24
  const image_recognition_1 = require("../../image-recognition");
24
25
  const sound_generation_1 = require("../../sound-generation");
25
- const models_3 = require("../../greetings/models");
26
+ const models_4 = require("../../greetings/models");
26
27
  exports.GlobalToolsConfigSchema = zod_1.z.object({
27
28
  [enums_1.TOOL_CONTENT_TYPE.VIDEO]: video_1.VideoConfigSchema,
28
29
  [enums_1.TOOL_CONTENT_TYPE.MUSIC]: music_1.MusicConfigSchema,
@@ -32,16 +33,17 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
32
33
  [enums_1.TOOL_CONTENT_TYPE.REPHRASE]: paraphrase_1.ParaphraseToolConfigSchema,
33
34
  [enums_1.TOOL_CONTENT_TYPE.PRESENTATION]: presentation_1.PresentationConfigSchema,
34
35
  [enums_1.TOOL_CONTENT_TYPE.VIDEO_EDITOR]: video_editor_1.VideoEditorConfigSchema,
36
+ [enums_1.TOOL_CONTENT_TYPE.MOTION_CONTROL]: models_1.MotionControlConfigSchema,
35
37
  [enums_1.TOOL_CONTENT_TYPE.TEXT_TO_SPEECH]: tts_1.TTSConfigSchema,
36
38
  [enums_1.TOOL_CONTENT_TYPE.SPEECH_TO_TEXT]: stt_1.STTConfigSchema,
37
- [enums_1.TOOL_CONTENT_TYPE.MARKETPLACE_CARD_GENERATION]: models_1.MarketplaceCardConfigSchema,
39
+ [enums_1.TOOL_CONTENT_TYPE.MARKETPLACE_CARD_GENERATION]: models_2.MarketplaceCardConfigSchema,
38
40
  [enums_1.TOOL_CONTENT_TYPE.INTERIOR_DESIGN]: interior_design_1.InteriorDesignConfigSchema,
39
41
  [enums_1.TOOL_CONTENT_TYPE.SOLVING_EDU_TASK]: solving_edu_task_1.SolvingEduTaskConfigSchema,
40
42
  [enums_1.TOOL_CONTENT_TYPE.SPELL_CORRECTOR]: spell_corrector_1.SpellCorrectorToolConfigSchema,
41
43
  [enums_1.TOOL_CONTENT_TYPE.DIAGRAMS]: diagrams_1.DiagramsConfigSchema,
42
- [enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_2.HtmlPageBuilderConfigSchema,
44
+ [enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_3.HtmlPageBuilderConfigSchema,
43
45
  [enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
44
46
  [enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
45
47
  [enums_1.TOOL_CONTENT_TYPE.SOUND_GENERATION]: sound_generation_1.SoundGenerationConfigSchema,
46
- [enums_1.TOOL_CONTENT_TYPE.GREETINGS]: models_3.GreetingConfigSchema,
48
+ [enums_1.TOOL_CONTENT_TYPE.GREETINGS]: models_4.GreetingConfigSchema,
47
49
  });
@@ -61,6 +61,99 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
61
61
  order: z.ZodInt;
62
62
  }, z.core.$strip>>;
63
63
  }, z.core.$strip>;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ uuid: z.ZodString;
66
+ title: z.ZodString;
67
+ description: z.ZodString;
68
+ icon: z.ZodString;
69
+ alias: z.ZodString;
70
+ bgColor: z.ZodString;
71
+ iconColor: z.ZodString;
72
+ order: z.ZodNumber;
73
+ createdAt: z.ZodDate;
74
+ updatedAt: z.ZodDate;
75
+ contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.MOTION_CONTROL>;
76
+ config: z.ZodObject<{
77
+ models: z.ZodArray<z.ZodObject<{
78
+ uuid: z.ZodUUID;
79
+ title: z.ZodString;
80
+ description: z.ZodString;
81
+ aiModel: z.ZodString;
82
+ status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
83
+ order: z.ZodNumber;
84
+ icons: z.ZodObject<{
85
+ light: z.ZodObject<{
86
+ svg: z.ZodString;
87
+ png: z.ZodString;
88
+ }, z.core.$strip>;
89
+ dark: z.ZodObject<{
90
+ svg: z.ZodString;
91
+ png: z.ZodString;
92
+ }, z.core.$strip>;
93
+ }, z.core.$strip>;
94
+ maxPromptLength: z.ZodNumber;
95
+ maxInputVideoSizeBytes: z.ZodNumber;
96
+ maxInputImageSizeBytes: z.ZodNumber;
97
+ supportedVideoFormats: z.ZodArray<z.ZodString>;
98
+ supportedImageFormats: z.ZodArray<z.ZodString>;
99
+ params: z.ZodObject<{
100
+ resolution: z.ZodObject<{
101
+ options: z.ZodArray<z.ZodEnum<{
102
+ "1080p": "1080p";
103
+ "720p": "720p";
104
+ }>>;
105
+ }, z.core.$strip>;
106
+ backgroundSource: z.ZodObject<{
107
+ options: z.ZodArray<z.ZodEnum<{
108
+ image: "image";
109
+ video: "video";
110
+ }>>;
111
+ }, z.core.$strip>;
112
+ duration: z.ZodObject<{
113
+ min: z.ZodNumber;
114
+ maxByBackgroundSource: z.ZodObject<{
115
+ image: z.ZodNumber;
116
+ video: z.ZodNumber;
117
+ }, z.core.$strip>;
118
+ }, z.core.$strip>;
119
+ geometry: z.ZodObject<{
120
+ minWidth: z.ZodNumber;
121
+ minHeight: z.ZodNumber;
122
+ maxWidth: z.ZodOptional<z.ZodNumber>;
123
+ maxHeight: z.ZodOptional<z.ZodNumber>;
124
+ minAspectRatio: z.ZodNumber;
125
+ maxAspectRatio: z.ZodNumber;
126
+ }, z.core.$strip>;
127
+ sourceGeometry: z.ZodOptional<z.ZodObject<{
128
+ image: z.ZodObject<{
129
+ minWidth: z.ZodNumber;
130
+ minHeight: z.ZodNumber;
131
+ maxWidth: z.ZodOptional<z.ZodNumber>;
132
+ maxHeight: z.ZodOptional<z.ZodNumber>;
133
+ minAspectRatio: z.ZodNumber;
134
+ maxAspectRatio: z.ZodNumber;
135
+ }, z.core.$strip>;
136
+ video: z.ZodNullable<z.ZodObject<{
137
+ minWidth: z.ZodNumber;
138
+ minHeight: z.ZodNumber;
139
+ maxWidth: z.ZodOptional<z.ZodNumber>;
140
+ maxHeight: z.ZodOptional<z.ZodNumber>;
141
+ minAspectRatio: z.ZodNumber;
142
+ maxAspectRatio: z.ZodNumber;
143
+ }, z.core.$strip>>;
144
+ }, z.core.$strip>>;
145
+ }, z.core.$strip>;
146
+ pricingRules: z.ZodArray<z.ZodObject<{
147
+ resolution: z.ZodEnum<{
148
+ "1080p": "1080p";
149
+ "720p": "720p";
150
+ }>;
151
+ pricePerSecond: z.ZodNumber;
152
+ }, z.core.$strip>>;
153
+ createdAt: z.ZodDate;
154
+ updatedAt: z.ZodDate;
155
+ }, z.core.$strip>>;
156
+ }, z.core.$strip>;
64
157
  }, z.core.$strip>, z.ZodObject<{
65
158
  uuid: z.ZodString;
66
159
  title: z.ZodString;
@@ -456,7 +549,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
456
549
  options: z.ZodArray<z.ZodEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
457
550
  }, z.core.$strip>>;
458
551
  }, z.core.$strip>;
459
- strategy: z.ZodEnum<typeof import("../..").IMAGE_GENERATION_MODEL_STRATEGY>;
460
552
  status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
461
553
  maxPromptLength: z.ZodNumber;
462
554
  iconVariants: z.ZodObject<{
@@ -1483,6 +1575,99 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1483
1575
  order: z.ZodInt;
1484
1576
  }, z.core.$strip>>;
1485
1577
  }, z.core.$strip>;
1578
+ }, z.core.$strip>, z.ZodObject<{
1579
+ uuid: z.ZodString;
1580
+ title: z.ZodString;
1581
+ description: z.ZodString;
1582
+ icon: z.ZodString;
1583
+ alias: z.ZodString;
1584
+ bgColor: z.ZodString;
1585
+ iconColor: z.ZodString;
1586
+ order: z.ZodNumber;
1587
+ createdAt: z.ZodDate;
1588
+ updatedAt: z.ZodDate;
1589
+ contentType: z.ZodLiteral<TOOL_CONTENT_TYPE.MOTION_CONTROL>;
1590
+ config: z.ZodObject<{
1591
+ models: z.ZodArray<z.ZodObject<{
1592
+ uuid: z.ZodUUID;
1593
+ title: z.ZodString;
1594
+ description: z.ZodString;
1595
+ aiModel: z.ZodString;
1596
+ status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
1597
+ order: z.ZodNumber;
1598
+ icons: z.ZodObject<{
1599
+ light: z.ZodObject<{
1600
+ svg: z.ZodString;
1601
+ png: z.ZodString;
1602
+ }, z.core.$strip>;
1603
+ dark: z.ZodObject<{
1604
+ svg: z.ZodString;
1605
+ png: z.ZodString;
1606
+ }, z.core.$strip>;
1607
+ }, z.core.$strip>;
1608
+ maxPromptLength: z.ZodNumber;
1609
+ maxInputVideoSizeBytes: z.ZodNumber;
1610
+ maxInputImageSizeBytes: z.ZodNumber;
1611
+ supportedVideoFormats: z.ZodArray<z.ZodString>;
1612
+ supportedImageFormats: z.ZodArray<z.ZodString>;
1613
+ params: z.ZodObject<{
1614
+ resolution: z.ZodObject<{
1615
+ options: z.ZodArray<z.ZodEnum<{
1616
+ "1080p": "1080p";
1617
+ "720p": "720p";
1618
+ }>>;
1619
+ }, z.core.$strip>;
1620
+ backgroundSource: z.ZodObject<{
1621
+ options: z.ZodArray<z.ZodEnum<{
1622
+ image: "image";
1623
+ video: "video";
1624
+ }>>;
1625
+ }, z.core.$strip>;
1626
+ duration: z.ZodObject<{
1627
+ min: z.ZodNumber;
1628
+ maxByBackgroundSource: z.ZodObject<{
1629
+ image: z.ZodNumber;
1630
+ video: z.ZodNumber;
1631
+ }, z.core.$strip>;
1632
+ }, z.core.$strip>;
1633
+ geometry: z.ZodObject<{
1634
+ minWidth: z.ZodNumber;
1635
+ minHeight: z.ZodNumber;
1636
+ maxWidth: z.ZodOptional<z.ZodNumber>;
1637
+ maxHeight: z.ZodOptional<z.ZodNumber>;
1638
+ minAspectRatio: z.ZodNumber;
1639
+ maxAspectRatio: z.ZodNumber;
1640
+ }, z.core.$strip>;
1641
+ sourceGeometry: z.ZodOptional<z.ZodObject<{
1642
+ image: z.ZodObject<{
1643
+ minWidth: z.ZodNumber;
1644
+ minHeight: z.ZodNumber;
1645
+ maxWidth: z.ZodOptional<z.ZodNumber>;
1646
+ maxHeight: z.ZodOptional<z.ZodNumber>;
1647
+ minAspectRatio: z.ZodNumber;
1648
+ maxAspectRatio: z.ZodNumber;
1649
+ }, z.core.$strip>;
1650
+ video: z.ZodNullable<z.ZodObject<{
1651
+ minWidth: z.ZodNumber;
1652
+ minHeight: z.ZodNumber;
1653
+ maxWidth: z.ZodOptional<z.ZodNumber>;
1654
+ maxHeight: z.ZodOptional<z.ZodNumber>;
1655
+ minAspectRatio: z.ZodNumber;
1656
+ maxAspectRatio: z.ZodNumber;
1657
+ }, z.core.$strip>>;
1658
+ }, z.core.$strip>>;
1659
+ }, z.core.$strip>;
1660
+ pricingRules: z.ZodArray<z.ZodObject<{
1661
+ resolution: z.ZodEnum<{
1662
+ "1080p": "1080p";
1663
+ "720p": "720p";
1664
+ }>;
1665
+ pricePerSecond: z.ZodNumber;
1666
+ }, z.core.$strip>>;
1667
+ createdAt: z.ZodDate;
1668
+ updatedAt: z.ZodDate;
1669
+ }, z.core.$strip>>;
1670
+ }, z.core.$strip>;
1486
1671
  }, z.core.$strip>, z.ZodObject<{
1487
1672
  uuid: z.ZodString;
1488
1673
  title: z.ZodString;
@@ -1878,7 +2063,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
1878
2063
  options: z.ZodArray<z.ZodEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
1879
2064
  }, z.core.$strip>>;
1880
2065
  }, z.core.$strip>;
1881
- strategy: z.ZodEnum<typeof import("../..").IMAGE_GENERATION_MODEL_STRATEGY>;
1882
2066
  status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
1883
2067
  maxPromptLength: z.ZodNumber;
1884
2068
  iconVariants: z.ZodObject<{
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ToolsWithConfigsSchema = exports.ToolWithConfigSchema = void 0;
4
+ const models_1 = require("../../motion-control/models");
4
5
  const zod_1 = require("zod");
5
6
  const enums_1 = require("../enums");
6
7
  const video_1 = require("../../video");
@@ -13,21 +14,25 @@ const presentation_1 = require("../../presentation");
13
14
  const video_editor_1 = require("../../video-editor");
14
15
  const tts_1 = require("../../tts");
15
16
  const stt_1 = require("../../stt");
16
- const models_1 = require("../../marketplace-card/models");
17
+ const models_2 = require("../../marketplace-card/models");
17
18
  const tool_schema_1 = require("./tool.schema");
18
19
  const interior_design_1 = require("../../interior-design");
19
20
  const solving_edu_task_1 = require("../../solving-edu-task");
20
21
  const spell_corrector_1 = require("../../spell-corrector");
21
22
  const diagrams_1 = require("../../diagrams");
22
- const models_2 = require("../../html-page-builder/models");
23
+ const models_3 = require("../../html-page-builder/models");
23
24
  const image_recognition_1 = require("../../image-recognition");
24
25
  const sound_generation_1 = require("../../sound-generation");
25
- const models_3 = require("../../greetings/models");
26
+ const models_4 = require("../../greetings/models");
26
27
  // Discriminated union array: Tools with their configs
27
28
  exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
28
29
  tool_schema_1.ToolSchema.extend({
29
30
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.GREETINGS),
30
- config: models_3.GreetingConfigSchema,
31
+ config: models_4.GreetingConfigSchema,
32
+ }),
33
+ tool_schema_1.ToolSchema.extend({
34
+ contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.MOTION_CONTROL),
35
+ config: models_1.MotionControlConfigSchema,
31
36
  }),
32
37
  tool_schema_1.ToolSchema.extend({
33
38
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.VIDEO),
@@ -71,7 +76,7 @@ exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
71
76
  }),
72
77
  tool_schema_1.ToolSchema.extend({
73
78
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.MARKETPLACE_CARD_GENERATION),
74
- config: models_1.MarketplaceCardConfigSchema,
79
+ config: models_2.MarketplaceCardConfigSchema,
75
80
  }),
76
81
  tool_schema_1.ToolSchema.extend({
77
82
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.INTERIOR_DESIGN),
@@ -91,7 +96,7 @@ exports.ToolWithConfigSchema = zod_1.z.discriminatedUnion('contentType', [
91
96
  }),
92
97
  tool_schema_1.ToolSchema.extend({
93
98
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER),
94
- config: models_2.HtmlPageBuilderConfigSchema,
99
+ config: models_3.HtmlPageBuilderConfigSchema,
95
100
  }),
96
101
  tool_schema_1.ToolSchema.extend({
97
102
  contentType: zod_1.z.literal(enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION),
@@ -342,7 +342,6 @@ export declare namespace GetGlobalToolsConfigQuery {
342
342
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
343
343
  } | undefined;
344
344
  };
345
- strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
346
345
  status: import("../..").TOOL_MODEL_STATUS;
347
346
  maxPromptLength: number;
348
347
  iconVariants: {
@@ -548,6 +547,78 @@ export declare namespace GetGlobalToolsConfigQuery {
548
547
  updatedAt: Date;
549
548
  }[];
550
549
  };
550
+ MOTION_CONTROL: {
551
+ models: {
552
+ uuid: string;
553
+ title: string;
554
+ description: string;
555
+ aiModel: string;
556
+ status: import("../..").TOOL_MODEL_STATUS;
557
+ order: number;
558
+ icons: {
559
+ light: {
560
+ svg: string;
561
+ png: string;
562
+ };
563
+ dark: {
564
+ svg: string;
565
+ png: string;
566
+ };
567
+ };
568
+ maxPromptLength: number;
569
+ maxInputVideoSizeBytes: number;
570
+ maxInputImageSizeBytes: number;
571
+ supportedVideoFormats: string[];
572
+ supportedImageFormats: string[];
573
+ params: {
574
+ resolution: {
575
+ options: ("1080p" | "720p")[];
576
+ };
577
+ backgroundSource: {
578
+ options: ("image" | "video")[];
579
+ };
580
+ duration: {
581
+ min: number;
582
+ maxByBackgroundSource: {
583
+ image: number;
584
+ video: number;
585
+ };
586
+ };
587
+ geometry: {
588
+ minWidth: number;
589
+ minHeight: number;
590
+ maxWidth?: number | undefined;
591
+ maxHeight?: number | undefined;
592
+ minAspectRatio: number;
593
+ maxAspectRatio: number;
594
+ };
595
+ sourceGeometry?: {
596
+ image: {
597
+ minWidth: number;
598
+ minHeight: number;
599
+ maxWidth?: number | undefined;
600
+ maxHeight?: number | undefined;
601
+ minAspectRatio: number;
602
+ maxAspectRatio: number;
603
+ };
604
+ video: {
605
+ minWidth: number;
606
+ minHeight: number;
607
+ maxWidth?: number | undefined;
608
+ maxHeight?: number | undefined;
609
+ minAspectRatio: number;
610
+ maxAspectRatio: number;
611
+ } | null;
612
+ } | undefined;
613
+ };
614
+ pricingRules: {
615
+ resolution: "1080p" | "720p";
616
+ pricePerSecond: number;
617
+ }[];
618
+ createdAt: Date;
619
+ updatedAt: Date;
620
+ }[];
621
+ };
551
622
  TEXT_TO_SPEECH: {
552
623
  models: {
553
624
  uuid: string;
@@ -1595,7 +1666,6 @@ export declare namespace GetGlobalToolsConfigQuery {
1595
1666
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
1596
1667
  } | undefined;
1597
1668
  };
1598
- strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
1599
1669
  status: import("../..").TOOL_MODEL_STATUS;
1600
1670
  maxPromptLength: number;
1601
1671
  iconVariants: {
@@ -1801,6 +1871,78 @@ export declare namespace GetGlobalToolsConfigQuery {
1801
1871
  updatedAt: Date;
1802
1872
  }[];
1803
1873
  };
1874
+ MOTION_CONTROL: {
1875
+ models: {
1876
+ uuid: string;
1877
+ title: string;
1878
+ description: string;
1879
+ aiModel: string;
1880
+ status: import("../..").TOOL_MODEL_STATUS;
1881
+ order: number;
1882
+ icons: {
1883
+ light: {
1884
+ svg: string;
1885
+ png: string;
1886
+ };
1887
+ dark: {
1888
+ svg: string;
1889
+ png: string;
1890
+ };
1891
+ };
1892
+ maxPromptLength: number;
1893
+ maxInputVideoSizeBytes: number;
1894
+ maxInputImageSizeBytes: number;
1895
+ supportedVideoFormats: string[];
1896
+ supportedImageFormats: string[];
1897
+ params: {
1898
+ resolution: {
1899
+ options: ("1080p" | "720p")[];
1900
+ };
1901
+ backgroundSource: {
1902
+ options: ("image" | "video")[];
1903
+ };
1904
+ duration: {
1905
+ min: number;
1906
+ maxByBackgroundSource: {
1907
+ image: number;
1908
+ video: number;
1909
+ };
1910
+ };
1911
+ geometry: {
1912
+ minWidth: number;
1913
+ minHeight: number;
1914
+ maxWidth?: number | undefined;
1915
+ maxHeight?: number | undefined;
1916
+ minAspectRatio: number;
1917
+ maxAspectRatio: number;
1918
+ };
1919
+ sourceGeometry?: {
1920
+ image: {
1921
+ minWidth: number;
1922
+ minHeight: number;
1923
+ maxWidth?: number | undefined;
1924
+ maxHeight?: number | undefined;
1925
+ minAspectRatio: number;
1926
+ maxAspectRatio: number;
1927
+ };
1928
+ video: {
1929
+ minWidth: number;
1930
+ minHeight: number;
1931
+ maxWidth?: number | undefined;
1932
+ maxHeight?: number | undefined;
1933
+ minAspectRatio: number;
1934
+ maxAspectRatio: number;
1935
+ } | null;
1936
+ } | undefined;
1937
+ };
1938
+ pricingRules: {
1939
+ resolution: "1080p" | "720p";
1940
+ pricePerSecond: number;
1941
+ }[];
1942
+ createdAt: Date;
1943
+ updatedAt: Date;
1944
+ }[];
1945
+ };
1804
1946
  TEXT_TO_SPEECH: {
1805
1947
  models: {
1806
1948
  uuid: string;