@purpleschool/multisite 0.0.27 → 0.0.28

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 (184) 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 +88 -88
  52. package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +2 -2
  53. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +89 -89
  54. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +78 -78
  55. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +78 -78
  56. package/build/commands/image-generation/execute-image-generation.command.d.ts +71 -71
  57. package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +4 -4
  58. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +72 -72
  59. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +65 -65
  60. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +65 -65
  61. package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +20 -20
  62. package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +16 -16
  63. package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +16 -16
  64. package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +16 -16
  65. package/build/commands/page/create-page-question.command.d.ts +9 -9
  66. package/build/commands/page/create-page.command.d.ts +15 -15
  67. package/build/commands/page/find-page-by-alias.command.d.ts +72 -72
  68. package/build/commands/page/find-page-by-criteria.command.d.ts +28 -28
  69. package/build/commands/page/find-page.command.d.ts +48 -48
  70. package/build/commands/page/update-page-question.command.d.ts +9 -9
  71. package/build/commands/page/update-page.command.d.ts +15 -15
  72. package/build/commands/payment/cloud-payments.command.d.ts +18 -18
  73. package/build/commands/product/buy-product.command.d.ts +80 -80
  74. package/build/commands/product/fast-buy-product.command.d.ts +81 -81
  75. package/build/commands/product/update-product.command.d.ts +6 -6
  76. package/build/commands/stt/execute-stt.command.d.ts +81 -81
  77. package/build/commands/stt/retry-stt-job.command.d.ts +79 -79
  78. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +79 -79
  79. package/build/commands/stt/update-stt-job-title.command.d.ts +79 -79
  80. package/build/commands/subscription/buy-subscription.command.d.ts +80 -80
  81. package/build/commands/subscription/fast-buy-subscription.command.d.ts +81 -81
  82. package/build/commands/subscription/update-subscription.command.d.ts +24 -24
  83. package/build/commands/transaction/write-off.command.d.ts +5 -5
  84. package/build/commands/tts/execute-tts.command.d.ts +99 -99
  85. package/build/commands/tts/retry-tts-job.command.d.ts +92 -92
  86. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +92 -92
  87. package/build/commands/tts/update-tts-job-title.command.d.ts +92 -92
  88. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  89. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +4 -4
  90. package/build/commands/user-to-product/update-user-to-product.command.d.ts +7 -7
  91. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +28 -28
  92. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +36 -36
  93. package/build/constants/email/email-endpoint.d.ts +1 -1
  94. package/build/constants/email/email-endpoint.d.ts.map +1 -1
  95. package/build/constants/email/email-endpoint.js +1 -1
  96. package/build/constants/email/subjects.d.ts +10 -10
  97. package/build/constants/email/subjects.d.ts.map +1 -1
  98. package/build/constants/errors/errors.d.ts +338 -328
  99. package/build/constants/errors/errors.d.ts.map +1 -1
  100. package/build/constants/errors/errors.js +10 -0
  101. package/build/constants/subscription/free-subscription-id.constant.d.ts +1 -1
  102. package/build/models/cloud-payments-widget-data.schema.d.ts +58 -58
  103. package/build/models/cloud-payments-widget.schema.d.ts +62 -62
  104. package/build/models/common/attached-file.schema.d.ts +4 -4
  105. package/build/models/common/receipt.schema.d.ts +8 -8
  106. package/build/models/file.schema.d.ts +4 -4
  107. package/build/models/image-editor/image-editor-config.schema.d.ts +128 -128
  108. package/build/models/image-editor/image-editor-job-params.schema.d.ts +10 -10
  109. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +4 -4
  110. package/build/models/image-editor/image-editor-job-request-params.schema.js +1 -1
  111. package/build/models/image-editor/image-editor-job.schema.d.ts +44 -44
  112. package/build/models/image-editor/image-editor-model-params.schema.d.ts +5 -5
  113. package/build/models/image-editor/image-editor-model.schema.d.ts +44 -44
  114. package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +2 -2
  115. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +26 -26
  116. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +12 -12
  117. package/build/models/image-generation/image-generation-config.schema.d.ts +122 -122
  118. package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +2 -2
  119. package/build/models/image-generation/image-generation-job-params.schema.d.ts +9 -9
  120. package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +1 -1
  121. package/build/models/image-generation/image-generation-job.schema.d.ts +38 -38
  122. package/build/models/image-generation/image-generation-model-params.schema.d.ts +4 -4
  123. package/build/models/image-generation/image-generation-model.schema.d.ts +42 -42
  124. package/build/models/image-generation/image-generation-preset.schema.d.ts +2 -2
  125. package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +4 -4
  126. package/build/models/image-generation/image-generation-vendor.schema.d.ts +80 -80
  127. package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +18 -18
  128. package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +4 -4
  129. package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +8 -8
  130. package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +4 -4
  131. package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +2 -2
  132. package/build/models/page-question.schema.d.ts +4 -4
  133. package/build/models/page.schema.d.ts +20 -20
  134. package/build/models/product.schema.d.ts +2 -2
  135. package/build/models/stt/stt-config.schema.d.ts +28 -28
  136. package/build/models/stt/stt-job-attempt.schema.d.ts +4 -4
  137. package/build/models/stt/stt-job.schema.d.ts +42 -42
  138. package/build/models/stt/stt-model.schema.d.ts +14 -14
  139. package/build/models/stt/stt-response.schema.d.ts +1 -1
  140. package/build/models/subscription.schema.d.ts +8 -8
  141. package/build/models/tools/vendor.schema.d.ts +2 -2
  142. package/build/models/tts/tts-config.schema.d.ts +184 -184
  143. package/build/models/tts/tts-job-attempt.schema.d.ts +4 -4
  144. package/build/models/tts/tts-job-params.schema.d.ts +2 -2
  145. package/build/models/tts/tts-job.schema.d.ts +50 -50
  146. package/build/models/tts/tts-model.schema.d.ts +196 -196
  147. package/build/models/unlocked-by-subscription.schema.d.ts.map +1 -1
  148. package/build/models/user-to-product.schema.d.ts +2 -2
  149. package/build/models/user-to-subscription.schema.d.ts +14 -14
  150. package/build/models/user.schema.d.ts +4 -4
  151. package/build/queries/file/find-files.command.d.ts +8 -8
  152. package/build/queries/file/get-file.command.d.ts +8 -8
  153. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +79 -79
  154. package/build/queries/image-editor/get-image-editor-config.command.d.ts +186 -186
  155. package/build/queries/image-editor/get-image-editor-job.command.d.ts +78 -78
  156. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +66 -66
  157. package/build/queries/image-generation/get-image-generation-config.command.d.ts +162 -162
  158. package/build/queries/image-generation/get-image-generation-job.command.d.ts +65 -65
  159. package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +17 -17
  160. package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +30 -30
  161. package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +16 -16
  162. package/build/queries/page/find-all-page-questions.query.d.ts +8 -8
  163. package/build/queries/page/find-page-question-by-uuid.query.d.ts +8 -8
  164. package/build/queries/page/find-page-questions-by-page-id.query.d.ts +8 -8
  165. package/build/queries/payment/get-payment-history.command.d.ts +12 -12
  166. package/build/queries/product/find-products.command.d.ts +4 -4
  167. package/build/queries/stt/find-stt-jobs.command.d.ts +79 -79
  168. package/build/queries/stt/get-stt-config.command.d.ts +42 -42
  169. package/build/queries/stt/get-stt-job.command.d.ts +79 -79
  170. package/build/queries/subscription/find-subscriptions.command.d.ts +16 -16
  171. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +51 -51
  172. package/build/queries/tts/find-tts-jobs.command.d.ts +94 -94
  173. package/build/queries/tts/get-tts-config.command.d.ts +242 -242
  174. package/build/queries/tts/get-tts-job.command.d.ts +92 -92
  175. package/build/queries/user/find-users.command.d.ts +16 -16
  176. package/build/queries/user/get-all-users.command.d.ts +8 -8
  177. package/build/queries/user/get-my-products.command.d.ts +10 -10
  178. package/build/queries/user/get-my-subscriptions.command.d.ts +36 -36
  179. package/build/queries/user/get-user-payments.command.d.ts +42 -42
  180. package/build/queries/user/get-user.command.d.ts +8 -8
  181. package/constants/email/email-endpoint.ts +1 -1
  182. package/constants/errors/errors.ts +10 -0
  183. package/models/image-editor/image-editor-job-request-params.schema.ts +1 -1
  184. package/package.json +1 -1
