@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
@@ -26,18 +26,18 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
26
26
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  uuid: string;
29
- type: import("../..").FILE_TYPE;
30
- name: string;
31
29
  url: string;
30
+ name: string;
32
31
  mimeType: string;
32
+ type: import("../..").FILE_TYPE;
33
33
  size: number;
34
34
  duration?: number | null | undefined;
35
35
  }, {
36
36
  uuid: string;
37
- type: import("../..").FILE_TYPE;
38
- name: string;
39
37
  url: string;
38
+ name: string;
40
39
  mimeType: string;
40
+ type: import("../..").FILE_TYPE;
41
41
  size: number;
42
42
  duration?: number | null | undefined;
43
43
  }>, "many">>>;
@@ -47,10 +47,10 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
47
47
  aspectRatio: string;
48
48
  attachedFiles: {
49
49
  uuid: string;
50
- type: import("../..").FILE_TYPE;
51
- name: string;
52
50
  url: string;
51
+ name: string;
53
52
  mimeType: string;
53
+ type: import("../..").FILE_TYPE;
54
54
  size: number;
55
55
  duration?: number | null | undefined;
56
56
  }[];
@@ -58,17 +58,17 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
58
58
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
59
59
  }, {
60
60
  aspectRatio: string;
61
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
62
61
  attachedFiles?: {
63
62
  uuid: string;
64
- type: import("../..").FILE_TYPE;
65
- name: string;
66
63
  url: string;
64
+ name: string;
67
65
  mimeType: string;
66
+ type: import("../..").FILE_TYPE;
68
67
  size: number;
69
68
  duration?: number | null | undefined;
70
69
  }[] | undefined;
71
70
  enhancePrompt?: boolean | undefined;
71
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
72
72
  }>;
73
73
  price: z.ZodNumber;
74
74
  status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
@@ -84,13 +84,13 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
84
84
  error: z.ZodNullable<z.ZodString>;
85
85
  timestamp: z.ZodUnion<[z.ZodString, z.ZodDate]>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- status: import("../..").JOB_STATUS;
88
87
  order: number;
88
+ status: import("../..").JOB_STATUS;
89
89
  error: string | null;
90
90
  timestamp: string | Date;
91
91
  }, {
92
- status: import("../..").JOB_STATUS;
93
92
  order: number;
93
+ status: import("../..").JOB_STATUS;
94
94
  error: string | null;
95
95
  timestamp: string | Date;
96
96
  }>, "many">;
