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