@purpleschool/gptbot 0.14.42 → 0.14.44
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.
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +5 -0
- package/build/commands/page/find-pages-by-criteria.command.d.ts +1 -0
- package/build/commands/page/find-pages-by-criteria.command.js +1 -0
- package/build/commands/product/create-product.command.d.ts +46 -0
- package/build/commands/product/find-product.command.d.ts +46 -0
- package/build/commands/product/get-my-products.command.d.ts +23 -0
- package/build/commands/product/update-product.command.d.ts +46 -0
- package/build/commands/subscription/create-subscription.command.d.ts +46 -0
- package/build/commands/subscription/find-subscription.command.d.ts +69 -0
- package/build/commands/subscription/get-available-upgrades.command.d.ts +46 -0
- package/build/commands/subscription/get-free-subscription.command.d.ts +23 -0
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +115 -0
- package/build/commands/subscription/update-subscription.command.d.ts +46 -0
- package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +23 -0
- package/build/commands/team-account/find-current-team-account-products.command.d.ts +23 -0
- package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +23 -0
- package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +23 -0
- package/build/commands/team-account/find-team-account-products.command.d.ts +23 -0
- package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +46 -0
- package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +23 -0
- package/build/commands/team-to-product/get-team-to-products.command.d.ts +23 -0
- package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +23 -0
- package/build/commands/tools/diagrams/get-diagrams-tool-config.command.d.ts +5 -0
- package/build/commands/tools/html-page-builder/get-html-page-builder-tool-config.command.d.ts +5 -0
- package/build/commands/tools/image-recognition/get-image-recognition-tool-config.command.d.ts +5 -0
- package/build/commands/tools/music/generate-music.command.d.ts +2 -4
- package/build/commands/tools/music/generate-music.command.js +1 -1
- package/build/commands/tools/paraphrase/get-paraphrase-tool-config.command.d.ts +1 -0
- package/build/commands/tools/spell-corrector/get-spell-corrector-tool-config.command.d.ts +1 -0
- package/build/commands/user/get-user-products.command.d.ts +23 -0
- package/build/commands/user/get-user-subscriptions.command.d.ts +23 -0
- package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +23 -0
- package/build/constants/subscription/enums/subscription-feature-type.enum.d.ts +9 -2
- package/build/constants/subscription/enums/subscription-feature-type.enum.js +7 -0
- package/build/constants/tool-music/enums/music-generation-action-type.enum.d.ts +1 -2
- package/build/constants/tool-music/enums/music-generation-action-type.enum.js +0 -1
- package/build/models/canvas-node-definition.schema.d.ts +15 -0
- package/build/models/product.schema.d.ts +23 -0
- package/build/models/subscription-feature.schema.d.ts +51 -0
- package/build/models/subscription-feature.schema.js +28 -1
- package/build/models/subscription-upgrade-schema.d.ts +23 -0
- package/build/models/subscription.schema.d.ts +115 -0
- package/build/models/team-account/team-to-product.schema.d.ts +23 -0
- package/build/models/team-account/team-to-subscription.schema.d.ts +23 -0
- package/build/models/tools/diagrams/diagrams-config.schema.d.ts +5 -0
- package/build/models/tools/diagrams/diagrams-model.schema.d.ts +10 -0
- package/build/models/tools/diagrams/diagrams-model.schema.js +3 -0
- package/build/models/tools/html-page-builder/html-page-builder-config.schema.d.ts +5 -0
- package/build/models/tools/html-page-builder/html-page-builder-model.schema.d.ts +5 -0
- package/build/models/tools/html-page-builder/html-page-builder-model.schema.js +3 -0
- package/build/models/tools/image-generation/image-generation-model.schema.js +1 -1
- package/build/models/tools/image-recognition/image-recognition-config.schema.d.ts +5 -0
- package/build/models/tools/image-recognition/image-recognition-model.schema.d.ts +5 -0
- package/build/models/tools/image-recognition/image-recognition-model.schema.js +3 -0
- package/build/models/tools/music/music-job.schema.js +4 -6
- package/build/models/tools/paraphrase/paraphrase-config.schema.d.ts +1 -0
- package/build/models/tools/paraphrase/paraphrase-model.schema.d.ts +2 -0
- package/build/models/tools/paraphrase/paraphrase-model.schema.js +2 -0
- package/build/models/tools/spell-corrector/spell-corrector-config.schema.d.ts +1 -0
- package/build/models/tools/spell-corrector/spell-corrector-model.schema.d.ts +2 -0
- package/build/models/tools/spell-corrector/spell-corrector-model.schema.js +2 -0
- package/build/models/user-to-product.schema.d.ts +23 -0
- package/build/models/user-to-subscription.schema.d.ts +69 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { TOOL_MODEL_STATUS } from '../../../constants';
|
|
2
3
|
export declare const SpellCorrectorModelSchema: z.ZodObject<{
|
|
3
4
|
uuid: z.ZodString;
|
|
4
5
|
title: z.ZodString;
|
|
@@ -6,6 +7,7 @@ export declare const SpellCorrectorModelSchema: z.ZodObject<{
|
|
|
6
7
|
icon: z.ZodString;
|
|
7
8
|
price: z.ZodNumber;
|
|
8
9
|
order: z.ZodNumber;
|
|
10
|
+
status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
|
|
9
11
|
canUse: z.ZodBoolean;
|
|
10
12
|
icons: z.ZodObject<{
|
|
11
13
|
light: z.ZodObject<{
|
|
@@ -4,6 +4,7 @@ exports.SpellCorrectorModelSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const icon_variants_schema_1 = require("../../icon-variants.schema");
|
|
6
6
|
const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
|
|
7
|
+
const constants_1 = require("../../../constants");
|
|
7
8
|
exports.SpellCorrectorModelSchema = zod_1.z.object({
|
|
8
9
|
uuid: zod_1.z.string().uuid(),
|
|
9
10
|
title: zod_1.z.string(),
|
|
@@ -11,6 +12,7 @@ exports.SpellCorrectorModelSchema = zod_1.z.object({
|
|
|
11
12
|
icon: zod_1.z.string(),
|
|
12
13
|
price: zod_1.z.number(),
|
|
13
14
|
order: zod_1.z.number(),
|
|
15
|
+
status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
|
|
14
16
|
canUse: zod_1.z.boolean(),
|
|
15
17
|
icons: icon_variants_schema_1.IconVariantsSchema,
|
|
16
18
|
unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
|
|
@@ -248,6 +248,29 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
|
|
|
248
248
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
249
249
|
isAvailable: z.ZodBoolean;
|
|
250
250
|
modelId: z.ZodString;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
title: z.ZodString;
|
|
253
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
254
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
255
|
+
isAvailable: z.ZodBoolean;
|
|
256
|
+
modelId: z.ZodString;
|
|
257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
258
|
+
title: z.ZodString;
|
|
259
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
260
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
261
|
+
isAvailable: z.ZodBoolean;
|
|
262
|
+
modelId: z.ZodString;
|
|
263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
264
|
+
title: z.ZodString;
|
|
265
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
266
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
267
|
+
isAvailable: z.ZodBoolean;
|
|
268
|
+
modelId: z.ZodString;
|
|
269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
270
|
+
title: z.ZodString;
|
|
271
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
272
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
273
|
+
value: z.ZodNumber;
|
|
251
274
|
}, z.core.$strip>]>>;
|
|
252
275
|
maxInputLength: z.ZodNumber;
|
|
253
276
|
maxInputTokens: z.ZodNumber;
|
|
@@ -267,6 +267,29 @@ export declare const UserToSubscriptionWithSubscriptionSchema: z.ZodIntersection
|
|
|
267
267
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
268
268
|
isAvailable: z.ZodBoolean;
|
|
269
269
|
modelId: z.ZodString;
|
|
270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
271
|
+
title: z.ZodString;
|
|
272
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
273
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
274
|
+
isAvailable: z.ZodBoolean;
|
|
275
|
+
modelId: z.ZodString;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
|
+
title: z.ZodString;
|
|
278
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
279
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
280
|
+
isAvailable: z.ZodBoolean;
|
|
281
|
+
modelId: z.ZodString;
|
|
282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
283
|
+
title: z.ZodString;
|
|
284
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
285
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
286
|
+
isAvailable: z.ZodBoolean;
|
|
287
|
+
modelId: z.ZodString;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
title: z.ZodString;
|
|
290
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
291
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
292
|
+
value: z.ZodNumber;
|
|
270
293
|
}, z.core.$strip>]>>;
|
|
271
294
|
teamFeatures: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
272
295
|
key: z.ZodEnum<typeof import("..").TEAM_SUBSCRIPTION_FEATURE_KEY>;
|
|
@@ -543,6 +566,29 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
|
|
|
543
566
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
544
567
|
isAvailable: z.ZodBoolean;
|
|
545
568
|
modelId: z.ZodString;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
title: z.ZodString;
|
|
571
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
572
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
573
|
+
isAvailable: z.ZodBoolean;
|
|
574
|
+
modelId: z.ZodString;
|
|
575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
+
title: z.ZodString;
|
|
577
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
578
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
579
|
+
isAvailable: z.ZodBoolean;
|
|
580
|
+
modelId: z.ZodString;
|
|
581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
582
|
+
title: z.ZodString;
|
|
583
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
584
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
585
|
+
isAvailable: z.ZodBoolean;
|
|
586
|
+
modelId: z.ZodString;
|
|
587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
588
|
+
title: z.ZodString;
|
|
589
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
590
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
591
|
+
value: z.ZodNumber;
|
|
546
592
|
}, z.core.$strip>]>>;
|
|
547
593
|
teamFeatures: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
548
594
|
key: z.ZodEnum<typeof import("..").TEAM_SUBSCRIPTION_FEATURE_KEY>;
|
|
@@ -802,6 +848,29 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
|
|
|
802
848
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
803
849
|
isAvailable: z.ZodBoolean;
|
|
804
850
|
modelId: z.ZodString;
|
|
851
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
852
|
+
title: z.ZodString;
|
|
853
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
854
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
855
|
+
isAvailable: z.ZodBoolean;
|
|
856
|
+
modelId: z.ZodString;
|
|
857
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
858
|
+
title: z.ZodString;
|
|
859
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
860
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
861
|
+
isAvailable: z.ZodBoolean;
|
|
862
|
+
modelId: z.ZodString;
|
|
863
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
864
|
+
title: z.ZodString;
|
|
865
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
866
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
867
|
+
isAvailable: z.ZodBoolean;
|
|
868
|
+
modelId: z.ZodString;
|
|
869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
870
|
+
title: z.ZodString;
|
|
871
|
+
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
872
|
+
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
873
|
+
value: z.ZodNumber;
|
|
805
874
|
}, z.core.$strip>]>>;
|
|
806
875
|
teamFeatures: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
807
876
|
key: z.ZodEnum<typeof import("..").TEAM_SUBSCRIPTION_FEATURE_KEY>;
|