@purpleschool/gptbot-tools 0.2.54 → 0.2.56-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/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
- package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +3 -0
- package/build/marketplace-card/models/marketplace-card-config.schema.d.ts +0 -1
- package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +0 -1
- package/build/marketplace-card/models/marketplace-card-model.schema.js +0 -1
- package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +0 -2
- package/build/paraphrase/models/paraphrase-tool-config.schema.d.ts +1 -0
- package/build/paraphrase/models/paraphrase-type.schema.d.ts +2 -1
- package/build/paraphrase/models/paraphrase-type.schema.js +1 -0
- package/build/paraphrase/queries/get-paraphrase-tool-config.query.d.ts +2 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
- package/build/photo-sessions/commands/admin/index.d.ts +3 -0
- package/build/photo-sessions/commands/admin/index.js +19 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
- package/build/photo-sessions/commands/index.d.ts +10 -0
- package/build/photo-sessions/commands/index.js +26 -0
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
- package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
- package/build/photo-sessions/enums/index.d.ts +2 -0
- package/build/photo-sessions/enums/index.js +18 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
- package/build/photo-sessions/index.d.ts +5 -0
- package/build/photo-sessions/index.js +21 -0
- package/build/photo-sessions/models/index.d.ts +4 -0
- package/build/photo-sessions/models/index.js +20 -0
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
- package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
- package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
- package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
- package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +130 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +28 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
- package/build/photo-sessions/queries/index.d.ts +5 -0
- package/build/photo-sessions/queries/index.js +21 -0
- package/build/photo-sessions/routes/index.d.ts +2 -0
- package/build/photo-sessions/routes/index.js +18 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
- package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +2 -1
- package/build/spell-corrector/models/spell-corrector-model.schema.js +1 -0
- package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +1 -0
- package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +2 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-content-type.enum.js +1 -0
- package/build/tools/enums/tool-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-type.enum.js +1 -0
- package/build/tools/models/global-tools-config.schema.d.ts +98 -1
- package/build/tools/models/global-tools-config.schema.js +2 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +66 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +196 -2
- package/build/tools/queries/get-tools-with-configs.query.d.ts +66 -2
- package/build/video-editor/commands/edit-video.command.d.ts +57 -0
- package/build/video-editor/commands/edit-video.command.js +1 -1
- package/build/video-editor/commands/get-video-editor-price.command.d.ts +1 -0
- package/build/video-editor/commands/retry-video-editor-job.command.d.ts +57 -0
- package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +38 -0
- package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +38 -0
- package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +38 -0
- package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +38 -0
- package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +62 -0
- package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
- package/build/video-editor/enums/video-editor-model-limitation.enum.js +1 -0
- package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +2 -5
- package/build/video-editor/enums/video-editor-model-strategy.enum.js +2 -5
- package/build/video-editor/models/video-editor-config.schema.d.ts +31 -0
- package/build/video-editor/models/video-editor-job.schema.d.ts +38 -0
- package/build/video-editor/models/video-editor-job.schema.js +9 -0
- package/build/video-editor/models/video-editor-model.schema.d.ts +64 -0
- package/build/video-editor/models/video-editor-model.schema.js +40 -0
- package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +38 -0
- package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +38 -0
- package/build/video-editor/queries/get-video-editor-config.query.d.ts +62 -0
- package/package.json +1 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetPhotoSessionsConfigQuery {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
isSuccess: z.ZodBoolean;
|
|
9
|
+
data: z.ZodOptional<z.ZodType<{
|
|
10
|
+
models: {
|
|
11
|
+
uuid: string;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
aiModel: string;
|
|
15
|
+
isNew: boolean;
|
|
16
|
+
tierLabel: string;
|
|
17
|
+
pricePerImage: number;
|
|
18
|
+
order: number;
|
|
19
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
20
|
+
icons: {
|
|
21
|
+
light: {
|
|
22
|
+
svg: string;
|
|
23
|
+
png: string;
|
|
24
|
+
};
|
|
25
|
+
dark: {
|
|
26
|
+
svg: string;
|
|
27
|
+
png: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
strategy: import("..").PHOTO_SESSION_STRATEGY;
|
|
31
|
+
maxInputLength: number;
|
|
32
|
+
params: {
|
|
33
|
+
imageAttachment: {
|
|
34
|
+
supported: boolean;
|
|
35
|
+
maxImages: number;
|
|
36
|
+
acceptedTypes: string[];
|
|
37
|
+
};
|
|
38
|
+
aspectRatio: Record<string, {
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
pricingRules: {
|
|
44
|
+
condition: {
|
|
45
|
+
withoutSub?: boolean | undefined;
|
|
46
|
+
};
|
|
47
|
+
value: number;
|
|
48
|
+
}[];
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
updatedAt: Date;
|
|
51
|
+
}[];
|
|
52
|
+
styles: {
|
|
53
|
+
uuid: string;
|
|
54
|
+
code: string;
|
|
55
|
+
title: string;
|
|
56
|
+
description?: string | null | undefined;
|
|
57
|
+
references: {
|
|
58
|
+
uuid: string;
|
|
59
|
+
styleId: string;
|
|
60
|
+
photoUrl: string;
|
|
61
|
+
description?: string | null | undefined;
|
|
62
|
+
order: number;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
updatedAt: Date;
|
|
65
|
+
}[];
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
}[];
|
|
69
|
+
looks: {
|
|
70
|
+
type: import("..").PHOTO_SESSION_LOOK_TYPE;
|
|
71
|
+
maxPhotos: number;
|
|
72
|
+
}[];
|
|
73
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
74
|
+
models: {
|
|
75
|
+
uuid: string;
|
|
76
|
+
title: string;
|
|
77
|
+
description: string;
|
|
78
|
+
aiModel: string;
|
|
79
|
+
isNew: boolean;
|
|
80
|
+
tierLabel: string;
|
|
81
|
+
pricePerImage: number;
|
|
82
|
+
order: number;
|
|
83
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
84
|
+
icons: {
|
|
85
|
+
light: {
|
|
86
|
+
svg: string;
|
|
87
|
+
png: string;
|
|
88
|
+
};
|
|
89
|
+
dark: {
|
|
90
|
+
svg: string;
|
|
91
|
+
png: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
strategy: import("..").PHOTO_SESSION_STRATEGY;
|
|
95
|
+
maxInputLength: number;
|
|
96
|
+
params: {
|
|
97
|
+
imageAttachment: {
|
|
98
|
+
supported: boolean;
|
|
99
|
+
maxImages: number;
|
|
100
|
+
acceptedTypes: string[];
|
|
101
|
+
};
|
|
102
|
+
aspectRatio: Record<string, {
|
|
103
|
+
width: number;
|
|
104
|
+
height: number;
|
|
105
|
+
}>;
|
|
106
|
+
};
|
|
107
|
+
pricingRules: {
|
|
108
|
+
condition: {
|
|
109
|
+
withoutSub?: boolean | undefined;
|
|
110
|
+
};
|
|
111
|
+
value: number;
|
|
112
|
+
}[];
|
|
113
|
+
createdAt: Date;
|
|
114
|
+
updatedAt: Date;
|
|
115
|
+
}[];
|
|
116
|
+
styles: {
|
|
117
|
+
uuid: string;
|
|
118
|
+
code: string;
|
|
119
|
+
title: string;
|
|
120
|
+
description?: string | null | undefined;
|
|
121
|
+
references: {
|
|
122
|
+
uuid: string;
|
|
123
|
+
styleId: string;
|
|
124
|
+
photoUrl: string;
|
|
125
|
+
description?: string | null | undefined;
|
|
126
|
+
order: number;
|
|
127
|
+
createdAt: Date;
|
|
128
|
+
updatedAt: Date;
|
|
129
|
+
}[];
|
|
130
|
+
createdAt: Date;
|
|
131
|
+
updatedAt: Date;
|
|
132
|
+
}[];
|
|
133
|
+
looks: {
|
|
134
|
+
type: import("..").PHOTO_SESSION_LOOK_TYPE;
|
|
135
|
+
maxPhotos: number;
|
|
136
|
+
}[];
|
|
137
|
+
}, unknown>>>;
|
|
138
|
+
code: z.ZodOptional<z.ZodString>;
|
|
139
|
+
message: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
142
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetPhotoSessionsConfigQuery = void 0;
|
|
4
|
+
const common_1 = require("../../common");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
var GetPhotoSessionsConfigQuery;
|
|
7
|
+
(function (GetPhotoSessionsConfigQuery) {
|
|
8
|
+
GetPhotoSessionsConfigQuery.RequestSchema = common_1.LocaleRequestSchema;
|
|
9
|
+
GetPhotoSessionsConfigQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PhotoSessionConfigSchema);
|
|
10
|
+
})(GetPhotoSessionsConfigQuery || (exports.GetPhotoSessionsConfigQuery = GetPhotoSessionsConfigQuery = {}));
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./find-photo-sessions-job-by-id.query"), exports);
|
|
18
|
+
__exportStar(require("./find-photo-sessions-jobs.query"), exports);
|
|
19
|
+
__exportStar(require("./get-photo-sessions-config.query"), exports);
|
|
20
|
+
__exportStar(require("./find-photo-session-styles.query"), exports);
|
|
21
|
+
__exportStar(require("./find-photo-session-style-by-id.query"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./photo-sessions.amqp.routes"), exports);
|
|
18
|
+
__exportStar(require("./photo-sessions.http.routes"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const PHOTO_SESSIONS_AMQP_ROUTES: {
|
|
2
|
+
readonly EXECUTE: 'tools.photo-sessions.execute.rpc';
|
|
3
|
+
readonly GET_PRICE: 'tools.photo-sessions.get-price.rpc';
|
|
4
|
+
readonly CONFIG: 'tools.photo-sessions.config.rpc';
|
|
5
|
+
readonly GET_JOB: 'tools.photo-sessions.jobs.get.rpc';
|
|
6
|
+
readonly LIST_JOBS: 'tools.photo-sessions.jobs.list.rpc';
|
|
7
|
+
readonly SET_REACTION: 'tools.photo-sessions.jobs.set-reaction.rpc';
|
|
8
|
+
readonly UPDATE_TITLE: 'tools.photo-sessions.jobs.update-title.rpc';
|
|
9
|
+
readonly UPDATE_FAVORITE: 'tools.photo-sessions.jobs.update-favorite.rpc';
|
|
10
|
+
readonly SOFT_DELETE: 'tools.photo-sessions.jobs.soft-delete.rpc';
|
|
11
|
+
readonly SOFT_DELETE_ALL: 'tools.photo-sessions.jobs.soft-delete-all.rpc';
|
|
12
|
+
readonly RETRY: 'tools.photo-sessions.jobs.retry.rpc';
|
|
13
|
+
readonly UPDATE_JOB: 'tools.photo-sessions.jobs.update.rpc';
|
|
14
|
+
readonly LIST_STYLES: 'tools.photo-sessions.styles.list.rpc';
|
|
15
|
+
readonly GET_STYLE: 'tools.photo-sessions.styles.get.rpc';
|
|
16
|
+
readonly CREATE_STYLE: 'tools.photo-sessions.styles.create.rpc';
|
|
17
|
+
readonly UPDATE_STYLE: 'tools.photo-sessions.styles.update.rpc';
|
|
18
|
+
readonly DELETE_STYLE: 'tools.photo-sessions.styles.delete.rpc';
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PHOTO_SESSIONS_AMQP_ROUTES = void 0;
|
|
4
|
+
exports.PHOTO_SESSIONS_AMQP_ROUTES = {
|
|
5
|
+
EXECUTE: 'tools.photo-sessions.execute.rpc',
|
|
6
|
+
GET_PRICE: 'tools.photo-sessions.get-price.rpc',
|
|
7
|
+
CONFIG: 'tools.photo-sessions.config.rpc',
|
|
8
|
+
GET_JOB: 'tools.photo-sessions.jobs.get.rpc',
|
|
9
|
+
LIST_JOBS: 'tools.photo-sessions.jobs.list.rpc',
|
|
10
|
+
SET_REACTION: 'tools.photo-sessions.jobs.set-reaction.rpc',
|
|
11
|
+
UPDATE_TITLE: 'tools.photo-sessions.jobs.update-title.rpc',
|
|
12
|
+
UPDATE_FAVORITE: 'tools.photo-sessions.jobs.update-favorite.rpc',
|
|
13
|
+
SOFT_DELETE: 'tools.photo-sessions.jobs.soft-delete.rpc',
|
|
14
|
+
SOFT_DELETE_ALL: 'tools.photo-sessions.jobs.soft-delete-all.rpc',
|
|
15
|
+
RETRY: 'tools.photo-sessions.jobs.retry.rpc',
|
|
16
|
+
UPDATE_JOB: 'tools.photo-sessions.jobs.update.rpc',
|
|
17
|
+
LIST_STYLES: 'tools.photo-sessions.styles.list.rpc',
|
|
18
|
+
GET_STYLE: 'tools.photo-sessions.styles.get.rpc',
|
|
19
|
+
CREATE_STYLE: 'tools.photo-sessions.styles.create.rpc',
|
|
20
|
+
UPDATE_STYLE: 'tools.photo-sessions.styles.update.rpc',
|
|
21
|
+
DELETE_STYLE: 'tools.photo-sessions.styles.delete.rpc',
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PHOTO_SESSIONS_CONTROLLER = "photo-sessions";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { REASONING_EFFORT } from '../../common';
|
|
2
|
+
import { REASONING_EFFORT, TOOL_MODEL_STATUS } from '../../common';
|
|
3
3
|
export declare const SpellCorrectorModelSchema: z.ZodObject<{
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
title: z.ZodString;
|
|
@@ -17,6 +17,7 @@ export declare const SpellCorrectorModelSchema: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
price: z.ZodNumber;
|
|
19
19
|
aiModel: z.ZodString;
|
|
20
|
+
status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
|
|
20
21
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof REASONING_EFFORT>>>;
|
|
21
22
|
order: z.ZodNumber;
|
|
22
23
|
createdAt: z.ZodDate;
|
|
@@ -11,6 +11,7 @@ exports.SpellCorrectorModelSchema = zod_1.z.object({
|
|
|
11
11
|
icons: common_1.IconVariantsSchema,
|
|
12
12
|
price: zod_1.z.number(),
|
|
13
13
|
aiModel: zod_1.z.string(),
|
|
14
|
+
status: zod_1.z.nativeEnum(common_1.TOOL_MODEL_STATUS),
|
|
14
15
|
reasoningEffort: zod_1.z.nativeEnum(common_1.REASONING_EFFORT).nullable().optional(),
|
|
15
16
|
order: zod_1.z.number(),
|
|
16
17
|
createdAt: zod_1.z.date(),
|
|
@@ -17,6 +17,7 @@ export declare const SpellCorrectorToolConfigSchema: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
price: z.ZodNumber;
|
|
19
19
|
aiModel: z.ZodString;
|
|
20
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
20
21
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
21
22
|
order: z.ZodNumber;
|
|
22
23
|
createdAt: z.ZodDate;
|
|
@@ -24,6 +24,7 @@ export declare namespace GetSpellCorrectorToolConfigQuery {
|
|
|
24
24
|
};
|
|
25
25
|
price: number;
|
|
26
26
|
aiModel: string;
|
|
27
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
27
28
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
28
29
|
order: number;
|
|
29
30
|
createdAt: Date;
|
|
@@ -48,6 +49,7 @@ export declare namespace GetSpellCorrectorToolConfigQuery {
|
|
|
48
49
|
};
|
|
49
50
|
price: number;
|
|
50
51
|
aiModel: string;
|
|
52
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
51
53
|
reasoningEffort?: import("../..").REASONING_EFFORT | null | undefined;
|
|
52
54
|
order: number;
|
|
53
55
|
createdAt: Date;
|
|
@@ -20,5 +20,6 @@ var TOOL_CONTENT_TYPE;
|
|
|
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";
|
|
23
24
|
TOOL_CONTENT_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
24
25
|
})(TOOL_CONTENT_TYPE || (exports.TOOL_CONTENT_TYPE = TOOL_CONTENT_TYPE = {}));
|
|
@@ -22,5 +22,6 @@ 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";
|
|
25
26
|
TOOL_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
26
27
|
})(TOOL_TYPE || (exports.TOOL_TYPE = TOOL_TYPE = {}));
|
|
@@ -378,6 +378,7 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
378
378
|
icon: z.ZodString;
|
|
379
379
|
price: z.ZodNumber;
|
|
380
380
|
aiModel: z.ZodString;
|
|
381
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
381
382
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
382
383
|
order: z.ZodNumber;
|
|
383
384
|
createdAt: z.ZodDate;
|
|
@@ -464,18 +465,49 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
464
465
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
465
466
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
466
467
|
params: z.ZodObject<{
|
|
468
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
supported: z.ZodBoolean;
|
|
470
|
+
maxImages: z.ZodNumber;
|
|
471
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
supported: z.ZodBoolean;
|
|
475
|
+
maxImages: z.ZodNumber;
|
|
476
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
483
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
484
|
+
}, z.core.$strip>>;
|
|
485
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
supported: z.ZodBoolean;
|
|
487
|
+
maxAudios: z.ZodNumber;
|
|
488
|
+
maxDurationSeconds: z.ZodNumber;
|
|
489
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
490
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
491
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
492
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
493
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
467
495
|
duration: z.ZodOptional<z.ZodObject<{
|
|
468
496
|
options: z.ZodArray<z.ZodNumber>;
|
|
469
497
|
}, z.core.$strip>>;
|
|
470
498
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
471
499
|
options: z.ZodArray<z.ZodString>;
|
|
472
500
|
}, z.core.$strip>>;
|
|
501
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
502
|
+
options: z.ZodArray<z.ZodString>;
|
|
503
|
+
}, z.core.$strip>>;
|
|
473
504
|
}, z.core.$strip>;
|
|
474
505
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
475
506
|
type: z.ZodEnum<typeof import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
476
507
|
condition: z.ZodObject<{
|
|
477
508
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
478
509
|
resolution: z.ZodOptional<z.ZodString>;
|
|
510
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
479
511
|
}, z.core.$strip>;
|
|
480
512
|
value: z.ZodNumber;
|
|
481
513
|
}, z.core.$strip>>;
|
|
@@ -673,7 +705,6 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
673
705
|
}, z.core.$strip>;
|
|
674
706
|
maxPromptLength: z.ZodNumber;
|
|
675
707
|
supportsImageAttachment: z.ZodBoolean;
|
|
676
|
-
maxAttachedImages: z.ZodNumber;
|
|
677
708
|
createdAt: z.ZodDate;
|
|
678
709
|
updatedAt: z.ZodDate;
|
|
679
710
|
}, z.core.$strip>>;
|
|
@@ -779,6 +810,7 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
779
810
|
}, z.core.$strip>;
|
|
780
811
|
price: z.ZodNumber;
|
|
781
812
|
aiModel: z.ZodString;
|
|
813
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
782
814
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
783
815
|
order: z.ZodNumber;
|
|
784
816
|
createdAt: z.ZodDate;
|
|
@@ -867,6 +899,71 @@ export declare const GlobalToolsConfigSchema: z.ZodObject<{
|
|
|
867
899
|
}, z.core.$strip>>;
|
|
868
900
|
maxAttachmentsCount: z.ZodNumber;
|
|
869
901
|
}, z.core.$strip>;
|
|
902
|
+
PHOTO_SESSIONS: z.ZodObject<{
|
|
903
|
+
models: z.ZodArray<z.ZodObject<{
|
|
904
|
+
uuid: z.ZodString;
|
|
905
|
+
title: z.ZodString;
|
|
906
|
+
description: z.ZodString;
|
|
907
|
+
aiModel: z.ZodString;
|
|
908
|
+
isNew: z.ZodBoolean;
|
|
909
|
+
tierLabel: z.ZodString;
|
|
910
|
+
pricePerImage: z.ZodNumber;
|
|
911
|
+
order: z.ZodNumber;
|
|
912
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
913
|
+
icons: z.ZodObject<{
|
|
914
|
+
light: z.ZodObject<{
|
|
915
|
+
svg: z.ZodString;
|
|
916
|
+
png: z.ZodString;
|
|
917
|
+
}, z.core.$strip>;
|
|
918
|
+
dark: z.ZodObject<{
|
|
919
|
+
svg: z.ZodString;
|
|
920
|
+
png: z.ZodString;
|
|
921
|
+
}, z.core.$strip>;
|
|
922
|
+
}, z.core.$strip>;
|
|
923
|
+
strategy: z.ZodEnum<typeof import("../..").PHOTO_SESSION_STRATEGY>;
|
|
924
|
+
maxInputLength: z.ZodNumber;
|
|
925
|
+
params: z.ZodObject<{
|
|
926
|
+
imageAttachment: z.ZodObject<{
|
|
927
|
+
supported: z.ZodBoolean;
|
|
928
|
+
maxImages: z.ZodNumber;
|
|
929
|
+
acceptedTypes: z.ZodArray<z.ZodString>;
|
|
930
|
+
}, z.core.$strip>;
|
|
931
|
+
aspectRatio: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
932
|
+
width: z.ZodNumber;
|
|
933
|
+
height: z.ZodNumber;
|
|
934
|
+
}, z.core.$strip>>;
|
|
935
|
+
}, z.core.$strip>;
|
|
936
|
+
pricingRules: z.ZodArray<z.ZodObject<{
|
|
937
|
+
condition: z.ZodObject<{
|
|
938
|
+
withoutSub: z.ZodOptional<z.ZodBoolean>;
|
|
939
|
+
}, z.core.$strip>;
|
|
940
|
+
value: z.ZodNumber;
|
|
941
|
+
}, z.core.$strip>>;
|
|
942
|
+
createdAt: z.ZodDate;
|
|
943
|
+
updatedAt: z.ZodDate;
|
|
944
|
+
}, z.core.$strip>>;
|
|
945
|
+
styles: z.ZodArray<z.ZodObject<{
|
|
946
|
+
uuid: z.ZodString;
|
|
947
|
+
code: z.ZodString;
|
|
948
|
+
title: z.ZodString;
|
|
949
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
950
|
+
references: z.ZodArray<z.ZodObject<{
|
|
951
|
+
uuid: z.ZodString;
|
|
952
|
+
styleId: z.ZodString;
|
|
953
|
+
photoUrl: z.ZodString;
|
|
954
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
955
|
+
order: z.ZodNumber;
|
|
956
|
+
createdAt: z.ZodDate;
|
|
957
|
+
updatedAt: z.ZodDate;
|
|
958
|
+
}, z.core.$strip>>;
|
|
959
|
+
createdAt: z.ZodDate;
|
|
960
|
+
updatedAt: z.ZodDate;
|
|
961
|
+
}, z.core.$strip>>;
|
|
962
|
+
looks: z.ZodArray<z.ZodObject<{
|
|
963
|
+
type: z.ZodEnum<typeof import("../..").PHOTO_SESSION_LOOK_TYPE>;
|
|
964
|
+
maxPhotos: z.ZodNumber;
|
|
965
|
+
}, z.core.$strip>>;
|
|
966
|
+
}, z.core.$strip>;
|
|
870
967
|
IMAGE_RECOGNITION: z.ZodObject<{
|
|
871
968
|
models: z.ZodArray<z.ZodObject<{
|
|
872
969
|
uuid: z.ZodString;
|
|
@@ -19,6 +19,7 @@ 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");
|
|
22
23
|
const image_recognition_1 = require("../../image-recognition");
|
|
23
24
|
exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
24
25
|
[enums_1.TOOL_CONTENT_TYPE.VIDEO]: video_1.VideoConfigSchema,
|
|
@@ -37,5 +38,6 @@ exports.GlobalToolsConfigSchema = zod_1.z.object({
|
|
|
37
38
|
[enums_1.TOOL_CONTENT_TYPE.SPELL_CORRECTOR]: spell_corrector_1.SpellCorrectorToolConfigSchema,
|
|
38
39
|
[enums_1.TOOL_CONTENT_TYPE.DIAGRAMS]: diagrams_1.DiagramsConfigSchema,
|
|
39
40
|
[enums_1.TOOL_CONTENT_TYPE.HTML_PAGE_BUILDER]: models_2.HtmlPageBuilderConfigSchema,
|
|
41
|
+
[enums_1.TOOL_CONTENT_TYPE.PHOTO_SESSIONS]: photo_sessions_1.PhotoSessionConfigSchema,
|
|
40
42
|
[enums_1.TOOL_CONTENT_TYPE.IMAGE_RECOGNITION]: image_recognition_1.ImageRecognitionConfigSchema,
|
|
41
43
|
});
|
|
@@ -450,6 +450,7 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
450
450
|
icon: z.ZodString;
|
|
451
451
|
price: z.ZodNumber;
|
|
452
452
|
aiModel: z.ZodString;
|
|
453
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
453
454
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
454
455
|
order: z.ZodNumber;
|
|
455
456
|
createdAt: z.ZodDate;
|
|
@@ -560,18 +561,49 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
560
561
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
561
562
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
562
563
|
params: z.ZodObject<{
|
|
564
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
565
|
+
supported: z.ZodBoolean;
|
|
566
|
+
maxImages: z.ZodNumber;
|
|
567
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
570
|
+
supported: z.ZodBoolean;
|
|
571
|
+
maxImages: z.ZodNumber;
|
|
572
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
576
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
577
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
578
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
580
|
+
}, z.core.$strip>>;
|
|
581
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
582
|
+
supported: z.ZodBoolean;
|
|
583
|
+
maxAudios: z.ZodNumber;
|
|
584
|
+
maxDurationSeconds: z.ZodNumber;
|
|
585
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
586
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
588
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
589
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
590
|
+
}, z.core.$strip>>;
|
|
563
591
|
duration: z.ZodOptional<z.ZodObject<{
|
|
564
592
|
options: z.ZodArray<z.ZodNumber>;
|
|
565
593
|
}, z.core.$strip>>;
|
|
566
594
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
567
595
|
options: z.ZodArray<z.ZodString>;
|
|
568
596
|
}, z.core.$strip>>;
|
|
597
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
options: z.ZodArray<z.ZodString>;
|
|
599
|
+
}, z.core.$strip>>;
|
|
569
600
|
}, z.core.$strip>;
|
|
570
601
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
571
602
|
type: z.ZodEnum<typeof import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
572
603
|
condition: z.ZodObject<{
|
|
573
604
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
574
605
|
resolution: z.ZodOptional<z.ZodString>;
|
|
606
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
575
607
|
}, z.core.$strip>;
|
|
576
608
|
value: z.ZodNumber;
|
|
577
609
|
}, z.core.$strip>>;
|
|
@@ -805,7 +837,6 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
805
837
|
}, z.core.$strip>;
|
|
806
838
|
maxPromptLength: z.ZodNumber;
|
|
807
839
|
supportsImageAttachment: z.ZodBoolean;
|
|
808
|
-
maxAttachedImages: z.ZodNumber;
|
|
809
840
|
createdAt: z.ZodDate;
|
|
810
841
|
updatedAt: z.ZodDate;
|
|
811
842
|
}, z.core.$strip>>;
|
|
@@ -947,6 +978,7 @@ export declare const ToolWithConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
947
978
|
}, z.core.$strip>;
|
|
948
979
|
price: z.ZodNumber;
|
|
949
980
|
aiModel: z.ZodString;
|
|
981
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
950
982
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
951
983
|
order: z.ZodNumber;
|
|
952
984
|
createdAt: z.ZodDate;
|
|
@@ -1574,6 +1606,7 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1574
1606
|
icon: z.ZodString;
|
|
1575
1607
|
price: z.ZodNumber;
|
|
1576
1608
|
aiModel: z.ZodString;
|
|
1609
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
1577
1610
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
1578
1611
|
order: z.ZodNumber;
|
|
1579
1612
|
createdAt: z.ZodDate;
|
|
@@ -1684,18 +1717,49 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1684
1717
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
1685
1718
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
1686
1719
|
params: z.ZodObject<{
|
|
1720
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
1721
|
+
supported: z.ZodBoolean;
|
|
1722
|
+
maxImages: z.ZodNumber;
|
|
1723
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
1724
|
+
}, z.core.$strip>>;
|
|
1725
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
1726
|
+
supported: z.ZodBoolean;
|
|
1727
|
+
maxImages: z.ZodNumber;
|
|
1728
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1729
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
1730
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
1733
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
1734
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
1735
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
1736
|
+
}, z.core.$strip>>;
|
|
1737
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
supported: z.ZodBoolean;
|
|
1739
|
+
maxAudios: z.ZodNumber;
|
|
1740
|
+
maxDurationSeconds: z.ZodNumber;
|
|
1741
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1743
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
1744
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1745
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1746
|
+
}, z.core.$strip>>;
|
|
1687
1747
|
duration: z.ZodOptional<z.ZodObject<{
|
|
1688
1748
|
options: z.ZodArray<z.ZodNumber>;
|
|
1689
1749
|
}, z.core.$strip>>;
|
|
1690
1750
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
1691
1751
|
options: z.ZodArray<z.ZodString>;
|
|
1692
1752
|
}, z.core.$strip>>;
|
|
1753
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
1754
|
+
options: z.ZodArray<z.ZodString>;
|
|
1755
|
+
}, z.core.$strip>>;
|
|
1693
1756
|
}, z.core.$strip>;
|
|
1694
1757
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
1695
1758
|
type: z.ZodEnum<typeof import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
1696
1759
|
condition: z.ZodObject<{
|
|
1697
1760
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1698
1761
|
resolution: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
1699
1763
|
}, z.core.$strip>;
|
|
1700
1764
|
value: z.ZodNumber;
|
|
1701
1765
|
}, z.core.$strip>>;
|
|
@@ -1929,7 +1993,6 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
1929
1993
|
}, z.core.$strip>;
|
|
1930
1994
|
maxPromptLength: z.ZodNumber;
|
|
1931
1995
|
supportsImageAttachment: z.ZodBoolean;
|
|
1932
|
-
maxAttachedImages: z.ZodNumber;
|
|
1933
1996
|
createdAt: z.ZodDate;
|
|
1934
1997
|
updatedAt: z.ZodDate;
|
|
1935
1998
|
}, z.core.$strip>>;
|
|
@@ -2071,6 +2134,7 @@ export declare const ToolsWithConfigsSchema: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
|
2071
2134
|
}, z.core.$strip>;
|
|
2072
2135
|
price: z.ZodNumber;
|
|
2073
2136
|
aiModel: z.ZodString;
|
|
2137
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
2074
2138
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../..").REASONING_EFFORT>>>;
|
|
2075
2139
|
order: z.ZodNumber;
|
|
2076
2140
|
createdAt: z.ZodDate;
|