@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
@@ -40,8 +40,8 @@ export declare namespace SetReactionToSTTJobCommand {
40
40
  txtUrl?: string | undefined;
41
41
  srtUrl?: string | undefined;
42
42
  }, {
43
- md: string;
44
43
  raw?: Record<string, any> | undefined;
44
+ md: string;
45
45
  txtUrl?: string | undefined;
46
46
  srtUrl?: string | undefined;
47
47
  }>>;
@@ -61,43 +61,25 @@ export declare namespace SetReactionToSTTJobCommand {
61
61
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  timestamp: z.ZodString;
63
63
  }, "strip", z.ZodTypeAny, {
64
- status: import("../..").JOB_STATUS;
65
64
  order: number;
66
- timestamp: string;
65
+ status: import("../..").JOB_STATUS;
67
66
  error?: string | null | undefined;
67
+ timestamp: string;
68
68
  }, {
69
- status: import("../..").JOB_STATUS;
70
69
  order: number;
71
- timestamp: string;
70
+ status: import("../..").JOB_STATUS;
72
71
  error?: string | null | undefined;
72
+ timestamp: string;
73
73
  }>, "many">>;
74
74
  isDeleted: z.ZodBoolean;
75
75
  createdAt: z.ZodDate;
76
76
  completedAt: z.ZodNullable<z.ZodDate>;
77
77
  updatedAt: z.ZodDate;
78
78
  }, "strip", z.ZodTypeAny, {
79
- price: number;
80
79
  uuid: string;
81
80
  siteId: string;
82
- status: import("../..").JOB_STATUS;
83
- userId: string | null;
84
- createdAt: Date;
85
- updatedAt: Date;
86
- duration: number;
87
- title: string;
88
- error: string | null;
89
81
  modelId: string;
90
- reaction: USER_REACTION | null;
91
- dislikeReason: string | null;
92
- attempts: {
93
- status: import("../..").JOB_STATUS;
94
- order: number;
95
- timestamp: string;
96
- error?: string | null | undefined;
97
- }[];
98
- unregisteredUserId: string | null;
99
- isDeleted: boolean;
100
- completedAt: Date | null;
82
+ title: string;
101
83
  fileId: string;
102
84
  fileKey: string;
103
85
  fileUrl: string;
@@ -107,67 +89,67 @@ export declare namespace SetReactionToSTTJobCommand {
107
89
  txtUrl?: string | undefined;
108
90
  srtUrl?: string | undefined;
109
91
  } | null;
110
- internalError?: string | null | undefined;
111
- tokenReservationId?: string | null | undefined;
112
- }, {
113
- price: number;
114
- uuid: string;
115
- siteId: string;
92
+ reaction: USER_REACTION | null;
93
+ dislikeReason: string | null;
116
94
  status: import("../..").JOB_STATUS;
117
- userId: string | null;
118
- createdAt: Date;
119
- updatedAt: Date;
120
95
  duration: number;
121
- title: string;
122
96
  error: string | null;
123
- modelId: string;
124
- reaction: USER_REACTION | null;
125
- dislikeReason: string | null;
97
+ internalError?: string | null | undefined;
98
+ userId: string | null;
126
99
  unregisteredUserId: string | null;
100
+ price: number;
101
+ tokenReservationId?: string | null | undefined;
102
+ attempts: {
103
+ order: number;
104
+ status: import("../..").JOB_STATUS;
105
+ error?: string | null | undefined;
106
+ timestamp: string;
107
+ }[];
127
108
  isDeleted: boolean;
109
+ createdAt: Date;
128
110
  completedAt: Date | null;
111
+ updatedAt: Date;
112
+ }, {
113
+ uuid: string;
114
+ siteId: string;
115
+ modelId: string;
116
+ title: string;
129
117
  fileId: string;
130
118
  fileKey: string;
131
119
  fileUrl: string;
132
120
  aiResponse: {
133
- md: string;
134
121
  raw?: Record<string, any> | undefined;
122
+ md: string;
135
123
  txtUrl?: string | undefined;
136
124
  srtUrl?: string | undefined;
137
125
  } | null;
126
+ reaction: USER_REACTION | null;
127
+ dislikeReason: string | null;
128
+ status: import("../..").JOB_STATUS;
129
+ duration: number;
130
+ error: string | null;
131
+ internalError?: string | null | undefined;
132
+ userId: string | null;
133
+ unregisteredUserId: string | null;
134
+ price: number;
135
+ tokenReservationId?: string | null | undefined;
138
136
  attempts?: {
139
- status: import("../..").JOB_STATUS;
140
137
  order: number;
141
- timestamp: string;
138
+ status: import("../..").JOB_STATUS;
142
139
  error?: string | null | undefined;
140
+ timestamp: string;
143
141
  }[] | undefined;
144
- internalError?: string | null | undefined;
145
- tokenReservationId?: string | null | undefined;
142
+ isDeleted: boolean;
143
+ createdAt: Date;
144
+ completedAt: Date | null;
145
+ updatedAt: Date;
146
146
  }>;
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  data: {
149
- price: number;
150
149
  uuid: string;
151
150
  siteId: string;
152
- status: import("../..").JOB_STATUS;
153
- userId: string | null;
154
- createdAt: Date;
155
- updatedAt: Date;
156
- duration: number;
157
- title: string;
158
- error: string | null;
159
151
  modelId: string;
160
- reaction: USER_REACTION | null;
161
- dislikeReason: string | null;
162
- attempts: {
163
- status: import("../..").JOB_STATUS;
164
- order: number;
165
- timestamp: string;
166
- error?: string | null | undefined;
167
- }[];
168
- unregisteredUserId: string | null;
169
- isDeleted: boolean;
170
- completedAt: Date | null;
152
+ title: string;
171
153
  fileId: string;
172
154
  fileKey: string;
173
155
  fileUrl: string;
@@ -177,44 +159,62 @@ export declare namespace SetReactionToSTTJobCommand {
177
159
  txtUrl?: string | undefined;
178
160
  srtUrl?: string | undefined;
179
161
  } | null;
162
+ reaction: USER_REACTION | null;
163
+ dislikeReason: string | null;
164
+ status: import("../..").JOB_STATUS;
165
+ duration: number;
166
+ error: string | null;
180
167
  internalError?: string | null | undefined;
168
+ userId: string | null;
169
+ unregisteredUserId: string | null;
170
+ price: number;
181
171
  tokenReservationId?: string | null | undefined;
172
+ attempts: {
173
+ order: number;
174
+ status: import("../..").JOB_STATUS;
175
+ error?: string | null | undefined;
176
+ timestamp: string;
177
+ }[];
178
+ isDeleted: boolean;
179
+ createdAt: Date;
180
+ completedAt: Date | null;
181
+ updatedAt: Date;
182
182
  };
