@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
@@ -32,52 +32,55 @@ export declare namespace UpdateImageEditorJobTitleCommand {
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 UpdateImageEditorJobTitleCommand {
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":"update-image-editor-job-title.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/update-image-editor-job-title.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,aAAa;;;;;;MAExB,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":"update-image-editor-job-title.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/update-image-editor-job-title.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,aAAa;;;;;;MAExB,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"}
@@ -16,30 +16,30 @@ export declare namespace ExecuteImageGenerationCommand {
16
16
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
17
17
  }, {
18
18
  aspectRatio: string;
19
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
20
19
  attachedFiles?: string[] | undefined;
21
20
  enhancePrompt?: boolean | undefined;
21
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
22
22
  }>;
23
23
  }, "strip", z.ZodTypeAny, {
24
+ modelId: string;
25
+ prompt: string;
26
+ presetId?: string | null | undefined;
24
27
  params: {
25
28
  aspectRatio: string;
26
29
  attachedFiles: string[];
27
30
  enhancePrompt: boolean;
28
31
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
29
32
  };
33
+ }, {
30
34
  modelId: string;
31
35
  prompt: string;
32
36
  presetId?: string | null | undefined;
33
- }, {
34
37
  params: {
35
38
  aspectRatio: string;
36
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
37
39
  attachedFiles?: string[] | undefined;
38
40
  enhancePrompt?: boolean | undefined;
41
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
39
42
  };
40
- modelId: string;
41
- prompt: string;
42
- presetId?: string | null | undefined;
43
43
  }>;
44
44
  type Request = z.infer<typeof RequestSchema>;
45
45
  const ResponseSchema: z.ZodObject<{
@@ -60,18 +60,18 @@ export declare namespace ExecuteImageGenerationCommand {
60
60
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  uuid: string;
63
- type: import("../..").FILE_TYPE;
64
- name: string;
65
63
  url: string;
64
+ name: string;
66
65
  mimeType: string;
66
+ type: import("../..").FILE_TYPE;
67
67
  size: number;
68
68
  duration?: number | null | undefined;
69
69
  }, {
70
70
  uuid: string;
71
- type: import("../..").FILE_TYPE;
72
- name: string;
73
71
  url: string;
72
+ name: string;
74
73
  mimeType: string;
74
+ type: import("../..").FILE_TYPE;
75
75
  size: number;
76
76
  duration?: number | null | undefined;
77
77
  }>, "many">>>;
@@ -81,10 +81,10 @@ export declare namespace ExecuteImageGenerationCommand {
81
81
  aspectRatio: string;
82
82
  attachedFiles: {
83
83
  uuid: string;
84
- type: import("../..").FILE_TYPE;
85
- name: string;
86
84
  url: string;
85
+ name: string;
87
86
  mimeType: string;
87
+ type: import("../..").FILE_TYPE;
88
88
  size: number;
89
89
  duration?: number | null | undefined;
90
90
  }[];
@@ -92,17 +92,17 @@ export declare namespace ExecuteImageGenerationCommand {
92
92
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
93
93
  }, {
94
94
  aspectRatio: string;
95
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | 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
  enhancePrompt?: boolean | undefined;
105
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
106
106
  }>;
107
107
  price: z.ZodNumber;
108
108
  status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
@@ -118,13 +118,13 @@ export declare namespace ExecuteImageGenerationCommand {
118
118
  error: z.ZodNullable<z.ZodString>;
119
119
  timestamp: z.ZodUnion<[z.ZodString, z.ZodDate]>;
120
120
  }, "strip", z.ZodTypeAny, {
121
- status: import("../..").JOB_STATUS;
122
121
  order: number;
122
+ status: import("../..").JOB_STATUS;
123
123
  error: string | null;
124
124
  timestamp: string | Date;
125
125
  }, {
126
- status: import("../..").JOB_STATUS;
127
126
  order: number;
127
+ status: import("../..").JOB_STATUS;
128
128
  error: string | null;
129
129
  timestamp: string | Date;
130
130
  }>, "many">;
@@ -138,176 +138,176 @@ export declare namespace ExecuteImageGenerationCommand {
138
138
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
139
139
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
140
140
  }, "strip", z.ZodTypeAny, {
141
- price: number;
142
141
  uuid: string;
143
- status: import("../..").JOB_STATUS;
142
+ modelId: string;
143
+ prompt: string;
144
+ title: string;
144
145
  params: {
145
146
  aspectRatio: string;
146
147
  attachedFiles: {
147
148
  uuid: string;
148
- type: import("../..").FILE_TYPE;
149
- name: string;
150
149
  url: string;
150
+ name: string;
151
151
  mimeType: string;
152
+ type: import("../..").FILE_TYPE;
152
153
  size: number;
153
154
  duration?: number | null | undefined;
154
155
  }[];
155
156
  enhancePrompt: boolean;
156
157
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
157
158
  };
158
- title: string;
159
- modelId: string;
160
- prompt: string;
159
+ price: number;
160
+ status: import("../..").JOB_STATUS;
161
+ error?: string | null | undefined;
161
162
  reaction: import("../..").USER_REACTION | null;
162
163
  dislikeReason: string | null;
163
164
  externalId: string | null;
164
165
  output: string[];
166
+ presetId?: string | null | undefined;
165
167
  attempts: {
166
- status: import("../..").JOB_STATUS;
167
168
  order: number;
169
+ status: import("../..").JOB_STATUS;
168
170
  error: string | null;
169
171
  timestamp: string | Date;
170
172
  }[];
173
+ userId?: string | null | undefined;
174
+ unregisteredUserId?: string | null | undefined;
171
175
  origin: import("../..").JOB_REQUEST_ORIGIN;
172
176
  isDeleted: boolean;
173
177
  internalError: string | null;
174
- userId?: string | null | undefined;
178
+ tokenReservationId?: string | null | undefined;
175
179
  createdAt?: string | Date | undefined;
176
180
  updatedAt?: string | Date | undefined;
177
- error?: string | null | undefined;
178
- presetId?: string | null | undefined;
179
- unregisteredUserId?: string | null | undefined;
180
- tokenReservationId?: string | null | undefined;
181
181
  completedAt?: string | Date | null | undefined;
182
182
  }, {
183
- price: number;
184
183
  uuid: string;
185
- status: import("../..").JOB_STATUS;
184
+ modelId: string;
185
+ prompt: string;
186
+ title: string;
186
187
  params: {
187
188
  aspectRatio: string;
188
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
189
189
  attachedFiles?: {
190
190
  uuid: string;
191
- type: import("../..").FILE_TYPE;
192
- name: string;
193
191
  url: string;
192
+ name: string;
194
193
  mimeType: string;
194
+ type: import("../..").FILE_TYPE;
195
195
  size: number;
196
196
  duration?: number | null | undefined;
197
197
  }[] | undefined;
198
198
  enhancePrompt?: boolean | undefined;
199
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
199
200
  };
200
- title: string;
201
- modelId: string;
202
- prompt: string;
201
+ price: number;
202
+ status: import("../..").JOB_STATUS;
203
+ error?: string | null | undefined;
203
204
  reaction: import("../..").USER_REACTION | null;
204
205
  dislikeReason: string | null;
205
206
  externalId: string | null;
206
207
  output: string[];
208
+ presetId?: string | null | undefined;
207
209
  attempts: {
208
- status: import("../..").JOB_STATUS;
209
210
  order: number;
211
+ status: import("../..").JOB_STATUS;
210
212
  error: string | null;
211
213
  timestamp: string | Date;
212
214
  }[];
215
+ userId?: string | null | undefined;
216
+ unregisteredUserId?: string | null | undefined;
213
217
  origin: import("../..").JOB_REQUEST_ORIGIN;
214
218
  isDeleted: boolean;
215
219
  internalError: string | null;
216
- userId?: string | null | undefined;
220
+ tokenReservationId?: string | null | undefined;
217
221
  createdAt?: string | Date | undefined;
218
222
  updatedAt?: string | Date | undefined;
219
- error?: string | null | undefined;
220
- presetId?: string | null | undefined;
221
- unregisteredUserId?: string | null | undefined;
222
- tokenReservationId?: string | null | undefined;
223
223
  completedAt?: string | Date | null | undefined;
224
224
  }>;
225
225
  }, "strip", z.ZodTypeAny, {
226
226
  data: {
227
- price: number;
228
227
  uuid: string;
229
- status: import("../..").JOB_STATUS;
228
+ modelId: string;
229
+ prompt: string;
230
+ title: string;
230
231
  params: {
231
232
  aspectRatio: string;
232
233
  attachedFiles: {
233
234
  uuid: string;
234
- type: import("../..").FILE_TYPE;
235
- name: string;
236
235
  url: string;
236
+ name: string;
237
237
  mimeType: string;
238
+ type: import("../..").FILE_TYPE;
238
239
  size: number;
239
240
  duration?: number | null | undefined;
240
241
  }[];
241
242
  enhancePrompt: boolean;
242
243
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
243
244
  };
244
- title: string;
245
- modelId: string;
246
- prompt: string;
245
+ price: number;
246
+ status: import("../..").JOB_STATUS;
247
+ error?: string | null | undefined;
247
248
  reaction: import("../..").USER_REACTION | null;
248
249
  dislikeReason: string | null;
249
250
  externalId: string | null;
250
251
  output: string[];
252
+ presetId?: string | null | undefined;
251
253
  attempts: {
252
- status: import("../..").JOB_STATUS;
253
254
  order: number;
255
+ status: import("../..").JOB_STATUS;
254
256
  error: string | null;
255
257
  timestamp: string | Date;
256
258
  }[];
259
+ userId?: string | null | undefined;
260
+ unregisteredUserId?: string | null | undefined;
257
261
  origin: import("../..").JOB_REQUEST_ORIGIN;
258
262
  isDeleted: boolean;
259
263
  internalError: string | null;
260
- userId?: string | null | undefined;
264
+ tokenReservationId?: string | null | undefined;
261
265
  createdAt?: string | Date | undefined;
262
266
  updatedAt?: string | Date | undefined;
263
- error?: string | null | undefined;
264
- presetId?: string | null | undefined;
265
- unregisteredUserId?: string | null | undefined;
266
- tokenReservationId?: string | null | undefined;
267
267
  completedAt?: string | Date | null | undefined;
268
268
  };
269
269
  }, {
270
270
  data: {
271
- price: number;
272
271
  uuid: string;
273
- status: import("../..").JOB_STATUS;
272
+ modelId: string;
273
+ prompt: string;
274
+ title: string;
274
275
  params: {
275
276
  aspectRatio: string;
276
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
277
277
  attachedFiles?: {
278
278
  uuid: string;
279
- type: import("../..").FILE_TYPE;
280
- name: string;
281
279
  url: string;
280
+ name: string;
282
281
  mimeType: string;
282
+ type: import("../..").FILE_TYPE;
283
283
  size: number;
284
284
  duration?: number | null | undefined;
285
285
  }[] | undefined;
286
286
  enhancePrompt?: boolean | undefined;
287
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
287
288
  };
288
- title: string;
289
- modelId: string;
290
- prompt: string;
289
+ price: number;
290
+ status: import("../..").JOB_STATUS;
291
+ error?: string | null | undefined;
291
292
  reaction: import("../..").USER_REACTION | null;
292
293
  dislikeReason: string | null;
293
294
  externalId: string | null;
294
295
  output: string[];
296
+ presetId?: string | null | undefined;
295
297
  attempts: {
296
- status: import("../..").JOB_STATUS;
297
298
  order: number;
299
+ status: import("../..").JOB_STATUS;
298
300
  error: string | null;
299
301
  timestamp: string | Date;
300
302
  }[];
303
+ userId?: string | null | undefined;
304
+ unregisteredUserId?: string | null | undefined;
301
305
  origin: import("../..").JOB_REQUEST_ORIGIN;
302
306
  isDeleted: boolean;
303
307
  internalError: string | null;
304
- userId?: string | null | undefined;
308
+ tokenReservationId?: string | null | undefined;
305
309
  createdAt?: string | Date | undefined;
306
310
  updatedAt?: string | Date | undefined;
307
- error?: string | null | undefined;
308
- presetId?: string | null | undefined;
309
- unregisteredUserId?: string | null | undefined;
310
- tokenReservationId?: string | null | undefined;
311
311
  completedAt?: string | Date | null | undefined;
312
312
  };
313
313
  }>;
@@ -8,30 +8,30 @@ export declare namespace ProxyImageGenerationCallbackCommand {
8
8
  type: z.ZodString;
9
9
  errorMsg: z.ZodOptional<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- type: string;
12
11
  data: string[];
13
12
  externalId: string;
13
+ type: string;
14
14
  errorMsg?: string | undefined;
15
15
  }, {
16
- type: string;
17
16
  data: string[];
18
17
  externalId: string;
18
+ type: string;
19
19
  errorMsg?: string | undefined;
20
20
  }>>;
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  model: string;
23
23
  response?: {
24
- type: string;
25
24
  data: string[];
26
25
  externalId: string;
26
+ type: string;
27
27
  errorMsg?: string | undefined;
28
28
  } | undefined;
29
29
  }, {
30
30
  model: string;
31
31
  response?: {
32
- type: string;
33
32
  data: string[];
34
33
  externalId: string;
34
+ type: string;
35
35
  errorMsg?: string | undefined;
36
36
  } | undefined;
37
37
  }>;