@purpleschool/multisite 0.0.27 → 0.0.29

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 (222) 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 +100 -88
  52. package/build/commands/image-editor/execute-image-editor.command.d.ts.map +1 -1
  53. package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +2 -2
  54. package/build/commands/image-editor/proxy-image-editor-callback.command.js +1 -1
  55. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +101 -89
  56. package/build/commands/image-editor/retry-image-editor-job.command.d.ts.map +1 -1
  57. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +85 -78
  58. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts.map +1 -1
  59. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +85 -78
  60. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts.map +1 -1
  61. package/build/commands/image-generation/execute-image-generation.command.d.ts +71 -71
  62. package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +4 -4
  63. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +72 -72
  64. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +65 -65
  65. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +65 -65
  66. package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +20 -20
  67. package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +16 -16
  68. package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +16 -16
  69. package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +16 -16
  70. package/build/commands/page/create-page-question.command.d.ts +9 -9
  71. package/build/commands/page/create-page.command.d.ts +15 -15
  72. package/build/commands/page/find-page-by-alias.command.d.ts +72 -72
  73. package/build/commands/page/find-page-by-criteria.command.d.ts +28 -28
  74. package/build/commands/page/find-page.command.d.ts +48 -48
  75. package/build/commands/page/update-page-question.command.d.ts +9 -9
  76. package/build/commands/page/update-page.command.d.ts +15 -15
  77. package/build/commands/payment/cloud-payments.command.d.ts +18 -18
  78. package/build/commands/product/buy-product.command.d.ts +80 -80
  79. package/build/commands/product/fast-buy-product.command.d.ts +81 -81
  80. package/build/commands/product/update-product.command.d.ts +6 -6
  81. package/build/commands/stt/execute-stt.command.d.ts +81 -81
  82. package/build/commands/stt/retry-stt-job.command.d.ts +79 -79
  83. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +79 -79
  84. package/build/commands/stt/update-stt-job-title.command.d.ts +79 -79
  85. package/build/commands/subscription/buy-subscription.command.d.ts +80 -80
  86. package/build/commands/subscription/fast-buy-subscription.command.d.ts +81 -81
  87. package/build/commands/subscription/update-subscription.command.d.ts +24 -24
  88. package/build/commands/transaction/write-off.command.d.ts +5 -5
  89. package/build/commands/tts/execute-tts.command.d.ts +99 -99
  90. package/build/commands/tts/retry-tts-job.command.d.ts +92 -92
  91. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +92 -92
  92. package/build/commands/tts/update-tts-job-title.command.d.ts +92 -92
  93. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  94. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +4 -4
  95. package/build/commands/user-to-product/update-user-to-product.command.d.ts +7 -7
  96. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +28 -28
  97. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +36 -36
  98. package/build/constants/email/email-endpoint.d.ts +1 -1
  99. package/build/constants/email/email-endpoint.d.ts.map +1 -1
  100. package/build/constants/email/email-endpoint.js +1 -1
  101. package/build/constants/email/subjects.d.ts +10 -10
  102. package/build/constants/email/subjects.d.ts.map +1 -1
  103. package/build/constants/errors/errors.d.ts +338 -328
  104. package/build/constants/errors/errors.d.ts.map +1 -1
  105. package/build/constants/errors/errors.js +10 -0
  106. package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts +2 -1
  107. package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts.map +1 -1
  108. package/build/constants/image-editor/enums/image-editing-strategy.enum.js +1 -0
  109. package/build/constants/subscription/free-subscription-id.constant.d.ts +1 -1
  110. package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts +4 -2
  111. package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts.map +1 -1
  112. package/build/helpers/index.d.ts +1 -0
  113. package/build/helpers/index.d.ts.map +1 -1
  114. package/build/helpers/index.js +1 -0
  115. package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts +20 -0
  116. package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts.map +1 -0
  117. package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.js +125 -0
  118. package/build/helpers/openai-image-2/index.d.ts +2 -0
  119. package/build/helpers/openai-image-2/index.d.ts.map +1 -0
  120. package/build/helpers/openai-image-2/index.js +17 -0
  121. package/build/models/cloud-payments-widget-data.schema.d.ts +58 -58
  122. package/build/models/cloud-payments-widget.schema.d.ts +62 -62
  123. package/build/models/common/attached-file.schema.d.ts +4 -4
  124. package/build/models/common/receipt.schema.d.ts +8 -8
  125. package/build/models/file.schema.d.ts +4 -4
  126. package/build/models/image-editor/image-editor-config.schema.d.ts +153 -128
  127. package/build/models/image-editor/image-editor-config.schema.d.ts.map +1 -1
  128. package/build/models/image-editor/image-editor-job-params.schema.d.ts +13 -10
  129. package/build/models/image-editor/image-editor-job-params.schema.d.ts.map +1 -1
  130. package/build/models/image-editor/image-editor-job-params.schema.js +1 -0
  131. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +7 -4
  132. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts.map +1 -1
  133. package/build/models/image-editor/image-editor-job-request-params.schema.js +2 -1
  134. package/build/models/image-editor/image-editor-job.schema.d.ts +49 -44
  135. package/build/models/image-editor/image-editor-job.schema.d.ts.map +1 -1
  136. package/build/models/image-editor/image-editor-model-params.schema.d.ts +18 -5
  137. package/build/models/image-editor/image-editor-model-params.schema.d.ts.map +1 -1
  138. package/build/models/image-editor/image-editor-model-params.schema.js +5 -0
  139. package/build/models/image-editor/image-editor-model.schema.d.ts +63 -44
  140. package/build/models/image-editor/image-editor-model.schema.d.ts.map +1 -1
  141. package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +2 -2
  142. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +26 -26
  143. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +12 -12
  144. package/build/models/image-generation/image-generation-config.schema.d.ts +122 -122
  145. package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +2 -2
  146. package/build/models/image-generation/image-generation-job-params.schema.d.ts +9 -9
  147. package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +1 -1
  148. package/build/models/image-generation/image-generation-job.schema.d.ts +38 -38
  149. package/build/models/image-generation/image-generation-model-params.schema.d.ts +4 -4
  150. package/build/models/image-generation/image-generation-model.schema.d.ts +42 -42
  151. package/build/models/image-generation/image-generation-preset.schema.d.ts +2 -2
  152. package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +4 -4
  153. package/build/models/image-generation/image-generation-vendor.schema.d.ts +80 -80
  154. package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +18 -18
  155. package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +4 -4
  156. package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +8 -8
  157. package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +4 -4
  158. package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +2 -2
  159. package/build/models/page-question.schema.d.ts +4 -4
  160. package/build/models/page.schema.d.ts +20 -20
  161. package/build/models/product.schema.d.ts +2 -2
  162. package/build/models/stt/stt-config.schema.d.ts +28 -28
  163. package/build/models/stt/stt-job-attempt.schema.d.ts +4 -4
  164. package/build/models/stt/stt-job.schema.d.ts +42 -42
  165. package/build/models/stt/stt-model.schema.d.ts +14 -14
  166. package/build/models/stt/stt-response.schema.d.ts +1 -1
  167. package/build/models/subscription.schema.d.ts +8 -8
  168. package/build/models/tools/vendor.schema.d.ts +2 -2
  169. package/build/models/tts/tts-config.schema.d.ts +184 -184
  170. package/build/models/tts/tts-job-attempt.schema.d.ts +4 -4
  171. package/build/models/tts/tts-job-params.schema.d.ts +2 -2
  172. package/build/models/tts/tts-job.schema.d.ts +50 -50
  173. package/build/models/tts/tts-model.schema.d.ts +196 -196
  174. package/build/models/unlocked-by-subscription.schema.d.ts.map +1 -1
  175. package/build/models/user-to-product.schema.d.ts +2 -2
  176. package/build/models/user-to-subscription.schema.d.ts +14 -14
  177. package/build/models/user.schema.d.ts +4 -4
  178. package/build/queries/file/find-files.command.d.ts +8 -8
  179. package/build/queries/file/get-file.command.d.ts +8 -8
  180. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +86 -79
  181. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts.map +1 -1
  182. package/build/queries/image-editor/get-image-editor-config.command.d.ts +217 -186
  183. package/build/queries/image-editor/get-image-editor-config.command.d.ts.map +1 -1
  184. package/build/queries/image-editor/get-image-editor-job.command.d.ts +85 -78
  185. package/build/queries/image-editor/get-image-editor-job.command.d.ts.map +1 -1
  186. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +66 -66
  187. package/build/queries/image-generation/get-image-generation-config.command.d.ts +162 -162
  188. package/build/queries/image-generation/get-image-generation-job.command.d.ts +65 -65
  189. package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +17 -17
  190. package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +30 -30
  191. package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +16 -16
  192. package/build/queries/page/find-all-page-questions.query.d.ts +8 -8
  193. package/build/queries/page/find-page-question-by-uuid.query.d.ts +8 -8
  194. package/build/queries/page/find-page-questions-by-page-id.query.d.ts +8 -8
  195. package/build/queries/payment/get-payment-history.command.d.ts +12 -12
  196. package/build/queries/product/find-products.command.d.ts +4 -4
  197. package/build/queries/stt/find-stt-jobs.command.d.ts +79 -79
  198. package/build/queries/stt/get-stt-config.command.d.ts +42 -42
  199. package/build/queries/stt/get-stt-job.command.d.ts +79 -79
  200. package/build/queries/subscription/find-subscriptions.command.d.ts +16 -16
  201. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +51 -51
  202. package/build/queries/tts/find-tts-jobs.command.d.ts +94 -94
  203. package/build/queries/tts/get-tts-config.command.d.ts +242 -242
  204. package/build/queries/tts/get-tts-job.command.d.ts +92 -92
  205. package/build/queries/user/find-users.command.d.ts +16 -16
  206. package/build/queries/user/get-all-users.command.d.ts +8 -8
  207. package/build/queries/user/get-my-products.command.d.ts +10 -10
  208. package/build/queries/user/get-my-subscriptions.command.d.ts +36 -36
  209. package/build/queries/user/get-user-payments.command.d.ts +42 -42
  210. package/build/queries/user/get-user.command.d.ts +8 -8
  211. package/commands/image-editor/proxy-image-editor-callback.command.ts +1 -1
  212. package/constants/email/email-endpoint.ts +1 -1
  213. package/constants/errors/errors.ts +10 -0
  214. package/constants/image-editor/enums/image-editing-strategy.enum.ts +1 -0
  215. package/helpers/image-generation/calculate-image-generation-price.helper.ts +4 -2
  216. package/helpers/index.ts +1 -0
  217. package/helpers/openai-image-2/calculate-openai-image-2-price.helper.ts +160 -0
  218. package/helpers/openai-image-2/index.ts +1 -0
  219. package/models/image-editor/image-editor-job-params.schema.ts +1 -0
  220. package/models/image-editor/image-editor-job-request-params.schema.ts +2 -1
  221. package/models/image-editor/image-editor-model-params.schema.ts +5 -0
  222. package/package.json +1 -1
