@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
@@ -78,17 +78,17 @@ export declare namespace GetImageGenerationConfigCommand {
78
78
  }>;
79
79
  value: z.ZodNumber;
80
80
  }, "strip", z.ZodTypeAny, {
81
- value: number;
82
81
  condition: {
83
82
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
84
83
  withoutSub?: boolean | undefined;
85
84
  };
86
- }, {
87
85
  value: number;
86
+ }, {
88
87
  condition: {
89
88
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
90
89
  withoutSub?: boolean | undefined;
91
90
  };
91
+ value: number;
92
92
  }>, "many">;
93
93
  params: z.ZodObject<{
94
94
  aspectRatio: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -110,19 +110,19 @@ export declare namespace GetImageGenerationConfigCommand {
110
110
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
111
111
  }>>;
112
112
  }, "strip", z.ZodTypeAny, {
113
- aspectRatio: Record<string, {
113
+ aspectRatio: Record<string, "auto" | {
114
114
  width: number;
115
115
  height: number;
116
- } | "auto">;
116
+ }>;
117
117
  quality?: string | Record<string, string> | undefined;
118
118
  resolution?: {
119
119
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
120
120
  } | undefined;
121
121
  }, {
122
- aspectRatio: Record<string, {
122
+ aspectRatio: Record<string, "auto" | {
123
123
  width: number;
124
124
  height: number;
125
- } | "auto">;
125
+ }>;
126
126
  quality?: string | Record<string, string> | undefined;
127
127
  resolution?: {
128
128
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
@@ -179,35 +179,36 @@ export declare namespace GetImageGenerationConfigCommand {
179
179
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
180
180
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- price: number;
183
182
  uuid: string;
184
- status: import("../..").TOOL_MODEL_STATUS;
185
- params: {
186
- aspectRatio: Record<string, {
187
- width: number;
188
- height: number;
189
- } | "auto">;
190
- quality?: string | Record<string, string> | undefined;
191
- resolution?: {
192
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
193
- } | undefined;
194
- };
183
+ title: string;
184
+ model: string;
185
+ description: string;
186
+ price: number;
187
+ canUse: boolean;
195
188
  unlockedBy: {
196
189
  uuid: string;
197
190
  name: string;
198
191
  } | null;
199
- canUse: boolean;
200
- description: string;
201
- title: string;
202
- model: string;
203
192
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
204
193
  pricingRules: {
205
- value: number;
206
194
  condition: {
207
195
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
208
196
  withoutSub?: boolean | undefined;
209
197
  };
198
+ value: number;
210
199
  }[];
200
+ params: {
201
+ aspectRatio: Record<string, "auto" | {
202
+ width: number;
203
+ height: number;
204
+ }>;
205
+ quality?: string | Record<string, string> | undefined;
206
+ resolution?: {
207
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
208
+ } | undefined;
209
+ };
210
+ status: import("../..").TOOL_MODEL_STATUS;
211
+ statusCheckEndpoint?: string | null | undefined;
211
212
  maxPromptLength: number;
212
213
  iconVariants: {
213
214
  light: {
@@ -226,37 +227,37 @@ export declare namespace GetImageGenerationConfigCommand {
226
227
  vendorId: string;
227
228
  createdAt?: string | Date | undefined;
228
229
  updatedAt?: string | Date | undefined;
229
- statusCheckEndpoint?: string | null | undefined;
230
230
  }, {
231
- price: number;
232
231
  uuid: string;
233
- status: import("../..").TOOL_MODEL_STATUS;
234
- params: {
235
- aspectRatio: Record<string, {
236
- width: number;
237
- height: number;
238
- } | "auto">;
239
- quality?: string | Record<string, string> | undefined;
240
- resolution?: {
241
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
242
- } | undefined;
243
- };
232
+ title: string;
233
+ model: string;
234
+ description: string;
235
+ price: number;
236
+ canUse: boolean;
244
237
  unlockedBy: {
245
238
  uuid: string;
246
239
  name: string;
247
240
  } | null;
248
- canUse: boolean;
249
- description: string;
250
- title: string;
251
- model: string;
252
241
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
253
242
  pricingRules: {
254
- value: number;
255
243
  condition: {
256
244
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
257
245
  withoutSub?: boolean | undefined;
258
246
  };
247
+ value: number;
259
248
  }[];
249
+ params: {
250
+ aspectRatio: Record<string, "auto" | {
251
+ width: number;
252
+ height: number;
253
+ }>;
254
+ quality?: string | Record<string, string> | undefined;
255
+ resolution?: {
256
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
257
+ } | undefined;
258
+ };
259
+ status: import("../..").TOOL_MODEL_STATUS;
260
+ statusCheckEndpoint?: string | null | undefined;
260
261
  maxPromptLength: number;
261
262
  iconVariants: {
262
263
  light: {
@@ -275,11 +276,11 @@ export declare namespace GetImageGenerationConfigCommand {
275
276
  vendorId: string;
276
277
  createdAt?: string | Date | undefined;
277
278
  updatedAt?: string | Date | undefined;
278
- statusCheckEndpoint?: string | null | undefined;
279
279
  }>, "many">;
280
280
  }, "strip", z.ZodTypeAny, {
281
281
  uuid: string;
282
282
  title: string;
283
+ order: number;
283
284
  iconVariants: {
284
285
  light: {
285
286
  png?: string | undefined;
@@ -290,37 +291,37 @@ export declare namespace GetImageGenerationConfigCommand {
290
291
  svg?: string | undefined;
291
292
  };
292
293
  };
293
- order: number;
294
294
  models: {
295
- price: number;
296
295
  uuid: string;
297
- status: import("../..").TOOL_MODEL_STATUS;
298
- params: {
299
- aspectRatio: Record<string, {
300
- width: number;
301
- height: number;
302
- } | "auto">;
303
- quality?: string | Record<string, string> | undefined;
304
- resolution?: {
305
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
306
- } | undefined;
307
- };
296
+ title: string;
297
+ model: string;
298
+ description: string;
299
+ price: number;
300
+ canUse: boolean;
308
301
  unlockedBy: {
309
302
  uuid: string;
310
303
  name: string;
311
304
  } | null;
312
- canUse: boolean;
313
- description: string;
314
- title: string;
315
- model: string;
316
305
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
317
306
  pricingRules: {
318
- value: number;
319
307
  condition: {
320
308
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
321
309
  withoutSub?: boolean | undefined;
322
310
  };
311
+ value: number;
323
312
  }[];
313
+ params: {
314
+ aspectRatio: Record<string, "auto" | {
315
+ width: number;
316
+ height: number;
317
+ }>;
318
+ quality?: string | Record<string, string> | undefined;
319
+ resolution?: {
320
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
321
+ } | undefined;
322
+ };
323
+ status: import("../..").TOOL_MODEL_STATUS;
324
+ statusCheckEndpoint?: string | null | undefined;
324
325
  maxPromptLength: number;
325
326
  iconVariants: {
326
327
  light: {
@@ -339,11 +340,11 @@ export declare namespace GetImageGenerationConfigCommand {
339
340
  vendorId: string;
340
341
  createdAt?: string | Date | undefined;
341
342
  updatedAt?: string | Date | undefined;
342
- statusCheckEndpoint?: string | null | undefined;
343
343
  }[];
344
344
  }, {
345
345
  uuid: string;
346
346
  title: string;
347
+ order: number;
347
348
  iconVariants: {
348
349
  light: {
349
350
  png?: string | undefined;
@@ -354,37 +355,37 @@ export declare namespace GetImageGenerationConfigCommand {
354
355
  svg?: string | undefined;
355
356
  };
356
357
  };
357
- order: number;
358
358
  models: {
359
- price: number;
360
359
  uuid: string;
361
- status: import("../..").TOOL_MODEL_STATUS;
362
- params: {
363
- aspectRatio: Record<string, {
364
- width: number;
365
- height: number;
366
- } | "auto">;
367
- quality?: string | Record<string, string> | undefined;
368
- resolution?: {
369
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
370
- } | undefined;
371
- };
360
+ title: string;
361
+ model: string;
362
+ description: string;
363
+ price: number;
364
+ canUse: boolean;
372
365
  unlockedBy: {
373
366
  uuid: string;
374
367
  name: string;
375
368
  } | null;
376
- canUse: boolean;
377
- description: string;
378
- title: string;
379
- model: string;
380
369
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
381
370
  pricingRules: {
382
- value: number;
383
371
  condition: {
384
372
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
385
373
  withoutSub?: boolean | undefined;
386
374
  };
375
+ value: number;
387
376
  }[];
377
+ params: {
378
+ aspectRatio: Record<string, "auto" | {
379
+ width: number;
380
+ height: number;
381
+ }>;
382
+ quality?: string | Record<string, string> | undefined;
383
+ resolution?: {
384
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
385
+ } | undefined;
386
+ };
387
+ status: import("../..").TOOL_MODEL_STATUS;
388
+ statusCheckEndpoint?: string | null | undefined;
388
389
  maxPromptLength: number;
389
390
  iconVariants: {
390
391
  light: {
@@ -403,7 +404,6 @@ export declare namespace GetImageGenerationConfigCommand {
403
404
  vendorId: string;
404
405
  createdAt?: string | Date | undefined;
405
406
  updatedAt?: string | Date | undefined;
406
- statusCheckEndpoint?: string | null | undefined;
407
407
  }[];
408
408
  }>, "many">;
409
409
  presets: z.ZodArray<z.ZodObject<{
@@ -414,18 +414,19 @@ export declare namespace GetImageGenerationConfigCommand {
414
414
  }, "strip", z.ZodTypeAny, {
415
415
  uuid: string;
416
416
  title: string;
417
- order: number;
418
417
  sample: string;
418
+ order: number;
419
419
  }, {
420
420
  uuid: string;
421
421
  title: string;
422
- order: number;
423
422
  sample: string;
423
+ order: number;
424
424
  }>, "many">;
425
425
  }, "strip", z.ZodTypeAny, {
426
426
  vendors: {
427
427
  uuid: string;
428
428
  title: string;
429
+ order: number;
429
430
  iconVariants: {
430
431
  light: {
431
432
  png?: string | undefined;
@@ -436,37 +437,37 @@ export declare namespace GetImageGenerationConfigCommand {
436
437
  svg?: string | undefined;
437
438
  };
438
439
  };
439
- order: number;
440
440
  models: {
441
- price: number;
442
441
  uuid: string;
443
- status: import("../..").TOOL_MODEL_STATUS;
444
- params: {
445
- aspectRatio: Record<string, {
446
- width: number;
447
- height: number;
448
- } | "auto">;
449
- quality?: string | Record<string, string> | undefined;
450
- resolution?: {
451
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
452
- } | undefined;
453
- };
442
+ title: string;
443
+ model: string;
444
+ description: string;
445
+ price: number;
446
+ canUse: boolean;
454
447
  unlockedBy: {
455
448
  uuid: string;
456
449
  name: string;
457
450
  } | null;
458
- canUse: boolean;
459
- description: string;
460
- title: string;
461
- model: string;
462
451
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
463
452
  pricingRules: {
464
- value: number;
465
453
  condition: {
466
454
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
467
455
  withoutSub?: boolean | undefined;
468
456
  };
457
+ value: number;
469
458
  }[];
459
+ params: {
460
+ aspectRatio: Record<string, "auto" | {
461
+ width: number;
462
+ height: number;
463
+ }>;
464
+ quality?: string | Record<string, string> | undefined;
465
+ resolution?: {
466
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
467
+ } | undefined;
468
+ };
469
+ status: import("../..").TOOL_MODEL_STATUS;
470
+ statusCheckEndpoint?: string | null | undefined;
470
471
  maxPromptLength: number;
471
472
  iconVariants: {
472
473
  light: {
@@ -485,19 +486,19 @@ export declare namespace GetImageGenerationConfigCommand {
485
486
  vendorId: string;
486
487
  createdAt?: string | Date | undefined;
487
488
  updatedAt?: string | Date | undefined;
488
- statusCheckEndpoint?: string | null | undefined;
489
489
  }[];
490
490
  }[];
491
491
  presets: {
492
492
  uuid: string;
493
493
  title: string;
494
- order: number;
495
494
  sample: string;
495
+ order: number;
496
496
  }[];
497
497
  }, {
498
498
  vendors: {
499
499
  uuid: string;
500
500
  title: string;
501
+ order: number;
501
502
  iconVariants: {
502
503
  light: {
503
504
  png?: string | undefined;
@@ -508,37 +509,37 @@ export declare namespace GetImageGenerationConfigCommand {
508
509
  svg?: string | undefined;
509
510
  };
510
511
  };
511
- order: number;
512
512
  models: {
513
- price: number;
514
513
  uuid: string;
515
- status: import("../..").TOOL_MODEL_STATUS;
516
- params: {
517
- aspectRatio: Record<string, {
518
- width: number;
519
- height: number;
520
- } | "auto">;
521
- quality?: string | Record<string, string> | undefined;
522
- resolution?: {
523
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
524
- } | undefined;
525
- };
514
+ title: string;
515
+ model: string;
516
+ description: string;
517
+ price: number;
518
+ canUse: boolean;
526
519
  unlockedBy: {
527
520
  uuid: string;
528
521
  name: string;
529
522
  } | null;
530
- canUse: boolean;
531
- description: string;
532
- title: string;
533
- model: string;
534
523
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
535
524
  pricingRules: {
536
- value: number;
537
525
  condition: {
538
526
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
539
527
  withoutSub?: boolean | undefined;
540
528
  };
529
+ value: number;
541
530
  }[];
531
+ params: {
532
+ aspectRatio: Record<string, "auto" | {
533
+ width: number;
534
+ height: number;
535
+ }>;
536
+ quality?: string | Record<string, string> | undefined;
537
+ resolution?: {
538
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
539
+ } | undefined;
540
+ };
541
+ status: import("../..").TOOL_MODEL_STATUS;
542
+ statusCheckEndpoint?: string | null | undefined;
542
543
  maxPromptLength: number;
543
544
  iconVariants: {
544
545
  light: {
@@ -557,14 +558,13 @@ export declare namespace GetImageGenerationConfigCommand {
557
558
  vendorId: string;
558
559
  createdAt?: string | Date | undefined;
559
560
  updatedAt?: string | Date | undefined;
560
- statusCheckEndpoint?: string | null | undefined;
561
561
  }[];
562
562
  }[];
563
563
  presets: {
564
564
  uuid: string;
565
565
  title: string;
566
- order: number;
567
566
  sample: string;
567
+ order: number;
568
568
  }[];
569
569
  }>;
570
570
  }, "strip", z.ZodTypeAny, {
@@ -572,6 +572,7 @@ export declare namespace GetImageGenerationConfigCommand {
572
572
  vendors: {
573
573
  uuid: string;
574
574
  title: string;
575
+ order: number;
575
576
  iconVariants: {
576
577
  light: {
577
578
  png?: string | undefined;
@@ -582,37 +583,37 @@ export declare namespace GetImageGenerationConfigCommand {
582
583
  svg?: string | undefined;
583
584
  };
584
585
  };
585
- order: number;
586
586
  models: {
587
- price: number;
588
587
  uuid: string;
589
- status: import("../..").TOOL_MODEL_STATUS;
590
- params: {
591
- aspectRatio: Record<string, {
592
- width: number;
593
- height: number;
594
- } | "auto">;
595
- quality?: string | Record<string, string> | undefined;
596
- resolution?: {
597
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
598
- } | undefined;
599
- };
588
+ title: string;
589
+ model: string;
590
+ description: string;
591
+ price: number;
592
+ canUse: boolean;
600
593
  unlockedBy: {
601
594
  uuid: string;
602
595
  name: string;
603
596
  } | null;
604
- canUse: boolean;
605
- description: string;
606
- title: string;
607
- model: string;
608
597
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
609
598
  pricingRules: {
610
- value: number;
611
599
  condition: {
612
600
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
613
601
  withoutSub?: boolean | undefined;
614
602
  };
603
+ value: number;
615
604
  }[];
605
+ params: {
606
+ aspectRatio: Record<string, "auto" | {
607
+ width: number;
608
+ height: number;
609
+ }>;
610
+ quality?: string | Record<string, string> | undefined;
611
+ resolution?: {
612
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
613
+ } | undefined;
614
+ };
615
+ status: import("../..").TOOL_MODEL_STATUS;
616
+ statusCheckEndpoint?: string | null | undefined;
616
617
  maxPromptLength: number;
617
618
  iconVariants: {
618
619
  light: {
@@ -631,14 +632,13 @@ export declare namespace GetImageGenerationConfigCommand {
631
632
  vendorId: string;
632
633
  createdAt?: string | Date | undefined;
633
634
  updatedAt?: string | Date | undefined;
634
- statusCheckEndpoint?: string | null | undefined;
635
635
  }[];
636
636
  }[];
637
637
  presets: {
638
638
  uuid: string;
639
639
  title: string;
640
- order: number;
641
640
  sample: string;
641
+ order: number;
642
642
  }[];
643
643
  };
644
644
  }, {
@@ -646,6 +646,7 @@ export declare namespace GetImageGenerationConfigCommand {
646
646
  vendors: {
647
647
  uuid: string;
648
648
  title: string;
649
+ order: number;
649
650
  iconVariants: {
650
651
  light: {
651
652
  png?: string | undefined;
@@ -656,37 +657,37 @@ export declare namespace GetImageGenerationConfigCommand {
656
657
  svg?: string | undefined;
657
658
  };
658
659
  };
659
- order: number;
660
660
  models: {
661
- price: number;
662
661
  uuid: string;
663
- status: import("../..").TOOL_MODEL_STATUS;
664
- params: {
665
- aspectRatio: Record<string, {
666
- width: number;
667
- height: number;
668
- } | "auto">;
669
- quality?: string | Record<string, string> | undefined;
670
- resolution?: {
671
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
672
- } | undefined;
673
- };
662
+ title: string;
663
+ model: string;
664
+ description: string;
665
+ price: number;
666
+ canUse: boolean;
674
667
  unlockedBy: {
675
668
  uuid: string;
676
669
  name: string;
677
670
  } | null;
678
- canUse: boolean;
679
- description: string;
680
- title: string;
681
- model: string;
682
671
  tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
683
672
  pricingRules: {
684
- value: number;
685
673
  condition: {
686
674
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
687
675
  withoutSub?: boolean | undefined;
688
676
  };
677
+ value: number;
689
678
  }[];
679
+ params: {
680
+ aspectRatio: Record<string, "auto" | {
681
+ width: number;
682
+ height: number;
683
+ }>;
684
+ quality?: string | Record<string, string> | undefined;
685
+ resolution?: {
686
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
687
+ } | undefined;
688
+ };
689
+ status: import("../..").TOOL_MODEL_STATUS;
690
+ statusCheckEndpoint?: string | null | undefined;
690
691
  maxPromptLength: number;
691
692
  iconVariants: {
692
693
  light: {
@@ -705,14 +706,13 @@ export declare namespace GetImageGenerationConfigCommand {
705
706
  vendorId: string;
706
707
  createdAt?: string | Date | undefined;
707
708
  updatedAt?: string | Date | undefined;
708
- statusCheckEndpoint?: string | null | undefined;
709
709
  }[];
710
710
  }[];
711
711
  presets: {
712
712
  uuid: string;
713
713
  title: string;
714
- order: number;
715
714
  sample: string;
715
+ order: number;
716
716
  }[];
717
717
  };
718
718
  }>;