@purpleschool/gptbot 0.14.51 → 0.14.52-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 (159) hide show
  1. package/build/api/controllers/http/index.d.ts +1 -0
  2. package/build/api/controllers/http/index.js +1 -0
  3. package/build/api/controllers/http/photo-session.d.ts +20 -0
  4. package/build/api/controllers/http/photo-session.js +23 -0
  5. package/build/api/controllers/http/tts.d.ts +9 -0
  6. package/build/api/controllers/http/tts.js +9 -0
  7. package/build/api/routes.d.ts +44 -0
  8. package/build/api/routes.js +44 -0
  9. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -3
  10. package/build/commands/photo-studio/get-photo-studio-config.query.d.ts +0 -6
  11. package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +0 -1
  12. package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +0 -1
  13. package/build/commands/tools/image-editor/get-image-editor-tool-config.command.d.ts +0 -3
  14. package/build/commands/tools/image-editor/image-editor.command.d.ts +0 -1
  15. package/build/commands/tools/image-editor/image-editor.command.js +0 -1
  16. package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +0 -2
  17. package/build/commands/tools/image-editor/retry-image-editor-job.command.js +0 -1
  18. package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +0 -1
  19. package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +0 -1
  20. package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +0 -1
  21. package/build/commands/tools/index.d.ts +1 -0
  22. package/build/commands/tools/index.js +1 -0
  23. package/build/commands/tools/marketplace-card/get-marketplace-card-config.command.d.ts +0 -6
  24. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
  25. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
  26. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
  27. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
  28. package/build/commands/tools/photo-session/admin/index.d.ts +3 -0
  29. package/build/commands/tools/photo-session/admin/index.js +19 -0
  30. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +45 -0
  31. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +31 -0
  32. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
  33. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
  34. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
  35. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
  36. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +61 -0
  37. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
  38. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +70 -0
  39. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
  40. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +76 -0
  41. package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
  42. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +32 -0
  43. package/build/commands/tools/photo-session/get-photo-session-price.command.js +27 -0
  44. package/build/commands/tools/photo-session/index.d.ts +12 -0
  45. package/build/commands/tools/photo-session/index.js +28 -0
  46. package/build/commands/tools/photo-session/photo-session.command.d.ts +87 -0
  47. package/build/commands/tools/photo-session/photo-session.command.js +33 -0
  48. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +85 -0
  49. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +32 -0
  50. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +67 -0
  51. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
  52. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +65 -0
  53. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
  54. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +65 -0
  55. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
  56. package/build/commands/tools/solving-edu-task/get-solving-edu-task-tool-config.command.d.ts +0 -5
  57. package/build/commands/tools/tts/create-voice-clone.command.d.ts +32 -0
  58. package/build/commands/tools/tts/create-voice-clone.command.js +17 -0
  59. package/build/commands/tools/tts/create-voice-design.command.d.ts +22 -0
  60. package/build/commands/tools/tts/create-voice-design.command.js +17 -0
  61. package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
  62. package/build/commands/tools/tts/delete-voice.command.js +11 -0
  63. package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
  64. package/build/commands/tools/tts/download-tts-job.command.js +17 -0
  65. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
  66. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
  67. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +29 -0
  68. package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
  69. package/build/commands/tools/tts/find-voices.query.d.ts +37 -0
  70. package/build/commands/tools/tts/find-voices.query.js +18 -0
  71. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
  72. package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
  73. package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
  74. package/build/commands/tools/tts/index.d.ts +9 -0
  75. package/build/commands/tools/tts/index.js +9 -0
  76. package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
  77. package/build/commands/tools/tts/select-voice-design.command.d.ts +33 -0
  78. package/build/commands/tools/tts/select-voice-design.command.js +17 -0
  79. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
  80. package/build/commands/tools/tts/tts.command.d.ts +6 -1
  81. package/build/commands/tools/tts/tts.command.js +7 -1
  82. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
  83. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
  84. package/build/commands/tools/tts/update-voice.command.d.ts +33 -0
  85. package/build/commands/tools/tts/update-voice.command.js +17 -0
  86. package/build/constants/index.d.ts +2 -0
  87. package/build/constants/index.js +2 -0
  88. package/build/constants/tool-photo-session/enums/index.d.ts +3 -0
  89. package/build/constants/tool-photo-session/enums/index.js +19 -0
  90. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
  91. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
  92. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
  93. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
  94. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +4 -0
  95. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -0
  96. package/build/constants/tool-photo-session/index.d.ts +1 -0
  97. package/build/constants/tool-photo-session/index.js +17 -0
  98. package/build/constants/tool-tts/enums/index.d.ts +7 -0
  99. package/build/constants/tool-tts/enums/index.js +23 -0
  100. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
  101. package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
  102. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +14 -0
  103. package/build/constants/tool-tts/enums/voice-category.enum.js +18 -0
  104. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
  105. package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
  106. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
  107. package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
  108. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
  109. package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
  110. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
  111. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
  112. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
  113. package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
  114. package/build/constants/tool-tts/index.d.ts +1 -0
  115. package/build/constants/tool-tts/index.js +17 -0
  116. package/build/helpers/index.d.ts +1 -0
  117. package/build/helpers/index.js +1 -0
  118. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
  119. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
  120. package/build/helpers/photo-session/index.d.ts +1 -0
  121. package/build/helpers/photo-session/index.js +17 -0
  122. package/build/models/canvas-node-definition.schema.d.ts +33 -9
  123. package/build/models/tools/image-editor/image-editor-config.schema.d.ts +0 -3
  124. package/build/models/tools/image-editor/image-editor-job.schema.d.ts +0 -2
  125. package/build/models/tools/image-editor/image-editor-job.schema.js +0 -1
  126. package/build/models/tools/image-editor/image-editor-model.schema.d.ts +0 -6
  127. package/build/models/tools/image-editor/image-editor-model.schema.js +0 -5
  128. package/build/models/tools/index.d.ts +1 -0
  129. package/build/models/tools/index.js +1 -0
  130. package/build/models/tools/marketplace-card/marketplace-card-config.schema.d.ts +0 -13
  131. package/build/models/tools/marketplace-card/marketplace-card-config.schema.js +0 -5
  132. package/build/models/tools/photo-session/index.d.ts +4 -0
  133. package/build/models/tools/photo-session/index.js +20 -0
  134. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +77 -0
  135. package/build/models/tools/photo-session/photo-session-config.schema.js +16 -0
  136. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +77 -0
  137. package/build/models/tools/photo-session/photo-session-job.schema.js +45 -0
  138. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +73 -0
  139. package/build/models/tools/photo-session/photo-session-model.schema.js +45 -0
  140. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
  141. package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
  142. package/build/models/tools/solving-edu-task/solving-edu-task-config.schema.d.ts +0 -5
  143. package/build/models/tools/solving-edu-task/solving-edu-task-model.schema.d.ts +0 -5
  144. package/build/models/tools/solving-edu-task/solving-edu-task-model.schema.js +0 -3
  145. package/build/models/tools/tts/index.d.ts +3 -0
  146. package/build/models/tools/tts/index.js +3 -0
  147. package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
  148. package/build/models/tools/tts/tts-config.schema.js +14 -1
  149. package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
  150. package/build/models/tools/tts/tts-job.schema.js +16 -2
  151. package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
  152. package/build/models/tools/tts/tts-model.schema.js +1 -0
  153. package/build/models/tools/tts/voice-design-draft.schema.d.ts +12 -0
  154. package/build/models/tools/tts/voice-design-draft.schema.js +12 -0
  155. package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
  156. package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
  157. package/build/models/tools/tts/voice.schema.d.ts +22 -0
  158. package/build/models/tools/tts/voice.schema.js +24 -0
  159. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./calculate-photo-session-price.helper"), exports);