@@ -17,18 +17,18 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
17
17
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  uuid: string;
20
- type: import("../..").FILE_TYPE;
21
- name: string;
22
20
  url: string;
21
+ name: string;
23
22
  mimeType: string;
23
+ type: import("../..").FILE_TYPE;
24
24
  size: number;
25
25
  duration?: number | null | undefined;
26
26
  }, {
27
27
  uuid: string;
28
- type: import("../..").FILE_TYPE;
29
- name: string;
30
28
  url: string;
29
+ name: string;
31
30
  mimeType: string;
31
+ type: import("../..").FILE_TYPE;
32
32
  size: number;
33
33
  duration?: number | null | undefined;
34
34
  }>, "many">>>;
@@ -38,10 +38,10 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
38
38
  aspectRatio: string;
39
39
  attachedFiles: {
40
40
  uuid: string;
41
- type: import("../..").FILE_TYPE;
42
- name: string;
43
41
  url: string;
42
+ name: string;
44
43
  mimeType: string;
44
+ type: import("../..").FILE_TYPE;
45
45
  size: number;
46
46
  duration?: number | null | undefined;
47
47
  }[];
@@ -49,17 +49,17 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
49
49
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
50
50
  }, {
51
51
  aspectRatio: string;
52
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
53
52
  attachedFiles?: {
54
53
  uuid: string;
55
- type: import("../..").FILE_TYPE;
56
- name: string;
57
54
  url: string;
55
+ name: string;
58
56
  mimeType: string;
57
+ type: import("../..").FILE_TYPE;
59
58
  size: number;
60
59
  duration?: number | null | undefined;
61
60
  }[] | undefined;
62
61
  enhancePrompt?: boolean | undefined;
62
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
63
63
  }>;
