@purpleschool/gptbot-tools 0.2.72-stage2 → 0.2.73

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 (183) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
  3. package/build/index.d.ts +0 -3
  4. package/build/index.js +0 -3
  5. package/build/music/commands/add-track-to-music-playlist.command.d.ts +822 -82
  6. package/build/music/commands/create-music-playlist.command.d.ts +822 -82
  7. package/build/music/commands/edit-music.command.d.ts +817 -77
  8. package/build/music/commands/generate-music.command.d.ts +811 -71
  9. package/build/music/commands/remove-track-from-music-playlist.command.d.ts +822 -82
  10. package/build/music/commands/retry-music-job.command.d.ts +811 -71
  11. package/build/music/commands/set-reaction-to-music-job.command.d.ts +811 -71
  12. package/build/music/commands/update-music-job-favorite.command.d.ts +811 -71
  13. package/build/music/commands/update-music-job-title.command.d.ts +811 -71
  14. package/build/music/commands/update-music-playlist.command.d.ts +822 -82
  15. package/build/music/commands/update-published-status-music-jobs.command.d.ts +811 -71
  16. package/build/music/models/music-job.schema.d.ts +386 -16
  17. package/build/music/models/music-job.schema.js +35 -6
  18. package/build/music/models/music-playlist.schema.d.ts +386 -16
  19. package/build/music/queries/find-music-job-by-id.query.d.ts +811 -71
  20. package/build/music/queries/find-music-jobs.query.d.ts +818 -78
  21. package/build/music/queries/find-music-playlists.query.d.ts +827 -87
  22. package/build/tools/enums/tool-content-type.enum.d.ts +0 -1
  23. package/build/tools/enums/tool-content-type.enum.js +0 -1
  24. package/build/tools/enums/tool-type.enum.d.ts +0 -1
  25. package/build/tools/enums/tool-type.enum.js +0 -1
  26. package/build/tools/events/tool-job-complete.event.d.ts +0 -1
  27. package/build/tools/events/tool-job-failed.event.d.ts +0 -1
  28. package/build/tools/models/global-tools-config.schema.d.ts +0 -76
  29. package/build/tools/models/global-tools-config.schema.js +0 -2
  30. package/build/tools/models/tool-job.schema.d.ts +0 -1
  31. package/build/tools/models/tool-job.schema.js +0 -1
  32. package/build/tools/models/tools-with-configs.schema.d.ts +0 -22
  33. package/build/tools/queries/get-global-tools-config.query.d.ts +0 -152
  34. package/build/tools/queries/get-tools-with-configs.query.d.ts +0 -22
  35. package/build/tts/commands/index.d.ts +0 -7
  36. package/build/tts/commands/index.js +0 -7
  37. package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
  38. package/build/tts/commands/retry-tts-job.command.js +0 -2
  39. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
  40. package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
  41. package/build/tts/commands/tts.command.d.ts +3 -35
  42. package/build/tts/commands/tts.command.js +1 -4
  43. package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
  44. package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
  45. package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
  46. package/build/tts/commands/update-tts-job-title.command.js +0 -2
  47. package/build/tts/enums/index.d.ts +0 -7
  48. package/build/tts/enums/index.js +0 -7
  49. package/build/tts/models/index.d.ts +0 -7
  50. package/build/tts/models/index.js +0 -7
  51. package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
  52. package/build/tts/models/tts-config.schema.d.ts +0 -11
  53. package/build/tts/models/tts-config.schema.js +0 -5
  54. package/build/tts/models/tts-job.schema.d.ts +2 -34
  55. package/build/tts/models/tts-job.schema.js +2 -22
  56. package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
  57. package/build/tts/models/tts-model.schema.d.ts +0 -1
  58. package/build/tts/models/tts-model.schema.js +0 -1
  59. package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
  60. package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
  61. package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
  62. package/build/tts/queries/find-tts-jobs.query.js +0 -1
  63. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
  64. package/build/tts/queries/get-tts-config.query.d.ts +0 -22
  65. package/build/tts/queries/index.d.ts +0 -2
  66. package/build/tts/queries/index.js +0 -2
  67. package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
  68. package/build/tts/routes/tts.amqp.routes.js +0 -9
  69. package/package.json +1 -1
  70. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
  71. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
  72. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
  73. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
  74. package/build/photo-sessions/commands/admin/index.d.ts +0 -3
  75. package/build/photo-sessions/commands/admin/index.js +0 -19
  76. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -54
  77. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -18
  78. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +0 -17
  79. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -19
  80. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +0 -16
  81. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
  82. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -74
  83. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -28
  84. package/build/photo-sessions/commands/index.d.ts +0 -10
  85. package/build/photo-sessions/commands/index.js +0 -26
  86. package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -272
  87. package/build/photo-sessions/commands/photo-sessions.command.js +0 -37
  88. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -179
  89. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -17
  90. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -181
  91. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
  92. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -179
  93. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
  94. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -217
  95. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
  96. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -184
  97. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
  98. package/build/photo-sessions/enums/index.d.ts +0 -3
  99. package/build/photo-sessions/enums/index.js +0 -19
  100. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -6
  101. package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -10
  102. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
  103. package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
  104. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
  105. package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
  106. package/build/photo-sessions/index.d.ts +0 -5
  107. package/build/photo-sessions/index.js +0 -21
  108. package/build/photo-sessions/models/index.d.ts +0 -5
  109. package/build/photo-sessions/models/index.js +0 -21
  110. package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
  111. package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
  112. package/build/photo-sessions/models/photo-session-group.schema.d.ts +0 -113
  113. package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
  114. package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -159
  115. package/build/photo-sessions/models/photo-session-job.schema.js +0 -55
  116. package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
  117. package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
  118. package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
  119. package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
  120. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
  121. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
  122. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
  123. package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
  124. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -216
  125. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -18
  126. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -235
  127. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -33
  128. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
  129. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
  130. package/build/photo-sessions/queries/index.d.ts +0 -5
  131. package/build/photo-sessions/queries/index.js +0 -21
  132. package/build/photo-sessions/routes/index.d.ts +0 -2
  133. package/build/photo-sessions/routes/index.js +0 -18
  134. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
  135. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
  136. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
  137. package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
  138. package/build/tts/commands/create-voice-clone.command.d.ts +0 -81
  139. package/build/tts/commands/create-voice-clone.command.js +0 -21
  140. package/build/tts/commands/create-voice-design.command.d.ts +0 -40
  141. package/build/tts/commands/create-voice-design.command.js +0 -20
  142. package/build/tts/commands/delete-voice.command.d.ts +0 -17
  143. package/build/tts/commands/delete-voice.command.js +0 -14
  144. package/build/tts/commands/download-tts-job.command.d.ts +0 -25
  145. package/build/tts/commands/download-tts-job.command.js +0 -19
  146. package/build/tts/commands/improve-tts-text.command.d.ts +0 -22
  147. package/build/tts/commands/improve-tts-text.command.js +0 -16
  148. package/build/tts/commands/select-voice-design.command.d.ts +0 -77
  149. package/build/tts/commands/select-voice-design.command.js +0 -17
  150. package/build/tts/commands/update-voice.command.d.ts +0 -78
  151. package/build/tts/commands/update-voice.command.js +0 -18
  152. package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
  153. package/build/tts/enums/tts-download-format.enum.js +0 -9
  154. package/build/tts/enums/voice-category.enum.d.ts +0 -19
  155. package/build/tts/enums/voice-category.enum.js +0 -23
  156. package/build/tts/enums/voice-gender.enum.d.ts +0 -4
  157. package/build/tts/enums/voice-gender.enum.js +0 -8
  158. package/build/tts/enums/voice-source.enum.d.ts +0 -5
  159. package/build/tts/enums/voice-source.enum.js +0 -9
  160. package/build/tts/enums/voice-status.enum.d.ts +0 -5
  161. package/build/tts/enums/voice-status.enum.js +0 -9
  162. package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
  163. package/build/tts/enums/voice-tag-group.enum.js +0 -9
  164. package/build/tts/enums/voice-tag.enum.d.ts +0 -20
  165. package/build/tts/enums/voice-tag.enum.js +0 -24
  166. package/build/tts/models/voice-category.schema.d.ts +0 -7
  167. package/build/tts/models/voice-category.schema.js +0 -9
  168. package/build/tts/models/voice-design-draft.schema.d.ts +0 -13
  169. package/build/tts/models/voice-design-draft.schema.js +0 -13
  170. package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
  171. package/build/tts/models/voice-design-sample.schema.js +0 -8
  172. package/build/tts/models/voice-gender.schema.d.ts +0 -7
  173. package/build/tts/models/voice-gender.schema.js +0 -9
  174. package/build/tts/models/voice-source.schema.d.ts +0 -7
  175. package/build/tts/models/voice-source.schema.js +0 -9
  176. package/build/tts/models/voice-tag.schema.d.ts +0 -9
  177. package/build/tts/models/voice-tag.schema.js +0 -11
  178. package/build/tts/models/voice.schema.d.ts +0 -34
  179. package/build/tts/models/voice.schema.js +0 -30
  180. package/build/tts/queries/find-voice-by-id.query.d.ts +0 -77
  181. package/build/tts/queries/find-voice-by-id.query.js +0 -17
  182. package/build/tts/queries/find-voices.query.d.ts +0 -122
  183. package/build/tts/queries/find-voices.query.js +0 -25
