@purpleschool/gptbot 0.15.56 → 0.15.58

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 (37) hide show
  1. package/build/commands/product/create-product.command.d.ts +100 -0
  2. package/build/commands/product/find-product.command.d.ts +100 -0
  3. package/build/commands/product/get-my-products.command.d.ts +50 -0
  4. package/build/commands/product/update-product.command.d.ts +100 -0
  5. package/build/commands/subscription/create-subscription.command.d.ts +100 -0
  6. package/build/commands/subscription/find-subscription.command.d.ts +150 -0
  7. package/build/commands/subscription/get-available-upgrades.command.d.ts +100 -0
  8. package/build/commands/subscription/get-free-subscription.command.d.ts +50 -0
  9. package/build/commands/subscription/get-subscriptions-summary.command.d.ts +250 -0
  10. package/build/commands/subscription/update-subscription.command.d.ts +100 -0
  11. package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +50 -0
  12. package/build/commands/team-account/find-current-team-account-products.command.d.ts +50 -0
  13. package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +50 -0
  14. package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +50 -0
  15. package/build/commands/team-account/find-team-account-products.command.d.ts +50 -0
  16. package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +100 -0
  17. package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +50 -0
  18. package/build/commands/team-to-product/get-team-to-products.command.d.ts +50 -0
  19. package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +50 -0
  20. package/build/commands/tools/tool/find-grouped-tools.command.d.ts +1 -0
  21. package/build/commands/user/get-user-products.command.d.ts +50 -0
  22. package/build/commands/user/get-user-subscriptions.command.d.ts +50 -0
  23. package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +50 -0
  24. package/build/constants/subscription/enums/subscription-feature-type.enum.d.ts +2 -0
  25. package/build/constants/subscription/enums/subscription-feature-type.enum.js +2 -0
  26. package/build/models/product.schema.d.ts +50 -0
  27. package/build/models/subscription-feature.schema.d.ts +103 -0
  28. package/build/models/subscription-feature.schema.js +14 -1
  29. package/build/models/subscription-upgrade-schema.d.ts +50 -0
  30. package/build/models/subscription.schema.d.ts +250 -0
  31. package/build/models/team-account/team-to-product.schema.d.ts +50 -0
  32. package/build/models/team-account/team-to-subscription.schema.d.ts +50 -0
  33. package/build/models/tool-group.schema.d.ts +1 -0
  34. package/build/models/tool-group.schema.js +1 -0
  35. package/build/models/user-to-product.schema.d.ts +50 -0
  36. package/build/models/user-to-subscription.schema.d.ts +150 -0
  37. package/package.json +1 -1
@@ -4,10 +4,12 @@ export declare const SubscriptionFeatureBaseSchema: z.ZodObject<{
4
4
  kind: z.ZodEnum<typeof SUBSCRIPTION_FEATURE_KIND>;
5
5
  type: z.ZodEnum<typeof SUBSCRIPTION_FEATURE_TYPE>;
6
6
  title: z.ZodString;
7
+ icon: z.ZodOptional<z.ZodString>;
7
8
  }, z.core.$strip>;
8
9
  export type SubscriptionFeatureBase = z.infer<typeof SubscriptionFeatureBaseSchema>;