64
64
  price: z.ZodNumber;
65
65
  status: z.ZodNativeEnum<typeof JOB_STATUS>;
@@ -75,13 +75,13 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
75
75
  error: z.ZodNullable<z.ZodString>;
76
76
  timestamp: z.ZodUnion<[z.ZodString, z.ZodDate]>;
77
77
  }, "strip", z.ZodTypeAny, {
78
- status: JOB_STATUS;
79
78
  order: number;
79
+ status: JOB_STATUS;
80
80
  error: string | null;
81
81
  timestamp: string | Date;
82
82
  }, {
83
- status: JOB_STATUS;
84
83
  order: number;
84
+ status: JOB_STATUS;
85
85
  error: string | null;
86
86
  timestamp: string | Date;
87
87
  }>, "many">;
@@ -95,88 +95,88 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
95
95
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
96
96
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
97
97
  }, "strip", z.ZodTypeAny, {
98
- price: number;
99
98
  uuid: string;
100
- status: JOB_STATUS;
99
+ modelId: string;
100
+ prompt: string;
101
+ title: string;
101
102
  params: {
102
103
  aspectRatio: string;
103
104
  attachedFiles: {
104
105
  uuid: string;
105
- type: import("../..").FILE_TYPE;
106
- name: string;
107
106
  url: string;
107
+ name: string;
108
108
  mimeType: string;
109
+ type: import("../..").FILE_TYPE;
109
110
  size: number;
110
111
  duration?: number | null | undefined;
111
112
  }[];
112
113
  enhancePrompt: boolean;
113
114
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
114
115
  };
115
- title: string;
116
- modelId: string;
117
- prompt: string;
116
+ price: number;
117
+ status: JOB_STATUS;
118
+ error?: string | null | undefined;
118
119
  reaction: USER_REACTION | null;
119
120
  dislikeReason: string | null;
120
121
  externalId: string | null;
121
122
  output: string[];
123
+ presetId?: string | null | undefined;
122
124
  attempts: {
123
- status: JOB_STATUS;
124
125
  order: number;
126
+ status: JOB_STATUS;
125
127
  error: string | null;
126
128
  timestamp: string | Date;
127
129
  }[];
130
+ userId?: string | null | undefined;
131
+ unregisteredUserId?: string | null | undefined;
128
132
  origin: JOB_REQUEST_ORIGIN;
129
133
  isDeleted: boolean;
130
134
  internalError: string | null;
131
- userId?: string | null | undefined;
135
+ tokenReservationId?: string | null | undefined;
132
136
  createdAt?: string | Date | undefined;
133
137
  updatedAt?: string | Date | undefined;
134
- error?: string | null | undefined;
135
- presetId?: string | null | undefined;
136
- unregisteredUserId?: string | null | undefined;
137
- tokenReservationId?: string | null | undefined;
138
138
  completedAt?: string | Date | null | undefined;
139
139
  }, {
140
- price: number;
141
140
  uuid: string;
142
- status: JOB_STATUS;
141
+ modelId: string;
142
+ prompt: string;
143
+ title: string;
143
144
  params: {
144
145
  aspectRatio: string;
145
- resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
146
146
  attachedFiles?: {
147
147
  uuid: string;
148
- type: import("../..").FILE_TYPE;
149
- name: string;
150
148
  url: string;
149
+ name: string;
151
150
  mimeType: string;
151
+ type: import("../..").FILE_TYPE;
152
152
  size: number;
153
153
  duration?: number | null | undefined;
154
154
  }[] | undefined;
155
155
  enhancePrompt?: boolean | undefined;
156
+ resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
156
157
  };
157
- title: string;
158
- modelId: string;
159
- prompt: string;
158
+ price: number;
159
+ status: JOB_STATUS;
160
+ error?: string | null | undefined;
160
161
  reaction: USER_REACTION | null;
161
162
  dislikeReason: string | null;
162
163
  externalId: string | null;
163
164
  output: string[];
165
+ presetId?: string | null | undefined;
164
166
  attempts: {
165
- status: JOB_STATUS;
166
167
  order: number;
168
+ status: JOB_STATUS;
167
169
  error: string | null;
168
170
  timestamp: string | Date;
169
171
  }[];
172
+ userId?: string | null | undefined;
173
+ unregisteredUserId?: string | null | undefined;
170
174
  origin: JOB_REQUEST_ORIGIN;
171
175
  isDeleted: boolean;
172
176
  internalError: string | null;
173
- userId?: string | null | undefined;
177
+ tokenReservationId?: string | null | undefined;
174
178
  createdAt?: string | Date | undefined;
175
179
  updatedAt?: string | Date | undefined;
176
- error?: string | null | undefined;
177
- presetId?: string | null | undefined;
178
- unregisteredUserId?: string | null | undefined;
179
- tokenReservationId?: string | null | undefined;
180
180
  completedAt?: string | Date | null | undefined;
181
181
  }>;