@@ -104,176 +104,176 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
104
104
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
105
105
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
106
106
  }, "strip", z.ZodTypeAny, {
107
- price: number;
108
107
  uuid: string;
109
- status: import("../..").JOB_STATUS;
108
+ modelId: string;
109
+ prompt: string;
110
+ title: string;
110
111
  params: {
111
112
  aspectRatio: string;
112
113
  attachedFiles: {
113
114
  uuid: string;
114
- type: import("../..").FILE_TYPE;
115
- name: string;
116
115
  url: string;
116
+ name: string;
117
117
  mimeType: string;
118
+ type: import("../..").FILE_TYPE;
118
119
  size: number;
119
120
  duration?: number | null | undefined;
120
121
  }[];
121
122
  enhancePrompt: boolean;
122
123
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
123
124
  };
124
- title: string;
125
- modelId: string;
126
- prompt: string;
125
+ price: number;
126
+ status: import("../..").JOB_STATUS;
127
+ error?: string | null | undefined;
127
128
  reaction: import("../..").USER_REACTION | null;
128
129
  dislikeReason: string | null;
129
130
  externalId: string | null;
130
131
  output: string[];
132
+ presetId?: string | null | undefined;
131
133
  attempts: {
132
- status: import("../..").JOB_STATUS;
133
134
  order: number;
135
+ status: import("../..").JOB_STATUS;
134
136
  error: string | null;
135
137
  timestamp: string | Date;
136
138
  }[];
139
+ userId?: string | null | undefined;
140
+ unregisteredUserId?: string | null | undefined;
137
141
  origin: import("../..").JOB_REQUEST_ORIGIN;
138
142
  isDeleted: boolean;
139
143
  internalError: string | null;
140
- userId?: string | null | undefined;
144
+ tokenReservationId?: string | null | undefined;
141
145
  createdAt?: string | Date | undefined;
142
146
  updatedAt?: string | Date | undefined;
143
- error?: string | null | undefined;
144
- presetId?: string | null | undefined;
145
- unregisteredUserId?: string | null | undefined;
146
- tokenReservationId?: string | null | undefined;
147
147
  completedAt?: string | Date | null | undefined;
148
148
  }, {
149
- price: number;
150
149
  uuid: string;
151
- status: import("../..").JOB_STATUS;
150
+ modelId: string;
151
+ prompt: string;
152
+ title: string;
152
153
  params: {
153
154
  aspectRatio: string;
154
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
155
155
  attachedFiles?: {
156
156
  uuid: string;
157
- type: import("../..").FILE_TYPE;
158
- name: string;
159
157
  url: string;
158
+ name: string;
160
159
  mimeType: string;
160
+ type: import("../..").FILE_TYPE;
161
161
  size: number;
162
162
  duration?: number | null | undefined;
163
163
  }[] | undefined;
164
164
  enhancePrompt?: boolean | undefined;
165
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
165
166
  };
166
- title: string;
167
- modelId: string;
168
- prompt: string;
167
+ price: number;
168
+ status: import("../..").JOB_STATUS;
169
+ error?: string | null | undefined;
169
170
  reaction: import("../..").USER_REACTION | null;
170
171
  dislikeReason: string | null;
171
172
  externalId: string | null;
172
173
  output: string[];
174
+ presetId?: string | null | undefined;
173
175
  attempts: {
174
- status: import("../..").JOB_STATUS;
175
176
  order: number;
177
+ status: import("../..").JOB_STATUS;
176
178
  error: string | null;
177
179
  timestamp: string | Date;
178
180
  }[];
181
+ userId?: string | null | undefined;
182
+ unregisteredUserId?: string | null | undefined;
179
183
  origin: import("../..").JOB_REQUEST_ORIGIN;
180
184
  isDeleted: boolean;
181
185
  internalError: string | null;
182
- userId?: string | null | undefined;
186
+ tokenReservationId?: string | null | undefined;
183
187
  createdAt?: string | Date | undefined;
184
188
  updatedAt?: string | Date | undefined;
185
- error?: string | null | undefined;
186
- presetId?: string | null | undefined;
187
- unregisteredUserId?: string | null | undefined;
188
- tokenReservationId?: string | null | undefined;
189
189
  completedAt?: string | Date | null | undefined;
190
190
  }>;
