@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
@@ -4,34 +4,39 @@ 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
+ resolution: z.ZodOptional<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  imageUrls: string[];
12
- aspectRatio?: string | undefined;
13
13
  systemPromptId?: string | undefined;
14
- }, {
15
14
  aspectRatio?: string | undefined;
16
- imageUrls?: string[] | undefined;
15
+ resolution?: string | undefined;
16
+ }, {
17
+ imageUrls: string[];
17
18
  systemPromptId?: string | undefined;
19
+ aspectRatio?: string | undefined;
20
+ resolution?: string | undefined;
18
21
  }>>;
19
22
  }, "strip", z.ZodTypeAny, {
23
+ prompt?: string | undefined;
24
+ modelId?: string | undefined;
20
25
  params?: {
21
26
  imageUrls: string[];
22
- aspectRatio?: string | undefined;
23
27
  systemPromptId?: string | undefined;
28
+ aspectRatio?: string | undefined;
29
+ resolution?: string | undefined;
24
30
  } | undefined;
25
- modelId?: string | undefined;
26
- prompt?: string | undefined;
27
31
  }, {
32
+ prompt?: string | undefined;
33
+ modelId?: string | undefined;
28
34
  params?: {
29
- aspectRatio?: string | undefined;
30
- imageUrls?: string[] | undefined;
35
+ imageUrls: string[];
31
36
  systemPromptId?: string | undefined;
37
+ aspectRatio?: string | undefined;
38
+ resolution?: string | undefined;
32
39
  } | undefined;
33
- modelId?: string | undefined;
34
- prompt?: string | undefined;
35
40
  }>;
36
41
  type Request = z.infer<typeof RequestSchema>;
37
42
  const ResponseSchema: z.ZodObject<{
@@ -58,52 +63,55 @@ export declare namespace RetryImageEditorJobCommand {
58
63
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
64
  }, "strip", z.ZodTypeAny, {
60
65
  uuid: string;
61
- type: import("../..").FILE_TYPE;
62
- name: string;
63
66
  url: string;
67
+ name: string;
64
68
  mimeType: string;
69
+ type: import("../..").FILE_TYPE;
65
70
  size: number;
66
71
  duration?: number | null | undefined;
67
72
  }, {
68
73
  uuid: string;
69
- type: import("../..").FILE_TYPE;
70
- name: string;
71
74
  url: string;
75
+ name: string;
72
76
  mimeType: string;
77
+ type: import("../..").FILE_TYPE;
73
78
  size: number;
74
79
  duration?: number | null | undefined;
75
80
  }>, "many">>;
76
81
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
82
  systemPromptId: z.ZodOptional<z.ZodString>;
78
83
  aspectRatio: z.ZodOptional<z.ZodString>;
84
+ resolution: z.ZodOptional<z.ZodString>;
79
85
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
86
  }, "strip", z.ZodTypeAny, {
81
- aspectRatio?: string | undefined;
82
87
  attachedFiles?: {
83
88
  uuid: string;
84
- type: import("../..").FILE_TYPE;
85
- name: string;
86
89
  url: string;
90
+ name: string;
87
91
  mimeType: string;
92
+ type: import("../..").FILE_TYPE;
88
93
  size: number;
89
94
  duration?: number | null | undefined;
90
95
  }[] | undefined;
91
96
  imageUrls?: string[] | undefined;
92
97
  systemPromptId?: string | undefined;
98
+ aspectRatio?: string | undefined;
99
+ resolution?: string | undefined;
93
100
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
101
  }, {
95
- aspectRatio?: string | undefined;
96
102
  attachedFiles?: {
97
103
  uuid: string;
98
- type: import("../..").FILE_TYPE;
99
- name: string;
100
104
  url: string;
105
+ name: string;
101
106
  mimeType: string;
107
+ type: import("../..").FILE_TYPE;
102
108
  size: number;
103
109
  duration?: number | null | undefined;
104
110
  }[] | undefined;
105
111
  imageUrls?: string[] | undefined;
106
112
  systemPromptId?: string | undefined;
113
+ aspectRatio?: string | undefined;
114
+ resolution?: string | undefined;
107
115
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
116
  }>;