@@ -78,26 +78,39 @@ export declare namespace GetImageEditorConfigCommand {
78
78
  width: number;
79
79
  height: number;
80
80
  }>>;
81
+ resolution: z.ZodOptional<z.ZodObject<{
82
+ options: z.ZodArray<z.ZodString, "many">;
83
+ }, "strip", z.ZodTypeAny, {
84
+ options: string[];
85
+ }, {
86
+ options: string[];
87
+ }>>;
81
88
  }, "strip", z.ZodTypeAny, {
82
- aspectRatio: Record<string, {
83
- width: number;
84
- height: number;
85
- }>;
86
89
  imageAttachment: {
87
90
  supported: boolean;
88
91
  maxImages: number;
89
92
  acceptedTypes: string[];
90
93
  };
91
- }, {
92
94
  aspectRatio: Record<string, {
93
95
  width: number;
94
96
  height: number;
95
97
  }>;
98
+ resolution?: {
99
+ options: string[];
100
+ } | undefined;
101
+ }, {
96
102
  imageAttachment: {
97
103
  supported: boolean;
98
104
  maxImages: number;
99
105
  acceptedTypes: string[];
100
106
  };
107
+ aspectRatio: Record<string, {
108
+ width: number;
109
+ height: number;
110
+ }>;
111
+ resolution?: {
112
+ options: string[];
113
+ } | undefined;
101
114
  }>;
