@purpleschool/gptbot-tools 0.2.57 → 0.2.59-stage2
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/image-editor/commands/get-image-editor-price.command.d.ts +2 -0
- package/build/image-editor/commands/get-image-editor-price.command.js +2 -0
- package/build/image-editor/commands/image-editor-model/get-image-editor-model-by-uuid.command.d.ts +6 -0
- package/build/image-editor/commands/image-editor.command.d.ts +3 -0
- package/build/image-editor/commands/image-editor.command.js +1 -0
- package/build/image-editor/commands/retry-image-editor-job.command.d.ts +3 -0
- package/build/image-editor/commands/set-reaction-to-image-editor-job.command.d.ts +2 -0
- package/build/image-editor/commands/update-image-editor-job-favorite.command.d.ts +2 -0
- package/build/image-editor/commands/update-image-editor-job-title.command.d.ts +2 -0
- package/build/image-editor/commands/update-published-status-image-editor-jobs.command.d.ts +2 -0
- package/build/image-editor/enums/image-editor-strategy.enum.d.ts +1 -0
- package/build/image-editor/enums/image-editor-strategy.enum.js +1 -0
- package/build/image-editor/models/image-editor-config.schema.d.ts +3 -0
- package/build/image-editor/models/image-editor-job.schema.d.ts +2 -0
- package/build/image-editor/models/image-editor-job.schema.js +1 -0
- package/build/image-editor/models/image-editor-model.schema.d.ts +6 -0
- package/build/image-editor/models/image-editor-model.schema.js +5 -0
- package/build/image-editor/queries/find-image-editor-job-by-id.query.d.ts +2 -0
- package/build/image-editor/queries/find-image-editor-jobs.query.d.ts +2 -0
- package/build/image-editor/queries/find-image-jobs.query.d.ts +2 -0
- package/build/image-editor/queries/get-image-editor-config.query.d.ts +6 -0
- package/build/tool-workspace/models/tool-workspace-contents.schema.d.ts +1 -0
- package/build/tool-workspace/models/tool-workspace-item.schema.d.ts +1 -0
- package/build/tool-workspace/models/tool-workspace-job.schema.d.ts +1 -0
- package/build/tool-workspace/queries/find-tool-workspace-by-uuid.query.d.ts +2 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +1 -1
- package/build/tools/enums/tool-content-type.enum.js +1 -1
- package/build/tools/models/global-tools-config.schema.d.ts +3 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +6 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +6 -0
- package/build/tools/queries/get-tools-with-configs.query.d.ts +6 -0
- package/package.json +1 -1
|
@@ -18,6 +18,8 @@ export declare namespace GetImageEditorPriceCommand {
|
|
|
18
18
|
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
19
19
|
}, z.core.$strip>>;
|
|
20
20
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
22
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
21
23
|
}, z.core.$strip>;
|
|
22
24
|
userHasActiveSubscriptionOrProduct: z.ZodBoolean;
|
|
23
25
|
}, z.core.$strip>;
|
|
@@ -14,6 +14,8 @@ var GetImageEditorPriceCommand;
|
|
|
14
14
|
params: zod_1.z.object({
|
|
15
15
|
attachedFiles: zod_1.z.array(common_1.AttachedFileSchema),
|
|
16
16
|
systemPromptId: zod_1.z.string().optional(),
|
|
17
|
+
aspectRatio: zod_1.z.string().optional(),
|
|
18
|
+
resolution: zod_1.z.string().optional(),
|
|
17
19
|
}),
|
|
18
20
|
userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
|
|
19
21
|
});
|
package/build/image-editor/commands/image-editor-model/get-image-editor-model-by-uuid.command.d.ts
CHANGED
|
@@ -39,6 +39,9 @@ export declare namespace GetImageEditorModelByUuidCommand {
|
|
|
39
39
|
width: number;
|
|
40
40
|
height: number;
|
|
41
41
|
}>;
|
|
42
|
+
resolution?: {
|
|
43
|
+
options: string[];
|
|
44
|
+
} | undefined;
|
|
42
45
|
};
|
|
43
46
|
pricingRules: {
|
|
44
47
|
condition: {
|
|
@@ -80,6 +83,9 @@ export declare namespace GetImageEditorModelByUuidCommand {
|
|
|
80
83
|
width: number;
|
|
81
84
|
height: number;
|
|
82
85
|
}>;
|
|
86
|
+
resolution?: {
|
|
87
|
+
options: string[];
|
|
88
|
+
} | undefined;
|
|
83
89
|
};
|
|
84
90
|
pricingRules: {
|
|
85
91
|
condition: {
|
|
@@ -29,6 +29,7 @@ export declare namespace ImageEditorCommand {
|
|
|
29
29
|
}, z.core.$strip>>;
|
|
30
30
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
31
31
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
32
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
32
33
|
}, z.core.$strip>;
|
|
33
34
|
userHasActiveSubscriptionOrProduct: z.ZodBoolean;
|
|
34
35
|
tokenReservationId: z.ZodString;
|
|
@@ -64,6 +65,7 @@ export declare namespace ImageEditorCommand {
|
|
|
64
65
|
imageUrls?: string[] | undefined;
|
|
65
66
|
systemPromptId?: string | undefined;
|
|
66
67
|
aspectRatio?: string | undefined;
|
|
68
|
+
resolution?: string | undefined;
|
|
67
69
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
68
70
|
};
|
|
69
71
|
imageUrls: string[] | null;
|
|
@@ -105,6 +107,7 @@ export declare namespace ImageEditorCommand {
|
|
|
105
107
|
imageUrls?: string[] | undefined;
|
|
106
108
|
systemPromptId?: string | undefined;
|
|
107
109
|
aspectRatio?: string | undefined;
|
|
110
|
+
resolution?: string | undefined;
|
|
108
111
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
109
112
|
};
|
|
110
113
|
imageUrls: string[] | null;
|
|
@@ -26,6 +26,7 @@ var ImageEditorCommand;
|
|
|
26
26
|
attachedFiles: zod_1.z.array(common_1.AttachedFileSchema),
|
|
27
27
|
systemPromptId: zod_1.z.string().optional(),
|
|
28
28
|
aspectRatio: zod_1.z.string().optional(),
|
|
29
|
+
resolution: zod_1.z.string().optional(),
|
|
29
30
|
}),
|
|
30
31
|
userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
|
|
31
32
|
tokenReservationId: zod_1.z.string().uuid(),
|
|
@@ -25,6 +25,7 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
25
25
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
26
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
27
27
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
28
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
28
29
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
29
30
|
}, z.core.$strip>>;
|
|
30
31
|
}, z.core.$strip>;
|
|
@@ -58,6 +59,7 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
58
59
|
imageUrls?: string[] | undefined;
|
|
59
60
|
systemPromptId?: string | undefined;
|
|
60
61
|
aspectRatio?: string | undefined;
|
|
62
|
+
resolution?: string | undefined;
|
|
61
63
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
62
64
|
};
|
|
63
65
|
imageUrls: string[] | null;
|
|
@@ -99,6 +101,7 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
99
101
|
imageUrls?: string[] | undefined;
|
|
100
102
|
systemPromptId?: string | undefined;
|
|
101
103
|
aspectRatio?: string | undefined;
|
|
104
|
+
resolution?: string | undefined;
|
|
102
105
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
103
106
|
};
|
|
104
107
|
imageUrls: string[] | null;
|
|
@@ -38,6 +38,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
38
38
|
imageUrls?: string[] | undefined;
|
|
39
39
|
systemPromptId?: string | undefined;
|
|
40
40
|
aspectRatio?: string | undefined;
|
|
41
|
+
resolution?: string | undefined;
|
|
41
42
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
42
43
|
};
|
|
43
44
|
imageUrls: string[] | null;
|
|
@@ -79,6 +80,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
79
80
|
imageUrls?: string[] | undefined;
|
|
80
81
|
systemPromptId?: string | undefined;
|
|
81
82
|
aspectRatio?: string | undefined;
|
|
83
|
+
resolution?: string | undefined;
|
|
82
84
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
83
85
|
};
|
|
84
86
|
imageUrls: string[] | null;
|
|
@@ -36,6 +36,7 @@ export declare namespace UpdateImageEditorJobFavoriteCommand {
|
|
|
36
36
|
imageUrls?: string[] | undefined;
|
|
37
37
|
systemPromptId?: string | undefined;
|
|
38
38
|
aspectRatio?: string | undefined;
|
|
39
|
+
resolution?: string | undefined;
|
|
39
40
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
40
41
|
};
|
|
41
42
|
imageUrls: string[] | null;
|
|
@@ -77,6 +78,7 @@ export declare namespace UpdateImageEditorJobFavoriteCommand {
|
|
|
77
78
|
imageUrls?: string[] | undefined;
|
|
78
79
|
systemPromptId?: string | undefined;
|
|
79
80
|
aspectRatio?: string | undefined;
|
|
81
|
+
resolution?: string | undefined;
|
|
80
82
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
81
83
|
};
|
|
82
84
|
imageUrls: string[] | null;
|
|
@@ -36,6 +36,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
36
36
|
imageUrls?: string[] | undefined;
|
|
37
37
|
systemPromptId?: string | undefined;
|
|
38
38
|
aspectRatio?: string | undefined;
|
|
39
|
+
resolution?: string | undefined;
|
|
39
40
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
40
41
|
};
|
|
41
42
|
imageUrls: string[] | null;
|
|
@@ -77,6 +78,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
77
78
|
imageUrls?: string[] | undefined;
|
|
78
79
|
systemPromptId?: string | undefined;
|
|
79
80
|
aspectRatio?: string | undefined;
|
|
81
|
+
resolution?: string | undefined;
|
|
80
82
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
81
83
|
};
|
|
82
84
|
imageUrls: string[] | null;
|
|
@@ -41,6 +41,7 @@ export declare namespace UpdatePublishedStatusImageEditorJobsCommand {
|
|
|
41
41
|
imageUrls?: string[] | undefined;
|
|
42
42
|
systemPromptId?: string | undefined;
|
|
43
43
|
aspectRatio?: string | undefined;
|
|
44
|
+
resolution?: string | undefined;
|
|
44
45
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
45
46
|
};
|
|
46
47
|
imageUrls: string[] | null;
|
|
@@ -82,6 +83,7 @@ export declare namespace UpdatePublishedStatusImageEditorJobsCommand {
|
|
|
82
83
|
imageUrls?: string[] | undefined;
|
|
83
84
|
systemPromptId?: string | undefined;
|
|
84
85
|
aspectRatio?: string | undefined;
|
|
86
|
+
resolution?: string | undefined;
|
|
85
87
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
86
88
|
};
|
|
87
89
|
imageUrls: string[] | null;
|
|
@@ -5,5 +5,6 @@ export declare enum IMAGE_EDITING_STRATEGY {
|
|
|
5
5
|
RECRAFT_REMOVE_BACKGROUND_POLLING = "RECRAFT_REMOVE_BACKGROUND_POLLING",
|
|
6
6
|
NANO_BANANA_PRO_CALLBACK = "NANO_BANANA_PRO_CALLBACK",
|
|
7
7
|
NANO_BANANA_PRO_POLLING = "NANO_BANANA_PRO_POLLING",
|
|
8
|
+
OPENAI_IMAGE_2_CALLBACK = "OPENAI_IMAGE_2_CALLBACK",
|
|
8
9
|
SEEDREAM_EDITING_CALLBACK = "SEEDREAM_EDITING_CALLBACK"
|
|
9
10
|
}
|
|
@@ -9,5 +9,6 @@ var IMAGE_EDITING_STRATEGY;
|
|
|
9
9
|
IMAGE_EDITING_STRATEGY["RECRAFT_REMOVE_BACKGROUND_POLLING"] = "RECRAFT_REMOVE_BACKGROUND_POLLING";
|
|
10
10
|
IMAGE_EDITING_STRATEGY["NANO_BANANA_PRO_CALLBACK"] = "NANO_BANANA_PRO_CALLBACK";
|
|
11
11
|
IMAGE_EDITING_STRATEGY["NANO_BANANA_PRO_POLLING"] = "NANO_BANANA_PRO_POLLING";
|
|
12
|
+
IMAGE_EDITING_STRATEGY["OPENAI_IMAGE_2_CALLBACK"] = "OPENAI_IMAGE_2_CALLBACK";
|
|
12
13
|
IMAGE_EDITING_STRATEGY["SEEDREAM_EDITING_CALLBACK"] = "SEEDREAM_EDITING_CALLBACK";
|
|
13
14
|
})(IMAGE_EDITING_STRATEGY || (exports.IMAGE_EDITING_STRATEGY = IMAGE_EDITING_STRATEGY = {}));
|
|
@@ -94,6 +94,9 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
94
94
|
width: z.ZodNumber;
|
|
95
95
|
height: z.ZodNumber;
|
|
96
96
|
}, z.core.$strip>>;
|
|
97
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
options: z.ZodArray<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
97
100
|
}, z.core.$strip>;
|
|
98
101
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
99
102
|
condition: z.ZodObject<{
|
|
@@ -16,6 +16,7 @@ export declare const ImageEditorJobParamsSchema: z.ZodObject<{
|
|
|
16
16
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
17
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
19
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
19
20
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
20
21
|
}, z.core.$strip>;
|
|
21
22
|
export type ImageEditorJobParams = z.infer<typeof ImageEditorJobParamsSchema>;
|
|
@@ -46,6 +47,7 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
46
47
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
48
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
48
49
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
50
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
49
51
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
50
52
|
}, z.core.$strip>;
|
|
51
53
|
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
@@ -9,6 +9,7 @@ exports.ImageEditorJobParamsSchema = zod_1.z.object({
|
|
|
9
9
|
imageUrls: zod_1.z.array(zod_1.z.string()).optional(),
|
|
10
10
|
systemPromptId: zod_1.z.string().optional(),
|
|
11
11
|
aspectRatio: zod_1.z.string().optional(),
|
|
12
|
+
resolution: zod_1.z.string().optional(),
|
|
12
13
|
userHasActiveSubscriptionOrProduct: zod_1.z.boolean().optional(),
|
|
13
14
|
});
|
|
14
15
|
exports.ImageEditorJobSchema = zod_1.z.object({
|
|
@@ -11,6 +11,9 @@ export declare const ImageEditorModelParamsSchema: z.ZodObject<{
|
|
|
11
11
|
width: z.ZodNumber;
|
|
12
12
|
height: z.ZodNumber;
|
|
13
13
|
}, z.core.$strip>>;
|
|
14
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
options: z.ZodArray<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
14
17
|
}, z.core.$strip>;
|
|
15
18
|
export type ImageEditorModelParams = z.infer<typeof ImageEditorModelParamsSchema>;
|
|
16
19
|
export declare const ImageEditorModelPricingRuleConditionSchema: z.ZodObject<{
|
|
@@ -56,6 +59,9 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
56
59
|
width: z.ZodNumber;
|
|
57
60
|
height: z.ZodNumber;
|
|
58
61
|
}, z.core.$strip>>;
|
|
62
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
options: z.ZodArray<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
59
65
|
}, z.core.$strip>;
|
|
60
66
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
61
67
|
condition: z.ZodObject<{
|
|
@@ -14,6 +14,11 @@ exports.ImageEditorModelParamsSchema = zod_1.z.object({
|
|
|
14
14
|
width: zod_1.z.number(),
|
|
15
15
|
height: zod_1.z.number(),
|
|
16
16
|
})),
|
|
17
|
+
resolution: zod_1.z
|
|
18
|
+
.object({
|
|
19
|
+
options: zod_1.z.array(zod_1.z.string()),
|
|
20
|
+
})
|
|
21
|
+
.optional(),
|
|
17
22
|
});
|
|
18
23
|
exports.ImageEditorModelPricingRuleConditionSchema = zod_1.z.object({
|
|
19
24
|
withoutSub: zod_1.z.boolean().optional(),
|
|
@@ -35,6 +35,7 @@ export declare namespace FindImageEditorJobByIdQuery {
|
|
|
35
35
|
imageUrls?: string[] | undefined;
|
|
36
36
|
systemPromptId?: string | undefined;
|
|
37
37
|
aspectRatio?: string | undefined;
|
|
38
|
+
resolution?: string | undefined;
|
|
38
39
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
39
40
|
};
|
|
40
41
|
imageUrls: string[] | null;
|
|
@@ -76,6 +77,7 @@ export declare namespace FindImageEditorJobByIdQuery {
|
|
|
76
77
|
imageUrls?: string[] | undefined;
|
|
77
78
|
systemPromptId?: string | undefined;
|
|
78
79
|
aspectRatio?: string | undefined;
|
|
80
|
+
resolution?: string | undefined;
|
|
79
81
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
80
82
|
};
|
|
81
83
|
imageUrls: string[] | null;
|
|
@@ -45,6 +45,7 @@ export declare namespace FindImageEditorJobsQuery {
|
|
|
45
45
|
imageUrls?: string[] | undefined;
|
|
46
46
|
systemPromptId?: string | undefined;
|
|
47
47
|
aspectRatio?: string | undefined;
|
|
48
|
+
resolution?: string | undefined;
|
|
48
49
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
49
50
|
};
|
|
50
51
|
imageUrls: string[] | null;
|
|
@@ -91,6 +92,7 @@ export declare namespace FindImageEditorJobsQuery {
|
|
|
91
92
|
imageUrls?: string[] | undefined;
|
|
92
93
|
systemPromptId?: string | undefined;
|
|
93
94
|
aspectRatio?: string | undefined;
|
|
95
|
+
resolution?: string | undefined;
|
|
94
96
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
95
97
|
};
|
|
96
98
|
imageUrls: string[] | null;
|
|
@@ -43,6 +43,7 @@ export declare namespace FindImageJobsQuery {
|
|
|
43
43
|
imageUrls?: string[] | undefined;
|
|
44
44
|
systemPromptId?: string | undefined;
|
|
45
45
|
aspectRatio?: string | undefined;
|
|
46
|
+
resolution?: string | undefined;
|
|
46
47
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
47
48
|
};
|
|
48
49
|
imageUrls: string[] | null;
|
|
@@ -88,6 +89,7 @@ export declare namespace FindImageJobsQuery {
|
|
|
88
89
|
imageUrls?: string[] | undefined;
|
|
89
90
|
systemPromptId?: string | undefined;
|
|
90
91
|
aspectRatio?: string | undefined;
|
|
92
|
+
resolution?: string | undefined;
|
|
91
93
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
92
94
|
};
|
|
93
95
|
imageUrls: string[] | null;
|
|
@@ -39,6 +39,9 @@ export declare namespace GetImageEditorConfigQuery {
|
|
|
39
39
|
width: number;
|
|
40
40
|
height: number;
|
|
41
41
|
}>;
|
|
42
|
+
resolution?: {
|
|
43
|
+
options: string[];
|
|
44
|
+
} | undefined;
|
|
42
45
|
};
|
|
43
46
|
pricingRules: {
|
|
44
47
|
condition: {
|
|
@@ -117,6 +120,9 @@ export declare namespace GetImageEditorConfigQuery {
|
|
|
117
120
|
width: number;
|
|
118
121
|
height: number;
|
|
119
122
|
}>;
|
|
123
|
+
resolution?: {
|
|
124
|
+
options: string[];
|
|
125
|
+
} | undefined;
|
|
120
126
|
};
|
|
121
127
|
pricingRules: {
|
|
122
128
|
condition: {
|
|
@@ -106,6 +106,7 @@ export declare const ToolWorkspaceContentsSchema: z.ZodObject<{
|
|
|
106
106
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
107
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
108
108
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
109
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
109
110
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
110
111
|
}, z.core.$strip>;
|
|
111
112
|
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
@@ -96,6 +96,7 @@ export declare const ToolWorkspaceItemSchema: z.ZodObject<{
|
|
|
96
96
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
97
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
98
98
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
99
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
99
100
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
100
101
|
}, z.core.$strip>;
|
|
101
102
|
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
@@ -89,6 +89,7 @@ export declare const ToolWorkspaceJobSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
89
89
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
90
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
91
91
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
92
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
92
93
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
93
94
|
}, z.core.$strip>;
|
|
94
95
|
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
@@ -115,6 +115,7 @@ export declare namespace FindToolWorkspaceByUuidQuery {
|
|
|
115
115
|
imageUrls?: string[] | undefined;
|
|
116
116
|
systemPromptId?: string | undefined;
|
|
117
117
|
aspectRatio?: string | undefined;
|
|
118
|
+
resolution?: string | undefined;
|
|
118
119
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
119
120
|
};
|
|
120
121
|
imageUrls: string[] | null;
|
|
@@ -289,6 +290,7 @@ export declare namespace FindToolWorkspaceByUuidQuery {
|
|
|
289
290
|
imageUrls?: string[] | undefined;
|
|
290
291
|
systemPromptId?: string | undefined;
|
|
291
292
|
aspectRatio?: string | undefined;
|
|
293
|
+
resolution?: string | undefined;
|
|
292
294
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
293
295
|
};
|
|
294
296
|
imageUrls: string[] | null;
|
|
@@ -10,7 +10,7 @@ export declare enum TOOL_CONTENT_TYPE {
|
|
|
10
10
|
VIDEO_EDITOR = "VIDEO_EDITOR",
|
|
11
11
|
MUSIC = "MUSIC",
|
|
12
12
|
INTERIOR_DESIGN = "INTERIOR_DESIGN",
|
|
13
|
-
|
|
13
|
+
TEXT = "TEXT",
|
|
14
14
|
MARKETPLACE_CARD_GENERATION = "MARKETPLACE_CARD",
|
|
15
15
|
SOLVING_EDU_TASK = "SOLVING_EDU_TASK",
|
|
16
16
|
SPELL_CORRECTOR = "SPELL_CORRECTOR",
|
|
@@ -14,7 +14,7 @@ var TOOL_CONTENT_TYPE;
|
|
|
14
14
|
TOOL_CONTENT_TYPE["VIDEO_EDITOR"] = "VIDEO_EDITOR";
|
|
15
15
|
TOOL_CONTENT_TYPE["MUSIC"] = "MUSIC";
|
|
16
16
|
TOOL_CONTENT_TYPE["INTERIOR_DESIGN"] = "INTERIOR_DESIGN";
|
|
17
|
-
TOOL_CONTENT_TYPE["
|
|
17
|
+
TOOL_CONTENT_TYPE["TEXT"] = "TEXT";
|
|
18
18
|
TOOL_CONTENT_TYPE["MARKETPLACE_CARD_GENERATION"] = "MARKETPLACE_CARD";
|
|
19
19
|
TOOL_CONTENT_TYPE["SOLVING_EDU_TASK"] = "SOLVING_EDU_TASK";
|
|
20
20
|
TOOL_CONTENT_TYPE["SPELL_CORRECTOR"] = "SPELL_CORRECTOR";
|
|
@@ -242,6 +242,9 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
242
242
|
width: z.ZodNumber;
|
|
243
243
|
height: z.ZodNumber;
|
|
244
244
|
}, z.core.$strip>>;
|
|
245
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
options: z.ZodArray<z.ZodString>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
245
248
|
}, z.core.$strip>;
|
|
246
249
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
247
250
|
condition: z.ZodObject<{
|
|
@@ -290,6 +290,9 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
290
290
|
width: z.ZodNumber;
|
|
291
291
|
height: z.ZodNumber;
|
|
292
292
|
}, z.core.$strip>>;
|
|
293
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
options: z.ZodArray<z.ZodString>;
|
|
295
|
+
}, z.core.$strip>>;
|
|
293
296
|
}, z.core.$strip>;
|
|
294
297
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
295
298
|
condition: z.ZodObject<{
|
|
@@ -1457,6 +1460,9 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1457
1460
|
width: z.ZodNumber;
|
|
1458
1461
|
height: z.ZodNumber;
|
|
1459
1462
|
}, z.core.$strip>>;
|
|
1463
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
1464
|
+
options: z.ZodArray<z.ZodString>;
|
|
1465
|
+
}, z.core.$strip>>;
|
|
1460
1466
|
}, z.core.$strip>;
|
|
1461
1467
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
1462
1468
|
condition: z.ZodObject<{
|
|
@@ -249,6 +249,9 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
249
249
|
width: number;
|
|
250
250
|
height: number;
|
|
251
251
|
}>;
|
|
252
|
+
resolution?: {
|
|
253
|
+
options: string[];
|
|
254
|
+
} | undefined;
|
|
252
255
|
};
|
|
253
256
|
pricingRules: {
|
|
254
257
|
condition: {
|
|
@@ -1276,6 +1279,9 @@ export declare namespace GetGlobalToolsConfigQuery {
|
|
|
1276
1279
|
width: number;
|
|
1277
1280
|
height: number;
|
|
1278
1281
|
}>;
|
|
1282
|
+
resolution?: {
|
|
1283
|
+
options: string[];
|
|
1284
|
+
} | undefined;
|
|
1279
1285
|
};
|
|
1280
1286
|
pricingRules: {
|
|
1281
1287
|
condition: {
|
|
@@ -296,6 +296,9 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
296
296
|
width: number;
|
|
297
297
|
height: number;
|
|
298
298
|
}>;
|
|
299
|
+
resolution?: {
|
|
300
|
+
options: string[];
|
|
301
|
+
} | undefined;
|
|
299
302
|
};
|
|
300
303
|
pricingRules: {
|
|
301
304
|
condition: {
|
|
@@ -1461,6 +1464,9 @@ export declare namespace GetToolsWithConfigsQuery {
|
|
|
1461
1464
|
width: number;
|
|
1462
1465
|
height: number;
|
|
1463
1466
|
}>;
|
|
1467
|
+
resolution?: {
|
|
1468
|
+
options: string[];
|
|
1469
|
+
} | undefined;
|
|
1464
1470
|
};
|
|
1465
1471
|
pricingRules: {
|
|
1466
1472
|
condition: {
|