@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
@@ -23,18 +23,18 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
23
23
  duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  uuid: string;
26
- type: import("../..").FILE_TYPE;
27
- name: string;
28
26
  url: string;
27
+ name: string;
29
28
  mimeType: string;
29
+ type: import("../..").FILE_TYPE;
30
30
  size: number;
31
31
  duration?: number | null | undefined;
32
32
  }, {
33
33
  uuid: string;
34
- type: import("../..").FILE_TYPE;
35
- name: string;
36
34
  url: string;
35
+ name: string;
37
36
  mimeType: string;
37
+ type: import("../..").FILE_TYPE;
38
38
  size: number;
39
39
  duration?: number | null | undefined;
40
40
  }>, "many">>;
@@ -43,32 +43,32 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
43
43
  aspectRatio: z.ZodOptional<z.ZodString>;
44
44
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- aspectRatio?: string | undefined;
47
46
  attachedFiles?: {
48
47
  uuid: string;
49
- type: import("../..").FILE_TYPE;
50
- name: string;
51
48
  url: string;
49
+ name: string;
52
50
  mimeType: string;
51
+ type: import("../..").FILE_TYPE;
53
52
  size: number;
54
53
  duration?: number | null | undefined;
55
54
  }[] | undefined;
56
55
  imageUrls?: string[] | undefined;
57
56
  systemPromptId?: string | undefined;
57
+ aspectRatio?: string | undefined;
58
58
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
59
59
  }, {
60
- aspectRatio?: string | undefined;
61
60
  attachedFiles?: {
62
61
  uuid: string;
63
- type: import("../..").FILE_TYPE;
64
- name: string;
65
62
  url: string;
63
+ name: string;
66
64
  mimeType: string;
65
+ type: import("../..").FILE_TYPE;
67
66
  size: number;
68
67
  duration?: number | null | undefined;
69
68
  }[] | undefined;
70
69
  imageUrls?: string[] | undefined;
71
70
  systemPromptId?: string | undefined;
71
+ aspectRatio?: string | undefined;
72
72
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
73
73
  }>;
74
74
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -82,79 +82,79 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
82
82
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
83
83
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
84
84
  }, "strip", z.ZodTypeAny, {
85
- price: number;
86
85
  uuid: string;
86
+ prompt: string;
87
+ reaction: USER_REACTION | null;
88
+ dislikeReason: string | null;
89
+ externalId: string | null;
90
+ title: string;
87
91
  status: JOB_STATUS;
92
+ error: string | null;
93
+ internalError?: string | null | undefined;
94
+ modelId: string;
95
+ price: number;
88
96
  params: {
89
- aspectRatio?: string | undefined;
90
97
  attachedFiles?: {
91
98
  uuid: string;
92
- type: import("../..").FILE_TYPE;
93
- name: string;
94
99
  url: string;
100
+ name: string;
95
101
  mimeType: string;
102
+ type: import("../..").FILE_TYPE;
96
103
  size: number;
97
104
  duration?: number | null | undefined;
98
105
  }[] | undefined;
99
106
  imageUrls?: string[] | undefined;
100
107
  systemPromptId?: string | undefined;
108
+ aspectRatio?: string | undefined;
101
109
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
102
110
  };
103
- createdAt: string | Date;
104
- updatedAt: string | Date;
105
- title: string;
106
- error: string | null;
107
- modelId: string;
108
- prompt: string;
109
- reaction: USER_REACTION | null;
110
- dislikeReason: string | null;
111
- externalId: string | null;
112
- attempts: any[];
113
- isDeleted: boolean;
114
111
  imageUrls: string[];
115
- postId: string | null;
112
+ attempts: any[];
116
113
  userId?: string | null | undefined;
117
114
  unregisteredUserId?: string | null | undefined;
118
- internalError?: string | null | undefined;
115
+ postId: string | null;
116
+ isDeleted: boolean;
119
117
  tokenReservationId?: string | null | undefined;
118
+ createdAt: string | Date;
120
119
  completedAt?: string | Date | null | undefined;
120
+ updatedAt: string | Date;
121
121
  }, {
122
- price: number;
123
122
  uuid: string;
123
+ prompt: string;
124
+ reaction: USER_REACTION | null;
125
+ dislikeReason: string | null;
126
+ externalId: string | null;
127
+ title: string;
124
128
  status: JOB_STATUS;
129
+ error: string | null;
130
+ internalError?: string | null | undefined;
131
+ modelId: string;
132
+ price: number;
125
133
  params: {
126
- aspectRatio?: string | undefined;
127
134
  attachedFiles?: {
128
135
  uuid: string;
129
- type: import("../..").FILE_TYPE;
130
- name: string;
131
136
  url: string;
137
+ name: string;
132
138
  mimeType: string;
139
+ type: import("../..").FILE_TYPE;
133
140
  size: number;
134
141
  duration?: number | null | undefined;
135
142
  }[] | undefined;
136
143
  imageUrls?: string[] | undefined;
137
144
  systemPromptId?: string | undefined;
145
+ aspectRatio?: string | undefined;
138
146
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
139
147
  };
140
- createdAt: string | Date;
141
- updatedAt: string | Date;
142
- title: string;
143
- error: string | null;
144
- modelId: string;
145
- prompt: string;
146
- reaction: USER_REACTION | null;
147
- dislikeReason: string | null;
148
- externalId: string | null;
148
+ imageUrls?: string[] | undefined;
149
149
  attempts: any[];
150
- isDeleted: boolean;
151
- postId: string | null;
152
150
  userId?: string | null | undefined;
153
151
  unregisteredUserId?: string | null | undefined;
154
- internalError?: string | null | undefined;
152
+ postId: string | null;
153
+ isDeleted: boolean;
155
154
  tokenReservationId?: string | null | undefined;
155
+ createdAt: string | Date;
156
156
  completedAt?: string | Date | null | undefined;
157
- imageUrls?: string[] | undefined;
157
+ updatedAt: string | Date;
158
158
  }>;
