@purpleschool/multisite 0.0.26 → 0.0.28

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 (192) hide show
  1. package/build/api/controller/http/ai-proxy.d.ts +3 -3
  2. package/build/api/controller/http/ai-proxy.d.ts.map +1 -1
  3. package/build/api/controller/http/auth.d.ts +12 -12
  4. package/build/api/controller/http/auth.d.ts.map +1 -1
  5. package/build/api/controller/http/cloud-payments.d.ts +2 -2
  6. package/build/api/controller/http/cloud-payments.d.ts.map +1 -1
  7. package/build/api/controller/http/file.d.ts +5 -5
  8. package/build/api/controller/http/file.d.ts.map +1 -1
  9. package/build/api/controller/http/health.d.ts +1 -1
  10. package/build/api/controller/http/health.d.ts.map +1 -1
  11. package/build/api/controller/http/image-editor.d.ts +6 -6
  12. package/build/api/controller/http/image-editor.d.ts.map +1 -1
  13. package/build/api/controller/http/image-generation.d.ts +6 -6
  14. package/build/api/controller/http/image-generation.d.ts.map +1 -1
  15. package/build/api/controller/http/marketplace-card.d.ts +7 -7
  16. package/build/api/controller/http/marketplace-card.d.ts.map +1 -1
  17. package/build/api/controller/http/page-question.d.ts +3 -3
  18. package/build/api/controller/http/page-question.d.ts.map +1 -1
  19. package/build/api/controller/http/page.d.ts +4 -4
  20. package/build/api/controller/http/page.d.ts.map +1 -1
  21. package/build/api/controller/http/payment.d.ts +3 -3
  22. package/build/api/controller/http/payment.d.ts.map +1 -1
  23. package/build/api/controller/http/product.d.ts +6 -6
  24. package/build/api/controller/http/product.d.ts.map +1 -1
  25. package/build/api/controller/http/sitemap.d.ts +2 -2
  26. package/build/api/controller/http/sitemap.d.ts.map +1 -1
  27. package/build/api/controller/http/stt.d.ts +6 -6
  28. package/build/api/controller/http/stt.d.ts.map +1 -1
  29. package/build/api/controller/http/subscription.d.ts +7 -7
  30. package/build/api/controller/http/subscription.d.ts.map +1 -1
  31. package/build/api/controller/http/transaction.d.ts +2 -2
  32. package/build/api/controller/http/transaction.d.ts.map +1 -1
  33. package/build/api/controller/http/tts.d.ts +6 -6
  34. package/build/api/controller/http/tts.d.ts.map +1 -1
  35. package/build/api/controller/http/unregistered-user.d.ts +2 -2
  36. package/build/api/controller/http/unregistered-user.d.ts.map +1 -1
  37. package/build/api/controller/http/user-to-product.d.ts +1 -1
  38. package/build/api/controller/http/user-to-product.d.ts.map +1 -1
  39. package/build/api/controller/http/user-to-subscription.d.ts +1 -1
  40. package/build/api/controller/http/user-to-subscription.d.ts.map +1 -1
  41. package/build/api/controller/http/user.d.ts +5 -5
  42. package/build/api/controller/http/user.d.ts.map +1 -1
  43. package/build/api/routes.d.ts +1 -1
  44. package/build/api/routes.d.ts.map +1 -1
  45. package/build/commands/auth/register.command.d.ts +1 -1
  46. package/build/commands/auth/reset-password.command.d.ts +2 -2
  47. package/build/commands/auth/verify-email.command.d.ts +2 -2
  48. package/build/commands/auth/vk-login.command.d.ts +2 -2
  49. package/build/commands/auth/yandex-login.command.d.ts +2 -2
  50. package/build/commands/file/upload-file.command.d.ts +8 -8
  51. package/build/commands/image-editor/execute-image-editor.command.d.ts +88 -88
  52. package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +2 -2
  53. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +89 -89
  54. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +78 -78
  55. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +78 -78
  56. package/build/commands/image-generation/execute-image-generation.command.d.ts +71 -71
  57. package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +4 -4
  58. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +72 -72
  59. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +65 -65
  60. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +65 -65
  61. package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +20 -20
  62. package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +16 -16
  63. package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +16 -16
  64. package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +16 -16
  65. package/build/commands/page/create-page-question.command.d.ts +9 -9
  66. package/build/commands/page/create-page.command.d.ts +15 -15
  67. package/build/commands/page/find-page-by-alias.command.d.ts +72 -72
  68. package/build/commands/page/find-page-by-criteria.command.d.ts +28 -28
  69. package/build/commands/page/find-page.command.d.ts +48 -48
  70. package/build/commands/page/update-page-question.command.d.ts +9 -9
  71. package/build/commands/page/update-page.command.d.ts +15 -15
  72. package/build/commands/payment/cloud-payments.command.d.ts +18 -18
  73. package/build/commands/product/buy-product.command.d.ts +80 -80
  74. package/build/commands/product/fast-buy-product.command.d.ts +81 -81
  75. package/build/commands/product/update-product.command.d.ts +6 -6
  76. package/build/commands/stt/execute-stt.command.d.ts +81 -81
  77. package/build/commands/stt/retry-stt-job.command.d.ts +79 -79
  78. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +79 -79
  79. package/build/commands/stt/update-stt-job-title.command.d.ts +79 -79
  80. package/build/commands/subscription/buy-subscription.command.d.ts +80 -80
  81. package/build/commands/subscription/fast-buy-subscription.command.d.ts +81 -81
  82. package/build/commands/subscription/update-subscription.command.d.ts +24 -24
  83. package/build/commands/transaction/write-off.command.d.ts +5 -5
  84. package/build/commands/tts/execute-tts.command.d.ts +99 -99
  85. package/build/commands/tts/retry-tts-job.command.d.ts +92 -92
  86. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +92 -92
  87. package/build/commands/tts/update-tts-job-title.command.d.ts +92 -92
  88. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  89. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +4 -4
  90. package/build/commands/user-to-product/update-user-to-product.command.d.ts +7 -7
  91. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +28 -28
  92. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +36 -36
  93. package/build/constants/email/email-endpoint.d.ts +1 -1
  94. package/build/constants/email/email-endpoint.d.ts.map +1 -1
  95. package/build/constants/email/email-endpoint.js +1 -1
  96. package/build/constants/email/subjects.d.ts +10 -10
  97. package/build/constants/email/subjects.d.ts.map +1 -1
  98. package/build/constants/errors/errors.d.ts +338 -328
  99. package/build/constants/errors/errors.d.ts.map +1 -1
  100. package/build/constants/errors/errors.js +10 -0
  101. package/build/constants/subscription/free-subscription-id.constant.d.ts +1 -1
  102. package/build/models/cloud-payments-widget-data.schema.d.ts +58 -58
  103. package/build/models/cloud-payments-widget.schema.d.ts +62 -62
  104. package/build/models/common/attached-file.schema.d.ts +4 -4
  105. package/build/models/common/receipt.schema.d.ts +8 -8
  106. package/build/models/file.schema.d.ts +4 -4
  107. package/build/models/image-editor/image-editor-config.schema.d.ts +128 -128
  108. package/build/models/image-editor/image-editor-job-params.schema.d.ts +10 -10
  109. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +4 -4
  110. package/build/models/image-editor/image-editor-job-request-params.schema.js +1 -1
  111. package/build/models/image-editor/image-editor-job.schema.d.ts +44 -44
  112. package/build/models/image-editor/image-editor-model-params.schema.d.ts +5 -5
  113. package/build/models/image-editor/image-editor-model.schema.d.ts +44 -44
  114. package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +2 -2
  115. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +26 -26
  116. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +12 -12
  117. package/build/models/image-generation/image-generation-config.schema.d.ts +122 -122
  118. package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +2 -2
  119. package/build/models/image-generation/image-generation-job-params.schema.d.ts +9 -9
  120. package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +1 -1
  121. package/build/models/image-generation/image-generation-job.schema.d.ts +38 -38
  122. package/build/models/image-generation/image-generation-model-params.schema.d.ts +4 -4
  123. package/build/models/image-generation/image-generation-model.schema.d.ts +42 -42
  124. package/build/models/image-generation/image-generation-preset.schema.d.ts +2 -2
  125. package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +4 -4
  126. package/build/models/image-generation/image-generation-vendor.schema.d.ts +80 -80
  127. package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +18 -18
  128. package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +4 -4
  129. package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +8 -8
  130. package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +4 -4
  131. package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +2 -2
  132. package/build/models/page-question.schema.d.ts +4 -4
  133. package/build/models/page.schema.d.ts +20 -20
  134. package/build/models/product.schema.d.ts +2 -2
  135. package/build/models/stt/stt-config.schema.d.ts +28 -28
  136. package/build/models/stt/stt-job-attempt.schema.d.ts +4 -4
  137. package/build/models/stt/stt-job.schema.d.ts +42 -42
  138. package/build/models/stt/stt-model.schema.d.ts +14 -14
  139. package/build/models/stt/stt-response.schema.d.ts +1 -1
  140. package/build/models/subscription.schema.d.ts +8 -8
  141. package/build/models/tools/vendor.schema.d.ts +2 -2
  142. package/build/models/tts/tts-config.schema.d.ts +184 -184
  143. package/build/models/tts/tts-job-attempt.schema.d.ts +4 -4
  144. package/build/models/tts/tts-job-params.schema.d.ts +2 -2
  145. package/build/models/tts/tts-job.schema.d.ts +50 -50
  146. package/build/models/tts/tts-model.schema.d.ts +196 -196
  147. package/build/models/unlocked-by-subscription.schema.d.ts.map +1 -1
  148. package/build/models/user-to-product.schema.d.ts +2 -2
  149. package/build/models/user-to-subscription.schema.d.ts +14 -14
  150. package/build/models/user.schema.d.ts +4 -4
  151. package/build/queries/file/find-files.command.d.ts +8 -8
  152. package/build/queries/file/get-file.command.d.ts +8 -8
  153. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +79 -79
  154. package/build/queries/image-editor/get-image-editor-config.command.d.ts +186 -186
  155. package/build/queries/image-editor/get-image-editor-job.command.d.ts +78 -78
  156. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +66 -66
  157. package/build/queries/image-generation/get-image-generation-config.command.d.ts +162 -162
  158. package/build/queries/image-generation/get-image-generation-job.command.d.ts +65 -65
  159. package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +17 -17
  160. package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +30 -30
  161. package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +16 -16
  162. package/build/queries/page/find-all-page-questions.query.d.ts +8 -8
  163. package/build/queries/page/find-page-question-by-uuid.query.d.ts +8 -8
  164. package/build/queries/page/find-page-questions-by-page-id.query.d.ts +8 -8
  165. package/build/queries/payment/get-payment-history.command.d.ts +12 -12
  166. package/build/queries/product/find-products.command.d.ts +4 -4
  167. package/build/queries/stt/find-stt-jobs.command.d.ts +79 -79
  168. package/build/queries/stt/get-stt-config.command.d.ts +42 -42
  169. package/build/queries/stt/get-stt-job.command.d.ts +79 -79
  170. package/build/queries/subscription/find-subscriptions.command.d.ts +16 -16
  171. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +51 -51
  172. package/build/queries/tts/find-tts-jobs.command.d.ts +94 -94
  173. package/build/queries/tts/get-tts-config.command.d.ts +242 -242
  174. package/build/queries/tts/get-tts-job.command.d.ts +92 -92
  175. package/build/queries/unregistered-user/get-unregistered-user-balance.command.d.ts +5 -0
  176. package/build/queries/unregistered-user/get-unregistered-user-balance.command.d.ts.map +1 -1
  177. package/build/queries/unregistered-user/get-unregistered-user-balance.command.js +1 -0
  178. package/build/queries/user/find-users.command.d.ts +16 -16
  179. package/build/queries/user/get-all-users.command.d.ts +8 -8
  180. package/build/queries/user/get-my-products.command.d.ts +10 -10
  181. package/build/queries/user/get-my-subscriptions.command.d.ts +36 -36
  182. package/build/queries/user/get-user-balance.command.d.ts +5 -0
  183. package/build/queries/user/get-user-balance.command.d.ts.map +1 -1
  184. package/build/queries/user/get-user-balance.command.js +1 -0
  185. package/build/queries/user/get-user-payments.command.d.ts +42 -42
  186. package/build/queries/user/get-user.command.d.ts +8 -8
  187. package/constants/email/email-endpoint.ts +1 -1
  188. package/constants/errors/errors.ts +10 -0
  189. package/models/image-editor/image-editor-job-request-params.schema.ts +1 -1
  190. package/package.json +1 -1
  191. package/queries/unregistered-user/get-unregistered-user-balance.command.ts +1 -0
  192. package/queries/user/get-user-balance.command.ts +1 -0