183
183
  }, {
184
184
  data: {
185
- price: number;
186
185
  uuid: string;
187
186
  siteId: string;
188
- status: import("../..").JOB_STATUS;
189
- userId: string | null;
190
- createdAt: Date;
191
- updatedAt: Date;
192
- duration: number;
193
- title: string;
194
- error: string | null;
195
187
  modelId: string;
196
- reaction: USER_REACTION | null;
197
- dislikeReason: string | null;
198
- unregisteredUserId: string | null;
199
- isDeleted: boolean;
200
- completedAt: Date | null;
188
+ title: string;
201
189
  fileId: string;
202
190
  fileKey: string;
203
191
  fileUrl: string;
204
192
  aiResponse: {
205
- md: string;
206
193
  raw?: Record<string, any> | undefined;
194
+ md: string;
207
195
  txtUrl?: string | undefined;
208
196
  srtUrl?: string | undefined;
209
197
  } | null;
198
+ reaction: USER_REACTION | null;
199
+ dislikeReason: string | null;
200
+ status: import("../..").JOB_STATUS;
201
+ duration: number;
202
+ error: string | null;
203
+ internalError?: string | null | undefined;
204
+ userId: string | null;
205
+ unregisteredUserId: string | null;
206
+ price: number;
207
+ tokenReservationId?: string | null | undefined;
210
208
  attempts?: {
211
- status: import("../..").JOB_STATUS;
212
209
  order: number;
213
- timestamp: string;
210
+ status: import("../..").JOB_STATUS;
214
211
  error?: string | null | undefined;
212
+ timestamp: string;
215
213
  }[] | undefined;
216
- internalError?: string | null | undefined;
217
- tokenReservationId?: string | null | undefined;
214
+ isDeleted: boolean;
215
+ createdAt: Date;
216
+ completedAt: Date | null;
217
+ updatedAt: Date;
218
218
  };
219
219
  }>;
220
220
  type Response = z.infer<typeof ResponseSchema>;