182
182
  //# sourceMappingURL=image-generation-job.schema.d.ts.map
@@ -20,19 +20,19 @@ export declare const ImageGenerationModelParamsSchema: z.ZodObject<{
20
20
  options: IMAGE_GENERATION_RESOLUTION[];
21
21
  }>>;
22
22
  }, "strip", z.ZodTypeAny, {
23
- aspectRatio: Record<string, {
23
+ aspectRatio: Record<string, "auto" | {
24
24
  width: number;
25
25
  height: number;
26
- } | "auto">;
26
+ }>;
27
27
  quality?: string | Record<string, string> | undefined;
28
28
  resolution?: {
29
29
  options: IMAGE_GENERATION_RESOLUTION[];
30
30
  } | undefined;
31
31
  }, {
32
- aspectRatio: Record<string, {
32
+ aspectRatio: Record<string, "auto" | {
33
33
  width: number;
34
34
  height: number;
35
- } | "auto">;
35
+ }>;
36
36
  quality?: string | Record<string, string> | undefined;
37
37
  resolution?: {
38
38
  options: IMAGE_GENERATION_RESOLUTION[];
@@ -31,17 +31,17 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
31
31
  }>;
32
32
  value: z.ZodNumber;
33
33
  }, "strip", z.ZodTypeAny, {
34
- value: number;
35
34
  condition: {
36
35
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
37
36
  withoutSub?: boolean | undefined;
38
37
  };
39
- }, {
40
38
  value: number;
39
+ }, {
41
40
  condition: {
42
41
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
43
42
  withoutSub?: boolean | undefined;
44
43
  };
44
+ value: number;
45
45
  }>, "many">;