@@ -75,17 +75,17 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
75
75
  }>;
76
76
  value: z.ZodNumber;
77
77
  }, "strip", z.ZodTypeAny, {
78
- value: number;
79
78
  condition: {
80
79
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
81
80
  withoutSub?: boolean | undefined;
82
81
  };
83
- }, {
84
82
  value: number;
83
+ }, {
85
84
  condition: {
86
85
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
87
86
  withoutSub?: boolean | undefined;
88
87
  };
88
+ value: number;
89
89
  }>, "many">;
90
90
  params: z.ZodObject<{
91
91
  aspectRatio: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -107,19 +107,19 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
107
107
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
108
108
  }>>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- aspectRatio: Record<string, {
110
+ aspectRatio: Record<string, "auto" | {
111
111
  width: number;
112
112
  height: number;
113
- } | "auto">;
113
+ }>;
114
114
  quality?: string | Record<string, string> | undefined;
115
115
  resolution?: {
116
116
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
117
117
  } | undefined;
118
118
  }, {
119
- aspectRatio: Record<string, {
119
+ aspectRatio: Record<string, "auto" | {
120
120
  width: number;
121
121
  height: number;
122
- } | "auto">;
122
+ }>;
123
123
  quality?: string | Record<string, string> | undefined;
124
124
  resolution?: {
125
125
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
@@ -176,35 +176,36 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
176
176
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
177
177
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
178
178
  }, "strip", z.ZodTypeAny, {
179
- price: number;
180
179
  uuid: string;
181
- status: import("../..").TOOL_MODEL_STATUS;
182
- params: {
183
- aspectRatio: Record<string, {
184
- width: number;
185
- height: number;
186
- } | "auto">;
187
- quality?: string | Record<string, string> | undefined;
188
- resolution?: {
189
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
190
- } | undefined;
191
- };
180
+ title: string;
181
+ model: string;
182
+ description: string;
183
+ price: number;
184
+ canUse: boolean;
192
185
  unlockedBy: {
193
186
  uuid: string;
194
187
  name: string;
195
188
  } | null;
196
- canUse: boolean;
197
- description: string;
198
- title: string;
199
- model: string;
200
189
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
201
190
  pricingRules: {
202
- value: number;
203
191
  condition: {
204
192
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
205
193
  withoutSub?: boolean | undefined;
206
194
  };
195
+ value: number;
207
196
  }[];
197
+ params: {
198
+ aspectRatio: Record<string, "auto" | {
199
+ width: number;
200
+ height: number;
201
+ }>;
202
+ quality?: string | Record<string, string> | undefined;
203
+ resolution?: {
204
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
205
+ } | undefined;
206
+ };
207
+ status: import("../..").TOOL_MODEL_STATUS;
208
+ statusCheckEndpoint?: string | null | undefined;
208
209
  maxPromptLength: number;
209
210
  iconVariants: {
210
211
  light: {
@@ -223,37 +224,37 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
223
224
  vendorId: string;
224
225
  createdAt?: string | Date | undefined;
225
226
  updatedAt?: string | Date | undefined;
226
- statusCheckEndpoint?: string | null | undefined;
227
227
  }, {
228
- price: number;
229
228
  uuid: string;
230
- status: import("../..").TOOL_MODEL_STATUS;
231
- params: {
232
- aspectRatio: Record<string, {
233
- width: number;
234
- height: number;
235
- } | "auto">;
236
- quality?: string | Record<string, string> | undefined;
237
- resolution?: {
238
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
239
- } | undefined;
240
- };
229
+ title: string;
230
+ model: string;
231
+ description: string;
232
+ price: number;
233
+ canUse: boolean;
241
234
  unlockedBy: {
242
235
  uuid: string;
243
236
  name: string;
244
237
  } | null;
245
- canUse: boolean;
246
- description: string;
247
- title: string;
248
- model: string;
249
238
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
250
239
  pricingRules: {
251
- value: number;
252
240
  condition: {
253
241
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
254
242
  withoutSub?: boolean | undefined;
255
243
  };
244
+ value: number;
256
245
  }[];
246
+ params: {
247
+ aspectRatio: Record<string, "auto" | {
248
+ width: number;
249
+ height: number;
250
+ }>;
251
+ quality?: string | Record<string, string> | undefined;
252
+ resolution?: {
253
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
254
+ } | undefined;
255
+ };
256
+ status: import("../..").TOOL_MODEL_STATUS;
257
+ statusCheckEndpoint?: string | null | undefined;
257
258
  maxPromptLength: number;
258
259
  iconVariants: {
259
260
  light: {
@@ -272,11 +273,11 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
272
273
  vendorId: string;
273
274
  createdAt?: string | Date | undefined;
274
275
  updatedAt?: string | Date | undefined;
275
- statusCheckEndpoint?: string | null | undefined;
276
276
  }>, "many">;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  uuid: string;
279
279
  title: string;
280
+ order: number;
280
281
  iconVariants: {
281
282
  light: {
282
283
  png?: string | undefined;
@@ -287,37 +288,37 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
287
288
  svg?: string | undefined;
288
289
  };
289
290
  };
290
- order: number;
291
291
  models: {
292
- price: number;
293
292
  uuid: string;
294
- status: import("../..").TOOL_MODEL_STATUS;
295
- params: {
296
- aspectRatio: Record<string, {
297
- width: number;
298
- height: number;
299
- } | "auto">;
300
- quality?: string | Record<string, string> | undefined;
301
- resolution?: {
302
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
303
- } | undefined;
304
- };
293
+ title: string;
294
+ model: string;
295
+ description: string;
296
+ price: number;
297
+ canUse: boolean;
305
298
  unlockedBy: {
306
299
  uuid: string;
307
300
  name: string;
308
301
  } | null;
309
- canUse: boolean;
310
- description: string;
311
- title: string;
312
- model: string;
313
302
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
314
303
  pricingRules: {
315
- value: number;
316
304
  condition: {
317
305
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
318
306
  withoutSub?: boolean | undefined;
319
307
  };
308
+ value: number;
320
309
  }[];
310
+ params: {
311
+ aspectRatio: Record<string, "auto" | {
312
+ width: number;
313
+ height: number;
314
+ }>;
315
+ quality?: string | Record<string, string> | undefined;
316
+ resolution?: {
317
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
318
+ } | undefined;
319
+ };
320
+ status: import("../..").TOOL_MODEL_STATUS;
321
+ statusCheckEndpoint?: string | null | undefined;
321
322
  maxPromptLength: number;
322
323
  iconVariants: {
323
324
  light: {
@@ -336,11 +337,11 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
336
337
  vendorId: string;
337
338
  createdAt?: string | Date | undefined;
338
339
  updatedAt?: string | Date | undefined;
339
- statusCheckEndpoint?: string | null | undefined;
340
340
  }[];
341
341
  }, {
342
342
  uuid: string;
343
343
  title: string;
344
+ order: number;
344
345
  iconVariants: {
345
346
  light: {
346
347
  png?: string | undefined;
@@ -351,37 +352,37 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
351
352
  svg?: string | undefined;
352
353
  };
353
354
  };
354
- order: number;
355
355
  models: {
356
- price: number;
357
356
  uuid: string;
358
- status: import("../..").TOOL_MODEL_STATUS;
359
- params: {
360
- aspectRatio: Record<string, {
361
- width: number;
362
- height: number;
363
- } | "auto">;
364
- quality?: string | Record<string, string> | undefined;
365
- resolution?: {
366
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
367
- } | undefined;
368
- };
357
+ title: string;
358
+ model: string;
359
+ description: string;
360
+ price: number;
361
+ canUse: boolean;
369
362
  unlockedBy: {
370
363
  uuid: string;
371
364
  name: string;
372
365
  } | null;
373
- canUse: boolean;
374
- description: string;
375
- title: string;
376
- model: string;
377
366
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
378
367
  pricingRules: {
379
- value: number;
380
368
  condition: {
381
369
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
382
370
  withoutSub?: boolean | undefined;
383
371
  };
372
+ value: number;
384
373
  }[];
374
+ params: {
375
+ aspectRatio: Record<string, "auto" | {
376
+ width: number;
377
+ height: number;
378
+ }>;
379
+ quality?: string | Record<string, string> | undefined;
380
+ resolution?: {
381
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
382
+ } | undefined;
383
+ };
384
+ status: import("../..").TOOL_MODEL_STATUS;
385
+ statusCheckEndpoint?: string | null | undefined;
385
386
  maxPromptLength: number;
386
387
  iconVariants: {
387
388
  light: {
@@ -400,7 +401,6 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
400
401
  vendorId: string;
401
402
  createdAt?: string | Date | undefined;
402
403
  updatedAt?: string | Date | undefined;
403
- statusCheckEndpoint?: string | null | undefined;
404
404
  }[];
405
405
  }>;
406
406
  export type ImageGenerationVendor = z.infer<typeof ImageGenerationVendorSchema>;
@@ -7,13 +7,13 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
7
7
  isActive: z.ZodBoolean;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  uuid: string;
10
- order: number;
11
10
  previewImageUrl: string;
11
+ order: number;
12
12
  isActive: boolean;
13
13
  }, {
14
14
  uuid: string;
15
- order: number;
16
15
  previewImageUrl: string;
16
+ order: number;
17
17
  isActive: boolean;
18
18
  }>, "many">;
19
19
  models: z.ZodArray<z.ZodObject<{
@@ -90,8 +90,8 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
90
90
  supportsImageAttachment: z.ZodBoolean;
91
91
  maxAttachedImages: z.ZodNumber;
92
92
  }, "strip", z.ZodTypeAny, {
93
- price: number;
94
93
  uuid: string;
94
+ price: number;
95
95
  params: {
96
96
  imageAttachment: {
97
97
  supported: boolean;
@@ -99,7 +99,6 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
99
99
  acceptedTypes: string[];
100
100
  };
101
101
  };
102
- maxPromptLength: number;
103
102
  iconVariants: {
104
103
  light: {
105
104
  png?: string | undefined;
@@ -110,11 +109,12 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
110
109
  svg?: string | undefined;
111
110
  };
112
111
  };
112
+ maxPromptLength: number;
113
113
  supportsImageAttachment: boolean;
114
114
  maxAttachedImages: number;
115
115
  }, {
116
- price: number;
117
116
  uuid: string;
117
+ price: number;
118
118
  params: {
119
119
  imageAttachment: {
120
120
  supported: boolean;
@@ -122,7 +122,6 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
122
122
  acceptedTypes: string[];
123
123
  };
124
124
  };
125
- maxPromptLength: number;
126
125
  iconVariants: {
127
126
  light: {
128
127
  png?: string | undefined;
@@ -133,13 +132,20 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
133
132
  svg?: string | undefined;
134
133
  };
135
134
  };
135
+ maxPromptLength: number;
136
136
  supportsImageAttachment: boolean;
137
137
  maxAttachedImages: number;
138
138
  }>, "many">;
139
139
  }, "strip", z.ZodTypeAny, {
140
+ styles: {
141
+ uuid: string;
142
+ previewImageUrl: string;
143
+ order: number;
144
+ isActive: boolean;
145
+ }[];
140
146
  models: {
141
- price: number;
142
147
  uuid: string;
148
+ price: number;
143
149
  params: {
144
150
  imageAttachment: {
145
151
  supported: boolean;
@@ -147,7 +153,6 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
147
153
  acceptedTypes: string[];
148
154
  };
149
155
  };
150
- maxPromptLength: number;
151
156
  iconVariants: {
152
157
  light: {
153
158
  png?: string | undefined;
@@ -158,19 +163,20 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
158
163
  svg?: string | undefined;
159
164
  };
160
165
  };
166
+ maxPromptLength: number;
161
167
  supportsImageAttachment: boolean;
162
168
  maxAttachedImages: number;
163
169
  }[];
170
+ }, {
164
171
  styles: {
165
172
  uuid: string;
166
- order: number;
167
173
  previewImageUrl: string;
174
+ order: number;
168
175
  isActive: boolean;
169
176
  }[];
170
- }, {
171
177
  models: {
172
- price: number;
173
178
  uuid: string;
179
+ price: number;
174
180
  params: {
175
181
  imageAttachment: {
176
182
  supported: boolean;
@@ -178,7 +184,6 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
178
184
  acceptedTypes: string[];
179
185
  };
180
186
  };
181
- maxPromptLength: number;
182
187
  iconVariants: {
183
188
  light: {
184
189
  png?: string | undefined;
@@ -189,15 +194,10 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
189
194
  svg?: string | undefined;
190
195
  };
191
196
  };
197
+ maxPromptLength: number;
192
198
  supportsImageAttachment: boolean;
193
199
  maxAttachedImages: number;
194
200
  }[];
195
- styles: {
196
- uuid: string;
197
- order: number;
198
- previewImageUrl: string;
199
- isActive: boolean;
200
- }[];
201
201
  }>;
202
202
  export type MarketplaceCardConfig = z.infer<typeof MarketplaceCardConfigSchema>;
203
203
  //# sourceMappingURL=marketplace-card-config.schema.d.ts.map
@@ -11,21 +11,21 @@ export declare const MarketplaceCardJobRequestParamsSchema: z.ZodObject<{
11
11
  backgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  title: string;
14
+ subtitle?: string | null | undefined;
14
15
  advantages: string[];
15
16
  tags: string[];
16
- isCustom: boolean;
17
- inputImages: string[];
18
- subtitle?: string | null | undefined;
19
17
  stylePresetId?: string | null | undefined;
18
+ isCustom: boolean;
20
19
  customStylePrompt?: string | null | undefined;
20
+ inputImages: string[];
21
21
  backgroundDescription?: string | null | undefined;
22
22
  }, {
23
23
  title: string;
24
- isCustom: boolean;
25
24
  subtitle?: string | null | undefined;
26
25
  advantages?: string[] | undefined;
27
26
  tags?: string[] | undefined;
28
27
  stylePresetId?: string | null | undefined;
28
+ isCustom: boolean;
29
29
  customStylePrompt?: string | null | undefined;
30
30
  inputImages?: string[] | undefined;
31
31
  backgroundDescription?: string | null | undefined;
@@ -28,13 +28,12 @@ export declare const MarketplaceCardJobSchema: z.ZodObject<{
28
28
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
29
29
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- price: number;
32
31
  uuid: string;
33
32
  status: JOB_STATUS;
34
- title: string;
35
33
  error: string | null;
36
- reaction: USER_REACTION | null;
34
+ title: string;
37
35
  subtitle: string | null;
36
+ reaction: USER_REACTION | null;
38
37
  advantages: string[];
39
38
  tags: string[];
40
39
  stylePresetId: string | null;
@@ -44,18 +43,18 @@ export declare const MarketplaceCardJobSchema: z.ZodObject<{
44
43
  uuid: string;
45
44
  url: string;
46
45
  }[];
47
- backgroundDescription: string | null;
48
46
  resultImages: string[] | null;
47
+ backgroundDescription: string | null;
48
+ price: number;
49
49
  createdAt?: string | Date | undefined;
50
50
  updatedAt?: string | Date | undefined;
51
51
  }, {
52
- price: number;
53
52
  uuid: string;
54
53
  status: JOB_STATUS;
55
- title: string;
56
54
  error: string | null;
57
- reaction: USER_REACTION | null;
55
+ title: string;
58
56
  subtitle: string | null;
57
+ reaction: USER_REACTION | null;
59
58
  advantages: string[];
60
59
  tags: string[];
61
60
  stylePresetId: string | null;
@@ -65,8 +64,9 @@ export declare const MarketplaceCardJobSchema: z.ZodObject<{
65
64
  uuid: string;
66
65
  url: string;
67
66
  }[];
68
- backgroundDescription: string | null;
69
67
  resultImages: string[] | null;
68
+ backgroundDescription: string | null;
69
+ price: number;
70
70
  createdAt?: string | Date | undefined;
71
71
  updatedAt?: string | Date | undefined;
72
72
  }>;
@@ -73,8 +73,8 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
73
73
  supportsImageAttachment: z.ZodBoolean;
74
74
  maxAttachedImages: z.ZodNumber;
75
75
  }, "strip", z.ZodTypeAny, {
76
- price: number;
77
76
  uuid: string;
77
+ price: number;
78
78
  params: {
79
79
  imageAttachment: {
80
80
  supported: boolean;
@@ -82,7 +82,6 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
82
82
  acceptedTypes: string[];
83
83
  };
84
84
  };
85
- maxPromptLength: number;
86
85
  iconVariants: {
87
86
  light: {
88
87
  png?: string | undefined;
@@ -93,11 +92,12 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
93
92
  svg?: string | undefined;
94
93
  };
95
94
  };
95
+ maxPromptLength: number;
96
96
  supportsImageAttachment: boolean;
97
97
  maxAttachedImages: number;
98
98
  }, {
99
- price: number;
100
99
  uuid: string;
100
+ price: number;
101
101
  params: {
102
102
  imageAttachment: {
103
103
  supported: boolean;
@@ -105,7 +105,6 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
105
105
  acceptedTypes: string[];
106
106
  };
107
107
  };
108
- maxPromptLength: number;
109
108
  iconVariants: {
110
109
  light: {
111
110
  png?: string | undefined;
@@ -116,6 +115,7 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
116
115
  svg?: string | undefined;
117
116
  };
118
117
  };
118
+ maxPromptLength: number;
119
119
  supportsImageAttachment: boolean;
120
120
  maxAttachedImages: number;
121
121
  }>;
@@ -6,13 +6,13 @@ export declare const MarketplaceCardStylePresetSchema: z.ZodObject<{
6
6
  isActive: z.ZodBoolean;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  uuid: string;
9
- order: number;
10
9
  previewImageUrl: string;
10
+ order: number;
11
11
  isActive: boolean;
12
12
  }, {
13
13
  uuid: string;
14
- order: number;
15
14
  previewImageUrl: string;
15
+ order: number;
16
16
  isActive: boolean;
17
17
  }>;
18
18
  export type MarketplaceCardStylePreset = z.infer<typeof MarketplaceCardStylePresetSchema>;
@@ -8,17 +8,17 @@ export declare const PageQuestionSchema: z.ZodObject<{
8
8
  updatedAt: z.ZodDate;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  uuid: string;
11
- createdAt: Date;
12
- updatedAt: Date;
13
11
  question: string;
14
12
  answer: string;
15
13
  pageId: string;
16
- }, {
17
- uuid: string;
18
14
  createdAt: Date;
19
15
  updatedAt: Date;
16
+ }, {
17
+ uuid: string;
20
18
  question: string;
21
19
  answer: string;
22
20
  pageId: string;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
23
  }>;
24
24
  //# sourceMappingURL=page-question.schema.d.ts.map
@@ -11,24 +11,24 @@ export declare const PageSchema: z.ZodObject<{
11
11
  updatedAt: z.ZodDate;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  uuid: string;
14
- createdAt: Date;
15
- updatedAt: Date;
16
- title: string;
17
14
  metaTitle: string;
18
15
  metaDescription: string;
16
+ title: string;
19
17
  subTitle: string;
20
18
  seoTextMd: string;
21
19
  alias: string;
22
- }, {
23
- uuid: string;
24
20
  createdAt: Date;
25
21
  updatedAt: Date;
26
- title: string;
22
+ }, {
23
+ uuid: string;
27
24
  metaTitle: string;
28
25
  metaDescription: string;
26
+ title: string;
29
27
  subTitle: string;
30
28
  seoTextMd: string;
31
29
  alias: string;
30
+ createdAt: Date;
31
+ updatedAt: Date;
32
32
  }>;
33
33
  export declare const PageWithQuestionsSchema: z.ZodObject<{
34
34
  uuid: z.ZodString;
@@ -50,54 +50,54 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
50
50
  updatedAt: z.ZodDate;
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  uuid: string;
53
- createdAt: Date;
54
- updatedAt: Date;
55
53
  question: string;
56
54
  answer: string;
57
55
  pageId: string;
58
- }, {
59
- uuid: string;
60
56
  createdAt: Date;
61
57
  updatedAt: Date;
58
+ }, {
59
+ uuid: string;
62
60
  question: string;
63
61
  answer: string;
64
62
  pageId: string;
63
+ createdAt: Date;
64
+ updatedAt: Date;
65
65
  }>, "many">;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  uuid: string;
68
- createdAt: Date;
69
- updatedAt: Date;
70
- title: string;
71
68
  metaTitle: string;
72
69
  metaDescription: string;
70
+ title: string;
73
71
  subTitle: string;
74
72
  seoTextMd: string;
75
73
  alias: string;
74
+ createdAt: Date;
75
+ updatedAt: Date;
76
76
  questions: {
77
77
  uuid: string;
78
- createdAt: Date;
79
- updatedAt: Date;
80
78
  question: string;
81
79
  answer: string;
82
80
  pageId: string;
81
+ createdAt: Date;
82
+ updatedAt: Date;
83
83
  }[];
84
84
  }, {
85
85
  uuid: string;
86
- createdAt: Date;
87
- updatedAt: Date;
88
- title: string;
89
86
  metaTitle: string;
90
87
  metaDescription: string;
88
+ title: string;
91
89
  subTitle: string;
92
90
  seoTextMd: string;
93
91
  alias: string;
92
+ createdAt: Date;
93
+ updatedAt: Date;
94
94
  questions: {
95
95
  uuid: string;
96
- createdAt: Date;
97
- updatedAt: Date;
98
96
  question: string;
99
97
  answer: string;
100
98
  pageId: string;
99
+ createdAt: Date;
100
+ updatedAt: Date;
101
101
  }[];
102
102
  }>;
103
103
  //# sourceMappingURL=page.schema.d.ts.map