@@ -1,19 +0,0 @@
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-strategy.enum"), exports);
18
- __exportStar(require("./photo-session-look-type.enum"), exports);
19
- __exportStar(require("./photo-session-group-status.enum"), exports);
@@ -1,6 +0,0 @@
1
- export declare enum PHOTO_SESSION_GROUP_STATUS {
2
- PENDING = "pending",
3
- COMPLETED = "completed",
4
- AWAITING_RETRY_JOB = "awaiting_retry_job",
5
- FAILED = "failed"
6
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PHOTO_SESSION_GROUP_STATUS = void 0;
4
- var PHOTO_SESSION_GROUP_STATUS;
5
- (function (PHOTO_SESSION_GROUP_STATUS) {
6
- PHOTO_SESSION_GROUP_STATUS["PENDING"] = "pending";
7
- PHOTO_SESSION_GROUP_STATUS["COMPLETED"] = "completed";
8
- PHOTO_SESSION_GROUP_STATUS["AWAITING_RETRY_JOB"] = "awaiting_retry_job";
9
- PHOTO_SESSION_GROUP_STATUS["FAILED"] = "failed";
10
- })(PHOTO_SESSION_GROUP_STATUS || (exports.PHOTO_SESSION_GROUP_STATUS = PHOTO_SESSION_GROUP_STATUS = {}));
@@ -1,5 +0,0 @@
1
- export declare enum PHOTO_SESSION_LOOK_TYPE {
2
- CLOTHING = "clothing",
3
- HAIRSTYLE = "hairstyle",
4
- ACCESSORIES = "accessories"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PHOTO_SESSION_LOOK_TYPE = void 0;
4
- var PHOTO_SESSION_LOOK_TYPE;
5
- (function (PHOTO_SESSION_LOOK_TYPE) {
6
- PHOTO_SESSION_LOOK_TYPE["CLOTHING"] = "clothing";
7
- PHOTO_SESSION_LOOK_TYPE["HAIRSTYLE"] = "hairstyle";
8
- PHOTO_SESSION_LOOK_TYPE["ACCESSORIES"] = "accessories";
9
- })(PHOTO_SESSION_LOOK_TYPE || (exports.PHOTO_SESSION_LOOK_TYPE = PHOTO_SESSION_LOOK_TYPE = {}));
@@ -1,4 +0,0 @@
1
- export declare enum PHOTO_SESSION_STRATEGY {
2
- NANO_BANANA_IMAGE_GENERATION = "NANO_BANANA_IMAGE_GENERATION",
3
- OPENAI_IMAGE_2_GENERATION = "OPENAI_IMAGE_2_GENERATION"
4
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PHOTO_SESSION_STRATEGY = void 0;
4
- var PHOTO_SESSION_STRATEGY;
5
- (function (PHOTO_SESSION_STRATEGY) {
6
- PHOTO_SESSION_STRATEGY["NANO_BANANA_IMAGE_GENERATION"] = "NANO_BANANA_IMAGE_GENERATION";
7
- PHOTO_SESSION_STRATEGY["OPENAI_IMAGE_2_GENERATION"] = "OPENAI_IMAGE_2_GENERATION";
8
- })(PHOTO_SESSION_STRATEGY || (exports.PHOTO_SESSION_STRATEGY = PHOTO_SESSION_STRATEGY = {}));
@@ -1,5 +0,0 @@
1
- export * from './commands';
2
- export * from './enums';
3
- export * from './models';
4
- export * from './queries';
5
- export * from './routes';
@@ -1,21 +0,0 @@
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("./commands"), exports);
18
- __exportStar(require("./enums"), exports);
19
- __exportStar(require("./models"), exports);
20
- __exportStar(require("./queries"), exports);
21
- __exportStar(require("./routes"), exports);
@@ -1,5 +0,0 @@
1
- export * from './photo-session-config.schema';
2
- export * from './photo-session-group.schema';
3
- export * from './photo-session-job.schema';
4
- export * from './photo-session-model.schema';
5
- export * from './photo-session-style.schema';
@@ -1,21 +0,0 @@
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-group.schema"), exports);
19
- __exportStar(require("./photo-session-job.schema"), exports);
20
- __exportStar(require("./photo-session-model.schema"), exports);
21
- __exportStar(require("./photo-session-style.schema"), exports);
@@ -1,72 +0,0 @@
1
- import { z } from 'zod';
2
- import { PHOTO_SESSION_LOOK_TYPE } from '../enums';
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.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
- createdAt: z.ZodCoercedDate<unknown>;
48
- updatedAt: z.ZodCoercedDate<unknown>;
49
- }, z.core.$strip>>;
50
- styles: z.ZodArray<z.ZodObject<{
51
- uuid: z.ZodString;
52
- code: z.ZodString;
53
- title: z.ZodString;
54
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- references: z.ZodArray<z.ZodObject<{
56
- uuid: z.ZodString;
57
- styleId: z.ZodString;
58
- photoUrl: z.ZodString;
59
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- order: z.ZodNumber;
61
- createdAt: z.ZodCoercedDate<unknown>;
62
- updatedAt: z.ZodCoercedDate<unknown>;
63
- }, z.core.$strip>>;
64
- createdAt: z.ZodCoercedDate<unknown>;
65
- updatedAt: z.ZodCoercedDate<unknown>;
66
- }, z.core.$strip>>;
67
- looks: z.ZodArray<z.ZodObject<{
68
- type: z.ZodEnum<typeof PHOTO_SESSION_LOOK_TYPE>;
69
- maxPhotos: z.ZodNumber;
70
- }, z.core.$strip>>;
71
- }, z.core.$strip>;
72
- export type PhotoSessionConfig = z.infer<typeof PhotoSessionConfigSchema>;
@@ -1,16 +0,0 @@
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 enums_1 = require("../enums");
8
- exports.PhotoSessionLookCategorySchema = zod_1.z.object({
9
- type: zod_1.z.nativeEnum(enums_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
- });
@@ -1,113 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_SCOPE } from '../../common';
3
- import { PHOTO_SESSION_GROUP_STATUS } from '../enums';
4
- export declare const PhotoSessionGroupSchema: z.ZodObject<{
5
- uuid: z.ZodString;
6
- title: z.ZodString;
7
- prompt: z.ZodString;
8
- status: z.ZodEnum<typeof PHOTO_SESSION_GROUP_STATUS>;
9
- error: z.ZodNullable<z.ZodString>;
10
- modelId: z.ZodString;
11
- price: z.ZodNumber;
12
- tokenReservationId: z.ZodNullable<z.ZodString>;
13
- params: z.ZodUnknown;
14
- attempts: z.ZodArray<z.ZodUnknown>;
15
- scope: z.ZodEnum<typeof JOB_SCOPE>;
16
- userId: z.ZodNullable<z.ZodString>;
17
- unregisteredUserId: z.ZodNullable<z.ZodString>;
18
- isDeleted: z.ZodBoolean;
19
- subJobs: z.ZodArray<z.ZodObject<{
20
- uuid: z.ZodString;
21
- prompt: z.ZodString;
22
- reaction: z.ZodNullable<z.ZodEnum<typeof import("../..").USER_REACTION>>;
23
- dislikeReason: z.ZodNullable<z.ZodString>;
24
- externalId: z.ZodNullable<z.ZodString>;
25
- title: z.ZodString;
26
- status: z.ZodEnum<{
27
- completed: import("../..").JOB_STATUS.COMPLETED;
28
- failed: import("../..").JOB_STATUS.FAILED;
29
- pending: import("../..").JOB_STATUS.PENDING;
30
- }>;
31
- error: z.ZodNullable<z.ZodString>;
32
- modelId: z.ZodString;
33
- groupId: z.ZodString;
34
- previewUrl: z.ZodNullable<z.ZodString>;
35
- params: z.ZodObject<{
36
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
- uuid: z.ZodString;
38
- url: z.ZodString;
39
- name: z.ZodString;
40
- mimeType: z.ZodString;
41
- type: z.ZodString;
42
- size: z.ZodNumber;
43
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
44
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
46
- }, z.core.$strip>>>;
47
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
48
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- photosCount: z.ZodOptional<z.ZodNumber>;
51
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
- uuid: z.ZodString;
53
- url: z.ZodString;
54
- name: z.ZodString;
55
- mimeType: z.ZodString;
56
- type: z.ZodString;
57
- size: z.ZodNumber;
58
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
60
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
61
- }, z.core.$strip>>>;
62
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
63
- uuid: z.ZodString;
64
- url: z.ZodString;
65
- name: z.ZodString;
66
- mimeType: z.ZodString;
67
- type: z.ZodString;
68
- size: z.ZodNumber;
69
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
70
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
72
- }, z.core.$strip>>>;
73
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
- uuid: z.ZodString;
75
- url: z.ZodString;
76
- name: z.ZodString;
77
- mimeType: z.ZodString;
78
- type: z.ZodString;
79
- size: z.ZodNumber;
80
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
81
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
82
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
83
- }, z.core.$strip>>>;
84
- aspectRatio: z.ZodOptional<z.ZodString>;
85
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
86
- }, z.core.$strip>;
87
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
88
- attempts: z.ZodArray<z.ZodObject<{
89
- order: z.ZodNumber;
90
- attemptId: z.ZodOptional<z.ZodString>;
91
- status: z.ZodEnum<{
92
- completed: import("../..").JOB_STATUS.COMPLETED;
93
- failed: import("../..").JOB_STATUS.FAILED;
94
- pending: import("../..").JOB_STATUS.PENDING;
95
- }>;
96
- error: z.ZodNullable<z.ZodString>;
97
- timestamp: z.ZodCoercedDate<unknown>;
98
- }, z.core.$strip>>;
99
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
- isPublished: z.ZodBoolean;
102
- postId: z.ZodNullable<z.ZodString>;
103
- isDeleted: z.ZodBoolean;
104
- isFavorite: z.ZodBoolean;
105
- createdAt: z.ZodCoercedDate<unknown>;
106
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
107
- updatedAt: z.ZodCoercedDate<unknown>;
108
- }, z.core.$strip>>;
109
- createdAt: z.ZodCoercedDate<unknown>;
110
- completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
111
- updatedAt: z.ZodCoercedDate<unknown>;
112
- }, z.core.$strip>;
113
- export type PhotoSessionGroup = z.infer<typeof PhotoSessionGroupSchema>;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PhotoSessionGroupSchema = void 0;
4
- const zod_1 = require("zod");
5
- const common_1 = require("../../common");
6
- const enums_1 = require("../enums");
7
- const photo_session_job_schema_1 = require("./photo-session-job.schema");
8
- exports.PhotoSessionGroupSchema = zod_1.z.object({
9
- uuid: zod_1.z.string(),
10
- title: zod_1.z.string(),
11
- prompt: zod_1.z.string(),
12
- status: zod_1.z.nativeEnum(enums_1.PHOTO_SESSION_GROUP_STATUS),
13
- error: zod_1.z.string().nullable(),
14
- modelId: zod_1.z.string(),
15
- price: zod_1.z.number(),
16
- tokenReservationId: zod_1.z.string().nullable(),
17
- params: zod_1.z.unknown(),
18
- attempts: zod_1.z.array(zod_1.z.unknown()),
19
- scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE),
20
- userId: zod_1.z.string().nullable(),
21
- unregisteredUserId: zod_1.z.string().nullable(),
22
- isDeleted: zod_1.z.boolean(),
23
- subJobs: zod_1.z.array(photo_session_job_schema_1.PhotoSessionJobSchema),
24
- createdAt: zod_1.z.coerce.date(),
25
- completedAt: zod_1.z.coerce.date().nullable(),
26
- updatedAt: zod_1.z.coerce.date(),
27
- });
@@ -1,159 +0,0 @@
1
- import { z } from 'zod';
2
- import { JOB_STATUS } from '../../tools';
3
- import { USER_REACTION } from '../../common';
4
- export declare const PhotoSessionJobParamsSchema: z.ZodObject<{
5
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
- uuid: z.ZodString;
7
- url: z.ZodString;
8
- name: z.ZodString;
9
- mimeType: z.ZodString;
10
- type: z.ZodString;
11
- size: z.ZodNumber;
12
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
15
- }, z.core.$strip>>>;
16
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
17
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- photosCount: z.ZodOptional<z.ZodNumber>;
20
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
- uuid: z.ZodString;
22
- url: z.ZodString;
23
- name: z.ZodString;
24
- mimeType: z.ZodString;
25
- type: z.ZodString;
26
- size: z.ZodNumber;
27
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
28
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
30
- }, z.core.$strip>>>;
31
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
32
- uuid: z.ZodString;
33
- url: z.ZodString;
34
- name: z.ZodString;
35
- mimeType: z.ZodString;
36
- type: z.ZodString;
37
- size: z.ZodNumber;
38
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
- }, z.core.$strip>>>;
42
- accessoriesPhotos: 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
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
52
- }, z.core.$strip>>>;
53
- aspectRatio: z.ZodOptional<z.ZodString>;
54
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
55
- }, z.core.$strip>;
56
- export type PhotoSessionJobParams = z.infer<typeof PhotoSessionJobParamsSchema>;
57
- export declare const PhotoSessionJobAttemptSchema: z.ZodObject<{
58
- order: z.ZodNumber;
59
- attemptId: z.ZodOptional<z.ZodString>;
60
- status: z.ZodEnum<{
61
- completed: JOB_STATUS.COMPLETED;
62
- failed: JOB_STATUS.FAILED;
63
- pending: JOB_STATUS.PENDING;
64
- }>;
65
- error: z.ZodNullable<z.ZodString>;
66
- timestamp: z.ZodCoercedDate<unknown>;
67
- }, z.core.$strip>;
68
- export type PhotoSessionJobAttempt = z.infer<typeof PhotoSessionJobAttemptSchema>;
69
- export declare const PhotoSessionJobSchema: z.ZodObject<{
70
- uuid: z.ZodString;
71
- prompt: z.ZodString;
72
- reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
73
- dislikeReason: z.ZodNullable<z.ZodString>;
74
- externalId: z.ZodNullable<z.ZodString>;
75
- title: z.ZodString;
76
- status: z.ZodEnum<{
77
- completed: JOB_STATUS.COMPLETED;
78
- failed: JOB_STATUS.FAILED;
79
- pending: JOB_STATUS.PENDING;
80
- }>;
81
- error: z.ZodNullable<z.ZodString>;
82
- modelId: z.ZodString;
83
- groupId: z.ZodString;
84
- previewUrl: z.ZodNullable<z.ZodString>;
85
- params: z.ZodObject<{
86
- attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
87
- uuid: z.ZodString;
88
- url: z.ZodString;
89
- name: z.ZodString;
90
- mimeType: z.ZodString;
91
- type: z.ZodString;
92
- size: z.ZodNumber;
93
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
94
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
95
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
96
- }, z.core.$strip>>>;
97
- styleReferenceImageUrl: z.ZodOptional<z.ZodString>;
98
- styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
- referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
- photosCount: z.ZodOptional<z.ZodNumber>;
101
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
102
- uuid: z.ZodString;
103
- url: z.ZodString;
104
- name: z.ZodString;
105
- mimeType: z.ZodString;
106
- type: z.ZodString;
107
- size: z.ZodNumber;
108
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
109
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
110
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
111
- }, z.core.$strip>>>;
112
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
113
- uuid: z.ZodString;
114
- url: z.ZodString;
115
- name: z.ZodString;
116
- mimeType: z.ZodString;
117
- type: z.ZodString;
118
- size: z.ZodNumber;
119
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
120
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
121
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
122
- }, z.core.$strip>>>;
123
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
124
- uuid: z.ZodString;
125
- url: z.ZodString;
126
- name: z.ZodString;
127
- mimeType: z.ZodString;
128
- type: z.ZodString;
129
- size: z.ZodNumber;
130
- duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
131
- content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
- contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
133
- }, z.core.$strip>>>;
134
- aspectRatio: z.ZodOptional<z.ZodString>;
135
- userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
136
- }, z.core.$strip>;
137
- imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
138
- attempts: z.ZodArray<z.ZodObject<{
139
- order: z.ZodNumber;
140
- attemptId: z.ZodOptional<z.ZodString>;
141
- status: z.ZodEnum<{
142
- completed: JOB_STATUS.COMPLETED;
143
- failed: JOB_STATUS.FAILED;
144
- pending: JOB_STATUS.PENDING;
145
- }>;
146
- error: z.ZodNullable<z.ZodString>;
147
- timestamp: z.ZodCoercedDate<unknown>;
148
- }, z.core.$strip>>;
149
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
- isPublished: z.ZodBoolean;
152
- postId: z.ZodNullable<z.ZodString>;
153
- isDeleted: z.ZodBoolean;
154
- isFavorite: z.ZodBoolean;
155
- createdAt: z.ZodCoercedDate<unknown>;
156
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
157
- updatedAt: z.ZodCoercedDate<unknown>;
158
- }, z.core.$strip>;
159
- export type PhotoSessionJob = z.infer<typeof PhotoSessionJobSchema>;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PhotoSessionJobSchema = exports.PhotoSessionJobAttemptSchema = exports.PhotoSessionJobParamsSchema = void 0;
4
- const zod_1 = require("zod");
5
- const tools_1 = require("../../tools");
6
- const common_1 = require("../../common");
7
- const PhotoSessionJobStatusSchema = zod_1.z.enum([
8
- tools_1.JOB_STATUS.PENDING,
9
- tools_1.JOB_STATUS.COMPLETED,
10
- tools_1.JOB_STATUS.FAILED,
11
- ]);
12
- exports.PhotoSessionJobParamsSchema = zod_1.z.object({
13
- attachedFiles: zod_1.z.array(common_1.AttachedFileSchema).max(3).optional(),
14
- styleReferenceImageUrl: zod_1.z.string().optional(),
15
- styleId: zod_1.z.string().uuid().nullable().optional(),
16
- referenceId: zod_1.z.string().uuid().nullable().optional(),
17
- photosCount: zod_1.z.number().int().min(1).max(6).optional(),
18
- clothingPhotos: zod_1.z.array(common_1.AttachedFileSchema).max(2).optional(),
19
- hairstylePhotos: zod_1.z.array(common_1.AttachedFileSchema).max(2).optional(),
20
- accessoriesPhotos: zod_1.z.array(common_1.AttachedFileSchema).max(2).optional(),
21
- aspectRatio: zod_1.z.string().optional(),
22
- userHasActiveSubscriptionOrProduct: zod_1.z.boolean().optional(),
23
- });
24
- exports.PhotoSessionJobAttemptSchema = zod_1.z.object({
25
- order: zod_1.z.number(),
26
- attemptId: zod_1.z.string().optional(),
27
- status: PhotoSessionJobStatusSchema,
28
- error: zod_1.z.string().nullable(),
29
- timestamp: zod_1.z.coerce.date(),
30
- });
31
- exports.PhotoSessionJobSchema = zod_1.z.object({
32
- uuid: zod_1.z.string(),
33
- prompt: zod_1.z.string(),
34
- reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
35
- dislikeReason: zod_1.z.string().nullable(),
36
- externalId: zod_1.z.string().nullable(),
37
- title: zod_1.z.string(),
38
- status: PhotoSessionJobStatusSchema,
39
- error: zod_1.z.string().nullable(),
40
- modelId: zod_1.z.string(),
41
- groupId: zod_1.z.string(),
42
- previewUrl: zod_1.z.string().nullable(),
43
- params: exports.PhotoSessionJobParamsSchema,
44
- imageUrls: zod_1.z.array(zod_1.z.string()).nullable(),
45
- attempts: zod_1.z.array(exports.PhotoSessionJobAttemptSchema),
46
- userId: zod_1.z.string().nullable().optional(),
47
- unregisteredUserId: zod_1.z.string().nullable().optional(),
48
- isPublished: zod_1.z.boolean(),
49
- postId: zod_1.z.string().nullable(),
50
- isDeleted: zod_1.z.boolean(),
51
- isFavorite: zod_1.z.boolean(),
52
- createdAt: zod_1.z.coerce.date(),
53
- completedAt: zod_1.z.coerce.date().nullable().optional(),
54
- updatedAt: zod_1.z.coerce.date(),
55
- });
@@ -1,69 +0,0 @@
1
- import { z } from 'zod';
2
- import { TOOL_MODEL_STATUS } from '../../common';
3
- import { PHOTO_SESSION_STRATEGY } from '../enums';
4
- export declare const PhotoSessionModelParamsSchema: z.ZodObject<{
5
- imageAttachment: z.ZodObject<{
6
- supported: z.ZodBoolean;
7
- maxImages: z.ZodNumber;
8
- acceptedTypes: z.ZodArray<z.ZodString>;
9
- }, z.core.$strip>;
10
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
11
- width: z.ZodNumber;
12
- height: z.ZodNumber;
13
- }, z.core.$strip>>;
14
- }, z.core.$strip>;
15
- export type PhotoSessionModelParams = z.infer<typeof PhotoSessionModelParamsSchema>;
16
- export declare const PhotoSessionModelPricingRuleConditionSchema: z.ZodObject<{
17
- withoutSub: z.ZodOptional<z.ZodBoolean>;
18
- }, z.core.$strip>;
19
- export type PhotoSessionModelPricingRuleCondition = z.infer<typeof PhotoSessionModelPricingRuleConditionSchema>;
20
- export declare const PhotoSessionModelPricingRulesSchema: z.ZodArray<z.ZodObject<{
21
- condition: z.ZodObject<{
22
- withoutSub: z.ZodOptional<z.ZodBoolean>;
23
- }, z.core.$strip>;
24
- value: z.ZodNumber;
25
- }, z.core.$strip>>;
26
- export type PhotoSessionModelPricingRules = z.infer<typeof PhotoSessionModelPricingRulesSchema>;
27
- export declare const PhotoSessionModelSchema: z.ZodObject<{
28
- uuid: z.ZodString;
29
- title: z.ZodString;
30
- description: z.ZodString;
31
- aiModel: z.ZodString;
32
- isNew: z.ZodBoolean;
33
- tierLabel: z.ZodString;
34
- pricePerImage: z.ZodNumber;
35
- order: z.ZodNumber;
36
- status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
37
- icons: z.ZodObject<{
38
- light: z.ZodObject<{
39
- svg: z.ZodString;
40
- png: z.ZodString;
41
- }, z.core.$strip>;
42
- dark: z.ZodObject<{
43
- svg: z.ZodString;
44
- png: z.ZodString;
45
- }, z.core.$strip>;
46
- }, z.core.$strip>;
47
- strategy: z.ZodEnum<typeof PHOTO_SESSION_STRATEGY>;
48
- maxInputLength: z.ZodNumber;
49
- params: z.ZodObject<{
50
- imageAttachment: z.ZodObject<{
51
- supported: z.ZodBoolean;
52
- maxImages: z.ZodNumber;
53
- acceptedTypes: z.ZodArray<z.ZodString>;
54
- }, z.core.$strip>;
55
- aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
56
- width: z.ZodNumber;
57
- height: z.ZodNumber;
58
- }, z.core.$strip>>;
59
- }, z.core.$strip>;
60
- pricingRules: z.ZodArray<z.ZodObject<{
61
- condition: z.ZodObject<{
62
- withoutSub: z.ZodOptional<z.ZodBoolean>;
63
- }, z.core.$strip>;
64
- value: z.ZodNumber;
65
- }, z.core.$strip>>;
66
- createdAt: z.ZodCoercedDate<unknown>;
67
- updatedAt: z.ZodCoercedDate<unknown>;
68
- }, z.core.$strip>;
69
- export type PhotoSessionModel = z.infer<typeof PhotoSessionModelSchema>;