46
46
  params: z.ZodObject<{
47
47
  aspectRatio: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
@@ -63,19 +63,19 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
63
63
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
64
64
  }>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- aspectRatio: Record<string, {
66
+ aspectRatio: Record<string, "auto" | {
67
67
  width: number;
68
68
  height: number;
69
- } | "auto">;
69
+ }>;
70
70
  quality?: string | Record<string, string> | undefined;
71
71
  resolution?: {
72
72
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
73
73
  } | undefined;
74
74
  }, {
75
- aspectRatio: Record<string, {
75
+ aspectRatio: Record<string, "auto" | {
76
76
  width: number;
77
77
  height: number;
78
- } | "auto">;
78
+ }>;
79
79
  quality?: string | Record<string, string> | undefined;
80
80
  resolution?: {
81
81
  options: import("../..").IMAGE_GENERATION_RESOLUTION[];
@@ -132,35 +132,36 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
132
132
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
133
133
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
134
134
  }, "strip", z.ZodTypeAny, {
135
- price: number;
136
135
  uuid: string;
137
- status: TOOL_MODEL_STATUS;
138
- params: {
139
- aspectRatio: Record<string, {
140
- width: number;
141
- height: number;
142
- } | "auto">;
143
- quality?: string | Record<string, string> | undefined;
144
- resolution?: {
145
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
146
- } | undefined;
147
- };
136
+ title: string;
137
+ model: string;
138
+ description: string;
139
+ price: number;
140
+ canUse: boolean;
148
141
  unlockedBy: {
149
142
  uuid: string;
150
143
  name: string;
151
144
  } | null;
152
- canUse: boolean;
153
- description: string;
154
- title: string;
155
- model: string;
156
145
  tag: IMAGE_GENERATION_MODEL_TAG | null;
157
146
  pricingRules: {
158
- value: number;
159
147
  condition: {
160
148
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
161
149
  withoutSub?: boolean | undefined;
162
150
  };
151
+ value: number;
163
152
  }[];
153
+ params: {
154
+ aspectRatio: Record<string, "auto" | {
155
+ width: number;
156
+ height: number;
157
+ }>;
158
+ quality?: string | Record<string, string> | undefined;
159
+ resolution?: {
160
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
161
+ } | undefined;
162
+ };
163
+ status: TOOL_MODEL_STATUS;
164
+ statusCheckEndpoint?: string | null | undefined;
164
165
  maxPromptLength: number;
165
166
  iconVariants: {
166
167
  light: {
@@ -179,37 +180,37 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
179
180
  vendorId: string;
180
181
  createdAt?: string | Date | undefined;
181
182
  updatedAt?: string | Date | undefined;
182
- statusCheckEndpoint?: string | null | undefined;
183
183
  }, {
184
- price: number;
185
184
  uuid: string;
186
- status: TOOL_MODEL_STATUS;
187
- params: {
188
- aspectRatio: Record<string, {
189
- width: number;
190
- height: number;
191
- } | "auto">;
192
- quality?: string | Record<string, string> | undefined;
193
- resolution?: {
194
- options: import("../..").IMAGE_GENERATION_RESOLUTION[];
195
- } | undefined;
196
- };
185
+ title: string;
186
+ model: string;
187
+ description: string;
188
+ price: number;
189
+ canUse: boolean;
197
190
  unlockedBy: {
198
191
  uuid: string;
199
192
  name: string;
200
193
  } | null;
201
- canUse: boolean;
202
- description: string;
203
- title: string;
204
- model: string;
205
194
  tag: IMAGE_GENERATION_MODEL_TAG | null;
206
195
  pricingRules: {
207
- value: number;
208
196
  condition: {
209
197
  resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
210
198
  withoutSub?: boolean | undefined;
211
199
  };
200
+ value: number;
212
201
  }[];
202
+ params: {
203
+ aspectRatio: Record<string, "auto" | {
204
+ width: number;
205
+ height: number;
206
+ }>;
207
+ quality?: string | Record<string, string> | undefined;
208
+ resolution?: {
209
+ options: import("../..").IMAGE_GENERATION_RESOLUTION[];
210
+ } | undefined;
211
+ };
212
+ status: TOOL_MODEL_STATUS;
213
+ statusCheckEndpoint?: string | null | undefined;
213
214
  maxPromptLength: number;
214
215
  iconVariants: {
215
216
  light: {
@@ -228,6 +229,5 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
228
229
  vendorId: string;
229
230
  createdAt?: string | Date | undefined;
230
231
  updatedAt?: string | Date | undefined;
231
- statusCheckEndpoint?: string | null | undefined;
232
232
  }>;
233
233
  //# sourceMappingURL=image-generation-model.schema.d.ts.map
@@ -7,13 +7,13 @@ export declare const ImageGenerationPresetSchema: z.ZodObject<{
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  uuid: string;
9
9
  title: string;
10
- order: number;
11
10
  sample: string;
11
+ order: number;
12
12
  }, {
13
13
  uuid: string;
14
14
  title: string;
15
- order: number;
16
15
  sample: string;
16
+ order: number;
17
17
  }>;
18
18
  export type ImageGenerationPreset = z.infer<typeof ImageGenerationPresetSchema>;
19
19
  //# sourceMappingURL=image-generation-preset.schema.d.ts.map
@@ -24,17 +24,17 @@ export declare const ImageGenerationPricingRuleSchema: z.ZodObject<{
24
24
  }>;
25
25
  value: z.ZodNumber;
26
26
  }, "strip", z.ZodTypeAny, {
27
- value: number;
28
27
  condition: {
29
28
  resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
30
29
  withoutSub?: boolean | undefined;
31
30
  };
32
- }, {
33
31
  value: number;
32
+ }, {
34
33
  condition: {
35
34
  resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
36
35
  withoutSub?: boolean | undefined;
37
36
  };
37
+ value: number;
38
38
  }>;
39
39
  export type ImageGenerationPricingRule = z.infer<typeof ImageGenerationPricingRuleSchema>;
40
40
  export declare const ImageGenerationPricingRulesSchema: z.ZodArray<z.ZodObject<{
@@ -50,17 +50,17 @@ export declare const ImageGenerationPricingRulesSchema: z.ZodArray<z.ZodObject<{
50
50
  }>;
51
51
  value: z.ZodNumber;
52
52
  }, "strip", z.ZodTypeAny, {
53
- value: number;
54
53
  condition: {
55
54
  resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
56
55
  withoutSub?: boolean | undefined;
57
56
  };
58
- }, {
59
57
  value: number;
58
+ }, {
60
59
  condition: {
61
60
  resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
62
61
  withoutSub?: boolean | undefined;
63
62
  };
63
+ value: number;
64
64
  }>, "many">;
65
65
  export type ImageGenerationPricingRules = z.infer<typeof ImageGenerationPricingRulesSchema>;
66
66
  //# sourceMappingURL=image-generation-pricing-rule.schema.d.ts.map