@@ -269,9 +269,6 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
269
269
  width: z.ZodNumber;
270
270
  height: z.ZodNumber;
271
271
  }, z.core.$strip>, z.ZodString]>>>;
272
- resolution: z.ZodOptional<z.ZodObject<{
273
- options: z.ZodArray<z.ZodString>;
274
- }, z.core.$strip>>;
275
272
  }, z.core.$strip>;
276
273
  pricingRules: z.ZodArray<z.ZodObject<{
277
274
  condition: z.ZodObject<{
@@ -343,6 +340,7 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
343
340
  }, z.core.$strip>;
344
341
  }, z.core.$strip>;
345
342
  maxInputLength: z.ZodNumber;
343
+ maxSpeakers: z.ZodNumber;
346
344
  params: z.ZodObject<{
347
345
  speed: z.ZodOptional<z.ZodObject<{
348
346
  title: z.ZodString;
@@ -446,6 +444,16 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
446
444
  canUse: z.ZodBoolean;
447
445
  status: z.ZodString;
448
446
  }, z.core.$strip>>;
447
+ tags: z.ZodArray<z.ZodObject<{
448
+ id: z.ZodEnum<typeof import("..").VOICE_TAG>;
449
+ group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
450
+ label: z.ZodString;
451
+ }, z.core.$strip>>;
452
+ categories: z.ZodArray<z.ZodObject<{
453
+ id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
454
+ label: z.ZodString;
455
+ }, z.core.$strip>>;
456
+ speakerMarkerLabel: z.ZodString;
449
457
  }, z.core.$strip>;