159
159
  export type ImageEditorJob = z.infer<typeof ImageEditorJobSchema>;
160
160
  //# sourceMappingURL=image-editor-job.schema.d.ts.map
@@ -24,25 +24,25 @@ export declare const ImageEditorModelParamsSchema: z.ZodObject<{
24
24
  height: number;
25
25
  }>>;
26
26
  }, "strip", z.ZodTypeAny, {
27
- aspectRatio: Record<string, {
28
- width: number;
29
- height: number;
30
- }>;
31
27
  imageAttachment: {
32
28
  supported: boolean;
33
29
  maxImages: number;
34
30
  acceptedTypes: string[];
35
31
  };
36
- }, {
37
32
  aspectRatio: Record<string, {
38
33
  width: number;
39
34
  height: number;
40
35
  }>;
36
+ }, {
41
37
  imageAttachment: {
42
38
  supported: boolean;
43
39
  maxImages: number;
44
40
  acceptedTypes: string[];
45
41
  };
42
+ aspectRatio: Record<string, {
43
+ width: number;
44
+ height: number;
45
+ }>;
46
46
  }>;
47
47
  export type ImageEditorModelParams = z.infer<typeof ImageEditorModelParamsSchema>;
48
48
  //# sourceMappingURL=image-editor-model-params.schema.d.ts.map
@@ -77,25 +77,25 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
77
77
  height: number;
78
78
  }>>;
79
79
  }, "strip", z.ZodTypeAny, {
80
- aspectRatio: Record<string, {
81
- width: number;
82
- height: number;
83
- }>;
84
80
  imageAttachment: {
85
81
  supported: boolean;
86
82
  maxImages: number;
87
83
  acceptedTypes: string[];
88
84
  };
89
- }, {
90
85
  aspectRatio: Record<string, {
91
86
  width: number;
92
87
  height: number;
93
88
  }>;
89
+ }, {
94
90
  imageAttachment: {
95
91
  supported: boolean;
96
92
  maxImages: number;
97
93
  acceptedTypes: string[];
98
94
  };
95
+ aspectRatio: Record<string, {
96
+ width: number;
97
+ height: number;
98
+ }>;
99
99
  }>;
100
100
  pricingRules: z.ZodArray<z.ZodObject<{
101
101
  condition: z.ZodObject<{
@@ -107,15 +107,15 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
107
107
  }>;
108
108
  value: z.ZodNumber;
109
109
  }, "strip", z.ZodTypeAny, {
110
- value: number;
111
110
  condition: {
112
111
  withoutSub?: boolean | undefined;
113
112
  };
114
- }, {
115
113
  value: number;
114
+ }, {
116
115
  condition: {
117
116
  withoutSub?: boolean | undefined;
118
117
  };
118
+ value: number;
119
119
  }>, "many">;
120
120
  canUse: z.ZodBoolean;
121
121
  statusCheckEndpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -123,32 +123,14 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
