@purpleschool/gptbot-tools 0.2.57 → 0.2.59
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/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
- package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
- 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/index.d.ts +0 -3
- package/build/index.js +0 -3
- 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 -2
- package/build/tools/enums/tool-content-type.enum.js +1 -2
- package/build/tools/enums/tool-type.enum.d.ts +0 -1
- package/build/tools/enums/tool-type.enum.js +0 -1
- package/build/tools/models/global-tools-config.schema.d.ts +3 -76
- package/build/tools/models/global-tools-config.schema.js +0 -2
- package/build/tools/models/tools-with-configs.schema.d.ts +6 -22
- package/build/tools/queries/get-global-tools-config.query.d.ts +6 -152
- package/build/tools/queries/get-tools-with-configs.query.d.ts +6 -22
- package/build/tts/commands/index.d.ts +0 -7
- package/build/tts/commands/index.js +0 -7
- package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
- package/build/tts/commands/retry-tts-job.command.js +0 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
- package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
- package/build/tts/commands/tts.command.d.ts +3 -35
- package/build/tts/commands/tts.command.js +1 -4
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
- package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-title.command.js +0 -2
- package/build/tts/enums/index.d.ts +0 -7
- package/build/tts/enums/index.js +0 -7
- package/build/tts/models/index.d.ts +0 -5
- package/build/tts/models/index.js +0 -5
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
- package/build/tts/models/tts-config.schema.d.ts +0 -11
- package/build/tts/models/tts-config.schema.js +0 -5
- package/build/tts/models/tts-job.schema.d.ts +2 -34
- package/build/tts/models/tts-job.schema.js +2 -22
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.js +0 -1
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
- package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
- package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
- package/build/tts/queries/find-tts-jobs.query.js +0 -1
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
- package/build/tts/queries/get-tts-config.query.d.ts +0 -22
- package/build/tts/queries/index.d.ts +0 -2
- package/build/tts/queries/index.js +0 -2
- package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
- package/build/tts/routes/tts.amqp.routes.js +0 -9
- package/package.json +1 -1
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
- package/build/photo-sessions/commands/admin/index.d.ts +0 -3
- package/build/photo-sessions/commands/admin/index.js +0 -19
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -55
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -28
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +0 -17
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -15
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +0 -16
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -46
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -30
- package/build/photo-sessions/commands/index.d.ts +0 -10
- package/build/photo-sessions/commands/index.js +0 -26
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -147
- package/build/photo-sessions/commands/photo-sessions.command.js +0 -41
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -142
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -23
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -115
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +0 -27
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -113
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -113
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -118
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
- package/build/photo-sessions/enums/index.d.ts +0 -2
- package/build/photo-sessions/enums/index.js +0 -18
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
- package/build/photo-sessions/index.d.ts +0 -5
- package/build/photo-sessions/index.js +0 -21
- package/build/photo-sessions/models/index.d.ts +0 -4
- package/build/photo-sessions/models/index.js +0 -20
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
- package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -78
- package/build/photo-sessions/models/photo-session-job.schema.js +0 -46
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
- package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
- package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -110
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -10
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -130
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -28
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
- package/build/photo-sessions/queries/index.d.ts +0 -5
- package/build/photo-sessions/queries/index.js +0 -21
- package/build/photo-sessions/routes/index.d.ts +0 -2
- package/build/photo-sessions/routes/index.js +0 -18
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
- package/build/tts/commands/create-voice-clone.command.d.ts +0 -56
- package/build/tts/commands/create-voice-clone.command.js +0 -19
- package/build/tts/commands/create-voice-design.command.d.ts +0 -35
- package/build/tts/commands/create-voice-design.command.js +0 -18
- package/build/tts/commands/delete-voice.command.d.ts +0 -15
- package/build/tts/commands/delete-voice.command.js +0 -13
- package/build/tts/commands/download-tts-job.command.d.ts +0 -25
- package/build/tts/commands/download-tts-job.command.js +0 -19
- package/build/tts/commands/improve-tts-text.command.d.ts +0 -22
- package/build/tts/commands/improve-tts-text.command.js +0 -16
- package/build/tts/commands/select-voice-design.command.d.ts +0 -53
- package/build/tts/commands/select-voice-design.command.js +0 -16
- package/build/tts/commands/update-voice.command.d.ts +0 -53
- package/build/tts/commands/update-voice.command.js +0 -16
- package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
- package/build/tts/enums/tts-download-format.enum.js +0 -9
- package/build/tts/enums/voice-category.enum.d.ts +0 -14
- package/build/tts/enums/voice-category.enum.js +0 -18
- package/build/tts/enums/voice-gender.enum.d.ts +0 -4
- package/build/tts/enums/voice-gender.enum.js +0 -8
- package/build/tts/enums/voice-source.enum.d.ts +0 -5
- package/build/tts/enums/voice-source.enum.js +0 -9
- package/build/tts/enums/voice-status.enum.d.ts +0 -5
- package/build/tts/enums/voice-status.enum.js +0 -9
- package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
- package/build/tts/enums/voice-tag-group.enum.js +0 -9
- package/build/tts/enums/voice-tag.enum.d.ts +0 -20
- package/build/tts/enums/voice-tag.enum.js +0 -24
- package/build/tts/models/voice-category.schema.d.ts +0 -7
- package/build/tts/models/voice-category.schema.js +0 -9
- package/build/tts/models/voice-design-draft.schema.d.ts +0 -12
- package/build/tts/models/voice-design-draft.schema.js +0 -12
- package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
- package/build/tts/models/voice-design-sample.schema.js +0 -8
- package/build/tts/models/voice-tag.schema.d.ts +0 -9
- package/build/tts/models/voice-tag.schema.js +0 -11
- package/build/tts/models/voice.schema.d.ts +0 -25
- package/build/tts/models/voice.schema.js +0 -27
- package/build/tts/queries/find-voice-by-id.query.d.ts +0 -53
- package/build/tts/queries/find-voice-by-id.query.js +0 -16
- package/build/tts/queries/find-voices.query.d.ts +0 -87
- package/build/tts/queries/find-voices.query.js +0 -24
|
@@ -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: {
|
package/build/index.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export * from './html-page-builder';
|
|
|
22
22
|
export * from './tool-workspace';
|
|
23
23
|
export * from './diagrams';
|
|
24
24
|
export * from './image-recognition';
|
|
25
|
-
export * from './photo-sessions';
|
|
26
25
|
import * as common from './common';
|
|
27
26
|
import * as paraphrase from './paraphrase';
|
|
28
27
|
import * as tools from './tools';
|
|
@@ -47,7 +46,6 @@ import * as accountMerge from './account-merge';
|
|
|
47
46
|
import * as toolWorkspace from './tool-workspace';
|
|
48
47
|
import * as diagrams from './diagrams';
|
|
49
48
|
import * as imageRecognition from './image-recognition';
|
|
50
|
-
import * as photoSessions from './photo-sessions';
|
|
51
49
|
export declare namespace ToolService {
|
|
52
50
|
export import Common = common;
|
|
53
51
|
export import Paraphrase = paraphrase;
|
|
@@ -73,5 +71,4 @@ export declare namespace ToolService {
|
|
|
73
71
|
export import ToolWorkspace = toolWorkspace;
|
|
74
72
|
export import Diagrams = diagrams;
|
|
75
73
|
export import ImageRecognition = imageRecognition;
|
|
76
|
-
export import PhotoSessions = photoSessions;
|
|
77
74
|
}
|
package/build/index.js
CHANGED
|
@@ -61,7 +61,6 @@ __exportStar(require("./html-page-builder"), exports);
|
|
|
61
61
|
__exportStar(require("./tool-workspace"), exports);
|
|
62
62
|
__exportStar(require("./diagrams"), exports);
|
|
63
63
|
__exportStar(require("./image-recognition"), exports);
|
|
64
|
-
__exportStar(require("./photo-sessions"), exports);
|
|
65
64
|
const common = __importStar(require("./common"));
|
|
66
65
|
const paraphrase = __importStar(require("./paraphrase"));
|
|
67
66
|
const tools = __importStar(require("./tools"));
|
|
@@ -86,7 +85,6 @@ const accountMerge = __importStar(require("./account-merge"));
|
|
|
86
85
|
const toolWorkspace = __importStar(require("./tool-workspace"));
|
|
87
86
|
const diagrams = __importStar(require("./diagrams"));
|
|
88
87
|
const imageRecognition = __importStar(require("./image-recognition"));
|
|
89
|
-
const photoSessions = __importStar(require("./photo-sessions"));
|
|
90
88
|
var ToolService;
|
|
91
89
|
(function (ToolService) {
|
|
92
90
|
ToolService.Common = common;
|
|
@@ -113,5 +111,4 @@ var ToolService;
|
|
|
113
111
|
ToolService.ToolWorkspace = toolWorkspace;
|
|
114
112
|
ToolService.Diagrams = diagrams;
|
|
115
113
|
ToolService.ImageRecognition = imageRecognition;
|
|
116
|
-
ToolService.PhotoSessions = photoSessions;
|
|
117
114
|
})(ToolService || (exports.ToolService = ToolService = {}));
|
|
@@ -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,12 +10,11 @@ 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",
|
|
17
17
|
DIAGRAMS = "DIAGRAMS",
|
|
18
18
|
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER",
|
|
19
|
-
PHOTO_SESSIONS = "PHOTO_SESSIONS",
|
|
20
19
|
IMAGE_RECOGNITION = "IMAGE_RECOGNITION"
|
|
21
20
|
}
|
|
@@ -14,12 +14,11 @@ 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";
|
|
21
21
|
TOOL_CONTENT_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
22
22
|
TOOL_CONTENT_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
23
|
-
TOOL_CONTENT_TYPE["PHOTO_SESSIONS"] = "PHOTO_SESSIONS";
|
|
24
23
|
TOOL_CONTENT_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
25
24
|
})(TOOL_CONTENT_TYPE || (exports.TOOL_CONTENT_TYPE = TOOL_CONTENT_TYPE = {}));
|
|
@@ -22,6 +22,5 @@ var TOOL_TYPE;
|
|
|
22
22
|
TOOL_TYPE["SOLVING_EDU_TASK"] = "SOLVING_EDU_TASK";
|
|
23
23
|
TOOL_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
24
24
|
TOOL_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
25
|
-
TOOL_TYPE["PHOTO_SESSION"] = "PHOTO_SESSION";
|
|
26
25
|
TOOL_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
27
26
|
})(TOOL_TYPE || (exports.TOOL_TYPE = TOOL_TYPE = {}));
|
|
@@ -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<{
|
|
@@ -540,7 +543,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
540
543
|
}, z.core.$strip>;
|
|
541
544
|
strategy: z.ZodOptional<z.ZodString>;
|
|
542
545
|
maxInputLength: z.ZodNumber;
|
|
543
|
-
maxSpeakers: z.ZodNumber;
|
|
544
546
|
voices: z.ZodArray<z.ZodObject<{
|
|
545
547
|
id: z.ZodString;
|
|
546
548
|
externalId: z.ZodString;
|
|
@@ -641,16 +643,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
641
643
|
createdAt: z.ZodDate;
|
|
642
644
|
updatedAt: z.ZodDate;
|
|
643
645
|
}, z.core.$strip>>;
|
|
644
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
645
|
-
id: z.ZodEnum<typeof import("../..").VOICE_TAG>;
|
|
646
|
-
group: z.ZodEnum<typeof import("../..").VOICE_TAG_GROUP>;
|
|
647
|
-
label: z.ZodString;
|
|
648
|
-
}, z.core.$strip>>;
|
|
649
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
650
|
-
id: z.ZodEnum<typeof import("../..").VOICE_CATEGORY>;
|
|
651
|
-
label: z.ZodString;
|
|
652
|
-
}, z.core.$strip>>;
|
|
653
|
-
speakerMarkerLabel: z.ZodString;
|
|
654
646
|
}, z.core.$strip>;
|
|
655
647
|
SPEECH_TO_TEXT: z.ZodObject<{
|
|
656
648
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -910,71 +902,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
910
902
|
}, z.core.$strip>>;
|
|
911
903
|
maxAttachmentsCount: z.ZodNumber;
|
|
912
904
|
}, z.core.$strip>;
|
|
913
|
-
PHOTO_SESSIONS: z.ZodObject<{
|
|
914
|
-
models: z.ZodArray<z.ZodObject<{
|
|
915
|
-
uuid: z.ZodString;
|
|
916
|
-
title: z.ZodString;
|
|
917
|
-
description: z.ZodString;
|
|
918
|
-
aiModel: z.ZodString;
|
|
919
|
-
isNew: z.ZodBoolean;
|
|
920
|
-
tierLabel: z.ZodString;
|
|
921
|
-
pricePerImage: z.ZodNumber;
|
|
922
|
-
order: z.ZodNumber;
|
|
923
|
-
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
924
|
-
icons: z.ZodObject<{
|
|
925
|
-
light: z.ZodObject<{
|
|
926
|
-
svg: z.ZodString;
|
|
927
|
-
png: z.ZodString;
|
|
928
|
-
}, z.core.$strip>;
|
|
929
|
-
dark: z.ZodObject<{
|
|
930
|
-
svg: z.ZodString;
|
|
931
|
-
png: z.ZodString;
|
|
932
|
-
}, z.core.$strip>;
|
|
933
|
-
}, z.core.$strip>;
|
|
934
|
-
strategy: z.ZodEnum<typeof import("../..").PHOTO_SESSION_STRATEGY>;
|
|
935
|
-
maxInputLength: z.ZodNumber;
|
|
936
|
-
params: z.ZodObject<{
|
|
937
|
-
imageAttachment: z.ZodObject<{
|
|
938
|
-
supported: z.ZodBoolean;
|
|
939
|
-
maxImages: z.ZodNumber;
|
|
940
|
-
acceptedTypes: z.ZodArray<z.ZodString>;
|
|
941
|
-
}, z.core.$strip>;
|
|
942
|
-
aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
943
|
-
width: z.ZodNumber;
|
|
944
|
-
height: z.ZodNumber;
|
|
945
|
-
}, z.core.$strip>>;
|
|
946
|
-
}, z.core.$strip>;
|
|
947
|
-
pricingRules: z.ZodArray<z.ZodObject<{
|
|
948
|
-
condition: z.ZodObject<{
|
|
949
|
-
withoutSub: z.ZodOptional<z.ZodBoolean>;
|
|
950
|
-
}, z.core.$strip>;
|
|
951
|
-
value: z.ZodNumber;
|
|
952
|
-
}, z.core.$strip>>;
|
|
953
|
-
createdAt: z.ZodDate;
|
|
954
|
-
updatedAt: z.ZodDate;
|
|
955
|
-
}, z.core.$strip>>;
|
|
956
|
-
styles: z.ZodArray<z.ZodObject<{
|
|
957
|
-
uuid: z.ZodString;
|
|
958
|
-
code: z.ZodString;
|
|
959
|
-
title: z.ZodString;
|
|
960
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
961
|
-
references: z.ZodArray<z.ZodObject<{
|
|
962
|
-
uuid: z.ZodString;
|
|
963
|
-
styleId: z.ZodString;
|
|
964
|
-
photoUrl: z.ZodString;
|
|
965
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
966
|
-
order: z.ZodNumber;
|
|
967
|
-
createdAt: z.ZodDate;
|
|
968
|
-
updatedAt: z.ZodDate;
|
|
969
|
-
}, z.core.$strip>>;
|
|
970
|
-
createdAt: z.ZodDate;
|
|
971
|
-
updatedAt: z.ZodDate;
|
|
972
|
-
}, z.core.$strip>>;
|
|
973
|
-
looks: z.ZodArray<z.ZodObject<{
|
|
974
|
-
type: z.ZodEnum<typeof import("../..").PHOTO_SESSION_LOOK_TYPE>;
|
|
975
|
-
maxPhotos: z.ZodNumber;
|
|
976
|
-
}, z.core.$strip>>;
|
|
977
|
-
}, z.core.$strip>;
|
|
978
905
|
IMAGE_RECOGNITION: z.ZodObject<{
|
|
979
906
|
models: z.ZodArray<z.ZodObject<{
|
|
980
907
|
uuid: z.ZodString;
|
|
@@ -19,7 +19,6 @@ const solving_edu_task_1 = require("../../solving-edu-task");
|
|
|
19
19
|
const spell_corrector_1 = require("../../spell-corrector");
|
|
20
20
|
const diagrams_1 = require("../../diagrams");
|
|
21
21
|
const models_2 = require("../../html-page-builder/models");
|
|
22
|
-
const photo_sessions_1 = require("../../photo-sessions");
|
|
23
22
|
const image_recognition_1 = require("../../image-recognition");
|
|
24
23
|
exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
25
24
|
[enums_1.TOOL_CONTENT_TYPE.VIDEO]: video_1.VideoConfigSchema,
|
|
@@ -38,6 +37,5 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
|
38
37
|
[enums_1.TOOL_CONTENT_TYPE.SPELL_CORRECTOR]: spell_corrector_1.SpellCorrectorToolConfigSchema,
|
|
39
38
|
[enums_1.TOOL_CONTENT_TYPE.DIAGRAMS]: diagrams_1.DiagramsConfigSchema,
|
|
40
39
|
[enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_2.HtmlPageBuilderConfigSchema,
|
|
41
|
-
[enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
|
|
42
40
|
[enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
|
|
43
41
|
});
|