191
191
  }, "strip", z.ZodTypeAny, {
192
192
  data: {
193
- price: number;
194
193
  uuid: string;
195
- status: import("../..").JOB_STATUS;
194
+ modelId: string;
195
+ prompt: string;
196
+ title: string;
196
197
  params: {
197
198
  aspectRatio: string;
198
199
  attachedFiles: {
199
200
  uuid: string;
200
- type: import("../..").FILE_TYPE;
201
- name: string;
202
201
  url: string;
202
+ name: string;
203
203
  mimeType: string;
204
+ type: import("../..").FILE_TYPE;
204
205
  size: number;
205
206
  duration?: number | null | undefined;
206
207
  }[];
207
208
  enhancePrompt: boolean;
208
209
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
209
210
  };
210
- title: string;
211
- modelId: string;
212
- prompt: string;
211
+ price: number;
212
+ status: import("../..").JOB_STATUS;
213
+ error?: string | null | undefined;
213
214
  reaction: import("../..").USER_REACTION | null;
214
215
  dislikeReason: string | null;
215
216
  externalId: string | null;
216
217
  output: string[];
218
+ presetId?: string | null | undefined;
217
219
  attempts: {
218
- status: import("../..").JOB_STATUS;
219
220
  order: number;
221
+ status: import("../..").JOB_STATUS;
220
222
  error: string | null;
221
223
  timestamp: string | Date;
222
224
  }[];
225
+ userId?: string | null | undefined;
226
+ unregisteredUserId?: string | null | undefined;
223
227
  origin: import("../..").JOB_REQUEST_ORIGIN;
224
228
  isDeleted: boolean;
225
229
  internalError: string | null;
226
- userId?: string | null | undefined;
230
+ tokenReservationId?: string | null | undefined;
227
231
  createdAt?: string | Date | undefined;
228
232
  updatedAt?: string | Date | undefined;
229
- error?: string | null | undefined;
230
- presetId?: string | null | undefined;
231
- unregisteredUserId?: string | null | undefined;
232
- tokenReservationId?: string | null | undefined;
233
233
  completedAt?: string | Date | null | undefined;
234
234
  };
235
235
  }, {
236
236
  data: {
237
- price: number;
238
237
  uuid: string;
239
- status: import("../..").JOB_STATUS;
238
+ modelId: string;
239
+ prompt: string;
240
+ title: string;
240
241
  params: {
241
242
  aspectRatio: string;
242
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
243
243
  attachedFiles?: {
244
244
  uuid: string;
245
- type: import("../..").FILE_TYPE;
246
- name: string;
247
245
  url: string;
246
+ name: string;
248
247
  mimeType: string;
248
+ type: import("../..").FILE_TYPE;
249
249
  size: number;
250
250
  duration?: number | null | undefined;
251
251
  }[] | undefined;
252
252
  enhancePrompt?: boolean | undefined;
253
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
253
254
  };
254
- title: string;
255
- modelId: string;
256
- prompt: string;
255
+ price: number;
256
+ status: import("../..").JOB_STATUS;
257
+ error?: string | null | undefined;
257
258
  reaction: import("../..").USER_REACTION | null;
258
259
  dislikeReason: string | null;
259
260
  externalId: string | null;
260
261
  output: string[];
262
+ presetId?: string | null | undefined;
261
263
  attempts: {
262
- status: import("../..").JOB_STATUS;
263
264
  order: number;
265
+ status: import("../..").JOB_STATUS;
264
266
  error: string | null;
265
267
  timestamp: string | Date;
266
268
  }[];
269
+ userId?: string | null | undefined;
270
+ unregisteredUserId?: string | null | undefined;
267
271
  origin: import("../..").JOB_REQUEST_ORIGIN;
268
272
  isDeleted: boolean;
269
273
  internalError: string | null;
270
- userId?: string | null | undefined;
274
+ tokenReservationId?: string | null | undefined;
271
275
  createdAt?: string | Date | undefined;
272
276
  updatedAt?: string | Date | undefined;
273
- error?: string | null | undefined;
274
- presetId?: string | null | undefined;
275
- unregisteredUserId?: string | null | undefined;
276
- tokenReservationId?: string | null | undefined;
277
277
  completedAt?: string | Date | null | undefined;
278
278
  };
279
279
  }>;