@@ -36,8 +36,8 @@ export declare namespace UpdateSTTJobTitleCommand {
36
36
  txtUrl?: string | undefined;
37
37
  srtUrl?: string | undefined;
38
38
  }, {
39
- md: string;
40
39
  raw?: Record<string, any> | undefined;
40
+ md: string;
41
41
  txtUrl?: string | undefined;
42
42
  srtUrl?: string | undefined;
43
43
  }>>;
@@ -57,43 +57,25 @@ export declare namespace UpdateSTTJobTitleCommand {
57
57
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  timestamp: z.ZodString;
59
59
  }, "strip", z.ZodTypeAny, {
60
- status: import("../..").JOB_STATUS;
61
60
  order: number;
62
- timestamp: string;
61
+ status: import("../..").JOB_STATUS;
63
62
  error?: string | null | undefined;
63
+ timestamp: string;
64
64
  }, {
65
- status: import("../..").JOB_STATUS;
66
65
  order: number;
67
- timestamp: string;
66
+ status: import("../..").JOB_STATUS;
68
67
  error?: string | null | undefined;
68
+ timestamp: string;
69
69
  }>, "many">>;
70
70
  isDeleted: z.ZodBoolean;
71
71
  createdAt: z.ZodDate;
72
72
  completedAt: z.ZodNullable<z.ZodDate>;
73
73
  updatedAt: z.ZodDate;
74
74
  }, "strip", z.ZodTypeAny, {
75
- price: number;
76
75
  uuid: string;
77
76
  siteId: string;
78
- status: import("../..").JOB_STATUS;
79
- userId: string | null;
80
- createdAt: Date;
81
- updatedAt: Date;
82
- duration: number;
83
- title: string;
84
- error: string | null;
85
77
  modelId: string;
86
- reaction: import("../..").USER_REACTION | null;
87
- dislikeReason: string | null;
88
- attempts: {
89
- status: import("../..").JOB_STATUS;
90
- order: number;
91
- timestamp: string;
92
- error?: string | null | undefined;
93
- }[];
94
- unregisteredUserId: string | null;
95
- isDeleted: boolean;
96
- completedAt: Date | null;
78
+ title: string;
97
79
  fileId: string;
98
80
  fileKey: string;
99
81
  fileUrl: string;
@@ -103,67 +85,67 @@ export declare namespace UpdateSTTJobTitleCommand {
103
85
  txtUrl?: string | undefined;
104
86
  srtUrl?: string | undefined;
105
87
  } | null;
106
- internalError?: string | null | undefined;
107
- tokenReservationId?: string | null | undefined;
108
- }, {
109
- price: number;
110
- uuid: string;
111
- siteId: string;
88
+ reaction: import("../..").USER_REACTION | null;
89
+ dislikeReason: string | null;
112
90
  status: import("../..").JOB_STATUS;
113
- userId: string | null;
114
- createdAt: Date;
115
- updatedAt: Date;
116
91
  duration: number;
117
- title: string;
118
92
  error: string | null;
119
- modelId: string;
120
- reaction: import("../..").USER_REACTION | null;
121
- dislikeReason: string | null;
93
+ internalError?: string | null | undefined;
94
+ userId: string | null;
122
95
  unregisteredUserId: string | null;
96
+ price: number;
97
+ tokenReservationId?: string | null | undefined;
98
+ attempts: {
99
+ order: number;
100
+ status: import("../..").JOB_STATUS;
101
+ error?: string | null | undefined;
102
+ timestamp: string;
103
+ }[];
123
104
  isDeleted: boolean;
105
+ createdAt: Date;
124
106
  completedAt: Date | null;
107
+ updatedAt: Date;
108
+ }, {
109
+ uuid: string;
110
+ siteId: string;
111
+ modelId: string;
112
+ title: string;
125
113
  fileId: string;
126
114
  fileKey: string;
127
115
  fileUrl: string;
128
116
  aiResponse: {
129
- md: string;
130
117
  raw?: Record<string, any> | undefined;
118
+ md: string;
131
119
  txtUrl?: string | undefined;
132
120
  srtUrl?: string | undefined;
133
121
  } | null;
122
+ reaction: import("../..").USER_REACTION | null;
123
+ dislikeReason: string | null;
124
+ status: import("../..").JOB_STATUS;
125
+ duration: number;
126
+ error: string | null;
127
+ internalError?: string | null | undefined;
128
+ userId: string | null;
129
+ unregisteredUserId: string | null;
130
+ price: number;
131
+ tokenReservationId?: string | null | undefined;
134
132
  attempts?: {
135
- status: import("../..").JOB_STATUS;
136
133
  order: number;
137
- timestamp: string;
134
+ status: import("../..").JOB_STATUS;
138
135
  error?: string | null | undefined;
136
+ timestamp: string;
139
137
  }[] | undefined;
140
- internalError?: string | null | undefined;
141
- tokenReservationId?: string | null | undefined;
138
+ isDeleted: boolean;
139
+ createdAt: Date;
140
+ completedAt: Date | null;
141
+ updatedAt: Date;
142
142
  }>;
