@purpleschool/multisite 0.0.27 → 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 (184) 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/user/find-users.command.d.ts +16 -16
  176. package/build/queries/user/get-all-users.command.d.ts +8 -8
  177. package/build/queries/user/get-my-products.command.d.ts +10 -10
  178. package/build/queries/user/get-my-subscriptions.command.d.ts +36 -36
  179. package/build/queries/user/get-user-payments.command.d.ts +42 -42
  180. package/build/queries/user/get-user.command.d.ts +8 -8
  181. package/constants/email/email-endpoint.ts +1 -1
  182. package/constants/errors/errors.ts +10 -0
  183. package/models/image-editor/image-editor-job-request-params.schema.ts +1 -1
  184. package/package.json +1 -1
@@ -4,34 +4,34 @@ export declare namespace ExecuteImageEditorCommand {
4
4
  modelId: z.ZodString;
5
5
  prompt: z.ZodString;
6
6
  params: z.ZodObject<{
7
- imageUrls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
7
+ imageUrls: z.ZodArray<z.ZodString, "many">;
8
8
  systemPromptId: z.ZodOptional<z.ZodString>;
9
9
  aspectRatio: z.ZodOptional<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  imageUrls: string[];
12
- aspectRatio?: string | undefined;
13
12
  systemPromptId?: string | undefined;
14
- }, {
15
13
  aspectRatio?: string | undefined;
16
- imageUrls?: string[] | undefined;
14
+ }, {
15
+ imageUrls: string[];
17
16
  systemPromptId?: string | undefined;
17
+ aspectRatio?: string | undefined;
18
18
  }>;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ modelId: string;
21
+ prompt: string;
20
22
  params: {
21
23
  imageUrls: string[];
22
- aspectRatio?: string | undefined;
23
24
  systemPromptId?: string | undefined;
25
+ aspectRatio?: string | undefined;
24
26
  };
27
+ }, {
25
28
  modelId: string;
26
29
  prompt: string;
27
- }, {
28
30
  params: {
29
- aspectRatio?: string | undefined;
30
- imageUrls?: string[] | undefined;
31
+ imageUrls: string[];
31
32
  systemPromptId?: string | undefined;
33
+ aspectRatio?: string | undefined;
32
34
  };
33
- modelId: string;
34
- prompt: string;
35
35
  }>;
36
36
  type Request = z.infer<typeof RequestSchema>;