123
123
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
124
124
  }, "strip", z.ZodTypeAny, {
125
125
  uuid: string;
126
- status: TOOL_MODEL_STATUS;
127
- params: {
128
- aspectRatio: Record<string, {
129
- width: number;
130
- height: number;
131
- }>;
132
- imageAttachment: {
133
- supported: boolean;
134
- maxImages: number;
135
- acceptedTypes: string[];
136
- };
137
- };
138
- canUse: boolean;
139
- description: string;
140
126
  title: string;
141
- pricingRules: {
142
- value: number;
143
- condition: {
144
- withoutSub?: boolean | undefined;
145
- };
146
- }[];
147
- order: number;
127
+ description: string;
148
128
  aiModel: string;
149
129
  isNew: boolean;
150
130
  tierLabel: string;
151
131
  pricePerImage: number;
132
+ order: number;
133
+ status: TOOL_MODEL_STATUS;
152
134
  icons: {
153
135
  light: {
154
136
  png?: string | undefined;
@@ -161,37 +143,37 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
161
143
  };
162
144
  strategy: IMAGE_EDITING_STRATEGY;
163
145
  maxInputLength: number;
164
- createdAt?: string | Date | undefined;
165
- updatedAt?: string | Date | undefined;
166
- statusCheckEndpoint?: string | null | undefined;
167
- }, {
168
- uuid: string;
169
- status: TOOL_MODEL_STATUS;
170
146
  params: {
171
- aspectRatio: Record<string, {
172
- width: number;
173
- height: number;
174
- }>;
175
147
  imageAttachment: {
176
148
  supported: boolean;
177
149
  maxImages: number;
178
150
  acceptedTypes: string[];
179
151
  };
152
+ aspectRatio: Record<string, {
153
+ width: number;
154
+ height: number;
155
+ }>;
180
156
  };
181
- canUse: boolean;
182
- description: string;
183
- title: string;
184
157
  pricingRules: {
185
- value: number;
186
158
  condition: {
187
159
  withoutSub?: boolean | undefined;
188
160
  };
161
+ value: number;
189
162
  }[];
190
- order: number;
163
+ canUse: boolean;
164
+ statusCheckEndpoint?: string | null | undefined;
165
+ createdAt?: string | Date | undefined;
166
+ updatedAt?: string | Date | undefined;
167
+ }, {
168
+ uuid: string;
169
+ title: string;
170
+ description: string;
191
171
  aiModel: string;
192
172
  isNew: boolean;
193
173
  tierLabel: string;
194
174
  pricePerImage: number;
175
+ order: number;
176
+ status: TOOL_MODEL_STATUS;
195
177
  icons: {
196
178
  light: {
197
179
  png?: string | undefined;
@@ -204,9 +186,27 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
204
186
  };
205
187
  strategy: IMAGE_EDITING_STRATEGY;
206
188
  maxInputLength: number;
189
+ params: {
190
+ imageAttachment: {
191
+ supported: boolean;
192
+ maxImages: number;
193
+ acceptedTypes: string[];
194
+ };
195
+ aspectRatio: Record<string, {
196
+ width: number;
197
+ height: number;
198
+ }>;
199
+ };
200
+ pricingRules: {
201
+ condition: {
202
+ withoutSub?: boolean | undefined;
203
+ };
204
+ value: number;
205
+ }[];
206
+ canUse: boolean;
207
+ statusCheckEndpoint?: string | null | undefined;
207
208
  createdAt?: string | Date | undefined;
208
209
  updatedAt?: string | Date | undefined;
209
- statusCheckEndpoint?: string | null | undefined;
210
210
  }>;
211
211
  export type ImageEditorModel = z.infer<typeof ImageEditorModelSchema>;
212
212
  //# sourceMappingURL=image-editor-model.schema.d.ts.map
@@ -16,15 +16,15 @@ export declare const ImageEditorPricingRulesSchema: z.ZodArray<z.ZodObject<{
16
16
  }>;
17
17
  value: z.ZodNumber;
18
18
  }, "strip", z.ZodTypeAny, {
19
- value: number;
20
19
  condition: {
21
20
  withoutSub?: boolean | undefined;
22
21
  };
23
- }, {
24
22
  value: number;
23
+ }, {
25
24
  condition: {
26
25
  withoutSub?: boolean | undefined;
27
26
  };
27
+ value: number;
28
28
  }>, "many">;
29
29
  export type ImageEditorPricingRules = z.infer<typeof ImageEditorPricingRulesSchema>;
30
30
  //# sourceMappingURL=image-editor-pricing-rule.schema.d.ts.map
@@ -59,37 +59,36 @@ export declare const ImageEditorPromptGroupSchema: z.ZodObject<{
59
59
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
61
  uuid: string;
62
- description: string;
63
62
  title: string;
64
- order: number;
63
+ description: string;
64
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
65
65
  prompt: string;
66
66
  allowUserPrompt: boolean;
67
- groupId: string;
67
+ order: number;
68
68
  params?: Record<string, any> | undefined;
69
- createdAt?: string | Date | undefined;
70
- updatedAt?: string | Date | undefined;
71
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
72
69
  preview?: Record<string, any> | undefined;
73
70
  placeholder?: string | null | undefined;
71
+ groupId: string;
72
+ createdAt?: string | Date | undefined;
73
+ updatedAt?: string | Date | undefined;
74
74
  }, {
75
75
  uuid: string;
76
- description: string;
77
76
  title: string;
78
- order: number;
77
+ description: string;
78
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
79
79
  prompt: string;
80
80
  allowUserPrompt: boolean;
81
- groupId: string;
81
+ order: number;
82
82
  params?: Record<string, any> | undefined;
83
- createdAt?: string | Date | undefined;
84
- updatedAt?: string | Date | undefined;
85
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
86
83
  preview?: Record<string, any> | undefined;
87
84
  placeholder?: string | null | undefined;
85
+ groupId: string;
86
+ createdAt?: string | Date | undefined;
87
+ updatedAt?: string | Date | undefined;
88
88
  }>, "many">;
89
89
  }, "strip", z.ZodTypeAny, {
90
90
  uuid: string;
91
91
  title: string;
92
- order: number;
93
92
  icons: {
94
93
  light: {
95
94
  png?: string | undefined;
@@ -100,25 +99,25 @@ export declare const ImageEditorPromptGroupSchema: z.ZodObject<{
100
99
  svg?: string | undefined;
101
100
  };
102
101
  };
102
+ order: number;
103
103
  prompts: {
104
104
  uuid: string;
105
- description: string;
106
105
  title: string;
107
- order: number;
106
+ description: string;
107
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
108
108
  prompt: string;
109
109
  allowUserPrompt: boolean;
110
- groupId: string;
110
+ order: number;
111
111
  params?: Record<string, any> | undefined;
112
- createdAt?: string | Date | undefined;
113
- updatedAt?: string | Date | undefined;
114
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
115
112
  preview?: Record<string, any> | undefined;
116
113
  placeholder?: string | null | undefined;
114
+ groupId: string;
115
+ createdAt?: string | Date | undefined;
116
+ updatedAt?: string | Date | undefined;
117
117
  }[];
118
118
  }, {
119
119
  uuid: string;
120
120
  title: string;
121
- order: number;
122
121
  icons: {
123
122
  light: {
124
123
  png?: string | undefined;
@@ -129,20 +128,21 @@ export declare const ImageEditorPromptGroupSchema: z.ZodObject<{
129
128
  svg?: string | undefined;
130
129
  };
131
130
  };
131
+ order: number;
132
132
  prompts: {
133
133
  uuid: string;
134
- description: string;
135
134
  title: string;
136
- order: number;
135
+ description: string;
136
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
137
137
  prompt: string;
138
138
  allowUserPrompt: boolean;
139
- groupId: string;
139
+ order: number;
140
140
  params?: Record<string, any> | undefined;
141
- createdAt?: string | Date | undefined;
142
- updatedAt?: string | Date | undefined;
143
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
144
141
  preview?: Record<string, any> | undefined;
145
142
  placeholder?: string | null | undefined;
143
+ groupId: string;
144
+ createdAt?: string | Date | undefined;
145
+ updatedAt?: string | Date | undefined;
146
146
  }[];
147
147
  }>;
148
148
  export type ImageEditorPromptGroup = z.infer<typeof ImageEditorPromptGroupSchema>;
@@ -16,32 +16,32 @@ export declare const ImageEditorSystemPromptSchema: z.ZodObject<{
16
16
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  uuid: string;
19
- description: string;
20
19
  title: string;
21
- order: number;
20
+ description: string;
21
+ strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
22
22
  prompt: string;
23
23
  allowUserPrompt: boolean;
24
- groupId: string;
24
+ order: number;
25
25
  params?: Record<string, any> | undefined;
26
- createdAt?: string | Date | undefined;
27
- updatedAt?: string | Date | undefined;
28
- strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
29
26
  preview?: Record<string, any> | undefined;
30
27
  placeholder?: string | null | undefined;
28
+ groupId: string;
29
+ createdAt?: string | Date | undefined;
30
+ updatedAt?: string | Date | undefined;
31
31
  }, {
32
32
  uuid: string;
33
- description: string;
34
33
  title: string;
35
- order: number;
34
+ description: string;
35
+ strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
36
36
  prompt: string;
37
37
  allowUserPrompt: boolean;
38
- groupId: string;
38
+ order: number;
39
39
  params?: Record<string, any> | undefined;
40
- createdAt?: string | Date | undefined;
41
- updatedAt?: string | Date | undefined;
42
- strategy?: IMAGE_EDITING_STRATEGY | null | undefined;
43
40
  preview?: Record<string, any> | undefined;
44
41
  placeholder?: string | null | undefined;
42
+ groupId: string;
43
+ createdAt?: string | Date | undefined;
44
+ updatedAt?: string | Date | undefined;
45
45
  }>;
46
46
  export type ImageEditorSystemPrompt = z.infer<typeof ImageEditorSystemPromptSchema>;
47
47
  //# sourceMappingURL=image-editor-system-prompt.schema.d.ts.map