@@ -12,21 +12,21 @@ export declare namespace ExecuteMarketplaceCardCommand {
12
12
  backgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  title: string;
15
+ subtitle?: string | null | undefined;
15
16
  advantages: string[];
16
17
  tags: string[];
17
- isCustom: boolean;
18
- inputImages: string[];
19
- subtitle?: string | null | undefined;
20
18
  stylePresetId?: string | null | undefined;
19
+ isCustom: boolean;
21
20
  customStylePrompt?: string | null | undefined;
21
+ inputImages: string[];
22
22
  backgroundDescription?: string | null | undefined;
23
23
  }, {
24
24
  title: string;
25
- isCustom: boolean;
26
25
  subtitle?: string | null | undefined;
27
26
  advantages?: string[] | undefined;
28
27
  tags?: string[] | undefined;
29
28
  stylePresetId?: string | null | undefined;
29
+ isCustom: boolean;
30
30
  customStylePrompt?: string | null | undefined;
31
31
  inputImages?: string[] | undefined;
32
32
  backgroundDescription?: string | null | undefined;
@@ -61,13 +61,12 @@ export declare namespace ExecuteMarketplaceCardCommand {
61
61
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
62
62
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- price: number;
65
64
  uuid: string;
66
65
  status: import("../..").JOB_STATUS;
67
- title: string;
68
66
  error: string | null;
69
- reaction: import("../..").USER_REACTION | null;
67
+ title: string;
70
68
  subtitle: string | null;
69
+ reaction: import("../..").USER_REACTION | null;
71
70
  advantages: string[];
72
71
  tags: string[];
73
72
  stylePresetId: string | null;
@@ -77,18 +76,18 @@ export declare namespace ExecuteMarketplaceCardCommand {
77
76
  uuid: string;
78
77
  url: string;
79
78
  }[];
80
- backgroundDescription: string | null;
81
79
  resultImages: string[] | null;
80
+ backgroundDescription: string | null;
81
+ price: number;
82
82
  createdAt?: string | Date | undefined;
83
83
  updatedAt?: string | Date | undefined;
84
84
  }, {
85
- price: number;
86
85
  uuid: string;
87
86
  status: import("../..").JOB_STATUS;
88
- title: string;
89
87
  error: string | null;
90
- reaction: import("../..").USER_REACTION | null;
88
+ title: string;
91
89
  subtitle: string | null;
90
+ reaction: import("../..").USER_REACTION | null;
92
91
  advantages: string[];
93
92
  tags: string[];
94
93
  stylePresetId: string | null;
@@ -98,20 +97,20 @@ export declare namespace ExecuteMarketplaceCardCommand {
98
97
  uuid: string;
99
98
  url: string;
100
99
  }[];
101
- backgroundDescription: string | null;
102
100
  resultImages: string[] | null;
101
+ backgroundDescription: string | null;
102
+ price: number;
103
103
  createdAt?: string | Date | undefined;
104
104
  updatedAt?: string | Date | undefined;
105
105
  }>;
106
106
  }, "strip", z.ZodTypeAny, {
107
107
  data: {
108
- price: number;
109
108
  uuid: string;
110
109
  status: import("../..").JOB_STATUS;
111
- title: string;
112
110
  error: string | null;
113
- reaction: import("../..").USER_REACTION | null;
111
+ title: string;
114
112
  subtitle: string | null;
113
+ reaction: import("../..").USER_REACTION | null;
115
114
  advantages: string[];
116
115
  tags: string[];
117
116
  stylePresetId: string | null;
@@ -121,20 +120,20 @@ export declare namespace ExecuteMarketplaceCardCommand {
121
120
  uuid: string;
122
121
  url: string;
123
122
  }[];
124
- backgroundDescription: string | null;
125
123
  resultImages: string[] | null;
124
+ backgroundDescription: string | null;
125
+ price: number;
126
126
  createdAt?: string | Date | undefined;
127
127
  updatedAt?: string | Date | undefined;
128
128
  };
129
129
  }, {
130
130
  data: {
131
- price: number;
132
131
  uuid: string;
133
132
  status: import("../..").JOB_STATUS;
134
- title: string;
135
133
  error: string | null;
136
- reaction: import("../..").USER_REACTION | null;
134
+ title: string;
137
135
  subtitle: string | null;
136
+ reaction: import("../..").USER_REACTION | null;
138
137
  advantages: string[];
139
138
  tags: string[];
140
139
  stylePresetId: string | null;
@@ -144,8 +143,9 @@ export declare namespace ExecuteMarketplaceCardCommand {
144
143
  uuid: string;
145
144
  url: string;
146
145
  }[];
147
- backgroundDescription: string | null;
148
146
  resultImages: string[] | null;
147
+ backgroundDescription: string | null;
148
+ price: number;
149
149
  createdAt?: string | Date | undefined;
150
150
  updatedAt?: string | Date | undefined;
151
151
  };
@@ -69,13 +69,12 @@ export declare namespace RetryMarketplaceCardJobCommand {
69
69
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
70
70
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- price: number;
73
72
  uuid: string;
74
73
  status: import("../..").JOB_STATUS;
75
- title: string;
76
74
  error: string | null;
77
- reaction: import("../..").USER_REACTION | null;
75
+ title: string;
78
76
  subtitle: string | null;
77
+ reaction: import("../..").USER_REACTION | null;
79
78
  advantages: string[];
80
79
  tags: string[];
81
80
  stylePresetId: string | null;
@@ -85,18 +84,18 @@ export declare namespace RetryMarketplaceCardJobCommand {
85
84
  uuid: string;
86
85
  url: string;
87
86
  }[];
88
- backgroundDescription: string | null;
89
87
  resultImages: string[] | null;
88
+ backgroundDescription: string | null;
89
+ price: number;
90
90
  createdAt?: string | Date | undefined;
91
91
  updatedAt?: string | Date | undefined;
92
92
  }, {
93
- price: number;
94
93
  uuid: string;
95
94
  status: import("../..").JOB_STATUS;
96
- title: string;
97
95
  error: string | null;
98
- reaction: import("../..").USER_REACTION | null;
96
+ title: string;
99
97
  subtitle: string | null;
98
+ reaction: import("../..").USER_REACTION | null;
100
99
  advantages: string[];
101
100
  tags: string[];
102
101
  stylePresetId: string | null;
@@ -106,20 +105,20 @@ export declare namespace RetryMarketplaceCardJobCommand {
106
105
  uuid: string;
107
106
  url: string;
108
107
  }[];
109
- backgroundDescription: string | null;
110
108
  resultImages: string[] | null;
109
+ backgroundDescription: string | null;
110
+ price: number;
111
111
  createdAt?: string | Date | undefined;
112
112
  updatedAt?: string | Date | undefined;
113
113
  }>;
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  data: {
116
- price: number;
117
116
  uuid: string;
118
117
  status: import("../..").JOB_STATUS;
119
- title: string;
120
118
  error: string | null;
121
- reaction: import("../..").USER_REACTION | null;
119
+ title: string;
122
120
  subtitle: string | null;
121
+ reaction: import("../..").USER_REACTION | null;
123
122
  advantages: string[];
124
123
  tags: string[];
125
124
  stylePresetId: string | null;
@@ -129,20 +128,20 @@ export declare namespace RetryMarketplaceCardJobCommand {
129
128
  uuid: string;
130
129
  url: string;
131
130
  }[];
132
- backgroundDescription: string | null;
133
131
  resultImages: string[] | null;
132
+ backgroundDescription: string | null;
133
+ price: number;
134
134
  createdAt?: string | Date | undefined;
135
135
  updatedAt?: string | Date | undefined;
136
136
  };
137
137
  }, {
138
138
  data: {
139
- price: number;
140
139
  uuid: string;
141
140
  status: import("../..").JOB_STATUS;
142
- title: string;
143
141
  error: string | null;
144
- reaction: import("../..").USER_REACTION | null;
142
+ title: string;
145
143
  subtitle: string | null;
144
+ reaction: import("../..").USER_REACTION | null;
146
145
  advantages: string[];
147
146
  tags: string[];
148
147
  stylePresetId: string | null;
@@ -152,8 +151,9 @@ export declare namespace RetryMarketplaceCardJobCommand {
152
151
  uuid: string;
153
152
  url: string;
154
153
  }[];
155
- backgroundDescription: string | null;
156
154
  resultImages: string[] | null;
155
+ backgroundDescription: string | null;
156
+ price: number;
157
157
  createdAt?: string | Date | undefined;
158
158
  updatedAt?: string | Date | undefined;
159
159
  };
@@ -49,13 +49,12 @@ export declare namespace SetReactionToMarketplaceCardJobCommand {
49
49
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
50
50
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- price: number;
53
52
  uuid: string;
54
53
  status: import("../..").JOB_STATUS;
55
- title: string;
56
54
  error: string | null;
57
- reaction: USER_REACTION | null;
55
+ title: string;
58
56
  subtitle: string | null;
57
+ reaction: USER_REACTION | null;
59
58
  advantages: string[];
60
59
  tags: string[];
61
60
  stylePresetId: string | null;
@@ -65,18 +64,18 @@ export declare namespace SetReactionToMarketplaceCardJobCommand {
65
64
  uuid: string;
66
65
  url: string;
67
66
  }[];
68
- backgroundDescription: string | null;
69
67
  resultImages: string[] | null;
68
+ backgroundDescription: string | null;
69
+ price: number;
70
70
  createdAt?: string | Date | undefined;
71
71
  updatedAt?: string | Date | undefined;
72
72
  }, {
73
- price: number;
74
73
  uuid: string;
75
74
  status: import("../..").JOB_STATUS;
76
- title: string;
77
75
  error: string | null;
78
- reaction: USER_REACTION | null;
76
+ title: string;
79
77
  subtitle: string | null;
78
+ reaction: USER_REACTION | null;
80
79
  advantages: string[];
81
80
  tags: string[];
82
81
  stylePresetId: string | null;
@@ -86,20 +85,20 @@ export declare namespace SetReactionToMarketplaceCardJobCommand {
86
85
  uuid: string;
87
86
  url: string;
88
87
  }[];
89
- backgroundDescription: string | null;
90
88
  resultImages: string[] | null;
89
+ backgroundDescription: string | null;
90
+ price: number;
91
91
  createdAt?: string | Date | undefined;
92
92
  updatedAt?: string | Date | undefined;
93
93
  }>;
94
94
  }, "strip", z.ZodTypeAny, {
95
95
  data: {
96
- price: number;
97
96
  uuid: string;
98
97
  status: import("../..").JOB_STATUS;
99
- title: string;
100
98
  error: string | null;
101
- reaction: USER_REACTION | null;
99
+ title: string;
102
100
  subtitle: string | null;
101
+ reaction: USER_REACTION | null;
103
102
  advantages: string[];
104
103
  tags: string[];
105
104
  stylePresetId: string | null;
@@ -109,20 +108,20 @@ export declare namespace SetReactionToMarketplaceCardJobCommand {
109
108
  uuid: string;
110
109
  url: string;
111
110
  }[];
112
- backgroundDescription: string | null;
113
111
  resultImages: string[] | null;
112
+ backgroundDescription: string | null;
113
+ price: number;
114
114
  createdAt?: string | Date | undefined;
115
115
  updatedAt?: string | Date | undefined;
116
116
  };
117
117
  }, {
118
118
  data: {
119
- price: number;
120
119
  uuid: string;
121
120
  status: import("../..").JOB_STATUS;
122
- title: string;
123
121
  error: string | null;
124
- reaction: USER_REACTION | null;
122
+ title: string;
125
123
  subtitle: string | null;
124
+ reaction: USER_REACTION | null;
126
125
  advantages: string[];
127
126
  tags: string[];
128
127
  stylePresetId: string | null;
@@ -132,8 +131,9 @@ export declare namespace SetReactionToMarketplaceCardJobCommand {
132
131
  uuid: string;
133
132
  url: string;
134
133
  }[];
135
- backgroundDescription: string | null;
136
134
  resultImages: string[] | null;
135
+ backgroundDescription: string | null;
136
+ price: number;
137
137
  createdAt?: string | Date | undefined;
138
138
  updatedAt?: string | Date | undefined;
139
139
  };