109
117
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -117,157 +125,161 @@ export declare namespace RetryImageEditorJobCommand {
117
125
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
118
126
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
119
127
  }, "strip", z.ZodTypeAny, {
120
- price: number;
121
128
  uuid: string;
129
+ prompt: string;
130
+ reaction: import("../..").USER_REACTION | null;
131
+ dislikeReason: string | null;
132
+ externalId: string | null;
133
+ title: string;
122
134
  status: import("../..").JOB_STATUS;
135
+ error: string | null;
136
+ internalError?: string | null | undefined;
137
+ modelId: string;
138
+ price: number;
123
139
  params: {
124
- aspectRatio?: string | undefined;
125
140
  attachedFiles?: {
126
141
  uuid: string;
127
- type: import("../..").FILE_TYPE;
128
- name: string;
129
142
  url: string;
143
+ name: string;
130
144
  mimeType: string;
145
+ type: import("../..").FILE_TYPE;
131
146
  size: number;
132
147
  duration?: number | null | undefined;
133
148
  }[] | undefined;
134
149
  imageUrls?: string[] | undefined;
135
150
  systemPromptId?: string | undefined;
151
+ aspectRatio?: string | undefined;
152
+ resolution?: string | undefined;
136
153
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
154
  };
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
155
  imageUrls: string[];
150
- postId: string | null;
156
+ attempts: any[];
151
157
  userId?: string | null | undefined;
152
158
  unregisteredUserId?: string | null | undefined;
153
- internalError?: string | null | undefined;
159
+ postId: string | null;
160
+ isDeleted: boolean;
154
161
  tokenReservationId?: string | null | undefined;
162
+ createdAt: string | Date;
155
163
  completedAt?: string | Date | null | undefined;
164
+ updatedAt: string | Date;
156
165
  }, {
157
- price: number;
158
166
  uuid: string;
167
+ prompt: string;
168
+ reaction: import("../..").USER_REACTION | null;
169
+ dislikeReason: string | null;
170
+ externalId: string | null;
171
+ title: string;
159
172
  status: import("../..").JOB_STATUS;
173
+ error: string | null;
174
+ internalError?: string | null | undefined;
175
+ modelId: string;
176
+ price: number;
160
177
  params: {
161
- aspectRatio?: string | undefined;
162
178
  attachedFiles?: {
163
179
  uuid: string;
164
- type: import("../..").FILE_TYPE;
165
- name: string;
166
180
  url: string;
181
+ name: string;
167
182
  mimeType: string;
183
+ type: import("../..").FILE_TYPE;
168
184
  size: number;
169
185
  duration?: number | null | undefined;
170
186
  }[] | undefined;
171
187
  imageUrls?: string[] | undefined;
172
188
  systemPromptId?: string | undefined;
189
+ aspectRatio?: string | undefined;
190
+ resolution?: string | undefined;
173
191
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
192
  };
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;
193
+ imageUrls?: string[] | undefined;
184
194
  attempts: any[];
185
- isDeleted: boolean;
186
- postId: string | null;
187
195
  userId?: string | null | undefined;
188
196
  unregisteredUserId?: string | null | undefined;
189
- internalError?: string | null | undefined;
197
+ postId: string | null;
198
+ isDeleted: boolean;
190
199
  tokenReservationId?: string | null | undefined;
200
+ createdAt: string | Date;
191
201
  completedAt?: string | Date | null | undefined;
192
- imageUrls?: string[] | undefined;
202
+ updatedAt: string | Date;
193
203
  }>;