9
10
  export declare const TokensFeatureSchema: z.ZodObject<{
10
11
  title: z.ZodString;
12
+ icon: z.ZodOptional<z.ZodString>;
11
13
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.BASE>;
12
14
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TOKENS>;
13
15
  tokens: z.ZodNumber;
@@ -25,6 +27,7 @@ export declare const TokensFeatureSchema: z.ZodObject<{
25
27
  export type TokensFeature = z.infer<typeof TokensFeatureSchema>;
26
28
  export declare const CarryoverBalanceFeatureSchema: z.ZodObject<{
27
29
  title: z.ZodString;
30
+ icon: z.ZodOptional<z.ZodString>;
28
31
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.BASE>;
29
32
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE>;
30
33
  isAvailable: z.ZodBoolean;
@@ -43,6 +46,7 @@ export declare const CarryoverBalanceFeatureSchema: z.ZodObject<{
43
46
  export type CarryoverBalanceFeature = z.infer<typeof CarryoverBalanceFeatureSchema>;
44
47
  export declare const AiModelAccessFeatureSchema: z.ZodObject<{
45
48
  title: z.ZodString;
49
+ icon: z.ZodOptional<z.ZodString>;
46
50
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.AI_MODEL_ACCESS>;
47
51
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.AI_MODEL>;
48
52
  order: z.ZodNumber;
@@ -53,6 +57,7 @@ export declare const AiModelAccessFeatureSchema: z.ZodObject<{
53
57
  export type AiModelAccessFeature = z.infer<typeof AiModelAccessFeatureSchema>;
54
58
  export declare const ImageGenerationAccessFeatureSchema: z.ZodObject<{
55
59
  title: z.ZodString;
60
+ icon: z.ZodOptional<z.ZodString>;
56
61
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_ACCESS>;
57
62
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
58
63
  order: z.ZodNumber;
@@ -62,6 +67,7 @@ export declare const ImageGenerationAccessFeatureSchema: z.ZodObject<{
62
67
  export type ImageGenerationAccessFeature = z.infer<typeof ImageGenerationAccessFeatureSchema>;
63
68
  export declare const RequestsQuotaFeatureSchema: z.ZodObject<{
64
69
  title: z.ZodString;
70
+ icon: z.ZodOptional<z.ZodString>;
65
71
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TEXT_GENERATION_QUOTA>;
66
72
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
67
73
  value: z.ZodNumber;
@@ -70,6 +76,7 @@ export declare const RequestsQuotaFeatureSchema: z.ZodObject<{
70
76
  export type RequestsQuotaFeature = z.infer<typeof RequestsQuotaFeatureSchema>;
71
77
  export declare const MaxInputLengthFeatureSchema: z.ZodObject<{
72
78
  title: z.ZodString;
79
+ icon: z.ZodOptional<z.ZodString>;
73
80
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MAX_INPUT_LENGTH>;
74
81
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
75
82
  tooltip: z.ZodString;
@@ -78,6 +85,7 @@ export declare const MaxInputLengthFeatureSchema: z.ZodObject<{
78
85
  export type MaxInputLengthFeature = z.infer<typeof MaxInputLengthFeatureSchema>;
79
86
  export declare const ExtendedContextFeatureSchema: z.ZodObject<{
80
87
  title: z.ZodString;
88
+ icon: z.ZodOptional<z.ZodString>;
81
89
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.EXTENDED_CONTEXT>;
82
90
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
83
91
  isAvailable: z.ZodBoolean;
@@ -85,6 +93,7 @@ export declare const ExtendedContextFeatureSchema: z.ZodObject<{
85
93
  export type ExtendedContextFeature = z.infer<typeof ExtendedContextFeatureSchema>;
86
94
  export declare const WebSearchFeatureSchema: z.ZodObject<{
87
95
  title: z.ZodString;
96
+ icon: z.ZodOptional<z.ZodString>;
88
97
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
89
98
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.WEB_SEARCH>;
90
99
  isAvailable: z.ZodBoolean;
@@ -92,6 +101,7 @@ export declare const WebSearchFeatureSchema: z.ZodObject<{
92
101
  export type WebSearchFeature = z.infer<typeof WebSearchFeatureSchema>;
93
102
  export declare const AdvancedToolsAccessFeatureSchema: z.ZodObject<{
94
103
  title: z.ZodString;
104
+ icon: z.ZodOptional<z.ZodString>;
95
105
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
96
106
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.ADVANCED_TOOLS_ACCESS>;
97
107
  isAvailable: z.ZodBoolean;
@@ -99,6 +109,7 @@ export declare const AdvancedToolsAccessFeatureSchema: z.ZodObject<{
99
109
  export type AdvancedToolsAccessFeature = z.infer<typeof AdvancedToolsAccessFeatureSchema>;
100
110
  export declare const TtsModelAccessFeatureSchema: z.ZodObject<{
101
111
  title: z.ZodString;
112
+ icon: z.ZodOptional<z.ZodString>;
102
113
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TTS>;
103
114
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TTS_MODEL_ACCESS>;
104
115
  isAvailable: z.ZodBoolean;
@@ -107,6 +118,7 @@ export declare const TtsModelAccessFeatureSchema: z.ZodObject<{
107
118
  export type TtsModelAccessFeature = z.infer<typeof TtsModelAccessFeatureSchema>;
108
119
  export declare const ImageGenerationQuotaFeatureSchema: z.ZodObject<{
109
120
  title: z.ZodString;
121
+ icon: z.ZodOptional<z.ZodString>;
110
122
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
111
123
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_QUOTA>;
112
124
  value: z.ZodNumber;
@@ -114,6 +126,7 @@ export declare const ImageGenerationQuotaFeatureSchema: z.ZodObject<{
114
126
  export type ImageGenerationQuotaFeature = z.infer<typeof ImageGenerationQuotaFeatureSchema>;
115
127
  export declare const TTSQuotaFeatureSchema: z.ZodObject<{
116
128
  title: z.ZodString;
129
+ icon: z.ZodOptional<z.ZodString>;
117
130
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TTS>;
118
131
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TTS_QUOTA>;
119
132
  value: z.ZodNumber;
@@ -121,6 +134,7 @@ export declare const TTSQuotaFeatureSchema: z.ZodObject<{
121
134
  export type TTSQuotaFeature = z.infer<typeof TTSQuotaFeatureSchema>;
122
135
  export declare const STTModelAccessFeatureSchema: z.ZodObject<{
123
136
  title: z.ZodString;
137
+ icon: z.ZodOptional<z.ZodString>;
124
138
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.STT>;
125
139
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.STT_MODEL_ACCESS>;
126
140
  isAvailable: z.ZodBoolean;
@@ -129,6 +143,7 @@ export declare const STTModelAccessFeatureSchema: z.ZodObject<{
129
143
  export type STTModelAccessFeature = z.infer<typeof STTModelAccessFeatureSchema>;
130
144
  export declare const STTQuotaFeatureSchema: z.ZodObject<{
131
145
  title: z.ZodString;
146
+ icon: z.ZodOptional<z.ZodString>;
132
147
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.STT>;
133
148
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.STT_QUOTA>;
134
149
  value: z.ZodNumber;
@@ -136,6 +151,7 @@ export declare const STTQuotaFeatureSchema: z.ZodObject<{
136
151
  export type STTQuotaFeature = z.infer<typeof STTQuotaFeatureSchema>;
137
152
  export declare const VideoQuotaFeatureSchema: z.ZodObject<{
138
153
  title: z.ZodString;
154
+ icon: z.ZodOptional<z.ZodString>;
139
155
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO>;
140
156
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_QUOTA>;
141
157
  value: z.ZodNumber;
@@ -143,6 +159,7 @@ export declare const VideoQuotaFeatureSchema: z.ZodObject<{
143
159
  export type VideoQuotaFeature = z.infer<typeof VideoQuotaFeatureSchema>;
144
160
  export declare const VideoModelAccessFeatureSchema: z.ZodObject<{
145
161
  title: z.ZodString;
162
+ icon: z.ZodOptional<z.ZodString>;
146
163
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO>;
147
164
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_MODEL_ACCESS>;
148
165
  isAvailable: z.ZodBoolean;
@@ -151,6 +168,7 @@ export declare const VideoModelAccessFeatureSchema: z.ZodObject<{
151
168
  export type VideoModelAccessFeature = z.infer<typeof VideoModelAccessFeatureSchema>;
152
169
  export declare const PresentationQuotaFeatureSchema: z.ZodObject<{
153
170
  title: z.ZodString;
171
+ icon: z.ZodOptional<z.ZodString>;
154
172
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.PRESENTATION>;
155
173
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.PRESENTATION_QUOTA>;
156
174
  value: z.ZodNumber;
@@ -158,6 +176,7 @@ export declare const PresentationQuotaFeatureSchema: z.ZodObject<{
158
176
  export type PresentationQuotaFeature = z.infer<typeof PresentationQuotaFeatureSchema>;
159
177
  export declare const MusicQuotaFeatureSchema: z.ZodObject<{
160
178
  title: z.ZodString;
179
+ icon: z.ZodOptional<z.ZodString>;
161
180
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MUSIC>;
162
181
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MUSIC_QUOTA>;
163
182
  value: z.ZodNumber;
@@ -165,6 +184,7 @@ export declare const MusicQuotaFeatureSchema: z.ZodObject<{
165
184
  export type MusicQuotaFeature = z.infer<typeof MusicQuotaFeatureSchema>;
166
185
  export declare const MusicModelAccessFeatureSchema: z.ZodObject<{
167
186
  title: z.ZodString;
187
+ icon: z.ZodOptional<z.ZodString>;
168
188
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MUSIC>;
169
189
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MUSIC_MODEL_ACCESS>;
170
190
  isAvailable: z.ZodBoolean;
@@ -173,6 +193,7 @@ export declare const MusicModelAccessFeatureSchema: z.ZodObject<{
173
193
  export type MusicModelAccessFeature = z.infer<typeof MusicModelAccessFeatureSchema>;
174
194
  export declare const WriterQuotaFeatureSchema: z.ZodObject<{
175
195
  title: z.ZodString;
196
+ icon: z.ZodOptional<z.ZodString>;
176
197
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.WRITER>;
177
198
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.WRITER_QUOTA>;
178
199
  value: z.ZodNumber;
@@ -180,6 +201,7 @@ export declare const WriterQuotaFeatureSchema: z.ZodObject<{
180
201
  export type WriterQuotaFeature = z.infer<typeof WriterQuotaFeatureSchema>;
181
202
  export declare const WriterModelAccessFeatureSchema: z.ZodObject<{
182
203
  title: z.ZodString;
204
+ icon: z.ZodOptional<z.ZodString>;
183
205
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.WRITER>;
184
206
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.WRITER_MODEL_ACCESS>;
185
207
  isAvailable: z.ZodBoolean;
@@ -188,6 +210,7 @@ export declare const WriterModelAccessFeatureSchema: z.ZodObject<{
188
210
  export type WriterModelAccessFeature = z.infer<typeof WriterModelAccessFeatureSchema>;
189
211
  export declare const ImageEditorQuotaFeatureSchema: z.ZodObject<{
190
212
  title: z.ZodString;
213
+ icon: z.ZodOptional<z.ZodString>;
191
214
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
192
215
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_QUOTA>;
193
216
  value: z.ZodNumber;
@@ -195,6 +218,7 @@ export declare const ImageEditorQuotaFeatureSchema: z.ZodObject<{
195
218
  export type ImageEditorQuotaFeature = z.infer<typeof ImageEditorQuotaFeatureSchema>;
196
219
  export declare const ImageEditorModelAccessFeatureSchema: z.ZodObject<{
197
220
  title: z.ZodString;
221
+ icon: z.ZodOptional<z.ZodString>;
198
222
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
199
223
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_MODEL_ACCESS>;
200
224
  isAvailable: z.ZodBoolean;
@@ -203,6 +227,7 @@ export declare const ImageEditorModelAccessFeatureSchema: z.ZodObject<{
203
227
  export type ImageEditorModelAccessFeature = z.infer<typeof ImageEditorModelAccessFeatureSchema>;
204
228
  export declare const InteriorDesignQuotaFeatureSchema: z.ZodObject<{
205
229
  title: z.ZodString;
230
+ icon: z.ZodOptional<z.ZodString>;
206
231
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
207
232
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_QUOTA>;
208
233
  value: z.ZodNumber;
@@ -210,6 +235,7 @@ export declare const InteriorDesignQuotaFeatureSchema: z.ZodObject<{
210
235
  export type InteriorDesignQuotaFeature = z.infer<typeof InteriorDesignQuotaFeatureSchema>;
211
236
  export declare const InteriorDesignModelAccessFeatureSchema: z.ZodObject<{
212
237
  title: z.ZodString;
238
+ icon: z.ZodOptional<z.ZodString>;
213
239
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
214
240
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_MODEL_ACCESS>;
215
241
  isAvailable: z.ZodBoolean;
@@ -218,6 +244,7 @@ export declare const InteriorDesignModelAccessFeatureSchema: z.ZodObject<{
218
244
  export type InteriorDesignModelAccessFeature = z.infer<typeof InteriorDesignModelAccessFeatureSchema>;
219
245
  export declare const SpellCorrectorQuotaFeatureSchema: z.ZodObject<{
220
246
  title: z.ZodString;
247
+ icon: z.ZodOptional<z.ZodString>;
221
248
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
222
249
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_QUOTA>;
223
250
  value: z.ZodNumber;
@@ -225,6 +252,7 @@ export declare const SpellCorrectorQuotaFeatureSchema: z.ZodObject<{
225
252
  export type SpellCorrectorQuotaFeature = z.infer<typeof SpellCorrectorQuotaFeatureSchema>;
226
253
  export declare const SpellCorrectorModelAccessFeatureSchema: z.ZodObject<{
227
254
  title: z.ZodString;
255
+ icon: z.ZodOptional<z.ZodString>;
228
256
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
229
257
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_MODEL_ACCESS>;
230
258
  isAvailable: z.ZodBoolean;
@@ -233,6 +261,7 @@ export declare const SpellCorrectorModelAccessFeatureSchema: z.ZodObject<{
233
261
  export type SpellCorrectorModelAccessFeature = z.infer<typeof SpellCorrectorModelAccessFeatureSchema>;
234
262
  export declare const ParaphraseTypeAccessFeatureSchema: z.ZodObject<{
235
263
  title: z.ZodString;
264
+ icon: z.ZodOptional<z.ZodString>;
236
265
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.PARAPHRASE>;
237
266
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.PARAPHRASE_TYPE_ACCESS>;
238
267
  isAvailable: z.ZodBoolean;
@@ -241,6 +270,7 @@ export declare const ParaphraseTypeAccessFeatureSchema: z.ZodObject<{
241
270
  export type ParaphraseTypeAccessFeature = z.infer<typeof ParaphraseTypeAccessFeatureSchema>;
242
271
  export declare const MarketplaceCardModelAccessFeatureSchema: z.ZodObject<{
243
272
  title: z.ZodString;
273
+ icon: z.ZodOptional<z.ZodString>;
244
274
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
245
275
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_MODEL_ACCESS>;
246
276
  isAvailable: z.ZodBoolean;
@@ -249,6 +279,7 @@ export declare const MarketplaceCardModelAccessFeatureSchema: z.ZodObject<{
249
279
  export type MarketplaceCardModelAccessFeature = z.infer<typeof MarketplaceCardModelAccessFeatureSchema>;
250
280
  export declare const MarketplaceCardQuotaFeatureSchema: z.ZodObject<{
251
281
  title: z.ZodString;
282
+ icon: z.ZodOptional<z.ZodString>;
252
283
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
253
284
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_QUOTA>;
254
285
  value: z.ZodNumber;
@@ -256,6 +287,7 @@ export declare const MarketplaceCardQuotaFeatureSchema: z.ZodObject<{
256
287
  export type MarketplaceCardQuotaFeature = z.infer<typeof MarketplaceCardQuotaFeatureSchema>;
257
288
  export declare const EduTaskModelAccessFeatureSchema: z.ZodObject<{
258
289
  title: z.ZodString;
290
+ icon: z.ZodOptional<z.ZodString>;
259
291
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
260
292
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_MODEL_ACCESS>;
261
293
  isAvailable: z.ZodBoolean;
@@ -264,6 +296,7 @@ export declare const EduTaskModelAccessFeatureSchema: z.ZodObject<{
264
296
  export type EduTaskModelAccessFeature = z.infer<typeof EduTaskModelAccessFeatureSchema>;
265
297
  export declare const EduTaskQuotaFeatureSchema: z.ZodObject<{
266
298
  title: z.ZodString;
299
+ icon: z.ZodOptional<z.ZodString>;
267
300
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
268
301
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_QUOTA>;
269
302
  value: z.ZodNumber;
@@ -271,6 +304,7 @@ export declare const EduTaskQuotaFeatureSchema: z.ZodObject<{
271
304
  export type EduTaskQuotaFeature = z.infer<typeof EduTaskQuotaFeatureSchema>;
272
305
  export declare const VideoEditorModelAccessFeatureSchema: z.ZodObject<{
273
306
  title: z.ZodString;
307
+ icon: z.ZodOptional<z.ZodString>;
274
308
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
275
309
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
276
310
  isAvailable: z.ZodBoolean;
@@ -279,26 +313,44 @@ export declare const VideoEditorModelAccessFeatureSchema: z.ZodObject<{
279
313
  export type VideoEditorModelAccessFeature = z.infer<typeof VideoEditorModelAccessFeatureSchema>;
280
314
  export declare const VideoEditorQuotaFeatureSchema: z.ZodObject<{
281
315
  title: z.ZodString;
316
+ icon: z.ZodOptional<z.ZodString>;
282
317
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
283
318
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_QUOTA>;
284
319
  value: z.ZodNumber;
285
320
  }, z.core.$strip>;
286
321
  export declare const HtmlPageBuilderModelAccessFeatureSchema: z.ZodObject<{
287
322
  title: z.ZodString;
323
+ icon: z.ZodOptional<z.ZodString>;
288
324
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
289
325
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
290
326
  isAvailable: z.ZodBoolean;
291
327
  modelId: z.ZodString;
292
328
  }, z.core.$strip>;
329
+ export declare const HtmlPageBuilderQuotaFeatureSchema: z.ZodObject<{
330
+ title: z.ZodString;
331
+ icon: z.ZodOptional<z.ZodString>;
332
+ kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
333
+ type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
334
+ value: z.ZodNumber;
335
+ }, z.core.$strip>;
293
336
  export declare const DiagramsModelAccessFeatureSchema: z.ZodObject<{
294
337
  title: z.ZodString;
338
+ icon: z.ZodOptional<z.ZodString>;
295
339
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
296
340
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
297
341
  isAvailable: z.ZodBoolean;
298
342
  modelId: z.ZodString;
299
343
  }, z.core.$strip>;
344
+ export declare const DiagramsQuotaFeatureSchema: z.ZodObject<{
345
+ title: z.ZodString;
346
+ icon: z.ZodOptional<z.ZodString>;
347
+ kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
348
+ type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
349
+ value: z.ZodNumber;
350
+ }, z.core.$strip>;
300
351
  export declare const ImageRecognitionModelAccessFeatureSchema: z.ZodObject<{
301
352
  title: z.ZodString;
353
+ icon: z.ZodOptional<z.ZodString>;
302
354
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
303
355
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
304
356
  isAvailable: z.ZodBoolean;
@@ -306,6 +358,7 @@ export declare const ImageRecognitionModelAccessFeatureSchema: z.ZodObject<{
306
358
  }, z.core.$strip>;
307
359
  export declare const ImageRecognitionQuotaFeatureSchema: z.ZodObject<{
308
360
  title: z.ZodString;
361
+ icon: z.ZodOptional<z.ZodString>;
309
362
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
310
363
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
311
364
  value: z.ZodNumber;
@@ -314,6 +367,7 @@ export type ImageRecognitionQuotaFeature = z.infer<typeof ImageRecognitionQuotaF
314
367
  export type VideoEditorQuotaFeature = z.infer<typeof VideoEditorQuotaFeatureSchema>;
315
368
  export declare const SubscriptionFeatureSchema: z.ZodUnion<readonly [z.ZodObject<{
316
369
  title: z.ZodString;
370
+ icon: z.ZodOptional<z.ZodString>;
317
371
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.AI_MODEL_ACCESS>;
318
372
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.AI_MODEL>;
319
373
  order: z.ZodNumber;
@@ -322,76 +376,90 @@ export declare const SubscriptionFeatureSchema: z.ZodUnion<readonly [z.ZodObject
322
376
  maxInputLength: z.ZodNumber;
323
377
  }, z.core.$strip>, z.ZodObject<{
324
378
  title: z.ZodString;
379
+ icon: z.ZodOptional<z.ZodString>;
325
380
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TEXT_GENERATION_QUOTA>;
326
381
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
327
382
  value: z.ZodNumber;
328
383
  tooltip: z.ZodNullable<z.ZodString>;
329
384
  }, z.core.$strip>, z.ZodObject<{
330
385
  title: z.ZodString;
386
+ icon: z.ZodOptional<z.ZodString>;
331
387
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MAX_INPUT_LENGTH>;
332
388
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
333
389
  tooltip: z.ZodString;
334
390
  value: z.ZodNumber;
335
391
  }, z.core.$strip>, z.ZodObject<{
336
392
  title: z.ZodString;
393
+ icon: z.ZodOptional<z.ZodString>;
337
394
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
338
395
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.WEB_SEARCH>;
339
396
  isAvailable: z.ZodBoolean;
340
397
  }, z.core.$strip>, z.ZodObject<{
341
398
  title: z.ZodString;
399
+ icon: z.ZodOptional<z.ZodString>;
342
400
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
343
401
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.ADVANCED_TOOLS_ACCESS>;
344
402
  isAvailable: z.ZodBoolean;
345
403
  }, z.core.$strip>, z.ZodObject<{
346
404
  title: z.ZodString;
405
+ icon: z.ZodOptional<z.ZodString>;
347
406
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TTS>;
348
407
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TTS_MODEL_ACCESS>;
349
408
  isAvailable: z.ZodBoolean;
350
409
  modelId: z.ZodString;
351
410
  }, z.core.$strip>, z.ZodObject<{
352
411
  title: z.ZodString;
412
+ icon: z.ZodOptional<z.ZodString>;
353
413
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
354
414
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_QUOTA>;
355
415
  value: z.ZodNumber;
356
416
  }, z.core.$strip>, z.ZodObject<{
357
417
  title: z.ZodString;
418
+ icon: z.ZodOptional<z.ZodString>;
358
419
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TTS>;
359
420
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TTS_QUOTA>;
360
421
  value: z.ZodNumber;
361
422
  }, z.core.$strip>, z.ZodObject<{
362
423
  title: z.ZodString;
424
+ icon: z.ZodOptional<z.ZodString>;
363
425
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.STT>;
364
426
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.STT_MODEL_ACCESS>;
365
427
  isAvailable: z.ZodBoolean;
366
428
  modelId: z.ZodString;
367
429
  }, z.core.$strip>, z.ZodObject<{
368
430
  title: z.ZodString;
431
+ icon: z.ZodOptional<z.ZodString>;
369
432
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.STT>;
370
433
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.STT_QUOTA>;
371
434
  value: z.ZodNumber;
372
435
  }, z.core.$strip>, z.ZodObject<{
373
436
  title: z.ZodString;
437
+ icon: z.ZodOptional<z.ZodString>;
374
438
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO>;
375
439
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_QUOTA>;
376
440
  value: z.ZodNumber;
377
441
  }, z.core.$strip>, z.ZodObject<{
378
442
  title: z.ZodString;
443
+ icon: z.ZodOptional<z.ZodString>;
379
444
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO>;
380
445
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_MODEL_ACCESS>;
381
446
  isAvailable: z.ZodBoolean;
382
447
  modelId: z.ZodString;
383
448
  }, z.core.$strip>, z.ZodObject<{
384
449
  title: z.ZodString;
450
+ icon: z.ZodOptional<z.ZodString>;
385
451
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.EXTENDED_CONTEXT>;
386
452
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.TEXT>;
387
453
  isAvailable: z.ZodBoolean;
388
454
  }, z.core.$strip>, z.ZodObject<{
389
455
  title: z.ZodString;
456
+ icon: z.ZodOptional<z.ZodString>;
390
457
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.PRESENTATION>;
391
458
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.PRESENTATION_QUOTA>;
392
459
  value: z.ZodNumber;
393
460
  }, z.core.$strip>, z.ZodObject<{
394
461
  title: z.ZodString;
462
+ icon: z.ZodOptional<z.ZodString>;
395
463
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.BASE>;
396
464
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.TOKENS>;
397
465
  tokens: z.ZodNumber;
@@ -407,6 +475,7 @@ export declare const SubscriptionFeatureSchema: z.ZodUnion<readonly [z.ZodObject
407
475
  }, z.core.$strip>;
408
476
  }, z.core.$strip>, z.ZodObject<{
409
477
  title: z.ZodString;
478
+ icon: z.ZodOptional<z.ZodString>;
410
479
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.BASE>;
411
480
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE>;
412
481
  isAvailable: z.ZodBoolean;
@@ -423,50 +492,59 @@ export declare const SubscriptionFeatureSchema: z.ZodUnion<readonly [z.ZodObject
423
492
  }, z.core.$strip>;
424
493
  }, z.core.$strip>, z.ZodObject<{
425
494
  title: z.ZodString;
495
+ icon: z.ZodOptional<z.ZodString>;
426
496
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MUSIC>;
427
497
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MUSIC_QUOTA>;
428
498
  value: z.ZodNumber;
429
499
  }, z.core.$strip>, z.ZodObject<{
430
500
  title: z.ZodString;
501
+ icon: z.ZodOptional<z.ZodString>;
431
502
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MUSIC>;
432
503
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MUSIC_MODEL_ACCESS>;
433
504
  isAvailable: z.ZodBoolean;
434
505
  modelId: z.ZodString;
435
506
  }, z.core.$strip>, z.ZodObject<{
436
507
  title: z.ZodString;
508
+ icon: z.ZodOptional<z.ZodString>;
437
509
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.WRITER>;
438
510
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.WRITER_QUOTA>;
439
511
  value: z.ZodNumber;
440
512
  }, z.core.$strip>, z.ZodObject<{
441
513
  title: z.ZodString;
514
+ icon: z.ZodOptional<z.ZodString>;
442
515
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.WRITER>;
443
516
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.WRITER_MODEL_ACCESS>;
444
517
  isAvailable: z.ZodBoolean;
445
518
  modelId: z.ZodString;
446
519
  }, z.core.$strip>, z.ZodObject<{
447
520
  title: z.ZodString;
521
+ icon: z.ZodOptional<z.ZodString>;
448
522
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
449
523
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_QUOTA>;
450
524
  value: z.ZodNumber;
451
525
  }, z.core.$strip>, z.ZodObject<{
452
526
  title: z.ZodString;
527
+ icon: z.ZodOptional<z.ZodString>;
453
528
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
454
529
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_MODEL_ACCESS>;
455
530
  isAvailable: z.ZodBoolean;
456
531
  modelId: z.ZodString;
457
532
  }, z.core.$strip>, z.ZodObject<{
458
533
  title: z.ZodString;
534
+ icon: z.ZodOptional<z.ZodString>;
459
535
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
460
536
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_QUOTA>;
461
537
  value: z.ZodNumber;
462
538
  }, z.core.$strip>, z.ZodObject<{
463
539
  title: z.ZodString;
540
+ icon: z.ZodOptional<z.ZodString>;
464
541
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
465
542
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_MODEL_ACCESS>;
466
543
  isAvailable: z.ZodBoolean;
467
544
  modelId: z.ZodString;
468
545
  }, z.core.$strip>, z.ZodObject<{
469
546
  title: z.ZodString;
547
+ icon: z.ZodOptional<z.ZodString>;
470
548
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_ACCESS>;
471
549
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
472
550
  order: z.ZodNumber;
@@ -474,74 +552,99 @@ export declare const SubscriptionFeatureSchema: z.ZodUnion<readonly [z.ZodObject
474
552
  isAvailable: z.ZodBoolean;
475
553
  }, z.core.$strip>, z.ZodObject<{
476
554
  title: z.ZodString;
555
+ icon: z.ZodOptional<z.ZodString>;
477
556
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
478
557
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_QUOTA>;
479
558
  value: z.ZodNumber;
480
559
  }, z.core.$strip>, z.ZodObject<{
481
560
  title: z.ZodString;
561
+ icon: z.ZodOptional<z.ZodString>;
482
562
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
483
563
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_MODEL_ACCESS>;
484
564
  isAvailable: z.ZodBoolean;
485
565
  modelId: z.ZodString;
486
566
  }, z.core.$strip>, z.ZodObject<{
487
567
  title: z.ZodString;
568
+ icon: z.ZodOptional<z.ZodString>;
488
569
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.PARAPHRASE>;
489
570
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.PARAPHRASE_TYPE_ACCESS>;
490
571
  isAvailable: z.ZodBoolean;
491
572
  modelId: z.ZodString;
492
573
  }, z.core.$strip>, z.ZodObject<{
493
574
  title: z.ZodString;
575
+ icon: z.ZodOptional<z.ZodString>;
494
576
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
495
577
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_QUOTA>;
496
578
  value: z.ZodNumber;
497
579
  }, z.core.$strip>, z.ZodObject<{
498
580
  title: z.ZodString;
581
+ icon: z.ZodOptional<z.ZodString>;
499
582
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
500
583
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_MODEL_ACCESS>;
501
584
  isAvailable: z.ZodBoolean;
502
585
  modelId: z.ZodString;
503
586
  }, z.core.$strip>, z.ZodObject<{
504
587
  title: z.ZodString;
588
+ icon: z.ZodOptional<z.ZodString>;
505
589
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
506
590
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_QUOTA>;
507
591
  value: z.ZodNumber;
508
592
  }, z.core.$strip>, z.ZodObject<{
509
593
  title: z.ZodString;
594
+ icon: z.ZodOptional<z.ZodString>;
510
595
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
511
596
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_MODEL_ACCESS>;
512
597
  isAvailable: z.ZodBoolean;
513
598
  modelId: z.ZodString;
514
599
  }, z.core.$strip>, z.ZodObject<{
515
600
  title: z.ZodString;
601
+ icon: z.ZodOptional<z.ZodString>;
516
602
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
517
603
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_QUOTA>;
518
604
  value: z.ZodNumber;
519
605
  }, z.core.$strip>, z.ZodObject<{
520
606
  title: z.ZodString;
607
+ icon: z.ZodOptional<z.ZodString>;
521
608
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
522
609
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
523
610
  isAvailable: z.ZodBoolean;
524
611
  modelId: z.ZodString;
525
612
  }, z.core.$strip>, z.ZodObject<{
526
613
  title: z.ZodString;
614
+ icon: z.ZodOptional<z.ZodString>;
527
615
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
528
616
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
529
617
  isAvailable: z.ZodBoolean;
530
618
  modelId: z.ZodString;
531
619
  }, z.core.$strip>, z.ZodObject<{
532
620
  title: z.ZodString;
621
+ icon: z.ZodOptional<z.ZodString>;
622
+ kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
623
+ type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA>;
624
+ value: z.ZodNumber;
625
+ }, z.core.$strip>, z.ZodObject<{
626
+ title: z.ZodString;
627
+ icon: z.ZodOptional<z.ZodString>;
533
628
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
534
629
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
535
630
  isAvailable: z.ZodBoolean;
536
631
  modelId: z.ZodString;
537
632
  }, z.core.$strip>, z.ZodObject<{
538
633
  title: z.ZodString;
634
+ icon: z.ZodOptional<z.ZodString>;
635
+ kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
636
+ type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA>;
637
+ value: z.ZodNumber;
638
+ }, z.core.$strip>, z.ZodObject<{
639
+ title: z.ZodString;
640
+ icon: z.ZodOptional<z.ZodString>;
539
641
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
540
642
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
541
643
  isAvailable: z.ZodBoolean;
542
644
  modelId: z.ZodString;
543
645
  }, z.core.$strip>, z.ZodObject<{
544
646
  title: z.ZodString;
647
+ icon: z.ZodOptional<z.ZodString>;
545
648
  kind: z.ZodLiteral<SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
546
649
  type: z.ZodLiteral<SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
547
650
  value: z.ZodNumber;
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionFeatureSchema = exports.ImageRecognitionQuotaFeatureSchema = exports.ImageRecognitionModelAccessFeatureSchema = exports.DiagramsModelAccessFeatureSchema = exports.HtmlPageBuilderModelAccessFeatureSchema = exports.VideoEditorQuotaFeatureSchema = exports.VideoEditorModelAccessFeatureSchema = exports.EduTaskQuotaFeatureSchema = exports.EduTaskModelAccessFeatureSchema = exports.MarketplaceCardQuotaFeatureSchema = exports.MarketplaceCardModelAccessFeatureSchema = exports.ParaphraseTypeAccessFeatureSchema = exports.SpellCorrectorModelAccessFeatureSchema = exports.SpellCorrectorQuotaFeatureSchema = exports.InteriorDesignModelAccessFeatureSchema = exports.InteriorDesignQuotaFeatureSchema = exports.ImageEditorModelAccessFeatureSchema = exports.ImageEditorQuotaFeatureSchema = exports.WriterModelAccessFeatureSchema = exports.WriterQuotaFeatureSchema = exports.MusicModelAccessFeatureSchema = exports.MusicQuotaFeatureSchema = exports.PresentationQuotaFeatureSchema = exports.VideoModelAccessFeatureSchema = exports.VideoQuotaFeatureSchema = exports.STTQuotaFeatureSchema = exports.STTModelAccessFeatureSchema = exports.TTSQuotaFeatureSchema = exports.ImageGenerationQuotaFeatureSchema = exports.TtsModelAccessFeatureSchema = exports.AdvancedToolsAccessFeatureSchema = exports.WebSearchFeatureSchema = exports.ExtendedContextFeatureSchema = exports.MaxInputLengthFeatureSchema = exports.RequestsQuotaFeatureSchema = exports.ImageGenerationAccessFeatureSchema = exports.AiModelAccessFeatureSchema = exports.CarryoverBalanceFeatureSchema = exports.TokensFeatureSchema = exports.SubscriptionFeatureBaseSchema = void 0;
3
+ exports.SubscriptionFeatureSchema = exports.ImageRecognitionQuotaFeatureSchema = exports.ImageRecognitionModelAccessFeatureSchema = exports.DiagramsQuotaFeatureSchema = exports.DiagramsModelAccessFeatureSchema = exports.HtmlPageBuilderQuotaFeatureSchema = exports.HtmlPageBuilderModelAccessFeatureSchema = exports.VideoEditorQuotaFeatureSchema = exports.VideoEditorModelAccessFeatureSchema = exports.EduTaskQuotaFeatureSchema = exports.EduTaskModelAccessFeatureSchema = exports.MarketplaceCardQuotaFeatureSchema = exports.MarketplaceCardModelAccessFeatureSchema = exports.ParaphraseTypeAccessFeatureSchema = exports.SpellCorrectorModelAccessFeatureSchema = exports.SpellCorrectorQuotaFeatureSchema = exports.InteriorDesignModelAccessFeatureSchema = exports.InteriorDesignQuotaFeatureSchema = exports.ImageEditorModelAccessFeatureSchema = exports.ImageEditorQuotaFeatureSchema = exports.WriterModelAccessFeatureSchema = exports.WriterQuotaFeatureSchema = exports.MusicModelAccessFeatureSchema = exports.MusicQuotaFeatureSchema = exports.PresentationQuotaFeatureSchema = exports.VideoModelAccessFeatureSchema = exports.VideoQuotaFeatureSchema = exports.STTQuotaFeatureSchema = exports.STTModelAccessFeatureSchema = exports.TTSQuotaFeatureSchema = exports.ImageGenerationQuotaFeatureSchema = exports.TtsModelAccessFeatureSchema = exports.AdvancedToolsAccessFeatureSchema = exports.WebSearchFeatureSchema = exports.ExtendedContextFeatureSchema = exports.MaxInputLengthFeatureSchema = exports.RequestsQuotaFeatureSchema = exports.ImageGenerationAccessFeatureSchema = exports.AiModelAccessFeatureSchema = exports.CarryoverBalanceFeatureSchema = exports.TokensFeatureSchema = exports.SubscriptionFeatureBaseSchema = void 0;
4
4
  const constants_1 = require("../constants");
5
5
  const zod_1 = require("zod");
6
6
  exports.SubscriptionFeatureBaseSchema = zod_1.z.object({
7
7
  kind: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_FEATURE_KIND),
8
8
  type: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_FEATURE_TYPE),
9
9
  title: zod_1.z.string(),
10
+ icon: zod_1.z.string().optional(),
10
11
  });
11
12
  const SubscriptionFeatureIconsSchema = zod_1.z.object({
12
13
  light: zod_1.z.object({
@@ -216,12 +217,22 @@ exports.HtmlPageBuilderModelAccessFeatureSchema = exports.SubscriptionFeatureBas
216
217
  isAvailable: zod_1.z.boolean(),
217
218
  modelId: zod_1.z.string(),
218
219
  });
220
+ exports.HtmlPageBuilderQuotaFeatureSchema = exports.SubscriptionFeatureBaseSchema.extend({
221
+ kind: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER),
222
+ type: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_QUOTA),
223
+ value: zod_1.z.number(),
224
+ });
219
225
  exports.DiagramsModelAccessFeatureSchema = exports.SubscriptionFeatureBaseSchema.extend({
220
226
  kind: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_KIND.DIAGRAMS),
221
227
  type: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS),
222
228
  isAvailable: zod_1.z.boolean(),
223
229
  modelId: zod_1.z.string(),
224
230
  });
231
+ exports.DiagramsQuotaFeatureSchema = exports.SubscriptionFeatureBaseSchema.extend({
232
+ kind: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_KIND.DIAGRAMS),
233
+ type: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_QUOTA),
234
+ value: zod_1.z.number(),
235
+ });
225
236
  exports.ImageRecognitionModelAccessFeatureSchema = exports.SubscriptionFeatureBaseSchema.extend({
226
237
  kind: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION),
227
238
  type: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS),
@@ -269,7 +280,9 @@ exports.SubscriptionFeatureSchema = zod_1.z.union([
269
280
  exports.VideoEditorQuotaFeatureSchema,
270
281
  exports.VideoEditorModelAccessFeatureSchema,
271
282
  exports.HtmlPageBuilderModelAccessFeatureSchema,
283
+ exports.HtmlPageBuilderQuotaFeatureSchema,
272
284
  exports.DiagramsModelAccessFeatureSchema,
285
+ exports.DiagramsQuotaFeatureSchema,
273
286
  exports.ImageRecognitionModelAccessFeatureSchema,
274
287
  exports.ImageRecognitionQuotaFeatureSchema,
275
288
  ]);