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