37
37
  const ResponseSchema: z.ZodObject<{
@@ -58,18 +58,18 @@ export declare namespace ExecuteImageEditorCommand {
58
58
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  uuid: string;
61
- type: import("../..").FILE_TYPE;
62
- name: string;
63
61
  url: string;
62
+ name: string;
64
63
  mimeType: string;
64
+ type: import("../..").FILE_TYPE;
65
65
  size: number;
66
66
  duration?: number | null | undefined;
67
67
  }, {
68
68
  uuid: string;
69
- type: import("../..").FILE_TYPE;
70
- name: string;
71
69
  url: string;
70
+ name: string;
72
71
  mimeType: string;
72
+ type: import("../..").FILE_TYPE;
73
73
  size: number;
74
74
  duration?: number | null | undefined;
75
75
  }>, "many">>;
@@ -78,32 +78,32 @@ export declare namespace ExecuteImageEditorCommand {
78
78
  aspectRatio: z.ZodOptional<z.ZodString>;
79
79
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
80
  }, "strip", z.ZodTypeAny, {
81
- aspectRatio?: string | undefined;
82
81
  attachedFiles?: {
83
82
  uuid: string;
84
- type: import("../..").FILE_TYPE;
85
- name: string;
86
83
  url: string;
84
+ name: string;
87
85
  mimeType: string;
86
+ type: import("../..").FILE_TYPE;
88
87
  size: number;
89
88
  duration?: number | null | undefined;
90
89
  }[] | undefined;
91
90
  imageUrls?: string[] | undefined;
92
91
  systemPromptId?: string | undefined;
92
+ aspectRatio?: string | undefined;
93
93
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
94
  }, {
95
- aspectRatio?: string | undefined;
96
95
  attachedFiles?: {
97
96
  uuid: string;
98
- type: import("../..").FILE_TYPE;
99
- name: string;
100
97
  url: string;
98
+ name: string;
101
99
  mimeType: string;
100
+ type: import("../..").FILE_TYPE;
102
101
  size: number;
103
102
  duration?: number | null | undefined;
104
103
  }[] | undefined;
105
104
  imageUrls?: string[] | undefined;
106
105
  systemPromptId?: string | undefined;
106
+ aspectRatio?: string | undefined;
107
107
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
108
  }>;
109
109
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -117,157 +117,157 @@ export declare namespace ExecuteImageEditorCommand {
117
117
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
118
118
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
119
119
  }, "strip", z.ZodTypeAny, {
120
- price: number;
121
120
  uuid: string;
121
+ prompt: string;
122
+ reaction: import("../..").USER_REACTION | null;
123
+ dislikeReason: string | null;
124
+ externalId: string | null;
125
+ title: string;
122
126
  status: import("../..").JOB_STATUS;
127
+ error: string | null;
128
+ internalError?: string | null | undefined;
129
+ modelId: string;
130
+ price: number;
123
131
  params: {
124
- aspectRatio?: string | undefined;
125
132
  attachedFiles?: {
126
133
  uuid: string;
127
- type: import("../..").FILE_TYPE;
128
- name: string;
129
134
  url: string;
135
+ name: string;
130
136
  mimeType: string;
137
+ type: import("../..").FILE_TYPE;
131
138
  size: number;
132
139
  duration?: number | null | undefined;
133
140
  }[] | undefined;
134
141
  imageUrls?: string[] | undefined;
135
142
  systemPromptId?: string | undefined;
143
+ aspectRatio?: string | undefined;
136
144
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
145
  };
138
- createdAt: string | Date;
139
- updatedAt: string | Date;
140
- title: string;
141
- error: string | null;
142
- modelId: string;
143
- prompt: string;
144
- reaction: import("../..").USER_REACTION | null;
145
- dislikeReason: string | null;
146
- externalId: string | null;
147
- attempts: any[];
148
- isDeleted: boolean;
149
146
  imageUrls: string[];
150
- postId: string | null;
147
+ attempts: any[];
151
148
  userId?: string | null | undefined;
152
149
  unregisteredUserId?: string | null | undefined;
153
- internalError?: string | null | undefined;
150
+ postId: string | null;
151
+ isDeleted: boolean;
154
152
  tokenReservationId?: string | null | undefined;
153
+ createdAt: string | Date;
155
154
  completedAt?: string | Date | null | undefined;
155
+ updatedAt: string | Date;
156
156
  }, {
157
- price: number;
158
157
  uuid: string;
158
+ prompt: string;
159
+ reaction: import("../..").USER_REACTION | null;
160
+ dislikeReason: string | null;
161
+ externalId: string | null;
162
+ title: string;
159
163
  status: import("../..").JOB_STATUS;
164
+ error: string | null;
165
+ internalError?: string | null | undefined;
166
+ modelId: string;
167
+ price: number;
160
168
  params: {
161
- aspectRatio?: string | undefined;
162
169
  attachedFiles?: {
163
170
  uuid: string;
164
- type: import("../..").FILE_TYPE;
165
- name: string;
166
171
  url: string;
172
+ name: string;
167
173
  mimeType: string;
174
+ type: import("../..").FILE_TYPE;
168
175
  size: number;
169
176
  duration?: number | null | undefined;
170
177
  }[] | undefined;
171
178
  imageUrls?: string[] | undefined;
172
179
  systemPromptId?: string | undefined;
180
+ aspectRatio?: string | undefined;
173
181
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
182
  };
175
- createdAt: string | Date;
176
- updatedAt: string | Date;
177
- title: string;
178
- error: string | null;
179
- modelId: string;
180
- prompt: string;
181
- reaction: import("../..").USER_REACTION | null;
182
- dislikeReason: string | null;
183
- externalId: string | null;
183
+ imageUrls?: string[] | undefined;
184
184
  attempts: any[];
185
- isDeleted: boolean;
186
- postId: string | null;
187
185
  userId?: string | null | undefined;
188
186
  unregisteredUserId?: string | null | undefined;
189
- internalError?: string | null | undefined;
187
+ postId: string | null;
188
+ isDeleted: boolean;
190
189
  tokenReservationId?: string | null | undefined;
190
+ createdAt: string | Date;
191
191
  completedAt?: string | Date | null | undefined;
192
- imageUrls?: string[] | undefined;
192
+ updatedAt: string | Date;
193
193
  }>;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  data: {
196
- price: number;
197
196
  uuid: string;
197
+ prompt: string;
198
+ reaction: import("../..").USER_REACTION | null;
199
+ dislikeReason: string | null;
200
+ externalId: string | null;
201
+ title: string;
198
202
  status: import("../..").JOB_STATUS;
203
+ error: string | null;
204
+ internalError?: string | null | undefined;
205
+ modelId: string;
206
+ price: number;
199
207
  params: {
200
- aspectRatio?: string | undefined;
201
208
  attachedFiles?: {
202
209
  uuid: string;
203
- type: import("../..").FILE_TYPE;
204
- name: string;
205
210
  url: string;
211
+ name: string;
206
212
  mimeType: string;
213
+ type: import("../..").FILE_TYPE;
207
214
  size: number;
208
215
  duration?: number | null | undefined;
209
216
  }[] | undefined;
210
217
  imageUrls?: string[] | undefined;
211
218
  systemPromptId?: string | undefined;
219
+ aspectRatio?: string | undefined;
212
220
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
221
  };
214
- createdAt: string | Date;
215
- updatedAt: string | Date;
216
- title: string;
217
- error: string | null;
218
- modelId: string;
219
- prompt: string;
220
- reaction: import("../..").USER_REACTION | null;
221
- dislikeReason: string | null;
222
- externalId: string | null;
223
- attempts: any[];
224
- isDeleted: boolean;
225
222
  imageUrls: string[];
226
- postId: string | null;
223
+ attempts: any[];
227
224
  userId?: string | null | undefined;
228
225
  unregisteredUserId?: string | null | undefined;
229
- internalError?: string | null | undefined;
226
+ postId: string | null;
227
+ isDeleted: boolean;
230
228
  tokenReservationId?: string | null | undefined;
229
+ createdAt: string | Date;
231
230
  completedAt?: string | Date | null | undefined;
231
+ updatedAt: string | Date;
232
232
  };
233
233
  }, {
234
234
  data: {
235
- price: number;
236
235
  uuid: string;
236
+ prompt: string;
237
+ reaction: import("../..").USER_REACTION | null;
238
+ dislikeReason: string | null;
239
+ externalId: string | null;
240
+ title: string;
237
241
  status: import("../..").JOB_STATUS;
242
+ error: string | null;
243
+ internalError?: string | null | undefined;
244
+ modelId: string;
245
+ price: number;
238
246
  params: {
239
- aspectRatio?: string | undefined;
240
247
  attachedFiles?: {
241
248
  uuid: string;
242
- type: import("../..").FILE_TYPE;
243
- name: string;
244
249
  url: string;
250
+ name: string;
245
251
  mimeType: string;
252
+ type: import("../..").FILE_TYPE;
246
253
  size: number;
247
254
  duration?: number | null | undefined;
248
255
  }[] | undefined;
249
256
  imageUrls?: string[] | undefined;
250
257
  systemPromptId?: string | undefined;
258
+ aspectRatio?: string | undefined;
251
259
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
260
  };
253
- createdAt: string | Date;
254
- updatedAt: string | Date;
255
- title: string;
256
- error: string | null;
257
- modelId: string;
258
- prompt: string;
259
- reaction: import("../..").USER_REACTION | null;
260
- dislikeReason: string | null;
261
- externalId: string | null;
261
+ imageUrls?: string[] | undefined;
262
262
  attempts: any[];
263
- isDeleted: boolean;
264
- postId: string | null;
265
263
  userId?: string | null | undefined;
266
264
  unregisteredUserId?: string | null | undefined;
267
- internalError?: string | null | undefined;
265
+ postId: string | null;
266
+ isDeleted: boolean;
268
267
  tokenReservationId?: string | null | undefined;
268
+ createdAt: string | Date;
269
269
  completedAt?: string | Date | null | undefined;
270
- imageUrls?: string[] | undefined;
270
+ updatedAt: string | Date;
271
271
  };
272
272
  }>;