450
458
  }, z.core.$strip>, z.ZodObject<{
451
459
  nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
@@ -996,9 +1004,6 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
996
1004
  width: z.ZodNumber;
997
1005
  height: z.ZodNumber;
998
1006
  }, z.core.$strip>, z.ZodString]>>>;
999
- resolution: z.ZodOptional<z.ZodObject<{
1000
- options: z.ZodArray<z.ZodString>;
1001
- }, z.core.$strip>>;
1002
1007
  }, z.core.$strip>;
1003
1008
  pricingRules: z.ZodArray<z.ZodObject<{
1004
1009
  condition: z.ZodObject<{
@@ -1070,6 +1075,7 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
1070
1075
  }, z.core.$strip>;
1071
1076
  }, z.core.$strip>;
1072
1077
  maxInputLength: z.ZodNumber;
1078
+ maxSpeakers: z.ZodNumber;
1073
1079
  params: z.ZodObject<{
1074
1080
  speed: z.ZodOptional<z.ZodObject<{
1075
1081
  title: z.ZodString;
@@ -1173,6 +1179,16 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
1173
1179
  canUse: z.ZodBoolean;
1174
1180
  status: z.ZodString;
1175
1181
  }, z.core.$strip>>;
1182
+ tags: z.ZodArray<z.ZodObject<{
1183
+ id: z.ZodEnum<typeof import("..").VOICE_TAG>;
1184
+ group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
1185
+ label: z.ZodString;
1186
+ }, z.core.$strip>>;
1187
+ categories: z.ZodArray<z.ZodObject<{
1188
+ id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
1189
+ label: z.ZodString;
1190
+ }, z.core.$strip>>;
1191
+ speakerMarkerLabel: z.ZodString;
1176
1192
  }, z.core.$strip>;
1177
1193
  }, z.core.$strip>, z.ZodObject<{
1178
1194
  nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
@@ -1681,9 +1697,6 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
1681
1697
  width: z.ZodNumber;
1682
1698
  height: z.ZodNumber;
1683
1699
  }, z.core.$strip>, z.ZodString]>>>;
1684
- resolution: z.ZodOptional<z.ZodObject<{
1685
- options: z.ZodArray<z.ZodString>;
1686
- }, z.core.$strip>>;
1687
1700
  }, z.core.$strip>;
1688
1701
  pricingRules: z.ZodArray<z.ZodObject<{
1689
1702
  condition: z.ZodObject<{
@@ -1755,6 +1768,7 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
1755
1768
  }, z.core.$strip>;
1756
1769
  }, z.core.$strip>;
1757
1770
  maxInputLength: z.ZodNumber;
1771
+ maxSpeakers: z.ZodNumber;
1758
1772
  params: z.ZodObject<{
1759
1773
  speed: z.ZodOptional<z.ZodObject<{
1760
1774
  title: z.ZodString;
@@ -1858,6 +1872,16 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
1858
1872
  canUse: z.ZodBoolean;
1859
1873
  status: z.ZodString;
1860
1874
  }, z.core.$strip>>;
1875
+ tags: z.ZodArray<z.ZodObject<{
1876
+ id: z.ZodEnum<typeof import("..").VOICE_TAG>;
1877
+ group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
1878
+ label: z.ZodString;
1879
+ }, z.core.$strip>>;
1880
+ categories: z.ZodArray<z.ZodObject<{
1881
+ id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
1882
+ label: z.ZodString;
1883
+ }, z.core.$strip>>;
1884
+ speakerMarkerLabel: z.ZodString;
1861
1885
  }, z.core.$strip>;
1862
1886
  }, z.core.$strip>, z.ZodObject<{
1863
1887
  nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
@@ -91,9 +91,6 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
91
91
  width: z.ZodNumber;
92
92
  height: z.ZodNumber;
93
93
  }, z.core.$strip>, z.ZodString]>>>;
94
- resolution: z.ZodOptional<z.ZodObject<{
95
- options: z.ZodArray<z.ZodString>;
96
- }, z.core.$strip>>;
97
94
  }, z.core.$strip>;