194
204
  }, "strip", z.ZodTypeAny, {
195
205
  data: {
196
- price: number;
197
206
  uuid: string;
207
+ prompt: string;
208
+ reaction: import("../..").USER_REACTION | null;
209
+ dislikeReason: string | null;
210
+ externalId: string | null;
211
+ title: string;
198
212
  status: import("../..").JOB_STATUS;
213
+ error: string | null;
214
+ internalError?: string | null | undefined;
215
+ modelId: string;
216
+ price: number;
199
217
  params: {
200
- aspectRatio?: string | undefined;
201
218
  attachedFiles?: {
202
219
  uuid: string;
203
- type: import("../..").FILE_TYPE;
204
- name: string;
205
220
  url: string;
221
+ name: string;
206
222
  mimeType: string;
223
+ type: import("../..").FILE_TYPE;
207
224
  size: number;
208
225
  duration?: number | null | undefined;
209
226
  }[] | undefined;
210
227
  imageUrls?: string[] | undefined;
211
228
  systemPromptId?: string | undefined;
229
+ aspectRatio?: string | undefined;
230
+ resolution?: string | undefined;
212
231
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
232
  };
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
233
  imageUrls: string[];
226
- postId: string | null;
234
+ attempts: any[];
227
235
  userId?: string | null | undefined;
228
236
  unregisteredUserId?: string | null | undefined;
229
- internalError?: string | null | undefined;
237
+ postId: string | null;
238
+ isDeleted: boolean;
230
239
  tokenReservationId?: string | null | undefined;
240
+ createdAt: string | Date;
231
241
  completedAt?: string | Date | null | undefined;
242
+ updatedAt: string | Date;
232
243
  };
233
244
  }, {
234
245
  data: {
235
- price: number;
236
246
  uuid: string;
247
+ prompt: string;
248
+ reaction: import("../..").USER_REACTION | null;
249
+ dislikeReason: string | null;
250
+ externalId: string | null;
251
+ title: string;
237
252
  status: import("../..").JOB_STATUS;
253
+ error: string | null;
254
+ internalError?: string | null | undefined;
255
+ modelId: string;
256
+ price: number;
238
257
  params: {
239
- aspectRatio?: string | undefined;
240
258
  attachedFiles?: {
241
259
  uuid: string;
242
- type: import("../..").FILE_TYPE;
243
- name: string;
244
260
  url: string;
261
+ name: string;
245
262
  mimeType: string;
263
+ type: import("../..").FILE_TYPE;
246
264
  size: number;
247
265
  duration?: number | null | undefined;
248
266
  }[] | undefined;
249
267
  imageUrls?: string[] | undefined;
250
268
  systemPromptId?: string | undefined;
269
+ aspectRatio?: string | undefined;
270
+ resolution?: string | undefined;
251
271
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
272
  };
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;
273
+ imageUrls?: string[] | undefined;
262
274
  attempts: any[];
263
- isDeleted: boolean;
264
- postId: string | null;
265
275
  userId?: string | null | undefined;
266
276
  unregisteredUserId?: string | null | undefined;
267
- internalError?: string | null | undefined;
277
+ postId: string | null;
278
+ isDeleted: boolean;
268
279
  tokenReservationId?: string | null | undefined;
280
+ createdAt: string | Date;
269
281
  completedAt?: string | Date | null | undefined;
270
- imageUrls?: string[] | undefined;
282
+ updatedAt: string | Date;
271
283
  };
272
284
  }>;
273
285
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"retry-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/retry-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"retry-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/retry-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -36,52 +36,55 @@ export declare namespace SetReactionToImageEditorJobCommand {
36
36
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  uuid: string;
39
- type: import("../..").FILE_TYPE;
40
- name: string;
41
39
  url: string;
40
+ name: string;
42
41
  mimeType: string;
42
+ type: import("../..").FILE_TYPE;
43
43
  size: number;
44
44
  duration?: number | null | undefined;
45
45
  }, {
46
46
  uuid: string;
47
- type: import("../..").FILE_TYPE;
48
- name: string;
49
47
  url: string;
48
+ name: string;
50
49
  mimeType: string;
50
+ type: import("../..").FILE_TYPE;
51
51
  size: number;
52
52
  duration?: number | null | undefined;
53
53
  }>, "many">>;
54
54
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55
55
  systemPromptId: z.ZodOptional<z.ZodString>;
56
56
  aspectRatio: z.ZodOptional<z.ZodString>;
57
+ resolution: z.ZodOptional<z.ZodString>;
57
58
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
58
59
  }, "strip", z.ZodTypeAny, {
59
- aspectRatio?: string | undefined;
60
60
  attachedFiles?: {
61
61
  uuid: string;
62
- type: import("../..").FILE_TYPE;
63
- name: string;
64
62
  url: string;
63
+ name: string;
65
64
  mimeType: string;
65
+ type: import("../..").FILE_TYPE;
66
66
  size: number;
67
67
  duration?: number | null | undefined;
68
68
  }[] | undefined;
69
69
  imageUrls?: string[] | undefined;
70
70
  systemPromptId?: string | undefined;
71
+ aspectRatio?: string | undefined;
72
+ resolution?: string | undefined;
71
73
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
72
74
  }, {
73
- aspectRatio?: string | undefined;
74
75
  attachedFiles?: {
75
76
  uuid: string;
76
- type: import("../..").FILE_TYPE;
77
- name: string;
78
77
  url: string;
78
+ name: string;
79
79
  mimeType: string;
80
+ type: import("../..").FILE_TYPE;
80
81
  size: number;
81
82
  duration?: number | null | undefined;
82
83
  }[] | undefined;
83
84
  imageUrls?: string[] | undefined;
84
85
  systemPromptId?: string | undefined;
86
+ aspectRatio?: string | undefined;
87
+ resolution?: string | undefined;
85
88
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
86
89
  }>;