102
115
  pricingRules: z.ZodArray<z.ZodObject<{
103
116
  condition: z.ZodObject<{
@@ -109,15 +122,15 @@ export declare namespace GetImageEditorConfigCommand {
109
122
  }>;
110
123
  value: z.ZodNumber;
111
124
  }, "strip", z.ZodTypeAny, {
112
- value: number;
113
125
  condition: {
114
126
  withoutSub?: boolean | undefined;
115
127
  };
116
- }, {
117
128
  value: number;
129
+ }, {
118
130
  condition: {
119
131
  withoutSub?: boolean | undefined;
120
132
  };
133
+ value: number;
121
134
  }>, "many">;
122
135
  canUse: z.ZodBoolean;
123
136
  statusCheckEndpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -125,32 +138,14 @@ export declare namespace GetImageEditorConfigCommand {
125
138
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
126
139
  }, "strip", z.ZodTypeAny, {
127
140
  uuid: string;
128
- status: import("../..").TOOL_MODEL_STATUS;
129
- params: {
130
- aspectRatio: Record<string, {
131
- width: number;
132
- height: number;
133
- }>;
134
- imageAttachment: {
135
- supported: boolean;
136
- maxImages: number;
137
- acceptedTypes: string[];
138
- };
139
- };
140
- canUse: boolean;
141
- description: string;
142
141
  title: string;
143
- pricingRules: {
144
- value: number;
145
- condition: {
146
- withoutSub?: boolean | undefined;
147
- };
148
- }[];
149
- order: number;
142
+ description: string;
150
143
  aiModel: string;
151
144
  isNew: boolean;
152
145
  tierLabel: string;
153
146
  pricePerImage: number;
147
+ order: number;
148
+ status: import("../..").TOOL_MODEL_STATUS;
154
149
  icons: {
155
150
  light: {
156
151
  png?: string | undefined;
@@ -163,37 +158,40 @@ export declare namespace GetImageEditorConfigCommand {
163
158
  };
164
159
  strategy: import("../..").IMAGE_EDITING_STRATEGY;
165
160
  maxInputLength: number;
166
- createdAt?: string | Date | undefined;
167
- updatedAt?: string | Date | undefined;
168
- statusCheckEndpoint?: string | null | undefined;
169
- }, {
170
- uuid: string;
171
- status: import("../..").TOOL_MODEL_STATUS;
172
161
  params: {
173
- aspectRatio: Record<string, {
174
- width: number;
175
- height: number;
176
- }>;
177
162
  imageAttachment: {
178
163
  supported: boolean;
179
164
  maxImages: number;
180
165
  acceptedTypes: string[];
181
166
  };
167
+ aspectRatio: Record<string, {
168
+ width: number;
169
+ height: number;
170
+ }>;
171
+ resolution?: {
172
+ options: string[];
173
+ } | undefined;
182
174
  };
183
- canUse: boolean;
184
- description: string;
185
- title: string;
186
175
  pricingRules: {
187
- value: number;
188
176
  condition: {
189
177
  withoutSub?: boolean | undefined;
190
178
  };
179
+ value: number;
191
180
  }[];
192
- order: number;
181
+ canUse: boolean;
182
+ statusCheckEndpoint?: string | null | undefined;
183
+ createdAt?: string | Date | undefined;
184
+ updatedAt?: string | Date | undefined;
185
+ }, {
186
+ uuid: string;
187
+ title: string;
188
+ description: string;
193
189
  aiModel: string;
194
190
  isNew: boolean;
195
191
  tierLabel: string;
196
192
  pricePerImage: number;
193
+ order: number;
194
+ status: import("../..").TOOL_MODEL_STATUS;
197
195
  icons: {
198
196
  light: {
199
197
  png?: string | undefined;
@@ -206,9 +204,30 @@ export declare namespace GetImageEditorConfigCommand {
206
204
  };
207
205
  strategy: import("../..").IMAGE_EDITING_STRATEGY;
208
206
  maxInputLength: number;
207
+ params: {
208
+ imageAttachment: {
209
+ supported: boolean;
210
+ maxImages: number;
211
+ acceptedTypes: string[];
212
+ };
213
+ aspectRatio: Record<string, {
214
+ width: number;
215
+ height: number;
216
+ }>;
217
+ resolution?: {
218
+ options: string[];
219
+ } | undefined;
220
+ };
221
+ pricingRules: {
222
+ condition: {
223
+ withoutSub?: boolean | undefined;
224
+ };
225
+ value: number;
226
+ }[];
227
+ canUse: boolean;
228
+ statusCheckEndpoint?: string | null | undefined;
209
229
  createdAt?: string | Date | undefined;
210
230
  updatedAt?: string | Date | undefined;
211
- statusCheckEndpoint?: string | null | undefined;
212
231
  }>, "many">;
213
232
  promptGroups: z.ZodArray<z.ZodObject<{
214
233
  uuid: z.ZodString;
@@ -270,37 +289,36 @@ export declare namespace GetImageEditorConfigCommand {
270
289
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
271
290
  }, "strip", z.ZodTypeAny, {
272
291
  uuid: string;
273
- description: string;
274
292
  title: string;
275
- order: number;
293
+ description: string;
294
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
276
295
  prompt: string;
277
296
  allowUserPrompt: boolean;
278
- groupId: string;
297
+ order: number;
279
298
  params?: Record<string, any> | undefined;
280
- createdAt?: string | Date | undefined;
281
- updatedAt?: string | Date | undefined;
282
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
283
299
  preview?: Record<string, any> | undefined;
284
300
  placeholder?: string | null | undefined;
301
+ groupId: string;
302
+ createdAt?: string | Date | undefined;
303
+ updatedAt?: string | Date | undefined;
285
304
  }, {
286
305
  uuid: string;
287
- description: string;
288
306
  title: string;
289
- order: number;
307
+ description: string;
308
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
290
309
  prompt: string;
291
310
  allowUserPrompt: boolean;
292
- groupId: string;
311
+ order: number;
293
312
  params?: Record<string, any> | undefined;
294
- createdAt?: string | Date | undefined;
295
- updatedAt?: string | Date | undefined;
296
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
297
313
  preview?: Record<string, any> | undefined;
298
314
  placeholder?: string | null | undefined;
315
+ groupId: string;
316
+ createdAt?: string | Date | undefined;
317
+ updatedAt?: string | Date | undefined;
299
318
  }>, "many">;
300
319
  }, "strip", z.ZodTypeAny, {
301
320
  uuid: string;
302
321
  title: string;
303
- order: number;
304
322
  icons: {
305
323
  light: {
306
324
  png?: string | undefined;
@@ -311,25 +329,25 @@ export declare namespace GetImageEditorConfigCommand {
311
329
  svg?: string | undefined;
312
330
  };
313
331
  };
332
+ order: number;
314
333
  prompts: {
315
334
  uuid: string;
316
- description: string;
317
335
  title: string;
318
- order: number;
336
+ description: string;
337
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
319
338
  prompt: string;
320
339
  allowUserPrompt: boolean;
321
- groupId: string;
340
+ order: number;
322
341
  params?: Record<string, any> | undefined;
323
- createdAt?: string | Date | undefined;
324
- updatedAt?: string | Date | undefined;
325
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
326
342
  preview?: Record<string, any> | undefined;
327
343
  placeholder?: string | null | undefined;
344
+ groupId: string;
345
+ createdAt?: string | Date | undefined;
346
+ updatedAt?: string | Date | undefined;
328
347
  }[];
329
348
  }, {
330
349
  uuid: string;
331
350
  title: string;
332
- order: number;
333
351
  icons: {
334
352
  light: {
335
353
  png?: string | undefined;
@@ -340,51 +358,34 @@ export declare namespace GetImageEditorConfigCommand {
340
358
  svg?: string | undefined;
341
359
  };
342
360
  };
361
+ order: number;
343
362
  prompts: {
344
363
  uuid: string;
345
- description: string;
346
364
  title: string;
347
- order: number;
365
+ description: string;
366
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
348
367
  prompt: string;
349
368
  allowUserPrompt: boolean;
350
- groupId: string;
369
+ order: number;
351
370
  params?: Record<string, any> | undefined;
352
- createdAt?: string | Date | undefined;
353
- updatedAt?: string | Date | undefined;
354
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
355
371
  preview?: Record<string, any> | undefined;
356
372
  placeholder?: string | null | undefined;
373
+ groupId: string;
374
+ createdAt?: string | Date | undefined;
375
+ updatedAt?: string | Date | undefined;
357
376
  }[];
358
377
  }>, "many">;
359
378
  }, "strip", z.ZodTypeAny, {
360
379
  models: {
361
380
  uuid: string;
362
- status: import("../..").TOOL_MODEL_STATUS;
363
- params: {
364
- aspectRatio: Record<string, {
365
- width: number;
366
- height: number;
367
- }>;
368
- imageAttachment: {
369
- supported: boolean;
370
- maxImages: number;
371
- acceptedTypes: string[];
372
- };
373
- };
374
- canUse: boolean;
375
- description: string;
376
381
  title: string;
377
- pricingRules: {
378
- value: number;
379
- condition: {
380
- withoutSub?: boolean | undefined;
381
- };
382
- }[];
383
- order: number;
382
+ description: string;
384
383
  aiModel: string;
385
384
  isNew: boolean;
386
385
  tierLabel: string;
387
386
  pricePerImage: number;
387
+ order: number;
388
+ status: import("../..").TOOL_MODEL_STATUS;
388
389
  icons: {
389
390
  light: {
390
391
  png?: string | undefined;
@@ -397,14 +398,34 @@ export declare namespace GetImageEditorConfigCommand {
397
398
  };
398
399
  strategy: import("../..").IMAGE_EDITING_STRATEGY;
399
400
  maxInputLength: number;
401
+ params: {
402
+ imageAttachment: {
403
+ supported: boolean;
404
+ maxImages: number;
405
+ acceptedTypes: string[];
406
+ };
407
+ aspectRatio: Record<string, {
408
+ width: number;
409
+ height: number;
410
+ }>;
411
+ resolution?: {
412
+ options: string[];
413
+ } | undefined;
414
+ };
415
+ pricingRules: {
416
+ condition: {
417
+ withoutSub?: boolean | undefined;
418
+ };
419
+ value: number;
420
+ }[];
421
+ canUse: boolean;
422
+ statusCheckEndpoint?: string | null | undefined;
400
423
  createdAt?: string | Date | undefined;
401
424
  updatedAt?: string | Date | undefined;
402
- statusCheckEndpoint?: string | null | undefined;
403
425
  }[];
404
426
  promptGroups: {
405
427
  uuid: string;
406
428
  title: string;
407
- order: number;
408
429
  icons: {
409
430
  light: {
410
431
  png?: string | undefined;
@@ -415,51 +436,34 @@ export declare namespace GetImageEditorConfigCommand {
415
436
  svg?: string | undefined;
416
437
  };
417
438
  };
439
+ order: number;
418
440
  prompts: {
419
441
  uuid: string;
420
- description: string;
421
442
  title: string;
422
- order: number;
443
+ description: string;
444
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
423
445
  prompt: string;
424
446
  allowUserPrompt: boolean;
425
- groupId: string;
447
+ order: number;
426
448
  params?: Record<string, any> | undefined;
427
- createdAt?: string | Date | undefined;
428
- updatedAt?: string | Date | undefined;
429
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
430
449
  preview?: Record<string, any> | undefined;
431
450
  placeholder?: string | null | undefined;
451
+ groupId: string;
452
+ createdAt?: string | Date | undefined;
453
+ updatedAt?: string | Date | undefined;
432
454
  }[];
433
455
  }[];
434
456
  }, {
435
457
  models: {
436
458
  uuid: string;
437
- status: import("../..").TOOL_MODEL_STATUS;
438
- params: {
439
- aspectRatio: Record<string, {
440
- width: number;
441
- height: number;
442
- }>;
443
- imageAttachment: {
444
- supported: boolean;
445
- maxImages: number;
446
- acceptedTypes: string[];
447
- };
448
- };
449
- canUse: boolean;
450
- description: string;
451
459
  title: string;
452
- pricingRules: {
453
- value: number;
454
- condition: {
455
- withoutSub?: boolean | undefined;
456
- };
457
- }[];
458
- order: number;
460
+ description: string;
459
461
  aiModel: string;
460
462
  isNew: boolean;
461
463
  tierLabel: string;
462
464
  pricePerImage: number;
465
+ order: number;
466
+ status: import("../..").TOOL_MODEL_STATUS;
463
467
  icons: {
464
468
  light: {
465
469
  png?: string | undefined;
@@ -472,14 +476,34 @@ export declare namespace GetImageEditorConfigCommand {
472
476
  };
473
477
  strategy: import("../..").IMAGE_EDITING_STRATEGY;
474
478
  maxInputLength: number;
479
+ params: {
480
+ imageAttachment: {
481
+ supported: boolean;
482
+ maxImages: number;
483
+ acceptedTypes: string[];
484
+ };
485
+ aspectRatio: Record<string, {
486
+ width: number;
487
+ height: number;
488
+ }>;
489
+ resolution?: {
490
+ options: string[];
491
+ } | undefined;
492
+ };
493
+ pricingRules: {
494
+ condition: {
495
+ withoutSub?: boolean | undefined;
496
+ };
497
+ value: number;
498
+ }[];
499
+ canUse: boolean;
500
+ statusCheckEndpoint?: string | null | undefined;
475
501
  createdAt?: string | Date | undefined;
476
502
  updatedAt?: string | Date | undefined;
477
- statusCheckEndpoint?: string | null | undefined;
478
503
  }[];
479
504
  promptGroups: {
480
505
  uuid: string;
481
506
  title: string;
482
- order: number;
483
507
  icons: {
484
508
  light: {
485
509
  png?: string | undefined;
@@ -490,20 +514,21 @@ export declare namespace GetImageEditorConfigCommand {
490
514
  svg?: string | undefined;
491
515
  };
492
516
  };
517
+ order: number;
493
518
  prompts: {
494
519
  uuid: string;
495
- description: string;
496
520
  title: string;
497
- order: number;
521
+ description: string;
522
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
498
523
  prompt: string;
499
524
  allowUserPrompt: boolean;
500
- groupId: string;
525
+ order: number;
501
526
  params?: Record<string, any> | undefined;
502
- createdAt?: string | Date | undefined;
503
- updatedAt?: string | Date | undefined;
504
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
505
527
  preview?: Record<string, any> | undefined;
506
528
  placeholder?: string | null | undefined;
529
+ groupId: string;
530
+ createdAt?: string | Date | undefined;
531
+ updatedAt?: string | Date | undefined;
507
532
  }[];
508
533
  }[];
509
534
  }>;
@@ -511,32 +536,14 @@ export declare namespace GetImageEditorConfigCommand {
511
536
  data: {
512
537
  models: {
513
538
  uuid: string;
514
- status: import("../..").TOOL_MODEL_STATUS;
515
- params: {
516
- aspectRatio: Record<string, {
517
- width: number;
518
- height: number;
519
- }>;
520
- imageAttachment: {
521
- supported: boolean;
522
- maxImages: number;
523
- acceptedTypes: string[];
524
- };
525
- };
526
- canUse: boolean;
527
- description: string;
528
539
  title: string;
529
- pricingRules: {
530
- value: number;
531
- condition: {
532
- withoutSub?: boolean | undefined;
533
- };
534
- }[];
535
- order: number;
540
+ description: string;
536
541
  aiModel: string;
537
542
  isNew: boolean;
538
543
  tierLabel: string;
539
544
  pricePerImage: number;
545
+ order: number;
546
+ status: import("../..").TOOL_MODEL_STATUS;
540
547
  icons: {
541
548
  light: {
542
549
  png?: string | undefined;
@@ -549,14 +556,34 @@ export declare namespace GetImageEditorConfigCommand {
549
556
  };
550
557
  strategy: import("../..").IMAGE_EDITING_STRATEGY;
551
558
  maxInputLength: number;
559
+ params: {
560
+ imageAttachment: {
561
+ supported: boolean;
562
+ maxImages: number;
563
+ acceptedTypes: string[];
564
+ };
565
+ aspectRatio: Record<string, {
566
+ width: number;
567
+ height: number;
568
+ }>;
569
+ resolution?: {
570
+ options: string[];
571
+ } | undefined;
572
+ };
573
+ pricingRules: {
574
+ condition: {
575
+ withoutSub?: boolean | undefined;
576
+ };
577
+ value: number;
578
+ }[];
579
+ canUse: boolean;
580
+ statusCheckEndpoint?: string | null | undefined;
552
581
  createdAt?: string | Date | undefined;
553
582
  updatedAt?: string | Date | undefined;
554
- statusCheckEndpoint?: string | null | undefined;
555
583
  }[];
556
584
  promptGroups: {
557
585
  uuid: string;
558
586
  title: string;
559
- order: number;
560
587
  icons: {
561
588
  light: {
562
589
  png?: string | undefined;
@@ -567,20 +594,21 @@ export declare namespace GetImageEditorConfigCommand {
567
594
  svg?: string | undefined;
568
595
  };
569
596
  };
597
+ order: number;
570
598
  prompts: {
571
599
  uuid: string;
572
- description: string;
573
600
  title: string;
574
- order: number;
601
+ description: string;
602
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
575
603
  prompt: string;
576
604
  allowUserPrompt: boolean;
577
- groupId: string;
605
+ order: number;
578
606
  params?: Record<string, any> | undefined;
579
- createdAt?: string | Date | undefined;
580
- updatedAt?: string | Date | undefined;
581
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
582
607
  preview?: Record<string, any> | undefined;
583
608
  placeholder?: string | null | undefined;
609
+ groupId: string;
610
+ createdAt?: string | Date | undefined;
611
+ updatedAt?: string | Date | undefined;
584
612
  }[];
585
613
  }[];
586
614
  };
@@ -588,32 +616,14 @@ export declare namespace GetImageEditorConfigCommand {
588
616
  data: {
589
617
  models: {
590
618
  uuid: string;
591
- status: import("../..").TOOL_MODEL_STATUS;
592
- params: {
593
- aspectRatio: Record<string, {
594
- width: number;
595
- height: number;
596
- }>;
597
- imageAttachment: {
598
- supported: boolean;
599
- maxImages: number;
600
- acceptedTypes: string[];
601
- };
602
- };
603
- canUse: boolean;
604
- description: string;
605
619
  title: string;
606
- pricingRules: {
607
- value: number;
608
- condition: {
609
- withoutSub?: boolean | undefined;
610
- };
611
- }[];
612
- order: number;
620
+ description: string;
613
621
  aiModel: string;
614
622
  isNew: boolean;
615
623
  tierLabel: string;
616
624
  pricePerImage: number;
625
+ order: number;
626
+ status: import("../..").TOOL_MODEL_STATUS;
617
627
  icons: {
618
628
  light: {
619
629
  png?: string | undefined;
@@ -626,14 +636,34 @@ export declare namespace GetImageEditorConfigCommand {
626
636
  };
627
637
  strategy: import("../..").IMAGE_EDITING_STRATEGY;
628
638
  maxInputLength: number;
639
+ params: {
640
+ imageAttachment: {
641
+ supported: boolean;
642
+ maxImages: number;
643
+ acceptedTypes: string[];
644
+ };
645
+ aspectRatio: Record<string, {
646
+ width: number;
647
+ height: number;
648
+ }>;
649
+ resolution?: {
650
+ options: string[];
651
+ } | undefined;
652
+ };
653
+ pricingRules: {
654
+ condition: {
655
+ withoutSub?: boolean | undefined;
656
+ };
657
+ value: number;
658
+ }[];
659
+ canUse: boolean;
660
+ statusCheckEndpoint?: string | null | undefined;
629
661
  createdAt?: string | Date | undefined;
630
662
  updatedAt?: string | Date | undefined;
631
- statusCheckEndpoint?: string | null | undefined;
632
663
  }[];
633
664
  promptGroups: {
634
665
  uuid: string;
635
666
  title: string;
636
- order: number;
637
667
  icons: {
638
668
  light: {
639
669
  png?: string | undefined;
@@ -644,20 +674,21 @@ export declare namespace GetImageEditorConfigCommand {
644
674
  svg?: string | undefined;
645
675
  };
646
676
  };
677
+ order: number;
647
678
  prompts: {
648
679
  uuid: string;
649
- description: string;
650
680
  title: string;
651
- order: number;
681
+ description: string;
682
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
652
683
  prompt: string;
653
684
  allowUserPrompt: boolean;
654
- groupId: string;
685
+ order: number;
655
686
  params?: Record<string, any> | undefined;
656
- createdAt?: string | Date | undefined;
657
- updatedAt?: string | Date | undefined;
658
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
659
687
  preview?: Record<string, any> | undefined;
660
688
  placeholder?: string | null | undefined;
689
+ groupId: string;
690
+ createdAt?: string | Date | undefined;
691
+ updatedAt?: string | Date | undefined;
661
692
  }[];
662
693
  }[];
663
694
  };