143
143
  }, "strip", z.ZodTypeAny, {
144
144
  data: {
145
- price: number;
146
145
  uuid: string;
147
146
  siteId: string;
148
- status: import("../..").JOB_STATUS;
149
- userId: string | null;
150
- createdAt: Date;
151
- updatedAt: Date;
152
- duration: number;
153
- title: string;
154
- error: string | null;
155
147
  modelId: string;
156
- reaction: import("../..").USER_REACTION | null;
157
- dislikeReason: string | null;
158
- attempts: {
159
- status: import("../..").JOB_STATUS;
160
- order: number;
161
- timestamp: string;
162
- error?: string | null | undefined;
163
- }[];
164
- unregisteredUserId: string | null;
165
- isDeleted: boolean;
166
- completedAt: Date | null;
148
+ title: string;
167
149
  fileId: string;
168
150
  fileKey: string;
169
151
  fileUrl: string;
@@ -173,44 +155,62 @@ export declare namespace UpdateSTTJobTitleCommand {
173
155
  txtUrl?: string | undefined;
174
156
  srtUrl?: string | undefined;
175
157
  } | null;
158
+ reaction: import("../..").USER_REACTION | null;
159
+ dislikeReason: string | null;
160
+ status: import("../..").JOB_STATUS;
161
+ duration: number;
162
+ error: string | null;
176
163
  internalError?: string | null | undefined;
164
+ userId: string | null;
165
+ unregisteredUserId: string | null;
166
+ price: number;
177
167
  tokenReservationId?: string | null | undefined;
168
+ attempts: {
169
+ order: number;
170
+ status: import("../..").JOB_STATUS;
171
+ error?: string | null | undefined;
172
+ timestamp: string;
173
+ }[];
174
+ isDeleted: boolean;
175
+ createdAt: Date;
176
+ completedAt: Date | null;
177
+ updatedAt: Date;
178
178
  };
179
179
  }, {
180
180
  data: {
181
- price: number;
182
181
  uuid: string;
183
182
  siteId: string;
184
- status: import("../..").JOB_STATUS;
185
- userId: string | null;
186
- createdAt: Date;
187
- updatedAt: Date;
188
- duration: number;
189
- title: string;
190
- error: string | null;
191
183
  modelId: string;
192
- reaction: import("../..").USER_REACTION | null;
193
- dislikeReason: string | null;
194
- unregisteredUserId: string | null;
195
- isDeleted: boolean;
196
- completedAt: Date | null;
184
+ title: string;
197
185
  fileId: string;
198
186
  fileKey: string;
199
187
  fileUrl: string;
200
188
  aiResponse: {
201
- md: string;
202
189
  raw?: Record<string, any> | undefined;
190
+ md: string;
203
191
  txtUrl?: string | undefined;
204
192
  srtUrl?: string | undefined;
205
193
  } | null;
194
+ reaction: import("../..").USER_REACTION | null;
195
+ dislikeReason: string | null;
196
+ status: import("../..").JOB_STATUS;
197
+ duration: number;
198
+ error: string | null;
199
+ internalError?: string | null | undefined;
200
+ userId: string | null;
201
+ unregisteredUserId: string | null;
202
+ price: number;
203
+ tokenReservationId?: string | null | undefined;
206
204
  attempts?: {
207
- status: import("../..").JOB_STATUS;
208
205
  order: number;
209
- timestamp: string;
206
+ status: import("../..").JOB_STATUS;
210
207
  error?: string | null | undefined;
208
+ timestamp: string;
211
209
  }[] | undefined;
212
- internalError?: string | null | undefined;
213
- tokenReservationId?: string | null | undefined;
210
+ isDeleted: boolean;
211
+ createdAt: Date;
212
+ completedAt: Date | null;
213
+ updatedAt: Date;
214
214
  };
215
215
  }>;
216
216
  type Response = z.infer<typeof ResponseSchema>;