98
95
  pricingRules: z.ZodArray<z.ZodObject<{
99
96
  condition: z.ZodObject<{
@@ -13,7 +13,6 @@ export declare const ImageEditorJobParamsSchema: z.ZodObject<{
13
13
  systemPromptId: z.ZodOptional<z.ZodString>;
14
14
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
15
  aspectRatio: z.ZodOptional<z.ZodString>;
16
- resolution: z.ZodOptional<z.ZodString>;
17
16
  }, z.core.$strip>;
18
17
  export type ImageEditorJobParams = z.infer<typeof ImageEditorJobParamsSchema>;
19
18
  export declare const ImageEditorJobSchema: z.ZodObject<{
@@ -44,7 +43,6 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
44
43
  systemPromptId: z.ZodOptional<z.ZodString>;
45
44
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
45
  aspectRatio: z.ZodOptional<z.ZodString>;
47
- resolution: z.ZodOptional<z.ZodString>;
48
46
  }, z.core.$strip>;
49
47
  isPublished: z.ZodBoolean;
50
48
  postId: z.ZodNullable<z.ZodString>;
@@ -11,7 +11,6 @@ exports.ImageEditorJobParamsSchema = zod_1.z.object({
11
11
  systemPromptId: zod_1.z.string().optional(),
12
12
  imageUrls: zod_1.z.string().array().optional(),
13
13
  aspectRatio: zod_1.z.string().optional(),
14
- resolution: zod_1.z.string().optional(),
15
14
  });
16
15
  exports.ImageEditorJobSchema = tool_job_schema_1.ToolJobSchema.extend({
17
16
  title: zod_1.z.string(),
@@ -9,9 +9,6 @@ export declare const ImageEditorModelParamsSchema: z.ZodObject<{
9
9
  width: z.ZodNumber;
10
10
  height: z.ZodNumber;
11
11
  }, z.core.$strip>, z.ZodString]>>>;
12
- resolution: z.ZodOptional<z.ZodObject<{
13
- options: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>>;
15
12
  }, z.core.$strip>;
16
13
  export type ImageEditorModelParams = z.infer<typeof ImageEditorModelParamsSchema>;
17
14
  export declare const ImageEditorModelPricingRuleConditionSchema: z.ZodObject<{
@@ -54,9 +51,6 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
54
51
  width: z.ZodNumber;
55
52
  height: z.ZodNumber;
56
53
  }, z.core.$strip>, z.ZodString]>>>;
57
- resolution: z.ZodOptional<z.ZodObject<{
58
- options: z.ZodArray<z.ZodString>;
59
- }, z.core.$strip>>;
60
54
  }, z.core.$strip>;
61
55
  pricingRules: z.ZodArray<z.ZodObject<{
62
56
  condition: z.ZodObject<{
@@ -19,11 +19,6 @@ exports.ImageEditorModelParamsSchema = zod_1.z.object({
19
19
  zod_1.z.string(),
20
20
  ]))
21
21
  .optional(),
22
- resolution: zod_1.z
23
- .object({
24
- options: zod_1.z.array(zod_1.z.string()),
25
- })
26
- .optional(),
27
22
  });
28
23
  exports.ImageEditorModelPricingRuleConditionSchema = zod_1.z.object({
29
24
  withoutSub: zod_1.z.boolean().optional(),
@@ -17,4 +17,5 @@ export * from './solving-edu-task';
17
17
  export * from './spell-corrector';
18
18
  export * from './html-page-builder';
19
19
  export * from './tool-workspace';
20
+ export * from './photo-session';
20
21
  export * from './diagrams';
@@ -33,4 +33,5 @@ __exportStar(require("./solving-edu-task"), exports);
33
33
  __exportStar(require("./spell-corrector"), exports);
34
34
  __exportStar(require("./html-page-builder"), exports);
35
35
  __exportStar(require("./tool-workspace"), exports);
36
+ __exportStar(require("./photo-session"), exports);
36
37
  __exportStar(require("./diagrams"), exports);
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { TOOL_MODEL_STATUS } from '../../../constants';
3
2
  export declare const MarketplaceCardStylePresetSchema: z.ZodObject<{
4
3
  uuid: z.ZodString;
5
4
  previewImageUrl: z.ZodString;
@@ -30,12 +29,6 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
30
29
  }, z.core.$strip>;
31
30
  maxPromptLength: z.ZodNumber;
32
31
  supportsImageAttachment: z.ZodBoolean;
33
- status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
34
- unlockedBy: z.ZodNullable<z.ZodObject<{
35
- uuid: z.ZodString;
36
- name: z.ZodString;
37
- }, z.core.$strip>>;
38
- canUse: z.ZodBoolean;
39
32
  }, z.core.$strip>;
40
33
  export type MarketplaceCardModel = z.infer<typeof MarketplaceCardModelSchema>;
41
34
  export declare const MarketplaceCardConfigSchema: z.ZodObject<{
@@ -68,12 +61,6 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
68
61
  }, z.core.$strip>;
69
62
  maxPromptLength: z.ZodNumber;
70
63
  supportsImageAttachment: z.ZodBoolean;
71
- status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
72
- unlockedBy: z.ZodNullable<z.ZodObject<{
73
- uuid: z.ZodString;
74
- name: z.ZodString;
75
- }, z.core.$strip>>;
76
- canUse: z.ZodBoolean;
77
64
  }, z.core.$strip>>;