87
90
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -95,157 +98,161 @@ export declare namespace SetReactionToImageEditorJobCommand {
95
98
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
96
99
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
97
100
  }, "strip", z.ZodTypeAny, {
98
- price: number;
99
101
  uuid: string;
102
+ prompt: string;
103
+ reaction: USER_REACTION | null;
104
+ dislikeReason: string | null;
105
+ externalId: string | null;
106
+ title: string;
100
107
  status: import("../..").JOB_STATUS;
108
+ error: string | null;
109
+ internalError?: string | null | undefined;
110
+ modelId: string;
111
+ price: number;
101
112
  params: {
102
- aspectRatio?: string | undefined;
103
113
  attachedFiles?: {
104
114
  uuid: string;
105
- type: import("../..").FILE_TYPE;
106
- name: string;
107
115
  url: string;
116
+ name: string;
108
117
  mimeType: string;
118
+ type: import("../..").FILE_TYPE;
109
119
  size: number;
110
120
  duration?: number | null | undefined;
111
121
  }[] | undefined;
112
122
  imageUrls?: string[] | undefined;
113
123
  systemPromptId?: string | undefined;
124
+ aspectRatio?: string | undefined;
125
+ resolution?: string | undefined;
114
126
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
115
127
  };
116
- createdAt: string | Date;
117
- updatedAt: string | Date;
118
- title: string;
119
- error: string | null;
120
- modelId: string;
121
- prompt: string;
122
- reaction: USER_REACTION | null;
123
- dislikeReason: string | null;
124
- externalId: string | null;
125
- attempts: any[];
126
- isDeleted: boolean;
127
128
  imageUrls: string[];
128
- postId: string | null;
129
+ attempts: any[];
129
130
  userId?: string | null | undefined;
130
131
  unregisteredUserId?: string | null | undefined;
131
- internalError?: string | null | undefined;
132
+ postId: string | null;
133
+ isDeleted: boolean;
132
134
  tokenReservationId?: string | null | undefined;
135
+ createdAt: string | Date;
133
136
  completedAt?: string | Date | null | undefined;
137
+ updatedAt: string | Date;
134
138
  }, {
135
- price: number;
136
139
  uuid: string;
140
+ prompt: string;
141
+ reaction: USER_REACTION | null;
142
+ dislikeReason: string | null;
143
+ externalId: string | null;
144
+ title: string;
137
145
  status: import("../..").JOB_STATUS;
146
+ error: string | null;
147
+ internalError?: string | null | undefined;
148
+ modelId: string;
149
+ price: number;
138
150
  params: {
139
- aspectRatio?: string | undefined;
140
151
  attachedFiles?: {
141
152
  uuid: string;
142
- type: import("../..").FILE_TYPE;
143
- name: string;
144
153
  url: string;
154
+ name: string;
145
155
  mimeType: string;
156
+ type: import("../..").FILE_TYPE;
146
157
  size: number;
147
158
  duration?: number | null | undefined;
148
159
  }[] | undefined;
149
160
  imageUrls?: string[] | undefined;
150
161
  systemPromptId?: string | undefined;
162
+ aspectRatio?: string | undefined;
163
+ resolution?: string | undefined;
151
164
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
152
165
  };
153
- createdAt: string | Date;
154
- updatedAt: string | Date;
155
- title: string;
156
- error: string | null;
157
- modelId: string;
158
- prompt: string;
159
- reaction: USER_REACTION | null;
160
- dislikeReason: string | null;
161
- externalId: string | null;
166
+ imageUrls?: string[] | undefined;
162
167
  attempts: any[];
163
- isDeleted: boolean;
164
- postId: string | null;
165
168
  userId?: string | null | undefined;
166
169
  unregisteredUserId?: string | null | undefined;
167
- internalError?: string | null | undefined;
170
+ postId: string | null;
171
+ isDeleted: boolean;
168
172
  tokenReservationId?: string | null | undefined;
173
+ createdAt: string | Date;
169
174
  completedAt?: string | Date | null | undefined;
170
- imageUrls?: string[] | undefined;
175
+ updatedAt: string | Date;
171
176
  }>;