273
273
  type Response = z.infer<typeof ResponseSchema>;
@@ -6,12 +6,12 @@ export declare namespace ProxyImageEditorCallbackCommand {
6
6
  error: z.ZodOptional<z.ZodString>;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  jobId: string;
9
- error?: string | undefined;
10
9
  imageUrl?: string | undefined;
10
+ error?: string | undefined;
11
11
  }, {
12
12
  jobId: string;
13
- error?: string | undefined;
14
13
  imageUrl?: string | undefined;
14
+ error?: string | undefined;
15
15
  }>;
16
16
  type Request = z.infer<typeof RequestSchema>;
17
17
  const ResponseSchema: z.ZodObject<{
@@ -4,34 +4,34 @@ export declare namespace RetryImageEditorJobCommand {
4
4
  prompt: z.ZodOptional<z.ZodString>;
5
5
  modelId: z.ZodOptional<z.ZodString>;
6
6
  params: z.ZodOptional<z.ZodObject<{
7
- imageUrls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
7
+ imageUrls: z.ZodArray<z.ZodString, "many">;
8
8
  systemPromptId: z.ZodOptional<z.ZodString>;
9
9
  aspectRatio: z.ZodOptional<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  imageUrls: string[];
12
- aspectRatio?: string | undefined;
13
12
  systemPromptId?: string | undefined;
14
- }, {
15
13
  aspectRatio?: string | undefined;
16
- imageUrls?: string[] | undefined;
14
+ }, {
15
+ imageUrls: string[];
17
16
  systemPromptId?: string | undefined;
17
+ aspectRatio?: string | undefined;
18
18
  }>>;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ prompt?: string | undefined;
21
+ modelId?: string | undefined;
20
22
  params?: {
21
23
  imageUrls: string[];
22
- aspectRatio?: string | undefined;
23
24
  systemPromptId?: string | undefined;
25
+ aspectRatio?: string | undefined;
24
26
  } | undefined;
25
- modelId?: string | undefined;
26
- prompt?: string | undefined;
27
27
  }, {
28
+ prompt?: string | undefined;
29
+ modelId?: string | undefined;
28
30
  params?: {
29
- aspectRatio?: string | undefined;
30
- imageUrls?: string[] | undefined;
31
+ imageUrls: string[];
31
32
  systemPromptId?: string | undefined;
33
+ aspectRatio?: string | undefined;
32
34
  } | undefined;
33
- modelId?: string | undefined;
34
- prompt?: string | undefined;
35
35
  }>;
36
36
  type Request = z.infer<typeof RequestSchema>;
37
37
  const ResponseSchema: z.ZodObject<{
@@ -58,18 +58,18 @@ export declare namespace RetryImageEditorJobCommand {
58
58
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  uuid: string;
61
- type: import("../..").FILE_TYPE;
62
- name: string;
63
61
  url: string;
62
+ name: string;
64
63
  mimeType: string;
64
+ type: import("../..").FILE_TYPE;
65
65
  size: number;
66
66
  duration?: number | null | undefined;
67
67
  }, {
68
68
  uuid: string;
69
- type: import("../..").FILE_TYPE;
70
- name: string;
71
69
  url: string;
70
+ name: string;
72
71
  mimeType: string;
72
+ type: import("../..").FILE_TYPE;
73
73
  size: number;
74
74
  duration?: number | null | undefined;
75
75
  }>, "many">>;
@@ -78,32 +78,32 @@ export declare namespace RetryImageEditorJobCommand {
78
78
  aspectRatio: z.ZodOptional<z.ZodString>;
79
79
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
80
  }, "strip", z.ZodTypeAny, {
81
- aspectRatio?: string | undefined;
82
81
  attachedFiles?: {
83
82
  uuid: string;
84
- type: import("../..").FILE_TYPE;
85
- name: string;
86
83
  url: string;
84
+ name: string;
87
85
  mimeType: string;
86
+ type: import("../..").FILE_TYPE;
88
87
  size: number;
89
88
  duration?: number | null | undefined;
90
89
  }[] | undefined;
91
90
  imageUrls?: string[] | undefined;
92
91
  systemPromptId?: string | undefined;
92
+ aspectRatio?: string | undefined;
93
93
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
94
  }, {
95
- aspectRatio?: string | undefined;
96
95
  attachedFiles?: {
97
96
  uuid: string;
98
- type: import("../..").FILE_TYPE;
99
- name: string;
100
97
  url: string;
98
+ name: string;
101
99
  mimeType: string;
100
+ type: import("../..").FILE_TYPE;
102
101
  size: number;
103
102
  duration?: number | null | undefined;
104
103
  }[] | undefined;
105
104
  imageUrls?: string[] | undefined;
106
105
  systemPromptId?: string | undefined;
106
+ aspectRatio?: string | undefined;
107
107
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
108
  }>;
109
109
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -117,157 +117,157 @@ export declare namespace RetryImageEditorJobCommand {
117
117
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
118
118
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
119
119
  }, "strip", z.ZodTypeAny, {
120
- price: number;
121
120
  uuid: string;
121
+ prompt: string;
122
+ reaction: import("../..").USER_REACTION | null;
123
+ dislikeReason: string | null;
124
+ externalId: string | null;
125
+ title: string;
122
126
  status: import("../..").JOB_STATUS;
127
+ error: string | null;
128
+ internalError?: string | null | undefined;
129
+ modelId: string;
130
+ price: number;
123
131
  params: {
124
- aspectRatio?: string | undefined;
125
132
  attachedFiles?: {
126
133
  uuid: string;
127
- type: import("../..").FILE_TYPE;
128
- name: string;
129
134
  url: string;
135
+ name: string;
130
136
  mimeType: string;
137
+ type: import("../..").FILE_TYPE;
131
138
  size: number;
132
139
  duration?: number | null | undefined;
133
140
  }[] | undefined;
134
141
  imageUrls?: string[] | undefined;
135
142
  systemPromptId?: string | undefined;
143
+ aspectRatio?: string | undefined;
136
144
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
145
  };
138
- createdAt: string | Date;
139
- updatedAt: string | Date;
140
- title: string;
141
- error: string | null;
142
- modelId: string;
143
- prompt: string;
144
- reaction: import("../..").USER_REACTION | null;
145
- dislikeReason: string | null;
146
- externalId: string | null;
147
- attempts: any[];
148
- isDeleted: boolean;
149
146
  imageUrls: string[];
150
- postId: string | null;
147
+ attempts: any[];
151
148
  userId?: string | null | undefined;
152
149
  unregisteredUserId?: string | null | undefined;
153
- internalError?: string | null | undefined;
150
+ postId: string | null;
151
+ isDeleted: boolean;
154
152
  tokenReservationId?: string | null | undefined;
153
+ createdAt: string | Date;
155
154
  completedAt?: string | Date | null | undefined;
155
+ updatedAt: string | Date;
156
156
  }, {
157
- price: number;
158
157
  uuid: string;
158
+ prompt: string;
159
+ reaction: import("../..").USER_REACTION | null;
160
+ dislikeReason: string | null;
161
+ externalId: string | null;
162
+ title: string;
159
163
  status: import("../..").JOB_STATUS;
164
+ error: string | null;
165
+ internalError?: string | null | undefined;
166
+ modelId: string;
167
+ price: number;
160
168
  params: {
161
- aspectRatio?: string | undefined;
162
169
  attachedFiles?: {
163
170
  uuid: string;
164
- type: import("../..").FILE_TYPE;
165
- name: string;
166
171
  url: string;
172
+ name: string;
167
173
  mimeType: string;
174
+ type: import("../..").FILE_TYPE;
168
175
  size: number;
169
176
  duration?: number | null | undefined;
170
177
  }[] | undefined;
171
178
  imageUrls?: string[] | undefined;
172
179
  systemPromptId?: string | undefined;
180
+ aspectRatio?: string | undefined;
173
181
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
182
  };
175
- createdAt: string | Date;
176
- updatedAt: string | Date;
177
- title: string;
178
- error: string | null;
179
- modelId: string;
180
- prompt: string;
181
- reaction: import("../..").USER_REACTION | null;
182
- dislikeReason: string | null;
183
- externalId: string | null;
183
+ imageUrls?: string[] | undefined;
184
184
  attempts: any[];
185
- isDeleted: boolean;
186
- postId: string | null;
187
185
  userId?: string | null | undefined;
188
186
  unregisteredUserId?: string | null | undefined;
189
- internalError?: string | null | undefined;
187
+ postId: string | null;
188
+ isDeleted: boolean;
190
189
  tokenReservationId?: string | null | undefined;
190
+ createdAt: string | Date;
191
191
  completedAt?: string | Date | null | undefined;
192
- imageUrls?: string[] | undefined;
192
+ updatedAt: string | Date;
193
193
  }>;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  data: {
196
- price: number;
197
196
  uuid: string;
197
+ prompt: string;
198
+ reaction: import("../..").USER_REACTION | null;
199
+ dislikeReason: string | null;
200
+ externalId: string | null;
201
+ title: string;
198
202
  status: import("../..").JOB_STATUS;
203
+ error: string | null;
204
+ internalError?: string | null | undefined;
205
+ modelId: string;
206
+ price: number;
199
207
  params: {
200
- aspectRatio?: string | undefined;
201
208
  attachedFiles?: {
202
209
  uuid: string;
203
- type: import("../..").FILE_TYPE;
204
- name: string;
205
210
  url: string;
211
+ name: string;
206
212
  mimeType: string;
213
+ type: import("../..").FILE_TYPE;
207
214
  size: number;
208
215
  duration?: number | null | undefined;
209
216
  }[] | undefined;
210
217
  imageUrls?: string[] | undefined;
211
218
  systemPromptId?: string | undefined;
219
+ aspectRatio?: string | undefined;
212
220
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
221
  };
214
- createdAt: string | Date;
215
- updatedAt: string | Date;
216
- title: string;
217
- error: string | null;
218
- modelId: string;
219
- prompt: string;
220
- reaction: import("../..").USER_REACTION | null;
221
- dislikeReason: string | null;
222
- externalId: string | null;
223
- attempts: any[];
224
- isDeleted: boolean;
225
222
  imageUrls: string[];
226
- postId: string | null;
223
+ attempts: any[];
227
224
  userId?: string | null | undefined;
228
225
  unregisteredUserId?: string | null | undefined;
229
- internalError?: string | null | undefined;
226
+ postId: string | null;
227
+ isDeleted: boolean;
230
228
  tokenReservationId?: string | null | undefined;
229
+ createdAt: string | Date;
231
230
  completedAt?: string | Date | null | undefined;
231
+ updatedAt: string | Date;
232
232
  };
233
233
  }, {
234
234
  data: {
235
- price: number;
236
235
  uuid: string;
236
+ prompt: string;
237
+ reaction: import("../..").USER_REACTION | null;
238
+ dislikeReason: string | null;
239
+ externalId: string | null;
240
+ title: string;
237
241
  status: import("../..").JOB_STATUS;
242
+ error: string | null;
243
+ internalError?: string | null | undefined;
244
+ modelId: string;
245
+ price: number;
238
246
  params: {
239
- aspectRatio?: string | undefined;
240
247
  attachedFiles?: {
241
248
  uuid: string;
242
- type: import("../..").FILE_TYPE;
243
- name: string;
244
249
  url: string;
250
+ name: string;
245
251
  mimeType: string;
252
+ type: import("../..").FILE_TYPE;
246
253
  size: number;
247
254
  duration?: number | null | undefined;
248
255
  }[] | undefined;
249
256
  imageUrls?: string[] | undefined;
250
257
  systemPromptId?: string | undefined;
258
+ aspectRatio?: string | undefined;
251
259
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
260
  };
253
- createdAt: string | Date;
254
- updatedAt: string | Date;
255
- title: string;
256
- error: string | null;
257
- modelId: string;
258
- prompt: string;
259
- reaction: import("../..").USER_REACTION | null;
260
- dislikeReason: string | null;
261
- externalId: string | null;
261
+ imageUrls?: string[] | undefined;
262
262
  attempts: any[];
263
- isDeleted: boolean;
264
- postId: string | null;
265
263
  userId?: string | null | undefined;
266
264
  unregisteredUserId?: string | null | undefined;
267
- internalError?: string | null | undefined;
265
+ postId: string | null;
266
+ isDeleted: boolean;
268
267
  tokenReservationId?: string | null | undefined;
268
+ createdAt: string | Date;
269
269
  completedAt?: string | Date | null | undefined;
270
- imageUrls?: string[] | undefined;
270
+ updatedAt: string | Date;
271
271
  };
272
272
  }>;
273
273
  type Response = z.infer<typeof ResponseSchema>;