78
65
  }, z.core.$strip>;
79
66
  export type MarketplaceCardConfigModel = z.infer<typeof MarketplaceCardConfigSchema>;
@@ -2,9 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MarketplaceCardConfigSchema = exports.MarketplaceCardModelSchema = exports.MarketplaceCardStylePresetSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const constants_1 = require("../../../constants");
6
5
  const icon_variants_schema_1 = require("../../icon-variants.schema");
7
- const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
8
6
  exports.MarketplaceCardStylePresetSchema = zod_1.z.object({
9
7
  uuid: zod_1.z.string().uuid(),
10
8
  previewImageUrl: zod_1.z.string(),
@@ -25,9 +23,6 @@ exports.MarketplaceCardModelSchema = zod_1.z.object({
25
23
  iconVariants: icon_variants_schema_1.IconVariantsSchema,
26
24
  maxPromptLength: zod_1.z.number(),
27
25
  supportsImageAttachment: zod_1.z.boolean(),
28
- status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
29
- unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
30
- canUse: zod_1.z.boolean(),
31
26
  });
32
27
  exports.MarketplaceCardConfigSchema = zod_1.z.object({
33
28
  styles: zod_1.z.array(exports.MarketplaceCardStylePresetSchema),
@@ -0,0 +1,4 @@
1
+ export * from './photo-session-config.schema';
2
+ export * from './photo-session-job.schema';
3
+ export * from './photo-session-model.schema';
4
+ export * from './photo-session-style.schema';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./photo-session-config.schema"), exports);
18
+ __exportStar(require("./photo-session-job.schema"), exports);
19
+ __exportStar(require("./photo-session-model.schema"), exports);
20
+ __exportStar(require("./photo-session-style.schema"), exports);
@@ -0,0 +1,77 @@
1
+ import { z } from 'zod';
2
+ import { PHOTO_SESSION_LOOK_TYPE } from '../../../constants';
3
+ export declare const PhotoSessionLookCategorySchema: z.ZodObject<{
4
+ type: z.ZodEnum<typeof PHOTO_SESSION_LOOK_TYPE>;
5
+ maxPhotos: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ export declare const PhotoSessionConfigSchema: z.ZodObject<{
8
+ models: z.ZodArray<z.ZodObject<{
9
+ uuid: z.ZodString;
10
+ title: z.ZodString;
11
+ description: z.ZodString;
12
+ aiModel: z.ZodString;
13
+ isNew: z.ZodBoolean;
14
+ tierLabel: z.ZodString;
15
+ pricePerImage: z.ZodNumber;
16
+ order: z.ZodNumber;
17
+ status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
18
+ icons: z.ZodObject<{
19
+ light: z.ZodObject<{
20
+ svg: z.ZodString;
21
+ png: z.ZodString;
22
+ }, z.core.$strip>;
23
+ dark: z.ZodObject<{
24
+ svg: z.ZodString;
25
+ png: z.ZodString;
26
+ }, z.core.$strip>;
27
+ }, z.core.$strip>;
28
+ strategy: z.ZodEnum<typeof import("../../..").PHOTO_SESSION_STRATEGY>;
29
+ maxInputLength: z.ZodOptional<z.ZodNumber>;
30
+ params: z.ZodObject<{
31
+ imageAttachment: z.ZodObject<{
32
+ supported: z.ZodBoolean;
33
+ maxImages: z.ZodNumber;
34
+ acceptedTypes: z.ZodArray<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
37
+ width: z.ZodNumber;
38
+ height: z.ZodNumber;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>;
41
+ pricingRules: z.ZodArray<z.ZodObject<{
42
+ condition: z.ZodObject<{
43
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
44
+ }, z.core.$strip>;
45
+ value: z.ZodNumber;
46
+ }, z.core.$strip>>;
47
+ unlockedBy: z.ZodNullable<z.ZodObject<{
48
+ uuid: z.ZodString;
49
+ name: z.ZodString;
50
+ }, z.core.$strip>>;
51
+ canUse: z.ZodBoolean;
52
+ createdAt: z.ZodOptional<z.ZodDate>;
53
+ updatedAt: z.ZodOptional<z.ZodDate>;
54
+ }, z.core.$strip>>;
55
+ styles: z.ZodArray<z.ZodObject<{
56
+ uuid: z.ZodString;
57
+ code: z.ZodString;
58
+ title: z.ZodString;
59
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ references: z.ZodArray<z.ZodObject<{
61
+ uuid: z.ZodString;
62
+ styleId: z.ZodString;
63
+ photoUrl: z.ZodString;
64
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ order: z.ZodNumber;
66
+ createdAt: z.ZodDate;
67
+ updatedAt: z.ZodDate;
68
+ }, z.core.$strip>>;
69
+ createdAt: z.ZodDate;
70
+ updatedAt: z.ZodDate;
71
+ }, z.core.$strip>>;
72
+ looks: z.ZodArray<z.ZodObject<{
73
+ type: z.ZodEnum<typeof PHOTO_SESSION_LOOK_TYPE>;
74
+ maxPhotos: z.ZodNumber;
75
+ }, z.core.$strip>>;
76
+ }, z.core.$strip>;
77
+ export type PhotoSessionConfig = z.infer<typeof PhotoSessionConfigSchema>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PhotoSessionConfigSchema = exports.PhotoSessionLookCategorySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const photo_session_model_schema_1 = require("./photo-session-model.schema");
6
+ const photo_session_style_schema_1 = require("./photo-session-style.schema");
7
+ const constants_1 = require("../../../constants");
8
+ exports.PhotoSessionLookCategorySchema = zod_1.z.object({
9
+ type: zod_1.z.nativeEnum(constants_1.PHOTO_SESSION_LOOK_TYPE),
10
+ maxPhotos: zod_1.z.number(),
11
+ });
12
+ exports.PhotoSessionConfigSchema = zod_1.z.object({
13
+ models: zod_1.z.array(photo_session_model_schema_1.PhotoSessionModelSchema),
14
+ styles: zod_1.z.array(photo_session_style_schema_1.PhotoSessionStyleSchema),
15
+ looks: zod_1.z.array(exports.PhotoSessionLookCategorySchema),
16
+ });
@@ -0,0 +1,77 @@
1
+ import { z } from 'zod';
2
+ import { USER_REACTION } from '../../../constants';
3
+ export declare const PhotoSessionJobParamsSchema: z.ZodObject<{
4
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ url: z.ZodString;
7
+ name: z.ZodString;
8
+ mimeType: z.ZodString;
9
+ type: z.ZodString;
10
+ size: z.ZodNumber;
11
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12
+ }, z.core.$strip>>>;
13
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
+ hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ aspectRatio: z.ZodOptional<z.ZodString>;
23
+ userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
24
+ }, z.core.$strip>;
25
+ export type PhotoSessionJobParams = z.infer<typeof PhotoSessionJobParamsSchema>;
26
+ export declare const PhotoSessionJobSchema: z.ZodObject<{
27
+ uuid: z.ZodString;
28
+ status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
29
+ error: z.ZodNullable<z.ZodString>;
30
+ isFavorite: z.ZodBoolean;
31
+ createdAt: z.ZodDate;
32
+ updatedAt: z.ZodDate;
33
+ prompt: z.ZodString;
34
+ reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
35
+ dislikeReason: z.ZodNullable<z.ZodString>;
36
+ externalId: z.ZodNullable<z.ZodString>;
37
+ title: z.ZodString;
38
+ modelId: z.ZodString;
39
+ price: z.ZodNumber;
40
+ previewUrl: z.ZodNullable<z.ZodString>;
41
+ params: z.ZodObject<{
42
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ uuid: z.ZodString;
44
+ url: z.ZodString;
45
+ name: z.ZodString;
46
+ mimeType: z.ZodString;
47
+ type: z.ZodString;
48
+ size: z.ZodNumber;
49
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
50
+ }, z.core.$strip>>>;
51
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
+ styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
+ customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
+ clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
+ hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
+ accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
+ aspectRatio: z.ZodOptional<z.ZodString>;
61
+ userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
62
+ }, z.core.$strip>;
63
+ imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
64
+ images: z.ZodNullable<z.ZodArray<z.ZodObject<{
65
+ uuid: z.ZodString;
66
+ url: z.ZodString;
67
+ originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69
+ width: z.ZodNumber;
70
+ height: z.ZodNumber;
71
+ }, z.core.$strip>>>;
72
+ }, z.core.$strip>>>;
73
+ isPublished: z.ZodBoolean;
74
+ postId: z.ZodNullable<z.ZodString>;
75
+ isDeleted: z.ZodBoolean;
76
+ }, z.core.$strip>;
77
+ export type PhotoSessionJob = z.infer<typeof PhotoSessionJobSchema>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PhotoSessionJobSchema = exports.PhotoSessionJobParamsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ const tool_job_schema_1 = require("../../tool-job.schema");
7
+ const file_schema_1 = require("../../file.schema");
8
+ const common_1 = require("../common");
9
+ exports.PhotoSessionJobParamsSchema = zod_1.z.object({
10
+ attachedFiles: zod_1.z.array(common_1.AttachedToolFileSchema).optional(),
11
+ imageUrls: zod_1.z.array(zod_1.z.string()).optional(),
12
+ styleId: zod_1.z.string().uuid().nullable().optional(),
13
+ referenceId: zod_1.z.string().uuid().nullable().optional(),
14
+ referenceIds: zod_1.z.array(zod_1.z.string().uuid()).optional(),
15
+ customStylePrompt: zod_1.z.string().nullable().optional(),
16
+ customStylePhotos: zod_1.z.array(zod_1.z.string()).optional(),
17
+ clothingPhotos: zod_1.z.array(zod_1.z.string()).optional(),
18
+ hairstylePhotos: zod_1.z.array(zod_1.z.string()).optional(),
19
+ accessoriesPhotos: zod_1.z.array(zod_1.z.string()).optional(),
20
+ aspectRatio: zod_1.z.string().optional(),
21
+ userHasActiveSubscriptionOrProduct: zod_1.z.boolean().optional(),
22
+ });
23
+ exports.PhotoSessionJobSchema = tool_job_schema_1.ToolJobSchema.extend({
24
+ prompt: zod_1.z.string(),
25
+ reaction: zod_1.z.nativeEnum(constants_1.USER_REACTION).nullable(),
26
+ dislikeReason: zod_1.z.string().nullable(),
27
+ externalId: zod_1.z.string().nullable(),
28
+ title: zod_1.z.string(),
29
+ modelId: zod_1.z.string(),
30
+ price: zod_1.z.number(),
31
+ previewUrl: zod_1.z.string().nullable(),
32
+ params: exports.PhotoSessionJobParamsSchema,
33
+ imageUrls: zod_1.z.array(zod_1.z.string()).nullable(),
34
+ images: zod_1.z
35
+ .array(zod_1.z.object({
36
+ uuid: zod_1.z.string(),
37
+ url: zod_1.z.string(),
38
+ originalName: zod_1.z.string().nullable().optional(),
39
+ resolution: file_schema_1.FileResolutionSchema.nullable().optional(),
40
+ }))
41
+ .nullable(),
42
+ isPublished: zod_1.z.boolean(),
43
+ postId: zod_1.z.string().nullable(),
44
+ isDeleted: zod_1.z.boolean(),
45
+ });
@@ -0,0 +1,73 @@
1
+ import { PHOTO_SESSION_STRATEGY, TOOL_MODEL_STATUS } from '../../../constants';
2
+ import { z } from 'zod';
3
+ export declare const PhotoSessionModelParamsSchema: z.ZodObject<{
4
+ imageAttachment: z.ZodObject<{
5
+ supported: z.ZodBoolean;
6
+ maxImages: z.ZodNumber;
7
+ acceptedTypes: z.ZodArray<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
10
+ width: z.ZodNumber;
11
+ height: z.ZodNumber;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ export type PhotoSessionModelParams = z.infer<typeof PhotoSessionModelParamsSchema>;
15
+ export declare const PhotoSessionModelPricingRuleConditionSchema: z.ZodObject<{
16
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
17
+ }, z.core.$strip>;
18
+ export type PhotoSessionModelPricingRuleCondition = z.infer<typeof PhotoSessionModelPricingRuleConditionSchema>;
19
+ export declare const PhotoSessionModelPricingRulesSchema: z.ZodArray<z.ZodObject<{
20
+ condition: z.ZodObject<{
21
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
22
+ }, z.core.$strip>;
23
+ value: z.ZodNumber;
24
+ }, z.core.$strip>>;
25
+ export type PhotoSessionModelPricingRules = z.infer<typeof PhotoSessionModelPricingRulesSchema>;
26
+ export declare const PhotoSessionModelSchema: z.ZodObject<{
27
+ uuid: z.ZodString;
28
+ title: z.ZodString;
29
+ description: z.ZodString;
30
+ aiModel: z.ZodString;
31
+ isNew: z.ZodBoolean;
32
+ tierLabel: z.ZodString;
33
+ pricePerImage: z.ZodNumber;
34
+ order: z.ZodNumber;
35
+ status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
36
+ icons: z.ZodObject<{
37
+ light: z.ZodObject<{
38
+ svg: z.ZodString;
39
+ png: z.ZodString;
40
+ }, z.core.$strip>;
41
+ dark: z.ZodObject<{
42
+ svg: z.ZodString;
43
+ png: z.ZodString;
44
+ }, z.core.$strip>;
45
+ }, z.core.$strip>;
46
+ strategy: z.ZodEnum<typeof PHOTO_SESSION_STRATEGY>;
47
+ maxInputLength: z.ZodOptional<z.ZodNumber>;
48
+ params: z.ZodObject<{
49
+ imageAttachment: z.ZodObject<{
50
+ supported: z.ZodBoolean;
51
+ maxImages: z.ZodNumber;
52
+ acceptedTypes: z.ZodArray<z.ZodString>;
53
+ }, z.core.$strip>;
54
+ aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
55
+ width: z.ZodNumber;
56
+ height: z.ZodNumber;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ pricingRules: z.ZodArray<z.ZodObject<{
60
+ condition: z.ZodObject<{
61
+ withoutSub: z.ZodOptional<z.ZodBoolean>;
62
+ }, z.core.$strip>;
63
+ value: z.ZodNumber;
64
+ }, z.core.$strip>>;
65
+ unlockedBy: z.ZodNullable<z.ZodObject<{
66
+ uuid: z.ZodString;
67
+ name: z.ZodString;
68
+ }, z.core.$strip>>;
69
+ canUse: z.ZodBoolean;
70
+ createdAt: z.ZodOptional<z.ZodDate>;
71
+ updatedAt: z.ZodOptional<z.ZodDate>;
72
+ }, z.core.$strip>;
73
+ export type PhotoSessionModel = z.infer<typeof PhotoSessionModelSchema>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PhotoSessionModelSchema = exports.PhotoSessionModelPricingRulesSchema = exports.PhotoSessionModelPricingRuleConditionSchema = exports.PhotoSessionModelParamsSchema = void 0;
4
+ const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
5
+ const constants_1 = require("../../../constants");
6
+ const zod_1 = require("zod");
7
+ const icon_variants_schema_1 = require("../../icon-variants.schema");
8
+ exports.PhotoSessionModelParamsSchema = zod_1.z.object({
9
+ imageAttachment: zod_1.z.object({
10
+ supported: zod_1.z.boolean(),
11
+ maxImages: zod_1.z.number(),
12
+ acceptedTypes: zod_1.z.array(zod_1.z.string()),
13
+ }),
14
+ aspectRatio: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
15
+ width: zod_1.z.number(),
16
+ height: zod_1.z.number(),
17
+ })),
18
+ });
19
+ exports.PhotoSessionModelPricingRuleConditionSchema = zod_1.z.object({
20
+ withoutSub: zod_1.z.boolean().optional(),
21
+ });
22
+ exports.PhotoSessionModelPricingRulesSchema = zod_1.z.array(zod_1.z.object({
23
+ condition: exports.PhotoSessionModelPricingRuleConditionSchema,
24
+ value: zod_1.z.number(),
25
+ }));
26
+ exports.PhotoSessionModelSchema = zod_1.z.object({
27
+ uuid: zod_1.z.string(),
28
+ title: zod_1.z.string(),
29
+ description: zod_1.z.string(),
30
+ aiModel: zod_1.z.string(),
31
+ isNew: zod_1.z.boolean(),
32
+ tierLabel: zod_1.z.string(),
33
+ pricePerImage: zod_1.z.number(),
34
+ order: zod_1.z.number(),
35
+ status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
36
+ icons: icon_variants_schema_1.IconVariantsSchema,
37
+ strategy: zod_1.z.nativeEnum(constants_1.PHOTO_SESSION_STRATEGY),
38
+ maxInputLength: zod_1.z.number().optional(),
39
+ params: exports.PhotoSessionModelParamsSchema,
40
+ pricingRules: exports.PhotoSessionModelPricingRulesSchema,
41
+ unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
42
+ canUse: zod_1.z.boolean(),
43
+ createdAt: zod_1.z.date().optional(),
44
+ updatedAt: zod_1.z.date().optional(),
45
+ });
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+ export declare const PhotoSessionStyleReferenceSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ styleId: z.ZodString;
5
+ photoUrl: z.ZodString;
6
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ order: z.ZodNumber;
8
+ createdAt: z.ZodDate;
9
+ updatedAt: z.ZodDate;
10
+ }, z.core.$strip>;
11
+ export type PhotoSessionStyleReference = z.infer<typeof PhotoSessionStyleReferenceSchema>;
12
+ export declare const PhotoSessionStyleSchema: z.ZodObject<{
13
+ uuid: z.ZodString;
14
+ code: z.ZodString;
15
+ title: z.ZodString;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ references: z.ZodArray<z.ZodObject<{
18
+ uuid: z.ZodString;
19
+ styleId: z.ZodString;
20
+ photoUrl: z.ZodString;
21
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ order: z.ZodNumber;
23
+ createdAt: z.ZodDate;
24
+ updatedAt: z.ZodDate;
25
+ }, z.core.$strip>>;
26
+ createdAt: z.ZodDate;
27
+ updatedAt: z.ZodDate;
28
+ }, z.core.$strip>;
29
+ export type PhotoSessionStyle = z.infer<typeof PhotoSessionStyleSchema>;