172
177
  }, "strip", z.ZodTypeAny, {
173
178
  data: {
174
- price: number;
175
179
  uuid: string;
180
+ prompt: string;
181
+ reaction: USER_REACTION | null;
182
+ dislikeReason: string | null;
183
+ externalId: string | null;
184
+ title: string;
176
185
  status: import("../..").JOB_STATUS;
186
+ error: string | null;
187
+ internalError?: string | null | undefined;
188
+ modelId: string;
189
+ price: number;
177
190
  params: {
178
- aspectRatio?: string | undefined;
179
191
  attachedFiles?: {
180
192
  uuid: string;
181
- type: import("../..").FILE_TYPE;
182
- name: string;
183
193
  url: string;
194
+ name: string;
184
195
  mimeType: string;
196
+ type: import("../..").FILE_TYPE;
185
197
  size: number;
186
198
  duration?: number | null | undefined;
187
199
  }[] | undefined;
188
200
  imageUrls?: string[] | undefined;
189
201
  systemPromptId?: string | undefined;
202
+ aspectRatio?: string | undefined;
203
+ resolution?: string | undefined;
190
204
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
191
205
  };
192
- createdAt: string | Date;
193
- updatedAt: string | Date;
194
- title: string;
195
- error: string | null;
196
- modelId: string;
197
- prompt: string;
198
- reaction: USER_REACTION | null;
199
- dislikeReason: string | null;
200
- externalId: string | null;
201
- attempts: any[];
202
- isDeleted: boolean;
203
206
  imageUrls: string[];
204
- postId: string | null;
207
+ attempts: any[];
205
208
  userId?: string | null | undefined;
206
209
  unregisteredUserId?: string | null | undefined;
207
- internalError?: string | null | undefined;
210
+ postId: string | null;
211
+ isDeleted: boolean;
208
212
  tokenReservationId?: string | null | undefined;
213
+ createdAt: string | Date;
209
214
  completedAt?: string | Date | null | undefined;
215
+ updatedAt: string | Date;
210
216
  };
211
217
  }, {
212
218
  data: {
213
- price: number;
214
219
  uuid: string;
220
+ prompt: string;
221
+ reaction: USER_REACTION | null;
222
+ dislikeReason: string | null;
223
+ externalId: string | null;
224
+ title: string;
215
225
  status: import("../..").JOB_STATUS;
226
+ error: string | null;
227
+ internalError?: string | null | undefined;
228
+ modelId: string;
229
+ price: number;
216
230
  params: {
217
- aspectRatio?: string | undefined;
218
231
  attachedFiles?: {
219
232
  uuid: string;
220
- type: import("../..").FILE_TYPE;
221
- name: string;
222
233
  url: string;
234
+ name: string;
223
235
  mimeType: string;
236
+ type: import("../..").FILE_TYPE;
224
237
  size: number;
225
238
  duration?: number | null | undefined;
226
239
  }[] | undefined;
227
240
  imageUrls?: string[] | undefined;
228
241
  systemPromptId?: string | undefined;
242
+ aspectRatio?: string | undefined;
243
+ resolution?: string | undefined;
229
244
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
230
245
  };
231
- createdAt: string | Date;
232
- updatedAt: string | Date;
233
- title: string;
234
- error: string | null;
235
- modelId: string;
236
- prompt: string;
237
- reaction: USER_REACTION | null;
238
- dislikeReason: string | null;
239
- externalId: string | null;
246
+ imageUrls?: string[] | undefined;
240
247
  attempts: any[];
241
- isDeleted: boolean;
242
- postId: string | null;
243
248
  userId?: string | null | undefined;
244
249
  unregisteredUserId?: string | null | undefined;
245
- internalError?: string | null | undefined;
250
+ postId: string | null;
251
+ isDeleted: boolean;
246
252
  tokenReservationId?: string | null | undefined;
253
+ createdAt: string | Date;
247
254
  completedAt?: string | Date | null | undefined;
248
- imageUrls?: string[] | undefined;
255
+ updatedAt: string | Date;
249
256
  };
250
257
  }>;
251
258
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"set-reaction-to-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/set-reaction-to-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"set-reaction-to-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/set-reaction-to-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}